cecon-interfaces 1.7.4 → 1.7.6

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,7 @@ export { EFrom } from './desenfila-from.enum';
6
6
  export { EDocType } from './doc-type.enum';
7
7
  export { EDiscountType } from './e-discount-type.enum';
8
8
  export { EFiscalDocModelCode } from './fiscal-doc-model-code.enum';
9
+ export { EIntDocType } from './international-doc-type.enum';
9
10
  export { EIntervalType } from './interval-type.enum';
10
11
  export { EJwtStatus } from './jwt-status.enum';
11
12
  export { ELeadOrigin } from './lead-origin.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.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.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");
@@ -17,6 +17,8 @@ var e_discount_type_enum_1 = require("./e-discount-type.enum");
17
17
  Object.defineProperty(exports, "EDiscountType", { enumerable: true, get: function () { return e_discount_type_enum_1.EDiscountType; } });
18
18
  var fiscal_doc_model_code_enum_1 = require("./fiscal-doc-model-code.enum");
19
19
  Object.defineProperty(exports, "EFiscalDocModelCode", { enumerable: true, get: function () { return fiscal_doc_model_code_enum_1.EFiscalDocModelCode; } });
20
+ var international_doc_type_enum_1 = require("./international-doc-type.enum");
21
+ Object.defineProperty(exports, "EIntDocType", { enumerable: true, get: function () { return international_doc_type_enum_1.EIntDocType; } });
20
22
  var interval_type_enum_1 = require("./interval-type.enum");
21
23
  Object.defineProperty(exports, "EIntervalType", { enumerable: true, get: function () { return interval_type_enum_1.EIntervalType; } });
22
24
  var jwt_status_enum_1 = require("./jwt-status.enum");
@@ -0,0 +1,35 @@
1
+ export declare enum EIntDocType {
2
+ CPF = "CPF",
3
+ CNPJ = "CNPJ",
4
+ CUIL = "CUIL",
5
+ CUIT = "CUIT",
6
+ RUT_CL = "RUT_CL",
7
+ NIT_CO = "NIT_CO",
8
+ RUC_EC = "RUC_EC",
9
+ RUC_PE = "RUC_PE",
10
+ RUT_UY = "RUT_UY",
11
+ RUC_PY = "RUC_PY",
12
+ RIF_VE = "RIF_VE",
13
+ NIT_BO = "NIT_BO",
14
+ SSN = "SSN",
15
+ EIN = "EIN",
16
+ RFC = "RFC",
17
+ STEUER_ID = "STEUER_ID",
18
+ UST_IDNR = "UST_IDNR",
19
+ SIREN = "SIREN",
20
+ SIRET = "SIRET",
21
+ NIF_ES = "NIF_ES",
22
+ CIF_ES = "CIF_ES",
23
+ CODICE_FISCALE = "CODICE_FISCALE",
24
+ P_IVA = "P_IVA",
25
+ NINO = "NINO",
26
+ VAT_UK = "VAT_UK",
27
+ BSN = "BSN",
28
+ KVK = "KVK",
29
+ AHV = "AHV",
30
+ UID_CH = "UID_CH",
31
+ NIF_PT = "NIF_PT",
32
+ ID_ZA = "ID_ZA",
33
+ INN_PERSON = "INN_PERSON",
34
+ INN_COMPANY = "INN_COMPANY"
35
+ }
@@ -0,0 +1,44 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.EIntDocType = void 0;
4
+ var EIntDocType;
5
+ (function (EIntDocType) {
6
+ // América do Sul
7
+ EIntDocType["CPF"] = "CPF";
8
+ EIntDocType["CNPJ"] = "CNPJ";
9
+ EIntDocType["CUIL"] = "CUIL";
10
+ EIntDocType["CUIT"] = "CUIT";
11
+ EIntDocType["RUT_CL"] = "RUT_CL";
12
+ EIntDocType["NIT_CO"] = "NIT_CO";
13
+ EIntDocType["RUC_EC"] = "RUC_EC";
14
+ EIntDocType["RUC_PE"] = "RUC_PE";
15
+ EIntDocType["RUT_UY"] = "RUT_UY";
16
+ EIntDocType["RUC_PY"] = "RUC_PY";
17
+ EIntDocType["RIF_VE"] = "RIF_VE";
18
+ EIntDocType["NIT_BO"] = "NIT_BO";
19
+ // América do Norte
20
+ EIntDocType["SSN"] = "SSN";
21
+ EIntDocType["EIN"] = "EIN";
22
+ EIntDocType["RFC"] = "RFC";
23
+ // Europa
24
+ EIntDocType["STEUER_ID"] = "STEUER_ID";
25
+ EIntDocType["UST_IDNR"] = "UST_IDNR";
26
+ EIntDocType["SIREN"] = "SIREN";
27
+ EIntDocType["SIRET"] = "SIRET";
28
+ EIntDocType["NIF_ES"] = "NIF_ES";
29
+ EIntDocType["CIF_ES"] = "CIF_ES";
30
+ EIntDocType["CODICE_FISCALE"] = "CODICE_FISCALE";
31
+ EIntDocType["P_IVA"] = "P_IVA";
32
+ EIntDocType["NINO"] = "NINO";
33
+ EIntDocType["VAT_UK"] = "VAT_UK";
34
+ EIntDocType["BSN"] = "BSN";
35
+ EIntDocType["KVK"] = "KVK";
36
+ EIntDocType["AHV"] = "AHV";
37
+ EIntDocType["UID_CH"] = "UID_CH";
38
+ EIntDocType["NIF_PT"] = "NIF_PT";
39
+ // África
40
+ EIntDocType["ID_ZA"] = "ID_ZA";
41
+ // Rússia
42
+ EIntDocType["INN_PERSON"] = "INN_PERSON";
43
+ EIntDocType["INN_COMPANY"] = "INN_COMPANY";
44
+ })(EIntDocType || (exports.EIntDocType = EIntDocType = {}));
package/dist/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.04",
3
+ "version": "1.7.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +1,4 @@
1
- import { EDocType, IPaymentProvider } from '../../../general';
1
+ import { EIntDocType, IPaymentProvider } from '../../../general';
2
2
  import { IPayioCompany } from '../interfaces/i-company';
