@seamapi/types 1.408.0 → 1.409.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.
Files changed (36) hide show
  1. package/dist/connect.cjs +185 -287
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +294 -218
  4. package/lib/seam/connect/model-types.d.ts +1 -1
  5. package/lib/seam/connect/models/access-grants/access-grant.js +2 -1
  6. package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
  7. package/lib/seam/connect/models/access-grants/access-method.js +2 -1
  8. package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
  9. package/lib/seam/connect/models/access-grants/requested-access-method.js +1 -5
  10. package/lib/seam/connect/models/access-grants/requested-access-method.js.map +1 -1
  11. package/lib/seam/connect/models/events/access-grants.js +5 -5
  12. package/lib/seam/connect/models/events/access-methods.js +4 -4
  13. package/lib/seam/connect/models/pagination.d.ts +1 -0
  14. package/lib/seam/connect/models/partner/resources.d.ts +1 -0
  15. package/lib/seam/connect/models/spaces/space.js +6 -1
  16. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  17. package/lib/seam/connect/openapi.d.ts +142 -213
  18. package/lib/seam/connect/openapi.js +140 -263
  19. package/lib/seam/connect/openapi.js.map +1 -1
  20. package/lib/seam/connect/route-types.d.ts +12 -3
  21. package/lib/seam/connect/schemas.d.ts +1 -1
  22. package/lib/seam/connect/schemas.js +1 -1
  23. package/lib/seam/connect/schemas.js.map +1 -1
  24. package/package.json +1 -1
  25. package/src/lib/seam/connect/model-types.ts +6 -0
  26. package/src/lib/seam/connect/models/access-grants/access-grant.ts +2 -1
  27. package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -1
  28. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -5
  29. package/src/lib/seam/connect/models/events/access-grants.ts +5 -5
  30. package/src/lib/seam/connect/models/events/access-methods.ts +4 -4
  31. package/src/lib/seam/connect/models/pagination.ts +2 -0
  32. package/src/lib/seam/connect/models/partner/resources.ts +2 -0
  33. package/src/lib/seam/connect/models/spaces/space.ts +6 -1
  34. package/src/lib/seam/connect/openapi.ts +142 -275
  35. package/src/lib/seam/connect/route-types.ts +20 -7
  36. package/src/lib/seam/connect/schemas.ts +2 -0
