@ayasofyazilim/saas 0.0.40 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +9 -9
  8. package/AccountService/schemas.gen.ts +5333 -5103
  9. package/AccountService/services.gen.ts +1539 -1452
  10. package/AccountService/types.gen.ts +3328 -9896
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -74
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +9 -9
  18. package/AdministrationService/schemas.gen.ts +5987 -5897
  19. package/AdministrationService/services.gen.ts +1404 -1332
  20. package/AdministrationService/types.gen.ts +2851 -9024
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +9 -9
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -14936
  29. package/CRMService/schemas.gen.ts +15928 -15920
  30. package/CRMService/services.gen.ts +2104 -2052
  31. package/CRMService/types.gen.ts +4189 -4106
  32. package/ContractService/schemas.gen.ts +70 -524
  33. package/ContractService/types.gen.ts +12 -8
  34. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  35. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  36. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  37. package/FundraiserService/core/OpenAPI.ts +55 -55
  38. package/FundraiserService/core/request.ts +340 -340
  39. package/FundraiserService/index.ts +9 -9
  40. package/FundraiserService/services.gen.ts +627 -627
  41. package/FundraiserService/types.gen.ts +1793 -11187
  42. package/IdentityService/IdentityServiceClient.ts +80 -77
  43. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  44. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  45. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  46. package/IdentityService/core/OpenAPI.ts +55 -55
  47. package/IdentityService/core/request.ts +340 -340
  48. package/IdentityService/index.ts +9 -9
  49. package/IdentityService/schemas.gen.ts +6845 -6573
  50. package/IdentityService/services.gen.ts +2924 -2839
  51. package/IdentityService/types.gen.ts +5484 -17446
  52. package/LocationService/LocationServiceClient.ts +110 -110
  53. package/LocationService/core/ApiError.ts +20 -20
  54. package/LocationService/core/ApiRequestOptions.ts +12 -12
  55. package/LocationService/core/ApiResult.ts +6 -6
  56. package/LocationService/core/BaseHttpRequest.ts +9 -9
  57. package/LocationService/core/CancelablePromise.ts +125 -125
  58. package/LocationService/core/FetchHttpRequest.ts +21 -21
  59. package/LocationService/core/OpenAPI.ts +55 -55
  60. package/LocationService/core/request.ts +340 -340
  61. package/LocationService/index.ts +8 -8
  62. package/LocationService/schemas.gen.ts +10136 -10136
  63. package/LocationService/services.gen.ts +3392 -3392
  64. package/LocationService/types.gen.ts +6507 -6507
  65. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  66. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  67. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  68. package/MerchantService/core/OpenAPI.ts +55 -55
  69. package/MerchantService/core/request.ts +340 -340
  70. package/MerchantService/schemas.gen.ts +14764 -14764
  71. package/MerchantService/services.gen.ts +1602 -1602
  72. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  73. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  74. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  75. package/ProjectService/core/OpenAPI.ts +55 -55
  76. package/ProjectService/core/request.ts +340 -340
  77. package/ProjectService/index.ts +9 -9
  78. package/ProjectService/services.gen.ts +492 -492
  79. package/ProjectService/types.gen.ts +1303 -4978
  80. package/ProjectService.json +2937 -2937
  81. package/SaasService/core/ApiRequestOptions.ts +12 -12
  82. package/SaasService/core/BaseHttpRequest.ts +9 -9
  83. package/SaasService/core/FetchHttpRequest.ts +21 -21
  84. package/SaasService/core/OpenAPI.ts +55 -55
  85. package/SaasService/core/request.ts +340 -340
  86. package/SaasService/index.ts +9 -9
  87. package/SaasService/schemas.gen.ts +5345 -5278
  88. package/SaasService/services.gen.ts +1329 -1325
  89. package/SaasService/types.gen.ts +2737 -9052
  90. package/SettingService/schemas.gen.ts +5410 -5395
  91. package/SettingService/services.gen.ts +890 -843
  92. package/SettingService/types.gen.ts +2052 -1965
  93. package/TravellerService/TravellerServiceClient.ts +56 -56
  94. package/TravellerService/core/ApiError.ts +20 -20
  95. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  96. package/TravellerService/core/ApiResult.ts +6 -6
  97. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  98. package/TravellerService/core/CancelablePromise.ts +125 -125
  99. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  100. package/TravellerService/core/OpenAPI.ts +55 -55
  101. package/TravellerService/core/request.ts +340 -340
  102. package/TravellerService/index.ts +8 -8
  103. package/TravellerService/schemas.gen.ts +6184 -6204
  104. package/TravellerService/services.gen.ts +699 -695
  105. package/TravellerService/types.gen.ts +1809 -1808
  106. package/package.json +1 -1
  107. package/swagger.json +4794 -4794
