@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
@@ -12080,7 +12080,7 @@ export default {
12080
12080
  'event_type',
12081
12081
  ],
12082
12082
  type: 'object',
12083
- 'x-route-path': '/unstable_access_grants',
12083
+ 'x-route-path': '/access_grants',
12084
12084
  },
12085
12085
  {
12086
12086
  description: 'An access grant was deleted.',
@@ -12121,7 +12121,7 @@ export default {
12121
12121
  'event_type',
12122
12122
  ],
12123
12123
  type: 'object',
12124
- 'x-route-path': '/unstable_access_grants',
12124
+ 'x-route-path': '/access_grants',
12125
12125
  },
12126
12126
  {
12127
12127
  description:
@@ -12166,7 +12166,7 @@ export default {
12166
12166
  'event_type',
12167
12167
  ],
12168
12168
  type: 'object',
12169
- 'x-route-path': '/unstable_access_grants',
12169
+ 'x-route-path': '/access_grants',
12170
12170
  },
12171
12171
  {
12172
12172
  description:
@@ -12218,7 +12218,7 @@ export default {
12218
12218
  'acs_entrance_id',
12219
12219
  ],
12220
12220
  type: 'object',
12221
- 'x-route-path': '/unstable_access_grants',
12221
+ 'x-route-path': '/access_grants',
12222
12222
  },
12223
12223
  {
12224
12224
  description:
@@ -12270,7 +12270,7 @@ export default {
12270
12270
  'acs_entrance_id',
12271
12271
  ],
12272
12272
  type: 'object',
12273
- 'x-route-path': '/unstable_access_grants',
12273
+ 'x-route-path': '/access_grants',
12274
12274
  },
12275
12275
  {
12276
12276
  description: 'An access method was issued.',
@@ -12311,7 +12311,7 @@ export default {
12311
12311
  'event_type',
12312
12312
  ],
12313
12313
  type: 'object',
12314
- 'x-route-path': '/unstable_access_methods',
12314
+ 'x-route-path': '/access_methods',
12315
12315
  },
12316
12316
  {
12317
12317
  description: 'An access method was revoked.',
@@ -12352,7 +12352,7 @@ export default {
12352
12352
  'event_type',
12353
12353
  ],
12354
12354
  type: 'object',
12355
- 'x-route-path': '/unstable_access_methods',
12355
+ 'x-route-path': '/access_methods',
12356
12356
  },
12357
12357
  {
12358
12358
  description:
@@ -12397,7 +12397,7 @@ export default {
12397
12397
  'event_type',
12398
12398
  ],
12399
12399
  type: 'object',
12400
- 'x-route-path': '/unstable_access_methods',
12400
+ 'x-route-path': '/access_methods',
12401
12401
  },
12402
12402
  {
12403
12403
  description: 'An access method was deleted.',
@@ -12438,7 +12438,7 @@ export default {
12438
12438
  'event_type',
12439
12439
  ],
12440
12440
  type: 'object',
12441
- 'x-route-path': '/unstable_access_methods',
12441
+ 'x-route-path': '/access_methods',
12442
12442
  },
