@dsptch-work/api-client 0.39.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.
@@ -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
  */
@@ -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
  */
@@ -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
  /**
@@ -8255,6 +8554,19 @@ export type ProjectResponseObject = {
8255
8554
  * Identifiers of companies participating in this project.
8256
8555
  */
8257
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
+ }>;
8258
8570
  /**
8259
8571
  * Federal PWA tracking mode: `all` (prevailing wage + apprenticeship), `pw_only` (prevailing wage), `ap_only` (apprenticeship), or `none`.
8260
8572
  */
@@ -8344,6 +8656,10 @@ export type ProjectParameters = {
8344
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.
8345
8657
  */
8346
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>;
8347
8663
  /**
8348
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.
8349
8665
  */
@@ -8433,6 +8749,10 @@ export type ProjectUpdateParameters = {
8433
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.
8434
8750
  */
8435
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>;
8436
8756
  /**
8437
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.
8438
8758
  */
@@ -9184,6 +9504,7 @@ export type TodoInboxTodoResponseObject = {
9184
9504
  completed: boolean;
9185
9505
  priority: 'critical' | 'high' | 'medium' | 'low' | null;
9186
9506
  category: 'apprenticeship' | 'certified_payroll' | 'company' | 'job' | 'payroll' | 'project' | 'regional' | 'tax_credit' | 'timekeeping' | 'worker';
9507
+ approval_status: 'pending' | 'approved' | 'rejected' | null;
9187
9508
  task_assignee_user_ids: Array<string>;
9188
9509
  description: RichTextObject;
9189
9510
  time_due: string | null;
@@ -12349,7 +12670,7 @@ export type RegionalJobWageDeterminationHistoryCorrectionObject = {
12349
12670
  /**
12350
12671
  * State-specific rate fields recorded on a Regional determination, as decimal-string money in
12351
12672
  * cents (e.g. "538.0"). Which keys appear is set by the job's region, so this object is always
12352
- * a region-determined subset of the nine keys the write side accepts — never a fixed shape:
12673
+ * a region-determined subset of these keys — never a fixed shape:
12353
12674
  *
12354
12675
  * - Categorized-fringe regions (currently IL) carry `combined_health_fringe_rate_cents`,
12355
12676
  * `combined_savings_fringe_rate_cents`, `combined_holiday_pto_fringe_rate_cents`,
@@ -12359,7 +12680,9 @@ export type RegionalJobWageDeterminationHistoryCorrectionObject = {
12359
12680
  * `two_x_fringe_adder_rate_cents`.
12360
12681
  * - A region with neither returns an empty object.
12361
12682
  *
12362
- * 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.
12363
12686
  *
12364
12687
  */
12365
12688
  export type RegionalWageDeterminationFieldsResponse = {
@@ -12451,7 +12774,7 @@ export type RegionalJobWageDeterminationParameters = {
12451
12774
  */
12452
12775
  general_wage_determination?: string | null;
12453
12776
  /**
12454
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422.
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.
12455
12778
  */
12456
12779
  regional_fields?: {
12457
12780
  /**
@@ -12474,22 +12797,6 @@ export type RegionalJobWageDeterminationParameters = {
12474
12797
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
12475
12798
  */
12476
12799
  other_fringe_rate_cents?: string | null;
12477
- /**
12478
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12479
- */
12480
- one_five_x_adder_rate_cents?: string | null;
12481
- /**
12482
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12483
- */
12484
- two_x_adder_rate_cents?: string | null;
12485
- /**
12486
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12487
- */
12488
- one_five_x_fringe_adder_rate_cents?: string | null;
12489
- /**
12490
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12491
- */
12492
- two_x_fringe_adder_rate_cents?: string | null;
12493
12800
  };
12494
12801
  /**
12495
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.
@@ -12537,7 +12844,7 @@ export type JobWageDeterminationUpdateParameters = {
12537
12844
  */
12538
12845
  general_wage_determination?: string | null;
12539
12846
  /**
12540
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422; send null to clear one. An omitted rate keeps its current value.
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.
12541
12848
  */
12542
12849
  regional_fields?: {
12543
12850
  /**
@@ -12560,22 +12867,6 @@ export type JobWageDeterminationUpdateParameters = {
12560
12867
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
12561
12868
  */
12562
12869
  other_fringe_rate_cents?: string | null;
12563
- /**
12564
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12565
- */
12566
- one_five_x_adder_rate_cents?: string | null;
12567
- /**
12568
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12569
- */
12570
- two_x_adder_rate_cents?: string | null;
12571
- /**
12572
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12573
- */
12574
- one_five_x_fringe_adder_rate_cents?: string | null;
12575
- /**
12576
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12577
- */
12578
- two_x_fringe_adder_rate_cents?: string | null;
12579
12870
  };
12580
12871
  };
12581
12872
  /**
@@ -12611,7 +12902,7 @@ export type JobWageDeterminationScheduledChangeParameters = {
12611
12902
  */
12612
12903
  general_wage_determination?: string | null;
12613
12904
  /**
12614
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422; send null to clear one. An omitted rate keeps its current value.
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.
12615
12906
  */
12616
12907
  regional_fields?: {
12617
12908
  /**
@@ -12634,22 +12925,6 @@ export type JobWageDeterminationScheduledChangeParameters = {
12634
12925
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
12635
12926
  */
12636
12927
  other_fringe_rate_cents?: string | null;
12637
- /**
12638
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12639
- */
12640
- one_five_x_adder_rate_cents?: string | null;
12641
- /**
12642
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12643
- */
12644
- two_x_adder_rate_cents?: string | null;
12645
- /**
12646
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12647
- */
12648
- one_five_x_fringe_adder_rate_cents?: string | null;
12649
- /**
12650
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
12651
- */
12652
- two_x_fringe_adder_rate_cents?: string | null;
12653
12928
  };
12654
12929
  };
12655
12930
  /**
@@ -12991,7 +13266,7 @@ export type RegionalProjectWageDeterminationParameters = {
12991
13266
  */
12992
13267
  general_wage_determination?: string | null;
12993
13268
  /**
12994
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422.
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.
12995
13270
  */
12996
13271
  regional_fields?: {
12997
13272
  /**
@@ -13014,22 +13289,6 @@ export type RegionalProjectWageDeterminationParameters = {
13014
13289
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
13015
13290
  */
13016
13291
  other_fringe_rate_cents?: string | null;
13017
- /**
13018
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13019
- */
13020
- one_five_x_adder_rate_cents?: string | null;
13021
- /**
13022
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13023
- */
13024
- two_x_adder_rate_cents?: string | null;
13025
- /**
13026
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13027
- */
13028
- one_five_x_fringe_adder_rate_cents?: string | null;
13029
- /**
13030
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13031
- */
13032
- two_x_fringe_adder_rate_cents?: string | null;
13033
13292
  };
13034
13293
  /**
13035
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.
@@ -13077,7 +13336,7 @@ export type ProjectWageDeterminationUpdateParameters = {
13077
13336
  */
13078
13337
  general_wage_determination?: string | null;
13079
13338
  /**
13080
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422; send null to clear one. An omitted rate keeps its current value.
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.
13081
13340
  */
13082
13341
  regional_fields?: {
13083
13342
  /**
@@ -13100,22 +13359,6 @@ export type ProjectWageDeterminationUpdateParameters = {
13100
13359
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
13101
13360
  */
13102
13361
  other_fringe_rate_cents?: string | null;
13103
- /**
13104
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13105
- */
13106
- one_five_x_adder_rate_cents?: string | null;
13107
- /**
13108
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13109
- */
13110
- two_x_adder_rate_cents?: string | null;
13111
- /**
13112
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13113
- */
13114
- one_five_x_fringe_adder_rate_cents?: string | null;
13115
- /**
13116
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13117
- */
13118
- two_x_fringe_adder_rate_cents?: string | null;
13119
13362
  };
13120
13363
  };
13121
13364
  /**
@@ -13151,7 +13394,7 @@ export type ProjectWageDeterminationScheduledChangeParameters = {
13151
13394
  */
13152
13395
  general_wage_determination?: string | null;
13153
13396
  /**
13154
- * 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, and overtime-adder regions (currently IL and NY) accept the four adder rates. A value for a rate the region does not hold returns a 422; send null to clear one. An omitted rate keeps its current value.
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.
13155
13398
  */
13156
13399
  regional_fields?: {
13157
13400
  /**
@@ -13174,22 +13417,6 @@ export type ProjectWageDeterminationScheduledChangeParameters = {
13174
13417
  * Other (uncategorized) fringe rate, in cents as a decimal string. Required in categorized-fringe regions, which refuse null; null elsewhere.
13175
13418
  */
13176
13419
  other_fringe_rate_cents?: string | null;
13177
- /**
13178
- * Hourly wage adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13179
- */
13180
- one_five_x_adder_rate_cents?: string | null;
13181
- /**
13182
- * Hourly wage adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13183
- */
13184
- two_x_adder_rate_cents?: string | null;
13185
- /**
13186
- * Hourly fringe adder added to 1.5x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13187
- */
13188
- one_five_x_fringe_adder_rate_cents?: string | null;
13189
- /**
13190
- * Hourly fringe adder added to 2x overtime, in cents as a decimal string. Overtime-adder regions only; may be null.
13191
- */
13192
- two_x_fringe_adder_rate_cents?: string | null;
13193
13420
  };
13194
13421
  };
13195
13422
  /**
@@ -13894,7 +14121,7 @@ export type AssetsItemResponseObject = {
13894
14121
  */
13895
14122
  status: 'available' | 'assigned' | null;
13896
14123
  /**
13897
- * The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the UTC day it is stored on, the same day the web shows. Null when not recorded.
14124
+ * The day the item was purchased, as a calendar date (`YYYY-MM-DD`), the same day the web shows. Null when not recorded.
13898
14125
  */
13899
14126
  purchase_date: string | null;
13900
14127
  /**
@@ -13986,7 +14213,7 @@ export type AssetsItemParameters = {
13986
14213
  */
13987
14214
  status?: 'available' | 'assigned';
13988
14215
  /**
13989
- * The day the item was purchased, as a calendar date (`YYYY-MM-DD`). It is stored as 00:00 UTC on that day, the same as the web. A value with a time of day is refused with `422`. Send null to clear it.
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.
13990
14217
  */
13991
14218
  purchase_date?: string | null;
13992
14219
  /**
@@ -14081,7 +14308,7 @@ export type AssetsItemUpdateParameters = {
14081
14308
  */
14082
14309
  status?: 'available' | 'assigned';
14083
14310
  /**
14084
- * The day the item was purchased, as a calendar date (`YYYY-MM-DD`). It is stored as 00:00 UTC on that day, the same as the web. A value with a time of day is refused with `422`. Send null to clear it.
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.
14085
14312
  */
14086
14313
  purchase_date?: string | null;
14087
14314
  /**
@@ -23651,22 +23878,23 @@ export type CreateJobTradeResponses = {
23651
23878
  201: PwaTradeResponseObject;
23652
23879
  };
23653
23880
  export type CreateJobTradeResponse = CreateJobTradeResponses[keyof CreateJobTradeResponses];
23654
- export type ListRateRuleHistoryData = {
23655
- body?: never;
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
+ };
23656
23889
  path: {
23657
23890
  job_id: string;
23658
23891
  wage_determination_id: string;
23659
- /**
23660
- * The rule's version-stable identity, as returned in `id`.
23661
- */
23662
23892
  rate_rule_id: string;
23663
23893
  };
23664
- query?: {
23665
- 'as_of[valid]'?: string;
23666
- };
23667
- url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/history';
23894
+ query?: never;
23895
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/genesis';
23668
23896
  };
