@seamapi/http 2.10.0 → 2.11.1
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/lib/client.js +2 -1
- package/lib/client.js.map +1 -1
- package/lib/resources/access-code.d.ts +26 -26
- package/lib/resources/acs-access-group.d.ts +1 -1
- package/lib/resources/acs-credential.d.ts +1 -1
- package/lib/resources/acs-user.d.ts +1 -1
- package/lib/resources/action-attempt.d.ts +3 -3
- package/lib/resources/device.d.ts +20 -20
- package/lib/resources/unmanaged-access-code.d.ts +28 -28
- package/lib/resources/unmanaged-device.d.ts +18 -18
- package/lib/routes/access-grants/unmanaged/unmanaged.d.ts +1 -1
- package/lib/routes/connect-webviews/connect-webviews.d.ts +1 -1
- package/lib/routes/connected-accounts/connected-accounts.d.ts +1 -1
- package/lib/routes/devices/devices.d.ts +1 -1
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +1 -1
- package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +3 -3
- package/src/lib/client.ts +6 -1
- package/src/lib/resources/access-code.ts +26 -26
- package/src/lib/resources/acs-access-group.ts +1 -1
- package/src/lib/resources/acs-credential.ts +1 -1
- package/src/lib/resources/acs-user.ts +1 -1
- package/src/lib/resources/action-attempt.ts +3 -3
- package/src/lib/resources/device.ts +20 -20
- package/src/lib/resources/unmanaged-access-code.ts +28 -28
- package/src/lib/resources/unmanaged-device.ts +18 -18
- package/src/lib/routes/access-grants/unmanaged/unmanaged.ts +1 -1
- package/src/lib/routes/connect-webviews/connect-webviews.ts +1 -1
- package/src/lib/routes/connected-accounts/connected-accounts.ts +1 -1
- package/src/lib/routes/devices/devices.ts +1 -1
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +1 -1
- package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +1 -1
- package/src/lib/version.ts +1 -1
|
@@ -188,12 +188,12 @@ export type UnmanagedDevice = {
|
|
|
188
188
|
/**
|
|
189
189
|
* Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
|
|
190
190
|
*/
|
|
191
|
-
is_connected_account_error:
|
|
191
|
+
is_connected_account_error: true
|
|
192
192
|
|
|
193
193
|
/**
|
|
194
194
|
* Indicates that the error is not a device error.
|
|
195
195
|
*/
|
|
196
|
-
is_device_error:
|
|
196
|
+
is_device_error: false
|
|
197
197
|
|
|
198
198
|
/**
|
|
199
199
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -216,12 +216,12 @@ export type UnmanagedDevice = {
|
|
|
216
216
|
/**
|
|
217
217
|
* Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
|
|
218
218
|
*/
|
|
219
|
-
is_connected_account_error:
|
|
219
|
+
is_connected_account_error: true
|
|
220
220
|
|
|
221
221
|
/**
|
|
222
222
|
* Indicates that the error is not a device error.
|
|
223
223
|
*/
|
|
224
|
-
is_device_error:
|
|
224
|
+
is_device_error: false
|
|
225
225
|
|
|
226
226
|
/**
|
|
227
227
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -244,12 +244,12 @@ export type UnmanagedDevice = {
|
|
|
244
244
|
/**
|
|
245
245
|
* Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
|
|
246
246
|
*/
|
|
247
|
-
is_connected_account_error:
|
|
247
|
+
is_connected_account_error: true
|
|
248
248
|
|
|
249
249
|
/**
|
|
250
250
|
* Indicates that the error is not a device error.
|
|
251
251
|
*/
|
|
252
|
-
is_device_error:
|
|
252
|
+
is_device_error: false
|
|
253
253
|
|
|
254
254
|
/**
|
|
255
255
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -272,12 +272,12 @@ export type UnmanagedDevice = {
|
|
|
272
272
|
/**
|
|
273
273
|
* Indicates that the error is a [connected account](https://docs.seam.co/api/connected_accounts) error.
|
|
274
274
|
*/
|
|
275
|
-
is_connected_account_error:
|
|
275
|
+
is_connected_account_error: true
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* Indicates that the error is not a device error.
|
|
279
279
|
*/
|
|
280
|
-
is_device_error:
|
|
280
|
+
is_device_error: false
|
|
281
281
|
|
|
282
282
|
/**
|
|
283
283
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -300,7 +300,7 @@ export type UnmanagedDevice = {
|
|
|
300
300
|
/**
|
|
301
301
|
* Indicates that the error is a device error.
|
|
302
302
|
*/
|
|
303
|
-
is_device_error:
|
|
303
|
+
is_device_error: true
|
|
304
304
|
|
|
305
305
|
/**
|
|
306
306
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -323,7 +323,7 @@ export type UnmanagedDevice = {
|
|
|
323
323
|
/**
|
|
324
324
|
* Indicates that the error is a device error.
|
|
325
325
|
*/
|
|
326
|
-
is_device_error:
|
|
326
|
+
is_device_error: true
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -346,7 +346,7 @@ export type UnmanagedDevice = {
|
|
|
346
346
|
/**
|
|
347
347
|
* Indicates that the error is a device error.
|
|
348
348
|
*/
|
|
349
|
-
is_device_error:
|
|
349
|
+
is_device_error: true
|
|
350
350
|
|
|
351
351
|
/**
|
|
352
352
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -369,7 +369,7 @@ export type UnmanagedDevice = {
|
|
|
369
369
|
/**
|
|
370
370
|
* Indicates that the error is a device error.
|
|
371
371
|
*/
|
|
372
|
-
is_device_error:
|
|
372
|
+
is_device_error: true
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
375
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -392,7 +392,7 @@ export type UnmanagedDevice = {
|
|
|
392
392
|
/**
|
|
393
393
|
* Indicates that the error is a device error.
|
|
394
394
|
*/
|
|
395
|
-
is_device_error:
|
|
395
|
+
is_device_error: true
|
|
396
396
|
|
|
397
397
|
/**
|
|
398
398
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -415,7 +415,7 @@ export type UnmanagedDevice = {
|
|
|
415
415
|
/**
|
|
416
416
|
* Indicates that the error is a device error.
|
|
417
417
|
*/
|
|
418
|
-
is_device_error:
|
|
418
|
+
is_device_error: true
|
|
419
419
|
|
|
420
420
|
/**
|
|
421
421
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -438,7 +438,7 @@ export type UnmanagedDevice = {
|
|
|
438
438
|
/**
|
|
439
439
|
* Indicates that the error is a device error.
|
|
440
440
|
*/
|
|
441
|
-
is_device_error:
|
|
441
|
+
is_device_error: true
|
|
442
442
|
|
|
443
443
|
/**
|
|
444
444
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -461,7 +461,7 @@ export type UnmanagedDevice = {
|
|
|
461
461
|
/**
|
|
462
462
|
* Indicates that the error is a device error.
|
|
463
463
|
*/
|
|
464
|
-
is_device_error:
|
|
464
|
+
is_device_error: true
|
|
465
465
|
|
|
466
466
|
/**
|
|
467
467
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -484,7 +484,7 @@ export type UnmanagedDevice = {
|
|
|
484
484
|
/**
|
|
485
485
|
* Indicates that the error is a device error.
|
|
486
486
|
*/
|
|
487
|
-
is_device_error:
|
|
487
|
+
is_device_error: true
|
|
488
488
|
|
|
489
489
|
/**
|
|
490
490
|
* Detailed description of the error. Provides insights into the issue and potentially how to rectify it.
|
|
@@ -522,7 +522,7 @@ export type UnmanagedDevice = {
|
|
|
522
522
|
/**
|
|
523
523
|
* Indicates that Seam does not manage the device.
|
|
524
524
|
*/
|
|
525
|
-
is_managed:
|
|
525
|
+
is_managed: false
|
|
526
526
|
|
|
527
527
|
/**
|
|
528
528
|
* Location information for the device.
|
|
@@ -422,7 +422,7 @@ export interface ConnectWebviewsGetOptions {}
|
|
|
422
422
|
|
|
423
423
|
export type ConnectWebviewsListParameters = {
|
|
424
424
|
/**
|
|
425
|
-
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
425
|
+
* Custom metadata pairs by which you want to [filter Connect Webviews](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Returns Connect Webviews with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
426
426
|
*/
|
|
427
427
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
428
428
|
/**
|
|
@@ -311,7 +311,7 @@ export interface ConnectedAccountsGetOptions {}
|
|
|
311
311
|
|
|
312
312
|
export type ConnectedAccountsListParameters = {
|
|
313
313
|
/**
|
|
314
|
-
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify
|
|
314
|
+
* Custom metadata pairs by which you want to filter connected accounts. Returns connected accounts with `custom_metadata` that contains all of the provided key:value pairs. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
315
315
|
*/
|
|
316
316
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
317
317
|
/**
|
|
@@ -313,7 +313,7 @@ export type DevicesListParameters = {
|
|
|
313
313
|
*/
|
|
314
314
|
created_before?: string | undefined
|
|
315
315
|
/**
|
|
316
|
-
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify
|
|
316
|
+
* Set of key:value [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) pairs for which you want to list devices. Key names cannot contain a period (.). Specify `null` to match a key that is unset. A key given an empty string is omitted from the filter.
|
|
317
317
|
*/
|
|
318
318
|
custom_metadata_has?: Record<string, unknown> | undefined
|
|
319
319
|
/**
|
|
@@ -467,7 +467,7 @@ export type DevicesUnmanagedUpdateParameters = {
|
|
|
467
467
|
/**
|
|
468
468
|
* Indicates whether the device is managed. Set this parameter to `true` to convert an unmanaged device to managed.
|
|
469
469
|
*/
|
|
470
|
-
is_managed?:
|
|
470
|
+
is_managed?: true | undefined
|
|
471
471
|
}
|
|
472
472
|
|
|
473
473
|
/**
|
|
@@ -279,7 +279,7 @@ export type UserIdentitiesUnmanagedUpdateParameters = {
|
|
|
279
279
|
/**
|
|
280
280
|
* Must be set to true to convert the unmanaged user identity to managed.
|
|
281
281
|
*/
|
|
282
|
-
is_managed:
|
|
282
|
+
is_managed: true
|
|
283
283
|
|
|
284
284
|
/**
|
|
285
285
|
* ID of the unmanaged user identity that you want to update.
|
package/src/lib/version.ts
CHANGED