@openbox/shared-types 0.5.90 → 0.5.92

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.
@@ -0,0 +1 @@
1
+ export * from './invoices.discounts.types';
@@ -0,0 +1,18 @@
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("./invoices.discounts.types"), exports);
18
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Discounts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,6DAA0C"}
@@ -0,0 +1,11 @@
1
+ export type InvoicesDiscounts = {
2
+ id: string;
3
+ type: string;
4
+ quantity: number;
5
+ description: string;
6
+ descuExenta: number;
7
+ descuGravada: number;
8
+ descuNoSuj: number;
9
+ };
10
+ export type InvoicesDiscountsRequest = Omit<InvoicesDiscounts, 'id'>;
11
+ export type InvoicesDiscountsResponse = InvoicesDiscounts;
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=invoices.discounts.types.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"invoices.discounts.types.js","sourceRoot":"","sources":["../../../src/invoices/Discounts/invoices.discounts.types.ts"],"names":[],"mappings":""}
@@ -4,6 +4,7 @@ import { SystemElectronicSVData } from '../../system/Electronic';
4
4
  import { SystemPersonTypeNaturals } from '../../system/PersonTypeNaturals/system.person-types-naturals.types';
5
5
  import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
6
6
  import { InvoicesDetails } from '../Details/invoices.details.type';
7
+ import { InvoicesDiscounts } from '../Discounts/invoices.discounts.types';
7
8
  import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
8
9
  import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
9
10
  import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
@@ -55,5 +56,6 @@ export type Invoices = {
55
56
  customerTypeNatural: Pick<SystemPersonTypeNaturals, 'id' | 'name'>;
56
57
  documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
57
58
  invoiceDetails: InvoicesDetails[];
59
+ discounts: InvoicesDiscounts[];
58
60
  electronicSvData: SystemElectronicSVData[];
59
61
  };
@@ -1,5 +1,6 @@
1
1
  export * from './Calculation/';
2
2
  export * from './Details';
3
+ export * from './Discounts';
3
4
  export * from './DocumentTypes/';
4
5
  export * from './Documents/';
5
6
  export * from './Invoices/';
@@ -16,6 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./Calculation/"), exports);
18
18
  __exportStar(require("./Details"), exports);
19
+ __exportStar(require("./Discounts"), exports);
19
20
  __exportStar(require("./DocumentTypes/"), exports);
20
21
  __exportStar(require("./Documents/"), exports);
21
22
  __exportStar(require("./Invoices/"), 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,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,8CAA2B;AAC3B,mDAAgC;AAChC,+CAA4B;AAC5B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.5.90",
3
+ "version": "0.5.92",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",