@seamapi/http 2.12.0 → 2.14.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.
@@ -319,7 +319,7 @@ export type AccessGrantsUpdateParameters = RequireAtLeastOne<{
319
319
  /**
320
320
  * 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`.
321
321
  */
322
- ends_at?: string | null | undefined;
322
+ ends_at?: string | Date | Temporal.Instant | null | undefined;
323
323
  /**
324
324
  * Display name for the access grant.
325
325
  */
@@ -327,7 +327,7 @@ export type AccessGrantsUpdateParameters = RequireAtLeastOne<{
327
327
  /**
328
328
  * 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.
329
329
  */
330
- starts_at?: string | undefined;
330
+ starts_at?: string | Date | Temporal.Instant | undefined;
331
331
  }>;
332
332
  /**
333
333
  * @deprecated Use AccessGrantsUpdateRequest instead.
@@ -107,7 +107,7 @@ export type AcsCredentialsCreateParameters = {
107
107
  /**
108
108
  * 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`.
109
109
  */
110
- ends_at?: string | undefined;
110
+ ends_at?: string | Date | Temporal.Instant | undefined;
111
111
  /**
112
112
  * 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).
113
113
  */
@@ -124,7 +124,7 @@ export type AcsCredentialsCreateParameters = {
124
124
  /**
125
125
  * 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.
126
126
  */
127
- starts_at?: string | undefined;
127
+ starts_at?: string | Date | Temporal.Instant | undefined;
128
128
  /**
129
129
  * 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.
130
130
  */
@@ -189,7 +189,7 @@ export type AcsCredentialsListParameters = {
189
189
  /**
190
190
  * 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.
191
191
  */
192
- created_before?: string | undefined;
192
+ created_before?: string | Date | Temporal.Instant | undefined;
193
193
  /**
194
194
  * Indicates whether you want to retrieve only multi-phone sync credentials or non-multi-phone sync credentials.
195
195
  */
@@ -268,7 +268,7 @@ export type AcsCredentialsUpdateParameters = {
268
268
  /**
269
269
  * 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.
270
270
  */
271
- ends_at?: string | undefined;
271
+ ends_at?: string | Date | Temporal.Instant | undefined;
272
272
  };
273
273
  /**
274
274
  * @deprecated Use AcsCredentialsUpdateRequest instead.
@@ -87,11 +87,11 @@ export type AcsUsersCreateParameters = {
87
87
  /**
88
88
  * Ending timestamp for the new access system user's access.
89
89
  */
90
- ends_at?: string | null | undefined;
90
+ ends_at?: string | Date | Temporal.Instant | null | undefined;
91
91
  /**
92
92
  * Starting timestamp for the new access system user's access.
93
93
  */
94
- starts_at?: string | undefined;
94
+ starts_at?: string | Date | Temporal.Instant | undefined;
95
95
  } | undefined;
96
96
  /**
97
97
  * Array of access group IDs to indicate the access groups to which you want to add the new access system user.
@@ -183,7 +183,7 @@ export type AcsUsersListParameters = {
183
183
  /**
184
184
  * Timestamp by which to limit returned access system users. Returns users created before this timestamp.
185
185
  */
186
- created_before?: string | undefined;
186
+ created_before?: string | Date | Temporal.Instant | undefined;
187
187
  /**
188
188
  * Maximum number of records to return per page.
189
189
  */
@@ -197,17 +197,17 @@ export type AcsUsersListParameters = {
197
197
  */
198
198
  search?: string | undefined;
199
199
  /**
200
- * Email address of the user identity for which you want to retrieve all access system users.
200
+ * Email address of the user identity for which you want to retrieve all access system users. Specify `null` to retrieve access system users whose user identity has no email address.
201
201
  */
202
- user_identity_email_address?: string | undefined;
202
+ user_identity_email_address?: string | null | undefined;
203
203
  /**
204
204
  * ID of the user identity for which you want to retrieve all access system users.
205
205
  */
206
206
  user_identity_id?: string | undefined;
207
207
  /**
208
- * Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`).
208
+ * Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). Specify `null` to retrieve access system users whose user identity has no phone number.
209
209
  */
210
- user_identity_phone_number?: string | undefined;
210
+ user_identity_phone_number?: string | null | undefined;
211
211
  };
212
212
  /**
213
213
  * @deprecated Use AcsUsersListRequest instead.
@@ -333,11 +333,11 @@ export type AcsUsersUpdateParameters = RequireAtLeastOne<{
333
333
  /**
334
334
  * Ending timestamp for the access system user's access.
335
335
  */
336
- ends_at?: string | undefined;
336
+ ends_at?: string | Date | Temporal.Instant | undefined;
337
337
  /**
338
338
  * Starting timestamp for the access system user's access.
339
339
  */
340
- starts_at?: string | undefined;
340
+ starts_at?: string | Date | Temporal.Instant | undefined;
341
341
  } | null | undefined;
342
342
  /**
343
343
  * ID of the access system that you want to update. You can only provide acs_system_id with user_identity_id.
@@ -67,7 +67,7 @@ export type ClientSessionsCreateParameters = {
67
67
  /**
68
68
  * 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.
69
69
  */
70
- expires_at?: string | undefined;
70
+ expires_at?: string | Date | Temporal.Instant | undefined;
71
71
  /**
72
72
  * Your user ID for the user for whom you want to create a client session.
73
73
  */
@@ -135,7 +135,7 @@ export type ClientSessionsGetOrCreateParameters = {
135
135
  /**
136
136
  * 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.
137
137
  */
138
- expires_at?: string | undefined;
138
+ expires_at?: string | Date | Temporal.Instant | undefined;
139
139
  /**
140
140
  * 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).
141
141
  */
@@ -199,17 +199,17 @@ export type ClientSessionsListParameters = {
199
199
  */
200
200
  client_session_id?: string | undefined;
201
201
  /**
202
- * ID of the [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) for which you want to retrieve client sessions.
202
+ * ID of the [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a Connect Webview.
203
203
  */
204
- connect_webview_id?: string | undefined;
204
+ connect_webview_id?: string | null | undefined;
205
205
  /**
206
206
  * Your user ID for the user by which you want to filter client sessions.
207
207
  */
208
208
  user_identifier_key?: string | undefined;
209
209
  /**
210
- * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions.
210
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a user identity.
211
211
  */
212
- user_identity_id?: string | undefined;
212
+ user_identity_id?: string | null | undefined;
213
213
  /**
214
214
  * Indicates whether to retrieve only client sessions without associated user identifier keys.
215
215
  */
@@ -235,7 +235,7 @@ export type CustomersCreatePortalParameters = {
235
235
  /**
236
236
  * Ending date and time for the access grant.
237
237
  */
238
- ends_at?: string | undefined;
238
+ ends_at?: string | Date | Temporal.Instant | undefined;
239
239
  /**
240
240
  * Facility keys associated with the access grant.
241
241
  */
@@ -275,7 +275,7 @@ export type CustomersCreatePortalParameters = {
275
275
  /**
276
276
  * Starting date and time for the access grant.
277
277
  */
278
- starts_at?: string | undefined;
278
+ starts_at?: string | Date | Temporal.Instant | undefined;
279
279
  /**
280
280
  * Tenant key associated with the access grant.
281
281
  */
@@ -312,7 +312,7 @@ export type CustomersCreatePortalParameters = {
312
312
  /**
313
313
  * Ending date and time for the access grant.
314
314
  */
315
- ends_at?: string | undefined;
315
+ ends_at?: string | Date | Temporal.Instant | undefined;
316
316
  /**
317
317
  * Facility keys associated with the access grant.
318
318
  */
@@ -352,7 +352,7 @@ export type CustomersCreatePortalParameters = {
352
352
  /**
353
353
  * Starting date and time for the access grant.
354
354
  */
355
- starts_at?: string | undefined;
355
+ starts_at?: string | Date | Temporal.Instant | undefined;
356
356
  /**
357
357
  * Tenant key associated with the access grant.
358
358
  */
@@ -500,7 +500,7 @@ export type CustomersCreatePortalParameters = {
500
500
  /**
501
501
  * Ending date and time for the access grant.
502
502
  */
503
- ends_at?: string | undefined;
503
+ ends_at?: string | Date | Temporal.Instant | undefined;
504
504
  /**
505
505
  * Facility keys associated with the access grant.
506
506
  */
@@ -544,7 +544,7 @@ export type CustomersCreatePortalParameters = {
544
544
  /**
545
545
  * Starting date and time for the access grant.
546
546
  */
547
- starts_at?: string | undefined;
547
+ starts_at?: string | Date | Temporal.Instant | undefined;
548
548
  /**
549
549
  * Tenant key associated with the access grant.
550
550
  */
@@ -925,7 +925,7 @@ export type CustomersPushDataParameters = {
925
925
  /**
926
926
  * Ending date and time for the access grant.
927
927
  */
928
- ends_at?: string | undefined;
928
+ ends_at?: string | Date | Temporal.Instant | undefined;
929
929
  /**
930
930
  * Facility keys associated with the access grant.
931
931
  */
@@ -965,7 +965,7 @@ export type CustomersPushDataParameters = {
965
965
  /**
966
966
  * Starting date and time for the access grant.
967
967
  */
968
- starts_at?: string | undefined;
968
+ starts_at?: string | Date | Temporal.Instant | undefined;
969
969
  /**
970
970
  * Tenant key associated with the access grant.
971
971
  */
@@ -1002,7 +1002,7 @@ export type CustomersPushDataParameters = {
1002
1002
  /**
1003
1003
  * Ending date and time for the access grant.
1004
1004
  */
1005
- ends_at?: string | undefined;
1005
+ ends_at?: string | Date | Temporal.Instant | undefined;
1006
1006
  /**
1007
1007
  * Facility keys associated with the access grant.
1008
1008
  */
@@ -1042,7 +1042,7 @@ export type CustomersPushDataParameters = {
1042
1042
  /**
1043
1043
  * Starting date and time for the access grant.
1044
1044
  */
1045
- starts_at?: string | undefined;
1045
+ starts_at?: string | Date | Temporal.Instant | undefined;
1046
1046
  /**
1047
1047
  * Tenant key associated with the access grant.
1048
1048
  */
@@ -1190,7 +1190,7 @@ export type CustomersPushDataParameters = {
1190
1190
  /**
1191
1191
  * Ending date and time for the access grant.
1192
1192
  */
1193
- ends_at?: string | undefined;
1193
+ ends_at?: string | Date | Temporal.Instant | undefined;
1194
1194
  /**
1195
1195
  * Facility keys associated with the access grant.
1196
1196
  */
@@ -1234,7 +1234,7 @@ export type CustomersPushDataParameters = {
1234
1234
  /**
1235
1235
  * Starting date and time for the access grant.
1236
1236
  */
1237
- starts_at?: string | undefined;
1237
+ starts_at?: string | Date | Temporal.Instant | undefined;
1238
1238
  /**
1239
1239
  * Tenant key associated with the access grant.
1240
1240
  */
@@ -85,7 +85,7 @@ export type DevicesListParameters = {
85
85
  /**
86
86
  * Timestamp by which to limit returned devices. Returns devices created before this timestamp.
87
87
  */
88
- created_before?: string | undefined;
88
+ created_before?: string | Date | Temporal.Instant | undefined;
89
89
  /**
90
90
  * 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.
91
91
  */
@@ -72,7 +72,7 @@ export type DevicesUnmanagedListParameters = {
72
72
  /**
73
73
  * Timestamp by which to limit returned devices. Returns devices created before this timestamp.
74
74
  */
75
- created_before?: string | undefined;
75
+ created_before?: string | Date | Temporal.Instant | undefined;
76
76
  /**
77
77
  * Customer key for which you want to list devices.
78
78
  */
@@ -49,7 +49,7 @@ export type UserIdentitiesUnmanagedListParameters = {
49
49
  /**
50
50
  * Timestamp by which to limit returned unmanaged user identities. Returns user identities created before this timestamp.
51
51
  */
52
- created_before?: string | undefined;
52
+ created_before?: string | Date | Temporal.Instant | undefined;
53
53
  /**
54
54
  * Maximum number of records to return per page.
55
55
  */
@@ -216,7 +216,7 @@ export type UserIdentitiesListParameters = {
216
216
  /**
217
217
  * Timestamp by which to limit returned user identities. Returns user identities created before this timestamp.
218
218
  */
219
- created_before?: string | undefined;
219
+ created_before?: string | Date | Temporal.Instant | undefined;
220
220
  /**
221
221
  * `acs_system_id` of the credential manager by which you want to filter the list of user identities.
222
222
  */
package/lib/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- declare const seamapiJavascriptHttpVersion = "2.12.0";
1
+ declare const seamapiJavascriptHttpVersion = "2.14.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.12.0';
1
+ const seamapiJavascriptHttpVersion = '2.14.0';
2
2
  export default seamapiJavascriptHttpVersion;
3
3
  //# sourceMappingURL=version.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/http",
3
- "version": "2.12.0",
3
+ "version": "2.14.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -87,7 +87,7 @@
87
87
  "@seamapi/blueprint": "^1.7.0",
88
88
  "@seamapi/fake-seam-connect": "^2.0.4",
89
89
  "@seamapi/smith": "^1.1.0",
90
- "@seamapi/types": "1.1019.0",
90
+ "@seamapi/types": "1.1022.0",
91
91
  "@types/jsonwebtoken": "^9.0.6",
92
92
  "@types/node": "^24.10.9",
93
93
  "ava": "^8.0.1",
@@ -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
  */
@@ -524,17 +524,17 @@ export type AcsUsersListParameters = {
524
524
  */
525
525
  search?: string | undefined
526
526
  /**
527
- * Email address of the user identity for which you want to retrieve all access system users.
527
+ * Email address of the user identity for which you want to retrieve all access system users. Specify `null` to retrieve access system users whose user identity has no email address.
528
528
  */
529
- user_identity_email_address?: string | undefined
529
+ user_identity_email_address?: string | null | undefined
530
530
  /**
531
531
  * ID of the user identity for which you want to retrieve all access system users.
532
532
  */
533
533
  user_identity_id?: string | undefined
534
534
  /**
535
- * Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`).
535
+ * Phone number of the user identity for which you want to retrieve all access system users, in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, `+15555550100`). Specify `null` to retrieve access system users whose user identity has no phone number.
536
536
  */
537
- user_identity_phone_number?: string | undefined
537
+ user_identity_phone_number?: string | null | undefined
538
538
  }
539
539
 
540
540
  /**
@@ -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
  */
@@ -466,17 +466,17 @@ export type ClientSessionsListParameters = {
466
466
  */
467
467
  client_session_id?: string | undefined
468
468
  /**
469
- * ID of the [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) for which you want to retrieve client sessions.
469
+ * ID of the [Connect Webview](https://docs.seam.co/core-concepts/connect-webviews) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a Connect Webview.
470
470
  */
471
- connect_webview_id?: string | undefined
471
+ connect_webview_id?: string | null | undefined
472
472
  /**
473
473
  * Your user ID for the user by which you want to filter client sessions.
474
474
  */
475
475
  user_identifier_key?: string | undefined
476
476
  /**
477
- * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions.
477
+ * ID of the [user identity](https://docs.seam.co/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) for which you want to retrieve client sessions. Specify `null` to retrieve client sessions that are not associated with a user identity.
478
478
  */
479
- user_identity_id?: string | undefined
479
+ user_identity_id?: string | null | undefined
480
480
  /**
481
481
  * Indicates whether to retrieve only client sessions without associated user identifier keys.
482
482
  */
@@ -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
  */
@@ -759,7 +759,7 @@ export type CustomersCreatePortalParameters = {
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
  */
@@ -1500,7 +1500,7 @@ export type CustomersPushDataParameters = {
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,7 +311,7 @@ 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
  */
@@ -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
  */
@@ -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
  */
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.12.0'
1
+ const seamapiJavascriptHttpVersion = '2.14.0'
2
2
 
3
3
  export default seamapiJavascriptHttpVersion