@ayasofyazilim/saas 0.0.48 → 0.0.50

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (122) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -68
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +8 -8
  8. package/AccountService/schemas.gen.ts +5333 -5333
  9. package/AccountService/services.gen.ts +1539 -1539
  10. package/AccountService/types.gen.ts +3328 -3328
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -77
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +8 -8
  18. package/AdministrationService/schemas.gen.ts +5987 -5987
  19. package/AdministrationService/services.gen.ts +1404 -1404
  20. package/AdministrationService/types.gen.ts +2851 -2851
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +8 -8
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -2170
  29. package/CRMService/schemas.gen.ts +124 -113
  30. package/CRMService/services.gen.ts +133 -1
  31. package/CRMService/types.gen.ts +239 -12
  32. package/ContractService/ContractServiceClient.ts +3 -3
  33. package/ContractService/schemas.gen.ts +1836 -495
  34. package/ContractService/services.gen.ts +108 -84
  35. package/ContractService/types.gen.ts +295 -130
  36. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  37. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  38. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  39. package/FundraiserService/core/OpenAPI.ts +55 -55
  40. package/FundraiserService/core/request.ts +340 -340
  41. package/FundraiserService/index.ts +8 -8
  42. package/FundraiserService/services.gen.ts +627 -627
  43. package/FundraiserService/types.gen.ts +1793 -1793
  44. package/IdentityService/IdentityServiceClient.ts +80 -80
  45. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  46. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  47. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  48. package/IdentityService/core/OpenAPI.ts +55 -55
  49. package/IdentityService/core/request.ts +340 -340
  50. package/IdentityService/index.ts +8 -8
  51. package/IdentityService/schemas.gen.ts +6845 -6845
  52. package/IdentityService/services.gen.ts +2924 -2924
  53. package/IdentityService/types.gen.ts +5484 -5484
  54. package/LocationService/LocationServiceClient.ts +74 -74
  55. package/LocationService/core/ApiError.ts +20 -20
  56. package/LocationService/core/ApiRequestOptions.ts +12 -12
  57. package/LocationService/core/ApiResult.ts +6 -6
  58. package/LocationService/core/BaseHttpRequest.ts +9 -9
  59. package/LocationService/core/CancelablePromise.ts +125 -125
  60. package/LocationService/core/FetchHttpRequest.ts +21 -21
  61. package/LocationService/core/OpenAPI.ts +55 -55
  62. package/LocationService/core/request.ts +340 -340
  63. package/LocationService/index.ts +8 -8
  64. package/LocationService/schemas.gen.ts +6639 -6639
  65. package/LocationService/services.gen.ts +1726 -1726
  66. package/LocationService/types.gen.ts +3615 -3615
  67. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  68. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  69. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  70. package/MerchantService/core/OpenAPI.ts +55 -55
  71. package/MerchantService/core/request.ts +340 -340
  72. package/MerchantService/schemas.gen.ts +14764 -14764
  73. package/MerchantService/services.gen.ts +1602 -1602
  74. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  75. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  76. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  77. package/ProjectService/core/OpenAPI.ts +55 -55
  78. package/ProjectService/core/request.ts +340 -340
  79. package/ProjectService/index.ts +8 -8
  80. package/ProjectService/services.gen.ts +492 -492
  81. package/ProjectService/types.gen.ts +1303 -1303
  82. package/ProjectService.json +2937 -2937
  83. package/SaasService/core/ApiRequestOptions.ts +12 -12
  84. package/SaasService/core/BaseHttpRequest.ts +9 -9
  85. package/SaasService/core/FetchHttpRequest.ts +21 -21
  86. package/SaasService/core/OpenAPI.ts +55 -55
  87. package/SaasService/core/request.ts +340 -340
  88. package/SaasService/index.ts +8 -8
  89. package/SaasService/schemas.gen.ts +5345 -5345
  90. package/SaasService/services.gen.ts +1329 -1329
  91. package/SaasService/types.gen.ts +2737 -2737
  92. package/SettingService/schemas.gen.ts +5410 -5410
  93. package/SettingService/services.gen.ts +890 -890
  94. package/SettingService/types.gen.ts +2052 -2052
  95. package/TagService/TagServiceClient.ts +44 -44
  96. package/TagService/core/ApiError.ts +20 -20
  97. package/TagService/core/ApiRequestOptions.ts +12 -12
  98. package/TagService/core/ApiResult.ts +6 -6
  99. package/TagService/core/BaseHttpRequest.ts +9 -9
  100. package/TagService/core/CancelablePromise.ts +125 -125
  101. package/TagService/core/FetchHttpRequest.ts +21 -21
  102. package/TagService/core/OpenAPI.ts +55 -55
  103. package/TagService/core/request.ts +340 -340
  104. package/TagService/index.ts +8 -8
  105. package/TagService/schemas.gen.ts +4677 -4677
  106. package/TagService/services.gen.ts +175 -175
  107. package/TagService/types.gen.ts +771 -771
  108. package/TravellerService/TravellerServiceClient.ts +56 -56
  109. package/TravellerService/core/ApiError.ts +20 -20
  110. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  111. package/TravellerService/core/ApiResult.ts +6 -6
  112. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  113. package/TravellerService/core/CancelablePromise.ts +125 -125
  114. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  115. package/TravellerService/core/OpenAPI.ts +55 -55
  116. package/TravellerService/core/request.ts +340 -340
  117. package/TravellerService/index.ts +8 -8
  118. package/TravellerService/schemas.gen.ts +6322 -6322
  119. package/TravellerService/services.gen.ts +713 -713
  120. package/TravellerService/types.gen.ts +1834 -1834
  121. package/package.json +1 -1
  122. package/swagger.json +4794 -4794
