@seamapi/types 1.238.0 → 1.240.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 +90 -3
- package/dist/connect.cjs.map +1 -1
- package/dist/connect.d.cts +119 -0
- 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/acs/acs-user.d.ts +79 -0
- package/lib/seam/connect/models/acs/acs-user.js +5 -0
- package/lib/seam/connect/models/acs/acs-user.js.map +1 -1
- package/lib/seam/connect/models/devices/device-provider.d.ts +1 -1
- 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.js +74 -0
- package/lib/seam/connect/openapi.js.map +1 -1
- package/lib/seam/connect/route-types.d.ts +56 -0
- package/package.json +1 -1
- package/src/lib/seam/connect/models/acs/acs-system.ts +11 -0
- package/src/lib/seam/connect/models/acs/acs-user.ts +8 -0
- package/src/lib/seam/connect/models/devices/device-provider.ts +1 -0
- package/src/lib/seam/connect/openapi.ts +77 -0
- package/src/lib/seam/connect/route-types.ts +67 -0
package/dist/connect.cjs
CHANGED
|
@@ -902,7 +902,8 @@ var PROVIDER_CATEGORY_MAP = {
|
|
|
902
902
|
"pti",
|
|
903
903
|
"visionline",
|
|
904
904
|
"assa_abloy_credential_service",
|
|
905
|
-
"latch"
|
|
905
|
+
"latch",
|
|
906
|
+
"salto"
|
|
906
907
|
],
|
|
907
908
|
internal_beta: ALL_DEVICE_PROVIDERS
|
|
908
909
|
};
|
|
@@ -1207,15 +1208,22 @@ var salto_site_user_limit_reached = common_acs_system_error.extend({
|
|
|
1207
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."
|
|
1208
1209
|
)
|
|
1209
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
|
+
});
|
|
1210
1216
|
var acs_system_error = zod.z.union([
|
|
1211
1217
|
seam_bridge_disconnected,
|
|
1212
1218
|
visionline_instance_unreachable,
|
|
1213
|
-
salto_site_user_limit_reached
|
|
1219
|
+
salto_site_user_limit_reached,
|
|
1220
|
+
salto_seam_integration_blocked
|
|
1214
1221
|
]).describe("Error associated with the `acs_system`.");
|
|
1215
1222
|
zod.z.object({
|
|
1216
1223
|
seam_bridge_disconnected: seam_bridge_disconnected.optional().nullable(),
|
|
1217
1224
|
visionline_instance_unreachable: visionline_instance_unreachable.optional().nullable(),
|
|
1218
|
-
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()
|
|
1219
1227
|
});
|
|
1220
1228
|
var common_acs_system_warning = zod.z.object({
|
|
1221
1229
|
created_at: zod.z.string().datetime().describe("Date and time at which Seam created the warning."),
|
|
@@ -1305,16 +1313,21 @@ var acs_users_being_deleted = common_acs_users_warning.extend({
|
|
|
1305
1313
|
var acs_users_salto_ks_user_not_subscribed = common_acs_users_warning.extend({
|
|
1306
1314
|
warning_code: zod.z.literal("salto_ks_user_not_subscribed")
|
|
1307
1315
|
});
|
|
1316
|
+
var acs_users_failed_to_update_acs_user_on_acs_system = common_acs_users_warning.extend({
|
|
1317
|
+
warning_code: zod.z.literal("failed_to_update_acs_user_on_acs_system")
|
|
1318
|
+
});
|
|
1308
1319
|
var acs_users_salto_site_user_suspended = common_acs_users_warning.extend({
|
|
1309
1320
|
warning_code: zod.z.literal("salto_site_user_suspended")
|
|
1310
1321
|
});
|
|
1311
1322
|
zod.z.object({
|
|
1312
1323
|
being_deleted: acs_users_being_deleted.optional().nullable(),
|
|
1324
|
+
failed_to_update_acs_user_on_acs_system: acs_users_failed_to_update_acs_user_on_acs_system.optional().nullable(),
|
|
1313
1325
|
salto_ks_user_not_subscribed: acs_users_salto_ks_user_not_subscribed.optional().nullable(),
|
|
1314
1326
|
salto_site_user_suspended: acs_users_salto_site_user_suspended.optional().nullable()
|
|
1315
1327
|
});
|
|
1316
1328
|
var acs_users_warning = zod.z.union([
|
|
1317
1329
|
acs_users_being_deleted,
|
|
1330
|
+
acs_users_failed_to_update_acs_user_on_acs_system,
|
|
1318
1331
|
acs_users_salto_ks_user_not_subscribed,
|
|
1319
1332
|
acs_users_salto_site_user_suspended
|
|
1320
1333
|
]);
|
|
@@ -2777,6 +2790,26 @@ var openapi_default = {
|
|
|
2777
2790
|
},
|
|
2778
2791
|
required: ["created_at", "message", "error_code"],
|
|
2779
2792
|
type: "object"
|
|
2793
|
+
},
|
|
2794
|
+
{
|
|
2795
|
+
properties: {
|
|
2796
|
+
created_at: {
|
|
2797
|
+
description: "Date and time at which Seam created the error.",
|
|
2798
|
+
format: "date-time",
|
|
2799
|
+
type: "string"
|
|
2800
|
+
},
|
|
2801
|
+
error_code: {
|
|
2802
|
+
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",
|
|
2803
|
+
enum: ["salto_seam_integration_blocked"],
|
|
2804
|
+
type: "string"
|
|
2805
|
+
},
|
|
2806
|
+
message: {
|
|
2807
|
+
description: "Detailed description of the error. Provides insights into the issue and potentially how to rectify it.",
|
|
2808
|
+
type: "string"
|
|
2809
|
+
}
|
|
2810
|
+
},
|
|
2811
|
+
required: ["created_at", "message", "error_code"],
|
|
2812
|
+
type: "object"
|
|
2780
2813
|
}
|
|
2781
2814
|
]
|
|
2782
2815
|
},
|
|
@@ -2941,6 +2974,18 @@ var openapi_default = {
|
|
|
2941
2974
|
required: ["created_at", "message", "warning_code"],
|
|
2942
2975
|
type: "object"
|
|
2943
2976
|
},
|
|
2977
|
+
{
|
|
2978
|
+
properties: {
|
|
2979
|
+
created_at: { format: "date-time", type: "string" },
|
|
2980
|
+
message: { type: "string" },
|
|
2981
|
+
warning_code: {
|
|
2982
|
+
enum: ["failed_to_update_acs_user_on_acs_system"],
|
|
2983
|
+
type: "string"
|
|
2984
|
+
}
|
|
2985
|
+
},
|
|
2986
|
+
required: ["created_at", "message", "warning_code"],
|
|
2987
|
+
type: "object"
|
|
2988
|
+
},
|
|
2944
2989
|
{
|
|
2945
2990
|
properties: {
|
|
2946
2991
|
created_at: { format: "date-time", type: "string" },
|
|
@@ -9859,6 +9904,27 @@ var openapi_default = {
|
|
|
9859
9904
|
],
|
|
9860
9905
|
type: "object"
|
|
9861
9906
|
},
|
|
9907
|
+
{
|
|
9908
|
+
properties: {
|
|
9909
|
+
created_at: {
|
|
9910
|
+
format: "date-time",
|
|
9911
|
+
type: "string"
|
|
9912
|
+
},
|
|
9913
|
+
message: { type: "string" },
|
|
9914
|
+
warning_code: {
|
|
9915
|
+
enum: [
|
|
9916
|
+
"failed_to_update_acs_user_on_acs_system"
|
|
9917
|
+
],
|
|
9918
|
+
type: "string"
|
|
9919
|
+
}
|
|
9920
|
+
},
|
|
9921
|
+
required: [
|
|
9922
|
+
"created_at",
|
|
9923
|
+
"message",
|
|
9924
|
+
"warning_code"
|
|
9925
|
+
],
|
|
9926
|
+
type: "object"
|
|
9927
|
+
},
|
|
9862
9928
|
{
|
|
9863
9929
|
properties: {
|
|
9864
9930
|
created_at: {
|
|
@@ -10048,6 +10114,27 @@ var openapi_default = {
|
|
|
10048
10114
|
],
|
|
10049
10115
|
type: "object"
|
|
10050
10116
|
},
|
|
10117
|
+
{
|
|
10118
|
+
properties: {
|
|
10119
|
+
created_at: {
|
|
10120
|
+
format: "date-time",
|
|
10121
|
+
type: "string"
|
|
10122
|
+
},
|
|
10123
|
+
message: { type: "string" },
|
|
10124
|
+
warning_code: {
|
|
10125
|
+
enum: [
|
|
10126
|
+
"failed_to_update_acs_user_on_acs_system"
|
|
10127
|
+
],
|
|
10128
|
+
type: "string"
|
|
10129
|
+
}
|
|
10130
|
+
},
|
|
10131
|
+
required: [
|
|
10132
|
+
"created_at",
|
|
10133
|
+
"message",
|
|
10134
|
+
"warning_code"
|
|
10135
|
+
],
|
|
10136
|
+
type: "object"
|
|
10137
|
+
},
|
|
10051
10138
|
{
|
|
10052
10139
|
properties: {
|
|
10053
10140
|
created_at: {
|