@emilgroup/commission-sdk 1.0.0-beta.5 → 1.0.0-beta.6
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/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/commission-sdk@1.0.0-beta.
|
|
20
|
+
npm install @emilgroup/commission-sdk@1.0.0-beta.6 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/commission-sdk@1.0.0-beta.
|
|
24
|
+
yarn add @emilgroup/commission-sdk@1.0.0-beta.6
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CommissionApi`.
|
|
@@ -188,13 +188,12 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
188
188
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
189
189
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
190
190
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
191
|
-
* @param {string} [
|
|
192
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
191
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
193
192
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
194
193
|
* @param {*} [options] Override http request option.
|
|
195
194
|
* @throws {RequiredError}
|
|
196
195
|
*/
|
|
197
|
-
listCommissionAgreementProducts: async (authorization?: string, filter?: string, filters?: string,
|
|
196
|
+
listCommissionAgreementProducts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
198
197
|
const localVarPath = `/commissionservice/v1/agreement-products`;
|
|
199
198
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
200
199
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -221,10 +220,6 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
|
|
|
221
220
|
localVarQueryParameter['filters'] = filters;
|
|
222
221
|
}
|
|
223
222
|
|
|
224
|
-
if (search !== undefined) {
|
|
225
|
-
localVarQueryParameter['search'] = search;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
223
|
if (order !== undefined) {
|
|
229
224
|
localVarQueryParameter['order'] = order;
|
|
230
225
|
}
|
|
@@ -352,14 +347,13 @@ export const CommissionAgreementProductsApiFp = function(configuration?: Configu
|
|
|
352
347
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
353
348
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
354
349
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
355
|
-
* @param {string} [
|
|
356
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
350
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
357
351
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
358
352
|
* @param {*} [options] Override http request option.
|
|
359
353
|
* @throws {RequiredError}
|
|
360
354
|
*/
|
|
361
|
-
async listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string,
|
|
362
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, filter, filters,
|
|
355
|
+
async listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>> {
|
|
356
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, filter, filters, order, expand, options);
|
|
363
357
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
364
358
|
},
|
|
365
359
|
/**
|
|
@@ -425,14 +419,13 @@ export const CommissionAgreementProductsApiFactory = function (configuration?: C
|
|
|
425
419
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
426
420
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
427
421
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
428
|
-
* @param {string} [
|
|
429
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
422
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
430
423
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
431
424
|
* @param {*} [options] Override http request option.
|
|
432
425
|
* @throws {RequiredError}
|
|
433
426
|
*/
|
|
434
|
-
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string,
|
|
435
|
-
return localVarFp.listCommissionAgreementProducts(authorization, filter, filters,
|
|
427
|
+
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass> {
|
|
428
|
+
return localVarFp.listCommissionAgreementProducts(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
|
|
436
429
|
},
|
|
437
430
|
/**
|
|
438
431
|
* This will update commission agreement product.
|
|
@@ -547,14 +540,7 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
|
|
|
547
540
|
readonly filters?: string
|
|
548
541
|
|
|
549
542
|
/**
|
|
550
|
-
*
|
|
551
|
-
* @type {string}
|
|
552
|
-
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
553
|
-
*/
|
|
554
|
-
readonly search?: string
|
|
555
|
-
|
|
556
|
-
/**
|
|
557
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
543
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
558
544
|
* @type {string}
|
|
559
545
|
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
560
546
|
*/
|
|
@@ -648,7 +634,7 @@ export class CommissionAgreementProductsApi extends BaseAPI {
|
|
|
648
634
|
* @memberof CommissionAgreementProductsApi
|
|
649
635
|
*/
|
|
650
636
|
public listCommissionAgreementProducts(requestParameters: CommissionAgreementProductsApiListCommissionAgreementProductsRequest = {}, options?: AxiosRequestConfig) {
|
|
651
|
-
return CommissionAgreementProductsApiFp(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.
|
|
637
|
+
return CommissionAgreementProductsApiFp(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
|
|
652
638
|
}
|
|
653
639
|
|
|
654
640
|
/**
|
|
@@ -57,13 +57,12 @@ export declare const CommissionAgreementProductsApiAxiosParamCreator: (configura
|
|
|
57
57
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
58
58
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
59
59
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
60
|
-
* @param {string} [
|
|
61
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
60
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
62
61
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
63
62
|
* @param {*} [options] Override http request option.
|
|
64
63
|
* @throws {RequiredError}
|
|
65
64
|
*/
|
|
66
|
-
listCommissionAgreementProducts: (authorization?: string, filter?: string, filters?: string,
|
|
65
|
+
listCommissionAgreementProducts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
67
66
|
/**
|
|
68
67
|
* This will update commission agreement product.
|
|
69
68
|
* @summary Update the commission agreement product
|
|
@@ -114,13 +113,12 @@ export declare const CommissionAgreementProductsApiFp: (configuration?: Configur
|
|
|
114
113
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
115
114
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
116
115
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
117
|
-
* @param {string} [
|
|
118
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
116
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
119
117
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
120
118
|
* @param {*} [options] Override http request option.
|
|
121
119
|
* @throws {RequiredError}
|
|
122
120
|
*/
|
|
123
|
-
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string,
|
|
121
|
+
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>>;
|
|
124
122
|
/**
|
|
125
123
|
* This will update commission agreement product.
|
|
126
124
|
* @summary Update the commission agreement product
|
|
@@ -171,13 +169,12 @@ export declare const CommissionAgreementProductsApiFactory: (configuration?: Con
|
|
|
171
169
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
172
170
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
173
171
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
174
|
-
* @param {string} [
|
|
175
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
172
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
176
173
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
177
174
|
* @param {*} [options] Override http request option.
|
|
178
175
|
* @throws {RequiredError}
|
|
179
176
|
*/
|
|
180
|
-
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string,
|
|
177
|
+
listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass>;
|
|
181
178
|
/**
|
|
182
179
|
* This will update commission agreement product.
|
|
183
180
|
* @summary Update the commission agreement product
|
|
@@ -277,13 +274,7 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
|
|
|
277
274
|
*/
|
|
278
275
|
readonly filters?: string;
|
|
279
276
|
/**
|
|
280
|
-
*
|
|
281
|
-
* @type {string}
|
|
282
|
-
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
283
|
-
*/
|
|
284
|
-
readonly search?: string;
|
|
285
|
-
/**
|
|
286
|
-
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
277
|
+
* Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
287
278
|
* @type {string}
|
|
288
279
|
* @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
|
|
289
280
|
*/
|
|
@@ -249,13 +249,12 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
249
249
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
250
250
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
251
251
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
252
|
-
* @param {string} [
|
|
253
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
252
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
254
253
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
255
254
|
* @param {*} [options] Override http request option.
|
|
256
255
|
* @throws {RequiredError}
|
|
257
256
|
*/
|
|
258
|
-
listCommissionAgreementProducts: function (authorization, filter, filters,
|
|
257
|
+
listCommissionAgreementProducts: function (authorization, filter, filters, order, expand, options) {
|
|
259
258
|
if (options === void 0) { options = {}; }
|
|
260
259
|
return __awaiter(_this, void 0, void 0, function () {
|
|
261
260
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -284,9 +283,6 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
|
|
|
284
283
|
if (filters !== undefined) {
|
|
285
284
|
localVarQueryParameter['filters'] = filters;
|
|
286
285
|
}
|
|
287
|
-
if (search !== undefined) {
|
|
288
|
-
localVarQueryParameter['search'] = search;
|
|
289
|
-
}
|
|
290
286
|
if (order !== undefined) {
|
|
291
287
|
localVarQueryParameter['order'] = order;
|
|
292
288
|
}
|
|
@@ -440,18 +436,17 @@ var CommissionAgreementProductsApiFp = function (configuration) {
|
|
|
440
436
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
441
437
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
442
438
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
443
|
-
* @param {string} [
|
|
444
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
439
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
445
440
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
446
441
|
* @param {*} [options] Override http request option.
|
|
447
442
|
* @throws {RequiredError}
|
|
448
443
|
*/
|
|
449
|
-
listCommissionAgreementProducts: function (authorization, filter, filters,
|
|
444
|
+
listCommissionAgreementProducts: function (authorization, filter, filters, order, expand, options) {
|
|
450
445
|
return __awaiter(this, void 0, void 0, function () {
|
|
451
446
|
var localVarAxiosArgs;
|
|
452
447
|
return __generator(this, function (_a) {
|
|
453
448
|
switch (_a.label) {
|
|
454
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, filter, filters,
|
|
449
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, filter, filters, order, expand, options)];
|
|
455
450
|
case 1:
|
|
456
451
|
localVarAxiosArgs = _a.sent();
|
|
457
452
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -531,14 +526,13 @@ var CommissionAgreementProductsApiFactory = function (configuration, basePath, a
|
|
|
531
526
|
* @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
|
|
532
527
|
* @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
533
528
|
* @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt</i>
|
|
534
|
-
* @param {string} [
|
|
535
|
-
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, productSlug, status</i>
|
|
529
|
+
* @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: createdAt, updatedAt, productSlug, status</i>
|
|
536
530
|
* @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: version<i>
|
|
537
531
|
* @param {*} [options] Override http request option.
|
|
538
532
|
* @throws {RequiredError}
|
|
539
533
|
*/
|
|
540
|
-
listCommissionAgreementProducts: function (authorization, filter, filters,
|
|
541
|
-
return localVarFp.listCommissionAgreementProducts(authorization, filter, filters,
|
|
534
|
+
listCommissionAgreementProducts: function (authorization, filter, filters, order, expand, options) {
|
|
535
|
+
return localVarFp.listCommissionAgreementProducts(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
542
536
|
},
|
|
543
537
|
/**
|
|
544
538
|
* This will update commission agreement product.
|
|
@@ -613,7 +607,7 @@ var CommissionAgreementProductsApi = /** @class */ (function (_super) {
|
|
|
613
607
|
CommissionAgreementProductsApi.prototype.listCommissionAgreementProducts = function (requestParameters, options) {
|
|
614
608
|
var _this = this;
|
|
615
609
|
if (requestParameters === void 0) { requestParameters = {}; }
|
|
616
|
-
return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.
|
|
610
|
+
return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
617
611
|
};
|
|
618
612
|
/**
|
|
619
613
|
* This will update commission agreement product.
|