3
3
  import { PayioAddressEntity } from './address.entity';
4
4
  export declare class PayioCompanyEntity implements IPayioCompany {
@@ -6,10 +6,11 @@ export declare class PayioCompanyEntity implements IPayioCompany {
6
6
  address: PayioAddressEntity;
7
7
  containerId: string;
8
8
  createdAt: Date;
9
+ currency: string;
10
+ country: string;
9
11
  doc: string;
10
- docType: EDocType;
12
+ docType: EIntDocType;
11
13
  email: string;
12
- fullName: string;
13
14
  id: string;
14
15
  imageUrl: string | null;
15
16
  internationalCode: string;
@@ -18,6 +19,7 @@ export declare class PayioCompanyEntity implements IPayioCompany {
18
19
  paymentProvider: IPaymentProvider | null;
19
20
  phoneNumber: string;
20
21
  sandbox: boolean;
22
+ shortName: string;
21
23
  tags: string[];
22
24
  updatedAt: Date;
23
25
  version: string;
@@ -4,18 +4,16 @@ exports.PayioCompanyEntity = void 0;
4
4
  var general_1 = require("../../../general");
5
5
  var address_entity_1 = require("./address.entity");
6
6
  var PayioCompanyEntity = /** @class */ (function () {
7
- // #endregion Properties (19)
8
- // #region Constructors (1)
9
7
  function PayioCompanyEntity(data) {
10
- // #region Properties (19)
11
8
  this.active = false;
12
9
  this.address = new address_entity_1.PayioAddressEntity();
13
10
  this.containerId = '';
14
11
  this.createdAt = new Date();
12
+ this.currency = 'BRL';
13
+ this.country = 'BR';
15
14
  this.doc = '';
16
- this.docType = general_1.EDocType.CNPJ;
15
+ this.docType = general_1.EIntDocType.CNPJ;
17
16
  this.email = '';
18
- this.fullName = '';
19
17
  this.id = '';
20
18
  this.imageUrl = null;
21
19
  this.internationalCode = '55';
@@ -24,6 +22,7 @@ var PayioCompanyEntity = /** @class */ (function () {
24
22
  this.paymentProvider = null;
25
23
  this.phoneNumber = '';
26
24
  this.sandbox = false;
25
+ this.shortName = '';
27
26
  this.tags = [];
28
27
  this.updatedAt = new Date();
29
28
  this.version = '';
@@ -1,4 +1,4 @@
1
- import { EDocType } from '../../../general/enums/doc-type.enum';
1
+ import { EIntDocType } from '../../../general';
2
2
  import { IPaymentProvider } from '../../../general/interfaces/i-payment-provider';
3
3
  import { IPayioAddress } from './i-address';
4
4
  export interface IPayioCompany {
@@ -7,9 +7,8 @@ export interface IPayioCompany {
7
7
  containerId: string;
8
8
  createdAt: Date;
9
9
  doc: string;
10
- docType: EDocType;
10
+ docType: EIntDocType;
11
11
  email: string;
12
- fullName: string;
13
12
  id: string;
14
13
  imageUrl: string | null;
15
14
  internationalCode: string;
@@ -18,7 +17,10 @@ export interface IPayioCompany {
18
17
  paymentProvider: IPaymentProvider | null;
19
18
  phoneNumber: string;
20
19
  sandbox: boolean;
20
+ shortName: string;
21
21
  tags: string[];
22
+ currency: string;
23
+ country: string;
22
24
  updatedAt: Date;
23
25
  version: string;
24
26
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cecon-interfaces",
3
- "version": "1.7.04",
3
+ "version": "1.7.06",
4
4
  "description": "Interfaces de Projetos Cecon",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",