@dsptch-work/api-client 0.24.0 → 0.26.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.
@@ -135,6 +135,12 @@ export declare const zProblem: z.ZodObject<{
135
135
  *
136
136
  * The credential is valid, but this action on this record is refused by policy. The operation is not available to this principal.
137
137
  *
138
+ * ### forbidden_key
139
+ *
140
+ * **Field Not Writable By Key**
141
+ *
142
+ * The request body carries a field the operation accepts, but the user this user-scoped API key acts for may not write it, as their role could not in the DSPTCH app. Nothing was written. Remove the fields the detail names, or send the write with a key whose user may write them.
143
+ *
138
144
  * ### insufficient_api_key_scope
139
145
  *
140
146
  * **Insufficient API Key Scope**
@@ -363,6 +369,7 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
363
369
  unauthorized: "unauthorized";
364
370
  company_scoped_key_required: "company_scoped_key_required";
365
371
  forbidden: "forbidden";
372
+ forbidden_key: "forbidden_key";
366
373
  insufficient_api_key_scope: "insufficient_api_key_scope";
367
374
  user_scoped_key_required: "user_scoped_key_required";
368
375
  not_found: "not_found";
@@ -417,6 +424,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
417
424
  "assets.products": "assets.products";
418
425
  "assets.vendors": "assets.vendors";
419
426
  "compliance.checks": "compliance.checks";
427
+ "internal.companies": "internal.companies";
420
428
  "internal.company_todos": "internal.company_todos";
421
429
  "internal.job_todos": "internal.job_todos";
422
430
  "internal.project_todos": "internal.project_todos";
@@ -722,7 +730,7 @@ export declare const zApprenticeshipProgramEmployerParameters: z.ZodObject<{
722
730
  require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
723
731
  }, z.core.$strip>;
724
732
  /**
725
- * Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster.
733
+ * Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster, and a company-scoped key may change only the row naming its own company.
726
734
  */
727
735
  export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject<{
728
736
  company_id: z.ZodOptional<z.ZodString>;
@@ -1024,10 +1032,6 @@ export declare const zPeopleEmploymentUpdateParameters: z.ZodObject<{
1024
1032
  payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1025
1033
  enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
1026
1034
  }, z.core.$strip>;
1027
- export declare const zPeopleEmploymentCustomFieldResponseObject: z.ZodObject<{
1028
- custom_field_config_id: z.ZodString;
1029
- value: z.ZodNullable<z.ZodString>;
1030
- }, z.core.$strip>;
1031
1035
  /**
1032
1036
  * Update stored custom-field values for one employment family in a single batch. The batch must contain at least one row. Omitted configurations keep their values, and an explicit null is stored.
1033
1037
  */
@@ -1912,7 +1916,7 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
1912
1916
  }>>>;
1913
1917
  }, z.core.$strip>;
1914
1918
  /**
1915
- * Create a worker's PWA compliance details at a company. The company is taken from the API key. user_id names the worker and is required; every other field is optional — send whichever your jurisdiction's certified-payroll export requires. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
1919
+ * Create a worker's PWA compliance details at a company. The company is taken from the API key. user_id names the worker and is required; every other field is optional — send whichever your jurisdiction's certified-payroll export requires.
1916
1920
  */
1917
1921
  export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
1918
1922
  user_id: z.ZodString;
@@ -2008,7 +2012,7 @@ export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
2008
2012
  }>>>>;
2009
2013
  }, z.core.$strip>;
2010
2014
  /**
2011
- * Update a worker's PWA compliance details. The company is taken from the API key. Every field is optional — send only what changes, and omitted fields are left unchanged. user_id is absent by design — the company/user pair is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
2015
+ * Update a worker's PWA compliance details. The company is taken from the API key. Every field is optional — send only what changes, and omitted fields are left unchanged. The company/user pair is fixed at creation.
2012
2016
  */
2013
2017
  export declare const zPwaCompanyUserDetailsUpdateParameters: z.ZodObject<{
2014
2018
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2303,7 +2307,6 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
2303
2307
  * The time-entry body fields shared by the create and update bodies; each of those declares its own requiredness.
2304
2308
  */
2305
2309
  export declare const zTimeEntryParameters: z.ZodObject<{
2306
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
2307
2310
  start_time: z.ZodOptional<z.ZodISODateTime>;
2308
2311
  end_time: z.ZodOptional<z.ZodISODateTime>;
2309
2312
  job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2314,10 +2317,9 @@ export declare const zTimeEntryParameters: z.ZodObject<{
2314
2317
  feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2315
2318
  }, z.core.$strip>;
2316
2319
  /**
2317
- * Request body for creating a time entry — the time_entry_parameters fields, of which timekeeping_time_card_id, start_time, and end_time are required, plus the explicit "no feature" acknowledgement.
2320
+ * Request body for creating a time entry — the time_entry_parameters fields plus the time card and the explicit "no feature" acknowledgement. timekeeping_time_card_id, start_time, and end_time are required.
2318
2321
  */
2319
2322
  export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
2320
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
2321
2323
  start_time: z.ZodOptional<z.ZodISODateTime>;
2322
2324
  end_time: z.ZodOptional<z.ZodISODateTime>;
2323
2325
  job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2327,13 +2329,13 @@ export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
2327
2329
  hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2328
2330
  feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
2329
2331
  }, z.core.$strip>, z.ZodObject<{
2332
+ timekeeping_time_card_id: z.ZodString;
2330
2333
  feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2331
2334
  }, z.core.$strip>>;
2332
2335
  /**
2333
2336
  * Request body for updating a time entry — the time_entry_parameters fields, every one optional, plus the acknowledgement that clears an apprenticeship allocation conflict.
2334
2337
  */
2335
2338
  export declare const zTimeEntryUpdateParameters: z.ZodIntersection<z.ZodObject<{
2336
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
2337
2339
  start_time: z.ZodOptional<z.ZodISODateTime>;
2338
2340
  end_time: z.ZodOptional<z.ZodISODateTime>;
2339
2341
  job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -2345,6 +2347,25 @@ export declare const zTimeEntryUpdateParameters: z.ZodIntersection<z.ZodObject<{
2345
2347
  }, z.core.$strip>, z.ZodObject<{
2346
2348
  confirm_allocation_conflict: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2347
2349
  }, z.core.$strip>>;
2350
+ /**
2351
+ * A form definition — a SurveyJS form template built and versioned in the web app's form builder. The same object the list door serializes. Read-only.
2352
+ */
2353
+ export declare const zFormDefinitionObject: z.ZodObject<{
2354
+ id: z.ZodString;
2355
+ name: z.ZodString;
2356
+ description: z.ZodString;
2357
+ company_id: z.ZodString;
2358
+ modified_by_user_id: z.ZodNullable<z.ZodString>;
2359
+ tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
2360
+ title_keys: z.ZodNullable<z.ZodArray<z.ZodString>>;
2361
+ editable: z.ZodBoolean;
2362
+ always_visible: z.ZodBoolean;
2363
+ sensitive_form: z.ZodBoolean;
2364
+ allow_carry_forward: z.ZodBoolean;
2365
+ current_revision: z.ZodNullable<z.ZodInt>;
2366
+ json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2367
+ created_at: z.ZodISODateTime;
2368
+ }, z.core.$strip>;
2348
2369
  /**
2349
2370
  * A single form submission — a user's completed SurveyJS form with the resolved answers (the fuller show representation). Read-only; submissions are created in the app.
2350
2371
  */
@@ -2568,6 +2589,13 @@ export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [
2568
2589
  naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2569
2590
  linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2570
2591
  }, z.core.$strip>>;
2592
+ /**
2593
+ * A custom-field value stored on a record, addressed by the configuration it belongs to.
2594
+ */
2595
+ export declare const zCustomFieldResponseObject: z.ZodObject<{
2596
+ custom_field_config_id: z.ZodString;
2597
+ value: z.ZodNullable<z.ZodString>;
2598
+ }, z.core.$strip>;
2571
2599
  /**
2572
2600
  * A custom field definition — a company-defined attribute attached to one kind of record (jobs, workers, apprentices, or the company itself). Deleting one is blocked while any record still holds a value for it.
2573
2601
  */
@@ -2627,10 +2655,9 @@ export declare const zUserGroupParameters: z.ZodObject<{
2627
2655
  */
2628
2656
  export declare const zTimeCardStartDay: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
2629
2657
  /**
2630
- * Fields shared by job creation and updates. Updates may omit any field to preserve its current value. The resulting job must still satisfy its schedule and PWA validation rules. Extra keys are accepted, including custom fields.
2658
+ * Fields shared by job creation and updates. Updates may omit any field to preserve its current value. The resulting job must still satisfy its schedule and PWA validation rules.
2631
2659
  */
2632
2660
  export declare const zJobParameters: z.ZodObject<{
2633
- template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2634
2661
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2635
2662
  description: z.ZodOptional<z.ZodString>;
2636
2663
  requested_by_company_id: z.ZodOptional<z.ZodString>;
@@ -2689,10 +2716,6 @@ export declare const zJobParameters: z.ZodObject<{
2689
2716
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2690
2717
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2691
2718
  }, z.core.$strip>>>;
2692
- custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2693
- custom_field_config_id: z.ZodString;
2694
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2695
- }, z.core.$strip>>>>;
2696
2719
  pwa_details: z.ZodOptional<z.ZodObject<{
2697
2720
  contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2698
2721
  prime_contractor: "prime_contractor";
@@ -2716,10 +2739,9 @@ export declare const zJobParameters: z.ZodObject<{
2716
2739
  }, z.core.$strip>>;
2717
2740
  }, z.core.$strip>;
2718
2741
  /**
2719
- * Parameters for creating a job. `requested_by_company_id` and `created_by_user_id` are required. Sets the job's schedule, work types, address, and optional Prevailing Wage / Apprenticeship (PWA) compliance.
2742
+ * Parameters for creating a job. `requested_by_company_id` and `created_by_user_id` are required. Sets the job's schedule, work types, address, custom-field values, and optional Prevailing Wage / Apprenticeship (PWA) compliance.
2720
2743
  */
2721
2744
  export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
2722
- template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2723
2745
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2724
2746
  description: z.ZodOptional<z.ZodString>;
2725
2747
  requested_by_company_id: z.ZodOptional<z.ZodString>;
@@ -2778,10 +2800,6 @@ export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
2778
2800
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2779
2801
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2780
2802
  }, z.core.$strip>>>;
2781
- custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2782
- custom_field_config_id: z.ZodString;
2783
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2784
- }, z.core.$strip>>>>;
2785
2803
  pwa_details: z.ZodOptional<z.ZodObject<{
2786
2804
  contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2787
2805
  prime_contractor: "prime_contractor";
@@ -2803,12 +2821,17 @@ export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
2803
2821
  il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2804
2822
  ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2805
2823
  }, z.core.$strip>>;
2806
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2824
+ }, z.core.$strip>, z.ZodObject<{
2825
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2826
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2827
+ custom_field_config_id: z.ZodString;
2828
+ value: z.ZodNullable<z.ZodString>;
2829
+ }, z.core.$strip>>>;
2830
+ }, z.core.$strip>>;
2807
2831
  /**
2808
- * Parameters for updating an existing job. Every field is optional; omit a field to preserve its current value. The resulting job must still satisfy schedule and PWA validation rules. Accepts every shared job field plus a directly settable status.
2832
+ * Parameters for updating an existing job. Every field is optional; omit a field to preserve its current value. The resulting job must still satisfy schedule and PWA validation rules. Accepts every shared job field plus a directly settable status and custom-field changes.
2809
2833
  */
2810
2834
  export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
2811
- template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2812
2835
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2813
2836
  description: z.ZodOptional<z.ZodString>;
2814
2837
  requested_by_company_id: z.ZodOptional<z.ZodString>;
@@ -2867,10 +2890,6 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
2867
2890
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2868
2891
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2869
2892
  }, z.core.$strip>>>;
2870
- custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
2871
- custom_field_config_id: z.ZodString;
2872
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2873
- }, z.core.$strip>>>>;
2874
2893
  pwa_details: z.ZodOptional<z.ZodObject<{
2875
2894
  contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
2876
2895
  prime_contractor: "prime_contractor";
@@ -2898,6 +2917,10 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
2898
2917
  completed: "completed";
2899
2918
  disputed: "disputed";
2900
2919
  }>>;
2920
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
2921
+ custom_field_config_id: z.ZodString;
2922
+ value: z.ZodNullable<z.ZodString>;
2923
+ }, z.core.$strip>>>;
2901
2924
  }, z.core.$strip>>;
2902
2925
  /**
2903
2926
  * One version of a worker's compensation at your company, effective from its start date until the next version begins.
@@ -3356,8 +3379,8 @@ export declare const zPayrollFringeBenefitPlanResponseObject: z.ZodObject<{
3356
3379
  plan_number: z.ZodString;
3357
3380
  funded: z.ZodBoolean;
3358
3381
  benefit_category: z.ZodNullable<z.ZodEnum<{
3359
- employer_combined_savings: "employer_combined_savings";
3360
3382
  employer_combined_health: "employer_combined_health";
3383
+ employer_combined_savings: "employer_combined_savings";
3361
3384
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
3362
3385
  employer_training: "employer_training";
3363
3386
  employer_other_contributions: "employer_other_contributions";
@@ -3383,8 +3406,8 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
3383
3406
  plan_number: z.ZodString;
3384
3407
  funded: z.ZodOptional<z.ZodBoolean>;
3385
3408
  benefit_category: z.ZodEnum<{
3386
- employer_combined_savings: "employer_combined_savings";
3387
3409
  employer_combined_health: "employer_combined_health";
3410
+ employer_combined_savings: "employer_combined_savings";
3388
3411
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
3389
3412
  employer_training: "employer_training";
3390
3413
  employer_other_contributions: "employer_other_contributions";
@@ -3403,13 +3426,12 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
3403
3426
  * Request body for updating a fringe-benefit plan. Send only the fields to change.
3404
3427
  */
