@seamapi/types 1.460.0 → 1.460.1

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.
@@ -18179,8 +18179,168 @@ export default {
18179
18179
  },
18180
18180
  type: 'array',
18181
18181
  },
18182
+ user_identity: {
18183
+ description: 'User identity.',
18184
+ properties: {
18185
+ acs_user_ids: {
18186
+ description: 'Array of access system user IDs associated with the user identity.',
18187
+ items: { format: 'uuid', type: 'string' },
18188
+ type: 'array',
18189
+ },
18190
+ created_at: {
18191
+ description: 'Date and time at which the user identity was created.',
18192
+ format: 'date-time',
18193
+ type: 'string',
18194
+ },
18195
+ display_name: { minLength: 1, type: 'string' },
18196
+ email_address: {
18197
+ description: 'Unique email address for the user identity.',
18198
+ format: 'email',
18199
+ nullable: true,
18200
+ type: 'string',
18201
+ },
18202
+ errors: {
18203
+ description: 'Array of errors associated with the user identity. Each error object within the array contains fields like "error_code" and "message." "error_code" is a string that uniquely identifies the type of error, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the error, offering insights into the issue and potentially how to rectify it.',
18204
+ items: {
18205
+ description: 'Errors associated with the user identity.',
18206
+ discriminator: { propertyName: 'error_code' },
18207
+ oneOf: [
18208
+ {
18209
+ description: 'Indicates that there is an issue with an access system user associated with this user identity.',
18210
+ properties: {
18211
+ acs_system_id: {
18212
+ description: 'ID of the access system that the user identity is associated with.',
18213
+ format: 'uuid',
18214
+ type: 'string',
18215
+ },
18216
+ acs_user_id: {
18217
+ description: 'ID of the access system user that has an issue.',
18218
+ format: 'uuid',
18219
+ type: 'string',
18220
+ },
18221
+ created_at: {
18222
+ description: 'Date and time at which Seam created the error.',
18223
+ format: 'date-time',
18224
+ type: 'string',
18225
+ },
18226
+ error_code: {
18227
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
18228
+ enum: ['issue_with_acs_user'],
18229
+ type: 'string',
18230
+ },
18231
+ message: {
18232
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
18233
+ type: 'string',
18234
+ },
18235
+ },
18236
+ required: [
18237
+ 'created_at',
18238
+ 'message',
18239
+ 'error_code',
18240
+ 'acs_user_id',
18241
+ 'acs_system_id',
18242
+ ],
18243
+ type: 'object',
18244
+ },
18245
+ ],
18246
+ },
18247
+ type: 'array',
18248
+ },
18249
+ full_name: { minLength: 1, nullable: true, type: 'string' },
18250
+ phone_number: {
18251
+ description: 'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
18252
+ nullable: true,
18253
+ type: 'string',
18254
+ },
18255
+ user_identity_id: {
18256
+ description: 'ID of the user identity.',
18257
+ format: 'uuid',
18258
+ type: 'string',
18259
+ },
18260
+ user_identity_key: {
18261
+ description: 'Unique key for the user identity.',
18262
+ minLength: 1,
18263
+ nullable: true,
18264
+ type: 'string',
18265
+ },
18266
+ warnings: {
18267
+ description: 'Array of warnings associated with the user identity. Each warning object within the array contains two fields: "warning_code" and "message." "warning_code" is a string that uniquely identifies the type of warning, enabling quick recognition and categorization of the issue. "message" provides a more detailed description of the warning, offering insights into the issue and potentially how to rectify it.',
18268
+ items: {
18269
+ description: 'Warnings associated with the user identity.',
18270
+ discriminator: { propertyName: 'warning_code' },
18271
+ oneOf: [
18272
+ {
18273
+ description: 'Indicates that the user identity is currently being deleted.',
18274
+ properties: {
18275
+ created_at: {
18276
+ description: 'Date and time at which Seam created the warning.',
18277
+ format: 'date-time',
18278
+ type: 'string',
18279
+ },
18280
+ message: {
18281
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
18282
+ type: 'string',
18283
+ },
18284
+ warning_code: {
18285
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
18286
+ enum: ['being_deleted'],
18287
+ type: 'string',
18288
+ },
18289
+ },
18290
+ required: ['created_at', 'message', 'warning_code'],
18291
+ type: 'object',
18292
+ },
18293
+ {
18294
+ description: "Indicates that the ACS user's profile does not match the user identity's profile",
18295
+ properties: {
18296
+ created_at: {
18297
+ description: 'Date and time at which Seam created the warning.',
18298
+ format: 'date-time',
18299
+ type: 'string',
18300
+ },
18301
+ message: {
18302
+ description: 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
18303
+ type: 'string',
18304
+ },
18305
+ warning_code: {
18306
+ description: 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
18307
+ enum: [
18308
+ 'acs_user_profile_does_not_match_user_identity',
18309
+ ],
18310
+ type: 'string',
18311
+ },
18312
+ },
18313
+ required: ['created_at', 'message', 'warning_code'],
18314
+ type: 'object',
18315
+ },
18316
+ ],
18317
+ },
18318
+ type: 'array',
18319
+ },
18320
+ workspace_id: {
18321
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.',
18322
+ format: 'uuid',
18323
+ type: 'string',
18324
+ },
18325
+ },
18326
+ required: [
18327
+ 'user_identity_id',
18328
+ 'user_identity_key',
18329
+ 'email_address',
18330
+ 'phone_number',
18331
+ 'display_name',
18332
+ 'full_name',
18333
+ 'created_at',
18334
+ 'workspace_id',
18335
+ 'errors',
18336
+ 'warnings',
18337
+ 'acs_user_ids',
18338
+ ],
18339
+ type: 'object',
18340
+ },
18341
+ workspace_id: { description: 'Workspace ID.', type: 'string' },
18182
18342
  },
