@rippling/rippling-sdk 0.2.0-alpha.96 → 0.2.0-alpha.97
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 +12 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +12 -0
- package/client.d.ts.map +1 -1
- package/client.js +12 -0
- package/client.js.map +1 -1
- package/client.mjs +12 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -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 +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +6 -2
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.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/src/client.ts +36 -0
- package/src/resources/draft-transitions.ts +583 -0
- package/src/resources/index.ts +12 -0
- package/src/resources/package-managed-installs.ts +156 -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,
|
|
@@ -459,6 +465,12 @@ export {
|
|
|
459
465
|
type PackageInstallRetrieveResponse,
|
|
460
466
|
type PackageInstallCreateParams,
|
|
461
467
|
} from './package-installs';
|
|
468
|
+
export {
|
|
469
|
+
PackageManagedInstalls,
|
|
470
|
+
type PackageManagedInstallCreateResponse,
|
|
471
|
+
type PackageManagedInstallRetrieveResponse,
|
|
472
|
+
type PackageManagedInstallCreateParams,
|
|
473
|
+
} from './package-managed-installs';
|
|
462
474
|
export {
|
|
463
475
|
PackageSandboxLinks,
|
|
464
476
|
type PackageSandboxLinkCreateResponse,
|