@emilgroup/commission-sdk-node 1.0.0-beta.2 → 1.0.0-beta.21

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 (130) hide show
  1. package/.openapi-generator/FILES +33 -0
  2. package/README.md +2 -2
  3. package/api/commission-agreement-products-api.ts +655 -0
  4. package/api/commission-agreement-rules-api.ts +762 -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 +697 -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 +630 -0
  12. package/dist/api/commission-agreement-rules-api.d.ts +423 -0
  13. package/dist/api/commission-agreement-rules-api.js +723 -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 +648 -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 +77 -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-agreement-version-class.d.ts +7 -0
  38. package/dist/models/commission-class.d.ts +5 -4
  39. package/dist/models/commission-conditions-dto.d.ts +24 -0
  40. package/dist/models/commission-conditions-dto.js +15 -0
  41. package/dist/models/commission-config-dto.d.ts +63 -0
  42. package/dist/models/commission-config-dto.js +34 -0
  43. package/dist/models/commission-recipient-class.d.ts +90 -0
  44. package/dist/models/commission-recipient-class.js +20 -0
  45. package/dist/models/create-commission-agreement-product-request-dto.d.ts +30 -0
  46. package/dist/models/create-commission-agreement-product-request-dto.js +15 -0
  47. package/dist/models/create-commission-agreement-product-response-class.d.ts +25 -0
  48. package/dist/models/create-commission-agreement-product-response-class.js +15 -0
  49. package/dist/models/create-commission-agreement-request-dto.d.ts +8 -1
  50. package/dist/models/create-commission-agreement-rule-request-dto.d.ts +31 -0
  51. package/dist/models/create-commission-agreement-rule-request-dto.js +15 -0
  52. package/dist/models/create-commission-agreement-rule-response-class.d.ts +25 -0
  53. package/dist/models/create-commission-agreement-rule-response-class.js +15 -0
  54. package/dist/models/create-commission-agreement-version-request-dto.d.ts +1 -1
  55. package/dist/models/create-commission-recipient-request-dto.d.ts +36 -0
  56. package/dist/models/create-commission-recipient-request-dto.js +15 -0
  57. package/dist/models/create-commission-recipient-response-class.d.ts +25 -0
  58. package/dist/models/create-commission-recipient-response-class.js +15 -0
  59. package/dist/models/evaluate-commission-agreement-rule-request-dto.d.ts +31 -0
  60. package/dist/models/evaluate-commission-agreement-rule-request-dto.js +15 -0
  61. package/dist/models/evaluate-commission-agreement-rule-response-class.d.ts +25 -0
  62. package/dist/models/evaluate-commission-agreement-rule-response-class.js +15 -0
  63. package/dist/models/evaluated-commission-class.d.ts +54 -0
  64. package/dist/models/evaluated-commission-class.js +21 -0
  65. package/dist/models/get-commission-agreement-product-response-class.d.ts +25 -0
  66. package/dist/models/get-commission-agreement-product-response-class.js +15 -0
  67. package/dist/models/get-commission-agreement-rule-response-class.d.ts +25 -0
  68. package/dist/models/get-commission-agreement-rule-response-class.js +15 -0
  69. package/dist/models/get-commission-recipient-response-class.d.ts +25 -0
  70. package/dist/models/get-commission-recipient-response-class.js +15 -0
  71. package/dist/models/index.d.ts +30 -0
  72. package/dist/models/index.js +30 -0
  73. package/dist/models/list-commission-agreement-products-response-class.d.ts +43 -0
  74. package/dist/models/list-commission-agreement-products-response-class.js +15 -0
  75. package/dist/models/list-commission-agreement-rules-response-class.d.ts +43 -0
  76. package/dist/models/list-commission-agreement-rules-response-class.js +15 -0
  77. package/dist/models/list-commission-recipients-response-class.d.ts +43 -0
  78. package/dist/models/list-commission-recipients-response-class.js +15 -0
  79. package/dist/models/update-commission-agreement-product-request-dto.d.ts +41 -0
  80. package/dist/models/update-commission-agreement-product-request-dto.js +20 -0
  81. package/dist/models/update-commission-agreement-product-response-class.d.ts +25 -0
  82. package/dist/models/update-commission-agreement-product-response-class.js +15 -0
  83. package/dist/models/update-commission-agreement-rule-request-dto.d.ts +43 -0
  84. package/dist/models/update-commission-agreement-rule-request-dto.js +21 -0
  85. package/dist/models/update-commission-agreement-rule-response-class.d.ts +25 -0
  86. package/dist/models/update-commission-agreement-rule-response-class.js +15 -0
  87. package/dist/models/update-commission-recipient-request-dto.d.ts +42 -0
  88. package/dist/models/update-commission-recipient-request-dto.js +15 -0
  89. package/dist/models/update-commission-recipient-response-class.d.ts +25 -0
  90. package/dist/models/update-commission-recipient-response-class.js +15 -0
  91. package/dist/models/update-commission-request-dto.d.ts +5 -3
  92. package/dist/models/update-commission-request-dto.js +4 -2
  93. package/models/commission-agreement-class.ts +14 -0
  94. package/models/commission-agreement-metadata-dto.ts +31 -0
  95. package/models/commission-agreement-metadata-partner-dto.ts +36 -0
  96. package/models/commission-agreement-product-class.ts +86 -0
  97. package/models/commission-agreement-rule-class.ts +89 -0
  98. package/models/commission-agreement-rule-config-dto.ts +31 -0
  99. package/models/commission-agreement-rule-evaluation-class.ts +37 -0
  100. package/models/commission-agreement-version-class.ts +7 -0
  101. package/models/commission-class.ts +5 -4
  102. package/models/commission-conditions-dto.ts +30 -0
  103. package/models/commission-config-dto.ts +73 -0
  104. package/models/commission-recipient-class.ts +99 -0
  105. package/models/create-commission-agreement-product-request-dto.ts +36 -0
  106. package/models/create-commission-agreement-product-response-class.ts +31 -0
  107. package/models/create-commission-agreement-request-dto.ts +8 -1
  108. package/models/create-commission-agreement-rule-request-dto.ts +37 -0
  109. package/models/create-commission-agreement-rule-response-class.ts +31 -0
  110. package/models/create-commission-agreement-version-request-dto.ts +1 -1
  111. package/models/create-commission-recipient-request-dto.ts +42 -0
  112. package/models/create-commission-recipient-response-class.ts +31 -0
  113. package/models/evaluate-commission-agreement-rule-request-dto.ts +37 -0
  114. package/models/evaluate-commission-agreement-rule-response-class.ts +31 -0
  115. package/models/evaluated-commission-class.ts +63 -0
  116. package/models/get-commission-agreement-product-response-class.ts +31 -0
  117. package/models/get-commission-agreement-rule-response-class.ts +31 -0
  118. package/models/get-commission-recipient-response-class.ts +31 -0
  119. package/models/index.ts +30 -0
  120. package/models/list-commission-agreement-products-response-class.ts +49 -0
  121. package/models/list-commission-agreement-rules-response-class.ts +49 -0
  122. package/models/list-commission-recipients-response-class.ts +49 -0
  123. package/models/update-commission-agreement-product-request-dto.ts +50 -0
  124. package/models/update-commission-agreement-product-response-class.ts +31 -0
  125. package/models/update-commission-agreement-rule-request-dto.ts +52 -0
  126. package/models/update-commission-agreement-rule-response-class.ts +31 -0
  127. package/models/update-commission-recipient-request-dto.ts +48 -0
  128. package/models/update-commission-recipient-response-class.ts +31 -0
  129. package/models/update-commission-request-dto.ts +5 -3
  130. package/package.json +1 -1
