cecon-interfaces 1.7.15 → 1.7.16
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/esm2022/natipay/index.mjs +2 -1
- package/dist/esm2022/natipay/tokens/entities/index.mjs +2 -0
- package/dist/esm2022/natipay/tokens/entities/token.entity.mjs +27 -0
- package/dist/esm2022/natipay/tokens/index.mjs +3 -0
- package/dist/esm2022/natipay/tokens/interfaces/i-token.mjs +2 -0
- package/dist/esm2022/natipay/tokens/interfaces/index.mjs +2 -0
- package/dist/fesm2022/cecon-interfaces.mjs +28 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/natipay/index.d.ts +1 -0
- package/dist/natipay/index.js +1 -0
- package/dist/natipay/tokens/entities/index.d.ts +1 -0
- package/dist/natipay/tokens/entities/index.js +5 -0
- package/dist/natipay/tokens/entities/token.entity.d.ts +16 -0
- package/dist/natipay/tokens/entities/token.entity.js +31 -0
- package/dist/natipay/tokens/index.d.ts +2 -0
- package/dist/natipay/tokens/index.js +18 -0
- package/dist/natipay/tokens/interfaces/i-token.d.ts +14 -0
- package/dist/natipay/tokens/interfaces/i-token.js +2 -0
- package/dist/natipay/tokens/interfaces/index.d.ts +1 -0
- package/dist/natipay/tokens/interfaces/index.js +2 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
package/dist/natipay/index.d.ts
CHANGED
package/dist/natipay/index.js
CHANGED
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./payload"), exports);
|
18
|
+
__exportStar(require("./tokens"), exports);
|
18
19
|
__exportStar(require("./user"), exports);
|
@@ -0,0 +1 @@
|
|
1
|
+
export { NatipayTokenEntity } from './token.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayTokenEntity = void 0;
|
4
|
+
var token_entity_1 = require("./token.entity");
|
5
|
+
Object.defineProperty(exports, "NatipayTokenEntity", { enumerable: true, get: function () { return token_entity_1.NatipayTokenEntity; } });
|
@@ -0,0 +1,16 @@
|
|
1
|
+
import { INatipayToken } from '../interfaces/i-token';
|
2
|
+
export declare class NatipayTokenEntity implements INatipayToken {
|
3
|
+
createdAt: Date;
|
4
|
+
deviceId: string | null;
|
5
|
+
expiresAt: Date;
|
6
|
+
id: string;
|
7
|
+
ipAddress: string | null;
|
8
|
+
isRevoked: boolean;
|
9
|
+
refreshToken: string;
|
10
|
+
revokedAt: Date | null;
|
11
|
+
sandbox: boolean;
|
12
|
+
updatedAt: Date;
|
13
|
+
userAgent: string | null;
|
14
|
+
userId: string;
|
15
|
+
constructor(data?: Partial<NatipayTokenEntity>);
|
16
|
+
}
|
@@ -0,0 +1,31 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayTokenEntity = void 0;
|
4
|
+
var NatipayTokenEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (12)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function NatipayTokenEntity(data) {
|
8
|
+
// #region Properties (12)
|
9
|
+
this.createdAt = new Date();
|
10
|
+
this.deviceId = null;
|
11
|
+
this.expiresAt = new Date();
|
12
|
+
this.id = '';
|
13
|
+
this.ipAddress = null;
|
14
|
+
this.isRevoked = false;
|
15
|
+
this.refreshToken = '';
|
16
|
+
this.revokedAt = null;
|
17
|
+
this.sandbox = false;
|
18
|
+
this.updatedAt = new Date();
|
19
|
+
this.userAgent = null;
|
20
|
+
this.userId = '';
|
21
|
+
if (data) {
|
22
|
+
for (var key in data) {
|
23
|
+
if (data.hasOwnProperty(key) && key in this) {
|
24
|
+
this[key] = data[key];
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
return NatipayTokenEntity;
|
30
|
+
}());
|
31
|
+
exports.NatipayTokenEntity = NatipayTokenEntity;
|
@@ -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,14 @@
|
|
1
|
+
export interface INatipayToken {
|
2
|
+
createdAt: Date;
|
3
|
+
deviceId: string | null;
|
4
|
+
expiresAt: Date;
|
5
|
+
id: string;
|
6
|
+
ipAddress: string | null;
|
7
|
+
isRevoked: boolean;
|
8
|
+
refreshToken: string;
|
9
|
+
revokedAt: Date | null;
|
10
|
+
sandbox: boolean;
|
11
|
+
updatedAt: Date;
|
12
|
+
userAgent: string | null;
|
13
|
+
userId: string;
|
14
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { INatipayToken } from './i-token';
|
package/dist/package.json
CHANGED