@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
@@ -3563,6 +3563,94 @@ declare const unmanaged_access_code: z.ZodObject<z.objectUtil.extendShape<Pick<{
3563
3563
  }>;
3564
3564
  type UnmanagedAccessCode = z.infer<typeof unmanaged_access_code>;
3565
3565
 
3566
+ declare const access_grant: z.ZodObject<{
3567
+ workspace_id: z.ZodString;
3568
+ access_grant_id: z.ZodString;
3569
+ user_identity_id: z.ZodString;
3570
+ location_ids: z.ZodArray<z.ZodString, "many">;
3571
+ space_ids: z.ZodArray<z.ZodString, "many">;
3572
+ requested_access_methods: z.ZodArray<z.ZodObject<{
3573
+ display_name: z.ZodString;
3574
+ mode: z.ZodEnum<["code", "card", "mobile_key"]>;
3575
+ created_at: z.ZodString;
3576
+ created_access_method_ids: z.ZodArray<z.ZodString, "many">;
3577
+ }, "strip", z.ZodTypeAny, {
3578
+ display_name: string;
3579
+ created_at: string;
3580
+ mode: "code" | "card" | "mobile_key";
3581
+ created_access_method_ids: string[];
3582
+ }, {
3583
+ display_name: string;
3584
+ created_at: string;
3585
+ mode: "code" | "card" | "mobile_key";
3586
+ created_access_method_ids: string[];
3587
+ }>, "many">;
3588
+ access_method_ids: z.ZodArray<z.ZodString, "many">;
3589
+ display_name: z.ZodString;
3590
+ created_at: z.ZodString;
3591
+ }, "strip", z.ZodTypeAny, {
3592
+ display_name: string;
3593
+ workspace_id: string;
3594
+ created_at: string;
3595
+ access_grant_id: string;
3596
+ user_identity_id: string;
3597
+ location_ids: string[];
3598
+ space_ids: string[];
3599
+ requested_access_methods: {
3600
+ display_name: string;
3601
+ created_at: string;
3602
+ mode: "code" | "card" | "mobile_key";
3603
+ created_access_method_ids: string[];
3604
+ }[];
3605
+ access_method_ids: string[];
3606
+ }, {
3607
+ display_name: string;
3608
+ workspace_id: string;
3609
+ created_at: string;
3610
+ access_grant_id: string;
3611
+ user_identity_id: string;
3612
+ location_ids: string[];
3613
+ space_ids: string[];
3614
+ requested_access_methods: {
3615
+ display_name: string;
3616
+ created_at: string;
3617
+ mode: "code" | "card" | "mobile_key";
3618
+ created_access_method_ids: string[];
3619
+ }[];
3620
+ access_method_ids: string[];
3621
+ }>;
3622
+ type AccessGrant = z.infer<typeof access_grant>;
3623
+
3624
+ declare const access_method: z.ZodObject<{
3625
+ workspace_id: z.ZodString;
3626
+ access_method_id: z.ZodString;
3627
+ display_name: z.ZodString;
3628
+ mode: z.ZodEnum<["code", "card", "mobile_key"]>;
3629
+ created_at: z.ZodString;
3630
+ issued_at: z.ZodOptional<z.ZodString>;
3631
+ instant_key_url: z.ZodOptional<z.ZodString>;
3632
+ is_card_encoding_required: z.ZodOptional<z.ZodBoolean>;
3633
+ }, "strip", z.ZodTypeAny, {
3634
+ display_name: string;
3635
+ workspace_id: string;
3636
+ created_at: string;
3637
+ mode: "code" | "card" | "mobile_key";
3638
+ access_method_id: string;
3639
+ issued_at?: string | undefined;
3640
+ instant_key_url?: string | undefined;
3641
+ is_card_encoding_required?: boolean | undefined;
3642
+ }, {
3643
+ display_name: string;
3644
+ workspace_id: string;
3645
+ created_at: string;
3646
+ mode: "code" | "card" | "mobile_key";
3647
+ access_method_id: string;
3648
+ issued_at?: string | undefined;
3649
+ instant_key_url?: string | undefined;
3650
+ is_card_encoding_required?: boolean | undefined;
3651
+ }>;
3652
+ type AccessMethod = z.infer<typeof access_method>;
3653
+
3566
3654
  declare const acs_access_group: z.ZodObject<z.objectUtil.extendShape<{
3567
3655
  acs_access_group_id: z.ZodString;
3568
3656
  acs_system_id: z.ZodString;
@@ -21107,6 +21195,54 @@ declare const pagination: z.ZodObject<{
21107
21195
  has_next_page: boolean;
21108
21196
  next_page_url: string | null;
21109
21197
  }>;
21198
+ type Pagination = z.infer<typeof pagination>;
21199
+
21200
+ declare const building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21201
+ type BuildingBlockType = z.infer<typeof building_block_type>;
21202
+ declare const magic_link: z.ZodObject<{
21203
+ url: z.ZodString;
21204
+ building_block_type: z.ZodEnum<["connect_accounts", "manage_devices", "organize_spaces"]>;
21205
+ customer_key: z.ZodString;
21206
+ expires_at: z.ZodString;
21207
+ workspace_id: z.ZodString;
21208
+ created_at: z.ZodString;
21209
+ }, "strip", z.ZodTypeAny, {
21210
+ workspace_id: string;
21211
+ created_at: string;
21212
+ url: string;
21213
+ expires_at: string;
21214
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21215
+ customer_key: string;
21216
+ }, {
21217
+ workspace_id: string;
21218
+ created_at: string;
21219
+ url: string;
21220
+ expires_at: string;
21221
+ building_block_type: "connect_accounts" | "manage_devices" | "organize_spaces";
21222
+ customer_key: string;
21223
+ }>;
21224
+ type MagicLink = z.infer<typeof magic_link>;
21225
+
21226
+ declare const space: z.ZodObject<{
21227
+ space_id: z.ZodString;
21228
+ workspace_id: z.ZodString;
21229
+ name: z.ZodString;
21230
+ display_name: z.ZodString;
21231
+ created_at: z.ZodString;
21232
+ }, "strip", z.ZodTypeAny, {
21233
+ name: string;
21234
+ display_name: string;
21235
+ workspace_id: string;
21236
+ created_at: string;
21237
+ space_id: string;
21238
+ }, {
21239
+ name: string;
21240
+ display_name: string;
21241
+ workspace_id: string;
21242
+ created_at: string;
21243
+ space_id: string;
21244
+ }>;
21245
+ type Space = z.infer<typeof space>;
21110
21246
 
21111
21247
  declare const thermostat_daily_program: z.ZodObject<{
21112
21248
  thermostat_daily_program_id: z.ZodString;
@@ -21343,6 +21479,7 @@ declare const schemas_acs_user: typeof acs_user;
21343
21479
  declare const schemas_action_attempt: typeof action_attempt;
21344
21480
  declare const schemas_bridge: typeof bridge;
21345
21481
  declare const schemas_bridge_client_session: typeof bridge_client_session;
21482
+ declare const schemas_building_block_type: typeof building_block_type;
21346
21483
  declare const schemas_client_session: typeof client_session;
21347
21484
  declare const schemas_common_failed_action_attempt: typeof common_failed_action_attempt;
21348
21485
  declare const schemas_common_pending_action_attempt: typeof common_pending_action_attempt;
@@ -21353,6 +21490,7 @@ declare const schemas_custom_metadata: typeof custom_metadata;
21353
21490
  declare const schemas_device: typeof device;
21354
21491
  declare const schemas_device_provider: typeof device_provider;
21355
21492
  declare const schemas_instant_key: typeof instant_key;
21493
+ declare const schemas_magic_link: typeof magic_link;
21356
21494
  declare const schemas_noise_threshold: typeof noise_threshold;
21357
21495
  declare const schemas_pagination: typeof pagination;
21358
21496
  declare const schemas_seam_event: typeof seam_event;
@@ -21368,7 +21506,7 @@ declare const schemas_user_identity: typeof user_identity;
21368
21506
  declare const schemas_webhook: typeof webhook;
21369
21507
  declare const schemas_workspace: typeof workspace;
21370
21508
  declare namespace schemas {
21371
- export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
21509
+ export { schemas_access_code as access_code, schemas_acs_access_group as acs_access_group, schemas_acs_credential as acs_credential, schemas_acs_encoder as acs_encoder, schemas_acs_entrance as acs_entrance, schemas_acs_system as acs_system, schemas_acs_user as acs_user, schemas_action_attempt as action_attempt, schemas_bridge as bridge, schemas_bridge_client_session as bridge_client_session, schemas_building_block_type as building_block_type, schemas_client_session as client_session, schemas_common_failed_action_attempt as common_failed_action_attempt, schemas_common_pending_action_attempt as common_pending_action_attempt, schemas_common_succeeded_action_attempt as common_succeeded_action_attempt, schemas_connect_webview as connect_webview, schemas_connected_account as connected_account, schemas_custom_metadata as custom_metadata, schemas_device as device, schemas_device_provider as device_provider, schemas_instant_key as instant_key, schemas_magic_link as magic_link, schemas_noise_threshold as noise_threshold, schemas_pagination as pagination, schemas_seam_event as seam_event, schemas_thermostat_daily_program as thermostat_daily_program, schemas_thermostat_schedule as thermostat_schedule, schemas_thermostat_weekly_program as thermostat_weekly_program, schemas_unmanaged_access_code as unmanaged_access_code, schemas_unmanaged_acs_access_group as unmanaged_acs_access_group, schemas_unmanaged_acs_credential as unmanaged_acs_credential, schemas_unmanaged_acs_user as unmanaged_acs_user, schemas_unmanaged_device as unmanaged_device, schemas_user_identity as user_identity, schemas_webhook as webhook, schemas_workspace as workspace };
21372
21510
  }
21373
21511
 
21374
21512
  declare const _default: {
@@ -30076,28 +30214,6 @@ declare const _default: {
30076
30214
  'x-route-path': string;
30077
30215
  'x-undocumented': string;
30078
30216
  };
30079
- network: {
30080
- properties: {
30081
- created_at: {
30082
- format: string;
30083
- type: string;
30084
- };
30085
- display_name: {
30086
- type: string;
30087
- };
30088
- network_id: {
30089
- format: string;
30090
- type: string;
30091
- };
30092
- workspace_id: {
30093
- format: string;
30094
- type: string;
30095
- };
30096
- };
30097
- required: string[];
30098
- type: string;
30099
- 'x-route-path': string;
30100
- };
30101
30217
  noise_threshold: {
30102
30218
  description: string;
30103
30219
  properties: {
@@ -30757,6 +30873,37 @@ declare const _default: {
30757
30873
  'x-route-path': string;
30758
30874
  'x-undocumented': string;
30759
30875
  };
30876
+ space: {
30877
+ properties: {
30878
+ created_at: {
30879
+ description: string;
30880
+ format: string;
30881
+ type: string;
30882
+ };
30883
+ display_name: {
30884
+ description: string;
30885
+ type: string;
30886
+ };
30887
+ name: {
30888
+ description: string;
30889
+ type: string;
30890
+ };
30891
+ space_id: {
30892
+ description: string;
30893
+ format: string;
30894
+ type: string;
30895
+ };
30896
+ workspace_id: {
30897
+ description: string;
30898
+ format: string;
30899
+ type: string;
30900
+ };
30901
+ };
30902
+ required: string[];
30903
+ type: string;
30904
+ 'x-draft': string;
30905
+ 'x-route-path': string;
30906
+ };
30760
30907
  thermostat_schedule: {
30761
30908
  description: string;
30762
30909
  properties: {
@@ -35014,7 +35161,6 @@ declare const _default: {
35014
35161
  };
35015
35162
  required: string[];
35016
35163
  type: string;
35017
- 'x-undocumented': string;
35018
35164
  };
35019
35165
  type: string;
35020
35166
  };
@@ -35039,7 +35185,8 @@ declare const _default: {
35039
35185
  };
35040
35186
  required: string[];
35041
35187
  type: string;
35042
- 'x-undocumented': string;
35188
+ 'x-draft': string;
35189
+ 'x-route-path': string;
35043
35190
  };
35044
35191
  ok: {
35045
35192
  type: string;
@@ -35082,12 +35229,12 @@ declare const _default: {
35082
35229
  })[];
35083
35230
  summary: string;
35084
35231
  tags: never[];
35232
+ 'x-draft': string;
35085
35233
  'x-fern-sdk-group-name': string[];
35086
35234
  'x-fern-sdk-method-name': string;
35087
35235
  'x-fern-sdk-return-value': string;
35088
35236
  'x-response-key': string;
35089
35237
  'x-title': string;
35090
- 'x-undocumented': string;
35091
35238
  };
35092
35239
  };
35093
35240
  '/access_grants/delete': {
@@ -35158,11 +35305,11 @@ declare const _default: {
35158
35305
  })[];
35159
35306
  summary: string;
35160
35307
  tags: never[];
35308
+ 'x-draft': string;
35161
35309
  'x-fern-sdk-group-name': string[];
35162
35310
  'x-fern-sdk-method-name': string;
35163
35311
  'x-response-key': null;
35164
35312
  'x-title': string;
35165
- 'x-undocumented': string;
35166
35313
  };
35167
35314
  };