@@ -1,844 +1,891 @@
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
-
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, DeleteApiSettingServiceProductGroupByIdData, DeleteApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupByIdData, GetApiSettingServiceProductGroupByIdResponse, PutApiSettingServiceProductGroupByIdData, PutApiSettingServiceProductGroupByIdResponse, GetApiSettingServiceProductGroupDetailByIdData, GetApiSettingServiceProductGroupDetailByIdResponse, GetApiSettingServiceProductGroupByMerchantIdByIdData, GetApiSettingServiceProductGroupByMerchantIdByIdResponse, PostApiSettingServiceProductGroupProductGroupMerchantBulkData, PostApiSettingServiceProductGroupProductGroupMerchantBulkResponse, 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.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 Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroups_ProductGroupDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> 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
+ * @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
+ * @param data The data for the request.
418
+ * @param data.id
419
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
420
+ * @throws ApiError
421
+ */
422
+ public getApiSettingServiceProductGroupByMerchantIdById(data: GetApiSettingServiceProductGroupByMerchantIdByIdData): CancelablePromise<GetApiSettingServiceProductGroupByMerchantIdByIdResponse> {
423
+ return this.httpRequest.request({
424
+ method: 'GET',
425
+ url: '/api/setting-service/product-group/by-merchant-id/{id}',
426
+ path: {
427
+ id: data.id
428
+ },
429
+ errors: {
430
+ 400: 'Bad Request',
431
+ 401: 'Unauthorized',
432
+ 403: 'Forbidden',
433
+ 404: 'Not Found',
434
+ 500: 'Server Error',
435
+ 501: 'Server Error'
436
+ }
437
+ });
438
+ }
439
+
440
+ /**
441
+ * @param data The data for the request.
442
+ * @param data.requestBody
443
+ * @returns unknown Success
444
+ * @throws ApiError
445
+ */
446
+ public postApiSettingServiceProductGroupProductGroupMerchantBulk(data: PostApiSettingServiceProductGroupProductGroupMerchantBulkData = {}): CancelablePromise<PostApiSettingServiceProductGroupProductGroupMerchantBulkResponse> {
447
+ return this.httpRequest.request({
448
+ method: 'POST',
449
+ url: '/api/setting-service/product-group/product-group-merchant-bulk',
450
+ body: data.requestBody,
451
+ mediaType: 'application/json',
452
+ errors: {
453
+ 400: 'Bad Request',
454
+ 401: 'Unauthorized',
455
+ 403: 'Forbidden',
456
+ 404: 'Not Found',
457
+ 500: 'Server Error',
458
+ 501: 'Server Error'
459
+ }
460
+ });
461
+ }
462
+
463
+ }
464
+
465
+ export class ProductGroupVatService {
466
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
467
+
468
+ /**
469
+ * @param data The data for the request.
470
+ * @param data.requestBody
471
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
472
+ * @throws ApiError
473
+ */
474
+ public postApiSettingServiceProductGroupVat(data: PostApiSettingServiceProductGroupVatData = {}): CancelablePromise<PostApiSettingServiceProductGroupVatResponse> {
475
+ return this.httpRequest.request({
476
+ method: 'POST',
477
+ url: '/api/setting-service/product-group-vat',
478
+ body: data.requestBody,
479
+ mediaType: 'application/json',
480
+ errors: {
481
+ 400: 'Bad Request',
482
+ 401: 'Unauthorized',
483
+ 403: 'Forbidden',
484
+ 404: 'Not Found',
485
+ 500: 'Server Error',
486
+ 501: 'Server Error'
487
+ }
488
+ });
489
+ }
490
+
491
+ /**
492
+ * @param data The data for the request.
493
+ * @param data.sorting
494
+ * @param data.skipCount
495
+ * @param data.maxResultCount
496
+ * @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
497
+ * @throws ApiError
498
+ */
499
+ public getApiSettingServiceProductGroupVat(data: GetApiSettingServiceProductGroupVatData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatResponse> {
500
+ return this.httpRequest.request({
501
+ method: 'GET',
502
+ url: '/api/setting-service/product-group-vat',
503
+ query: {
504
+ Sorting: data.sorting,
505
+ SkipCount: data.skipCount,
506
+ MaxResultCount: data.maxResultCount
507
+ },
508
+ errors: {
509
+ 400: 'Bad Request',
510
+ 401: 'Unauthorized',
511
+ 403: 'Forbidden',
512
+ 404: 'Not Found',
513
+ 500: 'Server Error',
514
+ 501: 'Server Error'
515
+ }
516
+ });
517
+ }
518
+
519
+ /**
520
+ * @param data The data for the request.
521
+ * @param data.id
522
+ * @returns unknown Success
523
+ * @throws ApiError
524
+ */
525
+ public deleteApiSettingServiceProductGroupVatById(data: DeleteApiSettingServiceProductGroupVatByIdData): CancelablePromise<DeleteApiSettingServiceProductGroupVatByIdResponse> {
526
+ return this.httpRequest.request({
527
+ method: 'DELETE',
528
+ url: '/api/setting-service/product-group-vat/{id}',
529
+ path: {
530
+ id: data.id
531
+ },
532
+ errors: {
533
+ 400: 'Bad Request',
534
+ 401: 'Unauthorized',
535
+ 403: 'Forbidden',
536
+ 404: 'Not Found',
537
+ 500: 'Server Error',
538
+ 501: 'Server Error'
539
+ }
540
+ });
541
+ }
542
+
543
+ /**
544
+ * @param data The data for the request.
545
+ * @param data.id
546
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
547
+ * @throws ApiError
548
+ */
549
+ public getApiSettingServiceProductGroupVatById(data: GetApiSettingServiceProductGroupVatByIdData): CancelablePromise<GetApiSettingServiceProductGroupVatByIdResponse> {
550
+ return this.httpRequest.request({
551
+ method: 'GET',
552
+ url: '/api/setting-service/product-group-vat/{id}',
553
+ path: {
554
+ id: data.id
555
+ },
556
+ errors: {
557
+ 400: 'Bad Request',
558
+ 401: 'Unauthorized',
559
+ 403: 'Forbidden',
560
+ 404: 'Not Found',
561
+ 500: 'Server Error',
562
+ 501: 'Server Error'
563
+ }
564
+ });
565
+ }
566
+
567
+ /**
568
+ * @param data The data for the request.
569
+ * @param data.id
570
+ * @param data.requestBody
571
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
572
+ * @throws ApiError
573
+ */
574
+ public putApiSettingServiceProductGroupVatById(data: PutApiSettingServiceProductGroupVatByIdData): CancelablePromise<PutApiSettingServiceProductGroupVatByIdResponse> {
575
+ return this.httpRequest.request({
576
+ method: 'PUT',
577
+ url: '/api/setting-service/product-group-vat/{id}',
578
+ path: {
579
+ id: data.id
580
+ },
581
+ body: data.requestBody,
582
+ mediaType: 'application/json',
583
+ errors: {
584
+ 400: 'Bad Request',
585
+ 401: 'Unauthorized',
586
+ 403: 'Forbidden',
587
+ 404: 'Not Found',
588
+ 500: 'Server Error',
589
+ 501: 'Server Error'
590
+ }
591
+ });
592
+ }
593
+
594
+ /**
595
+ * @param data The data for the request.
596
+ * @param data.sorting
597
+ * @param data.skipCount
598
+ * @param data.maxResultCount
599
+ * @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
600
+ * @throws ApiError
601
+ */
602
+ public getApiSettingServiceProductGroupVatDetail(data: GetApiSettingServiceProductGroupVatDetailData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatDetailResponse> {
603
+ return this.httpRequest.request({
604
+ method: 'GET',
605
+ url: '/api/setting-service/product-group-vat/detail',
606
+ query: {
607
+ Sorting: data.sorting,
608
+ SkipCount: data.skipCount,
609
+ MaxResultCount: data.maxResultCount
610
+ },
611
+ errors: {
612
+ 400: 'Bad Request',
613
+ 401: 'Unauthorized',
614
+ 403: 'Forbidden',
615
+ 404: 'Not Found',
616
+ 500: 'Server Error',
617
+ 501: 'Server Error'
618
+ }
619
+ });
620
+ }
621
+
622
+ }
623
+
624
+ export class SampleService {
625
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
626
+
627
+ /**
628
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
629
+ * @throws ApiError
630
+ */
631
+ public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
632
+ return this.httpRequest.request({
633
+ method: 'GET',
634
+ url: '/api/SettingService/sample',
635
+ errors: {
636
+ 400: 'Bad Request',
637
+ 401: 'Unauthorized',
638
+ 403: 'Forbidden',
639
+ 404: 'Not Found',
640
+ 500: 'Server Error',
641
+ 501: 'Server Error'
642
+ }
643
+ });
644
+ }
645
+
646
+ /**
647
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
648
+ * @throws ApiError
649
+ */
650
+ public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
651
+ return this.httpRequest.request({
652
+ method: 'GET',
653
+ url: '/api/SettingService/sample/authorized',
654
+ errors: {
655
+ 400: 'Bad Request',
656
+ 401: 'Unauthorized',
657
+ 403: 'Forbidden',
658
+ 404: 'Not Found',
659
+ 500: 'Server Error',
660
+ 501: 'Server Error'
661
+ }
662
+ });
663
+ }
664
+
665
+ }
666
+
667
+ export class TimeZoneSettingsService {
668
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
669
+
670
+ /**
671
+ * @returns string Success
672
+ * @throws ApiError
673
+ */
674
+ public getApiSettingManagementTimezone(): CancelablePromise<GetApiSettingManagementTimezoneResponse> {
675
+ return this.httpRequest.request({
676
+ method: 'GET',
677
+ url: '/api/setting-management/timezone',
678
+ errors: {
679
+ 400: 'Bad Request',
680
+ 401: 'Unauthorized',
681
+ 403: 'Forbidden',
682
+ 404: 'Not Found',
683
+ 500: 'Server Error',
684
+ 501: 'Server Error'
685
+ }
686
+ });
687
+ }
688
+
689
+ /**
690
+ * @param data The data for the request.
691
+ * @param data.timezone
692
+ * @returns unknown Success
693
+ * @throws ApiError
694
+ */
695
+ public postApiSettingManagementTimezone(data: PostApiSettingManagementTimezoneData = {}): CancelablePromise<PostApiSettingManagementTimezoneResponse> {
696
+ return this.httpRequest.request({
697
+ method: 'POST',
698
+ url: '/api/setting-management/timezone',
699
+ query: {
700
+ timezone: data.timezone
701
+ },
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
+ * @returns Volo_Abp_NameValue Success
715
+ * @throws ApiError
716
+ */
717
+ public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
718
+ return this.httpRequest.request({
719
+ method: 'GET',
720
+ url: '/api/setting-management/timezone/timezones',
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
+
734
+ export class VatService {
735
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
736
+
737
+ /**
738
+ * @param data The data for the request.
739
+ * @param data.requestBody
740
+ * @returns UniRefund_SettingService_Vats_VatDto Success
741
+ * @throws ApiError
742
+ */
743
+ public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
744
+ return this.httpRequest.request({
745
+ method: 'POST',
746
+ url: '/api/setting-service/vat',
747
+ body: data.requestBody,
748
+ mediaType: 'application/json',
749
+ errors: {
750
+ 400: 'Bad Request',
751
+ 401: 'Unauthorized',
752
+ 403: 'Forbidden',
753
+ 404: 'Not Found',
754
+ 500: 'Server Error',
755
+ 501: 'Server Error'
756
+ }
757
+ });
758
+ }
759
+
760
+ /**
761
+ * @param data The data for the request.
762
+ * @param data.sorting
763
+ * @param data.skipCount
764
+ * @param data.maxResultCount
765
+ * @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
766
+ * @throws ApiError
767
+ */
768
+ public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
769
+ return this.httpRequest.request({
770
+ method: 'GET',
771
+ url: '/api/setting-service/vat',
772
+ query: {
773
+ Sorting: data.sorting,
774
+ SkipCount: data.skipCount,
775
+ MaxResultCount: data.maxResultCount
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
+
788
+ /**
789
+ * @param data The data for the request.
790
+ * @param data.id
791
+ * @returns unknown Success
792
+ * @throws ApiError
793
+ */
794
+ public deleteApiSettingServiceVatById(data: DeleteApiSettingServiceVatByIdData): CancelablePromise<DeleteApiSettingServiceVatByIdResponse> {
795
+ return this.httpRequest.request({
796
+ method: 'DELETE',
797
+ url: '/api/setting-service/vat/{id}',
798
+ path: {
799
+ id: data.id
800
+ },
801
+ errors: {
802
+ 400: 'Bad Request',
803
+ 401: 'Unauthorized',
804
+ 403: 'Forbidden',
805
+ 404: 'Not Found',
806
+ 500: 'Server Error',
807
+ 501: 'Server Error'
808
+ }
809
+ });
810
+ }
811
+
812
+ /**
813
+ * @param data The data for the request.
814
+ * @param data.id
815
+ * @returns UniRefund_SettingService_Vats_VatDto Success
816
+ * @throws ApiError
817
+ */
818
+ public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {
819
+ return this.httpRequest.request({
820
+ method: 'GET',
821
+ url: '/api/setting-service/vat/{id}',
822
+ path: {
823
+ id: data.id
824
+ },
825
+ errors: {
826
+ 400: 'Bad Request',
827
+ 401: 'Unauthorized',
828
+ 403: 'Forbidden',
829
+ 404: 'Not Found',
830
+ 500: 'Server Error',
831
+ 501: 'Server Error'
832
+ }
833
+ });
834
+ }
835
+
836
+ /**
837
+ * @param data The data for the request.
838
+ * @param data.id
839
+ * @param data.requestBody
840
+ * @returns UniRefund_SettingService_Vats_VatDto Success
841
+ * @throws ApiError
842
+ */
843
+ public putApiSettingServiceVatById(data: PutApiSettingServiceVatByIdData): CancelablePromise<PutApiSettingServiceVatByIdResponse> {
844
+ return this.httpRequest.request({
845
+ method: 'PUT',
846
+ url: '/api/setting-service/vat/{id}',
847
+ path: {
848
+ id: data.id
849
+ },
850
+ body: data.requestBody,
851
+ mediaType: 'application/json',
852
+ errors: {
853
+ 400: 'Bad Request',
854
+ 401: 'Unauthorized',
855
+ 403: 'Forbidden',
856
+ 404: 'Not Found',
857
+ 500: 'Server Error',
858
+ 501: 'Server Error'
859
+ }
860
+ });
861
+ }
862
+
863
+ /**
864
+ * @param data The data for the request.
865
+ * @param data.sorting
866
+ * @param data.skipCount
867
+ * @param data.maxResultCount
868
+ * @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
869
+ * @throws ApiError
870
+ */
871
+ public getApiSettingServiceVatDetail(data: GetApiSettingServiceVatDetailData = {}): CancelablePromise<GetApiSettingServiceVatDetailResponse> {
872
+ return this.httpRequest.request({
873
+ method: 'GET',
874
+ url: '/api/setting-service/vat/detail',
875
+ query: {
876
+ Sorting: data.sorting,
877
+ SkipCount: data.skipCount,
878
+ MaxResultCount: data.maxResultCount
879
+ },
880
+ errors: {
881
+ 400: 'Bad Request',
882
+ 401: 'Unauthorized',
883
+ 403: 'Forbidden',
884
+ 404: 'Not Found',
885
+ 500: 'Server Error',
886
+ 501: 'Server Error'
887
+ }
888
+ });
889
+ }
890
+
844
891
  }