cecon-interfaces 1.2.81 → 1.2.82
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 +3 -1
- package/dist/company/entities/company.entity.js +2 -2
- package/dist/company/interfaces/i-company-contact.d.ts +5 -0
- package/dist/company/interfaces/i-company-contact.js +2 -0
- package/dist/company/interfaces/i-company.d.ts +3 -0
- package/dist/company/interfaces/index.d.ts +1 -0
- package/dist/esm2022/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/company/interfaces/i-company-contact.mjs +2 -0
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/company/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +2 -2
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/package.json +1 -1
@@ -6,7 +6,7 @@ import { MessagerChannelEntity } from '../../general/entities/messager-channel.e
|
|
6
6
|
import { MobyoApiConfigEntity } from '../../general/entities/mobyo-apiconfig.entity';
|
7
7
|
import { OriginEntity } from '../../general/entities/origin.entity';
|
8
8
|
import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
|
9
|
-
import { ICompany, ICompanyTrialPlansUsed } from '../interfaces';
|
9
|
+
import { ICompany, ICompanyContact, ICompanyTrialPlansUsed } from '../interfaces';
|
10
10
|
export declare class CompanyEntity implements ICompany {
|
11
11
|
active: boolean;
|
12
12
|
address: AddressEntity;
|
@@ -35,5 +35,7 @@ export declare class CompanyEntity implements ICompany {
|
|
35
35
|
updatedAt: Date;
|
36
36
|
usedTrialsPlans: ICompanyTrialPlansUsed[];
|
37
37
|
version: string;
|
38
|
+
pixKey: string;
|
39
|
+
contacts: ICompanyContact[];
|
38
40
|
constructor(data?: Partial<CompanyEntity>);
|
39
41
|
}
|
@@ -6,8 +6,6 @@ var address_entity_1 = require("../../general/entities/address.entity");
|
|
6
6
|
var origin_entity_1 = require("../../general/entities/origin.entity");
|
7
7
|
var payment_provider_entity_1 = require("../../general/entities/payment-provider.entity");
|
8
8
|
var CompanyEntity = /** @class */ (function () {
|
9
|
-
// #endregion Properties (27)
|
10
|
-
// #region Constructors (1)
|
11
9
|
function CompanyEntity(data) {
|
12
10
|
// #region Properties (27)
|
13
11
|
this.active = false;
|
@@ -37,6 +35,8 @@ var CompanyEntity = /** @class */ (function () {
|
|
37
35
|
this.updatedAt = new Date();
|
38
36
|
this.usedTrialsPlans = [];
|
39
37
|
this.version = '1.0.0';
|
38
|
+
this.pixKey = '';
|
39
|
+
this.contacts = [];
|
40
40
|
if (data) {
|
41
41
|
for (var key in data) {
|
42
42
|
if (data.hasOwnProperty(key) && key in this) {
|
@@ -1,5 +1,6 @@
|
|
1
1
|
import { EDocType, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin, IPaymentProvider } from '../../general';
|
2
2
|
import { IInstallation } from '../../installation';
|
3
|
+
import { ICompanyContact } from './i-company-contact';
|
3
4
|
import { ICompanyTrialPlansUsed } from './i-company-trial-useds';
|
4
5
|
export interface ICompany {
|
5
6
|
active: boolean;
|
@@ -33,4 +34,6 @@ export interface ICompany {
|
|
33
34
|
updatedAt: Date;
|
34
35
|
version: string;
|
35
36
|
installationDesenfila?: IInstallation;
|
37
|
+
pixKey: string;
|
38
|
+
contacts: ICompanyContact[];
|
36
39
|
}
|
@@ -31,8 +31,8 @@ export class CompanyEntity {
|
|
31
31
|
updatedAt = new Date();
|
32
32
|
usedTrialsPlans = [];
|
33
33
|
version = '1.0.0';
|
34
|
-
|
35
|
-
|
34
|
+
pixKey = '';
|
35
|
+
contacts = [];
|
36
36
|
constructor(data) {
|
37
37
|
if (data) {
|
38
38
|
for (let key in data) {
|
@@ -43,4 +43,4 @@ export class CompanyEntity {
|
|
43
43
|
}
|
44
44
|
}
|
45
45
|
}
|
46
|
-
//# sourceMappingURL=data:application/json;base64,
|
46
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS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W5nW10gPSBbXTtcbiAgcHVibGljIHNhbmRib3g6IGJvb2xlYW4gPSBmYWxzZTtcbiAgcHVibGljIHRhZ3M6IHN0cmluZ1tdID0gW107XG4gIHB1YmxpYyB1cGRhdGVkQXQ6IERhdGUgPSBuZXcgRGF0ZSgpO1xuICBwdWJsaWMgdXNlZFRyaWFsc1BsYW5zOiBJQ29tcGFueVRyaWFsUGxhbnNVc2VkW10gPSBbXTtcbiAgcHVibGljIHZlcnNpb246IHN0cmluZyA9ICcxLjAuMCc7XG4gIHB1YmxpYyBwaXhLZXk6IHN0cmluZyA9ICcnO1xuICBwdWJsaWMgY29udGFjdHM6IElDb21wYW55Q29udGFjdFtdID0gW107XG4gIFxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPENvbXBhbnlFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LWNvbnRhY3QuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9pbnRlcmZhY2VzL2ktY29tcGFueS1jb250YWN0LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgaW50ZXJmYWNlIElDb21wYW55Q29udGFjdCB7XHJcbiAgdGl0bGU6IHN0cmluZztcclxuICB2YWx1ZTogc3RyaW5nIHwgbnVtYmVyIHwgYm9vbGVhbiB8IERhdGUgfCBudWxsIHwgdW5kZWZpbmVkO1xyXG4gIHVwZGF0ZWRBdD86IERhdGU7XHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XHJcbiAgRURvY1R5cGUsXHJcbiAgSUFkZHJlc3MsXHJcbiAgSURlbGl2ZXJ5QXJlYSxcclxuICBJRGVsaXZlcnlBcmVhRml4ZWQsXHJcbiAgSU1lc3NhZ2VyQ2hhbm5lbCxcclxuICBJTW9ieW9BcGlDb25maWcsXHJcbiAgSU9yaWdpbixcclxuICBJUGF5bWVudFByb3ZpZGVyLFxyXG59IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5pbXBvcnQgeyBJSW5zdGFsbGF0aW9uIH0gZnJvbSAnLi4vLi4vaW5zdGFsbGF0aW9uJztcclxuaW1wb3J0IHsgSUNvbXBhbnlDb250YWN0IH0gZnJvbSAnLi9pLWNvbXBhbnktY29udGFjdCc7XHJcbmltcG9ydCB7IElDb21wYW55VHJpYWxQbGFuc1VzZWQgfSBmcm9tICcuL2ktY29tcGFueS10cmlhbC11c2Vkcyc7XHJcblxyXG5leHBvcnQgaW50ZXJmYWNlIElDb21wYW55IHtcclxuICAvLyAjcmVnaW9uIFByb3BlcnRpZXMgKDI1KVxyXG5cclxuICBhY3RpdmU6IGJvb2x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bmc7XHJcbiAgaW5zdGFsbGF0aW9uRGVzZW5maWxhPzogSUluc3RhbGxhdGlvbjtcclxuICBwaXhLZXk6IHN0cmluZztcclxuICBjb250YWN0czogSUNvbXBhbnlDb250YWN0W107XHJcbiAgXHJcbn1cclxuIl19
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJQ29tcGFueSB9IGZyb20gJy4vaS1jb21wYW55JztcbmV4cG9ydCB7IElDb21wYW55VHJpYWxQbGFuc1VzZWQgfSBmcm9tICcuL2ktY29tcGFueS10cmlhbC11c2Vkcyc7XG5leHBvcnQgeyBJQ29tcGFueUNvbnRhY3QgfSBmcm9tICcuL2ktY29tcGFueS1jb250YWN0JztcbiJdfQ==
|
@@ -1904,8 +1904,8 @@ class CompanyEntity {
|
|
1904
1904
|
updatedAt = new Date();
|
1905
1905
|
usedTrialsPlans = [];
|
1906
1906
|
version = '1.0.0';
|
1907
|
-
|
1908
|
-
|
1907
|
+
pixKey = '';
|
1908
|
+
contacts = [];
|
1909
1909
|
constructor(data) {
|
1910
1910
|
if (data) {
|
1911
1911
|
for (let key in data) {
|