@openbox/shared-types 0.5.76 → 0.5.78

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.
@@ -1,10 +1,10 @@
1
1
  import { CustomersBranches } from '../../customers/Branches/customers.branches.types';
2
2
  import { Customers } from '../../customers/Customers/customers.types';
3
+ import { SystemElectronicSVData } from '../../system/Electronic';
3
4
  import { SystemPersonTypeNaturals } from '../../system/PersonTypeNaturals/system.person-types-naturals.types';
4
5
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
5
6
  import { InvoicesDetails } from '../Details/invoices.details.type';
6
7
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
7
- import { InvoicesElectronicSVData } from '../Electronic';
8
8
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
9
9
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
10
10
  import { InvoicesStatusesTypes } from '../StatusesTypes';
@@ -55,5 +55,5 @@ export type Invoices = {
55
55
  customerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>;
56
56
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
57
57
  invoiceDetails: InvoicesDetails[];
58
- electronicSvData: InvoicesElectronicSVData[];
58
+ electronicSvData: SystemElectronicSVData[];
59
59
  };
@@ -2,7 +2,6 @@ export * from './Calculation/';
2
2
  export * from './Details';
3
3
  export * from './DocumentTypes/';
4
4
  export * from './Documents/';
5
- export * from './Electronic/';
6
5
  export * from './Invoices/';
7
6
  export * from './PaymentConditions';
8
7
  export * from './Sellers/';
@@ -18,7 +18,6 @@ __exportStar(require("./Calculation/"), exports);
18
18
  __exportStar(require("./Details"), exports);
19
19
  __exportStar(require("./DocumentTypes/"), exports);
20
20
  __exportStar(require("./Documents/"), exports);
21
- __exportStar(require("./Electronic/"), exports);
22
21
  __exportStar(require("./Invoices/"), exports);
23
22
  __exportStar(require("./PaymentConditions"), exports);
24
23
  __exportStar(require("./Sellers/"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,4CAAyB;AACzB,mDAAgC;AAChC,+CAA4B;AAC5B,gDAA6B;AAC7B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,iDAA8B;AAC9B,4CAAyB;AACzB,mDAAgC;AAChC,+CAA4B;AAC5B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
@@ -1,5 +1,5 @@
1
1
  export type PurchasesCreateSingleHeader = {
2
- documentType: string;
2
+ documentType: number;
3
3
  externalId?: string;
4
4
  purchaseDate: string;
5
5
  provider: string;
@@ -14,7 +14,6 @@ export type PurchasesCreateSingleTotals = {
14
14
  ivaRetenido: number;
15
15
  reteRenta: number;
16
16
  totalPagar: number;
17
- totalLetras: string;
18
17
  };
19
18
  export type PurchasesCreateSingleDetail = {
20
19
  service: string;
@@ -1,8 +1,8 @@
1
- export declare enum InvoicesElectronicDataActions {
1
+ export declare enum SystemElectronicDataActions {
2
2
  PRESENTAR = "PRESENTAR",
3
3
  ANULAR = "ANULAR"
4
4
  }
5
- export type InvoicesElectronicSVDataResponse = {
5
+ export type SystemElectronicSVDataResponse = {
6
6
  ambiente: '00' | '01';
7
7
  fhProcesamiento: string;
8
8
  estado: 'PROCESADO' | 'RECHAZADO' | 'PENDIENTE';
@@ -11,10 +11,10 @@ export type InvoicesElectronicSVDataResponse = {
11
11
  observaciones: Array<string>;
12
12
  descripcionMsg: string;
13
13
  };
14
- export type InvoicesElectronicSVData = {
14
+ export type SystemElectronicSVData = {
15
15
  id: string;
16
- response: InvoicesElectronicSVDataResponse;
16
+ response: SystemElectronicSVDataResponse;
17
17
  isProduction: boolean;
18
18
  success: boolean;
19
- action: InvoicesElectronicDataActions;
19
+ action: SystemElectronicDataActions;
20
20
  };
@@ -0,0 +1,9 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.SystemElectronicDataActions = void 0;
4
+ var SystemElectronicDataActions;
5
+ (function (SystemElectronicDataActions) {
6
+ SystemElectronicDataActions["PRESENTAR"] = "PRESENTAR";
7
+ SystemElectronicDataActions["ANULAR"] = "ANULAR";
8
+ })(SystemElectronicDataActions = exports.SystemElectronicDataActions || (exports.SystemElectronicDataActions = {}));
9
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/system/Electronic/Sv/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,2BAGX;AAHD,WAAY,2BAA2B;IACrC,sDAAuB,CAAA;IACvB,gDAAiB,CAAA;AACnB,CAAC,EAHW,2BAA2B,GAA3B,mCAA2B,KAA3B,mCAA2B,QAGtC"}
@@ -0,0 +1 @@
1
+ export * from './Sv';
@@ -14,5 +14,5 @@ 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("./SVData"), exports);
17
+ __exportStar(require("./Sv"), exports);
18
18
  //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/system/Electronic/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uCAAoB"}
@@ -1,6 +1,7 @@
1
1
  export * from './Cities/';
2
2
  export * from './Countries/';
3
3
  export * from './Directory/';
4
+ export * from './Electronic/';
4
5
  export * from './Logs/';
5
6
  export * from './Modules/';
6
7
  export * from './PersonTypeNaturals';
@@ -17,6 +17,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Cities/"), exports);
18
18
  __exportStar(require("./Countries/"), exports);
19
19
  __exportStar(require("./Directory/"), exports);
20
+ __exportStar(require("./Electronic/"), exports);
20
21
  __exportStar(require("./Logs/"), exports);
21
22
  __exportStar(require("./Modules/"), exports);
22
23
  __exportStar(require("./PersonTypeNaturals"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,0CAAuB;AACvB,6CAA0B;AAC1B,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,6CAA0B;AAC1B,4CAAyB;AACzB,wCAAqB;AACrB,iDAA8B;AAC9B,gDAA6B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/system/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,+CAA4B;AAC5B,+CAA4B;AAC5B,gDAA6B;AAC7B,0CAAuB;AACvB,6CAA0B;AAC1B,uDAAoC;AACpC,iDAA8B;AAC9B,kDAA+B;AAC/B,6CAA0B;AAC1B,4CAAyB;AACzB,wCAAqB;AACrB,iDAA8B;AAC9B,gDAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.76",
3
+ "version": "0.5.78",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,9 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.InvoicesElectronicDataActions = void 0;
4
- var InvoicesElectronicDataActions;
5
- (function (InvoicesElectronicDataActions) {
6
- InvoicesElectronicDataActions["PRESENTAR"] = "PRESENTAR";
7
- InvoicesElectronicDataActions["ANULAR"] = "ANULAR";
8
- })(InvoicesElectronicDataActions = exports.InvoicesElectronicDataActions || (exports.InvoicesElectronicDataActions = {}));
9
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/invoices/Electronic/SVData/index.ts"],"names":[],"mappings":";;;AAAA,IAAY,6BAGX;AAHD,WAAY,6BAA6B;IACvC,wDAAuB,CAAA;IACvB,kDAAiB,CAAA;AACnB,CAAC,EAHW,6BAA6B,GAA7B,qCAA6B,KAA7B,qCAA6B,QAGxC"}
@@ -1 +0,0 @@
1
- export * from './SVData';
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Electronic/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}