@openbox/shared-types 0.5.89 → 0.5.91
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.
- package/lib/invoices/Discounts/index.d.ts +1 -0
- package/lib/invoices/Discounts/index.js +18 -0
- package/lib/invoices/Discounts/index.js.map +1 -0
- package/lib/invoices/Discounts/invoices.discounts.types.d.ts +12 -0
- package/lib/invoices/Discounts/invoices.discounts.types.js +3 -0
- package/lib/invoices/Discounts/invoices.discounts.types.js.map +1 -0
- package/lib/invoices/Invoices/invoices.types.d.ts +2 -0
- package/lib/invoices/index.d.ts +1 -0
- package/lib/invoices/index.js +1 -0
- package/lib/invoices/index.js.map +1 -1
- package/lib/partners/V1/invoices/CreateSingle/Request.d.ts +2 -1
- package/lib/partners/V1/invoices/CreateSingle/Request.js +1 -0
- package/lib/partners/V1/invoices/CreateSingle/Request.js.map +1 -1
- package/package.json +1 -1
|
@@ -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,12 @@
|
|
|
1
|
+
import { InvoicesDiscountsTypesKeys } from '../invoices.enums';
|
|
2
|
+
export type InvoicesDiscounts = {
|
|
3
|
+
id: string;
|
|
4
|
+
type: InvoicesDiscountsTypesKeys;
|
|
5
|
+
quantity: number;
|
|
6
|
+
description: string;
|
|
7
|
+
descuExenta: number;
|
|
8
|
+
descuGravada: number;
|
|
9
|
+
descuNoSuj: number;
|
|
10
|
+
};
|
|
11
|
+
export type InvoicesDiscountsRequest = Omit<InvoicesDiscounts, 'id'>;
|
|
12
|
+
export type InvoicesDiscountsResponse = InvoicesDiscounts;
|
|
@@ -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
|
};
|
package/lib/invoices/index.d.ts
CHANGED
package/lib/invoices/index.js
CHANGED
|
@@ -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"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { InventoriesUnitsSVCode } from '../../../../inventories';
|
|
2
2
|
export declare enum PartnersV1InvoicesCreateSingleRequestSettingsNotify {
|
|
3
|
-
EMAIL = "EMAIL"
|
|
3
|
+
EMAIL = "EMAIL",
|
|
4
|
+
NONE = "NONE"
|
|
4
5
|
}
|
|
5
6
|
export type PartnersV1InvoicesCreateSingleRequestSettings = {
|
|
6
7
|
notify: PartnersV1InvoicesCreateSingleRequestSettingsNotify | null;
|
|
@@ -4,6 +4,7 @@ exports.PartnersV1InvoicesCreateSingleRequestDataDetailsSellingType = exports.Pa
|
|
|
4
4
|
var PartnersV1InvoicesCreateSingleRequestSettingsNotify;
|
|
5
5
|
(function (PartnersV1InvoicesCreateSingleRequestSettingsNotify) {
|
|
6
6
|
PartnersV1InvoicesCreateSingleRequestSettingsNotify["EMAIL"] = "EMAIL";
|
|
7
|
+
PartnersV1InvoicesCreateSingleRequestSettingsNotify["NONE"] = "NONE";
|
|
7
8
|
})(PartnersV1InvoicesCreateSingleRequestSettingsNotify = exports.PartnersV1InvoicesCreateSingleRequestSettingsNotify || (exports.PartnersV1InvoicesCreateSingleRequestSettingsNotify = {}));
|
|
8
9
|
var PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType;
|
|
9
10
|
(function (PartnersV1InvoicesCreateSingleRequestDataHeaderCustomerType) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Request.ts"],"names":[],"mappings":";;;AAEA,IAAY,
|
|
1
|
+
{"version":3,"file":"Request.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Request.ts"],"names":[],"mappings":";;;AAEA,IAAY,mDAGX;AAHD,WAAY,mDAAmD;IAC7D,sEAAe,CAAA;IACf,oEAAa,CAAA;AACf,CAAC,EAHW,mDAAmD,GAAnD,2DAAmD,KAAnD,2DAAmD,QAG9D;AAkBD,IAAY,2DAIX;AAJD,WAAY,2DAA2D;IACrE,uJAAa,CAAA;IACb,iJAAU,CAAA;IACV,mJAAW,C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