@openbox/shared-types 0.6.2 → 0.6.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.
@@ -0,0 +1,15 @@
1
+ import { PartnersV1DocumentStatus, PartnersV1HaciendaResponse } from '../../shared.types';
2
+ /**
3
+ * Response type for GetSingle operation on Partners V1 Invoices.
4
+ * This type is intentionally separate from CreateSingle response to allow
5
+ * independent evolution of API contracts. Even though they currently share
6
+ * the same structure, keeping them separate provides flexibility for future
7
+ * changes (e.g., additional fields for GetSingle that CreateSingle doesn't return).
8
+ */
9
+ export type PartnersV1InvoicesGetSingleResponse = {
10
+ id: string;
11
+ pdfURL: string;
12
+ jsonURL: string;
13
+ status: PartnersV1DocumentStatus;
14
+ haciendaResponse: PartnersV1HaciendaResponse;
15
+ };
@@ -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/partners/V1/invoices/GetSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  export * from './CreateSingle/Request';
2
2
  export * from './CreateSingle/Response';
3
+ export * from './GetSingle/Response';
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateSingle/Request"), exports);
18
18
  __exportStar(require("./CreateSingle/Response"), exports);
19
+ __exportStar(require("./GetSingle/Response"), exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.02",
3
+ "version": "0.6.03",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",