@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/types.gen.d.ts
CHANGED
|
@@ -2729,6 +2729,10 @@ export type JobResponseObject = {
|
|
|
2729
2729
|
* Whether time entries on this job are capped at one feature allocation.
|
|
2730
2730
|
*/
|
|
2731
2731
|
max_one_feature_allocation: boolean;
|
|
2732
|
+
/**
|
|
2733
|
+
* How this job records production completions: one of none (opts out), feature (per site feature, e.g. a turbine), or quantity (a unit count, e.g. modules). Locked once any completion exists.
|
|
2734
|
+
*/
|
|
2735
|
+
production_tracking_kind: 'none' | 'feature' | 'quantity';
|
|
2732
2736
|
[key: string]: unknown;
|
|
2733
2737
|
};
|
|
2734
2738
|
/**
|
|
@@ -2889,6 +2893,10 @@ export type JobParameters = {
|
|
|
2889
2893
|
* Whether time entries on this job are capped at one feature allocation; null when unset.
|
|
2890
2894
|
*/
|
|
2891
2895
|
max_one_feature_allocation?: boolean | null;
|
|
2896
|
+
/**
|
|
2897
|
+
* How this job records production completions: one of none (opts out), feature (per site feature, e.g. a turbine), or quantity (a unit count, e.g. modules). Locked once any completion exists. Omit the field to leave the current value unchanged.
|
|
2898
|
+
*/
|
|
2899
|
+
production_tracking_kind?: 'none' | 'feature' | 'quantity';
|
|
2892
2900
|
/**
|
|
2893
2901
|
* Work types (trade or scope categories) to associate with the job; null when none.
|
|
2894
2902
|
*/
|
|
@@ -5341,6 +5349,54 @@ export type TimeCardsResponseObject = {
|
|
|
5341
5349
|
*/
|
|
5342
5350
|
data: Array<TimeCardResponseObject>;
|
|
5343
5351
|
};
|
|
5352
|
+
/**
|
|
5353
|
+
* 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.
|
|
5354
|
+
*/
|
|
5355
|
+
export type TimeSessionResponseObject = {
|
|
5356
|
+
/**
|
|
5357
|
+
* Unique identifier.
|
|
5358
|
+
*/
|
|
5359
|
+
id: string;
|
|
5360
|
+
/**
|
|
5361
|
+
* ID of the worker (user) who clocked in.
|
|
5362
|
+
*/
|
|
5363
|
+
user_id: string;
|
|
5364
|
+
/**
|
|
5365
|
+
* ID of the job the worker clocked in against; null when they clocked in without a job.
|
|
5366
|
+
*/
|
|
5367
|
+
job_id: string | null;
|
|
5368
|
+
/**
|
|
5369
|
+
* ID of the timecode the worker clocked in under; null when none was chosen.
|
|
5370
|
+
*/
|
|
5371
|
+
timekeeping_timecode_id: string | null;
|
|
5372
|
+
/**
|
|
5373
|
+
* Whether the worker is still clocked in on this session. `false` once they clock out; the session keeps its start_time as history.
|
|
5374
|
+
*/
|
|
5375
|
+
active: boolean;
|
|
5376
|
+
/**
|
|
5377
|
+
* When the worker clocked in (ISO 8601).
|
|
5378
|
+
*/
|
|
5379
|
+
start_time: string;
|
|
5380
|
+
/**
|
|
5381
|
+
* When the record was created (ISO 8601).
|
|
5382
|
+
*/
|
|
5383
|
+
created_at: string;
|
|
5384
|
+
/**
|
|
5385
|
+
* When the record was last updated (ISO 8601).
|
|
5386
|
+
*/
|
|
5387
|
+
updated_at: string;
|
|
5388
|
+
};
|
|
5389
|
+
/**
|
|
5390
|
+
* A page of time sessions, with pagination metadata and navigation links.
|
|
5391
|
+
*/
|
|
5392
|
+
export type TimeSessionsResponseObject = {
|
|
5393
|
+
meta: Meta;
|
|
5394
|
+
links: Links;
|
|
5395
|
+
/**
|
|
5396
|
+
* The page of time sessions.
|
|
5397
|
+
*/
|
|
5398
|
+
data: Array<TimeSessionResponseObject>;
|
|
5399
|
+
};
|
|
5344
5400
|
/**
|
|
5345
5401
|
* Request body for locking or unlocking a time card.
|
|
5346
5402
|
*/
|
|
@@ -7994,6 +8050,10 @@ export type LaborRateResponseObject = {
|
|
|
7994
8050
|
* Fringe benefit expressed as a monthly amount, in cents as a decimal string; null when fringe is expressed hourly or as a percentage instead.
|
|
7995
8051
|
*/
|
|
7996
8052
|
fringe_benefit_monthly_rate_cents: string | null;
|
|
8053
|
+
/**
|
|
8054
|
+
* IDs of the reference items this rate cites, in the order their letter tokens appear in the source fringe expression.
|
|
8055
|
+
*/
|
|
8056
|
+
reference_item_ids: Array<string>;
|
|
7997
8057
|
/**
|
|
7998
8058
|
* When the record was created (ISO 8601).
|
|
7999
8059
|
*/
|
|
@@ -8014,6 +8074,234 @@ export type LaborRatesResponseObject = {
|
|
|
8014
8074
|
*/
|
|
8015
8075
|
data: Array<LaborRateResponseObject>;
|
|
8016
8076
|
};
|
|
8077
|
+
/**
|
|
8078
|
+
* A DOL labor-classification schedule within one wage determination; its labor rates and reference items share this schedule boundary.
|
|
8079
|
+
*/
|
|
8080
|
+
export type WageClassificationResponseObject = {
|
|
8081
|
+
/**
|
|
8082
|
+
* Unique identifier.
|
|
8083
|
+
*/
|
|
8084
|
+
id: string;
|
|
8085
|
+
/**
|
|
8086
|
+
* ID of the wage determination that owns this classification schedule.
|
|
8087
|
+
*/
|
|
8088
|
+
wage_determination_id: string;
|
|
8089
|
+
/**
|
|
8090
|
+
* DOL alphanumeric classification identifier, such as ELEC0145-004.
|
|
8091
|
+
*/
|
|
8092
|
+
identifier: string;
|
|
8093
|
+
/**
|
|
8094
|
+
* Date the underlying classification agreement originated.
|
|
8095
|
+
*/
|
|
8096
|
+
date: string;
|
|
8097
|
+
/**
|
|
8098
|
+
* Verbatim schedule-level footnote text; null when none was printed.
|
|
8099
|
+
*/
|
|
8100
|
+
footnote: string | null;
|
|
8101
|
+
/**
|
|
8102
|
+
* Verbatim schedule subheader; null when none was printed.
|
|
8103
|
+
*/
|
|
8104
|
+
subheader: string | null;
|
|
8105
|
+
/**
|
|
8106
|
+
* When the record was created (ISO 8601).
|
|
8107
|
+
*/
|
|
8108
|
+
created_at: string;
|
|
8109
|
+
/**
|
|
8110
|
+
* When the record was last updated (ISO 8601).
|
|
8111
|
+
*/
|
|
8112
|
+
updated_at: string;
|
|
8113
|
+
};
|
|
8114
|
+
/**
|
|
8115
|
+
* A page of a wage determination's classification schedules, with pagination metadata and navigation links.
|
|
8116
|
+
*/
|
|
8117
|
+
export type WageClassificationsResponseObject = {
|
|
8118
|
+
meta: Meta;
|
|
8119
|
+
links: Links;
|
|
8120
|
+
/**
|
|
8121
|
+
* The page of wage classifications.
|
|
8122
|
+
*/
|
|
8123
|
+
data: Array<WageClassificationResponseObject>;
|
|
8124
|
+
};
|
|
8125
|
+
/**
|
|
8126
|
+
* A Davis-Bacon construction category assigned to one wage determination.
|
|
8127
|
+
*/
|
|
8128
|
+
export type ConstructionTypeResponseObject = {
|
|
8129
|
+
/**
|
|
8130
|
+
* Unique identifier.
|
|
8131
|
+
*/
|
|
8132
|
+
id: string;
|
|
8133
|
+
/**
|
|
8134
|
+
* ID of the wage determination carrying this construction category.
|
|
8135
|
+
*/
|
|
8136
|
+
wage_determination_id: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* Davis-Bacon base construction category: BUILDING, HEAVY, HIGHWAY, or RESIDENTIAL.
|
|
8139
|
+
*/
|
|
8140
|
+
construction_type: 'BUILDING' | 'HEAVY' | 'HIGHWAY' | 'RESIDENTIAL';
|
|
8141
|
+
/**
|
|
8142
|
+
* When the record was created (ISO 8601).
|
|
8143
|
+
*/
|
|
8144
|
+
created_at: string;
|
|
8145
|
+
/**
|
|
8146
|
+
* When the record was last updated (ISO 8601).
|
|
8147
|
+
*/
|
|
8148
|
+
updated_at: string;
|
|
8149
|
+
};
|
|
8150
|
+
/**
|
|
8151
|
+
* A page of a wage determination's construction categories, with pagination metadata and navigation links.
|
|
8152
|
+
*/
|
|
8153
|
+
export type ConstructionTypesResponseObject = {
|
|
8154
|
+
meta: Meta;
|
|
8155
|
+
links: Links;
|
|
8156
|
+
/**
|
|
8157
|
+
* The page of construction types.
|
|
8158
|
+
*/
|
|
8159
|
+
data: Array<ConstructionTypeResponseObject>;
|
|
8160
|
+
};
|
|
8161
|
+
/**
|
|
8162
|
+
* A DOL project-type tag attached directly to one wage determination.
|
|
8163
|
+
*/
|
|
8164
|
+
export type ProjectTypeResponseObject = {
|
|
8165
|
+
/**
|
|
8166
|
+
* Unique identifier.
|
|
8167
|
+
*/
|
|
8168
|
+
id: string;
|
|
8169
|
+
/**
|
|
8170
|
+
* ID of the wage determination carrying this project-type tag.
|
|
8171
|
+
*/
|
|
8172
|
+
wage_determination_id: string;
|
|
8173
|
+
/**
|
|
8174
|
+
* DOL project categorization code used to narrow the work the determination covers.
|
|
8175
|
+
*/
|
|
8176
|
+
project_type: string;
|
|
8177
|
+
/**
|
|
8178
|
+
* Additional verbatim qualification printed beside the project type; null when absent.
|
|
8179
|
+
*/
|
|
8180
|
+
project_type_subtext: string | null;
|
|
8181
|
+
/**
|
|
8182
|
+
* When the record was created (ISO 8601).
|
|
8183
|
+
*/
|
|
8184
|
+
created_at: string;
|
|
8185
|
+
/**
|
|
8186
|
+
* When the record was last updated (ISO 8601).
|
|
8187
|
+
*/
|
|
8188
|
+
updated_at: string;
|
|
8189
|
+
};
|
|
8190
|
+
/**
|
|
8191
|
+
* A page of project-type tags attached directly to a wage determination, with pagination metadata and navigation links.
|
|
8192
|
+
*/
|
|
8193
|
+
export type ProjectTypesResponseObject = {
|
|
8194
|
+
meta: Meta;
|
|
8195
|
+
links: Links;
|
|
8196
|
+
/**
|
|
8197
|
+
* The page of project types.
|
|
8198
|
+
*/
|
|
8199
|
+
data: Array<ProjectTypeResponseObject>;
|
|
8200
|
+
};
|
|
8201
|
+
/**
|
|
8202
|
+
* A link between a wage determination and one geographic boundary where it applies. Includes stable boundary identity metadata but never geometry.
|
|
8203
|
+
*/
|
|
8204
|
+
export type WageDeterminationBoundaryResponseObject = {
|
|
8205
|
+
/**
|
|
8206
|
+
* Unique identifier.
|
|
8207
|
+
*/
|
|
8208
|
+
id: string;
|
|
8209
|
+
/**
|
|
8210
|
+
* ID of the wage determination whose applicability includes this boundary.
|
|
8211
|
+
*/
|
|
8212
|
+
wage_determination_id: string;
|
|
8213
|
+
/**
|
|
8214
|
+
* Stable ID of the linked geographic boundary.
|
|
8215
|
+
*/
|
|
8216
|
+
boundary_id: string;
|
|
8217
|
+
/**
|
|
8218
|
+
* Fully qualified boundary kind, such as Boundaries::Region or Boundaries::Subregion.
|
|
8219
|
+
*/
|
|
8220
|
+
boundary_type: string;
|
|
8221
|
+
/**
|
|
8222
|
+
* Government-published name of the linked boundary.
|
|
8223
|
+
*/
|
|
8224
|
+
name: string;
|
|
8225
|
+
/**
|
|
8226
|
+
* Administrative-unit identifier in the source system; null when unavailable and not necessarily globally unique.
|
|
8227
|
+
*/
|
|
8228
|
+
source_boundary_id: string | null;
|
|
8229
|
+
/**
|
|
8230
|
+
* Geographic identifier unique within the authoritative source; null when unavailable.
|
|
8231
|
+
*/
|
|
8232
|
+
source_geo_id: string | null;
|
|
8233
|
+
/**
|
|
8234
|
+
* Versioned or national stable geographic identifier from the authoritative source; null when unavailable.
|
|
8235
|
+
*/
|
|
8236
|
+
source_unique_id: string | null;
|
|
8237
|
+
/**
|
|
8238
|
+
* When the record was created (ISO 8601).
|
|
8239
|
+
*/
|
|
8240
|
+
created_at: string;
|
|
8241
|
+
/**
|
|
8242
|
+
* When the record was last updated (ISO 8601).
|
|
8243
|
+
*/
|
|
8244
|
+
updated_at: string;
|
|
8245
|
+
};
|
|
8246
|
+
/**
|
|
8247
|
+
* A page of a wage determination's geographic applicability links, with pagination metadata and navigation links.
|
|
8248
|
+
*/
|
|
8249
|
+
export type WageDeterminationBoundariesResponseObject = {
|
|
8250
|
+
meta: Meta;
|
|
8251
|
+
links: Links;
|
|
8252
|
+
/**
|
|
8253
|
+
* The page of boundary links.
|
|
8254
|
+
*/
|
|
8255
|
+
data: Array<WageDeterminationBoundaryResponseObject>;
|
|
8256
|
+
};
|
|
8257
|
+
/**
|
|
8258
|
+
* One ordered, lettered item of verbatim fringe-reference prose within a wage-classification schedule.
|
|
8259
|
+
*/
|
|
8260
|
+
export type ReferenceItemResponseObject = {
|
|
8261
|
+
/**
|
|
8262
|
+
* Unique identifier.
|
|
8263
|
+
*/
|
|
8264
|
+
id: string;
|
|
8265
|
+
/**
|
|
8266
|
+
* ID of the wage-classification schedule that owns this reference item.
|
|
8267
|
+
*/
|
|
8268
|
+
wage_classification_id: string;
|
|
8269
|
+
/**
|
|
8270
|
+
* Zero-based document order within the classification schedule.
|
|
8271
|
+
*/
|
|
8272
|
+
position: number;
|
|
8273
|
+
/**
|
|
8274
|
+
* Lowercase source token a labor rate cites, such as a or b.
|
|
8275
|
+
*/
|
|
8276
|
+
letter: string;
|
|
8277
|
+
/**
|
|
8278
|
+
* Source heading under which the item was printed: footnote, premium_pay, holidays, or zone_pay.
|
|
8279
|
+
*/
|
|
8280
|
+
container_type: 'footnote' | 'premium_pay' | 'holidays' | 'zone_pay';
|
|
8281
|
+
/**
|
|
8282
|
+
* Verbatim reference-item prose from the DOL source document.
|
|
8283
|
+
*/
|
|
8284
|
+
text: string;
|
|
8285
|
+
/**
|
|
8286
|
+
* When the record was created (ISO 8601).
|
|
8287
|
+
*/
|
|
8288
|
+
created_at: string;
|
|
8289
|
+
/**
|
|
8290
|
+
* When the record was last updated (ISO 8601).
|
|
8291
|
+
*/
|
|
8292
|
+
updated_at: string;
|
|
8293
|
+
};
|
|
8294
|
+
/**
|
|
8295
|
+
* A page of reference items flattened across every classification schedule in a wage determination, with pagination metadata and navigation links.
|
|
8296
|
+
*/
|
|
8297
|
+
export type ReferenceItemsResponseObject = {
|
|
8298
|
+
meta: Meta;
|
|
8299
|
+
links: Links;
|
|
8300
|
+
/**
|
|
8301
|
+
* The page of reference items.
|
|
8302
|
+
*/
|
|
8303
|
+
data: Array<ReferenceItemResponseObject>;
|
|
8304
|
+
};
|
|
8017
8305
|
/**
|
|
8018
8306
|
* A wage determination applied to a job — the prevailing-wage and fringe rates for one labor classification. The type discriminator selects the Federal or Regional representation.
|
|
8019
8307
|
*/
|
|
@@ -9094,7 +9382,7 @@ export type AssetsVendorParameters = {
|
|
|
9094
9382
|
*/
|
|
9095
9383
|
name: string;
|
|
9096
9384
|
/**
|
|
9097
|
-
* A signed_id from POST /api/v1/direct_uploads for
|
|
9385
|
+
* A signed_id from POST /api/v1/direct_uploads registered for assets.vendors. The logo must be a readable PNG, JPEG, GIF, or HEIC image, at most 10 MiB, 20,000 pixels per side, and 50 megapixels total. An invalid logo rejects the entire create or update; the existing vendor and logo remain unchanged.
|
|
9098
9386
|
*/
|
|
9099
9387
|
logo_signed_id?: string;
|
|
9100
9388
|
};
|
|
@@ -13396,7 +13684,7 @@ export type CreateVendorErrors = {
|
|
|
13396
13684
|
*/
|
|
13397
13685
|
403: Problem;
|
|
13398
13686
|
/**
|
|
13399
|
-
* Unprocessable Content (
|
|
13687
|
+
* Unprocessable Content (invalid image)
|
|
13400
13688
|
*/
|
|
13401
13689
|
422: Problem;
|
|
13402
13690
|
};
|
|
@@ -13465,6 +13753,10 @@ export type UpdateVendorErrors = {
|
|
|
13465
13753
|
* Forbidden
|
|
13466
13754
|
*/
|
|
13467
13755
|
403: Problem;
|
|
13756
|
+
/**
|
|
13757
|
+
* Unprocessable Content (invalid logo replacement)
|
|
13758
|
+
*/
|
|
13759
|
+
422: Problem;
|
|
13468
13760
|
};
|
|
13469
13761
|
export type UpdateVendorError = UpdateVendorErrors[keyof UpdateVendorErrors];
|
|
13470
13762
|
export type UpdateVendorResponses = {
|
|
@@ -16007,6 +16299,10 @@ export type ListJobsData = {
|
|
|
16007
16299
|
* Returns jobs whose status is any of the given values. Comma-separate to match multiple (e.g. `ready,completed`). Accepts each concrete status (pending_provider, pending_schedule, pending_workers, ready, disputed, completed, cancelled) plus the aggregates `pending` (any pending_* status) and `active` (ready or disputed).
|
|
16008
16300
|
*/
|
|
16009
16301
|
'filter[status]'?: string;
|
|
16302
|
+
/**
|
|
16303
|
+
* Returns jobs whose production_tracking_kind matches. One of `none`, `feature`, or `quantity`.
|
|
16304
|
+
*/
|
|
16305
|
+
'filter[production_tracking_kind]'?: 'none' | 'feature' | 'quantity';
|
|
16010
16306
|
/**
|
|
16011
16307
|
* This pagination cursor corresponds to the cursor value found in the response in
|
|
16012
16308
|
* `meta.page.next_cursor`.
|
|
@@ -21276,6 +21572,95 @@ export type GetTimeCardActualResponses = {
|
|
|
21276
21572
|
200: TimeCardActualsResponseObject;
|
|
21277
21573
|
};
|
|
21278
21574
|
export type GetTimeCardActualResponse = GetTimeCardActualResponses[keyof GetTimeCardActualResponses];
|
|
21575
|
+
export type ListTimeSessionsData = {
|
|
21576
|
+
body?: never;
|
|
21577
|
+
path?: never;
|
|
21578
|
+
query?: {
|
|
21579
|
+
/**
|
|
21580
|
+
* Returns only sessions for this worker.
|
|
21581
|
+
*/
|
|
21582
|
+
'filter[user_id]'?: string;
|
|
21583
|
+
/**
|
|
21584
|
+
* Returns only sessions clocked in against this job.
|
|
21585
|
+
*/
|
|
21586
|
+
'filter[job_id]'?: string;
|
|
21587
|
+
/**
|
|
21588
|
+
* `true` returns only sessions with no job, `false` only those with a job. Cannot be combined with `filter[job_id]`.
|
|
21589
|
+
*/
|
|
21590
|
+
'filter[job_id][null]'?: boolean;
|
|
21591
|
+
/**
|
|
21592
|
+
* `true` returns only open sessions — the workers clocked in right now; `false` only sessions that have ended.
|
|
21593
|
+
*/
|
|
21594
|
+
'filter[active]'?: boolean;
|
|
21595
|
+
'filter[start_time][gte]'?: string;
|
|
21596
|
+
'filter[start_time][lte]'?: string;
|
|
21597
|
+
'filter[created_at][gte]'?: string;
|
|
21598
|
+
'filter[created_at][lte]'?: string;
|
|
21599
|
+
'filter[updated_at][gte]'?: string;
|
|
21600
|
+
'filter[updated_at][lte]'?: string;
|
|
21601
|
+
filter?: string;
|
|
21602
|
+
'filter[unexpected]'?: string;
|
|
21603
|
+
/**
|
|
21604
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
21605
|
+
* `meta.page.next_cursor`.
|
|
21606
|
+
*/
|
|
21607
|
+
'page[cursor]'?: string;
|
|
21608
|
+
/**
|
|
21609
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
21610
|
+
*/
|
|
21611
|
+
'page[limit]'?: number;
|
|
21612
|
+
page?: string;
|
|
21613
|
+
};
|
|
21614
|
+
url: '/api/v1/timekeeping/time_sessions';
|
|
21615
|
+
};
|
|
21616
|
+
export type ListTimeSessionsErrors = {
|
|
21617
|
+
/**
|
|
21618
|
+
* Bad Request
|
|
21619
|
+
*/
|
|
21620
|
+
400: Problem;
|
|
21621
|
+
/**
|
|
21622
|
+
* Forbidden
|
|
21623
|
+
*/
|
|
21624
|
+
403: Problem;
|
|
21625
|
+
/**
|
|
21626
|
+
* Unprocessable Content
|
|
21627
|
+
*/
|
|
21628
|
+
422: Problem;
|
|
21629
|
+
};
|
|
21630
|
+
export type ListTimeSessionsError = ListTimeSessionsErrors[keyof ListTimeSessionsErrors];
|
|
21631
|
+
export type ListTimeSessionsResponses = {
|
|
21632
|
+
/**
|
|
21633
|
+
* Success
|
|
21634
|
+
*/
|
|
21635
|
+
200: TimeSessionsResponseObject;
|
|
21636
|
+
};
|
|
21637
|
+
export type ListTimeSessionsResponse = ListTimeSessionsResponses[keyof ListTimeSessionsResponses];
|
|
21638
|
+
export type GetTimeSessionData = {
|
|
21639
|
+
body?: never;
|
|
21640
|
+
path: {
|
|
21641
|
+
id: string;
|
|
21642
|
+
};
|
|
21643
|
+
query?: never;
|
|
21644
|
+
url: '/api/v1/timekeeping/time_sessions/{id}';
|
|
21645
|
+
};
|
|
21646
|
+
export type GetTimeSessionErrors = {
|
|
21647
|
+
/**
|
|
21648
|
+
* Forbidden
|
|
21649
|
+
*/
|
|
21650
|
+
403: Problem;
|
|
21651
|
+
/**
|
|
21652
|
+
* Not Found
|
|
21653
|
+
*/
|
|
21654
|
+
404: Problem;
|
|
21655
|
+
};
|
|
21656
|
+
export type GetTimeSessionError = GetTimeSessionErrors[keyof GetTimeSessionErrors];
|
|
21657
|
+
export type GetTimeSessionResponses = {
|
|
21658
|
+
/**
|
|
21659
|
+
* Success
|
|
21660
|
+
*/
|
|
21661
|
+
200: TimeSessionResponseObject;
|
|
21662
|
+
};
|
|
21663
|
+
export type GetTimeSessionResponse = GetTimeSessionResponses[keyof GetTimeSessionResponses];
|
|
21279
21664
|
export type ListTodoInboxData = {
|
|
21280
21665
|
body?: never;
|
|
21281
21666
|
path?: never;
|
|
@@ -21548,6 +21933,10 @@ export type CreateScheduledTerminationErrors = {
|
|
|
21548
21933
|
* Forbidden
|
|
21549
21934
|
*/
|
|
21550
21935
|
403: Problem;
|
|
21936
|
+
/**
|
|
21937
|
+
* Not Found
|
|
21938
|
+
*/
|
|
21939
|
+
404: Problem;
|
|
21551
21940
|
/**
|
|
21552
21941
|
* Unprocessable Content
|
|
21553
21942
|
*/
|
|
@@ -21824,6 +22213,113 @@ export type UpdateUserResponses = {
|
|
|
21824
22213
|
200: UserResponseObject;
|
|
21825
22214
|
};
|
|
21826
22215
|
export type UpdateUserResponse = UpdateUserResponses[keyof UpdateUserResponses];
|
|
22216
|
+
export type ListBoundariesData = {
|
|
22217
|
+
body?: never;
|
|
22218
|
+
path: {
|
|
22219
|
+
wage_determination_id: string;
|
|
22220
|
+
};
|
|
22221
|
+
query?: {
|
|
22222
|
+
'filter[id]'?: string;
|
|
22223
|
+
'filter[boundary_id]'?: string;
|
|
22224
|
+
'filter[name]'?: string;
|
|
22225
|
+
'filter[boundary_type]'?: string;
|
|
22226
|
+
'filter[source_boundary_id]'?: string;
|
|
22227
|
+
'filter[source_geo_id]'?: string;
|
|
22228
|
+
'filter[source_unique_id]'?: string;
|
|
22229
|
+
filter?: string;
|
|
22230
|
+
'filter[unexpected]'?: string;
|
|
22231
|
+
/**
|
|
22232
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
22233
|
+
* `meta.page.next_cursor`.
|
|
22234
|
+
*/
|
|
22235
|
+
'page[cursor]'?: string;
|
|
22236
|
+
/**
|
|
22237
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
22238
|
+
*/
|
|
22239
|
+
'page[limit]'?: number;
|
|
22240
|
+
page?: string;
|
|
22241
|
+
};
|
|
22242
|
+
url: '/api/v1/wage_determinations/{wage_determination_id}/boundaries';
|
|
22243
|
+
};
|
|
22244
|
+
export type ListBoundariesErrors = {
|
|
22245
|
+
/**
|
|
22246
|
+
* Bad Request
|
|
22247
|
+
*/
|
|
22248
|
+
400: Problem;
|
|
22249
|
+
/**
|
|
22250
|
+
* Forbidden
|
|
22251
|
+
*/
|
|
22252
|
+
403: Problem;
|
|
22253
|
+
/**
|
|
22254
|
+
* Not Found
|
|
22255
|
+
*/
|
|
22256
|
+
404: Problem;
|
|
22257
|
+
};
|
|
22258
|
+
export type ListBoundariesError = ListBoundariesErrors[keyof ListBoundariesErrors];
|
|
22259
|
+
export type ListBoundariesResponses = {
|
|
22260
|
+
/**
|
|
22261
|
+
* Success
|
|
22262
|
+
*/
|
|
22263
|
+
200: WageDeterminationBoundariesResponseObject;
|
|
22264
|
+
};
|
|
22265
|
+
export type ListBoundariesResponse = ListBoundariesResponses[keyof ListBoundariesResponses];
|
|
22266
|
+
export type ListConstructionTypesData = {
|
|
22267
|
+
body?: never;
|
|
22268
|
+
path: {
|
|
22269
|
+
wage_determination_id: string;
|
|
22270
|
+
};
|
|
22271
|
+
query?: {
|
|
22272
|
+
'filter[id]'?: string;
|
|
22273
|
+
/**
|
|
22274
|
+
* :
|
|
22275
|
+
* * `BUILDING`
|
|
22276
|
+
* * `HEAVY`
|
|
22277
|
+
* * `HIGHWAY`
|
|
22278
|
+
* * `RESIDENTIAL`
|
|
22279
|
+
*
|
|
22280
|
+
*/
|
|
22281
|
+
'filter[construction_type]'?: string;
|
|
22282
|
+
filter?: string;
|
|
22283
|
+
'filter[unexpected]'?: string;
|
|
22284
|
+
/**
|
|
22285
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
22286
|
+
* `meta.page.next_cursor`.
|
|
22287
|
+
*/
|
|
22288
|
+
'page[cursor]'?: string;
|
|
22289
|
+
/**
|
|
22290
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
22291
|
+
*/
|
|
22292
|
+
'page[limit]'?: number;
|
|
22293
|
+
page?: string;
|
|
22294
|
+
};
|
|
22295
|
+
url: '/api/v1/wage_determinations/{wage_determination_id}/construction_types';
|
|
22296
|
+
};
|
|
22297
|
+
export type ListConstructionTypesErrors = {
|
|
22298
|
+
/**
|
|
22299
|
+
* Bad Request
|
|
22300
|
+
*/
|
|
22301
|
+
400: Problem;
|
|
22302
|
+
/**
|
|
22303
|
+
* Forbidden
|
|
22304
|
+
*/
|
|
22305
|
+
403: Problem;
|
|
22306
|
+
/**
|
|
22307
|
+
* Not Found
|
|
22308
|
+
*/
|
|
22309
|
+
404: Problem;
|
|
22310
|
+
/**
|
|
22311
|
+
* Unsupported construction_type filter
|
|
22312
|
+
*/
|
|
22313
|
+
422: Problem;
|
|
22314
|
+
};
|
|
22315
|
+
export type ListConstructionTypesError = ListConstructionTypesErrors[keyof ListConstructionTypesErrors];
|
|
22316
|
+
export type ListConstructionTypesResponses = {
|
|
22317
|
+
/**
|
|
22318
|
+
* Success
|
|
22319
|
+
*/
|
|
22320
|
+
200: ConstructionTypesResponseObject;
|
|
22321
|
+
};
|
|
22322
|
+
export type ListConstructionTypesResponse = ListConstructionTypesResponses[keyof ListConstructionTypesResponses];
|
|
21827
22323
|
export type ListLaborRatesData = {
|
|
21828
22324
|
body?: never;
|
|
21829
22325
|
path: {
|
|
@@ -21871,6 +22367,162 @@ export type ListLaborRatesResponses = {
|
|
|
21871
22367
|
200: LaborRatesResponseObject;
|
|
21872
22368
|
};
|
|
21873
22369
|
export type ListLaborRatesResponse = ListLaborRatesResponses[keyof ListLaborRatesResponses];
|
|
22370
|
+
export type ListProjectTypesData = {
|
|
22371
|
+
body?: never;
|
|
22372
|
+
path: {
|
|
22373
|
+
wage_determination_id: string;
|
|
22374
|
+
};
|
|
22375
|
+
query?: {
|
|
22376
|
+
'filter[id]'?: string;
|
|
22377
|
+
'filter[project_type]'?: string;
|
|
22378
|
+
'filter[project_type_subtext]'?: string;
|
|
22379
|
+
filter?: string;
|
|
22380
|
+
'filter[unexpected]'?: string;
|
|
22381
|
+
/**
|
|
22382
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
22383
|
+
* `meta.page.next_cursor`.
|
|
22384
|
+
*/
|
|
22385
|
+
'page[cursor]'?: string;
|
|
22386
|
+
/**
|
|
22387
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
22388
|
+
*/
|
|
22389
|
+
'page[limit]'?: number;
|
|
22390
|
+
page?: string;
|
|
22391
|
+
};
|
|
22392
|
+
url: '/api/v1/wage_determinations/{wage_determination_id}/project_types';
|
|
22393
|
+
};
|
|
22394
|
+
export type ListProjectTypesErrors = {
|
|
22395
|
+
/**
|
|
22396
|
+
* Bad Request
|
|
22397
|
+
*/
|
|
22398
|
+
400: Problem;
|
|
22399
|
+
/**
|
|
22400
|
+
* Forbidden
|
|
22401
|
+
*/
|
|
22402
|
+
403: Problem;
|
|
22403
|
+
/**
|
|
22404
|
+
* Not Found
|
|
22405
|
+
*/
|
|
22406
|
+
404: Problem;
|
|
22407
|
+
};
|
|
22408
|
+
export type ListProjectTypesError = ListProjectTypesErrors[keyof ListProjectTypesErrors];
|
|
22409
|
+
export type ListProjectTypesResponses = {
|
|
22410
|
+
/**
|
|
22411
|
+
* Success
|
|
22412
|
+
*/
|
|
22413
|
+
200: ProjectTypesResponseObject;
|
|
22414
|
+
};
|
|
22415
|
+
export type ListProjectTypesResponse = ListProjectTypesResponses[keyof ListProjectTypesResponses];
|
|
22416
|
+
export type ListReferenceItemsData = {
|
|
22417
|
+
body?: never;
|
|
22418
|
+
path: {
|
|
22419
|
+
wage_determination_id: string;
|
|
22420
|
+
};
|
|
22421
|
+
query?: {
|
|
22422
|
+
'filter[id]'?: string;
|
|
22423
|
+
'filter[wage_classification_id]'?: string;
|
|
22424
|
+
'filter[position]'?: number;
|
|
22425
|
+
'filter[letter]'?: string;
|
|
22426
|
+
/**
|
|
22427
|
+
* :
|
|
22428
|
+
* * `footnote`
|
|
22429
|
+
* * `premium_pay`
|
|
22430
|
+
* * `holidays`
|
|
22431
|
+
* * `zone_pay`
|
|
22432
|
+
*
|
|
22433
|
+
*/
|
|
22434
|
+
'filter[container_type]'?: string;
|
|
22435
|
+
filter?: string;
|
|
22436
|
+
'filter[unexpected]'?: string;
|
|
22437
|
+
/**
|
|
22438
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
22439
|
+
* `meta.page.next_cursor`.
|
|
22440
|
+
*/
|
|
22441
|
+
'page[cursor]'?: string;
|
|
22442
|
+
/**
|
|
22443
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
22444
|
+
*/
|
|
22445
|
+
'page[limit]'?: number;
|
|
22446
|
+
page?: string;
|
|
22447
|
+
};
|
|
22448
|
+
url: '/api/v1/wage_determinations/{wage_determination_id}/reference_items';
|
|
22449
|
+
};
|
|
22450
|
+
export type ListReferenceItemsErrors = {
|
|
22451
|
+
/**
|
|
22452
|
+
* Bad Request
|
|
22453
|
+
*/
|
|
22454
|
+
400: Problem;
|
|
22455
|
+
/**
|
|
22456
|
+
* Forbidden
|
|
22457
|
+
*/
|
|
22458
|
+
403: Problem;
|
|
22459
|
+
/**
|
|
22460
|
+
* Not Found
|
|
22461
|
+
*/
|
|
22462
|
+
404: Problem;
|
|
22463
|
+
/**
|
|
22464
|
+
* Unsupported container_type filter
|
|
22465
|
+
*/
|
|
22466
|
+
422: Problem;
|
|
22467
|
+
};
|
|
22468
|
+
export type ListReferenceItemsError = ListReferenceItemsErrors[keyof ListReferenceItemsErrors];
|
|
22469
|
+
export type ListReferenceItemsResponses = {
|
|
22470
|
+
/**
|
|
22471
|
+
* Success
|
|
22472
|
+
*/
|
|
22473
|
+
200: ReferenceItemsResponseObject;
|
|
22474
|
+
};
|
|
22475
|
+
export type ListReferenceItemsResponse = ListReferenceItemsResponses[keyof ListReferenceItemsResponses];
|
|
22476
|
+
export type ListWageClassificationsData = {
|
|
22477
|
+
body?: never;
|
|
22478
|
+
path: {
|
|
22479
|
+
wage_determination_id: string;
|
|
22480
|
+
};
|
|
22481
|
+
query?: {
|
|
22482
|
+
'filter[id]'?: string;
|
|
22483
|
+
'filter[identifier]'?: string;
|
|
22484
|
+
'filter[date]'?: string;
|
|
22485
|
+
filter?: string;
|
|
22486
|
+
'filter[unexpected]'?: string;
|
|
22487
|
+
/**
|
|
22488
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
22489
|
+
* `meta.page.next_cursor`.
|
|
22490
|
+
*/
|
|
22491
|
+
'page[cursor]'?: string;
|
|
22492
|
+
/**
|
|
22493
|
+
* Maximum number of records to return per page. Defaults to 20. A value above 100 is capped to 100 rather than rejected; a value that is zero, negative, or not an integer is rejected with a `400`.
|
|
22494
|
+
*/
|
|
22495
|
+
'page[limit]'?: number;
|
|
22496
|
+
page?: string;
|
|
22497
|
+
};
|
|
22498
|
+
url: '/api/v1/wage_determinations/{wage_determination_id}/wage_classifications';
|
|
22499
|
+
};
|
|
22500
|
+
export type ListWageClassificationsErrors = {
|
|
22501
|
+
/**
|
|
22502
|
+
* Bad Request
|
|
22503
|
+
*/
|
|
22504
|
+
400: Problem;
|
|
22505
|
+
/**
|
|
22506
|
+
* Forbidden
|
|
22507
|
+
*/
|
|
22508
|
+
403: Problem;
|
|
22509
|
+
/**
|
|
22510
|
+
* Not Found
|
|
22511
|
+
*/
|
|
22512
|
+
404: Problem;
|
|
22513
|
+
/**
|
|
22514
|
+
* Unprocessable Content
|
|
22515
|
+
*/
|
|
22516
|
+
422: Problem;
|
|
22517
|
+
};
|
|
22518
|
+
export type ListWageClassificationsError = ListWageClassificationsErrors[keyof ListWageClassificationsErrors];
|
|
22519
|
+
export type ListWageClassificationsResponses = {
|
|
22520
|
+
/**
|
|
22521
|
+
* Success
|
|
22522
|
+
*/
|
|
22523
|
+
200: WageClassificationsResponseObject;
|
|
22524
|
+
};
|
|
22525
|
+
export type ListWageClassificationsResponse = ListWageClassificationsResponses[keyof ListWageClassificationsResponses];
|
|
21874
22526
|
export type ListWageDeterminationsData = {
|
|
21875
22527
|
body?: never;
|
|
21876
22528
|
path?: never;
|