@seamapi/types 1.812.0 → 1.814.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.
@@ -20644,9 +20644,13 @@ export default {
20644
20644
  type: 'string',
20645
20645
  },
20646
20646
  event_type: { enum: ['lock.locked'], type: 'string' },
20647
+ is_bluetooth_action: {
20648
+ description: "\n Whether the lock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.\n ",
20649
+ type: 'boolean',
20650
+ },
20647
20651
  method: {
20648
20652
  description: 'Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device.',
20649
- enum: ['keycode', 'manual', 'automatic', 'unknown', 'seamapi'],
20653
+ enum: ['keycode', 'manual', 'automatic', 'unknown', 'remote'],
20650
20654
  type: 'string',
20651
20655
  },
20652
20656
  occurred_at: {
@@ -20744,9 +20748,13 @@ export default {
20744
20748
  type: 'string',
20745
20749
  },
20746
20750
  event_type: { enum: ['lock.unlocked'], type: 'string' },
20751
+ is_bluetooth_action: {
20752
+ description: "\n Whether the unlock action was performed over Bluetooth by a remote client (such as the provider's mobile app), rather than a direct physical interaction or a Seam-initiated remote action.\n ",
20753
+ type: 'boolean',
20754
+ },
20747
20755
  method: {
20748
20756
  description: 'Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.',
20749
- enum: ['keycode', 'manual', 'automatic', 'unknown', 'seamapi'],
20757
+ enum: ['keycode', 'manual', 'automatic', 'unknown', 'remote'],
20750
20758
  type: 'string',
20751
20759
  },
20752
20760
  occurred_at: {
@@ -68086,6 +68094,116 @@ export default {
68086
68094
  'x-title': 'Add Entrances to a Space',
68087
68095
  },
68088
68096
  },
68097
+ '/spaces/add_connected_account': {
68098
+ post: {
68099
+ description: 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
68100
+ operationId: 'spacesAddConnectedAccountPost',
68101
+ requestBody: {
68102
+ content: {
68103
+ 'application/json': {
68104
+ schema: {
68105
+ properties: {
68106
+ connected_account_id: {
68107
+ description: 'ID of the connected account that you want to add to the space.',
68108
+ format: 'uuid',
68109
+ type: 'string',
68110
+ },
68111
+ space_id: {
68112
+ description: 'ID of the space to which you want to add the connected account.',
68113
+ format: 'uuid',
68114
+ type: 'string',
68115
+ },
68116
+ },
68117
+ required: ['space_id', 'connected_account_id'],
68118
+ type: 'object',
68119
+ },
68120
+ },
68121
+ },
68122
+ },
68123
+ responses: {
68124
+ 200: {
68125
+ content: {
68126
+ 'application/json': {
68127
+ schema: {
68128
+ properties: { ok: { type: 'boolean' } },
68129
+ required: ['ok'],
68130
+ type: 'object',
68131
+ },
68132
+ },
68133
+ },
68134
+ description: 'OK',
68135
+ },
68136
+ 400: { description: 'Bad Request' },
68137
+ 401: { description: 'Unauthorized' },
68138
+ },
68139
+ security: [
68140
+ { pat_with_workspace: [] },
68141
+ { console_session_with_workspace: [] },
68142
+ { api_key: [] },
68143
+ { client_session_with_customer: [] },
68144
+ ],
68145
+ summary: '/spaces/add_connected_account',
68146
+ tags: [],
68147
+ 'x-fern-sdk-group-name': ['spaces'],
68148
+ 'x-fern-sdk-method-name': 'add_connected_account',
68149
+ 'x-response-key': null,
68150
+ 'x-title': 'Add a Connected Account to a Space',
68151
+ },
68152
+ put: {
68153
+ description: 'Adds a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) to a specific space.',
68154
+ operationId: 'spacesAddConnectedAccountPut',
68155
+ requestBody: {
68156
+ content: {
68157
+ 'application/json': {
68158
+ schema: {
68159
+ properties: {
68160
+ connected_account_id: {
68161
+ description: 'ID of the connected account that you want to add to the space.',
68162
+ format: 'uuid',
68163
+ type: 'string',
68164
+ },
68165
+ space_id: {
68166
+ description: 'ID of the space to which you want to add the connected account.',
68167
+ format: 'uuid',
68168
+ type: 'string',
68169
+ },
68170
+ },
68171
+ required: ['space_id', 'connected_account_id'],
68172
+ type: 'object',
68173
+ },
68174
+ },
68175
+ },
68176
+ },
68177
+ responses: {
68178
+ 200: {
68179
+ content: {
68180
+ 'application/json': {
68181
+ schema: {
68182
+ properties: { ok: { type: 'boolean' } },
68183
+ required: ['ok'],
68184
+ type: 'object',
68185
+ },
68186
+ },
68187
+ },
68188
+ description: 'OK',
68189
+ },
68190
+ 400: { description: 'Bad Request' },
68191
+ 401: { description: 'Unauthorized' },
68192
+ },
68193
+ security: [
68194
+ { pat_with_workspace: [] },
68195
+ { console_session_with_workspace: [] },
68196
+ { api_key: [] },
68197
+ { client_session_with_customer: [] },
68198
+ ],
68199
+ summary: '/spaces/add_connected_account',
68200
+ tags: [],
68201
+ 'x-fern-sdk-group-name': ['spaces'],
68202
+ 'x-fern-sdk-method-name': 'add_connected_account',
68203
+ 'x-response-key': null,
68204
+ 'x-title': 'Add a Connected Account to a Space',
68205
+ },
68206
+ },
68089
68207
  '/spaces/add_devices': {
68090
68208
  post: {
68091
68209
  description: 'Adds devices to a specific space.',
@@ -69049,6 +69167,116 @@ export default {
69049
69167
  'x-title': 'Remove Entrances from a Space',
69050
69168
  },
69051
69169
  },
69170
+ '/spaces/remove_connected_account': {
69171
+ delete: {
69172
+ description: 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
69173
+ operationId: 'spacesRemoveConnectedAccountDelete',
69174
+ parameters: [
69175
+ {
69176
+ in: 'query',
69177
+ name: 'space_id',
69178
+ required: true,
69179
+ schema: {
69180
+ description: 'ID of the space from which you want to remove the connected account.',
69181
+ format: 'uuid',
69182
+ type: 'string',
69183
+ },
69184
+ },
69185
+ {
69186
+ in: 'query',
69187
+ name: 'connected_account_id',
69188
+ required: true,
69189
+ schema: {
69190
+ description: 'ID of the connected account that you want to remove from the space.',
69191
+ format: 'uuid',
69192
+ type: 'string',
69193
+ },
69194
+ },
69195
+ ],
69196
+ responses: {
69197
+ 200: {
69198
+ content: {
69199
+ 'application/json': {
69200
+ schema: {
69201
+ properties: { ok: { type: 'boolean' } },
69202
+ required: ['ok'],
69203
+ type: 'object',
69204
+ },
69205
+ },
69206
+ },
69207
+ description: 'OK',
69208
+ },
69209
+ 400: { description: 'Bad Request' },
69210
+ 401: { description: 'Unauthorized' },
69211
+ },
69212
+ security: [
69213
+ { pat_with_workspace: [] },
69214
+ { console_session_with_workspace: [] },
69215
+ { api_key: [] },
69216
+ { client_session_with_customer: [] },
69217
+ ],
69218
+ summary: '/spaces/remove_connected_account',
69219
+ tags: [],
69220
+ 'x-fern-sdk-group-name': ['spaces'],
69221
+ 'x-fern-sdk-method-name': 'remove_connected_account',
69222
+ 'x-response-key': null,
69223
+ 'x-title': 'Remove a Connected Account from a Space',
69224
+ },
69225
+ post: {
69226
+ description: 'Removes a [connected account](https://docs.seam.co/latest/core-concepts/connected-accounts) from a specific space.',
69227
+ operationId: 'spacesRemoveConnectedAccountPost',
69228
+ requestBody: {
69229
+ content: {
69230
+ 'application/json': {
69231
+ schema: {
69232
+ properties: {
69233
+ connected_account_id: {
69234
+ description: 'ID of the connected account that you want to remove from the space.',
69235
+ format: 'uuid',
69236
+ type: 'string',
69237
+ },
69238
+ space_id: {
69239
+ description: 'ID of the space from which you want to remove the connected account.',
69240
+ format: 'uuid',
69241
+ type: 'string',
69242
+ },
69243
+ },
69244
+ required: ['space_id', 'connected_account_id'],
69245
+ type: 'object',
69246
+ },
69247
+ },
69248
+ },
69249
+ },
69250
+ responses: {
69251
+ 200: {
69252
+ content: {
69253
+ 'application/json': {
69254
+ schema: {
69255
+ properties: { ok: { type: 'boolean' } },
69256
+ required: ['ok'],
69257
+ type: 'object',
69258
+ },
69259
+ },
69260
+ },
69261
+ description: 'OK',
69262
+ },
69263
+ 400: { description: 'Bad Request' },
69264
+ 401: { description: 'Unauthorized' },
69265
+ },
69266
+ security: [
69267
+ { pat_with_workspace: [] },
69268
+ { console_session_with_workspace: [] },
69269
+ { api_key: [] },
69270
+ { client_session_with_customer: [] },
69271
+ ],
69272
+ summary: '/spaces/remove_connected_account',
69273
+ tags: [],
69274
+ 'x-fern-sdk-group-name': ['spaces'],
69275
+ 'x-fern-sdk-method-name': 'remove_connected_account',
69276
+ 'x-response-key': null,
69277
+ 'x-title': 'Remove a Connected Account from a Space',
69278
+ },
69279
+ },
69052
69280
  '/spaces/remove_devices': {
69053
69281
  delete: {
69054
69282
  description: 'Removes devices from a specific space.',