@seamapi/types 1.442.0 → 1.444.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 +131 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1935 -1913
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +131 -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 +50 -0
  69. package/lib/seam/connect/openapi.js +127 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -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 +143 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -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.",
@@ -31138,6 +31152,36 @@ var openapi_default = {
31138
31152
  format: "uuid",
31139
31153
  type: "string"
31140
31154
  }
31155
+ },
31156
+ {
31157
+ in: "query",
31158
+ name: "device_id",
31159
+ required: false,
31160
+ schema: {
31161
+ description: "ID of the device for which you want to retrieve all access methods.",
31162
+ format: "uuid",
31163
+ type: "string"
31164
+ }
31165
+ },
31166
+ {
31167
+ in: "query",
31168
+ name: "acs_entrance_id",
31169
+ required: false,
31170
+ schema: {
31171
+ description: "ID of the entrance for which you want to retrieve all access methods.",
31172
+ format: "uuid",
31173
+ type: "string"
31174
+ }
31175
+ },
31176
+ {
31177
+ in: "query",
31178
+ name: "space_id",
31179
+ required: false,
31180
+ schema: {
31181
+ description: "ID of the space for which you want to retrieve all access methods.",
31182
+ format: "uuid",
31183
+ type: "string"
31184
+ }
31141
31185
  }
31142
31186
  ],
31143
31187
  responses: {
@@ -31188,6 +31232,21 @@ var openapi_default = {
31188
31232
  description: "ID of access grant to list access methods for.",
31189
31233
  format: "uuid",
31190
31234
  type: "string"
31235
+ },
31236
+ acs_entrance_id: {
31237
+ description: "ID of the entrance for which you want to retrieve all access methods.",
31238
+ format: "uuid",
31239
+ type: "string"
31240
+ },
31241
+ device_id: {
31242
+ description: "ID of the device for which you want to retrieve all access methods.",
31243
+ format: "uuid",
31244
+ type: "string"
31245
+ },
31246
+ space_id: {
31247
+ description: "ID of the space for which you want to retrieve all access methods.",
31248
+ format: "uuid",
31249
+ type: "string"
31191
31250
  }
31192
31251
  },
31193
31252
  required: ["access_grant_id"],
@@ -41010,6 +41069,15 @@ var openapi_default = {
41010
41069
  minLength: 1,
41011
41070
  type: "string"
41012
41071
  }
41072
+ },
41073
+ {
41074
+ in: "query",
41075
+ name: "access_method_id",
41076
+ schema: {
41077
+ description: "ID of the access method for which you want to retrieve all devices.",
41078
+ format: "uuid",
41079
+ type: "string"
41080
+ }
41013
41081
  }
41014
41082
  ],
41015
41083
  responses: {
@@ -41058,6 +41126,11 @@ var openapi_default = {
41058
41126
  "application/json": {
41059
41127
  schema: {
41060
41128
  properties: {
41129
+ access_method_id: {
41130
+ description: "ID of the access method for which you want to retrieve all devices.",
41131
+ format: "uuid",
41132
+ type: "string"
41133
+ },
41061
41134
  connect_webview_id: {
41062
41135
  description: "ID of the Connect Webview for which you want to list devices.",
41063
41136
  format: "uuid",
@@ -42222,6 +42295,15 @@ var openapi_default = {
42222
42295
  minLength: 1,
42223
42296
  type: "string"
42224
42297
  }
42298
+ },
42299
+ {
42300
+ in: "query",
42301
+ name: "access_method_id",
42302
+ schema: {
42303
+ description: "ID of the access method for which you want to retrieve all devices.",
42304
+ format: "uuid",
42305
+ type: "string"
42306
+ }
42225
42307
  }
42226
42308
  ],
42227
42309
  responses: {
@@ -42267,6 +42349,11 @@ var openapi_default = {
42267
42349
  "application/json": {
42268
42350
  schema: {
42269
42351
  properties: {
42352
+ access_method_id: {
42353
+ description: "ID of the access method for which you want to retrieve all devices.",
42354
+ format: "uuid",
42355
+ type: "string"
42356
+ },
42270
42357
  connect_webview_id: {
42271
42358
  description: "ID of the Connect Webview for which you want to list devices.",
42272
42359
  format: "uuid",
@@ -44100,6 +44187,15 @@ var openapi_default = {
44100
44187
  minLength: 1,
44101
44188
  type: "string"
44102
44189
  }
44190
+ },
44191
+ {
44192
+ in: "query",
44193
+ name: "access_method_id",
44194
+ schema: {
44195
+ description: "ID of the access method for which you want to retrieve all devices.",
44196
+ format: "uuid",
44197
+ type: "string"
44198
+ }
44103
44199
  }
44104
44200
  ],
44105
44201
  responses: {
@@ -44150,6 +44246,11 @@ var openapi_default = {
44150
44246
  "application/json": {
44151
44247
  schema: {
44152
44248
  properties: {
44249
+ access_method_id: {
44250
+ description: "ID of the access method for which you want to retrieve all devices.",
44251
+ format: "uuid",
44252
+ type: "string"
44253
+ },
44153
44254
  connect_webview_id: {
44154
44255
  description: "ID of the Connect Webview for which you want to list devices.",
44155
44256
  format: "uuid",
@@ -45097,6 +45198,15 @@ var openapi_default = {
45097
45198
  minLength: 1,
45098
45199
  type: "string"
45099
45200
  }
45201
+ },
45202
+ {
45203
+ in: "query",
45204
+ name: "access_method_id",
45205
+ schema: {
45206
+ description: "ID of the access method for which you want to retrieve all devices.",
45207
+ format: "uuid",
45208
+ type: "string"
45209
+ }
45100
45210
  }
45101
45211
  ],
45102
45212
  responses: {
@@ -45147,6 +45257,11 @@ var openapi_default = {
45147
45257
  "application/json": {
45148
45258
  schema: {
45149
45259
  properties: {
45260
+ access_method_id: {
45261
+ description: "ID of the access method for which you want to retrieve all devices.",
45262
+ format: "uuid",
45263
+ type: "string"
45264
+ },
45150
45265
  connect_webview_id: {
45151
45266
  description: "ID of the Connect Webview for which you want to list devices.",
45152
45267
  format: "uuid",
@@ -50679,6 +50794,15 @@ var openapi_default = {
50679
50794
  minLength: 1,
50680
50795
  type: "string"
50681
50796
  }
50797
+ },
50798
+ {
50799
+ in: "query",
50800
+ name: "access_method_id",
50801
+ schema: {
50802
+ description: "ID of the access method for which you want to retrieve all devices.",
50803
+ format: "uuid",
50804
+ type: "string"
50805
+ }
50682
50806
  }
50683
50807
  ],
50684
50808
  responses: {
@@ -50729,6 +50853,11 @@ var openapi_default = {
50729
50853
  "application/json": {
50730
50854
  schema: {
50731
50855
  properties: {
50856
+ access_method_id: {
50857
+ description: "ID of the access method for which you want to retrieve all devices.",
50858
+ format: "uuid",
50859
+ type: "string"
50860
+ },
50732
50861
  connect_webview_id: {
50733
50862
  description: "ID of the Connect Webview for which you want to list devices.",
50734
50863
  format: "uuid",