@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
@@ -10841,7 +10841,7 @@ export default {
10841
10841
  'event_type',
10842
10842
  ],
10843
10843
  type: 'object',
10844
- 'x-route-path': '/unstable_access_grants',
10844
+ 'x-route-path': '/access_grants',
10845
10845
  },
10846
10846
  {
10847
10847
  description: 'An access grant was deleted.',
@@ -10882,7 +10882,7 @@ export default {
10882
10882
  'event_type',
10883
10883
  ],
10884
10884
  type: 'object',
10885
- 'x-route-path': '/unstable_access_grants',
10885
+ 'x-route-path': '/access_grants',
10886
10886
  },
10887
10887
  {
10888
10888
  description: 'All access requested for an access grant was successfully granted.',
@@ -10926,7 +10926,7 @@ export default {
10926
10926
  'event_type',
10927
10927
  ],
10928
10928
  type: 'object',
10929
- 'x-route-path': '/unstable_access_grants',
10929
+ 'x-route-path': '/access_grants',
10930
10930
  },
10931
10931
  {
10932
10932
  description: 'Access requested as part of an access grant to a particular door was successfully granted.',
@@ -10976,7 +10976,7 @@ export default {
10976
10976
  'acs_entrance_id',
10977
10977
  ],
10978
10978
  type: 'object',
10979
- 'x-route-path': '/unstable_access_grants',
10979
+ 'x-route-path': '/access_grants',
10980
10980
  },
10981
10981
  {
10982
10982
  description: 'Access to a particular door that was requested as part of an access grant was lost.',
@@ -11026,7 +11026,7 @@ export default {
11026
11026
  'acs_entrance_id',
11027
11027
  ],
11028
11028
  type: 'object',
11029
- 'x-route-path': '/unstable_access_grants',
11029
+ 'x-route-path': '/access_grants',
11030
11030
  },
11031
11031
  {
11032
11032
  description: 'An access method was issued.',
@@ -11067,7 +11067,7 @@ export default {
11067
11067
  'event_type',
11068
11068
  ],
11069
11069
  type: 'object',
11070
- 'x-route-path': '/unstable_access_methods',
11070
+ 'x-route-path': '/access_methods',
11071
11071
  },
11072
11072
  {
11073
11073
  description: 'An access method was revoked.',
@@ -11108,7 +11108,7 @@ export default {
11108
11108
  'event_type',
11109
11109
  ],
11110
11110
  type: 'object',
11111
- 'x-route-path': '/unstable_access_methods',
11111
+ 'x-route-path': '/access_methods',
11112
11112
  },
11113
11113
  {
11114
11114
  description: 'An access method representing a physical card requires encoding.',
@@ -11152,7 +11152,7 @@ export default {
11152
11152
  'event_type',
11153
11153
  ],
11154
11154
  type: 'object',
11155
- 'x-route-path': '/unstable_access_methods',
11155
+ 'x-route-path': '/access_methods',
11156
11156
  },
11157
11157
  {
11158
11158
  description: 'An access method was deleted.',
@@ -11193,7 +11193,7 @@ export default {
11193
11193
  'event_type',
11194
11194
  ],
11195
11195
  type: 'object',
11196
- 'x-route-path': '/unstable_access_methods',
11196
+ 'x-route-path': '/access_methods',
11197
11197
  },
