@emilgroup/commission-sdk 1.0.0-beta.44 → 1.0.0-beta.46

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.44 --save
20
+ npm install @emilgroup/commission-sdk@1.0.0-beta.46 --save
21
21
  ```
22
22
  or
23
23
  ```
24
- yarn add @emilgroup/commission-sdk@1.0.0-beta.44
24
+ yarn add @emilgroup/commission-sdk@1.0.0-beta.46
25
25
  ```
26
26
 
27
27
  And then you can import `CommissionApi`.
@@ -186,14 +186,17 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
186
186
  * Retrieves a list of commission agreement products.
187
187
  * @summary List commission agreement products
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
190
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
189
191
  * @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
- * @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>
192
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.<br/> <br/> <i>Searchable fields: code, productSlug</i>
191
193
  * @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>
192
194
  * @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>
195
+ * @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>
193
196
  * @param {*} [options] Override http request option.
194
197
  * @throws {RequiredError}
195
198
  */
196
- listCommissionAgreementProducts: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listCommissionAgreementProducts: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
200
  const localVarPath = `/commissionservice/v1/agreement-products`;
198
201
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
199
202
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -212,12 +215,20 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
212
215
  // http bearer authentication required
213
216
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
214
217
 
218
+ if (pageSize !== undefined) {
219
+ localVarQueryParameter['pageSize'] = pageSize;
220
+ }
221
+
222
+ if (pageToken !== undefined) {
223
+ localVarQueryParameter['pageToken'] = pageToken;
224
+ }
225
+
215
226
  if (filter !== undefined) {
216
227
  localVarQueryParameter['filter'] = filter;
217
228
  }
218
229
 
219
- if (filters !== undefined) {
220
- localVarQueryParameter['filters'] = filters;
230
+ if (search !== undefined) {
231
+ localVarQueryParameter['search'] = search;
221
232
  }
222
233
 
223
234
  if (order !== undefined) {
@@ -228,6 +239,10 @@ export const CommissionAgreementProductsApiAxiosParamCreator = function (configu
228
239
  localVarQueryParameter['expand'] = expand;
229
240
  }
230
241
 
242
+ if (filters !== undefined) {
243
+ localVarQueryParameter['filters'] = filters;
244
+ }
245
+
231
246
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
247
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
233
248
  }
@@ -345,15 +360,18 @@ export const CommissionAgreementProductsApiFp = function(configuration?: Configu
345
360
  * Retrieves a list of commission agreement products.
346
361
  * @summary List commission agreement products
347
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
363
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
364
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
348
365
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
349
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
366
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
350
367
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
351
368
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
369
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
352
370
  * @param {*} [options] Override http request option.
353
371
  * @throws {RequiredError}
354
372
  */
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);
373
+ async listCommissionAgreementProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>> {
374
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
357
375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
358
376
  },
359
377
  /**
@@ -417,15 +435,18 @@ export const CommissionAgreementProductsApiFactory = function (configuration?: C
417
435
  * Retrieves a list of commission agreement products.
418
436
  * @summary List commission agreement products
419
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
438
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
439
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
420
440
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
421
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
441
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
422
442
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
423
443
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
444
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
424
445
  * @param {*} [options] Override http request option.
425
446
  * @throws {RequiredError}
426
447
  */
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));
448
+ listCommissionAgreementProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass> {
449
+ return localVarFp.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
429
450
  },
430
451
  /**
431
452
  * This will update commission agreement product.
@@ -525,6 +546,20 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
525
546
  */
526
547
  readonly authorization?: string
527
548
 
549
+ /**
550
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
551
+ * @type {number}
552
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
553
+ */
554
+ readonly pageSize?: number
555
+
556
+ /**
557
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
558
+ * @type {string}
559
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
560
+ */
561
+ readonly pageToken?: string
562
+
528
563
  /**
529
564
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
530
565
  * @type {string}
@@ -533,11 +568,11 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
533
568
  readonly filter?: string
534
569
 
535
570
  /**
536
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
571
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
537
572
  * @type {string}
538
573
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
539
574
  */
540
- readonly filters?: string
575
+ readonly search?: string
541
576
 
542
577
  /**
543
578
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
@@ -552,6 +587,13 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
552
587
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
553
588
  */
554
589
  readonly expand?: string
590
+
591
+ /**
592
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
593
+ * @type {string}
594
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
595
+ */
596
+ readonly filters?: string
555
597
  }
556
598
 
557
599
  /**
@@ -634,7 +676,7 @@ export class CommissionAgreementProductsApi extends BaseAPI {
634
676
  * @memberof CommissionAgreementProductsApi
635
677
  */
636
678
  public listCommissionAgreementProducts(requestParameters: CommissionAgreementProductsApiListCommissionAgreementProductsRequest = {}, options?: AxiosRequestConfig) {
637
- return CommissionAgreementProductsApiFp(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
679
+ return CommissionAgreementProductsApiFp(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
638
680
  }
639
681
 
640
682
  /**
@@ -237,15 +237,17 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
237
237
  * Retrieves a list of commission agreement rules.
238
238
  * @summary List commission agreement rules
239
239
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
240
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
241
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
240
242
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
241
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
242
243
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
243
244
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
244
245
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
246
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
245
247
  * @param {*} [options] Override http request option.
246
248
  * @throws {RequiredError}
247
249
  */
248
- listCommissionAgreementRules: async (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
250
+ listCommissionAgreementRules: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
249
251
  const localVarPath = `/commissionservice/v1/agreement-rules`;
250
252
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
251
253
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -264,12 +266,16 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
264
266
  // http bearer authentication required
265
267
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
266
268
 
267
- if (filter !== undefined) {
268
- localVarQueryParameter['filter'] = filter;
269
+ if (pageSize !== undefined) {
270
+ localVarQueryParameter['pageSize'] = pageSize;
269
271
  }
270
272
 
271
- if (filters !== undefined) {
272
- localVarQueryParameter['filters'] = filters;
273
+ if (pageToken !== undefined) {
274
+ localVarQueryParameter['pageToken'] = pageToken;
275
+ }
276
+
277
+ if (filter !== undefined) {
278
+ localVarQueryParameter['filter'] = filter;
273
279
  }
274
280
 
275
281
  if (search !== undefined) {
@@ -284,6 +290,10 @@ export const CommissionAgreementRulesApiAxiosParamCreator = function (configurat
284
290
  localVarQueryParameter['expand'] = expand;
285
291
  }
286
292
 
293
+ if (filters !== undefined) {
294
+ localVarQueryParameter['filters'] = filters;
295
+ }
296
+
287
297
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
288
298
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
289
299
  }
@@ -413,16 +423,18 @@ export const CommissionAgreementRulesApiFp = function(configuration?: Configurat
413
423
  * Retrieves a list of commission agreement rules.
414
424
  * @summary List commission agreement rules
415
425
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
426
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
427
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
416
428
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
417
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
418
429
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
419
430
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
420
431
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
432
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
421
433
  * @param {*} [options] Override http request option.
422
434
  * @throws {RequiredError}
423
435
  */
424
- async listCommissionAgreementRules(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementRulesResponseClass>> {
425
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementRules(authorization, filter, filters, search, order, expand, options);
436
+ async listCommissionAgreementRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementRulesResponseClass>> {
437
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
426
438
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
427
439
  },
428
440
  /**
@@ -497,16 +509,18 @@ export const CommissionAgreementRulesApiFactory = function (configuration?: Conf
497
509
  * Retrieves a list of commission agreement rules.
498
510
  * @summary List commission agreement rules
499
511
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
512
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
513
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
500
514
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
501
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
502
515
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
503
516
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
504
517
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
518
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
505
519
  * @param {*} [options] Override http request option.
506
520
  * @throws {RequiredError}
507
521
  */
508
- listCommissionAgreementRules(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementRulesResponseClass> {
509
- return localVarFp.listCommissionAgreementRules(authorization, filter, filters, search, order, expand, options).then((request) => request(axios, basePath));
522
+ listCommissionAgreementRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementRulesResponseClass> {
523
+ return localVarFp.listCommissionAgreementRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
510
524
  },
511
525
  /**
512
526
  * This will update commission agreement rule.
@@ -628,18 +642,25 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
628
642
  readonly authorization?: string
629
643
 
630
644
  /**
631
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
645
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
646
+ * @type {number}
647
+ * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
648
+ */
649
+ readonly pageSize?: number
650
+
651
+ /**
652
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
632
653
  * @type {string}
633
654
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
634
655
  */
635
- readonly filter?: string
656
+ readonly pageToken?: string
636
657
 
637
658
  /**
638
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
659
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
639
660
  * @type {string}
640
661
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
641
662
  */
642
- readonly filters?: string
663
+ readonly filter?: string
643
664
 
644
665
  /**
645
666
  * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
@@ -661,6 +682,13 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
661
682
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
662
683
  */
663
684
  readonly expand?: string
685
+
686
+ /**
687
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
688
+ * @type {string}
689
+ * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
690
+ */
691
+ readonly filters?: string
664
692
  }
665
693
 
666
694
  /**
@@ -755,7 +783,7 @@ export class CommissionAgreementRulesApi extends BaseAPI {
755
783
  * @memberof CommissionAgreementRulesApi
756
784
  */
757
785
  public listCommissionAgreementRules(requestParameters: CommissionAgreementRulesApiListCommissionAgreementRulesRequest = {}, options?: AxiosRequestConfig) {
758
- return CommissionAgreementRulesApiFp(this.configuration).listCommissionAgreementRules(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
786
+ return CommissionAgreementRulesApiFp(this.configuration).listCommissionAgreementRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
759
787
  }
760
788
 
761
789
  /**
@@ -55,14 +55,17 @@ export declare const CommissionAgreementProductsApiAxiosParamCreator: (configura
55
55
  * Retrieves a list of commission agreement products.
56
56
  * @summary List commission agreement products
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
58
60
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
59
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
61
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
60
62
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
61
63
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
64
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
62
65
  * @param {*} [options] Override http request option.
63
66
  * @throws {RequiredError}
64
67
  */
65
- listCommissionAgreementProducts: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listCommissionAgreementProducts: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
69
  /**
67
70
  * This will update commission agreement product.
68
71
  * @summary Update the commission agreement product
@@ -111,14 +114,17 @@ export declare const CommissionAgreementProductsApiFp: (configuration?: Configur
111
114
  * Retrieves a list of commission agreement products.
112
115
  * @summary List commission agreement products
113
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
117
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
118
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
114
119
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
115
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
120
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
116
121
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
117
122
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
123
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
118
124
  * @param {*} [options] Override http request option.
119
125
  * @throws {RequiredError}
120
126
  */
121
- listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>>;
127
+ listCommissionAgreementProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementProductsResponseClass>>;
122
128
  /**
123
129
  * This will update commission agreement product.
124
130
  * @summary Update the commission agreement product
@@ -167,14 +173,17 @@ export declare const CommissionAgreementProductsApiFactory: (configuration?: Con
167
173
  * Retrieves a list of commission agreement products.
168
174
  * @summary List commission agreement products
169
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
176
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
177
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
170
178
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
171
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
179
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
172
180
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
173
181
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
182
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
174
183
  * @param {*} [options] Override http request option.
175
184
  * @throws {RequiredError}
176
185
  */
177
- listCommissionAgreementProducts(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass>;
186
+ listCommissionAgreementProducts(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementProductsResponseClass>;
178
187
  /**
179
188
  * This will update commission agreement product.
180
189
  * @summary Update the commission agreement product
@@ -261,6 +270,18 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
261
270
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
262
271
  */
263
272
  readonly authorization?: string;
273
+ /**
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
277
+ */
278
+ readonly pageSize?: number;
279
+ /**
280
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
281
+ * @type {string}
282
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
283
+ */
284
+ readonly pageToken?: string;
264
285
  /**
265
286
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
266
287
  * @type {string}
@@ -268,11 +289,11 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
268
289
  */
269
290
  readonly filter?: string;
270
291
  /**
271
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
292
+ * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
272
293
  * @type {string}
273
294
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
274
295
  */
275
- readonly filters?: string;
296
+ readonly search?: string;
276
297
  /**
277
298
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
278
299
  * @type {string}
@@ -285,6 +306,12 @@ export interface CommissionAgreementProductsApiListCommissionAgreementProductsRe
285
306
  * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
286
307
  */
287
308
  readonly expand?: string;
309
+ /**
310
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof CommissionAgreementProductsApiListCommissionAgreementProducts
313
+ */
314
+ readonly filters?: string;
288
315
  }
289
316
  /**
290
317
  * Request parameters for updateCommissionAgreementProduct operation in CommissionAgreementProductsApi.
@@ -247,14 +247,17 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
247
247
  * Retrieves a list of commission agreement products.
248
248
  * @summary List commission agreement products
249
249
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
250
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
251
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
250
252
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
251
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
253
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
252
254
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
253
255
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
256
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
254
257
  * @param {*} [options] Override http request option.
255
258
  * @throws {RequiredError}
256
259
  */
257
- listCommissionAgreementProducts: function (authorization, filter, filters, order, expand, options) {
260
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
258
261
  if (options === void 0) { options = {}; }
259
262
  return __awaiter(_this, void 0, void 0, function () {
260
263
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -277,11 +280,17 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
277
280
  // authentication bearer required
278
281
  // http bearer authentication required
279
282
  _a.sent();
283
+ if (pageSize !== undefined) {
284
+ localVarQueryParameter['pageSize'] = pageSize;
285
+ }
286
+ if (pageToken !== undefined) {
287
+ localVarQueryParameter['pageToken'] = pageToken;
288
+ }
280
289
  if (filter !== undefined) {
281
290
  localVarQueryParameter['filter'] = filter;
282
291
  }
283
- if (filters !== undefined) {
284
- localVarQueryParameter['filters'] = filters;
292
+ if (search !== undefined) {
293
+ localVarQueryParameter['search'] = search;
285
294
  }
286
295
  if (order !== undefined) {
287
296
  localVarQueryParameter['order'] = order;
@@ -289,6 +298,9 @@ var CommissionAgreementProductsApiAxiosParamCreator = function (configuration) {
289
298
  if (expand !== undefined) {
290
299
  localVarQueryParameter['expand'] = expand;
291
300
  }
301
+ if (filters !== undefined) {
302
+ localVarQueryParameter['filters'] = filters;
303
+ }
292
304
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
293
305
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
294
306
  }
@@ -434,19 +446,22 @@ var CommissionAgreementProductsApiFp = function (configuration) {
434
446
  * Retrieves a list of commission agreement products.
435
447
  * @summary List commission agreement products
436
448
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
449
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
450
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
437
451
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
438
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
452
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
439
453
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
440
454
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
455
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
441
456
  * @param {*} [options] Override http request option.
442
457
  * @throws {RequiredError}
443
458
  */
444
- listCommissionAgreementProducts: function (authorization, filter, filters, order, expand, options) {
459
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
445
460
  return __awaiter(this, void 0, void 0, function () {
446
461
  var localVarAxiosArgs;
447
462
  return __generator(this, function (_a) {
448
463
  switch (_a.label) {
449
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, filter, filters, order, expand, options)];
464
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
450
465
  case 1:
451
466
  localVarAxiosArgs = _a.sent();
452
467
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -524,15 +539,18 @@ var CommissionAgreementProductsApiFactory = function (configuration, basePath, a
524
539
  * Retrieves a list of commission agreement products.
525
540
  * @summary List commission agreement products
526
541
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
542
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
543
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
527
544
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
528
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
545
+ * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, productSlug&lt;/i&gt;
529
546
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, productSlug, status&lt;/i&gt;
530
547
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version&lt;i&gt;
548
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, productSlug, status, createdAt&lt;/i&gt;
531
549
  * @param {*} [options] Override http request option.
532
550
  * @throws {RequiredError}
533
551
  */
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); });
552
+ listCommissionAgreementProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
553
+ return localVarFp.listCommissionAgreementProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
536
554
  },
537
555
  /**
538
556
  * This will update commission agreement product.
@@ -607,7 +625,7 @@ var CommissionAgreementProductsApi = /** @class */ (function (_super) {
607
625
  CommissionAgreementProductsApi.prototype.listCommissionAgreementProducts = function (requestParameters, options) {
608
626
  var _this = this;
609
627
  if (requestParameters === void 0) { 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); });
628
+ return (0, exports.CommissionAgreementProductsApiFp)(this.configuration).listCommissionAgreementProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
611
629
  };
612
630
  /**
613
631
  * This will update commission agreement product.
@@ -66,15 +66,17 @@ export declare const CommissionAgreementRulesApiAxiosParamCreator: (configuratio
66
66
  * Retrieves a list of commission agreement rules.
67
67
  * @summary List commission agreement rules
68
68
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
69
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
70
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
69
71
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
70
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
71
72
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
72
73
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
73
74
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
75
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
74
76
  * @param {*} [options] Override http request option.
75
77
  * @throws {RequiredError}
76
78
  */
77
- listCommissionAgreementRules: (authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
79
+ listCommissionAgreementRules: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
80
  /**
79
81
  * This will update commission agreement rule.
80
82
  * @summary Update the commission agreement rule
@@ -132,15 +134,17 @@ export declare const CommissionAgreementRulesApiFp: (configuration?: Configurati
132
134
  * Retrieves a list of commission agreement rules.
133
135
  * @summary List commission agreement rules
134
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
135
139
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
136
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
137
140
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
138
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
139
142
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
140
144
  * @param {*} [options] Override http request option.
141
145
  * @throws {RequiredError}
142
146
  */
143
- listCommissionAgreementRules(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementRulesResponseClass>>;
147
+ listCommissionAgreementRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementRulesResponseClass>>;
144
148
  /**
145
149
  * This will update commission agreement rule.
146
150
  * @summary Update the commission agreement rule
@@ -198,15 +202,17 @@ export declare const CommissionAgreementRulesApiFactory: (configuration?: Config
198
202
  * Retrieves a list of commission agreement rules.
199
203
  * @summary List commission agreement rules
200
204
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
205
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
206
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
201
207
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
202
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
203
208
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
204
209
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
205
210
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
211
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
206
212
  * @param {*} [options] Override http request option.
207
213
  * @throws {RequiredError}
208
214
  */
209
- listCommissionAgreementRules(authorization?: string, filter?: string, filters?: string, search?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementRulesResponseClass>;
215
+ listCommissionAgreementRules(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementRulesResponseClass>;
210
216
  /**
211
217
  * This will update commission agreement rule.
212
218
  * @summary Update the commission agreement rule
@@ -313,17 +319,23 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
313
319
  */
314
320
  readonly authorization?: string;
315
321
  /**
316
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
322
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
323
+ * @type {number}
324
+ * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
325
+ */
326
+ readonly pageSize?: number;
327
+ /**
328
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
317
329
  * @type {string}
318
330
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
319
331
  */
320
- readonly filter?: string;
332
+ readonly pageToken?: string;
321
333
  /**
322
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
334
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
323
335
  * @type {string}
324
336
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
325
337
  */
326
- readonly filters?: string;
338
+ readonly filter?: string;
327
339
  /**
328
340
  * Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
329
341
  * @type {string}
@@ -342,6 +354,12 @@ export interface CommissionAgreementRulesApiListCommissionAgreementRulesRequest
342
354
  * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
343
355
  */
344
356
  readonly expand?: string;
357
+ /**
358
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
359
+ * @type {string}
360
+ * @memberof CommissionAgreementRulesApiListCommissionAgreementRules
361
+ */
362
+ readonly filters?: string;
345
363
  }
346
364
  /**
347
365
  * Request parameters for updateCommissionAgreementRule operation in CommissionAgreementRulesApi.
@@ -296,15 +296,17 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
296
296
  * Retrieves a list of commission agreement rules.
297
297
  * @summary List commission agreement rules
298
298
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
299
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
300
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
299
301
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
300
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
301
302
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
302
303
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
303
304
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
305
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
304
306
  * @param {*} [options] Override http request option.
305
307
  * @throws {RequiredError}
306
308
  */
307
- listCommissionAgreementRules: function (authorization, filter, filters, search, order, expand, options) {
309
+ listCommissionAgreementRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
308
310
  if (options === void 0) { options = {}; }
309
311
  return __awaiter(_this, void 0, void 0, function () {
310
312
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -327,12 +329,15 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
327
329
  // authentication bearer required
328
330
  // http bearer authentication required
329
331
  _a.sent();
332
+ if (pageSize !== undefined) {
333
+ localVarQueryParameter['pageSize'] = pageSize;
334
+ }
335
+ if (pageToken !== undefined) {
336
+ localVarQueryParameter['pageToken'] = pageToken;
337
+ }
330
338
  if (filter !== undefined) {
331
339
  localVarQueryParameter['filter'] = filter;
332
340
  }
333
- if (filters !== undefined) {
334
- localVarQueryParameter['filters'] = filters;
335
- }
336
341
  if (search !== undefined) {
337
342
  localVarQueryParameter['search'] = search;
338
343
  }
@@ -342,6 +347,9 @@ var CommissionAgreementRulesApiAxiosParamCreator = function (configuration) {
342
347
  if (expand !== undefined) {
343
348
  localVarQueryParameter['expand'] = expand;
344
349
  }
350
+ if (filters !== undefined) {
351
+ localVarQueryParameter['filters'] = filters;
352
+ }
345
353
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
346
354
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
347
355
  }
@@ -508,20 +516,22 @@ var CommissionAgreementRulesApiFp = function (configuration) {
508
516
  * Retrieves a list of commission agreement rules.
509
517
  * @summary List commission agreement rules
510
518
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
519
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
520
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
511
521
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
512
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
513
522
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
514
523
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
515
524
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
525
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
516
526
  * @param {*} [options] Override http request option.
517
527
  * @throws {RequiredError}
518
528
  */
519
- listCommissionAgreementRules: function (authorization, filter, filters, search, order, expand, options) {
529
+ listCommissionAgreementRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
520
530
  return __awaiter(this, void 0, void 0, function () {
521
531
  var localVarAxiosArgs;
522
532
  return __generator(this, function (_a) {
523
533
  switch (_a.label) {
524
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementRules(authorization, filter, filters, search, order, expand, options)];
534
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
525
535
  case 1:
526
536
  localVarAxiosArgs = _a.sent();
527
537
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -610,16 +620,18 @@ var CommissionAgreementRulesApiFactory = function (configuration, basePath, axio
610
620
  * Retrieves a list of commission agreement rules.
611
621
  * @summary List commission agreement rules
612
622
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
623
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
624
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
613
625
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
614
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
615
626
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, commissionAgreementProductCode&lt;/i&gt;
616
627
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt, updatedAt, status&lt;/i&gt;
617
628
  * @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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: version, commissionAgreementProduct&lt;i&gt;
629
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, commissionAgreementVersionId, commissionAgreementProductCode, status, createdAt&lt;/i&gt;
618
630
  * @param {*} [options] Override http request option.
619
631
  * @throws {RequiredError}
620
632
  */
621
- listCommissionAgreementRules: function (authorization, filter, filters, search, order, expand, options) {
622
- return localVarFp.listCommissionAgreementRules(authorization, filter, filters, search, order, expand, options).then(function (request) { return request(axios, basePath); });
633
+ listCommissionAgreementRules: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
634
+ return localVarFp.listCommissionAgreementRules(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
623
635
  },
624
636
  /**
625
637
  * This will update commission agreement rule.
@@ -706,7 +718,7 @@ var CommissionAgreementRulesApi = /** @class */ (function (_super) {
706
718
  CommissionAgreementRulesApi.prototype.listCommissionAgreementRules = function (requestParameters, options) {
707
719
  var _this = this;
708
720
  if (requestParameters === void 0) { requestParameters = {}; }
709
- return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).listCommissionAgreementRules(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
721
+ return (0, exports.CommissionAgreementRulesApiFp)(this.configuration).listCommissionAgreementRules(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
710
722
  };
711
723
  /**
712
724
  * This will update commission agreement rule.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/commission-sdk",
3
- "version": "1.0.0-beta.44",
3
+ "version": "1.0.0-beta.46",
4
4
  "description": "OpenAPI client for @emilgroup/commission-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [