@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.
@@ -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 primitives_1 = require("../../primitives");
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(primitives_1.sCredentialType).optional(),
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.96",
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,9 @@
1
+ import { z } from 'zod';
2
+ export declare const sCredentialType: z.ZodEnum<{
3
+ card: "card";
4
+ pin: "pin";
5
+ fingerprint: "fingerprint";
6
+ face: "face";
7
+ retina: "retina";
8
+ }>;
9
+ export type CredentialType = z.infer<typeof sCredentialType>;
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.sCredentialType = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.sCredentialType = zod_1.z.enum([
6
+ 'card',
7
+ 'pin',
8
+ 'fingerprint',
9
+ 'face',
10
+ 'retina',
11
+ ]);
@@ -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);
@@ -286,11 +286,4 @@ export declare const sCallDirection: z.ZodEnum<{
286
286
  incoming: "incoming";
287
287
  outgoing: "outgoing";
288
288
  }>;
289
- export declare const sCredentialType: z.ZodEnum<{
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';
@@ -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
- exports.sCredentialType = zod_1.z.enum([
57
- 'card',
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.96",
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",