@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.
@@ -20214,8 +20214,188 @@ export default {
20214
20214
  },
20215
20215
  type: 'array',
20216
20216
  },
20217
+ user_identity: {
20218
+ description: 'User identity.',
20219
+ properties: {
20220
+ acs_user_ids: {
20221
+ description:
20222
+ 'Array of access system user IDs associated with the user identity.',
20223
+ items: { format: 'uuid', type: 'string' },
20224
+ type: 'array',
20225
+ },
20226
+ created_at: {
20227
+ description:
20228
+ 'Date and time at which the user identity was created.',
20229
+ format: 'date-time',
20230
+ type: 'string',
20231
+ },
20232
+ display_name: { minLength: 1, type: 'string' },
20233
+ email_address: {
20234
+ description: 'Unique email address for the user identity.',
20235
+ format: 'email',
20236
+ nullable: true,
20237
+ type: 'string',
20238
+ },
20239
+ errors: {
20240
+ description:
20241
+ '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.',
20242
+ items: {
20243
+ description: 'Errors associated with the user identity.',
20244
+ discriminator: { propertyName: 'error_code' },
20245
+ oneOf: [
20246
+ {
20247
+ description:
20248
+ 'Indicates that there is an issue with an access system user associated with this user identity.',
20249
+ properties: {
20250
+ acs_system_id: {
20251
+ description:
20252
+ 'ID of the access system that the user identity is associated with.',
20253
+ format: 'uuid',
20254
+ type: 'string',
20255
+ },
20256
+ acs_user_id: {
20257
+ description:
20258
+ 'ID of the access system user that has an issue.',
20259
+ format: 'uuid',
20260
+ type: 'string',
20261
+ },
20262
+ created_at: {
20263
+ description:
20264
+ 'Date and time at which Seam created the error.',
20265
+ format: 'date-time',
20266
+ type: 'string',
20267
+ },
20268
+ error_code: {
20269
+ description:
20270
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
20271
+ enum: ['issue_with_acs_user'],
20272
+ type: 'string',
20273
+ },
20274
+ message: {
20275
+ description:
20276
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
20277
+ type: 'string',
20278
+ },
20279
+ },
20280
+ required: [
20281
+ 'created_at',
20282
+ 'message',
20283
+ 'error_code',
20284
+ 'acs_user_id',
20285
+ 'acs_system_id',
20286
+ ],
20287
+ type: 'object',
20288
+ },
20289
+ ],
20290
+ },
20291
+ type: 'array',
20292
+ },
20293
+ full_name: { minLength: 1, nullable: true, type: 'string' },
20294
+ phone_number: {
20295
+ description:
20296
+ 'Unique phone number for the user identity in [E.164 format](https://www.itu.int/rec/T-REC-E.164/en) (for example, +15555550100).',
20297
+ nullable: true,
20298
+ type: 'string',
20299
+ },
20300
+ user_identity_id: {
20301
+ description: 'ID of the user identity.',
20302
+ format: 'uuid',
20303
+ type: 'string',
20304
+ },
20305
+ user_identity_key: {
20306
+ description: 'Unique key for the user identity.',
20307
+ minLength: 1,
20308
+ nullable: true,
20309
+ type: 'string',
20310
+ },
20311
+ warnings: {
20312
+ description:
20313
+ '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.',
20314
+ items: {
20315
+ description: 'Warnings associated with the user identity.',
20316
+ discriminator: { propertyName: 'warning_code' },
20317
+ oneOf: [
20318
+ {
20319
+ description:
20320
+ 'Indicates that the user identity is currently being deleted.',
20321
+ properties: {
20322
+ created_at: {
20323
+ description:
20324
+ 'Date and time at which Seam created the warning.',
20325
+ format: 'date-time',
20326
+ type: 'string',
20327
+ },
20328
+ message: {
20329
+ description:
20330
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
20331
+ type: 'string',
20332
+ },
20333
+ warning_code: {
20334
+ description:
20335
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
20336
+ enum: ['being_deleted'],
20337
+ type: 'string',
20338
+ },
20339
+ },
20340
+ required: ['created_at', 'message', 'warning_code'],
20341
+ type: 'object',
20342
+ },
20343
+ {
20344
+ description:
20345
+ "Indicates that the ACS user's profile does not match the user identity's profile",
20346
+ properties: {
20347
+ created_at: {
20348
+ description:
20349
+ 'Date and time at which Seam created the warning.',
20350
+ format: 'date-time',
20351
+ type: 'string',
20352
+ },
20353
+ message: {
20354
+ description:
20355
+ 'Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.',
20356
+ type: 'string',
20357
+ },
20358
+ warning_code: {
20359
+ description:
20360
+ 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.',
20361
+ enum: [
20362
+ 'acs_user_profile_does_not_match_user_identity',
20363
+ ],
20364
+ type: 'string',
20365
+ },
20366
+ },
20367
+ required: ['created_at', 'message', 'warning_code'],
20368
+ type: 'object',
20369
+ },
20370
+ ],
20371
+ },
20372
+ type: 'array',
20373
+ },
20374
+ workspace_id: {
20375
+ description:
20376
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.',
20377
+ format: 'uuid',
20378
+ type: 'string',
20379
+ },
20380
+ },
20381
+ required: [
20382
+ 'user_identity_id',
20383
+ 'user_identity_key',
20384
+ 'email_address',
20385
+ 'phone_number',
20386
+ 'display_name',
20387
+ 'full_name',
20388
+ 'created_at',
20389
+ 'workspace_id',
20390
+ 'errors',
20391
+ 'warnings',
20392
+ 'acs_user_ids',
20393
+ ],
20394
+ type: 'object',
20395
+ },
20396
+ workspace_id: { description: 'Workspace ID.', type: 'string' },
20217
20397
  },