18183
- required: ['provider_sessions'],
18343
+ required: ['provider_sessions', 'user_identity', 'workspace_id'],
18184
18344
  type: 'object',
18185
18345
  'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
18186
18346
  'x-undocumented': 'Seam Mobile SDK only.',
@@ -25302,7 +25462,14 @@ export default {
25302
25462
  required: false,
25303
25463
  schema: {
25304
25464
  items: {
25305
- enum: ['spaces', 'devices', 'acs_entrances'],
25465
+ enum: [
25466
+ 'spaces',
25467
+ 'devices',
25468
+ 'acs_entrances',
25469
+ 'connected_accounts',
25470
+ 'acs_systems',
25471
+ 'user_identity',
25472
+ ],
25306
25473
  type: 'string',
25307
25474
  },
25308
25475
  type: 'array',
@@ -25314,7 +25481,14 @@ export default {
25314
25481
  required: false,
25315
25482
  schema: {
25316
25483
  items: {
25317
- enum: ['spaces', 'devices', 'acs_entrances'],
25484
+ enum: [
25485
+ 'spaces',
25486
+ 'devices',
25487
+ 'acs_entrances',
25488
+ 'connected_accounts',
25489
+ 'acs_systems',
25490
+ 'user_identity',
25491
+ ],
25318
25492
  type: 'string',
25319
25493
  },
25320
25494
  type: 'array',
@@ -25328,20 +25502,21 @@ export default {
25328
25502
  schema: {
25329
25503
  properties: {
25330
25504
  batch: {
25331
- description: 'Represents a resource batch.',
25332
25505
  properties: {
25333
25506
  acs_entrances: {
25334
25507
  items: { $ref: '#/components/schemas/acs_entrance' },
25335
25508
  type: 'array',
25336
25509
  },
25337
- batch_type: {
25338
- enum: [
25339
- 'workspaces',
25340
- 'access_grants',
25341
- 'access_methods',
25342
- 'spaces',
25343
- ],
25344
- type: 'string',
25510
+ acs_systems: {
25511
+ items: { $ref: '#/components/schemas/acs_system' },
25512
+ type: 'array',
25513
+ },
25514
+ batch_type: { enum: ['access_grants'], type: 'string' },
25515
+ connected_accounts: {
25516
+ items: {
25517
+ $ref: '#/components/schemas/connected_account',
25518
+ },
25519
+ type: 'array',
25345
25520
  },
25346
25521
  devices: {
25347
25522
  items: { $ref: '#/components/schemas/device' },
@@ -25355,14 +25530,9 @@ export default {
25355
25530
  items: { $ref: '#/components/schemas/user_identity' },
25356
25531
  type: 'array',
25357
25532
  },
25358
- workspaces: {
25359
- items: { $ref: '#/components/schemas/workspace' },
25360
- type: 'array',
25361
- },
25362
25533
  },
25363
25534
  required: ['batch_type'],
25364
25535
  type: 'object',
25365
- 'x-route-path': '/',
25366
25536
  },
25367
25537
  ok: { type: 'boolean' },
25368
25538
  },
@@ -25406,14 +25576,28 @@ export default {
25406
25576
  },
25407
25577
  exclude: {
25408
25578
  items: {
25409
- enum: ['spaces', 'devices', 'acs_entrances'],
25579
+ enum: [
25580
+ 'spaces',
25581
+ 'devices',
25582
+ 'acs_entrances',
25583
+ 'connected_accounts',
25584
+ 'acs_systems',
25585
+ 'user_identity',
25586
+ ],
25410
25587
  type: 'string',
25411
25588
  },
25412
25589
  type: 'array',
25413
25590
  },
25414
25591
  include: {
25415
25592
  items: {
25416
- enum: ['spaces', 'devices', 'acs_entrances'],
25593
+ enum: [
25594
+ 'spaces',
25595
+ 'devices',
25596
+ 'acs_entrances',
25597
+ 'connected_accounts',
25598
+ 'acs_systems',
25599
+ 'user_identity',
25600
+ ],
25417
25601
  type: 'string',
25418
25602
  },
25419
25603
  type: 'array',
@@ -25432,20 +25616,21 @@ export default {
25432
25616
  schema: {
25433
25617
  properties: {
25434
25618
  batch: {
25435
- description: 'Represents a resource batch.',
25436
25619
  properties: {
25437
25620
  acs_entrances: {
25438
25621
  items: { $ref: '#/components/schemas/acs_entrance' },
25439
25622
  type: 'array',
25440
25623
  },
25441
- batch_type: {
25442
- enum: [
25443
- 'workspaces',
25444
- 'access_grants',
25445
- 'access_methods',
25446
- 'spaces',
25447
- ],
25448
- type: 'string',
25624
+ acs_systems: {
25625
+ items: { $ref: '#/components/schemas/acs_system' },
25626
+ type: 'array',
25627
+ },
25628
+ batch_type: { enum: ['access_grants'], type: 'string' },
25629
+ connected_accounts: {
25630
+ items: {
25631
+ $ref: '#/components/schemas/connected_account',
25632
+ },
25633
+ type: 'array',
25449
25634
  },
25450
25635
  devices: {
25451
25636
  items: { $ref: '#/components/schemas/device' },
@@ -25459,14 +25644,9 @@ export default {
25459
25644
  items: { $ref: '#/components/schemas/user_identity' },
25460
25645
  type: 'array',
25461
25646
  },
25462
- workspaces: {
25463
- items: { $ref: '#/components/schemas/workspace' },
25464
- type: 'array',
25465
- },
25466
25647
  },
25467
25648
  required: ['batch_type'],
25468
25649
  type: 'object',
25469
- 'x-route-path': '/',
25470
25650
  },
25471
25651
  ok: { type: 'boolean' },
25472
25652
  },
@@ -34507,7 +34687,7 @@ export default {
34507
34687
  type: 'array',
34508
34688
  },
34509
34689
  name: {
34510
- description: 'Your display name for this access grant resource.',
34690
+ description: 'Your name for this access grant resource.',
34511
34691
  type: 'string',
34512
34692
  },
34513
34693
  property_keys: {
@@ -34551,7 +34731,7 @@ export default {
34551
34731
  type: 'string',
34552
34732
  },
34553
34733
  },
34554
- required: ['name', 'access_grant_key'],
34734
+ required: ['access_grant_key'],
34555
34735
  type: 'object',
34556
34736
  },
34557
34737
  type: 'array',
@@ -34593,7 +34773,7 @@ export default {
34593
34773
  type: 'array',
34594
34774
  },
34595
34775
  name: {
34596
- description: 'Your display name for this access grant resource.',
34776
+ description: 'Your name for this access grant resource.',
34597
34777
  type: 'string',
34598
34778
  },
34599
34779
  property_keys: {
@@ -34637,7 +34817,7 @@ export default {
34637
34817
  type: 'string',
34638
34818
  },
34639
34819
  },
34640
- required: ['name', 'booking_key'],
34820
+ required: ['booking_key'],
34641
34821
  type: 'object',
34642
34822
  },
34643
34823
  type: 'array',
@@ -34813,7 +34993,7 @@ export default {
34813
34993
  type: 'array',
34814
34994
  },
34815
34995
  name: {
34816
- description: 'Your display name for this access grant resource.',
34996
+ description: 'Your name for this access grant resource.',
34817
34997
  type: 'string',
34818
34998
  },
34819
34999
  property_keys: {
@@ -34861,7 +35041,7 @@ export default {
34861
35041
  type: 'string',
34862
35042
  },
34863
35043
  },
34864
- required: ['name', 'reservation_key'],
35044
+ required: ['reservation_key'],
34865
35045
  type: 'object',
34866
35046
  },
34867
35047
  type: 'array',
@@ -35115,7 +35295,7 @@ export default {
35115
35295
  type: 'array',
35116
35296
  },
35117
35297
  name: {
35118
- description: 'Your display name for this access grant resource.',
35298
+ description: 'Your name for this access grant resource.',
35119
35299
  type: 'string',
35120
35300
  },
35121
35301
  property_keys: {
@@ -35159,7 +35339,7 @@ export default {
35159
35339
  type: 'string',
35160
35340
  },
35161
35341
  },
35162
- required: ['name', 'access_grant_key'],
35342
+ required: ['access_grant_key'],
35163
35343
  type: 'object',
35164
35344
  },
35165
35345
  type: 'array',
@@ -35201,7 +35381,7 @@ export default {
35201
35381
  type: 'array',
35202
35382
  },
35203
35383
  name: {
35204
- description: 'Your display name for this access grant resource.',
35384
+ description: 'Your name for this access grant resource.',
35205
35385
  type: 'string',
35206
35386
  },
35207
35387
  property_keys: {
@@ -35245,7 +35425,7 @@ export default {
35245
35425
  type: 'string',
35246
35426
  },
35247
35427
  },
35248
- required: ['name', 'booking_key'],
35428
+ required: ['booking_key'],
35249
35429
  type: 'object',
35250
35430
  },
35251
35431
  type: 'array',
@@ -35421,7 +35601,7 @@ export default {
35421
35601
  type: 'array',
35422
35602
  },
35423
35603
  name: {
35424
- description: 'Your display name for this access grant resource.',
35604
+ description: 'Your name for this access grant resource.',
35425
35605
  type: 'string',
35426
35606
  },
35427
35607
  property_keys: {
@@ -35469,7 +35649,7 @@ export default {
35469
35649
  type: 'string',
35470
35650
  },
35471
35651
  },
35472
- required: ['name', 'reservation_key'],
35652
+ required: ['reservation_key'],
35473
35653
  type: 'object',
35474
35654
  },
35475
35655
  type: 'array',
@@ -36895,7 +37075,7 @@ export default {
36895
37075
  },
36896
37076
  '/devices/simulate/disconnect_from_hub': {
36897
37077
  post: {
36898
- description: 'Simulates taking the Wi-Fi hub (bridge) offline for a device. \nOnly applicable for [sandbox workspaces](https://docs.seam.co/latest/core-concepts/workspaces#sandbox-workspaces) and August locks today, but designed so we can extend to other providers later. \nThis will set the `hub_disconnected` error on the device.',
37078
+ description: 'Simulates taking the WiFi hub (bridge) offline for a device.\nOnly applicable for sandbox workspaces and currently\nimplemented for August and TTLock locks.\nThis will set the corresponding `hub_disconnected` or\n`ttlock_lock_not_paired_to_gateway` error on the device.',
36899
37079
  operationId: 'devicesSimulateDisconnectFromHubPost',
36900
37080
  requestBody: {
36901
37081
  content: {
@@ -41944,10 +42124,10 @@ export default {
41944
42124
  'x-undocumented': 'Seam Bridge Client only.',
41945
42125
  },
41946
42126
  },
41947
- '/seam/console/v1/get_resource_type': {
42127
+ '/seam/console/v1/get_resource_locator': {
41948
42128
  get: {
41949
- description: 'Returns the type of a resource given its UUID.',
41950
- operationId: 'seamConsoleV1GetResourceTypeGet',
42129
+ description: 'Returns the type and system information of a resource given its UUID.',
42130
+ operationId: 'seamConsoleV1GetResourceLocatorGet',
41951
42131
  parameters: [
41952
42132
  {
41953
42133
  in: 'query',
@@ -41963,9 +42143,17 @@ export default {
41963
42143
  schema: {
41964
42144
  properties: {
41965
42145
  ok: { type: 'boolean' },
41966
- resource_type: { type: 'string' },
42146
+ resource_locator: {
42147
+ properties: {
42148
+ acs_system_id: { format: 'uuid', type: 'string' },
42149
+ device_id: { format: 'uuid', type: 'string' },
42150
+ resource_type: { type: 'string' },
42151
+ },
42152
+ required: ['resource_type'],
42153
+ type: 'object',
42154
+ },
41967
42155
  },
41968
- required: ['resource_type', 'ok'],
42156
+ required: ['resource_locator', 'ok'],
41969
42157
  type: 'object',
41970
42158
  },
41971
42159
  },
@@ -41981,18 +42169,18 @@ export default {
41981
42169
  { console_session_with_workspace: [] },
41982
42170
  { api_key: [] },
41983
42171
  ],
41984
- summary: '/seam/console/v1/get_resource_type',
42172
+ summary: '/seam/console/v1/get_resource_locator',
41985
42173
  tags: [],
41986
42174
  'x-fern-sdk-group-name': ['seam', 'console', 'v1'],
41987
- 'x-fern-sdk-method-name': 'get_resource_type',
41988
- 'x-fern-sdk-return-value': 'resource_type',
41989
- 'x-response-key': 'resource_type',
41990
- 'x-title': 'Get Resource Type',
42175
+ 'x-fern-sdk-method-name': 'get_resource_locator',
42176
+ 'x-fern-sdk-return-value': 'resource_locator',
42177
+ 'x-response-key': 'resource_locator',
42178
+ 'x-title': 'Get Resource Locator',
41991
42179
  'x-undocumented': 'Internal endpoint for Console',
41992
42180
  },
41993
42181
  post: {
41994
- description: 'Returns the type of a resource given its UUID.',
41995
- operationId: 'seamConsoleV1GetResourceTypePost',
42182
+ description: 'Returns the type and system information of a resource given its UUID.',
42183
+ operationId: 'seamConsoleV1GetResourceLocatorPost',
41996
42184
  parameters: [
41997
42185
  {
41998
42186
  in: 'query',
@@ -42008,9 +42196,17 @@ export default {
42008
42196
  schema: {
42009
42197
  properties: {
42010
42198
  ok: { type: 'boolean' },
42011
- resource_type: { type: 'string' },
42199
+ resource_locator: {
42200
+ properties: {
42201
+ acs_system_id: { format: 'uuid', type: 'string' },
42202
+ device_id: { format: 'uuid', type: 'string' },
42203
+ resource_type: { type: 'string' },
42204
+ },
42205
+ required: ['resource_type'],
42206
+ type: 'object',
42207
+ },
42012
42208
  },
42013
- required: ['resource_type', 'ok'],
42209
+ required: ['resource_locator', 'ok'],
42014
42210
  type: 'object',
42015
42211
  },
42016
42212
  },
@@ -42026,13 +42222,13 @@ export default {
42026
42222
  { console_session_with_workspace: [] },
42027
42223
  { api_key: [] },
42028
42224
  ],
42029
- summary: '/seam/console/v1/get_resource_type',
42225
+ summary: '/seam/console/v1/get_resource_locator',
42030
42226
  tags: [],
42031
42227
  'x-fern-sdk-group-name': ['seam', 'console', 'v1'],
42032
- 'x-fern-sdk-method-name': 'get_resource_type',
42033
- 'x-fern-sdk-return-value': 'resource_type',
42034
- 'x-response-key': 'resource_type',
42035
- 'x-title': 'Get Resource Type',
42228
+ 'x-fern-sdk-method-name': 'get_resource_locator',
42229
+ 'x-fern-sdk-return-value': 'resource_locator',
42230
+ 'x-response-key': 'resource_locator',
42231
+ 'x-title': 'Get Resource Locator',
42036
42232
  'x-undocumented': 'Internal endpoint for Console',
42037
42233
  },
42038
42234
  },
@@ -42486,7 +42682,7 @@ export default {
42486
42682
  type: 'string',
42487
42683
  },
42488
42684
  },
42489
- required: ['rule', 'config'],
42685
+ required: ['rule'],
42490
42686
  type: 'object',
42491
42687
  },
42492
42688
  reservation_time_updated: {
@@ -42499,7 +42695,7 @@ export default {
42499
42695
  type: 'string',
42500
42696
  },
42501
42697
  },
42502
- required: ['rule', 'config'],
42698
+ required: ['rule'],
42503
42699
  type: 'object',
42504
42700
  },
42505
42701
  },
@@ -42586,7 +42782,7 @@ export default {
42586
42782
  type: 'string',
42587
42783
  },
42588
42784
  },
42589
- required: ['rule', 'config'],
42785
+ required: ['rule'],
42590
42786
  type: 'object',
42591
42787
  },
42592
42788
  reservation_time_updated: {
@@ -42599,7 +42795,7 @@ export default {
42599
42795
  type: 'string',
42600
42796
  },
42601
42797
  },
42602
- required: ['rule', 'config'],
42798
+ required: ['rule'],
42603
42799
  type: 'object',
42604
42800
  },
42605
42801
  },
@@ -42686,7 +42882,7 @@ export default {
42686
42882
  type: 'string',
42687
42883
  },
42688
42884
  },
42689
- required: ['rule', 'config'],
42885
+ required: ['rule'],
42690
42886
  type: 'object',
42691
42887
  },
42692
42888
  reservation_time_updated: {
@@ -42697,7 +42893,7 @@ export default {
42697
42893
  type: 'string',
42698
42894
  },
42699
42895
  },
42700
- required: ['rule', 'config'],
42896
+ required: ['rule'],
42701
42897
  type: 'object',
42702
42898
  },
42703
42899
  },
@@ -42792,7 +42988,7 @@ export default {
42792
42988
  type: 'string',
42793
42989
  },
42794
42990
  },
42795
- required: ['rule', 'config'],
42991
+ required: ['rule'],
42796
42992
  type: 'object',
42797
42993
  },
42798
42994
  reservation_time_updated: {
@@ -42803,7 +42999,7 @@ export default {
42803
42999
  type: 'string',
42804
43000
  },
42805
43001
  },
42806
- required: ['rule', 'config'],
43002
+ required: ['rule'],
42807
43003
  type: 'object',
42808
43004
  },
