@emilgroup/commission-sdk-node 1.0.0-beta.1

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 (106) hide show
  1. package/.openapi-generator/FILES +40 -0
  2. package/.openapi-generator/VERSION +1 -0
  3. package/.openapi-generator-ignore +23 -0
  4. package/README.md +84 -0
  5. package/api/commission-agreement-versions-api.ts +535 -0
  6. package/api/commission-agreements-api.ts +642 -0
  7. package/api/commissions-api.ts +641 -0
  8. package/api/default-api.ts +128 -0
  9. package/api.ts +37 -0
  10. package/base.ts +327 -0
  11. package/common.ts +199 -0
  12. package/configuration.ts +118 -0
  13. package/dist/api/commission-agreement-versions-api.d.ts +300 -0
  14. package/dist/api/commission-agreement-versions-api.js +531 -0
  15. package/dist/api/commission-agreements-api.d.ts +357 -0
  16. package/dist/api/commission-agreements-api.js +624 -0
  17. package/dist/api/commissions-api.d.ts +357 -0
  18. package/dist/api/commissions-api.js +624 -0
  19. package/dist/api/default-api.d.ts +70 -0
  20. package/dist/api/default-api.js +204 -0
  21. package/dist/api.d.ts +15 -0
  22. package/dist/api.js +33 -0
  23. package/dist/base.d.ts +88 -0
  24. package/dist/base.js +434 -0
  25. package/dist/common.d.ts +92 -0
  26. package/dist/common.js +277 -0
  27. package/dist/configuration.d.ts +96 -0
  28. package/dist/configuration.js +52 -0
  29. package/dist/index.d.ts +15 -0
  30. package/dist/index.js +36 -0
  31. package/dist/models/commission-agreement-class.d.ts +89 -0
  32. package/dist/models/commission-agreement-class.js +25 -0
  33. package/dist/models/commission-agreement-version-class.d.ts +79 -0
  34. package/dist/models/commission-agreement-version-class.js +15 -0
  35. package/dist/models/commission-class.d.ts +103 -0
  36. package/dist/models/commission-class.js +15 -0
  37. package/dist/models/commission-item-class.d.ts +84 -0
  38. package/dist/models/commission-item-class.js +21 -0
  39. package/dist/models/create-commission-agreement-request-dto.d.ts +71 -0
  40. package/dist/models/create-commission-agreement-request-dto.js +25 -0
  41. package/dist/models/create-commission-agreement-response-class.d.ts +25 -0
  42. package/dist/models/create-commission-agreement-response-class.js +15 -0
  43. package/dist/models/create-commission-agreement-version-request-dto.d.ts +42 -0
  44. package/dist/models/create-commission-agreement-version-request-dto.js +15 -0
  45. package/dist/models/create-commission-agreement-version-response-class.d.ts +25 -0
  46. package/dist/models/create-commission-agreement-version-response-class.js +15 -0
  47. package/dist/models/create-commission-item-request-dto.d.ts +48 -0
  48. package/dist/models/create-commission-item-request-dto.js +21 -0
  49. package/dist/models/create-commission-request-dto.d.ts +55 -0
  50. package/dist/models/create-commission-request-dto.js +15 -0
  51. package/dist/models/create-commission-response-class.d.ts +25 -0
  52. package/dist/models/create-commission-response-class.js +15 -0
  53. package/dist/models/get-commission-agreement-response-class.d.ts +25 -0
  54. package/dist/models/get-commission-agreement-response-class.js +15 -0
  55. package/dist/models/get-commission-agreement-version-response-class.d.ts +25 -0
  56. package/dist/models/get-commission-agreement-version-response-class.js +15 -0
  57. package/dist/models/get-commission-response-class.d.ts +25 -0
  58. package/dist/models/get-commission-response-class.js +15 -0
  59. package/dist/models/index.d.ts +23 -0
  60. package/dist/models/index.js +39 -0
  61. package/dist/models/inline-response200.d.ts +54 -0
  62. package/dist/models/inline-response200.js +15 -0
  63. package/dist/models/inline-response503.d.ts +54 -0
  64. package/dist/models/inline-response503.js +15 -0
  65. package/dist/models/list-commission-agreement-versions-response-class.d.ts +43 -0
  66. package/dist/models/list-commission-agreement-versions-response-class.js +15 -0
  67. package/dist/models/list-commission-agreements-response-class.d.ts +43 -0
  68. package/dist/models/list-commission-agreements-response-class.js +15 -0
  69. package/dist/models/list-commissions-response-class.d.ts +43 -0
  70. package/dist/models/list-commissions-response-class.js +15 -0
  71. package/dist/models/update-commission-agreement-request-dto.d.ts +48 -0
  72. package/dist/models/update-commission-agreement-request-dto.js +21 -0
  73. package/dist/models/update-commission-agreement-response-class.d.ts +25 -0
  74. package/dist/models/update-commission-agreement-response-class.js +15 -0
  75. package/dist/models/update-commission-request-dto.d.ts +53 -0
  76. package/dist/models/update-commission-request-dto.js +20 -0
  77. package/dist/models/update-commission-response-class.d.ts +25 -0
  78. package/dist/models/update-commission-response-class.js +15 -0
  79. package/git_push.sh +57 -0
  80. package/index.ts +19 -0
  81. package/models/commission-agreement-class.ts +99 -0
  82. package/models/commission-agreement-version-class.ts +85 -0
  83. package/models/commission-class.ts +109 -0
  84. package/models/commission-item-class.ts +93 -0
  85. package/models/create-commission-agreement-request-dto.ts +81 -0
  86. package/models/create-commission-agreement-response-class.ts +31 -0
  87. package/models/create-commission-agreement-version-request-dto.ts +48 -0
  88. package/models/create-commission-agreement-version-response-class.ts +31 -0
  89. package/models/create-commission-item-request-dto.ts +57 -0
  90. package/models/create-commission-request-dto.ts +61 -0
  91. package/models/create-commission-response-class.ts +31 -0
  92. package/models/get-commission-agreement-response-class.ts +31 -0
  93. package/models/get-commission-agreement-version-response-class.ts +31 -0
  94. package/models/get-commission-response-class.ts +31 -0
  95. package/models/index.ts +23 -0
  96. package/models/inline-response200.ts +48 -0
  97. package/models/inline-response503.ts +48 -0
  98. package/models/list-commission-agreement-versions-response-class.ts +49 -0
  99. package/models/list-commission-agreements-response-class.ts +49 -0
  100. package/models/list-commissions-response-class.ts +49 -0
  101. package/models/update-commission-agreement-request-dto.ts +57 -0
  102. package/models/update-commission-agreement-response-class.ts +31 -0
  103. package/models/update-commission-request-dto.ts +62 -0
  104. package/models/update-commission-response-class.ts +31 -0
  105. package/package.json +29 -0
  106. package/tsconfig.json +23 -0
