@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.
package/dist/index.cjs CHANGED
@@ -3944,13 +3944,18 @@ zod.z.object({
3944
3944
  batch_type: zod.z.literal("spaces"),
3945
3945
  spaces: space.array().optional(),
3946
3946
  devices: device.array().optional(),
3947
- acs_entrances: acs_entrance.array().optional()
3947
+ acs_entrances: acs_entrance.array().optional(),
3948
+ connected_accounts: connected_account.array().optional(),
3949
+ acs_systems: acs_system.array().optional()
3948
3950
  }).describe("ID of the affected access system user.");
3949
3951
  zod.z.object({
3950
3952
  batch_type: zod.z.literal("access_grants"),
3951
3953
  spaces: space.array().optional(),
3952
3954
  devices: device.array().optional(),
3953
- acs_entrances: acs_entrance.array().optional()
3955
+ acs_entrances: acs_entrance.array().optional(),
3956
+ user_identities: user_identity.array().optional(),
3957
+ connected_accounts: connected_account.array().optional(),
3958
+ acs_systems: acs_system.array().optional()
3954
3959
  });
3955
3960
  zod.z.object({
3956
3961
  batch_type: zod.z.literal("access_methods"),
@@ -23562,9 +23567,169 @@ var openapi_default = {
23562
23567
  type: "object"
23563
23568
  },
23564
23569
  type: "array"
23565
- }
23570
+ },
23571
+ user_identity: {
23572
+ description: "User identity.",
23573
+ properties: {
23574
+ acs_user_ids: {
23575
+ description: "Array of access system user IDs associated with the user identity.",
23576
+ items: { format: "uuid", type: "string" },
23577
+ type: "array"
23578
+ },
23579
+ created_at: {
23580
+ description: "Date and time at which the user identity was created.",
23581
+ format: "date-time",
23582
+ type: "string"
23583
+ },
23584
+ display_name: { minLength: 1, type: "string" },
23585
+ email_address: {
23586
+ description: "Unique email address for the user identity.",
23587
+ format: "email",
23588
+ nullable: true,
23589
+ type: "string"
23590
+ },
23591
+ errors: {
23592
+ 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.',
23593
+ items: {
23594
+ description: "Errors associated with the user identity.",
23595
+ discriminator: { propertyName: "error_code" },
23596
+ oneOf: [
23597
+ {
23598
+ description: "Indicates that there is an issue with an access system user associated with this user identity.",
23599
+ properties: {
23600
+ acs_system_id: {
23601
+ description: "ID of the access system that the user identity is associated with.",
23602
+ format: "uuid",
23603
+ type: "string"
23604
+ },
23605
+ acs_user_id: {
23606
+ description: "ID of the access system user that has an issue.",
23607
+ format: "uuid",
23608
+ type: "string"
23609
+ },
23610
+ created_at: {
23611
+ description: "Date and time at which Seam created the error.",
23612
+ format: "date-time",
23613
+ type: "string"
23614
+ },
23615
+ error_code: {
23616
+ description: "Unique identifier of the type of error. Enables quick recognition and categorization of the issue.",
23617
+ enum: ["issue_with_acs_user"],
23618
+ type: "string"
23619
+ },
23620
+ message: {
23621
+ description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
23622
+ type: "string"
23623
+ }
23624
+ },
23625
+ required: [
23626
+ "created_at",
23627
+ "message",
23628
+ "error_code",
23629
+ "acs_user_id",
23630
+ "acs_system_id"
23631
+ ],
23632
+ type: "object"
23633
+ }
23634
+ ]
23635
+ },
23636
+ type: "array"
23637
+ },
23638
+ full_name: { minLength: 1, nullable: true, type: "string" },
23639
+ phone_number: {
23640
+ 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).",
23641
+ nullable: true,
23642
+ type: "string"
23643
+ },
23644
+ user_identity_id: {
23645
+ description: "ID of the user identity.",
23646
+ format: "uuid",
23647
+ type: "string"
23648
+ },
23649
+ user_identity_key: {
23650
+ description: "Unique key for the user identity.",
23651
+ minLength: 1,
23652
+ nullable: true,
23653
+ type: "string"
23654
+ },
23655
+ warnings: {
23656
+ 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.',
23657
+ items: {
23658
+ description: "Warnings associated with the user identity.",
23659
+ discriminator: { propertyName: "warning_code" },
23660
+ oneOf: [
23661
+ {
23662
+ description: "Indicates that the user identity is currently being deleted.",
23663
+ properties: {
23664
+ created_at: {
23665
+ description: "Date and time at which Seam created the warning.",
23666
+ format: "date-time",
23667
+ type: "string"
23668
+ },
23669
+ message: {
23670
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
23671
+ type: "string"
23672
+ },
23673
+ warning_code: {
23674
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
23675
+ enum: ["being_deleted"],
23676
+ type: "string"
23677
+ }
23678
+ },
23679
+ required: ["created_at", "message", "warning_code"],
23680
+ type: "object"
23681
+ },
23682
+ {
23683
+ description: "Indicates that the ACS user's profile does not match the user identity's profile",
23684
+ properties: {
23685
+ created_at: {
23686
+ description: "Date and time at which Seam created the warning.",
23687
+ format: "date-time",
23688
+ type: "string"
23689
+ },
23690
+ message: {
23691
+ description: "Detailed description of the warning. Provides insights into the issue and potentially how to rectify it.",
23692
+ type: "string"
23693
+ },
23694
+ warning_code: {
23695
+ description: "Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.",
23696
+ enum: [
23697
+ "acs_user_profile_does_not_match_user_identity"
23698
+ ],
23699
+ type: "string"
23700
+ }
23701
+ },
23702
+ required: ["created_at", "message", "warning_code"],
23703
+ type: "object"
23704
+ }
23705
+ ]
23706
+ },
23707
+ type: "array"
23708
+ },
23709
+ workspace_id: {
23710
+ description: "ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the user identity.",
23711
+ format: "uuid",
23712
+ type: "string"
23713
+ }
23714
+ },
23715
+ required: [
23716
+ "user_identity_id",
23717
+ "user_identity_key",
23718
+ "email_address",
23719
+ "phone_number",
23720
+ "display_name",
23721
+ "full_name",
23722
+ "created_at",
23723
+ "workspace_id",
23724
+ "errors",
23725
+ "warnings",
23726
+ "acs_user_ids"
23727
+ ],
23728
+ type: "object"
23729
+ },
23730
+ workspace_id: { description: "Workspace ID.", type: "string" }
23566
23731
  },
