@seamapi/types 1.1215.0 → 1.1217.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 (25) hide show
  1. package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +5 -0
  2. package/lib/seam/connect/models/access-codes/pending-mutations.d.ts +8 -0
  3. package/lib/seam/connect/models/access-codes/pending-mutations.js +3 -0
  4. package/lib/seam/connect/models/access-codes/pending-mutations.js.map +1 -1
  5. package/lib/seam/connect/models/devices/device-metadata.d.ts +33 -0
  6. package/lib/seam/connect/models/devices/device-metadata.js +25 -0
  7. package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
  8. package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
  9. package/lib/seam/connect/models/devices/device-provider.js +2 -0
  10. package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
  11. package/lib/seam/connect/models/devices/device-type.d.ts +1 -0
  12. package/lib/seam/connect/models/devices/device-type.js +1 -0
  13. package/lib/seam/connect/models/devices/device-type.js.map +1 -1
  14. package/lib/seam/connect/models/devices/device.d.ts +50 -3
  15. package/lib/seam/connect/models/devices/unmanaged-device.d.ts +36 -3
  16. package/lib/seam/connect/openapi.js +49 -1
  17. package/lib/seam/connect/openapi.js.map +1 -1
  18. package/lib/seam/connect/route-types.d.ts +280 -32
  19. package/package.json +1 -1
  20. package/src/lib/seam/connect/models/access-codes/pending-mutations.ts +5 -0
  21. package/src/lib/seam/connect/models/devices/device-metadata.ts +32 -0
  22. package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
  23. package/src/lib/seam/connect/models/devices/device-type.ts +1 -0
  24. package/src/lib/seam/connect/openapi.ts +54 -1
  25. package/src/lib/seam/connect/route-types.ts +316 -0
@@ -75,7 +75,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
75
75
  estimated_occupant_count: z.ZodOptional<z.ZodNumber>;
76
76
  is_smoking_detected: z.ZodOptional<z.ZodBoolean>;
77
77
  device_id: z.ZodString;
78
- device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>, z.ZodEnum<["alertify_sensor"]>, z.ZodEnum<["hayward_pool_controller" | "hayward_pool"]>]>;
78
+ device_type: z.ZodUnion<[z.ZodEnum<["akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock"]>, z.ZodEnum<["keynest_key"]>, z.ZodEnum<["noiseaware_activity_zone" | "minut_sensor"]>, z.ZodEnum<["ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "cielo_thermostat" | "smartthings_thermostat"]>, z.ZodEnum<["ios_phone" | "android_phone"]>, z.ZodEnum<["ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera"]>, z.ZodEnum<["sonos_speaker"]>, z.ZodEnum<["alertify_sensor"]>, z.ZodEnum<["hayward_pool_controller" | "hayward_pool"]>]>;
79
79
  space_ids: z.ZodArray<z.ZodString, "many">;
80
80
  nickname: z.ZodOptional<z.ZodString>;
81
81
  display_name: z.ZodString;
@@ -1176,6 +1176,25 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1176
1176
  firmware_version?: string | undefined;
1177
1177
  temperature_unit?: string | undefined;
1178
1178
  }>>;
1179
+ cielo_metadata: z.ZodOptional<z.ZodObject<{
1180
+ device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1181
+ mac_address: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1182
+ appliance_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1183
+ cielo_device_type: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1184
+ temperature_unit: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1185
+ }, "strip", z.ZodTypeAny, {
1186
+ device_name?: string | undefined;
1187
+ mac_address?: string | undefined;
1188
+ temperature_unit?: string | undefined;
1189
+ appliance_id?: string | undefined;
1190
+ cielo_device_type?: string | undefined;
1191
+ }, {
1192
+ device_name?: string | undefined;
1193
+ mac_address?: string | undefined;
1194
+ temperature_unit?: string | undefined;
1195
+ appliance_id?: string | undefined;
1196
+ cielo_device_type?: string | undefined;
1197
+ }>>;
1179
1198
  keynest_metadata: z.ZodOptional<z.ZodObject<{
1180
1199
  key_id: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1181
1200
  device_name: z.ZodOptional<z.ZodOptional<z.ZodString>>;
@@ -1817,6 +1836,13 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
1817
1836
  firmware_version?: string | undefined;
1818
1837
  temperature_unit?: string | undefined;
1819
1838
  } | undefined;
1839
+ cielo_metadata?: {
1840
+ device_name?: string | undefined;
1841
+ mac_address?: string | undefined;
1842
+ temperature_unit?: string | undefined;
1843
+ appliance_id?: string | undefined;
1844
+ cielo_device_type?: string | undefined;
1845
+ } | undefined;
1820
1846
  keynest_metadata?: {
1821
1847
  device_name?: string | undefined;
1822
1848
  key_id?: string | undefined;
@@ -2226,6 +2252,13 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
2226
2252
  firmware_version?: string | undefined;
2227
2253
  temperature_unit?: string | undefined;
2228
2254
  } | undefined;
2255
+ cielo_metadata?: {
2256
+ device_name?: string | undefined;
2257
+ mac_address?: string | undefined;
2258
+ temperature_unit?: string | undefined;
2259
+ appliance_id?: string | undefined;
2260
+ cielo_device_type?: string | undefined;
2261
+ } | undefined;
2229
2262
  keynest_metadata?: {
2230
2263
  device_name?: string | undefined;
2231
2264
  key_id?: string | undefined;
@@ -4564,7 +4597,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
4564
4597
  warning_code: "cloud_recording_not_enabled";
4565
4598
  })[];
