@erp-galoper/types 1.0.920 → 1.0.922
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 +38 -4
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -37338,13 +37338,21 @@ export interface components {
|
|
|
37338
37338
|
OfferedItemCreateSchema: {
|
|
37339
37339
|
/**
|
|
37340
37340
|
* Item
|
|
37341
|
-
* @description
|
|
37341
|
+
* @description
|
|
37342
|
+
* - item id
|
|
37343
|
+
* - to get items : /api/v1/inventory/items/?active=true&role!=template&allowSales=true
|
|
37344
|
+
* - item should not be duplicated with quantity in the list of offered items in the same offer and promotion
|
|
37345
|
+
*
|
|
37342
37346
|
*/
|
|
37343
37347
|
item?: number;
|
|
37344
37348
|
/**
|
|
37345
37349
|
* Itempackage
|
|
37346
37350
|
* Format: uuid
|
|
37347
|
-
* @description
|
|
37351
|
+
* @description
|
|
37352
|
+
* - item package id
|
|
37353
|
+
* - to get item package : /api/v1/inventory/items/?active=true&role!=template&allowSales=true, field is item_packages"
|
|
37354
|
+
* - item package should not be duplicated with quantity in the list of offered items in the same offer and promotion
|
|
37355
|
+
*
|
|
37348
37356
|
*/
|
|
37349
37357
|
itemPackage?: string;
|
|
37350
37358
|
/** Discount */
|
|
@@ -37643,13 +37651,21 @@ export interface components {
|
|
|
37643
37651
|
OfferedItemUpdateSchema: {
|
|
37644
37652
|
/**
|
|
37645
37653
|
* Item
|
|
37646
|
-
* @description
|
|
37654
|
+
* @description
|
|
37655
|
+
* - item id
|
|
37656
|
+
* - to get items : /api/v1/inventory/items/?active=true&role!=template&allowSales=true
|
|
37657
|
+
* - item should not be duplicated with quantity in the list of offered items in the same offer and promotion
|
|
37658
|
+
*
|
|
37647
37659
|
*/
|
|
37648
37660
|
item?: number;
|
|
37649
37661
|
/**
|
|
37650
37662
|
* Itempackage
|
|
37651
37663
|
* Format: uuid
|
|
37652
|
-
* @description
|
|
37664
|
+
* @description
|
|
37665
|
+
* - item package id
|
|
37666
|
+
* - to get item package : /api/v1/inventory/items/?active=true&role!=template&allowSales=true, field is item_packages"
|
|
37667
|
+
* - item package should not be duplicated with quantity in the list of offered items in the same offer and promotion
|
|
37668
|
+
*
|
|
37653
37669
|
*/
|
|
37654
37670
|
itemPackage?: string;
|
|
37655
37671
|
/** Discount */
|
|
@@ -40516,6 +40532,12 @@ export interface components {
|
|
|
40516
40532
|
* | appliesOn equals to "all_items"
|
|
40517
40533
|
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
40518
40534
|
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
40535
|
+
* Notes:
|
|
40536
|
+
* - For a Buy One Get One offer:
|
|
40537
|
+
* - If the offered items operator is allItemsAreSelected, the system should retrieve all offered items along with their respective discounts and quantities and for unit price same as description provided in the field itself.
|
|
40538
|
+
* - If the offered items operator is oneItemIsSelected, the user should select a single offered item, which will then be retrieved with its respective discount and quantity and for unit price same as description provided in the field itself.
|
|
40539
|
+
* - The offer must be applied to the offered items, not to the item that triggers the offer.
|
|
40540
|
+
* - All input fields for the offered item(s) should be disabled.
|
|
40519
40541
|
*
|
|
40520
40542
|
* @default []
|
|
40521
40543
|
*/
|
|
@@ -42749,6 +42771,12 @@ export interface components {
|
|
|
42749
42771
|
* | appliesOn equals to "all_items"
|
|
42750
42772
|
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
42751
42773
|
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
42774
|
+
* Notes:
|
|
42775
|
+
* - For a Buy One Get One offer:
|
|
42776
|
+
* - If the offered items operator is allItemsAreSelected, the system should retrieve all offered items along with their respective discounts and quantities and for unit price same as description provided in the field itself.
|
|
42777
|
+
* - If the offered items operator is oneItemIsSelected, the user should select a single offered item, which will then be retrieved with its respective discount and quantity and for unit price same as description provided in the field itself.
|
|
42778
|
+
* - The offer must be applied to the offered items, not to the item that triggers the offer.
|
|
42779
|
+
* - All input fields for the offered item(s) should be disabled.
|
|
42752
42780
|
*
|
|
42753
42781
|
* @default []
|
|
42754
42782
|
*/
|
|
@@ -44426,6 +44454,12 @@ export interface components {
|
|
|
44426
44454
|
* | appliesOn equals to "all_items"
|
|
44427
44455
|
* | appliesOn equals to "specific_items" and ( items.item equals to {item id} or items.itemPackage equals to {item package id} ) or
|
|
44428
44456
|
* (items.brand equals to {item brand id} or items.category equals to {item category id} or items.tag in item tags)
|
|
44457
|
+
* Notes:
|
|
44458
|
+
* - For a Buy One Get One offer:
|
|
44459
|
+
* - If the offered items operator is allItemsAreSelected, the system should retrieve all offered items along with their respective discounts and quantities and for unit price same as description provided in the field itself.
|
|
44460
|
+
* - If the offered items operator is oneItemIsSelected, the user should select a single offered item, which will then be retrieved with its respective discount and quantity and for unit price same as description provided in the field itself.
|
|
44461
|
+
* - The offer must be applied to the offered items, not to the item that triggers the offer.
|
|
44462
|
+
* - All input fields for the offered item(s) should be disabled.
|
|
44429
44463
|
*
|
|
44430
44464
|
* @default []
|
|
44431
44465
|
*/
|