@@ -53,14 +53,17 @@ export declare const CommissionAgreementVersionsApiAxiosParamCreator: (configura
53
53
  * Retrieves a list of commission agreement versions.
54
54
  * @summary List commission agreement versions
55
55
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
- * @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>
57
- * @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>
58
- * @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>
59
- * @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/>
56
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
+ * @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.
58
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: id, code, agreementCode, startDate, endDate, createdAt</i>
59
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
60
+ * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: code, createdAt, startDate, endDate</i>
61
+ * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/> <i>Allowed values: agreements<i>
62
+ * @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>
60
63
  * @param {*} [options] Override http request option.
61
64
  * @throws {RequiredError}
62
65
  */
63
- listCommissionAgreementVersions: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ listCommissionAgreementVersions: (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
67
  };
65
68
  /**
66
69
  * CommissionAgreementVersionsApi - functional programming interface
@@ -99,14 +102,17 @@ export declare const CommissionAgreementVersionsApiFp: (configuration?: Configur
99
102
  * Retrieves a list of commission agreement versions.
100
103
  * @summary List commission agreement versions
101
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
102
- * @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;
103
- * @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;
104
- * @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;
105
- * @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;
105
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
+ * @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.
107
+ * @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;
108
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
+ * @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;
110
+ * @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;
111
+ * @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;
106
112
  * @param {*} [options] Override http request option.
107
113
  * @throws {RequiredError}
108
114
  */
109
- listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementVersionsResponseClass>>;
115
+ 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>>;
110
116
  };
