@erp-galoper/types 1.0.1282 → 1.0.1284
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.
- package/openapi.ts +10 -16
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -14855,8 +14855,12 @@ export interface paths {
|
|
|
14855
14855
|
/**
|
|
14856
14856
|
* Cost Rate Required
|
|
14857
14857
|
* @description use this api to check if usd_rate and company_rate are required or not to calculate the cost of the item
|
|
14858
|
-
*
|
|
14859
|
-
*
|
|
14858
|
+
*
|
|
14859
|
+
* Rates are required when:
|
|
14860
|
+
* 1. The requested currency is not the company's primary or secondary currency
|
|
14861
|
+
* 2. The item uses market_cost strategy and its default_cost_currency differs from the requested currency
|
|
14862
|
+
* 3. The item has no purchase history and its default_cost_currency differs from the requested currency
|
|
14863
|
+
*
|
|
14860
14864
|
* Returns True if usd_rate and company_rate are required, otherwise False
|
|
14861
14865
|
*
|
|
14862
14866
|
* Response:
|
|
@@ -25424,16 +25428,6 @@ export interface components {
|
|
|
25424
25428
|
* else the price from the price list will be used for the items in the items data only
|
|
25425
25429
|
*/
|
|
25426
25430
|
priceList?: string | null;
|
|
25427
|
-
/**
|
|
25428
|
-
* Companyrate
|
|
25429
|
-
* @description " visible and required when price list is chosen and its pricing_method is profit
|
|
25430
|
-
*/
|
|
25431
|
-
companyRate?: number | null;
|
|
25432
|
-
/**
|
|
25433
|
-
* Secondaryrate
|
|
25434
|
-
* @description visible and required when price list is chosen and its pricing_method is profit
|
|
25435
|
-
*/
|
|
25436
|
-
secondaryRate?: number | null;
|
|
25437
25431
|
/**
|
|
25438
25432
|
* Itemsdata
|
|
25439
25433
|
* @default []
|
|
@@ -86406,8 +86400,8 @@ export interface operations {
|
|
|
86406
86400
|
sales_views_get_item_price_for_customer: {
|
|
86407
86401
|
parameters: {
|
|
86408
86402
|
query: {
|
|
86409
|
-
usdRate
|
|
86410
|
-
companyRate
|
|
86403
|
+
usdRate?: number;
|
|
86404
|
+
companyRate?: number;
|
|
86411
86405
|
customer: number;
|
|
86412
86406
|
unitOfMeasureId: number;
|
|
86413
86407
|
priceListId?: string;
|
|
@@ -86444,11 +86438,11 @@ export interface operations {
|
|
|
86444
86438
|
sales_views_get_sales_item_data: {
|
|
86445
86439
|
parameters: {
|
|
86446
86440
|
query: {
|
|
86447
|
-
usd_rate: number;
|
|
86448
|
-
company_rate: number;
|
|
86449
86441
|
customer_id: number;
|
|
86450
86442
|
unit_of_measure_id: number;
|
|
86451
86443
|
price_list_id?: string;
|
|
86444
|
+
usdRate?: number;
|
|
86445
|
+
companyRate?: number;
|
|
86452
86446
|
item_package_id?: string;
|
|
86453
86447
|
/** @description Subtotal of the item after discount */
|
|
86454
86448
|
subtotal: number;
|