@seamapi/types 1.236.0 → 1.238.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 +173 -42
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +223 -56
- package/lib/seam/connect/models/acs/acs-user.d.ts +178 -14
- package/lib/seam/connect/models/acs/acs-user.js +19 -4
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -0
- package/lib/seam/connect/models/devices/device-provider.js +1 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.d.ts +55 -42
- package/lib/seam/connect/openapi.js +153 -32
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +65 -2
- package/package.json +2 -2
- package/src/lib/seam/connect/models/acs/acs-user.ts +21 -5
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +153 -32
- package/src/lib/seam/connect/route-types.ts +128 -35
|
@@ -16,20 +16,68 @@ export declare const acs_users_warning_map: z.ZodObject<{
|
|
|
16
16
|
warning_code: "being_deleted";
|
|
17
17
|
created_at: string;
|
|
18
18
|
}>>>;
|
|
19
|
+
salto_ks_user_not_subscribed: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
20
|
+
created_at: z.ZodString;
|
|
21
|
+
message: z.ZodString;
|
|
22
|
+
}, {
|
|
23
|
+
warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
24
|
+
}>, "strip", z.ZodTypeAny, {
|
|
25
|
+
message: string;
|
|
26
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
27
|
+
created_at: string;
|
|
28
|
+
}, {
|
|
29
|
+
message: string;
|
|
30
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
31
|
+
created_at: string;
|
|
32
|
+
}>>>;
|
|
33
|
+
salto_site_user_suspended: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
34
|
+
created_at: z.ZodString;
|
|
35
|
+
message: z.ZodString;
|
|
36
|
+
}, {
|
|
37
|
+
warning_code: z.ZodLiteral<"salto_site_user_suspended">;
|
|
38
|
+
}>, "strip", z.ZodTypeAny, {
|
|
39
|
+
message: string;
|
|
40
|
+
warning_code: "salto_site_user_suspended";
|
|
41
|
+
created_at: string;
|
|
42
|
+
}, {
|
|
43
|
+
message: string;
|
|
44
|
+
warning_code: "salto_site_user_suspended";
|
|
45
|
+
created_at: string;
|
|
46
|
+
}>>>;
|
|
19
47
|
}, "strip", z.ZodTypeAny, {
|
|
20
48
|
being_deleted?: {
|
|
21
49
|
message: string;
|
|
22
50
|
warning_code: "being_deleted";
|
|
23
51
|
created_at: string;
|
|
24
52
|
} | null | undefined;
|
|
53
|
+
salto_ks_user_not_subscribed?: {
|
|
54
|
+
message: string;
|
|
55
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
56
|
+
created_at: string;
|
|
57
|
+
} | null | undefined;
|
|
58
|
+
salto_site_user_suspended?: {
|
|
59
|
+
message: string;
|
|
60
|
+
warning_code: "salto_site_user_suspended";
|
|
61
|
+
created_at: string;
|
|
62
|
+
} | null | undefined;
|
|
25
63
|
}, {
|
|
26
64
|
being_deleted?: {
|
|
27
65
|
message: string;
|
|
28
66
|
warning_code: "being_deleted";
|
|
29
67
|
created_at: string;
|
|
30
68
|
} | null | undefined;
|
|
69
|
+
salto_ks_user_not_subscribed?: {
|
|
70
|
+
message: string;
|
|
71
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
72
|
+
created_at: string;
|
|
73
|
+
} | null | undefined;
|
|
74
|
+
salto_site_user_suspended?: {
|
|
75
|
+
message: string;
|
|
76
|
+
warning_code: "salto_site_user_suspended";
|
|
77
|
+
created_at: string;
|
|
78
|
+
} | null | undefined;
|
|
31
79
|
}>;
|
|
32
|
-
export declare const acs_users_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
80
|
+
export declare const acs_users_warning: z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
33
81
|
created_at: z.ZodString;
|
|
34
82
|
message: z.ZodString;
|
|
35
83
|
}, {
|
|
@@ -42,7 +90,33 @@ export declare const acs_users_warning: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
42
90
|
message: string;
|
|
43
91
|
warning_code: "being_deleted";
|
|
44
92
|
created_at: string;
|
|
45
|
-
}
|
|
93
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
94
|
+
created_at: z.ZodString;
|
|
95
|
+
message: z.ZodString;
|
|
96
|
+
}, {
|
|
97
|
+
warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
98
|
+
}>, "strip", z.ZodTypeAny, {
|
|
99
|
+
message: string;
|
|
100
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
101
|
+
created_at: string;
|
|
102
|
+
}, {
|
|
103
|
+
message: string;
|
|
104
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
105
|
+
created_at: string;
|
|
106
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
107
|
+
created_at: z.ZodString;
|
|
108
|
+
message: z.ZodString;
|
|
109
|
+
}, {
|
|
110
|
+
warning_code: z.ZodLiteral<"salto_site_user_suspended">;
|
|
111
|
+
}>, "strip", z.ZodTypeAny, {
|
|
112
|
+
message: string;
|
|
113
|
+
warning_code: "salto_site_user_suspended";
|
|
114
|
+
created_at: string;
|
|
115
|
+
}, {
|
|
116
|
+
message: string;
|
|
117
|
+
warning_code: "salto_site_user_suspended";
|
|
118
|
+
created_at: string;
|
|
119
|
+
}>]>;
|
|
46
120
|
export type AcsUsersWarningMap = z.infer<typeof acs_users_warning_map>;
|
|
47
121
|
export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil.extendShape<{
|
|
48
122
|
acs_user_id: z.ZodString;
|
|
@@ -70,7 +144,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
70
144
|
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
71
145
|
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
72
146
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
73
|
-
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
147
|
+
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
74
148
|
created_at: z.ZodString;
|
|
75
149
|
message: z.ZodString;
|
|
76
150
|
}, {
|
|
@@ -83,7 +157,34 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
83
157
|
message: string;
|
|
84
158
|
warning_code: "being_deleted";
|
|
85
159
|
created_at: string;
|
|
86
|
-
}>,
|
|
160
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
161
|
+
created_at: z.ZodString;
|
|
162
|
+
message: z.ZodString;
|
|
163
|
+
}, {
|
|
164
|
+
warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
165
|
+
}>, "strip", z.ZodTypeAny, {
|
|
166
|
+
message: string;
|
|
167
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
168
|
+
created_at: string;
|
|
169
|
+
}, {
|
|
170
|
+
message: string;
|
|
171
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
172
|
+
created_at: string;
|
|
173
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
174
|
+
created_at: z.ZodString;
|
|
175
|
+
message: z.ZodString;
|
|
176
|
+
}, {
|
|
177
|
+
warning_code: z.ZodLiteral<"salto_site_user_suspended">;
|
|
178
|
+
}>, "strip", z.ZodTypeAny, {
|
|
179
|
+
message: string;
|
|
180
|
+
warning_code: "salto_site_user_suspended";
|
|
181
|
+
created_at: string;
|
|
182
|
+
}, {
|
|
183
|
+
message: string;
|
|
184
|
+
warning_code: "salto_site_user_suspended";
|
|
185
|
+
created_at: string;
|
|
186
|
+
}>]>, "many">;
|
|
187
|
+
errors: z.ZodAny;
|
|
87
188
|
}, {
|
|
88
189
|
full_name: z.ZodOptional<z.ZodString>;
|
|
89
190
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -93,11 +194,19 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
93
194
|
is_managed: z.ZodLiteral<true>;
|
|
94
195
|
}>, "strip", z.ZodTypeAny, {
|
|
95
196
|
created_at: string;
|
|
96
|
-
warnings: {
|
|
197
|
+
warnings: ({
|
|
97
198
|
message: string;
|
|
98
199
|
warning_code: "being_deleted";
|
|
99
200
|
created_at: string;
|
|
100
|
-
}
|
|
201
|
+
} | {
|
|
202
|
+
message: string;
|
|
203
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
204
|
+
created_at: string;
|
|
205
|
+
} | {
|
|
206
|
+
message: string;
|
|
207
|
+
warning_code: "salto_site_user_suspended";
|
|
208
|
+
created_at: string;
|
|
209
|
+
})[];
|
|
101
210
|
display_name: string;
|
|
102
211
|
workspace_id: string;
|
|
103
212
|
is_managed: true;
|
|
@@ -105,6 +214,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
105
214
|
acs_user_id: string;
|
|
106
215
|
is_suspended: boolean;
|
|
107
216
|
email?: string | undefined;
|
|
217
|
+
errors?: any;
|
|
108
218
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
109
219
|
external_type_display_name?: string | undefined;
|
|
110
220
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -123,11 +233,19 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
123
233
|
user_identity_phone_number?: string | null | undefined;
|
|
124
234
|
}, {
|
|
125
235
|
created_at: string;
|
|
126
|
-
warnings: {
|
|
236
|
+
warnings: ({
|
|
127
237
|
message: string;
|
|
128
238
|
warning_code: "being_deleted";
|
|
129
239
|
created_at: string;
|
|
130
|
-
}
|
|
240
|
+
} | {
|
|
241
|
+
message: string;
|
|
242
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
243
|
+
created_at: string;
|
|
244
|
+
} | {
|
|
245
|
+
message: string;
|
|
246
|
+
warning_code: "salto_site_user_suspended";
|
|
247
|
+
created_at: string;
|
|
248
|
+
})[];
|
|
131
249
|
display_name: string;
|
|
132
250
|
workspace_id: string;
|
|
133
251
|
is_managed: true;
|
|
@@ -135,6 +253,7 @@ export declare const acs_user: z.ZodObject<z.objectUtil.extendShape<z.objectUtil
|
|
|
135
253
|
acs_user_id: string;
|
|
136
254
|
is_suspended: boolean;
|
|
137
255
|
email?: string | undefined;
|
|
256
|
+
errors?: any;
|
|
138
257
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
139
258
|
external_type_display_name?: string | undefined;
|
|
140
259
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -178,7 +297,7 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
178
297
|
user_identity_phone_number: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
179
298
|
latest_desired_state_synced_with_provider_at: z.ZodOptional<z.ZodString>;
|
|
180
299
|
is_latest_desired_state_synced_with_provider: z.ZodOptional<z.ZodBoolean>;
|
|
181
|
-
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
300
|
+
warnings: z.ZodArray<z.ZodUnion<[z.ZodObject<z.objectUtil.extendShape<{
|
|
182
301
|
created_at: z.ZodString;
|
|
183
302
|
message: z.ZodString;
|
|
184
303
|
}, {
|
|
@@ -191,7 +310,34 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
191
310
|
message: string;
|
|
192
311
|
warning_code: "being_deleted";
|
|
193
312
|
created_at: string;
|
|
194
|
-
}>,
|
|
313
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
314
|
+
created_at: z.ZodString;
|
|
315
|
+
message: z.ZodString;
|
|
316
|
+
}, {
|
|
317
|
+
warning_code: z.ZodLiteral<"salto_ks_user_not_subscribed">;
|
|
318
|
+
}>, "strip", z.ZodTypeAny, {
|
|
319
|
+
message: string;
|
|
320
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
321
|
+
created_at: string;
|
|
322
|
+
}, {
|
|
323
|
+
message: string;
|
|
324
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
325
|
+
created_at: string;
|
|
326
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
327
|
+
created_at: z.ZodString;
|
|
328
|
+
message: z.ZodString;
|
|
329
|
+
}, {
|
|
330
|
+
warning_code: z.ZodLiteral<"salto_site_user_suspended">;
|
|
331
|
+
}>, "strip", z.ZodTypeAny, {
|
|
332
|
+
message: string;
|
|
333
|
+
warning_code: "salto_site_user_suspended";
|
|
334
|
+
created_at: string;
|
|
335
|
+
}, {
|
|
336
|
+
message: string;
|
|
337
|
+
warning_code: "salto_site_user_suspended";
|
|
338
|
+
created_at: string;
|
|
339
|
+
}>]>, "many">;
|
|
340
|
+
errors: z.ZodAny;
|
|
195
341
|
}, {
|
|
196
342
|
full_name: z.ZodOptional<z.ZodString>;
|
|
197
343
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -201,11 +347,19 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
201
347
|
is_managed: z.ZodLiteral<false>;
|
|
202
348
|
}>, "strip", z.ZodTypeAny, {
|
|
203
349
|
created_at: string;
|
|
204
|
-
warnings: {
|
|
350
|
+
warnings: ({
|
|
205
351
|
message: string;
|
|
206
352
|
warning_code: "being_deleted";
|
|
207
353
|
created_at: string;
|
|
208
|
-
}
|
|
354
|
+
} | {
|
|
355
|
+
message: string;
|
|
356
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
357
|
+
created_at: string;
|
|
358
|
+
} | {
|
|
359
|
+
message: string;
|
|
360
|
+
warning_code: "salto_site_user_suspended";
|
|
361
|
+
created_at: string;
|
|
362
|
+
})[];
|
|
209
363
|
display_name: string;
|
|
210
364
|
workspace_id: string;
|
|
211
365
|
is_managed: false;
|
|
@@ -213,6 +367,7 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
213
367
|
acs_user_id: string;
|
|
214
368
|
is_suspended: boolean;
|
|
215
369
|
email?: string | undefined;
|
|
370
|
+
errors?: any;
|
|
216
371
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
217
372
|
external_type_display_name?: string | undefined;
|
|
218
373
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -231,11 +386,19 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
231
386
|
user_identity_phone_number?: string | null | undefined;
|
|
232
387
|
}, {
|
|
233
388
|
created_at: string;
|
|
234
|
-
warnings: {
|
|
389
|
+
warnings: ({
|
|
235
390
|
message: string;
|
|
236
391
|
warning_code: "being_deleted";
|
|
237
392
|
created_at: string;
|
|
238
|
-
}
|
|
393
|
+
} | {
|
|
394
|
+
message: string;
|
|
395
|
+
warning_code: "salto_ks_user_not_subscribed";
|
|
396
|
+
created_at: string;
|
|
397
|
+
} | {
|
|
398
|
+
message: string;
|
|
399
|
+
warning_code: "salto_site_user_suspended";
|
|
400
|
+
created_at: string;
|
|
401
|
+
})[];
|
|
239
402
|
display_name: string;
|
|
240
403
|
workspace_id: string;
|
|
241
404
|
is_managed: false;
|
|
@@ -243,6 +406,7 @@ export declare const unmanaged_acs_user: z.ZodObject<z.objectUtil.extendShape<z.
|
|
|
243
406
|
acs_user_id: string;
|
|
244
407
|
is_suspended: boolean;
|
|
245
408
|
email?: string | undefined;
|
|
409
|
+
errors?: any;
|
|
246
410
|
external_type?: "pti_user" | "brivo_user" | "hid_credential_manager_user" | "salto_site_user" | "latch_user" | undefined;
|
|
247
411
|
external_type_display_name?: string | undefined;
|
|
248
412
|
is_latest_desired_state_synced_with_provider?: boolean | undefined;
|
|
@@ -15,13 +15,27 @@ const common_acs_users_warning = z.object({
|
|
|
15
15
|
const acs_users_being_deleted = common_acs_users_warning.extend({
|
|
16
16
|
warning_code: z.literal('being_deleted'),
|
|
17
17
|
});
|
|
18
|
+
const acs_users_salto_ks_user_not_subscribed = common_acs_users_warning.extend({
|
|
19
|
+
warning_code: z.literal('salto_ks_user_not_subscribed'),
|
|
20
|
+
});
|
|
21
|
+
// TODO: Some acs_users already have this warning, so we need to keep it here until we migrate
|
|
22
|
+
const acs_users_salto_site_user_suspended = common_acs_users_warning.extend({
|
|
23
|
+
warning_code: z.literal('salto_site_user_suspended'),
|
|
24
|
+
});
|
|
18
25
|
export const acs_users_warning_map = z.object({
|
|
19
26
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
27
|
+
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed
|
|
28
|
+
.optional()
|
|
29
|
+
.nullable(),
|
|
30
|
+
salto_site_user_suspended: acs_users_salto_site_user_suspended
|
|
31
|
+
.optional()
|
|
32
|
+
.nullable(),
|
|
20
33
|
});
|
|
21
|
-
export const acs_users_warning =
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
34
|
+
export const acs_users_warning = z.union([
|
|
35
|
+
acs_users_being_deleted,
|
|
36
|
+
acs_users_salto_ks_user_not_subscribed,
|
|
37
|
+
acs_users_salto_site_user_suspended,
|
|
38
|
+
]);
|
|
25
39
|
const user_fields = z.object({
|
|
26
40
|
full_name: z.string().optional(),
|
|
27
41
|
email: z.string().email().optional().describe(`
|
|
@@ -54,6 +68,7 @@ const common_acs_user = z
|
|
|
54
68
|
.optional(),
|
|
55
69
|
is_latest_desired_state_synced_with_provider: z.boolean().optional(),
|
|
56
70
|
warnings: z.array(acs_users_warning),
|
|
71
|
+
errors: z.any(),
|
|
57
72
|
})
|
|
58
73
|
.merge(user_fields);
|
|
59
74
|
export const acs_user = common_acs_user.merge(z.object({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC,MAAM,sBAAsB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC3C,UAAU;IACV,YAAY;IACZ,6BAA6B;IAC7B,iBAAiB;IACjB,YAAY;CACb,CAAC,CAAA;AAIF,MAAM,wBAAwB,GAAG,CAAC,CAAC,MAAM,CAAC;IACxC,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACjC,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE;CACpB,CAAC,CAAA;AAEF,MAAM,uBAAuB,GAAG,wBAAwB,CAAC,MAAM,CAAC;IAC9D,YAAY,EAAE,CAAC,CAAC,OAAO,CAAC,eAAe,CAAC;CACzC,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,aAAa,EAAE,uBAAuB,CAAC,QAAQ,EAAE,CAAC,QAAQ,EAAE;
|
|
1
|
+
{"version":3,"file":"acs-user.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-user.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACjD,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAEzC,MAAM,CAAC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ACV,QAAQ,EAAE;IACb,4CAA4C,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;IACpE,QAAQ,EAAE,CAAC,CAAC,KAAK,CAAC,iBAAiB,CAAC;IACpC,MAAM,EAAE,CAAC,CAAC,GAAG,EAAE;CAChB,CAAC;KACD,KAAK,CAAC,WAAW,CAAC,CAAA;AAErB,MAAM,CAAC,MAAM,QAAQ,GAAG,eAAe,CAAC,KAAK,CAC3C,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,IAAI,CAAC;CAC5B,CAAC,CACH,CAAA;AAED,MAAM,CAAC,MAAM,kBAAkB,GAAG,eAAe,CAAC,KAAK,CACrD,CAAC,CAAC,MAAM,CAAC;IACP,UAAU,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,CAAC;CAC7B,CAAC,CACH,CAAA"}
|
|
@@ -37,6 +37,7 @@ export declare const DEVICE_PROVIDERS: {
|
|
|
37
37
|
readonly TEDEE: "tedee";
|
|
38
38
|
readonly HONEYWELL_RESIDEO: "honeywell_resideo";
|
|
39
39
|
readonly LATCH: "latch";
|
|
40
|
+
readonly AKILES: "akiles";
|
|
40
41
|
};
|
|
41
42
|
export type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
42
43
|
export declare const ALL_DEVICE_PROVIDERS: [
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,OAAO;IACd,QAAQ,EAAE,UAAU;IACpB,KAAK,EAAE,OAAO;IACd,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,UAAU,EAAE,YAAY;IACxB,IAAI,EAAE,MAAM;IACZ,gBAAgB,EAAE,kBAAkB;IACpC,KAAK,EAAE,OAAO;IACd,OAAO,EAAE,SAAS;IAClB,KAAK,EAAE,OAAO;IACd,KAAK,EAAE,OAAO;IACd,YAAY,EAAE,cAAc;IAC5B,IAAI,EAAE,MAAM;IACZ,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE,QAAQ;IAChB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,iBAAiB,EAAE,mBAAmB;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;IACZ,aAAa,EAAE,eAAe;IAC9B,UAAU,EAAE,YAAY;IACxB,6BAA6B,EAAE,+BAA+B;IAC9D,WAAW,EAAE,aAAa;IAC1B,KAAK,EAAE,OAAO;IACd,iBAAiB,EAAE,mBAAmB;IACtC,KAAK,EAAE,OAAO;
|
|
1
|
+
{"version":3,"file":"device-provider.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/devices/device-provider.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,OAAO,EAAE,uBAAuB,EAAE,MAAM,aAAa,CAAA;AAErD,MAAM,CAAC,MAAM,gBAAgB,GAAG;IAC9B,MAAM,EAAE,QAAQ;IAChB,MAAM,EAAE,QAAQ;IAChB,aAAa,EAAE,eAAe;IAC9B,KAAK,EAAE,OAAO;IACd,WAAW,EAAE,aAAa;IAC1B,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;IAC1B,IA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AE;QACnB,QAAQ;QACR,SAAS;QACT,MAAM;QACN,aAAa;QACb,MAAM;QACN,QAAQ;QACR,SAAS;QACT,WAAW;QACX,MAAM;QACN,QAAQ;QACR,OAAO;KACR;IAED,WAAW,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC/B,aAAa,EAAE,CAAC,OAAO,EAAE,YAAY,CAAC;IACtC,sBAAsB,EAAE;QACtB,KAAK;QACL,YAAY;QACZ,+BAA+B;QAC/B,OAAO;KACR;IAED,aAAa,EAAE,oBAAoB;CAC6B,CAAA;AAElE,MAAM,CAAC,MAAM,mBAAmB,GAC9B,MAAM,CAAC,IAAI,CAAC,qBAAqB,CAAQ,CAAA;AAE3C,MAAM,CAAC,MAAM,0BAA0B,GACrC,mBAAmB,CAAC,MAAM,CAAC,CAAC,QAAQ,EAAE,EAAE,CAAC,QAAQ,KAAK,eAAe,CAAQ,CAAA;AAE/E,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC;KAC7B,MAAM,CAAC;IACN,oBAAoB,EAAE,CAAC,CAAC,IAAI,CAAC,oBAAoB,CAAC;IAClD,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,SAAS,EAAE,CAAC,CAAC,MAAM,EAAE;IACrB,mBAAmB,EAAE,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,0BAA0B,CAAC,CAAC;CACjE,CAAC;KACD,MAAM,CAAC,uBAAuB,CAAC,KAAK,CAAC,CAAA"}
|
|
@@ -714,6 +714,7 @@ declare const _default: {
|
|
|
714
714
|
format: string;
|
|
715
715
|
type: string;
|
|
716
716
|
};
|
|
717
|
+
errors: {};
|
|
717
718
|
external_type: {
|
|
718
719
|
enum: string[];
|
|
719
720
|
type: string;
|
|
@@ -762,21 +763,23 @@ declare const _default: {
|
|
|
762
763
|
};
|
|
763
764
|
warnings: {
|
|
764
765
|
items: {
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
766
|
+
oneOf: {
|
|
767
|
+
properties: {
|
|
768
|
+
created_at: {
|
|
769
|
+
format: string;
|
|
770
|
+
type: string;
|
|
771
|
+
};
|
|
772
|
+
message: {
|
|
773
|
+
type: string;
|
|
774
|
+
};
|
|
775
|
+
warning_code: {
|
|
776
|
+
enum: string[];
|
|
777
|
+
type: string;
|
|
778
|
+
};
|
|
776
779
|
};
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
+
required: string[];
|
|
781
|
+
type: string;
|
|
782
|
+
}[];
|
|
780
783
|
};
|
|
781
784
|
type: string;
|
|
782
785
|
};
|
|
@@ -8869,6 +8872,9 @@ declare const _default: {
|
|
|
8869
8872
|
format: string;
|
|
8870
8873
|
type: string;
|
|
8871
8874
|
};
|
|
8875
|
+
errors: {
|
|
8876
|
+
$ref: string;
|
|
8877
|
+
};
|
|
8872
8878
|
external_type: {
|
|
8873
8879
|
enum: string[];
|
|
8874
8880
|
type: string;
|
|
@@ -8917,21 +8923,23 @@ declare const _default: {
|
|
|
8917
8923
|
};
|
|
8918
8924
|
warnings: {
|
|
8919
8925
|
items: {
|
|
8920
|
-
|
|
8921
|
-
|
|
8922
|
-
|
|
8923
|
-
|
|
8924
|
-
|
|
8925
|
-
|
|
8926
|
-
|
|
8927
|
-
|
|
8928
|
-
|
|
8929
|
-
|
|
8930
|
-
|
|
8926
|
+
oneOf: {
|
|
8927
|
+
properties: {
|
|
8928
|
+
created_at: {
|
|
8929
|
+
format: string;
|
|
8930
|
+
type: string;
|
|
8931
|
+
};
|
|
8932
|
+
message: {
|
|
8933
|
+
type: string;
|
|
8934
|
+
};
|
|
8935
|
+
warning_code: {
|
|
8936
|
+
enum: string[];
|
|
8937
|
+
type: string;
|
|
8938
|
+
};
|
|
8931
8939
|
};
|
|
8932
|
-
|
|
8933
|
-
|
|
8934
|
-
|
|
8940
|
+
required: string[];
|
|
8941
|
+
type: string;
|
|
8942
|
+
}[];
|
|
8935
8943
|
};
|
|
8936
8944
|
type: string;
|
|
8937
8945
|
};
|
|
@@ -9062,6 +9070,9 @@ declare const _default: {
|
|
|
9062
9070
|
format: string;
|
|
9063
9071
|
type: string;
|
|
9064
9072
|
};
|
|
9073
|
+
errors: {
|
|
9074
|
+
$ref: string;
|
|
9075
|
+
};
|
|
9065
9076
|
external_type: {
|
|
9066
9077
|
enum: string[];
|
|
9067
9078
|
type: string;
|
|
@@ -9110,21 +9121,23 @@ declare const _default: {
|
|
|
9110
9121
|
};
|
|
9111
9122
|
warnings: {
|
|
9112
9123
|
items: {
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9118
|
-
|
|
9119
|
-
|
|
9120
|
-
|
|
9121
|
-
|
|
9122
|
-
|
|
9123
|
-
|
|
9124
|
+
oneOf: {
|
|
9125
|
+
properties: {
|
|
9126
|
+
created_at: {
|
|
9127
|
+
format: string;
|
|
9128
|
+
type: string;
|
|
9129
|
+
};
|
|
9130
|
+
message: {
|
|
9131
|
+
type: string;
|
|
9132
|
+
};
|
|
9133
|
+
warning_code: {
|
|
9134
|
+
enum: string[];
|
|
9135
|
+
type: string;
|
|
9136
|
+
};
|
|
9124
9137
|
};
|
|
9125
|
-
|
|
9126
|
-
|
|
9127
|
-
|
|
9138
|
+
required: string[];
|
|
9139
|
+
type: string;
|
|
9140
|
+
}[];
|
|
9128
9141
|
};
|
|
9129
9142
|
type: string;
|
|
9130
9143
|
};
|