@rippling/rippling-sdk 0.2.0-alpha.61 → 0.2.0-alpha.63

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.
Files changed (85) hide show
  1. package/client.d.mts +18 -0
  2. package/client.d.mts.map +1 -1
  3. package/client.d.ts +18 -0
  4. package/client.d.ts.map +1 -1
  5. package/client.js +18 -0
  6. package/client.js.map +1 -1
  7. package/client.mjs +18 -0
  8. package/client.mjs.map +1 -1
  9. package/examples/manifest/field-service-dispatch/field-service-dispatch.ts +530 -0
  10. package/examples/manifest/grant-program-management/grant-program-management.ts +594 -0
  11. package/examples/manifest/procurement-approval-hub/procurement-approval-hub.ts +554 -0
  12. package/lib/manifest/custom-object-page-layout.d.mts +0 -6
  13. package/lib/manifest/custom-object-page-layout.d.mts.map +1 -1
  14. package/lib/manifest/custom-object-page-layout.d.ts +0 -6
  15. package/lib/manifest/custom-object-page-layout.d.ts.map +1 -1
  16. package/lib/manifest/custom-object-page-layout.js +16 -5
  17. package/lib/manifest/custom-object-page-layout.js.map +1 -1
  18. package/lib/manifest/custom-object-page-layout.mjs +16 -5
  19. package/lib/manifest/custom-object-page-layout.mjs.map +1 -1
  20. package/lib/manifest/index.d.mts +1 -1
  21. package/lib/manifest/index.d.mts.map +1 -1
  22. package/lib/manifest/index.d.ts +1 -1
  23. package/lib/manifest/index.d.ts.map +1 -1
  24. package/lib/manifest/index.js.map +1 -1
  25. package/lib/manifest/index.mjs.map +1 -1
  26. package/package.json +1 -1
  27. package/resources/app-users.d.mts +186 -0
  28. package/resources/app-users.d.mts.map +1 -0
  29. package/resources/app-users.d.ts +186 -0
  30. package/resources/app-users.d.ts.map +1 -0
  31. package/resources/app-users.js +32 -0
  32. package/resources/app-users.js.map +1 -0
  33. package/resources/app-users.mjs +28 -0
  34. package/resources/app-users.mjs.map +1 -0
  35. package/resources/device-orders.d.mts +147 -0
  36. package/resources/device-orders.d.mts.map +1 -0
  37. package/resources/device-orders.d.ts +147 -0
  38. package/resources/device-orders.d.ts.map +1 -0
  39. package/resources/device-orders.js +34 -0
  40. package/resources/device-orders.js.map +1 -0
  41. package/resources/device-orders.mjs +30 -0
  42. package/resources/device-orders.mjs.map +1 -0
  43. package/resources/devices.d.mts +272 -0
  44. package/resources/devices.d.mts.map +1 -0
  45. package/resources/devices.d.ts +272 -0
  46. package/resources/devices.d.ts.map +1 -0
  47. package/resources/devices.js +32 -0
  48. package/resources/devices.js.map +1 -0
  49. package/resources/devices.mjs +28 -0
  50. package/resources/devices.mjs.map +1 -0
  51. package/resources/functions/deployments.d.mts +8 -0
  52. package/resources/functions/deployments.d.mts.map +1 -1
  53. package/resources/functions/deployments.d.ts +8 -0
  54. package/resources/functions/deployments.d.ts.map +1 -1
  55. package/resources/index.d.mts +3 -0
  56. package/resources/index.d.mts.map +1 -1
  57. package/resources/index.d.ts +3 -0
  58. package/resources/index.d.ts.map +1 -1
  59. package/resources/index.js +8 -2
  60. package/resources/index.js.map +1 -1
  61. package/resources/index.mjs +3 -0
  62. package/resources/index.mjs.map +1 -1
  63. package/resources/job-assignments.d.mts +12 -12
  64. package/resources/job-assignments.d.mts.map +1 -1
  65. package/resources/job-assignments.d.ts +12 -12
  66. package/resources/job-assignments.d.ts.map +1 -1
  67. package/resources/workers.d.mts +13 -0
  68. package/resources/workers.d.mts.map +1 -1
  69. package/resources/workers.d.ts +13 -0
  70. package/resources/workers.d.ts.map +1 -1
  71. package/src/client.ts +66 -0
  72. package/src/lib/manifest/custom-object-page-layout.ts +14 -9
  73. package/src/lib/manifest/index.ts +0 -2
  74. package/src/resources/app-users.ts +270 -0
  75. package/src/resources/device-orders.ts +200 -0
  76. package/src/resources/devices.ts +496 -0
  77. package/src/resources/functions/deployments.ts +10 -0
  78. package/src/resources/index.ts +24 -0
  79. package/src/resources/job-assignments.ts +12 -12
  80. package/src/resources/workers.ts +15 -0
  81. package/src/version.ts +1 -1
  82. package/version.d.mts +1 -1
  83. package/version.d.ts +1 -1
  84. package/version.js +1 -1
  85. package/version.mjs +1 -1
