cecon-interfaces 1.1.64 → 1.1.65
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/clients/entities/client-aplication-credential.entity.d.ts +8 -0
- package/dist/clients/entities/client-aplication-credential.entity.js +23 -0
- package/dist/clients/entities/client-aplication.entity.d.ts +8 -0
- package/dist/clients/entities/client-aplication.entity.js +23 -0
- package/dist/clients/entities/client.entity.d.ts +13 -0
- package/dist/clients/entities/client.entity.js +27 -0
- package/dist/clients/entities/index.d.ts +3 -0
- package/dist/clients/entities/index.js +9 -0
- package/dist/clients/index.d.ts +2 -0
- package/dist/clients/index.js +18 -0
- package/dist/clients/interfaces/i-client-aplication.d.ts +6 -0
- package/dist/clients/interfaces/i-client-aplication.js +2 -0
- package/dist/clients/interfaces/i-client-credential.d.ts +6 -0
- package/dist/clients/interfaces/i-client-credential.js +2 -0
- package/dist/clients/interfaces/i-client.d.ts +12 -0
- package/dist/clients/interfaces/i-client.js +2 -0
- package/dist/clients/interfaces/index.d.ts +3 -0
- package/dist/clients/interfaces/index.js +2 -0
- package/dist/company/entities/company.entity.d.ts +2 -2
- package/dist/company/entities/company.entity.js +1 -1
- package/dist/company/interfaces/i-company.d.ts +2 -2
- package/dist/customer/entities/customer.entity.d.ts +26 -0
- package/dist/customer/entities/customer.entity.js +41 -0
- package/dist/customer/entities/index.d.ts +1 -0
- package/dist/customer/entities/index.js +5 -0
- package/dist/customer/enums/index.d.ts +2 -0
- package/dist/customer/enums/index.js +7 -0
- package/dist/customer/enums/interval.enum.d.ts +5 -0
- package/dist/customer/enums/interval.enum.js +9 -0
- package/dist/customer/enums/status.enum.d.ts +5 -0
- package/dist/customer/enums/status.enum.js +9 -0
- package/dist/customer/index.d.ts +3 -0
- package/dist/customer/index.js +19 -0
- package/dist/customer/interfaces/i-customer.d.ts +24 -0
- package/dist/customer/interfaces/i-customer.js +2 -0
- package/dist/customer/interfaces/index.d.ts +1 -0
- package/dist/customer/interfaces/index.js +2 -0
- package/dist/esm2022/clients/entities/client-aplication-credential.entity.mjs +19 -0
- package/dist/esm2022/clients/entities/client-aplication.entity.mjs +19 -0
- package/dist/esm2022/clients/entities/client.entity.mjs +23 -0
- package/dist/esm2022/clients/entities/index.mjs +4 -0
- package/dist/esm2022/clients/index.mjs +3 -0
- package/dist/esm2022/clients/interfaces/i-client-aplication.mjs +2 -0
- package/dist/esm2022/clients/interfaces/i-client-credential.mjs +2 -0
- package/dist/esm2022/clients/interfaces/i-client.mjs +2 -0
- package/dist/esm2022/clients/interfaces/index.mjs +2 -0
- package/dist/esm2022/company/entities/company.entity.mjs +3 -3
- package/dist/esm2022/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/customer/entities/customer.entity.mjs +37 -0
- package/dist/esm2022/customer/entities/index.mjs +2 -0
- package/dist/esm2022/customer/enums/index.mjs +3 -0
- package/dist/esm2022/customer/enums/interval.enum.mjs +7 -0
- package/dist/esm2022/customer/enums/status.enum.mjs +7 -0
- package/dist/esm2022/customer/index.mjs +4 -0
- package/dist/esm2022/customer/interfaces/i-customer.mjs +2 -0
- package/dist/esm2022/customer/interfaces/index.mjs +2 -0
- package/dist/esm2022/general/enums/doc-type.enum.mjs +6 -6
- package/dist/esm2022/general/enums/index.mjs +2 -2
- package/dist/esm2022/index.mjs +3 -1
- package/dist/esm2022/invite/entities/invite.entity.mjs +3 -3
- package/dist/esm2022/invite/interfaces/i-invite.mjs +1 -1
- package/dist/esm2022/invoice/entities/invoice-payer.entity.mjs +3 -3
- package/dist/esm2022/invoice/interfaces/i-invoice-payer.mjs +1 -1
- package/dist/esm2022/lead/entities/lead.entity.mjs +3 -3
- package/dist/esm2022/partner/entities/partner.entity.mjs +3 -3
- package/dist/esm2022/partner/interfaces/i-partner.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +119 -11
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/enums/doc-type.enum.d.ts +1 -1
- package/dist/general/enums/doc-type.enum.js +6 -6
- package/dist/general/enums/index.d.ts +1 -1
- package/dist/general/enums/index.js +2 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +2 -0
- package/dist/invite/entities/invite.entity.d.ts +2 -2
- package/dist/invite/entities/invite.entity.js +1 -1
- package/dist/invite/interfaces/i-invite.d.ts +2 -2
- package/dist/invoice/entities/invoice-payer.entity.d.ts +2 -2
- package/dist/invoice/entities/invoice-payer.entity.js +1 -1
- package/dist/invoice/interfaces/i-invoice-payer.d.ts +2 -2
- package/dist/lead/entities/lead.entity.d.ts +2 -2
- package/dist/lead/entities/lead.entity.js +1 -1
- package/dist/package.json +1 -1
- package/dist/partner/entities/partner.entity.d.ts +2 -2
- package/dist/partner/entities/partner.entity.js +1 -1
- package/dist/partner/interfaces/i-partner.d.ts +2 -2
- package/package.json +1 -1
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IClientAplicationCredential } from '../interfaces/i-client-credential';
|
2
|
+
export declare class ClientAplicationCredentialEntity implements IClientAplicationCredential {
|
3
|
+
refreshToken: string | null;
|
4
|
+
refreshTokenAt: Date | null;
|
5
|
+
secrets: string | null;
|
6
|
+
token: string | null;
|
7
|
+
constructor(data?: Partial<ClientAplicationCredentialEntity>);
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientAplicationCredentialEntity = void 0;
|
4
|
+
var ClientAplicationCredentialEntity = /** @class */ (function () {
|
5
|
+
// #endregion Properties (4)
|
6
|
+
// #region Constructors (1)
|
7
|
+
function ClientAplicationCredentialEntity(data) {
|
8
|
+
// #region Properties (4)
|
9
|
+
this.refreshToken = null;
|
10
|
+
this.refreshTokenAt = null;
|
11
|
+
this.secrets = null;
|
12
|
+
this.token = null;
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return ClientAplicationCredentialEntity;
|
22
|
+
}());
|
23
|
+
exports.ClientAplicationCredentialEntity = ClientAplicationCredentialEntity;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { IClientAplication } from '../interfaces/i-client-aplication';
|
2
|
+
import { IClientAplicationCredential } from '../interfaces/i-client-credential';
|
3
|
+
export declare class ClientAplicationEntity implements IClientAplication {
|
4
|
+
credential: IClientAplicationCredential;
|
5
|
+
description: string | null;
|
6
|
+
name: string;
|
7
|
+
constructor(data?: Partial<ClientAplicationEntity>);
|
8
|
+
}
|
@@ -0,0 +1,23 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientAplicationEntity = void 0;
|
4
|
+
var client_aplication_credential_entity_1 = require("./client-aplication-credential.entity");
|
5
|
+
var ClientAplicationEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (3)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function ClientAplicationEntity(data) {
|
9
|
+
// #region Properties (3)
|
10
|
+
this.credential = new client_aplication_credential_entity_1.ClientAplicationCredentialEntity();
|
11
|
+
this.description = null;
|
12
|
+
this.name = '';
|
13
|
+
if (data) {
|
14
|
+
for (var key in data) {
|
15
|
+
if (data.hasOwnProperty(key) && key in this) {
|
16
|
+
this[key] = data[key];
|
17
|
+
}
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
return ClientAplicationEntity;
|
22
|
+
}());
|
23
|
+
exports.ClientAplicationEntity = ClientAplicationEntity;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EDocType, IAddress } from '../../general';
|
2
|
+
import { IClient } from '../interfaces';
|
3
|
+
import { IClientAplication } from '../interfaces/i-client-aplication';
|
4
|
+
export declare class ClientEntity implements IClient {
|
5
|
+
address: IAddress | null;
|
6
|
+
aplications: IClientAplication[];
|
7
|
+
doc: string | null;
|
8
|
+
docType: EDocType;
|
9
|
+
email: string | null;
|
10
|
+
id: string;
|
11
|
+
name: string;
|
12
|
+
constructor(data?: Partial<ClientEntity>);
|
13
|
+
}
|
@@ -0,0 +1,27 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var ClientEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (7)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function ClientEntity(data) {
|
9
|
+
// #region Properties (7)
|
10
|
+
this.address = null;
|
11
|
+
this.aplications = [];
|
12
|
+
this.doc = null;
|
13
|
+
this.docType = general_1.EDocType.CPF;
|
14
|
+
this.email = null;
|
15
|
+
this.id = '';
|
16
|
+
this.name = '';
|
17
|
+
if (data) {
|
18
|
+
for (var key in data) {
|
19
|
+
if (data.hasOwnProperty(key) && key in this) {
|
20
|
+
this[key] = data[key];
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
return ClientEntity;
|
26
|
+
}());
|
27
|
+
exports.ClientEntity = ClientEntity;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ClientEntity = exports.ClientAplicationEntity = exports.ClientAplicationCredentialEntity = void 0;
|
4
|
+
var client_aplication_credential_entity_1 = require("./client-aplication-credential.entity");
|
5
|
+
Object.defineProperty(exports, "ClientAplicationCredentialEntity", { enumerable: true, get: function () { return client_aplication_credential_entity_1.ClientAplicationCredentialEntity; } });
|
6
|
+
var client_aplication_entity_1 = require("./client-aplication.entity");
|
7
|
+
Object.defineProperty(exports, "ClientAplicationEntity", { enumerable: true, get: function () { return client_aplication_entity_1.ClientAplicationEntity; } });
|
8
|
+
var client_entity_1 = require("./client.entity");
|
9
|
+
Object.defineProperty(exports, "ClientEntity", { enumerable: true, get: function () { return client_entity_1.ClientEntity; } });
|
@@ -0,0 +1,18 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,12 @@
|
|
1
|
+
import { IAddress } from '../../general';
|
2
|
+
import { EDocType } from '../../general/enums/doc-type.enum';
|
3
|
+
import { IClientAplication } from './i-client-aplication';
|
4
|
+
export interface IClient {
|
5
|
+
name: string;
|
6
|
+
address: IAddress | null;
|
7
|
+
doc: string | null;
|
8
|
+
aplications: IClientAplication[];
|
9
|
+
email: string | null;
|
10
|
+
docType: EDocType;
|
11
|
+
id: string;
|
12
|
+
}
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType } from '../../general';
|
2
2
|
import { AddressEntity } from '../../general/entities/address.entity';
|
3
3
|
import { DeliveryAreaEntity } from '../../general/entities/delivery-area.entity';
|
4
4
|
import { DeliveryAreaFixedEntity } from '../../general/entities/dellivery-area-fixed.entity';
|
@@ -17,7 +17,7 @@ export declare class CompanyEntity implements ICompany {
|
|
17
17
|
deliveryArea: DeliveryAreaEntity[];
|
18
18
|
deliveryAreaFixed: DeliveryAreaFixedEntity | null;
|
19
19
|
doc: string;
|
20
|
-
docType:
|
20
|
+
docType: EDocType;
|
21
21
|
email: string;
|
22
22
|
fullName: string;
|
23
23
|
id: string;
|
@@ -19,7 +19,7 @@ var CompanyEntity = /** @class */ (function () {
|
|
19
19
|
this.deliveryArea = [];
|
20
20
|
this.deliveryAreaFixed = null;
|
21
21
|
this.doc = '';
|
22
|
-
this.docType = general_1.
|
22
|
+
this.docType = general_1.EDocType.CNPJ;
|
23
23
|
this.email = '';
|
24
24
|
this.fullName = '';
|
25
25
|
this.id = '';
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType, IAddress, IDeliveryArea, IDeliveryAreaFixed, IMessagerChannel, IMobyoApiConfig, IOrigin, IPaymentProvider } from '../../general';
|
2
2
|
export interface ICompany {
|
3
3
|
active: boolean;
|
4
4
|
address: IAddress;
|
@@ -10,7 +10,7 @@ export interface ICompany {
|
|
10
10
|
deliveryAreaFixed?: IDeliveryAreaFixed | null;
|
11
11
|
phoneNumberNotification: string | null;
|
12
12
|
doc: string;
|
13
|
-
docType:
|
13
|
+
docType: EDocType;
|
14
14
|
email: string;
|
15
15
|
fullName: string;
|
16
16
|
id: string;
|
@@ -0,0 +1,26 @@
|
|
1
|
+
import { AddressEntity, DeliveryAreaEntity, DeliveryAreaFixedEntity, EDocType } from '../../general';
|
2
|
+
import { ECustomerInterval, ECustomerStatus } from '../enums';
|
3
|
+
import { ICustomer } from '../interfaces';
|
4
|
+
export declare class CustomerEntity implements ICustomer {
|
5
|
+
address: AddressEntity;
|
6
|
+
blockedReason: string | null;
|
7
|
+
createdAt: Date;
|
8
|
+
deliveryArea: DeliveryAreaEntity[];
|
9
|
+
deliveryAreaFixed?: DeliveryAreaFixedEntity | null | undefined;
|
10
|
+
doc: string;
|
11
|
+
docType: EDocType;
|
12
|
+
email: string;
|
13
|
+
fullName: string;
|
14
|
+
id: string;
|
15
|
+
imageUrl: string | null;
|
16
|
+
interval: ECustomerInterval;
|
17
|
+
limit: number;
|
18
|
+
name: string;
|
19
|
+
phoneNumber: string;
|
20
|
+
phoneNumberNotification: string | null;
|
21
|
+
sandbox: boolean;
|
22
|
+
status: ECustomerStatus;
|
23
|
+
tags: string[];
|
24
|
+
updatedAt: Date;
|
25
|
+
constructor(data?: Partial<CustomerEntity>);
|
26
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CustomerEntity = void 0;
|
4
|
+
var general_1 = require("../../general");
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var CustomerEntity = /** @class */ (function () {
|
7
|
+
// #endregion Properties (20)
|
8
|
+
// #region Constructors (1)
|
9
|
+
function CustomerEntity(data) {
|
10
|
+
// #region Properties (20)
|
11
|
+
this.address = new general_1.AddressEntity();
|
12
|
+
this.blockedReason = null;
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.deliveryArea = [];
|
15
|
+
this.deliveryAreaFixed = undefined;
|
16
|
+
this.doc = '';
|
17
|
+
this.docType = general_1.EDocType.CPF;
|
18
|
+
this.email = '';
|
19
|
+
this.fullName = '';
|
20
|
+
this.id = '';
|
21
|
+
this.imageUrl = null;
|
22
|
+
this.interval = enums_1.ECustomerInterval.MONTHLY;
|
23
|
+
this.limit = 0;
|
24
|
+
this.name = '';
|
25
|
+
this.phoneNumber = '';
|
26
|
+
this.phoneNumberNotification = null;
|
27
|
+
this.sandbox = false;
|
28
|
+
this.status = enums_1.ECustomerStatus.WAITING_CREDIT_ANALYSIS;
|
29
|
+
this.tags = [];
|
30
|
+
this.updatedAt = new Date();
|
31
|
+
if (data) {
|
32
|
+
for (var key in data) {
|
33
|
+
if (data.hasOwnProperty(key) && key in this) {
|
34
|
+
this[key] = data[key];
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
}
|
39
|
+
return CustomerEntity;
|
40
|
+
}());
|
41
|
+
exports.CustomerEntity = CustomerEntity;
|
@@ -0,0 +1 @@
|
|
1
|
+
export { CustomerEntity } from './customer.entity';
|
@@ -0,0 +1,5 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.CustomerEntity = void 0;
|
4
|
+
var customer_entity_1 = require("./customer.entity");
|
5
|
+
Object.defineProperty(exports, "CustomerEntity", { enumerable: true, get: function () { return customer_entity_1.CustomerEntity; } });
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ECustomerStatus = exports.ECustomerInterval = void 0;
|
4
|
+
var interval_enum_1 = require("./interval.enum");
|
5
|
+
Object.defineProperty(exports, "ECustomerInterval", { enumerable: true, get: function () { return interval_enum_1.ECustomerInterval; } });
|
6
|
+
var status_enum_1 = require("./status.enum");
|
7
|
+
Object.defineProperty(exports, "ECustomerStatus", { enumerable: true, get: function () { return status_enum_1.ECustomerStatus; } });
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ECustomerInterval = void 0;
|
4
|
+
var ECustomerInterval;
|
5
|
+
(function (ECustomerInterval) {
|
6
|
+
ECustomerInterval["WEEKLY"] = "WEEKLY";
|
7
|
+
ECustomerInterval["BIWEEKLY"] = "BIWEEKLY";
|
8
|
+
ECustomerInterval["MONTHLY"] = "MONTHLY";
|
9
|
+
})(ECustomerInterval || (exports.ECustomerInterval = ECustomerInterval = {}));
|
@@ -0,0 +1,9 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.ECustomerStatus = void 0;
|
4
|
+
var ECustomerStatus;
|
5
|
+
(function (ECustomerStatus) {
|
6
|
+
ECustomerStatus["BLOCKED"] = "BLOCKED";
|
7
|
+
ECustomerStatus["ACTIVE"] = "ACTIVE";
|
8
|
+
ECustomerStatus["WAITING_CREDIT_ANALYSIS"] = "WAITING_CREDIT_ANALYSIS";
|
9
|
+
})(ECustomerStatus || (exports.ECustomerStatus = ECustomerStatus = {}));
|
@@ -0,0 +1,19 @@
|
|
1
|
+
"use strict";
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
3
|
+
if (k2 === undefined) k2 = k;
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
7
|
+
}
|
8
|
+
Object.defineProperty(o, k2, desc);
|
9
|
+
}) : (function(o, m, k, k2) {
|
10
|
+
if (k2 === undefined) k2 = k;
|
11
|
+
o[k2] = m[k];
|
12
|
+
}));
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
|
+
};
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./entities"), exports);
|
18
|
+
__exportStar(require("./enums"), exports);
|
19
|
+
__exportStar(require("./interfaces"), exports);
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { EDocType, IAddress, IDeliveryArea, IDeliveryAreaFixed } from '../../general';
|
2
|
+
import { ECustomerInterval, ECustomerStatus } from '../enums';
|
3
|
+
export interface ICustomer {
|
4
|
+
address: IAddress;
|
5
|
+
createdAt: Date;
|
6
|
+
deliveryArea: IDeliveryArea[];
|
7
|
+
deliveryAreaFixed?: IDeliveryAreaFixed | null;
|
8
|
+
doc: string;
|
9
|
+
docType: EDocType;
|
10
|
+
email: string;
|
11
|
+
fullName: string;
|
12
|
+
blockedReason: string | null;
|
13
|
+
id: string;
|
14
|
+
imageUrl: string | null;
|
15
|
+
interval: ECustomerInterval;
|
16
|
+
limit: number;
|
17
|
+
name: string;
|
18
|
+
phoneNumber: string;
|
19
|
+
phoneNumberNotification: string | null;
|
20
|
+
sandbox: boolean;
|
21
|
+
status: ECustomerStatus;
|
22
|
+
tags: string[];
|
23
|
+
updatedAt: Date;
|
24
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export { ICustomer } from './i-customer';
|
@@ -0,0 +1,19 @@
|
|
1
|
+
export class ClientAplicationCredentialEntity {
|
2
|
+
// #region Properties (4)
|
3
|
+
refreshToken = null;
|
4
|
+
refreshTokenAt = null;
|
5
|
+
secrets = null;
|
6
|
+
token = null;
|
7
|
+
// #endregion Properties (4)
|
8
|
+
// #region Constructors (1)
|
9
|
+
constructor(data) {
|
10
|
+
if (data) {
|
11
|
+
for (let key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWFwbGljYXRpb24tY3JlZGVudGlhbC5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2xpZW50cy9lbnRpdGllcy9jbGllbnQtYXBsaWNhdGlvbi1jcmVkZW50aWFsLmVudGl0eS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFFQSxNQUFNLE9BQU8sZ0NBQWdDO0lBQzNDLHlCQUF5QjtJQUVsQixZQUFZLEdBQWtCLElBQUksQ0FBQztJQUNuQyxjQUFjLEdBQWdCLElBQUksQ0FBQztJQUNuQyxPQUFPLEdBQWtCLElBQUksQ0FBQztJQUM5QixLQUFLLEdBQWtCLElBQUksQ0FBQztJQUVuQyw0QkFBNEI7SUFFNUIsMkJBQTJCO0lBRTNCLFlBQVksSUFBZ0Q7UUFDMUQsSUFBSSxJQUFJLEVBQUU7WUFDUixLQUFLLElBQUksR0FBRyxJQUFJLElBQUksRUFBRTtnQkFDcEIsSUFBSSxJQU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AgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XHJcbiAgICAgICAgfVxyXG4gICAgICB9XHJcbiAgICB9XHJcbiAgfVxyXG5cclxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxufVxyXG4iXX0=
|
@@ -0,0 +1,19 @@
|
|
1
|
+
import { ClientAplicationCredentialEntity } from './client-aplication-credential.entity';
|
2
|
+
export class ClientAplicationEntity {
|
3
|
+
// #region Properties (3)
|
4
|
+
credential = new ClientAplicationCredentialEntity();
|
5
|
+
description = null;
|
6
|
+
name = '';
|
7
|
+
// #endregion Properties (3)
|
8
|
+
// #region Constructors (1)
|
9
|
+
constructor(data) {
|
10
|
+
if (data) {
|
11
|
+
for (let key in data) {
|
12
|
+
if (data.hasOwnProperty(key) && key in this) {
|
13
|
+
this[key] = data[key];
|
14
|
+
}
|
15
|
+
}
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
19
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LWFwbGljYXRpb24uZW50aXR5LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NsaWVudHMvZW50aXRpZXMvY2xpZW50LWFwbGljYXRpb24uZW50aXR5LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUVBLE9BQU8sRUFBRSxnQ0FBZ0MsRUFBRSxNQUFNLHVDQUF1QyxDQUFDO0FBRXpGLE1BQU0sT0FBTyxzQkFBc0I7SUFDakMseUJBQXlCO0lBRWxCLFVBQVUsR0FBZ0MsSUFBSSxnQ0FBZ0MsRUFBRSxDQUFDO0lBQ2pGLFdBQVcsR0FBa0IsSUFBSSxDQUFDO0lBQ2xDLElBQUksR0FBVyxFQUFFLENBQUM7SUFFekIsNEJBQTRCO0lBRTVCLDJCQUEyQjtJQUUzQixZQUFZLElBQX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yXG5cclxuICAvLyAjcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcclxuXHJcbiAgY29uc3RydWN0b3IoZGF0YT86IFBhcnRpYWw8Q2xpZW50QXBsaWNhdGlvbkVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,23 @@
|
|
1
|
+
import { EDocType } from '../../general';
|
2
|
+
export class ClientEntity {
|
3
|
+
// #region Properties (7)
|
4
|
+
address = null;
|
5
|
+
aplications = [];
|
6
|
+
doc = null;
|
7
|
+
docType = EDocType.CPF;
|
8
|
+
email = null;
|
9
|
+
id = '';
|
10
|
+
name = '';
|
11
|
+
// #endregion Properties (7)
|
12
|
+
// #region Constructors (1)
|
13
|
+
constructor(data) {
|
14
|
+
if (data) {
|
15
|
+
for (let key in data) {
|
16
|
+
if (data.hasOwnProperty(key) && key in this) {
|
17
|
+
this[key] = data[key];
|
18
|
+
}
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY2xpZW50LmVudGl0eS5qcyIsInNvdXJjZVJvb3QiOiIiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uL3NyYy9jbGllbnRzL2VudGl0aWVzL2NsaWVudC5lbnRpdHkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsT0FBTy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Jlc3M6IElBZGRyZXNzIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIGFwbGljYXRpb25zOiBJQ2xpZW50QXBsaWNhdGlvbltdID0gW107XHJcbiAgcHVibGljIGRvYzogc3RyaW5nIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIGRvY1R5cGU6IEVEb2NUeXBlID0gRURvY1R5cGUuQ1BGO1xyXG4gIHB1YmxpYyBlbWFpbDogc3RyaW5nIHwgbnVsbCA9IG51bGw7XHJcbiAgcHVibGljIGlkOiBzdHJpbmcgPSAnJztcclxuICBwdWJsaWMgbmFtZTogc3RyaW5nID0gJyc7XHJcblxyXG4gIC8vICNlbmRyZWdpb24gUHJvcGVydGllcyAoNylcclxuXHJcbiAgLy8gI3JlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcblxyXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPENsaWVudEVudGl0eT4pIHtcclxuICAgIGlmIChkYXRhKSB7XHJcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XHJcbiAgICAgICAgaWYgKGRhdGEuaGFzT3duUHJvcGVydHkoa2V5KSAmJiBrZXkgaW4gdGhpcykge1xyXG4gICAgICAgICAgKHRoaXMgYXMgYW55KVtrZXldID0gKGRhdGEgYXMgYW55KVtrZXldO1xyXG4gICAgICAgIH1cclxuICAgICAgfVxyXG4gICAgfVxyXG4gIH1cclxuXHJcbiAgLy8gI2VuZHJlZ2lvbiBDb25zdHJ1Y3RvcnMgKDEpXHJcbn1cclxuIl19
|
@@ -0,0 +1,4 @@
|
|
1
|
+
export { ClientAplicationCredentialEntity } from './client-aplication-credential.entity';
|
2
|
+
export { ClientAplicationEntity } from './client-aplication.entity';
|
3
|
+
export { ClientEntity } from './client.entity';
|
4
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2xpZW50cy9lbnRpdGllcy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0NBQWdDLEVBQUUsTUFBTSx1Q0FBdUMsQ0FBQztBQUN6RixPQUFPLEVBQUUsc0JBQXNCLEVBQUUsTUFBTSw0QkFBNEIsQ0FBQztBQUNwRSxPQUFPLEVBQUUsWUFBWSxFQUFFLE1BQU0saUJBQWlCLENBQUMiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBDbGllbnRBcGxpY2F0aW9uQ3JlZGVudGlhbEVudGl0eSB9IGZyb20gJy4vY2xpZW50LWFwbGljYXRpb24tY3JlZGVudGlhbC5lbnRpdHknO1xuZXhwb3J0IHsgQ2xpZW50QXBsaWNhdGlvbkVudGl0eSB9IGZyb20gJy4vY2xpZW50LWFwbGljYXRpb24uZW50aXR5JztcbmV4cG9ydCB7IENsaWVudEVudGl0eSB9IGZyb20gJy4vY2xpZW50LmVudGl0eSc7XG4iXX0=
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export * from './entities';
|
2
|
+
export * from './interfaces';
|
3
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi9zcmMvY2xpZW50cy9pbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxjQUFjLFlBQVksQ0FBQztBQUMzQixjQUFjLGNBQWMsQ0FBQyIsInNvdXJjZXNDb250ZW50IjpbImV4cG9ydCAqIGZyb20gJy4vZW50aXRpZXMnO1xuZXhwb3J0ICogZnJvbSAnLi9pbnRlcmZhY2VzJztcblxuIl19
|
@@ -0,0 +1,2 @@
|
|
1
|
+
export {};
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb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2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY2xpZW50cy9pbnRlcmZhY2VzL2luZGV4LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiIiLCJzb3VyY2VzQ29udGVudCI6WyJleHBvcnQgeyBJQ2xpZW50IH0gZnJvbSAnLi9pLWNsaWVudCc7XG5leHBvcnQgeyBJQ2xpZW50QXBsaWNhdGlvbiB9IGZyb20gJy4vaS1jbGllbnQtYXBsaWNhdGlvbic7XG5leHBvcnQgeyBJQ2xpZW50QXBsaWNhdGlvbkNyZWRlbnRpYWwgfSBmcm9tICcuL2ktY2xpZW50LWNyZWRlbnRpYWwnO1xuIl19
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType } from '../../general';
|
2
2
|
import { AddressEntity } from '../../general/entities/address.entity';
|
3
3
|
import { OriginEntity } from '../../general/entities/origin.entity';
|
4
4
|
import { PaymentProviderEntity } from '../../general/entities/payment-provider.entity';
|
@@ -13,7 +13,7 @@ export class CompanyEntity {
|
|
13
13
|
deliveryArea = [];
|
14
14
|
deliveryAreaFixed = null;
|
15
15
|
doc = '';
|
16
|
-
docType =
|
16
|
+
docType = EDocType.CNPJ;
|
17
17
|
email = '';
|
18
18
|
fullName = '';
|
19
19
|
id = '';
|
@@ -42,4 +42,4 @@ export class CompanyEntity {
|
|
42
42
|
}
|
43
43
|
}
|
44
44
|
}
|
45
|
-
//# sourceMappingURL=data:application/json;base64,
|
45
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiY29tcGFueS5lbnRpdHkuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi9zcmMvY29tcGFueS9lbnRpdGllcy9jb21wYW55LmVudGl0eS50cyJdLCJuYW1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VxuXG4gIGNvbnN0cnVjdG9yKGRhdGE/OiBQYXJ0aWFsPENvbXBhbnlFbnRpdHk+KSB7XG4gICAgaWYgKGRhdGEpIHtcbiAgICAgIGZvciAobGV0IGtleSBpbiBkYXRhKSB7XG4gICAgICAgIGlmIChkYXRhLmhhc093blByb3BlcnR5KGtleSkgJiYga2V5IGluIHRoaXMpIHtcbiAgICAgICAgICAodGhpcyBhcyBhbnkpW2tleV0gPSAoZGF0YSBhcyBhbnkpW2tleV07XG4gICAgICAgIH1cbiAgICAgIH1cbiAgICB9XG4gIH1cblxuICAvLyAjZW5kcmVnaW9uIENvbnN0cnVjdG9ycyAoMSlcbn1cbiJdfQ==
|
@@ -1,2 +1,2 @@
|
|
1
1
|
export {};
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaS1jb21wYW55LmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vc3JjL2NvbXBhbnkvaW50ZXJmYWNlcy9pLWNvbXBhbnkudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IiIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7XHJcbiAgRURvY1R5cGUsXHJcbiAgSUFkZHJlc3MsXHJcbiAgSURlbGl2ZXJ5QXJlYSxcclxuICBJRGVsaXZlcnlBcmVhRml4ZWQsXHJcbiAgSU1lc3NhZ2VyQ2hhbm5lbCxcclxuICBJTW9ieW9BcGlDb25maWcsXHJcbiAgSU9yaWdpbixcclxuICBJUGF5bWVudFByb3ZpZGVyLFxyXG59IGZyb20gJy4uLy4uL2dlbmVyYWwnO1xyXG5cclxuZXhwb3J0IGludGVyZmFjZSBJQ29tcGFueSB7XHJcbiAgLy8gI3JlZ2lvbiBQcm9wZXJ0aWVzICgyNSlcclxuXHJcbiAgYWN0aXZlOiBib29sZWFuO1xyXG4gIGFkZHJlc3M6IElBZG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