@dsptch-work/api-client 0.51.0 → 0.52.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -233,12 +233,24 @@ 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**
239
245
  *
240
246
  * The upload behind an image attachment's signed id is not an image content type. Upload an image file.
241
247
  *
248
+ * ### certified_payroll_export_blocked
249
+ *
250
+ * **Certified Payroll Export Blocked**
251
+ *
252
+ * Failing compliance checks block this certified payroll export: a job-level check on the named job, or a time-card check on a worker the export would include. These are the same checks that disable Export in the web app. Resolve the failing checks, then retry.
253
+ *
242
254
  * ### certified_payroll_format_unavailable
243
255
  *
244
256
  * **Certified Payroll Format Unavailable**
@@ -426,7 +438,9 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
426
438
  span_beyond_timeline_end: "span_beyond_timeline_end";
427
439
  version_overlap: "version_overlap";
428
440
  precondition_failed: "precondition_failed";
441
+ aggregate_time_mode_required: "aggregate_time_mode_required";
429
442
  attachment_not_image: "attachment_not_image";
443
+ certified_payroll_export_blocked: "certified_payroll_export_blocked";
430
444
  certified_payroll_format_unavailable: "certified_payroll_format_unavailable";
431
445
  company_not_employer: "company_not_employer";
432
446
  confirm_apprenticeship_conflict: "confirm_apprenticeship_conflict";
