@seamapi/types 1.814.0 → 1.816.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/dist/connect.cjs +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +26 -0
- package/dist/index.cjs +14 -0
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
- package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +4 -4
- package/lib/seam/connect/models/devices/device.js +2 -2
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +24 -0
- package/lib/seam/connect/openapi.js +14 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +2 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/devices/device.ts +4 -4
- package/src/lib/seam/connect/openapi.ts +16 -0
- package/src/lib/seam/connect/route-types.ts +2 -0
|
@@ -31196,6 +31196,8 @@ export type Routes = {
|
|
|
31196
31196
|
} | undefined;
|
|
31197
31197
|
/** Customer key by which you want to filter connected accounts. */
|
|
31198
31198
|
customer_key?: string | undefined;
|
|
31199
|
+
/** ID of the space by which you want to filter connected accounts. */
|
|
31200
|
+
space_id?: string | undefined;
|
|
31199
31201
|
/** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
|
|
31200
31202
|
search?: string | undefined;
|
|
31201
31203
|
/** Maximum number of records to return per page. */
|
package/package.json
CHANGED
|
@@ -126,7 +126,7 @@ export type ConnectedAccountError = z.infer<typeof connected_account_error>
|
|
|
126
126
|
|
|
127
127
|
export type ConnectedAccountWarning = z.infer<typeof connected_account_warning>
|
|
128
128
|
|
|
129
|
-
const
|
|
129
|
+
export const connected_account_error_map = z.object({
|
|
130
130
|
account_disconnected: account_disconnected.nullable().optional(),
|
|
131
131
|
bridge_disconnected: bridge_disconnected.nullable().optional(),
|
|
132
132
|
salto_ks_subscription_limit_exceeded: salto_ks_subscription_limit_exceeded
|
|
@@ -135,7 +135,7 @@ const _connected_account_error_map = z.object({
|
|
|
135
135
|
})
|
|
136
136
|
|
|
137
137
|
export type ConnectedAccountErrorMap = z.infer<
|
|
138
|
-
typeof
|
|
138
|
+
typeof connected_account_error_map
|
|
139
139
|
>
|
|
140
140
|
|
|
141
141
|
export const unknown_issue_with_connected_account =
|
|
@@ -240,7 +240,7 @@ const connected_account_warning = z
|
|
|
240
240
|
])
|
|
241
241
|
.describe('Warning associated with the connected account.')
|
|
242
242
|
|
|
243
|
-
const
|
|
243
|
+
export const connected_account_warning_map = z.object({
|
|
244
244
|
scheduled_maintenance_window: scheduled_maintenance_window
|
|
245
245
|
.nullable()
|
|
246
246
|
.optional(),
|
|
@@ -256,7 +256,7 @@ const _connected_account_warning_map = z.object({
|
|
|
256
256
|
})
|
|
257
257
|
|
|
258
258
|
export type ConnectedAccountWarningMap = z.infer<
|
|
259
|
-
typeof
|
|
259
|
+
typeof connected_account_warning_map
|
|
260
260
|
>
|
|
261
261
|
|
|
262
262
|
export const connected_account = z.object({
|
|
@@ -215,7 +215,7 @@ export const device_error = z
|
|
|
215
215
|
|
|
216
216
|
export type DeviceError = z.infer<typeof device_error>
|
|
217
217
|
|
|
218
|
-
const
|
|
218
|
+
export const device_error_map = z.object({
|
|
219
219
|
device_offline: device_offline.optional().nullable(),
|
|
220
220
|
device_removed: device_removed.optional().nullable(),
|
|
221
221
|
hub_disconnected: hub_disconnected.optional().nullable(),
|
|
@@ -238,7 +238,7 @@ const _device_error_map = z.object({
|
|
|
238
238
|
lockly_missing_wifi_bridge: lockly_missing_wifi_bridge.optional().nullable(),
|
|
239
239
|
})
|
|
240
240
|
|
|
241
|
-
export type DeviceErrorMap = z.infer<typeof
|
|
241
|
+
export type DeviceErrorMap = z.infer<typeof device_error_map>
|
|
242
242
|
|
|
243
243
|
const warning_code_description =
|
|
244
244
|
'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.'
|
|
@@ -524,7 +524,7 @@ const device_warning = z.discriminatedUnion('warning_code', [
|
|
|
524
524
|
|
|
525
525
|
export type DeviceWarning = z.infer<typeof device_warning>
|
|
526
526
|
|
|
527
|
-
const
|
|
527
|
+
export const device_warning_map = z.object({
|
|
528
528
|
partial_backup_access_code_pool: partial_backup_access_code_pool
|
|
529
529
|
.optional()
|
|
530
530
|
.nullable(),
|
|
@@ -577,7 +577,7 @@ const _device_warning_map = z.object({
|
|
|
577
577
|
max_access_codes_reached: max_access_codes_reached.optional().nullable(),
|
|
578
578
|
})
|
|
579
579
|
|
|
580
|
-
export type DeviceWarningMap = z.infer<typeof
|
|
580
|
+
export type DeviceWarningMap = z.infer<typeof device_warning_map>
|
|
581
581
|
|
|
582
582
|
export const device_provider_info = z
|
|
583
583
|
.object({
|
|
@@ -50170,6 +50170,16 @@ export default {
|
|
|
50170
50170
|
type: 'string',
|
|
50171
50171
|
},
|
|
50172
50172
|
},
|
|
50173
|
+
{
|
|
50174
|
+
in: 'query',
|
|
50175
|
+
name: 'space_id',
|
|
50176
|
+
schema: {
|
|
50177
|
+
description:
|
|
50178
|
+
'ID of the space by which you want to filter connected accounts.',
|
|
50179
|
+
format: 'uuid',
|
|
50180
|
+
type: 'string',
|
|
50181
|
+
},
|
|
50182
|
+
},
|
|
50173
50183
|
{
|
|
50174
50184
|
in: 'query',
|
|
50175
50185
|
name: 'search',
|
|
@@ -50281,6 +50291,12 @@ export default {
|
|
|
50281
50291
|
minLength: 1,
|
|
50282
50292
|
type: 'string',
|
|
50283
50293
|
},
|
|
50294
|
+
space_id: {
|
|
50295
|
+
description:
|
|
50296
|
+
'ID of the space by which you want to filter connected accounts.',
|
|
50297
|
+
format: 'uuid',
|
|
50298
|
+
type: 'string',
|
|
50299
|
+
},
|
|
50284
50300
|
user_identifier_key: {
|
|
50285
50301
|
description:
|
|
50286
50302
|
'Your user ID for the user by which you want to filter connected accounts.',
|
|
@@ -36138,6 +36138,8 @@ export type Routes = {
|
|
|
36138
36138
|
| undefined
|
|
36139
36139
|
/** Customer key by which you want to filter connected accounts. */
|
|
36140
36140
|
customer_key?: string | undefined
|
|
36141
|
+
/** ID of the space by which you want to filter connected accounts. */
|
|
36142
|
+
space_id?: string | undefined
|
|
36141
36143
|
/** String for which to search. Filters returned connected accounts to include all records that satisfy a partial match using `connected_account_id`, `account_type`, `customer_key`, `custom_metadata`, `user_identifier.username`, `user_identifier.email` or `user_identifier.phone`. */
|
|
36142
36144
|
search?: string | undefined
|
|
36143
36145
|
/** Maximum number of records to return per page. */
|