12443
12443
  {
12444
12444
  description:
@@ -15979,17 +15979,6 @@ export default {
15979
15979
  'x-route-path': '/unstable_partner/building_blocks',
15980
15980
  'x-undocumented': 'Unreleased.',
15981
15981
  },
15982
- network: {
15983
- properties: {
15984
- created_at: { format: 'date-time', type: 'string' },
15985
- display_name: { type: 'string' },
15986
- network_id: { format: 'uuid', type: 'string' },
15987
- workspace_id: { format: 'uuid', type: 'string' },
15988
- },
15989
- required: ['network_id', 'workspace_id', 'display_name', 'created_at'],
15990
- type: 'object',
15991
- 'x-route-path': '/networks',
15992
- },
15993
15982
  noise_threshold: {
15994
15983
  description:
15995
15984
  '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.',
@@ -16826,6 +16815,41 @@ export default {
16826
16815
  'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
16827
16816
  'x-undocumented': 'Seam Mobile SDK only.',
16828
16817
  },
16818
+ space: {
16819
+ properties: {
16820
+ created_at: {
16821
+ description: 'Date and time at which the space object was created.',
16822
+ format: 'date-time',
16823
+ type: 'string',
16824
+ },
16825
+ display_name: {
16826
+ description: 'Display name of the space.',
16827
+ type: 'string',
16828
+ },
16829
+ name: { description: 'Name of the space.', type: 'string' },
16830
+ space_id: {
16831
+ description: 'Unique identifier for the space.',
16832
+ format: 'uuid',
16833
+ type: 'string',
16834
+ },
16835
+ workspace_id: {
16836
+ description:
16837
+ 'Unique identifier for the Seam workspace associated with the space.',
16838
+ format: 'uuid',
16839
+ type: 'string',
16840
+ },
16841
+ },
16842
+ required: [
16843
+ 'space_id',
16844
+ 'workspace_id',
16845
+ 'name',
16846
+ 'display_name',
16847
+ 'created_at',
16848
+ ],
16849
+ type: 'object',
16850
+ 'x-draft': 'Early access.',
16851
+ 'x-route-path': '/spaces',
16852
+ },
16829
16853
  thermostat_schedule: {
16830
16854
  description:
16831
16855
  '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.',
@@ -22875,7 +22899,6 @@ export default {
22875
22899
  'created_access_method_ids',
22876
22900
  ],
22877
22901
  type: 'object',
22878
- 'x-undocumented': 'Unreleased.',
22879
22902
  },
22880
22903
  type: 'array',
22881
22904
  },
@@ -22910,7 +22933,8 @@ export default {
22910
22933
  'created_at',
22911
22934
  ],
22912
22935
  type: 'object',
22913
- 'x-undocumented': 'Unreleased.',
22936
+ 'x-draft': 'Early access.',
22937
+ 'x-route-path': '/access_grants',
22914
22938
  },
22915
22939
  ok: { type: 'boolean' },
22916
22940
  },
@@ -22932,12 +22956,12 @@ export default {
22932
22956
  ],
22933
22957
  summary: '/access_grants/create',
22934
22958
  tags: [],
22959
+ 'x-draft': 'Early access.',
22935
22960
  'x-fern-sdk-group-name': ['access_grants'],
22936
22961
  'x-fern-sdk-method-name': 'create',
22937
22962
  'x-fern-sdk-return-value': 'access_grant',
22938
22963
  'x-response-key': 'access_grant',
22939
22964
  'x-title': 'Create an Access Grant',
22940
- 'x-undocumented': 'Unreleased.',
22941
22965
  },
22942
22966
  },
22943
22967
  '/access_grants/delete': {
@@ -22985,11 +23009,11 @@ export default {
22985
23009
  ],
22986
23010
  summary: '/access_grants/delete',
22987
23011
  tags: [],
23012
+ 'x-draft': 'Early access.',
22988
23013
  'x-fern-sdk-group-name': ['access_grants'],
22989
23014
  'x-fern-sdk-method-name': 'delete',
22990
23015
  'x-response-key': null,
22991
23016
  'x-title': 'Delete an Access Grant',
22992
- 'x-undocumented': 'Unreleased.',
22993
23017
  },
22994
23018
  },
22995
23019
  '/access_grants/get': {
@@ -23084,7 +23108,6 @@ export default {
23084
23108
  'created_access_method_ids',
23085
23109
  ],
23086
23110
  type: 'object',
23087
- 'x-undocumented': 'Unreleased.',
23088
23111
  },
23089
23112
  type: 'array',
23090
23113
  },
@@ -23119,7 +23142,8 @@ export default {
23119
23142
  'created_at',
23120
23143
  ],
23121
23144
  type: 'object',
23122
- 'x-undocumented': 'Unreleased.',
23145
+ 'x-draft': 'Early access.',
23146
+ 'x-route-path': '/access_grants',
23123
23147
  },
