@dakkitor/api-contracts 1.8.0 → 1.9.2

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 (139) hide show
  1. package/dist/abilities/abilities.contract.d.ts +28 -1
  2. package/dist/abilities/abilities.contract.d.ts.map +1 -1
  3. package/dist/abilities/abilities.contract.js +32 -1
  4. package/dist/abilities/abilities.contract.spec.js +63 -3
  5. package/dist/abilities/admin-dashboard.abilities.test.js +1 -0
  6. package/dist/abilities/automatic-caller.abilities.json +1 -0
  7. package/dist/abilities/first-agent.abilities.json +14 -0
  8. package/dist/abilities/interconnection.abilities.json +17 -1
  9. package/dist/abilities/office-manager.abilities.json +4 -0
  10. package/dist/abilities/second-agent.abilities.json +48 -1
  11. package/dist/abilities/worker-curator.abilities.json +17 -1
  12. package/dist/actives/actives.contract.d.ts +6959 -6547
  13. package/dist/actives/actives.contract.d.ts.map +1 -1
  14. package/dist/agent-client-links/agent-client-links.contract.d.ts +1275 -1173
  15. package/dist/agent-client-links/agent-client-links.contract.d.ts.map +1 -1
  16. package/dist/auth/auth.contract.d.ts +102 -102
  17. package/dist/bookings/backdate-guard.spec.js +24 -32
  18. package/dist/bookings/bookings.contract.d.ts +9963 -9305
  19. package/dist/bookings/bookings.contract.d.ts.map +1 -1
  20. package/dist/bookings/bookings.contract.js +2 -16
  21. package/dist/call-history/call-history.contract.d.ts +1040 -828
  22. package/dist/call-history/call-history.contract.d.ts.map +1 -1
  23. package/dist/calls-feed/calls-feed.contract.d.ts +138 -98
  24. package/dist/calls-feed/calls-feed.contract.d.ts.map +1 -1
  25. package/dist/candidate-calling/candidate-calling.contract.d.ts +18372 -0
  26. package/dist/candidate-calling/candidate-calling.contract.d.ts.map +1 -0
  27. package/dist/candidate-calling/candidate-calling.contract.js +494 -0
  28. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts +2 -0
  29. package/dist/candidate-calling/candidate-calling.contract.spec.d.ts.map +1 -0
  30. package/dist/candidate-calling/candidate-calling.contract.spec.js +357 -0
  31. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts +10 -0
  32. package/dist/candidate-calling/candidate-dialpad-call.schemas.d.ts.map +1 -0
  33. package/dist/candidate-calling/candidate-dialpad-call.schemas.js +33 -0
  34. package/dist/client-contacts/client-contacts.contract.d.ts +622 -622
  35. package/dist/clients/clients.contract.d.ts +289 -289
  36. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts +3108 -3004
  37. package/dist/collaboration-checkings/collaboration-checkings.contract.d.ts.map +1 -1
  38. package/dist/collaborations/collaborations.contract.d.ts +2604 -2507
  39. package/dist/collaborations/collaborations.contract.d.ts.map +1 -1
  40. package/dist/common/callback-slots.d.ts +4 -0
  41. package/dist/common/callback-slots.d.ts.map +1 -0
  42. package/dist/common/callback-slots.js +20 -0
  43. package/dist/common/common-schemas.d.ts +10 -4
  44. package/dist/common/common-schemas.d.ts.map +1 -1
  45. package/dist/common/common-schemas.js +6 -0
  46. package/dist/companies/companies.contract.d.ts +120 -120
  47. package/dist/crews/crews.contract.d.ts +278 -278
  48. package/dist/cron-executions/cron-executions.contract.d.ts +245 -245
  49. package/dist/cron-executions/cron-executions.contract.d.ts.map +1 -1
  50. package/dist/cron-executions/cron-executions.contract.js +1 -0
  51. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts +3830 -2354
  52. package/dist/curated-worker-leads/candidate-coordination.contract.d.ts.map +1 -1
  53. package/dist/curated-worker-leads/candidate-coordination.contract.js +73 -7
  54. package/dist/curated-worker-leads/candidate-edit-session.contract.d.ts +94 -94
  55. package/dist/curated-worker-leads/contact-history.spec.js +141 -0
  56. package/dist/curated-worker-leads/job-candidate-cards.spec.js +19 -0
  57. package/dist/curated-worker-leads/job-candidates.spec.js +179 -0
  58. package/dist/curated-worker-leads/jobs-tab.contract.d.ts +8185 -2106
  59. package/dist/curated-worker-leads/jobs-tab.contract.d.ts.map +1 -1
  60. package/dist/curated-worker-leads/jobs-tab.contract.js +126 -1
  61. package/dist/curated-worker-leads/owned-jobs-tab.contract.d.ts +110 -110
  62. package/dist/curated-workers/curated-workers.contract.d.ts +2033 -1951
  63. package/dist/curated-workers/curated-workers.contract.d.ts.map +1 -1
  64. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts +2 -0
  65. package/dist/dashboards/dashboard-widgets.contact-history.spec.d.ts.map +1 -0
  66. package/dist/dashboards/dashboard-widgets.contact-history.spec.js +160 -0
  67. package/dist/dashboards/dashboard-widgets.contract.d.ts +1027 -284
  68. package/dist/dashboards/dashboard-widgets.contract.d.ts.map +1 -1
  69. package/dist/dashboards/dashboard-widgets.contract.js +46 -1
  70. package/dist/dashboards/dashboard.contract.d.ts +8 -8
  71. package/dist/document-intake/document-intake.contract.d.ts +1145 -1145
  72. package/dist/export-jobs/export-jobs.contract.d.ts +755 -755
  73. package/dist/exports-events/exports-events.schemas.d.ts +6 -6
  74. package/dist/index.d.ts +5 -0
  75. package/dist/index.d.ts.map +1 -1
  76. package/dist/index.js +5 -0
  77. package/dist/jobs/jobs.contract.d.ts +8507 -6044
  78. package/dist/jobs/jobs.contract.d.ts.map +1 -1
  79. package/dist/jobs/jobs.contract.js +95 -2
  80. package/dist/jobs/jobs.contract.spec.js +231 -1
  81. package/dist/kpi-impersonation/kpi-impersonation.contract.d.ts +102 -102
  82. package/dist/lead-assignments/lead-assignments.contract.d.ts +2985 -1139
  83. package/dist/lead-assignments/lead-assignments.contract.d.ts.map +1 -1
  84. package/dist/lead-assignments/lead-assignments.contract.js +102 -2
  85. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts +2 -0
  86. package/dist/lead-assignments/lead-assignments.contract.spec.d.ts.map +1 -0
  87. package/dist/lead-assignments/lead-assignments.contract.spec.js +51 -0
  88. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts +341 -317
  89. package/dist/lead-distribution/agent-lead-distribution.contract.d.ts.map +1 -1
  90. package/dist/leads/leads.contract.d.ts +282 -282
  91. package/dist/locations/location-enrichment.contract.spec.d.ts +2 -0
  92. package/dist/locations/location-enrichment.contract.spec.d.ts.map +1 -0
  93. package/dist/locations/location-enrichment.contract.spec.js +50 -0
  94. package/dist/locations/locations.contract.d.ts +132 -98
  95. package/dist/locations/locations.contract.d.ts.map +1 -1
  96. package/dist/locations/locations.contract.js +10 -0
  97. package/dist/notifications/notifications.contract.d.ts +579 -107
  98. package/dist/notifications/notifications.contract.d.ts.map +1 -1
  99. package/dist/notifications/notifications.contract.js +36 -2
  100. package/dist/notifications/notifications.contract.spec.d.ts +2 -0
  101. package/dist/notifications/notifications.contract.spec.d.ts.map +1 -0
  102. package/dist/notifications/notifications.contract.spec.js +39 -0
  103. package/dist/outreach/__tests__/outreach-claim.test.js +33 -0
  104. package/dist/outreach/__tests__/outreach-routes.test.js +8 -0
  105. package/dist/outreach/outreach.contract.d.ts +583 -162
  106. package/dist/outreach/outreach.contract.d.ts.map +1 -1
  107. package/dist/outreach/outreach.contract.js +50 -1
  108. package/dist/outreach/relay-hub-outreach.contract.d.ts +299 -121
  109. package/dist/outreach/relay-hub-outreach.contract.d.ts.map +1 -1
  110. package/dist/outreach/relay-hub-outreach.contract.js +10 -0
  111. package/dist/outreach/relay-hub-outreach.contract.spec.js +26 -0
  112. package/dist/outreach/relay-hub-outreach.schemas.d.ts +94 -0
  113. package/dist/outreach/relay-hub-outreach.schemas.d.ts.map +1 -0
  114. package/dist/outreach/relay-hub-outreach.schemas.js +15 -0
  115. package/dist/own-research/check-phone-response.spec.d.ts +2 -0
  116. package/dist/own-research/check-phone-response.spec.d.ts.map +1 -0
  117. package/dist/own-research/check-phone-response.spec.js +54 -0
  118. package/dist/own-research/own-research.contract.d.ts +971 -820
  119. package/dist/own-research/own-research.contract.d.ts.map +1 -1
  120. package/dist/own-research/own-research.contract.js +6 -1
  121. package/dist/proofs/proofs.contract.d.ts +356 -356
  122. package/dist/proofs/proofs.dtos.d.ts +148 -148
  123. package/dist/realtime/job-call-priority-updated.d.ts +18 -0
  124. package/dist/realtime/job-call-priority-updated.d.ts.map +1 -0
  125. package/dist/realtime/job-call-priority-updated.js +17 -0
  126. package/dist/shared/summary-schemas.d.ts +36 -27
  127. package/dist/shared/summary-schemas.d.ts.map +1 -1
  128. package/dist/shared/summary-schemas.js +7 -0
  129. package/dist/sheets-sync/sheets-sync.contract.d.ts +683 -683
  130. package/dist/user-access-grants/user-access-grants.contract.d.ts +216 -216
  131. package/dist/users/users.contract.d.ts +365 -336
  132. package/dist/users/users.contract.d.ts.map +1 -1
  133. package/dist/users/users.contract.js +9 -1
  134. package/dist/users/users.contract.spec.js +39 -0
  135. package/dist/worker-source-identity-conflicts/worker-source-identity-conflicts.contract.d.ts +150 -150
  136. package/dist/workers/workers.contract.d.ts +4505 -4261
  137. package/dist/workers/workers.contract.d.ts.map +1 -1
  138. package/dist/workers/workers.contract.js +12 -0
  139. package/package.json +1 -1
