@ayasofyazilim/saas 0.0.109 → 0.0.111

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,759 +1,630 @@
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, PostApiSettingServiceCountrySettingsForTenantData, PostApiSettingServiceCountrySettingsForTenantResponse, GetApiSettingServiceCountrySettingsResponse, PostApiSettingServiceCountrySettingsResponse, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PutApiSettingServiceProductGroupTranslationByIdData, PutApiSettingServiceProductGroupTranslationByIdResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupDetailByIdData, GetApiSettingServiceProductGroupDetailByIdResponse, GetApiSettingServiceProductGroupByMerchantIdByIdData, GetApiSettingServiceProductGroupByMerchantIdByIdResponse, GetApiSettingServiceProductGroupDetailData, GetApiSettingServiceProductGroupDetailResponse, PostApiSettingServiceProductGroupProductGroupMerchantBulkData, PostApiSettingServiceProductGroupProductGroupMerchantBulkResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse } 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 CountrySettingService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.requestBody
102
- * @returns unknown Success
103
- * @throws ApiError
104
- */
105
- public postApiSettingServiceCountrySettingsForTenant(data: PostApiSettingServiceCountrySettingsForTenantData = {}): CancelablePromise<PostApiSettingServiceCountrySettingsForTenantResponse> {
106
- return this.httpRequest.request({
107
- method: 'POST',
108
- url: '/api/setting-service/country-settings/for-tenant',
109
- body: data.requestBody,
110
- mediaType: 'application/json',
111
- errors: {
112
- 400: 'Bad Request',
113
- 401: 'Unauthorized',
114
- 403: 'Forbidden',
115
- 404: 'Not Found',
116
- 500: 'Server Error',
117
- 501: 'Server Error'
118
- }
119
- });
120
- }
121
-
122
- /**
123
- * @returns UniRefund_SettingService_CountrySettings_CountrySettingDto Success
124
- * @throws ApiError
125
- */
126
- public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
127
- return this.httpRequest.request({
128
- method: 'GET',
129
- url: '/api/setting-service/country-settings',
130
- errors: {
131
- 400: 'Bad Request',
132
- 401: 'Unauthorized',
133
- 403: 'Forbidden',
134
- 404: 'Not Found',
135
- 500: 'Server Error',
136
- 501: 'Server Error'
137
- }
138
- });
139
- }
140
-
141
- /**
142
- * @returns unknown Success
143
- * @throws ApiError
144
- */
145
- public postApiSettingServiceCountrySettings(): CancelablePromise<PostApiSettingServiceCountrySettingsResponse> {
146
- return this.httpRequest.request({
147
- method: 'POST',
148
- url: '/api/setting-service/country-settings',
149
- errors: {
150
- 400: 'Bad Request',
151
- 401: 'Unauthorized',
152
- 403: 'Forbidden',
153
- 404: 'Not Found',
154
- 500: 'Server Error',
155
- 501: 'Server Error'
156
- }
157
- });
158
- }
159
-
160
- }
161
-
162
- export class EmailSettingsService {
163
- constructor(public readonly httpRequest: BaseHttpRequest) { }
164
-
165
- /**
166
- * @returns Volo_Abp_SettingManagement_EmailSettingsDto Success
167
- * @throws ApiError
168
- */
169
- public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
170
- return this.httpRequest.request({
171
- method: 'GET',
172
- url: '/api/setting-management/emailing',
173
- errors: {
174
- 400: 'Bad Request',
175
- 401: 'Unauthorized',
176
- 403: 'Forbidden',
177
- 404: 'Not Found',
178
- 500: 'Server Error',
179
- 501: 'Server Error'
180
- }
181
- });
182
- }
183
-
184
- /**
185
- * @param data The data for the request.
186
- * @param data.requestBody
187
- * @returns unknown Success
188
- * @throws ApiError
189
- */
190
- public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
191
- return this.httpRequest.request({
192
- method: 'POST',
193
- url: '/api/setting-management/emailing',
194
- body: data.requestBody,
195
- mediaType: 'application/json',
196
- errors: {
197
- 400: 'Bad Request',
198
- 401: 'Unauthorized',
199
- 403: 'Forbidden',
200
- 404: 'Not Found',
201
- 500: 'Server Error',
202
- 501: 'Server Error'
203
- }
204
- });
205
- }
206
-
207
- /**
208
- * @param data The data for the request.
209
- * @param data.requestBody
210
- * @returns unknown Success
211
- * @throws ApiError
212
- */
213
- public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
214
- return this.httpRequest.request({
215
- method: 'POST',
216
- url: '/api/setting-management/emailing/send-test-email',
217
- body: data.requestBody,
218
- mediaType: 'application/json',
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
-
232
- export class ProductGroupService {
233
- constructor(public readonly httpRequest: BaseHttpRequest) { }
234
-
235
- /**
236
- * @param data The data for the request.
237
- * @param data.requestBody
238
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
239
- * @throws ApiError
240
- */
241
- public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
242
- return this.httpRequest.request({
243
- method: 'POST',
244
- url: '/api/setting-service/product-group',
245
- body: data.requestBody,
246
- mediaType: 'application/json',
247
- errors: {
248
- 400: 'Bad Request',
249
- 401: 'Unauthorized',
250
- 403: 'Forbidden',
251
- 404: 'Not Found',
252
- 500: 'Server Error',
253
- 501: 'Server Error'
254
- }
255
- });
256
- }
257
-
258
- /**
259
- * @param data The data for the request.
260
- * @param data.sorting
261
- * @param data.skipCount
262
- * @param data.maxResultCount
263
- * @returns PagedResultDto_ProductGroupDto Success
264
- * @throws ApiError
265
- */
266
- public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
267
- return this.httpRequest.request({
268
- method: 'GET',
269
- url: '/api/setting-service/product-group',
270
- query: {
271
- Sorting: data.sorting,
272
- SkipCount: data.skipCount,
273
- MaxResultCount: data.maxResultCount
274
- },
275
- errors: {
276
- 400: 'Bad Request',
277
- 401: 'Unauthorized',
278
- 403: 'Forbidden',
279
- 404: 'Not Found',
280
- 500: 'Server Error',
281
- 501: 'Server Error'
282
- }
283
- });
284
- }
285
-
286
- /**
287
- * @param data The data for the request.
288
- * @param data.id
289
- * @param data.requestBody
290
- * @returns unknown Success
291
- * @throws ApiError
292
- */
293
- public postApiSettingServiceProductGroupTranslationById(data: PostApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PostApiSettingServiceProductGroupTranslationByIdResponse> {
294
- return this.httpRequest.request({
295
- method: 'POST',
296
- url: '/api/setting-service/product-group/translation/{id}',
297
- path: {
298
- id: data.id
299
- },
300
- body: data.requestBody,
301
- mediaType: 'application/json',
302
- errors: {
303
- 400: 'Bad Request',
304
- 401: 'Unauthorized',
305
- 403: 'Forbidden',
306
- 404: 'Not Found',
307
- 500: 'Server Error',
308
- 501: 'Server Error'
309
- }
310
- });
311
- }
312
-
313
- /**
314
- * @param data The data for the request.
315
- * @param data.id
316
- * @param data.requestBody
317
- * @returns unknown Success
318
- * @throws ApiError
319
- */
320
- public putApiSettingServiceProductGroupTranslationById(data: PutApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PutApiSettingServiceProductGroupTranslationByIdResponse> {
321
- return this.httpRequest.request({
322
- method: 'PUT',
323
- url: '/api/setting-service/product-group/translation/{id}',
324
- path: {
325
- id: data.id
326
- },
327
- body: data.requestBody,
328
- mediaType: 'application/json',
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
- * @returns unknown Success
344
- * @throws ApiError
345
- */
346
- public deleteApiSettingServiceProductGroupById(data: DeleteApiSettingServiceProductGroupByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupByIdResponse> {
347
- return this.httpRequest.request({
348
- method: 'DELETE',
349
- url: '/api/setting-service/product-group/{id}',
350
- path: {
351
- id: data.id
352
- },
353
- errors: {
354
- 400: 'Bad Request',
355
- 401: 'Unauthorized',
356
- 403: 'Forbidden',
357
- 404: 'Not Found',
358
- 500: 'Server Error',
359
- 501: 'Server Error'
360
- }
361
- });
362
- }
363
-
364
- /**
365
- * @param data The data for the request.
366
- * @param data.id
367
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
368
- * @throws ApiError
369
- */
370
- public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
371
- return this.httpRequest.request({
372
- method: 'GET',
373
- url: '/api/setting-service/product-group/{id}',
374
- path: {
375
- id: data.id
376
- },
377
- errors: {
378
- 400: 'Bad Request',
379
- 401: 'Unauthorized',
380
- 403: 'Forbidden',
381
- 404: 'Not Found',
382
- 500: 'Server Error',
383
- 501: 'Server Error'
384
- }
385
- });
386
- }
387
-
388
- /**
389
- * @param data The data for the request.
390
- * @param data.id
391
- * @param data.requestBody
392
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
393
- * @throws ApiError
394
- */
395
- public putApiSettingServiceProductGroupById(data: PutApiSettingServiceProductGroupByIdData): CancelablePromise<PutApiSettingServiceProductGroupByIdResponse> {
396
- return this.httpRequest.request({
397
- method: 'PUT',
398
- url: '/api/setting-service/product-group/{id}',
399
- path: {
400
- id: data.id
401
- },
402
- body: data.requestBody,
403
- mediaType: 'application/json',
404
- errors: {
405
- 400: 'Bad Request',
406
- 401: 'Unauthorized',
407
- 403: 'Forbidden',
408
- 404: 'Not Found',
409
- 500: 'Server Error',
410
- 501: 'Server Error'
411
- }
412
- });
413
- }
414
-
415
- /**
416
- * @param data The data for the request.
417
- * @param data.id
418
- * @param data.cultureName
419
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDetailDto Success
420
- * @throws ApiError
421
- */
422
- public getApiSettingServiceProductGroupDetailById(data: GetApiSettingServiceProductGroupDetailByIdData): CancelablePromise<GetApiSettingServiceProductGroupDetailByIdResponse> {
423
- return this.httpRequest.request({
424
- method: 'GET',
425
- url: '/api/setting-service/product-group/detail/{id}',
426
- path: {
427
- id: data.id
428
- },
429
- query: {
430
- cultureName: data.cultureName
431
- },
432
- errors: {
433
- 400: 'Bad Request',
434
- 401: 'Unauthorized',
435
- 403: 'Forbidden',
436
- 404: 'Not Found',
437
- 500: 'Server Error',
438
- 501: 'Server Error'
439
- }
440
- });
441
- }
442
-
443
- /**
444
- * @param data The data for the request.
445
- * @param data.id
446
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
447
- * @throws ApiError
448
- */
449
- public getApiSettingServiceProductGroupByMerchantIdById(data: GetApiSettingServiceProductGroupByMerchantIdByIdData): CancelablePromise<GetApiSettingServiceProductGroupByMerchantIdByIdResponse> {
450
- return this.httpRequest.request({
451
- method: 'GET',
452
- url: '/api/setting-service/product-group/by-merchant-id/{id}',
453
- path: {
454
- id: data.id
455
- },
456
- errors: {
457
- 400: 'Bad Request',
458
- 401: 'Unauthorized',
459
- 403: 'Forbidden',
460
- 404: 'Not Found',
461
- 500: 'Server Error',
462
- 501: 'Server Error'
463
- }
464
- });
465
- }
466
-
467
- /**
468
- * @param data The data for the request.
469
- * @param data.sorting
470
- * @param data.skipCount
471
- * @param data.maxResultCount
472
- * @returns PagedResultDto_ProductGroupDetailDto Success
473
- * @throws ApiError
474
- */
475
- public getApiSettingServiceProductGroupDetail(data: GetApiSettingServiceProductGroupDetailData = {}): CancelablePromise<GetApiSettingServiceProductGroupDetailResponse> {
476
- return this.httpRequest.request({
477
- method: 'GET',
478
- url: '/api/setting-service/product-group/detail',
479
- query: {
480
- Sorting: data.sorting,
481
- SkipCount: data.skipCount,
482
- MaxResultCount: data.maxResultCount
483
- },
484
- errors: {
485
- 400: 'Bad Request',
486
- 401: 'Unauthorized',
487
- 403: 'Forbidden',
488
- 404: 'Not Found',
489
- 500: 'Server Error',
490
- 501: 'Server Error'
491
- }
492
- });
493
- }
494
-
495
- /**
496
- * @param data The data for the request.
497
- * @param data.requestBody
498
- * @returns unknown Success
499
- * @throws ApiError
500
- */
501
- public postApiSettingServiceProductGroupProductGroupMerchantBulk(data: PostApiSettingServiceProductGroupProductGroupMerchantBulkData = {}): CancelablePromise<PostApiSettingServiceProductGroupProductGroupMerchantBulkResponse> {
502
- return this.httpRequest.request({
503
- method: 'POST',
504
- url: '/api/setting-service/product-group/product-group-merchant-bulk',
505
- body: data.requestBody,
506
- mediaType: 'application/json',
507
- errors: {
508
- 400: 'Bad Request',
509
- 401: 'Unauthorized',
510
- 403: 'Forbidden',
511
- 404: 'Not Found',
512
- 500: 'Server Error',
513
- 501: 'Server Error'
514
- }
515
- });
516
- }
517
-
518
- }
519
-
520
- export class SampleService {
521
- constructor(public readonly httpRequest: BaseHttpRequest) { }
522
-
523
- /**
524
- * @returns UniRefund_SettingService_Samples_SampleDto Success
525
- * @throws ApiError
526
- */
527
- public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
528
- return this.httpRequest.request({
529
- method: 'GET',
530
- url: '/api/SettingService/sample',
531
- errors: {
532
- 400: 'Bad Request',
533
- 401: 'Unauthorized',
534
- 403: 'Forbidden',
535
- 404: 'Not Found',
536
- 500: 'Server Error',
537
- 501: 'Server Error'
538
- }
539
- });
540
- }
541
-
542
- /**
543
- * @returns UniRefund_SettingService_Samples_SampleDto Success
544
- * @throws ApiError
545
- */
546
- public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
547
- return this.httpRequest.request({
548
- method: 'GET',
549
- url: '/api/SettingService/sample/authorized',
550
- errors: {
551
- 400: 'Bad Request',
552
- 401: 'Unauthorized',
553
- 403: 'Forbidden',
554
- 404: 'Not Found',
555
- 500: 'Server Error',
556
- 501: 'Server Error'
557
- }
558
- });
559
- }
560
-
561
- }
562
-
563
- export class TimeZoneSettingsService {
564
- constructor(public readonly httpRequest: BaseHttpRequest) { }
565
-
566
- /**
567
- * @returns string Success
568
- * @throws ApiError
569
- */
570
- public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
571
- return this.httpRequest.request({
572
- method: 'GET',
573
- url: '/api/setting-management/timezone',
574
- errors: {
575
- 400: 'Bad Request',
576
- 401: 'Unauthorized',
577
- 403: 'Forbidden',
578
- 404: 'Not Found',
579
- 500: 'Server Error',
580
- 501: 'Server Error'
581
- }
582
- });
583
- }
584
-
585
- /**
586
- * @param data The data for the request.
587
- * @param data.timezone
588
- * @returns unknown Success
589
- * @throws ApiError
590
- */
591
- public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
592
- return this.httpRequest.request({
593
- method: 'POST',
594
- url: '/api/setting-management/timezone',
595
- query: {
596
- timezone: data.timezone
597
- },
598
- errors: {
599
- 400: 'Bad Request',
600
- 401: 'Unauthorized',
601
- 403: 'Forbidden',
602
- 404: 'Not Found',
603
- 500: 'Server Error',
604
- 501: 'Server Error'
605
- }
606
- });
607
- }
608
-
609
- /**
610
- * @returns Volo_Abp_NameValue Success
611
- * @throws ApiError
612
- */
613
- public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
614
- return this.httpRequest.request({
615
- method: 'GET',
616
- url: '/api/setting-management/timezone/timezones',
617
- errors: {
618
- 400: 'Bad Request',
619
- 401: 'Unauthorized',
620
- 403: 'Forbidden',
621
- 404: 'Not Found',
622
- 500: 'Server Error',
623
- 501: 'Server Error'
624
- }
625
- });
626
- }
627
-
628
- }
629
-
630
- export class VatService {
631
- constructor(public readonly httpRequest: BaseHttpRequest) { }
632
-
633
- /**
634
- * @param data The data for the request.
635
- * @param data.requestBody
636
- * @returns UniRefund_SettingService_Vats_VatDto Success
637
- * @throws ApiError
638
- */
639
- public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
640
- return this.httpRequest.request({
641
- method: 'POST',
642
- url: '/api/setting-service/vat',
643
- body: data.requestBody,
644
- mediaType: 'application/json',
645
- errors: {
646
- 400: 'Bad Request',
647
- 401: 'Unauthorized',
648
- 403: 'Forbidden',
649
- 404: 'Not Found',
650
- 500: 'Server Error',
651
- 501: 'Server Error'
652
- }
653
- });
654
- }
655
-
656
- /**
657
- * @param data The data for the request.
658
- * @param data.sorting
659
- * @param data.skipCount
660
- * @param data.maxResultCount
661
- * @returns PagedResultDto_VatDto Success
662
- * @throws ApiError
663
- */
664
- public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
665
- return this.httpRequest.request({
666
- method: 'GET',
667
- url: '/api/setting-service/vat',
668
- query: {
669
- Sorting: data.sorting,
670
- SkipCount: data.skipCount,
671
- MaxResultCount: data.maxResultCount
672
- },
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.id
687
- * @returns unknown Success
688
- * @throws ApiError
689
- */
690
- public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
691
- return this.httpRequest.request({
692
- method: 'DELETE',
693
- url: '/api/setting-service/vat/{id}',
694
- path: {
695
- id: data.id
696
- },
697
- errors: {
698
- 400: 'Bad Request',
699
- 401: 'Unauthorized',
700
- 403: 'Forbidden',
701
- 404: 'Not Found',
702
- 500: 'Server Error',
703
- 501: 'Server Error'
704
- }
705
- });
706
- }
707
-
708
- /**
709
- * @param data The data for the request.
710
- * @param data.id
711
- * @returns UniRefund_SettingService_Vats_VatDto Success
712
- * @throws ApiError
713
- */
714
- public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
715
- return this.httpRequest.request({
716
- method: 'GET',
717
- url: '/api/setting-service/vat/{id}',
718
- path: {
719
- id: data.id
720
- },
721
- errors: {
722
- 400: 'Bad Request',
723
- 401: 'Unauthorized',
724
- 403: 'Forbidden',
725
- 404: 'Not Found',
726
- 500: 'Server Error',
727
- 501: 'Server Error'
728
- }
729
- });
730
- }
731
-
732
- /**
733
- * @param data The data for the request.
734
- * @param data.id
735
- * @param data.requestBody
736
- * @returns UniRefund_SettingService_Vats_VatDto Success
737
- * @throws ApiError
738
- */
739
- public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
740
- return this.httpRequest.request({
741
- method: 'PUT',
742
- url: '/api/setting-service/vat/{id}',
743
- path: {
744
- id: data.id
745
- },
746
- body: data.requestBody,
747
- mediaType: 'application/json',
748
- errors: {
749
- 400: 'Bad Request',
750
- 401: 'Unauthorized',
751
- 403: 'Forbidden',
752
- 404: 'Not Found',
753
- 500: 'Server Error',
754
- 501: 'Server Error'
755
- }
756
- });
757
- }
758
-
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, GetApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingData, PostApiSettingManagementEmailingResponse, PostApiSettingManagementEmailingSendTestEmailData, PostApiSettingManagementEmailingSendTestEmailResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PutApiSettingServiceProductGroupTranslationByIdData, PutApiSettingServiceProductGroupTranslationByIdResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData, GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData, PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse, GetIntegrationApiProductGroupMerchantsData, GetIntegrationApiProductGroupMerchantsResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse } 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 EmailSettingsService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @returns unknown Success
101
+ * @throws ApiError
102
+ */
103
+ public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
104
+ return this.httpRequest.request({
105
+ method: 'GET',
106
+ url: '/api/setting-management/emailing',
107
+ errors: {
108
+ 400: 'Bad Request',
109
+ 401: 'Unauthorized',
110
+ 403: 'Forbidden',
111
+ 404: 'Not Found',
112
+ 500: 'Server Error',
113
+ 501: 'Server Error'
114
+ }
115
+ });
116
+ }
117
+
118
+ /**
119
+ * @param data The data for the request.
120
+ * @param data.requestBody
121
+ * @returns unknown Success
122
+ * @throws ApiError
123
+ */
124
+ public postApiSettingManagementEmailing(data: PostApiSettingManagementEmailingData = {}): CancelablePromise<PostApiSettingManagementEmailingResponse> {
125
+ return this.httpRequest.request({
126
+ method: 'POST',
127
+ url: '/api/setting-management/emailing',
128
+ body: data.requestBody,
129
+ mediaType: 'application/json',
130
+ errors: {
131
+ 400: 'Bad Request',
132
+ 401: 'Unauthorized',
133
+ 403: 'Forbidden',
134
+ 404: 'Not Found',
135
+ 500: 'Server Error',
136
+ 501: 'Server Error'
137
+ }
138
+ });
139
+ }
140
+
141
+ /**
142
+ * @param data The data for the request.
143
+ * @param data.requestBody
144
+ * @returns unknown Success
145
+ * @throws ApiError
146
+ */
147
+ public postApiSettingManagementEmailingSendTestEmail(data: PostApiSettingManagementEmailingSendTestEmailData = {}): CancelablePromise<PostApiSettingManagementEmailingSendTestEmailResponse> {
148
+ return this.httpRequest.request({
149
+ method: 'POST',
150
+ url: '/api/setting-management/emailing/send-test-email',
151
+ body: data.requestBody,
152
+ mediaType: 'application/json',
153
+ errors: {
154
+ 400: 'Bad Request',
155
+ 401: 'Unauthorized',
156
+ 403: 'Forbidden',
157
+ 404: 'Not Found',
158
+ 500: 'Server Error',
159
+ 501: 'Server Error'
160
+ }
161
+ });
162
+ }
163
+
164
+ }
165
+
166
+ export class ProductGroupService {
167
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
168
+
169
+ /**
170
+ * @param data The data for the request.
171
+ * @param data.requestBody
172
+ * @returns unknown Success
173
+ * @throws ApiError
174
+ */
175
+ public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
176
+ return this.httpRequest.request({
177
+ method: 'POST',
178
+ url: '/api/setting-service/product-group',
179
+ body: data.requestBody,
180
+ mediaType: 'application/json',
181
+ errors: {
182
+ 400: 'Bad Request',
183
+ 401: 'Unauthorized',
184
+ 403: 'Forbidden',
185
+ 404: 'Not Found',
186
+ 500: 'Server Error',
187
+ 501: 'Server Error'
188
+ }
189
+ });
190
+ }
191
+
192
+ /**
193
+ * @param data The data for the request.
194
+ * @param data.sorting
195
+ * @param data.skipCount
196
+ * @param data.maxResultCount
197
+ * @returns unknown Success
198
+ * @throws ApiError
199
+ */
200
+ public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
201
+ return this.httpRequest.request({
202
+ method: 'GET',
203
+ url: '/api/setting-service/product-group',
204
+ query: {
205
+ Sorting: data.sorting,
206
+ SkipCount: data.skipCount,
207
+ MaxResultCount: data.maxResultCount
208
+ },
209
+ errors: {
210
+ 400: 'Bad Request',
211
+ 401: 'Unauthorized',
212
+ 403: 'Forbidden',
213
+ 404: 'Not Found',
214
+ 500: 'Server Error',
215
+ 501: 'Server Error'
216
+ }
217
+ });
218
+ }
219
+
220
+ /**
221
+ * @param data The data for the request.
222
+ * @param data.id
223
+ * @param data.requestBody
224
+ * @returns unknown Success
225
+ * @throws ApiError
226
+ */
227
+ public postApiSettingServiceProductGroupTranslationById(data: PostApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PostApiSettingServiceProductGroupTranslationByIdResponse> {
228
+ return this.httpRequest.request({
229
+ method: 'POST',
230
+ url: '/api/setting-service/product-group/translation/{id}',
231
+ path: {
232
+ id: data.id
233
+ },
234
+ body: data.requestBody,
235
+ mediaType: 'application/json',
236
+ errors: {
237
+ 400: 'Bad Request',
238
+ 401: 'Unauthorized',
239
+ 403: 'Forbidden',
240
+ 404: 'Not Found',
241
+ 500: 'Server Error',
242
+ 501: 'Server Error'
243
+ }
244
+ });
245
+ }
246
+
247
+ /**
248
+ * @param data The data for the request.
249
+ * @param data.id
250
+ * @param data.requestBody
251
+ * @returns unknown Success
252
+ * @throws ApiError
253
+ */
254
+ public putApiSettingServiceProductGroupTranslationById(data: PutApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PutApiSettingServiceProductGroupTranslationByIdResponse> {
255
+ return this.httpRequest.request({
256
+ method: 'PUT',
257
+ url: '/api/setting-service/product-group/translation/{id}',
258
+ path: {
259
+ id: data.id
260
+ },
261
+ body: data.requestBody,
262
+ mediaType: 'application/json',
263
+ errors: {
264
+ 400: 'Bad Request',
265
+ 401: 'Unauthorized',
266
+ 403: 'Forbidden',
267
+ 404: 'Not Found',
268
+ 500: 'Server Error',
269
+ 501: 'Server Error'
270
+ }
271
+ });
272
+ }
273
+
274
+ /**
275
+ * @param data The data for the request.
276
+ * @param data.id
277
+ * @returns unknown Success
278
+ * @throws ApiError
279
+ */
280
+ public deleteApiSettingServiceProductGroupById(data: DeleteApiSettingServiceProductGroupByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupByIdResponse> {
281
+ return this.httpRequest.request({
282
+ method: 'DELETE',
283
+ url: '/api/setting-service/product-group/{id}',
284
+ path: {
285
+ id: data.id
286
+ },
287
+ errors: {
288
+ 400: 'Bad Request',
289
+ 401: 'Unauthorized',
290
+ 403: 'Forbidden',
291
+ 404: 'Not Found',
292
+ 500: 'Server Error',
293
+ 501: 'Server Error'
294
+ }
295
+ });
296
+ }
297
+
298
+ /**
299
+ * @param data The data for the request.
300
+ * @param data.id
301
+ * @returns unknown Success
302
+ * @throws ApiError
303
+ */
304
+ public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
305
+ return this.httpRequest.request({
306
+ method: 'GET',
307
+ url: '/api/setting-service/product-group/{id}',
308
+ path: {
309
+ id: data.id
310
+ },
311
+ errors: {
312
+ 400: 'Bad Request',
313
+ 401: 'Unauthorized',
314
+ 403: 'Forbidden',
315
+ 404: 'Not Found',
316
+ 500: 'Server Error',
317
+ 501: 'Server Error'
318
+ }
319
+ });
320
+ }
321
+
322
+ /**
323
+ * @param data The data for the request.
324
+ * @param data.id
325
+ * @param data.requestBody
326
+ * @returns unknown Success
327
+ * @throws ApiError
328
+ */
329
+ public putApiSettingServiceProductGroupById(data: PutApiSettingServiceProductGroupByIdData): CancelablePromise<PutApiSettingServiceProductGroupByIdResponse> {
330
+ return this.httpRequest.request({
331
+ method: 'PUT',
332
+ url: '/api/setting-service/product-group/{id}',
333
+ path: {
334
+ id: data.id
335
+ },
336
+ body: data.requestBody,
337
+ mediaType: 'application/json',
338
+ errors: {
339
+ 400: 'Bad Request',
340
+ 401: 'Unauthorized',
341
+ 403: 'Forbidden',
342
+ 404: 'Not Found',
343
+ 500: 'Server Error',
344
+ 501: 'Server Error'
345
+ }
346
+ });
347
+ }
348
+
349
+ }
350
+
351
+ export class ProductGroupIntegrationService {
352
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
353
+
354
+ /**
355
+ * @param data The data for the request.
356
+ * @param data.id
357
+ * @returns unknown Success
358
+ * @throws ApiError
359
+ */
360
+ public getIntegrationApiSettingServiceProductGroupByMerchantIdById(data: GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdData): CancelablePromise<GetIntegrationApiSettingServiceProductGroupByMerchantIdByIdResponse> {
361
+ return this.httpRequest.request({
362
+ method: 'GET',
363
+ url: '/integration-api/setting-service/product-group/by-merchant-id/{id}',
364
+ path: {
365
+ id: data.id
366
+ },
367
+ errors: {
368
+ 400: 'Bad Request',
369
+ 401: 'Unauthorized',
370
+ 403: 'Forbidden',
371
+ 404: 'Not Found',
372
+ 500: 'Server Error',
373
+ 501: 'Server Error'
374
+ }
375
+ });
376
+ }
377
+
378
+ /**
379
+ * @param data The data for the request.
380
+ * @param data.requestBody
381
+ * @returns unknown Success
382
+ * @throws ApiError
383
+ */
384
+ public postIntegrationApiSettingServiceProductGroupProductGroupMerchantBulk(data: PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkData = {}): CancelablePromise<PostIntegrationApiSettingServiceProductGroupProductGroupMerchantBulkResponse> {
385
+ return this.httpRequest.request({
386
+ method: 'POST',
387
+ url: '/integration-api/setting-service/product-group/product-group-merchant-bulk',
388
+ body: data.requestBody,
389
+ mediaType: 'application/json',
390
+ errors: {
391
+ 400: 'Bad Request',
392
+ 401: 'Unauthorized',
393
+ 403: 'Forbidden',
394
+ 404: 'Not Found',
395
+ 500: 'Server Error',
396
+ 501: 'Server Error'
397
+ }
398
+ });
399
+ }
400
+
401
+ }
402
+
403
+ export class ProductGroupMerchantIntegrationService {
404
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
405
+
406
+ /**
407
+ * @param data The data for the request.
408
+ * @param data.merchantIds
409
+ * @param data.productGroupIds
410
+ * @returns unknown Success
411
+ * @throws ApiError
412
+ */
413
+ public getIntegrationApiProductGroupMerchants(data: GetIntegrationApiProductGroupMerchantsData = {}): CancelablePromise<GetIntegrationApiProductGroupMerchantsResponse> {
414
+ return this.httpRequest.request({
415
+ method: 'GET',
416
+ url: '/integration-api/product-group-merchants',
417
+ query: {
418
+ merchantIds: data.merchantIds,
419
+ productGroupIds: data.productGroupIds
420
+ },
421
+ errors: {
422
+ 400: 'Bad Request',
423
+ 401: 'Unauthorized',
424
+ 403: 'Forbidden',
425
+ 404: 'Not Found',
426
+ 500: 'Server Error',
427
+ 501: 'Server Error'
428
+ }
429
+ });
430
+ }
431
+
432
+ }
433
+
434
+ export class TimeZoneSettingsService {
435
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
436
+
437
+ /**
438
+ * @returns string Success
439
+ * @throws ApiError
440
+ */
441
+ public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
442
+ return this.httpRequest.request({
443
+ method: 'GET',
444
+ url: '/api/setting-management/timezone',
445
+ errors: {
446
+ 400: 'Bad Request',
447
+ 401: 'Unauthorized',
448
+ 403: 'Forbidden',
449
+ 404: 'Not Found',
450
+ 500: 'Server Error',
451
+ 501: 'Server Error'
452
+ }
453
+ });
454
+ }
455
+
456
+ /**
457
+ * @param data The data for the request.
458
+ * @param data.timezone
459
+ * @returns unknown Success
460
+ * @throws ApiError
461
+ */
462
+ public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
463
+ return this.httpRequest.request({
464
+ method: 'POST',
465
+ url: '/api/setting-management/timezone',
466
+ query: {
467
+ timezone: data.timezone
468
+ },
469
+ errors: {
470
+ 400: 'Bad Request',
471
+ 401: 'Unauthorized',
472
+ 403: 'Forbidden',
473
+ 404: 'Not Found',
474
+ 500: 'Server Error',
475
+ 501: 'Server Error'
476
+ }
477
+ });
478
+ }
479
+
480
+ /**
481
+ * @returns unknown Success
482
+ * @throws ApiError
483
+ */
484
+ public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
485
+ return this.httpRequest.request({
486
+ method: 'GET',
487
+ url: '/api/setting-management/timezone/timezones',
488
+ errors: {
489
+ 400: 'Bad Request',
490
+ 401: 'Unauthorized',
491
+ 403: 'Forbidden',
492
+ 404: 'Not Found',
493
+ 500: 'Server Error',
494
+ 501: 'Server Error'
495
+ }
496
+ });
497
+ }
498
+
499
+ }
500
+
501
+ export class VatService {
502
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
503
+
504
+ /**
505
+ * @param data The data for the request.
506
+ * @param data.requestBody
507
+ * @returns unknown Success
508
+ * @throws ApiError
509
+ */
510
+ public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
511
+ return this.httpRequest.request({
512
+ method: 'POST',
513
+ url: '/api/setting-service/vat',
514
+ body: data.requestBody,
515
+ mediaType: 'application/json',
516
+ errors: {
517
+ 400: 'Bad Request',
518
+ 401: 'Unauthorized',
519
+ 403: 'Forbidden',
520
+ 404: 'Not Found',
521
+ 500: 'Server Error',
522
+ 501: 'Server Error'
523
+ }
524
+ });
525
+ }
526
+
527
+ /**
528
+ * @param data The data for the request.
529
+ * @param data.sorting
530
+ * @param data.skipCount
531
+ * @param data.maxResultCount
532
+ * @returns unknown Success
533
+ * @throws ApiError
534
+ */
535
+ public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
536
+ return this.httpRequest.request({
537
+ method: 'GET',
538
+ url: '/api/setting-service/vat',
539
+ query: {
540
+ Sorting: data.sorting,
541
+ SkipCount: data.skipCount,
542
+ MaxResultCount: data.maxResultCount
543
+ },
544
+ errors: {
545
+ 400: 'Bad Request',
546
+ 401: 'Unauthorized',
547
+ 403: 'Forbidden',
548
+ 404: 'Not Found',
549
+ 500: 'Server Error',
550
+ 501: 'Server Error'
551
+ }
552
+ });
553
+ }
554
+
555
+ /**
556
+ * @param data The data for the request.
557
+ * @param data.id
558
+ * @returns unknown Success
559
+ * @throws ApiError
560
+ */
561
+ public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
562
+ return this.httpRequest.request({
563
+ method: 'DELETE',
564
+ url: '/api/setting-service/vat/{id}',
565
+ path: {
566
+ id: data.id
567
+ },
568
+ errors: {
569
+ 400: 'Bad Request',
570
+ 401: 'Unauthorized',
571
+ 403: 'Forbidden',
572
+ 404: 'Not Found',
573
+ 500: 'Server Error',
574
+ 501: 'Server Error'
575
+ }
576
+ });
577
+ }
578
+
579
+ /**
580
+ * @param data The data for the request.
581
+ * @param data.id
582
+ * @returns unknown Success
583
+ * @throws ApiError
584
+ */
585
+ public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
586
+ return this.httpRequest.request({
587
+ method: 'GET',
588
+ url: '/api/setting-service/vat/{id}',
589
+ path: {
590
+ id: data.id
591
+ },
592
+ errors: {
593
+ 400: 'Bad Request',
594
+ 401: 'Unauthorized',
595
+ 403: 'Forbidden',
596
+ 404: 'Not Found',
597
+ 500: 'Server Error',
598
+ 501: 'Server Error'
599
+ }
600
+ });
601
+ }
602
+
603
+ /**
604
+ * @param data The data for the request.
605
+ * @param data.id
606
+ * @param data.requestBody
607
+ * @returns unknown Success
608
+ * @throws ApiError
609
+ */
610
+ public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
611
+ return this.httpRequest.request({
612
+ method: 'PUT',
613
+ url: '/api/setting-service/vat/{id}',
614
+ path: {
615
+ id: data.id
616
+ },
617
+ body: data.requestBody,
618
+ mediaType: 'application/json',
619
+ errors: {
620
+ 400: 'Bad Request',
621
+ 401: 'Unauthorized',
622
+ 403: 'Forbidden',
623
+ 404: 'Not Found',
624
+ 500: 'Server Error',
625
+ 501: 'Server Error'
626
+ }
627
+ });
628
+ }
629
+
759
630
  }