@dsptch-work/api-client 0.25.0 → 0.27.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.
- package/CHANGELOG.md +64 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +591 -96
- package/dist/gen/sdk.gen.js +869 -136
- package/dist/gen/types.gen.d.ts +2386 -424
- package/dist/gen/zod.gen.d.ts +2656 -673
- package/dist/gen/zod.gen.js +1202 -256
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -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**
|
|
@@ -169,6 +175,12 @@ export declare const zProblem: z.ZodObject<{
|
|
|
169
175
|
*
|
|
170
176
|
* The parent already has an import that has not reported yet. Acceptance is synchronous but the write happens in the background, so a second file would be validated against records the queued import has not written to yet and both would apply. Poll the earlier import until it reports, then submit again.
|
|
171
177
|
*
|
|
178
|
+
* ### pay_schedule_already_exists
|
|
179
|
+
*
|
|
180
|
+
* **Pay Schedule Already Exists**
|
|
181
|
+
*
|
|
182
|
+
* The company already has a pay schedule, including one starting in the future or ending in the past. Use the existing schedule instead of creating another.
|
|
183
|
+
*
|
|
172
184
|
* ### product_archived
|
|
173
185
|
*
|
|
174
186
|
* **Product Archived**
|
|
@@ -363,11 +375,13 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
|
363
375
|
unauthorized: "unauthorized";
|
|
364
376
|
company_scoped_key_required: "company_scoped_key_required";
|
|
365
377
|
forbidden: "forbidden";
|
|
378
|
+
forbidden_key: "forbidden_key";
|
|
366
379
|
insufficient_api_key_scope: "insufficient_api_key_scope";
|
|
367
380
|
user_scoped_key_required: "user_scoped_key_required";
|
|
368
381
|
not_found: "not_found";
|
|
369
382
|
already_terminated: "already_terminated";
|
|
370
383
|
import_in_progress: "import_in_progress";
|
|
384
|
+
pay_schedule_already_exists: "pay_schedule_already_exists";
|
|
371
385
|
product_archived: "product_archived";
|
|
372
386
|
recorded_since_termination: "recorded_since_termination";
|
|
373
387
|
span_beyond_timeline_end: "span_beyond_timeline_end";
|
|
@@ -723,7 +737,7 @@ export declare const zApprenticeshipProgramEmployerParameters: z.ZodObject<{
|
|
|
723
737
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
724
738
|
}, z.core.$strip>;
|
|
725
739
|
/**
|
|
726
|
-
* Update an employer authorization in a program. Send only the fields to change; only the program's sponsor may manage this roster, and
|
|
740
|
+
* 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.
|
|
727
741
|
*/
|
|
728
742
|
export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject<{
|
|
729
743
|
company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -1025,10 +1039,6 @@ export declare const zPeopleEmploymentUpdateParameters: z.ZodObject<{
|
|
|
1025
1039
|
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1026
1040
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
1027
1041
|
}, z.core.$strip>;
|
|
1028
|
-
export declare const zPeopleEmploymentCustomFieldResponseObject: z.ZodObject<{
|
|
1029
|
-
custom_field_config_id: z.ZodString;
|
|
1030
|
-
value: z.ZodNullable<z.ZodString>;
|
|
1031
|
-
}, z.core.$strip>;
|
|
1032
1042
|
/**
|
|
1033
1043
|
* 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.
|
|
1034
1044
|
*/
|
|
@@ -1380,7 +1390,7 @@ export declare const zPerDiemUpdateParameters: z.ZodObject<{
|
|
|
1380
1390
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1381
1391
|
}, z.core.$strip>;
|
|
1382
1392
|
/**
|
|
1383
|
-
* The
|
|
1393
|
+
* The filled attribute values of a product or item — one entry per attribute its category makes fillable on that record.
|
|
1384
1394
|
*/
|
|
1385
1395
|
export declare const zAssetsAttributeValueObjects: z.ZodArray<z.ZodObject<{
|
|
1386
1396
|
assets_attribute_id: z.ZodString;
|
|
@@ -1607,7 +1617,34 @@ export declare const zAttestationConfigParameters: z.ZodObject<{
|
|
|
1607
1617
|
us_state_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
1618
|
}, z.core.$strip>;
|
|
1609
1619
|
/**
|
|
1610
|
-
*
|
|
1620
|
+
* Create the company's first pay schedule. Time and payroll modes inherit company defaults.
|
|
1621
|
+
*/
|
|
1622
|
+
export declare const zPayPeriodConfigParameters: z.ZodObject<{
|
|
1623
|
+
effective_date: z.ZodISODate;
|
|
1624
|
+
frequency: z.ZodEnum<{
|
|
1625
|
+
weekly: "weekly";
|
|
1626
|
+
biweekly: "biweekly";
|
|
1627
|
+
}>;
|
|
1628
|
+
start_day_of_week: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
1629
|
+
tz_name: z.ZodString;
|
|
1630
|
+
currency: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
1631
|
+
rounding_interval: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>>;
|
|
1632
|
+
payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1633
|
+
rippling: "rippling";
|
|
1634
|
+
quickbooks_online: "quickbooks_online";
|
|
1635
|
+
paychex: "paychex";
|
|
1636
|
+
gusto: "gusto";
|
|
1637
|
+
}>>>;
|
|
1638
|
+
paid_after_holiday: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
1639
|
+
arrear_days: z.ZodInt;
|
|
1640
|
+
pay_run_deadline_days: z.ZodInt;
|
|
1641
|
+
pay_run_deadline_clock_time: z.ZodString;
|
|
1642
|
+
approvals_deadline_days: z.ZodInt;
|
|
1643
|
+
approvals_deadline_clock_time: z.ZodString;
|
|
1644
|
+
time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1645
|
+
}, z.core.$strip>;
|
|
1646
|
+
/**
|
|
1647
|
+
* A pay schedule (PayPeriodConfig) — the top-level timekeeping unit that sets a company's payroll cadence and tracking modes and generates its stream of pay periods. Reads return the version valid at the requested time; create returns the new schedule, keyed by its stable id.
|
|
1611
1648
|
*/
|
|
1612
1649
|
export declare const zPayPeriodConfigResponseObject: z.ZodObject<{
|
|
1613
1650
|
id: z.ZodString;
|
|
@@ -1913,7 +1950,7 @@ export declare const zPwaCompanyUserDetailsResponseObject: z.ZodObject<{
|
|
|
1913
1950
|
}>>>;
|
|
1914
1951
|
}, z.core.$strip>;
|
|
1915
1952
|
/**
|
|
1916
|
-
* 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.
|
|
1953
|
+
* 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.
|
|
1917
1954
|
*/
|
|
1918
1955
|
export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
|
|
1919
1956
|
user_id: z.ZodString;
|
|
@@ -2009,7 +2046,7 @@ export declare const zPwaCompanyUserDetailsParameters: z.ZodObject<{
|
|
|
2009
2046
|
}>>>>;
|
|
2010
2047
|
}, z.core.$strip>;
|
|
2011
2048
|
/**
|
|
2012
|
-
* 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.
|
|
2049
|
+
* 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.
|
|
2013
2050
|
*/
|
|
2014
2051
|
export declare const zPwaCompanyUserDetailsUpdateParameters: z.ZodObject<{
|
|
2015
2052
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2304,7 +2341,6 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
|
|
|
2304
2341
|
* The time-entry body fields shared by the create and update bodies; each of those declares its own requiredness.
|
|
2305
2342
|
*/
|
|
2306
2343
|
export declare const zTimeEntryParameters: z.ZodObject<{
|
|
2307
|
-
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
2308
2344
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2309
2345
|
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2310
2346
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2315,10 +2351,9 @@ export declare const zTimeEntryParameters: z.ZodObject<{
|
|
|
2315
2351
|
feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2316
2352
|
}, z.core.$strip>;
|
|
2317
2353
|
/**
|
|
2318
|
-
* Request body for creating a time entry — the time_entry_parameters fields
|
|
2354
|
+
* 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.
|
|
2319
2355
|
*/
|
|
2320
2356
|
export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2321
|
-
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
2322
2357
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2323
2358
|
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2324
2359
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2328,13 +2363,13 @@ export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2328
2363
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2329
2364
|
feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2330
2365
|
}, z.core.$strip>, z.ZodObject<{
|
|
2366
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2331
2367
|
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2332
2368
|
}, z.core.$strip>>;
|
|
2333
2369
|
/**
|
|
2334
2370
|
* Request body for updating a time entry — the time_entry_parameters fields, every one optional, plus the acknowledgement that clears an apprenticeship allocation conflict.
|
|
2335
2371
|
*/
|
|
2336
2372
|
export declare const zTimeEntryUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2337
|
-
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
2338
2373
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2339
2374
|
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2340
2375
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2346,6 +2381,25 @@ export declare const zTimeEntryUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2346
2381
|
}, z.core.$strip>, z.ZodObject<{
|
|
2347
2382
|
confirm_allocation_conflict: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2348
2383
|
}, z.core.$strip>>;
|
|
2384
|
+
/**
|
|
2385
|
+
* 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.
|
|
2386
|
+
*/
|
|
2387
|
+
export declare const zFormDefinitionObject: z.ZodObject<{
|
|
2388
|
+
id: z.ZodString;
|
|
2389
|
+
name: z.ZodString;
|
|
2390
|
+
description: z.ZodString;
|
|
2391
|
+
company_id: z.ZodString;
|
|
2392
|
+
modified_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2393
|
+
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2394
|
+
title_keys: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2395
|
+
editable: z.ZodBoolean;
|
|
2396
|
+
always_visible: z.ZodBoolean;
|
|
2397
|
+
sensitive_form: z.ZodBoolean;
|
|
2398
|
+
allow_carry_forward: z.ZodBoolean;
|
|
2399
|
+
current_revision: z.ZodNullable<z.ZodInt>;
|
|
2400
|
+
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
2401
|
+
created_at: z.ZodISODateTime;
|
|
2402
|
+
}, z.core.$strip>;
|
|
2349
2403
|
/**
|
|
2350
2404
|
* 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.
|
|
2351
2405
|
*/
|
|
@@ -2569,6 +2623,13 @@ export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [
|
|
|
2569
2623
|
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2570
2624
|
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2571
2625
|
}, z.core.$strip>>;
|
|
2626
|
+
/**
|
|
2627
|
+
* A custom-field value stored on a record, addressed by the configuration it belongs to.
|
|
2628
|
+
*/
|
|
2629
|
+
export declare const zCustomFieldResponseObject: z.ZodObject<{
|
|
2630
|
+
custom_field_config_id: z.ZodString;
|
|
2631
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2632
|
+
}, z.core.$strip>;
|
|
2572
2633
|
/**
|
|
2573
2634
|
* 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.
|
|
2574
2635
|
*/
|
|
@@ -2628,17 +2689,16 @@ export declare const zUserGroupParameters: z.ZodObject<{
|
|
|
2628
2689
|
*/
|
|
2629
2690
|
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>]>;
|
|
2630
2691
|
/**
|
|
2631
|
-
* 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.
|
|
2692
|
+
* 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.
|
|
2632
2693
|
*/
|
|
2633
2694
|
export declare const zJobParameters: z.ZodObject<{
|
|
2634
|
-
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2635
2695
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2636
2696
|
description: z.ZodOptional<z.ZodString>;
|
|
2637
2697
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2638
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2639
2698
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2640
2699
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2641
2700
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2701
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2642
2702
|
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
2643
2703
|
none: "none";
|
|
2644
2704
|
all: "all";
|
|
@@ -2690,10 +2750,6 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
2690
2750
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2691
2751
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2692
2752
|
}, z.core.$strip>>>;
|
|
2693
|
-
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2694
|
-
custom_field_config_id: z.ZodString;
|
|
2695
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2696
|
-
}, z.core.$strip>>>>;
|
|
2697
2753
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2698
2754
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2699
2755
|
prime_contractor: "prime_contractor";
|
|
@@ -2717,17 +2773,16 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
2717
2773
|
}, z.core.$strip>>;
|
|
2718
2774
|
}, z.core.$strip>;
|
|
2719
2775
|
/**
|
|
2720
|
-
* 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.
|
|
2776
|
+
* 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.
|
|
2721
2777
|
*/
|
|
2722
2778
|
export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2723
|
-
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2724
2779
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2725
2780
|
description: z.ZodOptional<z.ZodString>;
|
|
2726
2781
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2727
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2728
2782
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2729
2783
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2730
2784
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2731
2786
|
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
2732
2787
|
none: "none";
|
|
2733
2788
|
all: "all";
|
|
@@ -2779,10 +2834,6 @@ export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2779
2834
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2780
2835
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2781
2836
|
}, z.core.$strip>>>;
|
|
2782
|
-
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2783
|
-
custom_field_config_id: z.ZodString;
|
|
2784
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2785
|
-
}, z.core.$strip>>>>;
|
|
2786
2837
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2787
2838
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2788
2839
|
prime_contractor: "prime_contractor";
|
|
@@ -2804,19 +2855,25 @@ export declare const zJobCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2804
2855
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2805
2856
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2806
2857
|
}, z.core.$strip>>;
|
|
2807
|
-
}, z.core.$strip>, z.
|
|
2858
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
2859
|
+
created_by_user_id: z.ZodString;
|
|
2860
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2861
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2862
|
+
custom_field_config_id: z.ZodString;
|
|
2863
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2864
|
+
}, z.core.$strip>>>;
|
|
2865
|
+
}, z.core.$strip>>;
|
|
2808
2866
|
/**
|
|
2809
|
-
* 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.
|
|
2867
|
+
* 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. Sending `created_by_user_id` returns 400 unknown_key, including when it matches the existing creator or is null.
|
|
2810
2868
|
*/
|
|
2811
2869
|
export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2812
|
-
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2813
2870
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2814
2871
|
description: z.ZodOptional<z.ZodString>;
|
|
2815
2872
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
2816
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2817
2873
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2818
2874
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2819
2875
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2876
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2820
2877
|
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
2821
2878
|
none: "none";
|
|
2822
2879
|
all: "all";
|
|
@@ -2868,10 +2925,6 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2868
2925
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2869
2926
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2870
2927
|
}, z.core.$strip>>>;
|
|
2871
|
-
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2872
|
-
custom_field_config_id: z.ZodString;
|
|
2873
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2874
|
-
}, z.core.$strip>>>>;
|
|
2875
2928
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2876
2929
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2877
2930
|
prime_contractor: "prime_contractor";
|
|
@@ -2899,6 +2952,10 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2899
2952
|
completed: "completed";
|
|
2900
2953
|
disputed: "disputed";
|
|
2901
2954
|
}>>;
|
|
2955
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2956
|
+
custom_field_config_id: z.ZodString;
|
|
2957
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2958
|
+
}, z.core.$strip>>>;
|
|
2902
2959
|
}, z.core.$strip>>;
|
|
2903
2960
|
/**
|
|
2904
2961
|
* One version of a worker's compensation at your company, effective from its start date until the next version begins.
|
|
@@ -3357,8 +3414,8 @@ export declare const zPayrollFringeBenefitPlanResponseObject: z.ZodObject<{
|
|
|
3357
3414
|
plan_number: z.ZodString;
|
|
3358
3415
|
funded: z.ZodBoolean;
|
|
3359
3416
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
3360
|
-
employer_combined_savings: "employer_combined_savings";
|
|
3361
3417
|
employer_combined_health: "employer_combined_health";
|
|
3418
|
+
employer_combined_savings: "employer_combined_savings";
|
|
3362
3419
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
3363
3420
|
employer_training: "employer_training";
|
|
3364
3421
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -3384,8 +3441,8 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
|
|
|
3384
3441
|
plan_number: z.ZodString;
|
|
3385
3442
|
funded: z.ZodOptional<z.ZodBoolean>;
|
|
3386
3443
|
benefit_category: z.ZodEnum<{
|
|
3387
|
-
employer_combined_savings: "employer_combined_savings";
|
|
3388
3444
|
employer_combined_health: "employer_combined_health";
|
|
3445
|
+
employer_combined_savings: "employer_combined_savings";
|
|
3389
3446
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
3390
3447
|
employer_training: "employer_training";
|
|
3391
3448
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -3404,13 +3461,12 @@ export declare const zPayrollFringeBenefitPlanParameters: z.ZodObject<{
|
|
|
3404
3461
|
* Request body for updating a fringe-benefit plan. Send only the fields to change.
|
|
3405
3462
|
*/
|
|
3406
3463
|
export declare const zPayrollFringeBenefitPlanUpdateParameters: z.ZodObject<{
|
|
3407
|
-
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
3408
3464
|
name: z.ZodOptional<z.ZodString>;
|
|
3409
3465
|
plan_number: z.ZodOptional<z.ZodString>;
|
|
3410
3466
|
funded: z.ZodOptional<z.ZodBoolean>;
|
|
3411
3467
|
benefit_category: z.ZodOptional<z.ZodEnum<{
|
|
3412
|
-
employer_combined_savings: "employer_combined_savings";
|
|
3413
3468
|
employer_combined_health: "employer_combined_health";
|
|
3469
|
+
employer_combined_savings: "employer_combined_savings";
|
|
3414
3470
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
3415
3471
|
employer_training: "employer_training";
|
|
3416
3472
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -3579,7 +3635,7 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
|
3579
3635
|
updated_at: z.ZodISODateTime;
|
|
3580
3636
|
}, z.core.$strip>;
|
|
3581
3637
|
/**
|
|
3582
|
-
* Create a payroll run.
|
|
3638
|
+
* Create a payroll run. Company-scoped keys and company-admin user-scoped keys accept the same fields. Manager and technician user keys cannot create runs. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id.
|
|
3583
3639
|
*/
|
|
3584
3640
|
export declare const zPayrollRunParameters: z.ZodObject<{
|
|
3585
3641
|
company_id: z.ZodString;
|
|
@@ -3597,7 +3653,7 @@ export declare const zPayrollRunParameters: z.ZodObject<{
|
|
|
3597
3653
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3598
3654
|
}, z.core.$strip>;
|
|
3599
3655
|
/**
|
|
3600
|
-
* Update a payroll run.
|
|
3656
|
+
* Update a payroll run. Company-scoped keys and company-admin user-scoped keys accept the same fields. Manager and technician user keys cannot update runs. Every field is optional — send only what changes. The run's company is fixed at creation.
|
|
3601
3657
|
*/
|
|
3602
3658
|
export declare const zPayrollRunUpdateParameters: z.ZodObject<{
|
|
3603
3659
|
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -3697,7 +3753,6 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
|
3697
3753
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3698
3754
|
name: z.ZodOptional<z.ZodString>;
|
|
3699
3755
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3700
|
-
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3701
3756
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3702
3757
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3703
3758
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -3726,6 +3781,27 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
|
3726
3781
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3727
3782
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
3728
3783
|
}, z.core.$strip>;
|
|
3784
|
+
/**
|
|
3785
|
+
* 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.
|
|
3786
|
+
*/
|
|
3787
|
+
export declare const zProjectSiteResponseObject: z.ZodObject<{
|
|
3788
|
+
id: z.ZodString;
|
|
3789
|
+
site_id: z.ZodString;
|
|
3790
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
3791
|
+
}, z.core.$strip>;
|
|
3792
|
+
/**
|
|
3793
|
+
* 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.
|
|
3794
|
+
*/
|
|
3795
|
+
export declare const zProjectSiteParameters: z.ZodObject<{
|
|
3796
|
+
site_id: z.ZodString;
|
|
3797
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3798
|
+
}, z.core.$strip>;
|
|
3799
|
+
/**
|
|
3800
|
+
* 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.
|
|
3801
|
+
*/
|
|
3802
|
+
export declare const zProjectSiteUpdateParameters: z.ZodObject<{
|
|
3803
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3804
|
+
}, z.core.$strip>;
|
|
3729
3805
|
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
3730
3806
|
id: z.ZodString;
|
|
3731
3807
|
site_id: z.ZodString;
|
|
@@ -3954,11 +4030,11 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
|
|
|
3954
4030
|
category: z.ZodEnum<{
|
|
3955
4031
|
regional: "regional";
|
|
3956
4032
|
job: "job";
|
|
3957
|
-
project: "project";
|
|
3958
4033
|
company: "company";
|
|
3959
4034
|
apprenticeship: "apprenticeship";
|
|
3960
4035
|
certified_payroll: "certified_payroll";
|
|
3961
4036
|
payroll: "payroll";
|
|
4037
|
+
project: "project";
|
|
3962
4038
|
tax_credit: "tax_credit";
|
|
3963
4039
|
timekeeping: "timekeeping";
|
|
3964
4040
|
worker: "worker";
|
|
@@ -4030,11 +4106,11 @@ export declare const zComplianceCheckDetailResponseObject: z.ZodObject<{
|
|
|
4030
4106
|
category: z.ZodEnum<{
|
|
4031
4107
|
regional: "regional";
|
|
4032
4108
|
job: "job";
|
|
4033
|
-
project: "project";
|
|
4034
4109
|
company: "company";
|
|
4035
4110
|
apprenticeship: "apprenticeship";
|
|
4036
4111
|
certified_payroll: "certified_payroll";
|
|
4037
4112
|
payroll: "payroll";
|
|
4113
|
+
project: "project";
|
|
4038
4114
|
tax_credit: "tax_credit";
|
|
4039
4115
|
timekeeping: "timekeeping";
|
|
4040
4116
|
worker: "worker";
|
|
@@ -4096,8 +4172,8 @@ export declare const zTodoInboxTodoResponseObject: z.ZodObject<{
|
|
|
4096
4172
|
id: z.ZodString;
|
|
4097
4173
|
type: z.ZodEnum<{
|
|
4098
4174
|
job: "job";
|
|
4099
|
-
project: "project";
|
|
4100
4175
|
company: "company";
|
|
4176
|
+
project: "project";
|
|
4101
4177
|
}>;
|
|
4102
4178
|
company_id: z.ZodNullable<z.ZodString>;
|
|
4103
4179
|
job_id: z.ZodNullable<z.ZodString>;
|
|
@@ -4155,11 +4231,11 @@ export declare const zTodoInboxComplianceCheckResponseObject: z.ZodObject<{
|
|
|
4155
4231
|
category: z.ZodEnum<{
|
|
4156
4232
|
regional: "regional";
|
|
4157
4233
|
job: "job";
|
|
4158
|
-
project: "project";
|
|
4159
4234
|
company: "company";
|
|
4160
4235
|
apprenticeship: "apprenticeship";
|
|
4161
4236
|
certified_payroll: "certified_payroll";
|
|
4162
4237
|
payroll: "payroll";
|
|
4238
|
+
project: "project";
|
|
4163
4239
|
tax_credit: "tax_credit";
|
|
4164
4240
|
timekeeping: "timekeeping";
|
|
4165
4241
|
worker: "worker";
|
|
@@ -4188,8 +4264,8 @@ export declare const zTodoInboxEntryResponseObject: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4188
4264
|
id: z.ZodString;
|
|
4189
4265
|
type: z.ZodEnum<{
|
|
4190
4266
|
job: "job";
|
|
4191
|
-
project: "project";
|
|
4192
4267
|
company: "company";
|
|
4268
|
+
project: "project";
|
|
4193
4269
|
}>;
|
|
4194
4270
|
company_id: z.ZodNullable<z.ZodString>;
|
|
4195
4271
|
job_id: z.ZodNullable<z.ZodString>;
|
|
@@ -4244,11 +4320,11 @@ export declare const zTodoInboxEntryResponseObject: z.ZodDiscriminatedUnion<[z.Z
|
|
|
4244
4320
|
category: z.ZodEnum<{
|
|
4245
4321
|
regional: "regional";
|
|
4246
4322
|
job: "job";
|
|
4247
|
-
project: "project";
|
|
4248
4323
|
company: "company";
|
|
4249
4324
|
apprenticeship: "apprenticeship";
|
|
4250
4325
|
certified_payroll: "certified_payroll";
|
|
4251
4326
|
payroll: "payroll";
|
|
4327
|
+
project: "project";
|
|
4252
4328
|
tax_credit: "tax_credit";
|
|
4253
4329
|
timekeeping: "timekeeping";
|
|
4254
4330
|
worker: "worker";
|
|
@@ -4294,11 +4370,11 @@ export declare const zComplianceRequirementResponseObject: z.ZodObject<{
|
|
|
4294
4370
|
category: z.ZodEnum<{
|
|
4295
4371
|
regional: "regional";
|
|
4296
4372
|
job: "job";
|
|
4297
|
-
project: "project";
|
|
4298
4373
|
company: "company";
|
|
4299
4374
|
apprenticeship: "apprenticeship";
|
|
4300
4375
|
certified_payroll: "certified_payroll";
|
|
4301
4376
|
payroll: "payroll";
|
|
4377
|
+
project: "project";
|
|
4302
4378
|
tax_credit: "tax_credit";
|
|
4303
4379
|
timekeeping: "timekeeping";
|
|
4304
4380
|
worker: "worker";
|
|
@@ -4351,8 +4427,8 @@ export declare const zPaystubResponseObject: z.ZodObject<{
|
|
|
4351
4427
|
* 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.
|
|
4352
4428
|
*/
|
|
4353
4429
|
export declare const zPaystubParameters: z.ZodObject<{
|
|
4354
|
-
payrolls_payroll_run_id: z.ZodString;
|
|
4355
4430
|
user_id: z.ZodString;
|
|
4431
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
4356
4432
|
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4357
4433
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4358
4434
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4362,7 +4438,6 @@ export declare const zPaystubParameters: z.ZodObject<{
|
|
|
4362
4438
|
*/
|
|
4363
4439
|
export declare const zPaystubUpdateParameters: z.ZodObject<{
|
|
4364
4440
|
payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
|
|
4365
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
4366
4441
|
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4367
4442
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4368
4443
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4410,6 +4485,21 @@ export declare const zPriorPeriodAdjustmentParameters: z.ZodObject<{
|
|
|
4410
4485
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4411
4486
|
pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
4412
4487
|
}, z.core.$strip>;
|
|
4488
|
+
/**
|
|
4489
|
+
* 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.
|
|
4490
|
+
*/
|
|
4491
|
+
export declare const zPriorPeriodAdjustmentUpdateParameters: z.ZodObject<{
|
|
4492
|
+
amount_cents: z.ZodOptional<z.ZodString>;
|
|
4493
|
+
rationale: z.ZodOptional<z.ZodEnum<{
|
|
4494
|
+
other: "other";
|
|
4495
|
+
hours_correction: "hours_correction";
|
|
4496
|
+
pwa_compliance: "pwa_compliance";
|
|
4497
|
+
rate_correction: "rate_correction";
|
|
4498
|
+
}>>;
|
|
4499
|
+
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4500
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4501
|
+
pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
4502
|
+
}, z.core.$strip>;
|
|
4413
4503
|
/**
|
|
4414
4504
|
* What one PWA-tracked job on a time card still owes the worker, from the materialized prevailing-wage compliance view. Read-only.
|
|
4415
4505
|
*/
|
|
@@ -4559,228 +4649,220 @@ export declare const zPaystubLineItemUpdateParameters: z.ZodObject<{
|
|
|
4559
4649
|
payrolls_external_map_id: z.ZodOptional<z.ZodString>;
|
|
4560
4650
|
}, z.core.$strip>;
|
|
4561
4651
|
/**
|
|
4562
|
-
* A
|
|
4652
|
+
* 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.
|
|
4563
4653
|
*/
|
|
4564
|
-
export declare const
|
|
4654
|
+
export declare const zJobSiteResponseObject: z.ZodObject<{
|
|
4565
4655
|
id: z.ZodString;
|
|
4566
|
-
|
|
4567
|
-
|
|
4568
|
-
scoped_to_job_id: z.ZodNullable<z.ZodString>;
|
|
4569
|
-
default: z.ZodBoolean;
|
|
4570
|
-
selectable: z.ZodBoolean;
|
|
4571
|
-
created_at: z.ZodISODateTime;
|
|
4572
|
-
updated_at: z.ZodISODateTime;
|
|
4573
|
-
}, z.core.$strip>;
|
|
4574
|
-
/**
|
|
4575
|
-
* Parameters for creating a company-wide pay-rate rule package.
|
|
4576
|
-
*/
|
|
4577
|
-
export declare const zPayRatesRulePackageParameters: z.ZodObject<{
|
|
4578
|
-
name: z.ZodString;
|
|
4579
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4580
|
-
}, z.core.$strip>;
|
|
4581
|
-
/**
|
|
4582
|
-
* 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.
|
|
4583
|
-
*/
|
|
4584
|
-
export declare const zPayRatesRulePackageUpdateParameters: z.ZodObject<{
|
|
4585
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4586
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4587
|
-
}, z.core.$strip>;
|
|
4588
|
-
/**
|
|
4589
|
-
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
4590
|
-
*/
|
|
4591
|
-
export declare const zPositionParameters: z.ZodObject<{
|
|
4592
|
-
job_id: z.ZodOptional<z.ZodString>;
|
|
4593
|
-
fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4594
|
-
start_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4595
|
-
end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4596
|
-
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4597
|
-
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4598
|
-
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4599
|
-
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
4600
|
-
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4601
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4602
|
-
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4603
|
-
wage_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
4604
|
-
job_wage_determination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4605
|
-
pwa_details_attributes: z.ZodOptional<z.ZodObject<{
|
|
4606
|
-
skill_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4607
|
-
}, z.core.$strip>>;
|
|
4656
|
+
site_id: z.ZodString;
|
|
4657
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
4608
4658
|
}, z.core.$strip>;
|
|
4609
4659
|
/**
|
|
4610
|
-
*
|
|
4660
|
+
* Request body for attaching a site to a job. `site_id` is required; `feature_ids` is optional and defaults to none.
|
|
4611
4661
|
*/
|
|
4612
|
-
export declare const
|
|
4613
|
-
|
|
4614
|
-
|
|
4615
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4616
|
-
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
4662
|
+
export declare const zJobSiteParameters: z.ZodObject<{
|
|
4663
|
+
site_id: z.ZodString;
|
|
4664
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4617
4665
|
}, z.core.$strip>;
|
|
4618
4666
|
/**
|
|
4619
|
-
*
|
|
4667
|
+
* 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.
|
|
4620
4668
|
*/
|
|
4621
|
-
export declare const
|
|
4622
|
-
|
|
4623
|
-
unit_price: z.ZodOptional<z.ZodString>;
|
|
4624
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4625
|
-
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
4669
|
+
export declare const zJobSiteUpdateParameters: z.ZodObject<{
|
|
4670
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4626
4671
|
}, z.core.$strip>;
|
|
4627
4672
|
/**
|
|
4628
|
-
* A
|
|
4673
|
+
* A form-completion task attached to a job — a SurveyJS form assigned to users with a due time, optional recurrence, and reminders. Path `{id}` is the `Tasks::JobFormAssignmentTask` id, not the web show `Task#uid`.
|
|
4629
4674
|
*/
|
|
4630
|
-
export declare const
|
|
4675
|
+
export declare const zJobFormAssignmentResponseObject: z.ZodObject<{
|
|
4631
4676
|
id: z.ZodString;
|
|
4632
4677
|
job_id: z.ZodString;
|
|
4633
|
-
|
|
4634
|
-
|
|
4635
|
-
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
|
|
4639
|
-
|
|
4640
|
-
|
|
4641
|
-
|
|
4642
|
-
|
|
4643
|
-
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
|
|
4647
|
-
|
|
4648
|
-
|
|
4678
|
+
form_definition_id: z.ZodString;
|
|
4679
|
+
name: z.ZodString;
|
|
4680
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4681
|
+
tz_name: z.ZodString;
|
|
4682
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
4683
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
4684
|
+
DAILY: "DAILY";
|
|
4685
|
+
WORKDAILY: "WORKDAILY";
|
|
4686
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4687
|
+
WEEKLY: "WEEKLY";
|
|
4688
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4689
|
+
MONTHLY: "MONTHLY";
|
|
4690
|
+
QUARTERLY: "QUARTERLY";
|
|
4691
|
+
}>>;
|
|
4692
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
4693
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
4694
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
4695
|
+
offset: z.ZodString;
|
|
4696
|
+
remind_at: z.ZodISODateTime;
|
|
4697
|
+
}, z.core.$strip>>;
|
|
4649
4698
|
}, z.core.$strip>;
|
|
4650
4699
|
/**
|
|
4651
|
-
*
|
|
4700
|
+
* A form-completion task attached to a site — a SurveyJS form assigned to users with a due time, optional recurrence, and reminders. Path `{id}` is the `Tasks::SiteFormAssignmentTask` id, not the web show `Task#uid`. Sites are shared across companies; another company's assignment on the same site is not found. An empty assignee list is valid.
|
|
4652
4701
|
*/
|
|
4653
|
-
export declare const
|
|
4654
|
-
|
|
4655
|
-
|
|
4656
|
-
|
|
4657
|
-
|
|
4658
|
-
|
|
4659
|
-
|
|
4660
|
-
|
|
4661
|
-
|
|
4702
|
+
export declare const zSiteFormAssignmentResponseObject: z.ZodObject<{
|
|
4703
|
+
id: z.ZodString;
|
|
4704
|
+
site_id: z.ZodString;
|
|
4705
|
+
form_definition_id: z.ZodString;
|
|
4706
|
+
name: z.ZodString;
|
|
4707
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4708
|
+
tz_name: z.ZodString;
|
|
4709
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
4710
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
4711
|
+
DAILY: "DAILY";
|
|
4712
|
+
WORKDAILY: "WORKDAILY";
|
|
4713
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4714
|
+
WEEKLY: "WEEKLY";
|
|
4715
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4716
|
+
MONTHLY: "MONTHLY";
|
|
4717
|
+
QUARTERLY: "QUARTERLY";
|
|
4718
|
+
}>>;
|
|
4719
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
4720
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
4721
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
4722
|
+
offset: z.ZodString;
|
|
4723
|
+
remind_at: z.ZodISODateTime;
|
|
4662
4724
|
}, z.core.$strip>>;
|
|
4663
|
-
}, z.core.$strip
|
|
4725
|
+
}, z.core.$strip>;
|
|
4664
4726
|
/**
|
|
4665
|
-
*
|
|
4727
|
+
* Create a site form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). site_id comes from the path and is not part of the body. recurring gates the recurrence fields. An empty task_assignee_user_ids list is valid. The company must hold a SiteClaim on the site with site_forms enabled.
|
|
4666
4728
|
*/
|
|
4667
|
-
export declare const
|
|
4668
|
-
|
|
4669
|
-
|
|
4670
|
-
|
|
4671
|
-
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4675
|
-
|
|
4676
|
-
|
|
4677
|
-
|
|
4678
|
-
|
|
4679
|
-
|
|
4680
|
-
|
|
4681
|
-
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
|
-
|
|
4685
|
-
|
|
4686
|
-
|
|
4687
|
-
|
|
4688
|
-
|
|
4689
|
-
|
|
4690
|
-
|
|
4691
|
-
|
|
4692
|
-
|
|
4693
|
-
|
|
4694
|
-
|
|
4695
|
-
|
|
4696
|
-
|
|
4697
|
-
|
|
4698
|
-
|
|
4699
|
-
|
|
4700
|
-
|
|
4701
|
-
|
|
4702
|
-
|
|
4703
|
-
|
|
4704
|
-
|
|
4705
|
-
|
|
4706
|
-
|
|
4707
|
-
|
|
4708
|
-
|
|
4709
|
-
|
|
4710
|
-
|
|
4711
|
-
|
|
4712
|
-
|
|
4713
|
-
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4717
|
-
|
|
4718
|
-
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4729
|
+
export declare const zSiteFormAssignmentParameters: z.ZodObject<{
|
|
4730
|
+
form_definition_id: z.ZodString;
|
|
4731
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4732
|
+
task_attributes: z.ZodObject<{
|
|
4733
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4734
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4735
|
+
created_by_user_id: z.ZodString;
|
|
4736
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4737
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4738
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4739
|
+
DAILY: "DAILY";
|
|
4740
|
+
WORKDAILY: "WORKDAILY";
|
|
4741
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4742
|
+
WEEKLY: "WEEKLY";
|
|
4743
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4744
|
+
MONTHLY: "MONTHLY";
|
|
4745
|
+
QUARTERLY: "QUARTERLY";
|
|
4746
|
+
}>>>;
|
|
4747
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4748
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4749
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4750
|
+
offset: z.ZodEnum<{
|
|
4751
|
+
PT0S: "PT0S";
|
|
4752
|
+
"PT-1M": "PT-1M";
|
|
4753
|
+
"PT-5M": "PT-5M";
|
|
4754
|
+
"PT-10M": "PT-10M";
|
|
4755
|
+
"PT-15M": "PT-15M";
|
|
4756
|
+
"PT-30M": "PT-30M";
|
|
4757
|
+
"PT-1H": "PT-1H";
|
|
4758
|
+
"PT-2H": "PT-2H";
|
|
4759
|
+
"P-1D": "P-1D";
|
|
4760
|
+
"P-2D": "P-2D";
|
|
4761
|
+
"P-3D": "P-3D";
|
|
4762
|
+
"P-4D": "P-4D";
|
|
4763
|
+
"P-5D": "P-5D";
|
|
4764
|
+
"P-6D": "P-6D";
|
|
4765
|
+
"P-1W": "P-1W";
|
|
4766
|
+
"P-2W": "P-2W";
|
|
4767
|
+
"P-1M": "P-1M";
|
|
4768
|
+
"P-2M": "P-2M";
|
|
4769
|
+
"P-3M": "P-3M";
|
|
4770
|
+
"P-6M": "P-6M";
|
|
4771
|
+
"P-1Y": "P-1Y";
|
|
4772
|
+
PT5M: "PT5M";
|
|
4773
|
+
PT15M: "PT15M";
|
|
4774
|
+
PT30M: "PT30M";
|
|
4775
|
+
PT1H: "PT1H";
|
|
4776
|
+
PT6H: "PT6H";
|
|
4777
|
+
PT12H: "PT12H";
|
|
4778
|
+
P1D: "P1D";
|
|
4779
|
+
P2D: "P2D";
|
|
4780
|
+
P3D: "P3D";
|
|
4781
|
+
P4D: "P4D";
|
|
4782
|
+
P5D: "P5D";
|
|
4783
|
+
P6D: "P6D";
|
|
4784
|
+
P1W: "P1W";
|
|
4785
|
+
P2W: "P2W";
|
|
4786
|
+
P3W: "P3W";
|
|
4787
|
+
}>;
|
|
4788
|
+
}, z.core.$strip>>>;
|
|
4789
|
+
}, z.core.$strip>;
|
|
4722
4790
|
}, z.core.$strip>;
|
|
4723
4791
|
/**
|
|
4724
|
-
*
|
|
4792
|
+
* Update a site form assignment. All fields are optional — send only what changes. site_id comes from the path and cannot be sent. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied. An empty task_assignee_user_ids list is valid. The creator is set at creation and cannot be sent.
|
|
4725
4793
|
*/
|
|
4726
|
-
export declare const
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4741
|
-
|
|
4742
|
-
|
|
4794
|
+
export declare const zSiteFormAssignmentUpdateParameters: z.ZodObject<{
|
|
4795
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
4796
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4797
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
4798
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4799
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4800
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4801
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4802
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4803
|
+
DAILY: "DAILY";
|
|
4804
|
+
WORKDAILY: "WORKDAILY";
|
|
4805
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4806
|
+
WEEKLY: "WEEKLY";
|
|
4807
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4808
|
+
MONTHLY: "MONTHLY";
|
|
4809
|
+
QUARTERLY: "QUARTERLY";
|
|
4810
|
+
}>>>;
|
|
4811
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4812
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4813
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4814
|
+
offset: z.ZodEnum<{
|
|
4815
|
+
PT0S: "PT0S";
|
|
4816
|
+
"PT-1M": "PT-1M";
|
|
4817
|
+
"PT-5M": "PT-5M";
|
|
4818
|
+
"PT-10M": "PT-10M";
|
|
4819
|
+
"PT-15M": "PT-15M";
|
|
4820
|
+
"PT-30M": "PT-30M";
|
|
4821
|
+
"PT-1H": "PT-1H";
|
|
4822
|
+
"PT-2H": "PT-2H";
|
|
4823
|
+
"P-1D": "P-1D";
|
|
4824
|
+
"P-2D": "P-2D";
|
|
4825
|
+
"P-3D": "P-3D";
|
|
4826
|
+
"P-4D": "P-4D";
|
|
4827
|
+
"P-5D": "P-5D";
|
|
4828
|
+
"P-6D": "P-6D";
|
|
4829
|
+
"P-1W": "P-1W";
|
|
4830
|
+
"P-2W": "P-2W";
|
|
4831
|
+
"P-1M": "P-1M";
|
|
4832
|
+
"P-2M": "P-2M";
|
|
4833
|
+
"P-3M": "P-3M";
|
|
4834
|
+
"P-6M": "P-6M";
|
|
4835
|
+
"P-1Y": "P-1Y";
|
|
4836
|
+
PT5M: "PT5M";
|
|
4837
|
+
PT15M: "PT15M";
|
|
4838
|
+
PT30M: "PT30M";
|
|
4839
|
+
PT1H: "PT1H";
|
|
4840
|
+
PT6H: "PT6H";
|
|
4841
|
+
PT12H: "PT12H";
|
|
4842
|
+
P1D: "P1D";
|
|
4843
|
+
P2D: "P2D";
|
|
4844
|
+
P3D: "P3D";
|
|
4845
|
+
P4D: "P4D";
|
|
4846
|
+
P5D: "P5D";
|
|
4847
|
+
P6D: "P6D";
|
|
4848
|
+
P1W: "P1W";
|
|
4849
|
+
P2W: "P2W";
|
|
4850
|
+
P3W: "P3W";
|
|
4851
|
+
}>;
|
|
4852
|
+
}, z.core.$strip>>>;
|
|
4853
|
+
}, z.core.$strip>>;
|
|
4743
4854
|
}, z.core.$strip>;
|
|
4744
4855
|
/**
|
|
4745
|
-
* A
|
|
4856
|
+
* A form-completion task attached to a site feature — a SurveyJS form assigned to users with a due time, optional recurrence, and reminders. Path `{id}` is the `Tasks::FeatureFormAssignmentTask` id, not the web show `Task#uid`. Sites and features are shared across companies; another company's assignment on the same feature is not found. An empty assignee list is valid. The assignment does not include site_id.
|
|
4746
4857
|
*/
|
|
4747
|
-
export declare const
|
|
4858
|
+
export declare const zFeatureFormAssignmentResponseObject: z.ZodObject<{
|
|
4748
4859
|
id: z.ZodString;
|
|
4749
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
4750
|
-
completable_id: z.ZodString;
|
|
4751
|
-
created_by_user_id: z.ZodString;
|
|
4752
|
-
production_job_scope_price_id: z.ZodString;
|
|
4753
|
-
job_id: z.ZodString;
|
|
4754
|
-
scope_kind: z.ZodString;
|
|
4755
|
-
unit_of_measure: z.ZodString;
|
|
4756
|
-
position_ids: z.ZodArray<z.ZodString>;
|
|
4757
4860
|
feature_id: z.ZodString;
|
|
4758
|
-
created_at: z.ZodISODateTime;
|
|
4759
|
-
updated_at: z.ZodISODateTime;
|
|
4760
|
-
work_date: z.ZodISODate;
|
|
4761
|
-
completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
|
|
4762
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
4763
|
-
id: z.ZodString;
|
|
4764
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
4765
|
-
completable_id: z.ZodString;
|
|
4766
|
-
created_by_user_id: z.ZodString;
|
|
4767
|
-
production_job_scope_price_id: z.ZodString;
|
|
4768
|
-
job_id: z.ZodString;
|
|
4769
|
-
scope_kind: z.ZodString;
|
|
4770
|
-
unit_of_measure: z.ZodString;
|
|
4771
|
-
position_ids: z.ZodArray<z.ZodString>;
|
|
4772
|
-
quantity_completed: z.ZodInt;
|
|
4773
|
-
created_at: z.ZodISODateTime;
|
|
4774
|
-
updated_at: z.ZodISODateTime;
|
|
4775
|
-
work_date: z.ZodISODate;
|
|
4776
|
-
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
4777
|
-
}, z.core.$strip>], "completable_type">;
|
|
4778
|
-
/**
|
|
4779
|
-
* The form-assignment tasks created by one request — assigning a form to one or more users, each with a due time and optional recurrence and reminders. Returned as an array because a request can spread the assignment into one task per assignee.
|
|
4780
|
-
*/
|
|
4781
|
-
export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
4782
|
-
id: z.ZodString;
|
|
4783
4861
|
form_definition_id: z.ZodString;
|
|
4862
|
+
name: z.ZodString;
|
|
4863
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4864
|
+
tz_name: z.ZodString;
|
|
4865
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
4784
4866
|
frequency: z.ZodNullable<z.ZodEnum<{
|
|
4785
4867
|
DAILY: "DAILY";
|
|
4786
4868
|
WORKDAILY: "WORKDAILY";
|
|
@@ -4791,51 +4873,558 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
4791
4873
|
QUARTERLY: "QUARTERLY";
|
|
4792
4874
|
}>>;
|
|
4793
4875
|
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
4794
|
-
time_due: z.ZodISODateTime;
|
|
4795
|
-
tz_name: z.ZodString;
|
|
4796
|
-
name: z.ZodString;
|
|
4797
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4798
4876
|
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
4799
4877
|
reminders: z.ZodArray<z.ZodObject<{
|
|
4800
4878
|
offset: z.ZodString;
|
|
4801
4879
|
remind_at: z.ZodISODateTime;
|
|
4802
4880
|
}, z.core.$strip>>;
|
|
4803
|
-
}, z.core.$strip>>;
|
|
4804
|
-
/**
|
|
4805
|
-
* 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.
|
|
4806
|
-
*/
|
|
4807
|
-
export declare const zCertificationParameters: z.ZodObject<{
|
|
4808
|
-
company_id: z.ZodString;
|
|
4809
|
-
name: z.ZodString;
|
|
4810
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4811
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4812
|
-
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4813
|
-
}, z.core.$strip>;
|
|
4814
|
-
/**
|
|
4815
|
-
* 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.
|
|
4816
|
-
*/
|
|
4817
|
-
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
4818
|
-
name: z.ZodOptional<z.ZodString>;
|
|
4819
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4820
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4821
|
-
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4822
|
-
}, z.core.$strip>;
|
|
4823
|
-
/**
|
|
4824
|
-
* A certification package — a named set of certifications your company requires together.
|
|
4825
|
-
*/
|
|
4826
|
-
export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
4827
|
-
id: z.ZodString;
|
|
4828
|
-
name: z.ZodString;
|
|
4829
|
-
description: z.ZodNullable<z.ZodString>;
|
|
4830
|
-
company_id: z.ZodString;
|
|
4831
|
-
certification_ids: z.ZodArray<z.ZodString>;
|
|
4832
|
-
created_by_user_id: z.ZodString;
|
|
4833
|
-
updated_by_user_id: z.ZodString;
|
|
4834
|
-
created_at: z.ZodISODateTime;
|
|
4835
|
-
updated_at: z.ZodISODateTime;
|
|
4836
4881
|
}, z.core.$strip>;
|
|
4837
4882
|
/**
|
|
4838
|
-
*
|
|
4883
|
+
* Create a feature form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). site_id and feature_id come from the path and are not part of the body. recurring gates the recurrence fields. An empty task_assignee_user_ids list is valid. The company must hold a SiteClaim on the path's site with site_forms enabled, and the feature must belong to that site.
|
|
4884
|
+
*/
|
|
4885
|
+
export declare const zFeatureFormAssignmentParameters: z.ZodObject<{
|
|
4886
|
+
form_definition_id: z.ZodString;
|
|
4887
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4888
|
+
task_attributes: z.ZodObject<{
|
|
4889
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4890
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4891
|
+
created_by_user_id: z.ZodString;
|
|
4892
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4893
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4894
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4895
|
+
DAILY: "DAILY";
|
|
4896
|
+
WORKDAILY: "WORKDAILY";
|
|
4897
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4898
|
+
WEEKLY: "WEEKLY";
|
|
4899
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4900
|
+
MONTHLY: "MONTHLY";
|
|
4901
|
+
QUARTERLY: "QUARTERLY";
|
|
4902
|
+
}>>>;
|
|
4903
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4904
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4905
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4906
|
+
offset: z.ZodEnum<{
|
|
4907
|
+
PT0S: "PT0S";
|
|
4908
|
+
"PT-1M": "PT-1M";
|
|
4909
|
+
"PT-5M": "PT-5M";
|
|
4910
|
+
"PT-10M": "PT-10M";
|
|
4911
|
+
"PT-15M": "PT-15M";
|
|
4912
|
+
"PT-30M": "PT-30M";
|
|
4913
|
+
"PT-1H": "PT-1H";
|
|
4914
|
+
"PT-2H": "PT-2H";
|
|
4915
|
+
"P-1D": "P-1D";
|
|
4916
|
+
"P-2D": "P-2D";
|
|
4917
|
+
"P-3D": "P-3D";
|
|
4918
|
+
"P-4D": "P-4D";
|
|
4919
|
+
"P-5D": "P-5D";
|
|
4920
|
+
"P-6D": "P-6D";
|
|
4921
|
+
"P-1W": "P-1W";
|
|
4922
|
+
"P-2W": "P-2W";
|
|
4923
|
+
"P-1M": "P-1M";
|
|
4924
|
+
"P-2M": "P-2M";
|
|
4925
|
+
"P-3M": "P-3M";
|
|
4926
|
+
"P-6M": "P-6M";
|
|
4927
|
+
"P-1Y": "P-1Y";
|
|
4928
|
+
PT5M: "PT5M";
|
|
4929
|
+
PT15M: "PT15M";
|
|
4930
|
+
PT30M: "PT30M";
|
|
4931
|
+
PT1H: "PT1H";
|
|
4932
|
+
PT6H: "PT6H";
|
|
4933
|
+
PT12H: "PT12H";
|
|
4934
|
+
P1D: "P1D";
|
|
4935
|
+
P2D: "P2D";
|
|
4936
|
+
P3D: "P3D";
|
|
4937
|
+
P4D: "P4D";
|
|
4938
|
+
P5D: "P5D";
|
|
4939
|
+
P6D: "P6D";
|
|
4940
|
+
P1W: "P1W";
|
|
4941
|
+
P2W: "P2W";
|
|
4942
|
+
P3W: "P3W";
|
|
4943
|
+
}>;
|
|
4944
|
+
}, z.core.$strip>>>;
|
|
4945
|
+
}, z.core.$strip>;
|
|
4946
|
+
}, z.core.$strip>;
|
|
4947
|
+
/**
|
|
4948
|
+
* Update a feature form assignment. All fields are optional — send only what changes. site_id and feature_id come from the path and cannot be sent. recurring gates the recurrence fields, and task_attributes.reminders_attributes replaces the existing reminder set when supplied. An empty task_assignee_user_ids list is valid. The creator is set at creation and cannot be sent.
|
|
4949
|
+
*/
|
|
4950
|
+
export declare const zFeatureFormAssignmentUpdateParameters: z.ZodObject<{
|
|
4951
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
4952
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4953
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
4954
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4955
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4956
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4957
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4958
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
4959
|
+
DAILY: "DAILY";
|
|
4960
|
+
WORKDAILY: "WORKDAILY";
|
|
4961
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
4962
|
+
WEEKLY: "WEEKLY";
|
|
4963
|
+
BIWEEKLY: "BIWEEKLY";
|
|
4964
|
+
MONTHLY: "MONTHLY";
|
|
4965
|
+
QUARTERLY: "QUARTERLY";
|
|
4966
|
+
}>>>;
|
|
4967
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4968
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4969
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4970
|
+
offset: z.ZodEnum<{
|
|
4971
|
+
PT0S: "PT0S";
|
|
4972
|
+
"PT-1M": "PT-1M";
|
|
4973
|
+
"PT-5M": "PT-5M";
|
|
4974
|
+
"PT-10M": "PT-10M";
|
|
4975
|
+
"PT-15M": "PT-15M";
|
|
4976
|
+
"PT-30M": "PT-30M";
|
|
4977
|
+
"PT-1H": "PT-1H";
|
|
4978
|
+
"PT-2H": "PT-2H";
|
|
4979
|
+
"P-1D": "P-1D";
|
|
4980
|
+
"P-2D": "P-2D";
|
|
4981
|
+
"P-3D": "P-3D";
|
|
4982
|
+
"P-4D": "P-4D";
|
|
4983
|
+
"P-5D": "P-5D";
|
|
4984
|
+
"P-6D": "P-6D";
|
|
4985
|
+
"P-1W": "P-1W";
|
|
4986
|
+
"P-2W": "P-2W";
|
|
4987
|
+
"P-1M": "P-1M";
|
|
4988
|
+
"P-2M": "P-2M";
|
|
4989
|
+
"P-3M": "P-3M";
|
|
4990
|
+
"P-6M": "P-6M";
|
|
4991
|
+
"P-1Y": "P-1Y";
|
|
4992
|
+
PT5M: "PT5M";
|
|
4993
|
+
PT15M: "PT15M";
|
|
4994
|
+
PT30M: "PT30M";
|
|
4995
|
+
PT1H: "PT1H";
|
|
4996
|
+
PT6H: "PT6H";
|
|
4997
|
+
PT12H: "PT12H";
|
|
4998
|
+
P1D: "P1D";
|
|
4999
|
+
P2D: "P2D";
|
|
5000
|
+
P3D: "P3D";
|
|
5001
|
+
P4D: "P4D";
|
|
5002
|
+
P5D: "P5D";
|
|
5003
|
+
P6D: "P6D";
|
|
5004
|
+
P1W: "P1W";
|
|
5005
|
+
P2W: "P2W";
|
|
5006
|
+
P3W: "P3W";
|
|
5007
|
+
}>;
|
|
5008
|
+
}, z.core.$strip>>>;
|
|
5009
|
+
}, z.core.$strip>>;
|
|
5010
|
+
}, z.core.$strip>;
|
|
5011
|
+
/**
|
|
5012
|
+
* Create a job form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). job_id comes from the path and is not part of the body. recurring gates the recurrence fields. An assignee outside the credential company returns 422, and a creator outside it returns 403.
|
|
5013
|
+
*/
|
|
5014
|
+
export declare const zJobFormAssignmentParameters: z.ZodObject<{
|
|
5015
|
+
form_definition_id: z.ZodString;
|
|
5016
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
5017
|
+
task_attributes: z.ZodObject<{
|
|
5018
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5019
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5020
|
+
created_by_user_id: z.ZodString;
|
|
5021
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5022
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5023
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5024
|
+
DAILY: "DAILY";
|
|
5025
|
+
WORKDAILY: "WORKDAILY";
|
|
5026
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
5027
|
+
WEEKLY: "WEEKLY";
|
|
5028
|
+
BIWEEKLY: "BIWEEKLY";
|
|
5029
|
+
MONTHLY: "MONTHLY";
|
|
5030
|
+
QUARTERLY: "QUARTERLY";
|
|
5031
|
+
}>>>;
|
|
5032
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5033
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5034
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5035
|
+
offset: z.ZodEnum<{
|
|
5036
|
+
PT0S: "PT0S";
|
|
5037
|
+
"PT-1M": "PT-1M";
|
|
5038
|
+
"PT-5M": "PT-5M";
|
|
5039
|
+
"PT-10M": "PT-10M";
|
|
5040
|
+
"PT-15M": "PT-15M";
|
|
5041
|
+
"PT-30M": "PT-30M";
|
|
5042
|
+
"PT-1H": "PT-1H";
|
|
5043
|
+
"PT-2H": "PT-2H";
|
|
5044
|
+
"P-1D": "P-1D";
|
|
5045
|
+
"P-2D": "P-2D";
|
|
5046
|
+
"P-3D": "P-3D";
|
|
5047
|
+
"P-4D": "P-4D";
|
|
5048
|
+
"P-5D": "P-5D";
|
|
5049
|
+
"P-6D": "P-6D";
|
|
5050
|
+
"P-1W": "P-1W";
|
|
5051
|
+
"P-2W": "P-2W";
|
|
5052
|
+
"P-1M": "P-1M";
|
|
5053
|
+
"P-2M": "P-2M";
|
|
5054
|
+
"P-3M": "P-3M";
|
|
5055
|
+
"P-6M": "P-6M";
|
|
5056
|
+
"P-1Y": "P-1Y";
|
|
5057
|
+
PT5M: "PT5M";
|
|
5058
|
+
PT15M: "PT15M";
|
|
5059
|
+
PT30M: "PT30M";
|
|
5060
|
+
PT1H: "PT1H";
|
|
5061
|
+
PT6H: "PT6H";
|
|
5062
|
+
PT12H: "PT12H";
|
|
5063
|
+
P1D: "P1D";
|
|
5064
|
+
P2D: "P2D";
|
|
5065
|
+
P3D: "P3D";
|
|
5066
|
+
P4D: "P4D";
|
|
5067
|
+
P5D: "P5D";
|
|
5068
|
+
P6D: "P6D";
|
|
5069
|
+
P1W: "P1W";
|
|
5070
|
+
P2W: "P2W";
|
|
5071
|
+
P3W: "P3W";
|
|
5072
|
+
}>;
|
|
5073
|
+
}, z.core.$strip>>>;
|
|
5074
|
+
}, z.core.$strip>;
|
|
5075
|
+
}, z.core.$strip>;
|
|
5076
|
+
/**
|
|
5077
|
+
* Update a job form assignment. All fields are optional — send only what changes. job_id comes from the path and cannot be sent. 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.
|
|
5078
|
+
*/
|
|
5079
|
+
export declare const zJobFormAssignmentUpdateParameters: z.ZodObject<{
|
|
5080
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
5081
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
5082
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
5083
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5084
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5085
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5086
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5087
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
5088
|
+
DAILY: "DAILY";
|
|
5089
|
+
WORKDAILY: "WORKDAILY";
|
|
5090
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
5091
|
+
WEEKLY: "WEEKLY";
|
|
5092
|
+
BIWEEKLY: "BIWEEKLY";
|
|
5093
|
+
MONTHLY: "MONTHLY";
|
|
5094
|
+
QUARTERLY: "QUARTERLY";
|
|
5095
|
+
}>>>;
|
|
5096
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5097
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5098
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5099
|
+
offset: z.ZodEnum<{
|
|
5100
|
+
PT0S: "PT0S";
|
|
5101
|
+
"PT-1M": "PT-1M";
|
|
5102
|
+
"PT-5M": "PT-5M";
|
|
5103
|
+
"PT-10M": "PT-10M";
|
|
5104
|
+
"PT-15M": "PT-15M";
|
|
5105
|
+
"PT-30M": "PT-30M";
|
|
5106
|
+
"PT-1H": "PT-1H";
|
|
5107
|
+
"PT-2H": "PT-2H";
|
|
5108
|
+
"P-1D": "P-1D";
|
|
5109
|
+
"P-2D": "P-2D";
|
|
5110
|
+
"P-3D": "P-3D";
|
|
5111
|
+
"P-4D": "P-4D";
|
|
5112
|
+
"P-5D": "P-5D";
|
|
5113
|
+
"P-6D": "P-6D";
|
|
5114
|
+
"P-1W": "P-1W";
|
|
5115
|
+
"P-2W": "P-2W";
|
|
5116
|
+
"P-1M": "P-1M";
|
|
5117
|
+
"P-2M": "P-2M";
|
|
5118
|
+
"P-3M": "P-3M";
|
|
5119
|
+
"P-6M": "P-6M";
|
|
5120
|
+
"P-1Y": "P-1Y";
|
|
5121
|
+
PT5M: "PT5M";
|
|
5122
|
+
PT15M: "PT15M";
|
|
5123
|
+
PT30M: "PT30M";
|
|
5124
|
+
PT1H: "PT1H";
|
|
5125
|
+
PT6H: "PT6H";
|
|
5126
|
+
PT12H: "PT12H";
|
|
5127
|
+
P1D: "P1D";
|
|
5128
|
+
P2D: "P2D";
|
|
5129
|
+
P3D: "P3D";
|
|
5130
|
+
P4D: "P4D";
|
|
5131
|
+
P5D: "P5D";
|
|
5132
|
+
P6D: "P6D";
|
|
5133
|
+
P1W: "P1W";
|
|
5134
|
+
P2W: "P2W";
|
|
5135
|
+
P3W: "P3W";
|
|
5136
|
+
}>;
|
|
5137
|
+
}, z.core.$strip>>>;
|
|
5138
|
+
}, z.core.$strip>>;
|
|
5139
|
+
}, z.core.$strip>;
|
|
5140
|
+
/**
|
|
5141
|
+
* A company-owned collection of conditional wage and fringe adjustments, optionally scoped to a job.
|
|
5142
|
+
*/
|
|
5143
|
+
export declare const zPayRatesRulePackageResponseObject: z.ZodObject<{
|
|
5144
|
+
id: z.ZodString;
|
|
5145
|
+
name: z.ZodString;
|
|
5146
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5147
|
+
scoped_to_job_id: z.ZodNullable<z.ZodString>;
|
|
5148
|
+
default: z.ZodBoolean;
|
|
5149
|
+
selectable: z.ZodBoolean;
|
|
5150
|
+
created_at: z.ZodISODateTime;
|
|
5151
|
+
updated_at: z.ZodISODateTime;
|
|
5152
|
+
}, z.core.$strip>;
|
|
5153
|
+
/**
|
|
5154
|
+
* Parameters for creating a company-wide pay-rate rule package.
|
|
5155
|
+
*/
|
|
5156
|
+
export declare const zPayRatesRulePackageParameters: z.ZodObject<{
|
|
5157
|
+
name: z.ZodString;
|
|
5158
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5159
|
+
}, z.core.$strip>;
|
|
5160
|
+
/**
|
|
5161
|
+
* 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.
|
|
5162
|
+
*/
|
|
5163
|
+
export declare const zPayRatesRulePackageUpdateParameters: z.ZodObject<{
|
|
5164
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5165
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5166
|
+
}, z.core.$strip>;
|
|
5167
|
+
/**
|
|
5168
|
+
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
5169
|
+
*/
|
|
5170
|
+
export declare const zPositionParameters: z.ZodObject<{
|
|
5171
|
+
fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5172
|
+
start_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5173
|
+
end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5174
|
+
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5175
|
+
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5176
|
+
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5177
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
5178
|
+
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5179
|
+
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5180
|
+
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5181
|
+
wage_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
5182
|
+
job_wage_determination_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5183
|
+
pwa_details_attributes: z.ZodOptional<z.ZodObject<{
|
|
5184
|
+
skill_level: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5185
|
+
}, z.core.$strip>>;
|
|
5186
|
+
}, z.core.$strip>;
|
|
5187
|
+
/**
|
|
5188
|
+
* Parameters for creating a per-unit scope price on a job. `scope_kind` and `unit_price` are required.
|
|
5189
|
+
*/
|
|
5190
|
+
export declare const zProductionJobScopePriceParameters: z.ZodObject<{
|
|
5191
|
+
scope_kind: z.ZodString;
|
|
5192
|
+
unit_price: z.ZodString;
|
|
5193
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5194
|
+
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
5195
|
+
}, z.core.$strip>;
|
|
5196
|
+
/**
|
|
5197
|
+
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. The resulting price must retain a scope kind and non-negative unit price.
|
|
5198
|
+
*/
|
|
5199
|
+
export declare const zProductionJobScopePriceUpdateParameters: z.ZodObject<{
|
|
5200
|
+
scope_kind: z.ZodOptional<z.ZodString>;
|
|
5201
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
5202
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5203
|
+
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
5204
|
+
}, z.core.$strip>;
|
|
5205
|
+
/**
|
|
5206
|
+
* A per-unit billing price for one scope of work on a job. Production completions bill against these prices.
|
|
5207
|
+
*/
|
|
5208
|
+
export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
|
|
5209
|
+
id: z.ZodString;
|
|
5210
|
+
job_id: z.ZodString;
|
|
5211
|
+
scope_kind: z.ZodString;
|
|
5212
|
+
unit_of_measure: z.ZodString;
|
|
5213
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
5214
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5215
|
+
created_at: z.ZodISODateTime;
|
|
5216
|
+
updated_at: z.ZodISODateTime;
|
|
5217
|
+
}, z.core.$strip>;
|
|
5218
|
+
/**
|
|
5219
|
+
* Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes; quantity completions accept quantity_completed. A key for the other subtype returns 422.
|
|
5220
|
+
*/
|
|
5221
|
+
export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
|
|
5222
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5223
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5224
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5225
|
+
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5226
|
+
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5227
|
+
}, z.core.$strip>>;
|
|
5228
|
+
}, z.core.$strip>;
|
|
5229
|
+
/**
|
|
5230
|
+
* Fields shared by both completion payload kinds.
|
|
5231
|
+
*/
|
|
5232
|
+
export declare const zProductionCompletionBaseParameters: z.ZodObject<{
|
|
5233
|
+
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
5234
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
5235
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5236
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5237
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5238
|
+
}, z.core.$strip>;
|
|
5239
|
+
/**
|
|
5240
|
+
* Payload for completions on feature-tracked jobs (the scope price's job tracks production by feature). quantity_completed is not accepted; the feature reference is immutable after create, so update accepts no completable_attributes at all.
|
|
5241
|
+
*/
|
|
5242
|
+
export declare const zProductionFeatureCompletionParameters: z.ZodIntersection<z.ZodObject<{
|
|
5243
|
+
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
5244
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
5245
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5246
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5247
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5248
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5249
|
+
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5250
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
5251
|
+
}, z.core.$strip>>;
|
|
5252
|
+
}, z.core.$strip>>;
|
|
5253
|
+
/**
|
|
5254
|
+
* Payload for completions on quantity-tracked jobs (the scope price's job tracks production by quantity). feature_id is not accepted.
|
|
5255
|
+
*/
|
|
5256
|
+
export declare const zProductionQuantityCompletionParameters: z.ZodIntersection<z.ZodObject<{
|
|
5257
|
+
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
5258
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
5259
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5260
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5261
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5262
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5263
|
+
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5264
|
+
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5265
|
+
}, z.core.$strip>>;
|
|
5266
|
+
}, z.core.$strip>>;
|
|
5267
|
+
/**
|
|
5268
|
+
* A completion's payload shape follows the production tracking kind of the scope price's job — the server derives the completable subtype from the job, never from the request. Feature-tracked jobs record which feature was completed (feature payload); quantity-tracked jobs record how many units were completed (quantity payload). The two payloads are mutually exclusive: sending the other kind's completable key returns 422.
|
|
5269
|
+
*/
|
|
5270
|
+
export declare const zProductionCompletionParameters: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5271
|
+
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
5272
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
5273
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5274
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5275
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5276
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5277
|
+
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5278
|
+
feature_id: z.ZodOptional<z.ZodString>;
|
|
5279
|
+
}, z.core.$strip>>;
|
|
5280
|
+
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5281
|
+
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
5282
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
5283
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5284
|
+
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5285
|
+
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5286
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5287
|
+
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5288
|
+
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5289
|
+
}, z.core.$strip>>;
|
|
5290
|
+
}, z.core.$strip>>]>;
|
|
5291
|
+
/**
|
|
5292
|
+
* A completion recorded on a feature-tracked job — a unit of scoped work finished by a crew, identifying which feature was completed.
|
|
5293
|
+
*/
|
|
5294
|
+
export declare const zProductionFeatureCompletionResponseObject: z.ZodObject<{
|
|
5295
|
+
id: z.ZodString;
|
|
5296
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5297
|
+
completable_type: z.ZodEnum<{
|
|
5298
|
+
"Production::FeatureCompletion": "Production::FeatureCompletion";
|
|
5299
|
+
}>;
|
|
5300
|
+
completable_id: z.ZodString;
|
|
5301
|
+
created_by_user_id: z.ZodString;
|
|
5302
|
+
production_job_scope_price_id: z.ZodString;
|
|
5303
|
+
job_id: z.ZodString;
|
|
5304
|
+
scope_kind: z.ZodString;
|
|
5305
|
+
unit_of_measure: z.ZodString;
|
|
5306
|
+
position_ids: z.ZodArray<z.ZodString>;
|
|
5307
|
+
feature_id: z.ZodString;
|
|
5308
|
+
created_at: z.ZodISODateTime;
|
|
5309
|
+
updated_at: z.ZodISODateTime;
|
|
5310
|
+
work_date: z.ZodISODate;
|
|
5311
|
+
}, z.core.$strip>;
|
|
5312
|
+
/**
|
|
5313
|
+
* A completion recorded on a quantity-tracked job — a unit of scoped work finished by a crew, counting how many units were completed.
|
|
5314
|
+
*/
|
|
5315
|
+
export declare const zProductionQuantityCompletionResponseObject: z.ZodObject<{
|
|
5316
|
+
id: z.ZodString;
|
|
5317
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5318
|
+
completable_type: z.ZodEnum<{
|
|
5319
|
+
"Production::QuantityCompletion": "Production::QuantityCompletion";
|
|
5320
|
+
}>;
|
|
5321
|
+
completable_id: z.ZodString;
|
|
5322
|
+
created_by_user_id: z.ZodString;
|
|
5323
|
+
production_job_scope_price_id: z.ZodString;
|
|
5324
|
+
job_id: z.ZodString;
|
|
5325
|
+
scope_kind: z.ZodString;
|
|
5326
|
+
unit_of_measure: z.ZodString;
|
|
5327
|
+
position_ids: z.ZodArray<z.ZodString>;
|
|
5328
|
+
quantity_completed: z.ZodInt;
|
|
5329
|
+
created_at: z.ZodISODateTime;
|
|
5330
|
+
updated_at: z.ZodISODateTime;
|
|
5331
|
+
work_date: z.ZodISODate;
|
|
5332
|
+
}, z.core.$strip>;
|
|
5333
|
+
/**
|
|
5334
|
+
* A recorded production completion. The completable_type discriminator selects the feature-tracked or quantity-tracked representation.
|
|
5335
|
+
*/
|
|
5336
|
+
export declare const zProductionCompletionResponseObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5337
|
+
id: z.ZodString;
|
|
5338
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5339
|
+
completable_id: z.ZodString;
|
|
5340
|
+
created_by_user_id: z.ZodString;
|
|
5341
|
+
production_job_scope_price_id: z.ZodString;
|
|
5342
|
+
job_id: z.ZodString;
|
|
5343
|
+
scope_kind: z.ZodString;
|
|
5344
|
+
unit_of_measure: z.ZodString;
|
|
5345
|
+
position_ids: z.ZodArray<z.ZodString>;
|
|
5346
|
+
feature_id: z.ZodString;
|
|
5347
|
+
created_at: z.ZodISODateTime;
|
|
5348
|
+
updated_at: z.ZodISODateTime;
|
|
5349
|
+
work_date: z.ZodISODate;
|
|
5350
|
+
completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
|
|
5351
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
5352
|
+
id: z.ZodString;
|
|
5353
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
5354
|
+
completable_id: z.ZodString;
|
|
5355
|
+
created_by_user_id: z.ZodString;
|
|
5356
|
+
production_job_scope_price_id: z.ZodString;
|
|
5357
|
+
job_id: z.ZodString;
|
|
5358
|
+
scope_kind: z.ZodString;
|
|
5359
|
+
unit_of_measure: z.ZodString;
|
|
5360
|
+
position_ids: z.ZodArray<z.ZodString>;
|
|
5361
|
+
quantity_completed: z.ZodInt;
|
|
5362
|
+
created_at: z.ZodISODateTime;
|
|
5363
|
+
updated_at: z.ZodISODateTime;
|
|
5364
|
+
work_date: z.ZodISODate;
|
|
5365
|
+
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
5366
|
+
}, z.core.$strip>], "completable_type">;
|
|
5367
|
+
/**
|
|
5368
|
+
* The form-assignment tasks created by one request — assigning a form to one or more users, each with a due time and optional recurrence and reminders. Returned as an array because a request can spread the assignment into one task per assignee.
|
|
5369
|
+
*/
|
|
5370
|
+
export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
5371
|
+
id: z.ZodString;
|
|
5372
|
+
form_definition_id: z.ZodString;
|
|
5373
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
5374
|
+
DAILY: "DAILY";
|
|
5375
|
+
WORKDAILY: "WORKDAILY";
|
|
5376
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
5377
|
+
WEEKLY: "WEEKLY";
|
|
5378
|
+
BIWEEKLY: "BIWEEKLY";
|
|
5379
|
+
MONTHLY: "MONTHLY";
|
|
5380
|
+
QUARTERLY: "QUARTERLY";
|
|
5381
|
+
}>>;
|
|
5382
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
5383
|
+
time_due: z.ZodISODateTime;
|
|
5384
|
+
tz_name: z.ZodString;
|
|
5385
|
+
name: z.ZodString;
|
|
5386
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5387
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
5388
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
5389
|
+
offset: z.ZodString;
|
|
5390
|
+
remind_at: z.ZodISODateTime;
|
|
5391
|
+
}, z.core.$strip>>;
|
|
5392
|
+
}, z.core.$strip>>;
|
|
5393
|
+
/**
|
|
5394
|
+
* 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.
|
|
5395
|
+
*/
|
|
5396
|
+
export declare const zCertificationParameters: z.ZodObject<{
|
|
5397
|
+
company_id: z.ZodString;
|
|
5398
|
+
name: z.ZodString;
|
|
5399
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5400
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
5401
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5402
|
+
}, z.core.$strip>;
|
|
5403
|
+
/**
|
|
5404
|
+
* 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.
|
|
5405
|
+
*/
|
|
5406
|
+
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
5407
|
+
name: z.ZodOptional<z.ZodString>;
|
|
5408
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5409
|
+
verified: z.ZodOptional<z.ZodBoolean>;
|
|
5410
|
+
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5411
|
+
}, z.core.$strip>;
|
|
5412
|
+
/**
|
|
5413
|
+
* A certification package — a named set of certifications your company requires together.
|
|
5414
|
+
*/
|
|
5415
|
+
export declare const zCertificationPackageResponseObject: z.ZodObject<{
|
|
5416
|
+
id: z.ZodString;
|
|
5417
|
+
name: z.ZodString;
|
|
5418
|
+
description: z.ZodNullable<z.ZodString>;
|
|
5419
|
+
company_id: z.ZodString;
|
|
5420
|
+
certification_ids: z.ZodArray<z.ZodString>;
|
|
5421
|
+
created_by_user_id: z.ZodString;
|
|
5422
|
+
updated_by_user_id: z.ZodString;
|
|
5423
|
+
created_at: z.ZodISODateTime;
|
|
5424
|
+
updated_at: z.ZodISODateTime;
|
|
5425
|
+
}, z.core.$strip>;
|
|
5426
|
+
/**
|
|
5427
|
+
* 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.
|
|
4839
5428
|
*/
|
|
4840
5429
|
export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
4841
5430
|
name: z.ZodString;
|
|
@@ -4844,7 +5433,7 @@ export declare const zCertificationPackageParameters: z.ZodObject<{
|
|
|
4844
5433
|
performed_by_user_id: z.ZodString;
|
|
4845
5434
|
}, z.core.$strip>;
|
|
4846
5435
|
/**
|
|
4847
|
-
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
5436
|
+
* Request body for updating a certification package — a named set of certifications a company requires together. Include only the fields to change.
|
|
4848
5437
|
*/
|
|
4849
5438
|
export declare const zCertificationPackageUpdateParameters: z.ZodObject<{
|
|
4850
5439
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -4866,7 +5455,7 @@ export declare const zCertificationResponseObject: z.ZodObject<{
|
|
|
4866
5455
|
updated_at: z.ZodISODateTime;
|
|
4867
5456
|
}, z.core.$strip>;
|
|
4868
5457
|
/**
|
|
4869
|
-
* Request body for recording a certification held by a worker — who holds it, which certification, when it was received, and optional proof
|
|
5458
|
+
* Request body for recording a certification held by a worker — who holds it, which certification, when it was received, and optional proof and expiry. Verification is read-only for all API keys; employer approval is a separate action.
|
|
4870
5459
|
*/
|
|
4871
5460
|
export declare const zUserCertificationParameters: z.ZodObject<{
|
|
4872
5461
|
user_id: z.ZodString;
|
|
@@ -4876,15 +5465,12 @@ export declare const zUserCertificationParameters: z.ZodObject<{
|
|
|
4876
5465
|
name: z.ZodString;
|
|
4877
5466
|
content: z.ZodString;
|
|
4878
5467
|
}, z.core.$strip>>>;
|
|
4879
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4880
5468
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4881
5469
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4882
|
-
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4883
5470
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4884
|
-
approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4885
5471
|
}, z.core.$strip>;
|
|
4886
5472
|
/**
|
|
4887
|
-
* 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
|
|
5473
|
+
* 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. Verification is read-only for all API keys. Changes to the worker, certification, receipt date, credential number, proof document, or explicit expiration revoke DSPTCH/provider verification. Unchanged evidence, archiving, and employer approval preserve verification. Changing approved content revokes employer approval; approve through the approval endpoint.
|
|
4888
5474
|
*/
|
|
4889
5475
|
export declare const zUserCertificationUpdateParameters: z.ZodObject<{
|
|
4890
5476
|
user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -4894,12 +5480,15 @@ export declare const zUserCertificationUpdateParameters: z.ZodObject<{
|
|
|
4894
5480
|
name: z.ZodString;
|
|
4895
5481
|
content: z.ZodString;
|
|
4896
5482
|
}, z.core.$strip>>>;
|
|
4897
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
4898
5483
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4899
5484
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4900
|
-
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4901
5485
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
4902
|
-
|
|
5486
|
+
}, z.core.$strip>;
|
|
5487
|
+
/**
|
|
5488
|
+
* Request body for approving a certification held by a worker. A user key approves in its own user's name and sends no body.
|
|
5489
|
+
*/
|
|
5490
|
+
export declare const zUserCertificationApprovalParameters: z.ZodObject<{
|
|
5491
|
+
approved_by_user_id: z.ZodOptional<z.ZodString>;
|
|
4903
5492
|
}, z.core.$strip>;
|
|
4904
5493
|
/**
|
|
4905
5494
|
* A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
|
|
@@ -4909,7 +5498,7 @@ export declare const zUserCertificationResponseObject: z.ZodObject<{
|
|
|
4909
5498
|
user_id: z.ZodString;
|
|
4910
5499
|
certification_id: z.ZodString;
|
|
4911
5500
|
received_at: z.ZodISODateTime;
|
|
4912
|
-
verified: z.ZodBoolean
|
|
5501
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
4913
5502
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
4914
5503
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
4915
5504
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -4970,6 +5559,7 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
4970
5559
|
created_by_company_id: z.ZodString;
|
|
4971
5560
|
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
4972
5561
|
project_id: z.ZodNullable<z.ZodString>;
|
|
5562
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
4973
5563
|
manager_users: z.ZodArray<z.ZodObject<{
|
|
4974
5564
|
id: z.ZodString;
|
|
4975
5565
|
name: z.ZodString;
|
|
@@ -5031,6 +5621,10 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
5031
5621
|
feature: "feature";
|
|
5032
5622
|
quantity: "quantity";
|
|
5033
5623
|
}>;
|
|
5624
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
5625
|
+
custom_field_config_id: z.ZodString;
|
|
5626
|
+
value: z.ZodNullable<z.ZodString>;
|
|
5627
|
+
}, z.core.$strip>>;
|
|
5034
5628
|
}, z.core.$strip>;
|
|
5035
5629
|
/**
|
|
5036
5630
|
* 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.
|
|
@@ -5103,7 +5697,7 @@ export declare const zUserCompanyType: z.ZodNullable<z.ZodEnum<{
|
|
|
5103
5697
|
CONTRACTOR: "CONTRACTOR";
|
|
5104
5698
|
}>>;
|
|
5105
5699
|
/**
|
|
5106
|
-
* 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,
|
|
5700
|
+
* 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.
|
|
5107
5701
|
*/
|
|
5108
5702
|
export declare const zUserResponseObject: z.ZodObject<{
|
|
5109
5703
|
id: z.ZodString;
|
|
@@ -5140,10 +5734,10 @@ export declare const zUserResponseObject: z.ZodObject<{
|
|
|
5140
5734
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
5141
5735
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
5142
5736
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
5143
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
5144
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
5145
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
5146
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
5737
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5738
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5739
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5740
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5147
5741
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
5148
5742
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
5149
5743
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -5155,6 +5749,10 @@ export declare const zUserResponseObject: z.ZodObject<{
|
|
|
5155
5749
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
5156
5750
|
}, z.core.$strip>>;
|
|
5157
5751
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
5752
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5753
|
+
custom_field_config_id: z.ZodString;
|
|
5754
|
+
value: z.ZodNullable<z.ZodString>;
|
|
5755
|
+
}, z.core.$strip>>>;
|
|
5158
5756
|
roles: z.ZodArray<z.ZodString>;
|
|
5159
5757
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
5160
5758
|
id: z.ZodString;
|
|
@@ -5235,7 +5833,6 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
5235
5833
|
}, z.core.$strip>, z.ZodObject<{
|
|
5236
5834
|
skip_invite: z.ZodLiteral<true>;
|
|
5237
5835
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
5238
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
5239
5836
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5240
5837
|
personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5241
5838
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5263,6 +5860,10 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
5263
5860
|
manager_user_id: z.ZodOptional<z.ZodString>;
|
|
5264
5861
|
payroll_id: z.ZodOptional<z.ZodString>;
|
|
5265
5862
|
hourly_rate: z.ZodOptional<z.ZodString>;
|
|
5863
|
+
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
5864
|
+
hourly: "hourly";
|
|
5865
|
+
salary: "salary";
|
|
5866
|
+
}>>;
|
|
5266
5867
|
overtime_eligible: z.ZodOptional<z.ZodString>;
|
|
5267
5868
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodString>;
|
|
5268
5869
|
training_annual_amount: z.ZodOptional<z.ZodString>;
|
|
@@ -5274,6 +5875,10 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
5274
5875
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
5275
5876
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
5276
5877
|
group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
5878
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5879
|
+
custom_field_config_id: z.ZodString;
|
|
5880
|
+
value: z.ZodNullable<z.ZodString>;
|
|
5881
|
+
}, z.core.$strip>>>;
|
|
5277
5882
|
company_user_pwa_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5278
5883
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5279
5884
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -5346,7 +5951,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
5346
5951
|
}, z.core.$strip>>>;
|
|
5347
5952
|
}, z.core.$strip>>;
|
|
5348
5953
|
/**
|
|
5349
|
-
* 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.
|
|
5954
|
+
* 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.
|
|
5350
5955
|
*/
|
|
5351
5956
|
export declare const zUserCompanyParameters: z.ZodObject<{
|
|
5352
5957
|
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -5358,9 +5963,13 @@ export declare const zUserCompanyParameters: z.ZodObject<{
|
|
|
5358
5963
|
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5359
5964
|
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5360
5965
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
5966
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5967
|
+
custom_field_config_id: z.ZodString;
|
|
5968
|
+
value: z.ZodNullable<z.ZodString>;
|
|
5969
|
+
}, z.core.$strip>>>;
|
|
5361
5970
|
}, z.core.$strip>;
|
|
5362
5971
|
/**
|
|
5363
|
-
* 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.
|
|
5972
|
+
* 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.
|
|
5364
5973
|
*/
|
|
5365
5974
|
export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
5366
5975
|
hire_date: z.ZodString;
|
|
@@ -5385,6 +5994,10 @@ export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
|
5385
5994
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5386
5995
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5387
5996
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
5997
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5998
|
+
custom_field_config_id: z.ZodString;
|
|
5999
|
+
value: z.ZodNullable<z.ZodString>;
|
|
6000
|
+
}, z.core.$strip>>>;
|
|
5388
6001
|
}, z.core.$strip>;
|
|
5389
6002
|
/**
|
|
5390
6003
|
* Keyset pagination cursors for the collection.
|
|
@@ -5896,6 +6509,27 @@ export declare const zPaystubLineItemsResponseObject: z.ZodObject<{
|
|
|
5896
6509
|
updated_at: z.ZodISODateTime;
|
|
5897
6510
|
}, z.core.$strip>>;
|
|
5898
6511
|
}, z.core.$strip>;
|
|
6512
|
+
/**
|
|
6513
|
+
* A page of a job's site joins, with pagination metadata and navigation links.
|
|
6514
|
+
*/
|
|
6515
|
+
export declare const zJobSitesResponseObject: z.ZodObject<{
|
|
6516
|
+
meta: z.ZodObject<{
|
|
6517
|
+
page: z.ZodObject<{
|
|
6518
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
6519
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
6520
|
+
}, z.core.$strip>;
|
|
6521
|
+
}, z.core.$strip>;
|
|
6522
|
+
links: z.ZodObject<{
|
|
6523
|
+
self: z.ZodString;
|
|
6524
|
+
first: z.ZodNullable<z.ZodString>;
|
|
6525
|
+
next: z.ZodNullable<z.ZodString>;
|
|
6526
|
+
}, z.core.$strip>;
|
|
6527
|
+
data: z.ZodArray<z.ZodObject<{
|
|
6528
|
+
id: z.ZodString;
|
|
6529
|
+
site_id: z.ZodString;
|
|
6530
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
6531
|
+
}, z.core.$strip>>;
|
|
6532
|
+
}, z.core.$strip>;
|
|
5899
6533
|
/**
|
|
5900
6534
|
* A page of a job's positions, with pagination metadata and navigation links.
|
|
5901
6535
|
*/
|
|
@@ -5989,7 +6623,7 @@ export declare const zUserCertificationsResponseObj: z.ZodObject<{
|
|
|
5989
6623
|
user_id: z.ZodString;
|
|
5990
6624
|
certification_id: z.ZodString;
|
|
5991
6625
|
received_at: z.ZodISODateTime;
|
|
5992
|
-
verified: z.ZodBoolean
|
|
6626
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
5993
6627
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
5994
6628
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
5995
6629
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -8016,6 +8650,11 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
8016
8650
|
container_item_id: z.ZodString;
|
|
8017
8651
|
quantity: z.ZodInt;
|
|
8018
8652
|
}, z.core.$strip>>;
|
|
8653
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
8654
|
+
assets_attribute_id: z.ZodString;
|
|
8655
|
+
value: z.ZodNullable<z.ZodString>;
|
|
8656
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8657
|
+
}, z.core.$strip>>;
|
|
8019
8658
|
images: z.ZodArray<z.ZodObject<{
|
|
8020
8659
|
id: z.ZodString;
|
|
8021
8660
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -8103,7 +8742,7 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
|
8103
8742
|
}, z.core.$strip>>>;
|
|
8104
8743
|
}, z.core.$strip>;
|
|
8105
8744
|
/**
|
|
8106
|
-
* Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
8745
|
+
* Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. `attribute_values` fills the item-level attributes of the product's category. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
8107
8746
|
*/
|
|
8108
8747
|
export declare const zAssetsItemParameters: z.ZodObject<{
|
|
8109
8748
|
name: z.ZodString;
|
|
@@ -8118,6 +8757,11 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
8118
8757
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
8119
8758
|
external_id: z.ZodOptional<z.ZodString>;
|
|
8120
8759
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
8760
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8761
|
+
assets_attribute_id: z.ZodString;
|
|
8762
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8763
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8764
|
+
}, z.core.$strip>>>;
|
|
8121
8765
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8122
8766
|
id: z.ZodOptional<z.ZodString>;
|
|
8123
8767
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -8130,7 +8774,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
8130
8774
|
performed_by_user_id: z.ZodString;
|
|
8131
8775
|
}, z.core.$strip>;
|
|
8132
8776
|
/**
|
|
8133
|
-
* Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater
|
|
8777
|
+
* 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. `attribute_values` upserts the item-level attributes of the product's category.
|
|
8134
8778
|
*/
|
|
8135
8779
|
export declare const zAssetsItemUpdateParameters: z.ZodObject<{
|
|
8136
8780
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -8145,15 +8789,16 @@ export declare const zAssetsItemUpdateParameters: z.ZodObject<{
|
|
|
8145
8789
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
8146
8790
|
external_id: z.ZodOptional<z.ZodString>;
|
|
8147
8791
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
8792
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8793
|
+
assets_attribute_id: z.ZodString;
|
|
8794
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8795
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8796
|
+
}, z.core.$strip>>>;
|
|
8148
8797
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8149
8798
|
id: z.ZodOptional<z.ZodString>;
|
|
8150
8799
|
file: z.ZodOptional<z.ZodString>;
|
|
8151
8800
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
8152
8801
|
}, z.core.$strip>>>;
|
|
8153
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
8154
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
8155
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
8156
|
-
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
8157
8802
|
performed_by_user_id: z.ZodString;
|
|
8158
8803
|
}, z.core.$strip>;
|
|
8159
8804
|
/**
|
|
@@ -8234,7 +8879,7 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
|
8234
8879
|
}, z.core.$strip>>;
|
|
8235
8880
|
}, z.core.$strip>;
|
|
8236
8881
|
/**
|
|
8237
|
-
* Create
|
|
8882
|
+
* 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.
|
|
8238
8883
|
*/
|
|
8239
8884
|
export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
8240
8885
|
form_definition_id: z.ZodString;
|
|
@@ -8243,7 +8888,6 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
8243
8888
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8244
8889
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8245
8890
|
created_by_user_id: z.ZodString;
|
|
8246
|
-
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8247
8891
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
8248
8892
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8249
8893
|
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -8300,7 +8944,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
8300
8944
|
}, z.core.$strip>;
|
|
8301
8945
|
}, z.core.$strip>;
|
|
8302
8946
|
/**
|
|
8303
|
-
* 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.
|
|
8947
|
+
* 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.
|
|
8304
8948
|
*/
|
|
8305
8949
|
export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
|
|
8306
8950
|
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
@@ -8308,8 +8952,6 @@ export declare const zAssetsItemFormAssignmentUpdateParameters: z.ZodObject<{
|
|
|
8308
8952
|
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
8309
8953
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8310
8954
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8311
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
8312
|
-
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8313
8955
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
8314
8956
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8315
8957
|
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -8729,11 +9371,9 @@ export declare const zAssetsSubLocationParameters: z.ZodObject<{
|
|
|
8729
9371
|
code: z.ZodString;
|
|
8730
9372
|
}, z.core.$strip>;
|
|
8731
9373
|
/**
|
|
8732
|
-
* Update a storage location. All fields are optional — send only what changes.
|
|
9374
|
+
* Update a storage location. All fields are optional — send only what changes. Sending assets_site_id or container_item_id on update returns 400 unknown_key. Holder fields are accepted only on create; renaming code cascades new path codes through the node's subtree.
|
|
8733
9375
|
*/
|
|
8734
9376
|
export declare const zAssetsSubLocationUpdateParameters: z.ZodObject<{
|
|
8735
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
8736
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
8737
9377
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8738
9378
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
8739
9379
|
zone: "zone";
|
|
@@ -8818,6 +9458,57 @@ export declare const zAssetsAdjustmentParameters: z.ZodObject<{
|
|
|
8818
9458
|
export declare const zAssetsArchiveParameters: z.ZodObject<{
|
|
8819
9459
|
performed_by_user_id: z.ZodString;
|
|
8820
9460
|
}, z.core.$strip>;
|
|
9461
|
+
/**
|
|
9462
|
+
* A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
|
|
9463
|
+
*/
|
|
9464
|
+
export declare const zUserCertificationResponseObjectWritable: z.ZodObject<{
|
|
9465
|
+
id: z.ZodString;
|
|
9466
|
+
user_id: z.ZodString;
|
|
9467
|
+
certification_id: z.ZodString;
|
|
9468
|
+
received_at: z.ZodISODateTime;
|
|
9469
|
+
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9470
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9471
|
+
credential_id: z.ZodNullable<z.ZodString>;
|
|
9472
|
+
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9473
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9474
|
+
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9475
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9476
|
+
approved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9477
|
+
created_at: z.ZodISODateTime;
|
|
9478
|
+
updated_at: z.ZodISODateTime;
|
|
9479
|
+
}, z.core.$strip>;
|
|
9480
|
+
/**
|
|
9481
|
+
* A page of certifications held by your company's workers.
|
|
9482
|
+
*/
|
|
9483
|
+
export declare const zUserCertificationsResponseObjWritable: z.ZodObject<{
|
|
9484
|
+
meta: z.ZodObject<{
|
|
9485
|
+
page: z.ZodObject<{
|
|
9486
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
9487
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
9488
|
+
}, z.core.$strip>;
|
|
9489
|
+
}, z.core.$strip>;
|
|
9490
|
+
links: z.ZodObject<{
|
|
9491
|
+
self: z.ZodString;
|
|
9492
|
+
first: z.ZodNullable<z.ZodString>;
|
|
9493
|
+
next: z.ZodNullable<z.ZodString>;
|
|
9494
|
+
}, z.core.$strip>;
|
|
9495
|
+
data: z.ZodArray<z.ZodObject<{
|
|
9496
|
+
id: z.ZodString;
|
|
9497
|
+
user_id: z.ZodString;
|
|
9498
|
+
certification_id: z.ZodString;
|
|
9499
|
+
received_at: z.ZodISODateTime;
|
|
9500
|
+
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9501
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9502
|
+
credential_id: z.ZodNullable<z.ZodString>;
|
|
9503
|
+
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9504
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9505
|
+
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9506
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9507
|
+
approved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9508
|
+
created_at: z.ZodISODateTime;
|
|
9509
|
+
updated_at: z.ZodISODateTime;
|
|
9510
|
+
}, z.core.$strip>>;
|
|
9511
|
+
}, z.core.$strip>;
|
|
8821
9512
|
/**
|
|
8822
9513
|
* Success
|
|
8823
9514
|
*/
|
|
@@ -9316,6 +10007,21 @@ export declare const zDeleteEmployerResponse: z.ZodObject<{
|
|
|
9316
10007
|
created_at: z.ZodISODateTime;
|
|
9317
10008
|
updated_at: z.ZodISODateTime;
|
|
9318
10009
|
}, z.core.$strip>;
|
|
10010
|
+
export declare const zGetEmployerPath: z.ZodObject<{
|
|
10011
|
+
program_id: z.ZodString;
|
|
10012
|
+
id: z.ZodString;
|
|
10013
|
+
}, z.core.$strip>;
|
|
10014
|
+
/**
|
|
10015
|
+
* Success
|
|
10016
|
+
*/
|
|
10017
|
+
export declare const zGetEmployerResponse: z.ZodObject<{
|
|
10018
|
+
id: z.ZodString;
|
|
10019
|
+
apprenticeship_program_id: z.ZodString;
|
|
10020
|
+
company_id: z.ZodString;
|
|
10021
|
+
require_timecard_allocation: z.ZodBoolean;
|
|
10022
|
+
created_at: z.ZodISODateTime;
|
|
10023
|
+
updated_at: z.ZodISODateTime;
|
|
10024
|
+
}, z.core.$strip>;
|
|
9319
10025
|
export declare const zUpdateEmployerBody: z.ZodObject<{
|
|
9320
10026
|
company_id: z.ZodOptional<z.ZodString>;
|
|
9321
10027
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -9539,6 +10245,37 @@ export declare const zCreatePeriodResponse: z.ZodObject<{
|
|
|
9539
10245
|
created_at: z.ZodISODateTime;
|
|
9540
10246
|
updated_at: z.ZodISODateTime;
|
|
9541
10247
|
}, z.core.$strip>;
|
|
10248
|
+
export declare const zDeletePeriodPath: z.ZodObject<{
|
|
10249
|
+
wage_schedule_id: z.ZodString;
|
|
10250
|
+
id: z.ZodString;
|
|
10251
|
+
}, z.core.$strip>;
|
|
10252
|
+
/**
|
|
10253
|
+
* No Content
|
|
10254
|
+
*/
|
|
10255
|
+
export declare const zDeletePeriodResponse: z.ZodVoid;
|
|
10256
|
+
export declare const zGetPeriodPath: z.ZodObject<{
|
|
10257
|
+
wage_schedule_id: z.ZodString;
|
|
10258
|
+
id: z.ZodString;
|
|
10259
|
+
}, z.core.$strip>;
|
|
10260
|
+
/**
|
|
10261
|
+
* Success
|
|
10262
|
+
*/
|
|
10263
|
+
export declare const zGetPeriodResponse: z.ZodObject<{
|
|
10264
|
+
id: z.ZodString;
|
|
10265
|
+
apprenticeship_wage_schedule_id: z.ZodString;
|
|
10266
|
+
period_number: z.ZodInt;
|
|
10267
|
+
min_minutes: z.ZodNullable<z.ZodInt>;
|
|
10268
|
+
max_minutes: z.ZodNullable<z.ZodInt>;
|
|
10269
|
+
num_competencies: z.ZodNullable<z.ZodInt>;
|
|
10270
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10271
|
+
wage_percent: z.ZodString;
|
|
10272
|
+
wage_cents: z.ZodString;
|
|
10273
|
+
wage_currency: z.ZodString;
|
|
10274
|
+
fringe_percent: z.ZodNullable<z.ZodString>;
|
|
10275
|
+
fringe_cents: z.ZodNullable<z.ZodString>;
|
|
10276
|
+
created_at: z.ZodISODateTime;
|
|
10277
|
+
updated_at: z.ZodISODateTime;
|
|
10278
|
+
}, z.core.$strip>;
|
|
9542
10279
|
export declare const zUpdatePeriodBody: z.ZodObject<{
|
|
9543
10280
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
9544
10281
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -10793,6 +11530,11 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
10793
11530
|
container_item_id: z.ZodString;
|
|
10794
11531
|
quantity: z.ZodInt;
|
|
10795
11532
|
}, z.core.$strip>>;
|
|
11533
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11534
|
+
assets_attribute_id: z.ZodString;
|
|
11535
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11536
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11537
|
+
}, z.core.$strip>>;
|
|
10796
11538
|
images: z.ZodArray<z.ZodObject<{
|
|
10797
11539
|
id: z.ZodString;
|
|
10798
11540
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -10822,6 +11564,11 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
10822
11564
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
10823
11565
|
external_id: z.ZodOptional<z.ZodString>;
|
|
10824
11566
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
11567
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11568
|
+
assets_attribute_id: z.ZodString;
|
|
11569
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11570
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11571
|
+
}, z.core.$strip>>>;
|
|
10825
11572
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10826
11573
|
id: z.ZodOptional<z.ZodString>;
|
|
10827
11574
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -10865,6 +11612,11 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
10865
11612
|
container_item_id: z.ZodString;
|
|
10866
11613
|
quantity: z.ZodInt;
|
|
10867
11614
|
}, z.core.$strip>>;
|
|
11615
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11616
|
+
assets_attribute_id: z.ZodString;
|
|
11617
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11618
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11619
|
+
}, z.core.$strip>>;
|
|
10868
11620
|
images: z.ZodArray<z.ZodObject<{
|
|
10869
11621
|
id: z.ZodString;
|
|
10870
11622
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -10915,6 +11667,11 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
10915
11667
|
container_item_id: z.ZodString;
|
|
10916
11668
|
quantity: z.ZodInt;
|
|
10917
11669
|
}, z.core.$strip>>;
|
|
11670
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11671
|
+
assets_attribute_id: z.ZodString;
|
|
11672
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11673
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11674
|
+
}, z.core.$strip>>;
|
|
10918
11675
|
images: z.ZodArray<z.ZodObject<{
|
|
10919
11676
|
id: z.ZodString;
|
|
10920
11677
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -10965,6 +11722,11 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
10965
11722
|
container_item_id: z.ZodString;
|
|
10966
11723
|
quantity: z.ZodInt;
|
|
10967
11724
|
}, z.core.$strip>>;
|
|
11725
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11726
|
+
assets_attribute_id: z.ZodString;
|
|
11727
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11728
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11729
|
+
}, z.core.$strip>>;
|
|
10968
11730
|
images: z.ZodArray<z.ZodObject<{
|
|
10969
11731
|
id: z.ZodString;
|
|
10970
11732
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -10993,15 +11755,16 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
10993
11755
|
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
10994
11756
|
external_id: z.ZodOptional<z.ZodString>;
|
|
10995
11757
|
external_system_url: z.ZodOptional<z.ZodString>;
|
|
11758
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11759
|
+
assets_attribute_id: z.ZodString;
|
|
11760
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11761
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11762
|
+
}, z.core.$strip>>>;
|
|
10996
11763
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10997
11764
|
id: z.ZodOptional<z.ZodString>;
|
|
10998
11765
|
file: z.ZodOptional<z.ZodString>;
|
|
10999
11766
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
11000
11767
|
}, z.core.$strip>>>;
|
|
11001
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
11002
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
11003
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
11004
|
-
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
11005
11768
|
performed_by_user_id: z.ZodString;
|
|
11006
11769
|
}, z.core.$strip>;
|
|
11007
11770
|
export declare const zUpdateItemPath: z.ZodObject<{
|
|
@@ -11039,6 +11802,11 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
11039
11802
|
container_item_id: z.ZodString;
|
|
11040
11803
|
quantity: z.ZodInt;
|
|
11041
11804
|
}, z.core.$strip>>;
|
|
11805
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11806
|
+
assets_attribute_id: z.ZodString;
|
|
11807
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11808
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11809
|
+
}, z.core.$strip>>;
|
|
11042
11810
|
images: z.ZodArray<z.ZodObject<{
|
|
11043
11811
|
id: z.ZodString;
|
|
11044
11812
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -11092,6 +11860,11 @@ export declare const zUnarchiveItemResponse: z.ZodObject<{
|
|
|
11092
11860
|
container_item_id: z.ZodString;
|
|
11093
11861
|
quantity: z.ZodInt;
|
|
11094
11862
|
}, z.core.$strip>>;
|
|
11863
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11864
|
+
assets_attribute_id: z.ZodString;
|
|
11865
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11866
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11867
|
+
}, z.core.$strip>>;
|
|
11095
11868
|
images: z.ZodArray<z.ZodObject<{
|
|
11096
11869
|
id: z.ZodString;
|
|
11097
11870
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -11145,6 +11918,11 @@ export declare const zArchiveItemResponse: z.ZodObject<{
|
|
|
11145
11918
|
container_item_id: z.ZodString;
|
|
11146
11919
|
quantity: z.ZodInt;
|
|
11147
11920
|
}, z.core.$strip>>;
|
|
11921
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
11922
|
+
assets_attribute_id: z.ZodString;
|
|
11923
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11924
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
11925
|
+
}, z.core.$strip>>;
|
|
11148
11926
|
images: z.ZodArray<z.ZodObject<{
|
|
11149
11927
|
id: z.ZodString;
|
|
11150
11928
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -11640,7 +12418,6 @@ export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
|
11640
12418
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11641
12419
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11642
12420
|
created_by_user_id: z.ZodString;
|
|
11643
|
-
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11644
12421
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
11645
12422
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11646
12423
|
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -11763,8 +12540,6 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
11763
12540
|
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
11764
12541
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11765
12542
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11766
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
11767
|
-
updated_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11768
12543
|
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
11769
12544
|
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11770
12545
|
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
@@ -12962,7 +13737,7 @@ export declare const zCreateSubLocationBody: z.ZodObject<{
|
|
|
12962
13737
|
code: z.ZodString;
|
|
12963
13738
|
}, z.core.$strip>;
|
|
12964
13739
|
/**
|
|
12965
|
-
* Created
|
|
13740
|
+
* Created with an explicit holder
|
|
12966
13741
|
*/
|
|
12967
13742
|
export declare const zCreateSubLocationResponse: z.ZodObject<{
|
|
12968
13743
|
id: z.ZodString;
|
|
@@ -13037,8 +13812,6 @@ export declare const zGetSubLocationResponse: z.ZodObject<{
|
|
|
13037
13812
|
updated_at: z.ZodISODateTime;
|
|
13038
13813
|
}, z.core.$strip>;
|
|
13039
13814
|
export declare const zUpdateSubLocationBody: z.ZodObject<{
|
|
13040
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
13041
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
13042
13815
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13043
13816
|
kind: z.ZodOptional<z.ZodEnum<{
|
|
13044
13817
|
zone: "zone";
|
|
@@ -13800,6 +14573,55 @@ export declare const zUpdatePackageResponse: z.ZodObject<{
|
|
|
13800
14573
|
created_at: z.ZodISODateTime;
|
|
13801
14574
|
updated_at: z.ZodISODateTime;
|
|
13802
14575
|
}, z.core.$strip>;
|
|
14576
|
+
export declare const zRevokeUserCertificationApprovalPath: z.ZodObject<{
|
|
14577
|
+
user_certification_id: z.ZodString;
|
|
14578
|
+
}, z.core.$strip>;
|
|
14579
|
+
/**
|
|
14580
|
+
* Success
|
|
14581
|
+
*/
|
|
14582
|
+
export declare const zRevokeUserCertificationApprovalResponse: z.ZodObject<{
|
|
14583
|
+
id: z.ZodString;
|
|
14584
|
+
user_id: z.ZodString;
|
|
14585
|
+
certification_id: z.ZodString;
|
|
14586
|
+
received_at: z.ZodISODateTime;
|
|
14587
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
14588
|
+
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
14589
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
14590
|
+
credential_id: z.ZodNullable<z.ZodString>;
|
|
14591
|
+
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14592
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14593
|
+
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14594
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
14595
|
+
approved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
14596
|
+
created_at: z.ZodISODateTime;
|
|
14597
|
+
updated_at: z.ZodISODateTime;
|
|
14598
|
+
}, z.core.$strip>;
|
|
14599
|
+
export declare const zApproveUserCertificationBody: z.ZodObject<{
|
|
14600
|
+
approved_by_user_id: z.ZodOptional<z.ZodString>;
|
|
14601
|
+
}, z.core.$strip>;
|
|
14602
|
+
export declare const zApproveUserCertificationPath: z.ZodObject<{
|
|
14603
|
+
user_certification_id: z.ZodString;
|
|
14604
|
+
}, z.core.$strip>;
|
|
14605
|
+
/**
|
|
14606
|
+
* Success
|
|
14607
|
+
*/
|
|
14608
|
+
export declare const zApproveUserCertificationResponse: z.ZodObject<{
|
|
14609
|
+
id: z.ZodString;
|
|
14610
|
+
user_id: z.ZodString;
|
|
14611
|
+
certification_id: z.ZodString;
|
|
14612
|
+
received_at: z.ZodISODateTime;
|
|
14613
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
14614
|
+
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
14615
|
+
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
14616
|
+
credential_id: z.ZodNullable<z.ZodString>;
|
|
14617
|
+
approved_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14618
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14619
|
+
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
14620
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
14621
|
+
approved_at: z.ZodNullable<z.ZodISODateTime>;
|
|
14622
|
+
created_at: z.ZodISODateTime;
|
|
14623
|
+
updated_at: z.ZodISODateTime;
|
|
14624
|
+
}, z.core.$strip>;
|
|
13803
14625
|
export declare const zListUserCertificationsQuery: z.ZodObject<{
|
|
13804
14626
|
filter: z.ZodOptional<z.ZodString>;
|
|
13805
14627
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -13832,7 +14654,7 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
13832
14654
|
user_id: z.ZodString;
|
|
13833
14655
|
certification_id: z.ZodString;
|
|
13834
14656
|
received_at: z.ZodISODateTime;
|
|
13835
|
-
verified: z.ZodBoolean
|
|
14657
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
13836
14658
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
13837
14659
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
13838
14660
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -13853,12 +14675,9 @@ export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
|
13853
14675
|
name: z.ZodString;
|
|
13854
14676
|
content: z.ZodString;
|
|
13855
14677
|
}, z.core.$strip>>>;
|
|
13856
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
13857
14678
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
13858
14679
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13859
|
-
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13860
14680
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13861
|
-
approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13862
14681
|
}, z.core.$strip>;
|
|
13863
14682
|
/**
|
|
13864
14683
|
* Success
|
|
@@ -13868,7 +14687,7 @@ export declare const zCreateUserCertificationResponse: z.ZodObject<{
|
|
|
13868
14687
|
user_id: z.ZodString;
|
|
13869
14688
|
certification_id: z.ZodString;
|
|
13870
14689
|
received_at: z.ZodISODateTime;
|
|
13871
|
-
verified: z.ZodBoolean
|
|
14690
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
13872
14691
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
13873
14692
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
13874
14693
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -13891,7 +14710,7 @@ export declare const zDeleteUserCertificationResponse: z.ZodObject<{
|
|
|
13891
14710
|
user_id: z.ZodString;
|
|
13892
14711
|
certification_id: z.ZodString;
|
|
13893
14712
|
received_at: z.ZodISODateTime;
|
|
13894
|
-
verified: z.ZodBoolean
|
|
14713
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
13895
14714
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
13896
14715
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
13897
14716
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -13914,7 +14733,7 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
13914
14733
|
user_id: z.ZodString;
|
|
13915
14734
|
certification_id: z.ZodString;
|
|
13916
14735
|
received_at: z.ZodISODateTime;
|
|
13917
|
-
verified: z.ZodBoolean
|
|
14736
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
13918
14737
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
13919
14738
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
13920
14739
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -13934,12 +14753,9 @@ export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
|
13934
14753
|
name: z.ZodString;
|
|
13935
14754
|
content: z.ZodString;
|
|
13936
14755
|
}, z.core.$strip>>>;
|
|
13937
|
-
verified: z.ZodOptional<z.ZodBoolean>;
|
|
13938
14756
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
13939
14757
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13940
|
-
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13941
14758
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13942
|
-
approved_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
13943
14759
|
}, z.core.$strip>;
|
|
13944
14760
|
export declare const zUpdateUserCertificationPath: z.ZodObject<{
|
|
13945
14761
|
id: z.ZodString;
|
|
@@ -13952,7 +14768,7 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
|
|
|
13952
14768
|
user_id: z.ZodString;
|
|
13953
14769
|
certification_id: z.ZodString;
|
|
13954
14770
|
received_at: z.ZodISODateTime;
|
|
13955
|
-
verified: z.ZodBoolean
|
|
14771
|
+
verified: z.ZodReadonly<z.ZodBoolean>;
|
|
13956
14772
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
13957
14773
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
13958
14774
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -13965,6 +14781,9 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
|
|
|
13965
14781
|
updated_at: z.ZodISODateTime;
|
|
13966
14782
|
}, z.core.$strip>;
|
|
13967
14783
|
export declare const zListCertificationsQuery: z.ZodObject<{
|
|
14784
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
14785
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
14786
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
13968
14787
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
13969
14788
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
13970
14789
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -14070,6 +14889,7 @@ export declare const zUpdateCertificationResponse: z.ZodObject<{
|
|
|
14070
14889
|
updated_at: z.ZodISODateTime;
|
|
14071
14890
|
}, z.core.$strip>;
|
|
14072
14891
|
export declare const zListDepartmentsQuery: z.ZodObject<{
|
|
14892
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
14073
14893
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14074
14894
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14075
14895
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -14512,11 +15332,11 @@ export declare const zListChecksResponse: z.ZodObject<{
|
|
|
14512
15332
|
category: z.ZodEnum<{
|
|
14513
15333
|
regional: "regional";
|
|
14514
15334
|
job: "job";
|
|
14515
|
-
project: "project";
|
|
14516
15335
|
company: "company";
|
|
14517
15336
|
apprenticeship: "apprenticeship";
|
|
14518
15337
|
certified_payroll: "certified_payroll";
|
|
14519
15338
|
payroll: "payroll";
|
|
15339
|
+
project: "project";
|
|
14520
15340
|
tax_credit: "tax_credit";
|
|
14521
15341
|
timekeeping: "timekeeping";
|
|
14522
15342
|
worker: "worker";
|
|
@@ -14580,11 +15400,11 @@ export declare const zGetCheckResponse: z.ZodObject<{
|
|
|
14580
15400
|
category: z.ZodEnum<{
|
|
14581
15401
|
regional: "regional";
|
|
14582
15402
|
job: "job";
|
|
14583
|
-
project: "project";
|
|
14584
15403
|
company: "company";
|
|
14585
15404
|
apprenticeship: "apprenticeship";
|
|
14586
15405
|
certified_payroll: "certified_payroll";
|
|
14587
15406
|
payroll: "payroll";
|
|
15407
|
+
project: "project";
|
|
14588
15408
|
tax_credit: "tax_credit";
|
|
14589
15409
|
timekeeping: "timekeeping";
|
|
14590
15410
|
worker: "worker";
|
|
@@ -14665,11 +15485,11 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
|
|
|
14665
15485
|
category: z.ZodEnum<{
|
|
14666
15486
|
regional: "regional";
|
|
14667
15487
|
job: "job";
|
|
14668
|
-
project: "project";
|
|
14669
15488
|
company: "company";
|
|
14670
15489
|
apprenticeship: "apprenticeship";
|
|
14671
15490
|
certified_payroll: "certified_payroll";
|
|
14672
15491
|
payroll: "payroll";
|
|
15492
|
+
project: "project";
|
|
14673
15493
|
tax_credit: "tax_credit";
|
|
14674
15494
|
timekeeping: "timekeeping";
|
|
14675
15495
|
worker: "worker";
|
|
@@ -14749,11 +15569,11 @@ export declare const zListRequirementsResponse: z.ZodObject<{
|
|
|
14749
15569
|
category: z.ZodEnum<{
|
|
14750
15570
|
regional: "regional";
|
|
14751
15571
|
job: "job";
|
|
14752
|
-
project: "project";
|
|
14753
15572
|
company: "company";
|
|
14754
15573
|
apprenticeship: "apprenticeship";
|
|
14755
15574
|
certified_payroll: "certified_payroll";
|
|
14756
15575
|
payroll: "payroll";
|
|
15576
|
+
project: "project";
|
|
14757
15577
|
tax_credit: "tax_credit";
|
|
14758
15578
|
timekeeping: "timekeeping";
|
|
14759
15579
|
worker: "worker";
|
|
@@ -14951,6 +15771,7 @@ export declare const zCreateDirectUploadResponse: z.ZodObject<{
|
|
|
14951
15771
|
}, z.core.$strip>;
|
|
14952
15772
|
}, z.core.$strip>;
|
|
14953
15773
|
export declare const zListFormDefinitionsQuery: z.ZodObject<{
|
|
15774
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
14954
15775
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14955
15776
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14956
15777
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -14998,6 +15819,28 @@ export declare const zListFormDefinitionsResponse: z.ZodObject<{
|
|
|
14998
15819
|
created_at: z.ZodISODateTime;
|
|
14999
15820
|
}, z.core.$strip>>;
|
|
15000
15821
|
}, z.core.$strip>;
|
|
15822
|
+
export declare const zGetFormDefinitionPath: z.ZodObject<{
|
|
15823
|
+
id: z.ZodString;
|
|
15824
|
+
}, z.core.$strip>;
|
|
15825
|
+
/**
|
|
15826
|
+
* Success
|
|
15827
|
+
*/
|
|
15828
|
+
export declare const zGetFormDefinitionResponse: z.ZodObject<{
|
|
15829
|
+
id: z.ZodString;
|
|
15830
|
+
name: z.ZodString;
|
|
15831
|
+
description: z.ZodString;
|
|
15832
|
+
company_id: z.ZodString;
|
|
15833
|
+
modified_by_user_id: z.ZodNullable<z.ZodString>;
|
|
15834
|
+
tags: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
15835
|
+
title_keys: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
15836
|
+
editable: z.ZodBoolean;
|
|
15837
|
+
always_visible: z.ZodBoolean;
|
|
15838
|
+
sensitive_form: z.ZodBoolean;
|
|
15839
|
+
allow_carry_forward: z.ZodBoolean;
|
|
15840
|
+
current_revision: z.ZodNullable<z.ZodInt>;
|
|
15841
|
+
json: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
15842
|
+
created_at: z.ZodISODateTime;
|
|
15843
|
+
}, z.core.$strip>;
|
|
15001
15844
|
export declare const zListFormSubmissionDeltasQuery: z.ZodObject<{
|
|
15002
15845
|
'filter[event]': z.ZodOptional<z.ZodEnum<{
|
|
15003
15846
|
create: "create";
|
|
@@ -15144,6 +15987,9 @@ export declare const zRemoveUserFromGroupResponse: z.ZodObject<{
|
|
|
15144
15987
|
user_id: z.ZodString;
|
|
15145
15988
|
}, z.core.$strip>;
|
|
15146
15989
|
export declare const zListGroupsQuery: z.ZodObject<{
|
|
15990
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
15991
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
15992
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
15147
15993
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
15148
15994
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
15149
15995
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -15186,40 +16032,303 @@ export declare const zDeleteGroupPath: z.ZodObject<{
|
|
|
15186
16032
|
id: z.ZodString;
|
|
15187
16033
|
}, z.core.$strip>;
|
|
15188
16034
|
/**
|
|
15189
|
-
* Success
|
|
16035
|
+
* Success
|
|
16036
|
+
*/
|
|
16037
|
+
export declare const zDeleteGroupResponse: z.ZodObject<{
|
|
16038
|
+
id: z.ZodString;
|
|
16039
|
+
name: z.ZodString;
|
|
16040
|
+
created_at: z.ZodISODateTime;
|
|
16041
|
+
updated_at: z.ZodISODateTime;
|
|
16042
|
+
}, z.core.$strip>;
|
|
16043
|
+
export declare const zGetGroupPath: z.ZodObject<{
|
|
16044
|
+
id: z.ZodString;
|
|
16045
|
+
}, z.core.$strip>;
|
|
16046
|
+
/**
|
|
16047
|
+
* Success
|
|
16048
|
+
*/
|
|
16049
|
+
export declare const zGetGroupResponse: z.ZodObject<{
|
|
16050
|
+
id: z.ZodString;
|
|
16051
|
+
name: z.ZodString;
|
|
16052
|
+
created_at: z.ZodISODateTime;
|
|
16053
|
+
updated_at: z.ZodISODateTime;
|
|
16054
|
+
}, z.core.$strip>;
|
|
16055
|
+
export declare const zUpdateGroupBody: z.ZodObject<{
|
|
16056
|
+
name: z.ZodOptional<z.ZodString>;
|
|
16057
|
+
}, z.core.$strip>;
|
|
16058
|
+
export declare const zUpdateGroupPath: z.ZodObject<{
|
|
16059
|
+
id: z.ZodString;
|
|
16060
|
+
}, z.core.$strip>;
|
|
16061
|
+
/**
|
|
16062
|
+
* Success
|
|
16063
|
+
*/
|
|
16064
|
+
export declare const zUpdateGroupResponse: z.ZodObject<{
|
|
16065
|
+
id: z.ZodString;
|
|
16066
|
+
name: z.ZodString;
|
|
16067
|
+
created_at: z.ZodISODateTime;
|
|
16068
|
+
updated_at: z.ZodISODateTime;
|
|
16069
|
+
}, z.core.$strip>;
|
|
16070
|
+
export declare const zListJobFormAssignmentTasksPath: z.ZodObject<{
|
|
16071
|
+
job_id: z.ZodString;
|
|
16072
|
+
}, z.core.$strip>;
|
|
16073
|
+
export declare const zListJobFormAssignmentTasksQuery: z.ZodObject<{
|
|
16074
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16075
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16076
|
+
page: z.ZodOptional<z.ZodString>;
|
|
16077
|
+
}, z.core.$strip>;
|
|
16078
|
+
/**
|
|
16079
|
+
* Success
|
|
16080
|
+
*/
|
|
16081
|
+
export declare const zListJobFormAssignmentTasksResponse: z.ZodObject<{
|
|
16082
|
+
meta: z.ZodObject<{
|
|
16083
|
+
page: z.ZodObject<{
|
|
16084
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
16085
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
16086
|
+
}, z.core.$strip>;
|
|
16087
|
+
}, z.core.$strip>;
|
|
16088
|
+
links: z.ZodObject<{
|
|
16089
|
+
self: z.ZodString;
|
|
16090
|
+
first: z.ZodNullable<z.ZodString>;
|
|
16091
|
+
next: z.ZodNullable<z.ZodString>;
|
|
16092
|
+
}, z.core.$strip>;
|
|
16093
|
+
data: z.ZodArray<z.ZodObject<{
|
|
16094
|
+
id: z.ZodString;
|
|
16095
|
+
job_id: z.ZodString;
|
|
16096
|
+
form_definition_id: z.ZodString;
|
|
16097
|
+
name: z.ZodString;
|
|
16098
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16099
|
+
tz_name: z.ZodString;
|
|
16100
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
16101
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
16102
|
+
DAILY: "DAILY";
|
|
16103
|
+
WORKDAILY: "WORKDAILY";
|
|
16104
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16105
|
+
WEEKLY: "WEEKLY";
|
|
16106
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16107
|
+
MONTHLY: "MONTHLY";
|
|
16108
|
+
QUARTERLY: "QUARTERLY";
|
|
16109
|
+
}>>;
|
|
16110
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
16111
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
16112
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
16113
|
+
offset: z.ZodString;
|
|
16114
|
+
remind_at: z.ZodISODateTime;
|
|
16115
|
+
}, z.core.$strip>>;
|
|
16116
|
+
}, z.core.$strip>>;
|
|
16117
|
+
}, z.core.$strip>;
|
|
16118
|
+
export declare const zCreateJobFormAssignmentTaskBody: z.ZodObject<{
|
|
16119
|
+
form_definition_id: z.ZodString;
|
|
16120
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
16121
|
+
task_attributes: z.ZodObject<{
|
|
16122
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16123
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16124
|
+
created_by_user_id: z.ZodString;
|
|
16125
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16126
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16127
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16128
|
+
DAILY: "DAILY";
|
|
16129
|
+
WORKDAILY: "WORKDAILY";
|
|
16130
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16131
|
+
WEEKLY: "WEEKLY";
|
|
16132
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16133
|
+
MONTHLY: "MONTHLY";
|
|
16134
|
+
QUARTERLY: "QUARTERLY";
|
|
16135
|
+
}>>>;
|
|
16136
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16137
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16138
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16139
|
+
offset: z.ZodEnum<{
|
|
16140
|
+
PT0S: "PT0S";
|
|
16141
|
+
"PT-1M": "PT-1M";
|
|
16142
|
+
"PT-5M": "PT-5M";
|
|
16143
|
+
"PT-10M": "PT-10M";
|
|
16144
|
+
"PT-15M": "PT-15M";
|
|
16145
|
+
"PT-30M": "PT-30M";
|
|
16146
|
+
"PT-1H": "PT-1H";
|
|
16147
|
+
"PT-2H": "PT-2H";
|
|
16148
|
+
"P-1D": "P-1D";
|
|
16149
|
+
"P-2D": "P-2D";
|
|
16150
|
+
"P-3D": "P-3D";
|
|
16151
|
+
"P-4D": "P-4D";
|
|
16152
|
+
"P-5D": "P-5D";
|
|
16153
|
+
"P-6D": "P-6D";
|
|
16154
|
+
"P-1W": "P-1W";
|
|
16155
|
+
"P-2W": "P-2W";
|
|
16156
|
+
"P-1M": "P-1M";
|
|
16157
|
+
"P-2M": "P-2M";
|
|
16158
|
+
"P-3M": "P-3M";
|
|
16159
|
+
"P-6M": "P-6M";
|
|
16160
|
+
"P-1Y": "P-1Y";
|
|
16161
|
+
PT5M: "PT5M";
|
|
16162
|
+
PT15M: "PT15M";
|
|
16163
|
+
PT30M: "PT30M";
|
|
16164
|
+
PT1H: "PT1H";
|
|
16165
|
+
PT6H: "PT6H";
|
|
16166
|
+
PT12H: "PT12H";
|
|
16167
|
+
P1D: "P1D";
|
|
16168
|
+
P2D: "P2D";
|
|
16169
|
+
P3D: "P3D";
|
|
16170
|
+
P4D: "P4D";
|
|
16171
|
+
P5D: "P5D";
|
|
16172
|
+
P6D: "P6D";
|
|
16173
|
+
P1W: "P1W";
|
|
16174
|
+
P2W: "P2W";
|
|
16175
|
+
P3W: "P3W";
|
|
16176
|
+
}>;
|
|
16177
|
+
}, z.core.$strip>>>;
|
|
16178
|
+
}, z.core.$strip>;
|
|
16179
|
+
}, z.core.$strip>;
|
|
16180
|
+
export declare const zCreateJobFormAssignmentTaskPath: z.ZodObject<{
|
|
16181
|
+
job_id: z.ZodString;
|
|
16182
|
+
}, z.core.$strip>;
|
|
16183
|
+
/**
|
|
16184
|
+
* Created (recurring, with assignees and reminders)
|
|
15190
16185
|
*/
|
|
15191
|
-
export declare const
|
|
16186
|
+
export declare const zCreateJobFormAssignmentTaskResponse: z.ZodObject<{
|
|
15192
16187
|
id: z.ZodString;
|
|
16188
|
+
job_id: z.ZodString;
|
|
16189
|
+
form_definition_id: z.ZodString;
|
|
15193
16190
|
name: z.ZodString;
|
|
15194
|
-
|
|
15195
|
-
|
|
16191
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16192
|
+
tz_name: z.ZodString;
|
|
16193
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
16194
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
16195
|
+
DAILY: "DAILY";
|
|
16196
|
+
WORKDAILY: "WORKDAILY";
|
|
16197
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16198
|
+
WEEKLY: "WEEKLY";
|
|
16199
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16200
|
+
MONTHLY: "MONTHLY";
|
|
16201
|
+
QUARTERLY: "QUARTERLY";
|
|
16202
|
+
}>>;
|
|
16203
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
16204
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
16205
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
16206
|
+
offset: z.ZodString;
|
|
16207
|
+
remind_at: z.ZodISODateTime;
|
|
16208
|
+
}, z.core.$strip>>;
|
|
15196
16209
|
}, z.core.$strip>;
|
|
15197
|
-
export declare const
|
|
16210
|
+
export declare const zGetJobFormAssignmentTaskPath: z.ZodObject<{
|
|
16211
|
+
job_id: z.ZodString;
|
|
15198
16212
|
id: z.ZodString;
|
|
15199
16213
|
}, z.core.$strip>;
|
|
15200
16214
|
/**
|
|
15201
16215
|
* Success
|
|
15202
16216
|
*/
|
|
15203
|
-
export declare const
|
|
16217
|
+
export declare const zGetJobFormAssignmentTaskResponse: z.ZodObject<{
|
|
15204
16218
|
id: z.ZodString;
|
|
16219
|
+
job_id: z.ZodString;
|
|
16220
|
+
form_definition_id: z.ZodString;
|
|
15205
16221
|
name: z.ZodString;
|
|
15206
|
-
|
|
15207
|
-
|
|
16222
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16223
|
+
tz_name: z.ZodString;
|
|
16224
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
16225
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
16226
|
+
DAILY: "DAILY";
|
|
16227
|
+
WORKDAILY: "WORKDAILY";
|
|
16228
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16229
|
+
WEEKLY: "WEEKLY";
|
|
16230
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16231
|
+
MONTHLY: "MONTHLY";
|
|
16232
|
+
QUARTERLY: "QUARTERLY";
|
|
16233
|
+
}>>;
|
|
16234
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
16235
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
16236
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
16237
|
+
offset: z.ZodString;
|
|
16238
|
+
remind_at: z.ZodISODateTime;
|
|
16239
|
+
}, z.core.$strip>>;
|
|
15208
16240
|
}, z.core.$strip>;
|
|
15209
|
-
export declare const
|
|
15210
|
-
|
|
16241
|
+
export declare const zUpdateJobFormAssignmentTaskBody: z.ZodObject<{
|
|
16242
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
16243
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
16244
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
16245
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16246
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16247
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16248
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16249
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16250
|
+
DAILY: "DAILY";
|
|
16251
|
+
WORKDAILY: "WORKDAILY";
|
|
16252
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16253
|
+
WEEKLY: "WEEKLY";
|
|
16254
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16255
|
+
MONTHLY: "MONTHLY";
|
|
16256
|
+
QUARTERLY: "QUARTERLY";
|
|
16257
|
+
}>>>;
|
|
16258
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
16259
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16260
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16261
|
+
offset: z.ZodEnum<{
|
|
16262
|
+
PT0S: "PT0S";
|
|
16263
|
+
"PT-1M": "PT-1M";
|
|
16264
|
+
"PT-5M": "PT-5M";
|
|
16265
|
+
"PT-10M": "PT-10M";
|
|
16266
|
+
"PT-15M": "PT-15M";
|
|
16267
|
+
"PT-30M": "PT-30M";
|
|
16268
|
+
"PT-1H": "PT-1H";
|
|
16269
|
+
"PT-2H": "PT-2H";
|
|
16270
|
+
"P-1D": "P-1D";
|
|
16271
|
+
"P-2D": "P-2D";
|
|
16272
|
+
"P-3D": "P-3D";
|
|
16273
|
+
"P-4D": "P-4D";
|
|
16274
|
+
"P-5D": "P-5D";
|
|
16275
|
+
"P-6D": "P-6D";
|
|
16276
|
+
"P-1W": "P-1W";
|
|
16277
|
+
"P-2W": "P-2W";
|
|
16278
|
+
"P-1M": "P-1M";
|
|
16279
|
+
"P-2M": "P-2M";
|
|
16280
|
+
"P-3M": "P-3M";
|
|
16281
|
+
"P-6M": "P-6M";
|
|
16282
|
+
"P-1Y": "P-1Y";
|
|
16283
|
+
PT5M: "PT5M";
|
|
16284
|
+
PT15M: "PT15M";
|
|
16285
|
+
PT30M: "PT30M";
|
|
16286
|
+
PT1H: "PT1H";
|
|
16287
|
+
PT6H: "PT6H";
|
|
16288
|
+
PT12H: "PT12H";
|
|
16289
|
+
P1D: "P1D";
|
|
16290
|
+
P2D: "P2D";
|
|
16291
|
+
P3D: "P3D";
|
|
16292
|
+
P4D: "P4D";
|
|
16293
|
+
P5D: "P5D";
|
|
16294
|
+
P6D: "P6D";
|
|
16295
|
+
P1W: "P1W";
|
|
16296
|
+
P2W: "P2W";
|
|
16297
|
+
P3W: "P3W";
|
|
16298
|
+
}>;
|
|
16299
|
+
}, z.core.$strip>>>;
|
|
16300
|
+
}, z.core.$strip>>;
|
|
15211
16301
|
}, z.core.$strip>;
|
|
15212
|
-
export declare const
|
|
16302
|
+
export declare const zUpdateJobFormAssignmentTaskPath: z.ZodObject<{
|
|
16303
|
+
job_id: z.ZodString;
|
|
15213
16304
|
id: z.ZodString;
|
|
15214
16305
|
}, z.core.$strip>;
|
|
15215
16306
|
/**
|
|
15216
16307
|
* Success
|
|
15217
16308
|
*/
|
|
15218
|
-
export declare const
|
|
16309
|
+
export declare const zUpdateJobFormAssignmentTaskResponse: z.ZodObject<{
|
|
15219
16310
|
id: z.ZodString;
|
|
16311
|
+
job_id: z.ZodString;
|
|
16312
|
+
form_definition_id: z.ZodString;
|
|
15220
16313
|
name: z.ZodString;
|
|
15221
|
-
|
|
15222
|
-
|
|
16314
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16315
|
+
tz_name: z.ZodString;
|
|
16316
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
16317
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
16318
|
+
DAILY: "DAILY";
|
|
16319
|
+
WORKDAILY: "WORKDAILY";
|
|
16320
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
16321
|
+
WEEKLY: "WEEKLY";
|
|
16322
|
+
BIWEEKLY: "BIWEEKLY";
|
|
16323
|
+
MONTHLY: "MONTHLY";
|
|
16324
|
+
QUARTERLY: "QUARTERLY";
|
|
16325
|
+
}>>;
|
|
16326
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
16327
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
16328
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
16329
|
+
offset: z.ZodString;
|
|
16330
|
+
remind_at: z.ZodISODateTime;
|
|
16331
|
+
}, z.core.$strip>>;
|
|
15223
16332
|
}, z.core.$strip>;
|
|
15224
16333
|
export declare const zListJobScopePricesPath: z.ZodObject<{
|
|
15225
16334
|
job_id: z.ZodString;
|
|
@@ -15256,8 +16365,8 @@ export declare const zListJobScopePricesResponse: z.ZodObject<{
|
|
|
15256
16365
|
job_id: z.ZodString;
|
|
15257
16366
|
scope_kind: z.ZodString;
|
|
15258
16367
|
unit_of_measure: z.ZodString;
|
|
15259
|
-
unit_price: z.ZodString
|
|
15260
|
-
contracted_count: z.ZodNullable<z.ZodInt
|
|
16368
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
16369
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15261
16370
|
created_at: z.ZodISODateTime;
|
|
15262
16371
|
updated_at: z.ZodISODateTime;
|
|
15263
16372
|
}, z.core.$strip>>;
|
|
@@ -15279,8 +16388,8 @@ export declare const zCreateJobScopePriceResponse: z.ZodObject<{
|
|
|
15279
16388
|
job_id: z.ZodString;
|
|
15280
16389
|
scope_kind: z.ZodString;
|
|
15281
16390
|
unit_of_measure: z.ZodString;
|
|
15282
|
-
unit_price: z.ZodString
|
|
15283
|
-
contracted_count: z.ZodNullable<z.ZodInt
|
|
16391
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
16392
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15284
16393
|
created_at: z.ZodISODateTime;
|
|
15285
16394
|
updated_at: z.ZodISODateTime;
|
|
15286
16395
|
}, z.core.$strip>;
|
|
@@ -15296,8 +16405,8 @@ export declare const zDeleteJobScopePriceResponse: z.ZodObject<{
|
|
|
15296
16405
|
job_id: z.ZodString;
|
|
15297
16406
|
scope_kind: z.ZodString;
|
|
15298
16407
|
unit_of_measure: z.ZodString;
|
|
15299
|
-
unit_price: z.ZodString
|
|
15300
|
-
contracted_count: z.ZodNullable<z.ZodInt
|
|
16408
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
16409
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15301
16410
|
created_at: z.ZodISODateTime;
|
|
15302
16411
|
updated_at: z.ZodISODateTime;
|
|
15303
16412
|
}, z.core.$strip>;
|
|
@@ -15313,8 +16422,8 @@ export declare const zGetJobScopePriceResponse: z.ZodObject<{
|
|
|
15313
16422
|
job_id: z.ZodString;
|
|
15314
16423
|
scope_kind: z.ZodString;
|
|
15315
16424
|
unit_of_measure: z.ZodString;
|
|
15316
|
-
unit_price: z.ZodString
|
|
15317
|
-
contracted_count: z.ZodNullable<z.ZodInt
|
|
16425
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
16426
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15318
16427
|
created_at: z.ZodISODateTime;
|
|
15319
16428
|
updated_at: z.ZodISODateTime;
|
|
15320
16429
|
}, z.core.$strip>;
|
|
@@ -15336,8 +16445,8 @@ export declare const zUpdateJobScopePriceResponse: z.ZodObject<{
|
|
|
15336
16445
|
job_id: z.ZodString;
|
|
15337
16446
|
scope_kind: z.ZodString;
|
|
15338
16447
|
unit_of_measure: z.ZodString;
|
|
15339
|
-
unit_price: z.ZodString
|
|
15340
|
-
contracted_count: z.ZodNullable<z.ZodInt
|
|
16448
|
+
unit_price: z.ZodOptional<z.ZodString>;
|
|
16449
|
+
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
15341
16450
|
created_at: z.ZodISODateTime;
|
|
15342
16451
|
updated_at: z.ZodISODateTime;
|
|
15343
16452
|
}, z.core.$strip>;
|
|
@@ -15616,56 +16725,137 @@ export declare const zCreateRateRuleResponse: z.ZodObject<{
|
|
|
15616
16725
|
created_at: z.ZodISODateTime;
|
|
15617
16726
|
updated_at: z.ZodISODateTime;
|
|
15618
16727
|
}, z.core.$strip>;
|
|
15619
|
-
export declare const zGetRateRulePath: z.ZodObject<{
|
|
16728
|
+
export declare const zGetRateRulePath: z.ZodObject<{
|
|
16729
|
+
job_id: z.ZodString;
|
|
16730
|
+
wage_determination_id: z.ZodString;
|
|
16731
|
+
id: z.ZodString;
|
|
16732
|
+
}, z.core.$strip>;
|
|
16733
|
+
export declare const zGetRateRuleQuery: z.ZodObject<{
|
|
16734
|
+
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
16735
|
+
}, z.core.$strip>;
|
|
16736
|
+
/**
|
|
16737
|
+
* Success
|
|
16738
|
+
*/
|
|
16739
|
+
export declare const zGetRateRuleResponse: z.ZodObject<{
|
|
16740
|
+
id: z.ZodString;
|
|
16741
|
+
job_wage_determination_id: z.ZodString;
|
|
16742
|
+
pay_rates_rule_package_id: z.ZodString;
|
|
16743
|
+
effect: z.ZodObject<{
|
|
16744
|
+
type: z.ZodEnum<{
|
|
16745
|
+
wage_increment: "wage_increment";
|
|
16746
|
+
fringe_increment: "fringe_increment";
|
|
16747
|
+
}>;
|
|
16748
|
+
amount_cents: z.ZodString;
|
|
16749
|
+
}, z.core.$strip>;
|
|
16750
|
+
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
16751
|
+
start_time: z.ZodString;
|
|
16752
|
+
end_time: z.ZodString;
|
|
16753
|
+
type: z.ZodLiteral<"time_range">;
|
|
16754
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16755
|
+
days: z.ZodArray<z.ZodInt>;
|
|
16756
|
+
type: z.ZodLiteral<"days">;
|
|
16757
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16758
|
+
date: z.ZodISODate;
|
|
16759
|
+
type: z.ZodLiteral<"specific_date">;
|
|
16760
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16761
|
+
period: z.ZodInt;
|
|
16762
|
+
type: z.ZodLiteral<"apprentice_period">;
|
|
16763
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16764
|
+
min_hours: z.ZodInt;
|
|
16765
|
+
max_hours: z.ZodInt;
|
|
16766
|
+
type: z.ZodLiteral<"apprentice_hours">;
|
|
16767
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
16768
|
+
multiplier: z.ZodEnum<{
|
|
16769
|
+
1.5: "1.5";
|
|
16770
|
+
"2.0": "2.0";
|
|
16771
|
+
}>;
|
|
16772
|
+
type: z.ZodLiteral<"overtime_multiplier">;
|
|
16773
|
+
}, z.core.$strip>], "type">>;
|
|
16774
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
16775
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16776
|
+
created_at: z.ZodISODateTime;
|
|
16777
|
+
updated_at: z.ZodISODateTime;
|
|
16778
|
+
}, z.core.$strip>;
|
|
16779
|
+
export declare const zListJobSitesPath: z.ZodObject<{
|
|
16780
|
+
job_id: z.ZodString;
|
|
16781
|
+
}, z.core.$strip>;
|
|
16782
|
+
export declare const zListJobSitesQuery: z.ZodObject<{
|
|
16783
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
16784
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
16785
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16786
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16787
|
+
page: z.ZodOptional<z.ZodString>;
|
|
16788
|
+
}, z.core.$strip>;
|
|
16789
|
+
/**
|
|
16790
|
+
* Success
|
|
16791
|
+
*/
|
|
16792
|
+
export declare const zListJobSitesResponse: z.ZodObject<{
|
|
16793
|
+
meta: z.ZodObject<{
|
|
16794
|
+
page: z.ZodObject<{
|
|
16795
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
16796
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
16797
|
+
}, z.core.$strip>;
|
|
16798
|
+
}, z.core.$strip>;
|
|
16799
|
+
links: z.ZodObject<{
|
|
16800
|
+
self: z.ZodString;
|
|
16801
|
+
first: z.ZodNullable<z.ZodString>;
|
|
16802
|
+
next: z.ZodNullable<z.ZodString>;
|
|
16803
|
+
}, z.core.$strip>;
|
|
16804
|
+
data: z.ZodArray<z.ZodObject<{
|
|
16805
|
+
id: z.ZodString;
|
|
16806
|
+
site_id: z.ZodString;
|
|
16807
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
16808
|
+
}, z.core.$strip>>;
|
|
16809
|
+
}, z.core.$strip>;
|
|
16810
|
+
export declare const zCreateJobSiteBody: z.ZodObject<{
|
|
16811
|
+
site_id: z.ZodString;
|
|
16812
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16813
|
+
}, z.core.$strip>;
|
|
16814
|
+
export declare const zCreateJobSitePath: z.ZodObject<{
|
|
16815
|
+
job_id: z.ZodString;
|
|
16816
|
+
}, z.core.$strip>;
|
|
16817
|
+
/**
|
|
16818
|
+
* Created
|
|
16819
|
+
*/
|
|
16820
|
+
export declare const zCreateJobSiteResponse: z.ZodObject<{
|
|
16821
|
+
id: z.ZodString;
|
|
16822
|
+
site_id: z.ZodString;
|
|
16823
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
16824
|
+
}, z.core.$strip>;
|
|
16825
|
+
export declare const zDeleteJobSitePath: z.ZodObject<{
|
|
16826
|
+
job_id: z.ZodString;
|
|
16827
|
+
id: z.ZodString;
|
|
16828
|
+
}, z.core.$strip>;
|
|
16829
|
+
/**
|
|
16830
|
+
* No Content
|
|
16831
|
+
*/
|
|
16832
|
+
export declare const zDeleteJobSiteResponse: z.ZodVoid;
|
|
16833
|
+
export declare const zGetJobSitePath: z.ZodObject<{
|
|
16834
|
+
job_id: z.ZodString;
|
|
16835
|
+
id: z.ZodString;
|
|
16836
|
+
}, z.core.$strip>;
|
|
16837
|
+
/**
|
|
16838
|
+
* Success
|
|
16839
|
+
*/
|
|
16840
|
+
export declare const zGetJobSiteResponse: z.ZodObject<{
|
|
16841
|
+
id: z.ZodString;
|
|
16842
|
+
site_id: z.ZodString;
|
|
16843
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
16844
|
+
}, z.core.$strip>;
|
|
16845
|
+
export declare const zUpdateJobSiteBody: z.ZodObject<{
|
|
16846
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
16847
|
+
}, z.core.$strip>;
|
|
16848
|
+
export declare const zUpdateJobSitePath: z.ZodObject<{
|
|
15620
16849
|
job_id: z.ZodString;
|
|
15621
|
-
wage_determination_id: z.ZodString;
|
|
15622
16850
|
id: z.ZodString;
|
|
15623
16851
|
}, z.core.$strip>;
|
|
15624
|
-
export declare const zGetRateRuleQuery: z.ZodObject<{
|
|
15625
|
-
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
15626
|
-
}, z.core.$strip>;
|
|
15627
16852
|
/**
|
|
15628
16853
|
* Success
|
|
15629
16854
|
*/
|
|
15630
|
-
export declare const
|
|
16855
|
+
export declare const zUpdateJobSiteResponse: z.ZodObject<{
|
|
15631
16856
|
id: z.ZodString;
|
|
15632
|
-
|
|
15633
|
-
|
|
15634
|
-
effect: z.ZodObject<{
|
|
15635
|
-
type: z.ZodEnum<{
|
|
15636
|
-
wage_increment: "wage_increment";
|
|
15637
|
-
fringe_increment: "fringe_increment";
|
|
15638
|
-
}>;
|
|
15639
|
-
amount_cents: z.ZodString;
|
|
15640
|
-
}, z.core.$strip>;
|
|
15641
|
-
conditions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
15642
|
-
start_time: z.ZodString;
|
|
15643
|
-
end_time: z.ZodString;
|
|
15644
|
-
type: z.ZodLiteral<"time_range">;
|
|
15645
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15646
|
-
days: z.ZodArray<z.ZodInt>;
|
|
15647
|
-
type: z.ZodLiteral<"days">;
|
|
15648
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15649
|
-
date: z.ZodISODate;
|
|
15650
|
-
type: z.ZodLiteral<"specific_date">;
|
|
15651
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15652
|
-
period: z.ZodInt;
|
|
15653
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
15654
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15655
|
-
min_hours: z.ZodInt;
|
|
15656
|
-
max_hours: z.ZodInt;
|
|
15657
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
15658
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
15659
|
-
multiplier: z.ZodEnum<{
|
|
15660
|
-
1.5: "1.5";
|
|
15661
|
-
"2.0": "2.0";
|
|
15662
|
-
}>;
|
|
15663
|
-
type: z.ZodLiteral<"overtime_multiplier">;
|
|
15664
|
-
}, z.core.$strip>], "type">>;
|
|
15665
|
-
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
15666
|
-
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15667
|
-
created_at: z.ZodISODateTime;
|
|
15668
|
-
updated_at: z.ZodISODateTime;
|
|
16857
|
+
site_id: z.ZodString;
|
|
16858
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
15669
16859
|
}, z.core.$strip>;
|
|
15670
16860
|
export declare const zShiftJobWageDeterminationGenesisBody: z.ZodObject<{
|
|
15671
16861
|
effective_date: z.ZodISODate;
|
|
@@ -16464,6 +17654,8 @@ export declare const zListJobsQuery: z.ZodObject<{
|
|
|
16464
17654
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16465
17655
|
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16466
17656
|
'filter[project_id]': z.ZodOptional<z.ZodString>;
|
|
17657
|
+
'filter[companies_department_id]': z.ZodOptional<z.ZodString>;
|
|
17658
|
+
'filter[companies_department_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
16467
17659
|
'filter[status]': z.ZodOptional<z.ZodString>;
|
|
16468
17660
|
'filter[production_tracking_kind]': z.ZodOptional<z.ZodEnum<{
|
|
16469
17661
|
none: "none";
|
|
@@ -16531,6 +17723,7 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
16531
17723
|
created_by_company_id: z.ZodString;
|
|
16532
17724
|
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
16533
17725
|
project_id: z.ZodNullable<z.ZodString>;
|
|
17726
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
16534
17727
|
manager_users: z.ZodArray<z.ZodObject<{
|
|
16535
17728
|
id: z.ZodString;
|
|
16536
17729
|
name: z.ZodString;
|
|
@@ -16592,20 +17785,23 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
16592
17785
|
feature: "feature";
|
|
16593
17786
|
quantity: "quantity";
|
|
16594
17787
|
}>;
|
|
17788
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
17789
|
+
custom_field_config_id: z.ZodString;
|
|
17790
|
+
value: z.ZodNullable<z.ZodString>;
|
|
17791
|
+
}, z.core.$strip>>;
|
|
16595
17792
|
}, z.core.$strip>>;
|
|
16596
17793
|
}, z.core.$strip>;
|
|
16597
17794
|
/**
|
|
16598
17795
|
* Create a job
|
|
16599
17796
|
*/
|
|
16600
17797
|
export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
16601
|
-
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16602
17798
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16603
17799
|
description: z.ZodOptional<z.ZodString>;
|
|
16604
17800
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
16605
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
16606
17801
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16607
17802
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16608
17803
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17804
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16609
17805
|
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
16610
17806
|
none: "none";
|
|
16611
17807
|
all: "all";
|
|
@@ -16657,10 +17853,6 @@ export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
16657
17853
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16658
17854
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16659
17855
|
}, z.core.$strip>>>;
|
|
16660
|
-
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16661
|
-
custom_field_config_id: z.ZodString;
|
|
16662
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16663
|
-
}, z.core.$strip>>>>;
|
|
16664
17856
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
16665
17857
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16666
17858
|
prime_contractor: "prime_contractor";
|
|
@@ -16682,7 +17874,14 @@ export declare const zCreateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
16682
17874
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16683
17875
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16684
17876
|
}, z.core.$strip>>;
|
|
16685
|
-
}, z.core.$strip>, z.
|
|
17877
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
17878
|
+
created_by_user_id: z.ZodString;
|
|
17879
|
+
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17880
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17881
|
+
custom_field_config_id: z.ZodString;
|
|
17882
|
+
value: z.ZodNullable<z.ZodString>;
|
|
17883
|
+
}, z.core.$strip>>>;
|
|
17884
|
+
}, z.core.$strip>>;
|
|
16686
17885
|
/**
|
|
16687
17886
|
* Created
|
|
16688
17887
|
*/
|
|
@@ -16724,6 +17923,7 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
16724
17923
|
created_by_company_id: z.ZodString;
|
|
16725
17924
|
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
16726
17925
|
project_id: z.ZodNullable<z.ZodString>;
|
|
17926
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
16727
17927
|
manager_users: z.ZodArray<z.ZodObject<{
|
|
16728
17928
|
id: z.ZodString;
|
|
16729
17929
|
name: z.ZodString;
|
|
@@ -16785,6 +17985,10 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
16785
17985
|
feature: "feature";
|
|
16786
17986
|
quantity: "quantity";
|
|
16787
17987
|
}>;
|
|
17988
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
17989
|
+
custom_field_config_id: z.ZodString;
|
|
17990
|
+
value: z.ZodNullable<z.ZodString>;
|
|
17991
|
+
}, z.core.$strip>>;
|
|
16788
17992
|
}, z.core.$strip>;
|
|
16789
17993
|
export declare const zGetJobPath: z.ZodObject<{
|
|
16790
17994
|
id: z.ZodString;
|
|
@@ -16830,6 +18034,7 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
16830
18034
|
created_by_company_id: z.ZodString;
|
|
16831
18035
|
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
16832
18036
|
project_id: z.ZodNullable<z.ZodString>;
|
|
18037
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
16833
18038
|
manager_users: z.ZodArray<z.ZodObject<{
|
|
16834
18039
|
id: z.ZodString;
|
|
16835
18040
|
name: z.ZodString;
|
|
@@ -16891,16 +18096,19 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
16891
18096
|
feature: "feature";
|
|
16892
18097
|
quantity: "quantity";
|
|
16893
18098
|
}>;
|
|
18099
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
18100
|
+
custom_field_config_id: z.ZodString;
|
|
18101
|
+
value: z.ZodNullable<z.ZodString>;
|
|
18102
|
+
}, z.core.$strip>>;
|
|
16894
18103
|
}, z.core.$strip>;
|
|
16895
18104
|
export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
16896
|
-
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16897
18105
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16898
18106
|
description: z.ZodOptional<z.ZodString>;
|
|
16899
18107
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
16900
|
-
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
16901
18108
|
manager_user_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
16902
18109
|
purchase_order_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16903
18110
|
project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18111
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16904
18112
|
federal_pwa_mode: z.ZodOptional<z.ZodEnum<{
|
|
16905
18113
|
none: "none";
|
|
16906
18114
|
all: "all";
|
|
@@ -16952,10 +18160,6 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
16952
18160
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
16953
18161
|
label: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16954
18162
|
}, z.core.$strip>>>;
|
|
16955
|
-
custom_fields_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
16956
|
-
custom_field_config_id: z.ZodString;
|
|
16957
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16958
|
-
}, z.core.$strip>>>>;
|
|
16959
18163
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
16960
18164
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
16961
18165
|
prime_contractor: "prime_contractor";
|
|
@@ -16983,6 +18187,10 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
16983
18187
|
completed: "completed";
|
|
16984
18188
|
disputed: "disputed";
|
|
16985
18189
|
}>>;
|
|
18190
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18191
|
+
custom_field_config_id: z.ZodString;
|
|
18192
|
+
value: z.ZodNullable<z.ZodString>;
|
|
18193
|
+
}, z.core.$strip>>>;
|
|
16986
18194
|
}, z.core.$strip>>;
|
|
16987
18195
|
export declare const zUpdateJobPath: z.ZodObject<{
|
|
16988
18196
|
id: z.ZodString;
|
|
@@ -16990,132 +18198,491 @@ export declare const zUpdateJobPath: z.ZodObject<{
|
|
|
16990
18198
|
/**
|
|
16991
18199
|
* Success
|
|
16992
18200
|
*/
|
|
16993
|
-
export declare const zUpdateJobResponse: z.ZodObject<{
|
|
18201
|
+
export declare const zUpdateJobResponse: z.ZodObject<{
|
|
18202
|
+
id: z.ZodString;
|
|
18203
|
+
display_id: z.ZodInt;
|
|
18204
|
+
description: z.ZodString;
|
|
18205
|
+
scheduled_time: z.ZodNullable<z.ZodString>;
|
|
18206
|
+
created_at: z.ZodISODateTime;
|
|
18207
|
+
updated_at: z.ZodISODateTime;
|
|
18208
|
+
status: z.ZodString;
|
|
18209
|
+
start_time: z.ZodNullable<z.ZodString>;
|
|
18210
|
+
end_time: z.ZodNullable<z.ZodString>;
|
|
18211
|
+
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
18212
|
+
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
18213
|
+
tz_name: z.ZodString;
|
|
18214
|
+
require_clock_in: z.ZodBoolean;
|
|
18215
|
+
clock_in_requirement: z.ZodEnum<{
|
|
18216
|
+
none: "none";
|
|
18217
|
+
warning: "warning";
|
|
18218
|
+
required: "required";
|
|
18219
|
+
}>;
|
|
18220
|
+
name: z.ZodNullable<z.ZodString>;
|
|
18221
|
+
federal_pwa_mode: z.ZodEnum<{
|
|
18222
|
+
none: "none";
|
|
18223
|
+
all: "all";
|
|
18224
|
+
pw_only: "pw_only";
|
|
18225
|
+
ap_only: "ap_only";
|
|
18226
|
+
}>;
|
|
18227
|
+
regional_pwa_mode: z.ZodEnum<{
|
|
18228
|
+
none: "none";
|
|
18229
|
+
all: "all";
|
|
18230
|
+
pw_only: "pw_only";
|
|
18231
|
+
ap_only: "ap_only";
|
|
18232
|
+
}>;
|
|
18233
|
+
region: z.ZodNullable<z.ZodString>;
|
|
18234
|
+
send_geofence_reminders: z.ZodNullable<z.ZodBoolean>;
|
|
18235
|
+
allow_customer_access: z.ZodBoolean;
|
|
18236
|
+
created_by_company_id: z.ZodString;
|
|
18237
|
+
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
18238
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
18239
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
18240
|
+
manager_users: z.ZodArray<z.ZodObject<{
|
|
18241
|
+
id: z.ZodString;
|
|
18242
|
+
name: z.ZodString;
|
|
18243
|
+
}, z.core.$strip>>;
|
|
18244
|
+
created_by_user: z.ZodObject<{
|
|
18245
|
+
id: z.ZodString;
|
|
18246
|
+
name: z.ZodString;
|
|
18247
|
+
}, z.core.$strip>;
|
|
18248
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
18249
|
+
name: z.ZodString;
|
|
18250
|
+
features: z.ZodArray<z.ZodObject<{
|
|
18251
|
+
name: z.ZodString;
|
|
18252
|
+
}, z.core.$strip>>;
|
|
18253
|
+
}, z.core.$strip>>;
|
|
18254
|
+
job_address: z.ZodNullable<z.ZodObject<{
|
|
18255
|
+
label: z.ZodString;
|
|
18256
|
+
}, z.core.$strip>>;
|
|
18257
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
18258
|
+
position_function: z.ZodNullable<z.ZodObject<{
|
|
18259
|
+
id: z.ZodString;
|
|
18260
|
+
value: z.ZodString;
|
|
18261
|
+
description: z.ZodString;
|
|
18262
|
+
}, z.core.$strip>>;
|
|
18263
|
+
fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
|
|
18264
|
+
}, z.core.$strip>>;
|
|
18265
|
+
project: z.ZodNullable<z.ZodObject<{
|
|
18266
|
+
name: z.ZodString;
|
|
18267
|
+
}, z.core.$strip>>;
|
|
18268
|
+
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
18269
|
+
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
18270
|
+
prime_contractor: "prime_contractor";
|
|
18271
|
+
sub_contractor: "sub_contractor";
|
|
18272
|
+
}>>;
|
|
18273
|
+
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
18274
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18275
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18276
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18277
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18278
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18279
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18280
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18281
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
18282
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18283
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18284
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18285
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18286
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18287
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18288
|
+
}, z.core.$strip>>;
|
|
18289
|
+
work_types: z.ZodArray<z.ZodObject<{
|
|
18290
|
+
value: z.ZodString;
|
|
18291
|
+
}, z.core.$strip>>;
|
|
18292
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
18293
|
+
tracks_feature_allocations: z.ZodBoolean;
|
|
18294
|
+
requires_feature_allocation: z.ZodBoolean;
|
|
18295
|
+
max_one_feature_allocation: z.ZodBoolean;
|
|
18296
|
+
production_tracking_kind: z.ZodEnum<{
|
|
18297
|
+
none: "none";
|
|
18298
|
+
feature: "feature";
|
|
18299
|
+
quantity: "quantity";
|
|
18300
|
+
}>;
|
|
18301
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
18302
|
+
custom_field_config_id: z.ZodString;
|
|
18303
|
+
value: z.ZodNullable<z.ZodString>;
|
|
18304
|
+
}, z.core.$strip>>;
|
|
18305
|
+
}, z.core.$strip>;
|
|
18306
|
+
/**
|
|
18307
|
+
* Success
|
|
18308
|
+
*/
|
|
18309
|
+
export declare const zGetOpenapiDocumentResponse: z.ZodObject<{
|
|
18310
|
+
openapi: z.ZodString;
|
|
18311
|
+
info: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18312
|
+
externalDocs: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18313
|
+
tags: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18314
|
+
'x-tagGroups': z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18315
|
+
paths: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18316
|
+
servers: z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
18317
|
+
components: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
18318
|
+
}, z.core.$strip>;
|
|
18319
|
+
export declare const zListSiteCheckInsPath: z.ZodObject<{
|
|
18320
|
+
site_id: z.ZodString;
|
|
18321
|
+
}, z.core.$strip>;
|
|
18322
|
+
export declare const zListSiteCheckInsQuery: z.ZodObject<{
|
|
18323
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
18324
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18325
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18326
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18327
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18328
|
+
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18329
|
+
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18330
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
18331
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
18332
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18333
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18334
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18335
|
+
}, z.core.$strip>;
|
|
18336
|
+
/**
|
|
18337
|
+
* Success
|
|
18338
|
+
*/
|
|
18339
|
+
export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
18340
|
+
meta: z.ZodObject<{
|
|
18341
|
+
page: z.ZodObject<{
|
|
18342
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18343
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18344
|
+
}, z.core.$strip>;
|
|
18345
|
+
}, z.core.$strip>;
|
|
18346
|
+
links: z.ZodObject<{
|
|
18347
|
+
self: z.ZodString;
|
|
18348
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18349
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18350
|
+
}, z.core.$strip>;
|
|
18351
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18352
|
+
id: z.ZodString;
|
|
18353
|
+
site_id: z.ZodString;
|
|
18354
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
18355
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
18356
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
18357
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
18358
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
18359
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
18360
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
18361
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18362
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
18363
|
+
source: z.ZodEnum<{
|
|
18364
|
+
manual: "manual";
|
|
18365
|
+
auto: "auto";
|
|
18366
|
+
public_form: "public_form";
|
|
18367
|
+
}>;
|
|
18368
|
+
nerc_check_in: z.ZodBoolean;
|
|
18369
|
+
cip_exceptional: z.ZodBoolean;
|
|
18370
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
18371
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
18372
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
18373
|
+
start_time: z.ZodISODateTime;
|
|
18374
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18375
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
18376
|
+
created_at: z.ZodISODateTime;
|
|
18377
|
+
updated_at: z.ZodISODateTime;
|
|
18378
|
+
}, z.core.$strip>>;
|
|
18379
|
+
}, z.core.$strip>;
|
|
18380
|
+
export declare const zGetSiteCheckInPath: z.ZodObject<{
|
|
18381
|
+
site_id: z.ZodString;
|
|
18382
|
+
id: z.ZodString;
|
|
18383
|
+
}, z.core.$strip>;
|
|
18384
|
+
/**
|
|
18385
|
+
* Success
|
|
18386
|
+
*/
|
|
18387
|
+
export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
16994
18388
|
id: z.ZodString;
|
|
16995
|
-
|
|
16996
|
-
|
|
16997
|
-
|
|
18389
|
+
site_id: z.ZodString;
|
|
18390
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
18391
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
18392
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
18393
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
18394
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
18395
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
18396
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
18397
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18398
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
18399
|
+
source: z.ZodEnum<{
|
|
18400
|
+
manual: "manual";
|
|
18401
|
+
auto: "auto";
|
|
18402
|
+
public_form: "public_form";
|
|
18403
|
+
}>;
|
|
18404
|
+
nerc_check_in: z.ZodBoolean;
|
|
18405
|
+
cip_exceptional: z.ZodBoolean;
|
|
18406
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
18407
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
18408
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
18409
|
+
start_time: z.ZodISODateTime;
|
|
18410
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18411
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16998
18412
|
created_at: z.ZodISODateTime;
|
|
16999
18413
|
updated_at: z.ZodISODateTime;
|
|
17000
|
-
|
|
17001
|
-
|
|
17002
|
-
|
|
17003
|
-
|
|
17004
|
-
|
|
17005
|
-
|
|
17006
|
-
|
|
17007
|
-
|
|
17008
|
-
|
|
17009
|
-
|
|
17010
|
-
|
|
17011
|
-
|
|
17012
|
-
|
|
17013
|
-
|
|
17014
|
-
|
|
17015
|
-
|
|
17016
|
-
|
|
17017
|
-
|
|
17018
|
-
|
|
17019
|
-
regional_pwa_mode: z.ZodEnum<{
|
|
17020
|
-
none: "none";
|
|
17021
|
-
all: "all";
|
|
17022
|
-
pw_only: "pw_only";
|
|
17023
|
-
ap_only: "ap_only";
|
|
17024
|
-
}>;
|
|
17025
|
-
region: z.ZodNullable<z.ZodString>;
|
|
17026
|
-
send_geofence_reminders: z.ZodNullable<z.ZodBoolean>;
|
|
17027
|
-
allow_customer_access: z.ZodBoolean;
|
|
17028
|
-
created_by_company_id: z.ZodString;
|
|
17029
|
-
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
17030
|
-
project_id: z.ZodNullable<z.ZodString>;
|
|
17031
|
-
manager_users: z.ZodArray<z.ZodObject<{
|
|
17032
|
-
id: z.ZodString;
|
|
17033
|
-
name: z.ZodString;
|
|
17034
|
-
}, z.core.$strip>>;
|
|
17035
|
-
created_by_user: z.ZodObject<{
|
|
17036
|
-
id: z.ZodString;
|
|
17037
|
-
name: z.ZodString;
|
|
18414
|
+
}, z.core.$strip>;
|
|
18415
|
+
export declare const zListFeatureFormAssignmentTasksPath: z.ZodObject<{
|
|
18416
|
+
site_id: z.ZodString;
|
|
18417
|
+
feature_id: z.ZodString;
|
|
18418
|
+
}, z.core.$strip>;
|
|
18419
|
+
export declare const zListFeatureFormAssignmentTasksQuery: z.ZodObject<{
|
|
18420
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18421
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18422
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18423
|
+
}, z.core.$strip>;
|
|
18424
|
+
/**
|
|
18425
|
+
* Success
|
|
18426
|
+
*/
|
|
18427
|
+
export declare const zListFeatureFormAssignmentTasksResponse: z.ZodObject<{
|
|
18428
|
+
meta: z.ZodObject<{
|
|
18429
|
+
page: z.ZodObject<{
|
|
18430
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18431
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18432
|
+
}, z.core.$strip>;
|
|
17038
18433
|
}, z.core.$strip>;
|
|
17039
|
-
|
|
18434
|
+
links: z.ZodObject<{
|
|
18435
|
+
self: z.ZodString;
|
|
18436
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18437
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18438
|
+
}, z.core.$strip>;
|
|
18439
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18440
|
+
id: z.ZodString;
|
|
18441
|
+
feature_id: z.ZodString;
|
|
18442
|
+
form_definition_id: z.ZodString;
|
|
17040
18443
|
name: z.ZodString;
|
|
17041
|
-
|
|
17042
|
-
|
|
17043
|
-
|
|
17044
|
-
|
|
17045
|
-
|
|
17046
|
-
|
|
17047
|
-
|
|
17048
|
-
|
|
17049
|
-
|
|
17050
|
-
|
|
17051
|
-
|
|
17052
|
-
|
|
18444
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18445
|
+
tz_name: z.ZodString;
|
|
18446
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18447
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18448
|
+
DAILY: "DAILY";
|
|
18449
|
+
WORKDAILY: "WORKDAILY";
|
|
18450
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18451
|
+
WEEKLY: "WEEKLY";
|
|
18452
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18453
|
+
MONTHLY: "MONTHLY";
|
|
18454
|
+
QUARTERLY: "QUARTERLY";
|
|
18455
|
+
}>>;
|
|
18456
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18457
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18458
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18459
|
+
offset: z.ZodString;
|
|
18460
|
+
remind_at: z.ZodISODateTime;
|
|
17053
18461
|
}, z.core.$strip>>;
|
|
17054
|
-
fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
|
|
17055
18462
|
}, z.core.$strip>>;
|
|
17056
|
-
|
|
17057
|
-
|
|
18463
|
+
}, z.core.$strip>;
|
|
18464
|
+
export declare const zCreateFeatureFormAssignmentTaskBody: z.ZodObject<{
|
|
18465
|
+
form_definition_id: z.ZodString;
|
|
18466
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
18467
|
+
task_attributes: z.ZodObject<{
|
|
18468
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18469
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18470
|
+
created_by_user_id: z.ZodString;
|
|
18471
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18472
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18473
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18474
|
+
DAILY: "DAILY";
|
|
18475
|
+
WORKDAILY: "WORKDAILY";
|
|
18476
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18477
|
+
WEEKLY: "WEEKLY";
|
|
18478
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18479
|
+
MONTHLY: "MONTHLY";
|
|
18480
|
+
QUARTERLY: "QUARTERLY";
|
|
18481
|
+
}>>>;
|
|
18482
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18483
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18484
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18485
|
+
offset: z.ZodEnum<{
|
|
18486
|
+
PT0S: "PT0S";
|
|
18487
|
+
"PT-1M": "PT-1M";
|
|
18488
|
+
"PT-5M": "PT-5M";
|
|
18489
|
+
"PT-10M": "PT-10M";
|
|
18490
|
+
"PT-15M": "PT-15M";
|
|
18491
|
+
"PT-30M": "PT-30M";
|
|
18492
|
+
"PT-1H": "PT-1H";
|
|
18493
|
+
"PT-2H": "PT-2H";
|
|
18494
|
+
"P-1D": "P-1D";
|
|
18495
|
+
"P-2D": "P-2D";
|
|
18496
|
+
"P-3D": "P-3D";
|
|
18497
|
+
"P-4D": "P-4D";
|
|
18498
|
+
"P-5D": "P-5D";
|
|
18499
|
+
"P-6D": "P-6D";
|
|
18500
|
+
"P-1W": "P-1W";
|
|
18501
|
+
"P-2W": "P-2W";
|
|
18502
|
+
"P-1M": "P-1M";
|
|
18503
|
+
"P-2M": "P-2M";
|
|
18504
|
+
"P-3M": "P-3M";
|
|
18505
|
+
"P-6M": "P-6M";
|
|
18506
|
+
"P-1Y": "P-1Y";
|
|
18507
|
+
PT5M: "PT5M";
|
|
18508
|
+
PT15M: "PT15M";
|
|
18509
|
+
PT30M: "PT30M";
|
|
18510
|
+
PT1H: "PT1H";
|
|
18511
|
+
PT6H: "PT6H";
|
|
18512
|
+
PT12H: "PT12H";
|
|
18513
|
+
P1D: "P1D";
|
|
18514
|
+
P2D: "P2D";
|
|
18515
|
+
P3D: "P3D";
|
|
18516
|
+
P4D: "P4D";
|
|
18517
|
+
P5D: "P5D";
|
|
18518
|
+
P6D: "P6D";
|
|
18519
|
+
P1W: "P1W";
|
|
18520
|
+
P2W: "P2W";
|
|
18521
|
+
P3W: "P3W";
|
|
18522
|
+
}>;
|
|
18523
|
+
}, z.core.$strip>>>;
|
|
18524
|
+
}, z.core.$strip>;
|
|
18525
|
+
}, z.core.$strip>;
|
|
18526
|
+
export declare const zCreateFeatureFormAssignmentTaskPath: z.ZodObject<{
|
|
18527
|
+
site_id: z.ZodString;
|
|
18528
|
+
feature_id: z.ZodString;
|
|
18529
|
+
}, z.core.$strip>;
|
|
18530
|
+
/**
|
|
18531
|
+
* Created
|
|
18532
|
+
*/
|
|
18533
|
+
export declare const zCreateFeatureFormAssignmentTaskResponse: z.ZodObject<{
|
|
18534
|
+
id: z.ZodString;
|
|
18535
|
+
feature_id: z.ZodString;
|
|
18536
|
+
form_definition_id: z.ZodString;
|
|
18537
|
+
name: z.ZodString;
|
|
18538
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18539
|
+
tz_name: z.ZodString;
|
|
18540
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18541
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18542
|
+
DAILY: "DAILY";
|
|
18543
|
+
WORKDAILY: "WORKDAILY";
|
|
18544
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18545
|
+
WEEKLY: "WEEKLY";
|
|
18546
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18547
|
+
MONTHLY: "MONTHLY";
|
|
18548
|
+
QUARTERLY: "QUARTERLY";
|
|
18549
|
+
}>>;
|
|
18550
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18551
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18552
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18553
|
+
offset: z.ZodString;
|
|
18554
|
+
remind_at: z.ZodISODateTime;
|
|
17058
18555
|
}, z.core.$strip>>;
|
|
17059
|
-
|
|
17060
|
-
|
|
17061
|
-
|
|
17062
|
-
|
|
17063
|
-
|
|
17064
|
-
|
|
17065
|
-
|
|
17066
|
-
|
|
17067
|
-
|
|
17068
|
-
|
|
17069
|
-
|
|
17070
|
-
|
|
17071
|
-
|
|
17072
|
-
|
|
17073
|
-
|
|
17074
|
-
|
|
17075
|
-
|
|
17076
|
-
|
|
17077
|
-
|
|
17078
|
-
|
|
18556
|
+
}, z.core.$strip>;
|
|
18557
|
+
export declare const zGetFeatureFormAssignmentTaskPath: z.ZodObject<{
|
|
18558
|
+
site_id: z.ZodString;
|
|
18559
|
+
feature_id: z.ZodString;
|
|
18560
|
+
id: z.ZodString;
|
|
18561
|
+
}, z.core.$strip>;
|
|
18562
|
+
/**
|
|
18563
|
+
* Success
|
|
18564
|
+
*/
|
|
18565
|
+
export declare const zGetFeatureFormAssignmentTaskResponse: z.ZodObject<{
|
|
18566
|
+
id: z.ZodString;
|
|
18567
|
+
feature_id: z.ZodString;
|
|
18568
|
+
form_definition_id: z.ZodString;
|
|
18569
|
+
name: z.ZodString;
|
|
18570
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18571
|
+
tz_name: z.ZodString;
|
|
18572
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18573
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18574
|
+
DAILY: "DAILY";
|
|
18575
|
+
WORKDAILY: "WORKDAILY";
|
|
18576
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18577
|
+
WEEKLY: "WEEKLY";
|
|
18578
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18579
|
+
MONTHLY: "MONTHLY";
|
|
18580
|
+
QUARTERLY: "QUARTERLY";
|
|
18581
|
+
}>>;
|
|
18582
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18583
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18584
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18585
|
+
offset: z.ZodString;
|
|
18586
|
+
remind_at: z.ZodISODateTime;
|
|
17079
18587
|
}, z.core.$strip>>;
|
|
17080
|
-
|
|
17081
|
-
|
|
18588
|
+
}, z.core.$strip>;
|
|
18589
|
+
export declare const zUpdateFeatureFormAssignmentTaskBody: z.ZodObject<{
|
|
18590
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
18591
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
18592
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
18593
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18594
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18595
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18596
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18597
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18598
|
+
DAILY: "DAILY";
|
|
18599
|
+
WORKDAILY: "WORKDAILY";
|
|
18600
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18601
|
+
WEEKLY: "WEEKLY";
|
|
18602
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18603
|
+
MONTHLY: "MONTHLY";
|
|
18604
|
+
QUARTERLY: "QUARTERLY";
|
|
18605
|
+
}>>>;
|
|
18606
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18607
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18608
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18609
|
+
offset: z.ZodEnum<{
|
|
18610
|
+
PT0S: "PT0S";
|
|
18611
|
+
"PT-1M": "PT-1M";
|
|
18612
|
+
"PT-5M": "PT-5M";
|
|
18613
|
+
"PT-10M": "PT-10M";
|
|
18614
|
+
"PT-15M": "PT-15M";
|
|
18615
|
+
"PT-30M": "PT-30M";
|
|
18616
|
+
"PT-1H": "PT-1H";
|
|
18617
|
+
"PT-2H": "PT-2H";
|
|
18618
|
+
"P-1D": "P-1D";
|
|
18619
|
+
"P-2D": "P-2D";
|
|
18620
|
+
"P-3D": "P-3D";
|
|
18621
|
+
"P-4D": "P-4D";
|
|
18622
|
+
"P-5D": "P-5D";
|
|
18623
|
+
"P-6D": "P-6D";
|
|
18624
|
+
"P-1W": "P-1W";
|
|
18625
|
+
"P-2W": "P-2W";
|
|
18626
|
+
"P-1M": "P-1M";
|
|
18627
|
+
"P-2M": "P-2M";
|
|
18628
|
+
"P-3M": "P-3M";
|
|
18629
|
+
"P-6M": "P-6M";
|
|
18630
|
+
"P-1Y": "P-1Y";
|
|
18631
|
+
PT5M: "PT5M";
|
|
18632
|
+
PT15M: "PT15M";
|
|
18633
|
+
PT30M: "PT30M";
|
|
18634
|
+
PT1H: "PT1H";
|
|
18635
|
+
PT6H: "PT6H";
|
|
18636
|
+
PT12H: "PT12H";
|
|
18637
|
+
P1D: "P1D";
|
|
18638
|
+
P2D: "P2D";
|
|
18639
|
+
P3D: "P3D";
|
|
18640
|
+
P4D: "P4D";
|
|
18641
|
+
P5D: "P5D";
|
|
18642
|
+
P6D: "P6D";
|
|
18643
|
+
P1W: "P1W";
|
|
18644
|
+
P2W: "P2W";
|
|
18645
|
+
P3W: "P3W";
|
|
18646
|
+
}>;
|
|
18647
|
+
}, z.core.$strip>>>;
|
|
17082
18648
|
}, z.core.$strip>>;
|
|
17083
|
-
|
|
17084
|
-
|
|
17085
|
-
|
|
17086
|
-
|
|
17087
|
-
|
|
17088
|
-
none: "none";
|
|
17089
|
-
feature: "feature";
|
|
17090
|
-
quantity: "quantity";
|
|
17091
|
-
}>;
|
|
18649
|
+
}, z.core.$strip>;
|
|
18650
|
+
export declare const zUpdateFeatureFormAssignmentTaskPath: z.ZodObject<{
|
|
18651
|
+
site_id: z.ZodString;
|
|
18652
|
+
feature_id: z.ZodString;
|
|
18653
|
+
id: z.ZodString;
|
|
17092
18654
|
}, z.core.$strip>;
|
|
17093
18655
|
/**
|
|
17094
18656
|
* Success
|
|
17095
18657
|
*/
|
|
17096
|
-
export declare const
|
|
17097
|
-
|
|
17098
|
-
|
|
17099
|
-
|
|
17100
|
-
|
|
17101
|
-
|
|
17102
|
-
|
|
17103
|
-
|
|
17104
|
-
|
|
18658
|
+
export declare const zUpdateFeatureFormAssignmentTaskResponse: z.ZodObject<{
|
|
18659
|
+
id: z.ZodString;
|
|
18660
|
+
feature_id: z.ZodString;
|
|
18661
|
+
form_definition_id: z.ZodString;
|
|
18662
|
+
name: z.ZodString;
|
|
18663
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18664
|
+
tz_name: z.ZodString;
|
|
18665
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18666
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18667
|
+
DAILY: "DAILY";
|
|
18668
|
+
WORKDAILY: "WORKDAILY";
|
|
18669
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18670
|
+
WEEKLY: "WEEKLY";
|
|
18671
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18672
|
+
MONTHLY: "MONTHLY";
|
|
18673
|
+
QUARTERLY: "QUARTERLY";
|
|
18674
|
+
}>>;
|
|
18675
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18676
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18677
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18678
|
+
offset: z.ZodString;
|
|
18679
|
+
remind_at: z.ZodISODateTime;
|
|
18680
|
+
}, z.core.$strip>>;
|
|
17105
18681
|
}, z.core.$strip>;
|
|
17106
|
-
export declare const
|
|
18682
|
+
export declare const zListSiteFormAssignmentTasksPath: z.ZodObject<{
|
|
17107
18683
|
site_id: z.ZodString;
|
|
17108
18684
|
}, z.core.$strip>;
|
|
17109
|
-
export declare const
|
|
17110
|
-
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
17111
|
-
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17112
|
-
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17113
|
-
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17114
|
-
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17115
|
-
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17116
|
-
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
17117
|
-
filter: z.ZodOptional<z.ZodString>;
|
|
17118
|
-
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
18685
|
+
export declare const zListSiteFormAssignmentTasksQuery: z.ZodObject<{
|
|
17119
18686
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
17120
18687
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
17121
18688
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -17123,7 +18690,7 @@ export declare const zListSiteCheckInsQuery: z.ZodObject<{
|
|
|
17123
18690
|
/**
|
|
17124
18691
|
* Success
|
|
17125
18692
|
*/
|
|
17126
|
-
export declare const
|
|
18693
|
+
export declare const zListSiteFormAssignmentTasksResponse: z.ZodObject<{
|
|
17127
18694
|
meta: z.ZodObject<{
|
|
17128
18695
|
page: z.ZodObject<{
|
|
17129
18696
|
next_cursor: z.ZodNullable<z.ZodString>;
|
|
@@ -17138,66 +18705,242 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
|
17138
18705
|
data: z.ZodArray<z.ZodObject<{
|
|
17139
18706
|
id: z.ZodString;
|
|
17140
18707
|
site_id: z.ZodString;
|
|
17141
|
-
|
|
17142
|
-
|
|
17143
|
-
last_name: z.ZodNullable<z.ZodString>;
|
|
17144
|
-
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
17145
|
-
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
17146
|
-
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
17147
|
-
employer_name: z.ZodNullable<z.ZodString>;
|
|
18708
|
+
form_definition_id: z.ZodString;
|
|
18709
|
+
name: z.ZodString;
|
|
17148
18710
|
description: z.ZodNullable<z.ZodString>;
|
|
17149
|
-
|
|
17150
|
-
|
|
17151
|
-
|
|
17152
|
-
|
|
17153
|
-
|
|
17154
|
-
|
|
17155
|
-
|
|
17156
|
-
|
|
17157
|
-
|
|
17158
|
-
|
|
17159
|
-
|
|
17160
|
-
|
|
17161
|
-
|
|
17162
|
-
|
|
17163
|
-
|
|
17164
|
-
|
|
18711
|
+
tz_name: z.ZodString;
|
|
18712
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18713
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18714
|
+
DAILY: "DAILY";
|
|
18715
|
+
WORKDAILY: "WORKDAILY";
|
|
18716
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18717
|
+
WEEKLY: "WEEKLY";
|
|
18718
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18719
|
+
MONTHLY: "MONTHLY";
|
|
18720
|
+
QUARTERLY: "QUARTERLY";
|
|
18721
|
+
}>>;
|
|
18722
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18723
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18724
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18725
|
+
offset: z.ZodString;
|
|
18726
|
+
remind_at: z.ZodISODateTime;
|
|
18727
|
+
}, z.core.$strip>>;
|
|
18728
|
+
}, z.core.$strip>>;
|
|
18729
|
+
}, z.core.$strip>;
|
|
18730
|
+
export declare const zCreateSiteFormAssignmentTaskBody: z.ZodObject<{
|
|
18731
|
+
form_definition_id: z.ZodString;
|
|
18732
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
18733
|
+
task_attributes: z.ZodObject<{
|
|
18734
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18735
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18736
|
+
created_by_user_id: z.ZodString;
|
|
18737
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18738
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18739
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18740
|
+
DAILY: "DAILY";
|
|
18741
|
+
WORKDAILY: "WORKDAILY";
|
|
18742
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18743
|
+
WEEKLY: "WEEKLY";
|
|
18744
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18745
|
+
MONTHLY: "MONTHLY";
|
|
18746
|
+
QUARTERLY: "QUARTERLY";
|
|
18747
|
+
}>>>;
|
|
18748
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18749
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18750
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18751
|
+
offset: z.ZodEnum<{
|
|
18752
|
+
PT0S: "PT0S";
|
|
18753
|
+
"PT-1M": "PT-1M";
|
|
18754
|
+
"PT-5M": "PT-5M";
|
|
18755
|
+
"PT-10M": "PT-10M";
|
|
18756
|
+
"PT-15M": "PT-15M";
|
|
18757
|
+
"PT-30M": "PT-30M";
|
|
18758
|
+
"PT-1H": "PT-1H";
|
|
18759
|
+
"PT-2H": "PT-2H";
|
|
18760
|
+
"P-1D": "P-1D";
|
|
18761
|
+
"P-2D": "P-2D";
|
|
18762
|
+
"P-3D": "P-3D";
|
|
18763
|
+
"P-4D": "P-4D";
|
|
18764
|
+
"P-5D": "P-5D";
|
|
18765
|
+
"P-6D": "P-6D";
|
|
18766
|
+
"P-1W": "P-1W";
|
|
18767
|
+
"P-2W": "P-2W";
|
|
18768
|
+
"P-1M": "P-1M";
|
|
18769
|
+
"P-2M": "P-2M";
|
|
18770
|
+
"P-3M": "P-3M";
|
|
18771
|
+
"P-6M": "P-6M";
|
|
18772
|
+
"P-1Y": "P-1Y";
|
|
18773
|
+
PT5M: "PT5M";
|
|
18774
|
+
PT15M: "PT15M";
|
|
18775
|
+
PT30M: "PT30M";
|
|
18776
|
+
PT1H: "PT1H";
|
|
18777
|
+
PT6H: "PT6H";
|
|
18778
|
+
PT12H: "PT12H";
|
|
18779
|
+
P1D: "P1D";
|
|
18780
|
+
P2D: "P2D";
|
|
18781
|
+
P3D: "P3D";
|
|
18782
|
+
P4D: "P4D";
|
|
18783
|
+
P5D: "P5D";
|
|
18784
|
+
P6D: "P6D";
|
|
18785
|
+
P1W: "P1W";
|
|
18786
|
+
P2W: "P2W";
|
|
18787
|
+
P3W: "P3W";
|
|
18788
|
+
}>;
|
|
18789
|
+
}, z.core.$strip>>>;
|
|
18790
|
+
}, z.core.$strip>;
|
|
18791
|
+
}, z.core.$strip>;
|
|
18792
|
+
export declare const zCreateSiteFormAssignmentTaskPath: z.ZodObject<{
|
|
18793
|
+
site_id: z.ZodString;
|
|
18794
|
+
}, z.core.$strip>;
|
|
18795
|
+
/**
|
|
18796
|
+
* Created
|
|
18797
|
+
*/
|
|
18798
|
+
export declare const zCreateSiteFormAssignmentTaskResponse: z.ZodObject<{
|
|
18799
|
+
id: z.ZodString;
|
|
18800
|
+
site_id: z.ZodString;
|
|
18801
|
+
form_definition_id: z.ZodString;
|
|
18802
|
+
name: z.ZodString;
|
|
18803
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18804
|
+
tz_name: z.ZodString;
|
|
18805
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18806
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18807
|
+
DAILY: "DAILY";
|
|
18808
|
+
WORKDAILY: "WORKDAILY";
|
|
18809
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18810
|
+
WEEKLY: "WEEKLY";
|
|
18811
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18812
|
+
MONTHLY: "MONTHLY";
|
|
18813
|
+
QUARTERLY: "QUARTERLY";
|
|
18814
|
+
}>>;
|
|
18815
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18816
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18817
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18818
|
+
offset: z.ZodString;
|
|
18819
|
+
remind_at: z.ZodISODateTime;
|
|
17165
18820
|
}, z.core.$strip>>;
|
|
17166
18821
|
}, z.core.$strip>;
|
|
17167
|
-
export declare const
|
|
18822
|
+
export declare const zGetSiteFormAssignmentTaskPath: z.ZodObject<{
|
|
17168
18823
|
site_id: z.ZodString;
|
|
17169
18824
|
id: z.ZodString;
|
|
17170
18825
|
}, z.core.$strip>;
|
|
17171
18826
|
/**
|
|
17172
18827
|
* Success
|
|
17173
18828
|
*/
|
|
17174
|
-
export declare const
|
|
18829
|
+
export declare const zGetSiteFormAssignmentTaskResponse: z.ZodObject<{
|
|
17175
18830
|
id: z.ZodString;
|
|
17176
18831
|
site_id: z.ZodString;
|
|
17177
|
-
|
|
17178
|
-
|
|
17179
|
-
last_name: z.ZodNullable<z.ZodString>;
|
|
17180
|
-
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
17181
|
-
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
17182
|
-
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
17183
|
-
employer_name: z.ZodNullable<z.ZodString>;
|
|
18832
|
+
form_definition_id: z.ZodString;
|
|
18833
|
+
name: z.ZodString;
|
|
17184
18834
|
description: z.ZodNullable<z.ZodString>;
|
|
17185
|
-
|
|
17186
|
-
|
|
17187
|
-
|
|
17188
|
-
|
|
17189
|
-
|
|
17190
|
-
|
|
17191
|
-
|
|
17192
|
-
|
|
17193
|
-
|
|
17194
|
-
|
|
17195
|
-
|
|
17196
|
-
|
|
17197
|
-
|
|
17198
|
-
|
|
17199
|
-
|
|
17200
|
-
|
|
18835
|
+
tz_name: z.ZodString;
|
|
18836
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18837
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18838
|
+
DAILY: "DAILY";
|
|
18839
|
+
WORKDAILY: "WORKDAILY";
|
|
18840
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18841
|
+
WEEKLY: "WEEKLY";
|
|
18842
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18843
|
+
MONTHLY: "MONTHLY";
|
|
18844
|
+
QUARTERLY: "QUARTERLY";
|
|
18845
|
+
}>>;
|
|
18846
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18847
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18848
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18849
|
+
offset: z.ZodString;
|
|
18850
|
+
remind_at: z.ZodISODateTime;
|
|
18851
|
+
}, z.core.$strip>>;
|
|
18852
|
+
}, z.core.$strip>;
|
|
18853
|
+
export declare const zUpdateSiteFormAssignmentTaskBody: z.ZodObject<{
|
|
18854
|
+
form_definition_id: z.ZodOptional<z.ZodString>;
|
|
18855
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
18856
|
+
task_attributes: z.ZodOptional<z.ZodObject<{
|
|
18857
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18858
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18859
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18860
|
+
tz_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18861
|
+
frequency: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
18862
|
+
DAILY: "DAILY";
|
|
18863
|
+
WORKDAILY: "WORKDAILY";
|
|
18864
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18865
|
+
WEEKLY: "WEEKLY";
|
|
18866
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18867
|
+
MONTHLY: "MONTHLY";
|
|
18868
|
+
QUARTERLY: "QUARTERLY";
|
|
18869
|
+
}>>>;
|
|
18870
|
+
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
18871
|
+
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18872
|
+
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18873
|
+
offset: z.ZodEnum<{
|
|
18874
|
+
PT0S: "PT0S";
|
|
18875
|
+
"PT-1M": "PT-1M";
|
|
18876
|
+
"PT-5M": "PT-5M";
|
|
18877
|
+
"PT-10M": "PT-10M";
|
|
18878
|
+
"PT-15M": "PT-15M";
|
|
18879
|
+
"PT-30M": "PT-30M";
|
|
18880
|
+
"PT-1H": "PT-1H";
|
|
18881
|
+
"PT-2H": "PT-2H";
|
|
18882
|
+
"P-1D": "P-1D";
|
|
18883
|
+
"P-2D": "P-2D";
|
|
18884
|
+
"P-3D": "P-3D";
|
|
18885
|
+
"P-4D": "P-4D";
|
|
18886
|
+
"P-5D": "P-5D";
|
|
18887
|
+
"P-6D": "P-6D";
|
|
18888
|
+
"P-1W": "P-1W";
|
|
18889
|
+
"P-2W": "P-2W";
|
|
18890
|
+
"P-1M": "P-1M";
|
|
18891
|
+
"P-2M": "P-2M";
|
|
18892
|
+
"P-3M": "P-3M";
|
|
18893
|
+
"P-6M": "P-6M";
|
|
18894
|
+
"P-1Y": "P-1Y";
|
|
18895
|
+
PT5M: "PT5M";
|
|
18896
|
+
PT15M: "PT15M";
|
|
18897
|
+
PT30M: "PT30M";
|
|
18898
|
+
PT1H: "PT1H";
|
|
18899
|
+
PT6H: "PT6H";
|
|
18900
|
+
PT12H: "PT12H";
|
|
18901
|
+
P1D: "P1D";
|
|
18902
|
+
P2D: "P2D";
|
|
18903
|
+
P3D: "P3D";
|
|
18904
|
+
P4D: "P4D";
|
|
18905
|
+
P5D: "P5D";
|
|
18906
|
+
P6D: "P6D";
|
|
18907
|
+
P1W: "P1W";
|
|
18908
|
+
P2W: "P2W";
|
|
18909
|
+
P3W: "P3W";
|
|
18910
|
+
}>;
|
|
18911
|
+
}, z.core.$strip>>>;
|
|
18912
|
+
}, z.core.$strip>>;
|
|
18913
|
+
}, z.core.$strip>;
|
|
18914
|
+
export declare const zUpdateSiteFormAssignmentTaskPath: z.ZodObject<{
|
|
18915
|
+
site_id: z.ZodString;
|
|
18916
|
+
id: z.ZodString;
|
|
18917
|
+
}, z.core.$strip>;
|
|
18918
|
+
/**
|
|
18919
|
+
* Success
|
|
18920
|
+
*/
|
|
18921
|
+
export declare const zUpdateSiteFormAssignmentTaskResponse: z.ZodObject<{
|
|
18922
|
+
id: z.ZodString;
|
|
18923
|
+
site_id: z.ZodString;
|
|
18924
|
+
form_definition_id: z.ZodString;
|
|
18925
|
+
name: z.ZodString;
|
|
18926
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18927
|
+
tz_name: z.ZodString;
|
|
18928
|
+
time_due: z.ZodNullable<z.ZodISODateTime>;
|
|
18929
|
+
frequency: z.ZodNullable<z.ZodEnum<{
|
|
18930
|
+
DAILY: "DAILY";
|
|
18931
|
+
WORKDAILY: "WORKDAILY";
|
|
18932
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
18933
|
+
WEEKLY: "WEEKLY";
|
|
18934
|
+
BIWEEKLY: "BIWEEKLY";
|
|
18935
|
+
MONTHLY: "MONTHLY";
|
|
18936
|
+
QUARTERLY: "QUARTERLY";
|
|
18937
|
+
}>>;
|
|
18938
|
+
recurrence_end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
18939
|
+
task_assignee_user_ids: z.ZodArray<z.ZodString>;
|
|
18940
|
+
reminders: z.ZodArray<z.ZodObject<{
|
|
18941
|
+
offset: z.ZodString;
|
|
18942
|
+
remind_at: z.ZodISODateTime;
|
|
18943
|
+
}, z.core.$strip>>;
|
|
17201
18944
|
}, z.core.$strip>;
|
|
17202
18945
|
export declare const zShiftOvertimeRuleGenesisBody: z.ZodObject<{
|
|
17203
18946
|
effective_date: z.ZodISODate;
|
|
@@ -18660,6 +20403,7 @@ export declare const zListPayRateRulePackagesQuery: z.ZodObject<{
|
|
|
18660
20403
|
'filter[scoped_to_job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
18661
20404
|
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
18662
20405
|
'filter[selectable]': z.ZodOptional<z.ZodBoolean>;
|
|
20406
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
18663
20407
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18664
20408
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18665
20409
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -19482,8 +21226,8 @@ export declare const zListFringeBenefitPlansResponse: z.ZodObject<{
|
|
|
19482
21226
|
plan_number: z.ZodString;
|
|
19483
21227
|
funded: z.ZodBoolean;
|
|
19484
21228
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
19485
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19486
21229
|
employer_combined_health: "employer_combined_health";
|
|
21230
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19487
21231
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19488
21232
|
employer_training: "employer_training";
|
|
19489
21233
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19507,8 +21251,8 @@ export declare const zCreateFringeBenefitPlanBody: z.ZodObject<{
|
|
|
19507
21251
|
plan_number: z.ZodString;
|
|
19508
21252
|
funded: z.ZodOptional<z.ZodBoolean>;
|
|
19509
21253
|
benefit_category: z.ZodEnum<{
|
|
19510
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19511
21254
|
employer_combined_health: "employer_combined_health";
|
|
21255
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19512
21256
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19513
21257
|
employer_training: "employer_training";
|
|
19514
21258
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19533,8 +21277,8 @@ export declare const zCreateFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
19533
21277
|
plan_number: z.ZodString;
|
|
19534
21278
|
funded: z.ZodBoolean;
|
|
19535
21279
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
19536
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19537
21280
|
employer_combined_health: "employer_combined_health";
|
|
21281
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19538
21282
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19539
21283
|
employer_training: "employer_training";
|
|
19540
21284
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19564,8 +21308,8 @@ export declare const zDeleteFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
19564
21308
|
plan_number: z.ZodString;
|
|
19565
21309
|
funded: z.ZodBoolean;
|
|
19566
21310
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
19567
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19568
21311
|
employer_combined_health: "employer_combined_health";
|
|
21312
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19569
21313
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19570
21314
|
employer_training: "employer_training";
|
|
19571
21315
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19595,8 +21339,8 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
19595
21339
|
plan_number: z.ZodString;
|
|
19596
21340
|
funded: z.ZodBoolean;
|
|
19597
21341
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
19598
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19599
21342
|
employer_combined_health: "employer_combined_health";
|
|
21343
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19600
21344
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19601
21345
|
employer_training: "employer_training";
|
|
19602
21346
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19614,13 +21358,12 @@ export declare const zGetFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
19614
21358
|
updated_at: z.ZodISODateTime;
|
|
19615
21359
|
}, z.core.$strip>;
|
|
19616
21360
|
export declare const zUpdateFringeBenefitPlanBody: z.ZodObject<{
|
|
19617
|
-
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
19618
21361
|
name: z.ZodOptional<z.ZodString>;
|
|
19619
21362
|
plan_number: z.ZodOptional<z.ZodString>;
|
|
19620
21363
|
funded: z.ZodOptional<z.ZodBoolean>;
|
|
19621
21364
|
benefit_category: z.ZodOptional<z.ZodEnum<{
|
|
19622
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19623
21365
|
employer_combined_health: "employer_combined_health";
|
|
21366
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19624
21367
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19625
21368
|
employer_training: "employer_training";
|
|
19626
21369
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -19648,8 +21391,8 @@ export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
19648
21391
|
plan_number: z.ZodString;
|
|
19649
21392
|
funded: z.ZodBoolean;
|
|
19650
21393
|
benefit_category: z.ZodNullable<z.ZodEnum<{
|
|
19651
|
-
employer_combined_savings: "employer_combined_savings";
|
|
19652
21394
|
employer_combined_health: "employer_combined_health";
|
|
21395
|
+
employer_combined_savings: "employer_combined_savings";
|
|
19653
21396
|
employer_combined_holiday_pto: "employer_combined_holiday_pto";
|
|
19654
21397
|
employer_training: "employer_training";
|
|
19655
21398
|
employer_other_contributions: "employer_other_contributions";
|
|
@@ -20205,8 +21948,8 @@ export declare const zListPaystubsResponse: z.ZodObject<{
|
|
|
20205
21948
|
}, z.core.$strip>>;
|
|
20206
21949
|
}, z.core.$strip>;
|
|
20207
21950
|
export declare const zCreatePaystubBody: z.ZodObject<{
|
|
20208
|
-
payrolls_payroll_run_id: z.ZodString;
|
|
20209
21951
|
user_id: z.ZodString;
|
|
21952
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
20210
21953
|
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20211
21954
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20212
21955
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20258,7 +22001,6 @@ export declare const zGetPaystubResponse: z.ZodObject<{
|
|
|
20258
22001
|
}, z.core.$strip>;
|
|
20259
22002
|
export declare const zUpdatePaystubBody: z.ZodObject<{
|
|
20260
22003
|
payrolls_payroll_run_id: z.ZodOptional<z.ZodString>;
|
|
20261
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
20262
22004
|
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20263
22005
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20264
22006
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -21487,27 +23229,14 @@ export declare const zGetCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodObjec
|
|
|
21487
23229
|
work_date: z.ZodISODate;
|
|
21488
23230
|
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
21489
23231
|
}, z.core.$strip>], "completable_type">;
|
|
21490
|
-
export declare const zUpdateCompletionBody: z.
|
|
21491
|
-
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
21492
|
-
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
21493
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21494
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
21495
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21496
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21497
|
-
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
21498
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
21499
|
-
}, z.core.$strip>>;
|
|
21500
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
21501
|
-
production_job_scope_price_id: z.ZodOptional<z.ZodString>;
|
|
21502
|
-
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23232
|
+
export declare const zUpdateCompletionBody: z.ZodObject<{
|
|
21503
23233
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21504
23234
|
work_date: z.ZodOptional<z.ZodISODate>;
|
|
21505
23235
|
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21506
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
21507
23236
|
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
21508
23237
|
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
21509
23238
|
}, z.core.$strip>>;
|
|
21510
|
-
}, z.core.$strip
|
|
23239
|
+
}, z.core.$strip>;
|
|
21511
23240
|
export declare const zUpdateCompletionPath: z.ZodObject<{
|
|
21512
23241
|
id: z.ZodString;
|
|
21513
23242
|
}, z.core.$strip>;
|
|
@@ -21531,37 +23260,116 @@ export declare const zUpdateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
21531
23260
|
completable_type: z.ZodLiteral<"Production::FeatureCompletion">;
|
|
21532
23261
|
}, z.core.$strip>, z.ZodObject<{
|
|
21533
23262
|
id: z.ZodString;
|
|
21534
|
-
notes: z.ZodNullable<z.ZodString>;
|
|
21535
|
-
completable_id: z.ZodString;
|
|
21536
|
-
created_by_user_id: z.ZodString;
|
|
21537
|
-
production_job_scope_price_id: z.ZodString;
|
|
21538
|
-
job_id: z.ZodString;
|
|
21539
|
-
scope_kind: z.ZodString;
|
|
21540
|
-
unit_of_measure: z.ZodString;
|
|
21541
|
-
position_ids: z.ZodArray<z.ZodString>;
|
|
21542
|
-
quantity_completed: z.ZodInt;
|
|
21543
|
-
created_at: z.ZodISODateTime;
|
|
21544
|
-
updated_at: z.ZodISODateTime;
|
|
21545
|
-
work_date: z.ZodISODate;
|
|
21546
|
-
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
21547
|
-
}, z.core.$strip>], "completable_type">;
|
|
21548
|
-
export declare const zCreateProjectTradeBody: z.ZodObject<{
|
|
21549
|
-
name: z.ZodString;
|
|
23263
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
23264
|
+
completable_id: z.ZodString;
|
|
23265
|
+
created_by_user_id: z.ZodString;
|
|
23266
|
+
production_job_scope_price_id: z.ZodString;
|
|
23267
|
+
job_id: z.ZodString;
|
|
23268
|
+
scope_kind: z.ZodString;
|
|
23269
|
+
unit_of_measure: z.ZodString;
|
|
23270
|
+
position_ids: z.ZodArray<z.ZodString>;
|
|
23271
|
+
quantity_completed: z.ZodInt;
|
|
23272
|
+
created_at: z.ZodISODateTime;
|
|
23273
|
+
updated_at: z.ZodISODateTime;
|
|
23274
|
+
work_date: z.ZodISODate;
|
|
23275
|
+
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
23276
|
+
}, z.core.$strip>], "completable_type">;
|
|
23277
|
+
export declare const zCreateProjectTradeBody: z.ZodObject<{
|
|
23278
|
+
name: z.ZodString;
|
|
23279
|
+
}, z.core.$strip>;
|
|
23280
|
+
export declare const zCreateProjectTradePath: z.ZodObject<{
|
|
23281
|
+
project_id: z.ZodString;
|
|
23282
|
+
}, z.core.$strip>;
|
|
23283
|
+
/**
|
|
23284
|
+
* Created
|
|
23285
|
+
*/
|
|
23286
|
+
export declare const zCreateProjectTradeResponse: z.ZodObject<{
|
|
23287
|
+
id: z.ZodString;
|
|
23288
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
23289
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
23290
|
+
name: z.ZodString;
|
|
23291
|
+
normalized_key: z.ZodString;
|
|
23292
|
+
created_at: z.ZodISODateTime;
|
|
23293
|
+
updated_at: z.ZodISODateTime;
|
|
23294
|
+
}, z.core.$strip>;
|
|
23295
|
+
export declare const zListProjectSitesPath: z.ZodObject<{
|
|
23296
|
+
project_id: z.ZodString;
|
|
23297
|
+
}, z.core.$strip>;
|
|
23298
|
+
export declare const zListProjectSitesQuery: z.ZodObject<{
|
|
23299
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23300
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23301
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23302
|
+
}, z.core.$strip>;
|
|
23303
|
+
/**
|
|
23304
|
+
* Success
|
|
23305
|
+
*/
|
|
23306
|
+
export declare const zListProjectSitesResponse: z.ZodObject<{
|
|
23307
|
+
meta: z.ZodObject<{
|
|
23308
|
+
page: z.ZodObject<{
|
|
23309
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23310
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23311
|
+
}, z.core.$strip>;
|
|
23312
|
+
}, z.core.$strip>;
|
|
23313
|
+
links: z.ZodObject<{
|
|
23314
|
+
self: z.ZodString;
|
|
23315
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23316
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23317
|
+
}, z.core.$strip>;
|
|
23318
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23319
|
+
id: z.ZodString;
|
|
23320
|
+
site_id: z.ZodString;
|
|
23321
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
23322
|
+
}, z.core.$strip>>;
|
|
23323
|
+
}, z.core.$strip>;
|
|
23324
|
+
export declare const zCreateProjectSiteBody: z.ZodObject<{
|
|
23325
|
+
site_id: z.ZodString;
|
|
23326
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23327
|
+
}, z.core.$strip>;
|
|
23328
|
+
export declare const zCreateProjectSitePath: z.ZodObject<{
|
|
23329
|
+
project_id: z.ZodString;
|
|
23330
|
+
}, z.core.$strip>;
|
|
23331
|
+
/**
|
|
23332
|
+
* Created
|
|
23333
|
+
*/
|
|
23334
|
+
export declare const zCreateProjectSiteResponse: z.ZodObject<{
|
|
23335
|
+
id: z.ZodString;
|
|
23336
|
+
site_id: z.ZodString;
|
|
23337
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
23338
|
+
}, z.core.$strip>;
|
|
23339
|
+
export declare const zDeleteProjectSitePath: z.ZodObject<{
|
|
23340
|
+
project_id: z.ZodString;
|
|
23341
|
+
id: z.ZodString;
|
|
23342
|
+
}, z.core.$strip>;
|
|
23343
|
+
/**
|
|
23344
|
+
* No Content
|
|
23345
|
+
*/
|
|
23346
|
+
export declare const zDeleteProjectSiteResponse: z.ZodVoid;
|
|
23347
|
+
export declare const zGetProjectSitePath: z.ZodObject<{
|
|
23348
|
+
project_id: z.ZodString;
|
|
23349
|
+
id: z.ZodString;
|
|
23350
|
+
}, z.core.$strip>;
|
|
23351
|
+
/**
|
|
23352
|
+
* Success
|
|
23353
|
+
*/
|
|
23354
|
+
export declare const zGetProjectSiteResponse: z.ZodObject<{
|
|
23355
|
+
id: z.ZodString;
|
|
23356
|
+
site_id: z.ZodString;
|
|
23357
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
21550
23358
|
}, z.core.$strip>;
|
|
21551
|
-
export declare const
|
|
23359
|
+
export declare const zUpdateProjectSiteBody: z.ZodObject<{
|
|
23360
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23361
|
+
}, z.core.$strip>;
|
|
23362
|
+
export declare const zUpdateProjectSitePath: z.ZodObject<{
|
|
21552
23363
|
project_id: z.ZodString;
|
|
23364
|
+
id: z.ZodString;
|
|
21553
23365
|
}, z.core.$strip>;
|
|
21554
23366
|
/**
|
|
21555
|
-
*
|
|
23367
|
+
* Success
|
|
21556
23368
|
*/
|
|
21557
|
-
export declare const
|
|
23369
|
+
export declare const zUpdateProjectSiteResponse: z.ZodObject<{
|
|
21558
23370
|
id: z.ZodString;
|
|
21559
|
-
|
|
21560
|
-
|
|
21561
|
-
name: z.ZodString;
|
|
21562
|
-
normalized_key: z.ZodString;
|
|
21563
|
-
created_at: z.ZodISODateTime;
|
|
21564
|
-
updated_at: z.ZodISODateTime;
|
|
23371
|
+
site_id: z.ZodString;
|
|
23372
|
+
feature_ids: z.ZodArray<z.ZodString>;
|
|
21565
23373
|
}, z.core.$strip>;
|
|
21566
23374
|
export declare const zListProjectsQuery: z.ZodObject<{
|
|
21567
23375
|
'filter[federal_pwa_mode]': z.ZodOptional<z.ZodEnum<{
|
|
@@ -21764,7 +23572,6 @@ export declare const zUpdateProjectBody: z.ZodObject<{
|
|
|
21764
23572
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21765
23573
|
name: z.ZodOptional<z.ZodString>;
|
|
21766
23574
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21767
|
-
created_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21768
23575
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
21769
23576
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
21770
23577
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -22314,6 +24121,24 @@ export declare const zDeleteApprenticeshipOccupationResponse: z.ZodObject<{
|
|
|
22314
24121
|
created_at: z.ZodISODateTime;
|
|
22315
24122
|
updated_at: z.ZodISODateTime;
|
|
22316
24123
|
}, z.core.$strip>;
|
|
24124
|
+
export declare const zGetApprenticeshipOccupationPath: z.ZodObject<{
|
|
24125
|
+
trade_id: z.ZodString;
|
|
24126
|
+
id: z.ZodString;
|
|
24127
|
+
}, z.core.$strip>;
|
|
24128
|
+
/**
|
|
24129
|
+
* Success
|
|
24130
|
+
*/
|
|
24131
|
+
export declare const zGetApprenticeshipOccupationResponse: z.ZodObject<{
|
|
24132
|
+
id: z.ZodString;
|
|
24133
|
+
pwa_trade_id: z.ZodString;
|
|
24134
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
24135
|
+
scope_status: z.ZodEnum<{
|
|
24136
|
+
in_scope: "in_scope";
|
|
24137
|
+
out_of_scope: "out_of_scope";
|
|
24138
|
+
}>;
|
|
24139
|
+
created_at: z.ZodISODateTime;
|
|
24140
|
+
updated_at: z.ZodISODateTime;
|
|
24141
|
+
}, z.core.$strip>;
|
|
22317
24142
|
export declare const zUpdateApprenticeshipOccupationBody: z.ZodObject<{
|
|
22318
24143
|
scope_status: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
22319
24144
|
in_scope: "in_scope";
|
|
@@ -22594,7 +24419,6 @@ export declare const zListPositionsResponse: z.ZodObject<{
|
|
|
22594
24419
|
}, z.core.$strip>>;
|
|
22595
24420
|
}, z.core.$strip>;
|
|
22596
24421
|
export declare const zCreatePositionBody: z.ZodObject<{
|
|
22597
|
-
job_id: z.ZodOptional<z.ZodString>;
|
|
22598
24422
|
fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22599
24423
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22600
24424
|
end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -22695,7 +24519,6 @@ export declare const zGetPositionResponse: z.ZodObject<{
|
|
|
22695
24519
|
updated_at: z.ZodISODateTime;
|
|
22696
24520
|
}, z.core.$strip>;
|
|
22697
24521
|
export declare const zUpdatePositionBody: z.ZodObject<{
|
|
22698
|
-
job_id: z.ZodOptional<z.ZodString>;
|
|
22699
24522
|
fulfilled_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
22700
24523
|
start_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
22701
24524
|
end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
@@ -23149,6 +24972,48 @@ export declare const zGetPriorPeriodAdjustmentResponse: z.ZodObject<{
|
|
|
23149
24972
|
created_at: z.ZodISODateTime;
|
|
23150
24973
|
updated_at: z.ZodISODateTime;
|
|
23151
24974
|
}, z.core.$strip>;
|
|
24975
|
+
export declare const zUpdatePriorPeriodAdjustmentBody: z.ZodObject<{
|
|
24976
|
+
amount_cents: z.ZodOptional<z.ZodString>;
|
|
24977
|
+
rationale: z.ZodOptional<z.ZodEnum<{
|
|
24978
|
+
other: "other";
|
|
24979
|
+
hours_correction: "hours_correction";
|
|
24980
|
+
pwa_compliance: "pwa_compliance";
|
|
24981
|
+
rate_correction: "rate_correction";
|
|
24982
|
+
}>>;
|
|
24983
|
+
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24984
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24985
|
+
pwa_compliance_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
24986
|
+
}, z.core.$strip>;
|
|
24987
|
+
export declare const zUpdatePriorPeriodAdjustmentPath: z.ZodObject<{
|
|
24988
|
+
time_card_id: z.ZodString;
|
|
24989
|
+
id: z.ZodString;
|
|
24990
|
+
}, z.core.$strip>;
|
|
24991
|
+
/**
|
|
24992
|
+
* Success
|
|
24993
|
+
*/
|
|
24994
|
+
export declare const zUpdatePriorPeriodAdjustmentResponse: z.ZodObject<{
|
|
24995
|
+
id: z.ZodString;
|
|
24996
|
+
timekeeping_time_card_id: z.ZodString;
|
|
24997
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
24998
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
24999
|
+
created_by_user_id: z.ZodString;
|
|
25000
|
+
adjustment_type: z.ZodEnum<{
|
|
25001
|
+
overpayment_recovery: "overpayment_recovery";
|
|
25002
|
+
retroactive_increase: "retroactive_increase";
|
|
25003
|
+
}>;
|
|
25004
|
+
rationale: z.ZodEnum<{
|
|
25005
|
+
other: "other";
|
|
25006
|
+
hours_correction: "hours_correction";
|
|
25007
|
+
pwa_compliance: "pwa_compliance";
|
|
25008
|
+
rate_correction: "rate_correction";
|
|
25009
|
+
}>;
|
|
25010
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
25011
|
+
pwa_compliance_eligible: z.ZodBoolean;
|
|
25012
|
+
amount_cents: z.ZodString;
|
|
25013
|
+
currency: z.ZodString;
|
|
25014
|
+
created_at: z.ZodISODateTime;
|
|
25015
|
+
updated_at: z.ZodISODateTime;
|
|
25016
|
+
}, z.core.$strip>;
|
|
23152
25017
|
export declare const zListPwaCompliancesPath: z.ZodObject<{
|
|
23153
25018
|
time_card_id: z.ZodString;
|
|
23154
25019
|
}, z.core.$strip>;
|
|
@@ -23446,7 +25311,6 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
23446
25311
|
}, z.core.$strip>>;
|
|
23447
25312
|
}, z.core.$strip>;
|
|
23448
25313
|
export declare const zCreateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
|
|
23449
|
-
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
23450
25314
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
23451
25315
|
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
23452
25316
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23456,6 +25320,7 @@ export declare const zCreateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
|
|
|
23456
25320
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23457
25321
|
feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
23458
25322
|
}, z.core.$strip>, z.ZodObject<{
|
|
25323
|
+
timekeeping_time_card_id: z.ZodString;
|
|
23459
25324
|
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
23460
25325
|
}, z.core.$strip>>;
|
|
23461
25326
|
/**
|
|
@@ -23579,7 +25444,6 @@ export declare const zGetTimeEntryResponse: z.ZodObject<{
|
|
|
23579
25444
|
}, z.core.$strip>>;
|
|
23580
25445
|
}, z.core.$strip>;
|
|
23581
25446
|
export declare const zUpdateTimeEntryBody: z.ZodIntersection<z.ZodObject<{
|
|
23582
|
-
timekeeping_time_card_id: z.ZodOptional<z.ZodString>;
|
|
23583
25447
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
23584
25448
|
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
23585
25449
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -24862,6 +26726,73 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
|
|
|
24862
26726
|
created_at: z.ZodISODateTime;
|
|
24863
26727
|
}, z.core.$strip>>;
|
|
24864
26728
|
}, z.core.$strip>;
|
|
26729
|
+
export declare const zCreatePayPeriodConfigBody: z.ZodObject<{
|
|
26730
|
+
effective_date: z.ZodISODate;
|
|
26731
|
+
frequency: z.ZodEnum<{
|
|
26732
|
+
weekly: "weekly";
|
|
26733
|
+
biweekly: "biweekly";
|
|
26734
|
+
}>;
|
|
26735
|
+
start_day_of_week: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
26736
|
+
tz_name: z.ZodString;
|
|
26737
|
+
currency: z.ZodDefault<z.ZodOptional<z.ZodString>>;
|
|
26738
|
+
rounding_interval: z.ZodDefault<z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>>;
|
|
26739
|
+
payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
26740
|
+
rippling: "rippling";
|
|
26741
|
+
quickbooks_online: "quickbooks_online";
|
|
26742
|
+
paychex: "paychex";
|
|
26743
|
+
gusto: "gusto";
|
|
26744
|
+
}>>>;
|
|
26745
|
+
paid_after_holiday: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
26746
|
+
arrear_days: z.ZodInt;
|
|
26747
|
+
pay_run_deadline_days: z.ZodInt;
|
|
26748
|
+
pay_run_deadline_clock_time: z.ZodString;
|
|
26749
|
+
approvals_deadline_days: z.ZodInt;
|
|
26750
|
+
approvals_deadline_clock_time: z.ZodString;
|
|
26751
|
+
time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
26752
|
+
}, z.core.$strip>;
|
|
26753
|
+
/**
|
|
26754
|
+
* Created
|
|
26755
|
+
*/
|
|
26756
|
+
export declare const zCreatePayPeriodConfigResponse: z.ZodObject<{
|
|
26757
|
+
id: z.ZodString;
|
|
26758
|
+
company_id: z.ZodString;
|
|
26759
|
+
name: z.ZodString;
|
|
26760
|
+
frequency: z.ZodEnum<{
|
|
26761
|
+
weekly: "weekly";
|
|
26762
|
+
biweekly: "biweekly";
|
|
26763
|
+
}>;
|
|
26764
|
+
start_day_of_week: z.ZodInt;
|
|
26765
|
+
tz_name: z.ZodString;
|
|
26766
|
+
currency: z.ZodString;
|
|
26767
|
+
status: z.ZodEnum<{
|
|
26768
|
+
pending: "pending";
|
|
26769
|
+
failed: "failed";
|
|
26770
|
+
synced: "synced";
|
|
26771
|
+
}>;
|
|
26772
|
+
payroll_mode: z.ZodNullable<z.ZodEnum<{
|
|
26773
|
+
none: "none";
|
|
26774
|
+
base: "base";
|
|
26775
|
+
aggregate: "aggregate";
|
|
26776
|
+
}>>;
|
|
26777
|
+
time_mode: z.ZodEnum<{
|
|
26778
|
+
none: "none";
|
|
26779
|
+
base: "base";
|
|
26780
|
+
aggregate: "aggregate";
|
|
26781
|
+
}>;
|
|
26782
|
+
payroll_system: z.ZodNullable<z.ZodEnum<{
|
|
26783
|
+
rippling: "rippling";
|
|
26784
|
+
quickbooks_online: "quickbooks_online";
|
|
26785
|
+
paychex: "paychex";
|
|
26786
|
+
gusto: "gusto";
|
|
26787
|
+
}>>;
|
|
26788
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
26789
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
26790
|
+
paid_after_holiday: z.ZodBoolean;
|
|
26791
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
26792
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
26793
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26794
|
+
created_at: z.ZodISODateTime;
|
|
26795
|
+
}, z.core.$strip>;
|
|
24865
26796
|
export declare const zGetPayPeriodConfigPath: z.ZodObject<{
|
|
24866
26797
|
id: z.ZodString;
|
|
24867
26798
|
}, z.core.$strip>;
|
|
@@ -25116,8 +27047,8 @@ export declare const zListTodoInboxResponse: z.ZodObject<{
|
|
|
25116
27047
|
id: z.ZodString;
|
|
25117
27048
|
type: z.ZodEnum<{
|
|
25118
27049
|
job: "job";
|
|
25119
|
-
project: "project";
|
|
25120
27050
|
company: "company";
|
|
27051
|
+
project: "project";
|
|
25121
27052
|
}>;
|
|
25122
27053
|
company_id: z.ZodNullable<z.ZodString>;
|
|
25123
27054
|
job_id: z.ZodNullable<z.ZodString>;
|
|
@@ -25172,11 +27103,11 @@ export declare const zListTodoInboxResponse: z.ZodObject<{
|
|
|
25172
27103
|
category: z.ZodEnum<{
|
|
25173
27104
|
regional: "regional";
|
|
25174
27105
|
job: "job";
|
|
25175
|
-
project: "project";
|
|
25176
27106
|
company: "company";
|
|
25177
27107
|
apprenticeship: "apprenticeship";
|
|
25178
27108
|
certified_payroll: "certified_payroll";
|
|
25179
27109
|
payroll: "payroll";
|
|
27110
|
+
project: "project";
|
|
25180
27111
|
tax_credit: "tax_credit";
|
|
25181
27112
|
timekeeping: "timekeeping";
|
|
25182
27113
|
worker: "worker";
|
|
@@ -25525,10 +27456,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
|
|
|
25525
27456
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
25526
27457
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
25527
27458
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
25528
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
25529
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
25530
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
25531
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
27459
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27460
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27461
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27462
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25532
27463
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25533
27464
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25534
27465
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -25540,6 +27471,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
|
|
|
25540
27471
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
25541
27472
|
}, z.core.$strip>>;
|
|
25542
27473
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
27474
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27475
|
+
custom_field_config_id: z.ZodString;
|
|
27476
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27477
|
+
}, z.core.$strip>>>;
|
|
25543
27478
|
roles: z.ZodArray<z.ZodString>;
|
|
25544
27479
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
25545
27480
|
id: z.ZodString;
|
|
@@ -25656,10 +27591,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
25656
27591
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
25657
27592
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
25658
27593
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
25659
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
25660
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
25661
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
25662
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
27594
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27595
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27596
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27597
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25663
27598
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25664
27599
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25665
27600
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -25671,6 +27606,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
25671
27606
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
25672
27607
|
}, z.core.$strip>>;
|
|
25673
27608
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
27609
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27610
|
+
custom_field_config_id: z.ZodString;
|
|
27611
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27612
|
+
}, z.core.$strip>>>;
|
|
25674
27613
|
roles: z.ZodArray<z.ZodString>;
|
|
25675
27614
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
25676
27615
|
id: z.ZodString;
|
|
@@ -25767,6 +27706,10 @@ export declare const zCreateCompanyBody: z.ZodObject<{
|
|
|
25767
27706
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
25768
27707
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
25769
27708
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
27709
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27710
|
+
custom_field_config_id: z.ZodString;
|
|
27711
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27712
|
+
}, z.core.$strip>>>;
|
|
25770
27713
|
}, z.core.$strip>;
|
|
25771
27714
|
export declare const zCreateCompanyPath: z.ZodObject<{
|
|
25772
27715
|
user_id: z.ZodString;
|
|
@@ -25809,10 +27752,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
25809
27752
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
25810
27753
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
25811
27754
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
25812
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
25813
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
25814
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
25815
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
27755
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27756
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27757
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27758
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25816
27759
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25817
27760
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25818
27761
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -25824,6 +27767,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
25824
27767
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
25825
27768
|
}, z.core.$strip>>;
|
|
25826
27769
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
27770
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27771
|
+
custom_field_config_id: z.ZodString;
|
|
27772
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27773
|
+
}, z.core.$strip>>>;
|
|
25827
27774
|
roles: z.ZodArray<z.ZodString>;
|
|
25828
27775
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
25829
27776
|
id: z.ZodString;
|
|
@@ -25939,10 +27886,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
25939
27886
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
25940
27887
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
25941
27888
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
25942
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
25943
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
25944
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
25945
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
27889
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27890
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27891
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27892
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25946
27893
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25947
27894
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
25948
27895
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -25954,6 +27901,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
25954
27901
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
25955
27902
|
}, z.core.$strip>>;
|
|
25956
27903
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
27904
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
27905
|
+
custom_field_config_id: z.ZodString;
|
|
27906
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27907
|
+
}, z.core.$strip>>>;
|
|
25957
27908
|
roles: z.ZodArray<z.ZodString>;
|
|
25958
27909
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
25959
27910
|
id: z.ZodString;
|
|
@@ -26040,6 +27991,10 @@ export declare const zUpdateCompanyBody: z.ZodObject<{
|
|
|
26040
27991
|
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26041
27992
|
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26042
27993
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
27994
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
27995
|
+
custom_field_config_id: z.ZodString;
|
|
27996
|
+
value: z.ZodNullable<z.ZodString>;
|
|
27997
|
+
}, z.core.$strip>>>;
|
|
26043
27998
|
}, z.core.$strip>;
|
|
26044
27999
|
export declare const zUpdateCompanyPath: z.ZodObject<{
|
|
26045
28000
|
user_id: z.ZodString;
|
|
@@ -26083,10 +28038,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
|
|
|
26083
28038
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
26084
28039
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
26085
28040
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
26086
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
26087
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
26088
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
26089
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
28041
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28042
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28043
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28044
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26090
28045
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26091
28046
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26092
28047
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -26098,6 +28053,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
|
|
|
26098
28053
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26099
28054
|
}, z.core.$strip>>;
|
|
26100
28055
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
28056
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28057
|
+
custom_field_config_id: z.ZodString;
|
|
28058
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28059
|
+
}, z.core.$strip>>>;
|
|
26101
28060
|
roles: z.ZodArray<z.ZodString>;
|
|
26102
28061
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
26103
28062
|
id: z.ZodString;
|
|
@@ -26179,6 +28138,7 @@ export declare const zListUsersQuery: z.ZodObject<{
|
|
|
26179
28138
|
all: "all";
|
|
26180
28139
|
terminated: "terminated";
|
|
26181
28140
|
}>>;
|
|
28141
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
26182
28142
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
26183
28143
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
26184
28144
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -26239,10 +28199,10 @@ export declare const zListUsersResponse: z.ZodObject<{
|
|
|
26239
28199
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
26240
28200
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
26241
28201
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
26242
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
26243
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
26244
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
26245
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
28202
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28203
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28204
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28205
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26246
28206
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26247
28207
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26248
28208
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -26254,6 +28214,10 @@ export declare const zListUsersResponse: z.ZodObject<{
|
|
|
26254
28214
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26255
28215
|
}, z.core.$strip>>;
|
|
26256
28216
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
28217
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28218
|
+
custom_field_config_id: z.ZodString;
|
|
28219
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28220
|
+
}, z.core.$strip>>>;
|
|
26257
28221
|
roles: z.ZodArray<z.ZodString>;
|
|
26258
28222
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
26259
28223
|
id: z.ZodString;
|
|
@@ -26338,7 +28302,6 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
26338
28302
|
}, z.core.$strip>, z.ZodObject<{
|
|
26339
28303
|
skip_invite: z.ZodLiteral<true>;
|
|
26340
28304
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
26341
|
-
company_id: z.ZodOptional<z.ZodString>;
|
|
26342
28305
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26343
28306
|
personal_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26344
28307
|
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26366,6 +28329,10 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
26366
28329
|
manager_user_id: z.ZodOptional<z.ZodString>;
|
|
26367
28330
|
payroll_id: z.ZodOptional<z.ZodString>;
|
|
26368
28331
|
hourly_rate: z.ZodOptional<z.ZodString>;
|
|
28332
|
+
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
28333
|
+
hourly: "hourly";
|
|
28334
|
+
salary: "salary";
|
|
28335
|
+
}>>;
|
|
26369
28336
|
overtime_eligible: z.ZodOptional<z.ZodString>;
|
|
26370
28337
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodString>;
|
|
26371
28338
|
training_annual_amount: z.ZodOptional<z.ZodString>;
|
|
@@ -26377,6 +28344,10 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
26377
28344
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
26378
28345
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
26379
28346
|
group_ids: z.ZodOptional<z.ZodArray<z.ZodInt>>;
|
|
28347
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
28348
|
+
custom_field_config_id: z.ZodString;
|
|
28349
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28350
|
+
}, z.core.$strip>>>;
|
|
26380
28351
|
company_user_pwa_info: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
26381
28352
|
address1: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26382
28353
|
address2: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26486,10 +28457,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
26486
28457
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
26487
28458
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
26488
28459
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
26489
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
26490
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
26491
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
26492
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
28460
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28461
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28462
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28463
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26493
28464
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26494
28465
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26495
28466
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -26501,6 +28472,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
26501
28472
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26502
28473
|
}, z.core.$strip>>;
|
|
26503
28474
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
28475
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28476
|
+
custom_field_config_id: z.ZodString;
|
|
28477
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28478
|
+
}, z.core.$strip>>>;
|
|
26504
28479
|
roles: z.ZodArray<z.ZodString>;
|
|
26505
28480
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
26506
28481
|
id: z.ZodString;
|
|
@@ -26615,10 +28590,10 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
26615
28590
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
26616
28591
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
26617
28592
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
26618
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
26619
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
26620
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
26621
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
28593
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28594
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28595
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28596
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26622
28597
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26623
28598
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26624
28599
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -26630,6 +28605,10 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
26630
28605
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26631
28606
|
}, z.core.$strip>>;
|
|
26632
28607
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
28608
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28609
|
+
custom_field_config_id: z.ZodString;
|
|
28610
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28611
|
+
}, z.core.$strip>>>;
|
|
26633
28612
|
roles: z.ZodArray<z.ZodString>;
|
|
26634
28613
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
26635
28614
|
id: z.ZodString;
|
|
@@ -26758,10 +28737,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
|
|
|
26758
28737
|
enrolled_in_t_and_a: z.ZodNullable<z.ZodBoolean>;
|
|
26759
28738
|
payroll_id: z.ZodNullable<z.ZodString>;
|
|
26760
28739
|
compensation_type: z.ZodNullable<z.ZodString>;
|
|
26761
|
-
hourly_rate: z.ZodNullable<z.ZodString
|
|
26762
|
-
training_annual_amount: z.ZodNullable<z.ZodString
|
|
26763
|
-
employer_combined_health_amount: z.ZodNullable<z.ZodString
|
|
26764
|
-
employer_combined_savings: z.ZodNullable<z.ZodString
|
|
28740
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28741
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28742
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28743
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26765
28744
|
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26766
28745
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
26767
28746
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
@@ -26773,6 +28752,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
|
|
|
26773
28752
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
26774
28753
|
}, z.core.$strip>>;
|
|
26775
28754
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
28755
|
+
custom_fields: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
28756
|
+
custom_field_config_id: z.ZodString;
|
|
28757
|
+
value: z.ZodNullable<z.ZodString>;
|
|
28758
|
+
}, z.core.$strip>>>;
|
|
26776
28759
|
roles: z.ZodArray<z.ZodString>;
|
|
26777
28760
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
26778
28761
|
id: z.ZodString;
|