@@ -31,9 +31,9 @@ export declare const TabSyncWithMetaSchema: z.ZodObject<{
31
31
  createdAt: z.ZodDate;
32
32
  updatedAt: z.ZodDate;
33
33
  }, "strip", z.ZodTypeAny, {
34
- id: string;
35
- updatedAt: Date;
36
34
  createdAt: Date;
35
+ updatedAt: Date;
36
+ id: string;
37
37
  startDate: Date;
38
38
  startRow: number;
39
39
  enabled: boolean;
@@ -44,9 +44,9 @@ export declare const TabSyncWithMetaSchema: z.ZodObject<{
44
44
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
45
45
  tabName?: string | null | undefined;
46
46
  }, {
47
- id: string;
48
- updatedAt: Date;
49
47
  createdAt: Date;
48
+ updatedAt: Date;
49
+ id: string;
50
50
  startDate: Date;
51
51
  lastSyncedAt: Date | null;
52
52
  lastError: string | null;
@@ -137,9 +137,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
137
137
  createdAt: z.ZodDate;
138
138
  updatedAt: z.ZodDate;
139
139
  }, "strip", z.ZodTypeAny, {
140
- id: string;
141
- updatedAt: Date;
142
140
  createdAt: Date;
141
+ updatedAt: Date;
142
+ id: string;
143
143
  startDate: Date;
144
144
  startRow: number;
145
145
  enabled: boolean;
@@ -150,9 +150,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
150
150
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
151
151
  tabName?: string | null | undefined;
152
152
  }, {
153
- id: string;
154
- updatedAt: Date;
155
153
  createdAt: Date;
154
+ updatedAt: Date;
155
+ id: string;
156
156
  startDate: Date;
157
157
  lastSyncedAt: Date | null;
158
158
  lastError: string | null;
@@ -178,9 +178,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
178
178
  createdAt: z.ZodDate;
179
179
  updatedAt: z.ZodDate;
180
180
  }, "strip", z.ZodTypeAny, {
181
- id: string;
182
- updatedAt: Date;
183
181
  createdAt: Date;
182
+ updatedAt: Date;
183
+ id: string;
184
184
  startDate: Date;
185
185
  startRow: number;
186
186
  enabled: boolean;
@@ -191,9 +191,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
191
191
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
192
192
  tabName?: string | null | undefined;
193
193
  }, {
194
- id: string;
195
- updatedAt: Date;
196
194
  createdAt: Date;
195
+ updatedAt: Date;
196
+ id: string;
197
197
  startDate: Date;
198
198
  lastSyncedAt: Date | null;
199
199
  lastError: string | null;
@@ -207,9 +207,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
207
207
  }, "strip", z.ZodTypeAny, {
208
208
  spreadsheetId: string;
209
209
  activeWorkers: {
210
- id: string;
211
- updatedAt: Date;
212
210
  createdAt: Date;
211
+ updatedAt: Date;
212
+ id: string;
213
213
  startDate: Date;
214
214
  startRow: number;
215
215
  enabled: boolean;
@@ -221,9 +221,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
221
221
  tabName?: string | null | undefined;
222
222
  };
223
223
  newYellowGreen: {
224
- id: string;
225
- updatedAt: Date;
226
224
  createdAt: Date;
225
+ updatedAt: Date;
226
+ id: string;
227
227
  startDate: Date;
228
228
  startRow: number;
229
229
  enabled: boolean;
@@ -237,9 +237,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
237
237
  }, {
238
238
  spreadsheetId: string;
239
239
  activeWorkers: {
240
- id: string;
241
- updatedAt: Date;
242
240
  createdAt: Date;
241
+ updatedAt: Date;
242
+ id: string;
243
243
  startDate: Date;
244
244
  lastSyncedAt: Date | null;
245
245
  lastError: string | null;
@@ -251,9 +251,9 @@ export declare const SheetLinkSectionWithMetaSchema: z.ZodObject<{
251
251
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
252
252
  };
253
253
  newYellowGreen: {
254
- id: string;
255
- updatedAt: Date;
256
254
  createdAt: Date;
255
+ updatedAt: Date;
256
+ id: string;
257
257
  startDate: Date;
258
258
  lastSyncedAt: Date | null;
259
259
  lastError: string | null;
@@ -290,8 +290,8 @@ export declare const UserSheetLinkUserSchema: z.ZodObject<{
290
290
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
291
291
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
292
292
  }, "strip", z.ZodTypeAny, {
293
- status: string;
294
293
  id: string;
294
+ status: string;
295
295
  roles: string[];
296
296
  lastName: string;
297
297
  firstName: string;
@@ -343,8 +343,8 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
343
343
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
344
344
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
345
345
  }, "strip", z.ZodTypeAny, {
346
- status: string;
347
346
  id: string;
347
+ status: string;
348
348
  roles: string[];
349
349
  lastName: string;
350
350
  firstName: string;
@@ -387,9 +387,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
387
387
  createdAt: z.ZodDate;
388
388
  updatedAt: z.ZodDate;
389
389
  }, "strip", z.ZodTypeAny, {
390
- id: string;
391
- updatedAt: Date;
392
390
  createdAt: Date;
391
+ updatedAt: Date;
392
+ id: string;
393
393
  startDate: Date;
394
394
  startRow: number;
395
395
  enabled: boolean;
@@ -400,9 +400,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
400
400
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
401
401
  tabName?: string | null | undefined;
402
402
  }, {
403
- id: string;
404
- updatedAt: Date;
405
403
  createdAt: Date;
404
+ updatedAt: Date;
405
+ id: string;
406
406
  startDate: Date;
407
407
  lastSyncedAt: Date | null;
408
408
  lastError: string | null;
@@ -428,9 +428,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
428
428
  createdAt: z.ZodDate;
429
429
  updatedAt: z.ZodDate;
430
430
  }, "strip", z.ZodTypeAny, {
431
- id: string;
432
- updatedAt: Date;
433
431
  createdAt: Date;
432
+ updatedAt: Date;
433
+ id: string;
434
434
  startDate: Date;
435
435
  startRow: number;
436
436
  enabled: boolean;
@@ -441,9 +441,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
441
441
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
442
442
  tabName?: string | null | undefined;
443
443
  }, {
444
- id: string;
445
- updatedAt: Date;
446
444
  createdAt: Date;
445
+ updatedAt: Date;
446
+ id: string;
447
447
  startDate: Date;
448
448
  lastSyncedAt: Date | null;
449
449
  lastError: string | null;
@@ -457,9 +457,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
457
457
  }, "strip", z.ZodTypeAny, {
458
458
  spreadsheetId: string;
459
459
  activeWorkers: {
460
- id: string;
461
- updatedAt: Date;
462
460
  createdAt: Date;
461
+ updatedAt: Date;
462
+ id: string;
463
463
  startDate: Date;
464
464
  startRow: number;
465
465
  enabled: boolean;
@@ -471,9 +471,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
471
471
  tabName?: string | null | undefined;
472
472
  };
473
473
  newYellowGreen: {
474
- id: string;
475
- updatedAt: Date;
476
474
  createdAt: Date;
475
+ updatedAt: Date;
476
+ id: string;
477
477
  startDate: Date;
478
478
  startRow: number;
479
479
  enabled: boolean;
@@ -487,9 +487,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
487
487
  }, {
488
488
  spreadsheetId: string;
489
489
  activeWorkers: {
490
- id: string;
491
- updatedAt: Date;
492
490
  createdAt: Date;
491
+ updatedAt: Date;
492
+ id: string;
493
493
  startDate: Date;
494
494
  lastSyncedAt: Date | null;
495
495
  lastError: string | null;
@@ -501,9 +501,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
501
501
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
502
502
  };
503
503
  newYellowGreen: {
504
- id: string;
505
- updatedAt: Date;
506
504
  createdAt: Date;
505
+ updatedAt: Date;
506
+ id: string;
507
507
  startDate: Date;
508
508
  lastSyncedAt: Date | null;
509
509
  lastError: string | null;
@@ -532,9 +532,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
532
532
  createdAt: z.ZodDate;
533
533
  updatedAt: z.ZodDate;
534
534
  }, "strip", z.ZodTypeAny, {
535
- id: string;
536
- updatedAt: Date;
537
535
  createdAt: Date;
536
+ updatedAt: Date;
537
+ id: string;
538
538
  startDate: Date;
539
539
  startRow: number;
540
540
  enabled: boolean;
@@ -545,9 +545,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
545
545
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
546
546
  tabName?: string | null | undefined;
547
547
  }, {
548
- id: string;
549
- updatedAt: Date;
550
548
  createdAt: Date;
549
+ updatedAt: Date;
550
+ id: string;
551
551
  startDate: Date;
552
552
  lastSyncedAt: Date | null;
553
553
  lastError: string | null;
@@ -573,9 +573,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
573
573
  createdAt: z.ZodDate;
574
574
  updatedAt: z.ZodDate;
575
575
  }, "strip", z.ZodTypeAny, {
576
- id: string;
577
- updatedAt: Date;
578
576
  createdAt: Date;
577
+ updatedAt: Date;
578
+ id: string;
579
579
  startDate: Date;
580
580
  startRow: number;
581
581
  enabled: boolean;
@@ -586,9 +586,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
586
586
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
587
587
  tabName?: string | null | undefined;
588
588
  }, {
589
- id: string;
590
- updatedAt: Date;
591
589
  createdAt: Date;
590
+ updatedAt: Date;
591
+ id: string;
592
592
  startDate: Date;
593
593
  lastSyncedAt: Date | null;
594
594
  lastError: string | null;
@@ -602,9 +602,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
602
602
  }, "strip", z.ZodTypeAny, {
603
603
  spreadsheetId: string;
604
604
  activeWorkers: {
605
- id: string;
606
- updatedAt: Date;
607
605
  createdAt: Date;
606
+ updatedAt: Date;
607
+ id: string;
608
608
  startDate: Date;
609
609
  startRow: number;
610
610
  enabled: boolean;
@@ -616,9 +616,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
616
616
  tabName?: string | null | undefined;
617
617
  };
618
618
  newYellowGreen: {
619
- id: string;
620
- updatedAt: Date;
621
619
  createdAt: Date;
620
+ updatedAt: Date;
621
+ id: string;
622
622
  startDate: Date;
623
623
  startRow: number;
624
624
  enabled: boolean;
@@ -632,9 +632,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
632
632
  }, {
633
633
  spreadsheetId: string;
634
634
  activeWorkers: {
635
- id: string;
636
- updatedAt: Date;
637
635
  createdAt: Date;
636
+ updatedAt: Date;
637
+ id: string;
638
638
  startDate: Date;
639
639
  lastSyncedAt: Date | null;
640
640
  lastError: string | null;
@@ -646,9 +646,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
646
646
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
647
647
  };
648
648
  newYellowGreen: {
649
- id: string;
650
- updatedAt: Date;
651
649
  createdAt: Date;
650
+ updatedAt: Date;
651
+ id: string;
652
652
  startDate: Date;
653
653
  lastSyncedAt: Date | null;
654
654
  lastError: string | null;
@@ -663,13 +663,13 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
663
663
  createdAt: z.ZodDate;
664
664
  updatedAt: z.ZodDate;
665
665
  }, "strip", z.ZodTypeAny, {
666
- id: string;
667
666
  name: string | null;
668
- updatedAt: Date;
669
667
  createdAt: Date;
668
+ updatedAt: Date;
669
+ id: string;
670
670
  user: {
671
- status: string;
672
671
  id: string;
672
+ status: string;
673
673
  roles: string[];
674
674
  lastName: string;
675
675
  firstName: string;
@@ -684,9 +684,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
684
684
  fa: {
685
685
  spreadsheetId: string;
686
686
  activeWorkers: {
687
- id: string;
688
- updatedAt: Date;
689
687
  createdAt: Date;
688
+ updatedAt: Date;
689
+ id: string;
690
690
  startDate: Date;
691
691
  startRow: number;
692
692
  enabled: boolean;
@@ -698,9 +698,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
698
698
  tabName?: string | null | undefined;
699
699
  };
700
700
  newYellowGreen: {
701
- id: string;
702
- updatedAt: Date;
703
701
  createdAt: Date;
702
+ updatedAt: Date;
703
+ id: string;
704
704
  startDate: Date;
705
705
  startRow: number;
706
706
  enabled: boolean;
@@ -715,9 +715,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
715
715
  sa: {
716
716
  spreadsheetId: string;
717
717
  activeWorkers: {
718
- id: string;
719
- updatedAt: Date;
720
718
  createdAt: Date;
719
+ updatedAt: Date;
720
+ id: string;
721
721
  startDate: Date;
722
722
  startRow: number;
723
723
  enabled: boolean;
@@ -729,9 +729,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
729
729
  tabName?: string | null | undefined;
730
730
  };
731
731
  newYellowGreen: {
732
- id: string;
733
- updatedAt: Date;
734
732
  createdAt: Date;
733
+ updatedAt: Date;
734
+ id: string;
735
735
  startDate: Date;
736
736
  startRow: number;
737
737
  enabled: boolean;
@@ -744,10 +744,10 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
744
744
  };
745
745
  } | null;
746
746
  }, {
747
- id: string;
748
747
  name: string | null;
749
- updatedAt: Date;
750
748
  createdAt: Date;
749
+ updatedAt: Date;
750
+ id: string;
751
751
  user: {
752
752
  id: string;
753
753
  lastName: string;
@@ -765,9 +765,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
765
765
  fa: {
766
766
  spreadsheetId: string;
767
767
  activeWorkers: {
768
- id: string;
769
- updatedAt: Date;
770
768
  createdAt: Date;
769
+ updatedAt: Date;
770
+ id: string;
771
771
  startDate: Date;
772
772
  lastSyncedAt: Date | null;
773
773
  lastError: string | null;
@@ -779,9 +779,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
779
779
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
780
780
  };
781
781
  newYellowGreen: {
782
- id: string;
783
- updatedAt: Date;
784
782
  createdAt: Date;
783
+ updatedAt: Date;
784
+ id: string;
785
785
  startDate: Date;
786
786
  lastSyncedAt: Date | null;
787
787
  lastError: string | null;
@@ -796,9 +796,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
796
796
  sa: {
797
797
  spreadsheetId: string;
798
798
  activeWorkers: {
799
- id: string;
800
- updatedAt: Date;
801
799
  createdAt: Date;
800
+ updatedAt: Date;
801
+ id: string;
802
802
  startDate: Date;
803
803
  lastSyncedAt: Date | null;
804
804
  lastError: string | null;
@@ -810,9 +810,9 @@ export declare const UserSheetLinkSchema: z.ZodObject<{
810
810
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
811
811
  };
812
812
  newYellowGreen: {
813
- id: string;
814
- updatedAt: Date;
815
813
  createdAt: Date;
814
+ updatedAt: Date;
815
+ id: string;
816
816
  startDate: Date;
817
817
  lastSyncedAt: Date | null;
818
818
  lastError: string | null;
@@ -1221,15 +1221,15 @@ export declare const TabRegistryEntrySchema: z.ZodObject<{
1221
1221
  endColumnLetter: z.ZodString;
1222
1222
  source: z.ZodEnum<["actives", "bookings"]>;
1223
1223
  }, "strip", z.ZodTypeAny, {
1224
- source: "bookings" | "actives";
1225
- displayName: string;
1224
+ source: "actives" | "bookings";
1226
1225
  tabType: "ACTIVE_WORKERS" | "NEW_YELLOW_GREEN";
1226
+ displayName: string;
1227
1227
  columnCount: number;
1228
1228
  endColumnLetter: string;
1229
1229
  }, {
1230
- source: "bookings" | "actives";
1231
- displayName: string;
1230
+ source: "actives" | "bookings";
1232
1231
  tabType: "ACTIVE_WORKERS" | "NEW_YELLOW_GREEN";
1232
+ displayName: string;
1233
1233
  columnCount: number;
1234
1234
  endColumnLetter: string;
1235
1235
  }>;
@@ -1247,21 +1247,21 @@ export declare const FilterSheetLinkSchema: z.ZodObject<{
1247
1247
  }, "strip", z.ZodTypeAny, {
1248
1248
  page: number;
1249
1249
  limit: number;
1250
- sortBy: "updatedAt" | "createdAt";
1250
+ sortBy: "createdAt" | "updatedAt";
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
- userId?: string | undefined;
1258
1257
  page?: number | undefined;
1259
1258
  limit?: number | undefined;
1260
- sortBy?: "updatedAt" | "createdAt" | undefined;
1261
- sortOrder?: "ASC" | "DESC" | undefined;
1259
+ userId?: string | undefined;
1262
1260
  hasError?: boolean | undefined;
1263
1261
  hasFaSheet?: boolean | undefined;
1264
1262
  hasSaSheet?: boolean | undefined;
1263
+ sortBy?: "createdAt" | "updatedAt" | undefined;
1264
+ sortOrder?: "ASC" | "DESC" | undefined;
1265
1265
  }>;
1266
1266
  export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1267
1267
  items: z.ZodArray<z.ZodObject<{
@@ -1291,8 +1291,8 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1291
1291
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1292
1292
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
1293
1293
  }, "strip", z.ZodTypeAny, {
1294
- status: string;
1295
1294
  id: string;
1295
+ status: string;
1296
1296
  roles: string[];
1297
1297
  lastName: string;
1298
1298
  firstName: string;
@@ -1335,9 +1335,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1335
1335
  createdAt: z.ZodDate;
1336
1336
  updatedAt: z.ZodDate;
1337
1337
  }, "strip", z.ZodTypeAny, {
1338
- id: string;
1339
- updatedAt: Date;
1340
1338
  createdAt: Date;
1339
+ updatedAt: Date;
1340
+ id: string;
1341
1341
  startDate: Date;
1342
1342
  startRow: number;
1343
1343
  enabled: boolean;
@@ -1348,9 +1348,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1348
1348
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
1349
1349
  tabName?: string | null | undefined;
1350
1350
  }, {
1351
- id: string;
1352
- updatedAt: Date;
1353
1351
  createdAt: Date;
1352
+ updatedAt: Date;
1353
+ id: string;
1354
1354
  startDate: Date;
1355
1355
  lastSyncedAt: Date | null;
1356
1356
  lastError: string | null;
@@ -1376,9 +1376,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1376
1376
  createdAt: z.ZodDate;
1377
1377
  updatedAt: z.ZodDate;
1378
1378
  }, "strip", z.ZodTypeAny, {
1379
- id: string;
1380
- updatedAt: Date;
1381
1379
  createdAt: Date;
1380
+ updatedAt: Date;
1381
+ id: string;
1382
1382
  startDate: Date;
1383
1383
  startRow: number;
1384
1384
  enabled: boolean;
@@ -1389,9 +1389,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1389
1389
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
1390
1390
  tabName?: string | null | undefined;
1391
1391
  }, {
1392
- id: string;
1393
- updatedAt: Date;
1394
1392
  createdAt: Date;
1393
+ updatedAt: Date;
1394
+ id: string;
1395
1395
  startDate: Date;
1396
1396
  lastSyncedAt: Date | null;
1397
1397
  lastError: string | null;
@@ -1405,9 +1405,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1405
1405
  }, "strip", z.ZodTypeAny, {
1406
1406
  spreadsheetId: string;
1407
1407
  activeWorkers: {
1408
- id: string;
1409
- updatedAt: Date;
1410
1408
  createdAt: Date;
1409
+ updatedAt: Date;
1410
+ id: string;
1411
1411
  startDate: Date;
1412
1412
  startRow: number;
1413
1413
  enabled: boolean;
@@ -1419,9 +1419,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1419
1419
  tabName?: string | null | undefined;
1420
1420
  };
1421
1421
  newYellowGreen: {
1422
- id: string;
1423
- updatedAt: Date;
1424
1422
  createdAt: Date;
1423
+ updatedAt: Date;
1424
+ id: string;
1425
1425
  startDate: Date;
1426
1426
  startRow: number;
1427
1427
  enabled: boolean;
@@ -1435,9 +1435,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1435
1435
  }, {
1436
1436
  spreadsheetId: string;
1437
1437
  activeWorkers: {
1438
- id: string;
1439
- updatedAt: Date;
1440
1438
  createdAt: Date;
1439
+ updatedAt: Date;
1440
+ id: string;
1441
1441
  startDate: Date;
1442
1442
  lastSyncedAt: Date | null;
1443
1443
  lastError: string | null;
@@ -1449,9 +1449,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1449
1449
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1450
1450
  };
1451
1451
  newYellowGreen: {
1452
- id: string;
1453
- updatedAt: Date;
1454
1452
  createdAt: Date;
1453
+ updatedAt: Date;
1454
+ id: string;
1455
1455
  startDate: Date;
1456
1456
  lastSyncedAt: Date | null;
1457
1457
  lastError: string | null;
@@ -1480,9 +1480,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1480
1480
  createdAt: z.ZodDate;
1481
1481
  updatedAt: z.ZodDate;
1482
1482
  }, "strip", z.ZodTypeAny, {
1483
- id: string;
1484
- updatedAt: Date;
1485
1483
  createdAt: Date;
1484
+ updatedAt: Date;
1485
+ id: string;
1486
1486
  startDate: Date;
1487
1487
  startRow: number;
1488
1488
  enabled: boolean;
@@ -1493,9 +1493,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1493
1493
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
1494
1494
  tabName?: string | null | undefined;
1495
1495
  }, {
1496
- id: string;
1497
- updatedAt: Date;
1498
1496
  createdAt: Date;
1497
+ updatedAt: Date;
1498
+ id: string;
1499
1499
  startDate: Date;
1500
1500
  lastSyncedAt: Date | null;
1501
1501
  lastError: string | null;
@@ -1521,9 +1521,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1521
1521
  createdAt: z.ZodDate;
1522
1522
  updatedAt: z.ZodDate;
1523
1523
  }, "strip", z.ZodTypeAny, {
1524
- id: string;
1525
- updatedAt: Date;
1526
1524
  createdAt: Date;
1525
+ updatedAt: Date;
1526
+ id: string;
1527
1527
  startDate: Date;
1528
1528
  startRow: number;
1529
1529
  enabled: boolean;
@@ -1534,9 +1534,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1534
1534
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
1535
1535
  tabName?: string | null | undefined;
1536
1536
  }, {
1537
- id: string;
1538
- updatedAt: Date;
1539
1537
  createdAt: Date;
1538
+ updatedAt: Date;
1539
+ id: string;
1540
1540
  startDate: Date;
1541
1541
  lastSyncedAt: Date | null;
1542
1542
  lastError: string | null;
@@ -1550,9 +1550,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1550
1550
  }, "strip", z.ZodTypeAny, {
1551
1551
  spreadsheetId: string;
1552
1552
  activeWorkers: {
1553
- id: string;
1554
- updatedAt: Date;
1555
1553
  createdAt: Date;
1554
+ updatedAt: Date;
1555
+ id: string;
1556
1556
  startDate: Date;
1557
1557
  startRow: number;
1558
1558
  enabled: boolean;
@@ -1564,9 +1564,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1564
1564
  tabName?: string | null | undefined;
1565
1565
  };
1566
1566
  newYellowGreen: {
1567
- id: string;
1568
- updatedAt: Date;
1569
1567
  createdAt: Date;
1568
+ updatedAt: Date;
1569
+ id: string;
1570
1570
  startDate: Date;
1571
1571
  startRow: number;
1572
1572
  enabled: boolean;
@@ -1580,9 +1580,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1580
1580
  }, {
1581
1581
  spreadsheetId: string;
1582
1582
  activeWorkers: {
1583
- id: string;
1584
- updatedAt: Date;
1585
1583
  createdAt: Date;
1584
+ updatedAt: Date;
1585
+ id: string;
1586
1586
  startDate: Date;
1587
1587
  lastSyncedAt: Date | null;
1588
1588
  lastError: string | null;
@@ -1594,9 +1594,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1594
1594
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1595
1595
  };
1596
1596
  newYellowGreen: {
1597
- id: string;
1598
- updatedAt: Date;
1599
1597
  createdAt: Date;
1598
+ updatedAt: Date;
1599
+ id: string;
1600
1600
  startDate: Date;
1601
1601
  lastSyncedAt: Date | null;
1602
1602
  lastError: string | null;
@@ -1611,13 +1611,13 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1611
1611
  createdAt: z.ZodDate;
1612
1612
  updatedAt: z.ZodDate;
1613
1613
  }, "strip", z.ZodTypeAny, {
1614
- id: string;
1615
1614
  name: string | null;
1616
- updatedAt: Date;
1617
1615
  createdAt: Date;
1616
+ updatedAt: Date;
1617
+ id: string;
1618
1618
  user: {
1619
- status: string;
1620
1619
  id: string;
1620
+ status: string;
1621
1621
  roles: string[];
1622
1622
  lastName: string;
1623
1623
  firstName: string;
@@ -1632,9 +1632,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1632
1632
  fa: {
1633
1633
  spreadsheetId: string;
1634
1634
  activeWorkers: {
1635
- id: string;
1636
- updatedAt: Date;
1637
1635
  createdAt: Date;
1636
+ updatedAt: Date;
1637
+ id: string;
1638
1638
  startDate: Date;
1639
1639
  startRow: number;
1640
1640
  enabled: boolean;
@@ -1646,9 +1646,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1646
1646
  tabName?: string | null | undefined;
1647
1647
  };
1648
1648
  newYellowGreen: {
1649
- id: string;
1650
- updatedAt: Date;
1651
1649
  createdAt: Date;
1650
+ updatedAt: Date;
1651
+ id: string;
1652
1652
  startDate: Date;
1653
1653
  startRow: number;
1654
1654
  enabled: boolean;
@@ -1663,9 +1663,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1663
1663
  sa: {
1664
1664
  spreadsheetId: string;
1665
1665
  activeWorkers: {
1666
- id: string;
1667
- updatedAt: Date;
1668
1666
  createdAt: Date;
1667
+ updatedAt: Date;
1668
+ id: string;
1669
1669
  startDate: Date;
1670
1670
  startRow: number;
1671
1671
  enabled: boolean;
@@ -1677,9 +1677,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1677
1677
  tabName?: string | null | undefined;
1678
1678
  };
1679
1679
  newYellowGreen: {
1680
- id: string;
1681
- updatedAt: Date;
1682
1680
  createdAt: Date;
1681
+ updatedAt: Date;
1682
+ id: string;
1683
1683
  startDate: Date;
1684
1684
  startRow: number;
1685
1685
  enabled: boolean;
@@ -1692,10 +1692,10 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1692
1692
  };
1693
1693
  } | null;
1694
1694
  }, {
1695
- id: string;
1696
1695
  name: string | null;
1697
- updatedAt: Date;
1698
1696
  createdAt: Date;
1697
+ updatedAt: Date;
1698
+ id: string;
1699
1699
  user: {
1700
1700
  id: string;
1701
1701
  lastName: string;
@@ -1713,9 +1713,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1713
1713
  fa: {
1714
1714
  spreadsheetId: string;
1715
1715
  activeWorkers: {
1716
- id: string;
1717
- updatedAt: Date;
1718
1716
  createdAt: Date;
1717
+ updatedAt: Date;
1718
+ id: string;
1719
1719
  startDate: Date;
1720
1720
  lastSyncedAt: Date | null;
1721
1721
  lastError: string | null;
@@ -1727,9 +1727,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1727
1727
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1728
1728
  };
1729
1729
  newYellowGreen: {
1730
- id: string;
1731
- updatedAt: Date;
1732
1730
  createdAt: Date;
1731
+ updatedAt: Date;
1732
+ id: string;
1733
1733
  startDate: Date;
1734
1734
  lastSyncedAt: Date | null;
1735
1735
  lastError: string | null;
@@ -1744,9 +1744,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1744
1744
  sa: {
1745
1745
  spreadsheetId: string;
1746
1746
  activeWorkers: {
1747
- id: string;
1748
- updatedAt: Date;
1749
1747
  createdAt: Date;
1748
+ updatedAt: Date;
1749
+ id: string;
1750
1750
  startDate: Date;
1751
1751
  lastSyncedAt: Date | null;
1752
1752
  lastError: string | null;
@@ -1758,9 +1758,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1758
1758
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1759
1759
  };
1760
1760
  newYellowGreen: {
1761
- id: string;
1762
- updatedAt: Date;
1763
1761
  createdAt: Date;
1762
+ updatedAt: Date;
1763
+ id: string;
1764
1764
  startDate: Date;
1765
1765
  lastSyncedAt: Date | null;
1766
1766
  lastError: string | null;
@@ -1781,13 +1781,13 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1781
1781
  }, "strip", z.ZodTypeAny, {
1782
1782
  limit: number;
1783
1783
  items: {
1784
- id: string;
1785
1784
  name: string | null;
1786
- updatedAt: Date;
1787
1785
  createdAt: Date;
1786
+ updatedAt: Date;
1787
+ id: string;
1788
1788
  user: {
1789
- status: string;
1790
1789
  id: string;
1790
+ status: string;
1791
1791
  roles: string[];
1792
1792
  lastName: string;
1793
1793
  firstName: string;
@@ -1802,9 +1802,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1802
1802
  fa: {
1803
1803
  spreadsheetId: string;
1804
1804
  activeWorkers: {
1805
- id: string;
1806
- updatedAt: Date;
1807
1805
  createdAt: Date;
1806
+ updatedAt: Date;
1807
+ id: string;
1808
1808
  startDate: Date;
1809
1809
  startRow: number;
1810
1810
  enabled: boolean;
@@ -1816,9 +1816,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1816
1816
  tabName?: string | null | undefined;
1817
1817
  };
1818
1818
  newYellowGreen: {
1819
- id: string;
1820
- updatedAt: Date;
1821
1819
  createdAt: Date;
1820
+ updatedAt: Date;
1821
+ id: string;
1822
1822
  startDate: Date;
1823
1823
  startRow: number;
1824
1824
  enabled: boolean;
@@ -1833,9 +1833,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1833
1833
  sa: {
1834
1834
  spreadsheetId: string;
1835
1835
  activeWorkers: {
1836
- id: string;
1837
- updatedAt: Date;
1838
1836
  createdAt: Date;
1837
+ updatedAt: Date;
1838
+ id: string;
1839
1839
  startDate: Date;
1840
1840
  startRow: number;
1841
1841
  enabled: boolean;
@@ -1847,9 +1847,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1847
1847
  tabName?: string | null | undefined;
1848
1848
  };
1849
1849
  newYellowGreen: {
1850
- id: string;
1851
- updatedAt: Date;
1852
1850
  createdAt: Date;
1851
+ updatedAt: Date;
1852
+ id: string;
1853
1853
  startDate: Date;
1854
1854
  startRow: number;
1855
1855
  enabled: boolean;
@@ -1869,10 +1869,10 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1869
1869
  }, {
1870
1870
  limit: number;
1871
1871
  items: {
1872
- id: string;
1873
1872
  name: string | null;
1874
- updatedAt: Date;
1875
1873
  createdAt: Date;
1874
+ updatedAt: Date;
1875
+ id: string;
1876
1876
  user: {
1877
1877
  id: string;
1878
1878
  lastName: string;
@@ -1890,9 +1890,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1890
1890
  fa: {
1891
1891
  spreadsheetId: string;
1892
1892
  activeWorkers: {
1893
- id: string;
1894
- updatedAt: Date;
1895
1893
  createdAt: Date;
1894
+ updatedAt: Date;
1895
+ id: string;
1896
1896
  startDate: Date;
1897
1897
  lastSyncedAt: Date | null;
1898
1898
  lastError: string | null;
@@ -1904,9 +1904,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1904
1904
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1905
1905
  };
1906
1906
  newYellowGreen: {
1907
- id: string;
1908
- updatedAt: Date;
1909
1907
  createdAt: Date;
1908
+ updatedAt: Date;
1909
+ id: string;
1910
1910
  startDate: Date;
1911
1911
  lastSyncedAt: Date | null;
1912
1912
  lastError: string | null;
@@ -1921,9 +1921,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1921
1921
  sa: {
1922
1922
  spreadsheetId: string;
1923
1923
  activeWorkers: {
1924
- id: string;
1925
- updatedAt: Date;
1926
1924
  createdAt: Date;
1925
+ updatedAt: Date;
1926
+ id: string;
1927
1927
  startDate: Date;
1928
1928
  lastSyncedAt: Date | null;
1929
1929
  lastError: string | null;
@@ -1935,9 +1935,9 @@ export declare const PaginatedSheetLinkResponseSchema: z.ZodObject<{
1935
1935
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
1936
1936
  };
1937
1937
  newYellowGreen: {
1938
- id: string;
1939
- updatedAt: Date;
1940
1938
  createdAt: Date;
1939
+ updatedAt: Date;
1940
+ id: string;
1941
1941
  startDate: Date;
1942
1942
  lastSyncedAt: Date | null;
1943
1943
  lastError: string | null;
@@ -1967,20 +1967,20 @@ export declare const ActiveWorkersSortItemSchema: z.ZodObject<{
1967
1967
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
1968
1968
  order: z.ZodEnum<["ASC", "DESC"]>;
1969
1969
  }, "strip", z.ZodTypeAny, {
1970
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1970
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1971
1971
  order: "ASC" | "DESC";
1972
1972
  }, {
1973
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1973
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1974
1974
  order: "ASC" | "DESC";
1975
1975
  }>;
1976
1976
  export declare const ActiveWorkersSortSchema: z.ZodArray<z.ZodObject<{
1977
1977
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
1978
1978
  order: z.ZodEnum<["ASC", "DESC"]>;
1979
1979
  }, "strip", z.ZodTypeAny, {
1980
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1980
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1981
1981
  order: "ASC" | "DESC";
1982
1982
  }, {
1983
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1983
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1984
1984
  order: "ASC" | "DESC";
1985
1985
  }>, "many">;
1986
1986
  export declare const MyActiveSortResponseSchema: z.ZodObject<{
@@ -1988,20 +1988,20 @@ export declare const MyActiveSortResponseSchema: z.ZodObject<{
1988
1988
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
1989
1989
  order: z.ZodEnum<["ASC", "DESC"]>;
1990
1990
  }, "strip", z.ZodTypeAny, {
1991
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1991
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1992
1992
  order: "ASC" | "DESC";
1993
1993
  }, {
1994
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1994
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
1995
1995
  order: "ASC" | "DESC";
1996
1996
  }>, "many">>;
1997
1997
  }, "strip", z.ZodTypeAny, {
1998
1998
  sort: {
1999
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
1999
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2000
2000
  order: "ASC" | "DESC";
2001
2001
  }[] | null;
2002
2002
  }, {
2003
2003
  sort: {
2004
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
2004
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2005
2005
  order: "ASC" | "DESC";
2006
2006
  }[] | null;
2007
2007
  }>;
@@ -2010,20 +2010,20 @@ export declare const UpdateMyActiveSortSchema: z.ZodObject<{
2010
2010
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
2011
2011
  order: z.ZodEnum<["ASC", "DESC"]>;
2012
2012
  }, "strip", z.ZodTypeAny, {
2013
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
2013
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2014
2014
  order: "ASC" | "DESC";
2015
2015
  }, {
2016
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
2016
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2017
2017
  order: "ASC" | "DESC";
2018
2018
  }>, "many">;
2019
2019
  }, "strip", z.ZodTypeAny, {
2020
2020
  sort: {
2021
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
2021
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2022
2022
  order: "ASC" | "DESC";
2023
2023
  }[];
2024
2024
  }, {
2025
2025
  sort: {
2026
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
2026
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
2027
2027
  order: "ASC" | "DESC";
2028
2028
  }[];
2029
2029
  }>;
@@ -2071,11 +2071,11 @@ export declare const BatchResyncSheetLinkResponseSchema: z.ZodObject<{
2071
2071
  links: z.ZodNumber;
2072
2072
  rebuilt: z.ZodNumber;
2073
2073
  }, "strip", z.ZodTypeAny, {
2074
- links: number;
2075
2074
  rebuilt: number;
2076
- }, {
2077
2075
  links: number;
2076
+ }, {
2078
2077
  rebuilt: number;
2078
+ links: number;
2079
2079
  }>;
2080
2080
  export declare const SheetsSyncConfigSchema: z.ZodObject<{
2081
2081
  enabled: z.ZodBoolean;
@@ -2101,9 +2101,9 @@ export declare const CheckYellowConfigSchema: z.ZodObject<{
2101
2101
  createdAt: z.ZodDate;
2102
2102
  updatedAt: z.ZodDate;
2103
2103
  }, "strip", z.ZodTypeAny, {
2104
- id: string;
2105
- updatedAt: Date;
2106
2104
  createdAt: Date;
2105
+ updatedAt: Date;
2106
+ id: string;
2107
2107
  startDate: Date | null;
2108
2108
  startRow: number;
2109
2109
  enabled: boolean;
@@ -2114,9 +2114,9 @@ export declare const CheckYellowConfigSchema: z.ZodObject<{
2114
2114
  lastRowCount: number;
2115
2115
  spreadsheetId: string | null;
2116
2116
  }, {
2117
- id: string;
2118
- updatedAt: Date;
2119
2117
  createdAt: Date;
2118
+ updatedAt: Date;
2119
+ id: string;
2120
2120
  startDate: Date | null;
2121
2121
  startRow: number;
2122
2122
  enabled: boolean;
@@ -2165,9 +2165,9 @@ export declare const ActivesTodayConfigSchema: z.ZodObject<{
2165
2165
  createdAt: z.ZodDate;
2166
2166
  updatedAt: z.ZodDate;
2167
2167
  }, "strip", z.ZodTypeAny, {
2168
- id: string;
2169
- updatedAt: Date;
2170
2168
  createdAt: Date;
2169
+ updatedAt: Date;
2170
+ id: string;
2171
2171
  enabled: boolean;
2172
2172
  tabName: string | null;
2173
2173
  lastSyncedAt: Date | null;
@@ -2176,9 +2176,9 @@ export declare const ActivesTodayConfigSchema: z.ZodObject<{
2176
2176
  lastRowCount: number;
2177
2177
  spreadsheetId: string | null;
2178
2178
  }, {
2179
- id: string;
2180
- updatedAt: Date;
2181
2179
  createdAt: Date;
2180
+ updatedAt: Date;
2181
+ id: string;
2182
2182
  enabled: boolean;
2183
2183
  tabName: string | null;
2184
2184
  lastSyncedAt: Date | null;
@@ -2236,7 +2236,7 @@ export declare const sheetsSyncContract: {
2236
2236
  method: "GET";
2237
2237
  path: "/v2/sheets-sync/config";
2238
2238
  responses: {
2239
- 400: z.ZodObject<{
2239
+ 401: z.ZodObject<{
2240
2240
  statusCode: z.ZodNumber;
2241
2241
  message: z.ZodString;
2242
2242
  code: z.ZodString;
@@ -2245,23 +2245,23 @@ export declare const sheetsSyncContract: {
2245
2245
  path: z.ZodString;
2246
2246
  correlationId: z.ZodOptional<z.ZodString>;
2247
2247
  }, "strip", z.ZodTypeAny, {
2248
- message: string;
2249
2248
  code: string;
2250
2249
  path: string;
2250
+ message: string;
2251
2251
  statusCode: number;
2252
2252
  timestamp: string;
2253
2253
  details?: unknown;
2254
2254
  correlationId?: string | undefined;
2255
2255
  }, {
2256
- message: string;
2257
2256
  code: string;
2258
2257
  path: string;
2258
+ message: string;
2259
2259
  statusCode: number;
2260
2260
  timestamp: string;
2261
2261
  details?: unknown;
2262
2262
  correlationId?: string | undefined;
2263
2263
  }>;
2264
- 401: z.ZodObject<{
2264
+ 400: z.ZodObject<{
2265
2265
  statusCode: z.ZodNumber;
2266
2266
  message: z.ZodString;
2267
2267
  code: z.ZodString;
@@ -2270,17 +2270,17 @@ export declare const sheetsSyncContract: {
2270
2270
  path: z.ZodString;
2271
2271
  correlationId: z.ZodOptional<z.ZodString>;
2272
2272
  }, "strip", z.ZodTypeAny, {
2273
- message: string;
2274
2273
  code: string;
2275
2274
  path: string;
2275
+ message: string;
2276
2276
  statusCode: number;
2277
2277
  timestamp: string;
2278
2278
  details?: unknown;
2279
2279
  correlationId?: string | undefined;
2280
2280
  }, {
2281
- message: string;
2282
2281
  code: string;
2283
2282
  path: string;
2283
+ message: string;
2284
2284
  statusCode: number;
2285
2285
  timestamp: string;
2286
2286
  details?: unknown;
@@ -2295,17 +2295,17 @@ export declare const sheetsSyncContract: {
2295
2295
  path: z.ZodString;
2296
2296
  correlationId: z.ZodOptional<z.ZodString>;
2297
2297
  }, "strip", z.ZodTypeAny, {
2298
- message: string;
2299
2298
  code: string;
2300
2299
  path: string;
2300
+ message: string;
2301
2301
  statusCode: number;
2302
2302
  timestamp: string;
2303
2303
  details?: unknown;
2304
2304
  correlationId?: string | undefined;
2305
2305
  }, {
2306
- message: string;
2307
2306
  code: string;
2308
2307
  path: string;
2308
+ message: string;
2309
2309
  statusCode: number;
2310
2310
  timestamp: string;
2311
2311
  details?: unknown;
@@ -2320,17 +2320,17 @@ export declare const sheetsSyncContract: {
2320
2320
  path: z.ZodString;
2321
2321
  correlationId: z.ZodOptional<z.ZodString>;
2322
2322
  }, "strip", z.ZodTypeAny, {
2323
- message: string;
2324
2323
  code: string;
2325
2324
  path: string;
2325
+ message: string;
2326
2326
  statusCode: number;
2327
2327
  timestamp: string;
2328
2328
  details?: unknown;
2329
2329
  correlationId?: string | undefined;
2330
2330
  }, {
2331
- message: string;
2332
2331
  code: string;
2333
2332
  path: string;
2333
+ message: string;
2334
2334
  statusCode: number;
2335
2335
  timestamp: string;
2336
2336
  details?: unknown;
@@ -2353,7 +2353,7 @@ export declare const sheetsSyncContract: {
2353
2353
  method: "GET";
2354
2354
  path: "/v2/sheets-sync/tab-registry";
2355
2355
  responses: {
2356
- 400: z.ZodObject<{
2356
+ 401: z.ZodObject<{
2357
2357
  statusCode: z.ZodNumber;
2358
2358
  message: z.ZodString;
2359
2359
  code: z.ZodString;
@@ -2362,23 +2362,23 @@ export declare const sheetsSyncContract: {
2362
2362
  path: z.ZodString;
2363
2363
  correlationId: z.ZodOptional<z.ZodString>;
2364
2364
  }, "strip", z.ZodTypeAny, {
2365
- message: string;
2366
2365
  code: string;
2367
2366
  path: string;
2367
+ message: string;
2368
2368
  statusCode: number;
2369
2369
  timestamp: string;
2370
2370
  details?: unknown;
2371
2371
  correlationId?: string | undefined;
2372
2372
  }, {
2373
- message: string;
2374
2373
  code: string;
2375
2374
  path: string;
2375
+ message: string;
2376
2376
  statusCode: number;
2377
2377
  timestamp: string;
2378
2378
  details?: unknown;
2379
2379
  correlationId?: string | undefined;
2380
2380
  }>;
2381
- 401: z.ZodObject<{
2381
+ 400: z.ZodObject<{
2382
2382
  statusCode: z.ZodNumber;
2383
2383
  message: z.ZodString;
2384
2384
  code: z.ZodString;
@@ -2387,17 +2387,17 @@ export declare const sheetsSyncContract: {
2387
2387
  path: z.ZodString;
2388
2388
  correlationId: z.ZodOptional<z.ZodString>;
2389
2389
  }, "strip", z.ZodTypeAny, {
2390
- message: string;
2391
2390
  code: string;
2392
2391
  path: string;
2392
+ message: string;
2393
2393
  statusCode: number;
2394
2394
  timestamp: string;
2395
2395
  details?: unknown;
2396
2396
  correlationId?: string | undefined;
2397
2397
  }, {
2398
- message: string;
2399
2398
  code: string;
2400
2399
  path: string;
2400
+ message: string;
2401
2401
  statusCode: number;
2402
2402
  timestamp: string;
2403
2403
  details?: unknown;
@@ -2412,17 +2412,17 @@ export declare const sheetsSyncContract: {
2412
2412
  path: z.ZodString;
2413
2413
  correlationId: z.ZodOptional<z.ZodString>;
2414
2414
  }, "strip", z.ZodTypeAny, {
2415
- message: string;
2416
2415
  code: string;
2417
2416
  path: string;
2417
+ message: string;
2418
2418
  statusCode: number;
2419
2419
  timestamp: string;
2420
2420
  details?: unknown;
2421
2421
  correlationId?: string | undefined;
2422
2422
  }, {
2423
- message: string;
2424
2423
  code: string;
2425
2424
  path: string;
2425
+ message: string;
2426
2426
  statusCode: number;
2427
2427
  timestamp: string;
2428
2428
  details?: unknown;
@@ -2437,17 +2437,17 @@ export declare const sheetsSyncContract: {
2437
2437
  path: z.ZodString;
2438
2438
  correlationId: z.ZodOptional<z.ZodString>;
2439
2439
  }, "strip", z.ZodTypeAny, {
2440
- message: string;
2441
2440
  code: string;
2442
2441
  path: string;
2442
+ message: string;
2443
2443
  statusCode: number;
2444
2444
  timestamp: string;
2445
2445
  details?: unknown;
2446
2446
  correlationId?: string | undefined;
2447
2447
  }, {
2448
- message: string;
2449
2448
  code: string;
2450
2449
  path: string;
2450
+ message: string;
2451
2451
  statusCode: number;
2452
2452
  timestamp: string;
2453
2453
  details?: unknown;
@@ -2460,15 +2460,15 @@ export declare const sheetsSyncContract: {
2460
2460
  endColumnLetter: z.ZodString;
2461
2461
  source: z.ZodEnum<["actives", "bookings"]>;
2462
2462
  }, "strip", z.ZodTypeAny, {
2463
- source: "bookings" | "actives";
2464
- displayName: string;
2463
+ source: "actives" | "bookings";
2465
2464
  tabType: "ACTIVE_WORKERS" | "NEW_YELLOW_GREEN";
2465
+ displayName: string;
2466
2466
  columnCount: number;
2467
2467
  endColumnLetter: string;
2468
2468
  }, {
2469
- source: "bookings" | "actives";
2470
- displayName: string;
2469
+ source: "actives" | "bookings";
2471
2470
  tabType: "ACTIVE_WORKERS" | "NEW_YELLOW_GREEN";
2471
+ displayName: string;
2472
2472
  columnCount: number;
2473
2473
  endColumnLetter: string;
2474
2474
  }>, "many">;
@@ -2488,27 +2488,27 @@ export declare const sheetsSyncContract: {
2488
2488
  }, "strip", z.ZodTypeAny, {
2489
2489
  page: number;
2490
2490
  limit: number;
2491
- sortBy: "updatedAt" | "createdAt";
2491
+ sortBy: "createdAt" | "updatedAt";
2492
2492
  sortOrder: "ASC" | "DESC";
2493
2493
  userId?: string | undefined;
2494
2494
  hasError?: boolean | undefined;
2495
2495
  hasFaSheet?: boolean | undefined;
2496
2496
  hasSaSheet?: boolean | undefined;
2497
2497
  }, {
2498
- userId?: string | undefined;
2499
2498
  page?: number | undefined;
2500
2499
  limit?: number | undefined;
2501
- sortBy?: "updatedAt" | "createdAt" | undefined;
2502
- sortOrder?: "ASC" | "DESC" | undefined;
2500
+ userId?: string | undefined;
2503
2501
  hasError?: boolean | undefined;
2504
2502
  hasFaSheet?: boolean | undefined;
2505
2503
  hasSaSheet?: boolean | undefined;
2504
+ sortBy?: "createdAt" | "updatedAt" | undefined;
2505
+ sortOrder?: "ASC" | "DESC" | undefined;
2506
2506
  }>;
2507
2507
  summary: "List user-level sheet links (paginated)";
2508
2508
  method: "GET";
2509
2509
  path: "/v2/sheets-sync/links";
2510
2510
  responses: {
2511
- 400: z.ZodObject<{
2511
+ 401: z.ZodObject<{
2512
2512
  statusCode: z.ZodNumber;
2513
2513
  message: z.ZodString;
2514
2514
  code: z.ZodString;
@@ -2517,23 +2517,23 @@ export declare const sheetsSyncContract: {
2517
2517
  path: z.ZodString;
2518
2518
  correlationId: z.ZodOptional<z.ZodString>;
2519
2519
  }, "strip", z.ZodTypeAny, {
2520
- message: string;
2521
2520
  code: string;
2522
2521
  path: string;
2522
+ message: string;
2523
2523
  statusCode: number;
2524
2524
  timestamp: string;
2525
2525
  details?: unknown;
2526
2526
  correlationId?: string | undefined;
2527
2527
  }, {
2528
- message: string;
2529
2528
  code: string;
2530
2529
  path: string;
2530
+ message: string;
2531
2531
  statusCode: number;
2532
2532
  timestamp: string;
2533
2533
  details?: unknown;
2534
2534
  correlationId?: string | undefined;
2535
2535
  }>;
2536
- 401: z.ZodObject<{
2536
+ 400: z.ZodObject<{
2537
2537
  statusCode: z.ZodNumber;
2538
2538
  message: z.ZodString;
2539
2539
  code: z.ZodString;
@@ -2542,17 +2542,17 @@ export declare const sheetsSyncContract: {
2542
2542
  path: z.ZodString;
2543
2543
  correlationId: z.ZodOptional<z.ZodString>;
2544
2544
  }, "strip", z.ZodTypeAny, {
2545
- message: string;
2546
2545
  code: string;
2547
2546
  path: string;
2547
+ message: string;
2548
2548
  statusCode: number;
2549
2549
  timestamp: string;
2550
2550
  details?: unknown;
2551
2551
  correlationId?: string | undefined;
2552
2552
  }, {
2553
- message: string;
2554
2553
  code: string;
2555
2554
  path: string;
2555
+ message: string;
2556
2556
  statusCode: number;
2557
2557
  timestamp: string;
2558
2558
  details?: unknown;
@@ -2567,17 +2567,17 @@ export declare const sheetsSyncContract: {
2567
2567
  path: z.ZodString;
2568
2568
  correlationId: z.ZodOptional<z.ZodString>;
2569
2569
  }, "strip", z.ZodTypeAny, {
2570
- message: string;
2571
2570
  code: string;
2572
2571
  path: string;
2572
+ message: string;
2573
2573
  statusCode: number;
2574
2574
  timestamp: string;
2575
2575
  details?: unknown;
2576
2576
  correlationId?: string | undefined;
2577
2577
  }, {
2578
- message: string;
2579
2578
  code: string;
2580
2579
  path: string;
2580
+ message: string;
2581
2581
  statusCode: number;
2582
2582
  timestamp: string;
2583
2583
  details?: unknown;
@@ -2592,17 +2592,17 @@ export declare const sheetsSyncContract: {
2592
2592
  path: z.ZodString;
2593
2593
  correlationId: z.ZodOptional<z.ZodString>;
2594
2594
  }, "strip", z.ZodTypeAny, {
2595
- message: string;
2596
2595
  code: string;
2597
2596
  path: string;
2597
+ message: string;
2598
2598
  statusCode: number;
2599
2599
  timestamp: string;
2600
2600
  details?: unknown;
2601
2601
  correlationId?: string | undefined;
2602
2602
  }, {
2603
- message: string;
2604
2603
  code: string;
2605
2604
  path: string;
2605
+ message: string;
2606
2606
  statusCode: number;
2607
2607
  timestamp: string;
2608
2608
  details?: unknown;
@@ -2636,8 +2636,8 @@ export declare const sheetsSyncContract: {
2636
2636
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
2637
2637
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
2638
2638
  }, "strip", z.ZodTypeAny, {
2639
- status: string;
2640
2639
  id: string;
2640
+ status: string;
2641
2641
  roles: string[];
2642
2642
  lastName: string;
2643
2643
  firstName: string;
@@ -2680,9 +2680,9 @@ export declare const sheetsSyncContract: {
2680
2680
  createdAt: z.ZodDate;
2681
2681
  updatedAt: z.ZodDate;
2682
2682
  }, "strip", z.ZodTypeAny, {
2683
- id: string;
2684
- updatedAt: Date;
2685
2683
  createdAt: Date;
2684
+ updatedAt: Date;
2685
+ id: string;
2686
2686
  startDate: Date;
2687
2687
  startRow: number;
2688
2688
  enabled: boolean;
@@ -2693,9 +2693,9 @@ export declare const sheetsSyncContract: {
2693
2693
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
2694
2694
  tabName?: string | null | undefined;
2695
2695
  }, {
2696
- id: string;
2697
- updatedAt: Date;
2698
2696
  createdAt: Date;
2697
+ updatedAt: Date;
2698
+ id: string;
2699
2699
  startDate: Date;
2700
2700
  lastSyncedAt: Date | null;
2701
2701
  lastError: string | null;
@@ -2721,9 +2721,9 @@ export declare const sheetsSyncContract: {
2721
2721
  createdAt: z.ZodDate;
2722
2722
  updatedAt: z.ZodDate;
2723
2723
  }, "strip", z.ZodTypeAny, {
2724
- id: string;
2725
- updatedAt: Date;
2726
2724
  createdAt: Date;
2725
+ updatedAt: Date;
2726
+ id: string;
2727
2727
  startDate: Date;
2728
2728
  startRow: number;
2729
2729
  enabled: boolean;
@@ -2734,9 +2734,9 @@ export declare const sheetsSyncContract: {
2734
2734
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
2735
2735
  tabName?: string | null | undefined;
2736
2736
  }, {
2737
- id: string;
2738
- updatedAt: Date;
2739
2737
  createdAt: Date;
2738
+ updatedAt: Date;
2739
+ id: string;
2740
2740
  startDate: Date;
2741
2741
  lastSyncedAt: Date | null;
2742
2742
  lastError: string | null;
@@ -2750,9 +2750,9 @@ export declare const sheetsSyncContract: {
2750
2750
  }, "strip", z.ZodTypeAny, {
2751
2751
  spreadsheetId: string;
2752
2752
  activeWorkers: {
2753
- id: string;
2754
- updatedAt: Date;
2755
2753
  createdAt: Date;
2754
+ updatedAt: Date;
2755
+ id: string;
2756
2756
  startDate: Date;
2757
2757
  startRow: number;
2758
2758
  enabled: boolean;
@@ -2764,9 +2764,9 @@ export declare const sheetsSyncContract: {
2764
2764
  tabName?: string | null | undefined;
2765
2765
  };
2766
2766
  newYellowGreen: {
2767
- id: string;
2768
- updatedAt: Date;
2769
2767
  createdAt: Date;
2768
+ updatedAt: Date;
2769
+ id: string;
2770
2770
  startDate: Date;
2771
2771
  startRow: number;
2772
2772
  enabled: boolean;
@@ -2780,9 +2780,9 @@ export declare const sheetsSyncContract: {
2780
2780
  }, {
2781
2781
  spreadsheetId: string;
2782
2782
  activeWorkers: {
2783
- id: string;
2784
- updatedAt: Date;
2785
2783
  createdAt: Date;
2784
+ updatedAt: Date;
2785
+ id: string;
2786
2786
  startDate: Date;
2787
2787
  lastSyncedAt: Date | null;
2788
2788
  lastError: string | null;
@@ -2794,9 +2794,9 @@ export declare const sheetsSyncContract: {
2794
2794
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
2795
2795
  };
2796
2796
  newYellowGreen: {
2797
- id: string;
2798
- updatedAt: Date;
2799
2797
  createdAt: Date;
2798
+ updatedAt: Date;
2799
+ id: string;
2800
2800
  startDate: Date;
2801
2801
  lastSyncedAt: Date | null;
2802
2802
  lastError: string | null;
@@ -2825,9 +2825,9 @@ export declare const sheetsSyncContract: {
2825
2825
  createdAt: z.ZodDate;
2826
2826
  updatedAt: z.ZodDate;
2827
2827
  }, "strip", z.ZodTypeAny, {
2828
- id: string;
2829
- updatedAt: Date;
2830
2828
  createdAt: Date;
2829
+ updatedAt: Date;
2830
+ id: string;
2831
2831
  startDate: Date;
2832
2832
  startRow: number;
2833
2833
  enabled: boolean;
@@ -2838,9 +2838,9 @@ export declare const sheetsSyncContract: {
2838
2838
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
2839
2839
  tabName?: string | null | undefined;
2840
2840
  }, {
2841
- id: string;
2842
- updatedAt: Date;
2843
2841
  createdAt: Date;
2842
+ updatedAt: Date;
2843
+ id: string;
2844
2844
  startDate: Date;
2845
2845
  lastSyncedAt: Date | null;
2846
2846
  lastError: string | null;
@@ -2866,9 +2866,9 @@ export declare const sheetsSyncContract: {
2866
2866
  createdAt: z.ZodDate;
2867
2867
  updatedAt: z.ZodDate;
2868
2868
  }, "strip", z.ZodTypeAny, {
2869
- id: string;
2870
- updatedAt: Date;
2871
2869
  createdAt: Date;
2870
+ updatedAt: Date;
2871
+ id: string;
2872
2872
  startDate: Date;
2873
2873
  startRow: number;
2874
2874
  enabled: boolean;
@@ -2879,9 +2879,9 @@ export declare const sheetsSyncContract: {
2879
2879
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
2880
2880
  tabName?: string | null | undefined;
2881
2881
  }, {
2882
- id: string;
2883
- updatedAt: Date;
2884
2882
  createdAt: Date;
2883
+ updatedAt: Date;
2884
+ id: string;
2885
2885
  startDate: Date;
2886
2886
  lastSyncedAt: Date | null;
2887
2887
  lastError: string | null;
@@ -2895,9 +2895,9 @@ export declare const sheetsSyncContract: {
2895
2895
  }, "strip", z.ZodTypeAny, {
2896
2896
  spreadsheetId: string;
2897
2897
  activeWorkers: {
2898
- id: string;
2899
- updatedAt: Date;
2900
2898
  createdAt: Date;
2899
+ updatedAt: Date;
2900
+ id: string;
2901
2901
  startDate: Date;
2902
2902
  startRow: number;
2903
2903
  enabled: boolean;
@@ -2909,9 +2909,9 @@ export declare const sheetsSyncContract: {
2909
2909
  tabName?: string | null | undefined;
2910
2910
  };
2911
2911
  newYellowGreen: {
2912
- id: string;
2913
- updatedAt: Date;
2914
2912
  createdAt: Date;
2913
+ updatedAt: Date;
2914
+ id: string;
2915
2915
  startDate: Date;
2916
2916
  startRow: number;
2917
2917
  enabled: boolean;
@@ -2925,9 +2925,9 @@ export declare const sheetsSyncContract: {
2925
2925
  }, {
2926
2926
  spreadsheetId: string;
2927
2927
  activeWorkers: {
2928
- id: string;
2929
- updatedAt: Date;
2930
2928
  createdAt: Date;
2929
+ updatedAt: Date;
2930
+ id: string;
2931
2931
  startDate: Date;
2932
2932
  lastSyncedAt: Date | null;
2933
2933
  lastError: string | null;
@@ -2939,9 +2939,9 @@ export declare const sheetsSyncContract: {
2939
2939
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
2940
2940
  };
2941
2941
  newYellowGreen: {
2942
- id: string;
2943
- updatedAt: Date;
2944
2942
  createdAt: Date;
2943
+ updatedAt: Date;
2944
+ id: string;
2945
2945
  startDate: Date;
2946
2946
  lastSyncedAt: Date | null;
2947
2947
  lastError: string | null;
@@ -2956,13 +2956,13 @@ export declare const sheetsSyncContract: {
2956
2956
  createdAt: z.ZodDate;
2957
2957
  updatedAt: z.ZodDate;
2958
2958
  }, "strip", z.ZodTypeAny, {
2959
- id: string;
2960
2959
  name: string | null;
2961
- updatedAt: Date;
2962
2960
  createdAt: Date;
2961
+ updatedAt: Date;
2962
+ id: string;
2963
2963
  user: {
2964
- status: string;
2965
2964
  id: string;
2965
+ status: string;
2966
2966
  roles: string[];
2967
2967
  lastName: string;
2968
2968
  firstName: string;
@@ -2977,9 +2977,9 @@ export declare const sheetsSyncContract: {
2977
2977
  fa: {
2978
2978
  spreadsheetId: string;
2979
2979
  activeWorkers: {
2980
- id: string;
2981
- updatedAt: Date;
2982
2980
  createdAt: Date;
2981
+ updatedAt: Date;
2982
+ id: string;
2983
2983
  startDate: Date;
2984
2984
  startRow: number;
2985
2985
  enabled: boolean;
@@ -2991,9 +2991,9 @@ export declare const sheetsSyncContract: {
2991
2991
  tabName?: string | null | undefined;
2992
2992
  };
2993
2993
  newYellowGreen: {
2994
- id: string;
2995
- updatedAt: Date;
2996
2994
  createdAt: Date;
2995
+ updatedAt: Date;
2996
+ id: string;
2997
2997
  startDate: Date;
2998
2998
  startRow: number;
2999
2999
  enabled: boolean;
@@ -3008,9 +3008,9 @@ export declare const sheetsSyncContract: {
3008
3008
  sa: {
3009
3009
  spreadsheetId: string;
3010
3010
  activeWorkers: {
3011
- id: string;
3012
- updatedAt: Date;
3013
3011
  createdAt: Date;
3012
+ updatedAt: Date;
3013
+ id: string;
3014
3014
  startDate: Date;
3015
3015
  startRow: number;
3016
3016
  enabled: boolean;
@@ -3022,9 +3022,9 @@ export declare const sheetsSyncContract: {
3022
3022
  tabName?: string | null | undefined;
3023
3023
  };
3024
3024
  newYellowGreen: {
3025
- id: string;
3026
- updatedAt: Date;
3027
3025
  createdAt: Date;
3026
+ updatedAt: Date;
3027
+ id: string;
3028
3028
  startDate: Date;
3029
3029
  startRow: number;
3030
3030
  enabled: boolean;
@@ -3037,10 +3037,10 @@ export declare const sheetsSyncContract: {
3037
3037
  };
3038
3038
  } | null;
3039
3039
  }, {
3040
- id: string;
3041
3040
  name: string | null;
3042
- updatedAt: Date;
3043
3041
  createdAt: Date;
3042
+ updatedAt: Date;
3043
+ id: string;
3044
3044
  user: {
3045
3045
  id: string;
3046
3046
  lastName: string;
@@ -3058,9 +3058,9 @@ export declare const sheetsSyncContract: {
3058
3058
  fa: {
3059
3059
  spreadsheetId: string;
3060
3060
  activeWorkers: {
3061
- id: string;
3062
- updatedAt: Date;
3063
3061
  createdAt: Date;
3062
+ updatedAt: Date;
3063
+ id: string;
3064
3064
  startDate: Date;
3065
3065
  lastSyncedAt: Date | null;
3066
3066
  lastError: string | null;
@@ -3072,9 +3072,9 @@ export declare const sheetsSyncContract: {
3072
3072
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
3073
3073
  };
3074
3074
  newYellowGreen: {
3075
- id: string;
3076
- updatedAt: Date;
3077
3075
  createdAt: Date;
3076
+ updatedAt: Date;
3077
+ id: string;
3078
3078
  startDate: Date;
3079
3079
  lastSyncedAt: Date | null;
3080
3080
  lastError: string | null;
@@ -3089,9 +3089,9 @@ export declare const sheetsSyncContract: {
3089
3089
  sa: {
3090
3090
  spreadsheetId: string;
3091
3091
  activeWorkers: {
3092
- id: string;
3093
- updatedAt: Date;
3094
3092
  createdAt: Date;
3093
+ updatedAt: Date;
3094
+ id: string;
3095
3095
  startDate: Date;
3096
3096
  lastSyncedAt: Date | null;
3097
3097
  lastError: string | null;
@@ -3103,9 +3103,9 @@ export declare const sheetsSyncContract: {
3103
3103
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
3104
3104
  };
3105
3105
  newYellowGreen: {
3106
- id: string;
3107
- updatedAt: Date;
3108
3106
  createdAt: Date;
3107
+ updatedAt: Date;
3108
+ id: string;
3109
3109
  startDate: Date;
3110
3110
  lastSyncedAt: Date | null;
3111
3111
  lastError: string | null;
@@ -3126,13 +3126,13 @@ export declare const sheetsSyncContract: {
3126
3126
  }, "strip", z.ZodTypeAny, {
3127
3127
  limit: number;
3128
3128
  items: {
3129
- id: string;
3130
3129
  name: string | null;
3131
- updatedAt: Date;
3132
3130
  createdAt: Date;
3131
+ updatedAt: Date;
3132
+ id: string;
3133
3133
  user: {
3134
- status: string;
3135
3134
  id: string;
3135
+ status: string;
3136
3136
  roles: string[];
3137
3137
  lastName: string;
3138
3138
  firstName: string;
@@ -3147,9 +3147,9 @@ export declare const sheetsSyncContract: {
3147
3147
  fa: {
3148
3148
  spreadsheetId: string;
3149
3149
  activeWorkers: {
3150
- id: string;
3151
- updatedAt: Date;
3152
3150
  createdAt: Date;
3151
+ updatedAt: Date;
3152
+ id: string;
3153
3153
  startDate: Date;
3154
3154
  startRow: number;
3155
3155
  enabled: boolean;
@@ -3161,9 +3161,9 @@ export declare const sheetsSyncContract: {
3161
3161
  tabName?: string | null | undefined;
3162
3162
  };
3163
3163
  newYellowGreen: {
3164
- id: string;
3165
- updatedAt: Date;
3166
3164
  createdAt: Date;
3165
+ updatedAt: Date;
3166
+ id: string;
3167
3167
  startDate: Date;
3168
3168
  startRow: number;
3169
3169
  enabled: boolean;
@@ -3178,9 +3178,9 @@ export declare const sheetsSyncContract: {
3178
3178
  sa: {
3179
3179
  spreadsheetId: string;
3180
3180
  activeWorkers: {
3181
- id: string;
3182
- updatedAt: Date;
3183
3181
  createdAt: Date;
3182
+ updatedAt: Date;
3183
+ id: string;
3184
3184
  startDate: Date;
3185
3185
  startRow: number;
3186
3186
  enabled: boolean;
@@ -3192,9 +3192,9 @@ export declare const sheetsSyncContract: {
3192
3192
  tabName?: string | null | undefined;
3193
3193
  };
3194
3194
  newYellowGreen: {
3195
- id: string;
3196
- updatedAt: Date;
3197
3195
  createdAt: Date;
3196
+ updatedAt: Date;
3197
+ id: string;
3198
3198
  startDate: Date;
3199
3199
  startRow: number;
3200
3200
  enabled: boolean;
@@ -3214,10 +3214,10 @@ export declare const sheetsSyncContract: {
3214
3214
  }, {
3215
3215
  limit: number;
3216
3216
  items: {
3217
- id: string;
3218
3217
  name: string | null;
3219
- updatedAt: Date;
3220
3218
  createdAt: Date;
3219
+ updatedAt: Date;
3220
+ id: string;
3221
3221
  user: {
3222
3222
  id: string;
3223
3223
  lastName: string;
@@ -3235,9 +3235,9 @@ export declare const sheetsSyncContract: {
3235
3235
  fa: {
3236
3236
  spreadsheetId: string;
3237
3237
  activeWorkers: {
3238
- id: string;
3239
- updatedAt: Date;
3240
3238
  createdAt: Date;
3239
+ updatedAt: Date;
3240
+ id: string;
3241
3241
  startDate: Date;
3242
3242
  lastSyncedAt: Date | null;
3243
3243
  lastError: string | null;
@@ -3249,9 +3249,9 @@ export declare const sheetsSyncContract: {
3249
3249
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
3250
3250
  };
3251
3251
  newYellowGreen: {
3252
- id: string;
3253
- updatedAt: Date;
3254
3252
  createdAt: Date;
3253
+ updatedAt: Date;
3254
+ id: string;
3255
3255
  startDate: Date;
3256
3256
  lastSyncedAt: Date | null;
3257
3257
  lastError: string | null;
@@ -3266,9 +3266,9 @@ export declare const sheetsSyncContract: {
3266
3266
  sa: {
3267
3267
  spreadsheetId: string;
3268
3268
  activeWorkers: {
3269
- id: string;
3270
- updatedAt: Date;
3271
3269
  createdAt: Date;
3270
+ updatedAt: Date;
3271
+ id: string;
3272
3272
  startDate: Date;
3273
3273
  lastSyncedAt: Date | null;
3274
3274
  lastError: string | null;
@@ -3280,9 +3280,9 @@ export declare const sheetsSyncContract: {
3280
3280
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
3281
3281
  };
3282
3282
  newYellowGreen: {
3283
- id: string;
3284
- updatedAt: Date;
3285
3283
  createdAt: Date;
3284
+ updatedAt: Date;
3285
+ id: string;
3286
3286
  startDate: Date;
3287
3287
  lastSyncedAt: Date | null;
3288
3288
  lastError: string | null;
@@ -3309,17 +3309,17 @@ export declare const sheetsSyncContract: {
3309
3309
  path: z.ZodString;
3310
3310
  correlationId: z.ZodOptional<z.ZodString>;
3311
3311
  }, "strip", z.ZodTypeAny, {
3312
- message: string;
3313
3312
  code: string;
3314
3313
  path: string;
3314
+ message: string;
3315
3315
  statusCode: number;
3316
3316
  timestamp: string;
3317
3317
  details?: unknown;
3318
3318
  correlationId?: string | undefined;
3319
3319
  }, {
3320
- message: string;
3321
3320
  code: string;
3322
3321
  path: string;
3322
+ message: string;
3323
3323
  statusCode: number;
3324
3324
  timestamp: string;
3325
3325
  details?: unknown;
@@ -3353,7 +3353,7 @@ export declare const sheetsSyncContract: {
3353
3353
  }>;
3354
3354
  path: "/v2/sheets-sync/links/batch";
3355
3355
  responses: {
3356
- 400: z.ZodObject<{
3356
+ 401: z.ZodObject<{
3357
3357
  statusCode: z.ZodNumber;
3358
3358
  message: z.ZodString;
3359
3359
  code: z.ZodString;
@@ -3362,23 +3362,23 @@ export declare const sheetsSyncContract: {
3362
3362
  path: z.ZodString;
3363
3363
  correlationId: z.ZodOptional<z.ZodString>;
3364
3364
  }, "strip", z.ZodTypeAny, {
3365
- message: string;
3366
3365
  code: string;
3367
3366
  path: string;
3367
+ message: string;
3368
3368
  statusCode: number;
3369
3369
  timestamp: string;
3370
3370
  details?: unknown;
3371
3371
  correlationId?: string | undefined;
3372
3372
  }, {
3373
- message: string;
3374
3373
  code: string;
3375
3374
  path: string;
3375
+ message: string;
3376
3376
  statusCode: number;
3377
3377
  timestamp: string;
3378
3378
  details?: unknown;
3379
3379
  correlationId?: string | undefined;
3380
3380
  }>;
3381
- 401: z.ZodObject<{
3381
+ 400: z.ZodObject<{
3382
3382
  statusCode: z.ZodNumber;
3383
3383
  message: z.ZodString;
3384
3384
  code: z.ZodString;
@@ -3387,17 +3387,17 @@ export declare const sheetsSyncContract: {
3387
3387
  path: z.ZodString;
3388
3388
  correlationId: z.ZodOptional<z.ZodString>;
3389
3389
  }, "strip", z.ZodTypeAny, {
3390
- message: string;
3391
3390
  code: string;
3392
3391
  path: string;
3392
+ message: string;
3393
3393
  statusCode: number;
3394
3394
  timestamp: string;
3395
3395
  details?: unknown;
3396
3396
  correlationId?: string | undefined;
3397
3397
  }, {
3398
- message: string;
3399
3398
  code: string;
3400
3399
  path: string;
3400
+ message: string;
3401
3401
  statusCode: number;
3402
3402
  timestamp: string;
3403
3403
  details?: unknown;
@@ -3412,17 +3412,17 @@ export declare const sheetsSyncContract: {
3412
3412
  path: z.ZodString;
3413
3413
  correlationId: z.ZodOptional<z.ZodString>;
3414
3414
  }, "strip", z.ZodTypeAny, {
3415
- message: string;
3416
3415
  code: string;
3417
3416
  path: string;
3417
+ message: string;
3418
3418
  statusCode: number;
3419
3419
  timestamp: string;
3420
3420
  details?: unknown;
3421
3421
  correlationId?: string | undefined;
3422
3422
  }, {
3423
- message: string;
3424
3423
  code: string;
3425
3424
  path: string;
3425
+ message: string;
3426
3426
  statusCode: number;
3427
3427
  timestamp: string;
3428
3428
  details?: unknown;
@@ -3437,17 +3437,17 @@ export declare const sheetsSyncContract: {
3437
3437
  path: z.ZodString;
3438
3438
  correlationId: z.ZodOptional<z.ZodString>;
3439
3439
  }, "strip", z.ZodTypeAny, {
3440
- message: string;
3441
3440
  code: string;
3442
3441
  path: string;
3442
+ message: string;
3443
3443
  statusCode: number;
3444
3444
  timestamp: string;
3445
3445
  details?: unknown;
3446
3446
  correlationId?: string | undefined;
3447
3447
  }, {
3448
- message: string;
3449
3448
  code: string;
3450
3449
  path: string;
3450
+ message: string;
3451
3451
  statusCode: number;
3452
3452
  timestamp: string;
3453
3453
  details?: unknown;
@@ -3472,17 +3472,17 @@ export declare const sheetsSyncContract: {
3472
3472
  path: z.ZodString;
3473
3473
  correlationId: z.ZodOptional<z.ZodString>;
3474
3474
  }, "strip", z.ZodTypeAny, {
3475
- message: string;
3476
3475
  code: string;
3477
3476
  path: string;
3477
+ message: string;
3478
3478
  statusCode: number;
3479
3479
  timestamp: string;
3480
3480
  details?: unknown;
3481
3481
  correlationId?: string | undefined;
3482
3482
  }, {
3483
- message: string;
3484
3483
  code: string;
3485
3484
  path: string;
3485
+ message: string;
3486
3486
  statusCode: number;
3487
3487
  timestamp: string;
3488
3488
  details?: unknown;
@@ -3497,17 +3497,17 @@ export declare const sheetsSyncContract: {
3497
3497
  path: z.ZodString;
3498
3498
  correlationId: z.ZodOptional<z.ZodString>;
3499
3499
  }, "strip", z.ZodTypeAny, {
3500
- message: string;
3501
3500
  code: string;
3502
3501
  path: string;
3502
+ message: string;
3503
3503
  statusCode: number;
3504
3504
  timestamp: string;
3505
3505
  details?: unknown;
3506
3506
  correlationId?: string | undefined;
3507
3507
  }, {
3508
- message: string;
3509
3508
  code: string;
3510
3509
  path: string;
3510
+ message: string;
3511
3511
  statusCode: number;
3512
3512
  timestamp: string;
3513
3513
  details?: unknown;
@@ -3522,17 +3522,17 @@ export declare const sheetsSyncContract: {
3522
3522
  path: z.ZodString;
3523
3523
  correlationId: z.ZodOptional<z.ZodString>;
3524
3524
  }, "strip", z.ZodTypeAny, {
3525
- message: string;
3526
3525
  code: string;
3527
3526
  path: string;
3527
+ message: string;
3528
3528
  statusCode: number;
3529
3529
  timestamp: string;
3530
3530
  details?: unknown;
3531
3531
  correlationId?: string | undefined;
3532
3532
  }, {
3533
- message: string;
3534
3533
  code: string;
3535
3534
  path: string;
3535
+ message: string;
3536
3536
  statusCode: number;
3537
3537
  timestamp: string;
3538
3538
  details?: unknown;
@@ -3552,7 +3552,7 @@ export declare const sheetsSyncContract: {
3552
3552
  }>;
3553
3553
  path: "/v2/sheets-sync/links/batch/resync";
3554
3554
  responses: {
3555
- 400: z.ZodObject<{
3555
+ 401: z.ZodObject<{
3556
3556
  statusCode: z.ZodNumber;
3557
3557
  message: z.ZodString;
3558
3558
  code: z.ZodString;
@@ -3561,23 +3561,23 @@ export declare const sheetsSyncContract: {
3561
3561
  path: z.ZodString;
3562
3562
  correlationId: z.ZodOptional<z.ZodString>;
3563
3563
  }, "strip", z.ZodTypeAny, {
3564
- message: string;
3565
3564
  code: string;
3566
3565
  path: string;
3566
+ message: string;
3567
3567
  statusCode: number;
3568
3568
  timestamp: string;
3569
3569
  details?: unknown;
3570
3570
  correlationId?: string | undefined;
3571
3571
  }, {
3572
- message: string;
3573
3572
  code: string;
3574
3573
  path: string;
3574
+ message: string;
3575
3575
  statusCode: number;
3576
3576
  timestamp: string;
3577
3577
  details?: unknown;
3578
3578
  correlationId?: string | undefined;
3579
3579
  }>;
3580
- 401: z.ZodObject<{
3580
+ 400: z.ZodObject<{
3581
3581
  statusCode: z.ZodNumber;
3582
3582
  message: z.ZodString;
3583
3583
  code: z.ZodString;
@@ -3586,17 +3586,17 @@ export declare const sheetsSyncContract: {
3586
3586
  path: z.ZodString;
3587
3587
  correlationId: z.ZodOptional<z.ZodString>;
3588
3588
  }, "strip", z.ZodTypeAny, {
3589
- message: string;
3590
3589
  code: string;
3591
3590
  path: string;
3591
+ message: string;
3592
3592
  statusCode: number;
3593
3593
  timestamp: string;
3594
3594
  details?: unknown;
3595
3595
  correlationId?: string | undefined;
3596
3596
  }, {
3597
- message: string;
3598
3597
  code: string;
3599
3598
  path: string;
3599
+ message: string;
3600
3600
  statusCode: number;
3601
3601
  timestamp: string;
3602
3602
  details?: unknown;
@@ -3611,17 +3611,17 @@ export declare const sheetsSyncContract: {
3611
3611
  path: z.ZodString;
3612
3612
  correlationId: z.ZodOptional<z.ZodString>;
3613
3613
  }, "strip", z.ZodTypeAny, {
3614
- message: string;
3615
3614
  code: string;
3616
3615
  path: string;
3616
+ message: string;
3617
3617
  statusCode: number;
3618
3618
  timestamp: string;
3619
3619
  details?: unknown;
3620
3620
  correlationId?: string | undefined;
3621
3621
  }, {
3622
- message: string;
3623
3622
  code: string;
3624
3623
  path: string;
3624
+ message: string;
3625
3625
  statusCode: number;
3626
3626
  timestamp: string;
3627
3627
  details?: unknown;
@@ -3636,17 +3636,17 @@ export declare const sheetsSyncContract: {
3636
3636
  path: z.ZodString;
3637
3637
  correlationId: z.ZodOptional<z.ZodString>;
3638
3638
  }, "strip", z.ZodTypeAny, {
3639
- message: string;
3640
3639
  code: string;
3641
3640
  path: string;
3641
+ message: string;
3642
3642
  statusCode: number;
3643
3643
  timestamp: string;
3644
3644
  details?: unknown;
3645
3645
  correlationId?: string | undefined;
3646
3646
  }, {
3647
- message: string;
3648
3647
  code: string;
3649
3648
  path: string;
3649
+ message: string;
3650
3650
  statusCode: number;
3651
3651
  timestamp: string;
3652
3652
  details?: unknown;
@@ -3656,11 +3656,11 @@ export declare const sheetsSyncContract: {
3656
3656
  links: z.ZodNumber;
3657
3657
  rebuilt: z.ZodNumber;
3658
3658
  }, "strip", z.ZodTypeAny, {
3659
- links: number;
3660
3659
  rebuilt: number;
3661
- }, {
3662
3660
  links: number;
3661
+ }, {
3663
3662
  rebuilt: number;
3663
+ links: number;
3664
3664
  }>;
3665
3665
  404: z.ZodObject<{
3666
3666
  statusCode: z.ZodNumber;
@@ -3671,17 +3671,17 @@ export declare const sheetsSyncContract: {
3671
3671
  path: z.ZodString;
3672
3672
  correlationId: z.ZodOptional<z.ZodString>;
3673
3673
  }, "strip", z.ZodTypeAny, {
3674
- message: string;
3675
3674
  code: string;
3676
3675
  path: string;
3676
+ message: string;
3677
3677
  statusCode: number;
3678
3678
  timestamp: string;
3679
3679
  details?: unknown;
3680
3680
  correlationId?: string | undefined;
3681
3681
  }, {
3682
- message: string;
3683
3682
  code: string;
3684
3683
  path: string;
3684
+ message: string;
3685
3685
  statusCode: number;
3686
3686
  timestamp: string;
3687
3687
  details?: unknown;
@@ -3696,17 +3696,17 @@ export declare const sheetsSyncContract: {
3696
3696
  path: z.ZodString;
3697
3697
  correlationId: z.ZodOptional<z.ZodString>;
3698
3698
  }, "strip", z.ZodTypeAny, {
3699
- message: string;
3700
3699
  code: string;
3701
3700
  path: string;
3701
+ message: string;
3702
3702
  statusCode: number;
3703
3703
  timestamp: string;
3704
3704
  details?: unknown;
3705
3705
  correlationId?: string | undefined;
3706
3706
  }, {
3707
- message: string;
3708
3707
  code: string;
3709
3708
  path: string;
3709
+ message: string;
3710
3710
  statusCode: number;
3711
3711
  timestamp: string;
3712
3712
  details?: unknown;
@@ -3726,7 +3726,7 @@ export declare const sheetsSyncContract: {
3726
3726
  method: "GET";
3727
3727
  path: "/v2/sheets-sync/links/:id";
3728
3728
  responses: {
3729
- 400: z.ZodObject<{
3729
+ 401: z.ZodObject<{
3730
3730
  statusCode: z.ZodNumber;
3731
3731
  message: z.ZodString;
3732
3732
  code: z.ZodString;
@@ -3735,23 +3735,23 @@ export declare const sheetsSyncContract: {
3735
3735
  path: z.ZodString;
3736
3736
  correlationId: z.ZodOptional<z.ZodString>;
3737
3737
  }, "strip", z.ZodTypeAny, {
3738
- message: string;
3739
3738
  code: string;
3740
3739
  path: string;
3740
+ message: string;
3741
3741
  statusCode: number;
3742
3742
  timestamp: string;
3743
3743
  details?: unknown;
3744
3744
  correlationId?: string | undefined;
3745
3745
  }, {
3746
- message: string;
3747
3746
  code: string;
3748
3747
  path: string;
3748
+ message: string;
3749
3749
  statusCode: number;
3750
3750
  timestamp: string;
3751
3751
  details?: unknown;
3752
3752
  correlationId?: string | undefined;
3753
3753
  }>;
3754
- 401: z.ZodObject<{
3754
+ 400: z.ZodObject<{
3755
3755
  statusCode: z.ZodNumber;
3756
3756
  message: z.ZodString;
3757
3757
  code: z.ZodString;
@@ -3760,17 +3760,17 @@ export declare const sheetsSyncContract: {
3760
3760
  path: z.ZodString;
3761
3761
  correlationId: z.ZodOptional<z.ZodString>;
3762
3762
  }, "strip", z.ZodTypeAny, {
3763
- message: string;
3764
3763
  code: string;
3765
3764
  path: string;
3765
+ message: string;
3766
3766
  statusCode: number;
3767
3767
  timestamp: string;
3768
3768
  details?: unknown;
3769
3769
  correlationId?: string | undefined;
3770
3770
  }, {
3771
- message: string;
3772
3771
  code: string;
3773
3772
  path: string;
3773
+ message: string;
3774
3774
  statusCode: number;
3775
3775
  timestamp: string;
3776
3776
  details?: unknown;
@@ -3785,17 +3785,17 @@ export declare const sheetsSyncContract: {
3785
3785
  path: z.ZodString;
3786
3786
  correlationId: z.ZodOptional<z.ZodString>;
3787
3787
  }, "strip", z.ZodTypeAny, {
3788
- message: string;
3789
3788
  code: string;
3790
3789
  path: string;
3790
+ message: string;
3791
3791
  statusCode: number;
3792
3792
  timestamp: string;
3793
3793
  details?: unknown;
3794
3794
  correlationId?: string | undefined;
3795
3795
  }, {
3796
- message: string;
3797
3796
  code: string;
3798
3797
  path: string;
3798
+ message: string;
3799
3799
  statusCode: number;
3800
3800
  timestamp: string;
3801
3801
  details?: unknown;
@@ -3810,17 +3810,17 @@ export declare const sheetsSyncContract: {
3810
3810
  path: z.ZodString;
3811
3811
  correlationId: z.ZodOptional<z.ZodString>;
3812
3812
  }, "strip", z.ZodTypeAny, {
3813
- message: string;
3814
3813
  code: string;
3815
3814
  path: string;
3815
+ message: string;
3816
3816
  statusCode: number;
3817
3817
  timestamp: string;
3818
3818
  details?: unknown;
3819
3819
  correlationId?: string | undefined;
3820
3820
  }, {
3821
- message: string;
3822
3821
  code: string;
3823
3822
  path: string;
3823
+ message: string;
3824
3824
  statusCode: number;
3825
3825
  timestamp: string;
3826
3826
  details?: unknown;
@@ -3853,8 +3853,8 @@ export declare const sheetsSyncContract: {
3853
3853
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
3854
3854
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
3855
3855
  }, "strip", z.ZodTypeAny, {
3856
- status: string;
3857
3856
  id: string;
3857
+ status: string;
3858
3858
  roles: string[];
3859
3859
  lastName: string;
3860
3860
  firstName: string;
@@ -3897,9 +3897,9 @@ export declare const sheetsSyncContract: {
3897
3897
  createdAt: z.ZodDate;
3898
3898
  updatedAt: z.ZodDate;
3899
3899
  }, "strip", z.ZodTypeAny, {
3900
- id: string;
3901
- updatedAt: Date;
3902
3900
  createdAt: Date;
3901
+ updatedAt: Date;
3902
+ id: string;
3903
3903
  startDate: Date;
3904
3904
  startRow: number;
3905
3905
  enabled: boolean;
@@ -3910,9 +3910,9 @@ export declare const sheetsSyncContract: {
3910
3910
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
3911
3911
  tabName?: string | null | undefined;
3912
3912
  }, {
3913
- id: string;
3914
- updatedAt: Date;
3915
3913
  createdAt: Date;
3914
+ updatedAt: Date;
3915
+ id: string;
3916
3916
  startDate: Date;
3917
3917
  lastSyncedAt: Date | null;
3918
3918
  lastError: string | null;
@@ -3938,9 +3938,9 @@ export declare const sheetsSyncContract: {
3938
3938
  createdAt: z.ZodDate;
3939
3939
  updatedAt: z.ZodDate;
3940
3940
  }, "strip", z.ZodTypeAny, {
3941
- id: string;
3942
- updatedAt: Date;
3943
3941
  createdAt: Date;
3942
+ updatedAt: Date;
3943
+ id: string;
3944
3944
  startDate: Date;
3945
3945
  startRow: number;
3946
3946
  enabled: boolean;
@@ -3951,9 +3951,9 @@ export declare const sheetsSyncContract: {
3951
3951
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
3952
3952
  tabName?: string | null | undefined;
3953
3953
  }, {
3954
- id: string;
3955
- updatedAt: Date;
3956
3954
  createdAt: Date;
3955
+ updatedAt: Date;
3956
+ id: string;
3957
3957
  startDate: Date;
3958
3958
  lastSyncedAt: Date | null;
3959
3959
  lastError: string | null;
@@ -3967,9 +3967,9 @@ export declare const sheetsSyncContract: {
3967
3967
  }, "strip", z.ZodTypeAny, {
3968
3968
  spreadsheetId: string;
3969
3969
  activeWorkers: {
3970
- id: string;
3971
- updatedAt: Date;
3972
3970
  createdAt: Date;
3971
+ updatedAt: Date;
3972
+ id: string;
3973
3973
  startDate: Date;
3974
3974
  startRow: number;
3975
3975
  enabled: boolean;
@@ -3981,9 +3981,9 @@ export declare const sheetsSyncContract: {
3981
3981
  tabName?: string | null | undefined;
3982
3982
  };
3983
3983
  newYellowGreen: {
3984
- id: string;
3985
- updatedAt: Date;
3986
3984
  createdAt: Date;
3985
+ updatedAt: Date;
3986
+ id: string;
3987
3987
  startDate: Date;
3988
3988
  startRow: number;
3989
3989
  enabled: boolean;
@@ -3997,9 +3997,9 @@ export declare const sheetsSyncContract: {
3997
3997
  }, {
3998
3998
  spreadsheetId: string;
3999
3999
  activeWorkers: {
4000
- id: string;
4001
- updatedAt: Date;
4002
4000
  createdAt: Date;
4001
+ updatedAt: Date;
4002
+ id: string;
4003
4003
  startDate: Date;
4004
4004
  lastSyncedAt: Date | null;
4005
4005
  lastError: string | null;
@@ -4011,9 +4011,9 @@ export declare const sheetsSyncContract: {
4011
4011
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
4012
4012
  };
4013
4013
  newYellowGreen: {
4014
- id: string;
4015
- updatedAt: Date;
4016
4014
  createdAt: Date;
4015
+ updatedAt: Date;
4016
+ id: string;
4017
4017
  startDate: Date;
4018
4018
  lastSyncedAt: Date | null;
4019
4019
  lastError: string | null;
@@ -4042,9 +4042,9 @@ export declare const sheetsSyncContract: {
4042
4042
  createdAt: z.ZodDate;
4043
4043
  updatedAt: z.ZodDate;
4044
4044
  }, "strip", z.ZodTypeAny, {
4045
- id: string;
4046
- updatedAt: Date;
4047
4045
  createdAt: Date;
4046
+ updatedAt: Date;
4047
+ id: string;
4048
4048
  startDate: Date;
4049
4049
  startRow: number;
4050
4050
  enabled: boolean;
@@ -4055,9 +4055,9 @@ export declare const sheetsSyncContract: {
4055
4055
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4056
4056
  tabName?: string | null | undefined;
4057
4057
  }, {
4058
- id: string;
4059
- updatedAt: Date;
4060
4058
  createdAt: Date;
4059
+ updatedAt: Date;
4060
+ id: string;
4061
4061
  startDate: Date;
4062
4062
  lastSyncedAt: Date | null;
4063
4063
  lastError: string | null;
@@ -4083,9 +4083,9 @@ export declare const sheetsSyncContract: {
4083
4083
  createdAt: z.ZodDate;
4084
4084
  updatedAt: z.ZodDate;
4085
4085
  }, "strip", z.ZodTypeAny, {
4086
- id: string;
4087
- updatedAt: Date;
4088
4086
  createdAt: Date;
4087
+ updatedAt: Date;
4088
+ id: string;
4089
4089
  startDate: Date;
4090
4090
  startRow: number;
4091
4091
  enabled: boolean;
@@ -4096,9 +4096,9 @@ export declare const sheetsSyncContract: {
4096
4096
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4097
4097
  tabName?: string | null | undefined;
4098
4098
  }, {
4099
- id: string;
4100
- updatedAt: Date;
4101
4099
  createdAt: Date;
4100
+ updatedAt: Date;
4101
+ id: string;
4102
4102
  startDate: Date;
4103
4103
  lastSyncedAt: Date | null;
4104
4104
  lastError: string | null;
@@ -4112,9 +4112,9 @@ export declare const sheetsSyncContract: {
4112
4112
  }, "strip", z.ZodTypeAny, {
4113
4113
  spreadsheetId: string;
4114
4114
  activeWorkers: {
4115
- id: string;
4116
- updatedAt: Date;
4117
4115
  createdAt: Date;
4116
+ updatedAt: Date;
4117
+ id: string;
4118
4118
  startDate: Date;
4119
4119
  startRow: number;
4120
4120
  enabled: boolean;
@@ -4126,9 +4126,9 @@ export declare const sheetsSyncContract: {
4126
4126
  tabName?: string | null | undefined;
4127
4127
  };
4128
4128
  newYellowGreen: {
4129
- id: string;
4130
- updatedAt: Date;
4131
4129
  createdAt: Date;
4130
+ updatedAt: Date;
4131
+ id: string;
4132
4132
  startDate: Date;
4133
4133
  startRow: number;
4134
4134
  enabled: boolean;
@@ -4142,9 +4142,9 @@ export declare const sheetsSyncContract: {
4142
4142
  }, {
4143
4143
  spreadsheetId: string;
4144
4144
  activeWorkers: {
4145
- id: string;
4146
- updatedAt: Date;
4147
4145
  createdAt: Date;
4146
+ updatedAt: Date;
4147
+ id: string;
4148
4148
  startDate: Date;
4149
4149
  lastSyncedAt: Date | null;
4150
4150
  lastError: string | null;
@@ -4156,9 +4156,9 @@ export declare const sheetsSyncContract: {
4156
4156
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
4157
4157
  };
4158
4158
  newYellowGreen: {
4159
- id: string;
4160
- updatedAt: Date;
4161
4159
  createdAt: Date;
4160
+ updatedAt: Date;
4161
+ id: string;
4162
4162
  startDate: Date;
4163
4163
  lastSyncedAt: Date | null;
4164
4164
  lastError: string | null;
@@ -4173,13 +4173,13 @@ export declare const sheetsSyncContract: {
4173
4173
  createdAt: z.ZodDate;
4174
4174
  updatedAt: z.ZodDate;
4175
4175
  }, "strip", z.ZodTypeAny, {
4176
- id: string;
4177
4176
  name: string | null;
4178
- updatedAt: Date;
4179
4177
  createdAt: Date;
4178
+ updatedAt: Date;
4179
+ id: string;
4180
4180
  user: {
4181
- status: string;
4182
4181
  id: string;
4182
+ status: string;
4183
4183
  roles: string[];
4184
4184
  lastName: string;
4185
4185
  firstName: string;
@@ -4194,9 +4194,9 @@ export declare const sheetsSyncContract: {
4194
4194
  fa: {
4195
4195
  spreadsheetId: string;
4196
4196
  activeWorkers: {
4197
- id: string;
4198
- updatedAt: Date;
4199
4197
  createdAt: Date;
4198
+ updatedAt: Date;
4199
+ id: string;
4200
4200
  startDate: Date;
4201
4201
  startRow: number;
4202
4202
  enabled: boolean;
@@ -4208,9 +4208,9 @@ export declare const sheetsSyncContract: {
4208
4208
  tabName?: string | null | undefined;
4209
4209
  };
4210
4210
  newYellowGreen: {
4211
- id: string;
4212
- updatedAt: Date;
4213
4211
  createdAt: Date;
4212
+ updatedAt: Date;
4213
+ id: string;
4214
4214
  startDate: Date;
4215
4215
  startRow: number;
4216
4216
  enabled: boolean;
@@ -4225,9 +4225,9 @@ export declare const sheetsSyncContract: {
4225
4225
  sa: {
4226
4226
  spreadsheetId: string;
4227
4227
  activeWorkers: {
4228
- id: string;
4229
- updatedAt: Date;
4230
4228
  createdAt: Date;
4229
+ updatedAt: Date;
4230
+ id: string;
4231
4231
  startDate: Date;
4232
4232
  startRow: number;
4233
4233
  enabled: boolean;
@@ -4239,9 +4239,9 @@ export declare const sheetsSyncContract: {
4239
4239
  tabName?: string | null | undefined;
4240
4240
  };
4241
4241
  newYellowGreen: {
4242
- id: string;
4243
- updatedAt: Date;
4244
4242
  createdAt: Date;
4243
+ updatedAt: Date;
4244
+ id: string;
4245
4245
  startDate: Date;
4246
4246
  startRow: number;
4247
4247
  enabled: boolean;
@@ -4254,10 +4254,10 @@ export declare const sheetsSyncContract: {
4254
4254
  };
4255
4255
  } | null;
4256
4256
  }, {
4257
- id: string;
4258
4257
  name: string | null;
4259
- updatedAt: Date;
4260
4258
  createdAt: Date;
4259
+ updatedAt: Date;
4260
+ id: string;
4261
4261
  user: {
4262
4262
  id: string;
4263
4263
  lastName: string;
@@ -4275,9 +4275,9 @@ export declare const sheetsSyncContract: {
4275
4275
  fa: {
4276
4276
  spreadsheetId: string;
4277
4277
  activeWorkers: {
4278
- id: string;
4279
- updatedAt: Date;
4280
4278
  createdAt: Date;
4279
+ updatedAt: Date;
4280
+ id: string;
4281
4281
  startDate: Date;
4282
4282
  lastSyncedAt: Date | null;
4283
4283
  lastError: string | null;
@@ -4289,9 +4289,9 @@ export declare const sheetsSyncContract: {
4289
4289
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
4290
4290
  };
4291
4291
  newYellowGreen: {
4292
- id: string;
4293
- updatedAt: Date;
4294
4292
  createdAt: Date;
4293
+ updatedAt: Date;
4294
+ id: string;
4295
4295
  startDate: Date;
4296
4296
  lastSyncedAt: Date | null;
4297
4297
  lastError: string | null;
@@ -4306,9 +4306,9 @@ export declare const sheetsSyncContract: {
4306
4306
  sa: {
4307
4307
  spreadsheetId: string;
4308
4308
  activeWorkers: {
4309
- id: string;
4310
- updatedAt: Date;
4311
4309
  createdAt: Date;
4310
+ updatedAt: Date;
4311
+ id: string;
4312
4312
  startDate: Date;
4313
4313
  lastSyncedAt: Date | null;
4314
4314
  lastError: string | null;
@@ -4320,9 +4320,9 @@ export declare const sheetsSyncContract: {
4320
4320
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
4321
4321
  };
4322
4322
  newYellowGreen: {
4323
- id: string;
4324
- updatedAt: Date;
4325
4323
  createdAt: Date;
4324
+ updatedAt: Date;
4325
+ id: string;
4326
4326
  startDate: Date;
4327
4327
  lastSyncedAt: Date | null;
4328
4328
  lastError: string | null;
@@ -4344,17 +4344,17 @@ export declare const sheetsSyncContract: {
4344
4344
  path: z.ZodString;
4345
4345
  correlationId: z.ZodOptional<z.ZodString>;
4346
4346
  }, "strip", z.ZodTypeAny, {
4347
- message: string;
4348
4347
  code: string;
4349
4348
  path: string;
4349
+ message: string;
4350
4350
  statusCode: number;
4351
4351
  timestamp: string;
4352
4352
  details?: unknown;
4353
4353
  correlationId?: string | undefined;
4354
4354
  }, {
4355
- message: string;
4356
4355
  code: string;
4357
4356
  path: string;
4357
+ message: string;
4358
4358
  statusCode: number;
4359
4359
  timestamp: string;
4360
4360
  details?: unknown;
@@ -4369,17 +4369,17 @@ export declare const sheetsSyncContract: {
4369
4369
  path: z.ZodString;
4370
4370
  correlationId: z.ZodOptional<z.ZodString>;
4371
4371
  }, "strip", z.ZodTypeAny, {
4372
- message: string;
4373
4372
  code: string;
4374
4373
  path: string;
4374
+ message: string;
4375
4375
  statusCode: number;
4376
4376
  timestamp: string;
4377
4377
  details?: unknown;
4378
4378
  correlationId?: string | undefined;
4379
4379
  }, {
4380
- message: string;
4381
4380
  code: string;
4382
4381
  path: string;
4382
+ message: string;
4383
4383
  statusCode: number;
4384
4384
  timestamp: string;
4385
4385
  details?: unknown;
@@ -4588,7 +4588,7 @@ export declare const sheetsSyncContract: {
4588
4588
  }>;
4589
4589
  path: "/v2/sheets-sync/links";
4590
4590
  responses: {
4591
- 400: z.ZodObject<{
4591
+ 401: z.ZodObject<{
4592
4592
  statusCode: z.ZodNumber;
4593
4593
  message: z.ZodString;
4594
4594
  code: z.ZodString;
@@ -4597,23 +4597,23 @@ export declare const sheetsSyncContract: {
4597
4597
  path: z.ZodString;
4598
4598
  correlationId: z.ZodOptional<z.ZodString>;
4599
4599
  }, "strip", z.ZodTypeAny, {
4600
- message: string;
4601
4600
  code: string;
4602
4601
  path: string;
4602
+ message: string;
4603
4603
  statusCode: number;
4604
4604
  timestamp: string;
4605
4605
  details?: unknown;
4606
4606
  correlationId?: string | undefined;
4607
4607
  }, {
4608
- message: string;
4609
4608
  code: string;
4610
4609
  path: string;
4610
+ message: string;
4611
4611
  statusCode: number;
4612
4612
  timestamp: string;
4613
4613
  details?: unknown;
4614
4614
  correlationId?: string | undefined;
4615
4615
  }>;
4616
- 401: z.ZodObject<{
4616
+ 400: z.ZodObject<{
4617
4617
  statusCode: z.ZodNumber;
4618
4618
  message: z.ZodString;
4619
4619
  code: z.ZodString;
@@ -4622,17 +4622,17 @@ export declare const sheetsSyncContract: {
4622
4622
  path: z.ZodString;
4623
4623
  correlationId: z.ZodOptional<z.ZodString>;
4624
4624
  }, "strip", z.ZodTypeAny, {
4625
- message: string;
4626
4625
  code: string;
4627
4626
  path: string;
4627
+ message: string;
4628
4628
  statusCode: number;
4629
4629
  timestamp: string;
4630
4630
  details?: unknown;
4631
4631
  correlationId?: string | undefined;
4632
4632
  }, {
4633
- message: string;
4634
4633
  code: string;
4635
4634
  path: string;
4635
+ message: string;
4636
4636
  statusCode: number;
4637
4637
  timestamp: string;
4638
4638
  details?: unknown;
@@ -4647,17 +4647,17 @@ export declare const sheetsSyncContract: {
4647
4647
  path: z.ZodString;
4648
4648
  correlationId: z.ZodOptional<z.ZodString>;
4649
4649
  }, "strip", z.ZodTypeAny, {
4650
- message: string;
4651
4650
  code: string;
4652
4651
  path: string;
4652
+ message: string;
4653
4653
  statusCode: number;
4654
4654
  timestamp: string;
4655
4655
  details?: unknown;
4656
4656
  correlationId?: string | undefined;
4657
4657
  }, {
4658
- message: string;
4659
4658
  code: string;
4660
4659
  path: string;
4660
+ message: string;
4661
4661
  statusCode: number;
4662
4662
  timestamp: string;
4663
4663
  details?: unknown;
@@ -4672,17 +4672,17 @@ export declare const sheetsSyncContract: {
4672
4672
  path: z.ZodString;
4673
4673
  correlationId: z.ZodOptional<z.ZodString>;
4674
4674
  }, "strip", z.ZodTypeAny, {
4675
- message: string;
4676
4675
  code: string;
4677
4676
  path: string;
4677
+ message: string;
4678
4678
  statusCode: number;
4679
4679
  timestamp: string;
4680
4680
  details?: unknown;
4681
4681
  correlationId?: string | undefined;
4682
4682
  }, {
4683
- message: string;
4684
4683
  code: string;
4685
4684
  path: string;
4685
+ message: string;
4686
4686
  statusCode: number;
4687
4687
  timestamp: string;
4688
4688
  details?: unknown;
@@ -4715,8 +4715,8 @@ export declare const sheetsSyncContract: {
4715
4715
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
4716
4716
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
4717
4717
  }, "strip", z.ZodTypeAny, {
4718
- status: string;
4719
4718
  id: string;
4719
+ status: string;
4720
4720
  roles: string[];
4721
4721
  lastName: string;
4722
4722
  firstName: string;
@@ -4759,9 +4759,9 @@ export declare const sheetsSyncContract: {
4759
4759
  createdAt: z.ZodDate;
4760
4760
  updatedAt: z.ZodDate;
4761
4761
  }, "strip", z.ZodTypeAny, {
4762
- id: string;
4763
- updatedAt: Date;
4764
4762
  createdAt: Date;
4763
+ updatedAt: Date;
4764
+ id: string;
4765
4765
  startDate: Date;
4766
4766
  startRow: number;
4767
4767
  enabled: boolean;
@@ -4772,9 +4772,9 @@ export declare const sheetsSyncContract: {
4772
4772
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4773
4773
  tabName?: string | null | undefined;
4774
4774
  }, {
4775
- id: string;
4776
- updatedAt: Date;
4777
4775
  createdAt: Date;
4776
+ updatedAt: Date;
4777
+ id: string;
4778
4778
  startDate: Date;
4779
4779
  lastSyncedAt: Date | null;
4780
4780
  lastError: string | null;
@@ -4800,9 +4800,9 @@ export declare const sheetsSyncContract: {
4800
4800
  createdAt: z.ZodDate;
4801
4801
  updatedAt: z.ZodDate;
4802
4802
  }, "strip", z.ZodTypeAny, {
4803
- id: string;
4804
- updatedAt: Date;
4805
4803
  createdAt: Date;
4804
+ updatedAt: Date;
4805
+ id: string;
4806
4806
  startDate: Date;
4807
4807
  startRow: number;
4808
4808
  enabled: boolean;
@@ -4813,9 +4813,9 @@ export declare const sheetsSyncContract: {
4813
4813
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4814
4814
  tabName?: string | null | undefined;
4815
4815
  }, {
4816
- id: string;
4817
- updatedAt: Date;
4818
4816
  createdAt: Date;
4817
+ updatedAt: Date;
4818
+ id: string;
4819
4819
  startDate: Date;
4820
4820
  lastSyncedAt: Date | null;
4821
4821
  lastError: string | null;
@@ -4829,9 +4829,9 @@ export declare const sheetsSyncContract: {
4829
4829
  }, "strip", z.ZodTypeAny, {
4830
4830
  spreadsheetId: string;
4831
4831
  activeWorkers: {
4832
- id: string;
4833
- updatedAt: Date;
4834
4832
  createdAt: Date;
4833
+ updatedAt: Date;
4834
+ id: string;
4835
4835
  startDate: Date;
4836
4836
  startRow: number;
4837
4837
  enabled: boolean;
@@ -4843,9 +4843,9 @@ export declare const sheetsSyncContract: {
4843
4843
  tabName?: string | null | undefined;
4844
4844
  };
4845
4845
  newYellowGreen: {
4846
- id: string;
4847
- updatedAt: Date;
4848
4846
  createdAt: Date;
4847
+ updatedAt: Date;
4848
+ id: string;
4849
4849
  startDate: Date;
4850
4850
  startRow: number;
4851
4851
  enabled: boolean;
@@ -4859,9 +4859,9 @@ export declare const sheetsSyncContract: {
4859
4859
  }, {
4860
4860
  spreadsheetId: string;
4861
4861
  activeWorkers: {
4862
- id: string;
4863
- updatedAt: Date;
4864
4862
  createdAt: Date;
4863
+ updatedAt: Date;
4864
+ id: string;
4865
4865
  startDate: Date;
4866
4866
  lastSyncedAt: Date | null;
4867
4867
  lastError: string | null;
@@ -4873,9 +4873,9 @@ export declare const sheetsSyncContract: {
4873
4873
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
4874
4874
  };
4875
4875
  newYellowGreen: {
4876
- id: string;
4877
- updatedAt: Date;
4878
4876
  createdAt: Date;
4877
+ updatedAt: Date;
4878
+ id: string;
4879
4879
  startDate: Date;
4880
4880
  lastSyncedAt: Date | null;
4881
4881
  lastError: string | null;
@@ -4904,9 +4904,9 @@ export declare const sheetsSyncContract: {
4904
4904
  createdAt: z.ZodDate;
4905
4905
  updatedAt: z.ZodDate;
4906
4906
  }, "strip", z.ZodTypeAny, {
4907
- id: string;
4908
- updatedAt: Date;
4909
4907
  createdAt: Date;
4908
+ updatedAt: Date;
4909
+ id: string;
4910
4910
  startDate: Date;
4911
4911
  startRow: number;
4912
4912
  enabled: boolean;
@@ -4917,9 +4917,9 @@ export declare const sheetsSyncContract: {
4917
4917
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4918
4918
  tabName?: string | null | undefined;
4919
4919
  }, {
4920
- id: string;
4921
- updatedAt: Date;
4922
4920
  createdAt: Date;
4921
+ updatedAt: Date;
4922
+ id: string;
4923
4923
  startDate: Date;
4924
4924
  lastSyncedAt: Date | null;
4925
4925
  lastError: string | null;
@@ -4945,9 +4945,9 @@ export declare const sheetsSyncContract: {
4945
4945
  createdAt: z.ZodDate;
4946
4946
  updatedAt: z.ZodDate;
4947
4947
  }, "strip", z.ZodTypeAny, {
4948
- id: string;
4949
- updatedAt: Date;
4950
4948
  createdAt: Date;
4949
+ updatedAt: Date;
4950
+ id: string;
4951
4951
  startDate: Date;
4952
4952
  startRow: number;
4953
4953
  enabled: boolean;
@@ -4958,9 +4958,9 @@ export declare const sheetsSyncContract: {
4958
4958
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
4959
4959
  tabName?: string | null | undefined;
4960
4960
  }, {
4961
- id: string;
4962
- updatedAt: Date;
4963
4961
  createdAt: Date;
4962
+ updatedAt: Date;
4963
+ id: string;
4964
4964
  startDate: Date;
4965
4965
  lastSyncedAt: Date | null;
4966
4966
  lastError: string | null;
@@ -4974,9 +4974,9 @@ export declare const sheetsSyncContract: {
4974
4974
  }, "strip", z.ZodTypeAny, {
4975
4975
  spreadsheetId: string;
4976
4976
  activeWorkers: {
4977
- id: string;
4978
- updatedAt: Date;
4979
4977
  createdAt: Date;
4978
+ updatedAt: Date;
4979
+ id: string;
4980
4980
  startDate: Date;
4981
4981
  startRow: number;
4982
4982
  enabled: boolean;
@@ -4988,9 +4988,9 @@ export declare const sheetsSyncContract: {
4988
4988
  tabName?: string | null | undefined;
4989
4989
  };
4990
4990
  newYellowGreen: {
4991
- id: string;
4992
- updatedAt: Date;
4993
4991
  createdAt: Date;
4992
+ updatedAt: Date;
4993
+ id: string;
4994
4994
  startDate: Date;
4995
4995
  startRow: number;
4996
4996
  enabled: boolean;
@@ -5004,9 +5004,9 @@ export declare const sheetsSyncContract: {
5004
5004
  }, {
5005
5005
  spreadsheetId: string;
5006
5006
  activeWorkers: {
5007
- id: string;
5008
- updatedAt: Date;
5009
5007
  createdAt: Date;
5008
+ updatedAt: Date;
5009
+ id: string;
5010
5010
  startDate: Date;
5011
5011
  lastSyncedAt: Date | null;
5012
5012
  lastError: string | null;
@@ -5018,9 +5018,9 @@ export declare const sheetsSyncContract: {
5018
5018
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
5019
5019
  };
5020
5020
  newYellowGreen: {
5021
- id: string;
5022
- updatedAt: Date;
5023
5021
  createdAt: Date;
5022
+ updatedAt: Date;
5023
+ id: string;
5024
5024
  startDate: Date;
5025
5025
  lastSyncedAt: Date | null;
5026
5026
  lastError: string | null;
@@ -5035,13 +5035,13 @@ export declare const sheetsSyncContract: {
5035
5035
  createdAt: z.ZodDate;
5036
5036
  updatedAt: z.ZodDate;
5037
5037
  }, "strip", z.ZodTypeAny, {
5038
- id: string;
5039
5038
  name: string | null;
5040
- updatedAt: Date;
5041
5039
  createdAt: Date;
5040
+ updatedAt: Date;
5041
+ id: string;
5042
5042
  user: {
5043
- status: string;
5044
5043
  id: string;
5044
+ status: string;
5045
5045
  roles: string[];
5046
5046
  lastName: string;
5047
5047
  firstName: string;
@@ -5056,9 +5056,9 @@ export declare const sheetsSyncContract: {
5056
5056
  fa: {
5057
5057
  spreadsheetId: string;
5058
5058
  activeWorkers: {
5059
- id: string;
5060
- updatedAt: Date;
5061
5059
  createdAt: Date;
5060
+ updatedAt: Date;
5061
+ id: string;
5062
5062
  startDate: Date;
5063
5063
  startRow: number;
5064
5064
  enabled: boolean;
@@ -5070,9 +5070,9 @@ export declare const sheetsSyncContract: {
5070
5070
  tabName?: string | null | undefined;
5071
5071
  };
5072
5072
  newYellowGreen: {
5073
- id: string;
5074
- updatedAt: Date;
5075
5073
  createdAt: Date;
5074
+ updatedAt: Date;
5075
+ id: string;
5076
5076
  startDate: Date;
5077
5077
  startRow: number;
5078
5078
  enabled: boolean;
@@ -5087,9 +5087,9 @@ export declare const sheetsSyncContract: {
5087
5087
  sa: {
5088
5088
  spreadsheetId: string;
5089
5089
  activeWorkers: {
5090
- id: string;
5091
- updatedAt: Date;
5092
5090
  createdAt: Date;
5091
+ updatedAt: Date;
5092
+ id: string;
5093
5093
  startDate: Date;
5094
5094
  startRow: number;
5095
5095
  enabled: boolean;
@@ -5101,9 +5101,9 @@ export declare const sheetsSyncContract: {
5101
5101
  tabName?: string | null | undefined;
5102
5102
  };
5103
5103
  newYellowGreen: {
5104
- id: string;
5105
- updatedAt: Date;
5106
5104
  createdAt: Date;
5105
+ updatedAt: Date;
5106
+ id: string;
5107
5107
  startDate: Date;
5108
5108
  startRow: number;
5109
5109
  enabled: boolean;
@@ -5116,10 +5116,10 @@ export declare const sheetsSyncContract: {
5116
5116
  };
5117
5117
  } | null;
5118
5118
  }, {
5119
- id: string;
5120
5119
  name: string | null;
5121
- updatedAt: Date;
5122
5120
  createdAt: Date;
5121
+ updatedAt: Date;
5122
+ id: string;
5123
5123
  user: {
5124
5124
  id: string;
5125
5125
  lastName: string;
@@ -5137,9 +5137,9 @@ export declare const sheetsSyncContract: {
5137
5137
  fa: {
5138
5138
  spreadsheetId: string;
5139
5139
  activeWorkers: {
5140
- id: string;
5141
- updatedAt: Date;
5142
5140
  createdAt: Date;
5141
+ updatedAt: Date;
5142
+ id: string;
5143
5143
  startDate: Date;
5144
5144
  lastSyncedAt: Date | null;
5145
5145
  lastError: string | null;
@@ -5151,9 +5151,9 @@ export declare const sheetsSyncContract: {
5151
5151
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
5152
5152
  };
5153
5153
  newYellowGreen: {
5154
- id: string;
5155
- updatedAt: Date;
5156
5154
  createdAt: Date;
5155
+ updatedAt: Date;
5156
+ id: string;
5157
5157
  startDate: Date;
5158
5158
  lastSyncedAt: Date | null;
5159
5159
  lastError: string | null;
@@ -5168,9 +5168,9 @@ export declare const sheetsSyncContract: {
5168
5168
  sa: {
5169
5169
  spreadsheetId: string;
5170
5170
  activeWorkers: {
5171
- id: string;
5172
- updatedAt: Date;
5173
5171
  createdAt: Date;
5172
+ updatedAt: Date;
5173
+ id: string;
5174
5174
  startDate: Date;
5175
5175
  lastSyncedAt: Date | null;
5176
5176
  lastError: string | null;
@@ -5182,9 +5182,9 @@ export declare const sheetsSyncContract: {
5182
5182
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
5183
5183
  };
5184
5184
  newYellowGreen: {
5185
- id: string;
5186
- updatedAt: Date;
5187
5185
  createdAt: Date;
5186
+ updatedAt: Date;
5187
+ id: string;
5188
5188
  startDate: Date;
5189
5189
  lastSyncedAt: Date | null;
5190
5190
  lastError: string | null;
@@ -5206,17 +5206,17 @@ export declare const sheetsSyncContract: {
5206
5206
  path: z.ZodString;
5207
5207
  correlationId: z.ZodOptional<z.ZodString>;
5208
5208
  }, "strip", z.ZodTypeAny, {
5209
- message: string;
5210
5209
  code: string;
5211
5210
  path: string;
5211
+ message: string;
5212
5212
  statusCode: number;
5213
5213
  timestamp: string;
5214
5214
  details?: unknown;
5215
5215
  correlationId?: string | undefined;
5216
5216
  }, {
5217
- message: string;
5218
5217
  code: string;
5219
5218
  path: string;
5219
+ message: string;
5220
5220
  statusCode: number;
5221
5221
  timestamp: string;
5222
5222
  details?: unknown;
@@ -5231,17 +5231,17 @@ export declare const sheetsSyncContract: {
5231
5231
  path: z.ZodString;
5232
5232
  correlationId: z.ZodOptional<z.ZodString>;
5233
5233
  }, "strip", z.ZodTypeAny, {
5234
- message: string;
5235
5234
  code: string;
5236
5235
  path: string;
5236
+ message: string;
5237
5237
  statusCode: number;
5238
5238
  timestamp: string;
5239
5239
  details?: unknown;
5240
5240
  correlationId?: string | undefined;
5241
5241
  }, {
5242
- message: string;
5243
5242
  code: string;
5244
5243
  path: string;
5244
+ message: string;
5245
5245
  statusCode: number;
5246
5246
  timestamp: string;
5247
5247
  details?: unknown;
@@ -5256,17 +5256,17 @@ export declare const sheetsSyncContract: {
5256
5256
  path: z.ZodString;
5257
5257
  correlationId: z.ZodOptional<z.ZodString>;
5258
5258
  }, "strip", z.ZodTypeAny, {
5259
- message: string;
5260
5259
  code: string;
5261
5260
  path: string;
5261
+ message: string;
5262
5262
  statusCode: number;
5263
5263
  timestamp: string;
5264
5264
  details?: unknown;
5265
5265
  correlationId?: string | undefined;
5266
5266
  }, {
5267
- message: string;
5268
5267
  code: string;
5269
5268
  path: string;
5269
+ message: string;
5270
5270
  statusCode: number;
5271
5271
  timestamp: string;
5272
5272
  details?: unknown;
@@ -5479,7 +5479,7 @@ export declare const sheetsSyncContract: {
5479
5479
  }>;
5480
5480
  path: "/v2/sheets-sync/links/:id";
5481
5481
  responses: {
5482
- 400: z.ZodObject<{
5482
+ 401: z.ZodObject<{
5483
5483
  statusCode: z.ZodNumber;
5484
5484
  message: z.ZodString;
5485
5485
  code: z.ZodString;
@@ -5488,23 +5488,23 @@ export declare const sheetsSyncContract: {
5488
5488
  path: z.ZodString;
5489
5489
  correlationId: z.ZodOptional<z.ZodString>;
5490
5490
  }, "strip", z.ZodTypeAny, {
5491
- message: string;
5492
5491
  code: string;
5493
5492
  path: string;
5493
+ message: string;
5494
5494
  statusCode: number;
5495
5495
  timestamp: string;
5496
5496
  details?: unknown;
5497
5497
  correlationId?: string | undefined;
5498
5498
  }, {
5499
- message: string;
5500
5499
  code: string;
5501
5500
  path: string;
5501
+ message: string;
5502
5502
  statusCode: number;
5503
5503
  timestamp: string;
5504
5504
  details?: unknown;
5505
5505
  correlationId?: string | undefined;
5506
5506
  }>;
5507
- 401: z.ZodObject<{
5507
+ 400: z.ZodObject<{
5508
5508
  statusCode: z.ZodNumber;
5509
5509
  message: z.ZodString;
5510
5510
  code: z.ZodString;
@@ -5513,17 +5513,17 @@ export declare const sheetsSyncContract: {
5513
5513
  path: z.ZodString;
5514
5514
  correlationId: z.ZodOptional<z.ZodString>;
5515
5515
  }, "strip", z.ZodTypeAny, {
5516
- message: string;
5517
5516
  code: string;
5518
5517
  path: string;
5518
+ message: string;
5519
5519
  statusCode: number;
5520
5520
  timestamp: string;
5521
5521
  details?: unknown;
5522
5522
  correlationId?: string | undefined;
5523
5523
  }, {
5524
- message: string;
5525
5524
  code: string;
5526
5525
  path: string;
5526
+ message: string;
5527
5527
  statusCode: number;
5528
5528
  timestamp: string;
5529
5529
  details?: unknown;
@@ -5538,17 +5538,17 @@ export declare const sheetsSyncContract: {
5538
5538
  path: z.ZodString;
5539
5539
  correlationId: z.ZodOptional<z.ZodString>;
5540
5540
  }, "strip", z.ZodTypeAny, {
5541
- message: string;
5542
5541
  code: string;
5543
5542
  path: string;
5543
+ message: string;
5544
5544
  statusCode: number;
5545
5545
  timestamp: string;
5546
5546
  details?: unknown;
5547
5547
  correlationId?: string | undefined;
5548
5548
  }, {
5549
- message: string;
5550
5549
  code: string;
5551
5550
  path: string;
5551
+ message: string;
5552
5552
  statusCode: number;
5553
5553
  timestamp: string;
5554
5554
  details?: unknown;
@@ -5563,17 +5563,17 @@ export declare const sheetsSyncContract: {
5563
5563
  path: z.ZodString;
5564
5564
  correlationId: z.ZodOptional<z.ZodString>;
5565
5565
  }, "strip", z.ZodTypeAny, {
5566
- message: string;
5567
5566
  code: string;
5568
5567
  path: string;
5568
+ message: string;
5569
5569
  statusCode: number;
5570
5570
  timestamp: string;
5571
5571
  details?: unknown;
5572
5572
  correlationId?: string | undefined;
5573
5573
  }, {
5574
- message: string;
5575
5574
  code: string;
5576
5575
  path: string;
5576
+ message: string;
5577
5577
  statusCode: number;
5578
5578
  timestamp: string;
5579
5579
  details?: unknown;
@@ -5606,8 +5606,8 @@ export declare const sheetsSyncContract: {
5606
5606
  roles: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
5607
5607
  status: z.ZodDefault<z.ZodOptional<z.ZodString>>;
5608
5608
  }, "strip", z.ZodTypeAny, {
5609
- status: string;
5610
5609
  id: string;
5610
+ status: string;
5611
5611
  roles: string[];
5612
5612
  lastName: string;
5613
5613
  firstName: string;
@@ -5650,9 +5650,9 @@ export declare const sheetsSyncContract: {
5650
5650
  createdAt: z.ZodDate;
5651
5651
  updatedAt: z.ZodDate;
5652
5652
  }, "strip", z.ZodTypeAny, {
5653
- id: string;
5654
- updatedAt: Date;
5655
5653
  createdAt: Date;
5654
+ updatedAt: Date;
5655
+ id: string;
5656
5656
  startDate: Date;
5657
5657
  startRow: number;
5658
5658
  enabled: boolean;
@@ -5663,9 +5663,9 @@ export declare const sheetsSyncContract: {
5663
5663
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
5664
5664
  tabName?: string | null | undefined;
5665
5665
  }, {
5666
- id: string;
5667
- updatedAt: Date;
5668
5666
  createdAt: Date;
5667
+ updatedAt: Date;
5668
+ id: string;
5669
5669
  startDate: Date;
5670
5670
  lastSyncedAt: Date | null;
5671
5671
  lastError: string | null;
@@ -5691,9 +5691,9 @@ export declare const sheetsSyncContract: {
5691
5691
  createdAt: z.ZodDate;
5692
5692
  updatedAt: z.ZodDate;
5693
5693
  }, "strip", z.ZodTypeAny, {
5694
- id: string;
5695
- updatedAt: Date;
5696
5694
  createdAt: Date;
5695
+ updatedAt: Date;
5696
+ id: string;
5697
5697
  startDate: Date;
5698
5698
  startRow: number;
5699
5699
  enabled: boolean;
@@ -5704,9 +5704,9 @@ export declare const sheetsSyncContract: {
5704
5704
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
5705
5705
  tabName?: string | null | undefined;
5706
5706
  }, {
5707
- id: string;
5708
- updatedAt: Date;
5709
5707
  createdAt: Date;
5708
+ updatedAt: Date;
5709
+ id: string;
5710
5710
  startDate: Date;
5711
5711
  lastSyncedAt: Date | null;
5712
5712
  lastError: string | null;
@@ -5720,9 +5720,9 @@ export declare const sheetsSyncContract: {
5720
5720
  }, "strip", z.ZodTypeAny, {
5721
5721
  spreadsheetId: string;
5722
5722
  activeWorkers: {
5723
- id: string;
5724
- updatedAt: Date;
5725
5723
  createdAt: Date;
5724
+ updatedAt: Date;
5725
+ id: string;
5726
5726
  startDate: Date;
5727
5727
  startRow: number;
5728
5728
  enabled: boolean;
@@ -5734,9 +5734,9 @@ export declare const sheetsSyncContract: {
5734
5734
  tabName?: string | null | undefined;
5735
5735
  };
5736
5736
  newYellowGreen: {
5737
- id: string;
5738
- updatedAt: Date;
5739
5737
  createdAt: Date;
5738
+ updatedAt: Date;
5739
+ id: string;
5740
5740
  startDate: Date;
5741
5741
  startRow: number;
5742
5742
  enabled: boolean;
@@ -5750,9 +5750,9 @@ export declare const sheetsSyncContract: {
5750
5750
  }, {
5751
5751
  spreadsheetId: string;
5752
5752
  activeWorkers: {
5753
- id: string;
5754
- updatedAt: Date;
5755
5753
  createdAt: Date;
5754
+ updatedAt: Date;
5755
+ id: string;
5756
5756
  startDate: Date;
5757
5757
  lastSyncedAt: Date | null;
5758
5758
  lastError: string | null;
@@ -5764,9 +5764,9 @@ export declare const sheetsSyncContract: {
5764
5764
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
5765
5765
  };
5766
5766
  newYellowGreen: {
5767
- id: string;
5768
- updatedAt: Date;
5769
5767
  createdAt: Date;
5768
+ updatedAt: Date;
5769
+ id: string;
5770
5770
  startDate: Date;
5771
5771
  lastSyncedAt: Date | null;
5772
5772
  lastError: string | null;
@@ -5795,9 +5795,9 @@ export declare const sheetsSyncContract: {
5795
5795
  createdAt: z.ZodDate;
5796
5796
  updatedAt: z.ZodDate;
5797
5797
  }, "strip", z.ZodTypeAny, {
5798
- id: string;
5799
- updatedAt: Date;
5800
5798
  createdAt: Date;
5799
+ updatedAt: Date;
5800
+ id: string;
5801
5801
  startDate: Date;
5802
5802
  startRow: number;
5803
5803
  enabled: boolean;
@@ -5808,9 +5808,9 @@ export declare const sheetsSyncContract: {
5808
5808
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
5809
5809
  tabName?: string | null | undefined;
5810
5810
  }, {
5811
- id: string;
5812
- updatedAt: Date;
5813
5811
  createdAt: Date;
5812
+ updatedAt: Date;
5813
+ id: string;
5814
5814
  startDate: Date;
5815
5815
  lastSyncedAt: Date | null;
5816
5816
  lastError: string | null;
@@ -5836,9 +5836,9 @@ export declare const sheetsSyncContract: {
5836
5836
  createdAt: z.ZodDate;
5837
5837
  updatedAt: z.ZodDate;
5838
5838
  }, "strip", z.ZodTypeAny, {
5839
- id: string;
5840
- updatedAt: Date;
5841
5839
  createdAt: Date;
5840
+ updatedAt: Date;
5841
+ id: string;
5842
5842
  startDate: Date;
5843
5843
  startRow: number;
5844
5844
  enabled: boolean;
@@ -5849,9 +5849,9 @@ export declare const sheetsSyncContract: {
5849
5849
  disabledReason: "USER_INACTIVE" | "ROLE_REMOVED" | null;
5850
5850
  tabName?: string | null | undefined;
5851
5851
  }, {
5852
- id: string;
5853
- updatedAt: Date;
5854
5852
  createdAt: Date;
5853
+ updatedAt: Date;
5854
+ id: string;
5855
5855
  startDate: Date;
5856
5856
  lastSyncedAt: Date | null;
5857
5857
  lastError: string | null;
@@ -5865,9 +5865,9 @@ export declare const sheetsSyncContract: {
5865
5865
  }, "strip", z.ZodTypeAny, {
5866
5866
  spreadsheetId: string;
5867
5867
  activeWorkers: {
5868
- id: string;
5869
- updatedAt: Date;
5870
5868
  createdAt: Date;
5869
+ updatedAt: Date;
5870
+ id: string;
5871
5871
  startDate: Date;
5872
5872
  startRow: number;
5873
5873
  enabled: boolean;
@@ -5879,9 +5879,9 @@ export declare const sheetsSyncContract: {
5879
5879
  tabName?: string | null | undefined;
5880
5880
  };
5881
5881
  newYellowGreen: {
5882
- id: string;
5883
- updatedAt: Date;
5884
5882
  createdAt: Date;
5883
+ updatedAt: Date;
5884
+ id: string;
5885
5885
  startDate: Date;
5886
5886
  startRow: number;
5887
5887
  enabled: boolean;
@@ -5895,9 +5895,9 @@ export declare const sheetsSyncContract: {
5895
5895
  }, {
5896
5896
  spreadsheetId: string;
5897
5897
  activeWorkers: {
5898
- id: string;
5899
- updatedAt: Date;
5900
5898
  createdAt: Date;
5899
+ updatedAt: Date;
5900
+ id: string;
5901
5901
  startDate: Date;
5902
5902
  lastSyncedAt: Date | null;
5903
5903
  lastError: string | null;
@@ -5909,9 +5909,9 @@ export declare const sheetsSyncContract: {
5909
5909
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
5910
5910
  };
5911
5911
  newYellowGreen: {
5912
- id: string;
5913
- updatedAt: Date;
5914
5912
  createdAt: Date;
5913
+ updatedAt: Date;
5914
+ id: string;
5915
5915
  startDate: Date;
5916
5916
  lastSyncedAt: Date | null;
5917
5917
  lastError: string | null;
@@ -5926,13 +5926,13 @@ export declare const sheetsSyncContract: {
5926
5926
  createdAt: z.ZodDate;
5927
5927
  updatedAt: z.ZodDate;
5928
5928
  }, "strip", z.ZodTypeAny, {
5929
- id: string;
5930
5929
  name: string | null;
5931
- updatedAt: Date;
5932
5930
  createdAt: Date;
5931
+ updatedAt: Date;
5932
+ id: string;
5933
5933
  user: {
5934
- status: string;
5935
5934
  id: string;
5935
+ status: string;
5936
5936
  roles: string[];
5937
5937
  lastName: string;
5938
5938
  firstName: string;
@@ -5947,9 +5947,9 @@ export declare const sheetsSyncContract: {
5947
5947
  fa: {
5948
5948
  spreadsheetId: string;
5949
5949
  activeWorkers: {
5950
- id: string;
5951
- updatedAt: Date;
5952
5950
  createdAt: Date;
5951
+ updatedAt: Date;
5952
+ id: string;
5953
5953
  startDate: Date;
5954
5954
  startRow: number;
5955
5955
  enabled: boolean;
@@ -5961,9 +5961,9 @@ export declare const sheetsSyncContract: {
5961
5961
  tabName?: string | null | undefined;
5962
5962
  };
5963
5963
  newYellowGreen: {
5964
- id: string;
5965
- updatedAt: Date;
5966
5964
  createdAt: Date;
5965
+ updatedAt: Date;
5966
+ id: string;
5967
5967
  startDate: Date;
5968
5968
  startRow: number;
5969
5969
  enabled: boolean;
@@ -5978,9 +5978,9 @@ export declare const sheetsSyncContract: {
5978
5978
  sa: {
5979
5979
  spreadsheetId: string;
5980
5980
  activeWorkers: {
5981
- id: string;
5982
- updatedAt: Date;
5983
5981
  createdAt: Date;
5982
+ updatedAt: Date;
5983
+ id: string;
5984
5984
  startDate: Date;
5985
5985
  startRow: number;
5986
5986
  enabled: boolean;
@@ -5992,9 +5992,9 @@ export declare const sheetsSyncContract: {
5992
5992
  tabName?: string | null | undefined;
5993
5993
  };
5994
5994
  newYellowGreen: {
5995
- id: string;
5996
- updatedAt: Date;
5997
5995
  createdAt: Date;
5996
+ updatedAt: Date;
5997
+ id: string;
5998
5998
  startDate: Date;
5999
5999
  startRow: number;
6000
6000
  enabled: boolean;
@@ -6007,10 +6007,10 @@ export declare const sheetsSyncContract: {
6007
6007
  };
6008
6008
  } | null;
6009
6009
  }, {
6010
- id: string;
6011
6010
  name: string | null;
6012
- updatedAt: Date;
6013
6011
  createdAt: Date;
6012
+ updatedAt: Date;
6013
+ id: string;
6014
6014
  user: {
6015
6015
  id: string;
6016
6016
  lastName: string;
@@ -6028,9 +6028,9 @@ export declare const sheetsSyncContract: {
6028
6028
  fa: {
6029
6029
  spreadsheetId: string;
6030
6030
  activeWorkers: {
6031
- id: string;
6032
- updatedAt: Date;
6033
6031
  createdAt: Date;
6032
+ updatedAt: Date;
6033
+ id: string;
6034
6034
  startDate: Date;
6035
6035
  lastSyncedAt: Date | null;
6036
6036
  lastError: string | null;
@@ -6042,9 +6042,9 @@ export declare const sheetsSyncContract: {
6042
6042
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
6043
6043
  };
6044
6044
  newYellowGreen: {
6045
- id: string;
6046
- updatedAt: Date;
6047
6045
  createdAt: Date;
6046
+ updatedAt: Date;
6047
+ id: string;
6048
6048
  startDate: Date;
6049
6049
  lastSyncedAt: Date | null;
6050
6050
  lastError: string | null;
@@ -6059,9 +6059,9 @@ export declare const sheetsSyncContract: {
6059
6059
  sa: {
6060
6060
  spreadsheetId: string;
6061
6061
  activeWorkers: {
6062
- id: string;
6063
- updatedAt: Date;
6064
6062
  createdAt: Date;
6063
+ updatedAt: Date;
6064
+ id: string;
6065
6065
  startDate: Date;
6066
6066
  lastSyncedAt: Date | null;
6067
6067
  lastError: string | null;
@@ -6073,9 +6073,9 @@ export declare const sheetsSyncContract: {
6073
6073
  disabledReason?: "USER_INACTIVE" | "ROLE_REMOVED" | null | undefined;
6074
6074
  };
6075
6075
  newYellowGreen: {
6076
- id: string;
6077
- updatedAt: Date;
6078
6076
  createdAt: Date;
6077
+ updatedAt: Date;
6078
+ id: string;
6079
6079
  startDate: Date;
6080
6080
  lastSyncedAt: Date | null;
6081
6081
  lastError: string | null;
@@ -6097,17 +6097,17 @@ export declare const sheetsSyncContract: {
6097
6097
  path: z.ZodString;
6098
6098
  correlationId: z.ZodOptional<z.ZodString>;
6099
6099
  }, "strip", z.ZodTypeAny, {
6100
- message: string;
6101
6100
  code: string;
6102
6101
  path: string;
6102
+ message: string;
6103
6103
  statusCode: number;
6104
6104
  timestamp: string;
6105
6105
  details?: unknown;
6106
6106
  correlationId?: string | undefined;
6107
6107
  }, {
6108
- message: string;
6109
6108
  code: string;
6110
6109
  path: string;
6110
+ message: string;
6111
6111
  statusCode: number;
6112
6112
  timestamp: string;
6113
6113
  details?: unknown;
@@ -6122,17 +6122,17 @@ export declare const sheetsSyncContract: {
6122
6122
  path: z.ZodString;
6123
6123
  correlationId: z.ZodOptional<z.ZodString>;
6124
6124
  }, "strip", z.ZodTypeAny, {
6125
- message: string;
6126
6125
  code: string;
6127
6126
  path: string;
6127
+ message: string;
6128
6128
  statusCode: number;
6129
6129
  timestamp: string;
6130
6130
  details?: unknown;
6131
6131
  correlationId?: string | undefined;
6132
6132
  }, {
6133
- message: string;
6134
6133
  code: string;
6135
6134
  path: string;
6135
+ message: string;
6136
6136
  statusCode: number;
6137
6137
  timestamp: string;
6138
6138
  details?: unknown;
@@ -6147,17 +6147,17 @@ export declare const sheetsSyncContract: {
6147
6147
  path: z.ZodString;
6148
6148
  correlationId: z.ZodOptional<z.ZodString>;
6149
6149
  }, "strip", z.ZodTypeAny, {
6150
- message: string;
6151
6150
  code: string;
6152
6151
  path: string;
6152
+ message: string;
6153
6153
  statusCode: number;
6154
6154
  timestamp: string;
6155
6155
  details?: unknown;
6156
6156
  correlationId?: string | undefined;
6157
6157
  }, {
6158
- message: string;
6159
6158
  code: string;
6160
6159
  path: string;
6160
+ message: string;
6161
6161
  statusCode: number;
6162
6162
  timestamp: string;
6163
6163
  details?: unknown;
@@ -6178,7 +6178,7 @@ export declare const sheetsSyncContract: {
6178
6178
  body: typeof import("@ts-rest/core").ContractNoBody;
6179
6179
  path: "/v2/sheets-sync/links/:id";
6180
6180
  responses: {
6181
- 400: z.ZodObject<{
6181
+ 401: z.ZodObject<{
6182
6182
  statusCode: z.ZodNumber;
6183
6183
  message: z.ZodString;
6184
6184
  code: z.ZodString;
@@ -6187,23 +6187,23 @@ export declare const sheetsSyncContract: {
6187
6187
  path: z.ZodString;
6188
6188
  correlationId: z.ZodOptional<z.ZodString>;
6189
6189
  }, "strip", z.ZodTypeAny, {
6190
- message: string;
6191
6190
  code: string;
6192
6191
  path: string;
6192
+ message: string;
6193
6193
  statusCode: number;
6194
6194
  timestamp: string;
6195
6195
  details?: unknown;
6196
6196
  correlationId?: string | undefined;
6197
6197
  }, {
6198
- message: string;
6199
6198
  code: string;
6200
6199
  path: string;
6200
+ message: string;
6201
6201
  statusCode: number;
6202
6202
  timestamp: string;
6203
6203
  details?: unknown;
6204
6204
  correlationId?: string | undefined;
6205
6205
  }>;
6206
- 401: z.ZodObject<{
6206
+ 400: z.ZodObject<{
6207
6207
  statusCode: z.ZodNumber;
6208
6208
  message: z.ZodString;
6209
6209
  code: z.ZodString;
@@ -6212,17 +6212,17 @@ export declare const sheetsSyncContract: {
6212
6212
  path: z.ZodString;
6213
6213
  correlationId: z.ZodOptional<z.ZodString>;
6214
6214
  }, "strip", z.ZodTypeAny, {
6215
- message: string;
6216
6215
  code: string;
6217
6216
  path: string;
6217
+ message: string;
6218
6218
  statusCode: number;
6219
6219
  timestamp: string;
6220
6220
  details?: unknown;
6221
6221
  correlationId?: string | undefined;
6222
6222
  }, {
6223
- message: string;
6224
6223
  code: string;
6225
6224
  path: string;
6225
+ message: string;
6226
6226
  statusCode: number;
6227
6227
  timestamp: string;
6228
6228
  details?: unknown;
@@ -6237,17 +6237,17 @@ export declare const sheetsSyncContract: {
6237
6237
  path: z.ZodString;
6238
6238
  correlationId: z.ZodOptional<z.ZodString>;
6239
6239
  }, "strip", z.ZodTypeAny, {
6240
- message: string;
6241
6240
  code: string;
6242
6241
  path: string;
6242
+ message: string;
6243
6243
  statusCode: number;
6244
6244
  timestamp: string;
6245
6245
  details?: unknown;
6246
6246
  correlationId?: string | undefined;
6247
6247
  }, {
6248
- message: string;
6249
6248
  code: string;
6250
6249
  path: string;
6250
+ message: string;
6251
6251
  statusCode: number;
6252
6252
  timestamp: string;
6253
6253
  details?: unknown;
@@ -6262,17 +6262,17 @@ export declare const sheetsSyncContract: {
6262
6262
  path: z.ZodString;
6263
6263
  correlationId: z.ZodOptional<z.ZodString>;
6264
6264
  }, "strip", z.ZodTypeAny, {
6265
- message: string;
6266
6265
  code: string;
6267
6266
  path: string;
6267
+ message: string;
6268
6268
  statusCode: number;
6269
6269
  timestamp: string;
6270
6270
  details?: unknown;
6271
6271
  correlationId?: string | undefined;
6272
6272
  }, {
6273
- message: string;
6274
6273
  code: string;
6275
6274
  path: string;
6275
+ message: string;
6276
6276
  statusCode: number;
6277
6277
  timestamp: string;
6278
6278
  details?: unknown;
@@ -6288,17 +6288,17 @@ export declare const sheetsSyncContract: {
6288
6288
  path: z.ZodString;
6289
6289
  correlationId: z.ZodOptional<z.ZodString>;
6290
6290
  }, "strip", z.ZodTypeAny, {
6291
- message: string;
6292
6291
  code: string;
6293
6292
  path: string;
6293
+ message: string;
6294
6294
  statusCode: number;
6295
6295
  timestamp: string;
6296
6296
  details?: unknown;
6297
6297
  correlationId?: string | undefined;
6298
6298
  }, {
6299
- message: string;
6300
6299
  code: string;
6301
6300
  path: string;
6301
+ message: string;
6302
6302
  statusCode: number;
6303
6303
  timestamp: string;
6304
6304
  details?: unknown;
@@ -6313,17 +6313,17 @@ export declare const sheetsSyncContract: {
6313
6313
  path: z.ZodString;
6314
6314
  correlationId: z.ZodOptional<z.ZodString>;
6315
6315
  }, "strip", z.ZodTypeAny, {
6316
- message: string;
6317
6316
  code: string;
6318
6317
  path: string;
6318
+ message: string;
6319
6319
  statusCode: number;
6320
6320
  timestamp: string;
6321
6321
  details?: unknown;
6322
6322
  correlationId?: string | undefined;
6323
6323
  }, {
6324
- message: string;
6325
6324
  code: string;
6326
6325
  path: string;
6326
+ message: string;
6327
6327
  statusCode: number;
6328
6328
  timestamp: string;
6329
6329
  details?: unknown;
@@ -6344,7 +6344,7 @@ export declare const sheetsSyncContract: {
6344
6344
  body: typeof import("@ts-rest/core").ContractNoBody;
6345
6345
  path: "/v2/sheets-sync/links/:id/resync";
6346
6346
  responses: {
6347
- 400: z.ZodObject<{
6347
+ 401: z.ZodObject<{
6348
6348
  statusCode: z.ZodNumber;
6349
6349
  message: z.ZodString;
6350
6350
  code: z.ZodString;
@@ -6353,23 +6353,23 @@ export declare const sheetsSyncContract: {
6353
6353
  path: z.ZodString;
6354
6354
  correlationId: z.ZodOptional<z.ZodString>;
6355
6355
  }, "strip", z.ZodTypeAny, {
6356
- message: string;
6357
6356
  code: string;
6358
6357
  path: string;
6358
+ message: string;
6359
6359
  statusCode: number;
6360
6360
  timestamp: string;
6361
6361
  details?: unknown;
6362
6362
  correlationId?: string | undefined;
6363
6363
  }, {
6364
- message: string;
6365
6364
  code: string;
6366
6365
  path: string;
6366
+ message: string;
6367
6367
  statusCode: number;
6368
6368
  timestamp: string;
6369
6369
  details?: unknown;
6370
6370
  correlationId?: string | undefined;
6371
6371
  }>;
6372
- 401: z.ZodObject<{
6372
+ 400: z.ZodObject<{
6373
6373
  statusCode: z.ZodNumber;
6374
6374
  message: z.ZodString;
6375
6375
  code: z.ZodString;
@@ -6378,17 +6378,17 @@ export declare const sheetsSyncContract: {
6378
6378
  path: z.ZodString;
6379
6379
  correlationId: z.ZodOptional<z.ZodString>;
6380
6380
  }, "strip", z.ZodTypeAny, {
6381
- message: string;
6382
6381
  code: string;
6383
6382
  path: string;
6383
+ message: string;
6384
6384
  statusCode: number;
6385
6385
  timestamp: string;
6386
6386
  details?: unknown;
6387
6387
  correlationId?: string | undefined;
6388
6388
  }, {
6389
- message: string;
6390
6389
  code: string;
6391
6390
  path: string;
6391
+ message: string;
6392
6392
  statusCode: number;
6393
6393
  timestamp: string;
6394
6394
  details?: unknown;
@@ -6403,17 +6403,17 @@ export declare const sheetsSyncContract: {
6403
6403
  path: z.ZodString;
6404
6404
  correlationId: z.ZodOptional<z.ZodString>;
6405
6405
  }, "strip", z.ZodTypeAny, {
6406
- message: string;
6407
6406
  code: string;
6408
6407
  path: string;
6408
+ message: string;
6409
6409
  statusCode: number;
6410
6410
  timestamp: string;
6411
6411
  details?: unknown;
6412
6412
  correlationId?: string | undefined;
6413
6413
  }, {
6414
- message: string;
6415
6414
  code: string;
6416
6415
  path: string;
6416
+ message: string;
6417
6417
  statusCode: number;
6418
6418
  timestamp: string;
6419
6419
  details?: unknown;
@@ -6428,17 +6428,17 @@ export declare const sheetsSyncContract: {
6428
6428
  path: z.ZodString;
6429
6429
  correlationId: z.ZodOptional<z.ZodString>;
6430
6430
  }, "strip", z.ZodTypeAny, {
6431
- message: string;
6432
6431
  code: string;
6433
6432
  path: string;
6433
+ message: string;
6434
6434
  statusCode: number;
6435
6435
  timestamp: string;
6436
6436
  details?: unknown;
6437
6437
  correlationId?: string | undefined;
6438
6438
  }, {
6439
- message: string;
6440
6439
  code: string;
6441
6440
  path: string;
6441
+ message: string;
6442
6442
  statusCode: number;
6443
6443
  timestamp: string;
6444
6444
  details?: unknown;
@@ -6460,17 +6460,17 @@ export declare const sheetsSyncContract: {
6460
6460
  path: z.ZodString;
6461
6461
  correlationId: z.ZodOptional<z.ZodString>;
6462
6462
  }, "strip", z.ZodTypeAny, {
6463
- message: string;
6464
6463
  code: string;
6465
6464
  path: string;
6465
+ message: string;
6466
6466
  statusCode: number;
6467
6467
  timestamp: string;
6468
6468
  details?: unknown;
6469
6469
  correlationId?: string | undefined;
6470
6470
  }, {
6471
- message: string;
6472
6471
  code: string;
6473
6472
  path: string;
6473
+ message: string;
6474
6474
  statusCode: number;
6475
6475
  timestamp: string;
6476
6476
  details?: unknown;
@@ -6485,17 +6485,17 @@ export declare const sheetsSyncContract: {
6485
6485
  path: z.ZodString;
6486
6486
  correlationId: z.ZodOptional<z.ZodString>;
6487
6487
  }, "strip", z.ZodTypeAny, {
6488
- message: string;
6489
6488
  code: string;
6490
6489
  path: string;
6490
+ message: string;
6491
6491
  statusCode: number;
6492
6492
  timestamp: string;
6493
6493
  details?: unknown;
6494
6494
  correlationId?: string | undefined;
6495
6495
  }, {
6496
- message: string;
6497
6496
  code: string;
6498
6497
  path: string;
6498
+ message: string;
6499
6499
  statusCode: number;
6500
6500
  timestamp: string;
6501
6501
  details?: unknown;
@@ -6508,7 +6508,7 @@ export declare const sheetsSyncContract: {
6508
6508
  method: "GET";
6509
6509
  path: "/v2/sheets-sync/check-yellow";
6510
6510
  responses: {
6511
- 400: z.ZodObject<{
6511
+ 401: z.ZodObject<{
6512
6512
  statusCode: z.ZodNumber;
6513
6513
  message: z.ZodString;
6514
6514
  code: z.ZodString;
@@ -6517,23 +6517,23 @@ export declare const sheetsSyncContract: {
6517
6517
  path: z.ZodString;
6518
6518
  correlationId: z.ZodOptional<z.ZodString>;
6519
6519
  }, "strip", z.ZodTypeAny, {
6520
- message: string;
6521
6520
  code: string;
6522
6521
  path: string;
6522
+ message: string;
6523
6523
  statusCode: number;
6524
6524
  timestamp: string;
6525
6525
  details?: unknown;
6526
6526
  correlationId?: string | undefined;
6527
6527
  }, {
6528
- message: string;
6529
6528
  code: string;
6530
6529
  path: string;
6530
+ message: string;
6531
6531
  statusCode: number;
6532
6532
  timestamp: string;
6533
6533
  details?: unknown;
6534
6534
  correlationId?: string | undefined;
6535
6535
  }>;
6536
- 401: z.ZodObject<{
6536
+ 400: z.ZodObject<{
6537
6537
  statusCode: z.ZodNumber;
6538
6538
  message: z.ZodString;
6539
6539
  code: z.ZodString;
@@ -6542,17 +6542,17 @@ export declare const sheetsSyncContract: {
6542
6542
  path: z.ZodString;
6543
6543
  correlationId: z.ZodOptional<z.ZodString>;
6544
6544
  }, "strip", z.ZodTypeAny, {
6545
- message: string;
6546
6545
  code: string;
6547
6546
  path: string;
6547
+ message: string;
6548
6548
  statusCode: number;
6549
6549
  timestamp: string;
6550
6550
  details?: unknown;
6551
6551
  correlationId?: string | undefined;
6552
6552
  }, {
6553
- message: string;
6554
6553
  code: string;
6555
6554
  path: string;
6555
+ message: string;
6556
6556
  statusCode: number;
6557
6557
  timestamp: string;
6558
6558
  details?: unknown;
@@ -6567,17 +6567,17 @@ export declare const sheetsSyncContract: {
6567
6567
  path: z.ZodString;
6568
6568
  correlationId: z.ZodOptional<z.ZodString>;
6569
6569
  }, "strip", z.ZodTypeAny, {
6570
- message: string;
6571
6570
  code: string;
6572
6571
  path: string;
6572
+ message: string;
6573
6573
  statusCode: number;
6574
6574
  timestamp: string;
6575
6575
  details?: unknown;
6576
6576
  correlationId?: string | undefined;
6577
6577
  }, {
6578
- message: string;
6579
6578
  code: string;
6580
6579
  path: string;
6580
+ message: string;
6581
6581
  statusCode: number;
6582
6582
  timestamp: string;
6583
6583
  details?: unknown;
@@ -6592,17 +6592,17 @@ export declare const sheetsSyncContract: {
6592
6592
  path: z.ZodString;
6593
6593
  correlationId: z.ZodOptional<z.ZodString>;
6594
6594
  }, "strip", z.ZodTypeAny, {
6595
- message: string;
6596
6595
  code: string;
6597
6596
  path: string;
6597
+ message: string;
6598
6598
  statusCode: number;
6599
6599
  timestamp: string;
6600
6600
  details?: unknown;
6601
6601
  correlationId?: string | undefined;
6602
6602
  }, {
6603
- message: string;
6604
6603
  code: string;
6605
6604
  path: string;
6605
+ message: string;
6606
6606
  statusCode: number;
6607
6607
  timestamp: string;
6608
6608
  details?: unknown;
@@ -6622,9 +6622,9 @@ export declare const sheetsSyncContract: {
6622
6622
  createdAt: z.ZodDate;
6623
6623
  updatedAt: z.ZodDate;
6624
6624
  }, "strip", z.ZodTypeAny, {
6625
- id: string;
6626
- updatedAt: Date;
6627
6625
  createdAt: Date;
6626
+ updatedAt: Date;
6627
+ id: string;
6628
6628
  startDate: Date | null;
6629
6629
  startRow: number;
6630
6630
  enabled: boolean;
@@ -6635,9 +6635,9 @@ export declare const sheetsSyncContract: {
6635
6635
  lastRowCount: number;
6636
6636
  spreadsheetId: string | null;
6637
6637
  }, {
6638
- id: string;
6639
- updatedAt: Date;
6640
6638
  createdAt: Date;
6639
+ updatedAt: Date;
6640
+ id: string;
6641
6641
  startDate: Date | null;
6642
6642
  startRow: number;
6643
6643
  enabled: boolean;
@@ -6657,17 +6657,17 @@ export declare const sheetsSyncContract: {
6657
6657
  path: z.ZodString;
6658
6658
  correlationId: z.ZodOptional<z.ZodString>;
6659
6659
  }, "strip", z.ZodTypeAny, {
6660
- message: string;
6661
6660
  code: string;
6662
6661
  path: string;
6662
+ message: string;
6663
6663
  statusCode: number;
6664
6664
  timestamp: string;
6665
6665
  details?: unknown;
6666
6666
  correlationId?: string | undefined;
6667
6667
  }, {
6668
- message: string;
6669
6668
  code: string;
6670
6669
  path: string;
6670
+ message: string;
6671
6671
  statusCode: number;
6672
6672
  timestamp: string;
6673
6673
  details?: unknown;
@@ -6699,7 +6699,7 @@ export declare const sheetsSyncContract: {
6699
6699
  }>;
6700
6700
  path: "/v2/sheets-sync/check-yellow";
6701
6701
  responses: {
6702
- 400: z.ZodObject<{
6702
+ 401: z.ZodObject<{
6703
6703
  statusCode: z.ZodNumber;
6704
6704
  message: z.ZodString;
6705
6705
  code: z.ZodString;
@@ -6708,23 +6708,23 @@ export declare const sheetsSyncContract: {
6708
6708
  path: z.ZodString;
6709
6709
  correlationId: z.ZodOptional<z.ZodString>;
6710
6710
  }, "strip", z.ZodTypeAny, {
6711
- message: string;
6712
6711
  code: string;
6713
6712
  path: string;
6713
+ message: string;
6714
6714
  statusCode: number;
6715
6715
  timestamp: string;
6716
6716
  details?: unknown;
6717
6717
  correlationId?: string | undefined;
6718
6718
  }, {
6719
- message: string;
6720
6719
  code: string;
6721
6720
  path: string;
6721
+ message: string;
6722
6722
  statusCode: number;
6723
6723
  timestamp: string;
6724
6724
  details?: unknown;
6725
6725
  correlationId?: string | undefined;
6726
6726
  }>;
6727
- 401: z.ZodObject<{
6727
+ 400: z.ZodObject<{
6728
6728
  statusCode: z.ZodNumber;
6729
6729
  message: z.ZodString;
6730
6730
  code: z.ZodString;
@@ -6733,17 +6733,17 @@ export declare const sheetsSyncContract: {
6733
6733
  path: z.ZodString;
6734
6734
  correlationId: z.ZodOptional<z.ZodString>;
6735
6735
  }, "strip", z.ZodTypeAny, {
6736
- message: string;
6737
6736
  code: string;
6738
6737
  path: string;
6738
+ message: string;
6739
6739
  statusCode: number;
6740
6740
  timestamp: string;
6741
6741
  details?: unknown;
6742
6742
  correlationId?: string | undefined;
6743
6743
  }, {
6744
- message: string;
6745
6744
  code: string;
6746
6745
  path: string;
6746
+ message: string;
6747
6747
  statusCode: number;
6748
6748
  timestamp: string;
6749
6749
  details?: unknown;
@@ -6758,17 +6758,17 @@ export declare const sheetsSyncContract: {
6758
6758
  path: z.ZodString;
6759
6759
  correlationId: z.ZodOptional<z.ZodString>;
6760
6760
  }, "strip", z.ZodTypeAny, {
6761
- message: string;
6762
6761
  code: string;
6763
6762
  path: string;
6763
+ message: string;
6764
6764
  statusCode: number;
6765
6765
  timestamp: string;
6766
6766
  details?: unknown;
6767
6767
  correlationId?: string | undefined;
6768
6768
  }, {
6769
- message: string;
6770
6769
  code: string;
6771
6770
  path: string;
6771
+ message: string;
6772
6772
  statusCode: number;
6773
6773
  timestamp: string;
6774
6774
  details?: unknown;
@@ -6783,17 +6783,17 @@ export declare const sheetsSyncContract: {
6783
6783
  path: z.ZodString;
6784
6784
  correlationId: z.ZodOptional<z.ZodString>;
6785
6785
  }, "strip", z.ZodTypeAny, {
6786
- message: string;
6787
6786
  code: string;
6788
6787
  path: string;
6788
+ message: string;
6789
6789
  statusCode: number;
6790
6790
  timestamp: string;
6791
6791
  details?: unknown;
6792
6792
  correlationId?: string | undefined;
6793
6793
  }, {
6794
- message: string;
6795
6794
  code: string;
6796
6795
  path: string;
6796
+ message: string;
6797
6797
  statusCode: number;
6798
6798
  timestamp: string;
6799
6799
  details?: unknown;
@@ -6813,9 +6813,9 @@ export declare const sheetsSyncContract: {
6813
6813
  createdAt: z.ZodDate;
6814
6814
  updatedAt: z.ZodDate;
6815
6815
  }, "strip", z.ZodTypeAny, {
6816
- id: string;
6817
- updatedAt: Date;
6818
6816
  createdAt: Date;
6817
+ updatedAt: Date;
6818
+ id: string;
6819
6819
  startDate: Date | null;
6820
6820
  startRow: number;
6821
6821
  enabled: boolean;
@@ -6826,9 +6826,9 @@ export declare const sheetsSyncContract: {
6826
6826
  lastRowCount: number;
6827
6827
  spreadsheetId: string | null;
6828
6828
  }, {
6829
- id: string;
6830
- updatedAt: Date;
6831
6829
  createdAt: Date;
6830
+ updatedAt: Date;
6831
+ id: string;
6832
6832
  startDate: Date | null;
6833
6833
  startRow: number;
6834
6834
  enabled: boolean;
@@ -6848,17 +6848,17 @@ export declare const sheetsSyncContract: {
6848
6848
  path: z.ZodString;
6849
6849
  correlationId: z.ZodOptional<z.ZodString>;
6850
6850
  }, "strip", z.ZodTypeAny, {
6851
- message: string;
6852
6851
  code: string;
6853
6852
  path: string;
6853
+ message: string;
6854
6854
  statusCode: number;
6855
6855
  timestamp: string;
6856
6856
  details?: unknown;
6857
6857
  correlationId?: string | undefined;
6858
6858
  }, {
6859
- message: string;
6860
6859
  code: string;
6861
6860
  path: string;
6861
+ message: string;
6862
6862
  statusCode: number;
6863
6863
  timestamp: string;
6864
6864
  details?: unknown;
@@ -6873,17 +6873,17 @@ export declare const sheetsSyncContract: {
6873
6873
  path: z.ZodString;
6874
6874
  correlationId: z.ZodOptional<z.ZodString>;
6875
6875
  }, "strip", z.ZodTypeAny, {
6876
- message: string;
6877
6876
  code: string;
6878
6877
  path: string;
6878
+ message: string;
6879
6879
  statusCode: number;
6880
6880
  timestamp: string;
6881
6881
  details?: unknown;
6882
6882
  correlationId?: string | undefined;
6883
6883
  }, {
6884
- message: string;
6885
6884
  code: string;
6886
6885
  path: string;
6886
+ message: string;
6887
6887
  statusCode: number;
6888
6888
  timestamp: string;
6889
6889
  details?: unknown;
@@ -6897,7 +6897,7 @@ export declare const sheetsSyncContract: {
6897
6897
  body: typeof import("@ts-rest/core").ContractNoBody;
6898
6898
  path: "/v2/sheets-sync/check-yellow/resync";
6899
6899
  responses: {
6900
- 400: z.ZodObject<{
6900
+ 401: z.ZodObject<{
6901
6901
  statusCode: z.ZodNumber;
6902
6902
  message: z.ZodString;
6903
6903
  code: z.ZodString;
@@ -6906,23 +6906,23 @@ export declare const sheetsSyncContract: {
6906
6906
  path: z.ZodString;
6907
6907
  correlationId: z.ZodOptional<z.ZodString>;
6908
6908
  }, "strip", z.ZodTypeAny, {
6909
- message: string;
6910
6909
  code: string;
6911
6910
  path: string;
6911
+ message: string;
6912
6912
  statusCode: number;
6913
6913
  timestamp: string;
6914
6914
  details?: unknown;
6915
6915
  correlationId?: string | undefined;
6916
6916
  }, {
6917
- message: string;
6918
6917
  code: string;
6919
6918
  path: string;
6919
+ message: string;
6920
6920
  statusCode: number;
6921
6921
  timestamp: string;
6922
6922
  details?: unknown;
6923
6923
  correlationId?: string | undefined;
6924
6924
  }>;
6925
- 401: z.ZodObject<{
6925
+ 400: z.ZodObject<{
6926
6926
  statusCode: z.ZodNumber;
6927
6927
  message: z.ZodString;
6928
6928
  code: z.ZodString;
@@ -6931,17 +6931,17 @@ export declare const sheetsSyncContract: {
6931
6931
  path: z.ZodString;
6932
6932
  correlationId: z.ZodOptional<z.ZodString>;
6933
6933
  }, "strip", z.ZodTypeAny, {
6934
- message: string;
6935
6934
  code: string;
6936
6935
  path: string;
6936
+ message: string;
6937
6937
  statusCode: number;
6938
6938
  timestamp: string;
6939
6939
  details?: unknown;
6940
6940
  correlationId?: string | undefined;
6941
6941
  }, {
6942
- message: string;
6943
6942
  code: string;
6944
6943
  path: string;
6944
+ message: string;
6945
6945
  statusCode: number;
6946
6946
  timestamp: string;
6947
6947
  details?: unknown;
@@ -6956,17 +6956,17 @@ export declare const sheetsSyncContract: {
6956
6956
  path: z.ZodString;
6957
6957
  correlationId: z.ZodOptional<z.ZodString>;
6958
6958
  }, "strip", z.ZodTypeAny, {
6959
- message: string;
6960
6959
  code: string;
6961
6960
  path: string;
6961
+ message: string;
6962
6962
  statusCode: number;
6963
6963
  timestamp: string;
6964
6964
  details?: unknown;
6965
6965
  correlationId?: string | undefined;
6966
6966
  }, {
6967
- message: string;
6968
6967
  code: string;
6969
6968
  path: string;
6969
+ message: string;
6970
6970
  statusCode: number;
6971
6971
  timestamp: string;
6972
6972
  details?: unknown;
@@ -6981,17 +6981,17 @@ export declare const sheetsSyncContract: {
6981
6981
  path: z.ZodString;
6982
6982
  correlationId: z.ZodOptional<z.ZodString>;
6983
6983
  }, "strip", z.ZodTypeAny, {
6984
- message: string;
6985
6984
  code: string;
6986
6985
  path: string;
6986
+ message: string;
6987
6987
  statusCode: number;
6988
6988
  timestamp: string;
6989
6989
  details?: unknown;
6990
6990
  correlationId?: string | undefined;
6991
6991
  }, {
6992
- message: string;
6993
6992
  code: string;
6994
6993
  path: string;
6994
+ message: string;
6995
6995
  statusCode: number;
6996
6996
  timestamp: string;
6997
6997
  details?: unknown;
@@ -7013,17 +7013,17 @@ export declare const sheetsSyncContract: {
7013
7013
  path: z.ZodString;
7014
7014
  correlationId: z.ZodOptional<z.ZodString>;
7015
7015
  }, "strip", z.ZodTypeAny, {
7016
- message: string;
7017
7016
  code: string;
7018
7017
  path: string;
7018
+ message: string;
7019
7019
  statusCode: number;
7020
7020
  timestamp: string;
7021
7021
  details?: unknown;
7022
7022
  correlationId?: string | undefined;
7023
7023
  }, {
7024
- message: string;
7025
7024
  code: string;
7026
7025
  path: string;
7026
+ message: string;
7027
7027
  statusCode: number;
7028
7028
  timestamp: string;
7029
7029
  details?: unknown;
@@ -7036,7 +7036,7 @@ export declare const sheetsSyncContract: {
7036
7036
  method: "GET";
7037
7037
  path: "/v2/sheets-sync/actives-today";
7038
7038
  responses: {
7039
- 400: z.ZodObject<{
7039
+ 401: z.ZodObject<{
7040
7040
  statusCode: z.ZodNumber;
7041
7041
  message: z.ZodString;
7042
7042
  code: z.ZodString;
@@ -7045,23 +7045,23 @@ export declare const sheetsSyncContract: {
7045
7045
  path: z.ZodString;
7046
7046
  correlationId: z.ZodOptional<z.ZodString>;
7047
7047
  }, "strip", z.ZodTypeAny, {
7048
- message: string;
7049
7048
  code: string;
7050
7049
  path: string;
7050
+ message: string;
7051
7051
  statusCode: number;
7052
7052
  timestamp: string;
7053
7053
  details?: unknown;
7054
7054
  correlationId?: string | undefined;
7055
7055
  }, {
7056
- message: string;
7057
7056
  code: string;
7058
7057
  path: string;
7058
+ message: string;
7059
7059
  statusCode: number;
7060
7060
  timestamp: string;
7061
7061
  details?: unknown;
7062
7062
  correlationId?: string | undefined;
7063
7063
  }>;
7064
- 401: z.ZodObject<{
7064
+ 400: z.ZodObject<{
7065
7065
  statusCode: z.ZodNumber;
7066
7066
  message: z.ZodString;
7067
7067
  code: z.ZodString;
@@ -7070,17 +7070,17 @@ export declare const sheetsSyncContract: {
7070
7070
  path: z.ZodString;
7071
7071
  correlationId: z.ZodOptional<z.ZodString>;
7072
7072
  }, "strip", z.ZodTypeAny, {
7073
- message: string;
7074
7073
  code: string;
7075
7074
  path: string;
7075
+ message: string;
7076
7076
  statusCode: number;
7077
7077
  timestamp: string;
7078
7078
  details?: unknown;
7079
7079
  correlationId?: string | undefined;
7080
7080
  }, {
7081
- message: string;
7082
7081
  code: string;
7083
7082
  path: string;
7083
+ message: string;
7084
7084
  statusCode: number;
7085
7085
  timestamp: string;
7086
7086
  details?: unknown;
@@ -7095,17 +7095,17 @@ export declare const sheetsSyncContract: {
7095
7095
  path: z.ZodString;
7096
7096
  correlationId: z.ZodOptional<z.ZodString>;
7097
7097
  }, "strip", z.ZodTypeAny, {
7098
- message: string;
7099
7098
  code: string;
7100
7099
  path: string;
7100
+ message: string;
7101
7101
  statusCode: number;
7102
7102
  timestamp: string;
7103
7103
  details?: unknown;
7104
7104
  correlationId?: string | undefined;
7105
7105
  }, {
7106
- message: string;
7107
7106
  code: string;
7108
7107
  path: string;
7108
+ message: string;
7109
7109
  statusCode: number;
7110
7110
  timestamp: string;
7111
7111
  details?: unknown;
@@ -7120,17 +7120,17 @@ export declare const sheetsSyncContract: {
7120
7120
  path: z.ZodString;
7121
7121
  correlationId: z.ZodOptional<z.ZodString>;
7122
7122
  }, "strip", z.ZodTypeAny, {
7123
- message: string;
7124
7123
  code: string;
7125
7124
  path: string;
7125
+ message: string;
7126
7126
  statusCode: number;
7127
7127
  timestamp: string;
7128
7128
  details?: unknown;
7129
7129
  correlationId?: string | undefined;
7130
7130
  }, {
7131
- message: string;
7132
7131
  code: string;
7133
7132
  path: string;
7133
+ message: string;
7134
7134
  statusCode: number;
7135
7135
  timestamp: string;
7136
7136
  details?: unknown;
@@ -7148,9 +7148,9 @@ export declare const sheetsSyncContract: {
7148
7148
  createdAt: z.ZodDate;
7149
7149
  updatedAt: z.ZodDate;
7150
7150
  }, "strip", z.ZodTypeAny, {
7151
- id: string;
7152
- updatedAt: Date;
7153
7151
  createdAt: Date;
7152
+ updatedAt: Date;
7153
+ id: string;
7154
7154
  enabled: boolean;
7155
7155
  tabName: string | null;
7156
7156
  lastSyncedAt: Date | null;
@@ -7159,9 +7159,9 @@ export declare const sheetsSyncContract: {
7159
7159
  lastRowCount: number;
7160
7160
  spreadsheetId: string | null;
7161
7161
  }, {
7162
- id: string;
7163
- updatedAt: Date;
7164
7162
  createdAt: Date;
7163
+ updatedAt: Date;
7164
+ id: string;
7165
7165
  enabled: boolean;
7166
7166
  tabName: string | null;
7167
7167
  lastSyncedAt: Date | null;
@@ -7179,17 +7179,17 @@ export declare const sheetsSyncContract: {
7179
7179
  path: z.ZodString;
7180
7180
  correlationId: z.ZodOptional<z.ZodString>;
7181
7181
  }, "strip", z.ZodTypeAny, {
7182
- message: string;
7183
7182
  code: string;
7184
7183
  path: string;
7184
+ message: string;
7185
7185
  statusCode: number;
7186
7186
  timestamp: string;
7187
7187
  details?: unknown;
7188
7188
  correlationId?: string | undefined;
7189
7189
  }, {
7190
- message: string;
7191
7190
  code: string;
7192
7191
  path: string;
7192
+ message: string;
7193
7193
  statusCode: number;
7194
7194
  timestamp: string;
7195
7195
  details?: unknown;
@@ -7215,7 +7215,7 @@ export declare const sheetsSyncContract: {
7215
7215
  }>;
7216
7216
  path: "/v2/sheets-sync/actives-today";
7217
7217
  responses: {
7218
- 400: z.ZodObject<{
7218
+ 401: z.ZodObject<{
7219
7219
  statusCode: z.ZodNumber;
7220
7220
  message: z.ZodString;
7221
7221
  code: z.ZodString;
@@ -7224,23 +7224,23 @@ export declare const sheetsSyncContract: {
7224
7224
  path: z.ZodString;
7225
7225
  correlationId: z.ZodOptional<z.ZodString>;
7226
7226
  }, "strip", z.ZodTypeAny, {
7227
- message: string;
7228
7227
  code: string;
7229
7228
  path: string;
7229
+ message: string;
7230
7230
  statusCode: number;
7231
7231
  timestamp: string;
7232
7232
  details?: unknown;
7233
7233
  correlationId?: string | undefined;
7234
7234
  }, {
7235
- message: string;
7236
7235
  code: string;
7237
7236
  path: string;
7237
+ message: string;
7238
7238
  statusCode: number;
7239
7239
  timestamp: string;
7240
7240
  details?: unknown;
7241
7241
  correlationId?: string | undefined;
7242
7242
  }>;
7243
- 401: z.ZodObject<{
7243
+ 400: z.ZodObject<{
7244
7244
  statusCode: z.ZodNumber;
7245
7245
  message: z.ZodString;
7246
7246
  code: z.ZodString;
@@ -7249,17 +7249,17 @@ export declare const sheetsSyncContract: {
7249
7249
  path: z.ZodString;
7250
7250
  correlationId: z.ZodOptional<z.ZodString>;
7251
7251
  }, "strip", z.ZodTypeAny, {
7252
- message: string;
7253
7252
  code: string;
7254
7253
  path: string;
7254
+ message: string;
7255
7255
  statusCode: number;
7256
7256
  timestamp: string;
7257
7257
  details?: unknown;
7258
7258
  correlationId?: string | undefined;
7259
7259
  }, {
7260
- message: string;
7261
7260
  code: string;
7262
7261
  path: string;
7262
+ message: string;
7263
7263
  statusCode: number;
7264
7264
  timestamp: string;
7265
7265
  details?: unknown;
@@ -7274,17 +7274,17 @@ export declare const sheetsSyncContract: {
7274
7274
  path: z.ZodString;
7275
7275
  correlationId: z.ZodOptional<z.ZodString>;
7276
7276
  }, "strip", z.ZodTypeAny, {
7277
- message: string;
7278
7277
  code: string;
7279
7278
  path: string;
7279
+ message: string;
7280
7280
  statusCode: number;
7281
7281
  timestamp: string;
7282
7282
  details?: unknown;
7283
7283
  correlationId?: string | undefined;
7284
7284
  }, {
7285
- message: string;
7286
7285
  code: string;
7287
7286
  path: string;
7287
+ message: string;
7288
7288
  statusCode: number;
7289
7289
  timestamp: string;
7290
7290
  details?: unknown;
@@ -7299,17 +7299,17 @@ export declare const sheetsSyncContract: {
7299
7299
  path: z.ZodString;
7300
7300
  correlationId: z.ZodOptional<z.ZodString>;
7301
7301
  }, "strip", z.ZodTypeAny, {
7302
- message: string;
7303
7302
  code: string;
7304
7303
  path: string;
7304
+ message: string;
7305
7305
  statusCode: number;
7306
7306
  timestamp: string;
7307
7307
  details?: unknown;
7308
7308
  correlationId?: string | undefined;
7309
7309
  }, {
7310
- message: string;
7311
7310
  code: string;
7312
7311
  path: string;
7312
+ message: string;
7313
7313
  statusCode: number;
7314
7314
  timestamp: string;
7315
7315
  details?: unknown;
@@ -7327,9 +7327,9 @@ export declare const sheetsSyncContract: {
7327
7327
  createdAt: z.ZodDate;
7328
7328
  updatedAt: z.ZodDate;
7329
7329
  }, "strip", z.ZodTypeAny, {
7330
- id: string;
7331
- updatedAt: Date;
7332
7330
  createdAt: Date;
7331
+ updatedAt: Date;
7332
+ id: string;
7333
7333
  enabled: boolean;
7334
7334
  tabName: string | null;
7335
7335
  lastSyncedAt: Date | null;
@@ -7338,9 +7338,9 @@ export declare const sheetsSyncContract: {
7338
7338
  lastRowCount: number;
7339
7339
  spreadsheetId: string | null;
7340
7340
  }, {
7341
- id: string;
7342
- updatedAt: Date;
7343
7341
  createdAt: Date;
7342
+ updatedAt: Date;
7343
+ id: string;
7344
7344
  enabled: boolean;
7345
7345
  tabName: string | null;
7346
7346
  lastSyncedAt: Date | null;
@@ -7358,17 +7358,17 @@ export declare const sheetsSyncContract: {
7358
7358
  path: z.ZodString;
7359
7359
  correlationId: z.ZodOptional<z.ZodString>;
7360
7360
  }, "strip", z.ZodTypeAny, {
7361
- message: string;
7362
7361
  code: string;
7363
7362
  path: string;
7363
+ message: string;
7364
7364
  statusCode: number;
7365
7365
  timestamp: string;
7366
7366
  details?: unknown;
7367
7367
  correlationId?: string | undefined;
7368
7368
  }, {
7369
- message: string;
7370
7369
  code: string;
7371
7370
  path: string;
7371
+ message: string;
7372
7372
  statusCode: number;
7373
7373
  timestamp: string;
7374
7374
  details?: unknown;
@@ -7383,17 +7383,17 @@ export declare const sheetsSyncContract: {
7383
7383
  path: z.ZodString;
7384
7384
  correlationId: z.ZodOptional<z.ZodString>;
7385
7385
  }, "strip", z.ZodTypeAny, {
7386
- message: string;
7387
7386
  code: string;
7388
7387
  path: string;
7388
+ message: string;
7389
7389
  statusCode: number;
7390
7390
  timestamp: string;
7391
7391
  details?: unknown;
7392
7392
  correlationId?: string | undefined;
7393
7393
  }, {
7394
- message: string;
7395
7394
  code: string;
7396
7395
  path: string;
7396
+ message: string;
7397
7397
  statusCode: number;
7398
7398
  timestamp: string;
7399
7399
  details?: unknown;
@@ -7407,7 +7407,7 @@ export declare const sheetsSyncContract: {
7407
7407
  body: typeof import("@ts-rest/core").ContractNoBody;
7408
7408
  path: "/v2/sheets-sync/actives-today/resync";
7409
7409
  responses: {
7410
- 400: z.ZodObject<{
7410
+ 401: z.ZodObject<{
7411
7411
  statusCode: z.ZodNumber;
7412
7412
  message: z.ZodString;
7413
7413
  code: z.ZodString;
@@ -7416,23 +7416,23 @@ export declare const sheetsSyncContract: {
7416
7416
  path: z.ZodString;
7417
7417
  correlationId: z.ZodOptional<z.ZodString>;
7418
7418
  }, "strip", z.ZodTypeAny, {
7419
- message: string;
7420
7419
  code: string;
7421
7420
  path: string;
7421
+ message: string;
7422
7422
  statusCode: number;
7423
7423
  timestamp: string;
7424
7424
  details?: unknown;
7425
7425
  correlationId?: string | undefined;
7426
7426
  }, {
7427
- message: string;
7428
7427
  code: string;
7429
7428
  path: string;
7429
+ message: string;
7430
7430
  statusCode: number;
7431
7431
  timestamp: string;
7432
7432
  details?: unknown;
7433
7433
  correlationId?: string | undefined;
7434
7434
  }>;
7435
- 401: z.ZodObject<{
7435
+ 400: z.ZodObject<{
7436
7436
  statusCode: z.ZodNumber;
7437
7437
  message: z.ZodString;
7438
7438
  code: z.ZodString;
@@ -7441,17 +7441,17 @@ export declare const sheetsSyncContract: {
7441
7441
  path: z.ZodString;
7442
7442
  correlationId: z.ZodOptional<z.ZodString>;
7443
7443
  }, "strip", z.ZodTypeAny, {
7444
- message: string;
7445
7444
  code: string;
7446
7445
  path: string;
7446
+ message: string;
7447
7447
  statusCode: number;
7448
7448
  timestamp: string;
7449
7449
  details?: unknown;
7450
7450
  correlationId?: string | undefined;
7451
7451
  }, {
7452
- message: string;
7453
7452
  code: string;
7454
7453
  path: string;
7454
+ message: string;
7455
7455
  statusCode: number;
7456
7456
  timestamp: string;
7457
7457
  details?: unknown;
@@ -7466,17 +7466,17 @@ export declare const sheetsSyncContract: {
7466
7466
  path: z.ZodString;
7467
7467
  correlationId: z.ZodOptional<z.ZodString>;
7468
7468
  }, "strip", z.ZodTypeAny, {
7469
- message: string;
7470
7469
  code: string;
7471
7470
  path: string;
7471
+ message: string;
7472
7472
  statusCode: number;
7473
7473
  timestamp: string;
7474
7474
  details?: unknown;
7475
7475
  correlationId?: string | undefined;
7476
7476
  }, {
7477
- message: string;
7478
7477
  code: string;
7479
7478
  path: string;
7479
+ message: string;
7480
7480
  statusCode: number;
7481
7481
  timestamp: string;
7482
7482
  details?: unknown;
@@ -7491,17 +7491,17 @@ export declare const sheetsSyncContract: {
7491
7491
  path: z.ZodString;
7492
7492
  correlationId: z.ZodOptional<z.ZodString>;
7493
7493
  }, "strip", z.ZodTypeAny, {
7494
- message: string;
7495
7494
  code: string;
7496
7495
  path: string;
7496
+ message: string;
7497
7497
  statusCode: number;
7498
7498
  timestamp: string;
7499
7499
  details?: unknown;
7500
7500
  correlationId?: string | undefined;
7501
7501
  }, {
7502
- message: string;
7503
7502
  code: string;
7504
7503
  path: string;
7504
+ message: string;
7505
7505
  statusCode: number;
7506
7506
  timestamp: string;
7507
7507
  details?: unknown;
@@ -7523,17 +7523,17 @@ export declare const sheetsSyncContract: {
7523
7523
  path: z.ZodString;
7524
7524
  correlationId: z.ZodOptional<z.ZodString>;
7525
7525
  }, "strip", z.ZodTypeAny, {
7526
- message: string;
7527
7526
  code: string;
7528
7527
  path: string;
7528
+ message: string;
7529
7529
  statusCode: number;
7530
7530
  timestamp: string;
7531
7531
  details?: unknown;
7532
7532
  correlationId?: string | undefined;
7533
7533
  }, {
7534
- message: string;
7535
7534
  code: string;
7536
7535
  path: string;
7536
+ message: string;
7537
7537
  statusCode: number;
7538
7538
  timestamp: string;
7539
7539
  details?: unknown;
@@ -7555,17 +7555,17 @@ export declare const sheetsSyncContract: {
7555
7555
  path: z.ZodString;
7556
7556
  correlationId: z.ZodOptional<z.ZodString>;
7557
7557
  }, "strip", z.ZodTypeAny, {
7558
- message: string;
7559
7558
  code: string;
7560
7559
  path: string;
7560
+ message: string;
7561
7561
  statusCode: number;
7562
7562
  timestamp: string;
7563
7563
  details?: unknown;
7564
7564
  correlationId?: string | undefined;
7565
7565
  }, {
7566
- message: string;
7567
7566
  code: string;
7568
7567
  path: string;
7568
+ message: string;
7569
7569
  statusCode: number;
7570
7570
  timestamp: string;
7571
7571
  details?: unknown;
@@ -7580,17 +7580,17 @@ export declare const sheetsSyncContract: {
7580
7580
  path: z.ZodString;
7581
7581
  correlationId: z.ZodOptional<z.ZodString>;
7582
7582
  }, "strip", z.ZodTypeAny, {
7583
- message: string;
7584
7583
  code: string;
7585
7584
  path: string;
7585
+ message: string;
7586
7586
  statusCode: number;
7587
7587
  timestamp: string;
7588
7588
  details?: unknown;
7589
7589
  correlationId?: string | undefined;
7590
7590
  }, {
7591
- message: string;
7592
7591
  code: string;
7593
7592
  path: string;
7593
+ message: string;
7594
7594
  statusCode: number;
7595
7595
  timestamp: string;
7596
7596
  details?: unknown;
@@ -7605,17 +7605,17 @@ export declare const sheetsSyncContract: {
7605
7605
  path: z.ZodString;
7606
7606
  correlationId: z.ZodOptional<z.ZodString>;
7607
7607
  }, "strip", z.ZodTypeAny, {
7608
- message: string;
7609
7608
  code: string;
7610
7609
  path: string;
7610
+ message: string;
7611
7611
  statusCode: number;
7612
7612
  timestamp: string;
7613
7613
  details?: unknown;
7614
7614
  correlationId?: string | undefined;
7615
7615
  }, {
7616
- message: string;
7617
7616
  code: string;
7618
7617
  path: string;
7618
+ message: string;
7619
7619
  statusCode: number;
7620
7620
  timestamp: string;
7621
7621
  details?: unknown;
@@ -7626,20 +7626,20 @@ export declare const sheetsSyncContract: {
7626
7626
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
7627
7627
  order: z.ZodEnum<["ASC", "DESC"]>;
7628
7628
  }, "strip", z.ZodTypeAny, {
7629
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7629
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7630
7630
  order: "ASC" | "DESC";
7631
7631
  }, {
7632
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7632
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7633
7633
  order: "ASC" | "DESC";
7634
7634
  }>, "many">>;
7635
7635
  }, "strip", z.ZodTypeAny, {
7636
7636
  sort: {
7637
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7637
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7638
7638
  order: "ASC" | "DESC";
7639
7639
  }[] | null;
7640
7640
  }, {
7641
7641
  sort: {
7642
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7642
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7643
7643
  order: "ASC" | "DESC";
7644
7644
  }[] | null;
7645
7645
  }>;
@@ -7652,17 +7652,17 @@ export declare const sheetsSyncContract: {
7652
7652
  path: z.ZodString;
7653
7653
  correlationId: z.ZodOptional<z.ZodString>;
7654
7654
  }, "strip", z.ZodTypeAny, {
7655
- message: string;
7656
7655
  code: string;
7657
7656
  path: string;
7657
+ message: string;
7658
7658
  statusCode: number;
7659
7659
  timestamp: string;
7660
7660
  details?: unknown;
7661
7661
  correlationId?: string | undefined;
7662
7662
  }, {
7663
- message: string;
7664
7663
  code: string;
7665
7664
  path: string;
7665
+ message: string;
7666
7666
  statusCode: number;
7667
7667
  timestamp: string;
7668
7668
  details?: unknown;
@@ -7678,20 +7678,20 @@ export declare const sheetsSyncContract: {
7678
7678
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
7679
7679
  order: z.ZodEnum<["ASC", "DESC"]>;
7680
7680
  }, "strip", z.ZodTypeAny, {
7681
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7681
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7682
7682
  order: "ASC" | "DESC";
7683
7683
  }, {
7684
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7684
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7685
7685
  order: "ASC" | "DESC";
7686
7686
  }>, "many">;
7687
7687
  }, "strip", z.ZodTypeAny, {
7688
7688
  sort: {
7689
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7689
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7690
7690
  order: "ASC" | "DESC";
7691
7691
  }[];
7692
7692
  }, {
7693
7693
  sort: {
7694
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7694
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7695
7695
  order: "ASC" | "DESC";
7696
7696
  }[];
7697
7697
  }>;
@@ -7706,17 +7706,17 @@ export declare const sheetsSyncContract: {
7706
7706
  path: z.ZodString;
7707
7707
  correlationId: z.ZodOptional<z.ZodString>;
7708
7708
  }, "strip", z.ZodTypeAny, {
7709
- message: string;
7710
7709
  code: string;
7711
7710
  path: string;
7711
+ message: string;
7712
7712
  statusCode: number;
7713
7713
  timestamp: string;
7714
7714
  details?: unknown;
7715
7715
  correlationId?: string | undefined;
7716
7716
  }, {
7717
- message: string;
7718
7717
  code: string;
7719
7718
  path: string;
7719
+ message: string;
7720
7720
  statusCode: number;
7721
7721
  timestamp: string;
7722
7722
  details?: unknown;
@@ -7731,17 +7731,17 @@ export declare const sheetsSyncContract: {
7731
7731
  path: z.ZodString;
7732
7732
  correlationId: z.ZodOptional<z.ZodString>;
7733
7733
  }, "strip", z.ZodTypeAny, {
7734
- message: string;
7735
7734
  code: string;
7736
7735
  path: string;
7736
+ message: string;
7737
7737
  statusCode: number;
7738
7738
  timestamp: string;
7739
7739
  details?: unknown;
7740
7740
  correlationId?: string | undefined;
7741
7741
  }, {
7742
- message: string;
7743
7742
  code: string;
7744
7743
  path: string;
7744
+ message: string;
7745
7745
  statusCode: number;
7746
7746
  timestamp: string;
7747
7747
  details?: unknown;
@@ -7756,17 +7756,17 @@ export declare const sheetsSyncContract: {
7756
7756
  path: z.ZodString;
7757
7757
  correlationId: z.ZodOptional<z.ZodString>;
7758
7758
  }, "strip", z.ZodTypeAny, {
7759
- message: string;
7760
7759
  code: string;
7761
7760
  path: string;
7761
+ message: string;
7762
7762
  statusCode: number;
7763
7763
  timestamp: string;
7764
7764
  details?: unknown;
7765
7765
  correlationId?: string | undefined;
7766
7766
  }, {
7767
- message: string;
7768
7767
  code: string;
7769
7768
  path: string;
7769
+ message: string;
7770
7770
  statusCode: number;
7771
7771
  timestamp: string;
7772
7772
  details?: unknown;
@@ -7777,20 +7777,20 @@ export declare const sheetsSyncContract: {
7777
7777
  field: z.ZodEnum<["startDate", "collaborationClient", "collaborationCompany", "postcode", "workerName", "firstAgent", "secondAgent"]>;
7778
7778
  order: z.ZodEnum<["ASC", "DESC"]>;
7779
7779
  }, "strip", z.ZodTypeAny, {
7780
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7780
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7781
7781
  order: "ASC" | "DESC";
7782
7782
  }, {
7783
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7783
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7784
7784
  order: "ASC" | "DESC";
7785
7785
  }>, "many">>;
7786
7786
  }, "strip", z.ZodTypeAny, {
7787
7787
  sort: {
7788
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7788
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7789
7789
  order: "ASC" | "DESC";
7790
7790
  }[] | null;
7791
7791
  }, {
7792
7792
  sort: {
7793
- field: "postcode" | "startDate" | "workerName" | "collaborationCompany" | "collaborationClient" | "secondAgent" | "firstAgent";
7793
+ field: "postcode" | "startDate" | "workerName" | "collaborationClient" | "collaborationCompany" | "firstAgent" | "secondAgent";
7794
7794
  order: "ASC" | "DESC";
7795
7795
  }[] | null;
7796
7796
  }>;
@@ -7803,17 +7803,17 @@ export declare const sheetsSyncContract: {
7803
7803
  path: z.ZodString;
7804
7804
  correlationId: z.ZodOptional<z.ZodString>;
7805
7805
  }, "strip", z.ZodTypeAny, {
7806
- message: string;
7807
7806
  code: string;
7808
7807
  path: string;
7808
+ message: string;
7809
7809
  statusCode: number;
7810
7810
  timestamp: string;
7811
7811
  details?: unknown;
7812
7812
  correlationId?: string | undefined;
7813
7813
  }, {
7814
- message: string;
7815
7814
  code: string;
7816
7815
  path: string;
7816
+ message: string;
7817
7817
  statusCode: number;
7818
7818
  timestamp: string;
7819
7819
  details?: unknown;