@rippling/rippling-sdk 0.2.0-alpha.96 → 0.2.0-alpha.98
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 +37 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +37 -4
- package/client.d.ts.map +1 -1
- package/client.js +33 -0
- package/client.js.map +1 -1
- package/client.mjs +34 -1
- package/client.mjs.map +1 -1
- package/package.json +2 -1
- package/resources/draft-transitions.d.mts +474 -0
- package/resources/draft-transitions.d.mts.map +1 -0
- package/resources/draft-transitions.d.ts +474 -0
- package/resources/draft-transitions.d.ts.map +1 -0
- package/resources/draft-transitions.js +25 -0
- package/resources/draft-transitions.js.map +1 -0
- package/resources/draft-transitions.mjs +21 -0
- package/resources/draft-transitions.mjs.map +1 -0
- package/resources/index.d.mts +7 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +7 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +12 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +6 -1
- package/resources/index.mjs.map +1 -1
- package/resources/metadata/index.d.mts +1 -1
- package/resources/metadata/index.d.mts.map +1 -1
- package/resources/metadata/index.d.ts +1 -1
- package/resources/metadata/index.d.ts.map +1 -1
- package/resources/metadata/index.js.map +1 -1
- package/resources/metadata/index.mjs +1 -1
- package/resources/metadata/index.mjs.map +1 -1
- package/resources/metadata/metadata.d.mts +47 -1
- package/resources/metadata/metadata.d.mts.map +1 -1
- package/resources/metadata/metadata.d.ts +47 -1
- package/resources/metadata/metadata.d.ts.map +1 -1
- package/resources/metadata/metadata.js +15 -0
- package/resources/metadata/metadata.js.map +1 -1
- package/resources/metadata/metadata.mjs +15 -0
- package/resources/metadata/metadata.mjs.map +1 -1
- package/resources/package-managed-installs.d.mts +119 -0
- package/resources/package-managed-installs.d.mts.map +1 -0
- package/resources/package-managed-installs.d.ts +119 -0
- package/resources/package-managed-installs.d.ts.map +1 -0
- package/resources/package-managed-installs.js +26 -0
- package/resources/package-managed-installs.js.map +1 -0
- package/resources/package-managed-installs.mjs +22 -0
- package/resources/package-managed-installs.mjs.map +1 -0
- package/resources/sandboxes.d.mts +224 -1
- package/resources/sandboxes.d.mts.map +1 -1
- package/resources/sandboxes.d.ts +224 -1
- package/resources/sandboxes.d.ts.map +1 -1
- package/resources/sandboxes.js +6 -0
- package/resources/sandboxes.js.map +1 -1
- package/resources/sandboxes.mjs +6 -0
- package/resources/sandboxes.mjs.map +1 -1
- package/resources/sites.d.mts +3 -0
- package/resources/sites.d.mts.map +1 -1
- package/resources/sites.d.ts +3 -0
- package/resources/sites.d.ts.map +1 -1
- package/resources/sites.js +3 -0
- package/resources/sites.js.map +1 -1
- package/resources/sites.mjs +3 -0
- package/resources/sites.mjs.map +1 -1
- package/resources/variable-compensation-payout-labels.d.mts +155 -0
- package/resources/variable-compensation-payout-labels.d.mts.map +1 -0
- package/resources/variable-compensation-payout-labels.d.ts +155 -0
- package/resources/variable-compensation-payout-labels.d.ts.map +1 -0
- package/resources/variable-compensation-payout-labels.js +41 -0
- package/resources/variable-compensation-payout-labels.js.map +1 -0
- package/resources/variable-compensation-payout-labels.mjs +37 -0
- package/resources/variable-compensation-payout-labels.mjs.map +1 -0
- package/resources/variable-compensation-payout-types.d.mts +334 -0
- package/resources/variable-compensation-payout-types.d.mts.map +1 -0
- package/resources/variable-compensation-payout-types.d.ts +334 -0
- package/resources/variable-compensation-payout-types.d.ts.map +1 -0
- package/resources/variable-compensation-payout-types.js +52 -0
- package/resources/variable-compensation-payout-types.js.map +1 -0
- package/resources/variable-compensation-payout-types.mjs +48 -0
- package/resources/variable-compensation-payout-types.mjs.map +1 -0
- package/resources/variable-compensation-payout-writes.d.mts +6 -17
- package/resources/variable-compensation-payout-writes.d.mts.map +1 -1
- package/resources/variable-compensation-payout-writes.d.ts +6 -17
- package/resources/variable-compensation-payout-writes.d.ts.map +1 -1
- package/resources/variable-compensation-payout-writes.js +2 -1
- package/resources/variable-compensation-payout-writes.js.map +1 -1
- package/resources/variable-compensation-payout-writes.mjs +2 -1
- package/resources/variable-compensation-payout-writes.mjs.map +1 -1
- package/resources/variable-compensation-payouts.d.mts +501 -0
- package/resources/variable-compensation-payouts.d.mts.map +1 -0
- package/resources/variable-compensation-payouts.d.ts +501 -0
- package/resources/variable-compensation-payouts.d.ts.map +1 -0
- package/resources/variable-compensation-payouts.js +41 -0
- package/resources/variable-compensation-payouts.js.map +1 -0
- package/resources/variable-compensation-payouts.mjs +37 -0
- package/resources/variable-compensation-payouts.mjs.map +1 -0
- package/src/client.ts +130 -1
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/index.ts +50 -1
- package/src/resources/metadata/index.ts +7 -1
- package/src/resources/metadata/metadata.ts +54 -0
- package/src/resources/package-managed-installs.ts +156 -0
- package/src/resources/sandboxes.ts +265 -0
- package/src/resources/sites.ts +3 -0
- package/src/resources/variable-compensation-payout-labels.ts +227 -0
- package/src/resources/variable-compensation-payout-types.ts +440 -0
- package/src/resources/variable-compensation-payout-writes.ts +6 -20
- package/src/resources/variable-compensation-payouts.ts +702 -0
- 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
|
@@ -0,0 +1,583 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import * as BusinessPartnersAPI from './business-partners';
|
|
5
|
+
import { APIPromise } from '../core/api-promise';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Proposed changes to existing workers that can be reviewed in Rippling
|
|
11
|
+
*/
|
|
12
|
+
export class DraftTransitions extends APIResource {
|
|
13
|
+
/**
|
|
14
|
+
* Retrieve a specific draft transition
|
|
15
|
+
*/
|
|
16
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<DraftTransitionRetrieveResponse> {
|
|
17
|
+
return this._client.get(path`/draft-transitions/${id}/`, options);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* Create a new draft transition
|
|
22
|
+
*/
|
|
23
|
+
create(
|
|
24
|
+
body: DraftTransitionCreateParams,
|
|
25
|
+
options?: RequestOptions,
|
|
26
|
+
): APIPromise<DraftTransitionCreateResponse> {
|
|
27
|
+
return this._client.post('/draft-transitions/', { body, ...options });
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Meta information for the response.
|
|
33
|
+
*/
|
|
34
|
+
export interface DraftTransitionRetrieveResponse extends BusinessPartnersAPI.Meta {
|
|
35
|
+
/**
|
|
36
|
+
* Effective timestamp applied to the entire draft transition request.
|
|
37
|
+
*/
|
|
38
|
+
effective_at: string;
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Draft transition items to accept for asynchronous processing.
|
|
42
|
+
*/
|
|
43
|
+
items: Array<DraftTransitionRetrieveResponse.Item>;
|
|
44
|
+
|
|
45
|
+
/**
|
|
46
|
+
* IANA timezone used to interpret and display the request's effective timestamp.
|
|
47
|
+
*/
|
|
48
|
+
timezone: string;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
export namespace DraftTransitionRetrieveResponse {
|
|
52
|
+
export interface Item {
|
|
53
|
+
/**
|
|
54
|
+
* Requested role/profile changes for this item.
|
|
55
|
+
*/
|
|
56
|
+
changes: Item.Changes;
|
|
57
|
+
|
|
58
|
+
/**
|
|
59
|
+
* Target role identifier for this draft transition item.
|
|
60
|
+
*/
|
|
61
|
+
role_id: string;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Controls whether this item should append to a compatible existing draft or
|
|
65
|
+
* create a new draft.
|
|
66
|
+
*/
|
|
67
|
+
draft_grouping_preference?: 'APPEND_TO_MATCHING_DRAFT' | 'CREATE_NEW_DRAFT';
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
export namespace Item {
|
|
71
|
+
/**
|
|
72
|
+
* Requested role/profile changes for this item.
|
|
73
|
+
*/
|
|
74
|
+
export interface Changes {
|
|
75
|
+
/**
|
|
76
|
+
* Country-specific field changes supported by current draft transition flows.
|
|
77
|
+
*/
|
|
78
|
+
country_specific_info?: unknown;
|
|
79
|
+
|
|
80
|
+
/**
|
|
81
|
+
* Employment information changes for the target role.
|
|
82
|
+
*/
|
|
83
|
+
employment_info?: Changes.EmploymentInfo;
|
|
84
|
+
|
|
85
|
+
/**
|
|
86
|
+
* Work location changes for the target role.
|
|
87
|
+
*/
|
|
88
|
+
work_location_info?: Changes.WorkLocationInfo;
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
export namespace Changes {
|
|
92
|
+
/**
|
|
93
|
+
* Employment information changes for the target role.
|
|
94
|
+
*/
|
|
95
|
+
export interface EmploymentInfo {
|
|
96
|
+
/**
|
|
97
|
+
* New annual salary equivalent.
|
|
98
|
+
*/
|
|
99
|
+
annual_salary_equivalent?: number;
|
|
100
|
+
|
|
101
|
+
/**
|
|
102
|
+
* New compensation currency.
|
|
103
|
+
*/
|
|
104
|
+
currency?: string;
|
|
105
|
+
|
|
106
|
+
/**
|
|
107
|
+
* New department identifier for the target role.
|
|
108
|
+
*/
|
|
109
|
+
department_id?: string;
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* New company employment type identifier for the target role.
|
|
113
|
+
*/
|
|
114
|
+
employment_type_id?: string;
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* New offer letter equity share count.
|
|
118
|
+
*/
|
|
119
|
+
equity_num_shares?: number;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* New offer letter equity value.
|
|
123
|
+
*/
|
|
124
|
+
equity_value?: number;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* New equity vesting package identifier.
|
|
128
|
+
*/
|
|
129
|
+
equity_vesting_package_id?: string;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* New job family identifier for the target role.
|
|
133
|
+
*/
|
|
134
|
+
job_family_id?: string;
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* New level identifier for the target role.
|
|
138
|
+
*/
|
|
139
|
+
level_id?: string;
|
|
140
|
+
|
|
141
|
+
/**
|
|
142
|
+
* New manager role identifier for the target role.
|
|
143
|
+
*/
|
|
144
|
+
manager_id?: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* New annual on-target commission amount.
|
|
148
|
+
*/
|
|
149
|
+
on_target_commission?: number;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* New relocation reimbursement amount.
|
|
153
|
+
*/
|
|
154
|
+
relocation_reimbursement?: number;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* New compensation amount per salary unit.
|
|
158
|
+
*/
|
|
159
|
+
salary_per_unit?: number;
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* New salary unit.
|
|
163
|
+
*/
|
|
164
|
+
salary_unit?: string;
|
|
165
|
+
|
|
166
|
+
/**
|
|
167
|
+
* New start date for the target role.
|
|
168
|
+
*/
|
|
169
|
+
start_date?: string;
|
|
170
|
+
|
|
171
|
+
/**
|
|
172
|
+
* New target annual bonus amount.
|
|
173
|
+
*/
|
|
174
|
+
target_annual_bonus?: number;
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* New target annual bonus payment frequency.
|
|
178
|
+
*/
|
|
179
|
+
target_annual_bonus_payment_frequency_unit?: 'MONTH' | 'QUARTER' | 'YEAR' | 'SEMI_ANNUAL';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* New target annual bonus percentage.
|
|
183
|
+
*/
|
|
184
|
+
target_annual_bonus_percent?: number;
|
|
185
|
+
|
|
186
|
+
/**
|
|
187
|
+
* New team identifiers for the target role.
|
|
188
|
+
*/
|
|
189
|
+
teams_ids?: Array<string>;
|
|
190
|
+
|
|
191
|
+
/**
|
|
192
|
+
* New job title for the target role.
|
|
193
|
+
*/
|
|
194
|
+
title?: string;
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Work location changes for the target role.
|
|
199
|
+
*/
|
|
200
|
+
export interface WorkLocationInfo {
|
|
201
|
+
/**
|
|
202
|
+
* New work country code for the target role.
|
|
203
|
+
*/
|
|
204
|
+
country_code?: string;
|
|
205
|
+
|
|
206
|
+
/**
|
|
207
|
+
* New work location identifier for the target role.
|
|
208
|
+
*/
|
|
209
|
+
location_id?: string;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
export interface DraftTransitionCreateResponse {
|
|
216
|
+
/**
|
|
217
|
+
* Effective timestamp applied to the entire draft transition request.
|
|
218
|
+
*/
|
|
219
|
+
effective_at: string;
|
|
220
|
+
|
|
221
|
+
/**
|
|
222
|
+
* Draft transition items to accept for asynchronous processing.
|
|
223
|
+
*/
|
|
224
|
+
items: Array<DraftTransitionCreateResponse.Item>;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* IANA timezone used to interpret and display the request's effective timestamp.
|
|
228
|
+
*/
|
|
229
|
+
timezone: string;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
export namespace DraftTransitionCreateResponse {
|
|
233
|
+
export interface Item {
|
|
234
|
+
/**
|
|
235
|
+
* Requested role/profile changes for this item.
|
|
236
|
+
*/
|
|
237
|
+
changes: Item.Changes;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* Target role identifier for this draft transition item.
|
|
241
|
+
*/
|
|
242
|
+
role_id: string;
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* Controls whether this item should append to a compatible existing draft or
|
|
246
|
+
* create a new draft.
|
|
247
|
+
*/
|
|
248
|
+
draft_grouping_preference?: 'APPEND_TO_MATCHING_DRAFT' | 'CREATE_NEW_DRAFT';
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
export namespace Item {
|
|
252
|
+
/**
|
|
253
|
+
* Requested role/profile changes for this item.
|
|
254
|
+
*/
|
|
255
|
+
export interface Changes {
|
|
256
|
+
/**
|
|
257
|
+
* Country-specific field changes supported by current draft transition flows.
|
|
258
|
+
*/
|
|
259
|
+
country_specific_info?: unknown;
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Employment information changes for the target role.
|
|
263
|
+
*/
|
|
264
|
+
employment_info?: Changes.EmploymentInfo;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* Work location changes for the target role.
|
|
268
|
+
*/
|
|
269
|
+
work_location_info?: Changes.WorkLocationInfo;
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
export namespace Changes {
|
|
273
|
+
/**
|
|
274
|
+
* Employment information changes for the target role.
|
|
275
|
+
*/
|
|
276
|
+
export interface EmploymentInfo {
|
|
277
|
+
/**
|
|
278
|
+
* New annual salary equivalent.
|
|
279
|
+
*/
|
|
280
|
+
annual_salary_equivalent?: number;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* New compensation currency.
|
|
284
|
+
*/
|
|
285
|
+
currency?: string;
|
|
286
|
+
|
|
287
|
+
/**
|
|
288
|
+
* New department identifier for the target role.
|
|
289
|
+
*/
|
|
290
|
+
department_id?: string;
|
|
291
|
+
|
|
292
|
+
/**
|
|
293
|
+
* New company employment type identifier for the target role.
|
|
294
|
+
*/
|
|
295
|
+
employment_type_id?: string;
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* New offer letter equity share count.
|
|
299
|
+
*/
|
|
300
|
+
equity_num_shares?: number;
|
|
301
|
+
|
|
302
|
+
/**
|
|
303
|
+
* New offer letter equity value.
|
|
304
|
+
*/
|
|
305
|
+
equity_value?: number;
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* New equity vesting package identifier.
|
|
309
|
+
*/
|
|
310
|
+
equity_vesting_package_id?: string;
|
|
311
|
+
|
|
312
|
+
/**
|
|
313
|
+
* New job family identifier for the target role.
|
|
314
|
+
*/
|
|
315
|
+
job_family_id?: string;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* New level identifier for the target role.
|
|
319
|
+
*/
|
|
320
|
+
level_id?: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* New manager role identifier for the target role.
|
|
324
|
+
*/
|
|
325
|
+
manager_id?: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* New annual on-target commission amount.
|
|
329
|
+
*/
|
|
330
|
+
on_target_commission?: number;
|
|
331
|
+
|
|
332
|
+
/**
|
|
333
|
+
* New relocation reimbursement amount.
|
|
334
|
+
*/
|
|
335
|
+
relocation_reimbursement?: number;
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* New compensation amount per salary unit.
|
|
339
|
+
*/
|
|
340
|
+
salary_per_unit?: number;
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* New salary unit.
|
|
344
|
+
*/
|
|
345
|
+
salary_unit?: string;
|
|
346
|
+
|
|
347
|
+
/**
|
|
348
|
+
* New start date for the target role.
|
|
349
|
+
*/
|
|
350
|
+
start_date?: string;
|
|
351
|
+
|
|
352
|
+
/**
|
|
353
|
+
* New target annual bonus amount.
|
|
354
|
+
*/
|
|
355
|
+
target_annual_bonus?: number;
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* New target annual bonus payment frequency.
|
|
359
|
+
*/
|
|
360
|
+
target_annual_bonus_payment_frequency_unit?: 'MONTH' | 'QUARTER' | 'YEAR' | 'SEMI_ANNUAL';
|
|
361
|
+
|
|
362
|
+
/**
|
|
363
|
+
* New target annual bonus percentage.
|
|
364
|
+
*/
|
|
365
|
+
target_annual_bonus_percent?: number;
|
|
366
|
+
|
|
367
|
+
/**
|
|
368
|
+
* New team identifiers for the target role.
|
|
369
|
+
*/
|
|
370
|
+
teams_ids?: Array<string>;
|
|
371
|
+
|
|
372
|
+
/**
|
|
373
|
+
* New job title for the target role.
|
|
374
|
+
*/
|
|
375
|
+
title?: string;
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
/**
|
|
379
|
+
* Work location changes for the target role.
|
|
380
|
+
*/
|
|
381
|
+
export interface WorkLocationInfo {
|
|
382
|
+
/**
|
|
383
|
+
* New work country code for the target role.
|
|
384
|
+
*/
|
|
385
|
+
country_code?: string;
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* New work location identifier for the target role.
|
|
389
|
+
*/
|
|
390
|
+
location_id?: string;
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
export interface DraftTransitionCreateParams {
|
|
397
|
+
/**
|
|
398
|
+
* Effective timestamp applied to the entire draft transition request.
|
|
399
|
+
*/
|
|
400
|
+
effective_at: string;
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Draft transition items to accept for asynchronous processing.
|
|
404
|
+
*/
|
|
405
|
+
items: Array<DraftTransitionCreateParams.Item>;
|
|
406
|
+
|
|
407
|
+
/**
|
|
408
|
+
* IANA timezone used to interpret and display the request's effective timestamp.
|
|
409
|
+
*/
|
|
410
|
+
timezone: string;
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
export namespace DraftTransitionCreateParams {
|
|
414
|
+
export interface Item {
|
|
415
|
+
/**
|
|
416
|
+
* Requested role/profile changes for this item.
|
|
417
|
+
*/
|
|
418
|
+
changes: Item.Changes;
|
|
419
|
+
|
|
420
|
+
/**
|
|
421
|
+
* Target role identifier for this draft transition item.
|
|
422
|
+
*/
|
|
423
|
+
role_id: string;
|
|
424
|
+
|
|
425
|
+
/**
|
|
426
|
+
* Controls whether this item should append to a compatible existing draft or
|
|
427
|
+
* create a new draft.
|
|
428
|
+
*/
|
|
429
|
+
draft_grouping_preference?: 'APPEND_TO_MATCHING_DRAFT' | 'CREATE_NEW_DRAFT';
|
|
430
|
+
}
|
|
431
|
+
|
|
432
|
+
export namespace Item {
|
|
433
|
+
/**
|
|
434
|
+
* Requested role/profile changes for this item.
|
|
435
|
+
*/
|
|
436
|
+
export interface Changes {
|
|
437
|
+
/**
|
|
438
|
+
* Country-specific field changes supported by current draft transition flows.
|
|
439
|
+
*/
|
|
440
|
+
country_specific_info?: unknown;
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* Employment information changes for the target role.
|
|
444
|
+
*/
|
|
445
|
+
employment_info?: Changes.EmploymentInfo;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* Work location changes for the target role.
|
|
449
|
+
*/
|
|
450
|
+
work_location_info?: Changes.WorkLocationInfo;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export namespace Changes {
|
|
454
|
+
/**
|
|
455
|
+
* Employment information changes for the target role.
|
|
456
|
+
*/
|
|
457
|
+
export interface EmploymentInfo {
|
|
458
|
+
/**
|
|
459
|
+
* New annual salary equivalent.
|
|
460
|
+
*/
|
|
461
|
+
annual_salary_equivalent?: number;
|
|
462
|
+
|
|
463
|
+
/**
|
|
464
|
+
* New compensation currency.
|
|
465
|
+
*/
|
|
466
|
+
currency?: string;
|
|
467
|
+
|
|
468
|
+
/**
|
|
469
|
+
* New department identifier for the target role.
|
|
470
|
+
*/
|
|
471
|
+
department_id?: string;
|
|
472
|
+
|
|
473
|
+
/**
|
|
474
|
+
* New company employment type identifier for the target role.
|
|
475
|
+
*/
|
|
476
|
+
employment_type_id?: string;
|
|
477
|
+
|
|
478
|
+
/**
|
|
479
|
+
* New offer letter equity share count.
|
|
480
|
+
*/
|
|
481
|
+
equity_num_shares?: number;
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* New offer letter equity value.
|
|
485
|
+
*/
|
|
486
|
+
equity_value?: number;
|
|
487
|
+
|
|
488
|
+
/**
|
|
489
|
+
* New equity vesting package identifier.
|
|
490
|
+
*/
|
|
491
|
+
equity_vesting_package_id?: string;
|
|
492
|
+
|
|
493
|
+
/**
|
|
494
|
+
* New job family identifier for the target role.
|
|
495
|
+
*/
|
|
496
|
+
job_family_id?: string;
|
|
497
|
+
|
|
498
|
+
/**
|
|
499
|
+
* New level identifier for the target role.
|
|
500
|
+
*/
|
|
501
|
+
level_id?: string;
|
|
502
|
+
|
|
503
|
+
/**
|
|
504
|
+
* New manager role identifier for the target role.
|
|
505
|
+
*/
|
|
506
|
+
manager_id?: string;
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* New annual on-target commission amount.
|
|
510
|
+
*/
|
|
511
|
+
on_target_commission?: number;
|
|
512
|
+
|
|
513
|
+
/**
|
|
514
|
+
* New relocation reimbursement amount.
|
|
515
|
+
*/
|
|
516
|
+
relocation_reimbursement?: number;
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* New compensation amount per salary unit.
|
|
520
|
+
*/
|
|
521
|
+
salary_per_unit?: number;
|
|
522
|
+
|
|
523
|
+
/**
|
|
524
|
+
* New salary unit.
|
|
525
|
+
*/
|
|
526
|
+
salary_unit?: string;
|
|
527
|
+
|
|
528
|
+
/**
|
|
529
|
+
* New start date for the target role.
|
|
530
|
+
*/
|
|
531
|
+
start_date?: string;
|
|
532
|
+
|
|
533
|
+
/**
|
|
534
|
+
* New target annual bonus amount.
|
|
535
|
+
*/
|
|
536
|
+
target_annual_bonus?: number;
|
|
537
|
+
|
|
538
|
+
/**
|
|
539
|
+
* New target annual bonus payment frequency.
|
|
540
|
+
*/
|
|
541
|
+
target_annual_bonus_payment_frequency_unit?: 'MONTH' | 'QUARTER' | 'YEAR' | 'SEMI_ANNUAL';
|
|
542
|
+
|
|
543
|
+
/**
|
|
544
|
+
* New target annual bonus percentage.
|
|
545
|
+
*/
|
|
546
|
+
target_annual_bonus_percent?: number;
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* New team identifiers for the target role.
|
|
550
|
+
*/
|
|
551
|
+
teams_ids?: Array<string>;
|
|
552
|
+
|
|
553
|
+
/**
|
|
554
|
+
* New job title for the target role.
|
|
555
|
+
*/
|
|
556
|
+
title?: string;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
/**
|
|
560
|
+
* Work location changes for the target role.
|
|
561
|
+
*/
|
|
562
|
+
export interface WorkLocationInfo {
|
|
563
|
+
/**
|
|
564
|
+
* New work country code for the target role.
|
|
565
|
+
*/
|
|
566
|
+
country_code?: string;
|
|
567
|
+
|
|
568
|
+
/**
|
|
569
|
+
* New work location identifier for the target role.
|
|
570
|
+
*/
|
|
571
|
+
location_id?: string;
|
|
572
|
+
}
|
|
573
|
+
}
|
|
574
|
+
}
|
|
575
|
+
}
|
|
576
|
+
|
|
577
|
+
export declare namespace DraftTransitions {
|
|
578
|
+
export {
|
|
579
|
+
type DraftTransitionRetrieveResponse as DraftTransitionRetrieveResponse,
|
|
580
|
+
type DraftTransitionCreateResponse as DraftTransitionCreateResponse,
|
|
581
|
+
type DraftTransitionCreateParams as DraftTransitionCreateParams,
|
|
582
|
+
};
|
|
583
|
+
}
|
package/src/resources/index.ts
CHANGED
|
@@ -203,6 +203,12 @@ export {
|
|
|
203
203
|
type DeviceListResponsesPageCursorURL,
|
|
204
204
|
} from './devices';
|
|
205
205
|
export { DraftHires, type DraftHireCreateResponse, type DraftHireCreateParams } from './draft-hires';
|
|
206
|
+
export {
|
|
207
|
+
DraftTransitions,
|
|
208
|
+
type DraftTransitionRetrieveResponse,
|
|
209
|
+
type DraftTransitionCreateResponse,
|
|
210
|
+
type DraftTransitionCreateParams,
|
|
211
|
+
} from './draft-transitions';
|
|
206
212
|
export {
|
|
207
213
|
EarningTypes,
|
|
208
214
|
type EarningTypeListResponse,
|
|
@@ -444,7 +450,13 @@ export {
|
|
|
444
450
|
type LocationFactorListParams,
|
|
445
451
|
type LocationFactorListResponsesPageCursorURL,
|
|
446
452
|
} from './location-factors';
|
|
447
|
-
export {
|
|
453
|
+
export {
|
|
454
|
+
Metadata,
|
|
455
|
+
type MetadataExtractResponse,
|
|
456
|
+
type MetadataExtractByIdentifiersResponse,
|
|
457
|
+
type MetadataExtractParams,
|
|
458
|
+
type MetadataExtractByIdentifiersParams,
|
|
459
|
+
} from './metadata/metadata';
|
|
448
460
|
export {
|
|
449
461
|
ObjectCategories,
|
|
450
462
|
type ObjectCategory,
|
|
@@ -459,6 +471,12 @@ export {
|
|
|
459
471
|
type PackageInstallRetrieveResponse,
|
|
460
472
|
type PackageInstallCreateParams,
|
|
461
473
|
} from './package-installs';
|
|
474
|
+
export {
|
|
475
|
+
PackageManagedInstalls,
|
|
476
|
+
type PackageManagedInstallCreateResponse,
|
|
477
|
+
type PackageManagedInstallRetrieveResponse,
|
|
478
|
+
type PackageManagedInstallCreateParams,
|
|
479
|
+
} from './package-managed-installs';
|
|
462
480
|
export {
|
|
463
481
|
PackageSandboxLinks,
|
|
464
482
|
type PackageSandboxLinkCreateResponse,
|
|
@@ -524,6 +542,7 @@ export {
|
|
|
524
542
|
Sandboxes,
|
|
525
543
|
type SandboxListResponse,
|
|
526
544
|
type SandboxCreateResponse,
|
|
545
|
+
type SandboxRetrieveResponse,
|
|
527
546
|
type SandboxDeveloperSandboxEntryRolesResponse,
|
|
528
547
|
type SandboxListParams,
|
|
529
548
|
type SandboxCreateParams,
|
|
@@ -692,11 +711,41 @@ export {
|
|
|
692
711
|
type UserListParams,
|
|
693
712
|
type UsersPageCursorURL,
|
|
694
713
|
} from './users';
|
|
714
|
+
export {
|
|
715
|
+
VariableCompensationPayoutLabels,
|
|
716
|
+
type VariableCompensationPayoutLabelListResponse,
|
|
717
|
+
type VariableCompensationPayoutLabelCreateResponse,
|
|
718
|
+
type VariableCompensationPayoutLabelRetrieveResponse,
|
|
719
|
+
type VariableCompensationPayoutLabelUpdateResponse,
|
|
720
|
+
type VariableCompensationPayoutLabelListParams,
|
|
721
|
+
type VariableCompensationPayoutLabelCreateParams,
|
|
722
|
+
type VariableCompensationPayoutLabelUpdateParams,
|
|
723
|
+
type VariableCompensationPayoutLabelListResponsesPageCursorURL,
|
|
724
|
+
} from './variable-compensation-payout-labels';
|
|
725
|
+
export {
|
|
726
|
+
VariableCompensationPayoutTypes,
|
|
727
|
+
type VariableCompensationPayoutTypeListResponse,
|
|
728
|
+
type VariableCompensationPayoutTypeCreateResponse,
|
|
729
|
+
type VariableCompensationPayoutTypeRetrieveResponse,
|
|
730
|
+
type VariableCompensationPayoutTypeUpdateResponse,
|
|
731
|
+
type VariableCompensationPayoutTypeCreateParams,
|
|
732
|
+
type VariableCompensationPayoutTypeUpdateParams,
|
|
733
|
+
type VariableCompensationPayoutTypeListResponsesPageCursorURL,
|
|
734
|
+
} from './variable-compensation-payout-types';
|
|
695
735
|
export {
|
|
696
736
|
VariableCompensationPayoutWrites,
|
|
697
737
|
type VariableCompensationPayoutWriteCreateResponse,
|
|
698
738
|
type VariableCompensationPayoutWriteCreateParams,
|
|
699
739
|
} from './variable-compensation-payout-writes';
|
|
740
|
+
export {
|
|
741
|
+
VariableCompensationPayouts,
|
|
742
|
+
type VariableCompensationPayoutListResponse,
|
|
743
|
+
type VariableCompensationPayoutCreateResponse,
|
|
744
|
+
type VariableCompensationPayoutRetrieveResponse,
|
|
745
|
+
type VariableCompensationPayoutListParams,
|
|
746
|
+
type VariableCompensationPayoutCreateParams,
|
|
747
|
+
type VariableCompensationPayoutListResponsesPageCursorURL,
|
|
748
|
+
} from './variable-compensation-payouts';
|
|
700
749
|
export {
|
|
701
750
|
WorkLocations,
|
|
702
751
|
type WorkLocation,
|
|
@@ -13,7 +13,13 @@ export {
|
|
|
13
13
|
type DeploymentRunGetResponse,
|
|
14
14
|
type DeploymentRunCreateParams,
|
|
15
15
|
} from './deployment-runs';
|
|
16
|
-
export {
|
|
16
|
+
export {
|
|
17
|
+
Metadata,
|
|
18
|
+
type MetadataExtractResponse,
|
|
19
|
+
type MetadataExtractByIdentifiersResponse,
|
|
20
|
+
type MetadataExtractParams,
|
|
21
|
+
type MetadataExtractByIdentifiersParams,
|
|
22
|
+
} from './metadata';
|
|
17
23
|
export { Schema, type SchemaGetResponse, type SchemaGetParams } from './schema';
|
|
18
24
|
export { Types, type TypeListResponse } from './types';
|
|
19
25
|
export {
|