@@ -0,0 +1,496 @@
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 * as WorkersAPI from './workers';
6
+ import { APIPromise } from '../core/api-promise';
7
+ import { PageCursorURL, PagePromise } from '../core/pagination';
8
+ import { RequestOptions } from '../internal/request-options';
9
+ import { path } from '../internal/utils/path';
10
+
11
+ /**
12
+ * Devices (laptops, desktops, phones, tablets) managed by Rippling
13
+ */
14
+ export class Devices extends APIResource {
15
+ /**
16
+ * A list of devices.
17
+ *
18
+ * - Requires: `API Tier 2`
19
+ * - Filterable fields: `worker_id`, `serial_number`, `lifecycle_state`,
20
+ * `enrollment_status`
21
+ * - Expandable fields: `worker`, `pending_actions`
22
+ * - Sortable fields: `id`, `created_at`, `updated_at`
23
+ */
24
+ list(
25
+ query: DeviceListParams | null | undefined = {},
26
+ options?: RequestOptions,
27
+ ): PagePromise<DeviceListResponsesPageCursorURL, DeviceListResponse> {
28
+ return this._client.getAPIList('/devices/', PageCursorURL<DeviceListResponse>, { query, ...options });
29
+ }
30
+
31
+ /**
32
+ * Retrieve a specific device
33
+ */
34
+ retrieve(
35
+ id: string,
36
+ query: DeviceRetrieveParams | null | undefined = {},
37
+ options?: RequestOptions,
38
+ ): APIPromise<DeviceRetrieveResponse> {
39
+ return this._client.get(path`/devices/${id}/`, { query, ...options });
40
+ }
41
+ }
42
+
43
+ export type DeviceListResponsesPageCursorURL = PageCursorURL<DeviceListResponse>;
44
+
45
+ export interface DeviceListResponse {
46
+ /**
47
+ * Identifier field
48
+ */
49
+ id: string;
50
+
51
+ /**
52
+ * Record creation date
53
+ */
54
+ created_at: string;
55
+
56
+ /**
57
+ * Record update date
58
+ */
59
+ updated_at: string;
60
+
61
+ /**
62
+ * The MDM enrollment status: ENROLLED, UNENROLLED, WAITING_FOR_CONNECTION, ERROR,
63
+ * etc.
64
+ */
65
+ enrollment_status?: 'ENROLLED' | 'WAITING_FOR_CONNECTION' | 'ERROR' | 'UNENROLLED';
66
+
67
+ /**
68
+ * Whether the device's disk is encrypted (FileVault on macOS, BitLocker on
69
+ * Windows).
70
+ */
71
+ is_encrypted?: boolean;
72
+
73
+ /**
74
+ * Whether the device is managed via MDM.
75
+ */
76
+ is_managed?: boolean;
77
+
78
+ /**
79
+ * When the Rippling agent last checked in from this device.
80
+ */
81
+ last_checkin_at?: string;
82
+
83
+ /**
84
+ * When the device last synced with MDM.
85
+ */
86
+ last_mdm_sync_at?: string;
87
+
88
+ /**
89
+ * The device lifecycle state (e.g. ACTIVE, READY, LOCKED, LOST, DECOMMISSIONED).
90
+ */
91
+ lifecycle_state?:
92
+ | 'INIT'
93
+ | 'ACTIVE'
94
+ | 'ACTIVATING'
95
+ | 'LOCKED'
96
+ | 'LOCKING'
97
+ | 'INACTIVE'
98
+ | 'PENDING_MDM'
99
+ | 'CLEANING'
100
+ | 'READY'
101
+ | 'DECOMMISSIONING'
102
+ | 'DECOMMISSIONED'
103
+ | 'FULL_WIPING'
104
+ | 'FULL_WIPED'
105
+ | 'E_CYCLED'
106
+ | 'MDM_LOCKED'
107
+ | 'LOST'
108
+ | 'LOST_PLAYING_SOUND';
109
+
110
+ /**
111
+ * The MDM provider currently recorded on the device (RIPPLING, JAMFCLOUD, INTUNE,
112
+ * KANDJI, etc.). Null when the device is not currently MDM-managed (typical for
113
+ * unenrolled or recently-reset devices).
114
+ */
115
+ mdm_provider?:
116
+ | 'RIPPLING'
117
+ | 'JUMPCLOUD'
118
+ | 'JAMFCLOUD'
119
+ | 'FLEETSMITH'
120
+ | 'HEXNODE'
121
+ | 'MICROMDM'
122
+ | 'MERAKI'
123
+ | 'SOTI'
124
+ | 'ADDIGY'
125
+ | 'FLEETDM'
126
+ | 'KANDJI'
127
+ | 'ZOHO'
128
+ | 'INTUNE'
129
+ | 'OTHER';
130
+
131
+ /**
132
+ * The device hardware model identifier as reported by MDM (e.g. 'MacBookPro18,3',
133
+ * 'iPhone15,2').
134
+ */
135
+ model?: string;
136
+
137
+ /**
138
+ * The device operating system name.
139
+ */
140
+ os_name?: string;
141
+
142
+ /**
143
+ * The device operating system version.
144
+ */
145
+ os_version?: string;
146
+
147
+ /**
148
+ * Actions currently queued against the device (not yet completed). Expandable.
149
+ *
150
+ * Expandable field
151
+ */
152
+ pending_actions?: Array<DeviceListResponse.PendingAction>;
153
+
154
+ /**
155
+ * The IDs of actions currently queued against the device (not yet completed).
156
+ */
157
+ pending_actions_id?: Array<string>;
158
+
159
+ /**
160
+ * The OS platform the device runs: MACOS, WINDOWS, IOS, or IPADOS.
161
+ */
162
+ platform?: 'MACOS' | 'WINDOWS' | 'IOS' | 'IPADOS';
163
+
164
+ /**
165
+ * The device's hardware serial number.
166
+ */
167
+ serial_number?: string;
168
+
169
+ /**
170
+ * The worker this device is currently assigned to.
171
+ *
172
+ * Expandable field
173
+ */
174
+ worker?: WorkersAPI.Worker;
175
+
176
+ /**
177
+ * The ID of the worker this device is currently assigned to. Null if unassigned.
178
+ */
179
+ worker_id?: string;
180
+ }
181
+
182
+ export namespace DeviceListResponse {
183
+ export interface PendingAction {
184
+ /**
185
+ * Identifier field
186
+ */
187
+ id: string;
188
+
189
+ /**
190
+ * Record creation date
191
+ */
192
+ created_at: string;
193
+
194
+ /**
195
+ * Record update date
196
+ */
197
+ updated_at: string;
198
+
199
+ /**
200
+ * The type of the pending device action (e.g. LOCK_DEVICE, RESET_PASSWORD).
201
+ */
202
+ action_type?:
203
+ | 'ADD_USER_TO_FILEVAULT'
204
+ | 'ASSIGN_DEVICE'
205
+ | 'AUTHENTICATE_AGENT'
206
+ | 'CHANGE_FILEVAULT_RECOVERY_KEY'
207
+ | 'CHANGE_PASSWORD'
208
+ | 'CLEAR_PASSCODE'
209
+ | 'CREATE_RIPPLING_ADMIN'
210
+ | 'DELETE_LOCAL_ACCOUNT'
211
+ | 'DEMOTE_ACCOUNT_PERMISSION'
212
+ | 'DISABLE_FIND_MY'
213
+ | 'DISABLE_LOST_MODE'
214
+ | 'DISABLE_REMOTE_DESKTOP'
215
+ | 'ENABLE_LOST_MODE'
216
+ | 'ENABLE_REMOTE_DESKTOP'
217
+ | 'ENFORCE_PASSWORD_POLICY'
218
+ | 'FORCE_CHECK_IN'
219
+ | 'FULL_WIPE'
220
+ | 'GRANT_SECURE_TOKEN'
221
+ | 'INSTALL_ENROLLMENT_PROFILE'
222
+ | 'LOCK_DEVICE'
223
+ | 'LOCK_USER_ACCOUNT'
224
+ | 'LOST_MODE_GET_LOCATION'
225
+ | 'LOST_MODE_PLAY_SOUND'
226
+ | 'PROMOTE_ACCOUNT_PERMISSION'
227
+ | 'RECOVER_AGENT_VIA_MDM'
228
+ | 'REINSTALL_AGENT'
229
+ | 'REINSTALL_ENROLLMENT_PROFILE'
230
+ | 'REMOVE_OTHER_ENROLLMENT_PROFILES'
231
+ | 'RESET_PASSWORD'
232
+ | 'RESTART_DEVICE'
233
+ | 'ROTATE_FILEVAULT_KEY'
234
+ | 'SHUTDOWN_DEVICE'
235
+ | 'SOFT_WIPE'
236
+ | 'TURN_ON_FILEVAULT'
237
+ | 'UNASSIGN_DEVICE'
238
+ | 'UNINSTALL_AGENT'
239
+ | 'UNINSTALL_ANTIVIRUS'
240
+ | 'UNINSTALL_MDM'
241
+ | 'UNLOCK_DEVICE'
242
+ | 'UNLOCK_USER_ACCOUNT'
243
+ | 'UPDATE_OS'
244
+ | 'UNKNOWN';
245
+
246
+ /**
247
+ * When the action was queued.
248
+ */
249
+ queued_at?: string;
250
+
251
+ /**
252
+ * The current state of the pending action (e.g. QUEUED, WAITING_FOR_USER_ACTION).
253
+ */
254
+ state?: string;
255
+ }
256
+ }
257
+
258
+ /**
259
+ * Meta information for the response.
260
+ */
261
+ export interface DeviceRetrieveResponse extends BusinessPartnersAPI.Meta {
262
+ /**
263
+ * Identifier field
264
+ */
265
+ id: string;
266
+
267
+ /**
268
+ * Record creation date
269
+ */
270
+ created_at: string;
271
+
272
+ /**
273
+ * Record update date
274
+ */
275
+ updated_at: string;
276
+
277
+ /**
278
+ * The MDM enrollment status: ENROLLED, UNENROLLED, WAITING_FOR_CONNECTION, ERROR,
279
+ * etc.
280
+ */
281
+ enrollment_status?: 'ENROLLED' | 'WAITING_FOR_CONNECTION' | 'ERROR' | 'UNENROLLED';
282
+
283
+ /**
284
+ * Whether the device's disk is encrypted (FileVault on macOS, BitLocker on
285
+ * Windows).
286
+ */
287
+ is_encrypted?: boolean;
288
+
289
+ /**
290
+ * Whether the device is managed via MDM.
291
+ */
292
+ is_managed?: boolean;
293
+
294
+ /**
295
+ * When the Rippling agent last checked in from this device.
296
+ */
297
+ last_checkin_at?: string;
298
+
299
+ /**
300
+ * When the device last synced with MDM.
301
+ */
302
+ last_mdm_sync_at?: string;
303
+
304
+ /**
305
+ * The device lifecycle state (e.g. ACTIVE, READY, LOCKED, LOST, DECOMMISSIONED).
306
+ */
307
+ lifecycle_state?:
308
+ | 'INIT'
309
+ | 'ACTIVE'
310
+ | 'ACTIVATING'
311
+ | 'LOCKED'
312
+ | 'LOCKING'
313
+ | 'INACTIVE'
314
+ | 'PENDING_MDM'
315
+ | 'CLEANING'
316
+ | 'READY'
317
+ | 'DECOMMISSIONING'
318
+ | 'DECOMMISSIONED'
319
+ | 'FULL_WIPING'
320
+ | 'FULL_WIPED'
321
+ | 'E_CYCLED'
322
+ | 'MDM_LOCKED'
323
+ | 'LOST'
324
+ | 'LOST_PLAYING_SOUND';
325
+
326
+ /**
327
+ * The MDM provider currently recorded on the device (RIPPLING, JAMFCLOUD, INTUNE,
328
+ * KANDJI, etc.). Null when the device is not currently MDM-managed (typical for
329
+ * unenrolled or recently-reset devices).
330
+ */
331
+ mdm_provider?:
332
+ | 'RIPPLING'
333
+ | 'JUMPCLOUD'
334
+ | 'JAMFCLOUD'
335
+ | 'FLEETSMITH'
336
+ | 'HEXNODE'
337
+ | 'MICROMDM'
338
+ | 'MERAKI'
339
+ | 'SOTI'
340
+ | 'ADDIGY'
341
+ | 'FLEETDM'
342
+ | 'KANDJI'
343
+ | 'ZOHO'
344
+ | 'INTUNE'
345
+ | 'OTHER';
346
+
347
+ /**
348
+ * The device hardware model identifier as reported by MDM (e.g. 'MacBookPro18,3',
349
+ * 'iPhone15,2').
350
+ */
351
+ model?: string;
352
+
353
+ /**
354
+ * The device operating system name.
355
+ */
356
+ os_name?: string;
357
+
358
+ /**
359
+ * The device operating system version.
360
+ */
361
+ os_version?: string;
362
+
363
+ /**
364
+ * Actions currently queued against the device (not yet completed). Expandable.
365
+ *
366
+ * Expandable field
367
+ */
368
+ pending_actions?: Array<DeviceRetrieveResponse.PendingAction>;
369
+
370
+ /**
371
+ * The IDs of actions currently queued against the device (not yet completed).
372
+ */
373
+ pending_actions_id?: Array<string>;
374
+
375
+ /**
376
+ * The OS platform the device runs: MACOS, WINDOWS, IOS, or IPADOS.
377
+ */
378
+ platform?: 'MACOS' | 'WINDOWS' | 'IOS' | 'IPADOS';
379
+
380
+ /**
381
+ * The device's hardware serial number.
382
+ */
383
+ serial_number?: string;
384
+
385
+ /**
386
+ * The worker this device is currently assigned to.
387
+ *
388
+ * Expandable field
389
+ */
390
+ worker?: WorkersAPI.Worker;
391
+
392
+ /**
393
+ * The ID of the worker this device is currently assigned to. Null if unassigned.
394
+ */
395
+ worker_id?: string;
396
+ }
397
+
398
+ export namespace DeviceRetrieveResponse {
399
+ export interface PendingAction {
400
+ /**
401
+ * Identifier field
402
+ */
403
+ id: string;
404
+
405
+ /**
406
+ * Record creation date
407
+ */
408
+ created_at: string;
409
+
410
+ /**
411
+ * Record update date
412
+ */
413
+ updated_at: string;
414
+
415
+ /**
416
+ * The type of the pending device action (e.g. LOCK_DEVICE, RESET_PASSWORD).
417
+ */
418
+ action_type?:
419
+ | 'ADD_USER_TO_FILEVAULT'
420
+ | 'ASSIGN_DEVICE'
421
+ | 'AUTHENTICATE_AGENT'
422
+ | 'CHANGE_FILEVAULT_RECOVERY_KEY'
423
+ | 'CHANGE_PASSWORD'
424
+ | 'CLEAR_PASSCODE'
425
+ | 'CREATE_RIPPLING_ADMIN'
426
+ | 'DELETE_LOCAL_ACCOUNT'
427
+ | 'DEMOTE_ACCOUNT_PERMISSION'
428
+ | 'DISABLE_FIND_MY'
429
+ | 'DISABLE_LOST_MODE'
430
+ | 'DISABLE_REMOTE_DESKTOP'
431
+ | 'ENABLE_LOST_MODE'
432
+ | 'ENABLE_REMOTE_DESKTOP'
433
+ | 'ENFORCE_PASSWORD_POLICY'
434
+ | 'FORCE_CHECK_IN'
435
+ | 'FULL_WIPE'
436
+ | 'GRANT_SECURE_TOKEN'
437
+ | 'INSTALL_ENROLLMENT_PROFILE'
438
+ | 'LOCK_DEVICE'
439
+ | 'LOCK_USER_ACCOUNT'
440
+ | 'LOST_MODE_GET_LOCATION'
441
+ | 'LOST_MODE_PLAY_SOUND'
442
+ | 'PROMOTE_ACCOUNT_PERMISSION'
443
+ | 'RECOVER_AGENT_VIA_MDM'
444
+ | 'REINSTALL_AGENT'
445
+ | 'REINSTALL_ENROLLMENT_PROFILE'
446
+ | 'REMOVE_OTHER_ENROLLMENT_PROFILES'
447
+ | 'RESET_PASSWORD'
448
+ | 'RESTART_DEVICE'
449
+ | 'ROTATE_FILEVAULT_KEY'
450
+ | 'SHUTDOWN_DEVICE'
451
+ | 'SOFT_WIPE'
452
+ | 'TURN_ON_FILEVAULT'
453
+ | 'UNASSIGN_DEVICE'
454
+ | 'UNINSTALL_AGENT'
455
+ | 'UNINSTALL_ANTIVIRUS'
456
+ | 'UNINSTALL_MDM'
457
+ | 'UNLOCK_DEVICE'
458
+ | 'UNLOCK_USER_ACCOUNT'
459
+ | 'UPDATE_OS'
460
+ | 'UNKNOWN';
461
+
462
+ /**
463
+ * When the action was queued.
464
+ */
465
+ queued_at?: string;
466
+
467
+ /**
468
+ * The current state of the pending action (e.g. QUEUED, WAITING_FOR_USER_ACTION).
469
+ */
470
+ state?: string;
471
+ }
472
+ }
473
+
474
+ export interface DeviceListParams {
475
+ cursor?: string;
476
+
477
+ expand?: string;
478
+
479
+ filter?: string;
480
+
481
+ order_by?: string;
482
+ }
483
+
484
+ export interface DeviceRetrieveParams {
485
+ expand?: string;
486
+ }
487
+
488
+ export declare namespace Devices {
489
+ export {
490
+ type DeviceListResponse as DeviceListResponse,
491
+ type DeviceRetrieveResponse as DeviceRetrieveResponse,
492
+ type DeviceListResponsesPageCursorURL as DeviceListResponsesPageCursorURL,
493
+ type DeviceListParams as DeviceListParams,
494
+ type DeviceRetrieveParams as DeviceRetrieveParams,
495
+ };
496
+ }
@@ -112,6 +112,11 @@ export interface FunctionDeployment {
112
112
  */
113
113
  function_version_id?: string;
114
114
 
115
+ /**
116
+ * Input and output JSON Schema contracts for the deployment
117
+ */
118
+ io_contract?: unknown;
119
+
115
120
  /**
116
121
  * Additional, runtime-specific options for the deployment
117
122
  */
@@ -181,6 +186,11 @@ export interface DeploymentCreateParams {
181
186
  */
182
187
  dependencies?: unknown;
183
188
 
189
+ /**
190
+ * Input and output JSON Schema contracts for the deployment
191
+ */
192
+ io_contract?: unknown;
193
+
184
194
  /**
185
195
  * Additional, runtime-specific options for the deployment
186
196
  */
@@ -1,6 +1,14 @@
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
+ AppUsers,
6
+ type AppUserListResponse,
7
+ type AppUserRetrieveResponse,
8
+ type AppUserListParams,
9
+ type AppUserRetrieveParams,
10
+ type AppUserListResponsesPageCursorURL,
11
+ } from './app-users';
4
12
  export {
5
13
  BreakPolicies,
6
14
  type BreakPolicyListResponse,
@@ -140,6 +148,22 @@ export {
140
148
  type DepartmentUpdateParams,
141
149
  type DepartmentsPageCursorURL,
142
150
  } from './departments';
151
+ export {
152
+ DeviceOrders,
153
+ type DeviceOrderListResponse,
154
+ type DeviceOrderRetrieveResponse,
155
+ type DeviceOrderListParams,
156
+ type DeviceOrderRetrieveParams,
157
+ type DeviceOrderListResponsesPageCursorURL,
158
+ } from './device-orders';
159
+ export {
160
+ Devices,
161
+ type DeviceListResponse,
162
+ type DeviceRetrieveResponse,
163
+ type DeviceListParams,
164
+ type DeviceRetrieveParams,
165
+ type DeviceListResponsesPageCursorURL,
166
+ } from './devices';
143
167
  export { DraftHires, type DraftHireCreateResponse, type DraftHireCreateParams } from './draft-hires';
144
168
  export {
145
169
  EarningTypes,
@@ -256,7 +256,8 @@ export interface JobAssignmentCreateParams {
256
256
 
257
257
  /**
258
258
  * Date and time the change becomes effective (ISO 8601 format, e.g.,
259
- * 2025-11-07T17:00:00.000+00:00).
259
+ * 2025-11-07T17:00:00.000+00:00); defaults to current time in UTC if not provided.
260
+ * job_pay_rate_effective_from is ignored if this field is provided.
260
261
  */
261
262
  effective_from?: string;
262
263
 
@@ -267,15 +268,14 @@ export interface JobAssignmentCreateParams {
267
268
  job_pay_rate?: number;
268
269
 
269
270
  /**
270
- * Reason for setting, updating, or resetting the pay rate for the job assigned to
271
- * the worker.
271
+ * This field is deprecated and will be removed in a future version, use the new
272
+ * change_reason field instead.
272
273
  */
273
274
  job_pay_rate_change_reason?: string;
274
275
 
275
276
  /**
276
- * Date and time the pay rate becomes effective (ISO 8601 format
277
- * YYYY-MM-DDTHH:mm:ss.sssZ, e.g., 2025-11-07T17:00:00.000+00:00); defaults to
278
- * current time in UTC if not provided.
277
+ * This field is deprecated and will be removed in a future version, use the new
278
+ * effective_from field instead.
279
279
  */
280
280
  job_pay_rate_effective_from?: string;
281
281
  }
@@ -302,7 +302,8 @@ export interface JobAssignmentUpdateParams {
302
302
 
303
303
  /**
304
304
  * Date and time the change becomes effective (ISO 8601 format, e.g.,
305
- * 2025-11-07T17:00:00.000+00:00).
305
+ * 2025-11-07T17:00:00.000+00:00); defaults to current time in UTC if not provided.
306
+ * job_pay_rate_effective_from is ignored if this field is provided.
306
307
  */
307
308
  effective_from?: string;
308
309
 
@@ -313,15 +314,14 @@ export interface JobAssignmentUpdateParams {
313
314
  job_pay_rate?: number;
314
315
 
315
316
  /**
316
- * Reason for setting, updating, or resetting the pay rate for the job assigned to
317
- * the worker.
317
+ * This field is deprecated and will be removed in a future version, use the new
318
+ * change_reason field instead.
318
319
  */
319
320
  job_pay_rate_change_reason?: string;
320
321
 
321
322
  /**
322
- * Date and time the pay rate becomes effective (ISO 8601 format
323
- * YYYY-MM-DDTHH:mm:ss.sssZ, e.g., 2025-11-07T17:00:00.000+00:00); defaults to
324
- * current time in UTC if not provided.
323
+ * This field is deprecated and will be removed in a future version, use the new
324
+ * effective_from field instead.
325
325
  */
326
326
  job_pay_rate_effective_from?: string;
327
327
  }
@@ -822,6 +822,11 @@ export namespace Worker {
822
822
  */
823
823
  ca?: CountryFields.Ca;
824
824
 
825
+ /**
826
+ * Country-wise regional fields for New Zealand
827
+ */
828
+ nz?: CountryFields.Nz;
829
+
825
830
  /**
826
831
  * Country-wise regional fields for USA
827
832
  */
@@ -839,6 +844,16 @@ export namespace Worker {
839
844
  sin?: string;
840
845
  }
841
846
 
847
+ /**
848
+ * Country-wise regional fields for New Zealand
849
+ */
850
+ export interface Nz {
851
+ /**
852
+ * Inland Revenue Department (IRD) number for New Zealand employees.
853
+ */
854
+ ird_number?: string;
855
+ }
856
+
842
857
  /**
843
858
  * Country-wise regional fields for USA
844
859
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.2.0-alpha.61'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.63'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.2.0-alpha.61";
1
+ export declare const VERSION = "0.2.0-alpha.63";
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.61";
1
+ export declare const VERSION = "0.2.0-alpha.63";
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.61'; // x-release-please-version
4
+ exports.VERSION = '0.2.0-alpha.63'; // 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.61'; // x-release-please-version
1
+ export const VERSION = '0.2.0-alpha.63'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map