20218
- required: ['provider_sessions'],
20398
+ required: ['provider_sessions', 'user_identity', 'workspace_id'],
20219
20399
  type: 'object',
20220
20400
  'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
20221
20401
  'x-undocumented': 'Seam Mobile SDK only.',
@@ -28150,7 +28330,14 @@ export default {
28150
28330
  required: false,
28151
28331
  schema: {
28152
28332
  items: {
28153
- enum: ['spaces', 'devices', 'acs_entrances'],
28333
+ enum: [
28334
+ 'spaces',
28335
+ 'devices',
28336
+ 'acs_entrances',
28337
+ 'connected_accounts',
28338
+ 'acs_systems',
28339
+ 'user_identity',
28340
+ ],
28154
28341
  type: 'string',
28155
28342
  },
28156
28343
  type: 'array',
@@ -28162,7 +28349,14 @@ export default {
28162
28349
  required: false,
28163
28350
  schema: {
28164
28351
  items: {
28165
- enum: ['spaces', 'devices', 'acs_entrances'],
28352
+ enum: [
28353
+ 'spaces',
28354
+ 'devices',
28355
+ 'acs_entrances',
28356
+ 'connected_accounts',
28357
+ 'acs_systems',
28358
+ 'user_identity',
28359
+ ],
28166
28360
  type: 'string',
28167
28361
  },
28168
28362
  type: 'array',
@@ -28176,20 +28370,21 @@ export default {
28176
28370
  schema: {
28177
28371
  properties: {
28178
28372
  batch: {
28179
- description: 'Represents a resource batch.',
28180
28373
  properties: {
28181
28374
  acs_entrances: {
28182
28375
  items: { $ref: '#/components/schemas/acs_entrance' },
28183
28376
  type: 'array',
28184
28377
  },
28185
- batch_type: {
28186
- enum: [
28187
- 'workspaces',
28188
- 'access_grants',
28189
- 'access_methods',
28190
- 'spaces',
28191
- ],
28192
- type: 'string',
28378
+ acs_systems: {
28379
+ items: { $ref: '#/components/schemas/acs_system' },
28380
+ type: 'array',
28381
+ },
28382
+ batch_type: { enum: ['access_grants'], type: 'string' },
28383
+ connected_accounts: {
28384
+ items: {
28385
+ $ref: '#/components/schemas/connected_account',
28386
+ },
28387
+ type: 'array',
28193
28388
  },
28194
28389
  devices: {
28195
28390
  items: { $ref: '#/components/schemas/device' },
@@ -28203,14 +28398,9 @@ export default {
28203
28398
  items: { $ref: '#/components/schemas/user_identity' },
28204
28399
  type: 'array',
28205
28400
  },
28206
- workspaces: {
28207
- items: { $ref: '#/components/schemas/workspace' },
28208
- type: 'array',
28209
- },
28210
28401
  },
28211
28402
  required: ['batch_type'],
28212
28403
  type: 'object',
28213
- 'x-route-path': '/',
28214
28404
  },
28215
28405
  ok: { type: 'boolean' },
28216
28406
  },
@@ -28256,14 +28446,28 @@ export default {
28256
28446
  },
28257
28447
  exclude: {
28258
28448
  items: {
28259
- enum: ['spaces', 'devices', 'acs_entrances'],
28449
+ enum: [
28450
+ 'spaces',
28451
+ 'devices',
28452
+ 'acs_entrances',
28453
+ 'connected_accounts',
28454
+ 'acs_systems',
28455
+ 'user_identity',
28456
+ ],
28260
28457
  type: 'string',
28261
28458
  },
28262
28459
  type: 'array',
28263
28460
  },
28264
28461
  include: {
28265
28462
  items: {
28266
- enum: ['spaces', 'devices', 'acs_entrances'],
28463
+ enum: [
28464
+ 'spaces',
28465
+ 'devices',
28466
+ 'acs_entrances',
28467
+ 'connected_accounts',
28468
+ 'acs_systems',
28469
+ 'user_identity',
28470
+ ],
28267
28471
  type: 'string',
28268
28472
  },
28269
28473
  type: 'array',
@@ -28282,20 +28486,21 @@ export default {
28282
28486
  schema: {
28283
28487
  properties: {
28284
28488
  batch: {
28285
- description: 'Represents a resource batch.',
28286
28489
  properties: {
28287
28490
  acs_entrances: {
28288
28491
  items: { $ref: '#/components/schemas/acs_entrance' },
28289
28492
  type: 'array',
28290
28493
  },
28291
- batch_type: {
28292
- enum: [
28293
- 'workspaces',
28294
- 'access_grants',
28295
- 'access_methods',
28296
- 'spaces',
28297
- ],
28298
- type: 'string',
28494
+ acs_systems: {
28495
+ items: { $ref: '#/components/schemas/acs_system' },
28496
+ type: 'array',
28497
+ },
28498
+ batch_type: { enum: ['access_grants'], type: 'string' },
28499
+ connected_accounts: {
28500
+ items: {
28501
+ $ref: '#/components/schemas/connected_account',
28502
+ },
28503
+ type: 'array',
28299
28504
  },
28300
28505
  devices: {
28301
28506
  items: { $ref: '#/components/schemas/device' },
@@ -28309,14 +28514,9 @@ export default {
28309
28514
  items: { $ref: '#/components/schemas/user_identity' },
28310
28515
  type: 'array',
28311
28516
  },
28312
- workspaces: {
28313
- items: { $ref: '#/components/schemas/workspace' },
28314
- type: 'array',
28315
- },
28316
28517
  },
28317
28518
  required: ['batch_type'],
28318
28519
  type: 'object',
28319
- 'x-route-path': '/',
28320
28520
  },
28321
28521
  ok: { type: 'boolean' },
28322
28522
  },
@@ -37860,7 +38060,7 @@ export default {
37860
38060
  },
37861
38061
  name: {
37862
38062
  description:
37863
- 'Your display name for this access grant resource.',
38063
+ 'Your name for this access grant resource.',
37864
38064
  type: 'string',
37865
38065
  },
37866
38066
  property_keys: {
@@ -37913,7 +38113,7 @@ export default {
37913
38113
  type: 'string',
37914
38114
  },
37915
38115
  },
37916
- required: ['name', 'access_grant_key'],
38116
+ required: ['access_grant_key'],
37917
38117
  type: 'object',
37918
38118
  },
37919
38119
  type: 'array',
@@ -37963,7 +38163,7 @@ export default {
37963
38163
  },
37964
38164
  name: {
37965
38165
  description:
37966
- 'Your display name for this access grant resource.',
38166
+ 'Your name for this access grant resource.',
37967
38167
  type: 'string',
37968
38168
  },
37969
38169
  property_keys: {
@@ -38016,7 +38216,7 @@ export default {
38016
38216
  type: 'string',
38017
38217
  },
38018
38218
  },
38019
- required: ['name', 'booking_key'],
38219
+ required: ['booking_key'],
38020
38220
  type: 'object',
38021
38221
  },
38022
38222
  type: 'array',
@@ -38217,7 +38417,7 @@ export default {
38217
38417
  },
38218
38418
  name: {
38219
38419
  description:
38220
- 'Your display name for this access grant resource.',
38420
+ 'Your name for this access grant resource.',
38221
38421
  type: 'string',
38222
38422
  },
38223
38423
  property_keys: {
@@ -38275,7 +38475,7 @@ export default {
38275
38475
  type: 'string',
38276
38476
  },
38277
38477
  },
38278
- required: ['name', 'reservation_key'],
38478
+ required: ['reservation_key'],
38279
38479
  type: 'object',
38280
38480
  },
38281
38481
  type: 'array',
@@ -38561,7 +38761,7 @@ export default {
38561
38761
  },
38562
38762
  name: {
38563
38763
  description:
38564
- 'Your display name for this access grant resource.',
38764
+ 'Your name for this access grant resource.',
38565
38765
  type: 'string',
38566
38766
  },
38567
38767
  property_keys: {
@@ -38614,7 +38814,7 @@ export default {
38614
38814
  type: 'string',
38615
38815
  },
38616
38816
  },
38617
- required: ['name', 'access_grant_key'],
38817
+ required: ['access_grant_key'],
38618
38818
  type: 'object',
38619
38819
  },
38620
38820
  type: 'array',
@@ -38664,7 +38864,7 @@ export default {
38664
38864
  },
38665
38865
  name: {
38666
38866
  description:
38667
- 'Your display name for this access grant resource.',
38867
+ 'Your name for this access grant resource.',
38668
38868
  type: 'string',
38669
38869
  },
38670
38870
  property_keys: {
@@ -38717,7 +38917,7 @@ export default {
38717
38917
  type: 'string',
38718
38918
  },
38719
38919
  },
38720
- required: ['name', 'booking_key'],
38920
+ required: ['booking_key'],
38721
38921
  type: 'object',
38722
38922
  },
38723
38923
  type: 'array',
@@ -38915,7 +39115,7 @@ export default {
38915
39115
  },
38916
39116
  name: {
38917
39117
  description:
38918
- 'Your display name for this access grant resource.',
39118
+ 'Your name for this access grant resource.',
38919
39119
  type: 'string',
38920
39120
  },
38921
39121
  property_keys: {
@@ -38973,7 +39173,7 @@ export default {
38973
39173
  type: 'string',
38974
39174
  },
38975
39175
  },
38976
- required: ['name', 'reservation_key'],
39176
+ required: ['reservation_key'],
38977
39177
  type: 'object',
38978
39178
  },
38979
39179
  type: 'array',
@@ -40468,7 +40668,7 @@ export default {
40468
40668
  '/devices/simulate/disconnect_from_hub': {
40469
40669
  post: {
40470
40670
  description:
40471
- '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.',
40671
+ '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.',
40472
40672
  operationId: 'devicesSimulateDisconnectFromHubPost',
40473
40673
  requestBody: {
40474
40674
  content: {
@@ -45763,10 +45963,11 @@ export default {
45763
45963
  'x-undocumented': 'Seam Bridge Client only.',
45764
45964
  },
45765
45965
  },
45766
- '/seam/console/v1/get_resource_type': {
45966
+ '/seam/console/v1/get_resource_locator': {
45767
45967
  get: {
45768
- description: 'Returns the type of a resource given its UUID.',
45769
- operationId: 'seamConsoleV1GetResourceTypeGet',
45968
+ description:
45969
+ 'Returns the type and system information of a resource given its UUID.',
45970
+ operationId: 'seamConsoleV1GetResourceLocatorGet',
45770
45971
  parameters: [
45771
45972
  {
45772
45973
  in: 'query',
@@ -45782,9 +45983,17 @@ export default {
45782
45983
  schema: {
45783
45984
  properties: {
45784
45985
  ok: { type: 'boolean' },
45785
- resource_type: { type: 'string' },
45986
+ resource_locator: {
45987
+ properties: {
45988
+ acs_system_id: { format: 'uuid', type: 'string' },
45989
+ device_id: { format: 'uuid', type: 'string' },
45990
+ resource_type: { type: 'string' },
45991
+ },
45992
+ required: ['resource_type'],
45993
+ type: 'object',
45994
+ },
45786
45995
  },
45787
- required: ['resource_type', 'ok'],
45996
+ required: ['resource_locator', 'ok'],
45788
45997
  type: 'object',
45789
45998
  },
45790
45999
  },
@@ -45800,18 +46009,19 @@ export default {
45800
46009
  { console_session_with_workspace: [] },
45801
46010
  { api_key: [] },
45802
46011
  ],
45803
- summary: '/seam/console/v1/get_resource_type',
46012
+ summary: '/seam/console/v1/get_resource_locator',
45804
46013
  tags: [],
45805
46014
  'x-fern-sdk-group-name': ['seam', 'console', 'v1'],
45806
- 'x-fern-sdk-method-name': 'get_resource_type',
45807
- 'x-fern-sdk-return-value': 'resource_type',
45808
- 'x-response-key': 'resource_type',
45809
- 'x-title': 'Get Resource Type',
46015
+ 'x-fern-sdk-method-name': 'get_resource_locator',
46016
+ 'x-fern-sdk-return-value': 'resource_locator',
46017
+ 'x-response-key': 'resource_locator',
46018
+ 'x-title': 'Get Resource Locator',
45810
46019
  'x-undocumented': 'Internal endpoint for Console',
45811
46020
  },
45812
46021
  post: {
45813
- description: 'Returns the type of a resource given its UUID.',
45814
- operationId: 'seamConsoleV1GetResourceTypePost',
46022
+ description:
46023
+ 'Returns the type and system information of a resource given its UUID.',
46024
+ operationId: 'seamConsoleV1GetResourceLocatorPost',
45815
46025
  parameters: [
45816
46026
  {
45817
46027
  in: 'query',
@@ -45827,9 +46037,17 @@ export default {
45827
46037
  schema: {
45828
46038
  properties: {
45829
46039
  ok: { type: 'boolean' },
45830
- resource_type: { type: 'string' },
46040
+ resource_locator: {
46041
+ properties: {
46042
+ acs_system_id: { format: 'uuid', type: 'string' },
46043
+ device_id: { format: 'uuid', type: 'string' },
46044
+ resource_type: { type: 'string' },
46045
+ },
46046
+ required: ['resource_type'],
46047
+ type: 'object',
46048
+ },
45831
46049
  },
45832
- required: ['resource_type', 'ok'],
46050
+ required: ['resource_locator', 'ok'],
45833
46051
  type: 'object',
45834
46052
  },
45835
46053
  },
@@ -45845,13 +46063,13 @@ export default {
45845
46063
  { console_session_with_workspace: [] },
45846
46064
  { api_key: [] },
45847
46065
  ],
45848
- summary: '/seam/console/v1/get_resource_type',
46066
+ summary: '/seam/console/v1/get_resource_locator',
45849
46067
  tags: [],
45850
46068
  'x-fern-sdk-group-name': ['seam', 'console', 'v1'],
45851
- 'x-fern-sdk-method-name': 'get_resource_type',
45852
- 'x-fern-sdk-return-value': 'resource_type',
45853
- 'x-response-key': 'resource_type',
45854
- 'x-title': 'Get Resource Type',
46069
+ 'x-fern-sdk-method-name': 'get_resource_locator',
46070
+ 'x-fern-sdk-return-value': 'resource_locator',
46071
+ 'x-response-key': 'resource_locator',
46072
+ 'x-title': 'Get Resource Locator',
45855
46073
  'x-undocumented': 'Internal endpoint for Console',
45856
46074
  },
45857
46075
  },
@@ -46321,7 +46539,7 @@ export default {
46321
46539
  type: 'string',
46322
46540
  },
46323
46541
  },
46324
- required: ['rule', 'config'],
46542
+ required: ['rule'],
46325
46543
  type: 'object',
46326
46544
  },
46327
46545
  reservation_time_updated: {
@@ -46334,7 +46552,7 @@ export default {
46334
46552
  type: 'string',
46335
46553
  },
46336
46554
  },
46337
- required: ['rule', 'config'],
46555
+ required: ['rule'],
46338
46556
  type: 'object',
46339
46557
  },
46340
46558
  },
@@ -46422,7 +46640,7 @@ export default {
46422
46640
  type: 'string',
46423
46641
  },
46424
46642
  },
46425
- required: ['rule', 'config'],
46643
+ required: ['rule'],
46426
46644
  type: 'object',
46427
46645
  },
46428
46646
  reservation_time_updated: {
@@ -46435,7 +46653,7 @@ export default {
46435
46653
  type: 'string',
46436
46654
  },
46437
46655
  },
46438
- required: ['rule', 'config'],
46656
+ required: ['rule'],
46439
46657
  type: 'object',
46440
46658
  },
46441
46659
  },
@@ -46523,7 +46741,7 @@ export default {
46523
46741
  type: 'string',
46524
46742
  },
46525
46743
  },
46526
- required: ['rule', 'config'],
46744
+ required: ['rule'],
46527
46745
  type: 'object',
46528
46746
  },
46529
46747
  reservation_time_updated: {
@@ -46534,7 +46752,7 @@ export default {
46534
46752
  type: 'string',
46535
46753
  },
46536
46754
  },
46537
- required: ['rule', 'config'],
46755
+ required: ['rule'],
46538
46756
  type: 'object',
46539
46757
  },
46540
46758
  },
@@ -46630,7 +46848,7 @@ export default {
46630
46848
  type: 'string',
46631
46849
  },
46632
46850
  },
46633
- required: ['rule', 'config'],
46851
+ required: ['rule'],
46634
46852
  type: 'object',
46635
46853
  },
46636
46854
  reservation_time_updated: {
@@ -46641,7 +46859,7 @@ export default {
46641
46859
  type: 'string',
46642
46860
  },
46643
46861
  },
46644
- required: ['rule', 'config'],
46862
+ required: ['rule'],
46645
46863
  type: 'object',
46646
46864
  },
46647
46865
  },
