cecon-interfaces 1.2.42 → 1.2.44

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.d.ts CHANGED
@@ -34,6 +34,7 @@ export * from './subscription-base';
34
34
  export * from './subscription-company';
35
35
  export * from './subscription-customer';
36
36
  export * from './token';
37
+ export * from './verifier-token';
37
38
  export * from './viacep';
38
39
  export * from './voucher';
39
40
  export * from './wa-server';
package/dist/index.js CHANGED
@@ -50,6 +50,7 @@ __exportStar(require("./subscription-base"), exports);
50
50
  __exportStar(require("./subscription-company"), exports);
51
51
  __exportStar(require("./subscription-customer"), exports);
52
52
  __exportStar(require("./token"), exports);
53
+ __exportStar(require("./verifier-token"), exports);
53
54
  __exportStar(require("./viacep"), exports);
54
55
  __exportStar(require("./voucher"), exports);
55
56
  __exportStar(require("./wa-server"), exports);
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.42",
3
+ "version": "1.2.44",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -0,0 +1 @@
1
+ export { VerifierTokenEntity } from './verifier-token.entity';
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifierTokenEntity = void 0;
4
+ var verifier_token_entity_1 = require("./verifier-token.entity");
5
+ Object.defineProperty(exports, "VerifierTokenEntity", { enumerable: true, get: function () { return verifier_token_entity_1.VerifierTokenEntity; } });
@@ -0,0 +1,12 @@
1
+ import { IVerifierToken } from '../interfaces/i-verifier-token';
2
+ export declare class VerifierTokenEntity implements IVerifierToken {
3
+ appId: string | null;
4
+ createdAt: number;
5
+ expiresAt: number;
6
+ id: string;
7
+ receiver: string;
8
+ value: string;
9
+ verified: boolean;
10
+ verifiedAt: number;
11
+ constructor(data?: Partial<VerifierTokenEntity>);
12
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.VerifierTokenEntity = void 0;
4
+ var VerifierTokenEntity = /** @class */ (function () {
5
+ // #endregion Properties (8)
6
+ // #region Constructors (1)
7
+ function VerifierTokenEntity(data) {
8
+ // #region Properties (8)
9
+ this.appId = null;
10
+ this.createdAt = Date.now();
11
+ this.expiresAt = Date.now() + 1000 * 60 * 30;
12
+ this.id = '';
13
+ this.receiver = '';
14
+ this.value = '';
15
+ this.verified = false;
16
+ this.verifiedAt = 0;
17
+ if (data) {
18
+ for (var key in data) {
19
+ if (data.hasOwnProperty(key) && key in this) {
20
+ this[key] = data[key];
21
+ }
22
+ }
23
+ }
24
+ }
25
+ return VerifierTokenEntity;
26
+ }());
27
+ exports.VerifierTokenEntity = VerifierTokenEntity;
@@ -0,0 +1,2 @@
1
+ export * from './entities';
2
+ export * from './interfaces';
@@ -0,0 +1,18 @@
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("./entities"), exports);
18
+ __exportStar(require("./interfaces"), exports);
@@ -0,0 +1,10 @@
1
+ export interface IVerifierToken {
2
+ createdAt: number;
3
+ expiresAt: number;
4
+ id: string;
5
+ receiver: string;
6
+ value: string;
7
+ verified: boolean;
8
+ verifiedAt: number;
9
+ appId: string | null;
10
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -0,0 +1 @@
1
+ export { IVerifierToken } from './i-verifier-token';
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.2.42",
3
+ "version": "1.2.44",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",