@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
@@ -4457,6 +4457,11 @@ export default {
4457
4457
  format: 'uuid',
4458
4458
  type: 'string',
4459
4459
  },
4460
+ unstable_is_override_allowed: {
4461
+ description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
4462
+ type: 'boolean',
4463
+ 'x-undocumented': 'Unstable',
4464
+ },
4460
4465
  },
4461
4466
  required: [
4462
4467
  'thermostat_schedule_id',
@@ -5206,6 +5211,11 @@ export default {
5206
5211
  format: 'uuid',
5207
5212
  type: 'string',
5208
5213
  },
5214
+ unstable_is_override_allowed: {
5215
+ description: "Indicates whether a person at the thermostat can change the thermostat's settings.",
5216
+ type: 'boolean',
5217
+ 'x-undocumented': 'Unstable',
5218
+ },
5209
5219
  },
5210
5220
  required: [
5211
5221
  'thermostat_schedule_id',
@@ -9017,13 +9027,13 @@ export default {
9017
9027
  format: 'uuid',
9018
9028
  type: 'string',
9019
9029
  },
9020
- device_id: {
9021
- description: 'ID of the encoder to use for the encoding.',
9030
+ acs_encoder_id: {
9031
+ description: 'ID of the acs_encoder to use for the encoding.',
9022
9032
  format: 'uuid',
9023
9033
  type: 'string',
9024
9034
  },
9025
9035
  },
9026
- required: ['device_id', 'acs_credential_id'],
9036
+ required: ['acs_encoder_id', 'acs_credential_id'],
9027
9037
  type: 'object',
9028
9038
  },
9029
9039
  },
