@seamapi/types 1.292.1 → 1.293.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 (34) hide show
  1. package/dist/connect.cjs +148 -24
  2. package/dist/connect.cjs.map +1 -1
  3. package/dist/connect.d.cts +160 -518
  4. package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js → assa-abloy-vostio.js} +1 -1
  5. package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.js.map → assa-abloy-vostio.js.map} +1 -1
  6. package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js → dormakaba-community.js} +1 -1
  7. package/lib/seam/connect/models/acs/metadata/{dormakaba_community.js.map → dormakaba-community.js.map} +1 -1
  8. package/lib/seam/connect/models/acs/metadata/index.d.ts +2 -2
  9. package/lib/seam/connect/models/acs/metadata/index.js +2 -2
  10. package/lib/seam/connect/models/devices/capability-properties/index.d.ts +5 -0
  11. package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +5 -0
  12. package/lib/seam/connect/models/devices/device.d.ts +7 -0
  13. package/lib/seam/connect/models/devices/phone.d.ts +5 -0
  14. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +5 -0
  15. package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +3 -0
  16. package/lib/seam/connect/models/thermostats/thermostat-schedule.js +8 -0
  17. package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
  18. package/lib/seam/connect/openapi.d.ts +86 -9
  19. package/lib/seam/connect/openapi.js +102 -18
  20. package/lib/seam/connect/openapi.js.map +1 -1
  21. package/lib/seam/connect/route-types.d.ts +268 -719
  22. package/lib/seam/connect/schemas.d.ts +1 -1
  23. package/lib/seam/connect/schemas.js +1 -1
  24. package/lib/seam/connect/schemas.js.map +1 -1
  25. package/package.json +1 -1
  26. package/src/lib/seam/connect/models/acs/metadata/index.ts +2 -2
  27. package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +10 -0
  28. package/src/lib/seam/connect/openapi.ts +114 -18
  29. package/src/lib/seam/connect/route-types.ts +271 -905
  30. package/src/lib/seam/connect/schemas.ts +1 -0
  31. /package/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.d.ts → assa-abloy-vostio.d.ts} +0 -0
  32. /package/lib/seam/connect/models/acs/metadata/{dormakaba_community.d.ts → dormakaba-community.d.ts} +0 -0
  33. /package/src/lib/seam/connect/models/acs/metadata/{assa_abloy_vostio.ts → assa-abloy-vostio.ts} +0 -0
  34. /package/src/lib/seam/connect/models/acs/metadata/{dormakaba_community.ts → dormakaba-community.ts} +0 -0
