@dsptch-work/api-client 0.28.0 → 0.30.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.
@@ -439,6 +439,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
439
439
  "pay_periods.imports.dsptch_cprs": "pay_periods.imports.dsptch_cprs";
440
440
  "pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
441
441
  "payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
442
+ "payrolls.payroll_runs.imports.wide_paystubs": "payrolls.payroll_runs.imports.wide_paystubs";
442
443
  users: "users";
443
444
  }>;
444
445
  blob: z.ZodObject<{
@@ -3135,6 +3136,40 @@ export declare const zPaystubImportResponseObject: z.ZodObject<{
3135
3136
  export declare const zPaystubImportParameters: z.ZodObject<{
3136
3137
  file_signed_id: z.ZodString;
3137
3138
  }, z.core.$strip>;
3139
+ /**
3140
+ * One bulk upload of wide paystub amounts against a payroll run, and how it turned out.
3141
+ */
3142
+ export declare const zWidePaystubImportResponseObject: z.ZodObject<{
3143
+ id: z.ZodString;
3144
+ payrolls_payroll_run_id: z.ZodString;
3145
+ status: z.ZodEnum<{
3146
+ pending: "pending";
3147
+ failed: "failed";
3148
+ success: "success";
3149
+ processing: "processing";
3150
+ processed: "processed";
3151
+ superseded: "superseded";
3152
+ withdrawn: "withdrawn";
3153
+ }>;
3154
+ processed_rows_count: z.ZodInt;
3155
+ processing_errors: z.ZodArray<z.ZodObject<{
3156
+ code: z.ZodString;
3157
+ row: z.ZodNullable<z.ZodInt>;
3158
+ column: z.ZodNullable<z.ZodString>;
3159
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
3160
+ }, z.core.$strip>>;
3161
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
3162
+ created_at: z.ZodISODateTime;
3163
+ updated_at: z.ZodISODateTime;
3164
+ }, z.core.$strip>;
3165
+ /**
3166
+ * Submit a spreadsheet of wide paystub amounts for a payroll run. Each row is one employee: payroll_id names them, and every other column is a pay, deduction, or contribution amount. Extra pay-element columns are accepted; they are not unknown columns. The run's pay schedule must record the contributor on the external map (`requires_external_map_contributor`) and must not be connected to a payroll provider; where a provider is configured the paystubs come from that connection and a file is refused. payroll_id must be present as a header and carry a value on every row, or the file is refused naming what is missing. Header matching ignores case and treats spaces as underscores, and column order does not matter.
3167
+ *
3168
+ * Because acceptance is synchronous but the write happens in the background, only one wide paystub import at a time is accepted for a payroll run: while an earlier one is still `pending` or `processing`, a second answers 409 naming `import_in_progress`, and nothing is written. Poll the earlier import until it reports, then submit again.
3169
+ */
3170
+ export declare const zWidePaystubImportParameters: z.ZodObject<{
3171
+ file_signed_id: z.ZodString;
3172
+ }, z.core.$strip>;
3138
3173
  /**
3139
3174
  * One bulk upload of time entries against a pay period, and how it turned out.
3140
3175
  */
@@ -3351,6 +3386,37 @@ export declare const zTimeSessionResponseObject: z.ZodObject<{
3351
3386
  created_at: z.ZodISODateTime;
3352
3387
  updated_at: z.ZodISODateTime;
3353
3388
  }, z.core.$strip>;
3389
+ /**
3390
+ * A worker request for non-working time (R&R, PTO, and the other absence types). Approval produces an Absence; this read surface does not nest that Absence or the request's comments.
3391
+ */
3392
+ export declare const zTimeOffRequestResponseObject: z.ZodObject<{
3393
+ id: z.ZodString;
3394
+ user_id: z.ZodString;
3395
+ status: z.ZodEnum<{
3396
+ pending: "pending";
3397
+ cancelled: "cancelled";
3398
+ denied: "denied";
3399
+ approved: "approved";
3400
+ expired: "expired";
3401
+ }>;
3402
+ absence_type: z.ZodEnum<{
3403
+ rest_and_recovery: "rest_and_recovery";
3404
+ vacation: "vacation";
3405
+ bereavement: "bereavement";
3406
+ ca_covid_19_sick: "ca_covid_19_sick";
3407
+ custom: "custom";
3408
+ jury_duty: "jury_duty";
3409
+ unpaid: "unpaid";
3410
+ training: "training";
3411
+ bench: "bench";
3412
+ }>;
3413
+ start_time: z.ZodISODateTime;
3414
+ end_time: z.ZodISODateTime;
3415
+ reviewed_at: z.ZodNullable<z.ZodISODateTime>;
3416
+ reviewer_user_id: z.ZodNullable<z.ZodString>;
3417
+ created_at: z.ZodISODateTime;
3418
+ updated_at: z.ZodISODateTime;
3419
+ }, z.core.$strip>;
3354
3420
  /**
3355
3421
  * Request body for locking or unlocking a time card.
3356
3422
  */
@@ -3390,11 +3456,11 @@ export declare const zCompensationElementResponseObject: z.ZodObject<{
3390
3456
  savings: "savings";
3391
3457
  }>;
3392
3458
  lcp_employer_contribution_type: z.ZodEnum<{
3459
+ training: "training";
3393
3460
  ignore: "ignore";
3394
3461
  health_and_welfare: "health_and_welfare";
3395
3462
  pension: "pension";
3396
3463
  vacation_and_holiday: "vacation_and_holiday";
3397
- training: "training";
3398
3464
  all_other: "all_other";
3399
3465
  }>;
3400
3466
  lcp_employee_contribution_type: z.ZodEnum<{
@@ -3712,7 +3778,7 @@ export declare const zProjectResponseObject: z.ZodObject<{
3712
3778
  updated_at: z.ZodISODateTime;
3713
3779
  }, z.core.$strip>;
3714
3780
  /**
3715
- * Request body for creating or updating a project. Only `name` is required by the schema; `created_by_user_id` is additionally required on create and must be a member of the owning company. The owning company is inferred from the API key and is not part of the body. Omit relationship fields on PATCH to leave them unchanged.
3781
+ * Request body for creating a project. `name` and `created_by_user_id` are required; the creator must be a member of the owning company. The owning company is inferred from the API key and is not part of the body. Undeclared body keys return 400 before any project or relationship is saved.
3716
3782
  */
3717
3783
  export declare const zProjectParameters: z.ZodObject<{
3718
3784
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3748,7 +3814,7 @@ export declare const zProjectParameters: z.ZodObject<{
3748
3814
  placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3749
3815
  }, z.core.$strip>;
3750
3816
  /**
3751
- * Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only and an update that names it is rejected.
3817
+ * Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only; omit it on PATCH. Every update that includes it returns 400, even when unchanged. Undeclared body keys return 400 before any project or relationship changes.
3752
3818
  */
3753
3819
  export declare const zProjectUpdateParameters: z.ZodObject<{
3754
3820
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4626,7 +4692,7 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
4626
4692
  updated_at: z.ZodISODateTime;
4627
4693
  }, z.core.$strip>;
4628
4694
  /**
4629
- * Request body for creating a paystub line item. All four fields are required.
4695
+ * Request body for creating a paystub line item. All four fields are required. Undeclared body keys are rejected with 400; references outside the authenticated company return 404.
4630
4696
  */
4631
4697
  export declare const zPaystubLineItemParameters: z.ZodObject<{
4632
4698
  payrolls_paystub_id: z.ZodString;
@@ -4638,7 +4704,7 @@ export declare const zPaystubLineItemParameters: z.ZodObject<{
4638
4704
  payrolls_external_map_id: z.ZodString;
4639
4705
  }, z.core.$strip>;
4640
4706
  /**
4641
- * Request body for updating a paystub line item. Send only the fields to change.
4707
+ * Request body for updating a paystub line item. Send only the fields to change. Undeclared body keys are rejected with 400; newly supplied references outside the authenticated company return 404.
4642
4708
  */
4643
4709
  export declare const zPaystubLineItemUpdateParameters: z.ZodObject<{
4644
4710
  payrolls_paystub_id: z.ZodOptional<z.ZodString>;
@@ -5847,7 +5913,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
5847
5913
  dol_apprentice_no: z.ZodOptional<z.ZodString>;
5848
5914
  winda_id: z.ZodOptional<z.ZodString>;
5849
5915
  linkedin_url: z.ZodOptional<z.ZodString>;
5850
- roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
5916
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
5851
5917
  avatar_signed_id: z.ZodOptional<z.ZodString>;
5852
5918
  created_by_user_id: z.ZodOptional<z.ZodString>;
5853
5919
  last_sent_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5875,7 +5941,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
5875
5941
  holiday_annual_minutes: z.ZodOptional<z.ZodString>;
5876
5942
  training_annual_minutes: z.ZodOptional<z.ZodString>;
5877
5943
  hire_date: z.ZodOptional<z.ZodString>;
5878
- group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
5944
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
5879
5945
  custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5880
5946
  custom_field_config_id: z.ZodString;
5881
5947
  value: z.ZodNullable<z.ZodString>;
@@ -6405,6 +6471,50 @@ export declare const zTimeSessionsResponseObject: z.ZodObject<{
6405
6471
  updated_at: z.ZodISODateTime;
6406
6472
  }, z.core.$strip>>;
6407
6473
  }, z.core.$strip>;
6474
+ /**
6475
+ * A page of time-off requests, with pagination metadata and navigation links.
6476
+ */
6477
+ export declare const zTimeOffRequestsResponseObject: z.ZodObject<{
6478
+ meta: z.ZodObject<{
6479
+ page: z.ZodObject<{
6480
+ next_cursor: z.ZodNullable<z.ZodString>;
6481
+ current_cursor: z.ZodNullable<z.ZodString>;
6482
+ }, z.core.$strip>;
6483
+ }, z.core.$strip>;
6484
+ links: z.ZodObject<{
6485
+ self: z.ZodString;
6486
+ first: z.ZodNullable<z.ZodString>;
6487
+ next: z.ZodNullable<z.ZodString>;
6488
+ }, z.core.$strip>;
6489
+ data: z.ZodArray<z.ZodObject<{
6490
+ id: z.ZodString;
6491
+ user_id: z.ZodString;
6492
+ status: z.ZodEnum<{
6493
+ pending: "pending";
6494
+ cancelled: "cancelled";
6495
+ denied: "denied";
6496
+ approved: "approved";
6497
+ expired: "expired";
6498
+ }>;
6499
+ absence_type: z.ZodEnum<{
6500
+ rest_and_recovery: "rest_and_recovery";
6501
+ vacation: "vacation";
6502
+ bereavement: "bereavement";
6503
+ ca_covid_19_sick: "ca_covid_19_sick";
6504
+ custom: "custom";
6505
+ jury_duty: "jury_duty";
6506
+ unpaid: "unpaid";
6507
+ training: "training";
6508
+ bench: "bench";
6509
+ }>;
6510
+ start_time: z.ZodISODateTime;
6511
+ end_time: z.ZodISODateTime;
6512
+ reviewed_at: z.ZodNullable<z.ZodISODateTime>;
6513
+ reviewer_user_id: z.ZodNullable<z.ZodString>;
6514
+ created_at: z.ZodISODateTime;
6515
+ updated_at: z.ZodISODateTime;
6516
+ }, z.core.$strip>>;
6517
+ }, z.core.$strip>;
6408
6518
  /**
6409
6519
  * A page of payroll runs, with pagination metadata and navigation links.
6410
6520
  */
@@ -15745,6 +15855,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
15745
15855
  "pay_periods.imports.dsptch_cprs": "pay_periods.imports.dsptch_cprs";
15746
15856
  "pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
15747
15857
  "payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
15858
+ "payrolls.payroll_runs.imports.wide_paystubs": "payrolls.payroll_runs.imports.wide_paystubs";
15748
15859
  users: "users";
15749
15860
  }>;
15750
15861
  blob: z.ZodObject<{
@@ -15888,6 +15999,7 @@ export declare const zListFormSubmissionDeltasResponse: z.ZodObject<{
15888
15999
  }, z.core.$strip>;
15889
16000
  export declare const zListFormSubmissionsQuery: z.ZodObject<{
15890
16001
  'filter[form_definition_id]': z.ZodOptional<z.ZodString>;
16002
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
15891
16003
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
15892
16004
  'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
15893
16005
  'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -17671,6 +17783,18 @@ export declare const zListJobsQuery: z.ZodObject<{
17671
17783
  }>>;
17672
17784
  'filter[name]': z.ZodOptional<z.ZodString>;
17673
17785
  'filter[purchase_order_number]': z.ZodOptional<z.ZodString>;
17786
+ 'filter[federal_pwa_mode]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
17787
+ none: "none";
17788
+ all: "all";
17789
+ pw_only: "pw_only";
17790
+ ap_only: "ap_only";
17791
+ }>>>;
17792
+ 'filter[regional_pwa_mode]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
17793
+ none: "none";
17794
+ all: "all";
17795
+ pw_only: "pw_only";
17796
+ ap_only: "ap_only";
17797
+ }>>>;
17674
17798
  'page[cursor]': z.ZodOptional<z.ZodString>;
17675
17799
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
17676
17800
  page: z.ZodOptional<z.ZodString>;
@@ -20942,11 +21066,11 @@ export declare const zListCompensationElementsResponse: z.ZodObject<{
20942
21066
  savings: "savings";
20943
21067
  }>;
20944
21068
  lcp_employer_contribution_type: z.ZodEnum<{
21069
+ training: "training";
20945
21070
  ignore: "ignore";
20946
21071
  health_and_welfare: "health_and_welfare";
20947
21072
  pension: "pension";
20948
21073
  vacation_and_holiday: "vacation_and_holiday";
20949
- training: "training";
20950
21074
  all_other: "all_other";
20951
21075
  }>;
20952
21076
  lcp_employee_contribution_type: z.ZodEnum<{
@@ -20994,11 +21118,11 @@ export declare const zGetCompensationElementResponse: z.ZodObject<{
20994
21118
  savings: "savings";
20995
21119
  }>;
20996
21120
  lcp_employer_contribution_type: z.ZodEnum<{
21121
+ training: "training";
20997
21122
  ignore: "ignore";
20998
21123
  health_and_welfare: "health_and_welfare";
20999
21124
  pension: "pension";
21000
21125
  vacation_and_holiday: "vacation_and_holiday";
21001
- training: "training";
21002
21126
  all_other: "all_other";
21003
21127
  }>;
21004
21128
  lcp_employee_contribution_type: z.ZodEnum<{
@@ -21534,9 +21658,128 @@ export declare const zGetPaystubImportResponse: z.ZodObject<{
21534
21658
  created_at: z.ZodISODateTime;
21535
21659
  updated_at: z.ZodISODateTime;
21536
21660
  }, z.core.$strip>;
21661
+ export declare const zListWidePaystubImportsPath: z.ZodObject<{
21662
+ payroll_run_id: z.ZodString;
21663
+ }, z.core.$strip>;
21664
+ export declare const zListWidePaystubImportsQuery: z.ZodObject<{
21665
+ 'filter[status]': z.ZodOptional<z.ZodString>;
21666
+ 'filter[completed_at][gte]': z.ZodOptional<z.ZodISODateTime>;
21667
+ 'filter[completed_at][lte]': z.ZodOptional<z.ZodISODateTime>;
21668
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
21669
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
21670
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
21671
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
21672
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
21673
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
21674
+ page: z.ZodOptional<z.ZodString>;
21675
+ filter: z.ZodOptional<z.ZodString>;
21676
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
21677
+ }, z.core.$strip>;
21678
+ /**
21679
+ * Success
21680
+ */
21681
+ export declare const zListWidePaystubImportsResponse: z.ZodObject<{
21682
+ meta: z.ZodObject<{
21683
+ page: z.ZodObject<{
21684
+ next_cursor: z.ZodNullable<z.ZodString>;
21685
+ current_cursor: z.ZodNullable<z.ZodString>;
21686
+ }, z.core.$strip>;
21687
+ }, z.core.$strip>;
21688
+ links: z.ZodObject<{
21689
+ self: z.ZodString;
21690
+ first: z.ZodNullable<z.ZodString>;
21691
+ next: z.ZodNullable<z.ZodString>;
21692
+ }, z.core.$strip>;
21693
+ data: z.ZodArray<z.ZodObject<{
21694
+ id: z.ZodString;
21695
+ payrolls_payroll_run_id: z.ZodString;
21696
+ status: z.ZodEnum<{
21697
+ pending: "pending";
21698
+ failed: "failed";
21699
+ success: "success";
21700
+ processing: "processing";
21701
+ processed: "processed";
21702
+ superseded: "superseded";
21703
+ withdrawn: "withdrawn";
21704
+ }>;
21705
+ processed_rows_count: z.ZodInt;
21706
+ processing_errors: z.ZodArray<z.ZodObject<{
21707
+ code: z.ZodString;
21708
+ row: z.ZodNullable<z.ZodInt>;
21709
+ column: z.ZodNullable<z.ZodString>;
21710
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21711
+ }, z.core.$strip>>;
21712
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
21713
+ created_at: z.ZodISODateTime;
21714
+ updated_at: z.ZodISODateTime;
21715
+ }, z.core.$strip>>;
21716
+ }, z.core.$strip>;
21717
+ export declare const zCreateWidePaystubImportBody: z.ZodObject<{
21718
+ file_signed_id: z.ZodString;
21719
+ }, z.core.$strip>;
21720
+ export declare const zCreateWidePaystubImportPath: z.ZodObject<{
21721
+ payroll_run_id: z.ZodString;
21722
+ }, z.core.$strip>;
21723
+ /**
21724
+ * Created
21725
+ */
21726
+ export declare const zCreateWidePaystubImportResponse: z.ZodObject<{
21727
+ id: z.ZodString;
21728
+ payrolls_payroll_run_id: z.ZodString;
21729
+ status: z.ZodEnum<{
21730
+ pending: "pending";
21731
+ failed: "failed";
21732
+ success: "success";
21733
+ processing: "processing";
21734
+ processed: "processed";
21735
+ superseded: "superseded";
21736
+ withdrawn: "withdrawn";
21737
+ }>;
21738
+ processed_rows_count: z.ZodInt;
21739
+ processing_errors: z.ZodArray<z.ZodObject<{
21740
+ code: z.ZodString;
21741
+ row: z.ZodNullable<z.ZodInt>;
21742
+ column: z.ZodNullable<z.ZodString>;
21743
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21744
+ }, z.core.$strip>>;
21745
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
21746
+ created_at: z.ZodISODateTime;
21747
+ updated_at: z.ZodISODateTime;
21748
+ }, z.core.$strip>;
21749
+ export declare const zGetWidePaystubImportPath: z.ZodObject<{
21750
+ payroll_run_id: z.ZodString;
21751
+ id: z.ZodString;
21752
+ }, z.core.$strip>;
21753
+ /**
21754
+ * Success
21755
+ */
21756
+ export declare const zGetWidePaystubImportResponse: z.ZodObject<{
21757
+ id: z.ZodString;
21758
+ payrolls_payroll_run_id: z.ZodString;
21759
+ status: z.ZodEnum<{
21760
+ pending: "pending";
21761
+ failed: "failed";
21762
+ success: "success";
21763
+ processing: "processing";
21764
+ processed: "processed";
21765
+ superseded: "superseded";
21766
+ withdrawn: "withdrawn";
21767
+ }>;
21768
+ processed_rows_count: z.ZodInt;
21769
+ processing_errors: z.ZodArray<z.ZodObject<{
21770
+ code: z.ZodString;
21771
+ row: z.ZodNullable<z.ZodInt>;
21772
+ column: z.ZodNullable<z.ZodString>;
21773
+ context: z.ZodRecord<z.ZodString, z.ZodUnknown>;
21774
+ }, z.core.$strip>>;
21775
+ completed_at: z.ZodNullable<z.ZodISODateTime>;
21776
+ created_at: z.ZodISODateTime;
21777
+ updated_at: z.ZodISODateTime;
21778
+ }, z.core.$strip>;
21537
21779
  export declare const zListPayrollRunsQuery: z.ZodObject<{
21538
21780
  'filter[run_type]': z.ZodOptional<z.ZodString>;
21539
21781
  'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
21782
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
21540
21783
  'filter[run_date][gte]': z.ZodOptional<z.ZodISODate>;
21541
21784
  'filter[run_date][lte]': z.ZodOptional<z.ZodISODate>;
21542
21785
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -24373,6 +24616,9 @@ export declare const zListPositionsPath: z.ZodObject<{
24373
24616
  job_id: z.ZodString;
24374
24617
  }, z.core.$strip>;
24375
24618
  export declare const zListPositionsQuery: z.ZodObject<{
24619
+ 'filter[fulfilled_by_user_id]': z.ZodOptional<z.ZodString>;
24620
+ 'filter[fulfilled_by_user_id][null]': z.ZodOptional<z.ZodBoolean>;
24621
+ 'filter[position_function_id]': z.ZodOptional<z.ZodString>;
24376
24622
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
24377
24623
  'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
24378
24624
  'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -25094,6 +25340,7 @@ export declare const zCreateWorkerTimeCardApprovalResponse: z.ZodObject<{
25094
25340
  export declare const zListTimeCardsQuery: z.ZodObject<{
25095
25341
  'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
25096
25342
  'filter[user_id]': z.ZodOptional<z.ZodString>;
25343
+ 'filter[job_id]': z.ZodOptional<z.ZodString>;
25097
25344
  'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
25098
25345
  'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
25099
25346
  filter: z.ZodOptional<z.ZodString>;
@@ -26992,6 +27239,97 @@ export declare const zGetTimeCardActualResponse: z.ZodObject<{
26992
27239
  created_at: z.ZodISODateTime;
26993
27240
  updated_at: z.ZodISODateTime;
26994
27241
  }, z.core.$strip>;
27242
+ export declare const zListTimeOffRequestsQuery: z.ZodObject<{
27243
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
27244
+ 'filter[status]': z.ZodOptional<z.ZodEnum<{
27245
+ pending: "pending";
27246
+ cancelled: "cancelled";
27247
+ denied: "denied";
27248
+ approved: "approved";
27249
+ expired: "expired";
27250
+ }>>;
27251
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
27252
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
27253
+ page: z.ZodOptional<z.ZodString>;
27254
+ }, z.core.$strip>;
27255
+ /**
27256
+ * Success
27257
+ */
27258
+ export declare const zListTimeOffRequestsResponse: z.ZodObject<{
27259
+ meta: z.ZodObject<{
27260
+ page: z.ZodObject<{
27261
+ next_cursor: z.ZodNullable<z.ZodString>;
27262
+ current_cursor: z.ZodNullable<z.ZodString>;
27263
+ }, z.core.$strip>;
27264
+ }, z.core.$strip>;
27265
+ links: z.ZodObject<{
27266
+ self: z.ZodString;
27267
+ first: z.ZodNullable<z.ZodString>;
27268
+ next: z.ZodNullable<z.ZodString>;
27269
+ }, z.core.$strip>;
27270
+ data: z.ZodArray<z.ZodObject<{
27271
+ id: z.ZodString;
27272
+ user_id: z.ZodString;
27273
+ status: z.ZodEnum<{
27274
+ pending: "pending";
27275
+ cancelled: "cancelled";
27276
+ denied: "denied";
27277
+ approved: "approved";
27278
+ expired: "expired";
27279
+ }>;
27280
+ absence_type: z.ZodEnum<{
27281
+ rest_and_recovery: "rest_and_recovery";
27282
+ vacation: "vacation";
27283
+ bereavement: "bereavement";
27284
+ ca_covid_19_sick: "ca_covid_19_sick";
27285
+ custom: "custom";
27286
+ jury_duty: "jury_duty";
27287
+ unpaid: "unpaid";
27288
+ training: "training";
27289
+ bench: "bench";
27290
+ }>;
27291
+ start_time: z.ZodISODateTime;
27292
+ end_time: z.ZodISODateTime;
27293
+ reviewed_at: z.ZodNullable<z.ZodISODateTime>;
27294
+ reviewer_user_id: z.ZodNullable<z.ZodString>;
27295
+ created_at: z.ZodISODateTime;
27296
+ updated_at: z.ZodISODateTime;
27297
+ }, z.core.$strip>>;
27298
+ }, z.core.$strip>;
27299
+ export declare const zGetTimeOffRequestPath: z.ZodObject<{
27300
+ id: z.ZodString;
27301
+ }, z.core.$strip>;
27302
+ /**
27303
+ * Success
27304
+ */
27305
+ export declare const zGetTimeOffRequestResponse: z.ZodObject<{
27306
+ id: z.ZodString;
27307
+ user_id: z.ZodString;
27308
+ status: z.ZodEnum<{
27309
+ pending: "pending";
27310
+ cancelled: "cancelled";
27311
+ denied: "denied";
27312
+ approved: "approved";
27313
+ expired: "expired";
27314
+ }>;
27315
+ absence_type: z.ZodEnum<{
27316
+ rest_and_recovery: "rest_and_recovery";
27317
+ vacation: "vacation";
27318
+ bereavement: "bereavement";
27319
+ ca_covid_19_sick: "ca_covid_19_sick";
27320
+ custom: "custom";
27321
+ jury_duty: "jury_duty";
27322
+ unpaid: "unpaid";
27323
+ training: "training";
27324
+ bench: "bench";
27325
+ }>;
27326
+ start_time: z.ZodISODateTime;
27327
+ end_time: z.ZodISODateTime;
27328
+ reviewed_at: z.ZodNullable<z.ZodISODateTime>;
27329
+ reviewer_user_id: z.ZodNullable<z.ZodString>;
27330
+ created_at: z.ZodISODateTime;
27331
+ updated_at: z.ZodISODateTime;
27332
+ }, z.core.$strip>;
26995
27333
  export declare const zListTimeSessionsQuery: z.ZodObject<{
26996
27334
  'filter[user_id]': z.ZodOptional<z.ZodString>;
26997
27335
  'filter[job_id]': z.ZodOptional<z.ZodString>;
@@ -28151,6 +28489,8 @@ export declare const zListUsersQuery: z.ZodObject<{
28151
28489
  terminated: "terminated";
28152
28490
  }>>;
28153
28491
  'filter[name]': z.ZodOptional<z.ZodString>;
28492
+ 'filter[manager_user_id]': z.ZodOptional<z.ZodString>;
28493
+ 'filter[department_id]': z.ZodOptional<z.ZodString>;
28154
28494
  'page[cursor]': z.ZodOptional<z.ZodString>;
28155
28495
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
28156
28496
  page: z.ZodOptional<z.ZodString>;
@@ -28327,7 +28667,7 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
28327
28667
  dol_apprentice_no: z.ZodOptional<z.ZodString>;
28328
28668
  winda_id: z.ZodOptional<z.ZodString>;
28329
28669
  linkedin_url: z.ZodOptional<z.ZodString>;
28330
- roles: z.ZodOptional<z.ZodArray<z.ZodString>>;
28670
+ roles: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
28331
28671
  avatar_signed_id: z.ZodOptional<z.ZodString>;
28332
28672
  created_by_user_id: z.ZodOptional<z.ZodString>;
28333
28673
  last_sent_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -28355,7 +28695,7 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
28355
28695
  holiday_annual_minutes: z.ZodOptional<z.ZodString>;
28356
28696
  training_annual_minutes: z.ZodOptional<z.ZodString>;
28357
28697
  hire_date: z.ZodOptional<z.ZodString>;
28358
- group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
28698
+ group_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodUUID>>>;
28359
28699
  custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
28360
28700
  custom_field_config_id: z.ZodString;
28361
28701
  value: z.ZodNullable<z.ZodString>;