@@ -9074,28 +9084,28 @@ export default {
9074
9084
  oneOf: [
9075
9085
  {
9076
9086
  properties: {
9077
- acs_system_ids: {
9087
+ acs_encoder_ids: {
9078
9088
  items: { format: 'uuid', type: 'string' },
9079
9089
  type: 'array',
9080
9090
  },
9081
- device_ids: {
9091
+ acs_system_ids: {
9082
9092
  items: { format: 'uuid', type: 'string' },
9083
9093
  type: 'array',
9084
9094
  },
9085
9095
  limit: { default: 500, format: 'float', type: 'number' },
9086
9096
  },
9087
- required: ['acs_system_ids', 'device_ids'],
9097
+ required: ['acs_system_ids', 'acs_encoder_ids'],
9088
9098
  type: 'object',
9089
9099
  },
9090
9100
  {
9091
9101
  properties: {
9092
- device_ids: {
9102
+ acs_encoder_ids: {
9093
9103
  items: { format: 'uuid', type: 'string' },
9094
9104
  type: 'array',
9095
9105
  },
9096
9106
  limit: { default: 500, format: 'float', type: 'number' },
9097
9107
  },
9098
- required: ['device_ids'],
9108
+ required: ['acs_encoder_ids'],
9099
9109
  type: 'object',
9100
9110
  },
9101
9111
  {
@@ -9120,13 +9130,84 @@ export default {
9120
9130
  'application/json': {
9121
9131
  schema: {
9122
9132
  properties: {
9123
- devices: {
9124
- items: { $ref: '#/components/schemas/device' },
9133
+ acs_encoders: {
9134
+ items: {
9135
+ properties: {
9136
+ acs_encoder_id: {
9137
+ description: 'ID of the `acs_encoder`.',
9138
+ format: 'uuid',
9139
+ type: 'string',
9140
+ },
9141
+ acs_system_id: {
9142
+ description: 'ID of the access control system that contains the `acs_encoder`.',
9143
+ format: 'uuid',
9144
+ type: 'string',
9145
+ },
9146
+ created_at: {
9147
+ description: 'Date and time at which the `acs_encoder` was created.',
9148
+ format: 'date-time',
9149
+ type: 'string',
9150
+ },
9151
+ display_name: {
9152
+ description: 'Display name for the `acs_encoder`.',
9153
+ type: 'string',
9154
+ },
9155
+ errors: {
9156
+ description: 'Errors associated with the `acs_encoder`.',
9157
+ items: {
9158
+ description: 'Error associated with the `acs_encoder`.',
9159
+ properties: {
9160
+ _event_id: {
9161
+ description: 'ID of the event that was created when the `acs_encoder` was removed.',
9162
+ format: 'uuid',
9163
+ type: 'string',
9164
+ },
9165
+ created_at: {
9166
+ description: 'Date and time at which Seam created the error.',
9167
+ format: 'date-time',
9168
+ type: 'string',
9169
+ },
9170
+ error_code: {
9171
+ description: 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.',
9172
+ enum: ['acs_encoder_removed'],
9173
+ type: 'string',
9174
+ },
9175
+ message: {
9176
+ description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
9177
+ type: 'string',
9178
+ },
9179
+ },
9180
+ required: [
9181
+ 'created_at',
9182
+ 'message',
9183
+ 'error_code',
9184
+ '_event_id',
9185
+ ],
9186
+ type: 'object',
9187
+ },
9188
+ type: 'array',
9189
+ },
9190
+ workspace_id: {
9191
+ description: 'ID of the [workspace](https://docs.seam.co/latest/core-concepts/workspaces) that contains the `acs_system`.',
9192
+ format: 'uuid',
9193
+ type: 'string',
9194
+ },
9195
+ },
9196
+ required: [
9197
+ 'acs_encoder_id',
9198
+ 'acs_system_id',
9199
+ 'workspace_id',
9200
+ 'errors',
9201
+ 'created_at',
9202
+ 'display_name',
9203
+ ],
9204
+ type: 'object',
9205
+ },
9125
9206
  type: 'array',
9126
9207
  },
9127
9208
  ok: { type: 'boolean' },
9128
9209
  },
9129
- required: ['devices', 'ok'],
9210
+ required: ['acs_encoders', 'ok'],
9130
9211
  type: 'object',
9131
9212
  },
9132
9213
  },
@@ -9145,8 +9226,8 @@ export default {
9145
9226
  tags: ['/acs'],
9146
9227
  'x-fern-sdk-group-name': ['acs', 'encoders'],
9147
9228
  'x-fern-sdk-method-name': 'list',
9148
- 'x-fern-sdk-return-value': 'devices',
9149
- 'x-response-key': 'devices',
9229
+ 'x-fern-sdk-return-value': 'acs_encoders',
9230
+ 'x-response-key': 'acs_encoders',
9150
9231
  'x-undocumented': 'Encoders are in alpha.',
9151
9232
  },
9152
9233
  },
@@ -9158,18 +9239,18 @@ export default {
9158
9239
  'application/json': {
9159
9240
  schema: {
9160
9241
  properties: {
9161
- acs_system_id: {
9162
- description: 'ID of the acs_system the encoder belongs to.',
9242
+ acs_encoder_id: {
9243
+ description: 'ID of the acs_encoder to use for the scan.',
9163
9244
  format: 'uuid',
9164
9245
  type: 'string',
9165
9246
  },
9166
- device_id: {
9167
- description: 'ID of the encoder to use for the scan.',
9247
+ acs_system_id: {
9248
+ description: 'ID of the acs_system the encoder belongs to.',
9168
9249
  format: 'uuid',
9169
9250
  type: 'string',
9170
9251
  },
9171
9252
  },
9172
- required: ['acs_system_id', 'device_id'],
9253
+ required: ['acs_system_id', 'acs_encoder_id'],
9173
9254
  type: 'object',
9174
9255
  },
9175
9256
  },
@@ -15967,6 +16048,7 @@ export default {
15967
16048
  description: 'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
15968
16049
  type: 'string',
15969
16050
  },
16051
+ is_override_allowed: { default: false, type: 'boolean' },
15970
16052
  max_override_period_minutes: {
15971
16053
  default: 0,
15972
16054
  description: "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).",
@@ -16218,6 +16300,7 @@ export default {
16218
16300
  description: 'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
16219
16301
  type: 'string',
16220
16302
  },
16303
+ is_override_allowed: { type: 'boolean' },
16221
16304
  max_override_period_minutes: {
16222
16305
  description: "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).",
16223
16306
  minimum: 0,
@@ -16287,6 +16370,7 @@ export default {
16287
16370
  description: 'Date and time at which the thermostat schedule ends, in [ISO 8601](https://www.iso.org/iso-8601-date-and-time-format.html) format.',
16288
16371
  type: 'string',
16289
16372
  },
16373
+ is_override_allowed: { type: 'boolean' },
16290
16374
  max_override_period_minutes: {
16291
16375
  description: "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).",
16292
16376
  minimum: 0,