@seamapi/types 1.146.0 → 1.147.1

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 (32) hide show
  1. package/dist/connect.cjs +31 -63
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +69 -188
  4. package/lib/seam/connect/internal/model-types.d.ts +2 -1
  5. package/lib/seam/connect/internal/model-types.js +1 -1
  6. package/lib/seam/connect/internal/model-types.js.map +1 -1
  7. package/lib/seam/connect/internal/schemas.d.ts +2 -1
  8. package/lib/seam/connect/internal/schemas.js +2 -1
  9. package/lib/seam/connect/internal/schemas.js.map +1 -1
  10. package/lib/seam/connect/models/connect-webview.d.ts +3 -3
  11. package/lib/seam/connect/models/custom-metadata.d.ts +4 -2
  12. package/lib/seam/connect/models/custom-metadata.js +2 -1
  13. package/lib/seam/connect/models/custom-metadata.js.map +1 -1
  14. package/lib/seam/connect/models/devices/managed-device.d.ts +3 -3
  15. package/lib/seam/connect/models/devices/managed-device.js +1 -1
  16. package/lib/seam/connect/models/devices/managed-device.js.map +1 -1
  17. package/lib/seam/connect/models/devices/phone.d.ts +3 -3
  18. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +13 -1
  19. package/lib/seam/connect/models/devices/unmanaged-device.js +1 -0
  20. package/lib/seam/connect/models/devices/unmanaged-device.js.map +1 -1
  21. package/lib/seam/connect/openapi.d.ts +31 -160
  22. package/lib/seam/connect/openapi.js +24 -60
  23. package/lib/seam/connect/openapi.js.map +1 -1
  24. package/lib/seam/connect/route-types.d.ts +33 -23
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/internal/model-types.ts +2 -32
  27. package/src/lib/seam/connect/internal/schemas.ts +2 -2
  28. package/src/lib/seam/connect/models/custom-metadata.ts +9 -2
  29. package/src/lib/seam/connect/models/devices/managed-device.ts +1 -1
  30. package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -0
  31. package/src/lib/seam/connect/openapi.ts +25 -60
  32. package/src/lib/seam/connect/route-types.ts +37 -23
