@seamapi/types 1.408.0 → 1.409.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/connect.cjs +120 -246
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +240 -204
  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/pagination.d.ts +1 -0
  12. package/lib/seam/connect/models/spaces/space.js +6 -1
  13. package/lib/seam/connect/models/spaces/space.js.map +1 -1
  14. package/lib/seam/connect/openapi.d.ts +97 -202
  15. package/lib/seam/connect/openapi.js +92 -239
  16. package/lib/seam/connect/openapi.js.map +1 -1
  17. package/lib/seam/connect/route-types.d.ts +3 -0
  18. package/lib/seam/connect/schemas.d.ts +1 -1
  19. package/lib/seam/connect/schemas.js +1 -1
  20. package/lib/seam/connect/schemas.js.map +1 -1
  21. package/package.json +1 -1
  22. package/src/lib/seam/connect/model-types.ts +6 -0
  23. package/src/lib/seam/connect/models/access-grants/access-grant.ts +2 -1
  24. package/src/lib/seam/connect/models/access-grants/access-method.ts +2 -1
  25. package/src/lib/seam/connect/models/access-grants/requested-access-method.ts +1 -5
  26. package/src/lib/seam/connect/models/pagination.ts +2 -0
  27. package/src/lib/seam/connect/models/spaces/space.ts +6 -1
  28. package/src/lib/seam/connect/openapi.ts +93 -251
  29. package/src/lib/seam/connect/route-types.ts +3 -0
  30. package/src/lib/seam/connect/schemas.ts +2 -0
@@ -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
  },
@@ -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
  },
@@ -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
  },
@@ -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
  },
@@ -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
  },
@@ -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' },
@@ -31930,41 +31985,7 @@ export default {
31930
31985
  schema: {
31931
31986
  properties: {
31932
31987
  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
- },
31988
+ space: { $ref: '#/components/schemas/space' },
31968
31989
  },
31969
31990
  required: ['space', 'ok'],
31970
31991
  type: 'object',
@@ -32056,41 +32077,7 @@ export default {
32056
32077
  schema: {
32057
32078
  properties: {
32058
32079
  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
- },
32080
+ space: { $ref: '#/components/schemas/space' },
32094
32081
  },
32095
32082
  required: ['space', 'ok'],
32096
32083
  type: 'object',
@@ -32128,41 +32115,7 @@ export default {
32128
32115
  properties: {
32129
32116
  ok: { type: 'boolean' },
32130
32117
  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
- },
32118
+ items: { $ref: '#/components/schemas/space' },
32166
32119
  type: 'array',
32167
32120
  },
32168
32121
  },
@@ -32198,41 +32151,7 @@ export default {
32198
32151
  properties: {
32199
32152
  ok: { type: 'boolean' },
32200
32153
  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
- },
32154
+ items: { $ref: '#/components/schemas/space' },
32236
32155
  type: 'array',
32237
32156
  },
32238
32157
  },
@@ -32385,41 +32304,7 @@ export default {
32385
32304
  schema: {
32386
32305
  properties: {
32387
32306
  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
- },
32307
+ space: { $ref: '#/components/schemas/space' },
32423
32308
  },
32424
32309
  required: ['space', 'ok'],
32425
32310
  type: 'object',
@@ -32466,41 +32351,7 @@ export default {
32466
32351
  schema: {
32467
32352
  properties: {
32468
32353
  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
- },
32354
+ space: { $ref: '#/components/schemas/space' },
32504
32355
  },
32505
32356
  required: ['space', 'ok'],
32506
32357
  type: 'object',
@@ -35182,7 +35033,6 @@ export default {
35182
35033
  'created_access_method_ids',
35183
35034
  ],
35184
35035
  type: 'object',
35185
- 'x-undocumented': 'Unreleased.',
35186
35036
  },
35187
35037
  type: 'array',
35188
35038
  },
@@ -35214,7 +35064,8 @@ export default {
35214
35064
  'created_at',
35215
35065
  ],
35216
35066
  type: 'object',
35217
- 'x-undocumented': 'Unreleased.',
35067
+ 'x-draft': 'Early access.',
35068
+ 'x-route-path': '/access_grants',
35218
35069
  },
35219
35070
  ok: { type: 'boolean' },
35220
35071
  },
@@ -35381,7 +35232,6 @@ export default {
35381
35232
  'created_access_method_ids',
35382
35233
  ],
35383
35234
  type: 'object',
35384
- 'x-undocumented': 'Unreleased.',
35385
35235
  },
35386
35236
  type: 'array',
35387
35237
  },
@@ -35413,7 +35263,8 @@ export default {
35413
35263
  'created_at',
35414
35264
  ],
35415
35265
  type: 'object',
35416
- 'x-undocumented': 'Unreleased.',
35266
+ 'x-draft': 'Early access.',
35267
+ 'x-route-path': '/access_grants',
35417
35268
  },
35418
35269
  ok: { type: 'boolean' },
35419
35270
  },
@@ -35549,7 +35400,6 @@ export default {
35549
35400
  'created_access_method_ids',
35550
35401
  ],
35551
35402
  type: 'object',
35552
- 'x-undocumented': 'Unreleased.',
35553
35403
  },
35554
35404
  type: 'array',
35555
35405
  },
@@ -35581,7 +35431,8 @@ export default {
35581
35431
  'created_at',
35582
35432
  ],
35583
35433
  type: 'object',
35584
- 'x-undocumented': 'Unreleased.',
35434
+ 'x-draft': 'Early access.',
35435
+ 'x-route-path': '/access_grants',
35585
35436
  },
35586
35437
  type: 'array',
35587
35438
  },
@@ -35739,7 +35590,8 @@ export default {
35739
35590
  'created_at',
35740
35591
  ],
35741
35592
  type: 'object',
35742
- 'x-undocumented': 'Unreleased.',
35593
+ 'x-draft': 'Early access.',
35594
+ 'x-route-path': '/access_methods',
35743
35595
  },
35744
35596
  ok: { type: 'boolean' },
35745
35597
  },
@@ -35844,7 +35696,8 @@ export default {
35844
35696
  'created_at',
35845
35697
  ],
35846
35698
  type: 'object',
35847
- 'x-undocumented': 'Unreleased.',
35699
+ 'x-draft': 'Early access.',
35700
+ 'x-route-path': '/access_methods',
35848
35701
  },
35849
35702
  type: 'array',
35850
35703
  },