@erp-galoper/types 1.0.267 → 1.0.269

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 +17 -3
  2. package/package.json +1 -1
package/openapi.ts CHANGED
@@ -26644,7 +26644,7 @@ export interface components {
26644
26644
  /**
26645
26645
  * Id
26646
26646
  * Format: uuid
26647
- * @example 3096d133-632e-43d7-8a8d-91186b1389ef
26647
+ * @example 8460353d-bf0f-4ceb-bafe-b867f5e8805f
26648
26648
  */
26649
26649
  id: string;
26650
26650
  /**
@@ -36202,7 +36202,7 @@ export interface components {
36202
36202
  salesVolumeValue?: number;
36203
36203
  /**
36204
36204
  * Currency
36205
- * @description currency id, visible when structure = tiered, required when salesVolumeValue exist
36205
+ * @description currency id, visible when structure = tiered, required when salesTierType exist
36206
36206
  */
36207
36207
  currency?: number;
36208
36208
  /** @description visible when structure = tiered */
@@ -36277,6 +36277,13 @@ export interface components {
36277
36277
  */
36278
36278
  attachments: string[];
36279
36279
  calculation: components["schemas"]["CommissionCalculation"];
36280
+ /** @description
36281
+ * In all structures user should specify commission value and commission value type
36282
+ * - if structure is productBased user can select item(s) or categories
36283
+ * - if structure is tiered user can select categories or salesTierType -> salesVolumeValue -> currency
36284
+ * - if structure is paymentMethod user should select paymentMethod
36285
+ * - if structure is category use should select category
36286
+ * */
36280
36287
  structure: components["schemas"]["CommissionStructureEnum"];
36281
36288
  /**
36282
36289
  * Startdate
@@ -36360,7 +36367,7 @@ export interface components {
36360
36367
  salesVolumeValue?: number;
36361
36368
  /**
36362
36369
  * Currency
36363
- * @description currency id, visible when structure = tiered, required when salesVolumeValue exist
36370
+ * @description currency id, visible when structure = tiered, required when salesTierType exist
36364
36371
  */
36365
36372
  currency?: number;
36366
36373
  /** @description visible when structure = tiered */
@@ -36427,6 +36434,13 @@ export interface components {
36427
36434
  */
36428
36435
  attachments: string[];
36429
36436
  calculation: components["schemas"]["CommissionCalculation"];
36437
+ /** @description
36438
+ * In all structures user should specify comiision value and commission value type
36439
+ * - if structure is productBased user can select item(s) or categories
36440
+ * - if structure is tiered user can select categories or salesTierType -> salesVolumeValue -> currency
36441
+ * - if structure is paymentMethod user should select paymentMethod
36442
+ * - if structure is category use should select category
36443
+ * */
36430
36444
  structure: components["schemas"]["CommissionStructureEnum"];
36431
36445
  /**
36432
36446
  * Startdate
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@erp-galoper/types",
3
- "version": "1.0.267",
3
+ "version": "1.0.269",
4
4
  "main": "openapi.ts",
5
5
  "types": "openapi.ts",
6
6
  "files": ["openapi.ts"],