@dakkitor/api-contracts 1.7.0 → 1.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (191) hide show
  1. package/dist/abilities/abilities.contract.spec.js +39 -19
  2. package/dist/abilities/interconnection.abilities.json +6 -0
  3. package/dist/abilities/outreach.abilities.json +0 -7
  4. package/dist/abilities/second-agent.abilities.json +2 -91
  5. package/dist/abilities/team-leads.json +1 -0
  6. package/dist/abilities/worker-curator.abilities.json +2 -0
  7. package/dist/actives/actives.contract.d.ts +2562 -2515
  8. package/dist/actives/actives.contract.d.ts.map +1 -1
  9. package/dist/agent-client-links/agent-client-links.contract.d.ts +908 -908
  10. package/dist/auth/auth.contract.d.ts +50 -44
  11. package/dist/auth/auth.contract.d.ts.map +1 -1
  12. package/dist/auth/auth.contract.js +1 -0
  13. package/dist/bookings/backdate-guard.spec.d.ts +2 -0
  14. package/dist/bookings/backdate-guard.spec.d.ts.map +1 -0
  15. package/dist/bookings/backdate-guard.spec.js +80 -0
  16. package/dist/bookings/bookings.contract.d.ts +4918 -4824
  17. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  18. package/dist/bookings/bookings.contract.js +26 -2
  19. package/dist/call-history/call-history.contract.d.ts +434 -434
  20. package/dist/calls-feed/calls-feed.contract.d.ts +70 -70
  21. package/dist/client-contacts/client-contacts.contract.d.ts +290 -290
  22. package/dist/clients/clients.contract.d.ts +110 -110
  23. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +1412 -1412
  24. package/dist/collaborations/collaborations.contract.d.ts +1278 -1278
  25. package/dist/common/common-schemas.d.ts +13 -13
  26. package/dist/common/common-schemas.d.ts.map +1 -1
  27. package/dist/common/common-schemas.js +1 -0
  28. package/dist/common/nino.d.ts +8 -0
  29. package/dist/common/nino.d.ts.map +1 -0
  30. package/dist/common/nino.js +26 -0
  31. package/dist/common/nino.spec.d.ts +2 -0
  32. package/dist/common/nino.spec.d.ts.map +1 -0
  33. package/dist/common/nino.spec.js +32 -0
  34. package/dist/companies/companies.contract.d.ts +30 -30
  35. package/dist/crews/crews.contract.d.ts +300 -300
  36. package/dist/cron-executions/cron-executions.contract.d.ts +19 -6
  37. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
  38. package/dist/cron-executions/cron-executions.contract.js +1 -0
  39. package/dist/cron-executions/cron-executions.contract.spec.d.ts +2 -0
  40. package/dist/cron-executions/cron-executions.contract.spec.d.ts.map +1 -0
  41. package/dist/cron-executions/cron-executions.contract.spec.js +27 -0
  42. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts +2 -0
  43. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.d.ts.map +1 -0
  44. package/dist/curated-worker-leads/candidate-booking-date-fields.spec.js +59 -0
  45. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +1255 -1188
  46. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  47. package/dist/curated-worker-leads/candidate-coordination.contract.js +22 -6
  48. package/dist/curated-worker-leads/candidate-coordination.contract.spec.js +11 -0
  49. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +347 -304
  50. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts.map +1 -1
  51. package/dist/curated-worker-leads/contact-history.spec.js +1 -0
  52. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts +2 -85
  53. package/dist/curated-worker-leads/curated-worker-lead-config.contract.d.ts.map +1 -1
  54. package/dist/curated-worker-leads/curated-worker-lead-config.contract.js +17 -41
  55. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts +2 -0
  56. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.d.ts.map +1 -0
  57. package/dist/curated-worker-leads/curated-worker-lead-config.contract.spec.js +30 -0
  58. package/dist/curated-worker-leads/job-feed-match-counts.contract.spec.js +30 -0
  59. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +6058 -5381
  60. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  61. package/dist/curated-worker-leads/jobs-tab.contract.js +64 -12
  62. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +88 -88
  63. package/dist/curated-workers/curated-workers.contract.d.ts +1173 -962
  64. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  65. package/dist/curated-workers/curated-workers.contract.js +37 -6
  66. package/dist/dashboards/dashboard-widgets.contract.d.ts +43 -73
  67. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  68. package/dist/dashboards/dashboard-widgets.contract.js +1 -11
  69. package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts +2 -0
  70. package/dist/dashboards/dashboard-widgets.retirement.spec.d.ts.map +1 -0
  71. package/dist/dashboards/dashboard-widgets.retirement.spec.js +22 -0
  72. package/dist/document-intake/document-intake.automation.spec.d.ts +2 -0
  73. package/dist/document-intake/document-intake.automation.spec.d.ts.map +1 -0
  74. package/dist/document-intake/document-intake.automation.spec.js +469 -0
  75. package/dist/document-intake/document-intake.card-side.spec.d.ts +2 -0
  76. package/dist/document-intake/document-intake.card-side.spec.d.ts.map +1 -0
  77. package/dist/document-intake/document-intake.card-side.spec.js +51 -0
  78. package/dist/document-intake/document-intake.contract.d.ts +9421 -1071
  79. package/dist/document-intake/document-intake.contract.d.ts.map +1 -1
  80. package/dist/document-intake/document-intake.contract.js +219 -5
  81. package/dist/document-intake/document-intake.contract.spec.d.ts +2 -0
  82. package/dist/document-intake/document-intake.contract.spec.d.ts.map +1 -0
  83. package/dist/document-intake/document-intake.contract.spec.js +37 -0
  84. package/dist/document-intake/document-intake.nino.spec.d.ts +2 -0
  85. package/dist/document-intake/document-intake.nino.spec.d.ts.map +1 -0
  86. package/dist/document-intake/document-intake.nino.spec.js +42 -0
  87. package/dist/export-jobs/export-jobs.contract.d.ts +426 -426
  88. package/dist/files/files.contract.d.ts +36 -36
  89. package/dist/index.d.ts +17 -9
  90. package/dist/index.d.ts.map +1 -1
  91. package/dist/index.js +17 -9
  92. package/dist/job-clusters/job-clusters.contract.d.ts +52 -52
  93. package/dist/jobs/jobs.contract.d.ts +3610 -3610
  94. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +56 -56
  95. package/dist/lead-assignments/lead-assignments.contract.d.ts +706 -706
  96. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +220 -220
  97. package/dist/lead-distribution/lead-distribution-config.contract.d.ts +10 -10
  98. package/dist/leads/leads.contract.d.ts +86 -86
  99. package/dist/locations/locations.contract.d.ts +46 -46
  100. package/dist/notifications/notifications.contract.d.ts +18 -18
  101. package/dist/offices/offices.contract.d.ts +24 -24
  102. package/dist/outreach/__tests__/outreach-contract-additions.spec.js +27 -0
  103. package/dist/outreach/lab-outreach.contract.d.ts +48 -48
  104. package/dist/outreach/outreach-requests.contract.d.ts +272 -272
  105. package/dist/outreach/outreach-requests.schemas.d.ts +14 -14
  106. package/dist/outreach/outreach.contract.d.ts +12 -12
  107. package/dist/outreach/outreach.schemas.d.ts +2 -2
  108. package/dist/outreach/relay-hub-outreach.contract.d.ts +1156 -0
  109. package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -0
  110. package/dist/outreach/relay-hub-outreach.contract.js +103 -0
  111. package/dist/outreach/relay-hub-outreach.contract.spec.d.ts +2 -0
  112. package/dist/outreach/relay-hub-outreach.contract.spec.d.ts.map +1 -0
  113. package/dist/outreach/relay-hub-outreach.contract.spec.js +119 -0
  114. package/dist/own-research/own-research.contract.d.ts +708 -708
  115. package/dist/proofs/proofs.contract.d.ts +196 -196
  116. package/dist/proofs/proofs.dtos.d.ts +104 -104
  117. package/dist/qualifications/qualifications.contract.d.ts +22 -22
  118. package/dist/realtime/realtime-telemetry.contract.d.ts +181 -0
  119. package/dist/realtime/realtime-telemetry.contract.d.ts.map +1 -0
  120. package/dist/realtime/realtime-telemetry.contract.js +81 -0
  121. package/dist/realtime/realtime-telemetry.contract.spec.d.ts +2 -0
  122. package/dist/realtime/realtime-telemetry.contract.spec.d.ts.map +1 -0
  123. package/dist/realtime/realtime-telemetry.contract.spec.js +41 -0
  124. package/dist/relay-pods/build-relay-pod-membership-rules.d.ts +9 -0
  125. package/dist/relay-pods/build-relay-pod-membership-rules.d.ts.map +1 -0
  126. package/dist/relay-pods/build-relay-pod-membership-rules.js +17 -0
  127. package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts +2 -0
  128. package/dist/relay-pods/build-relay-pod-membership-rules.spec.d.ts.map +1 -0
  129. package/dist/relay-pods/build-relay-pod-membership-rules.spec.js +20 -0
  130. package/dist/relay-pods/relay-hub.contract.d.ts +1463 -0
  131. package/dist/relay-pods/relay-hub.contract.d.ts.map +1 -0
  132. package/dist/relay-pods/relay-hub.contract.js +140 -0
  133. package/dist/relay-pods/relay-hub.contract.spec.d.ts +2 -0
  134. package/dist/relay-pods/relay-hub.contract.spec.d.ts.map +1 -0
  135. package/dist/relay-pods/relay-hub.contract.spec.js +180 -0
  136. package/dist/relay-pods/relay-hub.schemas.d.ts +577 -0
  137. package/dist/relay-pods/relay-hub.schemas.d.ts.map +1 -0
  138. package/dist/relay-pods/relay-hub.schemas.js +158 -0
  139. package/dist/relay-pods/relay-lab-fleet.contract.d.ts +115 -86
  140. package/dist/relay-pods/relay-lab-fleet.contract.d.ts.map +1 -1
  141. package/dist/relay-pods/relay-lab-fleet.contract.spec.js +16 -0
  142. package/dist/relay-pods/relay-lab-fleet.schemas.d.ts +87 -58
  143. package/dist/relay-pods/relay-lab-fleet.schemas.d.ts.map +1 -1
  144. package/dist/relay-pods/relay-lab-fleet.schemas.js +22 -5
  145. package/dist/{curated-worker-leads/lead-agent-area.contract.d.ts → relay-pods/relay-pod-members.contract.d.ts} +233 -126
  146. package/dist/relay-pods/relay-pod-members.contract.d.ts.map +1 -0
  147. package/dist/relay-pods/relay-pod-members.contract.js +73 -0
  148. package/dist/relay-pods/relay-pod-sessions.contract.d.ts +58 -58
  149. package/dist/relay-pods/relay-pods.contract.d.ts +169 -169
  150. package/dist/relay-pods/relay-pods.schemas.d.ts +46 -46
  151. package/dist/shared/summary-schemas.d.ts +10 -10
  152. package/dist/sheets-sync/__tests__/sheets-sync-events.schemas.test.js +22 -2
  153. package/dist/sheets-sync/sheets-sync-events.schemas.d.ts +30 -0
  154. package/dist/sheets-sync/sheets-sync-events.schemas.d.ts.map +1 -1
  155. package/dist/sheets-sync/sheets-sync-events.schemas.js +16 -1
  156. package/dist/sheets-sync/sheets-sync.contract.d.ts +829 -262
  157. package/dist/sheets-sync/sheets-sync.contract.d.ts.map +1 -1
  158. package/dist/sheets-sync/sheets-sync.contract.js +156 -34
  159. package/dist/telegram/telegram.contract.d.ts +12 -12
  160. package/dist/trades/trades.contract.d.ts +16 -16
  161. package/dist/user-access-grants/user-access-grants.contract.d.ts +226 -226
  162. package/dist/users/__tests__/assignable-roles.spec.js +1 -1
  163. package/dist/users/users.contract.d.ts +327 -325
  164. package/dist/users/users.contract.d.ts.map +1 -1
  165. package/dist/users/users.contract.js +10 -7
  166. package/dist/users/users.contract.spec.js +15 -0
  167. package/dist/voice-screener/voice-screener.contract.d.ts +237 -0
  168. package/dist/voice-screener/voice-screener.contract.d.ts.map +1 -0
  169. package/dist/voice-screener/voice-screener.contract.js +89 -0
  170. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts +500 -260
  171. package/dist/worker-identity-cases/worker-identity-cases.contract.d.ts.map +1 -1
  172. package/dist/worker-identity-cases/worker-identity-cases.contract.js +17 -1
  173. package/dist/worker-merge-proposals/worker-merge-proposals.contract.d.ts +130 -130
  174. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +35 -35
  175. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.schemas.d.ts +15 -15
  176. package/dist/workers/do-not-contact.contract.d.ts +4 -4
  177. package/dist/workers/qualification-back-proof.spec.d.ts +2 -0
  178. package/dist/workers/qualification-back-proof.spec.d.ts.map +1 -0
  179. package/dist/workers/qualification-back-proof.spec.js +39 -0
  180. package/dist/workers/workers.contract.d.ts +1969 -1775
  181. package/dist/workers/workers.contract.d.ts.map +1 -1
  182. package/dist/workers/workers.contract.js +5 -0
  183. package/package.json +1 -1
  184. package/dist/curated-worker-leads/consent-queue.contract.d.ts +0 -4527
  185. package/dist/curated-worker-leads/consent-queue.contract.d.ts.map +0 -1
  186. package/dist/curated-worker-leads/consent-queue.contract.js +0 -201
  187. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts +0 -135
  188. package/dist/curated-worker-leads/curated-worker-leads.contract.d.ts.map +0 -1
  189. package/dist/curated-worker-leads/curated-worker-leads.contract.js +0 -32
  190. package/dist/curated-worker-leads/lead-agent-area.contract.d.ts.map +0 -1
  191. package/dist/curated-worker-leads/lead-agent-area.contract.js +0 -51
