@openbox/shared-types 0.5.2 → 0.5.3
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/Invoices/GetSingle/Response.d.ts +0 -1
- package/lib/partners/V1/index.d.ts +1 -0
- package/lib/partners/V1/index.js +1 -0
- package/lib/partners/V1/index.js.map +1 -1
- package/lib/partners/V1/invoices/CreateSingle/Response.d.ts +22 -0
- package/lib/partners/V1/invoices/CreateSingle/Response.js +11 -0
- package/lib/partners/V1/invoices/CreateSingle/Response.js.map +1 -0
- package/lib/partners/V1/invoices/index.d.ts +1 -0
- package/lib/partners/V1/invoices/index.js +18 -0
- package/lib/partners/V1/invoices/index.js.map +1 -0
- package/package.json +1 -1
- package/src/invoices/Invoices/GetSingle/Response.ts +1 -4
- package/src/partners/V1/index.ts +1 -0
- package/src/partners/V1/invoices/CreateSingle/Response.ts +24 -0
- package/src/partners/V1/invoices/index.ts +1 -0
package/lib/partners/V1/index.js
CHANGED
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./auth"), exports);
|
|
18
|
+
__exportStar(require("./invoices"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/partners/V1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/partners/V1/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yCAAsB;AACtB,6CAA0B"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export declare enum PartnersV1InvoicesCreateSingleResponseStatus {
|
|
2
|
+
EMITIDA = "EMITIDA",
|
|
3
|
+
PRESENTADA = "PRESENTADA",
|
|
4
|
+
ANULADA = "ANULADA",
|
|
5
|
+
CONTINGENCIA = "CONTINGENCIA"
|
|
6
|
+
}
|
|
7
|
+
export type PartnersV1InvoicesCreateSingleResponseHaciendaResponse = {
|
|
8
|
+
estado: string;
|
|
9
|
+
ambiente: '01' | '00';
|
|
10
|
+
observaciones: Array<string>;
|
|
11
|
+
selloRecibido: string;
|
|
12
|
+
descripcionMsg: string;
|
|
13
|
+
fhProcesamiento: string;
|
|
14
|
+
codigoGeneracion: string;
|
|
15
|
+
};
|
|
16
|
+
export type PartnersV1InvoicesCreateSingleResponse = {
|
|
17
|
+
id: string;
|
|
18
|
+
pdfURL: string;
|
|
19
|
+
jsonURL: string;
|
|
20
|
+
status: PartnersV1InvoicesCreateSingleResponseStatus;
|
|
21
|
+
haciendaReponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse;
|
|
22
|
+
};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PartnersV1InvoicesCreateSingleResponseStatus = void 0;
|
|
4
|
+
var PartnersV1InvoicesCreateSingleResponseStatus;
|
|
5
|
+
(function (PartnersV1InvoicesCreateSingleResponseStatus) {
|
|
6
|
+
PartnersV1InvoicesCreateSingleResponseStatus["EMITIDA"] = "EMITIDA";
|
|
7
|
+
PartnersV1InvoicesCreateSingleResponseStatus["PRESENTADA"] = "PRESENTADA";
|
|
8
|
+
PartnersV1InvoicesCreateSingleResponseStatus["ANULADA"] = "ANULADA";
|
|
9
|
+
PartnersV1InvoicesCreateSingleResponseStatus["CONTINGENCIA"] = "CONTINGENCIA";
|
|
10
|
+
})(PartnersV1InvoicesCreateSingleResponseStatus = exports.PartnersV1InvoicesCreateSingleResponseStatus || (exports.PartnersV1InvoicesCreateSingleResponseStatus = {}));
|
|
11
|
+
//# sourceMappingURL=Response.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../../src/partners/V1/invoices/CreateSingle/Response.ts"],"names":[],"mappings":";;;AAAA,IAAY,4CAKX;AALD,WAAY,4CAA4C;IACtD,mEAAmB,CAAA;IACnB,yEAAyB,CAAA;IACzB,mEAAmB,CAAA;IACnB,6EAA6B,CAAA;AAC/B,CAAC,EALW,4CAA4C,GAA5C,oDAA4C,KAA5C,oDAA4C,QAKvD"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CreateSingle/Response';
|
|
@@ -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("./CreateSingle/Response"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAuC"}
|
package/package.json
CHANGED
package/src/partners/V1/index.ts
CHANGED
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export enum PartnersV1InvoicesCreateSingleResponseStatus {
|
|
2
|
+
EMITIDA = 'EMITIDA',
|
|
3
|
+
PRESENTADA = 'PRESENTADA',
|
|
4
|
+
ANULADA = 'ANULADA',
|
|
5
|
+
CONTINGENCIA = 'CONTINGENCIA',
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export type PartnersV1InvoicesCreateSingleResponseHaciendaResponse = {
|
|
9
|
+
estado: string
|
|
10
|
+
ambiente: '01' | '00'
|
|
11
|
+
observaciones: Array<string>
|
|
12
|
+
selloRecibido: string
|
|
13
|
+
descripcionMsg: string
|
|
14
|
+
fhProcesamiento: string
|
|
15
|
+
codigoGeneracion: string
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
export type PartnersV1InvoicesCreateSingleResponse = {
|
|
19
|
+
id: string
|
|
20
|
+
pdfURL: string
|
|
21
|
+
jsonURL: string
|
|
22
|
+
status: PartnersV1InvoicesCreateSingleResponseStatus
|
|
23
|
+
haciendaReponse: PartnersV1InvoicesCreateSingleResponseHaciendaResponse
|
|
24
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './CreateSingle/Response'
|