@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.
Files changed (38) hide show
  1. package/lib/resources/connect-webview.d.ts +1 -1
  2. package/lib/resources/connected-account.d.ts +1 -1
  3. package/lib/resources/device.d.ts +1 -1
  4. package/lib/resources/event.d.ts +122 -122
  5. package/lib/resources/phone.d.ts +1 -1
  6. package/lib/resources/unmanaged-device.d.ts +1 -1
  7. package/lib/routes/access-grants/access-grants.d.ts +2 -2
  8. package/lib/routes/acs/credentials/credentials.d.ts +4 -4
  9. package/lib/routes/acs/users/users.d.ts +5 -5
  10. package/lib/routes/client-sessions/client-sessions.d.ts +2 -2
  11. package/lib/routes/connect-webviews/connect-webviews.d.ts +2 -2
  12. package/lib/routes/connected-accounts/connected-accounts.d.ts +2 -2
  13. package/lib/routes/customers/customers.d.ts +16 -16
  14. package/lib/routes/devices/devices.d.ts +3 -3
  15. package/lib/routes/devices/unmanaged/unmanaged.d.ts +2 -2
  16. package/lib/routes/user-identities/unmanaged/unmanaged.d.ts +1 -1
  17. package/lib/routes/user-identities/user-identities.d.ts +1 -1
  18. package/lib/version.d.ts +1 -1
  19. package/lib/version.js +1 -1
  20. package/package.json +2 -2
  21. package/src/lib/resources/connect-webview.ts +1 -1
  22. package/src/lib/resources/connected-account.ts +1 -1
  23. package/src/lib/resources/device.ts +1 -1
  24. package/src/lib/resources/event.ts +187 -122
  25. package/src/lib/resources/phone.ts +1 -1
  26. package/src/lib/resources/unmanaged-device.ts +1 -1
  27. package/src/lib/routes/access-grants/access-grants.ts +2 -2
  28. package/src/lib/routes/acs/credentials/credentials.ts +4 -4
  29. package/src/lib/routes/acs/users/users.ts +5 -5
  30. package/src/lib/routes/client-sessions/client-sessions.ts +2 -2
  31. package/src/lib/routes/connect-webviews/connect-webviews.ts +2 -2
  32. package/src/lib/routes/connected-accounts/connected-accounts.ts +2 -2
  33. package/src/lib/routes/customers/customers.ts +16 -16
  34. package/src/lib/routes/devices/devices.ts +3 -3
  35. package/src/lib/routes/devices/unmanaged/unmanaged.ts +2 -2
  36. package/src/lib/routes/user-identities/unmanaged/unmanaged.ts +1 -1
  37. package/src/lib/routes/user-identities/user-identities.ts +1 -1
  38. package/src/lib/version.ts +1 -1
