@erp-galoper/types 1.0.1377 → 1.0.1379
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 +14 -14
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -42937,10 +42937,10 @@ export interface components {
|
|
|
42937
42937
|
quantity: number | null;
|
|
42938
42938
|
/**
|
|
42939
42939
|
* Minordervalue
|
|
42940
|
-
* @description visible when promotion type in [
|
|
42940
|
+
* @description visible when promotion type in [percentageOrderDiscount, fixedOrderDiscount]
|
|
42941
42941
|
*/
|
|
42942
42942
|
minOrderValue: number | null;
|
|
42943
|
-
/** @description visible when promotion type in [
|
|
42943
|
+
/** @description visible when promotion type in [percentageOrderDiscount, fixedOrderDiscount] */
|
|
42944
42944
|
currency: components["schemas"]["CurrencySummaryInfo"] | null;
|
|
42945
42945
|
item: components["schemas"]["ItemSummaryInfo"] | null;
|
|
42946
42946
|
itemPackage: components["schemas"]["ItemPackageSharedSchema"] | null;
|
|
@@ -43070,7 +43070,7 @@ export interface components {
|
|
|
43070
43070
|
* PromotionTypes
|
|
43071
43071
|
* @enum {string}
|
|
43072
43072
|
*/
|
|
43073
|
-
PromotionTypes: "percentage" | "
|
|
43073
|
+
PromotionTypes: "percentage" | "fixedOrderDiscount" | "volumeBased" | "buyOneGetOne" | "bundleOffers" | "percentageOrderDiscount" | "timeSensitiveOffers" | "promotionalCodes";
|
|
43074
43074
|
/** OfferAndPromotionCreateSchema */
|
|
43075
43075
|
OfferAndPromotionCreateSchema: {
|
|
43076
43076
|
/** Name */
|
|
@@ -43105,7 +43105,7 @@ export interface components {
|
|
|
43105
43105
|
*/
|
|
43106
43106
|
attachments: string[];
|
|
43107
43107
|
/**
|
|
43108
|
-
* @description - visible for all promotion types except [
|
|
43108
|
+
* @description - visible for all promotion types except [percentageOrderDiscount, fixedOrderDiscount]
|
|
43109
43109
|
* - required for volumeBased, bundleOffers, BuyOneGetOne(should be set to specificItems and disabled)
|
|
43110
43110
|
* - required for percentage, timeSensitiveOffers, promotionalCodes(can be set to allItems or specificItems)
|
|
43111
43111
|
*/
|
|
@@ -43127,7 +43127,7 @@ export interface components {
|
|
|
43127
43127
|
customerGroups: string[];
|
|
43128
43128
|
/**
|
|
43129
43129
|
* @description - percentage: user should select appliesOn(Optional), discountValue
|
|
43130
|
-
* -
|
|
43130
|
+
* - percentageOrderDiscount, fixedOrderDiscount: user should select discountValue, minOrderValue, currency
|
|
43131
43131
|
* - volumeBased: appliesOn should be specific items(item or package) and user should select discountValue, quantity or unit package
|
|
43132
43132
|
* - buyOneGetOne: appliesOn should be specific items and user should select discountValue, offeredItemsOperator, offeredItems
|
|
43133
43133
|
* - bundleOffers: appliesOn should be specific items(item) and user should select discountValue, quantity
|
|
@@ -43162,7 +43162,7 @@ export interface components {
|
|
|
43162
43162
|
OfferAndPromotionItemCreateSchema: {
|
|
43163
43163
|
/**
|
|
43164
43164
|
* Discountvalue
|
|
43165
|
-
* @description required when promotion type in [percentage,
|
|
43165
|
+
* @description required when promotion type in [percentage, fixedOrderDiscount, volumeBased, percentageOrderDiscount, timeSensitiveOffers, promotionalCodes, bundleOffers]
|
|
43166
43166
|
*/
|
|
43167
43167
|
discountValue?: number;
|
|
43168
43168
|
/**
|
|
@@ -43221,13 +43221,13 @@ export interface components {
|
|
|
43221
43221
|
quantity?: number;
|
|
43222
43222
|
/**
|
|
43223
43223
|
* Minordervalue
|
|
43224
|
-
* @description visible and required when promotion type in [
|
|
43224
|
+
* @description visible and required when promotion type in [percentageOrderDiscount, fixedOrderDiscount]
|
|
43225
43225
|
*/
|
|
43226
43226
|
minOrderValue?: number;
|
|
43227
43227
|
/**
|
|
43228
43228
|
* Currency
|
|
43229
43229
|
* @description currency id,
|
|
43230
|
-
* visible and required when promotion type in [
|
|
43230
|
+
* visible and required when promotion type in [percentageOrderDiscount, fixed_amount],
|
|
43231
43231
|
* if multi currency on currency should be company currency or secondary currency if exist, otherwise(multicurrency off) should be company currency
|
|
43232
43232
|
*/
|
|
43233
43233
|
currency?: number;
|
|
@@ -43337,7 +43337,7 @@ export interface components {
|
|
|
43337
43337
|
OfferAndPromotionItemUpdateSchema: {
|
|
43338
43338
|
/**
|
|
43339
43339
|
* Discountvalue
|
|
43340
|
-
* @description required when promotion type in [percentage,
|
|
43340
|
+
* @description required when promotion type in [percentage, fixedOrderDiscount, volumeBased, percentageOrderDiscount, timeSensitiveOffers, promotionalCodes, bundleOffers]
|
|
43341
43341
|
*/
|
|
43342
43342
|
discountValue?: number;
|
|
43343
43343
|
/**
|
|
@@ -43396,13 +43396,13 @@ export interface components {
|
|
|
43396
43396
|
quantity?: number;
|
|
43397
43397
|
/**
|
|
43398
43398
|
* Minordervalue
|
|
43399
|
-
* @description visible and required when promotion type in [
|
|
43399
|
+
* @description visible and required when promotion type in [percentageOrderDiscount, fixedOrderDiscount]
|
|
43400
43400
|
*/
|
|
43401
43401
|
minOrderValue?: number;
|
|
43402
43402
|
/**
|
|
43403
43403
|
* Currency
|
|
43404
43404
|
* @description currency id,
|
|
43405
|
-
* visible and required when promotion type in [
|
|
43405
|
+
* visible and required when promotion type in [percentageOrderDiscount, fixed_amount],
|
|
43406
43406
|
* if multi currency on currency should be company currency or secondary currency if exist, otherwise(multicurrency off) should be company currency
|
|
43407
43407
|
*/
|
|
43408
43408
|
currency?: number;
|
|
@@ -43464,7 +43464,7 @@ export interface components {
|
|
|
43464
43464
|
*/
|
|
43465
43465
|
attachments: string[];
|
|
43466
43466
|
/**
|
|
43467
|
-
* @description - visible for all promotion types except [
|
|
43467
|
+
* @description - visible for all promotion types except [percentageOrderDiscount, fixedOrderDiscount]
|
|
43468
43468
|
* - required for volumeBased, bundleOffers, BuyOneGetOne(should be set to specificItems and disabled)
|
|
43469
43469
|
* - required for percentage, timeSensitiveOffers, promotionalCodes(can be set to allItems or specificItems)
|
|
43470
43470
|
* - If can delete is false, appliesOn should not be editable
|
|
@@ -43490,7 +43490,7 @@ export interface components {
|
|
|
43490
43490
|
customerGroups: string[];
|
|
43491
43491
|
/**
|
|
43492
43492
|
* @description - percentage: user should select appliesOn(Optional), discountValue
|
|
43493
|
-
* -
|
|
43493
|
+
* - percentageOrderDiscount, fixedOrderDiscount: user should select discountValue, minOrderValue, currency
|
|
43494
43494
|
* - volumeBased: appliesOn should be specific items(item or package) and user should select discountValue, quantity or unit package
|
|
43495
43495
|
* - buyOneGetOne: appliesOn should be specific items and user should select discountValue, offeredItemsOperator, offeredItems
|
|
43496
43496
|
* - bundleOffers: appliesOn should be specific items(item) and user should select discountValue, quantity
|
|
@@ -58058,7 +58058,7 @@ export interface operations {
|
|
|
58058
58058
|
[name: string]: unknown;
|
|
58059
58059
|
};
|
|
58060
58060
|
content: {
|
|
58061
|
-
"application/json": components["schemas"]["
|
|
58061
|
+
"application/json": components["schemas"]["ItemWithChildrenSchema"];
|
|
58062
58062
|
};
|
|
58063
58063
|
};
|
|
58064
58064
|
/** @description Bad Request */
|