35168
35315
  '/access_grants/get': {
@@ -35254,7 +35401,6 @@ declare const _default: {
35254
35401
  };
35255
35402
  required: string[];
35256
35403
  type: string;
35257
- 'x-undocumented': string;
35258
35404
  };
35259
35405
  type: string;
35260
35406
  };
@@ -35279,7 +35425,8 @@ declare const _default: {
35279
35425
  };
35280
35426
  required: string[];
35281
35427
  type: string;
35282
- 'x-undocumented': string;
35428
+ 'x-draft': string;
35429
+ 'x-route-path': string;
35283
35430
  };
35284
35431
  ok: {
35285
35432
  type: string;
@@ -35322,12 +35469,12 @@ declare const _default: {
35322
35469
  })[];
35323
35470
  summary: string;
35324
35471
  tags: never[];
35472
+ 'x-draft': string;
35325
35473
  'x-fern-sdk-group-name': string[];
35326
35474
  'x-fern-sdk-method-name': string;
35327
35475
  'x-fern-sdk-return-value': string;
35328
35476
  'x-response-key': string;
35329
35477
  'x-title': string;
35330
- 'x-undocumented': string;
35331
35478
  };
35332
35479
  };
35333
35480
  '/access_grants/list': {
@@ -35440,7 +35587,6 @@ declare const _default: {
35440
35587
  };
35441
35588
  required: string[];
35442
35589
  type: string;
35443
- 'x-undocumented': string;
35444
35590
  };
