@seamapi/types 1.644.0 → 1.646.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.
package/dist/connect.cjs CHANGED
@@ -5589,76 +5589,12 @@ var workspace = zod.z.object({
5589
5589
  `);
5590
5590
 
5591
5591
  // src/lib/seam/connect/models/batch.ts
5592
- zod.z.object({
5593
- batch_type: zod.z.literal("spaces"),
5594
- spaces: space.array().optional(),
5595
- devices: device.array().optional(),
5596
- acs_entrances: acs_entrance.array().optional(),
5597
- connected_accounts: connected_account.array().optional(),
5598
- acs_systems: acs_system.array().optional()
5599
- }).describe("ID of the affected access system user.");
5600
- zod.z.object({
5601
- batch_type: zod.z.literal("access_grants"),
5602
- spaces: space.array().optional(),
5603
- devices: device.array().optional(),
5604
- acs_entrances: acs_entrance.array().optional(),
5605
- user_identities: user_identity.array().optional(),
5606
- connected_accounts: connected_account.array().optional(),
5607
- acs_systems: acs_system.array().optional(),
5608
- acs_access_groups: acs_access_group.array().optional()
5609
- });
5610
- zod.z.object({
5611
- batch_type: zod.z.literal("access_methods"),
5612
- spaces: space.array().optional(),
5613
- devices: device.array().optional(),
5614
- acs_entrances: acs_entrance.array().optional(),
5615
- access_grants: access_grant.array().optional(),
5616
- access_methods: access_method.array().optional(),
5617
- instant_keys: instant_key.array().optional(),
5618
- client_sessions: client_session.array().optional()
5619
- });
5620
- zod.z.object({
5621
- batch_type: zod.z.literal("workspaces"),
5622
- user_identities: user_identity.array().optional(),
5623
- workspaces: workspace.array().optional(),
5624
- spaces: space.array().optional(),
5625
- devices: device.array().optional(),
5626
- acs_entrances: acs_entrance.array().optional(),
5627
- acs_systems: acs_system.array().optional(),
5628
- acs_users: acs_user.array().optional(),
5629
- acs_access_groups: acs_access_group.array().optional(),
5630
- acs_encoders: acs_encoder.array().optional(),
5631
- acs_credentials: acs_credential.array().optional(),
5632
- unmanaged_acs_credentials: unmanaged_acs_credential.array().optional(),
5633
- action_attempts: action_attempt.array().optional(),
5634
- client_sessions: client_session.array().optional(),
5635
- unmanaged_acs_users: unmanaged_acs_user.array().optional(),
5636
- unmanaged_acs_access_groups: unmanaged_acs_access_group.array().optional(),
5637
- unmanaged_devices: unmanaged_device.array().optional(),
5638
- connected_accounts: connected_account.array().optional(),
5639
- connect_webviews: connect_webview.array().optional(),
5640
- access_methods: access_method.array().optional(),
5641
- access_grants: access_grant.array().optional(),
5642
- events: seam_event.array().optional(),
5643
- instant_keys: instant_key.array().optional(),
5644
- access_codes: access_code.array().optional(),
5645
- unmanaged_access_codes: unmanaged_access_code.array().optional(),
5646
- thermostat_daily_programs: thermostat_daily_program.array().optional(),
5647
- thermostat_schedules: thermostat_schedule.array().optional(),
5648
- noise_thresholds: noise_threshold.array().optional(),
5649
- customization_profiles: customization_profile.array().optional()
5650
- }).describe("A batch of workspace resources.");
5651
5592
  var batch = zod.z.object({
5652
- batch_type: zod.z.enum([
5653
- "workspaces",
5654
- "spaces",
5655
- "access_grants",
5656
- "access_methods"
5657
- ]),
5658
5593
  user_identities: user_identity.array().optional(),
5659
5594
  workspaces: workspace.array().optional(),
5660
5595
  spaces: space.array().optional(),
5661
5596
  devices: device.array().optional(),
5597
+ connected_accounts: connected_account.array().optional(),
5662
5598
  acs_entrances: acs_entrance.array().optional(),
5663
5599
  acs_systems: acs_system.array().optional(),
5664
5600
  acs_users: acs_user.array().optional(),
@@ -32030,7 +31966,7 @@ var openapi_default = {
32030
31966
  "acs_entrances",
32031
31967
  "connected_accounts",
32032
31968
  "acs_systems",
32033
- "user_identity",
31969
+ "user_identities",
32034
31970
  "acs_access_groups"
32035
31971
  ],
32036
31972
  type: "string"
@@ -32050,7 +31986,7 @@ var openapi_default = {
32050
31986
  "acs_entrances",
32051
31987
  "connected_accounts",
32052
31988
  "acs_systems",
32053
- "user_identity",
31989
+ "user_identities",
32054
31990
  "acs_access_groups"
32055
31991
  ],
32056
31992
  type: "string"
@@ -32066,6 +32002,7 @@ var openapi_default = {
32066
32002
  schema: {
32067
32003
  properties: {
32068
32004
  batch: {
32005
+ description: "A batch of workspace resources.",
32069
32006
  properties: {
32070
32007
  acs_access_groups: {
32071
32008
  items: {
@@ -32081,7 +32018,6 @@ var openapi_default = {
32081
32018
  items: { $ref: "#/components/schemas/acs_system" },
32082
32019
  type: "array"
32083
32020
  },
32084
- batch_type: { enum: ["access_grants"], type: "string" },
32085
32021
  connected_accounts: {
32086
32022
  items: {
32087
32023
  $ref: "#/components/schemas/connected_account"
@@ -32101,7 +32037,6 @@ var openapi_default = {
32101
32037
  type: "array"
32102
32038
  }
32103
32039
  },
32104
- required: ["batch_type"],
32105
32040
  type: "object"
32106
32041
  },
32107
32042
  ok: { type: "boolean" }
@@ -32123,7 +32058,15 @@ var openapi_default = {
32123
32058
  ],
32124
32059
  summary: "/access_grants/get_related",
32125
32060
  tags: [],
32126
- "x-batch-type": "access_grants",
32061
+ "x-batch-keys": [
32062
+ "spaces",
32063
+ "devices",
32064
+ "acs_entrances",
32065
+ "connected_accounts",
32066
+ "acs_systems",
32067
+ "user_identities",
32068
+ "acs_access_groups"
32069
+ ],
32127
32070
  "x-draft": "Early access.",
32128
32071
  "x-fern-sdk-group-name": ["access_grants"],
32129
32072
  "x-fern-sdk-method-name": "get_related",
@@ -32152,7 +32095,7 @@ var openapi_default = {
32152
32095
  "acs_entrances",
32153
32096
  "connected_accounts",
32154
32097
  "acs_systems",
32155
- "user_identity",
32098
+ "user_identities",
32156
32099
  "acs_access_groups"
32157
32100
  ],
32158
32101
  type: "string"
@@ -32167,7 +32110,7 @@ var openapi_default = {
32167
32110
  "acs_entrances",
32168
32111
  "connected_accounts",
32169
32112
  "acs_systems",
32170
- "user_identity",
32113
+ "user_identities",
32171
32114
  "acs_access_groups"
32172
32115
  ],
32173
32116
  type: "string"
@@ -32188,6 +32131,7 @@ var openapi_default = {
32188
32131
  schema: {
32189
32132
  properties: {
32190
32133
  batch: {
32134
+ description: "A batch of workspace resources.",
32191
32135
  properties: {
32192
32136
  acs_access_groups: {
32193
32137
  items: {
@@ -32203,7 +32147,6 @@ var openapi_default = {
32203
32147
  items: { $ref: "#/components/schemas/acs_system" },
32204
32148
  type: "array"
32205
32149
  },
32206
- batch_type: { enum: ["access_grants"], type: "string" },
32207
32150
  connected_accounts: {
32208
32151
  items: {
32209
32152
  $ref: "#/components/schemas/connected_account"
@@ -32223,7 +32166,6 @@ var openapi_default = {
32223
32166
  type: "array"
32224
32167
  }
32225
32168
  },
32226
- required: ["batch_type"],
32227
32169
  type: "object"
32228
32170
  },
32229
32171
  ok: { type: "boolean" }
@@ -32245,7 +32187,15 @@ var openapi_default = {
32245
32187
  ],
32246
32188
  summary: "/access_grants/get_related",
32247
32189
  tags: [],
32248
- "x-batch-type": "access_grants",
32190
+ "x-batch-keys": [
32191
+ "spaces",
32192
+ "devices",
32193
+ "acs_entrances",
32194
+ "connected_accounts",
32195
+ "acs_systems",
32196
+ "user_identities",
32197
+ "acs_access_groups"
32198
+ ],
32249
32199
  "x-draft": "Early access.",
32250
32200
  "x-fern-sdk-group-name": ["access_grants"],
32251
32201
  "x-fern-sdk-method-name": "get_related",
@@ -34003,10 +33953,6 @@ var openapi_default = {
34003
33953
  batch: {
34004
33954
  description: "A batch of workspace resources.",
34005
33955
  properties: {
34006
- access_codes: {
34007
- items: { $ref: "#/components/schemas/access_code" },
34008
- type: "array"
34009
- },
34010
33956
  access_grants: {
34011
33957
  items: { $ref: "#/components/schemas/access_grant" },
34012
33958
  type: "array"
@@ -34015,141 +33961,35 @@ var openapi_default = {
34015
33961
  items: { $ref: "#/components/schemas/access_method" },
34016
33962
  type: "array"
34017
33963
  },
34018
- acs_access_groups: {
34019
- items: {
34020
- $ref: "#/components/schemas/acs_access_group"
34021
- },
34022
- type: "array"
34023
- },
34024
33964
  acs_credentials: {
34025
33965
  items: {
34026
33966
  $ref: "#/components/schemas/acs_credential"
34027
33967
  },
34028
33968
  type: "array"
34029
33969
  },
34030
- acs_encoders: {
34031
- items: { $ref: "#/components/schemas/acs_encoder" },
34032
- type: "array"
34033
- },
34034
33970
  acs_entrances: {
34035
33971
  items: { $ref: "#/components/schemas/acs_entrance" },
34036
33972
  type: "array"
34037
33973
  },
34038
- acs_systems: {
34039
- items: { $ref: "#/components/schemas/acs_system" },
34040
- type: "array"
34041
- },
34042
- acs_users: {
34043
- items: { $ref: "#/components/schemas/acs_user" },
34044
- type: "array"
34045
- },
34046
- action_attempts: {
34047
- items: {
34048
- $ref: "#/components/schemas/action_attempt"
34049
- },
34050
- type: "array"
34051
- },
34052
- batch_type: {
34053
- enum: [
34054
- "workspaces",
34055
- "spaces",
34056
- "access_grants",
34057
- "access_methods"
34058
- ],
34059
- type: "string"
34060
- },
34061
33974
  client_sessions: {
34062
33975
  items: {
34063
33976
  $ref: "#/components/schemas/client_session"
34064
33977
  },
34065
33978
  type: "array"
34066
33979
  },
34067
- connect_webviews: {
34068
- items: {
34069
- $ref: "#/components/schemas/connect_webview"
34070
- },
34071
- type: "array"
34072
- },
34073
- customization_profiles: {
34074
- items: {
34075
- $ref: "#/components/schemas/customization_profile"
34076
- },
34077
- type: "array"
34078
- },
34079
33980
  devices: {
34080
33981
  items: { $ref: "#/components/schemas/device" },
34081
33982
  type: "array"
34082
33983
  },
34083
- events: {
34084
- items: { $ref: "#/components/schemas/event" },
34085
- type: "array"
34086
- },
34087
33984
  instant_keys: {
34088
33985
  items: { $ref: "#/components/schemas/instant_key" },
34089
33986
  type: "array"
34090
33987
  },
34091
- noise_thresholds: {
34092
- items: {
34093
- $ref: "#/components/schemas/noise_threshold"
34094
- },
34095
- type: "array"
34096
- },
34097
33988
  spaces: {
34098
33989
  items: { $ref: "#/components/schemas/space" },
34099
33990
  type: "array"
34100
- },
34101
- thermostat_daily_programs: {
34102
- items: {
34103
- $ref: "#/components/schemas/thermostat_daily_program"
34104
- },
34105
- type: "array"
34106
- },
34107
- thermostat_schedules: {
34108
- items: {
34109
- $ref: "#/components/schemas/thermostat_schedule"
34110
- },
34111
- type: "array"
34112
- },
34113
- unmanaged_access_codes: {
34114
- items: {
34115
- $ref: "#/components/schemas/unmanaged_access_code"
34116
- },
34117
- type: "array"
34118
- },
34119
- unmanaged_acs_access_groups: {
34120
- items: {
34121
- $ref: "#/components/schemas/unmanaged_acs_access_group"
34122
- },
34123
- type: "array"
34124
- },
34125
- unmanaged_acs_credentials: {
34126
- items: {
34127
- $ref: "#/components/schemas/unmanaged_acs_credential"
34128
- },
34129
- type: "array"
34130
- },
34131
- unmanaged_acs_users: {
34132
- items: {
34133
- $ref: "#/components/schemas/unmanaged_acs_user"
34134
- },
34135
- type: "array"
34136
- },
34137
- unmanaged_devices: {
34138
- items: {
34139
- $ref: "#/components/schemas/unmanaged_device"
34140
- },
34141
- type: "array"
34142
- },
34143
- user_identities: {
34144
- items: { $ref: "#/components/schemas/user_identity" },
34145
- type: "array"
34146
- },
34147
- workspaces: {
34148
- items: { $ref: "#/components/schemas/workspace" },
34149
- type: "array"
34150
33991
  }
34151
33992
  },
34152
- required: ["batch_type"],
34153
33993
  type: "object"
34154
33994
  },
34155
33995
  ok: { type: "boolean" }
@@ -34172,7 +34012,16 @@ var openapi_default = {
34172
34012
  ],
34173
34013
  summary: "/access_methods/get_related",
34174
34014
  tags: [],
34175
- "x-batch-type": "access_methods",
34015
+ "x-batch-keys": [
34016
+ "spaces",
34017
+ "devices",
34018
+ "acs_entrances",
34019
+ "access_grants",
34020
+ "access_methods",
34021
+ "instant_keys",
34022
+ "client_sessions",
34023
+ "acs_credentials"
34024
+ ],
34176
34025
  "x-draft": "Early access.",
34177
34026
  "x-fern-sdk-group-name": ["access_methods"],
34178
34027
  "x-fern-sdk-method-name": "get_related",
@@ -34241,10 +34090,6 @@ var openapi_default = {
34241
34090
  batch: {
34242
34091
  description: "A batch of workspace resources.",
34243
34092
  properties: {
34244
- access_codes: {
34245
- items: { $ref: "#/components/schemas/access_code" },
34246
- type: "array"
34247
- },
34248
34093
  access_grants: {
34249
34094
  items: { $ref: "#/components/schemas/access_grant" },
34250
34095
  type: "array"
@@ -34253,141 +34098,35 @@ var openapi_default = {
34253
34098
  items: { $ref: "#/components/schemas/access_method" },
34254
34099
  type: "array"
34255
34100
  },
34256
- acs_access_groups: {
34257
- items: {
34258
- $ref: "#/components/schemas/acs_access_group"
34259
- },
34260
- type: "array"
34261
- },
34262
34101
  acs_credentials: {
34263
34102
  items: {
34264
34103
  $ref: "#/components/schemas/acs_credential"
34265
34104
  },
34266
34105
  type: "array"
34267
34106
  },
34268
- acs_encoders: {
34269
- items: { $ref: "#/components/schemas/acs_encoder" },
34270
- type: "array"
34271
- },
34272
34107
  acs_entrances: {
34273
34108
  items: { $ref: "#/components/schemas/acs_entrance" },
34274
34109
  type: "array"
34275
34110
  },
34276
- acs_systems: {
34277
- items: { $ref: "#/components/schemas/acs_system" },
34278
- type: "array"
34279
- },
34280
- acs_users: {
34281
- items: { $ref: "#/components/schemas/acs_user" },
34282
- type: "array"
34283
- },
34284
- action_attempts: {
34285
- items: {
34286
- $ref: "#/components/schemas/action_attempt"
34287
- },
34288
- type: "array"
34289
- },
34290
- batch_type: {
34291
- enum: [
34292
- "workspaces",
34293
- "spaces",
34294
- "access_grants",
34295
- "access_methods"
34296
- ],
34297
- type: "string"
34298
- },
34299
34111
  client_sessions: {
34300
34112
  items: {
34301
34113
  $ref: "#/components/schemas/client_session"
34302
34114
  },
34303
34115
  type: "array"
34304
34116
  },
34305
- connect_webviews: {
34306
- items: {
34307
- $ref: "#/components/schemas/connect_webview"
34308
- },
34309
- type: "array"
34310
- },
34311
- customization_profiles: {
34312
- items: {
34313
- $ref: "#/components/schemas/customization_profile"
34314
- },
34315
- type: "array"
34316
- },
34317
34117
  devices: {
34318
34118
  items: { $ref: "#/components/schemas/device" },
34319
34119
  type: "array"
34320
34120
  },
34321
- events: {
34322
- items: { $ref: "#/components/schemas/event" },
34323
- type: "array"
34324
- },
34325
34121
  instant_keys: {
34326
34122
  items: { $ref: "#/components/schemas/instant_key" },
34327
34123
  type: "array"
34328
34124
  },
34329
- noise_thresholds: {
34330
- items: {
34331
- $ref: "#/components/schemas/noise_threshold"
34332
- },
34333
- type: "array"
34334
- },
34335
34125
  spaces: {
34336
34126
  items: { $ref: "#/components/schemas/space" },
34337
34127
  type: "array"
34338
- },
34339
- thermostat_daily_programs: {
34340
- items: {
34341
- $ref: "#/components/schemas/thermostat_daily_program"
34342
- },
34343
- type: "array"
34344
- },
34345
- thermostat_schedules: {
34346
- items: {
34347
- $ref: "#/components/schemas/thermostat_schedule"
34348
- },
34349
- type: "array"
34350
- },
34351
- unmanaged_access_codes: {
34352
- items: {
34353
- $ref: "#/components/schemas/unmanaged_access_code"
34354
- },
34355
- type: "array"
34356
- },
34357
- unmanaged_acs_access_groups: {
34358
- items: {
34359
- $ref: "#/components/schemas/unmanaged_acs_access_group"
34360
- },
34361
- type: "array"
34362
- },
34363
- unmanaged_acs_credentials: {
34364
- items: {
34365
- $ref: "#/components/schemas/unmanaged_acs_credential"
34366
- },
34367
- type: "array"
34368
- },
34369
- unmanaged_acs_users: {
34370
- items: {
34371
- $ref: "#/components/schemas/unmanaged_acs_user"
34372
- },
34373
- type: "array"
34374
- },
34375
- unmanaged_devices: {
34376
- items: {
34377
- $ref: "#/components/schemas/unmanaged_device"
34378
- },
34379
- type: "array"
34380
- },
34381
- user_identities: {
34382
- items: { $ref: "#/components/schemas/user_identity" },
34383
- type: "array"
34384
- },
34385
- workspaces: {
34386
- items: { $ref: "#/components/schemas/workspace" },
34387
- type: "array"
34388
34128
  }
34389
34129
  },
34390
- required: ["batch_type"],
34391
34130
  type: "object"
34392
34131
  },
34393
34132
  ok: { type: "boolean" }
@@ -34410,7 +34149,16 @@ var openapi_default = {
34410
34149
  ],
34411
34150
  summary: "/access_methods/get_related",
34412
34151
  tags: [],
34413
- "x-batch-type": "access_methods",
34152
+ "x-batch-keys": [
34153
+ "spaces",
34154
+ "devices",
34155
+ "acs_entrances",
34156
+ "access_grants",
34157
+ "access_methods",
34158
+ "instant_keys",
34159
+ "client_sessions",
34160
+ "acs_credentials"
34161
+ ],
34414
34162
  "x-draft": "Early access.",
34415
34163
  "x-fern-sdk-group-name": ["access_methods"],
34416
34164
  "x-fern-sdk-method-name": "get_related",
@@ -58089,6 +57837,56 @@ var openapi_default = {
58089
57837
  "x-undocumented": "Mobile SDK only."
58090
57838
  }
58091
57839
  },
57840
+ "/seam/mobile_sdk/v1/report_salto_space_audit_trail": {
57841
+ post: {
57842
+ description: "Reports audit trail data from Salto Space mobile SDK.",
57843
+ operationId: "seamMobileSdkV1ReportSaltoSpaceAuditTrailPost",
57844
+ requestBody: {
57845
+ content: {
57846
+ "application/json": {
57847
+ schema: {
57848
+ properties: {
57849
+ acs_system_id: { format: "uuid", type: "string" },
57850
+ salto_space_metadata: {
57851
+ properties: {
57852
+ justin_mobile_sdk_audit_trail_data: { type: "string" }
57853
+ },
57854
+ required: ["justin_mobile_sdk_audit_trail_data"],
57855
+ type: "object"
57856
+ }
57857
+ },
57858
+ required: ["acs_system_id", "salto_space_metadata"],
57859
+ type: "object"
57860
+ }
57861
+ }
57862
+ }
57863
+ },
57864
+ responses: {
57865
+ 200: {
57866
+ content: {
57867
+ "application/json": {
57868
+ schema: {
57869
+ properties: { ok: { type: "boolean" } },
57870
+ required: ["ok"],
57871
+ type: "object"
57872
+ }
57873
+ }
57874
+ },
57875
+ description: "OK"
57876
+ },
57877
+ 400: { description: "Bad Request" },
57878
+ 401: { description: "Unauthorized" }
57879
+ },
57880
+ security: [{ client_session: [] }],
57881
+ summary: "/seam/mobile_sdk/v1/report_salto_space_audit_trail",
57882
+ tags: [],
57883
+ "x-fern-sdk-group-name": ["seam", "mobile_sdk", "v1"],
57884
+ "x-fern-sdk-method-name": "report_salto_space_audit_trail",
57885
+ "x-response-key": null,
57886
+ "x-title": "Report Salto Space Audit Trail",
57887
+ "x-undocumented": "Mobile SDK only."
57888
+ }
57889
+ },
58092
57890
  "/seam/partner/v1/building_blocks/spaces/auto_map": {
58093
57891
  get: {
58094
57892
  description: "Auto-maps partner resources that have been pushed to Seam.",
@@ -58853,7 +58651,7 @@ var openapi_default = {
58853
58651
  schema: {
58854
58652
  properties: {
58855
58653
  batch: {
58856
- description: "ID of the affected access system user.",
58654
+ description: "A batch of workspace resources.",
58857
58655
  properties: {
58858
58656
  acs_entrances: {
58859
58657
  items: { $ref: "#/components/schemas/acs_entrance" },
@@ -58863,7 +58661,6 @@ var openapi_default = {
58863
58661
  items: { $ref: "#/components/schemas/acs_system" },
58864
58662
  type: "array"
58865
58663
  },
58866
- batch_type: { enum: ["spaces"], type: "string" },
58867
58664
  connected_accounts: {
58868
58665
  items: {
58869
58666
  $ref: "#/components/schemas/connected_account"
@@ -58879,7 +58676,6 @@ var openapi_default = {
58879
58676
  type: "array"
58880
58677
  }
58881
58678
  },
58882
- required: ["batch_type"],
58883
58679
  type: "object"
58884
58680
  },
58885
58681
  ok: { type: "boolean" }
@@ -58902,7 +58698,13 @@ var openapi_default = {
58902
58698
  ],
58903
58699
  summary: "/spaces/get_related",
58904
58700
  tags: [],
58905
- "x-batch-type": "spaces",
58701
+ "x-batch-keys": [
58702
+ "spaces",
58703
+ "devices",
58704
+ "acs_entrances",
58705
+ "connected_accounts",
58706
+ "acs_systems"
58707
+ ],
58906
58708
  "x-draft": "Early access.",
58907
58709
  "x-fern-sdk-group-name": ["spaces"],
58908
58710
  "x-fern-sdk-method-name": "get_related",
@@ -58967,7 +58769,7 @@ var openapi_default = {
58967
58769
  schema: {
58968
58770
  properties: {
58969
58771
  batch: {
58970
- description: "ID of the affected access system user.",
58772
+ description: "A batch of workspace resources.",
58971
58773
  properties: {
58972
58774
  acs_entrances: {
58973
58775
  items: { $ref: "#/components/schemas/acs_entrance" },
@@ -58977,7 +58779,6 @@ var openapi_default = {
58977
58779
  items: { $ref: "#/components/schemas/acs_system" },
58978
58780
  type: "array"
58979
58781
  },
58980
- batch_type: { enum: ["spaces"], type: "string" },
58981
58782
  connected_accounts: {
58982
58783
  items: {
58983
58784
  $ref: "#/components/schemas/connected_account"
@@ -58993,7 +58794,6 @@ var openapi_default = {
58993
58794
  type: "array"
58994
58795
  }
58995
58796
  },
58996
- required: ["batch_type"],
58997
58797
  type: "object"
58998
58798
  },
58999
58799
  ok: { type: "boolean" }
@@ -59016,7 +58816,13 @@ var openapi_default = {
59016
58816
  ],
59017
58817
  summary: "/spaces/get_related",
59018
58818
  tags: [],
59019
- "x-batch-type": "spaces",
58819
+ "x-batch-keys": [
58820
+ "spaces",
58821
+ "devices",
58822
+ "acs_entrances",
58823
+ "connected_accounts",
58824
+ "acs_systems"
58825
+ ],
59020
58826
  "x-draft": "Early access.",
59021
58827
  "x-fern-sdk-group-name": ["spaces"],
59022
58828
  "x-fern-sdk-method-name": "get_related",
@@ -66922,15 +66728,6 @@ var openapi_default = {
66922
66728
  },
66923
66729
  type: "array"
66924
66730
  },
66925
- batch_type: {
66926
- enum: [
66927
- "workspaces",
66928
- "spaces",
66929
- "access_grants",
66930
- "access_methods"
66931
- ],
66932
- type: "string"
66933
- },
66934
66731
  client_sessions: {
66935
66732
  items: {
66936
66733
  $ref: "#/components/schemas/client_session"
@@ -66943,6 +66740,12 @@ var openapi_default = {
66943
66740
  },
66944
66741
  type: "array"
66945
66742
  },
66743
+ connected_accounts: {
66744
+ items: {
66745
+ $ref: "#/components/schemas/connected_account"
66746
+ },
66747
+ type: "array"
66748
+ },
66946
66749
  customization_profiles: {
66947
66750
  items: {
66948
66751
  $ref: "#/components/schemas/customization_profile"
@@ -67022,7 +66825,6 @@ var openapi_default = {
67022
66825
  type: "array"
67023
66826
  }
67024
66827
  },
67025
- required: ["batch_type"],
67026
66828
  type: "object"
67027
66829
  },
67028
66830
  ok: { type: "boolean" }
@@ -67044,7 +66846,36 @@ var openapi_default = {
67044
66846
  ],
67045
66847
  summary: "/workspaces/find_anything",
67046
66848
  tags: ["/workspaces"],
67047
- "x-batch-type": "workspaces",
66849
+ "x-batch-keys": [
66850
+ "user_identities",
66851
+ "workspaces",
66852
+ "devices",
66853
+ "acs_entrances",
66854
+ "acs_systems",
66855
+ "acs_users",
66856
+ "acs_access_groups",
66857
+ "acs_encoders",
66858
+ "action_attempts",
66859
+ "client_sessions",
66860
+ "unmanaged_acs_users",
66861
+ "unmanaged_acs_access_groups",
66862
+ "unmanaged_devices",
66863
+ "connect_webviews",
66864
+ "spaces",
66865
+ "access_methods",
66866
+ "access_grants",
66867
+ "connected_accounts",
66868
+ "events",
66869
+ "instant_keys",
66870
+ "acs_credentials",
66871
+ "unmanaged_acs_credentials",
66872
+ "unmanaged_access_codes",
66873
+ "access_codes",
66874
+ "thermostat_daily_programs",
66875
+ "thermostat_schedules",
66876
+ "noise_thresholds",
66877
+ "customization_profiles"
66878
+ ],
67048
66879
  "x-fern-sdk-group-name": ["workspaces"],
67049
66880
  "x-fern-sdk-method-name": "find_anything",
67050
66881
  "x-fern-sdk-return-value": "batch",
@@ -67121,15 +66952,6 @@ var openapi_default = {
67121
66952
  },
67122
66953
  type: "array"
67123
66954
  },
67124
- batch_type: {
67125
- enum: [
67126
- "workspaces",
67127
- "spaces",
67128
- "access_grants",
67129
- "access_methods"
67130
- ],
67131
- type: "string"
67132
- },
67133
66955
  client_sessions: {
67134
66956
  items: {
67135
66957
  $ref: "#/components/schemas/client_session"
@@ -67142,6 +66964,12 @@ var openapi_default = {
67142
66964
  },
67143
66965
  type: "array"
67144
66966
  },
66967
+ connected_accounts: {
66968
+ items: {
66969
+ $ref: "#/components/schemas/connected_account"
66970
+ },
66971
+ type: "array"
66972
+ },
67145
66973
  customization_profiles: {
67146
66974
  items: {
67147
66975
  $ref: "#/components/schemas/customization_profile"
@@ -67221,7 +67049,6 @@ var openapi_default = {
67221
67049
  type: "array"
67222
67050
  }
67223
67051
  },
67224
- required: ["batch_type"],
67225
67052
  type: "object"
67226
67053
  },
67227
67054
  ok: { type: "boolean" }
@@ -67243,7 +67070,36 @@ var openapi_default = {
67243
67070
  ],
67244
67071
  summary: "/workspaces/find_anything",
67245
67072
  tags: ["/workspaces"],
67246
- "x-batch-type": "workspaces",
67073
+ "x-batch-keys": [
67074
+ "user_identities",
67075
+ "workspaces",
67076
+ "devices",
67077
+ "acs_entrances",
67078
+ "acs_systems",
67079
+ "acs_users",
67080
+ "acs_access_groups",
67081
+ "acs_encoders",
67082
+ "action_attempts",
67083
+ "client_sessions",
67084
+ "unmanaged_acs_users",
67085
+ "unmanaged_acs_access_groups",
67086
+ "unmanaged_devices",
67087
+ "connect_webviews",
67088
+ "spaces",
67089
+ "access_methods",
67090
+ "access_grants",
67091
+ "connected_accounts",
67092
+ "events",
67093
+ "instant_keys",
67094
+ "acs_credentials",
67095
+ "unmanaged_acs_credentials",
67096
+ "unmanaged_access_codes",
67097
+ "access_codes",
67098
+ "thermostat_daily_programs",
67099
+ "thermostat_schedules",
67100
+ "noise_thresholds",
67101
+ "customization_profiles"
67102
+ ],
67247
67103
  "x-fern-sdk-group-name": ["workspaces"],
67248
67104
  "x-fern-sdk-method-name": "find_anything",
67249
67105
  "x-fern-sdk-return-value": "batch",