@dsptch-work/api-client 0.46.0 → 0.48.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 +65 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +165 -24
- package/dist/gen/sdk.gen.js +230 -23
- package/dist/gen/types.gen.d.ts +911 -22
- package/dist/gen/zod.gen.d.ts +749 -54
- package/dist/gen/zod.gen.js +347 -11
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -193,17 +193,23 @@ export declare const zProblem: z.ZodObject<{
|
|
|
193
193
|
*
|
|
194
194
|
* 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.
|
|
195
195
|
*
|
|
196
|
-
* ###
|
|
196
|
+
* ### pay_schedule_deletion_in_progress
|
|
197
197
|
*
|
|
198
|
-
* **
|
|
198
|
+
* **Pay Schedule Deletion In Progress**
|
|
199
199
|
*
|
|
200
|
-
*
|
|
200
|
+
* A reset or deletion is already running for this pay schedule. Wait until it finishes, then retry if the schedule is still present.
|
|
201
201
|
*
|
|
202
|
-
* ###
|
|
202
|
+
* ### pay_schedule_deletion_refused
|
|
203
203
|
*
|
|
204
|
-
* **
|
|
204
|
+
* **Pay Schedule Deletion Refused**
|
|
205
205
|
*
|
|
206
|
-
*
|
|
206
|
+
* This pay schedule cannot be deleted because it holds recorded time, payroll data, approvals, comments, exports, or payroll mappings that must be retained.
|
|
207
|
+
*
|
|
208
|
+
* ### product_archived
|
|
209
|
+
*
|
|
210
|
+
* **Product Archived**
|
|
211
|
+
*
|
|
212
|
+
* The item cannot be unarchived while its product is still archived — an item never lives active inside an archived product. Unarchive the product instead, which restores the item along with the rest of the product's holdings.
|
|
207
213
|
*
|
|
208
214
|
* ### span_beyond_timeline_end
|
|
209
215
|
*
|
|
@@ -414,8 +420,9 @@ export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
|
414
420
|
authorization_revoked: "authorization_revoked";
|
|
415
421
|
import_in_progress: "import_in_progress";
|
|
416
422
|
pay_schedule_already_exists: "pay_schedule_already_exists";
|
|
423
|
+
pay_schedule_deletion_in_progress: "pay_schedule_deletion_in_progress";
|
|
424
|
+
pay_schedule_deletion_refused: "pay_schedule_deletion_refused";
|
|
417
425
|
product_archived: "product_archived";
|
|
418
|
-
recorded_since_termination: "recorded_since_termination";
|
|
419
426
|
span_beyond_timeline_end: "span_beyond_timeline_end";
|
|
420
427
|
version_overlap: "version_overlap";
|
|
421
428
|
precondition_failed: "precondition_failed";
|
|
@@ -464,6 +471,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
464
471
|
"assets.items.documents": "assets.items.documents";
|
|
465
472
|
"assets.items.service_events": "assets.items.service_events";
|
|
466
473
|
"assets.products": "assets.products";
|
|
474
|
+
"assets.products.documents": "assets.products.documents";
|
|
467
475
|
"assets.vendors": "assets.vendors";
|
|
468
476
|
"compliance.checks": "compliance.checks";
|
|
469
477
|
form_submissions: "form_submissions";
|
|
@@ -471,6 +479,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
471
479
|
"internal.company_todos": "internal.company_todos";
|
|
472
480
|
"internal.job_todos": "internal.job_todos";
|
|
473
481
|
"internal.project_todos": "internal.project_todos";
|
|
482
|
+
jobs: "jobs";
|
|
474
483
|
"jobs.documents": "jobs.documents";
|
|
475
484
|
"jobs.pwa.apprenticeship.good_faith_effort_exceptions": "jobs.pwa.apprenticeship.good_faith_effort_exceptions";
|
|
476
485
|
"jobs.pwa.cure_payments": "jobs.pwa.cure_payments";
|
|
@@ -2050,6 +2059,42 @@ export declare const zPayPeriodConfigParameters: z.ZodObject<{
|
|
|
2050
2059
|
approvals_deadline_clock_time: z.ZodString;
|
|
2051
2060
|
time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2052
2061
|
}, z.core.$strip>;
|
|
2062
|
+
/**
|
|
2063
|
+
* Schedule a change to an existing pay schedule. effective_date is required; other fields are optional. tz_name, time_mode, and payroll_mode are refused.
|
|
2064
|
+
*/
|
|
2065
|
+
export declare const zPayPeriodConfigUpdateParameters: z.ZodObject<{
|
|
2066
|
+
effective_date: z.ZodISODate;
|
|
2067
|
+
frequency: z.ZodOptional<z.ZodEnum<{
|
|
2068
|
+
weekly: "weekly";
|
|
2069
|
+
biweekly: "biweekly";
|
|
2070
|
+
}>>;
|
|
2071
|
+
start_day_of_week: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
2072
|
+
tz_name: z.ZodOptional<z.ZodString>;
|
|
2073
|
+
rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
|
|
2074
|
+
payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2075
|
+
rippling: "rippling";
|
|
2076
|
+
quickbooks_online: "quickbooks_online";
|
|
2077
|
+
paychex: "paychex";
|
|
2078
|
+
gusto: "gusto";
|
|
2079
|
+
}>>>;
|
|
2080
|
+
paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
|
|
2081
|
+
arrear_days: z.ZodOptional<z.ZodInt>;
|
|
2082
|
+
pay_run_deadline_days: z.ZodOptional<z.ZodInt>;
|
|
2083
|
+
pay_run_deadline_clock_time: z.ZodOptional<z.ZodString>;
|
|
2084
|
+
approvals_deadline_days: z.ZodOptional<z.ZodInt>;
|
|
2085
|
+
approvals_deadline_clock_time: z.ZodOptional<z.ZodString>;
|
|
2086
|
+
time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2087
|
+
time_mode: z.ZodOptional<z.ZodEnum<{
|
|
2088
|
+
none: "none";
|
|
2089
|
+
base: "base";
|
|
2090
|
+
aggregate: "aggregate";
|
|
2091
|
+
}>>;
|
|
2092
|
+
payroll_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2093
|
+
none: "none";
|
|
2094
|
+
base: "base";
|
|
2095
|
+
aggregate: "aggregate";
|
|
2096
|
+
}>>>;
|
|
2097
|
+
}, z.core.$strip>;
|
|
2053
2098
|
/**
|
|
2054
2099
|
* 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.
|
|
2055
2100
|
*/
|
|
@@ -2769,6 +2814,7 @@ export declare const zPwaTradeApprenticeshipOccupationUpdateParameters: z.ZodObj
|
|
|
2769
2814
|
* Prevailing-wage / apprenticeship (PWA) compliance details for a job, used in certified-payroll reporting. Common fields are always present when this object exists; regional fields appear only when applicable to the job's region and regional PWA mode. The property is null when no PWA details have been configured; PWA tracking modes alone do not materialize it.
|
|
2770
2815
|
*/
|
|
2771
2816
|
export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
2817
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
2772
2818
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
2773
2819
|
prime_contractor: "prime_contractor";
|
|
2774
2820
|
sub_contractor: "sub_contractor";
|
|
@@ -2788,6 +2834,14 @@ export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
|
2788
2834
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2789
2835
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2790
2836
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2837
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
2838
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
2839
|
+
id: z.ZodString;
|
|
2840
|
+
filename: z.ZodString;
|
|
2841
|
+
content_type: z.ZodString;
|
|
2842
|
+
byte_size: z.ZodInt;
|
|
2843
|
+
url: z.ZodString;
|
|
2844
|
+
}, z.core.$strip>>>;
|
|
2791
2845
|
}, z.core.$strip>>;
|
|
2792
2846
|
/**
|
|
2793
2847
|
* Parameters for creating a job. Sets the job's schedule, work types, address, custom-field values, and optional Prevailing Wage / Apprenticeship (PWA) compliance. `requested_by_company_id` and `created_by_user_id` are required unless `template_id` names a template, whose copy keeps both. Undeclared body keys return 400, and a null for a field that is not nullable or a wrongly typed value returns 422 at its pointer, before any job or relationship is saved.
|
|
@@ -2795,6 +2849,8 @@ export declare const zPwaJobDetailsResponseObject: z.ZodNullable<z.ZodObject<{
|
|
|
2795
2849
|
export declare const zJobCreateParameters: z.ZodObject<{
|
|
2796
2850
|
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2797
2851
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2852
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
2853
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2798
2854
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2799
2855
|
description: z.ZodOptional<z.ZodString>;
|
|
2800
2856
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2833,6 +2889,12 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2833
2889
|
feature: "feature";
|
|
2834
2890
|
quantity: "quantity";
|
|
2835
2891
|
}>>;
|
|
2892
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
2893
|
+
unspecified: "unspecified";
|
|
2894
|
+
construction: "construction";
|
|
2895
|
+
long_term_service: "long_term_service";
|
|
2896
|
+
one_time_service: "one_time_service";
|
|
2897
|
+
}>>;
|
|
2836
2898
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2837
2899
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2838
2900
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2858,6 +2920,7 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2858
2920
|
value: z.ZodNullable<z.ZodString>;
|
|
2859
2921
|
}, z.core.$strip>>>;
|
|
2860
2922
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
2923
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2861
2924
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2862
2925
|
prime_contractor: "prime_contractor";
|
|
2863
2926
|
sub_contractor: "sub_contractor";
|
|
@@ -2883,6 +2946,8 @@ export declare const zJobCreateParameters: z.ZodObject<{
|
|
|
2883
2946
|
* 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. Undeclared body keys return 400, and a null for a field that is not nullable or a wrongly typed value returns 422 at its pointer, before any job or relationship changes.
|
|
2884
2947
|
*/
|
|
2885
2948
|
export declare const zJobUpdateParameters: z.ZodObject<{
|
|
2949
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
2950
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2886
2951
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2887
2952
|
description: z.ZodOptional<z.ZodString>;
|
|
2888
2953
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2921,6 +2986,12 @@ export declare const zJobUpdateParameters: z.ZodObject<{
|
|
|
2921
2986
|
feature: "feature";
|
|
2922
2987
|
quantity: "quantity";
|
|
2923
2988
|
}>>;
|
|
2989
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
2990
|
+
unspecified: "unspecified";
|
|
2991
|
+
construction: "construction";
|
|
2992
|
+
long_term_service: "long_term_service";
|
|
2993
|
+
one_time_service: "one_time_service";
|
|
2994
|
+
}>>;
|
|
2924
2995
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2925
2996
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2926
2997
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2946,6 +3017,7 @@ export declare const zJobUpdateParameters: z.ZodObject<{
|
|
|
2946
3017
|
value: z.ZodNullable<z.ZodString>;
|
|
2947
3018
|
}, z.core.$strip>>>;
|
|
2948
3019
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
3020
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2949
3021
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
2950
3022
|
prime_contractor: "prime_contractor";
|
|
2951
3023
|
sub_contractor: "sub_contractor";
|
|
@@ -6848,6 +6920,7 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6848
6920
|
name: z.ZodString;
|
|
6849
6921
|
}, z.core.$strip>>;
|
|
6850
6922
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
6923
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
6851
6924
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
6852
6925
|
prime_contractor: "prime_contractor";
|
|
6853
6926
|
sub_contractor: "sub_contractor";
|
|
@@ -6867,6 +6940,14 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6867
6940
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6868
6941
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6869
6942
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6943
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
6944
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
6945
|
+
id: z.ZodString;
|
|
6946
|
+
filename: z.ZodString;
|
|
6947
|
+
content_type: z.ZodString;
|
|
6948
|
+
byte_size: z.ZodInt;
|
|
6949
|
+
url: z.ZodString;
|
|
6950
|
+
}, z.core.$strip>>>;
|
|
6870
6951
|
}, z.core.$strip>>;
|
|
6871
6952
|
work_types: z.ZodArray<z.ZodObject<{
|
|
6872
6953
|
value: z.ZodString;
|
|
@@ -6875,6 +6956,12 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
6875
6956
|
tracks_feature_allocations: z.ZodBoolean;
|
|
6876
6957
|
requires_feature_allocation: z.ZodBoolean;
|
|
6877
6958
|
max_one_feature_allocation: z.ZodBoolean;
|
|
6959
|
+
work_classification: z.ZodEnum<{
|
|
6960
|
+
unspecified: "unspecified";
|
|
6961
|
+
construction: "construction";
|
|
6962
|
+
long_term_service: "long_term_service";
|
|
6963
|
+
one_time_service: "one_time_service";
|
|
6964
|
+
}>;
|
|
6878
6965
|
production_tracking_kind: z.ZodEnum<{
|
|
6879
6966
|
none: "none";
|
|
6880
6967
|
feature: "feature";
|
|
@@ -8090,6 +8177,39 @@ export declare const zLaborRateResponseObject: z.ZodObject<{
|
|
|
8090
8177
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
8091
8178
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
8092
8179
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
8180
|
+
fringe_calculation: z.ZodObject<{
|
|
8181
|
+
available: z.ZodBoolean;
|
|
8182
|
+
hourly_cents: z.ZodNullable<z.ZodString>;
|
|
8183
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
8184
|
+
component_ids: z.ZodArray<z.ZodString>;
|
|
8185
|
+
}, z.core.$strip>;
|
|
8186
|
+
fringe_benefit_components: z.ZodArray<z.ZodObject<{
|
|
8187
|
+
id: z.ZodString;
|
|
8188
|
+
position: z.ZodInt;
|
|
8189
|
+
amount_cents: z.ZodString;
|
|
8190
|
+
period: z.ZodEnum<{
|
|
8191
|
+
shift: "shift";
|
|
8192
|
+
year: "year";
|
|
8193
|
+
hour: "hour";
|
|
8194
|
+
day: "day";
|
|
8195
|
+
week: "week";
|
|
8196
|
+
month: "month";
|
|
8197
|
+
}>;
|
|
8198
|
+
kind: z.ZodEnum<{
|
|
8199
|
+
fringe: "fringe";
|
|
8200
|
+
wage_premium: "wage_premium";
|
|
8201
|
+
unresolved: "unresolved";
|
|
8202
|
+
}>;
|
|
8203
|
+
text: z.ZodString;
|
|
8204
|
+
attachment_status: z.ZodEnum<{
|
|
8205
|
+
unresolved: "unresolved";
|
|
8206
|
+
rate: "rate";
|
|
8207
|
+
}>;
|
|
8208
|
+
labor_rate_id: z.ZodNullable<z.ZodString>;
|
|
8209
|
+
source_sha256: z.ZodString;
|
|
8210
|
+
start_offset: z.ZodInt;
|
|
8211
|
+
end_offset: z.ZodInt;
|
|
8212
|
+
}, z.core.$strip>>;
|
|
8093
8213
|
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
8094
8214
|
created_at: z.ZodISODateTime;
|
|
8095
8215
|
updated_at: z.ZodISODateTime;
|
|
@@ -8119,6 +8239,39 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
|
|
|
8119
8239
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
8120
8240
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
8121
8241
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
8242
|
+
fringe_calculation: z.ZodObject<{
|
|
8243
|
+
available: z.ZodBoolean;
|
|
8244
|
+
hourly_cents: z.ZodNullable<z.ZodString>;
|
|
8245
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
8246
|
+
component_ids: z.ZodArray<z.ZodString>;
|
|
8247
|
+
}, z.core.$strip>;
|
|
8248
|
+
fringe_benefit_components: z.ZodArray<z.ZodObject<{
|
|
8249
|
+
id: z.ZodString;
|
|
8250
|
+
position: z.ZodInt;
|
|
8251
|
+
amount_cents: z.ZodString;
|
|
8252
|
+
period: z.ZodEnum<{
|
|
8253
|
+
shift: "shift";
|
|
8254
|
+
year: "year";
|
|
8255
|
+
hour: "hour";
|
|
8256
|
+
day: "day";
|
|
8257
|
+
week: "week";
|
|
8258
|
+
month: "month";
|
|
8259
|
+
}>;
|
|
8260
|
+
kind: z.ZodEnum<{
|
|
8261
|
+
fringe: "fringe";
|
|
8262
|
+
wage_premium: "wage_premium";
|
|
8263
|
+
unresolved: "unresolved";
|
|
8264
|
+
}>;
|
|
8265
|
+
text: z.ZodString;
|
|
8266
|
+
attachment_status: z.ZodEnum<{
|
|
8267
|
+
unresolved: "unresolved";
|
|
8268
|
+
rate: "rate";
|
|
8269
|
+
}>;
|
|
8270
|
+
labor_rate_id: z.ZodNullable<z.ZodString>;
|
|
8271
|
+
source_sha256: z.ZodString;
|
|
8272
|
+
start_offset: z.ZodInt;
|
|
8273
|
+
end_offset: z.ZodInt;
|
|
8274
|
+
}, z.core.$strip>>;
|
|
8122
8275
|
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
8123
8276
|
created_at: z.ZodISODateTime;
|
|
8124
8277
|
updated_at: z.ZodISODateTime;
|
|
@@ -10905,7 +11058,27 @@ export declare const zAssetsDocumentResponseObject: z.ZodObject<{
|
|
|
10905
11058
|
updated_at: z.ZodISODateTime;
|
|
10906
11059
|
}, z.core.$strip>;
|
|
10907
11060
|
/**
|
|
10908
|
-
*
|
|
11061
|
+
* A file attached to an asset product — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
|
|
11062
|
+
*/
|
|
11063
|
+
export declare const zAssetsProductDocumentResponseObject: z.ZodObject<{
|
|
11064
|
+
id: z.ZodString;
|
|
11065
|
+
assets_product_id: z.ZodString;
|
|
11066
|
+
name: z.ZodString;
|
|
11067
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
11068
|
+
description: z.ZodNullable<z.ZodString>;
|
|
11069
|
+
certified: z.ZodBoolean;
|
|
11070
|
+
created_by_user_id: z.ZodString;
|
|
11071
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
11072
|
+
filename: z.ZodString;
|
|
11073
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
11074
|
+
byte_size: z.ZodInt;
|
|
11075
|
+
url: z.ZodString;
|
|
11076
|
+
}, z.core.$strip>>;
|
|
11077
|
+
created_at: z.ZodISODateTime;
|
|
11078
|
+
updated_at: z.ZodISODateTime;
|
|
11079
|
+
}, z.core.$strip>;
|
|
11080
|
+
/**
|
|
11081
|
+
* Attach a file to an asset item or product as a document. file is required and takes a signed_id from the direct-upload endpoint.
|
|
10909
11082
|
*/
|
|
10910
11083
|
export declare const zAssetsDocumentParameters: z.ZodObject<{
|
|
10911
11084
|
file: z.ZodString;
|
|
@@ -10914,7 +11087,7 @@ export declare const zAssetsDocumentParameters: z.ZodObject<{
|
|
|
10914
11087
|
performed_by_user_id: z.ZodString;
|
|
10915
11088
|
}, z.core.$strip>;
|
|
10916
11089
|
/**
|
|
10917
|
-
* Update an asset
|
|
11090
|
+
* Update an asset item or product document. All fields are optional — send only what changes. Omit file to retain the existing attachment, or supply a new signed_id to replace it. A document always holds a file, so null answers 422, as does a blank string.
|
|
10918
11091
|
*/
|
|
10919
11092
|
export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
|
|
10920
11093
|
file: z.ZodOptional<z.ZodString>;
|
|
@@ -10922,7 +11095,7 @@ export declare const zAssetsDocumentUpdateParameters: z.ZodObject<{
|
|
|
10922
11095
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10923
11096
|
}, z.core.$strip>;
|
|
10924
11097
|
/**
|
|
10925
|
-
* One entry in an
|
|
11098
|
+
* One entry in an asset document's change history, recorded whenever the document is created, updated, or deleted — including when only its attached file is replaced.
|
|
10926
11099
|
*/
|
|
10927
11100
|
export declare const zAssetsDocumentVersionResponseObject: z.ZodObject<{
|
|
10928
11101
|
id: z.ZodInt;
|
|
@@ -11239,9 +11412,9 @@ export declare const zAssetsServiceScheduleResponseObject: z.ZodObject<{
|
|
|
11239
11412
|
name: z.ZodNullable<z.ZodString>;
|
|
11240
11413
|
interval_unit: z.ZodEnum<{
|
|
11241
11414
|
year: "year";
|
|
11242
|
-
month: "month";
|
|
11243
|
-
week: "week";
|
|
11244
11415
|
day: "day";
|
|
11416
|
+
week: "week";
|
|
11417
|
+
month: "month";
|
|
11245
11418
|
}>;
|
|
11246
11419
|
interval_count: z.ZodInt;
|
|
11247
11420
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -11260,9 +11433,9 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
|
|
|
11260
11433
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11261
11434
|
interval_unit: z.ZodEnum<{
|
|
11262
11435
|
year: "year";
|
|
11263
|
-
month: "month";
|
|
11264
|
-
week: "week";
|
|
11265
11436
|
day: "day";
|
|
11437
|
+
week: "week";
|
|
11438
|
+
month: "month";
|
|
11266
11439
|
}>;
|
|
11267
11440
|
interval_count: z.ZodInt;
|
|
11268
11441
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -11279,9 +11452,9 @@ export declare const zAssetsServiceScheduleUpdateParameters: z.ZodObject<{
|
|
|
11279
11452
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11280
11453
|
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
11281
11454
|
year: "year";
|
|
11282
|
-
month: "month";
|
|
11283
|
-
week: "week";
|
|
11284
11455
|
day: "day";
|
|
11456
|
+
week: "week";
|
|
11457
|
+
month: "month";
|
|
11285
11458
|
}>>;
|
|
11286
11459
|
interval_count: z.ZodOptional<z.ZodInt>;
|
|
11287
11460
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -11369,9 +11542,9 @@ export declare const zAssetsServiceScheduleTemplateResponseObject: z.ZodObject<{
|
|
|
11369
11542
|
name: z.ZodNullable<z.ZodString>;
|
|
11370
11543
|
interval_unit: z.ZodEnum<{
|
|
11371
11544
|
year: "year";
|
|
11372
|
-
month: "month";
|
|
11373
|
-
week: "week";
|
|
11374
11545
|
day: "day";
|
|
11546
|
+
week: "week";
|
|
11547
|
+
month: "month";
|
|
11375
11548
|
}>;
|
|
11376
11549
|
interval_count: z.ZodInt;
|
|
11377
11550
|
created_at: z.ZodISODateTime;
|
|
@@ -11388,9 +11561,9 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
|
|
|
11388
11561
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11389
11562
|
interval_unit: z.ZodEnum<{
|
|
11390
11563
|
year: "year";
|
|
11391
|
-
month: "month";
|
|
11392
|
-
week: "week";
|
|
11393
11564
|
day: "day";
|
|
11565
|
+
week: "week";
|
|
11566
|
+
month: "month";
|
|
11394
11567
|
}>;
|
|
11395
11568
|
interval_count: z.ZodInt;
|
|
11396
11569
|
performed_by_user_id: z.ZodString;
|
|
@@ -11406,9 +11579,9 @@ export declare const zAssetsServiceScheduleTemplateUpdateParameters: z.ZodObject
|
|
|
11406
11579
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11407
11580
|
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
11408
11581
|
year: "year";
|
|
11409
|
-
month: "month";
|
|
11410
|
-
week: "week";
|
|
11411
11582
|
day: "day";
|
|
11583
|
+
week: "week";
|
|
11584
|
+
month: "month";
|
|
11412
11585
|
}>>;
|
|
11413
11586
|
interval_count: z.ZodOptional<z.ZodInt>;
|
|
11414
11587
|
performed_by_user_id: z.ZodString;
|
|
@@ -11568,6 +11741,146 @@ export declare const zCompetencyStandardArchiveParametersWritable: z.ZodRecord<z
|
|
|
11568
11741
|
* Revoke an active grant. The body takes no fields; send an empty object or no body. Revocation sets revoked_at and keeps the row; revoking it again answers 409 authorization_revoked.
|
|
11569
11742
|
*/
|
|
11570
11743
|
export declare const zCompetencyAssessorAuthorizationRevocationParametersWritable: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
11744
|
+
/**
|
|
11745
|
+
* Prevailing-wage / apprenticeship (PWA) compliance details for a job, used in certified-payroll reporting. Common fields are always present when this object exists; regional fields appear only when applicable to the job's region and regional PWA mode. The property is null when no PWA details have been configured; PWA tracking modes alone do not materialize it.
|
|
11746
|
+
*/
|
|
11747
|
+
export declare const zPwaJobDetailsResponseObjectWritable: z.ZodNullable<z.ZodObject<{
|
|
11748
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
11749
|
+
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
11750
|
+
prime_contractor: "prime_contractor";
|
|
11751
|
+
sub_contractor: "sub_contractor";
|
|
11752
|
+
}>>;
|
|
11753
|
+
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
11754
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11755
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11756
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11757
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11758
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11759
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11760
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11761
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11762
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11763
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11764
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11765
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11766
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11767
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11768
|
+
}, z.core.$strip>>;
|
|
11769
|
+
/**
|
|
11770
|
+
* A job — the primary unit of work in DSPTCH. Workers fill its positions and track time against it; it optionally tracks Prevailing Wage / Apprenticeship (PWA) compliance and optionally belongs to a project. There is no delete endpoint — cancel or complete a job through its status instead.
|
|
11771
|
+
*/
|
|
11772
|
+
export declare const zJobResponseObjectWritable: z.ZodObject<{
|
|
11773
|
+
id: z.ZodString;
|
|
11774
|
+
display_id: z.ZodInt;
|
|
11775
|
+
description: z.ZodString;
|
|
11776
|
+
scheduled_time: z.ZodNullable<z.ZodString>;
|
|
11777
|
+
created_at: z.ZodISODateTime;
|
|
11778
|
+
updated_at: z.ZodISODateTime;
|
|
11779
|
+
status: z.ZodString;
|
|
11780
|
+
start_time: z.ZodNullable<z.ZodISODate>;
|
|
11781
|
+
end_time: z.ZodNullable<z.ZodISODate>;
|
|
11782
|
+
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11783
|
+
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>]>;
|
|
11784
|
+
tz_name: z.ZodString;
|
|
11785
|
+
require_clock_in: z.ZodBoolean;
|
|
11786
|
+
clock_in_requirement: z.ZodEnum<{
|
|
11787
|
+
none: "none";
|
|
11788
|
+
warning: "warning";
|
|
11789
|
+
required: "required";
|
|
11790
|
+
}>;
|
|
11791
|
+
name: z.ZodNullable<z.ZodString>;
|
|
11792
|
+
federal_pwa_mode: z.ZodEnum<{
|
|
11793
|
+
none: "none";
|
|
11794
|
+
all: "all";
|
|
11795
|
+
pw_only: "pw_only";
|
|
11796
|
+
ap_only: "ap_only";
|
|
11797
|
+
}>;
|
|
11798
|
+
regional_pwa_mode: z.ZodEnum<{
|
|
11799
|
+
none: "none";
|
|
11800
|
+
all: "all";
|
|
11801
|
+
pw_only: "pw_only";
|
|
11802
|
+
ap_only: "ap_only";
|
|
11803
|
+
}>;
|
|
11804
|
+
region: z.ZodNullable<z.ZodString>;
|
|
11805
|
+
send_geofence_reminders: z.ZodNullable<z.ZodBoolean>;
|
|
11806
|
+
allow_customer_access: z.ZodBoolean;
|
|
11807
|
+
created_by_company_id: z.ZodString;
|
|
11808
|
+
requested_by_company_id: z.ZodNullable<z.ZodString>;
|
|
11809
|
+
project_id: z.ZodNullable<z.ZodString>;
|
|
11810
|
+
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
11811
|
+
manager_users: z.ZodArray<z.ZodObject<{
|
|
11812
|
+
id: z.ZodString;
|
|
11813
|
+
name: z.ZodString;
|
|
11814
|
+
}, z.core.$strip>>;
|
|
11815
|
+
created_by_user: z.ZodObject<{
|
|
11816
|
+
id: z.ZodString;
|
|
11817
|
+
name: z.ZodString;
|
|
11818
|
+
}, z.core.$strip>;
|
|
11819
|
+
sites: z.ZodArray<z.ZodObject<{
|
|
11820
|
+
name: z.ZodString;
|
|
11821
|
+
features: z.ZodArray<z.ZodObject<{
|
|
11822
|
+
name: z.ZodString;
|
|
11823
|
+
}, z.core.$strip>>;
|
|
11824
|
+
}, z.core.$strip>>;
|
|
11825
|
+
job_address: z.ZodNullable<z.ZodObject<{
|
|
11826
|
+
label: z.ZodString;
|
|
11827
|
+
}, z.core.$strip>>;
|
|
11828
|
+
positions: z.ZodArray<z.ZodObject<{
|
|
11829
|
+
position_function: z.ZodNullable<z.ZodObject<{
|
|
11830
|
+
id: z.ZodString;
|
|
11831
|
+
value: z.ZodString;
|
|
11832
|
+
description: z.ZodString;
|
|
11833
|
+
}, z.core.$strip>>;
|
|
11834
|
+
fulfilled_by_user_id: z.ZodNullable<z.ZodString>;
|
|
11835
|
+
}, z.core.$strip>>;
|
|
11836
|
+
project: z.ZodNullable<z.ZodObject<{
|
|
11837
|
+
name: z.ZodString;
|
|
11838
|
+
}, z.core.$strip>>;
|
|
11839
|
+
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
11840
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
11841
|
+
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
11842
|
+
prime_contractor: "prime_contractor";
|
|
11843
|
+
sub_contractor: "sub_contractor";
|
|
11844
|
+
}>>;
|
|
11845
|
+
pay_full_cash_fringe_by_default: z.ZodBoolean;
|
|
11846
|
+
dir_awarding_body_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11847
|
+
dir_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11848
|
+
dir_project_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11849
|
+
dir_contract_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11850
|
+
dir_project_awarding_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11851
|
+
dir_project_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11852
|
+
il_dol_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11853
|
+
il_dol_state_capital_funds: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11854
|
+
il_dol_public_body_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11855
|
+
il_dol_public_body_contact_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11856
|
+
il_dol_public_body_address_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11857
|
+
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11858
|
+
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11859
|
+
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11860
|
+
}, z.core.$strip>>;
|
|
11861
|
+
work_types: z.ZodArray<z.ZodObject<{
|
|
11862
|
+
value: z.ZodString;
|
|
11863
|
+
}, z.core.$strip>>;
|
|
11864
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
11865
|
+
tracks_feature_allocations: z.ZodBoolean;
|
|
11866
|
+
requires_feature_allocation: z.ZodBoolean;
|
|
11867
|
+
max_one_feature_allocation: z.ZodBoolean;
|
|
11868
|
+
work_classification: z.ZodEnum<{
|
|
11869
|
+
unspecified: "unspecified";
|
|
11870
|
+
construction: "construction";
|
|
11871
|
+
long_term_service: "long_term_service";
|
|
11872
|
+
one_time_service: "one_time_service";
|
|
11873
|
+
}>;
|
|
11874
|
+
production_tracking_kind: z.ZodEnum<{
|
|
11875
|
+
none: "none";
|
|
11876
|
+
feature: "feature";
|
|
11877
|
+
quantity: "quantity";
|
|
11878
|
+
}>;
|
|
11879
|
+
custom_fields: z.ZodArray<z.ZodObject<{
|
|
11880
|
+
custom_field_config_id: z.ZodString;
|
|
11881
|
+
value: z.ZodNullable<z.ZodString>;
|
|
11882
|
+
}, z.core.$strip>>;
|
|
11883
|
+
}, z.core.$strip>;
|
|
11571
11884
|
/**
|
|
11572
11885
|
* A certification held by a worker — the record that a worker earned a certification, with its receipt date, optional expiry, and verification state.
|
|
11573
11886
|
*/
|
|
@@ -14097,9 +14410,9 @@ export declare const zListServiceSchedulesResponse: z.ZodObject<{
|
|
|
14097
14410
|
name: z.ZodNullable<z.ZodString>;
|
|
14098
14411
|
interval_unit: z.ZodEnum<{
|
|
14099
14412
|
year: "year";
|
|
14100
|
-
month: "month";
|
|
14101
|
-
week: "week";
|
|
14102
14413
|
day: "day";
|
|
14414
|
+
week: "week";
|
|
14415
|
+
month: "month";
|
|
14103
14416
|
}>;
|
|
14104
14417
|
interval_count: z.ZodInt;
|
|
14105
14418
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -14116,9 +14429,9 @@ export declare const zCreateServiceScheduleBody: z.ZodObject<{
|
|
|
14116
14429
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14117
14430
|
interval_unit: z.ZodEnum<{
|
|
14118
14431
|
year: "year";
|
|
14119
|
-
month: "month";
|
|
14120
|
-
week: "week";
|
|
14121
14432
|
day: "day";
|
|
14433
|
+
week: "week";
|
|
14434
|
+
month: "month";
|
|
14122
14435
|
}>;
|
|
14123
14436
|
interval_count: z.ZodInt;
|
|
14124
14437
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -14142,9 +14455,9 @@ export declare const zCreateServiceScheduleResponse: z.ZodObject<{
|
|
|
14142
14455
|
name: z.ZodNullable<z.ZodString>;
|
|
14143
14456
|
interval_unit: z.ZodEnum<{
|
|
14144
14457
|
year: "year";
|
|
14145
|
-
month: "month";
|
|
14146
|
-
week: "week";
|
|
14147
14458
|
day: "day";
|
|
14459
|
+
week: "week";
|
|
14460
|
+
month: "month";
|
|
14148
14461
|
}>;
|
|
14149
14462
|
interval_count: z.ZodInt;
|
|
14150
14463
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -14171,9 +14484,9 @@ export declare const zDeleteServiceScheduleResponse: z.ZodObject<{
|
|
|
14171
14484
|
name: z.ZodNullable<z.ZodString>;
|
|
14172
14485
|
interval_unit: z.ZodEnum<{
|
|
14173
14486
|
year: "year";
|
|
14174
|
-
month: "month";
|
|
14175
|
-
week: "week";
|
|
14176
14487
|
day: "day";
|
|
14488
|
+
week: "week";
|
|
14489
|
+
month: "month";
|
|
14177
14490
|
}>;
|
|
14178
14491
|
interval_count: z.ZodInt;
|
|
14179
14492
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -14200,9 +14513,9 @@ export declare const zGetServiceScheduleResponse: z.ZodObject<{
|
|
|
14200
14513
|
name: z.ZodNullable<z.ZodString>;
|
|
14201
14514
|
interval_unit: z.ZodEnum<{
|
|
14202
14515
|
year: "year";
|
|
14203
|
-
month: "month";
|
|
14204
|
-
week: "week";
|
|
14205
14516
|
day: "day";
|
|
14517
|
+
week: "week";
|
|
14518
|
+
month: "month";
|
|
14206
14519
|
}>;
|
|
14207
14520
|
interval_count: z.ZodInt;
|
|
14208
14521
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -14218,9 +14531,9 @@ export declare const zUpdateServiceScheduleBody: z.ZodObject<{
|
|
|
14218
14531
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14219
14532
|
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
14220
14533
|
year: "year";
|
|
14221
|
-
month: "month";
|
|
14222
|
-
week: "week";
|
|
14223
14534
|
day: "day";
|
|
14535
|
+
week: "week";
|
|
14536
|
+
month: "month";
|
|
14224
14537
|
}>>;
|
|
14225
14538
|
interval_count: z.ZodOptional<z.ZodInt>;
|
|
14226
14539
|
last_serviced_on: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -14245,9 +14558,9 @@ export declare const zUpdateServiceScheduleResponse: z.ZodObject<{
|
|
|
14245
14558
|
name: z.ZodNullable<z.ZodString>;
|
|
14246
14559
|
interval_unit: z.ZodEnum<{
|
|
14247
14560
|
year: "year";
|
|
14248
|
-
month: "month";
|
|
14249
|
-
week: "week";
|
|
14250
14561
|
day: "day";
|
|
14562
|
+
week: "week";
|
|
14563
|
+
month: "month";
|
|
14251
14564
|
}>;
|
|
14252
14565
|
interval_count: z.ZodInt;
|
|
14253
14566
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -15451,9 +15764,9 @@ export declare const zListServiceScheduleTemplatesResponse: z.ZodObject<{
|
|
|
15451
15764
|
name: z.ZodNullable<z.ZodString>;
|
|
15452
15765
|
interval_unit: z.ZodEnum<{
|
|
15453
15766
|
year: "year";
|
|
15454
|
-
month: "month";
|
|
15455
|
-
week: "week";
|
|
15456
15767
|
day: "day";
|
|
15768
|
+
week: "week";
|
|
15769
|
+
month: "month";
|
|
15457
15770
|
}>;
|
|
15458
15771
|
interval_count: z.ZodInt;
|
|
15459
15772
|
created_at: z.ZodISODateTime;
|
|
@@ -15468,9 +15781,9 @@ export declare const zCreateServiceScheduleTemplateBody: z.ZodObject<{
|
|
|
15468
15781
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15469
15782
|
interval_unit: z.ZodEnum<{
|
|
15470
15783
|
year: "year";
|
|
15471
|
-
month: "month";
|
|
15472
|
-
week: "week";
|
|
15473
15784
|
day: "day";
|
|
15785
|
+
week: "week";
|
|
15786
|
+
month: "month";
|
|
15474
15787
|
}>;
|
|
15475
15788
|
interval_count: z.ZodInt;
|
|
15476
15789
|
performed_by_user_id: z.ZodString;
|
|
@@ -15492,9 +15805,9 @@ export declare const zCreateServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15492
15805
|
name: z.ZodNullable<z.ZodString>;
|
|
15493
15806
|
interval_unit: z.ZodEnum<{
|
|
15494
15807
|
year: "year";
|
|
15495
|
-
month: "month";
|
|
15496
|
-
week: "week";
|
|
15497
15808
|
day: "day";
|
|
15809
|
+
week: "week";
|
|
15810
|
+
month: "month";
|
|
15498
15811
|
}>;
|
|
15499
15812
|
interval_count: z.ZodInt;
|
|
15500
15813
|
created_at: z.ZodISODateTime;
|
|
@@ -15518,9 +15831,9 @@ export declare const zDeleteServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15518
15831
|
name: z.ZodNullable<z.ZodString>;
|
|
15519
15832
|
interval_unit: z.ZodEnum<{
|
|
15520
15833
|
year: "year";
|
|
15521
|
-
month: "month";
|
|
15522
|
-
week: "week";
|
|
15523
15834
|
day: "day";
|
|
15835
|
+
week: "week";
|
|
15836
|
+
month: "month";
|
|
15524
15837
|
}>;
|
|
15525
15838
|
interval_count: z.ZodInt;
|
|
15526
15839
|
created_at: z.ZodISODateTime;
|
|
@@ -15544,9 +15857,9 @@ export declare const zGetServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15544
15857
|
name: z.ZodNullable<z.ZodString>;
|
|
15545
15858
|
interval_unit: z.ZodEnum<{
|
|
15546
15859
|
year: "year";
|
|
15547
|
-
month: "month";
|
|
15548
|
-
week: "week";
|
|
15549
15860
|
day: "day";
|
|
15861
|
+
week: "week";
|
|
15862
|
+
month: "month";
|
|
15550
15863
|
}>;
|
|
15551
15864
|
interval_count: z.ZodInt;
|
|
15552
15865
|
created_at: z.ZodISODateTime;
|
|
@@ -15560,9 +15873,9 @@ export declare const zUpdateServiceScheduleTemplateBody: z.ZodObject<{
|
|
|
15560
15873
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15561
15874
|
interval_unit: z.ZodOptional<z.ZodEnum<{
|
|
15562
15875
|
year: "year";
|
|
15563
|
-
month: "month";
|
|
15564
|
-
week: "week";
|
|
15565
15876
|
day: "day";
|
|
15877
|
+
week: "week";
|
|
15878
|
+
month: "month";
|
|
15566
15879
|
}>>;
|
|
15567
15880
|
interval_count: z.ZodOptional<z.ZodInt>;
|
|
15568
15881
|
performed_by_user_id: z.ZodString;
|
|
@@ -15585,9 +15898,9 @@ export declare const zUpdateServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15585
15898
|
name: z.ZodNullable<z.ZodString>;
|
|
15586
15899
|
interval_unit: z.ZodEnum<{
|
|
15587
15900
|
year: "year";
|
|
15588
|
-
month: "month";
|
|
15589
|
-
week: "week";
|
|
15590
15901
|
day: "day";
|
|
15902
|
+
week: "week";
|
|
15903
|
+
month: "month";
|
|
15591
15904
|
}>;
|
|
15592
15905
|
interval_count: z.ZodInt;
|
|
15593
15906
|
created_at: z.ZodISODateTime;
|
|
@@ -15618,9 +15931,9 @@ export declare const zSeedServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15618
15931
|
name: z.ZodNullable<z.ZodString>;
|
|
15619
15932
|
interval_unit: z.ZodEnum<{
|
|
15620
15933
|
year: "year";
|
|
15621
|
-
month: "month";
|
|
15622
|
-
week: "week";
|
|
15623
15934
|
day: "day";
|
|
15935
|
+
week: "week";
|
|
15936
|
+
month: "month";
|
|
15624
15937
|
}>;
|
|
15625
15938
|
interval_count: z.ZodInt;
|
|
15626
15939
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -15654,9 +15967,9 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15654
15967
|
name: z.ZodNullable<z.ZodString>;
|
|
15655
15968
|
interval_unit: z.ZodEnum<{
|
|
15656
15969
|
year: "year";
|
|
15657
|
-
month: "month";
|
|
15658
|
-
week: "week";
|
|
15659
15970
|
day: "day";
|
|
15971
|
+
week: "week";
|
|
15972
|
+
month: "month";
|
|
15660
15973
|
}>;
|
|
15661
15974
|
interval_count: z.ZodInt;
|
|
15662
15975
|
last_serviced_on: z.ZodNullable<z.ZodISODate>;
|
|
@@ -15665,6 +15978,177 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
15665
15978
|
updated_at: z.ZodISODateTime;
|
|
15666
15979
|
}, z.core.$strip>>;
|
|
15667
15980
|
}, z.core.$strip>;
|
|
15981
|
+
export declare const zListProductDocumentsPath: z.ZodObject<{
|
|
15982
|
+
product_id: z.ZodString;
|
|
15983
|
+
}, z.core.$strip>;
|
|
15984
|
+
export declare const zListProductDocumentsQuery: z.ZodObject<{
|
|
15985
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
15986
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
15987
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
15988
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
15989
|
+
page: z.ZodOptional<z.ZodString>;
|
|
15990
|
+
}, z.core.$strip>;
|
|
15991
|
+
/**
|
|
15992
|
+
* Success
|
|
15993
|
+
*/
|
|
15994
|
+
export declare const zListProductDocumentsResponse: z.ZodObject<{
|
|
15995
|
+
meta: z.ZodObject<{
|
|
15996
|
+
page: z.ZodObject<{
|
|
15997
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
15998
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
15999
|
+
}, z.core.$strip>;
|
|
16000
|
+
}, z.core.$strip>;
|
|
16001
|
+
links: z.ZodObject<{
|
|
16002
|
+
self: z.ZodString;
|
|
16003
|
+
first: z.ZodNullable<z.ZodString>;
|
|
16004
|
+
next: z.ZodNullable<z.ZodString>;
|
|
16005
|
+
}, z.core.$strip>;
|
|
16006
|
+
data: z.ZodArray<z.ZodObject<{
|
|
16007
|
+
id: z.ZodString;
|
|
16008
|
+
assets_product_id: z.ZodString;
|
|
16009
|
+
name: z.ZodString;
|
|
16010
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16011
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16012
|
+
certified: z.ZodBoolean;
|
|
16013
|
+
created_by_user_id: z.ZodString;
|
|
16014
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
16015
|
+
filename: z.ZodString;
|
|
16016
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
16017
|
+
byte_size: z.ZodInt;
|
|
16018
|
+
url: z.ZodString;
|
|
16019
|
+
}, z.core.$strip>>;
|
|
16020
|
+
created_at: z.ZodISODateTime;
|
|
16021
|
+
updated_at: z.ZodISODateTime;
|
|
16022
|
+
}, z.core.$strip>>;
|
|
16023
|
+
}, z.core.$strip>;
|
|
16024
|
+
export declare const zCreateProductDocumentBody: z.ZodObject<{
|
|
16025
|
+
file: z.ZodString;
|
|
16026
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16027
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16028
|
+
performed_by_user_id: z.ZodString;
|
|
16029
|
+
}, z.core.$strip>;
|
|
16030
|
+
export declare const zCreateProductDocumentPath: z.ZodObject<{
|
|
16031
|
+
product_id: z.ZodString;
|
|
16032
|
+
}, z.core.$strip>;
|
|
16033
|
+
/**
|
|
16034
|
+
* Created
|
|
16035
|
+
*/
|
|
16036
|
+
export declare const zCreateProductDocumentResponse: z.ZodObject<{
|
|
16037
|
+
id: z.ZodString;
|
|
16038
|
+
assets_product_id: z.ZodString;
|
|
16039
|
+
name: z.ZodString;
|
|
16040
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16041
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16042
|
+
certified: z.ZodBoolean;
|
|
16043
|
+
created_by_user_id: z.ZodString;
|
|
16044
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
16045
|
+
filename: z.ZodString;
|
|
16046
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
16047
|
+
byte_size: z.ZodInt;
|
|
16048
|
+
url: z.ZodString;
|
|
16049
|
+
}, z.core.$strip>>;
|
|
16050
|
+
created_at: z.ZodISODateTime;
|
|
16051
|
+
updated_at: z.ZodISODateTime;
|
|
16052
|
+
}, z.core.$strip>;
|
|
16053
|
+
export declare const zDeleteProductDocumentPath: z.ZodObject<{
|
|
16054
|
+
product_id: z.ZodString;
|
|
16055
|
+
id: z.ZodString;
|
|
16056
|
+
}, z.core.$strip>;
|
|
16057
|
+
/**
|
|
16058
|
+
* No Content
|
|
16059
|
+
*/
|
|
16060
|
+
export declare const zDeleteProductDocumentResponse: z.ZodVoid;
|
|
16061
|
+
export declare const zGetProductDocumentPath: z.ZodObject<{
|
|
16062
|
+
product_id: z.ZodString;
|
|
16063
|
+
id: z.ZodString;
|
|
16064
|
+
}, z.core.$strip>;
|
|
16065
|
+
/**
|
|
16066
|
+
* Success
|
|
16067
|
+
*/
|
|
16068
|
+
export declare const zGetProductDocumentResponse: z.ZodObject<{
|
|
16069
|
+
id: z.ZodString;
|
|
16070
|
+
assets_product_id: z.ZodString;
|
|
16071
|
+
name: z.ZodString;
|
|
16072
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16073
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16074
|
+
certified: z.ZodBoolean;
|
|
16075
|
+
created_by_user_id: z.ZodString;
|
|
16076
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
16077
|
+
filename: z.ZodString;
|
|
16078
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
16079
|
+
byte_size: z.ZodInt;
|
|
16080
|
+
url: z.ZodString;
|
|
16081
|
+
}, z.core.$strip>>;
|
|
16082
|
+
created_at: z.ZodISODateTime;
|
|
16083
|
+
updated_at: z.ZodISODateTime;
|
|
16084
|
+
}, z.core.$strip>;
|
|
16085
|
+
export declare const zUpdateProductDocumentBody: z.ZodObject<{
|
|
16086
|
+
file: z.ZodOptional<z.ZodString>;
|
|
16087
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16088
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16089
|
+
}, z.core.$strip>;
|
|
16090
|
+
export declare const zUpdateProductDocumentPath: z.ZodObject<{
|
|
16091
|
+
product_id: z.ZodString;
|
|
16092
|
+
id: z.ZodString;
|
|
16093
|
+
}, z.core.$strip>;
|
|
16094
|
+
/**
|
|
16095
|
+
* Success
|
|
16096
|
+
*/
|
|
16097
|
+
export declare const zUpdateProductDocumentResponse: z.ZodObject<{
|
|
16098
|
+
id: z.ZodString;
|
|
16099
|
+
assets_product_id: z.ZodString;
|
|
16100
|
+
name: z.ZodString;
|
|
16101
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
16102
|
+
description: z.ZodNullable<z.ZodString>;
|
|
16103
|
+
certified: z.ZodBoolean;
|
|
16104
|
+
created_by_user_id: z.ZodString;
|
|
16105
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
16106
|
+
filename: z.ZodString;
|
|
16107
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
16108
|
+
byte_size: z.ZodInt;
|
|
16109
|
+
url: z.ZodString;
|
|
16110
|
+
}, z.core.$strip>>;
|
|
16111
|
+
created_at: z.ZodISODateTime;
|
|
16112
|
+
updated_at: z.ZodISODateTime;
|
|
16113
|
+
}, z.core.$strip>;
|
|
16114
|
+
export declare const zListProductDocumentVersionsPath: z.ZodObject<{
|
|
16115
|
+
product_id: z.ZodString;
|
|
16116
|
+
document_id: z.ZodString;
|
|
16117
|
+
}, z.core.$strip>;
|
|
16118
|
+
export declare const zListProductDocumentVersionsQuery: z.ZodObject<{
|
|
16119
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
16120
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
16121
|
+
page: z.ZodOptional<z.ZodString>;
|
|
16122
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
16123
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
16124
|
+
}, z.core.$strip>;
|
|
16125
|
+
/**
|
|
16126
|
+
* Success
|
|
16127
|
+
*/
|
|
16128
|
+
export declare const zListProductDocumentVersionsResponse: z.ZodObject<{
|
|
16129
|
+
meta: z.ZodObject<{
|
|
16130
|
+
page: z.ZodObject<{
|
|
16131
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
16132
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
16133
|
+
}, z.core.$strip>;
|
|
16134
|
+
}, z.core.$strip>;
|
|
16135
|
+
links: z.ZodObject<{
|
|
16136
|
+
self: z.ZodString;
|
|
16137
|
+
first: z.ZodNullable<z.ZodString>;
|
|
16138
|
+
next: z.ZodNullable<z.ZodString>;
|
|
16139
|
+
}, z.core.$strip>;
|
|
16140
|
+
data: z.ZodArray<z.ZodObject<{
|
|
16141
|
+
id: z.ZodInt;
|
|
16142
|
+
document_id: z.ZodString;
|
|
16143
|
+
event: z.ZodEnum<{
|
|
16144
|
+
create: "create";
|
|
16145
|
+
update: "update";
|
|
16146
|
+
destroy: "destroy";
|
|
16147
|
+
}>;
|
|
16148
|
+
whodunnit: z.ZodNullable<z.ZodString>;
|
|
16149
|
+
created_at: z.ZodISODateTime;
|
|
16150
|
+
}, z.core.$strip>>;
|
|
16151
|
+
}, z.core.$strip>;
|
|
15668
16152
|
export declare const zListAssetsSitesQuery: z.ZodObject<{
|
|
15669
16153
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15670
16154
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -19116,6 +19600,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
19116
19600
|
"assets.items.documents": "assets.items.documents";
|
|
19117
19601
|
"assets.items.service_events": "assets.items.service_events";
|
|
19118
19602
|
"assets.products": "assets.products";
|
|
19603
|
+
"assets.products.documents": "assets.products.documents";
|
|
19119
19604
|
"assets.vendors": "assets.vendors";
|
|
19120
19605
|
"compliance.checks": "compliance.checks";
|
|
19121
19606
|
form_submissions: "form_submissions";
|
|
@@ -19123,6 +19608,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
19123
19608
|
"internal.company_todos": "internal.company_todos";
|
|
19124
19609
|
"internal.job_todos": "internal.job_todos";
|
|
19125
19610
|
"internal.project_todos": "internal.project_todos";
|
|
19611
|
+
jobs: "jobs";
|
|
19126
19612
|
"jobs.documents": "jobs.documents";
|
|
19127
19613
|
"jobs.pwa.apprenticeship.good_faith_effort_exceptions": "jobs.pwa.apprenticeship.good_faith_effort_exceptions";
|
|
19128
19614
|
"jobs.pwa.cure_payments": "jobs.pwa.cure_payments";
|
|
@@ -23057,6 +23543,7 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23057
23543
|
name: z.ZodString;
|
|
23058
23544
|
}, z.core.$strip>>;
|
|
23059
23545
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23546
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23060
23547
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23061
23548
|
prime_contractor: "prime_contractor";
|
|
23062
23549
|
sub_contractor: "sub_contractor";
|
|
@@ -23076,6 +23563,14 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23076
23563
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23077
23564
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23078
23565
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23566
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23567
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23568
|
+
id: z.ZodString;
|
|
23569
|
+
filename: z.ZodString;
|
|
23570
|
+
content_type: z.ZodString;
|
|
23571
|
+
byte_size: z.ZodInt;
|
|
23572
|
+
url: z.ZodString;
|
|
23573
|
+
}, z.core.$strip>>>;
|
|
23079
23574
|
}, z.core.$strip>>;
|
|
23080
23575
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23081
23576
|
value: z.ZodString;
|
|
@@ -23084,6 +23579,12 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23084
23579
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23085
23580
|
requires_feature_allocation: z.ZodBoolean;
|
|
23086
23581
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23582
|
+
work_classification: z.ZodEnum<{
|
|
23583
|
+
unspecified: "unspecified";
|
|
23584
|
+
construction: "construction";
|
|
23585
|
+
long_term_service: "long_term_service";
|
|
23586
|
+
one_time_service: "one_time_service";
|
|
23587
|
+
}>;
|
|
23087
23588
|
production_tracking_kind: z.ZodEnum<{
|
|
23088
23589
|
none: "none";
|
|
23089
23590
|
feature: "feature";
|
|
@@ -23101,6 +23602,8 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
23101
23602
|
export declare const zCreateJobBody: z.ZodObject<{
|
|
23102
23603
|
created_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23103
23604
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23605
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
23606
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23104
23607
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23105
23608
|
description: z.ZodOptional<z.ZodString>;
|
|
23106
23609
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23139,6 +23642,12 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
23139
23642
|
feature: "feature";
|
|
23140
23643
|
quantity: "quantity";
|
|
23141
23644
|
}>>;
|
|
23645
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
23646
|
+
unspecified: "unspecified";
|
|
23647
|
+
construction: "construction";
|
|
23648
|
+
long_term_service: "long_term_service";
|
|
23649
|
+
one_time_service: "one_time_service";
|
|
23650
|
+
}>>;
|
|
23142
23651
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23143
23652
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23144
23653
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23164,6 +23673,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
23164
23673
|
value: z.ZodNullable<z.ZodString>;
|
|
23165
23674
|
}, z.core.$strip>>>;
|
|
23166
23675
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
23676
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
23167
23677
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23168
23678
|
prime_contractor: "prime_contractor";
|
|
23169
23679
|
sub_contractor: "sub_contractor";
|
|
@@ -23256,6 +23766,7 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23256
23766
|
name: z.ZodString;
|
|
23257
23767
|
}, z.core.$strip>>;
|
|
23258
23768
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23769
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23259
23770
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23260
23771
|
prime_contractor: "prime_contractor";
|
|
23261
23772
|
sub_contractor: "sub_contractor";
|
|
@@ -23275,6 +23786,14 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23275
23786
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23276
23787
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23277
23788
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23789
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23790
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23791
|
+
id: z.ZodString;
|
|
23792
|
+
filename: z.ZodString;
|
|
23793
|
+
content_type: z.ZodString;
|
|
23794
|
+
byte_size: z.ZodInt;
|
|
23795
|
+
url: z.ZodString;
|
|
23796
|
+
}, z.core.$strip>>>;
|
|
23278
23797
|
}, z.core.$strip>>;
|
|
23279
23798
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23280
23799
|
value: z.ZodString;
|
|
@@ -23283,6 +23802,12 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23283
23802
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23284
23803
|
requires_feature_allocation: z.ZodBoolean;
|
|
23285
23804
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23805
|
+
work_classification: z.ZodEnum<{
|
|
23806
|
+
unspecified: "unspecified";
|
|
23807
|
+
construction: "construction";
|
|
23808
|
+
long_term_service: "long_term_service";
|
|
23809
|
+
one_time_service: "one_time_service";
|
|
23810
|
+
}>;
|
|
23286
23811
|
production_tracking_kind: z.ZodEnum<{
|
|
23287
23812
|
none: "none";
|
|
23288
23813
|
feature: "feature";
|
|
@@ -23293,6 +23818,13 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
23293
23818
|
value: z.ZodNullable<z.ZodString>;
|
|
23294
23819
|
}, z.core.$strip>>;
|
|
23295
23820
|
}, z.core.$strip>;
|
|
23821
|
+
export declare const zDeleteJobPath: z.ZodObject<{
|
|
23822
|
+
id: z.ZodString;
|
|
23823
|
+
}, z.core.$strip>;
|
|
23824
|
+
/**
|
|
23825
|
+
* No Content
|
|
23826
|
+
*/
|
|
23827
|
+
export declare const zDeleteJobResponse: z.ZodVoid;
|
|
23296
23828
|
export declare const zGetJobPath: z.ZodObject<{
|
|
23297
23829
|
id: z.ZodString;
|
|
23298
23830
|
}, z.core.$strip>;
|
|
@@ -23367,6 +23899,7 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23367
23899
|
name: z.ZodString;
|
|
23368
23900
|
}, z.core.$strip>>;
|
|
23369
23901
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
23902
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23370
23903
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23371
23904
|
prime_contractor: "prime_contractor";
|
|
23372
23905
|
sub_contractor: "sub_contractor";
|
|
@@ -23386,6 +23919,14 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23386
23919
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23387
23920
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23388
23921
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23922
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
23923
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
23924
|
+
id: z.ZodString;
|
|
23925
|
+
filename: z.ZodString;
|
|
23926
|
+
content_type: z.ZodString;
|
|
23927
|
+
byte_size: z.ZodInt;
|
|
23928
|
+
url: z.ZodString;
|
|
23929
|
+
}, z.core.$strip>>>;
|
|
23389
23930
|
}, z.core.$strip>>;
|
|
23390
23931
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23391
23932
|
value: z.ZodString;
|
|
@@ -23394,6 +23935,12 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23394
23935
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23395
23936
|
requires_feature_allocation: z.ZodBoolean;
|
|
23396
23937
|
max_one_feature_allocation: z.ZodBoolean;
|
|
23938
|
+
work_classification: z.ZodEnum<{
|
|
23939
|
+
unspecified: "unspecified";
|
|
23940
|
+
construction: "construction";
|
|
23941
|
+
long_term_service: "long_term_service";
|
|
23942
|
+
one_time_service: "one_time_service";
|
|
23943
|
+
}>;
|
|
23397
23944
|
production_tracking_kind: z.ZodEnum<{
|
|
23398
23945
|
none: "none";
|
|
23399
23946
|
feature: "feature";
|
|
@@ -23405,6 +23952,8 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
23405
23952
|
}, z.core.$strip>>;
|
|
23406
23953
|
}, z.core.$strip>;
|
|
23407
23954
|
export declare const zUpdateJobBody: z.ZodObject<{
|
|
23955
|
+
lock_in_date_doc_signed_id: z.ZodOptional<z.ZodString>;
|
|
23956
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
23408
23957
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23409
23958
|
description: z.ZodOptional<z.ZodString>;
|
|
23410
23959
|
requested_by_company_id: z.ZodOptional<z.ZodString>;
|
|
@@ -23443,6 +23992,12 @@ export declare const zUpdateJobBody: z.ZodObject<{
|
|
|
23443
23992
|
feature: "feature";
|
|
23444
23993
|
quantity: "quantity";
|
|
23445
23994
|
}>>;
|
|
23995
|
+
work_classification: z.ZodOptional<z.ZodEnum<{
|
|
23996
|
+
unspecified: "unspecified";
|
|
23997
|
+
construction: "construction";
|
|
23998
|
+
long_term_service: "long_term_service";
|
|
23999
|
+
one_time_service: "one_time_service";
|
|
24000
|
+
}>>;
|
|
23446
24001
|
manager_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23447
24002
|
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
23448
24003
|
job_work_types_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -23468,6 +24023,7 @@ export declare const zUpdateJobBody: z.ZodObject<{
|
|
|
23468
24023
|
value: z.ZodNullable<z.ZodString>;
|
|
23469
24024
|
}, z.core.$strip>>>;
|
|
23470
24025
|
pwa_details: z.ZodOptional<z.ZodObject<{
|
|
24026
|
+
lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
23471
24027
|
contractor_type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
23472
24028
|
prime_contractor: "prime_contractor";
|
|
23473
24029
|
sub_contractor: "sub_contractor";
|
|
@@ -23568,6 +24124,7 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23568
24124
|
name: z.ZodString;
|
|
23569
24125
|
}, z.core.$strip>>;
|
|
23570
24126
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
24127
|
+
lock_in_date: z.ZodNullable<z.ZodISODate>;
|
|
23571
24128
|
contractor_type: z.ZodNullable<z.ZodEnum<{
|
|
23572
24129
|
prime_contractor: "prime_contractor";
|
|
23573
24130
|
sub_contractor: "sub_contractor";
|
|
@@ -23587,6 +24144,14 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23587
24144
|
il_dol_contract_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23588
24145
|
il_shines_project_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
23589
24146
|
ny_dol_prc_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
24147
|
+
effective_lock_in_date: z.ZodNullable<z.ZodReadonly<z.ZodISODate>>;
|
|
24148
|
+
lock_in_date_doc: z.ZodNullable<z.ZodReadonly<z.ZodObject<{
|
|
24149
|
+
id: z.ZodString;
|
|
24150
|
+
filename: z.ZodString;
|
|
24151
|
+
content_type: z.ZodString;
|
|
24152
|
+
byte_size: z.ZodInt;
|
|
24153
|
+
url: z.ZodString;
|
|
24154
|
+
}, z.core.$strip>>>;
|
|
23590
24155
|
}, z.core.$strip>>;
|
|
23591
24156
|
work_types: z.ZodArray<z.ZodObject<{
|
|
23592
24157
|
value: z.ZodString;
|
|
@@ -23595,6 +24160,12 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
23595
24160
|
tracks_feature_allocations: z.ZodBoolean;
|
|
23596
24161
|
requires_feature_allocation: z.ZodBoolean;
|
|
23597
24162
|
max_one_feature_allocation: z.ZodBoolean;
|
|
24163
|
+
work_classification: z.ZodEnum<{
|
|
24164
|
+
unspecified: "unspecified";
|
|
24165
|
+
construction: "construction";
|
|
24166
|
+
long_term_service: "long_term_service";
|
|
24167
|
+
one_time_service: "one_time_service";
|
|
24168
|
+
}>;
|
|
23598
24169
|
production_tracking_kind: z.ZodEnum<{
|
|
23599
24170
|
none: "none";
|
|
23600
24171
|
feature: "feature";
|
|
@@ -34923,6 +35494,12 @@ export declare const zCreatePayPeriodConfigResponse: z.ZodObject<{
|
|
|
34923
35494
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
34924
35495
|
created_at: z.ZodISODateTime;
|
|
34925
35496
|
}, z.core.$strip>;
|
|
35497
|
+
export declare const zDeletePayPeriodConfigHeaders: z.ZodObject<{
|
|
35498
|
+
'If-Match': z.ZodString;
|
|
35499
|
+
}, z.core.$strip>;
|
|
35500
|
+
export declare const zDeletePayPeriodConfigPath: z.ZodObject<{
|
|
35501
|
+
id: z.ZodString;
|
|
35502
|
+
}, z.core.$strip>;
|
|
34926
35503
|
export declare const zGetPayPeriodConfigPath: z.ZodObject<{
|
|
34927
35504
|
id: z.ZodString;
|
|
34928
35505
|
}, z.core.$strip>;
|
|
@@ -34975,6 +35552,91 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
|
|
|
34975
35552
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
34976
35553
|
created_at: z.ZodISODateTime;
|
|
34977
35554
|
}, z.core.$strip>;
|
|
35555
|
+
export declare const zUpdatePayPeriodConfigBody: z.ZodObject<{
|
|
35556
|
+
effective_date: z.ZodISODate;
|
|
35557
|
+
frequency: z.ZodOptional<z.ZodEnum<{
|
|
35558
|
+
weekly: "weekly";
|
|
35559
|
+
biweekly: "biweekly";
|
|
35560
|
+
}>>;
|
|
35561
|
+
start_day_of_week: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>>;
|
|
35562
|
+
tz_name: z.ZodOptional<z.ZodString>;
|
|
35563
|
+
rounding_interval: z.ZodOptional<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>>;
|
|
35564
|
+
payroll_system: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35565
|
+
rippling: "rippling";
|
|
35566
|
+
quickbooks_online: "quickbooks_online";
|
|
35567
|
+
paychex: "paychex";
|
|
35568
|
+
gusto: "gusto";
|
|
35569
|
+
}>>>;
|
|
35570
|
+
paid_after_holiday: z.ZodOptional<z.ZodBoolean>;
|
|
35571
|
+
arrear_days: z.ZodOptional<z.ZodInt>;
|
|
35572
|
+
pay_run_deadline_days: z.ZodOptional<z.ZodInt>;
|
|
35573
|
+
pay_run_deadline_clock_time: z.ZodOptional<z.ZodString>;
|
|
35574
|
+
approvals_deadline_days: z.ZodOptional<z.ZodInt>;
|
|
35575
|
+
approvals_deadline_clock_time: z.ZodOptional<z.ZodString>;
|
|
35576
|
+
time_card_auto_lock_days: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
35577
|
+
time_mode: z.ZodOptional<z.ZodEnum<{
|
|
35578
|
+
none: "none";
|
|
35579
|
+
base: "base";
|
|
35580
|
+
aggregate: "aggregate";
|
|
35581
|
+
}>>;
|
|
35582
|
+
payroll_mode: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
35583
|
+
none: "none";
|
|
35584
|
+
base: "base";
|
|
35585
|
+
aggregate: "aggregate";
|
|
35586
|
+
}>>>;
|
|
35587
|
+
}, z.core.$strip>;
|
|
35588
|
+
export declare const zUpdatePayPeriodConfigHeaders: z.ZodObject<{
|
|
35589
|
+
'If-Match': z.ZodString;
|
|
35590
|
+
}, z.core.$strip>;
|
|
35591
|
+
export declare const zUpdatePayPeriodConfigPath: z.ZodObject<{
|
|
35592
|
+
id: z.ZodString;
|
|
35593
|
+
}, z.core.$strip>;
|
|
35594
|
+
/**
|
|
35595
|
+
* Accepted
|
|
35596
|
+
*/
|
|
35597
|
+
export declare const zUpdatePayPeriodConfigResponse: z.ZodObject<{
|
|
35598
|
+
id: z.ZodString;
|
|
35599
|
+
company_id: z.ZodString;
|
|
35600
|
+
name: z.ZodString;
|
|
35601
|
+
frequency: z.ZodEnum<{
|
|
35602
|
+
weekly: "weekly";
|
|
35603
|
+
biweekly: "biweekly";
|
|
35604
|
+
}>;
|
|
35605
|
+
start_day_of_week: z.ZodInt;
|
|
35606
|
+
tz_name: z.ZodString;
|
|
35607
|
+
currency: z.ZodString;
|
|
35608
|
+
status: z.ZodEnum<{
|
|
35609
|
+
pending: "pending";
|
|
35610
|
+
failed: "failed";
|
|
35611
|
+
synced: "synced";
|
|
35612
|
+
}>;
|
|
35613
|
+
payroll_mode: z.ZodNullable<z.ZodEnum<{
|
|
35614
|
+
none: "none";
|
|
35615
|
+
base: "base";
|
|
35616
|
+
aggregate: "aggregate";
|
|
35617
|
+
}>>;
|
|
35618
|
+
time_mode: z.ZodEnum<{
|
|
35619
|
+
none: "none";
|
|
35620
|
+
base: "base";
|
|
35621
|
+
aggregate: "aggregate";
|
|
35622
|
+
}>;
|
|
35623
|
+
payroll_system: z.ZodNullable<z.ZodEnum<{
|
|
35624
|
+
rippling: "rippling";
|
|
35625
|
+
quickbooks_online: "quickbooks_online";
|
|
35626
|
+
paychex: "paychex";
|
|
35627
|
+
gusto: "gusto";
|
|
35628
|
+
}>>;
|
|
35629
|
+
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
35630
|
+
requires_external_map_contributor: z.ZodBoolean;
|
|
35631
|
+
paid_after_holiday: z.ZodBoolean;
|
|
35632
|
+
arrear_days: z.ZodInt;
|
|
35633
|
+
time_card_auto_lock_days: z.ZodNullable<z.ZodInt>;
|
|
35634
|
+
rounding_interval: z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<15>]>;
|
|
35635
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
35636
|
+
valid_from: z.ZodNullable<z.ZodISODateTime>;
|
|
35637
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
35638
|
+
created_at: z.ZodISODateTime;
|
|
35639
|
+
}, z.core.$strip>;
|
|
34978
35640
|
export declare const zListTimeCardActualsQuery: z.ZodObject<{
|
|
34979
35641
|
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
34980
35642
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -37365,6 +38027,39 @@ export declare const zListLaborRatesResponse: z.ZodObject<{
|
|
|
37365
38027
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
37366
38028
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37367
38029
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
38030
|
+
fringe_calculation: z.ZodObject<{
|
|
38031
|
+
available: z.ZodBoolean;
|
|
38032
|
+
hourly_cents: z.ZodNullable<z.ZodString>;
|
|
38033
|
+
reasons: z.ZodArray<z.ZodString>;
|
|
38034
|
+
component_ids: z.ZodArray<z.ZodString>;
|
|
38035
|
+
}, z.core.$strip>;
|
|
38036
|
+
fringe_benefit_components: z.ZodArray<z.ZodObject<{
|
|
38037
|
+
id: z.ZodString;
|
|
38038
|
+
position: z.ZodInt;
|
|
38039
|
+
amount_cents: z.ZodString;
|
|
38040
|
+
period: z.ZodEnum<{
|
|
38041
|
+
shift: "shift";
|
|
38042
|
+
year: "year";
|
|
38043
|
+
hour: "hour";
|
|
38044
|
+
day: "day";
|
|
38045
|
+
week: "week";
|
|
38046
|
+
month: "month";
|
|
38047
|
+
}>;
|
|
38048
|
+
kind: z.ZodEnum<{
|
|
38049
|
+
fringe: "fringe";
|
|
38050
|
+
wage_premium: "wage_premium";
|
|
38051
|
+
unresolved: "unresolved";
|
|
38052
|
+
}>;
|
|
38053
|
+
text: z.ZodString;
|
|
38054
|
+
attachment_status: z.ZodEnum<{
|
|
38055
|
+
unresolved: "unresolved";
|
|
38056
|
+
rate: "rate";
|
|
38057
|
+
}>;
|
|
38058
|
+
labor_rate_id: z.ZodNullable<z.ZodString>;
|
|
38059
|
+
source_sha256: z.ZodString;
|
|
38060
|
+
start_offset: z.ZodInt;
|
|
38061
|
+
end_offset: z.ZodInt;
|
|
38062
|
+
}, z.core.$strip>>;
|
|
37368
38063
|
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
37369
38064
|
created_at: z.ZodISODateTime;
|
|
37370
38065
|
updated_at: z.ZodISODateTime;
|