35445
35591
  type: string;
35446
35592
  };
@@ -35465,7 +35611,8 @@ declare const _default: {
35465
35611
  };
35466
35612
  required: string[];
35467
35613
  type: string;
35468
- 'x-undocumented': string;
35614
+ 'x-draft': string;
35615
+ 'x-route-path': string;
35469
35616
  };
35470
35617
  type: string;
35471
35618
  };
@@ -35510,12 +35657,12 @@ declare const _default: {
35510
35657
  })[];
35511
35658
  summary: string;
35512
35659
  tags: never[];
35660
+ 'x-draft': string;
35513
35661
  'x-fern-sdk-group-name': string[];
35514
35662
  'x-fern-sdk-method-name': string;
35515
35663
  'x-fern-sdk-return-value': string;
35516
35664
  'x-response-key': string;
35517
35665
  'x-title': string;
35518
- 'x-undocumented': string;
35519
35666
  };
35520
35667
  };
35521
35668
  '/access_methods/delete': {
@@ -35578,11 +35725,11 @@ declare const _default: {
35578
35725
  })[];
35579
35726
  summary: string;
35580
35727
  tags: never[];
35728
+ 'x-draft': string;
35581
35729
  'x-fern-sdk-group-name': string[];
35582
35730
  'x-fern-sdk-method-name': string;
