@ayasofyazilim/saas 0.0.31 → 0.0.32

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,788 +1,844 @@
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, PostApiSettingServiceProductGroupTranslationData, PostApiSettingServiceProductGroupTranslationResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, DeleteApiSettingServiceProductGroupData, DeleteApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, PutApiSettingServiceProductGroupData, PutApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupDetailByIdData, GetApiSettingServiceProductGroupDetailByIdResponse, PostApiSettingServiceProductGroupVatData, PostApiSettingServiceProductGroupVatResponse, DeleteApiSettingServiceProductGroupVatData, DeleteApiSettingServiceProductGroupVatResponse, GetApiSettingServiceProductGroupVatData, GetApiSettingServiceProductGroupVatResponse, PutApiSettingServiceProductGroupVatData, PutApiSettingServiceProductGroupVatResponse, GetApiSettingServiceProductGroupVatByIdData, GetApiSettingServiceProductGroupVatByIdResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, DeleteApiSettingServiceVatData, DeleteApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, PutApiSettingServiceVatData, PutApiSettingServiceVatResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse } 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.id
238
- * @param data.requestBody
239
- * @returns unknown Success
240
- * @throws ApiError
241
- */
242
- public postApiSettingServiceProductGroupTranslation(data: PostApiSettingServiceProductGroupTranslationData = {}): CancelablePromise<PostApiSettingServiceProductGroupTranslationResponse> {
243
- return this.httpRequest.request({
244
- method: 'POST',
245
- url: '/api/setting-service/product-group/translation',
246
- query: {
247
- id: data.id
248
- },
249
- body: data.requestBody,
250
- mediaType: 'application/json',
251
- errors: {
252
- 400: 'Bad Request',
253
- 401: 'Unauthorized',
254
- 403: 'Forbidden',
255
- 404: 'Not Found',
256
- 500: 'Server Error',
257
- 501: 'Server Error'
258
- }
259
- });
260
- }
261
-
262
- /**
263
- * @param data The data for the request.
264
- * @param data.requestBody
265
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
266
- * @throws ApiError
267
- */
268
- public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
269
- return this.httpRequest.request({
270
- method: 'POST',
271
- url: '/api/setting-service/product-group',
272
- body: data.requestBody,
273
- mediaType: 'application/json',
274
- errors: {
275
- 400: 'Bad Request',
276
- 401: 'Unauthorized',
277
- 403: 'Forbidden',
278
- 404: 'Not Found',
279
- 500: 'Server Error',
280
- 501: 'Server Error'
281
- }
282
- });
283
- }
284
-
285
- /**
286
- * @param data The data for the request.
287
- * @param data.id
288
- * @returns unknown Success
289
- * @throws ApiError
290
- */
291
- public deleteApiSettingServiceProductGroup(data: DeleteApiSettingServiceProductGroupData = {}): CancelablePromise<DeleteApiSettingServiceProductGroupResponse> {
292
- return this.httpRequest.request({
293
- method: 'DELETE',
294
- url: '/api/setting-service/product-group',
295
- query: {
296
- id: data.id
297
- },
298
- errors: {
299
- 400: 'Bad Request',
300
- 401: 'Unauthorized',
301
- 403: 'Forbidden',
302
- 404: 'Not Found',
303
- 500: 'Server Error',
304
- 501: 'Server Error'
305
- }
306
- });
307
- }
308
-
309
- /**
310
- * @param data The data for the request.
311
- * @param data.sorting
312
- * @param data.skipCount
313
- * @param data.maxResultCount
314
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroups_ProductGroupDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
315
- * @throws ApiError
316
- */
317
- public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
318
- return this.httpRequest.request({
319
- method: 'GET',
320
- url: '/api/setting-service/product-group',
321
- query: {
322
- Sorting: data.sorting,
323
- SkipCount: data.skipCount,
324
- MaxResultCount: data.maxResultCount
325
- },
326
- errors: {
327
- 400: 'Bad Request',
328
- 401: 'Unauthorized',
329
- 403: 'Forbidden',
330
- 404: 'Not Found',
331
- 500: 'Server Error',
332
- 501: 'Server Error'
333
- }
334
- });
335
- }
336
-
337
- /**
338
- * @param data The data for the request.
339
- * @param data.id
340
- * @param data.requestBody
341
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
342
- * @throws ApiError
343
- */
344
- public putApiSettingServiceProductGroup(data: PutApiSettingServiceProductGroupData = {}): CancelablePromise<PutApiSettingServiceProductGroupResponse> {
345
- return this.httpRequest.request({
346
- method: 'PUT',
347
- url: '/api/setting-service/product-group',
348
- query: {
349
- id: data.id
350
- },
351
- body: data.requestBody,
352
- mediaType: 'application/json',
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.cultureName
392
- * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
393
- * @throws ApiError
394
- */
395
- public getApiSettingServiceProductGroupDetailById(data: GetApiSettingServiceProductGroupDetailByIdData): CancelablePromise<GetApiSettingServiceProductGroupDetailByIdResponse> {
396
- return this.httpRequest.request({
397
- method: 'GET',
398
- url: '/api/setting-service/product-group/detail/{id}',
399
- path: {
400
- id: data.id
401
- },
402
- query: {
403
- cultureName: data.cultureName
404
- },
405
- errors: {
406
- 400: 'Bad Request',
407
- 401: 'Unauthorized',
408
- 403: 'Forbidden',
409
- 404: 'Not Found',
410
- 500: 'Server Error',
411
- 501: 'Server Error'
412
- }
413
- });
414
- }
415
-
416
- }
417
-
418
- export class ProductGroupVatService {
419
- constructor(public readonly httpRequest: BaseHttpRequest) { }
420
-
421
- /**
422
- * @param data The data for the request.
423
- * @param data.requestBody
424
- * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
425
- * @throws ApiError
426
- */
427
- public postApiSettingServiceProductGroupVat(data: PostApiSettingServiceProductGroupVatData = {}): CancelablePromise<PostApiSettingServiceProductGroupVatResponse> {
428
- return this.httpRequest.request({
429
- method: 'POST',
430
- url: '/api/setting-service/product-group-vat',
431
- body: data.requestBody,
432
- mediaType: 'application/json',
433
- errors: {
434
- 400: 'Bad Request',
435
- 401: 'Unauthorized',
436
- 403: 'Forbidden',
437
- 404: 'Not Found',
438
- 500: 'Server Error',
439
- 501: 'Server Error'
440
- }
441
- });
442
- }
443
-
444
- /**
445
- * @param data The data for the request.
446
- * @param data.id
447
- * @returns unknown Success
448
- * @throws ApiError
449
- */
450
- public deleteApiSettingServiceProductGroupVat(data: DeleteApiSettingServiceProductGroupVatData = {}): CancelablePromise<DeleteApiSettingServiceProductGroupVatResponse> {
451
- return this.httpRequest.request({
452
- method: 'DELETE',
453
- url: '/api/setting-service/product-group-vat',
454
- query: {
455
- id: data.id
456
- },
457
- errors: {
458
- 400: 'Bad Request',
459
- 401: 'Unauthorized',
460
- 403: 'Forbidden',
461
- 404: 'Not Found',
462
- 500: 'Server Error',
463
- 501: 'Server Error'
464
- }
465
- });
466
- }
467
-
468
- /**
469
- * @param data The data for the request.
470
- * @param data.sorting
471
- * @param data.skipCount
472
- * @param data.maxResultCount
473
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
474
- * @throws ApiError
475
- */
476
- public getApiSettingServiceProductGroupVat(data: GetApiSettingServiceProductGroupVatData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatResponse> {
477
- return this.httpRequest.request({
478
- method: 'GET',
479
- url: '/api/setting-service/product-group-vat',
480
- query: {
481
- Sorting: data.sorting,
482
- SkipCount: data.skipCount,
483
- MaxResultCount: data.maxResultCount
484
- },
485
- errors: {
486
- 400: 'Bad Request',
487
- 401: 'Unauthorized',
488
- 403: 'Forbidden',
489
- 404: 'Not Found',
490
- 500: 'Server Error',
491
- 501: 'Server Error'
492
- }
493
- });
494
- }
495
-
496
- /**
497
- * @param data The data for the request.
498
- * @param data.id
499
- * @param data.requestBody
500
- * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
501
- * @throws ApiError
502
- */
503
- public putApiSettingServiceProductGroupVat(data: PutApiSettingServiceProductGroupVatData = {}): CancelablePromise<PutApiSettingServiceProductGroupVatResponse> {
504
- return this.httpRequest.request({
505
- method: 'PUT',
506
- url: '/api/setting-service/product-group-vat',
507
- query: {
508
- id: data.id
509
- },
510
- body: data.requestBody,
511
- mediaType: 'application/json',
512
- errors: {
513
- 400: 'Bad Request',
514
- 401: 'Unauthorized',
515
- 403: 'Forbidden',
516
- 404: 'Not Found',
517
- 500: 'Server Error',
518
- 501: 'Server Error'
519
- }
520
- });
521
- }
522
-
523
- /**
524
- * @param data The data for the request.
525
- * @param data.id
526
- * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
527
- * @throws ApiError
528
- */
529
- public getApiSettingServiceProductGroupVatById(data: GetApiSettingServiceProductGroupVatByIdData): CancelablePromise<GetApiSettingServiceProductGroupVatByIdResponse> {
530
- return this.httpRequest.request({
531
- method: 'GET',
532
- url: '/api/setting-service/product-group-vat/{id}',
533
- path: {
534
- id: data.id
535
- },
536
- errors: {
537
- 400: 'Bad Request',
538
- 401: 'Unauthorized',
539
- 403: 'Forbidden',
540
- 404: 'Not Found',
541
- 500: 'Server Error',
542
- 501: 'Server Error'
543
- }
544
- });
545
- }
546
-
547
- }
548
-
549
- export class SampleService {
550
- constructor(public readonly httpRequest: BaseHttpRequest) { }
551
-
552
- /**
553
- * @returns UniRefund_SettingService_Samples_SampleDto Success
554
- * @throws ApiError
555
- */
556
- public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
557
- return this.httpRequest.request({
558
- method: 'GET',
559
- url: '/api/SettingService/sample',
560
- errors: {
561
- 400: 'Bad Request',
562
- 401: 'Unauthorized',
563
- 403: 'Forbidden',
564
- 404: 'Not Found',
565
- 500: 'Server Error',
566
- 501: 'Server Error'
567
- }
568
- });
569
- }
570
-
571
- /**
572
- * @returns UniRefund_SettingService_Samples_SampleDto Success
573
- * @throws ApiError
574
- */
575
- public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
576
- return this.httpRequest.request({
577
- method: 'GET',
578
- url: '/api/SettingService/sample/authorized',
579
- errors: {
580
- 400: 'Bad Request',
581
- 401: 'Unauthorized',
582
- 403: 'Forbidden',
583
- 404: 'Not Found',
584
- 500: 'Server Error',
585
- 501: 'Server Error'
586
- }
587
- });
588
- }
589
-
590
- }
591
-
592
- export class TimeZoneSettingsService {
593
- constructor(public readonly httpRequest: BaseHttpRequest) { }
594
-
595
- /**
596
- * @returns string Success
597
- * @throws ApiError
598
- */
599
- public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
600
- return this.httpRequest.request({
601
- method: 'GET',
602
- url: '/api/setting-management/timezone',
603
- errors: {
604
- 400: 'Bad Request',
605
- 401: 'Unauthorized',
606
- 403: 'Forbidden',
607
- 404: 'Not Found',
608
- 500: 'Server Error',
609
- 501: 'Server Error'
610
- }
611
- });
612
- }
613
-
614
- /**
615
- * @param data The data for the request.
616
- * @param data.timezone
617
- * @returns unknown Success
618
- * @throws ApiError
619
- */
620
- public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
621
- return this.httpRequest.request({
622
- method: 'POST',
623
- url: '/api/setting-management/timezone',
624
- query: {
625
- timezone: data.timezone
626
- },
627
- errors: {
628
- 400: 'Bad Request',
629
- 401: 'Unauthorized',
630
- 403: 'Forbidden',
631
- 404: 'Not Found',
632
- 500: 'Server Error',
633
- 501: 'Server Error'
634
- }
635
- });
636
- }
637
-
638
- /**
639
- * @returns Volo_Abp_NameValue Success
640
- * @throws ApiError
641
- */
642
- public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
643
- return this.httpRequest.request({
644
- method: 'GET',
645
- url: '/api/setting-management/timezone/timezones',
646
- errors: {
647
- 400: 'Bad Request',
648
- 401: 'Unauthorized',
649
- 403: 'Forbidden',
650
- 404: 'Not Found',
651
- 500: 'Server Error',
652
- 501: 'Server Error'
653
- }
654
- });
655
- }
656
-
657
- }
658
-
659
- export class VatService {
660
- constructor(public readonly httpRequest: BaseHttpRequest) { }
661
-
662
- /**
663
- * @param data The data for the request.
664
- * @param data.requestBody
665
- * @returns UniRefund_SettingService_Vats_VatDto Success
666
- * @throws ApiError
667
- */
668
- public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
669
- return this.httpRequest.request({
670
- method: 'POST',
671
- url: '/api/setting-service/vat',
672
- body: data.requestBody,
673
- mediaType: 'application/json',
674
- errors: {
675
- 400: 'Bad Request',
676
- 401: 'Unauthorized',
677
- 403: 'Forbidden',
678
- 404: 'Not Found',
679
- 500: 'Server Error',
680
- 501: 'Server Error'
681
- }
682
- });
683
- }
684
-
685
- /**
686
- * @param data The data for the request.
687
- * @param data.id
688
- * @returns unknown Success
689
- * @throws ApiError
690
- */
691
- public deleteApiSettingServiceVat(data: DeleteApiSettingServiceVatData = {}): CancelablePromise<DeleteApiSettingServiceVatResponse> {
692
- return this.httpRequest.request({
693
- method: 'DELETE',
694
- url: '/api/setting-service/vat',
695
- query: {
696
- id: data.id
697
- },
698
- errors: {
699
- 400: 'Bad Request',
700
- 401: 'Unauthorized',
701
- 403: 'Forbidden',
702
- 404: 'Not Found',
703
- 500: 'Server Error',
704
- 501: 'Server Error'
705
- }
706
- });
707
- }
708
-
709
- /**
710
- * @param data The data for the request.
711
- * @param data.sorting
712
- * @param data.skipCount
713
- * @param data.maxResultCount
714
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_Vats_VatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
715
- * @throws ApiError
716
- */
717
- public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
718
- return this.httpRequest.request({
719
- method: 'GET',
720
- url: '/api/setting-service/vat',
721
- query: {
722
- Sorting: data.sorting,
723
- SkipCount: data.skipCount,
724
- MaxResultCount: data.maxResultCount
725
- },
726
- errors: {
727
- 400: 'Bad Request',
728
- 401: 'Unauthorized',
729
- 403: 'Forbidden',
730
- 404: 'Not Found',
731
- 500: 'Server Error',
732
- 501: 'Server Error'
733
- }
734
- });
735
- }
736
-
737
- /**
738
- * @param data The data for the request.
739
- * @param data.id
740
- * @param data.requestBody
741
- * @returns UniRefund_SettingService_Vats_VatDto Success
742
- * @throws ApiError
743
- */
744
- public putApiSettingServiceVat(data: PutApiSettingServiceVatData = {}): CancelablePromise<PutApiSettingServiceVatResponse> {
745
- return this.httpRequest.request({
746
- method: 'PUT',
747
- url: '/api/setting-service/vat',
748
- query: {
749
- id: data.id
750
- },
751
- body: data.requestBody,
752
- mediaType: 'application/json',
753
- errors: {
754
- 400: 'Bad Request',
755
- 401: 'Unauthorized',
756
- 403: 'Forbidden',
757
- 404: 'Not Found',
758
- 500: 'Server Error',
759
- 501: 'Server Error'
760
- }
761
- });
762
- }
763
-
764
- /**
765
- * @param data The data for the request.
766
- * @param data.id
767
- * @returns UniRefund_SettingService_Vats_VatDto Success
768
- * @throws ApiError
769
- */
770
- public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
771
- return this.httpRequest.request({
772
- method: 'GET',
773
- url: '/api/setting-service/vat/{id}',
774
- path: {
775
- id: data.id
776
- },
777
- errors: {
778
- 400: 'Bad Request',
779
- 401: 'Unauthorized',
780
- 403: 'Forbidden',
781
- 404: 'Not Found',
782
- 500: 'Server Error',
783
- 501: 'Server Error'
784
- }
785
- });
786
- }
787
-
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, PostApiSettingServiceProductGroupTranslationByIdData, PostApiSettingServiceProductGroupTranslationByIdResponse, PostApiSettingServiceProductGroupData, PostApiSettingServiceProductGroupResponse, GetApiSettingServiceProductGroupData, GetApiSettingServiceProductGroupResponse, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupDetailByIdData, GetApiSettingServiceProductGroupDetailByIdResponse, PostApiSettingServiceProductGroupVatData, PostApiSettingServiceProductGroupVatResponse, GetApiSettingServiceProductGroupVatData, GetApiSettingServiceProductGroupVatResponse, DeleteApiSettingServiceProductGroupVatByIdData, DeleteApiSettingServiceProductGroupVatByIdResponse, GetApiSettingServiceProductGroupVatByIdData, GetApiSettingServiceProductGroupVatByIdResponse, PutApiSettingServiceProductGroupVatByIdData, PutApiSettingServiceProductGroupVatByIdResponse, GetApiSettingServiceProductGroupVatDetailData, GetApiSettingServiceProductGroupVatDetailResponse, GetApiSettingServiceSampleResponse, GetApiSettingServiceSampleAuthorizedResponse, GetApiSettingManagementTimezoneResponse, PostApiSettingManagementTimezoneData, PostApiSettingManagementTimezoneResponse, GetApiSettingManagementTimezoneTimezonesResponse, PostApiSettingServiceVatData, PostApiSettingServiceVatResponse, GetApiSettingServiceVatData, GetApiSettingServiceVatResponse, DeleteApiSettingServiceVatByIdData, DeleteApiSettingServiceVatByIdResponse, GetApiSettingServiceVatByIdData, GetApiSettingServiceVatByIdResponse, PutApiSettingServiceVatByIdData, PutApiSettingServiceVatByIdResponse, GetApiSettingServiceVatDetailData, GetApiSettingServiceVatDetailResponse } 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.id
238
+ * @param data.requestBody
239
+ * @returns unknown Success
240
+ * @throws ApiError
241
+ */
242
+ public postApiSettingServiceProductGroupTranslationById(data: PostApiSettingServiceProductGroupTranslationByIdData): CancelablePromise<PostApiSettingServiceProductGroupTranslationByIdResponse> {
243
+ return this.httpRequest.request({
244
+ method: 'POST',
245
+ url: '/api/setting-service/product-group/translation/{id}',
246
+ path: {
247
+ id: data.id
248
+ },
249
+ body: data.requestBody,
250
+ mediaType: 'application/json',
251
+ errors: {
252
+ 400: 'Bad Request',
253
+ 401: 'Unauthorized',
254
+ 403: 'Forbidden',
255
+ 404: 'Not Found',
256
+ 500: 'Server Error',
257
+ 501: 'Server Error'
258
+ }
259
+ });
260
+ }
261
+
262
+ /**
263
+ * @param data The data for the request.
264
+ * @param data.requestBody
265
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
266
+ * @throws ApiError
267
+ */
268
+ public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
269
+ return this.httpRequest.request({
270
+ method: 'POST',
271
+ url: '/api/setting-service/product-group',
272
+ body: data.requestBody,
273
+ mediaType: 'application/json',
274
+ errors: {
275
+ 400: 'Bad Request',
276
+ 401: 'Unauthorized',
277
+ 403: 'Forbidden',
278
+ 404: 'Not Found',
279
+ 500: 'Server Error',
280
+ 501: 'Server Error'
281
+ }
282
+ });
283
+ }
284
+
285
+ /**
286
+ * @param data The data for the request.
287
+ * @param data.sorting
288
+ * @param data.skipCount
289
+ * @param data.maxResultCount
290
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroups_ProductGroupDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
291
+ * @throws ApiError
292
+ */
293
+ public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
294
+ return this.httpRequest.request({
295
+ method: 'GET',
296
+ url: '/api/setting-service/product-group',
297
+ query: {
298
+ Sorting: data.sorting,
299
+ SkipCount: data.skipCount,
300
+ MaxResultCount: data.maxResultCount
301
+ },
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
+ * @returns unknown Success
317
+ * @throws ApiError
318
+ */
319
+ public deleteApiSettingServiceProductGroupById(data: DeleteApiSettingServiceProductGroupByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupByIdResponse> {
320
+ return this.httpRequest.request({
321
+ method: 'DELETE',
322
+ url: '/api/setting-service/product-group/{id}',
323
+ path: {
324
+ id: data.id
325
+ },
326
+ errors: {
327
+ 400: 'Bad Request',
328
+ 401: 'Unauthorized',
329
+ 403: 'Forbidden',
330
+ 404: 'Not Found',
331
+ 500: 'Server Error',
332
+ 501: 'Server Error'
333
+ }
334
+ });
335
+ }
336
+
337
+ /**
338
+ * @param data The data for the request.
339
+ * @param data.id
340
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
341
+ * @throws ApiError
342
+ */
343
+ public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
344
+ return this.httpRequest.request({
345
+ method: 'GET',
346
+ url: '/api/setting-service/product-group/{id}',
347
+ path: {
348
+ id: data.id
349
+ },
350
+ errors: {
351
+ 400: 'Bad Request',
352
+ 401: 'Unauthorized',
353
+ 403: 'Forbidden',
354
+ 404: 'Not Found',
355
+ 500: 'Server Error',
356
+ 501: 'Server Error'
357
+ }
358
+ });
359
+ }
360
+
361
+ /**
362
+ * @param data The data for the request.
363
+ * @param data.id
364
+ * @param data.requestBody
365
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
366
+ * @throws ApiError
367
+ */
368
+ public putApiSettingServiceProductGroupById(data: PutApiSettingServiceProductGroupByIdData): CancelablePromise<PutApiSettingServiceProductGroupByIdResponse> {
369
+ return this.httpRequest.request({
370
+ method: 'PUT',
371
+ url: '/api/setting-service/product-group/{id}',
372
+ path: {
373
+ id: data.id
374
+ },
375
+ body: data.requestBody,
376
+ mediaType: 'application/json',
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.cultureName
392
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
393
+ * @throws ApiError
394
+ */
395
+ public getApiSettingServiceProductGroupDetailById(data: GetApiSettingServiceProductGroupDetailByIdData): CancelablePromise<GetApiSettingServiceProductGroupDetailByIdResponse> {
396
+ return this.httpRequest.request({
397
+ method: 'GET',
398
+ url: '/api/setting-service/product-group/detail/{id}',
399
+ path: {
400
+ id: data.id
401
+ },
402
+ query: {
403
+ cultureName: data.cultureName
404
+ },
405
+ errors: {
406
+ 400: 'Bad Request',
407
+ 401: 'Unauthorized',
408
+ 403: 'Forbidden',
409
+ 404: 'Not Found',
410
+ 500: 'Server Error',
411
+ 501: 'Server Error'
412
+ }
413
+ });
414
+ }
415
+
416
+ }
417
+
418
+ export class ProductGroupVatService {
419
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
420
+
421
+ /**
422
+ * @param data The data for the request.
423
+ * @param data.requestBody
424
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
425
+ * @throws ApiError
426
+ */
427
+ public postApiSettingServiceProductGroupVat(data: PostApiSettingServiceProductGroupVatData = {}): CancelablePromise<PostApiSettingServiceProductGroupVatResponse> {
428
+ return this.httpRequest.request({
429
+ method: 'POST',
430
+ url: '/api/setting-service/product-group-vat',
431
+ body: data.requestBody,
432
+ mediaType: 'application/json',
433
+ errors: {
434
+ 400: 'Bad Request',
435
+ 401: 'Unauthorized',
436
+ 403: 'Forbidden',
437
+ 404: 'Not Found',
438
+ 500: 'Server Error',
439
+ 501: 'Server Error'
440
+ }
441
+ });
442
+ }
443
+
444
+ /**
445
+ * @param data The data for the request.
446
+ * @param data.sorting
447
+ * @param data.skipCount
448
+ * @param data.maxResultCount
449
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
450
+ * @throws ApiError
451
+ */
452
+ public getApiSettingServiceProductGroupVat(data: GetApiSettingServiceProductGroupVatData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatResponse> {
453
+ return this.httpRequest.request({
454
+ method: 'GET',
455
+ url: '/api/setting-service/product-group-vat',
456
+ query: {
457
+ Sorting: data.sorting,
458
+ SkipCount: data.skipCount,
459
+ MaxResultCount: data.maxResultCount
460
+ },
461
+ errors: {
462
+ 400: 'Bad Request',
463
+ 401: 'Unauthorized',
464
+ 403: 'Forbidden',
465
+ 404: 'Not Found',
466
+ 500: 'Server Error',
467
+ 501: 'Server Error'
468
+ }
469
+ });
470
+ }
471
+
472
+ /**
473
+ * @param data The data for the request.
474
+ * @param data.id
475
+ * @returns unknown Success
476
+ * @throws ApiError
477
+ */
478
+ public deleteApiSettingServiceProductGroupVatById(data: DeleteApiSettingServiceProductGroupVatByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupVatByIdResponse> {
479
+ return this.httpRequest.request({
480
+ method: 'DELETE',
481
+ url: '/api/setting-service/product-group-vat/{id}',
482
+ path: {
483
+ id: data.id
484
+ },
485
+ errors: {
486
+ 400: 'Bad Request',
487
+ 401: 'Unauthorized',
488
+ 403: 'Forbidden',
489
+ 404: 'Not Found',
490
+ 500: 'Server Error',
491
+ 501: 'Server Error'
492
+ }
493
+ });
494
+ }
495
+
496
+ /**
497
+ * @param data The data for the request.
498
+ * @param data.id
499
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
500
+ * @throws ApiError
501
+ */
502
+ public getApiSettingServiceProductGroupVatById(data: GetApiSettingServiceProductGroupVatByIdData): CancelablePromise<GetApiSettingServiceProductGroupVatByIdResponse> {
503
+ return this.httpRequest.request({
504
+ method: 'GET',
505
+ url: '/api/setting-service/product-group-vat/{id}',
506
+ path: {
507
+ id: data.id
508
+ },
509
+ errors: {
510
+ 400: 'Bad Request',
511
+ 401: 'Unauthorized',
512
+ 403: 'Forbidden',
513
+ 404: 'Not Found',
514
+ 500: 'Server Error',
515
+ 501: 'Server Error'
516
+ }
517
+ });
518
+ }
519
+
520
+ /**
521
+ * @param data The data for the request.
522
+ * @param data.id
523
+ * @param data.requestBody
524
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
525
+ * @throws ApiError
526
+ */
527
+ public putApiSettingServiceProductGroupVatById(data: PutApiSettingServiceProductGroupVatByIdData): CancelablePromise<PutApiSettingServiceProductGroupVatByIdResponse> {
528
+ return this.httpRequest.request({
529
+ method: 'PUT',
530
+ url: '/api/setting-service/product-group-vat/{id}',
531
+ path: {
532
+ id: data.id
533
+ },
534
+ body: data.requestBody,
535
+ mediaType: 'application/json',
536
+ errors: {
537
+ 400: 'Bad Request',
538
+ 401: 'Unauthorized',
539
+ 403: 'Forbidden',
540
+ 404: 'Not Found',
541
+ 500: 'Server Error',
542
+ 501: 'Server Error'
543
+ }
544
+ });
545
+ }
546
+
547
+ /**
548
+ * @param data The data for the request.
549
+ * @param data.sorting
550
+ * @param data.skipCount
551
+ * @param data.maxResultCount
552
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroupVats_ProductGroupVatDetailDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
553
+ * @throws ApiError
554
+ */
555
+ public getApiSettingServiceProductGroupVatDetail(data: GetApiSettingServiceProductGroupVatDetailData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatDetailResponse> {
556
+ return this.httpRequest.request({
557
+ method: 'GET',
558
+ url: '/api/setting-service/product-group-vat/detail',
559
+ query: {
560
+ Sorting: data.sorting,
561
+ SkipCount: data.skipCount,
562
+ MaxResultCount: data.maxResultCount
563
+ },
564
+ errors: {
565
+ 400: 'Bad Request',
566
+ 401: 'Unauthorized',
567
+ 403: 'Forbidden',
568
+ 404: 'Not Found',
569
+ 500: 'Server Error',
570
+ 501: 'Server Error'
571
+ }
572
+ });
573
+ }
574
+
575
+ }
576
+
577
+ export class SampleService {
578
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
579
+
580
+ /**
581
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
582
+ * @throws ApiError
583
+ */
584
+ public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
585
+ return this.httpRequest.request({
586
+ method: 'GET',
587
+ url: '/api/SettingService/sample',
588
+ errors: {
589
+ 400: 'Bad Request',
590
+ 401: 'Unauthorized',
591
+ 403: 'Forbidden',
592
+ 404: 'Not Found',
593
+ 500: 'Server Error',
594
+ 501: 'Server Error'
595
+ }
596
+ });
597
+ }
598
+
599
+ /**
600
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
601
+ * @throws ApiError
602
+ */
603
+ public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
604
+ return this.httpRequest.request({
605
+ method: 'GET',
606
+ url: '/api/SettingService/sample/authorized',
607
+ errors: {
608
+ 400: 'Bad Request',
609
+ 401: 'Unauthorized',
610
+ 403: 'Forbidden',
611
+ 404: 'Not Found',
612
+ 500: 'Server Error',
613
+ 501: 'Server Error'
614
+ }
615
+ });
616
+ }
617
+
618
+ }
619
+
620
+ export class TimeZoneSettingsService {
621
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
622
+
623
+ /**
624
+ * @returns string Success
625
+ * @throws ApiError
626
+ */
627
+ public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
628
+ return this.httpRequest.request({
629
+ method: 'GET',
630
+ url: '/api/setting-management/timezone',
631
+ errors: {
632
+ 400: 'Bad Request',
633
+ 401: 'Unauthorized',
634
+ 403: 'Forbidden',
635
+ 404: 'Not Found',
636
+ 500: 'Server Error',
637
+ 501: 'Server Error'
638
+ }
639
+ });
640
+ }
641
+
642
+ /**
643
+ * @param data The data for the request.
644
+ * @param data.timezone
645
+ * @returns unknown Success
646
+ * @throws ApiError
647
+ */
648
+ public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
649
+ return this.httpRequest.request({
650
+ method: 'POST',
651
+ url: '/api/setting-management/timezone',
652
+ query: {
653
+ timezone: data.timezone
654
+ },
655
+ errors: {
656
+ 400: 'Bad Request',
657
+ 401: 'Unauthorized',
658
+ 403: 'Forbidden',
659
+ 404: 'Not Found',
660
+ 500: 'Server Error',
661
+ 501: 'Server Error'
662
+ }
663
+ });
664
+ }
665
+
666
+ /**
667
+ * @returns Volo_Abp_NameValue Success
668
+ * @throws ApiError
669
+ */
670
+ public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
671
+ return this.httpRequest.request({
672
+ method: 'GET',
673
+ url: '/api/setting-management/timezone/timezones',
674
+ errors: {
675
+ 400: 'Bad Request',
676
+ 401: 'Unauthorized',
677
+ 403: 'Forbidden',
678
+ 404: 'Not Found',
679
+ 500: 'Server Error',
680
+ 501: 'Server Error'
681
+ }
682
+ });
683
+ }
684
+
685
+ }
686
+
687
+ export class VatService {
688
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
689
+
690
+ /**
691
+ * @param data The data for the request.
692
+ * @param data.requestBody
693
+ * @returns UniRefund_SettingService_Vats_VatDto Success
694
+ * @throws ApiError
695
+ */
696
+ public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
697
+ return this.httpRequest.request({
698
+ method: 'POST',
699
+ url: '/api/setting-service/vat',
700
+ body: data.requestBody,
701
+ mediaType: 'application/json',
702
+ errors: {
703
+ 400: 'Bad Request',
704
+ 401: 'Unauthorized',
705
+ 403: 'Forbidden',
706
+ 404: 'Not Found',
707
+ 500: 'Server Error',
708
+ 501: 'Server Error'
709
+ }
710
+ });
711
+ }
712
+
713
+ /**
714
+ * @param data The data for the request.
715
+ * @param data.sorting
716
+ * @param data.skipCount
717
+ * @param data.maxResultCount
718
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_Vats_VatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
719
+ * @throws ApiError
720
+ */
721
+ public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
722
+ return this.httpRequest.request({
723
+ method: 'GET',
724
+ url: '/api/setting-service/vat',
725
+ query: {
726
+ Sorting: data.sorting,
727
+ SkipCount: data.skipCount,
728
+ MaxResultCount: data.maxResultCount
729
+ },
730
+ errors: {
731
+ 400: 'Bad Request',
732
+ 401: 'Unauthorized',
733
+ 403: 'Forbidden',
734
+ 404: 'Not Found',
735
+ 500: 'Server Error',
736
+ 501: 'Server Error'
737
+ }
738
+ });
739
+ }
740
+
741
+ /**
742
+ * @param data The data for the request.
743
+ * @param data.id
744
+ * @returns unknown Success
745
+ * @throws ApiError
746
+ */
747
+ public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
748
+ return this.httpRequest.request({
749
+ method: 'DELETE',
750
+ url: '/api/setting-service/vat/{id}',
751
+ path: {
752
+ id: data.id
753
+ },
754
+ errors: {
755
+ 400: 'Bad Request',
756
+ 401: 'Unauthorized',
757
+ 403: 'Forbidden',
758
+ 404: 'Not Found',
759
+ 500: 'Server Error',
760
+ 501: 'Server Error'
761
+ }
762
+ });
763
+ }
764
+
765
+ /**
766
+ * @param data The data for the request.
767
+ * @param data.id
768
+ * @returns UniRefund_SettingService_Vats_VatDto Success
769
+ * @throws ApiError
770
+ */
771
+ public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
772
+ return this.httpRequest.request({
773
+ method: 'GET',
774
+ url: '/api/setting-service/vat/{id}',
775
+ path: {
776
+ id: data.id
777
+ },
778
+ errors: {
779
+ 400: 'Bad Request',
780
+ 401: 'Unauthorized',
781
+ 403: 'Forbidden',
782
+ 404: 'Not Found',
783
+ 500: 'Server Error',
784
+ 501: 'Server Error'
785
+ }
786
+ });
787
+ }
788
+
789
+ /**
790
+ * @param data The data for the request.
791
+ * @param data.id
792
+ * @param data.requestBody
793
+ * @returns UniRefund_SettingService_Vats_VatDto Success
794
+ * @throws ApiError
795
+ */
796
+ public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
797
+ return this.httpRequest.request({
798
+ method: 'PUT',
799
+ url: '/api/setting-service/vat/{id}',
800
+ path: {
801
+ id: data.id
802
+ },
803
+ body: data.requestBody,
804
+ mediaType: 'application/json',
805
+ errors: {
806
+ 400: 'Bad Request',
807
+ 401: 'Unauthorized',
808
+ 403: 'Forbidden',
809
+ 404: 'Not Found',
810
+ 500: 'Server Error',
811
+ 501: 'Server Error'
812
+ }
813
+ });
814
+ }
815
+
816
+ /**
817
+ * @param data The data for the request.
818
+ * @param data.sorting
819
+ * @param data.skipCount
820
+ * @param data.maxResultCount
821
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_Vats_VatDetailDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
822
+ * @throws ApiError
823
+ */
824
+ public getApiSettingServiceVatDetail(data: GetApiSettingServiceVatDetailData = {}): CancelablePromise<GetApiSettingServiceVatDetailResponse> {
825
+ return this.httpRequest.request({
826
+ method: 'GET',
827
+ url: '/api/setting-service/vat/detail',
828
+ query: {
829
+ Sorting: data.sorting,
830
+ SkipCount: data.skipCount,
831
+ MaxResultCount: data.maxResultCount
832
+ },
833
+ errors: {
834
+ 400: 'Bad Request',
835
+ 401: 'Unauthorized',
836
+ 403: 'Forbidden',
837
+ 404: 'Not Found',
838
+ 500: 'Server Error',
839
+ 501: 'Server Error'
840
+ }
841
+ });
842
+ }
843
+
788
844
  }