@dsptch-work/api-client 0.3.0 → 0.5.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 +95 -0
- package/dist/gen/index.d.ts +1 -1
- package/dist/gen/sdk.gen.d.ts +13 -19
- package/dist/gen/sdk.gen.js +12 -28
- package/dist/gen/types.gen.d.ts +1197 -827
- package/dist/gen/zod.gen.d.ts +939 -408
- package/dist/gen/zod.gen.js +531 -130
- package/package.json +4 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -1,13 +1,321 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
/**
|
|
3
|
-
*
|
|
3
|
+
* RFC 9457 problem-details body returned on every failed request, as `application/problem+json`.
|
|
4
4
|
*/
|
|
5
|
-
export declare const
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
export declare const zProblem: z.ZodObject<{
|
|
6
|
+
type: z.ZodURL;
|
|
7
|
+
title: z.ZodString;
|
|
8
|
+
status: z.ZodInt;
|
|
9
|
+
detail: z.ZodString;
|
|
10
|
+
instance: z.ZodOptional<z.ZodURL>;
|
|
10
11
|
}, z.core.$strip>;
|
|
12
|
+
/**
|
|
13
|
+
* Error types
|
|
14
|
+
*
|
|
15
|
+
* Every way a request can fail has a stable machine-readable identifier: the `type` URI of its
|
|
16
|
+
* `application/problem+json` response, whose fragment is the short form listed here.
|
|
17
|
+
* Identifiers are stable contract — messages (`detail`) may be reworded at any time. Entries
|
|
18
|
+
* are grouped by the HTTP status they render with.
|
|
19
|
+
*
|
|
20
|
+
* ## 400
|
|
21
|
+
*
|
|
22
|
+
* ### blank_axis
|
|
23
|
+
*
|
|
24
|
+
* **Blank Temporal Axis Value**
|
|
25
|
+
*
|
|
26
|
+
* An `as_of` coordinate is present but blank. A coordinate must name a point in time; send a parseable date-time, or omit the axis to read at now.
|
|
27
|
+
*
|
|
28
|
+
* ### invalid_cursor
|
|
29
|
+
*
|
|
30
|
+
* **Invalid Pagination Cursor**
|
|
31
|
+
*
|
|
32
|
+
* The `page` cursor is not decodable. Resend a cursor exactly as returned in a prior response's pagination links, or omit it to start from the first page.
|
|
33
|
+
*
|
|
34
|
+
* ### invalid_filter_key
|
|
35
|
+
*
|
|
36
|
+
* **Unknown Filter Key**
|
|
37
|
+
*
|
|
38
|
+
* The `filter` object names a key the endpoint does not declare — an undeclared filter, an unknown range sub-key, or an unsupported operator. Remove or correct the key per the endpoint's documented filter set.
|
|
39
|
+
*
|
|
40
|
+
* ### invalid_limit
|
|
41
|
+
*
|
|
42
|
+
* **Invalid Page Limit**
|
|
43
|
+
*
|
|
44
|
+
* The `page` limit is not a positive integer. Send a positive integer or omit it for the default; values above the cap are clamped, never rejected.
|
|
45
|
+
*
|
|
46
|
+
* ### invalid_signature
|
|
47
|
+
*
|
|
48
|
+
* **Invalid Signed Token**
|
|
49
|
+
*
|
|
50
|
+
* A signed token in the request fails signature verification. Re-obtain the token from the endpoint that issued it.
|
|
51
|
+
*
|
|
52
|
+
* ### non_range_filter_value
|
|
53
|
+
*
|
|
54
|
+
* **Range Filter Needs Bounds**
|
|
55
|
+
*
|
|
56
|
+
* A range filter key carries a bare value instead of bounds. Send the object form with `gte` and/or `lte`.
|
|
57
|
+
*
|
|
58
|
+
* ### non_scalar_axis
|
|
59
|
+
*
|
|
60
|
+
* **Temporal Axis Not Scalar**
|
|
61
|
+
*
|
|
62
|
+
* An `as_of` axis value is an object or array rather than a single date-time. Send one scalar value per axis.
|
|
63
|
+
*
|
|
64
|
+
* ### non_scalar_filter_value
|
|
65
|
+
*
|
|
66
|
+
* **Filter Value Not Scalar**
|
|
67
|
+
*
|
|
68
|
+
* An equality filter key carries an array or object outside the supported `null` operator form. Send a single scalar value.
|
|
69
|
+
*
|
|
70
|
+
* ### parameter_missing
|
|
71
|
+
*
|
|
72
|
+
* **Required Parameter Missing**
|
|
73
|
+
*
|
|
74
|
+
* A required request parameter is absent or empty. The message names it; supply the parameter and retry.
|
|
75
|
+
*
|
|
76
|
+
* ### parameter_not_object
|
|
77
|
+
*
|
|
78
|
+
* **Parameter Must Be An Object**
|
|
79
|
+
*
|
|
80
|
+
* A container query parameter — `filter`, `page`, or `as_of` — arrived as a scalar, array, or blank value instead of a nested object. Use the object syntax, for example `filter[key]=value`.
|
|
81
|
+
*
|
|
82
|
+
* ### unknown_axis
|
|
83
|
+
*
|
|
84
|
+
* **Unknown Temporal Axis Key**
|
|
85
|
+
*
|
|
86
|
+
* The `as_of` parameter carries a sub-key that is not a temporal axis. Remove the unknown key.
|
|
87
|
+
*
|
|
88
|
+
* ### unknown_key
|
|
89
|
+
*
|
|
90
|
+
* **Unknown Query Parameter**
|
|
91
|
+
*
|
|
92
|
+
* The query string carries a top-level key outside the declared containers — typically a misspelled container. Remove or correct it; unknown keys are never silently ignored.
|
|
93
|
+
*
|
|
94
|
+
* ### unsupported_axis
|
|
95
|
+
*
|
|
96
|
+
* **Axis Unsupported By Resource**
|
|
97
|
+
*
|
|
98
|
+
* The `as_of` parameter names a temporal axis this resource does not expose. Drop the axis.
|
|
99
|
+
*
|
|
100
|
+
* ### valid_axis_on_timeline
|
|
101
|
+
*
|
|
102
|
+
* **Valid-Time Pin On A Timeline**
|
|
103
|
+
*
|
|
104
|
+
* A version-timeline endpoint received a valid-time pin, but the timeline ranges over all of valid time. Read the resource itself to get one version.
|
|
105
|
+
*
|
|
106
|
+
* ## 401
|
|
107
|
+
*
|
|
108
|
+
* ### unauthorized
|
|
109
|
+
*
|
|
110
|
+
* **Invalid Or Missing Credentials**
|
|
111
|
+
*
|
|
112
|
+
* The request presents no usable credential — the API key is missing or invalid. Supply a valid key in the `x-api-key` header.
|
|
113
|
+
*
|
|
114
|
+
* ## 403
|
|
115
|
+
*
|
|
116
|
+
* ### company_scoped_key_required
|
|
117
|
+
*
|
|
118
|
+
* **Company-Scoped Key Required**
|
|
119
|
+
*
|
|
120
|
+
* The endpoint must act within a company tenant, but the presented credential carries none. Retry with a company- or user-scoped API key.
|
|
121
|
+
*
|
|
122
|
+
* ### forbidden
|
|
123
|
+
*
|
|
124
|
+
* **Action Not Authorized**
|
|
125
|
+
*
|
|
126
|
+
* The credential is valid, but this action on this record is refused by policy. The operation is not available to this principal.
|
|
127
|
+
*
|
|
128
|
+
* ### insufficient_api_key_scope
|
|
129
|
+
*
|
|
130
|
+
* **Insufficient API Key Scope**
|
|
131
|
+
*
|
|
132
|
+
* The API key lacks the scope grant for this endpoint and verb. Grant the required scope to the key and retry.
|
|
133
|
+
*
|
|
134
|
+
* ## 404
|
|
135
|
+
*
|
|
136
|
+
* ### not_found
|
|
137
|
+
*
|
|
138
|
+
* **Resource Not Found**
|
|
139
|
+
*
|
|
140
|
+
* The identified record does not exist, or is outside what this credential can see. Verify the id and the key's access.
|
|
141
|
+
*
|
|
142
|
+
* ## 409
|
|
143
|
+
*
|
|
144
|
+
* ### recorded_since_termination
|
|
145
|
+
*
|
|
146
|
+
* **Timecode Changed Since Termination**
|
|
147
|
+
*
|
|
148
|
+
* Cancelling this timecode's scheduled termination would silently discard changes recorded since it was terminated. Re-read the timecode and reconcile before retrying.
|
|
149
|
+
*
|
|
150
|
+
* ### version_overlap
|
|
151
|
+
*
|
|
152
|
+
* **Version Overlap**
|
|
153
|
+
*
|
|
154
|
+
* The write conflicts with what is already recorded for the resource — another version occupies the same span, or the write contradicts the resource's recorded identity. Re-read the current state and retry on top of it.
|
|
155
|
+
*
|
|
156
|
+
* ## 422
|
|
157
|
+
*
|
|
158
|
+
* ### attachment_not_image
|
|
159
|
+
*
|
|
160
|
+
* **Attachment Not An Image**
|
|
161
|
+
*
|
|
162
|
+
* The upload behind an image attachment's signed id is not an image content type. Upload an image file.
|
|
163
|
+
*
|
|
164
|
+
* ### company_not_employer
|
|
165
|
+
*
|
|
166
|
+
* **Company Not Program Employer**
|
|
167
|
+
*
|
|
168
|
+
* Creating an apprentice requires the acting company to be registered as an employer in the apprenticeship program, and it is not. Register the company as a program employer first.
|
|
169
|
+
*
|
|
170
|
+
* ### confirm_apprenticeship_conflict
|
|
171
|
+
*
|
|
172
|
+
* **Apprenticeship Allocation Conflict**
|
|
173
|
+
*
|
|
174
|
+
* A time-entry update would invalidate the time card's apprenticeship hour allocations, and the request did not confirm that. Retry with `confirm_allocation_conflict` set to accept removing those allocations.
|
|
175
|
+
*
|
|
176
|
+
* ### destroy_restricted
|
|
177
|
+
*
|
|
178
|
+
* **Deletion Blocked By Dependencies**
|
|
179
|
+
*
|
|
180
|
+
* A deletion is refused by the record's guards — dependent records restrict removal. The message carries the specifics; remove or reassign the dependents first.
|
|
181
|
+
*
|
|
182
|
+
* ### invalid_date
|
|
183
|
+
*
|
|
184
|
+
* **Unparseable Date Value**
|
|
185
|
+
*
|
|
186
|
+
* A date-time value cannot be parsed, or falls outside the storable range. Format values as ISO 8601 (for example `2026-08-05` or `2026-08-05T14:30`).
|
|
187
|
+
*
|
|
188
|
+
* ### invalid_filter_value
|
|
189
|
+
*
|
|
190
|
+
* **Invalid Filter Value**
|
|
191
|
+
*
|
|
192
|
+
* A declared filter key carries a value outside its accepted set — a non-boolean on a boolean key, or a token outside an enum key's vocabulary. Send an accepted value.
|
|
193
|
+
*
|
|
194
|
+
* ### invalid_iso8601_duration
|
|
195
|
+
*
|
|
196
|
+
* **Invalid ISO 8601 Duration**
|
|
197
|
+
*
|
|
198
|
+
* A duration value is not a parseable ISO 8601 duration. Format it like `P2Y`, `P1D`, or `-PT15M`.
|
|
199
|
+
*
|
|
200
|
+
* ### invalid_placement_move
|
|
201
|
+
*
|
|
202
|
+
* **Move Conflicts With Placement**
|
|
203
|
+
*
|
|
204
|
+
* An inventory move does not fit the item's current placement. The message carries the reason; check the item's placement and adjust the move.
|
|
205
|
+
*
|
|
206
|
+
* ### invalid_signed_id
|
|
207
|
+
*
|
|
208
|
+
* **Invalid Attachment Signed Id**
|
|
209
|
+
*
|
|
210
|
+
* An attachment signed id — an avatar's, a logo's — is not a string or fails signature verification. Obtain a fresh signed id from the direct-uploads endpoint and retry.
|
|
211
|
+
*
|
|
212
|
+
* ### non_numeric_cents
|
|
213
|
+
*
|
|
214
|
+
* **Non-Numeric Money Value**
|
|
215
|
+
*
|
|
216
|
+
* A money parameter is not a numeric value in cents. Send money as a numeric cents value.
|
|
217
|
+
*
|
|
218
|
+
* ### nothing_to_cancel
|
|
219
|
+
*
|
|
220
|
+
* **Nothing To Cancel**
|
|
221
|
+
*
|
|
222
|
+
* A cancellation found nothing pending on the addressed resource — no future scheduled changes, or no scheduled termination. Re-read the resource to see what is actually scheduled.
|
|
223
|
+
*
|
|
224
|
+
* ### pagination_failed
|
|
225
|
+
*
|
|
226
|
+
* **Pagination Failed**
|
|
227
|
+
*
|
|
228
|
+
* Pagination could not be applied to the request. Retry without the `page` parameter, or with a fresh cursor.
|
|
229
|
+
*
|
|
230
|
+
* ### subtype_foreign_keys
|
|
231
|
+
*
|
|
232
|
+
* **Foreign Subtype Attributes**
|
|
233
|
+
*
|
|
234
|
+
* A nested-attributes write carries keys the record's resolved subtype does not accept. Send only the keys valid for that subtype; the message names the offending ones.
|
|
235
|
+
*
|
|
236
|
+
* ### synced_determination
|
|
237
|
+
*
|
|
238
|
+
* **Determination Synced From Project**
|
|
239
|
+
*
|
|
240
|
+
* Rate rules cannot be written on a wage determination synced from a project. Manage the rules on the project instead.
|
|
241
|
+
*
|
|
242
|
+
* ### user_not_company_member
|
|
243
|
+
*
|
|
244
|
+
* **User Outside Company**
|
|
245
|
+
*
|
|
246
|
+
* A user reference — an approver, a performing user — does not name a member of the acting company. The message names the field; use a user id belonging to the company.
|
|
247
|
+
*
|
|
248
|
+
* ### validation_failed
|
|
249
|
+
*
|
|
250
|
+
* **Validation Failed**
|
|
251
|
+
*
|
|
252
|
+
* A well-formed value violates a declared constraint — a value outside a field's documented set, a malformed or incomplete nested payload, a record validation refusal, or a reference to a record that does not exist. The message states the violated constraint; correct the value and retry.
|
|
253
|
+
*
|
|
254
|
+
* ### wage_schedule_outside_program
|
|
255
|
+
*
|
|
256
|
+
* **Wage Schedule Outside Program**
|
|
257
|
+
*
|
|
258
|
+
* The apprentice's wage schedule does not belong to the program in the URL. Use a schedule from that program.
|
|
259
|
+
*
|
|
260
|
+
* ## 429
|
|
261
|
+
*
|
|
262
|
+
* ### too_many_requests
|
|
263
|
+
*
|
|
264
|
+
* **Rate Limit Exceeded**
|
|
265
|
+
*
|
|
266
|
+
* The API key exceeded its request budget. Wait for the `Retry-After` window before retrying.
|
|
267
|
+
*
|
|
268
|
+
* ## 500
|
|
269
|
+
*
|
|
270
|
+
* ### internal_error
|
|
271
|
+
*
|
|
272
|
+
* **Internal Server Error**
|
|
273
|
+
*
|
|
274
|
+
* Something failed on the server; nothing in the request needs fixing. Retry later, or report the problem if it persists.
|
|
275
|
+
*
|
|
276
|
+
*/
|
|
277
|
+
export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
278
|
+
blank_axis: "blank_axis";
|
|
279
|
+
invalid_cursor: "invalid_cursor";
|
|
280
|
+
invalid_filter_key: "invalid_filter_key";
|
|
281
|
+
invalid_limit: "invalid_limit";
|
|
282
|
+
invalid_signature: "invalid_signature";
|
|
283
|
+
non_range_filter_value: "non_range_filter_value";
|
|
284
|
+
non_scalar_axis: "non_scalar_axis";
|
|
285
|
+
non_scalar_filter_value: "non_scalar_filter_value";
|
|
286
|
+
parameter_missing: "parameter_missing";
|
|
287
|
+
parameter_not_object: "parameter_not_object";
|
|
288
|
+
unknown_axis: "unknown_axis";
|
|
289
|
+
unknown_key: "unknown_key";
|
|
290
|
+
unsupported_axis: "unsupported_axis";
|
|
291
|
+
valid_axis_on_timeline: "valid_axis_on_timeline";
|
|
292
|
+
unauthorized: "unauthorized";
|
|
293
|
+
company_scoped_key_required: "company_scoped_key_required";
|
|
294
|
+
forbidden: "forbidden";
|
|
295
|
+
insufficient_api_key_scope: "insufficient_api_key_scope";
|
|
296
|
+
not_found: "not_found";
|
|
297
|
+
recorded_since_termination: "recorded_since_termination";
|
|
298
|
+
version_overlap: "version_overlap";
|
|
299
|
+
attachment_not_image: "attachment_not_image";
|
|
300
|
+
company_not_employer: "company_not_employer";
|
|
301
|
+
confirm_apprenticeship_conflict: "confirm_apprenticeship_conflict";
|
|
302
|
+
destroy_restricted: "destroy_restricted";
|
|
303
|
+
invalid_date: "invalid_date";
|
|
304
|
+
invalid_filter_value: "invalid_filter_value";
|
|
305
|
+
invalid_iso8601_duration: "invalid_iso8601_duration";
|
|
306
|
+
invalid_placement_move: "invalid_placement_move";
|
|
307
|
+
invalid_signed_id: "invalid_signed_id";
|
|
308
|
+
non_numeric_cents: "non_numeric_cents";
|
|
309
|
+
nothing_to_cancel: "nothing_to_cancel";
|
|
310
|
+
pagination_failed: "pagination_failed";
|
|
311
|
+
subtype_foreign_keys: "subtype_foreign_keys";
|
|
312
|
+
synced_determination: "synced_determination";
|
|
313
|
+
user_not_company_member: "user_not_company_member";
|
|
314
|
+
validation_failed: "validation_failed";
|
|
315
|
+
wage_schedule_outside_program: "wage_schedule_outside_program";
|
|
316
|
+
too_many_requests: "too_many_requests";
|
|
317
|
+
internal_error: "internal_error";
|
|
318
|
+
}>;
|
|
11
319
|
export declare const zApiKeyScopeResponseObject: z.ZodObject<{
|
|
12
320
|
resource: z.ZodString;
|
|
13
321
|
action: z.ZodEnum<{
|
|
@@ -430,12 +738,6 @@ export declare const zTimecodeParameters: z.ZodObject<{
|
|
|
430
738
|
}>>;
|
|
431
739
|
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
432
740
|
}, z.core.$strip>;
|
|
433
|
-
/**
|
|
434
|
-
* Optional request body for terminating a timecode; the whole body may be omitted to terminate as of today.
|
|
435
|
-
*/
|
|
436
|
-
export declare const zTimecodeTerminationParameters: z.ZodObject<{
|
|
437
|
-
termination_date: z.ZodOptional<z.ZodISODate>;
|
|
438
|
-
}, z.core.$strip>;
|
|
439
741
|
/**
|
|
440
742
|
* 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` and `name` are required; omitted attributes inherit the current version's values.
|
|
441
743
|
*/
|
|
@@ -475,7 +777,7 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
|
|
|
475
777
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
476
778
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
477
779
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
478
|
-
|
|
780
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
479
781
|
created_at: z.ZodISODateTime;
|
|
480
782
|
updated_at: z.ZodISODateTime;
|
|
481
783
|
}, z.core.$strip>;
|
|
@@ -491,7 +793,7 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
491
793
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
492
794
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
493
795
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
-
|
|
796
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
495
797
|
}, z.core.$strip>;
|
|
496
798
|
/**
|
|
497
799
|
* The product's filled attribute values — one entry per attribute assigned to its category.
|
|
@@ -605,7 +907,7 @@ export declare const zDepartmentParameters: z.ZodObject<{
|
|
|
605
907
|
*/
|
|
606
908
|
export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
|
|
607
909
|
id: z.ZodString;
|
|
608
|
-
|
|
910
|
+
timekeeping_time_card_id: z.ZodString;
|
|
609
911
|
date: z.ZodISODate;
|
|
610
912
|
approver_user_id: z.ZodString;
|
|
611
913
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -1097,9 +1399,9 @@ export declare const zUserUpdateParameters: z.ZodObject<{
|
|
|
1097
1399
|
export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
1098
1400
|
id: z.ZodString;
|
|
1099
1401
|
user_id: z.ZodString;
|
|
1100
|
-
|
|
1402
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1101
1403
|
job_id: z.ZodNullable<z.ZodString>;
|
|
1102
|
-
|
|
1404
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
1103
1405
|
state: z.ZodNullable<z.ZodString>;
|
|
1104
1406
|
description: z.ZodNullable<z.ZodString>;
|
|
1105
1407
|
clock_punched: z.ZodBoolean;
|
|
@@ -1119,7 +1421,7 @@ export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
|
1119
1421
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
1120
1422
|
currency: z.ZodNullable<z.ZodString>;
|
|
1121
1423
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
1122
|
-
|
|
1424
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1123
1425
|
start_time: z.ZodISODateTime;
|
|
1124
1426
|
end_time: z.ZodISODateTime;
|
|
1125
1427
|
created_at: z.ZodISODateTime;
|
|
@@ -1143,7 +1445,7 @@ export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
|
1143
1445
|
*/
|
|
1144
1446
|
export declare const zTimeEntryApprovalResponseObject: z.ZodObject<{
|
|
1145
1447
|
id: z.ZodString;
|
|
1146
|
-
|
|
1448
|
+
timekeeping_time_entry_id: z.ZodString;
|
|
1147
1449
|
time_card_approval_id: z.ZodNullable<z.ZodString>;
|
|
1148
1450
|
status: z.ZodEnum<{
|
|
1149
1451
|
pending: "pending";
|
|
@@ -1165,14 +1467,14 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
|
|
|
1165
1467
|
approver_user_id: z.ZodString;
|
|
1166
1468
|
}, z.core.$strip>;
|
|
1167
1469
|
/**
|
|
1168
|
-
* Request body for creating or updating a time entry; on create,
|
|
1470
|
+
* Request body for creating or updating a time entry; on create, timekeeping_time_card_id, start_time, and end_time are required.
|
|
1169
1471
|
*/
|
|
1170
1472
|
export declare const zTimeEntryParameters: z.ZodObject<{
|
|
1171
|
-
|
|
1473
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1172
1474
|
start_time: z.ZodISODateTime;
|
|
1173
1475
|
end_time: z.ZodISODateTime;
|
|
1174
1476
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1175
|
-
|
|
1477
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1176
1478
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1177
1479
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1178
1480
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1211,7 +1513,7 @@ export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
|
1211
1513
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1212
1514
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1213
1515
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1214
|
-
|
|
1516
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
1517
|
}, z.core.$strip>;
|
|
1216
1518
|
/**
|
|
1217
1519
|
* A work type: a named category of job activity, either a shared global default (no owning company) or an entry scoped to a specific company.
|
|
@@ -1286,6 +1588,10 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1286
1588
|
}>>;
|
|
1287
1589
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
1288
1590
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1591
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
1592
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
1593
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
1594
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
1289
1595
|
created_at: z.ZodISODateTime;
|
|
1290
1596
|
updated_at: z.ZodISODateTime;
|
|
1291
1597
|
}, z.core.$strip>;
|
|
@@ -1464,7 +1770,7 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
1464
1770
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1465
1771
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1466
1772
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1467
|
-
|
|
1773
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1468
1774
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1469
1775
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1470
1776
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1537,7 +1843,7 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
1537
1843
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1538
1844
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1539
1845
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1540
|
-
|
|
1846
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1541
1847
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1542
1848
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1543
1849
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -1600,7 +1906,7 @@ export declare const zUserCompanyScheduledChange: z.ZodObject<{
|
|
|
1600
1906
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1601
1907
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1602
1908
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1603
|
-
|
|
1909
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1604
1910
|
}, z.core.$strip>;
|
|
1605
1911
|
/**
|
|
1606
1912
|
* A worker's scheduled compensation timeline at your company — the version currently in effect plus any future-dated versions.
|
|
@@ -1620,7 +1926,7 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
1620
1926
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1621
1927
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1622
1928
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1623
|
-
|
|
1929
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1624
1930
|
}, z.core.$strip>>;
|
|
1625
1931
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1626
1932
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1635,7 +1941,7 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
1635
1941
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1636
1942
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1637
1943
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1638
|
-
|
|
1944
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1639
1945
|
}, z.core.$strip>>>;
|
|
1640
1946
|
}, z.core.$strip>;
|
|
1641
1947
|
/**
|
|
@@ -1650,7 +1956,7 @@ export declare const zUserCompanyScheduledTerminationParameters: z.ZodObject<{
|
|
|
1650
1956
|
export declare const zTimeCardResponseObject: z.ZodObject<{
|
|
1651
1957
|
id: z.ZodString;
|
|
1652
1958
|
user_id: z.ZodString;
|
|
1653
|
-
|
|
1959
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1654
1960
|
locked: z.ZodBoolean;
|
|
1655
1961
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
1656
1962
|
pending: "pending";
|
|
@@ -1696,11 +2002,11 @@ export declare const zTimeCardResponseObject: z.ZodObject<{
|
|
|
1696
2002
|
*/
|
|
1697
2003
|
export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
|
|
1698
2004
|
id: z.ZodString;
|
|
1699
|
-
|
|
2005
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
1700
2006
|
job_id: z.ZodString;
|
|
1701
|
-
|
|
2007
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1702
2008
|
user_id: z.ZodString;
|
|
1703
|
-
|
|
2009
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1704
2010
|
date: z.ZodISODate;
|
|
1705
2011
|
minutes_worked: z.ZodInt;
|
|
1706
2012
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -1784,7 +2090,7 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
|
|
|
1784
2090
|
*/
|
|
1785
2091
|
export declare const zTimeCardApprovalResponseObject: z.ZodObject<{
|
|
1786
2092
|
id: z.ZodString;
|
|
1787
|
-
|
|
2093
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1788
2094
|
status: z.ZodEnum<{
|
|
1789
2095
|
pending: "pending";
|
|
1790
2096
|
approved: "approved";
|
|
@@ -1927,7 +2233,7 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
|
|
|
1927
2233
|
id: z.ZodString;
|
|
1928
2234
|
bitemporal_id: z.ZodString;
|
|
1929
2235
|
name: z.ZodString;
|
|
1930
|
-
|
|
2236
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1931
2237
|
compensation_element_name: z.ZodString;
|
|
1932
2238
|
compensation_element_category: z.ZodEnum<{
|
|
1933
2239
|
other: "other";
|
|
@@ -1939,7 +2245,7 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
|
|
|
1939
2245
|
garnishment: "garnishment";
|
|
1940
2246
|
}>;
|
|
1941
2247
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1942
|
-
|
|
2248
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1943
2249
|
contributor: z.ZodEnum<{
|
|
1944
2250
|
any: "any";
|
|
1945
2251
|
employee: "employee";
|
|
@@ -1959,7 +2265,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1959
2265
|
id: z.ZodString;
|
|
1960
2266
|
bitemporal_id: z.ZodString;
|
|
1961
2267
|
name: z.ZodString;
|
|
1962
|
-
|
|
2268
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1963
2269
|
compensation_element_name: z.ZodString;
|
|
1964
2270
|
compensation_element_category: z.ZodEnum<{
|
|
1965
2271
|
other: "other";
|
|
@@ -1971,7 +2277,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1971
2277
|
garnishment: "garnishment";
|
|
1972
2278
|
}>;
|
|
1973
2279
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1974
|
-
|
|
2280
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1975
2281
|
contributor: z.ZodEnum<{
|
|
1976
2282
|
any: "any";
|
|
1977
2283
|
employee: "employee";
|
|
@@ -1995,7 +2301,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1995
2301
|
id: z.ZodString;
|
|
1996
2302
|
bitemporal_id: z.ZodString;
|
|
1997
2303
|
name: z.ZodString;
|
|
1998
|
-
|
|
2304
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1999
2305
|
compensation_element_name: z.ZodString;
|
|
2000
2306
|
compensation_element_category: z.ZodEnum<{
|
|
2001
2307
|
other: "other";
|
|
@@ -2007,7 +2313,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
2007
2313
|
garnishment: "garnishment";
|
|
2008
2314
|
}>;
|
|
2009
2315
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
2010
|
-
|
|
2316
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
2011
2317
|
contributor: z.ZodEnum<{
|
|
2012
2318
|
any: "any";
|
|
2013
2319
|
employee: "employee";
|
|
@@ -2030,8 +2336,8 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
2030
2336
|
export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
2031
2337
|
id: z.ZodString;
|
|
2032
2338
|
company_id: z.ZodString;
|
|
2033
|
-
|
|
2034
|
-
|
|
2339
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2340
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
2035
2341
|
run_type: z.ZodEnum<{
|
|
2036
2342
|
CORRECTION: "CORRECTION";
|
|
2037
2343
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -2046,12 +2352,12 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
|
2046
2352
|
updated_at: z.ZodISODateTime;
|
|
2047
2353
|
}, z.core.$strip>;
|
|
2048
2354
|
/**
|
|
2049
|
-
* Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires
|
|
2355
|
+
* Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires timekeeping_pay_period_id.
|
|
2050
2356
|
*/
|
|
2051
2357
|
export declare const zPayrollRunParameters: z.ZodObject<{
|
|
2052
2358
|
company_id: z.ZodString;
|
|
2053
|
-
|
|
2054
|
-
|
|
2359
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2360
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2055
2361
|
run_type: z.ZodEnum<{
|
|
2056
2362
|
CORRECTION: "CORRECTION";
|
|
2057
2363
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -2350,12 +2656,12 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
|
|
|
2350
2656
|
not_applicable: "not_applicable";
|
|
2351
2657
|
dismissed: "dismissed";
|
|
2352
2658
|
}>;
|
|
2353
|
-
|
|
2659
|
+
compliances_requirement_id: z.ZodString;
|
|
2354
2660
|
company_id: z.ZodNullable<z.ZodString>;
|
|
2355
2661
|
job_id: z.ZodNullable<z.ZodString>;
|
|
2356
2662
|
project_id: z.ZodNullable<z.ZodString>;
|
|
2357
|
-
|
|
2358
|
-
|
|
2663
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
2664
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2359
2665
|
user_id: z.ZodNullable<z.ZodString>;
|
|
2360
2666
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
2361
2667
|
title: z.ZodString;
|
|
@@ -2410,18 +2716,18 @@ export declare const zPaystubResponseObject: z.ZodObject<{
|
|
|
2410
2716
|
external_id: z.ZodNullable<z.ZodString>;
|
|
2411
2717
|
check_number: z.ZodNullable<z.ZodString>;
|
|
2412
2718
|
user_id: z.ZodString;
|
|
2413
|
-
|
|
2414
|
-
|
|
2719
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
2720
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
2415
2721
|
created_at: z.ZodISODateTime;
|
|
2416
2722
|
updated_at: z.ZodISODateTime;
|
|
2417
2723
|
}, z.core.$strip>;
|
|
2418
2724
|
/**
|
|
2419
|
-
* Request body for creating or updating a paystub.
|
|
2725
|
+
* Request body for creating or updating a paystub. payrolls_payroll_run_id and user_id are required; timekeeping_time_card_id is required for an on-cycle run and disallowed for an off-cycle run.
|
|
2420
2726
|
*/
|
|
2421
2727
|
export declare const zPaystubParameters: z.ZodObject<{
|
|
2422
|
-
|
|
2728
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
2423
2729
|
user_id: z.ZodString;
|
|
2424
|
-
|
|
2730
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2425
2731
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2426
2732
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2427
2733
|
}, z.core.$strip>;
|
|
@@ -2430,8 +2736,8 @@ export declare const zPaystubParameters: z.ZodObject<{
|
|
|
2430
2736
|
*/
|
|
2431
2737
|
export declare const zPriorPeriodAdjustmentResponseObject: z.ZodObject<{
|
|
2432
2738
|
id: z.ZodString;
|
|
2433
|
-
|
|
2434
|
-
|
|
2739
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2740
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
2435
2741
|
job_id: z.ZodNullable<z.ZodString>;
|
|
2436
2742
|
created_by_user_id: z.ZodString;
|
|
2437
2743
|
adjustment_type: z.ZodEnum<{
|
|
@@ -2456,7 +2762,7 @@ export declare const zPriorPeriodAdjustmentResponseObject: z.ZodObject<{
|
|
|
2456
2762
|
*/
|
|
2457
2763
|
export declare const zTimeCardActualsResponseObject: z.ZodObject<{
|
|
2458
2764
|
id: z.ZodString;
|
|
2459
|
-
|
|
2765
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2460
2766
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
2461
2767
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
2462
2768
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -2511,9 +2817,9 @@ export declare const zTimeCardActualsResponseObject: z.ZodObject<{
|
|
|
2511
2817
|
*/
|
|
2512
2818
|
export declare const zPaystubLineItemResponseObject: z.ZodObject<{
|
|
2513
2819
|
id: z.ZodString;
|
|
2514
|
-
|
|
2515
|
-
|
|
2516
|
-
|
|
2820
|
+
payrolls_external_map_id: z.ZodString;
|
|
2821
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
2822
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2517
2823
|
user_id: z.ZodNullable<z.ZodString>;
|
|
2518
2824
|
external_map: z.ZodObject<{
|
|
2519
2825
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2543,13 +2849,13 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
|
|
|
2543
2849
|
* Request body for creating or updating a paystub line item. All four fields are required.
|
|
2544
2850
|
*/
|
|
2545
2851
|
export declare const zPaystubLineItemParameters: z.ZodObject<{
|
|
2546
|
-
|
|
2852
|
+
payrolls_paystub_id: z.ZodString;
|
|
2547
2853
|
amount_cents: z.ZodString;
|
|
2548
2854
|
contributor: z.ZodEnum<{
|
|
2549
2855
|
employee: "employee";
|
|
2550
2856
|
employer: "employer";
|
|
2551
2857
|
}>;
|
|
2552
|
-
|
|
2858
|
+
payrolls_external_map_id: z.ZodString;
|
|
2553
2859
|
}, z.core.$strip>;
|
|
2554
2860
|
/**
|
|
2555
2861
|
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
@@ -2815,8 +3121,8 @@ export declare const zUserCertificationParameters: z.ZodObject<{
|
|
|
2815
3121
|
certification_id: z.ZodString;
|
|
2816
3122
|
received_at: z.ZodISODateTime;
|
|
2817
3123
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2818
|
-
name: z.
|
|
2819
|
-
content: z.
|
|
3124
|
+
name: z.ZodString;
|
|
3125
|
+
content: z.ZodString;
|
|
2820
3126
|
}, z.core.$strip>>>;
|
|
2821
3127
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2822
3128
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -2866,7 +3172,6 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
2866
3172
|
status: z.ZodString;
|
|
2867
3173
|
start_time: z.ZodNullable<z.ZodString>;
|
|
2868
3174
|
end_time: z.ZodNullable<z.ZodString>;
|
|
2869
|
-
address: z.ZodNullable<z.ZodString>;
|
|
2870
3175
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
2871
3176
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
2872
3177
|
tz_name: z.ZodString;
|
|
@@ -2951,7 +3256,7 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
2951
3256
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2952
3257
|
value: z.ZodOptional<z.ZodString>;
|
|
2953
3258
|
}, z.core.$strip>>>;
|
|
2954
|
-
|
|
3259
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2955
3260
|
tracks_feature_allocations: z.ZodBoolean;
|
|
2956
3261
|
requires_feature_allocation: z.ZodBoolean;
|
|
2957
3262
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -3066,6 +3371,10 @@ export declare const zUserResponseObject: z.ZodObject<{
|
|
|
3066
3371
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
3067
3372
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
3068
3373
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
3374
|
+
employment_window: z.ZodObject<{
|
|
3375
|
+
valid_from: z.ZodISODateTime;
|
|
3376
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3377
|
+
}, z.core.$strip>;
|
|
3069
3378
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
3070
3379
|
roles: z.ZodArray<z.ZodString>;
|
|
3071
3380
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -3155,7 +3464,6 @@ export declare const zUserParameters: z.ZodObject<{
|
|
|
3155
3464
|
city: z.ZodOptional<z.ZodString>;
|
|
3156
3465
|
state: z.ZodOptional<z.ZodString>;
|
|
3157
3466
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
3158
|
-
external_id: z.ZodOptional<z.ZodString>;
|
|
3159
3467
|
dol_apprentice_no: z.ZodOptional<z.ZodString>;
|
|
3160
3468
|
winda_id: z.ZodOptional<z.ZodString>;
|
|
3161
3469
|
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
@@ -3293,6 +3601,13 @@ export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
|
3293
3601
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3294
3602
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3295
3603
|
}, z.core.$strip>;
|
|
3604
|
+
/**
|
|
3605
|
+
* Keyset pagination cursors for the collection.
|
|
3606
|
+
*/
|
|
3607
|
+
export declare const zPage: z.ZodObject<{
|
|
3608
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3609
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3610
|
+
}, z.core.$strip>;
|
|
3296
3611
|
/**
|
|
3297
3612
|
* Pagination metadata for a paged collection, holding the keyset cursors under `page`.
|
|
3298
3613
|
*/
|
|
@@ -3302,6 +3617,16 @@ export declare const zMeta: z.ZodObject<{
|
|
|
3302
3617
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3303
3618
|
}, z.core.$strip>>;
|
|
3304
3619
|
}, z.core.$strip>;
|
|
3620
|
+
/**
|
|
3621
|
+
* Pagination metadata for a change-feed page, with the feed's safe polling watermark.
|
|
3622
|
+
*/
|
|
3623
|
+
export declare const zDeltaMeta: z.ZodObject<{
|
|
3624
|
+
page: z.ZodObject<{
|
|
3625
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3626
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3627
|
+
}, z.core.$strip>;
|
|
3628
|
+
complete_through: z.ZodISODateTime;
|
|
3629
|
+
}, z.core.$strip>;
|
|
3305
3630
|
/**
|
|
3306
3631
|
* Pagination links for navigating a paged collection.
|
|
3307
3632
|
*/
|
|
@@ -3328,9 +3653,9 @@ export declare const zTimeEntryIndexObject: z.ZodObject<{
|
|
|
3328
3653
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3329
3654
|
id: z.ZodString;
|
|
3330
3655
|
user_id: z.ZodString;
|
|
3331
|
-
|
|
3656
|
+
timekeeping_time_card_id: z.ZodString;
|
|
3332
3657
|
job_id: z.ZodNullable<z.ZodString>;
|
|
3333
|
-
|
|
3658
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
3334
3659
|
state: z.ZodNullable<z.ZodString>;
|
|
3335
3660
|
description: z.ZodNullable<z.ZodString>;
|
|
3336
3661
|
clock_punched: z.ZodBoolean;
|
|
@@ -3350,7 +3675,7 @@ export declare const zTimeEntryIndexObject: z.ZodObject<{
|
|
|
3350
3675
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3351
3676
|
currency: z.ZodNullable<z.ZodString>;
|
|
3352
3677
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
3353
|
-
|
|
3678
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3354
3679
|
start_time: z.ZodISODateTime;
|
|
3355
3680
|
end_time: z.ZodISODateTime;
|
|
3356
3681
|
created_at: z.ZodISODateTime;
|
|
@@ -3430,10 +3755,11 @@ export declare const zFormSubmissionIndexObject: z.ZodObject<{
|
|
|
3430
3755
|
*/
|
|
3431
3756
|
export declare const zTimeEntryDeltasResponse: z.ZodObject<{
|
|
3432
3757
|
meta: z.ZodOptional<z.ZodObject<{
|
|
3433
|
-
page: z.
|
|
3758
|
+
page: z.ZodObject<{
|
|
3434
3759
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3435
3760
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3436
|
-
}, z.core.$strip
|
|
3761
|
+
}, z.core.$strip>;
|
|
3762
|
+
complete_through: z.ZodISODateTime;
|
|
3437
3763
|
}, z.core.$strip>>;
|
|
3438
3764
|
links: z.ZodOptional<z.ZodObject<{
|
|
3439
3765
|
self: z.ZodOptional<z.ZodString>;
|
|
@@ -3467,7 +3793,7 @@ export declare const zPayPeriodsResponseObject: z.ZodObject<{
|
|
|
3467
3793
|
}, z.core.$strip>;
|
|
3468
3794
|
data: z.ZodArray<z.ZodObject<{
|
|
3469
3795
|
id: z.ZodOptional<z.ZodString>;
|
|
3470
|
-
|
|
3796
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
3471
3797
|
pay_period_config_uid: z.ZodOptional<z.ZodString>;
|
|
3472
3798
|
pay_date: z.ZodOptional<z.ZodISODate>;
|
|
3473
3799
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -3495,11 +3821,11 @@ export declare const zJobTimeCardDaysResponseObject: z.ZodObject<{
|
|
|
3495
3821
|
}, z.core.$strip>;
|
|
3496
3822
|
data: z.ZodArray<z.ZodObject<{
|
|
3497
3823
|
id: z.ZodString;
|
|
3498
|
-
|
|
3824
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
3499
3825
|
job_id: z.ZodString;
|
|
3500
|
-
|
|
3826
|
+
timekeeping_time_card_id: z.ZodString;
|
|
3501
3827
|
user_id: z.ZodString;
|
|
3502
|
-
|
|
3828
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3503
3829
|
date: z.ZodISODate;
|
|
3504
3830
|
minutes_worked: z.ZodInt;
|
|
3505
3831
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -3597,7 +3923,7 @@ export declare const zTimeCardsResponseObject: z.ZodObject<{
|
|
|
3597
3923
|
data: z.ZodArray<z.ZodObject<{
|
|
3598
3924
|
id: z.ZodString;
|
|
3599
3925
|
user_id: z.ZodString;
|
|
3600
|
-
|
|
3926
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3601
3927
|
locked: z.ZodBoolean;
|
|
3602
3928
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
3603
3929
|
pending: "pending";
|
|
@@ -3657,8 +3983,8 @@ export declare const zPayrollRunsResponseObject: z.ZodObject<{
|
|
|
3657
3983
|
data: z.ZodArray<z.ZodObject<{
|
|
3658
3984
|
id: z.ZodString;
|
|
3659
3985
|
company_id: z.ZodString;
|
|
3660
|
-
|
|
3661
|
-
|
|
3986
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
3987
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
3662
3988
|
run_type: z.ZodEnum<{
|
|
3663
3989
|
CORRECTION: "CORRECTION";
|
|
3664
3990
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -3693,8 +4019,8 @@ export declare const zPaystubsResponseObject: z.ZodObject<{
|
|
|
3693
4019
|
external_id: z.ZodNullable<z.ZodString>;
|
|
3694
4020
|
check_number: z.ZodNullable<z.ZodString>;
|
|
3695
4021
|
user_id: z.ZodString;
|
|
3696
|
-
|
|
3697
|
-
|
|
4022
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
4023
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
3698
4024
|
created_at: z.ZodISODateTime;
|
|
3699
4025
|
updated_at: z.ZodISODateTime;
|
|
3700
4026
|
}, z.core.$strip>>;
|
|
@@ -3716,9 +4042,9 @@ export declare const zPaystubLineItemsResponseObject: z.ZodObject<{
|
|
|
3716
4042
|
}, z.core.$strip>;
|
|
3717
4043
|
data: z.ZodArray<z.ZodObject<{
|
|
3718
4044
|
id: z.ZodString;
|
|
3719
|
-
|
|
3720
|
-
|
|
3721
|
-
|
|
4045
|
+
payrolls_external_map_id: z.ZodString;
|
|
4046
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
4047
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
3722
4048
|
user_id: z.ZodNullable<z.ZodString>;
|
|
3723
4049
|
external_map: z.ZodObject<{
|
|
3724
4050
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3867,7 +4193,7 @@ export declare const zWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3867
4193
|
modification_number: z.ZodInt;
|
|
3868
4194
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
3869
4195
|
publication_date: z.ZodISODate;
|
|
3870
|
-
|
|
4196
|
+
boundaries_region_id: z.ZodString;
|
|
3871
4197
|
valid_from: z.ZodISODateTime;
|
|
3872
4198
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3873
4199
|
created_at: z.ZodISODateTime;
|
|
@@ -3895,7 +4221,7 @@ export declare const zWageDeterminationsResponseObject: z.ZodObject<{
|
|
|
3895
4221
|
modification_number: z.ZodInt;
|
|
3896
4222
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
3897
4223
|
publication_date: z.ZodISODate;
|
|
3898
|
-
|
|
4224
|
+
boundaries_region_id: z.ZodString;
|
|
3899
4225
|
valid_from: z.ZodISODateTime;
|
|
3900
4226
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3901
4227
|
created_at: z.ZodISODateTime;
|
|
@@ -3954,7 +4280,7 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3954
4280
|
id: z.ZodString;
|
|
3955
4281
|
uid: z.ZodString;
|
|
3956
4282
|
job_id: z.ZodString;
|
|
3957
|
-
|
|
4283
|
+
pwa_trade_id: z.ZodString;
|
|
3958
4284
|
type: z.ZodEnum<{
|
|
3959
4285
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
3960
4286
|
}>;
|
|
@@ -4000,7 +4326,7 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
4000
4326
|
id: z.ZodString;
|
|
4001
4327
|
uid: z.ZodString;
|
|
4002
4328
|
job_id: z.ZodString;
|
|
4003
|
-
|
|
4329
|
+
pwa_trade_id: z.ZodString;
|
|
4004
4330
|
type: z.ZodEnum<{
|
|
4005
4331
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4006
4332
|
}>;
|
|
@@ -4021,7 +4347,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
4021
4347
|
id: z.ZodString;
|
|
4022
4348
|
uid: z.ZodString;
|
|
4023
4349
|
job_id: z.ZodString;
|
|
4024
|
-
|
|
4350
|
+
pwa_trade_id: z.ZodString;
|
|
4025
4351
|
labor_classification: z.ZodString;
|
|
4026
4352
|
hourly_rate_cents: z.ZodString;
|
|
4027
4353
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4042,7 +4368,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
4042
4368
|
id: z.ZodString;
|
|
4043
4369
|
uid: z.ZodString;
|
|
4044
4370
|
job_id: z.ZodString;
|
|
4045
|
-
|
|
4371
|
+
pwa_trade_id: z.ZodString;
|
|
4046
4372
|
labor_classification: z.ZodString;
|
|
4047
4373
|
hourly_rate_cents: z.ZodString;
|
|
4048
4374
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4058,7 +4384,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
4058
4384
|
id: z.ZodString;
|
|
4059
4385
|
uid: z.ZodString;
|
|
4060
4386
|
job_id: z.ZodString;
|
|
4061
|
-
|
|
4387
|
+
pwa_trade_id: z.ZodString;
|
|
4062
4388
|
type: z.ZodEnum<{
|
|
4063
4389
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
4064
4390
|
}>;
|
|
@@ -4086,7 +4412,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
4086
4412
|
id: z.ZodString;
|
|
4087
4413
|
uid: z.ZodString;
|
|
4088
4414
|
job_id: z.ZodString;
|
|
4089
|
-
|
|
4415
|
+
pwa_trade_id: z.ZodString;
|
|
4090
4416
|
labor_classification: z.ZodString;
|
|
4091
4417
|
hourly_rate_cents: z.ZodString;
|
|
4092
4418
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4107,7 +4433,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
4107
4433
|
id: z.ZodString;
|
|
4108
4434
|
uid: z.ZodString;
|
|
4109
4435
|
job_id: z.ZodString;
|
|
4110
|
-
|
|
4436
|
+
pwa_trade_id: z.ZodString;
|
|
4111
4437
|
labor_classification: z.ZodString;
|
|
4112
4438
|
hourly_rate_cents: z.ZodString;
|
|
4113
4439
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4124,7 +4450,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
4124
4450
|
id: z.ZodString;
|
|
4125
4451
|
uid: z.ZodString;
|
|
4126
4452
|
job_id: z.ZodString;
|
|
4127
|
-
|
|
4453
|
+
pwa_trade_id: z.ZodString;
|
|
4128
4454
|
type: z.ZodEnum<{
|
|
4129
4455
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4130
4456
|
}>;
|
|
@@ -4146,7 +4472,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
4146
4472
|
id: z.ZodString;
|
|
4147
4473
|
uid: z.ZodString;
|
|
4148
4474
|
job_id: z.ZodString;
|
|
4149
|
-
|
|
4475
|
+
pwa_trade_id: z.ZodString;
|
|
4150
4476
|
labor_classification: z.ZodString;
|
|
4151
4477
|
hourly_rate_cents: z.ZodString;
|
|
4152
4478
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4167,7 +4493,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
4167
4493
|
id: z.ZodString;
|
|
4168
4494
|
uid: z.ZodString;
|
|
4169
4495
|
job_id: z.ZodString;
|
|
4170
|
-
|
|
4496
|
+
pwa_trade_id: z.ZodString;
|
|
4171
4497
|
labor_classification: z.ZodString;
|
|
4172
4498
|
hourly_rate_cents: z.ZodString;
|
|
4173
4499
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4184,7 +4510,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4184
4510
|
id: z.ZodString;
|
|
4185
4511
|
uid: z.ZodString;
|
|
4186
4512
|
job_id: z.ZodString;
|
|
4187
|
-
|
|
4513
|
+
pwa_trade_id: z.ZodString;
|
|
4188
4514
|
labor_classification: z.ZodString;
|
|
4189
4515
|
hourly_rate_cents: z.ZodString;
|
|
4190
4516
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4209,7 +4535,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4209
4535
|
id: z.ZodString;
|
|
4210
4536
|
uid: z.ZodString;
|
|
4211
4537
|
job_id: z.ZodString;
|
|
4212
|
-
|
|
4538
|
+
pwa_trade_id: z.ZodString;
|
|
4213
4539
|
labor_classification: z.ZodString;
|
|
4214
4540
|
hourly_rate_cents: z.ZodString;
|
|
4215
4541
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4230,7 +4556,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4230
4556
|
id: z.ZodString;
|
|
4231
4557
|
uid: z.ZodString;
|
|
4232
4558
|
job_id: z.ZodString;
|
|
4233
|
-
|
|
4559
|
+
pwa_trade_id: z.ZodString;
|
|
4234
4560
|
labor_classification: z.ZodString;
|
|
4235
4561
|
hourly_rate_cents: z.ZodString;
|
|
4236
4562
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4247,7 +4573,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4247
4573
|
id: z.ZodString;
|
|
4248
4574
|
uid: z.ZodString;
|
|
4249
4575
|
job_id: z.ZodString;
|
|
4250
|
-
|
|
4576
|
+
pwa_trade_id: z.ZodString;
|
|
4251
4577
|
labor_classification: z.ZodString;
|
|
4252
4578
|
hourly_rate_cents: z.ZodString;
|
|
4253
4579
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4266,7 +4592,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4266
4592
|
id: z.ZodString;
|
|
4267
4593
|
uid: z.ZodString;
|
|
4268
4594
|
job_id: z.ZodString;
|
|
4269
|
-
|
|
4595
|
+
pwa_trade_id: z.ZodString;
|
|
4270
4596
|
labor_classification: z.ZodString;
|
|
4271
4597
|
hourly_rate_cents: z.ZodString;
|
|
4272
4598
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4287,7 +4613,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4287
4613
|
id: z.ZodString;
|
|
4288
4614
|
uid: z.ZodString;
|
|
4289
4615
|
job_id: z.ZodString;
|
|
4290
|
-
|
|
4616
|
+
pwa_trade_id: z.ZodString;
|
|
4291
4617
|
labor_classification: z.ZodString;
|
|
4292
4618
|
hourly_rate_cents: z.ZodString;
|
|
4293
4619
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4309,7 +4635,7 @@ export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4309
4635
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
4310
4636
|
}>;
|
|
4311
4637
|
labor_classification: z.ZodString;
|
|
4312
|
-
|
|
4638
|
+
pwa_trade_id: z.ZodString;
|
|
4313
4639
|
hourly_rate_cents: z.ZodString;
|
|
4314
4640
|
fringe_rate_cents: z.ZodString;
|
|
4315
4641
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4329,7 +4655,7 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4329
4655
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4330
4656
|
}>;
|
|
4331
4657
|
labor_classification: z.ZodString;
|
|
4332
|
-
|
|
4658
|
+
pwa_trade_id: z.ZodString;
|
|
4333
4659
|
hourly_rate_cents: z.ZodString;
|
|
4334
4660
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
4335
4661
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4340,7 +4666,7 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4340
4666
|
*/
|
|
4341
4667
|
export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4342
4668
|
labor_classification: z.ZodString;
|
|
4343
|
-
|
|
4669
|
+
pwa_trade_id: z.ZodString;
|
|
4344
4670
|
hourly_rate_cents: z.ZodString;
|
|
4345
4671
|
fringe_rate_cents: z.ZodString;
|
|
4346
4672
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4354,7 +4680,7 @@ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z
|
|
|
4354
4680
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4355
4681
|
}, z.core.$strip>, z.ZodObject<{
|
|
4356
4682
|
labor_classification: z.ZodString;
|
|
4357
|
-
|
|
4683
|
+
pwa_trade_id: z.ZodString;
|
|
4358
4684
|
hourly_rate_cents: z.ZodString;
|
|
4359
4685
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
4360
4686
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4644,7 +4970,7 @@ export declare const zAssetsVendorParameters: z.ZodObject<{
|
|
|
4644
4970
|
logo_signed_id: z.ZodOptional<z.ZodString>;
|
|
4645
4971
|
}, z.core.$strip>;
|
|
4646
4972
|
/**
|
|
4647
|
-
* A
|
|
4973
|
+
* A location that holds a company's assets and inventory — a warehouse or yard, optionally backed by a site on the Atlas map.
|
|
4648
4974
|
*/
|
|
4649
4975
|
export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
4650
4976
|
id: z.ZodString;
|
|
@@ -4653,10 +4979,6 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
|
4653
4979
|
kind: z.ZodEnum<{
|
|
4654
4980
|
warehouse: "warehouse";
|
|
4655
4981
|
yard: "yard";
|
|
4656
|
-
trailer: "trailer";
|
|
4657
|
-
truck: "truck";
|
|
4658
|
-
van: "van";
|
|
4659
|
-
conex: "conex";
|
|
4660
4982
|
}>;
|
|
4661
4983
|
name: z.ZodString;
|
|
4662
4984
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -4664,31 +4986,25 @@ export declare const zAssetsSiteResponseObject: z.ZodObject<{
|
|
|
4664
4986
|
updated_at: z.ZodISODateTime;
|
|
4665
4987
|
}, z.core.$strip>;
|
|
4666
4988
|
export declare const zAssetsSiteParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
4667
|
-
kind: z.ZodEnum<{
|
|
4668
|
-
warehouse: "warehouse";
|
|
4669
|
-
yard: "yard";
|
|
4670
|
-
}>;
|
|
4671
4989
|
site_id: z.ZodString;
|
|
4672
4990
|
}, z.core.$strip>, z.ZodObject<{
|
|
4673
|
-
kind: z.ZodEnum<{
|
|
4674
|
-
trailer: "trailer";
|
|
4675
|
-
truck: "truck";
|
|
4676
|
-
van: "van";
|
|
4677
|
-
conex: "conex";
|
|
4678
|
-
}>;
|
|
4679
4991
|
name: z.ZodString;
|
|
4680
4992
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
4681
4993
|
kind: z.ZodEnum<{
|
|
4682
4994
|
warehouse: "warehouse";
|
|
4683
4995
|
yard: "yard";
|
|
4684
|
-
trailer: "trailer";
|
|
4685
|
-
truck: "truck";
|
|
4686
|
-
van: "van";
|
|
4687
|
-
conex: "conex";
|
|
4688
4996
|
}>;
|
|
4689
4997
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4690
4998
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4691
4999
|
}, z.core.$strip>>;
|
|
5000
|
+
export declare const zAssetsSiteUpdateParameters: z.ZodObject<{
|
|
5001
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
5002
|
+
warehouse: "warehouse";
|
|
5003
|
+
yard: "yard";
|
|
5004
|
+
}>>;
|
|
5005
|
+
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5006
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5007
|
+
}, z.core.$strip>;
|
|
4692
5008
|
/**
|
|
4693
5009
|
* A company-level rule that auto-generates asset form assignments. When an item of one of its products changes custody (an assignment or unassignment), the rule creates or refreshes a form task for the chosen users, due on the configured schedule.
|
|
4694
5010
|
*/
|
|
@@ -4725,7 +5041,7 @@ export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
|
|
|
4725
5041
|
tz_name: z.ZodString;
|
|
4726
5042
|
time_of_day_due: z.ZodString;
|
|
4727
5043
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
4728
|
-
|
|
5044
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
4729
5045
|
created_at: z.ZodISODateTime;
|
|
4730
5046
|
updated_at: z.ZodISODateTime;
|
|
4731
5047
|
}, z.core.$strip>;
|
|
@@ -4763,7 +5079,7 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
|
|
|
4763
5079
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4764
5080
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4765
5081
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4766
|
-
|
|
5082
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4767
5083
|
}, z.core.$strip>;
|
|
4768
5084
|
/**
|
|
4769
5085
|
* A file attached to an asset — an item or product image, or a service-event attachment. Uploaded through the direct-upload flow; the response carries a URL to download it.
|
|
@@ -4796,6 +5112,7 @@ export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
|
4796
5112
|
pair: "pair";
|
|
4797
5113
|
pack: "pack";
|
|
4798
5114
|
}>;
|
|
5115
|
+
container: z.ZodBoolean;
|
|
4799
5116
|
serialized: z.ZodBoolean;
|
|
4800
5117
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
4801
5118
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -4841,6 +5158,15 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
4841
5158
|
currency: z.ZodNullable<z.ZodString>;
|
|
4842
5159
|
external_id: z.ZodNullable<z.ZodString>;
|
|
4843
5160
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
5161
|
+
container: z.ZodBoolean;
|
|
5162
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
5163
|
+
item_id: z.ZodString;
|
|
5164
|
+
quantity: z.ZodInt;
|
|
5165
|
+
}, z.core.$strip>>;
|
|
5166
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
5167
|
+
container_item_id: z.ZodString;
|
|
5168
|
+
quantity: z.ZodInt;
|
|
5169
|
+
}, z.core.$strip>>;
|
|
4844
5170
|
images: z.ZodArray<z.ZodObject<{
|
|
4845
5171
|
id: z.ZodString;
|
|
4846
5172
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -4884,6 +5210,7 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4884
5210
|
pair: "pair";
|
|
4885
5211
|
pack: "pack";
|
|
4886
5212
|
}>>;
|
|
5213
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
4887
5214
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4888
5215
|
assets_attribute_id: z.ZodString;
|
|
4889
5216
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4913,6 +5240,7 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
|
4913
5240
|
pair: "pair";
|
|
4914
5241
|
pack: "pack";
|
|
4915
5242
|
}>>;
|
|
5243
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
4916
5244
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4917
5245
|
assets_attribute_id: z.ZodString;
|
|
4918
5246
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4948,6 +5276,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4948
5276
|
}, z.core.$strip>>>;
|
|
4949
5277
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
4950
5278
|
user_id: z.ZodOptional<z.ZodString>;
|
|
5279
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
4951
5280
|
performed_by_user_id: z.ZodString;
|
|
4952
5281
|
}, z.core.$strip>;
|
|
4953
5282
|
/**
|
|
@@ -5044,7 +5373,44 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
5044
5373
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
5045
5374
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
5046
5375
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5047
|
-
offset: z.
|
|
5376
|
+
offset: z.ZodEnum<{
|
|
5377
|
+
PT0S: "PT0S";
|
|
5378
|
+
"PT-1M": "PT-1M";
|
|
5379
|
+
"PT-5M": "PT-5M";
|
|
5380
|
+
"PT-10M": "PT-10M";
|
|
5381
|
+
"PT-15M": "PT-15M";
|
|
5382
|
+
"PT-30M": "PT-30M";
|
|
5383
|
+
"PT-1H": "PT-1H";
|
|
5384
|
+
"PT-2H": "PT-2H";
|
|
5385
|
+
"P-1D": "P-1D";
|
|
5386
|
+
"P-2D": "P-2D";
|
|
5387
|
+
"P-3D": "P-3D";
|
|
5388
|
+
"P-4D": "P-4D";
|
|
5389
|
+
"P-5D": "P-5D";
|
|
5390
|
+
"P-6D": "P-6D";
|
|
5391
|
+
"P-1W": "P-1W";
|
|
5392
|
+
"P-2W": "P-2W";
|
|
5393
|
+
"P-1M": "P-1M";
|
|
5394
|
+
"P-2M": "P-2M";
|
|
5395
|
+
"P-3M": "P-3M";
|
|
5396
|
+
"P-6M": "P-6M";
|
|
5397
|
+
"P-1Y": "P-1Y";
|
|
5398
|
+
PT5M: "PT5M";
|
|
5399
|
+
PT15M: "PT15M";
|
|
5400
|
+
PT30M: "PT30M";
|
|
5401
|
+
PT1H: "PT1H";
|
|
5402
|
+
PT6H: "PT6H";
|
|
5403
|
+
PT12H: "PT12H";
|
|
5404
|
+
P1D: "P1D";
|
|
5405
|
+
P2D: "P2D";
|
|
5406
|
+
P3D: "P3D";
|
|
5407
|
+
P4D: "P4D";
|
|
5408
|
+
P5D: "P5D";
|
|
5409
|
+
P6D: "P6D";
|
|
5410
|
+
P1W: "P1W";
|
|
5411
|
+
P2W: "P2W";
|
|
5412
|
+
P3W: "P3W";
|
|
5413
|
+
}>;
|
|
5048
5414
|
}, z.core.$strip>>>;
|
|
5049
5415
|
}, z.core.$strip>;
|
|
5050
5416
|
}, z.core.$strip>;
|
|
@@ -5087,7 +5453,8 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
|
5087
5453
|
id: z.ZodString;
|
|
5088
5454
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5089
5455
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
5090
|
-
|
|
5456
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
5457
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
5091
5458
|
performed_by_user_id: z.ZodString;
|
|
5092
5459
|
direction: z.ZodEnum<{
|
|
5093
5460
|
inbound: "inbound";
|
|
@@ -5140,7 +5507,8 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
5140
5507
|
id: z.ZodString;
|
|
5141
5508
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5142
5509
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
5143
|
-
|
|
5510
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
5511
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
5144
5512
|
performed_by_user_id: z.ZodString;
|
|
5145
5513
|
direction: z.ZodEnum<{
|
|
5146
5514
|
inbound: "inbound";
|
|
@@ -5310,7 +5678,7 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
|
|
|
5310
5678
|
performed_by_user_id: z.ZodString;
|
|
5311
5679
|
}, z.core.$strip>;
|
|
5312
5680
|
/**
|
|
5313
|
-
* A completed movement of item stock between two holders
|
|
5681
|
+
* A completed movement of item stock between two holders, each a site, a user, or a container. Each line moves one item; applying the transfer records paired outbound and inbound transactions and updates the on-hand, custody, and containment counts. Transfers created through this API are always completed. One-sided moves (placing or removing an item with only one endpoint) record transactions but no transfer, and so are not represented by this resource.
|
|
5314
5682
|
*/
|
|
5315
5683
|
export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
5316
5684
|
id: z.ZodString;
|
|
@@ -5323,8 +5691,10 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
5323
5691
|
}>;
|
|
5324
5692
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5325
5693
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
5694
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
5326
5695
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5327
5696
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
5697
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
5328
5698
|
initiated_by_user_id: z.ZodString;
|
|
5329
5699
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
5330
5700
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
@@ -5336,13 +5706,15 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
5336
5706
|
updated_at: z.ZodISODateTime;
|
|
5337
5707
|
}, z.core.$strip>;
|
|
5338
5708
|
/**
|
|
5339
|
-
*
|
|
5709
|
+
* 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.
|
|
5340
5710
|
*/
|
|
5341
5711
|
export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
5342
5712
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
5343
5713
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
5714
|
+
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
5344
5715
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
5345
5716
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
5717
|
+
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
5346
5718
|
performed_by_user_id: z.ZodString;
|
|
5347
5719
|
line_items: z.ZodArray<z.ZodObject<{
|
|
5348
5720
|
assets_item_id: z.ZodString;
|
|
@@ -6584,7 +6956,8 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
6584
6956
|
id: z.ZodString;
|
|
6585
6957
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
6586
6958
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
6587
|
-
|
|
6959
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
6960
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
6588
6961
|
performed_by_user_id: z.ZodString;
|
|
6589
6962
|
direction: z.ZodEnum<{
|
|
6590
6963
|
inbound: "inbound";
|
|
@@ -6636,7 +7009,8 @@ export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6636
7009
|
id: z.ZodString;
|
|
6637
7010
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
6638
7011
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
6639
|
-
|
|
7012
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
7013
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
6640
7014
|
performed_by_user_id: z.ZodString;
|
|
6641
7015
|
direction: z.ZodEnum<{
|
|
6642
7016
|
inbound: "inbound";
|
|
@@ -6728,7 +7102,7 @@ export declare const zListFormAssignmentTriggersResponse: z.ZodObject<{
|
|
|
6728
7102
|
tz_name: z.ZodString;
|
|
6729
7103
|
time_of_day_due: z.ZodString;
|
|
6730
7104
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6731
|
-
|
|
7105
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6732
7106
|
created_at: z.ZodISODateTime;
|
|
6733
7107
|
updated_at: z.ZodISODateTime;
|
|
6734
7108
|
}, z.core.$strip>>>;
|
|
@@ -6764,7 +7138,7 @@ export declare const zCreateFormAssignmentTriggerBody: z.ZodObject<{
|
|
|
6764
7138
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6765
7139
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6766
7140
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6767
|
-
|
|
7141
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6768
7142
|
}, z.core.$strip>;
|
|
6769
7143
|
/**
|
|
6770
7144
|
* Created (custom assignees, products, recurring, day-of-week)
|
|
@@ -6802,7 +7176,7 @@ export declare const zCreateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6802
7176
|
tz_name: z.ZodString;
|
|
6803
7177
|
time_of_day_due: z.ZodString;
|
|
6804
7178
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6805
|
-
|
|
7179
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6806
7180
|
created_at: z.ZodISODateTime;
|
|
6807
7181
|
updated_at: z.ZodISODateTime;
|
|
6808
7182
|
}, z.core.$strip>;
|
|
@@ -6845,7 +7219,7 @@ export declare const zDeleteFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6845
7219
|
tz_name: z.ZodString;
|
|
6846
7220
|
time_of_day_due: z.ZodString;
|
|
6847
7221
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6848
|
-
|
|
7222
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6849
7223
|
created_at: z.ZodISODateTime;
|
|
6850
7224
|
updated_at: z.ZodISODateTime;
|
|
6851
7225
|
}, z.core.$strip>;
|
|
@@ -6888,7 +7262,7 @@ export declare const zGetFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6888
7262
|
tz_name: z.ZodString;
|
|
6889
7263
|
time_of_day_due: z.ZodString;
|
|
6890
7264
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6891
|
-
|
|
7265
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6892
7266
|
created_at: z.ZodISODateTime;
|
|
6893
7267
|
updated_at: z.ZodISODateTime;
|
|
6894
7268
|
}, z.core.$strip>;
|
|
@@ -6923,7 +7297,7 @@ export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
|
|
|
6923
7297
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6924
7298
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6925
7299
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6926
|
-
|
|
7300
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6927
7301
|
}, z.core.$strip>;
|
|
6928
7302
|
export declare const zUpdateFormAssignmentTriggerPath: z.ZodObject<{
|
|
6929
7303
|
id: z.ZodString;
|
|
@@ -6964,7 +7338,7 @@ export declare const zUpdateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6964
7338
|
tz_name: z.ZodString;
|
|
6965
7339
|
time_of_day_due: z.ZodString;
|
|
6966
7340
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6967
|
-
|
|
7341
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6968
7342
|
created_at: z.ZodISODateTime;
|
|
6969
7343
|
updated_at: z.ZodISODateTime;
|
|
6970
7344
|
}, z.core.$strip>;
|
|
@@ -7017,6 +7391,12 @@ export declare const zGetInventoryResponse: z.ZodObject<{
|
|
|
7017
7391
|
export declare const zListItemsQuery: z.ZodObject<{
|
|
7018
7392
|
'filter[assets_product_id]': z.ZodOptional<z.ZodString>;
|
|
7019
7393
|
'filter[type]': z.ZodOptional<z.ZodString>;
|
|
7394
|
+
'filter[assets_site_id]': z.ZodOptional<z.ZodString>;
|
|
7395
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
7396
|
+
'filter[assets_category_id]': z.ZodOptional<z.ZodString>;
|
|
7397
|
+
'filter[container_item_id]': z.ZodOptional<z.ZodString>;
|
|
7398
|
+
'filter[status]': z.ZodOptional<z.ZodString>;
|
|
7399
|
+
'filter[service]': z.ZodOptional<z.ZodString>;
|
|
7020
7400
|
filter: z.ZodOptional<z.ZodString>;
|
|
7021
7401
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
7022
7402
|
}, z.core.$strip>;
|
|
@@ -7056,6 +7436,15 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
7056
7436
|
currency: z.ZodNullable<z.ZodString>;
|
|
7057
7437
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7058
7438
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7439
|
+
container: z.ZodBoolean;
|
|
7440
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7441
|
+
item_id: z.ZodString;
|
|
7442
|
+
quantity: z.ZodInt;
|
|
7443
|
+
}, z.core.$strip>>;
|
|
7444
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7445
|
+
container_item_id: z.ZodString;
|
|
7446
|
+
quantity: z.ZodInt;
|
|
7447
|
+
}, z.core.$strip>>;
|
|
7059
7448
|
images: z.ZodArray<z.ZodObject<{
|
|
7060
7449
|
id: z.ZodString;
|
|
7061
7450
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7092,6 +7481,7 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
7092
7481
|
}, z.core.$strip>>>;
|
|
7093
7482
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
7094
7483
|
user_id: z.ZodOptional<z.ZodString>;
|
|
7484
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
7095
7485
|
performed_by_user_id: z.ZodString;
|
|
7096
7486
|
}, z.core.$strip>;
|
|
7097
7487
|
/**
|
|
@@ -7118,6 +7508,15 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
7118
7508
|
currency: z.ZodNullable<z.ZodString>;
|
|
7119
7509
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7120
7510
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7511
|
+
container: z.ZodBoolean;
|
|
7512
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7513
|
+
item_id: z.ZodString;
|
|
7514
|
+
quantity: z.ZodInt;
|
|
7515
|
+
}, z.core.$strip>>;
|
|
7516
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7517
|
+
container_item_id: z.ZodString;
|
|
7518
|
+
quantity: z.ZodInt;
|
|
7519
|
+
}, z.core.$strip>>;
|
|
7121
7520
|
images: z.ZodArray<z.ZodObject<{
|
|
7122
7521
|
id: z.ZodString;
|
|
7123
7522
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7159,6 +7558,15 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
7159
7558
|
currency: z.ZodNullable<z.ZodString>;
|
|
7160
7559
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7161
7560
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7561
|
+
container: z.ZodBoolean;
|
|
7562
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7563
|
+
item_id: z.ZodString;
|
|
7564
|
+
quantity: z.ZodInt;
|
|
7565
|
+
}, z.core.$strip>>;
|
|
7566
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7567
|
+
container_item_id: z.ZodString;
|
|
7568
|
+
quantity: z.ZodInt;
|
|
7569
|
+
}, z.core.$strip>>;
|
|
7162
7570
|
images: z.ZodArray<z.ZodObject<{
|
|
7163
7571
|
id: z.ZodString;
|
|
7164
7572
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7200,6 +7608,15 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
7200
7608
|
currency: z.ZodNullable<z.ZodString>;
|
|
7201
7609
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7202
7610
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7611
|
+
container: z.ZodBoolean;
|
|
7612
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7613
|
+
item_id: z.ZodString;
|
|
7614
|
+
quantity: z.ZodInt;
|
|
7615
|
+
}, z.core.$strip>>;
|
|
7616
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7617
|
+
container_item_id: z.ZodString;
|
|
7618
|
+
quantity: z.ZodInt;
|
|
7619
|
+
}, z.core.$strip>>;
|
|
7203
7620
|
images: z.ZodArray<z.ZodObject<{
|
|
7204
7621
|
id: z.ZodString;
|
|
7205
7622
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7235,6 +7652,7 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
7235
7652
|
}, z.core.$strip>>>;
|
|
7236
7653
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
7237
7654
|
user_id: z.ZodOptional<z.ZodString>;
|
|
7655
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
7238
7656
|
performed_by_user_id: z.ZodString;
|
|
7239
7657
|
}, z.core.$strip>;
|
|
7240
7658
|
export declare const zUpdateItemPath: z.ZodObject<{
|
|
@@ -7264,6 +7682,15 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
7264
7682
|
currency: z.ZodNullable<z.ZodString>;
|
|
7265
7683
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7266
7684
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7685
|
+
container: z.ZodBoolean;
|
|
7686
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7687
|
+
item_id: z.ZodString;
|
|
7688
|
+
quantity: z.ZodInt;
|
|
7689
|
+
}, z.core.$strip>>;
|
|
7690
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7691
|
+
container_item_id: z.ZodString;
|
|
7692
|
+
quantity: z.ZodInt;
|
|
7693
|
+
}, z.core.$strip>>;
|
|
7267
7694
|
images: z.ZodArray<z.ZodObject<{
|
|
7268
7695
|
id: z.ZodString;
|
|
7269
7696
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7305,6 +7732,15 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
7305
7732
|
currency: z.ZodNullable<z.ZodString>;
|
|
7306
7733
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7307
7734
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7735
|
+
container: z.ZodBoolean;
|
|
7736
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7737
|
+
item_id: z.ZodString;
|
|
7738
|
+
quantity: z.ZodInt;
|
|
7739
|
+
}, z.core.$strip>>;
|
|
7740
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7741
|
+
container_item_id: z.ZodString;
|
|
7742
|
+
quantity: z.ZodInt;
|
|
7743
|
+
}, z.core.$strip>>;
|
|
7308
7744
|
images: z.ZodArray<z.ZodObject<{
|
|
7309
7745
|
id: z.ZodString;
|
|
7310
7746
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7349,6 +7785,15 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
7349
7785
|
currency: z.ZodNullable<z.ZodString>;
|
|
7350
7786
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7351
7787
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7788
|
+
container: z.ZodBoolean;
|
|
7789
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7790
|
+
item_id: z.ZodString;
|
|
7791
|
+
quantity: z.ZodInt;
|
|
7792
|
+
}, z.core.$strip>>;
|
|
7793
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7794
|
+
container_item_id: z.ZodString;
|
|
7795
|
+
quantity: z.ZodInt;
|
|
7796
|
+
}, z.core.$strip>>;
|
|
7352
7797
|
images: z.ZodArray<z.ZodObject<{
|
|
7353
7798
|
id: z.ZodString;
|
|
7354
7799
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7858,7 +8303,44 @@ export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
|
7858
8303
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7859
8304
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7860
8305
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7861
|
-
offset: z.
|
|
8306
|
+
offset: z.ZodEnum<{
|
|
8307
|
+
PT0S: "PT0S";
|
|
8308
|
+
"PT-1M": "PT-1M";
|
|
8309
|
+
"PT-5M": "PT-5M";
|
|
8310
|
+
"PT-10M": "PT-10M";
|
|
8311
|
+
"PT-15M": "PT-15M";
|
|
8312
|
+
"PT-30M": "PT-30M";
|
|
8313
|
+
"PT-1H": "PT-1H";
|
|
8314
|
+
"PT-2H": "PT-2H";
|
|
8315
|
+
"P-1D": "P-1D";
|
|
8316
|
+
"P-2D": "P-2D";
|
|
8317
|
+
"P-3D": "P-3D";
|
|
8318
|
+
"P-4D": "P-4D";
|
|
8319
|
+
"P-5D": "P-5D";
|
|
8320
|
+
"P-6D": "P-6D";
|
|
8321
|
+
"P-1W": "P-1W";
|
|
8322
|
+
"P-2W": "P-2W";
|
|
8323
|
+
"P-1M": "P-1M";
|
|
8324
|
+
"P-2M": "P-2M";
|
|
8325
|
+
"P-3M": "P-3M";
|
|
8326
|
+
"P-6M": "P-6M";
|
|
8327
|
+
"P-1Y": "P-1Y";
|
|
8328
|
+
PT5M: "PT5M";
|
|
8329
|
+
PT15M: "PT15M";
|
|
8330
|
+
PT30M: "PT30M";
|
|
8331
|
+
PT1H: "PT1H";
|
|
8332
|
+
PT6H: "PT6H";
|
|
8333
|
+
PT12H: "PT12H";
|
|
8334
|
+
P1D: "P1D";
|
|
8335
|
+
P2D: "P2D";
|
|
8336
|
+
P3D: "P3D";
|
|
8337
|
+
P4D: "P4D";
|
|
8338
|
+
P5D: "P5D";
|
|
8339
|
+
P6D: "P6D";
|
|
8340
|
+
P1W: "P1W";
|
|
8341
|
+
P2W: "P2W";
|
|
8342
|
+
P3W: "P3W";
|
|
8343
|
+
}>;
|
|
7862
8344
|
}, z.core.$strip>>>;
|
|
7863
8345
|
}, z.core.$strip>;
|
|
7864
8346
|
}, z.core.$strip>;
|
|
@@ -7945,7 +8427,44 @@ export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
7945
8427
|
recurrence_end_time: z.ZodOptional<z.ZodNullable<z.ZodISODateTime>>;
|
|
7946
8428
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
7947
8429
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7948
|
-
offset: z.
|
|
8430
|
+
offset: z.ZodEnum<{
|
|
8431
|
+
PT0S: "PT0S";
|
|
8432
|
+
"PT-1M": "PT-1M";
|
|
8433
|
+
"PT-5M": "PT-5M";
|
|
8434
|
+
"PT-10M": "PT-10M";
|
|
8435
|
+
"PT-15M": "PT-15M";
|
|
8436
|
+
"PT-30M": "PT-30M";
|
|
8437
|
+
"PT-1H": "PT-1H";
|
|
8438
|
+
"PT-2H": "PT-2H";
|
|
8439
|
+
"P-1D": "P-1D";
|
|
8440
|
+
"P-2D": "P-2D";
|
|
8441
|
+
"P-3D": "P-3D";
|
|
8442
|
+
"P-4D": "P-4D";
|
|
8443
|
+
"P-5D": "P-5D";
|
|
8444
|
+
"P-6D": "P-6D";
|
|
8445
|
+
"P-1W": "P-1W";
|
|
8446
|
+
"P-2W": "P-2W";
|
|
8447
|
+
"P-1M": "P-1M";
|
|
8448
|
+
"P-2M": "P-2M";
|
|
8449
|
+
"P-3M": "P-3M";
|
|
8450
|
+
"P-6M": "P-6M";
|
|
8451
|
+
"P-1Y": "P-1Y";
|
|
8452
|
+
PT5M: "PT5M";
|
|
8453
|
+
PT15M: "PT15M";
|
|
8454
|
+
PT30M: "PT30M";
|
|
8455
|
+
PT1H: "PT1H";
|
|
8456
|
+
PT6H: "PT6H";
|
|
8457
|
+
PT12H: "PT12H";
|
|
8458
|
+
P1D: "P1D";
|
|
8459
|
+
P2D: "P2D";
|
|
8460
|
+
P3D: "P3D";
|
|
8461
|
+
P4D: "P4D";
|
|
8462
|
+
P5D: "P5D";
|
|
8463
|
+
P6D: "P6D";
|
|
8464
|
+
P1W: "P1W";
|
|
8465
|
+
P2W: "P2W";
|
|
8466
|
+
P3W: "P3W";
|
|
8467
|
+
}>;
|
|
7949
8468
|
}, z.core.$strip>>>;
|
|
7950
8469
|
}, z.core.$strip>;
|
|
7951
8470
|
}, z.core.$strip>;
|
|
@@ -8200,6 +8719,7 @@ export declare const zListProductsResponse: z.ZodObject<{
|
|
|
8200
8719
|
pair: "pair";
|
|
8201
8720
|
pack: "pack";
|
|
8202
8721
|
}>;
|
|
8722
|
+
container: z.ZodBoolean;
|
|
8203
8723
|
serialized: z.ZodBoolean;
|
|
8204
8724
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8205
8725
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8240,6 +8760,7 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
8240
8760
|
pair: "pair";
|
|
8241
8761
|
pack: "pack";
|
|
8242
8762
|
}>>;
|
|
8763
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
8243
8764
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8244
8765
|
assets_attribute_id: z.ZodString;
|
|
8245
8766
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8269,6 +8790,7 @@ export declare const zCreateProductResponse: z.ZodObject<{
|
|
|
8269
8790
|
pair: "pair";
|
|
8270
8791
|
pack: "pack";
|
|
8271
8792
|
}>;
|
|
8793
|
+
container: z.ZodBoolean;
|
|
8272
8794
|
serialized: z.ZodBoolean;
|
|
8273
8795
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8274
8796
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8310,6 +8832,7 @@ export declare const zDeleteProductResponse: z.ZodObject<{
|
|
|
8310
8832
|
pair: "pair";
|
|
8311
8833
|
pack: "pack";
|
|
8312
8834
|
}>;
|
|
8835
|
+
container: z.ZodBoolean;
|
|
8313
8836
|
serialized: z.ZodBoolean;
|
|
8314
8837
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8315
8838
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8351,6 +8874,7 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
8351
8874
|
pair: "pair";
|
|
8352
8875
|
pack: "pack";
|
|
8353
8876
|
}>;
|
|
8877
|
+
container: z.ZodBoolean;
|
|
8354
8878
|
serialized: z.ZodBoolean;
|
|
8355
8879
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8356
8880
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8386,6 +8910,7 @@ export declare const zUpdateProductBody: z.ZodObject<{
|
|
|
8386
8910
|
pair: "pair";
|
|
8387
8911
|
pack: "pack";
|
|
8388
8912
|
}>>;
|
|
8913
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
8389
8914
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8390
8915
|
assets_attribute_id: z.ZodString;
|
|
8391
8916
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8417,6 +8942,7 @@ export declare const zUpdateProductResponse: z.ZodObject<{
|
|
|
8417
8942
|
pair: "pair";
|
|
8418
8943
|
pack: "pack";
|
|
8419
8944
|
}>;
|
|
8945
|
+
container: z.ZodBoolean;
|
|
8420
8946
|
serialized: z.ZodBoolean;
|
|
8421
8947
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8422
8948
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8463,6 +8989,7 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
|
|
|
8463
8989
|
pair: "pair";
|
|
8464
8990
|
pack: "pack";
|
|
8465
8991
|
}>;
|
|
8992
|
+
container: z.ZodBoolean;
|
|
8466
8993
|
serialized: z.ZodBoolean;
|
|
8467
8994
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8468
8995
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8509,6 +9036,7 @@ export declare const zRestockProductResponse: z.ZodObject<{
|
|
|
8509
9036
|
pair: "pair";
|
|
8510
9037
|
pack: "pack";
|
|
8511
9038
|
}>;
|
|
9039
|
+
container: z.ZodBoolean;
|
|
8512
9040
|
serialized: z.ZodBoolean;
|
|
8513
9041
|
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8514
9042
|
attributes: z.ZodArray<z.ZodObject<{
|
|
@@ -8814,10 +9342,6 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
|
|
|
8814
9342
|
kind: z.ZodEnum<{
|
|
8815
9343
|
warehouse: "warehouse";
|
|
8816
9344
|
yard: "yard";
|
|
8817
|
-
trailer: "trailer";
|
|
8818
|
-
truck: "truck";
|
|
8819
|
-
van: "van";
|
|
8820
|
-
conex: "conex";
|
|
8821
9345
|
}>;
|
|
8822
9346
|
name: z.ZodString;
|
|
8823
9347
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -8826,27 +9350,13 @@ export declare const zListAssetsSitesResponse: z.ZodObject<{
|
|
|
8826
9350
|
}, z.core.$strip>>>;
|
|
8827
9351
|
}, z.core.$strip>;
|
|
8828
9352
|
export declare const zCreateSiteBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
8829
|
-
kind: z.ZodEnum<{
|
|
8830
|
-
warehouse: "warehouse";
|
|
8831
|
-
yard: "yard";
|
|
8832
|
-
}>;
|
|
8833
9353
|
site_id: z.ZodString;
|
|
8834
9354
|
}, z.core.$strip>, z.ZodObject<{
|
|
8835
|
-
kind: z.ZodEnum<{
|
|
8836
|
-
trailer: "trailer";
|
|
8837
|
-
truck: "truck";
|
|
8838
|
-
van: "van";
|
|
8839
|
-
conex: "conex";
|
|
8840
|
-
}>;
|
|
8841
9355
|
name: z.ZodString;
|
|
8842
9356
|
}, z.core.$strip>]>, z.ZodObject<{
|
|
8843
9357
|
kind: z.ZodEnum<{
|
|
8844
9358
|
warehouse: "warehouse";
|
|
8845
9359
|
yard: "yard";
|
|
8846
|
-
trailer: "trailer";
|
|
8847
|
-
truck: "truck";
|
|
8848
|
-
van: "van";
|
|
8849
|
-
conex: "conex";
|
|
8850
9360
|
}>;
|
|
8851
9361
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8852
9362
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -8861,10 +9371,6 @@ export declare const zCreateSiteResponse: z.ZodObject<{
|
|
|
8861
9371
|
kind: z.ZodEnum<{
|
|
8862
9372
|
warehouse: "warehouse";
|
|
8863
9373
|
yard: "yard";
|
|
8864
|
-
trailer: "trailer";
|
|
8865
|
-
truck: "truck";
|
|
8866
|
-
van: "van";
|
|
8867
|
-
conex: "conex";
|
|
8868
9374
|
}>;
|
|
8869
9375
|
name: z.ZodString;
|
|
8870
9376
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -8884,10 +9390,6 @@ export declare const zDeleteSiteResponse: z.ZodObject<{
|
|
|
8884
9390
|
kind: z.ZodEnum<{
|
|
8885
9391
|
warehouse: "warehouse";
|
|
8886
9392
|
yard: "yard";
|
|
8887
|
-
trailer: "trailer";
|
|
8888
|
-
truck: "truck";
|
|
8889
|
-
van: "van";
|
|
8890
|
-
conex: "conex";
|
|
8891
9393
|
}>;
|
|
8892
9394
|
name: z.ZodString;
|
|
8893
9395
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -8907,42 +9409,20 @@ export declare const zGetAssetsSiteResponse: z.ZodObject<{
|
|
|
8907
9409
|
kind: z.ZodEnum<{
|
|
8908
9410
|
warehouse: "warehouse";
|
|
8909
9411
|
yard: "yard";
|
|
8910
|
-
trailer: "trailer";
|
|
8911
|
-
truck: "truck";
|
|
8912
|
-
van: "van";
|
|
8913
|
-
conex: "conex";
|
|
8914
9412
|
}>;
|
|
8915
9413
|
name: z.ZodString;
|
|
8916
9414
|
site_type: z.ZodNullable<z.ZodString>;
|
|
8917
9415
|
created_at: z.ZodISODateTime;
|
|
8918
9416
|
updated_at: z.ZodISODateTime;
|
|
8919
9417
|
}, z.core.$strip>;
|
|
8920
|
-
export declare const zUpdateSiteBody: z.
|
|
8921
|
-
kind: z.ZodEnum<{
|
|
8922
|
-
warehouse: "warehouse";
|
|
8923
|
-
yard: "yard";
|
|
8924
|
-
}>;
|
|
8925
|
-
site_id: z.ZodString;
|
|
8926
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
8927
|
-
kind: z.ZodEnum<{
|
|
8928
|
-
trailer: "trailer";
|
|
8929
|
-
truck: "truck";
|
|
8930
|
-
van: "van";
|
|
8931
|
-
conex: "conex";
|
|
8932
|
-
}>;
|
|
8933
|
-
name: z.ZodString;
|
|
8934
|
-
}, z.core.$strip>]>, z.ZodObject<{
|
|
8935
|
-
kind: z.ZodEnum<{
|
|
9418
|
+
export declare const zUpdateSiteBody: z.ZodObject<{
|
|
9419
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
8936
9420
|
warehouse: "warehouse";
|
|
8937
9421
|
yard: "yard";
|
|
8938
|
-
|
|
8939
|
-
truck: "truck";
|
|
8940
|
-
van: "van";
|
|
8941
|
-
conex: "conex";
|
|
8942
|
-
}>;
|
|
9422
|
+
}>>;
|
|
8943
9423
|
site_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8944
9424
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8945
|
-
}, z.core.$strip
|
|
9425
|
+
}, z.core.$strip>;
|
|
8946
9426
|
export declare const zUpdateSitePath: z.ZodObject<{
|
|
8947
9427
|
id: z.ZodString;
|
|
8948
9428
|
}, z.core.$strip>;
|
|
@@ -8956,10 +9436,6 @@ export declare const zUpdateSiteResponse: z.ZodObject<{
|
|
|
8956
9436
|
kind: z.ZodEnum<{
|
|
8957
9437
|
warehouse: "warehouse";
|
|
8958
9438
|
yard: "yard";
|
|
8959
|
-
trailer: "trailer";
|
|
8960
|
-
truck: "truck";
|
|
8961
|
-
van: "van";
|
|
8962
|
-
conex: "conex";
|
|
8963
9439
|
}>;
|
|
8964
9440
|
name: z.ZodString;
|
|
8965
9441
|
site_type: z.ZodNullable<z.ZodString>;
|
|
@@ -8997,8 +9473,10 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
8997
9473
|
}>;
|
|
8998
9474
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8999
9475
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9476
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9000
9477
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
9001
9478
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9479
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9002
9480
|
initiated_by_user_id: z.ZodString;
|
|
9003
9481
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9004
9482
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
@@ -9013,18 +9491,17 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
9013
9491
|
export declare const zCreateTransferBody: z.ZodObject<{
|
|
9014
9492
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
9015
9493
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
9494
|
+
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
9016
9495
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
9017
9496
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
9497
|
+
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
9018
9498
|
performed_by_user_id: z.ZodString;
|
|
9019
9499
|
line_items: z.ZodArray<z.ZodObject<{
|
|
9020
9500
|
assets_item_id: z.ZodString;
|
|
9021
9501
|
quantity: z.ZodInt;
|
|
9022
9502
|
}, z.core.$strip>>;
|
|
9023
9503
|
}, z.core.$strip>;
|
|
9024
|
-
|
|
9025
|
-
* Created
|
|
9026
|
-
*/
|
|
9027
|
-
export declare const zCreateTransferResponse: z.ZodObject<{
|
|
9504
|
+
export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
9028
9505
|
id: z.ZodString;
|
|
9029
9506
|
company_id: z.ZodString;
|
|
9030
9507
|
status: z.ZodEnum<{
|
|
@@ -9035,8 +9512,10 @@ export declare const zCreateTransferResponse: z.ZodObject<{
|
|
|
9035
9512
|
}>;
|
|
9036
9513
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
9037
9514
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9515
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9038
9516
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
9039
9517
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9518
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9040
9519
|
initiated_by_user_id: z.ZodString;
|
|
9041
9520
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9042
9521
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
@@ -9046,7 +9525,7 @@ export declare const zCreateTransferResponse: z.ZodObject<{
|
|
|
9046
9525
|
}, z.core.$strip>>;
|
|
9047
9526
|
created_at: z.ZodISODateTime;
|
|
9048
9527
|
updated_at: z.ZodISODateTime;
|
|
9049
|
-
}, z.core.$strip>;
|
|
9528
|
+
}, z.core.$strip>, z.ZodVoid]>;
|
|
9050
9529
|
export declare const zGetTransferPath: z.ZodObject<{
|
|
9051
9530
|
id: z.ZodString;
|
|
9052
9531
|
}, z.core.$strip>;
|
|
@@ -9064,8 +9543,10 @@ export declare const zGetTransferResponse: z.ZodObject<{
|
|
|
9064
9543
|
}>;
|
|
9065
9544
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
9066
9545
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9546
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9067
9547
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
9068
9548
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9549
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
9069
9550
|
initiated_by_user_id: z.ZodString;
|
|
9070
9551
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
9071
9552
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
@@ -9726,8 +10207,8 @@ export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
|
9726
10207
|
certification_id: z.ZodString;
|
|
9727
10208
|
received_at: z.ZodISODateTime;
|
|
9728
10209
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9729
|
-
name: z.
|
|
9730
|
-
content: z.
|
|
10210
|
+
name: z.ZodString;
|
|
10211
|
+
content: z.ZodString;
|
|
9731
10212
|
}, z.core.$strip>>>;
|
|
9732
10213
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9733
10214
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -9807,8 +10288,8 @@ export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
|
9807
10288
|
certification_id: z.ZodString;
|
|
9808
10289
|
received_at: z.ZodISODateTime;
|
|
9809
10290
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9810
|
-
name: z.
|
|
9811
|
-
content: z.
|
|
10291
|
+
name: z.ZodString;
|
|
10292
|
+
content: z.ZodString;
|
|
9812
10293
|
}, z.core.$strip>>>;
|
|
9813
10294
|
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9814
10295
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
@@ -10080,6 +10561,10 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
10080
10561
|
}>>;
|
|
10081
10562
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
10082
10563
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10564
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
10565
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
10566
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
10567
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
10083
10568
|
created_at: z.ZodISODateTime;
|
|
10084
10569
|
updated_at: z.ZodISODateTime;
|
|
10085
10570
|
}, z.core.$strip>>>;
|
|
@@ -10133,6 +10618,10 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
10133
10618
|
}>>;
|
|
10134
10619
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
10135
10620
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10621
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
10622
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
10623
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
10624
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
10136
10625
|
created_at: z.ZodISODateTime;
|
|
10137
10626
|
updated_at: z.ZodISODateTime;
|
|
10138
10627
|
}, z.core.$strip>;
|
|
@@ -10284,6 +10773,10 @@ export declare const zUpdateCompanyProfileResponse: z.ZodObject<{
|
|
|
10284
10773
|
}>>;
|
|
10285
10774
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
10286
10775
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10776
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
10777
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
10778
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
10779
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
10287
10780
|
created_at: z.ZodISODateTime;
|
|
10288
10781
|
updated_at: z.ZodISODateTime;
|
|
10289
10782
|
}, z.core.$strip>;
|
|
@@ -10299,7 +10792,7 @@ export declare const zListChecksQuery: z.ZodObject<{
|
|
|
10299
10792
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
10300
10793
|
'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
10301
10794
|
'filter[project_id]': z.ZodOptional<z.ZodString>;
|
|
10302
|
-
'filter[
|
|
10795
|
+
'filter[compliances_requirement_id]': z.ZodOptional<z.ZodString>;
|
|
10303
10796
|
'filter[time_due][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
10304
10797
|
'filter[time_due][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
10305
10798
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -10341,12 +10834,12 @@ export declare const zListChecksResponse: z.ZodObject<{
|
|
|
10341
10834
|
not_applicable: "not_applicable";
|
|
10342
10835
|
dismissed: "dismissed";
|
|
10343
10836
|
}>;
|
|
10344
|
-
|
|
10837
|
+
compliances_requirement_id: z.ZodString;
|
|
10345
10838
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10346
10839
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10347
10840
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10348
|
-
|
|
10349
|
-
|
|
10841
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10842
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10350
10843
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10351
10844
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10352
10845
|
title: z.ZodString;
|
|
@@ -10408,12 +10901,12 @@ export declare const zGetCheckResponse: z.ZodObject<{
|
|
|
10408
10901
|
not_applicable: "not_applicable";
|
|
10409
10902
|
dismissed: "dismissed";
|
|
10410
10903
|
}>;
|
|
10411
|
-
|
|
10904
|
+
compliances_requirement_id: z.ZodString;
|
|
10412
10905
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10413
10906
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10414
10907
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10415
|
-
|
|
10416
|
-
|
|
10908
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10909
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10417
10910
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10418
10911
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10419
10912
|
title: z.ZodString;
|
|
@@ -10481,12 +10974,12 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
|
|
|
10481
10974
|
not_applicable: "not_applicable";
|
|
10482
10975
|
dismissed: "dismissed";
|
|
10483
10976
|
}>;
|
|
10484
|
-
|
|
10977
|
+
compliances_requirement_id: z.ZodString;
|
|
10485
10978
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10486
10979
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10487
10980
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10488
|
-
|
|
10489
|
-
|
|
10981
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10982
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10490
10983
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10491
10984
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10492
10985
|
title: z.ZodString;
|
|
@@ -11376,7 +11869,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11376
11869
|
id: z.ZodString;
|
|
11377
11870
|
uid: z.ZodString;
|
|
11378
11871
|
job_id: z.ZodString;
|
|
11379
|
-
|
|
11872
|
+
pwa_trade_id: z.ZodString;
|
|
11380
11873
|
labor_classification: z.ZodString;
|
|
11381
11874
|
hourly_rate_cents: z.ZodString;
|
|
11382
11875
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11401,7 +11894,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11401
11894
|
id: z.ZodString;
|
|
11402
11895
|
uid: z.ZodString;
|
|
11403
11896
|
job_id: z.ZodString;
|
|
11404
|
-
|
|
11897
|
+
pwa_trade_id: z.ZodString;
|
|
11405
11898
|
labor_classification: z.ZodString;
|
|
11406
11899
|
hourly_rate_cents: z.ZodString;
|
|
11407
11900
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11422,7 +11915,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11422
11915
|
id: z.ZodString;
|
|
11423
11916
|
uid: z.ZodString;
|
|
11424
11917
|
job_id: z.ZodString;
|
|
11425
|
-
|
|
11918
|
+
pwa_trade_id: z.ZodString;
|
|
11426
11919
|
labor_classification: z.ZodString;
|
|
11427
11920
|
hourly_rate_cents: z.ZodString;
|
|
11428
11921
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11439,7 +11932,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11439
11932
|
id: z.ZodString;
|
|
11440
11933
|
uid: z.ZodString;
|
|
11441
11934
|
job_id: z.ZodString;
|
|
11442
|
-
|
|
11935
|
+
pwa_trade_id: z.ZodString;
|
|
11443
11936
|
labor_classification: z.ZodString;
|
|
11444
11937
|
hourly_rate_cents: z.ZodString;
|
|
11445
11938
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11458,7 +11951,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11458
11951
|
id: z.ZodString;
|
|
11459
11952
|
uid: z.ZodString;
|
|
11460
11953
|
job_id: z.ZodString;
|
|
11461
|
-
|
|
11954
|
+
pwa_trade_id: z.ZodString;
|
|
11462
11955
|
labor_classification: z.ZodString;
|
|
11463
11956
|
hourly_rate_cents: z.ZodString;
|
|
11464
11957
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11479,7 +11972,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11479
11972
|
id: z.ZodString;
|
|
11480
11973
|
uid: z.ZodString;
|
|
11481
11974
|
job_id: z.ZodString;
|
|
11482
|
-
|
|
11975
|
+
pwa_trade_id: z.ZodString;
|
|
11483
11976
|
labor_classification: z.ZodString;
|
|
11484
11977
|
hourly_rate_cents: z.ZodString;
|
|
11485
11978
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11523,7 +12016,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11523
12016
|
id: z.ZodString;
|
|
11524
12017
|
uid: z.ZodString;
|
|
11525
12018
|
job_id: z.ZodString;
|
|
11526
|
-
|
|
12019
|
+
pwa_trade_id: z.ZodString;
|
|
11527
12020
|
labor_classification: z.ZodString;
|
|
11528
12021
|
hourly_rate_cents: z.ZodString;
|
|
11529
12022
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11544,7 +12037,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11544
12037
|
id: z.ZodString;
|
|
11545
12038
|
uid: z.ZodString;
|
|
11546
12039
|
job_id: z.ZodString;
|
|
11547
|
-
|
|
12040
|
+
pwa_trade_id: z.ZodString;
|
|
11548
12041
|
labor_classification: z.ZodString;
|
|
11549
12042
|
hourly_rate_cents: z.ZodString;
|
|
11550
12043
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11559,7 +12052,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11559
12052
|
}, z.core.$strip>;
|
|
11560
12053
|
export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11561
12054
|
labor_classification: z.ZodString;
|
|
11562
|
-
|
|
12055
|
+
pwa_trade_id: z.ZodString;
|
|
11563
12056
|
hourly_rate_cents: z.ZodString;
|
|
11564
12057
|
fringe_rate_cents: z.ZodString;
|
|
11565
12058
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -11573,7 +12066,7 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
11573
12066
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
11574
12067
|
}, z.core.$strip>, z.ZodObject<{
|
|
11575
12068
|
labor_classification: z.ZodString;
|
|
11576
|
-
|
|
12069
|
+
pwa_trade_id: z.ZodString;
|
|
11577
12070
|
hourly_rate_cents: z.ZodString;
|
|
11578
12071
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
11579
12072
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -11590,7 +12083,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11590
12083
|
id: z.ZodString;
|
|
11591
12084
|
uid: z.ZodString;
|
|
11592
12085
|
job_id: z.ZodString;
|
|
11593
|
-
|
|
12086
|
+
pwa_trade_id: z.ZodString;
|
|
11594
12087
|
labor_classification: z.ZodString;
|
|
11595
12088
|
hourly_rate_cents: z.ZodString;
|
|
11596
12089
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11611,7 +12104,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11611
12104
|
id: z.ZodString;
|
|
11612
12105
|
uid: z.ZodString;
|
|
11613
12106
|
job_id: z.ZodString;
|
|
11614
|
-
|
|
12107
|
+
pwa_trade_id: z.ZodString;
|
|
11615
12108
|
labor_classification: z.ZodString;
|
|
11616
12109
|
hourly_rate_cents: z.ZodString;
|
|
11617
12110
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11634,7 +12127,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11634
12127
|
id: z.ZodString;
|
|
11635
12128
|
uid: z.ZodString;
|
|
11636
12129
|
job_id: z.ZodString;
|
|
11637
|
-
|
|
12130
|
+
pwa_trade_id: z.ZodString;
|
|
11638
12131
|
labor_classification: z.ZodString;
|
|
11639
12132
|
hourly_rate_cents: z.ZodString;
|
|
11640
12133
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11655,7 +12148,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11655
12148
|
id: z.ZodString;
|
|
11656
12149
|
uid: z.ZodString;
|
|
11657
12150
|
job_id: z.ZodString;
|
|
11658
|
-
|
|
12151
|
+
pwa_trade_id: z.ZodString;
|
|
11659
12152
|
labor_classification: z.ZodString;
|
|
11660
12153
|
hourly_rate_cents: z.ZodString;
|
|
11661
12154
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11681,7 +12174,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11681
12174
|
id: z.ZodString;
|
|
11682
12175
|
uid: z.ZodString;
|
|
11683
12176
|
job_id: z.ZodString;
|
|
11684
|
-
|
|
12177
|
+
pwa_trade_id: z.ZodString;
|
|
11685
12178
|
labor_classification: z.ZodString;
|
|
11686
12179
|
hourly_rate_cents: z.ZodString;
|
|
11687
12180
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11702,7 +12195,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11702
12195
|
id: z.ZodString;
|
|
11703
12196
|
uid: z.ZodString;
|
|
11704
12197
|
job_id: z.ZodString;
|
|
11705
|
-
|
|
12198
|
+
pwa_trade_id: z.ZodString;
|
|
11706
12199
|
labor_classification: z.ZodString;
|
|
11707
12200
|
hourly_rate_cents: z.ZodString;
|
|
11708
12201
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11750,7 +12243,6 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
11750
12243
|
status: z.ZodString;
|
|
11751
12244
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11752
12245
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11753
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11754
12246
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11755
12247
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
11756
12248
|
tz_name: z.ZodString;
|
|
@@ -11835,7 +12327,7 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
11835
12327
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11836
12328
|
value: z.ZodOptional<z.ZodString>;
|
|
11837
12329
|
}, z.core.$strip>>>;
|
|
11838
|
-
|
|
12330
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
11839
12331
|
tracks_feature_allocations: z.ZodBoolean;
|
|
11840
12332
|
requires_feature_allocation: z.ZodBoolean;
|
|
11841
12333
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -11873,7 +12365,7 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
11873
12365
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11874
12366
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11875
12367
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
11876
|
-
|
|
12368
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11877
12369
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11878
12370
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11879
12371
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -11927,7 +12419,6 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
11927
12419
|
status: z.ZodString;
|
|
11928
12420
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11929
12421
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11930
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11931
12422
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11932
12423
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
11933
12424
|
tz_name: z.ZodString;
|
|
@@ -12012,7 +12503,7 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
12012
12503
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12013
12504
|
value: z.ZodOptional<z.ZodString>;
|
|
12014
12505
|
}, z.core.$strip>>>;
|
|
12015
|
-
|
|
12506
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12016
12507
|
tracks_feature_allocations: z.ZodBoolean;
|
|
12017
12508
|
requires_feature_allocation: z.ZodBoolean;
|
|
12018
12509
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -12033,7 +12524,6 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
12033
12524
|
status: z.ZodString;
|
|
12034
12525
|
start_time: z.ZodNullable<z.ZodString>;
|
|
12035
12526
|
end_time: z.ZodNullable<z.ZodString>;
|
|
12036
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12037
12527
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12038
12528
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12039
12529
|
tz_name: z.ZodString;
|
|
@@ -12118,7 +12608,7 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
12118
12608
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12119
12609
|
value: z.ZodOptional<z.ZodString>;
|
|
12120
12610
|
}, z.core.$strip>>>;
|
|
12121
|
-
|
|
12611
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12122
12612
|
tracks_feature_allocations: z.ZodBoolean;
|
|
12123
12613
|
requires_feature_allocation: z.ZodBoolean;
|
|
12124
12614
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -12152,7 +12642,7 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
12152
12642
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12153
12643
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12154
12644
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
12155
|
-
|
|
12645
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
12156
12646
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12157
12647
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
12158
12648
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
@@ -12215,7 +12705,6 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
12215
12705
|
status: z.ZodString;
|
|
12216
12706
|
start_time: z.ZodNullable<z.ZodString>;
|
|
12217
12707
|
end_time: z.ZodNullable<z.ZodString>;
|
|
12218
|
-
address: z.ZodNullable<z.ZodString>;
|
|
12219
12708
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
12220
12709
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
12221
12710
|
tz_name: z.ZodString;
|
|
@@ -12300,7 +12789,7 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
12300
12789
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12301
12790
|
value: z.ZodOptional<z.ZodString>;
|
|
12302
12791
|
}, z.core.$strip>>>;
|
|
12303
|
-
|
|
12792
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12304
12793
|
tracks_feature_allocations: z.ZodBoolean;
|
|
12305
12794
|
requires_feature_allocation: z.ZodBoolean;
|
|
12306
12795
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -12425,7 +12914,7 @@ export declare const zListPayPeriodsResponse: z.ZodObject<{
|
|
|
12425
12914
|
}, z.core.$strip>;
|
|
12426
12915
|
data: z.ZodArray<z.ZodObject<{
|
|
12427
12916
|
id: z.ZodOptional<z.ZodString>;
|
|
12428
|
-
|
|
12917
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
12429
12918
|
pay_period_config_uid: z.ZodOptional<z.ZodString>;
|
|
12430
12919
|
pay_date: z.ZodOptional<z.ZodISODate>;
|
|
12431
12920
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -12574,7 +13063,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12574
13063
|
id: z.ZodString;
|
|
12575
13064
|
bitemporal_id: z.ZodString;
|
|
12576
13065
|
name: z.ZodString;
|
|
12577
|
-
|
|
13066
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12578
13067
|
compensation_element_name: z.ZodString;
|
|
12579
13068
|
compensation_element_category: z.ZodEnum<{
|
|
12580
13069
|
other: "other";
|
|
@@ -12586,7 +13075,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12586
13075
|
garnishment: "garnishment";
|
|
12587
13076
|
}>;
|
|
12588
13077
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12589
|
-
|
|
13078
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12590
13079
|
contributor: z.ZodEnum<{
|
|
12591
13080
|
any: "any";
|
|
12592
13081
|
employee: "employee";
|
|
@@ -12610,7 +13099,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12610
13099
|
id: z.ZodString;
|
|
12611
13100
|
bitemporal_id: z.ZodString;
|
|
12612
13101
|
name: z.ZodString;
|
|
12613
|
-
|
|
13102
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12614
13103
|
compensation_element_name: z.ZodString;
|
|
12615
13104
|
compensation_element_category: z.ZodEnum<{
|
|
12616
13105
|
other: "other";
|
|
@@ -12622,7 +13111,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12622
13111
|
garnishment: "garnishment";
|
|
12623
13112
|
}>;
|
|
12624
13113
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12625
|
-
|
|
13114
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12626
13115
|
contributor: z.ZodEnum<{
|
|
12627
13116
|
any: "any";
|
|
12628
13117
|
employee: "employee";
|
|
@@ -12674,7 +13163,7 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
12674
13163
|
id: z.ZodString;
|
|
12675
13164
|
bitemporal_id: z.ZodString;
|
|
12676
13165
|
name: z.ZodString;
|
|
12677
|
-
|
|
13166
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12678
13167
|
compensation_element_name: z.ZodString;
|
|
12679
13168
|
compensation_element_category: z.ZodEnum<{
|
|
12680
13169
|
other: "other";
|
|
@@ -12686,7 +13175,7 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
12686
13175
|
garnishment: "garnishment";
|
|
12687
13176
|
}>;
|
|
12688
13177
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12689
|
-
|
|
13178
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12690
13179
|
contributor: z.ZodEnum<{
|
|
12691
13180
|
any: "any";
|
|
12692
13181
|
employee: "employee";
|
|
@@ -12717,7 +13206,7 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
|
|
|
12717
13206
|
id: z.ZodString;
|
|
12718
13207
|
bitemporal_id: z.ZodString;
|
|
12719
13208
|
name: z.ZodString;
|
|
12720
|
-
|
|
13209
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12721
13210
|
compensation_element_name: z.ZodString;
|
|
12722
13211
|
compensation_element_category: z.ZodEnum<{
|
|
12723
13212
|
other: "other";
|
|
@@ -12729,7 +13218,7 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
|
|
|
12729
13218
|
garnishment: "garnishment";
|
|
12730
13219
|
}>;
|
|
12731
13220
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12732
|
-
|
|
13221
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12733
13222
|
contributor: z.ZodEnum<{
|
|
12734
13223
|
any: "any";
|
|
12735
13224
|
employee: "employee";
|
|
@@ -12962,7 +13451,7 @@ export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
12962
13451
|
}, z.core.$strip>;
|
|
12963
13452
|
export declare const zListPayrollRunsQuery: z.ZodObject<{
|
|
12964
13453
|
'filter[run_type]': z.ZodOptional<z.ZodString>;
|
|
12965
|
-
'filter[
|
|
13454
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
12966
13455
|
'filter[run_date][gte]': z.ZodOptional<z.ZodISODate>;
|
|
12967
13456
|
'filter[run_date][lte]': z.ZodOptional<z.ZodISODate>;
|
|
12968
13457
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -12993,8 +13482,8 @@ export declare const zListPayrollRunsResponse: z.ZodObject<{
|
|
|
12993
13482
|
data: z.ZodArray<z.ZodObject<{
|
|
12994
13483
|
id: z.ZodString;
|
|
12995
13484
|
company_id: z.ZodString;
|
|
12996
|
-
|
|
12997
|
-
|
|
13485
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13486
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12998
13487
|
run_type: z.ZodEnum<{
|
|
12999
13488
|
CORRECTION: "CORRECTION";
|
|
13000
13489
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13011,8 +13500,8 @@ export declare const zListPayrollRunsResponse: z.ZodObject<{
|
|
|
13011
13500
|
}, z.core.$strip>;
|
|
13012
13501
|
export declare const zCreatePayrollRunBody: z.ZodObject<{
|
|
13013
13502
|
company_id: z.ZodString;
|
|
13014
|
-
|
|
13015
|
-
|
|
13503
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13504
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13016
13505
|
run_type: z.ZodEnum<{
|
|
13017
13506
|
CORRECTION: "CORRECTION";
|
|
13018
13507
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13030,8 +13519,8 @@ export declare const zCreatePayrollRunBody: z.ZodObject<{
|
|
|
13030
13519
|
export declare const zCreatePayrollRunResponse: z.ZodObject<{
|
|
13031
13520
|
id: z.ZodString;
|
|
13032
13521
|
company_id: z.ZodString;
|
|
13033
|
-
|
|
13034
|
-
|
|
13522
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13523
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
13035
13524
|
run_type: z.ZodEnum<{
|
|
13036
13525
|
CORRECTION: "CORRECTION";
|
|
13037
13526
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13054,8 +13543,8 @@ export declare const zDeletePayrollRunPath: z.ZodObject<{
|
|
|
13054
13543
|
export declare const zDeletePayrollRunResponse: z.ZodObject<{
|
|
13055
13544
|
id: z.ZodString;
|
|
13056
13545
|
company_id: z.ZodString;
|
|
13057
|
-
|
|
13058
|
-
|
|
13546
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13547
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
13059
13548
|
run_type: z.ZodEnum<{
|
|
13060
13549
|
CORRECTION: "CORRECTION";
|
|
13061
13550
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13078,8 +13567,8 @@ export declare const zGetPayrollRunPath: z.ZodObject<{
|
|
|
13078
13567
|
export declare const zGetPayrollRunResponse: z.ZodObject<{
|
|
13079
13568
|
id: z.ZodString;
|
|
13080
13569
|
company_id: z.ZodString;
|
|
13081
|
-
|
|
13082
|
-
|
|
13570
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13571
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
13083
13572
|
run_type: z.ZodEnum<{
|
|
13084
13573
|
CORRECTION: "CORRECTION";
|
|
13085
13574
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13095,8 +13584,8 @@ export declare const zGetPayrollRunResponse: z.ZodObject<{
|
|
|
13095
13584
|
}, z.core.$strip>;
|
|
13096
13585
|
export declare const zUpdatePayrollRunBody: z.ZodObject<{
|
|
13097
13586
|
company_id: z.ZodString;
|
|
13098
|
-
|
|
13099
|
-
|
|
13587
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13588
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13100
13589
|
run_type: z.ZodEnum<{
|
|
13101
13590
|
CORRECTION: "CORRECTION";
|
|
13102
13591
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13117,8 +13606,8 @@ export declare const zUpdatePayrollRunPath: z.ZodObject<{
|
|
|
13117
13606
|
export declare const zUpdatePayrollRunResponse: z.ZodObject<{
|
|
13118
13607
|
id: z.ZodString;
|
|
13119
13608
|
company_id: z.ZodString;
|
|
13120
|
-
|
|
13121
|
-
|
|
13609
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13610
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
13122
13611
|
run_type: z.ZodEnum<{
|
|
13123
13612
|
CORRECTION: "CORRECTION";
|
|
13124
13613
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -13133,7 +13622,7 @@ export declare const zUpdatePayrollRunResponse: z.ZodObject<{
|
|
|
13133
13622
|
updated_at: z.ZodISODateTime;
|
|
13134
13623
|
}, z.core.$strip>;
|
|
13135
13624
|
export declare const zListPaystubLineItemsQuery: z.ZodObject<{
|
|
13136
|
-
'filter[
|
|
13625
|
+
'filter[payrolls_paystub_id]': z.ZodOptional<z.ZodString>;
|
|
13137
13626
|
filter: z.ZodOptional<z.ZodString>;
|
|
13138
13627
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
13139
13628
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
@@ -13157,9 +13646,9 @@ export declare const zListPaystubLineItemsResponse: z.ZodObject<{
|
|
|
13157
13646
|
}, z.core.$strip>;
|
|
13158
13647
|
data: z.ZodArray<z.ZodObject<{
|
|
13159
13648
|
id: z.ZodString;
|
|
13160
|
-
|
|
13161
|
-
|
|
13162
|
-
|
|
13649
|
+
payrolls_external_map_id: z.ZodString;
|
|
13650
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13651
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13163
13652
|
user_id: z.ZodNullable<z.ZodString>;
|
|
13164
13653
|
external_map: z.ZodObject<{
|
|
13165
13654
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -13187,22 +13676,22 @@ export declare const zListPaystubLineItemsResponse: z.ZodObject<{
|
|
|
13187
13676
|
}, z.core.$strip>>;
|
|
13188
13677
|
}, z.core.$strip>;
|
|
13189
13678
|
export declare const zCreatePaystubLineItemBody: z.ZodObject<{
|
|
13190
|
-
|
|
13679
|
+
payrolls_paystub_id: z.ZodString;
|
|
13191
13680
|
amount_cents: z.ZodString;
|
|
13192
13681
|
contributor: z.ZodEnum<{
|
|
13193
13682
|
employee: "employee";
|
|
13194
13683
|
employer: "employer";
|
|
13195
13684
|
}>;
|
|
13196
|
-
|
|
13685
|
+
payrolls_external_map_id: z.ZodString;
|
|
13197
13686
|
}, z.core.$strip>;
|
|
13198
13687
|
/**
|
|
13199
13688
|
* Success
|
|
13200
13689
|
*/
|
|
13201
13690
|
export declare const zCreatePaystubLineItemResponse: z.ZodObject<{
|
|
13202
13691
|
id: z.ZodString;
|
|
13203
|
-
|
|
13204
|
-
|
|
13205
|
-
|
|
13692
|
+
payrolls_external_map_id: z.ZodString;
|
|
13693
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13694
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13206
13695
|
user_id: z.ZodNullable<z.ZodString>;
|
|
13207
13696
|
external_map: z.ZodObject<{
|
|
13208
13697
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -13236,9 +13725,9 @@ export declare const zDeletePaystubLineItemPath: z.ZodObject<{
|
|
|
13236
13725
|
*/
|
|
13237
13726
|
export declare const zDeletePaystubLineItemResponse: z.ZodObject<{
|
|
13238
13727
|
id: z.ZodString;
|
|
13239
|
-
|
|
13240
|
-
|
|
13241
|
-
|
|
13728
|
+
payrolls_external_map_id: z.ZodString;
|
|
13729
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13730
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13242
13731
|
user_id: z.ZodNullable<z.ZodString>;
|
|
13243
13732
|
external_map: z.ZodObject<{
|
|
13244
13733
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -13272,9 +13761,9 @@ export declare const zGetPaystubLineItemPath: z.ZodObject<{
|
|
|
13272
13761
|
*/
|
|
13273
13762
|
export declare const zGetPaystubLineItemResponse: z.ZodObject<{
|
|
13274
13763
|
id: z.ZodString;
|
|
13275
|
-
|
|
13276
|
-
|
|
13277
|
-
|
|
13764
|
+
payrolls_external_map_id: z.ZodString;
|
|
13765
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13766
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13278
13767
|
user_id: z.ZodNullable<z.ZodString>;
|
|
13279
13768
|
external_map: z.ZodObject<{
|
|
13280
13769
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -13301,13 +13790,13 @@ export declare const zGetPaystubLineItemResponse: z.ZodObject<{
|
|
|
13301
13790
|
updated_at: z.ZodISODateTime;
|
|
13302
13791
|
}, z.core.$strip>;
|
|
13303
13792
|
export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
|
|
13304
|
-
|
|
13793
|
+
payrolls_paystub_id: z.ZodString;
|
|
13305
13794
|
amount_cents: z.ZodString;
|
|
13306
13795
|
contributor: z.ZodEnum<{
|
|
13307
13796
|
employee: "employee";
|
|
13308
13797
|
employer: "employer";
|
|
13309
13798
|
}>;
|
|
13310
|
-
|
|
13799
|
+
payrolls_external_map_id: z.ZodString;
|
|
13311
13800
|
}, z.core.$strip>;
|
|
13312
13801
|
export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
|
|
13313
13802
|
id: z.ZodString;
|
|
@@ -13317,9 +13806,9 @@ export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
|
|
|
13317
13806
|
*/
|
|
13318
13807
|
export declare const zUpdatePaystubLineItemResponse: z.ZodObject<{
|
|
13319
13808
|
id: z.ZodString;
|
|
13320
|
-
|
|
13321
|
-
|
|
13322
|
-
|
|
13809
|
+
payrolls_external_map_id: z.ZodString;
|
|
13810
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13811
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13323
13812
|
user_id: z.ZodNullable<z.ZodString>;
|
|
13324
13813
|
external_map: z.ZodObject<{
|
|
13325
13814
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -13346,9 +13835,9 @@ export declare const zUpdatePaystubLineItemResponse: z.ZodObject<{
|
|
|
13346
13835
|
updated_at: z.ZodISODateTime;
|
|
13347
13836
|
}, z.core.$strip>;
|
|
13348
13837
|
export declare const zListPaystubsQuery: z.ZodObject<{
|
|
13349
|
-
'filter[
|
|
13838
|
+
'filter[payrolls_payroll_run_id]': z.ZodOptional<z.ZodString>;
|
|
13350
13839
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
13351
|
-
'filter[
|
|
13840
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
13352
13841
|
filter: z.ZodOptional<z.ZodString>;
|
|
13353
13842
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
13354
13843
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
@@ -13375,16 +13864,16 @@ export declare const zListPaystubsResponse: z.ZodObject<{
|
|
|
13375
13864
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13376
13865
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13377
13866
|
user_id: z.ZodString;
|
|
13378
|
-
|
|
13379
|
-
|
|
13867
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13868
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13380
13869
|
created_at: z.ZodISODateTime;
|
|
13381
13870
|
updated_at: z.ZodISODateTime;
|
|
13382
13871
|
}, z.core.$strip>>;
|
|
13383
13872
|
}, z.core.$strip>;
|
|
13384
13873
|
export declare const zCreatePaystubBody: z.ZodObject<{
|
|
13385
|
-
|
|
13874
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13386
13875
|
user_id: z.ZodString;
|
|
13387
|
-
|
|
13876
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13388
13877
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13389
13878
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13390
13879
|
}, z.core.$strip>;
|
|
@@ -13396,8 +13885,8 @@ export declare const zCreatePaystubResponse: z.ZodObject<{
|
|
|
13396
13885
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13397
13886
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13398
13887
|
user_id: z.ZodString;
|
|
13399
|
-
|
|
13400
|
-
|
|
13888
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13889
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13401
13890
|
created_at: z.ZodISODateTime;
|
|
13402
13891
|
updated_at: z.ZodISODateTime;
|
|
13403
13892
|
}, z.core.$strip>;
|
|
@@ -13412,8 +13901,8 @@ export declare const zDeletePaystubResponse: z.ZodObject<{
|
|
|
13412
13901
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13413
13902
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13414
13903
|
user_id: z.ZodString;
|
|
13415
|
-
|
|
13416
|
-
|
|
13904
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13905
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13417
13906
|
created_at: z.ZodISODateTime;
|
|
13418
13907
|
updated_at: z.ZodISODateTime;
|
|
13419
13908
|
}, z.core.$strip>;
|
|
@@ -13428,15 +13917,15 @@ export declare const zGetPaystubResponse: z.ZodObject<{
|
|
|
13428
13917
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13429
13918
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13430
13919
|
user_id: z.ZodString;
|
|
13431
|
-
|
|
13432
|
-
|
|
13920
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13921
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13433
13922
|
created_at: z.ZodISODateTime;
|
|
13434
13923
|
updated_at: z.ZodISODateTime;
|
|
13435
13924
|
}, z.core.$strip>;
|
|
13436
13925
|
export declare const zUpdatePaystubBody: z.ZodObject<{
|
|
13437
|
-
|
|
13926
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13438
13927
|
user_id: z.ZodString;
|
|
13439
|
-
|
|
13928
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13440
13929
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13441
13930
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13442
13931
|
}, z.core.$strip>;
|
|
@@ -13451,8 +13940,8 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
13451
13940
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13452
13941
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13453
13942
|
user_id: z.ZodString;
|
|
13454
|
-
|
|
13455
|
-
|
|
13943
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13944
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13456
13945
|
created_at: z.ZodISODateTime;
|
|
13457
13946
|
updated_at: z.ZodISODateTime;
|
|
13458
13947
|
}, z.core.$strip>;
|
|
@@ -13499,7 +13988,7 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
|
|
|
13499
13988
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
13500
13989
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13501
13990
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13502
|
-
|
|
13991
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13503
13992
|
created_at: z.ZodISODateTime;
|
|
13504
13993
|
updated_at: z.ZodISODateTime;
|
|
13505
13994
|
}, z.core.$strip>>>;
|
|
@@ -13513,7 +14002,7 @@ export declare const zCreatePerDiemBody: z.ZodObject<{
|
|
|
13513
14002
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13514
14003
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13515
14004
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13516
|
-
|
|
14005
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13517
14006
|
}, z.core.$strip>;
|
|
13518
14007
|
/**
|
|
13519
14008
|
* Created
|
|
@@ -13528,7 +14017,7 @@ export declare const zCreatePerDiemResponse: z.ZodObject<{
|
|
|
13528
14017
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
13529
14018
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13530
14019
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13531
|
-
|
|
14020
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13532
14021
|
created_at: z.ZodISODateTime;
|
|
13533
14022
|
updated_at: z.ZodISODateTime;
|
|
13534
14023
|
}, z.core.$strip>;
|
|
@@ -13548,7 +14037,7 @@ export declare const zDeletePerDiemResponse: z.ZodObject<{
|
|
|
13548
14037
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
13549
14038
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13550
14039
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13551
|
-
|
|
14040
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13552
14041
|
created_at: z.ZodISODateTime;
|
|
13553
14042
|
updated_at: z.ZodISODateTime;
|
|
13554
14043
|
}, z.core.$strip>;
|
|
@@ -13568,7 +14057,7 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
|
|
|
13568
14057
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
13569
14058
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13570
14059
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13571
|
-
|
|
14060
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13572
14061
|
created_at: z.ZodISODateTime;
|
|
13573
14062
|
updated_at: z.ZodISODateTime;
|
|
13574
14063
|
}, z.core.$strip>;
|
|
@@ -13581,7 +14070,7 @@ export declare const zUpdatePerDiemBody: z.ZodObject<{
|
|
|
13581
14070
|
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13582
14071
|
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13583
14072
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13584
|
-
|
|
14073
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13585
14074
|
}, z.core.$strip>;
|
|
13586
14075
|
export declare const zUpdatePerDiemPath: z.ZodObject<{
|
|
13587
14076
|
id: z.ZodString;
|
|
@@ -13599,7 +14088,7 @@ export declare const zUpdatePerDiemResponse: z.ZodObject<{
|
|
|
13599
14088
|
default: z.ZodNullable<z.ZodBoolean>;
|
|
13600
14089
|
active: z.ZodNullable<z.ZodBoolean>;
|
|
13601
14090
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13602
|
-
|
|
14091
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13603
14092
|
created_at: z.ZodISODateTime;
|
|
13604
14093
|
updated_at: z.ZodISODateTime;
|
|
13605
14094
|
}, z.core.$strip>;
|
|
@@ -14677,11 +15166,56 @@ export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
|
|
|
14677
15166
|
created_by_user_id: z.ZodString;
|
|
14678
15167
|
time_due: z.ZodOptional<z.ZodString>;
|
|
14679
15168
|
tz_name: z.ZodOptional<z.ZodString>;
|
|
14680
|
-
frequency: z.ZodOptional<z.
|
|
15169
|
+
frequency: z.ZodOptional<z.ZodEnum<{
|
|
15170
|
+
DAILY: "DAILY";
|
|
15171
|
+
WORKDAILY: "WORKDAILY";
|
|
15172
|
+
WORKDAILYSIX: "WORKDAILYSIX";
|
|
15173
|
+
WEEKLY: "WEEKLY";
|
|
15174
|
+
BIWEEKLY: "BIWEEKLY";
|
|
15175
|
+
MONTHLY: "MONTHLY";
|
|
15176
|
+
QUARTERLY: "QUARTERLY";
|
|
15177
|
+
}>>;
|
|
14681
15178
|
recurrence_end_time: z.ZodOptional<z.ZodString>;
|
|
14682
15179
|
task_assignee_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14683
15180
|
reminders_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14684
|
-
offset: z.
|
|
15181
|
+
offset: z.ZodEnum<{
|
|
15182
|
+
PT0S: "PT0S";
|
|
15183
|
+
"PT-1M": "PT-1M";
|
|
15184
|
+
"PT-5M": "PT-5M";
|
|
15185
|
+
"PT-10M": "PT-10M";
|
|
15186
|
+
"PT-15M": "PT-15M";
|
|
15187
|
+
"PT-30M": "PT-30M";
|
|
15188
|
+
"PT-1H": "PT-1H";
|
|
15189
|
+
"PT-2H": "PT-2H";
|
|
15190
|
+
"P-1D": "P-1D";
|
|
15191
|
+
"P-2D": "P-2D";
|
|
15192
|
+
"P-3D": "P-3D";
|
|
15193
|
+
"P-4D": "P-4D";
|
|
15194
|
+
"P-5D": "P-5D";
|
|
15195
|
+
"P-6D": "P-6D";
|
|
15196
|
+
"P-1W": "P-1W";
|
|
15197
|
+
"P-2W": "P-2W";
|
|
15198
|
+
"P-1M": "P-1M";
|
|
15199
|
+
"P-2M": "P-2M";
|
|
15200
|
+
"P-3M": "P-3M";
|
|
15201
|
+
"P-6M": "P-6M";
|
|
15202
|
+
"P-1Y": "P-1Y";
|
|
15203
|
+
PT5M: "PT5M";
|
|
15204
|
+
PT15M: "PT15M";
|
|
15205
|
+
PT30M: "PT30M";
|
|
15206
|
+
PT1H: "PT1H";
|
|
15207
|
+
PT6H: "PT6H";
|
|
15208
|
+
PT12H: "PT12H";
|
|
15209
|
+
P1D: "P1D";
|
|
15210
|
+
P2D: "P2D";
|
|
15211
|
+
P3D: "P3D";
|
|
15212
|
+
P4D: "P4D";
|
|
15213
|
+
P5D: "P5D";
|
|
15214
|
+
P6D: "P6D";
|
|
15215
|
+
P1W: "P1W";
|
|
15216
|
+
P2W: "P2W";
|
|
15217
|
+
P3W: "P3W";
|
|
15218
|
+
}>;
|
|
14685
15219
|
}, z.core.$strip>>>;
|
|
14686
15220
|
}, z.core.$strip>;
|
|
14687
15221
|
}, z.core.$strip>;
|
|
@@ -14924,7 +15458,7 @@ export declare const zSetTimeCardLockPath: z.ZodObject<{
|
|
|
14924
15458
|
export declare const zSetTimeCardLockResponse: z.ZodObject<{
|
|
14925
15459
|
id: z.ZodString;
|
|
14926
15460
|
user_id: z.ZodString;
|
|
14927
|
-
|
|
15461
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
14928
15462
|
locked: z.ZodBoolean;
|
|
14929
15463
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
14930
15464
|
pending: "pending";
|
|
@@ -14981,7 +15515,7 @@ export declare const zCreateManagerTimeCardApprovalPath: z.ZodObject<{
|
|
|
14981
15515
|
*/
|
|
14982
15516
|
export declare const zCreateManagerTimeCardApprovalResponse: z.ZodObject<{
|
|
14983
15517
|
id: z.ZodString;
|
|
14984
|
-
|
|
15518
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14985
15519
|
status: z.ZodEnum<{
|
|
14986
15520
|
pending: "pending";
|
|
14987
15521
|
approved: "approved";
|
|
@@ -15015,7 +15549,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
|
|
|
15015
15549
|
}, z.core.$strip>>;
|
|
15016
15550
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15017
15551
|
id: z.ZodString;
|
|
15018
|
-
|
|
15552
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15019
15553
|
date: z.ZodISODate;
|
|
15020
15554
|
approver_user_id: z.ZodString;
|
|
15021
15555
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -15040,7 +15574,7 @@ export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
|
|
|
15040
15574
|
*/
|
|
15041
15575
|
export declare const zCreateTimeCardPerDiemResponse: z.ZodObject<{
|
|
15042
15576
|
id: z.ZodString;
|
|
15043
|
-
|
|
15577
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15044
15578
|
date: z.ZodISODate;
|
|
15045
15579
|
approver_user_id: z.ZodString;
|
|
15046
15580
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -15059,7 +15593,7 @@ export declare const zDeleteTimeCardPerDiemPath: z.ZodObject<{
|
|
|
15059
15593
|
*/
|
|
15060
15594
|
export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
|
|
15061
15595
|
id: z.ZodString;
|
|
15062
|
-
|
|
15596
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15063
15597
|
date: z.ZodISODate;
|
|
15064
15598
|
approver_user_id: z.ZodString;
|
|
15065
15599
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -15084,7 +15618,7 @@ export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
|
|
|
15084
15618
|
*/
|
|
15085
15619
|
export declare const zUpdateTimeCardPerDiemResponse: z.ZodObject<{
|
|
15086
15620
|
id: z.ZodString;
|
|
15087
|
-
|
|
15621
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15088
15622
|
date: z.ZodISODate;
|
|
15089
15623
|
approver_user_id: z.ZodString;
|
|
15090
15624
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -15120,8 +15654,8 @@ export declare const zListPriorPeriodAdjustmentsResponse: z.ZodObject<{
|
|
|
15120
15654
|
}, z.core.$strip>>;
|
|
15121
15655
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15122
15656
|
id: z.ZodString;
|
|
15123
|
-
|
|
15124
|
-
|
|
15657
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15658
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
15125
15659
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15126
15660
|
created_by_user_id: z.ZodString;
|
|
15127
15661
|
adjustment_type: z.ZodEnum<{
|
|
@@ -15151,8 +15685,8 @@ export declare const zGetPriorPeriodAdjustmentPath: z.ZodObject<{
|
|
|
15151
15685
|
*/
|
|
15152
15686
|
export declare const zGetPriorPeriodAdjustmentResponse: z.ZodObject<{
|
|
15153
15687
|
id: z.ZodString;
|
|
15154
|
-
|
|
15155
|
-
|
|
15688
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15689
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
15156
15690
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15157
15691
|
created_by_user_id: z.ZodString;
|
|
15158
15692
|
adjustment_type: z.ZodEnum<{
|
|
@@ -15186,7 +15720,7 @@ export declare const zCreateWorkerTimeCardApprovalPath: z.ZodObject<{
|
|
|
15186
15720
|
*/
|
|
15187
15721
|
export declare const zCreateWorkerTimeCardApprovalResponse: z.ZodObject<{
|
|
15188
15722
|
id: z.ZodString;
|
|
15189
|
-
|
|
15723
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15190
15724
|
status: z.ZodEnum<{
|
|
15191
15725
|
pending: "pending";
|
|
15192
15726
|
approved: "approved";
|
|
@@ -15196,7 +15730,7 @@ export declare const zCreateWorkerTimeCardApprovalResponse: z.ZodObject<{
|
|
|
15196
15730
|
created_at: z.ZodISODateTime;
|
|
15197
15731
|
}, z.core.$strip>;
|
|
15198
15732
|
export declare const zListTimeCardsQuery: z.ZodObject<{
|
|
15199
|
-
'filter[
|
|
15733
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
15200
15734
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
15201
15735
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15202
15736
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -15224,7 +15758,7 @@ export declare const zListTimeCardsResponse: z.ZodObject<{
|
|
|
15224
15758
|
data: z.ZodArray<z.ZodObject<{
|
|
15225
15759
|
id: z.ZodString;
|
|
15226
15760
|
user_id: z.ZodString;
|
|
15227
|
-
|
|
15761
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15228
15762
|
locked: z.ZodBoolean;
|
|
15229
15763
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
15230
15764
|
pending: "pending";
|
|
@@ -15275,7 +15809,7 @@ export declare const zGetTimeCardPath: z.ZodObject<{
|
|
|
15275
15809
|
export declare const zGetTimeCardResponse: z.ZodObject<{
|
|
15276
15810
|
id: z.ZodString;
|
|
15277
15811
|
user_id: z.ZodString;
|
|
15278
|
-
|
|
15812
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15279
15813
|
locked: z.ZodBoolean;
|
|
15280
15814
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
15281
15815
|
pending: "pending";
|
|
@@ -15335,10 +15869,11 @@ export declare const zListDeltasQuery: z.ZodObject<{
|
|
|
15335
15869
|
*/
|
|
15336
15870
|
export declare const zListDeltasResponse: z.ZodObject<{
|
|
15337
15871
|
meta: z.ZodOptional<z.ZodObject<{
|
|
15338
|
-
page: z.
|
|
15872
|
+
page: z.ZodObject<{
|
|
15339
15873
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15340
15874
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15341
|
-
}, z.core.$strip
|
|
15875
|
+
}, z.core.$strip>;
|
|
15876
|
+
complete_through: z.ZodISODateTime;
|
|
15342
15877
|
}, z.core.$strip>>;
|
|
15343
15878
|
links: z.ZodOptional<z.ZodObject<{
|
|
15344
15879
|
self: z.ZodOptional<z.ZodString>;
|
|
@@ -15359,7 +15894,7 @@ export declare const zListTimeEntriesQuery: z.ZodObject<{
|
|
|
15359
15894
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
15360
15895
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
15361
15896
|
'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
15362
|
-
'filter[
|
|
15897
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
15363
15898
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15364
15899
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15365
15900
|
'filter[end_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -15392,9 +15927,9 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15392
15927
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15393
15928
|
id: z.ZodString;
|
|
15394
15929
|
user_id: z.ZodString;
|
|
15395
|
-
|
|
15930
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15396
15931
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15397
|
-
|
|
15932
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15398
15933
|
state: z.ZodNullable<z.ZodString>;
|
|
15399
15934
|
description: z.ZodNullable<z.ZodString>;
|
|
15400
15935
|
clock_punched: z.ZodBoolean;
|
|
@@ -15414,7 +15949,7 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15414
15949
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15415
15950
|
currency: z.ZodNullable<z.ZodString>;
|
|
15416
15951
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15417
|
-
|
|
15952
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15418
15953
|
start_time: z.ZodISODateTime;
|
|
15419
15954
|
end_time: z.ZodISODateTime;
|
|
15420
15955
|
created_at: z.ZodISODateTime;
|
|
@@ -15435,11 +15970,11 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15435
15970
|
}, z.core.$strip>>>;
|
|
15436
15971
|
}, z.core.$strip>;
|
|
15437
15972
|
export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
15438
|
-
|
|
15973
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15439
15974
|
start_time: z.ZodISODateTime;
|
|
15440
15975
|
end_time: z.ZodISODateTime;
|
|
15441
15976
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15442
|
-
|
|
15977
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15443
15978
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15444
15979
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15445
15980
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15452,9 +15987,9 @@ export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
|
15452
15987
|
export declare const zCreateTimeEntryResponse: z.ZodObject<{
|
|
15453
15988
|
id: z.ZodString;
|
|
15454
15989
|
user_id: z.ZodString;
|
|
15455
|
-
|
|
15990
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15456
15991
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15457
|
-
|
|
15992
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15458
15993
|
state: z.ZodNullable<z.ZodString>;
|
|
15459
15994
|
description: z.ZodNullable<z.ZodString>;
|
|
15460
15995
|
clock_punched: z.ZodBoolean;
|
|
@@ -15474,7 +16009,7 @@ export declare const zCreateTimeEntryResponse: z.ZodObject<{
|
|
|
15474
16009
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15475
16010
|
currency: z.ZodNullable<z.ZodString>;
|
|
15476
16011
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15477
|
-
|
|
16012
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15478
16013
|
start_time: z.ZodISODateTime;
|
|
15479
16014
|
end_time: z.ZodISODateTime;
|
|
15480
16015
|
created_at: z.ZodISODateTime;
|
|
@@ -15502,9 +16037,9 @@ export declare const zDeleteTimeEntryPath: z.ZodObject<{
|
|
|
15502
16037
|
export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
15503
16038
|
id: z.ZodString;
|
|
15504
16039
|
user_id: z.ZodString;
|
|
15505
|
-
|
|
16040
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15506
16041
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15507
|
-
|
|
16042
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15508
16043
|
state: z.ZodNullable<z.ZodString>;
|
|
15509
16044
|
description: z.ZodNullable<z.ZodString>;
|
|
15510
16045
|
clock_punched: z.ZodBoolean;
|
|
@@ -15524,7 +16059,7 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
|
15524
16059
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15525
16060
|
currency: z.ZodNullable<z.ZodString>;
|
|
15526
16061
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15527
|
-
|
|
16062
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15528
16063
|
start_time: z.ZodISODateTime;
|
|
15529
16064
|
end_time: z.ZodISODateTime;
|
|
15530
16065
|
created_at: z.ZodISODateTime;
|
|
@@ -15544,11 +16079,11 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
|
15544
16079
|
total_hours: z.ZodNumber;
|
|
15545
16080
|
}, z.core.$strip>;
|
|
15546
16081
|
export declare const zUpdateTimeEntryBody: z.ZodObject<{
|
|
15547
|
-
|
|
16082
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15548
16083
|
start_time: z.ZodISODateTime;
|
|
15549
16084
|
end_time: z.ZodISODateTime;
|
|
15550
16085
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15551
|
-
|
|
16086
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15552
16087
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15553
16088
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15554
16089
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15564,9 +16099,9 @@ export declare const zUpdateTimeEntryPath: z.ZodObject<{
|
|
|
15564
16099
|
export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
15565
16100
|
id: z.ZodString;
|
|
15566
16101
|
user_id: z.ZodString;
|
|
15567
|
-
|
|
16102
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15568
16103
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15569
|
-
|
|
16104
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15570
16105
|
state: z.ZodNullable<z.ZodString>;
|
|
15571
16106
|
description: z.ZodNullable<z.ZodString>;
|
|
15572
16107
|
clock_punched: z.ZodBoolean;
|
|
@@ -15586,7 +16121,7 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
|
15586
16121
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15587
16122
|
currency: z.ZodNullable<z.ZodString>;
|
|
15588
16123
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15589
|
-
|
|
16124
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15590
16125
|
start_time: z.ZodISODateTime;
|
|
15591
16126
|
end_time: z.ZodISODateTime;
|
|
15592
16127
|
created_at: z.ZodISODateTime;
|
|
@@ -15978,45 +16513,6 @@ export declare const zCreateTimecodeResponse: z.ZodObject<{
|
|
|
15978
16513
|
created_at: z.ZodISODateTime;
|
|
15979
16514
|
updated_at: z.ZodISODateTime;
|
|
15980
16515
|
}, z.core.$strip>;
|
|
15981
|
-
export declare const zTerminateTimecodeBody: z.ZodObject<{
|
|
15982
|
-
termination_date: z.ZodOptional<z.ZodISODate>;
|
|
15983
|
-
}, z.core.$strip>;
|
|
15984
|
-
export declare const zTerminateTimecodePath: z.ZodObject<{
|
|
15985
|
-
id: z.ZodString;
|
|
15986
|
-
}, z.core.$strip>;
|
|
15987
|
-
/**
|
|
15988
|
-
* Success
|
|
15989
|
-
*/
|
|
15990
|
-
export declare const zTerminateTimecodeResponse: z.ZodObject<{
|
|
15991
|
-
id: z.ZodString;
|
|
15992
|
-
name: z.ZodString;
|
|
15993
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15994
|
-
description_is_required: z.ZodBoolean;
|
|
15995
|
-
billable: z.ZodBoolean;
|
|
15996
|
-
overtime_eligible: z.ZodBoolean;
|
|
15997
|
-
unpaid: z.ZodBoolean;
|
|
15998
|
-
holiday: z.ZodBoolean;
|
|
15999
|
-
pto: z.ZodBoolean;
|
|
16000
|
-
safety: z.ZodBoolean;
|
|
16001
|
-
lunch_shortcut: z.ZodBoolean;
|
|
16002
|
-
break_shortcut: z.ZodBoolean;
|
|
16003
|
-
pwa: z.ZodBoolean;
|
|
16004
|
-
rest_and_recovery: z.ZodBoolean;
|
|
16005
|
-
incentive_pay_eligible: z.ZodBoolean;
|
|
16006
|
-
restricted_to: z.ZodEnum<{
|
|
16007
|
-
none: "none";
|
|
16008
|
-
job: "job";
|
|
16009
|
-
non_job: "non_job";
|
|
16010
|
-
job_with_timecode: "job_with_timecode";
|
|
16011
|
-
}>;
|
|
16012
|
-
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
16013
|
-
valid_from: z.ZodISODateTime;
|
|
16014
|
-
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16015
|
-
transaction_from: z.ZodISODateTime;
|
|
16016
|
-
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16017
|
-
created_at: z.ZodISODateTime;
|
|
16018
|
-
updated_at: z.ZodISODateTime;
|
|
16019
|
-
}, z.core.$strip>;
|
|
16020
16516
|
export declare const zGetTimecodePath: z.ZodObject<{
|
|
16021
16517
|
id: z.ZodString;
|
|
16022
16518
|
}, z.core.$strip>;
|
|
@@ -16117,9 +16613,9 @@ export declare const zUpdateTimecodeResponse: z.ZodObject<{
|
|
|
16117
16613
|
updated_at: z.ZodISODateTime;
|
|
16118
16614
|
}, z.core.$strip>;
|
|
16119
16615
|
export declare const zListJobTimeCardDaysQuery: z.ZodObject<{
|
|
16120
|
-
'filter[
|
|
16616
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
16121
16617
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
16122
|
-
'filter[
|
|
16618
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
16123
16619
|
'filter[date][gte]': z.ZodOptional<z.ZodISODate>;
|
|
16124
16620
|
'filter[date][lte]': z.ZodOptional<z.ZodISODate>;
|
|
16125
16621
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -16149,11 +16645,11 @@ export declare const zListJobTimeCardDaysResponse: z.ZodObject<{
|
|
|
16149
16645
|
}, z.core.$strip>;
|
|
16150
16646
|
data: z.ZodArray<z.ZodObject<{
|
|
16151
16647
|
id: z.ZodString;
|
|
16152
|
-
|
|
16648
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
16153
16649
|
job_id: z.ZodString;
|
|
16154
|
-
|
|
16650
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16155
16651
|
user_id: z.ZodString;
|
|
16156
|
-
|
|
16652
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
16157
16653
|
date: z.ZodISODate;
|
|
16158
16654
|
minutes_worked: z.ZodInt;
|
|
16159
16655
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -16241,11 +16737,11 @@ export declare const zGetJobTimeCardDayPath: z.ZodObject<{
|
|
|
16241
16737
|
*/
|
|
16242
16738
|
export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
|
|
16243
16739
|
id: z.ZodString;
|
|
16244
|
-
|
|
16740
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
16245
16741
|
job_id: z.ZodString;
|
|
16246
|
-
|
|
16742
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16247
16743
|
user_id: z.ZodString;
|
|
16248
|
-
|
|
16744
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
16249
16745
|
date: z.ZodISODate;
|
|
16250
16746
|
minutes_worked: z.ZodInt;
|
|
16251
16747
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -16340,7 +16836,7 @@ export declare const zCreateManagerTimeEntryApprovalPath: z.ZodObject<{
|
|
|
16340
16836
|
*/
|
|
16341
16837
|
export declare const zCreateManagerTimeEntryApprovalResponse: z.ZodObject<{
|
|
16342
16838
|
id: z.ZodString;
|
|
16343
|
-
|
|
16839
|
+
timekeeping_time_entry_id: z.ZodString;
|
|
16344
16840
|
time_card_approval_id: z.ZodNullable<z.ZodString>;
|
|
16345
16841
|
status: z.ZodEnum<{
|
|
16346
16842
|
pending: "pending";
|
|
@@ -16827,7 +17323,7 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
|
|
|
16827
17323
|
created_at: z.ZodISODateTime;
|
|
16828
17324
|
}, z.core.$strip>;
|
|
16829
17325
|
export declare const zListTimeCardActualsQuery: z.ZodObject<{
|
|
16830
|
-
'filter[
|
|
17326
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
16831
17327
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16832
17328
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16833
17329
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -16855,7 +17351,7 @@ export declare const zListTimeCardActualsResponse: z.ZodObject<{
|
|
|
16855
17351
|
}, z.core.$strip>>;
|
|
16856
17352
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16857
17353
|
id: z.ZodString;
|
|
16858
|
-
|
|
17354
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16859
17355
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16860
17356
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16861
17357
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -16914,7 +17410,7 @@ export declare const zGetTimeCardActualPath: z.ZodObject<{
|
|
|
16914
17410
|
*/
|
|
16915
17411
|
export declare const zGetTimeCardActualResponse: z.ZodObject<{
|
|
16916
17412
|
id: z.ZodString;
|
|
16917
|
-
|
|
17413
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16918
17414
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16919
17415
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16920
17416
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -17067,7 +17563,7 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
17067
17563
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17068
17564
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17069
17565
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17070
|
-
|
|
17566
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17071
17567
|
}, z.core.$strip>>;
|
|
17072
17568
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17073
17569
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17082,7 +17578,7 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
17082
17578
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17083
17579
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17084
17580
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17085
|
-
|
|
17581
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17086
17582
|
}, z.core.$strip>>>;
|
|
17087
17583
|
}, z.core.$strip>;
|
|
17088
17584
|
export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
|
|
@@ -17097,7 +17593,7 @@ export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
|
|
|
17097
17593
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17098
17594
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17099
17595
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17100
|
-
|
|
17596
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17101
17597
|
}, z.core.$strip>;
|
|
17102
17598
|
export declare const zCreateUserCompanyScheduledChangePath: z.ZodObject<{
|
|
17103
17599
|
user_id: z.ZodString;
|
|
@@ -17121,7 +17617,7 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
17121
17617
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17122
17618
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17123
17619
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17124
|
-
|
|
17620
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17125
17621
|
}, z.core.$strip>>;
|
|
17126
17622
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17127
17623
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17136,7 +17632,7 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
17136
17632
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17137
17633
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17138
17634
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17139
|
-
|
|
17635
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17140
17636
|
}, z.core.$strip>>>;
|
|
17141
17637
|
}, z.core.$strip>;
|
|
17142
17638
|
export declare const zCancelUserCompanyScheduledChangePath: z.ZodObject<{
|
|
@@ -17162,7 +17658,7 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
17162
17658
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17163
17659
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17164
17660
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17165
|
-
|
|
17661
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17166
17662
|
}, z.core.$strip>>;
|
|
17167
17663
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17168
17664
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17177,7 +17673,7 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
17177
17673
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17178
17674
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17179
17675
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17180
|
-
|
|
17676
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17181
17677
|
}, z.core.$strip>>>;
|
|
17182
17678
|
}, z.core.$strip>;
|
|
17183
17679
|
export declare const zUpdateScheduledChangeBody: z.ZodObject<{
|
|
@@ -17192,7 +17688,7 @@ export declare const zUpdateScheduledChangeBody: z.ZodObject<{
|
|
|
17192
17688
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17193
17689
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17194
17690
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17195
|
-
|
|
17691
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17196
17692
|
}, z.core.$strip>;
|
|
17197
17693
|
export declare const zUpdateScheduledChangePath: z.ZodObject<{
|
|
17198
17694
|
user_id: z.ZodString;
|
|
@@ -17217,7 +17713,7 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
|
|
|
17217
17713
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17218
17714
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17219
17715
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17220
|
-
|
|
17716
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17221
17717
|
}, z.core.$strip>>;
|
|
17222
17718
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
17223
17719
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -17232,7 +17728,7 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
|
|
|
17232
17728
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17233
17729
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17234
17730
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
17235
|
-
|
|
17731
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
17236
17732
|
}, z.core.$strip>>>;
|
|
17237
17733
|
}, z.core.$strip>;
|
|
17238
17734
|
export declare const zCreateScheduledTerminationBody: z.ZodObject<{
|
|
@@ -17283,6 +17779,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
|
|
|
17283
17779
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17284
17780
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17285
17781
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
17782
|
+
employment_window: z.ZodObject<{
|
|
17783
|
+
valid_from: z.ZodISODateTime;
|
|
17784
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
17785
|
+
}, z.core.$strip>;
|
|
17286
17786
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17287
17787
|
roles: z.ZodArray<z.ZodString>;
|
|
17288
17788
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17403,6 +17903,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
17403
17903
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17404
17904
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17405
17905
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
17906
|
+
employment_window: z.ZodObject<{
|
|
17907
|
+
valid_from: z.ZodISODateTime;
|
|
17908
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
17909
|
+
}, z.core.$strip>;
|
|
17406
17910
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17407
17911
|
roles: z.ZodArray<z.ZodString>;
|
|
17408
17912
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17542,6 +18046,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
17542
18046
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17543
18047
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17544
18048
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18049
|
+
employment_window: z.ZodObject<{
|
|
18050
|
+
valid_from: z.ZodISODateTime;
|
|
18051
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18052
|
+
}, z.core.$strip>;
|
|
17545
18053
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17546
18054
|
roles: z.ZodArray<z.ZodString>;
|
|
17547
18055
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17661,6 +18169,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
17661
18169
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17662
18170
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17663
18171
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18172
|
+
employment_window: z.ZodObject<{
|
|
18173
|
+
valid_from: z.ZodISODateTime;
|
|
18174
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18175
|
+
}, z.core.$strip>;
|
|
17664
18176
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17665
18177
|
roles: z.ZodArray<z.ZodString>;
|
|
17666
18178
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17794,6 +18306,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
|
|
|
17794
18306
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17795
18307
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17796
18308
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18309
|
+
employment_window: z.ZodObject<{
|
|
18310
|
+
valid_from: z.ZodISODateTime;
|
|
18311
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18312
|
+
}, z.core.$strip>;
|
|
17797
18313
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17798
18314
|
roles: z.ZodArray<z.ZodString>;
|
|
17799
18315
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17937,6 +18453,10 @@ export declare const zListUsersResponse: z.ZodObject<{
|
|
|
17937
18453
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17938
18454
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17939
18455
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18456
|
+
employment_window: z.ZodObject<{
|
|
18457
|
+
valid_from: z.ZodISODateTime;
|
|
18458
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18459
|
+
}, z.core.$strip>;
|
|
17940
18460
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17941
18461
|
roles: z.ZodArray<z.ZodString>;
|
|
17942
18462
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18027,7 +18547,6 @@ export declare const zCreateUserBody: z.ZodObject<{
|
|
|
18027
18547
|
city: z.ZodOptional<z.ZodString>;
|
|
18028
18548
|
state: z.ZodOptional<z.ZodString>;
|
|
18029
18549
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
18030
|
-
external_id: z.ZodOptional<z.ZodString>;
|
|
18031
18550
|
dol_apprentice_no: z.ZodOptional<z.ZodString>;
|
|
18032
18551
|
winda_id: z.ZodOptional<z.ZodString>;
|
|
18033
18552
|
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
@@ -18168,6 +18687,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
18168
18687
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18169
18688
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
18170
18689
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18690
|
+
employment_window: z.ZodObject<{
|
|
18691
|
+
valid_from: z.ZodISODateTime;
|
|
18692
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18693
|
+
}, z.core.$strip>;
|
|
18171
18694
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18172
18695
|
roles: z.ZodArray<z.ZodString>;
|
|
18173
18696
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18286,6 +18809,10 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
18286
18809
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18287
18810
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
18288
18811
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18812
|
+
employment_window: z.ZodObject<{
|
|
18813
|
+
valid_from: z.ZodISODateTime;
|
|
18814
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18815
|
+
}, z.core.$strip>;
|
|
18289
18816
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18290
18817
|
roles: z.ZodArray<z.ZodString>;
|
|
18291
18818
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18418,6 +18945,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
|
|
|
18418
18945
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18419
18946
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
18420
18947
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18948
|
+
employment_window: z.ZodObject<{
|
|
18949
|
+
valid_from: z.ZodISODateTime;
|
|
18950
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18951
|
+
}, z.core.$strip>;
|
|
18421
18952
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18422
18953
|
roles: z.ZodArray<z.ZodString>;
|
|
18423
18954
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18565,7 +19096,7 @@ export declare const zListWageDeterminationsResponse: z.ZodObject<{
|
|
|
18565
19096
|
modification_number: z.ZodInt;
|
|
18566
19097
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
18567
19098
|
publication_date: z.ZodISODate;
|
|
18568
|
-
|
|
19099
|
+
boundaries_region_id: z.ZodString;
|
|
18569
19100
|
valid_from: z.ZodISODateTime;
|
|
18570
19101
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18571
19102
|
created_at: z.ZodISODateTime;
|
|
@@ -18585,7 +19116,7 @@ export declare const zGetWageDeterminationResponse: z.ZodObject<{
|
|
|
18585
19116
|
modification_number: z.ZodInt;
|
|
18586
19117
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
18587
19118
|
publication_date: z.ZodISODate;
|
|
18588
|
-
|
|
19119
|
+
boundaries_region_id: z.ZodString;
|
|
18589
19120
|
valid_from: z.ZodISODateTime;
|
|
18590
19121
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18591
19122
|
created_at: z.ZodISODateTime;
|