@erp-galoper/types 1.0.1810 → 1.0.1811
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 +17 -14
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -13130,11 +13130,12 @@ export interface paths {
|
|
|
13130
13130
|
* ### Responses:
|
|
13131
13131
|
* - **200**: PurchaseHistoryPriceList
|
|
13132
13132
|
* - **403**: permissionDenied, noModuleAccess.
|
|
13133
|
-
* - **400**: purchaseSettingsDoesNotExist
|
|
13133
|
+
* - **400**: purchaseSettingsDoesNotExist
|
|
13134
13134
|
* - **500**: internalServerError.
|
|
13135
13135
|
*
|
|
13136
|
-
* ###
|
|
13137
|
-
* -
|
|
13136
|
+
* ### Parameters:
|
|
13137
|
+
* - `companyRate` (optional): if provided, cost is returned in the secondary currency
|
|
13138
|
+
* using this rate for conversion. If omitted, cost is returned in the primary (company) currency.
|
|
13138
13139
|
*/
|
|
13139
13140
|
get: operations["purchase_history_price_views_get_purchase_history_price_by_item_id"];
|
|
13140
13141
|
put?: never;
|
|
@@ -45969,12 +45970,19 @@ export interface components {
|
|
|
45969
45970
|
quantity: number;
|
|
45970
45971
|
/** Total */
|
|
45971
45972
|
total: number;
|
|
45973
|
+
/** Primarytotal */
|
|
45974
|
+
primaryTotal: number;
|
|
45975
|
+
/** Secondarytotal */
|
|
45976
|
+
secondaryTotal: number;
|
|
45972
45977
|
supplier: components["schemas"]["SupplierSharedSchema"];
|
|
45973
45978
|
};
|
|
45974
45979
|
/** PurchaseHistoryPriceList */
|
|
45975
45980
|
PurchaseHistoryPriceList: {
|
|
45976
45981
|
item: components["schemas"]["PurchaseItemHistoryPrice"];
|
|
45977
|
-
/**
|
|
45982
|
+
/**
|
|
45983
|
+
* History
|
|
45984
|
+
* @default []
|
|
45985
|
+
*/
|
|
45978
45986
|
history: components["schemas"]["History"][];
|
|
45979
45987
|
};
|
|
45980
45988
|
/** PurchaseInvoiceSchema */
|
|
@@ -46003,7 +46011,10 @@ export interface components {
|
|
|
46003
46011
|
barcodes: components["schemas"]["RetrieveBarcodeSchema"][];
|
|
46004
46012
|
/** Coststrategy */
|
|
46005
46013
|
costStrategy: string;
|
|
46006
|
-
/**
|
|
46014
|
+
/**
|
|
46015
|
+
* Cost
|
|
46016
|
+
* @description Item cost. Defaults to primary (company) currency. To receive cost in secondary currency, pass `companyRate`.
|
|
46017
|
+
*/
|
|
46007
46018
|
cost: number;
|
|
46008
46019
|
};
|
|
46009
46020
|
/** RelatedPartyInfo */
|
|
@@ -88789,6 +88800,7 @@ export interface operations {
|
|
|
88789
88800
|
query: {
|
|
88790
88801
|
unitOfMeasure: string;
|
|
88791
88802
|
itemPackage?: string;
|
|
88803
|
+
companyRate?: number;
|
|
88792
88804
|
};
|
|
88793
88805
|
header?: never;
|
|
88794
88806
|
path: {
|
|
@@ -88825,15 +88837,6 @@ export interface operations {
|
|
|
88825
88837
|
"application/json": components["schemas"]["MessageResponse"];
|
|
88826
88838
|
};
|
|
88827
88839
|
};
|
|
88828
|
-
/** @description Not Found */
|
|
88829
|
-
404: {
|
|
88830
|
-
headers: {
|
|
88831
|
-
[name: string]: unknown;
|
|
88832
|
-
};
|
|
88833
|
-
content: {
|
|
88834
|
-
"application/json": components["schemas"]["MessageResponse"];
|
|
88835
|
-
};
|
|
88836
|
-
};
|
|
88837
88840
|
/** @description Internal Server Error */
|
|
88838
88841
|
500: {
|
|
88839
88842
|
headers: {
|