hvp-shared 6.3.0 → 6.4.0
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* Request DTOs for catalog item endpoints.
|
|
5
5
|
*/
|
|
6
|
-
import { UsageType, SyncStatus } from '../../constants/catalog-item.constants';
|
|
6
|
+
import { UsageType, SyncStatus, StockPolicy } from '../../constants/catalog-item.constants';
|
|
7
7
|
import { MarketCompetition } from '../../constants/market-competition.constants';
|
|
8
8
|
import { PricingRuleCode } from '../../constants/pricing-rule.constants';
|
|
9
9
|
/**
|
|
@@ -104,7 +104,11 @@ export interface UpdateCatalogItemHvpDataRequest {
|
|
|
104
104
|
pricingRuleCode?: PricingRuleCode;
|
|
105
105
|
/** Recommended price (calculated from pricing rule) */
|
|
106
106
|
recommendedPrice?: number;
|
|
107
|
-
/**
|
|
107
|
+
/** How stock levels are managed */
|
|
108
|
+
stockPolicy?: StockPolicy;
|
|
109
|
+
/** Observations generated by analysis script */
|
|
110
|
+
stockObservations?: string;
|
|
111
|
+
/** @deprecated Use stockPolicy: 'manual' instead */
|
|
108
112
|
requiresManualReview?: boolean;
|
|
109
113
|
}
|
|
110
114
|
/**
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Response DTOs for catalog item endpoints.
|
|
5
5
|
*/
|
|
6
6
|
import { SyncField } from '../../types/sync-field.types';
|
|
7
|
-
import { UsageType, SyncStatus } from '../../constants/catalog-item.constants';
|
|
7
|
+
import { UsageType, SyncStatus, StockPolicy } from '../../constants/catalog-item.constants';
|
|
8
8
|
import { MarketCompetition } from '../../constants/market-competition.constants';
|
|
9
9
|
import { PricingRuleCode } from '../../constants/pricing-rule.constants';
|
|
10
10
|
import { Warehouse } from '../../types/qvet.types';
|
|
@@ -136,7 +136,11 @@ export interface CatalogItemDetailResponse {
|
|
|
136
136
|
* Calculated from: cost * (1 + targetMargin/100) * (1 + VAT/100)
|
|
137
137
|
*/
|
|
138
138
|
recommendedPrice?: number;
|
|
139
|
-
/**
|
|
139
|
+
/** How stock levels are managed */
|
|
140
|
+
stockPolicy?: StockPolicy;
|
|
141
|
+
/** Observations generated by analysis script */
|
|
142
|
+
stockObservations?: string;
|
|
143
|
+
/** @deprecated Use stockPolicy: 'manual' instead */
|
|
140
144
|
requiresManualReview?: boolean;
|
|
141
145
|
};
|
|
142
146
|
hasPendingChanges: boolean;
|