package/dist/connect.cjs CHANGED
@@ -21,6 +21,7 @@ __export(schemas_exports, {
21
21
  action_attempt: () => action_attempt,
22
22
  bridge: () => bridge,
23
23
  bridge_client_session: () => bridge_client_session,
24
+ building_block_type: () => building_block_type,
24
25
  client_session: () => client_session,
25
26
  common_failed_action_attempt: () => common_failed_action_attempt,
26
27
  common_pending_action_attempt: () => common_pending_action_attempt,
@@ -31,6 +32,7 @@ __export(schemas_exports, {
31
32
  device: () => device,
32
33
  device_provider: () => device_provider,
33
34
  instant_key: () => instant_key,
35
+ magic_link: () => magic_link,
34
36
  noise_threshold: () => noise_threshold,
35
37
  pagination: () => pagination,
36
38
  seam_event: () => seam_event,
@@ -2366,7 +2368,8 @@ var access_method = zod.z.object({
2366
2368
  )
2367
2369
  }).describe(`
2368
2370
  ---
2369
- undocumented: Unreleased.
2371
+ draft: Early access.
2372
+ route_path: /access_methods
2370
2373
  ---
2371
2374
  `);
2372
2375
  var acs_access_group_external_type = zod.z.enum([
@@ -4160,7 +4163,7 @@ var access_grant_created_event = access_grant_event.extend({
4160
4163
  event_type: zod.z.literal("access_grant.created")
4161
4164
  }).describe(`
4162
4165
  ---
4163
- route_path: /unstable_access_grants
4166
+ route_path: /access_grants
4164
4167
  ---
4165
4168
  An access grant was created.
4166
4169
  `);
@@ -4168,7 +4171,7 @@ var access_grant_deleted_event = access_grant_event.extend({
4168
4171
  event_type: zod.z.literal("access_grant.deleted")
4169
4172
  }).describe(`
4170
4173
  ---
4171
- route_path: /unstable_access_grants
4174
+ route_path: /access_grants
4172
4175
  ---
4173
4176
  An access grant was deleted.
4174
4177
  `);
@@ -4176,7 +4179,7 @@ var access_grant_access_granted_to_all_doors_event = access_grant_event.extend({
4176
4179
  event_type: zod.z.literal("access_grant.access_granted_to_all_doors")
4177
4180
  }).describe(`
4178
4181
  ---
4179
- route_path: /unstable_access_grants
4182
+ route_path: /access_grants
4180
4183
  ---
4181
4184
  All access requested for an access grant was successfully granted.
4182
4185
  `);
@@ -4188,7 +4191,7 @@ var access_grant_access_granted_to_door_event = access_grant_event.extend({
4188
4191
  acs_entrance_id
4189
4192
  }).describe(`
4190
4193
  ---
4191
- route_path: /unstable_access_grants
4194
+ route_path: /access_grants
4192
4195
  ---
4193
4196
  Access requested as part of an access grant to a particular door was successfully granted.
4194
4197
  `);
@@ -4199,7 +4202,7 @@ var access_grant_access_to_door_lost_event = access_grant_event.extend(
4199
4202
  }
4200
4203
  ).describe(`
4201
4204
  ---
4202
- route_path: /unstable_access_grants
4205
+ route_path: /access_grants
4203
4206
  ---
4204
4207
  Access to a particular door that was requested as part of an access grant was lost.
4205
4208
  `);
@@ -4217,7 +4220,7 @@ var access_method_issued_event = access_method_event.extend({
4217
4220
  event_type: zod.z.literal("access_method.issued")
4218
4221
  }).describe(`
4219
4222
  ---
4220
- route_path: /unstable_access_methods
4223
+ route_path: /access_methods
4221
4224
  ---
4222
4225
  An access method was issued.
4223
4226
  `);
@@ -4225,7 +4228,7 @@ var access_method_card_encoding_required_event = access_method_event.extend({
4225
4228
  event_type: zod.z.literal("access_method.card_encoding_required")
4226
4229
  }).describe(`
4227
4230
  ---
4228
- route_path: /unstable_access_methods
4231
+ route_path: /access_methods
4229
4232
  ---
4230
4233
  An access method representing a physical card requires encoding.
4231
4234
  `);
@@ -4233,7 +4236,7 @@ var access_method_revoked_event = access_method_event.extend({
4233
4236
  event_type: zod.z.literal("access_method.revoked")
4234
4237
  }).describe(`
4235
4238
  ---
4236
- route_path: /unstable_access_methods
4239
+ route_path: /access_methods
4237
4240
  ---
4238
4241
  An access method was revoked.
4239
4242
  `);
@@ -4241,7 +4244,7 @@ var access_method_deleted_event = access_method_event.extend({
4241
4244
  event_type: zod.z.literal("access_method.deleted")
4242
4245
  }).describe(`
4243
4246
  ---
4244
- route_path: /unstable_access_methods
4247
+ route_path: /access_methods
4245
4248
  ---
4246
4249
  An access method was deleted.
4247
4250
  `);
@@ -5069,6 +5072,24 @@ var pagination = zod.z.object({
5069
5072
  ),
5070
5073
  next_page_url: zod.z.string().url().nullable().describe("URL to get the next page of results.")
5071
5074
  }).describe("Information about the current page of results.");
5075
+ var building_block_type = zod.z.enum([
5076
+ "connect_accounts",
5077
+ "manage_devices",
5078
+ "organize_spaces"
5079
+ ]);
5080
+ var magic_link = zod.z.object({
5081
+ url: zod.z.string().url(),
5082
+ building_block_type,
5083
+ customer_key: zod.z.string(),
5084
+ expires_at: zod.z.string().datetime(),
5085
+ workspace_id: zod.z.string().uuid(),
5086
+ created_at: zod.z.string().datetime()
5087
+ }).describe(`
5088
+ ---
5089
+ undocumented: Unreleased.
5090
+ route_path: /unstable_partner/building_blocks
5091
+ ---
5092
+ `);
5072
5093
  var user_identity = zod.z.object({
5073
5094
  user_identity_id: zod.z.string().uuid().describe("ID of the user identity."),
5074
5095
  user_identity_key: zod.z.string().min(1).nullable().describe("Unique key for the user identity."),
@@ -15977,7 +15998,7 @@ var openapi_default = {
15977
15998
  "event_type"
15978
15999
  ],
15979
16000
  type: "object",
15980
- "x-route-path": "/unstable_access_grants"
16001
+ "x-route-path": "/access_grants"
15981
16002
  },
15982
16003
  {
15983
16004
  description: "An access grant was deleted.",
@@ -16018,7 +16039,7 @@ var openapi_default = {
16018
16039
  "event_type"
16019
16040
  ],
16020
16041
  type: "object",
16021
- "x-route-path": "/unstable_access_grants"
16042
+ "x-route-path": "/access_grants"
16022
16043
  },
16023
16044
  {
16024
16045
  description: "All access requested for an access grant was successfully granted.",
@@ -16062,7 +16083,7 @@ var openapi_default = {
16062
16083
  "event_type"
16063
16084
  ],
16064
16085
  type: "object",
16065
- "x-route-path": "/unstable_access_grants"
16086
+ "x-route-path": "/access_grants"
16066
16087
  },
16067
16088
  {
16068
16089
  description: "Access requested as part of an access grant to a particular door was successfully granted.",
@@ -16112,7 +16133,7 @@ var openapi_default = {
16112
16133
  "acs_entrance_id"
16113
16134
  ],
16114
16135
  type: "object",
16115
- "x-route-path": "/unstable_access_grants"
16136
+ "x-route-path": "/access_grants"
16116
16137
  },
16117
16138
  {
16118
16139
  description: "Access to a particular door that was requested as part of an access grant was lost.",
@@ -16162,7 +16183,7 @@ var openapi_default = {
16162
16183
  "acs_entrance_id"
16163
16184
  ],
16164
16185
  type: "object",
16165
- "x-route-path": "/unstable_access_grants"
16186
+ "x-route-path": "/access_grants"
16166
16187
  },
16167
16188
  {
16168
16189
  description: "An access method was issued.",
@@ -16203,7 +16224,7 @@ var openapi_default = {
16203
16224
  "event_type"
16204
16225
  ],
16205
16226
  type: "object",
16206
- "x-route-path": "/unstable_access_methods"
16227
+ "x-route-path": "/access_methods"
16207
16228
  },
16208
16229
  {
16209
16230
  description: "An access method was revoked.",
@@ -16244,7 +16265,7 @@ var openapi_default = {
16244
16265
  "event_type"
16245
16266
  ],
16246
16267
  type: "object",
16247
- "x-route-path": "/unstable_access_methods"
16268
+ "x-route-path": "/access_methods"
16248
16269
  },
16249
16270
  {
16250
16271
  description: "An access method representing a physical card requires encoding.",
@@ -16288,7 +16309,7 @@ var openapi_default = {
16288
16309
  "event_type"
16289
16310
  ],
16290
16311
  type: "object",
16291
- "x-route-path": "/unstable_access_methods"
16312
+ "x-route-path": "/access_methods"
16292
16313
  },
16293
16314
  {
16294
16315
  description: "An access method was deleted.",
@@ -16329,7 +16350,7 @@ var openapi_default = {
16329
16350
  "event_type"
16330
16351
  ],
16331
16352
  type: "object",
16332
- "x-route-path": "/unstable_access_methods"
16353
+ "x-route-path": "/access_methods"
16333
16354
  },
16334
16355
  {
16335
16356
  description: "An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.",
@@ -19732,17 +19753,6 @@ var openapi_default = {
19732
19753
  "x-route-path": "/unstable_partner/building_blocks",
19733
19754
  "x-undocumented": "Unreleased."
19734
19755
  },
19735
- network: {
19736
- properties: {
19737
- created_at: { format: "date-time", type: "string" },
19738
- display_name: { type: "string" },
19739
- network_id: { format: "uuid", type: "string" },
19740
- workspace_id: { format: "uuid", type: "string" }
19741
- },
19742
- required: ["network_id", "workspace_id", "display_name", "created_at"],
19743
- type: "object",
19744
- "x-route-path": "/networks"
19745
- },
19746
19756
  noise_threshold: {
19747
19757
  description: "Represents a [noise threshold](https://docs.seam.co/latest/capability-guides/noise-sensors/configure-noise-threshold-settings) for a [noise sensor](https://docs.seam.co/latest/capability-guides/noise-sensors). Thresholds represent the limits of noise tolerated at a property, which can be customized for each hour of the day. Each device has its own default thresholds, but you can use the Seam API to modify them.",
19748
19758
  properties: {
@@ -20499,6 +20509,40 @@ var openapi_default = {
20499
20509
  "x-route-path": "/seam/mobile_sdk/v1/phone_sessions",
20500
20510
  "x-undocumented": "Seam Mobile SDK only."
20501
20511
  },
20512
+ space: {
20513
+ properties: {
20514
+ created_at: {
20515
+ description: "Date and time at which the space object was created.",
20516
+ format: "date-time",
20517
+ type: "string"
20518
+ },
20519
+ display_name: {
20520
+ description: "Display name of the space.",
20521
+ type: "string"
20522
+ },
20523
+ name: { description: "Name of the space.", type: "string" },
20524
+ space_id: {
20525
+ description: "Unique identifier for the space.",
20526
+ format: "uuid",
20527
+ type: "string"
20528
+ },
20529
+ workspace_id: {
20530
+ description: "Unique identifier for the Seam workspace associated with the space.",
20531
+ format: "uuid",
20532
+ type: "string"
20533
+ }
20534
+ },
20535
+ required: [
20536
+ "space_id",
20537
+ "workspace_id",
20538
+ "name",
20539
+ "display_name",
20540
+ "created_at"
20541
+ ],
20542
+ type: "object",
20543
+ "x-draft": "Early access.",
20544
+ "x-route-path": "/spaces"
20545
+ },
20502
20546
  thermostat_schedule: {
20503
20547
  description: "Represents a [thermostat schedule](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules) that activates a configured [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) on a [thermostat](https://docs.seam.co/latest/capability-guides/thermostats) at a specified starting time and deactivates the climate preset at a specified ending time.",
20504
20548
  properties: {
@@ -25975,8 +26019,7 @@ var openapi_default = {
25975
26019
  "created_at",
25976
26020
  "created_access_method_ids"
25977
26021
  ],
25978
- type: "object",
25979
- "x-undocumented": "Unreleased."
26022
+ type: "object"
25980
26023
  },
25981
26024
  type: "array"
25982
26025
  },
@@ -26008,7 +26051,8 @@ var openapi_default = {
26008
26051
  "created_at"
26009
26052
  ],
26010
26053
  type: "object",
26011
- "x-undocumented": "Unreleased."
26054
+ "x-draft": "Early access.",
26055
+ "x-route-path": "/access_grants"
26012
26056
  },
26013
26057
  ok: { type: "boolean" }
26014
26058
  },
@@ -26030,12 +26074,12 @@ var openapi_default = {
26030
26074
  ],
26031
26075
  summary: "/access_grants/create",
26032
26076
  tags: [],
26077
+ "x-draft": "Early access.",
26033
26078
  "x-fern-sdk-group-name": ["access_grants"],
26034
26079
  "x-fern-sdk-method-name": "create",
26035
26080
  "x-fern-sdk-return-value": "access_grant",
26036
26081
  "x-response-key": "access_grant",
26037
- "x-title": "Create an Access Grant",
26038
- "x-undocumented": "Unreleased."
26082
+ "x-title": "Create an Access Grant"
26039
26083
  }
26040
26084
  },
26041
26085
  "/access_grants/delete": {
@@ -26083,11 +26127,11 @@ var openapi_default = {
26083
26127
  ],
26084
26128
  summary: "/access_grants/delete",
26085
26129
  tags: [],
26130
+ "x-draft": "Early access.",
26086
26131
  "x-fern-sdk-group-name": ["access_grants"],
26087
26132
  "x-fern-sdk-method-name": "delete",
26088
26133
  "x-response-key": null,
26089
- "x-title": "Delete an Access Grant",
26090
- "x-undocumented": "Unreleased."
26134
+ "x-title": "Delete an Access Grant"
26091
26135
  }
26092
26136
  },
26093
26137
  "/access_grants/get": {
@@ -26174,8 +26218,7 @@ var openapi_default = {
26174
26218
  "created_at",
26175
26219
  "created_access_method_ids"
26176
26220
  ],
26177
- type: "object",
26178
- "x-undocumented": "Unreleased."
26221
+ type: "object"
26179
26222
  },
26180
26223
  type: "array"
26181
26224
  },
@@ -26207,7 +26250,8 @@ var openapi_default = {
26207
26250
  "created_at"
26208
26251
  ],
26209
26252
  type: "object",
26210
- "x-undocumented": "Unreleased."
26253
+ "x-draft": "Early access.",
26254
+ "x-route-path": "/access_grants"
26211
26255
  },
