@seamapi/types 1.196.0 → 1.197.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 +1723 -1502
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +1871 -1101
- package/dist/devicedb.d.cts +40 -40
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +113 -12
- package/lib/seam/connect/models/access-codes/managed-access-code.js +17 -2
- package/lib/seam/connect/models/access-codes/managed-access-code.js.map +1 -1
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +87 -12
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +10 -10
- package/lib/seam/connect/models/acs/acs-system.d.ts +29 -29
- package/lib/seam/connect/models/acs/acs-user.d.ts +6 -6
- package/lib/seam/connect/models/acs/metadata/latch.d.ts +4 -4
- package/lib/seam/connect/models/connect-webviews/connect-webview.d.ts +6 -6
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +69 -8
- package/lib/seam/connect/models/connected-accounts/connected-account.js +15 -2
- package/lib/seam/connect/models/connected-accounts/connected-account.js.map +1 -1
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +15 -15
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +30 -30
- package/lib/seam/connect/models/devices/device-metadata.d.ts +8 -8
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -2
- package/lib/seam/connect/models/devices/device.d.ts +116 -65
- package/lib/seam/connect/models/devices/device.js +16 -8
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +44 -19
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +53 -28
- package/lib/seam/connect/models/events/access-codes.d.ts +306 -306
- package/lib/seam/connect/models/events/acs/common.d.ts +4 -4
- package/lib/seam/connect/models/events/acs/credentials.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/index.d.ts +18 -18
- package/lib/seam/connect/models/events/acs/systems.d.ts +12 -12
- package/lib/seam/connect/models/events/acs/users.d.ts +12 -12
- package/lib/seam/connect/models/events/connected-accounts.d.ts +42 -42
- package/lib/seam/connect/models/events/devices.d.ts +340 -316
- package/lib/seam/connect/models/events/devices.js +5 -1
- package/lib/seam/connect/models/events/devices.js.map +1 -1
- package/lib/seam/connect/models/events/phones.d.ts +6 -6
- package/lib/seam/connect/models/events/seam-event.d.ts +365 -353
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +3 -3
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +263 -26
- package/lib/seam/connect/openapi.js +209 -23
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +247 -36
- package/lib/seam/devicedb/models/device-model.d.ts +8 -8
- package/lib/seam/devicedb/models/manufacturer.d.ts +2 -2
- package/lib/seam/devicedb/route-specs.d.ts +30 -30
- package/package.json +1 -1
- package/src/lib/seam/connect/model-types.ts +6 -0
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +26 -2
- package/src/lib/seam/connect/models/connected-accounts/connected-account.ts +23 -2
- package/src/lib/seam/connect/models/devices/device.ts +24 -12
- package/src/lib/seam/connect/models/events/devices.ts +5 -1
- package/src/lib/seam/connect/openapi.ts +209 -23
- package/src/lib/seam/connect/route-types.ts +377 -92
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const climate_setting_schedule: z.ZodObject<{
|
|
3
3
|
name: z.ZodOptional<z.ZodString>;
|
|
4
|
-
device_id: z.ZodString;
|
|
5
4
|
created_at: z.ZodString;
|
|
6
5
|
errors: z.ZodAny;
|
|
7
6
|
climate_setting_schedule_id: z.ZodString;
|
|
8
7
|
schedule_type: z.ZodLiteral<"time_bound">;
|
|
8
|
+
device_id: z.ZodString;
|
|
9
9
|
schedule_starts_at: z.ZodString;
|
|
10
10
|
schedule_ends_at: z.ZodString;
|
|
11
11
|
automatic_heating_enabled: z.ZodOptional<z.ZodBoolean>;
|
|
@@ -17,10 +17,10 @@ export declare const climate_setting_schedule: z.ZodObject<{
|
|
|
17
17
|
heating_set_point_fahrenheit: z.ZodOptional<z.ZodOptional<z.ZodNumber>>;
|
|
18
18
|
manual_override_allowed: z.ZodOptional<z.ZodBoolean>;
|
|
19
19
|
}, "strip", z.ZodTypeAny, {
|
|
20
|
-
device_id: string;
|
|
21
20
|
created_at: string;
|
|
22
21
|
climate_setting_schedule_id: string;
|
|
23
22
|
schedule_type: "time_bound";
|
|
23
|
+
device_id: string;
|
|
24
24
|
schedule_starts_at: string;
|
|
25
25
|
schedule_ends_at: string;
|
|
26
26
|
name?: string | undefined;
|
|
@@ -34,10 +34,10 @@ export declare const climate_setting_schedule: z.ZodObject<{
|
|
|
34
34
|
heating_set_point_fahrenheit?: number | undefined;
|
|
35
35
|
manual_override_allowed?: boolean | undefined;
|
|
36
36
|
}, {
|
|
37
|
-
device_id: string;
|
|
38
37
|
created_at: string;
|
|
39
38
|
climate_setting_schedule_id: string;
|
|
40
39
|
schedule_type: "time_bound";
|
|
40
|
+
device_id: string;
|
|
41
41
|
schedule_starts_at: string;
|
|
42
42
|
schedule_ends_at: string;
|
|
43
43
|
name?: string | undefined;
|
|
@@ -10,8 +10,8 @@ export declare const user_identity: z.ZodObject<{
|
|
|
10
10
|
workspace_id: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
12
|
created_at: string;
|
|
13
|
-
workspace_id: string;
|
|
14
13
|
display_name: string;
|
|
14
|
+
workspace_id: string;
|
|
15
15
|
user_identity_id: string;
|
|
16
16
|
full_name: string | null;
|
|
17
17
|
email_address: string | null;
|
|
@@ -19,8 +19,8 @@ export declare const user_identity: z.ZodObject<{
|
|
|
19
19
|
user_identity_key: string | null;
|
|
20
20
|
}, {
|
|
21
21
|
created_at: string;
|
|
22
|
-
workspace_id: string;
|
|
23
22
|
display_name: string;
|
|
23
|
+
workspace_id: string;
|
|
24
24
|
user_identity_id: string;
|
|
25
25
|
full_name: string | null;
|
|
26
26
|
email_address: string | null;
|
|
@@ -36,6 +36,61 @@ declare const _default: {
|
|
|
36
36
|
};
|
|
37
37
|
errors: {
|
|
38
38
|
description: string;
|
|
39
|
+
items: {
|
|
40
|
+
oneOf: ({
|
|
41
|
+
properties: {
|
|
42
|
+
error_code: {
|
|
43
|
+
type: string;
|
|
44
|
+
};
|
|
45
|
+
is_access_code_error: {
|
|
46
|
+
enum: boolean[];
|
|
47
|
+
type: string;
|
|
48
|
+
};
|
|
49
|
+
message: {
|
|
50
|
+
type: string;
|
|
51
|
+
};
|
|
52
|
+
is_device_error?: never;
|
|
53
|
+
is_connected_account_error?: never;
|
|
54
|
+
};
|
|
55
|
+
required: string[];
|
|
56
|
+
type: string;
|
|
57
|
+
} | {
|
|
58
|
+
properties: {
|
|
59
|
+
error_code: {
|
|
60
|
+
type: string;
|
|
61
|
+
};
|
|
62
|
+
is_device_error: {
|
|
63
|
+
enum: boolean[];
|
|
64
|
+
type: string;
|
|
65
|
+
};
|
|
66
|
+
message: {
|
|
67
|
+
type: string;
|
|
68
|
+
};
|
|
69
|
+
is_access_code_error?: never;
|
|
70
|
+
is_connected_account_error?: never;
|
|
71
|
+
};
|
|
72
|
+
required: string[];
|
|
73
|
+
type: string;
|
|
74
|
+
} | {
|
|
75
|
+
properties: {
|
|
76
|
+
error_code: {
|
|
77
|
+
type: string;
|
|
78
|
+
};
|
|
79
|
+
is_connected_account_error: {
|
|
80
|
+
enum: boolean[];
|
|
81
|
+
type: string;
|
|
82
|
+
};
|
|
83
|
+
message: {
|
|
84
|
+
type: string;
|
|
85
|
+
};
|
|
86
|
+
is_access_code_error?: never;
|
|
87
|
+
is_device_error?: never;
|
|
88
|
+
};
|
|
89
|
+
required: string[];
|
|
90
|
+
type: string;
|
|
91
|
+
})[];
|
|
92
|
+
};
|
|
93
|
+
type: string;
|
|
39
94
|
};
|
|
40
95
|
is_backup: {
|
|
41
96
|
description: string;
|
|
@@ -99,6 +154,19 @@ declare const _default: {
|
|
|
99
154
|
};
|
|
100
155
|
warnings: {
|
|
101
156
|
description: string;
|
|
157
|
+
items: {
|
|
158
|
+
properties: {
|
|
159
|
+
message: {
|
|
160
|
+
type: string;
|
|
161
|
+
};
|
|
162
|
+
warning_code: {
|
|
163
|
+
type: string;
|
|
164
|
+
};
|
|
165
|
+
};
|
|
166
|
+
required: string[];
|
|
167
|
+
type: string;
|
|
168
|
+
};
|
|
169
|
+
type: string;
|
|
102
170
|
};
|
|
103
171
|
};
|
|
104
172
|
required: string[];
|
|
@@ -1057,7 +1125,25 @@ declare const _default: {
|
|
|
1057
1125
|
};
|
|
1058
1126
|
type: string;
|
|
1059
1127
|
};
|
|
1060
|
-
errors: {
|
|
1128
|
+
errors: {
|
|
1129
|
+
items: {
|
|
1130
|
+
properties: {
|
|
1131
|
+
error_code: {
|
|
1132
|
+
type: string;
|
|
1133
|
+
};
|
|
1134
|
+
is_connected_account_error: {
|
|
1135
|
+
enum: boolean[];
|
|
1136
|
+
type: string;
|
|
1137
|
+
};
|
|
1138
|
+
message: {
|
|
1139
|
+
type: string;
|
|
1140
|
+
};
|
|
1141
|
+
};
|
|
1142
|
+
required: string[];
|
|
1143
|
+
type: string;
|
|
1144
|
+
};
|
|
1145
|
+
type: string;
|
|
1146
|
+
};
|
|
1061
1147
|
user_identifier: {
|
|
1062
1148
|
properties: {
|
|
1063
1149
|
api_url: {
|
|
@@ -1078,7 +1164,21 @@ declare const _default: {
|
|
|
1078
1164
|
};
|
|
1079
1165
|
type: string;
|
|
1080
1166
|
};
|
|
1081
|
-
warnings: {
|
|
1167
|
+
warnings: {
|
|
1168
|
+
items: {
|
|
1169
|
+
properties: {
|
|
1170
|
+
message: {
|
|
1171
|
+
type: string;
|
|
1172
|
+
};
|
|
1173
|
+
warning_code: {
|
|
1174
|
+
type: string;
|
|
1175
|
+
};
|
|
1176
|
+
};
|
|
1177
|
+
required: string[];
|
|
1178
|
+
type: string;
|
|
1179
|
+
};
|
|
1180
|
+
type: string;
|
|
1181
|
+
};
|
|
1082
1182
|
};
|
|
1083
1183
|
required: string[];
|
|
1084
1184
|
type: string;
|
|
@@ -1151,16 +1251,39 @@ declare const _default: {
|
|
|
1151
1251
|
errors: {
|
|
1152
1252
|
description: string;
|
|
1153
1253
|
items: {
|
|
1154
|
-
|
|
1155
|
-
|
|
1156
|
-
|
|
1254
|
+
oneOf: ({
|
|
1255
|
+
properties: {
|
|
1256
|
+
error_code: {
|
|
1257
|
+
type: string;
|
|
1258
|
+
};
|
|
1259
|
+
is_device_error: {
|
|
1260
|
+
enum: boolean[];
|
|
1261
|
+
type: string;
|
|
1262
|
+
};
|
|
1263
|
+
message: {
|
|
1264
|
+
type: string;
|
|
1265
|
+
};
|
|
1266
|
+
is_connected_account_error?: never;
|
|
1157
1267
|
};
|
|
1158
|
-
|
|
1159
|
-
|
|
1268
|
+
required: string[];
|
|
1269
|
+
type: string;
|
|
1270
|
+
} | {
|
|
1271
|
+
properties: {
|
|
1272
|
+
error_code: {
|
|
1273
|
+
type: string;
|
|
1274
|
+
};
|
|
1275
|
+
is_connected_account_error: {
|
|
1276
|
+
enum: boolean[];
|
|
1277
|
+
type: string;
|
|
1278
|
+
};
|
|
1279
|
+
message: {
|
|
1280
|
+
type: string;
|
|
1281
|
+
};
|
|
1282
|
+
is_device_error?: never;
|
|
1160
1283
|
};
|
|
1161
|
-
|
|
1162
|
-
|
|
1163
|
-
|
|
1284
|
+
required: string[];
|
|
1285
|
+
type: string;
|
|
1286
|
+
})[];
|
|
1164
1287
|
};
|
|
1165
1288
|
type: string;
|
|
1166
1289
|
};
|
|
@@ -2991,16 +3114,39 @@ declare const _default: {
|
|
|
2991
3114
|
errors: {
|
|
2992
3115
|
description: string;
|
|
2993
3116
|
items: {
|
|
2994
|
-
|
|
2995
|
-
|
|
2996
|
-
|
|
3117
|
+
oneOf: ({
|
|
3118
|
+
properties: {
|
|
3119
|
+
error_code: {
|
|
3120
|
+
type: string;
|
|
3121
|
+
};
|
|
3122
|
+
is_device_error: {
|
|
3123
|
+
enum: boolean[];
|
|
3124
|
+
type: string;
|
|
3125
|
+
};
|
|
3126
|
+
message: {
|
|
3127
|
+
type: string;
|
|
3128
|
+
};
|
|
3129
|
+
is_connected_account_error?: never;
|
|
2997
3130
|
};
|
|
2998
|
-
|
|
2999
|
-
|
|
3131
|
+
required: string[];
|
|
3132
|
+
type: string;
|
|
3133
|
+
} | {
|
|
3134
|
+
properties: {
|
|
3135
|
+
error_code: {
|
|
3136
|
+
type: string;
|
|
3137
|
+
};
|
|
3138
|
+
is_connected_account_error: {
|
|
3139
|
+
enum: boolean[];
|
|
3140
|
+
type: string;
|
|
3141
|
+
};
|
|
3142
|
+
message: {
|
|
3143
|
+
type: string;
|
|
3144
|
+
};
|
|
3145
|
+
is_device_error?: never;
|
|
3000
3146
|
};
|
|
3001
|
-
|
|
3002
|
-
|
|
3003
|
-
|
|
3147
|
+
required: string[];
|
|
3148
|
+
type: string;
|
|
3149
|
+
})[];
|
|
3004
3150
|
};
|
|
3005
3151
|
type: string;
|
|
3006
3152
|
};
|
|
@@ -3128,6 +3274,61 @@ declare const _default: {
|
|
|
3128
3274
|
};
|
|
3129
3275
|
errors: {
|
|
3130
3276
|
description: string;
|
|
3277
|
+
items: {
|
|
3278
|
+
oneOf: ({
|
|
3279
|
+
properties: {
|
|
3280
|
+
error_code: {
|
|
3281
|
+
type: string;
|
|
3282
|
+
};
|
|
3283
|
+
is_access_code_error: {
|
|
3284
|
+
enum: boolean[];
|
|
3285
|
+
type: string;
|
|
3286
|
+
};
|
|
3287
|
+
message: {
|
|
3288
|
+
type: string;
|
|
3289
|
+
};
|
|
3290
|
+
is_device_error?: never;
|
|
3291
|
+
is_connected_account_error?: never;
|
|
3292
|
+
};
|
|
3293
|
+
required: string[];
|
|
3294
|
+
type: string;
|
|
3295
|
+
} | {
|
|
3296
|
+
properties: {
|
|
3297
|
+
error_code: {
|
|
3298
|
+
type: string;
|
|
3299
|
+
};
|
|
3300
|
+
is_device_error: {
|
|
3301
|
+
enum: boolean[];
|
|
3302
|
+
type: string;
|
|
3303
|
+
};
|
|
3304
|
+
message: {
|
|
3305
|
+
type: string;
|
|
3306
|
+
};
|
|
3307
|
+
is_access_code_error?: never;
|
|
3308
|
+
is_connected_account_error?: never;
|
|
3309
|
+
};
|
|
3310
|
+
required: string[];
|
|
3311
|
+
type: string;
|
|
3312
|
+
} | {
|
|
3313
|
+
properties: {
|
|
3314
|
+
error_code: {
|
|
3315
|
+
type: string;
|
|
3316
|
+
};
|
|
3317
|
+
is_connected_account_error: {
|
|
3318
|
+
enum: boolean[];
|
|
3319
|
+
type: string;
|
|
3320
|
+
};
|
|
3321
|
+
message: {
|
|
3322
|
+
type: string;
|
|
3323
|
+
};
|
|
3324
|
+
is_access_code_error?: never;
|
|
3325
|
+
is_device_error?: never;
|
|
3326
|
+
};
|
|
3327
|
+
required: string[];
|
|
3328
|
+
type: string;
|
|
3329
|
+
})[];
|
|
3330
|
+
};
|
|
3331
|
+
type: string;
|
|
3131
3332
|
};
|
|
3132
3333
|
is_managed: {
|
|
3133
3334
|
enum: boolean[];
|
|
@@ -3155,6 +3356,19 @@ declare const _default: {
|
|
|
3155
3356
|
};
|
|
3156
3357
|
warnings: {
|
|
3157
3358
|
description: string;
|
|
3359
|
+
items: {
|
|
3360
|
+
properties: {
|
|
3361
|
+
message: {
|
|
3362
|
+
type: string;
|
|
3363
|
+
};
|
|
3364
|
+
warning_code: {
|
|
3365
|
+
type: string;
|
|
3366
|
+
};
|
|
3367
|
+
};
|
|
3368
|
+
required: string[];
|
|
3369
|
+
type: string;
|
|
3370
|
+
};
|
|
3371
|
+
type: string;
|
|
3158
3372
|
};
|
|
3159
3373
|
};
|
|
3160
3374
|
required: string[];
|
|
@@ -3216,16 +3430,39 @@ declare const _default: {
|
|
|
3216
3430
|
errors: {
|
|
3217
3431
|
description: string;
|
|
3218
3432
|
items: {
|
|
3219
|
-
|
|
3220
|
-
|
|
3221
|
-
|
|
3433
|
+
oneOf: ({
|
|
3434
|
+
properties: {
|
|
3435
|
+
error_code: {
|
|
3436
|
+
type: string;
|
|
3437
|
+
};
|
|
3438
|
+
is_device_error: {
|
|
3439
|
+
enum: boolean[];
|
|
3440
|
+
type: string;
|
|
3441
|
+
};
|
|
3442
|
+
message: {
|
|
3443
|
+
type: string;
|
|
3444
|
+
};
|
|
3445
|
+
is_connected_account_error?: never;
|
|
3222
3446
|
};
|
|
3223
|
-
|
|
3224
|
-
|
|
3447
|
+
required: string[];
|
|
3448
|
+
type: string;
|
|
3449
|
+
} | {
|
|
3450
|
+
properties: {
|
|
3451
|
+
error_code: {
|
|
3452
|
+
type: string;
|
|
3453
|
+
};
|
|
3454
|
+
is_connected_account_error: {
|
|
3455
|
+
enum: boolean[];
|
|
3456
|
+
type: string;
|
|
3457
|
+
};
|
|
3458
|
+
message: {
|
|
3459
|
+
type: string;
|
|
3460
|
+
};
|
|
3461
|
+
is_device_error?: never;
|
|
3225
3462
|
};
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3463
|
+
required: string[];
|
|
3464
|
+
type: string;
|
|
3465
|
+
})[];
|
|
3229
3466
|
};
|
|
3230
3467
|
type: string;
|
|
3231
3468
|
};
|