@openbox/shared-types 0.2.50 → 0.2.52

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.
@@ -2,7 +2,7 @@ export type SystemCountries = {
2
2
  id: number;
3
3
  name: string;
4
4
  phoneFormat: string;
5
- countryPhoneFormat: string;
5
+ countryPhoneNumber: string;
6
6
  };
7
7
  export type SystemCountriesRequest = Omit<SystemCountries, 'id'>;
8
8
  export type SystemCountriesResponse = SystemCountries;
@@ -6,3 +6,4 @@ export * from './PersonTypes/';
6
6
  export * from './SellingTypes/';
7
7
  export * from './States/';
8
8
  export * from './TaxerTypes/';
9
+ export * from './system.enums';
@@ -22,4 +22,5 @@ __exportStar(require("./PersonTypes/"), exports);
22
22
  __exportStar(require("./SellingTypes/"), exports);
23
23
  __exportStar(require("./States/"), exports);
24
24
  __exportStar(require("./TaxerTypes/"), exports);
25
+ __exportStar(require("./system.enums"), exports);
25
26
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,iDAA8B;AAC9B,iDAA8B;AAC9B,kDAA+B;AAC/B,4CAAyB;AACzB,gDAA6B;AAC7B,iDAA8B"}
@@ -0,0 +1,19 @@
1
+ export declare enum SystemTaxerTypes {
2
+ Small = 1,
3
+ Medium = 2,
4
+ Large = 3
5
+ }
6
+ export declare enum SystemPersonTypes {
7
+ Juridica = 1,
8
+ Natural = 2,
9
+ Extranjera = 3
10
+ }
11
+ export declare enum SystemNaturalTypes {
12
+ NoDeclaraIVA = 1,
13
+ DeclaraIVA = 2
14
+ }
15
+ export declare enum SystemSellingTypes {
16
+ NoSujeto = 1,
17
+ Exento = 2,
18
+ Gravado = 3
19
+ }
@@ -0,0 +1,27 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SystemSellingTypes = exports.SystemNaturalTypes = exports.SystemPersonTypes = exports.SystemTaxerTypes = void 0;
4
+ var SystemTaxerTypes;
5
+ (function (SystemTaxerTypes) {
6
+ SystemTaxerTypes[SystemTaxerTypes["Small"] = 1] = "Small";
7
+ SystemTaxerTypes[SystemTaxerTypes["Medium"] = 2] = "Medium";
8
+ SystemTaxerTypes[SystemTaxerTypes["Large"] = 3] = "Large";
9
+ })(SystemTaxerTypes = exports.SystemTaxerTypes || (exports.SystemTaxerTypes = {}));
10
+ var SystemPersonTypes;
11
+ (function (SystemPersonTypes) {
12
+ SystemPersonTypes[SystemPersonTypes["Juridica"] = 1] = "Juridica";
13
+ SystemPersonTypes[SystemPersonTypes["Natural"] = 2] = "Natural";
14
+ SystemPersonTypes[SystemPersonTypes["Extranjera"] = 3] = "Extranjera";
15
+ })(SystemPersonTypes = exports.SystemPersonTypes || (exports.SystemPersonTypes = {}));
16
+ var SystemNaturalTypes;
17
+ (function (SystemNaturalTypes) {
18
+ SystemNaturalTypes[SystemNaturalTypes["NoDeclaraIVA"] = 1] = "NoDeclaraIVA";
19
+ SystemNaturalTypes[SystemNaturalTypes["DeclaraIVA"] = 2] = "DeclaraIVA";
20
+ })(SystemNaturalTypes = exports.SystemNaturalTypes || (exports.SystemNaturalTypes = {}));
21
+ var SystemSellingTypes;
22
+ (function (SystemSellingTypes) {
23
+ SystemSellingTypes[SystemSellingTypes["NoSujeto"] = 1] = "NoSujeto";
24
+ SystemSellingTypes[SystemSellingTypes["Exento"] = 2] = "Exento";
25
+ SystemSellingTypes[SystemSellingTypes["Gravado"] = 3] = "Gravado";
26
+ })(SystemSellingTypes = exports.SystemSellingTypes || (exports.SystemSellingTypes = {}));
27
+ //# sourceMappingURL=system.enums.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"system.enums.js","sourceRoot":"","sources":["../../src/system/system.enums.ts"],"names":[],"mappings":";;;AAAA,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IAC1B,yDAAS,CAAA;IACT,2DAAU,CAAA;IACV,yDAAS,CAAA;AACX,CAAC,EAJW,gBAAgB,GAAhB,wBAAgB,KAAhB,wBAAgB,QAI3B;AAED,IAAY,iBAIX;AAJD,WAAY,iBAAiB;IAC3B,iEAAY,CAAA;IACZ,+DAAW,CAAA;IACX,qEAAc,CAAA;AAChB,CAAC,EAJW,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAI5B;AAED,IAAY,kBAGX;AAHD,WAAY,kBAAkB;IAC5B,2EAAgB,CAAA;IAChB,uEAAc,CAAA;AAChB,CAAC,EAHW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAG7B;AAED,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC5B,mEAAY,CAAA;IACZ,+DAAU,CAAA;IACV,iEAAW,CAAA;AACb,CAAC,EAJW,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAI7B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.50",
3
+ "version": "0.2.52",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -2,7 +2,7 @@ export type SystemCountries = {
2
2
  id: number
3
3
  name: string
4
4
  phoneFormat: string
5
- countryPhoneFormat: string
5
+ countryPhoneNumber: string
6
6
  }
7
7
 
8
8
  export type SystemCountriesRequest = Omit<SystemCountries, 'id'>
@@ -6,3 +6,4 @@ export * from './PersonTypes/'
6
6
  export * from './SellingTypes/'
7
7
  export * from './States/'
8
8
  export * from './TaxerTypes/'
9
+ export * from './system.enums'
@@ -0,0 +1,22 @@
1
+ export enum SystemTaxerTypes {
2
+ Small = 1,
3
+ Medium = 2,
4
+ Large = 3,
5
+ }
6
+
7
+ export enum SystemPersonTypes {
8
+ Juridica = 1,
9
+ Natural = 2,
10
+ Extranjera = 3,
11
+ }
12
+
13
+ export enum SystemNaturalTypes {
14
+ NoDeclaraIVA = 1,
15
+ DeclaraIVA = 2,
16
+ }
17
+
18
+ export enum SystemSellingTypes {
19
+ NoSujeto = 1,
20
+ Exento = 2,
21
+ Gravado = 3,
22
+ }