@awarevue/api-types 2.0.96 → 2.0.97
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/objects/device/reader.js +2 -2
- package/dist/package.json +1 -1
- package/dist/primitives/credential-type.d.ts +9 -0
- package/dist/primitives/credential-type.js +11 -0
- package/dist/primitives/index.d.ts +1 -0
- package/dist/primitives/index.js +17 -0
- package/dist/primitives.d.ts +1 -8
- package/dist/primitives.js +2 -7
- package/package.json +1 -1
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.sReaderSpecs = exports.READER = void 0;
|
|
4
4
|
const zod_1 = require("zod");
|
|
5
|
-
const
|
|
5
|
+
const credential_type_1 = require("../../primitives/credential-type");
|
|
6
6
|
exports.READER = 'reader';
|
|
7
7
|
// SPECS
|
|
8
8
|
exports.sReaderSpecs = zod_1.z.object({
|
|
9
|
-
credentialTypes: zod_1.z.array(
|
|
9
|
+
credentialTypes: zod_1.z.array(credential_type_1.sCredentialType).optional(),
|
|
10
10
|
});
|
package/dist/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.97",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './credential-type';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./credential-type"), exports);
|
package/dist/primitives.d.ts
CHANGED
|
@@ -286,11 +286,4 @@ export declare const sCallDirection: z.ZodEnum<{
|
|
|
286
286
|
incoming: "incoming";
|
|
287
287
|
outgoing: "outgoing";
|
|
288
288
|
}>;
|
|
289
|
-
export
|
|
290
|
-
card: "card";
|
|
291
|
-
pin: "pin";
|
|
292
|
-
fingerprint: "fingerprint";
|
|
293
|
-
face: "face";
|
|
294
|
-
retina: "retina";
|
|
295
|
-
}>;
|
|
296
|
-
export type CredentialType = z.infer<typeof sCredentialType>;
|
|
289
|
+
export { sCredentialType, type CredentialType, } from './primitives/credential-type';
|
package/dist/primitives.js
CHANGED
|
@@ -53,10 +53,5 @@ exports.sCallState = zod_1.z.enum([
|
|
|
53
53
|
'terminated',
|
|
54
54
|
]);
|
|
55
55
|
exports.sCallDirection = zod_1.z.enum(['incoming', 'outgoing']);
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
'pin',
|
|
59
|
-
'fingerprint',
|
|
60
|
-
'face',
|
|
61
|
-
'retina',
|
|
62
|
-
]);
|
|
56
|
+
var credential_type_1 = require("./primitives/credential-type");
|
|
57
|
+
Object.defineProperty(exports, "sCredentialType", { enumerable: true, get: function () { return credential_type_1.sCredentialType; } });
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"type": "git",
|
|
5
5
|
"url": "git+https://github.com/Linc-Security-Systems/aware-essentials.git"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.0.
|
|
7
|
+
"version": "2.0.97",
|
|
8
8
|
"description": "Common types between backend, agent(s) and frontend(s)",
|
|
9
9
|
"main": "dist/index.js",
|
|
10
10
|
"types": "dist/index.d.ts",
|