42809
43005
  },
@@ -44027,7 +44223,13 @@ export default {
44027
44223
  required: false,
44028
44224
  schema: {
44029
44225
  items: {
44030
- enum: ['spaces', 'devices', 'acs_entrances'],
44226
+ enum: [
44227
+ 'spaces',
44228
+ 'devices',
44229
+ 'acs_entrances',
44230
+ 'connected_accounts',
44231
+ 'acs_systems',
44232
+ ],
44031
44233
  type: 'string',
44032
44234
  },
44033
44235
  type: 'array',
@@ -44039,7 +44241,13 @@ export default {
44039
44241
  required: false,
44040
44242
  schema: {
44041
44243
  items: {
44042
- enum: ['spaces', 'devices', 'acs_entrances'],
44244
+ enum: [
44245
+ 'spaces',
44246
+ 'devices',
44247
+ 'acs_entrances',
44248
+ 'connected_accounts',
44249
+ 'acs_systems',
44250
+ ],
44043
44251
  type: 'string',
44044
44252
  },
44045
44253
  type: 'array',
@@ -44053,20 +44261,22 @@ export default {
44053
44261
  schema: {
44054
44262
  properties: {
44055
44263
  batch: {
44056
- description: 'Represents a resource batch.',
44264
+ description: 'ID of the affected access system user.',
44057
44265
  properties: {
44058
44266
  acs_entrances: {
44059
44267
  items: { $ref: '#/components/schemas/acs_entrance' },
44060
44268
  type: 'array',
44061
44269
  },
44062
- batch_type: {
44063
- enum: [
44064
- 'workspaces',
44065
- 'access_grants',
44066
- 'access_methods',
44067
- 'spaces',
44068
- ],
44069
- type: 'string',
44270
+ acs_systems: {
44271
+ items: { $ref: '#/components/schemas/acs_system' },
44272
+ type: 'array',
44273
+ },
44274
+ batch_type: { enum: ['spaces'], type: 'string' },
44275
+ connected_accounts: {
44276
+ items: {
44277
+ $ref: '#/components/schemas/connected_account',
44278
+ },
44279
+ type: 'array',
44070
44280
  },
44071
44281
  devices: {
44072
44282
  items: { $ref: '#/components/schemas/device' },
@@ -44076,18 +44286,9 @@ export default {
44076
44286
  items: { $ref: '#/components/schemas/space' },
44077
44287
  type: 'array',
44078
44288
  },
44079
- user_identities: {
44080
- items: { $ref: '#/components/schemas/user_identity' },
44081
- type: 'array',
44082
- },
44083
- workspaces: {
44084
- items: { $ref: '#/components/schemas/workspace' },
44085
- type: 'array',
44086
- },
44087
44289
  },
44088
44290
  required: ['batch_type'],
44089
44291
  type: 'object',
44090
- 'x-route-path': '/',
44091
44292
  },
44092
44293
  ok: { type: 'boolean' },
44093
44294
  },
@@ -44126,14 +44327,26 @@ export default {
44126
44327
  properties: {
44127
44328
  exclude: {
44128
44329
  items: {
44129
- enum: ['spaces', 'devices', 'acs_entrances'],
44330
+ enum: [
44331
+ 'spaces',
44332
+ 'devices',
44333
+ 'acs_entrances',
44334
+ 'connected_accounts',
44335
+ 'acs_systems',
44336
+ ],
44130
44337
  type: 'string',
44131
44338
  },
44132
44339
  type: 'array',
44133
44340
  },
44134
44341
  include: {
44135
44342
  items: {
44136
- enum: ['spaces', 'devices', 'acs_entrances'],
44343
+ enum: [
44344
+ 'spaces',
44345
+ 'devices',
44346
+ 'acs_entrances',
44347
+ 'connected_accounts',
44348
+ 'acs_systems',
44349
+ ],
44137
44350
  type: 'string',
44138
44351
  },
44139
44352
  type: 'array',
@@ -44157,20 +44370,22 @@ export default {
44157
44370
  schema: {
44158
44371
  properties: {
44159
44372
  batch: {
44160
- description: 'Represents a resource batch.',
44373
+ description: 'ID of the affected access system user.',
44161
44374
  properties: {
44162
44375
  acs_entrances: {
44163
44376
  items: { $ref: '#/components/schemas/acs_entrance' },
44164
44377
  type: 'array',
44165
44378
  },
44166
- batch_type: {
44167
- enum: [
44168
- 'workspaces',
44169
- 'access_grants',
44170
- 'access_methods',
44171
- 'spaces',
44172
- ],
44173
- type: 'string',
44379
+ acs_systems: {
44380
+ items: { $ref: '#/components/schemas/acs_system' },
44381
+ type: 'array',
44382
+ },
44383
+ batch_type: { enum: ['spaces'], type: 'string' },
44384
+ connected_accounts: {
44385
+ items: {
44386
+ $ref: '#/components/schemas/connected_account',
44387
+ },
44388
+ type: 'array',
44174
44389
  },
44175
44390
  devices: {
44176
44391
  items: { $ref: '#/components/schemas/device' },
@@ -44180,18 +44395,9 @@ export default {
44180
44395
  items: { $ref: '#/components/schemas/space' },
44181
44396
  type: 'array',
44182
44397
  },
44183
- user_identities: {
44184
- items: { $ref: '#/components/schemas/user_identity' },
44185
- type: 'array',
44186
- },
44187
- workspaces: {
44188
- items: { $ref: '#/components/schemas/workspace' },
44189
- type: 'array',
44190
- },
44191
44398
  },
44192
44399
  required: ['batch_type'],
44193
44400
  type: 'object',
44194
- 'x-route-path': '/',
44195
44401
  },
44196
44402
  ok: { type: 'boolean' },
44197
44403
  },