PT-7175 — organization processes (release with mobile 3.16; not on production yet). Process ids become ObjectIds and the fields holding them get new names: processOnProjectId/processOnProjectIds— a process on the project (_idinGET /project/{projectId}/process);processId/processIds— the organization's process (_idinGET /client/{clientId}/process). Read a process's type, name, code and colours fromGET /project/{projectId}/process, matched byprocessOnProjectId— never from the id. Issue writes keep accepting the oldprocessfield andPROCESS_*values for about a month; every other write takes only the new names and ids.
processOnProjectId, an ObjectId; was processId with a PROCESS_* type); the response is the process (ProcessOnProjectOutDto).Authorization: Bearer ********************curl --location --request PUT 'https://app.hustro.com/api/v2/project//process/6750b2e4c3d4e5f6a7b8c9e1' \
--header 'hustro-client-version: ' \
--header 'hustro-client: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"workflowId": "6750c3a5c3d4e5f6a7b8c9f2"
}'{
"_id": "6750b2e4c3d4e5f6a7b8c9e1",
"processId": "6750a1f2c3d4e5f6a7b8c9d1",
"type": "PROCESS_QA",
"baseType": "PROCESS_QA",
"isCustom": false,
"label": "Jakość",
"code": "QA",
"color": "#315FA3",
"textColor": "#FFFFFF",
"icon": "squareFoot",
"isAvailableForInspection": true,
"workflowId": "6750c3a5c3d4e5f6a7b8c9f2"
}