11198
11198
  {
11199
11199
  description: 'An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.',
@@ -14596,17 +14596,6 @@ export default {
14596
14596
  'x-route-path': '/unstable_partner/building_blocks',
14597
14597
  'x-undocumented': 'Unreleased.',
14598
14598
  },
14599
- network: {
14600
- properties: {
14601
- created_at: { format: 'date-time', type: 'string' },
14602
- display_name: { type: 'string' },
14603
- network_id: { format: 'uuid', type: 'string' },
14604
- workspace_id: { format: 'uuid', type: 'string' },
14605
- },
14606
- required: ['network_id', 'workspace_id', 'display_name', 'created_at'],
14607
- type: 'object',
14608
- 'x-route-path': '/networks',
14609
- },
14610
14599
  noise_threshold: {
14611
14600
  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.',
14612
14601
  properties: {
@@ -15363,6 +15352,40 @@ export default {
15363
15352
  'x-route-path': '/seam/mobile_sdk/v1/phone_sessions',
15364
15353
  'x-undocumented': 'Seam Mobile SDK only.',
15365
15354
  },
15355
+ space: {
15356
+ properties: {
15357
+ created_at: {
15358
+ description: 'Date and time at which the space object was created.',
15359
+ format: 'date-time',
15360
+ type: 'string',
15361
+ },
15362
+ display_name: {
15363
+ description: 'Display name of the space.',
15364
+ type: 'string',
15365
+ },
15366
+ name: { description: 'Name of the space.', type: 'string' },
15367
+ space_id: {
15368
+ description: 'Unique identifier for the space.',
15369
+ format: 'uuid',
15370
+ type: 'string',
15371
+ },
15372
+ workspace_id: {
15373
+ description: 'Unique identifier for the Seam workspace associated with the space.',
15374
+ format: 'uuid',
15375
+ type: 'string',
15376
+ },
15377
+ },
15378
+ required: [
15379
+ 'space_id',
15380
+ 'workspace_id',
15381
+ 'name',
15382
+ 'display_name',
15383
+ 'created_at',
15384
+ ],
15385
+ type: 'object',
15386
+ 'x-draft': 'Early access.',
15387
+ 'x-route-path': '/spaces',
15388
+ },
15366
15389
  thermostat_schedule: {
15367
15390
  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.',
15368
15391
  properties: {
@@ -20840,7 +20863,6 @@ export default {
20840
20863
  'created_access_method_ids',
20841
20864
  ],
20842
20865
  type: 'object',
20843
- 'x-undocumented': 'Unreleased.',
20844
20866
  },
20845
20867
  type: 'array',
20846
20868
  },
@@ -20872,7 +20894,8 @@ export default {
20872
20894
  'created_at',
20873
20895
  ],
20874
20896
  type: 'object',
20875
- 'x-undocumented': 'Unreleased.',
20897
+ 'x-draft': 'Early access.',
20898
+ 'x-route-path': '/access_grants',
20876
20899
  },
20877
20900
  ok: { type: 'boolean' },
20878
20901
  },
@@ -20894,12 +20917,12 @@ export default {
20894
20917
  ],
20895
20918
  summary: '/access_grants/create',
20896
20919
  tags: [],
20920
+ 'x-draft': 'Early access.',
20897
20921
  'x-fern-sdk-group-name': ['access_grants'],
20898
20922
  'x-fern-sdk-method-name': 'create',
20899
20923
  'x-fern-sdk-return-value': 'access_grant',
20900
20924
  'x-response-key': 'access_grant',
20901
20925
  'x-title': 'Create an Access Grant',
20902
- 'x-undocumented': 'Unreleased.',
20903
20926
  },
20904
20927
  },
20905
20928
  '/access_grants/delete': {
@@ -20947,11 +20970,11 @@ export default {
20947
20970
  ],
20948
20971
  summary: '/access_grants/delete',
20949
20972
  tags: [],
20973
+ 'x-draft': 'Early access.',
20950
20974
  'x-fern-sdk-group-name': ['access_grants'],
20951
20975
  'x-fern-sdk-method-name': 'delete',
20952
20976
  'x-response-key': null,
20953
20977
  'x-title': 'Delete an Access Grant',
20954
- 'x-undocumented': 'Unreleased.',
20955
20978
  },
20956
20979
  },
20957
20980
  '/access_grants/get': {
@@ -21039,7 +21062,6 @@ export default {
21039
21062
  'created_access_method_ids',
21040
21063
  ],
21041
21064
  type: 'object',
21042
- 'x-undocumented': 'Unreleased.',
21043
21065
  },
21044
21066
  type: 'array',
21045
21067
  },
