@awarevue/api-types 1.0.53 → 1.0.55
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/device/server.d.ts +1 -1
- package/dist/error.d.ts +2 -0
- package/dist/error.js +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/device/server.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ export type ServerState = {
|
|
|
31
31
|
config: ModuleConfig;
|
|
32
32
|
runnableProviders: string[];
|
|
33
33
|
accessControlProviders: Record<string, AccessControlProviderState>;
|
|
34
|
-
|
|
34
|
+
citadelMode: boolean;
|
|
35
35
|
};
|
|
36
36
|
export declare const sObjectKind: z.ZodEnum<["accessRule", "schedule", "person", "device", "zone", "personPresence", "deviceGroup", "view", "layout", "automationRule", "macro", "role", "user", "securityLevel"]>;
|
|
37
37
|
export type ObjectKind = z.infer<typeof sObjectKind>;
|
package/dist/error.d.ts
CHANGED
|
@@ -114,6 +114,7 @@ export declare enum AppErrorCode {
|
|
|
114
114
|
ACCESS_RULE_PERMISSION_CONFLICT = "ACCESS_RULE_PERMISSION_CONFLICT",
|
|
115
115
|
ALARM_NOT_FOUND = "ALARM_NOT_FOUND",
|
|
116
116
|
AUTH_INVALID_CREDENTIALS = "AUTH_INVALID_CREDENTIALS",
|
|
117
|
+
AUTH_CITADEL_MODE_ENABLED = "AUTH_CITADEL_MODE_ENABLED",
|
|
117
118
|
USER_NOT_FOUND = "USER_NOT_FOUND",
|
|
118
119
|
USERNAME_ALREADY_EXISTS = "USERNAME_ALREADY_EXISTS",
|
|
119
120
|
EMAIL_ALREADY_EXISTS = "EMAIL_ALREADY_EXISTS",
|
|
@@ -246,6 +247,7 @@ export declare const errorMetadataSchemas: {
|
|
|
246
247
|
subject: string;
|
|
247
248
|
}>;
|
|
248
249
|
readonly AUTH_INVALID_CREDENTIALS: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
250
|
+
readonly AUTH_CITADEL_MODE_ENABLED: z.ZodObject<{}, "strict", z.ZodTypeAny, {}, {}>;
|
|
249
251
|
readonly USER_NOT_FOUND: z.ZodObject<{
|
|
250
252
|
subject: z.ZodString;
|
|
251
253
|
field: z.ZodString;
|
package/dist/error.js
CHANGED
|
@@ -64,6 +64,7 @@ var AppErrorCode;
|
|
|
64
64
|
AppErrorCode["ALARM_NOT_FOUND"] = "ALARM_NOT_FOUND";
|
|
65
65
|
// auth / user
|
|
66
66
|
AppErrorCode["AUTH_INVALID_CREDENTIALS"] = "AUTH_INVALID_CREDENTIALS";
|
|
67
|
+
AppErrorCode["AUTH_CITADEL_MODE_ENABLED"] = "AUTH_CITADEL_MODE_ENABLED";
|
|
67
68
|
AppErrorCode["USER_NOT_FOUND"] = "USER_NOT_FOUND";
|
|
68
69
|
AppErrorCode["USERNAME_ALREADY_EXISTS"] = "USERNAME_ALREADY_EXISTS";
|
|
69
70
|
AppErrorCode["EMAIL_ALREADY_EXISTS"] = "EMAIL_ALREADY_EXISTS";
|
|
@@ -125,6 +126,7 @@ exports.errorMetadataSchemas = {
|
|
|
125
126
|
[AppErrorCode.ALARM_NOT_FOUND]: exports.sNotFoundMeta,
|
|
126
127
|
// auth / user
|
|
127
128
|
[AppErrorCode.AUTH_INVALID_CREDENTIALS]: exports.sVoidMeta,
|
|
129
|
+
[AppErrorCode.AUTH_CITADEL_MODE_ENABLED]: exports.sVoidMeta,
|
|
128
130
|
[AppErrorCode.USER_NOT_FOUND]: exports.sNotFoundMeta,
|
|
129
131
|
[AppErrorCode.USERNAME_ALREADY_EXISTS]: exports.sDuplicateMeta,
|
|
130
132
|
[AppErrorCode.EMAIL_ALREADY_EXISTS]: exports.sDuplicateMeta,
|
package/dist/package.json
CHANGED