26212
26256
  ok: { type: "boolean" }
26213
26257
  },
@@ -26229,12 +26273,12 @@ var openapi_default = {
26229
26273
  ],
26230
26274
  summary: "/access_grants/get",
26231
26275
  tags: [],
26276
+ "x-draft": "Early access.",
26232
26277
  "x-fern-sdk-group-name": ["access_grants"],
26233
26278
  "x-fern-sdk-method-name": "get",
26234
26279
  "x-fern-sdk-return-value": "access_grant",
26235
26280
  "x-response-key": "access_grant",
26236
- "x-title": "Get an Access Grant",
26237
- "x-undocumented": "Unreleased."
26281
+ "x-title": "Get an Access Grant"
26238
26282
  }
26239
26283
  },
26240
26284
  "/access_grants/list": {
@@ -26342,8 +26386,7 @@ var openapi_default = {
26342
26386
  "created_at",
26343
26387
  "created_access_method_ids"
26344
26388
  ],
26345
- type: "object",
26346
- "x-undocumented": "Unreleased."
26389
+ type: "object"
26347
26390
  },
26348
26391
  type: "array"
26349
26392
  },
@@ -26375,7 +26418,8 @@ var openapi_default = {
26375
26418
  "created_at"
26376
26419
  ],
26377
26420
  type: "object",
