@openbox/shared-types 0.4.38 → 0.4.40
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/Electronic/SVData/index.d.ts +12 -0
- package/lib/invoices/Electronic/SVData/index.js +3 -0
- package/lib/invoices/Electronic/SVData/index.js.map +1 -0
- package/lib/invoices/Electronic/index.d.ts +1 -0
- package/lib/invoices/Electronic/index.js +18 -0
- package/lib/invoices/Electronic/index.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/package.json +1 -1
- package/src/invoices/Electronic/SVData/index.ts +12 -0
- package/src/invoices/Electronic/index.ts +1 -0
- package/src/invoices/Invoices/invoices.types.ts +2 -0
- package/src/invoices/index.ts +1 -1
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type InvoicesElectronicSVDataResponse = {
|
|
2
|
+
estado: 'PROCESADO' | 'RECHAZADO';
|
|
3
|
+
codigoGeneracion: string;
|
|
4
|
+
selloRecibido: string | null;
|
|
5
|
+
};
|
|
6
|
+
export type InvoicesElectronicSVData = {
|
|
7
|
+
id: string;
|
|
8
|
+
response: InvoicesElectronicSVDataResponse;
|
|
9
|
+
isProduction: boolean;
|
|
10
|
+
success: boolean;
|
|
11
|
+
};
|
|
12
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/invoices/Electronic/SVData/index.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SVData';
|
|
@@ -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("./SVData"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Electronic/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAwB"}
|
|
@@ -4,6 +4,7 @@ import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-typ
|
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types';
|
|
5
5
|
import { InvoicesDetails } from '../Details/invoices.details.type';
|
|
6
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type';
|
|
7
|
+
import { InvoicesElectronicSVData } from '../Electronic';
|
|
7
8
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type';
|
|
8
9
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type';
|
|
9
10
|
import { InvoicesStatusesTypes } from '../StatusesTypes';
|
|
@@ -52,4 +53,5 @@ export type Invoices = {
|
|
|
52
53
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>;
|
|
53
54
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>;
|
|
54
55
|
invoiceDetails: InvoicesDetails[];
|
|
56
|
+
electronicSvData: InvoicesElectronicSVData[];
|
|
55
57
|
};
|
package/lib/invoices/index.d.ts
CHANGED
package/lib/invoices/index.js
CHANGED
|
@@ -18,6 +18,7 @@ __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);
|
|
21
22
|
__exportStar(require("./Invoices/"), exports);
|
|
22
23
|
__exportStar(require("./PaymentConditions"), exports);
|
|
23
24
|
__exportStar(require("./Reports/"), 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,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,gDAA6B;AAC7B,8CAA2B;AAC3B,sDAAmC;AACnC,6CAA0B;AAC1B,6CAA0B;AAC1B,6CAA0B;AAC1B,kDAA+B;AAC/B,2CAAwB;AACxB,mDAAgC"}
|
package/package.json
CHANGED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type InvoicesElectronicSVDataResponse = {
|
|
2
|
+
estado: 'PROCESADO' | 'RECHAZADO'
|
|
3
|
+
codigoGeneracion: string
|
|
4
|
+
selloRecibido: string | null
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
export type InvoicesElectronicSVData = {
|
|
8
|
+
id: string
|
|
9
|
+
response: InvoicesElectronicSVDataResponse
|
|
10
|
+
isProduction: boolean
|
|
11
|
+
success: boolean
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './SVData'
|
|
@@ -4,6 +4,7 @@ import { SystemNaturalTypes } from '../../system/NaturalTypes/system.natural-typ
|
|
|
4
4
|
import { SystemPersonTypes } from '../../system/PersonTypes/system.person-types.types'
|
|
5
5
|
import { InvoicesDetails } from '../Details/invoices.details.type'
|
|
6
6
|
import { InvoicesDocumentTypes } from '../DocumentTypes/invoices.document-types.type'
|
|
7
|
+
import { InvoicesElectronicSVData } from '../Electronic'
|
|
7
8
|
import { InvoicesPaymentConditions } from '../PaymentConditions/invoices.payment-conditions.type'
|
|
8
9
|
import { InvoicesSellers } from '../Sellers/invoices.sellers.type'
|
|
9
10
|
import { InvoicesStatusesTypes } from '../StatusesTypes'
|
|
@@ -53,6 +54,7 @@ export type Invoices = {
|
|
|
53
54
|
customerTypeNatural: Pick<SystemNaturalTypes, 'id' | 'name'>
|
|
54
55
|
documentType: Pick<InvoicesDocumentTypes, 'id' | 'name' | 'code'>
|
|
55
56
|
invoiceDetails: InvoicesDetails[]
|
|
57
|
+
electronicSvData: InvoicesElectronicSVData[]
|
|
56
58
|
// echarges: Echarges
|
|
57
59
|
// accountingEntry: AccountingEntriesEntity
|
|
58
60
|
// relatedDocument: InvoicesEntity
|
package/src/invoices/index.ts
CHANGED
|
@@ -2,6 +2,7 @@ export * from './Calculation/'
|
|
|
2
2
|
export * from './Details'
|
|
3
3
|
export * from './DocumentTypes/'
|
|
4
4
|
export * from './Documents/'
|
|
5
|
+
export * from './Electronic/'
|
|
5
6
|
export * from './Invoices/'
|
|
6
7
|
export * from './PaymentConditions'
|
|
7
8
|
export * from './Reports/'
|
|
@@ -10,4 +11,3 @@ export * from './Settings'
|
|
|
10
11
|
export * from './StatusesTypes'
|
|
11
12
|
export * from './Zones/'
|
|
12
13
|
export * from './invoices.enums'
|
|
13
|
-
|