@dsptch-work/api-client 0.51.1 → 0.52.1

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.
@@ -233,6 +233,12 @@ export declare const zProblem: z.ZodObject<{
233
233
  *
234
234
  * ## 422
235
235
  *
236
+ * ### aggregate_time_mode_required
237
+ *
238
+ * **Aggregate Time Mode Required**
239
+ *
240
+ * Writing a job time card day is only supported when that day's pay schedule keeps time in aggregate mode. A day on a base-mode schedule cannot be written this way; record that time through time entries instead.
241
+ *
236
242
  * ### attachment_not_image
237
243
  *
238
244
  * **Attachment Not An Image**
@@ -432,6 +438,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
432
438
  span_beyond_timeline_end: "span_beyond_timeline_end";
433
439
  version_overlap: "version_overlap";
434
440
  precondition_failed: "precondition_failed";
441
+ aggregate_time_mode_required: "aggregate_time_mode_required";
435
442
  attachment_not_image: "attachment_not_image";
436
443
  certified_payroll_export_blocked: "certified_payroll_export_blocked";
437
444
  certified_payroll_format_unavailable: "certified_payroll_format_unavailable";
@@ -639,6 +646,7 @@ export declare const zCompetencyCriterionResponseObject: z.ZodObject<{
639
646
  number: z.ZodNullable<z.ZodString>;
640
647
  body: z.ZodNullable<z.ZodString>;
641
648
  evidence_note: z.ZodNullable<z.ZodString>;
649
+ allow_not_applicable: z.ZodBoolean;
642
650
  assessment_methods: z.ZodArray<z.ZodEnum<{
643
651
  direct_observation: "direct_observation";
644
652
  simulation: "simulation";
@@ -659,6 +667,7 @@ export declare const zCompetencyCriterionParameters: z.ZodObject<{
659
667
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
660
668
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
661
669
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
670
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
662
671
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
663
672
  direct_observation: "direct_observation";
664
673
  simulation: "simulation";
@@ -792,6 +801,7 @@ export declare const zCompetencyAssessmentCriterionResponseObject: z.ZodObject<{
792
801
  assessed_at: z.ZodNullable<z.ZodISODateTime>;
793
802
  carried_from_id: z.ZodNullable<z.ZodString>;
794
803
  decided_at: z.ZodNullable<z.ZodISODateTime>;
804
+ not_applicable: z.ZodBoolean;
795
805
  decision: z.ZodOptional<z.ZodEnum<{
796
806
  competent: "competent";
797
807
  not_yet_competent: "not_yet_competent";
@@ -4074,6 +4084,19 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
4074
4084
  created_at: z.ZodISODateTime;
4075
4085
  updated_at: z.ZodISODateTime;
4076
4086
  }, z.core.$strip>;
4087
+ /**
4088
+ * Partial update of an aggregate-mode job time card day. Send only the fields to change; omitted fields keep their current values. Minutes are integer minutes, not GUI hours. Derived totals such as minutes_worked and cumulatives are not writable.
4089
+ */
4090
+ export declare const zJobTimeCardDayUpdateParameters: z.ZodObject<{
4091
+ overtime_minutes_worked: z.ZodOptional<z.ZodObject<{
4092
+ 1: z.ZodInt;
4093
+ 1.5: z.ZodInt;
4094
+ 2: z.ZodInt;
4095
+ }, z.core.$strip>>;
4096
+ pay_cents: z.ZodOptional<z.ZodString>;
4097
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
4098
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
4099
+ }, z.core.$strip>;
4077
4100
  /**
4078
4101
  * A single approval event on a time card. Manager and worker approvals are both recorded here; which role filed it is conveyed by the endpoint, not the payload.
4079
4102
  */
@@ -4779,6 +4802,16 @@ export declare const zSiteCheckInResponseObject: z.ZodObject<{
4779
4802
  site_contact_last_name: z.ZodNullable<z.ZodString>;
4780
4803
  employer_name: z.ZodNullable<z.ZodString>;
4781
4804
  description: z.ZodNullable<z.ZodString>;
4805
+ visit_reason: z.ZodNullable<z.ZodEnum<{
4806
+ other: "other";
4807
+ om_team: "om_team";
4808
+ oem_service_tickets: "oem_service_tickets";
4809
+ owners_visit: "owners_visit";
4810
+ warranty_service: "warranty_service";
4811
+ audit_inspections: "audit_inspections";
4812
+ regulatory_compliance: "regulatory_compliance";
4813
+ third_party_vendor_support: "third_party_vendor_support";
4814
+ }>>;
4782
4815
  rationale: z.ZodNullable<z.ZodString>;
4783
4816
  source: z.ZodEnum<{
4784
4817
  manual: "manual";
@@ -6524,6 +6557,7 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
6524
6557
  export declare const zProductionPlannedFeatureTaskParameters: z.ZodObject<{
6525
6558
  name: z.ZodOptional<z.ZodString>;
6526
6559
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6560
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6527
6561
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6528
6562
  tz_name: z.ZodOptional<z.ZodString>;
6529
6563
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6536,6 +6570,7 @@ export declare const zProductionPlannedFeatureTaskParameters: z.ZodObject<{
6536
6570
  export declare const zProductionPlannedFeatureTaskUpdateParameters: z.ZodObject<{
6537
6571
  name: z.ZodOptional<z.ZodString>;
6538
6572
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6573
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6539
6574
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6540
6575
  tz_name: z.ZodOptional<z.ZodString>;
6541
6576
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6560,12 +6595,68 @@ export declare const zProductionPlannedFeatureTaskResponseObject: z.ZodObject<{
6560
6595
  archived_at: z.ZodNullable<z.ZodISODateTime>;
6561
6596
  name: z.ZodString;
6562
6597
  description: z.ZodString;
6598
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
6563
6599
  time_due: z.ZodNullable<z.ZodISODateTime>;
6564
6600
  tz_name: z.ZodString;
6565
6601
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
6566
6602
  created_at: z.ZodISODateTime;
6567
6603
  updated_at: z.ZodISODateTime;
6568
6604
  }, z.core.$strip>;
6605
+ /**
6606
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6607
+ */
6608
+ export declare const zProductionPhaseParameters: z.ZodObject<{
6609
+ name: z.ZodString;
6610
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6611
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6612
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6613
+ tz_name: z.ZodOptional<z.ZodString>;
6614
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
6615
+ }, z.core.$strip>;
6616
+ /**
6617
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6618
+ */
6619
+ export declare const zProductionPhaseUpdateParameters: z.ZodObject<{
6620
+ name: z.ZodOptional<z.ZodString>;
6621
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6622
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6623
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6624
+ tz_name: z.ZodOptional<z.ZodString>;
6625
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
6626
+ }, z.core.$strip>;
6627
+ /**
6628
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6629
+ */
6630
+ export declare const zProductionPhaseArchiveParameters: z.ZodObject<{
6631
+ archived: z.ZodBoolean;
6632
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
6633
+ }, z.core.$strip>;
6634
+ /**
6635
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6636
+ */
6637
+ export declare const zProductionPhaseResponseObject: z.ZodObject<{
6638
+ id: z.ZodString;
6639
+ production_planned_feature_task_id: z.ZodString;
6640
+ production_job_scope_price_id: z.ZodString;
6641
+ task_id: z.ZodString;
6642
+ name: z.ZodString;
6643
+ description: z.ZodString;
6644
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
6645
+ time_due: z.ZodNullable<z.ZodISODateTime>;
6646
+ tz_name: z.ZodString;
6647
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
6648
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
6649
+ created_at: z.ZodISODateTime;
6650
+ updated_at: z.ZodISODateTime;
6651
+ completion: z.ZodNullable<z.ZodObject<{
6652
+ id: z.ZodString;
6653
+ work_date: z.ZodISODate;
6654
+ notes: z.ZodNullable<z.ZodString>;
6655
+ created_by_user_id: z.ZodString;
6656
+ position_ids: z.ZodArray<z.ZodString>;
6657
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
6658
+ }, z.core.$strip>>;
6659
+ }, z.core.$strip>;
6569
6660
  /**
6570
6661
  * Create a dated commitment on a Feature-tracked Job scope. The date and condition object are required; condition.requirement_kind is required. Omission answers 400. The server chooses and owns the condition type and identity. A Quantity-tracked scope answers 422. No performed_by_user_id is required or accepted; audit records the authenticated user, or null for a company key.
6571
6662
  */
@@ -10832,6 +10923,7 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
10832
10923
  name: z.ZodString;
10833
10924
  site_type: z.ZodNullable<z.ZodString>;
10834
10925
  responsible_user_ids: z.ZodArray<z.ZodString>;
10926
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
10835
10927
  created_at: z.ZodISODateTime;
10836
10928
  updated_at: z.ZodISODateTime;
10837
10929
  }, z.core.$strip>;
@@ -10847,6 +10939,10 @@ export declare const zAssetsSiteParameters: z.ZodObject<{
10847
10939
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
10848
10940
  responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10849
10941
  }, z.core.$strip>;
10942
+ /**
10943
+ * Archive a site. The body takes no fields; send an empty object or no body. Archiving an archived site returns it unchanged.
10944
+ */
10945
+ export declare const zAssetsSiteArchiveParameters: z.ZodRecord<z.ZodString, z.ZodNever>;
10850
10946
  /**
10851
10947
  * Request body for updating an asset location. Every field is optional; send only the fields to change. The saved location must still have a name or a backing `site_id`.
10852
10948
  */
@@ -12017,6 +12113,10 @@ export declare const zUserCertificationsResponseObjWritable: z.ZodObject<{
12017
12113
  updated_at: z.ZodISODateTime;
12018
12114
  }, z.core.$strip>>;
12019
12115
  }, z.core.$strip>;
12116
+ /**
12117
+ * Archive a site. The body takes no fields; send an empty object or no body. Archiving an archived site returns it unchanged.
12118
+ */
12119
+ export declare const zAssetsSiteArchiveParametersWritable: z.ZodRecord<z.ZodString, z.ZodNever>;
12020
12120
  /**
12021
12121
  * Success
12022
12122
  */
@@ -16237,6 +16337,7 @@ export declare const zListProductDocumentVersionsResponse: z.ZodObject<{
16237
16337
  }, z.core.$strip>>;
16238
16338
  }, z.core.$strip>;
16239
16339
  export declare const zListAssetsSitesQuery: z.ZodObject<{
16340
+ 'filter[state]': z.ZodOptional<z.ZodString>;
16240
16341
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16241
16342
  'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16242
16343
  'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -16273,6 +16374,7 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
16273
16374
  name: z.ZodString;
16274
16375
  site_type: z.ZodNullable<z.ZodString>;
16275
16376
  responsible_user_ids: z.ZodArray<z.ZodString>;
16377
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16276
16378
  created_at: z.ZodISODateTime;
16277
16379
  updated_at: z.ZodISODateTime;
16278
16380
  }, z.core.$strip>>;
@@ -16300,6 +16402,7 @@ export declare const zCreateSiteResponse: z.ZodObject<{
16300
16402
  name: z.ZodString;
16301
16403
  site_type: z.ZodNullable<z.ZodString>;
16302
16404
  responsible_user_ids: z.ZodArray<z.ZodString>;
16405
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16303
16406
  created_at: z.ZodISODateTime;
16304
16407
  updated_at: z.ZodISODateTime;
16305
16408
  }, z.core.$strip>;
@@ -16320,6 +16423,7 @@ export declare const zDeleteSiteResponse: z.ZodObject<{
16320
16423
  name: z.ZodString;
16321
16424
  site_type: z.ZodNullable<z.ZodString>;
16322
16425
  responsible_user_ids: z.ZodArray<z.ZodString>;
16426
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16323
16427
  created_at: z.ZodISODateTime;
16324
16428
  updated_at: z.ZodISODateTime;
16325
16429
  }, z.core.$strip>;
@@ -16340,6 +16444,7 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
16340
16444
  name: z.ZodString;
16341
16445
  site_type: z.ZodNullable<z.ZodString>;
16342
16446
  responsible_user_ids: z.ZodArray<z.ZodString>;
16447
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16343
16448
  created_at: z.ZodISODateTime;
16344
16449
  updated_at: z.ZodISODateTime;
16345
16450
  }, z.core.$strip>;
@@ -16369,6 +16474,50 @@ export declare const zUpdateSiteResponse: z.ZodObject<{
16369
16474
  name: z.ZodString;
16370
16475
  site_type: z.ZodNullable<z.ZodString>;
16371
16476
  responsible_user_ids: z.ZodArray<z.ZodString>;
16477
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16478
+ created_at: z.ZodISODateTime;
16479
+ updated_at: z.ZodISODateTime;
16480
+ }, z.core.$strip>;
16481
+ export declare const zUnarchiveAssetsSitePath: z.ZodObject<{
16482
+ site_id: z.ZodString;
16483
+ }, z.core.$strip>;
16484
+ /**
16485
+ * Success
16486
+ */
16487
+ export declare const zUnarchiveAssetsSiteResponse: z.ZodObject<{
16488
+ id: z.ZodString;
16489
+ company_id: z.ZodString;
16490
+ site_id: z.ZodNullable<z.ZodString>;
16491
+ kind: z.ZodEnum<{
16492
+ warehouse: "warehouse";
16493
+ yard: "yard";
16494
+ }>;
16495
+ name: z.ZodString;
16496
+ site_type: z.ZodNullable<z.ZodString>;
16497
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16498
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16499
+ created_at: z.ZodISODateTime;
16500
+ updated_at: z.ZodISODateTime;
16501
+ }, z.core.$strip>;
16502
+ export declare const zArchiveAssetsSiteBody: z.ZodRecord<z.ZodString, z.ZodNever>;
16503
+ export declare const zArchiveAssetsSitePath: z.ZodObject<{
16504
+ site_id: z.ZodString;
16505
+ }, z.core.$strip>;
16506
+ /**
16507
+ * Created
16508
+ */
16509
+ export declare const zArchiveAssetsSiteResponse: z.ZodObject<{
16510
+ id: z.ZodString;
16511
+ company_id: z.ZodString;
16512
+ site_id: z.ZodNullable<z.ZodString>;
16513
+ kind: z.ZodEnum<{
16514
+ warehouse: "warehouse";
16515
+ yard: "yard";
16516
+ }>;
16517
+ name: z.ZodString;
16518
+ site_type: z.ZodNullable<z.ZodString>;
16519
+ responsible_user_ids: z.ZodArray<z.ZodString>;
16520
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
16372
16521
  created_at: z.ZodISODateTime;
16373
16522
  updated_at: z.ZodISODateTime;
16374
16523
  }, z.core.$strip>;
@@ -18349,6 +18498,7 @@ export declare const zListAssessmentCriteriaResponse: z.ZodObject<{
18349
18498
  assessed_at: z.ZodNullable<z.ZodISODateTime>;
18350
18499
  carried_from_id: z.ZodNullable<z.ZodString>;
18351
18500
  decided_at: z.ZodNullable<z.ZodISODateTime>;
18501
+ not_applicable: z.ZodBoolean;
18352
18502
  decision: z.ZodOptional<z.ZodEnum<{
18353
18503
  competent: "competent";
18354
18504
  not_yet_competent: "not_yet_competent";
@@ -18386,6 +18536,7 @@ export declare const zGetAssessmentCriterionResponse: z.ZodObject<{
18386
18536
  assessed_at: z.ZodNullable<z.ZodISODateTime>;
18387
18537
  carried_from_id: z.ZodNullable<z.ZodString>;
18388
18538
  decided_at: z.ZodNullable<z.ZodISODateTime>;
18539
+ not_applicable: z.ZodBoolean;
18389
18540
  decision: z.ZodOptional<z.ZodEnum<{
18390
18541
  competent: "competent";
18391
18542
  not_yet_competent: "not_yet_competent";
@@ -18948,6 +19099,7 @@ export declare const zListCriteriaResponse: z.ZodObject<{
18948
19099
  number: z.ZodNullable<z.ZodString>;
18949
19100
  body: z.ZodNullable<z.ZodString>;
18950
19101
  evidence_note: z.ZodNullable<z.ZodString>;
19102
+ allow_not_applicable: z.ZodBoolean;
18951
19103
  assessment_methods: z.ZodArray<z.ZodEnum<{
18952
19104
  direct_observation: "direct_observation";
18953
19105
  simulation: "simulation";
@@ -18966,6 +19118,7 @@ export declare const zCreateCriterionBody: z.ZodObject<{
18966
19118
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18967
19119
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18968
19120
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19121
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
18969
19122
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18970
19123
  direct_observation: "direct_observation";
18971
19124
  simulation: "simulation";
@@ -18993,6 +19146,7 @@ export declare const zCreateCriterionResponse: z.ZodObject<{
18993
19146
  number: z.ZodNullable<z.ZodString>;
18994
19147
  body: z.ZodNullable<z.ZodString>;
18995
19148
  evidence_note: z.ZodNullable<z.ZodString>;
19149
+ allow_not_applicable: z.ZodBoolean;
18996
19150
  assessment_methods: z.ZodArray<z.ZodEnum<{
18997
19151
  direct_observation: "direct_observation";
18998
19152
  simulation: "simulation";
@@ -19034,6 +19188,7 @@ export declare const zGetCriterionResponse: z.ZodObject<{
19034
19188
  number: z.ZodNullable<z.ZodString>;
19035
19189
  body: z.ZodNullable<z.ZodString>;
19036
19190
  evidence_note: z.ZodNullable<z.ZodString>;
19191
+ allow_not_applicable: z.ZodBoolean;
19037
19192
  assessment_methods: z.ZodArray<z.ZodEnum<{
19038
19193
  direct_observation: "direct_observation";
19039
19194
  simulation: "simulation";
@@ -19051,6 +19206,7 @@ export declare const zUpdateCriterionBody: z.ZodObject<{
19051
19206
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19052
19207
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19053
19208
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19209
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
19054
19210
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
19055
19211
  direct_observation: "direct_observation";
19056
19212
  simulation: "simulation";
@@ -19079,6 +19235,7 @@ export declare const zUpdateCriterionResponse: z.ZodObject<{
19079
19235
  number: z.ZodNullable<z.ZodString>;
19080
19236
  body: z.ZodNullable<z.ZodString>;
19081
19237
  evidence_note: z.ZodNullable<z.ZodString>;
19238
+ allow_not_applicable: z.ZodBoolean;
19082
19239
  assessment_methods: z.ZodArray<z.ZodEnum<{
19083
19240
  direct_observation: "direct_observation";
19084
19241
  simulation: "simulation";
@@ -19115,6 +19272,7 @@ export declare const zMoveCompetencyCriterionResponse: z.ZodObject<{
19115
19272
  number: z.ZodNullable<z.ZodString>;
19116
19273
  body: z.ZodNullable<z.ZodString>;
19117
19274
  evidence_note: z.ZodNullable<z.ZodString>;
19275
+ allow_not_applicable: z.ZodBoolean;
19118
19276
  assessment_methods: z.ZodArray<z.ZodEnum<{
19119
19277
  direct_observation: "direct_observation";
19120
19278
  simulation: "simulation";
@@ -21049,12 +21207,212 @@ export declare const zUpdateArchiveResponse: z.ZodObject<{
21049
21207
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21050
21208
  name: z.ZodString;
21051
21209
  description: z.ZodString;
21210
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21052
21211
  time_due: z.ZodNullable<z.ZodISODateTime>;
21053
21212
  tz_name: z.ZodString;
21054
21213
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
21055
21214
  created_at: z.ZodISODateTime;
21056
21215
  updated_at: z.ZodISODateTime;
21057
21216
  }, z.core.$strip>;
21217
+ export declare const zListPhasesPath: z.ZodObject<{
21218
+ job_id: z.ZodString;
21219
+ job_scope_price_id: z.ZodString;
21220
+ planned_feature_task_id: z.ZodString;
21221
+ }, z.core.$strip>;
21222
+ export declare const zListPhasesQuery: z.ZodObject<{
21223
+ 'filter[archived]': z.ZodOptional<z.ZodBoolean>;
21224
+ filter: z.ZodOptional<z.ZodString>;
21225
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
21226
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
21227
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
21228
+ page: z.ZodOptional<z.ZodString>;
21229
+ }, z.core.$strip>;
21230
+ /**
21231
+ * Success
21232
+ */
21233
+ export declare const zListPhasesResponse: z.ZodObject<{
21234
+ meta: z.ZodObject<{
21235
+ page: z.ZodObject<{
21236
+ next_cursor: z.ZodNullable<z.ZodString>;
21237
+ current_cursor: z.ZodNullable<z.ZodString>;
21238
+ }, z.core.$strip>;
21239
+ }, z.core.$strip>;
21240
+ links: z.ZodObject<{
21241
+ self: z.ZodString;
21242
+ first: z.ZodNullable<z.ZodString>;
21243
+ next: z.ZodNullable<z.ZodString>;
21244
+ }, z.core.$strip>;
21245
+ data: z.ZodArray<z.ZodObject<{
21246
+ id: z.ZodString;
21247
+ production_planned_feature_task_id: z.ZodString;
21248
+ production_job_scope_price_id: z.ZodString;
21249
+ task_id: z.ZodString;
21250
+ name: z.ZodString;
21251
+ description: z.ZodString;
21252
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21253
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21254
+ tz_name: z.ZodString;
21255
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21256
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21257
+ created_at: z.ZodISODateTime;
21258
+ updated_at: z.ZodISODateTime;
21259
+ completion: z.ZodNullable<z.ZodObject<{
21260
+ id: z.ZodString;
21261
+ work_date: z.ZodISODate;
21262
+ notes: z.ZodNullable<z.ZodString>;
21263
+ created_by_user_id: z.ZodString;
21264
+ position_ids: z.ZodArray<z.ZodString>;
21265
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21266
+ }, z.core.$strip>>;
21267
+ }, z.core.$strip>>;
21268
+ }, z.core.$strip>;
21269
+ export declare const zCreatePhaseBody: z.ZodObject<{
21270
+ name: z.ZodString;
21271
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21272
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21273
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21274
+ tz_name: z.ZodOptional<z.ZodString>;
21275
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
21276
+ }, z.core.$strip>;
21277
+ export declare const zCreatePhasePath: z.ZodObject<{
21278
+ job_id: z.ZodString;
21279
+ job_scope_price_id: z.ZodString;
21280
+ planned_feature_task_id: z.ZodString;
21281
+ }, z.core.$strip>;
21282
+ /**
21283
+ * Created
21284
+ */
21285
+ export declare const zCreatePhaseResponse: z.ZodObject<{
21286
+ id: z.ZodString;
21287
+ production_planned_feature_task_id: z.ZodString;
21288
+ production_job_scope_price_id: z.ZodString;
21289
+ task_id: z.ZodString;
21290
+ name: z.ZodString;
21291
+ description: z.ZodString;
21292
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21293
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21294
+ tz_name: z.ZodString;
21295
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21296
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21297
+ created_at: z.ZodISODateTime;
21298
+ updated_at: z.ZodISODateTime;
21299
+ completion: z.ZodNullable<z.ZodObject<{
21300
+ id: z.ZodString;
21301
+ work_date: z.ZodISODate;
21302
+ notes: z.ZodNullable<z.ZodString>;
21303
+ created_by_user_id: z.ZodString;
21304
+ position_ids: z.ZodArray<z.ZodString>;
21305
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21306
+ }, z.core.$strip>>;
21307
+ }, z.core.$strip>;
21308
+ export declare const zGetPhasePath: z.ZodObject<{
21309
+ job_id: z.ZodString;
21310
+ job_scope_price_id: z.ZodString;
21311
+ planned_feature_task_id: z.ZodString;
21312
+ id: z.ZodString;
21313
+ }, z.core.$strip>;
21314
+ /**
21315
+ * Success
21316
+ */
21317
+ export declare const zGetPhaseResponse: z.ZodObject<{
21318
+ id: z.ZodString;
21319
+ production_planned_feature_task_id: z.ZodString;
21320
+ production_job_scope_price_id: z.ZodString;
21321
+ task_id: z.ZodString;
21322
+ name: z.ZodString;
21323
+ description: z.ZodString;
21324
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21325
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21326
+ tz_name: z.ZodString;
21327
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21328
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21329
+ created_at: z.ZodISODateTime;
21330
+ updated_at: z.ZodISODateTime;
21331
+ completion: z.ZodNullable<z.ZodObject<{
21332
+ id: z.ZodString;
21333
+ work_date: z.ZodISODate;
21334
+ notes: z.ZodNullable<z.ZodString>;
21335
+ created_by_user_id: z.ZodString;
21336
+ position_ids: z.ZodArray<z.ZodString>;
21337
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21338
+ }, z.core.$strip>>;
21339
+ }, z.core.$strip>;
21340
+ export declare const zUpdatePhaseBody: z.ZodObject<{
21341
+ name: z.ZodOptional<z.ZodString>;
21342
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21343
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21344
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21345
+ tz_name: z.ZodOptional<z.ZodString>;
21346
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
21347
+ }, z.core.$strip>;
21348
+ export declare const zUpdatePhasePath: z.ZodObject<{
21349
+ job_id: z.ZodString;
21350
+ job_scope_price_id: z.ZodString;
21351
+ planned_feature_task_id: z.ZodString;
21352
+ id: z.ZodString;
21353
+ }, z.core.$strip>;
21354
+ /**
21355
+ * Success
21356
+ */
21357
+ export declare const zUpdatePhaseResponse: z.ZodObject<{
21358
+ id: z.ZodString;
21359
+ production_planned_feature_task_id: z.ZodString;
21360
+ production_job_scope_price_id: z.ZodString;
21361
+ task_id: z.ZodString;
21362
+ name: z.ZodString;
21363
+ description: z.ZodString;
21364
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21365
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21366
+ tz_name: z.ZodString;
21367
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21368
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21369
+ created_at: z.ZodISODateTime;
21370
+ updated_at: z.ZodISODateTime;
21371
+ completion: z.ZodNullable<z.ZodObject<{
21372
+ id: z.ZodString;
21373
+ work_date: z.ZodISODate;
21374
+ notes: z.ZodNullable<z.ZodString>;
21375
+ created_by_user_id: z.ZodString;
21376
+ position_ids: z.ZodArray<z.ZodString>;
21377
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21378
+ }, z.core.$strip>>;
21379
+ }, z.core.$strip>;
21380
+ export declare const zSetPhaseArchiveBody: z.ZodObject<{
21381
+ archived: z.ZodBoolean;
21382
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
21383
+ }, z.core.$strip>;
21384
+ export declare const zSetPhaseArchivePath: z.ZodObject<{
21385
+ job_id: z.ZodString;
21386
+ job_scope_price_id: z.ZodString;
21387
+ planned_feature_task_id: z.ZodString;
21388
+ phase_id: z.ZodString;
21389
+ }, z.core.$strip>;
21390
+ /**
21391
+ * Success
21392
+ */
21393
+ export declare const zSetPhaseArchiveResponse: z.ZodObject<{
21394
+ id: z.ZodString;
21395
+ production_planned_feature_task_id: z.ZodString;
21396
+ production_job_scope_price_id: z.ZodString;
21397
+ task_id: z.ZodString;
21398
+ name: z.ZodString;
21399
+ description: z.ZodString;
21400
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21401
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21402
+ tz_name: z.ZodString;
21403
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21404
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21405
+ created_at: z.ZodISODateTime;
21406
+ updated_at: z.ZodISODateTime;
21407
+ completion: z.ZodNullable<z.ZodObject<{
21408
+ id: z.ZodString;
21409
+ work_date: z.ZodISODate;
21410
+ notes: z.ZodNullable<z.ZodString>;
21411
+ created_by_user_id: z.ZodString;
21412
+ position_ids: z.ZodArray<z.ZodString>;
21413
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21414
+ }, z.core.$strip>>;
21415
+ }, z.core.$strip>;
21058
21416
  export declare const zListPlannedFeatureTasksPath: z.ZodObject<{
21059
21417
  job_id: z.ZodString;
21060
21418
  job_scope_price_id: z.ZodString;
@@ -21091,6 +21449,7 @@ export declare const zListPlannedFeatureTasksResponse: z.ZodObject<{
21091
21449
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21092
21450
  name: z.ZodString;
21093
21451
  description: z.ZodString;
21452
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21094
21453
  time_due: z.ZodNullable<z.ZodISODateTime>;
21095
21454
  tz_name: z.ZodString;
21096
21455
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21101,6 +21460,7 @@ export declare const zListPlannedFeatureTasksResponse: z.ZodObject<{
21101
21460
  export declare const zCreatePlannedFeatureTaskBody: z.ZodObject<{
21102
21461
  name: z.ZodOptional<z.ZodString>;
21103
21462
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21463
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21104
21464
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21105
21465
  tz_name: z.ZodOptional<z.ZodString>;
21106
21466
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -21123,6 +21483,7 @@ export declare const zCreatePlannedFeatureTaskResponse: z.ZodObject<{
21123
21483
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21124
21484
  name: z.ZodString;
21125
21485
  description: z.ZodString;
21486
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21126
21487
  time_due: z.ZodNullable<z.ZodISODateTime>;
21127
21488
  tz_name: z.ZodString;
21128
21489
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21146,6 +21507,7 @@ export declare const zGetPlannedFeatureTaskResponse: z.ZodObject<{
21146
21507
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21147
21508
  name: z.ZodString;
21148
21509
  description: z.ZodString;
21510
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21149
21511
  time_due: z.ZodNullable<z.ZodISODateTime>;
21150
21512
  tz_name: z.ZodString;
21151
21513
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21155,6 +21517,7 @@ export declare const zGetPlannedFeatureTaskResponse: z.ZodObject<{
21155
21517
  export declare const zUpdatePlannedFeatureTaskBody: z.ZodObject<{
21156
21518
  name: z.ZodOptional<z.ZodString>;
21157
21519
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21520
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21158
21521
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21159
21522
  tz_name: z.ZodOptional<z.ZodString>;
21160
21523
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -21177,6 +21540,7 @@ export declare const zUpdatePlannedFeatureTaskResponse: z.ZodObject<{
21177
21540
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21178
21541
  name: z.ZodString;
21179
21542
  description: z.ZodString;
21543
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21180
21544
  time_due: z.ZodNullable<z.ZodISODateTime>;
21181
21545
  tz_name: z.ZodString;
21182
21546
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -24595,6 +24959,16 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
24595
24959
  site_contact_last_name: z.ZodNullable<z.ZodString>;
24596
24960
  employer_name: z.ZodNullable<z.ZodString>;
24597
24961
  description: z.ZodNullable<z.ZodString>;
24962
+ visit_reason: z.ZodNullable<z.ZodEnum<{
24963
+ other: "other";
24964
+ om_team: "om_team";
24965
+ oem_service_tickets: "oem_service_tickets";
24966
+ owners_visit: "owners_visit";
24967
+ warranty_service: "warranty_service";
24968
+ audit_inspections: "audit_inspections";
24969
+ regulatory_compliance: "regulatory_compliance";
24970
+ third_party_vendor_support: "third_party_vendor_support";
24971
+ }>>;
24598
24972
  rationale: z.ZodNullable<z.ZodString>;
24599
24973
  source: z.ZodEnum<{
24600
24974
  manual: "manual";
@@ -24632,6 +25006,16 @@ export declare const zGetSiteCheckInResponse: z.ZodObject<{
24632
25006
  site_contact_last_name: z.ZodNullable<z.ZodString>;
24633
25007
  employer_name: z.ZodNullable<z.ZodString>;
24634
25008
  description: z.ZodNullable<z.ZodString>;
25009
+ visit_reason: z.ZodNullable<z.ZodEnum<{
25010
+ other: "other";
25011
+ om_team: "om_team";
25012
+ oem_service_tickets: "oem_service_tickets";
25013
+ owners_visit: "owners_visit";
25014
+ warranty_service: "warranty_service";
25015
+ audit_inspections: "audit_inspections";
25016
+ regulatory_compliance: "regulatory_compliance";
25017
+ third_party_vendor_support: "third_party_vendor_support";
25018
+ }>>;
24635
25019
  rationale: z.ZodNullable<z.ZodString>;
24636
25020
  source: z.ZodEnum<{
24637
25021
  manual: "manual";
@@ -35365,6 +35749,107 @@ export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
35365
35749
  created_at: z.ZodISODateTime;
35366
35750
  updated_at: z.ZodISODateTime;
35367
35751
  }, z.core.$strip>;
35752
+ export declare const zUpdateJobTimeCardDayBody: z.ZodObject<{
35753
+ overtime_minutes_worked: z.ZodOptional<z.ZodObject<{
35754
+ 1: z.ZodInt;
35755
+ 1.5: z.ZodInt;
35756
+ 2: z.ZodInt;
35757
+ }, z.core.$strip>>;
35758
+ pay_cents: z.ZodOptional<z.ZodString>;
35759
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35760
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
35761
+ }, z.core.$strip>;
35762
+ export declare const zUpdateJobTimeCardDayPath: z.ZodObject<{
35763
+ id: z.ZodString;
35764
+ }, z.core.$strip>;
35765
+ /**
35766
+ * Success
35767
+ */
35768
+ export declare const zUpdateJobTimeCardDayResponse: z.ZodObject<{
35769
+ id: z.ZodString;
35770
+ timekeeping_job_time_card_id: z.ZodString;
35771
+ job_id: z.ZodString;
35772
+ timekeeping_time_card_id: z.ZodString;
35773
+ user_id: z.ZodString;
35774
+ timekeeping_pay_period_id: z.ZodString;
35775
+ date: z.ZodISODate;
35776
+ minutes_worked: z.ZodInt;
35777
+ paid_minutes_worked: z.ZodInt;
35778
+ overtime_eligible_minutes_worked: z.ZodInt;
35779
+ billable_minutes_worked: z.ZodInt;
35780
+ holiday_minutes_worked: z.ZodInt;
35781
+ pto_minutes_worked: z.ZodInt;
35782
+ pwa_minutes_worked: z.ZodInt;
35783
+ rest_and_recovery_minutes_worked: z.ZodInt;
35784
+ incentive_pay_eligible_minutes_worked: z.ZodInt;
35785
+ overtime_minutes_worked: z.ZodObject<{
35786
+ 1: z.ZodNumber;
35787
+ 1.5: z.ZodNumber;
35788
+ 2: z.ZodNumber;
35789
+ }, z.core.$strip>;
35790
+ incentive_pay_overtime_minutes_worked: z.ZodObject<{
35791
+ 1: z.ZodNumber;
35792
+ 1.5: z.ZodNumber;
35793
+ 2: z.ZodNumber;
35794
+ }, z.core.$strip>;
35795
+ pay_cents: z.ZodOptional<z.ZodString>;
35796
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35797
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35798
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
35799
+ region_ids: z.ZodArray<z.ZodString>;
35800
+ cumulative_minutes_worked: z.ZodInt;
35801
+ weekly_cumulative_minutes_worked: z.ZodInt;
35802
+ cumulative_paid_minutes_worked: z.ZodInt;
35803
+ weekly_cumulative_paid_minutes_worked: z.ZodInt;
35804
+ cumulative_overtime_eligible_minutes_worked: z.ZodInt;
35805
+ weekly_cumulative_overtime_eligible_minutes_worked: z.ZodInt;
35806
+ cumulative_billable_minutes_worked: z.ZodInt;
35807
+ weekly_cumulative_billable_minutes_worked: z.ZodInt;
35808
+ cumulative_holiday_minutes_worked: z.ZodInt;
35809
+ weekly_cumulative_holiday_minutes_worked: z.ZodInt;
35810
+ cumulative_pto_minutes_worked: z.ZodInt;
35811
+ weekly_cumulative_pto_minutes_worked: z.ZodInt;
35812
+ cumulative_pwa_minutes_worked: z.ZodInt;
35813
+ weekly_cumulative_pwa_minutes_worked: z.ZodInt;
35814
+ cumulative_rest_and_recovery_minutes_worked: z.ZodInt;
35815
+ weekly_cumulative_rest_and_recovery_minutes_worked: z.ZodInt;
35816
+ cumulative_incentive_pay_eligible_minutes_worked: z.ZodInt;
35817
+ weekly_cumulative_incentive_pay_eligible_minutes_worked: z.ZodInt;
35818
+ consecutive_days_worked: z.ZodInt;
35819
+ weekly_consecutive_days_worked: z.ZodInt;
35820
+ cumulative_overtime_minutes_worked: z.ZodObject<{
35821
+ 1: z.ZodNumber;
35822
+ 1.5: z.ZodNumber;
35823
+ 2: z.ZodNumber;
35824
+ }, z.core.$strip>;
35825
+ weekly_cumulative_overtime_minutes_worked: z.ZodObject<{
35826
+ 1: z.ZodNumber;
35827
+ 1.5: z.ZodNumber;
35828
+ 2: z.ZodNumber;
35829
+ }, z.core.$strip>;
35830
+ cumulative_incentive_pay_overtime_minutes_worked: z.ZodObject<{
35831
+ 1: z.ZodNumber;
35832
+ 1.5: z.ZodNumber;
35833
+ 2: z.ZodNumber;
35834
+ }, z.core.$strip>;
35835
+ weekly_cumulative_incentive_pay_overtime_minutes_worked: z.ZodObject<{
35836
+ 1: z.ZodNumber;
35837
+ 1.5: z.ZodNumber;
35838
+ 2: z.ZodNumber;
35839
+ }, z.core.$strip>;
35840
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
35841
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
35842
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35843
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35844
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35845
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35846
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
35847
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
35848
+ cumulative_region_ids: z.ZodArray<z.ZodString>;
35849
+ weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
35850
+ created_at: z.ZodISODateTime;
35851
+ updated_at: z.ZodISODateTime;
35852
+ }, z.core.$strip>;
35368
35853
  export declare const zCreateManagerTimeEntryApprovalBody: z.ZodObject<{
35369
35854
  status: z.ZodEnum<{
35370
35855
  pending: "pending";