@@ -0,0 +1,357 @@
1
+ /**
2
+ * EMIL CommissionService
3
+ * The EMIL CommissionService API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
+ import { Configuration } from '../configuration';
14
+ import { RequestArgs, BaseAPI } from '../base';
15
+ import { CreateCommissionRequestDto } from '../models';
16
+ import { CreateCommissionResponseClass } from '../models';
17
+ import { GetCommissionResponseClass } from '../models';
18
+ import { ListCommissionsResponseClass } from '../models';
19
+ import { UpdateCommissionRequestDto } from '../models';
20
+ import { UpdateCommissionResponseClass } from '../models';
21
+ /**
22
+ * CommissionsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const CommissionsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create commission.
28
+ * @summary Create the commission
29
+ * @param {CreateCommissionRequestDto} createCommissionRequestDto
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ createCommission: (createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This will delete commission.
37
+ * @summary Delete the commission
38
+ * @param {string} code Unique identifier for the object.
39
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
40
+ * @param {*} [options] Override http request option.
41
+ * @throws {RequiredError}
42
+ */
43
+ deleteCommission: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * This will get commission.
46
+ * @summary Retrieve the commission
47
+ * @param {string} code Unique identifier for the object.
48
+ * @param {string} expand
49
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
50
+ * @param {*} [options] Override http request option.
51
+ * @throws {RequiredError}
52
+ */
53
+ getCommission: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Retrieves a list of commissions.
56
+ * @summary List commissions
57
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
+ * @param {'createdAt'} [order]
59
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter]
60
+ * @param {'items'} [expand]
61
+ * @param {*} [options] Override http request option.
62
+ * @throws {RequiredError}
63
+ */
64
+ listCommissions: (authorization?: string, order?: 'createdAt', filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', expand?: 'items', options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ /**
66
+ * This will update commission.
67
+ * @summary Update the commission
68
+ * @param {string} code
69
+ * @param {UpdateCommissionRequestDto} updateCommissionRequestDto
70
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
71
+ * @param {*} [options] Override http request option.
72
+ * @throws {RequiredError}
73
+ */
74
+ updateCommission: (code: string, updateCommissionRequestDto: UpdateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ };
76
+ /**
77
+ * CommissionsApi - functional programming interface
78
+ * @export
79
+ */
80
+ export declare const CommissionsApiFp: (configuration?: Configuration) => {
81
+ /**
82
+ * This will create commission.
83
+ * @summary Create the commission
84
+ * @param {CreateCommissionRequestDto} createCommissionRequestDto
85
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
86
+ * @param {*} [options] Override http request option.
87
+ * @throws {RequiredError}
88
+ */
89
+ createCommission(createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionResponseClass>>;
90
+ /**
91
+ * This will delete commission.
92
+ * @summary Delete the commission
93
+ * @param {string} code Unique identifier for the object.
94
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
95
+ * @param {*} [options] Override http request option.
96
+ * @throws {RequiredError}
97
+ */
98
+ deleteCommission(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
+ /**
100
+ * This will get commission.
101
+ * @summary Retrieve the commission
102
+ * @param {string} code Unique identifier for the object.
103
+ * @param {string} expand
104
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
+ * @param {*} [options] Override http request option.
106
+ * @throws {RequiredError}
107
+ */
108
+ getCommission(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionResponseClass>>;
109
+ /**
110
+ * Retrieves a list of commissions.
111
+ * @summary List commissions
112
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
113
+ * @param {'createdAt'} [order]
114
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter]
115
+ * @param {'items'} [expand]
116
+ * @param {*} [options] Override http request option.
117
+ * @throws {RequiredError}
118
+ */
119
+ listCommissions(authorization?: string, order?: 'createdAt', filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', expand?: 'items', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionsResponseClass>>;
120
+ /**
121
+ * This will update commission.
122
+ * @summary Update the commission
123
+ * @param {string} code
124
+ * @param {UpdateCommissionRequestDto} updateCommissionRequestDto
125
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ updateCommission(code: string, updateCommissionRequestDto: UpdateCommissionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionResponseClass>>;
130
+ };
131
+ /**
132
+ * CommissionsApi - factory interface
133
+ * @export
134
+ */
135
+ export declare const CommissionsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
136
+ /**
137
+ * This will create commission.
138
+ * @summary Create the commission
139
+ * @param {CreateCommissionRequestDto} createCommissionRequestDto
140
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
141
+ * @param {*} [options] Override http request option.
142
+ * @throws {RequiredError}
143
+ */
144
+ createCommission(createCommissionRequestDto: CreateCommissionRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionResponseClass>;
145
+ /**
146
+ * This will delete commission.
147
+ * @summary Delete the commission
148
+ * @param {string} code Unique identifier for the object.
149
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
150
+ * @param {*} [options] Override http request option.
151
+ * @throws {RequiredError}
152
+ */
153
+ deleteCommission(code: string, authorization?: string, options?: any): AxiosPromise<void>;
154
+ /**
155
+ * This will get commission.
156
+ * @summary Retrieve the commission
157
+ * @param {string} code Unique identifier for the object.
158
+ * @param {string} expand
159
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
160
+ * @param {*} [options] Override http request option.
161
+ * @throws {RequiredError}
162
+ */
163
+ getCommission(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionResponseClass>;
164
+ /**
165
+ * Retrieves a list of commissions.
166
+ * @summary List commissions
167
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
168
+ * @param {'createdAt'} [order]
169
+ * @param {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'} [filter]
170
+ * @param {'items'} [expand]
171
+ * @param {*} [options] Override http request option.
172
+ * @throws {RequiredError}
173
+ */
174
+ listCommissions(authorization?: string, order?: 'createdAt', filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt', expand?: 'items', options?: any): AxiosPromise<ListCommissionsResponseClass>;
175
+ /**
176
+ * This will update commission.
177
+ * @summary Update the commission
178
+ * @param {string} code
179
+ * @param {UpdateCommissionRequestDto} updateCommissionRequestDto
180
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
181
+ * @param {*} [options] Override http request option.
182
+ * @throws {RequiredError}
183
+ */
184
+ updateCommission(code: string, updateCommissionRequestDto: UpdateCommissionRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionResponseClass>;
185
+ };
186
+ /**
187
+ * Request parameters for createCommission operation in CommissionsApi.
188
+ * @export
189
+ * @interface CommissionsApiCreateCommissionRequest
190
+ */
191
+ export interface CommissionsApiCreateCommissionRequest {
192
+ /**
193
+ *
194
+ * @type {CreateCommissionRequestDto}
195
+ * @memberof CommissionsApiCreateCommission
196
+ */
197
+ readonly createCommissionRequestDto: CreateCommissionRequestDto;
198
+ /**
199
+ * Bearer Token: provided by the login endpoint under the name accessToken.
200
+ * @type {string}
201
+ * @memberof CommissionsApiCreateCommission
202
+ */
203
+ readonly authorization?: string;
204
+ }
205
+ /**
206
+ * Request parameters for deleteCommission operation in CommissionsApi.
207
+ * @export
208
+ * @interface CommissionsApiDeleteCommissionRequest
209
+ */
210
+ export interface CommissionsApiDeleteCommissionRequest {
211
+ /**
212
+ * Unique identifier for the object.
213
+ * @type {string}
214
+ * @memberof CommissionsApiDeleteCommission
215
+ */
216
+ readonly code: string;
217
+ /**
218
+ * Bearer Token: provided by the login endpoint under the name accessToken.
219
+ * @type {string}
220
+ * @memberof CommissionsApiDeleteCommission
221
+ */
222
+ readonly authorization?: string;
223
+ }
224
+ /**
225
+ * Request parameters for getCommission operation in CommissionsApi.
226
+ * @export
227
+ * @interface CommissionsApiGetCommissionRequest
228
+ */
229
+ export interface CommissionsApiGetCommissionRequest {
230
+ /**
231
+ * Unique identifier for the object.
232
+ * @type {string}
233
+ * @memberof CommissionsApiGetCommission
234
+ */
235
+ readonly code: string;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof CommissionsApiGetCommission
240
+ */
241
+ readonly expand: string;
242
+ /**
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
+ * @type {string}
245
+ * @memberof CommissionsApiGetCommission
246
+ */
247
+ readonly authorization?: string;
248
+ }
249
+ /**
250
+ * Request parameters for listCommissions operation in CommissionsApi.
251
+ * @export
252
+ * @interface CommissionsApiListCommissionsRequest
253
+ */
254
+ export interface CommissionsApiListCommissionsRequest {
255
+ /**
256
+ * Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @type {string}
258
+ * @memberof CommissionsApiListCommissions
259
+ */
260
+ readonly authorization?: string;
261
+ /**
262
+ *
263
+ * @type {'createdAt'}
264
+ * @memberof CommissionsApiListCommissions
265
+ */
266
+ readonly order?: 'createdAt';
267
+ /**
268
+ *
269
+ * @type {'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt'}
270
+ * @memberof CommissionsApiListCommissions
271
+ */
272
+ readonly filter?: 'id' | 'code' | 'partnerCode' | 'policyCode' | 'commissionAgreementCode' | 'commissionAgreementVersionId' | 'status' | 'amount' | 'description' | 'createdBy' | 'updatedBy' | 'createdAt' | 'updatedAt';
273
+ /**
274
+ *
275
+ * @type {'items'}
276
+ * @memberof CommissionsApiListCommissions
277
+ */
278
+ readonly expand?: 'items';
279
+ }
280
+ /**
281
+ * Request parameters for updateCommission operation in CommissionsApi.
282
+ * @export
283
+ * @interface CommissionsApiUpdateCommissionRequest
284
+ */
285
+ export interface CommissionsApiUpdateCommissionRequest {
286
+ /**
287
+ *
288
+ * @type {string}
289
+ * @memberof CommissionsApiUpdateCommission
290
+ */
291
+ readonly code: string;
292
+ /**
293
+ *
294
+ * @type {UpdateCommissionRequestDto}
295
+ * @memberof CommissionsApiUpdateCommission
296
+ */
297
+ readonly updateCommissionRequestDto: UpdateCommissionRequestDto;
298
+ /**
299
+ * Bearer Token: provided by the login endpoint under the name accessToken.
300
+ * @type {string}
301
+ * @memberof CommissionsApiUpdateCommission
302
+ */
303
+ readonly authorization?: string;
304
+ }
305
+ /**
306
+ * CommissionsApi - object-oriented interface
307
+ * @export
308
+ * @class CommissionsApi
309
+ * @extends {BaseAPI}
310
+ */
311
+ export declare class CommissionsApi extends BaseAPI {
312
+ /**
313
+ * This will create commission.
314
+ * @summary Create the commission
315
+ * @param {CommissionsApiCreateCommissionRequest} requestParameters Request parameters.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ * @memberof CommissionsApi
319
+ */
320
+ createCommission(requestParameters: CommissionsApiCreateCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionResponseClass, any, {}>>;
321
+ /**
322
+ * This will delete commission.
323
+ * @summary Delete the commission
324
+ * @param {CommissionsApiDeleteCommissionRequest} requestParameters Request parameters.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ * @memberof CommissionsApi
328
+ */
329
+ deleteCommission(requestParameters: CommissionsApiDeleteCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
330
+ /**
331
+ * This will get commission.
332
+ * @summary Retrieve the commission
333
+ * @param {CommissionsApiGetCommissionRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof CommissionsApi
337
+ */
338
+ getCommission(requestParameters: CommissionsApiGetCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionResponseClass, any, {}>>;
339
+ /**
340
+ * Retrieves a list of commissions.
341
+ * @summary List commissions
342
+ * @param {CommissionsApiListCommissionsRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof CommissionsApi
346
+ */
347
+ listCommissions(requestParameters?: CommissionsApiListCommissionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionsResponseClass, any, {}>>;
348
+ /**
349
+ * This will update commission.
350
+ * @summary Update the commission
351
+ * @param {CommissionsApiUpdateCommissionRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof CommissionsApi
355
+ */
356
+ updateCommission(requestParameters: CommissionsApiUpdateCommissionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionResponseClass, any, {}>>;
357
+ }