4566
4599
  custom_metadata: Record<string, string | boolean>;
4567
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
4600
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "cielo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
4568
4601
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
4569
4602
  is_online: boolean;
4570
4603
  is_managed: false;
@@ -4870,7 +4903,7 @@ export declare const unmanaged_device: z.ZodObject<Pick<{
4870
4903
  warning_code: "cloud_recording_not_enabled";
4871
4904
  })[];
4872
4905
  custom_metadata: Record<string, string | boolean>;
4873
- device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
4906
+ device_type: ("akuvox_lock" | "august_lock" | "brivo_access_point" | "butterflymx_panel" | "avigilon_alta_entry" | "doorking_lock" | "genie_door" | "igloo_lock" | "linear_lock" | "lockly_lock" | "kwikset_lock" | "nuki_lock" | "salto_lock" | "schlage_lock" | "smartthings_lock" | "wyze_lock" | "yale_lock" | "yale_access_lock" | "yale_home_lock" | "yale_connect_lock" | "two_n_intercom" | "controlbyweb_device" | "ttlock_lock" | "igloohome_lock" | "four_suites_door" | "dormakaba_oracode_door" | "tedee_lock" | "akiles_lock" | "ultraloq_lock" | "yacan_lock" | "keyincode_lock" | "omnitec_lock" | "kisi_lock" | "aqara_lock" | "tuya_lock" | "eufy_lock") | "keynest_key" | ("noiseaware_activity_zone" | "minut_sensor") | ("ecobee_thermostat" | "nest_thermostat" | "honeywell_resideo_thermostat" | "tado_thermostat" | "sensi_thermostat" | "sensibo_thermostat" | "cielo_thermostat" | "smartthings_thermostat") | ("ios_phone" | "android_phone") | ("ring_camera" | "tapo_camera" | "arlo_camera" | "reolink_camera" | "unifi_protect_camera") | "sonos_speaker" | "alertify_sensor" | ("hayward_pool_controller" | "hayward_pool");
4874
4907
  capabilities_supported: ("access_code" | "lock" | "noise_detection" | "thermostat" | "battery" | "phone" | "pool")[];
4875
4908
  is_online: boolean;
4876
4909
  is_managed: false;
@@ -1017,6 +1017,10 @@ const openapi = {
1017
1017
  format: 'date-time',
1018
1018
  type: 'string',
1019
1019
  },
1020
+ is_code_usable: {
1021
+ description: 'Indicates whether the access code may still unlock the device while Seam removes it, based on the last state Seam observed. `false` means the device has already stopped accepting the code, for example, because a natively scheduled code passed its `ends_at`, and only cleanup remains.',
1022
+ type: 'boolean',
1023
+ },
1020
1024
  message: {
1021
1025
  description: 'Detailed description of the mutation.',
1022
1026
  type: 'string',
@@ -1027,7 +1031,12 @@ const openapi = {
1027
1031
  type: 'string',
1028
1032
  },
1029
1033
  },
1030
- required: ['created_at', 'message', 'mutation_code'],
1034
+ required: [
1035
+ 'created_at',
1036
+ 'message',
1037
+ 'mutation_code',
1038
+ 'is_code_usable',
1039
+ ],
1031
1040
  type: 'object',
1032
1041
  },
1033
1042
  {
@@ -14401,6 +14410,7 @@ const openapi = {
14401
14410
  'tado_thermostat',
14402
14411
  'sensi_thermostat',
14403
14412
  'sensibo_thermostat',
14413
+ 'cielo_thermostat',
14404
14414
  'smartthings_thermostat',
14405
14415
  ],
14406
14416
  type: 'string',
@@ -15599,6 +15609,32 @@ const openapi = {
15599
15609
  },
15600
15610
  type: 'object',
15601
15611
  },
