@openbox/shared-types 0.6.14 → 0.6.15
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,5 +1,4 @@
|
|
|
1
1
|
import { InventoriesProductsResponse } from '../../inventories';
|
|
2
|
-
import { ServicesResponse } from '../../services/Services/services.types';
|
|
3
2
|
import { Purchases } from '../Purchases';
|
|
4
3
|
export type PurchasesDetails = {
|
|
5
4
|
id: string;
|
|
@@ -19,11 +18,9 @@ export type PurchasesDetails = {
|
|
|
19
18
|
chargeDescription: string;
|
|
20
19
|
purchaseType: number;
|
|
21
20
|
purchase: Purchases;
|
|
22
|
-
service?: ServicesResponse;
|
|
23
21
|
product?: InventoriesProductsResponse;
|
|
24
22
|
};
|
|
25
|
-
export type PurchasesDetailsRequest = Omit<PurchasesDetails, 'id' | 'purchase' | '
|
|
26
|
-
service?: string;
|
|
23
|
+
export type PurchasesDetailsRequest = Omit<PurchasesDetails, 'id' | 'purchase' | 'product'> & {
|
|
27
24
|
product?: string;
|
|
28
25
|
};
|
|
29
26
|
export type PurchasesDetailsResponse = PurchasesDetails;
|