@dsptch-work/api-client 0.2.0 → 0.4.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 +105 -0
- package/dist/gen/client/index.d.ts +2 -0
- package/dist/gen/client/utils.gen.d.ts +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/core/auth.gen.d.ts +7 -0
- package/dist/gen/core/params.gen.d.ts +2 -2
- package/dist/gen/core/params.gen.js +20 -11
- package/dist/gen/core/queryKeySerializer.gen.d.ts +1 -1
- package/dist/gen/core/types.gen.d.ts +5 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +333 -304
- package/dist/gen/sdk.gen.js +78 -37
- package/dist/gen/types.gen.d.ts +1427 -861
- package/dist/gen/zod.gen.d.ts +1322 -544
- package/dist/gen/zod.gen.js +657 -154
- package/package.json +4 -4
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -1,13 +1,313 @@
|
|
|
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
10
|
}, z.core.$strip>;
|
|
11
|
+
/**
|
|
12
|
+
* Error types
|
|
13
|
+
*
|
|
14
|
+
* Every way a request can fail has a stable machine-readable identifier: the `type` URI of its
|
|
15
|
+
* `application/problem+json` response, whose fragment is the short form listed here.
|
|
16
|
+
* Identifiers are stable contract — messages (`detail`) may be reworded at any time. Entries
|
|
17
|
+
* are grouped by the HTTP status they render with.
|
|
18
|
+
*
|
|
19
|
+
* ## 400
|
|
20
|
+
*
|
|
21
|
+
* ### blank_axis
|
|
22
|
+
*
|
|
23
|
+
* **Blank Temporal Axis Value**
|
|
24
|
+
*
|
|
25
|
+
* 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.
|
|
26
|
+
*
|
|
27
|
+
* ### invalid_cursor
|
|
28
|
+
*
|
|
29
|
+
* **Invalid Pagination Cursor**
|
|
30
|
+
*
|
|
31
|
+
* 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.
|
|
32
|
+
*
|
|
33
|
+
* ### invalid_filter_key
|
|
34
|
+
*
|
|
35
|
+
* **Unknown Filter Key**
|
|
36
|
+
*
|
|
37
|
+
* 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.
|
|
38
|
+
*
|
|
39
|
+
* ### invalid_limit
|
|
40
|
+
*
|
|
41
|
+
* **Invalid Page Limit**
|
|
42
|
+
*
|
|
43
|
+
* 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.
|
|
44
|
+
*
|
|
45
|
+
* ### invalid_signature
|
|
46
|
+
*
|
|
47
|
+
* **Invalid Signed Token**
|
|
48
|
+
*
|
|
49
|
+
* A signed token in the request fails signature verification. Re-obtain the token from the endpoint that issued it.
|
|
50
|
+
*
|
|
51
|
+
* ### non_range_filter_value
|
|
52
|
+
*
|
|
53
|
+
* **Range Filter Needs Bounds**
|
|
54
|
+
*
|
|
55
|
+
* A range filter key carries a bare value instead of bounds. Send the object form with `gte` and/or `lte`.
|
|
56
|
+
*
|
|
57
|
+
* ### non_scalar_axis
|
|
58
|
+
*
|
|
59
|
+
* **Temporal Axis Not Scalar**
|
|
60
|
+
*
|
|
61
|
+
* An `as_of` axis value is an object or array rather than a single date-time. Send one scalar value per axis.
|
|
62
|
+
*
|
|
63
|
+
* ### non_scalar_filter_value
|
|
64
|
+
*
|
|
65
|
+
* **Filter Value Not Scalar**
|
|
66
|
+
*
|
|
67
|
+
* An equality filter key carries an array or object outside the supported `null` operator form. Send a single scalar value.
|
|
68
|
+
*
|
|
69
|
+
* ### parameter_missing
|
|
70
|
+
*
|
|
71
|
+
* **Required Parameter Missing**
|
|
72
|
+
*
|
|
73
|
+
* A required request parameter is absent or empty. The message names it; supply the parameter and retry.
|
|
74
|
+
*
|
|
75
|
+
* ### parameter_not_object
|
|
76
|
+
*
|
|
77
|
+
* **Parameter Must Be An Object**
|
|
78
|
+
*
|
|
79
|
+
* 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`.
|
|
80
|
+
*
|
|
81
|
+
* ### unknown_axis
|
|
82
|
+
*
|
|
83
|
+
* **Unknown Temporal Axis Key**
|
|
84
|
+
*
|
|
85
|
+
* The `as_of` parameter carries a sub-key that is not a temporal axis. Remove the unknown key.
|
|
86
|
+
*
|
|
87
|
+
* ### unknown_key
|
|
88
|
+
*
|
|
89
|
+
* **Unknown Query Parameter**
|
|
90
|
+
*
|
|
91
|
+
* 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.
|
|
92
|
+
*
|
|
93
|
+
* ### unsupported_axis
|
|
94
|
+
*
|
|
95
|
+
* **Axis Unsupported By Resource**
|
|
96
|
+
*
|
|
97
|
+
* The `as_of` parameter names a temporal axis this resource does not expose. Drop the axis.
|
|
98
|
+
*
|
|
99
|
+
* ### valid_axis_on_timeline
|
|
100
|
+
*
|
|
101
|
+
* **Valid-Time Pin On A Timeline**
|
|
102
|
+
*
|
|
103
|
+
* 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.
|
|
104
|
+
*
|
|
105
|
+
* ## 401
|
|
106
|
+
*
|
|
107
|
+
* ### unauthorized
|
|
108
|
+
*
|
|
109
|
+
* **Invalid Or Missing Credentials**
|
|
110
|
+
*
|
|
111
|
+
* The request presents no usable credential — the API key is missing or invalid. Supply a valid key in the `x-api-key` header.
|
|
112
|
+
*
|
|
113
|
+
* ## 403
|
|
114
|
+
*
|
|
115
|
+
* ### company_scoped_key_required
|
|
116
|
+
*
|
|
117
|
+
* **Company-Scoped Key Required**
|
|
118
|
+
*
|
|
119
|
+
* The endpoint must act within a company tenant, but the presented credential carries none. Retry with a company- or user-scoped API key.
|
|
120
|
+
*
|
|
121
|
+
* ### forbidden
|
|
122
|
+
*
|
|
123
|
+
* **Action Not Authorized**
|
|
124
|
+
*
|
|
125
|
+
* The credential is valid, but this action on this record is refused by policy. The operation is not available to this principal.
|
|
126
|
+
*
|
|
127
|
+
* ### insufficient_api_key_scope
|
|
128
|
+
*
|
|
129
|
+
* **Insufficient API Key Scope**
|
|
130
|
+
*
|
|
131
|
+
* The API key lacks the scope grant for this endpoint and verb. Grant the required scope to the key and retry.
|
|
132
|
+
*
|
|
133
|
+
* ## 404
|
|
134
|
+
*
|
|
135
|
+
* ### not_found
|
|
136
|
+
*
|
|
137
|
+
* **Resource Not Found**
|
|
138
|
+
*
|
|
139
|
+
* The identified record does not exist, or is outside what this credential can see. Verify the id and the key's access.
|
|
140
|
+
*
|
|
141
|
+
* ## 409
|
|
142
|
+
*
|
|
143
|
+
* ### recorded_since_termination
|
|
144
|
+
*
|
|
145
|
+
* **Timecode Changed Since Termination**
|
|
146
|
+
*
|
|
147
|
+
* Cancelling this timecode's scheduled termination would silently discard changes recorded since it was terminated. Re-read the timecode and reconcile before retrying.
|
|
148
|
+
*
|
|
149
|
+
* ## 422
|
|
150
|
+
*
|
|
151
|
+
* ### attachment_not_image
|
|
152
|
+
*
|
|
153
|
+
* **Attachment Not An Image**
|
|
154
|
+
*
|
|
155
|
+
* The upload behind an image attachment's signed id is not an image content type. Upload an image file.
|
|
156
|
+
*
|
|
157
|
+
* ### company_not_employer
|
|
158
|
+
*
|
|
159
|
+
* **Company Not Program Employer**
|
|
160
|
+
*
|
|
161
|
+
* 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.
|
|
162
|
+
*
|
|
163
|
+
* ### confirm_apprenticeship_conflict
|
|
164
|
+
*
|
|
165
|
+
* **Apprenticeship Allocation Conflict**
|
|
166
|
+
*
|
|
167
|
+
* 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.
|
|
168
|
+
*
|
|
169
|
+
* ### destroy_restricted
|
|
170
|
+
*
|
|
171
|
+
* **Deletion Blocked By Dependencies**
|
|
172
|
+
*
|
|
173
|
+
* A deletion is refused by the record's guards — dependent records restrict removal. The message carries the specifics; remove or reassign the dependents first.
|
|
174
|
+
*
|
|
175
|
+
* ### invalid_date
|
|
176
|
+
*
|
|
177
|
+
* **Unparseable Date Value**
|
|
178
|
+
*
|
|
179
|
+
* 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`).
|
|
180
|
+
*
|
|
181
|
+
* ### invalid_filter_value
|
|
182
|
+
*
|
|
183
|
+
* **Invalid Filter Value**
|
|
184
|
+
*
|
|
185
|
+
* 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.
|
|
186
|
+
*
|
|
187
|
+
* ### invalid_iso8601_duration
|
|
188
|
+
*
|
|
189
|
+
* **Invalid ISO 8601 Duration**
|
|
190
|
+
*
|
|
191
|
+
* A duration value is not a parseable ISO 8601 duration. Format it like `P2Y`, `P1D`, or `-PT15M`.
|
|
192
|
+
*
|
|
193
|
+
* ### invalid_placement_move
|
|
194
|
+
*
|
|
195
|
+
* **Move Conflicts With Placement**
|
|
196
|
+
*
|
|
197
|
+
* 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.
|
|
198
|
+
*
|
|
199
|
+
* ### invalid_signed_id
|
|
200
|
+
*
|
|
201
|
+
* **Invalid Attachment Signed Id**
|
|
202
|
+
*
|
|
203
|
+
* 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.
|
|
204
|
+
*
|
|
205
|
+
* ### non_numeric_cents
|
|
206
|
+
*
|
|
207
|
+
* **Non-Numeric Money Value**
|
|
208
|
+
*
|
|
209
|
+
* A money parameter is not a numeric value in cents. Send money as a numeric cents value.
|
|
210
|
+
*
|
|
211
|
+
* ### nothing_to_cancel
|
|
212
|
+
*
|
|
213
|
+
* **Nothing To Cancel**
|
|
214
|
+
*
|
|
215
|
+
* 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.
|
|
216
|
+
*
|
|
217
|
+
* ### pagination_failed
|
|
218
|
+
*
|
|
219
|
+
* **Pagination Failed**
|
|
220
|
+
*
|
|
221
|
+
* Pagination could not be applied to the request. Retry without the `page` parameter, or with a fresh cursor.
|
|
222
|
+
*
|
|
223
|
+
* ### subtype_foreign_keys
|
|
224
|
+
*
|
|
225
|
+
* **Foreign Subtype Attributes**
|
|
226
|
+
*
|
|
227
|
+
* 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.
|
|
228
|
+
*
|
|
229
|
+
* ### synced_determination
|
|
230
|
+
*
|
|
231
|
+
* **Determination Synced From Project**
|
|
232
|
+
*
|
|
233
|
+
* Rate rules cannot be written on a wage determination synced from a project. Manage the rules on the project instead.
|
|
234
|
+
*
|
|
235
|
+
* ### user_not_company_member
|
|
236
|
+
*
|
|
237
|
+
* **User Outside Company**
|
|
238
|
+
*
|
|
239
|
+
* 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.
|
|
240
|
+
*
|
|
241
|
+
* ### validation_failed
|
|
242
|
+
*
|
|
243
|
+
* **Validation Failed**
|
|
244
|
+
*
|
|
245
|
+
* 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.
|
|
246
|
+
*
|
|
247
|
+
* ### wage_schedule_outside_program
|
|
248
|
+
*
|
|
249
|
+
* **Wage Schedule Outside Program**
|
|
250
|
+
*
|
|
251
|
+
* The apprentice's wage schedule does not belong to the program in the URL. Use a schedule from that program.
|
|
252
|
+
*
|
|
253
|
+
* ## 429
|
|
254
|
+
*
|
|
255
|
+
* ### too_many_requests
|
|
256
|
+
*
|
|
257
|
+
* **Rate Limit Exceeded**
|
|
258
|
+
*
|
|
259
|
+
* The API key exceeded its request budget. Wait for the `Retry-After` window before retrying.
|
|
260
|
+
*
|
|
261
|
+
* ## 500
|
|
262
|
+
*
|
|
263
|
+
* ### internal_error
|
|
264
|
+
*
|
|
265
|
+
* **Internal Server Error**
|
|
266
|
+
*
|
|
267
|
+
* Something failed on the server; nothing in the request needs fixing. Retry later, or report the problem if it persists.
|
|
268
|
+
*
|
|
269
|
+
*/
|
|
270
|
+
export declare const zProblemTypeCatalog: z.ZodEnum<{
|
|
271
|
+
blank_axis: "blank_axis";
|
|
272
|
+
invalid_cursor: "invalid_cursor";
|
|
273
|
+
invalid_filter_key: "invalid_filter_key";
|
|
274
|
+
invalid_limit: "invalid_limit";
|
|
275
|
+
invalid_signature: "invalid_signature";
|
|
276
|
+
non_range_filter_value: "non_range_filter_value";
|
|
277
|
+
non_scalar_axis: "non_scalar_axis";
|
|
278
|
+
non_scalar_filter_value: "non_scalar_filter_value";
|
|
279
|
+
parameter_missing: "parameter_missing";
|
|
280
|
+
parameter_not_object: "parameter_not_object";
|
|
281
|
+
unknown_axis: "unknown_axis";
|
|
282
|
+
unknown_key: "unknown_key";
|
|
283
|
+
unsupported_axis: "unsupported_axis";
|
|
284
|
+
valid_axis_on_timeline: "valid_axis_on_timeline";
|
|
285
|
+
unauthorized: "unauthorized";
|
|
286
|
+
company_scoped_key_required: "company_scoped_key_required";
|
|
287
|
+
forbidden: "forbidden";
|
|
288
|
+
insufficient_api_key_scope: "insufficient_api_key_scope";
|
|
289
|
+
not_found: "not_found";
|
|
290
|
+
recorded_since_termination: "recorded_since_termination";
|
|
291
|
+
attachment_not_image: "attachment_not_image";
|
|
292
|
+
company_not_employer: "company_not_employer";
|
|
293
|
+
confirm_apprenticeship_conflict: "confirm_apprenticeship_conflict";
|
|
294
|
+
destroy_restricted: "destroy_restricted";
|
|
295
|
+
invalid_date: "invalid_date";
|
|
296
|
+
invalid_filter_value: "invalid_filter_value";
|
|
297
|
+
invalid_iso8601_duration: "invalid_iso8601_duration";
|
|
298
|
+
invalid_placement_move: "invalid_placement_move";
|
|
299
|
+
invalid_signed_id: "invalid_signed_id";
|
|
300
|
+
non_numeric_cents: "non_numeric_cents";
|
|
301
|
+
nothing_to_cancel: "nothing_to_cancel";
|
|
302
|
+
pagination_failed: "pagination_failed";
|
|
303
|
+
subtype_foreign_keys: "subtype_foreign_keys";
|
|
304
|
+
synced_determination: "synced_determination";
|
|
305
|
+
user_not_company_member: "user_not_company_member";
|
|
306
|
+
validation_failed: "validation_failed";
|
|
307
|
+
wage_schedule_outside_program: "wage_schedule_outside_program";
|
|
308
|
+
too_many_requests: "too_many_requests";
|
|
309
|
+
internal_error: "internal_error";
|
|
310
|
+
}>;
|
|
11
311
|
export declare const zApiKeyScopeResponseObject: z.ZodObject<{
|
|
12
312
|
resource: z.ZodString;
|
|
13
313
|
action: z.ZodEnum<{
|
|
@@ -430,12 +730,6 @@ export declare const zTimecodeParameters: z.ZodObject<{
|
|
|
430
730
|
}>>;
|
|
431
731
|
effective_date: z.ZodOptional<z.ZodISODateTime>;
|
|
432
732
|
}, 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
733
|
/**
|
|
440
734
|
* 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
735
|
*/
|
|
@@ -472,10 +766,10 @@ export declare const zPerDiemResponseObject: z.ZodObject<{
|
|
|
472
766
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
473
767
|
currency: z.ZodString;
|
|
474
768
|
taxable: z.ZodBoolean;
|
|
475
|
-
|
|
476
|
-
|
|
769
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
770
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
477
771
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
478
|
-
|
|
772
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
479
773
|
created_at: z.ZodISODateTime;
|
|
480
774
|
updated_at: z.ZodISODateTime;
|
|
481
775
|
}, z.core.$strip>;
|
|
@@ -488,18 +782,18 @@ export declare const zPerDiemParameters: z.ZodObject<{
|
|
|
488
782
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
489
783
|
currency: z.ZodString;
|
|
490
784
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
491
|
-
|
|
492
|
-
|
|
785
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
786
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
493
787
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
494
|
-
|
|
788
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
495
789
|
}, z.core.$strip>;
|
|
496
790
|
/**
|
|
497
791
|
* The product's filled attribute values — one entry per attribute assigned to its category.
|
|
498
792
|
*/
|
|
499
793
|
export declare const zAssetsAttributeValueObjects: z.ZodArray<z.ZodObject<{
|
|
500
|
-
|
|
794
|
+
assets_attribute_id: z.ZodString;
|
|
501
795
|
value: z.ZodNullable<z.ZodString>;
|
|
502
|
-
|
|
796
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
503
797
|
}, z.core.$strip>>;
|
|
504
798
|
/**
|
|
505
799
|
* A reusable custom-field definition (for example "Color" or "Voltage") that categories assign and products or items fill in.
|
|
@@ -553,7 +847,7 @@ export declare const zAssetsCategoryResponseObject: z.ZodObject<{
|
|
|
553
847
|
full_name: z.ZodString;
|
|
554
848
|
attributes: z.ZodArray<z.ZodObject<{
|
|
555
849
|
id: z.ZodString;
|
|
556
|
-
|
|
850
|
+
assets_attribute_id: z.ZodString;
|
|
557
851
|
fillable_on: z.ZodEnum<{
|
|
558
852
|
product: "product";
|
|
559
853
|
item: "item";
|
|
@@ -572,7 +866,7 @@ export declare const zAssetsCategoryParameters: z.ZodObject<{
|
|
|
572
866
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
573
867
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
574
868
|
id: z.ZodOptional<z.ZodString>;
|
|
575
|
-
|
|
869
|
+
assets_attribute_id: z.ZodString;
|
|
576
870
|
fillable_on: z.ZodEnum<{
|
|
577
871
|
product: "product";
|
|
578
872
|
item: "item";
|
|
@@ -605,7 +899,7 @@ export declare const zDepartmentParameters: z.ZodObject<{
|
|
|
605
899
|
*/
|
|
606
900
|
export declare const zTimeCardPerDiemResponseObject: z.ZodObject<{
|
|
607
901
|
id: z.ZodString;
|
|
608
|
-
|
|
902
|
+
timekeeping_time_card_id: z.ZodString;
|
|
609
903
|
date: z.ZodISODate;
|
|
610
904
|
approver_user_id: z.ZodString;
|
|
611
905
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -706,8 +1000,8 @@ export declare const zPayPeriodConfigResponseObject: z.ZodObject<{
|
|
|
706
1000
|
}>;
|
|
707
1001
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
708
1002
|
requires_external_map_contributor: z.ZodBoolean;
|
|
709
|
-
|
|
710
|
-
|
|
1003
|
+
paid_after_holiday: z.ZodBoolean;
|
|
1004
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
711
1005
|
valid_from: z.ZodISODateTime;
|
|
712
1006
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
713
1007
|
created_at: z.ZodISODateTime;
|
|
@@ -746,8 +1040,8 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
|
746
1040
|
}>;
|
|
747
1041
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
748
1042
|
requires_external_map_contributor: z.ZodBoolean;
|
|
749
|
-
|
|
750
|
-
|
|
1043
|
+
paid_after_holiday: z.ZodBoolean;
|
|
1044
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
751
1045
|
valid_from: z.ZodISODateTime;
|
|
752
1046
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
753
1047
|
created_at: z.ZodISODateTime;
|
|
@@ -790,8 +1084,8 @@ export declare const zPayPeriodConfigHistoryVersionObject: z.ZodObject<{
|
|
|
790
1084
|
}>;
|
|
791
1085
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
792
1086
|
requires_external_map_contributor: z.ZodBoolean;
|
|
793
|
-
|
|
794
|
-
|
|
1087
|
+
paid_after_holiday: z.ZodBoolean;
|
|
1088
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
795
1089
|
valid_from: z.ZodISODateTime;
|
|
796
1090
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
797
1091
|
created_at: z.ZodISODateTime;
|
|
@@ -1097,9 +1391,9 @@ export declare const zUserUpdateParameters: z.ZodObject<{
|
|
|
1097
1391
|
export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
1098
1392
|
id: z.ZodString;
|
|
1099
1393
|
user_id: z.ZodString;
|
|
1100
|
-
|
|
1394
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1101
1395
|
job_id: z.ZodNullable<z.ZodString>;
|
|
1102
|
-
|
|
1396
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
1103
1397
|
state: z.ZodNullable<z.ZodString>;
|
|
1104
1398
|
description: z.ZodNullable<z.ZodString>;
|
|
1105
1399
|
clock_punched: z.ZodBoolean;
|
|
@@ -1119,7 +1413,7 @@ export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
|
1119
1413
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
1120
1414
|
currency: z.ZodNullable<z.ZodString>;
|
|
1121
1415
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
1122
|
-
|
|
1416
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1123
1417
|
start_time: z.ZodISODateTime;
|
|
1124
1418
|
end_time: z.ZodISODateTime;
|
|
1125
1419
|
created_at: z.ZodISODateTime;
|
|
@@ -1143,7 +1437,7 @@ export declare const zTimeEntryResponseObject: z.ZodObject<{
|
|
|
1143
1437
|
*/
|
|
1144
1438
|
export declare const zTimeEntryApprovalResponseObject: z.ZodObject<{
|
|
1145
1439
|
id: z.ZodString;
|
|
1146
|
-
|
|
1440
|
+
timekeeping_time_entry_id: z.ZodString;
|
|
1147
1441
|
time_card_approval_id: z.ZodNullable<z.ZodString>;
|
|
1148
1442
|
status: z.ZodEnum<{
|
|
1149
1443
|
pending: "pending";
|
|
@@ -1165,14 +1459,14 @@ export declare const zManagerTimeEntryApprovalParameters: z.ZodObject<{
|
|
|
1165
1459
|
approver_user_id: z.ZodString;
|
|
1166
1460
|
}, z.core.$strip>;
|
|
1167
1461
|
/**
|
|
1168
|
-
* Request body for creating or updating a time entry; on create,
|
|
1462
|
+
* Request body for creating or updating a time entry; on create, timekeeping_time_card_id, start_time, and end_time are required.
|
|
1169
1463
|
*/
|
|
1170
1464
|
export declare const zTimeEntryParameters: z.ZodObject<{
|
|
1171
|
-
|
|
1465
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1172
1466
|
start_time: z.ZodISODateTime;
|
|
1173
1467
|
end_time: z.ZodISODateTime;
|
|
1174
1468
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1175
|
-
|
|
1469
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1176
1470
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1177
1471
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1178
1472
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -1211,7 +1505,7 @@ export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
|
1211
1505
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1212
1506
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1213
1507
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1214
|
-
|
|
1508
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1215
1509
|
}, z.core.$strip>;
|
|
1216
1510
|
/**
|
|
1217
1511
|
* 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.
|
|
@@ -1219,7 +1513,7 @@ export declare const zUserCompanyScheduledChangesParameters: z.ZodObject<{
|
|
|
1219
1513
|
export declare const zWorkTypeResponseObject: z.ZodObject<{
|
|
1220
1514
|
id: z.ZodString;
|
|
1221
1515
|
value: z.ZodString;
|
|
1222
|
-
|
|
1516
|
+
verified: z.ZodBoolean;
|
|
1223
1517
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
1224
1518
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
1225
1519
|
created_at: z.ZodISODateTime;
|
|
@@ -1255,14 +1549,14 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1255
1549
|
color_hex: z.ZodString;
|
|
1256
1550
|
tagline: z.ZodNullable<z.ZodString>;
|
|
1257
1551
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1258
|
-
corporate_structure: z.ZodEnum<{
|
|
1552
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1259
1553
|
corporation: "corporation";
|
|
1260
1554
|
llc: "llc";
|
|
1261
1555
|
partnership: "partnership";
|
|
1262
1556
|
sole_proprietorship: "sole_proprietorship";
|
|
1263
1557
|
s_corporation: "s_corporation";
|
|
1264
|
-
}
|
|
1265
|
-
employee_count_range: z.ZodEnum<{
|
|
1558
|
+
}>>;
|
|
1559
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1266
1560
|
one_to_ten: "one_to_ten";
|
|
1267
1561
|
eleven_to_fifty: "eleven_to_fifty";
|
|
1268
1562
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -1271,8 +1565,8 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1271
1565
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1272
1566
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1273
1567
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1274
|
-
}
|
|
1275
|
-
revenue_range: z.ZodEnum<{
|
|
1568
|
+
}>>;
|
|
1569
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1276
1570
|
zero_to_one_million: "zero_to_one_million";
|
|
1277
1571
|
one_to_ten_million: "one_to_ten_million";
|
|
1278
1572
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -1283,12 +1577,115 @@ export declare const zCompanyResponseObject: z.ZodObject<{
|
|
|
1283
1577
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1284
1578
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1285
1579
|
ten_billion_plus: "ten_billion_plus";
|
|
1286
|
-
}
|
|
1580
|
+
}>>;
|
|
1287
1581
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
1288
1582
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1583
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
1584
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
1585
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
1586
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
1289
1587
|
created_at: z.ZodISODateTime;
|
|
1290
1588
|
updated_at: z.ZodISODateTime;
|
|
1291
1589
|
}, z.core.$strip>;
|
|
1590
|
+
export declare const zCompanyParameters: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
1591
|
+
name: z.ZodString;
|
|
1592
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1593
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
1594
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1595
|
+
description: z.ZodNullable<z.ZodString>;
|
|
1596
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1597
|
+
address: z.ZodNullable<z.ZodString>;
|
|
1598
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1599
|
+
website: z.ZodNullable<z.ZodString>;
|
|
1600
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1601
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
1602
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1603
|
+
email: z.ZodNullable<z.ZodString>;
|
|
1604
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1605
|
+
color_hex: z.ZodString;
|
|
1606
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1607
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
1608
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1609
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
1610
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1611
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
1612
|
+
corporation: "corporation";
|
|
1613
|
+
llc: "llc";
|
|
1614
|
+
partnership: "partnership";
|
|
1615
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1616
|
+
s_corporation: "s_corporation";
|
|
1617
|
+
}>>;
|
|
1618
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1619
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
1620
|
+
one_to_ten: "one_to_ten";
|
|
1621
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1622
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1623
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1624
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1625
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1626
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1627
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1628
|
+
}>>;
|
|
1629
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1630
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
1631
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1632
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1633
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1634
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1635
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1636
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1637
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1638
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1639
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1640
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1641
|
+
}>>;
|
|
1642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1643
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
1644
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
1645
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
1646
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
1647
|
+
name: z.ZodOptional<z.ZodString>;
|
|
1648
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1649
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1650
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1651
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1652
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1653
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1654
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
1655
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1656
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1657
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1658
|
+
corporation: "corporation";
|
|
1659
|
+
llc: "llc";
|
|
1660
|
+
partnership: "partnership";
|
|
1661
|
+
sole_proprietorship: "sole_proprietorship";
|
|
1662
|
+
s_corporation: "s_corporation";
|
|
1663
|
+
}>>>;
|
|
1664
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1665
|
+
one_to_ten: "one_to_ten";
|
|
1666
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
1667
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
1668
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
1669
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
1670
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
1671
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
1672
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
1673
|
+
}>>>;
|
|
1674
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
1675
|
+
zero_to_one_million: "zero_to_one_million";
|
|
1676
|
+
one_to_ten_million: "one_to_ten_million";
|
|
1677
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
1678
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
1679
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
1680
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
1681
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
1682
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
1683
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
1684
|
+
ten_billion_plus: "ten_billion_plus";
|
|
1685
|
+
}>>>;
|
|
1686
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1687
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1688
|
+
}, z.core.$strip>>;
|
|
1292
1689
|
/**
|
|
1293
1690
|
* A custom field definition — a company-defined attribute attached to one kind of record (jobs, workers, apprentices, or the company itself). Deleting one is blocked while any record still holds a value for it.
|
|
1294
1691
|
*/
|
|
@@ -1297,7 +1694,7 @@ export declare const zCustomFieldConfigsResponseObject: z.ZodObject<{
|
|
|
1297
1694
|
name: z.ZodString;
|
|
1298
1695
|
description: z.ZodNullable<z.ZodString>;
|
|
1299
1696
|
model_type: z.ZodString;
|
|
1300
|
-
|
|
1697
|
+
visible: z.ZodBoolean;
|
|
1301
1698
|
company_id: z.ZodString;
|
|
1302
1699
|
created_at: z.ZodISODateTime;
|
|
1303
1700
|
updated_at: z.ZodISODateTime;
|
|
@@ -1314,7 +1711,7 @@ export declare const zCustomFieldConfigParameters: z.ZodObject<{
|
|
|
1314
1711
|
company: "company";
|
|
1315
1712
|
user_company: "user_company";
|
|
1316
1713
|
}>;
|
|
1317
|
-
|
|
1714
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
1318
1715
|
}, z.core.$strip>;
|
|
1319
1716
|
/**
|
|
1320
1717
|
* A user's membership in a group.
|
|
@@ -1365,12 +1762,12 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
1365
1762
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1366
1763
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1367
1764
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1368
|
-
|
|
1765
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1369
1766
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1370
1767
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1371
1768
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1372
1769
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1373
|
-
|
|
1770
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1374
1771
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1375
1772
|
}, z.core.$strip>>>>;
|
|
1376
1773
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1438,12 +1835,12 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
1438
1835
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1439
1836
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1440
1837
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
1441
|
-
|
|
1838
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
1442
1839
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1443
1840
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1444
1841
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
1445
1842
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1446
|
-
|
|
1843
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
1447
1844
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
1448
1845
|
}, z.core.$strip>>>>;
|
|
1449
1846
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -1501,7 +1898,7 @@ export declare const zUserCompanyScheduledChange: z.ZodObject<{
|
|
|
1501
1898
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1502
1899
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1503
1900
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1504
|
-
|
|
1901
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1505
1902
|
}, z.core.$strip>;
|
|
1506
1903
|
/**
|
|
1507
1904
|
* A worker's scheduled compensation timeline at your company — the version currently in effect plus any future-dated versions.
|
|
@@ -1521,7 +1918,7 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
1521
1918
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1522
1919
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1523
1920
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1524
|
-
|
|
1921
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1525
1922
|
}, z.core.$strip>>;
|
|
1526
1923
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1527
1924
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -1536,7 +1933,7 @@ export declare const zUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
1536
1933
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1537
1934
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1538
1935
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
1539
|
-
|
|
1936
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1540
1937
|
}, z.core.$strip>>>;
|
|
1541
1938
|
}, z.core.$strip>;
|
|
1542
1939
|
/**
|
|
@@ -1551,7 +1948,7 @@ export declare const zUserCompanyScheduledTerminationParameters: z.ZodObject<{
|
|
|
1551
1948
|
export declare const zTimeCardResponseObject: z.ZodObject<{
|
|
1552
1949
|
id: z.ZodString;
|
|
1553
1950
|
user_id: z.ZodString;
|
|
1554
|
-
|
|
1951
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1555
1952
|
locked: z.ZodBoolean;
|
|
1556
1953
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
1557
1954
|
pending: "pending";
|
|
@@ -1597,11 +1994,11 @@ export declare const zTimeCardResponseObject: z.ZodObject<{
|
|
|
1597
1994
|
*/
|
|
1598
1995
|
export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
|
|
1599
1996
|
id: z.ZodString;
|
|
1600
|
-
|
|
1997
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
1601
1998
|
job_id: z.ZodString;
|
|
1602
|
-
|
|
1999
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1603
2000
|
user_id: z.ZodString;
|
|
1604
|
-
|
|
2001
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
1605
2002
|
date: z.ZodISODate;
|
|
1606
2003
|
minutes_worked: z.ZodInt;
|
|
1607
2004
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -1685,7 +2082,7 @@ export declare const zJobTimeCardDayResponseObject: z.ZodObject<{
|
|
|
1685
2082
|
*/
|
|
1686
2083
|
export declare const zTimeCardApprovalResponseObject: z.ZodObject<{
|
|
1687
2084
|
id: z.ZodString;
|
|
1688
|
-
|
|
2085
|
+
timekeeping_time_card_id: z.ZodString;
|
|
1689
2086
|
status: z.ZodEnum<{
|
|
1690
2087
|
pending: "pending";
|
|
1691
2088
|
approved: "approved";
|
|
@@ -1828,7 +2225,7 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
|
|
|
1828
2225
|
id: z.ZodString;
|
|
1829
2226
|
bitemporal_id: z.ZodString;
|
|
1830
2227
|
name: z.ZodString;
|
|
1831
|
-
|
|
2228
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1832
2229
|
compensation_element_name: z.ZodString;
|
|
1833
2230
|
compensation_element_category: z.ZodEnum<{
|
|
1834
2231
|
other: "other";
|
|
@@ -1840,7 +2237,7 @@ export declare const zPayrollExternalMapResponseObject: z.ZodObject<{
|
|
|
1840
2237
|
garnishment: "garnishment";
|
|
1841
2238
|
}>;
|
|
1842
2239
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1843
|
-
|
|
2240
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1844
2241
|
contributor: z.ZodEnum<{
|
|
1845
2242
|
any: "any";
|
|
1846
2243
|
employee: "employee";
|
|
@@ -1860,7 +2257,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1860
2257
|
id: z.ZodString;
|
|
1861
2258
|
bitemporal_id: z.ZodString;
|
|
1862
2259
|
name: z.ZodString;
|
|
1863
|
-
|
|
2260
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1864
2261
|
compensation_element_name: z.ZodString;
|
|
1865
2262
|
compensation_element_category: z.ZodEnum<{
|
|
1866
2263
|
other: "other";
|
|
@@ -1872,7 +2269,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1872
2269
|
garnishment: "garnishment";
|
|
1873
2270
|
}>;
|
|
1874
2271
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1875
|
-
|
|
2272
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1876
2273
|
contributor: z.ZodEnum<{
|
|
1877
2274
|
any: "any";
|
|
1878
2275
|
employee: "employee";
|
|
@@ -1896,7 +2293,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1896
2293
|
id: z.ZodString;
|
|
1897
2294
|
bitemporal_id: z.ZodString;
|
|
1898
2295
|
name: z.ZodString;
|
|
1899
|
-
|
|
2296
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
1900
2297
|
compensation_element_name: z.ZodString;
|
|
1901
2298
|
compensation_element_category: z.ZodEnum<{
|
|
1902
2299
|
other: "other";
|
|
@@ -1908,7 +2305,7 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1908
2305
|
garnishment: "garnishment";
|
|
1909
2306
|
}>;
|
|
1910
2307
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
1911
|
-
|
|
2308
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
1912
2309
|
contributor: z.ZodEnum<{
|
|
1913
2310
|
any: "any";
|
|
1914
2311
|
employee: "employee";
|
|
@@ -1931,8 +2328,8 @@ export declare const zPayrollExternalMapHistoryVersionObject: z.ZodObject<{
|
|
|
1931
2328
|
export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
1932
2329
|
id: z.ZodString;
|
|
1933
2330
|
company_id: z.ZodString;
|
|
1934
|
-
|
|
1935
|
-
|
|
2331
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2332
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
1936
2333
|
run_type: z.ZodEnum<{
|
|
1937
2334
|
CORRECTION: "CORRECTION";
|
|
1938
2335
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -1947,12 +2344,12 @@ export declare const zPayrollRunResponseObject: z.ZodObject<{
|
|
|
1947
2344
|
updated_at: z.ZodISODateTime;
|
|
1948
2345
|
}, z.core.$strip>;
|
|
1949
2346
|
/**
|
|
1950
|
-
* Request body for creating or updating a payroll run. company_id, run_type, and run_date are required; an on-cycle run additionally requires
|
|
2347
|
+
* 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.
|
|
1951
2348
|
*/
|
|
1952
2349
|
export declare const zPayrollRunParameters: z.ZodObject<{
|
|
1953
2350
|
company_id: z.ZodString;
|
|
1954
|
-
|
|
1955
|
-
|
|
2351
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2352
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1956
2353
|
run_type: z.ZodEnum<{
|
|
1957
2354
|
CORRECTION: "CORRECTION";
|
|
1958
2355
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -2038,6 +2435,33 @@ export declare const zProjectParameters: z.ZodObject<{
|
|
|
2038
2435
|
beginning_of_construction_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2039
2436
|
placed_in_service_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2040
2437
|
}, z.core.$strip>;
|
|
2438
|
+
export declare const zSiteCheckInResponseObject: z.ZodObject<{
|
|
2439
|
+
id: z.ZodString;
|
|
2440
|
+
site_id: z.ZodString;
|
|
2441
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
2442
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
2443
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
2444
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
2445
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
2446
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
2447
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
2448
|
+
description: z.ZodNullable<z.ZodString>;
|
|
2449
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
2450
|
+
source: z.ZodEnum<{
|
|
2451
|
+
manual: "manual";
|
|
2452
|
+
auto: "auto";
|
|
2453
|
+
}>;
|
|
2454
|
+
nerc_check_in: z.ZodBoolean;
|
|
2455
|
+
cip_exceptional: z.ZodBoolean;
|
|
2456
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2457
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
2458
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
2459
|
+
start_time: z.ZodISODateTime;
|
|
2460
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
2461
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
2462
|
+
created_at: z.ZodISODateTime;
|
|
2463
|
+
updated_at: z.ZodISODateTime;
|
|
2464
|
+
}, z.core.$strip>;
|
|
2041
2465
|
/**
|
|
2042
2466
|
* A geographic location where work is performed — a site on the Atlas map. Read-only through the API; sites are drawn on the map or imported from external sources, not created here.
|
|
2043
2467
|
*/
|
|
@@ -2182,7 +2606,7 @@ export declare const zFeatureResponseObject: z.ZodObject<{
|
|
|
2182
2606
|
ext_source: z.ZodString;
|
|
2183
2607
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
2184
2608
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
2185
|
-
|
|
2609
|
+
scoped_to_user: z.ZodBoolean;
|
|
2186
2610
|
address_id: z.ZodNullable<z.ZodString>;
|
|
2187
2611
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
2188
2612
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2224,12 +2648,12 @@ export declare const zComplianceCheckResponseObject: z.ZodObject<{
|
|
|
2224
2648
|
not_applicable: "not_applicable";
|
|
2225
2649
|
dismissed: "dismissed";
|
|
2226
2650
|
}>;
|
|
2227
|
-
|
|
2651
|
+
compliances_requirement_id: z.ZodString;
|
|
2228
2652
|
company_id: z.ZodNullable<z.ZodString>;
|
|
2229
2653
|
job_id: z.ZodNullable<z.ZodString>;
|
|
2230
2654
|
project_id: z.ZodNullable<z.ZodString>;
|
|
2231
|
-
|
|
2232
|
-
|
|
2655
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
2656
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2233
2657
|
user_id: z.ZodNullable<z.ZodString>;
|
|
2234
2658
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
2235
2659
|
title: z.ZodString;
|
|
@@ -2284,18 +2708,18 @@ export declare const zPaystubResponseObject: z.ZodObject<{
|
|
|
2284
2708
|
external_id: z.ZodNullable<z.ZodString>;
|
|
2285
2709
|
check_number: z.ZodNullable<z.ZodString>;
|
|
2286
2710
|
user_id: z.ZodString;
|
|
2287
|
-
|
|
2288
|
-
|
|
2711
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
2712
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
2289
2713
|
created_at: z.ZodISODateTime;
|
|
2290
2714
|
updated_at: z.ZodISODateTime;
|
|
2291
2715
|
}, z.core.$strip>;
|
|
2292
2716
|
/**
|
|
2293
|
-
* Request body for creating or updating a paystub.
|
|
2717
|
+
* 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.
|
|
2294
2718
|
*/
|
|
2295
2719
|
export declare const zPaystubParameters: z.ZodObject<{
|
|
2296
|
-
|
|
2720
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
2297
2721
|
user_id: z.ZodString;
|
|
2298
|
-
|
|
2722
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2299
2723
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2300
2724
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2301
2725
|
}, z.core.$strip>;
|
|
@@ -2304,8 +2728,8 @@ export declare const zPaystubParameters: z.ZodObject<{
|
|
|
2304
2728
|
*/
|
|
2305
2729
|
export declare const zPriorPeriodAdjustmentResponseObject: z.ZodObject<{
|
|
2306
2730
|
id: z.ZodString;
|
|
2307
|
-
|
|
2308
|
-
|
|
2731
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2732
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
2309
2733
|
job_id: z.ZodNullable<z.ZodString>;
|
|
2310
2734
|
created_by_user_id: z.ZodString;
|
|
2311
2735
|
adjustment_type: z.ZodEnum<{
|
|
@@ -2330,7 +2754,7 @@ export declare const zPriorPeriodAdjustmentResponseObject: z.ZodObject<{
|
|
|
2330
2754
|
*/
|
|
2331
2755
|
export declare const zTimeCardActualsResponseObject: z.ZodObject<{
|
|
2332
2756
|
id: z.ZodString;
|
|
2333
|
-
|
|
2757
|
+
timekeeping_time_card_id: z.ZodString;
|
|
2334
2758
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
2335
2759
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
2336
2760
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -2385,9 +2809,9 @@ export declare const zTimeCardActualsResponseObject: z.ZodObject<{
|
|
|
2385
2809
|
*/
|
|
2386
2810
|
export declare const zPaystubLineItemResponseObject: z.ZodObject<{
|
|
2387
2811
|
id: z.ZodString;
|
|
2388
|
-
|
|
2389
|
-
|
|
2390
|
-
|
|
2812
|
+
payrolls_external_map_id: z.ZodString;
|
|
2813
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
2814
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
2391
2815
|
user_id: z.ZodNullable<z.ZodString>;
|
|
2392
2816
|
external_map: z.ZodObject<{
|
|
2393
2817
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -2417,13 +2841,13 @@ export declare const zPaystubLineItemResponseObject: z.ZodObject<{
|
|
|
2417
2841
|
* Request body for creating or updating a paystub line item. All four fields are required.
|
|
2418
2842
|
*/
|
|
2419
2843
|
export declare const zPaystubLineItemParameters: z.ZodObject<{
|
|
2420
|
-
|
|
2844
|
+
payrolls_paystub_id: z.ZodString;
|
|
2421
2845
|
amount_cents: z.ZodString;
|
|
2422
2846
|
contributor: z.ZodEnum<{
|
|
2423
2847
|
employee: "employee";
|
|
2424
2848
|
employer: "employer";
|
|
2425
2849
|
}>;
|
|
2426
|
-
|
|
2850
|
+
payrolls_external_map_id: z.ZodString;
|
|
2427
2851
|
}, z.core.$strip>;
|
|
2428
2852
|
/**
|
|
2429
2853
|
* Request body for creating or updating a position on a job. The job is taken from the URL path.
|
|
@@ -2436,7 +2860,7 @@ export declare const zPositionParameters: z.ZodObject<{
|
|
|
2436
2860
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2437
2861
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2438
2862
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2439
|
-
|
|
2863
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
2440
2864
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2441
2865
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
2442
2866
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -2687,12 +3111,12 @@ export declare const zCertificationResponseObject: z.ZodObject<{
|
|
|
2687
3111
|
export declare const zUserCertificationParameters: z.ZodObject<{
|
|
2688
3112
|
user_id: z.ZodString;
|
|
2689
3113
|
certification_id: z.ZodString;
|
|
2690
|
-
|
|
3114
|
+
received_at: z.ZodISODateTime;
|
|
2691
3115
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
2692
3116
|
name: z.ZodOptional<z.ZodString>;
|
|
2693
3117
|
content: z.ZodOptional<z.ZodString>;
|
|
2694
3118
|
}, z.core.$strip>>>;
|
|
2695
|
-
|
|
3119
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2696
3120
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
2697
3121
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
2698
3122
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -2706,8 +3130,8 @@ export declare const zUserCertificationResponseObject: z.ZodObject<{
|
|
|
2706
3130
|
id: z.ZodString;
|
|
2707
3131
|
user_id: z.ZodString;
|
|
2708
3132
|
certification_id: z.ZodString;
|
|
2709
|
-
|
|
2710
|
-
|
|
3133
|
+
received_at: z.ZodISODateTime;
|
|
3134
|
+
verified: z.ZodBoolean;
|
|
2711
3135
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
2712
3136
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
2713
3137
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -2740,7 +3164,6 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
2740
3164
|
status: z.ZodString;
|
|
2741
3165
|
start_time: z.ZodNullable<z.ZodString>;
|
|
2742
3166
|
end_time: z.ZodNullable<z.ZodString>;
|
|
2743
|
-
address: z.ZodNullable<z.ZodString>;
|
|
2744
3167
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
2745
3168
|
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>]>;
|
|
2746
3169
|
tz_name: z.ZodString;
|
|
@@ -2825,7 +3248,7 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
2825
3248
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2826
3249
|
value: z.ZodOptional<z.ZodString>;
|
|
2827
3250
|
}, z.core.$strip>>>;
|
|
2828
|
-
|
|
3251
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
2829
3252
|
tracks_feature_allocations: z.ZodBoolean;
|
|
2830
3253
|
requires_feature_allocation: z.ZodBoolean;
|
|
2831
3254
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -2852,7 +3275,7 @@ export declare const zPositionResponseObject: z.ZodObject<{
|
|
|
2852
3275
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2853
3276
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
2854
3277
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
2855
|
-
|
|
3278
|
+
pwa: z.ZodBoolean;
|
|
2856
3279
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2857
3280
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
2858
3281
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -2940,6 +3363,10 @@ export declare const zUserResponseObject: z.ZodObject<{
|
|
|
2940
3363
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
2941
3364
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
2942
3365
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
3366
|
+
employment_window: z.ZodObject<{
|
|
3367
|
+
valid_from: z.ZodISODateTime;
|
|
3368
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3369
|
+
}, z.core.$strip>;
|
|
2943
3370
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
2944
3371
|
roles: z.ZodArray<z.ZodString>;
|
|
2945
3372
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -3029,7 +3456,6 @@ export declare const zUserParameters: z.ZodObject<{
|
|
|
3029
3456
|
city: z.ZodOptional<z.ZodString>;
|
|
3030
3457
|
state: z.ZodOptional<z.ZodString>;
|
|
3031
3458
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
3032
|
-
external_id: z.ZodOptional<z.ZodString>;
|
|
3033
3459
|
dol_apprentice_no: z.ZodOptional<z.ZodString>;
|
|
3034
3460
|
winda_id: z.ZodOptional<z.ZodString>;
|
|
3035
3461
|
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
@@ -3167,6 +3593,13 @@ export declare const zUserCompanyCreateParameters: z.ZodObject<{
|
|
|
3167
3593
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3168
3594
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
3169
3595
|
}, z.core.$strip>;
|
|
3596
|
+
/**
|
|
3597
|
+
* Keyset pagination cursors for the collection.
|
|
3598
|
+
*/
|
|
3599
|
+
export declare const zPage: z.ZodObject<{
|
|
3600
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3601
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3602
|
+
}, z.core.$strip>;
|
|
3170
3603
|
/**
|
|
3171
3604
|
* Pagination metadata for a paged collection, holding the keyset cursors under `page`.
|
|
3172
3605
|
*/
|
|
@@ -3176,6 +3609,16 @@ export declare const zMeta: z.ZodObject<{
|
|
|
3176
3609
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3177
3610
|
}, z.core.$strip>>;
|
|
3178
3611
|
}, z.core.$strip>;
|
|
3612
|
+
/**
|
|
3613
|
+
* Pagination metadata for a change-feed page, with the feed's safe polling watermark.
|
|
3614
|
+
*/
|
|
3615
|
+
export declare const zDeltaMeta: z.ZodObject<{
|
|
3616
|
+
page: z.ZodObject<{
|
|
3617
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3618
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3619
|
+
}, z.core.$strip>;
|
|
3620
|
+
complete_through: z.ZodISODateTime;
|
|
3621
|
+
}, z.core.$strip>;
|
|
3179
3622
|
/**
|
|
3180
3623
|
* Pagination links for navigating a paged collection.
|
|
3181
3624
|
*/
|
|
@@ -3202,9 +3645,9 @@ export declare const zTimeEntryIndexObject: z.ZodObject<{
|
|
|
3202
3645
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3203
3646
|
id: z.ZodString;
|
|
3204
3647
|
user_id: z.ZodString;
|
|
3205
|
-
|
|
3648
|
+
timekeeping_time_card_id: z.ZodString;
|
|
3206
3649
|
job_id: z.ZodNullable<z.ZodString>;
|
|
3207
|
-
|
|
3650
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
3208
3651
|
state: z.ZodNullable<z.ZodString>;
|
|
3209
3652
|
description: z.ZodNullable<z.ZodString>;
|
|
3210
3653
|
clock_punched: z.ZodBoolean;
|
|
@@ -3224,7 +3667,7 @@ export declare const zTimeEntryIndexObject: z.ZodObject<{
|
|
|
3224
3667
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3225
3668
|
currency: z.ZodNullable<z.ZodString>;
|
|
3226
3669
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
3227
|
-
|
|
3670
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3228
3671
|
start_time: z.ZodISODateTime;
|
|
3229
3672
|
end_time: z.ZodISODateTime;
|
|
3230
3673
|
created_at: z.ZodISODateTime;
|
|
@@ -3304,10 +3747,11 @@ export declare const zFormSubmissionIndexObject: z.ZodObject<{
|
|
|
3304
3747
|
*/
|
|
3305
3748
|
export declare const zTimeEntryDeltasResponse: z.ZodObject<{
|
|
3306
3749
|
meta: z.ZodOptional<z.ZodObject<{
|
|
3307
|
-
page: z.
|
|
3750
|
+
page: z.ZodObject<{
|
|
3308
3751
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3309
3752
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
3310
|
-
}, z.core.$strip
|
|
3753
|
+
}, z.core.$strip>;
|
|
3754
|
+
complete_through: z.ZodISODateTime;
|
|
3311
3755
|
}, z.core.$strip>>;
|
|
3312
3756
|
links: z.ZodOptional<z.ZodObject<{
|
|
3313
3757
|
self: z.ZodOptional<z.ZodString>;
|
|
@@ -3341,7 +3785,7 @@ export declare const zPayPeriodsResponseObject: z.ZodObject<{
|
|
|
3341
3785
|
}, z.core.$strip>;
|
|
3342
3786
|
data: z.ZodArray<z.ZodObject<{
|
|
3343
3787
|
id: z.ZodOptional<z.ZodString>;
|
|
3344
|
-
|
|
3788
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
3345
3789
|
pay_period_config_uid: z.ZodOptional<z.ZodString>;
|
|
3346
3790
|
pay_date: z.ZodOptional<z.ZodISODate>;
|
|
3347
3791
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -3369,11 +3813,11 @@ export declare const zJobTimeCardDaysResponseObject: z.ZodObject<{
|
|
|
3369
3813
|
}, z.core.$strip>;
|
|
3370
3814
|
data: z.ZodArray<z.ZodObject<{
|
|
3371
3815
|
id: z.ZodString;
|
|
3372
|
-
|
|
3816
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
3373
3817
|
job_id: z.ZodString;
|
|
3374
|
-
|
|
3818
|
+
timekeeping_time_card_id: z.ZodString;
|
|
3375
3819
|
user_id: z.ZodString;
|
|
3376
|
-
|
|
3820
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3377
3821
|
date: z.ZodISODate;
|
|
3378
3822
|
minutes_worked: z.ZodInt;
|
|
3379
3823
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -3471,7 +3915,7 @@ export declare const zTimeCardsResponseObject: z.ZodObject<{
|
|
|
3471
3915
|
data: z.ZodArray<z.ZodObject<{
|
|
3472
3916
|
id: z.ZodString;
|
|
3473
3917
|
user_id: z.ZodString;
|
|
3474
|
-
|
|
3918
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
3475
3919
|
locked: z.ZodBoolean;
|
|
3476
3920
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
3477
3921
|
pending: "pending";
|
|
@@ -3531,8 +3975,8 @@ export declare const zPayrollRunsResponseObject: z.ZodObject<{
|
|
|
3531
3975
|
data: z.ZodArray<z.ZodObject<{
|
|
3532
3976
|
id: z.ZodString;
|
|
3533
3977
|
company_id: z.ZodString;
|
|
3534
|
-
|
|
3535
|
-
|
|
3978
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
3979
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
3536
3980
|
run_type: z.ZodEnum<{
|
|
3537
3981
|
CORRECTION: "CORRECTION";
|
|
3538
3982
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -3567,8 +4011,8 @@ export declare const zPaystubsResponseObject: z.ZodObject<{
|
|
|
3567
4011
|
external_id: z.ZodNullable<z.ZodString>;
|
|
3568
4012
|
check_number: z.ZodNullable<z.ZodString>;
|
|
3569
4013
|
user_id: z.ZodString;
|
|
3570
|
-
|
|
3571
|
-
|
|
4014
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
4015
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
3572
4016
|
created_at: z.ZodISODateTime;
|
|
3573
4017
|
updated_at: z.ZodISODateTime;
|
|
3574
4018
|
}, z.core.$strip>>;
|
|
@@ -3590,9 +4034,9 @@ export declare const zPaystubLineItemsResponseObject: z.ZodObject<{
|
|
|
3590
4034
|
}, z.core.$strip>;
|
|
3591
4035
|
data: z.ZodArray<z.ZodObject<{
|
|
3592
4036
|
id: z.ZodString;
|
|
3593
|
-
|
|
3594
|
-
|
|
3595
|
-
|
|
4037
|
+
payrolls_external_map_id: z.ZodString;
|
|
4038
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
4039
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
3596
4040
|
user_id: z.ZodNullable<z.ZodString>;
|
|
3597
4041
|
external_map: z.ZodObject<{
|
|
3598
4042
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -3653,7 +4097,7 @@ export declare const zPositionsResponseObject: z.ZodObject<{
|
|
|
3653
4097
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3654
4098
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
3655
4099
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
3656
|
-
|
|
4100
|
+
pwa: z.ZodBoolean;
|
|
3657
4101
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3658
4102
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
3659
4103
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -3710,8 +4154,8 @@ export declare const zUserCertificationsResponseObj: z.ZodObject<{
|
|
|
3710
4154
|
id: z.ZodString;
|
|
3711
4155
|
user_id: z.ZodString;
|
|
3712
4156
|
certification_id: z.ZodString;
|
|
3713
|
-
|
|
3714
|
-
|
|
4157
|
+
received_at: z.ZodISODateTime;
|
|
4158
|
+
verified: z.ZodBoolean;
|
|
3715
4159
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
3716
4160
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
3717
4161
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -3741,7 +4185,7 @@ export declare const zWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3741
4185
|
modification_number: z.ZodInt;
|
|
3742
4186
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
3743
4187
|
publication_date: z.ZodISODate;
|
|
3744
|
-
|
|
4188
|
+
boundaries_region_id: z.ZodString;
|
|
3745
4189
|
valid_from: z.ZodISODateTime;
|
|
3746
4190
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3747
4191
|
created_at: z.ZodISODateTime;
|
|
@@ -3769,7 +4213,7 @@ export declare const zWageDeterminationsResponseObject: z.ZodObject<{
|
|
|
3769
4213
|
modification_number: z.ZodInt;
|
|
3770
4214
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
3771
4215
|
publication_date: z.ZodISODate;
|
|
3772
|
-
|
|
4216
|
+
boundaries_region_id: z.ZodString;
|
|
3773
4217
|
valid_from: z.ZodISODateTime;
|
|
3774
4218
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
3775
4219
|
created_at: z.ZodISODateTime;
|
|
@@ -3828,7 +4272,7 @@ export declare const zFederalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3828
4272
|
id: z.ZodString;
|
|
3829
4273
|
uid: z.ZodString;
|
|
3830
4274
|
job_id: z.ZodString;
|
|
3831
|
-
|
|
4275
|
+
pwa_trade_id: z.ZodString;
|
|
3832
4276
|
type: z.ZodEnum<{
|
|
3833
4277
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
3834
4278
|
}>;
|
|
@@ -3874,7 +4318,7 @@ export declare const zRegionalJobWageDeterminationResponseObject: z.ZodObject<{
|
|
|
3874
4318
|
id: z.ZodString;
|
|
3875
4319
|
uid: z.ZodString;
|
|
3876
4320
|
job_id: z.ZodString;
|
|
3877
|
-
|
|
4321
|
+
pwa_trade_id: z.ZodString;
|
|
3878
4322
|
type: z.ZodEnum<{
|
|
3879
4323
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
3880
4324
|
}>;
|
|
@@ -3895,7 +4339,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
3895
4339
|
id: z.ZodString;
|
|
3896
4340
|
uid: z.ZodString;
|
|
3897
4341
|
job_id: z.ZodString;
|
|
3898
|
-
|
|
4342
|
+
pwa_trade_id: z.ZodString;
|
|
3899
4343
|
labor_classification: z.ZodString;
|
|
3900
4344
|
hourly_rate_cents: z.ZodString;
|
|
3901
4345
|
fringe_rate_cents: z.ZodString;
|
|
@@ -3916,7 +4360,7 @@ export declare const zJobWageDeterminationResponseObject: z.ZodDiscriminatedUnio
|
|
|
3916
4360
|
id: z.ZodString;
|
|
3917
4361
|
uid: z.ZodString;
|
|
3918
4362
|
job_id: z.ZodString;
|
|
3919
|
-
|
|
4363
|
+
pwa_trade_id: z.ZodString;
|
|
3920
4364
|
labor_classification: z.ZodString;
|
|
3921
4365
|
hourly_rate_cents: z.ZodString;
|
|
3922
4366
|
fringe_rate_cents: z.ZodString;
|
|
@@ -3932,7 +4376,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
3932
4376
|
id: z.ZodString;
|
|
3933
4377
|
uid: z.ZodString;
|
|
3934
4378
|
job_id: z.ZodString;
|
|
3935
|
-
|
|
4379
|
+
pwa_trade_id: z.ZodString;
|
|
3936
4380
|
type: z.ZodEnum<{
|
|
3937
4381
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
3938
4382
|
}>;
|
|
@@ -3960,7 +4404,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
3960
4404
|
id: z.ZodString;
|
|
3961
4405
|
uid: z.ZodString;
|
|
3962
4406
|
job_id: z.ZodString;
|
|
3963
|
-
|
|
4407
|
+
pwa_trade_id: z.ZodString;
|
|
3964
4408
|
labor_classification: z.ZodString;
|
|
3965
4409
|
hourly_rate_cents: z.ZodString;
|
|
3966
4410
|
fringe_rate_cents: z.ZodString;
|
|
@@ -3981,7 +4425,7 @@ export declare const zFederalJobWageDeterminationHistoryVersionObject: z.ZodObje
|
|
|
3981
4425
|
id: z.ZodString;
|
|
3982
4426
|
uid: z.ZodString;
|
|
3983
4427
|
job_id: z.ZodString;
|
|
3984
|
-
|
|
4428
|
+
pwa_trade_id: z.ZodString;
|
|
3985
4429
|
labor_classification: z.ZodString;
|
|
3986
4430
|
hourly_rate_cents: z.ZodString;
|
|
3987
4431
|
fringe_rate_cents: z.ZodString;
|
|
@@ -3998,7 +4442,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
3998
4442
|
id: z.ZodString;
|
|
3999
4443
|
uid: z.ZodString;
|
|
4000
4444
|
job_id: z.ZodString;
|
|
4001
|
-
|
|
4445
|
+
pwa_trade_id: z.ZodString;
|
|
4002
4446
|
type: z.ZodEnum<{
|
|
4003
4447
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4004
4448
|
}>;
|
|
@@ -4020,7 +4464,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
4020
4464
|
id: z.ZodString;
|
|
4021
4465
|
uid: z.ZodString;
|
|
4022
4466
|
job_id: z.ZodString;
|
|
4023
|
-
|
|
4467
|
+
pwa_trade_id: z.ZodString;
|
|
4024
4468
|
labor_classification: z.ZodString;
|
|
4025
4469
|
hourly_rate_cents: z.ZodString;
|
|
4026
4470
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4041,7 +4485,7 @@ export declare const zRegionalJobWageDeterminationHistoryVersionObject: z.ZodObj
|
|
|
4041
4485
|
id: z.ZodString;
|
|
4042
4486
|
uid: z.ZodString;
|
|
4043
4487
|
job_id: z.ZodString;
|
|
4044
|
-
|
|
4488
|
+
pwa_trade_id: z.ZodString;
|
|
4045
4489
|
labor_classification: z.ZodString;
|
|
4046
4490
|
hourly_rate_cents: z.ZodString;
|
|
4047
4491
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4058,7 +4502,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4058
4502
|
id: z.ZodString;
|
|
4059
4503
|
uid: z.ZodString;
|
|
4060
4504
|
job_id: z.ZodString;
|
|
4061
|
-
|
|
4505
|
+
pwa_trade_id: z.ZodString;
|
|
4062
4506
|
labor_classification: z.ZodString;
|
|
4063
4507
|
hourly_rate_cents: z.ZodString;
|
|
4064
4508
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4083,7 +4527,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4083
4527
|
id: z.ZodString;
|
|
4084
4528
|
uid: z.ZodString;
|
|
4085
4529
|
job_id: z.ZodString;
|
|
4086
|
-
|
|
4530
|
+
pwa_trade_id: z.ZodString;
|
|
4087
4531
|
labor_classification: z.ZodString;
|
|
4088
4532
|
hourly_rate_cents: z.ZodString;
|
|
4089
4533
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4104,7 +4548,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4104
4548
|
id: z.ZodString;
|
|
4105
4549
|
uid: z.ZodString;
|
|
4106
4550
|
job_id: z.ZodString;
|
|
4107
|
-
|
|
4551
|
+
pwa_trade_id: z.ZodString;
|
|
4108
4552
|
labor_classification: z.ZodString;
|
|
4109
4553
|
hourly_rate_cents: z.ZodString;
|
|
4110
4554
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4121,7 +4565,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4121
4565
|
id: z.ZodString;
|
|
4122
4566
|
uid: z.ZodString;
|
|
4123
4567
|
job_id: z.ZodString;
|
|
4124
|
-
|
|
4568
|
+
pwa_trade_id: z.ZodString;
|
|
4125
4569
|
labor_classification: z.ZodString;
|
|
4126
4570
|
hourly_rate_cents: z.ZodString;
|
|
4127
4571
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4140,7 +4584,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4140
4584
|
id: z.ZodString;
|
|
4141
4585
|
uid: z.ZodString;
|
|
4142
4586
|
job_id: z.ZodString;
|
|
4143
|
-
|
|
4587
|
+
pwa_trade_id: z.ZodString;
|
|
4144
4588
|
labor_classification: z.ZodString;
|
|
4145
4589
|
hourly_rate_cents: z.ZodString;
|
|
4146
4590
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4161,7 +4605,7 @@ export declare const zJobWageDeterminationHistoryVersionObject: z.ZodDiscriminat
|
|
|
4161
4605
|
id: z.ZodString;
|
|
4162
4606
|
uid: z.ZodString;
|
|
4163
4607
|
job_id: z.ZodString;
|
|
4164
|
-
|
|
4608
|
+
pwa_trade_id: z.ZodString;
|
|
4165
4609
|
labor_classification: z.ZodString;
|
|
4166
4610
|
hourly_rate_cents: z.ZodString;
|
|
4167
4611
|
fringe_rate_cents: z.ZodString;
|
|
@@ -4183,7 +4627,7 @@ export declare const zFederalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4183
4627
|
"Pwa::JobWageDeterminations::Federal": "Pwa::JobWageDeterminations::Federal";
|
|
4184
4628
|
}>;
|
|
4185
4629
|
labor_classification: z.ZodString;
|
|
4186
|
-
|
|
4630
|
+
pwa_trade_id: z.ZodString;
|
|
4187
4631
|
hourly_rate_cents: z.ZodString;
|
|
4188
4632
|
fringe_rate_cents: z.ZodString;
|
|
4189
4633
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4203,7 +4647,7 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4203
4647
|
"Pwa::JobWageDeterminations::Regional": "Pwa::JobWageDeterminations::Regional";
|
|
4204
4648
|
}>;
|
|
4205
4649
|
labor_classification: z.ZodString;
|
|
4206
|
-
|
|
4650
|
+
pwa_trade_id: z.ZodString;
|
|
4207
4651
|
hourly_rate_cents: z.ZodString;
|
|
4208
4652
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
4209
4653
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4214,7 +4658,7 @@ export declare const zRegionalJobWageDeterminationParameters: z.ZodObject<{
|
|
|
4214
4658
|
*/
|
|
4215
4659
|
export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4216
4660
|
labor_classification: z.ZodString;
|
|
4217
|
-
|
|
4661
|
+
pwa_trade_id: z.ZodString;
|
|
4218
4662
|
hourly_rate_cents: z.ZodString;
|
|
4219
4663
|
fringe_rate_cents: z.ZodString;
|
|
4220
4664
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4228,7 +4672,7 @@ export declare const zJobWageDeterminationParameters: z.ZodDiscriminatedUnion<[z
|
|
|
4228
4672
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
4229
4673
|
}, z.core.$strip>, z.ZodObject<{
|
|
4230
4674
|
labor_classification: z.ZodString;
|
|
4231
|
-
|
|
4675
|
+
pwa_trade_id: z.ZodString;
|
|
4232
4676
|
hourly_rate_cents: z.ZodString;
|
|
4233
4677
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
4234
4678
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4599,7 +5043,7 @@ export declare const zAssetsFormAssignmentTriggerResponseObject: z.ZodObject<{
|
|
|
4599
5043
|
tz_name: z.ZodString;
|
|
4600
5044
|
time_of_day_due: z.ZodString;
|
|
4601
5045
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
4602
|
-
|
|
5046
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
4603
5047
|
created_at: z.ZodISODateTime;
|
|
4604
5048
|
updated_at: z.ZodISODateTime;
|
|
4605
5049
|
}, z.core.$strip>;
|
|
@@ -4637,7 +5081,7 @@ export declare const zAssetsFormAssignmentTriggerParameters: z.ZodObject<{
|
|
|
4637
5081
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4638
5082
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
4639
5083
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4640
|
-
|
|
5084
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
4641
5085
|
}, z.core.$strip>;
|
|
4642
5086
|
/**
|
|
4643
5087
|
* 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.
|
|
@@ -4670,12 +5114,13 @@ export declare const zAssetsProductResponseObject: z.ZodObject<{
|
|
|
4670
5114
|
pair: "pair";
|
|
4671
5115
|
pack: "pack";
|
|
4672
5116
|
}>;
|
|
5117
|
+
container: z.ZodBoolean;
|
|
4673
5118
|
serialized: z.ZodBoolean;
|
|
4674
|
-
|
|
5119
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
4675
5120
|
attributes: z.ZodArray<z.ZodObject<{
|
|
4676
|
-
|
|
5121
|
+
assets_attribute_id: z.ZodString;
|
|
4677
5122
|
value: z.ZodNullable<z.ZodString>;
|
|
4678
|
-
|
|
5123
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
4679
5124
|
}, z.core.$strip>>;
|
|
4680
5125
|
images: z.ZodArray<z.ZodObject<{
|
|
4681
5126
|
id: z.ZodString;
|
|
@@ -4706,10 +5151,8 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
4706
5151
|
}>;
|
|
4707
5152
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
4708
5153
|
status: z.ZodEnum<{
|
|
4709
|
-
maintenance: "maintenance";
|
|
4710
5154
|
available: "available";
|
|
4711
5155
|
assigned: "assigned";
|
|
4712
|
-
transit: "transit";
|
|
4713
5156
|
retired: "retired";
|
|
4714
5157
|
}>;
|
|
4715
5158
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -4717,6 +5160,15 @@ export declare const zAssetsItemResponseObject: z.ZodObject<{
|
|
|
4717
5160
|
currency: z.ZodNullable<z.ZodString>;
|
|
4718
5161
|
external_id: z.ZodNullable<z.ZodString>;
|
|
4719
5162
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
5163
|
+
container: z.ZodBoolean;
|
|
5164
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
5165
|
+
item_id: z.ZodString;
|
|
5166
|
+
quantity: z.ZodInt;
|
|
5167
|
+
}, z.core.$strip>>;
|
|
5168
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
5169
|
+
container_item_id: z.ZodString;
|
|
5170
|
+
quantity: z.ZodInt;
|
|
5171
|
+
}, z.core.$strip>>;
|
|
4720
5172
|
images: z.ZodArray<z.ZodObject<{
|
|
4721
5173
|
id: z.ZodString;
|
|
4722
5174
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -4749,7 +5201,7 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4749
5201
|
}>;
|
|
4750
5202
|
name: z.ZodString;
|
|
4751
5203
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4752
|
-
|
|
5204
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4753
5205
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4754
5206
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4755
5207
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -4760,10 +5212,11 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4760
5212
|
pair: "pair";
|
|
4761
5213
|
pack: "pack";
|
|
4762
5214
|
}>>;
|
|
5215
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
4763
5216
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4764
|
-
|
|
5217
|
+
assets_attribute_id: z.ZodString;
|
|
4765
5218
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4766
|
-
|
|
5219
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4767
5220
|
}, z.core.$strip>>>;
|
|
4768
5221
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4769
5222
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4778,7 +5231,7 @@ export declare const zAssetsProductParameters: z.ZodObject<{
|
|
|
4778
5231
|
export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
4779
5232
|
name: z.ZodOptional<z.ZodString>;
|
|
4780
5233
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4781
|
-
|
|
5234
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4782
5235
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4783
5236
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4784
5237
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -4789,10 +5242,11 @@ export declare const zAssetsProductUpdateParameters: z.ZodObject<{
|
|
|
4789
5242
|
pair: "pair";
|
|
4790
5243
|
pack: "pack";
|
|
4791
5244
|
}>>;
|
|
5245
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
4792
5246
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4793
|
-
|
|
5247
|
+
assets_attribute_id: z.ZodString;
|
|
4794
5248
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4795
|
-
|
|
5249
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4796
5250
|
}, z.core.$strip>>>;
|
|
4797
5251
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4798
5252
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -4809,10 +5263,8 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4809
5263
|
assets_product_id: z.ZodString;
|
|
4810
5264
|
serial_number: z.ZodString;
|
|
4811
5265
|
status: z.ZodOptional<z.ZodEnum<{
|
|
4812
|
-
maintenance: "maintenance";
|
|
4813
5266
|
available: "available";
|
|
4814
5267
|
assigned: "assigned";
|
|
4815
|
-
transit: "transit";
|
|
4816
5268
|
retired: "retired";
|
|
4817
5269
|
}>>;
|
|
4818
5270
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -4826,6 +5278,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4826
5278
|
}, z.core.$strip>>>;
|
|
4827
5279
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
4828
5280
|
user_id: z.ZodOptional<z.ZodString>;
|
|
5281
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
4829
5282
|
performed_by_user_id: z.ZodString;
|
|
4830
5283
|
}, z.core.$strip>;
|
|
4831
5284
|
/**
|
|
@@ -4833,7 +5286,7 @@ export declare const zAssetsItemParameters: z.ZodObject<{
|
|
|
4833
5286
|
*/
|
|
4834
5287
|
export declare const zAssetsDocumentResponseObject: z.ZodObject<{
|
|
4835
5288
|
id: z.ZodString;
|
|
4836
|
-
|
|
5289
|
+
assets_item_id: z.ZodString;
|
|
4837
5290
|
name: z.ZodString;
|
|
4838
5291
|
filename: z.ZodNullable<z.ZodString>;
|
|
4839
5292
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -4875,7 +5328,7 @@ export declare const zAssetsDocumentVersionResponseObject: z.ZodObject<{
|
|
|
4875
5328
|
*/
|
|
4876
5329
|
export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
4877
5330
|
id: z.ZodString;
|
|
4878
|
-
|
|
5331
|
+
assets_item_id: z.ZodString;
|
|
4879
5332
|
form_definition_id: z.ZodString;
|
|
4880
5333
|
name: z.ZodString;
|
|
4881
5334
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -4898,11 +5351,11 @@ export declare const zAssetsItemFormAssignmentResponseObject: z.ZodObject<{
|
|
|
4898
5351
|
}, z.core.$strip>>;
|
|
4899
5352
|
}, z.core.$strip>;
|
|
4900
5353
|
/**
|
|
4901
|
-
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400).
|
|
5354
|
+
* Create or update an item form assignment. form_definition_id and task_attributes are required, and task_attributes.created_by_user_id is required (a missing value returns 400). recurring gates the recurrence fields.
|
|
4902
5355
|
*/
|
|
4903
5356
|
export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
4904
5357
|
form_definition_id: z.ZodString;
|
|
4905
|
-
|
|
5358
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
4906
5359
|
task_attributes: z.ZodObject<{
|
|
4907
5360
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
4908
5361
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -4931,7 +5384,7 @@ export declare const zAssetsItemFormAssignmentParameters: z.ZodObject<{
|
|
|
4931
5384
|
*/
|
|
4932
5385
|
export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
4933
5386
|
id: z.ZodString;
|
|
4934
|
-
|
|
5387
|
+
assets_item_id: z.ZodString;
|
|
4935
5388
|
assets_site_id: z.ZodString;
|
|
4936
5389
|
company_id: z.ZodString;
|
|
4937
5390
|
quantity_on_hand: z.ZodInt;
|
|
@@ -4943,7 +5396,7 @@ export declare const zAssetsInventoryResponseObject: z.ZodObject<{
|
|
|
4943
5396
|
*/
|
|
4944
5397
|
export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
4945
5398
|
id: z.ZodString;
|
|
4946
|
-
|
|
5399
|
+
assets_item_id: z.ZodString;
|
|
4947
5400
|
user_id: z.ZodString;
|
|
4948
5401
|
company_id: z.ZodString;
|
|
4949
5402
|
quantity: z.ZodInt;
|
|
@@ -4955,7 +5408,7 @@ export declare const zAssetsCustodyResponseObject: z.ZodObject<{
|
|
|
4955
5408
|
*/
|
|
4956
5409
|
export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
4957
5410
|
id: z.ZodString;
|
|
4958
|
-
|
|
5411
|
+
assets_item_id: z.ZodString;
|
|
4959
5412
|
company_id: z.ZodString;
|
|
4960
5413
|
event_type: z.ZodEnum<{
|
|
4961
5414
|
"Assets::Transaction": "Assets::Transaction";
|
|
@@ -4965,7 +5418,8 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
|
4965
5418
|
id: z.ZodString;
|
|
4966
5419
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
4967
5420
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
4968
|
-
|
|
5421
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
5422
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
4969
5423
|
performed_by_user_id: z.ZodString;
|
|
4970
5424
|
direction: z.ZodEnum<{
|
|
4971
5425
|
inbound: "inbound";
|
|
@@ -4986,7 +5440,7 @@ export declare const zAssetsTransactionEventResponseObject: z.ZodObject<{
|
|
|
4986
5440
|
*/
|
|
4987
5441
|
export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
4988
5442
|
id: z.ZodString;
|
|
4989
|
-
|
|
5443
|
+
assets_item_id: z.ZodString;
|
|
4990
5444
|
company_id: z.ZodString;
|
|
4991
5445
|
event_type: z.ZodEnum<{
|
|
4992
5446
|
"Assets::ServiceEvent": "Assets::ServiceEvent";
|
|
@@ -5011,14 +5465,15 @@ export declare const zAssetsServiceEventResponseObject: z.ZodObject<{
|
|
|
5011
5465
|
*/
|
|
5012
5466
|
export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
5013
5467
|
id: z.ZodString;
|
|
5014
|
-
|
|
5468
|
+
assets_item_id: z.ZodString;
|
|
5015
5469
|
company_id: z.ZodString;
|
|
5016
5470
|
performed_at: z.ZodISODateTime;
|
|
5017
5471
|
transaction: z.ZodObject<{
|
|
5018
5472
|
id: z.ZodString;
|
|
5019
5473
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5020
5474
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
5021
|
-
|
|
5475
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
5476
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
5022
5477
|
performed_by_user_id: z.ZodString;
|
|
5023
5478
|
direction: z.ZodEnum<{
|
|
5024
5479
|
inbound: "inbound";
|
|
@@ -5036,7 +5491,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
5036
5491
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
5037
5492
|
}, z.core.$strip>, z.ZodObject<{
|
|
5038
5493
|
id: z.ZodString;
|
|
5039
|
-
|
|
5494
|
+
assets_item_id: z.ZodString;
|
|
5040
5495
|
company_id: z.ZodString;
|
|
5041
5496
|
performed_at: z.ZodISODateTime;
|
|
5042
5497
|
service_event: z.ZodObject<{
|
|
@@ -5059,7 +5514,7 @@ export declare const zAssetsItemEventResponseObject: z.ZodDiscriminatedUnion<[z.
|
|
|
5059
5514
|
*/
|
|
5060
5515
|
export declare const zAssetsServiceScheduleResponseObject: z.ZodObject<{
|
|
5061
5516
|
id: z.ZodString;
|
|
5062
|
-
|
|
5517
|
+
assets_item_id: z.ZodString;
|
|
5063
5518
|
company_id: z.ZodString;
|
|
5064
5519
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
5065
5520
|
kind: z.ZodEnum<{
|
|
@@ -5103,7 +5558,7 @@ export declare const zAssetsServiceScheduleParameters: z.ZodObject<{
|
|
|
5103
5558
|
*/
|
|
5104
5559
|
export declare const zAssetsServiceEventFullResponseObject: z.ZodObject<{
|
|
5105
5560
|
id: z.ZodString;
|
|
5106
|
-
|
|
5561
|
+
assets_item_id: z.ZodString;
|
|
5107
5562
|
company_id: z.ZodString;
|
|
5108
5563
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
5109
5564
|
performed_by_user_id: z.ZodString;
|
|
@@ -5188,7 +5643,7 @@ export declare const zAssetsServiceScheduleTemplateParameters: z.ZodObject<{
|
|
|
5188
5643
|
performed_by_user_id: z.ZodString;
|
|
5189
5644
|
}, z.core.$strip>;
|
|
5190
5645
|
/**
|
|
5191
|
-
* A completed movement of item stock between two holders
|
|
5646
|
+
* 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.
|
|
5192
5647
|
*/
|
|
5193
5648
|
export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
5194
5649
|
id: z.ZodString;
|
|
@@ -5201,29 +5656,33 @@ export declare const zAssetsTransferResponseObject: z.ZodObject<{
|
|
|
5201
5656
|
}>;
|
|
5202
5657
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5203
5658
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
5659
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
5204
5660
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
5205
5661
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
5662
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
5206
5663
|
initiated_by_user_id: z.ZodString;
|
|
5207
5664
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
5208
5665
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
5209
5666
|
id: z.ZodString;
|
|
5210
|
-
|
|
5667
|
+
assets_item_id: z.ZodString;
|
|
5211
5668
|
quantity: z.ZodInt;
|
|
5212
5669
|
}, z.core.$strip>>;
|
|
5213
5670
|
created_at: z.ZodISODateTime;
|
|
5214
5671
|
updated_at: z.ZodISODateTime;
|
|
5215
5672
|
}, z.core.$strip>;
|
|
5216
5673
|
/**
|
|
5217
|
-
*
|
|
5674
|
+
* 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.
|
|
5218
5675
|
*/
|
|
5219
5676
|
export declare const zAssetsTransferParameters: z.ZodObject<{
|
|
5220
5677
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
5221
5678
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
5679
|
+
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
5222
5680
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
5223
5681
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
5682
|
+
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
5224
5683
|
performed_by_user_id: z.ZodString;
|
|
5225
5684
|
line_items: z.ZodArray<z.ZodObject<{
|
|
5226
|
-
|
|
5685
|
+
assets_item_id: z.ZodString;
|
|
5227
5686
|
quantity: z.ZodInt;
|
|
5228
5687
|
}, z.core.$strip>>;
|
|
5229
5688
|
}, z.core.$strip>;
|
|
@@ -6247,7 +6706,7 @@ export declare const zListCategoriesResponse: z.ZodObject<{
|
|
|
6247
6706
|
full_name: z.ZodString;
|
|
6248
6707
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6249
6708
|
id: z.ZodString;
|
|
6250
|
-
|
|
6709
|
+
assets_attribute_id: z.ZodString;
|
|
6251
6710
|
fillable_on: z.ZodEnum<{
|
|
6252
6711
|
product: "product";
|
|
6253
6712
|
item: "item";
|
|
@@ -6264,7 +6723,7 @@ export declare const zCreateCategoryBody: z.ZodObject<{
|
|
|
6264
6723
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6265
6724
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6266
6725
|
id: z.ZodOptional<z.ZodString>;
|
|
6267
|
-
|
|
6726
|
+
assets_attribute_id: z.ZodString;
|
|
6268
6727
|
fillable_on: z.ZodEnum<{
|
|
6269
6728
|
product: "product";
|
|
6270
6729
|
item: "item";
|
|
@@ -6285,7 +6744,7 @@ export declare const zCreateCategoryResponse: z.ZodObject<{
|
|
|
6285
6744
|
full_name: z.ZodString;
|
|
6286
6745
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6287
6746
|
id: z.ZodString;
|
|
6288
|
-
|
|
6747
|
+
assets_attribute_id: z.ZodString;
|
|
6289
6748
|
fillable_on: z.ZodEnum<{
|
|
6290
6749
|
product: "product";
|
|
6291
6750
|
item: "item";
|
|
@@ -6310,7 +6769,7 @@ export declare const zDeleteCategoryResponse: z.ZodObject<{
|
|
|
6310
6769
|
full_name: z.ZodString;
|
|
6311
6770
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6312
6771
|
id: z.ZodString;
|
|
6313
|
-
|
|
6772
|
+
assets_attribute_id: z.ZodString;
|
|
6314
6773
|
fillable_on: z.ZodEnum<{
|
|
6315
6774
|
product: "product";
|
|
6316
6775
|
item: "item";
|
|
@@ -6335,7 +6794,7 @@ export declare const zGetCategoryResponse: z.ZodObject<{
|
|
|
6335
6794
|
full_name: z.ZodString;
|
|
6336
6795
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6337
6796
|
id: z.ZodString;
|
|
6338
|
-
|
|
6797
|
+
assets_attribute_id: z.ZodString;
|
|
6339
6798
|
fillable_on: z.ZodEnum<{
|
|
6340
6799
|
product: "product";
|
|
6341
6800
|
item: "item";
|
|
@@ -6351,7 +6810,7 @@ export declare const zUpdateCategoryBody: z.ZodObject<{
|
|
|
6351
6810
|
parent_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6352
6811
|
category_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6353
6812
|
id: z.ZodOptional<z.ZodString>;
|
|
6354
|
-
|
|
6813
|
+
assets_attribute_id: z.ZodString;
|
|
6355
6814
|
fillable_on: z.ZodEnum<{
|
|
6356
6815
|
product: "product";
|
|
6357
6816
|
item: "item";
|
|
@@ -6375,7 +6834,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
6375
6834
|
full_name: z.ZodString;
|
|
6376
6835
|
attributes: z.ZodArray<z.ZodObject<{
|
|
6377
6836
|
id: z.ZodString;
|
|
6378
|
-
|
|
6837
|
+
assets_attribute_id: z.ZodString;
|
|
6379
6838
|
fillable_on: z.ZodEnum<{
|
|
6380
6839
|
product: "product";
|
|
6381
6840
|
item: "item";
|
|
@@ -6387,7 +6846,7 @@ export declare const zUpdateCategoryResponse: z.ZodObject<{
|
|
|
6387
6846
|
updated_at: z.ZodISODateTime;
|
|
6388
6847
|
}, z.core.$strip>;
|
|
6389
6848
|
export declare const zListCustodiesQuery: z.ZodObject<{
|
|
6390
|
-
'filter[
|
|
6849
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6391
6850
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
6392
6851
|
filter: z.ZodOptional<z.ZodString>;
|
|
6393
6852
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6409,7 +6868,7 @@ export declare const zListCustodiesResponse: z.ZodObject<{
|
|
|
6409
6868
|
}, z.core.$strip>>;
|
|
6410
6869
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6411
6870
|
id: z.ZodString;
|
|
6412
|
-
|
|
6871
|
+
assets_item_id: z.ZodString;
|
|
6413
6872
|
user_id: z.ZodString;
|
|
6414
6873
|
company_id: z.ZodString;
|
|
6415
6874
|
quantity: z.ZodInt;
|
|
@@ -6425,7 +6884,7 @@ export declare const zGetCustodyPath: z.ZodObject<{
|
|
|
6425
6884
|
*/
|
|
6426
6885
|
export declare const zGetCustodyResponse: z.ZodObject<{
|
|
6427
6886
|
id: z.ZodString;
|
|
6428
|
-
|
|
6887
|
+
assets_item_id: z.ZodString;
|
|
6429
6888
|
user_id: z.ZodString;
|
|
6430
6889
|
company_id: z.ZodString;
|
|
6431
6890
|
quantity: z.ZodInt;
|
|
@@ -6433,7 +6892,7 @@ export declare const zGetCustodyResponse: z.ZodObject<{
|
|
|
6433
6892
|
updated_at: z.ZodISODateTime;
|
|
6434
6893
|
}, z.core.$strip>;
|
|
6435
6894
|
export declare const zListEventsQuery: z.ZodObject<{
|
|
6436
|
-
'filter[
|
|
6895
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6437
6896
|
'filter[eventable_type]': z.ZodOptional<z.ZodString>;
|
|
6438
6897
|
filter: z.ZodOptional<z.ZodString>;
|
|
6439
6898
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6455,14 +6914,15 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
6455
6914
|
}, z.core.$strip>>;
|
|
6456
6915
|
data: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6457
6916
|
id: z.ZodString;
|
|
6458
|
-
|
|
6917
|
+
assets_item_id: z.ZodString;
|
|
6459
6918
|
company_id: z.ZodString;
|
|
6460
6919
|
performed_at: z.ZodISODateTime;
|
|
6461
6920
|
transaction: z.ZodObject<{
|
|
6462
6921
|
id: z.ZodString;
|
|
6463
6922
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
6464
6923
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
6465
|
-
|
|
6924
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
6925
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
6466
6926
|
performed_by_user_id: z.ZodString;
|
|
6467
6927
|
direction: z.ZodEnum<{
|
|
6468
6928
|
inbound: "inbound";
|
|
@@ -6480,7 +6940,7 @@ export declare const zListEventsResponse: z.ZodObject<{
|
|
|
6480
6940
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
6481
6941
|
}, z.core.$strip>, z.ZodObject<{
|
|
6482
6942
|
id: z.ZodString;
|
|
6483
|
-
|
|
6943
|
+
assets_item_id: z.ZodString;
|
|
6484
6944
|
company_id: z.ZodString;
|
|
6485
6945
|
performed_at: z.ZodISODateTime;
|
|
6486
6946
|
service_event: z.ZodObject<{
|
|
@@ -6507,14 +6967,15 @@ export declare const zGetEventPath: z.ZodObject<{
|
|
|
6507
6967
|
*/
|
|
6508
6968
|
export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
6509
6969
|
id: z.ZodString;
|
|
6510
|
-
|
|
6970
|
+
assets_item_id: z.ZodString;
|
|
6511
6971
|
company_id: z.ZodString;
|
|
6512
6972
|
performed_at: z.ZodISODateTime;
|
|
6513
6973
|
transaction: z.ZodObject<{
|
|
6514
6974
|
id: z.ZodString;
|
|
6515
6975
|
assets_site_id: z.ZodNullable<z.ZodString>;
|
|
6516
6976
|
assignee_id: z.ZodNullable<z.ZodString>;
|
|
6517
|
-
|
|
6977
|
+
container_item_id: z.ZodNullable<z.ZodString>;
|
|
6978
|
+
assets_transfer_id: z.ZodNullable<z.ZodString>;
|
|
6518
6979
|
performed_by_user_id: z.ZodString;
|
|
6519
6980
|
direction: z.ZodEnum<{
|
|
6520
6981
|
inbound: "inbound";
|
|
@@ -6532,7 +6993,7 @@ export declare const zGetEventResponse: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6532
6993
|
event_type: z.ZodLiteral<"Assets::Transaction">;
|
|
6533
6994
|
}, z.core.$strip>, z.ZodObject<{
|
|
6534
6995
|
id: z.ZodString;
|
|
6535
|
-
|
|
6996
|
+
assets_item_id: z.ZodString;
|
|
6536
6997
|
company_id: z.ZodString;
|
|
6537
6998
|
performed_at: z.ZodISODateTime;
|
|
6538
6999
|
service_event: z.ZodObject<{
|
|
@@ -6606,7 +7067,7 @@ export declare const zListFormAssignmentTriggersResponse: z.ZodObject<{
|
|
|
6606
7067
|
tz_name: z.ZodString;
|
|
6607
7068
|
time_of_day_due: z.ZodString;
|
|
6608
7069
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6609
|
-
|
|
7070
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6610
7071
|
created_at: z.ZodISODateTime;
|
|
6611
7072
|
updated_at: z.ZodISODateTime;
|
|
6612
7073
|
}, z.core.$strip>>>;
|
|
@@ -6642,7 +7103,7 @@ export declare const zCreateFormAssignmentTriggerBody: z.ZodObject<{
|
|
|
6642
7103
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6643
7104
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6644
7105
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6645
|
-
|
|
7106
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6646
7107
|
}, z.core.$strip>;
|
|
6647
7108
|
/**
|
|
6648
7109
|
* Created (custom assignees, products, recurring, day-of-week)
|
|
@@ -6680,7 +7141,7 @@ export declare const zCreateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6680
7141
|
tz_name: z.ZodString;
|
|
6681
7142
|
time_of_day_due: z.ZodString;
|
|
6682
7143
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6683
|
-
|
|
7144
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6684
7145
|
created_at: z.ZodISODateTime;
|
|
6685
7146
|
updated_at: z.ZodISODateTime;
|
|
6686
7147
|
}, z.core.$strip>;
|
|
@@ -6723,7 +7184,7 @@ export declare const zDeleteFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6723
7184
|
tz_name: z.ZodString;
|
|
6724
7185
|
time_of_day_due: z.ZodString;
|
|
6725
7186
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6726
|
-
|
|
7187
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6727
7188
|
created_at: z.ZodISODateTime;
|
|
6728
7189
|
updated_at: z.ZodISODateTime;
|
|
6729
7190
|
}, z.core.$strip>;
|
|
@@ -6766,7 +7227,7 @@ export declare const zGetFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6766
7227
|
tz_name: z.ZodString;
|
|
6767
7228
|
time_of_day_due: z.ZodString;
|
|
6768
7229
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6769
|
-
|
|
7230
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6770
7231
|
created_at: z.ZodISODateTime;
|
|
6771
7232
|
updated_at: z.ZodISODateTime;
|
|
6772
7233
|
}, z.core.$strip>;
|
|
@@ -6801,7 +7262,7 @@ export declare const zUpdateFormAssignmentTriggerBody: z.ZodObject<{
|
|
|
6801
7262
|
day_of_week_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6802
7263
|
day_of_month_due: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6803
7264
|
assigned_user_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6804
|
-
|
|
7265
|
+
assets_product_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
6805
7266
|
}, z.core.$strip>;
|
|
6806
7267
|
export declare const zUpdateFormAssignmentTriggerPath: z.ZodObject<{
|
|
6807
7268
|
id: z.ZodString;
|
|
@@ -6842,12 +7303,12 @@ export declare const zUpdateFormAssignmentTriggerResponse: z.ZodObject<{
|
|
|
6842
7303
|
tz_name: z.ZodString;
|
|
6843
7304
|
time_of_day_due: z.ZodString;
|
|
6844
7305
|
assigned_user_ids: z.ZodArray<z.ZodString>;
|
|
6845
|
-
|
|
7306
|
+
assets_product_ids: z.ZodArray<z.ZodString>;
|
|
6846
7307
|
created_at: z.ZodISODateTime;
|
|
6847
7308
|
updated_at: z.ZodISODateTime;
|
|
6848
7309
|
}, z.core.$strip>;
|
|
6849
7310
|
export declare const zListInventoriesQuery: z.ZodObject<{
|
|
6850
|
-
'filter[
|
|
7311
|
+
'filter[assets_item_id]': z.ZodOptional<z.ZodString>;
|
|
6851
7312
|
'filter[assets_site_id]': z.ZodOptional<z.ZodString>;
|
|
6852
7313
|
filter: z.ZodOptional<z.ZodString>;
|
|
6853
7314
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
@@ -6869,7 +7330,7 @@ export declare const zListInventoriesResponse: z.ZodObject<{
|
|
|
6869
7330
|
}, z.core.$strip>>;
|
|
6870
7331
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
6871
7332
|
id: z.ZodString;
|
|
6872
|
-
|
|
7333
|
+
assets_item_id: z.ZodString;
|
|
6873
7334
|
assets_site_id: z.ZodString;
|
|
6874
7335
|
company_id: z.ZodString;
|
|
6875
7336
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6885,7 +7346,7 @@ export declare const zGetInventoryPath: z.ZodObject<{
|
|
|
6885
7346
|
*/
|
|
6886
7347
|
export declare const zGetInventoryResponse: z.ZodObject<{
|
|
6887
7348
|
id: z.ZodString;
|
|
6888
|
-
|
|
7349
|
+
assets_item_id: z.ZodString;
|
|
6889
7350
|
assets_site_id: z.ZodString;
|
|
6890
7351
|
company_id: z.ZodString;
|
|
6891
7352
|
quantity_on_hand: z.ZodInt;
|
|
@@ -6895,6 +7356,12 @@ export declare const zGetInventoryResponse: z.ZodObject<{
|
|
|
6895
7356
|
export declare const zListItemsQuery: z.ZodObject<{
|
|
6896
7357
|
'filter[assets_product_id]': z.ZodOptional<z.ZodString>;
|
|
6897
7358
|
'filter[type]': z.ZodOptional<z.ZodString>;
|
|
7359
|
+
'filter[assets_site_id]': z.ZodOptional<z.ZodString>;
|
|
7360
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
7361
|
+
'filter[assets_category_id]': z.ZodOptional<z.ZodString>;
|
|
7362
|
+
'filter[container_item_id]': z.ZodOptional<z.ZodString>;
|
|
7363
|
+
'filter[status]': z.ZodOptional<z.ZodString>;
|
|
7364
|
+
'filter[service]': z.ZodOptional<z.ZodString>;
|
|
6898
7365
|
filter: z.ZodOptional<z.ZodString>;
|
|
6899
7366
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
6900
7367
|
}, z.core.$strip>;
|
|
@@ -6925,10 +7392,8 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
6925
7392
|
}>;
|
|
6926
7393
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6927
7394
|
status: z.ZodEnum<{
|
|
6928
|
-
maintenance: "maintenance";
|
|
6929
7395
|
available: "available";
|
|
6930
7396
|
assigned: "assigned";
|
|
6931
|
-
transit: "transit";
|
|
6932
7397
|
retired: "retired";
|
|
6933
7398
|
}>;
|
|
6934
7399
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -6936,6 +7401,15 @@ export declare const zListItemsResponse: z.ZodObject<{
|
|
|
6936
7401
|
currency: z.ZodNullable<z.ZodString>;
|
|
6937
7402
|
external_id: z.ZodNullable<z.ZodString>;
|
|
6938
7403
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7404
|
+
container: z.ZodBoolean;
|
|
7405
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7406
|
+
item_id: z.ZodString;
|
|
7407
|
+
quantity: z.ZodInt;
|
|
7408
|
+
}, z.core.$strip>>;
|
|
7409
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7410
|
+
container_item_id: z.ZodString;
|
|
7411
|
+
quantity: z.ZodInt;
|
|
7412
|
+
}, z.core.$strip>>;
|
|
6939
7413
|
images: z.ZodArray<z.ZodObject<{
|
|
6940
7414
|
id: z.ZodString;
|
|
6941
7415
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -6957,10 +7431,8 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
6957
7431
|
assets_product_id: z.ZodString;
|
|
6958
7432
|
serial_number: z.ZodString;
|
|
6959
7433
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6960
|
-
maintenance: "maintenance";
|
|
6961
7434
|
available: "available";
|
|
6962
7435
|
assigned: "assigned";
|
|
6963
|
-
transit: "transit";
|
|
6964
7436
|
retired: "retired";
|
|
6965
7437
|
}>>;
|
|
6966
7438
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -6974,6 +7446,7 @@ export declare const zCreateItemBody: z.ZodObject<{
|
|
|
6974
7446
|
}, z.core.$strip>>>;
|
|
6975
7447
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
6976
7448
|
user_id: z.ZodOptional<z.ZodString>;
|
|
7449
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
6977
7450
|
performed_by_user_id: z.ZodString;
|
|
6978
7451
|
}, z.core.$strip>;
|
|
6979
7452
|
/**
|
|
@@ -6991,10 +7464,8 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
6991
7464
|
}>;
|
|
6992
7465
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
6993
7466
|
status: z.ZodEnum<{
|
|
6994
|
-
maintenance: "maintenance";
|
|
6995
7467
|
available: "available";
|
|
6996
7468
|
assigned: "assigned";
|
|
6997
|
-
transit: "transit";
|
|
6998
7469
|
retired: "retired";
|
|
6999
7470
|
}>;
|
|
7000
7471
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7002,6 +7473,15 @@ export declare const zCreateItemResponse: z.ZodObject<{
|
|
|
7002
7473
|
currency: z.ZodNullable<z.ZodString>;
|
|
7003
7474
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7004
7475
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7476
|
+
container: z.ZodBoolean;
|
|
7477
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7478
|
+
item_id: z.ZodString;
|
|
7479
|
+
quantity: z.ZodInt;
|
|
7480
|
+
}, z.core.$strip>>;
|
|
7481
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7482
|
+
container_item_id: z.ZodString;
|
|
7483
|
+
quantity: z.ZodInt;
|
|
7484
|
+
}, z.core.$strip>>;
|
|
7005
7485
|
images: z.ZodArray<z.ZodObject<{
|
|
7006
7486
|
id: z.ZodString;
|
|
7007
7487
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7034,10 +7514,8 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
7034
7514
|
}>;
|
|
7035
7515
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7036
7516
|
status: z.ZodEnum<{
|
|
7037
|
-
maintenance: "maintenance";
|
|
7038
7517
|
available: "available";
|
|
7039
7518
|
assigned: "assigned";
|
|
7040
|
-
transit: "transit";
|
|
7041
7519
|
retired: "retired";
|
|
7042
7520
|
}>;
|
|
7043
7521
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7045,6 +7523,15 @@ export declare const zDeleteItemResponse: z.ZodObject<{
|
|
|
7045
7523
|
currency: z.ZodNullable<z.ZodString>;
|
|
7046
7524
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7047
7525
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7526
|
+
container: z.ZodBoolean;
|
|
7527
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7528
|
+
item_id: z.ZodString;
|
|
7529
|
+
quantity: z.ZodInt;
|
|
7530
|
+
}, z.core.$strip>>;
|
|
7531
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7532
|
+
container_item_id: z.ZodString;
|
|
7533
|
+
quantity: z.ZodInt;
|
|
7534
|
+
}, z.core.$strip>>;
|
|
7048
7535
|
images: z.ZodArray<z.ZodObject<{
|
|
7049
7536
|
id: z.ZodString;
|
|
7050
7537
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7077,10 +7564,8 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
7077
7564
|
}>;
|
|
7078
7565
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7079
7566
|
status: z.ZodEnum<{
|
|
7080
|
-
maintenance: "maintenance";
|
|
7081
7567
|
available: "available";
|
|
7082
7568
|
assigned: "assigned";
|
|
7083
|
-
transit: "transit";
|
|
7084
7569
|
retired: "retired";
|
|
7085
7570
|
}>;
|
|
7086
7571
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7088,6 +7573,15 @@ export declare const zGetItemResponse: z.ZodObject<{
|
|
|
7088
7573
|
currency: z.ZodNullable<z.ZodString>;
|
|
7089
7574
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7090
7575
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7576
|
+
container: z.ZodBoolean;
|
|
7577
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7578
|
+
item_id: z.ZodString;
|
|
7579
|
+
quantity: z.ZodInt;
|
|
7580
|
+
}, z.core.$strip>>;
|
|
7581
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7582
|
+
container_item_id: z.ZodString;
|
|
7583
|
+
quantity: z.ZodInt;
|
|
7584
|
+
}, z.core.$strip>>;
|
|
7091
7585
|
images: z.ZodArray<z.ZodObject<{
|
|
7092
7586
|
id: z.ZodString;
|
|
7093
7587
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7108,10 +7602,8 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
7108
7602
|
assets_product_id: z.ZodString;
|
|
7109
7603
|
serial_number: z.ZodString;
|
|
7110
7604
|
status: z.ZodOptional<z.ZodEnum<{
|
|
7111
|
-
maintenance: "maintenance";
|
|
7112
7605
|
available: "available";
|
|
7113
7606
|
assigned: "assigned";
|
|
7114
|
-
transit: "transit";
|
|
7115
7607
|
retired: "retired";
|
|
7116
7608
|
}>>;
|
|
7117
7609
|
purchase_date: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -7125,6 +7617,7 @@ export declare const zUpdateItemBody: z.ZodObject<{
|
|
|
7125
7617
|
}, z.core.$strip>>>;
|
|
7126
7618
|
assets_site_id: z.ZodOptional<z.ZodString>;
|
|
7127
7619
|
user_id: z.ZodOptional<z.ZodString>;
|
|
7620
|
+
container_item_id: z.ZodOptional<z.ZodString>;
|
|
7128
7621
|
performed_by_user_id: z.ZodString;
|
|
7129
7622
|
}, z.core.$strip>;
|
|
7130
7623
|
export declare const zUpdateItemPath: z.ZodObject<{
|
|
@@ -7145,10 +7638,8 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
7145
7638
|
}>;
|
|
7146
7639
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7147
7640
|
status: z.ZodEnum<{
|
|
7148
|
-
maintenance: "maintenance";
|
|
7149
7641
|
available: "available";
|
|
7150
7642
|
assigned: "assigned";
|
|
7151
|
-
transit: "transit";
|
|
7152
7643
|
retired: "retired";
|
|
7153
7644
|
}>;
|
|
7154
7645
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7156,6 +7647,15 @@ export declare const zUpdateItemResponse: z.ZodObject<{
|
|
|
7156
7647
|
currency: z.ZodNullable<z.ZodString>;
|
|
7157
7648
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7158
7649
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7650
|
+
container: z.ZodBoolean;
|
|
7651
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7652
|
+
item_id: z.ZodString;
|
|
7653
|
+
quantity: z.ZodInt;
|
|
7654
|
+
}, z.core.$strip>>;
|
|
7655
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7656
|
+
container_item_id: z.ZodString;
|
|
7657
|
+
quantity: z.ZodInt;
|
|
7658
|
+
}, z.core.$strip>>;
|
|
7159
7659
|
images: z.ZodArray<z.ZodObject<{
|
|
7160
7660
|
id: z.ZodString;
|
|
7161
7661
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7188,10 +7688,8 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
7188
7688
|
}>;
|
|
7189
7689
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7190
7690
|
status: z.ZodEnum<{
|
|
7191
|
-
maintenance: "maintenance";
|
|
7192
7691
|
available: "available";
|
|
7193
7692
|
assigned: "assigned";
|
|
7194
|
-
transit: "transit";
|
|
7195
7693
|
retired: "retired";
|
|
7196
7694
|
}>;
|
|
7197
7695
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7199,6 +7697,15 @@ export declare const zUnretireItemResponse: z.ZodObject<{
|
|
|
7199
7697
|
currency: z.ZodNullable<z.ZodString>;
|
|
7200
7698
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7201
7699
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7700
|
+
container: z.ZodBoolean;
|
|
7701
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7702
|
+
item_id: z.ZodString;
|
|
7703
|
+
quantity: z.ZodInt;
|
|
7704
|
+
}, z.core.$strip>>;
|
|
7705
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7706
|
+
container_item_id: z.ZodString;
|
|
7707
|
+
quantity: z.ZodInt;
|
|
7708
|
+
}, z.core.$strip>>;
|
|
7202
7709
|
images: z.ZodArray<z.ZodObject<{
|
|
7203
7710
|
id: z.ZodString;
|
|
7204
7711
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7234,10 +7741,8 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
7234
7741
|
}>;
|
|
7235
7742
|
serial_number: z.ZodNullable<z.ZodString>;
|
|
7236
7743
|
status: z.ZodEnum<{
|
|
7237
|
-
maintenance: "maintenance";
|
|
7238
7744
|
available: "available";
|
|
7239
7745
|
assigned: "assigned";
|
|
7240
|
-
transit: "transit";
|
|
7241
7746
|
retired: "retired";
|
|
7242
7747
|
}>;
|
|
7243
7748
|
purchase_date: z.ZodNullable<z.ZodISODateTime>;
|
|
@@ -7245,6 +7750,15 @@ export declare const zRetireItemResponse: z.ZodObject<{
|
|
|
7245
7750
|
currency: z.ZodNullable<z.ZodString>;
|
|
7246
7751
|
external_id: z.ZodNullable<z.ZodString>;
|
|
7247
7752
|
external_system_url: z.ZodNullable<z.ZodString>;
|
|
7753
|
+
container: z.ZodBoolean;
|
|
7754
|
+
contents: z.ZodArray<z.ZodObject<{
|
|
7755
|
+
item_id: z.ZodString;
|
|
7756
|
+
quantity: z.ZodInt;
|
|
7757
|
+
}, z.core.$strip>>;
|
|
7758
|
+
containers: z.ZodArray<z.ZodObject<{
|
|
7759
|
+
container_item_id: z.ZodString;
|
|
7760
|
+
quantity: z.ZodInt;
|
|
7761
|
+
}, z.core.$strip>>;
|
|
7248
7762
|
images: z.ZodArray<z.ZodObject<{
|
|
7249
7763
|
id: z.ZodString;
|
|
7250
7764
|
file: z.ZodNullable<z.ZodObject<{
|
|
@@ -7291,7 +7805,7 @@ export declare const zListServiceSchedulesResponse: z.ZodObject<{
|
|
|
7291
7805
|
}, z.core.$strip>>;
|
|
7292
7806
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7293
7807
|
id: z.ZodString;
|
|
7294
|
-
|
|
7808
|
+
assets_item_id: z.ZodString;
|
|
7295
7809
|
company_id: z.ZodString;
|
|
7296
7810
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7297
7811
|
kind: z.ZodEnum<{
|
|
@@ -7336,7 +7850,7 @@ export declare const zCreateServiceSchedulePath: z.ZodObject<{
|
|
|
7336
7850
|
*/
|
|
7337
7851
|
export declare const zCreateServiceScheduleResponse: z.ZodObject<{
|
|
7338
7852
|
id: z.ZodString;
|
|
7339
|
-
|
|
7853
|
+
assets_item_id: z.ZodString;
|
|
7340
7854
|
company_id: z.ZodString;
|
|
7341
7855
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7342
7856
|
kind: z.ZodEnum<{
|
|
@@ -7365,7 +7879,7 @@ export declare const zDeleteServiceSchedulePath: z.ZodObject<{
|
|
|
7365
7879
|
*/
|
|
7366
7880
|
export declare const zDeleteServiceScheduleResponse: z.ZodObject<{
|
|
7367
7881
|
id: z.ZodString;
|
|
7368
|
-
|
|
7882
|
+
assets_item_id: z.ZodString;
|
|
7369
7883
|
company_id: z.ZodString;
|
|
7370
7884
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7371
7885
|
kind: z.ZodEnum<{
|
|
@@ -7394,7 +7908,7 @@ export declare const zGetServiceSchedulePath: z.ZodObject<{
|
|
|
7394
7908
|
*/
|
|
7395
7909
|
export declare const zGetServiceScheduleResponse: z.ZodObject<{
|
|
7396
7910
|
id: z.ZodString;
|
|
7397
|
-
|
|
7911
|
+
assets_item_id: z.ZodString;
|
|
7398
7912
|
company_id: z.ZodString;
|
|
7399
7913
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7400
7914
|
kind: z.ZodEnum<{
|
|
@@ -7439,7 +7953,7 @@ export declare const zUpdateServiceSchedulePath: z.ZodObject<{
|
|
|
7439
7953
|
*/
|
|
7440
7954
|
export declare const zUpdateServiceScheduleResponse: z.ZodObject<{
|
|
7441
7955
|
id: z.ZodString;
|
|
7442
|
-
|
|
7956
|
+
assets_item_id: z.ZodString;
|
|
7443
7957
|
company_id: z.ZodString;
|
|
7444
7958
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
7445
7959
|
kind: z.ZodEnum<{
|
|
@@ -7491,7 +8005,7 @@ export declare const zListServiceEventsResponse: z.ZodObject<{
|
|
|
7491
8005
|
}, z.core.$strip>>;
|
|
7492
8006
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7493
8007
|
id: z.ZodString;
|
|
7494
|
-
|
|
8008
|
+
assets_item_id: z.ZodString;
|
|
7495
8009
|
company_id: z.ZodString;
|
|
7496
8010
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7497
8011
|
performed_by_user_id: z.ZodString;
|
|
@@ -7541,7 +8055,7 @@ export declare const zCreateServiceEventPath: z.ZodObject<{
|
|
|
7541
8055
|
*/
|
|
7542
8056
|
export declare const zCreateServiceEventResponse: z.ZodObject<{
|
|
7543
8057
|
id: z.ZodString;
|
|
7544
|
-
|
|
8058
|
+
assets_item_id: z.ZodString;
|
|
7545
8059
|
company_id: z.ZodString;
|
|
7546
8060
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7547
8061
|
performed_by_user_id: z.ZodString;
|
|
@@ -7575,7 +8089,7 @@ export declare const zDeleteServiceEventPath: z.ZodObject<{
|
|
|
7575
8089
|
*/
|
|
7576
8090
|
export declare const zDeleteServiceEventResponse: z.ZodObject<{
|
|
7577
8091
|
id: z.ZodString;
|
|
7578
|
-
|
|
8092
|
+
assets_item_id: z.ZodString;
|
|
7579
8093
|
company_id: z.ZodString;
|
|
7580
8094
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7581
8095
|
performed_by_user_id: z.ZodString;
|
|
@@ -7609,7 +8123,7 @@ export declare const zGetServiceEventPath: z.ZodObject<{
|
|
|
7609
8123
|
*/
|
|
7610
8124
|
export declare const zGetServiceEventResponse: z.ZodObject<{
|
|
7611
8125
|
id: z.ZodString;
|
|
7612
|
-
|
|
8126
|
+
assets_item_id: z.ZodString;
|
|
7613
8127
|
company_id: z.ZodString;
|
|
7614
8128
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7615
8129
|
performed_by_user_id: z.ZodString;
|
|
@@ -7659,7 +8173,7 @@ export declare const zUpdateServiceEventPath: z.ZodObject<{
|
|
|
7659
8173
|
*/
|
|
7660
8174
|
export declare const zUpdateServiceEventResponse: z.ZodObject<{
|
|
7661
8175
|
id: z.ZodString;
|
|
7662
|
-
|
|
8176
|
+
assets_item_id: z.ZodString;
|
|
7663
8177
|
company_id: z.ZodString;
|
|
7664
8178
|
assets_service_schedule_id: z.ZodNullable<z.ZodString>;
|
|
7665
8179
|
performed_by_user_id: z.ZodString;
|
|
@@ -7709,7 +8223,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
7709
8223
|
}, z.core.$strip>>;
|
|
7710
8224
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7711
8225
|
id: z.ZodString;
|
|
7712
|
-
|
|
8226
|
+
assets_item_id: z.ZodString;
|
|
7713
8227
|
form_definition_id: z.ZodString;
|
|
7714
8228
|
name: z.ZodString;
|
|
7715
8229
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7734,7 +8248,7 @@ export declare const zListFormAssignmentTasksResponse: z.ZodObject<{
|
|
|
7734
8248
|
}, z.core.$strip>;
|
|
7735
8249
|
export declare const zCreateItemFormAssignmentTaskBody: z.ZodObject<{
|
|
7736
8250
|
form_definition_id: z.ZodString;
|
|
7737
|
-
|
|
8251
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7738
8252
|
task_attributes: z.ZodObject<{
|
|
7739
8253
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7740
8254
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7766,7 +8280,7 @@ export declare const zCreateItemFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7766
8280
|
*/
|
|
7767
8281
|
export declare const zCreateItemFormAssignmentTaskResponse: z.ZodObject<{
|
|
7768
8282
|
id: z.ZodString;
|
|
7769
|
-
|
|
8283
|
+
assets_item_id: z.ZodString;
|
|
7770
8284
|
form_definition_id: z.ZodString;
|
|
7771
8285
|
name: z.ZodString;
|
|
7772
8286
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7797,7 +8311,7 @@ export declare const zGetFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7797
8311
|
*/
|
|
7798
8312
|
export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
7799
8313
|
id: z.ZodString;
|
|
7800
|
-
|
|
8314
|
+
assets_item_id: z.ZodString;
|
|
7801
8315
|
form_definition_id: z.ZodString;
|
|
7802
8316
|
name: z.ZodString;
|
|
7803
8317
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7821,7 +8335,7 @@ export declare const zGetFormAssignmentTaskResponse: z.ZodObject<{
|
|
|
7821
8335
|
}, z.core.$strip>;
|
|
7822
8336
|
export declare const zUpdateFormAssignmentTaskBody: z.ZodObject<{
|
|
7823
8337
|
form_definition_id: z.ZodString;
|
|
7824
|
-
|
|
8338
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
7825
8339
|
task_attributes: z.ZodObject<{
|
|
7826
8340
|
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
7827
8341
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -7854,7 +8368,7 @@ export declare const zUpdateFormAssignmentTaskPath: z.ZodObject<{
|
|
|
7854
8368
|
*/
|
|
7855
8369
|
export declare const zUpdateFormAssignmentTaskResponse: z.ZodObject<{
|
|
7856
8370
|
id: z.ZodString;
|
|
7857
|
-
|
|
8371
|
+
assets_item_id: z.ZodString;
|
|
7858
8372
|
form_definition_id: z.ZodString;
|
|
7859
8373
|
name: z.ZodString;
|
|
7860
8374
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7903,7 +8417,7 @@ export declare const zListDocumentsResponse: z.ZodObject<{
|
|
|
7903
8417
|
}, z.core.$strip>>;
|
|
7904
8418
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
7905
8419
|
id: z.ZodString;
|
|
7906
|
-
|
|
8420
|
+
assets_item_id: z.ZodString;
|
|
7907
8421
|
name: z.ZodString;
|
|
7908
8422
|
filename: z.ZodNullable<z.ZodString>;
|
|
7909
8423
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7932,7 +8446,7 @@ export declare const zCreateDocumentPath: z.ZodObject<{
|
|
|
7932
8446
|
*/
|
|
7933
8447
|
export declare const zCreateDocumentResponse: z.ZodObject<{
|
|
7934
8448
|
id: z.ZodString;
|
|
7935
|
-
|
|
8449
|
+
assets_item_id: z.ZodString;
|
|
7936
8450
|
name: z.ZodString;
|
|
7937
8451
|
filename: z.ZodNullable<z.ZodString>;
|
|
7938
8452
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7956,7 +8470,7 @@ export declare const zDeleteDocumentPath: z.ZodObject<{
|
|
|
7956
8470
|
*/
|
|
7957
8471
|
export declare const zDeleteDocumentResponse: z.ZodObject<{
|
|
7958
8472
|
id: z.ZodString;
|
|
7959
|
-
|
|
8473
|
+
assets_item_id: z.ZodString;
|
|
7960
8474
|
name: z.ZodString;
|
|
7961
8475
|
filename: z.ZodNullable<z.ZodString>;
|
|
7962
8476
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -7980,7 +8494,7 @@ export declare const zGetDocumentPath: z.ZodObject<{
|
|
|
7980
8494
|
*/
|
|
7981
8495
|
export declare const zGetDocumentResponse: z.ZodObject<{
|
|
7982
8496
|
id: z.ZodString;
|
|
7983
|
-
|
|
8497
|
+
assets_item_id: z.ZodString;
|
|
7984
8498
|
name: z.ZodString;
|
|
7985
8499
|
filename: z.ZodNullable<z.ZodString>;
|
|
7986
8500
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -8009,7 +8523,7 @@ export declare const zUpdateDocumentPath: z.ZodObject<{
|
|
|
8009
8523
|
*/
|
|
8010
8524
|
export declare const zUpdateDocumentResponse: z.ZodObject<{
|
|
8011
8525
|
id: z.ZodString;
|
|
8012
|
-
|
|
8526
|
+
assets_item_id: z.ZodString;
|
|
8013
8527
|
name: z.ZodString;
|
|
8014
8528
|
filename: z.ZodNullable<z.ZodString>;
|
|
8015
8529
|
description: z.ZodNullable<z.ZodString>;
|
|
@@ -8056,7 +8570,7 @@ export declare const zListVersionsResponse: z.ZodObject<{
|
|
|
8056
8570
|
}, z.core.$strip>>>;
|
|
8057
8571
|
}, z.core.$strip>;
|
|
8058
8572
|
export declare const zListProductsQuery: z.ZodObject<{
|
|
8059
|
-
'filter[
|
|
8573
|
+
'filter[assets_category_id]': z.ZodOptional<z.ZodString>;
|
|
8060
8574
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8061
8575
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
8062
8576
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -8096,12 +8610,13 @@ export declare const zListProductsResponse: z.ZodObject<{
|
|
|
8096
8610
|
pair: "pair";
|
|
8097
8611
|
pack: "pack";
|
|
8098
8612
|
}>;
|
|
8613
|
+
container: z.ZodBoolean;
|
|
8099
8614
|
serialized: z.ZodBoolean;
|
|
8100
|
-
|
|
8615
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8101
8616
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8102
|
-
|
|
8617
|
+
assets_attribute_id: z.ZodString;
|
|
8103
8618
|
value: z.ZodNullable<z.ZodString>;
|
|
8104
|
-
|
|
8619
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8105
8620
|
}, z.core.$strip>>;
|
|
8106
8621
|
images: z.ZodArray<z.ZodObject<{
|
|
8107
8622
|
id: z.ZodString;
|
|
@@ -8125,7 +8640,7 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
8125
8640
|
}>;
|
|
8126
8641
|
name: z.ZodString;
|
|
8127
8642
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8128
|
-
|
|
8643
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8129
8644
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8130
8645
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8131
8646
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -8136,10 +8651,11 @@ export declare const zCreateProductBody: z.ZodObject<{
|
|
|
8136
8651
|
pair: "pair";
|
|
8137
8652
|
pack: "pack";
|
|
8138
8653
|
}>>;
|
|
8654
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
8139
8655
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8140
|
-
|
|
8656
|
+
assets_attribute_id: z.ZodString;
|
|
8141
8657
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8142
|
-
|
|
8658
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8143
8659
|
}, z.core.$strip>>>;
|
|
8144
8660
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8145
8661
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8165,12 +8681,13 @@ export declare const zCreateProductResponse: z.ZodObject<{
|
|
|
8165
8681
|
pair: "pair";
|
|
8166
8682
|
pack: "pack";
|
|
8167
8683
|
}>;
|
|
8684
|
+
container: z.ZodBoolean;
|
|
8168
8685
|
serialized: z.ZodBoolean;
|
|
8169
|
-
|
|
8686
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8170
8687
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8171
|
-
|
|
8688
|
+
assets_attribute_id: z.ZodString;
|
|
8172
8689
|
value: z.ZodNullable<z.ZodString>;
|
|
8173
|
-
|
|
8690
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8174
8691
|
}, z.core.$strip>>;
|
|
8175
8692
|
images: z.ZodArray<z.ZodObject<{
|
|
8176
8693
|
id: z.ZodString;
|
|
@@ -8206,12 +8723,13 @@ export declare const zDeleteProductResponse: z.ZodObject<{
|
|
|
8206
8723
|
pair: "pair";
|
|
8207
8724
|
pack: "pack";
|
|
8208
8725
|
}>;
|
|
8726
|
+
container: z.ZodBoolean;
|
|
8209
8727
|
serialized: z.ZodBoolean;
|
|
8210
|
-
|
|
8728
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8211
8729
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8212
|
-
|
|
8730
|
+
assets_attribute_id: z.ZodString;
|
|
8213
8731
|
value: z.ZodNullable<z.ZodString>;
|
|
8214
|
-
|
|
8732
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8215
8733
|
}, z.core.$strip>>;
|
|
8216
8734
|
images: z.ZodArray<z.ZodObject<{
|
|
8217
8735
|
id: z.ZodString;
|
|
@@ -8247,12 +8765,13 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
8247
8765
|
pair: "pair";
|
|
8248
8766
|
pack: "pack";
|
|
8249
8767
|
}>;
|
|
8768
|
+
container: z.ZodBoolean;
|
|
8250
8769
|
serialized: z.ZodBoolean;
|
|
8251
|
-
|
|
8770
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8252
8771
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8253
|
-
|
|
8772
|
+
assets_attribute_id: z.ZodString;
|
|
8254
8773
|
value: z.ZodNullable<z.ZodString>;
|
|
8255
|
-
|
|
8774
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8256
8775
|
}, z.core.$strip>>;
|
|
8257
8776
|
images: z.ZodArray<z.ZodObject<{
|
|
8258
8777
|
id: z.ZodString;
|
|
@@ -8271,7 +8790,7 @@ export declare const zGetProductResponse: z.ZodObject<{
|
|
|
8271
8790
|
export declare const zUpdateProductBody: z.ZodObject<{
|
|
8272
8791
|
name: z.ZodOptional<z.ZodString>;
|
|
8273
8792
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8274
|
-
|
|
8793
|
+
assets_category_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8275
8794
|
upc: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8276
8795
|
internal_sku: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8277
8796
|
default_minimum_quantity: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
@@ -8282,10 +8801,11 @@ export declare const zUpdateProductBody: z.ZodObject<{
|
|
|
8282
8801
|
pair: "pair";
|
|
8283
8802
|
pack: "pack";
|
|
8284
8803
|
}>>;
|
|
8804
|
+
container: z.ZodOptional<z.ZodBoolean>;
|
|
8285
8805
|
attribute_values: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8286
|
-
|
|
8806
|
+
assets_attribute_id: z.ZodString;
|
|
8287
8807
|
value: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8288
|
-
|
|
8808
|
+
assets_attribute_option_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
8289
8809
|
}, z.core.$strip>>>;
|
|
8290
8810
|
images_attributes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
8291
8811
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -8313,12 +8833,13 @@ export declare const zUpdateProductResponse: z.ZodObject<{
|
|
|
8313
8833
|
pair: "pair";
|
|
8314
8834
|
pack: "pack";
|
|
8315
8835
|
}>;
|
|
8836
|
+
container: z.ZodBoolean;
|
|
8316
8837
|
serialized: z.ZodBoolean;
|
|
8317
|
-
|
|
8838
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8318
8839
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8319
|
-
|
|
8840
|
+
assets_attribute_id: z.ZodString;
|
|
8320
8841
|
value: z.ZodNullable<z.ZodString>;
|
|
8321
|
-
|
|
8842
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8322
8843
|
}, z.core.$strip>>;
|
|
8323
8844
|
images: z.ZodArray<z.ZodObject<{
|
|
8324
8845
|
id: z.ZodString;
|
|
@@ -8359,12 +8880,13 @@ export declare const zAdjustProductInventoryResponse: z.ZodObject<{
|
|
|
8359
8880
|
pair: "pair";
|
|
8360
8881
|
pack: "pack";
|
|
8361
8882
|
}>;
|
|
8883
|
+
container: z.ZodBoolean;
|
|
8362
8884
|
serialized: z.ZodBoolean;
|
|
8363
|
-
|
|
8885
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8364
8886
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8365
|
-
|
|
8887
|
+
assets_attribute_id: z.ZodString;
|
|
8366
8888
|
value: z.ZodNullable<z.ZodString>;
|
|
8367
|
-
|
|
8889
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8368
8890
|
}, z.core.$strip>>;
|
|
8369
8891
|
images: z.ZodArray<z.ZodObject<{
|
|
8370
8892
|
id: z.ZodString;
|
|
@@ -8405,12 +8927,13 @@ export declare const zRestockProductResponse: z.ZodObject<{
|
|
|
8405
8927
|
pair: "pair";
|
|
8406
8928
|
pack: "pack";
|
|
8407
8929
|
}>;
|
|
8930
|
+
container: z.ZodBoolean;
|
|
8408
8931
|
serialized: z.ZodBoolean;
|
|
8409
|
-
|
|
8932
|
+
assets_category_id: z.ZodNullable<z.ZodString>;
|
|
8410
8933
|
attributes: z.ZodArray<z.ZodObject<{
|
|
8411
|
-
|
|
8934
|
+
assets_attribute_id: z.ZodString;
|
|
8412
8935
|
value: z.ZodNullable<z.ZodString>;
|
|
8413
|
-
|
|
8936
|
+
assets_attribute_option_id: z.ZodNullable<z.ZodString>;
|
|
8414
8937
|
}, z.core.$strip>>;
|
|
8415
8938
|
images: z.ZodArray<z.ZodObject<{
|
|
8416
8939
|
id: z.ZodString;
|
|
@@ -8606,7 +9129,7 @@ export declare const zUpdateServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8606
9129
|
updated_at: z.ZodISODateTime;
|
|
8607
9130
|
}, z.core.$strip>;
|
|
8608
9131
|
export declare const zSeedServiceScheduleTemplateBody: z.ZodObject<{
|
|
8609
|
-
|
|
9132
|
+
assets_item_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
8610
9133
|
performed_by_user_id: z.ZodString;
|
|
8611
9134
|
}, z.core.$strip>;
|
|
8612
9135
|
export declare const zSeedServiceScheduleTemplatePath: z.ZodObject<{
|
|
@@ -8620,7 +9143,7 @@ export declare const zSeedServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8620
9143
|
count: z.ZodInt;
|
|
8621
9144
|
data: z.ZodArray<z.ZodObject<{
|
|
8622
9145
|
id: z.ZodString;
|
|
8623
|
-
|
|
9146
|
+
assets_item_id: z.ZodString;
|
|
8624
9147
|
company_id: z.ZodString;
|
|
8625
9148
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
8626
9149
|
kind: z.ZodEnum<{
|
|
@@ -8656,7 +9179,7 @@ export declare const zSyncServiceScheduleTemplateResponse: z.ZodObject<{
|
|
|
8656
9179
|
count: z.ZodInt;
|
|
8657
9180
|
data: z.ZodArray<z.ZodObject<{
|
|
8658
9181
|
id: z.ZodString;
|
|
8659
|
-
|
|
9182
|
+
assets_item_id: z.ZodString;
|
|
8660
9183
|
company_id: z.ZodString;
|
|
8661
9184
|
assets_service_schedule_template_id: z.ZodNullable<z.ZodString>;
|
|
8662
9185
|
kind: z.ZodEnum<{
|
|
@@ -8893,13 +9416,15 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
8893
9416
|
}>;
|
|
8894
9417
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8895
9418
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9419
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8896
9420
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8897
9421
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9422
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8898
9423
|
initiated_by_user_id: z.ZodString;
|
|
8899
9424
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8900
9425
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8901
9426
|
id: z.ZodString;
|
|
8902
|
-
|
|
9427
|
+
assets_item_id: z.ZodString;
|
|
8903
9428
|
quantity: z.ZodInt;
|
|
8904
9429
|
}, z.core.$strip>>;
|
|
8905
9430
|
created_at: z.ZodISODateTime;
|
|
@@ -8909,18 +9434,17 @@ export declare const zListTransfersResponse: z.ZodObject<{
|
|
|
8909
9434
|
export declare const zCreateTransferBody: z.ZodObject<{
|
|
8910
9435
|
from_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
8911
9436
|
from_user_id: z.ZodOptional<z.ZodString>;
|
|
9437
|
+
from_container_item_id: z.ZodOptional<z.ZodString>;
|
|
8912
9438
|
to_assets_site_id: z.ZodOptional<z.ZodString>;
|
|
8913
9439
|
to_user_id: z.ZodOptional<z.ZodString>;
|
|
9440
|
+
to_container_item_id: z.ZodOptional<z.ZodString>;
|
|
8914
9441
|
performed_by_user_id: z.ZodString;
|
|
8915
9442
|
line_items: z.ZodArray<z.ZodObject<{
|
|
8916
|
-
|
|
9443
|
+
assets_item_id: z.ZodString;
|
|
8917
9444
|
quantity: z.ZodInt;
|
|
8918
9445
|
}, z.core.$strip>>;
|
|
8919
9446
|
}, z.core.$strip>;
|
|
8920
|
-
|
|
8921
|
-
* Created
|
|
8922
|
-
*/
|
|
8923
|
-
export declare const zCreateTransferResponse: z.ZodObject<{
|
|
9447
|
+
export declare const zCreateTransferResponse: z.ZodUnion<readonly [z.ZodObject<{
|
|
8924
9448
|
id: z.ZodString;
|
|
8925
9449
|
company_id: z.ZodString;
|
|
8926
9450
|
status: z.ZodEnum<{
|
|
@@ -8931,18 +9455,20 @@ export declare const zCreateTransferResponse: z.ZodObject<{
|
|
|
8931
9455
|
}>;
|
|
8932
9456
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8933
9457
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9458
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8934
9459
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8935
9460
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9461
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8936
9462
|
initiated_by_user_id: z.ZodString;
|
|
8937
9463
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8938
9464
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8939
9465
|
id: z.ZodString;
|
|
8940
|
-
|
|
9466
|
+
assets_item_id: z.ZodString;
|
|
8941
9467
|
quantity: z.ZodInt;
|
|
8942
9468
|
}, z.core.$strip>>;
|
|
8943
9469
|
created_at: z.ZodISODateTime;
|
|
8944
9470
|
updated_at: z.ZodISODateTime;
|
|
8945
|
-
}, z.core.$strip>;
|
|
9471
|
+
}, z.core.$strip>, z.ZodVoid]>;
|
|
8946
9472
|
export declare const zGetTransferPath: z.ZodObject<{
|
|
8947
9473
|
id: z.ZodString;
|
|
8948
9474
|
}, z.core.$strip>;
|
|
@@ -8960,13 +9486,15 @@ export declare const zGetTransferResponse: z.ZodObject<{
|
|
|
8960
9486
|
}>;
|
|
8961
9487
|
from_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8962
9488
|
from_user_id: z.ZodNullable<z.ZodString>;
|
|
9489
|
+
from_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8963
9490
|
to_assets_site_id: z.ZodNullable<z.ZodString>;
|
|
8964
9491
|
to_user_id: z.ZodNullable<z.ZodString>;
|
|
9492
|
+
to_container_item_id: z.ZodNullable<z.ZodString>;
|
|
8965
9493
|
initiated_by_user_id: z.ZodString;
|
|
8966
9494
|
completed_at: z.ZodNullable<z.ZodISODateTime>;
|
|
8967
9495
|
transfer_lines: z.ZodArray<z.ZodObject<{
|
|
8968
9496
|
id: z.ZodString;
|
|
8969
|
-
|
|
9497
|
+
assets_item_id: z.ZodString;
|
|
8970
9498
|
quantity: z.ZodInt;
|
|
8971
9499
|
}, z.core.$strip>>;
|
|
8972
9500
|
created_at: z.ZodISODateTime;
|
|
@@ -9205,7 +9733,7 @@ export declare const zListFeaturesResponse: z.ZodObject<{
|
|
|
9205
9733
|
ext_source: z.ZodString;
|
|
9206
9734
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
9207
9735
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
9208
|
-
|
|
9736
|
+
scoped_to_user: z.ZodBoolean;
|
|
9209
9737
|
address_id: z.ZodNullable<z.ZodString>;
|
|
9210
9738
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9211
9739
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9330,7 +9858,7 @@ export declare const zGetFeatureResponse: z.ZodObject<{
|
|
|
9330
9858
|
ext_source: z.ZodString;
|
|
9331
9859
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
9332
9860
|
created_by_company_id: z.ZodNullable<z.ZodString>;
|
|
9333
|
-
|
|
9861
|
+
scoped_to_user: z.ZodBoolean;
|
|
9334
9862
|
address_id: z.ZodNullable<z.ZodString>;
|
|
9335
9863
|
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
9336
9864
|
updated_by_user_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9603,8 +10131,8 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
9603
10131
|
id: z.ZodString;
|
|
9604
10132
|
user_id: z.ZodString;
|
|
9605
10133
|
certification_id: z.ZodString;
|
|
9606
|
-
|
|
9607
|
-
|
|
10134
|
+
received_at: z.ZodISODateTime;
|
|
10135
|
+
verified: z.ZodBoolean;
|
|
9608
10136
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9609
10137
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9610
10138
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9620,12 +10148,12 @@ export declare const zListUserCertificationsResponse: z.ZodObject<{
|
|
|
9620
10148
|
export declare const zCreateUserCertificationBody: z.ZodObject<{
|
|
9621
10149
|
user_id: z.ZodString;
|
|
9622
10150
|
certification_id: z.ZodString;
|
|
9623
|
-
|
|
10151
|
+
received_at: z.ZodISODateTime;
|
|
9624
10152
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9625
10153
|
name: z.ZodOptional<z.ZodString>;
|
|
9626
10154
|
content: z.ZodOptional<z.ZodString>;
|
|
9627
10155
|
}, z.core.$strip>>>;
|
|
9628
|
-
|
|
10156
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9629
10157
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
9630
10158
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9631
10159
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9639,8 +10167,8 @@ export declare const zCreateUserCertificationResponse: z.ZodObject<{
|
|
|
9639
10167
|
id: z.ZodString;
|
|
9640
10168
|
user_id: z.ZodString;
|
|
9641
10169
|
certification_id: z.ZodString;
|
|
9642
|
-
|
|
9643
|
-
|
|
10170
|
+
received_at: z.ZodISODateTime;
|
|
10171
|
+
verified: z.ZodBoolean;
|
|
9644
10172
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9645
10173
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9646
10174
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9662,8 +10190,8 @@ export declare const zDeleteUserCertificationResponse: z.ZodObject<{
|
|
|
9662
10190
|
id: z.ZodString;
|
|
9663
10191
|
user_id: z.ZodString;
|
|
9664
10192
|
certification_id: z.ZodString;
|
|
9665
|
-
|
|
9666
|
-
|
|
10193
|
+
received_at: z.ZodISODateTime;
|
|
10194
|
+
verified: z.ZodBoolean;
|
|
9667
10195
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9668
10196
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9669
10197
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9685,8 +10213,8 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
9685
10213
|
id: z.ZodString;
|
|
9686
10214
|
user_id: z.ZodString;
|
|
9687
10215
|
certification_id: z.ZodString;
|
|
9688
|
-
|
|
9689
|
-
|
|
10216
|
+
received_at: z.ZodISODateTime;
|
|
10217
|
+
verified: z.ZodBoolean;
|
|
9690
10218
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9691
10219
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9692
10220
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9701,12 +10229,12 @@ export declare const zGetUserCertificationResponse: z.ZodObject<{
|
|
|
9701
10229
|
export declare const zUpdateUserCertificationBody: z.ZodObject<{
|
|
9702
10230
|
user_id: z.ZodString;
|
|
9703
10231
|
certification_id: z.ZodString;
|
|
9704
|
-
|
|
10232
|
+
received_at: z.ZodISODateTime;
|
|
9705
10233
|
file: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
9706
10234
|
name: z.ZodOptional<z.ZodString>;
|
|
9707
10235
|
content: z.ZodOptional<z.ZodString>;
|
|
9708
10236
|
}, z.core.$strip>>>;
|
|
9709
|
-
|
|
10237
|
+
verified: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
9710
10238
|
expiration_date: z.ZodOptional<z.ZodNullable<z.ZodISODate>>;
|
|
9711
10239
|
credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
9712
10240
|
approved_by_user_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -9723,8 +10251,8 @@ export declare const zUpdateUserCertificationResponse: z.ZodObject<{
|
|
|
9723
10251
|
id: z.ZodString;
|
|
9724
10252
|
user_id: z.ZodString;
|
|
9725
10253
|
certification_id: z.ZodString;
|
|
9726
|
-
|
|
9727
|
-
|
|
10254
|
+
received_at: z.ZodISODateTime;
|
|
10255
|
+
verified: z.ZodBoolean;
|
|
9728
10256
|
issuer_company_id: z.ZodNullable<z.ZodString>;
|
|
9729
10257
|
expiration_date: z.ZodNullable<z.ZodISODate>;
|
|
9730
10258
|
credential_id: z.ZodNullable<z.ZodString>;
|
|
@@ -9945,14 +10473,14 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9945
10473
|
color_hex: z.ZodString;
|
|
9946
10474
|
tagline: z.ZodNullable<z.ZodString>;
|
|
9947
10475
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
9948
|
-
corporate_structure: z.ZodEnum<{
|
|
10476
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
9949
10477
|
corporation: "corporation";
|
|
9950
10478
|
llc: "llc";
|
|
9951
10479
|
partnership: "partnership";
|
|
9952
10480
|
sole_proprietorship: "sole_proprietorship";
|
|
9953
10481
|
s_corporation: "s_corporation";
|
|
9954
|
-
}
|
|
9955
|
-
employee_count_range: z.ZodEnum<{
|
|
10482
|
+
}>>;
|
|
10483
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
9956
10484
|
one_to_ten: "one_to_ten";
|
|
9957
10485
|
eleven_to_fifty: "eleven_to_fifty";
|
|
9958
10486
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -9961,8 +10489,8 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9961
10489
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
9962
10490
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
9963
10491
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
9964
|
-
}
|
|
9965
|
-
revenue_range: z.ZodEnum<{
|
|
10492
|
+
}>>;
|
|
10493
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
9966
10494
|
zero_to_one_million: "zero_to_one_million";
|
|
9967
10495
|
one_to_ten_million: "one_to_ten_million";
|
|
9968
10496
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -9973,9 +10501,13 @@ export declare const zListCompaniesResponse: z.ZodObject<{
|
|
|
9973
10501
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
9974
10502
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
9975
10503
|
ten_billion_plus: "ten_billion_plus";
|
|
9976
|
-
}
|
|
10504
|
+
}>>;
|
|
9977
10505
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
9978
10506
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10507
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
10508
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
10509
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
10510
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
9979
10511
|
created_at: z.ZodISODateTime;
|
|
9980
10512
|
updated_at: z.ZodISODateTime;
|
|
9981
10513
|
}, z.core.$strip>>>;
|
|
@@ -9986,7 +10518,162 @@ export declare const zGetCompanyPath: z.ZodObject<{
|
|
|
9986
10518
|
/**
|
|
9987
10519
|
* Success
|
|
9988
10520
|
*/
|
|
9989
|
-
export declare const zGetCompanyResponse: z.ZodObject<{
|
|
10521
|
+
export declare const zGetCompanyResponse: z.ZodObject<{
|
|
10522
|
+
id: z.ZodString;
|
|
10523
|
+
name: z.ZodString;
|
|
10524
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10525
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10526
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10527
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10528
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10529
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10530
|
+
color_hex: z.ZodString;
|
|
10531
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10532
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10533
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10534
|
+
corporation: "corporation";
|
|
10535
|
+
llc: "llc";
|
|
10536
|
+
partnership: "partnership";
|
|
10537
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10538
|
+
s_corporation: "s_corporation";
|
|
10539
|
+
}>>;
|
|
10540
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10541
|
+
one_to_ten: "one_to_ten";
|
|
10542
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10543
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10544
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10545
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10546
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10547
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10548
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10549
|
+
}>>;
|
|
10550
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10551
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10552
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10553
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10554
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10555
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10556
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10557
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10558
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10559
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10560
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10561
|
+
}>>;
|
|
10562
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
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>;
|
|
10568
|
+
created_at: z.ZodISODateTime;
|
|
10569
|
+
updated_at: z.ZodISODateTime;
|
|
10570
|
+
}, z.core.$strip>;
|
|
10571
|
+
export declare const zUpdateCompanyProfileBody: z.ZodIntersection<z.ZodUnion<readonly [z.ZodObject<{
|
|
10572
|
+
name: z.ZodString;
|
|
10573
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10574
|
+
legal_name: z.ZodNullable<z.ZodString>;
|
|
10575
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10576
|
+
description: z.ZodNullable<z.ZodString>;
|
|
10577
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10578
|
+
address: z.ZodNullable<z.ZodString>;
|
|
10579
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10580
|
+
website: z.ZodNullable<z.ZodString>;
|
|
10581
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10582
|
+
phone_number: z.ZodNullable<z.ZodString>;
|
|
10583
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10584
|
+
email: z.ZodNullable<z.ZodString>;
|
|
10585
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10586
|
+
color_hex: z.ZodString;
|
|
10587
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10588
|
+
tagline: z.ZodNullable<z.ZodString>;
|
|
10589
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10590
|
+
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10591
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10592
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10593
|
+
corporation: "corporation";
|
|
10594
|
+
llc: "llc";
|
|
10595
|
+
partnership: "partnership";
|
|
10596
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10597
|
+
s_corporation: "s_corporation";
|
|
10598
|
+
}>>;
|
|
10599
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10600
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10601
|
+
one_to_ten: "one_to_ten";
|
|
10602
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10603
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10604
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10605
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10606
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10607
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10608
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10609
|
+
}>>;
|
|
10610
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10611
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10612
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10613
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10614
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10615
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10616
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10617
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10618
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10619
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10620
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10621
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10622
|
+
}>>;
|
|
10623
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10624
|
+
naics_code: z.ZodNullable<z.ZodString>;
|
|
10625
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
10626
|
+
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10627
|
+
}, z.core.$strip>]>, z.ZodObject<{
|
|
10628
|
+
name: z.ZodOptional<z.ZodString>;
|
|
10629
|
+
legal_name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10630
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10631
|
+
address: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10632
|
+
website: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10633
|
+
phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10634
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10635
|
+
color_hex: z.ZodOptional<z.ZodString>;
|
|
10636
|
+
tagline: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10637
|
+
founding_year: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
10638
|
+
corporate_structure: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10639
|
+
corporation: "corporation";
|
|
10640
|
+
llc: "llc";
|
|
10641
|
+
partnership: "partnership";
|
|
10642
|
+
sole_proprietorship: "sole_proprietorship";
|
|
10643
|
+
s_corporation: "s_corporation";
|
|
10644
|
+
}>>>;
|
|
10645
|
+
employee_count_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10646
|
+
one_to_ten: "one_to_ten";
|
|
10647
|
+
eleven_to_fifty: "eleven_to_fifty";
|
|
10648
|
+
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
10649
|
+
two_hundred_one_to_five_hundred: "two_hundred_one_to_five_hundred";
|
|
10650
|
+
five_hundred_one_to_one_thousand: "five_hundred_one_to_one_thousand";
|
|
10651
|
+
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10652
|
+
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10653
|
+
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10654
|
+
}>>>;
|
|
10655
|
+
revenue_range: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
|
|
10656
|
+
zero_to_one_million: "zero_to_one_million";
|
|
10657
|
+
one_to_ten_million: "one_to_ten_million";
|
|
10658
|
+
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
10659
|
+
twenty_five_to_fifty_million: "twenty_five_to_fifty_million";
|
|
10660
|
+
fifty_to_one_hundred_million: "fifty_to_one_hundred_million";
|
|
10661
|
+
one_hundred_to_two_fifty_million: "one_hundred_to_two_fifty_million";
|
|
10662
|
+
two_fifty_to_five_hundred_million: "two_fifty_to_five_hundred_million";
|
|
10663
|
+
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10664
|
+
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10665
|
+
ten_billion_plus: "ten_billion_plus";
|
|
10666
|
+
}>>>;
|
|
10667
|
+
naics_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10668
|
+
linkedin_url: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
10669
|
+
}, z.core.$strip>>;
|
|
10670
|
+
export declare const zUpdateCompanyProfilePath: z.ZodObject<{
|
|
10671
|
+
id: z.ZodString;
|
|
10672
|
+
}, z.core.$strip>;
|
|
10673
|
+
/**
|
|
10674
|
+
* Success
|
|
10675
|
+
*/
|
|
10676
|
+
export declare const zUpdateCompanyProfileResponse: z.ZodObject<{
|
|
9990
10677
|
id: z.ZodString;
|
|
9991
10678
|
name: z.ZodString;
|
|
9992
10679
|
legal_name: z.ZodNullable<z.ZodString>;
|
|
@@ -9998,14 +10685,14 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
9998
10685
|
color_hex: z.ZodString;
|
|
9999
10686
|
tagline: z.ZodNullable<z.ZodString>;
|
|
10000
10687
|
founding_year: z.ZodNullable<z.ZodInt>;
|
|
10001
|
-
corporate_structure: z.ZodEnum<{
|
|
10688
|
+
corporate_structure: z.ZodNullable<z.ZodEnum<{
|
|
10002
10689
|
corporation: "corporation";
|
|
10003
10690
|
llc: "llc";
|
|
10004
10691
|
partnership: "partnership";
|
|
10005
10692
|
sole_proprietorship: "sole_proprietorship";
|
|
10006
10693
|
s_corporation: "s_corporation";
|
|
10007
|
-
}
|
|
10008
|
-
employee_count_range: z.ZodEnum<{
|
|
10694
|
+
}>>;
|
|
10695
|
+
employee_count_range: z.ZodNullable<z.ZodEnum<{
|
|
10009
10696
|
one_to_ten: "one_to_ten";
|
|
10010
10697
|
eleven_to_fifty: "eleven_to_fifty";
|
|
10011
10698
|
fifty_one_to_two_hundred: "fifty_one_to_two_hundred";
|
|
@@ -10014,8 +10701,8 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
10014
10701
|
one_thousand_one_to_five_thousand: "one_thousand_one_to_five_thousand";
|
|
10015
10702
|
five_thousand_one_to_ten_thousand: "five_thousand_one_to_ten_thousand";
|
|
10016
10703
|
ten_thousand_one_plus: "ten_thousand_one_plus";
|
|
10017
|
-
}
|
|
10018
|
-
revenue_range: z.ZodEnum<{
|
|
10704
|
+
}>>;
|
|
10705
|
+
revenue_range: z.ZodNullable<z.ZodEnum<{
|
|
10019
10706
|
zero_to_one_million: "zero_to_one_million";
|
|
10020
10707
|
one_to_ten_million: "one_to_ten_million";
|
|
10021
10708
|
ten_to_twenty_five_million: "ten_to_twenty_five_million";
|
|
@@ -10026,9 +10713,13 @@ export declare const zGetCompanyResponse: z.ZodObject<{
|
|
|
10026
10713
|
five_hundred_to_one_billion: "five_hundred_to_one_billion";
|
|
10027
10714
|
one_billion_to_ten_billion: "one_billion_to_ten_billion";
|
|
10028
10715
|
ten_billion_plus: "ten_billion_plus";
|
|
10029
|
-
}
|
|
10716
|
+
}>>;
|
|
10030
10717
|
naics_code: z.ZodNullable<z.ZodString>;
|
|
10031
10718
|
linkedin_url: z.ZodNullable<z.ZodString>;
|
|
10719
|
+
industry: z.ZodNullable<z.ZodString>;
|
|
10720
|
+
stock_ticker: z.ZodNullable<z.ZodString>;
|
|
10721
|
+
stock_exchange: z.ZodNullable<z.ZodString>;
|
|
10722
|
+
logo_url: z.ZodNullable<z.ZodURL>;
|
|
10032
10723
|
created_at: z.ZodISODateTime;
|
|
10033
10724
|
updated_at: z.ZodISODateTime;
|
|
10034
10725
|
}, z.core.$strip>;
|
|
@@ -10044,7 +10735,7 @@ export declare const zListChecksQuery: z.ZodObject<{
|
|
|
10044
10735
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
10045
10736
|
'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
10046
10737
|
'filter[project_id]': z.ZodOptional<z.ZodString>;
|
|
10047
|
-
'filter[
|
|
10738
|
+
'filter[compliances_requirement_id]': z.ZodOptional<z.ZodString>;
|
|
10048
10739
|
'filter[time_due][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
10049
10740
|
'filter[time_due][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
10050
10741
|
filter: z.ZodOptional<z.ZodString>;
|
|
@@ -10086,12 +10777,12 @@ export declare const zListChecksResponse: z.ZodObject<{
|
|
|
10086
10777
|
not_applicable: "not_applicable";
|
|
10087
10778
|
dismissed: "dismissed";
|
|
10088
10779
|
}>;
|
|
10089
|
-
|
|
10780
|
+
compliances_requirement_id: z.ZodString;
|
|
10090
10781
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10091
10782
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10092
10783
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10093
|
-
|
|
10094
|
-
|
|
10784
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10785
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10095
10786
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10096
10787
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10097
10788
|
title: z.ZodString;
|
|
@@ -10153,12 +10844,12 @@ export declare const zGetCheckResponse: z.ZodObject<{
|
|
|
10153
10844
|
not_applicable: "not_applicable";
|
|
10154
10845
|
dismissed: "dismissed";
|
|
10155
10846
|
}>;
|
|
10156
|
-
|
|
10847
|
+
compliances_requirement_id: z.ZodString;
|
|
10157
10848
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10158
10849
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10159
10850
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10160
|
-
|
|
10161
|
-
|
|
10851
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10852
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10162
10853
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10163
10854
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10164
10855
|
title: z.ZodString;
|
|
@@ -10226,12 +10917,12 @@ export declare const zUpdateCheckResponse: z.ZodObject<{
|
|
|
10226
10917
|
not_applicable: "not_applicable";
|
|
10227
10918
|
dismissed: "dismissed";
|
|
10228
10919
|
}>;
|
|
10229
|
-
|
|
10920
|
+
compliances_requirement_id: z.ZodString;
|
|
10230
10921
|
company_id: z.ZodNullable<z.ZodString>;
|
|
10231
10922
|
job_id: z.ZodNullable<z.ZodString>;
|
|
10232
10923
|
project_id: z.ZodNullable<z.ZodString>;
|
|
10233
|
-
|
|
10234
|
-
|
|
10924
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
10925
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
10235
10926
|
user_id: z.ZodNullable<z.ZodString>;
|
|
10236
10927
|
user_company_uid: z.ZodNullable<z.ZodString>;
|
|
10237
10928
|
title: z.ZodString;
|
|
@@ -10293,7 +10984,7 @@ export declare const zListCustomFieldConfigsResponse: z.ZodObject<{
|
|
|
10293
10984
|
name: z.ZodString;
|
|
10294
10985
|
description: z.ZodNullable<z.ZodString>;
|
|
10295
10986
|
model_type: z.ZodString;
|
|
10296
|
-
|
|
10987
|
+
visible: z.ZodBoolean;
|
|
10297
10988
|
company_id: z.ZodString;
|
|
10298
10989
|
created_at: z.ZodISODateTime;
|
|
10299
10990
|
updated_at: z.ZodISODateTime;
|
|
@@ -10308,7 +10999,7 @@ export declare const zCreateCustomFieldConfigBody: z.ZodObject<{
|
|
|
10308
10999
|
company: "company";
|
|
10309
11000
|
user_company: "user_company";
|
|
10310
11001
|
}>;
|
|
10311
|
-
|
|
11002
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
10312
11003
|
}, z.core.$strip>;
|
|
10313
11004
|
/**
|
|
10314
11005
|
* Created
|
|
@@ -10318,7 +11009,7 @@ export declare const zCreateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10318
11009
|
name: z.ZodString;
|
|
10319
11010
|
description: z.ZodNullable<z.ZodString>;
|
|
10320
11011
|
model_type: z.ZodString;
|
|
10321
|
-
|
|
11012
|
+
visible: z.ZodBoolean;
|
|
10322
11013
|
company_id: z.ZodString;
|
|
10323
11014
|
created_at: z.ZodISODateTime;
|
|
10324
11015
|
updated_at: z.ZodISODateTime;
|
|
@@ -10334,7 +11025,7 @@ export declare const zDeleteCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10334
11025
|
name: z.ZodString;
|
|
10335
11026
|
description: z.ZodNullable<z.ZodString>;
|
|
10336
11027
|
model_type: z.ZodString;
|
|
10337
|
-
|
|
11028
|
+
visible: z.ZodBoolean;
|
|
10338
11029
|
company_id: z.ZodString;
|
|
10339
11030
|
created_at: z.ZodISODateTime;
|
|
10340
11031
|
updated_at: z.ZodISODateTime;
|
|
@@ -10350,7 +11041,7 @@ export declare const zGetCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10350
11041
|
name: z.ZodString;
|
|
10351
11042
|
description: z.ZodNullable<z.ZodString>;
|
|
10352
11043
|
model_type: z.ZodString;
|
|
10353
|
-
|
|
11044
|
+
visible: z.ZodBoolean;
|
|
10354
11045
|
company_id: z.ZodString;
|
|
10355
11046
|
created_at: z.ZodISODateTime;
|
|
10356
11047
|
updated_at: z.ZodISODateTime;
|
|
@@ -10364,7 +11055,7 @@ export declare const zUpdateCustomFieldConfigBody: z.ZodObject<{
|
|
|
10364
11055
|
company: "company";
|
|
10365
11056
|
user_company: "user_company";
|
|
10366
11057
|
}>;
|
|
10367
|
-
|
|
11058
|
+
visible: z.ZodOptional<z.ZodBoolean>;
|
|
10368
11059
|
}, z.core.$strip>;
|
|
10369
11060
|
export declare const zUpdateCustomFieldConfigPath: z.ZodObject<{
|
|
10370
11061
|
id: z.ZodString;
|
|
@@ -10377,7 +11068,7 @@ export declare const zUpdateCustomFieldConfigResponse: z.ZodObject<{
|
|
|
10377
11068
|
name: z.ZodString;
|
|
10378
11069
|
description: z.ZodNullable<z.ZodString>;
|
|
10379
11070
|
model_type: z.ZodString;
|
|
10380
|
-
|
|
11071
|
+
visible: z.ZodBoolean;
|
|
10381
11072
|
company_id: z.ZodString;
|
|
10382
11073
|
created_at: z.ZodISODateTime;
|
|
10383
11074
|
updated_at: z.ZodISODateTime;
|
|
@@ -11121,7 +11812,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11121
11812
|
id: z.ZodString;
|
|
11122
11813
|
uid: z.ZodString;
|
|
11123
11814
|
job_id: z.ZodString;
|
|
11124
|
-
|
|
11815
|
+
pwa_trade_id: z.ZodString;
|
|
11125
11816
|
labor_classification: z.ZodString;
|
|
11126
11817
|
hourly_rate_cents: z.ZodString;
|
|
11127
11818
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11146,7 +11837,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11146
11837
|
id: z.ZodString;
|
|
11147
11838
|
uid: z.ZodString;
|
|
11148
11839
|
job_id: z.ZodString;
|
|
11149
|
-
|
|
11840
|
+
pwa_trade_id: z.ZodString;
|
|
11150
11841
|
labor_classification: z.ZodString;
|
|
11151
11842
|
hourly_rate_cents: z.ZodString;
|
|
11152
11843
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11167,7 +11858,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11167
11858
|
id: z.ZodString;
|
|
11168
11859
|
uid: z.ZodString;
|
|
11169
11860
|
job_id: z.ZodString;
|
|
11170
|
-
|
|
11861
|
+
pwa_trade_id: z.ZodString;
|
|
11171
11862
|
labor_classification: z.ZodString;
|
|
11172
11863
|
hourly_rate_cents: z.ZodString;
|
|
11173
11864
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11184,7 +11875,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11184
11875
|
id: z.ZodString;
|
|
11185
11876
|
uid: z.ZodString;
|
|
11186
11877
|
job_id: z.ZodString;
|
|
11187
|
-
|
|
11878
|
+
pwa_trade_id: z.ZodString;
|
|
11188
11879
|
labor_classification: z.ZodString;
|
|
11189
11880
|
hourly_rate_cents: z.ZodString;
|
|
11190
11881
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11203,7 +11894,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11203
11894
|
id: z.ZodString;
|
|
11204
11895
|
uid: z.ZodString;
|
|
11205
11896
|
job_id: z.ZodString;
|
|
11206
|
-
|
|
11897
|
+
pwa_trade_id: z.ZodString;
|
|
11207
11898
|
labor_classification: z.ZodString;
|
|
11208
11899
|
hourly_rate_cents: z.ZodString;
|
|
11209
11900
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11224,7 +11915,7 @@ export declare const zListJobWageDeterminationHistoryResponse: z.ZodObject<{
|
|
|
11224
11915
|
id: z.ZodString;
|
|
11225
11916
|
uid: z.ZodString;
|
|
11226
11917
|
job_id: z.ZodString;
|
|
11227
|
-
|
|
11918
|
+
pwa_trade_id: z.ZodString;
|
|
11228
11919
|
labor_classification: z.ZodString;
|
|
11229
11920
|
hourly_rate_cents: z.ZodString;
|
|
11230
11921
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11268,7 +11959,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11268
11959
|
id: z.ZodString;
|
|
11269
11960
|
uid: z.ZodString;
|
|
11270
11961
|
job_id: z.ZodString;
|
|
11271
|
-
|
|
11962
|
+
pwa_trade_id: z.ZodString;
|
|
11272
11963
|
labor_classification: z.ZodString;
|
|
11273
11964
|
hourly_rate_cents: z.ZodString;
|
|
11274
11965
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11289,7 +11980,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11289
11980
|
id: z.ZodString;
|
|
11290
11981
|
uid: z.ZodString;
|
|
11291
11982
|
job_id: z.ZodString;
|
|
11292
|
-
|
|
11983
|
+
pwa_trade_id: z.ZodString;
|
|
11293
11984
|
labor_classification: z.ZodString;
|
|
11294
11985
|
hourly_rate_cents: z.ZodString;
|
|
11295
11986
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11304,7 +11995,7 @@ export declare const zListJobWageDeterminationsResponse: z.ZodObject<{
|
|
|
11304
11995
|
}, z.core.$strip>;
|
|
11305
11996
|
export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
11306
11997
|
labor_classification: z.ZodString;
|
|
11307
|
-
|
|
11998
|
+
pwa_trade_id: z.ZodString;
|
|
11308
11999
|
hourly_rate_cents: z.ZodString;
|
|
11309
12000
|
fringe_rate_cents: z.ZodString;
|
|
11310
12001
|
class_code: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -11318,7 +12009,7 @@ export declare const zCreateWageDeterminationBody: z.ZodDiscriminatedUnion<[z.Zo
|
|
|
11318
12009
|
type: z.ZodLiteral<"Pwa::JobWageDeterminations::Federal">;
|
|
11319
12010
|
}, z.core.$strip>, z.ZodObject<{
|
|
11320
12011
|
labor_classification: z.ZodString;
|
|
11321
|
-
|
|
12012
|
+
pwa_trade_id: z.ZodString;
|
|
11322
12013
|
hourly_rate_cents: z.ZodString;
|
|
11323
12014
|
fringe_rate_cents: z.ZodOptional<z.ZodString>;
|
|
11324
12015
|
general_wage_determination: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -11335,7 +12026,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11335
12026
|
id: z.ZodString;
|
|
11336
12027
|
uid: z.ZodString;
|
|
11337
12028
|
job_id: z.ZodString;
|
|
11338
|
-
|
|
12029
|
+
pwa_trade_id: z.ZodString;
|
|
11339
12030
|
labor_classification: z.ZodString;
|
|
11340
12031
|
hourly_rate_cents: z.ZodString;
|
|
11341
12032
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11356,7 +12047,7 @@ export declare const zCreateWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11356
12047
|
id: z.ZodString;
|
|
11357
12048
|
uid: z.ZodString;
|
|
11358
12049
|
job_id: z.ZodString;
|
|
11359
|
-
|
|
12050
|
+
pwa_trade_id: z.ZodString;
|
|
11360
12051
|
labor_classification: z.ZodString;
|
|
11361
12052
|
hourly_rate_cents: z.ZodString;
|
|
11362
12053
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11379,7 +12070,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11379
12070
|
id: z.ZodString;
|
|
11380
12071
|
uid: z.ZodString;
|
|
11381
12072
|
job_id: z.ZodString;
|
|
11382
|
-
|
|
12073
|
+
pwa_trade_id: z.ZodString;
|
|
11383
12074
|
labor_classification: z.ZodString;
|
|
11384
12075
|
hourly_rate_cents: z.ZodString;
|
|
11385
12076
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11400,7 +12091,7 @@ export declare const zDeleteWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11400
12091
|
id: z.ZodString;
|
|
11401
12092
|
uid: z.ZodString;
|
|
11402
12093
|
job_id: z.ZodString;
|
|
11403
|
-
|
|
12094
|
+
pwa_trade_id: z.ZodString;
|
|
11404
12095
|
labor_classification: z.ZodString;
|
|
11405
12096
|
hourly_rate_cents: z.ZodString;
|
|
11406
12097
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11426,7 +12117,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11426
12117
|
id: z.ZodString;
|
|
11427
12118
|
uid: z.ZodString;
|
|
11428
12119
|
job_id: z.ZodString;
|
|
11429
|
-
|
|
12120
|
+
pwa_trade_id: z.ZodString;
|
|
11430
12121
|
labor_classification: z.ZodString;
|
|
11431
12122
|
hourly_rate_cents: z.ZodString;
|
|
11432
12123
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11447,7 +12138,7 @@ export declare const zGetJobWageDeterminationResponse: z.ZodDiscriminatedUnion<[
|
|
|
11447
12138
|
id: z.ZodString;
|
|
11448
12139
|
uid: z.ZodString;
|
|
11449
12140
|
job_id: z.ZodString;
|
|
11450
|
-
|
|
12141
|
+
pwa_trade_id: z.ZodString;
|
|
11451
12142
|
labor_classification: z.ZodString;
|
|
11452
12143
|
hourly_rate_cents: z.ZodString;
|
|
11453
12144
|
fringe_rate_cents: z.ZodString;
|
|
@@ -11495,7 +12186,6 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
11495
12186
|
status: z.ZodString;
|
|
11496
12187
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11497
12188
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11498
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11499
12189
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11500
12190
|
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>]>;
|
|
11501
12191
|
tz_name: z.ZodString;
|
|
@@ -11580,7 +12270,7 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
11580
12270
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11581
12271
|
value: z.ZodOptional<z.ZodString>;
|
|
11582
12272
|
}, z.core.$strip>>>;
|
|
11583
|
-
|
|
12273
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
11584
12274
|
tracks_feature_allocations: z.ZodBoolean;
|
|
11585
12275
|
requires_feature_allocation: z.ZodBoolean;
|
|
11586
12276
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -11618,12 +12308,12 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
11618
12308
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11619
12309
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11620
12310
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
11621
|
-
|
|
12311
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11622
12312
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11623
12313
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11624
12314
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11625
12315
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11626
|
-
|
|
12316
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
11627
12317
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
11628
12318
|
}, z.core.$strip>>>>;
|
|
11629
12319
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -11672,7 +12362,6 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
11672
12362
|
status: z.ZodString;
|
|
11673
12363
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11674
12364
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11675
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11676
12365
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11677
12366
|
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>]>;
|
|
11678
12367
|
tz_name: z.ZodString;
|
|
@@ -11757,7 +12446,7 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
11757
12446
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11758
12447
|
value: z.ZodOptional<z.ZodString>;
|
|
11759
12448
|
}, z.core.$strip>>>;
|
|
11760
|
-
|
|
12449
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
11761
12450
|
tracks_feature_allocations: z.ZodBoolean;
|
|
11762
12451
|
requires_feature_allocation: z.ZodBoolean;
|
|
11763
12452
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -11778,7 +12467,6 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
11778
12467
|
status: z.ZodString;
|
|
11779
12468
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11780
12469
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11781
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11782
12470
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11783
12471
|
time_card_start_day: z.ZodUnion<readonly [z.ZodLiteral<0>, z.ZodLiteral<1>, z.ZodLiteral<2>, z.ZodLiteral<3>, z.ZodLiteral<4>, z.ZodLiteral<5>, z.ZodLiteral<6>]>;
|
|
11784
12472
|
tz_name: z.ZodString;
|
|
@@ -11863,7 +12551,7 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
11863
12551
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11864
12552
|
value: z.ZodOptional<z.ZodString>;
|
|
11865
12553
|
}, z.core.$strip>>>;
|
|
11866
|
-
|
|
12554
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
11867
12555
|
tracks_feature_allocations: z.ZodBoolean;
|
|
11868
12556
|
requires_feature_allocation: z.ZodBoolean;
|
|
11869
12557
|
max_one_feature_allocation: z.ZodBoolean;
|
|
@@ -11897,12 +12585,12 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
11897
12585
|
require_clock_in: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11898
12586
|
send_geofence_reminders: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11899
12587
|
allow_customer_access: z.ZodOptional<z.ZodBoolean>;
|
|
11900
|
-
|
|
12588
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodString>>>;
|
|
11901
12589
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11902
12590
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11903
12591
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
11904
12592
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
11905
|
-
|
|
12593
|
+
primary: z.ZodOptional<z.ZodBoolean>;
|
|
11906
12594
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
11907
12595
|
}, z.core.$strip>>>>;
|
|
11908
12596
|
job_address_attributes: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
@@ -11960,7 +12648,6 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
11960
12648
|
status: z.ZodString;
|
|
11961
12649
|
start_time: z.ZodNullable<z.ZodString>;
|
|
11962
12650
|
end_time: z.ZodNullable<z.ZodString>;
|
|
11963
|
-
address: z.ZodNullable<z.ZodString>;
|
|
11964
12651
|
purchase_order_number: z.ZodNullable<z.ZodString>;
|
|
11965
12652
|
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>]>;
|
|
11966
12653
|
tz_name: z.ZodString;
|
|
@@ -12045,11 +12732,105 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
12045
12732
|
work_types: z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12046
12733
|
value: z.ZodOptional<z.ZodString>;
|
|
12047
12734
|
}, z.core.$strip>>>;
|
|
12048
|
-
|
|
12735
|
+
timekeeping_timecode_ids: z.ZodNullable<z.ZodArray<z.ZodString>>;
|
|
12049
12736
|
tracks_feature_allocations: z.ZodBoolean;
|
|
12050
12737
|
requires_feature_allocation: z.ZodBoolean;
|
|
12051
12738
|
max_one_feature_allocation: z.ZodBoolean;
|
|
12052
12739
|
}, z.core.$strip>;
|
|
12740
|
+
export declare const zListSiteCheckInsPath: z.ZodObject<{
|
|
12741
|
+
site_id: z.ZodString;
|
|
12742
|
+
}, z.core.$strip>;
|
|
12743
|
+
export declare const zListSiteCheckInsQuery: z.ZodObject<{
|
|
12744
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
12745
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12746
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12747
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12748
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12749
|
+
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12750
|
+
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12751
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
12752
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
12753
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
12754
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
12755
|
+
page: z.ZodOptional<z.ZodString>;
|
|
12756
|
+
}, z.core.$strip>;
|
|
12757
|
+
/**
|
|
12758
|
+
* Success
|
|
12759
|
+
*/
|
|
12760
|
+
export declare const zListSiteCheckInsResponse: z.ZodObject<{
|
|
12761
|
+
meta: z.ZodObject<{
|
|
12762
|
+
page: z.ZodOptional<z.ZodObject<{
|
|
12763
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12764
|
+
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12765
|
+
}, z.core.$strip>>;
|
|
12766
|
+
}, z.core.$strip>;
|
|
12767
|
+
links: z.ZodObject<{
|
|
12768
|
+
self: z.ZodOptional<z.ZodString>;
|
|
12769
|
+
first: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12770
|
+
next: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12771
|
+
}, z.core.$strip>;
|
|
12772
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12773
|
+
id: z.ZodString;
|
|
12774
|
+
site_id: z.ZodString;
|
|
12775
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12776
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12777
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12778
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12779
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12780
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12781
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12782
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12783
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12784
|
+
source: z.ZodEnum<{
|
|
12785
|
+
manual: "manual";
|
|
12786
|
+
auto: "auto";
|
|
12787
|
+
}>;
|
|
12788
|
+
nerc_check_in: z.ZodBoolean;
|
|
12789
|
+
cip_exceptional: z.ZodBoolean;
|
|
12790
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12791
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12792
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12793
|
+
start_time: z.ZodISODateTime;
|
|
12794
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12795
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12796
|
+
created_at: z.ZodISODateTime;
|
|
12797
|
+
updated_at: z.ZodISODateTime;
|
|
12798
|
+
}, z.core.$strip>>;
|
|
12799
|
+
}, z.core.$strip>;
|
|
12800
|
+
export declare const zGetSiteCheckInPath: z.ZodObject<{
|
|
12801
|
+
site_id: z.ZodString;
|
|
12802
|
+
id: z.ZodString;
|
|
12803
|
+
}, z.core.$strip>;
|
|
12804
|
+
/**
|
|
12805
|
+
* Success
|
|
12806
|
+
*/
|
|
12807
|
+
export declare const zGetSiteCheckInResponse: z.ZodObject<{
|
|
12808
|
+
id: z.ZodString;
|
|
12809
|
+
site_id: z.ZodString;
|
|
12810
|
+
user_id: z.ZodNullable<z.ZodString>;
|
|
12811
|
+
first_name: z.ZodNullable<z.ZodString>;
|
|
12812
|
+
last_name: z.ZodNullable<z.ZodString>;
|
|
12813
|
+
site_contact_id: z.ZodNullable<z.ZodString>;
|
|
12814
|
+
site_contact_first_name: z.ZodNullable<z.ZodString>;
|
|
12815
|
+
site_contact_last_name: z.ZodNullable<z.ZodString>;
|
|
12816
|
+
employer_name: z.ZodNullable<z.ZodString>;
|
|
12817
|
+
description: z.ZodNullable<z.ZodString>;
|
|
12818
|
+
rationale: z.ZodNullable<z.ZodString>;
|
|
12819
|
+
source: z.ZodEnum<{
|
|
12820
|
+
manual: "manual";
|
|
12821
|
+
auto: "auto";
|
|
12822
|
+
}>;
|
|
12823
|
+
nerc_check_in: z.ZodBoolean;
|
|
12824
|
+
cip_exceptional: z.ZodBoolean;
|
|
12825
|
+
created_by_user_id: z.ZodNullable<z.ZodString>;
|
|
12826
|
+
latitude: z.ZodNullable<z.ZodNumber>;
|
|
12827
|
+
longitude: z.ZodNullable<z.ZodNumber>;
|
|
12828
|
+
start_time: z.ZodISODateTime;
|
|
12829
|
+
end_time: z.ZodNullable<z.ZodISODateTime>;
|
|
12830
|
+
verified_at: z.ZodNullable<z.ZodISODateTime>;
|
|
12831
|
+
created_at: z.ZodISODateTime;
|
|
12832
|
+
updated_at: z.ZodISODateTime;
|
|
12833
|
+
}, z.core.$strip>;
|
|
12053
12834
|
export declare const zListPayPeriodsQuery: z.ZodObject<{
|
|
12054
12835
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
12055
12836
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -12076,7 +12857,7 @@ export declare const zListPayPeriodsResponse: z.ZodObject<{
|
|
|
12076
12857
|
}, z.core.$strip>;
|
|
12077
12858
|
data: z.ZodArray<z.ZodObject<{
|
|
12078
12859
|
id: z.ZodOptional<z.ZodString>;
|
|
12079
|
-
|
|
12860
|
+
timekeeping_pay_period_config_id: z.ZodOptional<z.ZodString>;
|
|
12080
12861
|
pay_period_config_uid: z.ZodOptional<z.ZodString>;
|
|
12081
12862
|
pay_date: z.ZodOptional<z.ZodISODate>;
|
|
12082
12863
|
start_time: z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -12225,7 +13006,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12225
13006
|
id: z.ZodString;
|
|
12226
13007
|
bitemporal_id: z.ZodString;
|
|
12227
13008
|
name: z.ZodString;
|
|
12228
|
-
|
|
13009
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12229
13010
|
compensation_element_name: z.ZodString;
|
|
12230
13011
|
compensation_element_category: z.ZodEnum<{
|
|
12231
13012
|
other: "other";
|
|
@@ -12237,7 +13018,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12237
13018
|
garnishment: "garnishment";
|
|
12238
13019
|
}>;
|
|
12239
13020
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12240
|
-
|
|
13021
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12241
13022
|
contributor: z.ZodEnum<{
|
|
12242
13023
|
any: "any";
|
|
12243
13024
|
employee: "employee";
|
|
@@ -12261,7 +13042,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12261
13042
|
id: z.ZodString;
|
|
12262
13043
|
bitemporal_id: z.ZodString;
|
|
12263
13044
|
name: z.ZodString;
|
|
12264
|
-
|
|
13045
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12265
13046
|
compensation_element_name: z.ZodString;
|
|
12266
13047
|
compensation_element_category: z.ZodEnum<{
|
|
12267
13048
|
other: "other";
|
|
@@ -12273,7 +13054,7 @@ export declare const zListExternalMapHistoryResponse: z.ZodObject<{
|
|
|
12273
13054
|
garnishment: "garnishment";
|
|
12274
13055
|
}>;
|
|
12275
13056
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12276
|
-
|
|
13057
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12277
13058
|
contributor: z.ZodEnum<{
|
|
12278
13059
|
any: "any";
|
|
12279
13060
|
employee: "employee";
|
|
@@ -12325,7 +13106,7 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
12325
13106
|
id: z.ZodString;
|
|
12326
13107
|
bitemporal_id: z.ZodString;
|
|
12327
13108
|
name: z.ZodString;
|
|
12328
|
-
|
|
13109
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12329
13110
|
compensation_element_name: z.ZodString;
|
|
12330
13111
|
compensation_element_category: z.ZodEnum<{
|
|
12331
13112
|
other: "other";
|
|
@@ -12337,7 +13118,7 @@ export declare const zListExternalMapsResponse: z.ZodObject<{
|
|
|
12337
13118
|
garnishment: "garnishment";
|
|
12338
13119
|
}>;
|
|
12339
13120
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12340
|
-
|
|
13121
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12341
13122
|
contributor: z.ZodEnum<{
|
|
12342
13123
|
any: "any";
|
|
12343
13124
|
employee: "employee";
|
|
@@ -12368,7 +13149,7 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
|
|
|
12368
13149
|
id: z.ZodString;
|
|
12369
13150
|
bitemporal_id: z.ZodString;
|
|
12370
13151
|
name: z.ZodString;
|
|
12371
|
-
|
|
13152
|
+
payrolls_compensation_element_id: z.ZodString;
|
|
12372
13153
|
compensation_element_name: z.ZodString;
|
|
12373
13154
|
compensation_element_category: z.ZodEnum<{
|
|
12374
13155
|
other: "other";
|
|
@@ -12380,7 +13161,7 @@ export declare const zGetExternalMapResponse: z.ZodObject<{
|
|
|
12380
13161
|
garnishment: "garnishment";
|
|
12381
13162
|
}>;
|
|
12382
13163
|
pay_period_config_uid: z.ZodNullable<z.ZodString>;
|
|
12383
|
-
|
|
13164
|
+
payrolls_fringe_benefit_plan_id: z.ZodNullable<z.ZodString>;
|
|
12384
13165
|
contributor: z.ZodEnum<{
|
|
12385
13166
|
any: "any";
|
|
12386
13167
|
employee: "employee";
|
|
@@ -12613,7 +13394,7 @@ export declare const zUpdateFringeBenefitPlanResponse: z.ZodObject<{
|
|
|
12613
13394
|
}, z.core.$strip>;
|
|
12614
13395
|
export declare const zListPayrollRunsQuery: z.ZodObject<{
|
|
12615
13396
|
'filter[run_type]': z.ZodOptional<z.ZodString>;
|
|
12616
|
-
'filter[
|
|
13397
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
12617
13398
|
'filter[run_date][gte]': z.ZodOptional<z.ZodISODate>;
|
|
12618
13399
|
'filter[run_date][lte]': z.ZodOptional<z.ZodISODate>;
|
|
12619
13400
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -12644,8 +13425,8 @@ export declare const zListPayrollRunsResponse: z.ZodObject<{
|
|
|
12644
13425
|
data: z.ZodArray<z.ZodObject<{
|
|
12645
13426
|
id: z.ZodString;
|
|
12646
13427
|
company_id: z.ZodString;
|
|
12647
|
-
|
|
12648
|
-
|
|
13428
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13429
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12649
13430
|
run_type: z.ZodEnum<{
|
|
12650
13431
|
CORRECTION: "CORRECTION";
|
|
12651
13432
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12662,8 +13443,8 @@ export declare const zListPayrollRunsResponse: z.ZodObject<{
|
|
|
12662
13443
|
}, z.core.$strip>;
|
|
12663
13444
|
export declare const zCreatePayrollRunBody: z.ZodObject<{
|
|
12664
13445
|
company_id: z.ZodString;
|
|
12665
|
-
|
|
12666
|
-
|
|
13446
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13447
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12667
13448
|
run_type: z.ZodEnum<{
|
|
12668
13449
|
CORRECTION: "CORRECTION";
|
|
12669
13450
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12681,8 +13462,8 @@ export declare const zCreatePayrollRunBody: z.ZodObject<{
|
|
|
12681
13462
|
export declare const zCreatePayrollRunResponse: z.ZodObject<{
|
|
12682
13463
|
id: z.ZodString;
|
|
12683
13464
|
company_id: z.ZodString;
|
|
12684
|
-
|
|
12685
|
-
|
|
13465
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13466
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12686
13467
|
run_type: z.ZodEnum<{
|
|
12687
13468
|
CORRECTION: "CORRECTION";
|
|
12688
13469
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12705,8 +13486,8 @@ export declare const zDeletePayrollRunPath: z.ZodObject<{
|
|
|
12705
13486
|
export declare const zDeletePayrollRunResponse: z.ZodObject<{
|
|
12706
13487
|
id: z.ZodString;
|
|
12707
13488
|
company_id: z.ZodString;
|
|
12708
|
-
|
|
12709
|
-
|
|
13489
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13490
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12710
13491
|
run_type: z.ZodEnum<{
|
|
12711
13492
|
CORRECTION: "CORRECTION";
|
|
12712
13493
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12729,8 +13510,8 @@ export declare const zGetPayrollRunPath: z.ZodObject<{
|
|
|
12729
13510
|
export declare const zGetPayrollRunResponse: z.ZodObject<{
|
|
12730
13511
|
id: z.ZodString;
|
|
12731
13512
|
company_id: z.ZodString;
|
|
12732
|
-
|
|
12733
|
-
|
|
13513
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13514
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12734
13515
|
run_type: z.ZodEnum<{
|
|
12735
13516
|
CORRECTION: "CORRECTION";
|
|
12736
13517
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12746,8 +13527,8 @@ export declare const zGetPayrollRunResponse: z.ZodObject<{
|
|
|
12746
13527
|
}, z.core.$strip>;
|
|
12747
13528
|
export declare const zUpdatePayrollRunBody: z.ZodObject<{
|
|
12748
13529
|
company_id: z.ZodString;
|
|
12749
|
-
|
|
12750
|
-
|
|
13530
|
+
timekeeping_pay_period_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13531
|
+
payrolls_credential_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12751
13532
|
run_type: z.ZodEnum<{
|
|
12752
13533
|
CORRECTION: "CORRECTION";
|
|
12753
13534
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12768,8 +13549,8 @@ export declare const zUpdatePayrollRunPath: z.ZodObject<{
|
|
|
12768
13549
|
export declare const zUpdatePayrollRunResponse: z.ZodObject<{
|
|
12769
13550
|
id: z.ZodString;
|
|
12770
13551
|
company_id: z.ZodString;
|
|
12771
|
-
|
|
12772
|
-
|
|
13552
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
13553
|
+
payrolls_credential_id: z.ZodNullable<z.ZodString>;
|
|
12773
13554
|
run_type: z.ZodEnum<{
|
|
12774
13555
|
CORRECTION: "CORRECTION";
|
|
12775
13556
|
ON_CYCLE: "ON_CYCLE";
|
|
@@ -12784,7 +13565,7 @@ export declare const zUpdatePayrollRunResponse: z.ZodObject<{
|
|
|
12784
13565
|
updated_at: z.ZodISODateTime;
|
|
12785
13566
|
}, z.core.$strip>;
|
|
12786
13567
|
export declare const zListPaystubLineItemsQuery: z.ZodObject<{
|
|
12787
|
-
'filter[
|
|
13568
|
+
'filter[payrolls_paystub_id]': z.ZodOptional<z.ZodString>;
|
|
12788
13569
|
filter: z.ZodOptional<z.ZodString>;
|
|
12789
13570
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
12790
13571
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
@@ -12808,9 +13589,9 @@ export declare const zListPaystubLineItemsResponse: z.ZodObject<{
|
|
|
12808
13589
|
}, z.core.$strip>;
|
|
12809
13590
|
data: z.ZodArray<z.ZodObject<{
|
|
12810
13591
|
id: z.ZodString;
|
|
12811
|
-
|
|
12812
|
-
|
|
12813
|
-
|
|
13592
|
+
payrolls_external_map_id: z.ZodString;
|
|
13593
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13594
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
12814
13595
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12815
13596
|
external_map: z.ZodObject<{
|
|
12816
13597
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12838,22 +13619,22 @@ export declare const zListPaystubLineItemsResponse: z.ZodObject<{
|
|
|
12838
13619
|
}, z.core.$strip>>;
|
|
12839
13620
|
}, z.core.$strip>;
|
|
12840
13621
|
export declare const zCreatePaystubLineItemBody: z.ZodObject<{
|
|
12841
|
-
|
|
13622
|
+
payrolls_paystub_id: z.ZodString;
|
|
12842
13623
|
amount_cents: z.ZodString;
|
|
12843
13624
|
contributor: z.ZodEnum<{
|
|
12844
13625
|
employee: "employee";
|
|
12845
13626
|
employer: "employer";
|
|
12846
13627
|
}>;
|
|
12847
|
-
|
|
13628
|
+
payrolls_external_map_id: z.ZodString;
|
|
12848
13629
|
}, z.core.$strip>;
|
|
12849
13630
|
/**
|
|
12850
13631
|
* Success
|
|
12851
13632
|
*/
|
|
12852
13633
|
export declare const zCreatePaystubLineItemResponse: z.ZodObject<{
|
|
12853
13634
|
id: z.ZodString;
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
13635
|
+
payrolls_external_map_id: z.ZodString;
|
|
13636
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13637
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
12857
13638
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12858
13639
|
external_map: z.ZodObject<{
|
|
12859
13640
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12887,9 +13668,9 @@ export declare const zDeletePaystubLineItemPath: z.ZodObject<{
|
|
|
12887
13668
|
*/
|
|
12888
13669
|
export declare const zDeletePaystubLineItemResponse: z.ZodObject<{
|
|
12889
13670
|
id: z.ZodString;
|
|
12890
|
-
|
|
12891
|
-
|
|
12892
|
-
|
|
13671
|
+
payrolls_external_map_id: z.ZodString;
|
|
13672
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13673
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
12893
13674
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12894
13675
|
external_map: z.ZodObject<{
|
|
12895
13676
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12923,9 +13704,9 @@ export declare const zGetPaystubLineItemPath: z.ZodObject<{
|
|
|
12923
13704
|
*/
|
|
12924
13705
|
export declare const zGetPaystubLineItemResponse: z.ZodObject<{
|
|
12925
13706
|
id: z.ZodString;
|
|
12926
|
-
|
|
12927
|
-
|
|
12928
|
-
|
|
13707
|
+
payrolls_external_map_id: z.ZodString;
|
|
13708
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13709
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
12929
13710
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12930
13711
|
external_map: z.ZodObject<{
|
|
12931
13712
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12952,13 +13733,13 @@ export declare const zGetPaystubLineItemResponse: z.ZodObject<{
|
|
|
12952
13733
|
updated_at: z.ZodISODateTime;
|
|
12953
13734
|
}, z.core.$strip>;
|
|
12954
13735
|
export declare const zUpdatePaystubLineItemBody: z.ZodObject<{
|
|
12955
|
-
|
|
13736
|
+
payrolls_paystub_id: z.ZodString;
|
|
12956
13737
|
amount_cents: z.ZodString;
|
|
12957
13738
|
contributor: z.ZodEnum<{
|
|
12958
13739
|
employee: "employee";
|
|
12959
13740
|
employer: "employer";
|
|
12960
13741
|
}>;
|
|
12961
|
-
|
|
13742
|
+
payrolls_external_map_id: z.ZodString;
|
|
12962
13743
|
}, z.core.$strip>;
|
|
12963
13744
|
export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
|
|
12964
13745
|
id: z.ZodString;
|
|
@@ -12968,9 +13749,9 @@ export declare const zUpdatePaystubLineItemPath: z.ZodObject<{
|
|
|
12968
13749
|
*/
|
|
12969
13750
|
export declare const zUpdatePaystubLineItemResponse: z.ZodObject<{
|
|
12970
13751
|
id: z.ZodString;
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
13752
|
+
payrolls_external_map_id: z.ZodString;
|
|
13753
|
+
payrolls_paystub_id: z.ZodNullable<z.ZodString>;
|
|
13754
|
+
timekeeping_pay_period_id: z.ZodNullable<z.ZodString>;
|
|
12974
13755
|
user_id: z.ZodNullable<z.ZodString>;
|
|
12975
13756
|
external_map: z.ZodObject<{
|
|
12976
13757
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -12997,9 +13778,9 @@ export declare const zUpdatePaystubLineItemResponse: z.ZodObject<{
|
|
|
12997
13778
|
updated_at: z.ZodISODateTime;
|
|
12998
13779
|
}, z.core.$strip>;
|
|
12999
13780
|
export declare const zListPaystubsQuery: z.ZodObject<{
|
|
13000
|
-
'filter[
|
|
13781
|
+
'filter[payrolls_payroll_run_id]': z.ZodOptional<z.ZodString>;
|
|
13001
13782
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
13002
|
-
'filter[
|
|
13783
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
13003
13784
|
filter: z.ZodOptional<z.ZodString>;
|
|
13004
13785
|
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
13005
13786
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
@@ -13026,16 +13807,16 @@ export declare const zListPaystubsResponse: z.ZodObject<{
|
|
|
13026
13807
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13027
13808
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13028
13809
|
user_id: z.ZodString;
|
|
13029
|
-
|
|
13030
|
-
|
|
13810
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13811
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13031
13812
|
created_at: z.ZodISODateTime;
|
|
13032
13813
|
updated_at: z.ZodISODateTime;
|
|
13033
13814
|
}, z.core.$strip>>;
|
|
13034
13815
|
}, z.core.$strip>;
|
|
13035
13816
|
export declare const zCreatePaystubBody: z.ZodObject<{
|
|
13036
|
-
|
|
13817
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13037
13818
|
user_id: z.ZodString;
|
|
13038
|
-
|
|
13819
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13039
13820
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13040
13821
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13041
13822
|
}, z.core.$strip>;
|
|
@@ -13047,8 +13828,8 @@ export declare const zCreatePaystubResponse: z.ZodObject<{
|
|
|
13047
13828
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13048
13829
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13049
13830
|
user_id: z.ZodString;
|
|
13050
|
-
|
|
13051
|
-
|
|
13831
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13832
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13052
13833
|
created_at: z.ZodISODateTime;
|
|
13053
13834
|
updated_at: z.ZodISODateTime;
|
|
13054
13835
|
}, z.core.$strip>;
|
|
@@ -13063,8 +13844,8 @@ export declare const zDeletePaystubResponse: z.ZodObject<{
|
|
|
13063
13844
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13064
13845
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13065
13846
|
user_id: z.ZodString;
|
|
13066
|
-
|
|
13067
|
-
|
|
13847
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13848
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13068
13849
|
created_at: z.ZodISODateTime;
|
|
13069
13850
|
updated_at: z.ZodISODateTime;
|
|
13070
13851
|
}, z.core.$strip>;
|
|
@@ -13079,15 +13860,15 @@ export declare const zGetPaystubResponse: z.ZodObject<{
|
|
|
13079
13860
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13080
13861
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13081
13862
|
user_id: z.ZodString;
|
|
13082
|
-
|
|
13083
|
-
|
|
13863
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13864
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13084
13865
|
created_at: z.ZodISODateTime;
|
|
13085
13866
|
updated_at: z.ZodISODateTime;
|
|
13086
13867
|
}, z.core.$strip>;
|
|
13087
13868
|
export declare const zUpdatePaystubBody: z.ZodObject<{
|
|
13088
|
-
|
|
13869
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13089
13870
|
user_id: z.ZodString;
|
|
13090
|
-
|
|
13871
|
+
timekeeping_time_card_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13091
13872
|
external_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13092
13873
|
check_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
13093
13874
|
}, z.core.$strip>;
|
|
@@ -13102,13 +13883,13 @@ export declare const zUpdatePaystubResponse: z.ZodObject<{
|
|
|
13102
13883
|
external_id: z.ZodNullable<z.ZodString>;
|
|
13103
13884
|
check_number: z.ZodNullable<z.ZodString>;
|
|
13104
13885
|
user_id: z.ZodString;
|
|
13105
|
-
|
|
13106
|
-
|
|
13886
|
+
timekeeping_time_card_id: z.ZodNullable<z.ZodString>;
|
|
13887
|
+
payrolls_payroll_run_id: z.ZodString;
|
|
13107
13888
|
created_at: z.ZodISODateTime;
|
|
13108
13889
|
updated_at: z.ZodISODateTime;
|
|
13109
13890
|
}, z.core.$strip>;
|
|
13110
13891
|
export declare const zListPerDiemsQuery: z.ZodObject<{
|
|
13111
|
-
'filter[
|
|
13892
|
+
'filter[default]': z.ZodOptional<z.ZodBoolean>;
|
|
13112
13893
|
'filter[taxable]': z.ZodOptional<z.ZodBoolean>;
|
|
13113
13894
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
13114
13895
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -13147,10 +13928,10 @@ export declare const zListPerDiemsResponse: z.ZodObject<{
|
|
|
13147
13928
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13148
13929
|
currency: z.ZodString;
|
|
13149
13930
|
taxable: z.ZodBoolean;
|
|
13150
|
-
|
|
13151
|
-
|
|
13931
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13932
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13152
13933
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13153
|
-
|
|
13934
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13154
13935
|
created_at: z.ZodISODateTime;
|
|
13155
13936
|
updated_at: z.ZodISODateTime;
|
|
13156
13937
|
}, z.core.$strip>>>;
|
|
@@ -13161,10 +13942,10 @@ export declare const zCreatePerDiemBody: z.ZodObject<{
|
|
|
13161
13942
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13162
13943
|
currency: z.ZodString;
|
|
13163
13944
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
13164
|
-
|
|
13165
|
-
|
|
13945
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13946
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13166
13947
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13167
|
-
|
|
13948
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13168
13949
|
}, z.core.$strip>;
|
|
13169
13950
|
/**
|
|
13170
13951
|
* Created
|
|
@@ -13176,10 +13957,10 @@ export declare const zCreatePerDiemResponse: z.ZodObject<{
|
|
|
13176
13957
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13177
13958
|
currency: z.ZodString;
|
|
13178
13959
|
taxable: z.ZodBoolean;
|
|
13179
|
-
|
|
13180
|
-
|
|
13960
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13961
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13181
13962
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13182
|
-
|
|
13963
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13183
13964
|
created_at: z.ZodISODateTime;
|
|
13184
13965
|
updated_at: z.ZodISODateTime;
|
|
13185
13966
|
}, z.core.$strip>;
|
|
@@ -13196,10 +13977,10 @@ export declare const zDeletePerDiemResponse: z.ZodObject<{
|
|
|
13196
13977
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13197
13978
|
currency: z.ZodString;
|
|
13198
13979
|
taxable: z.ZodBoolean;
|
|
13199
|
-
|
|
13200
|
-
|
|
13980
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
13981
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13201
13982
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13202
|
-
|
|
13983
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13203
13984
|
created_at: z.ZodISODateTime;
|
|
13204
13985
|
updated_at: z.ZodISODateTime;
|
|
13205
13986
|
}, z.core.$strip>;
|
|
@@ -13216,10 +13997,10 @@ export declare const zGetPerDiemResponse: z.ZodObject<{
|
|
|
13216
13997
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13217
13998
|
currency: z.ZodString;
|
|
13218
13999
|
taxable: z.ZodBoolean;
|
|
13219
|
-
|
|
13220
|
-
|
|
14000
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
14001
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13221
14002
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13222
|
-
|
|
14003
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13223
14004
|
created_at: z.ZodISODateTime;
|
|
13224
14005
|
updated_at: z.ZodISODateTime;
|
|
13225
14006
|
}, z.core.$strip>;
|
|
@@ -13229,10 +14010,10 @@ export declare const zUpdatePerDiemBody: z.ZodObject<{
|
|
|
13229
14010
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13230
14011
|
currency: z.ZodString;
|
|
13231
14012
|
taxable: z.ZodOptional<z.ZodBoolean>;
|
|
13232
|
-
|
|
13233
|
-
|
|
14013
|
+
default: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14014
|
+
active: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
13234
14015
|
work_type_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13235
|
-
|
|
14016
|
+
timekeeping_timecode_ids: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
13236
14017
|
}, z.core.$strip>;
|
|
13237
14018
|
export declare const zUpdatePerDiemPath: z.ZodObject<{
|
|
13238
14019
|
id: z.ZodString;
|
|
@@ -13247,10 +14028,10 @@ export declare const zUpdatePerDiemResponse: z.ZodObject<{
|
|
|
13247
14028
|
rate_cents: z.ZodNullable<z.ZodString>;
|
|
13248
14029
|
currency: z.ZodString;
|
|
13249
14030
|
taxable: z.ZodBoolean;
|
|
13250
|
-
|
|
13251
|
-
|
|
14031
|
+
default: z.ZodNullable<z.ZodBoolean>;
|
|
14032
|
+
active: z.ZodNullable<z.ZodBoolean>;
|
|
13252
14033
|
work_type_ids: z.ZodArray<z.ZodString>;
|
|
13253
|
-
|
|
14034
|
+
timekeeping_timecode_ids: z.ZodArray<z.ZodString>;
|
|
13254
14035
|
created_at: z.ZodISODateTime;
|
|
13255
14036
|
updated_at: z.ZodISODateTime;
|
|
13256
14037
|
}, z.core.$strip>;
|
|
@@ -14321,7 +15102,7 @@ export declare const zGetTradeResponse: z.ZodObject<{
|
|
|
14321
15102
|
export declare const zCreateFormAssignmentTaskBody: z.ZodObject<{
|
|
14322
15103
|
form_definition_id: z.ZodString;
|
|
14323
15104
|
spread_assignees: z.ZodOptional<z.ZodBoolean>;
|
|
14324
|
-
|
|
15105
|
+
recurring: z.ZodOptional<z.ZodBoolean>;
|
|
14325
15106
|
task_attributes: z.ZodObject<{
|
|
14326
15107
|
name: z.ZodString;
|
|
14327
15108
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -14410,7 +15191,7 @@ export declare const zListPositionsResponse: z.ZodObject<{
|
|
|
14410
15191
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14411
15192
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14412
15193
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14413
|
-
|
|
15194
|
+
pwa: z.ZodBoolean;
|
|
14414
15195
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14415
15196
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14416
15197
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14430,7 +15211,7 @@ export declare const zCreatePositionBody: z.ZodObject<{
|
|
|
14430
15211
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14431
15212
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14432
15213
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14433
|
-
|
|
15214
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
14434
15215
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14435
15216
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14436
15217
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -14468,7 +15249,7 @@ export declare const zCreatePositionResponse: z.ZodObject<{
|
|
|
14468
15249
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14469
15250
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14470
15251
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14471
|
-
|
|
15252
|
+
pwa: z.ZodBoolean;
|
|
14472
15253
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14473
15254
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14474
15255
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14487,7 +15268,7 @@ export declare const zUpdatePositionBody: z.ZodObject<{
|
|
|
14487
15268
|
position_function_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14488
15269
|
per_diem_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14489
15270
|
per_diem_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14490
|
-
|
|
15271
|
+
pwa: z.ZodOptional<z.ZodBoolean>;
|
|
14491
15272
|
cash_fringe_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14492
15273
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
14493
15274
|
pwa_wage_pay_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
@@ -14526,7 +15307,7 @@ export declare const zUpdatePositionResponse: z.ZodObject<{
|
|
|
14526
15307
|
pwa_wage_pay_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14527
15308
|
pwa_wage_pay_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
14528
15309
|
wage_adder_rate_cents: z.ZodNullable<z.ZodString>;
|
|
14529
|
-
|
|
15310
|
+
pwa: z.ZodBoolean;
|
|
14530
15311
|
federal_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14531
15312
|
regional_wage_determination_uids: z.ZodArray<z.ZodString>;
|
|
14532
15313
|
pwa_details: z.ZodNullable<z.ZodObject<{
|
|
@@ -14575,7 +15356,7 @@ export declare const zSetTimeCardLockPath: z.ZodObject<{
|
|
|
14575
15356
|
export declare const zSetTimeCardLockResponse: z.ZodObject<{
|
|
14576
15357
|
id: z.ZodString;
|
|
14577
15358
|
user_id: z.ZodString;
|
|
14578
|
-
|
|
15359
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
14579
15360
|
locked: z.ZodBoolean;
|
|
14580
15361
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
14581
15362
|
pending: "pending";
|
|
@@ -14632,7 +15413,7 @@ export declare const zCreateManagerTimeCardApprovalPath: z.ZodObject<{
|
|
|
14632
15413
|
*/
|
|
14633
15414
|
export declare const zCreateManagerTimeCardApprovalResponse: z.ZodObject<{
|
|
14634
15415
|
id: z.ZodString;
|
|
14635
|
-
|
|
15416
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14636
15417
|
status: z.ZodEnum<{
|
|
14637
15418
|
pending: "pending";
|
|
14638
15419
|
approved: "approved";
|
|
@@ -14666,7 +15447,7 @@ export declare const zListTimeCardPerDiemsResponse: z.ZodObject<{
|
|
|
14666
15447
|
}, z.core.$strip>>;
|
|
14667
15448
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14668
15449
|
id: z.ZodString;
|
|
14669
|
-
|
|
15450
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14670
15451
|
date: z.ZodISODate;
|
|
14671
15452
|
approver_user_id: z.ZodString;
|
|
14672
15453
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -14691,7 +15472,7 @@ export declare const zCreateTimeCardPerDiemPath: z.ZodObject<{
|
|
|
14691
15472
|
*/
|
|
14692
15473
|
export declare const zCreateTimeCardPerDiemResponse: z.ZodObject<{
|
|
14693
15474
|
id: z.ZodString;
|
|
14694
|
-
|
|
15475
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14695
15476
|
date: z.ZodISODate;
|
|
14696
15477
|
approver_user_id: z.ZodString;
|
|
14697
15478
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -14710,7 +15491,7 @@ export declare const zDeleteTimeCardPerDiemPath: z.ZodObject<{
|
|
|
14710
15491
|
*/
|
|
14711
15492
|
export declare const zDeleteTimeCardPerDiemResponse: z.ZodObject<{
|
|
14712
15493
|
id: z.ZodString;
|
|
14713
|
-
|
|
15494
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14714
15495
|
date: z.ZodISODate;
|
|
14715
15496
|
approver_user_id: z.ZodString;
|
|
14716
15497
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -14735,7 +15516,7 @@ export declare const zUpdateTimeCardPerDiemPath: z.ZodObject<{
|
|
|
14735
15516
|
*/
|
|
14736
15517
|
export declare const zUpdateTimeCardPerDiemResponse: z.ZodObject<{
|
|
14737
15518
|
id: z.ZodString;
|
|
14738
|
-
|
|
15519
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14739
15520
|
date: z.ZodISODate;
|
|
14740
15521
|
approver_user_id: z.ZodString;
|
|
14741
15522
|
per_diem_id: z.ZodNullable<z.ZodString>;
|
|
@@ -14771,8 +15552,8 @@ export declare const zListPriorPeriodAdjustmentsResponse: z.ZodObject<{
|
|
|
14771
15552
|
}, z.core.$strip>>;
|
|
14772
15553
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14773
15554
|
id: z.ZodString;
|
|
14774
|
-
|
|
14775
|
-
|
|
15555
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15556
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
14776
15557
|
job_id: z.ZodNullable<z.ZodString>;
|
|
14777
15558
|
created_by_user_id: z.ZodString;
|
|
14778
15559
|
adjustment_type: z.ZodEnum<{
|
|
@@ -14802,8 +15583,8 @@ export declare const zGetPriorPeriodAdjustmentPath: z.ZodObject<{
|
|
|
14802
15583
|
*/
|
|
14803
15584
|
export declare const zGetPriorPeriodAdjustmentResponse: z.ZodObject<{
|
|
14804
15585
|
id: z.ZodString;
|
|
14805
|
-
|
|
14806
|
-
|
|
15586
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15587
|
+
payrolls_paystub_line_item_id: z.ZodString;
|
|
14807
15588
|
job_id: z.ZodNullable<z.ZodString>;
|
|
14808
15589
|
created_by_user_id: z.ZodString;
|
|
14809
15590
|
adjustment_type: z.ZodEnum<{
|
|
@@ -14837,7 +15618,7 @@ export declare const zCreateWorkerTimeCardApprovalPath: z.ZodObject<{
|
|
|
14837
15618
|
*/
|
|
14838
15619
|
export declare const zCreateWorkerTimeCardApprovalResponse: z.ZodObject<{
|
|
14839
15620
|
id: z.ZodString;
|
|
14840
|
-
|
|
15621
|
+
timekeeping_time_card_id: z.ZodString;
|
|
14841
15622
|
status: z.ZodEnum<{
|
|
14842
15623
|
pending: "pending";
|
|
14843
15624
|
approved: "approved";
|
|
@@ -14847,7 +15628,7 @@ export declare const zCreateWorkerTimeCardApprovalResponse: z.ZodObject<{
|
|
|
14847
15628
|
created_at: z.ZodISODateTime;
|
|
14848
15629
|
}, z.core.$strip>;
|
|
14849
15630
|
export declare const zListTimeCardsQuery: z.ZodObject<{
|
|
14850
|
-
'filter[
|
|
15631
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
14851
15632
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
14852
15633
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14853
15634
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -14875,7 +15656,7 @@ export declare const zListTimeCardsResponse: z.ZodObject<{
|
|
|
14875
15656
|
data: z.ZodArray<z.ZodObject<{
|
|
14876
15657
|
id: z.ZodString;
|
|
14877
15658
|
user_id: z.ZodString;
|
|
14878
|
-
|
|
15659
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
14879
15660
|
locked: z.ZodBoolean;
|
|
14880
15661
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
14881
15662
|
pending: "pending";
|
|
@@ -14926,7 +15707,7 @@ export declare const zGetTimeCardPath: z.ZodObject<{
|
|
|
14926
15707
|
export declare const zGetTimeCardResponse: z.ZodObject<{
|
|
14927
15708
|
id: z.ZodString;
|
|
14928
15709
|
user_id: z.ZodString;
|
|
14929
|
-
|
|
15710
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
14930
15711
|
locked: z.ZodBoolean;
|
|
14931
15712
|
manager_time_card_approval_status: z.ZodEnum<{
|
|
14932
15713
|
pending: "pending";
|
|
@@ -14986,10 +15767,11 @@ export declare const zListDeltasQuery: z.ZodObject<{
|
|
|
14986
15767
|
*/
|
|
14987
15768
|
export declare const zListDeltasResponse: z.ZodObject<{
|
|
14988
15769
|
meta: z.ZodOptional<z.ZodObject<{
|
|
14989
|
-
page: z.
|
|
15770
|
+
page: z.ZodObject<{
|
|
14990
15771
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14991
15772
|
current_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
14992
|
-
}, z.core.$strip
|
|
15773
|
+
}, z.core.$strip>;
|
|
15774
|
+
complete_through: z.ZodISODateTime;
|
|
14993
15775
|
}, z.core.$strip>>;
|
|
14994
15776
|
links: z.ZodOptional<z.ZodObject<{
|
|
14995
15777
|
self: z.ZodOptional<z.ZodString>;
|
|
@@ -15010,7 +15792,7 @@ export declare const zListTimeEntriesQuery: z.ZodObject<{
|
|
|
15010
15792
|
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
15011
15793
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
15012
15794
|
'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
15013
|
-
'filter[
|
|
15795
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
15014
15796
|
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15015
15797
|
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
15016
15798
|
'filter[end_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -15043,9 +15825,9 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15043
15825
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15044
15826
|
id: z.ZodString;
|
|
15045
15827
|
user_id: z.ZodString;
|
|
15046
|
-
|
|
15828
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15047
15829
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15048
|
-
|
|
15830
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15049
15831
|
state: z.ZodNullable<z.ZodString>;
|
|
15050
15832
|
description: z.ZodNullable<z.ZodString>;
|
|
15051
15833
|
clock_punched: z.ZodBoolean;
|
|
@@ -15065,7 +15847,7 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15065
15847
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15066
15848
|
currency: z.ZodNullable<z.ZodString>;
|
|
15067
15849
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15068
|
-
|
|
15850
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15069
15851
|
start_time: z.ZodISODateTime;
|
|
15070
15852
|
end_time: z.ZodISODateTime;
|
|
15071
15853
|
created_at: z.ZodISODateTime;
|
|
@@ -15086,11 +15868,11 @@ export declare const zListTimeEntriesResponse: z.ZodObject<{
|
|
|
15086
15868
|
}, z.core.$strip>>>;
|
|
15087
15869
|
}, z.core.$strip>;
|
|
15088
15870
|
export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
15089
|
-
|
|
15871
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15090
15872
|
start_time: z.ZodISODateTime;
|
|
15091
15873
|
end_time: z.ZodISODateTime;
|
|
15092
15874
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15093
|
-
|
|
15875
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15094
15876
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15095
15877
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15096
15878
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15103,9 +15885,9 @@ export declare const zCreateTimeEntryBody: z.ZodObject<{
|
|
|
15103
15885
|
export declare const zCreateTimeEntryResponse: z.ZodObject<{
|
|
15104
15886
|
id: z.ZodString;
|
|
15105
15887
|
user_id: z.ZodString;
|
|
15106
|
-
|
|
15888
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15107
15889
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15108
|
-
|
|
15890
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15109
15891
|
state: z.ZodNullable<z.ZodString>;
|
|
15110
15892
|
description: z.ZodNullable<z.ZodString>;
|
|
15111
15893
|
clock_punched: z.ZodBoolean;
|
|
@@ -15125,7 +15907,7 @@ export declare const zCreateTimeEntryResponse: z.ZodObject<{
|
|
|
15125
15907
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15126
15908
|
currency: z.ZodNullable<z.ZodString>;
|
|
15127
15909
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15128
|
-
|
|
15910
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15129
15911
|
start_time: z.ZodISODateTime;
|
|
15130
15912
|
end_time: z.ZodISODateTime;
|
|
15131
15913
|
created_at: z.ZodISODateTime;
|
|
@@ -15153,9 +15935,9 @@ export declare const zDeleteTimeEntryPath: z.ZodObject<{
|
|
|
15153
15935
|
export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
15154
15936
|
id: z.ZodString;
|
|
15155
15937
|
user_id: z.ZodString;
|
|
15156
|
-
|
|
15938
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15157
15939
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15158
|
-
|
|
15940
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15159
15941
|
state: z.ZodNullable<z.ZodString>;
|
|
15160
15942
|
description: z.ZodNullable<z.ZodString>;
|
|
15161
15943
|
clock_punched: z.ZodBoolean;
|
|
@@ -15175,7 +15957,7 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
|
15175
15957
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15176
15958
|
currency: z.ZodNullable<z.ZodString>;
|
|
15177
15959
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15178
|
-
|
|
15960
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15179
15961
|
start_time: z.ZodISODateTime;
|
|
15180
15962
|
end_time: z.ZodISODateTime;
|
|
15181
15963
|
created_at: z.ZodISODateTime;
|
|
@@ -15195,11 +15977,11 @@ export declare const zDeleteTimeEntryResponse: z.ZodObject<{
|
|
|
15195
15977
|
total_hours: z.ZodNumber;
|
|
15196
15978
|
}, z.core.$strip>;
|
|
15197
15979
|
export declare const zUpdateTimeEntryBody: z.ZodObject<{
|
|
15198
|
-
|
|
15980
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15199
15981
|
start_time: z.ZodISODateTime;
|
|
15200
15982
|
end_time: z.ZodISODateTime;
|
|
15201
15983
|
job_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15202
|
-
|
|
15984
|
+
timekeeping_timecode_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15203
15985
|
state: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15204
15986
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
15205
15987
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -15215,9 +15997,9 @@ export declare const zUpdateTimeEntryPath: z.ZodObject<{
|
|
|
15215
15997
|
export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
15216
15998
|
id: z.ZodString;
|
|
15217
15999
|
user_id: z.ZodString;
|
|
15218
|
-
|
|
16000
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15219
16001
|
job_id: z.ZodNullable<z.ZodString>;
|
|
15220
|
-
|
|
16002
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
15221
16003
|
state: z.ZodNullable<z.ZodString>;
|
|
15222
16004
|
description: z.ZodNullable<z.ZodString>;
|
|
15223
16005
|
clock_punched: z.ZodBoolean;
|
|
@@ -15237,7 +16019,7 @@ export declare const zUpdateTimeEntryResponse: z.ZodObject<{
|
|
|
15237
16019
|
hourly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
15238
16020
|
currency: z.ZodNullable<z.ZodString>;
|
|
15239
16021
|
hourly_rate_src_type: z.ZodNullable<z.ZodString>;
|
|
15240
|
-
|
|
16022
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15241
16023
|
start_time: z.ZodISODateTime;
|
|
15242
16024
|
end_time: z.ZodISODateTime;
|
|
15243
16025
|
created_at: z.ZodISODateTime;
|
|
@@ -15629,45 +16411,6 @@ export declare const zCreateTimecodeResponse: z.ZodObject<{
|
|
|
15629
16411
|
created_at: z.ZodISODateTime;
|
|
15630
16412
|
updated_at: z.ZodISODateTime;
|
|
15631
16413
|
}, z.core.$strip>;
|
|
15632
|
-
export declare const zTerminateTimecodeBody: z.ZodObject<{
|
|
15633
|
-
termination_date: z.ZodOptional<z.ZodISODate>;
|
|
15634
|
-
}, z.core.$strip>;
|
|
15635
|
-
export declare const zTerminateTimecodePath: z.ZodObject<{
|
|
15636
|
-
id: z.ZodString;
|
|
15637
|
-
}, z.core.$strip>;
|
|
15638
|
-
/**
|
|
15639
|
-
* Success
|
|
15640
|
-
*/
|
|
15641
|
-
export declare const zTerminateTimecodeResponse: z.ZodObject<{
|
|
15642
|
-
id: z.ZodString;
|
|
15643
|
-
name: z.ZodString;
|
|
15644
|
-
description: z.ZodNullable<z.ZodString>;
|
|
15645
|
-
description_is_required: z.ZodBoolean;
|
|
15646
|
-
billable: z.ZodBoolean;
|
|
15647
|
-
overtime_eligible: z.ZodBoolean;
|
|
15648
|
-
unpaid: z.ZodBoolean;
|
|
15649
|
-
holiday: z.ZodBoolean;
|
|
15650
|
-
pto: z.ZodBoolean;
|
|
15651
|
-
safety: z.ZodBoolean;
|
|
15652
|
-
lunch_shortcut: z.ZodBoolean;
|
|
15653
|
-
break_shortcut: z.ZodBoolean;
|
|
15654
|
-
pwa: z.ZodBoolean;
|
|
15655
|
-
rest_and_recovery: z.ZodBoolean;
|
|
15656
|
-
incentive_pay_eligible: z.ZodBoolean;
|
|
15657
|
-
restricted_to: z.ZodEnum<{
|
|
15658
|
-
none: "none";
|
|
15659
|
-
job: "job";
|
|
15660
|
-
non_job: "non_job";
|
|
15661
|
-
job_with_timecode: "job_with_timecode";
|
|
15662
|
-
}>;
|
|
15663
|
-
default_for_company_id: z.ZodNullable<z.ZodString>;
|
|
15664
|
-
valid_from: z.ZodISODateTime;
|
|
15665
|
-
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15666
|
-
transaction_from: z.ZodISODateTime;
|
|
15667
|
-
transaction_to: z.ZodNullable<z.ZodISODateTime>;
|
|
15668
|
-
created_at: z.ZodISODateTime;
|
|
15669
|
-
updated_at: z.ZodISODateTime;
|
|
15670
|
-
}, z.core.$strip>;
|
|
15671
16414
|
export declare const zGetTimecodePath: z.ZodObject<{
|
|
15672
16415
|
id: z.ZodString;
|
|
15673
16416
|
}, z.core.$strip>;
|
|
@@ -15768,9 +16511,9 @@ export declare const zUpdateTimecodeResponse: z.ZodObject<{
|
|
|
15768
16511
|
updated_at: z.ZodISODateTime;
|
|
15769
16512
|
}, z.core.$strip>;
|
|
15770
16513
|
export declare const zListJobTimeCardDaysQuery: z.ZodObject<{
|
|
15771
|
-
'filter[
|
|
16514
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
15772
16515
|
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
15773
|
-
'filter[
|
|
16516
|
+
'filter[timekeeping_pay_period_id]': z.ZodOptional<z.ZodString>;
|
|
15774
16517
|
'filter[date][gte]': z.ZodOptional<z.ZodISODate>;
|
|
15775
16518
|
'filter[date][lte]': z.ZodOptional<z.ZodISODate>;
|
|
15776
16519
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -15800,11 +16543,11 @@ export declare const zListJobTimeCardDaysResponse: z.ZodObject<{
|
|
|
15800
16543
|
}, z.core.$strip>;
|
|
15801
16544
|
data: z.ZodArray<z.ZodObject<{
|
|
15802
16545
|
id: z.ZodString;
|
|
15803
|
-
|
|
16546
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
15804
16547
|
job_id: z.ZodString;
|
|
15805
|
-
|
|
16548
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15806
16549
|
user_id: z.ZodString;
|
|
15807
|
-
|
|
16550
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15808
16551
|
date: z.ZodISODate;
|
|
15809
16552
|
minutes_worked: z.ZodInt;
|
|
15810
16553
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -15892,11 +16635,11 @@ export declare const zGetJobTimeCardDayPath: z.ZodObject<{
|
|
|
15892
16635
|
*/
|
|
15893
16636
|
export declare const zGetJobTimeCardDayResponse: z.ZodObject<{
|
|
15894
16637
|
id: z.ZodString;
|
|
15895
|
-
|
|
16638
|
+
timekeeping_job_time_card_id: z.ZodString;
|
|
15896
16639
|
job_id: z.ZodString;
|
|
15897
|
-
|
|
16640
|
+
timekeeping_time_card_id: z.ZodString;
|
|
15898
16641
|
user_id: z.ZodString;
|
|
15899
|
-
|
|
16642
|
+
timekeeping_pay_period_id: z.ZodString;
|
|
15900
16643
|
date: z.ZodISODate;
|
|
15901
16644
|
minutes_worked: z.ZodInt;
|
|
15902
16645
|
paid_minutes_worked: z.ZodInt;
|
|
@@ -15991,7 +16734,7 @@ export declare const zCreateManagerTimeEntryApprovalPath: z.ZodObject<{
|
|
|
15991
16734
|
*/
|
|
15992
16735
|
export declare const zCreateManagerTimeEntryApprovalResponse: z.ZodObject<{
|
|
15993
16736
|
id: z.ZodString;
|
|
15994
|
-
|
|
16737
|
+
timekeeping_time_entry_id: z.ZodString;
|
|
15995
16738
|
time_card_approval_id: z.ZodNullable<z.ZodString>;
|
|
15996
16739
|
status: z.ZodEnum<{
|
|
15997
16740
|
pending: "pending";
|
|
@@ -16140,8 +16883,8 @@ export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
|
|
|
16140
16883
|
}>;
|
|
16141
16884
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16142
16885
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16143
|
-
|
|
16144
|
-
|
|
16886
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16887
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16145
16888
|
valid_from: z.ZodISODateTime;
|
|
16146
16889
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16147
16890
|
created_at: z.ZodISODateTime;
|
|
@@ -16184,8 +16927,8 @@ export declare const zListPayPeriodConfigHistoryResponse: z.ZodObject<{
|
|
|
16184
16927
|
}>;
|
|
16185
16928
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16186
16929
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16187
|
-
|
|
16188
|
-
|
|
16930
|
+
paid_after_holiday: z.ZodBoolean;
|
|
16931
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16189
16932
|
valid_from: z.ZodISODateTime;
|
|
16190
16933
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16191
16934
|
created_at: z.ZodISODateTime;
|
|
@@ -16421,8 +17164,8 @@ export declare const zListPayPeriodConfigsResponse: z.ZodObject<{
|
|
|
16421
17164
|
}>;
|
|
16422
17165
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16423
17166
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16424
|
-
|
|
16425
|
-
|
|
17167
|
+
paid_after_holiday: z.ZodBoolean;
|
|
17168
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16426
17169
|
valid_from: z.ZodISODateTime;
|
|
16427
17170
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16428
17171
|
created_at: z.ZodISODateTime;
|
|
@@ -16471,14 +17214,14 @@ export declare const zGetPayPeriodConfigResponse: z.ZodObject<{
|
|
|
16471
17214
|
}>;
|
|
16472
17215
|
actuals_enabled: z.ZodNullable<z.ZodBoolean>;
|
|
16473
17216
|
requires_external_map_contributor: z.ZodBoolean;
|
|
16474
|
-
|
|
16475
|
-
|
|
17217
|
+
paid_after_holiday: z.ZodBoolean;
|
|
17218
|
+
demo: z.ZodNullable<z.ZodBoolean>;
|
|
16476
17219
|
valid_from: z.ZodISODateTime;
|
|
16477
17220
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
16478
17221
|
created_at: z.ZodISODateTime;
|
|
16479
17222
|
}, z.core.$strip>;
|
|
16480
17223
|
export declare const zListTimeCardActualsQuery: z.ZodObject<{
|
|
16481
|
-
'filter[
|
|
17224
|
+
'filter[timekeeping_time_card_id]': z.ZodOptional<z.ZodString>;
|
|
16482
17225
|
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16483
17226
|
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
16484
17227
|
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
@@ -16506,7 +17249,7 @@ export declare const zListTimeCardActualsResponse: z.ZodObject<{
|
|
|
16506
17249
|
}, z.core.$strip>>;
|
|
16507
17250
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16508
17251
|
id: z.ZodString;
|
|
16509
|
-
|
|
17252
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16510
17253
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16511
17254
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16512
17255
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -16565,7 +17308,7 @@ export declare const zGetTimeCardActualPath: z.ZodObject<{
|
|
|
16565
17308
|
*/
|
|
16566
17309
|
export declare const zGetTimeCardActualResponse: z.ZodObject<{
|
|
16567
17310
|
id: z.ZodString;
|
|
16568
|
-
|
|
17311
|
+
timekeeping_time_card_id: z.ZodString;
|
|
16569
17312
|
gross_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16570
17313
|
net_pay_cents: z.ZodNullable<z.ZodString>;
|
|
16571
17314
|
reimbursements_cents: z.ZodNullable<z.ZodString>;
|
|
@@ -16718,7 +17461,7 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
16718
17461
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16719
17462
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16720
17463
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16721
|
-
|
|
17464
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16722
17465
|
}, z.core.$strip>>;
|
|
16723
17466
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16724
17467
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16733,7 +17476,7 @@ export declare const zListUserCompanyScheduledChangesResponse: z.ZodObject<{
|
|
|
16733
17476
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16734
17477
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16735
17478
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16736
|
-
|
|
17479
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16737
17480
|
}, z.core.$strip>>>;
|
|
16738
17481
|
}, z.core.$strip>;
|
|
16739
17482
|
export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
|
|
@@ -16748,7 +17491,7 @@ export declare const zCreateUserCompanyScheduledChangeBody: z.ZodObject<{
|
|
|
16748
17491
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16749
17492
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16750
17493
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16751
|
-
|
|
17494
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16752
17495
|
}, z.core.$strip>;
|
|
16753
17496
|
export declare const zCreateUserCompanyScheduledChangePath: z.ZodObject<{
|
|
16754
17497
|
user_id: z.ZodString;
|
|
@@ -16772,7 +17515,7 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
16772
17515
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16773
17516
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16774
17517
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16775
|
-
|
|
17518
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16776
17519
|
}, z.core.$strip>>;
|
|
16777
17520
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16778
17521
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16787,7 +17530,7 @@ export declare const zCreateUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
16787
17530
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16788
17531
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16789
17532
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16790
|
-
|
|
17533
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16791
17534
|
}, z.core.$strip>>>;
|
|
16792
17535
|
}, z.core.$strip>;
|
|
16793
17536
|
export declare const zCancelUserCompanyScheduledChangePath: z.ZodObject<{
|
|
@@ -16813,7 +17556,7 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
16813
17556
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16814
17557
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16815
17558
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16816
|
-
|
|
17559
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16817
17560
|
}, z.core.$strip>>;
|
|
16818
17561
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16819
17562
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16828,7 +17571,7 @@ export declare const zCancelUserCompanyScheduledChangeResponse: z.ZodObject<{
|
|
|
16828
17571
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16829
17572
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16830
17573
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16831
|
-
|
|
17574
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16832
17575
|
}, z.core.$strip>>>;
|
|
16833
17576
|
}, z.core.$strip>;
|
|
16834
17577
|
export declare const zUpdateScheduledChangeBody: z.ZodObject<{
|
|
@@ -16843,7 +17586,7 @@ export declare const zUpdateScheduledChangeBody: z.ZodObject<{
|
|
|
16843
17586
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16844
17587
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16845
17588
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16846
|
-
|
|
17589
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16847
17590
|
}, z.core.$strip>;
|
|
16848
17591
|
export declare const zUpdateScheduledChangePath: z.ZodObject<{
|
|
16849
17592
|
user_id: z.ZodString;
|
|
@@ -16868,7 +17611,7 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
|
|
|
16868
17611
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16869
17612
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16870
17613
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16871
|
-
|
|
17614
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16872
17615
|
}, z.core.$strip>>;
|
|
16873
17616
|
scheduled_changes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
16874
17617
|
id: z.ZodOptional<z.ZodString>;
|
|
@@ -16883,7 +17626,7 @@ export declare const zUpdateScheduledChangeResponse: z.ZodObject<{
|
|
|
16883
17626
|
pto_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16884
17627
|
holiday_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16885
17628
|
training_annual_minutes: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
16886
|
-
|
|
17629
|
+
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
16887
17630
|
}, z.core.$strip>>>;
|
|
16888
17631
|
}, z.core.$strip>;
|
|
16889
17632
|
export declare const zCreateScheduledTerminationBody: z.ZodObject<{
|
|
@@ -16934,6 +17677,10 @@ export declare const zCreateScheduledTerminationResponse: z.ZodObject<{
|
|
|
16934
17677
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
16935
17678
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
16936
17679
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
17680
|
+
employment_window: z.ZodObject<{
|
|
17681
|
+
valid_from: z.ZodISODateTime;
|
|
17682
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
17683
|
+
}, z.core.$strip>;
|
|
16937
17684
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
16938
17685
|
roles: z.ZodArray<z.ZodString>;
|
|
16939
17686
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17054,6 +17801,10 @@ export declare const zCancelUserCompanyScheduledTerminationResponse: z.ZodObject
|
|
|
17054
17801
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17055
17802
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17056
17803
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
17804
|
+
employment_window: z.ZodObject<{
|
|
17805
|
+
valid_from: z.ZodISODateTime;
|
|
17806
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
17807
|
+
}, z.core.$strip>;
|
|
17057
17808
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17058
17809
|
roles: z.ZodArray<z.ZodString>;
|
|
17059
17810
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17193,6 +17944,10 @@ export declare const zCreateCompanyResponse: z.ZodObject<{
|
|
|
17193
17944
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17194
17945
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17195
17946
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
17947
|
+
employment_window: z.ZodObject<{
|
|
17948
|
+
valid_from: z.ZodISODateTime;
|
|
17949
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
17950
|
+
}, z.core.$strip>;
|
|
17196
17951
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17197
17952
|
roles: z.ZodArray<z.ZodString>;
|
|
17198
17953
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17312,6 +18067,10 @@ export declare const zRemoveUserFromCompanyResponse: z.ZodObject<{
|
|
|
17312
18067
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17313
18068
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17314
18069
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18070
|
+
employment_window: z.ZodObject<{
|
|
18071
|
+
valid_from: z.ZodISODateTime;
|
|
18072
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18073
|
+
}, z.core.$strip>;
|
|
17315
18074
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17316
18075
|
roles: z.ZodArray<z.ZodString>;
|
|
17317
18076
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17445,6 +18204,10 @@ export declare const zUpdateCompanyResponse: z.ZodObject<{
|
|
|
17445
18204
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17446
18205
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17447
18206
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18207
|
+
employment_window: z.ZodObject<{
|
|
18208
|
+
valid_from: z.ZodISODateTime;
|
|
18209
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18210
|
+
}, z.core.$strip>;
|
|
17448
18211
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17449
18212
|
roles: z.ZodArray<z.ZodString>;
|
|
17450
18213
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17588,6 +18351,10 @@ export declare const zListUsersResponse: z.ZodObject<{
|
|
|
17588
18351
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17589
18352
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17590
18353
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18354
|
+
employment_window: z.ZodObject<{
|
|
18355
|
+
valid_from: z.ZodISODateTime;
|
|
18356
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18357
|
+
}, z.core.$strip>;
|
|
17591
18358
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17592
18359
|
roles: z.ZodArray<z.ZodString>;
|
|
17593
18360
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17678,7 +18445,6 @@ export declare const zCreateUserBody: z.ZodObject<{
|
|
|
17678
18445
|
city: z.ZodOptional<z.ZodString>;
|
|
17679
18446
|
state: z.ZodOptional<z.ZodString>;
|
|
17680
18447
|
birth_date: z.ZodOptional<z.ZodString>;
|
|
17681
|
-
external_id: z.ZodOptional<z.ZodString>;
|
|
17682
18448
|
dol_apprentice_no: z.ZodOptional<z.ZodString>;
|
|
17683
18449
|
winda_id: z.ZodOptional<z.ZodString>;
|
|
17684
18450
|
linkedin_url: z.ZodOptional<z.ZodString>;
|
|
@@ -17819,6 +18585,10 @@ export declare const zCreateUserResponse: z.ZodObject<{
|
|
|
17819
18585
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17820
18586
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17821
18587
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18588
|
+
employment_window: z.ZodObject<{
|
|
18589
|
+
valid_from: z.ZodISODateTime;
|
|
18590
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18591
|
+
}, z.core.$strip>;
|
|
17822
18592
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17823
18593
|
roles: z.ZodArray<z.ZodString>;
|
|
17824
18594
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -17937,6 +18707,10 @@ export declare const zGetUserResponse: z.ZodObject<{
|
|
|
17937
18707
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
17938
18708
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
17939
18709
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18710
|
+
employment_window: z.ZodObject<{
|
|
18711
|
+
valid_from: z.ZodISODateTime;
|
|
18712
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18713
|
+
}, z.core.$strip>;
|
|
17940
18714
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
17941
18715
|
roles: z.ZodArray<z.ZodString>;
|
|
17942
18716
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18069,6 +18843,10 @@ export declare const zUpdateUserResponse: z.ZodObject<{
|
|
|
18069
18843
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
18070
18844
|
hire_date: z.ZodNullable<z.ZodString>;
|
|
18071
18845
|
termination_date: z.ZodNullable<z.ZodString>;
|
|
18846
|
+
employment_window: z.ZodObject<{
|
|
18847
|
+
valid_from: z.ZodISODateTime;
|
|
18848
|
+
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18849
|
+
}, z.core.$strip>;
|
|
18072
18850
|
manager_user_id: z.ZodNullable<z.ZodString>;
|
|
18073
18851
|
roles: z.ZodArray<z.ZodString>;
|
|
18074
18852
|
company_user_pwa_info: z.ZodNullable<z.ZodObject<{
|
|
@@ -18216,7 +18994,7 @@ export declare const zListWageDeterminationsResponse: z.ZodObject<{
|
|
|
18216
18994
|
modification_number: z.ZodInt;
|
|
18217
18995
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
18218
18996
|
publication_date: z.ZodISODate;
|
|
18219
|
-
|
|
18997
|
+
boundaries_region_id: z.ZodString;
|
|
18220
18998
|
valid_from: z.ZodISODateTime;
|
|
18221
18999
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18222
19000
|
created_at: z.ZodISODateTime;
|
|
@@ -18236,7 +19014,7 @@ export declare const zGetWageDeterminationResponse: z.ZodObject<{
|
|
|
18236
19014
|
modification_number: z.ZodInt;
|
|
18237
19015
|
superseded_by_wage_determination_id: z.ZodNullable<z.ZodString>;
|
|
18238
19016
|
publication_date: z.ZodISODate;
|
|
18239
|
-
|
|
19017
|
+
boundaries_region_id: z.ZodString;
|
|
18240
19018
|
valid_from: z.ZodISODateTime;
|
|
18241
19019
|
valid_to: z.ZodNullable<z.ZodISODateTime>;
|
|
18242
19020
|
created_at: z.ZodISODateTime;
|
|
@@ -18265,7 +19043,7 @@ export declare const zListWorkTypesResponse: z.ZodObject<{
|
|
|
18265
19043
|
data: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
18266
19044
|
id: z.ZodString;
|
|
18267
19045
|
value: z.ZodString;
|
|
18268
|
-
|
|
19046
|
+
verified: z.ZodBoolean;
|
|
18269
19047
|
scoped_to_company_id: z.ZodNullable<z.ZodString>;
|
|
18270
19048
|
specific_to_site_type: z.ZodNullable<z.ZodString>;
|
|
18271
19049
|
created_at: z.ZodISODateTime;
|