23669
- export type ListRateRuleHistoryErrors = {
23897
+ export type ShiftJobWageDeterminationRateRuleGenesisErrors = {
23670
23898
  /**
23671
23899
  * Bad Request
23672
23900
  */
@@ -23679,19 +23907,295 @@ export type ListRateRuleHistoryErrors = {
23679
23907
  * Not Found
23680
23908
  */
23681
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;
23682
23922
  };
23683
- export type ListRateRuleHistoryError = ListRateRuleHistoryErrors[keyof ListRateRuleHistoryErrors];
23684
- export type ListRateRuleHistoryResponses = {
23923
+ export type ShiftJobWageDeterminationRateRuleGenesisError = ShiftJobWageDeterminationRateRuleGenesisErrors[keyof ShiftJobWageDeterminationRateRuleGenesisErrors];
23924
+ export type ShiftJobWageDeterminationRateRuleGenesisResponses = {
23685
23925
  /**
23686
23926
  * Success
23687
23927
  */
23688
- 200: {
23689
- meta: Meta;
23690
- links: Links;
23691
- data: Array<RateRuleHistoryVersionObject>;
23692
- };
23928
+ 200: RateRuleResponseObject;
23929
+ };
23930
+ export type ShiftJobWageDeterminationRateRuleGenesisResponse = ShiftJobWageDeterminationRateRuleGenesisResponses[keyof ShiftJobWageDeterminationRateRuleGenesisResponses];
23931
+ export type ListRateRuleHistoryData = {
23932
+ body?: never;
23933
+ path: {
23934
+ job_id: string;
23935
+ wage_determination_id: string;
23936
+ /**
23937
+ * The rule's version-stable identity, as returned in `id`.
23938
+ */
23939
+ rate_rule_id: string;
23940
+ };
23941
+ query?: {
23942
+ 'as_of[valid]'?: string;
23943
+ };
23944
+ url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{rate_rule_id}/history';
23945
+ };
23946
+ export type ListRateRuleHistoryErrors = {
23947
+ /**
23948
+ * Bad Request
23949
+ */
23950
+ 400: Problem;
23951
+ /**
23952
+ * Forbidden
23953
+ */
23954
+ 403: Problem;
23955
+ /**
23956
+ * Not Found
23957
+ */
23958
+ 404: Problem;
23959
+ };
23960
+ export type ListRateRuleHistoryError = ListRateRuleHistoryErrors[keyof ListRateRuleHistoryErrors];
23961
+ export type ListRateRuleHistoryResponses = {
23962
+ /**
23963
+ * Success
23964
+ */
23965
+ 200: {
23966
+ meta: Meta;
23967
+ links: Links;
23968
+ data: Array<RateRuleHistoryVersionObject>;
23969
+ };
23693
23970
  };
23694
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];
23695
24199
  export type ListRateRulesData = {
23696
24200
  body?: never;
23697
24201
  path: {
@@ -23771,6 +24275,44 @@ export type CreateRateRuleResponses = {
23771
24275
  201: RateRuleResponseObject;
23772
24276
  };
23773
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];
23774
24316
  export type GetRateRuleData = {
23775
24317
  body?: never;
23776
24318
  path: {
@@ -23778,15 +24320,53 @@ export type GetRateRuleData = {
23778
24320
  wage_determination_id: string;
23779
24321
  id: string;
23780
24322
  };
23781
- query?: {
23782
- /**
23783
- * 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`.
23784
- */
23785
- 'as_of[valid]'?: string;
23786
- };
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;
23787
24363
  url: '/api/v1/jobs/{job_id}/wage_determinations/{wage_determination_id}/rate_rules/{id}';
23788
24364
  };
23789
- export type GetRateRuleErrors = {
24365
+ export type UpdateJobWageDeterminationRateRuleErrors = {
24366
+ /**
24367
+ * Bad Request
24368
+ */
24369
+ 400: Problem;
23790
24370
  /**
23791
24371
  * Forbidden
23792
24372
  */
@@ -23795,15 +24375,27 @@ export type GetRateRuleErrors = {
23795
24375
  * Not Found
23796
24376
  */
23797
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;
23798
24390
  };
23799
- export type GetRateRuleError = GetRateRuleErrors[keyof GetRateRuleErrors];
23800
- export type GetRateRuleResponses = {
24391
+ export type UpdateJobWageDeterminationRateRuleError = UpdateJobWageDeterminationRateRuleErrors[keyof UpdateJobWageDeterminationRateRuleErrors];
24392
+ export type UpdateJobWageDeterminationRateRuleResponses = {
23801
24393
  /**
23802
24394
  * Success
23803
24395
  */
23804
24396
  200: RateRuleResponseObject;
23805
24397
  };
23806
- export type GetRateRuleResponse = GetRateRuleResponses[keyof GetRateRuleResponses];
24398
+ export type UpdateJobWageDeterminationRateRuleResponse = UpdateJobWageDeterminationRateRuleResponses[keyof UpdateJobWageDeterminationRateRuleResponses];
23807
24399
  export type ListJobSitesData = {
23808
24400
  body?: never;
23809
24401
  path: {
@@ -29501,38 +30093,303 @@ export type CreateProjectTradeErrors = {
29501
30093
  */
29502
30094
  403: Problem;
29503
30095
  /**
29504
- * 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
29505
30357
  */
29506
- 404: Problem;
30358
+ 412: Problem;
29507
30359
  /**
29508
30360
  * Unprocessable Content
29509
30361
  */
29510
30362
  422: Problem;
30363
+ /**
30364
+ * Precondition Required
30365
+ */
30366
+ 428: Problem;
29511
30367
  };
29512
- export type CreateProjectTradeError = CreateProjectTradeErrors[keyof CreateProjectTradeErrors];
29513
- export type CreateProjectTradeResponses = {
30368
+ export type CancelProjectWageDeterminationRateRuleScheduledTerminationError = CancelProjectWageDeterminationRateRuleScheduledTerminationErrors[keyof CancelProjectWageDeterminationRateRuleScheduledTerminationErrors];
30369
+ export type CancelProjectWageDeterminationRateRuleScheduledTerminationResponses = {
29514
30370
  /**
29515
- * Created
30371
+ * Success
29516
30372
  */
29517
- 201: PwaTradeResponseObject;
30373
+ 200: ProjectRateRuleResponseObject;
29518
30374
  };
29519
- export type CreateProjectTradeResponse = CreateProjectTradeResponses[keyof CreateProjectTradeResponses];
29520
- export type ListProjectWageDeterminationRateRuleHistoryData = {
29521
- body?: never;
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
+ };
29522
30384
  path: {
29523
30385
  project_id: string;
29524
30386
  wage_determination_id: string;
29525
- /**
29526
- * The rule's version-stable identity, as returned in `id`.
29527
- */
29528
30387
  rate_rule_id: string;
29529
30388
  };
29530
- query?: {
29531
- 'as_of[valid]'?: string;
29532
- };
29533
- 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';
29534
30391
  };
29535
- export type ListProjectWageDeterminationRateRuleHistoryErrors = {
30392
+ export type ScheduleProjectWageDeterminationRateRuleTerminationErrors = {
29536
30393
  /**
29537
30394
  * Bad Request
29538
30395
  */
@@ -29545,19 +30402,31 @@ export type ListProjectWageDeterminationRateRuleHistoryErrors = {
29545
30402
  * Not Found
29546
30403
  */
29547
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;
29548
30421
  };
29549
- export type ListProjectWageDeterminationRateRuleHistoryError = ListProjectWageDeterminationRateRuleHistoryErrors[keyof ListProjectWageDeterminationRateRuleHistoryErrors];
29550
- export type ListProjectWageDeterminationRateRuleHistoryResponses = {
30422
+ export type ScheduleProjectWageDeterminationRateRuleTerminationError = ScheduleProjectWageDeterminationRateRuleTerminationErrors[keyof ScheduleProjectWageDeterminationRateRuleTerminationErrors];
30423
+ export type ScheduleProjectWageDeterminationRateRuleTerminationResponses = {
29551
30424
  /**
29552
30425
  * Success
29553
30426
  */
29554
- 200: {
29555
- meta: Meta;
29556
- links: Links;
29557
- data: Array<ProjectRateRuleHistoryVersionObject>;
29558
- };
30427
+ 201: ProjectRateRuleResponseObject;
29559
30428
  };
29560
- export type ListProjectWageDeterminationRateRuleHistoryResponse = ListProjectWageDeterminationRateRuleHistoryResponses[keyof ListProjectWageDeterminationRateRuleHistoryResponses];
30429
+ export type ScheduleProjectWageDeterminationRateRuleTerminationResponse = ScheduleProjectWageDeterminationRateRuleTerminationResponses[keyof ScheduleProjectWageDeterminationRateRuleTerminationResponses];
29561
30430
  export type ListProjectWageDeterminationRateRulesData = {
29562
30431
  body?: never;
29563
30432
  path: {
@@ -29633,6 +30502,44 @@ export type CreateProjectWageDeterminationRateRuleResponses = {
29633
30502
  201: ProjectRateRuleResponseObject;
29634
30503
  };
29635
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];
29636
30543
  export type GetProjectWageDeterminationRateRuleData = {
29637
30544
  body?: never;
29638
30545
  path: {
@@ -29666,6 +30573,56 @@ export type GetProjectWageDeterminationRateRuleResponses = {
29666
30573
  200: ProjectRateRuleResponseObject;
29667
30574
  };
29668
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];
29669
30626
  export type ListProjectSitesData = {
29670
30627
  body?: never;
29671
30628
  path: {
@@ -30667,6 +31624,163 @@ export type UpdateProjectResponses = {
30667
31624
  200: ProjectResponseObject;
30668
31625
  };
30669
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];
30670
31784
  export type CreateCompanyUserDetailData = {
30671
31785
  body: PwaCompanyUserDetailsParameters;
30672
31786
  path?: never;