@@ -16,12 +16,12 @@ export declare const LocationSchema: z.ZodObject<{
16
16
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
17
17
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
18
18
  }, "strip", z.ZodTypeAny, {
19
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
20
19
  id: string;
21
- createdAt: string;
22
20
  updatedAt: string;
23
- postcode?: string | undefined;
21
+ createdAt: string;
22
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
24
23
  address?: string | null | undefined;
24
+ postcode?: string | undefined;
25
25
  county?: string | null | undefined;
26
26
  adminDistrict?: string | null | undefined;
27
27
  builtUpArea?: string | null | undefined;
@@ -30,12 +30,12 @@ export declare const LocationSchema: z.ZodObject<{
30
30
  country?: string | null | undefined;
31
31
  region?: string | null | undefined;
32
32
  }, {
33
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
34
33
  id: string;
35
- createdAt: string | Date;
36
34
  updatedAt: string | Date;
37
- postcode?: string | undefined;
35
+ createdAt: string | Date;
36
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
38
37
  address?: string | null | undefined;
38
+ postcode?: string | undefined;
39
39
  county?: string | null | undefined;
40
40
  adminDistrict?: string | null | undefined;
41
41
  builtUpArea?: string | null | undefined;
@@ -48,21 +48,21 @@ export declare const UpdateLocationSchema: z.ZodObject<{
48
48
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
49
49
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
50
50
  }, "strip", z.ZodTypeAny, {
51
- postcode?: string | null | undefined;
52
51
  address?: string | null | undefined;
53
- }, {
54
52
  postcode?: string | null | undefined;
53
+ }, {
55
54
  address?: string | null | undefined;
55
+ postcode?: string | null | undefined;
56
56
  }>;
57
57
  export declare const FilterLocationSchema: z.ZodObject<{
58
58
  limit: z.ZodDefault<z.ZodNumber>;
59
59
  page: z.ZodDefault<z.ZodNumber>;
60
60
  }, "strip", z.ZodTypeAny, {
61
- limit: number;
62
61
  page: number;
62
+ limit: number;
63
63
  }, {
64
- limit?: number | undefined;
65
64
  page?: number | undefined;
65
+ limit?: number | undefined;
66
66
  }>;
67
67
  export type Location = z.infer<typeof LocationSchema>;
68
68
  export type UpdateLocation = z.infer<typeof UpdateLocationSchema>;
@@ -81,11 +81,11 @@ export declare const locationsContract: {
81
81
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
82
82
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
83
83
  }, "strip", z.ZodTypeAny, {
84
- postcode?: string | null | undefined;
85
84
  address?: string | null | undefined;
86
- }, {
87
85
  postcode?: string | null | undefined;
86
+ }, {
88
87
  address?: string | null | undefined;
88
+ postcode?: string | null | undefined;
89
89
  }>;
90
90
  path: "/v2/locations";
91
91
  responses: {
@@ -204,12 +204,12 @@ export declare const locationsContract: {
204
204
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
205
205
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
206
206
  }, "strip", z.ZodTypeAny, {
207
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
208
207
  id: string;
209
- createdAt: string;
210
208
  updatedAt: string;
211
- postcode?: string | undefined;
209
+ createdAt: string;
210
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
212
211
  address?: string | null | undefined;
212
+ postcode?: string | undefined;
213
213
  county?: string | null | undefined;
214
214
  adminDistrict?: string | null | undefined;
215
215
  builtUpArea?: string | null | undefined;
@@ -218,12 +218,12 @@ export declare const locationsContract: {
218
218
  country?: string | null | undefined;
219
219
  region?: string | null | undefined;
220
220
  }, {
221
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
222
221
  id: string;
223
- createdAt: string | Date;
224
222
  updatedAt: string | Date;
225
- postcode?: string | undefined;
223
+ createdAt: string | Date;
224
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
226
225
  address?: string | null | undefined;
226
+ postcode?: string | undefined;
227
227
  county?: string | null | undefined;
228
228
  adminDistrict?: string | null | undefined;
229
229
  builtUpArea?: string | null | undefined;
@@ -239,11 +239,11 @@ export declare const locationsContract: {
239
239
  limit: z.ZodDefault<z.ZodNumber>;
240
240
  page: z.ZodDefault<z.ZodNumber>;
241
241
  }, "strip", z.ZodTypeAny, {
242
- limit: number;
243
242
  page: number;
243
+ limit: number;
244
244
  }, {
245
- limit?: number | undefined;
246
245
  page?: number | undefined;
246
+ limit?: number | undefined;
247
247
  }>;
248
248
  metadata: {
249
249
  tags: string[];
@@ -368,12 +368,12 @@ export declare const locationsContract: {
368
368
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
369
369
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
370
370
  }, "strip", z.ZodTypeAny, {
371
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
372
371
  id: string;
373
- createdAt: string;
374
372
  updatedAt: string;
375
- postcode?: string | undefined;
373
+ createdAt: string;
374
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
376
375
  address?: string | null | undefined;
376
+ postcode?: string | undefined;
377
377
  county?: string | null | undefined;
378
378
  adminDistrict?: string | null | undefined;
379
379
  builtUpArea?: string | null | undefined;
@@ -382,12 +382,12 @@ export declare const locationsContract: {
382
382
  country?: string | null | undefined;
383
383
  region?: string | null | undefined;
384
384
  }, {
385
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
386
385
  id: string;
387
- createdAt: string | Date;
388
386
  updatedAt: string | Date;
389
- postcode?: string | undefined;
387
+ createdAt: string | Date;
388
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
390
389
  address?: string | null | undefined;
390
+ postcode?: string | undefined;
391
391
  county?: string | null | undefined;
392
392
  adminDistrict?: string | null | undefined;
393
393
  builtUpArea?: string | null | undefined;
@@ -404,12 +404,12 @@ export declare const locationsContract: {
404
404
  }, "strip", z.ZodTypeAny, {
405
405
  limit: number;
406
406
  items: {
407
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
408
407
  id: string;
409
- createdAt: string;
410
408
  updatedAt: string;
411
- postcode?: string | undefined;
409
+ createdAt: string;
410
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
412
411
  address?: string | null | undefined;
412
+ postcode?: string | undefined;
413
413
  county?: string | null | undefined;
414
414
  adminDistrict?: string | null | undefined;
415
415
  builtUpArea?: string | null | undefined;
@@ -425,12 +425,12 @@ export declare const locationsContract: {
425
425
  }, {
426
426
  limit: number;
427
427
  items: {
428
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
429
428
  id: string;
430
- createdAt: string | Date;
431
429
  updatedAt: string | Date;
432
- postcode?: string | undefined;
430
+ createdAt: string | Date;
431
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
433
432
  address?: string | null | undefined;
433
+ postcode?: string | undefined;
434
434
  county?: string | null | undefined;
435
435
  adminDistrict?: string | null | undefined;
436
436
  builtUpArea?: string | null | undefined;
@@ -576,12 +576,12 @@ export declare const locationsContract: {
576
576
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
577
577
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
578
578
  }, "strip", z.ZodTypeAny, {
579
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
580
579
  id: string;
581
- createdAt: string;
582
580
  updatedAt: string;
583
- postcode?: string | undefined;
581
+ createdAt: string;
582
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
584
583
  address?: string | null | undefined;
584
+ postcode?: string | undefined;
585
585
  county?: string | null | undefined;
586
586
  adminDistrict?: string | null | undefined;
587
587
  builtUpArea?: string | null | undefined;
@@ -590,12 +590,12 @@ export declare const locationsContract: {
590
590
  country?: string | null | undefined;
591
591
  region?: string | null | undefined;
592
592
  }, {
593
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
594
593
  id: string;
595
- createdAt: string | Date;
596
594
  updatedAt: string | Date;
597
- postcode?: string | undefined;
595
+ createdAt: string | Date;
596
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
598
597
  address?: string | null | undefined;
598
+ postcode?: string | undefined;
599
599
  county?: string | null | undefined;
600
600
  adminDistrict?: string | null | undefined;
601
601
  builtUpArea?: string | null | undefined;
@@ -648,11 +648,11 @@ export declare const locationsContract: {
648
648
  postcode: z.ZodNullable<z.ZodOptional<z.ZodString>>;
649
649
  address: z.ZodNullable<z.ZodOptional<z.ZodString>>;
650
650
  }, "strip", z.ZodTypeAny, {
651
- postcode?: string | null | undefined;
652
651
  address?: string | null | undefined;
653
- }, {
654
652
  postcode?: string | null | undefined;
653
+ }, {
655
654
  address?: string | null | undefined;
655
+ postcode?: string | null | undefined;
656
656
  }>;
657
657
  path: "/v2/locations/:id";
658
658
  responses: {
@@ -771,12 +771,12 @@ export declare const locationsContract: {
771
771
  createdAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
772
772
  updatedAt: z.ZodEffects<z.ZodUnion<[z.ZodString, z.ZodDate]>, string, string | Date>;
773
773
  }, "strip", z.ZodTypeAny, {
774
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
775
774
  id: string;
776
- createdAt: string;
777
775
  updatedAt: string;
778
- postcode?: string | undefined;
776
+ createdAt: string;
777
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
779
778
  address?: string | null | undefined;
779
+ postcode?: string | undefined;
780
780
  county?: string | null | undefined;
781
781
  adminDistrict?: string | null | undefined;
782
782
  builtUpArea?: string | null | undefined;
@@ -785,12 +785,12 @@ export declare const locationsContract: {
785
785
  country?: string | null | undefined;
786
786
  region?: string | null | undefined;
787
787
  }, {
788
- type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
789
788
  id: string;
790
- createdAt: string | Date;
791
789
  updatedAt: string | Date;
792
- postcode?: string | undefined;
790
+ createdAt: string | Date;
791
+ type: "POSTCODE" | "SECTOR" | "DISTRICT" | "AREA";
793
792
  address?: string | null | undefined;
793
+ postcode?: string | undefined;
794
794
  county?: string | null | undefined;
795
795
  adminDistrict?: string | null | undefined;
796
796
  builtUpArea?: string | null | undefined;
@@ -42,25 +42,25 @@ export declare const ActiveStatusNotificationPayloadSchema: z.ZodObject<{
42
42
  activeId: string;
43
43
  }>, "many">;
44
44
  }, "strip", z.ZodTypeAny, {
45
+ workerName: string | null;
45
46
  entries: {
46
47
  date: string;
47
48
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
48
49
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
49
50
  activeId: string;
50
51
  }[];
51
- workerName: string | null;
52
52
  workerId: string;
53
53
  actorId: string;
54
54
  actorName: string | null;
55
55
  openedAt: string;
56
56
  }, {
57
+ workerName: string | null;
57
58
  entries: {
58
59
  date: string;
59
60
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
60
61
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
61
62
  activeId: string;
62
63
  }[];
63
- workerName: string | null;
64
64
  workerId: string;
65
65
  actorId: string;
66
66
  actorName: string | null;
@@ -129,25 +129,25 @@ export declare const NotificationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
129
129
  activeId: string;
130
130
  }>, "many">;
131
131
  }, "strip", z.ZodTypeAny, {
132
+ workerName: string | null;
132
133
  entries: {
133
134
  date: string;
134
135
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
135
136
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
136
137
  activeId: string;
137
138
  }[];
138
- workerName: string | null;
139
139
  workerId: string;
140
140
  actorId: string;
141
141
  actorName: string | null;
142
142
  openedAt: string;
143
143
  }, {
144
+ workerName: string | null;
144
145
  entries: {
145
146
  date: string;
146
147
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
147
148
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
148
149
  activeId: string;
149
150
  }[];
150
- workerName: string | null;
151
151
  workerId: string;
152
152
  actorId: string;
153
153
  actorName: string | null;
@@ -160,13 +160,13 @@ export declare const NotificationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
160
160
  kind: "ACTIVE_STATUS";
161
161
  refId: string;
162
162
  payload: {
163
+ workerName: string | null;
163
164
  entries: {
164
165
  date: string;
165
166
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
166
167
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
167
168
  activeId: string;
168
169
  }[];
169
- workerName: string | null;
170
170
  workerId: string;
171
171
  actorId: string;
172
172
  actorName: string | null;
@@ -178,13 +178,13 @@ export declare const NotificationSchema: z.ZodDiscriminatedUnion<"kind", [z.ZodO
178
178
  kind: "ACTIVE_STATUS";
179
179
  refId: string;
180
180
  payload: {
181
+ workerName: string | null;
181
182
  entries: {
182
183
  date: string;
183
184
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
184
185
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
185
186
  activeId: string;
186
187
  }[];
187
- workerName: string | null;
188
188
  workerId: string;
189
189
  actorId: string;
190
190
  actorName: string | null;
@@ -305,25 +305,25 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
305
305
  activeId: string;
306
306
  }>, "many">;
307
307
  }, "strip", z.ZodTypeAny, {
308
+ workerName: string | null;
308
309
  entries: {
309
310
  date: string;
310
311
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
311
312
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
312
313
  activeId: string;
313
314
  }[];
314
- workerName: string | null;
315
315
  workerId: string;
316
316
  actorId: string;
317
317
  actorName: string | null;
318
318
  openedAt: string;
319
319
  }, {
320
+ workerName: string | null;
320
321
  entries: {
321
322
  date: string;
322
323
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
323
324
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
324
325
  activeId: string;
325
326
  }[];
326
- workerName: string | null;
327
327
  workerId: string;
328
328
  actorId: string;
329
329
  actorName: string | null;
@@ -336,13 +336,13 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
336
336
  kind: "ACTIVE_STATUS";
337
337
  refId: string;
338
338
  payload: {
339
+ workerName: string | null;
339
340
  entries: {
340
341
  date: string;
341
342
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
342
343
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
343
344
  activeId: string;
344
345
  }[];
345
- workerName: string | null;
346
346
  workerId: string;
347
347
  actorId: string;
348
348
  actorName: string | null;
@@ -354,13 +354,13 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
354
354
  kind: "ACTIVE_STATUS";
355
355
  refId: string;
356
356
  payload: {
357
+ workerName: string | null;
357
358
  entries: {
358
359
  date: string;
359
360
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
360
361
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
361
362
  activeId: string;
362
363
  }[];
363
- workerName: string | null;
364
364
  workerId: string;
365
365
  actorId: string;
366
366
  actorName: string | null;
@@ -461,13 +461,13 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
461
461
  kind: "ACTIVE_STATUS";
462
462
  refId: string;
463
463
  payload: {
464
+ workerName: string | null;
464
465
  entries: {
465
466
  date: string;
466
467
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
467
468
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
468
469
  activeId: string;
469
470
  }[];
470
- workerName: string | null;
471
471
  workerId: string;
472
472
  actorId: string;
473
473
  actorName: string | null;
@@ -504,13 +504,13 @@ export declare const NotificationListResponseSchema: z.ZodObject<{
504
504
  kind: "ACTIVE_STATUS";
505
505
  refId: string;
506
506
  payload: {
507
+ workerName: string | null;
507
508
  entries: {
508
509
  date: string;
509
510
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
510
511
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
511
512
  activeId: string;
512
513
  }[];
513
- workerName: string | null;
514
514
  workerId: string;
515
515
  actorId: string;
516
516
  actorName: string | null;
@@ -610,25 +610,25 @@ export declare const notificationsContract: {
610
610
  activeId: string;
611
611
  }>, "many">;
612
612
  }, "strip", z.ZodTypeAny, {
613
+ workerName: string | null;
613
614
  entries: {
614
615
  date: string;
615
616
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
616
617
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
617
618
  activeId: string;
618
619
  }[];
619
- workerName: string | null;
620
620
  workerId: string;
621
621
  actorId: string;
622
622
  actorName: string | null;
623
623
  openedAt: string;
624
624
  }, {
625
+ workerName: string | null;
625
626
  entries: {
626
627
  date: string;
627
628
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
628
629
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
629
630
  activeId: string;
630
631
  }[];
631
- workerName: string | null;
632
632
  workerId: string;
633
633
  actorId: string;
634
634
  actorName: string | null;
@@ -641,13 +641,13 @@ export declare const notificationsContract: {
641
641
  kind: "ACTIVE_STATUS";
642
642
  refId: string;
643
643
  payload: {
644
+ workerName: string | null;
644
645
  entries: {
645
646
  date: string;
646
647
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
647
648
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
648
649
  activeId: string;
649
650
  }[];
650
- workerName: string | null;
651
651
  workerId: string;
652
652
  actorId: string;
653
653
  actorName: string | null;
@@ -659,13 +659,13 @@ export declare const notificationsContract: {
659
659
  kind: "ACTIVE_STATUS";
660
660
  refId: string;
661
661
  payload: {
662
+ workerName: string | null;
662
663
  entries: {
663
664
  date: string;
664
665
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
665
666
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
666
667
  activeId: string;
667
668
  }[];
668
- workerName: string | null;
669
669
  workerId: string;
670
670
  actorId: string;
671
671
  actorName: string | null;
@@ -766,13 +766,13 @@ export declare const notificationsContract: {
766
766
  kind: "ACTIVE_STATUS";
767
767
  refId: string;
768
768
  payload: {
769
+ workerName: string | null;
769
770
  entries: {
770
771
  date: string;
771
772
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
772
773
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
773
774
  activeId: string;
774
775
  }[];
775
- workerName: string | null;
776
776
  workerId: string;
777
777
  actorId: string;
778
778
  actorName: string | null;
@@ -809,13 +809,13 @@ export declare const notificationsContract: {
809
809
  kind: "ACTIVE_STATUS";
810
810
  refId: string;
811
811
  payload: {
812
+ workerName: string | null;
812
813
  entries: {
813
814
  date: string;
814
815
  fromStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE" | null;
815
816
  toStatus: "ACTIVE" | "PENDING" | "VACATION" | "LEFT_THE_SITE" | "MEDICAL_LEAVE" | "DAY_OFF" | "INJURY" | "OFF_SCHEDULE";
816
817
  activeId: string;
817
818
  }[];
818
- workerName: string | null;
819
819
  workerId: string;
820
820
  actorId: string;
821
821
  actorName: string | null;