@seamapi/types 1.1078.0 → 1.1079.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/access-codes/managed-access-code.js +9 -9
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.js +2 -2
- package/lib/seam/connect/models/access-grants/access-grant.js +5 -5
- package/lib/seam/connect/models/access-grants/access-grant.js.map +1 -1
- package/lib/seam/connect/models/access-grants/access-method.js +11 -11
- package/lib/seam/connect/models/access-grants/access-method.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-access-group.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js +3 -3
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-credential.js +54 -54
- package/lib/seam/connect/models/acs/acs-credential.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-encoder.js +11 -11
- package/lib/seam/connect/models/acs/acs-encoder.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-entrance.js +21 -21
- package/lib/seam/connect/models/acs/acs-entrance.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-system.js +39 -39
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-users/acs-user.js +38 -38
- package/lib/seam/connect/models/acs/acs-users/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-client-session.js +1 -1
- package/lib/seam/connect/models/bridges/bridge-connected-system.js +4 -4
- package/lib/seam/connect/models/bridges/bridge-connected-system.js.map +1 -1
- package/lib/seam/connect/models/bridges/bridge.js +1 -1
- package/lib/seam/connect/models/client-sessions/client-session.js +12 -12
- package/lib/seam/connect/models/client-sessions/client-session.js.map +1 -1
- package/lib/seam/connect/models/connect-webviews/connect-webview.js +5 -5
- package/lib/seam/connect/models/connect-webviews/connect-webview.js.map +1 -1
- package/lib/seam/connect/models/connected-accounts/connected-account.js +4 -4
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/custom-metadata.js +2 -2
- package/lib/seam/connect/models/custom-metadata.js.map +1 -1
- package/lib/seam/connect/models/devices/capabilities-supported.js +1 -1
- package/lib/seam/connect/models/devices/capability-properties/access-code.js +2 -2
- package/lib/seam/connect/models/devices/capability-properties/access-code.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +21 -21
- package/lib/seam/connect/models/devices/device.js +8 -8
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.js +1 -1
- package/lib/seam/connect/models/devices/unmanaged-device.js +1 -1
- package/lib/seam/connect/models/events/access-codes.js +26 -26
- package/lib/seam/connect/models/events/access-grants.js +1 -1
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +4 -4
- package/lib/seam/connect/models/events/acs/encoders.js +2 -2
- package/lib/seam/connect/models/events/acs/entrances.js +2 -2
- package/lib/seam/connect/models/events/acs/systems.js +3 -3
- package/lib/seam/connect/models/events/acs/users.js +2 -2
- package/lib/seam/connect/models/events/devices.js +17 -17
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/enrollment-automations.js +1 -1
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js +2 -2
- package/lib/seam/connect/models/noise-sensors/noise-threshold.js.map +1 -1
- package/lib/seam/connect/models/thermostats/climate-preset.js +13 -13
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-program.js.map +1 -1
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js +11 -11
- package/lib/seam/connect/models/thermostats/thermostat-schedule.js.map +1 -1
- package/lib/seam/connect/models/user-identities/user-identity.js +1 -1
- package/lib/seam/connect/models/webhooks/webhook.js +4 -4
- package/lib/seam/connect/models/webhooks/webhook.js.map +1 -1
- package/lib/seam/connect/models/workspaces/workspace.js +12 -12
- package/lib/seam/connect/models/workspaces/workspace.js.map +1 -1
- package/lib/seam/connect/openapi.js +1066 -1064
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +8171 -8171
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +9 -9
- package/src/lib/seam/connect/models/access-codes/unmanaged-access-code.ts +2 -2
- package/src/lib/seam/connect/models/access-grants/access-grant.ts +5 -5
- package/src/lib/seam/connect/models/access-grants/access-method.ts +11 -11
- package/src/lib/seam/connect/models/acs/acs-access-group.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-credential-provisioning-automation.ts +3 -3
- package/src/lib/seam/connect/models/acs/acs-credential.ts +54 -54
- package/src/lib/seam/connect/models/acs/acs-encoder.ts +11 -11
- package/src/lib/seam/connect/models/acs/acs-entrance.ts +21 -21
- package/src/lib/seam/connect/models/acs/acs-system.ts +39 -39
- package/src/lib/seam/connect/models/acs/acs-users/acs-user.ts +38 -38
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +1 -1
- package/src/lib/seam/connect/models/bridges/bridge-client-session.ts +1 -1
- package/src/lib/seam/connect/models/bridges/bridge-connected-system.ts +4 -4
- package/src/lib/seam/connect/models/bridges/bridge.ts +1 -1
- package/src/lib/seam/connect/models/client-sessions/client-session.ts +12 -12
- package/src/lib/seam/connect/models/connect-webviews/connect-webview.ts +5 -5
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +4 -4
- package/src/lib/seam/connect/models/custom-metadata.ts +2 -2
- package/src/lib/seam/connect/models/devices/capabilities-supported.ts +1 -1
- package/src/lib/seam/connect/models/devices/capability-properties/access-code.ts +2 -2
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +21 -21
- package/src/lib/seam/connect/models/devices/device.ts +8 -8
- package/src/lib/seam/connect/models/devices/phone.ts +1 -1
- package/src/lib/seam/connect/models/devices/unmanaged-device.ts +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +26 -26
- package/src/lib/seam/connect/models/events/access-grants.ts +1 -1
- package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -4
- package/src/lib/seam/connect/models/events/acs/encoders.ts +2 -2
- package/src/lib/seam/connect/models/events/acs/entrances.ts +2 -2
- package/src/lib/seam/connect/models/events/acs/systems.ts +3 -3
- package/src/lib/seam/connect/models/events/acs/users.ts +2 -2
- package/src/lib/seam/connect/models/events/devices.ts +17 -17
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -1
- package/src/lib/seam/connect/models/noise-sensors/noise-threshold.ts +2 -2
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +13 -13
- package/src/lib/seam/connect/models/thermostats/thermostat-program.ts +1 -1
- package/src/lib/seam/connect/models/thermostats/thermostat-schedule.ts +11 -11
- package/src/lib/seam/connect/models/user-identities/user-identity.ts +1 -1
- package/src/lib/seam/connect/models/webhooks/webhook.ts +4 -4
- package/src/lib/seam/connect/models/workspaces/workspace.ts +12 -12
- package/src/lib/seam/connect/openapi.ts +1066 -1064
- package/src/lib/seam/connect/route-types.ts +8171 -8168
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bridge-connected-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge-connected-system.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,iBAAiB,EAAE,QAAQ,CAAC,QAAQ,CAClC,iDAAiD,CAClD;IACD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,QAAQ,CAAC,QAAQ,CAC7C,uFAAuF,CACxF;IACD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"bridge-connected-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/bridges/bridge-connected-system.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mDAAmD,CAAC;IAChE,iBAAiB,EAAE,QAAQ,CAAC,QAAQ,CAClC,iDAAiD,CAClD;IACD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,0DAA0D,CAAC;IACvE,4BAA4B,EAAE,QAAQ,CAAC,QAAQ,CAC7C,uFAAuF,CACxF;IACD,aAAa,EAAE,CAAC;SACb,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CACP,gHAAgH,CACjH;IACH,uBAAuB,EAAE,CAAC;SACvB,MAAM,EAAE;SACR,QAAQ,CACP,2HAA2H,CAC5H;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,uDAAuD,CAAC;IACpE,sBAAsB,EAAE,CAAC;SACtB,MAAM,EAAE;SACR,QAAQ,CACP,uHAAuH,CACxH;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;CAMX,CAAC,CAAA"}
|
|
@@ -12,6 +12,6 @@ export const bridge = z.object({
|
|
|
12
12
|
undocumented: Unreleased.
|
|
13
13
|
route_path: /bridges
|
|
14
14
|
---
|
|
15
|
-
Represents [Seam Bridge](https://
|
|
15
|
+
Represents [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge).
|
|
16
16
|
`);
|
|
17
17
|
//# sourceMappingURL=bridge.js.map
|
|
@@ -6,44 +6,44 @@ export const client_session = z.object({
|
|
|
6
6
|
.string()
|
|
7
7
|
.uuid()
|
|
8
8
|
.describe('ID of the workspace associated with the client session.'),
|
|
9
|
-
created_at: datetime.describe('Date and time at which the [client session](https://
|
|
10
|
-
expires_at: datetime.describe('Date and time at which the [client session](https://
|
|
9
|
+
created_at: datetime.describe('Date and time at which the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens) was created.'),
|
|
10
|
+
expires_at: datetime.describe('Date and time at which the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens) expires.'),
|
|
11
11
|
token: z
|
|
12
12
|
.string()
|
|
13
|
-
.describe('Client session token associated with the [client session](https://
|
|
13
|
+
.describe('Client session token associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
14
14
|
user_identifier_key: z
|
|
15
15
|
.string()
|
|
16
16
|
.nullable()
|
|
17
|
-
.describe('Your user ID for the user associated with the [client session](https://
|
|
17
|
+
.describe('Your user ID for the user associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
18
18
|
device_count: z
|
|
19
19
|
.number()
|
|
20
|
-
.describe('Number of devices associated with the [client session](https://
|
|
20
|
+
.describe('Number of devices associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
21
21
|
customer_key: z
|
|
22
22
|
.string()
|
|
23
23
|
.optional()
|
|
24
|
-
.describe('Customer key associated with the [client session](https://
|
|
24
|
+
.describe('Customer key associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
25
25
|
connected_account_ids: z
|
|
26
26
|
.array(z.string().uuid())
|
|
27
|
-
.describe('IDs of the [connected accounts](https://
|
|
27
|
+
.describe('IDs of the [connected accounts](https://www.seam.co/docs/core-concepts/connected-accounts) associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
28
28
|
connect_webview_ids: z
|
|
29
29
|
.array(z.string().uuid())
|
|
30
|
-
.describe('IDs of the [Connect Webviews](https://
|
|
30
|
+
.describe('IDs of the [Connect Webviews](https://www.seam.co/docs/core-concepts/connect-webviews) associated with the [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens).'),
|
|
31
31
|
user_identity_ids: z.array(z.string().uuid()).describe(`
|
|
32
32
|
---
|
|
33
33
|
deprecated: Use \`user_identity_id\` instead.
|
|
34
34
|
---
|
|
35
|
-
IDs of the [user identities](https://
|
|
35
|
+
IDs of the [user identities](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.
|
|
36
36
|
`),
|
|
37
37
|
user_identity_id: z
|
|
38
38
|
.string()
|
|
39
39
|
.uuid()
|
|
40
40
|
.optional()
|
|
41
|
-
.describe('ID of the [user identity](https://
|
|
41
|
+
.describe('ID of the [user identity](https://www.seam.co/docs/capability-guides/mobile-access/managing-mobile-app-user-accounts-with-user-identities#what-is-a-user-identity) associated with the client session.'),
|
|
42
42
|
}).describe(`
|
|
43
43
|
---
|
|
44
44
|
route_path: /client_sessions
|
|
45
45
|
---
|
|
46
|
-
Represents a [client session](https://
|
|
46
|
+
Represents a [client session](https://www.seam.co/docs/core-concepts/authentication/client-session-tokens). If you want to restrict your users' access to their own devices, use client sessions.
|
|
47
47
|
|
|
48
48
|
You create each client session with a custom \`user_identifier_key\`. Normally, the \`user_identifier_key\` is a user ID that your application provides.
|
|
49
49
|
|
|
@@ -51,6 +51,6 @@ export const client_session = z.object({
|
|
|
51
51
|
|
|
52
52
|
A client session has a token that you can use with the Seam JavaScript SDK to make requests from the client (browser) directly to the Seam API. The token restricts the user's access to only the devices that they own.
|
|
53
53
|
|
|
54
|
-
See also [Get Started with React](https://
|
|
54
|
+
See also [Get Started with React](https://www.seam.co/docs/ui-components/overview/getting-started-with-seam-components/get-started-with-react-components-and-client-session-tokens).
|
|
55
55
|
`);
|
|
56
56
|
//# sourceMappingURL=client-session.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/client-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC1E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,yDAAyD,CAAC;IACtE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,
|
|
1
|
+
{"version":3,"file":"client-session.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/client-sessions/client-session.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,CAAC,MAAM,CAAC;IACrC,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,2BAA2B,CAAC;IAC1E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,yDAAyD,CAAC;IACtE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,uIAAuI,CACxI;IACD,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,mIAAmI,CACpI;IACD,KAAK,EAAE,CAAC;SACL,MAAM,EAAE;SACR,QAAQ,CACP,yIAAyI,CAC1I;IACH,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,8IAA8I,CAC/I;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CACP,sIAAsI,CACvI;IACH,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iIAAiI,CAClI;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,+MAA+M,CAChN;IACH,mBAAmB,EAAE,CAAC;SACnB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC;SACxB,QAAQ,CACP,2MAA2M,CAC5M;IACH,iBAAiB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC;;;;;GAKtD,CAAC;IACF,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,wMAAwM,CACzM;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;CAaX,CAAC,CAAA"}
|
|
@@ -27,7 +27,7 @@ export const connect_webview = z.object({
|
|
|
27
27
|
// TODO: Use enum value.
|
|
28
28
|
accepted_providers: z
|
|
29
29
|
.array(z.string())
|
|
30
|
-
.describe('List of accepted [provider keys](https://
|
|
30
|
+
.describe('List of accepted [provider keys](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).'),
|
|
31
31
|
accepted_capabilities: z
|
|
32
32
|
.array(provider_capability)
|
|
33
33
|
.describe('High-level device capabilities that the Connect Webview can accept. When creating a Connect Webview, you can specify the types of devices that it can connect to Seam. If you do not set custom `accepted_capabilities`, Seam uses a default set of `accepted_capabilities` for each provider. For example, if you create a Connect Webview that accepts SmartThing devices, without specifying `accepted_capabilities`, Seam accepts only SmartThings locks. To connect SmartThings thermostats and locks to Seam, create a Connect Webview and include both `thermostat` and `lock` in the `accepted_capabilities`.'),
|
|
@@ -65,17 +65,17 @@ export const connect_webview = z.object({
|
|
|
65
65
|
custom_metadata,
|
|
66
66
|
automatically_manage_new_devices: z
|
|
67
67
|
.boolean()
|
|
68
|
-
.describe('Indicates whether Seam should [import all new devices](https://
|
|
68
|
+
.describe('Indicates whether Seam should [import all new devices](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for use and management by the Seam API.'),
|
|
69
69
|
wait_for_device_creation: z
|
|
70
70
|
.boolean()
|
|
71
|
-
.describe('Indicates whether Seam should [finish syncing all devices](https://
|
|
71
|
+
.describe('Indicates whether Seam should [finish syncing all devices](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#wait_for_device_creation) in a newly-connected account before completing the associated Connect Webview.'),
|
|
72
72
|
authorized_at: datetime
|
|
73
73
|
.nullable()
|
|
74
74
|
.describe('Date and time at which the user authorized (through the Connect Webview) the management of their devices.'),
|
|
75
75
|
selected_provider: z
|
|
76
76
|
.string()
|
|
77
77
|
.nullable()
|
|
78
|
-
.describe('Selected provider of the Connect Webview, one of the [provider keys](https://
|
|
78
|
+
.describe('Selected provider of the Connect Webview, one of the [provider keys](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#customize-the-brands-to-display-in-your-connect-webviews).'),
|
|
79
79
|
customer_key: z
|
|
80
80
|
.string()
|
|
81
81
|
.optional()
|
|
@@ -84,7 +84,7 @@ export const connect_webview = z.object({
|
|
|
84
84
|
---
|
|
85
85
|
route_path: /connect_webviews
|
|
86
86
|
---
|
|
87
|
-
Represents a [Connect Webview](https://
|
|
87
|
+
Represents a [Connect Webview](https://www.seam.co/docs/core-concepts/connect-webviews).
|
|
88
88
|
|
|
89
89
|
Connect Webviews are fully-embedded client-side components that you add to your app. Your users interact with your embedded Connect Webviews to link their IoT device or system accounts to Seam. That is, Connect Webviews walk your users through the process of logging in to their device or system accounts. Seam handles all the authentication steps, and—once your user has completed the authorization through your app—you can access and control their devices or systems using the Seam API.
|
|
90
90
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1D,MAAM;IACN,QAAQ;IACR,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,wDAAwD,CAAC;IACrE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,yDAAyD,CAC1D;IACD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;IACH,GAAG,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CACP,gGAAgG,CACjG;IACH,qBAAqB,EAAE,qCAAqC,CAAC,QAAQ,CACnE,+FAA+F,CAChG;IAED,wBAAwB;IACxB,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;SACjB,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"connect-webview.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connect-webviews/connect-webview.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,CAAC,MAAM,qCAAqC,GAAG,CAAC,CAAC,IAAI,CAAC;IAC1D,MAAM;IACN,QAAQ;IACR,UAAU;CACX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,CAAC,MAAM,CAAC;IACtC,kBAAkB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,4BAA4B,CAAC;IAC5E,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,wDAAwD,CAAC;IACrE,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,yDAAyD,CAC1D;IACD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CACP,kEAAkE,CACnE;IACH,GAAG,EAAE,CAAC;SACH,MAAM,EAAE;SACR,GAAG,EAAE;SACL,QAAQ,CACP,gGAAgG,CACjG;IACH,qBAAqB,EAAE,qCAAqC,CAAC,QAAQ,CACnE,+FAA+F,CAChG;IAED,wBAAwB;IACxB,kBAAkB,EAAE,CAAC;SAClB,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE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AwD,CAAC;CACtE,CAAC,CAAC,QAAQ,CAAC;;;;;;;;;;;;;;;CAeX,CAAC,CAAA"}
|
|
@@ -14,7 +14,7 @@ const common_connected_account_error = z.object({
|
|
|
14
14
|
is_bridge_error: z
|
|
15
15
|
.boolean()
|
|
16
16
|
.optional()
|
|
17
|
-
.describe('Indicates whether the error is related to [Seam Bridge](https://
|
|
17
|
+
.describe('Indicates whether the error is related to [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge).'),
|
|
18
18
|
});
|
|
19
19
|
const error_code_description = 'Unique identifier of the type of error. Enables quick recognition and categorization of the issue.';
|
|
20
20
|
const warning_code_description = 'Unique identifier of the type of warning. Enables quick recognition and categorization of the issue.';
|
|
@@ -40,7 +40,7 @@ export const bridge_disconnected = common_connected_account_error.extend({
|
|
|
40
40
|
---
|
|
41
41
|
resource_type: connected_account
|
|
42
42
|
---
|
|
43
|
-
Indicates that the Seam API cannot communicate with [Seam Bridge](https://
|
|
43
|
+
Indicates that the Seam API cannot communicate with [Seam Bridge](https://www.seam.co/docs/capability-guides/seam-bridge), for example, if the Seam Bridge executable has stopped or if the computer running the Seam Bridge executable is offline. See also [Troubleshooting Your Access Control System](https://www.seam.co/docs/low-level-apis/access-systems/troubleshooting-your-access-control-system#acs_system-errors-seam_bridge_disconnected).
|
|
44
44
|
`);
|
|
45
45
|
export const salto_ks_subscription_limit_exceeded = common_connected_account_error.extend({
|
|
46
46
|
error_code: z
|
|
@@ -284,7 +284,7 @@ export const connected_account = z.object({
|
|
|
284
284
|
custom_metadata,
|
|
285
285
|
automatically_manage_new_devices: z
|
|
286
286
|
.boolean()
|
|
287
|
-
.describe('Indicates whether Seam should [import all new devices](https://
|
|
287
|
+
.describe('Indicates whether Seam should [import all new devices](https://www.seam.co/docs/core-concepts/connect-webviews/customizing-connect-webviews#automatically_manage_new_devices) for the connected account to make these devices available for management by the Seam API.'),
|
|
288
288
|
customer_key: z
|
|
289
289
|
.string()
|
|
290
290
|
.optional()
|
|
@@ -316,6 +316,6 @@ export const connected_account = z.object({
|
|
|
316
316
|
---
|
|
317
317
|
route_path: /connected_accounts
|
|
318
318
|
---
|
|
319
|
-
Represents a [connected account](https://
|
|
319
|
+
Represents a [connected account](https://www.seam.co/docs/core-concepts/connected-accounts). A connected account is an external third-party account to which your user has authorized Seam to get access, for example, an August account with a list of door locks.
|
|
320
320
|
`);
|
|
321
321
|
//# sourceMappingURL=connected-account.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MAAM,2BAA2B,CAAA;AAE/D,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,UAAU,EAAE,QAAQ,CAAC,QAAQ,CAC3B,gDAAgD,CACjD;IACD,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;IACH,0BAA0B,EAAE,CAAC;SAC1B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,+EAA+E,CAChF;IACH,eAAe,EAAE,CAAC;SACf,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,
|
|
1
|
+
{"version":3,"file":"connected-account.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/connected-accounts/connected-account.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,OAAO,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AACzC,OAAO,EAAE,mBAAmB,EAAE,MA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,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,0EAA0E,CAC3E;IACH,qBAAqB,EAAE,CAAC;SACrB,KAAK,CAAC,mBAAmB,CAAC;SAC1B,QAAQ,CACP,gFAAgF,CACjF;IACH,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,oOAAoO,CACrO;IACH,qBAAqB,EAAE,CAAC;SACrB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,gIAAgI,CACjI;IACH,SAAS,EAAE,CAAC;SACT,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,iHAAiH,CAClH;IACH,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,kNAAkN,CACnN;IACH,QAAQ,EAAE,CAAC;SACR,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CACP,yGAAyG,CAC1G;CACJ,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA"}
|
|
@@ -15,12 +15,12 @@ export const custom_metadata_input = z
|
|
|
15
15
|
.refine((val) => Object.keys(val).length <= 50, {
|
|
16
16
|
message: 'Custom metadata is limited to a maximum of 50 keys',
|
|
17
17
|
})
|
|
18
|
-
.describe('Set of up to 50 key:value pairs, with key names up to 40 characters long that cannot contain a period (.). Accepts string or Boolean values. Strings are limited to 500 characters. Adding custom metadata to a resource, such as a [Connect Webview](https://
|
|
18
|
+
.describe('Set of up to 50 key:value pairs, with key names up to 40 characters long that cannot contain a period (.). Accepts string or Boolean values. Strings are limited to 500 characters. Adding custom metadata to a resource, such as a [Connect Webview](https://www.seam.co/docs/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://www.seam.co/docs/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://www.seam.co/docs/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. Set a key to `null` or to an empty string to remove that key from the custom metadata.');
|
|
19
19
|
export const custom_metadata_has = z
|
|
20
20
|
.record(custom_metadata_has_key, z.union([z.string(), z.boolean(), z.null()]))
|
|
21
21
|
.transform((custom_metadata_has_filter) => Object.fromEntries(Object.entries(custom_metadata_has_filter).filter(([, metadata_value]) => metadata_value !== '')))
|
|
22
22
|
.describe('Set of key:value pairs by which to filter. Key names cannot contain a period (.). Accepts string or Boolean values, or `null` to match a key that is unset. A key given an empty string is omitted from the filter.');
|
|
23
23
|
export const custom_metadata = z
|
|
24
24
|
.record(z.string(), z.union([z.string(), z.boolean()]))
|
|
25
|
-
.describe('Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://
|
|
25
|
+
.describe('Set of key:value pairs. Adding custom metadata to a resource, such as a [Connect Webview](https://www.seam.co/docs/core-concepts/connect-webviews/attaching-custom-data-to-the-connect-webview), [connected account](https://www.seam.co/docs/core-concepts/connected-accounts/adding-custom-metadata-to-a-connected-account), or [device](https://www.seam.co/docs/core-concepts/devices/adding-custom-metadata-to-a-device), enables you to store custom information, like customer details or internal IDs from your application. Keys set to `null` or to an empty string are omitted.');
|
|
26
26
|
//# sourceMappingURL=custom-metadata.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"custom-metadata.js","sourceRoot":"","sources":["../../../../src/lib/seam/connect/models/custom-metadata.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,MAAM,mBAAmB,GAAG;IAC1B,OAAO,EAAE,uDAAuD;CACjE,CAAA;AAED,MAAM,oBAAoB,GAAG,CAAC,GAAW,EAAW,EAAE,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,GAAG,CAAC,CAAA;AAEzE,MAAM,mBAAmB,GAAG,CAAC;KAC1B,MAAM,EAAE;KACR,GAAG,CAAC,EAAE,CAAC;KACP,MAAM,CAAC,oBAAoB,EAAE,mBAAmB,CAAC,CA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EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CACtD;KACA,MAAM,CAAC,CAAC,GAAG,EAAE,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,MAAM,IAAI,EAAE,EAAE;IAC9C,OAAO,EAAE,oDAAoD;CAC9D,CAAC;KACD,QAAQ,CACP,yvBAAyvB,CAC1vB,CAAA;AAEH,MAAM,CAAC,MAAM,mBAAmB,GAAG,CAAC;KACjC,MAAM,CAAC,uBAAuB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC,CAAC,CAAC;KAC7E,SAAS,CAAC,CAAC,0BAA0B,EAAE,EAAE,CACxC,MAAM,CAAC,WAAW,CAChB,MAAM,CAAC,OAAO,CAAC,0BAA0B,CAAC,CAAC,MAAM,CAC/C,CAAC,CAAC,EAAE,cAAc,CAAC,EAAE,EAAE,CAAC,cAAc,KAAK,EAAE,CAC9C,CACF,CACF;KACA,QAAQ,CACP,qNAAqN,CACtN,CAAA;AAEH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;KACtD,QAAQ,CACP,4jBAA4jB,CAC7jB,CAAA"}
|
|
@@ -7,6 +7,6 @@ export const capabilities = z.enum([
|
|
|
7
7
|
'battery',
|
|
8
8
|
'phone',
|
|
9
9
|
]).describe(`
|
|
10
|
-
Collection of capabilities that the device supports when connected to Seam. **Important:** Superseded by [capability flags](https://
|
|
10
|
+
Collection of capabilities that the device supports when connected to Seam. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).
|
|
11
11
|
`);
|
|
12
12
|
//# sourceMappingURL=capabilities-supported.js.map
|
|
@@ -111,12 +111,12 @@ export const access_code_capability_properties = z.object({
|
|
|
111
111
|
---
|
|
112
112
|
property_group_key: access_codes
|
|
113
113
|
---
|
|
114
|
-
Indicates whether the device supports a [backup access code pool](https://
|
|
114
|
+
Indicates whether the device supports a [backup access code pool](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/backup-access-codes).`),
|
|
115
115
|
backup_access_code_pool_enabled: z.boolean().optional().describe(`
|
|
116
116
|
---
|
|
117
117
|
property_group_key: access_codes
|
|
118
118
|
---
|
|
119
|
-
Indicates whether the [backup access code pool](https://
|
|
119
|
+
Indicates whether the [backup access code pool](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/backup-access-codes) is currently enabled for the device. To disable it, set this to \`false\` using [/devices/update](https://www.seam.co/docs/api/devices/update).`),
|
|
120
120
|
has_native_entry_events: z.boolean().optional().describe(`
|
|
121
121
|
---
|
|
122
122
|
property_group_key: access_codes
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-code.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/devices/capability-properties/access-code.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAA;AAE3B,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC;SACf,IAAI,CAAC;QACJ,UAAU;QACV,sBAAsB;QACtB,4BAA4B;QAC5B,yBAAyB;QACzB,+BAA+B;QAC/B,sBAAsB;QACtB,qCAAqC;QACrC,8BAA8B;QAC9B,oBAAoB;QACpB,qBAAqB;QACrB,0BAA0B;QAC1B,oBAAoB;KACrB,CAAC;SACD,QAAQ,CAAC,wCAAwC,CAAC;CACtD,CAAC;KACD,QAAQ,CAAC,mCAAmC,CAAC,CAAA;AAEhD,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC;KACzC,MAA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,KAAK,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0VAI6Q,CAAC;IACzV,yBAAyB,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;yVAI6Q,CAAC;IACxV,0BAA0B,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;0EAIa,CAAC;IACzE,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;mKAI+F,CAAC;IAClK,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;gSAI6N,CAAC;IAC/R,uBAAuB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE,CAAC,QAAQ,CAAC;;;;qEAIU,CAAC;CACrE,CAAC,CAAA"}
|
|
@@ -85,121 +85,121 @@ export const thermostat_capability_properties = z
|
|
|
85
85
|
---
|
|
86
86
|
property_group_key: thermostats
|
|
87
87
|
---
|
|
88
|
-
Available [climate presets](https://
|
|
88
|
+
Available [climate presets](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets) for the thermostat.
|
|
89
89
|
`),
|
|
90
90
|
fallback_climate_preset_key: z.string().min(1).nullable().describe(`
|
|
91
91
|
---
|
|
92
92
|
property_group_key: thermostats
|
|
93
93
|
---
|
|
94
|
-
Key of the [fallback climate preset](https://
|
|
94
|
+
Key of the [fallback climate preset](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-climate-presets/setting-the-fallback-climate-preset) for the thermostat.
|
|
95
95
|
`),
|
|
96
96
|
active_thermostat_schedule: thermostat_schedule.nullable().describe(`
|
|
97
97
|
---
|
|
98
98
|
property_group_key: thermostats
|
|
99
99
|
deprecated: Use \`active_thermostat_schedule_id\` with \`/thermostats/schedules/get\` instead.
|
|
100
100
|
---
|
|
101
|
-
Active [thermostat schedule](https://
|
|
101
|
+
Active [thermostat schedule](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
102
102
|
`),
|
|
103
103
|
active_thermostat_schedule_id: z.string().uuid().nullable().describe(`
|
|
104
104
|
---
|
|
105
105
|
property_group_key: thermostats
|
|
106
106
|
---
|
|
107
|
-
ID of the active [thermostat schedule](https://
|
|
107
|
+
ID of the active [thermostat schedule](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-schedules).
|
|
108
108
|
`),
|
|
109
109
|
thermostat_daily_programs: z.array(thermostat_daily_program).optional()
|
|
110
110
|
.describe(`
|
|
111
111
|
---
|
|
112
112
|
property_group_key: thermostats
|
|
113
113
|
---
|
|
114
|
-
Configured [daily programs](https://
|
|
114
|
+
Configured [daily programs](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat.
|
|
115
115
|
`),
|
|
116
116
|
thermostat_weekly_program: thermostat_weekly_program.nullable().optional()
|
|
117
117
|
.describe(`
|
|
118
118
|
---
|
|
119
119
|
property_group_key: thermostats
|
|
120
120
|
---
|
|
121
|
-
Current [weekly program](https://
|
|
121
|
+
Current [weekly program](https://www.seam.co/docs/capability-guides/thermostats/creating-and-managing-thermostat-programs) for the thermostat.
|
|
122
122
|
`),
|
|
123
123
|
min_cooling_set_point_celsius: z.number().describe(`
|
|
124
124
|
---
|
|
125
125
|
property_group_key: thermostats
|
|
126
126
|
---
|
|
127
|
-
Minimum [cooling set point](https://
|
|
127
|
+
Minimum [cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C.
|
|
128
128
|
`),
|
|
129
129
|
min_cooling_set_point_fahrenheit: z.number().describe(`
|
|
130
130
|
---
|
|
131
131
|
property_group_key: thermostats
|
|
132
132
|
---
|
|
133
|
-
Minimum [cooling set point](https://
|
|
133
|
+
Minimum [cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F.
|
|
134
134
|
`),
|
|
135
135
|
max_cooling_set_point_celsius: z.number().describe(`
|
|
136
136
|
---
|
|
137
137
|
property_group_key: thermostats
|
|
138
138
|
---
|
|
139
|
-
Maximum [cooling set point](https://
|
|
139
|
+
Maximum [cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °C.
|
|
140
140
|
`),
|
|
141
141
|
max_cooling_set_point_fahrenheit: z.number().describe(`
|
|
142
142
|
---
|
|
143
143
|
property_group_key: thermostats
|
|
144
144
|
---
|
|
145
|
-
Maximum [cooling set point](https://
|
|
145
|
+
Maximum [cooling set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#cooling-set-point) in °F.
|
|
146
146
|
`),
|
|
147
147
|
min_heating_set_point_celsius: z.number().describe(`
|
|
148
148
|
---
|
|
149
149
|
property_group_key: thermostats
|
|
150
150
|
---
|
|
151
|
-
Minimum [heating set point](https://
|
|
151
|
+
Minimum [heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C.
|
|
152
152
|
`),
|
|
153
153
|
min_heating_set_point_fahrenheit: z.number().describe(`
|
|
154
154
|
---
|
|
155
155
|
property_group_key: thermostats
|
|
156
156
|
---
|
|
157
|
-
Minimum [heating set point](https://
|
|
157
|
+
Minimum [heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F.
|
|
158
158
|
`),
|
|
159
159
|
max_heating_set_point_celsius: z.number().describe(`
|
|
160
160
|
---
|
|
161
161
|
property_group_key: thermostats
|
|
162
162
|
---
|
|
163
|
-
Maximum [heating set point](https://
|
|
163
|
+
Maximum [heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °C.
|
|
164
164
|
`),
|
|
165
165
|
max_heating_set_point_fahrenheit: z.number().describe(`
|
|
166
166
|
---
|
|
167
167
|
property_group_key: thermostats
|
|
168
168
|
---
|
|
169
|
-
Maximum [heating set point](https://
|
|
169
|
+
Maximum [heating set point](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#heating-set-point) in °F.
|
|
170
170
|
`),
|
|
171
171
|
min_heating_cooling_delta_celsius: z.number().describe(`
|
|
172
172
|
---
|
|
173
173
|
property_group_key: thermostats
|
|
174
174
|
---
|
|
175
|
-
Minimum [temperature difference](https://
|
|
175
|
+
Minimum [temperature difference](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °C between the cooling and heating set points when in heat-cool (auto) mode.
|
|
176
176
|
`),
|
|
177
177
|
min_heating_cooling_delta_fahrenheit: z.number().describe(`
|
|
178
178
|
---
|
|
179
179
|
property_group_key: thermostats
|
|
180
180
|
---
|
|
181
|
-
Minimum [temperature difference](https://
|
|
181
|
+
Minimum [temperature difference](https://www.seam.co/docs/capability-guides/thermostats/understanding-thermostat-concepts/set-points#minimum-heating-cooling-temperature-delta) in °F between the cooling and heating set points when in heat-cool (auto) mode.
|
|
182
182
|
`),
|
|
183
183
|
temperature_threshold: z
|
|
184
184
|
.object({
|
|
185
185
|
lower_limit_celsius: z.number().nullable()
|
|
186
|
-
.describe(`Lower limit in °C within the current [temperature threshold](https://
|
|
186
|
+
.describe(`Lower limit in °C within the current [temperature threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
|
|
187
187
|
`),
|
|
188
188
|
lower_limit_fahrenheit: z.number().nullable()
|
|
189
|
-
.describe(`Lower limit in °F within the current [temperature threshold](https://
|
|
189
|
+
.describe(`Lower limit in °F within the current [temperature threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
|
|
190
190
|
`),
|
|
191
191
|
upper_limit_celsius: z.number().nullable()
|
|
192
|
-
.describe(`Upper limit in °C within the current [temperature threshold](https://
|
|
192
|
+
.describe(`Upper limit in °C within the current [temperature threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
|
|
193
193
|
`),
|
|
194
194
|
upper_limit_fahrenheit: z.number().nullable()
|
|
195
|
-
.describe(`Upper limit in °F within the current [temperature threshold](https://
|
|
195
|
+
.describe(`Upper limit in °F within the current [temperature threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
|
|
196
196
|
`),
|
|
197
197
|
})
|
|
198
198
|
.optional().describe(`
|
|
199
199
|
---
|
|
200
200
|
property_group_key: thermostats
|
|
201
201
|
---
|
|
202
|
-
Current [temperature threshold](https://
|
|
202
|
+
Current [temperature threshold](https://www.seam.co/docs/capability-guides/thermostats/setting-and-monitoring-temperature-thresholds) set for the thermostat.
|
|
203
203
|
`),
|
|
204
204
|
thermostat_daily_program_period_precision_minutes: z.number().optional()
|
|
205
205
|
.describe(`
|
|
@@ -125,7 +125,7 @@ const account_disconnected = common_device_error.extend({
|
|
|
125
125
|
.describe(error_code_description),
|
|
126
126
|
is_connected_account_error: z
|
|
127
127
|
.literal(true)
|
|
128
|
-
.describe('Indicates that the error is a [connected account](https://
|
|
128
|
+
.describe('Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error.'),
|
|
129
129
|
is_device_error: z
|
|
130
130
|
.literal(false)
|
|
131
131
|
.describe('Indicates that the error is not a device error.'),
|
|
@@ -144,7 +144,7 @@ const empty_backup_access_code_pool = common_device_error.extend({
|
|
|
144
144
|
resource_type: device
|
|
145
145
|
variant_group_key: access_codes
|
|
146
146
|
---
|
|
147
|
-
Indicates that the [backup access code pool](https://
|
|
147
|
+
Indicates that the [backup access code pool](https://www.seam.co/docs/low-level-apis/smart-locks/access-codes/backup-access-codes) is empty.
|
|
148
148
|
`);
|
|
149
149
|
const august_lock_not_authorized = common_device_error.extend({
|
|
150
150
|
error_code: z
|
|
@@ -163,7 +163,7 @@ const salto_ks_subscription_limit_exceeded = common_device_error.extend({
|
|
|
163
163
|
.describe(error_code_description),
|
|
164
164
|
is_connected_account_error: z
|
|
165
165
|
.literal(true)
|
|
166
|
-
.describe('Indicates that the error is a [connected account](https://
|
|
166
|
+
.describe('Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error.'),
|
|
167
167
|
is_device_error: z
|
|
168
168
|
.literal(false)
|
|
169
169
|
.describe('Indicates that the error is not a device error.'),
|
|
@@ -180,7 +180,7 @@ const dormakaba_sites_disconnected = common_device_error.extend({
|
|
|
180
180
|
.describe(error_code_description),
|
|
181
181
|
is_connected_account_error: z
|
|
182
182
|
.literal(true)
|
|
183
|
-
.describe('Indicates that the error is a [connected account](https://
|
|
183
|
+
.describe('Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error.'),
|
|
184
184
|
is_device_error: z
|
|
185
185
|
.literal(false)
|
|
186
186
|
.describe('Indicates that the error is not a device error.'),
|
|
@@ -228,7 +228,7 @@ const insufficient_permissions = common_device_error.extend({
|
|
|
228
228
|
.describe(error_code_description),
|
|
229
229
|
is_connected_account_error: z
|
|
230
230
|
.literal(true)
|
|
231
|
-
.describe('Indicates that the error is a [connected account](https://
|
|
231
|
+
.describe('Indicates that the error is a [connected account](https://www.seam.co/docs/api/connected_accounts/object) error.'),
|
|
232
232
|
is_device_error: z
|
|
233
233
|
.literal(false)
|
|
234
234
|
.describe('Indicates that the error is not a device error.'),
|
|
@@ -863,7 +863,7 @@ export const device = z
|
|
|
863
863
|
.string()
|
|
864
864
|
.describe('Display name of the device, defaults to nickname (if it is set) or `properties.appearance.name`, otherwise. Enables administrators and users to identify the device easily, especially when there are numerous devices.'),
|
|
865
865
|
capabilities_supported: z.array(capabilities).describe(`
|
|
866
|
-
Collection of capabilities that the device supports when connected to Seam. Values are \`access_code\`, which indicates that the device can manage and utilize digital PIN codes for secure access; \`lock\`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; \`noise_detection\`, which indicates that the device supports monitoring and responding to ambient noise levels; \`thermostat\`, which indicates that the device can regulate and adjust indoor temperatures; \`battery\`, which indicates that the device can manage battery life and health; and \`phone\`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://
|
|
866
|
+
Collection of capabilities that the device supports when connected to Seam. Values are \`access_code\`, which indicates that the device can manage and utilize digital PIN codes for secure access; \`lock\`, which indicates that the device controls a door locking mechanism, enabling the remote opening and closing of doors and other entry points; \`noise_detection\`, which indicates that the device supports monitoring and responding to ambient noise levels; \`thermostat\`, which indicates that the device can regulate and adjust indoor temperatures; \`battery\`, which indicates that the device can manage battery life and health; and \`phone\`, which indicates that the device is a mobile device, such as a smartphone. **Important:** Superseded by [capability flags](https://www.seam.co/docs/capability-guides/device-and-system-capabilities#capability-flags).
|
|
867
867
|
`),
|
|
868
868
|
properties: common_device_properties
|
|
869
869
|
.and(phone_specific_properties.partial())
|
|
@@ -967,7 +967,7 @@ export const device = z
|
|
|
967
967
|
created_at: datetime.describe('Date and time at which the device object was created.'),
|
|
968
968
|
is_managed: z
|
|
969
969
|
.literal(true)
|
|
970
|
-
.describe('Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://
|
|
970
|
+
.describe('Indicates whether Seam manages the device. See also [Managed and Unmanaged Devices](https://www.seam.co/docs/core-concepts/devices/managed-and-unmanaged-devices).'),
|
|
971
971
|
custom_metadata,
|
|
972
972
|
device_provider: device_provider_info.optional().describe(`
|
|
973
973
|
---
|
|
@@ -1001,6 +1001,6 @@ export const device = z
|
|
|
1001
1001
|
provider_metadata:
|
|
1002
1002
|
name: Provider Metadata
|
|
1003
1003
|
---
|
|
1004
|
-
Represents a [device](https://
|
|
1004
|
+
Represents a [device](https://www.seam.co/docs/core-concepts/devices) that has been connected to Seam.
|
|
1005
1005
|
`);
|
|
1006
1006
|
//# sourceMappingURL=device.js.map
|