@@ -21071,7 +21093,8 @@ export default {
21071
21093
  'created_at',
21072
21094
  ],
21073
21095
  type: 'object',
21074
- 'x-undocumented': 'Unreleased.',
21096
+ 'x-draft': 'Early access.',
21097
+ 'x-route-path': '/access_grants',
21075
21098
  },
21076
21099
  ok: { type: 'boolean' },
21077
21100
  },
@@ -21093,12 +21116,12 @@ export default {
21093
21116
  ],
21094
21117
  summary: '/access_grants/get',
21095
21118
  tags: [],
21119
+ 'x-draft': 'Early access.',
21096
21120
  'x-fern-sdk-group-name': ['access_grants'],
21097
21121
  'x-fern-sdk-method-name': 'get',
21098
21122
  'x-fern-sdk-return-value': 'access_grant',
21099
21123
  'x-response-key': 'access_grant',
21100
21124
  'x-title': 'Get an Access Grant',
21101
- 'x-undocumented': 'Unreleased.',
21102
21125
  },
21103
21126
  },
21104
21127
  '/access_grants/list': {
@@ -21207,7 +21230,6 @@ export default {
21207
21230
  'created_access_method_ids',
21208
21231
  ],
21209
21232
  type: 'object',
21210
- 'x-undocumented': 'Unreleased.',
21211
21233
  },
21212
21234
  type: 'array',
21213
21235
  },
@@ -21239,7 +21261,8 @@ export default {
21239
21261
  'created_at',
21240
21262
  ],
21241
21263
  type: 'object',
21242
- 'x-undocumented': 'Unreleased.',
21264
+ 'x-draft': 'Early access.',
21265
+ 'x-route-path': '/access_grants',
21243
21266
  },
21244
21267
  type: 'array',
21245
21268
  },
@@ -21263,12 +21286,12 @@ export default {
21263
21286
  ],
21264
21287
  summary: '/access_grants/list',
21265
21288
  tags: [],
21289
+ 'x-draft': 'Early access.',
21266
21290
  'x-fern-sdk-group-name': ['access_grants'],
21267
21291
  'x-fern-sdk-method-name': 'list',
21268
21292
  'x-fern-sdk-return-value': 'access_grants',
21269
21293
  'x-response-key': 'access_grants',
21270
21294
  'x-title': 'List Access Grants',
21271
- 'x-undocumented': 'Unreleased.',
21272
21295
  },
21273
21296
  },
21274
21297
  '/access_methods/delete': {
@@ -21315,11 +21338,11 @@ export default {
21315
21338
  ],
21316
21339
  summary: '/access_methods/delete',
21317
21340
  tags: [],
21341
+ 'x-draft': 'Early access.',
21318
21342
  'x-fern-sdk-group-name': ['access_methods'],
21319
21343
  'x-fern-sdk-method-name': 'delete',
21320
21344
  'x-response-key': null,
21321
21345
  'x-title': 'Delete an Access Method',
21322
- 'x-undocumented': 'Unreleased.',
21323
21346
  },
21324
21347
  },
21325
21348
  '/access_methods/get': {
@@ -21397,7 +21420,8 @@ export default {
21397
21420
  'created_at',
21398
21421
  ],
21399
21422
  type: 'object',
21400
- 'x-undocumented': 'Unreleased.',
21423
+ 'x-draft': 'Early access.',
21424
+ 'x-route-path': '/access_methods',
21401
21425
  },
21402
21426
  ok: { type: 'boolean' },
21403
21427
  },
@@ -21418,12 +21442,12 @@ export default {
21418
21442
  ],
21419
21443
  summary: '/access_methods/get',
21420
21444
  tags: [],
21445
+ 'x-draft': 'Early access.',
21421
21446
  'x-fern-sdk-group-name': ['access_methods'],
21422
21447
  'x-fern-sdk-method-name': 'get',
21423
21448
  'x-fern-sdk-return-value': 'access_method',
21424
21449
  'x-response-key': 'access_method',
21425
21450
  'x-title': 'Get an Access Method',