15612
+ cielo_metadata: {
15613
+ description: 'Metadata for a Cielo device.',
15614
+ properties: {
15615
+ appliance_id: {
15616
+ description: 'ID of the air conditioner or heat pump model that the Cielo device is set up to control.',
15617
+ type: 'string',
15618
+ },
15619
+ cielo_device_type: {
15620
+ description: 'Device type that Cielo reports, such as `Thermostat` for a Cielo thermostat.',
15621
+ type: 'string',
15622
+ },
15623
+ device_name: {
15624
+ description: 'Name of the device in the Cielo Home app.',
15625
+ type: 'string',
15626
+ },
15627
+ mac_address: {
15628
+ description: 'MAC address of the Cielo device.',
15629
+ type: 'string',
15630
+ },
15631
+ temperature_unit: {
15632
+ description: 'Temperature unit that the Cielo device displays: `C` or `F`.',
15633
+ type: 'string',
15634
+ },
15635
+ },
15636
+ type: 'object',
15637
+ },
15602
15638
  controlbyweb_metadata: {
15603
15639
  description: 'Metadata for a ControlByWeb device.',
15604
15640
  properties: {
@@ -19099,6 +19135,7 @@ const openapi = {
19099
19135
  'salto_space',
19100
19136
  'sensi',
19101
19137
  'sensibo',
19138
+ 'cielo',
19102
19139
  'keynest',
19103
19140
  'korelock',
19104
19141
  'keyincode',
@@ -38013,6 +38050,7 @@ const openapi = {
38013
38050
  'tado_thermostat',
38014
38051
  'sensi_thermostat',
38015
38052
  'sensibo_thermostat',
38053
+ 'cielo_thermostat',
38016
38054
  'smartthings_thermostat',
38017
38055
  ],
38018
38056
  type: 'string',
@@ -48267,6 +48305,7 @@ const openapi = {
48267
48305
  'salto_space',
48268
48306
  'sensi',
48269
48307
  'sensibo',
48308
+ 'cielo',
48270
48309
  'keynest',
48271
48310
  'korelock',
48272
48311
  'keyincode',
@@ -51860,6 +51899,7 @@ const openapi = {
51860
51899
  'tado_thermostat',
51861
51900
  'sensi_thermostat',
51862
51901
  'sensibo_thermostat',
51902
+ 'cielo_thermostat',
51863
51903
  'smartthings_thermostat',
51864
51904
  ],
51865
51905
  type: 'string',
@@ -51967,6 +52007,7 @@ const openapi = {
51967
52007
  'tado_thermostat',
51968
52008
  'sensi_thermostat',
51969
52009
  'sensibo_thermostat',
52010
+ 'cielo_thermostat',
51970
52011
  'smartthings_thermostat',
51971
52012
  ],
51972
52013
  type: 'string',
@@ -52053,6 +52094,7 @@ const openapi = {
52053
52094
  'korelock',
52054
52095
  'lockly',
52055
52096
  'minut',
52097
+ 'cielo',
52056
52098
  'nest',
52057
52099
  'noiseaware',
52058
52100
  'sensi',
@@ -54232,6 +54274,7 @@ const openapi = {
54232
54274
  'tado_thermostat',
54233
54275
  'sensi_thermostat',
54234
54276
  'sensibo_thermostat',
54277
+ 'cielo_thermostat',
54235
54278
  'smartthings_thermostat',
54236
54279
  ],
54237
54280
  type: 'string',
@@ -54339,6 +54382,7 @@ const openapi = {
54339
54382
  'tado_thermostat',
54340
54383
  'sensi_thermostat',
54341
54384
  'sensibo_thermostat',
54385
+ 'cielo_thermostat',
54342
54386
  'smartthings_thermostat',
54343
54387
  ],
54344
54388
  type: 'string',
@@ -54425,6 +54469,7 @@ const openapi = {
54425
54469
  'korelock',
54426
54470
  'lockly',
54427
54471
  'minut',
54472
+ 'cielo',
54428
54473
  'nest',
54429
54474
  'noiseaware',
54430
54475
  'sensi',
@@ -73471,6 +73516,7 @@ const openapi = {
73471
73516
  'tado_thermostat',
73472
73517
  'sensi_thermostat',
73473
73518
  'sensibo_thermostat',
73519
+ 'cielo_thermostat',
73474
73520
  'smartthings_thermostat',
73475
73521
  ],
73476
73522
  type: 'string',
@@ -73490,6 +73536,7 @@ const openapi = {
73490
73536
  'tado_thermostat',
73491
73537
  'sensi_thermostat',
73492
73538
  'sensibo_thermostat',
73539
+ 'cielo_thermostat',
73493
73540
  'smartthings_thermostat',
73494
73541
  ],
73495
73542
  type: 'string',
@@ -73505,6 +73552,7 @@ const openapi = {
73505
73552
  enum: [
73506
73553
  'ecobee',
73507
73554
  'honeywell_resideo',
73555
+ 'cielo',
73508
73556
  'nest',
73509
73557
  'sensi',
73510
73558
  'sensibo',