@dsptch-work/api-client 0.52.0 → 0.53.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 +37 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +401 -65
- package/dist/gen/sdk.gen.js +618 -98
- package/dist/gen/types.gen.d.ts +1553 -439
- package/dist/gen/zod.gen.d.ts +925 -316
- package/dist/gen/zod.gen.js +452 -82
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -487,6 +487,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
487
487
|
"assets.products": "assets.products";
|
|
488
488
|
"assets.products.documents": "assets.products.documents";
|
|
489
489
|
"assets.vendors": "assets.vendors";
|
|
490
|
+
company_documents: "company_documents";
|
|
490
491
|
"compliance.checks": "compliance.checks";
|
|
491
492
|
form_submissions: "form_submissions";
|
|
492
493
|
"internal.companies": "internal.companies";
|
|
@@ -801,6 +802,7 @@ export declare const zCompetencyAssessmentCriterionResponseObject: z.ZodObject<{
|
|
|
801
802
|
assessed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
802
803
|
carried_from_id: z.ZodNullable<z.ZodString>;
|
|
803
804
|
decided_at: z.ZodNullable<z.ZodISODateTime>;
|
|
805
|
+
not_applicable: z.ZodBoolean;
|
|
804
806
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
805
807
|
competent: "competent";
|
|
806
808
|
not_yet_competent: "not_yet_competent";
|
|
@@ -871,6 +873,19 @@ export declare const zApprenticeshipOccupationResponseObject: z.ZodObject<{
|
|
|
871
873
|
created_at: z.ZodISODateTime;
|
|
872
874
|
updated_at: z.ZodISODateTime;
|
|
873
875
|
}, z.core.$strip>;
|
|
876
|
+
/**
|
|
877
|
+
* A skill-specific hour bucket within an occupation (for example, rough-in wiring within an electrician occupation). Allocations may optionally name a category. Minutes are stored and published directly.
|
|
878
|
+
*/
|
|
879
|
+
export declare const zApprenticeshipWorkProcessCategoryResponseObject: z.ZodObject<{
|
|
880
|
+
id: z.ZodString;
|
|
881
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
882
|
+
name: z.ZodString;
|
|
883
|
+
description: z.ZodNullable<z.ZodString>;
|
|
884
|
+
min_minutes: z.ZodInt;
|
|
885
|
+
max_minutes: z.ZodInt;
|
|
886
|
+
created_at: z.ZodISODateTime;
|
|
887
|
+
updated_at: z.ZodISODateTime;
|
|
888
|
+
}, z.core.$strip>;
|
|
874
889
|
/**
|
|
875
890
|
* A company authorized to employ apprentices in a program; the program's sponsor manages this roster.
|
|
876
891
|
*/
|
|
@@ -1092,6 +1107,24 @@ export declare const zApprenticeshipOccupationUpdateParameters: z.ZodObject<{
|
|
|
1092
1107
|
num_apprentices: z.ZodOptional<z.ZodInt>;
|
|
1093
1108
|
num_journeyworkers: z.ZodOptional<z.ZodInt>;
|
|
1094
1109
|
}, z.core.$strip>;
|
|
1110
|
+
/**
|
|
1111
|
+
* Create a work process category on an occupation; the occupation is taken from the URL path. Minutes are sent as integers. Omitting name, min_minutes, or max_minutes, or sending max_minutes less than or equal to min_minutes, answers 422. A null for a non-nullable field or a wrong JSON type answers 422. An unknown key answers 400.
|
|
1112
|
+
*/
|
|
1113
|
+
export declare const zApprenticeshipWorkProcessCategoryParameters: z.ZodObject<{
|
|
1114
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1115
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1116
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
1117
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
1118
|
+
}, z.core.$strip>;
|
|
1119
|
+
/**
|
|
1120
|
+
* Update a work process category on an occupation. Send only the fields to change; the occupation is taken from the URL path. Minutes are sent as integers. A null for a non-nullable field, a wrong JSON type, or max_minutes less than or equal to min_minutes answers 422. An unknown key answers 400.
|
|
1121
|
+
*/
|
|
1122
|
+
export declare const zApprenticeshipWorkProcessCategoryUpdateParameters: z.ZodObject<{
|
|
1123
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1124
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1125
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
1126
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
1127
|
+
}, z.core.$strip>;
|
|
1095
1128
|
/**
|
|
1096
1129
|
* Create an authorization for an employer to employ apprentices in a program; only the program's sponsor may manage this roster.
|
|
1097
1130
|
*/
|
|
@@ -1972,6 +2005,51 @@ export declare const zDepartmentUpdateParameters: z.ZodObject<{
|
|
|
1972
2005
|
name: z.ZodOptional<z.ZodString>;
|
|
1973
2006
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1974
2007
|
}, z.core.$strip>;
|
|
2008
|
+
/**
|
|
2009
|
+
* A company-level document — either an uploaded file or an external URL, never both.
|
|
2010
|
+
*/
|
|
2011
|
+
export declare const zCompanyDocumentResponseObject: z.ZodObject<{
|
|
2012
|
+
id: z.ZodString;
|
|
2013
|
+
company_id: z.ZodString;
|
|
2014
|
+
name: z.ZodString;
|
|
2015
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2016
|
+
url: z.ZodNullable<z.ZodString>;
|
|
2017
|
+
tags: z.ZodArray<z.ZodString>;
|
|
2018
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
2019
|
+
uploaded_by_user_id: z.ZodString;
|
|
2020
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
2021
|
+
filename: z.ZodString;
|
|
2022
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
2023
|
+
byte_size: z.ZodInt;
|
|
2024
|
+
url: z.ZodString;
|
|
2025
|
+
}, z.core.$strip>>;
|
|
2026
|
+
created_at: z.ZodISODateTime;
|
|
2027
|
+
updated_at: z.ZodISODateTime;
|
|
2028
|
+
}, z.core.$strip>;
|
|
2029
|
+
/**
|
|
2030
|
+
* Request body for creating a company document. The company is taken from the API key and is not part of the body. Supply exactly one of `url` or `file`. Company keys must send `performed_by_user_id`; user keys act as themselves.
|
|
2031
|
+
*/
|
|
2032
|
+
export declare const zCompanyDocumentParameters: z.ZodObject<{
|
|
2033
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2034
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2035
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2036
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2037
|
+
always_download: z.ZodOptional<z.ZodBoolean>;
|
|
2038
|
+
file: z.ZodOptional<z.ZodString>;
|
|
2039
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2040
|
+
}, z.core.$strip>;
|
|
2041
|
+
/**
|
|
2042
|
+
* Request body for updating a company document. Every field is optional; omit a field to preserve its current value. The resulting document must still be exactly one of `url` or `file`.
|
|
2043
|
+
*/
|
|
2044
|
+
export declare const zCompanyDocumentUpdateParameters: z.ZodObject<{
|
|
2045
|
+
name: z.ZodOptional<z.ZodString>;
|
|
2046
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2047
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2048
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2049
|
+
always_download: z.ZodOptional<z.ZodBoolean>;
|
|
2050
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2051
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
2052
|
+
}, z.core.$strip>;
|
|
1975
2053
|
/**
|
|
1976
2054
|
* A per-diem allowance recorded on a time card for a specific date. Its rate, currency, and taxable flag are snapshotted from the referenced catalog per diem when saved.
|
|
1977
2055
|
*/
|
|
@@ -3061,12 +3139,33 @@ export declare const zJobUpdateParameters: z.ZodObject<{
|
|
|
3061
3139
|
}>>;
|
|
3062
3140
|
}, z.core.$strip>;
|
|
3063
3141
|
/**
|
|
3064
|
-
* A reusable job template — a saved job pattern for quickly creating new jobs with the same setup.
|
|
3142
|
+
* A reusable job template — a saved job pattern for quickly creating new jobs with the same setup.
|
|
3065
3143
|
*/
|
|
3066
3144
|
export declare const zJobTemplateResponseObject: z.ZodObject<{
|
|
3067
3145
|
id: z.ZodString;
|
|
3068
3146
|
name: z.ZodString;
|
|
3069
3147
|
description: z.ZodNullable<z.ZodString>;
|
|
3148
|
+
job_id: z.ZodString;
|
|
3149
|
+
}, z.core.$strip>;
|
|
3150
|
+
/**
|
|
3151
|
+
* Request body for creating a job template. Send fields in JSON; the template belongs to the company that owns the API key. Omit job_id for an empty template job; send it to copy a visible job. Company keys must send performed_by_user_id; user keys act as themselves.
|
|
3152
|
+
*/
|
|
3153
|
+
export declare const zJobTemplateParameters: z.ZodObject<{
|
|
3154
|
+
name: z.ZodString;
|
|
3155
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3156
|
+
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3157
|
+
position_option: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
3158
|
+
empty: "empty";
|
|
3159
|
+
assigned: "assigned";
|
|
3160
|
+
}>>>;
|
|
3161
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
3162
|
+
}, z.core.$strip>;
|
|
3163
|
+
/**
|
|
3164
|
+
* Request body for updating a job template. Send only fields to change in JSON; omitted fields remain unchanged. job_id, position_option, and performed_by_user_id are create-only and answer 400.
|
|
3165
|
+
*/
|
|
3166
|
+
export declare const zJobTemplateUpdateParameters: z.ZodObject<{
|
|
3167
|
+
name: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3070
3169
|
}, z.core.$strip>;
|
|
3071
3170
|
/**
|
|
3072
3171
|
* A named collection of a company's users, used to organize people for assignment, filtering, and company workflows. Membership is managed through the nested group-users endpoints.
|
|
@@ -3463,26 +3562,6 @@ export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
|
3463
3562
|
value: z.ZodNullable<z.ZodString>;
|
|
3464
3563
|
}, z.core.$strip>>>;
|
|
3465
3564
|
}, z.core.$strip>;
|
|
3466
|
-
/**
|
|
3467
|
-
* Request body for scheduling a future-dated compensation change. effective_date sets when the new values take effect; earlier history is preserved as its own version. Covers the pay, benefit, accrual, and department fields.
|
|
3468
|
-
*/
|
|
3469
|
-
export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
3470
|
-
effective_date: z.ZodISODate;
|
|
3471
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3472
|
-
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3473
|
-
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3474
|
-
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3475
|
-
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
3476
|
-
hourly: "hourly";
|
|
3477
|
-
salary: "salary";
|
|
3478
|
-
}>>;
|
|
3479
|
-
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
3480
|
-
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3481
|
-
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3482
|
-
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3483
|
-
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3484
|
-
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3485
|
-
}, z.core.$strip>;
|
|
3486
3565
|
/**
|
|
3487
3566
|
* A work type: a named category of job activity, either a shared global default (no owning company) or an entry scoped to a specific company.
|
|
3488
3567
|
*/
|
|
@@ -3495,6 +3574,18 @@ export declare const zWorkTypeResponseObject: z.ZodObject<{
|
|
|
3495
3574
|
created_at: z.ZodISODateTime;
|
|
3496
3575
|
updated_at: z.ZodISODateTime;
|
|
3497
3576
|
}, z.core.$strip>;
|
|
3577
|
+
/**
|
|
3578
|
+
* Request body for creating a work type. Send fields in JSON; the work type belongs to the company that owns the API key. `verified`, `specific_to_site_type`, and `scoped_to_company_id` are refused.
|
|
3579
|
+
*/
|
|
3580
|
+
export declare const zWorkTypeParameters: z.ZodObject<{
|
|
3581
|
+
value: z.ZodString;
|
|
3582
|
+
}, z.core.$strip>;
|
|
3583
|
+
/**
|
|
3584
|
+
* Request body for updating a work type. Send only fields to change in JSON; omitted fields remain unchanged. `verified`, `specific_to_site_type`, and `scoped_to_company_id` are refused.
|
|
3585
|
+
*/
|
|
3586
|
+
export declare const zWorkTypeUpdateParameters: z.ZodObject<{
|
|
3587
|
+
value: z.ZodOptional<z.ZodString>;
|
|
3588
|
+
}, z.core.$strip>;
|
|
3498
3589
|
/**
|
|
3499
3590
|
* A function a worker can fulfill in a position — an entry in the company's job-title taxonomy (e.g. "Electrician", "Foreman"), either company-owned or a shared global default.
|
|
3500
3591
|
*/
|
|
@@ -3680,69 +3771,6 @@ export declare const zUserGroupParameters: z.ZodObject<{
|
|
|
3680
3771
|
* Day of the week a job's workweek and time cards start on: 0 (Sunday) through 6 (Saturday).
|
|
3681
3772
|
*/
|
|
3682
3773
|
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>]>;
|
|
3683
|
-
/**
|
|
3684
|
-
* One version of a worker's compensation at your company, effective from its start date until the next version begins.
|
|
3685
|
-
*/
|
|
3686
|
-
export declare const zUserCompanyScheduledChange: z.ZodObject<{
|
|
3687
|
-
id: z.ZodString;
|
|
3688
|
-
start_date: z.ZodString;
|
|
3689
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3690
|
-
compensation_type: z.ZodEnum<{
|
|
3691
|
-
hourly: "hourly";
|
|
3692
|
-
salary: "salary";
|
|
3693
|
-
}>;
|
|
3694
|
-
overtime_eligible: z.ZodBoolean;
|
|
3695
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3696
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3697
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
3698
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3699
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3700
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3701
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3702
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
3703
|
-
}, z.core.$strip>;
|
|
3704
|
-
/**
|
|
3705
|
-
* A worker's scheduled compensation timeline at your company — the version currently in effect plus any future-dated versions.
|
|
3706
|
-
*/
|
|
3707
|
-
export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
3708
|
-
user_id: z.ZodString;
|
|
3709
|
-
current_version: z.ZodObject<{
|
|
3710
|
-
id: z.ZodString;
|
|
3711
|
-
start_date: z.ZodString;
|
|
3712
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3713
|
-
compensation_type: z.ZodEnum<{
|
|
3714
|
-
hourly: "hourly";
|
|
3715
|
-
salary: "salary";
|
|
3716
|
-
}>;
|
|
3717
|
-
overtime_eligible: z.ZodBoolean;
|
|
3718
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3719
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3720
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
3721
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3722
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3723
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3724
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3725
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
3726
|
-
}, z.core.$strip>;
|
|
3727
|
-
scheduled_changes: z.ZodArray<z.ZodObject<{
|
|
3728
|
-
id: z.ZodString;
|
|
3729
|
-
start_date: z.ZodString;
|
|
3730
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3731
|
-
compensation_type: z.ZodEnum<{
|
|
3732
|
-
hourly: "hourly";
|
|
3733
|
-
salary: "salary";
|
|
3734
|
-
}>;
|
|
3735
|
-
overtime_eligible: z.ZodBoolean;
|
|
3736
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3737
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
3738
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
3739
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3740
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3741
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3742
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3743
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
3744
|
-
}, z.core.$strip>>;
|
|
3745
|
-
}, z.core.$strip>;
|
|
3746
3774
|
/**
|
|
3747
3775
|
* Request body for scheduling the end of a worker's employment at your company. Sets the employment's end date; cancel the scheduled termination to restore open-ended employment. Deleting the employment record instead (DELETE on the membership) removes it entirely and is not reversible.
|
|
3748
3776
|
*/
|
|
@@ -4801,6 +4829,16 @@ export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
|
4801
4829
|
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
4802
4830
|
employer_name: z.ZodNullable<z.ZodString>;
|
|
4803
4831
|
description: z.ZodNullable<z.ZodString>;
|
|
4832
|
+
visit_reason: z.ZodNullable<z.ZodEnum<{
|
|
4833
|
+
other: "other";
|
|
4834
|
+
om_team: "om_team";
|
|
4835
|
+
oem_service_tickets: "oem_service_tickets";
|
|
4836
|
+
owners_visit: "owners_visit";
|
|
4837
|
+
warranty_service: "warranty_service";
|
|
4838
|
+
audit_inspections: "audit_inspections";
|
|
4839
|
+
regulatory_compliance: "regulatory_compliance";
|
|
4840
|
+
third_party_vendor_support: "third_party_vendor_support";
|
|
4841
|
+
}>>;
|
|
4804
4842
|
rationale: z.ZodNullable<z.ZodString>;
|
|
4805
4843
|
source: z.ZodEnum<{
|
|
4806
4844
|
manual: "manual";
|
|
@@ -5898,6 +5936,44 @@ export declare const zJobCaEcprXmlExportCreateParameters: z.ZodObject<{
|
|
|
5898
5936
|
start_date: z.ZodISODate;
|
|
5899
5937
|
end_date: z.ZodISODate;
|
|
5900
5938
|
}, z.core.$strip>;
|
|
5939
|
+
/**
|
|
5940
|
+
* A job-scoped NY DOL XML certified-payroll export. The generation handle is polled through this same document; `file` is null until an XML or ZIP is attached. Signing fields are not published. This format has no form version.
|
|
5941
|
+
*/
|
|
5942
|
+
export declare const zJobNyDolXmlExportResponseObject: z.ZodObject<{
|
|
5943
|
+
id: z.ZodString;
|
|
5944
|
+
job_id: z.ZodString;
|
|
5945
|
+
start_date: z.ZodISODate;
|
|
5946
|
+
end_date: z.ZodISODate;
|
|
5947
|
+
status: z.ZodEnum<{
|
|
5948
|
+
pending: "pending";
|
|
5949
|
+
failed: "failed";
|
|
5950
|
+
success: "success";
|
|
5951
|
+
processing: "processing";
|
|
5952
|
+
signing: "signing";
|
|
5953
|
+
signed: "signed";
|
|
5954
|
+
certifying: "certifying";
|
|
5955
|
+
}>;
|
|
5956
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
5957
|
+
filename: z.ZodString;
|
|
5958
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
5959
|
+
byte_size: z.ZodInt;
|
|
5960
|
+
url: z.ZodString;
|
|
5961
|
+
}, z.core.$strip>>;
|
|
5962
|
+
invalidated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
5963
|
+
invalidation_reason: z.ZodNullable<z.ZodEnum<{
|
|
5964
|
+
source_data_changed: "source_data_changed";
|
|
5965
|
+
source_records_deleted: "source_records_deleted";
|
|
5966
|
+
ratio_status_changed: "ratio_status_changed";
|
|
5967
|
+
}>>;
|
|
5968
|
+
created_at: z.ZodISODateTime;
|
|
5969
|
+
}, z.core.$strip>;
|
|
5970
|
+
/**
|
|
5971
|
+
* Start a job-scoped NY DOL XML certified-payroll export over a calendar window. Creation requires a user-scoped API key, because the generation handle attributes the export to a person. The response is the pending export; poll the member GET for status and the file URL. Filename is server-owned. A job that does not offer NY DOL XML answers 422 certified_payroll_format_unavailable. Failing compliance checks that block the export answer 422 certified_payroll_export_blocked. A window with no reportable pay periods answers 422 nothing_exportable.
|
|
5972
|
+
*/
|
|
5973
|
+
export declare const zJobNyDolXmlExportCreateParameters: z.ZodObject<{
|
|
5974
|
+
start_date: z.ZodISODate;
|
|
5975
|
+
end_date: z.ZodISODate;
|
|
5976
|
+
}, z.core.$strip>;
|
|
5901
5977
|
/**
|
|
5902
5978
|
* A job-scoped WH-347 certified-payroll export. The generation handle is polled through this same document; `file` is null until a ZIP is attached. Signing fields are not published.
|
|
5903
5979
|
*/
|
|
@@ -7327,6 +7403,40 @@ export declare const zLinks: z.ZodObject<{
|
|
|
7327
7403
|
first: z.ZodNullable<z.ZodString>;
|
|
7328
7404
|
next: z.ZodNullable<z.ZodString>;
|
|
7329
7405
|
}, z.core.$strip>;
|
|
7406
|
+
/**
|
|
7407
|
+
* A page of the company's documents, with pagination metadata and navigation links.
|
|
7408
|
+
*/
|
|
7409
|
+
export declare const zCompanyDocumentsResponseObject: z.ZodObject<{
|
|
7410
|
+
meta: z.ZodObject<{
|
|
7411
|
+
page: z.ZodObject<{
|
|
7412
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
7413
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
7414
|
+
}, z.core.$strip>;
|
|
7415
|
+
}, z.core.$strip>;
|
|
7416
|
+
links: z.ZodObject<{
|
|
7417
|
+
self: z.ZodString;
|
|
7418
|
+
first: z.ZodNullable<z.ZodString>;
|
|
7419
|
+
next: z.ZodNullable<z.ZodString>;
|
|
7420
|
+
}, z.core.$strip>;
|
|
7421
|
+
data: z.ZodArray<z.ZodObject<{
|
|
7422
|
+
id: z.ZodString;
|
|
7423
|
+
company_id: z.ZodString;
|
|
7424
|
+
name: z.ZodString;
|
|
7425
|
+
description: z.ZodNullable<z.ZodString>;
|
|
7426
|
+
url: z.ZodNullable<z.ZodString>;
|
|
7427
|
+
tags: z.ZodArray<z.ZodString>;
|
|
7428
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
7429
|
+
uploaded_by_user_id: z.ZodString;
|
|
7430
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
7431
|
+
filename: z.ZodString;
|
|
7432
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
7433
|
+
byte_size: z.ZodInt;
|
|
7434
|
+
url: z.ZodString;
|
|
7435
|
+
}, z.core.$strip>>;
|
|
7436
|
+
created_at: z.ZodISODateTime;
|
|
7437
|
+
updated_at: z.ZodISODateTime;
|
|
7438
|
+
}, z.core.$strip>>;
|
|
7439
|
+
}, z.core.$strip>;
|
|
7330
7440
|
/**
|
|
7331
7441
|
* A page of time entries, with pagination metadata and navigation links.
|
|
7332
7442
|
*/
|
|
@@ -8037,6 +8147,50 @@ export declare const zJobCaEcprXmlExportsResponseObject: z.ZodObject<{
|
|
|
8037
8147
|
created_at: z.ZodISODateTime;
|
|
8038
8148
|
}, z.core.$strip>>;
|
|
8039
8149
|
}, z.core.$strip>;
|
|
8150
|
+
/**
|
|
8151
|
+
* A page of a job's NY DOL XML certified-payroll exports, with pagination metadata and navigation links.
|
|
8152
|
+
*/
|
|
8153
|
+
export declare const zJobNyDolXmlExportsResponseObject: z.ZodObject<{
|
|
8154
|
+
meta: z.ZodObject<{
|
|
8155
|
+
page: z.ZodObject<{
|
|
8156
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
8157
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
8158
|
+
}, z.core.$strip>;
|
|
8159
|
+
}, z.core.$strip>;
|
|
8160
|
+
links: z.ZodObject<{
|
|
8161
|
+
self: z.ZodString;
|
|
8162
|
+
first: z.ZodNullable<z.ZodString>;
|
|
8163
|
+
next: z.ZodNullable<z.ZodString>;
|
|
8164
|
+
}, z.core.$strip>;
|
|
8165
|
+
data: z.ZodArray<z.ZodObject<{
|
|
8166
|
+
id: z.ZodString;
|
|
8167
|
+
job_id: z.ZodString;
|
|
8168
|
+
start_date: z.ZodISODate;
|
|
8169
|
+
end_date: z.ZodISODate;
|
|
8170
|
+
status: z.ZodEnum<{
|
|
8171
|
+
pending: "pending";
|
|
8172
|
+
failed: "failed";
|
|
8173
|
+
success: "success";
|
|
8174
|
+
processing: "processing";
|
|
8175
|
+
signing: "signing";
|
|
8176
|
+
signed: "signed";
|
|
8177
|
+
certifying: "certifying";
|
|
8178
|
+
}>;
|
|
8179
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
8180
|
+
filename: z.ZodString;
|
|
8181
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
8182
|
+
byte_size: z.ZodInt;
|
|
8183
|
+
url: z.ZodString;
|
|
8184
|
+
}, z.core.$strip>>;
|
|
8185
|
+
invalidated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8186
|
+
invalidation_reason: z.ZodNullable<z.ZodEnum<{
|
|
8187
|
+
source_data_changed: "source_data_changed";
|
|
8188
|
+
source_records_deleted: "source_records_deleted";
|
|
8189
|
+
ratio_status_changed: "ratio_status_changed";
|
|
8190
|
+
}>>;
|
|
8191
|
+
created_at: z.ZodISODateTime;
|
|
8192
|
+
}, z.core.$strip>>;
|
|
8193
|
+
}, z.core.$strip>;
|
|
8040
8194
|
/**
|
|
8041
8195
|
* A page of a job's WH-347 certified-payroll exports, with pagination metadata and navigation links.
|
|
8042
8196
|
*/
|
|
@@ -10547,6 +10701,31 @@ export declare const zPayRatesRuleHistoryVersionObject: z.ZodObject<{
|
|
|
10547
10701
|
updated_at: z.ZodISODateTime;
|
|
10548
10702
|
}, z.core.$strip>>;
|
|
10549
10703
|
}, z.core.$strip>;
|
|
10704
|
+
/**
|
|
10705
|
+
* A company-owned collection of overtime rules, used as an employment and wage-determination fallback.
|
|
10706
|
+
*/
|
|
10707
|
+
export declare const zOvertimePackageResponseObject: z.ZodObject<{
|
|
10708
|
+
id: z.ZodString;
|
|
10709
|
+
name: z.ZodString;
|
|
10710
|
+
description: z.ZodString;
|
|
10711
|
+
default: z.ZodBoolean;
|
|
10712
|
+
}, z.core.$strip>;
|
|
10713
|
+
/**
|
|
10714
|
+
* Parameters for creating a company overtime package. `name` and `description` are required by the model; omitting either answers 422. The company and selectability are stamped by the server.
|
|
10715
|
+
*/
|
|
10716
|
+
export declare const zOvertimePackageParameters: z.ZodObject<{
|
|
10717
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10718
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10719
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
10720
|
+
}, z.core.$strip>;
|
|
10721
|
+
/**
|
|
10722
|
+
* Request body for updating a company overtime package. Send only the fields to change. Setting `default` to true demotes the previous default and migrates eligible employments onto this package.
|
|
10723
|
+
*/
|
|
10724
|
+
export declare const zOvertimePackageUpdateParameters: z.ZodObject<{
|
|
10725
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10726
|
+
description: z.ZodOptional<z.ZodString>;
|
|
10727
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
10728
|
+
}, z.core.$strip>;
|
|
10550
10729
|
/**
|
|
10551
10730
|
* An overtime rule (daily or weekly) belonging to an overtime package. It sets a pay multiplier that applies once a worked-hours threshold — and any day or date qualifier — is met. `valid_from`/`valid_to` bound the window this version is in effect.
|
|
10552
10731
|
*/
|
|
@@ -10822,8 +11001,8 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
10822
11001
|
assets_product_id: z.ZodString;
|
|
10823
11002
|
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10824
11003
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10825
|
-
available: "available";
|
|
10826
11004
|
assigned: "assigned";
|
|
11005
|
+
available: "available";
|
|
10827
11006
|
}>>;
|
|
10828
11007
|
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
10829
11008
|
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10854,8 +11033,8 @@ export declare const zAssetsItemUpdateParameters: z.ZodObject<{
|
|
|
10854
11033
|
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
10855
11034
|
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10856
11035
|
status: z.ZodOptional<z.ZodEnum<{
|
|
10857
|
-
available: "available";
|
|
10858
11036
|
assigned: "assigned";
|
|
11037
|
+
available: "available";
|
|
10859
11038
|
}>>;
|
|
10860
11039
|
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
10861
11040
|
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10912,6 +11091,7 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
|
10912
11091
|
name: z.ZodString;
|
|
10913
11092
|
site_type: z.ZodNullable<z.ZodString>;
|
|
10914
11093
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
11094
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
10915
11095
|
created_at: z.ZodISODateTime;
|
|
10916
11096
|
updated_at: z.ZodISODateTime;
|
|
10917
11097
|
}, z.core.$strip>;
|
|
@@ -10927,6 +11107,10 @@ export declare const zAssetsSiteParameters: z.ZodObject<{
|
|
|
10927
11107
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10928
11108
|
responsible_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
10929
11109
|
}, z.core.$strip>;
|
|
11110
|
+
/**
|
|
11111
|
+
* Archive a site. The body takes no fields; send an empty object or no body. Archiving an archived site returns it unchanged.
|
|
11112
|
+
*/
|
|
11113
|
+
export declare const zAssetsSiteArchiveParameters: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
10930
11114
|
/**
|
|
10931
11115
|
* Request body for updating an asset location. Every field is optional; send only the fields to change. The saved location must still have a name or a backing `site_id`.
|
|
10932
11116
|
*/
|
|
@@ -11121,8 +11305,8 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
11121
11305
|
}>;
|
|
11122
11306
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
11123
11307
|
status: z.ZodNullable<z.ZodEnum<{
|
|
11124
|
-
available: "available";
|
|
11125
11308
|
assigned: "assigned";
|
|
11309
|
+
available: "available";
|
|
11126
11310
|
}>>;
|
|
11127
11311
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
11128
11312
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -12097,6 +12281,10 @@ export declare const zUserCertificationsResponseObjWritable: z.ZodObject<{
|
|
|
12097
12281
|
updated_at: z.ZodISODateTime;
|
|
12098
12282
|
}, z.core.$strip>>;
|
|
12099
12283
|
}, z.core.$strip>;
|
|
12284
|
+
/**
|
|
12285
|
+
* Archive a site. The body takes no fields; send an empty object or no body. Archiving an archived site returns it unchanged.
|
|
12286
|
+
*/
|
|
12287
|
+
export declare const zAssetsSiteArchiveParametersWritable: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
12100
12288
|
/**
|
|
12101
12289
|
* Success
|
|
12102
12290
|
*/
|
|
@@ -13193,6 +13381,116 @@ export declare const zUpdateWageScheduleResponse: z.ZodObject<{
|
|
|
13193
13381
|
created_at: z.ZodISODateTime;
|
|
13194
13382
|
updated_at: z.ZodISODateTime;
|
|
13195
13383
|
}, z.core.$strip>;
|
|
13384
|
+
export declare const zListWorkProcessCategoriesPath: z.ZodObject<{
|
|
13385
|
+
occupation_id: z.ZodString;
|
|
13386
|
+
}, z.core.$strip>;
|
|
13387
|
+
export declare const zListWorkProcessCategoriesQuery: z.ZodObject<{
|
|
13388
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13389
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13390
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13391
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13392
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
13393
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
13394
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
13395
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
13396
|
+
page: z.ZodOptional<z.ZodString>;
|
|
13397
|
+
}, z.core.$strip>;
|
|
13398
|
+
/**
|
|
13399
|
+
* Success
|
|
13400
|
+
*/
|
|
13401
|
+
export declare const zListWorkProcessCategoriesResponse: z.ZodObject<{
|
|
13402
|
+
meta: z.ZodObject<{
|
|
13403
|
+
page: z.ZodObject<{
|
|
13404
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
13405
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
13406
|
+
}, z.core.$strip>;
|
|
13407
|
+
}, z.core.$strip>;
|
|
13408
|
+
links: z.ZodObject<{
|
|
13409
|
+
self: z.ZodString;
|
|
13410
|
+
first: z.ZodNullable<z.ZodString>;
|
|
13411
|
+
next: z.ZodNullable<z.ZodString>;
|
|
13412
|
+
}, z.core.$strip>;
|
|
13413
|
+
data: z.ZodArray<z.ZodObject<{
|
|
13414
|
+
id: z.ZodString;
|
|
13415
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
13416
|
+
name: z.ZodString;
|
|
13417
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13418
|
+
min_minutes: z.ZodInt;
|
|
13419
|
+
max_minutes: z.ZodInt;
|
|
13420
|
+
created_at: z.ZodISODateTime;
|
|
13421
|
+
updated_at: z.ZodISODateTime;
|
|
13422
|
+
}, z.core.$strip>>;
|
|
13423
|
+
}, z.core.$strip>;
|
|
13424
|
+
export declare const zCreateWorkProcessCategoryBody: z.ZodObject<{
|
|
13425
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13426
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13427
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
13428
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
13429
|
+
}, z.core.$strip>;
|
|
13430
|
+
export declare const zCreateWorkProcessCategoryPath: z.ZodObject<{
|
|
13431
|
+
occupation_id: z.ZodString;
|
|
13432
|
+
}, z.core.$strip>;
|
|
13433
|
+
/**
|
|
13434
|
+
* Created
|
|
13435
|
+
*/
|
|
13436
|
+
export declare const zCreateWorkProcessCategoryResponse: z.ZodObject<{
|
|
13437
|
+
id: z.ZodString;
|
|
13438
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
13439
|
+
name: z.ZodString;
|
|
13440
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13441
|
+
min_minutes: z.ZodInt;
|
|
13442
|
+
max_minutes: z.ZodInt;
|
|
13443
|
+
created_at: z.ZodISODateTime;
|
|
13444
|
+
updated_at: z.ZodISODateTime;
|
|
13445
|
+
}, z.core.$strip>;
|
|
13446
|
+
export declare const zDeleteWorkProcessCategoryPath: z.ZodObject<{
|
|
13447
|
+
occupation_id: z.ZodString;
|
|
13448
|
+
id: z.ZodString;
|
|
13449
|
+
}, z.core.$strip>;
|
|
13450
|
+
/**
|
|
13451
|
+
* No Content
|
|
13452
|
+
*/
|
|
13453
|
+
export declare const zDeleteWorkProcessCategoryResponse: z.ZodVoid;
|
|
13454
|
+
export declare const zGetWorkProcessCategoryPath: z.ZodObject<{
|
|
13455
|
+
occupation_id: z.ZodString;
|
|
13456
|
+
id: z.ZodString;
|
|
13457
|
+
}, z.core.$strip>;
|
|
13458
|
+
/**
|
|
13459
|
+
* Success
|
|
13460
|
+
*/
|
|
13461
|
+
export declare const zGetWorkProcessCategoryResponse: z.ZodObject<{
|
|
13462
|
+
id: z.ZodString;
|
|
13463
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
13464
|
+
name: z.ZodString;
|
|
13465
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13466
|
+
min_minutes: z.ZodInt;
|
|
13467
|
+
max_minutes: z.ZodInt;
|
|
13468
|
+
created_at: z.ZodISODateTime;
|
|
13469
|
+
updated_at: z.ZodISODateTime;
|
|
13470
|
+
}, z.core.$strip>;
|
|
13471
|
+
export declare const zUpdateWorkProcessCategoryBody: z.ZodObject<{
|
|
13472
|
+
name: z.ZodOptional<z.ZodString>;
|
|
13473
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13474
|
+
min_minutes: z.ZodOptional<z.ZodInt>;
|
|
13475
|
+
max_minutes: z.ZodOptional<z.ZodInt>;
|
|
13476
|
+
}, z.core.$strip>;
|
|
13477
|
+
export declare const zUpdateWorkProcessCategoryPath: z.ZodObject<{
|
|
13478
|
+
occupation_id: z.ZodString;
|
|
13479
|
+
id: z.ZodString;
|
|
13480
|
+
}, z.core.$strip>;
|
|
13481
|
+
/**
|
|
13482
|
+
* Success
|
|
13483
|
+
*/
|
|
13484
|
+
export declare const zUpdateWorkProcessCategoryResponse: z.ZodObject<{
|
|
13485
|
+
id: z.ZodString;
|
|
13486
|
+
apprenticeship_occupation_id: z.ZodString;
|
|
13487
|
+
name: z.ZodString;
|
|
13488
|
+
description: z.ZodNullable<z.ZodString>;
|
|
13489
|
+
min_minutes: z.ZodInt;
|
|
13490
|
+
max_minutes: z.ZodInt;
|
|
13491
|
+
created_at: z.ZodISODateTime;
|
|
13492
|
+
updated_at: z.ZodISODateTime;
|
|
13493
|
+
}, z.core.$strip>;
|
|
13196
13494
|
export declare const zListAttributesQuery: z.ZodObject<{
|
|
13197
13495
|
'filter[data_type]': z.ZodOptional<z.ZodString>;
|
|
13198
13496
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -14110,8 +14408,8 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
14110
14408
|
}>;
|
|
14111
14409
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14112
14410
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14113
|
-
available: "available";
|
|
14114
14411
|
assigned: "assigned";
|
|
14412
|
+
available: "available";
|
|
14115
14413
|
}>>;
|
|
14116
14414
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14117
14415
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14154,8 +14452,8 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
14154
14452
|
assets_product_id: z.ZodString;
|
|
14155
14453
|
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14156
14454
|
status: z.ZodOptional<z.ZodEnum<{
|
|
14157
|
-
available: "available";
|
|
14158
14455
|
assigned: "assigned";
|
|
14456
|
+
available: "available";
|
|
14159
14457
|
}>>;
|
|
14160
14458
|
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
14161
14459
|
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14192,8 +14490,8 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
14192
14490
|
}>;
|
|
14193
14491
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14194
14492
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14195
|
-
available: "available";
|
|
14196
14493
|
assigned: "assigned";
|
|
14494
|
+
available: "available";
|
|
14197
14495
|
}>>;
|
|
14198
14496
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14199
14497
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14247,8 +14545,8 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
14247
14545
|
}>;
|
|
14248
14546
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14249
14547
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14250
|
-
available: "available";
|
|
14251
14548
|
assigned: "assigned";
|
|
14549
|
+
available: "available";
|
|
14252
14550
|
}>>;
|
|
14253
14551
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14254
14552
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14302,8 +14600,8 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
14302
14600
|
}>;
|
|
14303
14601
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14304
14602
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14305
|
-
available: "available";
|
|
14306
14603
|
assigned: "assigned";
|
|
14604
|
+
available: "available";
|
|
14307
14605
|
}>>;
|
|
14308
14606
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14309
14607
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14345,8 +14643,8 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
14345
14643
|
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
14346
14644
|
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14347
14645
|
status: z.ZodOptional<z.ZodEnum<{
|
|
14348
|
-
available: "available";
|
|
14349
14646
|
assigned: "assigned";
|
|
14647
|
+
available: "available";
|
|
14350
14648
|
}>>;
|
|
14351
14649
|
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
14352
14650
|
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14382,8 +14680,8 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
14382
14680
|
}>;
|
|
14383
14681
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14384
14682
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14385
|
-
available: "available";
|
|
14386
14683
|
assigned: "assigned";
|
|
14684
|
+
available: "available";
|
|
14387
14685
|
}>>;
|
|
14388
14686
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14389
14687
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14440,8 +14738,8 @@ export declare const zUnarchiveItemResponse: z.ZodObject<{
|
|
|
14440
14738
|
}>;
|
|
14441
14739
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14442
14740
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14443
|
-
available: "available";
|
|
14444
14741
|
assigned: "assigned";
|
|
14742
|
+
available: "available";
|
|
14445
14743
|
}>>;
|
|
14446
14744
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14447
14745
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -14498,8 +14796,8 @@ export declare const zArchiveItemResponse: z.ZodObject<{
|
|
|
14498
14796
|
}>;
|
|
14499
14797
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
14500
14798
|
status: z.ZodNullable<z.ZodEnum<{
|
|
14501
|
-
available: "available";
|
|
14502
14799
|
assigned: "assigned";
|
|
14800
|
+
available: "available";
|
|
14503
14801
|
}>>;
|
|
14504
14802
|
purchase_date: z.ZodNullable<z.ZodISODate>;
|
|
14505
14803
|
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -16317,6 +16615,7 @@ export declare const zListProductDocumentVersionsResponse: z.ZodObject<{
|
|
|
16317
16615
|
}, z.core.$strip>>;
|
|
16318
16616
|
}, z.core.$strip>;
|
|
16319
16617
|
export declare const zListAssetsSitesQuery: z.ZodObject<{
|
|
16618
|
+
'filter[state]': z.ZodOptional<z.ZodString>;
|
|
16320
16619
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16321
16620
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16322
16621
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -16353,6 +16652,7 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
|
|
|
16353
16652
|
name: z.ZodString;
|
|
16354
16653
|
site_type: z.ZodNullable<z.ZodString>;
|
|
16355
16654
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16655
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16356
16656
|
created_at: z.ZodISODateTime;
|
|
16357
16657
|
updated_at: z.ZodISODateTime;
|
|
16358
16658
|
}, z.core.$strip>>;
|
|
@@ -16380,6 +16680,7 @@ export declare const zCreateSiteResponse: z.ZodObject<{
|
|
|
16380
16680
|
name: z.ZodString;
|
|
16381
16681
|
site_type: z.ZodNullable<z.ZodString>;
|
|
16382
16682
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16683
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16383
16684
|
created_at: z.ZodISODateTime;
|
|
16384
16685
|
updated_at: z.ZodISODateTime;
|
|
16385
16686
|
}, z.core.$strip>;
|
|
@@ -16400,6 +16701,7 @@ export declare const zDeleteSiteResponse: z.ZodObject<{
|
|
|
16400
16701
|
name: z.ZodString;
|
|
16401
16702
|
site_type: z.ZodNullable<z.ZodString>;
|
|
16402
16703
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16704
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16403
16705
|
created_at: z.ZodISODateTime;
|
|
16404
16706
|
updated_at: z.ZodISODateTime;
|
|
16405
16707
|
}, z.core.$strip>;
|
|
@@ -16420,6 +16722,7 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
|
|
|
16420
16722
|
name: z.ZodString;
|
|
16421
16723
|
site_type: z.ZodNullable<z.ZodString>;
|
|
16422
16724
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16725
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16423
16726
|
created_at: z.ZodISODateTime;
|
|
16424
16727
|
updated_at: z.ZodISODateTime;
|
|
16425
16728
|
}, z.core.$strip>;
|
|
@@ -16449,6 +16752,50 @@ export declare const zUpdateSiteResponse: z.ZodObject<{
|
|
|
16449
16752
|
name: z.ZodString;
|
|
16450
16753
|
site_type: z.ZodNullable<z.ZodString>;
|
|
16451
16754
|
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16755
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16756
|
+
created_at: z.ZodISODateTime;
|
|
16757
|
+
updated_at: z.ZodISODateTime;
|
|
16758
|
+
}, z.core.$strip>;
|
|
16759
|
+
export declare const zUnarchiveAssetsSitePath: z.ZodObject<{
|
|
16760
|
+
site_id: z.ZodString;
|
|
16761
|
+
}, z.core.$strip>;
|
|
16762
|
+
/**
|
|
16763
|
+
* Success
|
|
16764
|
+
*/
|
|
16765
|
+
export declare const zUnarchiveAssetsSiteResponse: z.ZodObject<{
|
|
16766
|
+
id: z.ZodString;
|
|
16767
|
+
company_id: z.ZodString;
|
|
16768
|
+
site_id: z.ZodNullable<z.ZodString>;
|
|
16769
|
+
kind: z.ZodEnum<{
|
|
16770
|
+
warehouse: "warehouse";
|
|
16771
|
+
yard: "yard";
|
|
16772
|
+
}>;
|
|
16773
|
+
name: z.ZodString;
|
|
16774
|
+
site_type: z.ZodNullable<z.ZodString>;
|
|
16775
|
+
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16776
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16777
|
+
created_at: z.ZodISODateTime;
|
|
16778
|
+
updated_at: z.ZodISODateTime;
|
|
16779
|
+
}, z.core.$strip>;
|
|
16780
|
+
export declare const zArchiveAssetsSiteBody: z.ZodRecord<z.ZodString, z.ZodNever>;
|
|
16781
|
+
export declare const zArchiveAssetsSitePath: z.ZodObject<{
|
|
16782
|
+
site_id: z.ZodString;
|
|
16783
|
+
}, z.core.$strip>;
|
|
16784
|
+
/**
|
|
16785
|
+
* Created
|
|
16786
|
+
*/
|
|
16787
|
+
export declare const zArchiveAssetsSiteResponse: z.ZodObject<{
|
|
16788
|
+
id: z.ZodString;
|
|
16789
|
+
company_id: z.ZodString;
|
|
16790
|
+
site_id: z.ZodNullable<z.ZodString>;
|
|
16791
|
+
kind: z.ZodEnum<{
|
|
16792
|
+
warehouse: "warehouse";
|
|
16793
|
+
yard: "yard";
|
|
16794
|
+
}>;
|
|
16795
|
+
name: z.ZodString;
|
|
16796
|
+
site_type: z.ZodNullable<z.ZodString>;
|
|
16797
|
+
responsible_user_ids: z.ZodArray<z.ZodString>;
|
|
16798
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
16452
16799
|
created_at: z.ZodISODateTime;
|
|
16453
16800
|
updated_at: z.ZodISODateTime;
|
|
16454
16801
|
}, z.core.$strip>;
|
|
@@ -18283,6 +18630,145 @@ export declare const zUpdateCompanyProfileResponse: z.ZodObject<{
|
|
|
18283
18630
|
created_at: z.ZodISODateTime;
|
|
18284
18631
|
updated_at: z.ZodISODateTime;
|
|
18285
18632
|
}, z.core.$strip>;
|
|
18633
|
+
export declare const zListCompanyDocumentsQuery: z.ZodObject<{
|
|
18634
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18635
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18636
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18637
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
18638
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
18639
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
18640
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
18641
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
18642
|
+
page: z.ZodOptional<z.ZodString>;
|
|
18643
|
+
}, z.core.$strip>;
|
|
18644
|
+
/**
|
|
18645
|
+
* Success
|
|
18646
|
+
*/
|
|
18647
|
+
export declare const zListCompanyDocumentsResponse: z.ZodObject<{
|
|
18648
|
+
meta: z.ZodObject<{
|
|
18649
|
+
page: z.ZodObject<{
|
|
18650
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
18651
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
18652
|
+
}, z.core.$strip>;
|
|
18653
|
+
}, z.core.$strip>;
|
|
18654
|
+
links: z.ZodObject<{
|
|
18655
|
+
self: z.ZodString;
|
|
18656
|
+
first: z.ZodNullable<z.ZodString>;
|
|
18657
|
+
next: z.ZodNullable<z.ZodString>;
|
|
18658
|
+
}, z.core.$strip>;
|
|
18659
|
+
data: z.ZodArray<z.ZodObject<{
|
|
18660
|
+
id: z.ZodString;
|
|
18661
|
+
company_id: z.ZodString;
|
|
18662
|
+
name: z.ZodString;
|
|
18663
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18664
|
+
url: z.ZodNullable<z.ZodString>;
|
|
18665
|
+
tags: z.ZodArray<z.ZodString>;
|
|
18666
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
18667
|
+
uploaded_by_user_id: z.ZodString;
|
|
18668
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
18669
|
+
filename: z.ZodString;
|
|
18670
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
18671
|
+
byte_size: z.ZodInt;
|
|
18672
|
+
url: z.ZodString;
|
|
18673
|
+
}, z.core.$strip>>;
|
|
18674
|
+
created_at: z.ZodISODateTime;
|
|
18675
|
+
updated_at: z.ZodISODateTime;
|
|
18676
|
+
}, z.core.$strip>>;
|
|
18677
|
+
}, z.core.$strip>;
|
|
18678
|
+
export declare const zCreateCompanyDocumentBody: z.ZodObject<{
|
|
18679
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18680
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18681
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18682
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18683
|
+
always_download: z.ZodOptional<z.ZodBoolean>;
|
|
18684
|
+
file: z.ZodOptional<z.ZodString>;
|
|
18685
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
18686
|
+
}, z.core.$strip>;
|
|
18687
|
+
/**
|
|
18688
|
+
* Created
|
|
18689
|
+
*/
|
|
18690
|
+
export declare const zCreateCompanyDocumentResponse: z.ZodObject<{
|
|
18691
|
+
id: z.ZodString;
|
|
18692
|
+
company_id: z.ZodString;
|
|
18693
|
+
name: z.ZodString;
|
|
18694
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18695
|
+
url: z.ZodNullable<z.ZodString>;
|
|
18696
|
+
tags: z.ZodArray<z.ZodString>;
|
|
18697
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
18698
|
+
uploaded_by_user_id: z.ZodString;
|
|
18699
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
18700
|
+
filename: z.ZodString;
|
|
18701
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
18702
|
+
byte_size: z.ZodInt;
|
|
18703
|
+
url: z.ZodString;
|
|
18704
|
+
}, z.core.$strip>>;
|
|
18705
|
+
created_at: z.ZodISODateTime;
|
|
18706
|
+
updated_at: z.ZodISODateTime;
|
|
18707
|
+
}, z.core.$strip>;
|
|
18708
|
+
export declare const zDeleteCompanyDocumentPath: z.ZodObject<{
|
|
18709
|
+
id: z.ZodString;
|
|
18710
|
+
}, z.core.$strip>;
|
|
18711
|
+
/**
|
|
18712
|
+
* No Content
|
|
18713
|
+
*/
|
|
18714
|
+
export declare const zDeleteCompanyDocumentResponse: z.ZodVoid;
|
|
18715
|
+
export declare const zGetCompanyDocumentPath: z.ZodObject<{
|
|
18716
|
+
id: z.ZodString;
|
|
18717
|
+
}, z.core.$strip>;
|
|
18718
|
+
/**
|
|
18719
|
+
* Success
|
|
18720
|
+
*/
|
|
18721
|
+
export declare const zGetCompanyDocumentResponse: z.ZodObject<{
|
|
18722
|
+
id: z.ZodString;
|
|
18723
|
+
company_id: z.ZodString;
|
|
18724
|
+
name: z.ZodString;
|
|
18725
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18726
|
+
url: z.ZodNullable<z.ZodString>;
|
|
18727
|
+
tags: z.ZodArray<z.ZodString>;
|
|
18728
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
18729
|
+
uploaded_by_user_id: z.ZodString;
|
|
18730
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
18731
|
+
filename: z.ZodString;
|
|
18732
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
18733
|
+
byte_size: z.ZodInt;
|
|
18734
|
+
url: z.ZodString;
|
|
18735
|
+
}, z.core.$strip>>;
|
|
18736
|
+
created_at: z.ZodISODateTime;
|
|
18737
|
+
updated_at: z.ZodISODateTime;
|
|
18738
|
+
}, z.core.$strip>;
|
|
18739
|
+
export declare const zUpdateCompanyDocumentBody: z.ZodObject<{
|
|
18740
|
+
name: z.ZodOptional<z.ZodString>;
|
|
18741
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18742
|
+
url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18743
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
18744
|
+
always_download: z.ZodOptional<z.ZodBoolean>;
|
|
18745
|
+
file: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18746
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
18747
|
+
}, z.core.$strip>;
|
|
18748
|
+
export declare const zUpdateCompanyDocumentPath: z.ZodObject<{
|
|
18749
|
+
id: z.ZodString;
|
|
18750
|
+
}, z.core.$strip>;
|
|
18751
|
+
/**
|
|
18752
|
+
* Success
|
|
18753
|
+
*/
|
|
18754
|
+
export declare const zUpdateCompanyDocumentResponse: z.ZodObject<{
|
|
18755
|
+
id: z.ZodString;
|
|
18756
|
+
company_id: z.ZodString;
|
|
18757
|
+
name: z.ZodString;
|
|
18758
|
+
description: z.ZodNullable<z.ZodString>;
|
|
18759
|
+
url: z.ZodNullable<z.ZodString>;
|
|
18760
|
+
tags: z.ZodArray<z.ZodString>;
|
|
18761
|
+
always_download: z.ZodNullable<z.ZodBoolean>;
|
|
18762
|
+
uploaded_by_user_id: z.ZodString;
|
|
18763
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
18764
|
+
filename: z.ZodString;
|
|
18765
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
18766
|
+
byte_size: z.ZodInt;
|
|
18767
|
+
url: z.ZodString;
|
|
18768
|
+
}, z.core.$strip>>;
|
|
18769
|
+
created_at: z.ZodISODateTime;
|
|
18770
|
+
updated_at: z.ZodISODateTime;
|
|
18771
|
+
}, z.core.$strip>;
|
|
18286
18772
|
export declare const zListAssessmentsQuery: z.ZodObject<{
|
|
18287
18773
|
'filter[candidate_user_id]': z.ZodOptional<z.ZodString>;
|
|
18288
18774
|
'filter[competencies_level_id]': z.ZodOptional<z.ZodString>;
|
|
@@ -18429,6 +18915,7 @@ export declare const zListAssessmentCriteriaResponse: z.ZodObject<{
|
|
|
18429
18915
|
assessed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
18430
18916
|
carried_from_id: z.ZodNullable<z.ZodString>;
|
|
18431
18917
|
decided_at: z.ZodNullable<z.ZodISODateTime>;
|
|
18918
|
+
not_applicable: z.ZodBoolean;
|
|
18432
18919
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
18433
18920
|
competent: "competent";
|
|
18434
18921
|
not_yet_competent: "not_yet_competent";
|
|
@@ -18466,6 +18953,7 @@ export declare const zGetAssessmentCriterionResponse: z.ZodObject<{
|
|
|
18466
18953
|
assessed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
18467
18954
|
carried_from_id: z.ZodNullable<z.ZodString>;
|
|
18468
18955
|
decided_at: z.ZodNullable<z.ZodISODateTime>;
|
|
18956
|
+
not_applicable: z.ZodBoolean;
|
|
18469
18957
|
decision: z.ZodOptional<z.ZodEnum<{
|
|
18470
18958
|
competent: "competent";
|
|
18471
18959
|
not_yet_competent: "not_yet_competent";
|
|
@@ -20052,6 +20540,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
20052
20540
|
"assets.products": "assets.products";
|
|
20053
20541
|
"assets.products.documents": "assets.products.documents";
|
|
20054
20542
|
"assets.vendors": "assets.vendors";
|
|
20543
|
+
company_documents: "company_documents";
|
|
20055
20544
|
"compliance.checks": "compliance.checks";
|
|
20056
20545
|
form_submissions: "form_submissions";
|
|
20057
20546
|
"internal.companies": "internal.companies";
|
|
@@ -22005,6 +22494,134 @@ export declare const zGetCaEcprXmlExportResponse: z.ZodObject<{
|
|
|
22005
22494
|
}>>;
|
|
22006
22495
|
created_at: z.ZodISODateTime;
|
|
22007
22496
|
}, z.core.$strip>;
|
|
22497
|
+
export declare const zListNyDolXmlExportsPath: z.ZodObject<{
|
|
22498
|
+
job_id: z.ZodString;
|
|
22499
|
+
}, z.core.$strip>;
|
|
22500
|
+
export declare const zListNyDolXmlExportsQuery: z.ZodObject<{
|
|
22501
|
+
'filter[status]': z.ZodOptional<z.ZodString>;
|
|
22502
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
22503
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
22504
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
22505
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
22506
|
+
page: z.ZodOptional<z.ZodString>;
|
|
22507
|
+
}, z.core.$strip>;
|
|
22508
|
+
/**
|
|
22509
|
+
* Success
|
|
22510
|
+
*/
|
|
22511
|
+
export declare const zListNyDolXmlExportsResponse: z.ZodObject<{
|
|
22512
|
+
meta: z.ZodObject<{
|
|
22513
|
+
page: z.ZodObject<{
|
|
22514
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
22515
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
22516
|
+
}, z.core.$strip>;
|
|
22517
|
+
}, z.core.$strip>;
|
|
22518
|
+
links: z.ZodObject<{
|
|
22519
|
+
self: z.ZodString;
|
|
22520
|
+
first: z.ZodNullable<z.ZodString>;
|
|
22521
|
+
next: z.ZodNullable<z.ZodString>;
|
|
22522
|
+
}, z.core.$strip>;
|
|
22523
|
+
data: z.ZodArray<z.ZodObject<{
|
|
22524
|
+
id: z.ZodString;
|
|
22525
|
+
job_id: z.ZodString;
|
|
22526
|
+
start_date: z.ZodISODate;
|
|
22527
|
+
end_date: z.ZodISODate;
|
|
22528
|
+
status: z.ZodEnum<{
|
|
22529
|
+
pending: "pending";
|
|
22530
|
+
failed: "failed";
|
|
22531
|
+
success: "success";
|
|
22532
|
+
processing: "processing";
|
|
22533
|
+
signing: "signing";
|
|
22534
|
+
signed: "signed";
|
|
22535
|
+
certifying: "certifying";
|
|
22536
|
+
}>;
|
|
22537
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
22538
|
+
filename: z.ZodString;
|
|
22539
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
22540
|
+
byte_size: z.ZodInt;
|
|
22541
|
+
url: z.ZodString;
|
|
22542
|
+
}, z.core.$strip>>;
|
|
22543
|
+
invalidated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
22544
|
+
invalidation_reason: z.ZodNullable<z.ZodEnum<{
|
|
22545
|
+
source_data_changed: "source_data_changed";
|
|
22546
|
+
source_records_deleted: "source_records_deleted";
|
|
22547
|
+
ratio_status_changed: "ratio_status_changed";
|
|
22548
|
+
}>>;
|
|
22549
|
+
created_at: z.ZodISODateTime;
|
|
22550
|
+
}, z.core.$strip>>;
|
|
22551
|
+
}, z.core.$strip>;
|
|
22552
|
+
export declare const zCreateNyDolXmlExportBody: z.ZodObject<{
|
|
22553
|
+
start_date: z.ZodISODate;
|
|
22554
|
+
end_date: z.ZodISODate;
|
|
22555
|
+
}, z.core.$strip>;
|
|
22556
|
+
export declare const zCreateNyDolXmlExportPath: z.ZodObject<{
|
|
22557
|
+
job_id: z.ZodString;
|
|
22558
|
+
}, z.core.$strip>;
|
|
22559
|
+
/**
|
|
22560
|
+
* Created
|
|
22561
|
+
*/
|
|
22562
|
+
export declare const zCreateNyDolXmlExportResponse: z.ZodObject<{
|
|
22563
|
+
id: z.ZodString;
|
|
22564
|
+
job_id: z.ZodString;
|
|
22565
|
+
start_date: z.ZodISODate;
|
|
22566
|
+
end_date: z.ZodISODate;
|
|
22567
|
+
status: z.ZodEnum<{
|
|
22568
|
+
pending: "pending";
|
|
22569
|
+
failed: "failed";
|
|
22570
|
+
success: "success";
|
|
22571
|
+
processing: "processing";
|
|
22572
|
+
signing: "signing";
|
|
22573
|
+
signed: "signed";
|
|
22574
|
+
certifying: "certifying";
|
|
22575
|
+
}>;
|
|
22576
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
22577
|
+
filename: z.ZodString;
|
|
22578
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
22579
|
+
byte_size: z.ZodInt;
|
|
22580
|
+
url: z.ZodString;
|
|
22581
|
+
}, z.core.$strip>>;
|
|
22582
|
+
invalidated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
22583
|
+
invalidation_reason: z.ZodNullable<z.ZodEnum<{
|
|
22584
|
+
source_data_changed: "source_data_changed";
|
|
22585
|
+
source_records_deleted: "source_records_deleted";
|
|
22586
|
+
ratio_status_changed: "ratio_status_changed";
|
|
22587
|
+
}>>;
|
|
22588
|
+
created_at: z.ZodISODateTime;
|
|
22589
|
+
}, z.core.$strip>;
|
|
22590
|
+
export declare const zGetNyDolXmlExportPath: z.ZodObject<{
|
|
22591
|
+
job_id: z.ZodString;
|
|
22592
|
+
id: z.ZodString;
|
|
22593
|
+
}, z.core.$strip>;
|
|
22594
|
+
/**
|
|
22595
|
+
* Success
|
|
22596
|
+
*/
|
|
22597
|
+
export declare const zGetNyDolXmlExportResponse: z.ZodObject<{
|
|
22598
|
+
id: z.ZodString;
|
|
22599
|
+
job_id: z.ZodString;
|
|
22600
|
+
start_date: z.ZodISODate;
|
|
22601
|
+
end_date: z.ZodISODate;
|
|
22602
|
+
status: z.ZodEnum<{
|
|
22603
|
+
pending: "pending";
|
|
22604
|
+
failed: "failed";
|
|
22605
|
+
success: "success";
|
|
22606
|
+
processing: "processing";
|
|
22607
|
+
signing: "signing";
|
|
22608
|
+
signed: "signed";
|
|
22609
|
+
certifying: "certifying";
|
|
22610
|
+
}>;
|
|
22611
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
22612
|
+
filename: z.ZodString;
|
|
22613
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
22614
|
+
byte_size: z.ZodInt;
|
|
22615
|
+
url: z.ZodString;
|
|
22616
|
+
}, z.core.$strip>>;
|
|
22617
|
+
invalidated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
22618
|
+
invalidation_reason: z.ZodNullable<z.ZodEnum<{
|
|
22619
|
+
source_data_changed: "source_data_changed";
|
|
22620
|
+
source_records_deleted: "source_records_deleted";
|
|
22621
|
+
ratio_status_changed: "ratio_status_changed";
|
|
22622
|
+
}>>;
|
|
22623
|
+
created_at: z.ZodISODateTime;
|
|
22624
|
+
}, z.core.$strip>;
|
|
22008
22625
|
export declare const zListWh347ExportsPath: z.ZodObject<{
|
|
22009
22626
|
job_id: z.ZodString;
|
|
22010
22627
|
}, z.core.$strip>;
|
|
@@ -24888,6 +25505,16 @@ export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
|
24888
25505
|
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
24889
25506
|
employer_name: z.ZodNullable<z.ZodString>;
|
|
24890
25507
|
description: z.ZodNullable<z.ZodString>;
|
|
25508
|
+
visit_reason: z.ZodNullable<z.ZodEnum<{
|
|
25509
|
+
other: "other";
|
|
25510
|
+
om_team: "om_team";
|
|
25511
|
+
oem_service_tickets: "oem_service_tickets";
|
|
25512
|
+
owners_visit: "owners_visit";
|
|
25513
|
+
warranty_service: "warranty_service";
|
|
25514
|
+
audit_inspections: "audit_inspections";
|
|
25515
|
+
regulatory_compliance: "regulatory_compliance";
|
|
25516
|
+
third_party_vendor_support: "third_party_vendor_support";
|
|
25517
|
+
}>>;
|
|
24891
25518
|
rationale: z.ZodNullable<z.ZodString>;
|
|
24892
25519
|
source: z.ZodEnum<{
|
|
24893
25520
|
manual: "manual";
|
|
@@ -24925,6 +25552,16 @@ export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
|
24925
25552
|
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
24926
25553
|
employer_name: z.ZodNullable<z.ZodString>;
|
|
24927
25554
|
description: z.ZodNullable<z.ZodString>;
|
|
25555
|
+
visit_reason: z.ZodNullable<z.ZodEnum<{
|
|
25556
|
+
other: "other";
|
|
25557
|
+
om_team: "om_team";
|
|
25558
|
+
oem_service_tickets: "oem_service_tickets";
|
|
25559
|
+
owners_visit: "owners_visit";
|
|
25560
|
+
warranty_service: "warranty_service";
|
|
25561
|
+
audit_inspections: "audit_inspections";
|
|
25562
|
+
regulatory_compliance: "regulatory_compliance";
|
|
25563
|
+
third_party_vendor_support: "third_party_vendor_support";
|
|
25564
|
+
}>>;
|
|
24928
25565
|
rationale: z.ZodNullable<z.ZodString>;
|
|
24929
25566
|
source: z.ZodEnum<{
|
|
24930
25567
|
manual: "manual";
|
|
@@ -26097,6 +26734,85 @@ export declare const zUpdateOvertimeRuleResponse: z.ZodObject<{
|
|
|
26097
26734
|
created_at: z.ZodNullable<z.ZodISODateTime>;
|
|
26098
26735
|
updated_at: z.ZodNullable<z.ZodISODateTime>;
|
|
26099
26736
|
}, z.core.$strip>;
|
|
26737
|
+
export declare const zListOvertimePackagesQuery: z.ZodObject<{
|
|
26738
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
26739
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
26740
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
26741
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
26742
|
+
page: z.ZodOptional<z.ZodString>;
|
|
26743
|
+
}, z.core.$strip>;
|
|
26744
|
+
/**
|
|
26745
|
+
* Success
|
|
26746
|
+
*/
|
|
26747
|
+
export declare const zListOvertimePackagesResponse: z.ZodObject<{
|
|
26748
|
+
meta: z.ZodObject<{
|
|
26749
|
+
page: z.ZodObject<{
|
|
26750
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
26751
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
26752
|
+
}, z.core.$strip>;
|
|
26753
|
+
}, z.core.$strip>;
|
|
26754
|
+
links: z.ZodObject<{
|
|
26755
|
+
self: z.ZodString;
|
|
26756
|
+
first: z.ZodNullable<z.ZodString>;
|
|
26757
|
+
next: z.ZodNullable<z.ZodString>;
|
|
26758
|
+
}, z.core.$strip>;
|
|
26759
|
+
data: z.ZodArray<z.ZodObject<{
|
|
26760
|
+
id: z.ZodString;
|
|
26761
|
+
name: z.ZodString;
|
|
26762
|
+
description: z.ZodString;
|
|
26763
|
+
default: z.ZodBoolean;
|
|
26764
|
+
}, z.core.$strip>>;
|
|
26765
|
+
}, z.core.$strip>;
|
|
26766
|
+
export declare const zCreateOvertimePackageBody: z.ZodObject<{
|
|
26767
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26768
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26769
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
26770
|
+
}, z.core.$strip>;
|
|
26771
|
+
/**
|
|
26772
|
+
* Created
|
|
26773
|
+
*/
|
|
26774
|
+
export declare const zCreateOvertimePackageResponse: z.ZodObject<{
|
|
26775
|
+
id: z.ZodString;
|
|
26776
|
+
name: z.ZodString;
|
|
26777
|
+
description: z.ZodString;
|
|
26778
|
+
default: z.ZodBoolean;
|
|
26779
|
+
}, z.core.$strip>;
|
|
26780
|
+
export declare const zDeleteOvertimePackagePath: z.ZodObject<{
|
|
26781
|
+
id: z.ZodString;
|
|
26782
|
+
}, z.core.$strip>;
|
|
26783
|
+
/**
|
|
26784
|
+
* No Content
|
|
26785
|
+
*/
|
|
26786
|
+
export declare const zDeleteOvertimePackageResponse: z.ZodVoid;
|
|
26787
|
+
export declare const zGetOvertimePackagePath: z.ZodObject<{
|
|
26788
|
+
id: z.ZodString;
|
|
26789
|
+
}, z.core.$strip>;
|
|
26790
|
+
/**
|
|
26791
|
+
* Success
|
|
26792
|
+
*/
|
|
26793
|
+
export declare const zGetOvertimePackageResponse: z.ZodObject<{
|
|
26794
|
+
id: z.ZodString;
|
|
26795
|
+
name: z.ZodString;
|
|
26796
|
+
description: z.ZodString;
|
|
26797
|
+
default: z.ZodBoolean;
|
|
26798
|
+
}, z.core.$strip>;
|
|
26799
|
+
export declare const zUpdateOvertimePackageBody: z.ZodObject<{
|
|
26800
|
+
name: z.ZodOptional<z.ZodString>;
|
|
26801
|
+
description: z.ZodOptional<z.ZodString>;
|
|
26802
|
+
default: z.ZodOptional<z.ZodBoolean>;
|
|
26803
|
+
}, z.core.$strip>;
|
|
26804
|
+
export declare const zUpdateOvertimePackagePath: z.ZodObject<{
|
|
26805
|
+
id: z.ZodString;
|
|
26806
|
+
}, z.core.$strip>;
|
|
26807
|
+
/**
|
|
26808
|
+
* Success
|
|
26809
|
+
*/
|
|
26810
|
+
export declare const zUpdateOvertimePackageResponse: z.ZodObject<{
|
|
26811
|
+
id: z.ZodString;
|
|
26812
|
+
name: z.ZodString;
|
|
26813
|
+
description: z.ZodString;
|
|
26814
|
+
default: z.ZodBoolean;
|
|
26815
|
+
}, z.core.$strip>;
|
|
26100
26816
|
export declare const zShiftPayRateRuleGenesisBody: z.ZodObject<{
|
|
26101
26817
|
effective_date: z.ZodISODate;
|
|
26102
26818
|
}, z.core.$strip>;
|
|
@@ -33896,8 +34612,63 @@ export declare const zListTemplatesResponse: z.ZodObject<{
|
|
|
33896
34612
|
id: z.ZodString;
|
|
33897
34613
|
name: z.ZodString;
|
|
33898
34614
|
description: z.ZodNullable<z.ZodString>;
|
|
34615
|
+
job_id: z.ZodString;
|
|
33899
34616
|
}, z.core.$strip>>;
|
|
33900
34617
|
}, z.core.$strip>;
|
|
34618
|
+
export declare const zCreateTemplateBody: z.ZodObject<{
|
|
34619
|
+
name: z.ZodString;
|
|
34620
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34621
|
+
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34622
|
+
position_option: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
34623
|
+
empty: "empty";
|
|
34624
|
+
assigned: "assigned";
|
|
34625
|
+
}>>>;
|
|
34626
|
+
performed_by_user_id: z.ZodOptional<z.ZodString>;
|
|
34627
|
+
}, z.core.$strip>;
|
|
34628
|
+
/**
|
|
34629
|
+
* Created
|
|
34630
|
+
*/
|
|
34631
|
+
export declare const zCreateTemplateResponse: z.ZodObject<{
|
|
34632
|
+
id: z.ZodString;
|
|
34633
|
+
name: z.ZodString;
|
|
34634
|
+
description: z.ZodNullable<z.ZodString>;
|
|
34635
|
+
job_id: z.ZodString;
|
|
34636
|
+
}, z.core.$strip>;
|
|
34637
|
+
export declare const zDeleteTemplatePath: z.ZodObject<{
|
|
34638
|
+
id: z.ZodString;
|
|
34639
|
+
}, z.core.$strip>;
|
|
34640
|
+
/**
|
|
34641
|
+
* No Content
|
|
34642
|
+
*/
|
|
34643
|
+
export declare const zDeleteTemplateResponse: z.ZodVoid;
|
|
34644
|
+
export declare const zGetTemplatePath: z.ZodObject<{
|
|
34645
|
+
id: z.ZodString;
|
|
34646
|
+
}, z.core.$strip>;
|
|
34647
|
+
/**
|
|
34648
|
+
* Success
|
|
34649
|
+
*/
|
|
34650
|
+
export declare const zGetTemplateResponse: z.ZodObject<{
|
|
34651
|
+
id: z.ZodString;
|
|
34652
|
+
name: z.ZodString;
|
|
34653
|
+
description: z.ZodNullable<z.ZodString>;
|
|
34654
|
+
job_id: z.ZodString;
|
|
34655
|
+
}, z.core.$strip>;
|
|
34656
|
+
export declare const zUpdateTemplateBody: z.ZodObject<{
|
|
34657
|
+
name: z.ZodOptional<z.ZodString>;
|
|
34658
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
34659
|
+
}, z.core.$strip>;
|
|
34660
|
+
export declare const zUpdateTemplatePath: z.ZodObject<{
|
|
34661
|
+
id: z.ZodString;
|
|
34662
|
+
}, z.core.$strip>;
|
|
34663
|
+
/**
|
|
34664
|
+
* Success
|
|
34665
|
+
*/
|
|
34666
|
+
export declare const zUpdateTemplateResponse: z.ZodObject<{
|
|
34667
|
+
id: z.ZodString;
|
|
34668
|
+
name: z.ZodString;
|
|
34669
|
+
description: z.ZodNullable<z.ZodString>;
|
|
34670
|
+
job_id: z.ZodString;
|
|
34671
|
+
}, z.core.$strip>;
|
|
33901
34672
|
export declare const zListAdjustableLineItemsPath: z.ZodObject<{
|
|
33902
34673
|
time_card_id: z.ZodString;
|
|
33903
34674
|
}, z.core.$strip>;
|
|
@@ -37011,226 +37782,6 @@ export declare const zDeleteUserRoleResponse: z.ZodObject<{
|
|
|
37011
37782
|
ADMIN: "ADMIN";
|
|
37012
37783
|
}>;
|
|
37013
37784
|
}, z.core.$strip>;
|
|
37014
|
-
export declare const zListUserCompanyScheduledChangesPath: z.ZodObject<{
|
|
37015
|
-
user_id: z.ZodString;
|
|
37016
|
-
company_id: z.ZodString;
|
|
37017
|
-
}, z.core.$strip>;
|
|
37018
|
-
/**
|
|
37019
|
-
* Success
|
|
37020
|
-
*/
|
|
37021
|
-
export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
37022
|
-
user_id: z.ZodString;
|
|
37023
|
-
current_version: z.ZodObject<{
|
|
37024
|
-
id: z.ZodString;
|
|
37025
|
-
start_date: z.ZodString;
|
|
37026
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37027
|
-
compensation_type: z.ZodEnum<{
|
|
37028
|
-
hourly: "hourly";
|
|
37029
|
-
salary: "salary";
|
|
37030
|
-
}>;
|
|
37031
|
-
overtime_eligible: z.ZodBoolean;
|
|
37032
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37033
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37034
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37035
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37036
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37037
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37038
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37039
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37040
|
-
}, z.core.$strip>;
|
|
37041
|
-
scheduled_changes: z.ZodArray<z.ZodObject<{
|
|
37042
|
-
id: z.ZodString;
|
|
37043
|
-
start_date: z.ZodString;
|
|
37044
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37045
|
-
compensation_type: z.ZodEnum<{
|
|
37046
|
-
hourly: "hourly";
|
|
37047
|
-
salary: "salary";
|
|
37048
|
-
}>;
|
|
37049
|
-
overtime_eligible: z.ZodBoolean;
|
|
37050
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37051
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37052
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37053
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37054
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37055
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37056
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37057
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37058
|
-
}, z.core.$strip>>;
|
|
37059
|
-
}, z.core.$strip>;
|
|
37060
|
-
export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
|
|
37061
|
-
effective_date: z.ZodISODate;
|
|
37062
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37063
|
-
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37064
|
-
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37065
|
-
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37066
|
-
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
37067
|
-
hourly: "hourly";
|
|
37068
|
-
salary: "salary";
|
|
37069
|
-
}>>;
|
|
37070
|
-
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
37071
|
-
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37072
|
-
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37073
|
-
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37074
|
-
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37075
|
-
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37076
|
-
}, z.core.$strip>;
|
|
37077
|
-
export declare const zCreateUserCompanyScheduledChangePath: z.ZodObject<{
|
|
37078
|
-
user_id: z.ZodString;
|
|
37079
|
-
company_id: z.ZodString;
|
|
37080
|
-
}, z.core.$strip>;
|
|
37081
|
-
/**
|
|
37082
|
-
* Success
|
|
37083
|
-
*/
|
|
37084
|
-
export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
37085
|
-
user_id: z.ZodString;
|
|
37086
|
-
current_version: z.ZodObject<{
|
|
37087
|
-
id: z.ZodString;
|
|
37088
|
-
start_date: z.ZodString;
|
|
37089
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37090
|
-
compensation_type: z.ZodEnum<{
|
|
37091
|
-
hourly: "hourly";
|
|
37092
|
-
salary: "salary";
|
|
37093
|
-
}>;
|
|
37094
|
-
overtime_eligible: z.ZodBoolean;
|
|
37095
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37096
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37097
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37098
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37099
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37100
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37101
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37102
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37103
|
-
}, z.core.$strip>;
|
|
37104
|
-
scheduled_changes: z.ZodArray<z.ZodObject<{
|
|
37105
|
-
id: z.ZodString;
|
|
37106
|
-
start_date: z.ZodString;
|
|
37107
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37108
|
-
compensation_type: z.ZodEnum<{
|
|
37109
|
-
hourly: "hourly";
|
|
37110
|
-
salary: "salary";
|
|
37111
|
-
}>;
|
|
37112
|
-
overtime_eligible: z.ZodBoolean;
|
|
37113
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37114
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37115
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37116
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37117
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37118
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37119
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37120
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37121
|
-
}, z.core.$strip>>;
|
|
37122
|
-
}, z.core.$strip>;
|
|
37123
|
-
export declare const zCancelUserCompanyScheduledChangePath: z.ZodObject<{
|
|
37124
|
-
user_id: z.ZodString;
|
|
37125
|
-
company_id: z.ZodString;
|
|
37126
|
-
id: z.ZodString;
|
|
37127
|
-
}, z.core.$strip>;
|
|
37128
|
-
/**
|
|
37129
|
-
* Success
|
|
37130
|
-
*/
|
|
37131
|
-
export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
37132
|
-
user_id: z.ZodString;
|
|
37133
|
-
current_version: z.ZodObject<{
|
|
37134
|
-
id: z.ZodString;
|
|
37135
|
-
start_date: z.ZodString;
|
|
37136
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37137
|
-
compensation_type: z.ZodEnum<{
|
|
37138
|
-
hourly: "hourly";
|
|
37139
|
-
salary: "salary";
|
|
37140
|
-
}>;
|
|
37141
|
-
overtime_eligible: z.ZodBoolean;
|
|
37142
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37143
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37144
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37145
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37146
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37147
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37148
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37149
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37150
|
-
}, z.core.$strip>;
|
|
37151
|
-
scheduled_changes: z.ZodArray<z.ZodObject<{
|
|
37152
|
-
id: z.ZodString;
|
|
37153
|
-
start_date: z.ZodString;
|
|
37154
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37155
|
-
compensation_type: z.ZodEnum<{
|
|
37156
|
-
hourly: "hourly";
|
|
37157
|
-
salary: "salary";
|
|
37158
|
-
}>;
|
|
37159
|
-
overtime_eligible: z.ZodBoolean;
|
|
37160
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37161
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37162
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37163
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37164
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37165
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37166
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37167
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37168
|
-
}, z.core.$strip>>;
|
|
37169
|
-
}, z.core.$strip>;
|
|
37170
|
-
export declare const zUpdateScheduledChangeBody: z.ZodObject<{
|
|
37171
|
-
effective_date: z.ZodISODate;
|
|
37172
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37173
|
-
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37174
|
-
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37175
|
-
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37176
|
-
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
37177
|
-
hourly: "hourly";
|
|
37178
|
-
salary: "salary";
|
|
37179
|
-
}>>;
|
|
37180
|
-
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
37181
|
-
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37182
|
-
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37183
|
-
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37184
|
-
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
37185
|
-
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37186
|
-
}, z.core.$strip>;
|
|
37187
|
-
export declare const zUpdateScheduledChangePath: z.ZodObject<{
|
|
37188
|
-
user_id: z.ZodString;
|
|
37189
|
-
company_id: z.ZodString;
|
|
37190
|
-
id: z.ZodString;
|
|
37191
|
-
}, z.core.$strip>;
|
|
37192
|
-
/**
|
|
37193
|
-
* Success
|
|
37194
|
-
*/
|
|
37195
|
-
export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
|
|
37196
|
-
user_id: z.ZodString;
|
|
37197
|
-
current_version: z.ZodObject<{
|
|
37198
|
-
id: z.ZodString;
|
|
37199
|
-
start_date: z.ZodString;
|
|
37200
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37201
|
-
compensation_type: z.ZodEnum<{
|
|
37202
|
-
hourly: "hourly";
|
|
37203
|
-
salary: "salary";
|
|
37204
|
-
}>;
|
|
37205
|
-
overtime_eligible: z.ZodBoolean;
|
|
37206
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37207
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37208
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37209
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37210
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37211
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37212
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37213
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37214
|
-
}, z.core.$strip>;
|
|
37215
|
-
scheduled_changes: z.ZodArray<z.ZodObject<{
|
|
37216
|
-
id: z.ZodString;
|
|
37217
|
-
start_date: z.ZodString;
|
|
37218
|
-
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
37219
|
-
compensation_type: z.ZodEnum<{
|
|
37220
|
-
hourly: "hourly";
|
|
37221
|
-
salary: "salary";
|
|
37222
|
-
}>;
|
|
37223
|
-
overtime_eligible: z.ZodBoolean;
|
|
37224
|
-
training_annual_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37225
|
-
employer_combined_health_amount_cents: z.ZodNullable<z.ZodString>;
|
|
37226
|
-
employer_combined_savings_cents: z.ZodNullable<z.ZodString>;
|
|
37227
|
-
worked_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37228
|
-
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37229
|
-
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37230
|
-
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
37231
|
-
companies_department_id: z.ZodNullable<z.ZodString>;
|
|
37232
|
-
}, z.core.$strip>>;
|
|
37233
|
-
}, z.core.$strip>;
|
|
37234
37785
|
export declare const zCreateScheduledTerminationBody: z.ZodObject<{
|
|
37235
37786
|
termination_date: z.ZodISODate;
|
|
37236
37787
|
}, z.core.$strip>;
|
|
@@ -39044,9 +39595,12 @@ export declare const zGetWageDeterminationResponse: z.ZodObject<{
|
|
|
39044
39595
|
updated_at: z.ZodISODateTime;
|
|
39045
39596
|
}, z.core.$strip>;
|
|
39046
39597
|
export declare const zListWorkTypesQuery: z.ZodObject<{
|
|
39598
|
+
'filter[value]': z.ZodOptional<z.ZodString>;
|
|
39047
39599
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
39048
39600
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
39049
39601
|
page: z.ZodOptional<z.ZodString>;
|
|
39602
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
39603
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
39050
39604
|
}, z.core.$strip>;
|
|
39051
39605
|
/**
|
|
39052
39606
|
* Success
|
|
@@ -39073,3 +39627,58 @@ export declare const zListWorkTypesResponse: z.ZodObject<{
|
|
|
39073
39627
|
updated_at: z.ZodISODateTime;
|
|
39074
39628
|
}, z.core.$strip>>;
|
|
39075
39629
|
}, z.core.$strip>;
|
|
39630
|
+
export declare const zCreateWorkTypeBody: z.ZodObject<{
|
|
39631
|
+
value: z.ZodString;
|
|
39632
|
+
}, z.core.$strip>;
|
|
39633
|
+
/**
|
|
39634
|
+
* Created
|
|
39635
|
+
*/
|
|
39636
|
+
export declare const zCreateWorkTypeResponse: z.ZodObject<{
|
|
39637
|
+
id: z.ZodString;
|
|
39638
|
+
value: z.ZodString;
|
|
39639
|
+
verified: z.ZodBoolean;
|
|
39640
|
+
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
39641
|
+
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
39642
|
+
created_at: z.ZodISODateTime;
|
|
39643
|
+
updated_at: z.ZodISODateTime;
|
|
39644
|
+
}, z.core.$strip>;
|
|
39645
|
+
export declare const zDeleteWorkTypePath: z.ZodObject<{
|
|
39646
|
+
id: z.ZodString;
|
|
39647
|
+
}, z.core.$strip>;
|
|
39648
|
+
/**
|
|
39649
|
+
* No Content
|
|
39650
|
+
*/
|
|
39651
|
+
export declare const zDeleteWorkTypeResponse: z.ZodVoid;
|
|
39652
|
+
export declare const zGetWorkTypePath: z.ZodObject<{
|
|
39653
|
+
id: z.ZodString;
|
|
39654
|
+
}, z.core.$strip>;
|
|
39655
|
+
/**
|
|
39656
|
+
* Success
|
|
39657
|
+
*/
|
|
39658
|
+
export declare const zGetWorkTypeResponse: z.ZodObject<{
|
|
39659
|
+
id: z.ZodString;
|
|
39660
|
+
value: z.ZodString;
|
|
39661
|
+
verified: z.ZodBoolean;
|
|
39662
|
+
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
39663
|
+
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
39664
|
+
created_at: z.ZodISODateTime;
|
|
39665
|
+
updated_at: z.ZodISODateTime;
|
|
39666
|
+
}, z.core.$strip>;
|
|
39667
|
+
export declare const zUpdateWorkTypeBody: z.ZodObject<{
|
|
39668
|
+
value: z.ZodOptional<z.ZodString>;
|
|
39669
|
+
}, z.core.$strip>;
|
|
39670
|
+
export declare const zUpdateWorkTypePath: z.ZodObject<{
|
|
39671
|
+
id: z.ZodString;
|
|
39672
|
+
}, z.core.$strip>;
|
|
39673
|
+
/**
|
|
39674
|
+
* Success
|
|
39675
|
+
*/
|
|
39676
|
+
export declare const zUpdateWorkTypeResponse: z.ZodObject<{
|
|
39677
|
+
id: z.ZodString;
|
|
39678
|
+
value: z.ZodString;
|
|
39679
|
+
verified: z.ZodBoolean;
|
|
39680
|
+
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
39681
|
+
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
39682
|
+
created_at: z.ZodISODateTime;
|
|
39683
|
+
updated_at: z.ZodISODateTime;
|
|
39684
|
+
}, z.core.$strip>;
|