@openbox/shared-types 0.5.60 → 0.5.62

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.
Files changed (26) hide show
  1. package/lib/purchases/PaymentConditions/CreateSingle/Request.d.ts +2 -0
  2. package/lib/purchases/PaymentConditions/CreateSingle/Request.js +3 -0
  3. package/lib/purchases/PaymentConditions/CreateSingle/Request.js.map +1 -0
  4. package/lib/purchases/PaymentConditions/CreateSingle/Response.d.ts +2 -0
  5. package/lib/purchases/PaymentConditions/CreateSingle/Response.js +3 -0
  6. package/lib/purchases/PaymentConditions/CreateSingle/Response.js.map +1 -0
  7. package/lib/purchases/PaymentConditions/GetSingle/Response.d.ts +2 -0
  8. package/lib/purchases/PaymentConditions/GetSingle/Response.js +3 -0
  9. package/lib/purchases/PaymentConditions/GetSingle/Response.js.map +1 -0
  10. package/lib/purchases/PaymentConditions/UpdateSingle/Request.d.ts +2 -0
  11. package/lib/purchases/PaymentConditions/UpdateSingle/Request.js +3 -0
  12. package/lib/purchases/PaymentConditions/UpdateSingle/Request.js.map +1 -0
  13. package/lib/purchases/PaymentConditions/UpdateSingle/Response.d.ts +2 -0
  14. package/lib/purchases/PaymentConditions/UpdateSingle/Response.js +3 -0
  15. package/lib/purchases/PaymentConditions/UpdateSingle/Response.js.map +1 -0
  16. package/lib/purchases/PaymentConditions/index.d.ts +6 -0
  17. package/lib/purchases/PaymentConditions/index.js +23 -0
  18. package/lib/purchases/PaymentConditions/index.js.map +1 -0
  19. package/lib/purchases/PaymentConditions/purchases.payment-conditions.type.d.ts +6 -0
  20. package/lib/purchases/PaymentConditions/purchases.payment-conditions.type.js +3 -0
  21. package/lib/purchases/PaymentConditions/purchases.payment-conditions.type.js.map +1 -0
  22. package/lib/purchases/Purchases/purchases.types.d.ts +5 -13
  23. package/lib/purchases/index.d.ts +1 -0
  24. package/lib/purchases/index.js +1 -0
  25. package/lib/purchases/index.js.map +1 -1
  26. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ import { PurchasesPaymentConditions } from '../purchases.payment-conditions.type';
2
+ export type PurchasesPaymentConditionsCreateSingleRequest = Omit<PurchasesPaymentConditions, 'id' | 'active'>;
@@ -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/PaymentConditions/CreateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type PurchasesPaymentConditionsCreateSingleResponse = 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/PaymentConditions/CreateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { PurchasesPaymentConditions } from '../purchases.payment-conditions.type';
2
+ export type PurchasesPaymentConditionsGetSingleResponse = PurchasesPaymentConditions;
@@ -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/PaymentConditions/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { PurchasesPaymentConditionsCreateSingleRequest } from '../CreateSingle/Request';
2
+ export type PurchasesPaymentConditionsUpdateSingleRequest = Partial<PurchasesPaymentConditionsCreateSingleRequest>;
@@ -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/PaymentConditions/UpdateSingle/Request.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type PurchasesPaymentConditionsUpdateSingleResponse = 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/PaymentConditions/UpdateSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ export * from './CreateSingle/Request';
2
+ export * from './CreateSingle/Response';
3
+ export * from './GetSingle/Response';
4
+ export * from './UpdateSingle/Request';
5
+ export * from './UpdateSingle/Response';
6
+ export * from './purchases.payment-conditions.type';
@@ -0,0 +1,23 @@
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("./CreateSingle/Request"), exports);
18
+ __exportStar(require("./CreateSingle/Response"), exports);
19
+ __exportStar(require("./GetSingle/Response"), exports);
20
+ __exportStar(require("./UpdateSingle/Request"), exports);
21
+ __exportStar(require("./UpdateSingle/Response"), exports);
22
+ __exportStar(require("./purchases.payment-conditions.type"), exports);
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/purchases/PaymentConditions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,yDAAsC;AACtC,0DAAuC;AACvC,sEAAmD"}
@@ -0,0 +1,6 @@
1
+ export type PurchasesPaymentConditions = {
2
+ id: string;
3
+ name: string;
4
+ active: boolean;
5
+ cashPayment: boolean;
6
+ };
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=purchases.payment-conditions.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"purchases.payment-conditions.type.js","sourceRoot":"","sources":["../../../src/purchases/PaymentConditions/purchases.payment-conditions.type.ts"],"names":[],"mappings":""}
@@ -14,22 +14,14 @@ export type Purchases = {
14
14
  providerState: string;
15
15
  providerCity: string;
16
16
  providerGiro: string;
17
- totalExenta: number;
18
- totalNoSuj: number;
19
- totalGravada: number;
20
- descuExenta: number;
21
- descuNoSuj: number;
22
- descuGravada: number;
17
+ totalCompra: number;
18
+ descu: number;
23
19
  totalDescu: number;
24
- subTotalCompras: number;
25
- totalIva: number;
26
20
  subTotal: number;
27
- ivaPercibido: number;
28
- renta5: number;
29
- renta10: number;
30
- ivaRete1: number;
21
+ ivaRetenido: number;
22
+ reteRenta: number;
31
23
  totalPagar: number;
32
- totalPagarText: string;
24
+ totalLetras: string;
33
25
  origin: string;
34
26
  purchaseDate: Date;
35
27
  paymentConditionName: string;
@@ -1,5 +1,6 @@
1
1
  export * from './Details';
2
2
  export * from './DocumentTypes';
3
+ export * from './PaymentConditions';
3
4
  export * from './Purchases';
4
5
  export * from './Statuses';
5
6
  export * from './purchases.enums';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Details"), exports);
18
18
  __exportStar(require("./DocumentTypes"), exports);
19
+ __exportStar(require("./PaymentConditions"), exports);
19
20
  __exportStar(require("./Purchases"), exports);
20
21
  __exportStar(require("./Statuses"), exports);
21
22
  __exportStar(require("./purchases.enums"), exports);
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,kDAA+B;AAC/B,8CAA2B;AAC3B,6CAA0B;AAC1B,oDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/purchases/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,4CAAyB;AACzB,kDAA+B;AAC/B,sDAAmC;AACnC,8CAA2B;AAC3B,6CAA0B;AAC1B,oDAAiC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.60",
3
+ "version": "0.5.62",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",