26378
- "x-undocumented": "Unreleased."
26421
+ "x-draft": "Early access.",
26422
+ "x-route-path": "/access_grants"
26379
26423
  },
26380
26424
  type: "array"
26381
26425
  },
@@ -26399,12 +26443,12 @@ var openapi_default = {
26399
26443
  ],
26400
26444
  summary: "/access_grants/list",
26401
26445
  tags: [],
26446
+ "x-draft": "Early access.",
26402
26447
  "x-fern-sdk-group-name": ["access_grants"],
26403
26448
  "x-fern-sdk-method-name": "list",
26404
26449
  "x-fern-sdk-return-value": "access_grants",
26405
26450
  "x-response-key": "access_grants",
26406
- "x-title": "List Access Grants",
26407
- "x-undocumented": "Unreleased."
26451
+ "x-title": "List Access Grants"
26408
26452
  }
26409
26453
  },
26410
26454
  "/access_methods/delete": {
@@ -26451,11 +26495,11 @@ var openapi_default = {
26451
26495
  ],
26452
26496
  summary: "/access_methods/delete",
26453
26497
  tags: [],
26498
+ "x-draft": "Early access.",
26454
26499
  "x-fern-sdk-group-name": ["access_methods"],
26455
26500
  "x-fern-sdk-method-name": "delete",
26456
26501
  "x-response-key": null,
26457
- "x-title": "Delete an Access Method",
26458
- "x-undocumented": "Unreleased."
26502
+ "x-title": "Delete an Access Method"
26459
26503
  }
26460
26504
  },
26461
26505
  "/access_methods/get": {
@@ -26533,7 +26577,8 @@ var openapi_default = {
26533
26577
  "created_at"
26534
26578
  ],
26535
26579
  type: "object",
26536
- "x-undocumented": "Unreleased."
26580
+ "x-draft": "Early access.",
26581
+ "x-route-path": "/access_methods"
26537
26582
  },
