@openbox/shared-types 0.2.71 → 0.2.74

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.
@@ -1,8 +1,7 @@
1
1
  import { GetManyResponse } from '../../../interfaces';
2
- import { Invoices } from '../invoices.types';
2
+ import { InvoicesGetSingleResponse } from '../GetSingle/Response';
3
3
  export type InvoicesGetManyResponse = GetManyResponse & {
4
- data: Array<Invoices & {
4
+ data: Array<InvoicesGetSingleResponse & {
5
5
  index: number;
6
- isLastInvoice: boolean;
7
6
  }>;
8
7
  };
@@ -1,2 +1,4 @@
1
1
  import { Invoices } from '../invoices.types';
2
- export type InvoicesGetSingleRequest = Invoices;
2
+ export type InvoicesGetSingleResponse = Invoices & {
3
+ isLastInvoice: boolean;
4
+ };
@@ -1,2 +1,2 @@
1
1
  import { SingleResponse } from '../../../interfaces';
2
- export type InvoicesMarkSingleAsPaid = SingleResponse;
2
+ export type InvoicesMarkSingleAsPaidResponse = SingleResponse;
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InvoicesRevertSingleResponse = SingleResponse;
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Invoices/RevertSingle/Response.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
1
+ import { SingleResponse } from '../../../interfaces';
2
+ export type InvoicesVoidSingleResponse = SingleResponse;
@@ -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/invoices/Invoices/VoidSingle/Response.ts"],"names":[],"mappings":""}
@@ -11,9 +11,10 @@ export * from './GetMany/Request';
11
11
  export * from './GetMany/Response';
12
12
  export * from './GetSingle/Response';
13
13
  export * from './MarkSingleAsPaid/Response';
14
- export * from './Revert/Response';
14
+ export * from './RevertSingle/Response';
15
15
  export * from './UpdateMany/Request';
16
16
  export * from './UpdateMany/Response';
17
17
  export * from './UpdateSingle/Request';
18
18
  export * from './UpdateSingle/Response';
19
+ export * from './VoidSingle/Response';
19
20
  export * from './invoices.types';
@@ -27,10 +27,11 @@ __exportStar(require("./GetMany/Request"), exports);
27
27
  __exportStar(require("./GetMany/Response"), exports);
28
28
  __exportStar(require("./GetSingle/Response"), exports);
29
29
  __exportStar(require("./MarkSingleAsPaid/Response"), exports);
30
- __exportStar(require("./Revert/Response"), exports);
30
+ __exportStar(require("./RevertSingle/Response"), exports);
31
31
  __exportStar(require("./UpdateMany/Request"), exports);
32
32
  __exportStar(require("./UpdateMany/Response"), exports);
33
33
  __exportStar(require("./UpdateSingle/Request"), exports);
34
34
  __exportStar(require("./UpdateSingle/Response"), exports);
35
+ __exportStar(require("./VoidSingle/Response"), exports);
35
36
  __exportStar(require("./invoices.types"), exports);
36
37
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,4DAAyC;AACzC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,8DAA2C;AAC3C,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C;AAC3C,oDAAiC;AACjC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,mDAAgC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/invoices/Invoices/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,2DAAwC;AACxC,4DAAyC;AACzC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,0DAAuC;AACvC,8DAA2C;AAC3C,oDAAiC;AACjC,qDAAkC;AAClC,uDAAoC;AACpC,8DAA2C;AAC3C,0DAAuC;AACvC,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,0DAAuC;AACvC,wDAAqC;AACrC,mDAAgC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.2.71",
3
+ "version": "0.2.74",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,6 +1,6 @@
1
1
  import { GetManyResponse } from '../../../interfaces'
2
- import { Invoices } from '../invoices.types'
2
+ import { InvoicesGetSingleResponse } from '../GetSingle/Response'
3
3
 
4
4
  export type InvoicesGetManyResponse = GetManyResponse & {
5
- data: Array<Invoices & { index: number; isLastInvoice: boolean }>
5
+ data: Array<InvoicesGetSingleResponse & { index: number }>
6
6
  }
@@ -1,3 +1,3 @@
1
1
  import { Invoices } from '../invoices.types'
2
2
 
3
- export type InvoicesGetSingleRequest = Invoices
3
+ export type InvoicesGetSingleResponse = Invoices & { isLastInvoice: boolean }
@@ -1,3 +1,3 @@
1
1
  import { SingleResponse } from '../../../interfaces'
2
2
 
3
- export type InvoicesMarkSingleAsPaid = SingleResponse
3
+ export type InvoicesMarkSingleAsPaidResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesRevertSingleResponse = SingleResponse
@@ -0,0 +1,3 @@
1
+ import { SingleResponse } from '../../../interfaces'
2
+
3
+ export type InvoicesVoidSingleResponse = SingleResponse
@@ -11,9 +11,10 @@ export * from './GetMany/Request'
11
11
  export * from './GetMany/Response'
12
12
  export * from './GetSingle/Response'
13
13
  export * from './MarkSingleAsPaid/Response'
14
- export * from './Revert/Response'
14
+ export * from './RevertSingle/Response'
15
15
  export * from './UpdateMany/Request'
16
16
  export * from './UpdateMany/Response'
17
17
  export * from './UpdateSingle/Request'
18
18
  export * from './UpdateSingle/Response'
19
+ export * from './VoidSingle/Response'
19
20
  export * from './invoices.types'
@@ -1,2 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces';
2
- export type InvoicesRevertSingle = SingleResponse;
@@ -1 +0,0 @@
1
- {"version":3,"file":"Response.js","sourceRoot":"","sources":["../../../../src/invoices/Invoices/Revert/Response.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- import { SingleResponse } from '../../../interfaces'
2
-
3
- export type InvoicesRevertSingle = SingleResponse