@@ -1 +1 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
@@ -1,2 +1,2 @@
1
- export { access_code, acs_access_group, acs_credential, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
1
+ export { access_code, acs_access_group, acs_credential, acs_encoder, acs_entrance, acs_system, acs_user, action_attempt, client_session, common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, connect_webview, connected_account, custom_metadata, device, device_provider, noise_threshold, seam_event, thermostat_schedule, unmanaged_access_code, unmanaged_acs_access_group, unmanaged_acs_credential, unmanaged_acs_user, unmanaged_device, user_identity, webhook, workspace, } from './models/index.js';
2
2
  //# sourceMappingURL=schemas.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
1
+ {"version":3,"file":"schemas.js","sourceRoot":"","sources":["../../../src/lib/seam/connect/schemas.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,WAAW,EACX,YAAY,EACZ,UAAU,EACV,QAAQ,EACR,cAAc,EACd,cAAc,EACd,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,EAC/B,eAAe,EACf,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,eAAe,EACf,eAAe,EACf,UAAU,EACV,mBAAmB,EACnB,qBAAqB,EACrB,0BAA0B,EAC1B,wBAAwB,EACxB,kBAAkB,EAClB,gBAAgB,EAChB,aAAa,EACb,OAAO,EACP,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@seamapi/types",
3
- "version": "1.292.1",
3
+ "version": "1.293.0",
4
4
  "description": "TypeScript types for the Seam API.",
5
5
  "type": "module",
6
6
  "main": "index.js",
@@ -1,5 +1,5 @@
1
- export * from './assa_abloy_vostio.js'
2
- export * from './dormakaba_community.js'
1
+ export * from './assa-abloy-vostio.js'
2
+ export * from './dormakaba-community.js'
3
3
  export * from './latch.js'
4
4
  export * from './salto.js'
5
5
  export * from './visionline.js'
@@ -32,6 +32,16 @@ export const thermostat_schedule = z
32
32
  .describe(
33
33
  'Date and time at which the thermostat schedule starts, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
34
34
  ),
35
+ unstable_is_override_allowed: z
36
+ .boolean()
37
+ .optional()
38
+ .describe(
39
+ `
40
+ ---
41
+ undocumented: Unstable
42
+ ---
43
+ Indicates whether a person at the thermostat can change the thermostat's settings.`,
44
+ ),
35
45
  ends_at: z
36
46
  .string()
37
47
  .datetime()
@@ -4668,6 +4668,12 @@ export default {
4668
4668
  format: 'uuid',
4669
4669
  type: 'string',
4670
4670
  },
4671
+ unstable_is_override_allowed: {
4672
+ description:
4673
+ "Indicates whether a person at the thermostat can change the thermostat's settings.",
4674
+ type: 'boolean',
4675
+ 'x-undocumented': 'Unstable',
4676
+ },
4671
4677
  },
4672
4678
  required: [
4673
4679
  'thermostat_schedule_id',
@@ -5470,6 +5476,12 @@ export default {
5470
5476
  format: 'uuid',
5471
5477
  type: 'string',
5472
5478
  },
5479
+ unstable_is_override_allowed: {
5480
+ description:
5481
+ "Indicates whether a person at the thermostat can change the thermostat's settings.",
5482
+ type: 'boolean',
5483
+ 'x-undocumented': 'Unstable',
5484
+ },
5473
5485
  },
5474
5486
  required: [
5475
5487
  'thermostat_schedule_id',
@@ -9407,13 +9419,14 @@ export default {
9407
9419
  format: 'uuid',
9408
9420
  type: 'string',
9409
9421
  },
9410
- device_id: {
9411
- description: 'ID of the encoder to use for the encoding.',
9422
+ acs_encoder_id: {
9423
+ description:
9424
+ 'ID of the acs_encoder to use for the encoding.',
9412
9425
  format: 'uuid',
9413
9426
  type: 'string',
9414
9427
  },
9415
9428
  },
9416
- required: ['device_id', 'acs_credential_id'],
9429
+ required: ['acs_encoder_id', 'acs_credential_id'],
9417
9430
  type: 'object',
9418
9431
  },
9419
9432
  },
@@ -9464,28 +9477,28 @@ export default {
9464
9477
  oneOf: [
9465
9478
  {
9466
9479
  properties: {
9467
- acs_system_ids: {
9480
+ acs_encoder_ids: {
9468
9481
  items: { format: 'uuid', type: 'string' },
9469
9482
  type: 'array',
9470
9483
  },
9471
- device_ids: {
9484
+ acs_system_ids: {
9472
9485
  items: { format: 'uuid', type: 'string' },
9473
9486
  type: 'array',
9474
9487
  },
9475
9488
  limit: { default: 500, format: 'float', type: 'number' },
9476
9489
  },
9477
- required: ['acs_system_ids', 'device_ids'],
9490
+ required: ['acs_system_ids', 'acs_encoder_ids'],
9478
9491
  type: 'object',
9479
9492
  },
9480
9493
  {
9481
9494
  properties: {
9482
- device_ids: {
9495
+ acs_encoder_ids: {
9483
9496
  items: { format: 'uuid', type: 'string' },
9484
9497
  type: 'array',
9485
9498
  },
9486
9499
  limit: { default: 500, format: 'float', type: 'number' },
9487
9500
  },
9488
- required: ['device_ids'],
9501
+ required: ['acs_encoder_ids'],
9489
9502
  type: 'object',
9490
9503
  },
9491
9504
  {
@@ -9510,13 +9523,93 @@ export default {
9510
9523
  'application/json': {
9511
9524
  schema: {
9512
9525
  properties: {
9513
- devices: {
9514
- items: { $ref: '#/components/schemas/device' },
9526
+ acs_encoders: {
9527
+ items: {
9528
+ properties: {
9529
+ acs_encoder_id: {
9530
+ description: 'ID of the `acs_encoder`.',
9531
+ format: 'uuid',
9532
+ type: 'string',
9533
+ },
9534
+ acs_system_id: {
9535
+ description:
9536
+ 'ID of the access control system that contains the `acs_encoder`.',
9537
+ format: 'uuid',
9538
+ type: 'string',
9539
+ },
9540
+ created_at: {
9541
+ description:
9542
+ 'Date and time at which the `acs_encoder` was created.',
9543
+ format: 'date-time',
9544
+ type: 'string',
9545
+ },
9546
+ display_name: {
9547
+ description: 'Display name for the `acs_encoder`.',
9548
+ type: 'string',
9549
+ },
9550
+ errors: {
9551
+ description:
9552
+ 'Errors associated with the `acs_encoder`.',
9553
+ items: {
9554
+ description:
9555
+ 'Error associated with the `acs_encoder`.',
9556
+ properties: {
9557
+ _event_id: {
9558
+ description:
9559
+ 'ID of the event that was created when the `acs_encoder` was removed.',
9560
+ format: 'uuid',
9561
+ type: 'string',
9562
+ },
9563
+ created_at: {
9564
+ description:
9565
+ 'Date and time at which Seam created the error.',
9566
+ format: 'date-time',
9567
+ type: 'string',
9568
+ },
9569
+ error_code: {
9570
+ description:
9571
+ 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
9572
+ enum: ['acs_encoder_removed'],
9573
+ type: 'string',
9574
+ },
9575
+ message: {
9576
+ description:
9577
+ 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
9578
+ type: 'string',
9579
+ },
9580
+ },
9581
+ required: [
9582
+ 'created_at',
9583
+ 'message',
9584
+ 'error_code',
9585
+ '_event_id',
9586
+ ],
9587
+ type: 'object',
9588
+ },
9589
+ type: 'array',
9590
+ },
9591
+ workspace_id: {
9592
+ description:
9593
+ 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
9594
+ format: 'uuid',
9595
+ type: 'string',
9596
+ },
9597
+ },
9598
+ required: [
9599
+ 'acs_encoder_id',
9600
+ 'acs_system_id',
9601
+ 'workspace_id',
9602
+ 'errors',
9603
+ 'created_at',
9604
+ 'display_name',
9605
+ ],
9606
+ type: 'object',
9607
+ },
9515
9608
  type: 'array',
9516
9609
  },
9517
9610
  ok: { type: 'boolean' },
9518
9611
  },
9519
- required: ['devices', 'ok'],
9612
+ required: ['acs_encoders', 'ok'],
9520
9613
  type: 'object',
9521
9614
  },
9522
9615
  },
@@ -9535,8 +9628,8 @@ export default {
9535
9628
  tags: ['/acs'],
9536
9629
  'x-fern-sdk-group-name': ['acs', 'encoders'],
9537
9630
  'x-fern-sdk-method-name': 'list',
9538
- 'x-fern-sdk-return-value': 'devices',
9539
- 'x-response-key': 'devices',
9631
+ 'x-fern-sdk-return-value': 'acs_encoders',
9632
+ 'x-response-key': 'acs_encoders',
9540
9633
  'x-undocumented': 'Encoders are in alpha.',
9541
9634
  },
9542
9635
  },
@@ -9548,18 +9641,18 @@ export default {
9548
9641
  'application/json': {
9549
9642
  schema: {
9550
9643
  properties: {
9551
- acs_system_id: {
9552
- description: 'ID of the acs_system the encoder belongs to.',
9644
+ acs_encoder_id: {
9645
+ description: 'ID of the acs_encoder to use for the scan.',
9553
9646
  format: 'uuid',
9554
9647
  type: 'string',
9555
9648
  },
9556
- device_id: {
9557
- description: 'ID of the encoder to use for the scan.',
9649
+ acs_system_id: {
9650
+ description: 'ID of the acs_system the encoder belongs to.',
9558
9651
  format: 'uuid',
9559
9652
  type: 'string',
9560
9653
  },
9561
9654
  },
9562
- required: ['acs_system_id', 'device_id'],
9655
+ required: ['acs_system_id', 'acs_encoder_id'],
9563
9656
  type: 'object',
9564
9657
  },
9565
9658
  },
@@ -16542,6 +16635,7 @@ export default {
16542
16635
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
16543
16636
  type: 'string',
16544
16637
  },
16638
+ is_override_allowed: { default: false, type: 'boolean' },
16545
16639
  max_override_period_minutes: {
16546
16640
  default: 0,
16547
16641
  description:
@@ -16803,6 +16897,7 @@ export default {
16803
16897
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
16804
16898
  type: 'string',
16805
16899
  },
16900
+ is_override_allowed: { type: 'boolean' },
16806
16901
  max_override_period_minutes: {
16807
16902
  description:
16808
16903
  "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",
@@ -16878,6 +16973,7 @@ export default {
16878
16973
  'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
16879
16974
  type: 'string',
16880
16975
  },
16976
+ is_override_allowed: { type: 'boolean' },
16881
16977
  max_override_period_minutes: {
16882
16978
  description:
16883
16979
  "Number of minutes for which a person at the thermostat can change the thermostat's settings after the activation of the scheduled climate preset. See also [Specifying Manual Override Permissions](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-thermostat-schedules#specifying-manual-override-permissions).",