@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
@@ -0,0 +1,697 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL CommissionService
5
+ * The EMIL CommissionService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+ import globalAxios, { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
17
+ import { Configuration } from '../configuration';
18
+ // Some imports not used depending on template conditions
19
+ // @ts-ignore
20
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
+ // @ts-ignore
22
+ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
+ // @ts-ignore
24
+ import { CreateCommissionRecipientRequestDto } from '../models';
25
+ // @ts-ignore
26
+ import { CreateCommissionRecipientResponseClass } from '../models';
27
+ // @ts-ignore
28
+ import { GetCommissionRecipientResponseClass } from '../models';
29
+ // @ts-ignore
30
+ import { ListCommissionRecipientsResponseClass } from '../models';
31
+ // @ts-ignore
32
+ import { UpdateCommissionRecipientRequestDto } from '../models';
33
+ // @ts-ignore
34
+ import { UpdateCommissionRecipientResponseClass } from '../models';
35
+ // URLSearchParams not necessarily used
36
+ // @ts-ignore
37
+ import { URL, URLSearchParams } from 'url';
38
+ const FormData = require('form-data');
39
+ /**
40
+ * CommissionRecipientsApi - axios parameter creator
41
+ * @export
42
+ */
43
+ export const CommissionRecipientsApiAxiosParamCreator = function (configuration?: Configuration) {
44
+ return {
45
+ /**
46
+ * This will create commission recipient.
47
+ * @summary Create the commission recipient
48
+ * @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
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
+ createCommissionRecipient: async (createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
54
+ // verify required parameter 'createCommissionRecipientRequestDto' is not null or undefined
55
+ assertParamExists('createCommissionRecipient', 'createCommissionRecipientRequestDto', createCommissionRecipientRequestDto)
56
+ const localVarPath = `/commissionservice/v1/commission-recipients`;
57
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
58
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
59
+ let baseOptions;
60
+ let baseAccessToken;
61
+ if (configuration) {
62
+ baseOptions = configuration.baseOptions;
63
+ baseAccessToken = configuration.accessToken;
64
+ }
65
+
66
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
67
+ const localVarHeaderParameter = {} as any;
68
+ const localVarQueryParameter = {} as any;
69
+
70
+ // authentication bearer required
71
+ // http bearer authentication required
72
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
73
+
74
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
75
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
76
+ }
77
+
78
+
79
+
80
+ localVarHeaderParameter['Content-Type'] = 'application/json';
81
+
82
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
84
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
85
+ localVarRequestOptions.data = serializeDataIfNeeded(createCommissionRecipientRequestDto, localVarRequestOptions, configuration)
86
+
87
+ return {
88
+ url: toPathString(localVarUrlObj),
89
+ options: localVarRequestOptions,
90
+ };
91
+ },
92
+ /**
93
+ * This will delete commission recipient.
94
+ * @summary Delete the commission recipient
95
+ * @param {string} code Unique identifier for the object.
96
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
97
+ * @param {*} [options] Override http request option.
98
+ * @throws {RequiredError}
99
+ */
100
+ deleteCommissionRecipient: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
101
+ // verify required parameter 'code' is not null or undefined
102
+ assertParamExists('deleteCommissionRecipient', 'code', code)
103
+ const localVarPath = `/commissionservice/v1/commission-recipients/{code}`
104
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
105
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
106
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
107
+ let baseOptions;
108
+ let baseAccessToken;
109
+ if (configuration) {
110
+ baseOptions = configuration.baseOptions;
111
+ baseAccessToken = configuration.accessToken;
112
+ }
113
+
114
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
115
+ const localVarHeaderParameter = {} as any;
116
+ const localVarQueryParameter = {} as any;
117
+
118
+ // authentication bearer required
119
+ // http bearer authentication required
120
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
121
+
122
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
123
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
124
+ }
125
+
126
+
127
+
128
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
129
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
130
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
131
+
132
+ return {
133
+ url: toPathString(localVarUrlObj),
134
+ options: localVarRequestOptions,
135
+ };
136
+ },
137
+ /**
138
+ * This will get commission recipient.
139
+ * @summary Retrieve the commission recipient
140
+ * @param {string} code
141
+ * @param {string} expand
142
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ getCommissionRecipient: async (code: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ // verify required parameter 'code' is not null or undefined
148
+ assertParamExists('getCommissionRecipient', 'code', code)
149
+ // verify required parameter 'expand' is not null or undefined
150
+ assertParamExists('getCommissionRecipient', 'expand', expand)
151
+ const localVarPath = `/commissionservice/v1/commission-recipients/{code}`
152
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
153
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
154
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
155
+ let baseOptions;
156
+ let baseAccessToken;
157
+ if (configuration) {
158
+ baseOptions = configuration.baseOptions;
159
+ baseAccessToken = configuration.accessToken;
160
+ }
161
+
162
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
163
+ const localVarHeaderParameter = {} as any;
164
+ const localVarQueryParameter = {} as any;
165
+
166
+ // authentication bearer required
167
+ // http bearer authentication required
168
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
169
+
170
+ if (expand !== undefined) {
171
+ localVarQueryParameter['expand'] = expand;
172
+ }
173
+
174
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
175
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
176
+ }
177
+
178
+
179
+
180
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
181
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
182
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
183
+
184
+ return {
185
+ url: toPathString(localVarUrlObj),
186
+ options: localVarRequestOptions,
187
+ };
188
+ },
189
+ /**
190
+ * Retrieves a list of commission recipients.
191
+ * @summary List commission recipients
192
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
193
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
194
+ * @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.
195
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
196
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
197
+ * @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;
198
+ * @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: commissionAgreementVersion&lt;i&gt;
199
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
200
+ * @param {*} [options] Override http request option.
201
+ * @throws {RequiredError}
202
+ */
203
+ listCommissionRecipients: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
204
+ const localVarPath = `/commissionservice/v1/commission-recipients`;
205
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
206
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
207
+ let baseOptions;
208
+ let baseAccessToken;
209
+ if (configuration) {
210
+ baseOptions = configuration.baseOptions;
211
+ baseAccessToken = configuration.accessToken;
212
+ }
213
+
214
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
215
+ const localVarHeaderParameter = {} as any;
216
+ const localVarQueryParameter = {} as any;
217
+
218
+ // authentication bearer required
219
+ // http bearer authentication required
220
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
+
222
+ if (pageSize !== undefined) {
223
+ localVarQueryParameter['pageSize'] = pageSize;
224
+ }
225
+
226
+ if (pageToken !== undefined) {
227
+ localVarQueryParameter['pageToken'] = pageToken;
228
+ }
229
+
230
+ if (filter !== undefined) {
231
+ localVarQueryParameter['filter'] = filter;
232
+ }
233
+
234
+ if (search !== undefined) {
235
+ localVarQueryParameter['search'] = search;
236
+ }
237
+
238
+ if (order !== undefined) {
239
+ localVarQueryParameter['order'] = order;
240
+ }
241
+
242
+ if (expand !== undefined) {
243
+ localVarQueryParameter['expand'] = expand;
244
+ }
245
+
246
+ if (filters !== undefined) {
247
+ localVarQueryParameter['filters'] = filters;
248
+ }
249
+
250
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
+ }
253
+
254
+
255
+
256
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
257
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
258
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
259
+
260
+ return {
261
+ url: toPathString(localVarUrlObj),
262
+ options: localVarRequestOptions,
263
+ };
264
+ },
265
+ /**
266
+ * This will update commission recipient.
267
+ * @summary Update the commission recipient
268
+ * @param {string} code
269
+ * @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
270
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
271
+ * @param {*} [options] Override http request option.
272
+ * @throws {RequiredError}
273
+ */
274
+ updateCommissionRecipient: async (code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
275
+ // verify required parameter 'code' is not null or undefined
276
+ assertParamExists('updateCommissionRecipient', 'code', code)
277
+ // verify required parameter 'updateCommissionRecipientRequestDto' is not null or undefined
278
+ assertParamExists('updateCommissionRecipient', 'updateCommissionRecipientRequestDto', updateCommissionRecipientRequestDto)
279
+ const localVarPath = `/commissionservice/v1/commission-recipients/{code}`
280
+ .replace(`{${"code"}}`, encodeURIComponent(String(code)));
281
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
282
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
283
+ let baseOptions;
284
+ let baseAccessToken;
285
+ if (configuration) {
286
+ baseOptions = configuration.baseOptions;
287
+ baseAccessToken = configuration.accessToken;
288
+ }
289
+
290
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
291
+ const localVarHeaderParameter = {} as any;
292
+ const localVarQueryParameter = {} as any;
293
+
294
+ // authentication bearer required
295
+ // http bearer authentication required
296
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
297
+
298
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
299
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
300
+ }
301
+
302
+
303
+
304
+ localVarHeaderParameter['Content-Type'] = 'application/json';
305
+
306
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
307
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
308
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
309
+ localVarRequestOptions.data = serializeDataIfNeeded(updateCommissionRecipientRequestDto, localVarRequestOptions, configuration)
310
+
311
+ return {
312
+ url: toPathString(localVarUrlObj),
313
+ options: localVarRequestOptions,
314
+ };
315
+ },
316
+ }
317
+ };
318
+
319
+ /**
320
+ * CommissionRecipientsApi - functional programming interface
321
+ * @export
322
+ */
323
+ export const CommissionRecipientsApiFp = function(configuration?: Configuration) {
324
+ const localVarAxiosParamCreator = CommissionRecipientsApiAxiosParamCreator(configuration)
325
+ return {
326
+ /**
327
+ * This will create commission recipient.
328
+ * @summary Create the commission recipient
329
+ * @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
330
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
331
+ * @param {*} [options] Override http request option.
332
+ * @throws {RequiredError}
333
+ */
334
+ async createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateCommissionRecipientResponseClass>> {
335
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options);
336
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
337
+ },
338
+ /**
339
+ * This will delete commission recipient.
340
+ * @summary Delete the commission recipient
341
+ * @param {string} code Unique identifier for the object.
342
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
343
+ * @param {*} [options] Override http request option.
344
+ * @throws {RequiredError}
345
+ */
346
+ async deleteCommissionRecipient(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
347
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCommissionRecipient(code, authorization, options);
348
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
349
+ },
350
+ /**
351
+ * This will get commission recipient.
352
+ * @summary Retrieve the commission recipient
353
+ * @param {string} code
354
+ * @param {string} expand
355
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
356
+ * @param {*} [options] Override http request option.
357
+ * @throws {RequiredError}
358
+ */
359
+ async getCommissionRecipient(code: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetCommissionRecipientResponseClass>> {
360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getCommissionRecipient(code, expand, authorization, options);
361
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
362
+ },
363
+ /**
364
+ * Retrieves a list of commission recipients.
365
+ * @summary List commission recipients
366
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
367
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
368
+ * @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.
369
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
370
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
371
+ * @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;
372
+ * @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: commissionAgreementVersion&lt;i&gt;
373
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
374
+ * @param {*} [options] Override http request option.
375
+ * @throws {RequiredError}
376
+ */
377
+ async listCommissionRecipients(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListCommissionRecipientsResponseClass>> {
378
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listCommissionRecipients(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
379
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
380
+ },
381
+ /**
382
+ * This will update commission recipient.
383
+ * @summary Update the commission recipient
384
+ * @param {string} code
385
+ * @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
386
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
387
+ * @param {*} [options] Override http request option.
388
+ * @throws {RequiredError}
389
+ */
390
+ async updateCommissionRecipient(code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UpdateCommissionRecipientResponseClass>> {
391
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateCommissionRecipient(code, updateCommissionRecipientRequestDto, authorization, options);
392
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
393
+ },
394
+ }
395
+ };
396
+
397
+ /**
398
+ * CommissionRecipientsApi - factory interface
399
+ * @export
400
+ */
401
+ export const CommissionRecipientsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
402
+ const localVarFp = CommissionRecipientsApiFp(configuration)
403
+ return {
404
+ /**
405
+ * This will create commission recipient.
406
+ * @summary Create the commission recipient
407
+ * @param {CreateCommissionRecipientRequestDto} createCommissionRecipientRequestDto
408
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
409
+ * @param {*} [options] Override http request option.
410
+ * @throws {RequiredError}
411
+ */
412
+ createCommissionRecipient(createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<CreateCommissionRecipientResponseClass> {
413
+ return localVarFp.createCommissionRecipient(createCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
414
+ },
415
+ /**
416
+ * This will delete commission recipient.
417
+ * @summary Delete the commission recipient
418
+ * @param {string} code Unique identifier for the object.
419
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
420
+ * @param {*} [options] Override http request option.
421
+ * @throws {RequiredError}
422
+ */
423
+ deleteCommissionRecipient(code: string, authorization?: string, options?: any): AxiosPromise<void> {
424
+ return localVarFp.deleteCommissionRecipient(code, authorization, options).then((request) => request(axios, basePath));
425
+ },
426
+ /**
427
+ * This will get commission recipient.
428
+ * @summary Retrieve the commission recipient
429
+ * @param {string} code
430
+ * @param {string} expand
431
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
432
+ * @param {*} [options] Override http request option.
433
+ * @throws {RequiredError}
434
+ */
435
+ getCommissionRecipient(code: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetCommissionRecipientResponseClass> {
436
+ return localVarFp.getCommissionRecipient(code, expand, authorization, options).then((request) => request(axios, basePath));
437
+ },
438
+ /**
439
+ * Retrieves a list of commission recipients.
440
+ * @summary List commission recipients
441
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
442
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
443
+ * @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.
444
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
445
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
446
+ * @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;
447
+ * @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: commissionAgreementVersion&lt;i&gt;
448
+ * @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, displayName, partnerCode, status, createdAt&lt;/i&gt;
449
+ * @param {*} [options] Override http request option.
450
+ * @throws {RequiredError}
451
+ */
452
+ listCommissionRecipients(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListCommissionRecipientsResponseClass> {
453
+ return localVarFp.listCommissionRecipients(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
454
+ },
455
+ /**
456
+ * This will update commission recipient.
457
+ * @summary Update the commission recipient
458
+ * @param {string} code
459
+ * @param {UpdateCommissionRecipientRequestDto} updateCommissionRecipientRequestDto
460
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
+ * @param {*} [options] Override http request option.
462
+ * @throws {RequiredError}
463
+ */
464
+ updateCommissionRecipient(code: string, updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto, authorization?: string, options?: any): AxiosPromise<UpdateCommissionRecipientResponseClass> {
465
+ return localVarFp.updateCommissionRecipient(code, updateCommissionRecipientRequestDto, authorization, options).then((request) => request(axios, basePath));
466
+ },
467
+ };
468
+ };
469
+
470
+ /**
471
+ * Request parameters for createCommissionRecipient operation in CommissionRecipientsApi.
472
+ * @export
473
+ * @interface CommissionRecipientsApiCreateCommissionRecipientRequest
474
+ */
475
+ export interface CommissionRecipientsApiCreateCommissionRecipientRequest {
476
+ /**
477
+ *
478
+ * @type {CreateCommissionRecipientRequestDto}
479
+ * @memberof CommissionRecipientsApiCreateCommissionRecipient
480
+ */
481
+ readonly createCommissionRecipientRequestDto: CreateCommissionRecipientRequestDto
482
+
483
+ /**
484
+ * Bearer Token: provided by the login endpoint under the name accessToken.
485
+ * @type {string}
486
+ * @memberof CommissionRecipientsApiCreateCommissionRecipient
487
+ */
488
+ readonly authorization?: string
489
+ }
490
+
491
+ /**
492
+ * Request parameters for deleteCommissionRecipient operation in CommissionRecipientsApi.
493
+ * @export
494
+ * @interface CommissionRecipientsApiDeleteCommissionRecipientRequest
495
+ */
496
+ export interface CommissionRecipientsApiDeleteCommissionRecipientRequest {
497
+ /**
498
+ * Unique identifier for the object.
499
+ * @type {string}
500
+ * @memberof CommissionRecipientsApiDeleteCommissionRecipient
501
+ */
502
+ readonly code: string
503
+
504
+ /**
505
+ * Bearer Token: provided by the login endpoint under the name accessToken.
506
+ * @type {string}
507
+ * @memberof CommissionRecipientsApiDeleteCommissionRecipient
508
+ */
509
+ readonly authorization?: string
510
+ }
511
+
512
+ /**
513
+ * Request parameters for getCommissionRecipient operation in CommissionRecipientsApi.
514
+ * @export
515
+ * @interface CommissionRecipientsApiGetCommissionRecipientRequest
516
+ */
517
+ export interface CommissionRecipientsApiGetCommissionRecipientRequest {
518
+ /**
519
+ *
520
+ * @type {string}
521
+ * @memberof CommissionRecipientsApiGetCommissionRecipient
522
+ */
523
+ readonly code: string
524
+
525
+ /**
526
+ *
527
+ * @type {string}
528
+ * @memberof CommissionRecipientsApiGetCommissionRecipient
529
+ */
530
+ readonly expand: string
531
+
532
+ /**
533
+ * Bearer Token: provided by the login endpoint under the name accessToken.
534
+ * @type {string}
535
+ * @memberof CommissionRecipientsApiGetCommissionRecipient
536
+ */
537
+ readonly authorization?: string
538
+ }
539
+
540
+ /**
541
+ * Request parameters for listCommissionRecipients operation in CommissionRecipientsApi.
542
+ * @export
543
+ * @interface CommissionRecipientsApiListCommissionRecipientsRequest
544
+ */
545
+ export interface CommissionRecipientsApiListCommissionRecipientsRequest {
546
+ /**
547
+ * Bearer Token: provided by the login endpoint under the name accessToken.
548
+ * @type {string}
549
+ * @memberof CommissionRecipientsApiListCommissionRecipients
550
+ */
551
+ readonly authorization?: string
552
+
553
+ /**
554
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
555
+ * @type {number}
556
+ * @memberof CommissionRecipientsApiListCommissionRecipients
557
+ */
558
+ readonly pageSize?: number
559
+
560
+ /**
561
+ * 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.
562
+ * @type {string}
563
+ * @memberof CommissionRecipientsApiListCommissionRecipients
564
+ */
565
+ readonly pageToken?: string
566
+
567
+ /**
568
+ * 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, displayName, partnerCode, status, createdAt&lt;/i&gt;
569
+ * @type {string}
570
+ * @memberof CommissionRecipientsApiListCommissionRecipients
571
+ */
572
+ readonly filter?: string
573
+
574
+ /**
575
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
576
+ * @type {string}
577
+ * @memberof CommissionRecipientsApiListCommissionRecipients
578
+ */
579
+ readonly search?: string
580
+
581
+ /**
582
+ * 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;
583
+ * @type {string}
584
+ * @memberof CommissionRecipientsApiListCommissionRecipients
585
+ */
586
+ readonly order?: string
587
+
588
+ /**
589
+ * 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: commissionAgreementVersion&lt;i&gt;
590
+ * @type {string}
591
+ * @memberof CommissionRecipientsApiListCommissionRecipients
592
+ */
593
+ readonly expand?: string
594
+
595
+ /**
596
+ * 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, displayName, partnerCode, status, createdAt&lt;/i&gt;
597
+ * @type {string}
598
+ * @memberof CommissionRecipientsApiListCommissionRecipients
599
+ */
600
+ readonly filters?: string
601
+ }
602
+
603
+ /**
604
+ * Request parameters for updateCommissionRecipient operation in CommissionRecipientsApi.
605
+ * @export
606
+ * @interface CommissionRecipientsApiUpdateCommissionRecipientRequest
607
+ */
608
+ export interface CommissionRecipientsApiUpdateCommissionRecipientRequest {
609
+ /**
610
+ *
611
+ * @type {string}
612
+ * @memberof CommissionRecipientsApiUpdateCommissionRecipient
613
+ */
614
+ readonly code: string
615
+
616
+ /**
617
+ *
618
+ * @type {UpdateCommissionRecipientRequestDto}
619
+ * @memberof CommissionRecipientsApiUpdateCommissionRecipient
620
+ */
621
+ readonly updateCommissionRecipientRequestDto: UpdateCommissionRecipientRequestDto
622
+
623
+ /**
624
+ * Bearer Token: provided by the login endpoint under the name accessToken.
625
+ * @type {string}
626
+ * @memberof CommissionRecipientsApiUpdateCommissionRecipient
627
+ */
628
+ readonly authorization?: string
629
+ }
630
+
631
+ /**
632
+ * CommissionRecipientsApi - object-oriented interface
633
+ * @export
634
+ * @class CommissionRecipientsApi
635
+ * @extends {BaseAPI}
636
+ */
637
+ export class CommissionRecipientsApi extends BaseAPI {
638
+ /**
639
+ * This will create commission recipient.
640
+ * @summary Create the commission recipient
641
+ * @param {CommissionRecipientsApiCreateCommissionRecipientRequest} requestParameters Request parameters.
642
+ * @param {*} [options] Override http request option.
643
+ * @throws {RequiredError}
644
+ * @memberof CommissionRecipientsApi
645
+ */
646
+ public createCommissionRecipient(requestParameters: CommissionRecipientsApiCreateCommissionRecipientRequest, options?: AxiosRequestConfig) {
647
+ return CommissionRecipientsApiFp(this.configuration).createCommissionRecipient(requestParameters.createCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
648
+ }
649
+
650
+ /**
651
+ * This will delete commission recipient.
652
+ * @summary Delete the commission recipient
653
+ * @param {CommissionRecipientsApiDeleteCommissionRecipientRequest} requestParameters Request parameters.
654
+ * @param {*} [options] Override http request option.
655
+ * @throws {RequiredError}
656
+ * @memberof CommissionRecipientsApi
657
+ */
658
+ public deleteCommissionRecipient(requestParameters: CommissionRecipientsApiDeleteCommissionRecipientRequest, options?: AxiosRequestConfig) {
659
+ return CommissionRecipientsApiFp(this.configuration).deleteCommissionRecipient(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
660
+ }
661
+
662
+ /**
663
+ * This will get commission recipient.
664
+ * @summary Retrieve the commission recipient
665
+ * @param {CommissionRecipientsApiGetCommissionRecipientRequest} requestParameters Request parameters.
666
+ * @param {*} [options] Override http request option.
667
+ * @throws {RequiredError}
668
+ * @memberof CommissionRecipientsApi
669
+ */
670
+ public getCommissionRecipient(requestParameters: CommissionRecipientsApiGetCommissionRecipientRequest, options?: AxiosRequestConfig) {
671
+ return CommissionRecipientsApiFp(this.configuration).getCommissionRecipient(requestParameters.code, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
672
+ }
673
+
674
+ /**
675
+ * Retrieves a list of commission recipients.
676
+ * @summary List commission recipients
677
+ * @param {CommissionRecipientsApiListCommissionRecipientsRequest} requestParameters Request parameters.
678
+ * @param {*} [options] Override http request option.
679
+ * @throws {RequiredError}
680
+ * @memberof CommissionRecipientsApi
681
+ */
682
+ public listCommissionRecipients(requestParameters: CommissionRecipientsApiListCommissionRecipientsRequest = {}, options?: AxiosRequestConfig) {
683
+ return CommissionRecipientsApiFp(this.configuration).listCommissionRecipients(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
684
+ }
685
+
686
+ /**
687
+ * This will update commission recipient.
688
+ * @summary Update the commission recipient
689
+ * @param {CommissionRecipientsApiUpdateCommissionRecipientRequest} requestParameters Request parameters.
690
+ * @param {*} [options] Override http request option.
691
+ * @throws {RequiredError}
692
+ * @memberof CommissionRecipientsApi
693
+ */
694
+ public updateCommissionRecipient(requestParameters: CommissionRecipientsApiUpdateCommissionRecipientRequest, options?: AxiosRequestConfig) {
695
+ return CommissionRecipientsApiFp(this.configuration).updateCommissionRecipient(requestParameters.code, requestParameters.updateCommissionRecipientRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
696
+ }
697
+ }