@emilgroup/commission-sdk 1.0.0-beta.2 → 1.0.0-beta.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (128) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +651 -0
  4. package/api/commission-agreement-rules-api.ts +758 -0
  5. package/api/commission-agreement-versions-api.ts +67 -25
  6. package/api/commission-agreements-api.ts +83 -28
  7. package/api/commission-recipients-api.ts +693 -0
  8. package/api/commissions-api.ts +18 -18
  9. package/api.ts +6 -0
  10. package/dist/api/commission-agreement-products-api.d.ts +366 -0
  11. package/dist/api/commission-agreement-products-api.js +626 -0
  12. package/dist/api/commission-agreement-rules-api.d.ts +423 -0
  13. package/dist/api/commission-agreement-rules-api.js +719 -0
  14. package/dist/api/commission-agreement-versions-api.d.ts +47 -20
  15. package/dist/api/commission-agreement-versions-api.js +38 -20
  16. package/dist/api/commission-agreements-api.d.ts +55 -19
  17. package/dist/api/commission-agreements-api.js +48 -24
  18. package/dist/api/commission-recipients-api.d.ts +393 -0
  19. package/dist/api/commission-recipients-api.js +644 -0
  20. package/dist/api/commissions-api.d.ts +18 -18
  21. package/dist/api/commissions-api.js +9 -9
  22. package/dist/api.d.ts +3 -0
  23. package/dist/api.js +3 -0
  24. package/dist/models/commission-agreement-class.d.ts +14 -0
  25. package/dist/models/commission-agreement-metadata-dto.d.ts +25 -0
  26. package/dist/models/commission-agreement-metadata-dto.js +15 -0
  27. package/dist/models/commission-agreement-metadata-partner-dto.d.ts +30 -0
  28. package/dist/models/commission-agreement-metadata-partner-dto.js +15 -0
  29. package/dist/models/commission-agreement-product-class.d.ts +78 -0
  30. package/dist/models/commission-agreement-product-class.js +20 -0
  31. package/dist/models/commission-agreement-rule-class.d.ts +80 -0
  32. package/dist/models/commission-agreement-rule-class.js +21 -0
  33. package/dist/models/commission-agreement-rule-config-dto.d.ts +25 -0
  34. package/dist/models/commission-agreement-rule-config-dto.js +15 -0
  35. package/dist/models/commission-agreement-rule-evaluation-class.d.ts +31 -0
  36. package/dist/models/commission-agreement-rule-evaluation-class.js +15 -0
  37. package/dist/models/commission-class.d.ts +5 -4
  38. package/dist/models/commission-conditions-dto.d.ts +24 -0
  39. package/dist/models/commission-conditions-dto.js +15 -0
  40. package/dist/models/commission-config-dto.d.ts +63 -0
  41. package/dist/models/commission-config-dto.js +34 -0
  42. package/dist/models/commission-recipient-class.d.ts +90 -0
  43. package/dist/models/commission-recipient-class.js +20 -0
  44. package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
  45. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  46. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  47. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  48. package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
  49. package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
  50. package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
  51. package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
  52. package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
  53. package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
  54. package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
  55. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  56. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  57. package/dist/models/create-commission-recipient-response-class.js +15 -0
  58. package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
  59. package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
  60. package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
  61. package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
  62. package/dist/models/evaluated-commission-class.d.ts +54 -0
  63. package/dist/models/evaluated-commission-class.js +21 -0
  64. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  65. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  66. package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
  67. package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
  68. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  69. package/dist/models/get-commission-recipient-response-class.js +15 -0
  70. package/dist/models/index.d.ts +30 -0
  71. package/dist/models/index.js +30 -0
  72. package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
  73. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  74. package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
  75. package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
  76. package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
  77. package/dist/models/list-commission-recipients-response-class.js +15 -0
  78. package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
  79. package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
  80. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  81. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  82. package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
  83. package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
  84. package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
  85. package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
  86. package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
  87. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  88. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  89. package/dist/models/update-commission-recipient-response-class.js +15 -0
  90. package/dist/models/update-commission-request-dto.d.ts +5 -3
  91. package/dist/models/update-commission-request-dto.js +4 -2
  92. package/models/commission-agreement-class.ts +14 -0
  93. package/models/commission-agreement-metadata-dto.ts +31 -0
  94. package/models/commission-agreement-metadata-partner-dto.ts +36 -0
  95. package/models/commission-agreement-product-class.ts +87 -0
  96. package/models/commission-agreement-rule-class.ts +89 -0
  97. package/models/commission-agreement-rule-config-dto.ts +31 -0
  98. package/models/commission-agreement-rule-evaluation-class.ts +37 -0
  99. package/models/commission-class.ts +5 -4
  100. package/models/commission-conditions-dto.ts +30 -0
  101. package/models/commission-config-dto.ts +73 -0
  102. package/models/commission-recipient-class.ts +99 -0
  103. package/models/create-commission-agreement-product-request-dto.ts +36 -0
  104. package/models/create-commission-agreement-product-response-class.ts +31 -0
  105. package/models/create-commission-agreement-request-dto.ts +8 -1
  106. package/models/create-commission-agreement-rule-request-dto.ts +37 -0
  107. package/models/create-commission-agreement-rule-response-class.ts +31 -0
  108. package/models/create-commission-agreement-version-request-dto.ts +1 -1
  109. package/models/create-commission-recipient-request-dto.ts +42 -0
  110. package/models/create-commission-recipient-response-class.ts +31 -0
  111. package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
  112. package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
  113. package/models/evaluated-commission-class.ts +63 -0
  114. package/models/get-commission-agreement-product-response-class.ts +31 -0
  115. package/models/get-commission-agreement-rule-response-class.ts +31 -0
  116. package/models/get-commission-recipient-response-class.ts +31 -0
  117. package/models/index.ts +30 -0
  118. package/models/list-commission-agreement-products-response-class.ts +49 -0
  119. package/models/list-commission-agreement-rules-response-class.ts +49 -0
  120. package/models/list-commission-recipients-response-class.ts +49 -0
  121. package/models/update-commission-agreement-product-request-dto.ts +50 -0
  122. package/models/update-commission-agreement-product-response-class.ts +31 -0
  123. package/models/update-commission-agreement-rule-request-dto.ts +52 -0
  124. package/models/update-commission-agreement-rule-response-class.ts +31 -0
  125. package/models/update-commission-recipient-request-dto.ts +48 -0
  126. package/models/update-commission-recipient-response-class.ts +31 -0
  127. package/models/update-commission-request-dto.ts +5 -3
  128. package/package.json +1 -1
