@seamapi/types 1.304.0 → 1.306.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 +119 -17
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +625 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.js +25 -0
- package/lib/seam/connect/models/action-attempts/set-hvac-mode.js.map +1 -0
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +40 -2
- package/lib/seam/connect/openapi.js +85 -1
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +506 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts +33 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +85 -1
- package/src/lib/seam/connect/route-types.ts +569 -0
|
@@ -2608,6 +2608,84 @@ export declare const action_attempt: z.ZodUnion<[z.ZodObject<z.objectUtil.extend
|
|
|
2608
2608
|
status: z.ZodLiteral<"pending">;
|
|
2609
2609
|
result: z.ZodNull;
|
|
2610
2610
|
error: z.ZodNull;
|
|
2611
|
+
}>, {
|
|
2612
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2613
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2614
|
+
error: null;
|
|
2615
|
+
status: "pending";
|
|
2616
|
+
action_attempt_id: string;
|
|
2617
|
+
result: null;
|
|
2618
|
+
action_type: "SET_HVAC_MODE";
|
|
2619
|
+
}, {
|
|
2620
|
+
error: null;
|
|
2621
|
+
status: "pending";
|
|
2622
|
+
action_attempt_id: string;
|
|
2623
|
+
result: null;
|
|
2624
|
+
action_type: "SET_HVAC_MODE";
|
|
2625
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2626
|
+
action_attempt_id: z.ZodString;
|
|
2627
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2628
|
+
}, {
|
|
2629
|
+
status: z.ZodLiteral<"success">;
|
|
2630
|
+
error: z.ZodNull;
|
|
2631
|
+
}>, {
|
|
2632
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2633
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
2634
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2635
|
+
error: null;
|
|
2636
|
+
status: "success";
|
|
2637
|
+
action_attempt_id: string;
|
|
2638
|
+
result: {};
|
|
2639
|
+
action_type: "SET_HVAC_MODE";
|
|
2640
|
+
}, {
|
|
2641
|
+
error: null;
|
|
2642
|
+
status: "success";
|
|
2643
|
+
action_attempt_id: string;
|
|
2644
|
+
result: {};
|
|
2645
|
+
action_type: "SET_HVAC_MODE";
|
|
2646
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2647
|
+
action_attempt_id: z.ZodString;
|
|
2648
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2649
|
+
}, {
|
|
2650
|
+
status: z.ZodLiteral<"error">;
|
|
2651
|
+
result: z.ZodNull;
|
|
2652
|
+
}>, {
|
|
2653
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
2654
|
+
error: z.ZodObject<{
|
|
2655
|
+
type: z.ZodString;
|
|
2656
|
+
message: z.ZodString;
|
|
2657
|
+
}, "strip", z.ZodTypeAny, {
|
|
2658
|
+
type: string;
|
|
2659
|
+
message: string;
|
|
2660
|
+
}, {
|
|
2661
|
+
type: string;
|
|
2662
|
+
message: string;
|
|
2663
|
+
}>;
|
|
2664
|
+
}>, "strip", z.ZodTypeAny, {
|
|
2665
|
+
error: {
|
|
2666
|
+
type: string;
|
|
2667
|
+
message: string;
|
|
2668
|
+
};
|
|
2669
|
+
status: "error";
|
|
2670
|
+
action_attempt_id: string;
|
|
2671
|
+
result: null;
|
|
2672
|
+
action_type: "SET_HVAC_MODE";
|
|
2673
|
+
}, {
|
|
2674
|
+
error: {
|
|
2675
|
+
type: string;
|
|
2676
|
+
message: string;
|
|
2677
|
+
};
|
|
2678
|
+
status: "error";
|
|
2679
|
+
action_attempt_id: string;
|
|
2680
|
+
result: null;
|
|
2681
|
+
action_type: "SET_HVAC_MODE";
|
|
2682
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
2683
|
+
action_attempt_id: z.ZodString;
|
|
2684
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
2685
|
+
}, {
|
|
2686
|
+
status: z.ZodLiteral<"pending">;
|
|
2687
|
+
result: z.ZodNull;
|
|
2688
|
+
error: z.ZodNull;
|
|
2611
2689
|
}>, {
|
|
2612
2690
|
action_type: z.ZodLiteral<"ACTIVATE_CLIMATE_PRESET">;
|
|
2613
2691
|
}>, "strip", z.ZodTypeAny, {
|
|
@@ -9,6 +9,7 @@ import { set_cool_action_attempt } from './set-cool.js';
|
|
|
9
9
|
import { set_fan_mode_action_attempt } from './set-fan-mode.js';
|
|
10
10
|
import { set_heat_action_attempt } from './set-heat.js';
|
|
11
11
|
import { set_heat_cool_action_attempt } from './set-heat-cool.js';
|
|
12
|
+
import { set_hvac_mode_action_attempt } from './set-hvac-mode.js';
|
|
12
13
|
import { set_thermostat_off_action_attempt } from './set-thermostat-off.js';
|
|
13
14
|
import { unlock_door_action_attempt } from './unlock-door.js';
|
|
14
15
|
export const action_attempt = z.union([
|
|
@@ -22,6 +23,7 @@ export const action_attempt = z.union([
|
|
|
22
23
|
...set_heat_cool_action_attempt.options,
|
|
23
24
|
...set_fan_mode_action_attempt.options,
|
|
24
25
|
...set_thermostat_off_action_attempt.options,
|
|
26
|
+
...set_hvac_mode_action_attempt.options,
|
|
25
27
|
...activate_climate_preset_action_attempt.options,
|
|
26
28
|
...deprecated_action_attempts,
|
|
27
29
|
]);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
|
|
1
|
+
{"version":3,"file":"action-attempt.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/action-attempt.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAA;AAC5D,OAAO,EAAE,gCAAgC,EAAE,MAAM,wBAAwB,CAAA;AACzE,OAAO,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAA;AACzD,OAAO,EAAE,sCAAsC,EAAE,MAAM,8BAA8B,CAAA;AACrF,OAAO,EAAE,8BAA8B,EAAE,MAAM,sBAAsB,CAAA;AACrE,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAA;AAC/D,OAAO,EAAE,uBAAuB,EAAE,MAAM,eAAe,CAAA;AACvD,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,oBAAoB,CAAA;AACjE,OAAO,EAAE,iCAAiC,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,EAAE,0BAA0B,EAAE,MAAM,kBAAkB,CAAA;AAE7D,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC;IACpC,GAAG,wBAAwB,CAAC,OAAO;IACnC,GAAG,0BAA0B,CAAC,OAAO;IACrC,GAAG,8BAA8B,CAAC,OAAO;IACzC,GAAG,gCAAgC,CAAC,OAAO;IAC3C,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,uBAAuB,CAAC,OAAO;IAClC,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,2BAA2B,CAAC,OAAO;IACtC,GAAG,iCAAiC,CAAC,OAAO;IAC5C,GAAG,4BAA4B,CAAC,OAAO;IACvC,GAAG,sCAAsC,CAAC,OAAO;IACjD,GAAG,0BAA0B;CAC9B,CAAC,CAAA"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const set_hvac_mode_action_attempt: z.ZodDiscriminatedUnion<"status", [z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
3
|
+
action_attempt_id: z.ZodString;
|
|
4
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
5
|
+
}, {
|
|
6
|
+
status: z.ZodLiteral<"pending">;
|
|
7
|
+
result: z.ZodNull;
|
|
8
|
+
error: z.ZodNull;
|
|
9
|
+
}>, {
|
|
10
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
11
|
+
}>, "strip", z.ZodTypeAny, {
|
|
12
|
+
error: null;
|
|
13
|
+
status: "pending";
|
|
14
|
+
action_attempt_id: string;
|
|
15
|
+
result: null;
|
|
16
|
+
action_type: "SET_HVAC_MODE";
|
|
17
|
+
}, {
|
|
18
|
+
error: null;
|
|
19
|
+
status: "pending";
|
|
20
|
+
action_attempt_id: string;
|
|
21
|
+
result: null;
|
|
22
|
+
action_type: "SET_HVAC_MODE";
|
|
23
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
24
|
+
action_attempt_id: z.ZodString;
|
|
25
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
26
|
+
}, {
|
|
27
|
+
status: z.ZodLiteral<"success">;
|
|
28
|
+
error: z.ZodNull;
|
|
29
|
+
}>, {
|
|
30
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
31
|
+
result: z.ZodObject<{}, "strip", z.ZodTypeAny, {}, {}>;
|
|
32
|
+
}>, "strip", z.ZodTypeAny, {
|
|
33
|
+
error: null;
|
|
34
|
+
status: "success";
|
|
35
|
+
action_attempt_id: string;
|
|
36
|
+
result: {};
|
|
37
|
+
action_type: "SET_HVAC_MODE";
|
|
38
|
+
}, {
|
|
39
|
+
error: null;
|
|
40
|
+
status: "success";
|
|
41
|
+
action_attempt_id: string;
|
|
42
|
+
result: {};
|
|
43
|
+
action_type: "SET_HVAC_MODE";
|
|
44
|
+
}>, z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
45
|
+
action_attempt_id: z.ZodString;
|
|
46
|
+
status: z.ZodEnum<["pending", "success", "error"]>;
|
|
47
|
+
}, {
|
|
48
|
+
status: z.ZodLiteral<"error">;
|
|
49
|
+
result: z.ZodNull;
|
|
50
|
+
}>, {
|
|
51
|
+
action_type: z.ZodLiteral<"SET_HVAC_MODE">;
|
|
52
|
+
error: z.ZodObject<{
|
|
53
|
+
type: z.ZodString;
|
|
54
|
+
message: z.ZodString;
|
|
55
|
+
}, "strip", z.ZodTypeAny, {
|
|
56
|
+
type: string;
|
|
57
|
+
message: string;
|
|
58
|
+
}, {
|
|
59
|
+
type: string;
|
|
60
|
+
message: string;
|
|
61
|
+
}>;
|
|
62
|
+
}>, "strip", z.ZodTypeAny, {
|
|
63
|
+
error: {
|
|
64
|
+
type: string;
|
|
65
|
+
message: string;
|
|
66
|
+
};
|
|
67
|
+
status: "error";
|
|
68
|
+
action_attempt_id: string;
|
|
69
|
+
result: null;
|
|
70
|
+
action_type: "SET_HVAC_MODE";
|
|
71
|
+
}, {
|
|
72
|
+
error: {
|
|
73
|
+
type: string;
|
|
74
|
+
message: string;
|
|
75
|
+
};
|
|
76
|
+
status: "error";
|
|
77
|
+
action_attempt_id: string;
|
|
78
|
+
result: null;
|
|
79
|
+
action_type: "SET_HVAC_MODE";
|
|
80
|
+
}>]>;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { common_failed_action_attempt, common_pending_action_attempt, common_succeeded_action_attempt, } from './common.js';
|
|
3
|
+
const action_type = z.literal('SET_HVAC_MODE');
|
|
4
|
+
const error = z.object({
|
|
5
|
+
type: z.string(),
|
|
6
|
+
message: z.string(),
|
|
7
|
+
});
|
|
8
|
+
const result = z.object({});
|
|
9
|
+
export const set_hvac_mode_action_attempt = z.discriminatedUnion('status', [
|
|
10
|
+
common_pending_action_attempt
|
|
11
|
+
.extend({
|
|
12
|
+
action_type,
|
|
13
|
+
})
|
|
14
|
+
.describe('Setting HVAC mode.'),
|
|
15
|
+
common_succeeded_action_attempt
|
|
16
|
+
.extend({
|
|
17
|
+
action_type,
|
|
18
|
+
result,
|
|
19
|
+
})
|
|
20
|
+
.describe('Setting HVAC mode succeeded.'),
|
|
21
|
+
common_failed_action_attempt
|
|
22
|
+
.extend({ action_type, error })
|
|
23
|
+
.describe('Setting HVAC mode failed.'),
|
|
24
|
+
]);
|
|
25
|
+
//# sourceMappingURL=set-hvac-mode.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"set-hvac-mode.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-hvac-mode.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC,CAAA;AAE9C,MAAM,KAAK,GAAG,CAAC,CAAC,MAAM,CAAC;IACrB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAA;AAE3B,MAAM,CAAC,MAAM,4BAA4B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IACzE,6BAA6B;SAC1B,MAAM,CAAC;QACN,WAAW;KACZ,CAAC;SACD,QAAQ,CAAC,oBAAoB,CAAC;IACjC,+BAA+B;SAC5B,MAAM,CAAC;QACN,WAAW;QACX,MAAM;KACP,CAAC;SACD,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,4BAA4B;SACzB,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC;SAC9B,QAAQ,CAAC,2BAA2B,CAAC;CACzC,CAAC,CAAA"}
|
|
@@ -43,6 +43,7 @@ export declare const DEVICE_PROVIDERS: {
|
|
|
43
43
|
readonly AKILES: "akiles";
|
|
44
44
|
readonly VOSTIO: "assa_abloy_vostio";
|
|
45
45
|
readonly ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: "assa_abloy_vostio_credential_service";
|
|
46
|
+
readonly TADO: "tado";
|
|
46
47
|
};
|
|
47
48
|
export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
48
49
|
export declare const ALL_DEVICE_PROVIDERS: [
|
|
@@ -44,6 +44,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
44
44
|
AKILES: 'akiles',
|
|
45
45
|
VOSTIO: 'assa_abloy_vostio',
|
|
46
46
|
ASSA_ABLOY_VOSTIO_CREDENTIAL_SERVICE: 'assa_abloy_vostio_credential_service',
|
|
47
|
+
TADO: 'tado',
|
|
47
48
|
};
|
|
48
49
|
export const ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
49
50
|
export const PROVIDER_CATEGORY_MAP = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../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B;IAC3B,oCAAoC,EAAE,sCAAsC;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,mBAAmB,EAAE,qBAAqB;IAC1C,aAAa,EAAE,eAAe;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,6BAA6B,EAAE,+BAA+B;IAC9D,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,iBAAiB,E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C,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -20400,9 +20400,19 @@ declare const _default: {
|
|
|
20400
20400
|
description: string;
|
|
20401
20401
|
};
|
|
20402
20402
|
};
|
|
20403
|
-
security: {
|
|
20403
|
+
security: ({
|
|
20404
20404
|
pat_without_workspace: never[];
|
|
20405
|
-
|
|
20405
|
+
console_session?: never;
|
|
20406
|
+
user_session_without_workspace?: never;
|
|
20407
|
+
} | {
|
|
20408
|
+
console_session: never[];
|
|
20409
|
+
pat_without_workspace?: never;
|
|
20410
|
+
user_session_without_workspace?: never;
|
|
20411
|
+
} | {
|
|
20412
|
+
user_session_without_workspace: never[];
|
|
20413
|
+
pat_without_workspace?: never;
|
|
20414
|
+
console_session?: never;
|
|
20415
|
+
})[];
|
|
20406
20416
|
summary: string;
|
|
20407
20417
|
tags: string[];
|
|
20408
20418
|
'x-fern-sdk-group-name': string[];
|
|
@@ -20565,6 +20575,7 @@ declare const _default: {
|
|
|
20565
20575
|
user_session_without_workspace?: never;
|
|
20566
20576
|
api_key?: never;
|
|
20567
20577
|
client_session?: never;
|
|
20578
|
+
console_session?: never;
|
|
20568
20579
|
} | {
|
|
20569
20580
|
pat_without_workspace: never[];
|
|
20570
20581
|
pat_with_workspace?: never;
|
|
@@ -20572,6 +20583,7 @@ declare const _default: {
|
|
|
20572
20583
|
user_session_without_workspace?: never;
|
|
20573
20584
|
api_key?: never;
|
|
20574
20585
|
client_session?: never;
|
|
20586
|
+
console_session?: never;
|
|
20575
20587
|
} | {
|
|
20576
20588
|
user_session: never[];
|
|
20577
20589
|
pat_with_workspace?: never;
|
|
@@ -20579,6 +20591,7 @@ declare const _default: {
|
|
|
20579
20591
|
user_session_without_workspace?: never;
|
|
20580
20592
|
api_key?: never;
|
|
20581
20593
|
client_session?: never;
|
|
20594
|
+
console_session?: never;
|
|
20582
20595
|
} | {
|
|
20583
20596
|
user_session_without_workspace: never[];
|
|
20584
20597
|
pat_with_workspace?: never;
|
|
@@ -20586,6 +20599,7 @@ declare const _default: {
|
|
|
20586
20599
|
user_session?: never;
|
|
20587
20600
|
api_key?: never;
|
|
20588
20601
|
client_session?: never;
|
|
20602
|
+
console_session?: never;
|
|
20589
20603
|
} | {
|
|
20590
20604
|
api_key: never[];
|
|
20591
20605
|
pat_with_workspace?: never;
|
|
@@ -20593,6 +20607,7 @@ declare const _default: {
|
|
|
20593
20607
|
user_session?: never;
|
|
20594
20608
|
user_session_without_workspace?: never;
|
|
20595
20609
|
client_session?: never;
|
|
20610
|
+
console_session?: never;
|
|
20596
20611
|
} | {
|
|
20597
20612
|
client_session: never[];
|
|
20598
20613
|
pat_with_workspace?: never;
|
|
@@ -20600,6 +20615,15 @@ declare const _default: {
|
|
|
20600
20615
|
user_session?: never;
|
|
20601
20616
|
user_session_without_workspace?: never;
|
|
20602
20617
|
api_key?: never;
|
|
20618
|
+
console_session?: never;
|
|
20619
|
+
} | {
|
|
20620
|
+
console_session: never[];
|
|
20621
|
+
pat_with_workspace?: never;
|
|
20622
|
+
pat_without_workspace?: never;
|
|
20623
|
+
user_session?: never;
|
|
20624
|
+
user_session_without_workspace?: never;
|
|
20625
|
+
api_key?: never;
|
|
20626
|
+
client_session?: never;
|
|
20603
20627
|
})[];
|
|
20604
20628
|
summary: string;
|
|
20605
20629
|
tags: string[];
|
|
@@ -20645,6 +20669,7 @@ declare const _default: {
|
|
|
20645
20669
|
user_session_without_workspace?: never;
|
|
20646
20670
|
api_key?: never;
|
|
20647
20671
|
client_session?: never;
|
|
20672
|
+
console_session?: never;
|
|
20648
20673
|
} | {
|
|
20649
20674
|
pat_without_workspace: never[];
|
|
20650
20675
|
pat_with_workspace?: never;
|
|
@@ -20652,6 +20677,7 @@ declare const _default: {
|
|
|
20652
20677
|
user_session_without_workspace?: never;
|
|
20653
20678
|
api_key?: never;
|
|
20654
20679
|
client_session?: never;
|
|
20680
|
+
console_session?: never;
|
|
20655
20681
|
} | {
|
|
20656
20682
|
user_session: never[];
|
|
20657
20683
|
pat_with_workspace?: never;
|
|
@@ -20659,6 +20685,7 @@ declare const _default: {
|
|
|
20659
20685
|
user_session_without_workspace?: never;
|
|
20660
20686
|
api_key?: never;
|
|
20661
20687
|
client_session?: never;
|
|
20688
|
+
console_session?: never;
|
|
20662
20689
|
} | {
|
|
20663
20690
|
user_session_without_workspace: never[];
|
|
20664
20691
|
pat_with_workspace?: never;
|
|
@@ -20666,6 +20693,7 @@ declare const _default: {
|
|
|
20666
20693
|
user_session?: never;
|
|
20667
20694
|
api_key?: never;
|
|
20668
20695
|
client_session?: never;
|
|
20696
|
+
console_session?: never;
|
|
20669
20697
|
} | {
|
|
20670
20698
|
api_key: never[];
|
|
20671
20699
|
pat_with_workspace?: never;
|
|
@@ -20673,6 +20701,7 @@ declare const _default: {
|
|
|
20673
20701
|
user_session?: never;
|
|
20674
20702
|
user_session_without_workspace?: never;
|
|
20675
20703
|
client_session?: never;
|
|
20704
|
+
console_session?: never;
|
|
20676
20705
|
} | {
|
|
20677
20706
|
client_session: never[];
|
|
20678
20707
|
pat_with_workspace?: never;
|
|
@@ -20680,6 +20709,15 @@ declare const _default: {
|
|
|
20680
20709
|
user_session?: never;
|
|
20681
20710
|
user_session_without_workspace?: never;
|
|
20682
20711
|
api_key?: never;
|
|
20712
|
+
console_session?: never;
|
|
20713
|
+
} | {
|
|
20714
|
+
console_session: never[];
|
|
20715
|
+
pat_with_workspace?: never;
|
|
20716
|
+
pat_without_workspace?: never;
|
|
20717
|
+
user_session?: never;
|
|
20718
|
+
user_session_without_workspace?: never;
|
|
20719
|
+
api_key?: never;
|
|
20720
|
+
client_session?: never;
|
|
20683
20721
|
})[];
|
|
20684
20722
|
summary: string;
|
|
20685
20723
|
tags: string[];
|
|
@@ -3211,6 +3211,82 @@ export default {
|
|
|
3211
3211
|
],
|
|
3212
3212
|
type: 'object',
|
|
3213
3213
|
},
|
|
3214
|
+
{
|
|
3215
|
+
description: 'Setting HVAC mode.',
|
|
3216
|
+
properties: {
|
|
3217
|
+
action_attempt_id: {
|
|
3218
|
+
description: 'The ID of the action attempt.',
|
|
3219
|
+
format: 'uuid',
|
|
3220
|
+
type: 'string',
|
|
3221
|
+
'x-title': 'Action Attempt ID',
|
|
3222
|
+
},
|
|
3223
|
+
action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
|
|
3224
|
+
error: { nullable: true },
|
|
3225
|
+
result: { nullable: true },
|
|
3226
|
+
status: { enum: ['pending'], type: 'string' },
|
|
3227
|
+
},
|
|
3228
|
+
required: [
|
|
3229
|
+
'action_attempt_id',
|
|
3230
|
+
'status',
|
|
3231
|
+
'result',
|
|
3232
|
+
'error',
|
|
3233
|
+
'action_type',
|
|
3234
|
+
],
|
|
3235
|
+
type: 'object',
|
|
3236
|
+
},
|
|
3237
|
+
{
|
|
3238
|
+
description: 'Setting HVAC mode succeeded.',
|
|
3239
|
+
properties: {
|
|
3240
|
+
action_attempt_id: {
|
|
3241
|
+
description: 'The ID of the action attempt.',
|
|
3242
|
+
format: 'uuid',
|
|
3243
|
+
type: 'string',
|
|
3244
|
+
'x-title': 'Action Attempt ID',
|
|
3245
|
+
},
|
|
3246
|
+
action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
|
|
3247
|
+
error: { nullable: true },
|
|
3248
|
+
result: { properties: {}, type: 'object' },
|
|
3249
|
+
status: { enum: ['success'], type: 'string' },
|
|
3250
|
+
},
|
|
3251
|
+
required: [
|
|
3252
|
+
'action_attempt_id',
|
|
3253
|
+
'status',
|
|
3254
|
+
'error',
|
|
3255
|
+
'action_type',
|
|
3256
|
+
'result',
|
|
3257
|
+
],
|
|
3258
|
+
type: 'object',
|
|
3259
|
+
},
|
|
3260
|
+
{
|
|
3261
|
+
description: 'Setting HVAC mode failed.',
|
|
3262
|
+
properties: {
|
|
3263
|
+
action_attempt_id: {
|
|
3264
|
+
description: 'The ID of the action attempt.',
|
|
3265
|
+
format: 'uuid',
|
|
3266
|
+
type: 'string',
|
|
3267
|
+
'x-title': 'Action Attempt ID',
|
|
3268
|
+
},
|
|
3269
|
+
action_type: { enum: ['SET_HVAC_MODE'], type: 'string' },
|
|
3270
|
+
error: {
|
|
3271
|
+
properties: {
|
|
3272
|
+
message: { type: 'string' },
|
|
3273
|
+
type: { type: 'string' },
|
|
3274
|
+
},
|
|
3275
|
+
required: ['type', 'message'],
|
|
3276
|
+
type: 'object',
|
|
3277
|
+
},
|
|
3278
|
+
result: { nullable: true },
|
|
3279
|
+
status: { enum: ['error'], type: 'string' },
|
|
3280
|
+
},
|
|
3281
|
+
required: [
|
|
3282
|
+
'action_attempt_id',
|
|
3283
|
+
'status',
|
|
3284
|
+
'result',
|
|
3285
|
+
'action_type',
|
|
3286
|
+
'error',
|
|
3287
|
+
],
|
|
3288
|
+
type: 'object',
|
|
3289
|
+
},
|
|
3214
3290
|
{
|
|
3215
3291
|
description: 'Activating climate preset.',
|
|
3216
3292
|
properties: {
|
|
@@ -5405,6 +5481,7 @@ export default {
|
|
|
5405
5481
|
'akiles',
|
|
5406
5482
|
'assa_abloy_vostio',
|
|
5407
5483
|
'assa_abloy_vostio_credential_service',
|
|
5484
|
+
'tado',
|
|
5408
5485
|
],
|
|
5409
5486
|
type: 'string',
|
|
5410
5487
|
},
|
|
@@ -12728,6 +12805,7 @@ export default {
|
|
|
12728
12805
|
'akiles',
|
|
12729
12806
|
'assa_abloy_vostio',
|
|
12730
12807
|
'assa_abloy_vostio_credential_service',
|
|
12808
|
+
'tado',
|
|
12731
12809
|
'yale_access',
|
|
12732
12810
|
'hid_cm',
|
|
12733
12811
|
'google_nest',
|
|
@@ -19321,7 +19399,11 @@ export default {
|
|
|
19321
19399
|
400: { description: 'Bad Request' },
|
|
19322
19400
|
401: { description: 'Unauthorized' },
|
|
19323
19401
|
},
|
|
19324
|
-
security: [
|
|
19402
|
+
security: [
|
|
19403
|
+
{ pat_without_workspace: [] },
|
|
19404
|
+
{ console_session: [] },
|
|
19405
|
+
{ user_session_without_workspace: [] },
|
|
19406
|
+
],
|
|
19325
19407
|
summary: '/workspaces/create',
|
|
19326
19408
|
tags: ['/workspaces'],
|
|
19327
19409
|
'x-fern-sdk-group-name': ['workspaces'],
|
|
@@ -19430,6 +19512,7 @@ export default {
|
|
|
19430
19512
|
{ user_session_without_workspace: [] },
|
|
19431
19513
|
{ api_key: [] },
|
|
19432
19514
|
{ client_session: [] },
|
|
19515
|
+
{ console_session: [] },
|
|
19433
19516
|
],
|
|
19434
19517
|
summary: '/workspaces/list',
|
|
19435
19518
|
tags: ['/workspaces'],
|
|
@@ -19467,6 +19550,7 @@ export default {
|
|
|
19467
19550
|
{ user_session_without_workspace: [] },
|
|
19468
19551
|
{ api_key: [] },
|
|
19469
19552
|
{ client_session: [] },
|
|
19553
|
+
{ console_session: [] },
|
|
19470
19554
|
],
|
|
19471
19555
|
summary: '/workspaces/list',
|
|
19472
19556
|
tags: ['/workspaces'],
|