@@ -1,1727 +1,1727 @@
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, GetApiLocationServiceCitiesData, GetApiLocationServiceCitiesResponse, PostApiLocationServiceCitiesData, PostApiLocationServiceCitiesResponse, GetApiLocationServiceCitiesGetListByRegionByRegionIdData, GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse, 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 Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> 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
-
251
- export class CityService {
252
- constructor(public readonly httpRequest: BaseHttpRequest) { }
253
-
254
- /**
255
- * @param data The data for the request.
256
- * @param data.sorting
257
- * @param data.skipCount
258
- * @param data.maxResultCount
259
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Cities_CityDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
260
- * @throws ApiError
261
- */
262
- public getApiLocationServiceCities(data: GetApiLocationServiceCitiesData = {}): CancelablePromise<GetApiLocationServiceCitiesResponse> {
263
- return this.httpRequest.request({
264
- method: 'GET',
265
- url: '/api/location-service/cities',
266
- query: {
267
- Sorting: data.sorting,
268
- SkipCount: data.skipCount,
269
- MaxResultCount: data.maxResultCount
270
- },
271
- errors: {
272
- 400: 'Bad Request',
273
- 401: 'Unauthorized',
274
- 403: 'Forbidden',
275
- 404: 'Not Found',
276
- 500: 'Server Error',
277
- 501: 'Server Error'
278
- }
279
- });
280
- }
281
-
282
- /**
283
- * @param data The data for the request.
284
- * @param data.requestBody
285
- * @returns UniRefund_LocationService_Cities_CityDto Success
286
- * @throws ApiError
287
- */
288
- public postApiLocationServiceCities(data: PostApiLocationServiceCitiesData = {}): CancelablePromise<PostApiLocationServiceCitiesResponse> {
289
- return this.httpRequest.request({
290
- method: 'POST',
291
- url: '/api/location-service/cities',
292
- body: data.requestBody,
293
- mediaType: 'application/json',
294
- errors: {
295
- 400: 'Bad Request',
296
- 401: 'Unauthorized',
297
- 403: 'Forbidden',
298
- 404: 'Not Found',
299
- 500: 'Server Error',
300
- 501: 'Server Error'
301
- }
302
- });
303
- }
304
-
305
- /**
306
- * @param data The data for the request.
307
- * @param data.regionId
308
- * @returns UniRefund_LocationService_Cities_CityDto Success
309
- * @throws ApiError
310
- */
311
- public getApiLocationServiceCitiesGetListByRegionByRegionId(data: GetApiLocationServiceCitiesGetListByRegionByRegionIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse> {
312
- return this.httpRequest.request({
313
- method: 'GET',
314
- url: '/api/location-service/cities/get-list-by-region/{regionId}',
315
- path: {
316
- regionId: data.regionId
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.id
332
- * @returns UniRefund_LocationService_Cities_CityDto Success
333
- * @throws ApiError
334
- */
335
- public getApiLocationServiceCitiesById(data: GetApiLocationServiceCitiesByIdData): CancelablePromise<GetApiLocationServiceCitiesByIdResponse> {
336
- return this.httpRequest.request({
337
- method: 'GET',
338
- url: '/api/location-service/cities/{id}',
339
- path: {
340
- id: data.id
341
- },
342
- errors: {
343
- 400: 'Bad Request',
344
- 401: 'Unauthorized',
345
- 403: 'Forbidden',
346
- 404: 'Not Found',
347
- 500: 'Server Error',
348
- 501: 'Server Error'
349
- }
350
- });
351
- }
352
-
353
- /**
354
- * @param data The data for the request.
355
- * @param data.id
356
- * @param data.requestBody
357
- * @returns UniRefund_LocationService_Cities_CityDto Success
358
- * @throws ApiError
359
- */
360
- public putApiLocationServiceCitiesById(data: PutApiLocationServiceCitiesByIdData): CancelablePromise<PutApiLocationServiceCitiesByIdResponse> {
361
- return this.httpRequest.request({
362
- method: 'PUT',
363
- url: '/api/location-service/cities/{id}',
364
- path: {
365
- id: data.id
366
- },
367
- body: data.requestBody,
368
- mediaType: 'application/json',
369
- errors: {
370
- 400: 'Bad Request',
371
- 401: 'Unauthorized',
372
- 403: 'Forbidden',
373
- 404: 'Not Found',
374
- 500: 'Server Error',
375
- 501: 'Server Error'
376
- }
377
- });
378
- }
379
-
380
- /**
381
- * @param data The data for the request.
382
- * @param data.id
383
- * @returns unknown Success
384
- * @throws ApiError
385
- */
386
- public deleteApiLocationServiceCitiesById(data: DeleteApiLocationServiceCitiesByIdData): CancelablePromise<DeleteApiLocationServiceCitiesByIdResponse> {
387
- return this.httpRequest.request({
388
- method: 'DELETE',
389
- url: '/api/location-service/cities/{id}',
390
- path: {
391
- id: data.id
392
- },
393
- errors: {
394
- 400: 'Bad Request',
395
- 401: 'Unauthorized',
396
- 403: 'Forbidden',
397
- 404: 'Not Found',
398
- 500: 'Server Error',
399
- 501: 'Server Error'
400
- }
401
- });
402
- }
403
-
404
- }
405
-
406
- export class CountryService {
407
- constructor(public readonly httpRequest: BaseHttpRequest) { }
408
-
409
- /**
410
- * @param data The data for the request.
411
- * @param data.sorting
412
- * @param data.skipCount
413
- * @param data.maxResultCount
414
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Countries_CountryDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
415
- * @throws ApiError
416
- */
417
- public getApiLocationServiceCountries(data: GetApiLocationServiceCountriesData = {}): CancelablePromise<GetApiLocationServiceCountriesResponse> {
418
- return this.httpRequest.request({
419
- method: 'GET',
420
- url: '/api/location-service/countries',
421
- query: {
422
- Sorting: data.sorting,
423
- SkipCount: data.skipCount,
424
- MaxResultCount: data.maxResultCount
425
- },
426
- errors: {
427
- 400: 'Bad Request',
428
- 401: 'Unauthorized',
429
- 403: 'Forbidden',
430
- 404: 'Not Found',
431
- 500: 'Server Error',
432
- 501: 'Server Error'
433
- }
434
- });
435
- }
436
-
437
- /**
438
- * @param data The data for the request.
439
- * @param data.requestBody
440
- * @returns UniRefund_LocationService_Countries_CountryDto Success
441
- * @throws ApiError
442
- */
443
- public postApiLocationServiceCountries(data: PostApiLocationServiceCountriesData = {}): CancelablePromise<PostApiLocationServiceCountriesResponse> {
444
- return this.httpRequest.request({
445
- method: 'POST',
446
- url: '/api/location-service/countries',
447
- body: data.requestBody,
448
- mediaType: 'application/json',
449
- errors: {
450
- 400: 'Bad Request',
451
- 401: 'Unauthorized',
452
- 403: 'Forbidden',
453
- 404: 'Not Found',
454
- 500: 'Server Error',
455
- 501: 'Server Error'
456
- }
457
- });
458
- }
459
-
460
- /**
461
- * @param data The data for the request.
462
- * @param data.id
463
- * @returns UniRefund_LocationService_Countries_CountryDto Success
464
- * @throws ApiError
465
- */
466
- public getApiLocationServiceCountriesById(data: GetApiLocationServiceCountriesByIdData): CancelablePromise<GetApiLocationServiceCountriesByIdResponse> {
467
- return this.httpRequest.request({
468
- method: 'GET',
469
- url: '/api/location-service/countries/{id}',
470
- path: {
471
- id: data.id
472
- },
473
- errors: {
474
- 400: 'Bad Request',
475
- 401: 'Unauthorized',
476
- 403: 'Forbidden',
477
- 404: 'Not Found',
478
- 500: 'Server Error',
479
- 501: 'Server Error'
480
- }
481
- });
482
- }
483
-
484
- /**
485
- * @param data The data for the request.
486
- * @param data.id
487
- * @param data.requestBody
488
- * @returns UniRefund_LocationService_Countries_CountryDto Success
489
- * @throws ApiError
490
- */
491
- public putApiLocationServiceCountriesById(data: PutApiLocationServiceCountriesByIdData): CancelablePromise<PutApiLocationServiceCountriesByIdResponse> {
492
- return this.httpRequest.request({
493
- method: 'PUT',
494
- url: '/api/location-service/countries/{id}',
495
- path: {
496
- id: data.id
497
- },
498
- body: data.requestBody,
499
- mediaType: 'application/json',
500
- errors: {
501
- 400: 'Bad Request',
502
- 401: 'Unauthorized',
503
- 403: 'Forbidden',
504
- 404: 'Not Found',
505
- 500: 'Server Error',
506
- 501: 'Server Error'
507
- }
508
- });
509
- }
510
-
511
- /**
512
- * @param data The data for the request.
513
- * @param data.id
514
- * @returns unknown Success
515
- * @throws ApiError
516
- */
517
- public deleteApiLocationServiceCountriesById(data: DeleteApiLocationServiceCountriesByIdData): CancelablePromise<DeleteApiLocationServiceCountriesByIdResponse> {
518
- return this.httpRequest.request({
519
- method: 'DELETE',
520
- url: '/api/location-service/countries/{id}',
521
- path: {
522
- id: data.id
523
- },
524
- errors: {
525
- 400: 'Bad Request',
526
- 401: 'Unauthorized',
527
- 403: 'Forbidden',
528
- 404: 'Not Found',
529
- 500: 'Server Error',
530
- 501: 'Server Error'
531
- }
532
- });
533
- }
534
-
535
- /**
536
- * @param data The data for the request.
537
- * @param data.countryId
538
- * @returns string Success
539
- * @throws ApiError
540
- */
541
- public getApiLocationServiceCountriesGetNameIfExistsByCountryId(data: GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData): CancelablePromise<GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse> {
542
- return this.httpRequest.request({
543
- method: 'GET',
544
- url: '/api/location-service/countries/get-name-if-exists/{countryId}',
545
- path: {
546
- countryId: data.countryId
547
- },
548
- errors: {
549
- 400: 'Bad Request',
550
- 401: 'Unauthorized',
551
- 403: 'Forbidden',
552
- 404: 'Not Found',
553
- 500: 'Server Error',
554
- 501: 'Server Error'
555
- }
556
- });
557
- }
558
-
559
- /**
560
- * @param data The data for the request.
561
- * @param data.codes
562
- * @returns UniRefund_LocationService_Countries_GetCountryNameDto Success
563
- * @throws ApiError
564
- */
565
- public getApiLocationServiceCountriesNames(data: GetApiLocationServiceCountriesNamesData = {}): CancelablePromise<GetApiLocationServiceCountriesNamesResponse> {
566
- return this.httpRequest.request({
567
- method: 'GET',
568
- url: '/api/location-service/countries/names',
569
- query: {
570
- codes: data.codes
571
- },
572
- errors: {
573
- 400: 'Bad Request',
574
- 401: 'Unauthorized',
575
- 403: 'Forbidden',
576
- 404: 'Not Found',
577
- 500: 'Server Error',
578
- 501: 'Server Error'
579
- }
580
- });
581
- }
582
-
583
- }
584
-
585
- export class CountryCurrencyService {
586
- constructor(public readonly httpRequest: BaseHttpRequest) { }
587
-
588
- /**
589
- * @param data The data for the request.
590
- * @param data.sorting
591
- * @param data.skipCount
592
- * @param data.maxResultCount
593
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
594
- * @throws ApiError
595
- */
596
- public getApiLocationServiceCountryCurrencies(data: GetApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<GetApiLocationServiceCountryCurrenciesResponse> {
597
- return this.httpRequest.request({
598
- method: 'GET',
599
- url: '/api/location-service/country-currencies',
600
- query: {
601
- Sorting: data.sorting,
602
- SkipCount: data.skipCount,
603
- MaxResultCount: data.maxResultCount
604
- },
605
- errors: {
606
- 400: 'Bad Request',
607
- 401: 'Unauthorized',
608
- 403: 'Forbidden',
609
- 404: 'Not Found',
610
- 500: 'Server Error',
611
- 501: 'Server Error'
612
- }
613
- });
614
- }
615
-
616
- /**
617
- * @param data The data for the request.
618
- * @param data.requestBody
619
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
620
- * @throws ApiError
621
- */
622
- public postApiLocationServiceCountryCurrencies(data: PostApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<PostApiLocationServiceCountryCurrenciesResponse> {
623
- return this.httpRequest.request({
624
- method: 'POST',
625
- url: '/api/location-service/country-currencies',
626
- body: data.requestBody,
627
- mediaType: 'application/json',
628
- errors: {
629
- 400: 'Bad Request',
630
- 401: 'Unauthorized',
631
- 403: 'Forbidden',
632
- 404: 'Not Found',
633
- 500: 'Server Error',
634
- 501: 'Server Error'
635
- }
636
- });
637
- }
638
-
639
- /**
640
- * @param data The data for the request.
641
- * @param data.id
642
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
643
- * @throws ApiError
644
- */
645
- public getApiLocationServiceCountryCurrenciesById(data: GetApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<GetApiLocationServiceCountryCurrenciesByIdResponse> {
646
- return this.httpRequest.request({
647
- method: 'GET',
648
- url: '/api/location-service/country-currencies/{id}',
649
- path: {
650
- id: data.id
651
- },
652
- errors: {
653
- 400: 'Bad Request',
654
- 401: 'Unauthorized',
655
- 403: 'Forbidden',
656
- 404: 'Not Found',
657
- 500: 'Server Error',
658
- 501: 'Server Error'
659
- }
660
- });
661
- }
662
-
663
- /**
664
- * @param data The data for the request.
665
- * @param data.id
666
- * @param data.requestBody
667
- * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
668
- * @throws ApiError
669
- */
670
- public putApiLocationServiceCountryCurrenciesById(data: PutApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<PutApiLocationServiceCountryCurrenciesByIdResponse> {
671
- return this.httpRequest.request({
672
- method: 'PUT',
673
- url: '/api/location-service/country-currencies/{id}',
674
- path: {
675
- id: data.id
676
- },
677
- body: data.requestBody,
678
- mediaType: 'application/json',
679
- errors: {
680
- 400: 'Bad Request',
681
- 401: 'Unauthorized',
682
- 403: 'Forbidden',
683
- 404: 'Not Found',
684
- 500: 'Server Error',
685
- 501: 'Server Error'
686
- }
687
- });
688
- }
689
-
690
- /**
691
- * @param data The data for the request.
692
- * @param data.id
693
- * @returns unknown Success
694
- * @throws ApiError
695
- */
696
- public deleteApiLocationServiceCountryCurrenciesById(data: DeleteApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<DeleteApiLocationServiceCountryCurrenciesByIdResponse> {
697
- return this.httpRequest.request({
698
- method: 'DELETE',
699
- url: '/api/location-service/country-currencies/{id}',
700
- path: {
701
- id: data.id
702
- },
703
- errors: {
704
- 400: 'Bad Request',
705
- 401: 'Unauthorized',
706
- 403: 'Forbidden',
707
- 404: 'Not Found',
708
- 500: 'Server Error',
709
- 501: 'Server Error'
710
- }
711
- });
712
- }
713
-
714
- }
715
-
716
- export class CountryDateService {
717
- constructor(public readonly httpRequest: BaseHttpRequest) { }
718
-
719
- /**
720
- * @param data The data for the request.
721
- * @param data.sorting
722
- * @param data.skipCount
723
- * @param data.maxResultCount
724
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryDates_CountryDateDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
725
- * @throws ApiError
726
- */
727
- public getApiLocationServiceCountryDates(data: GetApiLocationServiceCountryDatesData = {}): CancelablePromise<GetApiLocationServiceCountryDatesResponse> {
728
- return this.httpRequest.request({
729
- method: 'GET',
730
- url: '/api/location-service/country-dates',
731
- query: {
732
- Sorting: data.sorting,
733
- SkipCount: data.skipCount,
734
- MaxResultCount: data.maxResultCount
735
- },
736
- errors: {
737
- 400: 'Bad Request',
738
- 401: 'Unauthorized',
739
- 403: 'Forbidden',
740
- 404: 'Not Found',
741
- 500: 'Server Error',
742
- 501: 'Server Error'
743
- }
744
- });
745
- }
746
-
747
- /**
748
- * @param data The data for the request.
749
- * @param data.requestBody
750
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
751
- * @throws ApiError
752
- */
753
- public postApiLocationServiceCountryDates(data: PostApiLocationServiceCountryDatesData = {}): CancelablePromise<PostApiLocationServiceCountryDatesResponse> {
754
- return this.httpRequest.request({
755
- method: 'POST',
756
- url: '/api/location-service/country-dates',
757
- body: data.requestBody,
758
- mediaType: 'application/json',
759
- errors: {
760
- 400: 'Bad Request',
761
- 401: 'Unauthorized',
762
- 403: 'Forbidden',
763
- 404: 'Not Found',
764
- 500: 'Server Error',
765
- 501: 'Server Error'
766
- }
767
- });
768
- }
769
-
770
- /**
771
- * @param data The data for the request.
772
- * @param data.id
773
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
774
- * @throws ApiError
775
- */
776
- public getApiLocationServiceCountryDatesById(data: GetApiLocationServiceCountryDatesByIdData): CancelablePromise<GetApiLocationServiceCountryDatesByIdResponse> {
777
- return this.httpRequest.request({
778
- method: 'GET',
779
- url: '/api/location-service/country-dates/{id}',
780
- path: {
781
- id: data.id
782
- },
783
- errors: {
784
- 400: 'Bad Request',
785
- 401: 'Unauthorized',
786
- 403: 'Forbidden',
787
- 404: 'Not Found',
788
- 500: 'Server Error',
789
- 501: 'Server Error'
790
- }
791
- });
792
- }
793
-
794
- /**
795
- * @param data The data for the request.
796
- * @param data.id
797
- * @param data.requestBody
798
- * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
799
- * @throws ApiError
800
- */
801
- public putApiLocationServiceCountryDatesById(data: PutApiLocationServiceCountryDatesByIdData): CancelablePromise<PutApiLocationServiceCountryDatesByIdResponse> {
802
- return this.httpRequest.request({
803
- method: 'PUT',
804
- url: '/api/location-service/country-dates/{id}',
805
- path: {
806
- id: data.id
807
- },
808
- body: data.requestBody,
809
- mediaType: 'application/json',
810
- errors: {
811
- 400: 'Bad Request',
812
- 401: 'Unauthorized',
813
- 403: 'Forbidden',
814
- 404: 'Not Found',
815
- 500: 'Server Error',
816
- 501: 'Server Error'
817
- }
818
- });
819
- }
820
-
821
- /**
822
- * @param data The data for the request.
823
- * @param data.id
824
- * @returns unknown Success
825
- * @throws ApiError
826
- */
827
- public deleteApiLocationServiceCountryDatesById(data: DeleteApiLocationServiceCountryDatesByIdData): CancelablePromise<DeleteApiLocationServiceCountryDatesByIdResponse> {
828
- return this.httpRequest.request({
829
- method: 'DELETE',
830
- url: '/api/location-service/country-dates/{id}',
831
- path: {
832
- id: data.id
833
- },
834
- errors: {
835
- 400: 'Bad Request',
836
- 401: 'Unauthorized',
837
- 403: 'Forbidden',
838
- 404: 'Not Found',
839
- 500: 'Server Error',
840
- 501: 'Server Error'
841
- }
842
- });
843
- }
844
-
845
- }
846
-
847
- export class CountryNumberService {
848
- constructor(public readonly httpRequest: BaseHttpRequest) { }
849
-
850
- /**
851
- * @param data The data for the request.
852
- * @param data.sorting
853
- * @param data.skipCount
854
- * @param data.maxResultCount
855
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryNumbers_CountryNumberDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
856
- * @throws ApiError
857
- */
858
- public getApiLocationServiceCountryNumbers(data: GetApiLocationServiceCountryNumbersData = {}): CancelablePromise<GetApiLocationServiceCountryNumbersResponse> {
859
- return this.httpRequest.request({
860
- method: 'GET',
861
- url: '/api/location-service/country-numbers',
862
- query: {
863
- Sorting: data.sorting,
864
- SkipCount: data.skipCount,
865
- MaxResultCount: data.maxResultCount
866
- },
867
- errors: {
868
- 400: 'Bad Request',
869
- 401: 'Unauthorized',
870
- 403: 'Forbidden',
871
- 404: 'Not Found',
872
- 500: 'Server Error',
873
- 501: 'Server Error'
874
- }
875
- });
876
- }
877
-
878
- /**
879
- * @param data The data for the request.
880
- * @param data.requestBody
881
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
882
- * @throws ApiError
883
- */
884
- public postApiLocationServiceCountryNumbers(data: PostApiLocationServiceCountryNumbersData = {}): CancelablePromise<PostApiLocationServiceCountryNumbersResponse> {
885
- return this.httpRequest.request({
886
- method: 'POST',
887
- url: '/api/location-service/country-numbers',
888
- body: data.requestBody,
889
- mediaType: 'application/json',
890
- errors: {
891
- 400: 'Bad Request',
892
- 401: 'Unauthorized',
893
- 403: 'Forbidden',
894
- 404: 'Not Found',
895
- 500: 'Server Error',
896
- 501: 'Server Error'
897
- }
898
- });
899
- }
900
-
901
- /**
902
- * @param data The data for the request.
903
- * @param data.id
904
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
905
- * @throws ApiError
906
- */
907
- public getApiLocationServiceCountryNumbersById(data: GetApiLocationServiceCountryNumbersByIdData): CancelablePromise<GetApiLocationServiceCountryNumbersByIdResponse> {
908
- return this.httpRequest.request({
909
- method: 'GET',
910
- url: '/api/location-service/country-numbers/{id}',
911
- path: {
912
- id: data.id
913
- },
914
- errors: {
915
- 400: 'Bad Request',
916
- 401: 'Unauthorized',
917
- 403: 'Forbidden',
918
- 404: 'Not Found',
919
- 500: 'Server Error',
920
- 501: 'Server Error'
921
- }
922
- });
923
- }
924
-
925
- /**
926
- * @param data The data for the request.
927
- * @param data.id
928
- * @param data.requestBody
929
- * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
930
- * @throws ApiError
931
- */
932
- public putApiLocationServiceCountryNumbersById(data: PutApiLocationServiceCountryNumbersByIdData): CancelablePromise<PutApiLocationServiceCountryNumbersByIdResponse> {
933
- return this.httpRequest.request({
934
- method: 'PUT',
935
- url: '/api/location-service/country-numbers/{id}',
936
- path: {
937
- id: data.id
938
- },
939
- body: data.requestBody,
940
- mediaType: 'application/json',
941
- errors: {
942
- 400: 'Bad Request',
943
- 401: 'Unauthorized',
944
- 403: 'Forbidden',
945
- 404: 'Not Found',
946
- 500: 'Server Error',
947
- 501: 'Server Error'
948
- }
949
- });
950
- }
951
-
952
- /**
953
- * @param data The data for the request.
954
- * @param data.id
955
- * @returns unknown Success
956
- * @throws ApiError
957
- */
958
- public deleteApiLocationServiceCountryNumbersById(data: DeleteApiLocationServiceCountryNumbersByIdData): CancelablePromise<DeleteApiLocationServiceCountryNumbersByIdResponse> {
959
- return this.httpRequest.request({
960
- method: 'DELETE',
961
- url: '/api/location-service/country-numbers/{id}',
962
- path: {
963
- id: data.id
964
- },
965
- errors: {
966
- 400: 'Bad Request',
967
- 401: 'Unauthorized',
968
- 403: 'Forbidden',
969
- 404: 'Not Found',
970
- 500: 'Server Error',
971
- 501: 'Server Error'
972
- }
973
- });
974
- }
975
-
976
- }
977
-
978
- export class CountryTimeService {
979
- constructor(public readonly httpRequest: BaseHttpRequest) { }
980
-
981
- /**
982
- * @param data The data for the request.
983
- * @param data.sorting
984
- * @param data.skipCount
985
- * @param data.maxResultCount
986
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryTimes_CountryTimeDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
987
- * @throws ApiError
988
- */
989
- public getApiLocationServiceCountryTimes(data: GetApiLocationServiceCountryTimesData = {}): CancelablePromise<GetApiLocationServiceCountryTimesResponse> {
990
- return this.httpRequest.request({
991
- method: 'GET',
992
- url: '/api/location-service/country-times',
993
- query: {
994
- Sorting: data.sorting,
995
- SkipCount: data.skipCount,
996
- MaxResultCount: data.maxResultCount
997
- },
998
- errors: {
999
- 400: 'Bad Request',
1000
- 401: 'Unauthorized',
1001
- 403: 'Forbidden',
1002
- 404: 'Not Found',
1003
- 500: 'Server Error',
1004
- 501: 'Server Error'
1005
- }
1006
- });
1007
- }
1008
-
1009
- /**
1010
- * @param data The data for the request.
1011
- * @param data.requestBody
1012
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1013
- * @throws ApiError
1014
- */
1015
- public postApiLocationServiceCountryTimes(data: PostApiLocationServiceCountryTimesData = {}): CancelablePromise<PostApiLocationServiceCountryTimesResponse> {
1016
- return this.httpRequest.request({
1017
- method: 'POST',
1018
- url: '/api/location-service/country-times',
1019
- body: data.requestBody,
1020
- mediaType: 'application/json',
1021
- errors: {
1022
- 400: 'Bad Request',
1023
- 401: 'Unauthorized',
1024
- 403: 'Forbidden',
1025
- 404: 'Not Found',
1026
- 500: 'Server Error',
1027
- 501: 'Server Error'
1028
- }
1029
- });
1030
- }
1031
-
1032
- /**
1033
- * @param data The data for the request.
1034
- * @param data.id
1035
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1036
- * @throws ApiError
1037
- */
1038
- public getApiLocationServiceCountryTimesById(data: GetApiLocationServiceCountryTimesByIdData): CancelablePromise<GetApiLocationServiceCountryTimesByIdResponse> {
1039
- return this.httpRequest.request({
1040
- method: 'GET',
1041
- url: '/api/location-service/country-times/{id}',
1042
- path: {
1043
- id: data.id
1044
- },
1045
- errors: {
1046
- 400: 'Bad Request',
1047
- 401: 'Unauthorized',
1048
- 403: 'Forbidden',
1049
- 404: 'Not Found',
1050
- 500: 'Server Error',
1051
- 501: 'Server Error'
1052
- }
1053
- });
1054
- }
1055
-
1056
- /**
1057
- * @param data The data for the request.
1058
- * @param data.id
1059
- * @param data.requestBody
1060
- * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1061
- * @throws ApiError
1062
- */
1063
- public putApiLocationServiceCountryTimesById(data: PutApiLocationServiceCountryTimesByIdData): CancelablePromise<PutApiLocationServiceCountryTimesByIdResponse> {
1064
- return this.httpRequest.request({
1065
- method: 'PUT',
1066
- url: '/api/location-service/country-times/{id}',
1067
- path: {
1068
- id: data.id
1069
- },
1070
- body: data.requestBody,
1071
- mediaType: 'application/json',
1072
- errors: {
1073
- 400: 'Bad Request',
1074
- 401: 'Unauthorized',
1075
- 403: 'Forbidden',
1076
- 404: 'Not Found',
1077
- 500: 'Server Error',
1078
- 501: 'Server Error'
1079
- }
1080
- });
1081
- }
1082
-
1083
- /**
1084
- * @param data The data for the request.
1085
- * @param data.id
1086
- * @returns unknown Success
1087
- * @throws ApiError
1088
- */
1089
- public deleteApiLocationServiceCountryTimesById(data: DeleteApiLocationServiceCountryTimesByIdData): CancelablePromise<DeleteApiLocationServiceCountryTimesByIdResponse> {
1090
- return this.httpRequest.request({
1091
- method: 'DELETE',
1092
- url: '/api/location-service/country-times/{id}',
1093
- path: {
1094
- id: data.id
1095
- },
1096
- errors: {
1097
- 400: 'Bad Request',
1098
- 401: 'Unauthorized',
1099
- 403: 'Forbidden',
1100
- 404: 'Not Found',
1101
- 500: 'Server Error',
1102
- 501: 'Server Error'
1103
- }
1104
- });
1105
- }
1106
-
1107
- }
1108
-
1109
- export class DistrictService {
1110
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1111
-
1112
- /**
1113
- * @param data The data for the request.
1114
- * @param data.sorting
1115
- * @param data.skipCount
1116
- * @param data.maxResultCount
1117
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Districts_DistrictDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1118
- * @throws ApiError
1119
- */
1120
- public getApiLocationServiceDistricts(data: GetApiLocationServiceDistrictsData = {}): CancelablePromise<GetApiLocationServiceDistrictsResponse> {
1121
- return this.httpRequest.request({
1122
- method: 'GET',
1123
- url: '/api/location-service/districts',
1124
- query: {
1125
- Sorting: data.sorting,
1126
- SkipCount: data.skipCount,
1127
- MaxResultCount: data.maxResultCount
1128
- },
1129
- errors: {
1130
- 400: 'Bad Request',
1131
- 401: 'Unauthorized',
1132
- 403: 'Forbidden',
1133
- 404: 'Not Found',
1134
- 500: 'Server Error',
1135
- 501: 'Server Error'
1136
- }
1137
- });
1138
- }
1139
-
1140
- /**
1141
- * @param data The data for the request.
1142
- * @param data.requestBody
1143
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1144
- * @throws ApiError
1145
- */
1146
- public postApiLocationServiceDistricts(data: PostApiLocationServiceDistrictsData = {}): CancelablePromise<PostApiLocationServiceDistrictsResponse> {
1147
- return this.httpRequest.request({
1148
- method: 'POST',
1149
- url: '/api/location-service/districts',
1150
- body: data.requestBody,
1151
- mediaType: 'application/json',
1152
- errors: {
1153
- 400: 'Bad Request',
1154
- 401: 'Unauthorized',
1155
- 403: 'Forbidden',
1156
- 404: 'Not Found',
1157
- 500: 'Server Error',
1158
- 501: 'Server Error'
1159
- }
1160
- });
1161
- }
1162
-
1163
- /**
1164
- * @param data The data for the request.
1165
- * @param data.cityId
1166
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1167
- * @throws ApiError
1168
- */
1169
- public getApiLocationServiceDistrictsGetListByCityByCityId(data: GetApiLocationServiceDistrictsGetListByCityByCityIdData): CancelablePromise<GetApiLocationServiceDistrictsGetListByCityByCityIdResponse> {
1170
- return this.httpRequest.request({
1171
- method: 'GET',
1172
- url: '/api/location-service/districts/get-list-by-city/{cityId}',
1173
- path: {
1174
- cityId: data.cityId
1175
- },
1176
- errors: {
1177
- 400: 'Bad Request',
1178
- 401: 'Unauthorized',
1179
- 403: 'Forbidden',
1180
- 404: 'Not Found',
1181
- 500: 'Server Error',
1182
- 501: 'Server Error'
1183
- }
1184
- });
1185
- }
1186
-
1187
- /**
1188
- * @param data The data for the request.
1189
- * @param data.id
1190
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1191
- * @throws ApiError
1192
- */
1193
- public getApiLocationServiceDistrictsById(data: GetApiLocationServiceDistrictsByIdData): CancelablePromise<GetApiLocationServiceDistrictsByIdResponse> {
1194
- return this.httpRequest.request({
1195
- method: 'GET',
1196
- url: '/api/location-service/districts/{id}',
1197
- path: {
1198
- id: data.id
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.id
1214
- * @param data.requestBody
1215
- * @returns UniRefund_LocationService_Districts_DistrictDto Success
1216
- * @throws ApiError
1217
- */
1218
- public putApiLocationServiceDistrictsById(data: PutApiLocationServiceDistrictsByIdData): CancelablePromise<PutApiLocationServiceDistrictsByIdResponse> {
1219
- return this.httpRequest.request({
1220
- method: 'PUT',
1221
- url: '/api/location-service/districts/{id}',
1222
- path: {
1223
- id: data.id
1224
- },
1225
- body: data.requestBody,
1226
- mediaType: 'application/json',
1227
- errors: {
1228
- 400: 'Bad Request',
1229
- 401: 'Unauthorized',
1230
- 403: 'Forbidden',
1231
- 404: 'Not Found',
1232
- 500: 'Server Error',
1233
- 501: 'Server Error'
1234
- }
1235
- });
1236
- }
1237
-
1238
- /**
1239
- * @param data The data for the request.
1240
- * @param data.id
1241
- * @returns unknown Success
1242
- * @throws ApiError
1243
- */
1244
- public deleteApiLocationServiceDistrictsById(data: DeleteApiLocationServiceDistrictsByIdData): CancelablePromise<DeleteApiLocationServiceDistrictsByIdResponse> {
1245
- return this.httpRequest.request({
1246
- method: 'DELETE',
1247
- url: '/api/location-service/districts/{id}',
1248
- path: {
1249
- id: data.id
1250
- },
1251
- errors: {
1252
- 400: 'Bad Request',
1253
- 401: 'Unauthorized',
1254
- 403: 'Forbidden',
1255
- 404: 'Not Found',
1256
- 500: 'Server Error',
1257
- 501: 'Server Error'
1258
- }
1259
- });
1260
- }
1261
-
1262
- }
1263
-
1264
- export class NeighborhoodService {
1265
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1266
-
1267
- /**
1268
- * @param data The data for the request.
1269
- * @param data.sorting
1270
- * @param data.skipCount
1271
- * @param data.maxResultCount
1272
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Neighborhoods_NeighborhoodDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1273
- * @throws ApiError
1274
- */
1275
- public getApiLocationServiceNeighborhoods(data: GetApiLocationServiceNeighborhoodsData = {}): CancelablePromise<GetApiLocationServiceNeighborhoodsResponse> {
1276
- return this.httpRequest.request({
1277
- method: 'GET',
1278
- url: '/api/location-service/neighborhoods',
1279
- query: {
1280
- Sorting: data.sorting,
1281
- SkipCount: data.skipCount,
1282
- MaxResultCount: data.maxResultCount
1283
- },
1284
- errors: {
1285
- 400: 'Bad Request',
1286
- 401: 'Unauthorized',
1287
- 403: 'Forbidden',
1288
- 404: 'Not Found',
1289
- 500: 'Server Error',
1290
- 501: 'Server Error'
1291
- }
1292
- });
1293
- }
1294
-
1295
- /**
1296
- * @param data The data for the request.
1297
- * @param data.requestBody
1298
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1299
- * @throws ApiError
1300
- */
1301
- public postApiLocationServiceNeighborhoods(data: PostApiLocationServiceNeighborhoodsData = {}): CancelablePromise<PostApiLocationServiceNeighborhoodsResponse> {
1302
- return this.httpRequest.request({
1303
- method: 'POST',
1304
- url: '/api/location-service/neighborhoods',
1305
- body: data.requestBody,
1306
- mediaType: 'application/json',
1307
- errors: {
1308
- 400: 'Bad Request',
1309
- 401: 'Unauthorized',
1310
- 403: 'Forbidden',
1311
- 404: 'Not Found',
1312
- 500: 'Server Error',
1313
- 501: 'Server Error'
1314
- }
1315
- });
1316
- }
1317
-
1318
- /**
1319
- * @param data The data for the request.
1320
- * @param data.districtId
1321
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1322
- * @throws ApiError
1323
- */
1324
- public getApiLocationServiceNeighborhoodsGetListByDistrictByDistrictId(data: GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse> {
1325
- return this.httpRequest.request({
1326
- method: 'GET',
1327
- url: '/api/location-service/neighborhoods/get-list-by-district/{districtId}',
1328
- path: {
1329
- districtId: data.districtId
1330
- },
1331
- errors: {
1332
- 400: 'Bad Request',
1333
- 401: 'Unauthorized',
1334
- 403: 'Forbidden',
1335
- 404: 'Not Found',
1336
- 500: 'Server Error',
1337
- 501: 'Server Error'
1338
- }
1339
- });
1340
- }
1341
-
1342
- /**
1343
- * @param data The data for the request.
1344
- * @param data.id
1345
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1346
- * @throws ApiError
1347
- */
1348
- public getApiLocationServiceNeighborhoodsById(data: GetApiLocationServiceNeighborhoodsByIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsByIdResponse> {
1349
- return this.httpRequest.request({
1350
- method: 'GET',
1351
- url: '/api/location-service/neighborhoods/{id}',
1352
- path: {
1353
- id: data.id
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.id
1369
- * @param data.requestBody
1370
- * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1371
- * @throws ApiError
1372
- */
1373
- public putApiLocationServiceNeighborhoodsById(data: PutApiLocationServiceNeighborhoodsByIdData): CancelablePromise<PutApiLocationServiceNeighborhoodsByIdResponse> {
1374
- return this.httpRequest.request({
1375
- method: 'PUT',
1376
- url: '/api/location-service/neighborhoods/{id}',
1377
- path: {
1378
- id: data.id
1379
- },
1380
- body: data.requestBody,
1381
- mediaType: 'application/json',
1382
- errors: {
1383
- 400: 'Bad Request',
1384
- 401: 'Unauthorized',
1385
- 403: 'Forbidden',
1386
- 404: 'Not Found',
1387
- 500: 'Server Error',
1388
- 501: 'Server Error'
1389
- }
1390
- });
1391
- }
1392
-
1393
- /**
1394
- * @param data The data for the request.
1395
- * @param data.id
1396
- * @returns unknown Success
1397
- * @throws ApiError
1398
- */
1399
- public deleteApiLocationServiceNeighborhoodsById(data: DeleteApiLocationServiceNeighborhoodsByIdData): CancelablePromise<DeleteApiLocationServiceNeighborhoodsByIdResponse> {
1400
- return this.httpRequest.request({
1401
- method: 'DELETE',
1402
- url: '/api/location-service/neighborhoods/{id}',
1403
- path: {
1404
- id: data.id
1405
- },
1406
- errors: {
1407
- 400: 'Bad Request',
1408
- 401: 'Unauthorized',
1409
- 403: 'Forbidden',
1410
- 404: 'Not Found',
1411
- 500: 'Server Error',
1412
- 501: 'Server Error'
1413
- }
1414
- });
1415
- }
1416
-
1417
- }
1418
-
1419
- export class RegionService {
1420
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1421
-
1422
- /**
1423
- * @param data The data for the request.
1424
- * @param data.sorting
1425
- * @param data.skipCount
1426
- * @param data.maxResultCount
1427
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Regions_RegionDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1428
- * @throws ApiError
1429
- */
1430
- public getApiLocationServiceRegions(data: GetApiLocationServiceRegionsData = {}): CancelablePromise<GetApiLocationServiceRegionsResponse> {
1431
- return this.httpRequest.request({
1432
- method: 'GET',
1433
- url: '/api/location-service/regions',
1434
- query: {
1435
- Sorting: data.sorting,
1436
- SkipCount: data.skipCount,
1437
- MaxResultCount: data.maxResultCount
1438
- },
1439
- errors: {
1440
- 400: 'Bad Request',
1441
- 401: 'Unauthorized',
1442
- 403: 'Forbidden',
1443
- 404: 'Not Found',
1444
- 500: 'Server Error',
1445
- 501: 'Server Error'
1446
- }
1447
- });
1448
- }
1449
-
1450
- /**
1451
- * @param data The data for the request.
1452
- * @param data.requestBody
1453
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1454
- * @throws ApiError
1455
- */
1456
- public postApiLocationServiceRegions(data: PostApiLocationServiceRegionsData = {}): CancelablePromise<PostApiLocationServiceRegionsResponse> {
1457
- return this.httpRequest.request({
1458
- method: 'POST',
1459
- url: '/api/location-service/regions',
1460
- body: data.requestBody,
1461
- mediaType: 'application/json',
1462
- errors: {
1463
- 400: 'Bad Request',
1464
- 401: 'Unauthorized',
1465
- 403: 'Forbidden',
1466
- 404: 'Not Found',
1467
- 500: 'Server Error',
1468
- 501: 'Server Error'
1469
- }
1470
- });
1471
- }
1472
-
1473
- /**
1474
- * @param data The data for the request.
1475
- * @param data.countryId
1476
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1477
- * @throws ApiError
1478
- */
1479
- public getApiLocationServiceRegionsGetListByCountryByCountryId(data: GetApiLocationServiceRegionsGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse> {
1480
- return this.httpRequest.request({
1481
- method: 'GET',
1482
- url: '/api/location-service/regions/get-list-by-country/{countryId}',
1483
- path: {
1484
- countryId: data.countryId
1485
- },
1486
- errors: {
1487
- 400: 'Bad Request',
1488
- 401: 'Unauthorized',
1489
- 403: 'Forbidden',
1490
- 404: 'Not Found',
1491
- 500: 'Server Error',
1492
- 501: 'Server Error'
1493
- }
1494
- });
1495
- }
1496
-
1497
- /**
1498
- * @param data The data for the request.
1499
- * @param data.id
1500
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1501
- * @throws ApiError
1502
- */
1503
- public getApiLocationServiceRegionsById(data: GetApiLocationServiceRegionsByIdData): CancelablePromise<GetApiLocationServiceRegionsByIdResponse> {
1504
- return this.httpRequest.request({
1505
- method: 'GET',
1506
- url: '/api/location-service/regions/{id}',
1507
- path: {
1508
- id: data.id
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.id
1524
- * @param data.requestBody
1525
- * @returns UniRefund_LocationService_Regions_RegionDto Success
1526
- * @throws ApiError
1527
- */
1528
- public putApiLocationServiceRegionsById(data: PutApiLocationServiceRegionsByIdData): CancelablePromise<PutApiLocationServiceRegionsByIdResponse> {
1529
- return this.httpRequest.request({
1530
- method: 'PUT',
1531
- url: '/api/location-service/regions/{id}',
1532
- path: {
1533
- id: data.id
1534
- },
1535
- body: data.requestBody,
1536
- mediaType: 'application/json',
1537
- errors: {
1538
- 400: 'Bad Request',
1539
- 401: 'Unauthorized',
1540
- 403: 'Forbidden',
1541
- 404: 'Not Found',
1542
- 500: 'Server Error',
1543
- 501: 'Server Error'
1544
- }
1545
- });
1546
- }
1547
-
1548
- /**
1549
- * @param data The data for the request.
1550
- * @param data.id
1551
- * @returns unknown Success
1552
- * @throws ApiError
1553
- */
1554
- public deleteApiLocationServiceRegionsById(data: DeleteApiLocationServiceRegionsByIdData): CancelablePromise<DeleteApiLocationServiceRegionsByIdResponse> {
1555
- return this.httpRequest.request({
1556
- method: 'DELETE',
1557
- url: '/api/location-service/regions/{id}',
1558
- path: {
1559
- id: data.id
1560
- },
1561
- errors: {
1562
- 400: 'Bad Request',
1563
- 401: 'Unauthorized',
1564
- 403: 'Forbidden',
1565
- 404: 'Not Found',
1566
- 500: 'Server Error',
1567
- 501: 'Server Error'
1568
- }
1569
- });
1570
- }
1571
-
1572
- /**
1573
- * @param data The data for the request.
1574
- * @param data.countryId
1575
- * @returns string Success
1576
- * @throws ApiError
1577
- */
1578
- public getApiLocationServiceRegionsGetDefaultRegionIdByCountryId(data: GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse> {
1579
- return this.httpRequest.request({
1580
- method: 'GET',
1581
- url: '/api/location-service/regions/get-default-regionId/{countryId}',
1582
- path: {
1583
- countryId: data.countryId
1584
- },
1585
- errors: {
1586
- 400: 'Bad Request',
1587
- 401: 'Unauthorized',
1588
- 403: 'Forbidden',
1589
- 404: 'Not Found',
1590
- 500: 'Server Error',
1591
- 501: 'Server Error'
1592
- }
1593
- });
1594
- }
1595
-
1596
- }
1597
-
1598
- export class RegionalSettingService {
1599
- constructor(public readonly httpRequest: BaseHttpRequest) { }
1600
-
1601
- /**
1602
- * @param data The data for the request.
1603
- * @param data.sorting
1604
- * @param data.skipCount
1605
- * @param data.maxResultCount
1606
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_RegionalSettings_RegionalSettingDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1607
- * @throws ApiError
1608
- */
1609
- public getApiLocationServiceRegionalSettings(data: GetApiLocationServiceRegionalSettingsData = {}): CancelablePromise<GetApiLocationServiceRegionalSettingsResponse> {
1610
- return this.httpRequest.request({
1611
- method: 'GET',
1612
- url: '/api/location-service/regionalSettings',
1613
- query: {
1614
- Sorting: data.sorting,
1615
- SkipCount: data.skipCount,
1616
- MaxResultCount: data.maxResultCount
1617
- },
1618
- errors: {
1619
- 400: 'Bad Request',
1620
- 401: 'Unauthorized',
1621
- 403: 'Forbidden',
1622
- 404: 'Not Found',
1623
- 500: 'Server Error',
1624
- 501: 'Server Error'
1625
- }
1626
- });
1627
- }
1628
-
1629
- /**
1630
- * @param data The data for the request.
1631
- * @param data.requestBody
1632
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1633
- * @throws ApiError
1634
- */
1635
- public postApiLocationServiceRegionalSettings(data: PostApiLocationServiceRegionalSettingsData = {}): CancelablePromise<PostApiLocationServiceRegionalSettingsResponse> {
1636
- return this.httpRequest.request({
1637
- method: 'POST',
1638
- url: '/api/location-service/regionalSettings',
1639
- body: data.requestBody,
1640
- mediaType: 'application/json',
1641
- errors: {
1642
- 400: 'Bad Request',
1643
- 401: 'Unauthorized',
1644
- 403: 'Forbidden',
1645
- 404: 'Not Found',
1646
- 500: 'Server Error',
1647
- 501: 'Server Error'
1648
- }
1649
- });
1650
- }
1651
-
1652
- /**
1653
- * @param data The data for the request.
1654
- * @param data.id
1655
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1656
- * @throws ApiError
1657
- */
1658
- public getApiLocationServiceRegionalSettingsById(data: GetApiLocationServiceRegionalSettingsByIdData): CancelablePromise<GetApiLocationServiceRegionalSettingsByIdResponse> {
1659
- return this.httpRequest.request({
1660
- method: 'GET',
1661
- url: '/api/location-service/regionalSettings/{id}',
1662
- path: {
1663
- id: data.id
1664
- },
1665
- errors: {
1666
- 400: 'Bad Request',
1667
- 401: 'Unauthorized',
1668
- 403: 'Forbidden',
1669
- 404: 'Not Found',
1670
- 500: 'Server Error',
1671
- 501: 'Server Error'
1672
- }
1673
- });
1674
- }
1675
-
1676
- /**
1677
- * @param data The data for the request.
1678
- * @param data.id
1679
- * @param data.requestBody
1680
- * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1681
- * @throws ApiError
1682
- */
1683
- public putApiLocationServiceRegionalSettingsById(data: PutApiLocationServiceRegionalSettingsByIdData): CancelablePromise<PutApiLocationServiceRegionalSettingsByIdResponse> {
1684
- return this.httpRequest.request({
1685
- method: 'PUT',
1686
- url: '/api/location-service/regionalSettings/{id}',
1687
- path: {
1688
- id: data.id
1689
- },
1690
- body: data.requestBody,
1691
- mediaType: 'application/json',
1692
- errors: {
1693
- 400: 'Bad Request',
1694
- 401: 'Unauthorized',
1695
- 403: 'Forbidden',
1696
- 404: 'Not Found',
1697
- 500: 'Server Error',
1698
- 501: 'Server Error'
1699
- }
1700
- });
1701
- }
1702
-
1703
- /**
1704
- * @param data The data for the request.
1705
- * @param data.id
1706
- * @returns unknown Success
1707
- * @throws ApiError
1708
- */
1709
- public deleteApiLocationServiceRegionalSettingsById(data: DeleteApiLocationServiceRegionalSettingsByIdData): CancelablePromise<DeleteApiLocationServiceRegionalSettingsByIdResponse> {
1710
- return this.httpRequest.request({
1711
- method: 'DELETE',
1712
- url: '/api/location-service/regionalSettings/{id}',
1713
- path: {
1714
- id: data.id
1715
- },
1716
- errors: {
1717
- 400: 'Bad Request',
1718
- 401: 'Unauthorized',
1719
- 403: 'Forbidden',
1720
- 404: 'Not Found',
1721
- 500: 'Server Error',
1722
- 501: 'Server Error'
1723
- }
1724
- });
1725
- }
1726
-
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, GetApiLocationServiceCitiesData, GetApiLocationServiceCitiesResponse, PostApiLocationServiceCitiesData, PostApiLocationServiceCitiesResponse, GetApiLocationServiceCitiesGetListByRegionByRegionIdData, GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse, 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 Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_AddressCommonDatas_AddressCommonDataDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> 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
+
251
+ export class CityService {
252
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
253
+
254
+ /**
255
+ * @param data The data for the request.
256
+ * @param data.sorting
257
+ * @param data.skipCount
258
+ * @param data.maxResultCount
259
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Cities_CityDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
260
+ * @throws ApiError
261
+ */
262
+ public getApiLocationServiceCities(data: GetApiLocationServiceCitiesData = {}): CancelablePromise<GetApiLocationServiceCitiesResponse> {
263
+ return this.httpRequest.request({
264
+ method: 'GET',
265
+ url: '/api/location-service/cities',
266
+ query: {
267
+ Sorting: data.sorting,
268
+ SkipCount: data.skipCount,
269
+ MaxResultCount: data.maxResultCount
270
+ },
271
+ errors: {
272
+ 400: 'Bad Request',
273
+ 401: 'Unauthorized',
274
+ 403: 'Forbidden',
275
+ 404: 'Not Found',
276
+ 500: 'Server Error',
277
+ 501: 'Server Error'
278
+ }
279
+ });
280
+ }
281
+
282
+ /**
283
+ * @param data The data for the request.
284
+ * @param data.requestBody
285
+ * @returns UniRefund_LocationService_Cities_CityDto Success
286
+ * @throws ApiError
287
+ */
288
+ public postApiLocationServiceCities(data: PostApiLocationServiceCitiesData = {}): CancelablePromise<PostApiLocationServiceCitiesResponse> {
289
+ return this.httpRequest.request({
290
+ method: 'POST',
291
+ url: '/api/location-service/cities',
292
+ body: data.requestBody,
293
+ mediaType: 'application/json',
294
+ errors: {
295
+ 400: 'Bad Request',
296
+ 401: 'Unauthorized',
297
+ 403: 'Forbidden',
298
+ 404: 'Not Found',
299
+ 500: 'Server Error',
300
+ 501: 'Server Error'
301
+ }
302
+ });
303
+ }
304
+
305
+ /**
306
+ * @param data The data for the request.
307
+ * @param data.regionId
308
+ * @returns UniRefund_LocationService_Cities_CityDto Success
309
+ * @throws ApiError
310
+ */
311
+ public getApiLocationServiceCitiesGetListByRegionByRegionId(data: GetApiLocationServiceCitiesGetListByRegionByRegionIdData): CancelablePromise<GetApiLocationServiceCitiesGetListByRegionByRegionIdResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'GET',
314
+ url: '/api/location-service/cities/get-list-by-region/{regionId}',
315
+ path: {
316
+ regionId: data.regionId
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.id
332
+ * @returns UniRefund_LocationService_Cities_CityDto Success
333
+ * @throws ApiError
334
+ */
335
+ public getApiLocationServiceCitiesById(data: GetApiLocationServiceCitiesByIdData): CancelablePromise<GetApiLocationServiceCitiesByIdResponse> {
336
+ return this.httpRequest.request({
337
+ method: 'GET',
338
+ url: '/api/location-service/cities/{id}',
339
+ path: {
340
+ id: data.id
341
+ },
342
+ errors: {
343
+ 400: 'Bad Request',
344
+ 401: 'Unauthorized',
345
+ 403: 'Forbidden',
346
+ 404: 'Not Found',
347
+ 500: 'Server Error',
348
+ 501: 'Server Error'
349
+ }
350
+ });
351
+ }
352
+
353
+ /**
354
+ * @param data The data for the request.
355
+ * @param data.id
356
+ * @param data.requestBody
357
+ * @returns UniRefund_LocationService_Cities_CityDto Success
358
+ * @throws ApiError
359
+ */
360
+ public putApiLocationServiceCitiesById(data: PutApiLocationServiceCitiesByIdData): CancelablePromise<PutApiLocationServiceCitiesByIdResponse> {
361
+ return this.httpRequest.request({
362
+ method: 'PUT',
363
+ url: '/api/location-service/cities/{id}',
364
+ path: {
365
+ id: data.id
366
+ },
367
+ body: data.requestBody,
368
+ mediaType: 'application/json',
369
+ errors: {
370
+ 400: 'Bad Request',
371
+ 401: 'Unauthorized',
372
+ 403: 'Forbidden',
373
+ 404: 'Not Found',
374
+ 500: 'Server Error',
375
+ 501: 'Server Error'
376
+ }
377
+ });
378
+ }
379
+
380
+ /**
381
+ * @param data The data for the request.
382
+ * @param data.id
383
+ * @returns unknown Success
384
+ * @throws ApiError
385
+ */
386
+ public deleteApiLocationServiceCitiesById(data: DeleteApiLocationServiceCitiesByIdData): CancelablePromise<DeleteApiLocationServiceCitiesByIdResponse> {
387
+ return this.httpRequest.request({
388
+ method: 'DELETE',
389
+ url: '/api/location-service/cities/{id}',
390
+ path: {
391
+ id: data.id
392
+ },
393
+ errors: {
394
+ 400: 'Bad Request',
395
+ 401: 'Unauthorized',
396
+ 403: 'Forbidden',
397
+ 404: 'Not Found',
398
+ 500: 'Server Error',
399
+ 501: 'Server Error'
400
+ }
401
+ });
402
+ }
403
+
404
+ }
405
+
406
+ export class CountryService {
407
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
408
+
409
+ /**
410
+ * @param data The data for the request.
411
+ * @param data.sorting
412
+ * @param data.skipCount
413
+ * @param data.maxResultCount
414
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Countries_CountryDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
415
+ * @throws ApiError
416
+ */
417
+ public getApiLocationServiceCountries(data: GetApiLocationServiceCountriesData = {}): CancelablePromise<GetApiLocationServiceCountriesResponse> {
418
+ return this.httpRequest.request({
419
+ method: 'GET',
420
+ url: '/api/location-service/countries',
421
+ query: {
422
+ Sorting: data.sorting,
423
+ SkipCount: data.skipCount,
424
+ MaxResultCount: data.maxResultCount
425
+ },
426
+ errors: {
427
+ 400: 'Bad Request',
428
+ 401: 'Unauthorized',
429
+ 403: 'Forbidden',
430
+ 404: 'Not Found',
431
+ 500: 'Server Error',
432
+ 501: 'Server Error'
433
+ }
434
+ });
435
+ }
436
+
437
+ /**
438
+ * @param data The data for the request.
439
+ * @param data.requestBody
440
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
441
+ * @throws ApiError
442
+ */
443
+ public postApiLocationServiceCountries(data: PostApiLocationServiceCountriesData = {}): CancelablePromise<PostApiLocationServiceCountriesResponse> {
444
+ return this.httpRequest.request({
445
+ method: 'POST',
446
+ url: '/api/location-service/countries',
447
+ body: data.requestBody,
448
+ mediaType: 'application/json',
449
+ errors: {
450
+ 400: 'Bad Request',
451
+ 401: 'Unauthorized',
452
+ 403: 'Forbidden',
453
+ 404: 'Not Found',
454
+ 500: 'Server Error',
455
+ 501: 'Server Error'
456
+ }
457
+ });
458
+ }
459
+
460
+ /**
461
+ * @param data The data for the request.
462
+ * @param data.id
463
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
464
+ * @throws ApiError
465
+ */
466
+ public getApiLocationServiceCountriesById(data: GetApiLocationServiceCountriesByIdData): CancelablePromise<GetApiLocationServiceCountriesByIdResponse> {
467
+ return this.httpRequest.request({
468
+ method: 'GET',
469
+ url: '/api/location-service/countries/{id}',
470
+ path: {
471
+ id: data.id
472
+ },
473
+ errors: {
474
+ 400: 'Bad Request',
475
+ 401: 'Unauthorized',
476
+ 403: 'Forbidden',
477
+ 404: 'Not Found',
478
+ 500: 'Server Error',
479
+ 501: 'Server Error'
480
+ }
481
+ });
482
+ }
483
+
484
+ /**
485
+ * @param data The data for the request.
486
+ * @param data.id
487
+ * @param data.requestBody
488
+ * @returns UniRefund_LocationService_Countries_CountryDto Success
489
+ * @throws ApiError
490
+ */
491
+ public putApiLocationServiceCountriesById(data: PutApiLocationServiceCountriesByIdData): CancelablePromise<PutApiLocationServiceCountriesByIdResponse> {
492
+ return this.httpRequest.request({
493
+ method: 'PUT',
494
+ url: '/api/location-service/countries/{id}',
495
+ path: {
496
+ id: data.id
497
+ },
498
+ body: data.requestBody,
499
+ mediaType: 'application/json',
500
+ errors: {
501
+ 400: 'Bad Request',
502
+ 401: 'Unauthorized',
503
+ 403: 'Forbidden',
504
+ 404: 'Not Found',
505
+ 500: 'Server Error',
506
+ 501: 'Server Error'
507
+ }
508
+ });
509
+ }
510
+
511
+ /**
512
+ * @param data The data for the request.
513
+ * @param data.id
514
+ * @returns unknown Success
515
+ * @throws ApiError
516
+ */
517
+ public deleteApiLocationServiceCountriesById(data: DeleteApiLocationServiceCountriesByIdData): CancelablePromise<DeleteApiLocationServiceCountriesByIdResponse> {
518
+ return this.httpRequest.request({
519
+ method: 'DELETE',
520
+ url: '/api/location-service/countries/{id}',
521
+ path: {
522
+ id: data.id
523
+ },
524
+ errors: {
525
+ 400: 'Bad Request',
526
+ 401: 'Unauthorized',
527
+ 403: 'Forbidden',
528
+ 404: 'Not Found',
529
+ 500: 'Server Error',
530
+ 501: 'Server Error'
531
+ }
532
+ });
533
+ }
534
+
535
+ /**
536
+ * @param data The data for the request.
537
+ * @param data.countryId
538
+ * @returns string Success
539
+ * @throws ApiError
540
+ */
541
+ public getApiLocationServiceCountriesGetNameIfExistsByCountryId(data: GetApiLocationServiceCountriesGetNameIfExistsByCountryIdData): CancelablePromise<GetApiLocationServiceCountriesGetNameIfExistsByCountryIdResponse> {
542
+ return this.httpRequest.request({
543
+ method: 'GET',
544
+ url: '/api/location-service/countries/get-name-if-exists/{countryId}',
545
+ path: {
546
+ countryId: data.countryId
547
+ },
548
+ errors: {
549
+ 400: 'Bad Request',
550
+ 401: 'Unauthorized',
551
+ 403: 'Forbidden',
552
+ 404: 'Not Found',
553
+ 500: 'Server Error',
554
+ 501: 'Server Error'
555
+ }
556
+ });
557
+ }
558
+
559
+ /**
560
+ * @param data The data for the request.
561
+ * @param data.codes
562
+ * @returns UniRefund_LocationService_Countries_GetCountryNameDto Success
563
+ * @throws ApiError
564
+ */
565
+ public getApiLocationServiceCountriesNames(data: GetApiLocationServiceCountriesNamesData = {}): CancelablePromise<GetApiLocationServiceCountriesNamesResponse> {
566
+ return this.httpRequest.request({
567
+ method: 'GET',
568
+ url: '/api/location-service/countries/names',
569
+ query: {
570
+ codes: data.codes
571
+ },
572
+ errors: {
573
+ 400: 'Bad Request',
574
+ 401: 'Unauthorized',
575
+ 403: 'Forbidden',
576
+ 404: 'Not Found',
577
+ 500: 'Server Error',
578
+ 501: 'Server Error'
579
+ }
580
+ });
581
+ }
582
+
583
+ }
584
+
585
+ export class CountryCurrencyService {
586
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
587
+
588
+ /**
589
+ * @param data The data for the request.
590
+ * @param data.sorting
591
+ * @param data.skipCount
592
+ * @param data.maxResultCount
593
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
594
+ * @throws ApiError
595
+ */
596
+ public getApiLocationServiceCountryCurrencies(data: GetApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<GetApiLocationServiceCountryCurrenciesResponse> {
597
+ return this.httpRequest.request({
598
+ method: 'GET',
599
+ url: '/api/location-service/country-currencies',
600
+ query: {
601
+ Sorting: data.sorting,
602
+ SkipCount: data.skipCount,
603
+ MaxResultCount: data.maxResultCount
604
+ },
605
+ errors: {
606
+ 400: 'Bad Request',
607
+ 401: 'Unauthorized',
608
+ 403: 'Forbidden',
609
+ 404: 'Not Found',
610
+ 500: 'Server Error',
611
+ 501: 'Server Error'
612
+ }
613
+ });
614
+ }
615
+
616
+ /**
617
+ * @param data The data for the request.
618
+ * @param data.requestBody
619
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
620
+ * @throws ApiError
621
+ */
622
+ public postApiLocationServiceCountryCurrencies(data: PostApiLocationServiceCountryCurrenciesData = {}): CancelablePromise<PostApiLocationServiceCountryCurrenciesResponse> {
623
+ return this.httpRequest.request({
624
+ method: 'POST',
625
+ url: '/api/location-service/country-currencies',
626
+ body: data.requestBody,
627
+ mediaType: 'application/json',
628
+ errors: {
629
+ 400: 'Bad Request',
630
+ 401: 'Unauthorized',
631
+ 403: 'Forbidden',
632
+ 404: 'Not Found',
633
+ 500: 'Server Error',
634
+ 501: 'Server Error'
635
+ }
636
+ });
637
+ }
638
+
639
+ /**
640
+ * @param data The data for the request.
641
+ * @param data.id
642
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
643
+ * @throws ApiError
644
+ */
645
+ public getApiLocationServiceCountryCurrenciesById(data: GetApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<GetApiLocationServiceCountryCurrenciesByIdResponse> {
646
+ return this.httpRequest.request({
647
+ method: 'GET',
648
+ url: '/api/location-service/country-currencies/{id}',
649
+ path: {
650
+ id: data.id
651
+ },
652
+ errors: {
653
+ 400: 'Bad Request',
654
+ 401: 'Unauthorized',
655
+ 403: 'Forbidden',
656
+ 404: 'Not Found',
657
+ 500: 'Server Error',
658
+ 501: 'Server Error'
659
+ }
660
+ });
661
+ }
662
+
663
+ /**
664
+ * @param data The data for the request.
665
+ * @param data.id
666
+ * @param data.requestBody
667
+ * @returns UniRefund_LocationService_CountryCurrencies_CountryCurrencyDto Success
668
+ * @throws ApiError
669
+ */
670
+ public putApiLocationServiceCountryCurrenciesById(data: PutApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<PutApiLocationServiceCountryCurrenciesByIdResponse> {
671
+ return this.httpRequest.request({
672
+ method: 'PUT',
673
+ url: '/api/location-service/country-currencies/{id}',
674
+ path: {
675
+ id: data.id
676
+ },
677
+ body: data.requestBody,
678
+ mediaType: 'application/json',
679
+ errors: {
680
+ 400: 'Bad Request',
681
+ 401: 'Unauthorized',
682
+ 403: 'Forbidden',
683
+ 404: 'Not Found',
684
+ 500: 'Server Error',
685
+ 501: 'Server Error'
686
+ }
687
+ });
688
+ }
689
+
690
+ /**
691
+ * @param data The data for the request.
692
+ * @param data.id
693
+ * @returns unknown Success
694
+ * @throws ApiError
695
+ */
696
+ public deleteApiLocationServiceCountryCurrenciesById(data: DeleteApiLocationServiceCountryCurrenciesByIdData): CancelablePromise<DeleteApiLocationServiceCountryCurrenciesByIdResponse> {
697
+ return this.httpRequest.request({
698
+ method: 'DELETE',
699
+ url: '/api/location-service/country-currencies/{id}',
700
+ path: {
701
+ id: data.id
702
+ },
703
+ errors: {
704
+ 400: 'Bad Request',
705
+ 401: 'Unauthorized',
706
+ 403: 'Forbidden',
707
+ 404: 'Not Found',
708
+ 500: 'Server Error',
709
+ 501: 'Server Error'
710
+ }
711
+ });
712
+ }
713
+
714
+ }
715
+
716
+ export class CountryDateService {
717
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
718
+
719
+ /**
720
+ * @param data The data for the request.
721
+ * @param data.sorting
722
+ * @param data.skipCount
723
+ * @param data.maxResultCount
724
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryDates_CountryDateDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
725
+ * @throws ApiError
726
+ */
727
+ public getApiLocationServiceCountryDates(data: GetApiLocationServiceCountryDatesData = {}): CancelablePromise<GetApiLocationServiceCountryDatesResponse> {
728
+ return this.httpRequest.request({
729
+ method: 'GET',
730
+ url: '/api/location-service/country-dates',
731
+ query: {
732
+ Sorting: data.sorting,
733
+ SkipCount: data.skipCount,
734
+ MaxResultCount: data.maxResultCount
735
+ },
736
+ errors: {
737
+ 400: 'Bad Request',
738
+ 401: 'Unauthorized',
739
+ 403: 'Forbidden',
740
+ 404: 'Not Found',
741
+ 500: 'Server Error',
742
+ 501: 'Server Error'
743
+ }
744
+ });
745
+ }
746
+
747
+ /**
748
+ * @param data The data for the request.
749
+ * @param data.requestBody
750
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
751
+ * @throws ApiError
752
+ */
753
+ public postApiLocationServiceCountryDates(data: PostApiLocationServiceCountryDatesData = {}): CancelablePromise<PostApiLocationServiceCountryDatesResponse> {
754
+ return this.httpRequest.request({
755
+ method: 'POST',
756
+ url: '/api/location-service/country-dates',
757
+ body: data.requestBody,
758
+ mediaType: 'application/json',
759
+ errors: {
760
+ 400: 'Bad Request',
761
+ 401: 'Unauthorized',
762
+ 403: 'Forbidden',
763
+ 404: 'Not Found',
764
+ 500: 'Server Error',
765
+ 501: 'Server Error'
766
+ }
767
+ });
768
+ }
769
+
770
+ /**
771
+ * @param data The data for the request.
772
+ * @param data.id
773
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
774
+ * @throws ApiError
775
+ */
776
+ public getApiLocationServiceCountryDatesById(data: GetApiLocationServiceCountryDatesByIdData): CancelablePromise<GetApiLocationServiceCountryDatesByIdResponse> {
777
+ return this.httpRequest.request({
778
+ method: 'GET',
779
+ url: '/api/location-service/country-dates/{id}',
780
+ path: {
781
+ id: data.id
782
+ },
783
+ errors: {
784
+ 400: 'Bad Request',
785
+ 401: 'Unauthorized',
786
+ 403: 'Forbidden',
787
+ 404: 'Not Found',
788
+ 500: 'Server Error',
789
+ 501: 'Server Error'
790
+ }
791
+ });
792
+ }
793
+
794
+ /**
795
+ * @param data The data for the request.
796
+ * @param data.id
797
+ * @param data.requestBody
798
+ * @returns UniRefund_LocationService_CountryDates_CountryDateDto Success
799
+ * @throws ApiError
800
+ */
801
+ public putApiLocationServiceCountryDatesById(data: PutApiLocationServiceCountryDatesByIdData): CancelablePromise<PutApiLocationServiceCountryDatesByIdResponse> {
802
+ return this.httpRequest.request({
803
+ method: 'PUT',
804
+ url: '/api/location-service/country-dates/{id}',
805
+ path: {
806
+ id: data.id
807
+ },
808
+ body: data.requestBody,
809
+ mediaType: 'application/json',
810
+ errors: {
811
+ 400: 'Bad Request',
812
+ 401: 'Unauthorized',
813
+ 403: 'Forbidden',
814
+ 404: 'Not Found',
815
+ 500: 'Server Error',
816
+ 501: 'Server Error'
817
+ }
818
+ });
819
+ }
820
+
821
+ /**
822
+ * @param data The data for the request.
823
+ * @param data.id
824
+ * @returns unknown Success
825
+ * @throws ApiError
826
+ */
827
+ public deleteApiLocationServiceCountryDatesById(data: DeleteApiLocationServiceCountryDatesByIdData): CancelablePromise<DeleteApiLocationServiceCountryDatesByIdResponse> {
828
+ return this.httpRequest.request({
829
+ method: 'DELETE',
830
+ url: '/api/location-service/country-dates/{id}',
831
+ path: {
832
+ id: data.id
833
+ },
834
+ errors: {
835
+ 400: 'Bad Request',
836
+ 401: 'Unauthorized',
837
+ 403: 'Forbidden',
838
+ 404: 'Not Found',
839
+ 500: 'Server Error',
840
+ 501: 'Server Error'
841
+ }
842
+ });
843
+ }
844
+
845
+ }
846
+
847
+ export class CountryNumberService {
848
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
849
+
850
+ /**
851
+ * @param data The data for the request.
852
+ * @param data.sorting
853
+ * @param data.skipCount
854
+ * @param data.maxResultCount
855
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryNumbers_CountryNumberDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
856
+ * @throws ApiError
857
+ */
858
+ public getApiLocationServiceCountryNumbers(data: GetApiLocationServiceCountryNumbersData = {}): CancelablePromise<GetApiLocationServiceCountryNumbersResponse> {
859
+ return this.httpRequest.request({
860
+ method: 'GET',
861
+ url: '/api/location-service/country-numbers',
862
+ query: {
863
+ Sorting: data.sorting,
864
+ SkipCount: data.skipCount,
865
+ MaxResultCount: data.maxResultCount
866
+ },
867
+ errors: {
868
+ 400: 'Bad Request',
869
+ 401: 'Unauthorized',
870
+ 403: 'Forbidden',
871
+ 404: 'Not Found',
872
+ 500: 'Server Error',
873
+ 501: 'Server Error'
874
+ }
875
+ });
876
+ }
877
+
878
+ /**
879
+ * @param data The data for the request.
880
+ * @param data.requestBody
881
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
882
+ * @throws ApiError
883
+ */
884
+ public postApiLocationServiceCountryNumbers(data: PostApiLocationServiceCountryNumbersData = {}): CancelablePromise<PostApiLocationServiceCountryNumbersResponse> {
885
+ return this.httpRequest.request({
886
+ method: 'POST',
887
+ url: '/api/location-service/country-numbers',
888
+ body: data.requestBody,
889
+ mediaType: 'application/json',
890
+ errors: {
891
+ 400: 'Bad Request',
892
+ 401: 'Unauthorized',
893
+ 403: 'Forbidden',
894
+ 404: 'Not Found',
895
+ 500: 'Server Error',
896
+ 501: 'Server Error'
897
+ }
898
+ });
899
+ }
900
+
901
+ /**
902
+ * @param data The data for the request.
903
+ * @param data.id
904
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
905
+ * @throws ApiError
906
+ */
907
+ public getApiLocationServiceCountryNumbersById(data: GetApiLocationServiceCountryNumbersByIdData): CancelablePromise<GetApiLocationServiceCountryNumbersByIdResponse> {
908
+ return this.httpRequest.request({
909
+ method: 'GET',
910
+ url: '/api/location-service/country-numbers/{id}',
911
+ path: {
912
+ id: data.id
913
+ },
914
+ errors: {
915
+ 400: 'Bad Request',
916
+ 401: 'Unauthorized',
917
+ 403: 'Forbidden',
918
+ 404: 'Not Found',
919
+ 500: 'Server Error',
920
+ 501: 'Server Error'
921
+ }
922
+ });
923
+ }
924
+
925
+ /**
926
+ * @param data The data for the request.
927
+ * @param data.id
928
+ * @param data.requestBody
929
+ * @returns UniRefund_LocationService_CountryNumbers_CountryNumberDto Success
930
+ * @throws ApiError
931
+ */
932
+ public putApiLocationServiceCountryNumbersById(data: PutApiLocationServiceCountryNumbersByIdData): CancelablePromise<PutApiLocationServiceCountryNumbersByIdResponse> {
933
+ return this.httpRequest.request({
934
+ method: 'PUT',
935
+ url: '/api/location-service/country-numbers/{id}',
936
+ path: {
937
+ id: data.id
938
+ },
939
+ body: data.requestBody,
940
+ mediaType: 'application/json',
941
+ errors: {
942
+ 400: 'Bad Request',
943
+ 401: 'Unauthorized',
944
+ 403: 'Forbidden',
945
+ 404: 'Not Found',
946
+ 500: 'Server Error',
947
+ 501: 'Server Error'
948
+ }
949
+ });
950
+ }
951
+
952
+ /**
953
+ * @param data The data for the request.
954
+ * @param data.id
955
+ * @returns unknown Success
956
+ * @throws ApiError
957
+ */
958
+ public deleteApiLocationServiceCountryNumbersById(data: DeleteApiLocationServiceCountryNumbersByIdData): CancelablePromise<DeleteApiLocationServiceCountryNumbersByIdResponse> {
959
+ return this.httpRequest.request({
960
+ method: 'DELETE',
961
+ url: '/api/location-service/country-numbers/{id}',
962
+ path: {
963
+ id: data.id
964
+ },
965
+ errors: {
966
+ 400: 'Bad Request',
967
+ 401: 'Unauthorized',
968
+ 403: 'Forbidden',
969
+ 404: 'Not Found',
970
+ 500: 'Server Error',
971
+ 501: 'Server Error'
972
+ }
973
+ });
974
+ }
975
+
976
+ }
977
+
978
+ export class CountryTimeService {
979
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
980
+
981
+ /**
982
+ * @param data The data for the request.
983
+ * @param data.sorting
984
+ * @param data.skipCount
985
+ * @param data.maxResultCount
986
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_CountryTimes_CountryTimeDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
987
+ * @throws ApiError
988
+ */
989
+ public getApiLocationServiceCountryTimes(data: GetApiLocationServiceCountryTimesData = {}): CancelablePromise<GetApiLocationServiceCountryTimesResponse> {
990
+ return this.httpRequest.request({
991
+ method: 'GET',
992
+ url: '/api/location-service/country-times',
993
+ query: {
994
+ Sorting: data.sorting,
995
+ SkipCount: data.skipCount,
996
+ MaxResultCount: data.maxResultCount
997
+ },
998
+ errors: {
999
+ 400: 'Bad Request',
1000
+ 401: 'Unauthorized',
1001
+ 403: 'Forbidden',
1002
+ 404: 'Not Found',
1003
+ 500: 'Server Error',
1004
+ 501: 'Server Error'
1005
+ }
1006
+ });
1007
+ }
1008
+
1009
+ /**
1010
+ * @param data The data for the request.
1011
+ * @param data.requestBody
1012
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1013
+ * @throws ApiError
1014
+ */
1015
+ public postApiLocationServiceCountryTimes(data: PostApiLocationServiceCountryTimesData = {}): CancelablePromise<PostApiLocationServiceCountryTimesResponse> {
1016
+ return this.httpRequest.request({
1017
+ method: 'POST',
1018
+ url: '/api/location-service/country-times',
1019
+ body: data.requestBody,
1020
+ mediaType: 'application/json',
1021
+ errors: {
1022
+ 400: 'Bad Request',
1023
+ 401: 'Unauthorized',
1024
+ 403: 'Forbidden',
1025
+ 404: 'Not Found',
1026
+ 500: 'Server Error',
1027
+ 501: 'Server Error'
1028
+ }
1029
+ });
1030
+ }
1031
+
1032
+ /**
1033
+ * @param data The data for the request.
1034
+ * @param data.id
1035
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1036
+ * @throws ApiError
1037
+ */
1038
+ public getApiLocationServiceCountryTimesById(data: GetApiLocationServiceCountryTimesByIdData): CancelablePromise<GetApiLocationServiceCountryTimesByIdResponse> {
1039
+ return this.httpRequest.request({
1040
+ method: 'GET',
1041
+ url: '/api/location-service/country-times/{id}',
1042
+ path: {
1043
+ id: data.id
1044
+ },
1045
+ errors: {
1046
+ 400: 'Bad Request',
1047
+ 401: 'Unauthorized',
1048
+ 403: 'Forbidden',
1049
+ 404: 'Not Found',
1050
+ 500: 'Server Error',
1051
+ 501: 'Server Error'
1052
+ }
1053
+ });
1054
+ }
1055
+
1056
+ /**
1057
+ * @param data The data for the request.
1058
+ * @param data.id
1059
+ * @param data.requestBody
1060
+ * @returns UniRefund_LocationService_CountryTimes_CountryTimeDto Success
1061
+ * @throws ApiError
1062
+ */
1063
+ public putApiLocationServiceCountryTimesById(data: PutApiLocationServiceCountryTimesByIdData): CancelablePromise<PutApiLocationServiceCountryTimesByIdResponse> {
1064
+ return this.httpRequest.request({
1065
+ method: 'PUT',
1066
+ url: '/api/location-service/country-times/{id}',
1067
+ path: {
1068
+ id: data.id
1069
+ },
1070
+ body: data.requestBody,
1071
+ mediaType: 'application/json',
1072
+ errors: {
1073
+ 400: 'Bad Request',
1074
+ 401: 'Unauthorized',
1075
+ 403: 'Forbidden',
1076
+ 404: 'Not Found',
1077
+ 500: 'Server Error',
1078
+ 501: 'Server Error'
1079
+ }
1080
+ });
1081
+ }
1082
+
1083
+ /**
1084
+ * @param data The data for the request.
1085
+ * @param data.id
1086
+ * @returns unknown Success
1087
+ * @throws ApiError
1088
+ */
1089
+ public deleteApiLocationServiceCountryTimesById(data: DeleteApiLocationServiceCountryTimesByIdData): CancelablePromise<DeleteApiLocationServiceCountryTimesByIdResponse> {
1090
+ return this.httpRequest.request({
1091
+ method: 'DELETE',
1092
+ url: '/api/location-service/country-times/{id}',
1093
+ path: {
1094
+ id: data.id
1095
+ },
1096
+ errors: {
1097
+ 400: 'Bad Request',
1098
+ 401: 'Unauthorized',
1099
+ 403: 'Forbidden',
1100
+ 404: 'Not Found',
1101
+ 500: 'Server Error',
1102
+ 501: 'Server Error'
1103
+ }
1104
+ });
1105
+ }
1106
+
1107
+ }
1108
+
1109
+ export class DistrictService {
1110
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1111
+
1112
+ /**
1113
+ * @param data The data for the request.
1114
+ * @param data.sorting
1115
+ * @param data.skipCount
1116
+ * @param data.maxResultCount
1117
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Districts_DistrictDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1118
+ * @throws ApiError
1119
+ */
1120
+ public getApiLocationServiceDistricts(data: GetApiLocationServiceDistrictsData = {}): CancelablePromise<GetApiLocationServiceDistrictsResponse> {
1121
+ return this.httpRequest.request({
1122
+ method: 'GET',
1123
+ url: '/api/location-service/districts',
1124
+ query: {
1125
+ Sorting: data.sorting,
1126
+ SkipCount: data.skipCount,
1127
+ MaxResultCount: data.maxResultCount
1128
+ },
1129
+ errors: {
1130
+ 400: 'Bad Request',
1131
+ 401: 'Unauthorized',
1132
+ 403: 'Forbidden',
1133
+ 404: 'Not Found',
1134
+ 500: 'Server Error',
1135
+ 501: 'Server Error'
1136
+ }
1137
+ });
1138
+ }
1139
+
1140
+ /**
1141
+ * @param data The data for the request.
1142
+ * @param data.requestBody
1143
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1144
+ * @throws ApiError
1145
+ */
1146
+ public postApiLocationServiceDistricts(data: PostApiLocationServiceDistrictsData = {}): CancelablePromise<PostApiLocationServiceDistrictsResponse> {
1147
+ return this.httpRequest.request({
1148
+ method: 'POST',
1149
+ url: '/api/location-service/districts',
1150
+ body: data.requestBody,
1151
+ mediaType: 'application/json',
1152
+ errors: {
1153
+ 400: 'Bad Request',
1154
+ 401: 'Unauthorized',
1155
+ 403: 'Forbidden',
1156
+ 404: 'Not Found',
1157
+ 500: 'Server Error',
1158
+ 501: 'Server Error'
1159
+ }
1160
+ });
1161
+ }
1162
+
1163
+ /**
1164
+ * @param data The data for the request.
1165
+ * @param data.cityId
1166
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1167
+ * @throws ApiError
1168
+ */
1169
+ public getApiLocationServiceDistrictsGetListByCityByCityId(data: GetApiLocationServiceDistrictsGetListByCityByCityIdData): CancelablePromise<GetApiLocationServiceDistrictsGetListByCityByCityIdResponse> {
1170
+ return this.httpRequest.request({
1171
+ method: 'GET',
1172
+ url: '/api/location-service/districts/get-list-by-city/{cityId}',
1173
+ path: {
1174
+ cityId: data.cityId
1175
+ },
1176
+ errors: {
1177
+ 400: 'Bad Request',
1178
+ 401: 'Unauthorized',
1179
+ 403: 'Forbidden',
1180
+ 404: 'Not Found',
1181
+ 500: 'Server Error',
1182
+ 501: 'Server Error'
1183
+ }
1184
+ });
1185
+ }
1186
+
1187
+ /**
1188
+ * @param data The data for the request.
1189
+ * @param data.id
1190
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1191
+ * @throws ApiError
1192
+ */
1193
+ public getApiLocationServiceDistrictsById(data: GetApiLocationServiceDistrictsByIdData): CancelablePromise<GetApiLocationServiceDistrictsByIdResponse> {
1194
+ return this.httpRequest.request({
1195
+ method: 'GET',
1196
+ url: '/api/location-service/districts/{id}',
1197
+ path: {
1198
+ id: data.id
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.id
1214
+ * @param data.requestBody
1215
+ * @returns UniRefund_LocationService_Districts_DistrictDto Success
1216
+ * @throws ApiError
1217
+ */
1218
+ public putApiLocationServiceDistrictsById(data: PutApiLocationServiceDistrictsByIdData): CancelablePromise<PutApiLocationServiceDistrictsByIdResponse> {
1219
+ return this.httpRequest.request({
1220
+ method: 'PUT',
1221
+ url: '/api/location-service/districts/{id}',
1222
+ path: {
1223
+ id: data.id
1224
+ },
1225
+ body: data.requestBody,
1226
+ mediaType: 'application/json',
1227
+ errors: {
1228
+ 400: 'Bad Request',
1229
+ 401: 'Unauthorized',
1230
+ 403: 'Forbidden',
1231
+ 404: 'Not Found',
1232
+ 500: 'Server Error',
1233
+ 501: 'Server Error'
1234
+ }
1235
+ });
1236
+ }
1237
+
1238
+ /**
1239
+ * @param data The data for the request.
1240
+ * @param data.id
1241
+ * @returns unknown Success
1242
+ * @throws ApiError
1243
+ */
1244
+ public deleteApiLocationServiceDistrictsById(data: DeleteApiLocationServiceDistrictsByIdData): CancelablePromise<DeleteApiLocationServiceDistrictsByIdResponse> {
1245
+ return this.httpRequest.request({
1246
+ method: 'DELETE',
1247
+ url: '/api/location-service/districts/{id}',
1248
+ path: {
1249
+ id: data.id
1250
+ },
1251
+ errors: {
1252
+ 400: 'Bad Request',
1253
+ 401: 'Unauthorized',
1254
+ 403: 'Forbidden',
1255
+ 404: 'Not Found',
1256
+ 500: 'Server Error',
1257
+ 501: 'Server Error'
1258
+ }
1259
+ });
1260
+ }
1261
+
1262
+ }
1263
+
1264
+ export class NeighborhoodService {
1265
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1266
+
1267
+ /**
1268
+ * @param data The data for the request.
1269
+ * @param data.sorting
1270
+ * @param data.skipCount
1271
+ * @param data.maxResultCount
1272
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Neighborhoods_NeighborhoodDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1273
+ * @throws ApiError
1274
+ */
1275
+ public getApiLocationServiceNeighborhoods(data: GetApiLocationServiceNeighborhoodsData = {}): CancelablePromise<GetApiLocationServiceNeighborhoodsResponse> {
1276
+ return this.httpRequest.request({
1277
+ method: 'GET',
1278
+ url: '/api/location-service/neighborhoods',
1279
+ query: {
1280
+ Sorting: data.sorting,
1281
+ SkipCount: data.skipCount,
1282
+ MaxResultCount: data.maxResultCount
1283
+ },
1284
+ errors: {
1285
+ 400: 'Bad Request',
1286
+ 401: 'Unauthorized',
1287
+ 403: 'Forbidden',
1288
+ 404: 'Not Found',
1289
+ 500: 'Server Error',
1290
+ 501: 'Server Error'
1291
+ }
1292
+ });
1293
+ }
1294
+
1295
+ /**
1296
+ * @param data The data for the request.
1297
+ * @param data.requestBody
1298
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1299
+ * @throws ApiError
1300
+ */
1301
+ public postApiLocationServiceNeighborhoods(data: PostApiLocationServiceNeighborhoodsData = {}): CancelablePromise<PostApiLocationServiceNeighborhoodsResponse> {
1302
+ return this.httpRequest.request({
1303
+ method: 'POST',
1304
+ url: '/api/location-service/neighborhoods',
1305
+ body: data.requestBody,
1306
+ mediaType: 'application/json',
1307
+ errors: {
1308
+ 400: 'Bad Request',
1309
+ 401: 'Unauthorized',
1310
+ 403: 'Forbidden',
1311
+ 404: 'Not Found',
1312
+ 500: 'Server Error',
1313
+ 501: 'Server Error'
1314
+ }
1315
+ });
1316
+ }
1317
+
1318
+ /**
1319
+ * @param data The data for the request.
1320
+ * @param data.districtId
1321
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1322
+ * @throws ApiError
1323
+ */
1324
+ public getApiLocationServiceNeighborhoodsGetListByDistrictByDistrictId(data: GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsGetListByDistrictByDistrictIdResponse> {
1325
+ return this.httpRequest.request({
1326
+ method: 'GET',
1327
+ url: '/api/location-service/neighborhoods/get-list-by-district/{districtId}',
1328
+ path: {
1329
+ districtId: data.districtId
1330
+ },
1331
+ errors: {
1332
+ 400: 'Bad Request',
1333
+ 401: 'Unauthorized',
1334
+ 403: 'Forbidden',
1335
+ 404: 'Not Found',
1336
+ 500: 'Server Error',
1337
+ 501: 'Server Error'
1338
+ }
1339
+ });
1340
+ }
1341
+
1342
+ /**
1343
+ * @param data The data for the request.
1344
+ * @param data.id
1345
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1346
+ * @throws ApiError
1347
+ */
1348
+ public getApiLocationServiceNeighborhoodsById(data: GetApiLocationServiceNeighborhoodsByIdData): CancelablePromise<GetApiLocationServiceNeighborhoodsByIdResponse> {
1349
+ return this.httpRequest.request({
1350
+ method: 'GET',
1351
+ url: '/api/location-service/neighborhoods/{id}',
1352
+ path: {
1353
+ id: data.id
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.id
1369
+ * @param data.requestBody
1370
+ * @returns UniRefund_LocationService_Neighborhoods_NeighborhoodDto Success
1371
+ * @throws ApiError
1372
+ */
1373
+ public putApiLocationServiceNeighborhoodsById(data: PutApiLocationServiceNeighborhoodsByIdData): CancelablePromise<PutApiLocationServiceNeighborhoodsByIdResponse> {
1374
+ return this.httpRequest.request({
1375
+ method: 'PUT',
1376
+ url: '/api/location-service/neighborhoods/{id}',
1377
+ path: {
1378
+ id: data.id
1379
+ },
1380
+ body: data.requestBody,
1381
+ mediaType: 'application/json',
1382
+ errors: {
1383
+ 400: 'Bad Request',
1384
+ 401: 'Unauthorized',
1385
+ 403: 'Forbidden',
1386
+ 404: 'Not Found',
1387
+ 500: 'Server Error',
1388
+ 501: 'Server Error'
1389
+ }
1390
+ });
1391
+ }
1392
+
1393
+ /**
1394
+ * @param data The data for the request.
1395
+ * @param data.id
1396
+ * @returns unknown Success
1397
+ * @throws ApiError
1398
+ */
1399
+ public deleteApiLocationServiceNeighborhoodsById(data: DeleteApiLocationServiceNeighborhoodsByIdData): CancelablePromise<DeleteApiLocationServiceNeighborhoodsByIdResponse> {
1400
+ return this.httpRequest.request({
1401
+ method: 'DELETE',
1402
+ url: '/api/location-service/neighborhoods/{id}',
1403
+ path: {
1404
+ id: data.id
1405
+ },
1406
+ errors: {
1407
+ 400: 'Bad Request',
1408
+ 401: 'Unauthorized',
1409
+ 403: 'Forbidden',
1410
+ 404: 'Not Found',
1411
+ 500: 'Server Error',
1412
+ 501: 'Server Error'
1413
+ }
1414
+ });
1415
+ }
1416
+
1417
+ }
1418
+
1419
+ export class RegionService {
1420
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1421
+
1422
+ /**
1423
+ * @param data The data for the request.
1424
+ * @param data.sorting
1425
+ * @param data.skipCount
1426
+ * @param data.maxResultCount
1427
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_Regions_RegionDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1428
+ * @throws ApiError
1429
+ */
1430
+ public getApiLocationServiceRegions(data: GetApiLocationServiceRegionsData = {}): CancelablePromise<GetApiLocationServiceRegionsResponse> {
1431
+ return this.httpRequest.request({
1432
+ method: 'GET',
1433
+ url: '/api/location-service/regions',
1434
+ query: {
1435
+ Sorting: data.sorting,
1436
+ SkipCount: data.skipCount,
1437
+ MaxResultCount: data.maxResultCount
1438
+ },
1439
+ errors: {
1440
+ 400: 'Bad Request',
1441
+ 401: 'Unauthorized',
1442
+ 403: 'Forbidden',
1443
+ 404: 'Not Found',
1444
+ 500: 'Server Error',
1445
+ 501: 'Server Error'
1446
+ }
1447
+ });
1448
+ }
1449
+
1450
+ /**
1451
+ * @param data The data for the request.
1452
+ * @param data.requestBody
1453
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1454
+ * @throws ApiError
1455
+ */
1456
+ public postApiLocationServiceRegions(data: PostApiLocationServiceRegionsData = {}): CancelablePromise<PostApiLocationServiceRegionsResponse> {
1457
+ return this.httpRequest.request({
1458
+ method: 'POST',
1459
+ url: '/api/location-service/regions',
1460
+ body: data.requestBody,
1461
+ mediaType: 'application/json',
1462
+ errors: {
1463
+ 400: 'Bad Request',
1464
+ 401: 'Unauthorized',
1465
+ 403: 'Forbidden',
1466
+ 404: 'Not Found',
1467
+ 500: 'Server Error',
1468
+ 501: 'Server Error'
1469
+ }
1470
+ });
1471
+ }
1472
+
1473
+ /**
1474
+ * @param data The data for the request.
1475
+ * @param data.countryId
1476
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1477
+ * @throws ApiError
1478
+ */
1479
+ public getApiLocationServiceRegionsGetListByCountryByCountryId(data: GetApiLocationServiceRegionsGetListByCountryByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetListByCountryByCountryIdResponse> {
1480
+ return this.httpRequest.request({
1481
+ method: 'GET',
1482
+ url: '/api/location-service/regions/get-list-by-country/{countryId}',
1483
+ path: {
1484
+ countryId: data.countryId
1485
+ },
1486
+ errors: {
1487
+ 400: 'Bad Request',
1488
+ 401: 'Unauthorized',
1489
+ 403: 'Forbidden',
1490
+ 404: 'Not Found',
1491
+ 500: 'Server Error',
1492
+ 501: 'Server Error'
1493
+ }
1494
+ });
1495
+ }
1496
+
1497
+ /**
1498
+ * @param data The data for the request.
1499
+ * @param data.id
1500
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1501
+ * @throws ApiError
1502
+ */
1503
+ public getApiLocationServiceRegionsById(data: GetApiLocationServiceRegionsByIdData): CancelablePromise<GetApiLocationServiceRegionsByIdResponse> {
1504
+ return this.httpRequest.request({
1505
+ method: 'GET',
1506
+ url: '/api/location-service/regions/{id}',
1507
+ path: {
1508
+ id: data.id
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.id
1524
+ * @param data.requestBody
1525
+ * @returns UniRefund_LocationService_Regions_RegionDto Success
1526
+ * @throws ApiError
1527
+ */
1528
+ public putApiLocationServiceRegionsById(data: PutApiLocationServiceRegionsByIdData): CancelablePromise<PutApiLocationServiceRegionsByIdResponse> {
1529
+ return this.httpRequest.request({
1530
+ method: 'PUT',
1531
+ url: '/api/location-service/regions/{id}',
1532
+ path: {
1533
+ id: data.id
1534
+ },
1535
+ body: data.requestBody,
1536
+ mediaType: 'application/json',
1537
+ errors: {
1538
+ 400: 'Bad Request',
1539
+ 401: 'Unauthorized',
1540
+ 403: 'Forbidden',
1541
+ 404: 'Not Found',
1542
+ 500: 'Server Error',
1543
+ 501: 'Server Error'
1544
+ }
1545
+ });
1546
+ }
1547
+
1548
+ /**
1549
+ * @param data The data for the request.
1550
+ * @param data.id
1551
+ * @returns unknown Success
1552
+ * @throws ApiError
1553
+ */
1554
+ public deleteApiLocationServiceRegionsById(data: DeleteApiLocationServiceRegionsByIdData): CancelablePromise<DeleteApiLocationServiceRegionsByIdResponse> {
1555
+ return this.httpRequest.request({
1556
+ method: 'DELETE',
1557
+ url: '/api/location-service/regions/{id}',
1558
+ path: {
1559
+ id: data.id
1560
+ },
1561
+ errors: {
1562
+ 400: 'Bad Request',
1563
+ 401: 'Unauthorized',
1564
+ 403: 'Forbidden',
1565
+ 404: 'Not Found',
1566
+ 500: 'Server Error',
1567
+ 501: 'Server Error'
1568
+ }
1569
+ });
1570
+ }
1571
+
1572
+ /**
1573
+ * @param data The data for the request.
1574
+ * @param data.countryId
1575
+ * @returns string Success
1576
+ * @throws ApiError
1577
+ */
1578
+ public getApiLocationServiceRegionsGetDefaultRegionIdByCountryId(data: GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdData): CancelablePromise<GetApiLocationServiceRegionsGetDefaultRegionIdByCountryIdResponse> {
1579
+ return this.httpRequest.request({
1580
+ method: 'GET',
1581
+ url: '/api/location-service/regions/get-default-regionId/{countryId}',
1582
+ path: {
1583
+ countryId: data.countryId
1584
+ },
1585
+ errors: {
1586
+ 400: 'Bad Request',
1587
+ 401: 'Unauthorized',
1588
+ 403: 'Forbidden',
1589
+ 404: 'Not Found',
1590
+ 500: 'Server Error',
1591
+ 501: 'Server Error'
1592
+ }
1593
+ });
1594
+ }
1595
+
1596
+ }
1597
+
1598
+ export class RegionalSettingService {
1599
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
1600
+
1601
+ /**
1602
+ * @param data The data for the request.
1603
+ * @param data.sorting
1604
+ * @param data.skipCount
1605
+ * @param data.maxResultCount
1606
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_LocationService_RegionalSettings_RegionalSettingDto__UniRefund_LocationService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
1607
+ * @throws ApiError
1608
+ */
1609
+ public getApiLocationServiceRegionalSettings(data: GetApiLocationServiceRegionalSettingsData = {}): CancelablePromise<GetApiLocationServiceRegionalSettingsResponse> {
1610
+ return this.httpRequest.request({
1611
+ method: 'GET',
1612
+ url: '/api/location-service/regionalSettings',
1613
+ query: {
1614
+ Sorting: data.sorting,
1615
+ SkipCount: data.skipCount,
1616
+ MaxResultCount: data.maxResultCount
1617
+ },
1618
+ errors: {
1619
+ 400: 'Bad Request',
1620
+ 401: 'Unauthorized',
1621
+ 403: 'Forbidden',
1622
+ 404: 'Not Found',
1623
+ 500: 'Server Error',
1624
+ 501: 'Server Error'
1625
+ }
1626
+ });
1627
+ }
1628
+
1629
+ /**
1630
+ * @param data The data for the request.
1631
+ * @param data.requestBody
1632
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1633
+ * @throws ApiError
1634
+ */
1635
+ public postApiLocationServiceRegionalSettings(data: PostApiLocationServiceRegionalSettingsData = {}): CancelablePromise<PostApiLocationServiceRegionalSettingsResponse> {
1636
+ return this.httpRequest.request({
1637
+ method: 'POST',
1638
+ url: '/api/location-service/regionalSettings',
1639
+ body: data.requestBody,
1640
+ mediaType: 'application/json',
1641
+ errors: {
1642
+ 400: 'Bad Request',
1643
+ 401: 'Unauthorized',
1644
+ 403: 'Forbidden',
1645
+ 404: 'Not Found',
1646
+ 500: 'Server Error',
1647
+ 501: 'Server Error'
1648
+ }
1649
+ });
1650
+ }
1651
+
1652
+ /**
1653
+ * @param data The data for the request.
1654
+ * @param data.id
1655
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1656
+ * @throws ApiError
1657
+ */
1658
+ public getApiLocationServiceRegionalSettingsById(data: GetApiLocationServiceRegionalSettingsByIdData): CancelablePromise<GetApiLocationServiceRegionalSettingsByIdResponse> {
1659
+ return this.httpRequest.request({
1660
+ method: 'GET',
1661
+ url: '/api/location-service/regionalSettings/{id}',
1662
+ path: {
1663
+ id: data.id
1664
+ },
1665
+ errors: {
1666
+ 400: 'Bad Request',
1667
+ 401: 'Unauthorized',
1668
+ 403: 'Forbidden',
1669
+ 404: 'Not Found',
1670
+ 500: 'Server Error',
1671
+ 501: 'Server Error'
1672
+ }
1673
+ });
1674
+ }
1675
+
1676
+ /**
1677
+ * @param data The data for the request.
1678
+ * @param data.id
1679
+ * @param data.requestBody
1680
+ * @returns UniRefund_LocationService_RegionalSettings_RegionalSettingDto Success
1681
+ * @throws ApiError
1682
+ */
1683
+ public putApiLocationServiceRegionalSettingsById(data: PutApiLocationServiceRegionalSettingsByIdData): CancelablePromise<PutApiLocationServiceRegionalSettingsByIdResponse> {
1684
+ return this.httpRequest.request({
1685
+ method: 'PUT',
1686
+ url: '/api/location-service/regionalSettings/{id}',
1687
+ path: {
1688
+ id: data.id
1689
+ },
1690
+ body: data.requestBody,
1691
+ mediaType: 'application/json',
1692
+ errors: {
1693
+ 400: 'Bad Request',
1694
+ 401: 'Unauthorized',
1695
+ 403: 'Forbidden',
1696
+ 404: 'Not Found',
1697
+ 500: 'Server Error',
1698
+ 501: 'Server Error'
1699
+ }
1700
+ });
1701
+ }
1702
+
1703
+ /**
1704
+ * @param data The data for the request.
1705
+ * @param data.id
1706
+ * @returns unknown Success
1707
+ * @throws ApiError
1708
+ */
1709
+ public deleteApiLocationServiceRegionalSettingsById(data: DeleteApiLocationServiceRegionalSettingsByIdData): CancelablePromise<DeleteApiLocationServiceRegionalSettingsByIdResponse> {
1710
+ return this.httpRequest.request({
1711
+ method: 'DELETE',
1712
+ url: '/api/location-service/regionalSettings/{id}',
1713
+ path: {
1714
+ id: data.id
1715
+ },
1716
+ errors: {
1717
+ 400: 'Bad Request',
1718
+ 401: 'Unauthorized',
1719
+ 403: 'Forbidden',
1720
+ 404: 'Not Found',
1721
+ 500: 'Server Error',
1722
+ 501: 'Server Error'
1723
+ }
1724
+ });
1725
+ }
1726
+
1727
1727
  }