@dsptch-work/api-client 0.34.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 +254 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +103 -9
- package/dist/gen/sdk.gen.js +154 -10
- package/dist/gen/types.gen.d.ts +1182 -455
- package/dist/gen/zod.gen.d.ts +1020 -648
- package/dist/gen/zod.gen.js +640 -413
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -309,7 +309,7 @@ export declare const zProblem: z.ZodObject<{
|
|
|
309
309
|
*
|
|
310
310
|
* **Foreign Subtype Attributes**
|
|
311
311
|
*
|
|
312
|
-
* A
|
|
312
|
+
* A write carries keys the record's resolved subtype does not accept, whether nested or beside the record's own fields (a serial item's fields sent for a bulk item). Send only the keys valid for that subtype; the message names the offending ones, and each one's entry in `errors` points at it. Nothing is written.
|
|
313
313
|
*
|
|
314
314
|
* ### synced_determination
|
|
315
315
|
*
|
|
@@ -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<{
|
|
@@ -603,6 +604,16 @@ export declare const zCompetencyCriterionResponseObject: z.ZodObject<{
|
|
|
603
604
|
number: z.ZodNullable<z.ZodString>;
|
|
604
605
|
body: z.ZodNullable<z.ZodString>;
|
|
605
606
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
607
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
608
|
+
direct_observation: "direct_observation";
|
|
609
|
+
simulation: "simulation";
|
|
610
|
+
oral_questioning: "oral_questioning";
|
|
611
|
+
written_questioning: "written_questioning";
|
|
612
|
+
products_of_work: "products_of_work";
|
|
613
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
614
|
+
witness_testimony: "witness_testimony";
|
|
615
|
+
other: "other";
|
|
616
|
+
}>>;
|
|
606
617
|
created_at: z.ZodISODateTime;
|
|
607
618
|
updated_at: z.ZodISODateTime;
|
|
608
619
|
}, z.core.$strip>;
|
|
@@ -613,6 +624,16 @@ export declare const zCompetencyCriterionParameters: z.ZodObject<{
|
|
|
613
624
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
614
625
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
615
626
|
evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
|
+
assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
628
|
+
direct_observation: "direct_observation";
|
|
629
|
+
simulation: "simulation";
|
|
630
|
+
oral_questioning: "oral_questioning";
|
|
631
|
+
written_questioning: "written_questioning";
|
|
632
|
+
products_of_work: "products_of_work";
|
|
633
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
634
|
+
witness_testimony: "witness_testimony";
|
|
635
|
+
other: "other";
|
|
636
|
+
}>>>;
|
|
616
637
|
}, z.core.$strip>;
|
|
617
638
|
/**
|
|
618
639
|
* Swap a draft catalog row with its neighbor. The row cannot move past either end of the list.
|
|
@@ -1042,7 +1063,7 @@ export declare const zApprenticeshipProgramEmployerUpdateParameters: z.ZodObject
|
|
|
1042
1063
|
require_timecard_allocation: z.ZodOptional<z.ZodBoolean>;
|
|
1043
1064
|
}, z.core.$strip>;
|
|
1044
1065
|
/**
|
|
1045
|
-
* 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.
|
|
1046
1067
|
*/
|
|
1047
1068
|
export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
1048
1069
|
period_number: z.ZodInt;
|
|
@@ -1056,7 +1077,7 @@ export declare const zApprenticeshipWageSchedulePeriodParameters: z.ZodObject<{
|
|
|
1056
1077
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1057
1078
|
}, z.core.$strip>;
|
|
1058
1079
|
/**
|
|
1059
|
-
* 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.
|
|
1060
1081
|
*/
|
|
1061
1082
|
export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObject<{
|
|
1062
1083
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
@@ -1070,7 +1091,7 @@ export declare const zApprenticeshipWageSchedulePeriodUpdateParameters: z.ZodObj
|
|
|
1070
1091
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1071
1092
|
}, z.core.$strip>;
|
|
1072
1093
|
/**
|
|
1073
|
-
* 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.
|
|
1074
1095
|
*/
|
|
1075
1096
|
export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
1076
1097
|
name: z.ZodString;
|
|
@@ -1104,20 +1125,20 @@ export declare const zApprenticeshipWageScheduleParameters: z.ZodObject<{
|
|
|
1104
1125
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1105
1126
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1106
1127
|
id: z.ZodOptional<z.ZodString>;
|
|
1107
|
-
period_number: z.ZodInt
|
|
1128
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
1108
1129
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1109
1130
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1110
1131
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1111
1132
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1112
|
-
wage_percent: z.ZodNumber
|
|
1113
|
-
wage_cents: z.ZodInt
|
|
1133
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
1134
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1114
1135
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1115
1136
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1116
1137
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1117
1138
|
}, z.core.$strip>>>;
|
|
1118
1139
|
}, z.core.$strip>;
|
|
1119
1140
|
/**
|
|
1120
|
-
* 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.
|
|
1121
1142
|
*/
|
|
1122
1143
|
export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
1123
1144
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1149,15 +1170,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
1149
1170
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1150
1171
|
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1151
1172
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
1152
|
-
periods_attributes: z.ZodOptional<z.ZodArray<z.
|
|
1153
|
-
min_minutes: z.ZodInt;
|
|
1154
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1155
|
-
max_minutes: z.ZodInt;
|
|
1156
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
1157
|
-
num_competencies: z.ZodInt;
|
|
1158
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
1159
|
-
_destroy: z.ZodLiteral<true>;
|
|
1160
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
1173
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1161
1174
|
id: z.ZodOptional<z.ZodString>;
|
|
1162
1175
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
1163
1176
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -1169,7 +1182,7 @@ export declare const zApprenticeshipWageScheduleUpdateParameters: z.ZodObject<{
|
|
|
1169
1182
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1170
1183
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1171
1184
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1172
|
-
}, z.core.$strip
|
|
1185
|
+
}, z.core.$strip>>>;
|
|
1173
1186
|
}, z.core.$strip>;
|
|
1174
1187
|
/**
|
|
1175
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.
|
|
@@ -1555,6 +1568,7 @@ export declare const zTimecodeHistoryVersionObject: z.ZodObject<{
|
|
|
1555
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.
|
|
1556
1569
|
*/
|
|
1557
1570
|
export declare const zTimecodeParameters: z.ZodObject<{
|
|
1571
|
+
effective_date: z.ZodOptional<z.ZodString>;
|
|
1558
1572
|
name: z.ZodString;
|
|
1559
1573
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1560
1574
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1575,14 +1589,13 @@ export declare const zTimecodeParameters: z.ZodObject<{
|
|
|
1575
1589
|
non_job: "non_job";
|
|
1576
1590
|
job_with_timecode: "job_with_timecode";
|
|
1577
1591
|
}>>;
|
|
1578
|
-
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
1579
1592
|
}, z.core.$strip>;
|
|
1580
1593
|
/**
|
|
1581
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.
|
|
1582
1595
|
*/
|
|
1583
1596
|
export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
1584
|
-
effective_from: z.ZodOptional<z.
|
|
1585
|
-
effective_to: z.ZodOptional<z.
|
|
1597
|
+
effective_from: z.ZodOptional<z.ZodString>;
|
|
1598
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
1586
1599
|
name: z.ZodOptional<z.ZodString>;
|
|
1587
1600
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1588
1601
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1608,7 +1621,7 @@ export declare const zTimecodeCorrectionParameters: z.ZodObject<{
|
|
|
1608
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.
|
|
1609
1622
|
*/
|
|
1610
1623
|
export declare const zTimecodeGenesisParameters: z.ZodObject<{
|
|
1611
|
-
effective_date: z.
|
|
1624
|
+
effective_date: z.ZodString;
|
|
1612
1625
|
}, z.core.$strip>;
|
|
1613
1626
|
/**
|
|
1614
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`.
|
|
@@ -1617,11 +1630,11 @@ export declare const zTimecodeScheduledTerminationParameters: z.ZodObject<{
|
|
|
1617
1630
|
effective_date: z.ZodISODateTime;
|
|
1618
1631
|
}, z.core.$strip>;
|
|
1619
1632
|
/**
|
|
1620
|
-
* 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.
|
|
1621
1634
|
*/
|
|
1622
1635
|
export declare const zTimecodeScheduledChangeParameters: z.ZodObject<{
|
|
1623
|
-
effective_date: z.
|
|
1624
|
-
name: z.ZodString
|
|
1636
|
+
effective_date: z.ZodString;
|
|
1637
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1625
1638
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1626
1639
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
1627
1640
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -1642,6 +1655,69 @@ export declare const zTimecodeScheduledChangeParameters: z.ZodObject<{
|
|
|
1642
1655
|
job_with_timecode: "job_with_timecode";
|
|
1643
1656
|
}>>;
|
|
1644
1657
|
}, z.core.$strip>;
|
|
1658
|
+
/**
|
|
1659
|
+
* Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
|
|
1660
|
+
*/
|
|
1661
|
+
export declare const zAssetsProductParameters: z.ZodObject<{
|
|
1662
|
+
name: z.ZodString;
|
|
1663
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1664
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1665
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1666
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1667
|
+
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1668
|
+
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1669
|
+
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
1670
|
+
each: "each";
|
|
1671
|
+
pair: "pair";
|
|
1672
|
+
pack: "pack";
|
|
1673
|
+
}>>;
|
|
1674
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1675
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
1676
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1677
|
+
assets_attribute_id: z.ZodString;
|
|
1678
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1679
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1680
|
+
}, z.core.$strip>>>;
|
|
1681
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1682
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1683
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1684
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1685
|
+
}, z.core.$strip>>>;
|
|
1686
|
+
type: z.ZodEnum<{
|
|
1687
|
+
serial: "serial";
|
|
1688
|
+
bulk: "bulk";
|
|
1689
|
+
}>;
|
|
1690
|
+
performed_by_user_id: z.ZodString;
|
|
1691
|
+
}, z.core.$strip>;
|
|
1692
|
+
/**
|
|
1693
|
+
* Update a catalog product. All fields are optional — send only what changes. `type` is immutable and `performed_by_user_id` is create-only, so neither is accepted here. `attribute_values` upserts the product's category-attribute values.
|
|
1694
|
+
*/
|
|
1695
|
+
export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
1696
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1697
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1698
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1699
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1700
|
+
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1701
|
+
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1702
|
+
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1703
|
+
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
1704
|
+
each: "each";
|
|
1705
|
+
pair: "pair";
|
|
1706
|
+
pack: "pack";
|
|
1707
|
+
}>>;
|
|
1708
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1709
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
1710
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1711
|
+
assets_attribute_id: z.ZodString;
|
|
1712
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1713
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1714
|
+
}, z.core.$strip>>>;
|
|
1715
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1716
|
+
id: z.ZodOptional<z.ZodString>;
|
|
1717
|
+
file: z.ZodOptional<z.ZodString>;
|
|
1718
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1719
|
+
}, z.core.$strip>>>;
|
|
1720
|
+
}, z.core.$strip>;
|
|
1645
1721
|
/**
|
|
1646
1722
|
* A named daily allowance (meals, lodging, travel, and the like) that a company can attach to time.
|
|
1647
1723
|
*/
|
|
@@ -1718,7 +1794,7 @@ export declare const zAssetsAttributeResponseObject: z.ZodObject<{
|
|
|
1718
1794
|
updated_at: z.ZodISODateTime;
|
|
1719
1795
|
}, z.core.$strip>;
|
|
1720
1796
|
/**
|
|
1721
|
-
* 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.
|
|
1722
1798
|
*/
|
|
1723
1799
|
export declare const zAssetsAttributeParameters: z.ZodObject<{
|
|
1724
1800
|
name: z.ZodString;
|
|
@@ -1737,7 +1813,7 @@ export declare const zAssetsAttributeParameters: z.ZodObject<{
|
|
|
1737
1813
|
}, z.core.$strip>>>;
|
|
1738
1814
|
}, z.core.$strip>;
|
|
1739
1815
|
/**
|
|
1740
|
-
* 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.
|
|
1741
1817
|
*/
|
|
1742
1818
|
export declare const zAssetsAttributeUpdateParameters: z.ZodObject<{
|
|
1743
1819
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -1778,36 +1854,36 @@ export declare const zAssetsCategoryResponseObject: z.ZodObject<{
|
|
|
1778
1854
|
updated_at: z.ZodISODateTime;
|
|
1779
1855
|
}, z.core.$strip>;
|
|
1780
1856
|
/**
|
|
1781
|
-
* Create
|
|
1857
|
+
* Create a category. Only name is required; omitting it answers 400, and a blank or null name or any wrong-typed value answers 422. A null or blank parent_id files the category at the root. `category_attributes` sets this category's direct attribute assignments.
|
|
1782
1858
|
*/
|
|
1783
1859
|
export declare const zAssetsCategoryParameters: z.ZodObject<{
|
|
1784
1860
|
name: z.ZodString;
|
|
1785
1861
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1786
1862
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1787
1863
|
id: z.ZodOptional<z.ZodString>;
|
|
1788
|
-
assets_attribute_id: z.ZodString
|
|
1789
|
-
fillable_on: z.ZodEnum<{
|
|
1864
|
+
assets_attribute_id: z.ZodOptional<z.ZodString>;
|
|
1865
|
+
fillable_on: z.ZodOptional<z.ZodEnum<{
|
|
1790
1866
|
product: "product";
|
|
1791
1867
|
item: "item";
|
|
1792
|
-
}
|
|
1868
|
+
}>>;
|
|
1793
1869
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1794
1870
|
position: z.ZodOptional<z.ZodInt>;
|
|
1795
1871
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
1796
1872
|
}, z.core.$strip>>>;
|
|
1797
1873
|
}, z.core.$strip>;
|
|
1798
1874
|
/**
|
|
1799
|
-
* Update a category. All fields are optional — send only what changes. `category_attributes` sets this category's direct attribute assignments.
|
|
1875
|
+
* Update a category. All fields are optional — send only what changes. A blank or null name or any wrong-typed value answers 422, and a null or blank parent_id moves the category to the root. `category_attributes` sets this category's direct attribute assignments.
|
|
1800
1876
|
*/
|
|
1801
1877
|
export declare const zAssetsCategoryUpdateParameters: z.ZodObject<{
|
|
1802
1878
|
name: z.ZodOptional<z.ZodString>;
|
|
1803
1879
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1804
1880
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1805
1881
|
id: z.ZodOptional<z.ZodString>;
|
|
1806
|
-
assets_attribute_id: z.ZodString
|
|
1807
|
-
fillable_on: z.ZodEnum<{
|
|
1882
|
+
assets_attribute_id: z.ZodOptional<z.ZodString>;
|
|
1883
|
+
fillable_on: z.ZodOptional<z.ZodEnum<{
|
|
1808
1884
|
product: "product";
|
|
1809
1885
|
item: "item";
|
|
1810
|
-
}
|
|
1886
|
+
}>>;
|
|
1811
1887
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
1812
1888
|
position: z.ZodOptional<z.ZodInt>;
|
|
1813
1889
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -2555,7 +2631,7 @@ export declare const zGroupUpdateParameters: z.ZodObject<{
|
|
|
2555
2631
|
name: z.ZodOptional<z.ZodString>;
|
|
2556
2632
|
}, z.core.$strip>;
|
|
2557
2633
|
/**
|
|
2558
|
-
* 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.
|
|
2559
2635
|
*/
|
|
2560
2636
|
export declare const zUserUpdateParameters: z.ZodObject<{
|
|
2561
2637
|
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2567,7 +2643,7 @@ export declare const zUserUpdateParameters: z.ZodObject<{
|
|
|
2567
2643
|
preferred_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2568
2644
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2569
2645
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2570
|
-
birth_date: z.ZodOptional<z.ZodNullable<z.
|
|
2646
|
+
birth_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2571
2647
|
dol_apprentice_no: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2572
2648
|
avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2573
2649
|
}, z.core.$strip>;
|
|
@@ -2636,49 +2712,34 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
|
|
|
2636
2712
|
approver_user_id: z.ZodString;
|
|
2637
2713
|
}, z.core.$strip>;
|
|
2638
2714
|
/**
|
|
2639
|
-
*
|
|
2715
|
+
* Request body for creating a time entry. timekeeping_time_card_id, start_time, and end_time are required, and omitting one answers 400.
|
|
2640
2716
|
*/
|
|
2641
|
-
export declare const
|
|
2642
|
-
|
|
2643
|
-
|
|
2717
|
+
export declare const zTimeEntryCreateParameters: z.ZodObject<{
|
|
2718
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2719
|
+
start_time: z.ZodString;
|
|
2720
|
+
end_time: z.ZodString;
|
|
2644
2721
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2645
2722
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2646
2723
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2647
2724
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2648
2725
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2649
|
-
feature_ids: z.ZodOptional<z.
|
|
2726
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2727
|
+
feature_allocation_acknowledged: z.ZodOptional<z.ZodBoolean>;
|
|
2650
2728
|
}, z.core.$strip>;
|
|
2651
2729
|
/**
|
|
2652
|
-
* Request body for
|
|
2653
|
-
*/
|
|
2654
|
-
export declare const zTimeEntryCreateParameters: z.ZodIntersection<z.ZodObject<{
|
|
2655
|
-
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2656
|
-
end_time: z.ZodOptional<z.ZodISODateTime>;
|
|
2657
|
-
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2658
|
-
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2659
|
-
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2660
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2661
|
-
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2662
|
-
feature_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
2663
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
2664
|
-
timekeeping_time_card_id: z.ZodString;
|
|
2665
|
-
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2666
|
-
}, z.core.$strip>>;
|
|
2667
|
-
/**
|
|
2668
|
-
* 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.
|
|
2669
2731
|
*/
|
|
2670
|
-
export declare const zTimeEntryUpdateParameters: z.
|
|
2671
|
-
start_time: z.ZodOptional<z.
|
|
2672
|
-
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>;
|
|
2673
2735
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2674
2736
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2675
2737
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2676
2738
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2677
2739
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2678
|
-
feature_ids: z.ZodOptional<z.
|
|
2679
|
-
|
|
2680
|
-
|
|
2681
|
-
}, z.core.$strip>>;
|
|
2740
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2741
|
+
confirm_allocation_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
2742
|
+
}, z.core.$strip>;
|
|
2682
2743
|
/**
|
|
2683
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.
|
|
2684
2745
|
*/
|
|
@@ -2716,6 +2777,55 @@ export declare const zFormSubmissionResponseObject: z.ZodObject<{
|
|
|
2716
2777
|
created_at: z.ZodISODateTime;
|
|
2717
2778
|
updated_at: z.ZodISODateTime;
|
|
2718
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>;
|
|
2719
2829
|
/**
|
|
2720
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.
|
|
2721
2831
|
*/
|
|
@@ -3271,6 +3381,20 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
3271
3381
|
export declare const zUserCompanyScheduledTerminationParameters: z.ZodObject<{
|
|
3272
3382
|
termination_date: z.ZodISODate;
|
|
3273
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>;
|
|
3274
3398
|
/**
|
|
3275
3399
|
* One problem found while processing an accepted import, whatever its type.
|
|
3276
3400
|
*/
|
|
@@ -4031,13 +4155,12 @@ export declare const zProjectResponseObject: z.ZodObject<{
|
|
|
4031
4155
|
updated_at: z.ZodISODateTime;
|
|
4032
4156
|
}, z.core.$strip>;
|
|
4033
4157
|
/**
|
|
4034
|
-
* 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.
|
|
4035
4159
|
*/
|
|
4036
4160
|
export declare const zProjectParameters: z.ZodObject<{
|
|
4037
4161
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4038
4162
|
name: z.ZodString;
|
|
4039
4163
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4040
|
-
created_by_user_id: z.ZodString;
|
|
4041
4164
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4042
4165
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4043
4166
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -4061,13 +4184,14 @@ export declare const zProjectParameters: z.ZodObject<{
|
|
|
4061
4184
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4062
4185
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4063
4186
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4064
|
-
budget: z.ZodOptional<z.ZodString
|
|
4187
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4065
4188
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4066
4189
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4067
4190
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4191
|
+
created_by_user_id: z.ZodString;
|
|
4068
4192
|
}, z.core.$strip>;
|
|
4069
4193
|
/**
|
|
4070
|
-
* 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.
|
|
4071
4195
|
*/
|
|
4072
4196
|
export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
4073
4197
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4096,7 +4220,7 @@ export declare const zProjectUpdateParameters: z.ZodObject<{
|
|
|
4096
4220
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4097
4221
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4098
4222
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4099
|
-
budget: z.ZodOptional<z.ZodString
|
|
4223
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4100
4224
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4101
4225
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
4102
4226
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -4122,6 +4246,56 @@ export declare const zProjectSiteParameters: z.ZodObject<{
|
|
|
4122
4246
|
export declare const zProjectSiteUpdateParameters: z.ZodObject<{
|
|
4123
4247
|
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4124
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>;
|
|
4125
4299
|
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
4126
4300
|
id: z.ZodString;
|
|
4127
4301
|
site_id: z.ZodString;
|
|
@@ -4467,14 +4641,14 @@ export declare const zComplianceCheckDetailResponseObject: z.ZodObject<{
|
|
|
4467
4641
|
}, z.core.$strip>>;
|
|
4468
4642
|
}, z.core.$strip>;
|
|
4469
4643
|
/**
|
|
4470
|
-
* 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.
|
|
4471
4645
|
*/
|
|
4472
4646
|
export declare const zComplianceCheckParameters: z.ZodObject<{
|
|
4473
4647
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4474
4648
|
pending: "pending";
|
|
4475
4649
|
dismissed: "dismissed";
|
|
4476
4650
|
}>>;
|
|
4477
|
-
time_due: z.ZodOptional<z.ZodNullable<z.
|
|
4651
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4478
4652
|
assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4479
4653
|
file_signed_id: z.ZodOptional<z.ZodString>;
|
|
4480
4654
|
}, z.core.$strip>;
|
|
@@ -5580,80 +5754,32 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
|
|
|
5580
5754
|
updated_at: z.ZodISODateTime;
|
|
5581
5755
|
}, z.core.$strip>;
|
|
5582
5756
|
/**
|
|
5583
|
-
*
|
|
5584
|
-
*/
|
|
5585
|
-
export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
|
|
5586
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5587
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5588
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5589
|
-
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5590
|
-
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5591
|
-
}, z.core.$strip>>;
|
|
5592
|
-
}, z.core.$strip>;
|
|
5593
|
-
/**
|
|
5594
|
-
* Fields shared by both completion payload kinds.
|
|
5595
|
-
*/
|
|
5596
|
-
export declare const zProductionCompletionBaseParameters: z.ZodObject<{
|
|
5597
|
-
production_job_scope_price_id: z.ZodString;
|
|
5598
|
-
performed_by_user_id: z.ZodString;
|
|
5599
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5600
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5601
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5602
|
-
}, z.core.$strip>;
|
|
5603
|
-
/**
|
|
5604
|
-
* Payload for completions on feature-tracked jobs (the scope price's job tracks production by feature). quantity_completed is not accepted; the feature reference is immutable after create, so update accepts no completable_attributes at all.
|
|
5757
|
+
* Record a completion against a scope price. The server takes the completable subtype from the production tracking kind of the scope price's job, never from the request: a feature-tracked job records which feature was completed, and a quantity-tracked job how many units were completed. completable_attributes declares both kinds' keys; sending the other kind's key answers 422 subtype_foreign_keys with an entry pointing at it, and nothing is written.
|
|
5605
5758
|
*/
|
|
5606
|
-
export declare const
|
|
5759
|
+
export declare const zProductionCompletionParameters: z.ZodObject<{
|
|
5607
5760
|
production_job_scope_price_id: z.ZodString;
|
|
5608
5761
|
performed_by_user_id: z.ZodString;
|
|
5609
5762
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5610
5763
|
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5611
5764
|
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5612
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5613
5765
|
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5614
5766
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
5767
|
+
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5615
5768
|
}, z.core.$strip>>;
|
|
5616
|
-
}, z.core.$strip
|
|
5769
|
+
}, z.core.$strip>;
|
|
5617
5770
|
/**
|
|
5618
|
-
*
|
|
5771
|
+
* Update a completion. Send only the fields to change. The scope price, filer, and feature reference are fixed at creation. Sending production_job_scope_price_id or performed_by_user_id on update returns 400 unknown_key. Feature completions accept no completable changes, so quantity_completed on one answers 422 subtype_foreign_keys with an entry pointing at it; quantity completions accept quantity_completed.
|
|
5619
5772
|
*/
|
|
5620
|
-
export declare const
|
|
5621
|
-
production_job_scope_price_id: z.ZodString;
|
|
5622
|
-
performed_by_user_id: z.ZodString;
|
|
5773
|
+
export declare const zProductionCompletionUpdateParameters: z.ZodObject<{
|
|
5623
5774
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5624
5775
|
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5625
5776
|
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5626
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5627
5777
|
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5628
5778
|
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5629
5779
|
}, z.core.$strip>>;
|
|
5630
|
-
}, z.core.$strip
|
|
5780
|
+
}, z.core.$strip>;
|
|
5631
5781
|
/**
|
|
5632
|
-
* A completion
|
|
5633
|
-
*/
|
|
5634
|
-
export declare const zProductionCompletionParameters: z.ZodUnion<readonly [z.ZodIntersection<z.ZodObject<{
|
|
5635
|
-
production_job_scope_price_id: z.ZodString;
|
|
5636
|
-
performed_by_user_id: z.ZodString;
|
|
5637
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5638
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5639
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5640
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5641
|
-
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5642
|
-
feature_id: z.ZodOptional<z.ZodString>;
|
|
5643
|
-
}, z.core.$strip>>;
|
|
5644
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
5645
|
-
production_job_scope_price_id: z.ZodString;
|
|
5646
|
-
performed_by_user_id: z.ZodString;
|
|
5647
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5648
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
5649
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5650
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
5651
|
-
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
5652
|
-
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
5653
|
-
}, z.core.$strip>>;
|
|
5654
|
-
}, z.core.$strip>>]>;
|
|
5655
|
-
/**
|
|
5656
|
-
* A completion recorded on a feature-tracked job — a unit of scoped work finished by a crew, identifying which feature was completed.
|
|
5782
|
+
* A completion recorded on a feature-tracked job — a unit of scoped work finished by a crew, identifying which feature was completed.
|
|
5657
5783
|
*/
|
|
5658
5784
|
export declare const zProductionFeatureCompletionResponseObject: z.ZodObject<{
|
|
5659
5785
|
id: z.ZodString;
|
|
@@ -5755,7 +5881,7 @@ export declare const zFormAssignmentTaskResponseObject: z.ZodArray<z.ZodObject<{
|
|
|
5755
5881
|
}, z.core.$strip>>;
|
|
5756
5882
|
}, z.core.$strip>>;
|
|
5757
5883
|
/**
|
|
5758
|
-
* 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.
|
|
5759
5885
|
*/
|
|
5760
5886
|
export declare const zCertificationParameters: z.ZodObject<{
|
|
5761
5887
|
company_id: z.ZodString;
|
|
@@ -5765,7 +5891,7 @@ export declare const zCertificationParameters: z.ZodObject<{
|
|
|
5765
5891
|
duration: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5766
5892
|
}, z.core.$strip>;
|
|
5767
5893
|
/**
|
|
5768
|
-
* 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.
|
|
5769
5895
|
*/
|
|
5770
5896
|
export declare const zCertificationUpdateParameters: z.ZodObject<{
|
|
5771
5897
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -5849,7 +5975,7 @@ export declare const zUserCertificationUpdateParameters: z.ZodObject<{
|
|
|
5849
5975
|
archived_at: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5850
5976
|
}, z.core.$strip>;
|
|
5851
5977
|
/**
|
|
5852
|
-
* 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.
|
|
5853
5979
|
*/
|
|
5854
5980
|
export declare const zUserCertificationApprovalParameters: z.ZodObject<{
|
|
5855
5981
|
approved_by_user_id: z.ZodOptional<z.ZodString>;
|
|
@@ -6241,7 +6367,7 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
6241
6367
|
holiday_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
6242
6368
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
6243
6369
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
6244
|
-
group_ids: z.ZodOptional<z.
|
|
6370
|
+
group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6245
6371
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6246
6372
|
custom_field_config_id: z.ZodString;
|
|
6247
6373
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -6339,55 +6465,6 @@ export declare const zUserParameters: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
6339
6465
|
}>>>;
|
|
6340
6466
|
}, z.core.$strip>>>;
|
|
6341
6467
|
}, z.core.$strip>>;
|
|
6342
|
-
/**
|
|
6343
|
-
* 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.
|
|
6344
|
-
*/
|
|
6345
|
-
export declare const zUserCompanyParameters: z.ZodObject<{
|
|
6346
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6347
|
-
EMPLOYEE: "EMPLOYEE";
|
|
6348
|
-
CONTRACTOR: "CONTRACTOR";
|
|
6349
|
-
}>>>;
|
|
6350
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6351
|
-
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6352
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6353
|
-
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6354
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
6355
|
-
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6356
|
-
custom_field_config_id: z.ZodString;
|
|
6357
|
-
value: z.ZodNullable<z.ZodString>;
|
|
6358
|
-
}, z.core.$strip>>>;
|
|
6359
|
-
}, z.core.$strip>;
|
|
6360
|
-
/**
|
|
6361
|
-
* 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.
|
|
6362
|
-
*/
|
|
6363
|
-
export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
6364
|
-
hire_date: z.ZodString;
|
|
6365
|
-
type: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
6366
|
-
EMPLOYEE: "EMPLOYEE";
|
|
6367
|
-
CONTRACTOR: "CONTRACTOR";
|
|
6368
|
-
}>>>;
|
|
6369
|
-
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6370
|
-
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6371
|
-
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
6372
|
-
hourly: "hourly";
|
|
6373
|
-
salary: "salary";
|
|
6374
|
-
}>>;
|
|
6375
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
6376
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6377
|
-
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6378
|
-
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
6379
|
-
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6380
|
-
employer_combined_health_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6381
|
-
employer_combined_savings: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6382
|
-
worked_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6383
|
-
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6384
|
-
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6385
|
-
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6386
|
-
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6387
|
-
custom_field_config_id: z.ZodString;
|
|
6388
|
-
value: z.ZodNullable<z.ZodString>;
|
|
6389
|
-
}, z.core.$strip>>>;
|
|
6390
|
-
}, z.core.$strip>;
|
|
6391
6468
|
/**
|
|
6392
6469
|
* Keyset pagination cursors for the collection.
|
|
6393
6470
|
*/
|
|
@@ -7499,35 +7576,6 @@ export declare const zFederalJobWageDeterminationHistoryCorrectionObject: z.ZodO
|
|
|
7499
7576
|
created_at: z.ZodISODateTime;
|
|
7500
7577
|
updated_at: z.ZodISODateTime;
|
|
7501
7578
|
}, z.core.$strip>;
|
|
7502
|
-
/**
|
|
7503
|
-
* State-specific rate fields for a Regional determination, as decimal-string money in cents
|
|
7504
|
-
* (e.g. "538.0"). These nine properties are the whole write vocabulary, but which of them a
|
|
7505
|
-
* request may send is set by the job's region, not the request — sending a key the job's
|
|
7506
|
-
* region does not allow returns a 422:
|
|
7507
|
-
*
|
|
7508
|
-
* - Categorized-fringe regions (currently IL) accept `combined_health_fringe_rate_cents`,
|
|
7509
|
-
* `combined_savings_fringe_rate_cents`, `combined_holiday_pto_fringe_rate_cents`,
|
|
7510
|
-
* `training_fringe_rate_cents`, and `other_fringe_rate_cents`.
|
|
7511
|
-
* - Overtime-adder regions (currently IL and NY) accept `one_five_x_adder_rate_cents`,
|
|
7512
|
-
* `two_x_adder_rate_cents`, `one_five_x_fringe_adder_rate_cents`, and
|
|
7513
|
-
* `two_x_fringe_adder_rate_cents`.
|
|
7514
|
-
*
|
|
7515
|
-
* In a categorized-fringe region the five fringe keys are required, not merely accepted —
|
|
7516
|
-
* omitting any of them returns a 422. Categorized-fringe values are non-null when present;
|
|
7517
|
-
* overtime-adder values may be null.
|
|
7518
|
-
*
|
|
7519
|
-
*/
|
|
7520
|
-
export declare const zRegionalWageDeterminationFields: z.ZodObject<{
|
|
7521
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7522
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7523
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7524
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7525
|
-
other_fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
7526
|
-
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7527
|
-
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7528
|
-
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7529
|
-
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7530
|
-
}, z.core.$strip>;
|
|
7531
7579
|
/**
|
|
7532
7580
|
* State-specific rate fields recorded on a Regional determination, as decimal-string money in
|
|
7533
7581
|
* cents (e.g. "538.0"). Which keys appear is set by the job's region, so this object is always
|
|
@@ -7927,7 +7975,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
7927
7975
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
7928
7976
|
}, z.core.$strip>], "type">;
|
|
7929
7977
|
/**
|
|
7930
|
-
* 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.
|
|
7931
7979
|
*/
|
|
7932
7980
|
export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
7933
7981
|
type: z.ZodEnum<{
|
|
@@ -7945,6 +7993,7 @@ export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
7945
7993
|
residential: "residential";
|
|
7946
7994
|
}>>>;
|
|
7947
7995
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7996
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7948
7997
|
}, z.core.$strip>;
|
|
7949
7998
|
/**
|
|
7950
7999
|
* Parameters for creating a Regional (state prevailing-wage) wage determination on a job.
|
|
@@ -7957,19 +8006,26 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
7957
8006
|
pwa_trade_id: z.ZodString;
|
|
7958
8007
|
hourly_rate_cents: z.ZodString;
|
|
7959
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
|
+
}>>>;
|
|
7960
8016
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7961
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7962
8017
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
7963
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
7964
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
7965
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
7966
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
7967
|
-
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>>;
|
|
7968
8023
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7969
8024
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7970
8025
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7971
8026
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7972
8027
|
}, z.core.$strip>>;
|
|
8028
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7973
8029
|
}, z.core.$strip>;
|
|
7974
8030
|
/**
|
|
7975
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.
|
|
@@ -7987,25 +8043,33 @@ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z
|
|
|
7987
8043
|
residential: "residential";
|
|
7988
8044
|
}>>>;
|
|
7989
8045
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8046
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7990
8047
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
7991
8048
|
}, z.core.$strip>, z.ZodObject<{
|
|
7992
8049
|
labor_classification: z.ZodString;
|
|
7993
8050
|
pwa_trade_id: z.ZodString;
|
|
7994
8051
|
hourly_rate_cents: z.ZodString;
|
|
7995
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
|
+
}>>>;
|
|
7996
8060
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7997
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7998
8061
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
7999
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8000
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8001
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8002
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8003
|
-
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>>;
|
|
8004
8067
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8005
8068
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8006
8069
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8007
8070
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8008
8071
|
}, z.core.$strip>>;
|
|
8072
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8009
8073
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
8010
8074
|
}, z.core.$strip>], "type">;
|
|
8011
8075
|
/**
|
|
@@ -8027,11 +8091,11 @@ export declare const zJobWageDeterminationUpdateParameters: z.ZodObject<{
|
|
|
8027
8091
|
}>>>;
|
|
8028
8092
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8029
8093
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8030
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8031
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8032
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8033
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8034
|
-
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>>;
|
|
8035
8099
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8036
8100
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8037
8101
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8055,11 +8119,11 @@ export declare const zJobWageDeterminationScheduledChangeParameters: z.ZodObject
|
|
|
8055
8119
|
}>>>;
|
|
8056
8120
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8057
8121
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8058
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8059
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8060
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8061
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8062
|
-
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>>;
|
|
8063
8127
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8064
8128
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8065
8129
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8513,7 +8577,7 @@ export declare const zProjectWageDeterminationHistoryVersionObject: z.ZodDiscrim
|
|
|
8513
8577
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
8514
8578
|
}, z.core.$strip>], "type">;
|
|
8515
8579
|
/**
|
|
8516
|
-
* 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.
|
|
8517
8581
|
*/
|
|
8518
8582
|
export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
|
|
8519
8583
|
type: z.ZodEnum<{
|
|
@@ -8531,6 +8595,7 @@ export declare const zFederalProjectWageDeterminationParameters: z.ZodObject<{
|
|
|
8531
8595
|
residential: "residential";
|
|
8532
8596
|
}>>>;
|
|
8533
8597
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8598
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8534
8599
|
}, z.core.$strip>;
|
|
8535
8600
|
/**
|
|
8536
8601
|
* Parameters for creating a Regional (state prevailing-wage) wage determination on a project.
|
|
@@ -8543,19 +8608,26 @@ export declare const zRegionalProjectWageDeterminationParameters: z.ZodObject<{
|
|
|
8543
8608
|
pwa_trade_id: z.ZodString;
|
|
8544
8609
|
hourly_rate_cents: z.ZodString;
|
|
8545
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
|
+
}>>>;
|
|
8546
8618
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8547
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8548
8619
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8549
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8550
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8551
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8552
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8553
|
-
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>>;
|
|
8554
8625
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8555
8626
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8556
8627
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8557
8628
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8558
8629
|
}, z.core.$strip>>;
|
|
8630
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8559
8631
|
}, z.core.$strip>;
|
|
8560
8632
|
/**
|
|
8561
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.
|
|
@@ -8573,25 +8645,33 @@ export declare const zProjectWageDeterminationParameters: z.ZodDiscriminatedUnio
|
|
|
8573
8645
|
residential: "residential";
|
|
8574
8646
|
}>>>;
|
|
8575
8647
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8648
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8576
8649
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
|
|
8577
8650
|
}, z.core.$strip>, z.ZodObject<{
|
|
8578
8651
|
labor_classification: z.ZodString;
|
|
8579
8652
|
pwa_trade_id: z.ZodString;
|
|
8580
8653
|
hourly_rate_cents: z.ZodString;
|
|
8581
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
|
+
}>>>;
|
|
8582
8662
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8583
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8584
8663
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8585
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8586
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8587
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8588
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8589
|
-
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>>;
|
|
8590
8669
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8591
8670
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8592
8671
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8593
8672
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8594
8673
|
}, z.core.$strip>>;
|
|
8674
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8595
8675
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
8596
8676
|
}, z.core.$strip>], "type">;
|
|
8597
8677
|
/**
|
|
@@ -8613,11 +8693,11 @@ export declare const zProjectWageDeterminationUpdateParameters: z.ZodObject<{
|
|
|
8613
8693
|
}>>>;
|
|
8614
8694
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8615
8695
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8616
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8617
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8618
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8619
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8620
|
-
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>>;
|
|
8621
8701
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8622
8702
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8623
8703
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8641,11 +8721,11 @@ export declare const zProjectWageDeterminationScheduledChangeParameters: z.ZodOb
|
|
|
8641
8721
|
}>>>;
|
|
8642
8722
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8643
8723
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
8644
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8645
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8646
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8647
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
8648
|
-
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>>;
|
|
8649
8729
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8650
8730
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8651
8731
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9143,6 +9223,7 @@ export declare const zPayRatesRuleResponseObject: z.ZodObject<{
|
|
|
9143
9223
|
* Parameters for creating a conditional wage or fringe adjustment in a pay-rate rule package.
|
|
9144
9224
|
*/
|
|
9145
9225
|
export declare const zPayRatesRuleParameters: z.ZodObject<{
|
|
9226
|
+
effective_date: z.ZodOptional<z.ZodISODate>;
|
|
9146
9227
|
effect: z.ZodObject<{
|
|
9147
9228
|
type: z.ZodEnum<{
|
|
9148
9229
|
wage_increment: "wage_increment";
|
|
@@ -9150,36 +9231,48 @@ export declare const zPayRatesRuleParameters: z.ZodObject<{
|
|
|
9150
9231
|
}>;
|
|
9151
9232
|
amount_cents: z.ZodString;
|
|
9152
9233
|
}, z.core.$strip>;
|
|
9153
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
9234
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9235
|
+
type: z.ZodEnum<{
|
|
9236
|
+
time_range: "time_range";
|
|
9237
|
+
}>;
|
|
9154
9238
|
start_time: z.ZodString;
|
|
9155
9239
|
end_time: z.ZodString;
|
|
9156
|
-
type: z.ZodLiteral<"time_range">;
|
|
9157
9240
|
}, z.core.$strip>, z.ZodObject<{
|
|
9241
|
+
type: z.ZodEnum<{
|
|
9242
|
+
days: "days";
|
|
9243
|
+
}>;
|
|
9158
9244
|
days: z.ZodArray<z.ZodInt>;
|
|
9159
|
-
type: z.ZodLiteral<"days">;
|
|
9160
9245
|
}, z.core.$strip>, z.ZodObject<{
|
|
9246
|
+
type: z.ZodEnum<{
|
|
9247
|
+
specific_date: "specific_date";
|
|
9248
|
+
}>;
|
|
9161
9249
|
date: z.ZodISODate;
|
|
9162
|
-
type: z.ZodLiteral<"specific_date">;
|
|
9163
9250
|
}, z.core.$strip>, z.ZodObject<{
|
|
9251
|
+
type: z.ZodEnum<{
|
|
9252
|
+
apprentice_period: "apprentice_period";
|
|
9253
|
+
}>;
|
|
9164
9254
|
period: z.ZodInt;
|
|
9165
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
9166
9255
|
}, z.core.$strip>, z.ZodObject<{
|
|
9256
|
+
type: z.ZodEnum<{
|
|
9257
|
+
apprentice_hours: "apprentice_hours";
|
|
9258
|
+
}>;
|
|
9167
9259
|
min_hours: z.ZodInt;
|
|
9168
9260
|
max_hours: z.ZodInt;
|
|
9169
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
9170
9261
|
}, z.core.$strip>, z.ZodObject<{
|
|
9262
|
+
type: z.ZodEnum<{
|
|
9263
|
+
overtime_multiplier: "overtime_multiplier";
|
|
9264
|
+
}>;
|
|
9171
9265
|
multiplier: z.ZodEnum<{
|
|
9172
9266
|
1.5: "1.5";
|
|
9173
9267
|
"2.0": "2.0";
|
|
9174
9268
|
}>;
|
|
9175
|
-
|
|
9176
|
-
}, z.core.$strip>], "type">>>;
|
|
9177
|
-
effective_date: z.ZodOptional<z.ZodISODate>;
|
|
9269
|
+
}, z.core.$strip>]>>>;
|
|
9178
9270
|
}, z.core.$strip>;
|
|
9179
9271
|
/**
|
|
9180
9272
|
* Change a rule from an effective date forward. Omitted effect or conditions keep that part of the targeted version. When the targeted recipe changes, the resulting complete recipe applies from that coordinate across later scheduled versions; an unchanged recipe does not alter later scheduled versions. An empty conditions list makes the rule unconditional. Omit effective_from to correct the selected version from its exact existing start. A rule with an unbounded lower limit requires effective_from.
|
|
9181
9273
|
*/
|
|
9182
9274
|
export declare const zPayRatesRuleUpdateParameters: z.ZodObject<{
|
|
9275
|
+
effective_from: z.ZodOptional<z.ZodISODate>;
|
|
9183
9276
|
effect: z.ZodOptional<z.ZodObject<{
|
|
9184
9277
|
type: z.ZodEnum<{
|
|
9185
9278
|
wage_increment: "wage_increment";
|
|
@@ -9187,31 +9280,42 @@ export declare const zPayRatesRuleUpdateParameters: z.ZodObject<{
|
|
|
9187
9280
|
}>;
|
|
9188
9281
|
amount_cents: z.ZodString;
|
|
9189
9282
|
}, z.core.$strip>>;
|
|
9190
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
9283
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9284
|
+
type: z.ZodEnum<{
|
|
9285
|
+
time_range: "time_range";
|
|
9286
|
+
}>;
|
|
9191
9287
|
start_time: z.ZodString;
|
|
9192
9288
|
end_time: z.ZodString;
|
|
9193
|
-
type: z.ZodLiteral<"time_range">;
|
|
9194
9289
|
}, z.core.$strip>, z.ZodObject<{
|
|
9290
|
+
type: z.ZodEnum<{
|
|
9291
|
+
days: "days";
|
|
9292
|
+
}>;
|
|
9195
9293
|
days: z.ZodArray<z.ZodInt>;
|
|
9196
|
-
type: z.ZodLiteral<"days">;
|
|
9197
9294
|
}, z.core.$strip>, z.ZodObject<{
|
|
9295
|
+
type: z.ZodEnum<{
|
|
9296
|
+
specific_date: "specific_date";
|
|
9297
|
+
}>;
|
|
9198
9298
|
date: z.ZodISODate;
|
|
9199
|
-
type: z.ZodLiteral<"specific_date">;
|
|
9200
9299
|
}, z.core.$strip>, z.ZodObject<{
|
|
9300
|
+
type: z.ZodEnum<{
|
|
9301
|
+
apprentice_period: "apprentice_period";
|
|
9302
|
+
}>;
|
|
9201
9303
|
period: z.ZodInt;
|
|
9202
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
9203
9304
|
}, z.core.$strip>, z.ZodObject<{
|
|
9305
|
+
type: z.ZodEnum<{
|
|
9306
|
+
apprentice_hours: "apprentice_hours";
|
|
9307
|
+
}>;
|
|
9204
9308
|
min_hours: z.ZodInt;
|
|
9205
9309
|
max_hours: z.ZodInt;
|
|
9206
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
9207
9310
|
}, z.core.$strip>, z.ZodObject<{
|
|
9311
|
+
type: z.ZodEnum<{
|
|
9312
|
+
overtime_multiplier: "overtime_multiplier";
|
|
9313
|
+
}>;
|
|
9208
9314
|
multiplier: z.ZodEnum<{
|
|
9209
9315
|
1.5: "1.5";
|
|
9210
9316
|
"2.0": "2.0";
|
|
9211
9317
|
}>;
|
|
9212
|
-
|
|
9213
|
-
}, z.core.$strip>], "type">>>;
|
|
9214
|
-
effective_from: z.ZodOptional<z.ZodISODate>;
|
|
9318
|
+
}, z.core.$strip>]>>>;
|
|
9215
9319
|
}, z.core.$strip>;
|
|
9216
9320
|
/**
|
|
9217
9321
|
* Parameters for moving where a pay-rate rule family's valid-time timeline begins.
|
|
@@ -9237,30 +9341,42 @@ export declare const zPayRatesRuleScheduledChangeParameters: z.ZodObject<{
|
|
|
9237
9341
|
}>;
|
|
9238
9342
|
amount_cents: z.ZodString;
|
|
9239
9343
|
}, z.core.$strip>>;
|
|
9240
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
9344
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9345
|
+
type: z.ZodEnum<{
|
|
9346
|
+
time_range: "time_range";
|
|
9347
|
+
}>;
|
|
9241
9348
|
start_time: z.ZodString;
|
|
9242
9349
|
end_time: z.ZodString;
|
|
9243
|
-
type: z.ZodLiteral<"time_range">;
|
|
9244
9350
|
}, z.core.$strip>, z.ZodObject<{
|
|
9351
|
+
type: z.ZodEnum<{
|
|
9352
|
+
days: "days";
|
|
9353
|
+
}>;
|
|
9245
9354
|
days: z.ZodArray<z.ZodInt>;
|
|
9246
|
-
type: z.ZodLiteral<"days">;
|
|
9247
9355
|
}, z.core.$strip>, z.ZodObject<{
|
|
9356
|
+
type: z.ZodEnum<{
|
|
9357
|
+
specific_date: "specific_date";
|
|
9358
|
+
}>;
|
|
9248
9359
|
date: z.ZodISODate;
|
|
9249
|
-
type: z.ZodLiteral<"specific_date">;
|
|
9250
9360
|
}, z.core.$strip>, z.ZodObject<{
|
|
9361
|
+
type: z.ZodEnum<{
|
|
9362
|
+
apprentice_period: "apprentice_period";
|
|
9363
|
+
}>;
|
|
9251
9364
|
period: z.ZodInt;
|
|
9252
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
9253
9365
|
}, z.core.$strip>, z.ZodObject<{
|
|
9366
|
+
type: z.ZodEnum<{
|
|
9367
|
+
apprentice_hours: "apprentice_hours";
|
|
9368
|
+
}>;
|
|
9254
9369
|
min_hours: z.ZodInt;
|
|
9255
9370
|
max_hours: z.ZodInt;
|
|
9256
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
9257
9371
|
}, z.core.$strip>, z.ZodObject<{
|
|
9372
|
+
type: z.ZodEnum<{
|
|
9373
|
+
overtime_multiplier: "overtime_multiplier";
|
|
9374
|
+
}>;
|
|
9258
9375
|
multiplier: z.ZodEnum<{
|
|
9259
9376
|
1.5: "1.5";
|
|
9260
9377
|
"2.0": "2.0";
|
|
9261
9378
|
}>;
|
|
9262
|
-
|
|
9263
|
-
}, z.core.$strip>], "type">>>;
|
|
9379
|
+
}, z.core.$strip>]>>>;
|
|
9264
9380
|
}, z.core.$strip>;
|
|
9265
9381
|
export declare const zPayRatesRuleHistoryCorrectionObject: z.ZodObject<{
|
|
9266
9382
|
pay_rates_rule_id: z.ZodString;
|
|
@@ -9616,30 +9732,102 @@ export declare const zRateRuleParameters: z.ZodObject<{
|
|
|
9616
9732
|
}>;
|
|
9617
9733
|
amount_cents: z.ZodString;
|
|
9618
9734
|
}, z.core.$strip>;
|
|
9619
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
9735
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
9736
|
+
type: z.ZodEnum<{
|
|
9737
|
+
time_range: "time_range";
|
|
9738
|
+
}>;
|
|
9620
9739
|
start_time: z.ZodString;
|
|
9621
9740
|
end_time: z.ZodString;
|
|
9622
|
-
type: z.ZodLiteral<"time_range">;
|
|
9623
9741
|
}, z.core.$strip>, z.ZodObject<{
|
|
9742
|
+
type: z.ZodEnum<{
|
|
9743
|
+
days: "days";
|
|
9744
|
+
}>;
|
|
9624
9745
|
days: z.ZodArray<z.ZodInt>;
|
|
9625
|
-
type: z.ZodLiteral<"days">;
|
|
9626
9746
|
}, z.core.$strip>, z.ZodObject<{
|
|
9747
|
+
type: z.ZodEnum<{
|
|
9748
|
+
specific_date: "specific_date";
|
|
9749
|
+
}>;
|
|
9627
9750
|
date: z.ZodISODate;
|
|
9628
|
-
type: z.ZodLiteral<"specific_date">;
|
|
9629
9751
|
}, z.core.$strip>, z.ZodObject<{
|
|
9752
|
+
type: z.ZodEnum<{
|
|
9753
|
+
apprentice_period: "apprentice_period";
|
|
9754
|
+
}>;
|
|
9630
9755
|
period: z.ZodInt;
|
|
9631
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
9632
9756
|
}, z.core.$strip>, z.ZodObject<{
|
|
9757
|
+
type: z.ZodEnum<{
|
|
9758
|
+
apprentice_hours: "apprentice_hours";
|
|
9759
|
+
}>;
|
|
9633
9760
|
min_hours: z.ZodInt;
|
|
9634
9761
|
max_hours: z.ZodInt;
|
|
9635
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
9636
9762
|
}, z.core.$strip>, z.ZodObject<{
|
|
9763
|
+
type: z.ZodEnum<{
|
|
9764
|
+
overtime_multiplier: "overtime_multiplier";
|
|
9765
|
+
}>;
|
|
9637
9766
|
multiplier: z.ZodEnum<{
|
|
9638
9767
|
1.5: "1.5";
|
|
9639
9768
|
"2.0": "2.0";
|
|
9640
9769
|
}>;
|
|
9641
|
-
|
|
9642
|
-
|
|
9770
|
+
}, z.core.$strip>]>>>;
|
|
9771
|
+
}, z.core.$strip>;
|
|
9772
|
+
/**
|
|
9773
|
+
* Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. `attribute_values` fills the item-level attributes of the product's category. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
9774
|
+
*/
|
|
9775
|
+
export declare const zAssetsItemParameters: z.ZodObject<{
|
|
9776
|
+
name: z.ZodString;
|
|
9777
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9778
|
+
assets_product_id: z.ZodString;
|
|
9779
|
+
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9780
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
9781
|
+
available: "available";
|
|
9782
|
+
assigned: "assigned";
|
|
9783
|
+
}>>;
|
|
9784
|
+
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9785
|
+
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9786
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9787
|
+
external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9788
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9789
|
+
assets_attribute_id: z.ZodString;
|
|
9790
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9791
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9792
|
+
}, z.core.$strip>>>;
|
|
9793
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9794
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9795
|
+
file: z.ZodOptional<z.ZodString>;
|
|
9796
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9797
|
+
}, z.core.$strip>>>;
|
|
9798
|
+
performed_by_user_id: z.ZodString;
|
|
9799
|
+
assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9800
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9801
|
+
container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9802
|
+
assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9803
|
+
}, z.core.$strip>;
|
|
9804
|
+
/**
|
|
9805
|
+
* Update an asset item. All item fields are optional — send only what changes — but performed_by_user_id is required to record the updater. Omitted attributes retain their existing values. `attribute_values` upserts the item-level attributes of the product's category. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, external_id, external_system_url) apply to a serial item; sending one for a bulk item answers 422 subtype_foreign_keys with an entry pointing at each such field, and nothing is written.
|
|
9806
|
+
*/
|
|
9807
|
+
export declare const zAssetsItemUpdateParameters: z.ZodObject<{
|
|
9808
|
+
name: z.ZodOptional<z.ZodString>;
|
|
9809
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9810
|
+
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
9811
|
+
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9812
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
9813
|
+
available: "available";
|
|
9814
|
+
assigned: "assigned";
|
|
9815
|
+
}>>;
|
|
9816
|
+
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9817
|
+
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9818
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9819
|
+
external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9820
|
+
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9821
|
+
assets_attribute_id: z.ZodString;
|
|
9822
|
+
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9823
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9824
|
+
}, z.core.$strip>>>;
|
|
9825
|
+
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9826
|
+
id: z.ZodOptional<z.ZodString>;
|
|
9827
|
+
file: z.ZodOptional<z.ZodString>;
|
|
9828
|
+
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9829
|
+
}, z.core.$strip>>>;
|
|
9830
|
+
performed_by_user_id: z.ZodString;
|
|
9643
9831
|
}, z.core.$strip>;
|
|
9644
9832
|
/**
|
|
9645
9833
|
* A vendor in the company's asset catalog — a supplier or manufacturer that products are sourced from.
|
|
@@ -9864,194 +10052,63 @@ export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
|
9864
10052
|
url: z.ZodString;
|
|
9865
10053
|
}, z.core.$strip>>;
|
|
9866
10054
|
created_at: z.ZodISODateTime;
|
|
9867
|
-
updated_at: z.ZodISODateTime;
|
|
9868
|
-
}, z.core.$strip>>;
|
|
9869
|
-
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9870
|
-
created_at: z.ZodISODateTime;
|
|
9871
|
-
updated_at: z.ZodISODateTime;
|
|
9872
|
-
}, z.core.$strip>;
|
|
9873
|
-
/**
|
|
9874
|
-
* A tracked physical asset owned by a company and typed by a product — either an individually-tracked serial unit or a quantity-tracked bulk stock record. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, currency, external_id, external_system_url) are null on a bulk item.
|
|
9875
|
-
*/
|
|
9876
|
-
export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
9877
|
-
id: z.ZodString;
|
|
9878
|
-
name: z.ZodString;
|
|
9879
|
-
description: z.ZodNullable<z.ZodString>;
|
|
9880
|
-
assets_product_id: z.ZodString;
|
|
9881
|
-
company_id: z.ZodString;
|
|
9882
|
-
type: z.ZodEnum<{
|
|
9883
|
-
serial: "serial";
|
|
9884
|
-
bulk: "bulk";
|
|
9885
|
-
}>;
|
|
9886
|
-
serial_number: z.ZodNullable<z.ZodString>;
|
|
9887
|
-
status: z.ZodNullable<z.ZodEnum<{
|
|
9888
|
-
available: "available";
|
|
9889
|
-
assigned: "assigned";
|
|
9890
|
-
}>>;
|
|
9891
|
-
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
9892
|
-
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
9893
|
-
currency: z.ZodNullable<z.ZodString>;
|
|
9894
|
-
external_id: z.ZodNullable<z.ZodString>;
|
|
9895
|
-
external_system_url: z.ZodNullable<z.ZodString>;
|
|
9896
|
-
container: z.ZodBoolean;
|
|
9897
|
-
contents: z.ZodArray<z.ZodObject<{
|
|
9898
|
-
item_id: z.ZodString;
|
|
9899
|
-
quantity: z.ZodInt;
|
|
9900
|
-
}, z.core.$strip>>;
|
|
9901
|
-
containers: z.ZodArray<z.ZodObject<{
|
|
9902
|
-
container_item_id: z.ZodString;
|
|
9903
|
-
quantity: z.ZodInt;
|
|
9904
|
-
}, z.core.$strip>>;
|
|
9905
|
-
attributes: z.ZodArray<z.ZodObject<{
|
|
9906
|
-
assets_attribute_id: z.ZodString;
|
|
9907
|
-
value: z.ZodNullable<z.ZodString>;
|
|
9908
|
-
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
9909
|
-
}, z.core.$strip>>;
|
|
9910
|
-
images: z.ZodArray<z.ZodObject<{
|
|
9911
|
-
id: z.ZodString;
|
|
9912
|
-
file: z.ZodNullable<z.ZodObject<{
|
|
9913
|
-
filename: z.ZodString;
|
|
9914
|
-
content_type: z.ZodNullable<z.ZodString>;
|
|
9915
|
-
byte_size: z.ZodInt;
|
|
9916
|
-
url: z.ZodString;
|
|
9917
|
-
}, z.core.$strip>>;
|
|
9918
|
-
created_at: z.ZodISODateTime;
|
|
9919
|
-
updated_at: z.ZodISODateTime;
|
|
9920
|
-
}, z.core.$strip>>;
|
|
9921
|
-
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9922
|
-
created_at: z.ZodISODateTime;
|
|
9923
|
-
updated_at: z.ZodISODateTime;
|
|
9924
|
-
}, z.core.$strip>;
|
|
9925
|
-
/**
|
|
9926
|
-
* One attachment in a nested collection. Send file with a signed_id to add one; send id (with _destroy) to remove an existing one.
|
|
9927
|
-
*/
|
|
9928
|
-
export declare const zAssetsAttachmentParameters: z.ZodObject<{
|
|
9929
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9930
|
-
file: z.ZodOptional<z.ZodString>;
|
|
9931
|
-
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9932
|
-
}, z.core.$strip>;
|
|
9933
|
-
/**
|
|
9934
|
-
* Create a catalog product. `type` (serial or bulk) is required and immutable. `attribute_values` upserts the product's category-attribute values.
|
|
9935
|
-
*/
|
|
9936
|
-
export declare const zAssetsProductParameters: z.ZodObject<{
|
|
9937
|
-
type: z.ZodEnum<{
|
|
9938
|
-
serial: "serial";
|
|
9939
|
-
bulk: "bulk";
|
|
9940
|
-
}>;
|
|
9941
|
-
name: z.ZodString;
|
|
9942
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9943
|
-
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9944
|
-
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9945
|
-
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9946
|
-
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9947
|
-
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9948
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9949
|
-
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
9950
|
-
each: "each";
|
|
9951
|
-
pair: "pair";
|
|
9952
|
-
pack: "pack";
|
|
9953
|
-
}>>;
|
|
9954
|
-
container: z.ZodOptional<z.ZodBoolean>;
|
|
9955
|
-
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9956
|
-
assets_attribute_id: z.ZodString;
|
|
9957
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9958
|
-
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9959
|
-
}, z.core.$strip>>>;
|
|
9960
|
-
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9961
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9962
|
-
file: z.ZodOptional<z.ZodString>;
|
|
9963
|
-
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9964
|
-
}, z.core.$strip>>>;
|
|
9965
|
-
performed_by_user_id: z.ZodString;
|
|
9966
|
-
}, z.core.$strip>;
|
|
9967
|
-
/**
|
|
9968
|
-
* Update a catalog product. All fields are optional — send only what changes. `type` is immutable and `performed_by_user_id` is create-only, so neither is accepted here. `attribute_values` upserts the product's category-attribute values.
|
|
9969
|
-
*/
|
|
9970
|
-
export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
9971
|
-
name: z.ZodOptional<z.ZodString>;
|
|
9972
|
-
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9973
|
-
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9974
|
-
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9975
|
-
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9976
|
-
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
9977
|
-
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9978
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9979
|
-
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
9980
|
-
each: "each";
|
|
9981
|
-
pair: "pair";
|
|
9982
|
-
pack: "pack";
|
|
9983
|
-
}>>;
|
|
9984
|
-
container: z.ZodOptional<z.ZodBoolean>;
|
|
9985
|
-
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9986
|
-
assets_attribute_id: z.ZodString;
|
|
9987
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9988
|
-
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9989
|
-
}, z.core.$strip>>>;
|
|
9990
|
-
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
9991
|
-
id: z.ZodOptional<z.ZodString>;
|
|
9992
|
-
file: z.ZodOptional<z.ZodString>;
|
|
9993
|
-
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
9994
|
-
}, z.core.$strip>>>;
|
|
9995
|
-
}, z.core.$strip>;
|
|
9996
|
-
/**
|
|
9997
|
-
* Create an asset item. The write API creates serial items only; assets_product_id and serial_number identify the product and serial number. `attribute_values` fills the item-level attributes of the product's category. On create you may also place the item — assets_site_id to stock it at a site, or user_id to assign it to a user (the two are mutually exclusive). performed_by_user_id is required.
|
|
9998
|
-
*/
|
|
9999
|
-
export declare const zAssetsItemParameters: z.ZodObject<{
|
|
10000
|
-
name: z.ZodString;
|
|
10001
|
-
description: z.ZodOptional<z.ZodString>;
|
|
10002
|
-
assets_product_id: z.ZodString;
|
|
10003
|
-
serial_number: z.ZodString;
|
|
10004
|
-
status: z.ZodOptional<z.ZodEnum<{
|
|
10005
|
-
available: "available";
|
|
10006
|
-
assigned: "assigned";
|
|
10007
|
-
}>>;
|
|
10008
|
-
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
10009
|
-
purchase_price_cents: z.ZodOptional<z.ZodInt>;
|
|
10010
|
-
external_id: z.ZodOptional<z.ZodString>;
|
|
10011
|
-
external_system_url: z.ZodOptional<z.ZodString>;
|
|
10012
|
-
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10013
|
-
assets_attribute_id: z.ZodString;
|
|
10014
|
-
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10015
|
-
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10016
|
-
}, z.core.$strip>>>;
|
|
10017
|
-
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10018
|
-
id: z.ZodOptional<z.ZodString>;
|
|
10019
|
-
file: z.ZodOptional<z.ZodString>;
|
|
10020
|
-
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
10021
|
-
}, z.core.$strip>>>;
|
|
10022
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
10023
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
10024
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
10025
|
-
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
10026
|
-
performed_by_user_id: z.ZodString;
|
|
10055
|
+
updated_at: z.ZodISODateTime;
|
|
10056
|
+
}, z.core.$strip>>;
|
|
10057
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
10058
|
+
created_at: z.ZodISODateTime;
|
|
10059
|
+
updated_at: z.ZodISODateTime;
|
|
10027
10060
|
}, z.core.$strip>;
|
|
10028
10061
|
/**
|
|
10029
|
-
*
|
|
10062
|
+
* A tracked physical asset owned by a company and typed by a product — either an individually-tracked serial unit or a quantity-tracked bulk stock record. The serial-only fields (serial_number, status, purchase_date, purchase_price_cents, currency, external_id, external_system_url) are null on a bulk item.
|
|
10030
10063
|
*/
|
|
10031
|
-
export declare const
|
|
10032
|
-
|
|
10033
|
-
|
|
10034
|
-
|
|
10035
|
-
|
|
10036
|
-
|
|
10064
|
+
export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
10065
|
+
id: z.ZodString;
|
|
10066
|
+
name: z.ZodString;
|
|
10067
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10068
|
+
assets_product_id: z.ZodString;
|
|
10069
|
+
company_id: z.ZodString;
|
|
10070
|
+
type: z.ZodEnum<{
|
|
10071
|
+
serial: "serial";
|
|
10072
|
+
bulk: "bulk";
|
|
10073
|
+
}>;
|
|
10074
|
+
serial_number: z.ZodNullable<z.ZodString>;
|
|
10075
|
+
status: z.ZodNullable<z.ZodEnum<{
|
|
10037
10076
|
available: "available";
|
|
10038
10077
|
assigned: "assigned";
|
|
10039
10078
|
}>>;
|
|
10040
|
-
purchase_date: z.
|
|
10041
|
-
purchase_price_cents: z.
|
|
10042
|
-
|
|
10043
|
-
|
|
10044
|
-
|
|
10079
|
+
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
10080
|
+
purchase_price_cents: z.ZodNullable<z.ZodString>;
|
|
10081
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
10082
|
+
external_id: z.ZodNullable<z.ZodString>;
|
|
10083
|
+
external_system_url: z.ZodNullable<z.ZodString>;
|
|
10084
|
+
container: z.ZodBoolean;
|
|
10085
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
10086
|
+
item_id: z.ZodString;
|
|
10087
|
+
quantity: z.ZodInt;
|
|
10088
|
+
}, z.core.$strip>>;
|
|
10089
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
10090
|
+
container_item_id: z.ZodString;
|
|
10091
|
+
quantity: z.ZodInt;
|
|
10092
|
+
}, z.core.$strip>>;
|
|
10093
|
+
attributes: z.ZodArray<z.ZodObject<{
|
|
10045
10094
|
assets_attribute_id: z.ZodString;
|
|
10046
|
-
value: z.
|
|
10047
|
-
assets_attribute_option_id: z.
|
|
10048
|
-
}, z.core.$strip
|
|
10049
|
-
|
|
10050
|
-
id: z.
|
|
10051
|
-
file: z.
|
|
10052
|
-
|
|
10053
|
-
|
|
10054
|
-
|
|
10095
|
+
value: z.ZodNullable<z.ZodString>;
|
|
10096
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
10097
|
+
}, z.core.$strip>>;
|
|
10098
|
+
images: z.ZodArray<z.ZodObject<{
|
|
10099
|
+
id: z.ZodString;
|
|
10100
|
+
file: z.ZodNullable<z.ZodObject<{
|
|
10101
|
+
filename: z.ZodString;
|
|
10102
|
+
content_type: z.ZodNullable<z.ZodString>;
|
|
10103
|
+
byte_size: z.ZodInt;
|
|
10104
|
+
url: z.ZodString;
|
|
10105
|
+
}, z.core.$strip>>;
|
|
10106
|
+
created_at: z.ZodISODateTime;
|
|
10107
|
+
updated_at: z.ZodISODateTime;
|
|
10108
|
+
}, z.core.$strip>>;
|
|
10109
|
+
archived_at: z.ZodNullable<z.ZodISODateTime>;
|
|
10110
|
+
created_at: z.ZodISODateTime;
|
|
10111
|
+
updated_at: z.ZodISODateTime;
|
|
10055
10112
|
}, z.core.$strip>;
|
|
10056
10113
|
/**
|
|
10057
10114
|
* A file attached to an asset item — a document such as a manual, warranty, or certificate. Uploaded through the direct-upload flow and optionally marked as a certified copy.
|
|
@@ -10498,12 +10555,12 @@ export declare const zAssetsServiceEventParameters: z.ZodObject<{
|
|
|
10498
10555
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10499
10556
|
performed_on: z.ZodISODate;
|
|
10500
10557
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10501
|
-
performed_by_user_id: z.ZodString;
|
|
10502
10558
|
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10503
10559
|
id: z.ZodOptional<z.ZodString>;
|
|
10504
10560
|
file: z.ZodOptional<z.ZodString>;
|
|
10505
10561
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
10506
10562
|
}, z.core.$strip>>>;
|
|
10563
|
+
performed_by_user_id: z.ZodString;
|
|
10507
10564
|
}, z.core.$strip>;
|
|
10508
10565
|
/**
|
|
10509
10566
|
* Update a service event. Event fields are optional — send only what changes — but performed_by_user_id is required to record the updater. A linked schedule dictates kind, and changing or removing the link recomputes affected due dates.
|
|
@@ -10517,12 +10574,12 @@ export declare const zAssetsServiceEventUpdateParameters: z.ZodObject<{
|
|
|
10517
10574
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10518
10575
|
performed_on: z.ZodOptional<z.ZodISODate>;
|
|
10519
10576
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10520
|
-
performed_by_user_id: z.ZodString;
|
|
10521
10577
|
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
10522
10578
|
id: z.ZodOptional<z.ZodString>;
|
|
10523
10579
|
file: z.ZodOptional<z.ZodString>;
|
|
10524
10580
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
10525
10581
|
}, z.core.$strip>>>;
|
|
10582
|
+
performed_by_user_id: z.ZodString;
|
|
10526
10583
|
}, z.core.$strip>;
|
|
10527
10584
|
/**
|
|
10528
10585
|
* A product-level service cadence that seeds and syncs the matching schedules on that product's items. Changing its defining fields (name, kind, interval) reconciles linked item schedules in the background.
|
|
@@ -10670,17 +10727,17 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
10670
10727
|
updated_at: z.ZodISODateTime;
|
|
10671
10728
|
}, z.core.$strip>;
|
|
10672
10729
|
/**
|
|
10673
|
-
* 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.
|
|
10674
10731
|
*/
|
|
10675
10732
|
export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
10676
10733
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
10677
10734
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
10678
10735
|
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
10736
|
+
from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10679
10737
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
10680
10738
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
10681
10739
|
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
10682
|
-
|
|
10683
|
-
to_assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
10740
|
+
to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10684
10741
|
performed_by_user_id: z.ZodString;
|
|
10685
10742
|
line_items: z.ZodArray<z.ZodObject<{
|
|
10686
10743
|
assets_item_id: z.ZodString;
|
|
@@ -11685,13 +11742,13 @@ export declare const zCreateWageScheduleBody: z.ZodObject<{
|
|
|
11685
11742
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11686
11743
|
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11687
11744
|
id: z.ZodOptional<z.ZodString>;
|
|
11688
|
-
period_number: z.ZodInt
|
|
11745
|
+
period_number: z.ZodOptional<z.ZodInt>;
|
|
11689
11746
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11690
11747
|
max_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11691
11748
|
num_competencies: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11692
11749
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
11693
|
-
wage_percent: z.ZodNumber
|
|
11694
|
-
wage_cents: z.ZodInt
|
|
11750
|
+
wage_percent: z.ZodOptional<z.ZodNumber>;
|
|
11751
|
+
wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11695
11752
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11696
11753
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11697
11754
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -11822,15 +11879,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
11822
11879
|
journeyworker_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11823
11880
|
journeyworker_fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11824
11881
|
end_wage_cents: z.ZodOptional<z.ZodInt>;
|
|
11825
|
-
periods_attributes: z.ZodOptional<z.ZodArray<z.
|
|
11826
|
-
min_minutes: z.ZodInt;
|
|
11827
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11828
|
-
max_minutes: z.ZodInt;
|
|
11829
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
11830
|
-
num_competencies: z.ZodInt;
|
|
11831
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
11832
|
-
_destroy: z.ZodLiteral<true>;
|
|
11833
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
11882
|
+
periods_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
11834
11883
|
id: z.ZodOptional<z.ZodString>;
|
|
11835
11884
|
period_number: z.ZodOptional<z.ZodInt>;
|
|
11836
11885
|
min_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -11842,7 +11891,7 @@ export declare const zUpdateWageScheduleBody: z.ZodObject<{
|
|
|
11842
11891
|
fringe_percent: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
11843
11892
|
fringe_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
11844
11893
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
11845
|
-
}, z.core.$strip
|
|
11894
|
+
}, z.core.$strip>>>;
|
|
11846
11895
|
}, z.core.$strip>;
|
|
11847
11896
|
export declare const zUpdateWageSchedulePath: z.ZodObject<{
|
|
11848
11897
|
occupation_id: z.ZodString;
|
|
@@ -12115,11 +12164,11 @@ export declare const zCreateCategoryBody: z.ZodObject<{
|
|
|
12115
12164
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12116
12165
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12117
12166
|
id: z.ZodOptional<z.ZodString>;
|
|
12118
|
-
assets_attribute_id: z.ZodString
|
|
12119
|
-
fillable_on: z.ZodEnum<{
|
|
12167
|
+
assets_attribute_id: z.ZodOptional<z.ZodString>;
|
|
12168
|
+
fillable_on: z.ZodOptional<z.ZodEnum<{
|
|
12120
12169
|
product: "product";
|
|
12121
12170
|
item: "item";
|
|
12122
|
-
}
|
|
12171
|
+
}>>;
|
|
12123
12172
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
12124
12173
|
position: z.ZodOptional<z.ZodInt>;
|
|
12125
12174
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12202,11 +12251,11 @@ export declare const zUpdateCategoryBody: z.ZodObject<{
|
|
|
12202
12251
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12203
12252
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12204
12253
|
id: z.ZodOptional<z.ZodString>;
|
|
12205
|
-
assets_attribute_id: z.ZodString
|
|
12206
|
-
fillable_on: z.ZodEnum<{
|
|
12254
|
+
assets_attribute_id: z.ZodOptional<z.ZodString>;
|
|
12255
|
+
fillable_on: z.ZodOptional<z.ZodEnum<{
|
|
12207
12256
|
product: "product";
|
|
12208
12257
|
item: "item";
|
|
12209
|
-
}
|
|
12258
|
+
}>>;
|
|
12210
12259
|
required: z.ZodOptional<z.ZodBoolean>;
|
|
12211
12260
|
position: z.ZodOptional<z.ZodInt>;
|
|
12212
12261
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -12829,17 +12878,17 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
12829
12878
|
}, z.core.$strip>;
|
|
12830
12879
|
export declare const zCreateItemBody: z.ZodObject<{
|
|
12831
12880
|
name: z.ZodString;
|
|
12832
|
-
description: z.ZodOptional<z.ZodString
|
|
12881
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12833
12882
|
assets_product_id: z.ZodString;
|
|
12834
|
-
serial_number: z.ZodString
|
|
12883
|
+
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12835
12884
|
status: z.ZodOptional<z.ZodEnum<{
|
|
12836
12885
|
available: "available";
|
|
12837
12886
|
assigned: "assigned";
|
|
12838
12887
|
}>>;
|
|
12839
|
-
purchase_date: z.ZodOptional<z.
|
|
12840
|
-
purchase_price_cents: z.ZodOptional<z.ZodInt
|
|
12841
|
-
external_id: z.ZodOptional<z.ZodString
|
|
12842
|
-
external_system_url: z.ZodOptional<z.ZodString
|
|
12888
|
+
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12889
|
+
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
12890
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12891
|
+
external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12843
12892
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
12844
12893
|
assets_attribute_id: z.ZodString;
|
|
12845
12894
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -12850,11 +12899,11 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
12850
12899
|
file: z.ZodOptional<z.ZodString>;
|
|
12851
12900
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
12852
12901
|
}, z.core.$strip>>>;
|
|
12853
|
-
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
12854
|
-
user_id: z.ZodOptional<z.ZodString>;
|
|
12855
|
-
container_item_id: z.ZodOptional<z.ZodString>;
|
|
12856
|
-
assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
12857
12902
|
performed_by_user_id: z.ZodString;
|
|
12903
|
+
assets_site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12904
|
+
user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12905
|
+
container_item_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12906
|
+
assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12858
12907
|
}, z.core.$strip>;
|
|
12859
12908
|
/**
|
|
12860
12909
|
* Created with an image
|
|
@@ -13020,17 +13069,17 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
13020
13069
|
}, z.core.$strip>;
|
|
13021
13070
|
export declare const zUpdateItemBody: z.ZodObject<{
|
|
13022
13071
|
name: z.ZodOptional<z.ZodString>;
|
|
13023
|
-
description: z.ZodOptional<z.ZodString
|
|
13072
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13024
13073
|
assets_product_id: z.ZodOptional<z.ZodString>;
|
|
13025
|
-
serial_number: z.ZodOptional<z.ZodString
|
|
13074
|
+
serial_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13026
13075
|
status: z.ZodOptional<z.ZodEnum<{
|
|
13027
13076
|
available: "available";
|
|
13028
13077
|
assigned: "assigned";
|
|
13029
13078
|
}>>;
|
|
13030
|
-
purchase_date: z.ZodOptional<z.
|
|
13031
|
-
purchase_price_cents: z.ZodOptional<z.ZodInt
|
|
13032
|
-
external_id: z.ZodOptional<z.ZodString
|
|
13033
|
-
external_system_url: z.ZodOptional<z.ZodString
|
|
13079
|
+
purchase_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13080
|
+
purchase_price_cents: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
13081
|
+
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13082
|
+
external_system_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13034
13083
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13035
13084
|
assets_attribute_id: z.ZodString;
|
|
13036
13085
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -13481,12 +13530,12 @@ export declare const zCreateServiceEventBody: z.ZodObject<{
|
|
|
13481
13530
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13482
13531
|
performed_on: z.ZodISODate;
|
|
13483
13532
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13484
|
-
performed_by_user_id: z.ZodString;
|
|
13485
13533
|
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13486
13534
|
id: z.ZodOptional<z.ZodString>;
|
|
13487
13535
|
file: z.ZodOptional<z.ZodString>;
|
|
13488
13536
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
13489
13537
|
}, z.core.$strip>>>;
|
|
13538
|
+
performed_by_user_id: z.ZodString;
|
|
13490
13539
|
}, z.core.$strip>;
|
|
13491
13540
|
export declare const zCreateServiceEventPath: z.ZodObject<{
|
|
13492
13541
|
item_id: z.ZodString;
|
|
@@ -13598,12 +13647,12 @@ export declare const zUpdateServiceEventBody: z.ZodObject<{
|
|
|
13598
13647
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13599
13648
|
performed_on: z.ZodOptional<z.ZodISODate>;
|
|
13600
13649
|
assets_service_schedule_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13601
|
-
performed_by_user_id: z.ZodString;
|
|
13602
13650
|
attachments_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
13603
13651
|
id: z.ZodOptional<z.ZodString>;
|
|
13604
13652
|
file: z.ZodOptional<z.ZodString>;
|
|
13605
13653
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
13606
13654
|
}, z.core.$strip>>>;
|
|
13655
|
+
performed_by_user_id: z.ZodString;
|
|
13607
13656
|
}, z.core.$strip>;
|
|
13608
13657
|
export declare const zUpdateServiceEventPath: z.ZodObject<{
|
|
13609
13658
|
item_id: z.ZodString;
|
|
@@ -14149,23 +14198,19 @@ export declare const zListProductsResponse: z.ZodObject<{
|
|
|
14149
14198
|
}, z.core.$strip>>;
|
|
14150
14199
|
}, z.core.$strip>;
|
|
14151
14200
|
export declare const zCreateProductBody: z.ZodObject<{
|
|
14152
|
-
type: z.ZodEnum<{
|
|
14153
|
-
serial: "serial";
|
|
14154
|
-
bulk: "bulk";
|
|
14155
|
-
}>;
|
|
14156
14201
|
name: z.ZodString;
|
|
14157
14202
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14158
|
-
|
|
14203
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14204
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14159
14205
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14160
14206
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14161
14207
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
14162
|
-
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14163
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14164
14208
|
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
14165
14209
|
each: "each";
|
|
14166
14210
|
pair: "pair";
|
|
14167
14211
|
pack: "pack";
|
|
14168
14212
|
}>>;
|
|
14213
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14169
14214
|
container: z.ZodOptional<z.ZodBoolean>;
|
|
14170
14215
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14171
14216
|
assets_attribute_id: z.ZodString;
|
|
@@ -14177,6 +14222,10 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
14177
14222
|
file: z.ZodOptional<z.ZodString>;
|
|
14178
14223
|
_destroy: z.ZodOptional<z.ZodBoolean>;
|
|
14179
14224
|
}, z.core.$strip>>>;
|
|
14225
|
+
type: z.ZodEnum<{
|
|
14226
|
+
serial: "serial";
|
|
14227
|
+
bulk: "bulk";
|
|
14228
|
+
}>;
|
|
14180
14229
|
performed_by_user_id: z.ZodString;
|
|
14181
14230
|
}, z.core.$strip>;
|
|
14182
14231
|
/**
|
|
@@ -14308,17 +14357,17 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
14308
14357
|
export declare const zUpdateProductBody: z.ZodObject<{
|
|
14309
14358
|
name: z.ZodOptional<z.ZodString>;
|
|
14310
14359
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14311
|
-
|
|
14360
|
+
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14361
|
+
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14312
14362
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14313
14363
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14314
14364
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
14315
|
-
make: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14316
|
-
model: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14317
14365
|
counted_by: z.ZodOptional<z.ZodEnum<{
|
|
14318
14366
|
each: "each";
|
|
14319
14367
|
pair: "pair";
|
|
14320
14368
|
pack: "pack";
|
|
14321
14369
|
}>>;
|
|
14370
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14322
14371
|
container: z.ZodOptional<z.ZodBoolean>;
|
|
14323
14372
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14324
14373
|
assets_attribute_id: z.ZodString;
|
|
@@ -15175,11 +15224,11 @@ export declare const zCreateTransferBody: z.ZodObject<{
|
|
|
15175
15224
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
15176
15225
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
15177
15226
|
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
15227
|
+
from_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15178
15228
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
15179
15229
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
15180
15230
|
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
15181
|
-
|
|
15182
|
-
to_assets_sub_location_id: z.ZodOptional<z.ZodString>;
|
|
15231
|
+
to_assets_sub_location_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15183
15232
|
performed_by_user_id: z.ZodString;
|
|
15184
15233
|
line_items: z.ZodArray<z.ZodObject<{
|
|
15185
15234
|
assets_item_id: z.ZodString;
|
|
@@ -17206,6 +17255,16 @@ export declare const zListCriteriaResponse: z.ZodObject<{
|
|
|
17206
17255
|
number: z.ZodNullable<z.ZodString>;
|
|
17207
17256
|
body: z.ZodNullable<z.ZodString>;
|
|
17208
17257
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
17258
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
17259
|
+
direct_observation: "direct_observation";
|
|
17260
|
+
simulation: "simulation";
|
|
17261
|
+
oral_questioning: "oral_questioning";
|
|
17262
|
+
written_questioning: "written_questioning";
|
|
17263
|
+
products_of_work: "products_of_work";
|
|
17264
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17265
|
+
witness_testimony: "witness_testimony";
|
|
17266
|
+
other: "other";
|
|
17267
|
+
}>>;
|
|
17209
17268
|
created_at: z.ZodISODateTime;
|
|
17210
17269
|
updated_at: z.ZodISODateTime;
|
|
17211
17270
|
}, z.core.$strip>>;
|
|
@@ -17214,6 +17273,16 @@ export declare const zCreateCriterionBody: z.ZodObject<{
|
|
|
17214
17273
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17215
17274
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17216
17275
|
evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17276
|
+
assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
17277
|
+
direct_observation: "direct_observation";
|
|
17278
|
+
simulation: "simulation";
|
|
17279
|
+
oral_questioning: "oral_questioning";
|
|
17280
|
+
written_questioning: "written_questioning";
|
|
17281
|
+
products_of_work: "products_of_work";
|
|
17282
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17283
|
+
witness_testimony: "witness_testimony";
|
|
17284
|
+
other: "other";
|
|
17285
|
+
}>>>;
|
|
17217
17286
|
}, z.core.$strip>;
|
|
17218
17287
|
export declare const zCreateCriterionPath: z.ZodObject<{
|
|
17219
17288
|
standard_id: z.ZodString;
|
|
@@ -17231,6 +17300,16 @@ export declare const zCreateCriterionResponse: z.ZodObject<{
|
|
|
17231
17300
|
number: z.ZodNullable<z.ZodString>;
|
|
17232
17301
|
body: z.ZodNullable<z.ZodString>;
|
|
17233
17302
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
17303
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
17304
|
+
direct_observation: "direct_observation";
|
|
17305
|
+
simulation: "simulation";
|
|
17306
|
+
oral_questioning: "oral_questioning";
|
|
17307
|
+
written_questioning: "written_questioning";
|
|
17308
|
+
products_of_work: "products_of_work";
|
|
17309
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17310
|
+
witness_testimony: "witness_testimony";
|
|
17311
|
+
other: "other";
|
|
17312
|
+
}>>;
|
|
17234
17313
|
created_at: z.ZodISODateTime;
|
|
17235
17314
|
updated_at: z.ZodISODateTime;
|
|
17236
17315
|
}, z.core.$strip>;
|
|
@@ -17262,6 +17341,16 @@ export declare const zGetCriterionResponse: z.ZodObject<{
|
|
|
17262
17341
|
number: z.ZodNullable<z.ZodString>;
|
|
17263
17342
|
body: z.ZodNullable<z.ZodString>;
|
|
17264
17343
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
17344
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
17345
|
+
direct_observation: "direct_observation";
|
|
17346
|
+
simulation: "simulation";
|
|
17347
|
+
oral_questioning: "oral_questioning";
|
|
17348
|
+
written_questioning: "written_questioning";
|
|
17349
|
+
products_of_work: "products_of_work";
|
|
17350
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17351
|
+
witness_testimony: "witness_testimony";
|
|
17352
|
+
other: "other";
|
|
17353
|
+
}>>;
|
|
17265
17354
|
created_at: z.ZodISODateTime;
|
|
17266
17355
|
updated_at: z.ZodISODateTime;
|
|
17267
17356
|
}, z.core.$strip>;
|
|
@@ -17269,6 +17358,16 @@ export declare const zUpdateCriterionBody: z.ZodObject<{
|
|
|
17269
17358
|
number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17270
17359
|
body: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17271
17360
|
evidence_note: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17361
|
+
assessment_method: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
17362
|
+
direct_observation: "direct_observation";
|
|
17363
|
+
simulation: "simulation";
|
|
17364
|
+
oral_questioning: "oral_questioning";
|
|
17365
|
+
written_questioning: "written_questioning";
|
|
17366
|
+
products_of_work: "products_of_work";
|
|
17367
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17368
|
+
witness_testimony: "witness_testimony";
|
|
17369
|
+
other: "other";
|
|
17370
|
+
}>>>;
|
|
17272
17371
|
}, z.core.$strip>;
|
|
17273
17372
|
export declare const zUpdateCriterionPath: z.ZodObject<{
|
|
17274
17373
|
standard_id: z.ZodString;
|
|
@@ -17287,6 +17386,16 @@ export declare const zUpdateCriterionResponse: z.ZodObject<{
|
|
|
17287
17386
|
number: z.ZodNullable<z.ZodString>;
|
|
17288
17387
|
body: z.ZodNullable<z.ZodString>;
|
|
17289
17388
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
17389
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
17390
|
+
direct_observation: "direct_observation";
|
|
17391
|
+
simulation: "simulation";
|
|
17392
|
+
oral_questioning: "oral_questioning";
|
|
17393
|
+
written_questioning: "written_questioning";
|
|
17394
|
+
products_of_work: "products_of_work";
|
|
17395
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17396
|
+
witness_testimony: "witness_testimony";
|
|
17397
|
+
other: "other";
|
|
17398
|
+
}>>;
|
|
17290
17399
|
created_at: z.ZodISODateTime;
|
|
17291
17400
|
updated_at: z.ZodISODateTime;
|
|
17292
17401
|
}, z.core.$strip>;
|
|
@@ -17313,6 +17422,16 @@ export declare const zMoveCompetencyCriterionResponse: z.ZodObject<{
|
|
|
17313
17422
|
number: z.ZodNullable<z.ZodString>;
|
|
17314
17423
|
body: z.ZodNullable<z.ZodString>;
|
|
17315
17424
|
evidence_note: z.ZodNullable<z.ZodString>;
|
|
17425
|
+
assessment_method: z.ZodNullable<z.ZodEnum<{
|
|
17426
|
+
direct_observation: "direct_observation";
|
|
17427
|
+
simulation: "simulation";
|
|
17428
|
+
oral_questioning: "oral_questioning";
|
|
17429
|
+
written_questioning: "written_questioning";
|
|
17430
|
+
products_of_work: "products_of_work";
|
|
17431
|
+
recognized_prior_learning: "recognized_prior_learning";
|
|
17432
|
+
witness_testimony: "witness_testimony";
|
|
17433
|
+
other: "other";
|
|
17434
|
+
}>>;
|
|
17316
17435
|
created_at: z.ZodISODateTime;
|
|
17317
17436
|
updated_at: z.ZodISODateTime;
|
|
17318
17437
|
}, z.core.$strip>;
|
|
@@ -17837,7 +17956,7 @@ export declare const zUpdateCheckBody: z.ZodObject<{
|
|
|
17837
17956
|
pending: "pending";
|
|
17838
17957
|
dismissed: "dismissed";
|
|
17839
17958
|
}>>;
|
|
17840
|
-
time_due: z.ZodOptional<z.ZodNullable<z.
|
|
17959
|
+
time_due: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17841
17960
|
assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
17842
17961
|
file_signed_id: z.ZodOptional<z.ZodString>;
|
|
17843
17962
|
}, z.core.$strip>;
|
|
@@ -18154,6 +18273,7 @@ export declare const zCreateDirectUploadBody: z.ZodObject<{
|
|
|
18154
18273
|
"pay_periods.imports.time_entries": "pay_periods.imports.time_entries";
|
|
18155
18274
|
"payrolls.payroll_runs.imports.paystubs": "payrolls.payroll_runs.imports.paystubs";
|
|
18156
18275
|
"payrolls.payroll_runs.imports.wide_paystubs": "payrolls.payroll_runs.imports.wide_paystubs";
|
|
18276
|
+
"projects.documents": "projects.documents";
|
|
18157
18277
|
users: "users";
|
|
18158
18278
|
}>;
|
|
18159
18279
|
blob: z.ZodObject<{
|
|
@@ -19208,30 +19328,42 @@ export declare const zCreateRateRuleBody: z.ZodObject<{
|
|
|
19208
19328
|
}>;
|
|
19209
19329
|
amount_cents: z.ZodString;
|
|
19210
19330
|
}, z.core.$strip>;
|
|
19211
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
19331
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
19332
|
+
type: z.ZodEnum<{
|
|
19333
|
+
time_range: "time_range";
|
|
19334
|
+
}>;
|
|
19212
19335
|
start_time: z.ZodString;
|
|
19213
19336
|
end_time: z.ZodString;
|
|
19214
|
-
type: z.ZodLiteral<"time_range">;
|
|
19215
19337
|
}, z.core.$strip>, z.ZodObject<{
|
|
19338
|
+
type: z.ZodEnum<{
|
|
19339
|
+
days: "days";
|
|
19340
|
+
}>;
|
|
19216
19341
|
days: z.ZodArray<z.ZodInt>;
|
|
19217
|
-
type: z.ZodLiteral<"days">;
|
|
19218
19342
|
}, z.core.$strip>, z.ZodObject<{
|
|
19343
|
+
type: z.ZodEnum<{
|
|
19344
|
+
specific_date: "specific_date";
|
|
19345
|
+
}>;
|
|
19219
19346
|
date: z.ZodISODate;
|
|
19220
|
-
type: z.ZodLiteral<"specific_date">;
|
|
19221
19347
|
}, z.core.$strip>, z.ZodObject<{
|
|
19348
|
+
type: z.ZodEnum<{
|
|
19349
|
+
apprentice_period: "apprentice_period";
|
|
19350
|
+
}>;
|
|
19222
19351
|
period: z.ZodInt;
|
|
19223
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
19224
19352
|
}, z.core.$strip>, z.ZodObject<{
|
|
19353
|
+
type: z.ZodEnum<{
|
|
19354
|
+
apprentice_hours: "apprentice_hours";
|
|
19355
|
+
}>;
|
|
19225
19356
|
min_hours: z.ZodInt;
|
|
19226
19357
|
max_hours: z.ZodInt;
|
|
19227
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
19228
19358
|
}, z.core.$strip>, z.ZodObject<{
|
|
19359
|
+
type: z.ZodEnum<{
|
|
19360
|
+
overtime_multiplier: "overtime_multiplier";
|
|
19361
|
+
}>;
|
|
19229
19362
|
multiplier: z.ZodEnum<{
|
|
19230
19363
|
1.5: "1.5";
|
|
19231
19364
|
"2.0": "2.0";
|
|
19232
19365
|
}>;
|
|
19233
|
-
|
|
19234
|
-
}, z.core.$strip>], "type">>>;
|
|
19366
|
+
}, z.core.$strip>]>>>;
|
|
19235
19367
|
}, z.core.$strip>;
|
|
19236
19368
|
export declare const zCreateRateRulePath: z.ZodObject<{
|
|
19237
19369
|
job_id: z.ZodString;
|
|
@@ -19723,11 +19855,11 @@ export declare const zScheduleJobWageDeterminationChangeBody: z.ZodObject<{
|
|
|
19723
19855
|
}>>>;
|
|
19724
19856
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19725
19857
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
19726
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19727
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19728
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19729
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19730
|
-
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>>;
|
|
19731
19863
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19732
19864
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19733
19865
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -19962,25 +20094,33 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
19962
20094
|
residential: "residential";
|
|
19963
20095
|
}>>>;
|
|
19964
20096
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20097
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19965
20098
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
19966
20099
|
}, z.core.$strip>, z.ZodObject<{
|
|
19967
20100
|
labor_classification: z.ZodString;
|
|
19968
20101
|
pwa_trade_id: z.ZodString;
|
|
19969
20102
|
hourly_rate_cents: z.ZodString;
|
|
19970
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
|
+
}>>>;
|
|
19971
20111
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19972
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19973
20112
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
19974
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19975
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19976
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19977
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
19978
|
-
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>>;
|
|
19979
20118
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19980
20119
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19981
20120
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19982
20121
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19983
20122
|
}, z.core.$strip>>;
|
|
20123
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
19984
20124
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Regional">;
|
|
19985
20125
|
}, z.core.$strip>], "type">;
|
|
19986
20126
|
export declare const zCreateWageDeterminationPath: z.ZodObject<{
|
|
@@ -20142,11 +20282,11 @@ export declare const zUpdateJobWageDeterminationBody: z.ZodObject<{
|
|
|
20142
20282
|
}>>>;
|
|
20143
20283
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20144
20284
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
20145
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20146
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20147
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20148
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
20149
|
-
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>>;
|
|
20150
20290
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20151
20291
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20152
20292
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -22450,30 +22590,42 @@ export declare const zSchedulePayRateRuleChangeBody: z.ZodObject<{
|
|
|
22450
22590
|
}>;
|
|
22451
22591
|
amount_cents: z.ZodString;
|
|
22452
22592
|
}, z.core.$strip>>;
|
|
22453
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
22593
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
22594
|
+
type: z.ZodEnum<{
|
|
22595
|
+
time_range: "time_range";
|
|
22596
|
+
}>;
|
|
22454
22597
|
start_time: z.ZodString;
|
|
22455
22598
|
end_time: z.ZodString;
|
|
22456
|
-
type: z.ZodLiteral<"time_range">;
|
|
22457
22599
|
}, z.core.$strip>, z.ZodObject<{
|
|
22600
|
+
type: z.ZodEnum<{
|
|
22601
|
+
days: "days";
|
|
22602
|
+
}>;
|
|
22458
22603
|
days: z.ZodArray<z.ZodInt>;
|
|
22459
|
-
type: z.ZodLiteral<"days">;
|
|
22460
22604
|
}, z.core.$strip>, z.ZodObject<{
|
|
22605
|
+
type: z.ZodEnum<{
|
|
22606
|
+
specific_date: "specific_date";
|
|
22607
|
+
}>;
|
|
22461
22608
|
date: z.ZodISODate;
|
|
22462
|
-
type: z.ZodLiteral<"specific_date">;
|
|
22463
22609
|
}, z.core.$strip>, z.ZodObject<{
|
|
22610
|
+
type: z.ZodEnum<{
|
|
22611
|
+
apprentice_period: "apprentice_period";
|
|
22612
|
+
}>;
|
|
22464
22613
|
period: z.ZodInt;
|
|
22465
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
22466
22614
|
}, z.core.$strip>, z.ZodObject<{
|
|
22615
|
+
type: z.ZodEnum<{
|
|
22616
|
+
apprentice_hours: "apprentice_hours";
|
|
22617
|
+
}>;
|
|
22467
22618
|
min_hours: z.ZodInt;
|
|
22468
22619
|
max_hours: z.ZodInt;
|
|
22469
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
22470
22620
|
}, z.core.$strip>, z.ZodObject<{
|
|
22621
|
+
type: z.ZodEnum<{
|
|
22622
|
+
overtime_multiplier: "overtime_multiplier";
|
|
22623
|
+
}>;
|
|
22471
22624
|
multiplier: z.ZodEnum<{
|
|
22472
22625
|
1.5: "1.5";
|
|
22473
22626
|
"2.0": "2.0";
|
|
22474
22627
|
}>;
|
|
22475
|
-
|
|
22476
|
-
}, z.core.$strip>], "type">>>;
|
|
22628
|
+
}, z.core.$strip>]>>>;
|
|
22477
22629
|
}, z.core.$strip>;
|
|
22478
22630
|
export declare const zSchedulePayRateRuleChangeHeaders: z.ZodObject<{
|
|
22479
22631
|
'If-Match': z.ZodString;
|
|
@@ -22700,6 +22852,7 @@ export declare const zListPayRateRulesResponse: z.ZodObject<{
|
|
|
22700
22852
|
}, z.core.$strip>>;
|
|
22701
22853
|
}, z.core.$strip>;
|
|
22702
22854
|
export declare const zCreatePayRateRuleBody: z.ZodObject<{
|
|
22855
|
+
effective_date: z.ZodOptional<z.ZodISODate>;
|
|
22703
22856
|
effect: z.ZodObject<{
|
|
22704
22857
|
type: z.ZodEnum<{
|
|
22705
22858
|
wage_increment: "wage_increment";
|
|
@@ -22707,31 +22860,42 @@ export declare const zCreatePayRateRuleBody: z.ZodObject<{
|
|
|
22707
22860
|
}>;
|
|
22708
22861
|
amount_cents: z.ZodString;
|
|
22709
22862
|
}, z.core.$strip>;
|
|
22710
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
22863
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
22864
|
+
type: z.ZodEnum<{
|
|
22865
|
+
time_range: "time_range";
|
|
22866
|
+
}>;
|
|
22711
22867
|
start_time: z.ZodString;
|
|
22712
22868
|
end_time: z.ZodString;
|
|
22713
|
-
type: z.ZodLiteral<"time_range">;
|
|
22714
22869
|
}, z.core.$strip>, z.ZodObject<{
|
|
22870
|
+
type: z.ZodEnum<{
|
|
22871
|
+
days: "days";
|
|
22872
|
+
}>;
|
|
22715
22873
|
days: z.ZodArray<z.ZodInt>;
|
|
22716
|
-
type: z.ZodLiteral<"days">;
|
|
22717
22874
|
}, z.core.$strip>, z.ZodObject<{
|
|
22875
|
+
type: z.ZodEnum<{
|
|
22876
|
+
specific_date: "specific_date";
|
|
22877
|
+
}>;
|
|
22718
22878
|
date: z.ZodISODate;
|
|
22719
|
-
type: z.ZodLiteral<"specific_date">;
|
|
22720
22879
|
}, z.core.$strip>, z.ZodObject<{
|
|
22880
|
+
type: z.ZodEnum<{
|
|
22881
|
+
apprentice_period: "apprentice_period";
|
|
22882
|
+
}>;
|
|
22721
22883
|
period: z.ZodInt;
|
|
22722
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
22723
22884
|
}, z.core.$strip>, z.ZodObject<{
|
|
22885
|
+
type: z.ZodEnum<{
|
|
22886
|
+
apprentice_hours: "apprentice_hours";
|
|
22887
|
+
}>;
|
|
22724
22888
|
min_hours: z.ZodInt;
|
|
22725
22889
|
max_hours: z.ZodInt;
|
|
22726
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
22727
22890
|
}, z.core.$strip>, z.ZodObject<{
|
|
22891
|
+
type: z.ZodEnum<{
|
|
22892
|
+
overtime_multiplier: "overtime_multiplier";
|
|
22893
|
+
}>;
|
|
22728
22894
|
multiplier: z.ZodEnum<{
|
|
22729
22895
|
1.5: "1.5";
|
|
22730
22896
|
"2.0": "2.0";
|
|
22731
22897
|
}>;
|
|
22732
|
-
|
|
22733
|
-
}, z.core.$strip>], "type">>>;
|
|
22734
|
-
effective_date: z.ZodOptional<z.ZodISODate>;
|
|
22898
|
+
}, z.core.$strip>]>>>;
|
|
22735
22899
|
}, z.core.$strip>;
|
|
22736
22900
|
export declare const zCreatePayRateRulePath: z.ZodObject<{
|
|
22737
22901
|
rule_package_id: z.ZodString;
|
|
@@ -22880,6 +23044,7 @@ export declare const zGetPayRateRuleResponse: z.ZodObject<{
|
|
|
22880
23044
|
updated_at: z.ZodISODateTime;
|
|
22881
23045
|
}, z.core.$strip>;
|
|
22882
23046
|
export declare const zUpdatePayRateRuleBody: z.ZodObject<{
|
|
23047
|
+
effective_from: z.ZodOptional<z.ZodISODate>;
|
|
22883
23048
|
effect: z.ZodOptional<z.ZodObject<{
|
|
22884
23049
|
type: z.ZodEnum<{
|
|
22885
23050
|
wage_increment: "wage_increment";
|
|
@@ -22887,31 +23052,42 @@ export declare const zUpdatePayRateRuleBody: z.ZodObject<{
|
|
|
22887
23052
|
}>;
|
|
22888
23053
|
amount_cents: z.ZodString;
|
|
22889
23054
|
}, z.core.$strip>>;
|
|
22890
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
23055
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
23056
|
+
type: z.ZodEnum<{
|
|
23057
|
+
time_range: "time_range";
|
|
23058
|
+
}>;
|
|
22891
23059
|
start_time: z.ZodString;
|
|
22892
23060
|
end_time: z.ZodString;
|
|
22893
|
-
type: z.ZodLiteral<"time_range">;
|
|
22894
23061
|
}, z.core.$strip>, z.ZodObject<{
|
|
23062
|
+
type: z.ZodEnum<{
|
|
23063
|
+
days: "days";
|
|
23064
|
+
}>;
|
|
22895
23065
|
days: z.ZodArray<z.ZodInt>;
|
|
22896
|
-
type: z.ZodLiteral<"days">;
|
|
22897
23066
|
}, z.core.$strip>, z.ZodObject<{
|
|
23067
|
+
type: z.ZodEnum<{
|
|
23068
|
+
specific_date: "specific_date";
|
|
23069
|
+
}>;
|
|
22898
23070
|
date: z.ZodISODate;
|
|
22899
|
-
type: z.ZodLiteral<"specific_date">;
|
|
22900
23071
|
}, z.core.$strip>, z.ZodObject<{
|
|
23072
|
+
type: z.ZodEnum<{
|
|
23073
|
+
apprentice_period: "apprentice_period";
|
|
23074
|
+
}>;
|
|
22901
23075
|
period: z.ZodInt;
|
|
22902
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
22903
23076
|
}, z.core.$strip>, z.ZodObject<{
|
|
23077
|
+
type: z.ZodEnum<{
|
|
23078
|
+
apprentice_hours: "apprentice_hours";
|
|
23079
|
+
}>;
|
|
22904
23080
|
min_hours: z.ZodInt;
|
|
22905
23081
|
max_hours: z.ZodInt;
|
|
22906
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
22907
23082
|
}, z.core.$strip>, z.ZodObject<{
|
|
23083
|
+
type: z.ZodEnum<{
|
|
23084
|
+
overtime_multiplier: "overtime_multiplier";
|
|
23085
|
+
}>;
|
|
22908
23086
|
multiplier: z.ZodEnum<{
|
|
22909
23087
|
1.5: "1.5";
|
|
22910
23088
|
"2.0": "2.0";
|
|
22911
23089
|
}>;
|
|
22912
|
-
|
|
22913
|
-
}, z.core.$strip>], "type">>>;
|
|
22914
|
-
effective_from: z.ZodOptional<z.ZodISODate>;
|
|
23090
|
+
}, z.core.$strip>]>>>;
|
|
22915
23091
|
}, z.core.$strip>;
|
|
22916
23092
|
export declare const zUpdatePayRateRuleHeaders: z.ZodObject<{
|
|
22917
23093
|
'If-Match': z.ZodString;
|
|
@@ -23420,6 +23596,7 @@ export declare const zGetTimeEntryImportResponse: z.ZodObject<{
|
|
|
23420
23596
|
updated_at: z.ZodISODateTime;
|
|
23421
23597
|
}, z.core.$strip>;
|
|
23422
23598
|
export declare const zListPayPeriodsQuery: z.ZodObject<{
|
|
23599
|
+
'filter[timekeeping_pay_period_config_id]': z.ZodOptional<z.ZodString>;
|
|
23423
23600
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
23424
23601
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
23425
23602
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -23455,6 +23632,23 @@ export declare const zListPayPeriodsResponse: z.ZodObject<{
|
|
|
23455
23632
|
updated_at: z.ZodISODateTime;
|
|
23456
23633
|
}, z.core.$strip>>;
|
|
23457
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>;
|
|
23458
23652
|
/**
|
|
23459
23653
|
* Success
|
|
23460
23654
|
*/
|
|
@@ -25215,6 +25409,7 @@ export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<
|
|
|
25215
25409
|
}, z.core.$strip>;
|
|
25216
25410
|
export declare const zListEmploymentsQuery: z.ZodObject<{
|
|
25217
25411
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
25412
|
+
'filter[companies_department_id]': z.ZodOptional<z.ZodString>;
|
|
25218
25413
|
filter: z.ZodOptional<z.ZodString>;
|
|
25219
25414
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
25220
25415
|
'as_of[valid]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -25789,27 +25984,17 @@ export declare const zListCompletionsResponse: z.ZodObject<{
|
|
|
25789
25984
|
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
25790
25985
|
}, z.core.$strip>], "completable_type">>;
|
|
25791
25986
|
}, z.core.$strip>;
|
|
25792
|
-
export declare const zCreateCompletionBody: z.
|
|
25987
|
+
export declare const zCreateCompletionBody: z.ZodObject<{
|
|
25793
25988
|
production_job_scope_price_id: z.ZodString;
|
|
25794
25989
|
performed_by_user_id: z.ZodString;
|
|
25795
25990
|
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25796
25991
|
work_date: z.ZodOptional<z.ZodISODate>;
|
|
25797
25992
|
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25798
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25799
25993
|
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
25800
25994
|
feature_id: z.ZodOptional<z.ZodString>;
|
|
25801
|
-
}, z.core.$strip>>;
|
|
25802
|
-
}, z.core.$strip>>, z.ZodIntersection<z.ZodObject<{
|
|
25803
|
-
production_job_scope_price_id: z.ZodString;
|
|
25804
|
-
performed_by_user_id: z.ZodString;
|
|
25805
|
-
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
25806
|
-
work_date: z.ZodOptional<z.ZodISODate>;
|
|
25807
|
-
position_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
25808
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
25809
|
-
completable_attributes: z.ZodOptional<z.ZodObject<{
|
|
25810
25995
|
quantity_completed: z.ZodOptional<z.ZodInt>;
|
|
25811
25996
|
}, z.core.$strip>>;
|
|
25812
|
-
}, z.core.$strip
|
|
25997
|
+
}, z.core.$strip>;
|
|
25813
25998
|
/**
|
|
25814
25999
|
* Created
|
|
25815
26000
|
*/
|
|
@@ -25963,6 +26148,175 @@ export declare const zUpdateCompletionResponse: z.ZodDiscriminatedUnion<[z.ZodOb
|
|
|
25963
26148
|
work_date: z.ZodISODate;
|
|
25964
26149
|
completable_type: z.ZodLiteral<"Production::QuantityCompletion">;
|
|
25965
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>;
|
|
25966
26320
|
export declare const zCreateProjectTradeBody: z.ZodObject<{
|
|
25967
26321
|
name: z.ZodString;
|
|
25968
26322
|
}, z.core.$strip>;
|
|
@@ -26166,30 +26520,42 @@ export declare const zCreateProjectWageDeterminationRateRuleBody: z.ZodObject<{
|
|
|
26166
26520
|
}>;
|
|
26167
26521
|
amount_cents: z.ZodString;
|
|
26168
26522
|
}, z.core.$strip>;
|
|
26169
|
-
conditions: z.ZodOptional<z.ZodArray<z.
|
|
26523
|
+
conditions: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
|
|
26524
|
+
type: z.ZodEnum<{
|
|
26525
|
+
time_range: "time_range";
|
|
26526
|
+
}>;
|
|
26170
26527
|
start_time: z.ZodString;
|
|
26171
26528
|
end_time: z.ZodString;
|
|
26172
|
-
type: z.ZodLiteral<"time_range">;
|
|
26173
26529
|
}, z.core.$strip>, z.ZodObject<{
|
|
26530
|
+
type: z.ZodEnum<{
|
|
26531
|
+
days: "days";
|
|
26532
|
+
}>;
|
|
26174
26533
|
days: z.ZodArray<z.ZodInt>;
|
|
26175
|
-
type: z.ZodLiteral<"days">;
|
|
26176
26534
|
}, z.core.$strip>, z.ZodObject<{
|
|
26535
|
+
type: z.ZodEnum<{
|
|
26536
|
+
specific_date: "specific_date";
|
|
26537
|
+
}>;
|
|
26177
26538
|
date: z.ZodISODate;
|
|
26178
|
-
type: z.ZodLiteral<"specific_date">;
|
|
26179
26539
|
}, z.core.$strip>, z.ZodObject<{
|
|
26540
|
+
type: z.ZodEnum<{
|
|
26541
|
+
apprentice_period: "apprentice_period";
|
|
26542
|
+
}>;
|
|
26180
26543
|
period: z.ZodInt;
|
|
26181
|
-
type: z.ZodLiteral<"apprentice_period">;
|
|
26182
26544
|
}, z.core.$strip>, z.ZodObject<{
|
|
26545
|
+
type: z.ZodEnum<{
|
|
26546
|
+
apprentice_hours: "apprentice_hours";
|
|
26547
|
+
}>;
|
|
26183
26548
|
min_hours: z.ZodInt;
|
|
26184
26549
|
max_hours: z.ZodInt;
|
|
26185
|
-
type: z.ZodLiteral<"apprentice_hours">;
|
|
26186
26550
|
}, z.core.$strip>, z.ZodObject<{
|
|
26551
|
+
type: z.ZodEnum<{
|
|
26552
|
+
overtime_multiplier: "overtime_multiplier";
|
|
26553
|
+
}>;
|
|
26187
26554
|
multiplier: z.ZodEnum<{
|
|
26188
26555
|
1.5: "1.5";
|
|
26189
26556
|
"2.0": "2.0";
|
|
26190
26557
|
}>;
|
|
26191
|
-
|
|
26192
|
-
}, z.core.$strip>], "type">>>;
|
|
26558
|
+
}, z.core.$strip>]>>>;
|
|
26193
26559
|
}, z.core.$strip>;
|
|
26194
26560
|
export declare const zCreateProjectWageDeterminationRateRulePath: z.ZodObject<{
|
|
26195
26561
|
project_id: z.ZodString;
|
|
@@ -26679,11 +27045,11 @@ export declare const zScheduleProjectWageDeterminationChangeBody: z.ZodObject<{
|
|
|
26679
27045
|
}>>>;
|
|
26680
27046
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26681
27047
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
26682
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26683
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26684
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26685
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26686
|
-
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>>;
|
|
26687
27053
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26688
27054
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26689
27055
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -26918,25 +27284,33 @@ export declare const zCreateProjectWageDeterminationBody: z.ZodDiscriminatedUnio
|
|
|
26918
27284
|
residential: "residential";
|
|
26919
27285
|
}>>>;
|
|
26920
27286
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27287
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26921
27288
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Federal">;
|
|
26922
27289
|
}, z.core.$strip>, z.ZodObject<{
|
|
26923
27290
|
labor_classification: z.ZodString;
|
|
26924
27291
|
pwa_trade_id: z.ZodString;
|
|
26925
27292
|
hourly_rate_cents: z.ZodString;
|
|
26926
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
|
+
}>>>;
|
|
26927
27301
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26928
|
-
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26929
27302
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
26930
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26931
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26932
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26933
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
26934
|
-
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>>;
|
|
26935
27308
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26936
27309
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26937
27310
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26938
27311
|
two_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26939
27312
|
}, z.core.$strip>>;
|
|
27313
|
+
overtime_package_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
26940
27314
|
type: z.ZodLiteral<"Pwa::ProjectWageDeterminations::Regional">;
|
|
26941
27315
|
}, z.core.$strip>], "type">;
|
|
26942
27316
|
export declare const zCreateProjectWageDeterminationPath: z.ZodObject<{
|
|
@@ -27098,11 +27472,11 @@ export declare const zUpdateProjectWageDeterminationBody: z.ZodObject<{
|
|
|
27098
27472
|
}>>>;
|
|
27099
27473
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27100
27474
|
regional_fields: z.ZodOptional<z.ZodObject<{
|
|
27101
|
-
combined_health_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27102
|
-
combined_savings_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27103
|
-
combined_holiday_pto_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27104
|
-
training_fringe_rate_cents: z.ZodOptional<z.ZodString
|
|
27105
|
-
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>>;
|
|
27106
27480
|
one_five_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27107
27481
|
two_x_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27108
27482
|
one_five_x_fringe_adder_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -27244,7 +27618,6 @@ export declare const zCreateProjectBody: z.ZodObject<{
|
|
|
27244
27618
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27245
27619
|
name: z.ZodString;
|
|
27246
27620
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27247
|
-
created_by_user_id: z.ZodString;
|
|
27248
27621
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27249
27622
|
participating_company_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
27250
27623
|
start_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -27268,10 +27641,11 @@ export declare const zCreateProjectBody: z.ZodObject<{
|
|
|
27268
27641
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27269
27642
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27270
27643
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27271
|
-
budget: z.ZodOptional<z.ZodString
|
|
27644
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27272
27645
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27273
27646
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27274
27647
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27648
|
+
created_by_user_id: z.ZodString;
|
|
27275
27649
|
}, z.core.$strip>;
|
|
27276
27650
|
/**
|
|
27277
27651
|
* Created
|
|
@@ -27385,7 +27759,7 @@ export declare const zUpdateProjectBody: z.ZodObject<{
|
|
|
27385
27759
|
administrator_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27386
27760
|
administrator_email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27387
27761
|
administrator_phone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27388
|
-
budget: z.ZodOptional<z.ZodString
|
|
27762
|
+
budget: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27389
27763
|
prevailing_wage_lock_in_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27390
27764
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
27391
27765
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -29127,19 +29501,18 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
29127
29501
|
}, z.core.$strip>>;
|
|
29128
29502
|
}, z.core.$strip>>;
|
|
29129
29503
|
}, z.core.$strip>;
|
|
29130
|
-
export declare const zCreateTimeEntryBody: z.
|
|
29131
|
-
|
|
29132
|
-
|
|
29504
|
+
export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
29505
|
+
timekeeping_time_card_id: z.ZodString;
|
|
29506
|
+
start_time: z.ZodString;
|
|
29507
|
+
end_time: z.ZodString;
|
|
29133
29508
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29134
29509
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29135
29510
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29136
29511
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29137
29512
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29138
|
-
feature_ids: z.ZodOptional<z.
|
|
29139
|
-
|
|
29140
|
-
|
|
29141
|
-
feature_allocation_acknowledged: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
29142
|
-
}, z.core.$strip>>;
|
|
29513
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29514
|
+
feature_allocation_acknowledged: z.ZodOptional<z.ZodBoolean>;
|
|
29515
|
+
}, z.core.$strip>;
|
|
29143
29516
|
/**
|
|
29144
29517
|
* Created
|
|
29145
29518
|
*/
|
|
@@ -29260,18 +29633,17 @@ export declare const zGetTimeEntryResponse: z.ZodObject<{
|
|
|
29260
29633
|
name: z.ZodString;
|
|
29261
29634
|
}, z.core.$strip>>;
|
|
29262
29635
|
}, z.core.$strip>;
|
|
29263
|
-
export declare const zUpdateTimeEntryBody: z.
|
|
29264
|
-
start_time: z.ZodOptional<z.
|
|
29265
|
-
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>;
|
|
29266
29639
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29267
29640
|
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29268
29641
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29269
29642
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29270
29643
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29271
|
-
feature_ids: z.ZodOptional<z.
|
|
29272
|
-
|
|
29273
|
-
|
|
29274
|
-
}, z.core.$strip>>;
|
|
29644
|
+
feature_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
29645
|
+
confirm_allocation_conflict: z.ZodOptional<z.ZodBoolean>;
|
|
29646
|
+
}, z.core.$strip>;
|
|
29275
29647
|
export declare const zUpdateTimeEntryPath: z.ZodObject<{
|
|
29276
29648
|
id: z.ZodString;
|
|
29277
29649
|
}, z.core.$strip>;
|
|
@@ -29314,7 +29686,7 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
|
29314
29686
|
}, z.core.$strip>>;
|
|
29315
29687
|
}, z.core.$strip>;
|
|
29316
29688
|
export declare const zShiftTimecodeGenesisBody: z.ZodObject<{
|
|
29317
|
-
effective_date: z.
|
|
29689
|
+
effective_date: z.ZodString;
|
|
29318
29690
|
}, z.core.$strip>;
|
|
29319
29691
|
export declare const zShiftTimecodeGenesisHeaders: z.ZodObject<{
|
|
29320
29692
|
'If-Match': z.ZodString;
|
|
@@ -29519,8 +29891,8 @@ export declare const zListTimecodeScheduledChangesResponse: z.ZodArray<z.ZodObje
|
|
|
29519
29891
|
updated_at: z.ZodISODateTime;
|
|
29520
29892
|
}, z.core.$strip>>;
|
|
29521
29893
|
export declare const zScheduleTimecodeChangeBody: z.ZodObject<{
|
|
29522
|
-
effective_date: z.
|
|
29523
|
-
name: z.ZodString
|
|
29894
|
+
effective_date: z.ZodString;
|
|
29895
|
+
name: z.ZodOptional<z.ZodString>;
|
|
29524
29896
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29525
29897
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
29526
29898
|
billable: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29724,6 +30096,7 @@ export declare const zListTimecodesResponse: z.ZodObject<{
|
|
|
29724
30096
|
}, z.core.$strip>>;
|
|
29725
30097
|
}, z.core.$strip>;
|
|
29726
30098
|
export declare const zCreateTimecodeBody: z.ZodObject<{
|
|
30099
|
+
effective_date: z.ZodOptional<z.ZodString>;
|
|
29727
30100
|
name: z.ZodString;
|
|
29728
30101
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29729
30102
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -29744,7 +30117,6 @@ export declare const zCreateTimecodeBody: z.ZodObject<{
|
|
|
29744
30117
|
non_job: "non_job";
|
|
29745
30118
|
job_with_timecode: "job_with_timecode";
|
|
29746
30119
|
}>>;
|
|
29747
|
-
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
29748
30120
|
}, z.core.$strip>;
|
|
29749
30121
|
/**
|
|
29750
30122
|
* Created with effective_date
|
|
@@ -29820,8 +30192,8 @@ export declare const zGetTimecodeResponse: z.ZodObject<{
|
|
|
29820
30192
|
updated_at: z.ZodISODateTime;
|
|
29821
30193
|
}, z.core.$strip>;
|
|
29822
30194
|
export declare const zUpdateTimecodeBody: z.ZodObject<{
|
|
29823
|
-
effective_from: z.ZodOptional<z.
|
|
29824
|
-
effective_to: z.ZodOptional<z.
|
|
30195
|
+
effective_from: z.ZodOptional<z.ZodString>;
|
|
30196
|
+
effective_to: z.ZodOptional<z.ZodString>;
|
|
29825
30197
|
name: z.ZodOptional<z.ZodString>;
|
|
29826
30198
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
29827
30199
|
description_is_required: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -31623,18 +31995,18 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
31623
31995
|
}, z.core.$strip>;
|
|
31624
31996
|
export declare const zCreateCompanyBody: z.ZodObject<{
|
|
31625
31997
|
hire_date: z.ZodString;
|
|
31626
|
-
type: z.ZodOptional<z.
|
|
31998
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
31627
31999
|
EMPLOYEE: "EMPLOYEE";
|
|
31628
32000
|
CONTRACTOR: "CONTRACTOR";
|
|
31629
|
-
}
|
|
32001
|
+
}>>;
|
|
31630
32002
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31631
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>;
|
|
31632
32006
|
compensation_type: z.ZodOptional<z.ZodEnum<{
|
|
31633
32007
|
hourly: "hourly";
|
|
31634
32008
|
salary: "salary";
|
|
31635
32009
|
}>>;
|
|
31636
|
-
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
31637
|
-
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31638
32010
|
hourly_rate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31639
32011
|
overtime_eligible: z.ZodOptional<z.ZodBoolean>;
|
|
31640
32012
|
training_annual_amount: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -31787,7 +32159,7 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
31787
32159
|
}, z.core.$strip>;
|
|
31788
32160
|
export declare const zRemoveUserFromCompanyPath: z.ZodObject<{
|
|
31789
32161
|
user_id: z.ZodString;
|
|
31790
|
-
|
|
32162
|
+
id: z.ZodString;
|
|
31791
32163
|
}, z.core.$strip>;
|
|
31792
32164
|
/**
|
|
31793
32165
|
* Success
|
|
@@ -31926,15 +32298,15 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
31926
32298
|
* Update a user
|
|
31927
32299
|
*/
|
|
31928
32300
|
export declare const zUpdateCompanyBody: z.ZodObject<{
|
|
31929
|
-
type: z.ZodOptional<z.
|
|
32301
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
31930
32302
|
EMPLOYEE: "EMPLOYEE";
|
|
31931
32303
|
CONTRACTOR: "CONTRACTOR";
|
|
31932
|
-
}
|
|
32304
|
+
}>>;
|
|
31933
32305
|
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31934
32306
|
manager_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31935
32307
|
payroll_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31936
|
-
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31937
32308
|
enrolled_in_t_and_a: z.ZodOptional<z.ZodBoolean>;
|
|
32309
|
+
hire_date: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
31938
32310
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
31939
32311
|
custom_field_config_id: z.ZodString;
|
|
31940
32312
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -31942,7 +32314,7 @@ export declare const zUpdateCompanyBody: z.ZodObject<{
|
|
|
31942
32314
|
}, z.core.$strip>;
|
|
31943
32315
|
export declare const zUpdateCompanyPath: z.ZodObject<{
|
|
31944
32316
|
user_id: z.ZodString;
|
|
31945
|
-
|
|
32317
|
+
id: z.ZodString;
|
|
31946
32318
|
}, z.core.$strip>;
|
|
31947
32319
|
/**
|
|
31948
32320
|
* Success
|
|
@@ -32301,7 +32673,7 @@ export declare const zCreateUserBody: z.ZodIntersection<z.ZodUnion<readonly [z.Z
|
|
|
32301
32673
|
holiday_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
32302
32674
|
training_annual_minutes: z.ZodOptional<z.ZodString>;
|
|
32303
32675
|
hire_date: z.ZodOptional<z.ZodString>;
|
|
32304
|
-
group_ids: z.ZodOptional<z.
|
|
32676
|
+
group_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
32305
32677
|
custom_fields: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
32306
32678
|
custom_field_config_id: z.ZodString;
|
|
32307
32679
|
value: z.ZodNullable<z.ZodString>;
|
|
@@ -32678,7 +33050,7 @@ export declare const zUpdateUserBody: z.ZodObject<{
|
|
|
32678
33050
|
preferred_last_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32679
33051
|
city: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32680
33052
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32681
|
-
birth_date: z.ZodOptional<z.ZodNullable<z.
|
|
33053
|
+
birth_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
32682
33054
|
dol_apprentice_no: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32683
33055
|
avatar_signed_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32684
33056
|
}, z.core.$strip>;
|