@seamapi/types 1.1004.0 → 1.1005.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/package.json +4 -11
- package/devicedb.d.ts +0 -1
- package/devicedb.js +0 -2
- package/devicedb.js.map +0 -1
- package/lib/seam/devicedb/index.d.ts +0 -5
- package/lib/seam/devicedb/index.js +0 -5
- package/lib/seam/devicedb/index.js.map +0 -1
- package/lib/seam/devicedb/models/device-capability.d.ts +0 -57
- package/lib/seam/devicedb/models/device-capability.js +0 -27
- package/lib/seam/devicedb/models/device-capability.js.map +0 -1
- package/lib/seam/devicedb/models/device-model.d.ts +0 -1247
- package/lib/seam/devicedb/models/device-model.js +0 -136
- package/lib/seam/devicedb/models/device-model.js.map +0 -1
- package/lib/seam/devicedb/models/hardware.d.ts +0 -8
- package/lib/seam/devicedb/models/hardware.js +0 -7
- package/lib/seam/devicedb/models/hardware.js.map +0 -1
- package/lib/seam/devicedb/models/image-reference.d.ts +0 -15
- package/lib/seam/devicedb/models/image-reference.js +0 -7
- package/lib/seam/devicedb/models/image-reference.js.map +0 -1
- package/lib/seam/devicedb/models/index.d.ts +0 -4
- package/lib/seam/devicedb/models/index.js +0 -5
- package/lib/seam/devicedb/models/index.js.map +0 -1
- package/lib/seam/devicedb/models/manufacturer.d.ts +0 -117
- package/lib/seam/devicedb/models/manufacturer.js +0 -38
- package/lib/seam/devicedb/models/manufacturer.js.map +0 -1
- package/lib/seam/devicedb/route-specs.d.ts +0 -2052
- package/lib/seam/devicedb/route-specs.js +0 -61
- package/lib/seam/devicedb/route-specs.js.map +0 -1
- package/lib/seam/devicedb/route-types.d.ts +0 -364
- package/lib/seam/devicedb/route-types.js +0 -2
- package/lib/seam/devicedb/route-types.js.map +0 -1
- package/src/devicedb.ts +0 -1
- package/src/lib/seam/devicedb/index.ts +0 -16
- package/src/lib/seam/devicedb/models/device-capability.ts +0 -32
- package/src/lib/seam/devicedb/models/device-model.ts +0 -166
- package/src/lib/seam/devicedb/models/hardware.ts +0 -7
- package/src/lib/seam/devicedb/models/image-reference.ts +0 -9
- package/src/lib/seam/devicedb/models/index.ts +0 -4
- package/src/lib/seam/devicedb/models/manufacturer.ts +0 -54
- package/src/lib/seam/devicedb/route-specs.ts +0 -63
- package/src/lib/seam/devicedb/route-types.ts +0 -450
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1005.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -13,10 +13,6 @@
|
|
|
13
13
|
"./connect": {
|
|
14
14
|
"types": "./connect.d.ts",
|
|
15
15
|
"default": "./connect.js"
|
|
16
|
-
},
|
|
17
|
-
"./devicedb": {
|
|
18
|
-
"types": "./devicedb.d.ts",
|
|
19
|
-
"default": "./devicedb.js"
|
|
20
16
|
}
|
|
21
17
|
},
|
|
22
18
|
"module": "index.js",
|
|
@@ -39,9 +35,6 @@
|
|
|
39
35
|
"connect.js",
|
|
40
36
|
"connect.js.map",
|
|
41
37
|
"connect.d.ts",
|
|
42
|
-
"devicedb.js",
|
|
43
|
-
"devicedb.js.map",
|
|
44
|
-
"devicedb.d.ts",
|
|
45
38
|
"lib",
|
|
46
39
|
"src",
|
|
47
40
|
"!test",
|
|
@@ -49,11 +42,11 @@
|
|
|
49
42
|
],
|
|
50
43
|
"scripts": {
|
|
51
44
|
"build": "npm run build:entrypoints",
|
|
52
|
-
"prebuild": "concurrently --raw --group 'tsx src/index.ts' 'tsx src/connect.ts'
|
|
53
|
-
"postbuild": "concurrently --raw --group 'node ./index.js' 'node ./connect.js'
|
|
45
|
+
"prebuild": "concurrently --raw --group 'tsx src/index.ts' 'tsx src/connect.ts'",
|
|
46
|
+
"postbuild": "concurrently --raw --group 'node ./index.js' 'node ./connect.js'",
|
|
54
47
|
"build:entrypoints": "npm run build:ts",
|
|
55
48
|
"build:ts": "tsc --project tsconfig.build.json",
|
|
56
|
-
"prebuild:ts": "del 'index.*' 'connect.*'
|
|
49
|
+
"prebuild:ts": "del 'index.*' 'connect.*' lib",
|
|
57
50
|
"postbuild:ts": "tsc-alias --replacer ./tsc-alias-replacer.cjs --project tsconfig.build.json",
|
|
58
51
|
"typecheck": "tsc",
|
|
59
52
|
"docs:build": "typedoc",
|
package/devicedb.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './lib/seam/devicedb/index.js';
|
package/devicedb.js
DELETED
package/devicedb.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"devicedb.js","sourceRoot":"","sources":["src/devicedb.ts"],"names":[],"mappings":"AAAA,cAAc,8BAA8B,CAAA"}
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as schemas from './models/index.js';
|
|
2
|
-
export * from './route-specs.js';
|
|
3
|
-
export * from './route-types.js';
|
|
4
|
-
export { schemas };
|
|
5
|
-
export type { DeviceCategory, DeviceConnectionType, DeviceModel, ImageReference, Manufacturer, ManufacturerAnnotation, ManufacturerAnnotationCode, ManufacturerIntegrationSupportLevel, } from './models/index.js';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/seam/devicedb/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,mBAAmB,CAAA;AAE5C,cAAc,kBAAkB,CAAA;AAChC,cAAc,kBAAkB,CAAA;AAChC,OAAO,EAAE,OAAO,EAAE,CAAA"}
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const device_capability_flags: z.ZodObject<{
|
|
3
|
-
can_remotely_unlock: z.ZodOptional<z.ZodBoolean>;
|
|
4
|
-
can_remotely_lock: z.ZodOptional<z.ZodBoolean>;
|
|
5
|
-
can_program_offline_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
6
|
-
can_program_online_access_codes: z.ZodOptional<z.ZodBoolean>;
|
|
7
|
-
can_hvac_heat: z.ZodOptional<z.ZodBoolean>;
|
|
8
|
-
can_hvac_cool: z.ZodOptional<z.ZodBoolean>;
|
|
9
|
-
can_hvac_heat_cool: z.ZodOptional<z.ZodBoolean>;
|
|
10
|
-
can_turn_off_hvac: z.ZodOptional<z.ZodBoolean>;
|
|
11
|
-
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
can_remotely_unlock?: boolean | undefined;
|
|
13
|
-
can_remotely_lock?: boolean | undefined;
|
|
14
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
15
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
16
|
-
can_hvac_heat?: boolean | undefined;
|
|
17
|
-
can_hvac_cool?: boolean | undefined;
|
|
18
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
19
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
20
|
-
}, {
|
|
21
|
-
can_remotely_unlock?: boolean | undefined;
|
|
22
|
-
can_remotely_lock?: boolean | undefined;
|
|
23
|
-
can_program_offline_access_codes?: boolean | undefined;
|
|
24
|
-
can_program_online_access_codes?: boolean | undefined;
|
|
25
|
-
can_hvac_heat?: boolean | undefined;
|
|
26
|
-
can_hvac_cool?: boolean | undefined;
|
|
27
|
-
can_hvac_heat_cool?: boolean | undefined;
|
|
28
|
-
can_turn_off_hvac?: boolean | undefined;
|
|
29
|
-
}>;
|
|
30
|
-
export declare const device_model_capability_flags: z.ZodObject<{
|
|
31
|
-
can_remotely_unlock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
32
|
-
can_remotely_lock: z.ZodOptional<z.ZodLiteral<true>>;
|
|
33
|
-
can_program_offline_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
34
|
-
can_program_online_access_codes: z.ZodOptional<z.ZodLiteral<true>>;
|
|
35
|
-
can_hvac_heat: z.ZodOptional<z.ZodLiteral<true>>;
|
|
36
|
-
can_hvac_cool: z.ZodOptional<z.ZodLiteral<true>>;
|
|
37
|
-
can_hvac_heat_cool: z.ZodOptional<z.ZodLiteral<true>>;
|
|
38
|
-
can_turn_off_hvac: z.ZodOptional<z.ZodLiteral<true>>;
|
|
39
|
-
}, "strip", z.ZodTypeAny, {
|
|
40
|
-
can_remotely_unlock?: true | undefined;
|
|
41
|
-
can_remotely_lock?: true | undefined;
|
|
42
|
-
can_program_offline_access_codes?: true | undefined;
|
|
43
|
-
can_program_online_access_codes?: true | undefined;
|
|
44
|
-
can_hvac_heat?: true | undefined;
|
|
45
|
-
can_hvac_cool?: true | undefined;
|
|
46
|
-
can_hvac_heat_cool?: true | undefined;
|
|
47
|
-
can_turn_off_hvac?: true | undefined;
|
|
48
|
-
}, {
|
|
49
|
-
can_remotely_unlock?: true | undefined;
|
|
50
|
-
can_remotely_lock?: true | undefined;
|
|
51
|
-
can_program_offline_access_codes?: true | undefined;
|
|
52
|
-
can_program_online_access_codes?: true | undefined;
|
|
53
|
-
can_hvac_heat?: true | undefined;
|
|
54
|
-
can_hvac_cool?: true | undefined;
|
|
55
|
-
can_hvac_heat_cool?: true | undefined;
|
|
56
|
-
can_turn_off_hvac?: true | undefined;
|
|
57
|
-
}>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export const device_capability_flags = z
|
|
3
|
-
.object({
|
|
4
|
-
can_remotely_unlock: z.boolean(),
|
|
5
|
-
can_remotely_lock: z.boolean(),
|
|
6
|
-
can_program_offline_access_codes: z.boolean(),
|
|
7
|
-
can_program_online_access_codes: z.boolean(),
|
|
8
|
-
can_hvac_heat: z.boolean(),
|
|
9
|
-
can_hvac_cool: z.boolean(),
|
|
10
|
-
can_hvac_heat_cool: z.boolean(),
|
|
11
|
-
can_turn_off_hvac: z.boolean(),
|
|
12
|
-
})
|
|
13
|
-
.partial();
|
|
14
|
-
const device_model_capability_flags_map = {
|
|
15
|
-
can_remotely_lock: z.literal(true),
|
|
16
|
-
can_remotely_unlock: z.literal(true),
|
|
17
|
-
can_program_offline_access_codes: z.literal(true),
|
|
18
|
-
can_program_online_access_codes: z.literal(true),
|
|
19
|
-
can_hvac_heat: z.literal(true),
|
|
20
|
-
can_hvac_cool: z.literal(true),
|
|
21
|
-
can_hvac_heat_cool: z.literal(true),
|
|
22
|
-
can_turn_off_hvac: z.literal(true),
|
|
23
|
-
};
|
|
24
|
-
export const device_model_capability_flags = z
|
|
25
|
-
.object(device_model_capability_flags_map)
|
|
26
|
-
.partial();
|
|
27
|
-
//# sourceMappingURL=device-capability.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"device-capability.js","sourceRoot":"","sources":["../../../../src/lib/seam/devicedb/models/device-capability.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAmB,MAAM,KAAK,CAAA;AAExC,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC;KACrC,MAAM,CAAC;IACN,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE;IAChC,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC9B,gCAAgC,EAAE,CAAC,CAAC,OAAO,EAAE;IAC7C,+BAA+B,EAAE,CAAC,CAAC,OAAO,EAAE;IAC5C,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1B,aAAa,EAAE,CAAC,CAAC,OAAO,EAAE;IAC1B,kBAAkB,EAAE,CAAC,CAAC,OAAO,EAAE;IAC/B,iBAAiB,EAAE,CAAC,CAAC,OAAO,EAAE;CAC/B,CAAC;KACD,OAAO,EAAE,CAAA;AAEZ,MAAM,iCAAiC,GAGnC;IACF,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAClC,mBAAmB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACpC,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACjD,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAChD,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9B,aAAa,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IAC9B,kBAAkB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;IACnC,iBAAiB,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CACnC,CAAA;AAED,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC;KAC3C,MAAM,CAAC,iCAAiC,CAAC;KACzC,OAAO,EAAE,CAAA"}
|