35583
35731
  'x-response-key': null;
35584
35732
  'x-title': string;
35585
- 'x-undocumented': string;
35586
35733
  };
35587
35734
  };
35588
35735
  '/access_methods/get': {
@@ -35654,7 +35801,8 @@ declare const _default: {
35654
35801
  };
35655
35802
  required: string[];
35656
35803
  type: string;
35657
- 'x-undocumented': string;
35804
+ 'x-draft': string;
35805
+ 'x-route-path': string;
35658
35806
  };
35659
35807
  ok: {
35660
35808
  type: string;
@@ -35689,12 +35837,12 @@ declare const _default: {
35689
35837
  })[];
35690
35838
  summary: string;
35691
35839
  tags: never[];
35840
+ 'x-draft': string;
35692
35841
  'x-fern-sdk-group-name': string[];
35693
35842
  'x-fern-sdk-method-name': string;
35694
35843
  'x-fern-sdk-return-value': string;
35695
35844
  'x-response-key': string;
35696
35845
  'x-title': string;
35697
- 'x-undocumented': string;
35698
35846
  };
35699
35847
  };
35700
35848
  '/access_methods/list': {
@@ -35767,7 +35915,8 @@ declare const _default: {
35767
35915
  };
35768
35916
  required: string[];
35769
35917
  type: string;
35770
- 'x-undocumented': string;
35918
+ 'x-draft': string;
35919
+ 'x-route-path': string;
35771
35920
  };
35772
35921
  type: string;
35773
35922
  };
@@ -35804,12 +35953,12 @@ declare const _default: {
35804
35953
  })[];
35805
35954
  summary: string;
35806
35955
  tags: never[];
35956
+ 'x-draft': string;
35807
35957
  'x-fern-sdk-group-name': string[];
35808
35958
  'x-fern-sdk-method-name': string;
35809
35959
  'x-fern-sdk-return-value': string;
