@erp-galoper/types 1.0.221 → 1.0.222
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 +34 -9
- package/package.json +1 -1
package/openapi.ts
CHANGED
|
@@ -26504,7 +26504,7 @@ export interface components {
|
|
|
26504
26504
|
/**
|
|
26505
26505
|
* Id
|
|
26506
26506
|
* Format: uuid
|
|
26507
|
-
* @example
|
|
26507
|
+
* @example bc2613bf-e457-454b-89df-290047634b65
|
|
26508
26508
|
*/
|
|
26509
26509
|
id: string;
|
|
26510
26510
|
/**
|
|
@@ -36019,13 +36019,17 @@ export interface components {
|
|
|
36019
36019
|
/** Commissionvalue */
|
|
36020
36020
|
commissionValue: number;
|
|
36021
36021
|
commissionValueType: components["schemas"]["CommissionValueTypes"];
|
|
36022
|
-
/**
|
|
36022
|
+
/**
|
|
36023
|
+
* Salesvolumevalue
|
|
36024
|
+
* @description visible when structure = tiered, required when salesTierType exist
|
|
36025
|
+
*/
|
|
36023
36026
|
salesVolumeValue?: number;
|
|
36024
36027
|
/**
|
|
36025
36028
|
* Currency
|
|
36026
|
-
* @description currency id
|
|
36029
|
+
* @description currency id, visible when structure = tiered, required when salesVolumeValue exist
|
|
36027
36030
|
*/
|
|
36028
36031
|
currency?: number;
|
|
36032
|
+
/** @description visible when structure = tiered */
|
|
36029
36033
|
salesTierType?: components["schemas"]["SalesTierType"];
|
|
36030
36034
|
/**
|
|
36031
36035
|
* Products
|
|
@@ -36047,19 +36051,25 @@ export interface components {
|
|
|
36047
36051
|
categories: number[];
|
|
36048
36052
|
/**
|
|
36049
36053
|
* Customergroups
|
|
36050
|
-
* @description
|
|
36054
|
+
* @description
|
|
36055
|
+
* customers or customerGroups required , cannot both be empty
|
|
36056
|
+
* to get customer groups use route /api/v1/common/contact-segmentation/ and filter by type=customer
|
|
36057
|
+
*
|
|
36051
36058
|
* @default []
|
|
36052
36059
|
*/
|
|
36053
36060
|
customerGroups: string[];
|
|
36054
36061
|
/**
|
|
36055
36062
|
* Customers
|
|
36056
|
-
* @description
|
|
36063
|
+
* @description
|
|
36064
|
+
* customers or customerGroups required , cannot both be empty
|
|
36065
|
+
* to get customers use route /api/v1/customers/?type=children and filter by isActive=true
|
|
36066
|
+
*
|
|
36057
36067
|
* @default []
|
|
36058
36068
|
*/
|
|
36059
36069
|
customers: number[];
|
|
36060
36070
|
/**
|
|
36061
36071
|
* Paymentmethod
|
|
36062
|
-
* @description to get payment methods use route /api/v1/payment-methods/
|
|
36072
|
+
* @description visible and required when structure = paymentBased, to get payment methods use route /api/v1/payment-methods/
|
|
36063
36073
|
*/
|
|
36064
36074
|
paymentMethod?: number;
|
|
36065
36075
|
/** Target */
|
|
@@ -36167,13 +36177,17 @@ export interface components {
|
|
|
36167
36177
|
/** Commissionvalue */
|
|
36168
36178
|
commissionValue: number;
|
|
36169
36179
|
commissionValueType: components["schemas"]["CommissionValueTypes"];
|
|
36170
|
-
/**
|
|
36180
|
+
/**
|
|
36181
|
+
* Salesvolumevalue
|
|
36182
|
+
* @description visible when structure = tiered, required when salesTierType exist
|
|
36183
|
+
*/
|
|
36171
36184
|
salesVolumeValue?: number;
|
|
36172
36185
|
/**
|
|
36173
36186
|
* Currency
|
|
36174
|
-
* @description currency id
|
|
36187
|
+
* @description currency id, visible when structure = tiered, required when salesVolumeValue exist
|
|
36175
36188
|
*/
|
|
36176
36189
|
currency?: number;
|
|
36190
|
+
/** @description visible when structure = tiered */
|
|
36177
36191
|
salesTierType?: components["schemas"]["SalesTierType"];
|
|
36178
36192
|
/**
|
|
36179
36193
|
* Products
|
|
@@ -36195,15 +36209,26 @@ export interface components {
|
|
|
36195
36209
|
categories: number[];
|
|
36196
36210
|
/**
|
|
36197
36211
|
* Customergroups
|
|
36212
|
+
* @description
|
|
36213
|
+
* customers or customerGroups required , cannot both be empty
|
|
36214
|
+
* to get customer groups use route /api/v1/common/contact-segmentation/ and filter by type=customer
|
|
36215
|
+
*
|
|
36198
36216
|
* @default []
|
|
36199
36217
|
*/
|
|
36200
36218
|
customerGroups: string[];
|
|
36201
36219
|
/**
|
|
36202
36220
|
* Customers
|
|
36221
|
+
* @description
|
|
36222
|
+
* customers or customerGroups required , cannot both be empty
|
|
36223
|
+
* to get customers use route /api/v1/customers/?type=children and filter by isActive=true
|
|
36224
|
+
*
|
|
36203
36225
|
* @default []
|
|
36204
36226
|
*/
|
|
36205
36227
|
customers: number[];
|
|
36206
|
-
/**
|
|
36228
|
+
/**
|
|
36229
|
+
* Paymentmethod
|
|
36230
|
+
* @description visible and required when structure = paymentBased, to get payment methods use route /api/v1/payment-methods/
|
|
36231
|
+
*/
|
|
36207
36232
|
paymentMethod?: number;
|
|
36208
36233
|
/** Target */
|
|
36209
36234
|
target?: number;
|