Skip to content

Monday DTO

Описание сущностей и типов из src/dto/monday/.

Обогащено snapshot-данными бэкенд-DTO (0 из 11 типов сопоставлено, snapshot от 2026-05-05T13:21:51.699Z).

Содержание


BootstrapPreviewReportDto

Snapshot of what a bootstrap import would do, computed before any mutation.

Поля

ПолеТипОбязательноеОписание
workersTotalnumberда
clientsTotalnumberда
workersToInsertnumberда
workersToSkipnumberда
clientsToInsertnumberда
clientsToSkipnumberда
matchedSinglenumberда
matchedAmbiguousnumberда
matchedSoftDeletednumberда
missingRequiredFieldnumberда
loginCollisionsnumberда
loginDuplicatesInBatchnumberда
addressesRequestednumberда
addressesResolvednumberда
addressMissesnumberда
estimatedDistancePairsnumberдаEstimated client↔worker distance pairs this import would compute (dry-run, before approve).
estimatedDistanceCacheHitsnumberдаOf estimatedDistancePairs, how many are already cached.
estimatedDistanceGoogleApiCallsnumberдаOf estimatedDistancePairs, how many would need a fresh (paid) Google Routes call.
distanceEstimateReliablebooleanдаFalse when the estimate could not be trusted (failed, or 0 pairs despite create/update work). The UI must not show the numbers as a reliable "0 Google calls" in that case.
collisionsPreviewCollisionDto[]да

Пример

json
{
  "workersTotal": 0,
  "clientsTotal": 0,
  "workersToInsert": 0,
  "workersToSkip": 0,
  "clientsToInsert": 0,
  "clientsToSkip": 0,
  "matchedSingle": 0,
  "matchedAmbiguous": 0,
  "matchedSoftDeleted": 0,
  "missingRequiredField": 0,
  "loginCollisions": 0,
  "loginDuplicatesInBatch": 0,
  "addressesRequested": 0,
  "addressesResolved": 0,
  "addressMisses": 0,
  "estimatedDistancePairs": 0,
  "estimatedDistanceCacheHits": 0,
  "estimatedDistanceGoogleApiCalls": 0,
  "distanceEstimateReliable": false,
  "collisions": []
}


PreviewCollisionDto

Поля

ПолеТипОбязательноеОписание
entityTypestringда
kindstringда
entityDisplayNamestring | nullнет
mondayItemIdstring | nullнет
businessEntityIdnumber | nullнет
detailsstring | nullнет

Пример

json
{
  "entityType": "string",
  "kind": "string",
  "entityDisplayName": "string",
  "mondayItemId": "uuid",
  "businessEntityId": 0,
  "details": "string"
}


SyncChangeDto

Поля

ПолеТипОбязательноеОписание
idnumberда
syncRequestIdnumberда
entityTypeSyncEntityTypeDtoда
entityDisplayNamestringда
businessEntityIdnumber | nullнет
mondayItemIdstring | nullнет
sourceSideSyncSideDtoда
operationTypeSyncChangeOperationTypeDtoда
sourcePropertyNamestring | nullнет
targetPropertyNamestring | nullнет
beforeValuestring | nullнет
afterValuestring | nullнет
statusSyncChangeStatusDtoда
errorMessagestring | nullнет
resolvedWinnerSyncSideDto | nullнет
resolvedByUserIdnumber | nullнет
resolvedDateTimestring | nullнет

Пример

json
{
  "id": 0,
  "syncRequestId": 0,
  "entityType": "<SyncEntityTypeDto>",
  "entityDisplayName": "string",
  "businessEntityId": 0,
  "mondayItemId": "uuid",
  "sourceSide": "<SyncSideDto>",
  "operationType": "<SyncChangeOperationTypeDto>",
  "sourcePropertyName": "string",
  "targetPropertyName": "string",
  "beforeValue": "string",
  "afterValue": "string",
  "status": "<SyncChangeStatusDto>",
  "errorMessage": "string",
  "resolvedWinner": "<syncsidedto>",
  "resolvedByUserId": 0,
  "resolvedDateTime": "2026-05-05T08:00:00Z"
}


SyncChangeOperationTypeDto

Operation carried out by the change (entity-level create vs per-property update).

Значения

ИмяЗначениеОписание
NotFound0
Create1
Update2

Пример

json
0


SyncChangeStatusDto

Execution status of an individual change row.

Значения

ИмяЗначениеОписание
NotFound0
InPending1
Syncing2
Synced3
Conflict4
Error5

Пример

json
0


SyncEntityTypeDto

Type of the entity a change refers to.

Значения

ИмяЗначениеОписание
NotFound0
Worker1
Client2

Пример

json
0


SyncRequestDetailDto

Поля

ПолеТипОбязательноеОписание
summarySyncRequestSummaryDtoда
changesSyncChangeDto[]да

Пример

json
{
  "summary": "<SyncRequestSummaryDto>",
  "changes": []
}


SyncRequestListPageDto

Поля

ПолеТипОбязательноеОписание
totalnumberда
pagenumberда
rowsPerPagenumberда
itemsSyncRequestSummaryDto[]да

Пример

json
{
  "total": 0,
  "page": 0,
  "rowsPerPage": 0,
  "items": []
}


SyncRequestStatusDto

Status of a full Monday ↔ Business sync request.

Значения

ИмяЗначениеОписание
NotFound0
Syncing1
Synced2
PartiallySynced3
PreviewPending4Bootstrap import: background worker has not yet built the preview.
PreviewReady5Bootstrap import: preview built, waiting for the user to approve.

Пример

json
0


SyncRequestSummaryDto

Поля

ПолеТипОбязательноеОписание
idnumberда
statusSyncRequestStatusDtoда
assignedUserIdnumberда
assignedUserFullNamestringда
workersXlsxFileNamestring | nullнет
clientsXlsxFileNamestring | nullнет
createDateTimestringда
processedDateTimestring | nullнет
totalChangesnumberда
conflictCountnumberда
errorCountnumberда
pendingCountnumberда
processedCountnumberнет
totalCountnumberнет
requiresApprovalbooleanнетBootstrap-import preview/approve flow — true when the request was uploaded with requiresApproval.
previewBuiltDateTimestring | nullнетISO-8601 UTC timestamp (e.g. "2026-05-18T12:34:56.789Z") set when the preview build completed.
approvedDateTimestring | nullнетISO-8601 UTC timestamp set when an admin approved the preview and unblocked the apply phase.
approvedByUserFullNamestring | nullнет
previewReportBootstrapPreviewReportDto | nullнетComputed report attached while status is PreviewPending or PreviewReady.

Пример

json
{
  "id": 0,
  "status": "<SyncRequestStatusDto>",
  "assignedUserId": 0,
  "assignedUserFullName": "string",
  "workersXlsxFileName": "string",
  "clientsXlsxFileName": "string",
  "createDateTime": "2026-05-05T08:00:00Z",
  "processedDateTime": "2026-05-05T08:00:00Z",
  "totalChanges": 0,
  "conflictCount": 0,
  "errorCount": 0,
  "pendingCount": 0,
  "processedCount": 0,
  "totalCount": 0,
  "requiresApproval": false,
  "previewBuiltDateTime": "2026-05-05T08:00:00Z",
  "approvedDateTime": "2026-05-05T08:00:00Z",
  "approvedByUserFullName": "string",
  "previewReport": "<bootstrappreviewreportdto>"
}


SyncSideDto

Origin of a detected change or a snapshot row.

Значения

ИмяЗначениеОписание
NotFound0
Business1
Monday2

Пример

json
0