@seamapi/types 1.360.1 → 1.361.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 +739 -583
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +2320 -1622
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +192 -126
- package/lib/seam/connect/models/access-codes/managed-access-code.js +2 -4
- 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 +193 -127
- package/lib/seam/connect/models/acs/acs-access-group.d.ts +4 -4
- package/lib/seam/connect/models/acs/acs-credential-pool.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-credential.d.ts +6 -6
- package/lib/seam/connect/models/acs/acs-encoder.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-entrance.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +2 -2
- package/lib/seam/connect/models/acs/acs-user.d.ts +4 -4
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +26 -26
- package/lib/seam/connect/models/action-attempts/encode-credential.d.ts +8 -8
- package/lib/seam/connect/models/action-attempts/scan-credential.d.ts +18 -18
- package/lib/seam/connect/models/connected-accounts/connected-account.d.ts +42 -42
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +18 -18
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +18 -18
- package/lib/seam/connect/models/devices/device.d.ts +1760 -389
- package/lib/seam/connect/models/devices/device.js +82 -4
- package/lib/seam/connect/models/devices/device.js.map +1 -1
- package/lib/seam/connect/models/devices/phone.d.ts +4 -4
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +236 -58
- package/lib/seam/connect/models/events/access-codes.d.ts +68 -68
- package/lib/seam/connect/models/events/devices.d.ts +152 -152
- package/lib/seam/connect/models/events/phones.d.ts +4 -4
- package/lib/seam/connect/models/events/seam-event.d.ts +112 -112
- package/lib/seam/connect/models/thermostats/thermostat-schedule.d.ts +8 -8
- package/lib/seam/connect/models/user-identities/user-identity.d.ts +2 -2
- package/lib/seam/connect/openapi.d.ts +58 -148
- package/lib/seam/connect/openapi.js +563 -463
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +840 -648
- package/package.json +1 -1
- package/src/lib/seam/connect/models/access-codes/managed-access-code.ts +2 -4
- package/src/lib/seam/connect/models/devices/device.ts +103 -4
- package/src/lib/seam/connect/openapi.ts +562 -478
- package/src/lib/seam/connect/route-types.ts +888 -720
|
@@ -20,31 +20,31 @@ export declare const thermostat_schedule: z.ZodObject<{
|
|
|
20
20
|
error_code: string;
|
|
21
21
|
}>, "many">;
|
|
22
22
|
}, "strip", z.ZodTypeAny, {
|
|
23
|
-
created_at: string;
|
|
24
|
-
errors: {
|
|
25
|
-
message: string;
|
|
26
|
-
error_code: string;
|
|
27
|
-
}[];
|
|
28
23
|
climate_preset_key: string;
|
|
29
24
|
thermostat_schedule_id: string;
|
|
30
25
|
device_id: string;
|
|
31
26
|
max_override_period_minutes: number;
|
|
32
27
|
starts_at: string;
|
|
33
28
|
ends_at: string;
|
|
34
|
-
name?: string | undefined;
|
|
35
|
-
unstable_is_override_allowed?: boolean | undefined;
|
|
36
|
-
}, {
|
|
37
29
|
created_at: string;
|
|
38
30
|
errors: {
|
|
39
31
|
message: string;
|
|
40
32
|
error_code: string;
|
|
41
33
|
}[];
|
|
34
|
+
name?: string | undefined;
|
|
35
|
+
unstable_is_override_allowed?: boolean | undefined;
|
|
36
|
+
}, {
|
|
42
37
|
climate_preset_key: string;
|
|
43
38
|
thermostat_schedule_id: string;
|
|
44
39
|
device_id: string;
|
|
45
40
|
max_override_period_minutes: number;
|
|
46
41
|
starts_at: string;
|
|
47
42
|
ends_at: string;
|
|
43
|
+
created_at: string;
|
|
44
|
+
errors: {
|
|
45
|
+
message: string;
|
|
46
|
+
error_code: string;
|
|
47
|
+
}[];
|
|
48
48
|
name?: string | undefined;
|
|
49
49
|
unstable_is_override_allowed?: boolean | undefined;
|
|
50
50
|
}>;
|
|
@@ -9,8 +9,8 @@ export declare const user_identity: z.ZodObject<{
|
|
|
9
9
|
created_at: z.ZodString;
|
|
10
10
|
workspace_id: z.ZodString;
|
|
11
11
|
}, "strip", z.ZodTypeAny, {
|
|
12
|
-
created_at: string;
|
|
13
12
|
display_name: string;
|
|
13
|
+
created_at: string;
|
|
14
14
|
workspace_id: string;
|
|
15
15
|
user_identity_id: string;
|
|
16
16
|
full_name: string | null;
|
|
@@ -18,8 +18,8 @@ export declare const user_identity: z.ZodObject<{
|
|
|
18
18
|
phone_number: string | null;
|
|
19
19
|
user_identity_key: string | null;
|
|
20
20
|
}, {
|
|
21
|
-
created_at: string;
|
|
22
21
|
display_name: string;
|
|
22
|
+
created_at: string;
|
|
23
23
|
workspace_id: string;
|
|
24
24
|
user_identity_id: string;
|
|
25
25
|
full_name: string | null;
|
|
@@ -55,21 +55,29 @@ declare const _default: {
|
|
|
55
55
|
message: {
|
|
56
56
|
type: string;
|
|
57
57
|
};
|
|
58
|
-
is_device_error?: never;
|
|
59
58
|
created_at?: never;
|
|
60
59
|
is_connected_account_error?: never;
|
|
61
|
-
|
|
60
|
+
is_device_error?: never;
|
|
62
61
|
};
|
|
63
62
|
required: string[];
|
|
64
63
|
type: string;
|
|
65
64
|
} | {
|
|
66
65
|
description: string;
|
|
67
66
|
properties: {
|
|
67
|
+
created_at: {
|
|
68
|
+
format: string;
|
|
69
|
+
type: string;
|
|
70
|
+
description?: never;
|
|
71
|
+
};
|
|
68
72
|
error_code: {
|
|
69
73
|
description: string;
|
|
70
74
|
enum: string[];
|
|
71
75
|
type: string;
|
|
72
76
|
};
|
|
77
|
+
is_connected_account_error: {
|
|
78
|
+
enum: boolean[];
|
|
79
|
+
type: string;
|
|
80
|
+
};
|
|
73
81
|
is_device_error: {
|
|
74
82
|
enum: boolean[];
|
|
75
83
|
type: string;
|
|
@@ -78,9 +86,6 @@ declare const _default: {
|
|
|
78
86
|
type: string;
|
|
79
87
|
};
|
|
80
88
|
is_access_code_error?: never;
|
|
81
|
-
created_at?: never;
|
|
82
|
-
is_connected_account_error?: never;
|
|
83
|
-
salto_ks_metadata?: never;
|
|
84
89
|
};
|
|
85
90
|
required: string[];
|
|
86
91
|
type: string;
|
|
@@ -88,16 +93,16 @@ declare const _default: {
|
|
|
88
93
|
description: string;
|
|
89
94
|
properties: {
|
|
90
95
|
created_at: {
|
|
91
|
-
description: string;
|
|
92
96
|
format: string;
|
|
93
97
|
type: string;
|
|
98
|
+
description?: never;
|
|
94
99
|
};
|
|
95
100
|
error_code: {
|
|
96
101
|
description: string;
|
|
97
102
|
enum: string[];
|
|
98
103
|
type: string;
|
|
99
104
|
};
|
|
100
|
-
|
|
105
|
+
is_device_error: {
|
|
101
106
|
enum: boolean[];
|
|
102
107
|
type: string;
|
|
103
108
|
};
|
|
@@ -105,8 +110,7 @@ declare const _default: {
|
|
|
105
110
|
type: string;
|
|
106
111
|
};
|
|
107
112
|
is_access_code_error?: never;
|
|
108
|
-
|
|
109
|
-
salto_ks_metadata?: never;
|
|
113
|
+
is_connected_account_error?: never;
|
|
110
114
|
};
|
|
111
115
|
required: string[];
|
|
112
116
|
type: string;
|
|
@@ -130,35 +134,6 @@ declare const _default: {
|
|
|
130
134
|
message: {
|
|
131
135
|
type: string;
|
|
132
136
|
};
|
|
133
|
-
salto_ks_metadata: {
|
|
134
|
-
properties: {
|
|
135
|
-
sites: {
|
|
136
|
-
items: {
|
|
137
|
-
properties: {
|
|
138
|
-
site_id: {
|
|
139
|
-
type: string;
|
|
140
|
-
};
|
|
141
|
-
site_name: {
|
|
142
|
-
type: string;
|
|
143
|
-
};
|
|
144
|
-
site_user_subscription_limit: {
|
|
145
|
-
minimum: number;
|
|
146
|
-
type: string;
|
|
147
|
-
};
|
|
148
|
-
subscribed_site_user_count: {
|
|
149
|
-
minimum: number;
|
|
150
|
-
type: string;
|
|
151
|
-
};
|
|
152
|
-
};
|
|
153
|
-
required: string[];
|
|
154
|
-
type: string;
|
|
155
|
-
};
|
|
156
|
-
type: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
required: string[];
|
|
160
|
-
type: string;
|
|
161
|
-
};
|
|
162
137
|
is_access_code_error?: never;
|
|
163
138
|
is_device_error?: never;
|
|
164
139
|
};
|
|
@@ -2747,11 +2722,20 @@ declare const _default: {
|
|
|
2747
2722
|
oneOf: ({
|
|
2748
2723
|
description: string;
|
|
2749
2724
|
properties: {
|
|
2725
|
+
created_at: {
|
|
2726
|
+
format: string;
|
|
2727
|
+
type: string;
|
|
2728
|
+
description?: never;
|
|
2729
|
+
};
|
|
2750
2730
|
error_code: {
|
|
2751
2731
|
description: string;
|
|
2752
2732
|
enum: string[];
|
|
2753
2733
|
type: string;
|
|
2754
2734
|
};
|
|
2735
|
+
is_connected_account_error: {
|
|
2736
|
+
enum: boolean[];
|
|
2737
|
+
type: string;
|
|
2738
|
+
};
|
|
2755
2739
|
is_device_error: {
|
|
2756
2740
|
enum: boolean[];
|
|
2757
2741
|
type: string;
|
|
@@ -2759,9 +2743,6 @@ declare const _default: {
|
|
|
2759
2743
|
message: {
|
|
2760
2744
|
type: string;
|
|
2761
2745
|
};
|
|
2762
|
-
created_at?: never;
|
|
2763
|
-
is_connected_account_error?: never;
|
|
2764
|
-
salto_ks_metadata?: never;
|
|
2765
2746
|
};
|
|
2766
2747
|
required: string[];
|
|
2767
2748
|
type: string;
|
|
@@ -2769,24 +2750,23 @@ declare const _default: {
|
|
|
2769
2750
|
description: string;
|
|
2770
2751
|
properties: {
|
|
2771
2752
|
created_at: {
|
|
2772
|
-
description: string;
|
|
2773
2753
|
format: string;
|
|
2774
2754
|
type: string;
|
|
2755
|
+
description?: never;
|
|
2775
2756
|
};
|
|
2776
2757
|
error_code: {
|
|
2777
2758
|
description: string;
|
|
2778
2759
|
enum: string[];
|
|
2779
2760
|
type: string;
|
|
2780
2761
|
};
|
|
2781
|
-
|
|
2762
|
+
is_device_error: {
|
|
2782
2763
|
enum: boolean[];
|
|
2783
2764
|
type: string;
|
|
2784
2765
|
};
|
|
2785
2766
|
message: {
|
|
2786
2767
|
type: string;
|
|
2787
2768
|
};
|
|
2788
|
-
|
|
2789
|
-
salto_ks_metadata?: never;
|
|
2769
|
+
is_connected_account_error?: never;
|
|
2790
2770
|
};
|
|
2791
2771
|
required: string[];
|
|
2792
2772
|
type: string;
|
|
@@ -2810,35 +2790,6 @@ declare const _default: {
|
|
|
2810
2790
|
message: {
|
|
2811
2791
|
type: string;
|
|
2812
2792
|
};
|
|
2813
|
-
salto_ks_metadata: {
|
|
2814
|
-
properties: {
|
|
2815
|
-
sites: {
|
|
2816
|
-
items: {
|
|
2817
|
-
properties: {
|
|
2818
|
-
site_id: {
|
|
2819
|
-
type: string;
|
|
2820
|
-
};
|
|
2821
|
-
site_name: {
|
|
2822
|
-
type: string;
|
|
2823
|
-
};
|
|
2824
|
-
site_user_subscription_limit: {
|
|
2825
|
-
minimum: number;
|
|
2826
|
-
type: string;
|
|
2827
|
-
};
|
|
2828
|
-
subscribed_site_user_count: {
|
|
2829
|
-
minimum: number;
|
|
2830
|
-
type: string;
|
|
2831
|
-
};
|
|
2832
|
-
};
|
|
2833
|
-
required: string[];
|
|
2834
|
-
type: string;
|
|
2835
|
-
};
|
|
2836
|
-
type: string;
|
|
2837
|
-
};
|
|
2838
|
-
};
|
|
2839
|
-
required: string[];
|
|
2840
|
-
type: string;
|
|
2841
|
-
};
|
|
2842
2793
|
is_device_error?: never;
|
|
2843
2794
|
};
|
|
2844
2795
|
required: string[];
|
|
@@ -4347,6 +4298,10 @@ declare const _default: {
|
|
|
4347
4298
|
oneOf: {
|
|
4348
4299
|
description: string;
|
|
4349
4300
|
properties: {
|
|
4301
|
+
created_at: {
|
|
4302
|
+
format: string;
|
|
4303
|
+
type: string;
|
|
4304
|
+
};
|
|
4350
4305
|
message: {
|
|
4351
4306
|
type: string;
|
|
4352
4307
|
};
|
|
@@ -7421,21 +7376,29 @@ declare const _default: {
|
|
|
7421
7376
|
message: {
|
|
7422
7377
|
type: string;
|
|
7423
7378
|
};
|
|
7424
|
-
is_device_error?: never;
|
|
7425
7379
|
created_at?: never;
|
|
7426
7380
|
is_connected_account_error?: never;
|
|
7427
|
-
|
|
7381
|
+
is_device_error?: never;
|
|
7428
7382
|
};
|
|
7429
7383
|
required: string[];
|
|
7430
7384
|
type: string;
|
|
7431
7385
|
} | {
|
|
7432
7386
|
description: string;
|
|
7433
7387
|
properties: {
|
|
7388
|
+
created_at: {
|
|
7389
|
+
format: string;
|
|
7390
|
+
type: string;
|
|
7391
|
+
description?: never;
|
|
7392
|
+
};
|
|
7434
7393
|
error_code: {
|
|
7435
7394
|
description: string;
|
|
7436
7395
|
enum: string[];
|
|
7437
7396
|
type: string;
|
|
7438
7397
|
};
|
|
7398
|
+
is_connected_account_error: {
|
|
7399
|
+
enum: boolean[];
|
|
7400
|
+
type: string;
|
|
7401
|
+
};
|
|
7439
7402
|
is_device_error: {
|
|
7440
7403
|
enum: boolean[];
|
|
7441
7404
|
type: string;
|
|
@@ -7444,9 +7407,6 @@ declare const _default: {
|
|
|
7444
7407
|
type: string;
|
|
7445
7408
|
};
|
|
7446
7409
|
is_access_code_error?: never;
|
|
7447
|
-
created_at?: never;
|
|
7448
|
-
is_connected_account_error?: never;
|
|
7449
|
-
salto_ks_metadata?: never;
|
|
7450
7410
|
};
|
|
7451
7411
|
required: string[];
|
|
7452
7412
|
type: string;
|
|
@@ -7454,16 +7414,16 @@ declare const _default: {
|
|
|
7454
7414
|
description: string;
|
|
7455
7415
|
properties: {
|
|
7456
7416
|
created_at: {
|
|
7457
|
-
description: string;
|
|
7458
7417
|
format: string;
|
|
7459
7418
|
type: string;
|
|
7419
|
+
description?: never;
|
|
7460
7420
|
};
|
|
7461
7421
|
error_code: {
|
|
7462
7422
|
description: string;
|
|
7463
7423
|
enum: string[];
|
|
7464
7424
|
type: string;
|
|
7465
7425
|
};
|
|
7466
|
-
|
|
7426
|
+
is_device_error: {
|
|
7467
7427
|
enum: boolean[];
|
|
7468
7428
|
type: string;
|
|
7469
7429
|
};
|
|
@@ -7471,8 +7431,7 @@ declare const _default: {
|
|
|
7471
7431
|
type: string;
|
|
7472
7432
|
};
|
|
7473
7433
|
is_access_code_error?: never;
|
|
7474
|
-
|
|
7475
|
-
salto_ks_metadata?: never;
|
|
7434
|
+
is_connected_account_error?: never;
|
|
7476
7435
|
};
|
|
7477
7436
|
required: string[];
|
|
7478
7437
|
type: string;
|
|
@@ -7496,35 +7455,6 @@ declare const _default: {
|
|
|
7496
7455
|
message: {
|
|
7497
7456
|
type: string;
|
|
7498
7457
|
};
|
|
7499
|
-
salto_ks_metadata: {
|
|
7500
|
-
properties: {
|
|
7501
|
-
sites: {
|
|
7502
|
-
items: {
|
|
7503
|
-
properties: {
|
|
7504
|
-
site_id: {
|
|
7505
|
-
type: string;
|
|
7506
|
-
};
|
|
7507
|
-
site_name: {
|
|
7508
|
-
type: string;
|
|
7509
|
-
};
|
|
7510
|
-
site_user_subscription_limit: {
|
|
7511
|
-
minimum: number;
|
|
7512
|
-
type: string;
|
|
7513
|
-
};
|
|
7514
|
-
subscribed_site_user_count: {
|
|
7515
|
-
minimum: number;
|
|
7516
|
-
type: string;
|
|
7517
|
-
};
|
|
7518
|
-
};
|
|
7519
|
-
required: string[];
|
|
7520
|
-
type: string;
|
|
7521
|
-
};
|
|
7522
|
-
type: string;
|
|
7523
|
-
};
|
|
7524
|
-
};
|
|
7525
|
-
required: string[];
|
|
7526
|
-
type: string;
|
|
7527
|
-
};
|
|
7528
7458
|
is_access_code_error?: never;
|
|
7529
7459
|
is_device_error?: never;
|
|
7530
7460
|
};
|
|
@@ -8159,11 +8089,20 @@ declare const _default: {
|
|
|
8159
8089
|
oneOf: ({
|
|
8160
8090
|
description: string;
|
|
8161
8091
|
properties: {
|
|
8092
|
+
created_at: {
|
|
8093
|
+
format: string;
|
|
8094
|
+
type: string;
|
|
8095
|
+
description?: never;
|
|
8096
|
+
};
|
|
8162
8097
|
error_code: {
|
|
8163
8098
|
description: string;
|
|
8164
8099
|
enum: string[];
|
|
8165
8100
|
type: string;
|
|
8166
8101
|
};
|
|
8102
|
+
is_connected_account_error: {
|
|
8103
|
+
enum: boolean[];
|
|
8104
|
+
type: string;
|
|
8105
|
+
};
|
|
8167
8106
|
is_device_error: {
|
|
8168
8107
|
enum: boolean[];
|
|
8169
8108
|
type: string;
|
|
@@ -8171,9 +8110,6 @@ declare const _default: {
|
|
|
8171
8110
|
message: {
|
|
8172
8111
|
type: string;
|
|
8173
8112
|
};
|
|
8174
|
-
created_at?: never;
|
|
8175
|
-
is_connected_account_error?: never;
|
|
8176
|
-
salto_ks_metadata?: never;
|
|
8177
8113
|
};
|
|
8178
8114
|
required: string[];
|
|
8179
8115
|
type: string;
|
|
@@ -8181,24 +8117,23 @@ declare const _default: {
|
|
|
8181
8117
|
description: string;
|
|
8182
8118
|
properties: {
|
|
8183
8119
|
created_at: {
|
|
8184
|
-
description: string;
|
|
8185
8120
|
format: string;
|
|
8186
8121
|
type: string;
|
|
8122
|
+
description?: never;
|
|
8187
8123
|
};
|
|
8188
8124
|
error_code: {
|
|
8189
8125
|
description: string;
|
|
8190
8126
|
enum: string[];
|
|
8191
8127
|
type: string;
|
|
8192
8128
|
};
|
|
8193
|
-
|
|
8129
|
+
is_device_error: {
|
|
8194
8130
|
enum: boolean[];
|
|
8195
8131
|
type: string;
|
|
8196
8132
|
};
|
|
8197
8133
|
message: {
|
|
8198
8134
|
type: string;
|
|
8199
8135
|
};
|
|
8200
|
-
|
|
8201
|
-
salto_ks_metadata?: never;
|
|
8136
|
+
is_connected_account_error?: never;
|
|
8202
8137
|
};
|
|
8203
8138
|
required: string[];
|
|
8204
8139
|
type: string;
|
|
@@ -8222,35 +8157,6 @@ declare const _default: {
|
|
|
8222
8157
|
message: {
|
|
8223
8158
|
type: string;
|
|
8224
8159
|
};
|
|
8225
|
-
salto_ks_metadata: {
|
|
8226
|
-
properties: {
|
|
8227
|
-
sites: {
|
|
8228
|
-
items: {
|
|
8229
|
-
properties: {
|
|
8230
|
-
site_id: {
|
|
8231
|
-
type: string;
|
|
8232
|
-
};
|
|
8233
|
-
site_name: {
|
|
8234
|
-
type: string;
|
|
8235
|
-
};
|
|
8236
|
-
site_user_subscription_limit: {
|
|
8237
|
-
minimum: number;
|
|
8238
|
-
type: string;
|
|
8239
|
-
};
|
|
8240
|
-
subscribed_site_user_count: {
|
|
8241
|
-
minimum: number;
|
|
8242
|
-
type: string;
|
|
8243
|
-
};
|
|
8244
|
-
};
|
|
8245
|
-
required: string[];
|
|
8246
|
-
type: string;
|
|
8247
|
-
};
|
|
8248
|
-
type: string;
|
|
8249
|
-
};
|
|
8250
|
-
};
|
|
8251
|
-
required: string[];
|
|
8252
|
-
type: string;
|
|
8253
|
-
};
|
|
8254
8160
|
is_device_error?: never;
|
|
8255
8161
|
};
|
|
8256
8162
|
required: string[];
|
|
@@ -8407,6 +8313,10 @@ declare const _default: {
|
|
|
8407
8313
|
oneOf: {
|
|
8408
8314
|
description: string;
|
|
8409
8315
|
properties: {
|
|
8316
|
+
created_at: {
|
|
8317
|
+
format: string;
|
|
8318
|
+
type: string;
|
|
8319
|
+
};
|
|
8410
8320
|
message: {
|
|
8411
8321
|
type: string;
|
|
8412
8322
|
};
|