@seamapi/http 2.11.2 → 2.13.0
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/resources/connect-webview.d.ts +1 -1
- package/lib/resources/connected-account.d.ts +1 -1
- package/lib/resources/device.d.ts +1 -1
- package/lib/resources/event.d.ts +122 -122
- package/lib/resources/phone.d.ts +1 -1
- package/lib/resources/unmanaged-device.d.ts +1 -1
- package/lib/routes/access-grants/access-grants.d.ts +2 -2
- package/lib/routes/acs/credentials/credentials.d.ts +4 -4
- package/lib/routes/acs/users/users.d.ts +5 -5
- package/lib/routes/client-sessions/client-sessions.d.ts +2 -2
- package/lib/routes/connect-webviews/connect-webviews.d.ts +2 -2
- package/lib/routes/connected-accounts/connected-accounts.d.ts +2 -2
- package/lib/routes/customers/customers.d.ts +16 -16
- package/lib/routes/devices/devices.d.ts +3 -3
- package/lib/routes/devices/unmanaged/unmanaged.d.ts +2 -2
- package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +1 -1
- package/lib/routes/user-identities/user-identities.d.ts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/package.json +2 -2
- package/src/lib/resources/connect-webview.ts +1 -1
- package/src/lib/resources/connected-account.ts +1 -1
- package/src/lib/resources/device.ts +1 -1
- package/src/lib/resources/event.ts +187 -122
- package/src/lib/resources/phone.ts +1 -1
- package/src/lib/resources/unmanaged-device.ts +1 -1
- package/src/lib/routes/access-grants/access-grants.ts +2 -2
- package/src/lib/routes/acs/credentials/credentials.ts +4 -4
- package/src/lib/routes/acs/users/users.ts +5 -5
- package/src/lib/routes/client-sessions/client-sessions.ts +2 -2
- package/src/lib/routes/connect-webviews/connect-webviews.ts +2 -2
- package/src/lib/routes/connected-accounts/connected-accounts.ts +2 -2
- package/src/lib/routes/customers/customers.ts +16 -16
- package/src/lib/routes/devices/devices.ts +3 -3
- package/src/lib/routes/devices/unmanaged/unmanaged.ts +2 -2
- package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +1 -1
- package/src/lib/routes/user-identities/user-identities.ts +1 -1
- package/src/lib/version.ts +1 -1
|
@@ -15,7 +15,7 @@ export type Phone = {
|
|
|
15
15
|
/**
|
|
16
16
|
* Optional [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone.
|
|
17
17
|
*/
|
|
18
|
-
custom_metadata: Record<string,
|
|
18
|
+
custom_metadata: Record<string, string | boolean>
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* ID of the phone.
|
|
@@ -112,7 +112,7 @@ export type UnmanagedDevice = {
|
|
|
112
112
|
/**
|
|
113
113
|
* Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. Keys set to `null` or to an empty string are omitted.
|
|
114
114
|
*/
|
|
115
|
-
custom_metadata: Record<string,
|
|
115
|
+
custom_metadata: Record<string, string | boolean>
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
118
|
* ID of the device.
|
|
@@ -638,7 +638,7 @@ export type AccessGrantsUpdateParameters = RequireAtLeastOne<{
|
|
|
638
638
|
/**
|
|
639
639
|
* Date and time at which the validity of the grant ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
|
|
640
640
|
*/
|
|
641
|
-
ends_at?: string | null | undefined
|
|
641
|
+
ends_at?: string | Date | Temporal.Instant | null | undefined
|
|
642
642
|
/**
|
|
643
643
|
* Display name for the access grant.
|
|
644
644
|
*/
|
|
@@ -646,7 +646,7 @@ export type AccessGrantsUpdateParameters = RequireAtLeastOne<{
|
|
|
646
646
|
/**
|
|
647
647
|
* Date and time at which the validity of the grant starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
648
648
|
*/
|
|
649
|
-
starts_at?: string | undefined
|
|
649
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
650
650
|
}>
|
|
651
651
|
|
|
652
652
|
/**
|
|
@@ -380,7 +380,7 @@ export type AcsCredentialsCreateParameters = {
|
|
|
380
380
|
/**
|
|
381
381
|
* Date and time at which the validity of the new credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after `starts_at`.
|
|
382
382
|
*/
|
|
383
|
-
ends_at?: string | undefined
|
|
383
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
384
384
|
/**
|
|
385
385
|
* Indicates whether the new credential is a [multi-phone sync credential](https://docs.seam.co/capability-guides/mobile-access/issuing-mobile-credentials-from-an-access-control-system#what-are-multi-phone-sync-credentials).
|
|
386
386
|
*/
|
|
@@ -399,7 +399,7 @@ export type AcsCredentialsCreateParameters = {
|
|
|
399
399
|
/**
|
|
400
400
|
* Date and time at which the validity of the new credential starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
401
401
|
*/
|
|
402
|
-
starts_at?: string | undefined
|
|
402
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
403
403
|
/**
|
|
404
404
|
* ID of the user identity to whom the new credential belongs. You must provide either `acs_user_id` or the combination of `user_identity_id` and `acs_system_id`. If the access system contains a user with the same `email_address` or `phone_number` as the user identity that you specify, they are linked, and the credential belongs to the access system user. If the access system does not have a corresponding user, one is created.
|
|
405
405
|
*/
|
|
@@ -481,7 +481,7 @@ export type AcsCredentialsListParameters = {
|
|
|
481
481
|
/**
|
|
482
482
|
* Date and time, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format, before which events to return were created.
|
|
483
483
|
*/
|
|
484
|
-
created_before?: string | undefined
|
|
484
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
485
485
|
/**
|
|
486
486
|
* Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.
|
|
487
487
|
*/
|
|
@@ -577,7 +577,7 @@ export type AcsCredentialsUpdateParameters = {
|
|
|
577
577
|
/**
|
|
578
578
|
* Replacement date and time at which the validity of the credential ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. Must be a time in the future and after the `starts_at` value that you set when creating the credential.
|
|
579
579
|
*/
|
|
580
|
-
ends_at?: string | undefined
|
|
580
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
/**
|
|
@@ -400,11 +400,11 @@ export type AcsUsersCreateParameters = {
|
|
|
400
400
|
/**
|
|
401
401
|
* Ending timestamp for the new access system user's access.
|
|
402
402
|
*/
|
|
403
|
-
ends_at?: string | null | undefined
|
|
403
|
+
ends_at?: string | Date | Temporal.Instant | null | undefined
|
|
404
404
|
/**
|
|
405
405
|
* Starting timestamp for the new access system user's access.
|
|
406
406
|
*/
|
|
407
|
-
starts_at?: string | undefined
|
|
407
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
408
408
|
}
|
|
409
409
|
| undefined
|
|
410
410
|
/**
|
|
@@ -510,7 +510,7 @@ export type AcsUsersListParameters = {
|
|
|
510
510
|
/**
|
|
511
511
|
* Timestamp by which to limit returned access system users. Returns users created before this timestamp.
|
|
512
512
|
*/
|
|
513
|
-
created_before?: string | undefined
|
|
513
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
514
514
|
/**
|
|
515
515
|
* Maximum number of records to return per page.
|
|
516
516
|
*/
|
|
@@ -690,11 +690,11 @@ export type AcsUsersUpdateParameters = RequireAtLeastOne<{
|
|
|
690
690
|
/**
|
|
691
691
|
* Ending timestamp for the access system user's access.
|
|
692
692
|
*/
|
|
693
|
-
ends_at?: string | undefined
|
|
693
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
694
694
|
/**
|
|
695
695
|
* Starting timestamp for the access system user's access.
|
|
696
696
|
*/
|
|
697
|
-
starts_at?: string | undefined
|
|
697
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
698
698
|
}
|
|
699
699
|
| null
|
|
700
700
|
| undefined
|
|
@@ -314,7 +314,7 @@ export type ClientSessionsCreateParameters = {
|
|
|
314
314
|
/**
|
|
315
315
|
* Date and time at which the client session should expire, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.
|
|
316
316
|
*/
|
|
317
|
-
expires_at?: string | undefined
|
|
317
|
+
expires_at?: string | Date | Temporal.Instant | undefined
|
|
318
318
|
/**
|
|
319
319
|
* Your user ID for the user for whom you want to create a client session.
|
|
320
320
|
*/
|
|
@@ -393,7 +393,7 @@ export type ClientSessionsGetOrCreateParameters = {
|
|
|
393
393
|
/**
|
|
394
394
|
* Date and time at which the client session should expire in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format. If the client session already exists, this will update the expiration before returning it.
|
|
395
395
|
*/
|
|
396
|
-
expires_at?: string | undefined
|
|
396
|
+
expires_at?: string | Date | Temporal.Instant | undefined
|
|
397
397
|
/**
|
|
398
398
|
* Your user ID for the user that you want to associate with the client session (or that is already associated with the existing client session).
|
|
399
399
|
*/
|
|
@@ -336,7 +336,7 @@ export type ConnectWebviewsCreateParameters = {
|
|
|
336
336
|
/**
|
|
337
337
|
* Custom metadata that you want to associate with the Connect Webview. Supports up to 50 JSON key:value pairs, with key names up to 40 characters long that cannot contain a period (.). [Adding custom metadata to a Connect Webview](https://docs.seam.co/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview) enables you to store custom information, like customer details or internal IDs from your application. The custom metadata is then transferred to any [connected accounts](https://docs.seam.co/core-concepts/connected-accounts) that were connected using the Connect Webview, making it easy to find and filter these resources in your [workspace](https://docs.seam.co/core-concepts/workspaces). You can also [filter Connect Webviews by custom metadata](https://docs.seam.co/core-concepts/connect-webviews/filtering-connect-webviews-by-custom-metadata). Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
338
338
|
*/
|
|
339
|
-
custom_metadata?: Record<string,
|
|
339
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
340
340
|
/**
|
|
341
341
|
* Alternative URL that you want to redirect the user to on an error. If you do not set this parameter, the Connect Webview falls back to the `custom_redirect_url`.
|
|
342
342
|
*/
|
|
@@ -424,7 +424,7 @@ export type ConnectWebviewsListParameters = {
|
|
|
424
424
|
/**
|
|
425
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
|
-
custom_metadata_has?: Record<string,
|
|
427
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
428
428
|
/**
|
|
429
429
|
* Customer key for which you want to list connect webviews.
|
|
430
430
|
*/
|
|
@@ -313,7 +313,7 @@ export type ConnectedAccountsListParameters = {
|
|
|
313
313
|
/**
|
|
314
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
|
-
custom_metadata_has?: Record<string,
|
|
316
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
317
317
|
/**
|
|
318
318
|
* Customer key by which you want to filter connected accounts.
|
|
319
319
|
*/
|
|
@@ -391,7 +391,7 @@ export type ConnectedAccountsUpdateParameters = {
|
|
|
391
391
|
/**
|
|
392
392
|
* Custom metadata that you want to associate with the connected account. Entirely replaces the existing custom metadata object. If a new Connect Webview contains custom metadata and is used to reconnect a connected account, the custom metadata from the Connect Webview will entirely replace the entire custom metadata object on the connected account. Supports up to 50 JSON key:value pairs, with key names up to 40 characters long that cannot contain a period (.). [Adding custom metadata to a connected account](https://docs.seam.co/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter connected accounts by the desired metadata](https://docs.seam.co/core-concepts/connected-accounts/filtering-connected-accounts-by-custom-metadata). Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
393
393
|
*/
|
|
394
|
-
custom_metadata?: Record<string,
|
|
394
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
395
395
|
/**
|
|
396
396
|
* The customer key to associate with this connected account. If provided, the connected account and all resources under the connected account will be moved to this customer. May only be provided if the connected account is not already associated with a customer.
|
|
397
397
|
*/
|
|
@@ -476,7 +476,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
476
476
|
/**
|
|
477
477
|
* Ending date and time for the access grant.
|
|
478
478
|
*/
|
|
479
|
-
ends_at?: string | undefined
|
|
479
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
480
480
|
/**
|
|
481
481
|
* Facility keys associated with the access grant.
|
|
482
482
|
*/
|
|
@@ -516,7 +516,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
516
516
|
/**
|
|
517
517
|
* Starting date and time for the access grant.
|
|
518
518
|
*/
|
|
519
|
-
starts_at?: string | undefined
|
|
519
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
520
520
|
/**
|
|
521
521
|
* Tenant key associated with the access grant.
|
|
522
522
|
*/
|
|
@@ -555,7 +555,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
555
555
|
/**
|
|
556
556
|
* Ending date and time for the access grant.
|
|
557
557
|
*/
|
|
558
|
-
ends_at?: string | undefined
|
|
558
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
559
559
|
/**
|
|
560
560
|
* Facility keys associated with the access grant.
|
|
561
561
|
*/
|
|
@@ -595,7 +595,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
595
595
|
/**
|
|
596
596
|
* Starting date and time for the access grant.
|
|
597
597
|
*/
|
|
598
|
-
starts_at?: string | undefined
|
|
598
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
599
599
|
/**
|
|
600
600
|
* Tenant key associated with the access grant.
|
|
601
601
|
*/
|
|
@@ -728,7 +728,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
728
728
|
/**
|
|
729
729
|
* Set key:value pairs. Accepts string or Boolean values. Adding custom metadata to a property listing enables you to store custom information, like customer details or internal IDs from your application. Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
730
730
|
*/
|
|
731
|
-
custom_metadata?: Record<string,
|
|
731
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
732
732
|
/**
|
|
733
733
|
* Your display name for this location resource.
|
|
734
734
|
*/
|
|
@@ -755,11 +755,11 @@ export type CustomersCreatePortalParameters = {
|
|
|
755
755
|
/**
|
|
756
756
|
* Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
757
757
|
*/
|
|
758
|
-
custom_metadata?: Record<string,
|
|
758
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
759
759
|
/**
|
|
760
760
|
* Ending date and time for the access grant.
|
|
761
761
|
*/
|
|
762
|
-
ends_at?: string | undefined
|
|
762
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
763
763
|
/**
|
|
764
764
|
* Facility keys associated with the access grant.
|
|
765
765
|
*/
|
|
@@ -803,7 +803,7 @@ export type CustomersCreatePortalParameters = {
|
|
|
803
803
|
/**
|
|
804
804
|
* Starting date and time for the access grant.
|
|
805
805
|
*/
|
|
806
|
-
starts_at?: string | undefined
|
|
806
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
807
807
|
/**
|
|
808
808
|
* Tenant key associated with the access grant.
|
|
809
809
|
*/
|
|
@@ -1216,7 +1216,7 @@ export type CustomersPushDataParameters = {
|
|
|
1216
1216
|
/**
|
|
1217
1217
|
* Ending date and time for the access grant.
|
|
1218
1218
|
*/
|
|
1219
|
-
ends_at?: string | undefined
|
|
1219
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
1220
1220
|
/**
|
|
1221
1221
|
* Facility keys associated with the access grant.
|
|
1222
1222
|
*/
|
|
@@ -1256,7 +1256,7 @@ export type CustomersPushDataParameters = {
|
|
|
1256
1256
|
/**
|
|
1257
1257
|
* Starting date and time for the access grant.
|
|
1258
1258
|
*/
|
|
1259
|
-
starts_at?: string | undefined
|
|
1259
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
1260
1260
|
/**
|
|
1261
1261
|
* Tenant key associated with the access grant.
|
|
1262
1262
|
*/
|
|
@@ -1295,7 +1295,7 @@ export type CustomersPushDataParameters = {
|
|
|
1295
1295
|
/**
|
|
1296
1296
|
* Ending date and time for the access grant.
|
|
1297
1297
|
*/
|
|
1298
|
-
ends_at?: string | undefined
|
|
1298
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
1299
1299
|
/**
|
|
1300
1300
|
* Facility keys associated with the access grant.
|
|
1301
1301
|
*/
|
|
@@ -1335,7 +1335,7 @@ export type CustomersPushDataParameters = {
|
|
|
1335
1335
|
/**
|
|
1336
1336
|
* Starting date and time for the access grant.
|
|
1337
1337
|
*/
|
|
1338
|
-
starts_at?: string | undefined
|
|
1338
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
1339
1339
|
/**
|
|
1340
1340
|
* Tenant key associated with the access grant.
|
|
1341
1341
|
*/
|
|
@@ -1469,7 +1469,7 @@ export type CustomersPushDataParameters = {
|
|
|
1469
1469
|
/**
|
|
1470
1470
|
* Set key:value pairs. Accepts string or Boolean values. Adding custom metadata to a property listing enables you to store custom information, like customer details or internal IDs from your application. Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
1471
1471
|
*/
|
|
1472
|
-
custom_metadata?: Record<string,
|
|
1472
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
1473
1473
|
/**
|
|
1474
1474
|
* Your display name for this location resource.
|
|
1475
1475
|
*/
|
|
@@ -1496,11 +1496,11 @@ export type CustomersPushDataParameters = {
|
|
|
1496
1496
|
/**
|
|
1497
1497
|
* Set key:value pairs for filtering reservations by custom criteria. Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
1498
1498
|
*/
|
|
1499
|
-
custom_metadata?: Record<string,
|
|
1499
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
1500
1500
|
/**
|
|
1501
1501
|
* Ending date and time for the access grant.
|
|
1502
1502
|
*/
|
|
1503
|
-
ends_at?: string | undefined
|
|
1503
|
+
ends_at?: string | Date | Temporal.Instant | undefined
|
|
1504
1504
|
/**
|
|
1505
1505
|
* Facility keys associated with the access grant.
|
|
1506
1506
|
*/
|
|
@@ -1544,7 +1544,7 @@ export type CustomersPushDataParameters = {
|
|
|
1544
1544
|
/**
|
|
1545
1545
|
* Starting date and time for the access grant.
|
|
1546
1546
|
*/
|
|
1547
|
-
starts_at?: string | undefined
|
|
1547
|
+
starts_at?: string | Date | Temporal.Instant | undefined
|
|
1548
1548
|
/**
|
|
1549
1549
|
* Tenant key associated with the access grant.
|
|
1550
1550
|
*/
|
|
@@ -311,11 +311,11 @@ export type DevicesListParameters = {
|
|
|
311
311
|
/**
|
|
312
312
|
* Timestamp by which to limit returned devices. Returns devices created before this timestamp.
|
|
313
313
|
*/
|
|
314
|
-
created_before?: string | undefined
|
|
314
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
315
315
|
/**
|
|
316
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
|
-
custom_metadata_has?: Record<string,
|
|
318
|
+
custom_metadata_has?: Record<string, string | boolean> | undefined
|
|
319
319
|
/**
|
|
320
320
|
* Customer key for which you want to list devices.
|
|
321
321
|
*/
|
|
@@ -1899,7 +1899,7 @@ export type DevicesUpdateParameters = {
|
|
|
1899
1899
|
/**
|
|
1900
1900
|
* Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs, with key names up to 40 characters long that cannot contain a period (.). [Adding custom metadata to a device](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) enables you to store custom information, like customer details or internal IDs from your application. Then, you can [filter devices by the desired metadata](https://docs.seam.co/core-concepts/devices/filtering-devices-by-custom-metadata). Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
1901
1901
|
*/
|
|
1902
|
-
custom_metadata?: Record<string,
|
|
1902
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
1903
1903
|
/**
|
|
1904
1904
|
* ID of the device that you want to update.
|
|
1905
1905
|
*/
|
|
@@ -264,7 +264,7 @@ export type DevicesUnmanagedListParameters = {
|
|
|
264
264
|
/**
|
|
265
265
|
* Timestamp by which to limit returned devices. Returns devices created before this timestamp.
|
|
266
266
|
*/
|
|
267
|
-
created_before?: string | undefined
|
|
267
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
268
268
|
/**
|
|
269
269
|
* Customer key for which you want to list devices.
|
|
270
270
|
*/
|
|
@@ -458,7 +458,7 @@ export type DevicesUnmanagedUpdateParameters = {
|
|
|
458
458
|
/**
|
|
459
459
|
* Custom metadata that you want to associate with the device. Supports up to 50 JSON key:value pairs, with key names up to 40 characters long that cannot contain a period (.). Set a key to `null` or to an empty string to remove that key from the custom metadata.
|
|
460
460
|
*/
|
|
461
|
-
custom_metadata?: Record<string,
|
|
461
|
+
custom_metadata?: Record<string, string | boolean> | undefined
|
|
462
462
|
/**
|
|
463
463
|
* ID of the unmanaged device that you want to update.
|
|
464
464
|
*/
|
|
@@ -246,7 +246,7 @@ export type UserIdentitiesUnmanagedListParameters = {
|
|
|
246
246
|
/**
|
|
247
247
|
* Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.
|
|
248
248
|
*/
|
|
249
|
-
created_before?: string | undefined
|
|
249
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
250
250
|
/**
|
|
251
251
|
* Maximum number of records to return per page.
|
|
252
252
|
*/
|
|
@@ -620,7 +620,7 @@ export type UserIdentitiesListParameters = {
|
|
|
620
620
|
/**
|
|
621
621
|
* Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.
|
|
622
622
|
*/
|
|
623
|
-
created_before?: string | undefined
|
|
623
|
+
created_before?: string | Date | Temporal.Instant | undefined
|
|
624
624
|
/**
|
|
625
625
|
* `acs_system_id` of the credential manager by which you want to filter the list of user identities.
|
|
626
626
|
*/
|
package/src/lib/version.ts
CHANGED