@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.
@@ -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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.814.0",
3
+ "version": "1.816.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -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 _connected_account_error_map = z.object({
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 _connected_account_error_map
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 _connected_account_warning_map = z.object({
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 _connected_account_warning_map
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 _device_error_map = z.object({
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 _device_error_map>
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 _device_warning_map = z.object({
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 _device_warning_map>
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. */