@openbox/shared-types 0.6.3 → 0.6.4

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,16 @@
1
+ import { PartnersV1DocumentStatus, PartnersV1HaciendaResponse } from '../../shared.types';
2
+ /**
3
+ * Response type for VoidSingle operation on Partners V1 Invoices.
4
+ * This type handles invoice annulment/cancellation/void operations for partner integrations.
5
+ *
6
+ * This type is intentionally separate from the core invoices VoidSingle response to maintain
7
+ * API contract separation and allow for future partner-specific customizations without affecting
8
+ * core modules. This includes potential differences in validation, Hacienda response handling,
9
+ * status tracking, or additional metadata specific to partner flows.
10
+ */
11
+ export type PartnersV1InvoicesVoidSingleResponse = {
12
+ id: string;
13
+ message: string;
14
+ status: PartnersV1DocumentStatus;
15
+ haciendaResponse: PartnersV1HaciendaResponse;
16
+ };
@@ -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/VoidSingle/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +1,4 @@
1
1
  export * from './CreateSingle/Request';
2
2
  export * from './CreateSingle/Response';
3
3
  export * from './GetSingle/Response';
4
+ export * from './VoidSingle/Response';
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./CreateSingle/Request"), exports);
18
18
  __exportStar(require("./CreateSingle/Response"), exports);
19
19
  __exportStar(require("./GetSingle/Response"), exports);
20
+ __exportStar(require("./VoidSingle/Response"), exports);
20
21
  //# 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;AACvC,uDAAoC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/partners/V1/invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,yDAAsC;AACtC,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.6.03",
3
+ "version": "0.6.04",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",