23567
- required: ["provider_sessions"],
23732
+ required: ["provider_sessions", "user_identity", "workspace_id"],
23568
23733
  type: "object",
23569
23734
  "x-route-path": "/seam/mobile_sdk/v1/phone_sessions",
23570
23735
  "x-undocumented": "Seam Mobile SDK only."
@@ -30686,7 +30851,14 @@ var openapi_default = {
30686
30851
  required: false,
30687
30852
  schema: {
30688
30853
  items: {
30689
- enum: ["spaces", "devices", "acs_entrances"],
30854
+ enum: [
30855
+ "spaces",
30856
+ "devices",
30857
+ "acs_entrances",
30858
+ "connected_accounts",
30859
+ "acs_systems",
30860
+ "user_identity"
30861
+ ],
30690
30862
  type: "string"
30691
30863
  },
30692
30864
  type: "array"
@@ -30698,7 +30870,14 @@ var openapi_default = {
30698
30870
  required: false,
30699
30871
  schema: {
30700
30872
  items: {
30701
- enum: ["spaces", "devices", "acs_entrances"],
30873
+ enum: [
30874
+ "spaces",
30875
+ "devices",
30876
+ "acs_entrances",
30877
+ "connected_accounts",
30878
+ "acs_systems",
30879
+ "user_identity"
30880
+ ],
30702
30881
  type: "string"
30703
30882
  },
30704
30883
  type: "array"
@@ -30712,20 +30891,21 @@ var openapi_default = {
30712
30891
  schema: {
30713
30892
  properties: {
30714
30893
  batch: {
30715
- description: "Represents a resource batch.",
30716
30894
  properties: {
30717
30895
  acs_entrances: {
30718
30896
  items: { $ref: "#/components/schemas/acs_entrance" },
30719
30897
  type: "array"
30720
30898
  },
30721
- batch_type: {
30722
- enum: [
30723
- "workspaces",
30724
- "access_grants",
30725
- "access_methods",
30726
- "spaces"
30727
- ],
30728
- type: "string"
30899
+ acs_systems: {
30900
+ items: { $ref: "#/components/schemas/acs_system" },
30901
+ type: "array"
30902
+ },
30903
+ batch_type: { enum: ["access_grants"], type: "string" },
30904
+ connected_accounts: {
30905
+ items: {
30906
+ $ref: "#/components/schemas/connected_account"
30907
+ },
30908
+ type: "array"
30729
30909
  },
30730
30910
  devices: {
30731
30911
  items: { $ref: "#/components/schemas/device" },
@@ -30738,15 +30918,10 @@ var openapi_default = {
30738
30918
  user_identities: {
30739
30919
  items: { $ref: "#/components/schemas/user_identity" },
30740
30920
  type: "array"
30741
- },
30742
- workspaces: {
30743
- items: { $ref: "#/components/schemas/workspace" },
30744
- type: "array"
30745
30921
  }
30746
30922
  },
30747
30923
  required: ["batch_type"],
30748
- type: "object",
30749
- "x-route-path": "/"
30924
+ type: "object"
30750
30925
  },
30751
30926
  ok: { type: "boolean" }
30752
30927
  },
@@ -30790,14 +30965,28 @@ var openapi_default = {
30790
30965
  },
30791
30966
  exclude: {
30792
30967
  items: {
30793
- enum: ["spaces", "devices", "acs_entrances"],
30968
+ enum: [
30969
+ "spaces",
30970
+ "devices",
30971
+ "acs_entrances",
30972
+ "connected_accounts",
30973
+ "acs_systems",
30974
+ "user_identity"
30975
+ ],
30794
30976
  type: "string"
30795
30977
  },
30796
30978
  type: "array"
30797
30979
  },
30798
30980
  include: {
30799
30981
  items: {
30800
- enum: ["spaces", "devices", "acs_entrances"],
30982
+ enum: [
30983
+ "spaces",
30984
+ "devices",
30985
+ "acs_entrances",
30986
+ "connected_accounts",
30987
+ "acs_systems",
30988
+ "user_identity"
30989
+ ],
30801
30990
  type: "string"
30802
30991
  },
30803
30992
  type: "array"
@@ -30816,20 +31005,21 @@ var openapi_default = {
30816
31005
  schema: {
30817
31006
  properties: {
30818
31007
  batch: {
30819
- description: "Represents a resource batch.",
30820
31008
  properties: {
30821
31009
  acs_entrances: {
30822
31010
  items: { $ref: "#/components/schemas/acs_entrance" },
30823
31011
  type: "array"
30824
31012
  },
30825
- batch_type: {
30826
- enum: [
30827
- "workspaces",
30828
- "access_grants",
30829
- "access_methods",
30830
- "spaces"
30831
- ],
30832
- type: "string"
31013
+ acs_systems: {
31014
+ items: { $ref: "#/components/schemas/acs_system" },
31015
+ type: "array"
31016
+ },
31017
+ batch_type: { enum: ["access_grants"], type: "string" },
31018
+ connected_accounts: {
31019
+ items: {
31020
+ $ref: "#/components/schemas/connected_account"
31021
+ },
31022
+ type: "array"
30833
31023
  },
30834
31024
  devices: {
30835
31025
  items: { $ref: "#/components/schemas/device" },
@@ -30842,15 +31032,10 @@ var openapi_default = {
30842
31032
  user_identities: {
30843
31033
  items: { $ref: "#/components/schemas/user_identity" },
30844
31034
  type: "array"
30845
- },
30846
- workspaces: {
30847
- items: { $ref: "#/components/schemas/workspace" },
30848
- type: "array"
30849
31035
  }
30850
31036
  },
30851
31037
  required: ["batch_type"],
30852
- type: "object",
30853
- "x-route-path": "/"
31038
+ type: "object"
30854
31039
  },
30855
31040
  ok: { type: "boolean" }
30856
31041
  },
@@ -39891,7 +40076,7 @@ var openapi_default = {
39891
40076
  type: "array"
39892
40077
  },
39893
40078
  name: {
39894
- description: "Your display name for this access grant resource.",
40079
+ description: "Your name for this access grant resource.",
39895
40080
  type: "string"
39896
40081
  },
39897
40082
  property_keys: {
@@ -39935,7 +40120,7 @@ var openapi_default = {
39935
40120
  type: "string"
39936
40121
  }
39937
40122
  },
39938
- required: ["name", "access_grant_key"],
40123
+ required: ["access_grant_key"],
39939
40124
  type: "object"
39940
40125
  },
39941
40126
  type: "array"
@@ -39977,7 +40162,7 @@ var openapi_default = {
39977
40162
  type: "array"
39978
40163
  },
39979
40164
  name: {
39980
- description: "Your display name for this access grant resource.",
40165
+ description: "Your name for this access grant resource.",
39981
40166
  type: "string"
39982
40167
  },
39983
40168
  property_keys: {
@@ -40021,7 +40206,7 @@ var openapi_default = {
40021
40206
  type: "string"
40022
40207
  }
40023
40208
  },
40024
- required: ["name", "booking_key"],
40209
+ required: ["booking_key"],
40025
40210
  type: "object"
40026
40211
  },
40027
40212
  type: "array"
@@ -40197,7 +40382,7 @@ var openapi_default = {
40197
40382
  type: "array"
40198
40383
  },
40199
40384
  name: {
40200
- description: "Your display name for this access grant resource.",
40385
+ description: "Your name for this access grant resource.",
40201
40386
  type: "string"
40202
40387
  },
40203
40388
  property_keys: {
@@ -40245,7 +40430,7 @@ var openapi_default = {
40245
40430
  type: "string"
40246
40431
  }
40247
40432
  },
40248
- required: ["name", "reservation_key"],
40433
+ required: ["reservation_key"],
40249
40434
  type: "object"
40250
40435
  },
40251
40436
  type: "array"
@@ -40499,7 +40684,7 @@ var openapi_default = {
40499
40684
  type: "array"
40500
40685
  },
40501
40686
  name: {
40502
- description: "Your display name for this access grant resource.",
40687
+ description: "Your name for this access grant resource.",
40503
40688
  type: "string"
40504
40689
  },
40505
40690
  property_keys: {
@@ -40543,7 +40728,7 @@ var openapi_default = {
40543
40728
  type: "string"
40544
40729
  }
40545
40730
  },
40546
- required: ["name", "access_grant_key"],
40731
+ required: ["access_grant_key"],
40547
40732
  type: "object"
40548
40733
  },
40549
40734
  type: "array"
@@ -40585,7 +40770,7 @@ var openapi_default = {
40585
40770
  type: "array"
40586
40771
  },
40587
40772
  name: {
40588
- description: "Your display name for this access grant resource.",
40773
+ description: "Your name for this access grant resource.",
40589
40774
  type: "string"
40590
40775
  },
40591
40776
  property_keys: {
@@ -40629,7 +40814,7 @@ var openapi_default = {
40629
40814
  type: "string"
40630
40815
  }
40631
40816
  },
40632
- required: ["name", "booking_key"],
40817
+ required: ["booking_key"],
40633
40818
  type: "object"
40634
40819
  },
40635
40820
  type: "array"
@@ -40805,7 +40990,7 @@ var openapi_default = {
40805
40990
  type: "array"
40806
40991
  },
40807
40992
  name: {
40808
- description: "Your display name for this access grant resource.",
40993
+ description: "Your name for this access grant resource.",
40809
40994
  type: "string"
40810
40995
  },
40811
40996
  property_keys: {
@@ -40853,7 +41038,7 @@ var openapi_default = {
40853
41038
  type: "string"
40854
41039
  }
40855
41040
  },
40856
- required: ["name", "reservation_key"],
41041
+ required: ["reservation_key"],
40857
41042
  type: "object"
40858
41043
  },
40859
41044
  type: "array"
@@ -42279,7 +42464,7 @@ var openapi_default = {
42279
42464
  },
42280
42465
  "/devices/simulate/disconnect_from_hub": {
42281
42466
  post: {
42282
- 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.",
42467
+ description: "Simulates taking the Wi\u2011Fi 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.",
42283
42468
  operationId: "devicesSimulateDisconnectFromHubPost",
42284
42469
  requestBody: {
42285
42470
  content: {
@@ -47328,10 +47513,10 @@ var openapi_default = {
47328
47513
  "x-undocumented": "Seam Bridge Client only."
47329
47514
  }
47330
47515
  },
47331
- "/seam/console/v1/get_resource_type": {
47516
+ "/seam/console/v1/get_resource_locator": {
47332
47517
  get: {
47333
- description: "Returns the type of a resource given its UUID.",
47334
- operationId: "seamConsoleV1GetResourceTypeGet",
47518
+ description: "Returns the type and system information of a resource given its UUID.",
47519
+ operationId: "seamConsoleV1GetResourceLocatorGet",
47335
47520
  parameters: [
47336
47521
  {
47337
47522
  in: "query",
@@ -47347,9 +47532,17 @@ var openapi_default = {
47347
47532
  schema: {
47348
47533
  properties: {
47349
47534
  ok: { type: "boolean" },
47350
- resource_type: { type: "string" }
47535
+ resource_locator: {
47536
+ properties: {
47537
+ acs_system_id: { format: "uuid", type: "string" },
47538
+ device_id: { format: "uuid", type: "string" },
47539
+ resource_type: { type: "string" }
47540
+ },
47541
+ required: ["resource_type"],
47542
+ type: "object"
47543
+ }
47351
47544
  },
47352
- required: ["resource_type", "ok"],
47545
+ required: ["resource_locator", "ok"],
47353
47546
  type: "object"
47354
47547
  }
47355
47548
  }
@@ -47365,18 +47558,18 @@ var openapi_default = {
47365
47558
  { console_session_with_workspace: [] },
47366
47559
  { api_key: [] }
47367
47560
  ],
47368
- summary: "/seam/console/v1/get_resource_type",
47561
+ summary: "/seam/console/v1/get_resource_locator",
47369
47562
  tags: [],
47370
47563
  "x-fern-sdk-group-name": ["seam", "console", "v1"],
47371
- "x-fern-sdk-method-name": "get_resource_type",
47372
- "x-fern-sdk-return-value": "resource_type",
47373
- "x-response-key": "resource_type",
47374
- "x-title": "Get Resource Type",
47564
+ "x-fern-sdk-method-name": "get_resource_locator",
47565
+ "x-fern-sdk-return-value": "resource_locator",
47566
+ "x-response-key": "resource_locator",
47567
+ "x-title": "Get Resource Locator",
47375
47568
  "x-undocumented": "Internal endpoint for Console"
47376
47569
  },
47377
47570
  post: {
47378
- description: "Returns the type of a resource given its UUID.",
47379
- operationId: "seamConsoleV1GetResourceTypePost",
47571
+ description: "Returns the type and system information of a resource given its UUID.",
47572
+ operationId: "seamConsoleV1GetResourceLocatorPost",
47380
47573
  parameters: [
47381
47574
  {
47382
47575
  in: "query",
@@ -47392,9 +47585,17 @@ var openapi_default = {
47392
47585
  schema: {
47393
47586
  properties: {
47394
47587
  ok: { type: "boolean" },
47395
- resource_type: { type: "string" }
47588
+ resource_locator: {
47589
+ properties: {
47590
+ acs_system_id: { format: "uuid", type: "string" },
47591
+ device_id: { format: "uuid", type: "string" },
47592
+ resource_type: { type: "string" }
47593
+ },
47594
+ required: ["resource_type"],
47595
+ type: "object"
47596
+ }
47396
47597
  },
47397
- required: ["resource_type", "ok"],
47598
+ required: ["resource_locator", "ok"],
47398
47599
  type: "object"
47399
47600
  }
47400
47601
  }
@@ -47410,13 +47611,13 @@ var openapi_default = {
47410
47611
  { console_session_with_workspace: [] },
47411
47612
  { api_key: [] }
47412
47613
  ],
47413
- summary: "/seam/console/v1/get_resource_type",
47614
+ summary: "/seam/console/v1/get_resource_locator",
47414
47615
  tags: [],
47415
47616
  "x-fern-sdk-group-name": ["seam", "console", "v1"],
47416
- "x-fern-sdk-method-name": "get_resource_type",
47417
- "x-fern-sdk-return-value": "resource_type",
47418
- "x-response-key": "resource_type",
47419
- "x-title": "Get Resource Type",
47617
+ "x-fern-sdk-method-name": "get_resource_locator",
47618
+ "x-fern-sdk-return-value": "resource_locator",
47619
+ "x-response-key": "resource_locator",
47620
+ "x-title": "Get Resource Locator",
47420
47621
  "x-undocumented": "Internal endpoint for Console"
47421
47622
  }
47422
47623
  },
@@ -47870,7 +48071,7 @@ var openapi_default = {
47870
48071
  type: "string"
47871
48072
  }
47872
48073
  },
47873
- required: ["rule", "config"],
48074
+ required: ["rule"],
47874
48075
  type: "object"
47875
48076
  },
47876
48077
  reservation_time_updated: {
@@ -47883,7 +48084,7 @@ var openapi_default = {
47883
48084
  type: "string"
47884
48085
  }
47885
48086
  },
47886
- required: ["rule", "config"],
48087
+ required: ["rule"],
47887
48088
  type: "object"
47888
48089
  }
47889
48090
  },
@@ -47970,7 +48171,7 @@ var openapi_default = {
47970
48171
  type: "string"
47971
48172
  }
47972
48173
  },
47973
- required: ["rule", "config"],
48174
+ required: ["rule"],
47974
48175
  type: "object"
47975
48176
  },
47976
48177
  reservation_time_updated: {
@@ -47983,7 +48184,7 @@ var openapi_default = {
47983
48184
  type: "string"
47984
48185
  }
47985
48186
  },
47986
- required: ["rule", "config"],
48187
+ required: ["rule"],
47987
48188
  type: "object"
47988
48189
  }
47989
48190
  },
@@ -48070,7 +48271,7 @@ var openapi_default = {
48070
48271
  type: "string"
48071
48272
  }
48072
48273
  },
48073
- required: ["rule", "config"],
48274
+ required: ["rule"],
48074
48275
  type: "object"
48075
48276
  },
48076
48277
  reservation_time_updated: {
@@ -48081,7 +48282,7 @@ var openapi_default = {
48081
48282
  type: "string"
48082
48283
  }
48083
48284
  },
48084
- required: ["rule", "config"],
48285
+ required: ["rule"],
48085
48286
  type: "object"
48086
48287
  }
48087
48288
  },
@@ -48176,7 +48377,7 @@ var openapi_default = {
48176
48377
  type: "string"
48177
48378
  }
48178
48379
  },
48179
- required: ["rule", "config"],
48380
+ required: ["rule"],
48180
48381
  type: "object"
48181
48382
  },
48182
48383
  reservation_time_updated: {
@@ -48187,7 +48388,7 @@ var openapi_default = {
48187
48388
  type: "string"
48188
48389
  }
48189
48390
  },
48190
- required: ["rule", "config"],
48391
+ required: ["rule"],
48191
48392
  type: "object"
48192
48393
  }
48193
48394
  },
@@ -49411,7 +49612,13 @@ var openapi_default = {
49411
49612
  required: false,
49412
49613
  schema: {
49413
49614
  items: {
49414
- enum: ["spaces", "devices", "acs_entrances"],
49615
+ enum: [
49616
+ "spaces",
49617
+ "devices",
49618
+ "acs_entrances",
49619
+ "connected_accounts",
49620
+ "acs_systems"
49621
+ ],
49415
49622
  type: "string"
49416
49623
  },
49417
49624
  type: "array"
@@ -49423,7 +49630,13 @@ var openapi_default = {
49423
49630
  required: false,
49424
49631
  schema: {
49425
49632
  items: {
49426
- enum: ["spaces", "devices", "acs_entrances"],
49633
+ enum: [
49634
+ "spaces",
49635
+ "devices",
49636
+ "acs_entrances",
49637
+ "connected_accounts",
49638
+ "acs_systems"
49639
+ ],
49427
49640
  type: "string"
49428
49641
  },
49429
49642
  type: "array"
@@ -49437,20 +49650,22 @@ var openapi_default = {
49437
49650
  schema: {
49438
49651
  properties: {
49439
49652
  batch: {
49440
- description: "Represents a resource batch.",
49653
+ description: "ID of the affected access system user.",
49441
49654
  properties: {
49442
49655
  acs_entrances: {
49443
49656
  items: { $ref: "#/components/schemas/acs_entrance" },
49444
49657
  type: "array"
49445
49658
  },
49446
- batch_type: {
49447
- enum: [
49448
- "workspaces",
49449
- "access_grants",
49450
- "access_methods",
49451
- "spaces"
49452
- ],
49453
- type: "string"
49659
+ acs_systems: {
49660
+ items: { $ref: "#/components/schemas/acs_system" },
49661
+ type: "array"
49662
+ },
49663
+ batch_type: { enum: ["spaces"], type: "string" },
49664
+ connected_accounts: {
49665
+ items: {
49666
+ $ref: "#/components/schemas/connected_account"
49667
+ },
49668
+ type: "array"
49454
49669
  },
49455
49670
  devices: {
49456
49671
  items: { $ref: "#/components/schemas/device" },
@@ -49459,19 +49674,10 @@ var openapi_default = {
49459
49674
  spaces: {
49460
49675
  items: { $ref: "#/components/schemas/space" },
49461
49676
  type: "array"
49462
- },
49463
- user_identities: {
49464
- items: { $ref: "#/components/schemas/user_identity" },
49465
- type: "array"
49466
- },
49467
- workspaces: {
49468
- items: { $ref: "#/components/schemas/workspace" },
49469
- type: "array"
49470
49677
  }
49471
49678
  },
49472
49679
  required: ["batch_type"],
49473
- type: "object",
49474
- "x-route-path": "/"
49680
+ type: "object"
49475
49681
  },
49476
49682
  ok: { type: "boolean" }
49477
49683
  },
@@ -49510,14 +49716,26 @@ var openapi_default = {
49510
49716
  properties: {
49511
49717
  exclude: {
49512
49718
  items: {
49513
- enum: ["spaces", "devices", "acs_entrances"],
49719
+ enum: [
49720
+ "spaces",
49721
+ "devices",
49722
+ "acs_entrances",
49723
+ "connected_accounts",
49724
+ "acs_systems"
49725
+ ],
49514
49726
  type: "string"
49515
49727
  },
49516
49728
  type: "array"
49517
49729
  },
49518
49730
  include: {
49519
49731
  items: {
49520
- enum: ["spaces", "devices", "acs_entrances"],
49732
+ enum: [
49733
+ "spaces",
49734
+ "devices",
49735
+ "acs_entrances",
49736
+ "connected_accounts",
49737
+ "acs_systems"
49738
+ ],
49521
49739
  type: "string"
49522
49740
  },
49523
49741
  type: "array"
@@ -49541,20 +49759,22 @@ var openapi_default = {
49541
49759
  schema: {
49542
49760
  properties: {
49543
49761
  batch: {
49544
- description: "Represents a resource batch.",
49762
+ description: "ID of the affected access system user.",
49545
49763
  properties: {
49546
49764
  acs_entrances: {
49547
49765
  items: { $ref: "#/components/schemas/acs_entrance" },
49548
49766
  type: "array"
49549
49767
  },
49550
- batch_type: {
49551
- enum: [
49552
- "workspaces",
49553
- "access_grants",
49554
- "access_methods",
49555
- "spaces"
49556
- ],
49557
- type: "string"
49768
+ acs_systems: {
49769
+ items: { $ref: "#/components/schemas/acs_system" },
49770
+ type: "array"
49771
+ },
49772
+ batch_type: { enum: ["spaces"], type: "string" },
49773
+ connected_accounts: {
49774
+ items: {
49775
+ $ref: "#/components/schemas/connected_account"
49776
+ },
49777
+ type: "array"
49558
49778
  },
49559
49779
  devices: {
49560
49780
  items: { $ref: "#/components/schemas/device" },
@@ -49563,19 +49783,10 @@ var openapi_default = {
49563
49783
  spaces: {
49564
49784
  items: { $ref: "#/components/schemas/space" },
49565
49785
  type: "array"
49566
- },
49567
- user_identities: {
49568
- items: { $ref: "#/components/schemas/user_identity" },
49569
- type: "array"
49570
- },
49571
- workspaces: {
49572
- items: { $ref: "#/components/schemas/workspace" },
49573
- type: "array"
49574
49786
  }
49575
49787
  },
49576
49788
  required: ["batch_type"],
49577
- type: "object",
49578
- "x-route-path": "/"
49789
+ type: "object"
49579
49790
  },
49580
49791
  ok: { type: "boolean" }
49581
49792
  },