@erp-galoper/types 1.0.323 → 1.0.325
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 +13 -8
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -1134,6 +1134,7 @@ export interface paths {
|
|
|
1134
1134
|
* - permissionDenied
|
|
1135
1135
|
* -400:
|
|
1136
1136
|
* - galoperSettingsDoesNotExist
|
|
1137
|
+
* - userDoesNotExist
|
|
1137
1138
|
*/
|
|
1138
1139
|
get: operations["company_views_company_setup_steps"];
|
|
1139
1140
|
put?: never;
|
|
@@ -26669,7 +26670,7 @@ export interface components {
|
|
|
26669
26670
|
/**
|
|
26670
26671
|
* Id
|
|
26671
26672
|
* Format: uuid
|
|
26672
|
-
* @example
|
|
26673
|
+
* @example f09ac34d-29f7-468f-b19c-8b26238b2f8a
|
|
26673
26674
|
*/
|
|
26674
26675
|
id: string;
|
|
26675
26676
|
/**
|
|
@@ -34508,7 +34509,7 @@ export interface components {
|
|
|
34508
34509
|
* AppliesOnSchema
|
|
34509
34510
|
* @enum {string}
|
|
34510
34511
|
*/
|
|
34511
|
-
AppliesOnSchema: "
|
|
34512
|
+
AppliesOnSchema: "items" | "categories";
|
|
34512
34513
|
/**
|
|
34513
34514
|
* AppliesToSchema
|
|
34514
34515
|
* @enum {string}
|
|
@@ -34719,7 +34720,9 @@ export interface components {
|
|
|
34719
34720
|
* @default []
|
|
34720
34721
|
*/
|
|
34721
34722
|
attachments: string[];
|
|
34722
|
-
/** @description
|
|
34723
|
+
/** @description
|
|
34724
|
+
* - visible for all promotion types except orderValue and fixedAmount
|
|
34725
|
+
* */
|
|
34723
34726
|
appliesOn?: components["schemas"]["AppliesOnSchema"];
|
|
34724
34727
|
appliesTo: components["schemas"]["AppliesToSchema"];
|
|
34725
34728
|
/**
|
|
@@ -34770,7 +34773,7 @@ export interface components {
|
|
|
34770
34773
|
discountValue?: number;
|
|
34771
34774
|
/**
|
|
34772
34775
|
* Item
|
|
34773
|
-
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne],
|
|
34776
|
+
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = item,
|
|
34774
34777
|
* - use use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
|
|
34775
34778
|
* - if price list is off :
|
|
34776
34779
|
* - to get items : api/v1/inventory/items/ where isActive is true and type not equal to template
|
|
@@ -34790,7 +34793,7 @@ export interface components {
|
|
|
34790
34793
|
unitPackage?: number;
|
|
34791
34794
|
/**
|
|
34792
34795
|
* Itemcategory
|
|
34793
|
-
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne], use route api/v1/inventory/categories/
|
|
34796
|
+
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = category, use route api/v1/inventory/categories/
|
|
34794
34797
|
*/
|
|
34795
34798
|
itemCategory?: number;
|
|
34796
34799
|
/**
|
|
@@ -34920,7 +34923,7 @@ export interface components {
|
|
|
34920
34923
|
discountValue?: number;
|
|
34921
34924
|
/**
|
|
34922
34925
|
* Item
|
|
34923
|
-
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne],
|
|
34926
|
+
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = item,
|
|
34924
34927
|
* - use use route /settings/sales-settings/ to check if price list is on get items from route api/v1/inventory/price-list/{id}/ where id is selected price list,
|
|
34925
34928
|
* - if price list is off :
|
|
34926
34929
|
* - to get items : api/v1/inventory/items/ where isActive is true and type not equal to template
|
|
@@ -34940,7 +34943,7 @@ export interface components {
|
|
|
34940
34943
|
unitPackage?: number;
|
|
34941
34944
|
/**
|
|
34942
34945
|
* Itemcategory
|
|
34943
|
-
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne], use route api/v1/inventory/categories/
|
|
34946
|
+
* @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = category, use route api/v1/inventory/categories/
|
|
34944
34947
|
*/
|
|
34945
34948
|
itemCategory?: number;
|
|
34946
34949
|
/**
|
|
@@ -35008,7 +35011,9 @@ export interface components {
|
|
|
35008
35011
|
* @default []
|
|
35009
35012
|
*/
|
|
35010
35013
|
attachments: string[];
|
|
35011
|
-
/** @description
|
|
35014
|
+
/** @description
|
|
35015
|
+
* - visible for all promotion types except orderValue and fixedAmount
|
|
35016
|
+
* */
|
|
35012
35017
|
appliesOn?: components["schemas"]["AppliesOnSchema"];
|
|
35013
35018
|
appliesTo: components["schemas"]["AppliesToSchema"];
|
|
35014
35019
|
/**
|