@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
@@ -18013,11 +18013,21 @@ export default {
18013
18013
  space: {
18014
18014
  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.',
18015
18015
  properties: {
18016
+ acs_entrance_count: {
18017
+ description: 'Number of entrances in the space.',
18018
+ format: 'float',
18019
+ type: 'number',
18020
+ },
18016
18021
  created_at: {
18017
18022
  description: 'Date and time at which the space was created.',
18018
18023
  format: 'date-time',
18019
18024
  type: 'string',
18020
18025
  },
18026
+ device_count: {
18027
+ description: 'Number of devices in the space.',
18028
+ format: 'float',
18029
+ type: 'number',
18030
+ },
18021
18031
  display_name: {
18022
18032
  description: 'Display name for the space.',
18023
18033
  type: 'string',
@@ -18040,6 +18050,8 @@ export default {
18040
18050
  'name',
18041
18051
  'display_name',
18042
18052
  'created_at',
18053
+ 'device_count',
18054
+ 'acs_entrance_count',
18043
18055
  ],
18044
18056
  type: 'object',
18045
18057
  'x-draft': 'Early access.',
@@ -29106,6 +29118,15 @@ export default {
29106
29118
  type: 'array',
29107
29119
  },
29108
29120
  },
29121
+ {
29122
+ in: 'query',
29123
+ name: 'search',
29124
+ schema: {
29125
+ description: 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
29126
+ minLength: 1,
29127
+ type: 'string',
29128
+ },
29129
+ },
29109
29130
  ],
29110
29131
  responses: {
29111
29132
  200: {
@@ -29188,6 +29209,11 @@ export default {
29188
29209
  type: 'string',
29189
29210
  'x-deprecated': 'Use `space_id`.',
29190
29211
  },
29212
+ search: {
29213
+ description: 'String for which to search. Filters returned entrances to include all records that satisfy a partial match using `display_name`.',
29214
+ minLength: 1,
29215
+ type: 'string',
29216
+ },
29191
29217
  space_id: {
29192
29218
  description: 'ID of the space for which you want to list entrances.',
29193
29219
  format: 'uuid',
@@ -35475,6 +35501,15 @@ export default {
35475
35501
  type: 'string',
35476
35502
  },
35477
35503
  },
35504
+ {
35505
+ in: 'query',
35506
+ name: 'access_method_id',
35507
+ schema: {
35508
+ description: 'ID of the access method for which you want to retrieve all devices.',
35509
+ format: 'uuid',
35510
+ type: 'string',
35511
+ },
35512
+ },
35478
35513
  ],
35479
35514
  responses: {
35480
35515
  200: {
@@ -35522,6 +35557,11 @@ export default {
35522
35557
  'application/json': {
35523
35558
  schema: {
35524
35559
  properties: {
35560
+ access_method_id: {
35561
+ description: 'ID of the access method for which you want to retrieve all devices.',
35562
+ format: 'uuid',
35563
+ type: 'string',
35564
+ },
35525
35565
  connect_webview_id: {
35526
35566
  description: 'ID of the Connect Webview for which you want to list devices.',
35527
35567
  format: 'uuid',
@@ -36687,6 +36727,15 @@ export default {
36687
36727
  type: 'string',
36688
36728
  },
36689
36729
  },
36730
+ {
36731
+ in: 'query',
36732
+ name: 'access_method_id',
36733
+ schema: {
36734
+ description: 'ID of the access method for which you want to retrieve all devices.',
36735
+ format: 'uuid',
36736
+ type: 'string',
36737
+ },
36738
+ },
36690
36739
  ],
36691
36740
  responses: {
36692
36741
  200: {
@@ -36731,6 +36780,11 @@ export default {
36731
36780
  'application/json': {
36732
36781
  schema: {
36733
36782
  properties: {
36783
+ access_method_id: {
36784
+ description: 'ID of the access method for which you want to retrieve all devices.',
36785
+ format: 'uuid',
36786
+ type: 'string',
36787
+ },
36734
36788
  connect_webview_id: {
36735
36789
  description: 'ID of the Connect Webview for which you want to list devices.',
36736
36790
  format: 'uuid',
@@ -38565,6 +38619,15 @@ export default {
38565
38619
  type: 'string',
38566
38620
  },
38567
38621
  },
38622
+ {
38623
+ in: 'query',
38624
+ name: 'access_method_id',
38625
+ schema: {
38626
+ description: 'ID of the access method for which you want to retrieve all devices.',
38627
+ format: 'uuid',
38628
+ type: 'string',
38629
+ },
38630
+ },
38568
38631
  ],
38569
38632
  responses: {
38570
38633
  200: {
@@ -38614,6 +38677,11 @@ export default {
38614
38677
  'application/json': {
38615
38678
  schema: {
38616
38679
  properties: {
38680
+ access_method_id: {
38681
+ description: 'ID of the access method for which you want to retrieve all devices.',
38682
+ format: 'uuid',
38683
+ type: 'string',
38684
+ },
38617
38685
  connect_webview_id: {
38618
38686
  description: 'ID of the Connect Webview for which you want to list devices.',
38619
38687
  format: 'uuid',
@@ -39562,6 +39630,15 @@ export default {
39562
39630
  type: 'string',
39563
39631
  },
39564
39632
  },
39633
+ {
39634
+ in: 'query',
39635
+ name: 'access_method_id',
39636
+ schema: {
39637
+ description: 'ID of the access method for which you want to retrieve all devices.',
39638
+ format: 'uuid',
39639
+ type: 'string',
39640
+ },
39641
+ },
39565
39642
  ],
39566
39643
  responses: {
39567
39644
  200: {
@@ -39611,6 +39688,11 @@ export default {
39611
39688
  'application/json': {
39612
39689
  schema: {
39613
39690
  properties: {
39691
+ access_method_id: {
39692
+ description: 'ID of the access method for which you want to retrieve all devices.',
39693
+ format: 'uuid',
39694
+ type: 'string',
39695
+ },
39614
39696
  connect_webview_id: {
39615
39697
  description: 'ID of the Connect Webview for which you want to list devices.',
39616
39698
  format: 'uuid',
@@ -43501,6 +43583,17 @@ export default {
43501
43583
  get: {
43502
43584
  description: 'Returns a list of all spaces.',
43503
43585
  operationId: 'spacesListGet',
43586
+ parameters: [
43587
+ {
43588
+ in: 'query',
43589
+ name: 'search',
43590
+ schema: {
43591
+ description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
43592
+ minLength: 1,
43593
+ type: 'string',
43594
+ },
43595
+ },
43596
+ ],
43504
43597
  responses: {
43505
43598
  200: {
43506
43599
  content: {
@@ -43540,6 +43633,22 @@ export default {
43540
43633
  post: {
43541
43634
  description: 'Returns a list of all spaces.',
43542
43635
  operationId: 'spacesListPost',
43636
+ requestBody: {
43637
+ content: {
43638
+ 'application/json': {
43639
+ schema: {
43640
+ properties: {
43641
+ search: {
43642
+ description: 'String for which to search. Filters returned spaces to include all records that satisfy a partial match using `name`.',
43643
+ minLength: 1,
43644
+ type: 'string',
43645
+ },
43646
+ },
43647
+ type: 'object',
43648
+ },
43649
+ },
43650
+ },
43651
+ },
43543
43652
  responses: {
43544
43653
  200: {
43545
43654
  content: {
@@ -45117,6 +45226,15 @@ export default {
45117
45226
  type: 'string',
45118
45227
  },
45119
45228
  },
45229
+ {
45230
+ in: 'query',
45231
+ name: 'access_method_id',
45232
+ schema: {
45233
+ description: 'ID of the access method for which you want to retrieve all devices.',
45234
+ format: 'uuid',
45235
+ type: 'string',
45236
+ },
45237
+ },
45120
45238
  ],
45121
45239
  responses: {
45122
45240
  200: {
@@ -45166,6 +45284,11 @@ export default {
45166
45284
  'application/json': {
45167
45285
  schema: {
45168
45286
  properties: {
45287
+ access_method_id: {
45288
+ description: 'ID of the access method for which you want to retrieve all devices.',
45289
+ format: 'uuid',
45290
+ type: 'string',
45291
+ },
45169
45292
  connect_webview_id: {
45170
45293
  description: 'ID of the Connect Webview for which you want to list devices.',
45171
45294
  format: 'uuid',