@dsptch-work/api-client 0.38.0 → 0.40.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 +170 -0
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.js +1 -1
- package/dist/gen/sdk.gen.d.ts +348 -11
- package/dist/gen/sdk.gen.js +523 -10
- package/dist/gen/types.gen.d.ts +1385 -216
- package/dist/gen/zod.gen.d.ts +1909 -301
- package/dist/gen/zod.gen.js +466 -78
- package/package.json +1 -1
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -287,7 +287,7 @@ export type Problem = {
|
|
|
287
287
|
*
|
|
288
288
|
* **Unparseable Date Value**
|
|
289
289
|
*
|
|
290
|
-
* A date-time value cannot be parsed, falls outside the storable range, or has no UTC offset where one is required.
|
|
290
|
+
* A date or date-time value cannot be parsed, names a day that does not exist, falls outside the storable range, or has no UTC offset where one is required. Send a day as `2026-08-05` and an instant with its offset (`2026-08-05T14:30:00-04:00` or `2026-08-05T18:30:00Z`). The times of time entries and apprenticeship allocations, a compliance check's due time, a timecode correction's bounds, timestamp filter bounds, and `as_of[]` coordinates need the offset; a time sent without one is refused with the value to send.
|
|
291
291
|
*
|
|
292
292
|
* ### invalid_filter_value
|
|
293
293
|
*
|
|
@@ -407,7 +407,7 @@ export type DirectUploadParameters = {
|
|
|
407
407
|
/**
|
|
408
408
|
* What the file is for, named as the endpoint that will attach it (for example `assets.vendors`). Required. It decides where the file is stored, and the signed ID this call returns is issued for that resource alone — it will not resolve at any other endpoint, so a vendor logo cannot be attached as an avatar, or an avatar as a logo.
|
|
409
409
|
*/
|
|
410
|
-
resource: 'assets.items' | 'assets.items.documents' | 'assets.items.service_events' | 'assets.products' | 'assets.vendors' | 'compliance.checks' | 'internal.companies' | 'internal.company_todos' | 'internal.job_todos' | 'internal.project_todos' | 'jobs.documents' | 'pay_periods.imports.aggregate_times' | 'pay_periods.imports.dsptch_cprs' | 'pay_periods.imports.time_entries' | 'payrolls.payroll_runs.imports.paystubs' | 'payrolls.payroll_runs.imports.wide_paystubs' | 'projects.documents' | 'users';
|
|
410
|
+
resource: 'assets.items' | 'assets.items.documents' | 'assets.items.service_events' | 'assets.products' | 'assets.vendors' | 'compliance.checks' | 'form_submissions' | 'internal.companies' | 'internal.company_todos' | 'internal.job_todos' | 'internal.project_todos' | 'jobs.documents' | 'pay_periods.imports.aggregate_times' | 'pay_periods.imports.dsptch_cprs' | 'pay_periods.imports.time_entries' | 'payrolls.payroll_runs.imports.paystubs' | 'payrolls.payroll_runs.imports.wide_paystubs' | 'projects.documents' | 'users';
|
|
411
411
|
/**
|
|
412
412
|
* Metadata describing the file being registered, before its bytes are uploaded.
|
|
413
413
|
*/
|
|
@@ -1479,7 +1479,7 @@ export type ApprenticeshipAllocationCreateParameters = {
|
|
|
1479
1479
|
*/
|
|
1480
1480
|
description?: string | null;
|
|
1481
1481
|
/**
|
|
1482
|
-
* Effective timestamp for the credited hours, as
|
|
1482
|
+
* Effective timestamp for the credited hours, as a date-time with a UTC offset (`Z` or `-04:00`). Optional for a standalone allocation, defaulting to now; must equal the linked time card's pay-period start when one is supplied. The employer-local date must be today or earlier. A time without an offset answers 422 invalid_date at its pointer, showing the time fixed with the offset of the employer's time zone and in UTC. Null or a non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date.
|
|
1483
1483
|
*/
|
|
1484
1484
|
allocated_at?: string;
|
|
1485
1485
|
};
|
|
@@ -1500,7 +1500,7 @@ export type ApprenticeshipAllocationUpdateParameters = {
|
|
|
1500
1500
|
*/
|
|
1501
1501
|
description?: string | null;
|
|
1502
1502
|
/**
|
|
1503
|
-
* Effective timestamp for the credited hours, as
|
|
1503
|
+
* Effective timestamp for the credited hours, as a date-time with a UTC offset (`Z` or `-04:00`). Optional; omission leaves the timestamp unchanged. The employer-local date must be today or earlier and may predate enrollment. Time-card-linked allocations cannot be date-corrected. An unchanged timestamp does not request repricing. A time without an offset answers 422 invalid_date at its pointer, showing the time fixed with the offset of the employer's time zone and in UTC. Null or a non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date.
|
|
1504
1504
|
*/
|
|
1505
1505
|
allocated_at?: string;
|
|
1506
1506
|
};
|
|
@@ -1862,7 +1862,7 @@ export type ApprenticeshipWageScheduleParameters = {
|
|
|
1862
1862
|
*/
|
|
1863
1863
|
fringe_cents?: string | null;
|
|
1864
1864
|
/**
|
|
1865
|
-
* Set to true, together with the period's id, to remove that period from the schedule.
|
|
1865
|
+
* Set to true, together with the period's id, to remove that period from the schedule. A row that sets it without an id answers 422 at that row's id.
|
|
1866
1866
|
*/
|
|
1867
1867
|
_destroy?: boolean;
|
|
1868
1868
|
}>;
|
|
@@ -1948,7 +1948,7 @@ export type ApprenticeshipWageScheduleUpdateParameters = {
|
|
|
1948
1948
|
*/
|
|
1949
1949
|
fringe_cents?: string | null;
|
|
1950
1950
|
/**
|
|
1951
|
-
* Set to true, together with the period's id, to remove that period from the schedule.
|
|
1951
|
+
* Set to true, together with the period's id, to remove that period from the schedule. A row that sets it without an id answers 422 at that row's id.
|
|
1952
1952
|
*/
|
|
1953
1953
|
_destroy?: boolean;
|
|
1954
1954
|
}>;
|
|
@@ -2908,7 +2908,7 @@ export type AssetsProductParameters = {
|
|
|
2908
2908
|
*/
|
|
2909
2909
|
file?: string;
|
|
2910
2910
|
/**
|
|
2911
|
-
* Set true to remove the attachment named by id.
|
|
2911
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
2912
2912
|
*/
|
|
2913
2913
|
_destroy?: boolean;
|
|
2914
2914
|
}>;
|
|
@@ -2995,7 +2995,7 @@ export type AssetsProductUpdateParameters = {
|
|
|
2995
2995
|
*/
|
|
2996
2996
|
file?: string;
|
|
2997
2997
|
/**
|
|
2998
|
-
* Set true to remove the attachment named by id.
|
|
2998
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
2999
2999
|
*/
|
|
3000
3000
|
_destroy?: boolean;
|
|
3001
3001
|
}>;
|
|
@@ -3227,7 +3227,7 @@ export type AssetsAttributeParameters = {
|
|
|
3227
3227
|
*/
|
|
3228
3228
|
position?: number;
|
|
3229
3229
|
/**
|
|
3230
|
-
* Set true to remove this entry.
|
|
3230
|
+
* Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
|
|
3231
3231
|
*/
|
|
3232
3232
|
_destroy?: boolean;
|
|
3233
3233
|
}>;
|
|
@@ -3261,7 +3261,7 @@ export type AssetsAttributeUpdateParameters = {
|
|
|
3261
3261
|
*/
|
|
3262
3262
|
position?: number;
|
|
3263
3263
|
/**
|
|
3264
|
-
* Set true to remove this entry.
|
|
3264
|
+
* Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
|
|
3265
3265
|
*/
|
|
3266
3266
|
_destroy?: boolean;
|
|
3267
3267
|
}>;
|
|
@@ -3361,7 +3361,7 @@ export type AssetsCategoryParameters = {
|
|
|
3361
3361
|
*/
|
|
3362
3362
|
position?: number;
|
|
3363
3363
|
/**
|
|
3364
|
-
* Set true to remove this entry.
|
|
3364
|
+
* Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
|
|
3365
3365
|
*/
|
|
3366
3366
|
_destroy?: boolean;
|
|
3367
3367
|
}>;
|
|
@@ -3403,7 +3403,7 @@ export type AssetsCategoryUpdateParameters = {
|
|
|
3403
3403
|
*/
|
|
3404
3404
|
position?: number;
|
|
3405
3405
|
/**
|
|
3406
|
-
* Set true to remove this entry.
|
|
3406
|
+
* Set true to remove this entry. A row that sets it without an id answers 422 at that row's id.
|
|
3407
3407
|
*/
|
|
3408
3408
|
_destroy?: boolean;
|
|
3409
3409
|
}>;
|
|
@@ -3488,13 +3488,13 @@ export type TimeCardPerDiemResponseObject = {
|
|
|
3488
3488
|
*/
|
|
3489
3489
|
per_diem_id: string | null;
|
|
3490
3490
|
/**
|
|
3491
|
-
* Allowance amount in integer cents, as a string; snapshotted from the catalog per diem when saved (0 when none). Null when unset.
|
|
3491
|
+
* Allowance amount in integer cents, as a string; snapshotted from the catalog per diem when saved (0 when none). Null when unset. Omitted when the caller may see the time card but not its money.
|
|
3492
3492
|
*/
|
|
3493
|
-
per_diem_rate_cents
|
|
3493
|
+
per_diem_rate_cents?: string | null;
|
|
3494
3494
|
/**
|
|
3495
|
-
* ISO 4217 currency code for the rate; snapshotted from the catalog per diem. Null when unset.
|
|
3495
|
+
* ISO 4217 currency code for the rate; snapshotted from the catalog per diem. Null when unset. Omitted when the caller may see the time card but not its money.
|
|
3496
3496
|
*/
|
|
3497
|
-
per_diem_currency
|
|
3497
|
+
per_diem_currency?: string | null;
|
|
3498
3498
|
/**
|
|
3499
3499
|
* Whether the allowance is treated as taxable income; snapshotted from the catalog per diem.
|
|
3500
3500
|
*/
|
|
@@ -3957,6 +3957,305 @@ export type HolidayUpdateParameters = {
|
|
|
3957
3957
|
*/
|
|
3958
3958
|
count_hours_for_overtime?: boolean;
|
|
3959
3959
|
};
|
|
3960
|
+
/**
|
|
3961
|
+
* Prevailing-wage / apprenticeship (PWA) contractor details for a company — EIN, DIR license, contact, and fund-administration rate used in certified-payroll exports. One record per company.
|
|
3962
|
+
*/
|
|
3963
|
+
export type PwaCompanyDetailsResponseObject = {
|
|
3964
|
+
/**
|
|
3965
|
+
* Unique identifier.
|
|
3966
|
+
*/
|
|
3967
|
+
id: string;
|
|
3968
|
+
/**
|
|
3969
|
+
* ID of the company these contractor details belong to. Taken from the API key; never sent in the body.
|
|
3970
|
+
*/
|
|
3971
|
+
company_id: string;
|
|
3972
|
+
/**
|
|
3973
|
+
* California PWCR number (exactly 10 digits, or NA); null when unset.
|
|
3974
|
+
*/
|
|
3975
|
+
pwcr_number: string | null;
|
|
3976
|
+
/**
|
|
3977
|
+
* Nine-digit federal employer identification number (EIN), digits only; globally unique; null when unset.
|
|
3978
|
+
*/
|
|
3979
|
+
federal_tax_number: string | null;
|
|
3980
|
+
/**
|
|
3981
|
+
* D-U-N-S number; null when unset.
|
|
3982
|
+
*/
|
|
3983
|
+
duns_number: string | null;
|
|
3984
|
+
/**
|
|
3985
|
+
* Contractor license number; null when unset.
|
|
3986
|
+
*/
|
|
3987
|
+
contractor_license_number: string | null;
|
|
3988
|
+
/**
|
|
3989
|
+
* Company phone number in E.164 after save; null when unset.
|
|
3990
|
+
*/
|
|
3991
|
+
company_phone: string | null;
|
|
3992
|
+
/**
|
|
3993
|
+
* Name on the contractor license; null when unset.
|
|
3994
|
+
*/
|
|
3995
|
+
contractor_license_name: string | null;
|
|
3996
|
+
/**
|
|
3997
|
+
* California DIR contractor license type: CSLB, PL, or OTHER; null when unset.
|
|
3998
|
+
*/
|
|
3999
|
+
dir_contractor_license_type: 'CSLB' | 'PL' | 'OTHER' | null;
|
|
4000
|
+
/**
|
|
4001
|
+
* California workers compensation policy number (max 40 characters); null when unset.
|
|
4002
|
+
*/
|
|
4003
|
+
dir_worker_compensation_policy_number: string | null;
|
|
4004
|
+
/**
|
|
4005
|
+
* California DIR fund administration rate in cents, as a decimal string; null when unset. Must be sent together with dir_fund_admin_basis.
|
|
4006
|
+
*/
|
|
4007
|
+
dir_fund_admin_rate_cents: string | null;
|
|
4008
|
+
/**
|
|
4009
|
+
* California DIR fund administration basis: PER_HOUR or PER_WEEK_FLAT; null when unset. Must be sent together with dir_fund_admin_rate_cents.
|
|
4010
|
+
*/
|
|
4011
|
+
dir_fund_admin_basis: 'PER_HOUR' | 'PER_WEEK_FLAT' | null;
|
|
4012
|
+
/**
|
|
4013
|
+
* Union status: FULL_UNION, NOT_UNION, or MIXED; null when unset.
|
|
4014
|
+
*/
|
|
4015
|
+
union_status: 'FULL_UNION' | 'NOT_UNION' | 'MIXED' | null;
|
|
4016
|
+
/**
|
|
4017
|
+
* Ownership ethnicity code: AFRICAN_AMERICAN, ASIAN, CAUCASIAN, HISPANIC, NATIVE_AMERICAN, NOT_SPECIFIED, or OTHER; null when unset.
|
|
4018
|
+
*/
|
|
4019
|
+
ownership_ethnicity: 'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'HISPANIC' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER' | null;
|
|
4020
|
+
/**
|
|
4021
|
+
* Standard hours worked per day; null when unset.
|
|
4022
|
+
*/
|
|
4023
|
+
standard_hours_per_day: string | null;
|
|
4024
|
+
/**
|
|
4025
|
+
* Standard hours worked per week; null when unset.
|
|
4026
|
+
*/
|
|
4027
|
+
standard_hours_per_week: string | null;
|
|
4028
|
+
/**
|
|
4029
|
+
* Certified-payroll contact name; null when unset.
|
|
4030
|
+
*/
|
|
4031
|
+
contact_name: string | null;
|
|
4032
|
+
/**
|
|
4033
|
+
* Certified-payroll contact title; null when unset.
|
|
4034
|
+
*/
|
|
4035
|
+
contact_title: string | null;
|
|
4036
|
+
/**
|
|
4037
|
+
* Certified-payroll contact phone in E.164 after save; null when unset.
|
|
4038
|
+
*/
|
|
4039
|
+
contact_phone: string | null;
|
|
4040
|
+
/**
|
|
4041
|
+
* Certified-payroll contact email; null when unset.
|
|
4042
|
+
*/
|
|
4043
|
+
contact_email: string | null;
|
|
4044
|
+
/**
|
|
4045
|
+
* Contact street address line 1; required together with city, state, and zip when any address field is set; null when unset.
|
|
4046
|
+
*/
|
|
4047
|
+
contact_address1: string | null;
|
|
4048
|
+
/**
|
|
4049
|
+
* Contact street address line 2; null when unset.
|
|
4050
|
+
*/
|
|
4051
|
+
contact_address2: string | null;
|
|
4052
|
+
/**
|
|
4053
|
+
* Contact city; required together with the other core address fields when any address field is set; null when unset.
|
|
4054
|
+
*/
|
|
4055
|
+
contact_city: string | null;
|
|
4056
|
+
/**
|
|
4057
|
+
* Contact two-letter US state code; required together with the other core address fields when any address field is set; null when unset.
|
|
4058
|
+
*/
|
|
4059
|
+
contact_state: string | null;
|
|
4060
|
+
/**
|
|
4061
|
+
* Contact ZIP code; required together with the other core address fields when any address field is set; null when unset.
|
|
4062
|
+
*/
|
|
4063
|
+
contact_zip: string | null;
|
|
4064
|
+
};
|
|
4065
|
+
/**
|
|
4066
|
+
* Create PWA contractor details for the API key's company. The company is taken from the API key. Every field is optional — send whichever your jurisdiction's certified-payroll export requires. A second create for the same company is refused.
|
|
4067
|
+
*/
|
|
4068
|
+
export type PwaCompanyDetailsParameters = {
|
|
4069
|
+
/**
|
|
4070
|
+
* California PWCR number (exactly 10 digits, or NA).
|
|
4071
|
+
*/
|
|
4072
|
+
pwcr_number?: string | null;
|
|
4073
|
+
/**
|
|
4074
|
+
* Nine-digit federal employer identification number (EIN), digits only. Globally unique.
|
|
4075
|
+
*/
|
|
4076
|
+
federal_tax_number?: string | null;
|
|
4077
|
+
/**
|
|
4078
|
+
* D-U-N-S number.
|
|
4079
|
+
*/
|
|
4080
|
+
duns_number?: string | null;
|
|
4081
|
+
/**
|
|
4082
|
+
* Contractor license number.
|
|
4083
|
+
*/
|
|
4084
|
+
contractor_license_number?: string | null;
|
|
4085
|
+
/**
|
|
4086
|
+
* Company phone number.
|
|
4087
|
+
*/
|
|
4088
|
+
company_phone?: string | null;
|
|
4089
|
+
/**
|
|
4090
|
+
* Name on the contractor license.
|
|
4091
|
+
*/
|
|
4092
|
+
contractor_license_name?: string | null;
|
|
4093
|
+
/**
|
|
4094
|
+
* California DIR contractor license type: CSLB, PL, or OTHER.
|
|
4095
|
+
*/
|
|
4096
|
+
dir_contractor_license_type?: 'CSLB' | 'PL' | 'OTHER' | null;
|
|
4097
|
+
/**
|
|
4098
|
+
* California workers compensation policy number (max 40 characters).
|
|
4099
|
+
*/
|
|
4100
|
+
dir_worker_compensation_policy_number?: string | null;
|
|
4101
|
+
/**
|
|
4102
|
+
* California DIR fund administration rate in cents, as a decimal string. Must be sent together with dir_fund_admin_basis.
|
|
4103
|
+
*/
|
|
4104
|
+
dir_fund_admin_rate_cents?: string | null;
|
|
4105
|
+
/**
|
|
4106
|
+
* California DIR fund administration basis: PER_HOUR or PER_WEEK_FLAT. Must be sent together with dir_fund_admin_rate_cents.
|
|
4107
|
+
*/
|
|
4108
|
+
dir_fund_admin_basis?: 'PER_HOUR' | 'PER_WEEK_FLAT' | null;
|
|
4109
|
+
/**
|
|
4110
|
+
* Union status: FULL_UNION, NOT_UNION, or MIXED.
|
|
4111
|
+
*/
|
|
4112
|
+
union_status?: 'FULL_UNION' | 'NOT_UNION' | 'MIXED' | null;
|
|
4113
|
+
/**
|
|
4114
|
+
* Ownership ethnicity code: AFRICAN_AMERICAN, ASIAN, CAUCASIAN, HISPANIC, NATIVE_AMERICAN, NOT_SPECIFIED, or OTHER.
|
|
4115
|
+
*/
|
|
4116
|
+
ownership_ethnicity?: 'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'HISPANIC' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER' | null;
|
|
4117
|
+
/**
|
|
4118
|
+
* Standard hours worked per day.
|
|
4119
|
+
*/
|
|
4120
|
+
standard_hours_per_day?: string | null;
|
|
4121
|
+
/**
|
|
4122
|
+
* Standard hours worked per week.
|
|
4123
|
+
*/
|
|
4124
|
+
standard_hours_per_week?: string | null;
|
|
4125
|
+
/**
|
|
4126
|
+
* Certified-payroll contact name.
|
|
4127
|
+
*/
|
|
4128
|
+
contact_name?: string | null;
|
|
4129
|
+
/**
|
|
4130
|
+
* Certified-payroll contact title.
|
|
4131
|
+
*/
|
|
4132
|
+
contact_title?: string | null;
|
|
4133
|
+
/**
|
|
4134
|
+
* Certified-payroll contact phone.
|
|
4135
|
+
*/
|
|
4136
|
+
contact_phone?: string | null;
|
|
4137
|
+
/**
|
|
4138
|
+
* Certified-payroll contact email.
|
|
4139
|
+
*/
|
|
4140
|
+
contact_email?: string | null;
|
|
4141
|
+
/**
|
|
4142
|
+
* Contact street address line 1; required together with city, state, and zip when any address field is set.
|
|
4143
|
+
*/
|
|
4144
|
+
contact_address1?: string | null;
|
|
4145
|
+
/**
|
|
4146
|
+
* Contact street address line 2.
|
|
4147
|
+
*/
|
|
4148
|
+
contact_address2?: string | null;
|
|
4149
|
+
/**
|
|
4150
|
+
* Contact city; required together with the other core address fields when any address field is set.
|
|
4151
|
+
*/
|
|
4152
|
+
contact_city?: string | null;
|
|
4153
|
+
/**
|
|
4154
|
+
* Contact two-letter US state code; required together with the other core address fields when any address field is set.
|
|
4155
|
+
*/
|
|
4156
|
+
contact_state?: string | null;
|
|
4157
|
+
/**
|
|
4158
|
+
* Contact ZIP code; required together with the other core address fields when any address field is set.
|
|
4159
|
+
*/
|
|
4160
|
+
contact_zip?: string | null;
|
|
4161
|
+
};
|
|
4162
|
+
/**
|
|
4163
|
+
* Update PWA contractor details. The company is taken from the API key. Every field is optional — send only what changes. The company is fixed at creation.
|
|
4164
|
+
*/
|
|
4165
|
+
export type PwaCompanyDetailsUpdateParameters = {
|
|
4166
|
+
/**
|
|
4167
|
+
* California PWCR number (exactly 10 digits, or NA).
|
|
4168
|
+
*/
|
|
4169
|
+
pwcr_number?: string | null;
|
|
4170
|
+
/**
|
|
4171
|
+
* Nine-digit federal employer identification number (EIN), digits only. Globally unique.
|
|
4172
|
+
*/
|
|
4173
|
+
federal_tax_number?: string | null;
|
|
4174
|
+
/**
|
|
4175
|
+
* D-U-N-S number.
|
|
4176
|
+
*/
|
|
4177
|
+
duns_number?: string | null;
|
|
4178
|
+
/**
|
|
4179
|
+
* Contractor license number.
|
|
4180
|
+
*/
|
|
4181
|
+
contractor_license_number?: string | null;
|
|
4182
|
+
/**
|
|
4183
|
+
* Company phone number.
|
|
4184
|
+
*/
|
|
4185
|
+
company_phone?: string | null;
|
|
4186
|
+
/**
|
|
4187
|
+
* Name on the contractor license.
|
|
4188
|
+
*/
|
|
4189
|
+
contractor_license_name?: string | null;
|
|
4190
|
+
/**
|
|
4191
|
+
* California DIR contractor license type: CSLB, PL, or OTHER.
|
|
4192
|
+
*/
|
|
4193
|
+
dir_contractor_license_type?: 'CSLB' | 'PL' | 'OTHER' | null;
|
|
4194
|
+
/**
|
|
4195
|
+
* California workers compensation policy number (max 40 characters).
|
|
4196
|
+
*/
|
|
4197
|
+
dir_worker_compensation_policy_number?: string | null;
|
|
4198
|
+
/**
|
|
4199
|
+
* California DIR fund administration rate in cents, as a decimal string. Must be sent together with dir_fund_admin_basis.
|
|
4200
|
+
*/
|
|
4201
|
+
dir_fund_admin_rate_cents?: string | null;
|
|
4202
|
+
/**
|
|
4203
|
+
* California DIR fund administration basis: PER_HOUR or PER_WEEK_FLAT. Must be sent together with dir_fund_admin_rate_cents.
|
|
4204
|
+
*/
|
|
4205
|
+
dir_fund_admin_basis?: 'PER_HOUR' | 'PER_WEEK_FLAT' | null;
|
|
4206
|
+
/**
|
|
4207
|
+
* Union status: FULL_UNION, NOT_UNION, or MIXED.
|
|
4208
|
+
*/
|
|
4209
|
+
union_status?: 'FULL_UNION' | 'NOT_UNION' | 'MIXED' | null;
|
|
4210
|
+
/**
|
|
4211
|
+
* Ownership ethnicity code: AFRICAN_AMERICAN, ASIAN, CAUCASIAN, HISPANIC, NATIVE_AMERICAN, NOT_SPECIFIED, or OTHER.
|
|
4212
|
+
*/
|
|
4213
|
+
ownership_ethnicity?: 'AFRICAN_AMERICAN' | 'ASIAN' | 'CAUCASIAN' | 'HISPANIC' | 'NATIVE_AMERICAN' | 'NOT_SPECIFIED' | 'OTHER' | null;
|
|
4214
|
+
/**
|
|
4215
|
+
* Standard hours worked per day.
|
|
4216
|
+
*/
|
|
4217
|
+
standard_hours_per_day?: string | null;
|
|
4218
|
+
/**
|
|
4219
|
+
* Standard hours worked per week.
|
|
4220
|
+
*/
|
|
4221
|
+
standard_hours_per_week?: string | null;
|
|
4222
|
+
/**
|
|
4223
|
+
* Certified-payroll contact name.
|
|
4224
|
+
*/
|
|
4225
|
+
contact_name?: string | null;
|
|
4226
|
+
/**
|
|
4227
|
+
* Certified-payroll contact title.
|
|
4228
|
+
*/
|
|
4229
|
+
contact_title?: string | null;
|
|
4230
|
+
/**
|
|
4231
|
+
* Certified-payroll contact phone.
|
|
4232
|
+
*/
|
|
4233
|
+
contact_phone?: string | null;
|
|
4234
|
+
/**
|
|
4235
|
+
* Certified-payroll contact email.
|
|
4236
|
+
*/
|
|
4237
|
+
contact_email?: string | null;
|
|
4238
|
+
/**
|
|
4239
|
+
* Contact street address line 1; required together with city, state, and zip when any address field is set.
|
|
4240
|
+
*/
|
|
4241
|
+
contact_address1?: string | null;
|
|
4242
|
+
/**
|
|
4243
|
+
* Contact street address line 2.
|
|
4244
|
+
*/
|
|
4245
|
+
contact_address2?: string | null;
|
|
4246
|
+
/**
|
|
4247
|
+
* Contact city; required together with the other core address fields when any address field is set.
|
|
4248
|
+
*/
|
|
4249
|
+
contact_city?: string | null;
|
|
4250
|
+
/**
|
|
4251
|
+
* Contact two-letter US state code; required together with the other core address fields when any address field is set.
|
|
4252
|
+
*/
|
|
4253
|
+
contact_state?: string | null;
|
|
4254
|
+
/**
|
|
4255
|
+
* Contact ZIP code; required together with the other core address fields when any address field is set.
|
|
4256
|
+
*/
|
|
4257
|
+
contact_zip?: string | null;
|
|
4258
|
+
};
|
|
3960
4259
|
/**
|
|
3961
4260
|
* Prevailing-wage / apprenticeship (PWA) compliance details for a worker at a company — home address, demographics, and jurisdiction-specific fields used in certified-payroll and compliance exports. One record per company/user pair.
|
|
3962
4261
|
*/
|
|
@@ -4368,7 +4667,7 @@ export type JobResponseObject = {
|
|
|
4368
4667
|
*/
|
|
4369
4668
|
description: string;
|
|
4370
4669
|
/**
|
|
4371
|
-
* The job's scheduled time window as a timestamp range; null when unscheduled.
|
|
4670
|
+
* The job's scheduled time window as a timestamp range; null when unscheduled. start_time and end_time name the days it spans in tz_name.
|
|
4372
4671
|
*/
|
|
4373
4672
|
scheduled_time: string | null;
|
|
4374
4673
|
/**
|
|
@@ -4384,11 +4683,11 @@ export type JobResponseObject = {
|
|
|
4384
4683
|
*/
|
|
4385
4684
|
status: string;
|
|
4386
4685
|
/**
|
|
4387
|
-
*
|
|
4686
|
+
* The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name; the schedule starts at the start of that day there, the same as the web. Null when unscheduled.
|
|
4388
4687
|
*/
|
|
4389
4688
|
start_time: string | null;
|
|
4390
4689
|
/**
|
|
4391
|
-
*
|
|
4690
|
+
* The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name; the schedule ends at the end of that day there, the same as the web. Null when unscheduled.
|
|
4392
4691
|
*/
|
|
4393
4692
|
end_time: string | null;
|
|
4394
4693
|
/**
|
|
@@ -4673,11 +4972,11 @@ export type JobCreateParameters = {
|
|
|
4673
4972
|
*/
|
|
4674
4973
|
region?: string | null;
|
|
4675
4974
|
/**
|
|
4676
|
-
*
|
|
4975
|
+
* The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the start of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
|
|
4677
4976
|
*/
|
|
4678
4977
|
start_time?: string | null;
|
|
4679
4978
|
/**
|
|
4680
|
-
*
|
|
4979
|
+
* The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the end of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
|
|
4681
4980
|
*/
|
|
4682
4981
|
end_time?: string | null;
|
|
4683
4982
|
/**
|
|
@@ -4914,11 +5213,11 @@ export type JobUpdateParameters = {
|
|
|
4914
5213
|
*/
|
|
4915
5214
|
region?: string | null;
|
|
4916
5215
|
/**
|
|
4917
|
-
*
|
|
5216
|
+
* The job's first day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the start of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
|
|
4918
5217
|
*/
|
|
4919
5218
|
start_time?: string | null;
|
|
4920
5219
|
/**
|
|
4921
|
-
*
|
|
5220
|
+
* The job's last day, as a calendar date (`YYYY-MM-DD`) in tz_name, stored as the end of that day there, the same as the web. Null to leave the job unscheduled. A date-time answers 422 naming the day to send; a blank, any other non-date, or a non-string answers 422.
|
|
4922
5221
|
*/
|
|
4923
5222
|
end_time?: string | null;
|
|
4924
5223
|
/**
|
|
@@ -5572,7 +5871,7 @@ export type UserParameters = {
|
|
|
5572
5871
|
*/
|
|
5573
5872
|
skip_invite?: boolean;
|
|
5574
5873
|
/**
|
|
5575
|
-
* First day of employment (YYYY-MM-DD). Sets the start of the employment record; defaults to today when omitted. Null, blank text, or any other form answers 422.
|
|
5874
|
+
* First day of employment (YYYY-MM-DD). Sets the start of the employment record; defaults to today in your company's time zone when omitted. Null, blank text, or any other form answers 422.
|
|
5576
5875
|
*/
|
|
5577
5876
|
hire_date?: string;
|
|
5578
5877
|
/**
|
|
@@ -6081,7 +6380,7 @@ export type FormDefinitionResponseObject = {
|
|
|
6081
6380
|
data: Array<FormDefinitionObject>;
|
|
6082
6381
|
};
|
|
6083
6382
|
/**
|
|
6084
|
-
* A page of form submissions — the lighter list representation. A submission is a user's completed form
|
|
6383
|
+
* A page of form submissions — the lighter list representation. A submission is a user's completed form, created in the app or through the API.
|
|
6085
6384
|
*/
|
|
6086
6385
|
export type FormSubmissionIndexObject = {
|
|
6087
6386
|
meta: Meta;
|
|
@@ -6113,7 +6412,7 @@ export type FormSubmissionIndexObject = {
|
|
|
6113
6412
|
}>;
|
|
6114
6413
|
};
|
|
6115
6414
|
/**
|
|
6116
|
-
* A single form submission
|
|
6415
|
+
* A single form submission with resolved answers, returned by both show and create.
|
|
6117
6416
|
*/
|
|
6118
6417
|
export type FormSubmissionResponseObject = {
|
|
6119
6418
|
/**
|
|
@@ -6168,6 +6467,29 @@ export type FormSubmissionResponseObject = {
|
|
|
6168
6467
|
*/
|
|
6169
6468
|
updated_at: string;
|
|
6170
6469
|
};
|
|
6470
|
+
/**
|
|
6471
|
+
* Create a submission using supported keys from the form definition's submission_shape. Requires a user-scoped API key.
|
|
6472
|
+
*/
|
|
6473
|
+
export type FormSubmissionCreateParameters = {
|
|
6474
|
+
/**
|
|
6475
|
+
* ID of an active, non-archived form definition. Read its detail endpoint before building answers.
|
|
6476
|
+
*/
|
|
6477
|
+
form_definition_id: string;
|
|
6478
|
+
/**
|
|
6479
|
+
* UUID of the key's own user, who must be a current member of the key's company. Missing or unauthorized users return 403.
|
|
6480
|
+
*/
|
|
6481
|
+
user_id: string;
|
|
6482
|
+
/**
|
|
6483
|
+
* Answer object keyed by SurveyJS valueName when set, otherwise name. Use question choice values and GlobalIDs for DSPTCH reference questions. Missing or null returns 422. The API validates recursive structure and primitive types. Choice fields accept strings, which are stored unchanged. Choice membership, required answers, dates, and SurveyJS logic are not validated.
|
|
6484
|
+
*/
|
|
6485
|
+
json: {
|
|
6486
|
+
[key: string]: unknown;
|
|
6487
|
+
};
|
|
6488
|
+
/**
|
|
6489
|
+
* Optional IANA timezone such as America/Chicago; defaults to UTC.
|
|
6490
|
+
*/
|
|
6491
|
+
timezone?: string;
|
|
6492
|
+
};
|
|
6171
6493
|
/**
|
|
6172
6494
|
* Request body for updating a worker's employment at your company. Corrects administrative fields (employment type, title, manager, payroll id, hire date, and time-and-attendance enrollment) across the whole employment history, and changes the custom-field values it lists. For time-effective pay changes, use the scheduled-changes endpoints instead. A value of the wrong JSON type, a null for a field that is not nullable, or a value outside a listed set answers 422 at its pointer, and nothing is written.
|
|
6173
6495
|
*/
|
|
@@ -7206,21 +7528,21 @@ export type TimeCardResponseObject = {
|
|
|
7206
7528
|
2: number;
|
|
7207
7529
|
};
|
|
7208
7530
|
/**
|
|
7209
|
-
* Total pay for the period in integer cents, as a decimal string.
|
|
7531
|
+
* Total pay for the period in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7210
7532
|
*/
|
|
7211
|
-
pay_cents
|
|
7533
|
+
pay_cents?: string;
|
|
7212
7534
|
/**
|
|
7213
|
-
* Base-wage portion of pay in integer cents, as a decimal string.
|
|
7535
|
+
* Base-wage portion of pay in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7214
7536
|
*/
|
|
7215
|
-
base_wage_pay_cents
|
|
7537
|
+
base_wage_pay_cents?: string;
|
|
7216
7538
|
/**
|
|
7217
|
-
* Additional pay from the 1.5x overtime multiplier in integer cents, as a decimal string.
|
|
7539
|
+
* Additional pay from the 1.5x overtime multiplier in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7218
7540
|
*/
|
|
7219
|
-
one_five_x_adder_cents
|
|
7541
|
+
one_five_x_adder_cents?: string;
|
|
7220
7542
|
/**
|
|
7221
|
-
* Additional pay from the 2.0x overtime multiplier in integer cents, as a decimal string.
|
|
7543
|
+
* Additional pay from the 2.0x overtime multiplier in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7222
7544
|
*/
|
|
7223
|
-
two_x_adder_cents
|
|
7545
|
+
two_x_adder_cents?: string;
|
|
7224
7546
|
/**
|
|
7225
7547
|
* IDs of the wage-determination regions (boundaries) that contributed to this rollup.
|
|
7226
7548
|
*/
|
|
@@ -7329,21 +7651,21 @@ export type JobTimeCardDayResponseObject = {
|
|
|
7329
7651
|
2: number;
|
|
7330
7652
|
};
|
|
7331
7653
|
/**
|
|
7332
|
-
* Total pay for this date in integer cents, as a decimal string.
|
|
7654
|
+
* Total pay for this date in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7333
7655
|
*/
|
|
7334
|
-
pay_cents
|
|
7656
|
+
pay_cents?: string;
|
|
7335
7657
|
/**
|
|
7336
|
-
* Base-wage portion of this date's pay in integer cents, as a decimal string.
|
|
7658
|
+
* Base-wage portion of this date's pay in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7337
7659
|
*/
|
|
7338
|
-
base_wage_pay_cents
|
|
7660
|
+
base_wage_pay_cents?: string;
|
|
7339
7661
|
/**
|
|
7340
|
-
* Additional pay from the 1.5x overtime multiplier on this date, in integer cents, as a decimal string.
|
|
7662
|
+
* Additional pay from the 1.5x overtime multiplier on this date, in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7341
7663
|
*/
|
|
7342
|
-
one_five_x_adder_cents
|
|
7664
|
+
one_five_x_adder_cents?: string;
|
|
7343
7665
|
/**
|
|
7344
|
-
* Additional pay from the 2.0x overtime multiplier on this date, in integer cents, as a decimal string.
|
|
7666
|
+
* Additional pay from the 2.0x overtime multiplier on this date, in integer cents, as a decimal string. Omitted when the caller may see the time card but not its money.
|
|
7345
7667
|
*/
|
|
7346
|
-
two_x_adder_cents
|
|
7668
|
+
two_x_adder_cents?: string;
|
|
7347
7669
|
/**
|
|
7348
7670
|
* IDs of the wage-determination regions (boundaries) that contributed to this rollup.
|
|
7349
7671
|
*/
|
|
@@ -7497,37 +7819,37 @@ export type JobTimeCardDayResponseObject = {
|
|
|
7497
7819
|
2: number;
|
|
7498
7820
|
};
|
|
7499
7821
|
/**
|
|
7500
|
-
* Pay-period-to-date running total of total pay in integer cents, as a decimal string, through this date.
|
|
7822
|
+
* Pay-period-to-date running total of total pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7501
7823
|
*/
|
|
7502
|
-
cumulative_pay_cents
|
|
7824
|
+
cumulative_pay_cents?: string;
|
|
7503
7825
|
/**
|
|
7504
|
-
* Week-to-date running total of total pay in integer cents, as a decimal string, through this date.
|
|
7826
|
+
* Week-to-date running total of total pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7505
7827
|
*/
|
|
7506
|
-
weekly_cumulative_pay_cents
|
|
7828
|
+
weekly_cumulative_pay_cents?: string;
|
|
7507
7829
|
/**
|
|
7508
|
-
* Pay-period-to-date running total of base-wage pay in integer cents, as a decimal string, through this date.
|
|
7830
|
+
* Pay-period-to-date running total of base-wage pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7509
7831
|
*/
|
|
7510
|
-
cumulative_base_wage_pay_cents
|
|
7832
|
+
cumulative_base_wage_pay_cents?: string;
|
|
7511
7833
|
/**
|
|
7512
|
-
* Week-to-date running total of base-wage pay in integer cents, as a decimal string, through this date.
|
|
7834
|
+
* Week-to-date running total of base-wage pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7513
7835
|
*/
|
|
7514
|
-
weekly_cumulative_base_wage_pay_cents
|
|
7836
|
+
weekly_cumulative_base_wage_pay_cents?: string;
|
|
7515
7837
|
/**
|
|
7516
|
-
* Pay-period-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date.
|
|
7838
|
+
* Pay-period-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7517
7839
|
*/
|
|
7518
|
-
cumulative_one_five_x_adder_cents
|
|
7840
|
+
cumulative_one_five_x_adder_cents?: string;
|
|
7519
7841
|
/**
|
|
7520
|
-
* Week-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date.
|
|
7842
|
+
* Week-to-date running total of 1.5x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7521
7843
|
*/
|
|
7522
|
-
weekly_cumulative_one_five_x_adder_cents
|
|
7844
|
+
weekly_cumulative_one_five_x_adder_cents?: string;
|
|
7523
7845
|
/**
|
|
7524
|
-
* Pay-period-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date.
|
|
7846
|
+
* Pay-period-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7525
7847
|
*/
|
|
7526
|
-
cumulative_two_x_adder_cents
|
|
7848
|
+
cumulative_two_x_adder_cents?: string;
|
|
7527
7849
|
/**
|
|
7528
|
-
* Week-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date.
|
|
7850
|
+
* Week-to-date running total of 2.0x overtime adder pay in integer cents, as a decimal string, through this date. Omitted when the caller may see the time card but not its money.
|
|
7529
7851
|
*/
|
|
7530
|
-
weekly_cumulative_two_x_adder_cents
|
|
7852
|
+
weekly_cumulative_two_x_adder_cents?: string;
|
|
7531
7853
|
/**
|
|
7532
7854
|
* Pay-period-to-date running total of contributing wage-determination region IDs, through this date.
|
|
7533
7855
|
*/
|
|
@@ -8232,6 +8554,19 @@ export type ProjectResponseObject = {
|
|
|
8232
8554
|
* Identifiers of companies participating in this project.
|
|
8233
8555
|
*/
|
|
8234
8556
|
participating_company_ids: Array<string>;
|
|
8557
|
+
/**
|
|
8558
|
+
* The project's managers, each as a minimal object; empty when the project has no managers.
|
|
8559
|
+
*/
|
|
8560
|
+
manager_users: Array<{
|
|
8561
|
+
/**
|
|
8562
|
+
* ID of the manager user.
|
|
8563
|
+
*/
|
|
8564
|
+
id: string;
|
|
8565
|
+
/**
|
|
8566
|
+
* Name of the manager user.
|
|
8567
|
+
*/
|
|
8568
|
+
name: string;
|
|
8569
|
+
}>;
|
|
8235
8570
|
/**
|
|
8236
8571
|
* Federal PWA tracking mode: `all` (prevailing wage + apprenticeship), `pw_only` (prevailing wage), `ap_only` (apprenticeship), or `none`.
|
|
8237
8572
|
*/
|
|
@@ -8321,6 +8656,10 @@ export type ProjectParameters = {
|
|
|
8321
8656
|
* Complete desired set of unique nonblank participating company IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
|
|
8322
8657
|
*/
|
|
8323
8658
|
participating_company_ids?: Array<string>;
|
|
8659
|
+
/**
|
|
8660
|
+
* Complete desired set of unique nonblank manager user IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Each id must name a manager of the owning company.
|
|
8661
|
+
*/
|
|
8662
|
+
manager_user_ids?: Array<string>;
|
|
8324
8663
|
/**
|
|
8325
8664
|
* Schedule start date as an ISO8601 date (YYYY-MM-DD), or null; requires tz_name to be set. Any other string, a timestamp included, answers 422.
|
|
8326
8665
|
*/
|
|
@@ -8410,6 +8749,10 @@ export type ProjectUpdateParameters = {
|
|
|
8410
8749
|
* Complete desired set of unique nonblank participating company IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Remove a participant's jobs before removing it from this set.
|
|
8411
8750
|
*/
|
|
8412
8751
|
participating_company_ids?: Array<string>;
|
|
8752
|
+
/**
|
|
8753
|
+
* Complete desired set of unique nonblank manager user IDs. Omit to preserve the set; send an empty array to clear it. Null, null members, wrong types, blank IDs, and duplicate IDs answer 422 before any project or relationship is saved. Each id must name a manager of the owning company.
|
|
8754
|
+
*/
|
|
8755
|
+
manager_user_ids?: Array<string>;
|
|
8413
8756
|
/**
|
|
8414
8757
|
* Schedule start date as an ISO8601 date (YYYY-MM-DD), or null; requires tz_name to be set. Any other string, a timestamp included, answers 422.
|
|
8415
8758
|
*/
|
|
@@ -9122,7 +9465,7 @@ export type ComplianceCheckParameters = {
|
|
|
9122
9465
|
*/
|
|
9123
9466
|
status?: 'dismissed' | 'pending';
|
|
9124
9467
|
/**
|
|
9125
|
-
*
|
|
9468
|
+
* When the check is due, as a date-time with a UTC offset (`Z` or `-05:00`). A time without an offset, a bare day included, answers 422 invalid_date at its pointer, showing the time fixed with the offset of the check's zone (its job's, else its project's, else its company's) and in UTC; a check on a person shows it only in UTC. A non-string answers 422 at its pointer; a string that does not parse as a date and time answers 422 invalid_date. Send null to clear it, or omit to leave it unchanged.
|
|
9126
9469
|
*/
|
|
9127
9470
|
time_due?: string | null;
|
|
9128
9471
|
/**
|
|
@@ -9161,6 +9504,7 @@ export type TodoInboxTodoResponseObject = {
|
|
|
9161
9504
|
completed: boolean;
|
|
9162
9505
|
priority: 'critical' | 'high' | 'medium' | 'low' | null;
|
|
9163
9506
|
category: 'apprenticeship' | 'certified_payroll' | 'company' | 'job' | 'payroll' | 'project' | 'regional' | 'tax_credit' | 'timekeeping' | 'worker';
|
|
9507
|
+
approval_status: 'pending' | 'approved' | 'rejected' | null;
|
|
9164
9508
|
task_assignee_user_ids: Array<string>;
|
|
9165
9509
|
description: RichTextObject;
|
|
9166
9510
|
time_due: string | null;
|
|
@@ -12326,7 +12670,7 @@ export type RegionalJobWageDeterminationHistoryCorrectionObject = {
|
|
|
12326
12670
|
/**
|
|
12327
12671
|
* State-specific rate fields recorded on a Regional determination, as decimal-string money in
|
|
12328
12672
|
* cents (e.g. "538.0"). Which keys appear is set by the job's region, so this object is always
|
|
12329
|
-
* a region-determined subset of
|
|
12673
|
+
* a region-determined subset of these keys — never a fixed shape:
|
|
12330
12674
|
*
|
|
12331
12675
|
* - Categorized-fringe regions (currently IL) carry `combined_health_fringe_rate_cents`,
|
|
12332
12676
|
* `combined_savings_fringe_rate_cents`, `combined_holiday_pto_fringe_rate_cents`,
|
|
@@ -12336,7 +12680,9 @@ export type RegionalJobWageDeterminationHistoryCorrectionObject = {
|
|
|
12336
12680
|
* `two_x_fringe_adder_rate_cents`.
|
|
12337
12681
|
* - A region with neither returns an empty object.
|
|
12338
12682
|
*
|
|
12339
|
-
* Categorized-fringe values are non-null when present; overtime-adder values may be null.
|
|
12683
|
+
* Categorized-fringe values are non-null when present; legacy overtime-adder values may be null.
|
|
12684
|
+
* The overtime-adder fields are read-only. Configure new overtime premiums through the
|
|
12685
|
+
* determination's rate rules.
|
|
12340
12686
|
*
|
|
12341
12687
|
*/
|
|
12342
12688
|
export type RegionalWageDeterminationFieldsResponse = {
|
|
@@ -12428,7 +12774,7 @@ export type RegionalJobWageDeterminationParameters = {
|
|
|
12428
12774
|
*/
|
|
12429
12775
|
general_wage_determination?: string | null;
|
|
12430
12776
|
/**
|
|
12431
|
-
* State-specific rates, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
12777
|
+
* State-specific categorized fringe rates, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
12432
12778
|
*/
|
|
12433
12779
|
regional_fields?: {
|
|
12434
12780
|
/**
|
|
@@ -12451,22 +12797,6 @@ export type RegionalJobWageDeterminationParameters = {
|
|
|
12451
12797
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
12452
12798
|
*/
|
|
12453
12799
|
other_fringe_rate_cents?: string | null;
|
|
12454
|
-
/**
|
|
12455
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12456
|
-
*/
|
|
12457
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
12458
|
-
/**
|
|
12459
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12460
|
-
*/
|
|
12461
|
-
two_x_adder_rate_cents?: string | null;
|
|
12462
|
-
/**
|
|
12463
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12464
|
-
*/
|
|
12465
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
12466
|
-
/**
|
|
12467
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12468
|
-
*/
|
|
12469
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
12470
12800
|
};
|
|
12471
12801
|
/**
|
|
12472
12802
|
* Overtime package whose rules govern overtime on work under this determination. It attaches to every version of the new determination. Null, or an omitted key, attaches none. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
|
|
@@ -12514,7 +12844,7 @@ export type JobWageDeterminationUpdateParameters = {
|
|
|
12514
12844
|
*/
|
|
12515
12845
|
general_wage_determination?: string | null;
|
|
12516
12846
|
/**
|
|
12517
|
-
* State-specific rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
12847
|
+
* State-specific categorized fringe rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422; send null to clear a rate where allowed. An omitted rate keeps its current value. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
12518
12848
|
*/
|
|
12519
12849
|
regional_fields?: {
|
|
12520
12850
|
/**
|
|
@@ -12537,22 +12867,6 @@ export type JobWageDeterminationUpdateParameters = {
|
|
|
12537
12867
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
12538
12868
|
*/
|
|
12539
12869
|
other_fringe_rate_cents?: string | null;
|
|
12540
|
-
/**
|
|
12541
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12542
|
-
*/
|
|
12543
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
12544
|
-
/**
|
|
12545
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12546
|
-
*/
|
|
12547
|
-
two_x_adder_rate_cents?: string | null;
|
|
12548
|
-
/**
|
|
12549
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12550
|
-
*/
|
|
12551
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
12552
|
-
/**
|
|
12553
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12554
|
-
*/
|
|
12555
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
12556
12870
|
};
|
|
12557
12871
|
};
|
|
12558
12872
|
/**
|
|
@@ -12588,7 +12902,7 @@ export type JobWageDeterminationScheduledChangeParameters = {
|
|
|
12588
12902
|
*/
|
|
12589
12903
|
general_wage_determination?: string | null;
|
|
12590
12904
|
/**
|
|
12591
|
-
* State-specific rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
12905
|
+
* State-specific categorized fringe rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422; send null to clear a rate where allowed. An omitted rate keeps its current value. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
12592
12906
|
*/
|
|
12593
12907
|
regional_fields?: {
|
|
12594
12908
|
/**
|
|
@@ -12611,22 +12925,6 @@ export type JobWageDeterminationScheduledChangeParameters = {
|
|
|
12611
12925
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
12612
12926
|
*/
|
|
12613
12927
|
other_fringe_rate_cents?: string | null;
|
|
12614
|
-
/**
|
|
12615
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12616
|
-
*/
|
|
12617
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
12618
|
-
/**
|
|
12619
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12620
|
-
*/
|
|
12621
|
-
two_x_adder_rate_cents?: string | null;
|
|
12622
|
-
/**
|
|
12623
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12624
|
-
*/
|
|
12625
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
12626
|
-
/**
|
|
12627
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12628
|
-
*/
|
|
12629
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
12630
12928
|
};
|
|
12631
12929
|
};
|
|
12632
12930
|
/**
|
|
@@ -12968,7 +13266,7 @@ export type RegionalProjectWageDeterminationParameters = {
|
|
|
12968
13266
|
*/
|
|
12969
13267
|
general_wage_determination?: string | null;
|
|
12970
13268
|
/**
|
|
12971
|
-
* State-specific rates, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
13269
|
+
* State-specific categorized fringe rates, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
12972
13270
|
*/
|
|
12973
13271
|
regional_fields?: {
|
|
12974
13272
|
/**
|
|
@@ -12991,22 +13289,6 @@ export type RegionalProjectWageDeterminationParameters = {
|
|
|
12991
13289
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
12992
13290
|
*/
|
|
12993
13291
|
other_fringe_rate_cents?: string | null;
|
|
12994
|
-
/**
|
|
12995
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
12996
|
-
*/
|
|
12997
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
12998
|
-
/**
|
|
12999
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13000
|
-
*/
|
|
13001
|
-
two_x_adder_rate_cents?: string | null;
|
|
13002
|
-
/**
|
|
13003
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13004
|
-
*/
|
|
13005
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
13006
|
-
/**
|
|
13007
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13008
|
-
*/
|
|
13009
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
13010
13292
|
};
|
|
13011
13293
|
/**
|
|
13012
13294
|
* Overtime package whose rules govern overtime on work under this determination. It attaches to every version of the new determination. Null, or an omitted key, attaches none. A package belonging to another company is refused, and a Federal determination refuses one outright — only a Regional determination carries overtime rules.
|
|
@@ -13054,7 +13336,7 @@ export type ProjectWageDeterminationUpdateParameters = {
|
|
|
13054
13336
|
*/
|
|
13055
13337
|
general_wage_determination?: string | null;
|
|
13056
13338
|
/**
|
|
13057
|
-
* State-specific rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
13339
|
+
* State-specific categorized fringe rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422; send null to clear a rate where allowed. An omitted rate keeps its current value. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
13058
13340
|
*/
|
|
13059
13341
|
regional_fields?: {
|
|
13060
13342
|
/**
|
|
@@ -13077,22 +13359,6 @@ export type ProjectWageDeterminationUpdateParameters = {
|
|
|
13077
13359
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
13078
13360
|
*/
|
|
13079
13361
|
other_fringe_rate_cents?: string | null;
|
|
13080
|
-
/**
|
|
13081
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13082
|
-
*/
|
|
13083
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
13084
|
-
/**
|
|
13085
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13086
|
-
*/
|
|
13087
|
-
two_x_adder_rate_cents?: string | null;
|
|
13088
|
-
/**
|
|
13089
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13090
|
-
*/
|
|
13091
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
13092
|
-
/**
|
|
13093
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13094
|
-
*/
|
|
13095
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
13096
13362
|
};
|
|
13097
13363
|
};
|
|
13098
13364
|
/**
|
|
@@ -13128,7 +13394,7 @@ export type ProjectWageDeterminationScheduledChangeParameters = {
|
|
|
13128
13394
|
*/
|
|
13129
13395
|
general_wage_determination?: string | null;
|
|
13130
13396
|
/**
|
|
13131
|
-
* State-specific rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates
|
|
13397
|
+
* State-specific categorized fringe rates for a Regional determination, as decimal-string money in cents (e.g. "538.0"). The determination's region decides which rates it holds: categorized-fringe regions (currently IL) require the five fringe rates. A value for a rate the region does not hold returns a 422; send null to clear a rate where allowed. An omitted rate keeps its current value. Configure overtime wage and fringe premiums through the determination's rate rules.
|
|
13132
13398
|
*/
|
|
13133
13399
|
regional_fields?: {
|
|
13134
13400
|
/**
|
|
@@ -13151,22 +13417,6 @@ export type ProjectWageDeterminationScheduledChangeParameters = {
|
|
|
13151
13417
|
* Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
|
|
13152
13418
|
*/
|
|
13153
13419
|
other_fringe_rate_cents?: string | null;
|
|
13154
|
-
/**
|
|
13155
|
-
* Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13156
|
-
*/
|
|
13157
|
-
one_five_x_adder_rate_cents?: string | null;
|
|
13158
|
-
/**
|
|
13159
|
-
* Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13160
|
-
*/
|
|
13161
|
-
two_x_adder_rate_cents?: string | null;
|
|
13162
|
-
/**
|
|
13163
|
-
* Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13164
|
-
*/
|
|
13165
|
-
one_five_x_fringe_adder_rate_cents?: string | null;
|
|
13166
|
-
/**
|
|
13167
|
-
* Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
|
|
13168
|
-
*/
|
|
13169
|
-
two_x_fringe_adder_rate_cents?: string | null;
|
|
13170
13420
|
};
|
|
13171
13421
|
};
|
|
13172
13422
|
/**
|
|
@@ -13871,7 +14121,7 @@ export type AssetsItemResponseObject = {
|
|
|
13871
14121
|
*/
|
|
13872
14122
|
status: 'available' | 'assigned' | null;
|
|
13873
14123
|
/**
|
|
13874
|
-
*
|
|
14124
|
+
* The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the same day the web shows. Null when not recorded.
|
|
13875
14125
|
*/
|
|
13876
14126
|
purchase_date: string | null;
|
|
13877
14127
|
/**
|
|
@@ -13963,7 +14213,7 @@ export type AssetsItemParameters = {
|
|
|
13963
14213
|
*/
|
|
13964
14214
|
status?: 'available' | 'assigned';
|
|
13965
14215
|
/**
|
|
13966
|
-
* The day the item was purchased, as a calendar date (`YYYY-MM-DD`)
|
|
14216
|
+
* The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the same day the web shows. A value with a time of day is refused with `422`. Send null to clear it.
|
|
13967
14217
|
*/
|
|
13968
14218
|
purchase_date?: string | null;
|
|
13969
14219
|
/**
|
|
@@ -14008,7 +14258,7 @@ export type AssetsItemParameters = {
|
|
|
14008
14258
|
*/
|
|
14009
14259
|
file?: string;
|
|
14010
14260
|
/**
|
|
14011
|
-
* Set true to remove the attachment named by id.
|
|
14261
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
14012
14262
|
*/
|
|
14013
14263
|
_destroy?: boolean;
|
|
14014
14264
|
}>;
|
|
@@ -14058,7 +14308,7 @@ export type AssetsItemUpdateParameters = {
|
|
|
14058
14308
|
*/
|
|
14059
14309
|
status?: 'available' | 'assigned';
|
|
14060
14310
|
/**
|
|
14061
|
-
* The day the item was purchased, as a calendar date (`YYYY-MM-DD`)
|
|
14311
|
+
* The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the same day the web shows. A value with a time of day is refused with `422`. Send null to clear it.
|
|
14062
14312
|
*/
|
|
14063
14313
|
purchase_date?: string | null;
|
|
14064
14314
|
/**
|
|
@@ -14103,7 +14353,7 @@ export type AssetsItemUpdateParameters = {
|
|
|
14103
14353
|
*/
|
|
14104
14354
|
file?: string;
|
|
14105
14355
|
/**
|
|
14106
|
-
* Set true to remove the attachment named by id.
|
|
14356
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
14107
14357
|
*/
|
|
14108
14358
|
_destroy?: boolean;
|
|
14109
14359
|
}>;
|
|
@@ -15155,7 +15405,7 @@ export type AssetsServiceEventParameters = {
|
|
|
15155
15405
|
*/
|
|
15156
15406
|
file?: string;
|
|
15157
15407
|
/**
|
|
15158
|
-
* Set true to remove the attachment named by id.
|
|
15408
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
15159
15409
|
*/
|
|
15160
15410
|
_destroy?: boolean;
|
|
15161
15411
|
}>;
|
|
@@ -15197,7 +15447,7 @@ export type AssetsServiceEventUpdateParameters = {
|
|
|
15197
15447
|
*/
|
|
15198
15448
|
file?: string;
|
|
15199
15449
|
/**
|
|
15200
|
-
* Set true to remove the attachment named by id.
|
|
15450
|
+
* Set true to remove the attachment named by id. A row that sets it without an id answers 422 at that row's id.
|
|
15201
15451
|
*/
|
|
15202
15452
|
_destroy?: boolean;
|
|
15203
15453
|
}>;
|
|
@@ -22677,15 +22927,17 @@ export type ListFormSubmissionsResponses = {
|
|
|
22677
22927
|
200: FormSubmissionIndexObject;
|
|
22678
22928
|
};
|
|
22679
22929
|
export type ListFormSubmissionsResponse = ListFormSubmissionsResponses[keyof ListFormSubmissionsResponses];
|
|
22680
|
-
export type
|
|
22681
|
-
body
|
|
22682
|
-
path
|
|
22683
|
-
id: string;
|
|
22684
|
-
};
|
|
22930
|
+
export type CreateFormSubmissionData = {
|
|
22931
|
+
body: FormSubmissionCreateParameters;
|
|
22932
|
+
path?: never;
|
|
22685
22933
|
query?: never;
|
|
22686
|
-
url: '/api/v1/form_submissions
|
|
22934
|
+
url: '/api/v1/form_submissions';
|
|
22687
22935
|
};
|
|
22688
|
-
export type
|
|
22936
|
+
export type CreateFormSubmissionErrors = {
|
|
22937
|
+
/**
|
|
22938
|
+
* Bad Request
|
|
22939
|
+
*/
|
|
22940
|
+
400: Problem;
|
|
22689
22941
|
/**
|
|
22690
22942
|
* Forbidden
|
|
22691
22943
|
*/
|
|
@@ -22694,11 +22946,41 @@ export type GetFormSubmissionErrors = {
|
|
|
22694
22946
|
* Not Found
|
|
22695
22947
|
*/
|
|
22696
22948
|
404: Problem;
|
|
22697
|
-
};
|
|
22698
|
-
export type GetFormSubmissionError = GetFormSubmissionErrors[keyof GetFormSubmissionErrors];
|
|
22699
|
-
export type GetFormSubmissionResponses = {
|
|
22700
22949
|
/**
|
|
22701
|
-
*
|
|
22950
|
+
* Unprocessable Content
|
|
22951
|
+
*/
|
|
22952
|
+
422: Problem;
|
|
22953
|
+
};
|
|
22954
|
+
export type CreateFormSubmissionError = CreateFormSubmissionErrors[keyof CreateFormSubmissionErrors];
|
|
22955
|
+
export type CreateFormSubmissionResponses = {
|
|
22956
|
+
/**
|
|
22957
|
+
* Created
|
|
22958
|
+
*/
|
|
22959
|
+
201: FormSubmissionResponseObject;
|
|
22960
|
+
};
|
|
22961
|
+
export type CreateFormSubmissionResponse = CreateFormSubmissionResponses[keyof CreateFormSubmissionResponses];
|
|
22962
|
+
export type GetFormSubmissionData = {
|
|
22963
|
+
body?: never;
|
|
22964
|
+
path: {
|
|
22965
|
+
id: string;
|
|
22966
|
+
};
|
|
22967
|
+
query?: never;
|
|
22968
|
+
url: '/api/v1/form_submissions/{id}';
|
|
22969
|
+
};
|
|
22970
|
+
export type GetFormSubmissionErrors = {
|
|
22971
|
+
/**
|
|
22972
|
+
* Forbidden
|
|
22973
|
+
*/
|
|
22974
|
+
403: Problem;
|
|
22975
|
+
/**
|
|
22976
|
+
* Not Found
|
|
22977
|
+
*/
|
|
22978
|
+
404: Problem;
|
|
22979
|
+
};
|
|
22980
|
+
export type GetFormSubmissionError = GetFormSubmissionErrors[keyof GetFormSubmissionErrors];
|
|
22981
|
+
export type GetFormSubmissionResponses = {
|
|
22982
|
+
/**
|
|
22983
|
+
* Success
|
|
22702
22984
|
*/
|
|
22703
22985
|
200: FormSubmissionResponseObject;
|
|
22704
22986
|
};
|
|
@@ -23596,6 +23878,56 @@ export type CreateJobTradeResponses = {
|
|
|
23596
23878
|
201: PwaTradeResponseObject;
|
|
23597
23879
|
};
|
|
23598
23880
|
export type CreateJobTradeResponse = CreateJobTradeResponses[keyof CreateJobTradeResponses];
|
|
23881
|
+
export type ShiftJobWageDeterminationRateRuleGenesisData = {
|
|
23882
|
+
body: PayRatesRuleGenesisParameters;
|
|
23883
|
+
headers: {
|
|
23884
|
+
/**
|
|
23885
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
23886
|
+
*/
|
|
23887
|
+
'If-Match': string;
|
|
23888
|
+
};
|
|
23889
|
+
path: {
|
|
23890
|
+
job_id: string;
|
|
23891
|
+
wage_determination_id: string;
|
|
23892
|
+
rate_rule_id: string;
|
|
23893
|
+
};
|
|
23894
|
+
query?: never;
|
|
23895
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/genesis';
|
|
23896
|
+
};
|
|
23897
|
+
export type ShiftJobWageDeterminationRateRuleGenesisErrors = {
|
|
23898
|
+
/**
|
|
23899
|
+
* Bad Request
|
|
23900
|
+
*/
|
|
23901
|
+
400: Problem;
|
|
23902
|
+
/**
|
|
23903
|
+
* Forbidden
|
|
23904
|
+
*/
|
|
23905
|
+
403: Problem;
|
|
23906
|
+
/**
|
|
23907
|
+
* Not Found
|
|
23908
|
+
*/
|
|
23909
|
+
404: Problem;
|
|
23910
|
+
/**
|
|
23911
|
+
* Precondition Failed
|
|
23912
|
+
*/
|
|
23913
|
+
412: Problem;
|
|
23914
|
+
/**
|
|
23915
|
+
* Unprocessable Content
|
|
23916
|
+
*/
|
|
23917
|
+
422: Problem;
|
|
23918
|
+
/**
|
|
23919
|
+
* Precondition Required
|
|
23920
|
+
*/
|
|
23921
|
+
428: Problem;
|
|
23922
|
+
};
|
|
23923
|
+
export type ShiftJobWageDeterminationRateRuleGenesisError = ShiftJobWageDeterminationRateRuleGenesisErrors[keyof ShiftJobWageDeterminationRateRuleGenesisErrors];
|
|
23924
|
+
export type ShiftJobWageDeterminationRateRuleGenesisResponses = {
|
|
23925
|
+
/**
|
|
23926
|
+
* Success
|
|
23927
|
+
*/
|
|
23928
|
+
200: RateRuleResponseObject;
|
|
23929
|
+
};
|
|
23930
|
+
export type ShiftJobWageDeterminationRateRuleGenesisResponse = ShiftJobWageDeterminationRateRuleGenesisResponses[keyof ShiftJobWageDeterminationRateRuleGenesisResponses];
|
|
23599
23931
|
export type ListRateRuleHistoryData = {
|
|
23600
23932
|
body?: never;
|
|
23601
23933
|
path: {
|
|
@@ -23637,6 +23969,233 @@ export type ListRateRuleHistoryResponses = {
|
|
|
23637
23969
|
};
|
|
23638
23970
|
};
|
|
23639
23971
|
export type ListRateRuleHistoryResponse = ListRateRuleHistoryResponses[keyof ListRateRuleHistoryResponses];
|
|
23972
|
+
export type CancelJobWageDeterminationRateRuleScheduledChangesData = {
|
|
23973
|
+
body?: never;
|
|
23974
|
+
headers: {
|
|
23975
|
+
/**
|
|
23976
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
23977
|
+
*/
|
|
23978
|
+
'If-Match': string;
|
|
23979
|
+
};
|
|
23980
|
+
path: {
|
|
23981
|
+
job_id: string;
|
|
23982
|
+
wage_determination_id: string;
|
|
23983
|
+
rate_rule_id: string;
|
|
23984
|
+
};
|
|
23985
|
+
query?: never;
|
|
23986
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
23987
|
+
};
|
|
23988
|
+
export type CancelJobWageDeterminationRateRuleScheduledChangesErrors = {
|
|
23989
|
+
/**
|
|
23990
|
+
* Forbidden
|
|
23991
|
+
*/
|
|
23992
|
+
403: Problem;
|
|
23993
|
+
/**
|
|
23994
|
+
* Precondition Failed
|
|
23995
|
+
*/
|
|
23996
|
+
412: Problem;
|
|
23997
|
+
/**
|
|
23998
|
+
* Unprocessable Content
|
|
23999
|
+
*/
|
|
24000
|
+
422: Problem;
|
|
24001
|
+
/**
|
|
24002
|
+
* Precondition Required
|
|
24003
|
+
*/
|
|
24004
|
+
428: Problem;
|
|
24005
|
+
};
|
|
24006
|
+
export type CancelJobWageDeterminationRateRuleScheduledChangesError = CancelJobWageDeterminationRateRuleScheduledChangesErrors[keyof CancelJobWageDeterminationRateRuleScheduledChangesErrors];
|
|
24007
|
+
export type CancelJobWageDeterminationRateRuleScheduledChangesResponses = {
|
|
24008
|
+
/**
|
|
24009
|
+
* Success
|
|
24010
|
+
*/
|
|
24011
|
+
200: RateRuleResponseObject;
|
|
24012
|
+
};
|
|
24013
|
+
export type CancelJobWageDeterminationRateRuleScheduledChangesResponse = CancelJobWageDeterminationRateRuleScheduledChangesResponses[keyof CancelJobWageDeterminationRateRuleScheduledChangesResponses];
|
|
24014
|
+
export type ListJobWageDeterminationRateRuleScheduledChangesData = {
|
|
24015
|
+
body?: never;
|
|
24016
|
+
path: {
|
|
24017
|
+
job_id: string;
|
|
24018
|
+
wage_determination_id: string;
|
|
24019
|
+
rate_rule_id: string;
|
|
24020
|
+
};
|
|
24021
|
+
query?: {
|
|
24022
|
+
'as_of[valid]'?: string;
|
|
24023
|
+
'as_of[transaction]'?: string;
|
|
24024
|
+
};
|
|
24025
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
24026
|
+
};
|
|
24027
|
+
export type ListJobWageDeterminationRateRuleScheduledChangesErrors = {
|
|
24028
|
+
/**
|
|
24029
|
+
* Bad Request
|
|
24030
|
+
*/
|
|
24031
|
+
400: Problem;
|
|
24032
|
+
/**
|
|
24033
|
+
* Forbidden
|
|
24034
|
+
*/
|
|
24035
|
+
403: Problem;
|
|
24036
|
+
/**
|
|
24037
|
+
* Not Found
|
|
24038
|
+
*/
|
|
24039
|
+
404: Problem;
|
|
24040
|
+
};
|
|
24041
|
+
export type ListJobWageDeterminationRateRuleScheduledChangesError = ListJobWageDeterminationRateRuleScheduledChangesErrors[keyof ListJobWageDeterminationRateRuleScheduledChangesErrors];
|
|
24042
|
+
export type ListJobWageDeterminationRateRuleScheduledChangesResponses = {
|
|
24043
|
+
/**
|
|
24044
|
+
* Success
|
|
24045
|
+
*/
|
|
24046
|
+
200: {
|
|
24047
|
+
meta: Meta;
|
|
24048
|
+
links: Links;
|
|
24049
|
+
data: Array<RateRuleHistoryVersionObject>;
|
|
24050
|
+
};
|
|
24051
|
+
};
|
|
24052
|
+
export type ListJobWageDeterminationRateRuleScheduledChangesResponse = ListJobWageDeterminationRateRuleScheduledChangesResponses[keyof ListJobWageDeterminationRateRuleScheduledChangesResponses];
|
|
24053
|
+
export type ScheduleJobWageDeterminationRateRuleChangeData = {
|
|
24054
|
+
body: PayRatesRuleScheduledChangeParameters;
|
|
24055
|
+
headers: {
|
|
24056
|
+
/**
|
|
24057
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
24058
|
+
*/
|
|
24059
|
+
'If-Match': string;
|
|
24060
|
+
};
|
|
24061
|
+
path: {
|
|
24062
|
+
job_id: string;
|
|
24063
|
+
wage_determination_id: string;
|
|
24064
|
+
rate_rule_id: string;
|
|
24065
|
+
};
|
|
24066
|
+
query?: never;
|
|
24067
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
24068
|
+
};
|
|
24069
|
+
export type ScheduleJobWageDeterminationRateRuleChangeErrors = {
|
|
24070
|
+
/**
|
|
24071
|
+
* Bad Request
|
|
24072
|
+
*/
|
|
24073
|
+
400: Problem;
|
|
24074
|
+
/**
|
|
24075
|
+
* Forbidden
|
|
24076
|
+
*/
|
|
24077
|
+
403: Problem;
|
|
24078
|
+
/**
|
|
24079
|
+
* Not Found
|
|
24080
|
+
*/
|
|
24081
|
+
404: Problem;
|
|
24082
|
+
/**
|
|
24083
|
+
* Precondition Failed
|
|
24084
|
+
*/
|
|
24085
|
+
412: Problem;
|
|
24086
|
+
/**
|
|
24087
|
+
* Precondition Required
|
|
24088
|
+
*/
|
|
24089
|
+
428: Problem;
|
|
24090
|
+
};
|
|
24091
|
+
export type ScheduleJobWageDeterminationRateRuleChangeError = ScheduleJobWageDeterminationRateRuleChangeErrors[keyof ScheduleJobWageDeterminationRateRuleChangeErrors];
|
|
24092
|
+
export type ScheduleJobWageDeterminationRateRuleChangeResponses = {
|
|
24093
|
+
/**
|
|
24094
|
+
* Success
|
|
24095
|
+
*/
|
|
24096
|
+
200: RateRuleResponseObject;
|
|
24097
|
+
/**
|
|
24098
|
+
* Success
|
|
24099
|
+
*/
|
|
24100
|
+
201: RateRuleResponseObject;
|
|
24101
|
+
};
|
|
24102
|
+
export type ScheduleJobWageDeterminationRateRuleChangeResponse = ScheduleJobWageDeterminationRateRuleChangeResponses[keyof ScheduleJobWageDeterminationRateRuleChangeResponses];
|
|
24103
|
+
export type CancelJobWageDeterminationRateRuleScheduledTerminationData = {
|
|
24104
|
+
body?: never;
|
|
24105
|
+
headers: {
|
|
24106
|
+
/**
|
|
24107
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
24108
|
+
*/
|
|
24109
|
+
'If-Match': string;
|
|
24110
|
+
};
|
|
24111
|
+
path: {
|
|
24112
|
+
job_id: string;
|
|
24113
|
+
wage_determination_id: string;
|
|
24114
|
+
rate_rule_id: string;
|
|
24115
|
+
};
|
|
24116
|
+
query?: never;
|
|
24117
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination';
|
|
24118
|
+
};
|
|
24119
|
+
export type CancelJobWageDeterminationRateRuleScheduledTerminationErrors = {
|
|
24120
|
+
/**
|
|
24121
|
+
* Forbidden
|
|
24122
|
+
*/
|
|
24123
|
+
403: Problem;
|
|
24124
|
+
/**
|
|
24125
|
+
* Precondition Failed
|
|
24126
|
+
*/
|
|
24127
|
+
412: Problem;
|
|
24128
|
+
/**
|
|
24129
|
+
* Unprocessable Content
|
|
24130
|
+
*/
|
|
24131
|
+
422: Problem;
|
|
24132
|
+
/**
|
|
24133
|
+
* Precondition Required
|
|
24134
|
+
*/
|
|
24135
|
+
428: Problem;
|
|
24136
|
+
};
|
|
24137
|
+
export type CancelJobWageDeterminationRateRuleScheduledTerminationError = CancelJobWageDeterminationRateRuleScheduledTerminationErrors[keyof CancelJobWageDeterminationRateRuleScheduledTerminationErrors];
|
|
24138
|
+
export type CancelJobWageDeterminationRateRuleScheduledTerminationResponses = {
|
|
24139
|
+
/**
|
|
24140
|
+
* Success
|
|
24141
|
+
*/
|
|
24142
|
+
200: RateRuleResponseObject;
|
|
24143
|
+
};
|
|
24144
|
+
export type CancelJobWageDeterminationRateRuleScheduledTerminationResponse = CancelJobWageDeterminationRateRuleScheduledTerminationResponses[keyof CancelJobWageDeterminationRateRuleScheduledTerminationResponses];
|
|
24145
|
+
export type ScheduleJobWageDeterminationRateRuleTerminationData = {
|
|
24146
|
+
body: PayRatesRuleScheduledTerminationParameters;
|
|
24147
|
+
headers: {
|
|
24148
|
+
/**
|
|
24149
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
24150
|
+
*/
|
|
24151
|
+
'If-Match': string;
|
|
24152
|
+
};
|
|
24153
|
+
path: {
|
|
24154
|
+
job_id: string;
|
|
24155
|
+
wage_determination_id: string;
|
|
24156
|
+
rate_rule_id: string;
|
|
24157
|
+
};
|
|
24158
|
+
query?: never;
|
|
24159
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination';
|
|
24160
|
+
};
|
|
24161
|
+
export type ScheduleJobWageDeterminationRateRuleTerminationErrors = {
|
|
24162
|
+
/**
|
|
24163
|
+
* Bad Request
|
|
24164
|
+
*/
|
|
24165
|
+
400: Problem;
|
|
24166
|
+
/**
|
|
24167
|
+
* Forbidden
|
|
24168
|
+
*/
|
|
24169
|
+
403: Problem;
|
|
24170
|
+
/**
|
|
24171
|
+
* Not Found
|
|
24172
|
+
*/
|
|
24173
|
+
404: Problem;
|
|
24174
|
+
/**
|
|
24175
|
+
* Conflict
|
|
24176
|
+
*/
|
|
24177
|
+
409: Problem;
|
|
24178
|
+
/**
|
|
24179
|
+
* Precondition Failed
|
|
24180
|
+
*/
|
|
24181
|
+
412: Problem;
|
|
24182
|
+
/**
|
|
24183
|
+
* Unprocessable Content
|
|
24184
|
+
*/
|
|
24185
|
+
422: Problem;
|
|
24186
|
+
/**
|
|
24187
|
+
* Precondition Required
|
|
24188
|
+
*/
|
|
24189
|
+
428: Problem;
|
|
24190
|
+
};
|
|
24191
|
+
export type ScheduleJobWageDeterminationRateRuleTerminationError = ScheduleJobWageDeterminationRateRuleTerminationErrors[keyof ScheduleJobWageDeterminationRateRuleTerminationErrors];
|
|
24192
|
+
export type ScheduleJobWageDeterminationRateRuleTerminationResponses = {
|
|
24193
|
+
/**
|
|
24194
|
+
* Success
|
|
24195
|
+
*/
|
|
24196
|
+
201: RateRuleResponseObject;
|
|
24197
|
+
};
|
|
24198
|
+
export type ScheduleJobWageDeterminationRateRuleTerminationResponse = ScheduleJobWageDeterminationRateRuleTerminationResponses[keyof ScheduleJobWageDeterminationRateRuleTerminationResponses];
|
|
23640
24199
|
export type ListRateRulesData = {
|
|
23641
24200
|
body?: never;
|
|
23642
24201
|
path: {
|
|
@@ -23716,6 +24275,44 @@ export type CreateRateRuleResponses = {
|
|
|
23716
24275
|
201: RateRuleResponseObject;
|
|
23717
24276
|
};
|
|
23718
24277
|
export type CreateRateRuleResponse = CreateRateRuleResponses[keyof CreateRateRuleResponses];
|
|
24278
|
+
export type DeleteJobWageDeterminationRateRuleData = {
|
|
24279
|
+
body?: never;
|
|
24280
|
+
headers: {
|
|
24281
|
+
/**
|
|
24282
|
+
* Rule family ETag. See "Version validators" in the API overview.
|
|
24283
|
+
*/
|
|
24284
|
+
'If-Match': string;
|
|
24285
|
+
};
|
|
24286
|
+
path: {
|
|
24287
|
+
job_id: string;
|
|
24288
|
+
wage_determination_id: string;
|
|
24289
|
+
id: string;
|
|
24290
|
+
};
|
|
24291
|
+
query?: never;
|
|
24292
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
|
|
24293
|
+
};
|
|
24294
|
+
export type DeleteJobWageDeterminationRateRuleErrors = {
|
|
24295
|
+
/**
|
|
24296
|
+
* Forbidden
|
|
24297
|
+
*/
|
|
24298
|
+
403: Problem;
|
|
24299
|
+
/**
|
|
24300
|
+
* Precondition Failed
|
|
24301
|
+
*/
|
|
24302
|
+
412: Problem;
|
|
24303
|
+
/**
|
|
24304
|
+
* Precondition Required
|
|
24305
|
+
*/
|
|
24306
|
+
428: Problem;
|
|
24307
|
+
};
|
|
24308
|
+
export type DeleteJobWageDeterminationRateRuleError = DeleteJobWageDeterminationRateRuleErrors[keyof DeleteJobWageDeterminationRateRuleErrors];
|
|
24309
|
+
export type DeleteJobWageDeterminationRateRuleResponses = {
|
|
24310
|
+
/**
|
|
24311
|
+
* Success
|
|
24312
|
+
*/
|
|
24313
|
+
200: RateRuleResponseObject;
|
|
24314
|
+
};
|
|
24315
|
+
export type DeleteJobWageDeterminationRateRuleResponse = DeleteJobWageDeterminationRateRuleResponses[keyof DeleteJobWageDeterminationRateRuleResponses];
|
|
23719
24316
|
export type GetRateRuleData = {
|
|
23720
24317
|
body?: never;
|
|
23721
24318
|
path: {
|
|
@@ -23723,15 +24320,53 @@ export type GetRateRuleData = {
|
|
|
23723
24320
|
wage_determination_id: string;
|
|
23724
24321
|
id: string;
|
|
23725
24322
|
};
|
|
23726
|
-
query?: {
|
|
23727
|
-
/**
|
|
23728
|
-
* Read the version valid at this point in time. Defaults to now. Needs a UTC offset (`2026-03-01T00:00:00Z`); a value without one is a `422`.
|
|
23729
|
-
*/
|
|
23730
|
-
'as_of[valid]'?: string;
|
|
23731
|
-
};
|
|
24323
|
+
query?: {
|
|
24324
|
+
/**
|
|
24325
|
+
* Read the version valid at this point in time. Defaults to now. Needs a UTC offset (`2026-03-01T00:00:00Z`); a value without one is a `422`.
|
|
24326
|
+
*/
|
|
24327
|
+
'as_of[valid]'?: string;
|
|
24328
|
+
};
|
|
24329
|
+
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
|
|
24330
|
+
};
|
|
24331
|
+
export type GetRateRuleErrors = {
|
|
24332
|
+
/**
|
|
24333
|
+
* Forbidden
|
|
24334
|
+
*/
|
|
24335
|
+
403: Problem;
|
|
24336
|
+
/**
|
|
24337
|
+
* Not Found
|
|
24338
|
+
*/
|
|
24339
|
+
404: Problem;
|
|
24340
|
+
};
|
|
24341
|
+
export type GetRateRuleError = GetRateRuleErrors[keyof GetRateRuleErrors];
|
|
24342
|
+
export type GetRateRuleResponses = {
|
|
24343
|
+
/**
|
|
24344
|
+
* Success
|
|
24345
|
+
*/
|
|
24346
|
+
200: RateRuleResponseObject;
|
|
24347
|
+
};
|
|
24348
|
+
export type GetRateRuleResponse = GetRateRuleResponses[keyof GetRateRuleResponses];
|
|
24349
|
+
export type UpdateJobWageDeterminationRateRuleData = {
|
|
24350
|
+
body: PayRatesRuleUpdateParameters;
|
|
24351
|
+
headers: {
|
|
24352
|
+
/**
|
|
24353
|
+
* Rule family ETag. See "Version validators" in the API overview.
|
|
24354
|
+
*/
|
|
24355
|
+
'If-Match': string;
|
|
24356
|
+
};
|
|
24357
|
+
path: {
|
|
24358
|
+
job_id: string;
|
|
24359
|
+
wage_determination_id: string;
|
|
24360
|
+
id: string;
|
|
24361
|
+
};
|
|
24362
|
+
query?: never;
|
|
23732
24363
|
url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
|
|
23733
24364
|
};
|
|
23734
|
-
export type
|
|
24365
|
+
export type UpdateJobWageDeterminationRateRuleErrors = {
|
|
24366
|
+
/**
|
|
24367
|
+
* Bad Request
|
|
24368
|
+
*/
|
|
24369
|
+
400: Problem;
|
|
23735
24370
|
/**
|
|
23736
24371
|
* Forbidden
|
|
23737
24372
|
*/
|
|
@@ -23740,15 +24375,27 @@ export type GetRateRuleErrors = {
|
|
|
23740
24375
|
* Not Found
|
|
23741
24376
|
*/
|
|
23742
24377
|
404: Problem;
|
|
24378
|
+
/**
|
|
24379
|
+
* Precondition Failed
|
|
24380
|
+
*/
|
|
24381
|
+
412: Problem;
|
|
24382
|
+
/**
|
|
24383
|
+
* Unprocessable Content
|
|
24384
|
+
*/
|
|
24385
|
+
422: Problem;
|
|
24386
|
+
/**
|
|
24387
|
+
* Precondition Required
|
|
24388
|
+
*/
|
|
24389
|
+
428: Problem;
|
|
23743
24390
|
};
|
|
23744
|
-
export type
|
|
23745
|
-
export type
|
|
24391
|
+
export type UpdateJobWageDeterminationRateRuleError = UpdateJobWageDeterminationRateRuleErrors[keyof UpdateJobWageDeterminationRateRuleErrors];
|
|
24392
|
+
export type UpdateJobWageDeterminationRateRuleResponses = {
|
|
23746
24393
|
/**
|
|
23747
24394
|
* Success
|
|
23748
24395
|
*/
|
|
23749
24396
|
200: RateRuleResponseObject;
|
|
23750
24397
|
};
|
|
23751
|
-
export type
|
|
24398
|
+
export type UpdateJobWageDeterminationRateRuleResponse = UpdateJobWageDeterminationRateRuleResponses[keyof UpdateJobWageDeterminationRateRuleResponses];
|
|
23752
24399
|
export type ListJobSitesData = {
|
|
23753
24400
|
body?: never;
|
|
23754
24401
|
path: {
|
|
@@ -29446,38 +30093,303 @@ export type CreateProjectTradeErrors = {
|
|
|
29446
30093
|
*/
|
|
29447
30094
|
403: Problem;
|
|
29448
30095
|
/**
|
|
29449
|
-
* Not Found
|
|
30096
|
+
* Not Found
|
|
30097
|
+
*/
|
|
30098
|
+
404: Problem;
|
|
30099
|
+
/**
|
|
30100
|
+
* Unprocessable Content
|
|
30101
|
+
*/
|
|
30102
|
+
422: Problem;
|
|
30103
|
+
};
|
|
30104
|
+
export type CreateProjectTradeError = CreateProjectTradeErrors[keyof CreateProjectTradeErrors];
|
|
30105
|
+
export type CreateProjectTradeResponses = {
|
|
30106
|
+
/**
|
|
30107
|
+
* Created
|
|
30108
|
+
*/
|
|
30109
|
+
201: PwaTradeResponseObject;
|
|
30110
|
+
};
|
|
30111
|
+
export type CreateProjectTradeResponse = CreateProjectTradeResponses[keyof CreateProjectTradeResponses];
|
|
30112
|
+
export type ShiftProjectWageDeterminationRateRuleGenesisData = {
|
|
30113
|
+
body: PayRatesRuleGenesisParameters;
|
|
30114
|
+
headers: {
|
|
30115
|
+
/**
|
|
30116
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
30117
|
+
*/
|
|
30118
|
+
'If-Match': string;
|
|
30119
|
+
};
|
|
30120
|
+
path: {
|
|
30121
|
+
project_id: string;
|
|
30122
|
+
wage_determination_id: string;
|
|
30123
|
+
rate_rule_id: string;
|
|
30124
|
+
};
|
|
30125
|
+
query?: never;
|
|
30126
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/genesis';
|
|
30127
|
+
};
|
|
30128
|
+
export type ShiftProjectWageDeterminationRateRuleGenesisErrors = {
|
|
30129
|
+
/**
|
|
30130
|
+
* Bad Request
|
|
30131
|
+
*/
|
|
30132
|
+
400: Problem;
|
|
30133
|
+
/**
|
|
30134
|
+
* Forbidden
|
|
30135
|
+
*/
|
|
30136
|
+
403: Problem;
|
|
30137
|
+
/**
|
|
30138
|
+
* Not Found
|
|
30139
|
+
*/
|
|
30140
|
+
404: Problem;
|
|
30141
|
+
/**
|
|
30142
|
+
* Precondition Failed
|
|
30143
|
+
*/
|
|
30144
|
+
412: Problem;
|
|
30145
|
+
/**
|
|
30146
|
+
* Unprocessable Content
|
|
30147
|
+
*/
|
|
30148
|
+
422: Problem;
|
|
30149
|
+
/**
|
|
30150
|
+
* Precondition Required
|
|
30151
|
+
*/
|
|
30152
|
+
428: Problem;
|
|
30153
|
+
};
|
|
30154
|
+
export type ShiftProjectWageDeterminationRateRuleGenesisError = ShiftProjectWageDeterminationRateRuleGenesisErrors[keyof ShiftProjectWageDeterminationRateRuleGenesisErrors];
|
|
30155
|
+
export type ShiftProjectWageDeterminationRateRuleGenesisResponses = {
|
|
30156
|
+
/**
|
|
30157
|
+
* Success
|
|
30158
|
+
*/
|
|
30159
|
+
200: ProjectRateRuleResponseObject;
|
|
30160
|
+
};
|
|
30161
|
+
export type ShiftProjectWageDeterminationRateRuleGenesisResponse = ShiftProjectWageDeterminationRateRuleGenesisResponses[keyof ShiftProjectWageDeterminationRateRuleGenesisResponses];
|
|
30162
|
+
export type ListProjectWageDeterminationRateRuleHistoryData = {
|
|
30163
|
+
body?: never;
|
|
30164
|
+
path: {
|
|
30165
|
+
project_id: string;
|
|
30166
|
+
wage_determination_id: string;
|
|
30167
|
+
/**
|
|
30168
|
+
* The rule's version-stable identity, as returned in `id`.
|
|
30169
|
+
*/
|
|
30170
|
+
rate_rule_id: string;
|
|
30171
|
+
};
|
|
30172
|
+
query?: {
|
|
30173
|
+
'as_of[valid]'?: string;
|
|
30174
|
+
};
|
|
30175
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/history';
|
|
30176
|
+
};
|
|
30177
|
+
export type ListProjectWageDeterminationRateRuleHistoryErrors = {
|
|
30178
|
+
/**
|
|
30179
|
+
* Bad Request
|
|
30180
|
+
*/
|
|
30181
|
+
400: Problem;
|
|
30182
|
+
/**
|
|
30183
|
+
* Forbidden
|
|
30184
|
+
*/
|
|
30185
|
+
403: Problem;
|
|
30186
|
+
/**
|
|
30187
|
+
* Not Found
|
|
30188
|
+
*/
|
|
30189
|
+
404: Problem;
|
|
30190
|
+
};
|
|
30191
|
+
export type ListProjectWageDeterminationRateRuleHistoryError = ListProjectWageDeterminationRateRuleHistoryErrors[keyof ListProjectWageDeterminationRateRuleHistoryErrors];
|
|
30192
|
+
export type ListProjectWageDeterminationRateRuleHistoryResponses = {
|
|
30193
|
+
/**
|
|
30194
|
+
* Success
|
|
30195
|
+
*/
|
|
30196
|
+
200: {
|
|
30197
|
+
meta: Meta;
|
|
30198
|
+
links: Links;
|
|
30199
|
+
data: Array<ProjectRateRuleHistoryVersionObject>;
|
|
30200
|
+
};
|
|
30201
|
+
};
|
|
30202
|
+
export type ListProjectWageDeterminationRateRuleHistoryResponse = ListProjectWageDeterminationRateRuleHistoryResponses[keyof ListProjectWageDeterminationRateRuleHistoryResponses];
|
|
30203
|
+
export type CancelProjectWageDeterminationRateRuleScheduledChangesData = {
|
|
30204
|
+
body?: never;
|
|
30205
|
+
headers: {
|
|
30206
|
+
/**
|
|
30207
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
30208
|
+
*/
|
|
30209
|
+
'If-Match': string;
|
|
30210
|
+
};
|
|
30211
|
+
path: {
|
|
30212
|
+
project_id: string;
|
|
30213
|
+
wage_determination_id: string;
|
|
30214
|
+
rate_rule_id: string;
|
|
30215
|
+
};
|
|
30216
|
+
query?: never;
|
|
30217
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
30218
|
+
};
|
|
30219
|
+
export type CancelProjectWageDeterminationRateRuleScheduledChangesErrors = {
|
|
30220
|
+
/**
|
|
30221
|
+
* Forbidden
|
|
30222
|
+
*/
|
|
30223
|
+
403: Problem;
|
|
30224
|
+
/**
|
|
30225
|
+
* Precondition Failed
|
|
30226
|
+
*/
|
|
30227
|
+
412: Problem;
|
|
30228
|
+
/**
|
|
30229
|
+
* Unprocessable Content
|
|
30230
|
+
*/
|
|
30231
|
+
422: Problem;
|
|
30232
|
+
/**
|
|
30233
|
+
* Precondition Required
|
|
30234
|
+
*/
|
|
30235
|
+
428: Problem;
|
|
30236
|
+
};
|
|
30237
|
+
export type CancelProjectWageDeterminationRateRuleScheduledChangesError = CancelProjectWageDeterminationRateRuleScheduledChangesErrors[keyof CancelProjectWageDeterminationRateRuleScheduledChangesErrors];
|
|
30238
|
+
export type CancelProjectWageDeterminationRateRuleScheduledChangesResponses = {
|
|
30239
|
+
/**
|
|
30240
|
+
* Success
|
|
30241
|
+
*/
|
|
30242
|
+
200: ProjectRateRuleResponseObject;
|
|
30243
|
+
};
|
|
30244
|
+
export type CancelProjectWageDeterminationRateRuleScheduledChangesResponse = CancelProjectWageDeterminationRateRuleScheduledChangesResponses[keyof CancelProjectWageDeterminationRateRuleScheduledChangesResponses];
|
|
30245
|
+
export type ListProjectWageDeterminationRateRuleScheduledChangesData = {
|
|
30246
|
+
body?: never;
|
|
30247
|
+
path: {
|
|
30248
|
+
project_id: string;
|
|
30249
|
+
wage_determination_id: string;
|
|
30250
|
+
rate_rule_id: string;
|
|
30251
|
+
};
|
|
30252
|
+
query?: {
|
|
30253
|
+
'as_of[valid]'?: string;
|
|
30254
|
+
'as_of[transaction]'?: string;
|
|
30255
|
+
};
|
|
30256
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
30257
|
+
};
|
|
30258
|
+
export type ListProjectWageDeterminationRateRuleScheduledChangesErrors = {
|
|
30259
|
+
/**
|
|
30260
|
+
* Bad Request
|
|
30261
|
+
*/
|
|
30262
|
+
400: Problem;
|
|
30263
|
+
/**
|
|
30264
|
+
* Forbidden
|
|
30265
|
+
*/
|
|
30266
|
+
403: Problem;
|
|
30267
|
+
/**
|
|
30268
|
+
* Not Found
|
|
30269
|
+
*/
|
|
30270
|
+
404: Problem;
|
|
30271
|
+
};
|
|
30272
|
+
export type ListProjectWageDeterminationRateRuleScheduledChangesError = ListProjectWageDeterminationRateRuleScheduledChangesErrors[keyof ListProjectWageDeterminationRateRuleScheduledChangesErrors];
|
|
30273
|
+
export type ListProjectWageDeterminationRateRuleScheduledChangesResponses = {
|
|
30274
|
+
/**
|
|
30275
|
+
* Success
|
|
30276
|
+
*/
|
|
30277
|
+
200: {
|
|
30278
|
+
meta: Meta;
|
|
30279
|
+
links: Links;
|
|
30280
|
+
data: Array<ProjectRateRuleHistoryVersionObject>;
|
|
30281
|
+
};
|
|
30282
|
+
};
|
|
30283
|
+
export type ListProjectWageDeterminationRateRuleScheduledChangesResponse = ListProjectWageDeterminationRateRuleScheduledChangesResponses[keyof ListProjectWageDeterminationRateRuleScheduledChangesResponses];
|
|
30284
|
+
export type ScheduleProjectWageDeterminationRateRuleChangeData = {
|
|
30285
|
+
body: PayRatesRuleScheduledChangeParameters;
|
|
30286
|
+
headers: {
|
|
30287
|
+
/**
|
|
30288
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
30289
|
+
*/
|
|
30290
|
+
'If-Match': string;
|
|
30291
|
+
};
|
|
30292
|
+
path: {
|
|
30293
|
+
project_id: string;
|
|
30294
|
+
wage_determination_id: string;
|
|
30295
|
+
rate_rule_id: string;
|
|
30296
|
+
};
|
|
30297
|
+
query?: never;
|
|
30298
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_changes';
|
|
30299
|
+
};
|
|
30300
|
+
export type ScheduleProjectWageDeterminationRateRuleChangeErrors = {
|
|
30301
|
+
/**
|
|
30302
|
+
* Bad Request
|
|
30303
|
+
*/
|
|
30304
|
+
400: Problem;
|
|
30305
|
+
/**
|
|
30306
|
+
* Forbidden
|
|
30307
|
+
*/
|
|
30308
|
+
403: Problem;
|
|
30309
|
+
/**
|
|
30310
|
+
* Not Found
|
|
30311
|
+
*/
|
|
30312
|
+
404: Problem;
|
|
30313
|
+
/**
|
|
30314
|
+
* Precondition Failed
|
|
30315
|
+
*/
|
|
30316
|
+
412: Problem;
|
|
30317
|
+
/**
|
|
30318
|
+
* Precondition Required
|
|
30319
|
+
*/
|
|
30320
|
+
428: Problem;
|
|
30321
|
+
};
|
|
30322
|
+
export type ScheduleProjectWageDeterminationRateRuleChangeError = ScheduleProjectWageDeterminationRateRuleChangeErrors[keyof ScheduleProjectWageDeterminationRateRuleChangeErrors];
|
|
30323
|
+
export type ScheduleProjectWageDeterminationRateRuleChangeResponses = {
|
|
30324
|
+
/**
|
|
30325
|
+
* Success
|
|
30326
|
+
*/
|
|
30327
|
+
200: ProjectRateRuleResponseObject;
|
|
30328
|
+
/**
|
|
30329
|
+
* Success
|
|
30330
|
+
*/
|
|
30331
|
+
201: ProjectRateRuleResponseObject;
|
|
30332
|
+
};
|
|
30333
|
+
export type ScheduleProjectWageDeterminationRateRuleChangeResponse = ScheduleProjectWageDeterminationRateRuleChangeResponses[keyof ScheduleProjectWageDeterminationRateRuleChangeResponses];
|
|
30334
|
+
export type CancelProjectWageDeterminationRateRuleScheduledTerminationData = {
|
|
30335
|
+
body?: never;
|
|
30336
|
+
headers: {
|
|
30337
|
+
/**
|
|
30338
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
30339
|
+
*/
|
|
30340
|
+
'If-Match': string;
|
|
30341
|
+
};
|
|
30342
|
+
path: {
|
|
30343
|
+
project_id: string;
|
|
30344
|
+
wage_determination_id: string;
|
|
30345
|
+
rate_rule_id: string;
|
|
30346
|
+
};
|
|
30347
|
+
query?: never;
|
|
30348
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination';
|
|
30349
|
+
};
|
|
30350
|
+
export type CancelProjectWageDeterminationRateRuleScheduledTerminationErrors = {
|
|
30351
|
+
/**
|
|
30352
|
+
* Forbidden
|
|
30353
|
+
*/
|
|
30354
|
+
403: Problem;
|
|
30355
|
+
/**
|
|
30356
|
+
* Precondition Failed
|
|
29450
30357
|
*/
|
|
29451
|
-
|
|
30358
|
+
412: Problem;
|
|
29452
30359
|
/**
|
|
29453
30360
|
* Unprocessable Content
|
|
29454
30361
|
*/
|
|
29455
30362
|
422: Problem;
|
|
30363
|
+
/**
|
|
30364
|
+
* Precondition Required
|
|
30365
|
+
*/
|
|
30366
|
+
428: Problem;
|
|
29456
30367
|
};
|
|
29457
|
-
export type
|
|
29458
|
-
export type
|
|
30368
|
+
export type CancelProjectWageDeterminationRateRuleScheduledTerminationError = CancelProjectWageDeterminationRateRuleScheduledTerminationErrors[keyof CancelProjectWageDeterminationRateRuleScheduledTerminationErrors];
|
|
30369
|
+
export type CancelProjectWageDeterminationRateRuleScheduledTerminationResponses = {
|
|
29459
30370
|
/**
|
|
29460
|
-
*
|
|
30371
|
+
* Success
|
|
29461
30372
|
*/
|
|
29462
|
-
|
|
30373
|
+
200: ProjectRateRuleResponseObject;
|
|
29463
30374
|
};
|
|
29464
|
-
export type
|
|
29465
|
-
export type
|
|
29466
|
-
body
|
|
30375
|
+
export type CancelProjectWageDeterminationRateRuleScheduledTerminationResponse = CancelProjectWageDeterminationRateRuleScheduledTerminationResponses[keyof CancelProjectWageDeterminationRateRuleScheduledTerminationResponses];
|
|
30376
|
+
export type ScheduleProjectWageDeterminationRateRuleTerminationData = {
|
|
30377
|
+
body: PayRatesRuleScheduledTerminationParameters;
|
|
30378
|
+
headers: {
|
|
30379
|
+
/**
|
|
30380
|
+
* The rule family ETag. See "Version validators" in the API overview.
|
|
30381
|
+
*/
|
|
30382
|
+
'If-Match': string;
|
|
30383
|
+
};
|
|
29467
30384
|
path: {
|
|
29468
30385
|
project_id: string;
|
|
29469
30386
|
wage_determination_id: string;
|
|
29470
|
-
/**
|
|
29471
|
-
* The rule's version-stable identity, as returned in `id`.
|
|
29472
|
-
*/
|
|
29473
30387
|
rate_rule_id: string;
|
|
29474
30388
|
};
|
|
29475
|
-
query?:
|
|
29476
|
-
|
|
29477
|
-
};
|
|
29478
|
-
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/history';
|
|
30389
|
+
query?: never;
|
|
30390
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/scheduled_termination';
|
|
29479
30391
|
};
|
|
29480
|
-
export type
|
|
30392
|
+
export type ScheduleProjectWageDeterminationRateRuleTerminationErrors = {
|
|
29481
30393
|
/**
|
|
29482
30394
|
* Bad Request
|
|
29483
30395
|
*/
|
|
@@ -29490,19 +30402,31 @@ export type ListProjectWageDeterminationRateRuleHistoryErrors = {
|
|
|
29490
30402
|
* Not Found
|
|
29491
30403
|
*/
|
|
29492
30404
|
404: Problem;
|
|
30405
|
+
/**
|
|
30406
|
+
* Conflict
|
|
30407
|
+
*/
|
|
30408
|
+
409: Problem;
|
|
30409
|
+
/**
|
|
30410
|
+
* Precondition Failed
|
|
30411
|
+
*/
|
|
30412
|
+
412: Problem;
|
|
30413
|
+
/**
|
|
30414
|
+
* Unprocessable Content
|
|
30415
|
+
*/
|
|
30416
|
+
422: Problem;
|
|
30417
|
+
/**
|
|
30418
|
+
* Precondition Required
|
|
30419
|
+
*/
|
|
30420
|
+
428: Problem;
|
|
29493
30421
|
};
|
|
29494
|
-
export type
|
|
29495
|
-
export type
|
|
30422
|
+
export type ScheduleProjectWageDeterminationRateRuleTerminationError = ScheduleProjectWageDeterminationRateRuleTerminationErrors[keyof ScheduleProjectWageDeterminationRateRuleTerminationErrors];
|
|
30423
|
+
export type ScheduleProjectWageDeterminationRateRuleTerminationResponses = {
|
|
29496
30424
|
/**
|
|
29497
30425
|
* Success
|
|
29498
30426
|
*/
|
|
29499
|
-
|
|
29500
|
-
meta: Meta;
|
|
29501
|
-
links: Links;
|
|
29502
|
-
data: Array<ProjectRateRuleHistoryVersionObject>;
|
|
29503
|
-
};
|
|
30427
|
+
201: ProjectRateRuleResponseObject;
|
|
29504
30428
|
};
|
|
29505
|
-
export type
|
|
30429
|
+
export type ScheduleProjectWageDeterminationRateRuleTerminationResponse = ScheduleProjectWageDeterminationRateRuleTerminationResponses[keyof ScheduleProjectWageDeterminationRateRuleTerminationResponses];
|
|
29506
30430
|
export type ListProjectWageDeterminationRateRulesData = {
|
|
29507
30431
|
body?: never;
|
|
29508
30432
|
path: {
|
|
@@ -29578,6 +30502,44 @@ export type CreateProjectWageDeterminationRateRuleResponses = {
|
|
|
29578
30502
|
201: ProjectRateRuleResponseObject;
|
|
29579
30503
|
};
|
|
29580
30504
|
export type CreateProjectWageDeterminationRateRuleResponse = CreateProjectWageDeterminationRateRuleResponses[keyof CreateProjectWageDeterminationRateRuleResponses];
|
|
30505
|
+
export type DeleteProjectWageDeterminationRateRuleData = {
|
|
30506
|
+
body?: never;
|
|
30507
|
+
headers: {
|
|
30508
|
+
/**
|
|
30509
|
+
* Rule family ETag. See "Version validators" in the API overview.
|
|
30510
|
+
*/
|
|
30511
|
+
'If-Match': string;
|
|
30512
|
+
};
|
|
30513
|
+
path: {
|
|
30514
|
+
project_id: string;
|
|
30515
|
+
wage_determination_id: string;
|
|
30516
|
+
id: string;
|
|
30517
|
+
};
|
|
30518
|
+
query?: never;
|
|
30519
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
|
|
30520
|
+
};
|
|
30521
|
+
export type DeleteProjectWageDeterminationRateRuleErrors = {
|
|
30522
|
+
/**
|
|
30523
|
+
* Forbidden
|
|
30524
|
+
*/
|
|
30525
|
+
403: Problem;
|
|
30526
|
+
/**
|
|
30527
|
+
* Precondition Failed
|
|
30528
|
+
*/
|
|
30529
|
+
412: Problem;
|
|
30530
|
+
/**
|
|
30531
|
+
* Precondition Required
|
|
30532
|
+
*/
|
|
30533
|
+
428: Problem;
|
|
30534
|
+
};
|
|
30535
|
+
export type DeleteProjectWageDeterminationRateRuleError = DeleteProjectWageDeterminationRateRuleErrors[keyof DeleteProjectWageDeterminationRateRuleErrors];
|
|
30536
|
+
export type DeleteProjectWageDeterminationRateRuleResponses = {
|
|
30537
|
+
/**
|
|
30538
|
+
* Success
|
|
30539
|
+
*/
|
|
30540
|
+
200: ProjectRateRuleResponseObject;
|
|
30541
|
+
};
|
|
30542
|
+
export type DeleteProjectWageDeterminationRateRuleResponse = DeleteProjectWageDeterminationRateRuleResponses[keyof DeleteProjectWageDeterminationRateRuleResponses];
|
|
29581
30543
|
export type GetProjectWageDeterminationRateRuleData = {
|
|
29582
30544
|
body?: never;
|
|
29583
30545
|
path: {
|
|
@@ -29611,6 +30573,56 @@ export type GetProjectWageDeterminationRateRuleResponses = {
|
|
|
29611
30573
|
200: ProjectRateRuleResponseObject;
|
|
29612
30574
|
};
|
|
29613
30575
|
export type GetProjectWageDeterminationRateRuleResponse = GetProjectWageDeterminationRateRuleResponses[keyof GetProjectWageDeterminationRateRuleResponses];
|
|
30576
|
+
export type UpdateProjectWageDeterminationRateRuleData = {
|
|
30577
|
+
body: PayRatesRuleUpdateParameters;
|
|
30578
|
+
headers: {
|
|
30579
|
+
/**
|
|
30580
|
+
* Rule family ETag. See "Version validators" in the API overview.
|
|
30581
|
+
*/
|
|
30582
|
+
'If-Match': string;
|
|
30583
|
+
};
|
|
30584
|
+
path: {
|
|
30585
|
+
project_id: string;
|
|
30586
|
+
wage_determination_id: string;
|
|
30587
|
+
id: string;
|
|
30588
|
+
};
|
|
30589
|
+
query?: never;
|
|
30590
|
+
url: '/api/v1/projects/{project_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
|
|
30591
|
+
};
|
|
30592
|
+
export type UpdateProjectWageDeterminationRateRuleErrors = {
|
|
30593
|
+
/**
|
|
30594
|
+
* Bad Request
|
|
30595
|
+
*/
|
|
30596
|
+
400: Problem;
|
|
30597
|
+
/**
|
|
30598
|
+
* Forbidden
|
|
30599
|
+
*/
|
|
30600
|
+
403: Problem;
|
|
30601
|
+
/**
|
|
30602
|
+
* Not Found
|
|
30603
|
+
*/
|
|
30604
|
+
404: Problem;
|
|
30605
|
+
/**
|
|
30606
|
+
* Precondition Failed
|
|
30607
|
+
*/
|
|
30608
|
+
412: Problem;
|
|
30609
|
+
/**
|
|
30610
|
+
* Unprocessable Content
|
|
30611
|
+
*/
|
|
30612
|
+
422: Problem;
|
|
30613
|
+
/**
|
|
30614
|
+
* Precondition Required
|
|
30615
|
+
*/
|
|
30616
|
+
428: Problem;
|
|
30617
|
+
};
|
|
30618
|
+
export type UpdateProjectWageDeterminationRateRuleError = UpdateProjectWageDeterminationRateRuleErrors[keyof UpdateProjectWageDeterminationRateRuleErrors];
|
|
30619
|
+
export type UpdateProjectWageDeterminationRateRuleResponses = {
|
|
30620
|
+
/**
|
|
30621
|
+
* Success
|
|
30622
|
+
*/
|
|
30623
|
+
200: ProjectRateRuleResponseObject;
|
|
30624
|
+
};
|
|
30625
|
+
export type UpdateProjectWageDeterminationRateRuleResponse = UpdateProjectWageDeterminationRateRuleResponses[keyof UpdateProjectWageDeterminationRateRuleResponses];
|
|
29614
30626
|
export type ListProjectSitesData = {
|
|
29615
30627
|
body?: never;
|
|
29616
30628
|
path: {
|
|
@@ -30612,6 +31624,163 @@ export type UpdateProjectResponses = {
|
|
|
30612
31624
|
200: ProjectResponseObject;
|
|
30613
31625
|
};
|
|
30614
31626
|
export type UpdateProjectResponse = UpdateProjectResponses[keyof UpdateProjectResponses];
|
|
31627
|
+
export type ListCompanyDetailsData = {
|
|
31628
|
+
body?: never;
|
|
31629
|
+
path?: never;
|
|
31630
|
+
query?: {
|
|
31631
|
+
/**
|
|
31632
|
+
* This pagination cursor corresponds to the cursor value found in the response in
|
|
31633
|
+
* `meta.page.next_cursor`.
|
|
31634
|
+
*/
|
|
31635
|
+
'page[cursor]'?: string;
|
|
31636
|
+
/**
|
|
31637
|
+
* 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`.
|
|
31638
|
+
*/
|
|
31639
|
+
'page[limit]'?: number;
|
|
31640
|
+
page?: string;
|
|
31641
|
+
};
|
|
31642
|
+
url: '/api/v1/pwa/company_details';
|
|
31643
|
+
};
|
|
31644
|
+
export type ListCompanyDetailsErrors = {
|
|
31645
|
+
/**
|
|
31646
|
+
* Bad Request
|
|
31647
|
+
*/
|
|
31648
|
+
400: Problem;
|
|
31649
|
+
/**
|
|
31650
|
+
* Forbidden
|
|
31651
|
+
*/
|
|
31652
|
+
403: Problem;
|
|
31653
|
+
};
|
|
31654
|
+
export type ListCompanyDetailsError = ListCompanyDetailsErrors[keyof ListCompanyDetailsErrors];
|
|
31655
|
+
export type ListCompanyDetailsResponses = {
|
|
31656
|
+
/**
|
|
31657
|
+
* Success
|
|
31658
|
+
*/
|
|
31659
|
+
200: {
|
|
31660
|
+
meta: Meta;
|
|
31661
|
+
links: Links;
|
|
31662
|
+
data: Array<PwaCompanyDetailsResponseObject>;
|
|
31663
|
+
};
|
|
31664
|
+
};
|
|
31665
|
+
export type ListCompanyDetailsResponse = ListCompanyDetailsResponses[keyof ListCompanyDetailsResponses];
|
|
31666
|
+
export type CreateCompanyDetailData = {
|
|
31667
|
+
body: PwaCompanyDetailsParameters;
|
|
31668
|
+
path?: never;
|
|
31669
|
+
query?: never;
|
|
31670
|
+
url: '/api/v1/pwa/company_details';
|
|
31671
|
+
};
|
|
31672
|
+
export type CreateCompanyDetailErrors = {
|
|
31673
|
+
/**
|
|
31674
|
+
* Bad Request
|
|
31675
|
+
*/
|
|
31676
|
+
400: Problem;
|
|
31677
|
+
/**
|
|
31678
|
+
* Forbidden
|
|
31679
|
+
*/
|
|
31680
|
+
403: Problem;
|
|
31681
|
+
/**
|
|
31682
|
+
* Unprocessable Content
|
|
31683
|
+
*/
|
|
31684
|
+
422: Problem;
|
|
31685
|
+
};
|
|
31686
|
+
export type CreateCompanyDetailError = CreateCompanyDetailErrors[keyof CreateCompanyDetailErrors];
|
|
31687
|
+
export type CreateCompanyDetailResponses = {
|
|
31688
|
+
/**
|
|
31689
|
+
* Created
|
|
31690
|
+
*/
|
|
31691
|
+
201: PwaCompanyDetailsResponseObject;
|
|
31692
|
+
};
|
|
31693
|
+
export type CreateCompanyDetailResponse = CreateCompanyDetailResponses[keyof CreateCompanyDetailResponses];
|
|
31694
|
+
export type DeleteCompanyDetailData = {
|
|
31695
|
+
body?: never;
|
|
31696
|
+
path: {
|
|
31697
|
+
id: string;
|
|
31698
|
+
};
|
|
31699
|
+
query?: never;
|
|
31700
|
+
url: '/api/v1/pwa/company_details/{id}';
|
|
31701
|
+
};
|
|
31702
|
+
export type DeleteCompanyDetailErrors = {
|
|
31703
|
+
/**
|
|
31704
|
+
* Forbidden
|
|
31705
|
+
*/
|
|
31706
|
+
403: Problem;
|
|
31707
|
+
/**
|
|
31708
|
+
* Not Found
|
|
31709
|
+
*/
|
|
31710
|
+
404: Problem;
|
|
31711
|
+
/**
|
|
31712
|
+
* Unprocessable Content
|
|
31713
|
+
*/
|
|
31714
|
+
422: Problem;
|
|
31715
|
+
};
|
|
31716
|
+
export type DeleteCompanyDetailError = DeleteCompanyDetailErrors[keyof DeleteCompanyDetailErrors];
|
|
31717
|
+
export type DeleteCompanyDetailResponses = {
|
|
31718
|
+
/**
|
|
31719
|
+
* No Content
|
|
31720
|
+
*/
|
|
31721
|
+
204: void;
|
|
31722
|
+
};
|
|
31723
|
+
export type DeleteCompanyDetailResponse = DeleteCompanyDetailResponses[keyof DeleteCompanyDetailResponses];
|
|
31724
|
+
export type GetCompanyDetailData = {
|
|
31725
|
+
body?: never;
|
|
31726
|
+
path: {
|
|
31727
|
+
id: string;
|
|
31728
|
+
};
|
|
31729
|
+
query?: never;
|
|
31730
|
+
url: '/api/v1/pwa/company_details/{id}';
|
|
31731
|
+
};
|
|
31732
|
+
export type GetCompanyDetailErrors = {
|
|
31733
|
+
/**
|
|
31734
|
+
* Forbidden
|
|
31735
|
+
*/
|
|
31736
|
+
403: Problem;
|
|
31737
|
+
/**
|
|
31738
|
+
* Not Found
|
|
31739
|
+
*/
|
|
31740
|
+
404: Problem;
|
|
31741
|
+
};
|
|
31742
|
+
export type GetCompanyDetailError = GetCompanyDetailErrors[keyof GetCompanyDetailErrors];
|
|
31743
|
+
export type GetCompanyDetailResponses = {
|
|
31744
|
+
/**
|
|
31745
|
+
* Success
|
|
31746
|
+
*/
|
|
31747
|
+
200: PwaCompanyDetailsResponseObject;
|
|
31748
|
+
};
|
|
31749
|
+
export type GetCompanyDetailResponse = GetCompanyDetailResponses[keyof GetCompanyDetailResponses];
|
|
31750
|
+
export type UpdateCompanyDetailData = {
|
|
31751
|
+
body: PwaCompanyDetailsUpdateParameters;
|
|
31752
|
+
path: {
|
|
31753
|
+
id: string;
|
|
31754
|
+
};
|
|
31755
|
+
query?: never;
|
|
31756
|
+
url: '/api/v1/pwa/company_details/{id}';
|
|
31757
|
+
};
|
|
31758
|
+
export type UpdateCompanyDetailErrors = {
|
|
31759
|
+
/**
|
|
31760
|
+
* Bad Request
|
|
31761
|
+
*/
|
|
31762
|
+
400: Problem;
|
|
31763
|
+
/**
|
|
31764
|
+
* Forbidden
|
|
31765
|
+
*/
|
|
31766
|
+
403: Problem;
|
|
31767
|
+
/**
|
|
31768
|
+
* Not Found
|
|
31769
|
+
*/
|
|
31770
|
+
404: Problem;
|
|
31771
|
+
/**
|
|
31772
|
+
* Unprocessable Content
|
|
31773
|
+
*/
|
|
31774
|
+
422: Problem;
|
|
31775
|
+
};
|
|
31776
|
+
export type UpdateCompanyDetailError = UpdateCompanyDetailErrors[keyof UpdateCompanyDetailErrors];
|
|
31777
|
+
export type UpdateCompanyDetailResponses = {
|
|
31778
|
+
/**
|
|
31779
|
+
* Success
|
|
31780
|
+
*/
|
|
31781
|
+
200: PwaCompanyDetailsResponseObject;
|
|
31782
|
+
};
|
|
31783
|
+
export type UpdateCompanyDetailResponse = UpdateCompanyDetailResponses[keyof UpdateCompanyDetailResponses];
|
|
30615
31784
|
export type CreateCompanyUserDetailData = {
|
|
30616
31785
|
body: PwaCompanyUserDetailsParameters;
|
|
30617
31786
|
path?: never;
|