Skip to content

BootstrapPreviewReportDto

← Monday DTO

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": []
}