35810
35960
  'x-response-key': string;
35811
35961
  'x-title': string;
35812
- 'x-undocumented': string;
35813
35962
  };
35814
35963
  };
35815
35964
  '/acs/access_groups/add_user': {
@@ -44748,7 +44897,26 @@ declare const _default: {
44748
44897
  schema: {
44749
44898
  properties: {
44750
44899
  network: {
44751
- $ref: string;
44900
+ properties: {
44901
+ created_at: {
44902
+ format: string;
44903
+ type: string;
44904
+ };
44905
+ display_name: {
44906
+ type: string;
44907
+ };
44908
+ network_id: {
44909
+ format: string;
44910
+ type: string;
44911
+ };
44912
+ workspace_id: {
44913
+ format: string;
44914
+ type: string;
44915
+ };
44916
+ };
44917
+ required: string[];
44918
+ type: string;
44919
+ 'x-route-path': string;
44752
44920
  };
44753
44921
  ok: {
44754
44922
  type: string;
@@ -44812,7 +44980,26 @@ declare const _default: {
44812
44980
  properties: {
44813
44981
  networks: {
44814
44982
  items: {
44815
- $ref: string;
44983
+ properties: {
44984
+ created_at: {
44985
+ format: string;
44986
+ type: string;
44987
+ };
44988
+ display_name: {
44989
+ type: string;
44990
+ };
44991
+ network_id: {
44992
+ format: string;
44993
+ type: string;
44994
+ };
44995
+ workspace_id: {
44996
+ format: string;
44997
+ type: string;
44998
+ };
44999
+ };
45000
+ required: string[];
45001
+ type: string;
45002
+ 'x-route-path': string;
44816
45003
  };
44817
45004
  type: string;
44818
45005
  };
@@ -47695,6 +47882,7 @@ declare const _default: {
47695
47882
  })[];
47696
47883
  summary: string;
47697
47884
  tags: never[];
47885
+ 'x-draft': string;
47698
47886
  'x-fern-sdk-group-name': string[];
47699
47887
  'x-fern-sdk-method-name': string;
47700
47888
  'x-response-key': null;
@@ -47766,6 +47954,7 @@ declare const _default: {
47766
47954
  })[];
47767
47955
  summary: string;
47768
47956
  tags: never[];
47957
+ 'x-draft': string;
47769
47958
  'x-fern-ignore': boolean;
47770
47959
  'x-response-key': null;
47771
47960
  'x-title': string;
@@ -47838,6 +48027,7 @@ declare const _default: {
47838
48027
  })[];
47839
48028
  summary: string;
47840
48029
  tags: never[];
48030
+ 'x-draft': string;
47841
48031
  'x-fern-sdk-group-name': string[];
47842
48032
  'x-fern-sdk-method-name': string;
47843
48033
  'x-response-key': null;
@@ -47909,6 +48099,7 @@ declare const _default: {
47909
48099
  })[];
47910
48100
  summary: string;
47911
48101
  tags: never[];
48102
+ 'x-draft': string;
47912
48103
  'x-fern-ignore': boolean;
47913
48104
  'x-response-key': null;
47914
48105
  'x-title': string;
@@ -47957,33 +48148,7 @@ declare const _default: {
47957
48148
  type: string;
47958
48149
  };
47959
48150
  space: {
47960
- properties: {
47961
- created_at: {
47962
- description: string;
47963
- format: string;
47964
- type: string;
47965
- };
47966
- display_name: {
47967
- description: string;
47968
- type: string;
47969
- };
47970
- name: {
47971
- description: string;
47972
- type: string;
47973
- };
47974
- space_id: {
47975
- description: string;
47976
- format: string;
47977
- type: string;
47978
- };
47979
- workspace_id: {
47980
- description: string;
47981
- format: string;
47982
- type: string;
47983
- };
47984
- };
47985
- required: string[];
47986
- type: string;
48151
+ $ref: string;
47987
48152
  };
47988
48153
  };
47989
48154
  required: string[];
@@ -48015,6 +48180,7 @@ declare const _default: {
48015
48180
  })[];
48016
48181
  summary: string;
48017
48182
  tags: never[];
48183
+ 'x-draft': string;
48018
48184
  'x-fern-sdk-group-name': string[];
48019
48185
  'x-fern-sdk-method-name': string;
48020
48186
  'x-fern-sdk-return-value': string;
@@ -48117,33 +48283,7 @@ declare const _default: {
48117
48283
  type: string;
48118
48284
  };
48119
48285
  space: {
48120
- properties: {
48121
- created_at: {
48122
- description: string;
48123
- format: string;
48124
- type: string;
48125
- };
48126
- display_name: {
48127
- description: string;
48128
- type: string;
48129
- };
48130
- name: {
48131
- description: string;
48132
- type: string;
48133
- };
48134
- space_id: {
48135
- description: string;
48136
- format: string;
48137
- type: string;
48138
- };
48139
- workspace_id: {
48140
- description: string;
48141
- format: string;
48142
- type: string;
48143
- };
48144
- };
48145
- required: string[];
48146
- type: string;
48286
+ $ref: string;
48147
48287
  };
48148
48288
  };
