@seamapi/types 1.580.0 → 1.582.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.
- package/dist/connect.cjs +9 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +177 -137
- package/dist/index.cjs +9 -5
- package/dist/index.cjs.map +1 -1
- package/lib/seam/connect/models/batch.d.ts +167 -167
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +15 -15
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +15 -15
- package/lib/seam/connect/models/devices/device.d.ts +21 -21
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +15 -15
- package/lib/seam/connect/models/events/devices.d.ts +2 -2
- package/lib/seam/connect/models/events/seam-event.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +6 -6
- package/lib/seam/connect/models/thermostats/climate-preset.js +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +43 -3
- package/lib/seam/connect/openapi.js +8 -4
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +51 -51
- package/package.json +1 -1
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +8 -4
- package/src/lib/seam/connect/route-types.ts +67 -51
|
@@ -3,7 +3,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
3
3
|
climate_preset_key: z.ZodString;
|
|
4
4
|
can_edit: z.ZodBoolean;
|
|
5
5
|
can_delete: z.ZodBoolean;
|
|
6
|
-
|
|
6
|
+
can_use_with_thermostat_daily_programs: z.ZodBoolean;
|
|
7
7
|
name: z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>;
|
|
8
8
|
display_name: z.ZodString;
|
|
9
9
|
climate_preset_mode: z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>;
|
|
@@ -31,7 +31,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
31
31
|
climate_preset_key: string;
|
|
32
32
|
can_edit: boolean;
|
|
33
33
|
can_delete: boolean;
|
|
34
|
-
|
|
34
|
+
can_use_with_thermostat_daily_programs: boolean;
|
|
35
35
|
display_name: string;
|
|
36
36
|
manual_override_allowed: boolean;
|
|
37
37
|
name?: string | null | undefined;
|
|
@@ -51,7 +51,7 @@ export declare const climate_preset: z.ZodObject<{
|
|
|
51
51
|
climate_preset_key: string;
|
|
52
52
|
can_edit: boolean;
|
|
53
53
|
can_delete: boolean;
|
|
54
|
-
|
|
54
|
+
can_use_with_thermostat_daily_programs: boolean;
|
|
55
55
|
display_name: string;
|
|
56
56
|
manual_override_allowed: boolean;
|
|
57
57
|
name?: string | null | undefined;
|
|
@@ -73,7 +73,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
73
73
|
climate_preset_key: z.ZodOptional<z.ZodString>;
|
|
74
74
|
can_edit: z.ZodOptional<z.ZodBoolean>;
|
|
75
75
|
can_delete: z.ZodOptional<z.ZodBoolean>;
|
|
76
|
-
|
|
76
|
+
can_use_with_thermostat_daily_programs: z.ZodOptional<z.ZodBoolean>;
|
|
77
77
|
name: z.ZodOptional<z.ZodOptional<z.ZodDefault<z.ZodNullable<z.ZodString>>>>;
|
|
78
78
|
display_name: z.ZodOptional<z.ZodString>;
|
|
79
79
|
climate_preset_mode: z.ZodOptional<z.ZodOptional<z.ZodEnum<["home", "away", "wake", "sleep", "occupied", "unoccupied"]>>>;
|
|
@@ -101,7 +101,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
101
101
|
climate_preset_key?: string | undefined;
|
|
102
102
|
can_edit?: boolean | undefined;
|
|
103
103
|
can_delete?: boolean | undefined;
|
|
104
|
-
|
|
104
|
+
can_use_with_thermostat_daily_programs?: boolean | undefined;
|
|
105
105
|
name?: string | null | undefined;
|
|
106
106
|
display_name?: string | undefined;
|
|
107
107
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
@@ -121,7 +121,7 @@ export declare const climate_setting: z.ZodObject<{
|
|
|
121
121
|
climate_preset_key?: string | undefined;
|
|
122
122
|
can_edit?: boolean | undefined;
|
|
123
123
|
can_delete?: boolean | undefined;
|
|
124
|
-
|
|
124
|
+
can_use_with_thermostat_daily_programs?: boolean | undefined;
|
|
125
125
|
name?: string | null | undefined;
|
|
126
126
|
display_name?: string | undefined;
|
|
127
127
|
climate_preset_mode?: "home" | "away" | "wake" | "sleep" | "occupied" | "unoccupied" | undefined;
|
|
@@ -10,7 +10,7 @@ export const climate_preset = z.object({
|
|
|
10
10
|
can_delete: z
|
|
11
11
|
.boolean()
|
|
12
12
|
.describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be deleted.'),
|
|
13
|
-
|
|
13
|
+
can_use_with_thermostat_daily_programs: z
|
|
14
14
|
.boolean()
|
|
15
15
|
.describe('Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.'),
|
|
16
16
|
name: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,+IAA+I,CAChJ;IACH,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CACP,4JAA4J,CAC7J;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,6JAA6J,CAC9J;IACH,
|
|
1
|
+
{"version":3,"file":"climate-preset.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/thermostats/climate-preset.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,mBAAmB,EACnB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,YAAY,CAAA;AAEnB,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,QAAQ,CACP,+IAA+I,CAChJ;IACH,QAAQ,EAAE,CAAC;SACR,OAAO,EAAE;SACT,QAAQ,CACP,4JAA4J,CAC7J;IACH,UAAU,EAAE,CAAC;SACV,OAAO,EAAE;SACT,QAAQ,CACP,6JAA6J,CAC9J;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,CACP,8LAA8L,CAC/L;IACH,IAAI,EAAE,CAAC;SACJ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,OAAO,CAAC,IAAI,CAAC;SACb,QAAQ,EAAE;SACV,QAAQ,CACP,uJAAuJ,CACxJ;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CACP,yIAAyI,CAC1I;IACH,mBAAmB,EAAE,mBAAmB,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;GAE5D,CAAC;IACF,gBAAgB,EAAE,gBAAgB;SAC/B,QAAQ,EAAE;SACV,QAAQ,CACP,mLAAmL,CACpL;IACH,iBAAiB,EAAE,iBAAiB;SACjC,QAAQ,EAAE;SACV,QAAQ,CACP,oLAAoL,CACrL;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,yBAAyB,EAAE,CAAC;SACzB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,4BAA4B,EAAE,CAAC;SAC5B,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yLAAyL,CAC1L;IACH,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,CAC3C;;;;oRAIgR,CACjR;IACD,eAAe,EAAE,CAAC;SACf,MAAM,CAAC;QACN,WAAW,EAAE,CAAC;aACX,MAAM,EAAE;aACR,QAAQ,CAAC,iDAAiD,CAAC;QAC9D,YAAY,EAAE,CAAC;aACZ,OAAO,EAAE;aACT,QAAQ,CAAC,yDAAyD,CAAC;QACtE,KAAK,EAAE,CAAC;aACL,IAAI,CAAC,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;aACxB,QAAQ,CACP,0EAA0E,CAC3E;KACJ,CAAC;SACD,QAAQ,EAAE,CAAC,QAAQ,CAAC;;GAEtB,CAAC;CACH,CAAC,CAAA;AAIF,MAAM,CAAC,MAAM,eAAe,GAAG,cAAc,CAAC,OAAO,EAAE,CAAA"}
|
|
@@ -6270,7 +6270,7 @@ declare const _default: {
|
|
|
6270
6270
|
description: string;
|
|
6271
6271
|
type: string;
|
|
6272
6272
|
};
|
|
6273
|
-
|
|
6273
|
+
can_use_with_thermostat_daily_programs: {
|
|
6274
6274
|
description: string;
|
|
6275
6275
|
type: string;
|
|
6276
6276
|
};
|
|
@@ -6385,7 +6385,7 @@ declare const _default: {
|
|
|
6385
6385
|
description: string;
|
|
6386
6386
|
type: string;
|
|
6387
6387
|
};
|
|
6388
|
-
|
|
6388
|
+
can_use_with_thermostat_daily_programs: {
|
|
6389
6389
|
description: string;
|
|
6390
6390
|
type: string;
|
|
6391
6391
|
};
|
|
@@ -6479,7 +6479,7 @@ declare const _default: {
|
|
|
6479
6479
|
description: string;
|
|
6480
6480
|
type: string;
|
|
6481
6481
|
};
|
|
6482
|
-
|
|
6482
|
+
can_use_with_thermostat_daily_programs: {
|
|
6483
6483
|
description: string;
|
|
6484
6484
|
type: string;
|
|
6485
6485
|
};
|
|
@@ -14634,22 +14634,32 @@ declare const _default: {
|
|
|
14634
14634
|
};
|
|
14635
14635
|
security: ({
|
|
14636
14636
|
client_session: never[];
|
|
14637
|
+
client_session_with_customer?: never;
|
|
14638
|
+
pat_with_workspace?: never;
|
|
14639
|
+
console_session_with_workspace?: never;
|
|
14640
|
+
api_key?: never;
|
|
14641
|
+
} | {
|
|
14642
|
+
client_session_with_customer: never[];
|
|
14643
|
+
client_session?: never;
|
|
14637
14644
|
pat_with_workspace?: never;
|
|
14638
14645
|
console_session_with_workspace?: never;
|
|
14639
14646
|
api_key?: never;
|
|
14640
14647
|
} | {
|
|
14641
14648
|
pat_with_workspace: never[];
|
|
14642
14649
|
client_session?: never;
|
|
14650
|
+
client_session_with_customer?: never;
|
|
14643
14651
|
console_session_with_workspace?: never;
|
|
14644
14652
|
api_key?: never;
|
|
14645
14653
|
} | {
|
|
14646
14654
|
console_session_with_workspace: never[];
|
|
14647
14655
|
client_session?: never;
|
|
14656
|
+
client_session_with_customer?: never;
|
|
14648
14657
|
pat_with_workspace?: never;
|
|
14649
14658
|
api_key?: never;
|
|
14650
14659
|
} | {
|
|
14651
14660
|
api_key: never[];
|
|
14652
14661
|
client_session?: never;
|
|
14662
|
+
client_session_with_customer?: never;
|
|
14653
14663
|
pat_with_workspace?: never;
|
|
14654
14664
|
console_session_with_workspace?: never;
|
|
14655
14665
|
})[];
|
|
@@ -14785,22 +14795,32 @@ declare const _default: {
|
|
|
14785
14795
|
};
|
|
14786
14796
|
security: ({
|
|
14787
14797
|
client_session: never[];
|
|
14798
|
+
client_session_with_customer?: never;
|
|
14799
|
+
pat_with_workspace?: never;
|
|
14800
|
+
console_session_with_workspace?: never;
|
|
14801
|
+
api_key?: never;
|
|
14802
|
+
} | {
|
|
14803
|
+
client_session_with_customer: never[];
|
|
14804
|
+
client_session?: never;
|
|
14788
14805
|
pat_with_workspace?: never;
|
|
14789
14806
|
console_session_with_workspace?: never;
|
|
14790
14807
|
api_key?: never;
|
|
14791
14808
|
} | {
|
|
14792
14809
|
pat_with_workspace: never[];
|
|
14793
14810
|
client_session?: never;
|
|
14811
|
+
client_session_with_customer?: never;
|
|
14794
14812
|
console_session_with_workspace?: never;
|
|
14795
14813
|
api_key?: never;
|
|
14796
14814
|
} | {
|
|
14797
14815
|
console_session_with_workspace: never[];
|
|
14798
14816
|
client_session?: never;
|
|
14817
|
+
client_session_with_customer?: never;
|
|
14799
14818
|
pat_with_workspace?: never;
|
|
14800
14819
|
api_key?: never;
|
|
14801
14820
|
} | {
|
|
14802
14821
|
api_key: never[];
|
|
14803
14822
|
client_session?: never;
|
|
14823
|
+
client_session_with_customer?: never;
|
|
14804
14824
|
pat_with_workspace?: never;
|
|
14805
14825
|
console_session_with_workspace?: never;
|
|
14806
14826
|
})[];
|
|
@@ -17320,22 +17340,32 @@ declare const _default: {
|
|
|
17320
17340
|
};
|
|
17321
17341
|
security: ({
|
|
17322
17342
|
client_session: never[];
|
|
17343
|
+
client_session_with_customer?: never;
|
|
17344
|
+
pat_with_workspace?: never;
|
|
17345
|
+
console_session_with_workspace?: never;
|
|
17346
|
+
api_key?: never;
|
|
17347
|
+
} | {
|
|
17348
|
+
client_session_with_customer: never[];
|
|
17349
|
+
client_session?: never;
|
|
17323
17350
|
pat_with_workspace?: never;
|
|
17324
17351
|
console_session_with_workspace?: never;
|
|
17325
17352
|
api_key?: never;
|
|
17326
17353
|
} | {
|
|
17327
17354
|
pat_with_workspace: never[];
|
|
17328
17355
|
client_session?: never;
|
|
17356
|
+
client_session_with_customer?: never;
|
|
17329
17357
|
console_session_with_workspace?: never;
|
|
17330
17358
|
api_key?: never;
|
|
17331
17359
|
} | {
|
|
17332
17360
|
console_session_with_workspace: never[];
|
|
17333
17361
|
client_session?: never;
|
|
17362
|
+
client_session_with_customer?: never;
|
|
17334
17363
|
pat_with_workspace?: never;
|
|
17335
17364
|
api_key?: never;
|
|
17336
17365
|
} | {
|
|
17337
17366
|
api_key: never[];
|
|
17338
17367
|
client_session?: never;
|
|
17368
|
+
client_session_with_customer?: never;
|
|
17339
17369
|
pat_with_workspace?: never;
|
|
17340
17370
|
console_session_with_workspace?: never;
|
|
17341
17371
|
})[];
|
|
@@ -17403,22 +17433,32 @@ declare const _default: {
|
|
|
17403
17433
|
};
|
|
17404
17434
|
security: ({
|
|
17405
17435
|
client_session: never[];
|
|
17436
|
+
client_session_with_customer?: never;
|
|
17437
|
+
pat_with_workspace?: never;
|
|
17438
|
+
console_session_with_workspace?: never;
|
|
17439
|
+
api_key?: never;
|
|
17440
|
+
} | {
|
|
17441
|
+
client_session_with_customer: never[];
|
|
17442
|
+
client_session?: never;
|
|
17406
17443
|
pat_with_workspace?: never;
|
|
17407
17444
|
console_session_with_workspace?: never;
|
|
17408
17445
|
api_key?: never;
|
|
17409
17446
|
} | {
|
|
17410
17447
|
pat_with_workspace: never[];
|
|
17411
17448
|
client_session?: never;
|
|
17449
|
+
client_session_with_customer?: never;
|
|
17412
17450
|
console_session_with_workspace?: never;
|
|
17413
17451
|
api_key?: never;
|
|
17414
17452
|
} | {
|
|
17415
17453
|
console_session_with_workspace: never[];
|
|
17416
17454
|
client_session?: never;
|
|
17455
|
+
client_session_with_customer?: never;
|
|
17417
17456
|
pat_with_workspace?: never;
|
|
17418
17457
|
api_key?: never;
|
|
17419
17458
|
} | {
|
|
17420
17459
|
api_key: never[];
|
|
17421
17460
|
client_session?: never;
|
|
17461
|
+
client_session_with_customer?: never;
|
|
17422
17462
|
pat_with_workspace?: never;
|
|
17423
17463
|
console_session_with_workspace?: never;
|
|
17424
17464
|
})[];
|
|
@@ -10535,7 +10535,7 @@ export default {
|
|
|
10535
10535
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
10536
10536
|
type: 'boolean',
|
|
10537
10537
|
},
|
|
10538
|
-
|
|
10538
|
+
can_use_with_thermostat_daily_programs: {
|
|
10539
10539
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
|
|
10540
10540
|
type: 'boolean',
|
|
10541
10541
|
},
|
|
@@ -10630,7 +10630,7 @@ export default {
|
|
|
10630
10630
|
'climate_preset_key',
|
|
10631
10631
|
'can_edit',
|
|
10632
10632
|
'can_delete',
|
|
10633
|
-
'
|
|
10633
|
+
'can_use_with_thermostat_daily_programs',
|
|
10634
10634
|
'display_name',
|
|
10635
10635
|
'manual_override_allowed',
|
|
10636
10636
|
],
|
|
@@ -10668,7 +10668,7 @@ export default {
|
|
|
10668
10668
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
10669
10669
|
type: 'boolean',
|
|
10670
10670
|
},
|
|
10671
|
-
|
|
10671
|
+
can_use_with_thermostat_daily_programs: {
|
|
10672
10672
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
|
|
10673
10673
|
type: 'boolean',
|
|
10674
10674
|
},
|
|
@@ -10769,7 +10769,7 @@ export default {
|
|
|
10769
10769
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be edited.',
|
|
10770
10770
|
type: 'boolean',
|
|
10771
10771
|
},
|
|
10772
|
-
|
|
10772
|
+
can_use_with_thermostat_daily_programs: {
|
|
10773
10773
|
description: 'Indicates whether the [climate preset](https://docs.seam.co/latest/capability-guides/thermostats/creating-and-managing-climate-presets) key can be programmed in a thermostat daily program.',
|
|
10774
10774
|
type: 'boolean',
|
|
10775
10775
|
},
|
|
@@ -23300,6 +23300,7 @@ export default {
|
|
|
23300
23300
|
},
|
|
23301
23301
|
security: [
|
|
23302
23302
|
{ client_session: [] },
|
|
23303
|
+
{ client_session_with_customer: [] },
|
|
23303
23304
|
{ pat_with_workspace: [] },
|
|
23304
23305
|
{ console_session_with_workspace: [] },
|
|
23305
23306
|
{ api_key: [] },
|
|
@@ -23425,6 +23426,7 @@ export default {
|
|
|
23425
23426
|
},
|
|
23426
23427
|
security: [
|
|
23427
23428
|
{ client_session: [] },
|
|
23429
|
+
{ client_session_with_customer: [] },
|
|
23428
23430
|
{ pat_with_workspace: [] },
|
|
23429
23431
|
{ console_session_with_workspace: [] },
|
|
23430
23432
|
{ api_key: [] },
|
|
@@ -25329,6 +25331,7 @@ export default {
|
|
|
25329
25331
|
},
|
|
25330
25332
|
security: [
|
|
25331
25333
|
{ client_session: [] },
|
|
25334
|
+
{ client_session_with_customer: [] },
|
|
25332
25335
|
{ pat_with_workspace: [] },
|
|
25333
25336
|
{ console_session_with_workspace: [] },
|
|
25334
25337
|
{ api_key: [] },
|
|
@@ -25389,6 +25392,7 @@ export default {
|
|
|
25389
25392
|
},
|
|
25390
25393
|
security: [
|
|
25391
25394
|
{ client_session: [] },
|
|
25395
|
+
{ client_session_with_customer: [] },
|
|
25392
25396
|
{ pat_with_workspace: [] },
|
|
25393
25397
|
{ console_session_with_workspace: [] },
|
|
25394
25398
|
{ api_key: [] },
|