@seamapi/types 1.237.0 → 1.239.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 +36 -5
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +52 -2
- package/lib/seam/connect/models/acs/acs-system.d.ts +45 -0
- package/lib/seam/connect/models/acs/acs-system.js +9 -0
- package/lib/seam/connect/models/acs/acs-system.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +2 -1
- package/lib/seam/connect/models/devices/device-provider.js +2 -0
- package/lib/seam/connect/models/devices/device-provider.js.map +1 -1
- package/lib/seam/connect/openapi.js +22 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +30 -2
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +11 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +2 -0
- package/src/lib/seam/connect/openapi.ts +25 -0
- package/src/lib/seam/connect/route-types.ts +34 -0
package/dist/connect.d.cts
CHANGED
|
@@ -836,6 +836,19 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
836
836
|
message: string;
|
|
837
837
|
error_code: "salto_site_user_limit_reached";
|
|
838
838
|
created_at: string;
|
|
839
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
840
|
+
created_at: z.ZodString;
|
|
841
|
+
message: z.ZodString;
|
|
842
|
+
}, {
|
|
843
|
+
error_code: z.ZodLiteral<"salto_seam_integration_blocked">;
|
|
844
|
+
}>, "strip", z.ZodTypeAny, {
|
|
845
|
+
message: string;
|
|
846
|
+
error_code: "salto_seam_integration_blocked";
|
|
847
|
+
created_at: string;
|
|
848
|
+
}, {
|
|
849
|
+
message: string;
|
|
850
|
+
error_code: "salto_seam_integration_blocked";
|
|
851
|
+
created_at: string;
|
|
839
852
|
}>]>, "many">;
|
|
840
853
|
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
841
854
|
created_at: z.ZodString;
|
|
@@ -870,6 +883,10 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
870
883
|
message: string;
|
|
871
884
|
error_code: "salto_site_user_limit_reached";
|
|
872
885
|
created_at: string;
|
|
886
|
+
} | {
|
|
887
|
+
message: string;
|
|
888
|
+
error_code: "salto_seam_integration_blocked";
|
|
889
|
+
created_at: string;
|
|
873
890
|
})[];
|
|
874
891
|
warnings: {
|
|
875
892
|
message: string;
|
|
@@ -909,6 +926,10 @@ declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
909
926
|
message: string;
|
|
910
927
|
error_code: "salto_site_user_limit_reached";
|
|
911
928
|
created_at: string;
|
|
929
|
+
} | {
|
|
930
|
+
message: string;
|
|
931
|
+
error_code: "salto_seam_integration_blocked";
|
|
932
|
+
created_at: string;
|
|
912
933
|
})[];
|
|
913
934
|
warnings: {
|
|
914
935
|
message: string;
|
|
@@ -4949,6 +4970,7 @@ declare const DEVICE_PROVIDERS: {
|
|
|
4949
4970
|
readonly TEDEE: "tedee";
|
|
4950
4971
|
readonly HONEYWELL_RESIDEO: "honeywell_resideo";
|
|
4951
4972
|
readonly LATCH: "latch";
|
|
4973
|
+
readonly AKILES: "akiles";
|
|
4952
4974
|
};
|
|
4953
4975
|
type DeviceProviderName = (typeof DEVICE_PROVIDERS)[keyof typeof DEVICE_PROVIDERS];
|
|
4954
4976
|
declare const device_provider: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -29290,6 +29312,13 @@ interface Routes {
|
|
|
29290
29312
|
message: string;
|
|
29291
29313
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
29292
29314
|
error_code: 'salto_site_user_limit_reached';
|
|
29315
|
+
} | {
|
|
29316
|
+
/** Date and time at which Seam created the error. */
|
|
29317
|
+
created_at: string;
|
|
29318
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29319
|
+
message: string;
|
|
29320
|
+
/** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
|
|
29321
|
+
error_code: 'salto_seam_integration_blocked';
|
|
29293
29322
|
}>;
|
|
29294
29323
|
/** Warnings associated with the `acs_system`. */
|
|
29295
29324
|
warnings: Array<{
|
|
@@ -29374,6 +29403,13 @@ interface Routes {
|
|
|
29374
29403
|
message: string;
|
|
29375
29404
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
29376
29405
|
error_code: 'salto_site_user_limit_reached';
|
|
29406
|
+
} | {
|
|
29407
|
+
/** Date and time at which Seam created the error. */
|
|
29408
|
+
created_at: string;
|
|
29409
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29410
|
+
message: string;
|
|
29411
|
+
/** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
|
|
29412
|
+
error_code: 'salto_seam_integration_blocked';
|
|
29377
29413
|
}>;
|
|
29378
29414
|
/** Warnings associated with the `acs_system`. */
|
|
29379
29415
|
warnings: Array<{
|
|
@@ -29458,6 +29494,13 @@ interface Routes {
|
|
|
29458
29494
|
message: string;
|
|
29459
29495
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
29460
29496
|
error_code: 'salto_site_user_limit_reached';
|
|
29497
|
+
} | {
|
|
29498
|
+
/** Date and time at which Seam created the error. */
|
|
29499
|
+
created_at: string;
|
|
29500
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
29501
|
+
message: string;
|
|
29502
|
+
/** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
|
|
29503
|
+
error_code: 'salto_seam_integration_blocked';
|
|
29461
29504
|
}>;
|
|
29462
29505
|
/** Warnings associated with the `acs_system`. */
|
|
29463
29506
|
warnings: Array<{
|
|
@@ -30804,7 +30847,7 @@ interface Routes {
|
|
|
30804
30847
|
device_selection_mode?: ('none' | 'single' | 'multiple') | undefined;
|
|
30805
30848
|
custom_redirect_url?: string | undefined;
|
|
30806
30849
|
custom_redirect_failure_url?: string | undefined;
|
|
30807
|
-
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
30850
|
+
accepted_providers?: Array<'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles' | 'yale_access' | 'hid_cm' | 'google_nest'> | undefined;
|
|
30808
30851
|
provider_category?: ('stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems' | 'internal_beta') | undefined;
|
|
30809
30852
|
custom_metadata?: Record<string, string | boolean | null> | undefined;
|
|
30810
30853
|
automatically_manage_new_devices?: boolean;
|
|
@@ -31904,7 +31947,7 @@ interface Routes {
|
|
|
31904
31947
|
formData: {};
|
|
31905
31948
|
jsonResponse: {
|
|
31906
31949
|
device_providers: Array<{
|
|
31907
|
-
device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch';
|
|
31950
|
+
device_provider_name: 'akuvox' | 'august' | 'avigilon_alta' | 'brivo' | 'butterflymx' | 'schlage' | 'smartthings' | 'yale' | 'genie' | 'doorking' | 'salto' | 'lockly' | 'ttlock' | 'linear' | 'noiseaware' | 'nuki' | 'seam_relay_admin' | 'igloo' | 'kwikset' | 'minut' | 'my_2n' | 'controlbyweb' | 'nest' | 'igloohome' | 'ecobee' | 'hubitat' | 'four_suites' | 'dormakaba_oracode' | 'pti' | 'wyze' | 'seam_passport' | 'visionline' | 'assa_abloy_credential_service' | 'seam_bridge' | 'tedee' | 'honeywell_resideo' | 'latch' | 'akiles';
|
|
31908
31951
|
display_name: string;
|
|
31909
31952
|
image_url: string;
|
|
31910
31953
|
provider_categories: Array<'stable' | 'consumer_smartlocks' | 'thermostats' | 'noise_sensors' | 'access_control_systems'>;
|
|
@@ -40779,6 +40822,13 @@ interface Routes {
|
|
|
40779
40822
|
message: string;
|
|
40780
40823
|
/** Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit. */
|
|
40781
40824
|
error_code: 'salto_site_user_limit_reached';
|
|
40825
|
+
} | {
|
|
40826
|
+
/** Date and time at which Seam created the error. */
|
|
40827
|
+
created_at: string;
|
|
40828
|
+
/** Detailed description of the error. Provides insights into the issue and potentially how to rectify it. */
|
|
40829
|
+
message: string;
|
|
40830
|
+
/** Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block */
|
|
40831
|
+
error_code: 'salto_seam_integration_blocked';
|
|
40782
40832
|
}>;
|
|
40783
40833
|
/** Warnings associated with the `acs_system`. */
|
|
40784
40834
|
warnings: Array<{
|
|
@@ -60,6 +60,20 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
60
60
|
error_code: "salto_site_user_limit_reached";
|
|
61
61
|
created_at: string;
|
|
62
62
|
}>>>;
|
|
63
|
+
salto_seam_integration_blocked: z.ZodNullable<z.ZodOptional<z.ZodObject<z.objectUtil.extendShape<{
|
|
64
|
+
created_at: z.ZodString;
|
|
65
|
+
message: z.ZodString;
|
|
66
|
+
}, {
|
|
67
|
+
error_code: z.ZodLiteral<"salto_seam_integration_blocked">;
|
|
68
|
+
}>, "strip", z.ZodTypeAny, {
|
|
69
|
+
message: string;
|
|
70
|
+
error_code: "salto_seam_integration_blocked";
|
|
71
|
+
created_at: string;
|
|
72
|
+
}, {
|
|
73
|
+
message: string;
|
|
74
|
+
error_code: "salto_seam_integration_blocked";
|
|
75
|
+
created_at: string;
|
|
76
|
+
}>>>;
|
|
63
77
|
}, "strip", z.ZodTypeAny, {
|
|
64
78
|
seam_bridge_disconnected?: {
|
|
65
79
|
message: string;
|
|
@@ -76,6 +90,11 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
76
90
|
error_code: "salto_site_user_limit_reached";
|
|
77
91
|
created_at: string;
|
|
78
92
|
} | null | undefined;
|
|
93
|
+
salto_seam_integration_blocked?: {
|
|
94
|
+
message: string;
|
|
95
|
+
error_code: "salto_seam_integration_blocked";
|
|
96
|
+
created_at: string;
|
|
97
|
+
} | null | undefined;
|
|
79
98
|
}, {
|
|
80
99
|
seam_bridge_disconnected?: {
|
|
81
100
|
message: string;
|
|
@@ -92,6 +111,11 @@ declare const acs_system_error_map: z.ZodObject<{
|
|
|
92
111
|
error_code: "salto_site_user_limit_reached";
|
|
93
112
|
created_at: string;
|
|
94
113
|
} | null | undefined;
|
|
114
|
+
salto_seam_integration_blocked?: {
|
|
115
|
+
message: string;
|
|
116
|
+
error_code: "salto_seam_integration_blocked";
|
|
117
|
+
created_at: string;
|
|
118
|
+
} | null | undefined;
|
|
95
119
|
}>;
|
|
96
120
|
export type AcsSystemErrorMap = z.infer<typeof acs_system_error_map>;
|
|
97
121
|
declare const acs_system_warning_map: z.ZodObject<{
|
|
@@ -187,6 +211,19 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
187
211
|
message: string;
|
|
188
212
|
error_code: "salto_site_user_limit_reached";
|
|
189
213
|
created_at: string;
|
|
214
|
+
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
215
|
+
created_at: z.ZodString;
|
|
216
|
+
message: z.ZodString;
|
|
217
|
+
}, {
|
|
218
|
+
error_code: z.ZodLiteral<"salto_seam_integration_blocked">;
|
|
219
|
+
}>, "strip", z.ZodTypeAny, {
|
|
220
|
+
message: string;
|
|
221
|
+
error_code: "salto_seam_integration_blocked";
|
|
222
|
+
created_at: string;
|
|
223
|
+
}, {
|
|
224
|
+
message: string;
|
|
225
|
+
error_code: "salto_seam_integration_blocked";
|
|
226
|
+
created_at: string;
|
|
190
227
|
}>]>, "many">;
|
|
191
228
|
warnings: z.ZodArray<z.ZodObject<z.objectUtil.extendShape<{
|
|
192
229
|
created_at: z.ZodString;
|
|
@@ -222,6 +259,10 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
222
259
|
message: string;
|
|
223
260
|
error_code: "salto_site_user_limit_reached";
|
|
224
261
|
created_at: string;
|
|
262
|
+
} | {
|
|
263
|
+
message: string;
|
|
264
|
+
error_code: "salto_seam_integration_blocked";
|
|
265
|
+
created_at: string;
|
|
225
266
|
})[];
|
|
226
267
|
warnings: {
|
|
227
268
|
message: string;
|
|
@@ -261,6 +302,10 @@ export declare const acs_system: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
261
302
|
message: string;
|
|
262
303
|
error_code: "salto_site_user_limit_reached";
|
|
263
304
|
created_at: string;
|
|
305
|
+
} | {
|
|
306
|
+
message: string;
|
|
307
|
+
error_code: "salto_seam_integration_blocked";
|
|
308
|
+
created_at: string;
|
|
264
309
|
})[];
|
|
265
310
|
warnings: {
|
|
266
311
|
message: string;
|
|
@@ -59,11 +59,17 @@ const salto_site_user_limit_reached = common_acs_system_error.extend({
|
|
|
59
59
|
.literal('salto_site_user_limit_reached')
|
|
60
60
|
.describe('Indicates that the maximum number of users allowed for the site has been reached. This means that new access codes cannot be created. Contact Salto support to increase the user limit.'),
|
|
61
61
|
});
|
|
62
|
+
const salto_seam_integration_blocked = common_acs_system_error.extend({
|
|
63
|
+
error_code: z
|
|
64
|
+
.literal('salto_seam_integration_blocked')
|
|
65
|
+
.describe("Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block"),
|
|
66
|
+
});
|
|
62
67
|
const acs_system_error = z
|
|
63
68
|
.union([
|
|
64
69
|
seam_bridge_disconnected,
|
|
65
70
|
visionline_instance_unreachable,
|
|
66
71
|
salto_site_user_limit_reached,
|
|
72
|
+
salto_seam_integration_blocked,
|
|
67
73
|
])
|
|
68
74
|
.describe('Error associated with the `acs_system`.');
|
|
69
75
|
const acs_system_error_map = z.object({
|
|
@@ -74,6 +80,9 @@ const acs_system_error_map = z.object({
|
|
|
74
80
|
salto_site_user_limit_reached: salto_site_user_limit_reached
|
|
75
81
|
.optional()
|
|
76
82
|
.nullable(),
|
|
83
|
+
salto_seam_integration_blocked: salto_seam_integration_blocked
|
|
84
|
+
.optional()
|
|
85
|
+
.nullable(),
|
|
77
86
|
});
|
|
78
87
|
const common_acs_system_warning = z.object({
|
|
79
88
|
created_at: z
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"acs-system.js","sourceRoot":"","sources":["../../../../../src/lib/seam/connect/models/acs/acs-system.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAEvB,MAAM,CAAC,MAAM,2BAA2B,GAAG,CAAC,CAAC,MAAM,CAAC;IAClD,uBAAuB,EAAE,CAAC;SACvB,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,qUAAqU,CACtU;IACH,4BAA4B,EAAE,CAAC;SAC5B,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,oXAAoX,CACrX;IACH,2CAA2C,EAAE,CAAC;SAC3C,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,uaAAua,CACxa;IACH,sCAAsC,EAAE,CAAC;SACtC,OAAO,EAAE;SACT,QAAQ,EAAE;SACV,QAAQ,CACP,8ZAA8Z,CAC/Z;CACJ,CAAC,CAAA;AAEF,oEAAoE;AACpE,MAAM,CAAC,MAAM,wBAAwB,GAAG,CAAC,CAAC,IAAI,CAAC;IAC7C,UAAU;IACV,UAAU;IACV,YAAY;IACZ,eAAe;IACf,qCAAqC;IACrC,mBAAmB;IACnB,+BAA+B;IAC/B,gBAAgB;CACjB,CAAC,CAAA;AAIF,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IACvC,UAAU,EAAE,CAAC;SACV,MAAM,EAAE;SACR,QAAQ,EAAE;SACV,QAAQ,CAAC,gDAAgD,CAAC;IAC7D,OAAO,EAAE,CAAC;SACP,MAAM,EAAE;SACR,QAAQ,CACP,wGAAwG,CACzG;CACJ,CAAC,CAAA;AAEF,MAAM,sBAAsB,GAC1B,oGAAoG,CAAA;AAEtG,MAAM,wBAAwB,GAAG,uBAAuB,CAAC,MAAM,CAAC;IAC9D,UAAU,EAAE,CAAC;SACV,OAAO,CAAC,0BAA0B,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,CACP,sGAAsG,CACvG,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: [
|
|
@@ -49,7 +50,7 @@ export declare const PROVIDER_CATEGORY_MAP: {
|
|
|
49
50
|
readonly consumer_smartlocks: readonly ["august", "schlage", "yale", "smartthings", "nuki", "ttlock", "kwikset", "igloohome", "wyze", "lockly", "tedee"];
|
|
50
51
|
readonly thermostats: readonly ["ecobee", "nest"];
|
|
51
52
|
readonly noise_sensors: readonly ["minut", "noiseaware"];
|
|
52
|
-
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch"];
|
|
53
|
+
readonly access_control_systems: readonly ["pti", "visionline", "assa_abloy_credential_service", "latch", "salto"];
|
|
53
54
|
readonly internal_beta: [DeviceProviderName, ...DeviceProviderName[]];
|
|
54
55
|
};
|
|
55
56
|
export declare const PROVIDER_CATEGORIES: [ProviderCategory, ...ProviderCategory[]];
|
|
@@ -38,6 +38,7 @@ export const DEVICE_PROVIDERS = {
|
|
|
38
38
|
TEDEE: 'tedee',
|
|
39
39
|
HONEYWELL_RESIDEO: 'honeywell_resideo',
|
|
40
40
|
LATCH: 'latch',
|
|
41
|
+
AKILES: 'akiles',
|
|
41
42
|
};
|
|
42
43
|
export const ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
43
44
|
export const PROVIDER_CATEGORY_MAP = {
|
|
@@ -89,6 +90,7 @@ export const PROVIDER_CATEGORY_MAP = {
|
|
|
89
90
|
'visionline',
|
|
90
91
|
'assa_abloy_credential_service',
|
|
91
92
|
'latch',
|
|
93
|
+
'salto',
|
|
92
94
|
],
|
|
93
95
|
internal_beta: ALL_DEVICE_PROVIDERS,
|
|
94
96
|
};
|
|
@@ -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,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;IACd,MAAM,EAAE,QAAQ;CAC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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"}
|
|
@@ -530,6 +530,26 @@ export default {
|
|
|
530
530
|
required: ['created_at', 'message', 'error_code'],
|
|
531
531
|
type: 'object',
|
|
532
532
|
},
|
|
533
|
+
{
|
|
534
|
+
properties: {
|
|
535
|
+
created_at: {
|
|
536
|
+
description: 'Date and time at which Seam created the error.',
|
|
537
|
+
format: 'date-time',
|
|
538
|
+
type: 'string',
|
|
539
|
+
},
|
|
540
|
+
error_code: {
|
|
541
|
+
description: "Indicates that the Seam Integration user site is blocked. This means that Seam does not have permission to access Salto resources. Go to Salto Dashboard to remove 'Seam Integration' block",
|
|
542
|
+
enum: ['salto_seam_integration_blocked'],
|
|
543
|
+
type: 'string',
|
|
544
|
+
},
|
|
545
|
+
message: {
|
|
546
|
+
description: 'Detailed description of the error. Provides insights into the issue and potentially how to rectify it.',
|
|
547
|
+
type: 'string',
|
|
548
|
+
},
|
|
549
|
+
},
|
|
550
|
+
required: ['created_at', 'message', 'error_code'],
|
|
551
|
+
type: 'object',
|
|
552
|
+
},
|
|
533
553
|
],
|
|
534
554
|
},
|
|
535
555
|
type: 'array',
|
|
@@ -3167,6 +3187,7 @@ export default {
|
|
|
3167
3187
|
'tedee',
|
|
3168
3188
|
'honeywell_resideo',
|
|
3169
3189
|
'latch',
|
|
3190
|
+
'akiles',
|
|
3170
3191
|
],
|
|
3171
3192
|
type: 'string',
|
|
3172
3193
|
},
|
|
@@ -8716,6 +8737,7 @@ export default {
|
|
|
8716
8737
|
'tedee',
|
|
8717
8738
|
'honeywell_resideo',
|
|
8718
8739
|
'latch',
|
|
8740
|
+
'akiles',
|
|
8719
8741
|
'yale_access',
|
|
8720
8742
|
'hid_cm',
|
|
8721
8743
|
'google_nest',
|