@dsptch-work/api-client 0.17.0 → 0.18.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 +42 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +90 -1
- package/dist/gen/sdk.gen.js +131 -0
- package/dist/gen/types.gen.d.ts +654 -2
- package/dist/gen/zod.gen.d.ts +567 -0
- package/dist/gen/zod.gen.js +268 -1
- package/package.json +1 -1
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -2042,6 +2042,11 @@ export declare const zJobParameters: z.ZodObject<{
|
|
|
2042
2042
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2043
2043
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2044
2044
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2045
|
+
production_tracking_kind: z.ZodOptional<z.ZodEnum<{
|
|
2046
|
+
none: "none";
|
|
2047
|
+
feature: "feature";
|
|
2048
|
+
quantity: "quantity";
|
|
2049
|
+
}>>;
|
|
2045
2050
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2046
2051
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
2047
2052
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2126,6 +2131,11 @@ export declare const zJobUpdateParameters: z.ZodIntersection<z.ZodObject<{
|
|
|
2126
2131
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2127
2132
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2128
2133
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
2134
|
+
production_tracking_kind: z.ZodOptional<z.ZodEnum<{
|
|
2135
|
+
none: "none";
|
|
2136
|
+
feature: "feature";
|
|
2137
|
+
quantity: "quantity";
|
|
2138
|
+
}>>;
|
|
2129
2139
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
2130
2140
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
2131
2141
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
@@ -2548,6 +2558,19 @@ export declare const zWorkerTimeCardApprovalParameters: z.ZodObject<{
|
|
|
2548
2558
|
approved: "approved";
|
|
2549
2559
|
}>;
|
|
2550
2560
|
}, z.core.$strip>;
|
|
2561
|
+
/**
|
|
2562
|
+
* One clock-in by a worker — open (`active`) from clock-in until clock-out, and retained afterwards as the record that the session happened. A worker holds at most one active session at a time.
|
|
2563
|
+
*/
|
|
2564
|
+
export declare const zTimeSessionResponseObject: z.ZodObject<{
|
|
2565
|
+
id: z.ZodString;
|
|
2566
|
+
user_id: z.ZodString;
|
|
2567
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
2568
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
2569
|
+
active: z.ZodBoolean;
|
|
2570
|
+
start_time: z.ZodISODateTime;
|
|
2571
|
+
created_at: z.ZodISODateTime;
|
|
2572
|
+
updated_at: z.ZodISODateTime;
|
|
2573
|
+
}, z.core.$strip>;
|
|
2551
2574
|
/**
|
|
2552
2575
|
* Request body for locking or unlocking a time card.
|
|
2553
2576
|
*/
|
|
@@ -4105,6 +4128,11 @@ export declare const zJobResponseObject: z.ZodObject<{
|
|
|
4105
4128
|
tracks_feature_allocations: z.ZodBoolean;
|
|
4106
4129
|
requires_feature_allocation: z.ZodBoolean;
|
|
4107
4130
|
max_one_feature_allocation: z.ZodBoolean;
|
|
4131
|
+
production_tracking_kind: z.ZodEnum<{
|
|
4132
|
+
none: "none";
|
|
4133
|
+
feature: "feature";
|
|
4134
|
+
quantity: "quantity";
|
|
4135
|
+
}>;
|
|
4108
4136
|
}, z.core.$strip>;
|
|
4109
4137
|
/**
|
|
4110
4138
|
* A spot to be filled on a job — one worker's assignment and the unit against which they track time, carrying the schedule window, assigned worker, function, and the planned pay and fringe rates (including PWA prevailing-wage compliance rates). Always accessed nested under a job.
|
|
@@ -4834,6 +4862,32 @@ export declare const zTimeCardsResponseObject: z.ZodObject<{
|
|
|
4834
4862
|
region_ids: z.ZodArray<z.ZodString>;
|
|
4835
4863
|
}, z.core.$strip>>;
|
|
4836
4864
|
}, z.core.$strip>;
|
|
4865
|
+
/**
|
|
4866
|
+
* A page of time sessions, with pagination metadata and navigation links.
|
|
4867
|
+
*/
|
|
4868
|
+
export declare const zTimeSessionsResponseObject: z.ZodObject<{
|
|
4869
|
+
meta: z.ZodObject<{
|
|
4870
|
+
page: z.ZodObject<{
|
|
4871
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
4872
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
4873
|
+
}, z.core.$strip>;
|
|
4874
|
+
}, z.core.$strip>;
|
|
4875
|
+
links: z.ZodObject<{
|
|
4876
|
+
self: z.ZodString;
|
|
4877
|
+
first: z.ZodNullable<z.ZodString>;
|
|
4878
|
+
next: z.ZodNullable<z.ZodString>;
|
|
4879
|
+
}, z.core.$strip>;
|
|
4880
|
+
data: z.ZodArray<z.ZodObject<{
|
|
4881
|
+
id: z.ZodString;
|
|
4882
|
+
user_id: z.ZodString;
|
|
4883
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
4884
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
4885
|
+
active: z.ZodBoolean;
|
|
4886
|
+
start_time: z.ZodISODateTime;
|
|
4887
|
+
created_at: z.ZodISODateTime;
|
|
4888
|
+
updated_at: z.ZodISODateTime;
|
|
4889
|
+
}, z.core.$strip>>;
|
|
4890
|
+
}, z.core.$strip>;
|
|
4837
4891
|
/**
|
|
4838
4892
|
* A page of payroll runs, with pagination metadata and navigation links.
|
|
4839
4893
|
*/
|
|
@@ -5108,6 +5162,7 @@ export declare const zLaborRateResponseObject: z.ZodObject<{
|
|
|
5108
5162
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
5109
5163
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
5110
5164
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
5165
|
+
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
5111
5166
|
created_at: z.ZodISODateTime;
|
|
5112
5167
|
updated_at: z.ZodISODateTime;
|
|
5113
5168
|
}, z.core.$strip>;
|
|
@@ -5136,6 +5191,216 @@ export declare const zLaborRatesResponseObject: z.ZodObject<{
|
|
|
5136
5191
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
5137
5192
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
5138
5193
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
5194
|
+
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
5195
|
+
created_at: z.ZodISODateTime;
|
|
5196
|
+
updated_at: z.ZodISODateTime;
|
|
5197
|
+
}, z.core.$strip>>;
|
|
5198
|
+
}, z.core.$strip>;
|
|
5199
|
+
/**
|
|
5200
|
+
* A DOL labor-classification schedule within one wage determination; its labor rates and reference items share this schedule boundary.
|
|
5201
|
+
*/
|
|
5202
|
+
export declare const zWageClassificationResponseObject: z.ZodObject<{
|
|
5203
|
+
id: z.ZodString;
|
|
5204
|
+
wage_determination_id: z.ZodString;
|
|
5205
|
+
identifier: z.ZodString;
|
|
5206
|
+
date: z.ZodISODate;
|
|
5207
|
+
footnote: z.ZodNullable<z.ZodString>;
|
|
5208
|
+
subheader: z.ZodNullable<z.ZodString>;
|
|
5209
|
+
created_at: z.ZodISODateTime;
|
|
5210
|
+
updated_at: z.ZodISODateTime;
|
|
5211
|
+
}, z.core.$strip>;
|
|
5212
|
+
/**
|
|
5213
|
+
* A page of a wage determination's classification schedules, with pagination metadata and navigation links.
|
|
5214
|
+
*/
|
|
5215
|
+
export declare const zWageClassificationsResponseObject: z.ZodObject<{
|
|
5216
|
+
meta: z.ZodObject<{
|
|
5217
|
+
page: z.ZodObject<{
|
|
5218
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
5219
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
5220
|
+
}, z.core.$strip>;
|
|
5221
|
+
}, z.core.$strip>;
|
|
5222
|
+
links: z.ZodObject<{
|
|
5223
|
+
self: z.ZodString;
|
|
5224
|
+
first: z.ZodNullable<z.ZodString>;
|
|
5225
|
+
next: z.ZodNullable<z.ZodString>;
|
|
5226
|
+
}, z.core.$strip>;
|
|
5227
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5228
|
+
id: z.ZodString;
|
|
5229
|
+
wage_determination_id: z.ZodString;
|
|
5230
|
+
identifier: z.ZodString;
|
|
5231
|
+
date: z.ZodISODate;
|
|
5232
|
+
footnote: z.ZodNullable<z.ZodString>;
|
|
5233
|
+
subheader: z.ZodNullable<z.ZodString>;
|
|
5234
|
+
created_at: z.ZodISODateTime;
|
|
5235
|
+
updated_at: z.ZodISODateTime;
|
|
5236
|
+
}, z.core.$strip>>;
|
|
5237
|
+
}, z.core.$strip>;
|
|
5238
|
+
/**
|
|
5239
|
+
* A Davis-Bacon construction category assigned to one wage determination.
|
|
5240
|
+
*/
|
|
5241
|
+
export declare const zConstructionTypeResponseObject: z.ZodObject<{
|
|
5242
|
+
id: z.ZodString;
|
|
5243
|
+
wage_determination_id: z.ZodString;
|
|
5244
|
+
construction_type: z.ZodEnum<{
|
|
5245
|
+
BUILDING: "BUILDING";
|
|
5246
|
+
HEAVY: "HEAVY";
|
|
5247
|
+
HIGHWAY: "HIGHWAY";
|
|
5248
|
+
RESIDENTIAL: "RESIDENTIAL";
|
|
5249
|
+
}>;
|
|
5250
|
+
created_at: z.ZodISODateTime;
|
|
5251
|
+
updated_at: z.ZodISODateTime;
|
|
5252
|
+
}, z.core.$strip>;
|
|
5253
|
+
/**
|
|
5254
|
+
* A page of a wage determination's construction categories, with pagination metadata and navigation links.
|
|
5255
|
+
*/
|
|
5256
|
+
export declare const zConstructionTypesResponseObject: z.ZodObject<{
|
|
5257
|
+
meta: z.ZodObject<{
|
|
5258
|
+
page: z.ZodObject<{
|
|
5259
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
5260
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
5261
|
+
}, z.core.$strip>;
|
|
5262
|
+
}, z.core.$strip>;
|
|
5263
|
+
links: z.ZodObject<{
|
|
5264
|
+
self: z.ZodString;
|
|
5265
|
+
first: z.ZodNullable<z.ZodString>;
|
|
5266
|
+
next: z.ZodNullable<z.ZodString>;
|
|
5267
|
+
}, z.core.$strip>;
|
|
5268
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5269
|
+
id: z.ZodString;
|
|
5270
|
+
wage_determination_id: z.ZodString;
|
|
5271
|
+
construction_type: z.ZodEnum<{
|
|
5272
|
+
BUILDING: "BUILDING";
|
|
5273
|
+
HEAVY: "HEAVY";
|
|
5274
|
+
HIGHWAY: "HIGHWAY";
|
|
5275
|
+
RESIDENTIAL: "RESIDENTIAL";
|
|
5276
|
+
}>;
|
|
5277
|
+
created_at: z.ZodISODateTime;
|
|
5278
|
+
updated_at: z.ZodISODateTime;
|
|
5279
|
+
}, z.core.$strip>>;
|
|
5280
|
+
}, z.core.$strip>;
|
|
5281
|
+
/**
|
|
5282
|
+
* A DOL project-type tag attached directly to one wage determination.
|
|
5283
|
+
*/
|
|
5284
|
+
export declare const zProjectTypeResponseObject: z.ZodObject<{
|
|
5285
|
+
id: z.ZodString;
|
|
5286
|
+
wage_determination_id: z.ZodString;
|
|
5287
|
+
project_type: z.ZodString;
|
|
5288
|
+
project_type_subtext: z.ZodNullable<z.ZodString>;
|
|
5289
|
+
created_at: z.ZodISODateTime;
|
|
5290
|
+
updated_at: z.ZodISODateTime;
|
|
5291
|
+
}, z.core.$strip>;
|
|
5292
|
+
/**
|
|
5293
|
+
* A page of project-type tags attached directly to a wage determination, with pagination metadata and navigation links.
|
|
5294
|
+
*/
|
|
5295
|
+
export declare const zProjectTypesResponseObject: z.ZodObject<{
|
|
5296
|
+
meta: z.ZodObject<{
|
|
5297
|
+
page: z.ZodObject<{
|
|
5298
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
5299
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
5300
|
+
}, z.core.$strip>;
|
|
5301
|
+
}, z.core.$strip>;
|
|
5302
|
+
links: z.ZodObject<{
|
|
5303
|
+
self: z.ZodString;
|
|
5304
|
+
first: z.ZodNullable<z.ZodString>;
|
|
5305
|
+
next: z.ZodNullable<z.ZodString>;
|
|
5306
|
+
}, z.core.$strip>;
|
|
5307
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5308
|
+
id: z.ZodString;
|
|
5309
|
+
wage_determination_id: z.ZodString;
|
|
5310
|
+
project_type: z.ZodString;
|
|
5311
|
+
project_type_subtext: z.ZodNullable<z.ZodString>;
|
|
5312
|
+
created_at: z.ZodISODateTime;
|
|
5313
|
+
updated_at: z.ZodISODateTime;
|
|
5314
|
+
}, z.core.$strip>>;
|
|
5315
|
+
}, z.core.$strip>;
|
|
5316
|
+
/**
|
|
5317
|
+
* A link between a wage determination and one geographic boundary where it applies. Includes stable boundary identity metadata but never geometry.
|
|
5318
|
+
*/
|
|
5319
|
+
export declare const zWageDeterminationBoundaryResponseObject: z.ZodObject<{
|
|
5320
|
+
id: z.ZodString;
|
|
5321
|
+
wage_determination_id: z.ZodString;
|
|
5322
|
+
boundary_id: z.ZodString;
|
|
5323
|
+
boundary_type: z.ZodString;
|
|
5324
|
+
name: z.ZodString;
|
|
5325
|
+
source_boundary_id: z.ZodNullable<z.ZodString>;
|
|
5326
|
+
source_geo_id: z.ZodNullable<z.ZodString>;
|
|
5327
|
+
source_unique_id: z.ZodNullable<z.ZodString>;
|
|
5328
|
+
created_at: z.ZodISODateTime;
|
|
5329
|
+
updated_at: z.ZodISODateTime;
|
|
5330
|
+
}, z.core.$strip>;
|
|
5331
|
+
/**
|
|
5332
|
+
* A page of a wage determination's geographic applicability links, with pagination metadata and navigation links.
|
|
5333
|
+
*/
|
|
5334
|
+
export declare const zWageDeterminationBoundariesResponseObject: z.ZodObject<{
|
|
5335
|
+
meta: z.ZodObject<{
|
|
5336
|
+
page: z.ZodObject<{
|
|
5337
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
5338
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
5339
|
+
}, z.core.$strip>;
|
|
5340
|
+
}, z.core.$strip>;
|
|
5341
|
+
links: z.ZodObject<{
|
|
5342
|
+
self: z.ZodString;
|
|
5343
|
+
first: z.ZodNullable<z.ZodString>;
|
|
5344
|
+
next: z.ZodNullable<z.ZodString>;
|
|
5345
|
+
}, z.core.$strip>;
|
|
5346
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5347
|
+
id: z.ZodString;
|
|
5348
|
+
wage_determination_id: z.ZodString;
|
|
5349
|
+
boundary_id: z.ZodString;
|
|
5350
|
+
boundary_type: z.ZodString;
|
|
5351
|
+
name: z.ZodString;
|
|
5352
|
+
source_boundary_id: z.ZodNullable<z.ZodString>;
|
|
5353
|
+
source_geo_id: z.ZodNullable<z.ZodString>;
|
|
5354
|
+
source_unique_id: z.ZodNullable<z.ZodString>;
|
|
5355
|
+
created_at: z.ZodISODateTime;
|
|
5356
|
+
updated_at: z.ZodISODateTime;
|
|
5357
|
+
}, z.core.$strip>>;
|
|
5358
|
+
}, z.core.$strip>;
|
|
5359
|
+
/**
|
|
5360
|
+
* One ordered, lettered item of verbatim fringe-reference prose within a wage-classification schedule.
|
|
5361
|
+
*/
|
|
5362
|
+
export declare const zReferenceItemResponseObject: z.ZodObject<{
|
|
5363
|
+
id: z.ZodString;
|
|
5364
|
+
wage_classification_id: z.ZodString;
|
|
5365
|
+
position: z.ZodInt;
|
|
5366
|
+
letter: z.ZodString;
|
|
5367
|
+
container_type: z.ZodEnum<{
|
|
5368
|
+
footnote: "footnote";
|
|
5369
|
+
premium_pay: "premium_pay";
|
|
5370
|
+
holidays: "holidays";
|
|
5371
|
+
zone_pay: "zone_pay";
|
|
5372
|
+
}>;
|
|
5373
|
+
text: z.ZodString;
|
|
5374
|
+
created_at: z.ZodISODateTime;
|
|
5375
|
+
updated_at: z.ZodISODateTime;
|
|
5376
|
+
}, z.core.$strip>;
|
|
5377
|
+
/**
|
|
5378
|
+
* A page of reference items flattened across every classification schedule in a wage determination, with pagination metadata and navigation links.
|
|
5379
|
+
*/
|
|
5380
|
+
export declare const zReferenceItemsResponseObject: z.ZodObject<{
|
|
5381
|
+
meta: z.ZodObject<{
|
|
5382
|
+
page: z.ZodObject<{
|
|
5383
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
5384
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
5385
|
+
}, z.core.$strip>;
|
|
5386
|
+
}, z.core.$strip>;
|
|
5387
|
+
links: z.ZodObject<{
|
|
5388
|
+
self: z.ZodString;
|
|
5389
|
+
first: z.ZodNullable<z.ZodString>;
|
|
5390
|
+
next: z.ZodNullable<z.ZodString>;
|
|
5391
|
+
}, z.core.$strip>;
|
|
5392
|
+
data: z.ZodArray<z.ZodObject<{
|
|
5393
|
+
id: z.ZodString;
|
|
5394
|
+
wage_classification_id: z.ZodString;
|
|
5395
|
+
position: z.ZodInt;
|
|
5396
|
+
letter: z.ZodString;
|
|
5397
|
+
container_type: z.ZodEnum<{
|
|
5398
|
+
footnote: "footnote";
|
|
5399
|
+
premium_pay: "premium_pay";
|
|
5400
|
+
holidays: "holidays";
|
|
5401
|
+
zone_pay: "zone_pay";
|
|
5402
|
+
}>;
|
|
5403
|
+
text: z.ZodString;
|
|
5139
5404
|
created_at: z.ZodISODateTime;
|
|
5140
5405
|
updated_at: z.ZodISODateTime;
|
|
5141
5406
|
}, z.core.$strip>>;
|
|
@@ -14454,6 +14719,11 @@ export declare const zListJobsQuery: z.ZodObject<{
|
|
|
14454
14719
|
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
14455
14720
|
'filter[project_id]': z.ZodOptional<z.ZodString>;
|
|
14456
14721
|
'filter[status]': z.ZodOptional<z.ZodString>;
|
|
14722
|
+
'filter[production_tracking_kind]': z.ZodOptional<z.ZodEnum<{
|
|
14723
|
+
none: "none";
|
|
14724
|
+
feature: "feature";
|
|
14725
|
+
quantity: "quantity";
|
|
14726
|
+
}>>;
|
|
14457
14727
|
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
14458
14728
|
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
14459
14729
|
page: z.ZodOptional<z.ZodString>;
|
|
@@ -14569,6 +14839,11 @@ export declare const zListJobsResponse: z.ZodObject<{
|
|
|
14569
14839
|
tracks_feature_allocations: z.ZodBoolean;
|
|
14570
14840
|
requires_feature_allocation: z.ZodBoolean;
|
|
14571
14841
|
max_one_feature_allocation: z.ZodBoolean;
|
|
14842
|
+
production_tracking_kind: z.ZodEnum<{
|
|
14843
|
+
none: "none";
|
|
14844
|
+
feature: "feature";
|
|
14845
|
+
quantity: "quantity";
|
|
14846
|
+
}>;
|
|
14572
14847
|
}, z.core.$strip>>;
|
|
14573
14848
|
}, z.core.$strip>;
|
|
14574
14849
|
/**
|
|
@@ -14611,6 +14886,11 @@ export declare const zCreateJobBody: z.ZodObject<{
|
|
|
14611
14886
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14612
14887
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14613
14888
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14889
|
+
production_tracking_kind: z.ZodOptional<z.ZodEnum<{
|
|
14890
|
+
none: "none";
|
|
14891
|
+
feature: "feature";
|
|
14892
|
+
quantity: "quantity";
|
|
14893
|
+
}>>;
|
|
14614
14894
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14615
14895
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
14616
14896
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
@@ -14752,6 +15032,11 @@ export declare const zCreateJobResponse: z.ZodObject<{
|
|
|
14752
15032
|
tracks_feature_allocations: z.ZodBoolean;
|
|
14753
15033
|
requires_feature_allocation: z.ZodBoolean;
|
|
14754
15034
|
max_one_feature_allocation: z.ZodBoolean;
|
|
15035
|
+
production_tracking_kind: z.ZodEnum<{
|
|
15036
|
+
none: "none";
|
|
15037
|
+
feature: "feature";
|
|
15038
|
+
quantity: "quantity";
|
|
15039
|
+
}>;
|
|
14755
15040
|
}, z.core.$strip>;
|
|
14756
15041
|
export declare const zGetJobPath: z.ZodObject<{
|
|
14757
15042
|
id: z.ZodString;
|
|
@@ -14853,6 +15138,11 @@ export declare const zGetJobResponse: z.ZodObject<{
|
|
|
14853
15138
|
tracks_feature_allocations: z.ZodBoolean;
|
|
14854
15139
|
requires_feature_allocation: z.ZodBoolean;
|
|
14855
15140
|
max_one_feature_allocation: z.ZodBoolean;
|
|
15141
|
+
production_tracking_kind: z.ZodEnum<{
|
|
15142
|
+
none: "none";
|
|
15143
|
+
feature: "feature";
|
|
15144
|
+
quantity: "quantity";
|
|
15145
|
+
}>;
|
|
14856
15146
|
}, z.core.$strip>;
|
|
14857
15147
|
export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
14858
15148
|
template_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
@@ -14891,6 +15181,11 @@ export declare const zUpdateJobBody: z.ZodIntersection<z.ZodObject<{
|
|
|
14891
15181
|
tracks_feature_allocations: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14892
15182
|
requires_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
14893
15183
|
max_one_feature_allocation: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
|
|
15184
|
+
production_tracking_kind: z.ZodOptional<z.ZodEnum<{
|
|
15185
|
+
none: "none";
|
|
15186
|
+
feature: "feature";
|
|
15187
|
+
quantity: "quantity";
|
|
15188
|
+
}>>;
|
|
14894
15189
|
job_work_types_attributes: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
14895
15190
|
primary: z.ZodOptional<z.ZodBoolean>;
|
|
14896
15191
|
work_type_id: z.ZodOptional<z.ZodString>;
|
|
@@ -15041,6 +15336,11 @@ export declare const zUpdateJobResponse: z.ZodObject<{
|
|
|
15041
15336
|
tracks_feature_allocations: z.ZodBoolean;
|
|
15042
15337
|
requires_feature_allocation: z.ZodBoolean;
|
|
15043
15338
|
max_one_feature_allocation: z.ZodBoolean;
|
|
15339
|
+
production_tracking_kind: z.ZodEnum<{
|
|
15340
|
+
none: "none";
|
|
15341
|
+
feature: "feature";
|
|
15342
|
+
quantity: "quantity";
|
|
15343
|
+
}>;
|
|
15044
15344
|
}, z.core.$strip>;
|
|
15045
15345
|
/**
|
|
15046
15346
|
* Success
|
|
@@ -21145,6 +21445,65 @@ export declare const zGetTimeCardActualResponse: z.ZodObject<{
|
|
|
21145
21445
|
created_at: z.ZodISODateTime;
|
|
21146
21446
|
updated_at: z.ZodISODateTime;
|
|
21147
21447
|
}, z.core.$strip>;
|
|
21448
|
+
export declare const zListTimeSessionsQuery: z.ZodObject<{
|
|
21449
|
+
'filter[user_id]': z.ZodOptional<z.ZodString>;
|
|
21450
|
+
'filter[job_id]': z.ZodOptional<z.ZodString>;
|
|
21451
|
+
'filter[job_id][null]': z.ZodOptional<z.ZodBoolean>;
|
|
21452
|
+
'filter[active]': z.ZodOptional<z.ZodBoolean>;
|
|
21453
|
+
'filter[start_time][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21454
|
+
'filter[start_time][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21455
|
+
'filter[created_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21456
|
+
'filter[created_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21457
|
+
'filter[updated_at][gte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21458
|
+
'filter[updated_at][lte]': z.ZodOptional<z.ZodISODateTime>;
|
|
21459
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
21460
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
21461
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
21462
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
21463
|
+
page: z.ZodOptional<z.ZodString>;
|
|
21464
|
+
}, z.core.$strip>;
|
|
21465
|
+
/**
|
|
21466
|
+
* Success
|
|
21467
|
+
*/
|
|
21468
|
+
export declare const zListTimeSessionsResponse: z.ZodObject<{
|
|
21469
|
+
meta: z.ZodObject<{
|
|
21470
|
+
page: z.ZodObject<{
|
|
21471
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
21472
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
21473
|
+
}, z.core.$strip>;
|
|
21474
|
+
}, z.core.$strip>;
|
|
21475
|
+
links: z.ZodObject<{
|
|
21476
|
+
self: z.ZodString;
|
|
21477
|
+
first: z.ZodNullable<z.ZodString>;
|
|
21478
|
+
next: z.ZodNullable<z.ZodString>;
|
|
21479
|
+
}, z.core.$strip>;
|
|
21480
|
+
data: z.ZodArray<z.ZodObject<{
|
|
21481
|
+
id: z.ZodString;
|
|
21482
|
+
user_id: z.ZodString;
|
|
21483
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
21484
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
21485
|
+
active: z.ZodBoolean;
|
|
21486
|
+
start_time: z.ZodISODateTime;
|
|
21487
|
+
created_at: z.ZodISODateTime;
|
|
21488
|
+
updated_at: z.ZodISODateTime;
|
|
21489
|
+
}, z.core.$strip>>;
|
|
21490
|
+
}, z.core.$strip>;
|
|
21491
|
+
export declare const zGetTimeSessionPath: z.ZodObject<{
|
|
21492
|
+
id: z.ZodString;
|
|
21493
|
+
}, z.core.$strip>;
|
|
21494
|
+
/**
|
|
21495
|
+
* Success
|
|
21496
|
+
*/
|
|
21497
|
+
export declare const zGetTimeSessionResponse: z.ZodObject<{
|
|
21498
|
+
id: z.ZodString;
|
|
21499
|
+
user_id: z.ZodString;
|
|
21500
|
+
job_id: z.ZodNullable<z.ZodString>;
|
|
21501
|
+
timekeeping_timecode_id: z.ZodNullable<z.ZodString>;
|
|
21502
|
+
active: z.ZodBoolean;
|
|
21503
|
+
start_time: z.ZodISODateTime;
|
|
21504
|
+
created_at: z.ZodISODateTime;
|
|
21505
|
+
updated_at: z.ZodISODateTime;
|
|
21506
|
+
}, z.core.$strip>;
|
|
21148
21507
|
/**
|
|
21149
21508
|
* Success
|
|
21150
21509
|
*/
|
|
@@ -22877,6 +23236,91 @@ export declare const zUpdateUserResponse: z.ZodObject<{
|
|
|
22877
23236
|
}>>>;
|
|
22878
23237
|
}, z.core.$strip>>;
|
|
22879
23238
|
}, z.core.$strip>;
|
|
23239
|
+
export declare const zListBoundariesPath: z.ZodObject<{
|
|
23240
|
+
wage_determination_id: z.ZodString;
|
|
23241
|
+
}, z.core.$strip>;
|
|
23242
|
+
export declare const zListBoundariesQuery: z.ZodObject<{
|
|
23243
|
+
'filter[id]': z.ZodOptional<z.ZodString>;
|
|
23244
|
+
'filter[boundary_id]': z.ZodOptional<z.ZodString>;
|
|
23245
|
+
'filter[name]': z.ZodOptional<z.ZodString>;
|
|
23246
|
+
'filter[boundary_type]': z.ZodOptional<z.ZodString>;
|
|
23247
|
+
'filter[source_boundary_id]': z.ZodOptional<z.ZodString>;
|
|
23248
|
+
'filter[source_geo_id]': z.ZodOptional<z.ZodString>;
|
|
23249
|
+
'filter[source_unique_id]': z.ZodOptional<z.ZodString>;
|
|
23250
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
23251
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
23252
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23253
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23254
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23255
|
+
}, z.core.$strip>;
|
|
23256
|
+
/**
|
|
23257
|
+
* Success
|
|
23258
|
+
*/
|
|
23259
|
+
export declare const zListBoundariesResponse: z.ZodObject<{
|
|
23260
|
+
meta: z.ZodObject<{
|
|
23261
|
+
page: z.ZodObject<{
|
|
23262
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23263
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23264
|
+
}, z.core.$strip>;
|
|
23265
|
+
}, z.core.$strip>;
|
|
23266
|
+
links: z.ZodObject<{
|
|
23267
|
+
self: z.ZodString;
|
|
23268
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23269
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23270
|
+
}, z.core.$strip>;
|
|
23271
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23272
|
+
id: z.ZodString;
|
|
23273
|
+
wage_determination_id: z.ZodString;
|
|
23274
|
+
boundary_id: z.ZodString;
|
|
23275
|
+
boundary_type: z.ZodString;
|
|
23276
|
+
name: z.ZodString;
|
|
23277
|
+
source_boundary_id: z.ZodNullable<z.ZodString>;
|
|
23278
|
+
source_geo_id: z.ZodNullable<z.ZodString>;
|
|
23279
|
+
source_unique_id: z.ZodNullable<z.ZodString>;
|
|
23280
|
+
created_at: z.ZodISODateTime;
|
|
23281
|
+
updated_at: z.ZodISODateTime;
|
|
23282
|
+
}, z.core.$strip>>;
|
|
23283
|
+
}, z.core.$strip>;
|
|
23284
|
+
export declare const zListConstructionTypesPath: z.ZodObject<{
|
|
23285
|
+
wage_determination_id: z.ZodString;
|
|
23286
|
+
}, z.core.$strip>;
|
|
23287
|
+
export declare const zListConstructionTypesQuery: z.ZodObject<{
|
|
23288
|
+
'filter[id]': z.ZodOptional<z.ZodString>;
|
|
23289
|
+
'filter[construction_type]': z.ZodOptional<z.ZodString>;
|
|
23290
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
23291
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
23292
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23293
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23294
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23295
|
+
}, z.core.$strip>;
|
|
23296
|
+
/**
|
|
23297
|
+
* Success
|
|
23298
|
+
*/
|
|
23299
|
+
export declare const zListConstructionTypesResponse: z.ZodObject<{
|
|
23300
|
+
meta: z.ZodObject<{
|
|
23301
|
+
page: z.ZodObject<{
|
|
23302
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23303
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23304
|
+
}, z.core.$strip>;
|
|
23305
|
+
}, z.core.$strip>;
|
|
23306
|
+
links: z.ZodObject<{
|
|
23307
|
+
self: z.ZodString;
|
|
23308
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23309
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23310
|
+
}, z.core.$strip>;
|
|
23311
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23312
|
+
id: z.ZodString;
|
|
23313
|
+
wage_determination_id: z.ZodString;
|
|
23314
|
+
construction_type: z.ZodEnum<{
|
|
23315
|
+
BUILDING: "BUILDING";
|
|
23316
|
+
HEAVY: "HEAVY";
|
|
23317
|
+
HIGHWAY: "HIGHWAY";
|
|
23318
|
+
RESIDENTIAL: "RESIDENTIAL";
|
|
23319
|
+
}>;
|
|
23320
|
+
created_at: z.ZodISODateTime;
|
|
23321
|
+
updated_at: z.ZodISODateTime;
|
|
23322
|
+
}, z.core.$strip>>;
|
|
23323
|
+
}, z.core.$strip>;
|
|
22880
23324
|
export declare const zListLaborRatesPath: z.ZodObject<{
|
|
22881
23325
|
wage_determination_id: z.ZodString;
|
|
22882
23326
|
}, z.core.$strip>;
|
|
@@ -22913,6 +23357,129 @@ export declare const zListLaborRatesResponse: z.ZodObject<{
|
|
|
22913
23357
|
fringe_percentage_rate: z.ZodNullable<z.ZodString>;
|
|
22914
23358
|
fringe_benefit_weekly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
22915
23359
|
fringe_benefit_monthly_rate_cents: z.ZodNullable<z.ZodString>;
|
|
23360
|
+
reference_item_ids: z.ZodArray<z.ZodString>;
|
|
23361
|
+
created_at: z.ZodISODateTime;
|
|
23362
|
+
updated_at: z.ZodISODateTime;
|
|
23363
|
+
}, z.core.$strip>>;
|
|
23364
|
+
}, z.core.$strip>;
|
|
23365
|
+
export declare const zListProjectTypesPath: z.ZodObject<{
|
|
23366
|
+
wage_determination_id: z.ZodString;
|
|
23367
|
+
}, z.core.$strip>;
|
|
23368
|
+
export declare const zListProjectTypesQuery: z.ZodObject<{
|
|
23369
|
+
'filter[id]': z.ZodOptional<z.ZodString>;
|
|
23370
|
+
'filter[project_type]': z.ZodOptional<z.ZodString>;
|
|
23371
|
+
'filter[project_type_subtext]': z.ZodOptional<z.ZodString>;
|
|
23372
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
23373
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
23374
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23375
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23376
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23377
|
+
}, z.core.$strip>;
|
|
23378
|
+
/**
|
|
23379
|
+
* Success
|
|
23380
|
+
*/
|
|
23381
|
+
export declare const zListProjectTypesResponse: z.ZodObject<{
|
|
23382
|
+
meta: z.ZodObject<{
|
|
23383
|
+
page: z.ZodObject<{
|
|
23384
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23385
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23386
|
+
}, z.core.$strip>;
|
|
23387
|
+
}, z.core.$strip>;
|
|
23388
|
+
links: z.ZodObject<{
|
|
23389
|
+
self: z.ZodString;
|
|
23390
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23391
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23392
|
+
}, z.core.$strip>;
|
|
23393
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23394
|
+
id: z.ZodString;
|
|
23395
|
+
wage_determination_id: z.ZodString;
|
|
23396
|
+
project_type: z.ZodString;
|
|
23397
|
+
project_type_subtext: z.ZodNullable<z.ZodString>;
|
|
23398
|
+
created_at: z.ZodISODateTime;
|
|
23399
|
+
updated_at: z.ZodISODateTime;
|
|
23400
|
+
}, z.core.$strip>>;
|
|
23401
|
+
}, z.core.$strip>;
|
|
23402
|
+
export declare const zListReferenceItemsPath: z.ZodObject<{
|
|
23403
|
+
wage_determination_id: z.ZodString;
|
|
23404
|
+
}, z.core.$strip>;
|
|
23405
|
+
export declare const zListReferenceItemsQuery: z.ZodObject<{
|
|
23406
|
+
'filter[id]': z.ZodOptional<z.ZodString>;
|
|
23407
|
+
'filter[wage_classification_id]': z.ZodOptional<z.ZodString>;
|
|
23408
|
+
'filter[position]': z.ZodOptional<z.ZodInt>;
|
|
23409
|
+
'filter[letter]': z.ZodOptional<z.ZodString>;
|
|
23410
|
+
'filter[container_type]': z.ZodOptional<z.ZodString>;
|
|
23411
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
23412
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
23413
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23414
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23415
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23416
|
+
}, z.core.$strip>;
|
|
23417
|
+
/**
|
|
23418
|
+
* Success
|
|
23419
|
+
*/
|
|
23420
|
+
export declare const zListReferenceItemsResponse: z.ZodObject<{
|
|
23421
|
+
meta: z.ZodObject<{
|
|
23422
|
+
page: z.ZodObject<{
|
|
23423
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23424
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23425
|
+
}, z.core.$strip>;
|
|
23426
|
+
}, z.core.$strip>;
|
|
23427
|
+
links: z.ZodObject<{
|
|
23428
|
+
self: z.ZodString;
|
|
23429
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23430
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23431
|
+
}, z.core.$strip>;
|
|
23432
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23433
|
+
id: z.ZodString;
|
|
23434
|
+
wage_classification_id: z.ZodString;
|
|
23435
|
+
position: z.ZodInt;
|
|
23436
|
+
letter: z.ZodString;
|
|
23437
|
+
container_type: z.ZodEnum<{
|
|
23438
|
+
footnote: "footnote";
|
|
23439
|
+
premium_pay: "premium_pay";
|
|
23440
|
+
holidays: "holidays";
|
|
23441
|
+
zone_pay: "zone_pay";
|
|
23442
|
+
}>;
|
|
23443
|
+
text: z.ZodString;
|
|
23444
|
+
created_at: z.ZodISODateTime;
|
|
23445
|
+
updated_at: z.ZodISODateTime;
|
|
23446
|
+
}, z.core.$strip>>;
|
|
23447
|
+
}, z.core.$strip>;
|
|
23448
|
+
export declare const zListWageClassificationsPath: z.ZodObject<{
|
|
23449
|
+
wage_determination_id: z.ZodString;
|
|
23450
|
+
}, z.core.$strip>;
|
|
23451
|
+
export declare const zListWageClassificationsQuery: z.ZodObject<{
|
|
23452
|
+
'filter[id]': z.ZodOptional<z.ZodString>;
|
|
23453
|
+
'filter[identifier]': z.ZodOptional<z.ZodString>;
|
|
23454
|
+
'filter[date]': z.ZodOptional<z.ZodISODate>;
|
|
23455
|
+
filter: z.ZodOptional<z.ZodString>;
|
|
23456
|
+
'filter[unexpected]': z.ZodOptional<z.ZodString>;
|
|
23457
|
+
'page[cursor]': z.ZodOptional<z.ZodString>;
|
|
23458
|
+
'page[limit]': z.ZodDefault<z.ZodOptional<z.ZodInt>>;
|
|
23459
|
+
page: z.ZodOptional<z.ZodString>;
|
|
23460
|
+
}, z.core.$strip>;
|
|
23461
|
+
/**
|
|
23462
|
+
* Success
|
|
23463
|
+
*/
|
|
23464
|
+
export declare const zListWageClassificationsResponse: z.ZodObject<{
|
|
23465
|
+
meta: z.ZodObject<{
|
|
23466
|
+
page: z.ZodObject<{
|
|
23467
|
+
next_cursor: z.ZodNullable<z.ZodString>;
|
|
23468
|
+
current_cursor: z.ZodNullable<z.ZodString>;
|
|
23469
|
+
}, z.core.$strip>;
|
|
23470
|
+
}, z.core.$strip>;
|
|
23471
|
+
links: z.ZodObject<{
|
|
23472
|
+
self: z.ZodString;
|
|
23473
|
+
first: z.ZodNullable<z.ZodString>;
|
|
23474
|
+
next: z.ZodNullable<z.ZodString>;
|
|
23475
|
+
}, z.core.$strip>;
|
|
23476
|
+
data: z.ZodArray<z.ZodObject<{
|
|
23477
|
+
id: z.ZodString;
|
|
23478
|
+
wage_determination_id: z.ZodString;
|
|
23479
|
+
identifier: z.ZodString;
|
|
23480
|
+
date: z.ZodISODate;
|
|
23481
|
+
footnote: z.ZodNullable<z.ZodString>;
|
|
23482
|
+
subheader: z.ZodNullable<z.ZodString>;
|
|
22916
23483
|
created_at: z.ZodISODateTime;
|
|
22917
23484
|
updated_at: z.ZodISODateTime;
|
|
22918
23485
|
}, z.core.$strip>>;
|