@rippling/rippling-sdk 0.2.0-alpha.57 → 0.2.0-alpha.58
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/client.d.mts +10 -10
- package/client.d.mts.map +1 -1
- package/client.d.ts +10 -10
- package/client.d.ts.map +1 -1
- package/client.js +15 -7
- package/client.js.map +1 -1
- package/client.mjs +15 -7
- package/client.mjs.map +1 -1
- package/lib/manifest/field.d.mts +0 -2
- package/lib/manifest/field.d.mts.map +1 -1
- package/lib/manifest/field.d.ts +0 -2
- package/lib/manifest/field.d.ts.map +1 -1
- package/lib/manifest/field.js +1 -1
- package/lib/manifest/field.js.map +1 -1
- package/lib/manifest/field.mjs +1 -1
- package/lib/manifest/field.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/break-policies.d.mts +91 -0
- package/resources/break-policies.d.mts.map +1 -0
- package/resources/break-policies.d.ts +91 -0
- package/resources/break-policies.d.ts.map +1 -0
- package/resources/break-policies.js +32 -0
- package/resources/break-policies.js.map +1 -0
- package/resources/break-policies.mjs +28 -0
- package/resources/break-policies.mjs.map +1 -0
- package/resources/break-types.d.mts +105 -2
- package/resources/break-types.d.mts.map +1 -1
- package/resources/break-types.d.ts +105 -2
- package/resources/break-types.d.ts.map +1 -1
- package/resources/break-types.js +4 -2
- package/resources/break-types.js.map +1 -1
- package/resources/break-types.mjs +4 -2
- package/resources/break-types.mjs.map +1 -1
- package/resources/candidate-applications.d.mts +5 -1
- package/resources/candidate-applications.d.mts.map +1 -1
- package/resources/candidate-applications.d.ts +5 -1
- package/resources/candidate-applications.d.ts.map +1 -1
- package/resources/candidate-applications.js +1 -1
- package/resources/candidate-applications.js.map +1 -1
- package/resources/candidate-applications.mjs +1 -1
- package/resources/candidate-applications.mjs.map +1 -1
- package/resources/employee-documents.d.mts +38 -4
- package/resources/employee-documents.d.mts.map +1 -1
- package/resources/employee-documents.d.ts +38 -4
- package/resources/employee-documents.d.ts.map +1 -1
- package/resources/index.d.mts +3 -3
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -3
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/job-assignments.d.mts +14 -2
- package/resources/job-assignments.d.mts.map +1 -1
- package/resources/job-assignments.d.ts +14 -2
- package/resources/job-assignments.d.ts.map +1 -1
- package/resources/job-assignments.js +2 -1
- package/resources/job-assignments.js.map +1 -1
- package/resources/job-assignments.mjs +2 -1
- package/resources/job-assignments.mjs.map +1 -1
- package/resources/scheduled-job-assignments.d.mts +13 -21
- package/resources/scheduled-job-assignments.d.mts.map +1 -1
- package/resources/scheduled-job-assignments.d.ts +13 -21
- package/resources/scheduled-job-assignments.d.ts.map +1 -1
- package/src/client.ts +33 -17
- package/src/lib/manifest/field.ts +1 -3
- package/src/resources/break-policies.ts +126 -0
- package/src/resources/break-types.ts +129 -2
- package/src/resources/candidate-applications.ts +6 -1
- package/src/resources/employee-documents.ts +42 -4
- package/src/resources/index.ts +9 -5
- package/src/resources/job-assignments.ts +21 -1
- package/src/resources/scheduled-job-assignments.ts +13 -23
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/metadata/components.d.mts +0 -28
- package/resources/metadata/components.d.mts.map +0 -1
- package/resources/metadata/components.d.ts +0 -28
- package/resources/metadata/components.d.ts.map +0 -1
- package/resources/metadata/components.js +0 -21
- package/resources/metadata/components.js.map +0 -1
- package/resources/metadata/components.mjs +0 -17
- package/resources/metadata/components.mjs.map +0 -1
- package/resources/metadata/index.d.mts +0 -5
- package/resources/metadata/index.d.mts.map +0 -1
- package/resources/metadata/index.d.ts +0 -5
- package/resources/metadata/index.d.ts.map +0 -1
- package/resources/metadata/index.js +0 -13
- package/resources/metadata/index.js.map +0 -1
- package/resources/metadata/index.mjs +0 -6
- package/resources/metadata/index.mjs.map +0 -1
- package/resources/metadata/metadata.d.mts +0 -40
- package/resources/metadata/metadata.d.mts.map +0 -1
- package/resources/metadata/metadata.d.ts +0 -40
- package/resources/metadata/metadata.d.ts.map +0 -1
- package/resources/metadata/metadata.js +0 -37
- package/resources/metadata/metadata.js.map +0 -1
- package/resources/metadata/metadata.mjs +0 -32
- package/resources/metadata/metadata.mjs.map +0 -1
- package/resources/metadata/summary.d.mts +0 -28
- package/resources/metadata/summary.d.mts.map +0 -1
- package/resources/metadata/summary.d.ts +0 -28
- package/resources/metadata/summary.d.ts.map +0 -1
- package/resources/metadata/summary.js +0 -21
- package/resources/metadata/summary.js.map +0 -1
- package/resources/metadata/summary.mjs +0 -17
- package/resources/metadata/summary.mjs.map +0 -1
- package/resources/metadata/types.d.mts +0 -28
- package/resources/metadata/types.d.mts.map +0 -1
- package/resources/metadata/types.d.ts +0 -28
- package/resources/metadata/types.d.ts.map +0 -1
- package/resources/metadata/types.js +0 -21
- package/resources/metadata/types.js.map +0 -1
- package/resources/metadata/types.mjs +0 -17
- package/resources/metadata/types.mjs.map +0 -1
- package/resources/metadata.d.mts +0 -2
- package/resources/metadata.d.mts.map +0 -1
- package/resources/metadata.d.ts +0 -2
- package/resources/metadata.d.ts.map +0 -1
- package/resources/metadata.js +0 -6
- package/resources/metadata.js.map +0 -1
- package/resources/metadata.mjs +0 -3
- package/resources/metadata.mjs.map +0 -1
- package/src/resources/metadata/components.ts +0 -38
- package/src/resources/metadata/index.ts +0 -10
- package/src/resources/metadata/metadata.ts +0 -70
- package/src/resources/metadata/summary.ts +0 -38
- package/src/resources/metadata/types.ts +0 -38
- package/src/resources/metadata.ts +0 -3
|
@@ -15,6 +15,8 @@ export class BreakTypes extends APIResource {
|
|
|
15
15
|
* A list of break types.
|
|
16
16
|
*
|
|
17
17
|
* - Requires: `API Tier 2`
|
|
18
|
+
* - Filterable fields: `policy_id`
|
|
19
|
+
* - Expandable fields: `policy`
|
|
18
20
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
19
21
|
*/
|
|
20
22
|
list(
|
|
@@ -30,8 +32,12 @@ export class BreakTypes extends APIResource {
|
|
|
30
32
|
/**
|
|
31
33
|
* Retrieve a specific break type
|
|
32
34
|
*/
|
|
33
|
-
retrieve(
|
|
34
|
-
|
|
35
|
+
retrieve(
|
|
36
|
+
id: string,
|
|
37
|
+
query: BreakTypeRetrieveParams | null | undefined = {},
|
|
38
|
+
options?: RequestOptions,
|
|
39
|
+
): APIPromise<BreakTypeRetrieveResponse> {
|
|
40
|
+
return this._client.get(path`/break-types/${id}/`, { query, ...options });
|
|
35
41
|
}
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -67,6 +73,62 @@ export interface BreakTypeListResponse {
|
|
|
67
73
|
* Whether this is a paid break (true) or unpaid (false).
|
|
68
74
|
*/
|
|
69
75
|
is_paid?: boolean;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* The break policy this break type belongs to. Use ?expand=policy to inline the
|
|
79
|
+
* full policy object.
|
|
80
|
+
*
|
|
81
|
+
* Expandable field
|
|
82
|
+
*/
|
|
83
|
+
policy?: BreakTypeListResponse.Policy;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* The ID of the break policy this break type belongs to.
|
|
87
|
+
*/
|
|
88
|
+
policy_id?: string;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export namespace BreakTypeListResponse {
|
|
92
|
+
/**
|
|
93
|
+
* The break policy this break type belongs to. Use ?expand=policy to inline the
|
|
94
|
+
* full policy object.
|
|
95
|
+
*
|
|
96
|
+
* Expandable field
|
|
97
|
+
*/
|
|
98
|
+
export interface Policy {
|
|
99
|
+
/**
|
|
100
|
+
* Identifier field
|
|
101
|
+
*/
|
|
102
|
+
id: string;
|
|
103
|
+
|
|
104
|
+
/**
|
|
105
|
+
* Record creation date
|
|
106
|
+
*/
|
|
107
|
+
created_at: string;
|
|
108
|
+
|
|
109
|
+
/**
|
|
110
|
+
* The display name of the break policy. For default policies this is the
|
|
111
|
+
* system-generated label (e.g. 'Default Break policy: All Workers | California');
|
|
112
|
+
* for custom policies this is the admin-provided description.
|
|
113
|
+
*/
|
|
114
|
+
name: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* Record update date
|
|
118
|
+
*/
|
|
119
|
+
updated_at: string;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* ISO 3166-1 alpha-2 country code the policy applies to (e.g. 'US', 'CA', 'GB').
|
|
123
|
+
*/
|
|
124
|
+
country_code?: string;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* Whether this is a system-seeded default policy (true) or a custom policy created
|
|
128
|
+
* by an admin (false).
|
|
129
|
+
*/
|
|
130
|
+
is_default?: boolean;
|
|
131
|
+
}
|
|
70
132
|
}
|
|
71
133
|
|
|
72
134
|
/**
|
|
@@ -102,19 +164,84 @@ export interface BreakTypeRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
|
102
164
|
* Whether this is a paid break (true) or unpaid (false).
|
|
103
165
|
*/
|
|
104
166
|
is_paid?: boolean;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The break policy this break type belongs to. Use ?expand=policy to inline the
|
|
170
|
+
* full policy object.
|
|
171
|
+
*
|
|
172
|
+
* Expandable field
|
|
173
|
+
*/
|
|
174
|
+
policy?: BreakTypeRetrieveResponse.Policy;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* The ID of the break policy this break type belongs to.
|
|
178
|
+
*/
|
|
179
|
+
policy_id?: string;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
export namespace BreakTypeRetrieveResponse {
|
|
183
|
+
/**
|
|
184
|
+
* The break policy this break type belongs to. Use ?expand=policy to inline the
|
|
185
|
+
* full policy object.
|
|
186
|
+
*
|
|
187
|
+
* Expandable field
|
|
188
|
+
*/
|
|
189
|
+
export interface Policy {
|
|
190
|
+
/**
|
|
191
|
+
* Identifier field
|
|
192
|
+
*/
|
|
193
|
+
id: string;
|
|
194
|
+
|
|
195
|
+
/**
|
|
196
|
+
* Record creation date
|
|
197
|
+
*/
|
|
198
|
+
created_at: string;
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* The display name of the break policy. For default policies this is the
|
|
202
|
+
* system-generated label (e.g. 'Default Break policy: All Workers | California');
|
|
203
|
+
* for custom policies this is the admin-provided description.
|
|
204
|
+
*/
|
|
205
|
+
name: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Record update date
|
|
209
|
+
*/
|
|
210
|
+
updated_at: string;
|
|
211
|
+
|
|
212
|
+
/**
|
|
213
|
+
* ISO 3166-1 alpha-2 country code the policy applies to (e.g. 'US', 'CA', 'GB').
|
|
214
|
+
*/
|
|
215
|
+
country_code?: string;
|
|
216
|
+
|
|
217
|
+
/**
|
|
218
|
+
* Whether this is a system-seeded default policy (true) or a custom policy created
|
|
219
|
+
* by an admin (false).
|
|
220
|
+
*/
|
|
221
|
+
is_default?: boolean;
|
|
222
|
+
}
|
|
105
223
|
}
|
|
106
224
|
|
|
107
225
|
export interface BreakTypeListParams {
|
|
108
226
|
cursor?: string;
|
|
109
227
|
|
|
228
|
+
expand?: string;
|
|
229
|
+
|
|
230
|
+
filter?: string;
|
|
231
|
+
|
|
110
232
|
order_by?: string;
|
|
111
233
|
}
|
|
112
234
|
|
|
235
|
+
export interface BreakTypeRetrieveParams {
|
|
236
|
+
expand?: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
113
239
|
export declare namespace BreakTypes {
|
|
114
240
|
export {
|
|
115
241
|
type BreakTypeListResponse as BreakTypeListResponse,
|
|
116
242
|
type BreakTypeRetrieveResponse as BreakTypeRetrieveResponse,
|
|
117
243
|
type BreakTypeListResponsesPageCursorURL as BreakTypeListResponsesPageCursorURL,
|
|
118
244
|
type BreakTypeListParams as BreakTypeListParams,
|
|
245
|
+
type BreakTypeRetrieveParams as BreakTypeRetrieveParams,
|
|
119
246
|
};
|
|
120
247
|
}
|
|
@@ -17,7 +17,7 @@ export class CandidateApplications extends APIResource {
|
|
|
17
17
|
* - Sortable fields: `id`, `created_at`, `updated_at`
|
|
18
18
|
*/
|
|
19
19
|
list(
|
|
20
|
-
query: CandidateApplicationListParams
|
|
20
|
+
query: CandidateApplicationListParams,
|
|
21
21
|
options?: RequestOptions,
|
|
22
22
|
): PagePromise<CandidateApplicationListResponsesPageCursorURL, CandidateApplicationListResponse> {
|
|
23
23
|
return this._client.getAPIList(
|
|
@@ -80,6 +80,11 @@ export interface CandidateApplicationListResponse {
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
export interface CandidateApplicationListParams {
|
|
83
|
+
/**
|
|
84
|
+
* The unique identifier of the candidate whose applications to list.
|
|
85
|
+
*/
|
|
86
|
+
candidate_id: string;
|
|
87
|
+
|
|
83
88
|
cursor?: string;
|
|
84
89
|
|
|
85
90
|
expand?: string;
|
|
@@ -34,7 +34,8 @@ export interface EmployeeDocumentCreateResponse {
|
|
|
34
34
|
created_at: string;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
* List of role/document items to process.
|
|
37
|
+
* List of role/document items to process. No limit on number of items; total
|
|
38
|
+
* documents across all items must not exceed 250.
|
|
38
39
|
*/
|
|
39
40
|
items: Array<EmployeeDocumentCreateResponse.Item>;
|
|
40
41
|
|
|
@@ -50,7 +51,7 @@ export namespace EmployeeDocumentCreateResponse {
|
|
|
50
51
|
*/
|
|
51
52
|
export interface Item {
|
|
52
53
|
/**
|
|
53
|
-
* Documents to attach to the role.
|
|
54
|
+
* Documents to attach to the role. At least one required. Each entry references a
|
|
54
55
|
* FileUploadTracker by file_id.
|
|
55
56
|
*/
|
|
56
57
|
documents: Array<Item.Document>;
|
|
@@ -59,6 +60,24 @@ export namespace EmployeeDocumentCreateResponse {
|
|
|
59
60
|
* Id of the worker to attach documents to.
|
|
60
61
|
*/
|
|
61
62
|
worker_id: string;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Optional ObjectId of the destination sub-folder on the worker's documents
|
|
66
|
+
* profile. When omitted, documents land at the root of the worker's profile
|
|
67
|
+
* (current default behavior). When supplied, the folder must exist, be in an
|
|
68
|
+
* active state, be provisioned for the target worker, and the caller must have
|
|
69
|
+
* UPLOAD permission on it — otherwise behavior is governed by `on_invalid_folder`.
|
|
70
|
+
*/
|
|
71
|
+
folder_id?: string;
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Fallback behavior when `folder_id` is supplied but inaccessible. 'fail'
|
|
75
|
+
* (default) rejects each affected document with FOLDER_ACCESS_ERROR.
|
|
76
|
+
* 'fallback_to_root' uploads to the worker's root profile instead and attaches a
|
|
77
|
+
* FOLDER_ACCESS_FALLBACK warning to each result. Ignored when `folder_id` is
|
|
78
|
+
* omitted.
|
|
79
|
+
*/
|
|
80
|
+
on_invalid_folder?: 'fail' | 'fallback_to_root';
|
|
62
81
|
}
|
|
63
82
|
|
|
64
83
|
export namespace Item {
|
|
@@ -87,7 +106,8 @@ export namespace EmployeeDocumentCreateResponse {
|
|
|
87
106
|
|
|
88
107
|
export interface EmployeeDocumentCreateParams {
|
|
89
108
|
/**
|
|
90
|
-
* List of role/document items to process.
|
|
109
|
+
* List of role/document items to process. No limit on number of items; total
|
|
110
|
+
* documents across all items must not exceed 250.
|
|
91
111
|
*/
|
|
92
112
|
items: Array<EmployeeDocumentCreateParams.Item>;
|
|
93
113
|
}
|
|
@@ -98,7 +118,7 @@ export namespace EmployeeDocumentCreateParams {
|
|
|
98
118
|
*/
|
|
99
119
|
export interface Item {
|
|
100
120
|
/**
|
|
101
|
-
* Documents to attach to the role.
|
|
121
|
+
* Documents to attach to the role. At least one required. Each entry references a
|
|
102
122
|
* FileUploadTracker by file_id.
|
|
103
123
|
*/
|
|
104
124
|
documents: Array<Item.Document>;
|
|
@@ -107,6 +127,24 @@ export namespace EmployeeDocumentCreateParams {
|
|
|
107
127
|
* Id of the worker to attach documents to.
|
|
108
128
|
*/
|
|
109
129
|
worker_id: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* Optional ObjectId of the destination sub-folder on the worker's documents
|
|
133
|
+
* profile. When omitted, documents land at the root of the worker's profile
|
|
134
|
+
* (current default behavior). When supplied, the folder must exist, be in an
|
|
135
|
+
* active state, be provisioned for the target worker, and the caller must have
|
|
136
|
+
* UPLOAD permission on it — otherwise behavior is governed by `on_invalid_folder`.
|
|
137
|
+
*/
|
|
138
|
+
folder_id?: string;
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Fallback behavior when `folder_id` is supplied but inaccessible. 'fail'
|
|
142
|
+
* (default) rejects each affected document with FOLDER_ACCESS_ERROR.
|
|
143
|
+
* 'fallback_to_root' uploads to the worker's root profile instead and attaches a
|
|
144
|
+
* FOLDER_ACCESS_FALLBACK warning to each result. Ignored when `folder_id` is
|
|
145
|
+
* omitted.
|
|
146
|
+
*/
|
|
147
|
+
on_invalid_folder?: 'fail' | 'fallback_to_root';
|
|
110
148
|
}
|
|
111
149
|
|
|
112
150
|
export namespace Item {
|
package/src/resources/index.ts
CHANGED
|
@@ -1,11 +1,19 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
3
|
export * from './shared';
|
|
4
|
+
export {
|
|
5
|
+
BreakPolicies,
|
|
6
|
+
type BreakPolicyListResponse,
|
|
7
|
+
type BreakPolicyRetrieveResponse,
|
|
8
|
+
type BreakPolicyListParams,
|
|
9
|
+
type BreakPolicyListResponsesPageCursorURL,
|
|
10
|
+
} from './break-policies';
|
|
4
11
|
export {
|
|
5
12
|
BreakTypes,
|
|
6
13
|
type BreakTypeListResponse,
|
|
7
14
|
type BreakTypeRetrieveResponse,
|
|
8
15
|
type BreakTypeListParams,
|
|
16
|
+
type BreakTypeRetrieveParams,
|
|
9
17
|
type BreakTypeListResponsesPageCursorURL,
|
|
10
18
|
} from './break-types';
|
|
11
19
|
export {
|
|
@@ -189,6 +197,7 @@ export {
|
|
|
189
197
|
type JobAssignmentCreateParams,
|
|
190
198
|
type JobAssignmentRetrieveParams,
|
|
191
199
|
type JobAssignmentUpdateParams,
|
|
200
|
+
type JobAssignmentDeleteParams,
|
|
192
201
|
type JobAssignmentListChangeLogParams,
|
|
193
202
|
type AttributeChangeDetailsPageCursorURL,
|
|
194
203
|
type JobAssignmentsPageCursorURL,
|
|
@@ -316,11 +325,6 @@ export {
|
|
|
316
325
|
type LocationFactorListParams,
|
|
317
326
|
type LocationFactorListResponsesPageCursorURL,
|
|
318
327
|
} from './location-factors';
|
|
319
|
-
export {
|
|
320
|
-
Metadata,
|
|
321
|
-
type MetadataListResponse,
|
|
322
|
-
type MetadataListResponsesPageCursorURL,
|
|
323
|
-
} from './metadata/metadata';
|
|
324
328
|
export {
|
|
325
329
|
ObjectCategories,
|
|
326
330
|
type ObjectCategory,
|
|
@@ -58,8 +58,13 @@ export class JobAssignments extends APIResource {
|
|
|
58
58
|
/**
|
|
59
59
|
* Delete a job assignment
|
|
60
60
|
*/
|
|
61
|
-
delete(
|
|
61
|
+
delete(
|
|
62
|
+
id: string,
|
|
63
|
+
body: JobAssignmentDeleteParams | null | undefined = {},
|
|
64
|
+
options?: RequestOptions,
|
|
65
|
+
): APIPromise<void> {
|
|
62
66
|
return this._client.delete(path`/job-assignments/${id}/`, {
|
|
67
|
+
body,
|
|
63
68
|
...options,
|
|
64
69
|
headers: buildHeaders([{ Accept: '*/*' }, options?.headers]),
|
|
65
70
|
});
|
|
@@ -321,6 +326,20 @@ export interface JobAssignmentUpdateParams {
|
|
|
321
326
|
job_pay_rate_effective_from?: string;
|
|
322
327
|
}
|
|
323
328
|
|
|
329
|
+
export interface JobAssignmentDeleteParams {
|
|
330
|
+
/**
|
|
331
|
+
* Reason recorded on the scheduled unassignment.
|
|
332
|
+
*/
|
|
333
|
+
change_reason?: string;
|
|
334
|
+
|
|
335
|
+
/**
|
|
336
|
+
* Date and time the unassignment becomes effective (ISO 8601 format, e.g.,
|
|
337
|
+
* 2025-11-07T17:00:00.000+00:00). When provided, schedules a future unassignment
|
|
338
|
+
* instead of deleting the job assignment immediately.
|
|
339
|
+
*/
|
|
340
|
+
effective_from?: string;
|
|
341
|
+
}
|
|
342
|
+
|
|
324
343
|
export interface JobAssignmentListChangeLogParams {
|
|
325
344
|
cursor?: string;
|
|
326
345
|
|
|
@@ -340,6 +359,7 @@ export declare namespace JobAssignments {
|
|
|
340
359
|
type JobAssignmentCreateParams as JobAssignmentCreateParams,
|
|
341
360
|
type JobAssignmentRetrieveParams as JobAssignmentRetrieveParams,
|
|
342
361
|
type JobAssignmentUpdateParams as JobAssignmentUpdateParams,
|
|
362
|
+
type JobAssignmentDeleteParams as JobAssignmentDeleteParams,
|
|
343
363
|
type JobAssignmentListChangeLogParams as JobAssignmentListChangeLogParams,
|
|
344
364
|
};
|
|
345
365
|
}
|
|
@@ -51,7 +51,7 @@ export type ScheduledJobAssignmentListResponsesPageCursorURL =
|
|
|
51
51
|
PageCursorURL<ScheduledJobAssignmentListResponse>;
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* Platform API DTO for a scheduled
|
|
54
|
+
* Platform API DTO for a scheduled job assignment or unassignment change.
|
|
55
55
|
*/
|
|
56
56
|
export interface ScheduledJobAssignmentListResponse {
|
|
57
57
|
/**
|
|
@@ -70,9 +70,9 @@ export interface ScheduledJobAssignmentListResponse {
|
|
|
70
70
|
updated_at: string;
|
|
71
71
|
|
|
72
72
|
/**
|
|
73
|
-
* Type of scheduled change:
|
|
73
|
+
* Type of scheduled change: ASSIGN or UNASSIGN.
|
|
74
74
|
*/
|
|
75
|
-
change_type?: '
|
|
75
|
+
change_type?: 'ASSIGN' | 'UNASSIGN';
|
|
76
76
|
|
|
77
77
|
/**
|
|
78
78
|
* The ID of the role that created this scheduled change.
|
|
@@ -85,12 +85,7 @@ export interface ScheduledJobAssignmentListResponse {
|
|
|
85
85
|
effective_from?: string;
|
|
86
86
|
|
|
87
87
|
/**
|
|
88
|
-
* The ID of the job
|
|
89
|
-
*/
|
|
90
|
-
job_assignment_id?: string;
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* The ID of the job code assigned.
|
|
88
|
+
* The ID of the job code.
|
|
94
89
|
*/
|
|
95
90
|
job_code_id?: string;
|
|
96
91
|
|
|
@@ -100,7 +95,7 @@ export interface ScheduledJobAssignmentListResponse {
|
|
|
100
95
|
job_code_name?: string;
|
|
101
96
|
|
|
102
97
|
/**
|
|
103
|
-
* The ID of the job dimension
|
|
98
|
+
* The ID of the job dimension.
|
|
104
99
|
*/
|
|
105
100
|
job_dimension_id?: string;
|
|
106
101
|
|
|
@@ -110,7 +105,7 @@ export interface ScheduledJobAssignmentListResponse {
|
|
|
110
105
|
job_dimension_name?: string;
|
|
111
106
|
|
|
112
107
|
/**
|
|
113
|
-
* New pay rate value, if the change
|
|
108
|
+
* New pay rate value, if the change includes a pay rate.
|
|
114
109
|
*/
|
|
115
110
|
pay_rate?: number;
|
|
116
111
|
|
|
@@ -120,7 +115,7 @@ export interface ScheduledJobAssignmentListResponse {
|
|
|
120
115
|
reason?: string;
|
|
121
116
|
|
|
122
117
|
/**
|
|
123
|
-
* The ID of the worker (role) the
|
|
118
|
+
* The ID of the worker (role) the scheduled changes target.
|
|
124
119
|
*/
|
|
125
120
|
worker_id?: string;
|
|
126
121
|
}
|
|
@@ -145,9 +140,9 @@ export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartners
|
|
|
145
140
|
updated_at: string;
|
|
146
141
|
|
|
147
142
|
/**
|
|
148
|
-
* Type of scheduled change:
|
|
143
|
+
* Type of scheduled change: ASSIGN or UNASSIGN.
|
|
149
144
|
*/
|
|
150
|
-
change_type?: '
|
|
145
|
+
change_type?: 'ASSIGN' | 'UNASSIGN';
|
|
151
146
|
|
|
152
147
|
/**
|
|
153
148
|
* The ID of the role that created this scheduled change.
|
|
@@ -160,12 +155,7 @@ export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartners
|
|
|
160
155
|
effective_from?: string;
|
|
161
156
|
|
|
162
157
|
/**
|
|
163
|
-
* The ID of the job
|
|
164
|
-
*/
|
|
165
|
-
job_assignment_id?: string;
|
|
166
|
-
|
|
167
|
-
/**
|
|
168
|
-
* The ID of the job code assigned.
|
|
158
|
+
* The ID of the job code.
|
|
169
159
|
*/
|
|
170
160
|
job_code_id?: string;
|
|
171
161
|
|
|
@@ -175,7 +165,7 @@ export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartners
|
|
|
175
165
|
job_code_name?: string;
|
|
176
166
|
|
|
177
167
|
/**
|
|
178
|
-
* The ID of the job dimension
|
|
168
|
+
* The ID of the job dimension.
|
|
179
169
|
*/
|
|
180
170
|
job_dimension_id?: string;
|
|
181
171
|
|
|
@@ -185,7 +175,7 @@ export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartners
|
|
|
185
175
|
job_dimension_name?: string;
|
|
186
176
|
|
|
187
177
|
/**
|
|
188
|
-
* New pay rate value, if the change
|
|
178
|
+
* New pay rate value, if the change includes a pay rate.
|
|
189
179
|
*/
|
|
190
180
|
pay_rate?: number;
|
|
191
181
|
|
|
@@ -195,7 +185,7 @@ export interface ScheduledJobAssignmentRetrieveResponse extends BusinessPartners
|
|
|
195
185
|
reason?: string;
|
|
196
186
|
|
|
197
187
|
/**
|
|
198
|
-
* The ID of the worker (role) the
|
|
188
|
+
* The ID of the worker (role) the scheduled changes target.
|
|
199
189
|
*/
|
|
200
190
|
worker_id?: string;
|
|
201
191
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.58'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.58";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.2.0-alpha.
|
|
1
|
+
export declare const VERSION = "0.2.0-alpha.58";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.VERSION = void 0;
|
|
4
|
-
exports.VERSION = '0.2.0-alpha.
|
|
4
|
+
exports.VERSION = '0.2.0-alpha.58'; // x-release-please-version
|
|
5
5
|
//# sourceMappingURL=version.js.map
|
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.2.0-alpha.
|
|
1
|
+
export const VERSION = '0.2.0-alpha.58'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
2
|
-
import { PageCursorURL, PagePromise } from "../../core/pagination.mjs";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class Components extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* A list of metadata components.
|
|
10
|
-
*
|
|
11
|
-
* - Requires: `Metadata Platform API`
|
|
12
|
-
*/
|
|
13
|
-
list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse>;
|
|
14
|
-
}
|
|
15
|
-
export type ComponentListResponsesPageCursorURL = PageCursorURL<ComponentListResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Base DTO model shared across metadata endpoints.
|
|
18
|
-
*/
|
|
19
|
-
export interface ComponentListResponse {
|
|
20
|
-
/**
|
|
21
|
-
* Status of the operation
|
|
22
|
-
*/
|
|
23
|
-
status?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace Components {
|
|
26
|
-
export { type ComponentListResponse as ComponentListResponse, type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL, };
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=components.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/components.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,kCAA8B;AACnE,OAAO,EAAE,cAAc,EAAE,2CAAuC;AAEhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,mCAAmC,EAAE,qBAAqB,CAAC;CAGxG;AAED,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAEvF;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { APIResource } from "../../core/resource.js";
|
|
2
|
-
import { PageCursorURL, PagePromise } from "../../core/pagination.js";
|
|
3
|
-
import { RequestOptions } from "../../internal/request-options.js";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export declare class Components extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* A list of metadata components.
|
|
10
|
-
*
|
|
11
|
-
* - Requires: `Metadata Platform API`
|
|
12
|
-
*/
|
|
13
|
-
list(options?: RequestOptions): PagePromise<ComponentListResponsesPageCursorURL, ComponentListResponse>;
|
|
14
|
-
}
|
|
15
|
-
export type ComponentListResponsesPageCursorURL = PageCursorURL<ComponentListResponse>;
|
|
16
|
-
/**
|
|
17
|
-
* Base DTO model shared across metadata endpoints.
|
|
18
|
-
*/
|
|
19
|
-
export interface ComponentListResponse {
|
|
20
|
-
/**
|
|
21
|
-
* Status of the operation
|
|
22
|
-
*/
|
|
23
|
-
status?: string;
|
|
24
|
-
}
|
|
25
|
-
export declare namespace Components {
|
|
26
|
-
export { type ComponentListResponse as ComponentListResponse, type ComponentListResponsesPageCursorURL as ComponentListResponsesPageCursorURL, };
|
|
27
|
-
}
|
|
28
|
-
//# sourceMappingURL=components.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/components.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,+BAA4B;AAClD,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,iCAA8B;AACnE,OAAO,EAAE,cAAc,EAAE,0CAAuC;AAEhE;;GAEG;AACH,qBAAa,UAAW,SAAQ,WAAW;IACzC;;;;OAIG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,cAAc,GAAG,WAAW,CAAC,mCAAmC,EAAE,qBAAqB,CAAC;CAGxG;AAED,MAAM,MAAM,mCAAmC,GAAG,aAAa,CAAC,qBAAqB,CAAC,CAAC;AAEvF;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,CAAC,OAAO,WAAW,UAAU,CAAC;IAClC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,mCAAmC,IAAI,mCAAmC,GAChF,CAAC;CACH"}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Components = void 0;
|
|
5
|
-
const resource_1 = require("../../core/resource.js");
|
|
6
|
-
const pagination_1 = require("../../core/pagination.js");
|
|
7
|
-
/**
|
|
8
|
-
* Custom objects defined by the company
|
|
9
|
-
*/
|
|
10
|
-
class Components extends resource_1.APIResource {
|
|
11
|
-
/**
|
|
12
|
-
* A list of metadata components.
|
|
13
|
-
*
|
|
14
|
-
* - Requires: `Metadata Platform API`
|
|
15
|
-
*/
|
|
16
|
-
list(options) {
|
|
17
|
-
return this._client.getAPIList('/metadata/components/', (pagination_1.PageCursorURL), options);
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
exports.Components = Components;
|
|
21
|
-
//# sourceMappingURL=components.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.js","sourceRoot":"","sources":["../../src/resources/metadata/components.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,qDAAkD;AAClD,yDAAmE;AAGnE;;GAEG;AACH,MAAa,UAAW,SAAQ,sBAAW;IACzC;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,0BAAoC,CAAA,EAAE,OAAO,CAAC,CAAC;IACzG,CAAC;CACF;AATD,gCASC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "../../core/resource.mjs";
|
|
3
|
-
import { PageCursorURL } from "../../core/pagination.mjs";
|
|
4
|
-
/**
|
|
5
|
-
* Custom objects defined by the company
|
|
6
|
-
*/
|
|
7
|
-
export class Components extends APIResource {
|
|
8
|
-
/**
|
|
9
|
-
* A list of metadata components.
|
|
10
|
-
*
|
|
11
|
-
* - Requires: `Metadata Platform API`
|
|
12
|
-
*/
|
|
13
|
-
list(options) {
|
|
14
|
-
return this._client.getAPIList('/metadata/components/', (PageCursorURL), options);
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=components.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"components.mjs","sourceRoot":"","sources":["../../src/resources/metadata/components.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EAAE,WAAW,EAAE,gCAA4B;AAClD,OAAO,EAAE,aAAa,EAAe,kCAA8B;AAGnE;;GAEG;AACH,MAAM,OAAO,UAAW,SAAQ,WAAW;IACzC;;;;OAIG;IACH,IAAI,CAAC,OAAwB;QAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,CAAA,aAAoC,CAAA,EAAE,OAAO,CAAC,CAAC;IACzG,CAAC;CACF"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { Components, type ComponentListResponse, type ComponentListResponsesPageCursorURL, } from "./components.mjs";
|
|
2
|
-
export { Metadata, type MetadataListResponse, type MetadataListResponsesPageCursorURL } from "./metadata.mjs";
|
|
3
|
-
export { Summary, type SummaryListResponse, type SummaryListResponsesPageCursorURL } from "./summary.mjs";
|
|
4
|
-
export { Types, type TypeListResponse, type TypeListResponsesPageCursorURL } from "./types.mjs";
|
|
5
|
-
//# sourceMappingURL=index.d.mts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,GACzC,yBAAqB;AACtB,OAAO,EAAE,QAAQ,EAAE,KAAK,oBAAoB,EAAE,KAAK,kCAAkC,EAAE,uBAAmB;AAC1G,OAAO,EAAE,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,iCAAiC,EAAE,sBAAkB;AACtG,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,8BAA8B,EAAE,oBAAgB"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export { Components, type ComponentListResponse, type ComponentListResponsesPageCursorURL, } from "./components.js";
|
|
2
|
-
export { Metadata, type MetadataListResponse, type MetadataListResponsesPageCursorURL } from "./metadata.js";
|
|
3
|
-
export { Summary, type SummaryListResponse, type SummaryListResponsesPageCursorURL } from "./summary.js";
|
|
4
|
-
export { Types, type TypeListResponse, type TypeListResponsesPageCursorURL } from "./types.js";
|
|
5
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,KAAK,qBAAqB,EAC1B,KAAK,mCAAmC,GACzC,wBAAqB;AACtB,OAAO,EAAE,QAAQ,EAAE,KAAK,oBAAoB,EAAE,KAAK,kCAAkC,EAAE,sBAAmB;AAC1G,OAAO,EAAE,OAAO,EAAE,KAAK,mBAAmB,EAAE,KAAK,iCAAiC,EAAE,qBAAkB;AACtG,OAAO,EAAE,KAAK,EAAE,KAAK,gBAAgB,EAAE,KAAK,8BAA8B,EAAE,mBAAgB"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
3
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
-
exports.Types = exports.Summary = exports.Metadata = exports.Components = void 0;
|
|
5
|
-
var components_1 = require("./components.js");
|
|
6
|
-
Object.defineProperty(exports, "Components", { enumerable: true, get: function () { return components_1.Components; } });
|
|
7
|
-
var metadata_1 = require("./metadata.js");
|
|
8
|
-
Object.defineProperty(exports, "Metadata", { enumerable: true, get: function () { return metadata_1.Metadata; } });
|
|
9
|
-
var summary_1 = require("./summary.js");
|
|
10
|
-
Object.defineProperty(exports, "Summary", { enumerable: true, get: function () { return summary_1.Summary; } });
|
|
11
|
-
var types_1 = require("./types.js");
|
|
12
|
-
Object.defineProperty(exports, "Types", { enumerable: true, get: function () { return types_1.Types; } });
|
|
13
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,8CAIsB;AAHpB,wGAAA,UAAU,OAAA;AAIZ,0CAA0G;AAAjG,oGAAA,QAAQ,OAAA;AACjB,wCAAsG;AAA7F,kGAAA,OAAO,OAAA;AAChB,oCAA4F;AAAnF,8FAAA,KAAK,OAAA"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
export { Components, } from "./components.mjs";
|
|
3
|
-
export { Metadata } from "./metadata.mjs";
|
|
4
|
-
export { Summary } from "./summary.mjs";
|
|
5
|
-
export { Types } from "./types.mjs";
|
|
6
|
-
//# sourceMappingURL=index.mjs.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.mjs","sourceRoot":"","sources":["../../src/resources/metadata/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;AAEtF,OAAO,EACL,UAAU,GAGX,yBAAqB;AACtB,OAAO,EAAE,QAAQ,EAAsE,uBAAmB;AAC1G,OAAO,EAAE,OAAO,EAAoE,sBAAkB;AACtG,OAAO,EAAE,KAAK,EAA8D,oBAAgB"}
|