@@ -47893,7 +48111,13 @@ export default {
47893
48111
  required: false,
47894
48112
  schema: {
47895
48113
  items: {
47896
- enum: ['spaces', 'devices', 'acs_entrances'],
48114
+ enum: [
48115
+ 'spaces',
48116
+ 'devices',
48117
+ 'acs_entrances',
48118
+ 'connected_accounts',
48119
+ 'acs_systems',
48120
+ ],
47897
48121
  type: 'string',
47898
48122
  },
47899
48123
  type: 'array',
@@ -47905,7 +48129,13 @@ export default {
47905
48129
  required: false,
47906
48130
  schema: {
47907
48131
  items: {
47908
- enum: ['spaces', 'devices', 'acs_entrances'],
48132
+ enum: [
48133
+ 'spaces',
48134
+ 'devices',
48135
+ 'acs_entrances',
48136
+ 'connected_accounts',
48137
+ 'acs_systems',
48138
+ ],
47909
48139
  type: 'string',
47910
48140
  },
47911
48141
  type: 'array',
@@ -47919,20 +48149,22 @@ export default {
47919
48149
  schema: {
47920
48150
  properties: {
47921
48151
  batch: {
47922
- description: 'Represents a resource batch.',
48152
+ description: 'ID of the affected access system user.',
47923
48153
  properties: {
47924
48154
  acs_entrances: {
47925
48155
  items: { $ref: '#/components/schemas/acs_entrance' },
47926
48156
  type: 'array',
47927
48157
  },
47928
- batch_type: {
47929
- enum: [
47930
- 'workspaces',
47931
- 'access_grants',
47932
- 'access_methods',
47933
- 'spaces',
47934
- ],
47935
- type: 'string',
48158
+ acs_systems: {
48159
+ items: { $ref: '#/components/schemas/acs_system' },
48160
+ type: 'array',
48161
+ },
48162
+ batch_type: { enum: ['spaces'], type: 'string' },
48163
+ connected_accounts: {
48164
+ items: {
48165
+ $ref: '#/components/schemas/connected_account',
48166
+ },
48167
+ type: 'array',
47936
48168
  },
47937
48169
  devices: {
47938
48170
  items: { $ref: '#/components/schemas/device' },
@@ -47942,18 +48174,9 @@ export default {
47942
48174
  items: { $ref: '#/components/schemas/space' },
47943
48175
  type: 'array',
47944
48176
  },
47945
- user_identities: {
47946
- items: { $ref: '#/components/schemas/user_identity' },
47947
- type: 'array',
47948
- },
47949
- workspaces: {
47950
- items: { $ref: '#/components/schemas/workspace' },
47951
- type: 'array',
47952
- },
47953
48177
  },
47954
48178
  required: ['batch_type'],
47955
48179
  type: 'object',
47956
- 'x-route-path': '/',
47957
48180
  },
47958
48181
  ok: { type: 'boolean' },
47959
48182
  },
@@ -47992,14 +48215,26 @@ export default {
47992
48215
  properties: {
47993
48216
  exclude: {
47994
48217
  items: {
47995
- enum: ['spaces', 'devices', 'acs_entrances'],
48218
+ enum: [
48219
+ 'spaces',
48220
+ 'devices',
48221
+ 'acs_entrances',
48222
+ 'connected_accounts',
48223
+ 'acs_systems',
48224
+ ],
47996
48225
  type: 'string',
47997
48226
  },
47998
48227
  type: 'array',
47999
48228
  },
48000
48229
  include: {
48001
48230
  items: {
48002
- enum: ['spaces', 'devices', 'acs_entrances'],
48231
+ enum: [
48232
+ 'spaces',
48233
+ 'devices',
48234
+ 'acs_entrances',
48235
+ 'connected_accounts',
48236
+ 'acs_systems',
48237
+ ],
48003
48238
  type: 'string',
48004
48239
  },
48005
48240
  type: 'array',
@@ -48024,20 +48259,22 @@ export default {
48024
48259
  schema: {
48025
48260
  properties: {
48026
48261
  batch: {
48027
- description: 'Represents a resource batch.',
48262
+ description: 'ID of the affected access system user.',
48028
48263
  properties: {
48029
48264
  acs_entrances: {
48030
48265
  items: { $ref: '#/components/schemas/acs_entrance' },
48031
48266
  type: 'array',
48032
48267
  },
48033
- batch_type: {
48034
- enum: [
48035
- 'workspaces',
48036
- 'access_grants',
48037
- 'access_methods',
48038
- 'spaces',
48039
- ],
48040
- type: 'string',
48268
+ acs_systems: {
48269
+ items: { $ref: '#/components/schemas/acs_system' },
48270
+ type: 'array',
48271
+ },
48272
+ batch_type: { enum: ['spaces'], type: 'string' },
48273
+ connected_accounts: {
48274
+ items: {
48275
+ $ref: '#/components/schemas/connected_account',
48276
+ },
48277
+ type: 'array',
48041
48278
  },
48042
48279
  devices: {
48043
48280
  items: { $ref: '#/components/schemas/device' },
@@ -48047,18 +48284,9 @@ export default {
48047
48284
  items: { $ref: '#/components/schemas/space' },
48048
48285
  type: 'array',
48049
48286
  },
48050
- user_identities: {
48051
- items: { $ref: '#/components/schemas/user_identity' },
48052
- type: 'array',
48053
- },
48054
- workspaces: {
48055
- items: { $ref: '#/components/schemas/workspace' },
48056
- type: 'array',
48057
- },
48058
48287
  },
48059
48288
  required: ['batch_type'],
48060
48289
  type: 'object',
48061
- 'x-route-path': '/',
48062
48290
  },
48063
48291
  ok: { type: 'boolean' },
48064
48292
  },