48149
48289
  required: string[];
@@ -48197,33 +48337,7 @@ declare const _default: {
48197
48337
  };
48198
48338
  spaces: {
48199
48339
  items: {
48200
- properties: {
48201
- created_at: {
48202
- description: string;
48203
- format: string;
48204
- type: string;
48205
- };
48206
- display_name: {
48207
- description: string;
48208
- type: string;
48209
- };
48210
- name: {
48211
- description: string;
48212
- type: string;
48213
- };
48214
- space_id: {
48215
- description: string;
48216
- format: string;
48217
- type: string;
48218
- };
48219
- workspace_id: {
48220
- description: string;
48221
- format: string;
48222
- type: string;
48223
- };
48224
- };
48225
- required: string[];
48226
- type: string;
48340
+ $ref: string;
48227
48341
  };
48228
48342
  type: string;
48229
48343
  };
@@ -48257,6 +48371,7 @@ declare const _default: {
48257
48371
  })[];
48258
48372
  summary: string;
48259
48373
  tags: never[];
48374
+ 'x-draft': string;
48260
48375
  'x-fern-ignore': boolean;
48261
48376
  'x-response-key': string;
48262
48377
  'x-title': string;
@@ -48275,33 +48390,7 @@ declare const _default: {
48275
48390
  };
48276
48391
  spaces: {
48277
48392
  items: {
48278
- properties: {
48279
- created_at: {
48280
- description: string;
48281
- format: string;
48282
- type: string;
48283
- };
48284
- display_name: {
48285
- description: string;
48286
- type: string;
48287
- };
48288
- name: {
48289
- description: string;
48290
- type: string;
48291
- };
48292
- space_id: {
48293
- description: string;
48294
- format: string;
48295
- type: string;
48296
- };
48297
- workspace_id: {
48298
- description: string;
48299
- format: string;
48300
- type: string;
48301
- };
48302
- };
48303
- required: string[];
48304
- type: string;
48393
+ $ref: string;
48305
48394
  };
48306
48395
  type: string;
48307
48396
  };
@@ -48335,6 +48424,7 @@ declare const _default: {
48335
48424
  })[];
48336
48425
  summary: string;
48337
48426
  tags: never[];
48427
+ 'x-draft': string;
48338
48428
  'x-fern-sdk-group-name': string[];
48339
48429
  'x-fern-sdk-method-name': string;
48340
48430
  'x-fern-sdk-return-value': string;
@@ -48408,6 +48498,7 @@ declare const _default: {
48408
48498
  })[];
48409
48499
  summary: string;
48410
48500
  tags: never[];
48501
+ 'x-draft': string;
48411
48502
  'x-fern-sdk-group-name': string[];
48412
48503
  'x-fern-sdk-method-name': string;
48413
48504
  'x-response-key': null;
@@ -48480,6 +48571,7 @@ declare const _default: {
48480
48571
  })[];
48481
48572
  summary: string;
48482
48573
  tags: never[];
48574
+ 'x-draft': string;
48483
48575
  'x-fern-sdk-group-name': string[];
48484
48576
  'x-fern-sdk-method-name': string;
48485
48577
  'x-response-key': null;
@@ -48519,33 +48611,7 @@ declare const _default: {
48519
48611
  type: string;
48520
48612
  };
48521
48613
  space: {
48522
- properties: {
48523
- created_at: {
48524
- description: string;
48525
- format: string;
48526
- type: string;
48527
- };
48528
- display_name: {
48529
- description: string;
48530
- type: string;
48531
- };
48532
- name: {
48533
- description: string;
48534
- type: string;
48535
- };
48536
- space_id: {
48537
- description: string;
48538
- format: string;
48539
- type: string;
48540
- };
48541
- workspace_id: {
48542
- description: string;
48543
- format: string;
48544
- type: string;
48545
- };
48546
- };
48547
- required: string[];
48548
- type: string;
48614
+ $ref: string;
48549
48615
  };
