@erp-galoper/types 1.0.981 → 1.0.982
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 +18 -9
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -38839,7 +38839,10 @@ export interface components {
|
|
|
38839
38839
|
TargetPeriod: "weekly" | "monthly" | "quarterly" | "biAnnual" | "annual";
|
|
38840
38840
|
/** CreateCommissionLevels */
|
|
38841
38841
|
CreateCommissionLevels: {
|
|
38842
|
-
/**
|
|
38842
|
+
/**
|
|
38843
|
+
* Commissionvalue
|
|
38844
|
+
* @description if commissionValueType is percentage, commissionValue should be greater than zero and less than or equal 100
|
|
38845
|
+
*/
|
|
38843
38846
|
commissionValue: number;
|
|
38844
38847
|
commissionValueType: components["schemas"]["CommissionValueTypes"];
|
|
38845
38848
|
/**
|
|
@@ -38858,7 +38861,8 @@ export interface components {
|
|
|
38858
38861
|
* Products
|
|
38859
38862
|
* @description
|
|
38860
38863
|
* - visible when structure is productBased
|
|
38861
|
-
* to get products use route /api/v1/inventory/items/ and filter by active=true
|
|
38864
|
+
* - to get products use route /api/v1/inventory/items/ and filter by active=true
|
|
38865
|
+
* - product should be unique across commission levels
|
|
38862
38866
|
*
|
|
38863
38867
|
* @default []
|
|
38864
38868
|
*/
|
|
@@ -38866,9 +38870,11 @@ export interface components {
|
|
|
38866
38870
|
/**
|
|
38867
38871
|
* Categories
|
|
38868
38872
|
* @description
|
|
38869
|
-
*
|
|
38870
|
-
*
|
|
38871
|
-
*
|
|
38873
|
+
* - visible when structure is category or productBased or tiered
|
|
38874
|
+
* - required when structure is category
|
|
38875
|
+
* - to get categories use route /api/v1/inventory/categories?type=item'
|
|
38876
|
+
* - category should be unique across commission levels
|
|
38877
|
+
*
|
|
38872
38878
|
* @default []
|
|
38873
38879
|
*/
|
|
38874
38880
|
categories: number[];
|
|
@@ -38946,7 +38952,7 @@ export interface components {
|
|
|
38946
38952
|
endDate?: string;
|
|
38947
38953
|
/**
|
|
38948
38954
|
* Commissionlevels
|
|
38949
|
-
* @description when structure is paymentBased, only one commission level is allowed
|
|
38955
|
+
* @description when structure is paymentBased or fixed, only one commission level is allowed
|
|
38950
38956
|
*/
|
|
38951
38957
|
commissionLevels?: components["schemas"]["CreateCommissionLevels"][];
|
|
38952
38958
|
};
|
|
@@ -39028,7 +39034,8 @@ export interface components {
|
|
|
39028
39034
|
* Products
|
|
39029
39035
|
* @description
|
|
39030
39036
|
* - visible when structure is productBased
|
|
39031
|
-
* to get products use route /api/v1/inventory/items/ and filter by active=true
|
|
39037
|
+
* - to get products use route /api/v1/inventory/items/ and filter by active=true
|
|
39038
|
+
* - product should be unique across commission levels
|
|
39032
39039
|
*
|
|
39033
39040
|
* @default []
|
|
39034
39041
|
*/
|
|
@@ -39038,7 +39045,9 @@ export interface components {
|
|
|
39038
39045
|
* @description
|
|
39039
39046
|
* - visible when structure is category or productBased or tiered
|
|
39040
39047
|
* - required when structure is category
|
|
39041
|
-
* to get categories use route /api/v1/inventory/categories
|
|
39048
|
+
* - to get categories use route /api/v1/inventory/categories?type=item
|
|
39049
|
+
* - category should be unique across commission levels
|
|
39050
|
+
*
|
|
39042
39051
|
* @default []
|
|
39043
39052
|
*/
|
|
39044
39053
|
categories: number[];
|
|
@@ -39108,7 +39117,7 @@ export interface components {
|
|
|
39108
39117
|
endDate?: string;
|
|
39109
39118
|
/**
|
|
39110
39119
|
* Commissionlevels
|
|
39111
|
-
* @description when structure is paymentBased, only one commission level is allowed
|
|
39120
|
+
* @description when structure is paymentBased or fixed, only one commission level is allowed
|
|
39112
39121
|
*/
|
|
39113
39122
|
commissionLevels?: components["schemas"]["UpdateCommissionLevels"][];
|
|
39114
39123
|
};
|