111
117
  /**
112
118
  * CommissionAgreementVersionsApi - factory interface
@@ -145,14 +151,17 @@ export declare const CommissionAgreementVersionsApiFactory: (configuration?: Con
145
151
  * Retrieves a list of commission agreement versions.
146
152
  * @summary List commission agreement versions
147
153
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
148
- * @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;
149
- * @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;
150
- * @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;
151
- * @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;
154
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
+ * @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.
156
+ * @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;
157
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
158
+ * @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;
159
+ * @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;
160
+ * @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;
152
161
  * @param {*} [options] Override http request option.
153
162
  * @throws {RequiredError}
154
163
  */
155
- listCommissionAgreementVersions(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass>;
164
+ listCommissionAgreementVersions(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementVersionsResponseClass>;
156
165
  };
157
166
  /**
158
167
  * Request parameters for createCommissionAgreementVersion operation in CommissionAgreementVersionsApi.
@@ -230,29 +239,47 @@ export interface CommissionAgreementVersionsApiListCommissionAgreementVersionsRe
230
239
  */
231
240
  readonly authorization?: string;
232
241
  /**
233
- * 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;
242
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
243
+ * @type {number}
244
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
245
+ */
246
+ readonly pageSize?: number;
247
+ /**
248
+ * 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.
249
+ * @type {string}
250
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
251
+ */
252
+ readonly pageToken?: string;
253
+ /**
254
+ * 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;
234
255
  * @type {string}
235
256
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
236
257
  */
237
258
  readonly filter?: string;
238
259
  /**
239
- * 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;
260
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
240
261
  * @type {string}
241
262
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
242
263
  */
243
- readonly filters?: string;
264
+ readonly search?: string;
244
265
  /**
245
- * 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;
266
+ * 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;
246
267
  * @type {string}
247
268
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
248
269
  */
249
270
  readonly order?: string;
250
271
  /**
251
- * 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;
272
+ * 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;
252
273
  * @type {string}
253
274
  * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
254
275
  */
255
276
  readonly expand?: string;
277
+ /**
278
+ * 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;
279
+ * @type {string}
280
+ * @memberof CommissionAgreementVersionsApiListCommissionAgreementVersions
281
+ */
282
+ readonly filters?: string;
256
283
  }
257
284
  /**
258
285
  * CommissionAgreementVersionsApi - object-oriented interface
@@ -251,14 +251,17 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
251
251
  * Retrieves a list of commission agreement versions.
252
252
  * @summary List commission agreement versions
253
253
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
254
- * @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;
255
- * @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;
256
- * @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;
257
- * @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;
254
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
255
+ * @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.
256
+ * @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;
257
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
258
+ * @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;
259
+ * @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;
260
+ * @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;
258
261
  * @param {*} [options] Override http request option.
259
262
  * @throws {RequiredError}
260
263
  */