@@ -182,14 +182,17 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
182
182
  * Retrieves a list of commission agreement versions.
183
183
  * @summary List commission agreement versions
184
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
185
- * @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, commissionAgreementId, startDate, endDate, createdAt</i>
186
- * @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, commissionAgreementId, startDate, endDate, createdAt</i>
187
- * @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, startDate, endDate</i>
188
- * @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/>
185
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
186
+ * @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.
187
+ * @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, agreementCode, startDate, endDate, createdAt</i>
188
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
189
+ * @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: code, createdAt, startDate, endDate</i>
190
+ * @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: agreements<i>
191
+ * @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, agreementCode, startDate, endDate, createdAt</i>
189
192
  * @param {*} [options] Override http request option.
190
193
  * @throws {RequiredError}
191
194
  */
192
- listCommissionAgreementVersions: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ listCommissionAgreementVersions: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
193
196
  const localVarPath = `/commissionservice/v1/agreement-versions`;
194
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
195
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -208,12 +211,20 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
208
211
  // http bearer authentication required
209
212
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
210
213
 
214
+ if (pageSize !== undefined) {
215
+ localVarQueryParameter['pageSize'] = pageSize;
216
+ }
217
+
218
+ if (pageToken !== undefined) {
219
+ localVarQueryParameter['pageToken'] = pageToken;
220
+ }
221
+
211
222
  if (filter !== undefined) {
212
223
  localVarQueryParameter['filter'] = filter;
213
224
  }
214
225
 