@@ -9,7 +9,7 @@ export type Phone = {
9
9
  /**
10
10
  * Optional [custom metadata](https://docs.seam.co/core-concepts/devices/adding-custom-metadata-to-a-device) for the phone.
11
11
  */
12
- custom_metadata: Record<string, unknown>;
12
+ custom_metadata: Record<string, string | boolean>;
13
13
  /**
14
14
  * ID of the phone.
15
15
  */
@@ -97,7 +97,7 @@ export type UnmanagedDevice = {
97
97
  /**
98
98
  * 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.
99
99
  */
100
- custom_metadata: Record<string, unknown>;
100
+ custom_metadata: Record<string, string | boolean>;
101
101
  /**
102
102
  * ID of the device.
103
103
  */
@@ -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
  */
@@ -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
  */
@@ -58,7 +58,7 @@ export type ConnectWebviewsCreateParameters = {
58
58
  /**
59
59
  * 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.
60
60
  */
61
- custom_metadata?: Record<string, unknown> | undefined;
61
+ custom_metadata?: Record<string, string | boolean> | undefined;
62
62
  /**
63
63
  * 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`.
64
64
  */
@@ -125,7 +125,7 @@ export type ConnectWebviewsListParameters = {
125
125
  /**
126
126
  * 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.
127
127
  */
128
- custom_metadata_has?: Record<string, unknown> | undefined;
128
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
129
129
  /**
130
130
  * Customer key for which you want to list connect webviews.
131
131
  */
@@ -79,7 +79,7 @@ export type ConnectedAccountsListParameters = {
79
79
  /**
80
80
  * 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.
81
81
  */
82
- custom_metadata_has?: Record<string, unknown> | undefined;
82
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
83
83
  /**
84
84
  * Customer key by which you want to filter connected accounts.
85
85
  */
@@ -143,7 +143,7 @@ export type ConnectedAccountsUpdateParameters = {
143
143
  /**
144
144
  * 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.
145
145
  */
146
- custom_metadata?: Record<string, unknown> | undefined;
146
+ custom_metadata?: Record<string, string | boolean> | undefined;
147
147
  /**
148
148
  * 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.
149
149
  */
@@ -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
  */
@@ -471,7 +471,7 @@ export type CustomersCreatePortalParameters = {
471
471
  /**
472
472
  * 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.
473
473
  */
474
- custom_metadata?: Record<string, unknown> | undefined;
474
+ custom_metadata?: Record<string, string | boolean> | undefined;
475
475
  /**
476
476
  * Your display name for this location resource.
477
477
  */
@@ -496,11 +496,11 @@ export type CustomersCreatePortalParameters = {
496
496
  /**
497
497
  * 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.
498
498
  */
499
- custom_metadata?: Record<string, unknown> | undefined;
499
+ custom_metadata?: Record<string, string | boolean> | undefined;
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
  */
@@ -1161,7 +1161,7 @@ export type CustomersPushDataParameters = {
1161
1161
  /**
1162
1162
  * 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.
1163
1163
  */
1164
- custom_metadata?: Record<string, unknown> | undefined;
1164
+ custom_metadata?: Record<string, string | boolean> | undefined;
1165
1165
  /**
1166
1166
  * Your display name for this location resource.
1167
1167
  */
@@ -1186,11 +1186,11 @@ export type CustomersPushDataParameters = {
1186
1186
  /**
1187
1187
  * 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.
1188
1188
  */
1189
- custom_metadata?: Record<string, unknown> | undefined;
1189
+ custom_metadata?: Record<string, string | boolean> | undefined;
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,11 +85,11 @@ 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
  */
92
- custom_metadata_has?: Record<string, unknown> | undefined;
92
+ custom_metadata_has?: Record<string, string | boolean> | undefined;
93
93
  /**
94
94
  * Customer key for which you want to list devices.
95
95
  */
@@ -212,7 +212,7 @@ export type DevicesUpdateParameters = {
212
212
  /**
213
213
  * 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.
214
214
  */
215
- custom_metadata?: Record<string, unknown> | undefined;
215
+ custom_metadata?: Record<string, string | boolean> | undefined;
216
216
  /**
217
217
  * ID of the device that you want to update.
218
218
  */
@@ -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
  */
@@ -119,7 +119,7 @@ export type DevicesUnmanagedUpdateParameters = {
119
119
  /**
120
120
  * 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.
121
121
  */
122
- custom_metadata?: Record<string, unknown> | undefined;
122
+ custom_metadata?: Record<string, string | boolean> | undefined;
123
123
  /**
124
124
  * ID of the unmanaged device that you want to update.
125
125
  */
@@ -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.11.2";
1
+ declare const seamapiJavascriptHttpVersion = "2.13.0";
2
2
  export default seamapiJavascriptHttpVersion;
package/lib/version.js CHANGED
@@ -1,3 +1,3 @@
1
- const seamapiJavascriptHttpVersion = '2.11.2';
1
+ const seamapiJavascriptHttpVersion = '2.13.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.11.2",
3
+ "version": "2.13.0",
4
4
  "description": "JavaScript HTTP client for the Seam API written in TypeScript.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -84,7 +84,7 @@
84
84
  "axios-retry": "^4.4.2"
85
85
  },
86
86
  "devDependencies": {
87
- "@seamapi/blueprint": "^1.6.0",
87
+ "@seamapi/blueprint": "^1.7.0",
88
88
  "@seamapi/fake-seam-connect": "^2.0.4",
89
89
  "@seamapi/smith": "^1.1.0",
90
90
  "@seamapi/types": "1.1019.0",
@@ -60,7 +60,7 @@ export type ConnectWebview = {
60
60
  /**
61
61
  * 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.
62
62
  */
63
- custom_metadata: Record<string, unknown>
63
+ custom_metadata: Record<string, string | boolean>
64
64
 
65
65
  /**
66
66
  * URL to which the Connect Webview should redirect when an unexpected error occurs.
@@ -40,7 +40,7 @@ export type ConnectedAccount = {
40
40
  /**
41
41
  * 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.
42
42
  */
43
- custom_metadata: Record<string, unknown>
43
+ custom_metadata: Record<string, string | boolean>
44
44
 
45
45
  /**
46
46
  * Your unique key for the customer associated with this connected account.
@@ -112,7 +112,7 @@ export type Device = {
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, unknown>
115
+ custom_metadata: Record<string, string | boolean>
116
116
 
117
117
  /**
118
118
  * ID of the device.