@seamapi/types 1.406.1 → 1.406.3
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 +496 -476
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +753 -614
- package/lib/seam/connect/models/events/access-codes.js +4 -9
- package/lib/seam/connect/models/events/access-codes.js.map +1 -1
- package/lib/seam/connect/models/events/access-grants.js +5 -2
- package/lib/seam/connect/models/events/access-grants.js.map +1 -1
- package/lib/seam/connect/models/events/access-methods.js +4 -1
- package/lib/seam/connect/models/events/access-methods.js.map +1 -1
- package/lib/seam/connect/models/events/acs/access-groups.js +4 -1
- package/lib/seam/connect/models/events/acs/access-groups.js.map +1 -1
- package/lib/seam/connect/models/events/acs/common.js +2 -5
- package/lib/seam/connect/models/events/acs/common.js.map +1 -1
- package/lib/seam/connect/models/events/acs/credentials.js +4 -1
- package/lib/seam/connect/models/events/acs/credentials.js.map +1 -1
- package/lib/seam/connect/models/events/acs/encoders.js +1 -4
- package/lib/seam/connect/models/events/acs/encoders.js.map +1 -1
- package/lib/seam/connect/models/events/acs/entrances.js +1 -1
- package/lib/seam/connect/models/events/acs/entrances.js.map +1 -1
- package/lib/seam/connect/models/events/acs/systems.js +3 -3
- package/lib/seam/connect/models/events/acs/users.js +3 -3
- package/lib/seam/connect/models/events/acs/users.js.map +1 -1
- package/lib/seam/connect/models/events/action-attempts.js +2 -2
- package/lib/seam/connect/models/events/action-attempts.js.map +1 -1
- package/lib/seam/connect/models/events/client-sessions.js +1 -1
- package/lib/seam/connect/models/events/client-sessions.js.map +1 -1
- package/lib/seam/connect/models/events/common.js +1 -1
- package/lib/seam/connect/models/events/common.js.map +1 -1
- package/lib/seam/connect/models/events/connect-webviews.js +2 -2
- package/lib/seam/connect/models/events/connect-webviews.js.map +1 -1
- package/lib/seam/connect/models/events/connected-accounts.js +2 -2
- package/lib/seam/connect/models/events/connected-accounts.js.map +1 -1
- package/lib/seam/connect/models/events/devices.js +37 -37
- 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/events/enrollment-automations.js.map +1 -1
- package/lib/seam/connect/models/events/phones.js +1 -4
- package/lib/seam/connect/models/events/phones.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +110 -0
- package/lib/seam/connect/openapi.js +422 -328
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +643 -614
- package/package.json +1 -1
- package/src/lib/seam/connect/models/events/access-codes.ts +4 -15
- package/src/lib/seam/connect/models/events/access-grants.ts +5 -2
- package/src/lib/seam/connect/models/events/access-methods.ts +4 -1
- package/src/lib/seam/connect/models/events/acs/access-groups.ts +4 -1
- package/src/lib/seam/connect/models/events/acs/common.ts +2 -9
- package/src/lib/seam/connect/models/events/acs/credentials.ts +4 -1
- package/src/lib/seam/connect/models/events/acs/encoders.ts +1 -6
- package/src/lib/seam/connect/models/events/acs/entrances.ts +1 -3
- package/src/lib/seam/connect/models/events/acs/systems.ts +3 -3
- package/src/lib/seam/connect/models/events/acs/users.ts +3 -5
- package/src/lib/seam/connect/models/events/action-attempts.ts +2 -4
- package/src/lib/seam/connect/models/events/client-sessions.ts +1 -3
- package/src/lib/seam/connect/models/events/common.ts +1 -3
- package/src/lib/seam/connect/models/events/connect-webviews.ts +2 -6
- package/src/lib/seam/connect/models/events/connected-accounts.ts +2 -6
- package/src/lib/seam/connect/models/events/devices.ts +37 -77
- package/src/lib/seam/connect/models/events/enrollment-automations.ts +1 -3
- package/src/lib/seam/connect/models/events/phones.ts +1 -6
- package/src/lib/seam/connect/openapi.ts +436 -485
- package/src/lib/seam/connect/route-types.ts +643 -614
|
@@ -1,22 +1,17 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_event } from './common.js';
|
|
3
3
|
const access_code_event = common_event.extend({
|
|
4
|
-
access_code_id: z
|
|
5
|
-
.string()
|
|
6
|
-
.uuid()
|
|
7
|
-
.describe('ID of the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).'),
|
|
4
|
+
access_code_id: z.string().uuid().describe('ID of the affected access code.'),
|
|
8
5
|
device_id: z
|
|
9
6
|
.string()
|
|
10
7
|
.uuid()
|
|
11
|
-
.describe('ID of the
|
|
8
|
+
.describe('ID of the device associated with the affected access code.'),
|
|
12
9
|
connected_account_id: z
|
|
13
10
|
.string()
|
|
14
11
|
.uuid()
|
|
15
|
-
.describe('ID of the
|
|
12
|
+
.describe('ID of the connected account associated with the affected access codes.'),
|
|
16
13
|
});
|
|
17
|
-
const code = z
|
|
18
|
-
.string()
|
|
19
|
-
.describe('Code for the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes).');
|
|
14
|
+
const code = z.string().describe('Code for the affected access code.');
|
|
20
15
|
export const access_code_created_event = access_code_event.extend({
|
|
21
16
|
event_type: z.literal('access_code.created'),
|
|
22
17
|
}).describe(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-codes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-codes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,iBAAiB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC5C,cAAc,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"access-codes.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-codes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,iBAAiB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC5C,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,iCAAiC,CAA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AAmC;IACnC,mCAAmC;CAC3B,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_event } from './common.js';
|
|
3
3
|
const access_grant_event = common_event.extend({
|
|
4
|
-
access_grant_id: z
|
|
4
|
+
access_grant_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the affected access grant.'),
|
|
5
8
|
});
|
|
6
9
|
export const access_grant_created_event = access_grant_event.extend({
|
|
7
10
|
event_type: z.literal('access_grant.created'),
|
|
@@ -30,7 +33,7 @@ export const access_grant_access_granted_to_all_doors_event = access_grant_event
|
|
|
30
33
|
const acs_entrance_id = z
|
|
31
34
|
.string()
|
|
32
35
|
.uuid()
|
|
33
|
-
.describe('ID of the
|
|
36
|
+
.describe('ID of the affected [entrance](https://docs.seam.co/latest/capability-guides/retrieving-entrance-details).');
|
|
34
37
|
export const access_grant_access_granted_to_door_event = access_grant_event.extend({
|
|
35
38
|
event_type: z.literal('access_grant.access_granted_to_door'),
|
|
36
39
|
acs_entrance_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-grants.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,kBAAkB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"access-grants.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-grants.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,kBAAkB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC7C,eAAe,EAAE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"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_event } from './common.js';
|
|
3
3
|
const access_method_event = common_event.extend({
|
|
4
|
-
access_method_id: z
|
|
4
|
+
access_method_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the affected access method.'),
|
|
5
8
|
});
|
|
6
9
|
export const access_method_issued_event = access_method_event.extend({
|
|
7
10
|
event_type: z.literal('access_method.issued'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"access-methods.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/access-methods.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,mBAAmB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC9C,gBAAgB,EAAE,CAAC;SAChB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,mCAAmC,CAAC;CACjD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACnE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,0CAA0C,GACrD,mBAAmB,CAAC,MAAM,CAAC;IACzB,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC;CAC9D,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,2BAA2B,GAAG,mBAAmB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,0BAA0B;IAC1B,2BAA2B;IAC3B,0CAA0C;CAClC,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_acs_event } from './common.js';
|
|
3
3
|
const acs_access_group_event = common_acs_event.extend({
|
|
4
|
-
acs_access_group_id: z
|
|
4
|
+
acs_access_group_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the affected access group.'),
|
|
5
8
|
});
|
|
6
9
|
export const acs_access_group_deleted_event = acs_access_group_event.extend({
|
|
7
10
|
event_type: z.literal('acs_access_group.deleted'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"access-groups.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/access-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"access-groups.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/access-groups.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,sBAAsB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACrD,mBAAmB,EAAE,CAAC;SACnB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,kCAAkC,CAAC;CAChD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,8BAA8B,GAAG,sBAAsB,CAAC,MAAM,CAAC;IAC1E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,0BAA0B,CAAC;CAClD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,8BAA8B,CAAU,CAAA"}
|
|
@@ -5,10 +5,7 @@ export const common_acs_event = common_event.extend({
|
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
7
|
.optional()
|
|
8
|
-
.describe('ID of the
|
|
9
|
-
acs_system_id: z
|
|
10
|
-
.string()
|
|
11
|
-
.uuid()
|
|
12
|
-
.describe('ID of the [ACS system](https://docs.seam.co/latest/capability-guides/access-systems).'),
|
|
8
|
+
.describe('ID of the connected account.'),
|
|
9
|
+
acs_system_id: z.string().uuid().describe('ID of the access system.'),
|
|
13
10
|
});
|
|
14
11
|
//# sourceMappingURL=common.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,cAAc,CAAA;AAE3C,MAAM,CAAC,MAAM,gBAAgB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,EAAE;SACV,QAAQ,CAAC,8BAA8B,CAAC;IAC3C,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,0BAA0B,CAAC;CACtE,CAAC,CAAA"}
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_acs_event } from './common.js';
|
|
3
3
|
const acs_credential_event = common_acs_event.extend({
|
|
4
|
-
acs_credential_id: z
|
|
4
|
+
acs_credential_id: z
|
|
5
|
+
.string()
|
|
6
|
+
.uuid()
|
|
7
|
+
.describe('ID of the affected credential.'),
|
|
5
8
|
});
|
|
6
9
|
export const acs_credential_deleted_event = acs_credential_event.extend({
|
|
7
10
|
event_type: z.literal('acs_credential.deleted'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC,
|
|
1
|
+
{"version":3,"file":"credentials.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/credentials.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,oBAAoB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IACnD,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gCAAgC,CAAC;CAC9C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,oBAAoB,CAAC,MAAM,CAAC;IAC/D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,uBAAuB,CAAC;CAC/C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,uBAAuB,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACjE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAAC;CACjD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACpE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAAC;CACpD,CAAC,CAAC,QAAQ,CAAC;;;;;;CAMX,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACnC,4BAA4B;IAC5B,qBAAqB;IACrB,uBAAuB;IACvB,0BAA0B;CAClB,CAAA"}
|
|
@@ -1,10 +1,7 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
import { common_acs_event } from './common.js';
|
|
3
3
|
const acs_encoder_event = common_acs_event.extend({
|
|
4
|
-
acs_encoder_id: z
|
|
5
|
-
.string()
|
|
6
|
-
.uuid()
|
|
7
|
-
.describe('ID of the [ACS encoder](https://docs.seam.co/latest/capability-guides/access-systems/working-with-card-encoders-and-scanners).'),
|
|
4
|
+
acs_encoder_id: z.string().uuid().describe('ID of the affected encoder.'),
|
|
8
5
|
});
|
|
9
6
|
export const acs_encoder_added_event = acs_encoder_event.extend({
|
|
10
7
|
event_type: z.literal('acs_encoder.added'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"encoders.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/encoders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC
|
|
1
|
+
{"version":3,"file":"encoders.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/encoders.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,iBAAiB,GAAG,gBAAgB,CAAC,MAAM,CAAC;IAChD,cAAc,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,6BAA6B,CAAC;CAC1E,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,uBAAuB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,CAAC;CAC3C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,yBAAyB,GAAG,iBAAiB,CAAC,MAAM,CAAC;IAChE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAAC;CAC7C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,uBAAuB;IACvB,yBAAyB;CACjB,CAAA"}
|
|
@@ -4,7 +4,7 @@ const acs_entrance_event = common_acs_event
|
|
|
4
4
|
.extend({
|
|
5
5
|
acs_entrance_id: z.string().uuid(),
|
|
6
6
|
})
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the affected entrance.');
|
|
8
8
|
export const acs_entrance_added_event = acs_entrance_event.extend({
|
|
9
9
|
event_type: z.literal('acs_entrance.added'),
|
|
10
10
|
}).describe(`
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"entrances.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/entrances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,kBAAkB,GAAG,gBAAgB;KACxC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACnC,CAAC;KACD,QAAQ,
|
|
1
|
+
{"version":3,"file":"entrances.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/entrances.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,kBAAkB,GAAG,gBAAgB;KACxC,MAAM,CAAC;IACN,eAAe,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CACnC,CAAC;KACD,QAAQ,CAAC,8BAA8B,CAAC,CAAA;AAE3C,MAAM,CAAC,MAAM,wBAAwB,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAChE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAAC;CAC5C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAEJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,kBAAkB,CAAC,MAAM,CAAC;IAClE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,sBAAsB,CAAC;CAC9C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,wBAAwB;IACxB,0BAA0B;CAClB,CAAA"}
|
|
@@ -7,7 +7,7 @@ export const acs_system_connected_event = acs_system_event.extend({
|
|
|
7
7
|
---
|
|
8
8
|
route_path: /acs/systems
|
|
9
9
|
---
|
|
10
|
-
An [
|
|
10
|
+
An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was connected.
|
|
11
11
|
`);
|
|
12
12
|
export const acs_system_disconnected_event = acs_system_event.extend({
|
|
13
13
|
event_type: z.literal('acs_system.disconnected'),
|
|
@@ -15,7 +15,7 @@ export const acs_system_disconnected_event = acs_system_event.extend({
|
|
|
15
15
|
---
|
|
16
16
|
route_path: /acs/systems
|
|
17
17
|
---
|
|
18
|
-
An [
|
|
18
|
+
An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was disconnected.
|
|
19
19
|
`);
|
|
20
20
|
export const acs_system_added_event = acs_system_event.extend({
|
|
21
21
|
event_type: z.literal('acs_system.added'),
|
|
@@ -23,7 +23,7 @@ export const acs_system_added_event = acs_system_event.extend({
|
|
|
23
23
|
---
|
|
24
24
|
route_path: /acs/systems
|
|
25
25
|
---
|
|
26
|
-
An [
|
|
26
|
+
An [access system](https://docs.seam.co/latest/capability-guides/access-systems) was added.
|
|
27
27
|
`);
|
|
28
28
|
export const acs_system_events = [
|
|
29
29
|
acs_system_connected_event,
|
|
@@ -4,14 +4,14 @@ const acs_user_event = common_acs_event
|
|
|
4
4
|
.extend({
|
|
5
5
|
acs_user_id: z.string().uuid(),
|
|
6
6
|
})
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the affected access system user.');
|
|
8
8
|
export const acs_user_deleted_event = acs_user_event.extend({
|
|
9
9
|
event_type: z.literal('acs_user.deleted'),
|
|
10
10
|
}).describe(`
|
|
11
11
|
---
|
|
12
12
|
route_path: /acs/users
|
|
13
13
|
---
|
|
14
|
-
An [
|
|
14
|
+
An [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was deleted.
|
|
15
15
|
`);
|
|
16
16
|
export const acs_user_created_event = acs_user_event.extend({
|
|
17
17
|
event_type: z.literal('acs_user.created'),
|
|
@@ -19,7 +19,7 @@ export const acs_user_created_event = acs_user_event.extend({
|
|
|
19
19
|
---
|
|
20
20
|
route_path: /acs/users
|
|
21
21
|
---
|
|
22
|
-
An [
|
|
22
|
+
An [access system user](https://docs.seam.co/latest/capability-guides/access-systems/user-management) was created.
|
|
23
23
|
`);
|
|
24
24
|
export const acs_user_events = [
|
|
25
25
|
acs_user_created_event,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,cAAc,GAAG,gBAAgB;KACpC,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC;KACD,QAAQ,
|
|
1
|
+
{"version":3,"file":"users.js","sourceRoot":"","sources":["../../../../../../src/lib/seam/connect/models/events/acs/users.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAA;AAE9C,MAAM,cAAc,GAAG,gBAAgB;KACpC,MAAM,CAAC;IACN,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE;CAC/B,CAAC;KACD,QAAQ,CAAC,wCAAwC,CAAC,CAAA;AAErD,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,sBAAsB,GAAG,cAAc,CAAC,MAAM,CAAC;IAC1D,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAIJ,MAAM,CAAC,MAAM,eAAe,GAAG;IAC7B,sBAAsB;IACtB,sBAAsB;CACd,CAAA"}
|
|
@@ -4,8 +4,8 @@ const action_attempt_event = common_event.extend({
|
|
|
4
4
|
action_attempt_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the
|
|
8
|
-
action_type: z.string().describe('Type of action.'),
|
|
7
|
+
.describe('ID of the affected action attempt.'),
|
|
8
|
+
action_type: z.string().describe('Type of the action.'),
|
|
9
9
|
status: z.string().describe('Status of the action.'),
|
|
10
10
|
});
|
|
11
11
|
export const action_attempt_lock_door_succeeded_event = action_attempt_event.extend({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"action-attempts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/action-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,
|
|
1
|
+
{"version":3,"file":"action-attempts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/action-attempts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YA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_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the affected client session.'),
|
|
8
8
|
});
|
|
9
9
|
export const client_session_deleted_event = client_session_event.extend({
|
|
10
10
|
event_type: z.literal('client_session.deleted'),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client-sessions.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/client-sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,
|
|
1
|
+
{"version":3,"file":"client-sessions.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/client-sessions.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,oBAAoB,GAAG,YAAY,CAAC,MAAM,CAAC;IAC/C,iBAAiB,EAAE,CAAC;SACjB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,oCAAoC,CAAC;CAClD,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,4BAA4B,GAAG,oBAAoB,CAAC,MAAM,CAAC;IACtE,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,wBAAwB,CAAC;CAChD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,4BAA4B,CAAU,CAAA"}
|
|
@@ -4,7 +4,7 @@ export const common_event = z.object({
|
|
|
4
4
|
workspace_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the workspace associated with the event.'),
|
|
8
8
|
created_at: z
|
|
9
9
|
.string()
|
|
10
10
|
.datetime()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,
|
|
1
|
+
{"version":3,"file":"common.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/common.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,YAAY,GAAG,CAAC,CAAC,MAAM,CAAC;IACnC,QAAQ,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,QAAQ,CAAC,kBAAkB,CAAC;IACxD,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,+CAA+C,CAAC;IAC5D,WAAW,EAAE,CAAC;SACX,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,4CAA4C,CAAC;CAC1D,CAAC,CAAA"}
|
|
@@ -4,12 +4,12 @@ const connect_webview_event = common_event.extend({
|
|
|
4
4
|
connect_webview_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the affected Connect Webview.'),
|
|
8
8
|
});
|
|
9
9
|
const connected_account_id = z
|
|
10
10
|
.string()
|
|
11
11
|
.uuid()
|
|
12
|
-
.describe('ID of the
|
|
12
|
+
.describe('ID of the connected account associated with the event.');
|
|
13
13
|
export const connect_webview_login_succeeded_event = connect_webview_event.extend({
|
|
14
14
|
event_type: z.literal('connect_webview.login_succeeded'),
|
|
15
15
|
connected_account_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connect-webviews.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connect-webviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,qBAAqB,GAAG,YAAY,CAAC,MAAM,CAAC;IAChD,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,
|
|
1
|
+
{"version":3,"file":"connect-webviews.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connect-webviews.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,qBAAqB,GAAG,YAAY,CAAC,MAAM,CAAC;IAChD,kBAAkB,EAAE,CAAC;SAClB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,CAAC,qCAAqC,CAAC;CACnD,CAAC,CAAA;AAEF,MAAM,oBAAoB,GAAG,CAAC;KAC3B,MAAM,EAAE;KACR,IAAI,EAAE;KACN,QAAQ,CAAC,wDAAwD,CAAC,CAAA;AAErE,MAAM,CAAC,MAAM,qCAAqC,GAChD,qBAAqB,CAAC,MAAM,CAAC;IAC3B,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,iCAAiC,CAAC;IACxD,oBAAoB;CACrB,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,kCAAkC,GAAG,qBAAqB,CAAC,MAAM,CAAC;IAC7E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,8BAA8B,CAAC;CACtD,CAAC,CAAC,QAAQ,CAAC;;;;;GAKT,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,sBAAsB,GAAG;IACpC,qCAAqC;IACrC,kCAAkC;CAC1B,CAAA"}
|
|
@@ -4,12 +4,12 @@ const connected_account_event = common_event.extend({
|
|
|
4
4
|
connected_account_id: z
|
|
5
5
|
.string()
|
|
6
6
|
.uuid()
|
|
7
|
-
.describe('ID of the
|
|
7
|
+
.describe('ID of the affected connected account.'),
|
|
8
8
|
});
|
|
9
9
|
const connect_webview_id = z
|
|
10
10
|
.string()
|
|
11
11
|
.uuid()
|
|
12
|
-
.describe('ID of the
|
|
12
|
+
.describe('ID of the Connect Webview associated with the event.');
|
|
13
13
|
export const connected_account_connected_event = connected_account_event.extend({
|
|
14
14
|
event_type: z.literal('connected_account.connected'),
|
|
15
15
|
connect_webview_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,aAAa,CAAA;AAE1C,MAAM,uBAAuB,GAAG,YAAY,CAAC,MAAM,CAAC;IAClD,oBAAoB,EAAE,CAAC;SACpB,MAAM,EAAE;SACR,IAAI,EAAE;SACN,QAAQ,
|
|
1
|
+
{"version":3,"file":"connected-accounts.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/events/connected-accounts.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAA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AMJ,MAAM,CAAC,MAAM,+BAA+B,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC5E,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,2BAA2B,CAAC;CACnD,CAAC,CAAC,QAAQ,CAAC;;;;;CAKX,CAAC,CAAA;AAMF,MAAM,CAAC,MAAM,+DAA+D,GAC1E,uBAAuB,CAAC,MAAM,CAAC;IAC7B,UAAU,EAAE,CAAC,CAAC,OAAO,CACnB,2DAA2D,CAC5D;CACF,CAAC,CAAC,QAAQ,CAAC;;;;;GAKX,CAAC,CAAA;AAMJ,MAAM,CAAC,MAAM,wBAAwB,GAAG;IACtC,iCAAiC;IACjC,+BAA+B;IAC/B,wCAAwC;IACxC,oCAAoC;IACpC,4CAA4C;IAC5C,+BAA+B;IAC/B,+DAA+D;CACvD,CAAA"}
|
|
@@ -2,26 +2,26 @@ import { z } from 'zod';
|
|
|
2
2
|
import { climate_setting } from '../thermostats/climate-preset.js';
|
|
3
3
|
import { common_event } from './common.js';
|
|
4
4
|
const device_event = common_event.extend({
|
|
5
|
-
device_id: z.string().uuid().describe('ID of the device.'),
|
|
5
|
+
device_id: z.string().uuid().describe('ID of the affected device.'),
|
|
6
6
|
connected_account_id: z
|
|
7
7
|
.string()
|
|
8
8
|
.uuid()
|
|
9
|
-
.describe('ID of the
|
|
9
|
+
.describe('ID of the connected account associated with the event.'),
|
|
10
10
|
});
|
|
11
11
|
const battery_level = z
|
|
12
12
|
.number()
|
|
13
13
|
.min(0)
|
|
14
14
|
.max(1)
|
|
15
|
-
.describe('Number in the range 0 to 1.0 indicating the amount of battery in the device, as reported by the device.');
|
|
15
|
+
.describe('Number in the range 0 to 1.0 indicating the amount of battery in the affected device, as reported by the device.');
|
|
16
16
|
const device_battery_status = z
|
|
17
17
|
.enum(['critical', 'low', 'good', 'full'])
|
|
18
|
-
.describe('Battery status of the device, calculated from the numeric `battery_level` value.');
|
|
18
|
+
.describe('Battery status of the affected device, calculated from the numeric `battery_level` value.');
|
|
19
19
|
const disconnection_error_code = z
|
|
20
20
|
.enum(['account_disconnected', 'hub_disconnected', 'device_disconnected'])
|
|
21
21
|
.describe('Error code associated with the disconnection event, if any.');
|
|
22
22
|
export const lock_method = z
|
|
23
23
|
.enum(['keycode', 'manual', 'automatic', 'unknown', 'seamapi'])
|
|
24
|
-
.describe('Method by which
|
|
24
|
+
.describe('Method by which the affected lock device was locked or unlocked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device.');
|
|
25
25
|
export const device_connected_event = device_event.extend({
|
|
26
26
|
event_type: z.literal('device.connected'),
|
|
27
27
|
}).describe(`
|
|
@@ -217,11 +217,11 @@ export const noise_sensor_noise_threshold_triggered_event = device_event.extend(
|
|
|
217
217
|
.string()
|
|
218
218
|
.uuid()
|
|
219
219
|
.optional()
|
|
220
|
-
.describe('ID of the
|
|
220
|
+
.describe('ID of the noise threshold that was triggered.'),
|
|
221
221
|
noise_threshold_name: z
|
|
222
222
|
.string()
|
|
223
223
|
.optional()
|
|
224
|
-
.describe('Name of the
|
|
224
|
+
.describe('Name of the noise threshold that was triggered.'),
|
|
225
225
|
// TODO: remove metadata from this event
|
|
226
226
|
noiseaware_metadata: z
|
|
227
227
|
.record(z.unknown())
|
|
@@ -243,13 +243,13 @@ export const lock_locked_event = device_event.extend({
|
|
|
243
243
|
.string()
|
|
244
244
|
.uuid()
|
|
245
245
|
.optional()
|
|
246
|
-
.describe('ID of the
|
|
246
|
+
.describe('ID of the access code that was used to lock the device.'),
|
|
247
247
|
action_attempt_id: z
|
|
248
248
|
.string()
|
|
249
249
|
.uuid()
|
|
250
250
|
.optional()
|
|
251
|
-
.describe('ID of the
|
|
252
|
-
method: lock_method.describe('Method by which
|
|
251
|
+
.describe('ID of the action attempt associated with the lock action.'),
|
|
252
|
+
method: lock_method.describe('Method by which the affected lock device was locked. When the method is `keycode`, the `access_code_id` indicates the access code that was used, if reported by the device.'),
|
|
253
253
|
}).describe(`
|
|
254
254
|
---
|
|
255
255
|
route_path: /locks
|
|
@@ -262,13 +262,13 @@ export const lock_unlocked_event = device_event.extend({
|
|
|
262
262
|
.string()
|
|
263
263
|
.uuid()
|
|
264
264
|
.optional()
|
|
265
|
-
.describe('ID of the
|
|
265
|
+
.describe('ID of the access code that was used to unlock the affected device.'),
|
|
266
266
|
action_attempt_id: z
|
|
267
267
|
.string()
|
|
268
268
|
.uuid()
|
|
269
269
|
.optional()
|
|
270
|
-
.describe('ID of the
|
|
271
|
-
method: lock_method.describe('Method by which
|
|
270
|
+
.describe('ID of the action attempt associated with the unlock action.'),
|
|
271
|
+
method: lock_method.describe('Method by which the affected lock device was unlocked. When the method is `keycode`, the `access_code_id` indicates the [access code](https://docs.seam.co/latest/capability-guides/smart-locks/access-codes) that was used, if reported by the device.'),
|
|
272
272
|
}).describe(`
|
|
273
273
|
---
|
|
274
274
|
route_path: /locks
|
|
@@ -281,7 +281,7 @@ export const lock_access_denied_event = device_event.extend({
|
|
|
281
281
|
.string()
|
|
282
282
|
.uuid()
|
|
283
283
|
.optional()
|
|
284
|
-
.describe('ID of the
|
|
284
|
+
.describe('ID of the access code that was used in the unlock attempts.'),
|
|
285
285
|
}).describe(`
|
|
286
286
|
---
|
|
287
287
|
route_path: /locks
|
|
@@ -294,13 +294,13 @@ export const thermostat_climate_preset_activated_event = device_event.extend({
|
|
|
294
294
|
.string()
|
|
295
295
|
.uuid()
|
|
296
296
|
.nullable()
|
|
297
|
-
.describe('ID of the
|
|
297
|
+
.describe('ID of the thermostat schedule that prompted the affected climate preset to be activated.'),
|
|
298
298
|
climate_preset_key: z
|
|
299
299
|
.string()
|
|
300
|
-
.describe('Key of the
|
|
300
|
+
.describe('Key of the climate preset that was activated.'),
|
|
301
301
|
is_fallback_climate_preset: z
|
|
302
302
|
.boolean()
|
|
303
|
-
.describe('Indicates whether the
|
|
303
|
+
.describe('Indicates whether the climate preset that was activated is the fallback climate preset for the thermostat.'),
|
|
304
304
|
}).describe(`
|
|
305
305
|
---
|
|
306
306
|
route_path: /thermostats
|
|
@@ -309,7 +309,7 @@ export const thermostat_climate_preset_activated_event = device_event.extend({
|
|
|
309
309
|
`);
|
|
310
310
|
export const thermostat_manually_adjusted_method = z
|
|
311
311
|
.enum(['seam', 'external'])
|
|
312
|
-
.describe('Method used to adjust the
|
|
312
|
+
.describe('Method used to adjust the affected thermostat manually. `seam` indicates that the Seam API, Seam CLI, or Seam Console was used to adjust the thermostat.');
|
|
313
313
|
export const thermostat_manually_adjusted_event = device_event
|
|
314
314
|
.extend({
|
|
315
315
|
event_type: z.literal('thermostat.manually_adjusted'),
|
|
@@ -332,26 +332,26 @@ export const temperature_threshold_exceeded_event = device_event.extend({
|
|
|
332
332
|
event_type: z.literal('thermostat.temperature_threshold_exceeded'),
|
|
333
333
|
temperature_celsius: z
|
|
334
334
|
.number()
|
|
335
|
-
.describe('Temperature, in °C, reported by the
|
|
335
|
+
.describe('Temperature, in °C, reported by the affected thermostat.'),
|
|
336
336
|
temperature_fahrenheit: z
|
|
337
337
|
.number()
|
|
338
|
-
.describe('Temperature, in °F, reported by the
|
|
338
|
+
.describe('Temperature, in °F, reported by the affected thermostat.'),
|
|
339
339
|
upper_limit_celsius: z
|
|
340
340
|
.number()
|
|
341
341
|
.nullable()
|
|
342
|
-
.describe('Upper temperature limit, in °C, defined by the set
|
|
342
|
+
.describe('Upper temperature limit, in °C, defined by the set threshold.'),
|
|
343
343
|
upper_limit_fahrenheit: z
|
|
344
344
|
.number()
|
|
345
345
|
.nullable()
|
|
346
|
-
.describe('Upper temperature limit, in °F, defined by the set
|
|
346
|
+
.describe('Upper temperature limit, in °F, defined by the set threshold.'),
|
|
347
347
|
lower_limit_celsius: z
|
|
348
348
|
.number()
|
|
349
349
|
.nullable()
|
|
350
|
-
.describe('Lower temperature limit, in °C, defined by the set
|
|
350
|
+
.describe('Lower temperature limit, in °C, defined by the set threshold.'),
|
|
351
351
|
lower_limit_fahrenheit: z
|
|
352
352
|
.number()
|
|
353
353
|
.nullable()
|
|
354
|
-
.describe('Lower temperature limit, in °F, defined by the set
|
|
354
|
+
.describe('Lower temperature limit, in °F, defined by the set threshold.'),
|
|
355
355
|
}).describe(`
|
|
356
356
|
---
|
|
357
357
|
route_path: /thermostats
|
|
@@ -362,26 +362,26 @@ export const temperature_threshold_no_longer_exceeded_event = device_event.exten
|
|
|
362
362
|
event_type: z.literal('thermostat.temperature_threshold_no_longer_exceeded'),
|
|
363
363
|
temperature_celsius: z
|
|
364
364
|
.number()
|
|
365
|
-
.describe('Temperature, in °C, reported by the
|
|
365
|
+
.describe('Temperature, in °C, reported by the affected thermostat.'),
|
|
366
366
|
temperature_fahrenheit: z
|
|
367
367
|
.number()
|
|
368
|
-
.describe('Temperature, in °F, reported by the
|
|
368
|
+
.describe('Temperature, in °F, reported by the affected thermostat.'),
|
|
369
369
|
upper_limit_celsius: z
|
|
370
370
|
.number()
|
|
371
371
|
.nullable()
|
|
372
|
-
.describe('Upper temperature limit, in °C, defined by the set
|
|
372
|
+
.describe('Upper temperature limit, in °C, defined by the set threshold.'),
|
|
373
373
|
upper_limit_fahrenheit: z
|
|
374
374
|
.number()
|
|
375
375
|
.nullable()
|
|
376
|
-
.describe('Upper temperature limit, in °F, defined by the set
|
|
376
|
+
.describe('Upper temperature limit, in °F, defined by the set threshold.'),
|
|
377
377
|
lower_limit_celsius: z
|
|
378
378
|
.number()
|
|
379
379
|
.nullable()
|
|
380
|
-
.describe('Lower temperature limit, in °C, defined by the set
|
|
380
|
+
.describe('Lower temperature limit, in °C, defined by the set threshold.'),
|
|
381
381
|
lower_limit_fahrenheit: z
|
|
382
382
|
.number()
|
|
383
383
|
.nullable()
|
|
384
|
-
.describe('Lower temperature limit, in °F, defined by the set
|
|
384
|
+
.describe('Lower temperature limit, in °F, defined by the set threshold.'),
|
|
385
385
|
}).describe(`
|
|
386
386
|
---
|
|
387
387
|
route_path: /thermostats
|
|
@@ -392,18 +392,18 @@ export const temperature_reached_set_point_event = device_event.extend({
|
|
|
392
392
|
event_type: z.literal('thermostat.temperature_reached_set_point'),
|
|
393
393
|
temperature_celsius: z
|
|
394
394
|
.number()
|
|
395
|
-
.describe('Temperature, in °C, reported by the
|
|
395
|
+
.describe('Temperature, in °C, reported by the affected thermostat.'),
|
|
396
396
|
temperature_fahrenheit: z
|
|
397
397
|
.number()
|
|
398
|
-
.describe('Temperature, in °F, reported by the
|
|
398
|
+
.describe('Temperature, in °F, reported by the affected thermostat.'),
|
|
399
399
|
desired_temperature_celsius: z
|
|
400
400
|
.number()
|
|
401
401
|
.optional()
|
|
402
|
-
.describe("Desired temperature, in °C, defined by the
|
|
402
|
+
.describe("Desired temperature, in °C, defined by the affected thermostat's cooling or heating set point."),
|
|
403
403
|
desired_temperature_fahrenheit: z
|
|
404
404
|
.number()
|
|
405
405
|
.optional()
|
|
406
|
-
.describe("Desired temperature, in °F, defined by the
|
|
406
|
+
.describe("Desired temperature, in °F, defined by the affected thermostat's cooling or heating set point."),
|
|
407
407
|
}).describe(`
|
|
408
408
|
---
|
|
409
409
|
route_path: /thermostats
|
|
@@ -414,10 +414,10 @@ export const temperature_changed_event = device_event.extend({
|
|
|
414
414
|
event_type: z.literal('thermostat.temperature_changed'),
|
|
415
415
|
temperature_celsius: z
|
|
416
416
|
.number()
|
|
417
|
-
.describe('Temperature, in °C, reported by the
|
|
417
|
+
.describe('Temperature, in °C, reported by the affected thermostat.'),
|
|
418
418
|
temperature_fahrenheit: z
|
|
419
419
|
.number()
|
|
420
|
-
.describe('Temperature, in °F, reported by the
|
|
420
|
+
.describe('Temperature, in °F, reported by the affected thermostat.'),
|
|
421
421
|
}).describe(`
|
|
422
422
|
---
|
|
423
423
|
route_path: /thermostats
|
|
@@ -426,7 +426,7 @@ export const temperature_changed_event = device_event.extend({
|
|
|
426
426
|
`);
|
|
427
427
|
export const device_name_changed_event = device_event.extend({
|
|
428
428
|
event_type: z.literal('device.name_changed'),
|
|
429
|
-
device_name: z.string().describe('The new name of the device.'),
|
|
429
|
+
device_name: z.string().describe('The new name of the affected device.'),
|
|
430
430
|
}).describe(`
|
|
431
431
|
---
|
|
432
432
|
route_path: /devices
|