26538
26583
  ok: { type: "boolean" }
26539
26584
  },
@@ -26554,12 +26599,12 @@ var openapi_default = {
26554
26599
  ],
26555
26600
  summary: "/access_methods/get",
26556
26601
  tags: [],
26602
+ "x-draft": "Early access.",
26557
26603
  "x-fern-sdk-group-name": ["access_methods"],
26558
26604
  "x-fern-sdk-method-name": "get",
26559
26605
  "x-fern-sdk-return-value": "access_method",
26560
26606
  "x-response-key": "access_method",
26561
- "x-title": "Get an Access Method",
26562
- "x-undocumented": "Unreleased."
26607
+ "x-title": "Get an Access Method"
26563
26608
  }
26564
26609
  },
26565
26610
  "/access_methods/list": {
@@ -26638,7 +26683,8 @@ var openapi_default = {
26638
26683
  "created_at"
26639
26684
  ],
26640
26685
  type: "object",
26641
- "x-undocumented": "Unreleased."
26686
+ "x-draft": "Early access.",
26687
+ "x-route-path": "/access_methods"
26642
26688
  },
26643
26689
  type: "array"
26644
26690
  },
@@ -26661,12 +26707,12 @@ var openapi_default = {
26661
26707
  ],
26662
26708
  summary: "/access_methods/list",
26663
26709
  tags: [],
26710
+ "x-draft": "Early access.",
26664
26711
  "x-fern-sdk-group-name": ["access_methods"],
26665
26712
  "x-fern-sdk-method-name": "list",
26666
26713
  "x-fern-sdk-return-value": "access_methods",
26667
26714
  "x-response-key": "access_methods",
26668
- "x-title": "List Access Methods",
26669
- "x-undocumented": "Unreleased."
26715
+ "x-title": "List Access Methods"
26670
26716
  }
26671
26717
  },
