@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.cjs
CHANGED
|
@@ -850,7 +850,8 @@ var DEVICE_PROVIDERS = {
|
|
|
850
850
|
SEAM_BRIDGE: "seam_bridge",
|
|
851
851
|
TEDEE: "tedee",
|
|
852
852
|
HONEYWELL_RESIDEO: "honeywell_resideo",
|
|
853
|
-
LATCH: "latch"
|
|
853
|
+
LATCH: "latch",
|
|
854
|
+
AKILES: "akiles"
|
|
854
855
|
};
|
|
855
856
|
var ALL_DEVICE_PROVIDERS = Object.values(DEVICE_PROVIDERS);
|
|
856
857
|
var PROVIDER_CATEGORY_MAP = {
|
|
@@ -901,7 +902,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
901
902
|
"pti",
|
|
902
903
|
"visionline",
|
|
903
904
|
"assa_abloy_credential_service",
|
|
904
|
-
"latch"
|
|
905
|
+
"latch",
|
|
906
|
+
"salto"
|
|
905
907
|
],
|
|
906
908
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
907
909
|
};
|
|
@@ -1206,15 +1208,22 @@ var salto_site_user_limit_reached = common_acs_system_error.extend({
|
|
|
1206
1208
|
"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."
|
|
1207
1209
|
)
|
|
1208
1210
|
});
|
|
1211
|
+
var salto_seam_integration_blocked = common_acs_system_error.extend({
|
|
1212
|
+
error_code: zod.z.literal("salto_seam_integration_blocked").describe(
|
|
1213
|
+
"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"
|
|
1214
|
+
)
|
|
1215
|
+
});
|
|
1209
1216
|
var acs_system_error = zod.z.union([
|
|
1210
1217
|
seam_bridge_disconnected,
|
|
1211
1218
|
visionline_instance_unreachable,
|
|
1212
|
-
salto_site_user_limit_reached
|
|
1219
|
+
salto_site_user_limit_reached,
|
|
1220
|
+
salto_seam_integration_blocked
|
|
1213
1221
|
]).describe("Error associated with the `acs_system`.");
|
|
1214
1222
|
zod.z.object({
|
|
1215
1223
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
1216
1224
|
visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
|
|
1217
|
-
salto_site_user_limit_reached: salto_site_user_limit_reached.optional().nullable()
|
|
1225
|
+
salto_site_user_limit_reached: salto_site_user_limit_reached.optional().nullable(),
|
|
1226
|
+
salto_seam_integration_blocked: salto_seam_integration_blocked.optional().nullable()
|
|
1218
1227
|
});
|
|
1219
1228
|
var common_acs_system_warning = zod.z.object({
|
|
1220
1229
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -2776,6 +2785,26 @@ var openapi_default = {
|
|
|
2776
2785
|
},
|
|
2777
2786
|
required: ["created_at", "message", "error_code"],
|
|
2778
2787
|
type: "object"
|
|
2788
|
+
},
|
|
2789
|
+
{
|
|
2790
|
+
properties: {
|
|
2791
|
+
created_at: {
|
|
2792
|
+
description: "Date and time at which Seam created the error.",
|
|
2793
|
+
format: "date-time",
|
|
2794
|
+
type: "string"
|
|
2795
|
+
},
|
|
2796
|
+
error_code: {
|
|
2797
|
+
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",
|
|
2798
|
+
enum: ["salto_seam_integration_blocked"],
|
|
2799
|
+
type: "string"
|
|
2800
|
+
},
|
|
2801
|
+
message: {
|
|
2802
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
2803
|
+
type: "string"
|
|
2804
|
+
}
|
|
2805
|
+
},
|
|
2806
|
+
required: ["created_at", "message", "error_code"],
|
|
2807
|
+
type: "object"
|
|
2779
2808
|
}
|
|
2780
2809
|
]
|
|
2781
2810
|
},
|
|
@@ -5413,7 +5442,8 @@ var openapi_default = {
|
|
|
5413
5442
|
"seam_bridge",
|
|
5414
5443
|
"tedee",
|
|
5415
5444
|
"honeywell_resideo",
|
|
5416
|
-
"latch"
|
|
5445
|
+
"latch",
|
|
5446
|
+
"akiles"
|
|
5417
5447
|
],
|
|
5418
5448
|
type: "string"
|
|
5419
5449
|
},
|
|
@@ -10963,6 +10993,7 @@ var openapi_default = {
|
|
|
10963
10993
|
"tedee",
|
|
10964
10994
|
"honeywell_resideo",
|
|
10965
10995
|
"latch",
|
|
10996
|
+
"akiles",
|
|
10966
10997
|
"yale_access",
|
|
10967
10998
|
"hid_cm",
|
|
10968
10999
|
"google_nest"
|