cecon-interfaces 1.6.0 → 1.6.2
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 +4 -3
- package/dist/esm2022/payio/company/entities/index.mjs +2 -1
- package/dist/esm2022/payio/company/interfaces/i-address.mjs +2 -0
- package/dist/esm2022/payio/company/interfaces/i-company.mjs +1 -1
- package/dist/esm2022/payio/company/interfaces/index.mjs +1 -1
- package/dist/fesm2022/cecon-interfaces.mjs +28 -2
- 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 +3 -2
- package/dist/payio/company/entities/company.entity.js +2 -1
- package/dist/payio/company/entities/index.d.ts +1 -0
- package/dist/payio/company/entities/index.js +3 -1
- 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 +2 -2
- package/dist/payio/company/interfaces/index.d.ts +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;
|
@@ -1,8 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { EDocType, IPaymentProvider } from '../../../general';
|
2
2
|
import { IPayioCompany } from '../interfaces/i-company';
|
3
|
+
import { PayioAddressEntity } from './address.entity';
|
3
4
|
export declare class PayioCompanyEntity implements IPayioCompany {
|
4
5
|
active: boolean;
|
5
|
-
address:
|
6
|
+
address: PayioAddressEntity;
|
6
7
|
containerId: string;
|
7
8
|
createdAt: Date;
|
8
9
|
doc: string;
|
@@ -2,13 +2,14 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.PayioCompanyEntity = void 0;
|
4
4
|
var general_1 = require("../../../general");
|
5
|
+
var address_entity_1 = require("./address.entity");
|
5
6
|
var PayioCompanyEntity = /** @class */ (function () {
|
6
7
|
// #endregion Properties (19)
|
7
8
|
// #region Constructors (1)
|
8
9
|
function PayioCompanyEntity(data) {
|
9
10
|
// #region Properties (19)
|
10
11
|
this.active = false;
|
11
|
-
this.address = new
|
12
|
+
this.address = new address_entity_1.PayioAddressEntity();
|
12
13
|
this.containerId = '';
|
13
14
|
this.createdAt = new Date();
|
14
15
|
this.doc = '';
|
@@ -1,5 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.PayioCompanyEntity = void 0;
|
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; } });
|
4
6
|
var company_entity_1 = require("./company.entity");
|
5
7
|
Object.defineProperty(exports, "PayioCompanyEntity", { enumerable: true, get: function () { return company_entity_1.PayioCompanyEntity; } });
|
@@ -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
|
+
}
|
@@ -1,9 +1,9 @@
|
|
1
1
|
import { EDocType } from '../../../general/enums/doc-type.enum';
|
2
|
-
import { IAddress } from '../../../general/interfaces/i-address';
|
3
2
|
import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
|
3
|
+
import { IPayioAddress } from './i-address';
|
4
4
|
export interface IPayioCompany {
|
5
5
|
active: boolean;
|
6
|
-
address:
|
6
|
+
address: IPayioAddress;
|
7
7
|
containerId: string;
|
8
8
|
createdAt: Date;
|
9
9
|
doc: string;
|