@ayasofyazilim/saas 0.0.113 → 0.0.115

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.
@@ -1,1883 +1,1974 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
-
3
- import type { CancelablePromise } from './core/CancelablePromise';
4
- import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
- import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdValidateData, PostApiContractServiceMerchantsContractsContractHeadersByIdValidateResponse, GetApiContractServiceMerchantsContractsContractSettingsByIdData, GetApiContractServiceMerchantsContractsContractSettingsByIdResponse, PutApiContractServiceMerchantsContractsContractSettingsByIdData, PutApiContractServiceMerchantsContractsContractSettingsByIdResponse, DeleteApiContractServiceMerchantsContractsContractSettingsByIdData, DeleteApiContractServiceMerchantsContractsContractSettingsByIdResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData, GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData, PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData, GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData, PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData, GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData, PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse, PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingData, PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingResponse, PostApiContractServiceMerchantsByIdContractsContractHeadersData, PostApiContractServiceMerchantsByIdContractsContractHeadersResponse, GetApiContractServiceMerchantsByIdContractsContractHeadersData, GetApiContractServiceMerchantsByIdContractsContractHeadersResponse, DeleteApiContractServiceMerchantsContractsContractHeadersByIdData, DeleteApiContractServiceMerchantsContractsContractHeadersByIdResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdData, GetApiContractServiceMerchantsContractsContractHeadersByIdResponse, PutApiContractServiceMerchantsContractsContractHeadersByIdData, PutApiContractServiceMerchantsContractsContractHeadersByIdResponse, GetApiContractServiceMerchantsContractsContractHeadersData, GetApiContractServiceMerchantsContractsContractHeadersResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdGetMissingStepsData, GetApiContractServiceMerchantsContractsContractHeadersByIdGetMissingStepsResponse, GetIntegrationApiMerchantsForVatStatementData, GetIntegrationApiMerchantsForVatStatementResponse, PostApiContractServiceRefundPointsByIdContractsContractHeadersData, PostApiContractServiceRefundPointsByIdContractsContractHeadersResponse, GetApiContractServiceRefundPointsByIdContractsContractHeadersData, GetApiContractServiceRefundPointsByIdContractsContractHeadersResponse, DeleteApiContractServiceRefundPointsContractsContractHeadersByIdData, DeleteApiContractServiceRefundPointsContractsContractHeadersByIdResponse, GetApiContractServiceRefundPointsContractsContractHeadersByIdData, GetApiContractServiceRefundPointsContractsContractHeadersByIdResponse, PutApiContractServiceRefundPointsContractsContractHeadersByIdData, PutApiContractServiceRefundPointsContractsContractHeadersByIdResponse, GetApiContractServiceRefundPointsContractsContractHeadersData, GetApiContractServiceRefundPointsContractsContractHeadersResponse, GetApiContractServiceRefundPointsContractsContractHeadersByIdGetMissingStepsData, GetApiContractServiceRefundPointsContractsContractHeadersByIdGetMissingStepsResponse, PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateData, PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateResponse, PostIntegrationApiRefundPointsByIdCalculateFeesData, PostIntegrationApiRefundPointsByIdCalculateFeesResponse, PostIntegrationApiRefundPointsByIdCalculateFeesForRebateData, PostIntegrationApiRefundPointsByIdCalculateFeesForRebateResponse, GetApiContractServiceRebateTablesRebateSettingsByIdData, GetApiContractServiceRebateTablesRebateSettingsByIdResponse, PutApiContractServiceRebateTablesRebateSettingsByIdData, PutApiContractServiceRebateTablesRebateSettingsByIdResponse, PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersData, PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersResponse, PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsData, PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsResponse, GetApiContractServiceRebateTablesRebateSettingsDetailByIdData, GetApiContractServiceRebateTablesRebateSettingsDetailByIdResponse, GetApiContractServiceRebateTablesMinimumNetCommissionsByIdData, GetApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, PutApiContractServiceRebateTablesMinimumNetCommissionsByIdData, PutApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdData, DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, GetApiContractServiceRebateTablesMinimumNetCommissionsData, GetApiContractServiceRebateTablesMinimumNetCommissionsResponse, GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsData, PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsResponse, GetApiContractServiceRebateTablesRebateTableDetailsByIdData, GetApiContractServiceRebateTablesRebateTableDetailsByIdResponse, PutApiContractServiceRebateTablesRebateTableDetailsByIdData, PutApiContractServiceRebateTablesRebateTableDetailsByIdResponse, DeleteApiContractServiceRebateTablesRebateTableDetailsByIdData, DeleteApiContractServiceRebateTablesRebateTableDetailsByIdResponse, GetApiContractServiceRebateTablesRebateTableDetailsData, GetApiContractServiceRebateTablesRebateTableDetailsResponse, GetApiContractServiceRebateTablesRebateTableHeadersByIdData, GetApiContractServiceRebateTablesRebateTableHeadersByIdResponse, PutApiContractServiceRebateTablesRebateTableHeadersByIdData, PutApiContractServiceRebateTablesRebateTableHeadersByIdResponse, GetApiContractServiceRebateTablesRebateTableHeadersTemplatesData, GetApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse, PostApiContractServiceRebateTablesRebateTableHeadersTemplatesData, PostApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse, PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsData, PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsResponse, GetIntegrationApiRefundFeeHeadersRefundPointsByIdData, GetIntegrationApiRefundFeeHeadersRefundPointsByIdResponse, GetIntegrationApiRefundTableHeadersMerchantsByIdData, GetIntegrationApiRefundTableHeadersMerchantsByIdResponse, GetApiContractServiceRefundTablesRefundTableHeadersByIdData, GetApiContractServiceRefundTablesRefundTableHeadersByIdResponse, PutApiContractServiceRefundTablesRefundTableHeadersByIdData, PutApiContractServiceRefundTablesRefundTableHeadersByIdResponse, DeleteApiContractServiceRefundTablesRefundTableHeadersByIdData, DeleteApiContractServiceRefundTablesRefundTableHeadersByIdResponse, GetApiContractServiceRefundTablesRefundTableHeadersData, GetApiContractServiceRefundTablesRefundTableHeadersResponse, PostApiContractServiceRefundTablesRefundTableHeadersData, PostApiContractServiceRefundTablesRefundTableHeadersResponse, PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsData, PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsResponse, DeleteApiContractServiceRefundTablesRefundTableDetailsByIdData, DeleteApiContractServiceRefundTablesRefundTableDetailsByIdResponse, GetApiContractServiceRefundTablesRefundFeeHeadersData, GetApiContractServiceRefundTablesRefundFeeHeadersResponse, PostApiContractServiceRefundTablesRefundFeeHeadersData, PostApiContractServiceRefundTablesRefundFeeHeadersResponse, GetApiContractServiceRefundTablesRefundFeeHeadersByIdData, GetApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, PutApiContractServiceRefundTablesRefundFeeHeadersByIdData, PutApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdData, DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsData, PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsResponse, DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdData, DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdResponse } from './types.gen';
6
-
7
- export class AbpApiDefinitionService {
8
- constructor(public readonly httpRequest: BaseHttpRequest) { }
9
-
10
- /**
11
- * @param data The data for the request.
12
- * @param data.includeTypes
13
- * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
14
- * @throws ApiError
15
- */
16
- public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
- return this.httpRequest.request({
18
- method: 'GET',
19
- url: '/api/abp/api-definition',
20
- query: {
21
- IncludeTypes: data.includeTypes
22
- },
23
- errors: {
24
- 400: 'Bad Request',
25
- 401: 'Unauthorized',
26
- 403: 'Forbidden',
27
- 404: 'Not Found',
28
- 500: 'Server Error',
29
- 501: 'Server Error'
30
- }
31
- });
32
- }
33
-
34
- }
35
-
36
- export class AbpApplicationConfigurationService {
37
- constructor(public readonly httpRequest: BaseHttpRequest) { }
38
-
39
- /**
40
- * @param data The data for the request.
41
- * @param data.includeLocalizationResources
42
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
43
- * @throws ApiError
44
- */
45
- public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
- return this.httpRequest.request({
47
- method: 'GET',
48
- url: '/api/abp/application-configuration',
49
- query: {
50
- IncludeLocalizationResources: data.includeLocalizationResources
51
- },
52
- errors: {
53
- 400: 'Bad Request',
54
- 401: 'Unauthorized',
55
- 403: 'Forbidden',
56
- 404: 'Not Found',
57
- 500: 'Server Error',
58
- 501: 'Server Error'
59
- }
60
- });
61
- }
62
-
63
- }
64
-
65
- export class AbpApplicationLocalizationService {
66
- constructor(public readonly httpRequest: BaseHttpRequest) { }
67
-
68
- /**
69
- * @param data The data for the request.
70
- * @param data.cultureName
71
- * @param data.onlyDynamics
72
- * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
- * @throws ApiError
74
- */
75
- public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
- return this.httpRequest.request({
77
- method: 'GET',
78
- url: '/api/abp/application-localization',
79
- query: {
80
- CultureName: data.cultureName,
81
- OnlyDynamics: data.onlyDynamics
82
- },
83
- errors: {
84
- 400: 'Bad Request',
85
- 401: 'Unauthorized',
86
- 403: 'Forbidden',
87
- 404: 'Not Found',
88
- 500: 'Server Error',
89
- 501: 'Server Error'
90
- }
91
- });
92
- }
93
-
94
- }
95
-
96
- export class ContractsMerchantService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.id
102
- * @returns boolean Success
103
- * @throws ApiError
104
- */
105
- public postApiContractServiceMerchantsContractsContractHeadersByIdValidate(data: PostApiContractServiceMerchantsContractsContractHeadersByIdValidateData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdValidateResponse> {
106
- return this.httpRequest.request({
107
- method: 'POST',
108
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/validate',
109
- path: {
110
- id: data.id
111
- },
112
- errors: {
113
- 400: 'Bad Request',
114
- 401: 'Unauthorized',
115
- 403: 'Forbidden',
116
- 404: 'Not Found',
117
- 500: 'Server Error',
118
- 501: 'Server Error'
119
- }
120
- });
121
- }
122
-
123
- /**
124
- * @param data The data for the request.
125
- * @param data.id
126
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto Success
127
- * @throws ApiError
128
- */
129
- public getApiContractServiceMerchantsContractsContractSettingsById(data: GetApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<GetApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
130
- return this.httpRequest.request({
131
- method: 'GET',
132
- url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
133
- path: {
134
- id: data.id
135
- },
136
- errors: {
137
- 400: 'Bad Request',
138
- 401: 'Unauthorized',
139
- 403: 'Forbidden',
140
- 404: 'Not Found',
141
- 500: 'Server Error',
142
- 501: 'Server Error'
143
- }
144
- });
145
- }
146
-
147
- /**
148
- * @param data The data for the request.
149
- * @param data.id
150
- * @param data.requestBody
151
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto Success
152
- * @throws ApiError
153
- */
154
- public putApiContractServiceMerchantsContractsContractSettingsById(data: PutApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<PutApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
155
- return this.httpRequest.request({
156
- method: 'PUT',
157
- url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
158
- path: {
159
- id: data.id
160
- },
161
- body: data.requestBody,
162
- mediaType: 'application/json',
163
- errors: {
164
- 400: 'Bad Request',
165
- 401: 'Unauthorized',
166
- 403: 'Forbidden',
167
- 404: 'Not Found',
168
- 500: 'Server Error',
169
- 501: 'Server Error'
170
- }
171
- });
172
- }
173
-
174
- /**
175
- * @param data The data for the request.
176
- * @param data.id
177
- * @returns unknown Success
178
- * @throws ApiError
179
- */
180
- public deleteApiContractServiceMerchantsContractsContractSettingsById(data: DeleteApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<DeleteApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
181
- return this.httpRequest.request({
182
- method: 'DELETE',
183
- url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
184
- path: {
185
- id: data.id
186
- },
187
- errors: {
188
- 400: 'Bad Request',
189
- 401: 'Unauthorized',
190
- 403: 'Forbidden',
191
- 404: 'Not Found',
192
- 500: 'Server Error',
193
- 501: 'Server Error'
194
- }
195
- });
196
- }
197
-
198
- /**
199
- * @param data The data for the request.
200
- * @param data.id
201
- * @param data.sorting
202
- * @param data.skipCount
203
- * @param data.maxResultCount
204
- * @returns PagedResultDto_ContractSettingDto Success
205
- * @throws ApiError
206
- */
207
- public getApiContractServiceMerchantsContractsContractHeadersByIdContractSettings(data: GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse> {
208
- return this.httpRequest.request({
209
- method: 'GET',
210
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-settings',
211
- path: {
212
- id: data.id
213
- },
214
- query: {
215
- Sorting: data.sorting,
216
- SkipCount: data.skipCount,
217
- MaxResultCount: data.maxResultCount
218
- },
219
- errors: {
220
- 400: 'Bad Request',
221
- 401: 'Unauthorized',
222
- 403: 'Forbidden',
223
- 404: 'Not Found',
224
- 500: 'Server Error',
225
- 501: 'Server Error'
226
- }
227
- });
228
- }
229
-
230
- /**
231
- * @param data The data for the request.
232
- * @param data.id
233
- * @param data.requestBody
234
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto Success
235
- * @throws ApiError
236
- */
237
- public postApiContractServiceMerchantsContractsContractHeadersByIdContractSettings(data: PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse> {
238
- return this.httpRequest.request({
239
- method: 'POST',
240
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-settings',
241
- path: {
242
- id: data.id
243
- },
244
- body: data.requestBody,
245
- mediaType: 'application/json',
246
- errors: {
247
- 400: 'Bad Request',
248
- 401: 'Unauthorized',
249
- 403: 'Forbidden',
250
- 404: 'Not Found',
251
- 500: 'Server Error',
252
- 501: 'Server Error'
253
- }
254
- });
255
- }
256
-
257
- /**
258
- * @param data The data for the request.
259
- * @param data.id
260
- * @param data.sorting
261
- * @param data.skipCount
262
- * @param data.maxResultCount
263
- * @returns PagedResultDto_ContractStoreDetailedDto Success
264
- * @throws ApiError
265
- */
266
- public getApiContractServiceMerchantsContractsContractHeadersByIdContractStores(data: GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse> {
267
- return this.httpRequest.request({
268
- method: 'GET',
269
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-stores',
270
- path: {
271
- id: data.id
272
- },
273
- query: {
274
- Sorting: data.sorting,
275
- SkipCount: data.skipCount,
276
- MaxResultCount: data.maxResultCount
277
- },
278
- errors: {
279
- 400: 'Bad Request',
280
- 401: 'Unauthorized',
281
- 403: 'Forbidden',
282
- 404: 'Not Found',
283
- 500: 'Server Error',
284
- 501: 'Server Error'
285
- }
286
- });
287
- }
288
-
289
- /**
290
- * @param data The data for the request.
291
- * @param data.id
292
- * @param data.requestBody
293
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractStores_ContractStoreDto Success
294
- * @throws ApiError
295
- */
296
- public postApiContractServiceMerchantsContractsContractHeadersByIdContractStores(data: PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse> {
297
- return this.httpRequest.request({
298
- method: 'POST',
299
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-stores',
300
- path: {
301
- id: data.id
302
- },
303
- body: data.requestBody,
304
- mediaType: 'application/json',
305
- errors: {
306
- 400: 'Bad Request',
307
- 401: 'Unauthorized',
308
- 403: 'Forbidden',
309
- 404: 'Not Found',
310
- 500: 'Server Error',
311
- 501: 'Server Error'
312
- }
313
- });
314
- }
315
-
316
- /**
317
- * @param data The data for the request.
318
- * @param data.id
319
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
320
- * @throws ApiError
321
- */
322
- public getApiContractServiceMerchantsContractsContractHeadersByIdRebateSettings(data: GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse> {
323
- return this.httpRequest.request({
324
- method: 'GET',
325
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/rebate-settings',
326
- path: {
327
- id: data.id
328
- },
329
- errors: {
330
- 400: 'Bad Request',
331
- 401: 'Unauthorized',
332
- 403: 'Forbidden',
333
- 404: 'Not Found',
334
- 500: 'Server Error',
335
- 501: 'Server Error'
336
- }
337
- });
338
- }
339
-
340
- /**
341
- * @param data The data for the request.
342
- * @param data.id
343
- * @param data.requestBody
344
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
345
- * @throws ApiError
346
- */
347
- public postApiContractServiceMerchantsContractsContractHeadersByIdRebateSettings(data: PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse> {
348
- return this.httpRequest.request({
349
- method: 'POST',
350
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/rebate-settings',
351
- path: {
352
- id: data.id
353
- },
354
- body: data.requestBody,
355
- mediaType: 'application/json',
356
- errors: {
357
- 400: 'Bad Request',
358
- 401: 'Unauthorized',
359
- 403: 'Forbidden',
360
- 404: 'Not Found',
361
- 500: 'Server Error',
362
- 501: 'Server Error'
363
- }
364
- });
365
- }
366
-
367
- /**
368
- * @param data The data for the request.
369
- * @param data.id
370
- * @param data.requestBody
371
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractSettings_ContractSettingDto Success
372
- * @throws ApiError
373
- */
374
- public putApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSetting(data: PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingData): CancelablePromise<PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingResponse> {
375
- return this.httpRequest.request({
376
- method: 'PUT',
377
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/set-default-setting',
378
- path: {
379
- id: data.id
380
- },
381
- body: data.requestBody,
382
- mediaType: 'application/json',
383
- errors: {
384
- 400: 'Bad Request',
385
- 401: 'Unauthorized',
386
- 403: 'Forbidden',
387
- 404: 'Not Found',
388
- 500: 'Server Error',
389
- 501: 'Server Error'
390
- }
391
- });
392
- }
393
-
394
- /**
395
- * @param data The data for the request.
396
- * @param data.id
397
- * @param data.requestBody
398
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderForMerchantDto Success
399
- * @throws ApiError
400
- */
401
- public postApiContractServiceMerchantsByIdContractsContractHeaders(data: PostApiContractServiceMerchantsByIdContractsContractHeadersData): CancelablePromise<PostApiContractServiceMerchantsByIdContractsContractHeadersResponse> {
402
- return this.httpRequest.request({
403
- method: 'POST',
404
- url: '/api/contract-service/merchants/{id}/contracts/contract-headers',
405
- path: {
406
- id: data.id
407
- },
408
- body: data.requestBody,
409
- mediaType: 'application/json',
410
- errors: {
411
- 400: 'Bad Request',
412
- 401: 'Unauthorized',
413
- 403: 'Forbidden',
414
- 404: 'Not Found',
415
- 500: 'Server Error',
416
- 501: 'Server Error'
417
- }
418
- });
419
- }
420
-
421
- /**
422
- * @param data The data for the request.
423
- * @param data.id
424
- * @param data.isDraft
425
- * @param data.sorting
426
- * @param data.skipCount
427
- * @param data.maxResultCount
428
- * @returns PagedResultDto_ContractHeaderDetailForMerchantDto Success
429
- * @throws ApiError
430
- */
431
- public getApiContractServiceMerchantsByIdContractsContractHeaders(data: GetApiContractServiceMerchantsByIdContractsContractHeadersData): CancelablePromise<GetApiContractServiceMerchantsByIdContractsContractHeadersResponse> {
432
- return this.httpRequest.request({
433
- method: 'GET',
434
- url: '/api/contract-service/merchants/{id}/contracts/contract-headers',
435
- path: {
436
- id: data.id
437
- },
438
- query: {
439
- IsDraft: data.isDraft,
440
- Sorting: data.sorting,
441
- SkipCount: data.skipCount,
442
- MaxResultCount: data.maxResultCount
443
- },
444
- errors: {
445
- 400: 'Bad Request',
446
- 401: 'Unauthorized',
447
- 403: 'Forbidden',
448
- 404: 'Not Found',
449
- 500: 'Server Error',
450
- 501: 'Server Error'
451
- }
452
- });
453
- }
454
-
455
- /**
456
- * @param data The data for the request.
457
- * @param data.id
458
- * @returns unknown Success
459
- * @throws ApiError
460
- */
461
- public deleteApiContractServiceMerchantsContractsContractHeadersById(data: DeleteApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<DeleteApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
462
- return this.httpRequest.request({
463
- method: 'DELETE',
464
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
465
- path: {
466
- id: data.id
467
- },
468
- errors: {
469
- 400: 'Bad Request',
470
- 401: 'Unauthorized',
471
- 403: 'Forbidden',
472
- 404: 'Not Found',
473
- 500: 'Server Error',
474
- 501: 'Server Error'
475
- }
476
- });
477
- }
478
-
479
- /**
480
- * @param data The data for the request.
481
- * @param data.id
482
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto Success
483
- * @throws ApiError
484
- */
485
- public getApiContractServiceMerchantsContractsContractHeadersById(data: GetApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
486
- return this.httpRequest.request({
487
- method: 'GET',
488
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
489
- path: {
490
- id: data.id
491
- },
492
- errors: {
493
- 400: 'Bad Request',
494
- 401: 'Unauthorized',
495
- 403: 'Forbidden',
496
- 404: 'Not Found',
497
- 500: 'Server Error',
498
- 501: 'Server Error'
499
- }
500
- });
501
- }
502
-
503
- /**
504
- * @param data The data for the request.
505
- * @param data.id
506
- * @param data.requestBody
507
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderDetailForMerchantDto Success
508
- * @throws ApiError
509
- */
510
- public putApiContractServiceMerchantsContractsContractHeadersById(data: PutApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<PutApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
511
- return this.httpRequest.request({
512
- method: 'PUT',
513
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
514
- path: {
515
- id: data.id
516
- },
517
- body: data.requestBody,
518
- mediaType: 'application/json',
519
- errors: {
520
- 400: 'Bad Request',
521
- 401: 'Unauthorized',
522
- 403: 'Forbidden',
523
- 404: 'Not Found',
524
- 500: 'Server Error',
525
- 501: 'Server Error'
526
- }
527
- });
528
- }
529
-
530
- /**
531
- * @param data The data for the request.
532
- * @param data.isDraft
533
- * @param data.sorting
534
- * @param data.skipCount
535
- * @param data.maxResultCount
536
- * @returns PagedResultDto_ContractHeaderForMerchantDto Success
537
- * @throws ApiError
538
- */
539
- public getApiContractServiceMerchantsContractsContractHeaders(data: GetApiContractServiceMerchantsContractsContractHeadersData = {}): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersResponse> {
540
- return this.httpRequest.request({
541
- method: 'GET',
542
- url: '/api/contract-service/merchants/contracts/contract-headers',
543
- query: {
544
- IsDraft: data.isDraft,
545
- Sorting: data.sorting,
546
- SkipCount: data.skipCount,
547
- MaxResultCount: data.maxResultCount
548
- },
549
- errors: {
550
- 400: 'Bad Request',
551
- 401: 'Unauthorized',
552
- 403: 'Forbidden',
553
- 404: 'Not Found',
554
- 500: 'Server Error',
555
- 501: 'Server Error'
556
- }
557
- });
558
- }
559
-
560
- /**
561
- * @param data The data for the request.
562
- * @param data.id
563
- * @returns UniRefund_ContractService_Enums_ContractHeaderForMerchantDraftMissingSteps Success
564
- * @throws ApiError
565
- */
566
- public getApiContractServiceMerchantsContractsContractHeadersByIdGetMissingSteps(data: GetApiContractServiceMerchantsContractsContractHeadersByIdGetMissingStepsData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdGetMissingStepsResponse> {
567
- return this.httpRequest.request({
568
- method: 'GET',
569
- url: '/api/contract-service/merchants/contracts/contract-headers/{id}/get-missing-steps',
570
- path: {
571
- id: data.id
572
- },
573
- errors: {
574
- 400: 'Bad Request',
575
- 401: 'Unauthorized',
576
- 403: 'Forbidden',
577
- 404: 'Not Found',
578
- 500: 'Server Error',
579
- 501: 'Server Error'
580
- }
581
- });
582
- }
583
-
584
- }
585
-
586
- export class ContractsMerchantIntegrationService {
587
- constructor(public readonly httpRequest: BaseHttpRequest) { }
588
-
589
- /**
590
- * @param data The data for the request.
591
- * @param data.contractHeaderIds
592
- * @returns UniRefund_ContractService_ContractsForMerchant_ContractHeaders_ContractHeaderInformationForVATStatementDto Success
593
- * @throws ApiError
594
- */
595
- public getIntegrationApiMerchantsForVatStatement(data: GetIntegrationApiMerchantsForVatStatementData = {}): CancelablePromise<GetIntegrationApiMerchantsForVatStatementResponse> {
596
- return this.httpRequest.request({
597
- method: 'GET',
598
- url: '/integration-api/merchants/for-vat-statement',
599
- query: {
600
- contractHeaderIds: data.contractHeaderIds
601
- },
602
- errors: {
603
- 400: 'Bad Request',
604
- 401: 'Unauthorized',
605
- 403: 'Forbidden',
606
- 404: 'Not Found',
607
- 500: 'Server Error',
608
- 501: 'Server Error'
609
- }
610
- });
611
- }
612
-
613
- }
614
-
615
- export class ContractsRefundPointService {
616
- constructor(public readonly httpRequest: BaseHttpRequest) { }
617
-
618
- /**
619
- * @param data The data for the request.
620
- * @param data.id
621
- * @param data.requestBody
622
- * @returns UniRefund_ContractService_ContractsForRefundPoint_ContractHeaders_ContractHeaderForRefundPointDto Success
623
- * @throws ApiError
624
- */
625
- public postApiContractServiceRefundPointsByIdContractsContractHeaders(data: PostApiContractServiceRefundPointsByIdContractsContractHeadersData): CancelablePromise<PostApiContractServiceRefundPointsByIdContractsContractHeadersResponse> {
626
- return this.httpRequest.request({
627
- method: 'POST',
628
- url: '/api/contract-service/refund-points/{id}/contracts/contract-headers',
629
- path: {
630
- id: data.id
631
- },
632
- body: data.requestBody,
633
- mediaType: 'application/json',
634
- errors: {
635
- 400: 'Bad Request',
636
- 401: 'Unauthorized',
637
- 403: 'Forbidden',
638
- 404: 'Not Found',
639
- 500: 'Server Error',
640
- 501: 'Server Error'
641
- }
642
- });
643
- }
644
-
645
- /**
646
- * @param data The data for the request.
647
- * @param data.id
648
- * @param data.isDraft
649
- * @param data.sorting
650
- * @param data.skipCount
651
- * @param data.maxResultCount
652
- * @returns PagedResultDto_ContractHeaderDetailForRefundPointDto Success
653
- * @throws ApiError
654
- */
655
- public getApiContractServiceRefundPointsByIdContractsContractHeaders(data: GetApiContractServiceRefundPointsByIdContractsContractHeadersData): CancelablePromise<GetApiContractServiceRefundPointsByIdContractsContractHeadersResponse> {
656
- return this.httpRequest.request({
657
- method: 'GET',
658
- url: '/api/contract-service/refund-points/{id}/contracts/contract-headers',
659
- path: {
660
- id: data.id
661
- },
662
- query: {
663
- IsDraft: data.isDraft,
664
- Sorting: data.sorting,
665
- SkipCount: data.skipCount,
666
- MaxResultCount: data.maxResultCount
667
- },
668
- errors: {
669
- 400: 'Bad Request',
670
- 401: 'Unauthorized',
671
- 403: 'Forbidden',
672
- 404: 'Not Found',
673
- 500: 'Server Error',
674
- 501: 'Server Error'
675
- }
676
- });
677
- }
678
-
679
- /**
680
- * @param data The data for the request.
681
- * @param data.id
682
- * @returns unknown Success
683
- * @throws ApiError
684
- */
685
- public deleteApiContractServiceRefundPointsContractsContractHeadersById(data: DeleteApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
686
- return this.httpRequest.request({
687
- method: 'DELETE',
688
- url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
689
- path: {
690
- id: data.id
691
- },
692
- errors: {
693
- 400: 'Bad Request',
694
- 401: 'Unauthorized',
695
- 403: 'Forbidden',
696
- 404: 'Not Found',
697
- 500: 'Server Error',
698
- 501: 'Server Error'
699
- }
700
- });
701
- }
702
-
703
- /**
704
- * @param data The data for the request.
705
- * @param data.id
706
- * @returns UniRefund_ContractService_ContractsForRefundPoint_ContractHeaders_ContractHeaderDetailForRefundPointDto Success
707
- * @throws ApiError
708
- */
709
- public getApiContractServiceRefundPointsContractsContractHeadersById(data: GetApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
710
- return this.httpRequest.request({
711
- method: 'GET',
712
- url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
713
- path: {
714
- id: data.id
715
- },
716
- errors: {
717
- 400: 'Bad Request',
718
- 401: 'Unauthorized',
719
- 403: 'Forbidden',
720
- 404: 'Not Found',
721
- 500: 'Server Error',
722
- 501: 'Server Error'
723
- }
724
- });
725
- }
726
-
727
- /**
728
- * @param data The data for the request.
729
- * @param data.id
730
- * @param data.requestBody
731
- * @returns UniRefund_ContractService_ContractsForRefundPoint_ContractHeaders_ContractHeaderDetailForRefundPointDto Success
732
- * @throws ApiError
733
- */
734
- public putApiContractServiceRefundPointsContractsContractHeadersById(data: PutApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<PutApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
735
- return this.httpRequest.request({
736
- method: 'PUT',
737
- url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
738
- path: {
739
- id: data.id
740
- },
741
- body: data.requestBody,
742
- mediaType: 'application/json',
743
- errors: {
744
- 400: 'Bad Request',
745
- 401: 'Unauthorized',
746
- 403: 'Forbidden',
747
- 404: 'Not Found',
748
- 500: 'Server Error',
749
- 501: 'Server Error'
750
- }
751
- });
752
- }
753
-
754
- /**
755
- * @param data The data for the request.
756
- * @param data.isDraft
757
- * @param data.sorting
758
- * @param data.skipCount
759
- * @param data.maxResultCount
760
- * @returns PagedResultDto_ContractHeaderForRefundPointDto Success
761
- * @throws ApiError
762
- */
763
- public getApiContractServiceRefundPointsContractsContractHeaders(data: GetApiContractServiceRefundPointsContractsContractHeadersData = {}): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersResponse> {
764
- return this.httpRequest.request({
765
- method: 'GET',
766
- url: '/api/contract-service/refund-points/contracts/contract-headers',
767
- query: {
768
- IsDraft: data.isDraft,
769
- Sorting: data.sorting,
770
- SkipCount: data.skipCount,
771
- MaxResultCount: data.maxResultCount
772
- },
773
- errors: {
774
- 400: 'Bad Request',
775
- 401: 'Unauthorized',
776
- 403: 'Forbidden',
777
- 404: 'Not Found',
778
- 500: 'Server Error',
779
- 501: 'Server Error'
780
- }
781
- });
782
- }
783
-
784
- /**
785
- * @param data The data for the request.
786
- * @param data.id
787
- * @returns UniRefund_ContractService_Enums_ContractHeaderForRefundPointDraftMissingSteps Success
788
- * @throws ApiError
789
- */
790
- public getApiContractServiceRefundPointsContractsContractHeadersByIdGetMissingSteps(data: GetApiContractServiceRefundPointsContractsContractHeadersByIdGetMissingStepsData): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersByIdGetMissingStepsResponse> {
791
- return this.httpRequest.request({
792
- method: 'GET',
793
- url: '/api/contract-service/refund-points/contracts/contract-headers/{id}/get-missing-steps',
794
- path: {
795
- id: data.id
796
- },
797
- errors: {
798
- 400: 'Bad Request',
799
- 401: 'Unauthorized',
800
- 403: 'Forbidden',
801
- 404: 'Not Found',
802
- 500: 'Server Error',
803
- 501: 'Server Error'
804
- }
805
- });
806
- }
807
-
808
- /**
809
- * @param data The data for the request.
810
- * @param data.id
811
- * @returns boolean Success
812
- * @throws ApiError
813
- */
814
- public postApiContractServiceRefundPointsContractsContractHeadersByIdValidate(data: PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateData): CancelablePromise<PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateResponse> {
815
- return this.httpRequest.request({
816
- method: 'POST',
817
- url: '/api/contract-service/refund-points/contracts/contract-headers/{id}/validate',
818
- path: {
819
- id: data.id
820
- },
821
- errors: {
822
- 400: 'Bad Request',
823
- 401: 'Unauthorized',
824
- 403: 'Forbidden',
825
- 404: 'Not Found',
826
- 500: 'Server Error',
827
- 501: 'Server Error'
828
- }
829
- });
830
- }
831
-
832
- }
833
-
834
- export class ContractsRefundPointIntegrationService {
835
- constructor(public readonly httpRequest: BaseHttpRequest) { }
836
-
837
- /**
838
- * @param data The data for the request.
839
- * @param data.id
840
- * @param data.requestBody
841
- * @returns UniRefund_ContractService_ContractsForRefundPoint_ContractHeaders_CalculateFeesForRefundResponseDto Success
842
- * @throws ApiError
843
- */
844
- public postIntegrationApiRefundPointsByIdCalculateFees(data: PostIntegrationApiRefundPointsByIdCalculateFeesData): CancelablePromise<PostIntegrationApiRefundPointsByIdCalculateFeesResponse> {
845
- return this.httpRequest.request({
846
- method: 'POST',
847
- url: '/integration-api/refund-points/{id}/calculate-fees',
848
- path: {
849
- id: data.id
850
- },
851
- body: data.requestBody,
852
- mediaType: 'application/json',
853
- errors: {
854
- 400: 'Bad Request',
855
- 401: 'Unauthorized',
856
- 403: 'Forbidden',
857
- 404: 'Not Found',
858
- 500: 'Server Error',
859
- 501: 'Server Error'
860
- }
861
- });
862
- }
863
-
864
- /**
865
- * @param data The data for the request.
866
- * @param data.id
867
- * @param data.requestBody
868
- * @returns UniRefund_ContractService_ContractsForRefundPoint_ContractHeaders_CalculateFeesForRebateResponseDto Success
869
- * @throws ApiError
870
- */
871
- public postIntegrationApiRefundPointsByIdCalculateFeesForRebate(data: PostIntegrationApiRefundPointsByIdCalculateFeesForRebateData): CancelablePromise<PostIntegrationApiRefundPointsByIdCalculateFeesForRebateResponse> {
872
- return this.httpRequest.request({
873
- method: 'POST',
874
- url: '/integration-api/refund-points/{id}/calculate-fees-for-rebate',
875
- path: {
876
- id: data.id
877
- },
878
- body: data.requestBody,
879
- mediaType: 'application/json',
880
- errors: {
881
- 400: 'Bad Request',
882
- 401: 'Unauthorized',
883
- 403: 'Forbidden',
884
- 404: 'Not Found',
885
- 500: 'Server Error',
886
- 501: 'Server Error'
887
- }
888
- });
889
- }
890
-
891
- }
892
-
893
- export class RebateTablesService {
894
- constructor(public readonly httpRequest: BaseHttpRequest) { }
895
-
896
- /**
897
- * @param data The data for the request.
898
- * @param data.id
899
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
900
- * @throws ApiError
901
- */
902
- public getApiContractServiceRebateTablesRebateSettingsById(data: GetApiContractServiceRebateTablesRebateSettingsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateSettingsByIdResponse> {
903
- return this.httpRequest.request({
904
- method: 'GET',
905
- url: '/api/contract-service/rebate-tables/rebate-settings/{id}',
906
- path: {
907
- id: data.id
908
- },
909
- errors: {
910
- 400: 'Bad Request',
911
- 401: 'Unauthorized',
912
- 403: 'Forbidden',
913
- 404: 'Not Found',
914
- 500: 'Server Error',
915
- 501: 'Server Error'
916
- }
917
- });
918
- }
919
-
920
- /**
921
- * @param data The data for the request.
922
- * @param data.id
923
- * @param data.requestBody
924
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
925
- * @throws ApiError
926
- */
927
- public putApiContractServiceRebateTablesRebateSettingsById(data: PutApiContractServiceRebateTablesRebateSettingsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateSettingsByIdResponse> {
928
- return this.httpRequest.request({
929
- method: 'PUT',
930
- url: '/api/contract-service/rebate-tables/rebate-settings/{id}',
931
- path: {
932
- id: data.id
933
- },
934
- body: data.requestBody,
935
- mediaType: 'application/json',
936
- errors: {
937
- 400: 'Bad Request',
938
- 401: 'Unauthorized',
939
- 403: 'Forbidden',
940
- 404: 'Not Found',
941
- 500: 'Server Error',
942
- 501: 'Server Error'
943
- }
944
- });
945
- }
946
-
947
- /**
948
- * @param data The data for the request.
949
- * @param data.id
950
- * @param data.requestBody
951
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
952
- * @throws ApiError
953
- */
954
- public postApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeaders(data: PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersData): CancelablePromise<PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersResponse> {
955
- return this.httpRequest.request({
956
- method: 'POST',
957
- url: '/api/contract-service/rebate-tables/rebate-settings/{id}/rebate-table-headers',
958
- path: {
959
- id: data.id
960
- },
961
- body: data.requestBody,
962
- mediaType: 'application/json',
963
- errors: {
964
- 400: 'Bad Request',
965
- 401: 'Unauthorized',
966
- 403: 'Forbidden',
967
- 404: 'Not Found',
968
- 500: 'Server Error',
969
- 501: 'Server Error'
970
- }
971
- });
972
- }
973
-
974
- /**
975
- * @param data The data for the request.
976
- * @param data.id
977
- * @param data.requestBody
978
- * @returns UniRefund_ContractService_Rebates_MinimumNetCommissions_MinimumNetCommissionDto Success
979
- * @throws ApiError
980
- */
981
- public postApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissions(data: PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsData): CancelablePromise<PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsResponse> {
982
- return this.httpRequest.request({
983
- method: 'POST',
984
- url: '/api/contract-service/rebate-tables/rebate-settings/{id}/minimum-net-commissions',
985
- path: {
986
- id: data.id
987
- },
988
- body: data.requestBody,
989
- mediaType: 'application/json',
990
- errors: {
991
- 400: 'Bad Request',
992
- 401: 'Unauthorized',
993
- 403: 'Forbidden',
994
- 404: 'Not Found',
995
- 500: 'Server Error',
996
- 501: 'Server Error'
997
- }
998
- });
999
- }
1000
-
1001
- /**
1002
- * @param data The data for the request.
1003
- * @param data.id
1004
- * @returns UniRefund_ContractService_Rebates_RebateSettings_RebateSettingDto Success
1005
- * @throws ApiError
1006
- */
1007
- public getApiContractServiceRebateTablesRebateSettingsDetailById(data: GetApiContractServiceRebateTablesRebateSettingsDetailByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateSettingsDetailByIdResponse> {
1008
- return this.httpRequest.request({
1009
- method: 'GET',
1010
- url: '/api/contract-service/rebate-tables/rebate-settings/detail/{id}',
1011
- path: {
1012
- id: data.id
1013
- },
1014
- errors: {
1015
- 400: 'Bad Request',
1016
- 401: 'Unauthorized',
1017
- 403: 'Forbidden',
1018
- 404: 'Not Found',
1019
- 500: 'Server Error',
1020
- 501: 'Server Error'
1021
- }
1022
- });
1023
- }
1024
-
1025
- /**
1026
- * @param data The data for the request.
1027
- * @param data.id
1028
- * @returns UniRefund_ContractService_Rebates_MinimumNetCommissions_MinimumNetCommissionDto Success
1029
- * @throws ApiError
1030
- */
1031
- public getApiContractServiceRebateTablesMinimumNetCommissionsById(data: GetApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<GetApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1032
- return this.httpRequest.request({
1033
- method: 'GET',
1034
- url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1035
- path: {
1036
- id: data.id
1037
- },
1038
- errors: {
1039
- 400: 'Bad Request',
1040
- 401: 'Unauthorized',
1041
- 403: 'Forbidden',
1042
- 404: 'Not Found',
1043
- 500: 'Server Error',
1044
- 501: 'Server Error'
1045
- }
1046
- });
1047
- }
1048
-
1049
- /**
1050
- * @param data The data for the request.
1051
- * @param data.id
1052
- * @param data.requestBody
1053
- * @returns UniRefund_ContractService_Rebates_MinimumNetCommissions_MinimumNetCommissionDto Success
1054
- * @throws ApiError
1055
- */
1056
- public putApiContractServiceRebateTablesMinimumNetCommissionsById(data: PutApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<PutApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1057
- return this.httpRequest.request({
1058
- method: 'PUT',
1059
- url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1060
- path: {
1061
- id: data.id
1062
- },
1063
- body: data.requestBody,
1064
- mediaType: 'application/json',
1065
- errors: {
1066
- 400: 'Bad Request',
1067
- 401: 'Unauthorized',
1068
- 403: 'Forbidden',
1069
- 404: 'Not Found',
1070
- 500: 'Server Error',
1071
- 501: 'Server Error'
1072
- }
1073
- });
1074
- }
1075
-
1076
- /**
1077
- * @param data The data for the request.
1078
- * @param data.id
1079
- * @returns unknown Success
1080
- * @throws ApiError
1081
- */
1082
- public deleteApiContractServiceRebateTablesMinimumNetCommissionsById(data: DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1083
- return this.httpRequest.request({
1084
- method: 'DELETE',
1085
- url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1086
- path: {
1087
- id: data.id
1088
- },
1089
- errors: {
1090
- 400: 'Bad Request',
1091
- 401: 'Unauthorized',
1092
- 403: 'Forbidden',
1093
- 404: 'Not Found',
1094
- 500: 'Server Error',
1095
- 501: 'Server Error'
1096
- }
1097
- });
1098
- }
1099
-
1100
- /**
1101
- * @param data The data for the request.
1102
- * @param data.sorting
1103
- * @param data.skipCount
1104
- * @param data.maxResultCount
1105
- * @returns PagedResultDto_MinimumNetCommissionDto Success
1106
- * @throws ApiError
1107
- */
1108
- public getApiContractServiceRebateTablesMinimumNetCommissions(data: GetApiContractServiceRebateTablesMinimumNetCommissionsData = {}): CancelablePromise<GetApiContractServiceRebateTablesMinimumNetCommissionsResponse> {
1109
- return this.httpRequest.request({
1110
- method: 'GET',
1111
- url: '/api/contract-service/rebate-tables/minimum-net-commissions',
1112
- query: {
1113
- Sorting: data.sorting,
1114
- SkipCount: data.skipCount,
1115
- MaxResultCount: data.maxResultCount
1116
- },
1117
- errors: {
1118
- 400: 'Bad Request',
1119
- 401: 'Unauthorized',
1120
- 403: 'Forbidden',
1121
- 404: 'Not Found',
1122
- 500: 'Server Error',
1123
- 501: 'Server Error'
1124
- }
1125
- });
1126
- }
1127
-
1128
- /**
1129
- * @param data The data for the request.
1130
- * @param data.id
1131
- * @returns UniRefund_ContractService_Rebates_ProcessingFeeDetails_ProcessingFeeDetailDto Success
1132
- * @throws ApiError
1133
- */
1134
- public getApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1135
- return this.httpRequest.request({
1136
- method: 'GET',
1137
- url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1138
- path: {
1139
- id: data.id
1140
- },
1141
- errors: {
1142
- 400: 'Bad Request',
1143
- 401: 'Unauthorized',
1144
- 403: 'Forbidden',
1145
- 404: 'Not Found',
1146
- 500: 'Server Error',
1147
- 501: 'Server Error'
1148
- }
1149
- });
1150
- }
1151
-
1152
- /**
1153
- * @param data The data for the request.
1154
- * @param data.id
1155
- * @param data.requestBody
1156
- * @returns UniRefund_ContractService_Rebates_ProcessingFeeDetails_ProcessingFeeDetailDto Success
1157
- * @throws ApiError
1158
- */
1159
- public putApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1160
- return this.httpRequest.request({
1161
- method: 'PUT',
1162
- url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1163
- path: {
1164
- id: data.id
1165
- },
1166
- body: data.requestBody,
1167
- mediaType: 'application/json',
1168
- errors: {
1169
- 400: 'Bad Request',
1170
- 401: 'Unauthorized',
1171
- 403: 'Forbidden',
1172
- 404: 'Not Found',
1173
- 500: 'Server Error',
1174
- 501: 'Server Error'
1175
- }
1176
- });
1177
- }
1178
-
1179
- /**
1180
- * @param data The data for the request.
1181
- * @param data.id
1182
- * @returns unknown Success
1183
- * @throws ApiError
1184
- */
1185
- public deleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1186
- return this.httpRequest.request({
1187
- method: 'DELETE',
1188
- url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1189
- path: {
1190
- id: data.id
1191
- },
1192
- errors: {
1193
- 400: 'Bad Request',
1194
- 401: 'Unauthorized',
1195
- 403: 'Forbidden',
1196
- 404: 'Not Found',
1197
- 500: 'Server Error',
1198
- 501: 'Server Error'
1199
- }
1200
- });
1201
- }
1202
-
1203
- /**
1204
- * @param data The data for the request.
1205
- * @param data.id
1206
- * @param data.requestBody
1207
- * @returns UniRefund_ContractService_Rebates_ProcessingFeeDetails_ProcessingFeeDetailDto Success
1208
- * @throws ApiError
1209
- */
1210
- public postApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetails(data: PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsData): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsResponse> {
1211
- return this.httpRequest.request({
1212
- method: 'POST',
1213
- url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}/processing-fee-details',
1214
- path: {
1215
- id: data.id
1216
- },
1217
- body: data.requestBody,
1218
- mediaType: 'application/json',
1219
- errors: {
1220
- 400: 'Bad Request',
1221
- 401: 'Unauthorized',
1222
- 403: 'Forbidden',
1223
- 404: 'Not Found',
1224
- 500: 'Server Error',
1225
- 501: 'Server Error'
1226
- }
1227
- });
1228
- }
1229
-
1230
- /**
1231
- * @param data The data for the request.
1232
- * @param data.id
1233
- * @returns UniRefund_ContractService_Rebates_RebateTableDetails_RebateTableDetailDto Success
1234
- * @throws ApiError
1235
- */
1236
- public getApiContractServiceRebateTablesRebateTableDetailsById(data: GetApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1237
- return this.httpRequest.request({
1238
- method: 'GET',
1239
- url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1240
- path: {
1241
- id: data.id
1242
- },
1243
- errors: {
1244
- 400: 'Bad Request',
1245
- 401: 'Unauthorized',
1246
- 403: 'Forbidden',
1247
- 404: 'Not Found',
1248
- 500: 'Server Error',
1249
- 501: 'Server Error'
1250
- }
1251
- });
1252
- }
1253
-
1254
- /**
1255
- * @param data The data for the request.
1256
- * @param data.id
1257
- * @param data.requestBody
1258
- * @returns UniRefund_ContractService_Rebates_RebateTableDetails_RebateTableDetailDto Success
1259
- * @throws ApiError
1260
- */
1261
- public putApiContractServiceRebateTablesRebateTableDetailsById(data: PutApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1262
- return this.httpRequest.request({
1263
- method: 'PUT',
1264
- url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1265
- path: {
1266
- id: data.id
1267
- },
1268
- body: data.requestBody,
1269
- mediaType: 'application/json',
1270
- errors: {
1271
- 400: 'Bad Request',
1272
- 401: 'Unauthorized',
1273
- 403: 'Forbidden',
1274
- 404: 'Not Found',
1275
- 500: 'Server Error',
1276
- 501: 'Server Error'
1277
- }
1278
- });
1279
- }
1280
-
1281
- /**
1282
- * @param data The data for the request.
1283
- * @param data.id
1284
- * @returns unknown Success
1285
- * @throws ApiError
1286
- */
1287
- public deleteApiContractServiceRebateTablesRebateTableDetailsById(data: DeleteApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1288
- return this.httpRequest.request({
1289
- method: 'DELETE',
1290
- url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1291
- path: {
1292
- id: data.id
1293
- },
1294
- errors: {
1295
- 400: 'Bad Request',
1296
- 401: 'Unauthorized',
1297
- 403: 'Forbidden',
1298
- 404: 'Not Found',
1299
- 500: 'Server Error',
1300
- 501: 'Server Error'
1301
- }
1302
- });
1303
- }
1304
-
1305
- /**
1306
- * @param data The data for the request.
1307
- * @param data.sorting
1308
- * @param data.skipCount
1309
- * @param data.maxResultCount
1310
- * @returns PagedResultDto_RebateTableDetailDto Success
1311
- * @throws ApiError
1312
- */
1313
- public getApiContractServiceRebateTablesRebateTableDetails(data: GetApiContractServiceRebateTablesRebateTableDetailsData = {}): CancelablePromise<GetApiContractServiceRebateTablesRebateTableDetailsResponse> {
1314
- return this.httpRequest.request({
1315
- method: 'GET',
1316
- url: '/api/contract-service/rebate-tables/rebate-table-details',
1317
- query: {
1318
- Sorting: data.sorting,
1319
- SkipCount: data.skipCount,
1320
- MaxResultCount: data.maxResultCount
1321
- },
1322
- errors: {
1323
- 400: 'Bad Request',
1324
- 401: 'Unauthorized',
1325
- 403: 'Forbidden',
1326
- 404: 'Not Found',
1327
- 500: 'Server Error',
1328
- 501: 'Server Error'
1329
- }
1330
- });
1331
- }
1332
-
1333
- /**
1334
- * @param data The data for the request.
1335
- * @param data.id
1336
- * @returns UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeaderTemplateDto Success
1337
- * @throws ApiError
1338
- */
1339
- public getApiContractServiceRebateTablesRebateTableHeadersById(data: GetApiContractServiceRebateTablesRebateTableHeadersByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersByIdResponse> {
1340
- return this.httpRequest.request({
1341
- method: 'GET',
1342
- url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}',
1343
- path: {
1344
- id: data.id
1345
- },
1346
- errors: {
1347
- 400: 'Bad Request',
1348
- 401: 'Unauthorized',
1349
- 403: 'Forbidden',
1350
- 404: 'Not Found',
1351
- 500: 'Server Error',
1352
- 501: 'Server Error'
1353
- }
1354
- });
1355
- }
1356
-
1357
- /**
1358
- * @param data The data for the request.
1359
- * @param data.id
1360
- * @param data.requestBody
1361
- * @returns UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeaderTemplateDto Success
1362
- * @throws ApiError
1363
- */
1364
- public putApiContractServiceRebateTablesRebateTableHeadersById(data: PutApiContractServiceRebateTablesRebateTableHeadersByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableHeadersByIdResponse> {
1365
- return this.httpRequest.request({
1366
- method: 'PUT',
1367
- url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}',
1368
- path: {
1369
- id: data.id
1370
- },
1371
- body: data.requestBody,
1372
- mediaType: 'application/json',
1373
- errors: {
1374
- 400: 'Bad Request',
1375
- 401: 'Unauthorized',
1376
- 403: 'Forbidden',
1377
- 404: 'Not Found',
1378
- 500: 'Server Error',
1379
- 501: 'Server Error'
1380
- }
1381
- });
1382
- }
1383
-
1384
- /**
1385
- * @param data The data for the request.
1386
- * @param data.sorting
1387
- * @param data.skipCount
1388
- * @param data.maxResultCount
1389
- * @returns PagedResultDto_RebateTableHeaderTemplateDto Success
1390
- * @throws ApiError
1391
- */
1392
- public getApiContractServiceRebateTablesRebateTableHeadersTemplates(data: GetApiContractServiceRebateTablesRebateTableHeadersTemplatesData = {}): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse> {
1393
- return this.httpRequest.request({
1394
- method: 'GET',
1395
- url: '/api/contract-service/rebate-tables/rebate-table-headers/templates',
1396
- query: {
1397
- Sorting: data.sorting,
1398
- SkipCount: data.skipCount,
1399
- MaxResultCount: data.maxResultCount
1400
- },
1401
- errors: {
1402
- 400: 'Bad Request',
1403
- 401: 'Unauthorized',
1404
- 403: 'Forbidden',
1405
- 404: 'Not Found',
1406
- 500: 'Server Error',
1407
- 501: 'Server Error'
1408
- }
1409
- });
1410
- }
1411
-
1412
- /**
1413
- * @param data The data for the request.
1414
- * @param data.requestBody
1415
- * @returns UniRefund_ContractService_Rebates_RebateTableHeaders_RebateTableHeaderTemplateDto Success
1416
- * @throws ApiError
1417
- */
1418
- public postApiContractServiceRebateTablesRebateTableHeadersTemplates(data: PostApiContractServiceRebateTablesRebateTableHeadersTemplatesData = {}): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse> {
1419
- return this.httpRequest.request({
1420
- method: 'POST',
1421
- url: '/api/contract-service/rebate-tables/rebate-table-headers/templates',
1422
- body: data.requestBody,
1423
- mediaType: 'application/json',
1424
- errors: {
1425
- 400: 'Bad Request',
1426
- 401: 'Unauthorized',
1427
- 403: 'Forbidden',
1428
- 404: 'Not Found',
1429
- 500: 'Server Error',
1430
- 501: 'Server Error'
1431
- }
1432
- });
1433
- }
1434
-
1435
- /**
1436
- * @param data The data for the request.
1437
- * @param data.id
1438
- * @param data.requestBody
1439
- * @returns UniRefund_ContractService_Rebates_RebateTableDetails_RebateTableDetailDto Success
1440
- * @throws ApiError
1441
- */
1442
- public postApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetails(data: PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsData): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsResponse> {
1443
- return this.httpRequest.request({
1444
- method: 'POST',
1445
- url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}/rebate-table-details',
1446
- path: {
1447
- id: data.id
1448
- },
1449
- body: data.requestBody,
1450
- mediaType: 'application/json',
1451
- errors: {
1452
- 400: 'Bad Request',
1453
- 401: 'Unauthorized',
1454
- 403: 'Forbidden',
1455
- 404: 'Not Found',
1456
- 500: 'Server Error',
1457
- 501: 'Server Error'
1458
- }
1459
- });
1460
- }
1461
-
1462
- }
1463
-
1464
- export class RefundFeeHeaderIntegrationService {
1465
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1466
-
1467
- /**
1468
- * @param data The data for the request.
1469
- * @param data.id
1470
- * @param data.refundFeeHeaderId
1471
- * @returns UniRefund_ContractService_Refunds_RefundFeeHeaders_RefundFeeHeaderDto Success
1472
- * @throws ApiError
1473
- */
1474
- public getIntegrationApiRefundFeeHeadersRefundPointsById(data: GetIntegrationApiRefundFeeHeadersRefundPointsByIdData): CancelablePromise<GetIntegrationApiRefundFeeHeadersRefundPointsByIdResponse> {
1475
- return this.httpRequest.request({
1476
- method: 'GET',
1477
- url: '/integration-api/refund-fee-headers/refund-points/{id}',
1478
- path: {
1479
- id: data.id
1480
- },
1481
- query: {
1482
- refundFeeHeaderId: data.refundFeeHeaderId
1483
- },
1484
- errors: {
1485
- 400: 'Bad Request',
1486
- 401: 'Unauthorized',
1487
- 403: 'Forbidden',
1488
- 404: 'Not Found',
1489
- 500: 'Server Error',
1490
- 501: 'Server Error'
1491
- }
1492
- });
1493
- }
1494
-
1495
- }
1496
-
1497
- export class RefundTableHeaderIntegrationService {
1498
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1499
-
1500
- /**
1501
- * @param data The data for the request.
1502
- * @param data.id
1503
- * @param data.refundTableHeaderId
1504
- * @returns UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderForTagDto Success
1505
- * @throws ApiError
1506
- */
1507
- public getIntegrationApiRefundTableHeadersMerchantsById(data: GetIntegrationApiRefundTableHeadersMerchantsByIdData): CancelablePromise<GetIntegrationApiRefundTableHeadersMerchantsByIdResponse> {
1508
- return this.httpRequest.request({
1509
- method: 'GET',
1510
- url: '/integration-api/refund-table-headers/merchants/{id}',
1511
- path: {
1512
- id: data.id
1513
- },
1514
- query: {
1515
- refundTableHeaderId: data.refundTableHeaderId
1516
- },
1517
- errors: {
1518
- 400: 'Bad Request',
1519
- 401: 'Unauthorized',
1520
- 403: 'Forbidden',
1521
- 404: 'Not Found',
1522
- 500: 'Server Error',
1523
- 501: 'Server Error'
1524
- }
1525
- });
1526
- }
1527
-
1528
- }
1529
-
1530
- export class RefundTablesService {
1531
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1532
-
1533
- /**
1534
- * @param data The data for the request.
1535
- * @param data.id
1536
- * @returns UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderDto Success
1537
- * @throws ApiError
1538
- */
1539
- public getApiContractServiceRefundTablesRefundTableHeadersById(data: GetApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<GetApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1540
- return this.httpRequest.request({
1541
- method: 'GET',
1542
- url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1543
- path: {
1544
- id: data.id
1545
- },
1546
- errors: {
1547
- 400: 'Bad Request',
1548
- 401: 'Unauthorized',
1549
- 403: 'Forbidden',
1550
- 404: 'Not Found',
1551
- 500: 'Server Error',
1552
- 501: 'Server Error'
1553
- }
1554
- });
1555
- }
1556
-
1557
- /**
1558
- * @param data The data for the request.
1559
- * @param data.id
1560
- * @param data.requestBody
1561
- * @returns UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderDto Success
1562
- * @throws ApiError
1563
- */
1564
- public putApiContractServiceRefundTablesRefundTableHeadersById(data: PutApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<PutApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1565
- return this.httpRequest.request({
1566
- method: 'PUT',
1567
- url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1568
- path: {
1569
- id: data.id
1570
- },
1571
- body: data.requestBody,
1572
- mediaType: 'application/json',
1573
- errors: {
1574
- 400: 'Bad Request',
1575
- 401: 'Unauthorized',
1576
- 403: 'Forbidden',
1577
- 404: 'Not Found',
1578
- 500: 'Server Error',
1579
- 501: 'Server Error'
1580
- }
1581
- });
1582
- }
1583
-
1584
- /**
1585
- * @param data The data for the request.
1586
- * @param data.id
1587
- * @returns unknown Success
1588
- * @throws ApiError
1589
- */
1590
- public deleteApiContractServiceRefundTablesRefundTableHeadersById(data: DeleteApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1591
- return this.httpRequest.request({
1592
- method: 'DELETE',
1593
- url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1594
- path: {
1595
- id: data.id
1596
- },
1597
- errors: {
1598
- 400: 'Bad Request',
1599
- 401: 'Unauthorized',
1600
- 403: 'Forbidden',
1601
- 404: 'Not Found',
1602
- 500: 'Server Error',
1603
- 501: 'Server Error'
1604
- }
1605
- });
1606
- }
1607
-
1608
- /**
1609
- * @param data The data for the request.
1610
- * @param data.skipCount
1611
- * @param data.maxResultCount
1612
- * @returns PagedResultDto_RefundTableHeaderDto Success
1613
- * @throws ApiError
1614
- */
1615
- public getApiContractServiceRefundTablesRefundTableHeaders(data: GetApiContractServiceRefundTablesRefundTableHeadersData = {}): CancelablePromise<GetApiContractServiceRefundTablesRefundTableHeadersResponse> {
1616
- return this.httpRequest.request({
1617
- method: 'GET',
1618
- url: '/api/contract-service/refund-tables/refund-table-headers',
1619
- query: {
1620
- SkipCount: data.skipCount,
1621
- MaxResultCount: data.maxResultCount
1622
- },
1623
- errors: {
1624
- 400: 'Bad Request',
1625
- 401: 'Unauthorized',
1626
- 403: 'Forbidden',
1627
- 404: 'Not Found',
1628
- 500: 'Server Error',
1629
- 501: 'Server Error'
1630
- }
1631
- });
1632
- }
1633
-
1634
- /**
1635
- * @param data The data for the request.
1636
- * @param data.requestBody
1637
- * @returns UniRefund_ContractService_Refunds_RefundTableHeaders_RefundTableHeaderDto Success
1638
- * @throws ApiError
1639
- */
1640
- public postApiContractServiceRefundTablesRefundTableHeaders(data: PostApiContractServiceRefundTablesRefundTableHeadersData = {}): CancelablePromise<PostApiContractServiceRefundTablesRefundTableHeadersResponse> {
1641
- return this.httpRequest.request({
1642
- method: 'POST',
1643
- url: '/api/contract-service/refund-tables/refund-table-headers',
1644
- body: data.requestBody,
1645
- mediaType: 'application/json',
1646
- errors: {
1647
- 400: 'Bad Request',
1648
- 401: 'Unauthorized',
1649
- 403: 'Forbidden',
1650
- 404: 'Not Found',
1651
- 500: 'Server Error',
1652
- 501: 'Server Error'
1653
- }
1654
- });
1655
- }
1656
-
1657
- /**
1658
- * @param data The data for the request.
1659
- * @param data.id
1660
- * @param data.requestBody
1661
- * @returns UniRefund_ContractService_Refunds_RefundTableDetails_RefundTableDetailDto Success
1662
- * @throws ApiError
1663
- */
1664
- public postApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetails(data: PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsData): CancelablePromise<PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsResponse> {
1665
- return this.httpRequest.request({
1666
- method: 'POST',
1667
- url: '/api/contract-service/refund-tables/refund-table-headers/{id}/refund-table-details',
1668
- path: {
1669
- id: data.id
1670
- },
1671
- body: data.requestBody,
1672
- mediaType: 'application/json',
1673
- errors: {
1674
- 400: 'Bad Request',
1675
- 401: 'Unauthorized',
1676
- 403: 'Forbidden',
1677
- 404: 'Not Found',
1678
- 500: 'Server Error',
1679
- 501: 'Server Error'
1680
- }
1681
- });
1682
- }
1683
-
1684
- /**
1685
- * @param data The data for the request.
1686
- * @param data.id
1687
- * @returns unknown Success
1688
- * @throws ApiError
1689
- */
1690
- public deleteApiContractServiceRefundTablesRefundTableDetailsById(data: DeleteApiContractServiceRefundTablesRefundTableDetailsByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundTableDetailsByIdResponse> {
1691
- return this.httpRequest.request({
1692
- method: 'DELETE',
1693
- url: '/api/contract-service/refund-tables/refund-table-details/{id}',
1694
- path: {
1695
- id: data.id
1696
- },
1697
- errors: {
1698
- 400: 'Bad Request',
1699
- 401: 'Unauthorized',
1700
- 403: 'Forbidden',
1701
- 404: 'Not Found',
1702
- 500: 'Server Error',
1703
- 501: 'Server Error'
1704
- }
1705
- });
1706
- }
1707
-
1708
- /**
1709
- * @param data The data for the request.
1710
- * @param data.skipCount
1711
- * @param data.maxResultCount
1712
- * @returns PagedResultDto_RefundFeeHeaderDto Success
1713
- * @throws ApiError
1714
- */
1715
- public getApiContractServiceRefundTablesRefundFeeHeaders(data: GetApiContractServiceRefundTablesRefundFeeHeadersData = {}): CancelablePromise<GetApiContractServiceRefundTablesRefundFeeHeadersResponse> {
1716
- return this.httpRequest.request({
1717
- method: 'GET',
1718
- url: '/api/contract-service/refund-tables/refund-fee-headers',
1719
- query: {
1720
- SkipCount: data.skipCount,
1721
- MaxResultCount: data.maxResultCount
1722
- },
1723
- errors: {
1724
- 400: 'Bad Request',
1725
- 401: 'Unauthorized',
1726
- 403: 'Forbidden',
1727
- 404: 'Not Found',
1728
- 500: 'Server Error',
1729
- 501: 'Server Error'
1730
- }
1731
- });
1732
- }
1733
-
1734
- /**
1735
- * @param data The data for the request.
1736
- * @param data.requestBody
1737
- * @returns UniRefund_ContractService_Refunds_RefundFeeHeaders_RefundFeeHeaderDto Success
1738
- * @throws ApiError
1739
- */
1740
- public postApiContractServiceRefundTablesRefundFeeHeaders(data: PostApiContractServiceRefundTablesRefundFeeHeadersData = {}): CancelablePromise<PostApiContractServiceRefundTablesRefundFeeHeadersResponse> {
1741
- return this.httpRequest.request({
1742
- method: 'POST',
1743
- url: '/api/contract-service/refund-tables/refund-fee-headers',
1744
- body: data.requestBody,
1745
- mediaType: 'application/json',
1746
- errors: {
1747
- 400: 'Bad Request',
1748
- 401: 'Unauthorized',
1749
- 403: 'Forbidden',
1750
- 404: 'Not Found',
1751
- 500: 'Server Error',
1752
- 501: 'Server Error'
1753
- }
1754
- });
1755
- }
1756
-
1757
- /**
1758
- * @param data The data for the request.
1759
- * @param data.id
1760
- * @returns UniRefund_ContractService_Refunds_RefundFeeHeaders_RefundFeeHeaderDto Success
1761
- * @throws ApiError
1762
- */
1763
- public getApiContractServiceRefundTablesRefundFeeHeadersById(data: GetApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<GetApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1764
- return this.httpRequest.request({
1765
- method: 'GET',
1766
- url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1767
- path: {
1768
- id: data.id
1769
- },
1770
- errors: {
1771
- 400: 'Bad Request',
1772
- 401: 'Unauthorized',
1773
- 403: 'Forbidden',
1774
- 404: 'Not Found',
1775
- 500: 'Server Error',
1776
- 501: 'Server Error'
1777
- }
1778
- });
1779
- }
1780
-
1781
- /**
1782
- * @param data The data for the request.
1783
- * @param data.id
1784
- * @param data.requestBody
1785
- * @returns UniRefund_ContractService_Refunds_RefundFeeHeaders_RefundFeeHeaderDto Success
1786
- * @throws ApiError
1787
- */
1788
- public putApiContractServiceRefundTablesRefundFeeHeadersById(data: PutApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<PutApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1789
- return this.httpRequest.request({
1790
- method: 'PUT',
1791
- url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1792
- path: {
1793
- id: data.id
1794
- },
1795
- body: data.requestBody,
1796
- mediaType: 'application/json',
1797
- errors: {
1798
- 400: 'Bad Request',
1799
- 401: 'Unauthorized',
1800
- 403: 'Forbidden',
1801
- 404: 'Not Found',
1802
- 500: 'Server Error',
1803
- 501: 'Server Error'
1804
- }
1805
- });
1806
- }
1807
-
1808
- /**
1809
- * @param data The data for the request.
1810
- * @param data.id
1811
- * @returns unknown Success
1812
- * @throws ApiError
1813
- */
1814
- public deleteApiContractServiceRefundTablesRefundFeeHeadersById(data: DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1815
- return this.httpRequest.request({
1816
- method: 'DELETE',
1817
- url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1818
- path: {
1819
- id: data.id
1820
- },
1821
- errors: {
1822
- 400: 'Bad Request',
1823
- 401: 'Unauthorized',
1824
- 403: 'Forbidden',
1825
- 404: 'Not Found',
1826
- 500: 'Server Error',
1827
- 501: 'Server Error'
1828
- }
1829
- });
1830
- }
1831
-
1832
- /**
1833
- * @param data The data for the request.
1834
- * @param data.id
1835
- * @param data.requestBody
1836
- * @returns UniRefund_ContractService_Refunds_RefundFeeDetails_RefundFeeDetailDto Success
1837
- * @throws ApiError
1838
- */
1839
- public postApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetails(data: PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsData): CancelablePromise<PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsResponse> {
1840
- return this.httpRequest.request({
1841
- method: 'POST',
1842
- url: '/api/contract-service/refund-tables/refund-fee-headers/{id}/refund-fee-details',
1843
- path: {
1844
- id: data.id
1845
- },
1846
- body: data.requestBody,
1847
- mediaType: 'application/json',
1848
- errors: {
1849
- 400: 'Bad Request',
1850
- 401: 'Unauthorized',
1851
- 403: 'Forbidden',
1852
- 404: 'Not Found',
1853
- 500: 'Server Error',
1854
- 501: 'Server Error'
1855
- }
1856
- });
1857
- }
1858
-
1859
- /**
1860
- * @param data The data for the request.
1861
- * @param data.id
1862
- * @returns unknown Success
1863
- * @throws ApiError
1864
- */
1865
- public deleteApiContractServiceRefundTablesRefundFeeDetailsById(data: DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdResponse> {
1866
- return this.httpRequest.request({
1867
- method: 'DELETE',
1868
- url: '/api/contract-service/refund-tables/refund-fee-details/{id}',
1869
- path: {
1870
- id: data.id
1871
- },
1872
- errors: {
1873
- 400: 'Bad Request',
1874
- 401: 'Unauthorized',
1875
- 403: 'Forbidden',
1876
- 404: 'Not Found',
1877
- 500: 'Server Error',
1878
- 501: 'Server Error'
1879
- }
1880
- });
1881
- }
1882
-
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+
3
+ import type { CancelablePromise } from './core/CancelablePromise';
4
+ import type { BaseHttpRequest } from './core/BaseHttpRequest';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdData, GetApiContractServiceMerchantsContractsContractHeadersByIdResponse, PutApiContractServiceMerchantsContractsContractHeadersByIdData, PutApiContractServiceMerchantsContractsContractHeadersByIdResponse, DeleteApiContractServiceMerchantsContractsContractHeadersByIdData, DeleteApiContractServiceMerchantsContractsContractHeadersByIdResponse, GetApiContractServiceMerchantsContractsContractHeadersData, GetApiContractServiceMerchantsContractsContractHeadersResponse, GetApiContractServiceMerchantsByIdContractsContractHeadersData, GetApiContractServiceMerchantsByIdContractsContractHeadersResponse, PostApiContractServiceMerchantsByIdContractsContractHeadersData, PostApiContractServiceMerchantsByIdContractsContractHeadersResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData, GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData, PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdIsValidatableData, GetApiContractServiceMerchantsContractsContractHeadersByIdIsValidatableResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdValidateData, PostApiContractServiceMerchantsContractsContractHeadersByIdValidateResponse, PutApiContractServiceMerchantsContractsContractHeadersByIdMakePassiveData, PutApiContractServiceMerchantsContractsContractHeadersByIdMakePassiveResponse, GetApiContractServiceMerchantsContractsContractSettingsByIdData, GetApiContractServiceMerchantsContractsContractSettingsByIdResponse, PutApiContractServiceMerchantsContractsContractSettingsByIdData, PutApiContractServiceMerchantsContractsContractSettingsByIdResponse, DeleteApiContractServiceMerchantsContractsContractSettingsByIdData, DeleteApiContractServiceMerchantsContractsContractSettingsByIdResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData, GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData, PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse, PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingData, PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingResponse, GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData, GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse, PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData, PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse, GetIntegrationApiMerchantsContractsForVatStatementData, GetIntegrationApiMerchantsContractsForVatStatementResponse, GetIntegrationApiMerchantsContractsRebateStatementPeriodsData, GetIntegrationApiMerchantsContractsRebateStatementPeriodsResponse, PostIntegrationApiMerchantsContractsCalculateFeesForRebateData, PostIntegrationApiMerchantsContractsCalculateFeesForRebateResponse, PostIntegrationApiMerchantsContractsEnsureHasActiveContractHeaderWithRefundAndRebateData, PostIntegrationApiMerchantsContractsEnsureHasActiveContractHeaderWithRefundAndRebateResponse, GetApiContractServiceRefundPointsContractsContractHeadersByIdData, GetApiContractServiceRefundPointsContractsContractHeadersByIdResponse, PutApiContractServiceRefundPointsContractsContractHeadersByIdData, PutApiContractServiceRefundPointsContractsContractHeadersByIdResponse, DeleteApiContractServiceRefundPointsContractsContractHeadersByIdData, DeleteApiContractServiceRefundPointsContractsContractHeadersByIdResponse, GetApiContractServiceRefundPointsContractsContractHeadersData, GetApiContractServiceRefundPointsContractsContractHeadersResponse, GetApiContractServiceRefundPointsByIdContractsContractHeadersData, GetApiContractServiceRefundPointsByIdContractsContractHeadersResponse, PostApiContractServiceRefundPointsByIdContractsContractHeadersData, PostApiContractServiceRefundPointsByIdContractsContractHeadersResponse, GetApiContractServiceRefundPointsContractsContractHeadersByIdIsValidatableData, GetApiContractServiceRefundPointsContractsContractHeadersByIdIsValidatableResponse, PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateData, PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateResponse, PutApiContractServiceRefundPointsContractsContractHeadersByIdMakePassiveData, PutApiContractServiceRefundPointsContractsContractHeadersByIdMakePassiveResponse, PostIntegrationApiRefundPointsByIdCalculateFeesData, PostIntegrationApiRefundPointsByIdCalculateFeesResponse, GetApiContractServiceRebateTablesRebateSettingsByIdData, GetApiContractServiceRebateTablesRebateSettingsByIdResponse, PutApiContractServiceRebateTablesRebateSettingsByIdData, PutApiContractServiceRebateTablesRebateSettingsByIdResponse, PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersData, PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersResponse, PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsData, PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsResponse, GetApiContractServiceRebateTablesRebateSettingsDetailByIdData, GetApiContractServiceRebateTablesRebateSettingsDetailByIdResponse, GetApiContractServiceRebateTablesMinimumNetCommissionsByIdData, GetApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, PutApiContractServiceRebateTablesMinimumNetCommissionsByIdData, PutApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdData, DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse, GetApiContractServiceRebateTablesMinimumNetCommissionsData, GetApiContractServiceRebateTablesMinimumNetCommissionsResponse, GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData, DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse, PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsData, PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsResponse, GetApiContractServiceRebateTablesRebateTableDetailsByIdData, GetApiContractServiceRebateTablesRebateTableDetailsByIdResponse, PutApiContractServiceRebateTablesRebateTableDetailsByIdData, PutApiContractServiceRebateTablesRebateTableDetailsByIdResponse, DeleteApiContractServiceRebateTablesRebateTableDetailsByIdData, DeleteApiContractServiceRebateTablesRebateTableDetailsByIdResponse, GetApiContractServiceRebateTablesRebateTableDetailsData, GetApiContractServiceRebateTablesRebateTableDetailsResponse, GetApiContractServiceRebateTablesRebateTableHeadersByIdData, GetApiContractServiceRebateTablesRebateTableHeadersByIdResponse, PutApiContractServiceRebateTablesRebateTableHeadersByIdData, PutApiContractServiceRebateTablesRebateTableHeadersByIdResponse, GetApiContractServiceRebateTablesRebateTableHeadersTemplatesData, GetApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse, PostApiContractServiceRebateTablesRebateTableHeadersTemplatesData, PostApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse, PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsData, PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsResponse, GetIntegrationApiRefundFeeHeadersRefundPointsByIdData, GetIntegrationApiRefundFeeHeadersRefundPointsByIdResponse, GetIntegrationApiRefundTableHeadersMerchantsByIdData, GetIntegrationApiRefundTableHeadersMerchantsByIdResponse, GetApiContractServiceRefundTablesRefundTableHeadersByIdData, GetApiContractServiceRefundTablesRefundTableHeadersByIdResponse, PutApiContractServiceRefundTablesRefundTableHeadersByIdData, PutApiContractServiceRefundTablesRefundTableHeadersByIdResponse, DeleteApiContractServiceRefundTablesRefundTableHeadersByIdData, DeleteApiContractServiceRefundTablesRefundTableHeadersByIdResponse, GetApiContractServiceRefundTablesRefundTableHeadersData, GetApiContractServiceRefundTablesRefundTableHeadersResponse, PostApiContractServiceRefundTablesRefundTableHeadersData, PostApiContractServiceRefundTablesRefundTableHeadersResponse, PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsData, PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsResponse, DeleteApiContractServiceRefundTablesRefundTableDetailsByIdData, DeleteApiContractServiceRefundTablesRefundTableDetailsByIdResponse, GetApiContractServiceRefundTablesRefundFeeHeadersData, GetApiContractServiceRefundTablesRefundFeeHeadersResponse, PostApiContractServiceRefundTablesRefundFeeHeadersData, PostApiContractServiceRefundTablesRefundFeeHeadersResponse, GetApiContractServiceRefundTablesRefundFeeHeadersByIdData, GetApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, PutApiContractServiceRefundTablesRefundFeeHeadersByIdData, PutApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdData, DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdResponse, PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsData, PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsResponse, DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdData, DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdResponse } from './types.gen';
6
+
7
+ export class AbpApiDefinitionService {
8
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
9
+
10
+ /**
11
+ * @param data The data for the request.
12
+ * @param data.includeTypes
13
+ * @returns unknown Success
14
+ * @throws ApiError
15
+ */
16
+ public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
17
+ return this.httpRequest.request({
18
+ method: 'GET',
19
+ url: '/api/abp/api-definition',
20
+ query: {
21
+ IncludeTypes: data.includeTypes
22
+ },
23
+ errors: {
24
+ 400: 'Bad Request',
25
+ 401: 'Unauthorized',
26
+ 403: 'Forbidden',
27
+ 404: 'Not Found',
28
+ 500: 'Server Error',
29
+ 501: 'Server Error'
30
+ }
31
+ });
32
+ }
33
+
34
+ }
35
+
36
+ export class AbpApplicationConfigurationService {
37
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
38
+
39
+ /**
40
+ * @param data The data for the request.
41
+ * @param data.includeLocalizationResources
42
+ * @returns unknown Success
43
+ * @throws ApiError
44
+ */
45
+ public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
46
+ return this.httpRequest.request({
47
+ method: 'GET',
48
+ url: '/api/abp/application-configuration',
49
+ query: {
50
+ IncludeLocalizationResources: data.includeLocalizationResources
51
+ },
52
+ errors: {
53
+ 400: 'Bad Request',
54
+ 401: 'Unauthorized',
55
+ 403: 'Forbidden',
56
+ 404: 'Not Found',
57
+ 500: 'Server Error',
58
+ 501: 'Server Error'
59
+ }
60
+ });
61
+ }
62
+
63
+ }
64
+
65
+ export class AbpApplicationLocalizationService {
66
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
67
+
68
+ /**
69
+ * @param data The data for the request.
70
+ * @param data.cultureName
71
+ * @param data.onlyDynamics
72
+ * @returns unknown Success
73
+ * @throws ApiError
74
+ */
75
+ public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
76
+ return this.httpRequest.request({
77
+ method: 'GET',
78
+ url: '/api/abp/application-localization',
79
+ query: {
80
+ CultureName: data.cultureName,
81
+ OnlyDynamics: data.onlyDynamics
82
+ },
83
+ errors: {
84
+ 400: 'Bad Request',
85
+ 401: 'Unauthorized',
86
+ 403: 'Forbidden',
87
+ 404: 'Not Found',
88
+ 500: 'Server Error',
89
+ 501: 'Server Error'
90
+ }
91
+ });
92
+ }
93
+
94
+ }
95
+
96
+ export class ContractsMerchantService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.id
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiContractServiceMerchantsContractsContractHeadersById(data: GetApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
109
+ path: {
110
+ id: data.id
111
+ },
112
+ errors: {
113
+ 400: 'Bad Request',
114
+ 401: 'Unauthorized',
115
+ 403: 'Forbidden',
116
+ 404: 'Not Found',
117
+ 500: 'Server Error',
118
+ 501: 'Server Error'
119
+ }
120
+ });
121
+ }
122
+
123
+ /**
124
+ * @param data The data for the request.
125
+ * @param data.id
126
+ * @param data.requestBody
127
+ * @returns unknown Success
128
+ * @throws ApiError
129
+ */
130
+ public putApiContractServiceMerchantsContractsContractHeadersById(data: PutApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<PutApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
131
+ return this.httpRequest.request({
132
+ method: 'PUT',
133
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
134
+ path: {
135
+ id: data.id
136
+ },
137
+ body: data.requestBody,
138
+ mediaType: 'application/json',
139
+ errors: {
140
+ 400: 'Bad Request',
141
+ 401: 'Unauthorized',
142
+ 403: 'Forbidden',
143
+ 404: 'Not Found',
144
+ 500: 'Server Error',
145
+ 501: 'Server Error'
146
+ }
147
+ });
148
+ }
149
+
150
+ /**
151
+ * @param data The data for the request.
152
+ * @param data.id
153
+ * @returns unknown Success
154
+ * @throws ApiError
155
+ */
156
+ public deleteApiContractServiceMerchantsContractsContractHeadersById(data: DeleteApiContractServiceMerchantsContractsContractHeadersByIdData): CancelablePromise<DeleteApiContractServiceMerchantsContractsContractHeadersByIdResponse> {
157
+ return this.httpRequest.request({
158
+ method: 'DELETE',
159
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}',
160
+ path: {
161
+ id: data.id
162
+ },
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.isDraft
177
+ * @param data.sorting
178
+ * @param data.skipCount
179
+ * @param data.maxResultCount
180
+ * @returns unknown Success
181
+ * @throws ApiError
182
+ */
183
+ public getApiContractServiceMerchantsContractsContractHeaders(data: GetApiContractServiceMerchantsContractsContractHeadersData = {}): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersResponse> {
184
+ return this.httpRequest.request({
185
+ method: 'GET',
186
+ url: '/api/contract-service/merchants/contracts/contract-headers',
187
+ query: {
188
+ IsDraft: data.isDraft,
189
+ Sorting: data.sorting,
190
+ SkipCount: data.skipCount,
191
+ MaxResultCount: data.maxResultCount
192
+ },
193
+ errors: {
194
+ 400: 'Bad Request',
195
+ 401: 'Unauthorized',
196
+ 403: 'Forbidden',
197
+ 404: 'Not Found',
198
+ 500: 'Server Error',
199
+ 501: 'Server Error'
200
+ }
201
+ });
202
+ }
203
+
204
+ /**
205
+ * @param data The data for the request.
206
+ * @param data.id
207
+ * @param data.isDraft
208
+ * @param data.sorting
209
+ * @param data.skipCount
210
+ * @param data.maxResultCount
211
+ * @returns unknown Success
212
+ * @throws ApiError
213
+ */
214
+ public getApiContractServiceMerchantsByIdContractsContractHeaders(data: GetApiContractServiceMerchantsByIdContractsContractHeadersData): CancelablePromise<GetApiContractServiceMerchantsByIdContractsContractHeadersResponse> {
215
+ return this.httpRequest.request({
216
+ method: 'GET',
217
+ url: '/api/contract-service/merchants/{id}/contracts/contract-headers',
218
+ path: {
219
+ id: data.id
220
+ },
221
+ query: {
222
+ IsDraft: data.isDraft,
223
+ Sorting: data.sorting,
224
+ SkipCount: data.skipCount,
225
+ MaxResultCount: data.maxResultCount
226
+ },
227
+ errors: {
228
+ 400: 'Bad Request',
229
+ 401: 'Unauthorized',
230
+ 403: 'Forbidden',
231
+ 404: 'Not Found',
232
+ 500: 'Server Error',
233
+ 501: 'Server Error'
234
+ }
235
+ });
236
+ }
237
+
238
+ /**
239
+ * @param data The data for the request.
240
+ * @param data.id
241
+ * @param data.requestBody
242
+ * @returns unknown Success
243
+ * @throws ApiError
244
+ */
245
+ public postApiContractServiceMerchantsByIdContractsContractHeaders(data: PostApiContractServiceMerchantsByIdContractsContractHeadersData): CancelablePromise<PostApiContractServiceMerchantsByIdContractsContractHeadersResponse> {
246
+ return this.httpRequest.request({
247
+ method: 'POST',
248
+ url: '/api/contract-service/merchants/{id}/contracts/contract-headers',
249
+ path: {
250
+ id: data.id
251
+ },
252
+ body: data.requestBody,
253
+ mediaType: 'application/json',
254
+ errors: {
255
+ 400: 'Bad Request',
256
+ 401: 'Unauthorized',
257
+ 403: 'Forbidden',
258
+ 404: 'Not Found',
259
+ 500: 'Server Error',
260
+ 501: 'Server Error'
261
+ }
262
+ });
263
+ }
264
+
265
+ /**
266
+ * @param data The data for the request.
267
+ * @param data.id
268
+ * @param data.sorting
269
+ * @param data.skipCount
270
+ * @param data.maxResultCount
271
+ * @returns unknown Success
272
+ * @throws ApiError
273
+ */
274
+ public getApiContractServiceMerchantsContractsContractHeadersByIdContractStores(data: GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse> {
275
+ return this.httpRequest.request({
276
+ method: 'GET',
277
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-stores',
278
+ path: {
279
+ id: data.id
280
+ },
281
+ query: {
282
+ Sorting: data.sorting,
283
+ SkipCount: data.skipCount,
284
+ MaxResultCount: data.maxResultCount
285
+ },
286
+ errors: {
287
+ 400: 'Bad Request',
288
+ 401: 'Unauthorized',
289
+ 403: 'Forbidden',
290
+ 404: 'Not Found',
291
+ 500: 'Server Error',
292
+ 501: 'Server Error'
293
+ }
294
+ });
295
+ }
296
+
297
+ /**
298
+ * @param data The data for the request.
299
+ * @param data.id
300
+ * @param data.requestBody
301
+ * @returns unknown Success
302
+ * @throws ApiError
303
+ */
304
+ public postApiContractServiceMerchantsContractsContractHeadersByIdContractStores(data: PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdContractStoresResponse> {
305
+ return this.httpRequest.request({
306
+ method: 'POST',
307
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-stores',
308
+ path: {
309
+ id: data.id
310
+ },
311
+ body: data.requestBody,
312
+ mediaType: 'application/json',
313
+ errors: {
314
+ 400: 'Bad Request',
315
+ 401: 'Unauthorized',
316
+ 403: 'Forbidden',
317
+ 404: 'Not Found',
318
+ 500: 'Server Error',
319
+ 501: 'Server Error'
320
+ }
321
+ });
322
+ }
323
+
324
+ /**
325
+ * @param data The data for the request.
326
+ * @param data.id
327
+ * @returns unknown Success
328
+ * @throws ApiError
329
+ */
330
+ public getApiContractServiceMerchantsContractsContractHeadersByIdIsValidatable(data: GetApiContractServiceMerchantsContractsContractHeadersByIdIsValidatableData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdIsValidatableResponse> {
331
+ return this.httpRequest.request({
332
+ method: 'GET',
333
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/is-validatable',
334
+ path: {
335
+ id: data.id
336
+ },
337
+ errors: {
338
+ 400: 'Bad Request',
339
+ 401: 'Unauthorized',
340
+ 403: 'Forbidden',
341
+ 404: 'Not Found',
342
+ 500: 'Server Error',
343
+ 501: 'Server Error'
344
+ }
345
+ });
346
+ }
347
+
348
+ /**
349
+ * @param data The data for the request.
350
+ * @param data.id
351
+ * @returns boolean Success
352
+ * @throws ApiError
353
+ */
354
+ public postApiContractServiceMerchantsContractsContractHeadersByIdValidate(data: PostApiContractServiceMerchantsContractsContractHeadersByIdValidateData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdValidateResponse> {
355
+ return this.httpRequest.request({
356
+ method: 'POST',
357
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/validate',
358
+ path: {
359
+ id: data.id
360
+ },
361
+ errors: {
362
+ 400: 'Bad Request',
363
+ 401: 'Unauthorized',
364
+ 403: 'Forbidden',
365
+ 404: 'Not Found',
366
+ 500: 'Server Error',
367
+ 501: 'Server Error'
368
+ }
369
+ });
370
+ }
371
+
372
+ /**
373
+ * @param data The data for the request.
374
+ * @param data.id
375
+ * @returns unknown Success
376
+ * @throws ApiError
377
+ */
378
+ public putApiContractServiceMerchantsContractsContractHeadersByIdMakePassive(data: PutApiContractServiceMerchantsContractsContractHeadersByIdMakePassiveData): CancelablePromise<PutApiContractServiceMerchantsContractsContractHeadersByIdMakePassiveResponse> {
379
+ return this.httpRequest.request({
380
+ method: 'PUT',
381
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/make-passive',
382
+ path: {
383
+ id: data.id
384
+ },
385
+ errors: {
386
+ 400: 'Bad Request',
387
+ 401: 'Unauthorized',
388
+ 403: 'Forbidden',
389
+ 404: 'Not Found',
390
+ 500: 'Server Error',
391
+ 501: 'Server Error'
392
+ }
393
+ });
394
+ }
395
+
396
+ /**
397
+ * @param data The data for the request.
398
+ * @param data.id
399
+ * @returns unknown Success
400
+ * @throws ApiError
401
+ */
402
+ public getApiContractServiceMerchantsContractsContractSettingsById(data: GetApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<GetApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
403
+ return this.httpRequest.request({
404
+ method: 'GET',
405
+ url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
406
+ path: {
407
+ id: data.id
408
+ },
409
+ errors: {
410
+ 400: 'Bad Request',
411
+ 401: 'Unauthorized',
412
+ 403: 'Forbidden',
413
+ 404: 'Not Found',
414
+ 500: 'Server Error',
415
+ 501: 'Server Error'
416
+ }
417
+ });
418
+ }
419
+
420
+ /**
421
+ * @param data The data for the request.
422
+ * @param data.id
423
+ * @param data.requestBody
424
+ * @returns unknown Success
425
+ * @throws ApiError
426
+ */
427
+ public putApiContractServiceMerchantsContractsContractSettingsById(data: PutApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<PutApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
428
+ return this.httpRequest.request({
429
+ method: 'PUT',
430
+ url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
431
+ path: {
432
+ id: data.id
433
+ },
434
+ body: data.requestBody,
435
+ mediaType: 'application/json',
436
+ errors: {
437
+ 400: 'Bad Request',
438
+ 401: 'Unauthorized',
439
+ 403: 'Forbidden',
440
+ 404: 'Not Found',
441
+ 500: 'Server Error',
442
+ 501: 'Server Error'
443
+ }
444
+ });
445
+ }
446
+
447
+ /**
448
+ * @param data The data for the request.
449
+ * @param data.id
450
+ * @returns unknown Success
451
+ * @throws ApiError
452
+ */
453
+ public deleteApiContractServiceMerchantsContractsContractSettingsById(data: DeleteApiContractServiceMerchantsContractsContractSettingsByIdData): CancelablePromise<DeleteApiContractServiceMerchantsContractsContractSettingsByIdResponse> {
454
+ return this.httpRequest.request({
455
+ method: 'DELETE',
456
+ url: '/api/contract-service/merchants/contracts/contract-settings/{id}',
457
+ path: {
458
+ id: data.id
459
+ },
460
+ errors: {
461
+ 400: 'Bad Request',
462
+ 401: 'Unauthorized',
463
+ 403: 'Forbidden',
464
+ 404: 'Not Found',
465
+ 500: 'Server Error',
466
+ 501: 'Server Error'
467
+ }
468
+ });
469
+ }
470
+
471
+ /**
472
+ * @param data The data for the request.
473
+ * @param data.id
474
+ * @param data.sorting
475
+ * @param data.skipCount
476
+ * @param data.maxResultCount
477
+ * @returns unknown Success
478
+ * @throws ApiError
479
+ */
480
+ public getApiContractServiceMerchantsContractsContractHeadersByIdContractSettings(data: GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse> {
481
+ return this.httpRequest.request({
482
+ method: 'GET',
483
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-settings',
484
+ path: {
485
+ id: data.id
486
+ },
487
+ query: {
488
+ Sorting: data.sorting,
489
+ SkipCount: data.skipCount,
490
+ MaxResultCount: data.maxResultCount
491
+ },
492
+ errors: {
493
+ 400: 'Bad Request',
494
+ 401: 'Unauthorized',
495
+ 403: 'Forbidden',
496
+ 404: 'Not Found',
497
+ 500: 'Server Error',
498
+ 501: 'Server Error'
499
+ }
500
+ });
501
+ }
502
+
503
+ /**
504
+ * @param data The data for the request.
505
+ * @param data.id
506
+ * @param data.requestBody
507
+ * @returns unknown Success
508
+ * @throws ApiError
509
+ */
510
+ public postApiContractServiceMerchantsContractsContractHeadersByIdContractSettings(data: PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdContractSettingsResponse> {
511
+ return this.httpRequest.request({
512
+ method: 'POST',
513
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/contract-settings',
514
+ path: {
515
+ id: data.id
516
+ },
517
+ body: data.requestBody,
518
+ mediaType: 'application/json',
519
+ errors: {
520
+ 400: 'Bad Request',
521
+ 401: 'Unauthorized',
522
+ 403: 'Forbidden',
523
+ 404: 'Not Found',
524
+ 500: 'Server Error',
525
+ 501: 'Server Error'
526
+ }
527
+ });
528
+ }
529
+
530
+ /**
531
+ * @param data The data for the request.
532
+ * @param data.id
533
+ * @param data.requestBody
534
+ * @returns unknown Success
535
+ * @throws ApiError
536
+ */
537
+ public putApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSetting(data: PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingData): CancelablePromise<PutApiContractServiceMerchantsContractsContractHeadersByIdSetDefaultSettingResponse> {
538
+ return this.httpRequest.request({
539
+ method: 'PUT',
540
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/set-default-setting',
541
+ path: {
542
+ id: data.id
543
+ },
544
+ body: data.requestBody,
545
+ mediaType: 'application/json',
546
+ errors: {
547
+ 400: 'Bad Request',
548
+ 401: 'Unauthorized',
549
+ 403: 'Forbidden',
550
+ 404: 'Not Found',
551
+ 500: 'Server Error',
552
+ 501: 'Server Error'
553
+ }
554
+ });
555
+ }
556
+
557
+ /**
558
+ * @param data The data for the request.
559
+ * @param data.id
560
+ * @returns unknown Success
561
+ * @throws ApiError
562
+ */
563
+ public getApiContractServiceMerchantsContractsContractHeadersByIdRebateSettings(data: GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData): CancelablePromise<GetApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse> {
564
+ return this.httpRequest.request({
565
+ method: 'GET',
566
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/rebate-settings',
567
+ path: {
568
+ id: data.id
569
+ },
570
+ errors: {
571
+ 400: 'Bad Request',
572
+ 401: 'Unauthorized',
573
+ 403: 'Forbidden',
574
+ 404: 'Not Found',
575
+ 500: 'Server Error',
576
+ 501: 'Server Error'
577
+ }
578
+ });
579
+ }
580
+
581
+ /**
582
+ * @param data The data for the request.
583
+ * @param data.id
584
+ * @param data.requestBody
585
+ * @returns unknown Success
586
+ * @throws ApiError
587
+ */
588
+ public postApiContractServiceMerchantsContractsContractHeadersByIdRebateSettings(data: PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsData): CancelablePromise<PostApiContractServiceMerchantsContractsContractHeadersByIdRebateSettingsResponse> {
589
+ return this.httpRequest.request({
590
+ method: 'POST',
591
+ url: '/api/contract-service/merchants/contracts/contract-headers/{id}/rebate-settings',
592
+ path: {
593
+ id: data.id
594
+ },
595
+ body: data.requestBody,
596
+ mediaType: 'application/json',
597
+ errors: {
598
+ 400: 'Bad Request',
599
+ 401: 'Unauthorized',
600
+ 403: 'Forbidden',
601
+ 404: 'Not Found',
602
+ 500: 'Server Error',
603
+ 501: 'Server Error'
604
+ }
605
+ });
606
+ }
607
+
608
+ }
609
+
610
+ export class ContractsMerchantIntegrationService {
611
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
612
+
613
+ /**
614
+ * @param data The data for the request.
615
+ * @param data.contractHeaderIds
616
+ * @returns unknown Success
617
+ * @throws ApiError
618
+ */
619
+ public getIntegrationApiMerchantsContractsForVatStatement(data: GetIntegrationApiMerchantsContractsForVatStatementData = {}): CancelablePromise<GetIntegrationApiMerchantsContractsForVatStatementResponse> {
620
+ return this.httpRequest.request({
621
+ method: 'GET',
622
+ url: '/integration-api/merchants/contracts/for-vat-statement',
623
+ query: {
624
+ contractHeaderIds: data.contractHeaderIds
625
+ },
626
+ errors: {
627
+ 400: 'Bad Request',
628
+ 401: 'Unauthorized',
629
+ 403: 'Forbidden',
630
+ 404: 'Not Found',
631
+ 500: 'Server Error',
632
+ 501: 'Server Error'
633
+ }
634
+ });
635
+ }
636
+
637
+ /**
638
+ * @param data The data for the request.
639
+ * @param data.contractHeaderIds
640
+ * @returns string Success
641
+ * @throws ApiError
642
+ */
643
+ public getIntegrationApiMerchantsContractsRebateStatementPeriods(data: GetIntegrationApiMerchantsContractsRebateStatementPeriodsData = {}): CancelablePromise<GetIntegrationApiMerchantsContractsRebateStatementPeriodsResponse> {
644
+ return this.httpRequest.request({
645
+ method: 'GET',
646
+ url: '/integration-api/merchants/contracts/rebate-statement-periods',
647
+ query: {
648
+ contractHeaderIds: data.contractHeaderIds
649
+ },
650
+ errors: {
651
+ 400: 'Bad Request',
652
+ 401: 'Unauthorized',
653
+ 403: 'Forbidden',
654
+ 404: 'Not Found',
655
+ 500: 'Server Error',
656
+ 501: 'Server Error'
657
+ }
658
+ });
659
+ }
660
+
661
+ /**
662
+ * @param data The data for the request.
663
+ * @param data.requestBody
664
+ * @returns unknown Success
665
+ * @throws ApiError
666
+ */
667
+ public postIntegrationApiMerchantsContractsCalculateFeesForRebate(data: PostIntegrationApiMerchantsContractsCalculateFeesForRebateData = {}): CancelablePromise<PostIntegrationApiMerchantsContractsCalculateFeesForRebateResponse> {
668
+ return this.httpRequest.request({
669
+ method: 'POST',
670
+ url: '/integration-api/merchants/contracts/calculate-fees-for-rebate',
671
+ body: data.requestBody,
672
+ mediaType: 'application/json',
673
+ errors: {
674
+ 400: 'Bad Request',
675
+ 401: 'Unauthorized',
676
+ 403: 'Forbidden',
677
+ 404: 'Not Found',
678
+ 500: 'Server Error',
679
+ 501: 'Server Error'
680
+ }
681
+ });
682
+ }
683
+
684
+ /**
685
+ * @param data The data for the request.
686
+ * @param data.requestBody
687
+ * @returns unknown Success
688
+ * @throws ApiError
689
+ */
690
+ public postIntegrationApiMerchantsContractsEnsureHasActiveContractHeaderWithRefundAndRebate(data: PostIntegrationApiMerchantsContractsEnsureHasActiveContractHeaderWithRefundAndRebateData = {}): CancelablePromise<PostIntegrationApiMerchantsContractsEnsureHasActiveContractHeaderWithRefundAndRebateResponse> {
691
+ return this.httpRequest.request({
692
+ method: 'POST',
693
+ url: '/integration-api/merchants/contracts/ensure-has-active-contract-header-with-refund-and-rebate',
694
+ body: data.requestBody,
695
+ mediaType: 'application/json',
696
+ errors: {
697
+ 400: 'Bad Request',
698
+ 401: 'Unauthorized',
699
+ 403: 'Forbidden',
700
+ 404: 'Not Found',
701
+ 500: 'Server Error',
702
+ 501: 'Server Error'
703
+ }
704
+ });
705
+ }
706
+
707
+ }
708
+
709
+ export class ContractsRefundPointService {
710
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
711
+
712
+ /**
713
+ * @param data The data for the request.
714
+ * @param data.id
715
+ * @returns unknown Success
716
+ * @throws ApiError
717
+ */
718
+ public getApiContractServiceRefundPointsContractsContractHeadersById(data: GetApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
719
+ return this.httpRequest.request({
720
+ method: 'GET',
721
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
722
+ path: {
723
+ id: data.id
724
+ },
725
+ errors: {
726
+ 400: 'Bad Request',
727
+ 401: 'Unauthorized',
728
+ 403: 'Forbidden',
729
+ 404: 'Not Found',
730
+ 500: 'Server Error',
731
+ 501: 'Server Error'
732
+ }
733
+ });
734
+ }
735
+
736
+ /**
737
+ * @param data The data for the request.
738
+ * @param data.id
739
+ * @param data.requestBody
740
+ * @returns unknown Success
741
+ * @throws ApiError
742
+ */
743
+ public putApiContractServiceRefundPointsContractsContractHeadersById(data: PutApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<PutApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
744
+ return this.httpRequest.request({
745
+ method: 'PUT',
746
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
747
+ path: {
748
+ id: data.id
749
+ },
750
+ body: data.requestBody,
751
+ mediaType: 'application/json',
752
+ errors: {
753
+ 400: 'Bad Request',
754
+ 401: 'Unauthorized',
755
+ 403: 'Forbidden',
756
+ 404: 'Not Found',
757
+ 500: 'Server Error',
758
+ 501: 'Server Error'
759
+ }
760
+ });
761
+ }
762
+
763
+ /**
764
+ * @param data The data for the request.
765
+ * @param data.id
766
+ * @returns unknown Success
767
+ * @throws ApiError
768
+ */
769
+ public deleteApiContractServiceRefundPointsContractsContractHeadersById(data: DeleteApiContractServiceRefundPointsContractsContractHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundPointsContractsContractHeadersByIdResponse> {
770
+ return this.httpRequest.request({
771
+ method: 'DELETE',
772
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}',
773
+ path: {
774
+ id: data.id
775
+ },
776
+ errors: {
777
+ 400: 'Bad Request',
778
+ 401: 'Unauthorized',
779
+ 403: 'Forbidden',
780
+ 404: 'Not Found',
781
+ 500: 'Server Error',
782
+ 501: 'Server Error'
783
+ }
784
+ });
785
+ }
786
+
787
+ /**
788
+ * @param data The data for the request.
789
+ * @param data.isDraft
790
+ * @param data.sorting
791
+ * @param data.skipCount
792
+ * @param data.maxResultCount
793
+ * @returns unknown Success
794
+ * @throws ApiError
795
+ */
796
+ public getApiContractServiceRefundPointsContractsContractHeaders(data: GetApiContractServiceRefundPointsContractsContractHeadersData = {}): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersResponse> {
797
+ return this.httpRequest.request({
798
+ method: 'GET',
799
+ url: '/api/contract-service/refund-points/contracts/contract-headers',
800
+ query: {
801
+ IsDraft: data.isDraft,
802
+ Sorting: data.sorting,
803
+ SkipCount: data.skipCount,
804
+ MaxResultCount: data.maxResultCount
805
+ },
806
+ errors: {
807
+ 400: 'Bad Request',
808
+ 401: 'Unauthorized',
809
+ 403: 'Forbidden',
810
+ 404: 'Not Found',
811
+ 500: 'Server Error',
812
+ 501: 'Server Error'
813
+ }
814
+ });
815
+ }
816
+
817
+ /**
818
+ * @param data The data for the request.
819
+ * @param data.id
820
+ * @param data.isDraft
821
+ * @param data.sorting
822
+ * @param data.skipCount
823
+ * @param data.maxResultCount
824
+ * @returns unknown Success
825
+ * @throws ApiError
826
+ */
827
+ public getApiContractServiceRefundPointsByIdContractsContractHeaders(data: GetApiContractServiceRefundPointsByIdContractsContractHeadersData): CancelablePromise<GetApiContractServiceRefundPointsByIdContractsContractHeadersResponse> {
828
+ return this.httpRequest.request({
829
+ method: 'GET',
830
+ url: '/api/contract-service/refund-points/{id}/contracts/contract-headers',
831
+ path: {
832
+ id: data.id
833
+ },
834
+ query: {
835
+ IsDraft: data.isDraft,
836
+ Sorting: data.sorting,
837
+ SkipCount: data.skipCount,
838
+ MaxResultCount: data.maxResultCount
839
+ },
840
+ errors: {
841
+ 400: 'Bad Request',
842
+ 401: 'Unauthorized',
843
+ 403: 'Forbidden',
844
+ 404: 'Not Found',
845
+ 500: 'Server Error',
846
+ 501: 'Server Error'
847
+ }
848
+ });
849
+ }
850
+
851
+ /**
852
+ * @param data The data for the request.
853
+ * @param data.id
854
+ * @param data.requestBody
855
+ * @returns unknown Success
856
+ * @throws ApiError
857
+ */
858
+ public postApiContractServiceRefundPointsByIdContractsContractHeaders(data: PostApiContractServiceRefundPointsByIdContractsContractHeadersData): CancelablePromise<PostApiContractServiceRefundPointsByIdContractsContractHeadersResponse> {
859
+ return this.httpRequest.request({
860
+ method: 'POST',
861
+ url: '/api/contract-service/refund-points/{id}/contracts/contract-headers',
862
+ path: {
863
+ id: data.id
864
+ },
865
+ body: data.requestBody,
866
+ mediaType: 'application/json',
867
+ errors: {
868
+ 400: 'Bad Request',
869
+ 401: 'Unauthorized',
870
+ 403: 'Forbidden',
871
+ 404: 'Not Found',
872
+ 500: 'Server Error',
873
+ 501: 'Server Error'
874
+ }
875
+ });
876
+ }
877
+
878
+ /**
879
+ * @param data The data for the request.
880
+ * @param data.id
881
+ * @returns unknown Success
882
+ * @throws ApiError
883
+ */
884
+ public getApiContractServiceRefundPointsContractsContractHeadersByIdIsValidatable(data: GetApiContractServiceRefundPointsContractsContractHeadersByIdIsValidatableData): CancelablePromise<GetApiContractServiceRefundPointsContractsContractHeadersByIdIsValidatableResponse> {
885
+ return this.httpRequest.request({
886
+ method: 'GET',
887
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}/is-validatable',
888
+ path: {
889
+ id: data.id
890
+ },
891
+ errors: {
892
+ 400: 'Bad Request',
893
+ 401: 'Unauthorized',
894
+ 403: 'Forbidden',
895
+ 404: 'Not Found',
896
+ 500: 'Server Error',
897
+ 501: 'Server Error'
898
+ }
899
+ });
900
+ }
901
+
902
+ /**
903
+ * @param data The data for the request.
904
+ * @param data.id
905
+ * @returns boolean Success
906
+ * @throws ApiError
907
+ */
908
+ public postApiContractServiceRefundPointsContractsContractHeadersByIdValidate(data: PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateData): CancelablePromise<PostApiContractServiceRefundPointsContractsContractHeadersByIdValidateResponse> {
909
+ return this.httpRequest.request({
910
+ method: 'POST',
911
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}/validate',
912
+ path: {
913
+ id: data.id
914
+ },
915
+ errors: {
916
+ 400: 'Bad Request',
917
+ 401: 'Unauthorized',
918
+ 403: 'Forbidden',
919
+ 404: 'Not Found',
920
+ 500: 'Server Error',
921
+ 501: 'Server Error'
922
+ }
923
+ });
924
+ }
925
+
926
+ /**
927
+ * @param data The data for the request.
928
+ * @param data.id
929
+ * @returns unknown Success
930
+ * @throws ApiError
931
+ */
932
+ public putApiContractServiceRefundPointsContractsContractHeadersByIdMakePassive(data: PutApiContractServiceRefundPointsContractsContractHeadersByIdMakePassiveData): CancelablePromise<PutApiContractServiceRefundPointsContractsContractHeadersByIdMakePassiveResponse> {
933
+ return this.httpRequest.request({
934
+ method: 'PUT',
935
+ url: '/api/contract-service/refund-points/contracts/contract-headers/{id}/make-passive',
936
+ path: {
937
+ id: data.id
938
+ },
939
+ errors: {
940
+ 400: 'Bad Request',
941
+ 401: 'Unauthorized',
942
+ 403: 'Forbidden',
943
+ 404: 'Not Found',
944
+ 500: 'Server Error',
945
+ 501: 'Server Error'
946
+ }
947
+ });
948
+ }
949
+
950
+ }
951
+
952
+ export class ContractsRefundPointIntegrationService {
953
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
954
+
955
+ /**
956
+ * @param data The data for the request.
957
+ * @param data.id
958
+ * @param data.requestBody
959
+ * @returns unknown Success
960
+ * @throws ApiError
961
+ */
962
+ public postIntegrationApiRefundPointsByIdCalculateFees(data: PostIntegrationApiRefundPointsByIdCalculateFeesData): CancelablePromise<PostIntegrationApiRefundPointsByIdCalculateFeesResponse> {
963
+ return this.httpRequest.request({
964
+ method: 'POST',
965
+ url: '/integration-api/refund-points/{id}/calculate-fees',
966
+ path: {
967
+ id: data.id
968
+ },
969
+ body: data.requestBody,
970
+ mediaType: 'application/json',
971
+ errors: {
972
+ 400: 'Bad Request',
973
+ 401: 'Unauthorized',
974
+ 403: 'Forbidden',
975
+ 404: 'Not Found',
976
+ 500: 'Server Error',
977
+ 501: 'Server Error'
978
+ }
979
+ });
980
+ }
981
+
982
+ }
983
+
984
+ export class RebateTablesService {
985
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
986
+
987
+ /**
988
+ * @param data The data for the request.
989
+ * @param data.id
990
+ * @returns unknown Success
991
+ * @throws ApiError
992
+ */
993
+ public getApiContractServiceRebateTablesRebateSettingsById(data: GetApiContractServiceRebateTablesRebateSettingsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateSettingsByIdResponse> {
994
+ return this.httpRequest.request({
995
+ method: 'GET',
996
+ url: '/api/contract-service/rebate-tables/rebate-settings/{id}',
997
+ path: {
998
+ id: data.id
999
+ },
1000
+ errors: {
1001
+ 400: 'Bad Request',
1002
+ 401: 'Unauthorized',
1003
+ 403: 'Forbidden',
1004
+ 404: 'Not Found',
1005
+ 500: 'Server Error',
1006
+ 501: 'Server Error'
1007
+ }
1008
+ });
1009
+ }
1010
+
1011
+ /**
1012
+ * @param data The data for the request.
1013
+ * @param data.id
1014
+ * @param data.requestBody
1015
+ * @returns unknown Success
1016
+ * @throws ApiError
1017
+ */
1018
+ public putApiContractServiceRebateTablesRebateSettingsById(data: PutApiContractServiceRebateTablesRebateSettingsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateSettingsByIdResponse> {
1019
+ return this.httpRequest.request({
1020
+ method: 'PUT',
1021
+ url: '/api/contract-service/rebate-tables/rebate-settings/{id}',
1022
+ path: {
1023
+ id: data.id
1024
+ },
1025
+ body: data.requestBody,
1026
+ mediaType: 'application/json',
1027
+ errors: {
1028
+ 400: 'Bad Request',
1029
+ 401: 'Unauthorized',
1030
+ 403: 'Forbidden',
1031
+ 404: 'Not Found',
1032
+ 500: 'Server Error',
1033
+ 501: 'Server Error'
1034
+ }
1035
+ });
1036
+ }
1037
+
1038
+ /**
1039
+ * @param data The data for the request.
1040
+ * @param data.id
1041
+ * @param data.requestBody
1042
+ * @returns unknown Success
1043
+ * @throws ApiError
1044
+ */
1045
+ public postApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeaders(data: PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersData): CancelablePromise<PostApiContractServiceRebateTablesRebateSettingsByIdRebateTableHeadersResponse> {
1046
+ return this.httpRequest.request({
1047
+ method: 'POST',
1048
+ url: '/api/contract-service/rebate-tables/rebate-settings/{id}/rebate-table-headers',
1049
+ path: {
1050
+ id: data.id
1051
+ },
1052
+ body: data.requestBody,
1053
+ mediaType: 'application/json',
1054
+ errors: {
1055
+ 400: 'Bad Request',
1056
+ 401: 'Unauthorized',
1057
+ 403: 'Forbidden',
1058
+ 404: 'Not Found',
1059
+ 500: 'Server Error',
1060
+ 501: 'Server Error'
1061
+ }
1062
+ });
1063
+ }
1064
+
1065
+ /**
1066
+ * @param data The data for the request.
1067
+ * @param data.id
1068
+ * @param data.requestBody
1069
+ * @returns unknown Success
1070
+ * @throws ApiError
1071
+ */
1072
+ public postApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissions(data: PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsData): CancelablePromise<PostApiContractServiceRebateTablesRebateSettingsByIdMinimumNetCommissionsResponse> {
1073
+ return this.httpRequest.request({
1074
+ method: 'POST',
1075
+ url: '/api/contract-service/rebate-tables/rebate-settings/{id}/minimum-net-commissions',
1076
+ path: {
1077
+ id: data.id
1078
+ },
1079
+ body: data.requestBody,
1080
+ mediaType: 'application/json',
1081
+ errors: {
1082
+ 400: 'Bad Request',
1083
+ 401: 'Unauthorized',
1084
+ 403: 'Forbidden',
1085
+ 404: 'Not Found',
1086
+ 500: 'Server Error',
1087
+ 501: 'Server Error'
1088
+ }
1089
+ });
1090
+ }
1091
+
1092
+ /**
1093
+ * @param data The data for the request.
1094
+ * @param data.id
1095
+ * @returns unknown Success
1096
+ * @throws ApiError
1097
+ */
1098
+ public getApiContractServiceRebateTablesRebateSettingsDetailById(data: GetApiContractServiceRebateTablesRebateSettingsDetailByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateSettingsDetailByIdResponse> {
1099
+ return this.httpRequest.request({
1100
+ method: 'GET',
1101
+ url: '/api/contract-service/rebate-tables/rebate-settings/detail/{id}',
1102
+ path: {
1103
+ id: data.id
1104
+ },
1105
+ errors: {
1106
+ 400: 'Bad Request',
1107
+ 401: 'Unauthorized',
1108
+ 403: 'Forbidden',
1109
+ 404: 'Not Found',
1110
+ 500: 'Server Error',
1111
+ 501: 'Server Error'
1112
+ }
1113
+ });
1114
+ }
1115
+
1116
+ /**
1117
+ * @param data The data for the request.
1118
+ * @param data.id
1119
+ * @returns unknown Success
1120
+ * @throws ApiError
1121
+ */
1122
+ public getApiContractServiceRebateTablesMinimumNetCommissionsById(data: GetApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<GetApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1123
+ return this.httpRequest.request({
1124
+ method: 'GET',
1125
+ url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1126
+ path: {
1127
+ id: data.id
1128
+ },
1129
+ errors: {
1130
+ 400: 'Bad Request',
1131
+ 401: 'Unauthorized',
1132
+ 403: 'Forbidden',
1133
+ 404: 'Not Found',
1134
+ 500: 'Server Error',
1135
+ 501: 'Server Error'
1136
+ }
1137
+ });
1138
+ }
1139
+
1140
+ /**
1141
+ * @param data The data for the request.
1142
+ * @param data.id
1143
+ * @param data.requestBody
1144
+ * @returns unknown Success
1145
+ * @throws ApiError
1146
+ */
1147
+ public putApiContractServiceRebateTablesMinimumNetCommissionsById(data: PutApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<PutApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1148
+ return this.httpRequest.request({
1149
+ method: 'PUT',
1150
+ url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1151
+ path: {
1152
+ id: data.id
1153
+ },
1154
+ body: data.requestBody,
1155
+ mediaType: 'application/json',
1156
+ errors: {
1157
+ 400: 'Bad Request',
1158
+ 401: 'Unauthorized',
1159
+ 403: 'Forbidden',
1160
+ 404: 'Not Found',
1161
+ 500: 'Server Error',
1162
+ 501: 'Server Error'
1163
+ }
1164
+ });
1165
+ }
1166
+
1167
+ /**
1168
+ * @param data The data for the request.
1169
+ * @param data.id
1170
+ * @returns unknown Success
1171
+ * @throws ApiError
1172
+ */
1173
+ public deleteApiContractServiceRebateTablesMinimumNetCommissionsById(data: DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesMinimumNetCommissionsByIdResponse> {
1174
+ return this.httpRequest.request({
1175
+ method: 'DELETE',
1176
+ url: '/api/contract-service/rebate-tables/minimum-net-commissions/{id}',
1177
+ path: {
1178
+ id: data.id
1179
+ },
1180
+ errors: {
1181
+ 400: 'Bad Request',
1182
+ 401: 'Unauthorized',
1183
+ 403: 'Forbidden',
1184
+ 404: 'Not Found',
1185
+ 500: 'Server Error',
1186
+ 501: 'Server Error'
1187
+ }
1188
+ });
1189
+ }
1190
+
1191
+ /**
1192
+ * @param data The data for the request.
1193
+ * @param data.sorting
1194
+ * @param data.skipCount
1195
+ * @param data.maxResultCount
1196
+ * @returns unknown Success
1197
+ * @throws ApiError
1198
+ */
1199
+ public getApiContractServiceRebateTablesMinimumNetCommissions(data: GetApiContractServiceRebateTablesMinimumNetCommissionsData = {}): CancelablePromise<GetApiContractServiceRebateTablesMinimumNetCommissionsResponse> {
1200
+ return this.httpRequest.request({
1201
+ method: 'GET',
1202
+ url: '/api/contract-service/rebate-tables/minimum-net-commissions',
1203
+ query: {
1204
+ Sorting: data.sorting,
1205
+ SkipCount: data.skipCount,
1206
+ MaxResultCount: data.maxResultCount
1207
+ },
1208
+ errors: {
1209
+ 400: 'Bad Request',
1210
+ 401: 'Unauthorized',
1211
+ 403: 'Forbidden',
1212
+ 404: 'Not Found',
1213
+ 500: 'Server Error',
1214
+ 501: 'Server Error'
1215
+ }
1216
+ });
1217
+ }
1218
+
1219
+ /**
1220
+ * @param data The data for the request.
1221
+ * @param data.id
1222
+ * @returns unknown Success
1223
+ * @throws ApiError
1224
+ */
1225
+ public getApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1226
+ return this.httpRequest.request({
1227
+ method: 'GET',
1228
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1229
+ path: {
1230
+ id: data.id
1231
+ },
1232
+ errors: {
1233
+ 400: 'Bad Request',
1234
+ 401: 'Unauthorized',
1235
+ 403: 'Forbidden',
1236
+ 404: 'Not Found',
1237
+ 500: 'Server Error',
1238
+ 501: 'Server Error'
1239
+ }
1240
+ });
1241
+ }
1242
+
1243
+ /**
1244
+ * @param data The data for the request.
1245
+ * @param data.id
1246
+ * @param data.requestBody
1247
+ * @returns unknown Success
1248
+ * @throws ApiError
1249
+ */
1250
+ public putApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1251
+ return this.httpRequest.request({
1252
+ method: 'PUT',
1253
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1254
+ path: {
1255
+ id: data.id
1256
+ },
1257
+ body: data.requestBody,
1258
+ mediaType: 'application/json',
1259
+ errors: {
1260
+ 400: 'Bad Request',
1261
+ 401: 'Unauthorized',
1262
+ 403: 'Forbidden',
1263
+ 404: 'Not Found',
1264
+ 500: 'Server Error',
1265
+ 501: 'Server Error'
1266
+ }
1267
+ });
1268
+ }
1269
+
1270
+ /**
1271
+ * @param data The data for the request.
1272
+ * @param data.id
1273
+ * @returns unknown Success
1274
+ * @throws ApiError
1275
+ */
1276
+ public deleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsById(data: DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesRebateTableHeadersProcessingFeeDetailsByIdResponse> {
1277
+ return this.httpRequest.request({
1278
+ method: 'DELETE',
1279
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/processing-fee-details/{id}',
1280
+ path: {
1281
+ id: data.id
1282
+ },
1283
+ errors: {
1284
+ 400: 'Bad Request',
1285
+ 401: 'Unauthorized',
1286
+ 403: 'Forbidden',
1287
+ 404: 'Not Found',
1288
+ 500: 'Server Error',
1289
+ 501: 'Server Error'
1290
+ }
1291
+ });
1292
+ }
1293
+
1294
+ /**
1295
+ * @param data The data for the request.
1296
+ * @param data.id
1297
+ * @param data.requestBody
1298
+ * @returns unknown Success
1299
+ * @throws ApiError
1300
+ */
1301
+ public postApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetails(data: PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsData): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersByIdProcessingFeeDetailsResponse> {
1302
+ return this.httpRequest.request({
1303
+ method: 'POST',
1304
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}/processing-fee-details',
1305
+ path: {
1306
+ id: data.id
1307
+ },
1308
+ body: data.requestBody,
1309
+ mediaType: 'application/json',
1310
+ errors: {
1311
+ 400: 'Bad Request',
1312
+ 401: 'Unauthorized',
1313
+ 403: 'Forbidden',
1314
+ 404: 'Not Found',
1315
+ 500: 'Server Error',
1316
+ 501: 'Server Error'
1317
+ }
1318
+ });
1319
+ }
1320
+
1321
+ /**
1322
+ * @param data The data for the request.
1323
+ * @param data.id
1324
+ * @returns unknown Success
1325
+ * @throws ApiError
1326
+ */
1327
+ public getApiContractServiceRebateTablesRebateTableDetailsById(data: GetApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1328
+ return this.httpRequest.request({
1329
+ method: 'GET',
1330
+ url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1331
+ path: {
1332
+ id: data.id
1333
+ },
1334
+ errors: {
1335
+ 400: 'Bad Request',
1336
+ 401: 'Unauthorized',
1337
+ 403: 'Forbidden',
1338
+ 404: 'Not Found',
1339
+ 500: 'Server Error',
1340
+ 501: 'Server Error'
1341
+ }
1342
+ });
1343
+ }
1344
+
1345
+ /**
1346
+ * @param data The data for the request.
1347
+ * @param data.id
1348
+ * @param data.requestBody
1349
+ * @returns unknown Success
1350
+ * @throws ApiError
1351
+ */
1352
+ public putApiContractServiceRebateTablesRebateTableDetailsById(data: PutApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1353
+ return this.httpRequest.request({
1354
+ method: 'PUT',
1355
+ url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1356
+ path: {
1357
+ id: data.id
1358
+ },
1359
+ body: data.requestBody,
1360
+ mediaType: 'application/json',
1361
+ errors: {
1362
+ 400: 'Bad Request',
1363
+ 401: 'Unauthorized',
1364
+ 403: 'Forbidden',
1365
+ 404: 'Not Found',
1366
+ 500: 'Server Error',
1367
+ 501: 'Server Error'
1368
+ }
1369
+ });
1370
+ }
1371
+
1372
+ /**
1373
+ * @param data The data for the request.
1374
+ * @param data.id
1375
+ * @returns unknown Success
1376
+ * @throws ApiError
1377
+ */
1378
+ public deleteApiContractServiceRebateTablesRebateTableDetailsById(data: DeleteApiContractServiceRebateTablesRebateTableDetailsByIdData): CancelablePromise<DeleteApiContractServiceRebateTablesRebateTableDetailsByIdResponse> {
1379
+ return this.httpRequest.request({
1380
+ method: 'DELETE',
1381
+ url: '/api/contract-service/rebate-tables/rebate-table-details/{id}',
1382
+ path: {
1383
+ id: data.id
1384
+ },
1385
+ errors: {
1386
+ 400: 'Bad Request',
1387
+ 401: 'Unauthorized',
1388
+ 403: 'Forbidden',
1389
+ 404: 'Not Found',
1390
+ 500: 'Server Error',
1391
+ 501: 'Server Error'
1392
+ }
1393
+ });
1394
+ }
1395
+
1396
+ /**
1397
+ * @param data The data for the request.
1398
+ * @param data.sorting
1399
+ * @param data.skipCount
1400
+ * @param data.maxResultCount
1401
+ * @returns unknown Success
1402
+ * @throws ApiError
1403
+ */
1404
+ public getApiContractServiceRebateTablesRebateTableDetails(data: GetApiContractServiceRebateTablesRebateTableDetailsData = {}): CancelablePromise<GetApiContractServiceRebateTablesRebateTableDetailsResponse> {
1405
+ return this.httpRequest.request({
1406
+ method: 'GET',
1407
+ url: '/api/contract-service/rebate-tables/rebate-table-details',
1408
+ query: {
1409
+ Sorting: data.sorting,
1410
+ SkipCount: data.skipCount,
1411
+ MaxResultCount: data.maxResultCount
1412
+ },
1413
+ errors: {
1414
+ 400: 'Bad Request',
1415
+ 401: 'Unauthorized',
1416
+ 403: 'Forbidden',
1417
+ 404: 'Not Found',
1418
+ 500: 'Server Error',
1419
+ 501: 'Server Error'
1420
+ }
1421
+ });
1422
+ }
1423
+
1424
+ /**
1425
+ * @param data The data for the request.
1426
+ * @param data.id
1427
+ * @returns unknown Success
1428
+ * @throws ApiError
1429
+ */
1430
+ public getApiContractServiceRebateTablesRebateTableHeadersById(data: GetApiContractServiceRebateTablesRebateTableHeadersByIdData): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersByIdResponse> {
1431
+ return this.httpRequest.request({
1432
+ method: 'GET',
1433
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}',
1434
+ path: {
1435
+ id: data.id
1436
+ },
1437
+ errors: {
1438
+ 400: 'Bad Request',
1439
+ 401: 'Unauthorized',
1440
+ 403: 'Forbidden',
1441
+ 404: 'Not Found',
1442
+ 500: 'Server Error',
1443
+ 501: 'Server Error'
1444
+ }
1445
+ });
1446
+ }
1447
+
1448
+ /**
1449
+ * @param data The data for the request.
1450
+ * @param data.id
1451
+ * @param data.requestBody
1452
+ * @returns unknown Success
1453
+ * @throws ApiError
1454
+ */
1455
+ public putApiContractServiceRebateTablesRebateTableHeadersById(data: PutApiContractServiceRebateTablesRebateTableHeadersByIdData): CancelablePromise<PutApiContractServiceRebateTablesRebateTableHeadersByIdResponse> {
1456
+ return this.httpRequest.request({
1457
+ method: 'PUT',
1458
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}',
1459
+ path: {
1460
+ id: data.id
1461
+ },
1462
+ body: data.requestBody,
1463
+ mediaType: 'application/json',
1464
+ errors: {
1465
+ 400: 'Bad Request',
1466
+ 401: 'Unauthorized',
1467
+ 403: 'Forbidden',
1468
+ 404: 'Not Found',
1469
+ 500: 'Server Error',
1470
+ 501: 'Server Error'
1471
+ }
1472
+ });
1473
+ }
1474
+
1475
+ /**
1476
+ * @param data The data for the request.
1477
+ * @param data.sorting
1478
+ * @param data.skipCount
1479
+ * @param data.maxResultCount
1480
+ * @returns unknown Success
1481
+ * @throws ApiError
1482
+ */
1483
+ public getApiContractServiceRebateTablesRebateTableHeadersTemplates(data: GetApiContractServiceRebateTablesRebateTableHeadersTemplatesData = {}): CancelablePromise<GetApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse> {
1484
+ return this.httpRequest.request({
1485
+ method: 'GET',
1486
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/templates',
1487
+ query: {
1488
+ Sorting: data.sorting,
1489
+ SkipCount: data.skipCount,
1490
+ MaxResultCount: data.maxResultCount
1491
+ },
1492
+ errors: {
1493
+ 400: 'Bad Request',
1494
+ 401: 'Unauthorized',
1495
+ 403: 'Forbidden',
1496
+ 404: 'Not Found',
1497
+ 500: 'Server Error',
1498
+ 501: 'Server Error'
1499
+ }
1500
+ });
1501
+ }
1502
+
1503
+ /**
1504
+ * @param data The data for the request.
1505
+ * @param data.requestBody
1506
+ * @returns unknown Success
1507
+ * @throws ApiError
1508
+ */
1509
+ public postApiContractServiceRebateTablesRebateTableHeadersTemplates(data: PostApiContractServiceRebateTablesRebateTableHeadersTemplatesData = {}): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersTemplatesResponse> {
1510
+ return this.httpRequest.request({
1511
+ method: 'POST',
1512
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/templates',
1513
+ body: data.requestBody,
1514
+ mediaType: 'application/json',
1515
+ errors: {
1516
+ 400: 'Bad Request',
1517
+ 401: 'Unauthorized',
1518
+ 403: 'Forbidden',
1519
+ 404: 'Not Found',
1520
+ 500: 'Server Error',
1521
+ 501: 'Server Error'
1522
+ }
1523
+ });
1524
+ }
1525
+
1526
+ /**
1527
+ * @param data The data for the request.
1528
+ * @param data.id
1529
+ * @param data.requestBody
1530
+ * @returns unknown Success
1531
+ * @throws ApiError
1532
+ */
1533
+ public postApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetails(data: PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsData): CancelablePromise<PostApiContractServiceRebateTablesRebateTableHeadersByIdRebateTableDetailsResponse> {
1534
+ return this.httpRequest.request({
1535
+ method: 'POST',
1536
+ url: '/api/contract-service/rebate-tables/rebate-table-headers/{id}/rebate-table-details',
1537
+ path: {
1538
+ id: data.id
1539
+ },
1540
+ body: data.requestBody,
1541
+ mediaType: 'application/json',
1542
+ errors: {
1543
+ 400: 'Bad Request',
1544
+ 401: 'Unauthorized',
1545
+ 403: 'Forbidden',
1546
+ 404: 'Not Found',
1547
+ 500: 'Server Error',
1548
+ 501: 'Server Error'
1549
+ }
1550
+ });
1551
+ }
1552
+
1553
+ }
1554
+
1555
+ export class RefundFeeHeaderIntegrationService {
1556
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1557
+
1558
+ /**
1559
+ * @param data The data for the request.
1560
+ * @param data.id
1561
+ * @param data.refundFeeHeaderId
1562
+ * @returns unknown Success
1563
+ * @throws ApiError
1564
+ */
1565
+ public getIntegrationApiRefundFeeHeadersRefundPointsById(data: GetIntegrationApiRefundFeeHeadersRefundPointsByIdData): CancelablePromise<GetIntegrationApiRefundFeeHeadersRefundPointsByIdResponse> {
1566
+ return this.httpRequest.request({
1567
+ method: 'GET',
1568
+ url: '/integration-api/refund-fee-headers/refund-points/{id}',
1569
+ path: {
1570
+ id: data.id
1571
+ },
1572
+ query: {
1573
+ refundFeeHeaderId: data.refundFeeHeaderId
1574
+ },
1575
+ errors: {
1576
+ 400: 'Bad Request',
1577
+ 401: 'Unauthorized',
1578
+ 403: 'Forbidden',
1579
+ 404: 'Not Found',
1580
+ 500: 'Server Error',
1581
+ 501: 'Server Error'
1582
+ }
1583
+ });
1584
+ }
1585
+
1586
+ }
1587
+
1588
+ export class RefundTableHeaderIntegrationService {
1589
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1590
+
1591
+ /**
1592
+ * @param data The data for the request.
1593
+ * @param data.id
1594
+ * @param data.refundTableHeaderId
1595
+ * @returns unknown Success
1596
+ * @throws ApiError
1597
+ */
1598
+ public getIntegrationApiRefundTableHeadersMerchantsById(data: GetIntegrationApiRefundTableHeadersMerchantsByIdData): CancelablePromise<GetIntegrationApiRefundTableHeadersMerchantsByIdResponse> {
1599
+ return this.httpRequest.request({
1600
+ method: 'GET',
1601
+ url: '/integration-api/refund-table-headers/merchants/{id}',
1602
+ path: {
1603
+ id: data.id
1604
+ },
1605
+ query: {
1606
+ refundTableHeaderId: data.refundTableHeaderId
1607
+ },
1608
+ errors: {
1609
+ 400: 'Bad Request',
1610
+ 401: 'Unauthorized',
1611
+ 403: 'Forbidden',
1612
+ 404: 'Not Found',
1613
+ 500: 'Server Error',
1614
+ 501: 'Server Error'
1615
+ }
1616
+ });
1617
+ }
1618
+
1619
+ }
1620
+
1621
+ export class RefundTablesService {
1622
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1623
+
1624
+ /**
1625
+ * @param data The data for the request.
1626
+ * @param data.id
1627
+ * @returns unknown Success
1628
+ * @throws ApiError
1629
+ */
1630
+ public getApiContractServiceRefundTablesRefundTableHeadersById(data: GetApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<GetApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1631
+ return this.httpRequest.request({
1632
+ method: 'GET',
1633
+ url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1634
+ path: {
1635
+ id: data.id
1636
+ },
1637
+ errors: {
1638
+ 400: 'Bad Request',
1639
+ 401: 'Unauthorized',
1640
+ 403: 'Forbidden',
1641
+ 404: 'Not Found',
1642
+ 500: 'Server Error',
1643
+ 501: 'Server Error'
1644
+ }
1645
+ });
1646
+ }
1647
+
1648
+ /**
1649
+ * @param data The data for the request.
1650
+ * @param data.id
1651
+ * @param data.requestBody
1652
+ * @returns unknown Success
1653
+ * @throws ApiError
1654
+ */
1655
+ public putApiContractServiceRefundTablesRefundTableHeadersById(data: PutApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<PutApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1656
+ return this.httpRequest.request({
1657
+ method: 'PUT',
1658
+ url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1659
+ path: {
1660
+ id: data.id
1661
+ },
1662
+ body: data.requestBody,
1663
+ mediaType: 'application/json',
1664
+ errors: {
1665
+ 400: 'Bad Request',
1666
+ 401: 'Unauthorized',
1667
+ 403: 'Forbidden',
1668
+ 404: 'Not Found',
1669
+ 500: 'Server Error',
1670
+ 501: 'Server Error'
1671
+ }
1672
+ });
1673
+ }
1674
+
1675
+ /**
1676
+ * @param data The data for the request.
1677
+ * @param data.id
1678
+ * @returns unknown Success
1679
+ * @throws ApiError
1680
+ */
1681
+ public deleteApiContractServiceRefundTablesRefundTableHeadersById(data: DeleteApiContractServiceRefundTablesRefundTableHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundTableHeadersByIdResponse> {
1682
+ return this.httpRequest.request({
1683
+ method: 'DELETE',
1684
+ url: '/api/contract-service/refund-tables/refund-table-headers/{id}',
1685
+ path: {
1686
+ id: data.id
1687
+ },
1688
+ errors: {
1689
+ 400: 'Bad Request',
1690
+ 401: 'Unauthorized',
1691
+ 403: 'Forbidden',
1692
+ 404: 'Not Found',
1693
+ 500: 'Server Error',
1694
+ 501: 'Server Error'
1695
+ }
1696
+ });
1697
+ }
1698
+
1699
+ /**
1700
+ * @param data The data for the request.
1701
+ * @param data.skipCount
1702
+ * @param data.maxResultCount
1703
+ * @returns unknown Success
1704
+ * @throws ApiError
1705
+ */
1706
+ public getApiContractServiceRefundTablesRefundTableHeaders(data: GetApiContractServiceRefundTablesRefundTableHeadersData = {}): CancelablePromise<GetApiContractServiceRefundTablesRefundTableHeadersResponse> {
1707
+ return this.httpRequest.request({
1708
+ method: 'GET',
1709
+ url: '/api/contract-service/refund-tables/refund-table-headers',
1710
+ query: {
1711
+ SkipCount: data.skipCount,
1712
+ MaxResultCount: data.maxResultCount
1713
+ },
1714
+ errors: {
1715
+ 400: 'Bad Request',
1716
+ 401: 'Unauthorized',
1717
+ 403: 'Forbidden',
1718
+ 404: 'Not Found',
1719
+ 500: 'Server Error',
1720
+ 501: 'Server Error'
1721
+ }
1722
+ });
1723
+ }
1724
+
1725
+ /**
1726
+ * @param data The data for the request.
1727
+ * @param data.requestBody
1728
+ * @returns unknown Success
1729
+ * @throws ApiError
1730
+ */
1731
+ public postApiContractServiceRefundTablesRefundTableHeaders(data: PostApiContractServiceRefundTablesRefundTableHeadersData = {}): CancelablePromise<PostApiContractServiceRefundTablesRefundTableHeadersResponse> {
1732
+ return this.httpRequest.request({
1733
+ method: 'POST',
1734
+ url: '/api/contract-service/refund-tables/refund-table-headers',
1735
+ body: data.requestBody,
1736
+ mediaType: 'application/json',
1737
+ errors: {
1738
+ 400: 'Bad Request',
1739
+ 401: 'Unauthorized',
1740
+ 403: 'Forbidden',
1741
+ 404: 'Not Found',
1742
+ 500: 'Server Error',
1743
+ 501: 'Server Error'
1744
+ }
1745
+ });
1746
+ }
1747
+
1748
+ /**
1749
+ * @param data The data for the request.
1750
+ * @param data.id
1751
+ * @param data.requestBody
1752
+ * @returns unknown Success
1753
+ * @throws ApiError
1754
+ */
1755
+ public postApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetails(data: PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsData): CancelablePromise<PostApiContractServiceRefundTablesRefundTableHeadersByIdRefundTableDetailsResponse> {
1756
+ return this.httpRequest.request({
1757
+ method: 'POST',
1758
+ url: '/api/contract-service/refund-tables/refund-table-headers/{id}/refund-table-details',
1759
+ path: {
1760
+ id: data.id
1761
+ },
1762
+ body: data.requestBody,
1763
+ mediaType: 'application/json',
1764
+ errors: {
1765
+ 400: 'Bad Request',
1766
+ 401: 'Unauthorized',
1767
+ 403: 'Forbidden',
1768
+ 404: 'Not Found',
1769
+ 500: 'Server Error',
1770
+ 501: 'Server Error'
1771
+ }
1772
+ });
1773
+ }
1774
+
1775
+ /**
1776
+ * @param data The data for the request.
1777
+ * @param data.id
1778
+ * @returns unknown Success
1779
+ * @throws ApiError
1780
+ */
1781
+ public deleteApiContractServiceRefundTablesRefundTableDetailsById(data: DeleteApiContractServiceRefundTablesRefundTableDetailsByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundTableDetailsByIdResponse> {
1782
+ return this.httpRequest.request({
1783
+ method: 'DELETE',
1784
+ url: '/api/contract-service/refund-tables/refund-table-details/{id}',
1785
+ path: {
1786
+ id: data.id
1787
+ },
1788
+ errors: {
1789
+ 400: 'Bad Request',
1790
+ 401: 'Unauthorized',
1791
+ 403: 'Forbidden',
1792
+ 404: 'Not Found',
1793
+ 500: 'Server Error',
1794
+ 501: 'Server Error'
1795
+ }
1796
+ });
1797
+ }
1798
+
1799
+ /**
1800
+ * @param data The data for the request.
1801
+ * @param data.skipCount
1802
+ * @param data.maxResultCount
1803
+ * @returns unknown Success
1804
+ * @throws ApiError
1805
+ */
1806
+ public getApiContractServiceRefundTablesRefundFeeHeaders(data: GetApiContractServiceRefundTablesRefundFeeHeadersData = {}): CancelablePromise<GetApiContractServiceRefundTablesRefundFeeHeadersResponse> {
1807
+ return this.httpRequest.request({
1808
+ method: 'GET',
1809
+ url: '/api/contract-service/refund-tables/refund-fee-headers',
1810
+ query: {
1811
+ SkipCount: data.skipCount,
1812
+ MaxResultCount: data.maxResultCount
1813
+ },
1814
+ errors: {
1815
+ 400: 'Bad Request',
1816
+ 401: 'Unauthorized',
1817
+ 403: 'Forbidden',
1818
+ 404: 'Not Found',
1819
+ 500: 'Server Error',
1820
+ 501: 'Server Error'
1821
+ }
1822
+ });
1823
+ }
1824
+
1825
+ /**
1826
+ * @param data The data for the request.
1827
+ * @param data.requestBody
1828
+ * @returns unknown Success
1829
+ * @throws ApiError
1830
+ */
1831
+ public postApiContractServiceRefundTablesRefundFeeHeaders(data: PostApiContractServiceRefundTablesRefundFeeHeadersData = {}): CancelablePromise<PostApiContractServiceRefundTablesRefundFeeHeadersResponse> {
1832
+ return this.httpRequest.request({
1833
+ method: 'POST',
1834
+ url: '/api/contract-service/refund-tables/refund-fee-headers',
1835
+ body: data.requestBody,
1836
+ mediaType: 'application/json',
1837
+ errors: {
1838
+ 400: 'Bad Request',
1839
+ 401: 'Unauthorized',
1840
+ 403: 'Forbidden',
1841
+ 404: 'Not Found',
1842
+ 500: 'Server Error',
1843
+ 501: 'Server Error'
1844
+ }
1845
+ });
1846
+ }
1847
+
1848
+ /**
1849
+ * @param data The data for the request.
1850
+ * @param data.id
1851
+ * @returns unknown Success
1852
+ * @throws ApiError
1853
+ */
1854
+ public getApiContractServiceRefundTablesRefundFeeHeadersById(data: GetApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<GetApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1855
+ return this.httpRequest.request({
1856
+ method: 'GET',
1857
+ url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1858
+ path: {
1859
+ id: data.id
1860
+ },
1861
+ errors: {
1862
+ 400: 'Bad Request',
1863
+ 401: 'Unauthorized',
1864
+ 403: 'Forbidden',
1865
+ 404: 'Not Found',
1866
+ 500: 'Server Error',
1867
+ 501: 'Server Error'
1868
+ }
1869
+ });
1870
+ }
1871
+
1872
+ /**
1873
+ * @param data The data for the request.
1874
+ * @param data.id
1875
+ * @param data.requestBody
1876
+ * @returns unknown Success
1877
+ * @throws ApiError
1878
+ */
1879
+ public putApiContractServiceRefundTablesRefundFeeHeadersById(data: PutApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<PutApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1880
+ return this.httpRequest.request({
1881
+ method: 'PUT',
1882
+ url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1883
+ path: {
1884
+ id: data.id
1885
+ },
1886
+ body: data.requestBody,
1887
+ mediaType: 'application/json',
1888
+ errors: {
1889
+ 400: 'Bad Request',
1890
+ 401: 'Unauthorized',
1891
+ 403: 'Forbidden',
1892
+ 404: 'Not Found',
1893
+ 500: 'Server Error',
1894
+ 501: 'Server Error'
1895
+ }
1896
+ });
1897
+ }
1898
+
1899
+ /**
1900
+ * @param data The data for the request.
1901
+ * @param data.id
1902
+ * @returns unknown Success
1903
+ * @throws ApiError
1904
+ */
1905
+ public deleteApiContractServiceRefundTablesRefundFeeHeadersById(data: DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundFeeHeadersByIdResponse> {
1906
+ return this.httpRequest.request({
1907
+ method: 'DELETE',
1908
+ url: '/api/contract-service/refund-tables/refund-fee-headers/{id}',
1909
+ path: {
1910
+ id: data.id
1911
+ },
1912
+ errors: {
1913
+ 400: 'Bad Request',
1914
+ 401: 'Unauthorized',
1915
+ 403: 'Forbidden',
1916
+ 404: 'Not Found',
1917
+ 500: 'Server Error',
1918
+ 501: 'Server Error'
1919
+ }
1920
+ });
1921
+ }
1922
+
1923
+ /**
1924
+ * @param data The data for the request.
1925
+ * @param data.id
1926
+ * @param data.requestBody
1927
+ * @returns unknown Success
1928
+ * @throws ApiError
1929
+ */
1930
+ public postApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetails(data: PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsData): CancelablePromise<PostApiContractServiceRefundTablesRefundFeeHeadersByIdRefundFeeDetailsResponse> {
1931
+ return this.httpRequest.request({
1932
+ method: 'POST',
1933
+ url: '/api/contract-service/refund-tables/refund-fee-headers/{id}/refund-fee-details',
1934
+ path: {
1935
+ id: data.id
1936
+ },
1937
+ body: data.requestBody,
1938
+ mediaType: 'application/json',
1939
+ errors: {
1940
+ 400: 'Bad Request',
1941
+ 401: 'Unauthorized',
1942
+ 403: 'Forbidden',
1943
+ 404: 'Not Found',
1944
+ 500: 'Server Error',
1945
+ 501: 'Server Error'
1946
+ }
1947
+ });
1948
+ }
1949
+
1950
+ /**
1951
+ * @param data The data for the request.
1952
+ * @param data.id
1953
+ * @returns unknown Success
1954
+ * @throws ApiError
1955
+ */
1956
+ public deleteApiContractServiceRefundTablesRefundFeeDetailsById(data: DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdData): CancelablePromise<DeleteApiContractServiceRefundTablesRefundFeeDetailsByIdResponse> {
1957
+ return this.httpRequest.request({
1958
+ method: 'DELETE',
1959
+ url: '/api/contract-service/refund-tables/refund-fee-details/{id}',
1960
+ path: {
1961
+ id: data.id
1962
+ },
1963
+ errors: {
1964
+ 400: 'Bad Request',
1965
+ 401: 'Unauthorized',
1966
+ 403: 'Forbidden',
1967
+ 404: 'Not Found',
1968
+ 500: 'Server Error',
1969
+ 501: 'Server Error'
1970
+ }
1971
+ });
1972
+ }
1973
+
1883
1974
  }