@seamapi/types 1.209.1 → 1.211.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/connect.cjs +14 -0
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2905 -1397
- package/dist/devicedb.d.cts +199 -795
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +18 -12
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +29 -13
- package/lib/seam/connect/models/acs/acs-credential-provisioning-automation.d.ts +6 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +12 -12
- package/lib/seam/connect/models/acs/acs-system.d.ts +55 -27
- package/lib/seam/connect/models/acs/acs-system.js +7 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +40 -36
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +300 -165
- package/lib/seam/connect/models/action-attempts/common.d.ts +12 -6
- package/lib/seam/connect/models/action-attempts/deprecated.d.ts +140 -77
- package/lib/seam/connect/models/action-attempts/lock-door.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/reset-sandbox-workspace.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-fan-mode.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat-cool.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-heat.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/set-thermostat-off.d.ts +20 -11
- package/lib/seam/connect/models/action-attempts/unlock-door.d.ts +20 -11
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +20 -16
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +33 -29
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +213 -48
- package/lib/seam/connect/models/devices/device-provider.d.ts +7 -5
- package/lib/seam/connect/models/devices/device.d.ts +188 -1036
- package/lib/seam/connect/models/devices/phone.d.ts +2023 -15
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +2034 -16
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -238
- package/lib/seam/connect/models/events/acs/common.d.ts +5 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +18 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +26 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +16 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +18 -12
- package/lib/seam/connect/models/events/action-attempts.d.ts +16 -12
- package/lib/seam/connect/models/events/client-sessions.d.ts +14 -10
- package/lib/seam/connect/models/events/connected-accounts.d.ts +98 -70
- package/lib/seam/connect/models/events/devices.d.ts +412 -312
- package/lib/seam/connect/models/events/enrollment-automations.d.ts +14 -10
- package/lib/seam/connect/models/events/phones.d.ts +14 -10
- package/lib/seam/connect/models/events/seam-event.d.ts +456 -344
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +6 -5
- package/lib/seam/connect/models/webhooks/webhook.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +15 -0
- package/lib/seam/connect/openapi.js +9 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +20 -0
- package/lib/seam/devicedb/models/device-model.d.ts +6 -4
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +132 -730
- package/package.json +5 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +7 -0
- package/src/lib/seam/connect/openapi.ts +9 -0
- package/src/lib/seam/connect/route-types.ts +28 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@seamapi/types",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.211.0",
|
|
4
4
|
"description": "TypeScript types for the Seam API.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.js",
|
|
@@ -75,6 +75,8 @@
|
|
|
75
75
|
"postbuild:ts": "tsc-alias --replacer ./tsc-alias-replacer.cjs --project tsconfig.build.json",
|
|
76
76
|
"typecheck": "tsc",
|
|
77
77
|
"docs:build": "typedoc",
|
|
78
|
+
"blueprint": "tsx ./blueprint.ts",
|
|
79
|
+
"preblueprint": "mkdirp tmp",
|
|
78
80
|
"lint": "eslint --ignore-path .gitignore .",
|
|
79
81
|
"prelint": "prettier --check --ignore-path .gitignore .",
|
|
80
82
|
"postversion": "git push --follow-tags",
|
|
@@ -90,6 +92,7 @@
|
|
|
90
92
|
"zod": "^3.21.4"
|
|
91
93
|
},
|
|
92
94
|
"devDependencies": {
|
|
95
|
+
"@seamapi/blueprint": "^0.5.0",
|
|
93
96
|
"@types/node": "^20.8.10",
|
|
94
97
|
"concurrently": "^8.2.0",
|
|
95
98
|
"del-cli": "^5.0.0",
|
|
@@ -100,6 +103,7 @@
|
|
|
100
103
|
"eslint-plugin-node": "^11.1.0",
|
|
101
104
|
"eslint-plugin-simple-import-sort": "^12.0.0",
|
|
102
105
|
"eslint-plugin-unused-imports": "^3.0.0",
|
|
106
|
+
"mkdirp": "^3.0.1",
|
|
103
107
|
"patch-package": "^8.0.0",
|
|
104
108
|
"prettier": "^3.0.0",
|
|
105
109
|
"tsc-alias": "^1.8.2",
|
|
@@ -104,6 +104,13 @@ export const acs_system = z
|
|
|
104
104
|
'Display name that corresponds to the brand-specific terminology for the `acs_system` type.',
|
|
105
105
|
)
|
|
106
106
|
.optional(),
|
|
107
|
+
visionline_metadata: z
|
|
108
|
+
.object({
|
|
109
|
+
mobile_access_uuid: z.string(),
|
|
110
|
+
system_id: z.string(),
|
|
111
|
+
lan_address: z.string(),
|
|
112
|
+
})
|
|
113
|
+
.optional(),
|
|
107
114
|
system_type: acs_system_external_type
|
|
108
115
|
.describe(
|
|
109
116
|
`
|
|
@@ -586,6 +586,15 @@ export default {
|
|
|
586
586
|
type: 'string',
|
|
587
587
|
'x-deprecated': 'Use `external_type_display_name`.',
|
|
588
588
|
},
|
|
589
|
+
visionline_metadata: {
|
|
590
|
+
properties: {
|
|
591
|
+
lan_address: { type: 'string' },
|
|
592
|
+
mobile_access_uuid: { type: 'string' },
|
|
593
|
+
system_id: { type: 'string' },
|
|
594
|
+
},
|
|
595
|
+
required: ['mobile_access_uuid', 'system_id', 'lan_address'],
|
|
596
|
+
type: 'object',
|
|
597
|
+
},
|
|
589
598
|
warnings: {
|
|
590
599
|
items: { properties: {}, type: 'object' },
|
|
591
600
|
type: 'array',
|
|
@@ -3123,6 +3123,13 @@ export interface Routes {
|
|
|
3123
3123
|
| undefined
|
|
3124
3124
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
3125
3125
|
external_type_display_name?: string | undefined
|
|
3126
|
+
visionline_metadata?:
|
|
3127
|
+
| {
|
|
3128
|
+
mobile_access_uuid: string
|
|
3129
|
+
system_id: string
|
|
3130
|
+
lan_address: string
|
|
3131
|
+
}
|
|
3132
|
+
| undefined
|
|
3126
3133
|
/**
|
|
3127
3134
|
* @deprecated Use `external_type`. */
|
|
3128
3135
|
system_type?:
|
|
@@ -3213,6 +3220,13 @@ export interface Routes {
|
|
|
3213
3220
|
| undefined
|
|
3214
3221
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
3215
3222
|
external_type_display_name?: string | undefined
|
|
3223
|
+
visionline_metadata?:
|
|
3224
|
+
| {
|
|
3225
|
+
mobile_access_uuid: string
|
|
3226
|
+
system_id: string
|
|
3227
|
+
lan_address: string
|
|
3228
|
+
}
|
|
3229
|
+
| undefined
|
|
3216
3230
|
/**
|
|
3217
3231
|
* @deprecated Use `external_type`. */
|
|
3218
3232
|
system_type?:
|
|
@@ -3302,6 +3316,13 @@ export interface Routes {
|
|
|
3302
3316
|
| undefined
|
|
3303
3317
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
3304
3318
|
external_type_display_name?: string | undefined
|
|
3319
|
+
visionline_metadata?:
|
|
3320
|
+
| {
|
|
3321
|
+
mobile_access_uuid: string
|
|
3322
|
+
system_id: string
|
|
3323
|
+
lan_address: string
|
|
3324
|
+
}
|
|
3325
|
+
| undefined
|
|
3305
3326
|
/**
|
|
3306
3327
|
* @deprecated Use `external_type`. */
|
|
3307
3328
|
system_type?:
|
|
@@ -20235,6 +20256,13 @@ export interface Routes {
|
|
|
20235
20256
|
| undefined
|
|
20236
20257
|
/** Display name that corresponds to the brand-specific terminology for the `acs_system` type. */
|
|
20237
20258
|
external_type_display_name?: string | undefined
|
|
20259
|
+
visionline_metadata?:
|
|
20260
|
+
| {
|
|
20261
|
+
mobile_access_uuid: string
|
|
20262
|
+
system_id: string
|
|
20263
|
+
lan_address: string
|
|
20264
|
+
}
|
|
20265
|
+
| undefined
|
|
20238
20266
|
/**
|
|
20239
20267
|
* @deprecated Use `external_type`. */
|
|
20240
20268
|
system_type?:
|