cecon-interfaces 1.9.45 → 1.9.46
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/cards/entities/card-company.entity.mjs +17 -0
- package/dist/esm2022/payio/cards/entities/card-config.entity.mjs +1 -1
- package/dist/esm2022/payio/cards/entities/card-item.entity.mjs +14 -0
- package/dist/esm2022/payio/cards/entities/index.mjs +3 -3
- package/dist/esm2022/payio/cards/interfaces/i-card-company.mjs +1 -1
- package/dist/esm2022/payio/cards/interfaces/i-card-config.mjs +1 -1
- package/dist/esm2022/payio/cards/interfaces/i-card-item.mjs +1 -1
- package/dist/esm2022/payio/cards/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +3 -3
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/payio/cards/entities/card-company.entity.d.ts +9 -0
- package/dist/payio/cards/entities/{card-aplicable-company.entity.js → card-company.entity.js} +5 -5
- package/dist/payio/cards/entities/card-config.entity.d.ts +3 -3
- package/dist/payio/cards/entities/card-item.entity.d.ts +6 -0
- package/dist/payio/cards/entities/{card-aplicable-item.entity.js → card-item.entity.js} +5 -5
- package/dist/payio/cards/entities/index.d.ts +2 -2
- package/dist/payio/cards/entities/index.js +5 -5
- package/dist/payio/cards/interfaces/i-card-company.d.ts +1 -1
- package/dist/payio/cards/interfaces/i-card-config.d.ts +6 -6
- package/dist/payio/cards/interfaces/i-card-item.d.ts +1 -1
- package/dist/payio/cards/interfaces/index.d.ts +2 -2
- package/package.json +1 -1
- package/dist/esm2022/payio/cards/entities/card-aplicable-company.entity.mjs +0 -17
- package/dist/esm2022/payio/cards/entities/card-aplicable-item.entity.mjs +0 -14
- package/dist/payio/cards/entities/card-aplicable-company.entity.d.ts +0 -9
- package/dist/payio/cards/entities/card-aplicable-item.entity.d.ts +0 -6
@@ -0,0 +1,9 @@
|
|
1
|
+
import { EDocType } from '../../../general';
|
2
|
+
import { IPayioCardCompany } from '../interfaces';
|
3
|
+
export declare class PayioCardCompanyEntity implements IPayioCardCompany {
|
4
|
+
doc: string;
|
5
|
+
docType: EDocType;
|
6
|
+
id: string;
|
7
|
+
name: string;
|
8
|
+
constructor(data?: Partial<PayioCardCompanyEntity>);
|
9
|
+
}
|
package/dist/payio/cards/entities/{card-aplicable-company.entity.js → card-company.entity.js}
RENAMED
@@ -1,9 +1,9 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
3
|
+
exports.PayioCardCompanyEntity = void 0;
|
4
4
|
var general_1 = require("../../../general");
|
5
|
-
var
|
6
|
-
function
|
5
|
+
var PayioCardCompanyEntity = /** @class */ (function () {
|
6
|
+
function PayioCardCompanyEntity(data) {
|
7
7
|
this.doc = '';
|
8
8
|
this.docType = general_1.EDocType.CNPJ;
|
9
9
|
this.id = '';
|
@@ -16,6 +16,6 @@ var PayioCardApplicableCompanyEntity = /** @class */ (function () {
|
|
16
16
|
}
|
17
17
|
}
|
18
18
|
}
|
19
|
-
return
|
19
|
+
return PayioCardCompanyEntity;
|
20
20
|
}());
|
21
|
-
exports.
|
21
|
+
exports.PayioCardCompanyEntity = PayioCardCompanyEntity;
|
@@ -1,18 +1,18 @@
|
|
1
1
|
import { EAmountMode, ECycle } from '../../../general';
|
2
|
-
import {
|
2
|
+
import { IPayioCardAuth, IPayioCardCompany, IPayioCardConfig, IPayioCardItem } from '../interfaces';
|
3
3
|
export declare class PayioCardConfigEntity implements IPayioCardConfig {
|
4
4
|
appIds: string[];
|
5
5
|
auth?: IPayioCardAuth | null | undefined;
|
6
6
|
balance: number;
|
7
7
|
billingCycle: ECycle;
|
8
|
-
companies:
|
8
|
+
companies: IPayioCardCompany[];
|
9
9
|
creditLimit: number;
|
10
10
|
description: string | null;
|
11
11
|
discountAmount: number;
|
12
12
|
discountAmountType: EAmountMode;
|
13
13
|
dueDate: Date;
|
14
14
|
invoiceLogs: string[];
|
15
|
-
items:
|
15
|
+
items: IPayioCardItem[];
|
16
16
|
key: string | null;
|
17
17
|
password: string | null;
|
18
18
|
webhookUrls: string[];
|
@@ -1,8 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.
|
4
|
-
var
|
5
|
-
function
|
3
|
+
exports.PayioCardItemEntity = void 0;
|
4
|
+
var PayioCardItemEntity = /** @class */ (function () {
|
5
|
+
function PayioCardItemEntity(data) {
|
6
6
|
this.externalCode = '';
|
7
7
|
this.name = '';
|
8
8
|
if (data) {
|
@@ -13,6 +13,6 @@ var PayioCardApplicableItemEntity = /** @class */ (function () {
|
|
13
13
|
}
|
14
14
|
}
|
15
15
|
}
|
16
|
-
return
|
16
|
+
return PayioCardItemEntity;
|
17
17
|
}());
|
18
|
-
exports.
|
18
|
+
exports.PayioCardItemEntity = PayioCardItemEntity;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
export {
|
2
|
-
export {
|
1
|
+
export { PayioCardCompanyEntity } from './card-company.entity';
|
2
|
+
export { PayioCardItemEntity } from './card-item.entity';
|
3
3
|
export { PayioCardAuthEntity } from './card-auth.entity';
|
4
4
|
export { PayioCardConfigEntity } from './card-config.entity';
|
5
5
|
export { PayioCardDataEntity } from './card-data.entity';
|
@@ -1,10 +1,10 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCardEntity = exports.PayioCardAccountProviderEntity = exports.PayioCardDataEntity = exports.PayioCardConfigEntity = exports.PayioCardAuthEntity = exports.
|
4
|
-
var
|
5
|
-
Object.defineProperty(exports, "
|
6
|
-
var
|
7
|
-
Object.defineProperty(exports, "
|
3
|
+
exports.PayioCardEntity = exports.PayioCardAccountProviderEntity = exports.PayioCardDataEntity = exports.PayioCardConfigEntity = exports.PayioCardAuthEntity = exports.PayioCardItemEntity = exports.PayioCardCompanyEntity = void 0;
|
4
|
+
var card_company_entity_1 = require("./card-company.entity");
|
5
|
+
Object.defineProperty(exports, "PayioCardCompanyEntity", { enumerable: true, get: function () { return card_company_entity_1.PayioCardCompanyEntity; } });
|
6
|
+
var card_item_entity_1 = require("./card-item.entity");
|
7
|
+
Object.defineProperty(exports, "PayioCardItemEntity", { enumerable: true, get: function () { return card_item_entity_1.PayioCardItemEntity; } });
|
8
8
|
var card_auth_entity_1 = require("./card-auth.entity");
|
9
9
|
Object.defineProperty(exports, "PayioCardAuthEntity", { enumerable: true, get: function () { return card_auth_entity_1.PayioCardAuthEntity; } });
|
10
10
|
var card_config_entity_1 = require("./card-config.entity");
|
@@ -1,20 +1,20 @@
|
|
1
|
-
import { EAmountMode, ECycle } from
|
2
|
-
import { IPayioCardAuth } from
|
3
|
-
import {
|
4
|
-
import {
|
1
|
+
import { EAmountMode, ECycle } from '../../../general';
|
2
|
+
import { IPayioCardAuth } from './i-card-auth';
|
3
|
+
import { IPayioCardCompany } from './i-card-company';
|
4
|
+
import { IPayioCardItem } from './i-card-item';
|
5
5
|
export interface IPayioCardConfig {
|
6
6
|
appIds: string[];
|
7
7
|
auth?: IPayioCardAuth | null;
|
8
8
|
balance?: number;
|
9
9
|
billingCycle: ECycle;
|
10
|
-
companies:
|
10
|
+
companies: IPayioCardCompany[];
|
11
11
|
creditLimit?: number;
|
12
12
|
description?: string | null;
|
13
13
|
discountAmount: number;
|
14
14
|
discountAmountType: EAmountMode;
|
15
15
|
dueDate: Date;
|
16
16
|
invoiceLogs: string[];
|
17
|
-
items:
|
17
|
+
items: IPayioCardItem[];
|
18
18
|
key: string | null;
|
19
19
|
password: string | null;
|
20
20
|
webhookUrls: string[];
|
@@ -1,7 +1,7 @@
|
|
1
1
|
export { IPayioCard } from './i-card';
|
2
2
|
export { IPayioCardAccountProvider } from './i-card-account-provider';
|
3
3
|
export { IPayioCardAuth } from './i-card-auth';
|
4
|
-
export {
|
4
|
+
export { IPayioCardCompany } from './i-card-company';
|
5
5
|
export { IPayioCardConfig } from './i-card-config';
|
6
6
|
export { IPayioCardData } from './i-card-data';
|
7
|
-
export {
|
7
|
+
export { IPayioCardItem } from './i-card-item';
|
package/package.json
CHANGED
@@ -1,17 +0,0 @@
|
|
1
|
-
import { EDocType } from '../../../general';
|
2
|
-
export class PayioCardApplicableCompanyEntity {
|
3
|
-
doc = '';
|
4
|
-
docType = EDocType.CNPJ;
|
5
|
-
id = '';
|
6
|
-
name = '';
|
7
|
-
constructor(data) {
|
8
|
-
if (data) {
|
9
|
-
for (let key in data) {
|
10
|
-
if (data.hasOwnProperty(key) && key in this) {
|
11
|
-
this[key] = data[key];
|
12
|
-
}
|
13
|
-
}
|
14
|
-
}
|
15
|
-
}
|
16
|
-
}
|
17
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1hcGxpY2FibGUtY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcGF5aW8vY2FyZHMvZW50aXRpZXMvY2FyZC1hcGxpY2FibGUtY29tcGFueS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTyxFQUFFLFFBQVEsRUFBRSxNQUFNLGtCQUFrQixDQUFDO0FBRzVDLE1BQU0sT0FBTyxnQ0FBZ0M7SUFDcEMsR0FBRyxHQUFXLEVBQUUsQ0FBQztJQUNqQixPQUFPLEdBQWEsUUFBUSxDQUFDLElBQUksQ0FBQztJQUNsQyxFQUFFLEdBQVcsRUFBRSxDQUFDO0lBQ2hCLElBQUksR0FBVyxFQUFFLENBQUM7SUFFekIsWUFBWSxJQUFnRDtRQUMxRCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgRURvY1R5cGUgfSBmcm9tICcuLi8uLi8uLi9nZW5lcmFsJztcclxuaW1wb3J0IHsgSVBheWlvQ2FyZEFwcGxpY2FibGVDb21wYW55IH0gZnJvbSAnLi4vaW50ZXJmYWNlcyc7XHJcblxyXG5leHBvcnQgY2xhc3MgUGF5aW9DYXJkQXBwbGljYWJsZUNvbXBhbnlFbnRpdHkgaW1wbGVtZW50cyBJUGF5aW9DYXJkQXBwbGljYWJsZUNvbXBhbnkge1xyXG4gIHB1YmxpYyBkb2M6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBkb2NUeXBlOiBFRG9jVHlwZSA9IEVEb2NUeXBlLkNOUEo7XHJcbiAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPFBheWlvQ2FyZEFwcGxpY2FibGVDb21wYW55RW50aXR5Pikge1xyXG4gICAgaWYgKGRhdGEpIHtcclxuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcclxuICAgICAgICBpZiAoZGF0YS5oYXNPd25Qcm9wZXJ0eShrZXkpICYmIGtleSBpbiB0aGlzKSB7XHJcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG59XHJcbiJdfQ==
|
@@ -1,14 +0,0 @@
|
|
1
|
-
export class PayioCardApplicableItemEntity {
|
2
|
-
externalCode = '';
|
3
|
-
name = '';
|
4
|
-
constructor(data) {
|
5
|
-
if (data) {
|
6
|
-
for (let key in data) {
|
7
|
-
if (data.hasOwnProperty(key) && key in this) {
|
8
|
-
this[key] = data[key];
|
9
|
-
}
|
10
|
-
}
|
11
|
-
}
|
12
|
-
}
|
13
|
-
}
|
14
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2FyZC1hcGxpY2FibGUtaXRlbS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi9zcmMvcGF5aW8vY2FyZHMvZW50aXRpZXMvY2FyZC1hcGxpY2FibGUtaXRlbS5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLDZCQUE2QjtJQUNqQyxZQUFZLEdBQVcsRUFBRSxDQUFDO0lBQzFCLElBQUksR0FBVyxFQUFFLENBQUM7SUFFekIsWUFBWSxJQUE2QztRQUN2RCxJQUFJLElBQUksRUFBRTtZQUNSLEtBQUssSUFBSSxHQUFHLElBQUksSUFBSSxFQUFFO2dCQUNwQixJQUFJLElBQUksQ0FBQyxjQUFjLENBQUMsR0FBRyxDQUFDLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtvQkFDMUMsSUFBWSxDQUFDLEdBQUcsQ0FBQyxHQUFJLElBQVksQ0FBQyxHQUFHLENBQUMsQ0FBQztpQkFDekM7YUFDRjtTQUNGO0lBQ0gsQ0FBQztDQUNGIiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IHsgSVBheWlvQ2FyZEFwcGxpY2FibGVJdGVtIH0gZnJvbSAnLi4vaW50ZXJmYWNlcyc7XHJcblxyXG5leHBvcnQgY2xhc3MgUGF5aW9DYXJkQXBwbGljYWJsZUl0ZW1FbnRpdHkgaW1wbGVtZW50cyBJUGF5aW9DYXJkQXBwbGljYWJsZUl0ZW0ge1xyXG4gIHB1YmxpYyBleHRlcm5hbENvZGU6IHN0cmluZyA9ICcnO1xyXG4gIHB1YmxpYyBuYW1lOiBzdHJpbmcgPSAnJztcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8UGF5aW9DYXJkQXBwbGljYWJsZUl0ZW1FbnRpdHk+KSB7XHJcbiAgICBpZiAoZGF0YSkge1xyXG4gICAgICBmb3IgKGxldCBrZXkgaW4gZGF0YSkge1xyXG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcclxuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcclxuICAgICAgICB9XHJcbiAgICAgIH1cclxuICAgIH1cclxuICB9XHJcbn1cclxuIl19
|
@@ -1,9 +0,0 @@
|
|
1
|
-
import { EDocType } from '../../../general';
|
2
|
-
import { IPayioCardApplicableCompany } from '../interfaces';
|
3
|
-
export declare class PayioCardApplicableCompanyEntity implements IPayioCardApplicableCompany {
|
4
|
-
doc: string;
|
5
|
-
docType: EDocType;
|
6
|
-
id: string;
|
7
|
-
name: string;
|
8
|
-
constructor(data?: Partial<PayioCardApplicableCompanyEntity>);
|
9
|
-
}
|