@seamapi/types 1.442.0 → 1.443.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 (89) hide show
  1. package/dist/connect.cjs +86 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1914 -1913
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +86 -2
  7. package/dist/index.cjs.map +1 -1
  8. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +387 -389
  9. package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +173 -186
  10. package/lib/seam/connect/models/acs/acs-access-group.d.ts +18 -18
  11. package/lib/seam/connect/models/acs/acs-credential.d.ts +63 -63
  12. package/lib/seam/connect/models/acs/acs-encoder.d.ts +6 -6
  13. package/lib/seam/connect/models/acs/acs-entrance.d.ts +3 -3
  14. package/lib/seam/connect/models/acs/acs-system.d.ts +56 -56
  15. package/lib/seam/connect/models/acs/acs-users/acs-user.d.ts +152 -152
  16. package/lib/seam/connect/models/acs/acs-users/pending-mutations.d.ts +45 -45
  17. package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -354
  18. package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +12 -15
  19. package/lib/seam/connect/models/action-attempts/common.d.ts +9 -12
  20. package/lib/seam/connect/models/action-attempts/deprecated.d.ts +84 -105
  21. package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +54 -57
  22. package/lib/seam/connect/models/action-attempts/lock-door.d.ts +12 -15
  23. package/lib/seam/connect/models/action-attempts/push-thermostat-programs.d.ts +12 -15
  24. package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +12 -15
  25. package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +54 -57
  26. package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +12 -15
  27. package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +12 -15
  28. package/lib/seam/connect/models/action-attempts/simulate-keypad-code-entry.d.ts +12 -15
  29. package/lib/seam/connect/models/action-attempts/simulate-manual-lock-via-keypad.d.ts +12 -15
  30. package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +12 -15
  31. package/lib/seam/connect/models/batches/batch.d.ts +128 -120
  32. package/lib/seam/connect/models/batches/spaces.d.ts +128 -120
  33. package/lib/seam/connect/models/bridges/bridge-client-session.d.ts +24 -24
  34. package/lib/seam/connect/models/client-sessions/client-session.d.ts +2 -2
  35. package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +78 -78
  36. package/lib/seam/connect/models/customer/access-grant-resources.d.ts +30 -30
  37. package/lib/seam/connect/models/customer/customer-data.d.ts +57 -57
  38. package/lib/seam/connect/models/customer/location-resources.d.ts +54 -54
  39. package/lib/seam/connect/models/customer/user-identity-resources.d.ts +30 -30
  40. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +3 -3
  41. package/lib/seam/connect/models/devices/device-provider.d.ts +4 -4
  42. package/lib/seam/connect/models/devices/device.d.ts +368 -376
  43. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +118 -120
  44. package/lib/seam/connect/models/events/access-codes.d.ts +136 -136
  45. package/lib/seam/connect/models/events/access-grants.d.ts +40 -40
  46. package/lib/seam/connect/models/events/access-methods.d.ts +40 -40
  47. package/lib/seam/connect/models/events/acs/access-groups.d.ts +10 -10
  48. package/lib/seam/connect/models/events/acs/common.d.ts +3 -3
  49. package/lib/seam/connect/models/events/acs/credentials.d.ts +40 -40
  50. package/lib/seam/connect/models/events/acs/encoders.d.ts +20 -20
  51. package/lib/seam/connect/models/events/acs/entrances.d.ts +20 -20
  52. package/lib/seam/connect/models/events/acs/index.d.ts +67 -67
  53. package/lib/seam/connect/models/events/acs/systems.d.ts +24 -24
  54. package/lib/seam/connect/models/events/acs/users.d.ts +20 -20
  55. package/lib/seam/connect/models/events/action-attempts.d.ts +32 -32
  56. package/lib/seam/connect/models/events/client-sessions.d.ts +8 -8
  57. package/lib/seam/connect/models/events/connect-webviews.d.ts +16 -16
  58. package/lib/seam/connect/models/events/connected-accounts.d.ts +56 -56
  59. package/lib/seam/connect/models/events/devices.d.ts +266 -266
  60. package/lib/seam/connect/models/events/enrollment-automations.d.ts +8 -8
  61. package/lib/seam/connect/models/events/phones.d.ts +8 -8
  62. package/lib/seam/connect/models/events/seam-event.d.ts +372 -372
  63. package/lib/seam/connect/models/phones/phone-session.d.ts +50 -50
  64. package/lib/seam/connect/models/spaces/space.d.ts +6 -0
  65. package/lib/seam/connect/models/spaces/space.js +2 -0
  66. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  67. package/lib/seam/connect/models/user-identities/user-identity.d.ts +18 -18
  68. package/lib/seam/connect/openapi.d.ts +35 -0
  69. package/lib/seam/connect/openapi.js +82 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +30 -0
  72. package/lib/seam/devicedb/models/device-model.d.ts +15 -15
  73. package/lib/seam/devicedb/route-specs.d.ts +12 -12
  74. package/package.json +8 -7
  75. package/src/lib/seam/connect/models/spaces/space.ts +2 -0
  76. package/src/lib/seam/connect/openapi.ts +92 -0
  77. package/src/lib/seam/connect/route-types.ts +30 -0
  78. package/lib/seam/connect/internal/enums.d.ts +0 -1
  79. package/lib/seam/connect/internal/enums.js +0 -2
  80. package/lib/seam/connect/internal/enums.js.map +0 -1
  81. package/lib/seam/connect/internal/index.d.ts +0 -4
  82. package/lib/seam/connect/internal/index.js +0 -5
  83. package/lib/seam/connect/internal/index.js.map +0 -1
  84. package/lib/seam/connect/internal/model-types.d.ts +0 -2
  85. package/lib/seam/connect/internal/model-types.js +0 -2
  86. package/lib/seam/connect/internal/model-types.js.map +0 -1
  87. package/lib/seam/connect/internal/schemas.d.ts +0 -2
  88. package/lib/seam/connect/internal/schemas.js +0 -3
  89. package/lib/seam/connect/internal/schemas.js.map +0 -1
