@erp-galoper/types 1.0.1193 → 1.0.1195
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 +72 -28
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -22161,7 +22161,7 @@ export interface components {
|
|
|
22161
22161
|
* BasePermissionsSchema_Supplier_SupplierEnum
|
|
22162
22162
|
* @enum {string}
|
|
22163
22163
|
*/
|
|
22164
|
-
BasePermissionsSchema_Supplier_SupplierEnum: "add" | "change" | "
|
|
22164
|
+
BasePermissionsSchema_Supplier_SupplierEnum: "add" | "change" | "import" | "view";
|
|
22165
22165
|
/** BasePermissionsSchema_Task */
|
|
22166
22166
|
BasePermissionsSchema_Task: {
|
|
22167
22167
|
/**
|
|
@@ -43389,15 +43389,29 @@ export interface components {
|
|
|
43389
43389
|
* Unitprice
|
|
43390
43390
|
* @description - This field is a number.
|
|
43391
43391
|
* - Should be greater than zero.
|
|
43392
|
-
* -
|
|
43393
|
-
* -
|
|
43394
|
-
* -
|
|
43395
|
-
* - companyRate
|
|
43396
|
-
* -
|
|
43397
|
-
*
|
|
43398
|
-
*
|
|
43399
|
-
*
|
|
43400
|
-
*
|
|
43392
|
+
* - if price list is on get price using route /api/v1/inventory/items/ with required query params:
|
|
43393
|
+
* - priceListIds = selected price-list-id
|
|
43394
|
+
* - type = sales
|
|
43395
|
+
* - companyRate if customer currency is different than company currency, rate is taken from document itself
|
|
43396
|
+
* - secondaryCurrency if customer currency is different than secondary currency, rate is taken from document itself
|
|
43397
|
+
* and access unitOfMeasure field to get min price and max price
|
|
43398
|
+
*
|
|
43399
|
+
* - if price list off get price using route /api/v1/inventory/items/
|
|
43400
|
+
* • Apply currency rules based on defaultSellingPriceCurrency and the customer's currency:
|
|
43401
|
+
*
|
|
43402
|
+
* 1) if defaultSellingPriceCurrency is equals to customer currency get price from field defaultSellingPrice
|
|
43403
|
+
*
|
|
43404
|
+
* 2) if customer currency equals company currency price is defaultSellingPrice / secondaryRate
|
|
43405
|
+
*
|
|
43406
|
+
* 3) if customer currency equals to secondary currency price is defaultSellingPrice / companyRate
|
|
43407
|
+
*
|
|
43408
|
+
* 4) if customer currency is foreign(e.g., EUR) price is:
|
|
43409
|
+
* - if defaultSellingPriceCurrency is equals company currency defaultSellingPrice / companyRate
|
|
43410
|
+
* - if defaultSellingPriceCurrency is equals secondary currency defaultSellingPrice / secondaryRate
|
|
43411
|
+
*
|
|
43412
|
+
* this logic is applied to item and item package
|
|
43413
|
+
*
|
|
43414
|
+
* - when price list is on user is allowed to change price if have permission, permissionKey : price : [ change ]
|
|
43401
43415
|
*/
|
|
43402
43416
|
unitPrice: string;
|
|
43403
43417
|
/**
|
|
@@ -45565,15 +45579,30 @@ export interface components {
|
|
|
45565
45579
|
/**
|
|
45566
45580
|
* Unitprice
|
|
45567
45581
|
* @description - This field is a number.
|
|
45568
|
-
*
|
|
45569
|
-
* -
|
|
45570
|
-
*
|
|
45571
|
-
*
|
|
45572
|
-
*
|
|
45573
|
-
*
|
|
45574
|
-
*
|
|
45575
|
-
*
|
|
45576
|
-
*
|
|
45582
|
+
* - Should be greater than zero.
|
|
45583
|
+
* - if price list is on get price using route /api/v1/inventory/items/ with required query params:
|
|
45584
|
+
* - priceListIds = selected price-list-id
|
|
45585
|
+
* - type = sales
|
|
45586
|
+
* - companyRate if customer currency is different than company currency, rate is taken from document itself
|
|
45587
|
+
* - secondaryCurrency if customer currency is different than secondary currency, rate is taken from document itself
|
|
45588
|
+
* and access unitOfMeasure field to get min price and max price
|
|
45589
|
+
*
|
|
45590
|
+
* - if price list off get price using route /api/v1/inventory/items/
|
|
45591
|
+
* • Apply currency rules based on defaultSellingPriceCurrency and the customer's currency:
|
|
45592
|
+
*
|
|
45593
|
+
* 1) if defaultSellingPriceCurrency is equals to customer currency get price from field defaultSellingPrice
|
|
45594
|
+
*
|
|
45595
|
+
* 2) if customer currency equals company currency price is defaultSellingPrice / secondaryRate
|
|
45596
|
+
*
|
|
45597
|
+
* 3) if customer currency equals to secondary currency price is defaultSellingPrice / companyRate
|
|
45598
|
+
*
|
|
45599
|
+
* 4) if customer currency is foreign(e.g., EUR) price is:
|
|
45600
|
+
* - if defaultSellingPriceCurrency is equals company currency defaultSellingPrice / companyRate
|
|
45601
|
+
* - if defaultSellingPriceCurrency is equals secondary currency defaultSellingPrice / secondaryRate
|
|
45602
|
+
*
|
|
45603
|
+
* this logic is applied to item and item package
|
|
45604
|
+
*
|
|
45605
|
+
* - when price list is on user is allowed to change price if have permission, permissionKey : price : [ change ]
|
|
45577
45606
|
*/
|
|
45578
45607
|
unitPrice: number;
|
|
45579
45608
|
/**
|
|
@@ -47187,15 +47216,30 @@ export interface components {
|
|
|
47187
47216
|
/**
|
|
47188
47217
|
* Unitprice
|
|
47189
47218
|
* @description - This field is a number.
|
|
47190
|
-
*
|
|
47191
|
-
* -
|
|
47192
|
-
*
|
|
47193
|
-
*
|
|
47194
|
-
*
|
|
47195
|
-
*
|
|
47196
|
-
*
|
|
47197
|
-
*
|
|
47198
|
-
*
|
|
47219
|
+
* - Should be greater than zero.
|
|
47220
|
+
* - if price list is on get price using route /api/v1/inventory/items/ with required query params:
|
|
47221
|
+
* - priceListIds = selected price-list-id
|
|
47222
|
+
* - type = sales
|
|
47223
|
+
* - companyRate if customer currency is different than company currency, rate is taken from document itself
|
|
47224
|
+
* - secondaryCurrency if customer currency is different than secondary currency, rate is taken from document itself
|
|
47225
|
+
* and access unitOfMeasure field to get min price and max price
|
|
47226
|
+
*
|
|
47227
|
+
* - if price list off get price using route /api/v1/inventory/items/
|
|
47228
|
+
* • Apply currency rules based on defaultSellingPriceCurrency and the customer's currency:
|
|
47229
|
+
*
|
|
47230
|
+
* 1) if defaultSellingPriceCurrency is equals to customer currency get price from field defaultSellingPrice
|
|
47231
|
+
*
|
|
47232
|
+
* 2) if customer currency equals company currency price is defaultSellingPrice / secondaryRate
|
|
47233
|
+
*
|
|
47234
|
+
* 3) if customer currency equals to secondary currency price is defaultSellingPrice / companyRate
|
|
47235
|
+
*
|
|
47236
|
+
* 4) if customer currency is foreign(e.g., EUR) price is:
|
|
47237
|
+
* - if defaultSellingPriceCurrency is equals company currency defaultSellingPrice / companyRate
|
|
47238
|
+
* - if defaultSellingPriceCurrency is equals secondary currency defaultSellingPrice / secondaryRate
|
|
47239
|
+
*
|
|
47240
|
+
* this logic is applied to item and item package
|
|
47241
|
+
*
|
|
47242
|
+
* - when price list is on user is allowed to change price if have permission, permissionKey : price : [ change ]
|
|
47199
47243
|
*/
|
|
47200
47244
|
unitPrice: number;
|
|
47201
47245
|
/**
|