cecon-interfaces 1.5.99 → 1.6.1
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/esm2022/payio/company/entities/address.entity.mjs +27 -0
- package/dist/esm2022/payio/company/entities/company.entity.mjs +35 -0
- package/dist/esm2022/payio/company/entities/index.mjs +3 -0
- package/dist/esm2022/payio/company/index.mjs +3 -0
- package/dist/esm2022/payio/company/interfaces/i-address.mjs +2 -0
- package/dist/esm2022/payio/company/interfaces/i-company.mjs +2 -0
- package/dist/esm2022/payio/company/interfaces/index.mjs +2 -0
- package/dist/esm2022/payio/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +61 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/package.json +1 -1
- package/dist/payio/company/entities/address.entity.d.ts +16 -0
- package/dist/payio/company/entities/address.entity.js +29 -0
- package/dist/payio/company/entities/company.entity.d.ts +24 -0
- package/dist/payio/company/entities/company.entity.js +39 -0
- package/dist/payio/company/entities/index.d.ts +2 -0
- package/dist/payio/company/entities/index.js +7 -0
- package/dist/payio/company/index.d.ts +2 -0
- package/dist/payio/company/index.js +18 -0
- package/dist/payio/company/interfaces/i-address.d.ts +14 -0
- package/dist/payio/company/interfaces/i-address.js +2 -0
- package/dist/payio/company/interfaces/i-company.d.ts +24 -0
- package/dist/payio/company/interfaces/i-company.js +2 -0
- package/dist/payio/company/interfaces/index.d.ts +2 -0
- package/dist/payio/company/interfaces/index.js +2 -0
- package/dist/payio/index.d.ts +1 -0
- package/dist/payio/index.js +1 -0
- package/package.json +1 -1
package/dist/package.json
CHANGED
@@ -0,0 +1,16 @@
|
|
1
|
+
import { CoordsEntity } from '../../../general/entities/coords.entity';
|
2
|
+
import { IPayioAddress } from '../interfaces/i-address';
|
3
|
+
export declare class PayioAddressEntity implements IPayioAddress {
|
4
|
+
city: string;
|
5
|
+
complement: string | null;
|
6
|
+
coords: CoordsEntity;
|
7
|
+
country: string | null | undefined;
|
8
|
+
formattedAddress: string | null | undefined;
|
9
|
+
name: string | null;
|
10
|
+
neighborhood: string;
|
11
|
+
postalCode: string;
|
12
|
+
state: string;
|
13
|
+
streetName: string;
|
14
|
+
streetNumber: string;
|
15
|
+
constructor(data?: Partial<PayioAddressEntity>);
|
16
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioAddressEntity = void 0;
|
4
|
+
var coords_entity_1 = require("../../../general/entities/coords.entity");
|
5
|
+
var PayioAddressEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (11)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PayioAddressEntity(data) {
|
9
|
+
// #region Properties (11)
|
10
|
+
this.city = '';
|
11
|
+
this.complement = '';
|
12
|
+
this.coords = new coords_entity_1.CoordsEntity();
|
13
|
+
this.name = '';
|
14
|
+
this.neighborhood = '';
|
15
|
+
this.postalCode = '';
|
16
|
+
this.state = '';
|
17
|
+
this.streetName = '';
|
18
|
+
this.streetNumber = '';
|
19
|
+
if (data) {
|
20
|
+
for (var key in data) {
|
21
|
+
if (data.hasOwnProperty(key) && key in this) {
|
22
|
+
this[key] = data[key];
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
}
|
27
|
+
return PayioAddressEntity;
|
28
|
+
}());
|
29
|
+
exports.PayioAddressEntity = PayioAddressEntity;
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { AddressEntity, EDocType, IPaymentProvider } from '../../../general';
|
2
|
+
import { IPayioCompany } from '../interfaces/i-company';
|
3
|
+
export declare class PayioCompanyEntity implements IPayioCompany {
|
4
|
+
active: boolean;
|
5
|
+
address: AddressEntity;
|
6
|
+
containerId: string;
|
7
|
+
createdAt: Date;
|
8
|
+
doc: string;
|
9
|
+
docType: EDocType;
|
10
|
+
email: string;
|
11
|
+
fullName: string;
|
12
|
+
id: string;
|
13
|
+
imageUrl: string | null;
|
14
|
+
internationalCode: string;
|
15
|
+
logoUrl: string | null;
|
16
|
+
name: string;
|
17
|
+
paymentProvider: IPaymentProvider | null;
|
18
|
+
phoneNumber: string;
|
19
|
+
sandbox: boolean;
|
20
|
+
tags: string[];
|
21
|
+
updatedAt: Date;
|
22
|
+
version: string;
|
23
|
+
constructor(data?: Partial<PayioCompanyEntity>);
|
24
|
+
}
|
@@ -0,0 +1,39 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioCompanyEntity = void 0;
|
4
|
+
var general_1 = require("../../../general");
|
5
|
+
var PayioCompanyEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (19)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function PayioCompanyEntity(data) {
|
9
|
+
// #region Properties (19)
|
10
|
+
this.active = false;
|
11
|
+
this.address = new general_1.AddressEntity();
|
12
|
+
this.containerId = '';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.doc = '';
|
15
|
+
this.docType = general_1.EDocType.CNPJ;
|
16
|
+
this.email = '';
|
17
|
+
this.fullName = '';
|
18
|
+
this.id = '';
|
19
|
+
this.imageUrl = null;
|
20
|
+
this.internationalCode = '55';
|
21
|
+
this.logoUrl = null;
|
22
|
+
this.name = '';
|
23
|
+
this.paymentProvider = null;
|
24
|
+
this.phoneNumber = '';
|
25
|
+
this.sandbox = false;
|
26
|
+
this.tags = [];
|
27
|
+
this.updatedAt = new Date();
|
28
|
+
this.version = '';
|
29
|
+
if (data) {
|
30
|
+
for (var key in data) {
|
31
|
+
if (data.hasOwnProperty(key) && key in this) {
|
32
|
+
this[key] = data[key];
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
}
|
37
|
+
return PayioCompanyEntity;
|
38
|
+
}());
|
39
|
+
exports.PayioCompanyEntity = PayioCompanyEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PayioCompanyEntity = exports.PayioAddressEntity = void 0;
|
4
|
+
var address_entity_1 = require("./address.entity");
|
5
|
+
Object.defineProperty(exports, "PayioAddressEntity", { enumerable: true, get: function () { return address_entity_1.PayioAddressEntity; } });
|
6
|
+
var company_entity_1 = require("./company.entity");
|
7
|
+
Object.defineProperty(exports, "PayioCompanyEntity", { enumerable: true, get: function () { return company_entity_1.PayioCompanyEntity; } });
|
@@ -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,14 @@
|
|
1
|
+
import { ICoords } from '../../../general/interfaces/i-coords';
|
2
|
+
export interface IPayioAddress {
|
3
|
+
city: string;
|
4
|
+
complement: string | null;
|
5
|
+
coords: ICoords;
|
6
|
+
country: string | null | undefined;
|
7
|
+
formattedAddress: string | null | undefined;
|
8
|
+
name: string | null;
|
9
|
+
neighborhood: string;
|
10
|
+
postalCode: string;
|
11
|
+
state: string;
|
12
|
+
streetName: string;
|
13
|
+
streetNumber: string;
|
14
|
+
}
|
@@ -0,0 +1,24 @@
|
|
1
|
+
import { EDocType } from '../../../general/enums/doc-type.enum';
|
2
|
+
import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
|
3
|
+
import { IPayioAddress } from './i-address';
|
4
|
+
export interface IPayioCompany {
|
5
|
+
active: boolean;
|
6
|
+
address: IPayioAddress;
|
7
|
+
containerId: string;
|
8
|
+
createdAt: Date;
|
9
|
+
doc: string;
|
10
|
+
docType: EDocType;
|
11
|
+
email: string;
|
12
|
+
fullName: string;
|
13
|
+
id: string;
|
14
|
+
imageUrl: string | null;
|
15
|
+
internationalCode: string;
|
16
|
+
logoUrl: string | null;
|
17
|
+
name: string;
|
18
|
+
paymentProvider: IPaymentProvider | null;
|
19
|
+
phoneNumber: string;
|
20
|
+
sandbox: boolean;
|
21
|
+
tags: string[];
|
22
|
+
updatedAt: Date;
|
23
|
+
version: string;
|
24
|
+
}
|
package/dist/payio/index.d.ts
CHANGED
package/dist/payio/index.js
CHANGED
@@ -14,5 +14,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
|
+
__exportStar(require("./company"), exports);
|
17
18
|
__exportStar(require("./payload"), exports);
|
18
19
|
__exportStar(require("./permissions"), exports);
|