@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
@@ -32,8 +32,8 @@ export declare const TabSyncWithMetaSchema: z.ZodObject<{
32
32
  updatedAt: z.ZodDate;
33
33
  }, "strip", z.ZodTypeAny, {
34
34
  id: string;
35
- createdAt: Date;
36
35
  updatedAt: Date;
36
+ createdAt: Date;
37
37
  startDate: Date;
38
38
  startRow: number;
39
39
  enabled: boolean;
@@ -45,8 +45,8 @@ export declare const TabSyncWithMetaSchema: z.ZodObject<{
45
45
  tabName?: string | null | undefined;
46
46
  }, {
47
47
  id: string;
48
- createdAt: Date;
49
48
  updatedAt: Date;
49
+ createdAt: Date;
50
50
  startDate: Date;
51
51
  lastSyncedAt: Date | null;
52
52
  lastError: string | null;
@@ -138,8 +138,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
138
138
  updatedAt: z.ZodDate;
139
139
  }, "strip", z.ZodTypeAny, {
140
140
  id: string;
141
- createdAt: Date;
142
141
  updatedAt: Date;
142
+ createdAt: Date;
143
143
  startDate: Date;
144
144
  startRow: number;
145
145
  enabled: boolean;
@@ -151,8 +151,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
151
151
  tabName?: string | null | undefined;
152
152
  }, {
153
153
  id: string;
154
- createdAt: Date;
155
154
  updatedAt: Date;
155
+ createdAt: Date;
156
156
  startDate: Date;
157
157
  lastSyncedAt: Date | null;
158
158
  lastError: string | null;
@@ -179,8 +179,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
179
179
  updatedAt: z.ZodDate;
180
180
  }, "strip", z.ZodTypeAny, {
181
181
  id: string;
182
- createdAt: Date;
183
182
  updatedAt: Date;
183
+ createdAt: Date;
184
184
  startDate: Date;
185
185
  startRow: number;
186
186
  enabled: boolean;
@@ -192,8 +192,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
192
192
  tabName?: string | null | undefined;
193
193
  }, {
194
194
  id: string;
195
- createdAt: Date;
196
195
  updatedAt: Date;
196
+ createdAt: Date;
197
197
  startDate: Date;
198
198
  lastSyncedAt: Date | null;
199
199
  lastError: string | null;
@@ -208,8 +208,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
208
208
  spreadsheetId: string;
209
209
  activeWorkers: {
210
210
  id: string;
211
- createdAt: Date;
212
211
  updatedAt: Date;
212
+ createdAt: Date;
213
213
  startDate: Date;
214
214
  startRow: number;
215
215
  enabled: boolean;
@@ -222,8 +222,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
222
222
  };
223
223
  newYellowGreen: {
224
224
  id: string;
225
- createdAt: Date;
226
225
  updatedAt: Date;
226
+ createdAt: Date;
227
227
  startDate: Date;
228
228
  startRow: number;
229
229
  enabled: boolean;
@@ -238,8 +238,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
238
238
  spreadsheetId: string;
239
239
  activeWorkers: {
240
240
  id: string;
241
- createdAt: Date;
242
241
  updatedAt: Date;
242
+ createdAt: Date;
243
243
  startDate: Date;
244
244
  lastSyncedAt: Date | null;
245
245
  lastError: string | null;
@@ -252,8 +252,8 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
252
252
  };
253
253
  newYellowGreen: {
254
254
  id: string;
255
- createdAt: Date;
256
255
  updatedAt: Date;
256
+ createdAt: Date;
257
257
  startDate: Date;
258
258
  lastSyncedAt: Date | null;
259
259
  lastError: string | null;
@@ -292,28 +292,28 @@ export declare const UserSheetLinkUserSchema: z.ZodObject<{
292
292
  }, "strip", z.ZodTypeAny, {
293
293
  status: string;
294
294
  id: string;
295
- firstName: string;
295
+ roles: string[];
296
296
  lastName: string;
297
+ firstName: string;
297
298
  phoneNumbers: {
298
299
  id: string;
299
300
  phoneNumber: string;
300
301
  isPrimary: boolean;
301
302
  description?: string | null | undefined;
302
303
  }[];
303
- roles: string[];
304
304
  deletedAt?: string | null | undefined;
305
305
  }, {
306
306
  id: string;
307
- firstName: string;
308
307
  lastName: string;
308
+ firstName: string;
309
309
  status?: string | undefined;
310
+ roles?: string[] | undefined;
310
311
  phoneNumbers?: {
311
312
  id: string;
312
313
  phoneNumber: string;
313
314
  description?: string | null | undefined;
314
315
  isPrimary?: boolean | undefined;
315
316
  }[] | undefined;
316
- roles?: string[] | undefined;
317
317
  deletedAt?: string | Date | null | undefined;
318
318
  }>;
319
319
  export declare const UserSheetLinkSchema: z.ZodObject<{
@@ -345,28 +345,28 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
345
345
  }, "strip", z.ZodTypeAny, {
346
346
  status: string;
347
347
  id: string;
348
- firstName: string;
348
+ roles: string[];
349
349
  lastName: string;
350
+ firstName: string;
350
351
  phoneNumbers: {
351
352
  id: string;
352
353
  phoneNumber: string;
353
354
  isPrimary: boolean;
354
355
  description?: string | null | undefined;
355
356
  }[];
356
- roles: string[];
357
357
  deletedAt?: string | null | undefined;
358
358
  }, {
359
359
  id: string;
360
- firstName: string;
361
360
  lastName: string;
361
+ firstName: string;
362
362
  status?: string | undefined;
363
+ roles?: string[] | undefined;
363
364
  phoneNumbers?: {
364
365
  id: string;
365
366
  phoneNumber: string;
366
367
  description?: string | null | undefined;
367
368
  isPrimary?: boolean | undefined;
368
369
  }[] | undefined;
369
- roles?: string[] | undefined;
370
370
  deletedAt?: string | Date | null | undefined;
371
371
  }>;
372
372
  name: z.ZodNullable<z.ZodString>;
@@ -388,8 +388,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
388
388
  updatedAt: z.ZodDate;
389
389
  }, "strip", z.ZodTypeAny, {
390
390
  id: string;
391
- createdAt: Date;
392
391
  updatedAt: Date;
392
+ createdAt: Date;
393
393
  startDate: Date;
394
394
  startRow: number;
395
395
  enabled: boolean;
@@ -401,8 +401,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
401
401
  tabName?: string | null | undefined;
402
402
  }, {
403
403
  id: string;
404
- createdAt: Date;
405
404
  updatedAt: Date;
405
+ createdAt: Date;
406
406
  startDate: Date;
407
407
  lastSyncedAt: Date | null;
408
408
  lastError: string | null;
@@ -429,8 +429,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
429
429
  updatedAt: z.ZodDate;
430
430
  }, "strip", z.ZodTypeAny, {
431
431
  id: string;
432
- createdAt: Date;
433
432
  updatedAt: Date;
433
+ createdAt: Date;
434
434
  startDate: Date;
435
435
  startRow: number;
436
436
  enabled: boolean;
@@ -442,8 +442,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
442
442
  tabName?: string | null | undefined;
443
443
  }, {
444
444
  id: string;
445
- createdAt: Date;
446
445
  updatedAt: Date;
446
+ createdAt: Date;
447
447
  startDate: Date;
448
448
  lastSyncedAt: Date | null;
449
449
  lastError: string | null;
@@ -458,8 +458,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
458
458
  spreadsheetId: string;
459
459
  activeWorkers: {
460
460
  id: string;
461
- createdAt: Date;
462
461
  updatedAt: Date;
462
+ createdAt: Date;
463
463
  startDate: Date;
464
464
  startRow: number;
465
465
  enabled: boolean;
@@ -472,8 +472,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
472
472
  };
473
473
  newYellowGreen: {
474
474
  id: string;
475
- createdAt: Date;
476
475
  updatedAt: Date;
476
+ createdAt: Date;
477
477
  startDate: Date;
478
478
  startRow: number;
479
479
  enabled: boolean;
@@ -488,8 +488,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
488
488
  spreadsheetId: string;
489
489
  activeWorkers: {
490
490
  id: string;
491
- createdAt: Date;
492
491
  updatedAt: Date;
492
+ createdAt: Date;
493
493
  startDate: Date;
494
494
  lastSyncedAt: Date | null;
495
495
  lastError: string | null;
@@ -502,8 +502,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
502
502
  };
503
503
  newYellowGreen: {
504
504
  id: string;
505
- createdAt: Date;
506
505
  updatedAt: Date;
506
+ createdAt: Date;
507
507
  startDate: Date;
508
508
  lastSyncedAt: Date | null;
509
509
  lastError: string | null;
@@ -533,8 +533,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
533
533
  updatedAt: z.ZodDate;
534
534
  }, "strip", z.ZodTypeAny, {
535
535
  id: string;
536
- createdAt: Date;
537
536
  updatedAt: Date;
537
+ createdAt: Date;
538
538
  startDate: Date;
539
539
  startRow: number;
540
540
  enabled: boolean;
@@ -546,8 +546,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
546
546
  tabName?: string | null | undefined;
547
547
  }, {
548
548
  id: string;
549
- createdAt: Date;
550
549
  updatedAt: Date;
550
+ createdAt: Date;
551
551
  startDate: Date;
552
552
  lastSyncedAt: Date | null;
553
553
  lastError: string | null;
@@ -574,8 +574,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
574
574
  updatedAt: z.ZodDate;
575
575
  }, "strip", z.ZodTypeAny, {
576
576
  id: string;
577
- createdAt: Date;
578
577
  updatedAt: Date;
578
+ createdAt: Date;
579
579
  startDate: Date;
580
580
  startRow: number;
581
581
  enabled: boolean;
@@ -587,8 +587,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
587
587
  tabName?: string | null | undefined;
588
588
  }, {
589
589
  id: string;
590
- createdAt: Date;
591
590
  updatedAt: Date;
591
+ createdAt: Date;
592
592
  startDate: Date;
593
593
  lastSyncedAt: Date | null;
594
594
  lastError: string | null;
@@ -603,8 +603,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
603
603
  spreadsheetId: string;
604
604
  activeWorkers: {
605
605
  id: string;
606
- createdAt: Date;
607
606
  updatedAt: Date;
607
+ createdAt: Date;
608
608
  startDate: Date;
609
609
  startRow: number;
610
610
  enabled: boolean;
@@ -617,8 +617,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
617
617
  };
618
618
  newYellowGreen: {
619
619
  id: string;
620
- createdAt: Date;
621
620
  updatedAt: Date;
621
+ createdAt: Date;
622
622
  startDate: Date;
623
623
  startRow: number;
624
624
  enabled: boolean;
@@ -633,8 +633,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
633
633
  spreadsheetId: string;
634
634
  activeWorkers: {
635
635
  id: string;
636
- createdAt: Date;
637
636
  updatedAt: Date;
637
+ createdAt: Date;
638
638
  startDate: Date;
639
639
  lastSyncedAt: Date | null;
640
640
  lastError: string | null;
@@ -647,8 +647,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
647
647
  };
648
648
  newYellowGreen: {
649
649
  id: string;
650
- createdAt: Date;
651
650
  updatedAt: Date;
651
+ createdAt: Date;
652
652
  startDate: Date;
653
653
  lastSyncedAt: Date | null;
654
654
  lastError: string | null;
@@ -665,28 +665,28 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
665
665
  }, "strip", z.ZodTypeAny, {
666
666
  id: string;
667
667
  name: string | null;
668
- createdAt: Date;
669
668
  updatedAt: Date;
669
+ createdAt: Date;
670
670
  user: {
671
671
  status: string;
672
672
  id: string;
673
- firstName: string;
673
+ roles: string[];
674
674
  lastName: string;
675
+ firstName: string;
675
676
  phoneNumbers: {
676
677
  id: string;
677
678
  phoneNumber: string;
678
679
  isPrimary: boolean;
679
680
  description?: string | null | undefined;
680
681
  }[];
681
- roles: string[];
682
682
  deletedAt?: string | null | undefined;
683
683
  };
684
684
  fa: {
685
685
  spreadsheetId: string;
686
686
  activeWorkers: {
687
687
  id: string;
688
- createdAt: Date;
689
688
  updatedAt: Date;
689
+ createdAt: Date;
690
690
  startDate: Date;
691
691
  startRow: number;
692
692
  enabled: boolean;
@@ -699,8 +699,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
699
699
  };
700
700
  newYellowGreen: {
701
701
  id: string;
702
- createdAt: Date;
703
702
  updatedAt: Date;
703
+ createdAt: Date;
704
704
  startDate: Date;
705
705
  startRow: number;
706
706
  enabled: boolean;
@@ -716,8 +716,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
716
716
  spreadsheetId: string;
717
717
  activeWorkers: {
718
718
  id: string;
719
- createdAt: Date;
720
719
  updatedAt: Date;
720
+ createdAt: Date;
721
721
  startDate: Date;
722
722
  startRow: number;
723
723
  enabled: boolean;
@@ -730,8 +730,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
730
730
  };
731
731
  newYellowGreen: {
732
732
  id: string;
733
- createdAt: Date;
734
733
  updatedAt: Date;
734
+ createdAt: Date;
735
735
  startDate: Date;
736
736
  startRow: number;
737
737
  enabled: boolean;
@@ -746,28 +746,28 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
746
746
  }, {
747
747
  id: string;
748
748
  name: string | null;
749
- createdAt: Date;
750
749
  updatedAt: Date;
750
+ createdAt: Date;
751
751
  user: {
752
752
  id: string;
753
- firstName: string;
754
753
  lastName: string;
754
+ firstName: string;
755
755
  status?: string | undefined;
756
+ roles?: string[] | undefined;
756
757
  phoneNumbers?: {
757
758
  id: string;
758
759
  phoneNumber: string;
759
760
  description?: string | null | undefined;
760
761
  isPrimary?: boolean | undefined;
761
762
  }[] | undefined;
762
- roles?: string[] | undefined;
763
763
  deletedAt?: string | Date | null | undefined;
764
764
  };
765
765
  fa: {
766
766
  spreadsheetId: string;
767
767
  activeWorkers: {
768
768
  id: string;
769
- createdAt: Date;
770
769
  updatedAt: Date;
770
+ createdAt: Date;
771
771
  startDate: Date;
772
772
  lastSyncedAt: Date | null;
773
773
  lastError: string | null;
@@ -780,8 +780,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
780
780
  };
781
781
  newYellowGreen: {
782
782
  id: string;
783
- createdAt: Date;
784
783
  updatedAt: Date;
784
+ createdAt: Date;
785
785
  startDate: Date;
786
786
  lastSyncedAt: Date | null;
787
787
  lastError: string | null;
@@ -797,8 +797,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
797
797
  spreadsheetId: string;
798
798
  activeWorkers: {
799
799
  id: string;
800
- createdAt: Date;
801
800
  updatedAt: Date;
801
+ createdAt: Date;
802
802
  startDate: Date;
803
803
  lastSyncedAt: Date | null;
804
804
  lastError: string | null;
@@ -811,8 +811,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
811
811
  };
812
812
  newYellowGreen: {
813
813
  id: string;
814
- createdAt: Date;
815
814
  updatedAt: Date;
815
+ createdAt: Date;
816
816
  startDate: Date;
817
817
  lastSyncedAt: Date | null;
818
818
  lastError: string | null;
@@ -1245,19 +1245,19 @@ export declare const FilterSheetLinkSchema: z.ZodObject<{
1245
1245
  sortBy: z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt"]>>;
1246
1246
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
1247
1247
  }, "strip", z.ZodTypeAny, {
1248
- limit: number;
1249
1248
  page: number;
1250
- sortBy: "createdAt" | "updatedAt";
1249
+ limit: number;
1250
+ sortBy: "updatedAt" | "createdAt";
1251
1251
  sortOrder: "ASC" | "DESC";
1252
1252
  userId?: string | undefined;
1253
1253
  hasError?: boolean | undefined;
1254
1254
  hasFaSheet?: boolean | undefined;
1255
1255
  hasSaSheet?: boolean | undefined;
1256
1256
  }, {
1257
- limit?: number | undefined;
1258
- page?: number | undefined;
1259
1257
  userId?: string | undefined;
1260
- sortBy?: "createdAt" | "updatedAt" | undefined;
1258
+ page?: number | undefined;
1259
+ limit?: number | undefined;
1260
+ sortBy?: "updatedAt" | "createdAt" | undefined;
1261
1261
  sortOrder?: "ASC" | "DESC" | undefined;
1262
1262
  hasError?: boolean | undefined;
1263
1263
  hasFaSheet?: boolean | undefined;
@@ -1293,28 +1293,28 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1293
1293
  }, "strip", z.ZodTypeAny, {
1294
1294
  status: string;
1295
1295
  id: string;
1296
- firstName: string;
1296
+ roles: string[];
1297
1297
  lastName: string;
1298
+ firstName: string;
1298
1299
  phoneNumbers: {
1299
1300
  id: string;
1300
1301
  phoneNumber: string;
1301
1302
  isPrimary: boolean;
1302
1303
  description?: string | null | undefined;
1303
1304
  }[];
1304
- roles: string[];
1305
1305
  deletedAt?: string | null | undefined;
1306
1306
  }, {
1307
1307
  id: string;
1308
- firstName: string;
1309
1308
  lastName: string;
1309
+ firstName: string;
1310
1310
  status?: string | undefined;
1311
+ roles?: string[] | undefined;
1311
1312
  phoneNumbers?: {
1312
1313
  id: string;
1313
1314
  phoneNumber: string;
1314
1315
  description?: string | null | undefined;
1315
1316
  isPrimary?: boolean | undefined;
1316
1317
  }[] | undefined;
1317
- roles?: string[] | undefined;
1318
1318
  deletedAt?: string | Date | null | undefined;
1319
1319
  }>;
1320
1320
  name: z.ZodNullable<z.ZodString>;
@@ -1336,8 +1336,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1336
1336
  updatedAt: z.ZodDate;
1337
1337
  }, "strip", z.ZodTypeAny, {
1338
1338
  id: string;
1339
- createdAt: Date;
1340
1339
  updatedAt: Date;
1340
+ createdAt: Date;
1341
1341
  startDate: Date;
1342
1342
  startRow: number;
1343
1343
  enabled: boolean;
@@ -1349,8 +1349,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1349
1349
  tabName?: string | null | undefined;
1350
1350
  }, {
1351
1351
  id: string;
1352
- createdAt: Date;
1353
1352
  updatedAt: Date;
1353
+ createdAt: Date;
1354
1354
  startDate: Date;
1355
1355
  lastSyncedAt: Date | null;
1356
1356
  lastError: string | null;
@@ -1377,8 +1377,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1377
1377
  updatedAt: z.ZodDate;
1378
1378
  }, "strip", z.ZodTypeAny, {
1379
1379
  id: string;
1380
- createdAt: Date;
1381
1380
  updatedAt: Date;
1381
+ createdAt: Date;
1382
1382
  startDate: Date;
1383
1383
  startRow: number;
1384
1384
  enabled: boolean;
@@ -1390,8 +1390,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1390
1390
  tabName?: string | null | undefined;
1391
1391
  }, {
1392
1392
  id: string;
1393
- createdAt: Date;
1394
1393
  updatedAt: Date;
1394
+ createdAt: Date;
1395
1395
  startDate: Date;
1396
1396
  lastSyncedAt: Date | null;
1397
1397
  lastError: string | null;
@@ -1406,8 +1406,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1406
1406
  spreadsheetId: string;
1407
1407
  activeWorkers: {
1408
1408
  id: string;
1409
- createdAt: Date;
1410
1409
  updatedAt: Date;
1410
+ createdAt: Date;
1411
1411
  startDate: Date;
1412
1412
  startRow: number;
1413
1413
  enabled: boolean;
@@ -1420,8 +1420,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1420
1420
  };
1421
1421
  newYellowGreen: {
1422
1422
  id: string;
1423
- createdAt: Date;
1424
1423
  updatedAt: Date;
1424
+ createdAt: Date;
1425
1425
  startDate: Date;
1426
1426
  startRow: number;
1427
1427
  enabled: boolean;
@@ -1436,8 +1436,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1436
1436
  spreadsheetId: string;
1437
1437
  activeWorkers: {
1438
1438
  id: string;
1439
- createdAt: Date;
1440
1439
  updatedAt: Date;
1440
+ createdAt: Date;
1441
1441
  startDate: Date;
1442
1442
  lastSyncedAt: Date | null;
1443
1443
  lastError: string | null;
@@ -1450,8 +1450,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1450
1450
  };
1451
1451
  newYellowGreen: {
1452
1452
  id: string;
1453
- createdAt: Date;
1454
1453
  updatedAt: Date;
1454
+ createdAt: Date;
1455
1455
  startDate: Date;
1456
1456
  lastSyncedAt: Date | null;
1457
1457
  lastError: string | null;
@@ -1481,8 +1481,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1481
1481
  updatedAt: z.ZodDate;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
1483
  id: string;
1484
- createdAt: Date;
1485
1484
  updatedAt: Date;
1485
+ createdAt: Date;
1486
1486
  startDate: Date;
1487
1487
  startRow: number;
1488
1488
  enabled: boolean;
@@ -1494,8 +1494,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1494
1494
  tabName?: string | null | undefined;
1495
1495
  }, {
1496
1496
  id: string;
1497
- createdAt: Date;
1498
1497
  updatedAt: Date;
1498
+ createdAt: Date;
1499
1499
  startDate: Date;
1500
1500
  lastSyncedAt: Date | null;
1501
1501
  lastError: string | null;
@@ -1522,8 +1522,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1522
1522
  updatedAt: z.ZodDate;
1523
1523
  }, "strip", z.ZodTypeAny, {
1524
1524
  id: string;
1525
- createdAt: Date;
1526
1525
  updatedAt: Date;
1526
+ createdAt: Date;
1527
1527
  startDate: Date;
1528
1528
  startRow: number;
1529
1529
  enabled: boolean;
@@ -1535,8 +1535,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1535
1535
  tabName?: string | null | undefined;
1536
1536
  }, {
1537
1537
  id: string;
1538
- createdAt: Date;
1539
1538
  updatedAt: Date;
1539
+ createdAt: Date;
1540
1540
  startDate: Date;
1541
1541
  lastSyncedAt: Date | null;
1542
1542
  lastError: string | null;
@@ -1551,8 +1551,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1551
1551
  spreadsheetId: string;
1552
1552
  activeWorkers: {
1553
1553
  id: string;
1554
- createdAt: Date;
1555
1554
  updatedAt: Date;
1555
+ createdAt: Date;
1556
1556
  startDate: Date;
1557
1557
  startRow: number;
1558
1558
  enabled: boolean;
@@ -1565,8 +1565,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1565
1565
  };
1566
1566
  newYellowGreen: {
1567
1567
  id: string;
1568
- createdAt: Date;
1569
1568
  updatedAt: Date;
1569
+ createdAt: Date;
1570
1570
  startDate: Date;
1571
1571
  startRow: number;
1572
1572
  enabled: boolean;
@@ -1581,8 +1581,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1581
1581
  spreadsheetId: string;
1582
1582
  activeWorkers: {
1583
1583
  id: string;
1584
- createdAt: Date;
1585
1584
  updatedAt: Date;
1585
+ createdAt: Date;
1586
1586
  startDate: Date;
1587
1587
  lastSyncedAt: Date | null;
1588
1588
  lastError: string | null;
@@ -1595,8 +1595,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1595
1595
  };
1596
1596
  newYellowGreen: {
1597
1597
  id: string;
1598
- createdAt: Date;
1599
1598
  updatedAt: Date;
1599
+ createdAt: Date;
1600
1600
  startDate: Date;
1601
1601
  lastSyncedAt: Date | null;
1602
1602
  lastError: string | null;
@@ -1613,28 +1613,28 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1613
1613
  }, "strip", z.ZodTypeAny, {
1614
1614
  id: string;
1615
1615
  name: string | null;
1616
- createdAt: Date;
1617
1616
  updatedAt: Date;
1617
+ createdAt: Date;
1618
1618
  user: {
1619
1619
  status: string;
1620
1620
  id: string;
1621
- firstName: string;
1621
+ roles: string[];
1622
1622
  lastName: string;
1623
+ firstName: string;
1623
1624
  phoneNumbers: {
1624
1625
  id: string;
1625
1626
  phoneNumber: string;
1626
1627
  isPrimary: boolean;
1627
1628
  description?: string | null | undefined;
1628
1629
  }[];
1629
- roles: string[];
1630
1630
  deletedAt?: string | null | undefined;
1631
1631
  };
1632
1632
  fa: {
1633
1633
  spreadsheetId: string;
1634
1634
  activeWorkers: {
1635
1635
  id: string;
1636
- createdAt: Date;
1637
1636
  updatedAt: Date;
1637
+ createdAt: Date;
1638
1638
  startDate: Date;
1639
1639
  startRow: number;
1640
1640
  enabled: boolean;
@@ -1647,8 +1647,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1647
1647
  };
1648
1648
  newYellowGreen: {
1649
1649
  id: string;
1650
- createdAt: Date;
1651
1650
  updatedAt: Date;
1651
+ createdAt: Date;
1652
1652
  startDate: Date;
1653
1653
  startRow: number;
1654
1654
  enabled: boolean;
@@ -1664,8 +1664,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1664
1664
  spreadsheetId: string;
1665
1665
  activeWorkers: {
1666
1666
  id: string;
1667
- createdAt: Date;
1668
1667
  updatedAt: Date;
1668
+ createdAt: Date;
1669
1669
  startDate: Date;
1670
1670
  startRow: number;
1671
1671
  enabled: boolean;
@@ -1678,8 +1678,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1678
1678
  };
1679
1679
  newYellowGreen: {
1680
1680
  id: string;
1681
- createdAt: Date;
1682
1681
  updatedAt: Date;
1682
+ createdAt: Date;
1683
1683
  startDate: Date;
1684
1684
  startRow: number;
1685
1685
  enabled: boolean;
@@ -1694,28 +1694,28 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1694
1694
  }, {
1695
1695
  id: string;
1696
1696
  name: string | null;
1697
- createdAt: Date;
1698
1697
  updatedAt: Date;
1698
+ createdAt: Date;
1699
1699
  user: {
1700
1700
  id: string;
1701
- firstName: string;
1702
1701
  lastName: string;
1702
+ firstName: string;
1703
1703
  status?: string | undefined;
1704
+ roles?: string[] | undefined;
1704
1705
  phoneNumbers?: {
1705
1706
  id: string;
1706
1707
  phoneNumber: string;
1707
1708
  description?: string | null | undefined;
1708
1709
  isPrimary?: boolean | undefined;
1709
1710
  }[] | undefined;
1710
- roles?: string[] | undefined;
1711
1711
  deletedAt?: string | Date | null | undefined;
1712
1712
  };
1713
1713
  fa: {
1714
1714
  spreadsheetId: string;
1715
1715
  activeWorkers: {
1716
1716
  id: string;
1717
- createdAt: Date;
1718
1717
  updatedAt: Date;
1718
+ createdAt: Date;
1719
1719
  startDate: Date;
1720
1720
  lastSyncedAt: Date | null;
1721
1721
  lastError: string | null;
@@ -1728,8 +1728,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1728
1728
  };
1729
1729
  newYellowGreen: {
1730
1730
  id: string;
1731
- createdAt: Date;
1732
1731
  updatedAt: Date;
1732
+ createdAt: Date;
1733
1733
  startDate: Date;
1734
1734
  lastSyncedAt: Date | null;
1735
1735
  lastError: string | null;
@@ -1745,8 +1745,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1745
1745
  spreadsheetId: string;
1746
1746
  activeWorkers: {
1747
1747
  id: string;
1748
- createdAt: Date;
1749
1748
  updatedAt: Date;
1749
+ createdAt: Date;
1750
1750
  startDate: Date;
1751
1751
  lastSyncedAt: Date | null;
1752
1752
  lastError: string | null;
@@ -1759,8 +1759,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1759
1759
  };
1760
1760
  newYellowGreen: {
1761
1761
  id: string;
1762
- createdAt: Date;
1763
1762
  updatedAt: Date;
1763
+ createdAt: Date;
1764
1764
  startDate: Date;
1765
1765
  lastSyncedAt: Date | null;
1766
1766
  lastError: string | null;
@@ -1783,28 +1783,28 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1783
1783
  items: {
1784
1784
  id: string;
1785
1785
  name: string | null;
1786
- createdAt: Date;
1787
1786
  updatedAt: Date;
1787
+ createdAt: Date;
1788
1788
  user: {
1789
1789
  status: string;
1790
1790
  id: string;
1791
- firstName: string;
1791
+ roles: string[];
1792
1792
  lastName: string;
1793
+ firstName: string;
1793
1794
  phoneNumbers: {
1794
1795
  id: string;
1795
1796
  phoneNumber: string;
1796
1797
  isPrimary: boolean;
1797
1798
  description?: string | null | undefined;
1798
1799
  }[];
1799
- roles: string[];
1800
1800
  deletedAt?: string | null | undefined;
1801
1801
  };
1802
1802
  fa: {
1803
1803
  spreadsheetId: string;
1804
1804
  activeWorkers: {
1805
1805
  id: string;
1806
- createdAt: Date;
1807
1806
  updatedAt: Date;
1807
+ createdAt: Date;
1808
1808
  startDate: Date;
1809
1809
  startRow: number;
1810
1810
  enabled: boolean;
@@ -1817,8 +1817,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1817
1817
  };
1818
1818
  newYellowGreen: {
1819
1819
  id: string;
1820
- createdAt: Date;
1821
1820
  updatedAt: Date;
1821
+ createdAt: Date;
1822
1822
  startDate: Date;
1823
1823
  startRow: number;
1824
1824
  enabled: boolean;
@@ -1834,8 +1834,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1834
1834
  spreadsheetId: string;
1835
1835
  activeWorkers: {
1836
1836
  id: string;
1837
- createdAt: Date;
1838
1837
  updatedAt: Date;
1838
+ createdAt: Date;
1839
1839
  startDate: Date;
1840
1840
  startRow: number;
1841
1841
  enabled: boolean;
@@ -1848,8 +1848,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1848
1848
  };
1849
1849
  newYellowGreen: {
1850
1850
  id: string;
1851
- createdAt: Date;
1852
1851
  updatedAt: Date;
1852
+ createdAt: Date;
1853
1853
  startDate: Date;
1854
1854
  startRow: number;
1855
1855
  enabled: boolean;
@@ -1871,28 +1871,28 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1871
1871
  items: {
1872
1872
  id: string;
1873
1873
  name: string | null;
1874
- createdAt: Date;
1875
1874
  updatedAt: Date;
1875
+ createdAt: Date;
1876
1876
  user: {
1877
1877
  id: string;
1878
- firstName: string;
1879
1878
  lastName: string;
1879
+ firstName: string;
1880
1880
  status?: string | undefined;
1881
+ roles?: string[] | undefined;
1881
1882
  phoneNumbers?: {
1882
1883
  id: string;
1883
1884
  phoneNumber: string;
1884
1885
  description?: string | null | undefined;
1885
1886
  isPrimary?: boolean | undefined;
1886
1887
  }[] | undefined;
1887
- roles?: string[] | undefined;
1888
1888
  deletedAt?: string | Date | null | undefined;
1889
1889
  };
1890
1890
  fa: {
1891
1891
  spreadsheetId: string;
1892
1892
  activeWorkers: {
1893
1893
  id: string;
1894
- createdAt: Date;
1895
1894
  updatedAt: Date;
1895
+ createdAt: Date;
1896
1896
  startDate: Date;
1897
1897
  lastSyncedAt: Date | null;
1898
1898
  lastError: string | null;
@@ -1905,8 +1905,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1905
1905
  };
1906
1906
  newYellowGreen: {
1907
1907
  id: string;
1908
- createdAt: Date;
1909
1908
  updatedAt: Date;
1909
+ createdAt: Date;
1910
1910
  startDate: Date;
1911
1911
  lastSyncedAt: Date | null;
1912
1912
  lastError: string | null;
@@ -1922,8 +1922,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1922
1922
  spreadsheetId: string;
1923
1923
  activeWorkers: {
1924
1924
  id: string;
1925
- createdAt: Date;
1926
1925
  updatedAt: Date;
1926
+ createdAt: Date;
1927
1927
  startDate: Date;
1928
1928
  lastSyncedAt: Date | null;
1929
1929
  lastError: string | null;
@@ -1936,8 +1936,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1936
1936
  };
1937
1937
  newYellowGreen: {
1938
1938
  id: string;
1939
- createdAt: Date;
1940
1939
  updatedAt: Date;
1940
+ createdAt: Date;
1941
1941
  startDate: Date;
1942
1942
  lastSyncedAt: Date | null;
1943
1943
  lastError: string | null;
@@ -2102,8 +2102,8 @@ export declare const CheckYellowConfigSchema: z.ZodObject<{
2102
2102
  updatedAt: z.ZodDate;
2103
2103
  }, "strip", z.ZodTypeAny, {
2104
2104
  id: string;
2105
- createdAt: Date;
2106
2105
  updatedAt: Date;
2106
+ createdAt: Date;
2107
2107
  startDate: Date | null;
2108
2108
  startRow: number;
2109
2109
  enabled: boolean;
@@ -2115,8 +2115,8 @@ export declare const CheckYellowConfigSchema: z.ZodObject<{
2115
2115
  spreadsheetId: string | null;
2116
2116
  }, {
2117
2117
  id: string;
2118
- createdAt: Date;
2119
2118
  updatedAt: Date;
2119
+ createdAt: Date;
2120
2120
  startDate: Date | null;
2121
2121
  startRow: number;
2122
2122
  enabled: boolean;
@@ -2153,6 +2153,60 @@ export declare const CheckYellowResyncResponseSchema: z.ZodObject<{
2153
2153
  }, {
2154
2154
  rebuilt: number;
2155
2155
  }>;
2156
+ export declare const ActivesTodayConfigSchema: z.ZodObject<{
2157
+ id: z.ZodString;
2158
+ spreadsheetId: z.ZodNullable<z.ZodString>;
2159
+ tabName: z.ZodNullable<z.ZodString>;
2160
+ enabled: z.ZodBoolean;
2161
+ lastRowCount: z.ZodNumber;
2162
+ lastSyncedAt: z.ZodNullable<z.ZodDate>;
2163
+ lastError: z.ZodNullable<z.ZodString>;
2164
+ lastErrorAt: z.ZodNullable<z.ZodDate>;
2165
+ createdAt: z.ZodDate;
2166
+ updatedAt: z.ZodDate;
2167
+ }, "strip", z.ZodTypeAny, {
2168
+ id: string;
2169
+ updatedAt: Date;
2170
+ createdAt: Date;
2171
+ enabled: boolean;
2172
+ tabName: string | null;
2173
+ lastSyncedAt: Date | null;
2174
+ lastError: string | null;
2175
+ lastErrorAt: Date | null;
2176
+ lastRowCount: number;
2177
+ spreadsheetId: string | null;
2178
+ }, {
2179
+ id: string;
2180
+ updatedAt: Date;
2181
+ createdAt: Date;
2182
+ enabled: boolean;
2183
+ tabName: string | null;
2184
+ lastSyncedAt: Date | null;
2185
+ lastError: string | null;
2186
+ lastErrorAt: Date | null;
2187
+ lastRowCount: number;
2188
+ spreadsheetId: string | null;
2189
+ }>;
2190
+ export declare const UpdateActivesTodayConfigSchema: z.ZodObject<{
2191
+ spreadsheetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2192
+ tabName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2193
+ enabled: z.ZodOptional<z.ZodBoolean>;
2194
+ }, "strip", z.ZodTypeAny, {
2195
+ enabled?: boolean | undefined;
2196
+ tabName?: string | null | undefined;
2197
+ spreadsheetId?: string | null | undefined;
2198
+ }, {
2199
+ enabled?: boolean | undefined;
2200
+ tabName?: string | null | undefined;
2201
+ spreadsheetId?: string | null | undefined;
2202
+ }>;
2203
+ export declare const ActivesTodayResyncResponseSchema: z.ZodObject<{
2204
+ rebuilt: z.ZodNumber;
2205
+ }, "strip", z.ZodTypeAny, {
2206
+ rebuilt: number;
2207
+ }, {
2208
+ rebuilt: number;
2209
+ }>;
2156
2210
  export type TabSyncConfig = z.infer<typeof TabSyncConfigSchema>;
2157
2211
  export type TabSyncWithMeta = z.infer<typeof TabSyncWithMetaSchema>;
2158
2212
  export type SheetLinkSection = z.infer<typeof SheetLinkSectionSchema>;
@@ -2173,6 +2227,9 @@ export type SheetsSyncConfig = z.infer<typeof SheetsSyncConfigSchema>;
2173
2227
  export type CheckYellowConfig = z.infer<typeof CheckYellowConfigSchema>;
2174
2228
  export type UpdateCheckYellowConfig = z.infer<typeof UpdateCheckYellowConfigSchema>;
2175
2229
  export type CheckYellowResyncResponse = z.infer<typeof CheckYellowResyncResponseSchema>;
2230
+ export type ActivesTodayConfig = z.infer<typeof ActivesTodayConfigSchema>;
2231
+ export type UpdateActivesTodayConfig = z.infer<typeof UpdateActivesTodayConfigSchema>;
2232
+ export type ActivesTodayResyncResponse = z.infer<typeof ActivesTodayResyncResponseSchema>;
2176
2233
  export declare const sheetsSyncContract: {
2177
2234
  config: {
2178
2235
  summary: "Get sheets-sync feature config";
@@ -2429,19 +2486,19 @@ export declare const sheetsSyncContract: {
2429
2486
  sortBy: z.ZodDefault<z.ZodEnum<["createdAt", "updatedAt"]>>;
2430
2487
  sortOrder: z.ZodDefault<z.ZodEnum<["ASC", "DESC"]>>;
2431
2488
  }, "strip", z.ZodTypeAny, {
2432
- limit: number;
2433
2489
  page: number;
2434
- sortBy: "createdAt" | "updatedAt";
2490
+ limit: number;
2491
+ sortBy: "updatedAt" | "createdAt";
2435
2492
  sortOrder: "ASC" | "DESC";
2436
2493
  userId?: string | undefined;
2437
2494
  hasError?: boolean | undefined;
2438
2495
  hasFaSheet?: boolean | undefined;
2439
2496
  hasSaSheet?: boolean | undefined;
2440
2497
  }, {
2441
- limit?: number | undefined;
2442
- page?: number | undefined;
2443
2498
  userId?: string | undefined;
2444
- sortBy?: "createdAt" | "updatedAt" | undefined;
2499
+ page?: number | undefined;
2500
+ limit?: number | undefined;
2501
+ sortBy?: "updatedAt" | "createdAt" | undefined;
2445
2502
  sortOrder?: "ASC" | "DESC" | undefined;
2446
2503
  hasError?: boolean | undefined;
2447
2504
  hasFaSheet?: boolean | undefined;
@@ -2581,28 +2638,28 @@ export declare const sheetsSyncContract: {
2581
2638
  }, "strip", z.ZodTypeAny, {
2582
2639
  status: string;
2583
2640
  id: string;
2584
- firstName: string;
2641
+ roles: string[];
2585
2642
  lastName: string;
2643
+ firstName: string;
2586
2644
  phoneNumbers: {
2587
2645
  id: string;
2588
2646
  phoneNumber: string;
2589
2647
  isPrimary: boolean;
2590
2648
  description?: string | null | undefined;
2591
2649
  }[];
2592
- roles: string[];
2593
2650
  deletedAt?: string | null | undefined;
2594
2651
  }, {
2595
2652
  id: string;
2596
- firstName: string;
2597
2653
  lastName: string;
2654
+ firstName: string;
2598
2655
  status?: string | undefined;
2656
+ roles?: string[] | undefined;
2599
2657
  phoneNumbers?: {
2600
2658
  id: string;
2601
2659
  phoneNumber: string;
2602
2660
  description?: string | null | undefined;
2603
2661
  isPrimary?: boolean | undefined;
2604
2662
  }[] | undefined;
2605
- roles?: string[] | undefined;
2606
2663
  deletedAt?: string | Date | null | undefined;
2607
2664
  }>;
2608
2665
  name: z.ZodNullable<z.ZodString>;
@@ -2624,8 +2681,8 @@ export declare const sheetsSyncContract: {
2624
2681
  updatedAt: z.ZodDate;
2625
2682
  }, "strip", z.ZodTypeAny, {
2626
2683
  id: string;
2627
- createdAt: Date;
2628
2684
  updatedAt: Date;
2685
+ createdAt: Date;
2629
2686
  startDate: Date;
2630
2687
  startRow: number;
2631
2688
  enabled: boolean;
@@ -2637,8 +2694,8 @@ export declare const sheetsSyncContract: {
2637
2694
  tabName?: string | null | undefined;
2638
2695
  }, {
2639
2696
  id: string;
2640
- createdAt: Date;
2641
2697
  updatedAt: Date;
2698
+ createdAt: Date;
2642
2699
  startDate: Date;
2643
2700
  lastSyncedAt: Date | null;
2644
2701
  lastError: string | null;
@@ -2665,8 +2722,8 @@ export declare const sheetsSyncContract: {
2665
2722
  updatedAt: z.ZodDate;
2666
2723
  }, "strip", z.ZodTypeAny, {
2667
2724
  id: string;
2668
- createdAt: Date;
2669
2725
  updatedAt: Date;
2726
+ createdAt: Date;
2670
2727
  startDate: Date;
2671
2728
  startRow: number;
2672
2729
  enabled: boolean;
@@ -2678,8 +2735,8 @@ export declare const sheetsSyncContract: {
2678
2735
  tabName?: string | null | undefined;
2679
2736
  }, {
2680
2737
  id: string;
2681
- createdAt: Date;
2682
2738
  updatedAt: Date;
2739
+ createdAt: Date;
2683
2740
  startDate: Date;
2684
2741
  lastSyncedAt: Date | null;
2685
2742
  lastError: string | null;
@@ -2694,8 +2751,8 @@ export declare const sheetsSyncContract: {
2694
2751
  spreadsheetId: string;
2695
2752
  activeWorkers: {
2696
2753
  id: string;
2697
- createdAt: Date;
2698
2754
  updatedAt: Date;
2755
+ createdAt: Date;
2699
2756
  startDate: Date;
2700
2757
  startRow: number;
2701
2758
  enabled: boolean;
@@ -2708,8 +2765,8 @@ export declare const sheetsSyncContract: {
2708
2765
  };
2709
2766
  newYellowGreen: {
2710
2767
  id: string;
2711
- createdAt: Date;
2712
2768
  updatedAt: Date;
2769
+ createdAt: Date;
2713
2770
  startDate: Date;
2714
2771
  startRow: number;
2715
2772
  enabled: boolean;
@@ -2724,8 +2781,8 @@ export declare const sheetsSyncContract: {
2724
2781
  spreadsheetId: string;
2725
2782
  activeWorkers: {
2726
2783
  id: string;
2727
- createdAt: Date;
2728
2784
  updatedAt: Date;
2785
+ createdAt: Date;
2729
2786
  startDate: Date;
2730
2787
  lastSyncedAt: Date | null;
2731
2788
  lastError: string | null;
@@ -2738,8 +2795,8 @@ export declare const sheetsSyncContract: {
2738
2795
  };
2739
2796
  newYellowGreen: {
2740
2797
  id: string;
2741
- createdAt: Date;
2742
2798
  updatedAt: Date;
2799
+ createdAt: Date;
2743
2800
  startDate: Date;
2744
2801
  lastSyncedAt: Date | null;
2745
2802
  lastError: string | null;
@@ -2769,8 +2826,8 @@ export declare const sheetsSyncContract: {
2769
2826
  updatedAt: z.ZodDate;
2770
2827
  }, "strip", z.ZodTypeAny, {
2771
2828
  id: string;
2772
- createdAt: Date;
2773
2829
  updatedAt: Date;
2830
+ createdAt: Date;
2774
2831
  startDate: Date;
2775
2832
  startRow: number;
2776
2833
  enabled: boolean;
@@ -2782,8 +2839,8 @@ export declare const sheetsSyncContract: {
2782
2839
  tabName?: string | null | undefined;
2783
2840
  }, {
2784
2841
  id: string;
2785
- createdAt: Date;
2786
2842
  updatedAt: Date;
2843
+ createdAt: Date;
2787
2844
  startDate: Date;
2788
2845
  lastSyncedAt: Date | null;
2789
2846
  lastError: string | null;
@@ -2810,8 +2867,8 @@ export declare const sheetsSyncContract: {
2810
2867
  updatedAt: z.ZodDate;
2811
2868
  }, "strip", z.ZodTypeAny, {
2812
2869
  id: string;
2813
- createdAt: Date;
2814
2870
  updatedAt: Date;
2871
+ createdAt: Date;
2815
2872
  startDate: Date;
2816
2873
  startRow: number;
2817
2874
  enabled: boolean;
@@ -2823,8 +2880,8 @@ export declare const sheetsSyncContract: {
2823
2880
  tabName?: string | null | undefined;
2824
2881
  }, {
2825
2882
  id: string;
2826
- createdAt: Date;
2827
2883
  updatedAt: Date;
2884
+ createdAt: Date;
2828
2885
  startDate: Date;
2829
2886
  lastSyncedAt: Date | null;
2830
2887
  lastError: string | null;
@@ -2839,8 +2896,8 @@ export declare const sheetsSyncContract: {
2839
2896
  spreadsheetId: string;
2840
2897
  activeWorkers: {
2841
2898
  id: string;
2842
- createdAt: Date;
2843
2899
  updatedAt: Date;
2900
+ createdAt: Date;
2844
2901
  startDate: Date;
2845
2902
  startRow: number;
2846
2903
  enabled: boolean;
@@ -2853,8 +2910,8 @@ export declare const sheetsSyncContract: {
2853
2910
  };
2854
2911
  newYellowGreen: {
2855
2912
  id: string;
2856
- createdAt: Date;
2857
2913
  updatedAt: Date;
2914
+ createdAt: Date;
2858
2915
  startDate: Date;
2859
2916
  startRow: number;
2860
2917
  enabled: boolean;
@@ -2869,8 +2926,8 @@ export declare const sheetsSyncContract: {
2869
2926
  spreadsheetId: string;
2870
2927
  activeWorkers: {
2871
2928
  id: string;
2872
- createdAt: Date;
2873
2929
  updatedAt: Date;
2930
+ createdAt: Date;
2874
2931
  startDate: Date;
2875
2932
  lastSyncedAt: Date | null;
2876
2933
  lastError: string | null;
@@ -2883,8 +2940,8 @@ export declare const sheetsSyncContract: {
2883
2940
  };
2884
2941
  newYellowGreen: {
2885
2942
  id: string;
2886
- createdAt: Date;
2887
2943
  updatedAt: Date;
2944
+ createdAt: Date;
2888
2945
  startDate: Date;
2889
2946
  lastSyncedAt: Date | null;
2890
2947
  lastError: string | null;
@@ -2901,28 +2958,28 @@ export declare const sheetsSyncContract: {
2901
2958
  }, "strip", z.ZodTypeAny, {
2902
2959
  id: string;
2903
2960
  name: string | null;
2904
- createdAt: Date;
2905
2961
  updatedAt: Date;
2962
+ createdAt: Date;
2906
2963
  user: {
2907
2964
  status: string;
2908
2965
  id: string;
2909
- firstName: string;
2966
+ roles: string[];
2910
2967
  lastName: string;
2968
+ firstName: string;
2911
2969
  phoneNumbers: {
2912
2970
  id: string;
2913
2971
  phoneNumber: string;
2914
2972
  isPrimary: boolean;
2915
2973
  description?: string | null | undefined;
2916
2974
  }[];
2917
- roles: string[];
2918
2975
  deletedAt?: string | null | undefined;
2919
2976
  };
2920
2977
  fa: {
2921
2978
  spreadsheetId: string;
2922
2979
  activeWorkers: {
2923
2980
  id: string;
2924
- createdAt: Date;
2925
2981
  updatedAt: Date;
2982
+ createdAt: Date;
2926
2983
  startDate: Date;
2927
2984
  startRow: number;
2928
2985
  enabled: boolean;
@@ -2935,8 +2992,8 @@ export declare const sheetsSyncContract: {
2935
2992
  };
2936
2993
  newYellowGreen: {
2937
2994
  id: string;
2938
- createdAt: Date;
2939
2995
  updatedAt: Date;
2996
+ createdAt: Date;
2940
2997
  startDate: Date;
2941
2998
  startRow: number;
2942
2999
  enabled: boolean;
@@ -2952,8 +3009,8 @@ export declare const sheetsSyncContract: {
2952
3009
  spreadsheetId: string;
2953
3010
  activeWorkers: {
2954
3011
  id: string;
2955
- createdAt: Date;
2956
3012
  updatedAt: Date;
3013
+ createdAt: Date;
2957
3014
  startDate: Date;
2958
3015
  startRow: number;
2959
3016
  enabled: boolean;
@@ -2966,8 +3023,8 @@ export declare const sheetsSyncContract: {
2966
3023
  };
2967
3024
  newYellowGreen: {
2968
3025
  id: string;
2969
- createdAt: Date;
2970
3026
  updatedAt: Date;
3027
+ createdAt: Date;
2971
3028
  startDate: Date;
2972
3029
  startRow: number;
2973
3030
  enabled: boolean;
@@ -2982,28 +3039,28 @@ export declare const sheetsSyncContract: {
2982
3039
  }, {
2983
3040
  id: string;
2984
3041
  name: string | null;
2985
- createdAt: Date;
2986
3042
  updatedAt: Date;
3043
+ createdAt: Date;
2987
3044
  user: {
2988
3045
  id: string;
2989
- firstName: string;
2990
3046
  lastName: string;
3047
+ firstName: string;
2991
3048
  status?: string | undefined;
3049
+ roles?: string[] | undefined;
2992
3050
  phoneNumbers?: {
2993
3051
  id: string;
2994
3052
  phoneNumber: string;
2995
3053
  description?: string | null | undefined;
2996
3054
  isPrimary?: boolean | undefined;
2997
3055
  }[] | undefined;
2998
- roles?: string[] | undefined;
2999
3056
  deletedAt?: string | Date | null | undefined;
3000
3057
  };
3001
3058
  fa: {
3002
3059
  spreadsheetId: string;
3003
3060
  activeWorkers: {
3004
3061
  id: string;
3005
- createdAt: Date;
3006
3062
  updatedAt: Date;
3063
+ createdAt: Date;
3007
3064
  startDate: Date;
3008
3065
  lastSyncedAt: Date | null;
3009
3066
  lastError: string | null;
@@ -3016,8 +3073,8 @@ export declare const sheetsSyncContract: {
3016
3073
  };
3017
3074
  newYellowGreen: {
3018
3075
  id: string;
3019
- createdAt: Date;
3020
3076
  updatedAt: Date;
3077
+ createdAt: Date;
3021
3078
  startDate: Date;
3022
3079
  lastSyncedAt: Date | null;
3023
3080
  lastError: string | null;
@@ -3033,8 +3090,8 @@ export declare const sheetsSyncContract: {
3033
3090
  spreadsheetId: string;
3034
3091
  activeWorkers: {
3035
3092
  id: string;
3036
- createdAt: Date;
3037
3093
  updatedAt: Date;
3094
+ createdAt: Date;
3038
3095
  startDate: Date;
3039
3096
  lastSyncedAt: Date | null;
3040
3097
  lastError: string | null;
@@ -3047,8 +3104,8 @@ export declare const sheetsSyncContract: {
3047
3104
  };
3048
3105
  newYellowGreen: {
3049
3106
  id: string;
3050
- createdAt: Date;
3051
3107
  updatedAt: Date;
3108
+ createdAt: Date;
3052
3109
  startDate: Date;
3053
3110
  lastSyncedAt: Date | null;
3054
3111
  lastError: string | null;
@@ -3071,28 +3128,28 @@ export declare const sheetsSyncContract: {
3071
3128
  items: {
3072
3129
  id: string;
3073
3130
  name: string | null;
3074
- createdAt: Date;
3075
3131
  updatedAt: Date;
3132
+ createdAt: Date;
3076
3133
  user: {
3077
3134
  status: string;
3078
3135
  id: string;
3079
- firstName: string;
3136
+ roles: string[];
3080
3137
  lastName: string;
3138
+ firstName: string;
3081
3139
  phoneNumbers: {
3082
3140
  id: string;
3083
3141
  phoneNumber: string;
3084
3142
  isPrimary: boolean;
3085
3143
  description?: string | null | undefined;
3086
3144
  }[];
3087
- roles: string[];
3088
3145
  deletedAt?: string | null | undefined;
3089
3146
  };
3090
3147
  fa: {
3091
3148
  spreadsheetId: string;
3092
3149
  activeWorkers: {
3093
3150
  id: string;
3094
- createdAt: Date;
3095
3151
  updatedAt: Date;
3152
+ createdAt: Date;
3096
3153
  startDate: Date;
3097
3154
  startRow: number;
3098
3155
  enabled: boolean;
@@ -3105,8 +3162,8 @@ export declare const sheetsSyncContract: {
3105
3162
  };
3106
3163
  newYellowGreen: {
3107
3164
  id: string;
3108
- createdAt: Date;
3109
3165
  updatedAt: Date;
3166
+ createdAt: Date;
3110
3167
  startDate: Date;
3111
3168
  startRow: number;
3112
3169
  enabled: boolean;
@@ -3122,8 +3179,8 @@ export declare const sheetsSyncContract: {
3122
3179
  spreadsheetId: string;
3123
3180
  activeWorkers: {
3124
3181
  id: string;
3125
- createdAt: Date;
3126
3182
  updatedAt: Date;
3183
+ createdAt: Date;
3127
3184
  startDate: Date;
3128
3185
  startRow: number;
3129
3186
  enabled: boolean;
@@ -3136,8 +3193,8 @@ export declare const sheetsSyncContract: {
3136
3193
  };
3137
3194
  newYellowGreen: {
3138
3195
  id: string;
3139
- createdAt: Date;
3140
3196
  updatedAt: Date;
3197
+ createdAt: Date;
3141
3198
  startDate: Date;
3142
3199
  startRow: number;
3143
3200
  enabled: boolean;
@@ -3159,28 +3216,28 @@ export declare const sheetsSyncContract: {
3159
3216
  items: {
3160
3217
  id: string;
3161
3218
  name: string | null;
3162
- createdAt: Date;
3163
3219
  updatedAt: Date;
3220
+ createdAt: Date;
3164
3221
  user: {
3165
3222
  id: string;
3166
- firstName: string;
3167
3223
  lastName: string;
3224
+ firstName: string;
3168
3225
  status?: string | undefined;
3226
+ roles?: string[] | undefined;
3169
3227
  phoneNumbers?: {
3170
3228
  id: string;
3171
3229
  phoneNumber: string;
3172
3230
  description?: string | null | undefined;
3173
3231
  isPrimary?: boolean | undefined;
3174
3232
  }[] | undefined;
3175
- roles?: string[] | undefined;
3176
3233
  deletedAt?: string | Date | null | undefined;
3177
3234
  };
3178
3235
  fa: {
3179
3236
  spreadsheetId: string;
3180
3237
  activeWorkers: {
3181
3238
  id: string;
3182
- createdAt: Date;
3183
3239
  updatedAt: Date;
3240
+ createdAt: Date;
3184
3241
  startDate: Date;
3185
3242
  lastSyncedAt: Date | null;
3186
3243
  lastError: string | null;
@@ -3193,8 +3250,8 @@ export declare const sheetsSyncContract: {
3193
3250
  };
3194
3251
  newYellowGreen: {
3195
3252
  id: string;
3196
- createdAt: Date;
3197
3253
  updatedAt: Date;
3254
+ createdAt: Date;
3198
3255
  startDate: Date;
3199
3256
  lastSyncedAt: Date | null;
3200
3257
  lastError: string | null;
@@ -3210,8 +3267,8 @@ export declare const sheetsSyncContract: {
3210
3267
  spreadsheetId: string;
3211
3268
  activeWorkers: {
3212
3269
  id: string;
3213
- createdAt: Date;
3214
3270
  updatedAt: Date;
3271
+ createdAt: Date;
3215
3272
  startDate: Date;
3216
3273
  lastSyncedAt: Date | null;
3217
3274
  lastError: string | null;
@@ -3224,8 +3281,8 @@ export declare const sheetsSyncContract: {
3224
3281
  };
3225
3282
  newYellowGreen: {
3226
3283
  id: string;
3227
- createdAt: Date;
3228
3284
  updatedAt: Date;
3285
+ createdAt: Date;
3229
3286
  startDate: Date;
3230
3287
  lastSyncedAt: Date | null;
3231
3288
  lastError: string | null;
@@ -3798,28 +3855,28 @@ export declare const sheetsSyncContract: {
3798
3855
  }, "strip", z.ZodTypeAny, {
3799
3856
  status: string;
3800
3857
  id: string;
3801
- firstName: string;
3858
+ roles: string[];
3802
3859
  lastName: string;
3860
+ firstName: string;
3803
3861
  phoneNumbers: {
3804
3862
  id: string;
3805
3863
  phoneNumber: string;
3806
3864
  isPrimary: boolean;
3807
3865
  description?: string | null | undefined;
3808
3866
  }[];
3809
- roles: string[];
3810
3867
  deletedAt?: string | null | undefined;
3811
3868
  }, {
3812
3869
  id: string;
3813
- firstName: string;
3814
3870
  lastName: string;
3871
+ firstName: string;
3815
3872
  status?: string | undefined;
3873
+ roles?: string[] | undefined;
3816
3874
  phoneNumbers?: {
3817
3875
  id: string;
3818
3876
  phoneNumber: string;
3819
3877
  description?: string | null | undefined;
3820
3878
  isPrimary?: boolean | undefined;
3821
3879
  }[] | undefined;
3822
- roles?: string[] | undefined;
3823
3880
  deletedAt?: string | Date | null | undefined;
3824
3881
  }>;
3825
3882
  name: z.ZodNullable<z.ZodString>;
@@ -3841,8 +3898,8 @@ export declare const sheetsSyncContract: {
3841
3898
  updatedAt: z.ZodDate;
3842
3899
  }, "strip", z.ZodTypeAny, {
3843
3900
  id: string;
3844
- createdAt: Date;
3845
3901
  updatedAt: Date;
3902
+ createdAt: Date;
3846
3903
  startDate: Date;
3847
3904
  startRow: number;
3848
3905
  enabled: boolean;
@@ -3854,8 +3911,8 @@ export declare const sheetsSyncContract: {
3854
3911
  tabName?: string | null | undefined;
3855
3912
  }, {
3856
3913
  id: string;
3857
- createdAt: Date;
3858
3914
  updatedAt: Date;
3915
+ createdAt: Date;
3859
3916
  startDate: Date;
3860
3917
  lastSyncedAt: Date | null;
3861
3918
  lastError: string | null;
@@ -3882,8 +3939,8 @@ export declare const sheetsSyncContract: {
3882
3939
  updatedAt: z.ZodDate;
3883
3940
  }, "strip", z.ZodTypeAny, {
3884
3941
  id: string;
3885
- createdAt: Date;
3886
3942
  updatedAt: Date;
3943
+ createdAt: Date;
3887
3944
  startDate: Date;
3888
3945
  startRow: number;
3889
3946
  enabled: boolean;
@@ -3895,8 +3952,8 @@ export declare const sheetsSyncContract: {
3895
3952
  tabName?: string | null | undefined;
3896
3953
  }, {
3897
3954
  id: string;
3898
- createdAt: Date;
3899
3955
  updatedAt: Date;
3956
+ createdAt: Date;
3900
3957
  startDate: Date;
3901
3958
  lastSyncedAt: Date | null;
3902
3959
  lastError: string | null;
@@ -3911,8 +3968,8 @@ export declare const sheetsSyncContract: {
3911
3968
  spreadsheetId: string;
3912
3969
  activeWorkers: {
3913
3970
  id: string;
3914
- createdAt: Date;
3915
3971
  updatedAt: Date;
3972
+ createdAt: Date;
3916
3973
  startDate: Date;
3917
3974
  startRow: number;
3918
3975
  enabled: boolean;
@@ -3925,8 +3982,8 @@ export declare const sheetsSyncContract: {
3925
3982
  };
3926
3983
  newYellowGreen: {
3927
3984
  id: string;
3928
- createdAt: Date;
3929
3985
  updatedAt: Date;
3986
+ createdAt: Date;
3930
3987
  startDate: Date;
3931
3988
  startRow: number;
3932
3989
  enabled: boolean;
@@ -3941,8 +3998,8 @@ export declare const sheetsSyncContract: {
3941
3998
  spreadsheetId: string;
3942
3999
  activeWorkers: {
3943
4000
  id: string;
3944
- createdAt: Date;
3945
4001
  updatedAt: Date;
4002
+ createdAt: Date;
3946
4003
  startDate: Date;
3947
4004
  lastSyncedAt: Date | null;
3948
4005
  lastError: string | null;
@@ -3955,8 +4012,8 @@ export declare const sheetsSyncContract: {
3955
4012
  };
3956
4013
  newYellowGreen: {
3957
4014
  id: string;
3958
- createdAt: Date;
3959
4015
  updatedAt: Date;
4016
+ createdAt: Date;
3960
4017
  startDate: Date;
3961
4018
  lastSyncedAt: Date | null;
3962
4019
  lastError: string | null;
@@ -3986,8 +4043,8 @@ export declare const sheetsSyncContract: {
3986
4043
  updatedAt: z.ZodDate;
3987
4044
  }, "strip", z.ZodTypeAny, {
3988
4045
  id: string;
3989
- createdAt: Date;
3990
4046
  updatedAt: Date;
4047
+ createdAt: Date;
3991
4048
  startDate: Date;
3992
4049
  startRow: number;
3993
4050
  enabled: boolean;
@@ -3999,8 +4056,8 @@ export declare const sheetsSyncContract: {
3999
4056
  tabName?: string | null | undefined;
4000
4057
  }, {
4001
4058
  id: string;
4002
- createdAt: Date;
4003
4059
  updatedAt: Date;
4060
+ createdAt: Date;
4004
4061
  startDate: Date;
4005
4062
  lastSyncedAt: Date | null;
4006
4063
  lastError: string | null;
@@ -4027,8 +4084,8 @@ export declare const sheetsSyncContract: {
4027
4084
  updatedAt: z.ZodDate;
4028
4085
  }, "strip", z.ZodTypeAny, {
4029
4086
  id: string;
4030
- createdAt: Date;
4031
4087
  updatedAt: Date;
4088
+ createdAt: Date;
4032
4089
  startDate: Date;
4033
4090
  startRow: number;
4034
4091
  enabled: boolean;
@@ -4040,8 +4097,8 @@ export declare const sheetsSyncContract: {
4040
4097
  tabName?: string | null | undefined;
4041
4098
  }, {
4042
4099
  id: string;
4043
- createdAt: Date;
4044
4100
  updatedAt: Date;
4101
+ createdAt: Date;
4045
4102
  startDate: Date;
4046
4103
  lastSyncedAt: Date | null;
4047
4104
  lastError: string | null;
@@ -4056,8 +4113,8 @@ export declare const sheetsSyncContract: {
4056
4113
  spreadsheetId: string;
4057
4114
  activeWorkers: {
4058
4115
  id: string;
4059
- createdAt: Date;
4060
4116
  updatedAt: Date;
4117
+ createdAt: Date;
4061
4118
  startDate: Date;
4062
4119
  startRow: number;
4063
4120
  enabled: boolean;
@@ -4070,8 +4127,8 @@ export declare const sheetsSyncContract: {
4070
4127
  };
4071
4128
  newYellowGreen: {
4072
4129
  id: string;
4073
- createdAt: Date;
4074
4130
  updatedAt: Date;
4131
+ createdAt: Date;
4075
4132
  startDate: Date;
4076
4133
  startRow: number;
4077
4134
  enabled: boolean;
@@ -4086,8 +4143,8 @@ export declare const sheetsSyncContract: {
4086
4143
  spreadsheetId: string;
4087
4144
  activeWorkers: {
4088
4145
  id: string;
4089
- createdAt: Date;
4090
4146
  updatedAt: Date;
4147
+ createdAt: Date;
4091
4148
  startDate: Date;
4092
4149
  lastSyncedAt: Date | null;
4093
4150
  lastError: string | null;
@@ -4100,8 +4157,8 @@ export declare const sheetsSyncContract: {
4100
4157
  };
4101
4158
  newYellowGreen: {
4102
4159
  id: string;
4103
- createdAt: Date;
4104
4160
  updatedAt: Date;
4161
+ createdAt: Date;
4105
4162
  startDate: Date;
4106
4163
  lastSyncedAt: Date | null;
4107
4164
  lastError: string | null;
@@ -4118,28 +4175,28 @@ export declare const sheetsSyncContract: {
4118
4175
  }, "strip", z.ZodTypeAny, {
4119
4176
  id: string;
4120
4177
  name: string | null;
4121
- createdAt: Date;
4122
4178
  updatedAt: Date;
4179
+ createdAt: Date;
4123
4180
  user: {
4124
4181
  status: string;
4125
4182
  id: string;
4126
- firstName: string;
4183
+ roles: string[];
4127
4184
  lastName: string;
4185
+ firstName: string;
4128
4186
  phoneNumbers: {
4129
4187
  id: string;
4130
4188
  phoneNumber: string;
4131
4189
  isPrimary: boolean;
4132
4190
  description?: string | null | undefined;
4133
4191
  }[];
4134
- roles: string[];
4135
4192
  deletedAt?: string | null | undefined;
4136
4193
  };
4137
4194
  fa: {
4138
4195
  spreadsheetId: string;
4139
4196
  activeWorkers: {
4140
4197
  id: string;
4141
- createdAt: Date;
4142
4198
  updatedAt: Date;
4199
+ createdAt: Date;
4143
4200
  startDate: Date;
4144
4201
  startRow: number;
4145
4202
  enabled: boolean;
@@ -4152,8 +4209,8 @@ export declare const sheetsSyncContract: {
4152
4209
  };
4153
4210
  newYellowGreen: {
4154
4211
  id: string;
4155
- createdAt: Date;
4156
4212
  updatedAt: Date;
4213
+ createdAt: Date;
4157
4214
  startDate: Date;
4158
4215
  startRow: number;
4159
4216
  enabled: boolean;
@@ -4169,8 +4226,8 @@ export declare const sheetsSyncContract: {
4169
4226
  spreadsheetId: string;
4170
4227
  activeWorkers: {
4171
4228
  id: string;
4172
- createdAt: Date;
4173
4229
  updatedAt: Date;
4230
+ createdAt: Date;
4174
4231
  startDate: Date;
4175
4232
  startRow: number;
4176
4233
  enabled: boolean;
@@ -4183,8 +4240,8 @@ export declare const sheetsSyncContract: {
4183
4240
  };
4184
4241
  newYellowGreen: {
4185
4242
  id: string;
4186
- createdAt: Date;
4187
4243
  updatedAt: Date;
4244
+ createdAt: Date;
4188
4245
  startDate: Date;
4189
4246
  startRow: number;
4190
4247
  enabled: boolean;
@@ -4199,28 +4256,28 @@ export declare const sheetsSyncContract: {
4199
4256
  }, {
4200
4257
  id: string;
4201
4258
  name: string | null;
4202
- createdAt: Date;
4203
4259
  updatedAt: Date;
4260
+ createdAt: Date;
4204
4261
  user: {
4205
4262
  id: string;
4206
- firstName: string;
4207
4263
  lastName: string;
4264
+ firstName: string;
4208
4265
  status?: string | undefined;
4266
+ roles?: string[] | undefined;
4209
4267
  phoneNumbers?: {
4210
4268
  id: string;
4211
4269
  phoneNumber: string;
4212
4270
  description?: string | null | undefined;
4213
4271
  isPrimary?: boolean | undefined;
4214
4272
  }[] | undefined;
4215
- roles?: string[] | undefined;
4216
4273
  deletedAt?: string | Date | null | undefined;
4217
4274
  };
4218
4275
  fa: {
4219
4276
  spreadsheetId: string;
4220
4277
  activeWorkers: {
4221
4278
  id: string;
4222
- createdAt: Date;
4223
4279
  updatedAt: Date;
4280
+ createdAt: Date;
4224
4281
  startDate: Date;
4225
4282
  lastSyncedAt: Date | null;
4226
4283
  lastError: string | null;
@@ -4233,8 +4290,8 @@ export declare const sheetsSyncContract: {
4233
4290
  };
4234
4291
  newYellowGreen: {
4235
4292
  id: string;
4236
- createdAt: Date;
4237
4293
  updatedAt: Date;
4294
+ createdAt: Date;
4238
4295
  startDate: Date;
4239
4296
  lastSyncedAt: Date | null;
4240
4297
  lastError: string | null;
@@ -4250,8 +4307,8 @@ export declare const sheetsSyncContract: {
4250
4307
  spreadsheetId: string;
4251
4308
  activeWorkers: {
4252
4309
  id: string;
4253
- createdAt: Date;
4254
4310
  updatedAt: Date;
4311
+ createdAt: Date;
4255
4312
  startDate: Date;
4256
4313
  lastSyncedAt: Date | null;
4257
4314
  lastError: string | null;
@@ -4264,8 +4321,8 @@ export declare const sheetsSyncContract: {
4264
4321
  };
4265
4322
  newYellowGreen: {
4266
4323
  id: string;
4267
- createdAt: Date;
4268
4324
  updatedAt: Date;
4325
+ createdAt: Date;
4269
4326
  startDate: Date;
4270
4327
  lastSyncedAt: Date | null;
4271
4328
  lastError: string | null;
@@ -4660,28 +4717,28 @@ export declare const sheetsSyncContract: {
4660
4717
  }, "strip", z.ZodTypeAny, {
4661
4718
  status: string;
4662
4719
  id: string;
4663
- firstName: string;
4720
+ roles: string[];
4664
4721
  lastName: string;
4722
+ firstName: string;
4665
4723
  phoneNumbers: {
4666
4724
  id: string;
4667
4725
  phoneNumber: string;
4668
4726
  isPrimary: boolean;
4669
4727
  description?: string | null | undefined;
4670
4728
  }[];
4671
- roles: string[];
4672
4729
  deletedAt?: string | null | undefined;
4673
4730
  }, {
4674
4731
  id: string;
4675
- firstName: string;
4676
4732
  lastName: string;
4733
+ firstName: string;
4677
4734
  status?: string | undefined;
4735
+ roles?: string[] | undefined;
4678
4736
  phoneNumbers?: {
4679
4737
  id: string;
4680
4738
  phoneNumber: string;
4681
4739
  description?: string | null | undefined;
4682
4740
  isPrimary?: boolean | undefined;
4683
4741
  }[] | undefined;
4684
- roles?: string[] | undefined;
4685
4742
  deletedAt?: string | Date | null | undefined;
4686
4743
  }>;
4687
4744
  name: z.ZodNullable<z.ZodString>;
@@ -4703,8 +4760,8 @@ export declare const sheetsSyncContract: {
4703
4760
  updatedAt: z.ZodDate;
4704
4761
  }, "strip", z.ZodTypeAny, {
4705
4762
  id: string;
4706
- createdAt: Date;
4707
4763
  updatedAt: Date;
4764
+ createdAt: Date;
4708
4765
  startDate: Date;
4709
4766
  startRow: number;
4710
4767
  enabled: boolean;
@@ -4716,8 +4773,8 @@ export declare const sheetsSyncContract: {
4716
4773
  tabName?: string | null | undefined;
4717
4774
  }, {
4718
4775
  id: string;
4719
- createdAt: Date;
4720
4776
  updatedAt: Date;
4777
+ createdAt: Date;
4721
4778
  startDate: Date;
4722
4779
  lastSyncedAt: Date | null;
4723
4780
  lastError: string | null;
@@ -4744,8 +4801,8 @@ export declare const sheetsSyncContract: {
4744
4801
  updatedAt: z.ZodDate;
4745
4802
  }, "strip", z.ZodTypeAny, {
4746
4803
  id: string;
4747
- createdAt: Date;
4748
4804
  updatedAt: Date;
4805
+ createdAt: Date;
4749
4806
  startDate: Date;
4750
4807
  startRow: number;
4751
4808
  enabled: boolean;
@@ -4757,8 +4814,8 @@ export declare const sheetsSyncContract: {
4757
4814
  tabName?: string | null | undefined;
4758
4815
  }, {
4759
4816
  id: string;
4760
- createdAt: Date;
4761
4817
  updatedAt: Date;
4818
+ createdAt: Date;
4762
4819
  startDate: Date;
4763
4820
  lastSyncedAt: Date | null;
4764
4821
  lastError: string | null;
@@ -4773,8 +4830,8 @@ export declare const sheetsSyncContract: {
4773
4830
  spreadsheetId: string;
4774
4831
  activeWorkers: {
4775
4832
  id: string;
4776
- createdAt: Date;
4777
4833
  updatedAt: Date;
4834
+ createdAt: Date;
4778
4835
  startDate: Date;
4779
4836
  startRow: number;
4780
4837
  enabled: boolean;
@@ -4787,8 +4844,8 @@ export declare const sheetsSyncContract: {
4787
4844
  };
4788
4845
  newYellowGreen: {
4789
4846
  id: string;
4790
- createdAt: Date;
4791
4847
  updatedAt: Date;
4848
+ createdAt: Date;
4792
4849
  startDate: Date;
4793
4850
  startRow: number;
4794
4851
  enabled: boolean;
@@ -4803,8 +4860,8 @@ export declare const sheetsSyncContract: {
4803
4860
  spreadsheetId: string;
4804
4861
  activeWorkers: {
4805
4862
  id: string;
4806
- createdAt: Date;
4807
4863
  updatedAt: Date;
4864
+ createdAt: Date;
4808
4865
  startDate: Date;
4809
4866
  lastSyncedAt: Date | null;
4810
4867
  lastError: string | null;
@@ -4817,8 +4874,8 @@ export declare const sheetsSyncContract: {
4817
4874
  };
4818
4875
  newYellowGreen: {
4819
4876
  id: string;
4820
- createdAt: Date;
4821
4877
  updatedAt: Date;
4878
+ createdAt: Date;
4822
4879
  startDate: Date;
4823
4880
  lastSyncedAt: Date | null;
4824
4881
  lastError: string | null;
@@ -4848,8 +4905,8 @@ export declare const sheetsSyncContract: {
4848
4905
  updatedAt: z.ZodDate;
4849
4906
  }, "strip", z.ZodTypeAny, {
4850
4907
  id: string;
4851
- createdAt: Date;
4852
4908
  updatedAt: Date;
4909
+ createdAt: Date;
4853
4910
  startDate: Date;
4854
4911
  startRow: number;
4855
4912
  enabled: boolean;
@@ -4861,8 +4918,8 @@ export declare const sheetsSyncContract: {
4861
4918
  tabName?: string | null | undefined;
4862
4919
  }, {
4863
4920
  id: string;
4864
- createdAt: Date;
4865
4921
  updatedAt: Date;
4922
+ createdAt: Date;
4866
4923
  startDate: Date;
4867
4924
  lastSyncedAt: Date | null;
4868
4925
  lastError: string | null;
@@ -4889,8 +4946,8 @@ export declare const sheetsSyncContract: {
4889
4946
  updatedAt: z.ZodDate;
4890
4947
  }, "strip", z.ZodTypeAny, {
4891
4948
  id: string;
4892
- createdAt: Date;
4893
4949
  updatedAt: Date;
4950
+ createdAt: Date;
4894
4951
  startDate: Date;
4895
4952
  startRow: number;
4896
4953
  enabled: boolean;
@@ -4902,8 +4959,8 @@ export declare const sheetsSyncContract: {
4902
4959
  tabName?: string | null | undefined;
4903
4960
  }, {
4904
4961
  id: string;
4905
- createdAt: Date;
4906
4962
  updatedAt: Date;
4963
+ createdAt: Date;
4907
4964
  startDate: Date;
4908
4965
  lastSyncedAt: Date | null;
4909
4966
  lastError: string | null;
@@ -4918,8 +4975,8 @@ export declare const sheetsSyncContract: {
4918
4975
  spreadsheetId: string;
4919
4976
  activeWorkers: {
4920
4977
  id: string;
4921
- createdAt: Date;
4922
4978
  updatedAt: Date;
4979
+ createdAt: Date;
4923
4980
  startDate: Date;
4924
4981
  startRow: number;
4925
4982
  enabled: boolean;
@@ -4932,8 +4989,8 @@ export declare const sheetsSyncContract: {
4932
4989
  };
4933
4990
  newYellowGreen: {
4934
4991
  id: string;
4935
- createdAt: Date;
4936
4992
  updatedAt: Date;
4993
+ createdAt: Date;
4937
4994
  startDate: Date;
4938
4995
  startRow: number;
4939
4996
  enabled: boolean;
@@ -4948,8 +5005,8 @@ export declare const sheetsSyncContract: {
4948
5005
  spreadsheetId: string;
4949
5006
  activeWorkers: {
4950
5007
  id: string;
4951
- createdAt: Date;
4952
5008
  updatedAt: Date;
5009
+ createdAt: Date;
4953
5010
  startDate: Date;
4954
5011
  lastSyncedAt: Date | null;
4955
5012
  lastError: string | null;
@@ -4962,8 +5019,8 @@ export declare const sheetsSyncContract: {
4962
5019
  };
4963
5020
  newYellowGreen: {
4964
5021
  id: string;
4965
- createdAt: Date;
4966
5022
  updatedAt: Date;
5023
+ createdAt: Date;
4967
5024
  startDate: Date;
4968
5025
  lastSyncedAt: Date | null;
4969
5026
  lastError: string | null;
@@ -4980,28 +5037,28 @@ export declare const sheetsSyncContract: {
4980
5037
  }, "strip", z.ZodTypeAny, {
4981
5038
  id: string;
4982
5039
  name: string | null;
4983
- createdAt: Date;
4984
5040
  updatedAt: Date;
5041
+ createdAt: Date;
4985
5042
  user: {
4986
5043
  status: string;
4987
5044
  id: string;
4988
- firstName: string;
5045
+ roles: string[];
4989
5046
  lastName: string;
5047
+ firstName: string;
4990
5048
  phoneNumbers: {
4991
5049
  id: string;
4992
5050
  phoneNumber: string;
4993
5051
  isPrimary: boolean;
4994
5052
  description?: string | null | undefined;
4995
5053
  }[];
4996
- roles: string[];
4997
5054
  deletedAt?: string | null | undefined;
4998
5055
  };
4999
5056
  fa: {
5000
5057
  spreadsheetId: string;
5001
5058
  activeWorkers: {
5002
5059
  id: string;
5003
- createdAt: Date;
5004
5060
  updatedAt: Date;
5061
+ createdAt: Date;
5005
5062
  startDate: Date;
5006
5063
  startRow: number;
5007
5064
  enabled: boolean;
@@ -5014,8 +5071,8 @@ export declare const sheetsSyncContract: {
5014
5071
  };
5015
5072
  newYellowGreen: {
5016
5073
  id: string;
5017
- createdAt: Date;
5018
5074
  updatedAt: Date;
5075
+ createdAt: Date;
5019
5076
  startDate: Date;
5020
5077
  startRow: number;
5021
5078
  enabled: boolean;
@@ -5031,8 +5088,8 @@ export declare const sheetsSyncContract: {
5031
5088
  spreadsheetId: string;
5032
5089
  activeWorkers: {
5033
5090
  id: string;
5034
- createdAt: Date;
5035
5091
  updatedAt: Date;
5092
+ createdAt: Date;
5036
5093
  startDate: Date;
5037
5094
  startRow: number;
5038
5095
  enabled: boolean;
@@ -5045,8 +5102,8 @@ export declare const sheetsSyncContract: {
5045
5102
  };
5046
5103
  newYellowGreen: {
5047
5104
  id: string;
5048
- createdAt: Date;
5049
5105
  updatedAt: Date;
5106
+ createdAt: Date;
5050
5107
  startDate: Date;
5051
5108
  startRow: number;
5052
5109
  enabled: boolean;
@@ -5061,28 +5118,28 @@ export declare const sheetsSyncContract: {
5061
5118
  }, {
5062
5119
  id: string;
5063
5120
  name: string | null;
5064
- createdAt: Date;
5065
5121
  updatedAt: Date;
5122
+ createdAt: Date;
5066
5123
  user: {
5067
5124
  id: string;
5068
- firstName: string;
5069
5125
  lastName: string;
5126
+ firstName: string;
5070
5127
  status?: string | undefined;
5128
+ roles?: string[] | undefined;
5071
5129
  phoneNumbers?: {
5072
5130
  id: string;
5073
5131
  phoneNumber: string;
5074
5132
  description?: string | null | undefined;
5075
5133
  isPrimary?: boolean | undefined;
5076
5134
  }[] | undefined;
5077
- roles?: string[] | undefined;
5078
5135
  deletedAt?: string | Date | null | undefined;
5079
5136
  };
5080
5137
  fa: {
5081
5138
  spreadsheetId: string;
5082
5139
  activeWorkers: {
5083
5140
  id: string;
5084
- createdAt: Date;
5085
5141
  updatedAt: Date;
5142
+ createdAt: Date;
5086
5143
  startDate: Date;
5087
5144
  lastSyncedAt: Date | null;
5088
5145
  lastError: string | null;
@@ -5095,8 +5152,8 @@ export declare const sheetsSyncContract: {
5095
5152
  };
5096
5153
  newYellowGreen: {
5097
5154
  id: string;
5098
- createdAt: Date;
5099
5155
  updatedAt: Date;
5156
+ createdAt: Date;
5100
5157
  startDate: Date;
5101
5158
  lastSyncedAt: Date | null;
5102
5159
  lastError: string | null;
@@ -5112,8 +5169,8 @@ export declare const sheetsSyncContract: {
5112
5169
  spreadsheetId: string;
5113
5170
  activeWorkers: {
5114
5171
  id: string;
5115
- createdAt: Date;
5116
5172
  updatedAt: Date;
5173
+ createdAt: Date;
5117
5174
  startDate: Date;
5118
5175
  lastSyncedAt: Date | null;
5119
5176
  lastError: string | null;
@@ -5126,8 +5183,8 @@ export declare const sheetsSyncContract: {
5126
5183
  };
5127
5184
  newYellowGreen: {
5128
5185
  id: string;
5129
- createdAt: Date;
5130
5186
  updatedAt: Date;
5187
+ createdAt: Date;
5131
5188
  startDate: Date;
5132
5189
  lastSyncedAt: Date | null;
5133
5190
  lastError: string | null;
@@ -5551,28 +5608,28 @@ export declare const sheetsSyncContract: {
5551
5608
  }, "strip", z.ZodTypeAny, {
5552
5609
  status: string;
5553
5610
  id: string;
5554
- firstName: string;
5611
+ roles: string[];
5555
5612
  lastName: string;
5613
+ firstName: string;
5556
5614
  phoneNumbers: {
5557
5615
  id: string;
5558
5616
  phoneNumber: string;
5559
5617
  isPrimary: boolean;
5560
5618
  description?: string | null | undefined;
5561
5619
  }[];
5562
- roles: string[];
5563
5620
  deletedAt?: string | null | undefined;
5564
5621
  }, {
5565
5622
  id: string;
5566
- firstName: string;
5567
5623
  lastName: string;
5624
+ firstName: string;
5568
5625
  status?: string | undefined;
5626
+ roles?: string[] | undefined;
5569
5627
  phoneNumbers?: {
5570
5628
  id: string;
5571
5629
  phoneNumber: string;
5572
5630
  description?: string | null | undefined;
5573
5631
  isPrimary?: boolean | undefined;
5574
5632
  }[] | undefined;
5575
- roles?: string[] | undefined;
5576
5633
  deletedAt?: string | Date | null | undefined;
5577
5634
  }>;
5578
5635
  name: z.ZodNullable<z.ZodString>;
@@ -5594,8 +5651,8 @@ export declare const sheetsSyncContract: {
5594
5651
  updatedAt: z.ZodDate;
5595
5652
  }, "strip", z.ZodTypeAny, {
5596
5653
  id: string;
5597
- createdAt: Date;
5598
5654
  updatedAt: Date;
5655
+ createdAt: Date;
5599
5656
  startDate: Date;
5600
5657
  startRow: number;
5601
5658
  enabled: boolean;
@@ -5607,8 +5664,8 @@ export declare const sheetsSyncContract: {
5607
5664
  tabName?: string | null | undefined;
5608
5665
  }, {
5609
5666
  id: string;
5610
- createdAt: Date;
5611
5667
  updatedAt: Date;
5668
+ createdAt: Date;
5612
5669
  startDate: Date;
5613
5670
  lastSyncedAt: Date | null;
5614
5671
  lastError: string | null;
@@ -5635,8 +5692,8 @@ export declare const sheetsSyncContract: {
5635
5692
  updatedAt: z.ZodDate;
5636
5693
  }, "strip", z.ZodTypeAny, {
5637
5694
  id: string;
5638
- createdAt: Date;
5639
5695
  updatedAt: Date;
5696
+ createdAt: Date;
5640
5697
  startDate: Date;
5641
5698
  startRow: number;
5642
5699
  enabled: boolean;
@@ -5648,8 +5705,8 @@ export declare const sheetsSyncContract: {
5648
5705
  tabName?: string | null | undefined;
5649
5706
  }, {
5650
5707
  id: string;
5651
- createdAt: Date;
5652
5708
  updatedAt: Date;
5709
+ createdAt: Date;
5653
5710
  startDate: Date;
5654
5711
  lastSyncedAt: Date | null;
5655
5712
  lastError: string | null;
@@ -5664,8 +5721,8 @@ export declare const sheetsSyncContract: {
5664
5721
  spreadsheetId: string;
5665
5722
  activeWorkers: {
5666
5723
  id: string;
5667
- createdAt: Date;
5668
5724
  updatedAt: Date;
5725
+ createdAt: Date;
5669
5726
  startDate: Date;
5670
5727
  startRow: number;
5671
5728
  enabled: boolean;
@@ -5678,8 +5735,8 @@ export declare const sheetsSyncContract: {
5678
5735
  };
5679
5736
  newYellowGreen: {
5680
5737
  id: string;
5681
- createdAt: Date;
5682
5738
  updatedAt: Date;
5739
+ createdAt: Date;
5683
5740
  startDate: Date;
5684
5741
  startRow: number;
5685
5742
  enabled: boolean;
@@ -5694,8 +5751,8 @@ export declare const sheetsSyncContract: {
5694
5751
  spreadsheetId: string;
5695
5752
  activeWorkers: {
5696
5753
  id: string;
5697
- createdAt: Date;
5698
5754
  updatedAt: Date;
5755
+ createdAt: Date;
5699
5756
  startDate: Date;
5700
5757
  lastSyncedAt: Date | null;
5701
5758
  lastError: string | null;
@@ -5708,8 +5765,8 @@ export declare const sheetsSyncContract: {
5708
5765
  };
5709
5766
  newYellowGreen: {
5710
5767
  id: string;
5711
- createdAt: Date;
5712
5768
  updatedAt: Date;
5769
+ createdAt: Date;
5713
5770
  startDate: Date;
5714
5771
  lastSyncedAt: Date | null;
5715
5772
  lastError: string | null;
@@ -5739,8 +5796,8 @@ export declare const sheetsSyncContract: {
5739
5796
  updatedAt: z.ZodDate;
5740
5797
  }, "strip", z.ZodTypeAny, {
5741
5798
  id: string;
5742
- createdAt: Date;
5743
5799
  updatedAt: Date;
5800
+ createdAt: Date;
5744
5801
  startDate: Date;
5745
5802
  startRow: number;
5746
5803
  enabled: boolean;
@@ -5752,8 +5809,8 @@ export declare const sheetsSyncContract: {
5752
5809
  tabName?: string | null | undefined;
5753
5810
  }, {
5754
5811
  id: string;
5755
- createdAt: Date;
5756
5812
  updatedAt: Date;
5813
+ createdAt: Date;
5757
5814
  startDate: Date;
5758
5815
  lastSyncedAt: Date | null;
5759
5816
  lastError: string | null;
@@ -5780,8 +5837,8 @@ export declare const sheetsSyncContract: {
5780
5837
  updatedAt: z.ZodDate;
5781
5838
  }, "strip", z.ZodTypeAny, {
5782
5839
  id: string;
5783
- createdAt: Date;
5784
5840
  updatedAt: Date;
5841
+ createdAt: Date;
5785
5842
  startDate: Date;
5786
5843
  startRow: number;
5787
5844
  enabled: boolean;
@@ -5793,8 +5850,8 @@ export declare const sheetsSyncContract: {
5793
5850
  tabName?: string | null | undefined;
5794
5851
  }, {
5795
5852
  id: string;
5796
- createdAt: Date;
5797
5853
  updatedAt: Date;
5854
+ createdAt: Date;
5798
5855
  startDate: Date;
5799
5856
  lastSyncedAt: Date | null;
5800
5857
  lastError: string | null;
@@ -5809,8 +5866,8 @@ export declare const sheetsSyncContract: {
5809
5866
  spreadsheetId: string;
5810
5867
  activeWorkers: {
5811
5868
  id: string;
5812
- createdAt: Date;
5813
5869
  updatedAt: Date;
5870
+ createdAt: Date;
5814
5871
  startDate: Date;
5815
5872
  startRow: number;
5816
5873
  enabled: boolean;
@@ -5823,8 +5880,8 @@ export declare const sheetsSyncContract: {
5823
5880
  };
5824
5881
  newYellowGreen: {
5825
5882
  id: string;
5826
- createdAt: Date;
5827
5883
  updatedAt: Date;
5884
+ createdAt: Date;
5828
5885
  startDate: Date;
5829
5886
  startRow: number;
5830
5887
  enabled: boolean;
@@ -5839,8 +5896,8 @@ export declare const sheetsSyncContract: {
5839
5896
  spreadsheetId: string;
5840
5897
  activeWorkers: {
5841
5898
  id: string;
5842
- createdAt: Date;
5843
5899
  updatedAt: Date;
5900
+ createdAt: Date;
5844
5901
  startDate: Date;
5845
5902
  lastSyncedAt: Date | null;
5846
5903
  lastError: string | null;
@@ -5853,8 +5910,8 @@ export declare const sheetsSyncContract: {
5853
5910
  };
5854
5911
  newYellowGreen: {
5855
5912
  id: string;
5856
- createdAt: Date;
5857
5913
  updatedAt: Date;
5914
+ createdAt: Date;
5858
5915
  startDate: Date;
5859
5916
  lastSyncedAt: Date | null;
5860
5917
  lastError: string | null;
@@ -5871,28 +5928,28 @@ export declare const sheetsSyncContract: {
5871
5928
  }, "strip", z.ZodTypeAny, {
5872
5929
  id: string;
5873
5930
  name: string | null;
5874
- createdAt: Date;
5875
5931
  updatedAt: Date;
5932
+ createdAt: Date;
5876
5933
  user: {
5877
5934
  status: string;
5878
5935
  id: string;
5879
- firstName: string;
5936
+ roles: string[];
5880
5937
  lastName: string;
5938
+ firstName: string;
5881
5939
  phoneNumbers: {
5882
5940
  id: string;
5883
5941
  phoneNumber: string;
5884
5942
  isPrimary: boolean;
5885
5943
  description?: string | null | undefined;
5886
5944
  }[];
5887
- roles: string[];
5888
5945
  deletedAt?: string | null | undefined;
5889
5946
  };
5890
5947
  fa: {
5891
5948
  spreadsheetId: string;
5892
5949
  activeWorkers: {
5893
5950
  id: string;
5894
- createdAt: Date;
5895
5951
  updatedAt: Date;
5952
+ createdAt: Date;
5896
5953
  startDate: Date;
5897
5954
  startRow: number;
5898
5955
  enabled: boolean;
@@ -5905,8 +5962,8 @@ export declare const sheetsSyncContract: {
5905
5962
  };
5906
5963
  newYellowGreen: {
5907
5964
  id: string;
5908
- createdAt: Date;
5909
5965
  updatedAt: Date;
5966
+ createdAt: Date;
5910
5967
  startDate: Date;
5911
5968
  startRow: number;
5912
5969
  enabled: boolean;
@@ -5922,8 +5979,8 @@ export declare const sheetsSyncContract: {
5922
5979
  spreadsheetId: string;
5923
5980
  activeWorkers: {
5924
5981
  id: string;
5925
- createdAt: Date;
5926
5982
  updatedAt: Date;
5983
+ createdAt: Date;
5927
5984
  startDate: Date;
5928
5985
  startRow: number;
5929
5986
  enabled: boolean;
@@ -5936,8 +5993,8 @@ export declare const sheetsSyncContract: {
5936
5993
  };
5937
5994
  newYellowGreen: {
5938
5995
  id: string;
5939
- createdAt: Date;
5940
5996
  updatedAt: Date;
5997
+ createdAt: Date;
5941
5998
  startDate: Date;
5942
5999
  startRow: number;
5943
6000
  enabled: boolean;
@@ -5952,28 +6009,28 @@ export declare const sheetsSyncContract: {
5952
6009
  }, {
5953
6010
  id: string;
5954
6011
  name: string | null;
5955
- createdAt: Date;
5956
6012
  updatedAt: Date;
6013
+ createdAt: Date;
5957
6014
  user: {
5958
6015
  id: string;
5959
- firstName: string;
5960
6016
  lastName: string;
6017
+ firstName: string;
5961
6018
  status?: string | undefined;
6019
+ roles?: string[] | undefined;
5962
6020
  phoneNumbers?: {
5963
6021
  id: string;
5964
6022
  phoneNumber: string;
5965
6023
  description?: string | null | undefined;
5966
6024
  isPrimary?: boolean | undefined;
5967
6025
  }[] | undefined;
5968
- roles?: string[] | undefined;
5969
6026
  deletedAt?: string | Date | null | undefined;
5970
6027
  };
5971
6028
  fa: {
5972
6029
  spreadsheetId: string;
5973
6030
  activeWorkers: {
5974
6031
  id: string;
5975
- createdAt: Date;
5976
6032
  updatedAt: Date;
6033
+ createdAt: Date;
5977
6034
  startDate: Date;
5978
6035
  lastSyncedAt: Date | null;
5979
6036
  lastError: string | null;
@@ -5986,8 +6043,8 @@ export declare const sheetsSyncContract: {
5986
6043
  };
5987
6044
  newYellowGreen: {
5988
6045
  id: string;
5989
- createdAt: Date;
5990
6046
  updatedAt: Date;
6047
+ createdAt: Date;
5991
6048
  startDate: Date;
5992
6049
  lastSyncedAt: Date | null;
5993
6050
  lastError: string | null;
@@ -6003,8 +6060,8 @@ export declare const sheetsSyncContract: {
6003
6060
  spreadsheetId: string;
6004
6061
  activeWorkers: {
6005
6062
  id: string;
6006
- createdAt: Date;
6007
6063
  updatedAt: Date;
6064
+ createdAt: Date;
6008
6065
  startDate: Date;
6009
6066
  lastSyncedAt: Date | null;
6010
6067
  lastError: string | null;
@@ -6017,8 +6074,8 @@ export declare const sheetsSyncContract: {
6017
6074
  };
6018
6075
  newYellowGreen: {
6019
6076
  id: string;
6020
- createdAt: Date;
6021
6077
  updatedAt: Date;
6078
+ createdAt: Date;
6022
6079
  startDate: Date;
6023
6080
  lastSyncedAt: Date | null;
6024
6081
  lastError: string | null;
@@ -6566,8 +6623,8 @@ export declare const sheetsSyncContract: {
6566
6623
  updatedAt: z.ZodDate;
6567
6624
  }, "strip", z.ZodTypeAny, {
6568
6625
  id: string;
6569
- createdAt: Date;
6570
6626
  updatedAt: Date;
6627
+ createdAt: Date;
6571
6628
  startDate: Date | null;
6572
6629
  startRow: number;
6573
6630
  enabled: boolean;
@@ -6579,8 +6636,8 @@ export declare const sheetsSyncContract: {
6579
6636
  spreadsheetId: string | null;
6580
6637
  }, {
6581
6638
  id: string;
6582
- createdAt: Date;
6583
6639
  updatedAt: Date;
6640
+ createdAt: Date;
6584
6641
  startDate: Date | null;
6585
6642
  startRow: number;
6586
6643
  enabled: boolean;
@@ -6757,8 +6814,8 @@ export declare const sheetsSyncContract: {
6757
6814
  updatedAt: z.ZodDate;
6758
6815
  }, "strip", z.ZodTypeAny, {
6759
6816
  id: string;
6760
- createdAt: Date;
6761
6817
  updatedAt: Date;
6818
+ createdAt: Date;
6762
6819
  startDate: Date | null;
6763
6820
  startRow: number;
6764
6821
  enabled: boolean;
@@ -6770,8 +6827,8 @@ export declare const sheetsSyncContract: {
6770
6827
  spreadsheetId: string | null;
6771
6828
  }, {
6772
6829
  id: string;
6773
- createdAt: Date;
6774
6830
  updatedAt: Date;
6831
+ createdAt: Date;
6775
6832
  startDate: Date | null;
6776
6833
  startRow: number;
6777
6834
  enabled: boolean;
@@ -6974,6 +7031,516 @@ export declare const sheetsSyncContract: {
6974
7031
  }>;
6975
7032
  };
6976
7033
  };
7034
+ getActivesToday: {
7035
+ summary: "Get the global ACTIVES TODAY sheet config + status";
7036
+ method: "GET";
7037
+ path: "/v2/sheets-sync/actives-today";
7038
+ responses: {
7039
+ 400: z.ZodObject<{
7040
+ statusCode: z.ZodNumber;
7041
+ message: z.ZodString;
7042
+ code: z.ZodString;
7043
+ details: z.ZodOptional<z.ZodUnknown>;
7044
+ timestamp: z.ZodString;
7045
+ path: z.ZodString;
7046
+ correlationId: z.ZodOptional<z.ZodString>;
7047
+ }, "strip", z.ZodTypeAny, {
7048
+ message: string;
7049
+ code: string;
7050
+ path: string;
7051
+ statusCode: number;
7052
+ timestamp: string;
7053
+ details?: unknown;
7054
+ correlationId?: string | undefined;
7055
+ }, {
7056
+ message: string;
7057
+ code: string;
7058
+ path: string;
7059
+ statusCode: number;
7060
+ timestamp: string;
7061
+ details?: unknown;
7062
+ correlationId?: string | undefined;
7063
+ }>;
7064
+ 401: z.ZodObject<{
7065
+ statusCode: z.ZodNumber;
7066
+ message: z.ZodString;
7067
+ code: z.ZodString;
7068
+ details: z.ZodOptional<z.ZodUnknown>;
7069
+ timestamp: z.ZodString;
7070
+ path: z.ZodString;
7071
+ correlationId: z.ZodOptional<z.ZodString>;
7072
+ }, "strip", z.ZodTypeAny, {
7073
+ message: string;
7074
+ code: string;
7075
+ path: string;
7076
+ statusCode: number;
7077
+ timestamp: string;
7078
+ details?: unknown;
7079
+ correlationId?: string | undefined;
7080
+ }, {
7081
+ message: string;
7082
+ code: string;
7083
+ path: string;
7084
+ statusCode: number;
7085
+ timestamp: string;
7086
+ details?: unknown;
7087
+ correlationId?: string | undefined;
7088
+ }>;
7089
+ 403: z.ZodObject<{
7090
+ statusCode: z.ZodNumber;
7091
+ message: z.ZodString;
7092
+ code: z.ZodString;
7093
+ details: z.ZodOptional<z.ZodUnknown>;
7094
+ timestamp: z.ZodString;
7095
+ path: z.ZodString;
7096
+ correlationId: z.ZodOptional<z.ZodString>;
7097
+ }, "strip", z.ZodTypeAny, {
7098
+ message: string;
7099
+ code: string;
7100
+ path: string;
7101
+ statusCode: number;
7102
+ timestamp: string;
7103
+ details?: unknown;
7104
+ correlationId?: string | undefined;
7105
+ }, {
7106
+ message: string;
7107
+ code: string;
7108
+ path: string;
7109
+ statusCode: number;
7110
+ timestamp: string;
7111
+ details?: unknown;
7112
+ correlationId?: string | undefined;
7113
+ }>;
7114
+ 500: z.ZodObject<{
7115
+ statusCode: z.ZodNumber;
7116
+ message: z.ZodString;
7117
+ code: z.ZodString;
7118
+ details: z.ZodOptional<z.ZodUnknown>;
7119
+ timestamp: z.ZodString;
7120
+ path: z.ZodString;
7121
+ correlationId: z.ZodOptional<z.ZodString>;
7122
+ }, "strip", z.ZodTypeAny, {
7123
+ message: string;
7124
+ code: string;
7125
+ path: string;
7126
+ statusCode: number;
7127
+ timestamp: string;
7128
+ details?: unknown;
7129
+ correlationId?: string | undefined;
7130
+ }, {
7131
+ message: string;
7132
+ code: string;
7133
+ path: string;
7134
+ statusCode: number;
7135
+ timestamp: string;
7136
+ details?: unknown;
7137
+ correlationId?: string | undefined;
7138
+ }>;
7139
+ 200: z.ZodObject<{
7140
+ id: z.ZodString;
7141
+ spreadsheetId: z.ZodNullable<z.ZodString>;
7142
+ tabName: z.ZodNullable<z.ZodString>;
7143
+ enabled: z.ZodBoolean;
7144
+ lastRowCount: z.ZodNumber;
7145
+ lastSyncedAt: z.ZodNullable<z.ZodDate>;
7146
+ lastError: z.ZodNullable<z.ZodString>;
7147
+ lastErrorAt: z.ZodNullable<z.ZodDate>;
7148
+ createdAt: z.ZodDate;
7149
+ updatedAt: z.ZodDate;
7150
+ }, "strip", z.ZodTypeAny, {
7151
+ id: string;
7152
+ updatedAt: Date;
7153
+ createdAt: Date;
7154
+ enabled: boolean;
7155
+ tabName: string | null;
7156
+ lastSyncedAt: Date | null;
7157
+ lastError: string | null;
7158
+ lastErrorAt: Date | null;
7159
+ lastRowCount: number;
7160
+ spreadsheetId: string | null;
7161
+ }, {
7162
+ id: string;
7163
+ updatedAt: Date;
7164
+ createdAt: Date;
7165
+ enabled: boolean;
7166
+ tabName: string | null;
7167
+ lastSyncedAt: Date | null;
7168
+ lastError: string | null;
7169
+ lastErrorAt: Date | null;
7170
+ lastRowCount: number;
7171
+ spreadsheetId: string | null;
7172
+ }>;
7173
+ 503: z.ZodObject<{
7174
+ statusCode: z.ZodNumber;
7175
+ message: z.ZodString;
7176
+ code: z.ZodString;
7177
+ details: z.ZodOptional<z.ZodUnknown>;
7178
+ timestamp: z.ZodString;
7179
+ path: z.ZodString;
7180
+ correlationId: z.ZodOptional<z.ZodString>;
7181
+ }, "strip", z.ZodTypeAny, {
7182
+ message: string;
7183
+ code: string;
7184
+ path: string;
7185
+ statusCode: number;
7186
+ timestamp: string;
7187
+ details?: unknown;
7188
+ correlationId?: string | undefined;
7189
+ }, {
7190
+ message: string;
7191
+ code: string;
7192
+ path: string;
7193
+ statusCode: number;
7194
+ timestamp: string;
7195
+ details?: unknown;
7196
+ correlationId?: string | undefined;
7197
+ }>;
7198
+ };
7199
+ };
7200
+ updateActivesToday: {
7201
+ summary: "Update the global ACTIVES TODAY config (rebuilds when enabled)";
7202
+ method: "PATCH";
7203
+ body: z.ZodObject<{
7204
+ spreadsheetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7205
+ tabName: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7206
+ enabled: z.ZodOptional<z.ZodBoolean>;
7207
+ }, "strip", z.ZodTypeAny, {
7208
+ enabled?: boolean | undefined;
7209
+ tabName?: string | null | undefined;
7210
+ spreadsheetId?: string | null | undefined;
7211
+ }, {
7212
+ enabled?: boolean | undefined;
7213
+ tabName?: string | null | undefined;
7214
+ spreadsheetId?: string | null | undefined;
7215
+ }>;
7216
+ path: "/v2/sheets-sync/actives-today";
7217
+ responses: {
7218
+ 400: z.ZodObject<{
7219
+ statusCode: z.ZodNumber;
7220
+ message: z.ZodString;
7221
+ code: z.ZodString;
7222
+ details: z.ZodOptional<z.ZodUnknown>;
7223
+ timestamp: z.ZodString;
7224
+ path: z.ZodString;
7225
+ correlationId: z.ZodOptional<z.ZodString>;
7226
+ }, "strip", z.ZodTypeAny, {
7227
+ message: string;
7228
+ code: string;
7229
+ path: string;
7230
+ statusCode: number;
7231
+ timestamp: string;
7232
+ details?: unknown;
7233
+ correlationId?: string | undefined;
7234
+ }, {
7235
+ message: string;
7236
+ code: string;
7237
+ path: string;
7238
+ statusCode: number;
7239
+ timestamp: string;
7240
+ details?: unknown;
7241
+ correlationId?: string | undefined;
7242
+ }>;
7243
+ 401: z.ZodObject<{
7244
+ statusCode: z.ZodNumber;
7245
+ message: z.ZodString;
7246
+ code: z.ZodString;
7247
+ details: z.ZodOptional<z.ZodUnknown>;
7248
+ timestamp: z.ZodString;
7249
+ path: z.ZodString;
7250
+ correlationId: z.ZodOptional<z.ZodString>;
7251
+ }, "strip", z.ZodTypeAny, {
7252
+ message: string;
7253
+ code: string;
7254
+ path: string;
7255
+ statusCode: number;
7256
+ timestamp: string;
7257
+ details?: unknown;
7258
+ correlationId?: string | undefined;
7259
+ }, {
7260
+ message: string;
7261
+ code: string;
7262
+ path: string;
7263
+ statusCode: number;
7264
+ timestamp: string;
7265
+ details?: unknown;
7266
+ correlationId?: string | undefined;
7267
+ }>;
7268
+ 403: z.ZodObject<{
7269
+ statusCode: z.ZodNumber;
7270
+ message: z.ZodString;
7271
+ code: z.ZodString;
7272
+ details: z.ZodOptional<z.ZodUnknown>;
7273
+ timestamp: z.ZodString;
7274
+ path: z.ZodString;
7275
+ correlationId: z.ZodOptional<z.ZodString>;
7276
+ }, "strip", z.ZodTypeAny, {
7277
+ message: string;
7278
+ code: string;
7279
+ path: string;
7280
+ statusCode: number;
7281
+ timestamp: string;
7282
+ details?: unknown;
7283
+ correlationId?: string | undefined;
7284
+ }, {
7285
+ message: string;
7286
+ code: string;
7287
+ path: string;
7288
+ statusCode: number;
7289
+ timestamp: string;
7290
+ details?: unknown;
7291
+ correlationId?: string | undefined;
7292
+ }>;
7293
+ 500: z.ZodObject<{
7294
+ statusCode: z.ZodNumber;
7295
+ message: z.ZodString;
7296
+ code: z.ZodString;
7297
+ details: z.ZodOptional<z.ZodUnknown>;
7298
+ timestamp: z.ZodString;
7299
+ path: z.ZodString;
7300
+ correlationId: z.ZodOptional<z.ZodString>;
7301
+ }, "strip", z.ZodTypeAny, {
7302
+ message: string;
7303
+ code: string;
7304
+ path: string;
7305
+ statusCode: number;
7306
+ timestamp: string;
7307
+ details?: unknown;
7308
+ correlationId?: string | undefined;
7309
+ }, {
7310
+ message: string;
7311
+ code: string;
7312
+ path: string;
7313
+ statusCode: number;
7314
+ timestamp: string;
7315
+ details?: unknown;
7316
+ correlationId?: string | undefined;
7317
+ }>;
7318
+ 200: z.ZodObject<{
7319
+ id: z.ZodString;
7320
+ spreadsheetId: z.ZodNullable<z.ZodString>;
7321
+ tabName: z.ZodNullable<z.ZodString>;
7322
+ enabled: z.ZodBoolean;
7323
+ lastRowCount: z.ZodNumber;
7324
+ lastSyncedAt: z.ZodNullable<z.ZodDate>;
7325
+ lastError: z.ZodNullable<z.ZodString>;
7326
+ lastErrorAt: z.ZodNullable<z.ZodDate>;
7327
+ createdAt: z.ZodDate;
7328
+ updatedAt: z.ZodDate;
7329
+ }, "strip", z.ZodTypeAny, {
7330
+ id: string;
7331
+ updatedAt: Date;
7332
+ createdAt: Date;
7333
+ enabled: boolean;
7334
+ tabName: string | null;
7335
+ lastSyncedAt: Date | null;
7336
+ lastError: string | null;
7337
+ lastErrorAt: Date | null;
7338
+ lastRowCount: number;
7339
+ spreadsheetId: string | null;
7340
+ }, {
7341
+ id: string;
7342
+ updatedAt: Date;
7343
+ createdAt: Date;
7344
+ enabled: boolean;
7345
+ tabName: string | null;
7346
+ lastSyncedAt: Date | null;
7347
+ lastError: string | null;
7348
+ lastErrorAt: Date | null;
7349
+ lastRowCount: number;
7350
+ spreadsheetId: string | null;
7351
+ }>;
7352
+ 422: z.ZodObject<{
7353
+ statusCode: z.ZodNumber;
7354
+ message: z.ZodString;
7355
+ code: z.ZodString;
7356
+ details: z.ZodOptional<z.ZodUnknown>;
7357
+ timestamp: z.ZodString;
7358
+ path: z.ZodString;
7359
+ correlationId: z.ZodOptional<z.ZodString>;
7360
+ }, "strip", z.ZodTypeAny, {
7361
+ message: string;
7362
+ code: string;
7363
+ path: string;
7364
+ statusCode: number;
7365
+ timestamp: string;
7366
+ details?: unknown;
7367
+ correlationId?: string | undefined;
7368
+ }, {
7369
+ message: string;
7370
+ code: string;
7371
+ path: string;
7372
+ statusCode: number;
7373
+ timestamp: string;
7374
+ details?: unknown;
7375
+ correlationId?: string | undefined;
7376
+ }>;
7377
+ 503: z.ZodObject<{
7378
+ statusCode: z.ZodNumber;
7379
+ message: z.ZodString;
7380
+ code: z.ZodString;
7381
+ details: z.ZodOptional<z.ZodUnknown>;
7382
+ timestamp: z.ZodString;
7383
+ path: z.ZodString;
7384
+ correlationId: z.ZodOptional<z.ZodString>;
7385
+ }, "strip", z.ZodTypeAny, {
7386
+ message: string;
7387
+ code: string;
7388
+ path: string;
7389
+ statusCode: number;
7390
+ timestamp: string;
7391
+ details?: unknown;
7392
+ correlationId?: string | undefined;
7393
+ }, {
7394
+ message: string;
7395
+ code: string;
7396
+ path: string;
7397
+ statusCode: number;
7398
+ timestamp: string;
7399
+ details?: unknown;
7400
+ correlationId?: string | undefined;
7401
+ }>;
7402
+ };
7403
+ };
7404
+ resyncActivesToday: {
7405
+ summary: "Rebuild the ACTIVES TODAY sheet now";
7406
+ method: "POST";
7407
+ body: typeof import("@ts-rest/core").ContractNoBody;
7408
+ path: "/v2/sheets-sync/actives-today/resync";
7409
+ responses: {
7410
+ 400: z.ZodObject<{
7411
+ statusCode: z.ZodNumber;
7412
+ message: z.ZodString;
7413
+ code: z.ZodString;
7414
+ details: z.ZodOptional<z.ZodUnknown>;
7415
+ timestamp: z.ZodString;
7416
+ path: z.ZodString;
7417
+ correlationId: z.ZodOptional<z.ZodString>;
7418
+ }, "strip", z.ZodTypeAny, {
7419
+ message: string;
7420
+ code: string;
7421
+ path: string;
7422
+ statusCode: number;
7423
+ timestamp: string;
7424
+ details?: unknown;
7425
+ correlationId?: string | undefined;
7426
+ }, {
7427
+ message: string;
7428
+ code: string;
7429
+ path: string;
7430
+ statusCode: number;
7431
+ timestamp: string;
7432
+ details?: unknown;
7433
+ correlationId?: string | undefined;
7434
+ }>;
7435
+ 401: z.ZodObject<{
7436
+ statusCode: z.ZodNumber;
7437
+ message: z.ZodString;
7438
+ code: z.ZodString;
7439
+ details: z.ZodOptional<z.ZodUnknown>;
7440
+ timestamp: z.ZodString;
7441
+ path: z.ZodString;
7442
+ correlationId: z.ZodOptional<z.ZodString>;
7443
+ }, "strip", z.ZodTypeAny, {
7444
+ message: string;
7445
+ code: string;
7446
+ path: string;
7447
+ statusCode: number;
7448
+ timestamp: string;
7449
+ details?: unknown;
7450
+ correlationId?: string | undefined;
7451
+ }, {
7452
+ message: string;
7453
+ code: string;
7454
+ path: string;
7455
+ statusCode: number;
7456
+ timestamp: string;
7457
+ details?: unknown;
7458
+ correlationId?: string | undefined;
7459
+ }>;
7460
+ 403: z.ZodObject<{
7461
+ statusCode: z.ZodNumber;
7462
+ message: z.ZodString;
7463
+ code: z.ZodString;
7464
+ details: z.ZodOptional<z.ZodUnknown>;
7465
+ timestamp: z.ZodString;
7466
+ path: z.ZodString;
7467
+ correlationId: z.ZodOptional<z.ZodString>;
7468
+ }, "strip", z.ZodTypeAny, {
7469
+ message: string;
7470
+ code: string;
7471
+ path: string;
7472
+ statusCode: number;
7473
+ timestamp: string;
7474
+ details?: unknown;
7475
+ correlationId?: string | undefined;
7476
+ }, {
7477
+ message: string;
7478
+ code: string;
7479
+ path: string;
7480
+ statusCode: number;
7481
+ timestamp: string;
7482
+ details?: unknown;
7483
+ correlationId?: string | undefined;
7484
+ }>;
7485
+ 500: z.ZodObject<{
7486
+ statusCode: z.ZodNumber;
7487
+ message: z.ZodString;
7488
+ code: z.ZodString;
7489
+ details: z.ZodOptional<z.ZodUnknown>;
7490
+ timestamp: z.ZodString;
7491
+ path: z.ZodString;
7492
+ correlationId: z.ZodOptional<z.ZodString>;
7493
+ }, "strip", z.ZodTypeAny, {
7494
+ message: string;
7495
+ code: string;
7496
+ path: string;
7497
+ statusCode: number;
7498
+ timestamp: string;
7499
+ details?: unknown;
7500
+ correlationId?: string | undefined;
7501
+ }, {
7502
+ message: string;
7503
+ code: string;
7504
+ path: string;
7505
+ statusCode: number;
7506
+ timestamp: string;
7507
+ details?: unknown;
7508
+ correlationId?: string | undefined;
7509
+ }>;
7510
+ 200: z.ZodObject<{
7511
+ rebuilt: z.ZodNumber;
7512
+ }, "strip", z.ZodTypeAny, {
7513
+ rebuilt: number;
7514
+ }, {
7515
+ rebuilt: number;
7516
+ }>;
7517
+ 503: z.ZodObject<{
7518
+ statusCode: z.ZodNumber;
7519
+ message: z.ZodString;
7520
+ code: z.ZodString;
7521
+ details: z.ZodOptional<z.ZodUnknown>;
7522
+ timestamp: z.ZodString;
7523
+ path: z.ZodString;
7524
+ correlationId: z.ZodOptional<z.ZodString>;
7525
+ }, "strip", z.ZodTypeAny, {
7526
+ message: string;
7527
+ code: string;
7528
+ path: string;
7529
+ statusCode: number;
7530
+ timestamp: string;
7531
+ details?: unknown;
7532
+ correlationId?: string | undefined;
7533
+ }, {
7534
+ message: string;
7535
+ code: string;
7536
+ path: string;
7537
+ statusCode: number;
7538
+ timestamp: string;
7539
+ details?: unknown;
7540
+ correlationId?: string | undefined;
7541
+ }>;
7542
+ };
7543
+ };
6977
7544
  getMyActiveSort: {
6978
7545
  summary: "Get the current user's Active Workers sort preference";
6979
7546
  method: "GET";