@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 { CreateCommissionAgreementRequestDto } from '../models';
16
+ import { CreateCommissionAgreementResponseClass } from '../models';
17
+ import { GetCommissionAgreementResponseClass } from '../models';
18
+ import { ListCommissionAgreementsResponseClass } from '../models';
19
+ import { UpdateCommissionAgreementRequestDto } from '../models';
20
+ import { UpdateCommissionAgreementResponseClass } from '../models';
21
+ /**
22
+ * CommissionAgreementsApi - axios parameter creator
23
+ * @export
24
+ */
25
+ export declare const CommissionAgreementsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * This will create commission agreement.
28
+ * @summary Create the commission agreement
29
+ * @param {CreateCommissionAgreementRequestDto} createCommissionAgreementRequestDto
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
+ createCommissionAgreement: (createCommissionAgreementRequestDto: CreateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
35
+ /**
36
+ * This will delete commission agreement.
37
+ * @summary Delete the commission agreement
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
+ deleteCommissionAgreement: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
44
+ /**
45
+ * This will get commission agreement.
46
+ * @summary Retrieve the commission agreement
47
+ * @param {string} code
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
+ getCommissionAgreement: (code: string, expand: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
54
+ /**
55
+ * Retrieves a list of commission agreements.
56
+ * @summary List commission agreements
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;
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.&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;
62
+ * @param {*} [options] Override http request option.
63
+ * @throws {RequiredError}
64
+ */
65
+ listCommissionAgreements: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
66
+ /**
67
+ * This will update commission agreement.
68
+ * @summary Update the commission agreement
69
+ * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
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
+ updateCommissionAgreement: (updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
75
+ };
76
+ /**
77
+ * CommissionAgreementsApi - functional programming interface
78
+ * @export
79
+ */
80
+ export declare const CommissionAgreementsApiFp: (configuration?: Configuration) => {
81
+ /**
82
+ * This will create commission agreement.
83
+ * @summary Create the commission agreement
84
+ * @param {CreateCommissionAgreementRequestDto} createCommissionAgreementRequestDto
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
+ createCommissionAgreement(createCommissionAgreementRequestDto: CreateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionAgreementResponseClass>>;
90
+ /**
91
+ * This will delete commission agreement.
92
+ * @summary Delete the commission agreement
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
+ deleteCommissionAgreement(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
+ /**
100
+ * This will get commission agreement.
101
+ * @summary Retrieve the commission agreement
102
+ * @param {string} code
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
+ getCommissionAgreement(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionAgreementResponseClass>>;
109
+ /**
110
+ * Retrieves a list of commission agreements.
111
+ * @summary List commission agreements
112
+ * @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;
115
+ * @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;
117
+ * @param {*} [options] Override http request option.
118
+ * @throws {RequiredError}
119
+ */
120
+ listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionAgreementsResponseClass>>;
121
+ /**
122
+ * This will update commission agreement.
123
+ * @summary Update the commission agreement
124
+ * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
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
+ updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionAgreementResponseClass>>;
130
+ };
131
+ /**
132
+ * CommissionAgreementsApi - factory interface
133
+ * @export
134
+ */
135
+ export declare const CommissionAgreementsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
136
+ /**
137
+ * This will create commission agreement.
138
+ * @summary Create the commission agreement
139
+ * @param {CreateCommissionAgreementRequestDto} createCommissionAgreementRequestDto
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
+ createCommissionAgreement(createCommissionAgreementRequestDto: CreateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionAgreementResponseClass>;
145
+ /**
146
+ * This will delete commission agreement.
147
+ * @summary Delete the commission agreement
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
+ deleteCommissionAgreement(code: string, authorization?: string, options?: any): AxiosPromise<void>;
154
+ /**
155
+ * This will get commission agreement.
156
+ * @summary Retrieve the commission agreement
157
+ * @param {string} code
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
+ getCommissionAgreement(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionAgreementResponseClass>;
164
+ /**
165
+ * Retrieves a list of commission agreements.
166
+ * @summary List commission agreements
167
+ * @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;
170
+ * @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;
172
+ * @param {*} [options] Override http request option.
173
+ * @throws {RequiredError}
174
+ */
175
+ listCommissionAgreements(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListCommissionAgreementsResponseClass>;
176
+ /**
177
+ * This will update commission agreement.
178
+ * @summary Update the commission agreement
179
+ * @param {UpdateCommissionAgreementRequestDto} updateCommissionAgreementRequestDto
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
+ updateCommissionAgreement(updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionAgreementResponseClass>;
185
+ };
186
+ /**
187
+ * Request parameters for createCommissionAgreement operation in CommissionAgreementsApi.
188
+ * @export
189
+ * @interface CommissionAgreementsApiCreateCommissionAgreementRequest
190
+ */
191
+ export interface CommissionAgreementsApiCreateCommissionAgreementRequest {
192
+ /**
193
+ *
194
+ * @type {CreateCommissionAgreementRequestDto}
195
+ * @memberof CommissionAgreementsApiCreateCommissionAgreement
196
+ */
197
+ readonly createCommissionAgreementRequestDto: CreateCommissionAgreementRequestDto;
198
+ /**
199
+ * Bearer Token: provided by the login endpoint under the name accessToken.
200
+ * @type {string}
201
+ * @memberof CommissionAgreementsApiCreateCommissionAgreement
202
+ */
203
+ readonly authorization?: string;
204
+ }
205
+ /**
206
+ * Request parameters for deleteCommissionAgreement operation in CommissionAgreementsApi.
207
+ * @export
208
+ * @interface CommissionAgreementsApiDeleteCommissionAgreementRequest
209
+ */
210
+ export interface CommissionAgreementsApiDeleteCommissionAgreementRequest {
211
+ /**
212
+ * Unique identifier for the object.
213
+ * @type {string}
214
+ * @memberof CommissionAgreementsApiDeleteCommissionAgreement
215
+ */
216
+ readonly code: string;
217
+ /**
218
+ * Bearer Token: provided by the login endpoint under the name accessToken.
219
+ * @type {string}
220
+ * @memberof CommissionAgreementsApiDeleteCommissionAgreement
221
+ */
222
+ readonly authorization?: string;
223
+ }
224
+ /**
225
+ * Request parameters for getCommissionAgreement operation in CommissionAgreementsApi.
226
+ * @export
227
+ * @interface CommissionAgreementsApiGetCommissionAgreementRequest
228
+ */
229
+ export interface CommissionAgreementsApiGetCommissionAgreementRequest {
230
+ /**
231
+ *
232
+ * @type {string}
233
+ * @memberof CommissionAgreementsApiGetCommissionAgreement
234
+ */
235
+ readonly code: string;
236
+ /**
237
+ *
238
+ * @type {string}
239
+ * @memberof CommissionAgreementsApiGetCommissionAgreement
240
+ */
241
+ readonly expand: string;
242
+ /**
243
+ * Bearer Token: provided by the login endpoint under the name accessToken.
244
+ * @type {string}
245
+ * @memberof CommissionAgreementsApiGetCommissionAgreement
246
+ */
247
+ readonly authorization?: string;
248
+ }
249
+ /**
250
+ * Request parameters for listCommissionAgreements operation in CommissionAgreementsApi.
251
+ * @export
252
+ * @interface CommissionAgreementsApiListCommissionAgreementsRequest
253
+ */
254
+ export interface CommissionAgreementsApiListCommissionAgreementsRequest {
255
+ /**
256
+ * Bearer Token: provided by the login endpoint under the name accessToken.
257
+ * @type {string}
258
+ * @memberof CommissionAgreementsApiListCommissionAgreements
259
+ */
260
+ readonly authorization?: string;
261
+ /**
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;
263
+ * @type {string}
264
+ * @memberof CommissionAgreementsApiListCommissionAgreements
265
+ */
266
+ readonly filter?: string;
267
+ /**
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;
269
+ * @type {string}
270
+ * @memberof CommissionAgreementsApiListCommissionAgreements
271
+ */
272
+ readonly filters?: string;
273
+ /**
274
+ * 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
+ * @type {string}
276
+ * @memberof CommissionAgreementsApiListCommissionAgreements
277
+ */
278
+ readonly order?: string;
279
+ /**
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;
281
+ * @type {string}
282
+ * @memberof CommissionAgreementsApiListCommissionAgreements
283
+ */
284
+ readonly expand?: string;
285
+ }
286
+ /**
287
+ * Request parameters for updateCommissionAgreement operation in CommissionAgreementsApi.
288
+ * @export
289
+ * @interface CommissionAgreementsApiUpdateCommissionAgreementRequest
290
+ */
291
+ export interface CommissionAgreementsApiUpdateCommissionAgreementRequest {
292
+ /**
293
+ *
294
+ * @type {UpdateCommissionAgreementRequestDto}
295
+ * @memberof CommissionAgreementsApiUpdateCommissionAgreement
296
+ */
297
+ readonly updateCommissionAgreementRequestDto: UpdateCommissionAgreementRequestDto;
298
+ /**
299
+ * Bearer Token: provided by the login endpoint under the name accessToken.
300
+ * @type {string}
301
+ * @memberof CommissionAgreementsApiUpdateCommissionAgreement
302
+ */
303
+ readonly authorization?: string;
304
+ }
305
+ /**
306
+ * CommissionAgreementsApi - object-oriented interface
307
+ * @export
308
+ * @class CommissionAgreementsApi
309
+ * @extends {BaseAPI}
310
+ */
311
+ export declare class CommissionAgreementsApi extends BaseAPI {
312
+ /**
313
+ * This will create commission agreement.
314
+ * @summary Create the commission agreement
315
+ * @param {CommissionAgreementsApiCreateCommissionAgreementRequest} requestParameters Request parameters.
316
+ * @param {*} [options] Override http request option.
317
+ * @throws {RequiredError}
318
+ * @memberof CommissionAgreementsApi
319
+ */
320
+ createCommissionAgreement(requestParameters: CommissionAgreementsApiCreateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateCommissionAgreementResponseClass, any, {}>>;
321
+ /**
322
+ * This will delete commission agreement.
323
+ * @summary Delete the commission agreement
324
+ * @param {CommissionAgreementsApiDeleteCommissionAgreementRequest} requestParameters Request parameters.
325
+ * @param {*} [options] Override http request option.
326
+ * @throws {RequiredError}
327
+ * @memberof CommissionAgreementsApi
328
+ */
329
+ deleteCommissionAgreement(requestParameters: CommissionAgreementsApiDeleteCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}>>;
330
+ /**
331
+ * This will get commission agreement.
332
+ * @summary Retrieve the commission agreement
333
+ * @param {CommissionAgreementsApiGetCommissionAgreementRequest} requestParameters Request parameters.
334
+ * @param {*} [options] Override http request option.
335
+ * @throws {RequiredError}
336
+ * @memberof CommissionAgreementsApi
337
+ */
338
+ getCommissionAgreement(requestParameters: CommissionAgreementsApiGetCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetCommissionAgreementResponseClass, any, {}>>;
339
+ /**
340
+ * Retrieves a list of commission agreements.
341
+ * @summary List commission agreements
342
+ * @param {CommissionAgreementsApiListCommissionAgreementsRequest} requestParameters Request parameters.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ * @memberof CommissionAgreementsApi
346
+ */
347
+ listCommissionAgreements(requestParameters?: CommissionAgreementsApiListCommissionAgreementsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListCommissionAgreementsResponseClass, any, {}>>;
348
+ /**
349
+ * This will update commission agreement.
350
+ * @summary Update the commission agreement
351
+ * @param {CommissionAgreementsApiUpdateCommissionAgreementRequest} requestParameters Request parameters.
352
+ * @param {*} [options] Override http request option.
353
+ * @throws {RequiredError}
354
+ * @memberof CommissionAgreementsApi
355
+ */
356
+ updateCommissionAgreement(requestParameters: CommissionAgreementsApiUpdateCommissionAgreementRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UpdateCommissionAgreementResponseClass, any, {}>>;
357
+ }