@seamapi/types 1.441.2 → 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 +127 -2
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +1966 -1914
  4. package/dist/devicedb.cjs.map +1 -1
  5. package/dist/devicedb.d.cts +27 -27
  6. package/dist/index.cjs +127 -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 +81 -0
  69. package/lib/seam/connect/openapi.js +123 -0
  70. package/lib/seam/connect/openapi.js.map +1 -1
  71. package/lib/seam/connect/route-types.d.ts +36 -1
  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 +137 -0
  77. package/src/lib/seam/connect/route-types.ts +36 -1
  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.",
@@ -34627,6 +34641,15 @@ var openapi_default = {
34627
34641
  items: { format: "uuid", type: "string" },
34628
34642
  type: "array"
34629
34643
  }
34644
+ },
34645
+ {
34646
+ in: "query",
34647
+ name: "search",
34648
+ schema: {
34649
+ description: "String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.",
34650
+ minLength: 1,
34651
+ type: "string"
34652
+ }
34630
34653
  }
34631
34654
  ],
34632
34655
  responses: {
@@ -34710,6 +34733,11 @@ var openapi_default = {
34710
34733
  type: "string",
34711
34734
  "x-deprecated": "Use `space_id`."
34712
34735
  },
34736
+ search: {
34737
+ description: "String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.",
34738
+ minLength: 1,
34739
+ type: "string"
34740
+ },
34713
34741
  space_id: {
34714
34742
  description: "ID of the space for which you want to list entrances.",
34715
34743
  format: "uuid",
@@ -40996,6 +41024,15 @@ var openapi_default = {
40996
41024
  minLength: 1,
40997
41025
  type: "string"
40998
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
+ }
40999
41036
  }
41000
41037
  ],
41001
41038
  responses: {
@@ -41044,6 +41081,11 @@ var openapi_default = {
41044
41081
  "application/json": {
41045
41082
  schema: {
41046
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
+ },
41047
41089
  connect_webview_id: {
41048
41090
  description: "ID of the Connect Webview for which you want to list devices.",
41049
41091
  format: "uuid",
@@ -42208,6 +42250,15 @@ var openapi_default = {
42208
42250
  minLength: 1,
42209
42251
  type: "string"
42210
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
+ }
42211
42262
  }
42212
42263
  ],
42213
42264
  responses: {
@@ -42253,6 +42304,11 @@ var openapi_default = {
42253
42304
  "application/json": {
42254
42305
  schema: {
42255
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
+ },
42256
42312
  connect_webview_id: {
42257
42313
  description: "ID of the Connect Webview for which you want to list devices.",
42258
42314
  format: "uuid",
@@ -44086,6 +44142,15 @@ var openapi_default = {
44086
44142
  minLength: 1,
44087
44143
  type: "string"
44088
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
+ }
44089
44154
  }
44090
44155
  ],
44091
44156
  responses: {
@@ -44136,6 +44201,11 @@ var openapi_default = {
44136
44201
  "application/json": {
44137
44202
  schema: {
44138
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
+ },
44139
44209
  connect_webview_id: {
44140
44210
  description: "ID of the Connect Webview for which you want to list devices.",
44141
44211
  format: "uuid",
@@ -45083,6 +45153,15 @@ var openapi_default = {
45083
45153
  minLength: 1,
45084
45154
  type: "string"
45085
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
+ }
45086
45165
  }
45087
45166
  ],
45088
45167
  responses: {
@@ -45133,6 +45212,11 @@ var openapi_default = {
45133
45212
  "application/json": {
45134
45213
  schema: {
45135
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
+ },
45136
45220
  connect_webview_id: {
45137
45221
  description: "ID of the Connect Webview for which you want to list devices.",
45138
45222
  format: "uuid",
@@ -49023,6 +49107,17 @@ var openapi_default = {
49023
49107
  get: {
49024
49108
  description: "Returns a list of all spaces.",
49025
49109
  operationId: "spacesListGet",
49110
+ parameters: [
49111
+ {
49112
+ in: "query",
49113
+ name: "search",
49114
+ schema: {
49115
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49116
+ minLength: 1,
49117
+ type: "string"
49118
+ }
49119
+ }
49120
+ ],
49026
49121
  responses: {
49027
49122
  200: {
49028
49123
  content: {
@@ -49062,6 +49157,22 @@ var openapi_default = {
49062
49157
  post: {
49063
49158
  description: "Returns a list of all spaces.",
49064
49159
  operationId: "spacesListPost",
49160
+ requestBody: {
49161
+ content: {
49162
+ "application/json": {
49163
+ schema: {
49164
+ properties: {
49165
+ search: {
49166
+ description: "String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.",
49167
+ minLength: 1,
49168
+ type: "string"
49169
+ }
49170
+ },
49171
+ type: "object"
49172
+ }
49173
+ }
49174
+ }
49175
+ },
49065
49176
  responses: {
49066
49177
  200: {
49067
49178
  content: {
@@ -50638,6 +50749,15 @@ var openapi_default = {
50638
50749
  minLength: 1,
50639
50750
  type: "string"
50640
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
+ }
50641
50761
  }
50642
50762
  ],
50643
50763
  responses: {
@@ -50688,6 +50808,11 @@ var openapi_default = {
50688
50808
  "application/json": {
50689
50809
  schema: {
50690
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
+ },
50691
50816
  connect_webview_id: {
50692
50817
  description: "ID of the Connect Webview for which you want to list devices.",
50693
50818
  format: "uuid",