48550
48616
  };
48551
48617
  required: string[];
@@ -48577,6 +48643,7 @@ declare const _default: {
48577
48643
  })[];
48578
48644
  summary: string;
48579
48645
  tags: never[];
48646
+ 'x-draft': string;
48580
48647
  'x-fern-ignore': boolean;
48581
48648
  'x-response-key': string;
48582
48649
  'x-title': string;
@@ -48613,33 +48680,7 @@ declare const _default: {
48613
48680
  type: string;
48614
48681
  };
48615
48682
  space: {
48616
- properties: {
48617
- created_at: {
48618
- description: string;
48619
- format: string;
48620
- type: string;
48621
- };
48622
- display_name: {
48623
- description: string;
48624
- type: string;
48625
- };
48626
- name: {
48627
- description: string;
48628
- type: string;
48629
- };
48630
- space_id: {
48631
- description: string;
48632
- format: string;
48633
- type: string;
48634
- };
48635
- workspace_id: {
48636
- description: string;
48637
- format: string;
48638
- type: string;
48639
- };
48640
- };
48641
- required: string[];
48642
- type: string;
48683
+ $ref: string;
48643
48684
  };
48644
48685
  };
48645
48686
  required: string[];
@@ -48671,6 +48712,7 @@ declare const _default: {
48671
48712
  })[];
48672
48713
  summary: string;
48673
48714
  tags: never[];
48715
+ 'x-draft': string;
48674
48716
  'x-fern-sdk-group-name': string[];
48675
48717
  'x-fern-sdk-method-name': string;
48676
48718
  'x-fern-sdk-return-value': string;
@@ -51920,7 +51962,6 @@ declare const _default: {
51920
51962
  };
51921
51963
  required: string[];
51922
51964
  type: string;
51923
- 'x-undocumented': string;
51924
51965
  };
51925
51966
  type: string;
51926
51967
  };
@@ -51945,7 +51986,8 @@ declare const _default: {
51945
51986
  };
51946
51987
  required: string[];
51947
51988
  type: string;
51948
- 'x-undocumented': string;
51989
+ 'x-draft': string;
51990
+ 'x-route-path': string;
51949
51991
  };
51950
51992
  ok: {
51951
51993
  type: string;
@@ -52160,7 +52202,6 @@ declare const _default: {
52160
52202
  };
52161
52203
  required: string[];
52162
52204
  type: string;
52163
- 'x-undocumented': string;
52164
52205
  };
52165
52206
  type: string;
52166
52207
  };
@@ -52185,7 +52226,8 @@ declare const _default: {
52185
52226
  };
52186
52227
  required: string[];
52187
52228
  type: string;
52188
- 'x-undocumented': string;
52229
+ 'x-draft': string;
52230
+ 'x-route-path': string;
52189
52231
  };
52190
52232
  ok: {
52191
52233
  type: string;
@@ -52346,7 +52388,6 @@ declare const _default: {
52346
52388
  };
52347
52389
  required: string[];
52348
52390
  type: string;
52349
- 'x-undocumented': string;
52350
52391
  };
52351
52392
  type: string;
52352
52393
  };
@@ -52371,7 +52412,8 @@ declare const _default: {
52371
52412
  };
52372
52413
  required: string[];
52373
52414
  type: string;
52374
- 'x-undocumented': string;
52415
+ 'x-draft': string;
52416
+ 'x-route-path': string;
52375
52417
  };
52376
52418
  type: string;
52377
52419
  };
@@ -52560,7 +52602,8 @@ declare const _default: {
52560
52602
  };
52561
52603
  required: string[];
52562
52604
  type: string;
52563
- 'x-undocumented': string;
52605
+ 'x-draft': string;
52606
+ 'x-route-path': string;
52564
52607
  };
52565
52608
  ok: {
52566
52609
  type: string;
@@ -52673,7 +52716,8 @@ declare const _default: {
52673
52716
  };
52674
52717
  required: string[];
52675
52718
  type: string;
52676
- 'x-undocumented': string;
52719
+ 'x-draft': string;
52720
+ 'x-route-path': string;
52677
52721
  };
52678
52722
  type: string;
52679
52723
  };
@@ -54032,7 +54076,7 @@ declare const _default: {
54032
54076
  customer_key: {
54033
54077
  type: string;
54034
54078
  };
54035
- collection_key?: never;
54079
+ partner_resources?: never;
54036
54080
  };
54037
54081
  required: string[];
54038
54082
  type: string;
