@erp-galoper/types 1.0.1284 → 1.0.1285

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.
Files changed (2) hide show
  1. package/openapi.ts +5 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -14854,14 +14854,16 @@ export interface paths {
14854
14854
  };
14855
14855
  /**
14856
14856
  * Cost Rate Required
14857
- * @description use this api to check if usd_rate and company_rate are required or not to calculate the cost of the item
14857
+ * @description Check if custom exchange rates should be provided for accurate cost calculation.
14858
+ *
14859
+ * While usd_rate and company_rate are always optional (defaults to currency model rates),
14860
+ * this endpoint helps determine when you might want to provide custom rates for scenarios like:
14858
14861
  *
14859
- * Rates are required when:
14860
14862
  * 1. The requested currency is not the company's primary or secondary currency
14861
14863
  * 2. The item uses market_cost strategy and its default_cost_currency differs from the requested currency
14862
14864
  * 3. The item has no purchase history and its default_cost_currency differs from the requested currency
14863
14865
  *
14864
- * Returns True if usd_rate and company_rate are required, otherwise False
14866
+ * Returns True if custom rates are recommended for better accuracy, False if default rates are sufficient
14865
14867
  *
14866
14868
  * Response:
14867
14869
  * - 200: bool
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.1284",
3
+ "version": "1.0.1285",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],