@openbox/shared-types 0.3.15 → 0.3.17

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,4 +1,5 @@
1
1
  export type InvoicesCalculationsDetailsRequest = {
2
+ id: string;
2
3
  service: string;
3
4
  quantity: number;
4
5
  unitPrice: number;
@@ -1,4 +1,5 @@
1
1
  export type InvoicesCalculationsDetailsResponse = {
2
+ id: string;
2
3
  service: string;
3
4
  quantity: number;
4
5
  chargeDescription: string;
@@ -3,7 +3,6 @@ export type InvoicesUpdateSingleHeader = Omit<InvoicesCreateSingleHeader, 'docum
3
3
  export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals;
4
4
  export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
5
5
  id: string;
6
- action: 'create' | 'update' | 'delete';
7
6
  };
8
7
  export type InvoicesUpdateSingleRequest = {
9
8
  header: InvoicesUpdateSingleHeader;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openbox/shared-types",
3
- "version": "0.3.15",
3
+ "version": "0.3.17",
4
4
  "description": "Shared Types for Openbox Cloud. ",
5
5
  "types": "lib/index.d.js",
6
6
  "main": "lib/index.js",
@@ -1,4 +1,5 @@
1
1
  export type InvoicesCalculationsDetailsRequest = {
2
+ id: string
2
3
  service: string
3
4
  quantity: number
4
5
  unitPrice: number
@@ -1,5 +1,6 @@
1
1
  export type InvoicesCalculationsDetailsResponse = {
2
2
  // Returns the same information received
3
+ id: string
3
4
  service: string
4
5
  quantity: number
5
6
  chargeDescription: string
@@ -13,7 +13,6 @@ export type InvoicesUpdateSingleTotals = InvoicesCreateSingleTotals
13
13
 
14
14
  export type InvoicesUpdateSingleDetail = InvoicesCreateSingleDetail & {
15
15
  id: string
16
- action: 'create' | 'update' | 'delete'
17
16
  }
18
17
 
19
18
  export type InvoicesUpdateSingleRequest = {