23124
23148
  ok: { type: 'boolean' },
23125
23149
  },
@@ -23141,12 +23165,12 @@ export default {
23141
23165
  ],
23142
23166
  summary: '/access_grants/get',
23143
23167
  tags: [],
23168
+ 'x-draft': 'Early access.',
23144
23169
  'x-fern-sdk-group-name': ['access_grants'],
23145
23170
  'x-fern-sdk-method-name': 'get',
23146
23171
  'x-fern-sdk-return-value': 'access_grant',
23147
23172
  'x-response-key': 'access_grant',
23148
23173
  'x-title': 'Get an Access Grant',
23149
- 'x-undocumented': 'Unreleased.',
23150
23174
  },
23151
23175
  },
23152
23176
  '/access_grants/list': {
@@ -23266,7 +23290,6 @@ export default {
23266
23290
  'created_access_method_ids',
23267
23291
  ],
23268
23292
  type: 'object',
23269
- 'x-undocumented': 'Unreleased.',
23270
23293
  },
23271
23294
  type: 'array',
23272
23295
  },
@@ -23301,7 +23324,8 @@ export default {
23301
23324
  'created_at',
23302
23325
  ],
23303
23326
  type: 'object',
23304
- 'x-undocumented': 'Unreleased.',
23327
+ 'x-draft': 'Early access.',
23328
+ 'x-route-path': '/access_grants',
23305
23329
  },
23306
23330
  type: 'array',
23307
23331
  },
@@ -23325,12 +23349,12 @@ export default {
23325
23349
  ],
23326
23350
  summary: '/access_grants/list',
23327
23351
  tags: [],
23352
+ 'x-draft': 'Early access.',
23328
23353
  'x-fern-sdk-group-name': ['access_grants'],
23329
23354
  'x-fern-sdk-method-name': 'list',
23330
23355
  'x-fern-sdk-return-value': 'access_grants',
23331
23356
  'x-response-key': 'access_grants',
23332
23357
  'x-title': 'List Access Grants',
23333
- 'x-undocumented': 'Unreleased.',
23334
23358
  },
23335
23359
  },
23336
23360
  '/access_methods/delete': {
@@ -23377,11 +23401,11 @@ export default {
23377
23401
  ],
23378
23402
  summary: '/access_methods/delete',
23379
23403
  tags: [],
23404
+ 'x-draft': 'Early access.',
23380
23405
  'x-fern-sdk-group-name': ['access_methods'],
23381
23406
  'x-fern-sdk-method-name': 'delete',
23382
23407
  'x-response-key': null,
23383
23408
  'x-title': 'Delete an Access Method',
23384
- 'x-undocumented': 'Unreleased.',
23385
23409
  },
23386
23410
  },
23387
23411
  '/access_methods/get': {
@@ -23465,7 +23489,8 @@ export default {
23465
23489
  'created_at',
23466
23490
  ],
23467
23491
  type: 'object',
23468
- 'x-undocumented': 'Unreleased.',
23492
+ 'x-draft': 'Early access.',
23493
+ 'x-route-path': '/access_methods',
23469
23494
  },
23470
23495
  ok: { type: 'boolean' },
23471
23496
  },
@@ -23486,12 +23511,12 @@ export default {
23486
23511
  ],
23487
23512
  summary: '/access_methods/get',
23488
23513
  tags: [],
23514
+ 'x-draft': 'Early access.',
23489
23515
  'x-fern-sdk-group-name': ['access_methods'],
23490
23516
  'x-fern-sdk-method-name': 'get',
23491
23517
  'x-fern-sdk-return-value': 'access_method',
23492
23518
  'x-response-key': 'access_method',
23493
23519
  'x-title': 'Get an Access Method',
23494
- 'x-undocumented': 'Unreleased.',
23495
23520
  },
23496
23521
  },