215
- if (filters !== undefined) {
216
- localVarQueryParameter['filters'] = filters;
226
+ if (search !== undefined) {
227
+ localVarQueryParameter['search'] = search;
217
228
  }
218
229
 
219
230
  if (order !== undefined) {
@@ -224,6 +235,10 @@ export const CommissionAgreementVersionsApiAxiosParamCreator = function (configu
224
235
  localVarQueryParameter['expand'] = expand;
225
236
  }
226
237
 
238
+ if (filters !== undefined) {
239
+ localVarQueryParameter['filters'] = filters;
240
+ }
241
+
227
242
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
228
243
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
229
244
  }
@@ -290,15 +305,18 @@ export const CommissionAgreementVersionsApiFp = function(configuration?: Configu
290
305
  * Retrieves a list of commission agreement versions.
291
306
  * @summary List commission agreement versions
292
307
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
293
- * @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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
294
- * @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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
295
- * @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, startDate, endDate&lt;/i&gt;
296
- * @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;
308
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
309
+ * @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.
310
+ * @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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
311
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
312
+ * @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: code, createdAt, startDate, endDate&lt;/i&gt;
313
+ * @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: agreements&lt;i&gt;
314
+ * @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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
297
315
  * @param {*} [options] Override http request option.
298
316
  * @throws {RequiredError}
299
317
  */
300
- async listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>> {
301
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options);
318
+ async listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>> {
319
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
302
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
303
321
  },
304
322
  }
@@ -349,15 +367,18 @@ export const CommissionAgreementVersionsApiFactory = function (configuration?: C
349
367
  * Retrieves a list of commission agreement versions.
350
368
  * @summary List commission agreement versions
351
369
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
352
- * @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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
353
- * @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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
354
- * @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, startDate, endDate&lt;/i&gt;
355
- * @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;
370
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
371
+ * @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.
372
+ * @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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
373
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
374
+ * @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: code, createdAt, startDate, endDate&lt;/i&gt;
375
+ * @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: agreements&lt;i&gt;
376
+ * @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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
356
377
  * @param {*} [options] Override http request option.
357
378
  * @throws {RequiredError}
358
379
  */
359
- listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass> {
360
- return localVarFp.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
380
+ listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass> {
381
+ return localVarFp.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
361
382
  },
362
383
  };
363
384
  };
@@ -446,32 +467,53 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
446
467
  readonly authorization?: string
447
468
 
448
469
  /**
449
- * 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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
470
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
471
+ * @type {number}
472
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
473
+ */
474
+ readonly pageSize?: number
475
+
476
+ /**
477
+ * 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.
478
+ * @type {string}
479
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
480
+ */
481
+ readonly pageToken?: string
482
+
483
+ /**
484
+ * 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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
450
485
  * @type {string}
451
486
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
452
487
  */
453
488
  readonly filter?: string
454
489
 
455
490
  /**
456
- * 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, commissionAgreementId, startDate, endDate, createdAt&lt;/i&gt;
491
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
457
492
  * @type {string}
458
493
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
459
494
  */
460
- readonly filters?: string
495
+ readonly search?: string
461
496
 
462
497
  /**
463
- * 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, startDate, endDate&lt;/i&gt;
498
+ * 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: code, createdAt, startDate, endDate&lt;/i&gt;
464
499
  * @type {string}
465
500
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
466
501
  */
467
502
  readonly order?: string
468
503
 
469
504
  /**
470
- * 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;
505
+ * 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: agreements&lt;i&gt;
471
506
  * @type {string}
472
507
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
473
508
  */
474
509
  readonly expand?: string
510
+
511
+ /**
512
+ * 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, agreementCode, startDate, endDate, createdAt&lt;/i&gt;
513
+ * @type {string}
514
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
515
+ */
516
+ readonly filters?: string
475
517
  }
476
518
 
477
519
  /**
@@ -526,6 +568,6 @@ export class CommissionAgreementVersionsApi extends BaseAPI {
526
568
  * @memberof CommissionAgreementVersionsApi
527
569
  */
