cecon-interfaces 1.8.86 → 1.8.88
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/payio/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/payio/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/payio/payload/entities/payload.entity.mjs +1 -1
- package/dist/esm2022/payio/payload/enums/index.mjs +2 -1
- package/dist/esm2022/payio/payload/enums/token-type.enum.mjs +11 -0
- package/dist/esm2022/payio/payload/interfaces/i-payload.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +13 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/company/entities/company.entity.d.ts +2 -2
- package/dist/payio/company/entities/company.entity.js +1 -1
- package/dist/payio/company/interfaces/i-company.d.ts +2 -2
- package/dist/payio/payload/entities/payload.entity.d.ts +2 -1
- package/dist/payio/payload/enums/index.d.ts +1 -0
- package/dist/payio/payload/enums/index.js +3 -1
- package/dist/payio/payload/enums/token-type.enum.d.ts +9 -0
- package/dist/payio/payload/enums/token-type.enum.js +13 -0
- package/dist/payio/payload/interfaces/i-payload.d.ts +2 -1
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType, IPaymentProvider } from '../../../general';
|
2
2
|
import { IPayioCompany } from '../interfaces/i-company';
|
3
3
|
import { PayioAddressEntity } from './address.entity';
|
4
4
|
import { PayioCompanyNatipayCredentialEntity } from './natipay-credential.entity';
|
@@ -12,7 +12,7 @@ export declare class PayioCompanyEntity implements IPayioCompany {
|
|
12
12
|
createdAt: Date;
|
13
13
|
currency: string;
|
14
14
|
doc: string;
|
15
|
-
docType:
|
15
|
+
docType: EDocType;
|
16
16
|
email: string;
|
17
17
|
id: string;
|
18
18
|
ifoodMerchantId: string | null;
|
@@ -15,7 +15,7 @@ var PayioCompanyEntity = /** @class */ (function () {
|
|
15
15
|
this.createdAt = new Date();
|
16
16
|
this.currency = 'BRL';
|
17
17
|
this.doc = '';
|
18
|
-
this.docType = general_1.
|
18
|
+
this.docType = general_1.EDocType.CNPJ;
|
19
19
|
this.email = '';
|
20
20
|
this.id = '';
|
21
21
|
this.ifoodMerchantId = null;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType } from '../../../general';
|
2
2
|
import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
|
3
3
|
import { IPayioAddress } from './i-address';
|
4
4
|
import { IPayioCompanyNatipayCredential } from './i-natipay-credential';
|
@@ -12,7 +12,7 @@ export interface IPayioCompany {
|
|
12
12
|
createdAt: Date;
|
13
13
|
currency: string;
|
14
14
|
doc: string;
|
15
|
-
docType:
|
15
|
+
docType: EDocType;
|
16
16
|
email: string;
|
17
17
|
id: string;
|
18
18
|
ifoodMerchantId: string | null;
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EPayuioActivationStatus } from '../../activation-key/enums/activation-key-status.enum';
|
2
2
|
import { PayioPermissionEntity } from '../../permissions';
|
3
|
+
import { JwtTokenType } from '../enums';
|
3
4
|
import { IPayioJwtPayload } from '../interfaces/i-payload';
|
4
5
|
import { IPayioJwtPayloadApp } from '../interfaces/i-payload-app';
|
5
6
|
import { IPayioJwtPayloadInfo } from '../interfaces/i-payload-info';
|
@@ -18,7 +19,7 @@ export declare class PayioJwtPayloadEntity implements IPayioJwtPayload {
|
|
18
19
|
jti: string;
|
19
20
|
permissions: PayioPermissionEntity[];
|
20
21
|
sub: string;
|
21
|
-
type:
|
22
|
+
type: JwtTokenType | null;
|
22
23
|
user: PayioJwtPayloadUserEntity | null;
|
23
24
|
constructor(data?: Partial<PayioJwtPayloadEntity>);
|
24
25
|
}
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.EPayioUserType = void 0;
|
3
|
+
exports.EPayioUserType = exports.JwtTokenType = void 0;
|
4
|
+
var token_type_enum_1 = require("./token-type.enum");
|
5
|
+
Object.defineProperty(exports, "JwtTokenType", { enumerable: true, get: function () { return token_type_enum_1.JwtTokenType; } });
|
4
6
|
var user_type_enum_1 = require("./user-type.enum");
|
5
7
|
Object.defineProperty(exports, "EPayioUserType", { enumerable: true, get: function () { return user_type_enum_1.EPayioUserType; } });
|
@@ -0,0 +1,13 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.JwtTokenType = void 0;
|
4
|
+
var JwtTokenType;
|
5
|
+
(function (JwtTokenType) {
|
6
|
+
JwtTokenType["SIGNIN"] = "SIGNIN";
|
7
|
+
JwtTokenType["SIGNUP"] = "SIGNUP";
|
8
|
+
JwtTokenType["REFRESH_TOKEN"] = "REFRESH_TOKEN";
|
9
|
+
JwtTokenType["CHECKIN"] = "CHECKIN";
|
10
|
+
JwtTokenType["CHECKOUT"] = "CHECKOUT";
|
11
|
+
JwtTokenType["DEVICE"] = "DEVICE";
|
12
|
+
JwtTokenType["ACCESS_TOKEN"] = "ACCESS_TOKEN";
|
13
|
+
})(JwtTokenType || (exports.JwtTokenType = JwtTokenType = {}));
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EPayuioActivationStatus } from '../../activation-key/enums/activation-key-status.enum';
|
2
2
|
import { IPayioPermission } from '../../permissions';
|
3
|
+
import { JwtTokenType } from '../enums';
|
3
4
|
import { IPayioJwtPayloadApp } from './i-payload-app';
|
4
5
|
import { IPayioJwtPayloadDevice } from './i-payload-device';
|
5
6
|
import { IPayioJwtPayloadInfo } from './i-payload-info';
|
@@ -30,6 +31,6 @@ export interface IPayioJwtPayload {
|
|
30
31
|
jti: string;
|
31
32
|
permissions: IPayioPermission[];
|
32
33
|
sub: string;
|
33
|
-
type:
|
34
|
+
type: JwtTokenType | null;
|
34
35
|
user: IPayioJwtPayloadUser | null;
|
35
36
|
}
|