cecon-interfaces 1.2.43 → 1.2.44
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/index.mjs +2 -1
- package/dist/esm2022/verifier-token/entities/index.mjs +2 -0
- package/dist/esm2022/verifier-token/entities/verifier-token.entity.mjs +23 -0
- package/dist/esm2022/verifier-token/index.mjs +3 -0
- package/dist/esm2022/verifier-token/interfaces/i-verifier-token.mjs +2 -0
- package/dist/esm2022/verifier-token/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +24 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/package.json +1 -1
- package/dist/verifier-token/entities/index.d.ts +1 -0
- package/dist/verifier-token/entities/index.js +5 -0
- package/dist/verifier-token/entities/verifier-token.entity.d.ts +12 -0
- package/dist/verifier-token/entities/verifier-token.entity.js +27 -0
- package/dist/verifier-token/index.d.ts +2 -0
- package/dist/verifier-token/index.js +18 -0
- package/dist/verifier-token/interfaces/i-verifier-token.d.ts +10 -0
- package/dist/verifier-token/interfaces/i-verifier-token.js +2 -0
- package/dist/verifier-token/interfaces/index.d.ts +1 -0
- package/dist/verifier-token/interfaces/index.js +2 -0
- package/package.json +1 -1
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
@@ -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,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 @@
|
|
1
|
+
export { IVerifierToken } from './i-verifier-token';
|