@ayasofyazilim/saas 0.0.63 → 0.0.65

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,1798 +1,1798 @@
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, GetApiLocationServiceAddressCommonDataByIdData, GetApiLocationServiceAddressCommonDataByIdResponse, PutApiLocationServiceAddressCommonDataByIdData, PutApiLocationServiceAddressCommonDataByIdResponse, DeleteApiLocationServiceAddressCommonDataByIdData, DeleteApiLocationServiceAddressCommonDataByIdResponse, GetApiLocationServiceAddressCommonDataData, GetApiLocationServiceAddressCommonDataResponse, PostApiLocationServiceAddressCommonDataData, PostApiLocationServiceAddressCommonDataResponse, GetApiLocationServiceAddressCommonDataGetListWithIdsData, GetApiLocationServiceAddressCommonDataGetListWithIdsResponse, GetApiLocationServiceAddressCommonDataByIdExistData, GetApiLocationServiceAddressCommonDataByIdExistResponse, PostApiLocationServiceAddressCommonDataExistData, PostApiLocationServiceAddressCommonDataExistResponse, GetApiLocationServiceCitiesData, GetApiLocationServiceCitiesResponse, PostApiLocationServiceCitiesData, PostApiLocationServiceCitiesResponse, GetApiLocationServiceCitiesGetListByRegionByRegionIdData, GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse, GetApiLocationServiceCitiesGetListByCountryByCountryIdData, GetApiLocationServiceCitiesGetListByCountryByCountryIdResponse, GetApiLocationServiceCitiesByIdData, GetApiLocationServiceCitiesByIdResponse, PutApiLocationServiceCitiesByIdData, PutApiLocationServiceCitiesByIdResponse, DeleteApiLocationServiceCitiesByIdData, DeleteApiLocationServiceCitiesByIdResponse, GetApiLocationServiceCountriesData, GetApiLocationServiceCountriesResponse, PostApiLocationServiceCountriesData, PostApiLocationServiceCountriesResponse, GetApiLocationServiceCountriesByIdData, GetApiLocationServiceCountriesByIdResponse, PutApiLocationServiceCountriesByIdData, PutApiLocationServiceCountriesByIdResponse, DeleteApiLocationServiceCountriesByIdData, DeleteApiLocationServiceCountriesByIdResponse, GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData, GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse, GetApiLocationServiceCountriesNamesData, GetApiLocationServiceCountriesNamesResponse, GetApiLocationServiceCountryCurrenciesData, GetApiLocationServiceCountryCurrenciesResponse, PostApiLocationServiceCountryCurrenciesData, PostApiLocationServiceCountryCurrenciesResponse, GetApiLocationServiceCountryCurrenciesByIdData, GetApiLocationServiceCountryCurrenciesByIdResponse, PutApiLocationServiceCountryCurrenciesByIdData, PutApiLocationServiceCountryCurrenciesByIdResponse, DeleteApiLocationServiceCountryCurrenciesByIdData, DeleteApiLocationServiceCountryCurrenciesByIdResponse, GetApiLocationServiceCountryDatesData, GetApiLocationServiceCountryDatesResponse, PostApiLocationServiceCountryDatesData, PostApiLocationServiceCountryDatesResponse, GetApiLocationServiceCountryDatesByIdData, GetApiLocationServiceCountryDatesByIdResponse, PutApiLocationServiceCountryDatesByIdData, PutApiLocationServiceCountryDatesByIdResponse, DeleteApiLocationServiceCountryDatesByIdData, DeleteApiLocationServiceCountryDatesByIdResponse, GetApiLocationServiceCountryNumbersData, GetApiLocationServiceCountryNumbersResponse, PostApiLocationServiceCountryNumbersData, PostApiLocationServiceCountryNumbersResponse, GetApiLocationServiceCountryNumbersByIdData, GetApiLocationServiceCountryNumbersByIdResponse, PutApiLocationServiceCountryNumbersByIdData, PutApiLocationServiceCountryNumbersByIdResponse, DeleteApiLocationServiceCountryNumbersByIdData, DeleteApiLocationServiceCountryNumbersByIdResponse, GetApiLocationServiceCountryTimesData, GetApiLocationServiceCountryTimesResponse, PostApiLocationServiceCountryTimesData, PostApiLocationServiceCountryTimesResponse, GetApiLocationServiceCountryTimesByIdData, GetApiLocationServiceCountryTimesByIdResponse, PutApiLocationServiceCountryTimesByIdData, PutApiLocationServiceCountryTimesByIdResponse, DeleteApiLocationServiceCountryTimesByIdData, DeleteApiLocationServiceCountryTimesByIdResponse, GetApiLocationServiceDistrictsData, GetApiLocationServiceDistrictsResponse, PostApiLocationServiceDistrictsData, PostApiLocationServiceDistrictsResponse, GetApiLocationServiceDistrictsGetListByCityByCityIdData, GetApiLocationServiceDistrictsGetListByCityByCityIdResponse, GetApiLocationServiceDistrictsByIdData, GetApiLocationServiceDistrictsByIdResponse, PutApiLocationServiceDistrictsByIdData, PutApiLocationServiceDistrictsByIdResponse, DeleteApiLocationServiceDistrictsByIdData, DeleteApiLocationServiceDistrictsByIdResponse, GetApiLocationServiceNeighborhoodsData, GetApiLocationServiceNeighborhoodsResponse, PostApiLocationServiceNeighborhoodsData, PostApiLocationServiceNeighborhoodsResponse, GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData, GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse, GetApiLocationServiceNeighborhoodsByIdData, GetApiLocationServiceNeighborhoodsByIdResponse, PutApiLocationServiceNeighborhoodsByIdData, PutApiLocationServiceNeighborhoodsByIdResponse, DeleteApiLocationServiceNeighborhoodsByIdData, DeleteApiLocationServiceNeighborhoodsByIdResponse, GetApiLocationServiceRegionsData, GetApiLocationServiceRegionsResponse, PostApiLocationServiceRegionsData, PostApiLocationServiceRegionsResponse, GetApiLocationServiceRegionsGetListByCountryByCountryIdData, GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse, GetApiLocationServiceRegionsByIdData, GetApiLocationServiceRegionsByIdResponse, PutApiLocationServiceRegionsByIdData, PutApiLocationServiceRegionsByIdResponse, DeleteApiLocationServiceRegionsByIdData, DeleteApiLocationServiceRegionsByIdResponse, GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData, GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse, GetApiLocationServiceRegionalSettingsData, GetApiLocationServiceRegionalSettingsResponse, PostApiLocationServiceRegionalSettingsData, PostApiLocationServiceRegionalSettingsResponse, GetApiLocationServiceRegionalSettingsByIdData, GetApiLocationServiceRegionalSettingsByIdResponse, PutApiLocationServiceRegionalSettingsByIdData, PutApiLocationServiceRegionalSettingsByIdResponse, DeleteApiLocationServiceRegionalSettingsByIdData, DeleteApiLocationServiceRegionalSettingsByIdResponse } 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 AddressCommonDataService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.id
102
- * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
103
- * @throws ApiError
104
- */
105
- public getApiLocationServiceAddressCommonDataById(data: GetApiLocationServiceAddressCommonDataByIdData): CancelablePromise<GetApiLocationServiceAddressCommonDataByIdResponse> {
106
- return this.httpRequest.request({
107
- method: 'GET',
108
- url: '/api/location-service/address-common-data/{id}',
109
- path: {
110
- id: data.id
111
- },
112
- errors: {
113
- 400: 'Bad Request',
114
- 401: 'Unauthorized',
115
- 403: 'Forbidden',
116
- 404: 'Not Found',
117
- 500: 'Server Error',
118
- 501: 'Server Error'
119
- }
120
- });
121
- }
122
-
123
- /**
124
- * @param data The data for the request.
125
- * @param data.id
126
- * @param data.requestBody
127
- * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
128
- * @throws ApiError
129
- */
130
- public putApiLocationServiceAddressCommonDataById(data: PutApiLocationServiceAddressCommonDataByIdData): CancelablePromise<PutApiLocationServiceAddressCommonDataByIdResponse> {
131
- return this.httpRequest.request({
132
- method: 'PUT',
133
- url: '/api/location-service/address-common-data/{id}',
134
- path: {
135
- id: data.id
136
- },
137
- body: data.requestBody,
138
- mediaType: 'application/json',
139
- errors: {
140
- 400: 'Bad Request',
141
- 401: 'Unauthorized',
142
- 403: 'Forbidden',
143
- 404: 'Not Found',
144
- 500: 'Server Error',
145
- 501: 'Server Error'
146
- }
147
- });
148
- }
149
-
150
- /**
151
- * @param data The data for the request.
152
- * @param data.id
153
- * @returns unknown Success
154
- * @throws ApiError
155
- */
156
- public deleteApiLocationServiceAddressCommonDataById(data: DeleteApiLocationServiceAddressCommonDataByIdData): CancelablePromise<DeleteApiLocationServiceAddressCommonDataByIdResponse> {
157
- return this.httpRequest.request({
158
- method: 'DELETE',
159
- url: '/api/location-service/address-common-data/{id}',
160
- path: {
161
- id: data.id
162
- },
163
- errors: {
164
- 400: 'Bad Request',
165
- 401: 'Unauthorized',
166
- 403: 'Forbidden',
167
- 404: 'Not Found',
168
- 500: 'Server Error',
169
- 501: 'Server Error'
170
- }
171
- });
172
- }
173
-
174
- /**
175
- * @param data The data for the request.
176
- * @param data.sorting
177
- * @param data.skipCount
178
- * @param data.maxResultCount
179
- * @returns PagedResultDto_AddressCommonDataDto Success
180
- * @throws ApiError
181
- */
182
- public getApiLocationServiceAddressCommonData(data: GetApiLocationServiceAddressCommonDataData = {}): CancelablePromise<GetApiLocationServiceAddressCommonDataResponse> {
183
- return this.httpRequest.request({
184
- method: 'GET',
185
- url: '/api/location-service/address-common-data',
186
- query: {
187
- Sorting: data.sorting,
188
- SkipCount: data.skipCount,
189
- MaxResultCount: data.maxResultCount
190
- },
191
- errors: {
192
- 400: 'Bad Request',
193
- 401: 'Unauthorized',
194
- 403: 'Forbidden',
195
- 404: 'Not Found',
196
- 500: 'Server Error',
197
- 501: 'Server Error'
198
- }
199
- });
200
- }
201
-
202
- /**
203
- * @param data The data for the request.
204
- * @param data.requestBody
205
- * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
206
- * @throws ApiError
207
- */
208
- public postApiLocationServiceAddressCommonData(data: PostApiLocationServiceAddressCommonDataData = {}): CancelablePromise<PostApiLocationServiceAddressCommonDataResponse> {
209
- return this.httpRequest.request({
210
- method: 'POST',
211
- url: '/api/location-service/address-common-data',
212
- body: data.requestBody,
213
- mediaType: 'application/json',
214
- errors: {
215
- 400: 'Bad Request',
216
- 401: 'Unauthorized',
217
- 403: 'Forbidden',
218
- 404: 'Not Found',
219
- 500: 'Server Error',
220
- 501: 'Server Error'
221
- }
222
- });
223
- }
224
-
225
- /**
226
- * @param data The data for the request.
227
- * @param data.ids
228
- * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
229
- * @throws ApiError
230
- */
231
- public getApiLocationServiceAddressCommonDataGetListWithIds(data: GetApiLocationServiceAddressCommonDataGetListWithIdsData = {}): CancelablePromise<GetApiLocationServiceAddressCommonDataGetListWithIdsResponse> {
232
- return this.httpRequest.request({
233
- method: 'GET',
234
- url: '/api/location-service/address-common-data/get-list-with-ids',
235
- query: {
236
- ids: data.ids
237
- },
238
- errors: {
239
- 400: 'Bad Request',
240
- 401: 'Unauthorized',
241
- 403: 'Forbidden',
242
- 404: 'Not Found',
243
- 500: 'Server Error',
244
- 501: 'Server Error'
245
- }
246
- });
247
- }
248
-
249
- /**
250
- * @param data The data for the request.
251
- * @param data.id
252
- * @returns boolean Success
253
- * @throws ApiError
254
- */
255
- public getApiLocationServiceAddressCommonDataByIdExist(data: GetApiLocationServiceAddressCommonDataByIdExistData): CancelablePromise<GetApiLocationServiceAddressCommonDataByIdExistResponse> {
256
- return this.httpRequest.request({
257
- method: 'GET',
258
- url: '/api/location-service/address-common-data/{id}/exist',
259
- path: {
260
- id: data.id
261
- },
262
- errors: {
263
- 400: 'Bad Request',
264
- 401: 'Unauthorized',
265
- 403: 'Forbidden',
266
- 404: 'Not Found',
267
- 500: 'Server Error',
268
- 501: 'Server Error'
269
- }
270
- });
271
- }
272
-
273
- /**
274
- * @param data The data for the request.
275
- * @param data.requestBody
276
- * @returns boolean Success
277
- * @throws ApiError
278
- */
279
- public postApiLocationServiceAddressCommonDataExist(data: PostApiLocationServiceAddressCommonDataExistData = {}): CancelablePromise<PostApiLocationServiceAddressCommonDataExistResponse> {
280
- return this.httpRequest.request({
281
- method: 'POST',
282
- url: '/api/location-service/address-common-data/exist',
283
- body: data.requestBody,
284
- mediaType: 'application/json',
285
- errors: {
286
- 400: 'Bad Request',
287
- 401: 'Unauthorized',
288
- 403: 'Forbidden',
289
- 404: 'Not Found',
290
- 500: 'Server Error',
291
- 501: 'Server Error'
292
- }
293
- });
294
- }
295
-
296
- }
297
-
298
- export class CityService {
299
- constructor(public readonly httpRequest: BaseHttpRequest) { }
300
-
301
- /**
302
- * @param data The data for the request.
303
- * @param data.sorting
304
- * @param data.skipCount
305
- * @param data.maxResultCount
306
- * @returns PagedResultDto_CityDto Success
307
- * @throws ApiError
308
- */
309
- public getApiLocationServiceCities(data: GetApiLocationServiceCitiesData = {}): CancelablePromise<GetApiLocationServiceCitiesResponse> {
310
- return this.httpRequest.request({
311
- method: 'GET',
312
- url: '/api/location-service/cities',
313
- query: {
314
- Sorting: data.sorting,
315
- SkipCount: data.skipCount,
316
- MaxResultCount: data.maxResultCount
317
- },
318
- errors: {
319
- 400: 'Bad Request',
320
- 401: 'Unauthorized',
321
- 403: 'Forbidden',
322
- 404: 'Not Found',
323
- 500: 'Server Error',
324
- 501: 'Server Error'
325
- }
326
- });
327
- }
328
-
329
- /**
330
- * @param data The data for the request.
331
- * @param data.requestBody
332
- * @returns UniRefund_LocationService_Cities_CityDto Success
333
- * @throws ApiError
334
- */
335
- public postApiLocationServiceCities(data: PostApiLocationServiceCitiesData = {}): CancelablePromise<PostApiLocationServiceCitiesResponse> {
336
- return this.httpRequest.request({
337
- method: 'POST',
338
- url: '/api/location-service/cities',
339
- body: data.requestBody,
340
- mediaType: 'application/json',
341
- errors: {
342
- 400: 'Bad Request',
343
- 401: 'Unauthorized',
344
- 403: 'Forbidden',
345
- 404: 'Not Found',
346
- 500: 'Server Error',
347
- 501: 'Server Error'
348
- }
349
- });
350
- }
351
-
352
- /**
353
- * @param data The data for the request.
354
- * @param data.regionId
355
- * @returns UniRefund_LocationService_Cities_CityDto Success
356
- * @throws ApiError
357
- */
358
- public getApiLocationServiceCitiesGetListByRegionByRegionId(data: GetApiLocationServiceCitiesGetListByRegionByRegionIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse> {
359
- return this.httpRequest.request({
360
- method: 'GET',
361
- url: '/api/location-service/cities/get-list-by-region/{regionId}',
362
- path: {
363
- regionId: data.regionId
364
- },
365
- errors: {
366
- 400: 'Bad Request',
367
- 401: 'Unauthorized',
368
- 403: 'Forbidden',
369
- 404: 'Not Found',
370
- 500: 'Server Error',
371
- 501: 'Server Error'
372
- }
373
- });
374
- }
375
-
376
- /**
377
- * @param data The data for the request.
378
- * @param data.countryId
379
- * @returns UniRefund_LocationService_Cities_CityDto Success
380
- * @throws ApiError
381
- */
382
- public getApiLocationServiceCitiesGetListByCountryByCountryId(data: GetApiLocationServiceCitiesGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByCountryByCountryIdResponse> {
383
- return this.httpRequest.request({
384
- method: 'GET',
385
- url: '/api/location-service/cities/get-list-by-country/{countryId}',
386
- path: {
387
- countryId: data.countryId
388
- },
389
- errors: {
390
- 400: 'Bad Request',
391
- 401: 'Unauthorized',
392
- 403: 'Forbidden',
393
- 404: 'Not Found',
394
- 500: 'Server Error',
395
- 501: 'Server Error'
396
- }
397
- });
398
- }
399
-
400
- /**
401
- * @param data The data for the request.
402
- * @param data.id
403
- * @returns UniRefund_LocationService_Cities_CityDto Success
404
- * @throws ApiError
405
- */
406
- public getApiLocationServiceCitiesById(data: GetApiLocationServiceCitiesByIdData): CancelablePromise<GetApiLocationServiceCitiesByIdResponse> {
407
- return this.httpRequest.request({
408
- method: 'GET',
409
- url: '/api/location-service/cities/{id}',
410
- path: {
411
- id: data.id
412
- },
413
- errors: {
414
- 400: 'Bad Request',
415
- 401: 'Unauthorized',
416
- 403: 'Forbidden',
417
- 404: 'Not Found',
418
- 500: 'Server Error',
419
- 501: 'Server Error'
420
- }
421
- });
422
- }
423
-
424
- /**
425
- * @param data The data for the request.
426
- * @param data.id
427
- * @param data.requestBody
428
- * @returns UniRefund_LocationService_Cities_CityDto Success
429
- * @throws ApiError
430
- */
431
- public putApiLocationServiceCitiesById(data: PutApiLocationServiceCitiesByIdData): CancelablePromise<PutApiLocationServiceCitiesByIdResponse> {
432
- return this.httpRequest.request({
433
- method: 'PUT',
434
- url: '/api/location-service/cities/{id}',
435
- path: {
436
- id: data.id
437
- },
438
- body: data.requestBody,
439
- mediaType: 'application/json',
440
- errors: {
441
- 400: 'Bad Request',
442
- 401: 'Unauthorized',
443
- 403: 'Forbidden',
444
- 404: 'Not Found',
445
- 500: 'Server Error',
446
- 501: 'Server Error'
447
- }
448
- });
449
- }
450
-
451
- /**
452
- * @param data The data for the request.
453
- * @param data.id
454
- * @returns unknown Success
455
- * @throws ApiError
456
- */
457
- public deleteApiLocationServiceCitiesById(data: DeleteApiLocationServiceCitiesByIdData): CancelablePromise<DeleteApiLocationServiceCitiesByIdResponse> {
458
- return this.httpRequest.request({
459
- method: 'DELETE',
460
- url: '/api/location-service/cities/{id}',
461
- path: {
462
- id: data.id
463
- },
464
- errors: {
465
- 400: 'Bad Request',
466
- 401: 'Unauthorized',
467
- 403: 'Forbidden',
468
- 404: 'Not Found',
469
- 500: 'Server Error',
470
- 501: 'Server Error'
471
- }
472
- });
473
- }
474
-
475
- }
476
-
477
- export class CountryService {
478
- constructor(public readonly httpRequest: BaseHttpRequest) { }
479
-
480
- /**
481
- * @param data The data for the request.
482
- * @param data.sorting
483
- * @param data.skipCount
484
- * @param data.maxResultCount
485
- * @returns PagedResultDto_CountryDto Success
486
- * @throws ApiError
487
- */
488
- public getApiLocationServiceCountries(data: GetApiLocationServiceCountriesData = {}): CancelablePromise<GetApiLocationServiceCountriesResponse> {
489
- return this.httpRequest.request({
490
- method: 'GET',
491
- url: '/api/location-service/countries',
492
- query: {
493
- Sorting: data.sorting,
494
- SkipCount: data.skipCount,
495
- MaxResultCount: data.maxResultCount
496
- },
497
- errors: {
498
- 400: 'Bad Request',
499
- 401: 'Unauthorized',
500
- 403: 'Forbidden',
501
- 404: 'Not Found',
502
- 500: 'Server Error',
503
- 501: 'Server Error'
504
- }
505
- });
506
- }
507
-
508
- /**
509
- * @param data The data for the request.
510
- * @param data.requestBody
511
- * @returns UniRefund_LocationService_Countries_CountryDto Success
512
- * @throws ApiError
513
- */
514
- public postApiLocationServiceCountries(data: PostApiLocationServiceCountriesData = {}): CancelablePromise<PostApiLocationServiceCountriesResponse> {
515
- return this.httpRequest.request({
516
- method: 'POST',
517
- url: '/api/location-service/countries',
518
- body: data.requestBody,
519
- mediaType: 'application/json',
520
- errors: {
521
- 400: 'Bad Request',
522
- 401: 'Unauthorized',
523
- 403: 'Forbidden',
524
- 404: 'Not Found',
525
- 500: 'Server Error',
526
- 501: 'Server Error'
527
- }
528
- });
529
- }
530
-
531
- /**
532
- * @param data The data for the request.
533
- * @param data.id
534
- * @returns UniRefund_LocationService_Countries_CountryDto Success
535
- * @throws ApiError
536
- */
537
- public getApiLocationServiceCountriesById(data: GetApiLocationServiceCountriesByIdData): CancelablePromise<GetApiLocationServiceCountriesByIdResponse> {
538
- return this.httpRequest.request({
539
- method: 'GET',
540
- url: '/api/location-service/countries/{id}',
541
- path: {
542
- id: data.id
543
- },
544
- errors: {
545
- 400: 'Bad Request',
546
- 401: 'Unauthorized',
547
- 403: 'Forbidden',
548
- 404: 'Not Found',
549
- 500: 'Server Error',
550
- 501: 'Server Error'
551
- }
552
- });
553
- }
554
-
555
- /**
556
- * @param data The data for the request.
557
- * @param data.id
558
- * @param data.requestBody
559
- * @returns UniRefund_LocationService_Countries_CountryDto Success
560
- * @throws ApiError
561
- */
562
- public putApiLocationServiceCountriesById(data: PutApiLocationServiceCountriesByIdData): CancelablePromise<PutApiLocationServiceCountriesByIdResponse> {
563
- return this.httpRequest.request({
564
- method: 'PUT',
565
- url: '/api/location-service/countries/{id}',
566
- path: {
567
- id: data.id
568
- },
569
- body: data.requestBody,
570
- mediaType: 'application/json',
571
- errors: {
572
- 400: 'Bad Request',
573
- 401: 'Unauthorized',
574
- 403: 'Forbidden',
575
- 404: 'Not Found',
576
- 500: 'Server Error',
577
- 501: 'Server Error'
578
- }
579
- });
580
- }
581
-
582
- /**
583
- * @param data The data for the request.
584
- * @param data.id
585
- * @returns unknown Success
586
- * @throws ApiError
587
- */
588
- public deleteApiLocationServiceCountriesById(data: DeleteApiLocationServiceCountriesByIdData): CancelablePromise<DeleteApiLocationServiceCountriesByIdResponse> {
589
- return this.httpRequest.request({
590
- method: 'DELETE',
591
- url: '/api/location-service/countries/{id}',
592
- path: {
593
- id: data.id
594
- },
595
- errors: {
596
- 400: 'Bad Request',
597
- 401: 'Unauthorized',
598
- 403: 'Forbidden',
599
- 404: 'Not Found',
600
- 500: 'Server Error',
601
- 501: 'Server Error'
602
- }
603
- });
604
- }
605
-
606
- /**
607
- * @param data The data for the request.
608
- * @param data.countryId
609
- * @returns string Success
610
- * @throws ApiError
611
- */
612
- public getApiLocationServiceCountriesGetNameIfExistsByCountryId(data: GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData): CancelablePromise<GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse> {
613
- return this.httpRequest.request({
614
- method: 'GET',
615
- url: '/api/location-service/countries/get-name-if-exists/{countryId}',
616
- path: {
617
- countryId: data.countryId
618
- },
619
- errors: {
620
- 400: 'Bad Request',
621
- 401: 'Unauthorized',
622
- 403: 'Forbidden',
623
- 404: 'Not Found',
624
- 500: 'Server Error',
625
- 501: 'Server Error'
626
- }
627
- });
628
- }
629
-
630
- /**
631
- * @param data The data for the request.
632
- * @param data.codes
633
- * @returns UniRefund_LocationService_Countries_GetCountryNameDto Success
634
- * @throws ApiError
635
- */
636
- public getApiLocationServiceCountriesNames(data: GetApiLocationServiceCountriesNamesData = {}): CancelablePromise<GetApiLocationServiceCountriesNamesResponse> {
637
- return this.httpRequest.request({
638
- method: 'GET',
639
- url: '/api/location-service/countries/names',
640
- query: {
641
- codes: data.codes
642
- },
643
- errors: {
644
- 400: 'Bad Request',
645
- 401: 'Unauthorized',
646
- 403: 'Forbidden',
647
- 404: 'Not Found',
648
- 500: 'Server Error',
649
- 501: 'Server Error'
650
- }
651
- });
652
- }
653
-
654
- }
655
-
656
- export class CountryCurrencyService {
657
- constructor(public readonly httpRequest: BaseHttpRequest) { }
658
-
659
- /**
660
- * @param data The data for the request.
661
- * @param data.sorting
662
- * @param data.skipCount
663
- * @param data.maxResultCount
664
- * @returns PagedResultDto_CountryCurrencyDto Success
665
- * @throws ApiError
666
- */
667
- public getApiLocationServiceCountryCurrencies(data: GetApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<GetApiLocationServiceCountryCurrenciesResponse> {
668
- return this.httpRequest.request({
669
- method: 'GET',
670
- url: '/api/location-service/country-currencies',
671
- query: {
672
- Sorting: data.sorting,
673
- SkipCount: data.skipCount,
674
- MaxResultCount: data.maxResultCount
675
- },
676
- errors: {
677
- 400: 'Bad Request',
678
- 401: 'Unauthorized',
679
- 403: 'Forbidden',
680
- 404: 'Not Found',
681
- 500: 'Server Error',
682
- 501: 'Server Error'
683
- }
684
- });
685
- }
686
-
687
- /**
688
- * @param data The data for the request.
689
- * @param data.requestBody
690
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
691
- * @throws ApiError
692
- */
693
- public postApiLocationServiceCountryCurrencies(data: PostApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<PostApiLocationServiceCountryCurrenciesResponse> {
694
- return this.httpRequest.request({
695
- method: 'POST',
696
- url: '/api/location-service/country-currencies',
697
- body: data.requestBody,
698
- mediaType: 'application/json',
699
- errors: {
700
- 400: 'Bad Request',
701
- 401: 'Unauthorized',
702
- 403: 'Forbidden',
703
- 404: 'Not Found',
704
- 500: 'Server Error',
705
- 501: 'Server Error'
706
- }
707
- });
708
- }
709
-
710
- /**
711
- * @param data The data for the request.
712
- * @param data.id
713
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
714
- * @throws ApiError
715
- */
716
- public getApiLocationServiceCountryCurrenciesById(data: GetApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<GetApiLocationServiceCountryCurrenciesByIdResponse> {
717
- return this.httpRequest.request({
718
- method: 'GET',
719
- url: '/api/location-service/country-currencies/{id}',
720
- path: {
721
- id: data.id
722
- },
723
- errors: {
724
- 400: 'Bad Request',
725
- 401: 'Unauthorized',
726
- 403: 'Forbidden',
727
- 404: 'Not Found',
728
- 500: 'Server Error',
729
- 501: 'Server Error'
730
- }
731
- });
732
- }
733
-
734
- /**
735
- * @param data The data for the request.
736
- * @param data.id
737
- * @param data.requestBody
738
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
739
- * @throws ApiError
740
- */
741
- public putApiLocationServiceCountryCurrenciesById(data: PutApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<PutApiLocationServiceCountryCurrenciesByIdResponse> {
742
- return this.httpRequest.request({
743
- method: 'PUT',
744
- url: '/api/location-service/country-currencies/{id}',
745
- path: {
746
- id: data.id
747
- },
748
- body: data.requestBody,
749
- mediaType: 'application/json',
750
- errors: {
751
- 400: 'Bad Request',
752
- 401: 'Unauthorized',
753
- 403: 'Forbidden',
754
- 404: 'Not Found',
755
- 500: 'Server Error',
756
- 501: 'Server Error'
757
- }
758
- });
759
- }
760
-
761
- /**
762
- * @param data The data for the request.
763
- * @param data.id
764
- * @returns unknown Success
765
- * @throws ApiError
766
- */
767
- public deleteApiLocationServiceCountryCurrenciesById(data: DeleteApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<DeleteApiLocationServiceCountryCurrenciesByIdResponse> {
768
- return this.httpRequest.request({
769
- method: 'DELETE',
770
- url: '/api/location-service/country-currencies/{id}',
771
- path: {
772
- id: data.id
773
- },
774
- errors: {
775
- 400: 'Bad Request',
776
- 401: 'Unauthorized',
777
- 403: 'Forbidden',
778
- 404: 'Not Found',
779
- 500: 'Server Error',
780
- 501: 'Server Error'
781
- }
782
- });
783
- }
784
-
785
- }
786
-
787
- export class CountryDateService {
788
- constructor(public readonly httpRequest: BaseHttpRequest) { }
789
-
790
- /**
791
- * @param data The data for the request.
792
- * @param data.sorting
793
- * @param data.skipCount
794
- * @param data.maxResultCount
795
- * @returns PagedResultDto_CountryDateDto Success
796
- * @throws ApiError
797
- */
798
- public getApiLocationServiceCountryDates(data: GetApiLocationServiceCountryDatesData = {}): CancelablePromise<GetApiLocationServiceCountryDatesResponse> {
799
- return this.httpRequest.request({
800
- method: 'GET',
801
- url: '/api/location-service/country-dates',
802
- query: {
803
- Sorting: data.sorting,
804
- SkipCount: data.skipCount,
805
- MaxResultCount: data.maxResultCount
806
- },
807
- errors: {
808
- 400: 'Bad Request',
809
- 401: 'Unauthorized',
810
- 403: 'Forbidden',
811
- 404: 'Not Found',
812
- 500: 'Server Error',
813
- 501: 'Server Error'
814
- }
815
- });
816
- }
817
-
818
- /**
819
- * @param data The data for the request.
820
- * @param data.requestBody
821
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
822
- * @throws ApiError
823
- */
824
- public postApiLocationServiceCountryDates(data: PostApiLocationServiceCountryDatesData = {}): CancelablePromise<PostApiLocationServiceCountryDatesResponse> {
825
- return this.httpRequest.request({
826
- method: 'POST',
827
- url: '/api/location-service/country-dates',
828
- body: data.requestBody,
829
- mediaType: 'application/json',
830
- errors: {
831
- 400: 'Bad Request',
832
- 401: 'Unauthorized',
833
- 403: 'Forbidden',
834
- 404: 'Not Found',
835
- 500: 'Server Error',
836
- 501: 'Server Error'
837
- }
838
- });
839
- }
840
-
841
- /**
842
- * @param data The data for the request.
843
- * @param data.id
844
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
845
- * @throws ApiError
846
- */
847
- public getApiLocationServiceCountryDatesById(data: GetApiLocationServiceCountryDatesByIdData): CancelablePromise<GetApiLocationServiceCountryDatesByIdResponse> {
848
- return this.httpRequest.request({
849
- method: 'GET',
850
- url: '/api/location-service/country-dates/{id}',
851
- path: {
852
- id: data.id
853
- },
854
- errors: {
855
- 400: 'Bad Request',
856
- 401: 'Unauthorized',
857
- 403: 'Forbidden',
858
- 404: 'Not Found',
859
- 500: 'Server Error',
860
- 501: 'Server Error'
861
- }
862
- });
863
- }
864
-
865
- /**
866
- * @param data The data for the request.
867
- * @param data.id
868
- * @param data.requestBody
869
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
870
- * @throws ApiError
871
- */
872
- public putApiLocationServiceCountryDatesById(data: PutApiLocationServiceCountryDatesByIdData): CancelablePromise<PutApiLocationServiceCountryDatesByIdResponse> {
873
- return this.httpRequest.request({
874
- method: 'PUT',
875
- url: '/api/location-service/country-dates/{id}',
876
- path: {
877
- id: data.id
878
- },
879
- body: data.requestBody,
880
- mediaType: 'application/json',
881
- errors: {
882
- 400: 'Bad Request',
883
- 401: 'Unauthorized',
884
- 403: 'Forbidden',
885
- 404: 'Not Found',
886
- 500: 'Server Error',
887
- 501: 'Server Error'
888
- }
889
- });
890
- }
891
-
892
- /**
893
- * @param data The data for the request.
894
- * @param data.id
895
- * @returns unknown Success
896
- * @throws ApiError
897
- */
898
- public deleteApiLocationServiceCountryDatesById(data: DeleteApiLocationServiceCountryDatesByIdData): CancelablePromise<DeleteApiLocationServiceCountryDatesByIdResponse> {
899
- return this.httpRequest.request({
900
- method: 'DELETE',
901
- url: '/api/location-service/country-dates/{id}',
902
- path: {
903
- id: data.id
904
- },
905
- errors: {
906
- 400: 'Bad Request',
907
- 401: 'Unauthorized',
908
- 403: 'Forbidden',
909
- 404: 'Not Found',
910
- 500: 'Server Error',
911
- 501: 'Server Error'
912
- }
913
- });
914
- }
915
-
916
- }
917
-
918
- export class CountryNumberService {
919
- constructor(public readonly httpRequest: BaseHttpRequest) { }
920
-
921
- /**
922
- * @param data The data for the request.
923
- * @param data.sorting
924
- * @param data.skipCount
925
- * @param data.maxResultCount
926
- * @returns PagedResultDto_CountryNumberDto Success
927
- * @throws ApiError
928
- */
929
- public getApiLocationServiceCountryNumbers(data: GetApiLocationServiceCountryNumbersData = {}): CancelablePromise<GetApiLocationServiceCountryNumbersResponse> {
930
- return this.httpRequest.request({
931
- method: 'GET',
932
- url: '/api/location-service/country-numbers',
933
- query: {
934
- Sorting: data.sorting,
935
- SkipCount: data.skipCount,
936
- MaxResultCount: data.maxResultCount
937
- },
938
- errors: {
939
- 400: 'Bad Request',
940
- 401: 'Unauthorized',
941
- 403: 'Forbidden',
942
- 404: 'Not Found',
943
- 500: 'Server Error',
944
- 501: 'Server Error'
945
- }
946
- });
947
- }
948
-
949
- /**
950
- * @param data The data for the request.
951
- * @param data.requestBody
952
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
953
- * @throws ApiError
954
- */
955
- public postApiLocationServiceCountryNumbers(data: PostApiLocationServiceCountryNumbersData = {}): CancelablePromise<PostApiLocationServiceCountryNumbersResponse> {
956
- return this.httpRequest.request({
957
- method: 'POST',
958
- url: '/api/location-service/country-numbers',
959
- body: data.requestBody,
960
- mediaType: 'application/json',
961
- errors: {
962
- 400: 'Bad Request',
963
- 401: 'Unauthorized',
964
- 403: 'Forbidden',
965
- 404: 'Not Found',
966
- 500: 'Server Error',
967
- 501: 'Server Error'
968
- }
969
- });
970
- }
971
-
972
- /**
973
- * @param data The data for the request.
974
- * @param data.id
975
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
976
- * @throws ApiError
977
- */
978
- public getApiLocationServiceCountryNumbersById(data: GetApiLocationServiceCountryNumbersByIdData): CancelablePromise<GetApiLocationServiceCountryNumbersByIdResponse> {
979
- return this.httpRequest.request({
980
- method: 'GET',
981
- url: '/api/location-service/country-numbers/{id}',
982
- path: {
983
- id: data.id
984
- },
985
- errors: {
986
- 400: 'Bad Request',
987
- 401: 'Unauthorized',
988
- 403: 'Forbidden',
989
- 404: 'Not Found',
990
- 500: 'Server Error',
991
- 501: 'Server Error'
992
- }
993
- });
994
- }
995
-
996
- /**
997
- * @param data The data for the request.
998
- * @param data.id
999
- * @param data.requestBody
1000
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
1001
- * @throws ApiError
1002
- */
1003
- public putApiLocationServiceCountryNumbersById(data: PutApiLocationServiceCountryNumbersByIdData): CancelablePromise<PutApiLocationServiceCountryNumbersByIdResponse> {
1004
- return this.httpRequest.request({
1005
- method: 'PUT',
1006
- url: '/api/location-service/country-numbers/{id}',
1007
- path: {
1008
- id: data.id
1009
- },
1010
- body: data.requestBody,
1011
- mediaType: 'application/json',
1012
- errors: {
1013
- 400: 'Bad Request',
1014
- 401: 'Unauthorized',
1015
- 403: 'Forbidden',
1016
- 404: 'Not Found',
1017
- 500: 'Server Error',
1018
- 501: 'Server Error'
1019
- }
1020
- });
1021
- }
1022
-
1023
- /**
1024
- * @param data The data for the request.
1025
- * @param data.id
1026
- * @returns unknown Success
1027
- * @throws ApiError
1028
- */
1029
- public deleteApiLocationServiceCountryNumbersById(data: DeleteApiLocationServiceCountryNumbersByIdData): CancelablePromise<DeleteApiLocationServiceCountryNumbersByIdResponse> {
1030
- return this.httpRequest.request({
1031
- method: 'DELETE',
1032
- url: '/api/location-service/country-numbers/{id}',
1033
- path: {
1034
- id: data.id
1035
- },
1036
- errors: {
1037
- 400: 'Bad Request',
1038
- 401: 'Unauthorized',
1039
- 403: 'Forbidden',
1040
- 404: 'Not Found',
1041
- 500: 'Server Error',
1042
- 501: 'Server Error'
1043
- }
1044
- });
1045
- }
1046
-
1047
- }
1048
-
1049
- export class CountryTimeService {
1050
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1051
-
1052
- /**
1053
- * @param data The data for the request.
1054
- * @param data.sorting
1055
- * @param data.skipCount
1056
- * @param data.maxResultCount
1057
- * @returns PagedResultDto_CountryTimeDto Success
1058
- * @throws ApiError
1059
- */
1060
- public getApiLocationServiceCountryTimes(data: GetApiLocationServiceCountryTimesData = {}): CancelablePromise<GetApiLocationServiceCountryTimesResponse> {
1061
- return this.httpRequest.request({
1062
- method: 'GET',
1063
- url: '/api/location-service/country-times',
1064
- query: {
1065
- Sorting: data.sorting,
1066
- SkipCount: data.skipCount,
1067
- MaxResultCount: data.maxResultCount
1068
- },
1069
- errors: {
1070
- 400: 'Bad Request',
1071
- 401: 'Unauthorized',
1072
- 403: 'Forbidden',
1073
- 404: 'Not Found',
1074
- 500: 'Server Error',
1075
- 501: 'Server Error'
1076
- }
1077
- });
1078
- }
1079
-
1080
- /**
1081
- * @param data The data for the request.
1082
- * @param data.requestBody
1083
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1084
- * @throws ApiError
1085
- */
1086
- public postApiLocationServiceCountryTimes(data: PostApiLocationServiceCountryTimesData = {}): CancelablePromise<PostApiLocationServiceCountryTimesResponse> {
1087
- return this.httpRequest.request({
1088
- method: 'POST',
1089
- url: '/api/location-service/country-times',
1090
- body: data.requestBody,
1091
- mediaType: 'application/json',
1092
- errors: {
1093
- 400: 'Bad Request',
1094
- 401: 'Unauthorized',
1095
- 403: 'Forbidden',
1096
- 404: 'Not Found',
1097
- 500: 'Server Error',
1098
- 501: 'Server Error'
1099
- }
1100
- });
1101
- }
1102
-
1103
- /**
1104
- * @param data The data for the request.
1105
- * @param data.id
1106
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1107
- * @throws ApiError
1108
- */
1109
- public getApiLocationServiceCountryTimesById(data: GetApiLocationServiceCountryTimesByIdData): CancelablePromise<GetApiLocationServiceCountryTimesByIdResponse> {
1110
- return this.httpRequest.request({
1111
- method: 'GET',
1112
- url: '/api/location-service/country-times/{id}',
1113
- path: {
1114
- id: data.id
1115
- },
1116
- errors: {
1117
- 400: 'Bad Request',
1118
- 401: 'Unauthorized',
1119
- 403: 'Forbidden',
1120
- 404: 'Not Found',
1121
- 500: 'Server Error',
1122
- 501: 'Server Error'
1123
- }
1124
- });
1125
- }
1126
-
1127
- /**
1128
- * @param data The data for the request.
1129
- * @param data.id
1130
- * @param data.requestBody
1131
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1132
- * @throws ApiError
1133
- */
1134
- public putApiLocationServiceCountryTimesById(data: PutApiLocationServiceCountryTimesByIdData): CancelablePromise<PutApiLocationServiceCountryTimesByIdResponse> {
1135
- return this.httpRequest.request({
1136
- method: 'PUT',
1137
- url: '/api/location-service/country-times/{id}',
1138
- path: {
1139
- id: data.id
1140
- },
1141
- body: data.requestBody,
1142
- mediaType: 'application/json',
1143
- errors: {
1144
- 400: 'Bad Request',
1145
- 401: 'Unauthorized',
1146
- 403: 'Forbidden',
1147
- 404: 'Not Found',
1148
- 500: 'Server Error',
1149
- 501: 'Server Error'
1150
- }
1151
- });
1152
- }
1153
-
1154
- /**
1155
- * @param data The data for the request.
1156
- * @param data.id
1157
- * @returns unknown Success
1158
- * @throws ApiError
1159
- */
1160
- public deleteApiLocationServiceCountryTimesById(data: DeleteApiLocationServiceCountryTimesByIdData): CancelablePromise<DeleteApiLocationServiceCountryTimesByIdResponse> {
1161
- return this.httpRequest.request({
1162
- method: 'DELETE',
1163
- url: '/api/location-service/country-times/{id}',
1164
- path: {
1165
- id: data.id
1166
- },
1167
- errors: {
1168
- 400: 'Bad Request',
1169
- 401: 'Unauthorized',
1170
- 403: 'Forbidden',
1171
- 404: 'Not Found',
1172
- 500: 'Server Error',
1173
- 501: 'Server Error'
1174
- }
1175
- });
1176
- }
1177
-
1178
- }
1179
-
1180
- export class DistrictService {
1181
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1182
-
1183
- /**
1184
- * @param data The data for the request.
1185
- * @param data.sorting
1186
- * @param data.skipCount
1187
- * @param data.maxResultCount
1188
- * @returns PagedResultDto_DistrictDto Success
1189
- * @throws ApiError
1190
- */
1191
- public getApiLocationServiceDistricts(data: GetApiLocationServiceDistrictsData = {}): CancelablePromise<GetApiLocationServiceDistrictsResponse> {
1192
- return this.httpRequest.request({
1193
- method: 'GET',
1194
- url: '/api/location-service/districts',
1195
- query: {
1196
- Sorting: data.sorting,
1197
- SkipCount: data.skipCount,
1198
- MaxResultCount: data.maxResultCount
1199
- },
1200
- errors: {
1201
- 400: 'Bad Request',
1202
- 401: 'Unauthorized',
1203
- 403: 'Forbidden',
1204
- 404: 'Not Found',
1205
- 500: 'Server Error',
1206
- 501: 'Server Error'
1207
- }
1208
- });
1209
- }
1210
-
1211
- /**
1212
- * @param data The data for the request.
1213
- * @param data.requestBody
1214
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1215
- * @throws ApiError
1216
- */
1217
- public postApiLocationServiceDistricts(data: PostApiLocationServiceDistrictsData = {}): CancelablePromise<PostApiLocationServiceDistrictsResponse> {
1218
- return this.httpRequest.request({
1219
- method: 'POST',
1220
- url: '/api/location-service/districts',
1221
- body: data.requestBody,
1222
- mediaType: 'application/json',
1223
- errors: {
1224
- 400: 'Bad Request',
1225
- 401: 'Unauthorized',
1226
- 403: 'Forbidden',
1227
- 404: 'Not Found',
1228
- 500: 'Server Error',
1229
- 501: 'Server Error'
1230
- }
1231
- });
1232
- }
1233
-
1234
- /**
1235
- * @param data The data for the request.
1236
- * @param data.cityId
1237
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1238
- * @throws ApiError
1239
- */
1240
- public getApiLocationServiceDistrictsGetListByCityByCityId(data: GetApiLocationServiceDistrictsGetListByCityByCityIdData): CancelablePromise<GetApiLocationServiceDistrictsGetListByCityByCityIdResponse> {
1241
- return this.httpRequest.request({
1242
- method: 'GET',
1243
- url: '/api/location-service/districts/get-list-by-city/{cityId}',
1244
- path: {
1245
- cityId: data.cityId
1246
- },
1247
- errors: {
1248
- 400: 'Bad Request',
1249
- 401: 'Unauthorized',
1250
- 403: 'Forbidden',
1251
- 404: 'Not Found',
1252
- 500: 'Server Error',
1253
- 501: 'Server Error'
1254
- }
1255
- });
1256
- }
1257
-
1258
- /**
1259
- * @param data The data for the request.
1260
- * @param data.id
1261
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1262
- * @throws ApiError
1263
- */
1264
- public getApiLocationServiceDistrictsById(data: GetApiLocationServiceDistrictsByIdData): CancelablePromise<GetApiLocationServiceDistrictsByIdResponse> {
1265
- return this.httpRequest.request({
1266
- method: 'GET',
1267
- url: '/api/location-service/districts/{id}',
1268
- path: {
1269
- id: data.id
1270
- },
1271
- errors: {
1272
- 400: 'Bad Request',
1273
- 401: 'Unauthorized',
1274
- 403: 'Forbidden',
1275
- 404: 'Not Found',
1276
- 500: 'Server Error',
1277
- 501: 'Server Error'
1278
- }
1279
- });
1280
- }
1281
-
1282
- /**
1283
- * @param data The data for the request.
1284
- * @param data.id
1285
- * @param data.requestBody
1286
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1287
- * @throws ApiError
1288
- */
1289
- public putApiLocationServiceDistrictsById(data: PutApiLocationServiceDistrictsByIdData): CancelablePromise<PutApiLocationServiceDistrictsByIdResponse> {
1290
- return this.httpRequest.request({
1291
- method: 'PUT',
1292
- url: '/api/location-service/districts/{id}',
1293
- path: {
1294
- id: data.id
1295
- },
1296
- body: data.requestBody,
1297
- mediaType: 'application/json',
1298
- errors: {
1299
- 400: 'Bad Request',
1300
- 401: 'Unauthorized',
1301
- 403: 'Forbidden',
1302
- 404: 'Not Found',
1303
- 500: 'Server Error',
1304
- 501: 'Server Error'
1305
- }
1306
- });
1307
- }
1308
-
1309
- /**
1310
- * @param data The data for the request.
1311
- * @param data.id
1312
- * @returns unknown Success
1313
- * @throws ApiError
1314
- */
1315
- public deleteApiLocationServiceDistrictsById(data: DeleteApiLocationServiceDistrictsByIdData): CancelablePromise<DeleteApiLocationServiceDistrictsByIdResponse> {
1316
- return this.httpRequest.request({
1317
- method: 'DELETE',
1318
- url: '/api/location-service/districts/{id}',
1319
- path: {
1320
- id: data.id
1321
- },
1322
- errors: {
1323
- 400: 'Bad Request',
1324
- 401: 'Unauthorized',
1325
- 403: 'Forbidden',
1326
- 404: 'Not Found',
1327
- 500: 'Server Error',
1328
- 501: 'Server Error'
1329
- }
1330
- });
1331
- }
1332
-
1333
- }
1334
-
1335
- export class NeighborhoodService {
1336
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1337
-
1338
- /**
1339
- * @param data The data for the request.
1340
- * @param data.sorting
1341
- * @param data.skipCount
1342
- * @param data.maxResultCount
1343
- * @returns PagedResultDto_NeighborhoodDto Success
1344
- * @throws ApiError
1345
- */
1346
- public getApiLocationServiceNeighborhoods(data: GetApiLocationServiceNeighborhoodsData = {}): CancelablePromise<GetApiLocationServiceNeighborhoodsResponse> {
1347
- return this.httpRequest.request({
1348
- method: 'GET',
1349
- url: '/api/location-service/neighborhoods',
1350
- query: {
1351
- Sorting: data.sorting,
1352
- SkipCount: data.skipCount,
1353
- MaxResultCount: data.maxResultCount
1354
- },
1355
- errors: {
1356
- 400: 'Bad Request',
1357
- 401: 'Unauthorized',
1358
- 403: 'Forbidden',
1359
- 404: 'Not Found',
1360
- 500: 'Server Error',
1361
- 501: 'Server Error'
1362
- }
1363
- });
1364
- }
1365
-
1366
- /**
1367
- * @param data The data for the request.
1368
- * @param data.requestBody
1369
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1370
- * @throws ApiError
1371
- */
1372
- public postApiLocationServiceNeighborhoods(data: PostApiLocationServiceNeighborhoodsData = {}): CancelablePromise<PostApiLocationServiceNeighborhoodsResponse> {
1373
- return this.httpRequest.request({
1374
- method: 'POST',
1375
- url: '/api/location-service/neighborhoods',
1376
- body: data.requestBody,
1377
- mediaType: 'application/json',
1378
- errors: {
1379
- 400: 'Bad Request',
1380
- 401: 'Unauthorized',
1381
- 403: 'Forbidden',
1382
- 404: 'Not Found',
1383
- 500: 'Server Error',
1384
- 501: 'Server Error'
1385
- }
1386
- });
1387
- }
1388
-
1389
- /**
1390
- * @param data The data for the request.
1391
- * @param data.districtId
1392
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1393
- * @throws ApiError
1394
- */
1395
- public getApiLocationServiceNeighborhoodsGetListByDistrictByDistrictId(data: GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse> {
1396
- return this.httpRequest.request({
1397
- method: 'GET',
1398
- url: '/api/location-service/neighborhoods/get-list-by-district/{districtId}',
1399
- path: {
1400
- districtId: data.districtId
1401
- },
1402
- errors: {
1403
- 400: 'Bad Request',
1404
- 401: 'Unauthorized',
1405
- 403: 'Forbidden',
1406
- 404: 'Not Found',
1407
- 500: 'Server Error',
1408
- 501: 'Server Error'
1409
- }
1410
- });
1411
- }
1412
-
1413
- /**
1414
- * @param data The data for the request.
1415
- * @param data.id
1416
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1417
- * @throws ApiError
1418
- */
1419
- public getApiLocationServiceNeighborhoodsById(data: GetApiLocationServiceNeighborhoodsByIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsByIdResponse> {
1420
- return this.httpRequest.request({
1421
- method: 'GET',
1422
- url: '/api/location-service/neighborhoods/{id}',
1423
- path: {
1424
- id: data.id
1425
- },
1426
- errors: {
1427
- 400: 'Bad Request',
1428
- 401: 'Unauthorized',
1429
- 403: 'Forbidden',
1430
- 404: 'Not Found',
1431
- 500: 'Server Error',
1432
- 501: 'Server Error'
1433
- }
1434
- });
1435
- }
1436
-
1437
- /**
1438
- * @param data The data for the request.
1439
- * @param data.id
1440
- * @param data.requestBody
1441
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1442
- * @throws ApiError
1443
- */
1444
- public putApiLocationServiceNeighborhoodsById(data: PutApiLocationServiceNeighborhoodsByIdData): CancelablePromise<PutApiLocationServiceNeighborhoodsByIdResponse> {
1445
- return this.httpRequest.request({
1446
- method: 'PUT',
1447
- url: '/api/location-service/neighborhoods/{id}',
1448
- path: {
1449
- id: data.id
1450
- },
1451
- body: data.requestBody,
1452
- mediaType: 'application/json',
1453
- errors: {
1454
- 400: 'Bad Request',
1455
- 401: 'Unauthorized',
1456
- 403: 'Forbidden',
1457
- 404: 'Not Found',
1458
- 500: 'Server Error',
1459
- 501: 'Server Error'
1460
- }
1461
- });
1462
- }
1463
-
1464
- /**
1465
- * @param data The data for the request.
1466
- * @param data.id
1467
- * @returns unknown Success
1468
- * @throws ApiError
1469
- */
1470
- public deleteApiLocationServiceNeighborhoodsById(data: DeleteApiLocationServiceNeighborhoodsByIdData): CancelablePromise<DeleteApiLocationServiceNeighborhoodsByIdResponse> {
1471
- return this.httpRequest.request({
1472
- method: 'DELETE',
1473
- url: '/api/location-service/neighborhoods/{id}',
1474
- path: {
1475
- id: data.id
1476
- },
1477
- errors: {
1478
- 400: 'Bad Request',
1479
- 401: 'Unauthorized',
1480
- 403: 'Forbidden',
1481
- 404: 'Not Found',
1482
- 500: 'Server Error',
1483
- 501: 'Server Error'
1484
- }
1485
- });
1486
- }
1487
-
1488
- }
1489
-
1490
- export class RegionService {
1491
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1492
-
1493
- /**
1494
- * @param data The data for the request.
1495
- * @param data.sorting
1496
- * @param data.skipCount
1497
- * @param data.maxResultCount
1498
- * @returns PagedResultDto_RegionDto Success
1499
- * @throws ApiError
1500
- */
1501
- public getApiLocationServiceRegions(data: GetApiLocationServiceRegionsData = {}): CancelablePromise<GetApiLocationServiceRegionsResponse> {
1502
- return this.httpRequest.request({
1503
- method: 'GET',
1504
- url: '/api/location-service/regions',
1505
- query: {
1506
- Sorting: data.sorting,
1507
- SkipCount: data.skipCount,
1508
- MaxResultCount: data.maxResultCount
1509
- },
1510
- errors: {
1511
- 400: 'Bad Request',
1512
- 401: 'Unauthorized',
1513
- 403: 'Forbidden',
1514
- 404: 'Not Found',
1515
- 500: 'Server Error',
1516
- 501: 'Server Error'
1517
- }
1518
- });
1519
- }
1520
-
1521
- /**
1522
- * @param data The data for the request.
1523
- * @param data.requestBody
1524
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1525
- * @throws ApiError
1526
- */
1527
- public postApiLocationServiceRegions(data: PostApiLocationServiceRegionsData = {}): CancelablePromise<PostApiLocationServiceRegionsResponse> {
1528
- return this.httpRequest.request({
1529
- method: 'POST',
1530
- url: '/api/location-service/regions',
1531
- body: data.requestBody,
1532
- mediaType: 'application/json',
1533
- errors: {
1534
- 400: 'Bad Request',
1535
- 401: 'Unauthorized',
1536
- 403: 'Forbidden',
1537
- 404: 'Not Found',
1538
- 500: 'Server Error',
1539
- 501: 'Server Error'
1540
- }
1541
- });
1542
- }
1543
-
1544
- /**
1545
- * @param data The data for the request.
1546
- * @param data.countryId
1547
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1548
- * @throws ApiError
1549
- */
1550
- public getApiLocationServiceRegionsGetListByCountryByCountryId(data: GetApiLocationServiceRegionsGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse> {
1551
- return this.httpRequest.request({
1552
- method: 'GET',
1553
- url: '/api/location-service/regions/get-list-by-country/{countryId}',
1554
- path: {
1555
- countryId: data.countryId
1556
- },
1557
- errors: {
1558
- 400: 'Bad Request',
1559
- 401: 'Unauthorized',
1560
- 403: 'Forbidden',
1561
- 404: 'Not Found',
1562
- 500: 'Server Error',
1563
- 501: 'Server Error'
1564
- }
1565
- });
1566
- }
1567
-
1568
- /**
1569
- * @param data The data for the request.
1570
- * @param data.id
1571
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1572
- * @throws ApiError
1573
- */
1574
- public getApiLocationServiceRegionsById(data: GetApiLocationServiceRegionsByIdData): CancelablePromise<GetApiLocationServiceRegionsByIdResponse> {
1575
- return this.httpRequest.request({
1576
- method: 'GET',
1577
- url: '/api/location-service/regions/{id}',
1578
- path: {
1579
- id: data.id
1580
- },
1581
- errors: {
1582
- 400: 'Bad Request',
1583
- 401: 'Unauthorized',
1584
- 403: 'Forbidden',
1585
- 404: 'Not Found',
1586
- 500: 'Server Error',
1587
- 501: 'Server Error'
1588
- }
1589
- });
1590
- }
1591
-
1592
- /**
1593
- * @param data The data for the request.
1594
- * @param data.id
1595
- * @param data.requestBody
1596
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1597
- * @throws ApiError
1598
- */
1599
- public putApiLocationServiceRegionsById(data: PutApiLocationServiceRegionsByIdData): CancelablePromise<PutApiLocationServiceRegionsByIdResponse> {
1600
- return this.httpRequest.request({
1601
- method: 'PUT',
1602
- url: '/api/location-service/regions/{id}',
1603
- path: {
1604
- id: data.id
1605
- },
1606
- body: data.requestBody,
1607
- mediaType: 'application/json',
1608
- errors: {
1609
- 400: 'Bad Request',
1610
- 401: 'Unauthorized',
1611
- 403: 'Forbidden',
1612
- 404: 'Not Found',
1613
- 500: 'Server Error',
1614
- 501: 'Server Error'
1615
- }
1616
- });
1617
- }
1618
-
1619
- /**
1620
- * @param data The data for the request.
1621
- * @param data.id
1622
- * @returns unknown Success
1623
- * @throws ApiError
1624
- */
1625
- public deleteApiLocationServiceRegionsById(data: DeleteApiLocationServiceRegionsByIdData): CancelablePromise<DeleteApiLocationServiceRegionsByIdResponse> {
1626
- return this.httpRequest.request({
1627
- method: 'DELETE',
1628
- url: '/api/location-service/regions/{id}',
1629
- path: {
1630
- id: data.id
1631
- },
1632
- errors: {
1633
- 400: 'Bad Request',
1634
- 401: 'Unauthorized',
1635
- 403: 'Forbidden',
1636
- 404: 'Not Found',
1637
- 500: 'Server Error',
1638
- 501: 'Server Error'
1639
- }
1640
- });
1641
- }
1642
-
1643
- /**
1644
- * @param data The data for the request.
1645
- * @param data.countryId
1646
- * @returns string Success
1647
- * @throws ApiError
1648
- */
1649
- public getApiLocationServiceRegionsGetDefaultRegionIdByCountryId(data: GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse> {
1650
- return this.httpRequest.request({
1651
- method: 'GET',
1652
- url: '/api/location-service/regions/get-default-regionId/{countryId}',
1653
- path: {
1654
- countryId: data.countryId
1655
- },
1656
- errors: {
1657
- 400: 'Bad Request',
1658
- 401: 'Unauthorized',
1659
- 403: 'Forbidden',
1660
- 404: 'Not Found',
1661
- 500: 'Server Error',
1662
- 501: 'Server Error'
1663
- }
1664
- });
1665
- }
1666
-
1667
- }
1668
-
1669
- export class RegionalSettingService {
1670
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1671
-
1672
- /**
1673
- * @param data The data for the request.
1674
- * @param data.sorting
1675
- * @param data.skipCount
1676
- * @param data.maxResultCount
1677
- * @returns PagedResultDto_RegionalSettingDto Success
1678
- * @throws ApiError
1679
- */
1680
- public getApiLocationServiceRegionalSettings(data: GetApiLocationServiceRegionalSettingsData = {}): CancelablePromise<GetApiLocationServiceRegionalSettingsResponse> {
1681
- return this.httpRequest.request({
1682
- method: 'GET',
1683
- url: '/api/location-service/regionalSettings',
1684
- query: {
1685
- Sorting: data.sorting,
1686
- SkipCount: data.skipCount,
1687
- MaxResultCount: data.maxResultCount
1688
- },
1689
- errors: {
1690
- 400: 'Bad Request',
1691
- 401: 'Unauthorized',
1692
- 403: 'Forbidden',
1693
- 404: 'Not Found',
1694
- 500: 'Server Error',
1695
- 501: 'Server Error'
1696
- }
1697
- });
1698
- }
1699
-
1700
- /**
1701
- * @param data The data for the request.
1702
- * @param data.requestBody
1703
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1704
- * @throws ApiError
1705
- */
1706
- public postApiLocationServiceRegionalSettings(data: PostApiLocationServiceRegionalSettingsData = {}): CancelablePromise<PostApiLocationServiceRegionalSettingsResponse> {
1707
- return this.httpRequest.request({
1708
- method: 'POST',
1709
- url: '/api/location-service/regionalSettings',
1710
- body: data.requestBody,
1711
- mediaType: 'application/json',
1712
- errors: {
1713
- 400: 'Bad Request',
1714
- 401: 'Unauthorized',
1715
- 403: 'Forbidden',
1716
- 404: 'Not Found',
1717
- 500: 'Server Error',
1718
- 501: 'Server Error'
1719
- }
1720
- });
1721
- }
1722
-
1723
- /**
1724
- * @param data The data for the request.
1725
- * @param data.id
1726
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1727
- * @throws ApiError
1728
- */
1729
- public getApiLocationServiceRegionalSettingsById(data: GetApiLocationServiceRegionalSettingsByIdData): CancelablePromise<GetApiLocationServiceRegionalSettingsByIdResponse> {
1730
- return this.httpRequest.request({
1731
- method: 'GET',
1732
- url: '/api/location-service/regionalSettings/{id}',
1733
- path: {
1734
- id: data.id
1735
- },
1736
- errors: {
1737
- 400: 'Bad Request',
1738
- 401: 'Unauthorized',
1739
- 403: 'Forbidden',
1740
- 404: 'Not Found',
1741
- 500: 'Server Error',
1742
- 501: 'Server Error'
1743
- }
1744
- });
1745
- }
1746
-
1747
- /**
1748
- * @param data The data for the request.
1749
- * @param data.id
1750
- * @param data.requestBody
1751
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1752
- * @throws ApiError
1753
- */
1754
- public putApiLocationServiceRegionalSettingsById(data: PutApiLocationServiceRegionalSettingsByIdData): CancelablePromise<PutApiLocationServiceRegionalSettingsByIdResponse> {
1755
- return this.httpRequest.request({
1756
- method: 'PUT',
1757
- url: '/api/location-service/regionalSettings/{id}',
1758
- path: {
1759
- id: data.id
1760
- },
1761
- body: data.requestBody,
1762
- mediaType: 'application/json',
1763
- errors: {
1764
- 400: 'Bad Request',
1765
- 401: 'Unauthorized',
1766
- 403: 'Forbidden',
1767
- 404: 'Not Found',
1768
- 500: 'Server Error',
1769
- 501: 'Server Error'
1770
- }
1771
- });
1772
- }
1773
-
1774
- /**
1775
- * @param data The data for the request.
1776
- * @param data.id
1777
- * @returns unknown Success
1778
- * @throws ApiError
1779
- */
1780
- public deleteApiLocationServiceRegionalSettingsById(data: DeleteApiLocationServiceRegionalSettingsByIdData): CancelablePromise<DeleteApiLocationServiceRegionalSettingsByIdResponse> {
1781
- return this.httpRequest.request({
1782
- method: 'DELETE',
1783
- url: '/api/location-service/regionalSettings/{id}',
1784
- path: {
1785
- id: data.id
1786
- },
1787
- errors: {
1788
- 400: 'Bad Request',
1789
- 401: 'Unauthorized',
1790
- 403: 'Forbidden',
1791
- 404: 'Not Found',
1792
- 500: 'Server Error',
1793
- 501: 'Server Error'
1794
- }
1795
- });
1796
- }
1797
-
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, GetApiLocationServiceAddressCommonDataByIdData, GetApiLocationServiceAddressCommonDataByIdResponse, PutApiLocationServiceAddressCommonDataByIdData, PutApiLocationServiceAddressCommonDataByIdResponse, DeleteApiLocationServiceAddressCommonDataByIdData, DeleteApiLocationServiceAddressCommonDataByIdResponse, GetApiLocationServiceAddressCommonDataData, GetApiLocationServiceAddressCommonDataResponse, PostApiLocationServiceAddressCommonDataData, PostApiLocationServiceAddressCommonDataResponse, GetApiLocationServiceAddressCommonDataGetListWithIdsData, GetApiLocationServiceAddressCommonDataGetListWithIdsResponse, GetApiLocationServiceAddressCommonDataByIdExistData, GetApiLocationServiceAddressCommonDataByIdExistResponse, PostApiLocationServiceAddressCommonDataExistData, PostApiLocationServiceAddressCommonDataExistResponse, GetApiLocationServiceCitiesData, GetApiLocationServiceCitiesResponse, PostApiLocationServiceCitiesData, PostApiLocationServiceCitiesResponse, GetApiLocationServiceCitiesGetListByRegionByRegionIdData, GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse, GetApiLocationServiceCitiesGetListByCountryByCountryIdData, GetApiLocationServiceCitiesGetListByCountryByCountryIdResponse, GetApiLocationServiceCitiesByIdData, GetApiLocationServiceCitiesByIdResponse, PutApiLocationServiceCitiesByIdData, PutApiLocationServiceCitiesByIdResponse, DeleteApiLocationServiceCitiesByIdData, DeleteApiLocationServiceCitiesByIdResponse, GetApiLocationServiceCountriesData, GetApiLocationServiceCountriesResponse, PostApiLocationServiceCountriesData, PostApiLocationServiceCountriesResponse, GetApiLocationServiceCountriesByIdData, GetApiLocationServiceCountriesByIdResponse, PutApiLocationServiceCountriesByIdData, PutApiLocationServiceCountriesByIdResponse, DeleteApiLocationServiceCountriesByIdData, DeleteApiLocationServiceCountriesByIdResponse, GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData, GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse, GetApiLocationServiceCountriesNamesData, GetApiLocationServiceCountriesNamesResponse, GetApiLocationServiceCountryCurrenciesData, GetApiLocationServiceCountryCurrenciesResponse, PostApiLocationServiceCountryCurrenciesData, PostApiLocationServiceCountryCurrenciesResponse, GetApiLocationServiceCountryCurrenciesByIdData, GetApiLocationServiceCountryCurrenciesByIdResponse, PutApiLocationServiceCountryCurrenciesByIdData, PutApiLocationServiceCountryCurrenciesByIdResponse, DeleteApiLocationServiceCountryCurrenciesByIdData, DeleteApiLocationServiceCountryCurrenciesByIdResponse, GetApiLocationServiceCountryDatesData, GetApiLocationServiceCountryDatesResponse, PostApiLocationServiceCountryDatesData, PostApiLocationServiceCountryDatesResponse, GetApiLocationServiceCountryDatesByIdData, GetApiLocationServiceCountryDatesByIdResponse, PutApiLocationServiceCountryDatesByIdData, PutApiLocationServiceCountryDatesByIdResponse, DeleteApiLocationServiceCountryDatesByIdData, DeleteApiLocationServiceCountryDatesByIdResponse, GetApiLocationServiceCountryNumbersData, GetApiLocationServiceCountryNumbersResponse, PostApiLocationServiceCountryNumbersData, PostApiLocationServiceCountryNumbersResponse, GetApiLocationServiceCountryNumbersByIdData, GetApiLocationServiceCountryNumbersByIdResponse, PutApiLocationServiceCountryNumbersByIdData, PutApiLocationServiceCountryNumbersByIdResponse, DeleteApiLocationServiceCountryNumbersByIdData, DeleteApiLocationServiceCountryNumbersByIdResponse, GetApiLocationServiceCountryTimesData, GetApiLocationServiceCountryTimesResponse, PostApiLocationServiceCountryTimesData, PostApiLocationServiceCountryTimesResponse, GetApiLocationServiceCountryTimesByIdData, GetApiLocationServiceCountryTimesByIdResponse, PutApiLocationServiceCountryTimesByIdData, PutApiLocationServiceCountryTimesByIdResponse, DeleteApiLocationServiceCountryTimesByIdData, DeleteApiLocationServiceCountryTimesByIdResponse, GetApiLocationServiceDistrictsData, GetApiLocationServiceDistrictsResponse, PostApiLocationServiceDistrictsData, PostApiLocationServiceDistrictsResponse, GetApiLocationServiceDistrictsGetListByCityByCityIdData, GetApiLocationServiceDistrictsGetListByCityByCityIdResponse, GetApiLocationServiceDistrictsByIdData, GetApiLocationServiceDistrictsByIdResponse, PutApiLocationServiceDistrictsByIdData, PutApiLocationServiceDistrictsByIdResponse, DeleteApiLocationServiceDistrictsByIdData, DeleteApiLocationServiceDistrictsByIdResponse, GetApiLocationServiceNeighborhoodsData, GetApiLocationServiceNeighborhoodsResponse, PostApiLocationServiceNeighborhoodsData, PostApiLocationServiceNeighborhoodsResponse, GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData, GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse, GetApiLocationServiceNeighborhoodsByIdData, GetApiLocationServiceNeighborhoodsByIdResponse, PutApiLocationServiceNeighborhoodsByIdData, PutApiLocationServiceNeighborhoodsByIdResponse, DeleteApiLocationServiceNeighborhoodsByIdData, DeleteApiLocationServiceNeighborhoodsByIdResponse, GetApiLocationServiceRegionsData, GetApiLocationServiceRegionsResponse, PostApiLocationServiceRegionsData, PostApiLocationServiceRegionsResponse, GetApiLocationServiceRegionsGetListByCountryByCountryIdData, GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse, GetApiLocationServiceRegionsByIdData, GetApiLocationServiceRegionsByIdResponse, PutApiLocationServiceRegionsByIdData, PutApiLocationServiceRegionsByIdResponse, DeleteApiLocationServiceRegionsByIdData, DeleteApiLocationServiceRegionsByIdResponse, GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData, GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse, GetApiLocationServiceRegionalSettingsData, GetApiLocationServiceRegionalSettingsResponse, PostApiLocationServiceRegionalSettingsData, PostApiLocationServiceRegionalSettingsResponse, GetApiLocationServiceRegionalSettingsByIdData, GetApiLocationServiceRegionalSettingsByIdResponse, PutApiLocationServiceRegionalSettingsByIdData, PutApiLocationServiceRegionalSettingsByIdResponse, DeleteApiLocationServiceRegionalSettingsByIdData, DeleteApiLocationServiceRegionalSettingsByIdResponse } 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 AddressCommonDataService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.id
102
+ * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
103
+ * @throws ApiError
104
+ */
105
+ public getApiLocationServiceAddressCommonDataById(data: GetApiLocationServiceAddressCommonDataByIdData): CancelablePromise<GetApiLocationServiceAddressCommonDataByIdResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'GET',
108
+ url: '/api/location-service/address-common-data/{id}',
109
+ path: {
110
+ id: data.id
111
+ },
112
+ errors: {
113
+ 400: 'Bad Request',
114
+ 401: 'Unauthorized',
115
+ 403: 'Forbidden',
116
+ 404: 'Not Found',
117
+ 500: 'Server Error',
118
+ 501: 'Server Error'
119
+ }
120
+ });
121
+ }
122
+
123
+ /**
124
+ * @param data The data for the request.
125
+ * @param data.id
126
+ * @param data.requestBody
127
+ * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
128
+ * @throws ApiError
129
+ */
130
+ public putApiLocationServiceAddressCommonDataById(data: PutApiLocationServiceAddressCommonDataByIdData): CancelablePromise<PutApiLocationServiceAddressCommonDataByIdResponse> {
131
+ return this.httpRequest.request({
132
+ method: 'PUT',
133
+ url: '/api/location-service/address-common-data/{id}',
134
+ path: {
135
+ id: data.id
136
+ },
137
+ body: data.requestBody,
138
+ mediaType: 'application/json',
139
+ errors: {
140
+ 400: 'Bad Request',
141
+ 401: 'Unauthorized',
142
+ 403: 'Forbidden',
143
+ 404: 'Not Found',
144
+ 500: 'Server Error',
145
+ 501: 'Server Error'
146
+ }
147
+ });
148
+ }
149
+
150
+ /**
151
+ * @param data The data for the request.
152
+ * @param data.id
153
+ * @returns unknown Success
154
+ * @throws ApiError
155
+ */
156
+ public deleteApiLocationServiceAddressCommonDataById(data: DeleteApiLocationServiceAddressCommonDataByIdData): CancelablePromise<DeleteApiLocationServiceAddressCommonDataByIdResponse> {
157
+ return this.httpRequest.request({
158
+ method: 'DELETE',
159
+ url: '/api/location-service/address-common-data/{id}',
160
+ path: {
161
+ id: data.id
162
+ },
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.sorting
177
+ * @param data.skipCount
178
+ * @param data.maxResultCount
179
+ * @returns PagedResultDto_AddressCommonDataDto Success
180
+ * @throws ApiError
181
+ */
182
+ public getApiLocationServiceAddressCommonData(data: GetApiLocationServiceAddressCommonDataData = {}): CancelablePromise<GetApiLocationServiceAddressCommonDataResponse> {
183
+ return this.httpRequest.request({
184
+ method: 'GET',
185
+ url: '/api/location-service/address-common-data',
186
+ query: {
187
+ Sorting: data.sorting,
188
+ SkipCount: data.skipCount,
189
+ MaxResultCount: data.maxResultCount
190
+ },
191
+ errors: {
192
+ 400: 'Bad Request',
193
+ 401: 'Unauthorized',
194
+ 403: 'Forbidden',
195
+ 404: 'Not Found',
196
+ 500: 'Server Error',
197
+ 501: 'Server Error'
198
+ }
199
+ });
200
+ }
201
+
202
+ /**
203
+ * @param data The data for the request.
204
+ * @param data.requestBody
205
+ * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
206
+ * @throws ApiError
207
+ */
208
+ public postApiLocationServiceAddressCommonData(data: PostApiLocationServiceAddressCommonDataData = {}): CancelablePromise<PostApiLocationServiceAddressCommonDataResponse> {
209
+ return this.httpRequest.request({
210
+ method: 'POST',
211
+ url: '/api/location-service/address-common-data',
212
+ body: data.requestBody,
213
+ mediaType: 'application/json',
214
+ errors: {
215
+ 400: 'Bad Request',
216
+ 401: 'Unauthorized',
217
+ 403: 'Forbidden',
218
+ 404: 'Not Found',
219
+ 500: 'Server Error',
220
+ 501: 'Server Error'
221
+ }
222
+ });
223
+ }
224
+
225
+ /**
226
+ * @param data The data for the request.
227
+ * @param data.ids
228
+ * @returns UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto Success
229
+ * @throws ApiError
230
+ */
231
+ public getApiLocationServiceAddressCommonDataGetListWithIds(data: GetApiLocationServiceAddressCommonDataGetListWithIdsData = {}): CancelablePromise<GetApiLocationServiceAddressCommonDataGetListWithIdsResponse> {
232
+ return this.httpRequest.request({
233
+ method: 'GET',
234
+ url: '/api/location-service/address-common-data/get-list-with-ids',
235
+ query: {
236
+ ids: data.ids
237
+ },
238
+ errors: {
239
+ 400: 'Bad Request',
240
+ 401: 'Unauthorized',
241
+ 403: 'Forbidden',
242
+ 404: 'Not Found',
243
+ 500: 'Server Error',
244
+ 501: 'Server Error'
245
+ }
246
+ });
247
+ }
248
+
249
+ /**
250
+ * @param data The data for the request.
251
+ * @param data.id
252
+ * @returns boolean Success
253
+ * @throws ApiError
254
+ */
255
+ public getApiLocationServiceAddressCommonDataByIdExist(data: GetApiLocationServiceAddressCommonDataByIdExistData): CancelablePromise<GetApiLocationServiceAddressCommonDataByIdExistResponse> {
256
+ return this.httpRequest.request({
257
+ method: 'GET',
258
+ url: '/api/location-service/address-common-data/{id}/exist',
259
+ path: {
260
+ id: data.id
261
+ },
262
+ errors: {
263
+ 400: 'Bad Request',
264
+ 401: 'Unauthorized',
265
+ 403: 'Forbidden',
266
+ 404: 'Not Found',
267
+ 500: 'Server Error',
268
+ 501: 'Server Error'
269
+ }
270
+ });
271
+ }
272
+
273
+ /**
274
+ * @param data The data for the request.
275
+ * @param data.requestBody
276
+ * @returns boolean Success
277
+ * @throws ApiError
278
+ */
279
+ public postApiLocationServiceAddressCommonDataExist(data: PostApiLocationServiceAddressCommonDataExistData = {}): CancelablePromise<PostApiLocationServiceAddressCommonDataExistResponse> {
280
+ return this.httpRequest.request({
281
+ method: 'POST',
282
+ url: '/api/location-service/address-common-data/exist',
283
+ body: data.requestBody,
284
+ mediaType: 'application/json',
285
+ errors: {
286
+ 400: 'Bad Request',
287
+ 401: 'Unauthorized',
288
+ 403: 'Forbidden',
289
+ 404: 'Not Found',
290
+ 500: 'Server Error',
291
+ 501: 'Server Error'
292
+ }
293
+ });
294
+ }
295
+
296
+ }
297
+
298
+ export class CityService {
299
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
300
+
301
+ /**
302
+ * @param data The data for the request.
303
+ * @param data.sorting
304
+ * @param data.skipCount
305
+ * @param data.maxResultCount
306
+ * @returns PagedResultDto_CityDto Success
307
+ * @throws ApiError
308
+ */
309
+ public getApiLocationServiceCities(data: GetApiLocationServiceCitiesData = {}): CancelablePromise<GetApiLocationServiceCitiesResponse> {
310
+ return this.httpRequest.request({
311
+ method: 'GET',
312
+ url: '/api/location-service/cities',
313
+ query: {
314
+ Sorting: data.sorting,
315
+ SkipCount: data.skipCount,
316
+ MaxResultCount: data.maxResultCount
317
+ },
318
+ errors: {
319
+ 400: 'Bad Request',
320
+ 401: 'Unauthorized',
321
+ 403: 'Forbidden',
322
+ 404: 'Not Found',
323
+ 500: 'Server Error',
324
+ 501: 'Server Error'
325
+ }
326
+ });
327
+ }
328
+
329
+ /**
330
+ * @param data The data for the request.
331
+ * @param data.requestBody
332
+ * @returns UniRefund_LocationService_Cities_CityDto Success
333
+ * @throws ApiError
334
+ */
335
+ public postApiLocationServiceCities(data: PostApiLocationServiceCitiesData = {}): CancelablePromise<PostApiLocationServiceCitiesResponse> {
336
+ return this.httpRequest.request({
337
+ method: 'POST',
338
+ url: '/api/location-service/cities',
339
+ body: data.requestBody,
340
+ mediaType: 'application/json',
341
+ errors: {
342
+ 400: 'Bad Request',
343
+ 401: 'Unauthorized',
344
+ 403: 'Forbidden',
345
+ 404: 'Not Found',
346
+ 500: 'Server Error',
347
+ 501: 'Server Error'
348
+ }
349
+ });
350
+ }
351
+
352
+ /**
353
+ * @param data The data for the request.
354
+ * @param data.regionId
355
+ * @returns UniRefund_LocationService_Cities_CityDto Success
356
+ * @throws ApiError
357
+ */
358
+ public getApiLocationServiceCitiesGetListByRegionByRegionId(data: GetApiLocationServiceCitiesGetListByRegionByRegionIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse> {
359
+ return this.httpRequest.request({
360
+ method: 'GET',
361
+ url: '/api/location-service/cities/get-list-by-region/{regionId}',
362
+ path: {
363
+ regionId: data.regionId
364
+ },
365
+ errors: {
366
+ 400: 'Bad Request',
367
+ 401: 'Unauthorized',
368
+ 403: 'Forbidden',
369
+ 404: 'Not Found',
370
+ 500: 'Server Error',
371
+ 501: 'Server Error'
372
+ }
373
+ });
374
+ }
375
+
376
+ /**
377
+ * @param data The data for the request.
378
+ * @param data.countryId
379
+ * @returns UniRefund_LocationService_Cities_CityDto Success
380
+ * @throws ApiError
381
+ */
382
+ public getApiLocationServiceCitiesGetListByCountryByCountryId(data: GetApiLocationServiceCitiesGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByCountryByCountryIdResponse> {
383
+ return this.httpRequest.request({
384
+ method: 'GET',
385
+ url: '/api/location-service/cities/get-list-by-country/{countryId}',
386
+ path: {
387
+ countryId: data.countryId
388
+ },
389
+ errors: {
390
+ 400: 'Bad Request',
391
+ 401: 'Unauthorized',
392
+ 403: 'Forbidden',
393
+ 404: 'Not Found',
394
+ 500: 'Server Error',
395
+ 501: 'Server Error'
396
+ }
397
+ });
398
+ }
399
+
400
+ /**
401
+ * @param data The data for the request.
402
+ * @param data.id
403
+ * @returns UniRefund_LocationService_Cities_CityDto Success
404
+ * @throws ApiError
405
+ */
406
+ public getApiLocationServiceCitiesById(data: GetApiLocationServiceCitiesByIdData): CancelablePromise<GetApiLocationServiceCitiesByIdResponse> {
407
+ return this.httpRequest.request({
408
+ method: 'GET',
409
+ url: '/api/location-service/cities/{id}',
410
+ path: {
411
+ id: data.id
412
+ },
413
+ errors: {
414
+ 400: 'Bad Request',
415
+ 401: 'Unauthorized',
416
+ 403: 'Forbidden',
417
+ 404: 'Not Found',
418
+ 500: 'Server Error',
419
+ 501: 'Server Error'
420
+ }
421
+ });
422
+ }
423
+
424
+ /**
425
+ * @param data The data for the request.
426
+ * @param data.id
427
+ * @param data.requestBody
428
+ * @returns UniRefund_LocationService_Cities_CityDto Success
429
+ * @throws ApiError
430
+ */
431
+ public putApiLocationServiceCitiesById(data: PutApiLocationServiceCitiesByIdData): CancelablePromise<PutApiLocationServiceCitiesByIdResponse> {
432
+ return this.httpRequest.request({
433
+ method: 'PUT',
434
+ url: '/api/location-service/cities/{id}',
435
+ path: {
436
+ id: data.id
437
+ },
438
+ body: data.requestBody,
439
+ mediaType: 'application/json',
440
+ errors: {
441
+ 400: 'Bad Request',
442
+ 401: 'Unauthorized',
443
+ 403: 'Forbidden',
444
+ 404: 'Not Found',
445
+ 500: 'Server Error',
446
+ 501: 'Server Error'
447
+ }
448
+ });
449
+ }
450
+
451
+ /**
452
+ * @param data The data for the request.
453
+ * @param data.id
454
+ * @returns unknown Success
455
+ * @throws ApiError
456
+ */
457
+ public deleteApiLocationServiceCitiesById(data: DeleteApiLocationServiceCitiesByIdData): CancelablePromise<DeleteApiLocationServiceCitiesByIdResponse> {
458
+ return this.httpRequest.request({
459
+ method: 'DELETE',
460
+ url: '/api/location-service/cities/{id}',
461
+ path: {
462
+ id: data.id
463
+ },
464
+ errors: {
465
+ 400: 'Bad Request',
466
+ 401: 'Unauthorized',
467
+ 403: 'Forbidden',
468
+ 404: 'Not Found',
469
+ 500: 'Server Error',
470
+ 501: 'Server Error'
471
+ }
472
+ });
473
+ }
474
+
475
+ }
476
+
477
+ export class CountryService {
478
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
479
+
480
+ /**
481
+ * @param data The data for the request.
482
+ * @param data.sorting
483
+ * @param data.skipCount
484
+ * @param data.maxResultCount
485
+ * @returns PagedResultDto_CountryDto Success
486
+ * @throws ApiError
487
+ */
488
+ public getApiLocationServiceCountries(data: GetApiLocationServiceCountriesData = {}): CancelablePromise<GetApiLocationServiceCountriesResponse> {
489
+ return this.httpRequest.request({
490
+ method: 'GET',
491
+ url: '/api/location-service/countries',
492
+ query: {
493
+ Sorting: data.sorting,
494
+ SkipCount: data.skipCount,
495
+ MaxResultCount: data.maxResultCount
496
+ },
497
+ errors: {
498
+ 400: 'Bad Request',
499
+ 401: 'Unauthorized',
500
+ 403: 'Forbidden',
501
+ 404: 'Not Found',
502
+ 500: 'Server Error',
503
+ 501: 'Server Error'
504
+ }
505
+ });
506
+ }
507
+
508
+ /**
509
+ * @param data The data for the request.
510
+ * @param data.requestBody
511
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
512
+ * @throws ApiError
513
+ */
514
+ public postApiLocationServiceCountries(data: PostApiLocationServiceCountriesData = {}): CancelablePromise<PostApiLocationServiceCountriesResponse> {
515
+ return this.httpRequest.request({
516
+ method: 'POST',
517
+ url: '/api/location-service/countries',
518
+ body: data.requestBody,
519
+ mediaType: 'application/json',
520
+ errors: {
521
+ 400: 'Bad Request',
522
+ 401: 'Unauthorized',
523
+ 403: 'Forbidden',
524
+ 404: 'Not Found',
525
+ 500: 'Server Error',
526
+ 501: 'Server Error'
527
+ }
528
+ });
529
+ }
530
+
531
+ /**
532
+ * @param data The data for the request.
533
+ * @param data.id
534
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
535
+ * @throws ApiError
536
+ */
537
+ public getApiLocationServiceCountriesById(data: GetApiLocationServiceCountriesByIdData): CancelablePromise<GetApiLocationServiceCountriesByIdResponse> {
538
+ return this.httpRequest.request({
539
+ method: 'GET',
540
+ url: '/api/location-service/countries/{id}',
541
+ path: {
542
+ id: data.id
543
+ },
544
+ errors: {
545
+ 400: 'Bad Request',
546
+ 401: 'Unauthorized',
547
+ 403: 'Forbidden',
548
+ 404: 'Not Found',
549
+ 500: 'Server Error',
550
+ 501: 'Server Error'
551
+ }
552
+ });
553
+ }
554
+
555
+ /**
556
+ * @param data The data for the request.
557
+ * @param data.id
558
+ * @param data.requestBody
559
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
560
+ * @throws ApiError
561
+ */
562
+ public putApiLocationServiceCountriesById(data: PutApiLocationServiceCountriesByIdData): CancelablePromise<PutApiLocationServiceCountriesByIdResponse> {
563
+ return this.httpRequest.request({
564
+ method: 'PUT',
565
+ url: '/api/location-service/countries/{id}',
566
+ path: {
567
+ id: data.id
568
+ },
569
+ body: data.requestBody,
570
+ mediaType: 'application/json',
571
+ errors: {
572
+ 400: 'Bad Request',
573
+ 401: 'Unauthorized',
574
+ 403: 'Forbidden',
575
+ 404: 'Not Found',
576
+ 500: 'Server Error',
577
+ 501: 'Server Error'
578
+ }
579
+ });
580
+ }
581
+
582
+ /**
583
+ * @param data The data for the request.
584
+ * @param data.id
585
+ * @returns unknown Success
586
+ * @throws ApiError
587
+ */
588
+ public deleteApiLocationServiceCountriesById(data: DeleteApiLocationServiceCountriesByIdData): CancelablePromise<DeleteApiLocationServiceCountriesByIdResponse> {
589
+ return this.httpRequest.request({
590
+ method: 'DELETE',
591
+ url: '/api/location-service/countries/{id}',
592
+ path: {
593
+ id: data.id
594
+ },
595
+ errors: {
596
+ 400: 'Bad Request',
597
+ 401: 'Unauthorized',
598
+ 403: 'Forbidden',
599
+ 404: 'Not Found',
600
+ 500: 'Server Error',
601
+ 501: 'Server Error'
602
+ }
603
+ });
604
+ }
605
+
606
+ /**
607
+ * @param data The data for the request.
608
+ * @param data.countryId
609
+ * @returns string Success
610
+ * @throws ApiError
611
+ */
612
+ public getApiLocationServiceCountriesGetNameIfExistsByCountryId(data: GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData): CancelablePromise<GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse> {
613
+ return this.httpRequest.request({
614
+ method: 'GET',
615
+ url: '/api/location-service/countries/get-name-if-exists/{countryId}',
616
+ path: {
617
+ countryId: data.countryId
618
+ },
619
+ errors: {
620
+ 400: 'Bad Request',
621
+ 401: 'Unauthorized',
622
+ 403: 'Forbidden',
623
+ 404: 'Not Found',
624
+ 500: 'Server Error',
625
+ 501: 'Server Error'
626
+ }
627
+ });
628
+ }
629
+
630
+ /**
631
+ * @param data The data for the request.
632
+ * @param data.codes
633
+ * @returns UniRefund_LocationService_Countries_GetCountryNameDto Success
634
+ * @throws ApiError
635
+ */
636
+ public getApiLocationServiceCountriesNames(data: GetApiLocationServiceCountriesNamesData = {}): CancelablePromise<GetApiLocationServiceCountriesNamesResponse> {
637
+ return this.httpRequest.request({
638
+ method: 'GET',
639
+ url: '/api/location-service/countries/names',
640
+ query: {
641
+ codes: data.codes
642
+ },
643
+ errors: {
644
+ 400: 'Bad Request',
645
+ 401: 'Unauthorized',
646
+ 403: 'Forbidden',
647
+ 404: 'Not Found',
648
+ 500: 'Server Error',
649
+ 501: 'Server Error'
650
+ }
651
+ });
652
+ }
653
+
654
+ }
655
+
656
+ export class CountryCurrencyService {
657
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
658
+
659
+ /**
660
+ * @param data The data for the request.
661
+ * @param data.sorting
662
+ * @param data.skipCount
663
+ * @param data.maxResultCount
664
+ * @returns PagedResultDto_CountryCurrencyDto Success
665
+ * @throws ApiError
666
+ */
667
+ public getApiLocationServiceCountryCurrencies(data: GetApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<GetApiLocationServiceCountryCurrenciesResponse> {
668
+ return this.httpRequest.request({
669
+ method: 'GET',
670
+ url: '/api/location-service/country-currencies',
671
+ query: {
672
+ Sorting: data.sorting,
673
+ SkipCount: data.skipCount,
674
+ MaxResultCount: data.maxResultCount
675
+ },
676
+ errors: {
677
+ 400: 'Bad Request',
678
+ 401: 'Unauthorized',
679
+ 403: 'Forbidden',
680
+ 404: 'Not Found',
681
+ 500: 'Server Error',
682
+ 501: 'Server Error'
683
+ }
684
+ });
685
+ }
686
+
687
+ /**
688
+ * @param data The data for the request.
689
+ * @param data.requestBody
690
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
691
+ * @throws ApiError
692
+ */
693
+ public postApiLocationServiceCountryCurrencies(data: PostApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<PostApiLocationServiceCountryCurrenciesResponse> {
694
+ return this.httpRequest.request({
695
+ method: 'POST',
696
+ url: '/api/location-service/country-currencies',
697
+ body: data.requestBody,
698
+ mediaType: 'application/json',
699
+ errors: {
700
+ 400: 'Bad Request',
701
+ 401: 'Unauthorized',
702
+ 403: 'Forbidden',
703
+ 404: 'Not Found',
704
+ 500: 'Server Error',
705
+ 501: 'Server Error'
706
+ }
707
+ });
708
+ }
709
+
710
+ /**
711
+ * @param data The data for the request.
712
+ * @param data.id
713
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
714
+ * @throws ApiError
715
+ */
716
+ public getApiLocationServiceCountryCurrenciesById(data: GetApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<GetApiLocationServiceCountryCurrenciesByIdResponse> {
717
+ return this.httpRequest.request({
718
+ method: 'GET',
719
+ url: '/api/location-service/country-currencies/{id}',
720
+ path: {
721
+ id: data.id
722
+ },
723
+ errors: {
724
+ 400: 'Bad Request',
725
+ 401: 'Unauthorized',
726
+ 403: 'Forbidden',
727
+ 404: 'Not Found',
728
+ 500: 'Server Error',
729
+ 501: 'Server Error'
730
+ }
731
+ });
732
+ }
733
+
734
+ /**
735
+ * @param data The data for the request.
736
+ * @param data.id
737
+ * @param data.requestBody
738
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
739
+ * @throws ApiError
740
+ */
741
+ public putApiLocationServiceCountryCurrenciesById(data: PutApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<PutApiLocationServiceCountryCurrenciesByIdResponse> {
742
+ return this.httpRequest.request({
743
+ method: 'PUT',
744
+ url: '/api/location-service/country-currencies/{id}',
745
+ path: {
746
+ id: data.id
747
+ },
748
+ body: data.requestBody,
749
+ mediaType: 'application/json',
750
+ errors: {
751
+ 400: 'Bad Request',
752
+ 401: 'Unauthorized',
753
+ 403: 'Forbidden',
754
+ 404: 'Not Found',
755
+ 500: 'Server Error',
756
+ 501: 'Server Error'
757
+ }
758
+ });
759
+ }
760
+
761
+ /**
762
+ * @param data The data for the request.
763
+ * @param data.id
764
+ * @returns unknown Success
765
+ * @throws ApiError
766
+ */
767
+ public deleteApiLocationServiceCountryCurrenciesById(data: DeleteApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<DeleteApiLocationServiceCountryCurrenciesByIdResponse> {
768
+ return this.httpRequest.request({
769
+ method: 'DELETE',
770
+ url: '/api/location-service/country-currencies/{id}',
771
+ path: {
772
+ id: data.id
773
+ },
774
+ errors: {
775
+ 400: 'Bad Request',
776
+ 401: 'Unauthorized',
777
+ 403: 'Forbidden',
778
+ 404: 'Not Found',
779
+ 500: 'Server Error',
780
+ 501: 'Server Error'
781
+ }
782
+ });
783
+ }
784
+
785
+ }
786
+
787
+ export class CountryDateService {
788
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
789
+
790
+ /**
791
+ * @param data The data for the request.
792
+ * @param data.sorting
793
+ * @param data.skipCount
794
+ * @param data.maxResultCount
795
+ * @returns PagedResultDto_CountryDateDto Success
796
+ * @throws ApiError
797
+ */
798
+ public getApiLocationServiceCountryDates(data: GetApiLocationServiceCountryDatesData = {}): CancelablePromise<GetApiLocationServiceCountryDatesResponse> {
799
+ return this.httpRequest.request({
800
+ method: 'GET',
801
+ url: '/api/location-service/country-dates',
802
+ query: {
803
+ Sorting: data.sorting,
804
+ SkipCount: data.skipCount,
805
+ MaxResultCount: data.maxResultCount
806
+ },
807
+ errors: {
808
+ 400: 'Bad Request',
809
+ 401: 'Unauthorized',
810
+ 403: 'Forbidden',
811
+ 404: 'Not Found',
812
+ 500: 'Server Error',
813
+ 501: 'Server Error'
814
+ }
815
+ });
816
+ }
817
+
818
+ /**
819
+ * @param data The data for the request.
820
+ * @param data.requestBody
821
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
822
+ * @throws ApiError
823
+ */
824
+ public postApiLocationServiceCountryDates(data: PostApiLocationServiceCountryDatesData = {}): CancelablePromise<PostApiLocationServiceCountryDatesResponse> {
825
+ return this.httpRequest.request({
826
+ method: 'POST',
827
+ url: '/api/location-service/country-dates',
828
+ body: data.requestBody,
829
+ mediaType: 'application/json',
830
+ errors: {
831
+ 400: 'Bad Request',
832
+ 401: 'Unauthorized',
833
+ 403: 'Forbidden',
834
+ 404: 'Not Found',
835
+ 500: 'Server Error',
836
+ 501: 'Server Error'
837
+ }
838
+ });
839
+ }
840
+
841
+ /**
842
+ * @param data The data for the request.
843
+ * @param data.id
844
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
845
+ * @throws ApiError
846
+ */
847
+ public getApiLocationServiceCountryDatesById(data: GetApiLocationServiceCountryDatesByIdData): CancelablePromise<GetApiLocationServiceCountryDatesByIdResponse> {
848
+ return this.httpRequest.request({
849
+ method: 'GET',
850
+ url: '/api/location-service/country-dates/{id}',
851
+ path: {
852
+ id: data.id
853
+ },
854
+ errors: {
855
+ 400: 'Bad Request',
856
+ 401: 'Unauthorized',
857
+ 403: 'Forbidden',
858
+ 404: 'Not Found',
859
+ 500: 'Server Error',
860
+ 501: 'Server Error'
861
+ }
862
+ });
863
+ }
864
+
865
+ /**
866
+ * @param data The data for the request.
867
+ * @param data.id
868
+ * @param data.requestBody
869
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
870
+ * @throws ApiError
871
+ */
872
+ public putApiLocationServiceCountryDatesById(data: PutApiLocationServiceCountryDatesByIdData): CancelablePromise<PutApiLocationServiceCountryDatesByIdResponse> {
873
+ return this.httpRequest.request({
874
+ method: 'PUT',
875
+ url: '/api/location-service/country-dates/{id}',
876
+ path: {
877
+ id: data.id
878
+ },
879
+ body: data.requestBody,
880
+ mediaType: 'application/json',
881
+ errors: {
882
+ 400: 'Bad Request',
883
+ 401: 'Unauthorized',
884
+ 403: 'Forbidden',
885
+ 404: 'Not Found',
886
+ 500: 'Server Error',
887
+ 501: 'Server Error'
888
+ }
889
+ });
890
+ }
891
+
892
+ /**
893
+ * @param data The data for the request.
894
+ * @param data.id
895
+ * @returns unknown Success
896
+ * @throws ApiError
897
+ */
898
+ public deleteApiLocationServiceCountryDatesById(data: DeleteApiLocationServiceCountryDatesByIdData): CancelablePromise<DeleteApiLocationServiceCountryDatesByIdResponse> {
899
+ return this.httpRequest.request({
900
+ method: 'DELETE',
901
+ url: '/api/location-service/country-dates/{id}',
902
+ path: {
903
+ id: data.id
904
+ },
905
+ errors: {
906
+ 400: 'Bad Request',
907
+ 401: 'Unauthorized',
908
+ 403: 'Forbidden',
909
+ 404: 'Not Found',
910
+ 500: 'Server Error',
911
+ 501: 'Server Error'
912
+ }
913
+ });
914
+ }
915
+
916
+ }
917
+
918
+ export class CountryNumberService {
919
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
920
+
921
+ /**
922
+ * @param data The data for the request.
923
+ * @param data.sorting
924
+ * @param data.skipCount
925
+ * @param data.maxResultCount
926
+ * @returns PagedResultDto_CountryNumberDto Success
927
+ * @throws ApiError
928
+ */
929
+ public getApiLocationServiceCountryNumbers(data: GetApiLocationServiceCountryNumbersData = {}): CancelablePromise<GetApiLocationServiceCountryNumbersResponse> {
930
+ return this.httpRequest.request({
931
+ method: 'GET',
932
+ url: '/api/location-service/country-numbers',
933
+ query: {
934
+ Sorting: data.sorting,
935
+ SkipCount: data.skipCount,
936
+ MaxResultCount: data.maxResultCount
937
+ },
938
+ errors: {
939
+ 400: 'Bad Request',
940
+ 401: 'Unauthorized',
941
+ 403: 'Forbidden',
942
+ 404: 'Not Found',
943
+ 500: 'Server Error',
944
+ 501: 'Server Error'
945
+ }
946
+ });
947
+ }
948
+
949
+ /**
950
+ * @param data The data for the request.
951
+ * @param data.requestBody
952
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
953
+ * @throws ApiError
954
+ */
955
+ public postApiLocationServiceCountryNumbers(data: PostApiLocationServiceCountryNumbersData = {}): CancelablePromise<PostApiLocationServiceCountryNumbersResponse> {
956
+ return this.httpRequest.request({
957
+ method: 'POST',
958
+ url: '/api/location-service/country-numbers',
959
+ body: data.requestBody,
960
+ mediaType: 'application/json',
961
+ errors: {
962
+ 400: 'Bad Request',
963
+ 401: 'Unauthorized',
964
+ 403: 'Forbidden',
965
+ 404: 'Not Found',
966
+ 500: 'Server Error',
967
+ 501: 'Server Error'
968
+ }
969
+ });
970
+ }
971
+
972
+ /**
973
+ * @param data The data for the request.
974
+ * @param data.id
975
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
976
+ * @throws ApiError
977
+ */
978
+ public getApiLocationServiceCountryNumbersById(data: GetApiLocationServiceCountryNumbersByIdData): CancelablePromise<GetApiLocationServiceCountryNumbersByIdResponse> {
979
+ return this.httpRequest.request({
980
+ method: 'GET',
981
+ url: '/api/location-service/country-numbers/{id}',
982
+ path: {
983
+ id: data.id
984
+ },
985
+ errors: {
986
+ 400: 'Bad Request',
987
+ 401: 'Unauthorized',
988
+ 403: 'Forbidden',
989
+ 404: 'Not Found',
990
+ 500: 'Server Error',
991
+ 501: 'Server Error'
992
+ }
993
+ });
994
+ }
995
+
996
+ /**
997
+ * @param data The data for the request.
998
+ * @param data.id
999
+ * @param data.requestBody
1000
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
1001
+ * @throws ApiError
1002
+ */
1003
+ public putApiLocationServiceCountryNumbersById(data: PutApiLocationServiceCountryNumbersByIdData): CancelablePromise<PutApiLocationServiceCountryNumbersByIdResponse> {
1004
+ return this.httpRequest.request({
1005
+ method: 'PUT',
1006
+ url: '/api/location-service/country-numbers/{id}',
1007
+ path: {
1008
+ id: data.id
1009
+ },
1010
+ body: data.requestBody,
1011
+ mediaType: 'application/json',
1012
+ errors: {
1013
+ 400: 'Bad Request',
1014
+ 401: 'Unauthorized',
1015
+ 403: 'Forbidden',
1016
+ 404: 'Not Found',
1017
+ 500: 'Server Error',
1018
+ 501: 'Server Error'
1019
+ }
1020
+ });
1021
+ }
1022
+
1023
+ /**
1024
+ * @param data The data for the request.
1025
+ * @param data.id
1026
+ * @returns unknown Success
1027
+ * @throws ApiError
1028
+ */
1029
+ public deleteApiLocationServiceCountryNumbersById(data: DeleteApiLocationServiceCountryNumbersByIdData): CancelablePromise<DeleteApiLocationServiceCountryNumbersByIdResponse> {
1030
+ return this.httpRequest.request({
1031
+ method: 'DELETE',
1032
+ url: '/api/location-service/country-numbers/{id}',
1033
+ path: {
1034
+ id: data.id
1035
+ },
1036
+ errors: {
1037
+ 400: 'Bad Request',
1038
+ 401: 'Unauthorized',
1039
+ 403: 'Forbidden',
1040
+ 404: 'Not Found',
1041
+ 500: 'Server Error',
1042
+ 501: 'Server Error'
1043
+ }
1044
+ });
1045
+ }
1046
+
1047
+ }
1048
+
1049
+ export class CountryTimeService {
1050
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1051
+
1052
+ /**
1053
+ * @param data The data for the request.
1054
+ * @param data.sorting
1055
+ * @param data.skipCount
1056
+ * @param data.maxResultCount
1057
+ * @returns PagedResultDto_CountryTimeDto Success
1058
+ * @throws ApiError
1059
+ */
1060
+ public getApiLocationServiceCountryTimes(data: GetApiLocationServiceCountryTimesData = {}): CancelablePromise<GetApiLocationServiceCountryTimesResponse> {
1061
+ return this.httpRequest.request({
1062
+ method: 'GET',
1063
+ url: '/api/location-service/country-times',
1064
+ query: {
1065
+ Sorting: data.sorting,
1066
+ SkipCount: data.skipCount,
1067
+ MaxResultCount: data.maxResultCount
1068
+ },
1069
+ errors: {
1070
+ 400: 'Bad Request',
1071
+ 401: 'Unauthorized',
1072
+ 403: 'Forbidden',
1073
+ 404: 'Not Found',
1074
+ 500: 'Server Error',
1075
+ 501: 'Server Error'
1076
+ }
1077
+ });
1078
+ }
1079
+
1080
+ /**
1081
+ * @param data The data for the request.
1082
+ * @param data.requestBody
1083
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1084
+ * @throws ApiError
1085
+ */
1086
+ public postApiLocationServiceCountryTimes(data: PostApiLocationServiceCountryTimesData = {}): CancelablePromise<PostApiLocationServiceCountryTimesResponse> {
1087
+ return this.httpRequest.request({
1088
+ method: 'POST',
1089
+ url: '/api/location-service/country-times',
1090
+ body: data.requestBody,
1091
+ mediaType: 'application/json',
1092
+ errors: {
1093
+ 400: 'Bad Request',
1094
+ 401: 'Unauthorized',
1095
+ 403: 'Forbidden',
1096
+ 404: 'Not Found',
1097
+ 500: 'Server Error',
1098
+ 501: 'Server Error'
1099
+ }
1100
+ });
1101
+ }
1102
+
1103
+ /**
1104
+ * @param data The data for the request.
1105
+ * @param data.id
1106
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1107
+ * @throws ApiError
1108
+ */
1109
+ public getApiLocationServiceCountryTimesById(data: GetApiLocationServiceCountryTimesByIdData): CancelablePromise<GetApiLocationServiceCountryTimesByIdResponse> {
1110
+ return this.httpRequest.request({
1111
+ method: 'GET',
1112
+ url: '/api/location-service/country-times/{id}',
1113
+ path: {
1114
+ id: data.id
1115
+ },
1116
+ errors: {
1117
+ 400: 'Bad Request',
1118
+ 401: 'Unauthorized',
1119
+ 403: 'Forbidden',
1120
+ 404: 'Not Found',
1121
+ 500: 'Server Error',
1122
+ 501: 'Server Error'
1123
+ }
1124
+ });
1125
+ }
1126
+
1127
+ /**
1128
+ * @param data The data for the request.
1129
+ * @param data.id
1130
+ * @param data.requestBody
1131
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1132
+ * @throws ApiError
1133
+ */
1134
+ public putApiLocationServiceCountryTimesById(data: PutApiLocationServiceCountryTimesByIdData): CancelablePromise<PutApiLocationServiceCountryTimesByIdResponse> {
1135
+ return this.httpRequest.request({
1136
+ method: 'PUT',
1137
+ url: '/api/location-service/country-times/{id}',
1138
+ path: {
1139
+ id: data.id
1140
+ },
1141
+ body: data.requestBody,
1142
+ mediaType: 'application/json',
1143
+ errors: {
1144
+ 400: 'Bad Request',
1145
+ 401: 'Unauthorized',
1146
+ 403: 'Forbidden',
1147
+ 404: 'Not Found',
1148
+ 500: 'Server Error',
1149
+ 501: 'Server Error'
1150
+ }
1151
+ });
1152
+ }
1153
+
1154
+ /**
1155
+ * @param data The data for the request.
1156
+ * @param data.id
1157
+ * @returns unknown Success
1158
+ * @throws ApiError
1159
+ */
1160
+ public deleteApiLocationServiceCountryTimesById(data: DeleteApiLocationServiceCountryTimesByIdData): CancelablePromise<DeleteApiLocationServiceCountryTimesByIdResponse> {
1161
+ return this.httpRequest.request({
1162
+ method: 'DELETE',
1163
+ url: '/api/location-service/country-times/{id}',
1164
+ path: {
1165
+ id: data.id
1166
+ },
1167
+ errors: {
1168
+ 400: 'Bad Request',
1169
+ 401: 'Unauthorized',
1170
+ 403: 'Forbidden',
1171
+ 404: 'Not Found',
1172
+ 500: 'Server Error',
1173
+ 501: 'Server Error'
1174
+ }
1175
+ });
1176
+ }
1177
+
1178
+ }
1179
+
1180
+ export class DistrictService {
1181
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1182
+
1183
+ /**
1184
+ * @param data The data for the request.
1185
+ * @param data.sorting
1186
+ * @param data.skipCount
1187
+ * @param data.maxResultCount
1188
+ * @returns PagedResultDto_DistrictDto Success
1189
+ * @throws ApiError
1190
+ */
1191
+ public getApiLocationServiceDistricts(data: GetApiLocationServiceDistrictsData = {}): CancelablePromise<GetApiLocationServiceDistrictsResponse> {
1192
+ return this.httpRequest.request({
1193
+ method: 'GET',
1194
+ url: '/api/location-service/districts',
1195
+ query: {
1196
+ Sorting: data.sorting,
1197
+ SkipCount: data.skipCount,
1198
+ MaxResultCount: data.maxResultCount
1199
+ },
1200
+ errors: {
1201
+ 400: 'Bad Request',
1202
+ 401: 'Unauthorized',
1203
+ 403: 'Forbidden',
1204
+ 404: 'Not Found',
1205
+ 500: 'Server Error',
1206
+ 501: 'Server Error'
1207
+ }
1208
+ });
1209
+ }
1210
+
1211
+ /**
1212
+ * @param data The data for the request.
1213
+ * @param data.requestBody
1214
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1215
+ * @throws ApiError
1216
+ */
1217
+ public postApiLocationServiceDistricts(data: PostApiLocationServiceDistrictsData = {}): CancelablePromise<PostApiLocationServiceDistrictsResponse> {
1218
+ return this.httpRequest.request({
1219
+ method: 'POST',
1220
+ url: '/api/location-service/districts',
1221
+ body: data.requestBody,
1222
+ mediaType: 'application/json',
1223
+ errors: {
1224
+ 400: 'Bad Request',
1225
+ 401: 'Unauthorized',
1226
+ 403: 'Forbidden',
1227
+ 404: 'Not Found',
1228
+ 500: 'Server Error',
1229
+ 501: 'Server Error'
1230
+ }
1231
+ });
1232
+ }
1233
+
1234
+ /**
1235
+ * @param data The data for the request.
1236
+ * @param data.cityId
1237
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1238
+ * @throws ApiError
1239
+ */
1240
+ public getApiLocationServiceDistrictsGetListByCityByCityId(data: GetApiLocationServiceDistrictsGetListByCityByCityIdData): CancelablePromise<GetApiLocationServiceDistrictsGetListByCityByCityIdResponse> {
1241
+ return this.httpRequest.request({
1242
+ method: 'GET',
1243
+ url: '/api/location-service/districts/get-list-by-city/{cityId}',
1244
+ path: {
1245
+ cityId: data.cityId
1246
+ },
1247
+ errors: {
1248
+ 400: 'Bad Request',
1249
+ 401: 'Unauthorized',
1250
+ 403: 'Forbidden',
1251
+ 404: 'Not Found',
1252
+ 500: 'Server Error',
1253
+ 501: 'Server Error'
1254
+ }
1255
+ });
1256
+ }
1257
+
1258
+ /**
1259
+ * @param data The data for the request.
1260
+ * @param data.id
1261
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1262
+ * @throws ApiError
1263
+ */
1264
+ public getApiLocationServiceDistrictsById(data: GetApiLocationServiceDistrictsByIdData): CancelablePromise<GetApiLocationServiceDistrictsByIdResponse> {
1265
+ return this.httpRequest.request({
1266
+ method: 'GET',
1267
+ url: '/api/location-service/districts/{id}',
1268
+ path: {
1269
+ id: data.id
1270
+ },
1271
+ errors: {
1272
+ 400: 'Bad Request',
1273
+ 401: 'Unauthorized',
1274
+ 403: 'Forbidden',
1275
+ 404: 'Not Found',
1276
+ 500: 'Server Error',
1277
+ 501: 'Server Error'
1278
+ }
1279
+ });
1280
+ }
1281
+
1282
+ /**
1283
+ * @param data The data for the request.
1284
+ * @param data.id
1285
+ * @param data.requestBody
1286
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1287
+ * @throws ApiError
1288
+ */
1289
+ public putApiLocationServiceDistrictsById(data: PutApiLocationServiceDistrictsByIdData): CancelablePromise<PutApiLocationServiceDistrictsByIdResponse> {
1290
+ return this.httpRequest.request({
1291
+ method: 'PUT',
1292
+ url: '/api/location-service/districts/{id}',
1293
+ path: {
1294
+ id: data.id
1295
+ },
1296
+ body: data.requestBody,
1297
+ mediaType: 'application/json',
1298
+ errors: {
1299
+ 400: 'Bad Request',
1300
+ 401: 'Unauthorized',
1301
+ 403: 'Forbidden',
1302
+ 404: 'Not Found',
1303
+ 500: 'Server Error',
1304
+ 501: 'Server Error'
1305
+ }
1306
+ });
1307
+ }
1308
+
1309
+ /**
1310
+ * @param data The data for the request.
1311
+ * @param data.id
1312
+ * @returns unknown Success
1313
+ * @throws ApiError
1314
+ */
1315
+ public deleteApiLocationServiceDistrictsById(data: DeleteApiLocationServiceDistrictsByIdData): CancelablePromise<DeleteApiLocationServiceDistrictsByIdResponse> {
1316
+ return this.httpRequest.request({
1317
+ method: 'DELETE',
1318
+ url: '/api/location-service/districts/{id}',
1319
+ path: {
1320
+ id: data.id
1321
+ },
1322
+ errors: {
1323
+ 400: 'Bad Request',
1324
+ 401: 'Unauthorized',
1325
+ 403: 'Forbidden',
1326
+ 404: 'Not Found',
1327
+ 500: 'Server Error',
1328
+ 501: 'Server Error'
1329
+ }
1330
+ });
1331
+ }
1332
+
1333
+ }
1334
+
1335
+ export class NeighborhoodService {
1336
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1337
+
1338
+ /**
1339
+ * @param data The data for the request.
1340
+ * @param data.sorting
1341
+ * @param data.skipCount
1342
+ * @param data.maxResultCount
1343
+ * @returns PagedResultDto_NeighborhoodDto Success
1344
+ * @throws ApiError
1345
+ */
1346
+ public getApiLocationServiceNeighborhoods(data: GetApiLocationServiceNeighborhoodsData = {}): CancelablePromise<GetApiLocationServiceNeighborhoodsResponse> {
1347
+ return this.httpRequest.request({
1348
+ method: 'GET',
1349
+ url: '/api/location-service/neighborhoods',
1350
+ query: {
1351
+ Sorting: data.sorting,
1352
+ SkipCount: data.skipCount,
1353
+ MaxResultCount: data.maxResultCount
1354
+ },
1355
+ errors: {
1356
+ 400: 'Bad Request',
1357
+ 401: 'Unauthorized',
1358
+ 403: 'Forbidden',
1359
+ 404: 'Not Found',
1360
+ 500: 'Server Error',
1361
+ 501: 'Server Error'
1362
+ }
1363
+ });
1364
+ }
1365
+
1366
+ /**
1367
+ * @param data The data for the request.
1368
+ * @param data.requestBody
1369
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1370
+ * @throws ApiError
1371
+ */
1372
+ public postApiLocationServiceNeighborhoods(data: PostApiLocationServiceNeighborhoodsData = {}): CancelablePromise<PostApiLocationServiceNeighborhoodsResponse> {
1373
+ return this.httpRequest.request({
1374
+ method: 'POST',
1375
+ url: '/api/location-service/neighborhoods',
1376
+ body: data.requestBody,
1377
+ mediaType: 'application/json',
1378
+ errors: {
1379
+ 400: 'Bad Request',
1380
+ 401: 'Unauthorized',
1381
+ 403: 'Forbidden',
1382
+ 404: 'Not Found',
1383
+ 500: 'Server Error',
1384
+ 501: 'Server Error'
1385
+ }
1386
+ });
1387
+ }
1388
+
1389
+ /**
1390
+ * @param data The data for the request.
1391
+ * @param data.districtId
1392
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1393
+ * @throws ApiError
1394
+ */
1395
+ public getApiLocationServiceNeighborhoodsGetListByDistrictByDistrictId(data: GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse> {
1396
+ return this.httpRequest.request({
1397
+ method: 'GET',
1398
+ url: '/api/location-service/neighborhoods/get-list-by-district/{districtId}',
1399
+ path: {
1400
+ districtId: data.districtId
1401
+ },
1402
+ errors: {
1403
+ 400: 'Bad Request',
1404
+ 401: 'Unauthorized',
1405
+ 403: 'Forbidden',
1406
+ 404: 'Not Found',
1407
+ 500: 'Server Error',
1408
+ 501: 'Server Error'
1409
+ }
1410
+ });
1411
+ }
1412
+
1413
+ /**
1414
+ * @param data The data for the request.
1415
+ * @param data.id
1416
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1417
+ * @throws ApiError
1418
+ */
1419
+ public getApiLocationServiceNeighborhoodsById(data: GetApiLocationServiceNeighborhoodsByIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsByIdResponse> {
1420
+ return this.httpRequest.request({
1421
+ method: 'GET',
1422
+ url: '/api/location-service/neighborhoods/{id}',
1423
+ path: {
1424
+ id: data.id
1425
+ },
1426
+ errors: {
1427
+ 400: 'Bad Request',
1428
+ 401: 'Unauthorized',
1429
+ 403: 'Forbidden',
1430
+ 404: 'Not Found',
1431
+ 500: 'Server Error',
1432
+ 501: 'Server Error'
1433
+ }
1434
+ });
1435
+ }
1436
+
1437
+ /**
1438
+ * @param data The data for the request.
1439
+ * @param data.id
1440
+ * @param data.requestBody
1441
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1442
+ * @throws ApiError
1443
+ */
1444
+ public putApiLocationServiceNeighborhoodsById(data: PutApiLocationServiceNeighborhoodsByIdData): CancelablePromise<PutApiLocationServiceNeighborhoodsByIdResponse> {
1445
+ return this.httpRequest.request({
1446
+ method: 'PUT',
1447
+ url: '/api/location-service/neighborhoods/{id}',
1448
+ path: {
1449
+ id: data.id
1450
+ },
1451
+ body: data.requestBody,
1452
+ mediaType: 'application/json',
1453
+ errors: {
1454
+ 400: 'Bad Request',
1455
+ 401: 'Unauthorized',
1456
+ 403: 'Forbidden',
1457
+ 404: 'Not Found',
1458
+ 500: 'Server Error',
1459
+ 501: 'Server Error'
1460
+ }
1461
+ });
1462
+ }
1463
+
1464
+ /**
1465
+ * @param data The data for the request.
1466
+ * @param data.id
1467
+ * @returns unknown Success
1468
+ * @throws ApiError
1469
+ */
1470
+ public deleteApiLocationServiceNeighborhoodsById(data: DeleteApiLocationServiceNeighborhoodsByIdData): CancelablePromise<DeleteApiLocationServiceNeighborhoodsByIdResponse> {
1471
+ return this.httpRequest.request({
1472
+ method: 'DELETE',
1473
+ url: '/api/location-service/neighborhoods/{id}',
1474
+ path: {
1475
+ id: data.id
1476
+ },
1477
+ errors: {
1478
+ 400: 'Bad Request',
1479
+ 401: 'Unauthorized',
1480
+ 403: 'Forbidden',
1481
+ 404: 'Not Found',
1482
+ 500: 'Server Error',
1483
+ 501: 'Server Error'
1484
+ }
1485
+ });
1486
+ }
1487
+
1488
+ }
1489
+
1490
+ export class RegionService {
1491
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1492
+
1493
+ /**
1494
+ * @param data The data for the request.
1495
+ * @param data.sorting
1496
+ * @param data.skipCount
1497
+ * @param data.maxResultCount
1498
+ * @returns PagedResultDto_RegionDto Success
1499
+ * @throws ApiError
1500
+ */
1501
+ public getApiLocationServiceRegions(data: GetApiLocationServiceRegionsData = {}): CancelablePromise<GetApiLocationServiceRegionsResponse> {
1502
+ return this.httpRequest.request({
1503
+ method: 'GET',
1504
+ url: '/api/location-service/regions',
1505
+ query: {
1506
+ Sorting: data.sorting,
1507
+ SkipCount: data.skipCount,
1508
+ MaxResultCount: data.maxResultCount
1509
+ },
1510
+ errors: {
1511
+ 400: 'Bad Request',
1512
+ 401: 'Unauthorized',
1513
+ 403: 'Forbidden',
1514
+ 404: 'Not Found',
1515
+ 500: 'Server Error',
1516
+ 501: 'Server Error'
1517
+ }
1518
+ });
1519
+ }
1520
+
1521
+ /**
1522
+ * @param data The data for the request.
1523
+ * @param data.requestBody
1524
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1525
+ * @throws ApiError
1526
+ */
1527
+ public postApiLocationServiceRegions(data: PostApiLocationServiceRegionsData = {}): CancelablePromise<PostApiLocationServiceRegionsResponse> {
1528
+ return this.httpRequest.request({
1529
+ method: 'POST',
1530
+ url: '/api/location-service/regions',
1531
+ body: data.requestBody,
1532
+ mediaType: 'application/json',
1533
+ errors: {
1534
+ 400: 'Bad Request',
1535
+ 401: 'Unauthorized',
1536
+ 403: 'Forbidden',
1537
+ 404: 'Not Found',
1538
+ 500: 'Server Error',
1539
+ 501: 'Server Error'
1540
+ }
1541
+ });
1542
+ }
1543
+
1544
+ /**
1545
+ * @param data The data for the request.
1546
+ * @param data.countryId
1547
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1548
+ * @throws ApiError
1549
+ */
1550
+ public getApiLocationServiceRegionsGetListByCountryByCountryId(data: GetApiLocationServiceRegionsGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse> {
1551
+ return this.httpRequest.request({
1552
+ method: 'GET',
1553
+ url: '/api/location-service/regions/get-list-by-country/{countryId}',
1554
+ path: {
1555
+ countryId: data.countryId
1556
+ },
1557
+ errors: {
1558
+ 400: 'Bad Request',
1559
+ 401: 'Unauthorized',
1560
+ 403: 'Forbidden',
1561
+ 404: 'Not Found',
1562
+ 500: 'Server Error',
1563
+ 501: 'Server Error'
1564
+ }
1565
+ });
1566
+ }
1567
+
1568
+ /**
1569
+ * @param data The data for the request.
1570
+ * @param data.id
1571
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1572
+ * @throws ApiError
1573
+ */
1574
+ public getApiLocationServiceRegionsById(data: GetApiLocationServiceRegionsByIdData): CancelablePromise<GetApiLocationServiceRegionsByIdResponse> {
1575
+ return this.httpRequest.request({
1576
+ method: 'GET',
1577
+ url: '/api/location-service/regions/{id}',
1578
+ path: {
1579
+ id: data.id
1580
+ },
1581
+ errors: {
1582
+ 400: 'Bad Request',
1583
+ 401: 'Unauthorized',
1584
+ 403: 'Forbidden',
1585
+ 404: 'Not Found',
1586
+ 500: 'Server Error',
1587
+ 501: 'Server Error'
1588
+ }
1589
+ });
1590
+ }
1591
+
1592
+ /**
1593
+ * @param data The data for the request.
1594
+ * @param data.id
1595
+ * @param data.requestBody
1596
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1597
+ * @throws ApiError
1598
+ */
1599
+ public putApiLocationServiceRegionsById(data: PutApiLocationServiceRegionsByIdData): CancelablePromise<PutApiLocationServiceRegionsByIdResponse> {
1600
+ return this.httpRequest.request({
1601
+ method: 'PUT',
1602
+ url: '/api/location-service/regions/{id}',
1603
+ path: {
1604
+ id: data.id
1605
+ },
1606
+ body: data.requestBody,
1607
+ mediaType: 'application/json',
1608
+ errors: {
1609
+ 400: 'Bad Request',
1610
+ 401: 'Unauthorized',
1611
+ 403: 'Forbidden',
1612
+ 404: 'Not Found',
1613
+ 500: 'Server Error',
1614
+ 501: 'Server Error'
1615
+ }
1616
+ });
1617
+ }
1618
+
1619
+ /**
1620
+ * @param data The data for the request.
1621
+ * @param data.id
1622
+ * @returns unknown Success
1623
+ * @throws ApiError
1624
+ */
1625
+ public deleteApiLocationServiceRegionsById(data: DeleteApiLocationServiceRegionsByIdData): CancelablePromise<DeleteApiLocationServiceRegionsByIdResponse> {
1626
+ return this.httpRequest.request({
1627
+ method: 'DELETE',
1628
+ url: '/api/location-service/regions/{id}',
1629
+ path: {
1630
+ id: data.id
1631
+ },
1632
+ errors: {
1633
+ 400: 'Bad Request',
1634
+ 401: 'Unauthorized',
1635
+ 403: 'Forbidden',
1636
+ 404: 'Not Found',
1637
+ 500: 'Server Error',
1638
+ 501: 'Server Error'
1639
+ }
1640
+ });
1641
+ }
1642
+
1643
+ /**
1644
+ * @param data The data for the request.
1645
+ * @param data.countryId
1646
+ * @returns string Success
1647
+ * @throws ApiError
1648
+ */
1649
+ public getApiLocationServiceRegionsGetDefaultRegionIdByCountryId(data: GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse> {
1650
+ return this.httpRequest.request({
1651
+ method: 'GET',
1652
+ url: '/api/location-service/regions/get-default-regionId/{countryId}',
1653
+ path: {
1654
+ countryId: data.countryId
1655
+ },
1656
+ errors: {
1657
+ 400: 'Bad Request',
1658
+ 401: 'Unauthorized',
1659
+ 403: 'Forbidden',
1660
+ 404: 'Not Found',
1661
+ 500: 'Server Error',
1662
+ 501: 'Server Error'
1663
+ }
1664
+ });
1665
+ }
1666
+
1667
+ }
1668
+
1669
+ export class RegionalSettingService {
1670
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1671
+
1672
+ /**
1673
+ * @param data The data for the request.
1674
+ * @param data.sorting
1675
+ * @param data.skipCount
1676
+ * @param data.maxResultCount
1677
+ * @returns PagedResultDto_RegionalSettingDto Success
1678
+ * @throws ApiError
1679
+ */
1680
+ public getApiLocationServiceRegionalSettings(data: GetApiLocationServiceRegionalSettingsData = {}): CancelablePromise<GetApiLocationServiceRegionalSettingsResponse> {
1681
+ return this.httpRequest.request({
1682
+ method: 'GET',
1683
+ url: '/api/location-service/regionalSettings',
1684
+ query: {
1685
+ Sorting: data.sorting,
1686
+ SkipCount: data.skipCount,
1687
+ MaxResultCount: data.maxResultCount
1688
+ },
1689
+ errors: {
1690
+ 400: 'Bad Request',
1691
+ 401: 'Unauthorized',
1692
+ 403: 'Forbidden',
1693
+ 404: 'Not Found',
1694
+ 500: 'Server Error',
1695
+ 501: 'Server Error'
1696
+ }
1697
+ });
1698
+ }
1699
+
1700
+ /**
1701
+ * @param data The data for the request.
1702
+ * @param data.requestBody
1703
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1704
+ * @throws ApiError
1705
+ */
1706
+ public postApiLocationServiceRegionalSettings(data: PostApiLocationServiceRegionalSettingsData = {}): CancelablePromise<PostApiLocationServiceRegionalSettingsResponse> {
1707
+ return this.httpRequest.request({
1708
+ method: 'POST',
1709
+ url: '/api/location-service/regionalSettings',
1710
+ body: data.requestBody,
1711
+ mediaType: 'application/json',
1712
+ errors: {
1713
+ 400: 'Bad Request',
1714
+ 401: 'Unauthorized',
1715
+ 403: 'Forbidden',
1716
+ 404: 'Not Found',
1717
+ 500: 'Server Error',
1718
+ 501: 'Server Error'
1719
+ }
1720
+ });
1721
+ }
1722
+
1723
+ /**
1724
+ * @param data The data for the request.
1725
+ * @param data.id
1726
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1727
+ * @throws ApiError
1728
+ */
1729
+ public getApiLocationServiceRegionalSettingsById(data: GetApiLocationServiceRegionalSettingsByIdData): CancelablePromise<GetApiLocationServiceRegionalSettingsByIdResponse> {
1730
+ return this.httpRequest.request({
1731
+ method: 'GET',
1732
+ url: '/api/location-service/regionalSettings/{id}',
1733
+ path: {
1734
+ id: data.id
1735
+ },
1736
+ errors: {
1737
+ 400: 'Bad Request',
1738
+ 401: 'Unauthorized',
1739
+ 403: 'Forbidden',
1740
+ 404: 'Not Found',
1741
+ 500: 'Server Error',
1742
+ 501: 'Server Error'
1743
+ }
1744
+ });
1745
+ }
1746
+
1747
+ /**
1748
+ * @param data The data for the request.
1749
+ * @param data.id
1750
+ * @param data.requestBody
1751
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1752
+ * @throws ApiError
1753
+ */
1754
+ public putApiLocationServiceRegionalSettingsById(data: PutApiLocationServiceRegionalSettingsByIdData): CancelablePromise<PutApiLocationServiceRegionalSettingsByIdResponse> {
1755
+ return this.httpRequest.request({
1756
+ method: 'PUT',
1757
+ url: '/api/location-service/regionalSettings/{id}',
1758
+ path: {
1759
+ id: data.id
1760
+ },
1761
+ body: data.requestBody,
1762
+ mediaType: 'application/json',
1763
+ errors: {
1764
+ 400: 'Bad Request',
1765
+ 401: 'Unauthorized',
1766
+ 403: 'Forbidden',
1767
+ 404: 'Not Found',
1768
+ 500: 'Server Error',
1769
+ 501: 'Server Error'
1770
+ }
1771
+ });
1772
+ }
1773
+
1774
+ /**
1775
+ * @param data The data for the request.
1776
+ * @param data.id
1777
+ * @returns unknown Success
1778
+ * @throws ApiError
1779
+ */
1780
+ public deleteApiLocationServiceRegionalSettingsById(data: DeleteApiLocationServiceRegionalSettingsByIdData): CancelablePromise<DeleteApiLocationServiceRegionalSettingsByIdResponse> {
1781
+ return this.httpRequest.request({
1782
+ method: 'DELETE',
1783
+ url: '/api/location-service/regionalSettings/{id}',
1784
+ path: {
1785
+ id: data.id
1786
+ },
1787
+ errors: {
1788
+ 400: 'Bad Request',
1789
+ 401: 'Unauthorized',
1790
+ 403: 'Forbidden',
1791
+ 404: 'Not Found',
1792
+ 500: 'Server Error',
1793
+ 501: 'Server Error'
1794
+ }
1795
+ });
1796
+ }
1797
+
1798
1798
  }