21426
- 'x-undocumented': 'Unreleased.',
21427
21451
  },
21428
21452
  },
21429
21453
  '/access_methods/list': {
@@ -21502,7 +21526,8 @@ export default {
21502
21526
  'created_at',
21503
21527
  ],
21504
21528
  type: 'object',
21505
- 'x-undocumented': 'Unreleased.',
21529
+ 'x-draft': 'Early access.',
21530
+ 'x-route-path': '/access_methods',
21506
21531
  },
21507
21532
  type: 'array',
21508
21533
  },
@@ -21525,12 +21550,12 @@ export default {
21525
21550
  ],
21526
21551
  summary: '/access_methods/list',
21527
21552
  tags: [],
21553
+ 'x-draft': 'Early access.',
21528
21554
  'x-fern-sdk-group-name': ['access_methods'],
21529
21555
  'x-fern-sdk-method-name': 'list',
21530
21556
  'x-fern-sdk-return-value': 'access_methods',
21531
21557
  'x-response-key': 'access_methods',
21532
21558
  'x-title': 'List Access Methods',
21533
- 'x-undocumented': 'Unreleased.',
21534
21559
  },
21535
21560
  },
21536
21561
  '/acs/access_groups/add_user': {
@@ -29188,7 +29213,22 @@ export default {
29188
29213
  'application/json': {
29189
29214
  schema: {
29190
29215
  properties: {
29191
- network: { $ref: '#/components/schemas/network' },
29216
+ network: {
29217
+ properties: {
29218
+ created_at: { format: 'date-time', type: 'string' },
29219
+ display_name: { type: 'string' },
29220
+ network_id: { format: 'uuid', type: 'string' },
29221
+ workspace_id: { format: 'uuid', type: 'string' },
29222
+ },
29223
+ required: [
29224
+ 'network_id',
29225
+ 'workspace_id',
29226
+ 'display_name',
29227
+ 'created_at',
29228
+ ],
29229
+ type: 'object',
29230
+ 'x-route-path': '/networks',
29231
+ },
29192
29232
  ok: { type: 'boolean' },
29193
29233
  },
29194
29234
  required: ['network', 'ok'],
@@ -29231,7 +29271,22 @@ export default {
29231
29271
  schema: {
29232
29272
  properties: {
29233
29273
  networks: {
29234
- items: { $ref: '#/components/schemas/network' },
29274
+ items: {
29275
+ properties: {
29276
+ created_at: { format: 'date-time', type: 'string' },
29277
+ display_name: { type: 'string' },
29278
+ network_id: { format: 'uuid', type: 'string' },
29279
+ workspace_id: { format: 'uuid', type: 'string' },
29280
+ },
29281
+ required: [
29282
+ 'network_id',
29283
+ 'workspace_id',
29284
+ 'display_name',
29285
+ 'created_at',
29286
+ ],
29287
+ type: 'object',
29288
+ 'x-route-path': '/networks',
29289
+ },
29235
29290
  type: 'array',
29236
29291
  },
29237
29292
  ok: { type: 'boolean' },
@@ -31745,6 +31800,7 @@ export default {
31745
31800
  ],
31746
31801
  summary: '/spaces/add_acs_entrances',
31747
31802
  tags: [],
31803
+ 'x-draft': 'Early access.',
31748
31804
  'x-fern-sdk-group-name': ['spaces'],
31749
31805
  'x-fern-sdk-method-name': 'add_acs_entrances',
31750
31806
  'x-response-key': null,
@@ -31794,6 +31850,7 @@ export default {
31794
31850
  ],
31795
31851
  summary: '/spaces/add_acs_entrances',
31796
31852
  tags: [],
31853
+ 'x-draft': 'Early access.',
31797
31854
  'x-fern-ignore': true,
31798
31855
  'x-response-key': null,
31799
31856
  'x-title': 'Add ACS Entrances',
@@ -31844,6 +31901,7 @@ export default {
31844
31901
  ],
31845
31902
  summary: '/spaces/add_devices',
31846
31903
  tags: [],
31904
+ 'x-draft': 'Early access.',
31847
31905
  'x-fern-sdk-group-name': ['spaces'],
31848
31906
  'x-fern-sdk-method-name': 'add_devices',
31849
31907
  'x-response-key': null,
@@ -31893,6 +31951,7 @@ export default {
31893
31951
  ],
31894
31952
  summary: '/spaces/add_devices',
31895
31953
  tags: [],
31954
+ 'x-draft': 'Early access.',
31896
31955
  'x-fern-ignore': true,
31897
31956
  'x-response-key': null,
31898
31957
  'x-title': 'Add Space Devices',
@@ -31930,41 +31989,7 @@ export default {
31930
31989
  schema: {
31931
31990
  properties: {
31932
31991
  ok: { type: 'boolean' },
31933
- space: {
31934
- properties: {
31935
- created_at: {
31936
- description: 'Date and time at which the space object was created.',
31937
- format: 'date-time',
31938
- type: 'string',
31939
- },
31940
- display_name: {
31941
- description: 'Display name of the space.',
31942
- type: 'string',
31943
- },
31944
- name: {
31945
- description: 'Name of the space.',
31946
- type: 'string',
31947
- },
31948
- space_id: {
31949
- description: 'Unique identifier for the space.',
31950
- format: 'uuid',
31951
- type: 'string',
31952
- },
31953
- workspace_id: {
31954
- description: 'Unique identifier for the Seam workspace associated with the space.',
31955
- format: 'uuid',
31956
- type: 'string',
31957
- },
31958
- },
31959
- required: [
31960
- 'space_id',
31961
- 'workspace_id',
31962
- 'name',
31963
- 'display_name',
31964
- 'created_at',
31965
- ],
31966
- type: 'object',
31967
- },
31992
+ space: { $ref: '#/components/schemas/space' },
31968
31993
  },
31969
31994
  required: ['space', 'ok'],
31970
31995
  type: 'object',
@@ -31983,6 +32008,7 @@ export default {
31983
32008
  ],
31984
32009
  summary: '/spaces/create',
31985
32010
  tags: [],
32011
+ 'x-draft': 'Early access.',
31986
32012
  'x-fern-sdk-group-name': ['spaces'],
31987
32013
  'x-fern-sdk-method-name': 'create',
31988
32014
  'x-fern-sdk-return-value': 'space',
@@ -32056,41 +32082,7 @@ export default {
32056
32082
  schema: {
32057
32083
  properties: {
32058
32084
  ok: { type: 'boolean' },
32059
- space: {
32060
- properties: {
32061
- created_at: {
32062
- description: 'Date and time at which the space object was created.',
32063
- format: 'date-time',
32064
- type: 'string',
32065
- },
32066
- display_name: {
32067
- description: 'Display name of the space.',
32068
- type: 'string',
32069
- },
32070
- name: {
32071
- description: 'Name of the space.',
32072
- type: 'string',
32073
- },
32074
- space_id: {
32075
- description: 'Unique identifier for the space.',
32076
- format: 'uuid',
32077
- type: 'string',
32078
- },
32079
- workspace_id: {
32080
- description: 'Unique identifier for the Seam workspace associated with the space.',
32081
- format: 'uuid',
32082
- type: 'string',
32083
- },
32084
- },
32085
- required: [
32086
- 'space_id',
32087
- 'workspace_id',
32088
- 'name',
32089
- 'display_name',
32090
- 'created_at',
32091
- ],
32092
- type: 'object',
32093
- },
32085
+ space: { $ref: '#/components/schemas/space' },
32094
32086
  },
32095
32087
  required: ['space', 'ok'],
32096
32088
  type: 'object',
@@ -32128,41 +32120,7 @@ export default {
32128
32120
  properties: {
32129
32121
  ok: { type: 'boolean' },
32130
32122
  spaces: {
32131
- items: {
32132
- properties: {
32133
- created_at: {
32134
- description: 'Date and time at which the space object was created.',
32135
- format: 'date-time',
32136
- type: 'string',
32137
- },
32138
- display_name: {
32139
- description: 'Display name of the space.',
32140
- type: 'string',
32141
- },
32142
- name: {
32143
- description: 'Name of the space.',
32144
- type: 'string',
32145
- },
32146
- space_id: {
32147
- description: 'Unique identifier for the space.',
32148
- format: 'uuid',
32149
- type: 'string',
32150
- },
32151
- workspace_id: {
32152
- description: 'Unique identifier for the Seam workspace associated with the space.',
32153
- format: 'uuid',
32154
- type: 'string',
32155
- },
32156
- },
32157
- required: [
32158
- 'space_id',
32159
- 'workspace_id',
32160
- 'name',
32161
- 'display_name',
32162
- 'created_at',
32163
- ],
32164
- type: 'object',
32165
- },
32123
+ items: { $ref: '#/components/schemas/space' },
32166
32124
  type: 'array',
32167
32125
  },
32168
32126
  },
@@ -32183,6 +32141,7 @@ export default {
32183
32141
  ],
32184
32142
  summary: '/spaces/list',
32185
32143
  tags: [],
32144
+ 'x-draft': 'Early access.',
32186
32145
  'x-fern-ignore': true,
32187
32146
  'x-response-key': 'spaces',
32188
32147
  'x-title': 'List Spaces',
@@ -32198,41 +32157,7 @@ export default {
32198
32157
  properties: {
32199
32158
  ok: { type: 'boolean' },
32200
32159
  spaces: {
32201
- items: {
32202
- properties: {
32203
- created_at: {
32204
- description: 'Date and time at which the space object was created.',
32205
- format: 'date-time',
32206
- type: 'string',
32207
- },
32208
- display_name: {
32209
- description: 'Display name of the space.',
32210
- type: 'string',
32211
- },
32212
- name: {
32213
- description: 'Name of the space.',
32214
- type: 'string',
32215
- },
32216
- space_id: {
32217
- description: 'Unique identifier for the space.',
32218
- format: 'uuid',
32219
- type: 'string',
32220
- },
32221
- workspace_id: {
32222
- description: 'Unique identifier for the Seam workspace associated with the space.',
32223
- format: 'uuid',
32224
- type: 'string',
32225
- },
32226
- },
32227
- required: [
32228
- 'space_id',
32229
- 'workspace_id',
32230
- 'name',
32231
- 'display_name',
32232
- 'created_at',
32233
- ],
32234
- type: 'object',
32235
- },
32160
+ items: { $ref: '#/components/schemas/space' },
32236
32161
  type: 'array',
32237
32162
  },
32238
32163
  },
@@ -32253,6 +32178,7 @@ export default {
32253
32178
  ],
32254
32179
  summary: '/spaces/list',
32255
32180
  tags: [],
32181
+ 'x-draft': 'Early access.',
32256
32182
  'x-fern-sdk-group-name': ['spaces'],
32257
32183
  'x-fern-sdk-method-name': 'list',
32258
32184
  'x-fern-sdk-return-value': 'spaces',
@@ -32304,6 +32230,7 @@ export default {
32304
32230
  ],
32305
32231
  summary: '/spaces/remove_acs_entrances',
32306
32232
  tags: [],
32233
+ 'x-draft': 'Early access.',
32307
32234
  'x-fern-sdk-group-name': ['spaces'],
32308
32235
  'x-fern-sdk-method-name': 'remove_acs_entrances',
32309
32236
  'x-response-key': null,
@@ -32354,6 +32281,7 @@ export default {
32354
32281
  ],
32355
32282
  summary: '/spaces/remove_devices',
32356
32283
  tags: [],
32284
+ 'x-draft': 'Early access.',
32357
32285
  'x-fern-sdk-group-name': ['spaces'],
32358
32286
  'x-fern-sdk-method-name': 'remove_devices',
32359
32287
  'x-response-key': null,
@@ -32385,41 +32313,7 @@ export default {
32385
32313
  schema: {
32386
32314
  properties: {
32387
32315
  ok: { type: 'boolean' },
32388
- space: {
32389
- properties: {
32390
- created_at: {
32391
- description: 'Date and time at which the space object was created.',
32392
- format: 'date-time',
32393
- type: 'string',
32394
- },
32395
- display_name: {
32396
- description: 'Display name of the space.',
32397
- type: 'string',
32398
- },
32399
- name: {
32400
- description: 'Name of the space.',
32401
- type: 'string',
32402
- },
32403
- space_id: {
32404
- description: 'Unique identifier for the space.',
32405
- format: 'uuid',
32406
- type: 'string',
32407
- },
32408
- workspace_id: {
32409
- description: 'Unique identifier for the Seam workspace associated with the space.',
32410
- format: 'uuid',
32411
- type: 'string',
32412
- },
32413
- },
32414
- required: [
32415
- 'space_id',
32416
- 'workspace_id',
32417
- 'name',
32418
- 'display_name',
32419
- 'created_at',
32420
- ],
32421
- type: 'object',
32422
- },
32316
+ space: { $ref: '#/components/schemas/space' },
32423
32317
  },
32424
32318
  required: ['space', 'ok'],
32425
32319
  type: 'object',
@@ -32438,6 +32332,7 @@ export default {
32438
32332
  ],
32439
32333
  summary: '/spaces/update',
32440
32334
  tags: [],
32335
+ 'x-draft': 'Early access.',
32441
32336
  'x-fern-ignore': true,
32442
32337
  'x-response-key': 'space',
32443
32338
  'x-title': 'Update Space',
@@ -32466,41 +32361,7 @@ export default {
32466
32361
  schema: {
32467
32362
  properties: {
32468
32363
  ok: { type: 'boolean' },
32469
- space: {
32470
- properties: {
32471
- created_at: {
32472
- description: 'Date and time at which the space object was created.',
32473
- format: 'date-time',
32474
- type: 'string',
32475
- },
32476
- display_name: {
32477
- description: 'Display name of the space.',
32478
- type: 'string',
32479
- },
32480
- name: {
32481
- description: 'Name of the space.',
32482
- type: 'string',
32483
- },
32484
- space_id: {
32485
- description: 'Unique identifier for the space.',
32486
- format: 'uuid',
32487
- type: 'string',
32488
- },
32489
- workspace_id: {
32490
- description: 'Unique identifier for the Seam workspace associated with the space.',
32491
- format: 'uuid',
32492
- type: 'string',
32493
- },
32494
- },
32495
- required: [
32496
- 'space_id',
32497
- 'workspace_id',
32498
- 'name',
32499
- 'display_name',
32500
- 'created_at',
32501
- ],
32502
- type: 'object',
32503
- },
32364
+ space: { $ref: '#/components/schemas/space' },
32504
32365
  },
32505
32366
  required: ['space', 'ok'],
32506
32367
  type: 'object',
@@ -32519,6 +32380,7 @@ export default {
32519
32380
  ],
32520
32381
  summary: '/spaces/update',
32521
32382
  tags: [],
32383
+ 'x-draft': 'Early access.',
32522
32384
  'x-fern-sdk-group-name': ['spaces'],
32523
32385
  'x-fern-sdk-method-name': 'update',
32524
32386
  'x-fern-sdk-return-value': 'space',
@@ -35182,7 +35044,6 @@ export default {
35182
35044
  'created_access_method_ids',
35183
35045
  ],
35184
35046
  type: 'object',
35185
- 'x-undocumented': 'Unreleased.',
35186
35047
  },
35187
35048
  type: 'array',
35188
35049
  },
@@ -35214,7 +35075,8 @@ export default {
35214
35075
  'created_at',
35215
35076
  ],
35216
35077
  type: 'object',
35217
- 'x-undocumented': 'Unreleased.',
35078
+ 'x-draft': 'Early access.',
35079
+ 'x-route-path': '/access_grants',
35218
35080
  },
35219
35081
  ok: { type: 'boolean' },
35220
35082
  },
@@ -35381,7 +35243,6 @@ export default {
35381
35243
  'created_access_method_ids',
35382
35244
  ],
35383
35245
  type: 'object',
35384
- 'x-undocumented': 'Unreleased.',
35385
35246
  },
35386
35247
  type: 'array',
35387
35248
  },
@@ -35413,7 +35274,8 @@ export default {
35413
35274
  'created_at',
35414
35275
  ],
35415
35276
  type: 'object',
35416
- 'x-undocumented': 'Unreleased.',
35277
+ 'x-draft': 'Early access.',
35278
+ 'x-route-path': '/access_grants',
35417
35279
  },
35418
35280
  ok: { type: 'boolean' },
35419
35281
  },
@@ -35549,7 +35411,6 @@ export default {
35549
35411
  'created_access_method_ids',
35550
35412
  ],
35551
35413
  type: 'object',
35552
- 'x-undocumented': 'Unreleased.',
35553
35414
  },
35554
35415
  type: 'array',
35555
35416
  },
@@ -35581,7 +35442,8 @@ export default {
35581
35442
  'created_at',
35582
35443
  ],
35583
35444
  type: 'object',
35584
- 'x-undocumented': 'Unreleased.',
35445
+ 'x-draft': 'Early access.',
35446
+ 'x-route-path': '/access_grants',
35585
35447
  },
35586
35448
  type: 'array',
35587
35449
  },
@@ -35739,7 +35601,8 @@ export default {
35739
35601
  'created_at',
35740
35602
  ],
35741
35603
  type: 'object',
35742
- 'x-undocumented': 'Unreleased.',
35604
+ 'x-draft': 'Early access.',
35605
+ 'x-route-path': '/access_methods',
35743
35606
  },
35744
35607
  ok: { type: 'boolean' },
35745
35608
  },
@@ -35844,7 +35707,8 @@ export default {
35844
35707
  'created_at',
35845
35708
  ],
35846
35709
  type: 'object',
35847
- 'x-undocumented': 'Unreleased.',
35710
+ 'x-draft': 'Early access.',
35711
+ 'x-route-path': '/access_methods',
35848
35712
  },
35849
35713
  type: 'array',
35850
35714
  },
@@ -36905,14 +36769,28 @@ export default {
36905
36769
  enum: ['organize_spaces'],
36906
36770
  type: 'string',
36907
36771
  },
36908
- collection_key: { type: 'string' },
36909
36772
  customer_key: { type: 'string' },
36773
+ partner_resources: {
36774
+ description: 'Optional list of partner resources to include in the magic link.',
36775
+ items: {
36776
+ properties: {
36777
+ custom_metadata: {
36778
+ additionalProperties: { type: 'string' },
36779
+ type: 'object',
36780
+ },
36781
+ description: { type: 'string' },
36782
+ name: { type: 'string' },
36783
+ partner_resource_key: { type: 'string' },
36784
+ },
36785
+ required: ['partner_resource_key', 'name'],
36786
+ type: 'object',
36787
+ 'x-route-path': '/unstable_partner/resources',
36788
+ 'x-undocumented': 'Unreleased.',
36789
+ },
36790
+ type: 'array',
36791
+ },
36910
36792
  },
36911
- required: [
36912
- 'building_block_type',
36913
- 'customer_key',
36914
- 'collection_key',
36915
- ],
36793
+ required: ['building_block_type', 'customer_key'],
36916
36794
  type: 'object',
36917
36795
  },
36918
36796
  ],
@@ -37029,11 +36907,10 @@ export default {
37029
36907
  'x-route-path': '/unstable_partner/resources',
37030
36908
  'x-undocumented': 'Unreleased.',
37031
36909
  },
37032
- minItems: 1,
37033
36910
  type: 'array',
37034
36911
  },
37035
36912
  },
37036
- required: ['customer_key', 'partner_resources'],
36913
+ required: ['customer_key'],
37037
36914
  type: 'object',
37038
36915
  },
37039
36916
  },