@dsptch-work/api-client 0.32.0 → 0.33.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.
@@ -175,6 +175,12 @@ export declare const zProblem: z.ZodObject<{
175
175
  *
176
176
  * The resource's timeline already ends at a scheduled termination, and scheduling a second one would silently move it. Moving an end is two steps on purpose: cancel the standing termination, then schedule the one you want.
177
177
  *
178
+ * ### authorization_revoked
179
+ *
180
+ * **Authorization Revoked**
181
+ *
182
+ * The assessor grant is revoked. A revoked grant keeps its row as history and cannot be changed or revoked again. To make the user an assessor again, grant them anew.
183
+ *
178
184
  * ### import_in_progress
179
185
  *
180
186
  * **Import In Progress**
@@ -355,11 +361,17 @@ export declare const zProblem: z.ZodObject<{
355
361
  *
356
362
  * ## 503
357
363
  *
364
+ * ### database_timeout
365
+ *
366
+ * **Database Timeout**
367
+ *
368
+ * A database statement behind the request ran past the server's time limit and was stopped before it finished. The request may be fine as sent — resend it after the `Retry-After` window, and if it keeps timing out, ask for less at once, such as a narrower filter or a smaller page.
369
+ *
358
370
  * ### write_contended
359
371
  *
360
372
  * **Write Contended**
361
373
  *
362
- * Another write to the same resource held it for longer than this request was willing to wait, so nothing was applied. The request itself is fine — resend it unchanged after the `Retry-After` window.
374
+ * Another write to the same resource held it for longer than this request was willing to wait, or collided with it, so nothing was applied. The request itself is fine — resend it unchanged after the `Retry-After` window.
363
375
  *
364
376
  */
365
377
  export declare const zProblemTypeCatalog: z.ZodEnum<{
@@ -387,6 +399,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
387
399
  not_found: "not_found";
388
400
  already_subscribed: "already_subscribed";
389
401
  already_terminated: "already_terminated";
402
+ authorization_revoked: "authorization_revoked";
390
403
  import_in_progress: "import_in_progress";
391
404
  pay_schedule_already_exists: "pay_schedule_already_exists";
392
405
  product_archived: "product_archived";
@@ -415,6 +428,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
415
428
  precondition_required: "precondition_required";
416
429
  too_many_requests: "too_many_requests";
417
430
  internal_error: "internal_error";
431
+ database_timeout: "database_timeout";
418
432
  write_contended: "write_contended";
419
433
  }>;
420
434
  export declare const zApiKeyScopeResponseObject: z.ZodObject<{
@@ -477,6 +491,51 @@ export declare const zDirectUploadResponseObject: z.ZodObject<{
477
491
  headers: z.ZodRecord<z.ZodString, z.ZodString>;
478
492
  }, z.core.$strip>;
479
493
  }, z.core.$strip>;
494
+ /**
495
+ * One assessor-registry grant for one standard. Department scope is informational. revoked_at is null while the grant is active.
496
+ */
497
+ export declare const zCompetencyAssessorAuthorizationResponseObject: z.ZodObject<{
498
+ id: z.ZodString;
499
+ user_id: z.ZodString;
500
+ competencies_standard_id: z.ZodString;
501
+ companies_department_id: z.ZodNullable<z.ZodString>;
502
+ kind: z.ZodEnum<{
503
+ authorized_assessor: "authorized_assessor";
504
+ qualified_assessor: "qualified_assessor";
505
+ }>;
506
+ granted_by_user_id: z.ZodString;
507
+ granted_at: z.ZodISODateTime;
508
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
509
+ state: z.ZodEnum<{
510
+ active: "active";
511
+ revoked: "revoked";
512
+ }>;
513
+ created_at: z.ZodISODateTime;
514
+ updated_at: z.ZodISODateTime;
515
+ }, z.core.$strip>;
516
+ /**
517
+ * Grant an assessor role for one standard. A user key grants as its user. A company key names the grantor. An active grant of the same kind for the same user and standard is unique.
518
+ */
519
+ export declare const zCompetencyAssessorAuthorizationParameters: z.ZodObject<{
520
+ user_id: z.ZodString;
521
+ kind: z.ZodEnum<{
522
+ authorized_assessor: "authorized_assessor";
523
+ qualified_assessor: "qualified_assessor";
524
+ }>;
525
+ competencies_standard_id: z.ZodString;
526
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
527
+ granted_by_user_id: z.ZodOptional<z.ZodString>;
528
+ }, z.core.$strip>;
529
+ /**
530
+ * Update the department note on an active grant. Kind, user, standard, and grantor are fixed. A revoked grant answers 409 authorization_revoked.
531
+ */
532
+ export declare const zCompetencyAssessorAuthorizationUpdateParameters: z.ZodObject<{
533
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
534
+ }, z.core.$strip>;
535
+ /**
536
+ * Revoke an active grant. The body takes no fields; send an empty object or no body. Revocation sets revoked_at and keeps the row; revoking it again answers 409 authorization_revoked.
537
+ */
538
+ export declare const zCompetencyAssessorAuthorizationRevocationParameters: z.ZodRecord<z.ZodString, z.ZodNever>;
480
539
  /**
481
540
  * A durable standing. The candidate passed the standard at level_sort_order. There is no level id, so the standing survives the next revision. This API does not create or update qualifications.
482
541
  */
@@ -692,8 +751,8 @@ export declare const zApprenticeshipApprenticeResponseObject: z.ZodObject<{
692
751
  id: z.ZodString;
693
752
  user_id: z.ZodString;
694
753
  status: z.ZodEnum<{
695
- pending: "pending";
696
754
  active: "active";
755
+ pending: "pending";
697
756
  cancelled: "cancelled";
698
757
  completed: "completed";
699
758
  registered: "registered";
@@ -759,8 +818,8 @@ export declare const zApprenticeshipApprenticeParameters: z.ZodObject<{
759
818
  apprenticeship_wage_schedule_id: z.ZodString;
760
819
  user_id: z.ZodString;
761
820
  status: z.ZodEnum<{
762
- pending: "pending";
763
821
  active: "active";
822
+ pending: "pending";
764
823
  cancelled: "cancelled";
765
824
  completed: "completed";
766
825
  registered: "registered";
@@ -1462,7 +1521,7 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
1462
1521
  currency: z.ZodString;
1463
1522
  taxable: z.ZodBoolean;
1464
1523
  default: z.ZodNullable<z.ZodBoolean>;
1465
- active: z.ZodNullable<z.ZodBoolean>;
1524
+ active: z.ZodBoolean;
1466
1525
  work_type_ids: z.ZodArray<z.ZodString>;
1467
1526
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
1468
1527
  created_at: z.ZodISODateTime;
@@ -1477,8 +1536,8 @@ export declare const zPerDiemParameters: z.ZodObject<{
1477
1536
  rate_cents: z.ZodString;
1478
1537
  currency: z.ZodString;
1479
1538
  taxable: z.ZodOptional<z.ZodBoolean>;
1480
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1481
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1539
+ default: z.ZodOptional<z.ZodBoolean>;
1540
+ active: z.ZodOptional<z.ZodBoolean>;
1482
1541
  work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1483
1542
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1484
1543
  }, z.core.$strip>;
@@ -1491,8 +1550,8 @@ export declare const zPerDiemUpdateParameters: z.ZodObject<{
1491
1550
  rate_cents: z.ZodOptional<z.ZodString>;
1492
1551
  currency: z.ZodOptional<z.ZodString>;
1493
1552
  taxable: z.ZodOptional<z.ZodBoolean>;
1494
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1495
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1553
+ default: z.ZodOptional<z.ZodBoolean>;
1554
+ active: z.ZodOptional<z.ZodBoolean>;
1496
1555
  work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1497
1556
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
1498
1557
  }, z.core.$strip>;
@@ -2692,7 +2751,12 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
2692
2751
  id: z.ZodString;
2693
2752
  name: z.ZodString;
2694
2753
  description: z.ZodNullable<z.ZodString>;
2695
- model_type: z.ZodString;
2754
+ model_type: z.ZodEnum<{
2755
+ job: "job";
2756
+ apprenticeship_apprentice: "apprenticeship_apprentice";
2757
+ company: "company";
2758
+ user_company: "user_company";
2759
+ }>;
2696
2760
  visible: z.ZodBoolean;
2697
2761
  company_id: z.ZodString;
2698
2762
  created_at: z.ZodISODateTime;
@@ -2713,17 +2777,11 @@ export declare const zCustomFieldConfigParameters: z.ZodObject<{
2713
2777
  visible: z.ZodOptional<z.ZodBoolean>;
2714
2778
  }, z.core.$strip>;
2715
2779
  /**
2716
- * Request body for updating a custom field definition. Every field is optional; omit a field to preserve its current value. The resulting definition's name must remain unique for its company and model type.
2780
+ * Request body for updating a custom field definition. Every field is optional; omit a field to preserve its current value. `model_type` is fixed at creation, so sending it answers 400. The resulting definition's name must remain unique for its company and model type.
2717
2781
  */
2718
2782
  export declare const zCustomFieldConfigUpdateParameters: z.ZodObject<{
2719
2783
  name: z.ZodOptional<z.ZodString>;
2720
2784
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2721
- model_type: z.ZodOptional<z.ZodEnum<{
2722
- job: "job";
2723
- apprenticeship_apprentice: "apprenticeship_apprentice";
2724
- company: "company";
2725
- user_company: "user_company";
2726
- }>>;
2727
2785
  visible: z.ZodOptional<z.ZodBoolean>;
2728
2786
  }, z.core.$strip>;
2729
2787
  /**
@@ -3019,7 +3077,10 @@ export declare const zUserCompanyScheduledChange: z.ZodObject<{
3019
3077
  id: z.ZodString;
3020
3078
  start_date: z.ZodString;
3021
3079
  hourly_rate: z.ZodNullable<z.ZodString>;
3022
- compensation_type: z.ZodString;
3080
+ compensation_type: z.ZodEnum<{
3081
+ hourly: "hourly";
3082
+ salary: "salary";
3083
+ }>;
3023
3084
  overtime_eligible: z.ZodBoolean;
3024
3085
  training_annual_amount: z.ZodNullable<z.ZodString>;
3025
3086
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -3039,7 +3100,10 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
3039
3100
  id: z.ZodString;
3040
3101
  start_date: z.ZodString;
3041
3102
  hourly_rate: z.ZodNullable<z.ZodString>;
3042
- compensation_type: z.ZodString;
3103
+ compensation_type: z.ZodEnum<{
3104
+ hourly: "hourly";
3105
+ salary: "salary";
3106
+ }>;
3043
3107
  overtime_eligible: z.ZodBoolean;
3044
3108
  training_annual_amount: z.ZodNullable<z.ZodString>;
3045
3109
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -3054,7 +3118,10 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
3054
3118
  id: z.ZodString;
3055
3119
  start_date: z.ZodString;
3056
3120
  hourly_rate: z.ZodNullable<z.ZodString>;
3057
- compensation_type: z.ZodString;
3121
+ compensation_type: z.ZodEnum<{
3122
+ hourly: "hourly";
3123
+ salary: "salary";
3124
+ }>;
3058
3125
  overtime_eligible: z.ZodBoolean;
3059
3126
  training_annual_amount: z.ZodNullable<z.ZodString>;
3060
3127
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -4106,14 +4173,16 @@ export declare const zFeatureResponseObject: z.ZodObject<{
4106
4173
  updated_at: z.ZodISODateTime;
4107
4174
  }, z.core.$strip>;
4108
4175
  /**
4109
- * A billing metric — the count of distinct prevailing-wage/apprenticeship (PWA) tracked workers on a project in a given month, aggregated for the billed company. One row per project per month.
4176
+ * A billing metric — the count of distinct prevailing-wage/apprenticeship (PWA) tracked workers on one billable unit in a given month, aggregated for the billed company. A billable unit is a project (one row per project per month, counting workers once across every job in the project tree) or a job outside any project (one row per job per month). Exactly one of `project_id` and `job_id` is set.
4110
4177
  */
4111
4178
  export declare const zBillingPwaUserCountByProjectByMonthResponseObject: z.ZodObject<{
4112
4179
  year_month: z.ZodString;
4113
4180
  year: z.ZodInt;
4114
4181
  month: z.ZodInt;
4115
- project_id: z.ZodString;
4116
- project_name: z.ZodString;
4182
+ project_id: z.ZodNullable<z.ZodString>;
4183
+ project_name: z.ZodNullable<z.ZodString>;
4184
+ job_id: z.ZodNullable<z.ZodString>;
4185
+ job_name: z.ZodNullable<z.ZodString>;
4117
4186
  user_count: z.ZodInt;
4118
4187
  }, z.core.$strip>;
4119
4188
  /**
@@ -5393,7 +5462,7 @@ export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
5393
5462
  * Fields shared by both completion payload kinds.
5394
5463
  */
5395
5464
  export declare const zProductionCompletionBaseParameters: z.ZodObject<{
5396
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
5465
+ production_job_scope_price_id: z.ZodString;
5397
5466
  performed_by_user_id: z.ZodString;
5398
5467
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5399
5468
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -5403,7 +5472,7 @@ export declare const zProductionCompletionBaseParameters: z.ZodObject<{
5403
5472
  * Payload for completions on feature-tracked jobs (the scope price's job tracks production by feature). quantity_completed is not accepted; the feature reference is immutable after create, so update accepts no completable_attributes at all.
5404
5473
  */
5405
5474
  export declare const zProductionFeatureCompletionParameters: z.ZodIntersection<z.ZodObject<{
5406
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
5475
+ production_job_scope_price_id: z.ZodString;
5407
5476
  performed_by_user_id: z.ZodString;
5408
5477
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5409
5478
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -5417,7 +5486,7 @@ export declare const zProductionFeatureCompletionParameters: z.ZodIntersection<z
5417
5486
  * Payload for completions on quantity-tracked jobs (the scope price's job tracks production by quantity). feature_id is not accepted.
5418
5487
  */
5419
5488
  export declare const zProductionQuantityCompletionParameters: z.ZodIntersection<z.ZodObject<{
5420
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
5489
+ production_job_scope_price_id: z.ZodString;
5421
5490
  performed_by_user_id: z.ZodString;
5422
5491
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5423
5492
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -5431,7 +5500,7 @@ export declare const zProductionQuantityCompletionParameters: z.ZodIntersection<
5431
5500
  * A completion's payload shape follows the production tracking kind of the scope price's job — the server derives the completable subtype from the job, never from the request. Feature-tracked jobs record which feature was completed (feature payload); quantity-tracked jobs record how many units were completed (quantity payload). The two payloads are mutually exclusive: sending the other kind's completable key returns 422.
5432
5501
  */
5433
5502
  export declare const zProductionCompletionParameters: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
5434
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
5503
+ production_job_scope_price_id: z.ZodString;
5435
5504
  performed_by_user_id: z.ZodString;
5436
5505
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5437
5506
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -5441,7 +5510,7 @@ export declare const zProductionCompletionParameters: z.ZodUnion<readonly [z.Zod
5441
5510
  feature_id: z.ZodOptional<z.ZodString>;
5442
5511
  }, z.core.$strip>>;
5443
5512
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
5444
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
5513
+ production_job_scope_price_id: z.ZodString;
5445
5514
  performed_by_user_id: z.ZodString;
5446
5515
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5447
5516
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -5896,7 +5965,10 @@ export declare const zUserResponseObject: z.ZodObject<{
5896
5965
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
5897
5966
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
5898
5967
  payroll_id: z.ZodNullable<z.ZodString>;
5899
- compensation_type: z.ZodNullable<z.ZodString>;
5968
+ compensation_type: z.ZodNullable<z.ZodEnum<{
5969
+ hourly: "hourly";
5970
+ salary: "salary";
5971
+ }>>;
5900
5972
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5901
5973
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5902
5974
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9533,6 +9605,7 @@ export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
9533
9605
  */
9534
9606
  export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
9535
9607
  form_definition_id: z.ZodString;
9608
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9536
9609
  triggered_by: z.ZodEnum<{
9537
9610
  assignment: "assignment";
9538
9611
  unassignment: "unassignment";
@@ -9547,9 +9620,6 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
9547
9620
  day_of_week: "day_of_week";
9548
9621
  day_of_month: "day_of_month";
9549
9622
  }>;
9550
- tz_name: z.ZodString;
9551
- time_of_day_due: z.ZodString;
9552
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9553
9623
  recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9554
9624
  DAILY: "DAILY";
9555
9625
  WORKDAILY: "WORKDAILY";
@@ -9561,6 +9631,8 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
9561
9631
  }>>>;
9562
9632
  day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9563
9633
  day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9634
+ tz_name: z.ZodString;
9635
+ time_of_day_due: z.ZodString;
9564
9636
  assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9565
9637
  assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9566
9638
  }, z.core.$strip>;
@@ -9569,6 +9641,7 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
9569
9641
  */
9570
9642
  export declare const zAssetsFormAssignmentTriggerUpdateParameters: z.ZodObject<{
9571
9643
  form_definition_id: z.ZodOptional<z.ZodString>;
9644
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9572
9645
  triggered_by: z.ZodOptional<z.ZodEnum<{
9573
9646
  assignment: "assignment";
9574
9647
  unassignment: "unassignment";
@@ -9583,9 +9656,6 @@ export declare const zAssetsFormAssignmentTriggerUpdateParameters: z.ZodObject<{
9583
9656
  day_of_week: "day_of_week";
9584
9657
  day_of_month: "day_of_month";
9585
9658
  }>>;
9586
- tz_name: z.ZodOptional<z.ZodString>;
9587
- time_of_day_due: z.ZodOptional<z.ZodString>;
9588
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9589
9659
  recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9590
9660
  DAILY: "DAILY";
9591
9661
  WORKDAILY: "WORKDAILY";
@@ -9597,6 +9667,8 @@ export declare const zAssetsFormAssignmentTriggerUpdateParameters: z.ZodObject<{
9597
9667
  }>>>;
9598
9668
  day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9599
9669
  day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9670
+ tz_name: z.ZodOptional<z.ZodString>;
9671
+ time_of_day_due: z.ZodOptional<z.ZodString>;
9600
9672
  assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9601
9673
  assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
9602
9674
  }, z.core.$strip>;
@@ -10509,6 +10581,10 @@ export declare const zAssetsServiceScheduleSyncParameters: z.ZodObject<{
10509
10581
  schedule_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
10510
10582
  performed_by_user_id: z.ZodString;
10511
10583
  }, z.core.$strip>;
10584
+ /**
10585
+ * Revoke an active grant. The body takes no fields; send an empty object or no body. Revocation sets revoked_at and keeps the row; revoking it again answers 409 authorization_revoked.
10586
+ */
10587
+ export declare const zCompetencyAssessorAuthorizationRevocationParametersWritable: z.ZodRecord<z.ZodString, z.ZodNever>;
10512
10588
  /**
10513
10589
  * A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
10514
10590
  */
@@ -10740,8 +10816,8 @@ export declare const zListApprenticesResponse: z.ZodObject<{
10740
10816
  id: z.ZodString;
10741
10817
  user_id: z.ZodString;
10742
10818
  status: z.ZodEnum<{
10743
- pending: "pending";
10744
10819
  active: "active";
10820
+ pending: "pending";
10745
10821
  cancelled: "cancelled";
10746
10822
  completed: "completed";
10747
10823
  registered: "registered";
@@ -10772,8 +10848,8 @@ export declare const zCreateApprenticeBody: z.ZodObject<{
10772
10848
  apprenticeship_wage_schedule_id: z.ZodString;
10773
10849
  user_id: z.ZodString;
10774
10850
  status: z.ZodEnum<{
10775
- pending: "pending";
10776
10851
  active: "active";
10852
+ pending: "pending";
10777
10853
  cancelled: "cancelled";
10778
10854
  completed: "completed";
10779
10855
  registered: "registered";
@@ -10797,8 +10873,8 @@ export declare const zCreateApprenticeResponse: z.ZodObject<{
10797
10873
  id: z.ZodString;
10798
10874
  user_id: z.ZodString;
10799
10875
  status: z.ZodEnum<{
10800
- pending: "pending";
10801
10876
  active: "active";
10877
+ pending: "pending";
10802
10878
  cancelled: "cancelled";
10803
10879
  completed: "completed";
10804
10880
  registered: "registered";
@@ -12244,6 +12320,7 @@ export declare const zListFormAssignmentTriggersResponse: z.ZodObject<{
12244
12320
  }, z.core.$strip>;
12245
12321
  export declare const zCreateFormAssignmentTriggerBody: z.ZodObject<{
12246
12322
  form_definition_id: z.ZodString;
12323
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12247
12324
  triggered_by: z.ZodEnum<{
12248
12325
  assignment: "assignment";
12249
12326
  unassignment: "unassignment";
@@ -12258,9 +12335,6 @@ export declare const zCreateFormAssignmentTriggerBody: z.ZodObject<{
12258
12335
  day_of_week: "day_of_week";
12259
12336
  day_of_month: "day_of_month";
12260
12337
  }>;
12261
- tz_name: z.ZodString;
12262
- time_of_day_due: z.ZodString;
12263
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12264
12338
  recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
12265
12339
  DAILY: "DAILY";
12266
12340
  WORKDAILY: "WORKDAILY";
@@ -12272,6 +12346,8 @@ export declare const zCreateFormAssignmentTriggerBody: z.ZodObject<{
12272
12346
  }>>>;
12273
12347
  day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12274
12348
  day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12349
+ tz_name: z.ZodString;
12350
+ time_of_day_due: z.ZodString;
12275
12351
  assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12276
12352
  assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12277
12353
  }, z.core.$strip>;
@@ -12403,6 +12479,7 @@ export declare const zGetFormAssignmentTriggerResponse: z.ZodObject<{
12403
12479
  }, z.core.$strip>;
12404
12480
  export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
12405
12481
  form_definition_id: z.ZodOptional<z.ZodString>;
12482
+ name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12406
12483
  triggered_by: z.ZodOptional<z.ZodEnum<{
12407
12484
  assignment: "assignment";
12408
12485
  unassignment: "unassignment";
@@ -12417,9 +12494,6 @@ export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
12417
12494
  day_of_week: "day_of_week";
12418
12495
  day_of_month: "day_of_month";
12419
12496
  }>>;
12420
- tz_name: z.ZodOptional<z.ZodString>;
12421
- time_of_day_due: z.ZodOptional<z.ZodString>;
12422
- name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
12423
12497
  recurrence_frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
12424
12498
  DAILY: "DAILY";
12425
12499
  WORKDAILY: "WORKDAILY";
@@ -12431,6 +12505,8 @@ export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
12431
12505
  }>>>;
12432
12506
  day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12433
12507
  day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
12508
+ tz_name: z.ZodOptional<z.ZodString>;
12509
+ time_of_day_due: z.ZodOptional<z.ZodString>;
12434
12510
  assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12435
12511
  assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
12436
12512
  }, z.core.$strip>;
@@ -15492,6 +15568,7 @@ export declare const zGetAtlasSiteResponse: z.ZodObject<{
15492
15568
  export declare const zListPwaUserCountsByProjectByMonthsQuery: z.ZodObject<{
15493
15569
  'filter[year_month]': z.ZodOptional<z.ZodString>;
15494
15570
  'filter[project_id]': z.ZodOptional<z.ZodString>;
15571
+ 'filter[job_id]': z.ZodOptional<z.ZodString>;
15495
15572
  filter: z.ZodOptional<z.ZodString>;
15496
15573
  'filter[unexpected]': z.ZodOptional<z.ZodString>;
15497
15574
  }, z.core.$strip>;
@@ -15502,8 +15579,10 @@ export declare const zListPwaUserCountsByProjectByMonthsResponse: z.ZodArray<z.Z
15502
15579
  year_month: z.ZodString;
15503
15580
  year: z.ZodInt;
15504
15581
  month: z.ZodInt;
15505
- project_id: z.ZodString;
15506
- project_name: z.ZodString;
15582
+ project_id: z.ZodNullable<z.ZodString>;
15583
+ project_name: z.ZodNullable<z.ZodString>;
15584
+ job_id: z.ZodNullable<z.ZodString>;
15585
+ job_name: z.ZodNullable<z.ZodString>;
15507
15586
  user_count: z.ZodInt;
15508
15587
  }, z.core.$strip>>;
15509
15588
  export declare const zListPackagesQuery: z.ZodObject<{
@@ -16515,6 +16594,179 @@ export declare const zGetEvidenceItemResponse: z.ZodObject<{
16515
16594
  created_at: z.ZodISODateTime;
16516
16595
  updated_at: z.ZodISODateTime;
16517
16596
  }, z.core.$strip>;
16597
+ export declare const zListAssessorAuthorizationsQuery: z.ZodObject<{
16598
+ 'filter[user_id]': z.ZodOptional<z.ZodString>;
16599
+ 'filter[companies_department_id]': z.ZodOptional<z.ZodString>;
16600
+ 'filter[competencies_standard_id]': z.ZodOptional<z.ZodString>;
16601
+ 'filter[kind]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
16602
+ authorized_assessor: "authorized_assessor";
16603
+ qualified_assessor: "qualified_assessor";
16604
+ }>>>;
16605
+ 'filter[state]': z.ZodOptional<z.ZodEnum<{
16606
+ active: "active";
16607
+ revoked: "revoked";
16608
+ all: "all";
16609
+ }>>;
16610
+ 'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16611
+ 'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16612
+ 'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16613
+ 'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16614
+ 'filter[granted_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16615
+ 'filter[granted_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16616
+ 'filter[revoked_at][gte]': z.ZodOptional<z.ZodISODateTime>;
16617
+ 'filter[revoked_at][lte]': z.ZodOptional<z.ZodISODateTime>;
16618
+ filter: z.ZodOptional<z.ZodString>;
16619
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
16620
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
16621
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
16622
+ page: z.ZodOptional<z.ZodString>;
16623
+ }, z.core.$strip>;
16624
+ /**
16625
+ * Success
16626
+ */
16627
+ export declare const zListAssessorAuthorizationsResponse: z.ZodObject<{
16628
+ meta: z.ZodObject<{
16629
+ page: z.ZodObject<{
16630
+ next_cursor: z.ZodNullable<z.ZodString>;
16631
+ current_cursor: z.ZodNullable<z.ZodString>;
16632
+ }, z.core.$strip>;
16633
+ }, z.core.$strip>;
16634
+ links: z.ZodObject<{
16635
+ self: z.ZodString;
16636
+ first: z.ZodNullable<z.ZodString>;
16637
+ next: z.ZodNullable<z.ZodString>;
16638
+ }, z.core.$strip>;
16639
+ data: z.ZodArray<z.ZodObject<{
16640
+ id: z.ZodString;
16641
+ user_id: z.ZodString;
16642
+ competencies_standard_id: z.ZodString;
16643
+ companies_department_id: z.ZodNullable<z.ZodString>;
16644
+ kind: z.ZodEnum<{
16645
+ authorized_assessor: "authorized_assessor";
16646
+ qualified_assessor: "qualified_assessor";
16647
+ }>;
16648
+ granted_by_user_id: z.ZodString;
16649
+ granted_at: z.ZodISODateTime;
16650
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
16651
+ state: z.ZodEnum<{
16652
+ active: "active";
16653
+ revoked: "revoked";
16654
+ }>;
16655
+ created_at: z.ZodISODateTime;
16656
+ updated_at: z.ZodISODateTime;
16657
+ }, z.core.$strip>>;
16658
+ }, z.core.$strip>;
16659
+ export declare const zCreateAssessorAuthorizationBody: z.ZodObject<{
16660
+ user_id: z.ZodString;
16661
+ kind: z.ZodEnum<{
16662
+ authorized_assessor: "authorized_assessor";
16663
+ qualified_assessor: "qualified_assessor";
16664
+ }>;
16665
+ competencies_standard_id: z.ZodString;
16666
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16667
+ granted_by_user_id: z.ZodOptional<z.ZodString>;
16668
+ }, z.core.$strip>;
16669
+ /**
16670
+ * Created
16671
+ */
16672
+ export declare const zCreateAssessorAuthorizationResponse: z.ZodObject<{
16673
+ id: z.ZodString;
16674
+ user_id: z.ZodString;
16675
+ competencies_standard_id: z.ZodString;
16676
+ companies_department_id: z.ZodNullable<z.ZodString>;
16677
+ kind: z.ZodEnum<{
16678
+ authorized_assessor: "authorized_assessor";
16679
+ qualified_assessor: "qualified_assessor";
16680
+ }>;
16681
+ granted_by_user_id: z.ZodString;
16682
+ granted_at: z.ZodISODateTime;
16683
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
16684
+ state: z.ZodEnum<{
16685
+ active: "active";
16686
+ revoked: "revoked";
16687
+ }>;
16688
+ created_at: z.ZodISODateTime;
16689
+ updated_at: z.ZodISODateTime;
16690
+ }, z.core.$strip>;
16691
+ export declare const zGetAssessorAuthorizationPath: z.ZodObject<{
16692
+ id: z.ZodString;
16693
+ }, z.core.$strip>;
16694
+ /**
16695
+ * Success
16696
+ */
16697
+ export declare const zGetAssessorAuthorizationResponse: z.ZodObject<{
16698
+ id: z.ZodString;
16699
+ user_id: z.ZodString;
16700
+ competencies_standard_id: z.ZodString;
16701
+ companies_department_id: z.ZodNullable<z.ZodString>;
16702
+ kind: z.ZodEnum<{
16703
+ authorized_assessor: "authorized_assessor";
16704
+ qualified_assessor: "qualified_assessor";
16705
+ }>;
16706
+ granted_by_user_id: z.ZodString;
16707
+ granted_at: z.ZodISODateTime;
16708
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
16709
+ state: z.ZodEnum<{
16710
+ active: "active";
16711
+ revoked: "revoked";
16712
+ }>;
16713
+ created_at: z.ZodISODateTime;
16714
+ updated_at: z.ZodISODateTime;
16715
+ }, z.core.$strip>;
16716
+ export declare const zUpdateAssessorAuthorizationBody: z.ZodObject<{
16717
+ companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16718
+ }, z.core.$strip>;
16719
+ export declare const zUpdateAssessorAuthorizationPath: z.ZodObject<{
16720
+ id: z.ZodString;
16721
+ }, z.core.$strip>;
16722
+ /**
16723
+ * Success
16724
+ */
16725
+ export declare const zUpdateAssessorAuthorizationResponse: z.ZodObject<{
16726
+ id: z.ZodString;
16727
+ user_id: z.ZodString;
16728
+ competencies_standard_id: z.ZodString;
16729
+ companies_department_id: z.ZodNullable<z.ZodString>;
16730
+ kind: z.ZodEnum<{
16731
+ authorized_assessor: "authorized_assessor";
16732
+ qualified_assessor: "qualified_assessor";
16733
+ }>;
16734
+ granted_by_user_id: z.ZodString;
16735
+ granted_at: z.ZodISODateTime;
16736
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
16737
+ state: z.ZodEnum<{
16738
+ active: "active";
16739
+ revoked: "revoked";
16740
+ }>;
16741
+ created_at: z.ZodISODateTime;
16742
+ updated_at: z.ZodISODateTime;
16743
+ }, z.core.$strip>;
16744
+ export declare const zRevokeAssessorAuthorizationBody: z.ZodRecord<z.ZodString, z.ZodNever>;
16745
+ export declare const zRevokeAssessorAuthorizationPath: z.ZodObject<{
16746
+ assessor_authorization_id: z.ZodString;
16747
+ }, z.core.$strip>;
16748
+ /**
16749
+ * Created
16750
+ */
16751
+ export declare const zRevokeAssessorAuthorizationResponse: z.ZodObject<{
16752
+ id: z.ZodString;
16753
+ user_id: z.ZodString;
16754
+ competencies_standard_id: z.ZodString;
16755
+ companies_department_id: z.ZodNullable<z.ZodString>;
16756
+ kind: z.ZodEnum<{
16757
+ authorized_assessor: "authorized_assessor";
16758
+ qualified_assessor: "qualified_assessor";
16759
+ }>;
16760
+ granted_by_user_id: z.ZodString;
16761
+ granted_at: z.ZodISODateTime;
16762
+ revoked_at: z.ZodNullable<z.ZodISODateTime>;
16763
+ state: z.ZodEnum<{
16764
+ active: "active";
16765
+ revoked: "revoked";
16766
+ }>;
16767
+ created_at: z.ZodISODateTime;
16768
+ updated_at: z.ZodISODateTime;
16769
+ }, z.core.$strip>;
16518
16770
  export declare const zListQualificationsQuery: z.ZodObject<{
16519
16771
  'filter[candidate_user_id]': z.ZodOptional<z.ZodString>;
16520
16772
  'filter[competencies_standard_id]': z.ZodOptional<z.ZodString>;
@@ -16938,7 +17190,12 @@ export declare const zListCustomFieldConfigsResponse: z.ZodObject<{
16938
17190
  id: z.ZodString;
16939
17191
  name: z.ZodString;
16940
17192
  description: z.ZodNullable<z.ZodString>;
16941
- model_type: z.ZodString;
17193
+ model_type: z.ZodEnum<{
17194
+ job: "job";
17195
+ apprenticeship_apprentice: "apprenticeship_apprentice";
17196
+ company: "company";
17197
+ user_company: "user_company";
17198
+ }>;
16942
17199
  visible: z.ZodBoolean;
16943
17200
  company_id: z.ZodString;
16944
17201
  created_at: z.ZodISODateTime;
@@ -16963,7 +17220,12 @@ export declare const zCreateCustomFieldConfigResponse: z.ZodObject<{
16963
17220
  id: z.ZodString;
16964
17221
  name: z.ZodString;
16965
17222
  description: z.ZodNullable<z.ZodString>;
16966
- model_type: z.ZodString;
17223
+ model_type: z.ZodEnum<{
17224
+ job: "job";
17225
+ apprenticeship_apprentice: "apprenticeship_apprentice";
17226
+ company: "company";
17227
+ user_company: "user_company";
17228
+ }>;
16967
17229
  visible: z.ZodBoolean;
16968
17230
  company_id: z.ZodString;
16969
17231
  created_at: z.ZodISODateTime;
@@ -16979,7 +17241,12 @@ export declare const zDeleteCustomFieldConfigResponse: z.ZodObject<{
16979
17241
  id: z.ZodString;
16980
17242
  name: z.ZodString;
16981
17243
  description: z.ZodNullable<z.ZodString>;
16982
- model_type: z.ZodString;
17244
+ model_type: z.ZodEnum<{
17245
+ job: "job";
17246
+ apprenticeship_apprentice: "apprenticeship_apprentice";
17247
+ company: "company";
17248
+ user_company: "user_company";
17249
+ }>;
16983
17250
  visible: z.ZodBoolean;
16984
17251
  company_id: z.ZodString;
16985
17252
  created_at: z.ZodISODateTime;
@@ -16995,7 +17262,12 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
16995
17262
  id: z.ZodString;
16996
17263
  name: z.ZodString;
16997
17264
  description: z.ZodNullable<z.ZodString>;
16998
- model_type: z.ZodString;
17265
+ model_type: z.ZodEnum<{
17266
+ job: "job";
17267
+ apprenticeship_apprentice: "apprenticeship_apprentice";
17268
+ company: "company";
17269
+ user_company: "user_company";
17270
+ }>;
16999
17271
  visible: z.ZodBoolean;
17000
17272
  company_id: z.ZodString;
17001
17273
  created_at: z.ZodISODateTime;
@@ -17004,12 +17276,6 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
17004
17276
  export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
17005
17277
  name: z.ZodOptional<z.ZodString>;
17006
17278
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
17007
- model_type: z.ZodOptional<z.ZodEnum<{
17008
- job: "job";
17009
- apprenticeship_apprentice: "apprenticeship_apprentice";
17010
- company: "company";
17011
- user_company: "user_company";
17012
- }>>;
17013
17279
  visible: z.ZodOptional<z.ZodBoolean>;
17014
17280
  }, z.core.$strip>;
17015
17281
  export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
@@ -17022,7 +17288,12 @@ export declare const zUpdateCustomFieldConfigResponse: z.ZodObject<{
17022
17288
  id: z.ZodString;
17023
17289
  name: z.ZodString;
17024
17290
  description: z.ZodNullable<z.ZodString>;
17025
- model_type: z.ZodString;
17291
+ model_type: z.ZodEnum<{
17292
+ job: "job";
17293
+ apprenticeship_apprentice: "apprenticeship_apprentice";
17294
+ company: "company";
17295
+ user_company: "user_company";
17296
+ }>;
17026
17297
  visible: z.ZodBoolean;
17027
17298
  company_id: z.ZodString;
17028
17299
  created_at: z.ZodISODateTime;
@@ -24419,7 +24690,7 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
24419
24690
  currency: z.ZodString;
24420
24691
  taxable: z.ZodBoolean;
24421
24692
  default: z.ZodNullable<z.ZodBoolean>;
24422
- active: z.ZodNullable<z.ZodBoolean>;
24693
+ active: z.ZodBoolean;
24423
24694
  work_type_ids: z.ZodArray<z.ZodString>;
24424
24695
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24425
24696
  created_at: z.ZodISODateTime;
@@ -24432,8 +24703,8 @@ export declare const zCreatePerDiemBody: z.ZodObject<{
24432
24703
  rate_cents: z.ZodString;
24433
24704
  currency: z.ZodString;
24434
24705
  taxable: z.ZodOptional<z.ZodBoolean>;
24435
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24436
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24706
+ default: z.ZodOptional<z.ZodBoolean>;
24707
+ active: z.ZodOptional<z.ZodBoolean>;
24437
24708
  work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24438
24709
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24439
24710
  }, z.core.$strip>;
@@ -24448,7 +24719,7 @@ export declare const zCreatePerDiemResponse: z.ZodObject<{
24448
24719
  currency: z.ZodString;
24449
24720
  taxable: z.ZodBoolean;
24450
24721
  default: z.ZodNullable<z.ZodBoolean>;
24451
- active: z.ZodNullable<z.ZodBoolean>;
24722
+ active: z.ZodBoolean;
24452
24723
  work_type_ids: z.ZodArray<z.ZodString>;
24453
24724
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24454
24725
  created_at: z.ZodISODateTime;
@@ -24468,7 +24739,7 @@ export declare const zDeletePerDiemResponse: z.ZodObject<{
24468
24739
  currency: z.ZodString;
24469
24740
  taxable: z.ZodBoolean;
24470
24741
  default: z.ZodNullable<z.ZodBoolean>;
24471
- active: z.ZodNullable<z.ZodBoolean>;
24742
+ active: z.ZodBoolean;
24472
24743
  work_type_ids: z.ZodArray<z.ZodString>;
24473
24744
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24474
24745
  created_at: z.ZodISODateTime;
@@ -24488,7 +24759,7 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
24488
24759
  currency: z.ZodString;
24489
24760
  taxable: z.ZodBoolean;
24490
24761
  default: z.ZodNullable<z.ZodBoolean>;
24491
- active: z.ZodNullable<z.ZodBoolean>;
24762
+ active: z.ZodBoolean;
24492
24763
  work_type_ids: z.ZodArray<z.ZodString>;
24493
24764
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24494
24765
  created_at: z.ZodISODateTime;
@@ -24500,8 +24771,8 @@ export declare const zUpdatePerDiemBody: z.ZodObject<{
24500
24771
  rate_cents: z.ZodOptional<z.ZodString>;
24501
24772
  currency: z.ZodOptional<z.ZodString>;
24502
24773
  taxable: z.ZodOptional<z.ZodBoolean>;
24503
- default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24504
- active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
24774
+ default: z.ZodOptional<z.ZodBoolean>;
24775
+ active: z.ZodOptional<z.ZodBoolean>;
24505
24776
  work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24506
24777
  timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
24507
24778
  }, z.core.$strip>;
@@ -24519,7 +24790,7 @@ export declare const zUpdatePerDiemResponse: z.ZodObject<{
24519
24790
  currency: z.ZodString;
24520
24791
  taxable: z.ZodBoolean;
24521
24792
  default: z.ZodNullable<z.ZodBoolean>;
24522
- active: z.ZodNullable<z.ZodBoolean>;
24793
+ active: z.ZodBoolean;
24523
24794
  work_type_ids: z.ZodArray<z.ZodString>;
24524
24795
  timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
24525
24796
  created_at: z.ZodISODateTime;
@@ -24684,7 +24955,7 @@ export declare const zListCompletionsResponse: z.ZodObject<{
24684
24955
  }, z.core.$strip>], "completable_type">>;
24685
24956
  }, z.core.$strip>;
24686
24957
  export declare const zCreateCompletionBody: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
24687
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24958
+ production_job_scope_price_id: z.ZodString;
24688
24959
  performed_by_user_id: z.ZodString;
24689
24960
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24690
24961
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -24694,7 +24965,7 @@ export declare const zCreateCompletionBody: z.ZodUnion<readonly [z.ZodIntersecti
24694
24965
  feature_id: z.ZodOptional<z.ZodString>;
24695
24966
  }, z.core.$strip>>;
24696
24967
  }, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
24697
- production_job_scope_price_id: z.ZodOptional<z.ZodString>;
24968
+ production_job_scope_price_id: z.ZodString;
24698
24969
  performed_by_user_id: z.ZodString;
24699
24970
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
24700
24971
  work_date: z.ZodOptional<z.ZodISODate>;
@@ -30033,7 +30304,10 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
30033
30304
  id: z.ZodString;
30034
30305
  start_date: z.ZodString;
30035
30306
  hourly_rate: z.ZodNullable<z.ZodString>;
30036
- compensation_type: z.ZodString;
30307
+ compensation_type: z.ZodEnum<{
30308
+ hourly: "hourly";
30309
+ salary: "salary";
30310
+ }>;
30037
30311
  overtime_eligible: z.ZodBoolean;
30038
30312
  training_annual_amount: z.ZodNullable<z.ZodString>;
30039
30313
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30048,7 +30322,10 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
30048
30322
  id: z.ZodString;
30049
30323
  start_date: z.ZodString;
30050
30324
  hourly_rate: z.ZodNullable<z.ZodString>;
30051
- compensation_type: z.ZodString;
30325
+ compensation_type: z.ZodEnum<{
30326
+ hourly: "hourly";
30327
+ salary: "salary";
30328
+ }>;
30052
30329
  overtime_eligible: z.ZodBoolean;
30053
30330
  training_annual_amount: z.ZodNullable<z.ZodString>;
30054
30331
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30090,7 +30367,10 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
30090
30367
  id: z.ZodString;
30091
30368
  start_date: z.ZodString;
30092
30369
  hourly_rate: z.ZodNullable<z.ZodString>;
30093
- compensation_type: z.ZodString;
30370
+ compensation_type: z.ZodEnum<{
30371
+ hourly: "hourly";
30372
+ salary: "salary";
30373
+ }>;
30094
30374
  overtime_eligible: z.ZodBoolean;
30095
30375
  training_annual_amount: z.ZodNullable<z.ZodString>;
30096
30376
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30105,7 +30385,10 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
30105
30385
  id: z.ZodString;
30106
30386
  start_date: z.ZodString;
30107
30387
  hourly_rate: z.ZodNullable<z.ZodString>;
30108
- compensation_type: z.ZodString;
30388
+ compensation_type: z.ZodEnum<{
30389
+ hourly: "hourly";
30390
+ salary: "salary";
30391
+ }>;
30109
30392
  overtime_eligible: z.ZodBoolean;
30110
30393
  training_annual_amount: z.ZodNullable<z.ZodString>;
30111
30394
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30131,7 +30414,10 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
30131
30414
  id: z.ZodString;
30132
30415
  start_date: z.ZodString;
30133
30416
  hourly_rate: z.ZodNullable<z.ZodString>;
30134
- compensation_type: z.ZodString;
30417
+ compensation_type: z.ZodEnum<{
30418
+ hourly: "hourly";
30419
+ salary: "salary";
30420
+ }>;
30135
30421
  overtime_eligible: z.ZodBoolean;
30136
30422
  training_annual_amount: z.ZodNullable<z.ZodString>;
30137
30423
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30146,7 +30432,10 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
30146
30432
  id: z.ZodString;
30147
30433
  start_date: z.ZodString;
30148
30434
  hourly_rate: z.ZodNullable<z.ZodString>;
30149
- compensation_type: z.ZodString;
30435
+ compensation_type: z.ZodEnum<{
30436
+ hourly: "hourly";
30437
+ salary: "salary";
30438
+ }>;
30150
30439
  overtime_eligible: z.ZodBoolean;
30151
30440
  training_annual_amount: z.ZodNullable<z.ZodString>;
30152
30441
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30189,7 +30478,10 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
30189
30478
  id: z.ZodString;
30190
30479
  start_date: z.ZodString;
30191
30480
  hourly_rate: z.ZodNullable<z.ZodString>;
30192
- compensation_type: z.ZodString;
30481
+ compensation_type: z.ZodEnum<{
30482
+ hourly: "hourly";
30483
+ salary: "salary";
30484
+ }>;
30193
30485
  overtime_eligible: z.ZodBoolean;
30194
30486
  training_annual_amount: z.ZodNullable<z.ZodString>;
30195
30487
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30204,7 +30496,10 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
30204
30496
  id: z.ZodString;
30205
30497
  start_date: z.ZodString;
30206
30498
  hourly_rate: z.ZodNullable<z.ZodString>;
30207
- compensation_type: z.ZodString;
30499
+ compensation_type: z.ZodEnum<{
30500
+ hourly: "hourly";
30501
+ salary: "salary";
30502
+ }>;
30208
30503
  overtime_eligible: z.ZodBoolean;
30209
30504
  training_annual_amount: z.ZodNullable<z.ZodString>;
30210
30505
  employer_combined_health_amount: z.ZodNullable<z.ZodString>;
@@ -30260,7 +30555,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
30260
30555
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
30261
30556
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
30262
30557
  payroll_id: z.ZodNullable<z.ZodString>;
30263
- compensation_type: z.ZodNullable<z.ZodString>;
30558
+ compensation_type: z.ZodNullable<z.ZodEnum<{
30559
+ hourly: "hourly";
30560
+ salary: "salary";
30561
+ }>>;
30264
30562
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30265
30563
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30266
30564
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30395,7 +30693,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
30395
30693
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
30396
30694
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
30397
30695
  payroll_id: z.ZodNullable<z.ZodString>;
30398
- compensation_type: z.ZodNullable<z.ZodString>;
30696
+ compensation_type: z.ZodNullable<z.ZodEnum<{
30697
+ hourly: "hourly";
30698
+ salary: "salary";
30699
+ }>>;
30399
30700
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30400
30701
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30401
30702
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30556,7 +30857,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
30556
30857
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
30557
30858
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
30558
30859
  payroll_id: z.ZodNullable<z.ZodString>;
30559
- compensation_type: z.ZodNullable<z.ZodString>;
30860
+ compensation_type: z.ZodNullable<z.ZodEnum<{
30861
+ hourly: "hourly";
30862
+ salary: "salary";
30863
+ }>>;
30560
30864
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30561
30865
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30562
30866
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30690,7 +30994,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
30690
30994
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
30691
30995
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
30692
30996
  payroll_id: z.ZodNullable<z.ZodString>;
30693
- compensation_type: z.ZodNullable<z.ZodString>;
30997
+ compensation_type: z.ZodNullable<z.ZodEnum<{
30998
+ hourly: "hourly";
30999
+ salary: "salary";
31000
+ }>>;
30694
31001
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30695
31002
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30696
31003
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30842,7 +31149,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
30842
31149
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
30843
31150
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
30844
31151
  payroll_id: z.ZodNullable<z.ZodString>;
30845
- compensation_type: z.ZodNullable<z.ZodString>;
31152
+ compensation_type: z.ZodNullable<z.ZodEnum<{
31153
+ hourly: "hourly";
31154
+ salary: "salary";
31155
+ }>>;
30846
31156
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30847
31157
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
30848
31158
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -30947,10 +31257,10 @@ export declare const zListUsersQuery: z.ZodObject<{
30947
31257
  'filter[manager_user_id]': z.ZodOptional<z.ZodString>;
30948
31258
  'filter[department_id]': z.ZodOptional<z.ZodString>;
30949
31259
  'filter[invite_status]': z.ZodOptional<z.ZodArray<z.ZodEnum<{
31260
+ revoked: "revoked";
30950
31261
  pending: "pending";
30951
31262
  declined: "declined";
30952
31263
  accepted: "accepted";
30953
- revoked: "revoked";
30954
31264
  }>>>;
30955
31265
  'page[cursor]': z.ZodOptional<z.ZodString>;
30956
31266
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
@@ -31011,7 +31321,10 @@ export declare const zListUsersResponse: z.ZodObject<{
31011
31321
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
31012
31322
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
31013
31323
  payroll_id: z.ZodNullable<z.ZodString>;
31014
- compensation_type: z.ZodNullable<z.ZodString>;
31324
+ compensation_type: z.ZodNullable<z.ZodEnum<{
31325
+ hourly: "hourly";
31326
+ salary: "salary";
31327
+ }>>;
31015
31328
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31016
31329
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31017
31330
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31269,7 +31582,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
31269
31582
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
31270
31583
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
31271
31584
  payroll_id: z.ZodNullable<z.ZodString>;
31272
- compensation_type: z.ZodNullable<z.ZodString>;
31585
+ compensation_type: z.ZodNullable<z.ZodEnum<{
31586
+ hourly: "hourly";
31587
+ salary: "salary";
31588
+ }>>;
31273
31589
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31274
31590
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31275
31591
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31402,7 +31718,10 @@ export declare const zGetUserResponse: z.ZodObject<{
31402
31718
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
31403
31719
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
31404
31720
  payroll_id: z.ZodNullable<z.ZodString>;
31405
- compensation_type: z.ZodNullable<z.ZodString>;
31721
+ compensation_type: z.ZodNullable<z.ZodEnum<{
31722
+ hourly: "hourly";
31723
+ salary: "salary";
31724
+ }>>;
31406
31725
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31407
31726
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31408
31727
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -31549,7 +31868,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
31549
31868
  overtime_eligible: z.ZodNullable<z.ZodBoolean>;
31550
31869
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
31551
31870
  payroll_id: z.ZodNullable<z.ZodString>;
31552
- compensation_type: z.ZodNullable<z.ZodString>;
31871
+ compensation_type: z.ZodNullable<z.ZodEnum<{
31872
+ hourly: "hourly";
31873
+ salary: "salary";
31874
+ }>>;
31553
31875
  hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31554
31876
  training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
31555
31877
  employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;