@openbox/shared-types 0.5.63 → 0.5.65

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.
@@ -110,7 +110,6 @@ export type PartnersV1PurchasesCreateSingleRequestDataTotals = {
110
110
  ivaRetenido: number;
111
111
  reteRenta: number;
112
112
  totalPagar: number;
113
- totalLetras: string;
114
113
  };
115
114
  export type PartnersV1PurchasesCreateSingleRequestData = {
116
115
  header: PartnersV1PurchasesCreateSingleRequestDataHeader;
@@ -0,0 +1,31 @@
1
+ export type PurchasesCreateSingleHeader = {
2
+ documentType: string;
3
+ externalId?: string;
4
+ purchaseDate: string;
5
+ provider: string;
6
+ providerBranch: string;
7
+ paymentConditionName: string;
8
+ };
9
+ export type PurchasesCreateSingleTotals = {
10
+ totalCompra: number;
11
+ descu: number;
12
+ totalDescu: number;
13
+ subTotal: number;
14
+ ivaRetenido: number;
15
+ reteRenta: number;
16
+ totalPagar: number;
17
+ totalLetras: string;
18
+ };
19
+ export type PurchasesCreateSingleDetail = {
20
+ service: string;
21
+ quantity: number;
22
+ unitPrice: number;
23
+ montoDescu: number;
24
+ compra: number;
25
+ description: string;
26
+ };
27
+ export type PurchasesCreateSingleRequest = {
28
+ header: PurchasesCreateSingleHeader;
29
+ totals: PurchasesCreateSingleTotals;
30
+ details: PurchasesCreateSingleDetail[];
31
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/purchases/Purchases/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type PurchasesCreateSingleResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/purchases/Purchases/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,10 @@
1
+ import { PurchasesCreateSingleHeader, PurchasesCreateSingleTotals, PurchasesCreateSingleDetail } from '../CreateSingle/Request';
2
+ export type PurchasesUpdateSingleTotals = PurchasesCreateSingleTotals;
3
+ export type PurchasesUpdateSingleDetail = PurchasesCreateSingleDetail & {
4
+ id?: string;
5
+ };
6
+ export type PurchasesUpdateSingleRequest = {
7
+ header: PurchasesCreateSingleHeader;
8
+ totals: PurchasesUpdateSingleTotals;
9
+ details: PurchasesUpdateSingleDetail[];
10
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Request.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../src/purchases/Purchases/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type PurchasesUpdateSingleResponse = SingleResponse;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=Response.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/purchases/Purchases/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -1 +1,5 @@
1
1
  export * from './purchases.types';
2
+ export * from './CreateSingle/Request';
3
+ export * from './CreateSingle/Response';
4
+ export * from './UpdateSingle/Request';
5
+ export * from './UpdateSingle/Response';
@@ -15,4 +15,8 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./purchases.types"), exports);
18
+ __exportStar(require("./CreateSingle/Request"), exports);
19
+ __exportStar(require("./CreateSingle/Response"), exports);
20
+ __exportStar(require("./UpdateSingle/Request"), exports);
21
+ __exportStar(require("./UpdateSingle/Response"), exports);
18
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/purchases/Purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/purchases/Purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,oDAAiC;AACjC,yDAAsC;AACtC,0DAAuC;AACvC,yDAAsC;AACtC,0DAAuC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.63",
3
+ "version": "0.5.65",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",