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