@erp-galoper/types 1.0.1192 → 1.0.1194
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 +75 -29
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -23595,8 +23595,10 @@ export interface components {
|
|
|
23595
23595
|
* Format: uuid
|
|
23596
23596
|
*/
|
|
23597
23597
|
priceListId: string;
|
|
23598
|
-
/**
|
|
23599
|
-
|
|
23598
|
+
/** Minprice */
|
|
23599
|
+
minPrice: string | null;
|
|
23600
|
+
/** Maxprice */
|
|
23601
|
+
maxPrice: string | null;
|
|
23600
23602
|
};
|
|
23601
23603
|
/** QuantityGroupSchema */
|
|
23602
23604
|
QuantityGroupSchema: {
|
|
@@ -43387,15 +43389,29 @@ export interface components {
|
|
|
43387
43389
|
* Unitprice
|
|
43388
43390
|
* @description - This field is a number.
|
|
43389
43391
|
* - Should be greater than zero.
|
|
43390
|
-
* -
|
|
43391
|
-
* -
|
|
43392
|
-
* -
|
|
43393
|
-
* - companyRate
|
|
43394
|
-
* -
|
|
43395
|
-
*
|
|
43396
|
-
*
|
|
43397
|
-
*
|
|
43398
|
-
*
|
|
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 ]
|
|
43399
43415
|
*/
|
|
43400
43416
|
unitPrice: string;
|
|
43401
43417
|
/**
|
|
@@ -45563,15 +45579,30 @@ export interface components {
|
|
|
45563
45579
|
/**
|
|
45564
45580
|
* Unitprice
|
|
45565
45581
|
* @description - This field is a number.
|
|
45566
|
-
*
|
|
45567
|
-
* -
|
|
45568
|
-
*
|
|
45569
|
-
*
|
|
45570
|
-
*
|
|
45571
|
-
*
|
|
45572
|
-
*
|
|
45573
|
-
*
|
|
45574
|
-
*
|
|
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 ]
|
|
45575
45606
|
*/
|
|
45576
45607
|
unitPrice: number;
|
|
45577
45608
|
/**
|
|
@@ -47185,15 +47216,30 @@ export interface components {
|
|
|
47185
47216
|
/**
|
|
47186
47217
|
* Unitprice
|
|
47187
47218
|
* @description - This field is a number.
|
|
47188
|
-
*
|
|
47189
|
-
* -
|
|
47190
|
-
*
|
|
47191
|
-
*
|
|
47192
|
-
*
|
|
47193
|
-
*
|
|
47194
|
-
*
|
|
47195
|
-
*
|
|
47196
|
-
*
|
|
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 ]
|
|
47197
47243
|
*/
|
|
47198
47244
|
unitPrice: number;
|
|
47199
47245
|
/**
|