@@ -632,6 +646,7 @@ export declare const zCompetencyCriterionResponseObject: z.ZodObject<{
632
646
  number: z.ZodNullable<z.ZodString>;
633
647
  body: z.ZodNullable<z.ZodString>;
634
648
  evidence_note: z.ZodNullable<z.ZodString>;
649
+ allow_not_applicable: z.ZodBoolean;
635
650
  assessment_methods: z.ZodArray<z.ZodEnum<{
636
651
  direct_observation: "direct_observation";
637
652
  simulation: "simulation";
@@ -652,6 +667,7 @@ export declare const zCompetencyCriterionParameters: z.ZodObject<{
652
667
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
653
668
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
654
669
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
670
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
655
671
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
656
672
  direct_observation: "direct_observation";
657
673
  simulation: "simulation";
@@ -3819,7 +3835,7 @@ export declare const zDsptchCprImportResponseObject: z.ZodObject<{
3819
3835
  updated_at: z.ZodISODateTime;
3820
3836
  }, z.core.$strip>;
3821
3837
  /**
3822
- * Submit a certified payroll report for a pay period. The pay period's pay schedule must be in aggregate time mode; a schedule that keeps time as entries is refused. The file carries every column of the DSPTCH CPR template: the payroll, job and employee identifiers, the employer and employee pay, contribution and deduction amounts, the three wage pay rates, and one hours column per multiplier per day of the period — seven days each for a weekly schedule, fourteen for a biweekly one. All of them must be present as column headers, or the file is refused naming the ones missing. Of those, job_id, week_ending_date, employee_payroll_id, one_x_wage_pay_rate and one_five_x_wage_pay_rate must also carry a value on every row, and two_x_wage_pay_rate must whenever any 2x hours column does. federal_labor_classification and regional_labor_classification are read when present, and are needed only where a position has more than one wage determination in a jurisdiction. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
3838
+ * Submit a certified payroll report for a pay period. The pay period's pay schedule must be in aggregate time mode; a schedule that keeps time as entries is refused. The file carries every column of the DSPTCH CPR template: the payroll, job and employee identifiers, the employer and employee pay, contribution and deduction amounts, the three wage pay rates, and one hours column per multiplier per day of the period — seven days each for a weekly schedule, fourteen for a biweekly one. All of them must be present as column headers, or the file is refused naming the ones missing. Of those, job_id, week_ending_date, employee_payroll_id, one_x_wage_pay_rate and one_five_x_wage_pay_rate must also carry a value on every row, and two_x_wage_pay_rate must whenever any 2x hours column does. On a job that tracks prevailing wage, each rate must also be more than 0 when the row has hours at its multiplier: a row that prices such hours at 0 or below answers 422 naming `non_positive_rate_for_prevailing_wage_hours`, and nothing is written. federal_labor_classification and regional_labor_classification are read when present, and are needed only where a position has more than one wage determination in a jurisdiction. Header matching ignores case and treats spaces as underscores, and column order does not matter. Any other column is refused: a name this import does not read would be dropped without trace, so the file is rejected naming it rather than applied in part.
3823
3839
  *
3824
3840
  * Submitting the same work twice is refused rather than doubled: an import will not write onto a time card that already holds data, so a retry after a submission that already succeeded answers 422 naming `time_card_has_data`, and nothing is written. The guard is per time card, not per file, so a corrected file for the same worker and period is refused the same way — clear that period's data first.
3825
3841
  *
@@ -4067,6 +4083,19 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
4067
4083
  created_at: z.ZodISODateTime;
4068
4084
  updated_at: z.ZodISODateTime;
4069
4085
  }, z.core.$strip>;
4086
+ /**
4087
+ * 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.
4088
+ */
4089
+ export declare const zJobTimeCardDayUpdateParameters: z.ZodObject<{
4090
+ overtime_minutes_worked: z.ZodOptional<z.ZodObject<{
4091
+ 1: z.ZodInt;
4092
+ 1.5: z.ZodInt;
4093
+ 2: z.ZodInt;
4094
+ }, z.core.$strip>>;
4095
+ pay_cents: z.ZodOptional<z.ZodString>;
4096
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
4097
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
4098
+ }, z.core.$strip>;
4070
4099
  /**
4071
4100
  * 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.
4072
4101
  */
@@ -5863,7 +5892,7 @@ export declare const zJobCaEcprXmlExportResponseObject: z.ZodObject<{
5863
5892
  created_at: z.ZodISODateTime;
5864
5893
  }, z.core.$strip>;
5865
5894
  /**
5866
- * Start a job-scoped CA DIR eCPR XML certified-payroll export over a calendar window. Creation requires a user-scoped API key, because the generation handle attributes the export to a person. The response is the pending export; poll the member GET for status and the file URL. Filename is server-owned. A job that does not offer CA eCPR answers 422 certified_payroll_format_unavailable. A window with no reportable pay periods answers 422 nothing_exportable.
5895
+ * Start a job-scoped CA DIR eCPR XML certified-payroll export over a calendar window. Creation requires a user-scoped API key, because the generation handle attributes the export to a person. The response is the pending export; poll the member GET for status and the file URL. Filename is server-owned. A job that does not offer CA eCPR answers 422 certified_payroll_format_unavailable. Failing compliance checks that block the export answer 422 certified_payroll_export_blocked. A window with no reportable pay periods answers 422 nothing_exportable.
5867
5896
  */
5868
5897
  export declare const zJobCaEcprXmlExportCreateParameters: z.ZodObject<{
5869
5898
  start_date: z.ZodISODate;
@@ -6517,6 +6546,7 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
6517
6546
  export declare const zProductionPlannedFeatureTaskParameters: z.ZodObject<{
6518
6547
  name: z.ZodOptional<z.ZodString>;
6519
6548
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6549
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6520
6550
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6521
6551
  tz_name: z.ZodOptional<z.ZodString>;
6522
6552
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6529,6 +6559,7 @@ export declare const zProductionPlannedFeatureTaskParameters: z.ZodObject<{
6529
6559
  export declare const zProductionPlannedFeatureTaskUpdateParameters: z.ZodObject<{
6530
6560
  name: z.ZodOptional<z.ZodString>;
6531
6561
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6562
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6532
6563
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6533
6564
  tz_name: z.ZodOptional<z.ZodString>;
6534
6565
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -6553,12 +6584,68 @@ export declare const zProductionPlannedFeatureTaskResponseObject: z.ZodObject<{
6553
6584
  archived_at: z.ZodNullable<z.ZodISODateTime>;
6554
6585
  name: z.ZodString;
6555
6586
  description: z.ZodString;
6587
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
6556
6588
  time_due: z.ZodNullable<z.ZodISODateTime>;
6557
6589
  tz_name: z.ZodString;
6558
6590
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
6559
6591
  created_at: z.ZodISODateTime;
6560
6592
  updated_at: z.ZodISODateTime;
6561
6593
  }, z.core.$strip>;
6594
+ /**
6595
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6596
+ */
6597
+ export declare const zProductionPhaseParameters: z.ZodObject<{
6598
+ name: z.ZodString;
6599
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
6600
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
6601
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
6602
+ tz_name: z.ZodOptional<z.ZodString>;
6603
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
6604
+ }, z.core.$strip>;
6605
+ /**
6606
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6607
+ */
6608
+ export declare const zProductionPhaseUpdateParameters: z.ZodObject<{
6609
+ name: z.ZodOptional<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 zProductionPhaseArchiveParameters: z.ZodObject<{
6620
+ archived: z.ZodBoolean;
6621
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
6622
+ }, z.core.$strip>;
6623
+ /**
6624
+ * Optional phase planning and explicit retained work facts, independently of whole-service completion.
6625
+ */
6626
+ export declare const zProductionPhaseResponseObject: z.ZodObject<{
6627
+ id: z.ZodString;
6628
+ production_planned_feature_task_id: z.ZodString;
6629
+ production_job_scope_price_id: z.ZodString;
6630
+ task_id: z.ZodString;
6631
+ name: z.ZodString;
6632
+ description: z.ZodString;
6633
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
6634
+ time_due: z.ZodNullable<z.ZodISODateTime>;
6635
+ tz_name: z.ZodString;
6636
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
6637
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
6638
+ created_at: z.ZodISODateTime;
6639
+ updated_at: z.ZodISODateTime;
6640
+ completion: z.ZodNullable<z.ZodObject<{
6641
+ id: z.ZodString;
6642
+ work_date: z.ZodISODate;
6643
+ notes: z.ZodNullable<z.ZodString>;
6644
+ created_by_user_id: z.ZodString;
6645
+ position_ids: z.ZodArray<z.ZodString>;
6646
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
6647
+ }, z.core.$strip>>;
6648
+ }, z.core.$strip>;
6562
6649
  /**
6563
6650
  * 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.
6564
6651
  */
@@ -18941,6 +19028,7 @@ export declare const zListCriteriaResponse: z.ZodObject<{
18941
19028
  number: z.ZodNullable<z.ZodString>;
18942
19029
  body: z.ZodNullable<z.ZodString>;
18943
19030
  evidence_note: z.ZodNullable<z.ZodString>;
19031
+ allow_not_applicable: z.ZodBoolean;
18944
19032
  assessment_methods: z.ZodArray<z.ZodEnum<{
18945
19033
  direct_observation: "direct_observation";
18946
19034
  simulation: "simulation";
@@ -18959,6 +19047,7 @@ export declare const zCreateCriterionBody: z.ZodObject<{
18959
19047
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18960
19048
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
18961
19049
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19050
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
18962
19051
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
18963
19052
  direct_observation: "direct_observation";
18964
19053
  simulation: "simulation";
@@ -18986,6 +19075,7 @@ export declare const zCreateCriterionResponse: z.ZodObject<{
18986
19075
  number: z.ZodNullable<z.ZodString>;
18987
19076
  body: z.ZodNullable<z.ZodString>;
18988
19077
  evidence_note: z.ZodNullable<z.ZodString>;
19078
+ allow_not_applicable: z.ZodBoolean;
18989
19079
  assessment_methods: z.ZodArray<z.ZodEnum<{
18990
19080
  direct_observation: "direct_observation";
18991
19081
  simulation: "simulation";
@@ -19027,6 +19117,7 @@ export declare const zGetCriterionResponse: z.ZodObject<{
19027
19117
  number: z.ZodNullable<z.ZodString>;
19028
19118
  body: z.ZodNullable<z.ZodString>;
19029
19119
  evidence_note: z.ZodNullable<z.ZodString>;
19120
+ allow_not_applicable: z.ZodBoolean;
19030
19121
  assessment_methods: z.ZodArray<z.ZodEnum<{
19031
19122
  direct_observation: "direct_observation";
19032
19123
  simulation: "simulation";
@@ -19044,6 +19135,7 @@ export declare const zUpdateCriterionBody: z.ZodObject<{
19044
19135
  number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19045
19136
  body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19046
19137
  evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19138
+ allow_not_applicable: z.ZodOptional<z.ZodBoolean>;
19047
19139
  assessment_methods: z.ZodOptional<z.ZodArray<z.ZodEnum<{
19048
19140
  direct_observation: "direct_observation";
19049
19141
  simulation: "simulation";
@@ -19072,6 +19164,7 @@ export declare const zUpdateCriterionResponse: z.ZodObject<{
19072
19164
  number: z.ZodNullable<z.ZodString>;
19073
19165
  body: z.ZodNullable<z.ZodString>;
19074
19166
  evidence_note: z.ZodNullable<z.ZodString>;
19167
+ allow_not_applicable: z.ZodBoolean;
19075
19168
  assessment_methods: z.ZodArray<z.ZodEnum<{
19076
19169
  direct_observation: "direct_observation";
19077
19170
  simulation: "simulation";
@@ -19108,6 +19201,7 @@ export declare const zMoveCompetencyCriterionResponse: z.ZodObject<{
19108
19201
  number: z.ZodNullable<z.ZodString>;
19109
19202
  body: z.ZodNullable<z.ZodString>;
19110
19203
  evidence_note: z.ZodNullable<z.ZodString>;
19204
+ allow_not_applicable: z.ZodBoolean;
19111
19205
  assessment_methods: z.ZodArray<z.ZodEnum<{
19112
19206
  direct_observation: "direct_observation";
19113
19207
  simulation: "simulation";
@@ -21042,12 +21136,212 @@ export declare const zUpdateArchiveResponse: z.ZodObject<{
21042
21136
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21043
21137
  name: z.ZodString;
21044
21138
  description: z.ZodString;
21139
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21045
21140
  time_due: z.ZodNullable<z.ZodISODateTime>;
21046
21141
  tz_name: z.ZodString;
21047
21142
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
21048
21143
  created_at: z.ZodISODateTime;
21049
21144
  updated_at: z.ZodISODateTime;
21050
21145
  }, z.core.$strip>;
21146
+ export declare const zListPhasesPath: z.ZodObject<{
21147
+ job_id: z.ZodString;
21148
+ job_scope_price_id: z.ZodString;
21149
+ planned_feature_task_id: z.ZodString;
21150
+ }, z.core.$strip>;
21151
+ export declare const zListPhasesQuery: z.ZodObject<{
21152
+ 'filter[archived]': z.ZodOptional<z.ZodBoolean>;
21153
+ filter: z.ZodOptional<z.ZodString>;
21154
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
21155
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
21156
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
21157
+ page: z.ZodOptional<z.ZodString>;
21158
+ }, z.core.$strip>;
21159
+ /**
21160
+ * Success
21161
+ */
21162
+ export declare const zListPhasesResponse: z.ZodObject<{
21163
+ meta: z.ZodObject<{
21164
+ page: z.ZodObject<{
21165
+ next_cursor: z.ZodNullable<z.ZodString>;
21166
+ current_cursor: z.ZodNullable<z.ZodString>;
21167
+ }, z.core.$strip>;
21168
+ }, z.core.$strip>;
21169
+ links: z.ZodObject<{
21170
+ self: z.ZodString;
21171
+ first: z.ZodNullable<z.ZodString>;
21172
+ next: z.ZodNullable<z.ZodString>;
21173
+ }, z.core.$strip>;
21174
+ data: z.ZodArray<z.ZodObject<{
21175
+ id: z.ZodString;
21176
+ production_planned_feature_task_id: z.ZodString;
21177
+ production_job_scope_price_id: z.ZodString;
21178
+ task_id: z.ZodString;
21179
+ name: z.ZodString;
21180
+ description: z.ZodString;
21181
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21182
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21183
+ tz_name: z.ZodString;
21184
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21185
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21186
+ created_at: z.ZodISODateTime;
21187
+ updated_at: z.ZodISODateTime;
21188
+ completion: z.ZodNullable<z.ZodObject<{
21189
+ id: z.ZodString;
21190
+ work_date: z.ZodISODate;
21191
+ notes: z.ZodNullable<z.ZodString>;
21192
+ created_by_user_id: z.ZodString;
21193
+ position_ids: z.ZodArray<z.ZodString>;
21194
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21195
+ }, z.core.$strip>>;
21196
+ }, z.core.$strip>>;
21197
+ }, z.core.$strip>;
21198
+ export declare const zCreatePhaseBody: z.ZodObject<{
21199
+ name: z.ZodString;
21200
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21201
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21202
+ time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21203
+ tz_name: z.ZodOptional<z.ZodString>;
21204
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
21205
+ }, z.core.$strip>;
21206
+ export declare const zCreatePhasePath: z.ZodObject<{
21207
+ job_id: z.ZodString;
21208
+ job_scope_price_id: z.ZodString;
21209
+ planned_feature_task_id: z.ZodString;
21210
+ }, z.core.$strip>;
21211
+ /**
21212
+ * Created
21213
+ */
21214
+ export declare const zCreatePhaseResponse: z.ZodObject<{
21215
+ id: z.ZodString;
21216
+ production_planned_feature_task_id: z.ZodString;
21217
+ production_job_scope_price_id: z.ZodString;
21218
+ task_id: z.ZodString;
21219
+ name: z.ZodString;
21220
+ description: z.ZodString;
21221
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21222
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21223
+ tz_name: z.ZodString;
21224
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21225
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21226
+ created_at: z.ZodISODateTime;
21227
+ updated_at: z.ZodISODateTime;
21228
+ completion: z.ZodNullable<z.ZodObject<{
21229
+ id: z.ZodString;
21230
+ work_date: z.ZodISODate;
21231
+ notes: z.ZodNullable<z.ZodString>;
21232
+ created_by_user_id: z.ZodString;
21233
+ position_ids: z.ZodArray<z.ZodString>;
21234
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21235
+ }, z.core.$strip>>;
21236
+ }, z.core.$strip>;
21237
+ export declare const zGetPhasePath: z.ZodObject<{
21238
+ job_id: z.ZodString;
21239
+ job_scope_price_id: z.ZodString;
21240
+ planned_feature_task_id: z.ZodString;
21241
+ id: z.ZodString;
21242
+ }, z.core.$strip>;
21243
+ /**
21244
+ * Success
21245
+ */
21246
+ export declare const zGetPhaseResponse: z.ZodObject<{
21247
+ id: z.ZodString;
21248
+ production_planned_feature_task_id: z.ZodString;
21249
+ production_job_scope_price_id: z.ZodString;
21250
+ task_id: z.ZodString;
21251
+ name: z.ZodString;
21252
+ description: z.ZodString;
21253
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21254
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21255
+ tz_name: z.ZodString;
21256
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21257
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21258
+ created_at: z.ZodISODateTime;
21259
+ updated_at: z.ZodISODateTime;
21260
+ completion: z.ZodNullable<z.ZodObject<{
21261
+ id: z.ZodString;
21262
+ work_date: z.ZodISODate;
21263
+ notes: z.ZodNullable<z.ZodString>;
21264
+ created_by_user_id: z.ZodString;
21265
+ position_ids: z.ZodArray<z.ZodString>;
21266
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21267
+ }, z.core.$strip>>;
21268
+ }, z.core.$strip>;
21269
+ export declare const zUpdatePhaseBody: z.ZodObject<{
21270
+ name: z.ZodOptional<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 zUpdatePhasePath: z.ZodObject<{
21278
+ job_id: z.ZodString;
21279
+ job_scope_price_id: z.ZodString;
21280
+ planned_feature_task_id: z.ZodString;
21281
+ id: z.ZodString;
21282
+ }, z.core.$strip>;
21283
+ /**
21284
+ * Success
21285
+ */
21286
+ export declare const zUpdatePhaseResponse: z.ZodObject<{
21287
+ id: z.ZodString;
21288
+ production_planned_feature_task_id: z.ZodString;
21289
+ production_job_scope_price_id: z.ZodString;
21290
+ task_id: z.ZodString;
21291
+ name: z.ZodString;
21292
+ description: z.ZodString;
21293
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21294
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21295
+ tz_name: z.ZodString;
21296
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21297
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21298
+ created_at: z.ZodISODateTime;
21299
+ updated_at: z.ZodISODateTime;
21300
+ completion: z.ZodNullable<z.ZodObject<{
21301
+ id: z.ZodString;
21302
+ work_date: z.ZodISODate;
21303
+ notes: z.ZodNullable<z.ZodString>;
21304
+ created_by_user_id: z.ZodString;
21305
+ position_ids: z.ZodArray<z.ZodString>;
21306
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21307
+ }, z.core.$strip>>;
21308
+ }, z.core.$strip>;
21309
+ export declare const zSetPhaseArchiveBody: z.ZodObject<{
21310
+ archived: z.ZodBoolean;
21311
+ performed_by_user_id: z.ZodOptional<z.ZodString>;
21312
+ }, z.core.$strip>;
21313
+ export declare const zSetPhaseArchivePath: z.ZodObject<{
21314
+ job_id: z.ZodString;
21315
+ job_scope_price_id: z.ZodString;
21316
+ planned_feature_task_id: z.ZodString;
21317
+ phase_id: z.ZodString;
21318
+ }, z.core.$strip>;
21319
+ /**
21320
+ * Success
21321
+ */
21322
+ export declare const zSetPhaseArchiveResponse: z.ZodObject<{
21323
+ id: z.ZodString;
21324
+ production_planned_feature_task_id: z.ZodString;
21325
+ production_job_scope_price_id: z.ZodString;
21326
+ task_id: z.ZodString;
21327
+ name: z.ZodString;
21328
+ description: z.ZodString;
21329
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21330
+ time_due: z.ZodNullable<z.ZodISODateTime>;
21331
+ tz_name: z.ZodString;
21332
+ actual_start_date: z.ZodNullable<z.ZodISODate>;
21333
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
21334
+ created_at: z.ZodISODateTime;
21335
+ updated_at: z.ZodISODateTime;
21336
+ completion: z.ZodNullable<z.ZodObject<{
21337
+ id: z.ZodString;
21338
+ work_date: z.ZodISODate;
21339
+ notes: z.ZodNullable<z.ZodString>;
21340
+ created_by_user_id: z.ZodString;
21341
+ position_ids: z.ZodArray<z.ZodString>;
21342
+ withdrawn_at: z.ZodNullable<z.ZodISODateTime>;
21343
+ }, z.core.$strip>>;
21344
+ }, z.core.$strip>;
21051
21345
  export declare const zListPlannedFeatureTasksPath: z.ZodObject<{
21052
21346
  job_id: z.ZodString;
21053
21347
  job_scope_price_id: z.ZodString;
@@ -21084,6 +21378,7 @@ export declare const zListPlannedFeatureTasksResponse: z.ZodObject<{
21084
21378
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21085
21379
  name: z.ZodString;
21086
21380
  description: z.ZodString;
21381
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21087
21382
  time_due: z.ZodNullable<z.ZodISODateTime>;
21088
21383
  tz_name: z.ZodString;
21089
21384
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21094,6 +21389,7 @@ export declare const zListPlannedFeatureTasksResponse: z.ZodObject<{
21094
21389
  export declare const zCreatePlannedFeatureTaskBody: z.ZodObject<{
21095
21390
  name: z.ZodOptional<z.ZodString>;
21096
21391
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21392
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21097
21393
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21098
21394
  tz_name: z.ZodOptional<z.ZodString>;
21099
21395
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -21116,6 +21412,7 @@ export declare const zCreatePlannedFeatureTaskResponse: z.ZodObject<{
21116
21412
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21117
21413
  name: z.ZodString;
21118
21414
  description: z.ZodString;
21415
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21119
21416
  time_due: z.ZodNullable<z.ZodISODateTime>;
21120
21417
  tz_name: z.ZodString;
21121
21418
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21139,6 +21436,7 @@ export declare const zGetPlannedFeatureTaskResponse: z.ZodObject<{
21139
21436
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21140
21437
  name: z.ZodString;
21141
21438
  description: z.ZodString;
21439
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21142
21440
  time_due: z.ZodNullable<z.ZodISODateTime>;
21143
21441
  tz_name: z.ZodString;
21144
21442
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -21148,6 +21446,7 @@ export declare const zGetPlannedFeatureTaskResponse: z.ZodObject<{
21148
21446
  export declare const zUpdatePlannedFeatureTaskBody: z.ZodObject<{
21149
21447
  name: z.ZodOptional<z.ZodString>;
21150
21448
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21449
+ planned_start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
21151
21450
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
21152
21451
  tz_name: z.ZodOptional<z.ZodString>;
21153
21452
  task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -21170,6 +21469,7 @@ export declare const zUpdatePlannedFeatureTaskResponse: z.ZodObject<{
21170
21469
  archived_at: z.ZodNullable<z.ZodISODateTime>;
21171
21470
  name: z.ZodString;
21172
21471
  description: z.ZodString;
21472
+ planned_start_date: z.ZodNullable<z.ZodISODate>;
21173
21473
  time_due: z.ZodNullable<z.ZodISODateTime>;
21174
21474
  tz_name: z.ZodString;
21175
21475
  task_assignee_user_ids: z.ZodArray<z.ZodString>;
@@ -35358,6 +35658,107 @@ export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
35358
35658
  created_at: z.ZodISODateTime;
35359
35659
  updated_at: z.ZodISODateTime;
35360
35660
  }, z.core.$strip>;
35661
+ export declare const zUpdateJobTimeCardDayBody: z.ZodObject<{
35662
+ overtime_minutes_worked: z.ZodOptional<z.ZodObject<{
35663
+ 1: z.ZodInt;
35664
+ 1.5: z.ZodInt;
35665
+ 2: z.ZodInt;
35666
+ }, z.core.$strip>>;
35667
+ pay_cents: z.ZodOptional<z.ZodString>;
35668
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35669
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
35670
+ }, z.core.$strip>;
35671
+ export declare const zUpdateJobTimeCardDayPath: z.ZodObject<{
35672
+ id: z.ZodString;
35673
+ }, z.core.$strip>;
35674
+ /**
35675
+ * Success
35676
+ */
35677
+ export declare const zUpdateJobTimeCardDayResponse: z.ZodObject<{
35678
+ id: z.ZodString;
35679
+ timekeeping_job_time_card_id: z.ZodString;
35680
+ job_id: z.ZodString;
35681
+ timekeeping_time_card_id: z.ZodString;
35682
+ user_id: z.ZodString;
35683
+ timekeeping_pay_period_id: z.ZodString;
35684
+ date: z.ZodISODate;
35685
+ minutes_worked: z.ZodInt;
35686
+ paid_minutes_worked: z.ZodInt;
35687
+ overtime_eligible_minutes_worked: z.ZodInt;
35688
+ billable_minutes_worked: z.ZodInt;
35689
+ holiday_minutes_worked: z.ZodInt;
35690
+ pto_minutes_worked: z.ZodInt;
35691
+ pwa_minutes_worked: z.ZodInt;
35692
+ rest_and_recovery_minutes_worked: z.ZodInt;
35693
+ incentive_pay_eligible_minutes_worked: z.ZodInt;
35694
+ overtime_minutes_worked: z.ZodObject<{
35695
+ 1: z.ZodNumber;
35696
+ 1.5: z.ZodNumber;
35697
+ 2: z.ZodNumber;
35698
+ }, z.core.$strip>;
35699
+ incentive_pay_overtime_minutes_worked: z.ZodObject<{
35700
+ 1: z.ZodNumber;
35701
+ 1.5: z.ZodNumber;
35702
+ 2: z.ZodNumber;
35703
+ }, z.core.$strip>;
35704
+ pay_cents: z.ZodOptional<z.ZodString>;
35705
+ base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35706
+ one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35707
+ two_x_adder_cents: z.ZodOptional<z.ZodString>;
35708
+ region_ids: z.ZodArray<z.ZodString>;
35709
+ cumulative_minutes_worked: z.ZodInt;
35710
+ weekly_cumulative_minutes_worked: z.ZodInt;
35711
+ cumulative_paid_minutes_worked: z.ZodInt;
35712
+ weekly_cumulative_paid_minutes_worked: z.ZodInt;
35713
+ cumulative_overtime_eligible_minutes_worked: z.ZodInt;
35714
+ weekly_cumulative_overtime_eligible_minutes_worked: z.ZodInt;
35715
+ cumulative_billable_minutes_worked: z.ZodInt;
35716
+ weekly_cumulative_billable_minutes_worked: z.ZodInt;
35717
+ cumulative_holiday_minutes_worked: z.ZodInt;
35718
+ weekly_cumulative_holiday_minutes_worked: z.ZodInt;
35719
+ cumulative_pto_minutes_worked: z.ZodInt;
35720
+ weekly_cumulative_pto_minutes_worked: z.ZodInt;
35721
+ cumulative_pwa_minutes_worked: z.ZodInt;
35722
+ weekly_cumulative_pwa_minutes_worked: z.ZodInt;
35723
+ cumulative_rest_and_recovery_minutes_worked: z.ZodInt;
35724
+ weekly_cumulative_rest_and_recovery_minutes_worked: z.ZodInt;
35725
+ cumulative_incentive_pay_eligible_minutes_worked: z.ZodInt;
35726
+ weekly_cumulative_incentive_pay_eligible_minutes_worked: z.ZodInt;
35727
+ consecutive_days_worked: z.ZodInt;
35728
+ weekly_consecutive_days_worked: z.ZodInt;
35729
+ cumulative_overtime_minutes_worked: z.ZodObject<{
35730
+ 1: z.ZodNumber;
35731
+ 1.5: z.ZodNumber;
35732
+ 2: z.ZodNumber;
35733
+ }, z.core.$strip>;
35734
+ weekly_cumulative_overtime_minutes_worked: z.ZodObject<{
35735
+ 1: z.ZodNumber;
35736
+ 1.5: z.ZodNumber;
35737
+ 2: z.ZodNumber;
35738
+ }, z.core.$strip>;
35739
+ cumulative_incentive_pay_overtime_minutes_worked: z.ZodObject<{
35740
+ 1: z.ZodNumber;
35741
+ 1.5: z.ZodNumber;
35742
+ 2: z.ZodNumber;
35743
+ }, z.core.$strip>;
35744
+ weekly_cumulative_incentive_pay_overtime_minutes_worked: z.ZodObject<{
35745
+ 1: z.ZodNumber;
35746
+ 1.5: z.ZodNumber;
35747
+ 2: z.ZodNumber;
35748
+ }, z.core.$strip>;
35749
+ cumulative_pay_cents: z.ZodOptional<z.ZodString>;
35750
+ weekly_cumulative_pay_cents: z.ZodOptional<z.ZodString>;
35751
+ cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35752
+ weekly_cumulative_base_wage_pay_cents: z.ZodOptional<z.ZodString>;
35753
+ cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35754
+ weekly_cumulative_one_five_x_adder_cents: z.ZodOptional<z.ZodString>;
35755
+ cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
35756
+ weekly_cumulative_two_x_adder_cents: z.ZodOptional<z.ZodString>;
35757
+ cumulative_region_ids: z.ZodArray<z.ZodString>;
35758
+ weekly_cumulative_region_ids: z.ZodArray<z.ZodString>;
35759
+ created_at: z.ZodISODateTime;
35760
+ updated_at: z.ZodISODateTime;
35761
+ }, z.core.$strip>;
35361
35762
  export declare const zCreateManagerTimeEntryApprovalBody: z.ZodObject<{
35362
35763
  status: z.ZodEnum<{
35363
35764
  pending: "pending";