@dsptch-work/api-client 0.44.0 → 0.45.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 +30 -0
- package/dist/gen/sdk.gen.d.ts +12 -12
- package/dist/gen/sdk.gen.js +12 -12
- package/dist/gen/types.gen.d.ts +37 -13
- package/dist/gen/zod.gen.d.ts +49 -11
- package/dist/gen/zod.gen.js +14 -5
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -5,6 +5,36 @@ All notable changes to `@dsptch-work/api-client` are documented here. The format
|
|
|
5
5
|
[Semantic Versioning](https://semver.org) — currently `0.x`, so breaking changes may land in a
|
|
6
6
|
minor bump until `1.0.0`. See [RELEASING.md](./RELEASING.md) for the release and versioning process.
|
|
7
7
|
|
|
8
|
+
## [0.45.0] - 2026-10-27
|
|
9
|
+
|
|
10
|
+
### Added
|
|
11
|
+
|
|
12
|
+
- `PeopleEmploymentCreateParameters`, `PeopleEmploymentScheduledChangeCreateParameters`, and
|
|
13
|
+
`PeopleEmploymentScheduledChangeUpdateParameters` accept `salary_annual_amount_cents` and
|
|
14
|
+
`salary_weekly_minutes`. The amount is a nullable decimal cents string; minutes must be an integer
|
|
15
|
+
from 1 to 10080 and cannot be null. On create, omitted minutes default to 2400; scheduled changes
|
|
16
|
+
preserve the applicable value when omitted. The corresponding Zod schemas enforce these formats.
|
|
17
|
+
- `PeopleEmploymentResponseObject`, `PeopleEmploymentHistoryVersionObject`, and
|
|
18
|
+
`PeopleEmploymentHistoryCorrectionObject` add required `salary_weekly_minutes` and optional nullable
|
|
19
|
+
`salary_annual_amount_cents`. The salary amount is visible to company keys, company administrators,
|
|
20
|
+
and the employed person. Their Zod schemas require the minutes field.
|
|
21
|
+
|
|
22
|
+
### Removed
|
|
23
|
+
|
|
24
|
+
- **Breaking:** `ProductionJobScopePriceParameters`, `ProductionJobScopePriceUpdateParameters`, and
|
|
25
|
+
`ProductionJobScopePriceResponseObject` remove `contracted_count`, as do their Zod schemas. Remove
|
|
26
|
+
it from `ProductionJobScopePrices.createJobScopePrice()` and `updateJobScopePrice()` bodies; the API
|
|
27
|
+
rejects the retired key with `400`. Use delivery targets for production requirements.
|
|
28
|
+
|
|
29
|
+
### Fixed
|
|
30
|
+
|
|
31
|
+
- `Jobs.updateJob()` now schedules a rate resync when
|
|
32
|
+
`body.pwa_details.pay_full_cash_fringe_by_default` changes. PWA position rates and unlocked
|
|
33
|
+
base-mode time entries are repriced; the generated request type is unchanged.
|
|
34
|
+
|
|
35
|
+
See the [October 27 API changelog](https://dsptch.app/support/docs/developers/api-changelog#2026-10-27)
|
|
36
|
+
for the full REST behavior changes.
|
|
37
|
+
|
|
8
38
|
## [0.44.0] - 2026-10-26
|
|
9
39
|
|
|
10
40
|
Generated method signatures, request/response types, and Zod validators are unchanged.
|
package/dist/gen/sdk.gen.d.ts
CHANGED
|
@@ -3030,9 +3030,9 @@ export declare class ProductionJobScopePrices {
|
|
|
3030
3030
|
* Scope prices on a production-tracked job. Company keys,
|
|
3031
3031
|
* and user keys held by an administrator, manager, safety
|
|
3032
3032
|
* manager, or field lead of the company that owns the job,
|
|
3033
|
-
* receive `unit_price_cents
|
|
3033
|
+
* receive `unit_price_cents`. Other user
|
|
3034
3034
|
* keys, held by crew on the job, receive the same rows
|
|
3035
|
-
* without
|
|
3035
|
+
* without the price. A present `unit_price_cents` is an
|
|
3036
3036
|
* exact decimal string, or null when the current price is unknown.
|
|
3037
3037
|
*
|
|
3038
3038
|
*
|
|
@@ -3046,9 +3046,9 @@ export declare class ProductionJobScopePrices {
|
|
|
3046
3046
|
* Create production job scope price
|
|
3047
3047
|
*
|
|
3048
3048
|
* Creates a scope price on the URL's job. The body accepts only `scope_kind`,
|
|
3049
|
-
* `unit_price_cents`,
|
|
3050
|
-
* including
|
|
3051
|
-
* `400`. Omit `unit_price_cents` or send null for an unknown price; "0" is a
|
|
3049
|
+
* `unit_price_cents`, and `unit_of_measure`. Undeclared keys,
|
|
3050
|
+
* including retired `contracted_count` or dollar `unit_price`, return `400`.
|
|
3051
|
+
* A missing `scope_kind` also returns `400`. Omit `unit_price_cents` or send null for an unknown price; "0" is a
|
|
3052
3052
|
* known zero. Supplied nonnull prices must be nonnegative decimal strings;
|
|
3053
3053
|
* blank, numeric, negative, or wrong-typed prices return `422` without a write.
|
|
3054
3054
|
*
|
|
@@ -3074,9 +3074,9 @@ export declare class ProductionJobScopePrices {
|
|
|
3074
3074
|
* One scope price on a production-tracked job. Company keys,
|
|
3075
3075
|
* and user keys held by an administrator, manager, safety
|
|
3076
3076
|
* manager, or field lead of the company that owns the job,
|
|
3077
|
-
* receive `unit_price_cents
|
|
3078
|
-
* keys, held by crew on the job, receive the
|
|
3079
|
-
*
|
|
3077
|
+
* receive `unit_price_cents`. Other user
|
|
3078
|
+
* keys, held by crew on the job, receive the row without
|
|
3079
|
+
* the price. A present `unit_price_cents` is an exact
|
|
3080
3080
|
* decimal string, or null when the current price is unknown.
|
|
3081
3081
|
*
|
|
3082
3082
|
*
|
|
@@ -3089,10 +3089,10 @@ export declare class ProductionJobScopePrices {
|
|
|
3089
3089
|
/**
|
|
3090
3090
|
* Update production job scope price
|
|
3091
3091
|
*
|
|
3092
|
-
* Updates only the supplied `scope_kind`, `unit_price_cents`,
|
|
3092
|
+
* Updates only the supplied `scope_kind`, `unit_price_cents`,
|
|
3093
3093
|
* and `unit_of_measure`. Omission preserves the stored value; null
|
|
3094
|
-
* `unit_price_cents` clears the price to unknown
|
|
3095
|
-
*
|
|
3094
|
+
* `unit_price_cents` clears the price to unknown. Undeclared keys,
|
|
3095
|
+
* including retired `contracted_count` or dollar `unit_price`,
|
|
3096
3096
|
* return `400`. Invalid supplied values return `422` without changing the scope
|
|
3097
3097
|
* price. Prices remain nonnegative decimal strings; "0" is a known zero.
|
|
3098
3098
|
* The job stays on the URL.
|
|
@@ -3134,7 +3134,7 @@ export declare class PwaTrades {
|
|
|
3134
3134
|
*
|
|
3135
3135
|
* A merge is refused (422) when the two crafts decided an occupation's apprentice
|
|
3136
3136
|
* scope opposite ways, in scope on one and out of scope on the other. The detail
|
|
3137
|
-
* lists each
|
|
3137
|
+
* lists each conflict and the employer companies of the occupation's program, whose
|
|
3138
3138
|
* admins and managers can change either decision or remove one. Nothing changes.
|
|
3139
3139
|
*
|
|
3140
3140
|
* Use this rather than `DELETE` when the craft still groups determinations:
|
package/dist/gen/sdk.gen.js
CHANGED
|
@@ -5040,9 +5040,9 @@ export class ProductionJobScopePrices {
|
|
|
5040
5040
|
* Scope prices on a production-tracked job. Company keys,
|
|
5041
5041
|
* and user keys held by an administrator, manager, safety
|
|
5042
5042
|
* manager, or field lead of the company that owns the job,
|
|
5043
|
-
* receive `unit_price_cents
|
|
5043
|
+
* receive `unit_price_cents`. Other user
|
|
5044
5044
|
* keys, held by crew on the job, receive the same rows
|
|
5045
|
-
* without
|
|
5045
|
+
* without the price. A present `unit_price_cents` is an
|
|
5046
5046
|
* exact decimal string, or null when the current price is unknown.
|
|
5047
5047
|
*
|
|
5048
5048
|
*
|
|
@@ -5062,9 +5062,9 @@ export class ProductionJobScopePrices {
|
|
|
5062
5062
|
* Create production job scope price
|
|
5063
5063
|
*
|
|
5064
5064
|
* Creates a scope price on the URL's job. The body accepts only `scope_kind`,
|
|
5065
|
-
* `unit_price_cents`,
|
|
5066
|
-
* including
|
|
5067
|
-
* `400`. Omit `unit_price_cents` or send null for an unknown price; "0" is a
|
|
5065
|
+
* `unit_price_cents`, and `unit_of_measure`. Undeclared keys,
|
|
5066
|
+
* including retired `contracted_count` or dollar `unit_price`, return `400`.
|
|
5067
|
+
* A missing `scope_kind` also returns `400`. Omit `unit_price_cents` or send null for an unknown price; "0" is a
|
|
5068
5068
|
* known zero. Supplied nonnull prices must be nonnegative decimal strings;
|
|
5069
5069
|
* blank, numeric, negative, or wrong-typed prices return `422` without a write.
|
|
5070
5070
|
*
|
|
@@ -5106,9 +5106,9 @@ export class ProductionJobScopePrices {
|
|
|
5106
5106
|
* One scope price on a production-tracked job. Company keys,
|
|
5107
5107
|
* and user keys held by an administrator, manager, safety
|
|
5108
5108
|
* manager, or field lead of the company that owns the job,
|
|
5109
|
-
* receive `unit_price_cents
|
|
5110
|
-
* keys, held by crew on the job, receive the
|
|
5111
|
-
*
|
|
5109
|
+
* receive `unit_price_cents`. Other user
|
|
5110
|
+
* keys, held by crew on the job, receive the row without
|
|
5111
|
+
* the price. A present `unit_price_cents` is an exact
|
|
5112
5112
|
* decimal string, or null when the current price is unknown.
|
|
5113
5113
|
*
|
|
5114
5114
|
*
|
|
@@ -5127,10 +5127,10 @@ export class ProductionJobScopePrices {
|
|
|
5127
5127
|
/**
|
|
5128
5128
|
* Update production job scope price
|
|
5129
5129
|
*
|
|
5130
|
-
* Updates only the supplied `scope_kind`, `unit_price_cents`,
|
|
5130
|
+
* Updates only the supplied `scope_kind`, `unit_price_cents`,
|
|
5131
5131
|
* and `unit_of_measure`. Omission preserves the stored value; null
|
|
5132
|
-
* `unit_price_cents` clears the price to unknown
|
|
5133
|
-
*
|
|
5132
|
+
* `unit_price_cents` clears the price to unknown. Undeclared keys,
|
|
5133
|
+
* including retired `contracted_count` or dollar `unit_price`,
|
|
5134
5134
|
* return `400`. Invalid supplied values return `422` without changing the scope
|
|
5135
5135
|
* price. Prices remain nonnegative decimal strings; "0" is a known zero.
|
|
5136
5136
|
* The job stays on the URL.
|
|
@@ -5202,7 +5202,7 @@ export class PwaTrades {
|
|
|
5202
5202
|
*
|
|
5203
5203
|
* A merge is refused (422) when the two crafts decided an occupation's apprentice
|
|
5204
5204
|
* scope opposite ways, in scope on one and out of scope on the other. The detail
|
|
5205
|
-
* lists each
|
|
5205
|
+
* lists each conflict and the employer companies of the occupation's program, whose
|
|
5206
5206
|
* admins and managers can change either decision or remove one. Nothing changes.
|
|
5207
5207
|
*
|
|
5208
5208
|
* Use this rather than `DELETE` when the craft still groups determinations:
|
package/dist/gen/types.gen.d.ts
CHANGED
|
@@ -2144,6 +2144,10 @@ export type PeopleEmploymentResponseObject = {
|
|
|
2144
2144
|
* Annual training minutes; null when unset.
|
|
2145
2145
|
*/
|
|
2146
2146
|
training_annual_minutes: number | null;
|
|
2147
|
+
/**
|
|
2148
|
+
* Minutes per workweek the fixed salary is intended to compensate. Not time worked, and separate from worked_annual_minutes.
|
|
2149
|
+
*/
|
|
2150
|
+
salary_weekly_minutes: number;
|
|
2147
2151
|
/**
|
|
2148
2152
|
* Hourly pay in cents as a decimal string; present for company keys, company administrators, and the employed person, and null when authorized but unset.
|
|
2149
2153
|
*/
|
|
@@ -2152,6 +2156,10 @@ export type PeopleEmploymentResponseObject = {
|
|
|
2152
2156
|
* Annual training amount in cents as a decimal string; present for company keys, company administrators, and the employed person, and null when authorized but unset.
|
|
2153
2157
|
*/
|
|
2154
2158
|
training_annual_amount_cents?: string | null;
|
|
2159
|
+
/**
|
|
2160
|
+
* Annual fixed-hours salary in cents as a decimal string; present for company keys, company administrators, and the employed person, and null when authorized but unset.
|
|
2161
|
+
*/
|
|
2162
|
+
salary_annual_amount_cents?: string | null;
|
|
2155
2163
|
/**
|
|
2156
2164
|
* Employer health amount in cents as a decimal string; present for company keys, company administrators, and the employed person, and null when authorized but unset.
|
|
2157
2165
|
*/
|
|
@@ -2257,6 +2265,14 @@ export type PeopleEmploymentCreateParameters = {
|
|
|
2257
2265
|
* Annual employer savings and retirement contribution in cents as a decimal string. Omit or send null to leave it unset.
|
|
2258
2266
|
*/
|
|
2259
2267
|
employer_combined_savings_cents?: string | null;
|
|
2268
|
+
/**
|
|
2269
|
+
* Annual fixed-hours salary in cents as a decimal string. Omit or send null to leave it unset.
|
|
2270
|
+
*/
|
|
2271
|
+
salary_annual_amount_cents?: string | null;
|
|
2272
|
+
/**
|
|
2273
|
+
* Minutes per workweek the fixed salary is intended to compensate, as a whole number from 1 to 10080 (one week). Omit to use 2400 (40 hours); null is refused.
|
|
2274
|
+
*/
|
|
2275
|
+
salary_weekly_minutes?: number;
|
|
2260
2276
|
};
|
|
2261
2277
|
/**
|
|
2262
2278
|
* Request body for creating one employment boundary. effective_date is required and is interpreted at midnight in the credential company's time zone. Today and past dates must fall inside the family's latest version, before its termination; future dates retain scheduling behavior. Send at least one value to change; omitted values carry forward from the version immediately before the new boundary.
|
|
@@ -2310,6 +2326,14 @@ export type PeopleEmploymentScheduledChangeCreateParameters = {
|
|
|
2310
2326
|
* Annual employer savings contribution in cents as a decimal string. Omit to carry forward the preceding version, or send null to clear it.
|
|
2311
2327
|
*/
|
|
2312
2328
|
employer_combined_savings_cents?: string | null;
|
|
2329
|
+
/**
|
|
2330
|
+
* Annual fixed-hours salary in cents as a decimal string. Omit to carry forward the preceding version, or send null to clear it.
|
|
2331
|
+
*/
|
|
2332
|
+
salary_annual_amount_cents?: string | null;
|
|
2333
|
+
/**
|
|
2334
|
+
* Minutes per workweek the fixed salary is intended to compensate, as a whole number from 1 to 10080 (one week). Omit to carry forward the preceding version; null is refused.
|
|
2335
|
+
*/
|
|
2336
|
+
salary_weekly_minutes?: number;
|
|
2313
2337
|
/**
|
|
2314
2338
|
* Department ID in the credential company. Omit to carry forward the preceding version, or send null to clear it. A submitted value applies to this and all later versions.
|
|
2315
2339
|
*/
|
|
@@ -2363,6 +2387,14 @@ export type PeopleEmploymentScheduledChangeUpdateParameters = {
|
|
|
2363
2387
|
* Annual employer savings contribution in cents as a decimal string. Omit to preserve the value at the targeted boundary, or send null to clear it.
|
|
2364
2388
|
*/
|
|
2365
2389
|
employer_combined_savings_cents?: string | null;
|
|
2390
|
+
/**
|
|
2391
|
+
* Annual fixed-hours salary in cents as a decimal string. Omit to preserve the value at the targeted boundary, or send null to clear it.
|
|
2392
|
+
*/
|
|
2393
|
+
salary_annual_amount_cents?: string | null;
|
|
2394
|
+
/**
|
|
2395
|
+
* Minutes per workweek the fixed salary is intended to compensate, as a whole number from 1 to 10080 (one week). Omit to preserve the value at the targeted boundary; null is refused.
|
|
2396
|
+
*/
|
|
2397
|
+
salary_weekly_minutes?: number;
|
|
2366
2398
|
/**
|
|
2367
2399
|
* Department ID in the credential company. Omit to preserve the value at the targeted boundary, or send null to clear it. A submitted value applies to this and all later versions.
|
|
2368
2400
|
*/
|
|
@@ -2451,8 +2483,10 @@ export type PeopleEmploymentHistoryCorrectionObject = {
|
|
|
2451
2483
|
pto_annual_minutes: number | null;
|
|
2452
2484
|
holiday_annual_minutes: number | null;
|
|
2453
2485
|
training_annual_minutes: number | null;
|
|
2486
|
+
salary_weekly_minutes: number;
|
|
2454
2487
|
hourly_rate_cents?: string | null;
|
|
2455
2488
|
training_annual_amount_cents?: string | null;
|
|
2489
|
+
salary_annual_amount_cents?: string | null;
|
|
2456
2490
|
employer_combined_health_amount_cents?: string | null;
|
|
2457
2491
|
employer_combined_savings_cents?: string | null;
|
|
2458
2492
|
currency: string;
|
|
@@ -2483,8 +2517,10 @@ export type PeopleEmploymentHistoryVersionObject = {
|
|
|
2483
2517
|
pto_annual_minutes: number | null;
|
|
2484
2518
|
holiday_annual_minutes: number | null;
|
|
2485
2519
|
training_annual_minutes: number | null;
|
|
2520
|
+
salary_weekly_minutes: number;
|
|
2486
2521
|
hourly_rate_cents?: string | null;
|
|
2487
2522
|
training_annual_amount_cents?: string | null;
|
|
2523
|
+
salary_annual_amount_cents?: string | null;
|
|
2488
2524
|
employer_combined_health_amount_cents?: string | null;
|
|
2489
2525
|
employer_combined_savings_cents?: string | null;
|
|
2490
2526
|
currency: string;
|
|
@@ -12030,17 +12066,13 @@ export type ProductionJobScopePriceParameters = {
|
|
|
12030
12066
|
* Billing rate per unit in cents, as a decimal string (e.g. "120000" or the read form "120000.0" for $1,200.00, or "3.5" for $0.035); a fraction of a cent is kept exactly and bills exactly. Null means the current price is unknown; "0" is a known zero price. A negative value, blank string, JSON number, or wrong type answers 422.
|
|
12031
12067
|
*/
|
|
12032
12068
|
unit_price_cents?: string | null;
|
|
12033
|
-
/**
|
|
12034
|
-
* Contracted number of units expected for this scope on the job, as an integer; null when no target is set.
|
|
12035
|
-
*/
|
|
12036
|
-
contracted_count?: number | null;
|
|
12037
12069
|
/**
|
|
12038
12070
|
* What each priced unit represents, as a free-text label (for example "modules", "piles", or "turbines"); defaults to "units".
|
|
12039
12071
|
*/
|
|
12040
12072
|
unit_of_measure?: string;
|
|
12041
12073
|
};
|
|
12042
12074
|
/**
|
|
12043
|
-
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price
|
|
12075
|
+
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price. A null value for any other field, or a wrong-typed value, answers 422. The resulting price must retain a scope kind; supplied nonnull prices must be nonnegative decimal strings.
|
|
12044
12076
|
*/
|
|
12045
12077
|
export type ProductionJobScopePriceUpdateParameters = {
|
|
12046
12078
|
/**
|
|
@@ -12051,10 +12083,6 @@ export type ProductionJobScopePriceUpdateParameters = {
|
|
|
12051
12083
|
* Billing rate per unit in cents, as a decimal string (e.g. "120000" or the read form "120000.0" for $1,200.00, or "3.5" for $0.035); a fraction of a cent is kept exactly and bills exactly. Null means the current price is unknown; "0" is a known zero price. A negative value, blank string, JSON number, or wrong type answers 422.
|
|
12052
12084
|
*/
|
|
12053
12085
|
unit_price_cents?: string | null;
|
|
12054
|
-
/**
|
|
12055
|
-
* Contracted number of units expected for this scope on the job, as an integer; null when no target is set.
|
|
12056
|
-
*/
|
|
12057
|
-
contracted_count?: number | null;
|
|
12058
12086
|
/**
|
|
12059
12087
|
* What each priced unit represents, as a free-text label (for example "modules", "piles", or "turbines"); defaults to "units".
|
|
12060
12088
|
*/
|
|
@@ -12084,10 +12112,6 @@ export type ProductionJobScopePriceResponseObject = {
|
|
|
12084
12112
|
* Billing rate per unit in cents, as a decimal string (e.g. "120000.0" is $1,200.00 and "3.5" is $0.035); a fraction of a cent is kept exactly. Null means the current price is unknown; "0.0" is a known zero price. Present for company keys and for administrators, managers, safety managers, and field leads of the company that owns the job; omitted for other user keys.
|
|
12085
12113
|
*/
|
|
12086
12114
|
unit_price_cents?: string | null;
|
|
12087
|
-
/**
|
|
12088
|
-
* Contracted number of units expected for this scope on the job; null when no target is set. Present for company keys and for administrators, managers, safety managers, and field leads of the company that owns the job; omitted for other user keys.
|
|
12089
|
-
*/
|
|
12090
|
-
contracted_count?: number | null;
|
|
12091
12115
|
/**
|
|
12092
12116
|
* When the record was created (ISO 8601).
|
|
12093
12117
|
*/
|
package/dist/gen/zod.gen.d.ts
CHANGED
|
@@ -1264,8 +1264,10 @@ export declare const zPeopleEmploymentResponseObject: z.ZodObject<{
|
|
|
1264
1264
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1265
1265
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1266
1266
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1267
|
+
salary_weekly_minutes: z.ZodInt;
|
|
1267
1268
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1268
1269
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1269
1271
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1270
1272
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1271
1273
|
currency: z.ZodString;
|
|
@@ -1302,6 +1304,8 @@ export declare const zPeopleEmploymentCreateParameters: z.ZodObject<{
|
|
|
1302
1304
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1303
1305
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1304
1306
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1307
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1308
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
1305
1309
|
}, z.core.$strip>;
|
|
1306
1310
|
/**
|
|
1307
1311
|
* Request body for creating one employment boundary. effective_date is required and is interpreted at midnight in the credential company's time zone. Today and past dates must fall inside the family's latest version, before its termination; future dates retain scheduling behavior. Send at least one value to change; omitted values carry forward from the version immediately before the new boundary.
|
|
@@ -1322,6 +1326,8 @@ export declare const zPeopleEmploymentScheduledChangeCreateParameters: z.ZodObje
|
|
|
1322
1326
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1323
1327
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1324
1328
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1329
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1330
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
1325
1331
|
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1326
1332
|
}, z.core.$strip>;
|
|
1327
1333
|
/**
|
|
@@ -1342,6 +1348,8 @@ export declare const zPeopleEmploymentScheduledChangeUpdateParameters: z.ZodObje
|
|
|
1342
1348
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1343
1349
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1344
1350
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1351
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1352
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
1345
1353
|
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1346
1354
|
}, z.core.$strip>;
|
|
1347
1355
|
/**
|
|
@@ -1403,8 +1411,10 @@ export declare const zPeopleEmploymentHistoryCorrectionObject: z.ZodObject<{
|
|
|
1403
1411
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1404
1412
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1405
1413
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1414
|
+
salary_weekly_minutes: z.ZodInt;
|
|
1406
1415
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1407
1416
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1417
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1408
1418
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1409
1419
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1410
1420
|
currency: z.ZodString;
|
|
@@ -1438,8 +1448,10 @@ export declare const zPeopleEmploymentHistoryVersionObject: z.ZodObject<{
|
|
|
1438
1448
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1439
1449
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1440
1450
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1451
|
+
salary_weekly_minutes: z.ZodInt;
|
|
1441
1452
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1442
1453
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1454
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1443
1455
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1444
1456
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1445
1457
|
currency: z.ZodString;
|
|
@@ -1477,8 +1489,10 @@ export declare const zPeopleEmploymentHistoryVersionObject: z.ZodObject<{
|
|
|
1477
1489
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1478
1490
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1479
1491
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
1492
|
+
salary_weekly_minutes: z.ZodInt;
|
|
1480
1493
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1481
1494
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1495
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1482
1496
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1483
1497
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1484
1498
|
currency: z.ZodString;
|
|
@@ -6372,16 +6386,14 @@ export declare const zPositionParameters: z.ZodObject<{
|
|
|
6372
6386
|
export declare const zProductionJobScopePriceParameters: z.ZodObject<{
|
|
6373
6387
|
scope_kind: z.ZodString;
|
|
6374
6388
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6375
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6376
6389
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
6377
6390
|
}, z.core.$strip>;
|
|
6378
6391
|
/**
|
|
6379
|
-
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price
|
|
6392
|
+
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price. A null value for any other field, or a wrong-typed value, answers 422. The resulting price must retain a scope kind; supplied nonnull prices must be nonnegative decimal strings.
|
|
6380
6393
|
*/
|
|
6381
6394
|
export declare const zProductionJobScopePriceUpdateParameters: z.ZodObject<{
|
|
6382
6395
|
scope_kind: z.ZodOptional<z.ZodString>;
|
|
6383
6396
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6384
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6385
6397
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
6386
6398
|
}, z.core.$strip>;
|
|
6387
6399
|
/**
|
|
@@ -6393,7 +6405,6 @@ export declare const zProductionJobScopePriceResponseObject: z.ZodObject<{
|
|
|
6393
6405
|
scope_kind: z.ZodString;
|
|
6394
6406
|
unit_of_measure: z.ZodString;
|
|
6395
6407
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
6396
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
6397
6408
|
created_at: z.ZodISODateTime;
|
|
6398
6409
|
updated_at: z.ZodISODateTime;
|
|
6399
6410
|
}, z.core.$strip>;
|
|
@@ -20351,7 +20362,6 @@ export declare const zListJobScopePricesResponse: z.ZodObject<{
|
|
|
20351
20362
|
scope_kind: z.ZodString;
|
|
20352
20363
|
unit_of_measure: z.ZodString;
|
|
20353
20364
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20354
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20355
20365
|
created_at: z.ZodISODateTime;
|
|
20356
20366
|
updated_at: z.ZodISODateTime;
|
|
20357
20367
|
}, z.core.$strip>>;
|
|
@@ -20359,7 +20369,6 @@ export declare const zListJobScopePricesResponse: z.ZodObject<{
|
|
|
20359
20369
|
export declare const zCreateJobScopePriceBody: z.ZodObject<{
|
|
20360
20370
|
scope_kind: z.ZodString;
|
|
20361
20371
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20362
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20363
20372
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
20364
20373
|
}, z.core.$strip>;
|
|
20365
20374
|
export declare const zCreateJobScopePricePath: z.ZodObject<{
|
|
@@ -20374,7 +20383,6 @@ export declare const zCreateJobScopePriceResponse: z.ZodObject<{
|
|
|
20374
20383
|
scope_kind: z.ZodString;
|
|
20375
20384
|
unit_of_measure: z.ZodString;
|
|
20376
20385
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20377
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20378
20386
|
created_at: z.ZodISODateTime;
|
|
20379
20387
|
updated_at: z.ZodISODateTime;
|
|
20380
20388
|
}, z.core.$strip>;
|
|
@@ -20391,7 +20399,6 @@ export declare const zDeleteJobScopePriceResponse: z.ZodObject<{
|
|
|
20391
20399
|
scope_kind: z.ZodString;
|
|
20392
20400
|
unit_of_measure: z.ZodString;
|
|
20393
20401
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20394
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20395
20402
|
created_at: z.ZodISODateTime;
|
|
20396
20403
|
updated_at: z.ZodISODateTime;
|
|
20397
20404
|
}, z.core.$strip>;
|
|
@@ -20408,14 +20415,12 @@ export declare const zGetJobScopePriceResponse: z.ZodObject<{
|
|
|
20408
20415
|
scope_kind: z.ZodString;
|
|
20409
20416
|
unit_of_measure: z.ZodString;
|
|
20410
20417
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20411
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20412
20418
|
created_at: z.ZodISODateTime;
|
|
20413
20419
|
updated_at: z.ZodISODateTime;
|
|
20414
20420
|
}, z.core.$strip>;
|
|
20415
20421
|
export declare const zUpdateJobScopePriceBody: z.ZodObject<{
|
|
20416
20422
|
scope_kind: z.ZodOptional<z.ZodString>;
|
|
20417
20423
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20418
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20419
20424
|
unit_of_measure: z.ZodOptional<z.ZodString>;
|
|
20420
20425
|
}, z.core.$strip>;
|
|
20421
20426
|
export declare const zUpdateJobScopePricePath: z.ZodObject<{
|
|
@@ -20431,7 +20436,6 @@ export declare const zUpdateJobScopePriceResponse: z.ZodObject<{
|
|
|
20431
20436
|
scope_kind: z.ZodString;
|
|
20432
20437
|
unit_of_measure: z.ZodString;
|
|
20433
20438
|
unit_price_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
20434
|
-
contracted_count: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
|
|
20435
20439
|
created_at: z.ZodISODateTime;
|
|
20436
20440
|
updated_at: z.ZodISODateTime;
|
|
20437
20441
|
}, z.core.$strip>;
|
|
@@ -27573,8 +27577,10 @@ export declare const zUpdateGenesisResponse: z.ZodObject<{
|
|
|
27573
27577
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27574
27578
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27575
27579
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27580
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27576
27581
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27577
27582
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27583
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27578
27584
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27579
27585
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27580
27586
|
currency: z.ZodString;
|
|
@@ -27633,8 +27639,10 @@ export declare const zListEmploymentHistoryResponse: z.ZodObject<{
|
|
|
27633
27639
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27634
27640
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27635
27641
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27642
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27636
27643
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27637
27644
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27645
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27638
27646
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27639
27647
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27640
27648
|
currency: z.ZodString;
|
|
@@ -27672,8 +27680,10 @@ export declare const zListEmploymentHistoryResponse: z.ZodObject<{
|
|
|
27672
27680
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27673
27681
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27674
27682
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27683
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27675
27684
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27676
27685
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27686
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27677
27687
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27678
27688
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27679
27689
|
currency: z.ZodString;
|
|
@@ -27734,8 +27744,10 @@ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
|
|
|
27734
27744
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27735
27745
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27736
27746
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27747
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27737
27748
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27738
27749
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27750
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27739
27751
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27740
27752
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27741
27753
|
currency: z.ZodString;
|
|
@@ -27773,8 +27785,10 @@ export declare const zListEmploymentsHistoryResponse: z.ZodObject<{
|
|
|
27773
27785
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27774
27786
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27775
27787
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27788
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27776
27789
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27777
27790
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27791
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27778
27792
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27779
27793
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27780
27794
|
currency: z.ZodString;
|
|
@@ -27801,6 +27815,8 @@ export declare const zCreateEmploymentScheduledChangeBody: z.ZodObject<{
|
|
|
27801
27815
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27802
27816
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27803
27817
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27818
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27819
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
27804
27820
|
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27805
27821
|
}, z.core.$strip>;
|
|
27806
27822
|
export declare const zCreateEmploymentScheduledChangeHeaders: z.ZodObject<{
|
|
@@ -27837,8 +27853,10 @@ export declare const zCreateEmploymentScheduledChangeResponse: z.ZodObject<{
|
|
|
27837
27853
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27838
27854
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27839
27855
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27856
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27840
27857
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27841
27858
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27859
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27842
27860
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27843
27861
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27844
27862
|
currency: z.ZodString;
|
|
@@ -27873,6 +27891,8 @@ export declare const zUpdateEmploymentScheduledChangeBody: z.ZodObject<{
|
|
|
27873
27891
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27874
27892
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27875
27893
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27894
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27895
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
27876
27896
|
companies_department_id: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27877
27897
|
}, z.core.$strip>;
|
|
27878
27898
|
export declare const zUpdateEmploymentScheduledChangeHeaders: z.ZodObject<{
|
|
@@ -27910,8 +27930,10 @@ export declare const zUpdateEmploymentScheduledChangeResponse: z.ZodObject<{
|
|
|
27910
27930
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27911
27931
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27912
27932
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27933
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27913
27934
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27914
27935
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27936
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27915
27937
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27916
27938
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27917
27939
|
currency: z.ZodString;
|
|
@@ -27954,8 +27976,10 @@ export declare const zDeleteScheduledTerminationResponse: z.ZodObject<{
|
|
|
27954
27976
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27955
27977
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27956
27978
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
27979
|
+
salary_weekly_minutes: z.ZodInt;
|
|
27957
27980
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27958
27981
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27982
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27959
27983
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27960
27984
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
27961
27985
|
currency: z.ZodString;
|
|
@@ -28001,8 +28025,10 @@ export declare const zCreateEmploymentScheduledTerminationResponse: z.ZodObject<
|
|
|
28001
28025
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28002
28026
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28003
28027
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28028
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28004
28029
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28005
28030
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28031
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28006
28032
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28007
28033
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28008
28034
|
currency: z.ZodString;
|
|
@@ -28065,8 +28091,10 @@ export declare const zListEmploymentsResponse: z.ZodObject<{
|
|
|
28065
28091
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28066
28092
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28067
28093
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28094
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28068
28095
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28069
28096
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28097
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28070
28098
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28071
28099
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28072
28100
|
currency: z.ZodString;
|
|
@@ -28101,6 +28129,8 @@ export declare const zCreateEmploymentBody: z.ZodObject<{
|
|
|
28101
28129
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28102
28130
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28103
28131
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28132
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28133
|
+
salary_weekly_minutes: z.ZodOptional<z.ZodInt>;
|
|
28104
28134
|
}, z.core.$strip>;
|
|
28105
28135
|
/**
|
|
28106
28136
|
* Created
|
|
@@ -28130,8 +28160,10 @@ export declare const zCreateEmploymentResponse: z.ZodObject<{
|
|
|
28130
28160
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28131
28161
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28132
28162
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28163
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28133
28164
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28134
28165
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28166
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28135
28167
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28136
28168
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28137
28169
|
currency: z.ZodString;
|
|
@@ -28174,8 +28206,10 @@ export declare const zDeleteEmploymentResponse: z.ZodObject<{
|
|
|
28174
28206
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28175
28207
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28176
28208
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28209
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28177
28210
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28178
28211
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28212
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28179
28213
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28180
28214
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28181
28215
|
currency: z.ZodString;
|
|
@@ -28218,8 +28252,10 @@ export declare const zGetEmploymentResponse: z.ZodObject<{
|
|
|
28218
28252
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28219
28253
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28220
28254
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28255
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28221
28256
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28222
28257
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28258
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28223
28259
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28224
28260
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28225
28261
|
currency: z.ZodString;
|
|
@@ -28272,8 +28308,10 @@ export declare const zUpdateEmploymentResponse: z.ZodObject<{
|
|
|
28272
28308
|
pto_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28273
28309
|
holiday_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28274
28310
|
training_annual_minutes: z.ZodNullable<z.ZodInt>;
|
|
28311
|
+
salary_weekly_minutes: z.ZodInt;
|
|
28275
28312
|
hourly_rate_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28276
28313
|
training_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28314
|
+
salary_annual_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28277
28315
|
employer_combined_health_amount_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28278
28316
|
employer_combined_savings_cents: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
28279
28317
|
currency: z.ZodString;
|
package/dist/gen/zod.gen.js
CHANGED
|
@@ -1235,8 +1235,10 @@ export const zPeopleEmploymentResponseObject = z.object({
|
|
|
1235
1235
|
pto_annual_minutes: z.int().nullable(),
|
|
1236
1236
|
holiday_annual_minutes: z.int().nullable(),
|
|
1237
1237
|
training_annual_minutes: z.int().nullable(),
|
|
1238
|
+
salary_weekly_minutes: z.int(),
|
|
1238
1239
|
hourly_rate_cents: z.string().nullish(),
|
|
1239
1240
|
training_annual_amount_cents: z.string().nullish(),
|
|
1241
|
+
salary_annual_amount_cents: z.string().nullish(),
|
|
1240
1242
|
employer_combined_health_amount_cents: z.string().nullish(),
|
|
1241
1243
|
employer_combined_savings_cents: z.string().nullish(),
|
|
1242
1244
|
currency: z.string(),
|
|
@@ -1266,7 +1268,9 @@ export const zPeopleEmploymentCreateParameters = z.object({
|
|
|
1266
1268
|
training_annual_minutes: z.int().nullish(),
|
|
1267
1269
|
training_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1268
1270
|
employer_combined_health_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1269
|
-
employer_combined_savings_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish()
|
|
1271
|
+
employer_combined_savings_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1272
|
+
salary_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1273
|
+
salary_weekly_minutes: z.int().gte(1).lte(10080).optional()
|
|
1270
1274
|
});
|
|
1271
1275
|
/**
|
|
1272
1276
|
* Request body for creating one employment boundary. effective_date is required and is interpreted at midnight in the credential company's time zone. Today and past dates must fall inside the family's latest version, before its termination; future dates retain scheduling behavior. Send at least one value to change; omitted values carry forward from the version immediately before the new boundary.
|
|
@@ -1284,6 +1288,8 @@ export const zPeopleEmploymentScheduledChangeCreateParameters = z.object({
|
|
|
1284
1288
|
training_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1285
1289
|
employer_combined_health_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1286
1290
|
employer_combined_savings_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1291
|
+
salary_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1292
|
+
salary_weekly_minutes: z.int().gte(1).lte(10080).optional(),
|
|
1287
1293
|
companies_department_id: z.string().regex(/[^\x09-\x0D\x20
- ‧- ]|[‧]/).nullish()
|
|
1288
1294
|
});
|
|
1289
1295
|
/**
|
|
@@ -1301,6 +1307,8 @@ export const zPeopleEmploymentScheduledChangeUpdateParameters = z.object({
|
|
|
1301
1307
|
training_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1302
1308
|
employer_combined_health_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1303
1309
|
employer_combined_savings_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1310
|
+
salary_annual_amount_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
1311
|
+
salary_weekly_minutes: z.int().gte(1).lte(10080).optional(),
|
|
1304
1312
|
companies_department_id: z.string().regex(/[^\x09-\x0D\x20
- ‧- ]|[‧]/).nullish()
|
|
1305
1313
|
});
|
|
1306
1314
|
/**
|
|
@@ -1353,8 +1361,10 @@ export const zPeopleEmploymentHistoryCorrectionObject = z.object({
|
|
|
1353
1361
|
pto_annual_minutes: z.int().nullable(),
|
|
1354
1362
|
holiday_annual_minutes: z.int().nullable(),
|
|
1355
1363
|
training_annual_minutes: z.int().nullable(),
|
|
1364
|
+
salary_weekly_minutes: z.int(),
|
|
1356
1365
|
hourly_rate_cents: z.string().nullish(),
|
|
1357
1366
|
training_annual_amount_cents: z.string().nullish(),
|
|
1367
|
+
salary_annual_amount_cents: z.string().nullish(),
|
|
1358
1368
|
employer_combined_health_amount_cents: z.string().nullish(),
|
|
1359
1369
|
employer_combined_savings_cents: z.string().nullish(),
|
|
1360
1370
|
currency: z.string(),
|
|
@@ -1382,8 +1392,10 @@ export const zPeopleEmploymentHistoryVersionObject = z.object({
|
|
|
1382
1392
|
pto_annual_minutes: z.int().nullable(),
|
|
1383
1393
|
holiday_annual_minutes: z.int().nullable(),
|
|
1384
1394
|
training_annual_minutes: z.int().nullable(),
|
|
1395
|
+
salary_weekly_minutes: z.int(),
|
|
1385
1396
|
hourly_rate_cents: z.string().nullish(),
|
|
1386
1397
|
training_annual_amount_cents: z.string().nullish(),
|
|
1398
|
+
salary_annual_amount_cents: z.string().nullish(),
|
|
1387
1399
|
employer_combined_health_amount_cents: z.string().nullish(),
|
|
1388
1400
|
employer_combined_savings_cents: z.string().nullish(),
|
|
1389
1401
|
currency: z.string(),
|
|
@@ -5886,16 +5898,14 @@ export const zPositionParameters = z.object({
|
|
|
5886
5898
|
export const zProductionJobScopePriceParameters = z.object({
|
|
5887
5899
|
scope_kind: z.string(),
|
|
5888
5900
|
unit_price_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
5889
|
-
contracted_count: z.int().nullish(),
|
|
5890
5901
|
unit_of_measure: z.string().optional()
|
|
5891
5902
|
});
|
|
5892
5903
|
/**
|
|
5893
|
-
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price
|
|
5904
|
+
* Parameters for updating a per-unit scope price on a job. Every field is optional; omit a field to preserve its current value. Send null for `unit_price_cents` to clear the known price. A null value for any other field, or a wrong-typed value, answers 422. The resulting price must retain a scope kind; supplied nonnull prices must be nonnegative decimal strings.
|
|
5894
5905
|
*/
|
|
5895
5906
|
export const zProductionJobScopePriceUpdateParameters = z.object({
|
|
5896
5907
|
scope_kind: z.string().optional(),
|
|
5897
5908
|
unit_price_cents: z.string().regex(/^[0-9]+(\.[0-9]+)?$/).nullish(),
|
|
5898
|
-
contracted_count: z.int().nullish(),
|
|
5899
5909
|
unit_of_measure: z.string().optional()
|
|
5900
5910
|
});
|
|
5901
5911
|
/**
|
|
@@ -5907,7 +5917,6 @@ export const zProductionJobScopePriceResponseObject = z.object({
|
|
|
5907
5917
|
scope_kind: z.string(),
|
|
5908
5918
|
unit_of_measure: z.string(),
|
|
5909
5919
|
unit_price_cents: z.string().nullish(),
|
|
5910
|
-
contracted_count: z.int().nullish(),
|
|
5911
5920
|
created_at: z.iso.datetime(),
|
|
5912
5921
|
updated_at: z.iso.datetime()
|
|
5913
5922
|
});
|