261
- listCommissionAgreementVersions: function (authorization, filter, filters, order, expand, options) {
264
+ listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
262
265
  if (options === void 0) { options = {}; }
263
266
  return __awaiter(_this, void 0, void 0, function () {
264
267
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -281,11 +284,17 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
281
284
  // authentication bearer required
282
285
  // http bearer authentication required
283
286
  _a.sent();
287
+ if (pageSize !== undefined) {
288
+ localVarQueryParameter['pageSize'] = pageSize;
289
+ }
290
+ if (pageToken !== undefined) {
291
+ localVarQueryParameter['pageToken'] = pageToken;
292
+ }
284
293
  if (filter !== undefined) {
285
294
  localVarQueryParameter['filter'] = filter;
286
295
  }
287
- if (filters !== undefined) {
288
- localVarQueryParameter['filters'] = filters;
296
+ if (search !== undefined) {
297
+ localVarQueryParameter['search'] = search;
289
298
  }
290
299
  if (order !== undefined) {
291
300
  localVarQueryParameter['order'] = order;
@@ -293,6 +302,9 @@ var CommissionAgreementVersionsApiAxiosParamCreator = function (configuration) {
293
302
  if (expand !== undefined) {
294
303
  localVarQueryParameter['expand'] = expand;
295
304
  }
305
+ if (filters !== undefined) {
306
+ localVarQueryParameter['filters'] = filters;
307
+ }
296
308
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
297
309
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
298
310
  }
@@ -385,19 +397,22 @@ var CommissionAgreementVersionsApiFp = function (configuration) {
385
397
  * Retrieves a list of commission agreement versions.
386
398
  * @summary List commission agreement versions
387
399
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
388
- * @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;
389
- * @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;
390
- * @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;
391
- * @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;
400
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
401
+ * @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.
402
+ * @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;
403
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
404
+ * @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;
405
+ * @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;
406
+ * @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;
392
407
  * @param {*} [options] Override http request option.
393
408
  * @throws {RequiredError}
394
409
  */
395
- listCommissionAgreementVersions: function (authorization, filter, filters, order, expand, options) {
410
+ listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
396
411
  return __awaiter(this, void 0, void 0, function () {
397
412
  var localVarAxiosArgs;
398
413
  return __generator(this, function (_a) {
399
414
  switch (_a.label) {
400
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options)];
415
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
401
416
  case 1:
402
417
  localVarAxiosArgs = _a.sent();
403
418
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -453,15 +468,18 @@ var CommissionAgreementVersionsApiFactory = function (configuration, basePath, a
453
468
  * Retrieves a list of commission agreement versions.
454
469
  * @summary List commission agreement versions
455
470
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
456
- * @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;
457
- * @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;
458
- * @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;
459
- * @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;
471
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
472
+ * @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.
473
+ * @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;
474
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
475
+ * @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;
476
+ * @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;
477
+ * @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;
460
478
  * @param {*} [options] Override http request option.
461
479
  * @throws {RequiredError}
462
480
  */
463
- listCommissionAgreementVersions: function (authorization, filter, filters, order, expand, options) {
464
- return localVarFp.listCommissionAgreementVersions(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
481
+ listCommissionAgreementVersions: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
482
+ return localVarFp.listCommissionAgreementVersions(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
465
483
  },
466
484
  };
467
485
  };
@@ -524,7 +542,7 @@ var CommissionAgreementVersionsApi = /** @class */ (function (_super) {
524
542
  CommissionAgreementVersionsApi.prototype.listCommissionAgreementVersions = function (requestParameters, options) {
525
543
  var _this = this;
526
544
  if (requestParameters === void 0) { requestParameters = {}; }
527
- return (0, exports.CommissionAgreementVersionsApiFp)(this.configuration).listCommissionAgreementVersions(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
545
+ return (0, exports.CommissionAgreementVersionsApiFp)(this.configuration).listCommissionAgreementVersions(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); });
528
546
  };
529
547
  return CommissionAgreementVersionsApi;
530
548
  }(base_1.BaseAPI));
@@ -55,23 +55,27 @@ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?:
55
55
  * Retrieves a list of commission agreements.
56
56
  * @summary List commission agreements
57
57
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
- * @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;
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, createdAt&lt;/i&gt;
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.
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, createdAt, mainPartnerCode&lt;/i&gt;
61
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
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&lt;/i&gt;
61
- * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
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: versions, products&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, createdAt, mainPartnerCode&lt;/i&gt;
62
65
  * @param {*} [options] Override http request option.
63
66
  * @throws {RequiredError}
64
67
  */
65
- listCommissionAgreements: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
68
+ listCommissionAgreements: (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.
68
71
  * @summary Update the commission agreement
72
+ * @param {string} code
69
73
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
70
74
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
71
75
  * @param {*} [options] Override http request option.
72
76
  * @throws {RequiredError}
73
77
  */
74
- updateCommissionAgreement: (updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
78
+ updateCommissionAgreement: (code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
79
  };
76
80
  /**
77
81
  * CommissionAgreementsApi - functional programming interface
@@ -110,23 +114,27 @@ export declare const CommissionAgreementsApiFp: (configuration?: Configuration)
110
114
  * Retrieves a list of commission agreements.
111
115
  * @summary List commission agreements
112
116
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
113
- * @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;
114
- * @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;
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.
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, createdAt, mainPartnerCode&lt;/i&gt;
120
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
115
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&lt;/i&gt;
116
- * @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;
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: versions, products&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, createdAt, mainPartnerCode&lt;/i&gt;
117
124
  * @param {*} [options] Override http request option.
118
125
  * @throws {RequiredError}
119
126
  */
120
- listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>>;
127
+ 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>>;
121
128
  /**
122
129
  * This will update commission agreement.
123
130
  * @summary Update the commission agreement
131
+ * @param {string} code
124
132
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
125
133
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
134
  * @param {*} [options] Override http request option.
127
135
  * @throws {RequiredError}
128
136
  */
129
- updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementResponseClass>>;
137
+ updateCommissionAgreement(code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementResponseClass>>;
130
138
  };
131
139
  /**
132
140
  * CommissionAgreementsApi - factory interface
@@ -165,23 +173,27 @@ export declare const CommissionAgreementsApiFactory: (configuration?: Configurat
165
173
  * Retrieves a list of commission agreements.
166
174
  * @summary List commission agreements
167
175
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
168
- * @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;
169
- * @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;
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.
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, createdAt, mainPartnerCode&lt;/i&gt;
179
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
170
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&lt;/i&gt;
171
- * @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;
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: versions, products&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, createdAt, mainPartnerCode&lt;/i&gt;
172
183
  * @param {*} [options] Override http request option.
173
184
  * @throws {RequiredError}
174
185
  */
175
- listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass>;
186
+ listCommissionAgreements(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass>;
176
187
  /**
177
188
  * This will update commission agreement.
178
189
  * @summary Update the commission agreement
190
+ * @param {string} code
179
191
  * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
180
192
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
193
  * @param {*} [options] Override http request option.
182
194
  * @throws {RequiredError}
183
195
  */
184
- updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementResponseClass>;
196
+ updateCommissionAgreement(code: string, updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementResponseClass>;
185
197
  };
186
198
  /**
187
199
  * Request parameters for createCommissionAgreement operation in CommissionAgreementsApi.
@@ -259,17 +271,29 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
259
271
  */
260
272
  readonly authorization?: string;
261
273
  /**
262
- * 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;
274
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
275
+ * @type {number}
276
+ * @memberof CommissionAgreementsApiListCommissionAgreements
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 CommissionAgreementsApiListCommissionAgreements
283
+ */
284
+ readonly pageToken?: string;
285
+ /**
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, createdAt, mainPartnerCode&lt;/i&gt;
263
287
  * @type {string}
264
288
  * @memberof CommissionAgreementsApiListCommissionAgreements
265
289
  */
266
290
  readonly filter?: string;
267
291
  /**
268
- * 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;
292
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
269
293
  * @type {string}
270
294
  * @memberof CommissionAgreementsApiListCommissionAgreements
271
295
  */
272
- readonly filters?: string;
296
+ readonly search?: string;
273
297
  /**
274
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&lt;/i&gt;
275
299
  * @type {string}
@@ -277,11 +301,17 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
277
301
  */
278
302
  readonly order?: string;
279
303
  /**
280
- * 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;
304
+ * 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, products&lt;i&gt;
281
305
  * @type {string}
282
306
  * @memberof CommissionAgreementsApiListCommissionAgreements
283
307
  */
284
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, createdAt, mainPartnerCode&lt;/i&gt;
311
+ * @type {string}
312
+ * @memberof CommissionAgreementsApiListCommissionAgreements
313
+ */
314
+ readonly filters?: string;
285
315
  }
286
316
  /**
287
317
  * Request parameters for updateCommissionAgreement operation in CommissionAgreementsApi.
@@ -289,6 +319,12 @@ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
289
319
  * @interface CommissionAgreementsApiUpdateCommissionAgreementRequest
290
320
  */
291
321
  export interface CommissionAgreementsApiUpdateCommissionAgreementRequest {
322
+ /**
323
+ *
324
+ * @type {string}
325
+ * @memberof CommissionAgreementsApiUpdateCommissionAgreement
326
+ */
327
+ readonly code: string;
292
328
  /**
293
329
  *
294
330
  * @type {UpdateCommissionAgreementRequestDto}