@erp-galoper/types 1.0.1281 → 1.0.1283
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 +19 -18
- 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 []
|
|
@@ -41209,6 +41203,11 @@ export interface components {
|
|
|
41209
41203
|
*/
|
|
41210
41204
|
remaining: string;
|
|
41211
41205
|
};
|
|
41206
|
+
/**
|
|
41207
|
+
* PaymentDocumentsChangedFields
|
|
41208
|
+
* @enum {string}
|
|
41209
|
+
*/
|
|
41210
|
+
PaymentDocumentsChangedFields: "amount" | "companyAmount" | "usdAmount" | "companyRate" | "usdRate";
|
|
41212
41211
|
/** PaymentVoucherCalculateEquivalentsAndTotalsSchema */
|
|
41213
41212
|
PaymentVoucherCalculateEquivalentsAndTotalsSchema: {
|
|
41214
41213
|
/**
|
|
@@ -41258,7 +41257,8 @@ export interface components {
|
|
|
41258
41257
|
* @description field is number
|
|
41259
41258
|
*/
|
|
41260
41259
|
secondaryRate?: string;
|
|
41261
|
-
|
|
41260
|
+
/** @default amount */
|
|
41261
|
+
changedField: components["schemas"]["PaymentDocumentsChangedFields"] | null;
|
|
41262
41262
|
};
|
|
41263
41263
|
/** PaymentVoucherItemDetailSchema */
|
|
41264
41264
|
PaymentVoucherItemDetailSchema: {
|
|
@@ -49118,7 +49118,8 @@ export interface components {
|
|
|
49118
49118
|
* @description field is number
|
|
49119
49119
|
*/
|
|
49120
49120
|
secondaryRate?: string;
|
|
49121
|
-
|
|
49121
|
+
/** @default amount */
|
|
49122
|
+
changedField: components["schemas"]["PaymentDocumentsChangedFields"] | null;
|
|
49122
49123
|
};
|
|
49123
49124
|
/** CalculateEquivalentsAndTotalsSchema */
|
|
49124
49125
|
CalculateEquivalentsAndTotalsSchema: {
|
|
@@ -86399,8 +86400,8 @@ export interface operations {
|
|
|
86399
86400
|
sales_views_get_item_price_for_customer: {
|
|
86400
86401
|
parameters: {
|
|
86401
86402
|
query: {
|
|
86402
|
-
usdRate
|
|
86403
|
-
companyRate
|
|
86403
|
+
usdRate?: number;
|
|
86404
|
+
companyRate?: number;
|
|
86404
86405
|
customer: number;
|
|
86405
86406
|
unitOfMeasureId: number;
|
|
86406
86407
|
priceListId?: string;
|
|
@@ -86437,11 +86438,11 @@ export interface operations {
|
|
|
86437
86438
|
sales_views_get_sales_item_data: {
|
|
86438
86439
|
parameters: {
|
|
86439
86440
|
query: {
|
|
86440
|
-
usd_rate: number;
|
|
86441
|
-
company_rate: number;
|
|
86442
86441
|
customer_id: number;
|
|
86443
86442
|
unit_of_measure_id: number;
|
|
86444
86443
|
price_list_id?: string;
|
|
86444
|
+
usdRate?: number;
|
|
86445
|
+
companyRate?: number;
|
|
86445
86446
|
item_package_id?: string;
|
|
86446
86447
|
/** @description Subtotal of the item after discount */
|
|
86447
86448
|
subtotal: number;
|