528
570
  public listCommissionAgreementVersions(requestParameters: CommissionAgreementVersionsApiListCommissionAgreementVersionsRequest = {}, options?: AxiosRequestConfig) {
529
- return CommissionAgreementVersionsApiFp(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
571
+ return CommissionAgreementVersionsApiFp(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
530
572
  }
531
573
  }
@@ -186,14 +186,17 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
186
186
  * Retrieves a list of commission agreements.
187
187
  * @summary List commission agreements
188
188
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
189
- * @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, createdAt&lt;/i&gt;
190
- * @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, createdAt&lt;/i&gt;
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&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
191
+ * @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, createdAt, mainPartnerCode&lt;/i&gt;
192
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: createdAt&lt;/i&gt;
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.&lt;br/&gt; &lt;br/&gt;
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.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: versions&lt;i&gt;
195
+ * @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, createdAt, mainPartnerCode&lt;/i&gt;
193
196
  * @param {*} [options] Override http request option.
194
197
  * @throws {RequiredError}
195
198
  */
196
- listCommissionAgreements: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
+ listCommissionAgreements: 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/agreements`;
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 CommissionAgreementsApiAxiosParamCreator = function (configuration?
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 CommissionAgreementsApiAxiosParamCreator = function (configuration?
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
  }
@@ -246,15 +261,19 @@ export const CommissionAgreementsApiAxiosParamCreator = function (configuration?
246
261
  /**
247
262
  * This will update commission agreement.
248
263
  * @summary Update the commission agreement
264
+ * @param {string} code
249
265
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
250
266
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
251
267
  * @param {*} [options] Override http request option.
252
268
  * @throws {RequiredError}
253
269
  */
254
- updateCommissionAgreement: async (updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
270
+ updateCommissionAgreement: async (code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
271
+ // verify required parameter 'code' is not null or undefined
272
+ assertParamExists('updateCommissionAgreement', 'code', code)
255
273
  // verify required parameter 'updateCommissionAgreementRequestDto' is not null or undefined
256
274
  assertParamExists('updateCommissionAgreement', 'updateCommissionAgreementRequestDto', updateCommissionAgreementRequestDto)
257
- const localVarPath = `/commissionservice/v1/agreements`;
275
+ const localVarPath = `/commissionservice/v1/agreements/{code}`
276
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
258
277
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
259
278
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
260
279
  let baseOptions;
@@ -341,27 +360,31 @@ export const CommissionAgreementsApiFp = function(configuration?: Configuration)
341
360
  * Retrieves a list of commission agreements.
342
361
  * @summary List commission agreements
343
362
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
344
- * @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, createdAt&lt;/i&gt;
345
- * @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, createdAt&lt;/i&gt;
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.
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, createdAt, mainPartnerCode&lt;/i&gt;
366
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
346
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&lt;/i&gt;
347
- * @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;
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: versions&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, createdAt, mainPartnerCode&lt;/i&gt;
348
370
  * @param {*} [options] Override http request option.
349
371
  * @throws {RequiredError}
350
372
  */
351
- async listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>> {
352
- const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreements(authorization, filter, filters, order, expand, options);
373
+ async listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>> {
374
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
353
375
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
354
376
  },
355
377
  /**
356
378
  * This will update commission agreement.
357
379
  * @summary Update the commission agreement
380
+ * @param {string} code
358
381
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
359
382
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
360
383
  * @param {*} [options] Override http request option.
361
384
  * @throws {RequiredError}
362
385
  */
363
- async updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementResponseClass>> {
364
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionAgreement(updateCommissionAgreementRequestDto, authorization, options);
386
+ async updateCommissionAgreement(code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementResponseClass>> {
387
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionAgreement(code, updateCommissionAgreementRequestDto, authorization, options);
365
388
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
389
  },
367
390
  }
@@ -412,26 +435,30 @@ export const CommissionAgreementsApiFactory = function (configuration?: Configur
412
435
  * Retrieves a list of commission agreements.
413
436
  * @summary List commission agreements
414
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
415
- * @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, createdAt&lt;/i&gt;
416
- * @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, createdAt&lt;/i&gt;
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.
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, createdAt, mainPartnerCode&lt;/i&gt;
441
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
417
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&lt;/i&gt;
418
- * @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;
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: versions&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, createdAt, mainPartnerCode&lt;/i&gt;
419
445
  * @param {*} [options] Override http request option.
420
446
  * @throws {RequiredError}
421
447
  */
422
- listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass> {
423
- return localVarFp.listCommissionAgreements(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
448
+ listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass> {
449
+ return localVarFp.listCommissionAgreements(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
424
450
  },
425
451
  /**
426
452
  * This will update commission agreement.
427
453
  * @summary Update the commission agreement
454
+ * @param {string} code
428
455
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
429
456
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
430
457
  * @param {*} [options] Override http request option.
431
458
  * @throws {RequiredError}
432
459
  */
433
- updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementResponseClass> {
434
- return localVarFp.updateCommissionAgreement(updateCommissionAgreementRequestDto, authorization, options).then((request) => request(axios, basePath));
460
+ updateCommissionAgreement(code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementResponseClass> {
461
+ return localVarFp.updateCommissionAgreement(code, updateCommissionAgreementRequestDto, authorization, options).then((request) => request(axios, basePath));
435
462
  },
436
463
  };
437
464
  };
@@ -520,18 +547,32 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
520
547
  readonly authorization?: string
521
548
 
522
549
  /**
523
- * 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, createdAt&lt;/i&gt;
550
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
551
+ * @type {number}
552
+ * @memberof CommissionAgreementsApiListCommissionAgreements
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 CommissionAgreementsApiListCommissionAgreements
560
+ */
561
+ readonly pageToken?: string
562
+
563
+ /**
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, createdAt, mainPartnerCode&lt;/i&gt;
524
565
  * @type {string}
525
566
  * @memberof CommissionAgreementsApiListCommissionAgreements
526
567
  */
527
568
  readonly filter?: string
528
569
 
529
570
  /**
530
- * 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, createdAt&lt;/i&gt;
571
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
531
572
  * @type {string}
532
573
  * @memberof CommissionAgreementsApiListCommissionAgreements
533
574
  */
534
- readonly filters?: string
575
+ readonly search?: string
535
576
 
536
577
  /**
537
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&lt;/i&gt;
@@ -541,11 +582,18 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
541
582
  readonly order?: string
542
583
 
543
584
  /**
544
- * 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;
585
+ * 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: versions&lt;i&gt;
545
586
  * @type {string}
546
587
  * @memberof CommissionAgreementsApiListCommissionAgreements
547
588
  */
548
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, createdAt, mainPartnerCode&lt;/i&gt;
593
+ * @type {string}
594
+ * @memberof CommissionAgreementsApiListCommissionAgreements
595
+ */
596
+ readonly filters?: string
549
597
  }
550
598
 
551
599
  /**
@@ -554,6 +602,13 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
554
602
  * @interface CommissionAgreementsApiUpdateCommissionAgreementRequest
555
603
  */
556
604
  export interface CommissionAgreementsApiUpdateCommissionAgreementRequest {
605
+ /**
606
+ *
607
+ * @type {string}
608
+ * @memberof CommissionAgreementsApiUpdateCommissionAgreement
609
+ */
610
+ readonly code: string
611
+
557
612
  /**
558
613
  *
559
614
  * @type {UpdateCommissionAgreementRequestDto}
@@ -621,7 +676,7 @@ export class CommissionAgreementsApi extends BaseAPI {
621
676
  * @memberof CommissionAgreementsApi
622
677
  */
623
678
  public listCommissionAgreements(requestParameters: CommissionAgreementsApiListCommissionAgreementsRequest = {}, options?: AxiosRequestConfig) {
624
- return CommissionAgreementsApiFp(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
679
+ return CommissionAgreementsApiFp(this.configuration).listCommissionAgreements(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
625
680
  }
626
681
 
627
682
  /**
@@ -633,6 +688,6 @@ export class CommissionAgreementsApi extends BaseAPI {
633
688
  * @memberof CommissionAgreementsApi
634
689
  */
635
690
  public updateCommissionAgreement(requestParameters: CommissionAgreementsApiUpdateCommissionAgreementRequest, options?: AxiosRequestConfig) {
636
- return CommissionAgreementsApiFp(this.configuration).updateCommissionAgreement(requestParameters.updateCommissionAgreementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
691
+ return CommissionAgreementsApiFp(this.configuration).updateCommissionAgreement(requestParameters.code, requestParameters.updateCommissionAgreementRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
637
692
  }
638
693
  }