package/dist/connect.cjs CHANGED
@@ -3968,7 +3968,9 @@ var space = zod.z.object({
3968
3968
  ),
3969
3969
  name: zod.z.string().describe("Name of the space."),
3970
3970
  display_name: zod.z.string().describe("Display name for the space."),
3971
- created_at: zod.z.string().datetime().describe("Date and time at which the space was created.")
3971
+ created_at: zod.z.string().datetime().describe("Date and time at which the space was created."),
3972
+ device_count: zod.z.number().describe("Number of devices in the space."),
3973
+ acs_entrance_count: zod.z.number().describe("Number of entrances in the space.")
3972
3974
  }).describe(`
3973
3975
  ---
3974
3976
  draft: Early access.
@@ -23535,11 +23537,21 @@ var openapi_default = {
23535
23537
  space: {
23536
23538
  description: "Represents a space that is a logical grouping of devices and entrances. You can assign access to an entire space, thereby making granting access more efficient.",
23537
23539
  properties: {
23540
+ acs_entrance_count: {
23541
+ description: "Number of entrances in the space.",
23542
+ format: "float",
23543
+ type: "number"
23544
+ },
23538
23545
  created_at: {
23539
23546
  description: "Date and time at which the space was created.",
23540
23547
  format: "date-time",
23541
23548
  type: "string"
23542
23549
  },
23550
+ device_count: {
23551
+ description: "Number of devices in the space.",
23552
+ format: "float",
23553
+ type: "number"
23554
+ },
23543
23555
  display_name: {
23544
23556
  description: "Display name for the space.",
23545
23557
  type: "string"
@@ -23561,7 +23573,9 @@ var openapi_default = {
23561
23573
  "workspace_id",
23562
23574
  "name",
23563
23575
  "display_name",
23564
- "created_at"
23576
+ "created_at",
23577
+ "device_count",
23578
+ "acs_entrance_count"
23565
23579
  ],
23566
23580
  type: "object",
23567
23581
  "x-draft": "Early access.",
@@ -41010,6 +41024,15 @@ var openapi_default = {
41010
41024
  minLength: 1,
41011
41025
  type: "string"
41012
41026
  }
41027
+ },
41028
+ {
41029
+ in: "query",
41030
+ name: "access_method_id",
41031
+ schema: {
41032
+ description: "ID of the access method for which you want to retrieve all devices.",
41033
+ format: "uuid",
41034
+ type: "string"
41035
+ }
41013
41036
  }
41014
41037
  ],
41015
41038
  responses: {
@@ -41058,6 +41081,11 @@ var openapi_default = {
41058
41081
  "application/json": {
41059
41082
  schema: {
41060
41083
  properties: {
41084
+ access_method_id: {
41085
+ description: "ID of the access method for which you want to retrieve all devices.",
41086
+ format: "uuid",
41087
+ type: "string"
41088
+ },
41061
41089
  connect_webview_id: {
41062
41090
  description: "ID of the Connect Webview for which you want to list devices.",
41063
41091
  format: "uuid",
@@ -42222,6 +42250,15 @@ var openapi_default = {
42222
42250
  minLength: 1,
42223
42251
  type: "string"
42224
42252
  }
42253
+ },
42254
+ {
42255
+ in: "query",
42256
+ name: "access_method_id",
42257
+ schema: {
42258
+ description: "ID of the access method for which you want to retrieve all devices.",
42259
+ format: "uuid",
42260
+ type: "string"
42261
+ }
42225
42262
  }
42226
42263
  ],
42227
42264
  responses: {
@@ -42267,6 +42304,11 @@ var openapi_default = {
42267
42304
  "application/json": {
42268
42305
  schema: {
42269
42306
  properties: {
42307
+ access_method_id: {
42308
+ description: "ID of the access method for which you want to retrieve all devices.",
42309
+ format: "uuid",
42310
+ type: "string"
42311
+ },
42270
42312
  connect_webview_id: {
42271
42313
  description: "ID of the Connect Webview for which you want to list devices.",
42272
42314
  format: "uuid",
@@ -44100,6 +44142,15 @@ var openapi_default = {
44100
44142
  minLength: 1,
44101
44143
  type: "string"
44102
44144
  }
44145
+ },
44146
+ {
44147
+ in: "query",
44148
+ name: "access_method_id",
44149
+ schema: {
44150
+ description: "ID of the access method for which you want to retrieve all devices.",
44151
+ format: "uuid",
44152
+ type: "string"
44153
+ }
44103
44154
  }
44104
44155
  ],
44105
44156
  responses: {
@@ -44150,6 +44201,11 @@ var openapi_default = {
44150
44201
  "application/json": {
44151
44202
  schema: {
44152
44203
  properties: {
44204
+ access_method_id: {
44205
+ description: "ID of the access method for which you want to retrieve all devices.",
44206
+ format: "uuid",
44207
+ type: "string"
44208
+ },
44153
44209
  connect_webview_id: {
44154
44210
  description: "ID of the Connect Webview for which you want to list devices.",
44155
44211
  format: "uuid",
@@ -45097,6 +45153,15 @@ var openapi_default = {
45097
45153
  minLength: 1,
45098
45154
  type: "string"
45099
45155
  }
45156
+ },
45157
+ {
45158
+ in: "query",
45159
+ name: "access_method_id",
45160
+ schema: {
45161
+ description: "ID of the access method for which you want to retrieve all devices.",
45162
+ format: "uuid",
45163
+ type: "string"
45164
+ }
45100
45165
  }
45101
45166
  ],
45102
45167
  responses: {
@@ -45147,6 +45212,11 @@ var openapi_default = {
45147
45212
  "application/json": {
45148
45213
  schema: {
45149
45214
  properties: {
45215
+ access_method_id: {
45216
+ description: "ID of the access method for which you want to retrieve all devices.",
45217
+ format: "uuid",
45218
+ type: "string"
45219
+ },
45150
45220
  connect_webview_id: {
45151
45221
  description: "ID of the Connect Webview for which you want to list devices.",
45152
45222
  format: "uuid",
@@ -50679,6 +50749,15 @@ var openapi_default = {
50679
50749
  minLength: 1,
50680
50750
  type: "string"
50681
50751
  }
50752
+ },
50753
+ {
50754
+ in: "query",
50755
+ name: "access_method_id",
50756
+ schema: {
50757
+ description: "ID of the access method for which you want to retrieve all devices.",
50758
+ format: "uuid",
50759
+ type: "string"
50760
+ }
50682
50761
  }
50683
50762
  ],
50684
50763
  responses: {
@@ -50729,6 +50808,11 @@ var openapi_default = {
50729
50808
  "application/json": {
50730
50809
  schema: {
50731
50810
  properties: {
50811
+ access_method_id: {
50812
+ description: "ID of the access method for which you want to retrieve all devices.",
50813
+ format: "uuid",
50814
+ type: "string"
50815
+ },
50732
50816
  connect_webview_id: {
50733
50817
  description: "ID of the Connect Webview for which you want to list devices.",
50734
50818
  format: "uuid",