23497
23522
  '/access_methods/list': {
@@ -23578,7 +23603,8 @@ export default {
23578
23603
  'created_at',
23579
23604
  ],
23580
23605
  type: 'object',
23581
- 'x-undocumented': 'Unreleased.',
23606
+ 'x-draft': 'Early access.',
23607
+ 'x-route-path': '/access_methods',
23582
23608
  },
23583
23609
  type: 'array',
23584
23610
  },
@@ -23601,12 +23627,12 @@ export default {
23601
23627
  ],
23602
23628
  summary: '/access_methods/list',
23603
23629
  tags: [],
23630
+ 'x-draft': 'Early access.',
23604
23631
  'x-fern-sdk-group-name': ['access_methods'],
23605
23632
  'x-fern-sdk-method-name': 'list',
23606
23633
  'x-fern-sdk-return-value': 'access_methods',
23607
23634
  'x-response-key': 'access_methods',
23608
23635
  'x-title': 'List Access Methods',
23609
- 'x-undocumented': 'Unreleased.',
23610
23636
  },
23611
23637
  },
23612
23638
  '/acs/access_groups/add_user': {
@@ -31680,7 +31706,22 @@ export default {
31680
31706
  'application/json': {
31681
31707
  schema: {
31682
31708
  properties: {
31683
- network: { $ref: '#/components/schemas/network' },
31709
+ network: {
31710
+ properties: {
31711
+ created_at: { format: 'date-time', type: 'string' },
31712
+ display_name: { type: 'string' },
31713
+ network_id: { format: 'uuid', type: 'string' },
31714
+ workspace_id: { format: 'uuid', type: 'string' },
31715
+ },
31716
+ required: [
31717
+ 'network_id',
31718
+ 'workspace_id',
31719
+ 'display_name',
31720
+ 'created_at',
31721
+ ],
31722
+ type: 'object',
31723
+ 'x-route-path': '/networks',
31724
+ },
31684
31725
  ok: { type: 'boolean' },
31685
31726
  },
31686
31727
  required: ['network', 'ok'],
@@ -31723,7 +31764,22 @@ export default {
31723
31764
  schema: {
31724
31765
  properties: {
31725
31766
  networks: {
31726
- items: { $ref: '#/components/schemas/network' },
31767
+ items: {
31768
+ properties: {
31769
+ created_at: { format: 'date-time', type: 'string' },
31770
+ display_name: { type: 'string' },
31771
+ network_id: { format: 'uuid', type: 'string' },
31772
+ workspace_id: { format: 'uuid', type: 'string' },
31773
+ },
31774
+ required: [
31775
+ 'network_id',
31776
+ 'workspace_id',
31777
+ 'display_name',
31778
+ 'created_at',
31779
+ ],
31780
+ type: 'object',
31781
+ 'x-route-path': '/networks',
31782
+ },
31727
31783
  type: 'array',
31728
31784
  },
31729
31785
  ok: { type: 'boolean' },
@@ -34377,6 +34433,7 @@ export default {
34377
34433
  ],
34378
34434
  summary: '/spaces/add_acs_entrances',
34379
34435
  tags: [],
34436
+ 'x-draft': 'Early access.',
34380
34437
  'x-fern-sdk-group-name': ['spaces'],
34381
34438
  'x-fern-sdk-method-name': 'add_acs_entrances',
34382
34439
  'x-response-key': null,
@@ -34426,6 +34483,7 @@ export default {
34426
34483
  ],
34427
34484
  summary: '/spaces/add_acs_entrances',
34428
34485
  tags: [],
34486
+ 'x-draft': 'Early access.',
34429
34487
  'x-fern-ignore': true,
34430
34488
  'x-response-key': null,
34431
34489
  'x-title': 'Add ACS Entrances',
@@ -34476,6 +34534,7 @@ export default {
34476
34534
  ],
34477
34535
  summary: '/spaces/add_devices',
34478
34536
  tags: [],
34537
+ 'x-draft': 'Early access.',
34479
34538
  'x-fern-sdk-group-name': ['spaces'],
34480
34539
  'x-fern-sdk-method-name': 'add_devices',
34481
34540
  'x-response-key': null,
@@ -34525,6 +34584,7 @@ export default {
34525
34584
  ],
34526
34585
  summary: '/spaces/add_devices',
34527
34586
  tags: [],
34587
+ 'x-draft': 'Early access.',
34528
34588
  'x-fern-ignore': true,
34529
34589
  'x-response-key': null,
34530
34590
  'x-title': 'Add Space Devices',
@@ -34562,43 +34622,7 @@ export default {
34562
34622
  schema: {
34563
34623
  properties: {
34564
34624
  ok: { type: 'boolean' },
34565
- space: {
34566
- properties: {
34567
- created_at: {
34568
- description:
34569
- 'Date and time at which the space object was created.',
34570
- format: 'date-time',
34571
- type: 'string',
34572
- },
34573
- display_name: {
34574
- description: 'Display name of the space.',
34575
- type: 'string',
34576
- },
34577
- name: {
34578
- description: 'Name of the space.',
34579
- type: 'string',
34580
- },
34581
- space_id: {
34582
- description: 'Unique identifier for the space.',
34583
- format: 'uuid',
34584
- type: 'string',
34585
- },
34586
- workspace_id: {
34587
- description:
34588
- 'Unique identifier for the Seam workspace associated with the space.',
34589
- format: 'uuid',
34590
- type: 'string',
34591
- },
34592
- },
34593
- required: [
34594
- 'space_id',
34595
- 'workspace_id',
34596
- 'name',
34597
- 'display_name',
34598
- 'created_at',
34599
- ],
34600
- type: 'object',
34601
- },
34625
+ space: { $ref: '#/components/schemas/space' },
34602
34626
  },
34603
34627
  required: ['space', 'ok'],
34604
34628
  type: 'object',
@@ -34617,6 +34641,7 @@ export default {
34617
34641
  ],
34618
34642
  summary: '/spaces/create',
34619
34643
  tags: [],
34644
+ 'x-draft': 'Early access.',
34620
34645
  'x-fern-sdk-group-name': ['spaces'],
34621
34646
  'x-fern-sdk-method-name': 'create',
34622
34647
  'x-fern-sdk-return-value': 'space',
@@ -34690,43 +34715,7 @@ export default {
34690
34715
  schema: {
34691
34716
  properties: {
34692
34717
  ok: { type: 'boolean' },
34693
- space: {
34694
- properties: {
34695
- created_at: {
34696
- description:
34697
- 'Date and time at which the space object was created.',
34698
- format: 'date-time',
34699
- type: 'string',
34700
- },
34701
- display_name: {
34702
- description: 'Display name of the space.',
34703
- type: 'string',
34704
- },
34705
- name: {
34706
- description: 'Name of the space.',
34707
- type: 'string',
34708
- },
34709
- space_id: {
34710
- description: 'Unique identifier for the space.',
34711
- format: 'uuid',
34712
- type: 'string',
34713
- },
34714
- workspace_id: {
34715
- description:
34716
- 'Unique identifier for the Seam workspace associated with the space.',
34717
- format: 'uuid',
34718
- type: 'string',
34719
- },
34720
- },
34721
- required: [
34722
- 'space_id',
34723
- 'workspace_id',
34724
- 'name',
34725
- 'display_name',
34726
- 'created_at',
34727
- ],
34728
- type: 'object',
34729
- },
34718
+ space: { $ref: '#/components/schemas/space' },
34730
34719
  },
34731
34720
  required: ['space', 'ok'],
34732
34721
  type: 'object',
@@ -34764,43 +34753,7 @@ export default {
34764
34753
  properties: {
34765
34754
  ok: { type: 'boolean' },
34766
34755
  spaces: {
34767
- items: {
34768
- properties: {
34769
- created_at: {
34770
- description:
34771
- 'Date and time at which the space object was created.',
34772
- format: 'date-time',
34773
- type: 'string',
34774
- },
34775
- display_name: {
34776
- description: 'Display name of the space.',
34777
- type: 'string',
34778
- },
34779
- name: {
34780
- description: 'Name of the space.',
34781
- type: 'string',
34782
- },
34783
- space_id: {
34784
- description: 'Unique identifier for the space.',
34785
- format: 'uuid',
34786
- type: 'string',
34787
- },
34788
- workspace_id: {
34789
- description:
34790
- 'Unique identifier for the Seam workspace associated with the space.',
34791
- format: 'uuid',
34792
- type: 'string',
34793
- },
34794
- },
34795
- required: [
34796
- 'space_id',
34797
- 'workspace_id',
34798
- 'name',
34799
- 'display_name',
34800
- 'created_at',
34801
- ],
34802
- type: 'object',
34803
- },
34756
+ items: { $ref: '#/components/schemas/space' },
34804
34757
  type: 'array',
34805
34758
  },
34806
34759
  },
@@ -34821,6 +34774,7 @@ export default {
34821
34774
  ],
34822
34775
  summary: '/spaces/list',
34823
34776
  tags: [],
34777
+ 'x-draft': 'Early access.',
34824
34778
  'x-fern-ignore': true,
34825
34779
  'x-response-key': 'spaces',
34826
34780
  'x-title': 'List Spaces',
@@ -34836,43 +34790,7 @@ export default {
34836
34790
  properties: {
34837
34791
  ok: { type: 'boolean' },
34838
34792
  spaces: {
34839
- items: {
34840
- properties: {
34841
- created_at: {
34842
- description:
34843
- 'Date and time at which the space object was created.',
34844
- format: 'date-time',
34845
- type: 'string',
34846
- },
34847
- display_name: {
34848
- description: 'Display name of the space.',
34849
- type: 'string',
34850
- },
34851
- name: {
34852
- description: 'Name of the space.',
34853
- type: 'string',
34854
- },
34855
- space_id: {
34856
- description: 'Unique identifier for the space.',
34857
- format: 'uuid',
34858
- type: 'string',
34859
- },
34860
- workspace_id: {
34861
- description:
34862
- 'Unique identifier for the Seam workspace associated with the space.',
34863
- format: 'uuid',
34864
- type: 'string',
34865
- },
34866
- },
34867
- required: [
34868
- 'space_id',
34869
- 'workspace_id',
34870
- 'name',
34871
- 'display_name',
34872
- 'created_at',
34873
- ],
34874
- type: 'object',
34875
- },
34793
+ items: { $ref: '#/components/schemas/space' },
34876
34794
  type: 'array',
34877
34795
  },
34878
34796
  },
@@ -34893,6 +34811,7 @@ export default {
34893
34811
  ],
34894
34812
  summary: '/spaces/list',
34895
34813
  tags: [],
34814
+ 'x-draft': 'Early access.',
34896
34815
  'x-fern-sdk-group-name': ['spaces'],
34897
34816
  'x-fern-sdk-method-name': 'list',
34898
34817
  'x-fern-sdk-return-value': 'spaces',
@@ -34944,6 +34863,7 @@ export default {
34944
34863
  ],
34945
34864
  summary: '/spaces/remove_acs_entrances',
34946
34865
  tags: [],
34866
+ 'x-draft': 'Early access.',
34947
34867
  'x-fern-sdk-group-name': ['spaces'],
34948
34868
  'x-fern-sdk-method-name': 'remove_acs_entrances',
34949
34869
  'x-response-key': null,
@@ -34994,6 +34914,7 @@ export default {
34994
34914
  ],
34995
34915
  summary: '/spaces/remove_devices',
34996
34916
  tags: [],
34917
+ 'x-draft': 'Early access.',
34997
34918
  'x-fern-sdk-group-name': ['spaces'],
34998
34919
  'x-fern-sdk-method-name': 'remove_devices',
34999
34920
  'x-response-key': null,
@@ -35025,43 +34946,7 @@ export default {
35025
34946
  schema: {
35026
34947
  properties: {
35027
34948
  ok: { type: 'boolean' },
35028
- space: {
35029
- properties: {
35030
- created_at: {
35031
- description:
35032
- 'Date and time at which the space object was created.',
35033
- format: 'date-time',
35034
- type: 'string',
35035
- },
35036
- display_name: {
35037
- description: 'Display name of the space.',
35038
- type: 'string',
35039
- },
35040
- name: {
35041
- description: 'Name of the space.',
35042
- type: 'string',
35043
- },
35044
- space_id: {
35045
- description: 'Unique identifier for the space.',
35046
- format: 'uuid',
35047
- type: 'string',
35048
- },
35049
- workspace_id: {
35050
- description:
35051
- 'Unique identifier for the Seam workspace associated with the space.',
35052
- format: 'uuid',
35053
- type: 'string',
35054
- },
35055
- },
35056
- required: [
35057
- 'space_id',
35058
- 'workspace_id',
35059
- 'name',
35060
- 'display_name',
35061
- 'created_at',
35062
- ],
35063
- type: 'object',
35064
- },
34949
+ space: { $ref: '#/components/schemas/space' },
35065
34950
  },
35066
34951
  required: ['space', 'ok'],
35067
34952
  type: 'object',
@@ -35080,6 +34965,7 @@ export default {
35080
34965
  ],
35081
34966
  summary: '/spaces/update',
35082
34967
  tags: [],
34968
+ 'x-draft': 'Early access.',
35083
34969
  'x-fern-ignore': true,
35084
34970
  'x-response-key': 'space',
35085
34971
  'x-title': 'Update Space',
@@ -35108,43 +34994,7 @@ export default {
35108
34994
  schema: {
35109
34995
  properties: {
35110
34996
  ok: { type: 'boolean' },
35111
- space: {
35112
- properties: {
35113
- created_at: {
35114
- description:
35115
- 'Date and time at which the space object was created.',
35116
- format: 'date-time',
35117
- type: 'string',
35118
- },
35119
- display_name: {
35120
- description: 'Display name of the space.',
35121
- type: 'string',
35122
- },
35123
- name: {
35124
- description: 'Name of the space.',
35125
- type: 'string',
35126
- },
35127
- space_id: {
35128
- description: 'Unique identifier for the space.',
35129
- format: 'uuid',
35130
- type: 'string',
35131
- },
35132
- workspace_id: {
35133
- description:
35134
- 'Unique identifier for the Seam workspace associated with the space.',
35135
- format: 'uuid',
35136
- type: 'string',
35137
- },
35138
- },
35139
- required: [
35140
- 'space_id',
35141
- 'workspace_id',
35142
- 'name',
35143
- 'display_name',
35144
- 'created_at',
35145
- ],
35146
- type: 'object',
35147
- },
34997
+ space: { $ref: '#/components/schemas/space' },
35148
34998
  },
35149
34999
  required: ['space', 'ok'],
35150
35000
  type: 'object',
@@ -35163,6 +35013,7 @@ export default {
35163
35013
  ],
35164
35014
  summary: '/spaces/update',
35165
35015
  tags: [],
35016
+ 'x-draft': 'Early access.',
35166
35017
  'x-fern-sdk-group-name': ['spaces'],
35167
35018
  'x-fern-sdk-method-name': 'update',
35168
35019
  'x-fern-sdk-return-value': 'space',
@@ -38033,7 +37884,6 @@ export default {
38033
37884
  'created_access_method_ids',
38034
37885
  ],
38035
37886
  type: 'object',
38036
- 'x-undocumented': 'Unreleased.',
38037
37887
  },
38038
37888
  type: 'array',
38039
37889
  },
@@ -38068,7 +37918,8 @@ export default {
38068
37918
  'created_at',
38069
37919
  ],
38070
37920
  type: 'object',
38071
- 'x-undocumented': 'Unreleased.',
37921
+ 'x-draft': 'Early access.',
37922
+ 'x-route-path': '/access_grants',
38072
37923
  },
38073
37924
  ok: { type: 'boolean' },
38074
37925
  },
@@ -38242,7 +38093,6 @@ export default {
38242
38093
  'created_access_method_ids',
38243
38094
  ],
38244
38095
  type: 'object',
38245
- 'x-undocumented': 'Unreleased.',
38246
38096
  },
38247
38097
  type: 'array',
38248
38098
  },
@@ -38277,7 +38127,8 @@ export default {
38277
38127
  'created_at',
38278
38128
  ],
38279
38129
  type: 'object',
38280
- 'x-undocumented': 'Unreleased.',
38130
+ 'x-draft': 'Early access.',
38131
+ 'x-route-path': '/access_grants',
38281
38132
  },
38282
38133
  ok: { type: 'boolean' },
38283
38134
  },
@@ -38424,7 +38275,6 @@ export default {
38424
38275
  'created_access_method_ids',
38425
38276
  ],
38426
38277
  type: 'object',
38427
- 'x-undocumented': 'Unreleased.',
38428
38278
  },
38429
38279
  type: 'array',
38430
38280
  },
@@ -38459,7 +38309,8 @@ export default {
38459
38309
  'created_at',
38460
38310
  ],
38461
38311
  type: 'object',
38462
- 'x-undocumented': 'Unreleased.',
38312
+ 'x-draft': 'Early access.',
38313
+ 'x-route-path': '/access_grants',
38463
38314
  },
38464
38315
  type: 'array',
38465
38316
  },
@@ -38623,7 +38474,8 @@ export default {
38623
38474
  'created_at',
38624
38475
  ],
38625
38476
  type: 'object',
38626
- 'x-undocumented': 'Unreleased.',
38477
+ 'x-draft': 'Early access.',
38478
+ 'x-route-path': '/access_methods',
38627
38479
  },
38628
38480
  ok: { type: 'boolean' },
38629
38481
  },
@@ -38736,7 +38588,8 @@ export default {
38736
38588
  'created_at',
38737
38589
  ],
38738
38590
  type: 'object',
38739
- 'x-undocumented': 'Unreleased.',
38591
+ 'x-draft': 'Early access.',
38592
+ 'x-route-path': '/access_methods',
38740
38593
  },
38741
38594
  type: 'array',
38742
38595
  },
@@ -39812,14 +39665,29 @@ export default {
39812
39665
  enum: ['organize_spaces'],
39813
39666
  type: 'string',
39814
39667
  },
39815
- collection_key: { type: 'string' },
39816
39668
  customer_key: { type: 'string' },
39669
+ partner_resources: {
39670
+ description:
39671
+ 'Optional list of partner resources to include in the magic link.',
39672
+ items: {
39673
+ properties: {
39674
+ custom_metadata: {
39675
+ additionalProperties: { type: 'string' },
39676
+ type: 'object',
39677
+ },
39678
+ description: { type: 'string' },
39679
+ name: { type: 'string' },
39680
+ partner_resource_key: { type: 'string' },
39681
+ },
39682
+ required: ['partner_resource_key', 'name'],
39683
+ type: 'object',
39684
+ 'x-route-path': '/unstable_partner/resources',
39685
+ 'x-undocumented': 'Unreleased.',
39686
+ },
39687
+ type: 'array',
39688
+ },
39817
39689
  },
39818
- required: [
39819
- 'building_block_type',
39820
- 'customer_key',
39821
- 'collection_key',
39822
- ],
39690
+ required: ['building_block_type', 'customer_key'],
39823
39691
  type: 'object',
39824
39692
  },
39825
39693
  ],
@@ -39938,11 +39806,10 @@ export default {
39938
39806
  'x-route-path': '/unstable_partner/resources',
39939
39807
  'x-undocumented': 'Unreleased.',
39940
39808
  },
39941
- minItems: 1,
39942
39809
  type: 'array',
39943
39810
  },
39944
39811
  },
39945
- required: ['customer_key', 'partner_resources'],
39812
+ required: ['customer_key'],
39946
39813
  type: 'object',
39947
39814
  },
39948
39815
  },