26672
26718
  "/acs/access_groups/add_user": {
@@ -34324,7 +34370,22 @@ var openapi_default = {
34324
34370
  "application/json": {
34325
34371
  schema: {
34326
34372
  properties: {
34327
- network: { $ref: "#/components/schemas/network" },
34373
+ network: {
34374
+ properties: {
34375
+ created_at: { format: "date-time", type: "string" },
34376
+ display_name: { type: "string" },
34377
+ network_id: { format: "uuid", type: "string" },
34378
+ workspace_id: { format: "uuid", type: "string" }
34379
+ },
34380
+ required: [
34381
+ "network_id",
34382
+ "workspace_id",
34383
+ "display_name",
34384
+ "created_at"
34385
+ ],
34386
+ type: "object",
34387
+ "x-route-path": "/networks"
34388
+ },
34328
34389
  ok: { type: "boolean" }
34329
34390
  },
34330
34391
  required: ["network", "ok"],
@@ -34367,7 +34428,22 @@ var openapi_default = {
34367
34428
  schema: {
34368
34429
  properties: {
34369
34430
  networks: {
34370
- items: { $ref: "#/components/schemas/network" },
34431
+ items: {
34432
+ properties: {
34433
+ created_at: { format: "date-time", type: "string" },
34434
+ display_name: { type: "string" },
34435
+ network_id: { format: "uuid", type: "string" },
34436
+ workspace_id: { format: "uuid", type: "string" }
34437
+ },
34438
+ required: [
34439
+ "network_id",
34440
+ "workspace_id",
34441
+ "display_name",
34442
+ "created_at"
34443
+ ],
34444
+ type: "object",
34445
+ "x-route-path": "/networks"
34446
+ },
34371
34447
  type: "array"
34372
34448
  },
34373
34449
  ok: { type: "boolean" }
@@ -36881,6 +36957,7 @@ var openapi_default = {
36881
36957
  ],
36882
36958
  summary: "/spaces/add_acs_entrances",
36883
36959
  tags: [],
36960
+ "x-draft": "Early access.",
36884
36961
  "x-fern-sdk-group-name": ["spaces"],
36885
36962
  "x-fern-sdk-method-name": "add_acs_entrances",
36886
36963
  "x-response-key": null,
@@ -36930,6 +37007,7 @@ var openapi_default = {
36930
37007
  ],
36931
37008
  summary: "/spaces/add_acs_entrances",
36932
37009
  tags: [],
37010
+ "x-draft": "Early access.",
36933
37011
  "x-fern-ignore": true,
36934
37012
  "x-response-key": null,
36935
37013
  "x-title": "Add ACS Entrances"
@@ -36980,6 +37058,7 @@ var openapi_default = {
36980
37058
  ],
36981
37059
  summary: "/spaces/add_devices",
36982
37060
  tags: [],
37061
+ "x-draft": "Early access.",
36983
37062
  "x-fern-sdk-group-name": ["spaces"],
36984
37063
  "x-fern-sdk-method-name": "add_devices",
36985
37064
  "x-response-key": null,
@@ -37029,6 +37108,7 @@ var openapi_default = {
37029
37108
  ],
37030
37109
  summary: "/spaces/add_devices",
37031
37110
  tags: [],
37111
+ "x-draft": "Early access.",
37032
37112
  "x-fern-ignore": true,
37033
37113
  "x-response-key": null,
37034
37114
  "x-title": "Add Space Devices"
@@ -37066,41 +37146,7 @@ var openapi_default = {
37066
37146
  schema: {
37067
37147
  properties: {
37068
37148
  ok: { type: "boolean" },
37069
- space: {
37070
- properties: {
37071
- created_at: {
37072
- description: "Date and time at which the space object was created.",
37073
- format: "date-time",
37074
- type: "string"
37075
- },
37076
- display_name: {
37077
- description: "Display name of the space.",
37078
- type: "string"
37079
- },
37080
- name: {
37081
- description: "Name of the space.",
37082
- type: "string"
37083
- },
37084
- space_id: {
37085
- description: "Unique identifier for the space.",
37086
- format: "uuid",
37087
- type: "string"
37088
- },
37089
- workspace_id: {
37090
- description: "Unique identifier for the Seam workspace associated with the space.",
37091
- format: "uuid",
37092
- type: "string"
37093
- }
37094
- },
37095
- required: [
37096
- "space_id",
37097
- "workspace_id",
37098
- "name",
37099
- "display_name",
37100
- "created_at"
37101
- ],
37102
- type: "object"
37103
- }
37149
+ space: { $ref: "#/components/schemas/space" }
37104
37150
  },
37105
37151
  required: ["space", "ok"],
37106
37152
  type: "object"
@@ -37119,6 +37165,7 @@ var openapi_default = {
37119
37165
  ],
37120
37166
  summary: "/spaces/create",
37121
37167
  tags: [],
37168
+ "x-draft": "Early access.",
37122
37169
  "x-fern-sdk-group-name": ["spaces"],
37123
37170
  "x-fern-sdk-method-name": "create",
37124
37171
  "x-fern-sdk-return-value": "space",
@@ -37192,41 +37239,7 @@ var openapi_default = {
37192
37239
  schema: {
37193
37240
  properties: {
37194
37241
  ok: { type: "boolean" },
37195
- space: {
37196
- properties: {
37197
- created_at: {
37198
- description: "Date and time at which the space object was created.",
37199
- format: "date-time",
37200
- type: "string"
37201
- },
37202
- display_name: {
37203
- description: "Display name of the space.",
37204
- type: "string"
37205
- },
37206
- name: {
37207
- description: "Name of the space.",
37208
- type: "string"
37209
- },
37210
- space_id: {
37211
- description: "Unique identifier for the space.",
37212
- format: "uuid",
37213
- type: "string"
37214
- },
37215
- workspace_id: {
37216
- description: "Unique identifier for the Seam workspace associated with the space.",
37217
- format: "uuid",
37218
- type: "string"
37219
- }
37220
- },
37221
- required: [
37222
- "space_id",
37223
- "workspace_id",
37224
- "name",
37225
- "display_name",
37226
- "created_at"
37227
- ],
37228
- type: "object"
37229
- }
37242
+ space: { $ref: "#/components/schemas/space" }
37230
37243
  },
37231
37244
  required: ["space", "ok"],
37232
37245
  type: "object"
@@ -37264,41 +37277,7 @@ var openapi_default = {
37264
37277
  properties: {
37265
37278
  ok: { type: "boolean" },
37266
37279
  spaces: {
37267
- items: {
37268
- properties: {
37269
- created_at: {
37270
- description: "Date and time at which the space object was created.",
37271
- format: "date-time",
37272
- type: "string"
37273
- },
37274
- display_name: {
37275
- description: "Display name of the space.",
37276
- type: "string"
37277
- },
37278
- name: {
37279
- description: "Name of the space.",
37280
- type: "string"
37281
- },
37282
- space_id: {
37283
- description: "Unique identifier for the space.",
37284
- format: "uuid",
37285
- type: "string"
37286
- },
37287
- workspace_id: {
37288
- description: "Unique identifier for the Seam workspace associated with the space.",
37289
- format: "uuid",
37290
- type: "string"
37291
- }
37292
- },
37293
- required: [
37294
- "space_id",
37295
- "workspace_id",
37296
- "name",
37297
- "display_name",
37298
- "created_at"
37299
- ],
37300
- type: "object"
37301
- },
37280
+ items: { $ref: "#/components/schemas/space" },
37302
37281
  type: "array"
37303
37282
  }
37304
37283
  },
@@ -37319,6 +37298,7 @@ var openapi_default = {
37319
37298
  ],
37320
37299
  summary: "/spaces/list",
37321
37300
  tags: [],
37301
+ "x-draft": "Early access.",
37322
37302
  "x-fern-ignore": true,
37323
37303
  "x-response-key": "spaces",
37324
37304
  "x-title": "List Spaces"
@@ -37334,41 +37314,7 @@ var openapi_default = {
37334
37314
  properties: {
37335
37315
  ok: { type: "boolean" },
37336
37316
  spaces: {
37337
- items: {
37338
- properties: {
37339
- created_at: {
37340
- description: "Date and time at which the space object was created.",
37341
- format: "date-time",
37342
- type: "string"
37343
- },
37344
- display_name: {
37345
- description: "Display name of the space.",
37346
- type: "string"
37347
- },
37348
- name: {
37349
- description: "Name of the space.",
37350
- type: "string"
37351
- },
37352
- space_id: {
37353
- description: "Unique identifier for the space.",
37354
- format: "uuid",
37355
- type: "string"
37356
- },
37357
- workspace_id: {
37358
- description: "Unique identifier for the Seam workspace associated with the space.",
37359
- format: "uuid",
37360
- type: "string"
37361
- }
37362
- },
37363
- required: [
37364
- "space_id",
37365
- "workspace_id",
37366
- "name",
37367
- "display_name",
37368
- "created_at"
37369
- ],
37370
- type: "object"
37371
- },
37317
+ items: { $ref: "#/components/schemas/space" },
37372
37318
  type: "array"
37373
37319
  }
37374
37320
  },
@@ -37389,6 +37335,7 @@ var openapi_default = {
37389
37335
  ],
37390
37336
  summary: "/spaces/list",
37391
37337
  tags: [],
37338
+ "x-draft": "Early access.",
37392
37339
  "x-fern-sdk-group-name": ["spaces"],
37393
37340
  "x-fern-sdk-method-name": "list",
37394
37341
  "x-fern-sdk-return-value": "spaces",
@@ -37440,6 +37387,7 @@ var openapi_default = {
37440
37387
  ],
37441
37388
  summary: "/spaces/remove_acs_entrances",
37442
37389
  tags: [],
37390
+ "x-draft": "Early access.",
37443
37391
  "x-fern-sdk-group-name": ["spaces"],
37444
37392
  "x-fern-sdk-method-name": "remove_acs_entrances",
37445
37393
  "x-response-key": null,
@@ -37490,6 +37438,7 @@ var openapi_default = {
37490
37438
  ],
37491
37439
  summary: "/spaces/remove_devices",
37492
37440
  tags: [],
37441
+ "x-draft": "Early access.",
37493
37442
  "x-fern-sdk-group-name": ["spaces"],
37494
37443
  "x-fern-sdk-method-name": "remove_devices",
37495
37444
  "x-response-key": null,
@@ -37521,41 +37470,7 @@ var openapi_default = {
37521
37470
  schema: {
37522
37471
  properties: {
37523
37472
  ok: { type: "boolean" },
37524
- space: {
37525
- properties: {
37526
- created_at: {
37527
- description: "Date and time at which the space object was created.",
37528
- format: "date-time",
37529
- type: "string"
37530
- },
37531
- display_name: {
37532
- description: "Display name of the space.",
37533
- type: "string"
37534
- },
37535
- name: {
37536
- description: "Name of the space.",
37537
- type: "string"
37538
- },
37539
- space_id: {
37540
- description: "Unique identifier for the space.",
37541
- format: "uuid",
37542
- type: "string"
37543
- },
37544
- workspace_id: {
37545
- description: "Unique identifier for the Seam workspace associated with the space.",
37546
- format: "uuid",
37547
- type: "string"
37548
- }
37549
- },
37550
- required: [
37551
- "space_id",
37552
- "workspace_id",
37553
- "name",
37554
- "display_name",
37555
- "created_at"
37556
- ],
37557
- type: "object"
37558
- }
37473
+ space: { $ref: "#/components/schemas/space" }
37559
37474
  },
37560
37475
  required: ["space", "ok"],
37561
37476
  type: "object"
@@ -37574,6 +37489,7 @@ var openapi_default = {
37574
37489
  ],
37575
37490
  summary: "/spaces/update",
37576
37491
  tags: [],
37492
+ "x-draft": "Early access.",
37577
37493
  "x-fern-ignore": true,
37578
37494
  "x-response-key": "space",
37579
37495
  "x-title": "Update Space"
@@ -37602,41 +37518,7 @@ var openapi_default = {
37602
37518
  schema: {
37603
37519
  properties: {
37604
37520
  ok: { type: "boolean" },
37605
- space: {
37606
- properties: {
37607
- created_at: {
37608
- description: "Date and time at which the space object was created.",
37609
- format: "date-time",
37610
- type: "string"
37611
- },
37612
- display_name: {
37613
- description: "Display name of the space.",
37614
- type: "string"
37615
- },
37616
- name: {
37617
- description: "Name of the space.",
37618
- type: "string"
37619
- },
37620
- space_id: {
37621
- description: "Unique identifier for the space.",
37622
- format: "uuid",
37623
- type: "string"
37624
- },
37625
- workspace_id: {
37626
- description: "Unique identifier for the Seam workspace associated with the space.",
37627
- format: "uuid",
37628
- type: "string"
37629
- }
37630
- },
37631
- required: [
37632
- "space_id",
37633
- "workspace_id",
37634
- "name",
37635
- "display_name",
37636
- "created_at"
37637
- ],
37638
- type: "object"
37639
- }
37521
+ space: { $ref: "#/components/schemas/space" }
37640
37522
  },
37641
37523
  required: ["space", "ok"],
37642
37524
  type: "object"
@@ -37655,6 +37537,7 @@ var openapi_default = {
37655
37537
  ],
37656
37538
  summary: "/spaces/update",
37657
37539
  tags: [],
37540
+ "x-draft": "Early access.",
37658
37541
  "x-fern-sdk-group-name": ["spaces"],
37659
37542
  "x-fern-sdk-method-name": "update",
37660
37543
  "x-fern-sdk-return-value": "space",
@@ -40317,8 +40200,7 @@ var openapi_default = {
40317
40200
  "created_at",
40318
40201
  "created_access_method_ids"
40319
40202
  ],
40320
- type: "object",
40321
- "x-undocumented": "Unreleased."
40203
+ type: "object"
40322
40204
  },
40323
40205
  type: "array"
40324
40206
  },
@@ -40350,7 +40232,8 @@ var openapi_default = {
40350
40232
  "created_at"
40351
40233
  ],
40352
40234
  type: "object",
40353
- "x-undocumented": "Unreleased."
40235
+ "x-draft": "Early access.",
40236
+ "x-route-path": "/access_grants"
40354
40237
  },
40355
40238
  ok: { type: "boolean" }
40356
40239
  },
@@ -40516,8 +40399,7 @@ var openapi_default = {
40516
40399
  "created_at",
40517
40400
  "created_access_method_ids"
40518
40401
  ],
40519
- type: "object",
40520
- "x-undocumented": "Unreleased."
40402
+ type: "object"
40521
40403
  },
40522
40404
  type: "array"
40523
40405
  },
@@ -40549,7 +40431,8 @@ var openapi_default = {
40549
40431
  "created_at"
40550
40432
  ],
40551
40433
  type: "object",
40552
- "x-undocumented": "Unreleased."
40434
+ "x-draft": "Early access.",
40435
+ "x-route-path": "/access_grants"
40553
40436
  },
40554
40437
  ok: { type: "boolean" }
40555
40438
  },
@@ -40684,8 +40567,7 @@ var openapi_default = {
40684
40567
  "created_at",
40685
40568
  "created_access_method_ids"
40686
40569
  ],
40687
- type: "object",
40688
- "x-undocumented": "Unreleased."
40570
+ type: "object"
40689
40571
  },
40690
40572
  type: "array"
40691
40573
  },
@@ -40717,7 +40599,8 @@ var openapi_default = {
40717
40599
  "created_at"
40718
40600
  ],
40719
40601
  type: "object",
40720
- "x-undocumented": "Unreleased."
40602
+ "x-draft": "Early access.",
40603
+ "x-route-path": "/access_grants"
40721
40604
  },
40722
40605
  type: "array"
40723
40606
  },
@@ -40875,7 +40758,8 @@ var openapi_default = {
40875
40758
  "created_at"
40876
40759
  ],
40877
40760
  type: "object",
40878
- "x-undocumented": "Unreleased."
40761
+ "x-draft": "Early access.",
40762
+ "x-route-path": "/access_methods"
40879
40763
  },
40880
40764
  ok: { type: "boolean" }
40881
40765
  },
@@ -40980,7 +40864,8 @@ var openapi_default = {
40980
40864
  "created_at"
40981
40865
  ],
40982
40866
  type: "object",
40983
- "x-undocumented": "Unreleased."
40867
+ "x-draft": "Early access.",
40868
+ "x-route-path": "/access_methods"
40984
40869
  },
40985
40870
  type: "array"
40986
40871
  },
@@ -42041,14 +41926,28 @@ var openapi_default = {
42041
41926
  enum: ["organize_spaces"],
42042
41927
  type: "string"
42043
41928
  },
42044
- collection_key: { type: "string" },
42045
- customer_key: { type: "string" }
41929
+ customer_key: { type: "string" },
41930
+ partner_resources: {
41931
+ description: "Optional list of partner resources to include in the magic link.",
41932
+ items: {
41933
+ properties: {
41934
+ custom_metadata: {
41935
+ additionalProperties: { type: "string" },
41936
+ type: "object"
41937
+ },
41938
+ description: { type: "string" },
41939
+ name: { type: "string" },
41940
+ partner_resource_key: { type: "string" }
41941
+ },
41942
+ required: ["partner_resource_key", "name"],
41943
+ type: "object",
41944
+ "x-route-path": "/unstable_partner/resources",
41945
+ "x-undocumented": "Unreleased."
41946
+ },
41947
+ type: "array"
41948
+ }
42046
41949
  },
42047
- required: [
42048
- "building_block_type",
42049
- "customer_key",
42050
- "collection_key"
42051
- ],
41950
+ required: ["building_block_type", "customer_key"],
42052
41951
  type: "object"
42053
41952
  }
42054
41953
  ]
@@ -42165,11 +42064,10 @@ var openapi_default = {
42165
42064
  "x-route-path": "/unstable_partner/resources",
42166
42065
  "x-undocumented": "Unreleased."
42167
42066
  },
42168
- minItems: 1,
42169
42067
  type: "array"
42170
42068
  }
42171
42069
  },
42172
- required: ["customer_key", "partner_resources"],
42070
+ required: ["customer_key"],
42173
42071
  type: "object"
42174
42072
  }
42175
42073
  }