@seamapi/types 1.815.0 → 1.817.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 (28) hide show
  1. package/dist/connect.cjs +0 -8
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +207 -207
  4. package/dist/index.cjs +0 -8
  5. package/dist/index.cjs.map +1 -1
  6. package/lib/seam/connect/models/acs/acs-credential.d.ts +7 -7
  7. package/lib/seam/connect/models/acs/acs-credential.js +0 -1
  8. package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
  9. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +24 -24
  10. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +10 -10
  11. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +14 -14
  12. package/lib/seam/connect/models/batch.d.ts +42 -42
  13. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +4 -4
  14. package/lib/seam/connect/models/connected-accounts/connected-account.js +2 -2
  15. package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
  16. package/lib/seam/connect/models/devices/device.d.ts +4 -4
  17. package/lib/seam/connect/models/devices/device.js +2 -2
  18. package/lib/seam/connect/models/devices/device.js.map +1 -1
  19. package/lib/seam/connect/models/phones/phone-session.d.ts +12 -12
  20. package/lib/seam/connect/openapi.js +0 -7
  21. package/lib/seam/connect/openapi.js.map +1 -1
  22. package/lib/seam/connect/route-types.d.ts +135 -135
  23. package/package.json +1 -1
  24. package/src/lib/seam/connect/models/acs/acs-credential.ts +0 -1
  25. package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
  26. package/src/lib/seam/connect/models/devices/device.ts +4 -4
  27. package/src/lib/seam/connect/openapi.ts +0 -7
  28. package/src/lib/seam/connect/route-types.ts +0 -135
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.815.0",
3
+ "version": "1.817.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -9,7 +9,6 @@ import {
9
9
  export const acs_credential_external_type = z.enum([
10
10
  'pti_card',
11
11
  'brivo_credential',
12
- 'brivo_digital_credential',
13
12
  'hid_credential',
14
13
  'visionline_card',
15
14
  'salto_ks_credential',
@@ -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({
@@ -3796,7 +3796,6 @@ export default {
3796
3796
  enum: [
3797
3797
  'pti_card',
3798
3798
  'brivo_credential',
3799
- 'brivo_digital_credential',
3800
3799
  'hid_credential',
3801
3800
  'visionline_card',
3802
3801
  'salto_ks_credential',
@@ -6368,7 +6367,6 @@ export default {
6368
6367
  enum: [
6369
6368
  'pti_card',
6370
6369
  'brivo_credential',
6371
- 'brivo_digital_credential',
6372
6370
  'hid_credential',
6373
6371
  'visionline_card',
6374
6372
  'salto_ks_credential',
@@ -6825,7 +6823,6 @@ export default {
6825
6823
  enum: [
6826
6824
  'pti_card',
6827
6825
  'brivo_credential',
6828
- 'brivo_digital_credential',
6829
6826
  'hid_credential',
6830
6827
  'visionline_card',
6831
6828
  'salto_ks_credential',
@@ -7538,7 +7535,6 @@ export default {
7538
7535
  enum: [
7539
7536
  'pti_card',
7540
7537
  'brivo_credential',
7541
- 'brivo_digital_credential',
7542
7538
  'hid_credential',
7543
7539
  'visionline_card',
7544
7540
  'salto_ks_credential',
@@ -7992,7 +7988,6 @@ export default {
7992
7988
  enum: [
7993
7989
  'pti_card',
7994
7990
  'brivo_credential',
7995
- 'brivo_digital_credential',
7996
7991
  'hid_credential',
7997
7992
  'visionline_card',
7998
7993
  'salto_ks_credential',
@@ -25267,7 +25262,6 @@ export default {
25267
25262
  enum: [
25268
25263
  'pti_card',
25269
25264
  'brivo_credential',
25270
- 'brivo_digital_credential',
25271
25265
  'hid_credential',
25272
25266
  'visionline_card',
25273
25267
  'salto_ks_credential',
@@ -28647,7 +28641,6 @@ export default {
28647
28641
  enum: [
28648
28642
  'pti_card',
28649
28643
  'brivo_credential',
28650
- 'brivo_digital_credential',
28651
28644
  'hid_credential',
28652
28645
  'visionline_card',
28653
28646
  'salto_ks_credential',