@@ -2046,7 +2046,7 @@ export interface Routes {
2046
2046
  status: 'pending' | 'failed' | 'authorized'
2047
2047
  custom_redirect_url: string | null
2048
2048
  custom_redirect_failure_url: string | null
2049
- custom_metadata: Record<string, string | boolean | null>
2049
+ custom_metadata: Record<string, string | boolean>
2050
2050
  automatically_manage_new_devices: boolean
2051
2051
  wait_for_device_creation: boolean
2052
2052
  authorized_at: string | null
@@ -2090,7 +2090,7 @@ export interface Routes {
2090
2090
  status: 'pending' | 'failed' | 'authorized'
2091
2091
  custom_redirect_url: string | null
2092
2092
  custom_redirect_failure_url: string | null
2093
- custom_metadata: Record<string, string | boolean | null>
2093
+ custom_metadata: Record<string, string | boolean>
2094
2094
  automatically_manage_new_devices: boolean
2095
2095
  wait_for_device_creation: boolean
2096
2096
  authorized_at: string | null
@@ -2106,7 +2106,7 @@ export interface Routes {
2106
2106
  commonParams: {
2107
2107
  user_identifier_key?: string | undefined
2108
2108
  /** Returns devices where the webview's custom_metadata contains all of the provided key/value pairs. */
2109
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
2109
+ custom_metadata_has?: Record<string, string | boolean> | undefined
2110
2110
  }
2111
2111
  formData: {}
2112
2112
  jsonResponse: {
@@ -2125,7 +2125,7 @@ export interface Routes {
2125
2125
  status: 'pending' | 'failed' | 'authorized'
2126
2126
  custom_redirect_url: string | null
2127
2127
  custom_redirect_failure_url: string | null
2128
- custom_metadata: Record<string, string | boolean | null>
2128
+ custom_metadata: Record<string, string | boolean>
2129
2129
  automatically_manage_new_devices: boolean
2130
2130
  wait_for_device_creation: boolean
2131
2131
  authorized_at: string | null
@@ -2187,7 +2187,7 @@ export interface Routes {
2187
2187
  account_type_display_name: string
2188
2188
  errors?: any
2189
2189
  warnings?: any
2190
- custom_metadata?: Record<string, string | boolean | null> | undefined
2190
+ custom_metadata: Record<string, string | boolean>
2191
2191
  automatically_manage_new_devices: boolean
2192
2192
  }
2193
2193
  }
@@ -2199,7 +2199,7 @@ export interface Routes {
2199
2199
  jsonBody: {}
2200
2200
  commonParams: {
2201
2201
  /** Returns devices where the account's custom_metadata contains all of the provided key/value pairs. */
2202
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
2202
+ custom_metadata_has?: Record<string, string | boolean> | undefined
2203
2203
  }
2204
2204
  formData: {}
2205
2205
  jsonResponse: {
@@ -2219,7 +2219,7 @@ export interface Routes {
2219
2219
  account_type_display_name: string
2220
2220
  errors?: any
2221
2221
  warnings?: any
2222
- custom_metadata?: Record<string, string | boolean | null> | undefined
2222
+ custom_metadata: Record<string, string | boolean>
2223
2223
  automatically_manage_new_devices: boolean
2224
2224
  }>
2225
2225
  }
@@ -2252,7 +2252,7 @@ export interface Routes {
2252
2252
  account_type_display_name: string
2253
2253
  errors?: any
2254
2254
  warnings?: any
2255
- custom_metadata?: Record<string, string | boolean | null> | undefined
2255
+ custom_metadata: Record<string, string | boolean>
2256
2256
  automatically_manage_new_devices: boolean
2257
2257
  }
2258
2258
  }
@@ -2990,7 +2990,7 @@ export interface Routes {
2990
2990
  created_at: string
2991
2991
  /** Indicates whether Seam manages the device. */
2992
2992
  is_managed: true
2993
- custom_metadata?: Record<string, string | boolean | null> | undefined
2993
+ custom_metadata: Record<string, string | boolean>
2994
2994
  can_remotely_unlock?: boolean | undefined
2995
2995
  can_remotely_lock?: boolean | undefined
2996
2996
  can_program_online_access_codes?: boolean | undefined
@@ -3128,7 +3128,7 @@ export interface Routes {
3128
3128
  limit?: number
3129
3129
  created_before?: Date | undefined
3130
3130
  user_identifier_key?: string | undefined
3131
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
3131
+ custom_metadata_has?: Record<string, string | boolean> | undefined
3132
3132
  include_if?:
3133
3133
  | Array<
3134
3134
  | 'can_remotely_unlock'
@@ -3859,7 +3859,7 @@ export interface Routes {
3859
3859
  created_at: string
3860
3860
  /** Indicates whether Seam manages the device. */
3861
3861
  is_managed: true
3862
- custom_metadata?: Record<string, string | boolean | null> | undefined
3862
+ custom_metadata: Record<string, string | boolean>
3863
3863
  can_remotely_unlock?: boolean | undefined
3864
3864
  can_remotely_lock?: boolean | undefined
3865
3865
  can_program_online_access_codes?: boolean | undefined
@@ -4025,6 +4025,13 @@ export interface Routes {
4025
4025
  created_at: string
4026
4026
  is_managed: false
4027
4027
  properties: {
4028
+ /** Represents the accessory keypad state. */
4029
+ accessory_keypad?:
4030
+ | {
4031
+ /** Indicates if the accessory_keypad is connected to the device. */
4032
+ is_connected: boolean
4033
+ }
4034
+ | undefined
4028
4035
  /**
4029
4036
  ---
4030
4037
  deprecated: use device.display_name instead
@@ -4207,7 +4214,7 @@ export interface Routes {
4207
4214
  limit?: number
4208
4215
  created_before?: Date | undefined
4209
4216
  user_identifier_key?: string | undefined
4210
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
4217
+ custom_metadata_has?: Record<string, string | boolean> | undefined
4211
4218
  include_if?:
4212
4219
  | Array<
4213
4220
  | 'can_remotely_unlock'
@@ -4294,6 +4301,13 @@ export interface Routes {
4294
4301
  created_at: string
4295
4302
  is_managed: false
4296
4303
  properties: {
4304
+ /** Represents the accessory keypad state. */
4305
+ accessory_keypad?:
4306
+ | {
4307
+ /** Indicates if the accessory_keypad is connected to the device. */
4308
+ is_connected: boolean
4309
+ }
4310
+ | undefined
4297
4311
  /**
4298
4312
  ---
4299
4313
  deprecated: use device.display_name instead
@@ -5335,7 +5349,7 @@ export interface Routes {
5335
5349
  created_at: string
5336
5350
  /** Indicates whether Seam manages the device. */
5337
5351
  is_managed: true
5338
- custom_metadata?: Record<string, string | boolean | null> | undefined
5352
+ custom_metadata: Record<string, string | boolean>
5339
5353
  can_remotely_unlock?: boolean | undefined
5340
5354
  can_remotely_lock?: boolean | undefined
5341
5355
  can_program_online_access_codes?: boolean | undefined
@@ -6052,7 +6066,7 @@ export interface Routes {
6052
6066
  created_at: string
6053
6067
  /** Indicates whether Seam manages the device. */
6054
6068
  is_managed: true
6055
- custom_metadata?: Record<string, string | boolean | null> | undefined
6069
+ custom_metadata: Record<string, string | boolean>
6056
6070
  can_remotely_unlock?: boolean | undefined
6057
6071
  can_remotely_lock?: boolean | undefined
6058
6072
  can_program_online_access_codes?: boolean | undefined
@@ -6190,7 +6204,7 @@ export interface Routes {
6190
6204
  limit?: number
6191
6205
  created_before?: Date | undefined
6192
6206
  user_identifier_key?: string | undefined
6193
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
6207
+ custom_metadata_has?: Record<string, string | boolean> | undefined
6194
6208
  include_if?:
6195
6209
  | Array<
6196
6210
  | 'can_remotely_unlock'
@@ -6921,7 +6935,7 @@ export interface Routes {
6921
6935
  created_at: string
6922
6936
  /** Indicates whether Seam manages the device. */
6923
6937
  is_managed: true
6924
- custom_metadata?: Record<string, string | boolean | null> | undefined
6938
+ custom_metadata: Record<string, string | boolean>
6925
6939
  can_remotely_unlock?: boolean | undefined
6926
6940
  can_remotely_lock?: boolean | undefined
6927
6941
  can_program_online_access_codes?: boolean | undefined
@@ -7638,7 +7652,7 @@ export interface Routes {
7638
7652
  created_at: string
7639
7653
  /** Indicates whether Seam manages the device. */
7640
7654
  is_managed: true
7641
- custom_metadata?: Record<string, string | boolean | null> | undefined
7655
+ custom_metadata: Record<string, string | boolean>
7642
7656
  can_remotely_unlock?: boolean | undefined
7643
7657
  can_remotely_lock?: boolean | undefined
7644
7658
  can_program_online_access_codes?: boolean | undefined
@@ -8017,7 +8031,7 @@ export interface Routes {
8017
8031
  created_at: string
8018
8032
  /** Indicates whether Seam manages the device. */
8019
8033
  is_managed: true
8020
- custom_metadata?: Record<string, string | boolean | null> | undefined
8034
+ custom_metadata: Record<string, string | boolean>
8021
8035
  can_remotely_unlock?: boolean | undefined
8022
8036
  can_remotely_lock?: boolean | undefined
8023
8037
  can_program_online_access_codes?: boolean | undefined
@@ -8101,7 +8115,7 @@ export interface Routes {
8101
8115
  created_at: string
8102
8116
  /** Indicates whether Seam manages the device. */
8103
8117
  is_managed: true
8104
- custom_metadata?: Record<string, string | boolean | null> | undefined
8118
+ custom_metadata: Record<string, string | boolean>
8105
8119
  can_remotely_unlock?: boolean | undefined
8106
8120
  can_remotely_lock?: boolean | undefined
8107
8121
  can_program_online_access_codes?: boolean | undefined
@@ -9032,7 +9046,7 @@ export interface Routes {
9032
9046
  created_at: string
9033
9047
  /** Indicates whether Seam manages the device. */
9034
9048
  is_managed: true
9035
- custom_metadata?: Record<string, string | boolean | null> | undefined
9049
+ custom_metadata: Record<string, string | boolean>
9036
9050
  can_remotely_unlock?: boolean | undefined
9037
9051
  can_remotely_lock?: boolean | undefined
9038
9052
  can_program_online_access_codes?: boolean | undefined
@@ -9252,7 +9266,7 @@ export interface Routes {
9252
9266
  limit?: number
9253
9267
  created_before?: Date | undefined
9254
9268
  user_identifier_key?: string | undefined
9255
- custom_metadata_has?: Record<string, string | boolean | null> | undefined
9269
+ custom_metadata_has?: Record<string, string | boolean> | undefined
9256
9270
  include_if?:
9257
9271
  | Array<
9258
9272
  | 'can_remotely_unlock'
@@ -9983,7 +9997,7 @@ export interface Routes {
9983
9997
  created_at: string
9984
9998
  /** Indicates whether Seam manages the device. */
9985
9999
  is_managed: true
9986
- custom_metadata?: Record<string, string | boolean | null> | undefined
10000
+ custom_metadata: Record<string, string | boolean>
9987
10001
  can_remotely_unlock?: boolean | undefined
9988
10002
  can_remotely_lock?: boolean | undefined
9989
10003
  can_program_online_access_codes?: boolean | undefined
@@ -10992,7 +11006,7 @@ export interface Routes {
10992
11006
  created_at: string
10993
11007
  /** Indicates whether Seam manages the device. */
10994
11008
  is_managed: true
10995
- custom_metadata?: Record<string, string | boolean | null> | undefined
11009
+ custom_metadata: Record<string, string | boolean>
10996
11010
  can_remotely_unlock?: boolean | undefined
10997
11011
  can_remotely_lock?: boolean | undefined
10998
11012
  can_program_online_access_codes?: boolean | undefined