@@ -54042,10 +54086,34 @@ declare const _default: {
54042
54086
  enum: string[];
54043
54087
  type: string;
54044
54088
  };
54045
- collection_key: {
54089
+ customer_key: {
54046
54090
  type: string;
54047
54091
  };
54048
- customer_key: {
54092
+ partner_resources: {
54093
+ description: string;
54094
+ items: {
54095
+ properties: {
54096
+ custom_metadata: {
54097
+ additionalProperties: {
54098
+ type: string;
54099
+ };
54100
+ type: string;
54101
+ };
54102
+ description: {
54103
+ type: string;
54104
+ };
54105
+ name: {
54106
+ type: string;
54107
+ };
54108
+ partner_resource_key: {
54109
+ type: string;
54110
+ };
54111
+ };
54112
+ required: string[];
54113
+ type: string;
54114
+ 'x-route-path': string;
54115
+ 'x-undocumented': string;
54116
+ };
54049
54117
  type: string;
54050
54118
  };
54051
54119
  };
@@ -54211,7 +54279,6 @@ declare const _default: {
54211
54279
  'x-route-path': string;
54212
54280
  'x-undocumented': string;
54213
54281
  };
54214
- minItems: number;
54215
54282
  type: string;
54216
54283
  };
54217
54284
  };
@@ -99043,6 +99110,7 @@ interface Routes {
99043
99110
  commonParams: {};
99044
99111
  formData: {};
99045
99112
  jsonResponse: {
99113
+ /** */
99046
99114
  space: {
99047
99115
  /** Unique identifier for the space. */
99048
99116
  space_id: string;
@@ -99078,6 +99146,7 @@ interface Routes {
99078
99146
  };
99079
99147
  formData: {};
99080
99148
  jsonResponse: {
99149
+ /** */
99081
99150
  space: {
99082
99151
  /** Unique identifier for the space. */
99083
99152
  space_id: string;
@@ -99149,6 +99218,7 @@ interface Routes {
99149
99218
  commonParams: {};
99150
99219
  formData: {};
99151
99220
  jsonResponse: {
99221
+ /** */
99152
99222
  space: {
99153
99223
  /** Unique identifier for the space. */
99154
99224
  space_id: string;
@@ -113859,7 +113929,13 @@ interface Routes {
113859
113929
  } | {
113860
113930
  building_block_type: 'organize_spaces';
113861
113931
  customer_key: string;
113862
- collection_key: string;
113932
+ /** Optional list of partner resources to include in the magic link. */
113933
+ partner_resources?: Array<{
113934
+ partner_resource_key: string;
113935
+ name: string;
113936
+ description?: string | undefined;
113937
+ custom_metadata?: Record<string, string> | undefined;
113938
+ }> | undefined;
113863
113939
  };
113864
113940
  formData: {};
113865
113941
  jsonResponse: {
@@ -113902,12 +113978,12 @@ interface Routes {
113902
113978
  jsonBody: {};
113903
113979
  commonParams: {
113904
113980
  customer_key: string;
113905
- partner_resources: Array<{
113981
+ partner_resources?: Array<{
113906
113982
  partner_resource_key: string;
113907
113983
  name: string;
113908
113984
  description?: string | undefined;
113909
113985
  custom_metadata?: Record<string, string> | undefined;
113910
- }>;
113986
+ }> | undefined;
113911
113987
  };
113912
113988
  formData: {};
113913
113989
  jsonResponse: {
@@ -118338,4 +118414,4 @@ type RouteRequestParams<Path extends keyof Routes> = Routes[Path]['queryParams']
118338
118414
 
118339
118415
  declare const routes: {};
118340
118416
 
118341
- export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type NoiseThreshold, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };
118417
+ export { type AccessCode, type AccessCodeError, type AccessCodeWarning, type AccessGrant, type AccessMethod, type AcsAccessGroup, type AcsCredential, type AcsEncoder, type AcsEntrance, type AcsSystem, type AcsUser, type ActionAttempt, type Bridge, type BuildingBlockType, type ClientSession, type ConnectWebview, type ConnectedAccount, type ConnectedAccountError, type ConnectedAccountWarning, type CustomMetadata, type Device, type DeviceError, type DeviceProvider, type DeviceWarning, type InstantKey, type MagicLink, type NoiseThreshold, type Pagination, type RouteRequestBody, type RouteRequestParams, type RouteResponse, type Routes, type SeamEvent, type SeamEventType, type Space, type ThermostatSchedule, type UnmanagedAccessCode, type UnmanagedDevice, type UserIdentity, type Webhook, type Workspace, _default as openapi, routes, schemas };