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.
processes → processIds: the organization's processes on the project (ObjectIds, _id in GET /client/{clientId}/process; were PROCESS_* types), in the project's order. A project edit can send the list back unchanged.curl --location 'https://app.hustro.com/api/v2/project' \
--header 'hustro-client: m2m' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'[
{
"pdfContactFooter": {
"_id": "5f479169f7ef7fe33b3cca36",
"extension": "string"
},
"pdfHeader": {
"_id": "5f479169f7ef7fe33b3cca36",
"extension": "string"
},
"pdfFooter": {
"_id": "5f479169f7ef7fe33b3cca36",
"extension": "string"
},
"_id": "string",
"clientId": "string",
"name": "string",
"timezone": "string",
"budget": 0,
"currency": "string",
"projectStartDate": "string",
"projectEndDate": "string",
"localeCode": "string",
"processIds": [
"64ed771d95a1e3d565839d18"
],
"deleted": true,
"createdAt": "string",
"createdBy": "string",
"modifiedAt": "string",
"modifiedBy": "string"
}
]