@seamapi/types 1.1202.0 → 1.1204.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/lib/seam/connect/models/acs/acs-system.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +9 -9
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -2
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/{set-pool-heating.d.ts → set-temperature-controller-mode.d.ts} +10 -10
- package/lib/seam/connect/models/action-attempts/{set-pool-heating.js → set-temperature-controller-mode.js} +7 -7
- package/lib/seam/connect/models/action-attempts/set-temperature-controller-mode.js.map +1 -0
- package/lib/seam/connect/models/devices/device-metadata.d.ts +10 -25
- package/lib/seam/connect/models/devices/device-metadata.js +7 -19
- package/lib/seam/connect/models/devices/device-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- 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/models/devices/device-type.d.ts +4 -4
- package/lib/seam/connect/models/devices/device-type.js +3 -3
- package/lib/seam/connect/models/devices/device-type.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +27 -48
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +23 -38
- package/lib/seam/connect/models/events/devices.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +2 -2
- package/lib/seam/connect/openapi.js +32 -43
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +421 -529
- package/package.json +1 -1
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -2
- package/src/lib/seam/connect/models/action-attempts/set-temperature-controller-mode.ts +54 -0
- package/src/lib/seam/connect/models/devices/device-metadata.ts +7 -23
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/models/devices/device-type.ts +3 -3
- package/src/lib/seam/connect/openapi.ts +32 -46
- package/src/lib/seam/connect/route-types.ts +421 -563
- package/lib/seam/connect/models/action-attempts/set-pool-heating.js.map +0 -1
- package/src/lib/seam/connect/models/action-attempts/set-pool-heating.ts +0 -53
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"set-pool-heating.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/action-attempts/set-pool-heating.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,+BAA+B,GAChC,MAAM,aAAa,CAAA;AAEpB,MAAM,WAAW,GAAG,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC,CAAC,QAAQ,CAAC;;;;;KAKtD,CAAC,CAAA;AAEN,MAAM,KAAK,GAAG,CAAC;KACZ,MAAM,CAAC;IACN,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,CAAC,oBAAoB,CAAC;IAC/C,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,MAAM,GAAG,CAAC,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC,CAAA;AAE7D,MAAM,CAAC,MAAM,+BAA+B,GAAG,CAAC,CAAC,kBAAkB,CAAC,QAAQ,EAAE;IAC5E,6BAA6B,CAAC,MAAM,CAAC;QACnC,WAAW;KACZ,CAAC,CAAC,QAAQ,CAAC;;;;;KAKT,CAAC;IACJ,+BAA+B,CAAC,MAAM,CAAC;QACrC,WAAW;QACX,MAAM;KACP,CAAC,CAAC,QAAQ,CAAC;;;;;KAKT,CAAC;IACJ,4BAA4B,CAAC,MAAM,CAAC,EAAE,WAAW,EAAE,KAAK,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;KAKlE,CAAC;CACL,CAAC,CAAA"}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import * as z from 'zod/v3'
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
common_failed_action_attempt,
|
|
5
|
-
common_pending_action_attempt,
|
|
6
|
-
common_succeeded_action_attempt,
|
|
7
|
-
} from './common.js'
|
|
8
|
-
|
|
9
|
-
const action_type = z.literal('SET_POOL_HEATING').describe(`
|
|
10
|
-
---
|
|
11
|
-
undocumented: Unreleased.
|
|
12
|
-
---
|
|
13
|
-
Action attempt to track the status of heating pool or spa water to a set point, or turning its heating off. The attempt succeeds only once the controller reports the requested state back.
|
|
14
|
-
`)
|
|
15
|
-
|
|
16
|
-
const error = z
|
|
17
|
-
.object({
|
|
18
|
-
type: z.string().describe('Type of the error.'),
|
|
19
|
-
message: z
|
|
20
|
-
.string()
|
|
21
|
-
.describe(
|
|
22
|
-
'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
23
|
-
),
|
|
24
|
-
})
|
|
25
|
-
.describe('Error associated with the action.')
|
|
26
|
-
|
|
27
|
-
const result = z.object({}).describe('Result of the action.')
|
|
28
|
-
|
|
29
|
-
export const set_pool_heating_action_attempt = z.discriminatedUnion('status', [
|
|
30
|
-
common_pending_action_attempt.extend({
|
|
31
|
-
action_type,
|
|
32
|
-
}).describe(`
|
|
33
|
-
---
|
|
34
|
-
undocumented: Unreleased.
|
|
35
|
-
---
|
|
36
|
-
Setting the pool heating is pending. The controller has not yet reported the requested state back.
|
|
37
|
-
`),
|
|
38
|
-
common_succeeded_action_attempt.extend({
|
|
39
|
-
action_type,
|
|
40
|
-
result,
|
|
41
|
-
}).describe(`
|
|
42
|
-
---
|
|
43
|
-
undocumented: Unreleased.
|
|
44
|
-
---
|
|
45
|
-
Setting the pool heating succeeded. The controller reported the requested state back.
|
|
46
|
-
`),
|
|
47
|
-
common_failed_action_attempt.extend({ action_type, error }).describe(`
|
|
48
|
-
---
|
|
49
|
-
undocumented: Unreleased.
|
|
50
|
-
---
|
|
51
|
-
Setting the pool heating failed.
|
|
52
|
-
`),
|
|
53
|
-
])
|