3405
3428
  export declare const zPayrollFringeBenefitPlanUpdateParameters: z.ZodObject<{
3406
- timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
3407
3429
  name: z.ZodOptional<z.ZodString>;
3408
3430
  plan_number: z.ZodOptional<z.ZodString>;
3409
3431
  funded: z.ZodOptional<z.ZodBoolean>;
3410
3432
  benefit_category: z.ZodOptional<z.ZodEnum<{
3411
- employer_combined_savings: "employer_combined_savings";
3412
3433
  employer_combined_health: "employer_combined_health";
3434
+ employer_combined_savings: "employer_combined_savings";
3413
3435
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
3414
3436
  employer_training: "employer_training";
3415
3437
  employer_other_contributions: "employer_other_contributions";
@@ -3578,7 +3600,7 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
3578
3600
  updated_at: z.ZodISODateTime;
3579
3601
  }, z.core.$strip>;
3580
3602
  /**
3581
- * Create a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
3603
+ * Create a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id.
3582
3604
  */
3583
3605
  export declare const zPayrollRunParameters: z.ZodObject<{
3584
3606
  company_id: z.ZodString;
@@ -3596,7 +3618,7 @@ export declare const zPayrollRunParameters: z.ZodObject<{
3596
3618
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3597
3619
  }, z.core.$strip>;
3598
3620
  /**
3599
- * Update a payroll run. Every field is optional — send only what changes. company_id is absent by design — the run's company is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
3621
+ * Update a payroll run. Every field is optional — send only what changes. The run's company is fixed at creation.
3600
3622
  */
3601
3623
  export declare const zPayrollRunUpdateParameters: z.ZodObject<{
3602
3624
  timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -3696,7 +3718,6 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
3696
3718
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3697
3719
  name: z.ZodOptional<z.ZodString>;
3698
3720
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3699
- created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3700
3721
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3701
3722
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3702
3723
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -3725,6 +3746,27 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
3725
3746
  beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3726
3747
  placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
3727
3748
  }, z.core.$strip>;
3749
+ /**
3750
+ * A project–site assignment: the join linking a project to a site, optionally scoping which of that site's features apply. Path `{id}` is this join's id, not the Site's. Not included on project GET.
3751
+ */
3752
+ export declare const zProjectSiteResponseObject: z.ZodObject<{
3753
+ id: z.ZodString;
3754
+ site_id: z.ZodString;
3755
+ feature_ids: z.ZodArray<z.ZodString>;
3756
+ }, z.core.$strip>;
3757
+ /**
3758
+ * Request body for attaching a site to a project. `site_id` is required; `feature_ids` is optional. The project is taken from the path and is not part of the body.
3759
+ */
3760
+ export declare const zProjectSiteParameters: z.ZodObject<{
3761
+ site_id: z.ZodString;
3762
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3763
+ }, z.core.$strip>;
3764
+ /**
3765
+ * Request body for replacing which of the site's features apply to this project. Every field is optional; omit a field to preserve its current value. `site_id` is create-only and an update that names it is rejected.
3766
+ */
3767
+ export declare const zProjectSiteUpdateParameters: z.ZodObject<{
3768
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
3769
+ }, z.core.$strip>;
3728
3770
  export declare const zSiteCheckInResponseObject: z.ZodObject<{
3729
3771
  id: z.ZodString;
3730
3772
  site_id: z.ZodString;
@@ -3953,11 +3995,11 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
3953
3995
  category: z.ZodEnum<{
3954
3996
  regional: "regional";
3955
3997
  job: "job";
3956
- project: "project";
3957
3998
  company: "company";
3958
3999
  apprenticeship: "apprenticeship";
3959
4000
  certified_payroll: "certified_payroll";
3960
4001
  payroll: "payroll";
4002
+ project: "project";
3961
4003
  tax_credit: "tax_credit";
3962
4004
  timekeeping: "timekeeping";
3963
4005
  worker: "worker";
@@ -4029,11 +4071,11 @@ export declare const zComplianceCheckDetailResponseObject: z.ZodObject<{
4029
4071
  category: z.ZodEnum<{
4030
4072
  regional: "regional";
4031
4073
  job: "job";
4032
- project: "project";
4033
4074
  company: "company";
4034
4075
  apprenticeship: "apprenticeship";
4035
4076
  certified_payroll: "certified_payroll";
4036
4077
  payroll: "payroll";
4078
+ project: "project";
4037
4079
  tax_credit: "tax_credit";
4038
4080
  timekeeping: "timekeeping";
4039
4081
  worker: "worker";
@@ -4095,8 +4137,8 @@ export declare const zTodoInboxTodoResponseObject: z.ZodObject<{
4095
4137
  id: z.ZodString;
4096
4138
  type: z.ZodEnum<{
4097
4139
  job: "job";
4098
- project: "project";
4099
4140
  company: "company";
4141
+ project: "project";
4100
4142
  }>;
4101
4143
  company_id: z.ZodNullable<z.ZodString>;
4102
4144
  job_id: z.ZodNullable<z.ZodString>;
@@ -4154,11 +4196,11 @@ export declare const zTodoInboxComplianceCheckResponseObject: z.ZodObject<{
4154
4196
  category: z.ZodEnum<{
4155
4197
  regional: "regional";
4156
4198
  job: "job";
4157
- project: "project";
4158
4199
  company: "company";
4159
4200
  apprenticeship: "apprenticeship";
4160
4201
  certified_payroll: "certified_payroll";
4161
4202
  payroll: "payroll";
4203
+ project: "project";
4162
4204
  tax_credit: "tax_credit";
4163
4205
  timekeeping: "timekeeping";
4164
4206
  worker: "worker";
@@ -4187,8 +4229,8 @@ export declare const zTodoInboxEntryResponseObject: z.ZodDiscriminatedUnion<[z.Z
4187
4229
  id: z.ZodString;
4188
4230
  type: z.ZodEnum<{
4189
4231
  job: "job";
4190
- project: "project";
4191
4232
  company: "company";
4233
+ project: "project";
4192
4234
  }>;
4193
4235
  company_id: z.ZodNullable<z.ZodString>;
4194
4236
  job_id: z.ZodNullable<z.ZodString>;
@@ -4243,11 +4285,11 @@ export declare const zTodoInboxEntryResponseObject: z.ZodDiscriminatedUnion<[z.Z
4243
4285
  category: z.ZodEnum<{
4244
4286
  regional: "regional";
4245
4287
  job: "job";
4246
- project: "project";
4247
4288
  company: "company";
4248
4289
  apprenticeship: "apprenticeship";
4249
4290
  certified_payroll: "certified_payroll";
4250
4291
  payroll: "payroll";
4292
+ project: "project";
4251
4293
  tax_credit: "tax_credit";
4252
4294
  timekeeping: "timekeeping";
4253
4295
  worker: "worker";
@@ -4293,11 +4335,11 @@ export declare const zComplianceRequirementResponseObject: z.ZodObject<{
4293
4335
  category: z.ZodEnum<{
4294
4336
  regional: "regional";
4295
4337
  job: "job";
4296
- project: "project";
4297
4338
  company: "company";
4298
4339
  apprenticeship: "apprenticeship";
4299
4340
  certified_payroll: "certified_payroll";
4300
4341
  payroll: "payroll";
4342
+ project: "project";
4301
4343
  tax_credit: "tax_credit";
4302
4344
  timekeeping: "timekeeping";
4303
4345
  worker: "worker";
@@ -4350,8 +4392,8 @@ export declare const zPaystubResponseObject: z.ZodObject<{
4350
4392
  * Request body for creating a paystub. payrolls_payroll_run_id and user_id are required; timekeeping_time_card_id is required for an on-cycle run and disallowed for an off-cycle run.
4351
4393
  */
4352
4394
  export declare const zPaystubParameters: z.ZodObject<{
4353
- payrolls_payroll_run_id: z.ZodString;
4354
4395
  user_id: z.ZodString;
4396
+ payrolls_payroll_run_id: z.ZodString;
4355
4397
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4356
4398
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4357
4399
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4361,7 +4403,6 @@ export declare const zPaystubParameters: z.ZodObject<{
4361
4403
  */
4362
4404
  export declare const zPaystubUpdateParameters: z.ZodObject<{
4363
4405
  payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
4364
- user_id: z.ZodOptional<z.ZodString>;
4365
4406
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4366
4407
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4367
4408
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4409,6 +4450,21 @@ export declare const zPriorPeriodAdjustmentParameters: z.ZodObject<{
4409
4450
  notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4410
4451
  pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
4411
4452
  }, z.core.$strip>;
4453
+ /**
4454
+ * Request body for updating a prior period adjustment. Send only the fields to change. The time card is the path parent; payrolls_paystub_line_item_id, created_by_user_id, time_card_id, and adjustment_type are rejected.
4455
+ */
4456
+ export declare const zPriorPeriodAdjustmentUpdateParameters: z.ZodObject<{
4457
+ amount_cents: z.ZodOptional<z.ZodString>;
4458
+ rationale: z.ZodOptional<z.ZodEnum<{
4459
+ other: "other";
4460
+ hours_correction: "hours_correction";
4461
+ pwa_compliance: "pwa_compliance";
4462
+ rate_correction: "rate_correction";
4463
+ }>>;
4464
+ job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4465
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4466
+ pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
4467
+ }, z.core.$strip>;
4412
4468
  /**
4413
4469
  * What one PWA-tracked job on a time card still owes the worker, from the materialized prevailing-wage compliance view. Read-only.
4414
4470
  */
@@ -4557,6 +4613,27 @@ export declare const zPaystubLineItemUpdateParameters: z.ZodObject<{
4557
4613
  }>>;
4558
4614
  payrolls_external_map_id: z.ZodOptional<z.ZodString>;
4559
4615
  }, z.core.$strip>;
4616
+ /**
4617
+ * A job-site join — the Site attached to a Job, plus the subset of that site's features the job is working on. `{id}` is the join row, not the Site.
4618
+ */
4619
+ export declare const zJobSiteResponseObject: z.ZodObject<{
4620
+ id: z.ZodString;
4621
+ site_id: z.ZodString;
4622
+ feature_ids: z.ZodArray<z.ZodString>;
4623
+ }, z.core.$strip>;
4624
+ /**
4625
+ * Request body for attaching a site to a job. `site_id` is required; `feature_ids` is optional and defaults to none.
4626
+ */
4627
+ export declare const zJobSiteParameters: z.ZodObject<{
4628
+ site_id: z.ZodString;
4629
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4630
+ }, z.core.$strip>;
4631
+ /**
4632
+ * Request body for replacing the features on an existing job-site join. `site_id` cannot be changed; send a new join to attach a different site.
4633
+ */
4634
+ export declare const zJobSiteUpdateParameters: z.ZodObject<{
4635
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
4636
+ }, z.core.$strip>;
4560
4637
  /**
4561
4638
  * A company-owned collection of conditional wage and fringe adjustments, optionally scoped to a job.
4562
4639
  */
@@ -4577,6 +4654,13 @@ export declare const zPayRatesRulePackageParameters: z.ZodObject<{
4577
4654
  name: z.ZodString;
4578
4655
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4579
4656
  }, z.core.$strip>;
4657
+ /**
4658
+ * Request body for updating a pay-rate rule package. Send only the fields to change. `default`, `selectable`, and `scoped_to_job_id` are not writable on this operation.
4659
+ */
4660
+ export declare const zPayRatesRulePackageUpdateParameters: z.ZodObject<{
4661
+ name: z.ZodOptional<z.ZodString>;
4662
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4663
+ }, z.core.$strip>;
4580
4664
  /**
4581
4665
  * Request body for creating or updating a position on a job. The job is taken from the URL path.
4582
4666
  */
@@ -4624,8 +4708,8 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
4624
4708
  job_id: z.ZodString;
4625
4709
  scope_kind: z.ZodString;
4626
4710
  unit_of_measure: z.ZodString;
4627
- unit_price: z.ZodString;
4628
- contracted_count: z.ZodNullable<z.ZodInt>;
4711
+ unit_price: z.ZodOptional<z.ZodString>;
4712
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
4629
4713
  created_at: z.ZodISODateTime;
4630
4714
  updated_at: z.ZodISODateTime;
4631
4715
  }, z.core.$strip>;
@@ -4794,7 +4878,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
4794
4878
  }, z.core.$strip>>;
4795
4879
  }, z.core.$strip>>;
4796
4880
  /**
4797
- * Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
4881
+ * Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only.
4798
4882
  */
4799
4883
  export declare const zCertificationParameters: z.ZodObject<{
4800
4884
  company_id: z.ZodString;
@@ -4804,7 +4888,7 @@ export declare const zCertificationParameters: z.ZodObject<{
4804
4888
  duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4805
4889
  }, z.core.$strip>;
4806
4890
  /**
4807
- * Request body for updating a certification — a named qualification a worker can hold. Include only the fields to change. You can only manage your own company's certifications; global (platform) certifications are read-only. company_id is absent by design — the certification's company is fixed at creation, so sending the key is rejected with 400 unknown_key, as is any other key not listed here.
4891
+ * Request body for updating a certification — a named qualification a worker can hold. Include only the fields to change. You can only manage your own company's certifications; global (platform) certifications are read-only. The certification's company is fixed at creation.
4808
4892
  */
4809
4893
  export declare const zCertificationUpdateParameters: z.ZodObject<{
4810
4894
  name: z.ZodOptional<z.ZodString>;
@@ -4827,7 +4911,7 @@ export declare const zCertificationPackageResponseObject: z.ZodObject<{
4827
4911
  updated_at: z.ZodISODateTime;
4828
4912
  }, z.core.$strip>;
4829
4913
  /**
4830
- * Request body for creating a certification package — a named set of certifications a company requires together. The package belongs to the company that owns the API key. Only the keys listed here are accepted — any other key is rejected with 400 unknown_key.
4914
+ * Request body for creating a certification package — a named set of certifications a company requires together. The package belongs to the company that owns the API key.
4831
4915
  */
4832
4916
  export declare const zCertificationPackageParameters: z.ZodObject<{
4833
4917
  name: z.ZodString;
@@ -4836,7 +4920,7 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
4836
4920
  performed_by_user_id: z.ZodString;
4837
4921
  }, z.core.$strip>;
4838
4922
  /**
4839
- * Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change. Any key not listed here is rejected with 400 unknown_key.
4923
+ * Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
4840
4924
  */
4841
4925
  export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
4842
4926
  name: z.ZodOptional<z.ZodString>;
@@ -4871,12 +4955,10 @@ export declare const zUserCertificationParameters: z.ZodObject<{
4871
4955
  verified: z.ZodOptional<z.ZodBoolean>;
4872
4956
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4873
4957
  credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4874
- approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4875
4958
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4876
- approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4877
4959
  }, z.core.$strip>;
4878
4960
  /**
4879
- * Request body for updating a certification held by a worker. Every field is optional; omit a field to preserve its current value. The resulting certification must still have a receipt date and verification state, and any expiry date must remain after its receipt date.
4961
+ * Request body for updating a certification held by a worker. Every field is optional; omit a field to preserve its current value. The resulting certification must still have a receipt date and verification state, and any expiry date must remain after its receipt date. Changing anything but verified revokes an approval; approve through the approval endpoint.
4880
4962
  */
4881
4963
  export declare const zUserCertificationUpdateParameters: z.ZodObject<{
4882
4964
  user_id: z.ZodOptional<z.ZodString>;
@@ -4889,9 +4971,13 @@ export declare const zUserCertificationUpdateParameters: z.ZodObject<{
4889
4971
  verified: z.ZodOptional<z.ZodBoolean>;
4890
4972
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
4891
4973
  credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4892
- approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4893
4974
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4894
- approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
4975
+ }, z.core.$strip>;
4976
+ /**
4977
+ * Request body for approving a certification held by a worker. A user key approves in its own user's name and sends no body.
4978
+ */
4979
+ export declare const zUserCertificationApprovalParameters: z.ZodObject<{
4980
+ approved_by_user_id: z.ZodOptional<z.ZodString>;
4895
4981
  }, z.core.$strip>;
4896
4982
  /**
4897
4983
  * A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
@@ -5023,6 +5109,10 @@ export declare const zJobResponseObject: z.ZodObject<{
5023
5109
  feature: "feature";
5024
5110
  quantity: "quantity";
5025
5111
  }>;
5112
+ custom_fields: z.ZodArray<z.ZodObject<{
5113
+ custom_field_config_id: z.ZodString;
5114
+ value: z.ZodNullable<z.ZodString>;
5115
+ }, z.core.$strip>>;
5026
5116
  }, z.core.$strip>;
5027
5117
  /**
5028
5118
  * A spot to be filled on a job — one worker's assignment and the unit against which they track time, carrying the schedule window, assigned worker, function, and the planned pay and fringe rates (including PWA prevailing-wage compliance rates). Always accessed nested under a job.
@@ -5095,7 +5185,7 @@ export declare const zUserCompanyType: z.ZodNullable<z.ZodEnum<{
5095
5185
  CONTRACTOR: "CONTRACTOR";
5096
5186
  }>>;
5097
5187
  /**
5098
- * A worker as your company sees them: the cross-company person merged with their employment record at your company (title, pay, benefits, and accruals), their roles at your company, and optional prevailing-wage compliance details. Your company sees everyone it employs, everyone it has granted a role, and everyone it has invited, which is the same set the web app shows. A role holder or an invitee your company does not employ has no employment record to merge, so the employment fields (employment_id through employment_window, plus manager_user_id) are null for them, no employment custom fields are published for them, and employment_state reads none. There is no delete — removing a worker terminates their employment at the company (see the user-company endpoints), which sets termination_date and drops them from the default list.
5188
+ * A worker as your company sees them: the cross-company person merged with their employment record at your company (title, pay, benefits, and accruals), their roles at your company, and optional prevailing-wage compliance details. Your company sees everyone it employs, everyone it has granted a role, and everyone it has invited, which is the same set the web app shows. A role holder or an invitee your company does not employ has no employment record to merge, so the employment fields (employment_id through employment_window, plus manager_user_id and custom_fields) are null for them, and employment_state reads none. There is no delete — removing a worker terminates their employment at the company (see the user-company endpoints), which sets termination_date and drops them from the default list.
5099
5189
  */
5100
5190
  export declare const zUserResponseObject: z.ZodObject<{
5101
5191
  id: z.ZodString;
@@ -5132,10 +5222,10 @@ export declare const zUserResponseObject: z.ZodObject<{
5132
5222
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
5133
5223
  payroll_id: z.ZodNullable<z.ZodString>;
5134
5224
  compensation_type: z.ZodNullable<z.ZodString>;
5135
- hourly_rate: z.ZodNullable<z.ZodString>;
5136
- training_annual_amount: z.ZodNullable<z.ZodString>;
5137
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
5138
- employer_combined_savings: z.ZodNullable<z.ZodString>;
5225
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5226
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5227
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5228
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5139
5229
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
5140
5230
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
5141
5231
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -5147,6 +5237,10 @@ export declare const zUserResponseObject: z.ZodObject<{
5147
5237
  valid_to: z.ZodNullable<z.ZodISODateTime>;
5148
5238
  }, z.core.$strip>>;
5149
5239
  manager_user_id: z.ZodNullable<z.ZodString>;
5240
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
5241
+ custom_field_config_id: z.ZodString;
5242
+ value: z.ZodNullable<z.ZodString>;
5243
+ }, z.core.$strip>>>;
5150
5244
  roles: z.ZodArray<z.ZodString>;
5151
5245
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
5152
5246
  id: z.ZodString;
@@ -5220,14 +5314,16 @@ export declare const zUserResponseObject: z.ZodObject<{
5220
5314
  }>>>;
5221
5315
  }, z.core.$strip>>;
5222
5316
  }, z.core.$strip>;
5223
- /**
5224
- * Request body for onboarding a worker into your company. In one call it creates the person (if new), their employment record, roles, group memberships, an optional invite, and optional compliance details. company_id, email, first_name, and last_name are required.
5225
- */
5226
- export declare const zUserParameters: z.ZodObject<{
5227
- company_id: z.ZodString;
5317
+ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
5228
5318
  email: z.ZodString;
5229
- personal_email: z.ZodOptional<z.ZodString>;
5230
- phone_number: z.ZodOptional<z.ZodString>;
5319
+ }, z.core.$strip>, z.ZodObject<{
5320
+ phone_number: z.ZodString;
5321
+ }, z.core.$strip>, z.ZodObject<{
5322
+ skip_invite: z.ZodLiteral<true>;
5323
+ }, z.core.$strip>]>, z.ZodObject<{
5324
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5325
+ personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5326
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5231
5327
  first_name: z.ZodString;
5232
5328
  last_name: z.ZodString;
5233
5329
  preferred_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5252,6 +5348,10 @@ export declare const zUserParameters: z.ZodObject<{
5252
5348
  manager_user_id: z.ZodOptional<z.ZodString>;
5253
5349
  payroll_id: z.ZodOptional<z.ZodString>;
5254
5350
  hourly_rate: z.ZodOptional<z.ZodString>;
5351
+ compensation_type: z.ZodOptional<z.ZodEnum<{
5352
+ hourly: "hourly";
5353
+ salary: "salary";
5354
+ }>>;
5255
5355
  overtime_eligible: z.ZodOptional<z.ZodString>;
5256
5356
  enrolled_in_t_and_a: z.ZodOptional<z.ZodString>;
5257
5357
  training_annual_amount: z.ZodOptional<z.ZodString>;
@@ -5263,6 +5363,10 @@ export declare const zUserParameters: z.ZodObject<{
5263
5363
  training_annual_minutes: z.ZodOptional<z.ZodString>;
5264
5364
  hire_date: z.ZodOptional<z.ZodString>;
5265
5365
  group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
5366
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5367
+ custom_field_config_id: z.ZodString;
5368
+ value: z.ZodNullable<z.ZodString>;
5369
+ }, z.core.$strip>>>;
5266
5370
  company_user_pwa_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
5267
5371
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5268
5372
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -5333,9 +5437,9 @@ export declare const zUserParameters: z.ZodObject<{
5333
5437
  portuguese_or_brazilian: "portuguese_or_brazilian";
5334
5438
  }>>>>;
5335
5439
  }, z.core.$strip>>>;
5336
- }, z.core.$strip>;
5440
+ }, z.core.$strip>>;
5337
5441
  /**
5338
- * Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history. For time-effective pay changes, use the scheduled-changes endpoints instead.
5442
+ * Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead.
5339
5443
  */
5340
5444
  export declare const zUserCompanyParameters: z.ZodObject<{
5341
5445
  type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -5347,9 +5451,13 @@ export declare const zUserCompanyParameters: z.ZodObject<{
5347
5451
  payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5348
5452
  hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5349
5453
  enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
5454
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5455
+ custom_field_config_id: z.ZodString;
5456
+ value: z.ZodNullable<z.ZodString>;
5457
+ }, z.core.$strip>>>;
5350
5458
  }, z.core.$strip>;
5351
5459
  /**
5352
- * Request body for adding a worker to your company, creating their employment record. hire_date is required and sets when employment begins; the remaining fields seed the initial title, pay, benefits, and accruals. Returns the worker with the new employment flattened onto it.
5460
+ * Request body for adding a worker to your company, creating their employment record and its custom-field values. hire_date is required and sets when employment begins; the remaining fields seed the initial title, pay, benefits, and accruals. Returns the worker with the new employment flattened onto it.
5353
5461
  */
5354
5462
  export declare const zUserCompanyCreateParameters: z.ZodObject<{
5355
5463
  hire_date: z.ZodString;
@@ -5374,6 +5482,10 @@ export declare const zUserCompanyCreateParameters: z.ZodObject<{
5374
5482
  pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5375
5483
  holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5376
5484
  training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5485
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
5486
+ custom_field_config_id: z.ZodString;
5487
+ value: z.ZodNullable<z.ZodString>;
5488
+ }, z.core.$strip>>>;
5377
5489
  }, z.core.$strip>;
5378
5490
  /**
5379
5491
  * Keyset pagination cursors for the collection.
@@ -5885,6 +5997,27 @@ export declare const zPaystubLineItemsResponseObject: z.ZodObject<{
5885
5997
  updated_at: z.ZodISODateTime;
5886
5998
  }, z.core.$strip>>;
5887
5999
  }, z.core.$strip>;
6000
+ /**
6001
+ * A page of a job's site joins, with pagination metadata and navigation links.
6002
+ */
6003
+ export declare const zJobSitesResponseObject: z.ZodObject<{
6004
+ meta: z.ZodObject<{
6005
+ page: z.ZodObject<{
6006
+ next_cursor: z.ZodNullable<z.ZodString>;
6007
+ current_cursor: z.ZodNullable<z.ZodString>;
6008
+ }, z.core.$strip>;
6009
+ }, z.core.$strip>;
6010
+ links: z.ZodObject<{
6011
+ self: z.ZodString;
6012
+ first: z.ZodNullable<z.ZodString>;
6013
+ next: z.ZodNullable<z.ZodString>;
6014
+ }, z.core.$strip>;
6015
+ data: z.ZodArray<z.ZodObject<{
6016
+ id: z.ZodString;
6017
+ site_id: z.ZodString;
6018
+ feature_ids: z.ZodArray<z.ZodString>;
6019
+ }, z.core.$strip>>;
6020
+ }, z.core.$strip>;
5888
6021
  /**
5889
6022
  * A page of a job's positions, with pagination metadata and navigation links.
5890
6023
  */
@@ -8119,7 +8252,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
8119
8252
  performed_by_user_id: z.ZodString;
8120
8253
  }, z.core.$strip>;
8121
8254
  /**
8122
- * Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater and any placement. Omitted attributes retain their existing values.
8255
+ * Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values.
8123
8256
  */
8124
8257
  export declare const zAssetsItemUpdateParameters: z.ZodObject<{
8125
8258
  name: z.ZodOptional<z.ZodString>;
@@ -8139,10 +8272,6 @@ export declare const zAssetsItemUpdateParameters: z.ZodObject<{
8139
8272
  file: z.ZodOptional<z.ZodString>;
8140
8273
  _destroy: z.ZodOptional<z.ZodBoolean>;
8141
8274
  }, z.core.$strip>>>;
8142
- assets_site_id: z.ZodOptional<z.ZodString>;
8143
- user_id: z.ZodOptional<z.ZodString>;
8144
- container_item_id: z.ZodOptional<z.ZodString>;
8145
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
8146
8275
  performed_by_user_id: z.ZodString;
8147
8276
  }, z.core.$strip>;
8148
8277
  /**
@@ -8223,7 +8352,7 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
8223
8352
  }, z.core.$strip>>;
8224
8353
  }, z.core.$strip>;
8225
8354
  /**
8226
- * Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
8355
+ * Create an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields. An assignee outside the credential company returns 422, and a creator outside it returns 403.
8227
8356
  */
8228
8357
  export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
8229
8358
  form_definition_id: z.ZodString;
@@ -8232,7 +8361,6 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
8232
8361
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8233
8362
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8234
8363
  created_by_user_id: z.ZodString;
8235
- updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8236
8364
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
8237
8365
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8238
8366
  frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -8289,7 +8417,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
8289
8417
  }, z.core.$strip>;
8290
8418
  }, z.core.$strip>;
8291
8419
  /**
8292
- * Update an item form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied.
8420
+ * Update an item form assignment. All fields are optional — send only what changes. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied. A newly added assignee outside the credential company returns 422. The creator is set at creation and cannot be sent.
8293
8421
  */
8294
8422
  export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
8295
8423
  form_definition_id: z.ZodOptional<z.ZodString>;
@@ -8297,8 +8425,6 @@ export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
8297
8425
  task_attributes: z.ZodOptional<z.ZodObject<{
8298
8426
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8299
8427
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8300
- created_by_user_id: z.ZodOptional<z.ZodString>;
8301
- updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8302
8428
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
8303
8429
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8304
8430
  frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -8895,6 +9021,14 @@ export declare const zCreateAllocationResponse: z.ZodObject<{
8895
9021
  created_at: z.ZodISODateTime;
8896
9022
  updated_at: z.ZodISODateTime;
8897
9023
  }, z.core.$strip>;
9024
+ export declare const zDeleteAllocationPath: z.ZodObject<{
9025
+ apprentice_id: z.ZodString;
9026
+ id: z.ZodString;
9027
+ }, z.core.$strip>;
9028
+ /**
9029
+ * No Content
9030
+ */
9031
+ export declare const zDeleteAllocationResponse: z.ZodVoid;
8898
9032
  export declare const zGetAllocationPath: z.ZodObject<{
8899
9033
  apprentice_id: z.ZodString;
8900
9034
  id: z.ZodString;
@@ -9151,6 +9285,40 @@ export declare const zCreateOccupationResponse: z.ZodObject<{
9151
9285
  created_at: z.ZodISODateTime;
9152
9286
  updated_at: z.ZodISODateTime;
9153
9287
  }, z.core.$strip>;
9288
+ export declare const zDeleteOccupationPath: z.ZodObject<{
9289
+ program_id: z.ZodString;
9290
+ id: z.ZodString;
9291
+ }, z.core.$strip>;
9292
+ /**
9293
+ * No Content
9294
+ */
9295
+ export declare const zDeleteOccupationResponse: z.ZodVoid;
9296
+ export declare const zGetOccupationPath: z.ZodObject<{
9297
+ program_id: z.ZodString;
9298
+ id: z.ZodString;
9299
+ }, z.core.$strip>;
9300
+ /**
9301
+ * Success
9302
+ */
9303
+ export declare const zGetOccupationResponse: z.ZodObject<{
9304
+ id: z.ZodString;
9305
+ apprenticeship_program_id: z.ZodString;
9306
+ rapids_code: z.ZodString;
9307
+ occupation_type: z.ZodEnum<{
9308
+ time_based: "time_based";
9309
+ competency_based: "competency_based";
9310
+ hybrid: "hybrid";
9311
+ }>;
9312
+ title: z.ZodString;
9313
+ description: z.ZodNullable<z.ZodString>;
9314
+ min_minutes: z.ZodInt;
9315
+ max_minutes: z.ZodInt;
9316
+ probation_minutes: z.ZodInt;
9317
+ num_apprentices: z.ZodInt;
9318
+ num_journeyworkers: z.ZodInt;
9319
+ created_at: z.ZodISODateTime;
9320
+ updated_at: z.ZodISODateTime;
9321
+ }, z.core.$strip>;
9154
9322
  export declare const zUpdateOccupationBody: z.ZodObject<{
9155
9323
  rapids_code: z.ZodOptional<z.ZodString>;
9156
9324
  occupation_type: z.ZodOptional<z.ZodEnum<{
@@ -9263,6 +9431,21 @@ export declare const zDeleteEmployerResponse: z.ZodObject<{
9263
9431
  created_at: z.ZodISODateTime;
9264
9432
  updated_at: z.ZodISODateTime;
9265
9433
  }, z.core.$strip>;
9434
+ export declare const zGetEmployerPath: z.ZodObject<{
9435
+ program_id: z.ZodString;
9436
+ id: z.ZodString;
9437
+ }, z.core.$strip>;
9438
+ /**
9439
+ * Success
9440
+ */
9441
+ export declare const zGetEmployerResponse: z.ZodObject<{
9442
+ id: z.ZodString;
9443
+ apprenticeship_program_id: z.ZodString;
9444
+ company_id: z.ZodString;
9445
+ require_timecard_allocation: z.ZodBoolean;
9446
+ created_at: z.ZodISODateTime;
9447
+ updated_at: z.ZodISODateTime;
9448
+ }, z.core.$strip>;
9266
9449
  export declare const zUpdateEmployerBody: z.ZodObject<{
9267
9450
  company_id: z.ZodOptional<z.ZodString>;
9268
9451
  require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
@@ -9350,6 +9533,33 @@ export declare const zCreateProgramResponse: z.ZodObject<{
9350
9533
  created_at: z.ZodISODateTime;
9351
9534
  updated_at: z.ZodISODateTime;
9352
9535
  }, z.core.$strip>;
9536
+ export declare const zDeleteProgramPath: z.ZodObject<{
9537
+ id: z.ZodString;
9538
+ }, z.core.$strip>;
9539
+ /**
9540
+ * No Content
9541
+ */
9542
+ export declare const zDeleteProgramResponse: z.ZodVoid;
9543
+ export declare const zGetProgramPath: z.ZodObject<{
9544
+ id: z.ZodString;
9545
+ }, z.core.$strip>;
9546
+ /**
9547
+ * Success
9548
+ */
9549
+ export declare const zGetProgramResponse: z.ZodObject<{
9550
+ id: z.ZodString;
9551
+ sponsor_company_id: z.ZodString;
9552
+ program_number: z.ZodString;
9553
+ program_name: z.ZodNullable<z.ZodString>;
9554
+ sponsor_name: z.ZodNullable<z.ZodString>;
9555
+ doing_business_as: z.ZodNullable<z.ZodString>;
9556
+ registration_agency_type: z.ZodNullable<z.ZodEnum<{
9557
+ federal: "federal";
9558
+ regional: "regional";
9559
+ }>>;
9560
+ created_at: z.ZodISODateTime;
9561
+ updated_at: z.ZodISODateTime;
9562
+ }, z.core.$strip>;
9353
9563
  export declare const zUpdateProgramBody: z.ZodObject<{
9354
9564
  program_number: z.ZodOptional<z.ZodString>;
9355
9565
  program_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -9459,11 +9669,42 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
9459
9669
  created_at: z.ZodISODateTime;
9460
9670
  updated_at: z.ZodISODateTime;
9461
9671
  }, z.core.$strip>;
9462
- export declare const zUpdatePeriodBody: z.ZodObject<{
9463
- period_number: z.ZodOptional<z.ZodInt>;
9464
- min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9465
- max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9466
- num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9672
+ export declare const zDeletePeriodPath: z.ZodObject<{
9673
+ wage_schedule_id: z.ZodString;
9674
+ id: z.ZodString;
9675
+ }, z.core.$strip>;
9676
+ /**
9677
+ * No Content
9678
+ */
9679
+ export declare const zDeletePeriodResponse: z.ZodVoid;
9680
+ export declare const zGetPeriodPath: z.ZodObject<{
9681
+ wage_schedule_id: z.ZodString;
9682
+ id: z.ZodString;
9683
+ }, z.core.$strip>;
9684
+ /**
9685
+ * Success
9686
+ */
9687
+ export declare const zGetPeriodResponse: z.ZodObject<{
9688
+ id: z.ZodString;
9689
+ apprenticeship_wage_schedule_id: z.ZodString;
9690
+ period_number: z.ZodInt;
9691
+ min_minutes: z.ZodNullable<z.ZodInt>;
9692
+ max_minutes: z.ZodNullable<z.ZodInt>;
9693
+ num_competencies: z.ZodNullable<z.ZodInt>;
9694
+ description: z.ZodNullable<z.ZodString>;
9695
+ wage_percent: z.ZodString;
9696
+ wage_cents: z.ZodString;
9697
+ wage_currency: z.ZodString;
9698
+ fringe_percent: z.ZodNullable<z.ZodString>;
9699
+ fringe_cents: z.ZodNullable<z.ZodString>;
9700
+ created_at: z.ZodISODateTime;
9701
+ updated_at: z.ZodISODateTime;
9702
+ }, z.core.$strip>;
9703
+ export declare const zUpdatePeriodBody: z.ZodObject<{
9704
+ period_number: z.ZodOptional<z.ZodInt>;
9705
+ min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9706
+ max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9707
+ num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
9467
9708
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
9468
9709
  wage_percent: z.ZodOptional<z.ZodNumber>;
9469
9710
  wage_cents: z.ZodOptional<z.ZodInt>;
@@ -9647,6 +9888,58 @@ export declare const zCreateWageScheduleResponse: z.ZodObject<{
9647
9888
  created_at: z.ZodISODateTime;
9648
9889
  updated_at: z.ZodISODateTime;
9649
9890
  }, z.core.$strip>;
9891
+ export declare const zDeleteWageSchedulePath: z.ZodObject<{
9892
+ occupation_id: z.ZodString;
9893
+ id: z.ZodString;
9894
+ }, z.core.$strip>;
9895
+ /**
9896
+ * No Content
9897
+ */
9898
+ export declare const zDeleteWageScheduleResponse: z.ZodVoid;
9899
+ export declare const zGetWageSchedulePath: z.ZodObject<{
9900
+ occupation_id: z.ZodString;
9901
+ id: z.ZodString;
9902
+ }, z.core.$strip>;
9903
+ /**
9904
+ * Success
9905
+ */
9906
+ export declare const zGetWageScheduleResponse: z.ZodObject<{
9907
+ id: z.ZodString;
9908
+ apprenticeship_occupation_id: z.ZodString;
9909
+ name: z.ZodString;
9910
+ description: z.ZodNullable<z.ZodString>;
9911
+ wage_unit: z.ZodEnum<{
9912
+ hourly: "hourly";
9913
+ weekly: "weekly";
9914
+ monthly: "monthly";
9915
+ quarterly: "quarterly";
9916
+ semi_annually: "semi_annually";
9917
+ annually: "annually";
9918
+ }>;
9919
+ journeyworker_wage_unit: z.ZodEnum<{
9920
+ hourly: "hourly";
9921
+ weekly: "weekly";
9922
+ monthly: "monthly";
9923
+ quarterly: "quarterly";
9924
+ semi_annually: "semi_annually";
9925
+ annually: "annually";
9926
+ }>;
9927
+ period_unit: z.ZodEnum<{
9928
+ hours: "hours";
9929
+ weeks: "weeks";
9930
+ months: "months";
9931
+ quarter: "quarter";
9932
+ semi_annual: "semi_annual";
9933
+ year: "year";
9934
+ }>;
9935
+ end_wage_cents: z.ZodString;
9936
+ end_wage_currency: z.ZodString;
9937
+ journeyworker_wage_cents: z.ZodString;
9938
+ journeyworker_wage_currency: z.ZodString;
9939
+ journeyworker_fringe_cents: z.ZodNullable<z.ZodString>;
9940
+ created_at: z.ZodISODateTime;
9941
+ updated_at: z.ZodISODateTime;
9942
+ }, z.core.$strip>;
9650
9943
  export declare const zUpdateWageScheduleBody: z.ZodObject<{
9651
9944
  name: z.ZodOptional<z.ZodString>;
9652
9945
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -10866,10 +11159,6 @@ export declare const zUpdateItemBody: z.ZodObject<{
10866
11159
  file: z.ZodOptional<z.ZodString>;
10867
11160
  _destroy: z.ZodOptional<z.ZodBoolean>;
10868
11161
  }, z.core.$strip>>>;
10869
- assets_site_id: z.ZodOptional<z.ZodString>;
10870
- user_id: z.ZodOptional<z.ZodString>;
10871
- container_item_id: z.ZodOptional<z.ZodString>;
10872
- assets_sub_location_id: z.ZodOptional<z.ZodString>;
10873
11162
  performed_by_user_id: z.ZodString;
10874
11163
  }, z.core.$strip>;
10875
11164
  export declare const zUpdateItemPath: z.ZodObject<{
@@ -11508,7 +11797,6 @@ export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
11508
11797
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11509
11798
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11510
11799
  created_by_user_id: z.ZodString;
11511
- updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11512
11800
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
11513
11801
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11514
11802
  frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -11631,8 +11919,6 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
11631
11919
  task_attributes: z.ZodOptional<z.ZodObject<{
11632
11920
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11633
11921
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11634
- created_by_user_id: z.ZodOptional<z.ZodString>;
11635
- updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11636
11922
  time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
11637
11923
  tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
11638
11924
  frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
@@ -13668,6 +13954,55 @@ export declare const zUpdatePackageResponse: z.ZodObject<{
13668
13954
  created_at: z.ZodISODateTime;
13669
13955
  updated_at: z.ZodISODateTime;
13670
13956
  }, z.core.$strip>;
13957
+ export declare const zRevokeUserCertificationApprovalPath: z.ZodObject<{
13958
+ user_certification_id: z.ZodString;
13959
+ }, z.core.$strip>;
13960
+ /**
13961
+ * Success
13962
+ */
13963
+ export declare const zRevokeUserCertificationApprovalResponse: z.ZodObject<{
13964
+ id: z.ZodString;
13965
+ user_id: z.ZodString;
13966
+ certification_id: z.ZodString;
13967
+ received_at: z.ZodISODateTime;
13968
+ verified: z.ZodBoolean;
13969
+ issuer_company_id: z.ZodNullable<z.ZodString>;
13970
+ expiration_date: z.ZodNullable<z.ZodISODate>;
13971
+ credential_id: z.ZodNullable<z.ZodString>;
13972
+ approved_by_user_id: z.ZodNullable<z.ZodString>;
13973
+ created_by_user_id: z.ZodNullable<z.ZodString>;
13974
+ updated_by_user_id: z.ZodNullable<z.ZodString>;
13975
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
13976
+ approved_at: z.ZodNullable<z.ZodISODateTime>;
13977
+ created_at: z.ZodISODateTime;
13978
+ updated_at: z.ZodISODateTime;
13979
+ }, z.core.$strip>;
13980
+ export declare const zApproveUserCertificationBody: z.ZodObject<{
13981
+ approved_by_user_id: z.ZodOptional<z.ZodString>;
13982
+ }, z.core.$strip>;
13983
+ export declare const zApproveUserCertificationPath: z.ZodObject<{
13984
+ user_certification_id: z.ZodString;
13985
+ }, z.core.$strip>;
13986
+ /**
13987
+ * Success
13988
+ */
13989
+ export declare const zApproveUserCertificationResponse: z.ZodObject<{
13990
+ id: z.ZodString;
13991
+ user_id: z.ZodString;
13992
+ certification_id: z.ZodString;
13993
+ received_at: z.ZodISODateTime;
13994
+ verified: z.ZodBoolean;
13995
+ issuer_company_id: z.ZodNullable<z.ZodString>;
13996
+ expiration_date: z.ZodNullable<z.ZodISODate>;
13997
+ credential_id: z.ZodNullable<z.ZodString>;
13998
+ approved_by_user_id: z.ZodNullable<z.ZodString>;
13999
+ created_by_user_id: z.ZodNullable<z.ZodString>;
14000
+ updated_by_user_id: z.ZodNullable<z.ZodString>;
14001
+ archived_at: z.ZodNullable<z.ZodISODateTime>;
14002
+ approved_at: z.ZodNullable<z.ZodISODateTime>;
14003
+ created_at: z.ZodISODateTime;
14004
+ updated_at: z.ZodISODateTime;
14005
+ }, z.core.$strip>;
13671
14006
  export declare const zListUserCertificationsQuery: z.ZodObject<{
13672
14007
  filter: z.ZodOptional<z.ZodString>;
13673
14008
  'filter[unexpected]': z.ZodOptional<z.ZodString>;
@@ -13724,9 +14059,7 @@ export declare const zCreateUserCertificationBody: z.ZodObject<{
13724
14059
  verified: z.ZodOptional<z.ZodBoolean>;
13725
14060
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
13726
14061
  credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13727
- approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13728
14062
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
13729
- approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
13730
14063
  }, z.core.$strip>;
13731
14064
  /**
13732
14065
  * Success
@@ -13805,9 +14138,7 @@ export declare const zUpdateUserCertificationBody: z.ZodObject<{
13805
14138
  verified: z.ZodOptional<z.ZodBoolean>;
13806
14139
  expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
13807
14140
  credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13808
- approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
13809
14141
  archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
13810
- approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
13811
14142
  }, z.core.$strip>;
13812
14143
  export declare const zUpdateUserCertificationPath: z.ZodObject<{
13813
14144
  id: z.ZodString;
@@ -14380,11 +14711,11 @@ export declare const zListChecksResponse: z.ZodObject<{
14380
14711
  category: z.ZodEnum<{
14381
14712
  regional: "regional";
14382
14713
  job: "job";
14383
- project: "project";
14384
14714
  company: "company";
14385
14715
  apprenticeship: "apprenticeship";
14386
14716
  certified_payroll: "certified_payroll";
14387
14717
  payroll: "payroll";
14718
+ project: "project";
14388
14719
  tax_credit: "tax_credit";
14389
14720
  timekeeping: "timekeeping";
14390
14721
  worker: "worker";
@@ -14448,11 +14779,11 @@ export declare const zGetCheckResponse: z.ZodObject<{
14448
14779
  category: z.ZodEnum<{
14449
14780
  regional: "regional";
14450
14781
  job: "job";
14451
- project: "project";
14452
14782
  company: "company";
14453
14783
  apprenticeship: "apprenticeship";
14454
14784
  certified_payroll: "certified_payroll";
14455
14785
  payroll: "payroll";
14786
+ project: "project";
14456
14787
  tax_credit: "tax_credit";
14457
14788
  timekeeping: "timekeeping";
14458
14789
  worker: "worker";
@@ -14533,11 +14864,11 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
14533
14864
  category: z.ZodEnum<{
14534
14865
  regional: "regional";
14535
14866
  job: "job";
14536
- project: "project";
14537
14867
  company: "company";
14538
14868
  apprenticeship: "apprenticeship";
14539
14869
  certified_payroll: "certified_payroll";
14540
14870
  payroll: "payroll";
14871
+ project: "project";
14541
14872
  tax_credit: "tax_credit";
14542
14873
  timekeeping: "timekeeping";
14543
14874
  worker: "worker";
@@ -14617,11 +14948,11 @@ export declare const zListRequirementsResponse: z.ZodObject<{
14617
14948
  category: z.ZodEnum<{
14618
14949
  regional: "regional";
14619
14950
  job: "job";
14620
- project: "project";
14621
14951
  company: "company";
14622
14952
  apprenticeship: "apprenticeship";
14623
14953
  certified_payroll: "certified_payroll";
14624
14954
  payroll: "payroll";
14955
+ project: "project";
14625
14956
  tax_credit: "tax_credit";
14626
14957
  timekeeping: "timekeeping";
14627
14958
  worker: "worker";
@@ -14780,6 +15111,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
14780
15111
  "assets.products": "assets.products";
14781
15112
  "assets.vendors": "assets.vendors";
14782
15113
  "compliance.checks": "compliance.checks";
15114
+ "internal.companies": "internal.companies";
14783
15115
  "internal.company_todos": "internal.company_todos";
14784
15116
  "internal.job_todos": "internal.job_todos";
14785
15117
  "internal.project_todos": "internal.project_todos";
@@ -14865,6 +15197,28 @@ export declare const zListFormDefinitionsResponse: z.ZodObject<{
14865
15197
  created_at: z.ZodISODateTime;
14866
15198
  }, z.core.$strip>>;
14867
15199
  }, z.core.$strip>;
15200
+ export declare const zGetFormDefinitionPath: z.ZodObject<{
15201
+ id: z.ZodString;
15202
+ }, z.core.$strip>;
15203
+ /**
15204
+ * Success
15205
+ */
15206
+ export declare const zGetFormDefinitionResponse: z.ZodObject<{
15207
+ id: z.ZodString;
15208
+ name: z.ZodString;
15209
+ description: z.ZodString;
15210
+ company_id: z.ZodString;
15211
+ modified_by_user_id: z.ZodNullable<z.ZodString>;
15212
+ tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
15213
+ title_keys: z.ZodNullable<z.ZodArray<z.ZodString>>;
15214
+ editable: z.ZodBoolean;
15215
+ always_visible: z.ZodBoolean;
15216
+ sensitive_form: z.ZodBoolean;
15217
+ allow_carry_forward: z.ZodBoolean;
15218
+ current_revision: z.ZodNullable<z.ZodInt>;
15219
+ json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
15220
+ created_at: z.ZodISODateTime;
15221
+ }, z.core.$strip>;
14868
15222
  export declare const zListFormSubmissionDeltasQuery: z.ZodObject<{
14869
15223
  'filter[event]': z.ZodOptional<z.ZodEnum<{
14870
15224
  create: "create";
@@ -15123,8 +15477,8 @@ export declare const zListJobScopePricesResponse: z.ZodObject<{
15123
15477
  job_id: z.ZodString;
15124
15478
  scope_kind: z.ZodString;
15125
15479
  unit_of_measure: z.ZodString;
15126
- unit_price: z.ZodString;
15127
- contracted_count: z.ZodNullable<z.ZodInt>;
15480
+ unit_price: z.ZodOptional<z.ZodString>;
15481
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15128
15482
  created_at: z.ZodISODateTime;
15129
15483
  updated_at: z.ZodISODateTime;
15130
15484
  }, z.core.$strip>>;
@@ -15146,8 +15500,8 @@ export declare const zCreateJobScopePriceResponse: z.ZodObject<{
15146
15500
  job_id: z.ZodString;
15147
15501
  scope_kind: z.ZodString;
15148
15502
  unit_of_measure: z.ZodString;
15149
- unit_price: z.ZodString;
15150
- contracted_count: z.ZodNullable<z.ZodInt>;
15503
+ unit_price: z.ZodOptional<z.ZodString>;
15504
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15151
15505
  created_at: z.ZodISODateTime;
15152
15506
  updated_at: z.ZodISODateTime;
15153
15507
  }, z.core.$strip>;
@@ -15163,8 +15517,8 @@ export declare const zDeleteJobScopePriceResponse: z.ZodObject<{
15163
15517
  job_id: z.ZodString;
15164
15518
  scope_kind: z.ZodString;
15165
15519
  unit_of_measure: z.ZodString;
15166
- unit_price: z.ZodString;
15167
- contracted_count: z.ZodNullable<z.ZodInt>;
15520
+ unit_price: z.ZodOptional<z.ZodString>;
15521
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15168
15522
  created_at: z.ZodISODateTime;
15169
15523
  updated_at: z.ZodISODateTime;
15170
15524
  }, z.core.$strip>;
@@ -15180,8 +15534,8 @@ export declare const zGetJobScopePriceResponse: z.ZodObject<{
15180
15534
  job_id: z.ZodString;
15181
15535
  scope_kind: z.ZodString;
15182
15536
  unit_of_measure: z.ZodString;
15183
- unit_price: z.ZodString;
15184
- contracted_count: z.ZodNullable<z.ZodInt>;
15537
+ unit_price: z.ZodOptional<z.ZodString>;
15538
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15185
15539
  created_at: z.ZodISODateTime;
15186
15540
  updated_at: z.ZodISODateTime;
15187
15541
  }, z.core.$strip>;
@@ -15203,8 +15557,8 @@ export declare const zUpdateJobScopePriceResponse: z.ZodObject<{
15203
15557
  job_id: z.ZodString;
15204
15558
  scope_kind: z.ZodString;
15205
15559
  unit_of_measure: z.ZodString;
15206
- unit_price: z.ZodString;
15207
- contracted_count: z.ZodNullable<z.ZodInt>;
15560
+ unit_price: z.ZodOptional<z.ZodString>;
15561
+ contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
15208
15562
  created_at: z.ZodISODateTime;
15209
15563
  updated_at: z.ZodISODateTime;
15210
15564
  }, z.core.$strip>;
@@ -15534,6 +15888,87 @@ export declare const zGetRateRuleResponse: z.ZodObject<{
15534
15888
  created_at: z.ZodISODateTime;
15535
15889
  updated_at: z.ZodISODateTime;
15536
15890
  }, z.core.$strip>;
15891
+ export declare const zListJobSitesPath: z.ZodObject<{
15892
+ job_id: z.ZodString;
15893
+ }, z.core.$strip>;
15894
+ export declare const zListJobSitesQuery: z.ZodObject<{
15895
+ filter: z.ZodOptional<z.ZodString>;
15896
+ 'filter[unexpected]': z.ZodOptional<z.ZodString>;
15897
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
15898
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
15899
+ page: z.ZodOptional<z.ZodString>;
15900
+ }, z.core.$strip>;
15901
+ /**
15902
+ * Success
15903
+ */
15904
+ export declare const zListJobSitesResponse: z.ZodObject<{
15905
+ meta: z.ZodObject<{
15906
+ page: z.ZodObject<{
15907
+ next_cursor: z.ZodNullable<z.ZodString>;
15908
+ current_cursor: z.ZodNullable<z.ZodString>;
15909
+ }, z.core.$strip>;
15910
+ }, z.core.$strip>;
15911
+ links: z.ZodObject<{
15912
+ self: z.ZodString;
15913
+ first: z.ZodNullable<z.ZodString>;
15914
+ next: z.ZodNullable<z.ZodString>;
15915
+ }, z.core.$strip>;
15916
+ data: z.ZodArray<z.ZodObject<{
15917
+ id: z.ZodString;
15918
+ site_id: z.ZodString;
15919
+ feature_ids: z.ZodArray<z.ZodString>;
15920
+ }, z.core.$strip>>;
15921
+ }, z.core.$strip>;
15922
+ export declare const zCreateJobSiteBody: z.ZodObject<{
15923
+ site_id: z.ZodString;
15924
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
15925
+ }, z.core.$strip>;
15926
+ export declare const zCreateJobSitePath: z.ZodObject<{
15927
+ job_id: z.ZodString;
15928
+ }, z.core.$strip>;
15929
+ /**
15930
+ * Created
15931
+ */
15932
+ export declare const zCreateJobSiteResponse: z.ZodObject<{
15933
+ id: z.ZodString;
15934
+ site_id: z.ZodString;
15935
+ feature_ids: z.ZodArray<z.ZodString>;
15936
+ }, z.core.$strip>;
15937
+ export declare const zDeleteJobSitePath: z.ZodObject<{
15938
+ job_id: z.ZodString;
15939
+ id: z.ZodString;
15940
+ }, z.core.$strip>;
15941
+ /**
15942
+ * No Content
15943
+ */
15944
+ export declare const zDeleteJobSiteResponse: z.ZodVoid;
15945
+ export declare const zGetJobSitePath: z.ZodObject<{
15946
+ job_id: z.ZodString;
15947
+ id: z.ZodString;
15948
+ }, z.core.$strip>;
15949
+ /**
15950
+ * Success
15951
+ */
15952
+ export declare const zGetJobSiteResponse: z.ZodObject<{
15953
+ id: z.ZodString;
15954
+ site_id: z.ZodString;
15955
+ feature_ids: z.ZodArray<z.ZodString>;
15956
+ }, z.core.$strip>;
15957
+ export declare const zUpdateJobSiteBody: z.ZodObject<{
15958
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
15959
+ }, z.core.$strip>;
15960
+ export declare const zUpdateJobSitePath: z.ZodObject<{
15961
+ job_id: z.ZodString;
15962
+ id: z.ZodString;
15963
+ }, z.core.$strip>;
15964
+ /**
15965
+ * Success
15966
+ */
15967
+ export declare const zUpdateJobSiteResponse: z.ZodObject<{
15968
+ id: z.ZodString;
15969
+ site_id: z.ZodString;
15970
+ feature_ids: z.ZodArray<z.ZodString>;
15971
+ }, z.core.$strip>;
15537
15972
  export declare const zShiftJobWageDeterminationGenesisBody: z.ZodObject<{
15538
15973
  effective_date: z.ZodISODate;
15539
15974
  }, z.core.$strip>;
@@ -16459,13 +16894,16 @@ export declare const zListJobsResponse: z.ZodObject<{
16459
16894
  feature: "feature";
16460
16895
  quantity: "quantity";
16461
16896
  }>;
16897
+ custom_fields: z.ZodArray<z.ZodObject<{
16898
+ custom_field_config_id: z.ZodString;
16899
+ value: z.ZodNullable<z.ZodString>;
16900
+ }, z.core.$strip>>;
16462
16901
  }, z.core.$strip>>;
16463
16902
  }, z.core.$strip>;
16464
16903
  /**
16465
16904
  * Create a job
16466
16905
  */
16467
16906
  export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
16468
- template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16469
16907
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16470
16908
  description: z.ZodOptional<z.ZodString>;
16471
16909
  requested_by_company_id: z.ZodOptional<z.ZodString>;
@@ -16524,10 +16962,6 @@ export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
16524
16962
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16525
16963
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16526
16964
  }, z.core.$strip>>>;
16527
- custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16528
- custom_field_config_id: z.ZodString;
16529
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16530
- }, z.core.$strip>>>>;
16531
16965
  pwa_details: z.ZodOptional<z.ZodObject<{
16532
16966
  contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16533
16967
  prime_contractor: "prime_contractor";
@@ -16549,7 +16983,13 @@ export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
16549
16983
  il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16550
16984
  ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16551
16985
  }, z.core.$strip>>;
16552
- }, z.core.$strip>, z.ZodRecord<z.ZodString, z.ZodUnknown>>;
16986
+ }, z.core.$strip>, z.ZodObject<{
16987
+ template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16988
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
16989
+ custom_field_config_id: z.ZodString;
16990
+ value: z.ZodNullable<z.ZodString>;
16991
+ }, z.core.$strip>>>;
16992
+ }, z.core.$strip>>;
16553
16993
  /**
16554
16994
  * Created
16555
16995
  */
@@ -16652,6 +17092,10 @@ export declare const zCreateJobResponse: z.ZodObject<{
16652
17092
  feature: "feature";
16653
17093
  quantity: "quantity";
16654
17094
  }>;
17095
+ custom_fields: z.ZodArray<z.ZodObject<{
17096
+ custom_field_config_id: z.ZodString;
17097
+ value: z.ZodNullable<z.ZodString>;
17098
+ }, z.core.$strip>>;
16655
17099
  }, z.core.$strip>;
16656
17100
  export declare const zGetJobPath: z.ZodObject<{
16657
17101
  id: z.ZodString;
@@ -16758,9 +17202,12 @@ export declare const zGetJobResponse: z.ZodObject<{
16758
17202
  feature: "feature";
16759
17203
  quantity: "quantity";
16760
17204
  }>;
17205
+ custom_fields: z.ZodArray<z.ZodObject<{
17206
+ custom_field_config_id: z.ZodString;
17207
+ value: z.ZodNullable<z.ZodString>;
17208
+ }, z.core.$strip>>;
16761
17209
  }, z.core.$strip>;
16762
17210
  export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
16763
- template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16764
17211
  name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16765
17212
  description: z.ZodOptional<z.ZodString>;
16766
17213
  requested_by_company_id: z.ZodOptional<z.ZodString>;
@@ -16819,10 +17266,6 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
16819
17266
  verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
16820
17267
  label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16821
17268
  }, z.core.$strip>>>;
16822
- custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
16823
- custom_field_config_id: z.ZodString;
16824
- value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
16825
- }, z.core.$strip>>>>;
16826
17269
  pwa_details: z.ZodOptional<z.ZodObject<{
16827
17270
  contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
16828
17271
  prime_contractor: "prime_contractor";
@@ -16850,6 +17293,10 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
16850
17293
  completed: "completed";
16851
17294
  disputed: "disputed";
16852
17295
  }>>;
17296
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
17297
+ custom_field_config_id: z.ZodString;
17298
+ value: z.ZodNullable<z.ZodString>;
17299
+ }, z.core.$strip>>>;
16853
17300
  }, z.core.$strip>>;
16854
17301
  export declare const zUpdateJobPath: z.ZodObject<{
16855
17302
  id: z.ZodString;
@@ -16956,6 +17403,10 @@ export declare const zUpdateJobResponse: z.ZodObject<{
16956
17403
  feature: "feature";
16957
17404
  quantity: "quantity";
16958
17405
  }>;
17406
+ custom_fields: z.ZodArray<z.ZodObject<{
17407
+ custom_field_config_id: z.ZodString;
17408
+ value: z.ZodNullable<z.ZodString>;
17409
+ }, z.core.$strip>>;
16959
17410
  }, z.core.$strip>;
16960
17411
  /**
16961
17412
  * Success
@@ -18580,11 +19031,18 @@ export declare const zCreatePayRateRulePackageResponse: z.ZodObject<{
18580
19031
  created_at: z.ZodISODateTime;
18581
19032
  updated_at: z.ZodISODateTime;
18582
19033
  }, z.core.$strip>;
18583
- export declare const zGetPayRateRulePackagePath: z.ZodObject<{
19034
+ export declare const zDeletePayRateRulePackagePath: z.ZodObject<{
18584
19035
  id: z.ZodString;
18585
19036
  }, z.core.$strip>;
18586
19037
  /**
18587
- * Success
19038
+ * No Content
19039
+ */
19040
+ export declare const zDeletePayRateRulePackageResponse: z.ZodVoid;
19041
+ export declare const zGetPayRateRulePackagePath: z.ZodObject<{
19042
+ id: z.ZodString;
19043
+ }, z.core.$strip>;
19044
+ /**
19045
+ * Success
18588
19046
  */
18589
19047
  export declare const zGetPayRateRulePackageResponse: z.ZodObject<{
18590
19048
  id: z.ZodString;
@@ -18596,6 +19054,26 @@ export declare const zGetPayRateRulePackageResponse: z.ZodObject<{
18596
19054
  created_at: z.ZodISODateTime;
18597
19055
  updated_at: z.ZodISODateTime;
18598
19056
  }, z.core.$strip>;
19057
+ export declare const zUpdatePayRateRulePackageBody: z.ZodObject<{
19058
+ name: z.ZodOptional<z.ZodString>;
19059
+ description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
19060
+ }, z.core.$strip>;
19061
+ export declare const zUpdatePayRateRulePackagePath: z.ZodObject<{
19062
+ id: z.ZodString;
19063
+ }, z.core.$strip>;
19064
+ /**
19065
+ * Success
19066
+ */
19067
+ export declare const zUpdatePayRateRulePackageResponse: z.ZodObject<{
19068
+ id: z.ZodString;
19069
+ name: z.ZodString;
19070
+ description: z.ZodNullable<z.ZodString>;
19071
+ scoped_to_job_id: z.ZodNullable<z.ZodString>;
19072
+ default: z.ZodBoolean;
19073
+ selectable: z.ZodBoolean;
19074
+ created_at: z.ZodISODateTime;
19075
+ updated_at: z.ZodISODateTime;
19076
+ }, z.core.$strip>;
18599
19077
  export declare const zListAggregateTimeImportsPath: z.ZodObject<{
18600
19078
  pay_period_id: z.ZodString;
18601
19079
  }, z.core.$strip>;
@@ -19322,8 +19800,8 @@ export declare const zListFringeBenefitPlansResponse: z.ZodObject<{
19322
19800
  plan_number: z.ZodString;
19323
19801
  funded: z.ZodBoolean;
19324
19802
  benefit_category: z.ZodNullable<z.ZodEnum<{
19325
- employer_combined_savings: "employer_combined_savings";
19326
19803
  employer_combined_health: "employer_combined_health";
19804
+ employer_combined_savings: "employer_combined_savings";
19327
19805
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19328
19806
  employer_training: "employer_training";
19329
19807
  employer_other_contributions: "employer_other_contributions";
@@ -19347,8 +19825,8 @@ export declare const zCreateFringeBenefitPlanBody: z.ZodObject<{
19347
19825
  plan_number: z.ZodString;
19348
19826
  funded: z.ZodOptional<z.ZodBoolean>;
19349
19827
  benefit_category: z.ZodEnum<{
19350
- employer_combined_savings: "employer_combined_savings";
19351
19828
  employer_combined_health: "employer_combined_health";
19829
+ employer_combined_savings: "employer_combined_savings";
19352
19830
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19353
19831
  employer_training: "employer_training";
19354
19832
  employer_other_contributions: "employer_other_contributions";
@@ -19373,8 +19851,8 @@ export declare const zCreateFringeBenefitPlanResponse: z.ZodObject<{
19373
19851
  plan_number: z.ZodString;
19374
19852
  funded: z.ZodBoolean;
19375
19853
  benefit_category: z.ZodNullable<z.ZodEnum<{
19376
- employer_combined_savings: "employer_combined_savings";
19377
19854
  employer_combined_health: "employer_combined_health";
19855
+ employer_combined_savings: "employer_combined_savings";
19378
19856
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19379
19857
  employer_training: "employer_training";
19380
19858
  employer_other_contributions: "employer_other_contributions";
@@ -19404,8 +19882,8 @@ export declare const zDeleteFringeBenefitPlanResponse: z.ZodObject<{
19404
19882
  plan_number: z.ZodString;
19405
19883
  funded: z.ZodBoolean;
19406
19884
  benefit_category: z.ZodNullable<z.ZodEnum<{
19407
- employer_combined_savings: "employer_combined_savings";
19408
19885
  employer_combined_health: "employer_combined_health";
19886
+ employer_combined_savings: "employer_combined_savings";
19409
19887
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19410
19888
  employer_training: "employer_training";
19411
19889
  employer_other_contributions: "employer_other_contributions";
@@ -19435,8 +19913,8 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
19435
19913
  plan_number: z.ZodString;
19436
19914
  funded: z.ZodBoolean;
19437
19915
  benefit_category: z.ZodNullable<z.ZodEnum<{
19438
- employer_combined_savings: "employer_combined_savings";
19439
19916
  employer_combined_health: "employer_combined_health";
19917
+ employer_combined_savings: "employer_combined_savings";
19440
19918
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19441
19919
  employer_training: "employer_training";
19442
19920
  employer_other_contributions: "employer_other_contributions";
@@ -19454,13 +19932,12 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
19454
19932
  updated_at: z.ZodISODateTime;
19455
19933
  }, z.core.$strip>;
19456
19934
  export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
19457
- timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
19458
19935
  name: z.ZodOptional<z.ZodString>;
19459
19936
  plan_number: z.ZodOptional<z.ZodString>;
19460
19937
  funded: z.ZodOptional<z.ZodBoolean>;
19461
19938
  benefit_category: z.ZodOptional<z.ZodEnum<{
19462
- employer_combined_savings: "employer_combined_savings";
19463
19939
  employer_combined_health: "employer_combined_health";
19940
+ employer_combined_savings: "employer_combined_savings";
19464
19941
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19465
19942
  employer_training: "employer_training";
19466
19943
  employer_other_contributions: "employer_other_contributions";
@@ -19488,8 +19965,8 @@ export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
19488
19965
  plan_number: z.ZodString;
19489
19966
  funded: z.ZodBoolean;
19490
19967
  benefit_category: z.ZodNullable<z.ZodEnum<{
19491
- employer_combined_savings: "employer_combined_savings";
19492
19968
  employer_combined_health: "employer_combined_health";
19969
+ employer_combined_savings: "employer_combined_savings";
19493
19970
  employer_combined_holiday_pto: "employer_combined_holiday_pto";
19494
19971
  employer_training: "employer_training";
19495
19972
  employer_other_contributions: "employer_other_contributions";
@@ -20045,8 +20522,8 @@ export declare const zListPaystubsResponse: z.ZodObject<{
20045
20522
  }, z.core.$strip>>;
20046
20523
  }, z.core.$strip>;
20047
20524
  export declare const zCreatePaystubBody: z.ZodObject<{
20048
- payrolls_payroll_run_id: z.ZodString;
20049
20525
  user_id: z.ZodString;
20526
+ payrolls_payroll_run_id: z.ZodString;
20050
20527
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20051
20528
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20052
20529
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -20098,7 +20575,6 @@ export declare const zGetPaystubResponse: z.ZodObject<{
20098
20575
  }, z.core.$strip>;
20099
20576
  export declare const zUpdatePaystubBody: z.ZodObject<{
20100
20577
  payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
20101
- user_id: z.ZodOptional<z.ZodString>;
20102
20578
  timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20103
20579
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
20104
20580
  check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -21403,6 +21879,85 @@ export declare const zCreateProjectTradeResponse: z.ZodObject<{
21403
21879
  created_at: z.ZodISODateTime;
21404
21880
  updated_at: z.ZodISODateTime;
21405
21881
  }, z.core.$strip>;
21882
+ export declare const zListProjectSitesPath: z.ZodObject<{
21883
+ project_id: z.ZodString;
21884
+ }, z.core.$strip>;
21885
+ export declare const zListProjectSitesQuery: z.ZodObject<{
21886
+ 'page[cursor]': z.ZodOptional<z.ZodString>;
21887
+ 'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
21888
+ page: z.ZodOptional<z.ZodString>;
21889
+ }, z.core.$strip>;
21890
+ /**
21891
+ * Success
21892
+ */
21893
+ export declare const zListProjectSitesResponse: z.ZodObject<{
21894
+ meta: z.ZodObject<{
21895
+ page: z.ZodObject<{
21896
+ next_cursor: z.ZodNullable<z.ZodString>;
21897
+ current_cursor: z.ZodNullable<z.ZodString>;
21898
+ }, z.core.$strip>;
21899
+ }, z.core.$strip>;
21900
+ links: z.ZodObject<{
21901
+ self: z.ZodString;
21902
+ first: z.ZodNullable<z.ZodString>;
21903
+ next: z.ZodNullable<z.ZodString>;
21904
+ }, z.core.$strip>;
21905
+ data: z.ZodArray<z.ZodObject<{
21906
+ id: z.ZodString;
21907
+ site_id: z.ZodString;
21908
+ feature_ids: z.ZodArray<z.ZodString>;
21909
+ }, z.core.$strip>>;
21910
+ }, z.core.$strip>;
21911
+ export declare const zCreateProjectSiteBody: z.ZodObject<{
21912
+ site_id: z.ZodString;
21913
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
21914
+ }, z.core.$strip>;
21915
+ export declare const zCreateProjectSitePath: z.ZodObject<{
21916
+ project_id: z.ZodString;
21917
+ }, z.core.$strip>;
21918
+ /**
21919
+ * Created
21920
+ */
21921
+ export declare const zCreateProjectSiteResponse: z.ZodObject<{
21922
+ id: z.ZodString;
21923
+ site_id: z.ZodString;
21924
+ feature_ids: z.ZodArray<z.ZodString>;
21925
+ }, z.core.$strip>;
21926
+ export declare const zDeleteProjectSitePath: z.ZodObject<{
21927
+ project_id: z.ZodString;
21928
+ id: z.ZodString;
21929
+ }, z.core.$strip>;
21930
+ /**
21931
+ * No Content
21932
+ */
21933
+ export declare const zDeleteProjectSiteResponse: z.ZodVoid;
21934
+ export declare const zGetProjectSitePath: z.ZodObject<{
21935
+ project_id: z.ZodString;
21936
+ id: z.ZodString;
21937
+ }, z.core.$strip>;
21938
+ /**
21939
+ * Success
21940
+ */
21941
+ export declare const zGetProjectSiteResponse: z.ZodObject<{
21942
+ id: z.ZodString;
21943
+ site_id: z.ZodString;
21944
+ feature_ids: z.ZodArray<z.ZodString>;
21945
+ }, z.core.$strip>;
21946
+ export declare const zUpdateProjectSiteBody: z.ZodObject<{
21947
+ feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
21948
+ }, z.core.$strip>;
21949
+ export declare const zUpdateProjectSitePath: z.ZodObject<{
21950
+ project_id: z.ZodString;
21951
+ id: z.ZodString;
21952
+ }, z.core.$strip>;
21953
+ /**
21954
+ * Success
21955
+ */
21956
+ export declare const zUpdateProjectSiteResponse: z.ZodObject<{
21957
+ id: z.ZodString;
21958
+ site_id: z.ZodString;
21959
+ feature_ids: z.ZodArray<z.ZodString>;
21960
+ }, z.core.$strip>;
21406
21961
  export declare const zListProjectsQuery: z.ZodObject<{
21407
21962
  'filter[federal_pwa_mode]': z.ZodOptional<z.ZodEnum<{
21408
21963
  none: "none";
@@ -21417,6 +21972,7 @@ export declare const zListProjectsQuery: z.ZodObject<{
21417
21972
  ap_only: "ap_only";
21418
21973
  }>>;
21419
21974
  'filter[external_id]': z.ZodOptional<z.ZodString>;
21975
+ 'filter[name]': z.ZodOptional<z.ZodString>;
21420
21976
  'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
21421
21977
  'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
21422
21978
  'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
@@ -21603,7 +22159,6 @@ export declare const zUpdateProjectBody: z.ZodObject<{
21603
22159
  external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21604
22160
  name: z.ZodOptional<z.ZodString>;
21605
22161
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21606
- created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21607
22162
  parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21608
22163
  participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
21609
22164
  start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
@@ -21867,6 +22422,13 @@ export declare const zCreateCompanyUserDetailResponse: z.ZodObject<{
21867
22422
  portuguese_or_brazilian: "portuguese_or_brazilian";
21868
22423
  }>>>;
21869
22424
  }, z.core.$strip>;
22425
+ export declare const zDeleteCompanyUserDetailPath: z.ZodObject<{
22426
+ id: z.ZodString;
22427
+ }, z.core.$strip>;
22428
+ /**
22429
+ * No Content
22430
+ */
22431
+ export declare const zDeleteCompanyUserDetailResponse: z.ZodVoid;
21870
22432
  export declare const zUpdateCompanyUserDetailBody: z.ZodObject<{
21871
22433
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
21872
22434
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22146,6 +22708,24 @@ export declare const zDeleteApprenticeshipOccupationResponse: z.ZodObject<{
22146
22708
  created_at: z.ZodISODateTime;
22147
22709
  updated_at: z.ZodISODateTime;
22148
22710
  }, z.core.$strip>;
22711
+ export declare const zGetApprenticeshipOccupationPath: z.ZodObject<{
22712
+ trade_id: z.ZodString;
22713
+ id: z.ZodString;
22714
+ }, z.core.$strip>;
22715
+ /**
22716
+ * Success
22717
+ */
22718
+ export declare const zGetApprenticeshipOccupationResponse: z.ZodObject<{
22719
+ id: z.ZodString;
22720
+ pwa_trade_id: z.ZodString;
22721
+ apprenticeship_occupation_id: z.ZodString;
22722
+ scope_status: z.ZodEnum<{
22723
+ in_scope: "in_scope";
22724
+ out_of_scope: "out_of_scope";
22725
+ }>;
22726
+ created_at: z.ZodISODateTime;
22727
+ updated_at: z.ZodISODateTime;
22728
+ }, z.core.$strip>;
22149
22729
  export declare const zUpdateApprenticeshipOccupationBody: z.ZodObject<{
22150
22730
  scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22151
22731
  in_scope: "in_scope";
@@ -22480,6 +23060,52 @@ export declare const zCreatePositionResponse: z.ZodObject<{
22480
23060
  created_at: z.ZodISODateTime;
22481
23061
  updated_at: z.ZodISODateTime;
22482
23062
  }, z.core.$strip>;
23063
+ export declare const zDeletePositionPath: z.ZodObject<{
23064
+ job_id: z.ZodString;
23065
+ id: z.ZodString;
23066
+ }, z.core.$strip>;
23067
+ /**
23068
+ * No Content
23069
+ */
23070
+ export declare const zDeletePositionResponse: z.ZodVoid;
23071
+ export declare const zGetPositionPath: z.ZodObject<{
23072
+ job_id: z.ZodString;
23073
+ id: z.ZodString;
23074
+ }, z.core.$strip>;
23075
+ /**
23076
+ * Success
23077
+ */
23078
+ export declare const zGetPositionResponse: z.ZodObject<{
23079
+ id: z.ZodString;
23080
+ job_id: z.ZodString;
23081
+ fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
23082
+ pay_rates_rule_package_id: z.ZodNullable<z.ZodString>;
23083
+ position_function: z.ZodNullable<z.ZodObject<{
23084
+ id: z.ZodString;
23085
+ value: z.ZodString;
23086
+ description: z.ZodString;
23087
+ }, z.core.$strip>>;
23088
+ per_diem_name: z.ZodNullable<z.ZodString>;
23089
+ per_diem_currency: z.ZodNullable<z.ZodString>;
23090
+ per_diem_rate_cents: z.ZodNullable<z.ZodString>;
23091
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
23092
+ hourly_rate_src_type: z.ZodNullable<z.ZodString>;
23093
+ cash_fringe_rate_cents: z.ZodNullable<z.ZodString>;
23094
+ cash_fringe_rate_src_type: z.ZodNullable<z.ZodString>;
23095
+ pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
23096
+ pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
23097
+ wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
23098
+ pwa: z.ZodBoolean;
23099
+ federal_wage_determination_ids: z.ZodArray<z.ZodString>;
23100
+ regional_wage_determination_ids: z.ZodArray<z.ZodString>;
23101
+ pwa_details: z.ZodObject<{
23102
+ skill_level: z.ZodNullable<z.ZodString>;
23103
+ }, z.core.$strip>;
23104
+ start_time: z.ZodNullable<z.ZodISODateTime>;
23105
+ end_time: z.ZodNullable<z.ZodISODateTime>;
23106
+ created_at: z.ZodISODateTime;
23107
+ updated_at: z.ZodISODateTime;
23108
+ }, z.core.$strip>;
22483
23109
  export declare const zUpdatePositionBody: z.ZodObject<{
22484
23110
  job_id: z.ZodOptional<z.ZodString>;
22485
23111
  fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -22935,6 +23561,48 @@ export declare const zGetPriorPeriodAdjustmentResponse: z.ZodObject<{
22935
23561
  created_at: z.ZodISODateTime;
22936
23562
  updated_at: z.ZodISODateTime;
22937
23563
  }, z.core.$strip>;
23564
+ export declare const zUpdatePriorPeriodAdjustmentBody: z.ZodObject<{
23565
+ amount_cents: z.ZodOptional<z.ZodString>;
23566
+ rationale: z.ZodOptional<z.ZodEnum<{
23567
+ other: "other";
23568
+ hours_correction: "hours_correction";
23569
+ pwa_compliance: "pwa_compliance";
23570
+ rate_correction: "rate_correction";
23571
+ }>>;
23572
+ job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23573
+ notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23574
+ pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
23575
+ }, z.core.$strip>;
23576
+ export declare const zUpdatePriorPeriodAdjustmentPath: z.ZodObject<{
23577
+ time_card_id: z.ZodString;
23578
+ id: z.ZodString;
23579
+ }, z.core.$strip>;
23580
+ /**
23581
+ * Success
23582
+ */
23583
+ export declare const zUpdatePriorPeriodAdjustmentResponse: z.ZodObject<{
23584
+ id: z.ZodString;
23585
+ timekeeping_time_card_id: z.ZodString;
23586
+ payrolls_paystub_line_item_id: z.ZodString;
23587
+ job_id: z.ZodNullable<z.ZodString>;
23588
+ created_by_user_id: z.ZodString;
23589
+ adjustment_type: z.ZodEnum<{
23590
+ overpayment_recovery: "overpayment_recovery";
23591
+ retroactive_increase: "retroactive_increase";
23592
+ }>;
23593
+ rationale: z.ZodEnum<{
23594
+ other: "other";
23595
+ hours_correction: "hours_correction";
23596
+ pwa_compliance: "pwa_compliance";
23597
+ rate_correction: "rate_correction";
23598
+ }>;
23599
+ notes: z.ZodNullable<z.ZodString>;
23600
+ pwa_compliance_eligible: z.ZodBoolean;
23601
+ amount_cents: z.ZodString;
23602
+ currency: z.ZodString;
23603
+ created_at: z.ZodISODateTime;
23604
+ updated_at: z.ZodISODateTime;
23605
+ }, z.core.$strip>;
22938
23606
  export declare const zListPwaCompliancesPath: z.ZodObject<{
22939
23607
  time_card_id: z.ZodString;
22940
23608
  }, z.core.$strip>;
@@ -23232,7 +23900,6 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
23232
23900
  }, z.core.$strip>>;
23233
23901
  }, z.core.$strip>;
23234
23902
  export declare const zCreateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
23235
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
23236
23903
  start_time: z.ZodOptional<z.ZodISODateTime>;
23237
23904
  end_time: z.ZodOptional<z.ZodISODateTime>;
23238
23905
  job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -23242,6 +23909,7 @@ export declare const zCreateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
23242
23909
  hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
23243
23910
  feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
23244
23911
  }, z.core.$strip>, z.ZodObject<{
23912
+ timekeeping_time_card_id: z.ZodString;
23245
23913
  feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
23246
23914
  }, z.core.$strip>>;
23247
23915
  /**
@@ -23323,8 +23991,48 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
23323
23991
  name: z.ZodString;
23324
23992
  }, z.core.$strip>>;
23325
23993
  }, z.core.$strip>;
23994
+ export declare const zGetTimeEntryPath: z.ZodObject<{
23995
+ id: z.ZodString;
23996
+ }, z.core.$strip>;
23997
+ /**
23998
+ * Success
23999
+ */
24000
+ export declare const zGetTimeEntryResponse: z.ZodObject<{
24001
+ id: z.ZodString;
24002
+ user_id: z.ZodString;
24003
+ timekeeping_time_card_id: z.ZodString;
24004
+ job_id: z.ZodNullable<z.ZodString>;
24005
+ timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
24006
+ state: z.ZodNullable<z.ZodString>;
24007
+ description: z.ZodNullable<z.ZodString>;
24008
+ clock_punched: z.ZodBoolean;
24009
+ worker_approved: z.ZodBoolean;
24010
+ manager_approval_status: z.ZodEnum<{
24011
+ PENDING: "PENDING";
24012
+ APPROVED: "APPROVED";
24013
+ DECLINED: "DECLINED";
24014
+ }>;
24015
+ hours_worked: z.ZodNumber;
24016
+ overtime_minutes_worked: z.ZodObject<{
24017
+ 1: z.ZodNumber;
24018
+ 1.5: z.ZodNumber;
24019
+ 2: z.ZodNumber;
24020
+ }, z.core.$strip>;
24021
+ incentive_pay_one_five_x_minutes_worked: z.ZodInt;
24022
+ hourly_rate_cents: z.ZodNullable<z.ZodString>;
24023
+ currency: z.ZodString;
24024
+ hourly_rate_src_type: z.ZodNullable<z.ZodString>;
24025
+ timekeeping_pay_period_id: z.ZodString;
24026
+ start_time: z.ZodISODateTime;
24027
+ end_time: z.ZodISODateTime;
24028
+ created_at: z.ZodISODateTime;
24029
+ updated_at: z.ZodISODateTime;
24030
+ feature_ids: z.ZodArray<z.ZodString>;
24031
+ features: z.ZodArray<z.ZodObject<{
24032
+ name: z.ZodString;
24033
+ }, z.core.$strip>>;
24034
+ }, z.core.$strip>;
23326
24035
  export declare const zUpdateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
23327
- timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
23328
24036
  start_time: z.ZodOptional<z.ZodISODateTime>;
23329
24037
  end_time: z.ZodOptional<z.ZodISODateTime>;
23330
24038
  job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -24861,8 +25569,8 @@ export declare const zListTodoInboxResponse: z.ZodObject<{
24861
25569
  id: z.ZodString;
24862
25570
  type: z.ZodEnum<{
24863
25571
  job: "job";
24864
- project: "project";
24865
25572
  company: "company";
25573
+ project: "project";
24866
25574
  }>;
24867
25575
  company_id: z.ZodNullable<z.ZodString>;
24868
25576
  job_id: z.ZodNullable<z.ZodString>;
@@ -24917,11 +25625,11 @@ export declare const zListTodoInboxResponse: z.ZodObject<{
24917
25625
  category: z.ZodEnum<{
24918
25626
  regional: "regional";
24919
25627
  job: "job";
24920
- project: "project";
24921
25628
  company: "company";
24922
25629
  apprenticeship: "apprenticeship";
24923
25630
  certified_payroll: "certified_payroll";
24924
25631
  payroll: "payroll";
25632
+ project: "project";
24925
25633
  tax_credit: "tax_credit";
24926
25634
  timekeeping: "timekeeping";
24927
25635
  worker: "worker";
@@ -25270,10 +25978,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
25270
25978
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25271
25979
  payroll_id: z.ZodNullable<z.ZodString>;
25272
25980
  compensation_type: z.ZodNullable<z.ZodString>;
25273
- hourly_rate: z.ZodNullable<z.ZodString>;
25274
- training_annual_amount: z.ZodNullable<z.ZodString>;
25275
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25276
- employer_combined_savings: z.ZodNullable<z.ZodString>;
25981
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25982
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25983
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25984
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25277
25985
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25278
25986
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25279
25987
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25285,6 +25993,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
25285
25993
  valid_to: z.ZodNullable<z.ZodISODateTime>;
25286
25994
  }, z.core.$strip>>;
25287
25995
  manager_user_id: z.ZodNullable<z.ZodString>;
25996
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
25997
+ custom_field_config_id: z.ZodString;
25998
+ value: z.ZodNullable<z.ZodString>;
25999
+ }, z.core.$strip>>>;
25288
26000
  roles: z.ZodArray<z.ZodString>;
25289
26001
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
25290
26002
  id: z.ZodString;
@@ -25401,10 +26113,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
25401
26113
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25402
26114
  payroll_id: z.ZodNullable<z.ZodString>;
25403
26115
  compensation_type: z.ZodNullable<z.ZodString>;
25404
- hourly_rate: z.ZodNullable<z.ZodString>;
25405
- training_annual_amount: z.ZodNullable<z.ZodString>;
25406
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25407
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26116
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26117
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26118
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26119
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25408
26120
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25409
26121
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25410
26122
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25416,6 +26128,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
25416
26128
  valid_to: z.ZodNullable<z.ZodISODateTime>;
25417
26129
  }, z.core.$strip>>;
25418
26130
  manager_user_id: z.ZodNullable<z.ZodString>;
26131
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26132
+ custom_field_config_id: z.ZodString;
26133
+ value: z.ZodNullable<z.ZodString>;
26134
+ }, z.core.$strip>>>;
25419
26135
  roles: z.ZodArray<z.ZodString>;
25420
26136
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
25421
26137
  id: z.ZodString;
@@ -25512,6 +26228,10 @@ export declare const zCreateCompanyBody: z.ZodObject<{
25512
26228
  pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25513
26229
  holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
25514
26230
  training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
26231
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
26232
+ custom_field_config_id: z.ZodString;
26233
+ value: z.ZodNullable<z.ZodString>;
26234
+ }, z.core.$strip>>>;
25515
26235
  }, z.core.$strip>;
25516
26236
  export declare const zCreateCompanyPath: z.ZodObject<{
25517
26237
  user_id: z.ZodString;
@@ -25554,10 +26274,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
25554
26274
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25555
26275
  payroll_id: z.ZodNullable<z.ZodString>;
25556
26276
  compensation_type: z.ZodNullable<z.ZodString>;
25557
- hourly_rate: z.ZodNullable<z.ZodString>;
25558
- training_annual_amount: z.ZodNullable<z.ZodString>;
25559
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25560
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26277
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26278
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26279
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26280
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25561
26281
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25562
26282
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25563
26283
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25569,6 +26289,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
25569
26289
  valid_to: z.ZodNullable<z.ZodISODateTime>;
25570
26290
  }, z.core.$strip>>;
25571
26291
  manager_user_id: z.ZodNullable<z.ZodString>;
26292
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26293
+ custom_field_config_id: z.ZodString;
26294
+ value: z.ZodNullable<z.ZodString>;
26295
+ }, z.core.$strip>>>;
25572
26296
  roles: z.ZodArray<z.ZodString>;
25573
26297
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
25574
26298
  id: z.ZodString;
@@ -25684,10 +26408,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
25684
26408
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25685
26409
  payroll_id: z.ZodNullable<z.ZodString>;
25686
26410
  compensation_type: z.ZodNullable<z.ZodString>;
25687
- hourly_rate: z.ZodNullable<z.ZodString>;
25688
- training_annual_amount: z.ZodNullable<z.ZodString>;
25689
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25690
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26411
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26412
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26413
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26414
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25691
26415
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25692
26416
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25693
26417
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25699,6 +26423,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
25699
26423
  valid_to: z.ZodNullable<z.ZodISODateTime>;
25700
26424
  }, z.core.$strip>>;
25701
26425
  manager_user_id: z.ZodNullable<z.ZodString>;
26426
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26427
+ custom_field_config_id: z.ZodString;
26428
+ value: z.ZodNullable<z.ZodString>;
26429
+ }, z.core.$strip>>>;
25702
26430
  roles: z.ZodArray<z.ZodString>;
25703
26431
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
25704
26432
  id: z.ZodString;
@@ -25785,6 +26513,10 @@ export declare const zUpdateCompanyBody: z.ZodObject<{
25785
26513
  payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25786
26514
  hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25787
26515
  enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
26516
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
26517
+ custom_field_config_id: z.ZodString;
26518
+ value: z.ZodNullable<z.ZodString>;
26519
+ }, z.core.$strip>>>;
25788
26520
  }, z.core.$strip>;
25789
26521
  export declare const zUpdateCompanyPath: z.ZodObject<{
25790
26522
  user_id: z.ZodString;
@@ -25828,10 +26560,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
25828
26560
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25829
26561
  payroll_id: z.ZodNullable<z.ZodString>;
25830
26562
  compensation_type: z.ZodNullable<z.ZodString>;
25831
- hourly_rate: z.ZodNullable<z.ZodString>;
25832
- training_annual_amount: z.ZodNullable<z.ZodString>;
25833
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25834
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26563
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26564
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26565
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26566
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25835
26567
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25836
26568
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25837
26569
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25843,6 +26575,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
25843
26575
  valid_to: z.ZodNullable<z.ZodISODateTime>;
25844
26576
  }, z.core.$strip>>;
25845
26577
  manager_user_id: z.ZodNullable<z.ZodString>;
26578
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26579
+ custom_field_config_id: z.ZodString;
26580
+ value: z.ZodNullable<z.ZodString>;
26581
+ }, z.core.$strip>>>;
25846
26582
  roles: z.ZodArray<z.ZodString>;
25847
26583
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
25848
26584
  id: z.ZodString;
@@ -25924,6 +26660,7 @@ export declare const zListUsersQuery: z.ZodObject<{
25924
26660
  all: "all";
25925
26661
  terminated: "terminated";
25926
26662
  }>>;
26663
+ 'filter[name]': z.ZodOptional<z.ZodString>;
25927
26664
  'page[cursor]': z.ZodOptional<z.ZodString>;
25928
26665
  'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
25929
26666
  page: z.ZodOptional<z.ZodString>;
@@ -25984,10 +26721,10 @@ export declare const zListUsersResponse: z.ZodObject<{
25984
26721
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
25985
26722
  payroll_id: z.ZodNullable<z.ZodString>;
25986
26723
  compensation_type: z.ZodNullable<z.ZodString>;
25987
- hourly_rate: z.ZodNullable<z.ZodString>;
25988
- training_annual_amount: z.ZodNullable<z.ZodString>;
25989
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
25990
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26724
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26725
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26726
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26727
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
25991
26728
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
25992
26729
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
25993
26730
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -25999,6 +26736,10 @@ export declare const zListUsersResponse: z.ZodObject<{
25999
26736
  valid_to: z.ZodNullable<z.ZodISODateTime>;
26000
26737
  }, z.core.$strip>>;
26001
26738
  manager_user_id: z.ZodNullable<z.ZodString>;
26739
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26740
+ custom_field_config_id: z.ZodString;
26741
+ value: z.ZodNullable<z.ZodString>;
26742
+ }, z.core.$strip>>>;
26002
26743
  roles: z.ZodArray<z.ZodString>;
26003
26744
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
26004
26745
  id: z.ZodString;
@@ -26076,11 +26817,16 @@ export declare const zListUsersResponse: z.ZodObject<{
26076
26817
  /**
26077
26818
  * Create a user
26078
26819
  */
26079
- export declare const zCreateUserBody: z.ZodObject<{
26080
- company_id: z.ZodString;
26820
+ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
26081
26821
  email: z.ZodString;
26082
- personal_email: z.ZodOptional<z.ZodString>;
26083
- phone_number: z.ZodOptional<z.ZodString>;
26822
+ }, z.core.$strip>, z.ZodObject<{
26823
+ phone_number: z.ZodString;
26824
+ }, z.core.$strip>, z.ZodObject<{
26825
+ skip_invite: z.ZodLiteral<true>;
26826
+ }, z.core.$strip>]>, z.ZodObject<{
26827
+ email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26828
+ personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26829
+ phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26084
26830
  first_name: z.ZodString;
26085
26831
  last_name: z.ZodString;
26086
26832
  preferred_first_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26105,6 +26851,10 @@ export declare const zCreateUserBody: z.ZodObject<{
26105
26851
  manager_user_id: z.ZodOptional<z.ZodString>;
26106
26852
  payroll_id: z.ZodOptional<z.ZodString>;
26107
26853
  hourly_rate: z.ZodOptional<z.ZodString>;
26854
+ compensation_type: z.ZodOptional<z.ZodEnum<{
26855
+ hourly: "hourly";
26856
+ salary: "salary";
26857
+ }>>;
26108
26858
  overtime_eligible: z.ZodOptional<z.ZodString>;
26109
26859
  enrolled_in_t_and_a: z.ZodOptional<z.ZodString>;
26110
26860
  training_annual_amount: z.ZodOptional<z.ZodString>;
@@ -26116,6 +26866,10 @@ export declare const zCreateUserBody: z.ZodObject<{
26116
26866
  training_annual_minutes: z.ZodOptional<z.ZodString>;
26117
26867
  hire_date: z.ZodOptional<z.ZodString>;
26118
26868
  group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
26869
+ custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
26870
+ custom_field_config_id: z.ZodString;
26871
+ value: z.ZodNullable<z.ZodString>;
26872
+ }, z.core.$strip>>>;
26119
26873
  company_user_pwa_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
26120
26874
  address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26121
26875
  address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -26186,7 +26940,7 @@ export declare const zCreateUserBody: z.ZodObject<{
26186
26940
  portuguese_or_brazilian: "portuguese_or_brazilian";
26187
26941
  }>>>>;
26188
26942
  }, z.core.$strip>>>;
26189
- }, z.core.$strip>;
26943
+ }, z.core.$strip>>;
26190
26944
  /**
26191
26945
  * Created
26192
26946
  */
@@ -26225,10 +26979,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
26225
26979
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
26226
26980
  payroll_id: z.ZodNullable<z.ZodString>;
26227
26981
  compensation_type: z.ZodNullable<z.ZodString>;
26228
- hourly_rate: z.ZodNullable<z.ZodString>;
26229
- training_annual_amount: z.ZodNullable<z.ZodString>;
26230
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
26231
- employer_combined_savings: z.ZodNullable<z.ZodString>;
26982
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26983
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26984
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26985
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26232
26986
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
26233
26987
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
26234
26988
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -26240,6 +26994,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
26240
26994
  valid_to: z.ZodNullable<z.ZodISODateTime>;
26241
26995
  }, z.core.$strip>>;
26242
26996
  manager_user_id: z.ZodNullable<z.ZodString>;
26997
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
26998
+ custom_field_config_id: z.ZodString;
26999
+ value: z.ZodNullable<z.ZodString>;
27000
+ }, z.core.$strip>>>;
26243
27001
  roles: z.ZodArray<z.ZodString>;
26244
27002
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
26245
27003
  id: z.ZodString;
@@ -26354,10 +27112,10 @@ export declare const zGetUserResponse: z.ZodObject<{
26354
27112
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
26355
27113
  payroll_id: z.ZodNullable<z.ZodString>;
26356
27114
  compensation_type: z.ZodNullable<z.ZodString>;
26357
- hourly_rate: z.ZodNullable<z.ZodString>;
26358
- training_annual_amount: z.ZodNullable<z.ZodString>;
26359
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
26360
- employer_combined_savings: z.ZodNullable<z.ZodString>;
27115
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27116
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27117
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27118
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26361
27119
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
26362
27120
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
26363
27121
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -26369,6 +27127,10 @@ export declare const zGetUserResponse: z.ZodObject<{
26369
27127
  valid_to: z.ZodNullable<z.ZodISODateTime>;
26370
27128
  }, z.core.$strip>>;
26371
27129
  manager_user_id: z.ZodNullable<z.ZodString>;
27130
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
27131
+ custom_field_config_id: z.ZodString;
27132
+ value: z.ZodNullable<z.ZodString>;
27133
+ }, z.core.$strip>>>;
26372
27134
  roles: z.ZodArray<z.ZodString>;
26373
27135
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
26374
27136
  id: z.ZodString;
@@ -26497,10 +27259,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
26497
27259
  enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
26498
27260
  payroll_id: z.ZodNullable<z.ZodString>;
26499
27261
  compensation_type: z.ZodNullable<z.ZodString>;
26500
- hourly_rate: z.ZodNullable<z.ZodString>;
26501
- training_annual_amount: z.ZodNullable<z.ZodString>;
26502
- employer_combined_health_amount: z.ZodNullable<z.ZodString>;
26503
- employer_combined_savings: z.ZodNullable<z.ZodString>;
27262
+ hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27263
+ training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27264
+ employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
27265
+ employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
26504
27266
  worked_annual_minutes: z.ZodNullable<z.ZodInt>;
26505
27267
  pto_annual_minutes: z.ZodNullable<z.ZodInt>;
26506
27268
  holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
@@ -26512,6 +27274,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
26512
27274
  valid_to: z.ZodNullable<z.ZodISODateTime>;
26513
27275
  }, z.core.$strip>>;
26514
27276
  manager_user_id: z.ZodNullable<z.ZodString>;
27277
+ custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
27278
+ custom_field_config_id: z.ZodString;
27279
+ value: z.ZodNullable<z.ZodString>;
27280
+ }, z.core.$strip>>>;
26515
27281
  roles: z.ZodArray<z.ZodString>;
26516
27282
  company_user_pwa_info: z.ZodNullable<z.ZodObject<{
26517
27283
  id: z.ZodString;