@awarevue/api-types 1.0.11 → 1.0.13
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.
|
@@ -1322,6 +1322,7 @@ export declare const sValidateChangeRq: z.ZodObject<{
|
|
|
1322
1322
|
export declare const sChangeIssueCode: z.ZodEnum<["BAD_REFERENCE", "NOT_FOUND", "NOT_UNIQUE", "INVALID", "NOT_SUPPORTED"]>;
|
|
1323
1323
|
export declare const sChangeIssue: z.ZodObject<{
|
|
1324
1324
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1325
|
+
objectKind: z.ZodOptional<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>>;
|
|
1325
1326
|
code: z.ZodOptional<z.ZodEnum<["BAD_REFERENCE", "NOT_FOUND", "NOT_UNIQUE", "INVALID", "NOT_SUPPORTED"]>>;
|
|
1326
1327
|
path: z.ZodOptional<z.ZodString>;
|
|
1327
1328
|
index: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1331,12 +1332,14 @@ export declare const sChangeIssue: z.ZodObject<{
|
|
|
1331
1332
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1332
1333
|
message?: string | undefined;
|
|
1333
1334
|
path?: string | undefined;
|
|
1335
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1334
1336
|
objectId?: string | undefined;
|
|
1335
1337
|
}, {
|
|
1336
1338
|
index?: number | undefined;
|
|
1337
1339
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1338
1340
|
message?: string | undefined;
|
|
1339
1341
|
path?: string | undefined;
|
|
1342
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1340
1343
|
objectId?: string | undefined;
|
|
1341
1344
|
}>;
|
|
1342
1345
|
export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
@@ -1351,6 +1354,7 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1351
1354
|
}>, z.ZodObject<{
|
|
1352
1355
|
issues: z.ZodArray<z.ZodObject<{
|
|
1353
1356
|
objectId: z.ZodOptional<z.ZodString>;
|
|
1357
|
+
objectKind: z.ZodOptional<z.ZodEnum<["access-rule", "schedule", "zone", "person", "reader"]>>;
|
|
1354
1358
|
code: z.ZodOptional<z.ZodEnum<["BAD_REFERENCE", "NOT_FOUND", "NOT_UNIQUE", "INVALID", "NOT_SUPPORTED"]>>;
|
|
1355
1359
|
path: z.ZodOptional<z.ZodString>;
|
|
1356
1360
|
index: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1360,12 +1364,14 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1360
1364
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1361
1365
|
message?: string | undefined;
|
|
1362
1366
|
path?: string | undefined;
|
|
1367
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1363
1368
|
objectId?: string | undefined;
|
|
1364
1369
|
}, {
|
|
1365
1370
|
index?: number | undefined;
|
|
1366
1371
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1367
1372
|
message?: string | undefined;
|
|
1368
1373
|
path?: string | undefined;
|
|
1374
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1369
1375
|
objectId?: string | undefined;
|
|
1370
1376
|
}>, "many">;
|
|
1371
1377
|
}, z.UnknownKeysParam, z.ZodTypeAny, {
|
|
@@ -1374,6 +1380,7 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1374
1380
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1375
1381
|
message?: string | undefined;
|
|
1376
1382
|
path?: string | undefined;
|
|
1383
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1377
1384
|
objectId?: string | undefined;
|
|
1378
1385
|
}[];
|
|
1379
1386
|
}, {
|
|
@@ -1382,6 +1389,7 @@ export declare const sValidateChangeRs: z.ZodIntersection<z.ZodObject<{
|
|
|
1382
1389
|
code?: "BAD_REFERENCE" | "NOT_FOUND" | "NOT_UNIQUE" | "INVALID" | "NOT_SUPPORTED" | undefined;
|
|
1383
1390
|
message?: string | undefined;
|
|
1384
1391
|
path?: string | undefined;
|
|
1392
|
+
objectKind?: "person" | "zone" | "reader" | "access-rule" | "schedule" | undefined;
|
|
1385
1393
|
objectId?: string | undefined;
|
|
1386
1394
|
}[];
|
|
1387
1395
|
}>>;
|
|
@@ -237,6 +237,7 @@ exports.sChangeIssueCode = zod_1.z.enum([
|
|
|
237
237
|
exports.sChangeIssue = zod_1.z
|
|
238
238
|
.object({
|
|
239
239
|
objectId: zod_1.z.string().optional().describe('Object ID as in backend'),
|
|
240
|
+
objectKind: exports.sAccessObjectKind.optional(),
|
|
240
241
|
code: exports.sChangeIssueCode
|
|
241
242
|
.optional()
|
|
242
243
|
.describe('Issue code that describes the issue to UI agent(s) or bots'),
|
package/dist/device/server.d.ts
CHANGED
package/dist/package.json
CHANGED