@erp-galoper/types 1.0.324 → 1.0.326

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.
Files changed (2) hide show
  1. package/openapi.ts +12 -8
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26670,7 +26670,7 @@ export interface components {
26670
26670
  /**
26671
26671
  * Id
26672
26672
  * Format: uuid
26673
- * @example aa203e7a-3375-4643-bb45-721dc66b8f56
26673
+ * @example a3208d91-e220-4b64-bc7f-6a5742d0fa6c
26674
26674
  */
26675
26675
  id: string;
26676
26676
  /**
@@ -34509,7 +34509,7 @@ export interface components {
34509
34509
  * AppliesOnSchema
34510
34510
  * @enum {string}
34511
34511
  */
34512
- AppliesOnSchema: "item" | "category";
34512
+ AppliesOnSchema: "items" | "categories";
34513
34513
  /**
34514
34514
  * AppliesToSchema
34515
34515
  * @enum {string}
@@ -34720,7 +34720,9 @@ export interface components {
34720
34720
  * @default []
34721
34721
  */
34722
34722
  attachments: string[];
34723
- /** @description visible for all promotion types except [order_value], required for all promotion types except [fixed_amount] */
34723
+ /** @description
34724
+ * - visible for all promotion types except orderValue and fixedAmount
34725
+ * */
34724
34726
  appliesOn?: components["schemas"]["AppliesOnSchema"];
34725
34727
  appliesTo: components["schemas"]["AppliesToSchema"];
34726
34728
  /**
@@ -34771,7 +34773,7 @@ export interface components {
34771
34773
  discountValue?: number;
34772
34774
  /**
34773
34775
  * Item
34774
- * @description visible when promotion type in [percentage, volumeBased, buyOneGetOne],
34776
+ * @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = item,
34775
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,
34776
34778
  * - if price list is off :
34777
34779
  * - to get items : api/v1/inventory/items/ where isActive is true and type not equal to template
@@ -34791,7 +34793,7 @@ export interface components {
34791
34793
  unitPackage?: number;
34792
34794
  /**
34793
34795
  * Itemcategory
34794
- * @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/
34795
34797
  */
34796
34798
  itemCategory?: number;
34797
34799
  /**
@@ -34921,7 +34923,7 @@ export interface components {
34921
34923
  discountValue?: number;
34922
34924
  /**
34923
34925
  * Item
34924
- * @description visible when promotion type in [percentage, volumeBased, buyOneGetOne],
34926
+ * @description visible when promotion type in [percentage, volumeBased, buyOneGetOne, timeSensitiveOffers, promotionalCodes] and appliesOn = item,
34925
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,
34926
34928
  * - if price list is off :
34927
34929
  * - to get items : api/v1/inventory/items/ where isActive is true and type not equal to template
@@ -34941,7 +34943,7 @@ export interface components {
34941
34943
  unitPackage?: number;
34942
34944
  /**
34943
34945
  * Itemcategory
34944
- * @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/
34945
34947
  */
34946
34948
  itemCategory?: number;
34947
34949
  /**
@@ -35009,7 +35011,9 @@ export interface components {
35009
35011
  * @default []
35010
35012
  */
35011
35013
  attachments: string[];
35012
- /** @description visible for all promotion types except [order_value], required for all promotion types except [fixed_amount] */
35014
+ /** @description
35015
+ * - visible for all promotion types except orderValue and fixedAmount
35016
+ * */
35013
35017
  appliesOn?: components["schemas"]["AppliesOnSchema"];
35014
35018
  appliesTo: components["schemas"]["AppliesToSchema"];
35015
35019
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.324",
3
+ "version": "1.0.326",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],