@seamapi/types 1.240.0 → 1.242.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 +1592 -904
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +3728 -1455
- package/dist/devicedb.d.cts +30 -30
- package/lib/seam/connect/internal/schemas.d.ts +1 -1
- package/lib/seam/connect/internal/schemas.js +1 -1
- package/lib/seam/connect/internal/schemas.js.map +1 -1
- package/lib/seam/connect/model-types.d.ts +1 -1
- package/lib/seam/connect/models/access-codes/managed-access-code.d.ts +4 -4
- package/lib/seam/connect/models/access-codes/unmanaged-access-code.d.ts +1 -1
- package/lib/seam/connect/models/acs/acs-user.d.ts +316 -84
- package/lib/seam/connect/models/acs/acs-user.js +72 -22
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/action-attempt.d.ts +78 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js +2 -0
- package/lib/seam/connect/models/action-attempts/action-attempt.js.map +1 -1
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.d.ts +80 -0
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.js +25 -0
- package/lib/seam/connect/models/action-attempts/activate-climate-preset.js.map +1 -0
- package/lib/seam/connect/models/devices/capability-properties/index.d.ts +185 -83
- package/lib/seam/connect/models/devices/capability-properties/thermostat.d.ts +185 -83
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js +15 -6
- package/lib/seam/connect/models/devices/capability-properties/thermostat.js.map +1 -1
- package/lib/seam/connect/models/devices/device.d.ts +263 -119
- package/lib/seam/connect/models/devices/phone.d.ts +187 -85
- package/lib/seam/connect/models/devices/unmanaged-device.d.ts +185 -83
- package/lib/seam/connect/models/thermostats/climate-preset.d.ts +83 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js +18 -0
- package/lib/seam/connect/models/thermostats/climate-preset.js.map +1 -0
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.d.ts +18 -34
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js +8 -10
- package/lib/seam/connect/models/thermostats/climate-setting-schedule.js.map +1 -1
- package/lib/seam/connect/models/thermostats/index.d.ts +1 -1
- package/lib/seam/connect/models/thermostats/index.js +1 -1
- package/lib/seam/connect/models/thermostats/index.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +1019 -570
- package/lib/seam/connect/openapi.js +1334 -723
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +1824 -476
- package/lib/seam/connect/schemas.d.ts +1 -1
- package/lib/seam/connect/schemas.js +1 -1
- package/lib/seam/connect/schemas.js.map +1 -1
- 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 +20 -20
- package/package.json +2 -2
- package/src/lib/seam/connect/internal/schemas.ts +2 -2
- package/src/lib/seam/connect/model-types.ts +1 -1
- package/src/lib/seam/connect/models/acs/acs-user.ts +100 -27
- package/src/lib/seam/connect/models/action-attempts/action-attempt.ts +2 -0
- package/src/lib/seam/connect/models/action-attempts/activate-climate-preset.ts +36 -0
- package/src/lib/seam/connect/models/devices/capability-properties/thermostat.ts +16 -6
- package/src/lib/seam/connect/models/thermostats/climate-preset.ts +24 -0
- package/src/lib/seam/connect/models/thermostats/climate-setting-schedule.ts +16 -19
- package/src/lib/seam/connect/models/thermostats/index.ts +1 -1
- package/src/lib/seam/connect/openapi.ts +1385 -708
- package/src/lib/seam/connect/route-types.ts +2122 -520
- package/src/lib/seam/connect/schemas.ts +1 -1
- package/lib/seam/connect/models/thermostats/climate-setting.d.ts +0 -24
- package/lib/seam/connect/models/thermostats/climate-setting.js +0 -11
- package/lib/seam/connect/models/thermostats/climate-setting.js.map +0 -1
- package/src/lib/seam/connect/models/thermostats/climate-setting.ts +0 -14
|
@@ -1,85 +1,161 @@
|
|
|
1
1
|
import { z } from 'zod';
|
|
2
2
|
export declare const acs_user_external_type: z.ZodEnum<["pti_user", "brivo_user", "hid_credential_manager_user", "salto_site_user", "latch_user"]>;
|
|
3
3
|
export type AcsUserExternalType = z.infer<typeof acs_user_external_type>;
|
|
4
|
-
export declare const
|
|
5
|
-
|
|
4
|
+
export declare const acs_users_error_map: z.ZodObject<{
|
|
5
|
+
deleted_externally: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
6
6
|
created_at: z.ZodString;
|
|
7
7
|
message: z.ZodString;
|
|
8
8
|
}, {
|
|
9
|
-
|
|
9
|
+
error_code: z.ZodLiteral<"deleted_externally">;
|
|
10
10
|
}>, "strip", z.ZodTypeAny, {
|
|
11
11
|
message: string;
|
|
12
|
-
|
|
12
|
+
error_code: "deleted_externally";
|
|
13
13
|
created_at: string;
|
|
14
14
|
}, {
|
|
15
15
|
message: string;
|
|
16
|
-
|
|
16
|
+
error_code: "deleted_externally";
|
|
17
17
|
created_at: string;
|
|
18
18
|
}>>>;
|
|
19
|
-
|
|
19
|
+
salto_ks_subscription_limit_exceeded: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
20
20
|
created_at: z.ZodString;
|
|
21
21
|
message: z.ZodString;
|
|
22
22
|
}, {
|
|
23
|
-
|
|
23
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
24
24
|
}>, "strip", z.ZodTypeAny, {
|
|
25
25
|
message: string;
|
|
26
|
-
|
|
26
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
27
27
|
created_at: string;
|
|
28
28
|
}, {
|
|
29
29
|
message: string;
|
|
30
|
-
|
|
30
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
31
31
|
created_at: string;
|
|
32
32
|
}>>>;
|
|
33
|
-
|
|
33
|
+
failed_to_create_on_acs_system: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
34
34
|
created_at: z.ZodString;
|
|
35
35
|
message: z.ZodString;
|
|
36
36
|
}, {
|
|
37
|
-
warning_code: z.ZodLiteral<"
|
|
37
|
+
warning_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
|
|
38
38
|
}>, "strip", z.ZodTypeAny, {
|
|
39
39
|
message: string;
|
|
40
|
-
warning_code: "
|
|
40
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
41
41
|
created_at: string;
|
|
42
42
|
}, {
|
|
43
43
|
message: string;
|
|
44
|
-
warning_code: "
|
|
44
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
45
|
+
created_at: string;
|
|
46
|
+
}>>>;
|
|
47
|
+
failed_to_update_on_acs_system: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
48
|
+
created_at: z.ZodString;
|
|
49
|
+
message: z.ZodString;
|
|
50
|
+
}, {
|
|
51
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
52
|
+
}>, "strip", z.ZodTypeAny, {
|
|
53
|
+
message: string;
|
|
54
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
55
|
+
created_at: string;
|
|
56
|
+
}, {
|
|
57
|
+
message: string;
|
|
58
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
45
59
|
created_at: string;
|
|
46
60
|
}>>>;
|
|
47
|
-
|
|
61
|
+
failed_to_delete_on_acs_system: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
48
62
|
created_at: z.ZodString;
|
|
49
63
|
message: z.ZodString;
|
|
50
64
|
}, {
|
|
51
|
-
warning_code: z.ZodLiteral<"
|
|
65
|
+
warning_code: z.ZodLiteral<"failed_to_delete_on_acs_system">;
|
|
52
66
|
}>, "strip", z.ZodTypeAny, {
|
|
53
67
|
message: string;
|
|
54
|
-
warning_code: "
|
|
68
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
55
69
|
created_at: string;
|
|
56
70
|
}, {
|
|
57
71
|
message: string;
|
|
58
|
-
warning_code: "
|
|
72
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
59
73
|
created_at: string;
|
|
60
74
|
}>>>;
|
|
61
75
|
}, "strip", z.ZodTypeAny, {
|
|
62
|
-
|
|
76
|
+
deleted_externally?: {
|
|
63
77
|
message: string;
|
|
64
|
-
|
|
78
|
+
error_code: "deleted_externally";
|
|
65
79
|
created_at: string;
|
|
66
80
|
} | null | undefined;
|
|
67
|
-
|
|
81
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
68
82
|
message: string;
|
|
69
|
-
|
|
83
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
70
84
|
created_at: string;
|
|
71
85
|
} | null | undefined;
|
|
72
|
-
|
|
86
|
+
failed_to_create_on_acs_system?: {
|
|
73
87
|
message: string;
|
|
74
|
-
warning_code: "
|
|
88
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
75
89
|
created_at: string;
|
|
76
90
|
} | null | undefined;
|
|
77
|
-
|
|
91
|
+
failed_to_update_on_acs_system?: {
|
|
78
92
|
message: string;
|
|
79
|
-
warning_code: "
|
|
93
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
94
|
+
created_at: string;
|
|
95
|
+
} | null | undefined;
|
|
96
|
+
failed_to_delete_on_acs_system?: {
|
|
97
|
+
message: string;
|
|
98
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
80
99
|
created_at: string;
|
|
81
100
|
} | null | undefined;
|
|
82
101
|
}, {
|
|
102
|
+
deleted_externally?: {
|
|
103
|
+
message: string;
|
|
104
|
+
error_code: "deleted_externally";
|
|
105
|
+
created_at: string;
|
|
106
|
+
} | null | undefined;
|
|
107
|
+
salto_ks_subscription_limit_exceeded?: {
|
|
108
|
+
message: string;
|
|
109
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
110
|
+
created_at: string;
|
|
111
|
+
} | null | undefined;
|
|
112
|
+
failed_to_create_on_acs_system?: {
|
|
113
|
+
message: string;
|
|
114
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
115
|
+
created_at: string;
|
|
116
|
+
} | null | undefined;
|
|
117
|
+
failed_to_update_on_acs_system?: {
|
|
118
|
+
message: string;
|
|
119
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
120
|
+
created_at: string;
|
|
121
|
+
} | null | undefined;
|
|
122
|
+
failed_to_delete_on_acs_system?: {
|
|
123
|
+
message: string;
|
|
124
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
125
|
+
created_at: string;
|
|
126
|
+
} | null | undefined;
|
|
127
|
+
}>;
|
|
128
|
+
export type AcsUsersErrorMap = z.infer<typeof acs_users_error_map>;
|
|
129
|
+
export declare const acs_users_warning_map: z.ZodObject<{
|
|
130
|
+
being_deleted: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
131
|
+
created_at: z.ZodString;
|
|
132
|
+
message: z.ZodString;
|
|
133
|
+
}, {
|
|
134
|
+
warning_code: z.ZodLiteral<"being_deleted">;
|
|
135
|
+
}>, "strip", z.ZodTypeAny, {
|
|
136
|
+
message: string;
|
|
137
|
+
warning_code: "being_deleted";
|
|
138
|
+
created_at: string;
|
|
139
|
+
}, {
|
|
140
|
+
message: string;
|
|
141
|
+
warning_code: "being_deleted";
|
|
142
|
+
created_at: string;
|
|
143
|
+
}>>>;
|
|
144
|
+
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
145
|
+
created_at: z.ZodString;
|
|
146
|
+
message: z.ZodString;
|
|
147
|
+
}, {
|
|
148
|
+
warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
149
|
+
}>, "strip", z.ZodTypeAny, {
|
|
150
|
+
message: string;
|
|
151
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
152
|
+
created_at: string;
|
|
153
|
+
}, {
|
|
154
|
+
message: string;
|
|
155
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
156
|
+
created_at: string;
|
|
157
|
+
}>>>;
|
|
158
|
+
}, "strip", z.ZodTypeAny, {
|
|
83
159
|
being_deleted?: {
|
|
84
160
|
message: string;
|
|
85
161
|
warning_code: "being_deleted";
|
|
@@ -90,18 +166,19 @@ export declare const acs_users_warning_map: z.ZodObject<{
|
|
|
90
166
|
warning_code: "salto_ks_user_not_subscribed";
|
|
91
167
|
created_at: string;
|
|
92
168
|
} | null | undefined;
|
|
93
|
-
|
|
169
|
+
}, {
|
|
170
|
+
being_deleted?: {
|
|
94
171
|
message: string;
|
|
95
|
-
warning_code: "
|
|
172
|
+
warning_code: "being_deleted";
|
|
96
173
|
created_at: string;
|
|
97
174
|
} | null | undefined;
|
|
98
|
-
|
|
175
|
+
salto_ks_user_not_subscribed?: {
|
|
99
176
|
message: string;
|
|
100
|
-
warning_code: "
|
|
177
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
101
178
|
created_at: string;
|
|
102
179
|
} | null | undefined;
|
|
103
180
|
}>;
|
|
104
|
-
export declare const
|
|
181
|
+
export declare const acs_users_warnings: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
105
182
|
created_at: z.ZodString;
|
|
106
183
|
message: z.ZodString;
|
|
107
184
|
}, {
|
|
@@ -118,14 +195,14 @@ export declare const acs_users_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
|
118
195
|
created_at: z.ZodString;
|
|
119
196
|
message: z.ZodString;
|
|
120
197
|
}, {
|
|
121
|
-
warning_code: z.ZodLiteral<"
|
|
198
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
122
199
|
}>, "strip", z.ZodTypeAny, {
|
|
123
200
|
message: string;
|
|
124
|
-
warning_code: "
|
|
201
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
125
202
|
created_at: string;
|
|
126
203
|
}, {
|
|
127
204
|
message: string;
|
|
128
|
-
warning_code: "
|
|
205
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
129
206
|
created_at: string;
|
|
130
207
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
131
208
|
created_at: z.ZodString;
|
|
@@ -140,19 +217,6 @@ export declare const acs_users_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.ext
|
|
|
140
217
|
message: string;
|
|
141
218
|
warning_code: "salto_ks_user_not_subscribed";
|
|
142
219
|
created_at: string;
|
|
143
|
-
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
144
|
-
created_at: z.ZodString;
|
|
145
|
-
message: z.ZodString;
|
|
146
|
-
}, {
|
|
147
|
-
warning_code: z.ZodLiteral<"salto_site_user_suspended">;
|
|
148
|
-
}>, "strip", z.ZodTypeAny, {
|
|
149
|
-
message: string;
|
|
150
|
-
warning_code: "salto_site_user_suspended";
|
|
151
|
-
created_at: string;
|
|
152
|
-
}, {
|
|
153
|
-
message: string;
|
|
154
|
-
warning_code: "salto_site_user_suspended";
|
|
155
|
-
created_at: string;
|
|
156
220
|
}>]>;
|
|
157
221
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>;
|
|
158
222
|
export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
@@ -198,14 +262,14 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
198
262
|
created_at: z.ZodString;
|
|
199
263
|
message: z.ZodString;
|
|
200
264
|
}, {
|
|
201
|
-
warning_code: z.ZodLiteral<"
|
|
265
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
202
266
|
}>, "strip", z.ZodTypeAny, {
|
|
203
267
|
message: string;
|
|
204
|
-
warning_code: "
|
|
268
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
205
269
|
created_at: string;
|
|
206
270
|
}, {
|
|
207
271
|
message: string;
|
|
208
|
-
warning_code: "
|
|
272
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
209
273
|
created_at: string;
|
|
210
274
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
211
275
|
created_at: z.ZodString;
|
|
@@ -220,21 +284,73 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
220
284
|
message: string;
|
|
221
285
|
warning_code: "salto_ks_user_not_subscribed";
|
|
222
286
|
created_at: string;
|
|
287
|
+
}>]>, "many">;
|
|
288
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
289
|
+
created_at: z.ZodString;
|
|
290
|
+
message: z.ZodString;
|
|
291
|
+
}, {
|
|
292
|
+
error_code: z.ZodLiteral<"deleted_externally">;
|
|
293
|
+
}>, "strip", z.ZodTypeAny, {
|
|
294
|
+
message: string;
|
|
295
|
+
error_code: "deleted_externally";
|
|
296
|
+
created_at: string;
|
|
297
|
+
}, {
|
|
298
|
+
message: string;
|
|
299
|
+
error_code: "deleted_externally";
|
|
300
|
+
created_at: string;
|
|
301
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
302
|
+
created_at: z.ZodString;
|
|
303
|
+
message: z.ZodString;
|
|
304
|
+
}, {
|
|
305
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
306
|
+
}>, "strip", z.ZodTypeAny, {
|
|
307
|
+
message: string;
|
|
308
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
309
|
+
created_at: string;
|
|
310
|
+
}, {
|
|
311
|
+
message: string;
|
|
312
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
313
|
+
created_at: string;
|
|
223
314
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
224
315
|
created_at: z.ZodString;
|
|
225
316
|
message: z.ZodString;
|
|
226
317
|
}, {
|
|
227
|
-
warning_code: z.ZodLiteral<"
|
|
318
|
+
warning_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
|
|
228
319
|
}>, "strip", z.ZodTypeAny, {
|
|
229
320
|
message: string;
|
|
230
|
-
warning_code: "
|
|
321
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
231
322
|
created_at: string;
|
|
232
323
|
}, {
|
|
233
324
|
message: string;
|
|
234
|
-
warning_code: "
|
|
325
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
326
|
+
created_at: string;
|
|
327
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
328
|
+
created_at: z.ZodString;
|
|
329
|
+
message: z.ZodString;
|
|
330
|
+
}, {
|
|
331
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
332
|
+
}>, "strip", z.ZodTypeAny, {
|
|
333
|
+
message: string;
|
|
334
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
335
|
+
created_at: string;
|
|
336
|
+
}, {
|
|
337
|
+
message: string;
|
|
338
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
339
|
+
created_at: string;
|
|
340
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
341
|
+
created_at: z.ZodString;
|
|
342
|
+
message: z.ZodString;
|
|
343
|
+
}, {
|
|
344
|
+
warning_code: z.ZodLiteral<"failed_to_delete_on_acs_system">;
|
|
345
|
+
}>, "strip", z.ZodTypeAny, {
|
|
346
|
+
message: string;
|
|
347
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
348
|
+
created_at: string;
|
|
349
|
+
}, {
|
|
350
|
+
message: string;
|
|
351
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
235
352
|
created_at: string;
|
|
236
353
|
}>]>, "many">;
|
|
237
|
-
errors: z.ZodAny;
|
|
238
354
|
}, {
|
|
239
355
|
full_name: z.ZodOptional<z.ZodString>;
|
|
240
356
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -244,21 +360,38 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
244
360
|
is_managed: z.ZodLiteral<true>;
|
|
245
361
|
}>, "strip", z.ZodTypeAny, {
|
|
246
362
|
created_at: string;
|
|
247
|
-
|
|
363
|
+
errors: ({
|
|
248
364
|
message: string;
|
|
249
|
-
|
|
365
|
+
error_code: "deleted_externally";
|
|
250
366
|
created_at: string;
|
|
251
367
|
} | {
|
|
252
368
|
message: string;
|
|
253
|
-
|
|
369
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
370
|
+
created_at: string;
|
|
371
|
+
} | {
|
|
372
|
+
message: string;
|
|
373
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
374
|
+
created_at: string;
|
|
375
|
+
} | {
|
|
376
|
+
message: string;
|
|
377
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
254
378
|
created_at: string;
|
|
255
379
|
} | {
|
|
256
380
|
message: string;
|
|
257
|
-
warning_code: "
|
|
381
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
382
|
+
created_at: string;
|
|
383
|
+
})[];
|
|
384
|
+
warnings: ({
|
|
385
|
+
message: string;
|
|
386
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
258
387
|
created_at: string;
|
|
259
388
|
} | {
|
|
260
389
|
message: string;
|
|
261
|
-
warning_code: "
|
|
390
|
+
warning_code: "being_deleted";
|
|
391
|
+
created_at: string;
|
|
392
|
+
} | {
|
|
393
|
+
message: string;
|
|
394
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
262
395
|
created_at: string;
|
|
263
396
|
})[];
|
|
264
397
|
display_name: string;
|
|
@@ -268,7 +401,6 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
268
401
|
acs_user_id: string;
|
|
269
402
|
is_suspended: boolean;
|
|
270
403
|
email?: string | undefined;
|
|
271
|
-
errors?: any;
|
|
272
404
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
273
405
|
external_type_display_name?: string | undefined;
|
|
274
406
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -287,21 +419,38 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
287
419
|
user_identity_phone_number?: string | null | undefined;
|
|
288
420
|
}, {
|
|
289
421
|
created_at: string;
|
|
290
|
-
|
|
422
|
+
errors: ({
|
|
291
423
|
message: string;
|
|
292
|
-
|
|
424
|
+
error_code: "deleted_externally";
|
|
293
425
|
created_at: string;
|
|
294
426
|
} | {
|
|
295
427
|
message: string;
|
|
296
|
-
|
|
428
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
429
|
+
created_at: string;
|
|
430
|
+
} | {
|
|
431
|
+
message: string;
|
|
432
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
297
433
|
created_at: string;
|
|
298
434
|
} | {
|
|
299
435
|
message: string;
|
|
300
|
-
warning_code: "
|
|
436
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
301
437
|
created_at: string;
|
|
302
438
|
} | {
|
|
303
439
|
message: string;
|
|
304
|
-
warning_code: "
|
|
440
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
441
|
+
created_at: string;
|
|
442
|
+
})[];
|
|
443
|
+
warnings: ({
|
|
444
|
+
message: string;
|
|
445
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
446
|
+
created_at: string;
|
|
447
|
+
} | {
|
|
448
|
+
message: string;
|
|
449
|
+
warning_code: "being_deleted";
|
|
450
|
+
created_at: string;
|
|
451
|
+
} | {
|
|
452
|
+
message: string;
|
|
453
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
305
454
|
created_at: string;
|
|
306
455
|
})[];
|
|
307
456
|
display_name: string;
|
|
@@ -311,7 +460,6 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
311
460
|
acs_user_id: string;
|
|
312
461
|
is_suspended: boolean;
|
|
313
462
|
email?: string | undefined;
|
|
314
|
-
errors?: any;
|
|
315
463
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
316
464
|
external_type_display_name?: string | undefined;
|
|
317
465
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -372,14 +520,14 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
372
520
|
created_at: z.ZodString;
|
|
373
521
|
message: z.ZodString;
|
|
374
522
|
}, {
|
|
375
|
-
warning_code: z.ZodLiteral<"
|
|
523
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
376
524
|
}>, "strip", z.ZodTypeAny, {
|
|
377
525
|
message: string;
|
|
378
|
-
warning_code: "
|
|
526
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
379
527
|
created_at: string;
|
|
380
528
|
}, {
|
|
381
529
|
message: string;
|
|
382
|
-
warning_code: "
|
|
530
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
383
531
|
created_at: string;
|
|
384
532
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
385
533
|
created_at: z.ZodString;
|
|
@@ -394,21 +542,73 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
394
542
|
message: string;
|
|
395
543
|
warning_code: "salto_ks_user_not_subscribed";
|
|
396
544
|
created_at: string;
|
|
545
|
+
}>]>, "many">;
|
|
546
|
+
errors: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
547
|
+
created_at: z.ZodString;
|
|
548
|
+
message: z.ZodString;
|
|
549
|
+
}, {
|
|
550
|
+
error_code: z.ZodLiteral<"deleted_externally">;
|
|
551
|
+
}>, "strip", z.ZodTypeAny, {
|
|
552
|
+
message: string;
|
|
553
|
+
error_code: "deleted_externally";
|
|
554
|
+
created_at: string;
|
|
555
|
+
}, {
|
|
556
|
+
message: string;
|
|
557
|
+
error_code: "deleted_externally";
|
|
558
|
+
created_at: string;
|
|
397
559
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
398
560
|
created_at: z.ZodString;
|
|
399
561
|
message: z.ZodString;
|
|
400
562
|
}, {
|
|
401
|
-
|
|
563
|
+
error_code: z.ZodLiteral<"salto_ks_subscription_limit_exceeded">;
|
|
402
564
|
}>, "strip", z.ZodTypeAny, {
|
|
403
565
|
message: string;
|
|
404
|
-
|
|
566
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
405
567
|
created_at: string;
|
|
406
568
|
}, {
|
|
407
569
|
message: string;
|
|
408
|
-
|
|
570
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
571
|
+
created_at: string;
|
|
572
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
573
|
+
created_at: z.ZodString;
|
|
574
|
+
message: z.ZodString;
|
|
575
|
+
}, {
|
|
576
|
+
warning_code: z.ZodLiteral<"failed_to_create_on_acs_system">;
|
|
577
|
+
}>, "strip", z.ZodTypeAny, {
|
|
578
|
+
message: string;
|
|
579
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
580
|
+
created_at: string;
|
|
581
|
+
}, {
|
|
582
|
+
message: string;
|
|
583
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
584
|
+
created_at: string;
|
|
585
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
586
|
+
created_at: z.ZodString;
|
|
587
|
+
message: z.ZodString;
|
|
588
|
+
}, {
|
|
589
|
+
warning_code: z.ZodLiteral<"failed_to_update_on_acs_system">;
|
|
590
|
+
}>, "strip", z.ZodTypeAny, {
|
|
591
|
+
message: string;
|
|
592
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
593
|
+
created_at: string;
|
|
594
|
+
}, {
|
|
595
|
+
message: string;
|
|
596
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
597
|
+
created_at: string;
|
|
598
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
599
|
+
created_at: z.ZodString;
|
|
600
|
+
message: z.ZodString;
|
|
601
|
+
}, {
|
|
602
|
+
warning_code: z.ZodLiteral<"failed_to_delete_on_acs_system">;
|
|
603
|
+
}>, "strip", z.ZodTypeAny, {
|
|
604
|
+
message: string;
|
|
605
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
606
|
+
created_at: string;
|
|
607
|
+
}, {
|
|
608
|
+
message: string;
|
|
609
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
409
610
|
created_at: string;
|
|
410
611
|
}>]>, "many">;
|
|
411
|
-
errors: z.ZodAny;
|
|
412
612
|
}, {
|
|
413
613
|
full_name: z.ZodOptional<z.ZodString>;
|
|
414
614
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -418,21 +618,38 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
418
618
|
is_managed: z.ZodLiteral<false>;
|
|
419
619
|
}>, "strip", z.ZodTypeAny, {
|
|
420
620
|
created_at: string;
|
|
421
|
-
|
|
621
|
+
errors: ({
|
|
422
622
|
message: string;
|
|
423
|
-
|
|
623
|
+
error_code: "deleted_externally";
|
|
424
624
|
created_at: string;
|
|
425
625
|
} | {
|
|
426
626
|
message: string;
|
|
427
|
-
|
|
627
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
428
628
|
created_at: string;
|
|
429
629
|
} | {
|
|
430
630
|
message: string;
|
|
431
|
-
warning_code: "
|
|
631
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
432
632
|
created_at: string;
|
|
433
633
|
} | {
|
|
434
634
|
message: string;
|
|
435
|
-
warning_code: "
|
|
635
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
636
|
+
created_at: string;
|
|
637
|
+
} | {
|
|
638
|
+
message: string;
|
|
639
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
640
|
+
created_at: string;
|
|
641
|
+
})[];
|
|
642
|
+
warnings: ({
|
|
643
|
+
message: string;
|
|
644
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
645
|
+
created_at: string;
|
|
646
|
+
} | {
|
|
647
|
+
message: string;
|
|
648
|
+
warning_code: "being_deleted";
|
|
649
|
+
created_at: string;
|
|
650
|
+
} | {
|
|
651
|
+
message: string;
|
|
652
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
436
653
|
created_at: string;
|
|
437
654
|
})[];
|
|
438
655
|
display_name: string;
|
|
@@ -442,7 +659,6 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
442
659
|
acs_user_id: string;
|
|
443
660
|
is_suspended: boolean;
|
|
444
661
|
email?: string | undefined;
|
|
445
|
-
errors?: any;
|
|
446
662
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
447
663
|
external_type_display_name?: string | undefined;
|
|
448
664
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -461,21 +677,38 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
461
677
|
user_identity_phone_number?: string | null | undefined;
|
|
462
678
|
}, {
|
|
463
679
|
created_at: string;
|
|
464
|
-
|
|
680
|
+
errors: ({
|
|
465
681
|
message: string;
|
|
466
|
-
|
|
682
|
+
error_code: "deleted_externally";
|
|
467
683
|
created_at: string;
|
|
468
684
|
} | {
|
|
469
685
|
message: string;
|
|
470
|
-
|
|
686
|
+
error_code: "salto_ks_subscription_limit_exceeded";
|
|
471
687
|
created_at: string;
|
|
472
688
|
} | {
|
|
473
689
|
message: string;
|
|
474
|
-
warning_code: "
|
|
690
|
+
warning_code: "failed_to_create_on_acs_system";
|
|
475
691
|
created_at: string;
|
|
476
692
|
} | {
|
|
477
693
|
message: string;
|
|
478
|
-
warning_code: "
|
|
694
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
695
|
+
created_at: string;
|
|
696
|
+
} | {
|
|
697
|
+
message: string;
|
|
698
|
+
warning_code: "failed_to_delete_on_acs_system";
|
|
699
|
+
created_at: string;
|
|
700
|
+
})[];
|
|
701
|
+
warnings: ({
|
|
702
|
+
message: string;
|
|
703
|
+
warning_code: "failed_to_update_on_acs_system";
|
|
704
|
+
created_at: string;
|
|
705
|
+
} | {
|
|
706
|
+
message: string;
|
|
707
|
+
warning_code: "being_deleted";
|
|
708
|
+
created_at: string;
|
|
709
|
+
} | {
|
|
710
|
+
message: string;
|
|
711
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
479
712
|
created_at: string;
|
|
480
713
|
})[];
|
|
481
714
|
display_name: string;
|
|
@@ -485,7 +718,6 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
485
718
|
acs_user_id: string;
|
|
486
719
|
is_suspended: boolean;
|
|
487
720
|
email?: string | undefined;
|
|
488
|
-
errors?: any;
|
|
489
721
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
490
722
|
external_type_display_name?: string | undefined;
|
|
491
723
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|