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.
process → processId in each form: the organization's process (an ObjectId; was a PROCESS_* type).curl --location 'https://app.hustro.com/api/v2/client/5e41892cd6713c6ae9173129/simpleForm' \
--header 'hustro-client: web' \
--header 'hustro-client-version: ' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json'[
{
"_id": "64ed771d95a1e3d565839d18",
"encryptedId": "string",
"clientId": "64ed771d95a1e3d565839d18",
"label": "string",
"processId": "64ed771d95a1e3d565839d18",
"includeAllProjects": true,
"isPubliclyAvailable": true,
"projects": [
{
"_id": "64ed771d95a1e3d565839d18",
"includeAllSites": true,
"sites": [
{
"_id": "64ed771d95a1e3d565839d18",
"includeAllLevels": true,
"levels": [
"64ed771d95a1e3d565839d18"
],
"defaultAssignee": "64ed771d95a1e3d565839d18"
}
],
"defaultAssignee": "64ed771d95a1e3d565839d18"
}
],
"defaultAssignee": "64ed771d95a1e3d565839d18",
"deleted": true,
"createdAt": "string",
"createdBy": "64ed771d95a1e3d565839d18",
"modifiedAt": "string",
"modifiedBy": "64ed771d95a1e3d565839d18"
}
]