cecon-interfaces 1.7.16 → 1.7.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/README.md +1 -1
- package/dist/esm2022/general/entities/index.mjs +2 -1
- package/dist/esm2022/general/entities/pix-keys.entity.mjs +22 -0
- package/dist/esm2022/general/enums/index.mjs +2 -1
- package/dist/esm2022/general/enums/pix-key.enum.mjs +9 -0
- package/dist/esm2022/general/interfaces/i-pix-keys.mjs +3 -0
- package/dist/esm2022/ifood/interfaces/i-ifood-category-items.mjs +1 -1
- package/dist/esm2022/ifood/interfaces/i-ifood-category.mjs +1 -1
- package/dist/esm2022/ifood/interfaces/i-ifood-option-groups.mjs +1 -1
- package/dist/esm2022/ifood/interfaces/index.mjs +1 -1
- package/dist/esm2022/natipay/company/entities/address.entity.mjs +25 -0
- package/dist/esm2022/natipay/company/entities/company.entity.mjs +37 -0
- package/dist/esm2022/natipay/company/entities/index.mjs +3 -0
- package/dist/esm2022/natipay/company/index.mjs +3 -0
- package/dist/esm2022/natipay/company/interfaces/i-address.mjs +2 -0
- package/dist/esm2022/natipay/company/interfaces/i-company.mjs +2 -0
- package/dist/esm2022/natipay/company/interfaces/index.mjs +2 -0
- package/dist/esm2022/natipay/index.mjs +2 -1
- package/dist/fesm2022/cecon-interfaces.mjs +90 -1
- package/dist/fesm2022/cecon-interfaces.mjs.map +1 -1
- package/dist/general/entities/index.d.ts +1 -0
- package/dist/general/entities/index.js +3 -1
- package/dist/general/entities/pix-keys.entity.d.ts +13 -0
- package/dist/general/entities/pix-keys.entity.js +26 -0
- package/dist/general/enums/index.d.ts +1 -0
- package/dist/general/enums/index.js +3 -1
- package/dist/general/enums/pix-key.enum.d.ts +7 -0
- package/dist/general/enums/pix-key.enum.js +11 -0
- package/dist/general/interfaces/i-pix-keys.d.ts +11 -0
- package/dist/general/interfaces/i-pix-keys.js +3 -0
- package/dist/ifood/interfaces/i-ifood-category-items.d.ts +1 -1
- package/dist/ifood/interfaces/i-ifood-category.d.ts +2 -2
- package/dist/ifood/interfaces/i-ifood-option-groups.d.ts +1 -1
- package/dist/ifood/interfaces/index.d.ts +4 -4
- package/dist/natipay/company/entities/address.entity.d.ts +14 -0
- package/dist/natipay/company/entities/address.entity.js +28 -0
- package/dist/natipay/company/entities/company.entity.d.ts +30 -0
- package/dist/natipay/company/entities/company.entity.js +41 -0
- package/dist/natipay/company/entities/index.d.ts +2 -0
- package/dist/natipay/company/entities/index.js +7 -0
- package/dist/natipay/company/index.d.ts +2 -0
- package/dist/natipay/company/index.js +18 -0
- package/dist/natipay/company/interfaces/i-address.d.ts +12 -0
- package/dist/natipay/company/interfaces/i-address.js +2 -0
- package/dist/natipay/company/interfaces/i-company.d.ts +29 -0
- package/dist/natipay/company/interfaces/i-company.js +2 -0
- package/dist/natipay/company/interfaces/index.d.ts +2 -0
- package/dist/natipay/company/interfaces/index.js +2 -0
- package/dist/natipay/index.d.ts +1 -0
- package/dist/natipay/index.js +1 -0
- package/dist/package.json +1 -1
- package/package.json +1 -1
- package/readme.md +1 -1
@@ -23,6 +23,7 @@ export { PaymentTokenDataEntity } from './payment-token-data.entity';
|
|
23
23
|
export { PaymentTokenEntity } from './payment-token.entity';
|
24
24
|
export { PaymentWalletEntity } from './payment-wallet.entity';
|
25
25
|
export { PaymentEntity } from './payment.entity';
|
26
|
+
export { PixKeyEntity } from './pix-keys.entity';
|
26
27
|
export { QueryEntity } from './query.entity';
|
27
28
|
export { RatingEntity } from './rating.entity';
|
28
29
|
export { SponsorshipValueEntity } from './sponsorship-value.entity';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.SponsorshipValueEntity = exports.RatingEntity = exports.QueryEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoInfoEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.InfoEntity = exports.FirebaseQueryEntity = exports.DesenfilaInfoEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
3
|
+
exports.SponsorshipValueEntity = exports.RatingEntity = exports.QueryEntity = exports.PixKeyEntity = exports.PaymentEntity = exports.PaymentWalletEntity = exports.PaymentTokenEntity = exports.PaymentTokenDataEntity = exports.PaymentProviderEntity = exports.PaymentProviderAgentEntity = exports.PaymentPixEntity = exports.PaymentMethodEntity = exports.PaymentMethodOptionEntity = exports.PaymentCashEntity = exports.PaymentCardEntity = exports.OriginEntity = exports.MobyoInfoEntity = exports.MobyoApiConfigEntity = exports.MessagerChannelEntity = exports.InfoEntity = exports.FirebaseQueryEntity = exports.DesenfilaInfoEntity = exports.DeliveryAreaFixedEntity = exports.DeliveryAreaEntity = exports.CustomVariableEntity = exports.CoordsEntity = exports.CarouselImageEntity = exports.BaseEntity = exports.AddressEntity = void 0;
|
4
4
|
var address_entity_1 = require("./address.entity");
|
5
5
|
Object.defineProperty(exports, "AddressEntity", { enumerable: true, get: function () { return address_entity_1.AddressEntity; } });
|
6
6
|
var base_entity_1 = require("./base.entity");
|
@@ -51,6 +51,8 @@ var payment_wallet_entity_1 = require("./payment-wallet.entity");
|
|
51
51
|
Object.defineProperty(exports, "PaymentWalletEntity", { enumerable: true, get: function () { return payment_wallet_entity_1.PaymentWalletEntity; } });
|
52
52
|
var payment_entity_1 = require("./payment.entity");
|
53
53
|
Object.defineProperty(exports, "PaymentEntity", { enumerable: true, get: function () { return payment_entity_1.PaymentEntity; } });
|
54
|
+
var pix_keys_entity_1 = require("./pix-keys.entity");
|
55
|
+
Object.defineProperty(exports, "PixKeyEntity", { enumerable: true, get: function () { return pix_keys_entity_1.PixKeyEntity; } });
|
54
56
|
var query_entity_1 = require("./query.entity");
|
55
57
|
Object.defineProperty(exports, "QueryEntity", { enumerable: true, get: function () { return query_entity_1.QueryEntity; } });
|
56
58
|
var rating_entity_1 = require("./rating.entity");
|
@@ -0,0 +1,13 @@
|
|
1
|
+
import { EPixKey } from '../enums';
|
2
|
+
import { IPixKeys } from '../interfaces/i-pix-keys';
|
3
|
+
export declare class PixKeyEntity implements IPixKeys {
|
4
|
+
active: boolean;
|
5
|
+
createdAt: Date;
|
6
|
+
description: string;
|
7
|
+
id: string;
|
8
|
+
isDefault: boolean;
|
9
|
+
key: string;
|
10
|
+
type: EPixKey;
|
11
|
+
updatedAt: Date;
|
12
|
+
constructor(data?: Partial<PixKeyEntity>);
|
13
|
+
}
|
@@ -0,0 +1,26 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.PixKeyEntity = void 0;
|
4
|
+
// src/models/base.entity.ts
|
5
|
+
var enums_1 = require("../enums");
|
6
|
+
var PixKeyEntity = /** @class */ (function () {
|
7
|
+
function PixKeyEntity(data) {
|
8
|
+
this.active = true;
|
9
|
+
this.createdAt = new Date();
|
10
|
+
this.description = '';
|
11
|
+
this.id = '';
|
12
|
+
this.isDefault = false;
|
13
|
+
this.key = '';
|
14
|
+
this.type = enums_1.EPixKey.CPF;
|
15
|
+
this.updatedAt = new Date();
|
16
|
+
if (data) {
|
17
|
+
for (var key in data) {
|
18
|
+
if (data.hasOwnProperty(key) && key in this) {
|
19
|
+
this[key] = data[key];
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
return PixKeyEntity;
|
25
|
+
}());
|
26
|
+
exports.PixKeyEntity = PixKeyEntity;
|
@@ -17,6 +17,7 @@ export { EPaymentMode } from './payment-mode.enum';
|
|
17
17
|
export { EPaymentStatus } from './payment-status.enum';
|
18
18
|
export { EPaymentType } from './payment-type.enum';
|
19
19
|
export { ELegalEntiy } from './person-type.enum';
|
20
|
+
export { EPixKey } from './pix-key.enum';
|
20
21
|
export { EPlatform } from './platform.enum';
|
21
22
|
export { EPaymentProvider } from './providers.enum';
|
22
23
|
export { EPubSub } from './pubsub.enum';
|
@@ -1,6 +1,6 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
-
exports.ESubsStatus = exports.ESponsorshipValues = exports.ERole = exports.EPubSub = exports.EPaymentProvider = exports.EPlatform = exports.ELegalEntiy = exports.EPaymentType = exports.EPaymentStatus = exports.EPaymentMode = exports.EPaymentChannel = exports.EOs = exports.EOperator = exports.ELeadOrigin = exports.EJwtStatus = exports.EIntervalType = exports.EIntDocType = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.EFrom = exports.ECollectionsTypes = exports.EBooleanString = exports.EBankSlipStatus = exports.EFcmSkill = void 0;
|
3
|
+
exports.ESubsStatus = exports.ESponsorshipValues = exports.ERole = exports.EPubSub = exports.EPaymentProvider = exports.EPlatform = exports.EPixKey = exports.ELegalEntiy = exports.EPaymentType = exports.EPaymentStatus = exports.EPaymentMode = exports.EPaymentChannel = exports.EOs = exports.EOperator = exports.ELeadOrigin = exports.EJwtStatus = exports.EIntervalType = exports.EIntDocType = exports.EFiscalDocModelCode = exports.EDiscountType = exports.EDocType = exports.EFrom = exports.ECollectionsTypes = exports.EBooleanString = exports.EBankSlipStatus = exports.EFcmSkill = void 0;
|
4
4
|
var skill_enum_1 = require("../../fcm-token-message/enums/skill.enum");
|
5
5
|
Object.defineProperty(exports, "EFcmSkill", { enumerable: true, get: function () { return skill_enum_1.EFcmSkill; } });
|
6
6
|
var bank_slip_status_enum_1 = require("./bank-slip-status.enum");
|
@@ -39,6 +39,8 @@ var payment_type_enum_1 = require("./payment-type.enum");
|
|
39
39
|
Object.defineProperty(exports, "EPaymentType", { enumerable: true, get: function () { return payment_type_enum_1.EPaymentType; } });
|
40
40
|
var person_type_enum_1 = require("./person-type.enum");
|
41
41
|
Object.defineProperty(exports, "ELegalEntiy", { enumerable: true, get: function () { return person_type_enum_1.ELegalEntiy; } });
|
42
|
+
var pix_key_enum_1 = require("./pix-key.enum");
|
43
|
+
Object.defineProperty(exports, "EPixKey", { enumerable: true, get: function () { return pix_key_enum_1.EPixKey; } });
|
42
44
|
var platform_enum_1 = require("./platform.enum");
|
43
45
|
Object.defineProperty(exports, "EPlatform", { enumerable: true, get: function () { return platform_enum_1.EPlatform; } });
|
44
46
|
var providers_enum_1 = require("./providers.enum");
|
@@ -0,0 +1,11 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.EPixKey = void 0;
|
4
|
+
var EPixKey;
|
5
|
+
(function (EPixKey) {
|
6
|
+
EPixKey["CNPJ"] = "cnpj";
|
7
|
+
EPixKey["CPF"] = "cpf";
|
8
|
+
EPixKey["EMAIL"] = "email";
|
9
|
+
EPixKey["PHONE"] = "phone";
|
10
|
+
EPixKey["RANDOM"] = "random";
|
11
|
+
})(EPixKey || (exports.EPixKey = EPixKey = {}));
|
@@ -4,7 +4,7 @@ import { IIFoodOptionGroups } from './i-ifood-option-groups';
|
|
4
4
|
import { IIFoodPrice } from './i-ifood-price';
|
5
5
|
import { IIFoodSellingOptions } from './i-ifood-selling-options';
|
6
6
|
import { IIFoodShifts } from './i-ifood-shifts';
|
7
|
-
export interface
|
7
|
+
export interface IIFoodCategoryItem {
|
8
8
|
id: string;
|
9
9
|
name: string;
|
10
10
|
description: string;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import {
|
1
|
+
import { IIFoodCategoryItem } from './i-ifood-category-items';
|
2
2
|
import { IIFoodCategoryPizza } from './i-ifood-category-pizza';
|
3
3
|
export interface IIFoodCategory {
|
4
4
|
id: string;
|
@@ -6,7 +6,7 @@ export interface IIFoodCategory {
|
|
6
6
|
name: string;
|
7
7
|
externalCode: string;
|
8
8
|
status: string;
|
9
|
-
items:
|
9
|
+
items: IIFoodCategoryItem[];
|
10
10
|
template: string;
|
11
11
|
pizza: IIFoodCategoryPizza;
|
12
12
|
}
|
@@ -1,16 +1,16 @@
|
|
1
1
|
export { IIFoodAddress } from './i-ifood-address';
|
2
2
|
export { IIFoodCatalog } from './i-ifood-catalog';
|
3
|
-
export {
|
3
|
+
export { IIFoodCategory } from './i-ifood-category';
|
4
|
+
export { IIFoodCategoryItem } from './i-ifood-category-items';
|
5
|
+
export { IIFoodCategoryPizza } from './i-ifood-category-pizza';
|
4
6
|
export { IIFoodCategoryPizzaCrusts } from './i-ifood-category-pizza-crusts';
|
5
7
|
export { IIFoodCategoryPizzaEdges } from './i-ifood-category-pizza-edges';
|
6
8
|
export { IIFoodCategoryPizzaSizes } from './i-ifood-category-pizza-sizes';
|
7
9
|
export { IIFoodCategoryPizzaToppings } from './i-ifood-category-pizza-toppings';
|
8
|
-
export { IIFoodCategoryPizza } from './i-ifood-category-pizza';
|
9
|
-
export { IIFoodCategory } from './i-ifood-category';
|
10
10
|
export { IIFoodClient } from './i-ifood-client';
|
11
11
|
export { IIFoodMerchant } from './i-ifood-merchant';
|
12
|
-
export { IIFoodOptionGroupsOptions } from './i-ifood-option-groups-options';
|
13
12
|
export { IIFoodOptionGroups } from './i-ifood-option-groups';
|
13
|
+
export { IIFoodOptionGroupsOptions } from './i-ifood-option-groups-options';
|
14
14
|
export { IIFoodPrice } from './i-ifood-price';
|
15
15
|
export { IIFoodProduct } from './i-ifood-product';
|
16
16
|
export { IIFoodSellingOptions } from './i-ifood-selling-options';
|
@@ -0,0 +1,14 @@
|
|
1
|
+
import { CoordsEntity } from '../../../general/entities/coords.entity';
|
2
|
+
import { INatipayAddress } from '../interfaces/i-address';
|
3
|
+
export declare class NatiapyAddressEntity implements INatipayAddress {
|
4
|
+
city: string;
|
5
|
+
complement: string | null;
|
6
|
+
coords: CoordsEntity;
|
7
|
+
country: string | null | undefined;
|
8
|
+
neighborhood: string;
|
9
|
+
postalCode: string;
|
10
|
+
state: string;
|
11
|
+
streetName: string;
|
12
|
+
streetNumber: string;
|
13
|
+
constructor(data?: Partial<NatiapyAddressEntity>);
|
14
|
+
}
|
@@ -0,0 +1,28 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatiapyAddressEntity = void 0;
|
4
|
+
var coords_entity_1 = require("../../../general/entities/coords.entity");
|
5
|
+
var NatiapyAddressEntity = /** @class */ (function () {
|
6
|
+
// #endregion Properties (11)
|
7
|
+
// #region Constructors (1)
|
8
|
+
function NatiapyAddressEntity(data) {
|
9
|
+
// #region Properties (11)
|
10
|
+
this.city = '';
|
11
|
+
this.complement = '';
|
12
|
+
this.coords = new coords_entity_1.CoordsEntity();
|
13
|
+
this.neighborhood = '';
|
14
|
+
this.postalCode = '';
|
15
|
+
this.state = '';
|
16
|
+
this.streetName = '';
|
17
|
+
this.streetNumber = '';
|
18
|
+
if (data) {
|
19
|
+
for (var key in data) {
|
20
|
+
if (data.hasOwnProperty(key) && key in this) {
|
21
|
+
this[key] = data[key];
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
}
|
26
|
+
return NatiapyAddressEntity;
|
27
|
+
}());
|
28
|
+
exports.NatiapyAddressEntity = NatiapyAddressEntity;
|
@@ -0,0 +1,30 @@
|
|
1
|
+
import { EIntDocType, IPaymentProvider } from '../../../general';
|
2
|
+
import { IPixKeys } from '../../../general/interfaces/i-pix-keys';
|
3
|
+
import { INatipayCompany } from '../interfaces/i-company';
|
4
|
+
import { NatiapyAddressEntity } from './address.entity';
|
5
|
+
export declare class NatipayCompanyEntity implements INatipayCompany {
|
6
|
+
active: boolean;
|
7
|
+
address: NatiapyAddressEntity;
|
8
|
+
containerId: string;
|
9
|
+
containerName: string;
|
10
|
+
country: string;
|
11
|
+
createdAt: Date;
|
12
|
+
currency: string;
|
13
|
+
doc: string;
|
14
|
+
docType: EIntDocType;
|
15
|
+
email: string;
|
16
|
+
id: string;
|
17
|
+
imageUrl: string | null;
|
18
|
+
internationalCode: string;
|
19
|
+
logoUrl: string | null;
|
20
|
+
name: string;
|
21
|
+
paymentProvider: IPaymentProvider | null;
|
22
|
+
phoneNumber: string;
|
23
|
+
pixKeys: IPixKeys[];
|
24
|
+
sandbox: boolean;
|
25
|
+
shortName: string;
|
26
|
+
tags: string[];
|
27
|
+
updatedAt: Date;
|
28
|
+
version: string;
|
29
|
+
constructor(data?: Partial<NatipayCompanyEntity>);
|
30
|
+
}
|
@@ -0,0 +1,41 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayCompanyEntity = void 0;
|
4
|
+
var general_1 = require("../../../general");
|
5
|
+
var address_entity_1 = require("./address.entity");
|
6
|
+
var NatipayCompanyEntity = /** @class */ (function () {
|
7
|
+
function NatipayCompanyEntity(data) {
|
8
|
+
this.active = false;
|
9
|
+
this.address = new address_entity_1.NatiapyAddressEntity();
|
10
|
+
this.containerId = '';
|
11
|
+
this.containerName = '';
|
12
|
+
this.country = 'BR';
|
13
|
+
this.createdAt = new Date();
|
14
|
+
this.currency = 'BRL';
|
15
|
+
this.doc = '';
|
16
|
+
this.docType = general_1.EIntDocType.CNPJ;
|
17
|
+
this.email = '';
|
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.pixKeys = [];
|
26
|
+
this.sandbox = false;
|
27
|
+
this.shortName = '';
|
28
|
+
this.tags = [];
|
29
|
+
this.updatedAt = new Date();
|
30
|
+
this.version = '';
|
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 NatipayCompanyEntity;
|
40
|
+
}());
|
41
|
+
exports.NatipayCompanyEntity = NatipayCompanyEntity;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
"use strict";
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
3
|
+
exports.NatipayCompanyEntity = exports.NatiapyAddressEntity = void 0;
|
4
|
+
var address_entity_1 = require("./address.entity");
|
5
|
+
Object.defineProperty(exports, "NatiapyAddressEntity", { enumerable: true, get: function () { return address_entity_1.NatiapyAddressEntity; } });
|
6
|
+
var company_entity_1 = require("./company.entity");
|
7
|
+
Object.defineProperty(exports, "NatipayCompanyEntity", { enumerable: true, get: function () { return company_entity_1.NatipayCompanyEntity; } });
|
@@ -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 { ICoords } from '../../../general/interfaces/i-coords';
|
2
|
+
export interface INatipayAddress {
|
3
|
+
city: string;
|
4
|
+
complement: string | null;
|
5
|
+
coords: ICoords;
|
6
|
+
country: string | null | undefined;
|
7
|
+
neighborhood: string;
|
8
|
+
postalCode: string;
|
9
|
+
state: string;
|
10
|
+
streetName: string;
|
11
|
+
streetNumber: string;
|
12
|
+
}
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { EIntDocType } from '../../../general';
|
2
|
+
import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
|
3
|
+
import { IPixKeys } from '../../../general/interfaces/i-pix-keys';
|
4
|
+
import { INatipayAddress } from './i-address';
|
5
|
+
export interface INatipayCompany {
|
6
|
+
active: boolean;
|
7
|
+
address: INatipayAddress;
|
8
|
+
containerId: string;
|
9
|
+
containerName: string;
|
10
|
+
createdAt: Date;
|
11
|
+
doc: string;
|
12
|
+
docType: EIntDocType;
|
13
|
+
email: string;
|
14
|
+
id: string;
|
15
|
+
imageUrl: string | null;
|
16
|
+
internationalCode: string;
|
17
|
+
logoUrl: string | null;
|
18
|
+
name: string;
|
19
|
+
paymentProvider: IPaymentProvider | null;
|
20
|
+
phoneNumber: string;
|
21
|
+
pixKeys: IPixKeys[];
|
22
|
+
sandbox: boolean;
|
23
|
+
shortName: string;
|
24
|
+
tags: string[];
|
25
|
+
currency: string;
|
26
|
+
country: string;
|
27
|
+
updatedAt: Date;
|
28
|
+
version: string;
|
29
|
+
}
|
package/dist/natipay/index.d.ts
CHANGED
package/dist/natipay/index.js
CHANGED
@@ -14,6 +14,7 @@ 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("./tokens"), exports);
|
19
20
|
__exportStar(require("./user"), exports);
|
package/dist/package.json
CHANGED
package/package.json
CHANGED