@dsptch-work/api-client 0.35.0 → 0.36.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 +158 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +96 -3
- package/dist/gen/sdk.gen.js +147 -4
- package/dist/gen/types.gen.d.ts +883 -263
- package/dist/gen/zod.gen.d.ts +518 -278
- package/dist/gen/zod.gen.js +417 -247
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -461,6 +461,7 @@ export declare const zDirectUploadParameters: z.ZodObject<{
|
|
|
461
461
|
"pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
|
|
462
462
|
"payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
|
|
463
463
|
"payrolls.payroll_runs.imports.wide_paystubs": "payrolls.payroll_runs.imports.wide_paystubs";
|
|
464
|
+
"projects.documents": "projects.documents";
|
|
464
465
|
users: "users";
|
|
465
466
|
}>;
|
|
466
467
|
blob: z.ZodObject<{
|
|
@@ -1062,7 +1063,7 @@ export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject
|
|
|
1062
1063
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
1063
1064
|
}, z.core.$strip>;
|
|
1064
1065
|
/**
|
|
1065
|
-
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents and fringe_cents are sent as integer cents.
|
|
1066
|
+
* Create a period on a wage schedule; the wage schedule is taken from the URL path. wage_cents and fringe_cents are sent as integer cents. Omitting period_number, wage_percent, or wage_cents answers 400. A wrong JSON type, a negative number, or a null for any field but min_minutes, max_minutes, num_competencies, description, fringe_percent, and fringe_cents answers 422 at that field; a null in one of those leaves it unset, but a period with none of min_minutes, max_minutes, or num_competencies answers 422.
|
|
1066
1067
|
*/
|
|
1067
1068
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
1068
1069
|
period_number: z.ZodInt;
|
|
@@ -1076,7 +1077,7 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
1076
1077
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1077
1078
|
}, z.core.$strip>;
|
|
1078
1079
|
/**
|
|
1079
|
-
* Update a period on a wage schedule. Send only the fields to change; the wage schedule is taken from the URL path, and wage_cents and fringe_cents are sent as integer cents.
|
|
1080
|
+
* Update a period on a wage schedule. Send only the fields to change; the wage schedule is taken from the URL path, and wage_cents and fringe_cents are sent as integer cents. A wrong JSON type, a negative number, or a null for any field but min_minutes, max_minutes, num_competencies, description, fringe_percent, and fringe_cents answers 422 at that field; a null in one of those clears it, but a period left with none of min_minutes, max_minutes, or num_competencies answers 422.
|
|
1080
1081
|
*/
|
|
1081
1082
|
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
1082
1083
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
@@ -1090,7 +1091,7 @@ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObj
|
|
|
1090
1091
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1091
1092
|
}, z.core.$strip>;
|
|
1092
1093
|
/**
|
|
1093
|
-
* Create a wage schedule for an occupation; the occupation is taken from the URL path. Money is sent as integer cents; periods may be created inline via periods_attributes.
|
|
1094
|
+
* Create a wage schedule for an occupation; the occupation is taken from the URL path. Money is sent as integer cents; periods may be created inline via periods_attributes. Omitting name, wage_unit, journeyworker_wage_unit, or period_unit answers 400. A blank name, a unit outside its listed values, a wrong JSON type, or a null for any field but description and journeyworker_fringe_cents answers 422; a null in either of those leaves the field unset.
|
|
1094
1095
|
*/
|
|
1095
1096
|
export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
1096
1097
|
name: z.ZodString;
|
|
@@ -1124,20 +1125,20 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
1124
1125
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1125
1126
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1126
1127
|
id: z.ZodOptional<z.ZodString>;
|
|
1127
|
-
period_number: z.ZodInt
|
|
1128
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
1128
1129
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1129
1130
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1130
1131
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1131
1132
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1132
|
-
wage_percent: z.ZodNumber
|
|
1133
|
-
wage_cents: z.ZodInt
|
|
1133
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
1134
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1134
1135
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1135
1136
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1136
1137
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1137
1138
|
}, z.core.$strip>>>;
|
|
1138
1139
|
}, z.core.$strip>;
|
|
1139
1140
|
/**
|
|
1140
|
-
* Update a wage schedule for an occupation. Send only the fields to change; money is sent as integer cents and periods may be created, updated, or removed inline via periods_attributes.
|
|
1141
|
+
* Update a wage schedule for an occupation. Send only the fields to change; money is sent as integer cents and periods may be created, updated, or removed inline via periods_attributes. A blank name, a unit outside its listed values, a wrong JSON type, or a null for any field but description and journeyworker_fringe_cents answers 422; a null in either of those clears the field.
|
|
1141
1142
|
*/
|
|
1142
1143
|
export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
1143
1144
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1169,15 +1170,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
1169
1170
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1170
1171
|
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1171
1172
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1172
|
-
periods_attributes: z.ZodOptional<z.ZodArray<z.
|
|
1173
|
-
min_minutes: z.ZodInt;
|
|
1174
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1175
|
-
max_minutes: z.ZodInt;
|
|
1176
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1177
|
-
num_competencies: z.ZodInt;
|
|
1178
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
1179
|
-
_destroy: z.ZodLiteral<true>;
|
|
1180
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
1173
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1181
1174
|
id: z.ZodOptional<z.ZodString>;
|
|
1182
1175
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
1183
1176
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1189,7 +1182,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
1189
1182
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1190
1183
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1191
1184
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1192
|
-
}, z.core.$strip
|
|
1185
|
+
}, z.core.$strip>>>;
|
|
1193
1186
|
}, z.core.$strip>;
|
|
1194
1187
|
/**
|
|
1195
1188
|
* A work-type classification that determines how tracked time is treated — paid vs unpaid, overtime-eligible, billable, PWA/prevailing-wage-eligible, holiday, PTO, or rest-and-recovery — versioned bitemporally so each version carries its own validity window.
|
|
@@ -1575,6 +1568,7 @@ export declare const zTimecodeHistoryVersionObject: z.ZodObject<{
|
|
|
1575
1568
|
* Request body for creating or updating a timecode; only `name` is required. On create, omitted fields take their model/DB defaults (noted per field). On update the request applies a bitemporal correction, so omitted fields keep the current version's values rather than reverting to defaults.
|
|
1576
1569
|
*/
|
|
1577
1570
|
export declare const zTimecodeParameters: z.ZodObject<{
|
|
1571
|
+
effective_date: z.ZodOptional<z.ZodString>;
|
|
1578
1572
|
name: z.ZodString;
|
|
1579
1573
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1580
1574
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1595,14 +1589,13 @@ export declare const zTimecodeParameters: z.ZodObject<{
|
|
|
1595
1589
|
non_job: "non_job";
|
|
1596
1590
|
job_with_timecode: "job_with_timecode";
|
|
1597
1591
|
}>>;
|
|
1598
|
-
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
1599
1592
|
}, z.core.$strip>;
|
|
1600
1593
|
/**
|
|
1601
1594
|
* Request body for correcting a timecode over a valid-time span. Send only the fields to change; omitted fields retain their current values. `effective_from` defaults to the addressed version's start, and `effective_to` is optional.
|
|
1602
1595
|
*/
|
|
1603
1596
|
export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
1604
|
-
effective_from: z.ZodOptional<z.
|
|
1605
|
-
effective_to: z.ZodOptional<z.
|
|
1597
|
+
effective_from: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
1606
1599
|
name: z.ZodOptional<z.ZodString>;
|
|
1607
1600
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1608
1601
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1628,7 +1621,7 @@ export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
|
1628
1621
|
* Request body for moving the beginning of a timecode's valid-time timeline. Moving it earlier extends coverage; moving it later removes coverage before the new beginning.
|
|
1629
1622
|
*/
|
|
1630
1623
|
export declare const zTimecodeGenesisParameters: z.ZodObject<{
|
|
1631
|
-
effective_date: z.
|
|
1624
|
+
effective_date: z.ZodString;
|
|
1632
1625
|
}, z.core.$strip>;
|
|
1633
1626
|
/**
|
|
1634
1627
|
* Request body for scheduling a timecode's termination: the date from which it stops being valid. The body is required — the endpoint reads effective_date with `params.expect`, so a request omitting it is refused with `400`.
|
|
@@ -1637,11 +1630,11 @@ export declare const zTimecodeScheduledTerminationParameters: z.ZodObject<{
|
|
|
1637
1630
|
effective_date: z.ZodISODateTime;
|
|
1638
1631
|
}, z.core.$strip>;
|
|
1639
1632
|
/**
|
|
1640
|
-
* Request body for scheduling a future change to a timecode: an effective_date paired with the attribute values to apply from that date. `effective_date`
|
|
1633
|
+
* Request body for scheduling a future change to a timecode: an effective_date paired with the attribute values to apply from that date. Only `effective_date` is required; omitted attributes inherit the current version's values.
|
|
1641
1634
|
*/
|
|
1642
1635
|
export declare const zTimecodeScheduledChangeParameters: z.ZodObject<{
|
|
1643
|
-
effective_date: z.
|
|
1644
|
-
name: z.ZodString
|
|
1636
|
+
effective_date: z.ZodString;
|
|
1637
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1645
1638
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1646
1639
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
1647
1640
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1801,7 +1794,7 @@ export declare const zAssetsAttributeResponseObject: z.ZodObject<{
|
|
|
1801
1794
|
updated_at: z.ZodISODateTime;
|
|
1802
1795
|
}, z.core.$strip>;
|
|
1803
1796
|
/**
|
|
1804
|
-
* Create
|
|
1797
|
+
* Create an attribute definition. Omitting name or data_type answers 400, and a blank or null name or any wrong-typed value answers 422. Options apply only to a select attribute and are ignored otherwise.
|
|
1805
1798
|
*/
|
|
1806
1799
|
export declare const zAssetsAttributeParameters: z.ZodObject<{
|
|
1807
1800
|
name: z.ZodString;
|
|
@@ -1820,7 +1813,7 @@ export declare const zAssetsAttributeParameters: z.ZodObject<{
|
|
|
1820
1813
|
}, z.core.$strip>>>;
|
|
1821
1814
|
}, z.core.$strip>;
|
|
1822
1815
|
/**
|
|
1823
|
-
* Update an attribute definition. All fields are optional — send only what changes. Options apply only to a select attribute and are ignored otherwise; data_type cannot be changed once any value has been filled.
|
|
1816
|
+
* Update an attribute definition. All fields are optional — send only what changes. A blank or null name or any wrong-typed value answers 422. Options apply only to a select attribute and are ignored otherwise; data_type cannot be changed once any value has been filled.
|
|
1824
1817
|
*/
|
|
1825
1818
|
export declare const zAssetsAttributeUpdateParameters: z.ZodObject<{
|
|
1826
1819
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2638,7 +2631,7 @@ export declare const zGroupUpdateParameters: z.ZodObject<{
|
|
|
2638
2631
|
name: z.ZodOptional<z.ZodString>;
|
|
2639
2632
|
}, z.core.$strip>;
|
|
2640
2633
|
/**
|
|
2641
|
-
* Request body for updating a worker's profile. Limited to person-level identity fields; employment, roles, and compliance are managed through onboarding (create) and the user-company endpoints.
|
|
2634
|
+
* Request body for updating a worker's profile. Limited to person-level identity fields; employment, roles, and compliance are managed through onboarding (create) and the user-company endpoints. Include only the fields to change. A null or blank legal name, or any wrong-typed value, answers 422.
|
|
2642
2635
|
*/
|
|
2643
2636
|
export declare const zUserUpdateParameters: z.ZodObject<{
|
|
2644
2637
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2650,7 +2643,7 @@ export declare const zUserUpdateParameters: z.ZodObject<{
|
|
|
2650
2643
|
preferred_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2651
2644
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2652
2645
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2653
|
-
birth_date: z.ZodOptional<z.ZodNullable<z.
|
|
2646
|
+
birth_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2654
2647
|
dol_apprentice_no: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2655
2648
|
avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2656
2649
|
}, z.core.$strip>;
|
|
@@ -2719,49 +2712,34 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
|
|
|
2719
2712
|
approver_user_id: z.ZodString;
|
|
2720
2713
|
}, z.core.$strip>;
|
|
2721
2714
|
/**
|
|
2722
|
-
*
|
|
2715
|
+
* Request body for creating a time entry. timekeeping_time_card_id, start_time, and end_time are required, and omitting one answers 400.
|
|
2723
2716
|
*/
|
|
2724
|
-
export declare const
|
|
2725
|
-
|
|
2726
|
-
|
|
2717
|
+
export declare const zTimeEntryCreateParameters: z.ZodObject<{
|
|
2718
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2719
|
+
start_time: z.ZodString;
|
|
2720
|
+
end_time: z.ZodString;
|
|
2727
2721
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2728
2722
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2729
2723
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2730
2724
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2731
2725
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2732
|
-
feature_ids: z.ZodOptional<z.
|
|
2726
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2727
|
+
feature_allocation_acknowledged: z.ZodOptional<z.ZodBoolean>;
|
|
2733
2728
|
}, z.core.$strip>;
|
|
2734
2729
|
/**
|
|
2735
|
-
* Request body for
|
|
2736
|
-
*/
|
|
2737
|
-
export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2738
|
-
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2739
|
-
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2740
|
-
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2741
|
-
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2742
|
-
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2743
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2744
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2745
|
-
feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2746
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2747
|
-
timekeeping_time_card_id: z.ZodString;
|
|
2748
|
-
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2749
|
-
}, z.core.$strip>>;
|
|
2750
|
-
/**
|
|
2751
|
-
* Request body for updating a time entry — the time_entry_parameters fields, every one optional, plus the acknowledgement that clears an apprenticeship allocation conflict.
|
|
2730
|
+
* Request body for updating a time entry. Every field is optional, and an omitted field keeps its value.
|
|
2752
2731
|
*/
|
|
2753
|
-
export declare const zTimeEntryUpdateParameters: z.
|
|
2754
|
-
start_time: z.ZodOptional<z.
|
|
2755
|
-
end_time: z.ZodOptional<z.
|
|
2732
|
+
export declare const zTimeEntryUpdateParameters: z.ZodObject<{
|
|
2733
|
+
start_time: z.ZodOptional<z.ZodString>;
|
|
2734
|
+
end_time: z.ZodOptional<z.ZodString>;
|
|
2756
2735
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2757
2736
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2758
2737
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2759
2738
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2760
2739
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2761
|
-
feature_ids: z.ZodOptional<z.
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
}, z.core.$strip>>;
|
|
2740
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2741
|
+
confirm_allocation_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
2742
|
+
}, z.core.$strip>;
|
|
2765
2743
|
/**
|
|
2766
2744
|
* A form definition — a SurveyJS form template built and versioned in the web app's form builder. The same object the list door serializes. Read-only.
|
|
2767
2745
|
*/
|
|
@@ -2799,6 +2777,55 @@ export declare const zFormSubmissionResponseObject: z.ZodObject<{
|
|
|
2799
2777
|
created_at: z.ZodISODateTime;
|
|
2800
2778
|
updated_at: z.ZodISODateTime;
|
|
2801
2779
|
}, z.core.$strip>;
|
|
2780
|
+
/**
|
|
2781
|
+
* Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead. A value of the wrong JSON type, a null for a field that is not nullable, or a value outside a listed set answers 422 at its pointer, and nothing is written.
|
|
2782
|
+
*/
|
|
2783
|
+
export declare const zUserCompanyParameters: z.ZodObject<{
|
|
2784
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
2785
|
+
EMPLOYEE: "EMPLOYEE";
|
|
2786
|
+
CONTRACTOR: "CONTRACTOR";
|
|
2787
|
+
}>>;
|
|
2788
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2789
|
+
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2790
|
+
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2791
|
+
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
2792
|
+
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2793
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2794
|
+
custom_field_config_id: z.ZodString;
|
|
2795
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2796
|
+
}, z.core.$strip>>>;
|
|
2797
|
+
}, z.core.$strip>;
|
|
2798
|
+
/**
|
|
2799
|
+
* Request body for adding a worker to your company, creating their employment record and its custom-field values. hire_date is required and sets when employment begins; the remaining fields seed the initial title, pay, benefits, and accruals. Returns the worker with the new employment flattened onto it. Omitting hire_date answers 400. A value of the wrong JSON type, a null for a field that is not nullable, or a value outside a listed set answers 422 at its pointer, and nothing is written.
|
|
2800
|
+
*/
|
|
2801
|
+
export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
2802
|
+
hire_date: z.ZodString;
|
|
2803
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
2804
|
+
EMPLOYEE: "EMPLOYEE";
|
|
2805
|
+
CONTRACTOR: "CONTRACTOR";
|
|
2806
|
+
}>>;
|
|
2807
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2808
|
+
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2809
|
+
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2810
|
+
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
2811
|
+
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
2812
|
+
hourly: "hourly";
|
|
2813
|
+
salary: "salary";
|
|
2814
|
+
}>>;
|
|
2815
|
+
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2816
|
+
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
2817
|
+
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2818
|
+
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2819
|
+
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2820
|
+
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2821
|
+
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2822
|
+
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2823
|
+
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
2824
|
+
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2825
|
+
custom_field_config_id: z.ZodString;
|
|
2826
|
+
value: z.ZodNullable<z.ZodString>;
|
|
2827
|
+
}, z.core.$strip>>>;
|
|
2828
|
+
}, z.core.$strip>;
|
|
2802
2829
|
/**
|
|
2803
2830
|
* 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.
|
|
2804
2831
|
*/
|
|
@@ -3354,6 +3381,20 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
3354
3381
|
export declare const zUserCompanyScheduledTerminationParameters: z.ZodObject<{
|
|
3355
3382
|
termination_date: z.ZodISODate;
|
|
3356
3383
|
}, z.core.$strip>;
|
|
3384
|
+
/**
|
|
3385
|
+
* A pay period — a bounded pay window generated automatically by its pay schedule (PayPeriodConfig).
|
|
3386
|
+
*/
|
|
3387
|
+
export declare const zPayPeriodResponseObject: z.ZodObject<{
|
|
3388
|
+
id: z.ZodString;
|
|
3389
|
+
timekeeping_pay_period_config_id: z.ZodString;
|
|
3390
|
+
pay_date: z.ZodISODate;
|
|
3391
|
+
start_time: z.ZodISODateTime;
|
|
3392
|
+
end_time: z.ZodISODateTime;
|
|
3393
|
+
pay_run_deadline: z.ZodISODateTime;
|
|
3394
|
+
approvals_deadline: z.ZodISODateTime;
|
|
3395
|
+
created_at: z.ZodISODateTime;
|
|
3396
|
+
updated_at: z.ZodISODateTime;
|
|
3397
|
+
}, z.core.$strip>;
|
|
3357
3398
|
/**
|
|
3358
3399
|
* One problem found while processing an accepted import, whatever its type.
|
|
3359
3400
|
*/
|
|
@@ -4114,13 +4155,12 @@ export declare const zProjectResponseObject: z.ZodObject<{
|
|
|
4114
4155
|
updated_at: z.ZodISODateTime;
|
|
4115
4156
|
}, z.core.$strip>;
|
|
4116
4157
|
/**
|
|
4117
|
-
* Request body for creating a project. `name` and `created_by_user_id` are required; the creator must be a member of the owning company. The owning company is inferred from the API key and is not part of the body. Undeclared body keys return 400 before any project or relationship is saved.
|
|
4158
|
+
* Request body for creating a project. `name` and `created_by_user_id` are required, and omitting either returns 400; the creator must be a member of the owning company. The owning company is inferred from the API key and is not part of the body. 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 project or relationship is saved.
|
|
4118
4159
|
*/
|
|
4119
4160
|
export declare const zProjectParameters: z.ZodObject<{
|
|
4120
4161
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4121
4162
|
name: z.ZodString;
|
|
4122
4163
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4123
|
-
created_by_user_id: z.ZodString;
|
|
4124
4164
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4125
4165
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4126
4166
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -4144,13 +4184,14 @@ export declare const zProjectParameters: z.ZodObject<{
|
|
|
4144
4184
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4145
4185
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4146
4186
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4147
|
-
budget: z.ZodOptional<z.ZodString
|
|
4187
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4148
4188
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4149
4189
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4150
4190
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4191
|
+
created_by_user_id: z.ZodString;
|
|
4151
4192
|
}, z.core.$strip>;
|
|
4152
4193
|
/**
|
|
4153
|
-
* Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only; omit it on PATCH. Every update that includes it returns 400, even when unchanged. Undeclared body keys return 400 before any project or relationship changes.
|
|
4194
|
+
* Request body for updating a project. Every field is optional; omit a field to preserve its current value. The resulting project must still satisfy conditional PWA, regional, and schedule validation rules. `created_by_user_id` is create-only; omit it on PATCH. Every update that includes it returns 400, even when unchanged. 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 project or relationship changes.
|
|
4154
4195
|
*/
|
|
4155
4196
|
export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
4156
4197
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4179,7 +4220,7 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
|
4179
4220
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4180
4221
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4181
4222
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4182
|
-
budget: z.ZodOptional<z.ZodString
|
|
4223
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4183
4224
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4184
4225
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4185
4226
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -4205,6 +4246,56 @@ export declare const zProjectSiteParameters: z.ZodObject<{
|
|
|
4205
4246
|
export declare const zProjectSiteUpdateParameters: z.ZodObject<{
|
|
4206
4247
|
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4207
4248
|
}, z.core.$strip>;
|
|
4249
|
+
/**
|
|
4250
|
+
* A file attached to a project. Uploaded through the direct-upload flow. `name` is always "document" and is not client-writable.
|
|
4251
|
+
*/
|
|
4252
|
+
export declare const zProjectDocumentResponseObject: z.ZodObject<{
|
|
4253
|
+
id: z.ZodString;
|
|
4254
|
+
project_id: z.ZodString;
|
|
4255
|
+
name: z.ZodString;
|
|
4256
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
4257
|
+
description: z.ZodNullable<z.ZodString>;
|
|
4258
|
+
created_by_user_id: z.ZodString;
|
|
4259
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
4260
|
+
filename: z.ZodString;
|
|
4261
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
4262
|
+
byte_size: z.ZodInt;
|
|
4263
|
+
url: z.ZodString;
|
|
4264
|
+
}, z.core.$strip>>;
|
|
4265
|
+
created_at: z.ZodISODateTime;
|
|
4266
|
+
updated_at: z.ZodISODateTime;
|
|
4267
|
+
}, z.core.$strip>;
|
|
4268
|
+
/**
|
|
4269
|
+
* Attach a file to a project as a document. file is required and takes a signed_id from the direct-upload endpoint.
|
|
4270
|
+
*/
|
|
4271
|
+
export declare const zProjectDocumentParameters: z.ZodObject<{
|
|
4272
|
+
file: z.ZodString;
|
|
4273
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4274
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4275
|
+
performed_by_user_id: z.ZodString;
|
|
4276
|
+
}, z.core.$strip>;
|
|
4277
|
+
/**
|
|
4278
|
+
* Update a project 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. `name` is read-only; sending it answers 400.
|
|
4279
|
+
*/
|
|
4280
|
+
export declare const zProjectDocumentUpdateParameters: z.ZodObject<{
|
|
4281
|
+
file: z.ZodOptional<z.ZodString>;
|
|
4282
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4283
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4284
|
+
}, z.core.$strip>;
|
|
4285
|
+
/**
|
|
4286
|
+
* One entry in a project document's PaperTrail change history, recorded whenever the document is created, updated, or deleted — including when only its attached file is replaced. This is transaction-time audit data, not a temporal valid-time version.
|
|
4287
|
+
*/
|
|
4288
|
+
export declare const zProjectDocumentVersionResponseObject: z.ZodObject<{
|
|
4289
|
+
id: z.ZodInt;
|
|
4290
|
+
document_id: z.ZodString;
|
|
4291
|
+
event: z.ZodEnum<{
|
|
4292
|
+
create: "create";
|
|
4293
|
+
update: "update";
|
|
4294
|
+
destroy: "destroy";
|
|
4295
|
+
}>;
|
|
4296
|
+
whodunnit: z.ZodNullable<z.ZodString>;
|
|
4297
|
+
created_at: z.ZodISODateTime;
|
|
4298
|
+
}, z.core.$strip>;
|
|
4208
4299
|
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
4209
4300
|
id: z.ZodString;
|
|
4210
4301
|
site_id: z.ZodString;
|
|
@@ -4550,14 +4641,14 @@ export declare const zComplianceCheckDetailResponseObject: z.ZodObject<{
|
|
|
4550
4641
|
}, z.core.$strip>>;
|
|
4551
4642
|
}, z.core.$strip>;
|
|
4552
4643
|
/**
|
|
4553
|
-
* Update a compliance check. Every field is optional.
|
|
4644
|
+
* Update a compliance check. Every field is optional. Undeclared body keys return 400, and a wrong-typed value, a null for a field that is not nullable, or a status outside the list returns 422 at its pointer before anything is written.
|
|
4554
4645
|
*/
|
|
4555
4646
|
export declare const zComplianceCheckParameters: z.ZodObject<{
|
|
4556
4647
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4557
4648
|
pending: "pending";
|
|
4558
4649
|
dismissed: "dismissed";
|
|
4559
4650
|
}>>;
|
|
4560
|
-
time_due: z.ZodOptional<z.ZodNullable<z.
|
|
4651
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4561
4652
|
assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4562
4653
|
file_signed_id: z.ZodOptional<z.ZodString>;
|
|
4563
4654
|
}, z.core.$strip>;
|
|
@@ -5790,7 +5881,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
5790
5881
|
}, z.core.$strip>>;
|
|
5791
5882
|
}, z.core.$strip>>;
|
|
5792
5883
|
/**
|
|
5793
|
-
* Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only.
|
|
5884
|
+
* Request body for creating a certification — a named qualification a worker can hold. You can only manage your own company's certifications; global (platform) certifications are read-only. Omitting company_id or name answers 400, and a null or blank one, or any wrong-typed value, answers 422.
|
|
5794
5885
|
*/
|
|
5795
5886
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
5796
5887
|
company_id: z.ZodString;
|
|
@@ -5800,7 +5891,7 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
5800
5891
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5801
5892
|
}, z.core.$strip>;
|
|
5802
5893
|
/**
|
|
5803
|
-
* Request body for updating a certification — a named qualification a worker can hold. Include only the fields to change. You can only manage your own company's certifications; global (platform) certifications are read-only. The certification's company is fixed at creation.
|
|
5894
|
+
* Request body for updating a certification — a named qualification a worker can hold. Include only the fields to change. You can only manage your own company's certifications; global (platform) certifications are read-only. The certification's company is fixed at creation. A null or blank name, or any wrong-typed value, answers 422.
|
|
5804
5895
|
*/
|
|
5805
5896
|
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
5806
5897
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5884,7 +5975,7 @@ export declare const zUserCertificationUpdateParameters: z.ZodObject<{
|
|
|
5884
5975
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5885
5976
|
}, z.core.$strip>;
|
|
5886
5977
|
/**
|
|
5887
|
-
* Request body for approving a certification held by a worker. A user key approves in its own user's name and
|
|
5978
|
+
* Request body for approving a certification held by a worker. A user key approves in its own user's name and must omit approved_by_user_id. A company key must name the approver.
|
|
5888
5979
|
*/
|
|
5889
5980
|
export declare const zUserCertificationApprovalParameters: z.ZodObject<{
|
|
5890
5981
|
approved_by_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6276,7 +6367,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
6276
6367
|
holiday_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
6277
6368
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
6278
6369
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
6279
|
-
group_ids: z.ZodOptional<z.
|
|
6370
|
+
group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6280
6371
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6281
6372
|
custom_field_config_id: z.ZodString;
|
|
6282
6373
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -6374,55 +6465,6 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
6374
6465
|
}>>>;
|
|
6375
6466
|
}, z.core.$strip>>>;
|
|
6376
6467
|
}, z.core.$strip>>;
|
|
6377
|
-
/**
|
|
6378
|
-
* Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead.
|
|
6379
|
-
*/
|
|
6380
|
-
export declare const zUserCompanyParameters: z.ZodObject<{
|
|
6381
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6382
|
-
EMPLOYEE: "EMPLOYEE";
|
|
6383
|
-
CONTRACTOR: "CONTRACTOR";
|
|
6384
|
-
}>>>;
|
|
6385
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6386
|
-
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6387
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6388
|
-
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6389
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
6390
|
-
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6391
|
-
custom_field_config_id: z.ZodString;
|
|
6392
|
-
value: z.ZodNullable<z.ZodString>;
|
|
6393
|
-
}, z.core.$strip>>>;
|
|
6394
|
-
}, z.core.$strip>;
|
|
6395
|
-
/**
|
|
6396
|
-
* Request body for adding a worker to your company, creating their employment record and its custom-field values. hire_date is required and sets when employment begins; the remaining fields seed the initial title, pay, benefits, and accruals. Returns the worker with the new employment flattened onto it.
|
|
6397
|
-
*/
|
|
6398
|
-
export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
6399
|
-
hire_date: z.ZodString;
|
|
6400
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6401
|
-
EMPLOYEE: "EMPLOYEE";
|
|
6402
|
-
CONTRACTOR: "CONTRACTOR";
|
|
6403
|
-
}>>>;
|
|
6404
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6405
|
-
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6406
|
-
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
6407
|
-
hourly: "hourly";
|
|
6408
|
-
salary: "salary";
|
|
6409
|
-
}>>;
|
|
6410
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
6411
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6412
|
-
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6413
|
-
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
6414
|
-
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6415
|
-
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6416
|
-
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6417
|
-
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6418
|
-
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6419
|
-
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6420
|
-
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6421
|
-
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6422
|
-
custom_field_config_id: z.ZodString;
|
|
6423
|
-
value: z.ZodNullable<z.ZodString>;
|
|
6424
|
-
}, z.core.$strip>>>;
|
|
6425
|
-
}, z.core.$strip>;
|
|
6426
6468
|
/**
|
|
6427
6469
|
* Keyset pagination cursors for the collection.
|
|
6428
6470
|
*/
|
|
@@ -7534,35 +7576,6 @@ export declare const zFederalJobWageDeterminationHistoryCorrectionObject: z.ZodO
|
|
|
7534
7576
|
created_at: z.ZodISODateTime;
|
|
7535
7577
|
updated_at: z.ZodISODateTime;
|
|
7536
7578
|
}, z.core.$strip>;
|
|
7537
|
-
/**
|
|
7538
|
-
* State-specific rate fields for a Regional determination, as decimal-string money in cents
|
|
7539
|
-
* (e.g. "538.0"). These nine properties are the whole write vocabulary, but which of them a
|
|
7540
|
-
* request may send is set by the job's region, not the request — sending a key the job's
|
|
7541
|
-
* region does not allow returns a 422:
|
|
7542
|
-
*
|
|
7543
|
-
* - Categorized-fringe regions (currently IL) accept `combined_health_fringe_rate_cents`,
|
|
7544
|
-
* `combined_savings_fringe_rate_cents`, `combined_holiday_pto_fringe_rate_cents`,
|
|
7545
|
-
* `training_fringe_rate_cents`, and `other_fringe_rate_cents`.
|
|
7546
|
-
* - Overtime-adder regions (currently IL and NY) accept `one_five_x_adder_rate_cents`,
|
|
7547
|
-
* `two_x_adder_rate_cents`, `one_five_x_fringe_adder_rate_cents`, and
|
|
7548
|
-
* `two_x_fringe_adder_rate_cents`.
|
|
7549
|
-
*
|
|
7550
|
-
* In a categorized-fringe region the five fringe keys are required, not merely accepted —
|
|
7551
|
-
* omitting any of them returns a 422. Categorized-fringe values are non-null when present;
|
|
7552
|
-
* overtime-adder values may be null.
|
|
7553
|
-
*
|
|
7554
|
-
*/
|
|
7555
|
-
export declare const zRegionalWageDeterminationFields: z.ZodObject<{
|
|
7556
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7557
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7558
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7559
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7560
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7561
|
-
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7562
|
-
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7563
|
-
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7564
|
-
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7565
|
-
}, z.core.$strip>;
|
|
7566
7579
|
/**
|
|
7567
7580
|
* State-specific rate fields recorded on a Regional determination, as decimal-string money in
|
|
7568
7581
|
* cents (e.g. "538.0"). Which keys appear is set by the job's region, so this object is always
|
|
@@ -7962,7 +7975,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
7962
7975
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
7963
7976
|
}, z.core.$strip>], "type">;
|
|
7964
7977
|
/**
|
|
7965
|
-
* Parameters for creating a Federal (Davis-Bacon) wage determination on a job.
|
|
7978
|
+
* Parameters for creating a Federal (Davis-Bacon) wage determination on a job. A Federal determination holds no regional rates, so a body sending `regional_fields` returns a 422.
|
|
7966
7979
|
*/
|
|
7967
7980
|
export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
7968
7981
|
type: z.ZodEnum<{
|
|
@@ -7980,6 +7993,7 @@ export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
7980
7993
|
residential: "residential";
|
|
7981
7994
|
}>>>;
|
|
7982
7995
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7996
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7983
7997
|
}, z.core.$strip>;
|
|
7984
7998
|
/**
|
|
7985
7999
|
* Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
|
|
@@ -7992,19 +8006,26 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
7992
8006
|
pwa_trade_id: z.ZodString;
|
|
7993
8007
|
hourly_rate_cents: z.ZodString;
|
|
7994
8008
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
8009
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8010
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8011
|
+
building: "building";
|
|
8012
|
+
heavy: "heavy";
|
|
8013
|
+
highway: "highway";
|
|
8014
|
+
residential: "residential";
|
|
8015
|
+
}>>>;
|
|
7995
8016
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7996
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7997
8017
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
7998
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
7999
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8000
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8001
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8002
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8018
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8019
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8020
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8021
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8022
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8003
8023
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8004
8024
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8005
8025
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8006
8026
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8007
8027
|
}, z.core.$strip>>;
|
|
8028
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8008
8029
|
}, z.core.$strip>;
|
|
8009
8030
|
/**
|
|
8010
8031
|
* Parameters for creating a job wage determination. Provide the Federal or Regional shape; the type discriminator selects which. Editing an existing determination uses the update parameters, which take an `effective_from` instead of a type.
|
|
@@ -8022,25 +8043,33 @@ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z
|
|
|
8022
8043
|
residential: "residential";
|
|
8023
8044
|
}>>>;
|
|
8024
8045
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8046
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8025
8047
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
8026
8048
|
}, z.core.$strip>, z.ZodObject<{
|
|
8027
8049
|
labor_classification: z.ZodString;
|
|
8028
8050
|
pwa_trade_id: z.ZodString;
|
|
8029
8051
|
hourly_rate_cents: z.ZodString;
|
|
8030
8052
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
8053
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8054
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8055
|
+
building: "building";
|
|
8056
|
+
heavy: "heavy";
|
|
8057
|
+
highway: "highway";
|
|
8058
|
+
residential: "residential";
|
|
8059
|
+
}>>>;
|
|
8031
8060
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8032
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8033
8061
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8034
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8035
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8036
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8037
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8038
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8062
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8063
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8064
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8065
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8066
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8039
8067
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8040
8068
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8041
8069
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8042
8070
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8043
8071
|
}, z.core.$strip>>;
|
|
8072
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8044
8073
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
8045
8074
|
}, z.core.$strip>], "type">;
|
|
8046
8075
|
/**
|
|
@@ -8062,11 +8091,11 @@ export declare const zJobWageDeterminationUpdateParameters: z.ZodObject<{
|
|
|
8062
8091
|
}>>>;
|
|
8063
8092
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8064
8093
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8065
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8066
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8067
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8068
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8069
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8094
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8095
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8096
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8097
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8098
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8070
8099
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8071
8100
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8072
8101
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8090,11 +8119,11 @@ export declare const zJobWageDeterminationScheduledChangeParameters: z.ZodObject
|
|
|
8090
8119
|
}>>>;
|
|
8091
8120
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8092
8121
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8093
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8094
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8095
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8096
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8097
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8122
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8123
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8124
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8125
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8126
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8098
8127
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8099
8128
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8100
8129
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8548,7 +8577,7 @@ export declare const zProjectWageDeterminationHistoryVersionObject: z.ZodDiscrim
|
|
|
8548
8577
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
8549
8578
|
}, z.core.$strip>], "type">;
|
|
8550
8579
|
/**
|
|
8551
|
-
* Parameters for creating a Federal (Davis-Bacon) wage determination on a project.
|
|
8580
|
+
* Parameters for creating a Federal (Davis-Bacon) wage determination on a project. A Federal determination holds no regional rates, so a body sending `regional_fields` returns a 422.
|
|
8552
8581
|
*/
|
|
8553
8582
|
export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
|
|
8554
8583
|
type: z.ZodEnum<{
|
|
@@ -8566,6 +8595,7 @@ export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
|
|
|
8566
8595
|
residential: "residential";
|
|
8567
8596
|
}>>>;
|
|
8568
8597
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8598
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8569
8599
|
}, z.core.$strip>;
|
|
8570
8600
|
/**
|
|
8571
8601
|
* Parameters for creating a Regional (state prevailing-wage) wage determination on a project.
|
|
@@ -8578,19 +8608,26 @@ export declare const zRegionalProjectWageDeterminationParameters: z.ZodObject<{
|
|
|
8578
8608
|
pwa_trade_id: z.ZodString;
|
|
8579
8609
|
hourly_rate_cents: z.ZodString;
|
|
8580
8610
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
8611
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8612
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8613
|
+
building: "building";
|
|
8614
|
+
heavy: "heavy";
|
|
8615
|
+
highway: "highway";
|
|
8616
|
+
residential: "residential";
|
|
8617
|
+
}>>>;
|
|
8581
8618
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8582
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8583
8619
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8584
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8585
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8586
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8587
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8588
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8620
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8621
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8622
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8623
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8624
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8589
8625
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8590
8626
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8591
8627
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8592
8628
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8593
8629
|
}, z.core.$strip>>;
|
|
8630
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8594
8631
|
}, z.core.$strip>;
|
|
8595
8632
|
/**
|
|
8596
8633
|
* Parameters for creating a project wage determination. Provide the Federal or Regional shape; the type discriminator selects which. Editing an existing determination uses the update parameters, which take an `effective_from` instead of a type.
|
|
@@ -8608,25 +8645,33 @@ export declare const zProjectWageDeterminationParameters: z.ZodDiscriminatedUnio
|
|
|
8608
8645
|
residential: "residential";
|
|
8609
8646
|
}>>>;
|
|
8610
8647
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8648
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8611
8649
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
|
|
8612
8650
|
}, z.core.$strip>, z.ZodObject<{
|
|
8613
8651
|
labor_classification: z.ZodString;
|
|
8614
8652
|
pwa_trade_id: z.ZodString;
|
|
8615
8653
|
hourly_rate_cents: z.ZodString;
|
|
8616
8654
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
8655
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8656
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
8657
|
+
building: "building";
|
|
8658
|
+
heavy: "heavy";
|
|
8659
|
+
highway: "highway";
|
|
8660
|
+
residential: "residential";
|
|
8661
|
+
}>>>;
|
|
8617
8662
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8618
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8619
8663
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8620
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8621
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8622
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8623
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8624
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8664
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8665
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8666
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8667
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8668
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8625
8669
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8626
8670
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8627
8671
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8628
8672
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8629
8673
|
}, z.core.$strip>>;
|
|
8674
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8630
8675
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
8631
8676
|
}, z.core.$strip>], "type">;
|
|
8632
8677
|
/**
|
|
@@ -8648,11 +8693,11 @@ export declare const zProjectWageDeterminationUpdateParameters: z.ZodObject<{
|
|
|
8648
8693
|
}>>>;
|
|
8649
8694
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8650
8695
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8651
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8652
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8653
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8654
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8655
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8696
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8697
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8698
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8699
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8700
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8656
8701
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8657
8702
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8658
8703
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8676,11 +8721,11 @@ export declare const zProjectWageDeterminationScheduledChangeParameters: z.ZodOb
|
|
|
8676
8721
|
}>>>;
|
|
8677
8722
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8678
8723
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8679
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8680
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8681
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8682
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8683
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8724
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8725
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8726
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8727
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8728
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8684
8729
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8685
8730
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8686
8731
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -10682,17 +10727,17 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
10682
10727
|
updated_at: z.ZodISODateTime;
|
|
10683
10728
|
}, z.core.$strip>;
|
|
10684
10729
|
/**
|
|
10685
|
-
* Move item stock. Each endpoint is a site, a user, or a container — give at most one per side. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). With a single open end it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. Moves are applied immediately, so the source must hold enough of each item.
|
|
10730
|
+
* Move item stock. Each endpoint is a site, a user, or a container — give at most one per side; more than one on a side, or no endpoint at all, answers 422. With both a source and a destination this is a two-sided transfer (returns the created transfer, 201). With a single open end it is a one-sided move — placing an unplaced item (destination only) or removing it from its holder (source only) — which records transactions but no transfer and returns 204. Moves are applied immediately, so the source must hold enough of each item.
|
|
10686
10731
|
*/
|
|
10687
10732
|
export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
10688
10733
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
10689
10734
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
10690
10735
|
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
10736
|
+
from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10691
10737
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
10692
10738
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
10693
10739
|
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
10694
|
-
|
|
10695
|
-
to_assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
10740
|
+
to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10696
10741
|
performed_by_user_id: z.ZodString;
|
|
10697
10742
|
line_items: z.ZodArray<z.ZodObject<{
|
|
10698
10743
|
assets_item_id: z.ZodString;
|
|
@@ -11697,13 +11742,13 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
11697
11742
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11698
11743
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11699
11744
|
id: z.ZodOptional<z.ZodString>;
|
|
11700
|
-
period_number: z.ZodInt
|
|
11745
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
11701
11746
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11702
11747
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11703
11748
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11704
11749
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11705
|
-
wage_percent: z.ZodNumber
|
|
11706
|
-
wage_cents: z.ZodInt
|
|
11750
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
11751
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11707
11752
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11708
11753
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11709
11754
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11834,15 +11879,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
11834
11879
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11835
11880
|
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11836
11881
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11837
|
-
periods_attributes: z.ZodOptional<z.ZodArray<z.
|
|
11838
|
-
min_minutes: z.ZodInt;
|
|
11839
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11840
|
-
max_minutes: z.ZodInt;
|
|
11841
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11842
|
-
num_competencies: z.ZodInt;
|
|
11843
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
11844
|
-
_destroy: z.ZodLiteral<true>;
|
|
11845
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
11882
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11846
11883
|
id: z.ZodOptional<z.ZodString>;
|
|
11847
11884
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
11848
11885
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -11854,7 +11891,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
11854
11891
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11855
11892
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11856
11893
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
11857
|
-
}, z.core.$strip
|
|
11894
|
+
}, z.core.$strip>>>;
|
|
11858
11895
|
}, z.core.$strip>;
|
|
11859
11896
|
export declare const zUpdateWageSchedulePath: z.ZodObject<{
|
|
11860
11897
|
occupation_id: z.ZodString;
|
|
@@ -15187,11 +15224,11 @@ export declare const zCreateTransferBody: z.ZodObject<{
|
|
|
15187
15224
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
15188
15225
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
15189
15226
|
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
15227
|
+
from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15190
15228
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
15191
15229
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
15192
15230
|
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
15193
|
-
|
|
15194
|
-
to_assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
15231
|
+
to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15195
15232
|
performed_by_user_id: z.ZodString;
|
|
15196
15233
|
line_items: z.ZodArray<z.ZodObject<{
|
|
15197
15234
|
assets_item_id: z.ZodString;
|
|
@@ -17919,7 +17956,7 @@ export declare const zUpdateCheckBody: z.ZodObject<{
|
|
|
17919
17956
|
pending: "pending";
|
|
17920
17957
|
dismissed: "dismissed";
|
|
17921
17958
|
}>>;
|
|
17922
|
-
time_due: z.ZodOptional<z.ZodNullable<z.
|
|
17959
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17923
17960
|
assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17924
17961
|
file_signed_id: z.ZodOptional<z.ZodString>;
|
|
17925
17962
|
}, z.core.$strip>;
|
|
@@ -18236,6 +18273,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
18236
18273
|
"pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
|
|
18237
18274
|
"payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
|
|
18238
18275
|
"payrolls.payroll_runs.imports.wide_paystubs": "payrolls.payroll_runs.imports.wide_paystubs";
|
|
18276
|
+
"projects.documents": "projects.documents";
|
|
18239
18277
|
users: "users";
|
|
18240
18278
|
}>;
|
|
18241
18279
|
blob: z.ZodObject<{
|
|
@@ -19817,11 +19855,11 @@ export declare const zScheduleJobWageDeterminationChangeBody: z.ZodObject<{
|
|
|
19817
19855
|
}>>>;
|
|
19818
19856
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19819
19857
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
19820
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19821
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19822
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19823
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19824
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19858
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19859
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19860
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19861
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19862
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19825
19863
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19826
19864
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19827
19865
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -20056,25 +20094,33 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
20056
20094
|
residential: "residential";
|
|
20057
20095
|
}>>>;
|
|
20058
20096
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20097
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20059
20098
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
20060
20099
|
}, z.core.$strip>, z.ZodObject<{
|
|
20061
20100
|
labor_classification: z.ZodString;
|
|
20062
20101
|
pwa_trade_id: z.ZodString;
|
|
20063
20102
|
hourly_rate_cents: z.ZodString;
|
|
20064
20103
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
20104
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20105
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
20106
|
+
building: "building";
|
|
20107
|
+
heavy: "heavy";
|
|
20108
|
+
highway: "highway";
|
|
20109
|
+
residential: "residential";
|
|
20110
|
+
}>>>;
|
|
20065
20111
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20066
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20067
20112
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
20068
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20069
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20070
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20071
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20072
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20113
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20114
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20115
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20116
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20117
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20073
20118
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20074
20119
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20075
20120
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20076
20121
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20077
20122
|
}, z.core.$strip>>;
|
|
20123
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20078
20124
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
20079
20125
|
}, z.core.$strip>], "type">;
|
|
20080
20126
|
export declare const zCreateWageDeterminationPath: z.ZodObject<{
|
|
@@ -20236,11 +20282,11 @@ export declare const zUpdateJobWageDeterminationBody: z.ZodObject<{
|
|
|
20236
20282
|
}>>>;
|
|
20237
20283
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20238
20284
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
20239
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20240
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20241
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20242
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20243
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20285
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20286
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20287
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20288
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20289
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20244
20290
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20245
20291
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20246
20292
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -23550,6 +23596,7 @@ export declare const zGetTimeEntryImportResponse: z.ZodObject<{
|
|
|
23550
23596
|
updated_at: z.ZodISODateTime;
|
|
23551
23597
|
}, z.core.$strip>;
|
|
23552
23598
|
export declare const zListPayPeriodsQuery: z.ZodObject<{
|
|
23599
|
+
'filter[timekeeping_pay_period_config_id]': z.ZodOptional<z.ZodString>;
|
|
23553
23600
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
23554
23601
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
23555
23602
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -23585,6 +23632,23 @@ export declare const zListPayPeriodsResponse: z.ZodObject<{
|
|
|
23585
23632
|
updated_at: z.ZodISODateTime;
|
|
23586
23633
|
}, z.core.$strip>>;
|
|
23587
23634
|
}, z.core.$strip>;
|
|
23635
|
+
export declare const zGetPayPeriodPath: z.ZodObject<{
|
|
23636
|
+
id: z.ZodString;
|
|
23637
|
+
}, z.core.$strip>;
|
|
23638
|
+
/**
|
|
23639
|
+
* Success
|
|
23640
|
+
*/
|
|
23641
|
+
export declare const zGetPayPeriodResponse: z.ZodObject<{
|
|
23642
|
+
id: z.ZodString;
|
|
23643
|
+
timekeeping_pay_period_config_id: z.ZodString;
|
|
23644
|
+
pay_date: z.ZodISODate;
|
|
23645
|
+
start_time: z.ZodISODateTime;
|
|
23646
|
+
end_time: z.ZodISODateTime;
|
|
23647
|
+
pay_run_deadline: z.ZodISODateTime;
|
|
23648
|
+
approvals_deadline: z.ZodISODateTime;
|
|
23649
|
+
created_at: z.ZodISODateTime;
|
|
23650
|
+
updated_at: z.ZodISODateTime;
|
|
23651
|
+
}, z.core.$strip>;
|
|
23588
23652
|
/**
|
|
23589
23653
|
* Success
|
|
23590
23654
|
*/
|
|
@@ -25345,6 +25409,7 @@ export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<
|
|
|
25345
25409
|
}, z.core.$strip>;
|
|
25346
25410
|
export declare const zListEmploymentsQuery: z.ZodObject<{
|
|
25347
25411
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
25412
|
+
'filter[companies_department_id]': z.ZodOptional<z.ZodString>;
|
|
25348
25413
|
filter: z.ZodOptional<z.ZodString>;
|
|
25349
25414
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
25350
25415
|
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -26083,6 +26148,175 @@ export declare const zUpdateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
26083
26148
|
work_date: z.ZodISODate;
|
|
26084
26149
|
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
26085
26150
|
}, z.core.$strip>], "completable_type">;
|
|
26151
|
+
export declare const zListProjectDocumentVersionsPath: z.ZodObject<{
|
|
26152
|
+
project_id: z.ZodString;
|
|
26153
|
+
document_id: z.ZodString;
|
|
26154
|
+
}, z.core.$strip>;
|
|
26155
|
+
export declare const zListProjectDocumentVersionsQuery: z.ZodObject<{
|
|
26156
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
26157
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
26158
|
+
page: z.ZodOptional<z.ZodString>;
|
|
26159
|
+
}, z.core.$strip>;
|
|
26160
|
+
/**
|
|
26161
|
+
* Success
|
|
26162
|
+
*/
|
|
26163
|
+
export declare const zListProjectDocumentVersionsResponse: z.ZodObject<{
|
|
26164
|
+
meta: z.ZodObject<{
|
|
26165
|
+
page: z.ZodObject<{
|
|
26166
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
26167
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
26168
|
+
}, z.core.$strip>;
|
|
26169
|
+
}, z.core.$strip>;
|
|
26170
|
+
links: z.ZodObject<{
|
|
26171
|
+
self: z.ZodString;
|
|
26172
|
+
first: z.ZodNullable<z.ZodString>;
|
|
26173
|
+
next: z.ZodNullable<z.ZodString>;
|
|
26174
|
+
}, z.core.$strip>;
|
|
26175
|
+
data: z.ZodArray<z.ZodObject<{
|
|
26176
|
+
id: z.ZodInt;
|
|
26177
|
+
document_id: z.ZodString;
|
|
26178
|
+
event: z.ZodEnum<{
|
|
26179
|
+
create: "create";
|
|
26180
|
+
update: "update";
|
|
26181
|
+
destroy: "destroy";
|
|
26182
|
+
}>;
|
|
26183
|
+
whodunnit: z.ZodNullable<z.ZodString>;
|
|
26184
|
+
created_at: z.ZodISODateTime;
|
|
26185
|
+
}, z.core.$strip>>;
|
|
26186
|
+
}, z.core.$strip>;
|
|
26187
|
+
export declare const zListProjectDocumentsPath: z.ZodObject<{
|
|
26188
|
+
project_id: z.ZodString;
|
|
26189
|
+
}, z.core.$strip>;
|
|
26190
|
+
export declare const zListProjectDocumentsQuery: z.ZodObject<{
|
|
26191
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
26192
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
26193
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
26194
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
26195
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
26196
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
26197
|
+
page: z.ZodOptional<z.ZodString>;
|
|
26198
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
26199
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
26200
|
+
}, z.core.$strip>;
|
|
26201
|
+
/**
|
|
26202
|
+
* Success
|
|
26203
|
+
*/
|
|
26204
|
+
export declare const zListProjectDocumentsResponse: z.ZodObject<{
|
|
26205
|
+
meta: z.ZodObject<{
|
|
26206
|
+
page: z.ZodObject<{
|
|
26207
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
26208
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
26209
|
+
}, z.core.$strip>;
|
|
26210
|
+
}, z.core.$strip>;
|
|
26211
|
+
links: z.ZodObject<{
|
|
26212
|
+
self: z.ZodString;
|
|
26213
|
+
first: z.ZodNullable<z.ZodString>;
|
|
26214
|
+
next: z.ZodNullable<z.ZodString>;
|
|
26215
|
+
}, z.core.$strip>;
|
|
26216
|
+
data: z.ZodArray<z.ZodObject<{
|
|
26217
|
+
id: z.ZodString;
|
|
26218
|
+
project_id: z.ZodString;
|
|
26219
|
+
name: z.ZodString;
|
|
26220
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
26221
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26222
|
+
created_by_user_id: z.ZodString;
|
|
26223
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
26224
|
+
filename: z.ZodString;
|
|
26225
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
26226
|
+
byte_size: z.ZodInt;
|
|
26227
|
+
url: z.ZodString;
|
|
26228
|
+
}, z.core.$strip>>;
|
|
26229
|
+
created_at: z.ZodISODateTime;
|
|
26230
|
+
updated_at: z.ZodISODateTime;
|
|
26231
|
+
}, z.core.$strip>>;
|
|
26232
|
+
}, z.core.$strip>;
|
|
26233
|
+
export declare const zCreateProjectDocumentBody: z.ZodObject<{
|
|
26234
|
+
file: z.ZodString;
|
|
26235
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26236
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26237
|
+
performed_by_user_id: z.ZodString;
|
|
26238
|
+
}, z.core.$strip>;
|
|
26239
|
+
export declare const zCreateProjectDocumentPath: z.ZodObject<{
|
|
26240
|
+
project_id: z.ZodString;
|
|
26241
|
+
}, z.core.$strip>;
|
|
26242
|
+
/**
|
|
26243
|
+
* Created
|
|
26244
|
+
*/
|
|
26245
|
+
export declare const zCreateProjectDocumentResponse: z.ZodObject<{
|
|
26246
|
+
id: z.ZodString;
|
|
26247
|
+
project_id: z.ZodString;
|
|
26248
|
+
name: z.ZodString;
|
|
26249
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
26250
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26251
|
+
created_by_user_id: z.ZodString;
|
|
26252
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
26253
|
+
filename: z.ZodString;
|
|
26254
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
26255
|
+
byte_size: z.ZodInt;
|
|
26256
|
+
url: z.ZodString;
|
|
26257
|
+
}, z.core.$strip>>;
|
|
26258
|
+
created_at: z.ZodISODateTime;
|
|
26259
|
+
updated_at: z.ZodISODateTime;
|
|
26260
|
+
}, z.core.$strip>;
|
|
26261
|
+
export declare const zDeleteProjectDocumentPath: z.ZodObject<{
|
|
26262
|
+
project_id: z.ZodString;
|
|
26263
|
+
id: z.ZodString;
|
|
26264
|
+
}, z.core.$strip>;
|
|
26265
|
+
/**
|
|
26266
|
+
* No Content
|
|
26267
|
+
*/
|
|
26268
|
+
export declare const zDeleteProjectDocumentResponse: z.ZodVoid;
|
|
26269
|
+
export declare const zGetProjectDocumentPath: z.ZodObject<{
|
|
26270
|
+
project_id: z.ZodString;
|
|
26271
|
+
id: z.ZodString;
|
|
26272
|
+
}, z.core.$strip>;
|
|
26273
|
+
/**
|
|
26274
|
+
* Success
|
|
26275
|
+
*/
|
|
26276
|
+
export declare const zGetProjectDocumentResponse: z.ZodObject<{
|
|
26277
|
+
id: z.ZodString;
|
|
26278
|
+
project_id: z.ZodString;
|
|
26279
|
+
name: z.ZodString;
|
|
26280
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
26281
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26282
|
+
created_by_user_id: z.ZodString;
|
|
26283
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
26284
|
+
filename: z.ZodString;
|
|
26285
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
26286
|
+
byte_size: z.ZodInt;
|
|
26287
|
+
url: z.ZodString;
|
|
26288
|
+
}, z.core.$strip>>;
|
|
26289
|
+
created_at: z.ZodISODateTime;
|
|
26290
|
+
updated_at: z.ZodISODateTime;
|
|
26291
|
+
}, z.core.$strip>;
|
|
26292
|
+
export declare const zUpdateProjectDocumentBody: z.ZodObject<{
|
|
26293
|
+
file: z.ZodOptional<z.ZodString>;
|
|
26294
|
+
filename: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26295
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26296
|
+
}, z.core.$strip>;
|
|
26297
|
+
export declare const zUpdateProjectDocumentPath: z.ZodObject<{
|
|
26298
|
+
project_id: z.ZodString;
|
|
26299
|
+
id: z.ZodString;
|
|
26300
|
+
}, z.core.$strip>;
|
|
26301
|
+
/**
|
|
26302
|
+
* Success
|
|
26303
|
+
*/
|
|
26304
|
+
export declare const zUpdateProjectDocumentResponse: z.ZodObject<{
|
|
26305
|
+
id: z.ZodString;
|
|
26306
|
+
project_id: z.ZodString;
|
|
26307
|
+
name: z.ZodString;
|
|
26308
|
+
filename: z.ZodNullable<z.ZodString>;
|
|
26309
|
+
description: z.ZodNullable<z.ZodString>;
|
|
26310
|
+
created_by_user_id: z.ZodString;
|
|
26311
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
26312
|
+
filename: z.ZodString;
|
|
26313
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
26314
|
+
byte_size: z.ZodInt;
|
|
26315
|
+
url: z.ZodString;
|
|
26316
|
+
}, z.core.$strip>>;
|
|
26317
|
+
created_at: z.ZodISODateTime;
|
|
26318
|
+
updated_at: z.ZodISODateTime;
|
|
26319
|
+
}, z.core.$strip>;
|
|
26086
26320
|
export declare const zCreateProjectTradeBody: z.ZodObject<{
|
|
26087
26321
|
name: z.ZodString;
|
|
26088
26322
|
}, z.core.$strip>;
|
|
@@ -26811,11 +27045,11 @@ export declare const zScheduleProjectWageDeterminationChangeBody: z.ZodObject<{
|
|
|
26811
27045
|
}>>>;
|
|
26812
27046
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26813
27047
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
26814
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26815
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26816
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26817
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26818
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27048
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27049
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27050
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27051
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27052
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26819
27053
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26820
27054
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26821
27055
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27050,25 +27284,33 @@ export declare const zCreateProjectWageDeterminationBody: z.ZodDiscriminatedUnio
|
|
|
27050
27284
|
residential: "residential";
|
|
27051
27285
|
}>>>;
|
|
27052
27286
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27287
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27053
27288
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
|
|
27054
27289
|
}, z.core.$strip>, z.ZodObject<{
|
|
27055
27290
|
labor_classification: z.ZodString;
|
|
27056
27291
|
pwa_trade_id: z.ZodString;
|
|
27057
27292
|
hourly_rate_cents: z.ZodString;
|
|
27058
27293
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
27294
|
+
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27295
|
+
construction_category: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
27296
|
+
building: "building";
|
|
27297
|
+
heavy: "heavy";
|
|
27298
|
+
highway: "highway";
|
|
27299
|
+
residential: "residential";
|
|
27300
|
+
}>>>;
|
|
27059
27301
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27060
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27061
27302
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
27062
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27063
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27064
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27065
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27066
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27303
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27304
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27305
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27306
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27307
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27067
27308
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27068
27309
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27069
27310
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27070
27311
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27071
27312
|
}, z.core.$strip>>;
|
|
27313
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27072
27314
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
27073
27315
|
}, z.core.$strip>], "type">;
|
|
27074
27316
|
export declare const zCreateProjectWageDeterminationPath: z.ZodObject<{
|
|
@@ -27230,11 +27472,11 @@ export declare const zUpdateProjectWageDeterminationBody: z.ZodObject<{
|
|
|
27230
27472
|
}>>>;
|
|
27231
27473
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27232
27474
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
27233
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27234
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27235
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27236
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27237
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27475
|
+
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27476
|
+
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27477
|
+
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27478
|
+
training_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27479
|
+
other_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27238
27480
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27239
27481
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27240
27482
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27376,7 +27618,6 @@ export declare const zCreateProjectBody: z.ZodObject<{
|
|
|
27376
27618
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27377
27619
|
name: z.ZodString;
|
|
27378
27620
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27379
|
-
created_by_user_id: z.ZodString;
|
|
27380
27621
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27381
27622
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27382
27623
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -27400,10 +27641,11 @@ export declare const zCreateProjectBody: z.ZodObject<{
|
|
|
27400
27641
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27401
27642
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27402
27643
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27403
|
-
budget: z.ZodOptional<z.ZodString
|
|
27644
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27404
27645
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27405
27646
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27406
27647
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27648
|
+
created_by_user_id: z.ZodString;
|
|
27407
27649
|
}, z.core.$strip>;
|
|
27408
27650
|
/**
|
|
27409
27651
|
* Created
|
|
@@ -27517,7 +27759,7 @@ export declare const zUpdateProjectBody: z.ZodObject<{
|
|
|
27517
27759
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27518
27760
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27519
27761
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27520
|
-
budget: z.ZodOptional<z.ZodString
|
|
27762
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27521
27763
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27522
27764
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27523
27765
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -29259,19 +29501,18 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
29259
29501
|
}, z.core.$strip>>;
|
|
29260
29502
|
}, z.core.$strip>>;
|
|
29261
29503
|
}, z.core.$strip>;
|
|
29262
|
-
export declare const zCreateTimeEntryBody: z.
|
|
29263
|
-
|
|
29264
|
-
|
|
29504
|
+
export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
29505
|
+
timekeeping_time_card_id: z.ZodString;
|
|
29506
|
+
start_time: z.ZodString;
|
|
29507
|
+
end_time: z.ZodString;
|
|
29265
29508
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29266
29509
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29267
29510
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29268
29511
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29269
29512
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29270
|
-
feature_ids: z.ZodOptional<z.
|
|
29271
|
-
|
|
29272
|
-
|
|
29273
|
-
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29274
|
-
}, z.core.$strip>>;
|
|
29513
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29514
|
+
feature_allocation_acknowledged: z.ZodOptional<z.ZodBoolean>;
|
|
29515
|
+
}, z.core.$strip>;
|
|
29275
29516
|
/**
|
|
29276
29517
|
* Created
|
|
29277
29518
|
*/
|
|
@@ -29392,18 +29633,17 @@ export declare const zGetTimeEntryResponse: z.ZodObject<{
|
|
|
29392
29633
|
name: z.ZodString;
|
|
29393
29634
|
}, z.core.$strip>>;
|
|
29394
29635
|
}, z.core.$strip>;
|
|
29395
|
-
export declare const zUpdateTimeEntryBody: z.
|
|
29396
|
-
start_time: z.ZodOptional<z.
|
|
29397
|
-
end_time: z.ZodOptional<z.
|
|
29636
|
+
export declare const zUpdateTimeEntryBody: z.ZodObject<{
|
|
29637
|
+
start_time: z.ZodOptional<z.ZodString>;
|
|
29638
|
+
end_time: z.ZodOptional<z.ZodString>;
|
|
29398
29639
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29399
29640
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29400
29641
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29401
29642
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29402
29643
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29403
|
-
feature_ids: z.ZodOptional<z.
|
|
29404
|
-
|
|
29405
|
-
|
|
29406
|
-
}, z.core.$strip>>;
|
|
29644
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29645
|
+
confirm_allocation_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
29646
|
+
}, z.core.$strip>;
|
|
29407
29647
|
export declare const zUpdateTimeEntryPath: z.ZodObject<{
|
|
29408
29648
|
id: z.ZodString;
|
|
29409
29649
|
}, z.core.$strip>;
|
|
@@ -29446,7 +29686,7 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
|
29446
29686
|
}, z.core.$strip>>;
|
|
29447
29687
|
}, z.core.$strip>;
|
|
29448
29688
|
export declare const zShiftTimecodeGenesisBody: z.ZodObject<{
|
|
29449
|
-
effective_date: z.
|
|
29689
|
+
effective_date: z.ZodString;
|
|
29450
29690
|
}, z.core.$strip>;
|
|
29451
29691
|
export declare const zShiftTimecodeGenesisHeaders: z.ZodObject<{
|
|
29452
29692
|
'If-Match': z.ZodString;
|
|
@@ -29651,8 +29891,8 @@ export declare const zListTimecodeScheduledChangesResponse: z.ZodArray<z.ZodObje
|
|
|
29651
29891
|
updated_at: z.ZodISODateTime;
|
|
29652
29892
|
}, z.core.$strip>>;
|
|
29653
29893
|
export declare const zScheduleTimecodeChangeBody: z.ZodObject<{
|
|
29654
|
-
effective_date: z.
|
|
29655
|
-
name: z.ZodString
|
|
29894
|
+
effective_date: z.ZodString;
|
|
29895
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29656
29896
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29657
29897
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
29658
29898
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29856,6 +30096,7 @@ export declare const zListTimecodesResponse: z.ZodObject<{
|
|
|
29856
30096
|
}, z.core.$strip>>;
|
|
29857
30097
|
}, z.core.$strip>;
|
|
29858
30098
|
export declare const zCreateTimecodeBody: z.ZodObject<{
|
|
30099
|
+
effective_date: z.ZodOptional<z.ZodString>;
|
|
29859
30100
|
name: z.ZodString;
|
|
29860
30101
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29861
30102
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29876,7 +30117,6 @@ export declare const zCreateTimecodeBody: z.ZodObject<{
|
|
|
29876
30117
|
non_job: "non_job";
|
|
29877
30118
|
job_with_timecode: "job_with_timecode";
|
|
29878
30119
|
}>>;
|
|
29879
|
-
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
29880
30120
|
}, z.core.$strip>;
|
|
29881
30121
|
/**
|
|
29882
30122
|
* Created with effective_date
|
|
@@ -29952,8 +30192,8 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
|
|
|
29952
30192
|
updated_at: z.ZodISODateTime;
|
|
29953
30193
|
}, z.core.$strip>;
|
|
29954
30194
|
export declare const zUpdateTimecodeBody: z.ZodObject<{
|
|
29955
|
-
effective_from: z.ZodOptional<z.
|
|
29956
|
-
effective_to: z.ZodOptional<z.
|
|
30195
|
+
effective_from: z.ZodOptional<z.ZodString>;
|
|
30196
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
29957
30197
|
name: z.ZodOptional<z.ZodString>;
|
|
29958
30198
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29959
30199
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -31755,18 +31995,18 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
31755
31995
|
}, z.core.$strip>;
|
|
31756
31996
|
export declare const zCreateCompanyBody: z.ZodObject<{
|
|
31757
31997
|
hire_date: z.ZodString;
|
|
31758
|
-
type: z.ZodOptional<z.
|
|
31998
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
31759
31999
|
EMPLOYEE: "EMPLOYEE";
|
|
31760
32000
|
CONTRACTOR: "CONTRACTOR";
|
|
31761
|
-
}
|
|
32001
|
+
}>>;
|
|
31762
32002
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31763
32003
|
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32004
|
+
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32005
|
+
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
31764
32006
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
31765
32007
|
hourly: "hourly";
|
|
31766
32008
|
salary: "salary";
|
|
31767
32009
|
}>>;
|
|
31768
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
31769
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31770
32010
|
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31771
32011
|
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
31772
32012
|
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -31919,7 +32159,7 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
31919
32159
|
}, z.core.$strip>;
|
|
31920
32160
|
export declare const zRemoveUserFromCompanyPath: z.ZodObject<{
|
|
31921
32161
|
user_id: z.ZodString;
|
|
31922
|
-
|
|
32162
|
+
id: z.ZodString;
|
|
31923
32163
|
}, z.core.$strip>;
|
|
31924
32164
|
/**
|
|
31925
32165
|
* Success
|
|
@@ -32058,15 +32298,15 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
32058
32298
|
* Update a user
|
|
32059
32299
|
*/
|
|
32060
32300
|
export declare const zUpdateCompanyBody: z.ZodObject<{
|
|
32061
|
-
type: z.ZodOptional<z.
|
|
32301
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
32062
32302
|
EMPLOYEE: "EMPLOYEE";
|
|
32063
32303
|
CONTRACTOR: "CONTRACTOR";
|
|
32064
|
-
}
|
|
32304
|
+
}>>;
|
|
32065
32305
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32066
32306
|
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32067
32307
|
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32068
|
-
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32069
32308
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
32309
|
+
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32070
32310
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32071
32311
|
custom_field_config_id: z.ZodString;
|
|
32072
32312
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -32074,7 +32314,7 @@ export declare const zUpdateCompanyBody: z.ZodObject<{
|
|
|
32074
32314
|
}, z.core.$strip>;
|
|
32075
32315
|
export declare const zUpdateCompanyPath: z.ZodObject<{
|
|
32076
32316
|
user_id: z.ZodString;
|
|
32077
|
-
|
|
32317
|
+
id: z.ZodString;
|
|
32078
32318
|
}, z.core.$strip>;
|
|
32079
32319
|
/**
|
|
32080
32320
|
* Success
|
|
@@ -32433,7 +32673,7 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
32433
32673
|
holiday_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
32434
32674
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
32435
32675
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
32436
|
-
group_ids: z.ZodOptional<z.
|
|
32676
|
+
group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32437
32677
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32438
32678
|
custom_field_config_id: z.ZodString;
|
|
32439
32679
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -32810,7 +33050,7 @@ export declare const zUpdateUserBody: z.ZodObject<{
|
|
|
32810
33050
|
preferred_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32811
33051
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32812
33052
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32813
|
-
birth_date: z.ZodOptional<z.ZodNullable<z.
|
|
33053
|
+
birth_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
32814
33054
|
dol_apprentice_no: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32815
33055
|
avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32816
33056
|
}, z.core.$strip>;
|