cecon-interfaces 1.2.84 → 1.2.86
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/company/entities/company.entity.d.ts +1 -0
- package/dist/company/entities/company.entity.js +1 -0
- package/dist/company/interfaces/i-company.d.ts +1 -0
- package/dist/esm2022/company/entities/company.entity.mjs +2 -1
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/index.mjs +2 -2
- package/dist/esm2022/logss/entities/index.mjs +2 -0
- package/dist/esm2022/logss/entities/log.entity.mjs +20 -0
- package/dist/esm2022/logss/index.mjs +3 -0
- package/dist/esm2022/logss/interfaces/i-log.mjs +2 -0
- package/dist/esm2022/logss/interfaces/index.mjs +2 -0
- package/dist/esm2022/mottu/entities/order.entity.mjs +2 -1
- package/dist/esm2022/mottu/interfaces/i-order.mjs +1 -1
- package/dist/esm2022/subscription-customer/entities/customer-credit-limit.entity.mjs +20 -0
- package/dist/esm2022/subscription-customer/entities/index.mjs +2 -1
- package/dist/esm2022/subscription-customer/entities/subscription.entity.mjs +2 -4
- package/dist/esm2022/subscription-customer/interfaces/i-customer-credit-limit.mjs +2 -0
- package/dist/esm2022/subscription-customer/interfaces/i-subscription.mjs +1 -1
- package/dist/esm2022/subscription-customer/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +24 -4
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/mottu/entities/order.entity.d.ts +2 -1
- package/dist/mottu/entities/order.entity.js +1 -0
- package/dist/mottu/interfaces/i-order.d.ts +2 -1
- package/dist/package.json +1 -1
- package/dist/subscription-customer/entities/customer-credit-limit.entity.d.ts +9 -0
- package/dist/subscription-customer/entities/customer-credit-limit.entity.js +24 -0
- package/dist/subscription-customer/entities/index.d.ts +1 -0
- package/dist/subscription-customer/entities/index.js +3 -1
- package/dist/subscription-customer/entities/subscription.entity.d.ts +2 -3
- package/dist/subscription-customer/entities/subscription.entity.js +1 -3
- package/dist/subscription-customer/interfaces/i-customer-credit-limit.d.ts +7 -0
- package/dist/subscription-customer/interfaces/i-customer-credit-limit.js +2 -0
- package/dist/subscription-customer/interfaces/i-subscription.d.ts +2 -3
- package/dist/subscription-customer/interfaces/index.d.ts +1 -0
- package/package.json +1 -1
- package/dist/esm2022/logs/entities/index.mjs +0 -2
- package/dist/esm2022/logs/entities/log.entity.mjs +0 -20
- package/dist/esm2022/logs/index.mjs +0 -3
- package/dist/esm2022/logs/interfaces/i-log.mjs +0 -2
- package/dist/esm2022/logs/interfaces/index.mjs +0 -2
- /package/dist/{logs → logss}/entities/index.d.ts +0 -0
- /package/dist/{logs → logss}/entities/index.js +0 -0
- /package/dist/{logs → logss}/entities/log.entity.d.ts +0 -0
- /package/dist/{logs → logss}/entities/log.entity.js +0 -0
- /package/dist/{logs → logss}/index.d.ts +0 -0
- /package/dist/{logs → logss}/index.js +0 -0
- /package/dist/{logs → logss}/interfaces/i-log.d.ts +0 -0
- /package/dist/{logs → logss}/interfaces/i-log.js +0 -0
- /package/dist/{logs → logss}/interfaces/index.d.ts +0 -0
- /package/dist/{logs → logss}/interfaces/index.js +0 -0
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
@@ -65,4 +65,4 @@ __exportStar(require("./viacep"), exports);
|
|
65
65
|
__exportStar(require("./voucher"), exports);
|
66
66
|
__exportStar(require("./wa-server"), exports);
|
67
67
|
__exportStar(require("./withdraw"), exports);
|
68
|
-
__exportStar(require("./
|
68
|
+
__exportStar(require("./logss"), exports);
|
@@ -8,7 +8,7 @@ export declare class MottuOrderEntity implements IMottuOrder {
|
|
8
8
|
expectedDelivery: Date;
|
9
9
|
expectedPickup: Date;
|
10
10
|
fullCode: string;
|
11
|
-
id:
|
11
|
+
id: any;
|
12
12
|
origin: string;
|
13
13
|
pickupCode: string;
|
14
14
|
preparationTime: number;
|
@@ -16,5 +16,6 @@ export declare class MottuOrderEntity implements IMottuOrder {
|
|
16
16
|
situation: number;
|
17
17
|
storeId: number;
|
18
18
|
totalDistance: number;
|
19
|
+
updatedAt: Date;
|
19
20
|
constructor(data?: Partial<MottuOrderEntity>);
|
20
21
|
}
|
@@ -9,7 +9,7 @@ export interface IMottuOrder {
|
|
9
9
|
expectedDelivery: Date;
|
10
10
|
expectedPickup: Date;
|
11
11
|
fullCode: string;
|
12
|
-
id:
|
12
|
+
id: any;
|
13
13
|
origin: string;
|
14
14
|
pickupCode: string;
|
15
15
|
preparationTime: number;
|
@@ -17,4 +17,5 @@ export interface IMottuOrder {
|
|
17
17
|
situation: number;
|
18
18
|
storeId: number;
|
19
19
|
totalDistance: number;
|
20
|
+
updatedAt: Date;
|
20
21
|
}
|
package/dist/package.json
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
import { ICustomerCreditLimit } from '../interfaces/i-customer-credit-limit';
|
2
|
+
export declare class CustomerCreditLimitEntity implements ICustomerCreditLimit {
|
3
|
+
amountUsed: number;
|
4
|
+
currentBalance: number;
|
5
|
+
creditLimit: number;
|
6
|
+
companyId: string;
|
7
|
+
containerId: string;
|
8
|
+
constructor(data?: Partial<CustomerCreditLimitEntity>);
|
9
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CustomerCreditLimitEntity = void 0;
|
4
|
+
var CustomerCreditLimitEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (8)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function CustomerCreditLimitEntity(data) {
|
8
|
+
// #region Properties (8)
|
9
|
+
this.amountUsed = 0;
|
10
|
+
this.currentBalance = 0;
|
11
|
+
this.creditLimit = 0;
|
12
|
+
this.companyId = '';
|
13
|
+
this.containerId = '';
|
14
|
+
if (data) {
|
15
|
+
for (var key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
return CustomerCreditLimitEntity;
|
23
|
+
}());
|
24
|
+
exports.CustomerCreditLimitEntity = CustomerCreditLimitEntity;
|
@@ -1,6 +1,8 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SubscriptionCustomerEntity = exports.SubscriptionCustomerProfileEntity = void 0;
|
3
|
+
exports.SubscriptionCustomerEntity = exports.SubscriptionCustomerProfileEntity = exports.CustomerCreditLimitEntity = void 0;
|
4
|
+
var customer_credit_limit_entity_1 = require("./customer-credit-limit.entity");
|
5
|
+
Object.defineProperty(exports, "CustomerCreditLimitEntity", { enumerable: true, get: function () { return customer_credit_limit_entity_1.CustomerCreditLimitEntity; } });
|
4
6
|
var subscription_customer_entity_1 = require("./subscription-customer.entity");
|
5
7
|
Object.defineProperty(exports, "SubscriptionCustomerProfileEntity", { enumerable: true, get: function () { return subscription_customer_entity_1.SubscriptionCustomerProfileEntity; } });
|
6
8
|
var subscription_entity_1 = require("./subscription.entity");
|
@@ -2,11 +2,10 @@ import { ECustomerInterval } from '../../customer';
|
|
2
2
|
import { IInvoice } from '../../invoice';
|
3
3
|
import { SubscriptionBaseEntity } from '../../subscription-base';
|
4
4
|
import { ISubscriptionCustomer } from '../interfaces/i-subscription';
|
5
|
+
import { CustomerCreditLimitEntity } from './customer-credit-limit.entity';
|
5
6
|
import { SubscriptionCustomerProfileEntity } from './subscription-customer.entity';
|
6
7
|
export declare class SubscriptionCustomerEntity extends SubscriptionBaseEntity implements ISubscriptionCustomer {
|
7
|
-
|
8
|
-
creditLimit: number;
|
9
|
-
currentBalance: number;
|
8
|
+
customerCreditLimit: CustomerCreditLimitEntity[];
|
10
9
|
customerId: string | null;
|
11
10
|
customerInterval: ECustomerInterval;
|
12
11
|
openedInvoices: IInvoice[];
|
@@ -26,9 +26,7 @@ var SubscriptionCustomerEntity = /** @class */ (function (_super) {
|
|
26
26
|
function SubscriptionCustomerEntity(data) {
|
27
27
|
var _this = _super.call(this, data) || this;
|
28
28
|
// #region Properties (9)
|
29
|
-
_this.
|
30
|
-
_this.creditLimit = 0;
|
31
|
-
_this.currentBalance = 0;
|
29
|
+
_this.customerCreditLimit = [];
|
32
30
|
_this.customerId = null;
|
33
31
|
_this.customerInterval = customer_1.ECustomerInterval.MONTHLY;
|
34
32
|
_this.openedInvoices = [];
|
@@ -1,11 +1,10 @@
|
|
1
1
|
import { ECustomerInterval } from '../../customer';
|
2
2
|
import { IInvoice } from '../../invoice';
|
3
3
|
import { ISubscriptionBase } from '../../subscription-base';
|
4
|
+
import { ICustomerCreditLimit } from './i-customer-credit-limit';
|
4
5
|
import { ISubscriptionCustomerProfile } from './i-subscription-customer';
|
5
6
|
export interface ISubscriptionCustomer extends ISubscriptionBase {
|
6
|
-
|
7
|
-
creditLimit: number;
|
8
|
-
currentBalance: number;
|
7
|
+
customerCreditLimit: ICustomerCreditLimit[];
|
9
8
|
customerId: string | null;
|
10
9
|
customerInterval: ECustomerInterval;
|
11
10
|
openedInvoices: IInvoice[];
|
package/package.json
CHANGED
@@ -1,2 +0,0 @@
|
|
1
|
-
export { LogsEntity } from './log.entity';
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbG9ncy9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsVUFBVSxFQUFFLE1BQU0sY0FBYyxDQUFDIiwic291cmNlc0NvbnRlbnQiOlsiZXhwb3J0IHsgTG9nc0VudGl0eSB9IGZyb20gJy4vbG9nLmVudGl0eSc7XHJcbiJdfQ==
|
@@ -1,20 +0,0 @@
|
|
1
|
-
export class LogsEntity {
|
2
|
-
// #region Properties (12)
|
3
|
-
name = '';
|
4
|
-
createdAt = new Date();
|
5
|
-
description = '';
|
6
|
-
email = '';
|
7
|
-
memberId = '';
|
8
|
-
endPoint = '';
|
9
|
-
id = '';
|
10
|
-
constructor(data) {
|
11
|
-
if (data) {
|
12
|
-
for (let key in data) {
|
13
|
-
if (data.hasOwnProperty(key) && key in this) {
|
14
|
-
this[key] = data[key];
|
15
|
-
}
|
16
|
-
}
|
17
|
-
}
|
18
|
-
}
|
19
|
-
}
|
20
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibG9nLmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9sb2dzL2VudGl0aWVzL2xvZy5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBRUEsTUFBTSxPQUFPLFVBQVU7SUFDckIsMEJBQTBCO0lBQzFCLElBQUksR0FBVyxFQUFFLENBQUM7SUFDbEIsU0FBUyxHQUFRLElBQUksSUFBSSxFQUFFLENBQUM7SUFDNUIsV0FBVyxHQUFXLEVBQUUsQ0FBQztJQUN6QixLQUFLLEdBQVcsRUFBRSxDQUFDO0lBQ25CLFFBQVEsR0FBVyxFQUFFLENBQUM7SUFDdEIsUUFBUSxHQUFXLEVBQUUsQ0FBQztJQUN0QixFQUFFLEdBQVcsRUFBRSxDQUFDO0lBRWhCLFlBQVksSUFBMEI7UUFDcEMsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQUFJLENBQUMsY0FBYyxDQUFDLEdBQUcsQ0FBQyxJQUFJLEdBQUcsSUFBSSxJQUFJLEVBQUU7b0JBQzFDLElBQVksQ0FBQyxHQUFHLENBQUMsR0FBSSxJQUFZLENBQUMsR0FBRyxDQUFDLENBQUM7aUJBQ3pDO2FBQ0Y7U0FDRjtJQUNILENBQUM7Q0FFRiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IElMb2cgfSBmcm9tICcuLi9pbnRlcmZhY2VzL2ktbG9nJztcblxuZXhwb3J0IGNsYXNzIExvZ3NFbnRpdHkgaW1wbGVtZW50cyBJTG9nIHtcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgxMilcbiAgbmFtZTogc3RyaW5nID0gJyc7XG4gIGNyZWF0ZWRBdDogRGF0ZT0gbmV3IERhdGUoKTtcbiAgZGVzY3JpcHRpb246IHN0cmluZyA9ICcnO1xuICBlbWFpbDogc3RyaW5nID0gJyc7XG4gIG1lbWJlcklkOiBzdHJpbmcgPSAnJztcbiAgZW5kUG9pbnQ6IHN0cmluZyA9ICcnO1xuICBpZDogc3RyaW5nID0gJyc7XG5cbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8TG9nc0VudGl0eT4pIHtcbiAgICBpZiAoZGF0YSkge1xuICAgICAgZm9yIChsZXQga2V5IGluIGRhdGEpIHtcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xuICAgICAgICAgICh0aGlzIGFzIGFueSlba2V5XSA9IChkYXRhIGFzIGFueSlba2V5XTtcbiAgICAgICAgfVxuICAgICAgfVxuICAgIH1cbiAgfVxuXG59XG4iXX0=
|
@@ -1,3 +0,0 @@
|
|
1
|
-
export * from './entities';
|
2
|
-
export * from './interfaces';
|
3
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvbG9ncy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcbiJdfQ==
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1sb2cuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbG9ncy9pbnRlcmZhY2VzL2ktbG9nLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElMb2cge1xuICBuYW1lOiBzdHJpbmc7XG4gIGNyZWF0ZWRBdDogRGF0ZTtcbiAgZGVzY3JpcHRpb246IHN0cmluZztcbiAgZW1haWw6IHN0cmluZztcbiAgbWVtYmVySWQ6IHN0cmluZztcbiAgZW5kUG9pbnQ6IHN0cmluZztcbiAgaWQ6c3RyaW5nXG59XG4iXX0=
|
@@ -1,2 +0,0 @@
|
|
1
|
-
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvbG9ncy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJTG9nIH0gZnJvbSAnLi9pLWxvZyc7XHJcbiJdfQ==
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|