@ayasofyazilim/saas 0.0.57 → 0.0.59

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 (112) 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/AdministrationService/AdministrationServiceClient.ts +77 -77
  9. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  10. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  11. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  12. package/AdministrationService/core/OpenAPI.ts +55 -55
  13. package/AdministrationService/core/request.ts +340 -340
  14. package/AdministrationService/index.ts +8 -8
  15. package/BackerService/core/ApiRequestOptions.ts +12 -12
  16. package/BackerService/core/BaseHttpRequest.ts +9 -9
  17. package/BackerService/core/FetchHttpRequest.ts +21 -21
  18. package/BackerService/core/OpenAPI.ts +55 -55
  19. package/BackerService/core/request.ts +340 -340
  20. package/BackerService/index.ts +8 -8
  21. package/BackerService/services.gen.ts +866 -866
  22. package/BackerService/types.gen.ts +2170 -2170
  23. package/ContractService/ContractServiceClient.ts +50 -50
  24. package/ContractService/schemas.gen.ts +9808 -9610
  25. package/ContractService/services.gen.ts +1716 -1760
  26. package/ContractService/types.gen.ts +3755 -3821
  27. package/ExportValidationService/ExportValidationServiceClient.ts +44 -0
  28. package/ExportValidationService/core/ApiError.ts +21 -0
  29. package/ExportValidationService/core/ApiRequestOptions.ts +13 -0
  30. package/ExportValidationService/core/ApiResult.ts +7 -0
  31. package/ExportValidationService/core/BaseHttpRequest.ts +10 -0
  32. package/ExportValidationService/core/CancelablePromise.ts +126 -0
  33. package/ExportValidationService/core/FetchHttpRequest.ts +22 -0
  34. package/ExportValidationService/core/OpenAPI.ts +56 -0
  35. package/ExportValidationService/core/request.ts +341 -0
  36. package/ExportValidationService/index.ts +9 -0
  37. package/ExportValidationService/schemas.gen.ts +3974 -0
  38. package/ExportValidationService/services.gen.ts +249 -0
  39. package/ExportValidationService/types.gen.ts +797 -0
  40. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  41. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  42. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  43. package/FundraiserService/core/OpenAPI.ts +55 -55
  44. package/FundraiserService/core/request.ts +340 -340
  45. package/FundraiserService/index.ts +8 -8
  46. package/FundraiserService/services.gen.ts +627 -627
  47. package/FundraiserService/types.gen.ts +1793 -1793
  48. package/IdentityService/IdentityServiceClient.ts +80 -80
  49. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  50. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  51. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  52. package/IdentityService/core/OpenAPI.ts +55 -55
  53. package/IdentityService/core/request.ts +340 -340
  54. package/IdentityService/index.ts +8 -8
  55. package/LocationService/LocationServiceClient.ts +74 -74
  56. package/LocationService/core/ApiError.ts +20 -20
  57. package/LocationService/core/ApiRequestOptions.ts +12 -12
  58. package/LocationService/core/ApiResult.ts +6 -6
  59. package/LocationService/core/BaseHttpRequest.ts +9 -9
  60. package/LocationService/core/CancelablePromise.ts +125 -125
  61. package/LocationService/core/FetchHttpRequest.ts +21 -21
  62. package/LocationService/core/OpenAPI.ts +55 -55
  63. package/LocationService/core/request.ts +340 -340
  64. package/LocationService/index.ts +8 -8
  65. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  66. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  67. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  68. package/MerchantService/core/OpenAPI.ts +55 -55
  69. package/MerchantService/core/request.ts +340 -340
  70. package/MerchantService/schemas.gen.ts +14764 -14764
  71. package/MerchantService/services.gen.ts +1602 -1602
  72. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  73. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  74. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  75. package/ProjectService/core/OpenAPI.ts +55 -55
  76. package/ProjectService/core/request.ts +340 -340
  77. package/ProjectService/index.ts +8 -8
  78. package/ProjectService/services.gen.ts +492 -492
  79. package/ProjectService/types.gen.ts +1303 -1303
  80. package/ProjectService.json +2937 -2937
  81. package/SaasService/core/ApiRequestOptions.ts +12 -12
  82. package/SaasService/core/BaseHttpRequest.ts +9 -9
  83. package/SaasService/core/FetchHttpRequest.ts +21 -21
  84. package/SaasService/core/OpenAPI.ts +55 -55
  85. package/SaasService/core/request.ts +340 -340
  86. package/SaasService/index.ts +8 -8
  87. package/TagService/TagServiceClient.ts +44 -44
  88. package/TagService/core/ApiError.ts +20 -20
  89. package/TagService/core/ApiRequestOptions.ts +12 -12
  90. package/TagService/core/ApiResult.ts +6 -6
  91. package/TagService/core/BaseHttpRequest.ts +9 -9
  92. package/TagService/core/CancelablePromise.ts +125 -125
  93. package/TagService/core/FetchHttpRequest.ts +21 -21
  94. package/TagService/core/OpenAPI.ts +55 -55
  95. package/TagService/core/request.ts +340 -340
  96. package/TagService/index.ts +8 -8
  97. package/TagService/schemas.gen.ts +5012 -5012
  98. package/TagService/services.gen.ts +310 -310
  99. package/TagService/types.gen.ts +990 -990
  100. package/TravellerService/TravellerServiceClient.ts +56 -56
  101. package/TravellerService/core/ApiError.ts +20 -20
  102. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  103. package/TravellerService/core/ApiResult.ts +6 -6
  104. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  105. package/TravellerService/core/CancelablePromise.ts +125 -125
  106. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  107. package/TravellerService/core/OpenAPI.ts +55 -55
  108. package/TravellerService/core/request.ts +340 -340
  109. package/TravellerService/index.ts +8 -8
  110. package/generator.mjs +7 -2
  111. package/package.json +1 -1
  112. package/swagger.json +4794 -4794
@@ -1,867 +1,867 @@
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, PostApiBackerServiceBackersData, PostApiBackerServiceBackersResponse, GetApiBackerServiceBackersData, GetApiBackerServiceBackersResponse, PutApiBackerServiceBackersData, PutApiBackerServiceBackersResponse, DeleteApiBackerServiceBackersData, DeleteApiBackerServiceBackersResponse, GetApiBackerServiceBackersByIdData, GetApiBackerServiceBackersByIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeByBackerIdData, PostApiBackerServiceBackersEntityInformationTypeByBackerIdResponse, PostApiBackerServiceBackersAffiliationTypeByBackerIdData, PostApiBackerServiceBackersAffiliationTypeByBackerIdResponse, PostApiBackerServiceBackersWithComponentsData, PostApiBackerServiceBackersWithComponentsResponse, GetApiBackerServiceBackersDetailByIdData, GetApiBackerServiceBackersDetailByIdResponse, GetApiBackerServiceBackersListMyBackersResponse, PostApiBackerServiceIndividualsData, PostApiBackerServiceIndividualsResponse, DeleteApiBackerServiceIndividualsData, DeleteApiBackerServiceIndividualsResponse, GetApiBackerServiceIndividualsData, GetApiBackerServiceIndividualsResponse, PutApiBackerServiceIndividualsData, PutApiBackerServiceIndividualsResponse, PostApiBackerServiceIndividualsIndependentData, PostApiBackerServiceIndividualsIndependentResponse, PostApiBackerServiceIndividualsPersonalSummaryData, PostApiBackerServiceIndividualsPersonalSummaryResponse, PostApiBackerServiceIndividualsWithIdData, PostApiBackerServiceIndividualsWithIdResponse, GetApiBackerServiceIndividualsByIdData, GetApiBackerServiceIndividualsByIdResponse, PostApiBackerServiceOrganizationsData, PostApiBackerServiceOrganizationsResponse, DeleteApiBackerServiceOrganizationsData, DeleteApiBackerServiceOrganizationsResponse, GetApiBackerServiceOrganizationsData, GetApiBackerServiceOrganizationsResponse, PutApiBackerServiceOrganizationsData, PutApiBackerServiceOrganizationsResponse, PostApiBackerServiceOrganizationsIndependentData, PostApiBackerServiceOrganizationsIndependentResponse, PostApiBackerServiceOrganizationsWithIdData, PostApiBackerServiceOrganizationsWithIdResponse, GetApiBackerServiceOrganizationsByIdData, GetApiBackerServiceOrganizationsByIdResponse } 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 BackerService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.requestBody
102
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
103
- * @throws ApiError
104
- */
105
- public postApiBackerServiceBackers(data: PostApiBackerServiceBackersData = {}): CancelablePromise<PostApiBackerServiceBackersResponse> {
106
- return this.httpRequest.request({
107
- method: 'POST',
108
- url: '/api/backer-service/backers',
109
- body: data.requestBody,
110
- mediaType: 'application/json',
111
- errors: {
112
- 400: 'Bad Request',
113
- 401: 'Unauthorized',
114
- 403: 'Forbidden',
115
- 404: 'Not Found',
116
- 500: 'Server Error',
117
- 501: 'Server Error'
118
- }
119
- });
120
- }
121
-
122
- /**
123
- * @param data The data for the request.
124
- * @param data.skipCount
125
- * @param data.maxResultCount
126
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Backers_BackerDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
127
- * @throws ApiError
128
- */
129
- public getApiBackerServiceBackers(data: GetApiBackerServiceBackersData = {}): CancelablePromise<GetApiBackerServiceBackersResponse> {
130
- return this.httpRequest.request({
131
- method: 'GET',
132
- url: '/api/backer-service/backers',
133
- query: {
134
- SkipCount: data.skipCount,
135
- MaxResultCount: data.maxResultCount
136
- },
137
- errors: {
138
- 400: 'Bad Request',
139
- 401: 'Unauthorized',
140
- 403: 'Forbidden',
141
- 404: 'Not Found',
142
- 500: 'Server Error',
143
- 501: 'Server Error'
144
- }
145
- });
146
- }
147
-
148
- /**
149
- * @param data The data for the request.
150
- * @param data.id
151
- * @param data.requestBody
152
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
153
- * @throws ApiError
154
- */
155
- public putApiBackerServiceBackers(data: PutApiBackerServiceBackersData = {}): CancelablePromise<PutApiBackerServiceBackersResponse> {
156
- return this.httpRequest.request({
157
- method: 'PUT',
158
- url: '/api/backer-service/backers',
159
- query: {
160
- id: data.id
161
- },
162
- body: data.requestBody,
163
- mediaType: 'application/json',
164
- errors: {
165
- 400: 'Bad Request',
166
- 401: 'Unauthorized',
167
- 403: 'Forbidden',
168
- 404: 'Not Found',
169
- 500: 'Server Error',
170
- 501: 'Server Error'
171
- }
172
- });
173
- }
174
-
175
- /**
176
- * @param data The data for the request.
177
- * @param data.id
178
- * @returns unknown Success
179
- * @throws ApiError
180
- */
181
- public deleteApiBackerServiceBackers(data: DeleteApiBackerServiceBackersData = {}): CancelablePromise<DeleteApiBackerServiceBackersResponse> {
182
- return this.httpRequest.request({
183
- method: 'DELETE',
184
- url: '/api/backer-service/backers',
185
- query: {
186
- id: data.id
187
- },
188
- errors: {
189
- 400: 'Bad Request',
190
- 401: 'Unauthorized',
191
- 403: 'Forbidden',
192
- 404: 'Not Found',
193
- 500: 'Server Error',
194
- 501: 'Server Error'
195
- }
196
- });
197
- }
198
-
199
- /**
200
- * @param data The data for the request.
201
- * @param data.id
202
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
203
- * @throws ApiError
204
- */
205
- public getApiBackerServiceBackersById(data: GetApiBackerServiceBackersByIdData): CancelablePromise<GetApiBackerServiceBackersByIdResponse> {
206
- return this.httpRequest.request({
207
- method: 'GET',
208
- url: '/api/backer-service/backers/{id}',
209
- path: {
210
- id: data.id
211
- },
212
- errors: {
213
- 400: 'Bad Request',
214
- 401: 'Unauthorized',
215
- 403: 'Forbidden',
216
- 404: 'Not Found',
217
- 500: 'Server Error',
218
- 501: 'Server Error'
219
- }
220
- });
221
- }
222
-
223
- /**
224
- * @param data The data for the request.
225
- * @param data.contactInformationTypeId
226
- * @param data.requestBody
227
- * @returns unknown Success
228
- * @throws ApiError
229
- */
230
- public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse> {
231
- return this.httpRequest.request({
232
- method: 'POST',
233
- url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/address/{contactInformationTypeId}',
234
- path: {
235
- contactInformationTypeId: data.contactInformationTypeId
236
- },
237
- body: data.requestBody,
238
- mediaType: 'application/json',
239
- errors: {
240
- 400: 'Bad Request',
241
- 401: 'Unauthorized',
242
- 403: 'Forbidden',
243
- 404: 'Not Found',
244
- 500: 'Server Error',
245
- 501: 'Server Error'
246
- }
247
- });
248
- }
249
-
250
- /**
251
- * @param data The data for the request.
252
- * @param data.contactInformationTypeId
253
- * @param data.requestBody
254
- * @returns unknown Success
255
- * @throws ApiError
256
- */
257
- public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse> {
258
- return this.httpRequest.request({
259
- method: 'POST',
260
- url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/email/{contactInformationTypeId}',
261
- path: {
262
- contactInformationTypeId: data.contactInformationTypeId
263
- },
264
- body: data.requestBody,
265
- mediaType: 'application/json',
266
- errors: {
267
- 400: 'Bad Request',
268
- 401: 'Unauthorized',
269
- 403: 'Forbidden',
270
- 404: 'Not Found',
271
- 500: 'Server Error',
272
- 501: 'Server Error'
273
- }
274
- });
275
- }
276
-
277
- /**
278
- * @param data The data for the request.
279
- * @param data.contactInformationTypeId
280
- * @param data.requestBody
281
- * @returns unknown Success
282
- * @throws ApiError
283
- */
284
- public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse> {
285
- return this.httpRequest.request({
286
- method: 'POST',
287
- url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/telephone/{contactInformationTypeId}',
288
- path: {
289
- contactInformationTypeId: data.contactInformationTypeId
290
- },
291
- body: data.requestBody,
292
- mediaType: 'application/json',
293
- errors: {
294
- 400: 'Bad Request',
295
- 401: 'Unauthorized',
296
- 403: 'Forbidden',
297
- 404: 'Not Found',
298
- 500: 'Server Error',
299
- 501: 'Server Error'
300
- }
301
- });
302
- }
303
-
304
- /**
305
- * @param data The data for the request.
306
- * @param data.entityInformationTypeId
307
- * @param data.requestBody
308
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
309
- * @throws ApiError
310
- */
311
- public postApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdResponse> {
312
- return this.httpRequest.request({
313
- method: 'POST',
314
- url: '/api/backer-service/backers/entity-information-type/individual/{entityInformationTypeId}',
315
- path: {
316
- entityInformationTypeId: data.entityInformationTypeId
317
- },
318
- body: data.requestBody,
319
- mediaType: 'application/json',
320
- errors: {
321
- 400: 'Bad Request',
322
- 401: 'Unauthorized',
323
- 403: 'Forbidden',
324
- 404: 'Not Found',
325
- 500: 'Server Error',
326
- 501: 'Server Error'
327
- }
328
- });
329
- }
330
-
331
- /**
332
- * @param data The data for the request.
333
- * @param data.entityInformationTypeId
334
- * @param data.requestBody
335
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
336
- * @throws ApiError
337
- */
338
- public postApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse> {
339
- return this.httpRequest.request({
340
- method: 'POST',
341
- url: '/api/backer-service/backers/entity-information-type/organization/{entityInformationTypeId}',
342
- path: {
343
- entityInformationTypeId: data.entityInformationTypeId
344
- },
345
- body: data.requestBody,
346
- mediaType: 'application/json',
347
- errors: {
348
- 400: 'Bad Request',
349
- 401: 'Unauthorized',
350
- 403: 'Forbidden',
351
- 404: 'Not Found',
352
- 500: 'Server Error',
353
- 501: 'Server Error'
354
- }
355
- });
356
- }
357
-
358
- /**
359
- * @param data The data for the request.
360
- * @param data.backerId
361
- * @param data.requestBody
362
- * @returns UpwithCrowd_BackerService_EntityInformationTypes_EntityInformationTypeDto Success
363
- * @throws ApiError
364
- */
365
- public postApiBackerServiceBackersEntityInformationTypeByBackerId(data: PostApiBackerServiceBackersEntityInformationTypeByBackerIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeByBackerIdResponse> {
366
- return this.httpRequest.request({
367
- method: 'POST',
368
- url: '/api/backer-service/backers/entity-information-type/{backerId}',
369
- path: {
370
- backerId: data.backerId
371
- },
372
- body: data.requestBody,
373
- mediaType: 'application/json',
374
- errors: {
375
- 400: 'Bad Request',
376
- 401: 'Unauthorized',
377
- 403: 'Forbidden',
378
- 404: 'Not Found',
379
- 500: 'Server Error',
380
- 501: 'Server Error'
381
- }
382
- });
383
- }
384
-
385
- /**
386
- * @param data The data for the request.
387
- * @param data.backerId
388
- * @param data.requestBody
389
- * @returns UpwithCrowd_BackerService_AffiliationTypes_AffiliationTypeDto Success
390
- * @throws ApiError
391
- */
392
- public postApiBackerServiceBackersAffiliationTypeByBackerId(data: PostApiBackerServiceBackersAffiliationTypeByBackerIdData): CancelablePromise<PostApiBackerServiceBackersAffiliationTypeByBackerIdResponse> {
393
- return this.httpRequest.request({
394
- method: 'POST',
395
- url: '/api/backer-service/backers/affiliation-type/{backerId}',
396
- path: {
397
- backerId: data.backerId
398
- },
399
- body: data.requestBody,
400
- mediaType: 'application/json',
401
- errors: {
402
- 400: 'Bad Request',
403
- 401: 'Unauthorized',
404
- 403: 'Forbidden',
405
- 404: 'Not Found',
406
- 500: 'Server Error',
407
- 501: 'Server Error'
408
- }
409
- });
410
- }
411
-
412
- /**
413
- * @param data The data for the request.
414
- * @param data.requestBody
415
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
416
- * @throws ApiError
417
- */
418
- public postApiBackerServiceBackersWithComponents(data: PostApiBackerServiceBackersWithComponentsData = {}): CancelablePromise<PostApiBackerServiceBackersWithComponentsResponse> {
419
- return this.httpRequest.request({
420
- method: 'POST',
421
- url: '/api/backer-service/backers/with-components',
422
- body: data.requestBody,
423
- mediaType: 'application/json',
424
- errors: {
425
- 400: 'Bad Request',
426
- 401: 'Unauthorized',
427
- 403: 'Forbidden',
428
- 404: 'Not Found',
429
- 500: 'Server Error',
430
- 501: 'Server Error'
431
- }
432
- });
433
- }
434
-
435
- /**
436
- * @param data The data for the request.
437
- * @param data.id
438
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
439
- * @throws ApiError
440
- */
441
- public getApiBackerServiceBackersDetailById(data: GetApiBackerServiceBackersDetailByIdData): CancelablePromise<GetApiBackerServiceBackersDetailByIdResponse> {
442
- return this.httpRequest.request({
443
- method: 'GET',
444
- url: '/api/backer-service/backers/detail/{id}',
445
- path: {
446
- id: data.id
447
- },
448
- errors: {
449
- 400: 'Bad Request',
450
- 401: 'Unauthorized',
451
- 403: 'Forbidden',
452
- 404: 'Not Found',
453
- 500: 'Server Error',
454
- 501: 'Server Error'
455
- }
456
- });
457
- }
458
-
459
- /**
460
- * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
461
- * @throws ApiError
462
- */
463
- public getApiBackerServiceBackersListMyBackers(): CancelablePromise<GetApiBackerServiceBackersListMyBackersResponse> {
464
- return this.httpRequest.request({
465
- method: 'GET',
466
- url: '/api/backer-service/backers/list-my-backers',
467
- errors: {
468
- 400: 'Bad Request',
469
- 401: 'Unauthorized',
470
- 403: 'Forbidden',
471
- 404: 'Not Found',
472
- 500: 'Server Error',
473
- 501: 'Server Error'
474
- }
475
- });
476
- }
477
-
478
- }
479
-
480
- export class IndividualService {
481
- constructor(public readonly httpRequest: BaseHttpRequest) { }
482
-
483
- /**
484
- * @param data The data for the request.
485
- * @param data.requestBody
486
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
487
- * @throws ApiError
488
- */
489
- public postApiBackerServiceIndividuals(data: PostApiBackerServiceIndividualsData = {}): CancelablePromise<PostApiBackerServiceIndividualsResponse> {
490
- return this.httpRequest.request({
491
- method: 'POST',
492
- url: '/api/backer-service/individuals',
493
- body: data.requestBody,
494
- mediaType: 'application/json',
495
- errors: {
496
- 400: 'Bad Request',
497
- 401: 'Unauthorized',
498
- 403: 'Forbidden',
499
- 404: 'Not Found',
500
- 500: 'Server Error',
501
- 501: 'Server Error'
502
- }
503
- });
504
- }
505
-
506
- /**
507
- * @param data The data for the request.
508
- * @param data.id
509
- * @returns unknown Success
510
- * @throws ApiError
511
- */
512
- public deleteApiBackerServiceIndividuals(data: DeleteApiBackerServiceIndividualsData = {}): CancelablePromise<DeleteApiBackerServiceIndividualsResponse> {
513
- return this.httpRequest.request({
514
- method: 'DELETE',
515
- url: '/api/backer-service/individuals',
516
- query: {
517
- id: data.id
518
- },
519
- errors: {
520
- 400: 'Bad Request',
521
- 401: 'Unauthorized',
522
- 403: 'Forbidden',
523
- 404: 'Not Found',
524
- 500: 'Server Error',
525
- 501: 'Server Error'
526
- }
527
- });
528
- }
529
-
530
- /**
531
- * @param data The data for the request.
532
- * @param data.sorting
533
- * @param data.skipCount
534
- * @param data.maxResultCount
535
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Individuals_IndividualDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
536
- * @throws ApiError
537
- */
538
- public getApiBackerServiceIndividuals(data: GetApiBackerServiceIndividualsData = {}): CancelablePromise<GetApiBackerServiceIndividualsResponse> {
539
- return this.httpRequest.request({
540
- method: 'GET',
541
- url: '/api/backer-service/individuals',
542
- query: {
543
- Sorting: data.sorting,
544
- SkipCount: data.skipCount,
545
- MaxResultCount: data.maxResultCount
546
- },
547
- errors: {
548
- 400: 'Bad Request',
549
- 401: 'Unauthorized',
550
- 403: 'Forbidden',
551
- 404: 'Not Found',
552
- 500: 'Server Error',
553
- 501: 'Server Error'
554
- }
555
- });
556
- }
557
-
558
- /**
559
- * @param data The data for the request.
560
- * @param data.id
561
- * @param data.requestBody
562
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
563
- * @throws ApiError
564
- */
565
- public putApiBackerServiceIndividuals(data: PutApiBackerServiceIndividualsData = {}): CancelablePromise<PutApiBackerServiceIndividualsResponse> {
566
- return this.httpRequest.request({
567
- method: 'PUT',
568
- url: '/api/backer-service/individuals',
569
- query: {
570
- id: data.id
571
- },
572
- body: data.requestBody,
573
- mediaType: 'application/json',
574
- errors: {
575
- 400: 'Bad Request',
576
- 401: 'Unauthorized',
577
- 403: 'Forbidden',
578
- 404: 'Not Found',
579
- 500: 'Server Error',
580
- 501: 'Server Error'
581
- }
582
- });
583
- }
584
-
585
- /**
586
- * @param data The data for the request.
587
- * @param data.entityInformationTypeId
588
- * @param data.requestBody
589
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
590
- * @throws ApiError
591
- */
592
- public postApiBackerServiceIndividualsIndependent(data: PostApiBackerServiceIndividualsIndependentData = {}): CancelablePromise<PostApiBackerServiceIndividualsIndependentResponse> {
593
- return this.httpRequest.request({
594
- method: 'POST',
595
- url: '/api/backer-service/individuals/independent',
596
- query: {
597
- entityInformationTypeId: data.entityInformationTypeId
598
- },
599
- body: data.requestBody,
600
- mediaType: 'application/json',
601
- errors: {
602
- 400: 'Bad Request',
603
- 401: 'Unauthorized',
604
- 403: 'Forbidden',
605
- 404: 'Not Found',
606
- 500: 'Server Error',
607
- 501: 'Server Error'
608
- }
609
- });
610
- }
611
-
612
- /**
613
- * @param data The data for the request.
614
- * @param data.individualId
615
- * @param data.requestBody
616
- * @returns UpwithCrowd_BackerService_PersonalSummaries_PersonalSummaryDto Success
617
- * @throws ApiError
618
- */
619
- public postApiBackerServiceIndividualsPersonalSummary(data: PostApiBackerServiceIndividualsPersonalSummaryData = {}): CancelablePromise<PostApiBackerServiceIndividualsPersonalSummaryResponse> {
620
- return this.httpRequest.request({
621
- method: 'POST',
622
- url: '/api/backer-service/individuals/personal-summary',
623
- query: {
624
- individualId: data.individualId
625
- },
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.requestBody
642
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
643
- * @throws ApiError
644
- */
645
- public postApiBackerServiceIndividualsWithId(data: PostApiBackerServiceIndividualsWithIdData = {}): CancelablePromise<PostApiBackerServiceIndividualsWithIdResponse> {
646
- return this.httpRequest.request({
647
- method: 'POST',
648
- url: '/api/backer-service/individuals/with-id',
649
- body: data.requestBody,
650
- mediaType: 'application/json',
651
- errors: {
652
- 400: 'Bad Request',
653
- 401: 'Unauthorized',
654
- 403: 'Forbidden',
655
- 404: 'Not Found',
656
- 500: 'Server Error',
657
- 501: 'Server Error'
658
- }
659
- });
660
- }
661
-
662
- /**
663
- * @param data The data for the request.
664
- * @param data.id
665
- * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
666
- * @throws ApiError
667
- */
668
- public getApiBackerServiceIndividualsById(data: GetApiBackerServiceIndividualsByIdData): CancelablePromise<GetApiBackerServiceIndividualsByIdResponse> {
669
- return this.httpRequest.request({
670
- method: 'GET',
671
- url: '/api/backer-service/individuals/{id}',
672
- path: {
673
- id: data.id
674
- },
675
- errors: {
676
- 400: 'Bad Request',
677
- 401: 'Unauthorized',
678
- 403: 'Forbidden',
679
- 404: 'Not Found',
680
- 500: 'Server Error',
681
- 501: 'Server Error'
682
- }
683
- });
684
- }
685
-
686
- }
687
-
688
- export class OrganizationService {
689
- constructor(public readonly httpRequest: BaseHttpRequest) { }
690
-
691
- /**
692
- * @param data The data for the request.
693
- * @param data.requestBody
694
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
695
- * @throws ApiError
696
- */
697
- public postApiBackerServiceOrganizations(data: PostApiBackerServiceOrganizationsData = {}): CancelablePromise<PostApiBackerServiceOrganizationsResponse> {
698
- return this.httpRequest.request({
699
- method: 'POST',
700
- url: '/api/backer-service/organizations',
701
- body: data.requestBody,
702
- mediaType: 'application/json',
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
- * @param data The data for the request.
716
- * @param data.id
717
- * @returns unknown Success
718
- * @throws ApiError
719
- */
720
- public deleteApiBackerServiceOrganizations(data: DeleteApiBackerServiceOrganizationsData = {}): CancelablePromise<DeleteApiBackerServiceOrganizationsResponse> {
721
- return this.httpRequest.request({
722
- method: 'DELETE',
723
- url: '/api/backer-service/organizations',
724
- query: {
725
- id: data.id
726
- },
727
- errors: {
728
- 400: 'Bad Request',
729
- 401: 'Unauthorized',
730
- 403: 'Forbidden',
731
- 404: 'Not Found',
732
- 500: 'Server Error',
733
- 501: 'Server Error'
734
- }
735
- });
736
- }
737
-
738
- /**
739
- * @param data The data for the request.
740
- * @param data.sorting
741
- * @param data.skipCount
742
- * @param data.maxResultCount
743
- * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Organizations_OrganizationDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
744
- * @throws ApiError
745
- */
746
- public getApiBackerServiceOrganizations(data: GetApiBackerServiceOrganizationsData = {}): CancelablePromise<GetApiBackerServiceOrganizationsResponse> {
747
- return this.httpRequest.request({
748
- method: 'GET',
749
- url: '/api/backer-service/organizations',
750
- query: {
751
- Sorting: data.sorting,
752
- SkipCount: data.skipCount,
753
- MaxResultCount: data.maxResultCount
754
- },
755
- errors: {
756
- 400: 'Bad Request',
757
- 401: 'Unauthorized',
758
- 403: 'Forbidden',
759
- 404: 'Not Found',
760
- 500: 'Server Error',
761
- 501: 'Server Error'
762
- }
763
- });
764
- }
765
-
766
- /**
767
- * @param data The data for the request.
768
- * @param data.id
769
- * @param data.requestBody
770
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
771
- * @throws ApiError
772
- */
773
- public putApiBackerServiceOrganizations(data: PutApiBackerServiceOrganizationsData = {}): CancelablePromise<PutApiBackerServiceOrganizationsResponse> {
774
- return this.httpRequest.request({
775
- method: 'PUT',
776
- url: '/api/backer-service/organizations',
777
- query: {
778
- id: data.id
779
- },
780
- body: data.requestBody,
781
- mediaType: 'application/json',
782
- errors: {
783
- 400: 'Bad Request',
784
- 401: 'Unauthorized',
785
- 403: 'Forbidden',
786
- 404: 'Not Found',
787
- 500: 'Server Error',
788
- 501: 'Server Error'
789
- }
790
- });
791
- }
792
-
793
- /**
794
- * @param data The data for the request.
795
- * @param data.entityInformationTypeId
796
- * @param data.requestBody
797
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
798
- * @throws ApiError
799
- */
800
- public postApiBackerServiceOrganizationsIndependent(data: PostApiBackerServiceOrganizationsIndependentData = {}): CancelablePromise<PostApiBackerServiceOrganizationsIndependentResponse> {
801
- return this.httpRequest.request({
802
- method: 'POST',
803
- url: '/api/backer-service/organizations/independent',
804
- query: {
805
- entityInformationTypeId: data.entityInformationTypeId
806
- },
807
- body: data.requestBody,
808
- mediaType: 'application/json',
809
- errors: {
810
- 400: 'Bad Request',
811
- 401: 'Unauthorized',
812
- 403: 'Forbidden',
813
- 404: 'Not Found',
814
- 500: 'Server Error',
815
- 501: 'Server Error'
816
- }
817
- });
818
- }
819
-
820
- /**
821
- * @param data The data for the request.
822
- * @param data.requestBody
823
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
824
- * @throws ApiError
825
- */
826
- public postApiBackerServiceOrganizationsWithId(data: PostApiBackerServiceOrganizationsWithIdData = {}): CancelablePromise<PostApiBackerServiceOrganizationsWithIdResponse> {
827
- return this.httpRequest.request({
828
- method: 'POST',
829
- url: '/api/backer-service/organizations/with-id',
830
- body: data.requestBody,
831
- mediaType: 'application/json',
832
- errors: {
833
- 400: 'Bad Request',
834
- 401: 'Unauthorized',
835
- 403: 'Forbidden',
836
- 404: 'Not Found',
837
- 500: 'Server Error',
838
- 501: 'Server Error'
839
- }
840
- });
841
- }
842
-
843
- /**
844
- * @param data The data for the request.
845
- * @param data.id
846
- * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
847
- * @throws ApiError
848
- */
849
- public getApiBackerServiceOrganizationsById(data: GetApiBackerServiceOrganizationsByIdData): CancelablePromise<GetApiBackerServiceOrganizationsByIdResponse> {
850
- return this.httpRequest.request({
851
- method: 'GET',
852
- url: '/api/backer-service/organizations/{id}',
853
- path: {
854
- id: data.id
855
- },
856
- errors: {
857
- 400: 'Bad Request',
858
- 401: 'Unauthorized',
859
- 403: 'Forbidden',
860
- 404: 'Not Found',
861
- 500: 'Server Error',
862
- 501: 'Server Error'
863
- }
864
- });
865
- }
866
-
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, PostApiBackerServiceBackersData, PostApiBackerServiceBackersResponse, GetApiBackerServiceBackersData, GetApiBackerServiceBackersResponse, PutApiBackerServiceBackersData, PutApiBackerServiceBackersResponse, DeleteApiBackerServiceBackersData, DeleteApiBackerServiceBackersResponse, GetApiBackerServiceBackersByIdData, GetApiBackerServiceBackersByIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdData, PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse, PostApiBackerServiceBackersEntityInformationTypeByBackerIdData, PostApiBackerServiceBackersEntityInformationTypeByBackerIdResponse, PostApiBackerServiceBackersAffiliationTypeByBackerIdData, PostApiBackerServiceBackersAffiliationTypeByBackerIdResponse, PostApiBackerServiceBackersWithComponentsData, PostApiBackerServiceBackersWithComponentsResponse, GetApiBackerServiceBackersDetailByIdData, GetApiBackerServiceBackersDetailByIdResponse, GetApiBackerServiceBackersListMyBackersResponse, PostApiBackerServiceIndividualsData, PostApiBackerServiceIndividualsResponse, DeleteApiBackerServiceIndividualsData, DeleteApiBackerServiceIndividualsResponse, GetApiBackerServiceIndividualsData, GetApiBackerServiceIndividualsResponse, PutApiBackerServiceIndividualsData, PutApiBackerServiceIndividualsResponse, PostApiBackerServiceIndividualsIndependentData, PostApiBackerServiceIndividualsIndependentResponse, PostApiBackerServiceIndividualsPersonalSummaryData, PostApiBackerServiceIndividualsPersonalSummaryResponse, PostApiBackerServiceIndividualsWithIdData, PostApiBackerServiceIndividualsWithIdResponse, GetApiBackerServiceIndividualsByIdData, GetApiBackerServiceIndividualsByIdResponse, PostApiBackerServiceOrganizationsData, PostApiBackerServiceOrganizationsResponse, DeleteApiBackerServiceOrganizationsData, DeleteApiBackerServiceOrganizationsResponse, GetApiBackerServiceOrganizationsData, GetApiBackerServiceOrganizationsResponse, PutApiBackerServiceOrganizationsData, PutApiBackerServiceOrganizationsResponse, PostApiBackerServiceOrganizationsIndependentData, PostApiBackerServiceOrganizationsIndependentResponse, PostApiBackerServiceOrganizationsWithIdData, PostApiBackerServiceOrganizationsWithIdResponse, GetApiBackerServiceOrganizationsByIdData, GetApiBackerServiceOrganizationsByIdResponse } 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 BackerService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiBackerServiceBackers(data: PostApiBackerServiceBackersData = {}): CancelablePromise<PostApiBackerServiceBackersResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/backer-service/backers',
109
+ body: data.requestBody,
110
+ mediaType: 'application/json',
111
+ errors: {
112
+ 400: 'Bad Request',
113
+ 401: 'Unauthorized',
114
+ 403: 'Forbidden',
115
+ 404: 'Not Found',
116
+ 500: 'Server Error',
117
+ 501: 'Server Error'
118
+ }
119
+ });
120
+ }
121
+
122
+ /**
123
+ * @param data The data for the request.
124
+ * @param data.skipCount
125
+ * @param data.maxResultCount
126
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Backers_BackerDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
127
+ * @throws ApiError
128
+ */
129
+ public getApiBackerServiceBackers(data: GetApiBackerServiceBackersData = {}): CancelablePromise<GetApiBackerServiceBackersResponse> {
130
+ return this.httpRequest.request({
131
+ method: 'GET',
132
+ url: '/api/backer-service/backers',
133
+ query: {
134
+ SkipCount: data.skipCount,
135
+ MaxResultCount: data.maxResultCount
136
+ },
137
+ errors: {
138
+ 400: 'Bad Request',
139
+ 401: 'Unauthorized',
140
+ 403: 'Forbidden',
141
+ 404: 'Not Found',
142
+ 500: 'Server Error',
143
+ 501: 'Server Error'
144
+ }
145
+ });
146
+ }
147
+
148
+ /**
149
+ * @param data The data for the request.
150
+ * @param data.id
151
+ * @param data.requestBody
152
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
153
+ * @throws ApiError
154
+ */
155
+ public putApiBackerServiceBackers(data: PutApiBackerServiceBackersData = {}): CancelablePromise<PutApiBackerServiceBackersResponse> {
156
+ return this.httpRequest.request({
157
+ method: 'PUT',
158
+ url: '/api/backer-service/backers',
159
+ query: {
160
+ id: data.id
161
+ },
162
+ body: data.requestBody,
163
+ mediaType: 'application/json',
164
+ errors: {
165
+ 400: 'Bad Request',
166
+ 401: 'Unauthorized',
167
+ 403: 'Forbidden',
168
+ 404: 'Not Found',
169
+ 500: 'Server Error',
170
+ 501: 'Server Error'
171
+ }
172
+ });
173
+ }
174
+
175
+ /**
176
+ * @param data The data for the request.
177
+ * @param data.id
178
+ * @returns unknown Success
179
+ * @throws ApiError
180
+ */
181
+ public deleteApiBackerServiceBackers(data: DeleteApiBackerServiceBackersData = {}): CancelablePromise<DeleteApiBackerServiceBackersResponse> {
182
+ return this.httpRequest.request({
183
+ method: 'DELETE',
184
+ url: '/api/backer-service/backers',
185
+ query: {
186
+ id: data.id
187
+ },
188
+ errors: {
189
+ 400: 'Bad Request',
190
+ 401: 'Unauthorized',
191
+ 403: 'Forbidden',
192
+ 404: 'Not Found',
193
+ 500: 'Server Error',
194
+ 501: 'Server Error'
195
+ }
196
+ });
197
+ }
198
+
199
+ /**
200
+ * @param data The data for the request.
201
+ * @param data.id
202
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
203
+ * @throws ApiError
204
+ */
205
+ public getApiBackerServiceBackersById(data: GetApiBackerServiceBackersByIdData): CancelablePromise<GetApiBackerServiceBackersByIdResponse> {
206
+ return this.httpRequest.request({
207
+ method: 'GET',
208
+ url: '/api/backer-service/backers/{id}',
209
+ path: {
210
+ id: data.id
211
+ },
212
+ errors: {
213
+ 400: 'Bad Request',
214
+ 401: 'Unauthorized',
215
+ 403: 'Forbidden',
216
+ 404: 'Not Found',
217
+ 500: 'Server Error',
218
+ 501: 'Server Error'
219
+ }
220
+ });
221
+ }
222
+
223
+ /**
224
+ * @param data The data for the request.
225
+ * @param data.contactInformationTypeId
226
+ * @param data.requestBody
227
+ * @returns unknown Success
228
+ * @throws ApiError
229
+ */
230
+ public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse> {
231
+ return this.httpRequest.request({
232
+ method: 'POST',
233
+ url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/address/{contactInformationTypeId}',
234
+ path: {
235
+ contactInformationTypeId: data.contactInformationTypeId
236
+ },
237
+ body: data.requestBody,
238
+ mediaType: 'application/json',
239
+ errors: {
240
+ 400: 'Bad Request',
241
+ 401: 'Unauthorized',
242
+ 403: 'Forbidden',
243
+ 404: 'Not Found',
244
+ 500: 'Server Error',
245
+ 501: 'Server Error'
246
+ }
247
+ });
248
+ }
249
+
250
+ /**
251
+ * @param data The data for the request.
252
+ * @param data.contactInformationTypeId
253
+ * @param data.requestBody
254
+ * @returns unknown Success
255
+ * @throws ApiError
256
+ */
257
+ public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse> {
258
+ return this.httpRequest.request({
259
+ method: 'POST',
260
+ url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/email/{contactInformationTypeId}',
261
+ path: {
262
+ contactInformationTypeId: data.contactInformationTypeId
263
+ },
264
+ body: data.requestBody,
265
+ mediaType: 'application/json',
266
+ errors: {
267
+ 400: 'Bad Request',
268
+ 401: 'Unauthorized',
269
+ 403: 'Forbidden',
270
+ 404: 'Not Found',
271
+ 500: 'Server Error',
272
+ 501: 'Server Error'
273
+ }
274
+ });
275
+ }
276
+
277
+ /**
278
+ * @param data The data for the request.
279
+ * @param data.contactInformationTypeId
280
+ * @param data.requestBody
281
+ * @returns unknown Success
282
+ * @throws ApiError
283
+ */
284
+ public postApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse> {
285
+ return this.httpRequest.request({
286
+ method: 'POST',
287
+ url: '/api/backer-service/backers/entity-information-type/org-ind/contact-information-type/telephone/{contactInformationTypeId}',
288
+ path: {
289
+ contactInformationTypeId: data.contactInformationTypeId
290
+ },
291
+ body: data.requestBody,
292
+ mediaType: 'application/json',
293
+ errors: {
294
+ 400: 'Bad Request',
295
+ 401: 'Unauthorized',
296
+ 403: 'Forbidden',
297
+ 404: 'Not Found',
298
+ 500: 'Server Error',
299
+ 501: 'Server Error'
300
+ }
301
+ });
302
+ }
303
+
304
+ /**
305
+ * @param data The data for the request.
306
+ * @param data.entityInformationTypeId
307
+ * @param data.requestBody
308
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
309
+ * @throws ApiError
310
+ */
311
+ public postApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeIndividualByEntityInformationTypeIdResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'POST',
314
+ url: '/api/backer-service/backers/entity-information-type/individual/{entityInformationTypeId}',
315
+ path: {
316
+ entityInformationTypeId: data.entityInformationTypeId
317
+ },
318
+ body: data.requestBody,
319
+ mediaType: 'application/json',
320
+ errors: {
321
+ 400: 'Bad Request',
322
+ 401: 'Unauthorized',
323
+ 403: 'Forbidden',
324
+ 404: 'Not Found',
325
+ 500: 'Server Error',
326
+ 501: 'Server Error'
327
+ }
328
+ });
329
+ }
330
+
331
+ /**
332
+ * @param data The data for the request.
333
+ * @param data.entityInformationTypeId
334
+ * @param data.requestBody
335
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
336
+ * @throws ApiError
337
+ */
338
+ public postApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeId(data: PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse> {
339
+ return this.httpRequest.request({
340
+ method: 'POST',
341
+ url: '/api/backer-service/backers/entity-information-type/organization/{entityInformationTypeId}',
342
+ path: {
343
+ entityInformationTypeId: data.entityInformationTypeId
344
+ },
345
+ body: data.requestBody,
346
+ mediaType: 'application/json',
347
+ errors: {
348
+ 400: 'Bad Request',
349
+ 401: 'Unauthorized',
350
+ 403: 'Forbidden',
351
+ 404: 'Not Found',
352
+ 500: 'Server Error',
353
+ 501: 'Server Error'
354
+ }
355
+ });
356
+ }
357
+
358
+ /**
359
+ * @param data The data for the request.
360
+ * @param data.backerId
361
+ * @param data.requestBody
362
+ * @returns UpwithCrowd_BackerService_EntityInformationTypes_EntityInformationTypeDto Success
363
+ * @throws ApiError
364
+ */
365
+ public postApiBackerServiceBackersEntityInformationTypeByBackerId(data: PostApiBackerServiceBackersEntityInformationTypeByBackerIdData): CancelablePromise<PostApiBackerServiceBackersEntityInformationTypeByBackerIdResponse> {
366
+ return this.httpRequest.request({
367
+ method: 'POST',
368
+ url: '/api/backer-service/backers/entity-information-type/{backerId}',
369
+ path: {
370
+ backerId: data.backerId
371
+ },
372
+ body: data.requestBody,
373
+ mediaType: 'application/json',
374
+ errors: {
375
+ 400: 'Bad Request',
376
+ 401: 'Unauthorized',
377
+ 403: 'Forbidden',
378
+ 404: 'Not Found',
379
+ 500: 'Server Error',
380
+ 501: 'Server Error'
381
+ }
382
+ });
383
+ }
384
+
385
+ /**
386
+ * @param data The data for the request.
387
+ * @param data.backerId
388
+ * @param data.requestBody
389
+ * @returns UpwithCrowd_BackerService_AffiliationTypes_AffiliationTypeDto Success
390
+ * @throws ApiError
391
+ */
392
+ public postApiBackerServiceBackersAffiliationTypeByBackerId(data: PostApiBackerServiceBackersAffiliationTypeByBackerIdData): CancelablePromise<PostApiBackerServiceBackersAffiliationTypeByBackerIdResponse> {
393
+ return this.httpRequest.request({
394
+ method: 'POST',
395
+ url: '/api/backer-service/backers/affiliation-type/{backerId}',
396
+ path: {
397
+ backerId: data.backerId
398
+ },
399
+ body: data.requestBody,
400
+ mediaType: 'application/json',
401
+ errors: {
402
+ 400: 'Bad Request',
403
+ 401: 'Unauthorized',
404
+ 403: 'Forbidden',
405
+ 404: 'Not Found',
406
+ 500: 'Server Error',
407
+ 501: 'Server Error'
408
+ }
409
+ });
410
+ }
411
+
412
+ /**
413
+ * @param data The data for the request.
414
+ * @param data.requestBody
415
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
416
+ * @throws ApiError
417
+ */
418
+ public postApiBackerServiceBackersWithComponents(data: PostApiBackerServiceBackersWithComponentsData = {}): CancelablePromise<PostApiBackerServiceBackersWithComponentsResponse> {
419
+ return this.httpRequest.request({
420
+ method: 'POST',
421
+ url: '/api/backer-service/backers/with-components',
422
+ body: data.requestBody,
423
+ mediaType: 'application/json',
424
+ errors: {
425
+ 400: 'Bad Request',
426
+ 401: 'Unauthorized',
427
+ 403: 'Forbidden',
428
+ 404: 'Not Found',
429
+ 500: 'Server Error',
430
+ 501: 'Server Error'
431
+ }
432
+ });
433
+ }
434
+
435
+ /**
436
+ * @param data The data for the request.
437
+ * @param data.id
438
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
439
+ * @throws ApiError
440
+ */
441
+ public getApiBackerServiceBackersDetailById(data: GetApiBackerServiceBackersDetailByIdData): CancelablePromise<GetApiBackerServiceBackersDetailByIdResponse> {
442
+ return this.httpRequest.request({
443
+ method: 'GET',
444
+ url: '/api/backer-service/backers/detail/{id}',
445
+ path: {
446
+ id: data.id
447
+ },
448
+ errors: {
449
+ 400: 'Bad Request',
450
+ 401: 'Unauthorized',
451
+ 403: 'Forbidden',
452
+ 404: 'Not Found',
453
+ 500: 'Server Error',
454
+ 501: 'Server Error'
455
+ }
456
+ });
457
+ }
458
+
459
+ /**
460
+ * @returns UpwithCrowd_BackerService_Backers_BackerDto Success
461
+ * @throws ApiError
462
+ */
463
+ public getApiBackerServiceBackersListMyBackers(): CancelablePromise<GetApiBackerServiceBackersListMyBackersResponse> {
464
+ return this.httpRequest.request({
465
+ method: 'GET',
466
+ url: '/api/backer-service/backers/list-my-backers',
467
+ errors: {
468
+ 400: 'Bad Request',
469
+ 401: 'Unauthorized',
470
+ 403: 'Forbidden',
471
+ 404: 'Not Found',
472
+ 500: 'Server Error',
473
+ 501: 'Server Error'
474
+ }
475
+ });
476
+ }
477
+
478
+ }
479
+
480
+ export class IndividualService {
481
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
482
+
483
+ /**
484
+ * @param data The data for the request.
485
+ * @param data.requestBody
486
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
487
+ * @throws ApiError
488
+ */
489
+ public postApiBackerServiceIndividuals(data: PostApiBackerServiceIndividualsData = {}): CancelablePromise<PostApiBackerServiceIndividualsResponse> {
490
+ return this.httpRequest.request({
491
+ method: 'POST',
492
+ url: '/api/backer-service/individuals',
493
+ body: data.requestBody,
494
+ mediaType: 'application/json',
495
+ errors: {
496
+ 400: 'Bad Request',
497
+ 401: 'Unauthorized',
498
+ 403: 'Forbidden',
499
+ 404: 'Not Found',
500
+ 500: 'Server Error',
501
+ 501: 'Server Error'
502
+ }
503
+ });
504
+ }
505
+
506
+ /**
507
+ * @param data The data for the request.
508
+ * @param data.id
509
+ * @returns unknown Success
510
+ * @throws ApiError
511
+ */
512
+ public deleteApiBackerServiceIndividuals(data: DeleteApiBackerServiceIndividualsData = {}): CancelablePromise<DeleteApiBackerServiceIndividualsResponse> {
513
+ return this.httpRequest.request({
514
+ method: 'DELETE',
515
+ url: '/api/backer-service/individuals',
516
+ query: {
517
+ id: data.id
518
+ },
519
+ errors: {
520
+ 400: 'Bad Request',
521
+ 401: 'Unauthorized',
522
+ 403: 'Forbidden',
523
+ 404: 'Not Found',
524
+ 500: 'Server Error',
525
+ 501: 'Server Error'
526
+ }
527
+ });
528
+ }
529
+
530
+ /**
531
+ * @param data The data for the request.
532
+ * @param data.sorting
533
+ * @param data.skipCount
534
+ * @param data.maxResultCount
535
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Individuals_IndividualDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
536
+ * @throws ApiError
537
+ */
538
+ public getApiBackerServiceIndividuals(data: GetApiBackerServiceIndividualsData = {}): CancelablePromise<GetApiBackerServiceIndividualsResponse> {
539
+ return this.httpRequest.request({
540
+ method: 'GET',
541
+ url: '/api/backer-service/individuals',
542
+ query: {
543
+ Sorting: data.sorting,
544
+ SkipCount: data.skipCount,
545
+ MaxResultCount: data.maxResultCount
546
+ },
547
+ errors: {
548
+ 400: 'Bad Request',
549
+ 401: 'Unauthorized',
550
+ 403: 'Forbidden',
551
+ 404: 'Not Found',
552
+ 500: 'Server Error',
553
+ 501: 'Server Error'
554
+ }
555
+ });
556
+ }
557
+
558
+ /**
559
+ * @param data The data for the request.
560
+ * @param data.id
561
+ * @param data.requestBody
562
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
563
+ * @throws ApiError
564
+ */
565
+ public putApiBackerServiceIndividuals(data: PutApiBackerServiceIndividualsData = {}): CancelablePromise<PutApiBackerServiceIndividualsResponse> {
566
+ return this.httpRequest.request({
567
+ method: 'PUT',
568
+ url: '/api/backer-service/individuals',
569
+ query: {
570
+ id: data.id
571
+ },
572
+ body: data.requestBody,
573
+ mediaType: 'application/json',
574
+ errors: {
575
+ 400: 'Bad Request',
576
+ 401: 'Unauthorized',
577
+ 403: 'Forbidden',
578
+ 404: 'Not Found',
579
+ 500: 'Server Error',
580
+ 501: 'Server Error'
581
+ }
582
+ });
583
+ }
584
+
585
+ /**
586
+ * @param data The data for the request.
587
+ * @param data.entityInformationTypeId
588
+ * @param data.requestBody
589
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
590
+ * @throws ApiError
591
+ */
592
+ public postApiBackerServiceIndividualsIndependent(data: PostApiBackerServiceIndividualsIndependentData = {}): CancelablePromise<PostApiBackerServiceIndividualsIndependentResponse> {
593
+ return this.httpRequest.request({
594
+ method: 'POST',
595
+ url: '/api/backer-service/individuals/independent',
596
+ query: {
597
+ entityInformationTypeId: data.entityInformationTypeId
598
+ },
599
+ body: data.requestBody,
600
+ mediaType: 'application/json',
601
+ errors: {
602
+ 400: 'Bad Request',
603
+ 401: 'Unauthorized',
604
+ 403: 'Forbidden',
605
+ 404: 'Not Found',
606
+ 500: 'Server Error',
607
+ 501: 'Server Error'
608
+ }
609
+ });
610
+ }
611
+
612
+ /**
613
+ * @param data The data for the request.
614
+ * @param data.individualId
615
+ * @param data.requestBody
616
+ * @returns UpwithCrowd_BackerService_PersonalSummaries_PersonalSummaryDto Success
617
+ * @throws ApiError
618
+ */
619
+ public postApiBackerServiceIndividualsPersonalSummary(data: PostApiBackerServiceIndividualsPersonalSummaryData = {}): CancelablePromise<PostApiBackerServiceIndividualsPersonalSummaryResponse> {
620
+ return this.httpRequest.request({
621
+ method: 'POST',
622
+ url: '/api/backer-service/individuals/personal-summary',
623
+ query: {
624
+ individualId: data.individualId
625
+ },
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.requestBody
642
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
643
+ * @throws ApiError
644
+ */
645
+ public postApiBackerServiceIndividualsWithId(data: PostApiBackerServiceIndividualsWithIdData = {}): CancelablePromise<PostApiBackerServiceIndividualsWithIdResponse> {
646
+ return this.httpRequest.request({
647
+ method: 'POST',
648
+ url: '/api/backer-service/individuals/with-id',
649
+ body: data.requestBody,
650
+ mediaType: 'application/json',
651
+ errors: {
652
+ 400: 'Bad Request',
653
+ 401: 'Unauthorized',
654
+ 403: 'Forbidden',
655
+ 404: 'Not Found',
656
+ 500: 'Server Error',
657
+ 501: 'Server Error'
658
+ }
659
+ });
660
+ }
661
+
662
+ /**
663
+ * @param data The data for the request.
664
+ * @param data.id
665
+ * @returns UpwithCrowd_BackerService_Individuals_IndividualDto Success
666
+ * @throws ApiError
667
+ */
668
+ public getApiBackerServiceIndividualsById(data: GetApiBackerServiceIndividualsByIdData): CancelablePromise<GetApiBackerServiceIndividualsByIdResponse> {
669
+ return this.httpRequest.request({
670
+ method: 'GET',
671
+ url: '/api/backer-service/individuals/{id}',
672
+ path: {
673
+ id: data.id
674
+ },
675
+ errors: {
676
+ 400: 'Bad Request',
677
+ 401: 'Unauthorized',
678
+ 403: 'Forbidden',
679
+ 404: 'Not Found',
680
+ 500: 'Server Error',
681
+ 501: 'Server Error'
682
+ }
683
+ });
684
+ }
685
+
686
+ }
687
+
688
+ export class OrganizationService {
689
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
690
+
691
+ /**
692
+ * @param data The data for the request.
693
+ * @param data.requestBody
694
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
695
+ * @throws ApiError
696
+ */
697
+ public postApiBackerServiceOrganizations(data: PostApiBackerServiceOrganizationsData = {}): CancelablePromise<PostApiBackerServiceOrganizationsResponse> {
698
+ return this.httpRequest.request({
699
+ method: 'POST',
700
+ url: '/api/backer-service/organizations',
701
+ body: data.requestBody,
702
+ mediaType: 'application/json',
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
+ * @param data The data for the request.
716
+ * @param data.id
717
+ * @returns unknown Success
718
+ * @throws ApiError
719
+ */
720
+ public deleteApiBackerServiceOrganizations(data: DeleteApiBackerServiceOrganizationsData = {}): CancelablePromise<DeleteApiBackerServiceOrganizationsResponse> {
721
+ return this.httpRequest.request({
722
+ method: 'DELETE',
723
+ url: '/api/backer-service/organizations',
724
+ query: {
725
+ id: data.id
726
+ },
727
+ errors: {
728
+ 400: 'Bad Request',
729
+ 401: 'Unauthorized',
730
+ 403: 'Forbidden',
731
+ 404: 'Not Found',
732
+ 500: 'Server Error',
733
+ 501: 'Server Error'
734
+ }
735
+ });
736
+ }
737
+
738
+ /**
739
+ * @param data The data for the request.
740
+ * @param data.sorting
741
+ * @param data.skipCount
742
+ * @param data.maxResultCount
743
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_BackerService_Organizations_OrganizationDto__UpwithCrowd_BackerService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
744
+ * @throws ApiError
745
+ */
746
+ public getApiBackerServiceOrganizations(data: GetApiBackerServiceOrganizationsData = {}): CancelablePromise<GetApiBackerServiceOrganizationsResponse> {
747
+ return this.httpRequest.request({
748
+ method: 'GET',
749
+ url: '/api/backer-service/organizations',
750
+ query: {
751
+ Sorting: data.sorting,
752
+ SkipCount: data.skipCount,
753
+ MaxResultCount: data.maxResultCount
754
+ },
755
+ errors: {
756
+ 400: 'Bad Request',
757
+ 401: 'Unauthorized',
758
+ 403: 'Forbidden',
759
+ 404: 'Not Found',
760
+ 500: 'Server Error',
761
+ 501: 'Server Error'
762
+ }
763
+ });
764
+ }
765
+
766
+ /**
767
+ * @param data The data for the request.
768
+ * @param data.id
769
+ * @param data.requestBody
770
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
771
+ * @throws ApiError
772
+ */
773
+ public putApiBackerServiceOrganizations(data: PutApiBackerServiceOrganizationsData = {}): CancelablePromise<PutApiBackerServiceOrganizationsResponse> {
774
+ return this.httpRequest.request({
775
+ method: 'PUT',
776
+ url: '/api/backer-service/organizations',
777
+ query: {
778
+ id: data.id
779
+ },
780
+ body: data.requestBody,
781
+ mediaType: 'application/json',
782
+ errors: {
783
+ 400: 'Bad Request',
784
+ 401: 'Unauthorized',
785
+ 403: 'Forbidden',
786
+ 404: 'Not Found',
787
+ 500: 'Server Error',
788
+ 501: 'Server Error'
789
+ }
790
+ });
791
+ }
792
+
793
+ /**
794
+ * @param data The data for the request.
795
+ * @param data.entityInformationTypeId
796
+ * @param data.requestBody
797
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
798
+ * @throws ApiError
799
+ */
800
+ public postApiBackerServiceOrganizationsIndependent(data: PostApiBackerServiceOrganizationsIndependentData = {}): CancelablePromise<PostApiBackerServiceOrganizationsIndependentResponse> {
801
+ return this.httpRequest.request({
802
+ method: 'POST',
803
+ url: '/api/backer-service/organizations/independent',
804
+ query: {
805
+ entityInformationTypeId: data.entityInformationTypeId
806
+ },
807
+ body: data.requestBody,
808
+ mediaType: 'application/json',
809
+ errors: {
810
+ 400: 'Bad Request',
811
+ 401: 'Unauthorized',
812
+ 403: 'Forbidden',
813
+ 404: 'Not Found',
814
+ 500: 'Server Error',
815
+ 501: 'Server Error'
816
+ }
817
+ });
818
+ }
819
+
820
+ /**
821
+ * @param data The data for the request.
822
+ * @param data.requestBody
823
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
824
+ * @throws ApiError
825
+ */
826
+ public postApiBackerServiceOrganizationsWithId(data: PostApiBackerServiceOrganizationsWithIdData = {}): CancelablePromise<PostApiBackerServiceOrganizationsWithIdResponse> {
827
+ return this.httpRequest.request({
828
+ method: 'POST',
829
+ url: '/api/backer-service/organizations/with-id',
830
+ body: data.requestBody,
831
+ mediaType: 'application/json',
832
+ errors: {
833
+ 400: 'Bad Request',
834
+ 401: 'Unauthorized',
835
+ 403: 'Forbidden',
836
+ 404: 'Not Found',
837
+ 500: 'Server Error',
838
+ 501: 'Server Error'
839
+ }
840
+ });
841
+ }
842
+
843
+ /**
844
+ * @param data The data for the request.
845
+ * @param data.id
846
+ * @returns UpwithCrowd_BackerService_Organizations_OrganizationDto Success
847
+ * @throws ApiError
848
+ */
849
+ public getApiBackerServiceOrganizationsById(data: GetApiBackerServiceOrganizationsByIdData): CancelablePromise<GetApiBackerServiceOrganizationsByIdResponse> {
850
+ return this.httpRequest.request({
851
+ method: 'GET',
852
+ url: '/api/backer-service/organizations/{id}',
853
+ path: {
854
+ id: data.id
855
+ },
856
+ errors: {
857
+ 400: 'Bad Request',
858
+ 401: 'Unauthorized',
859
+ 403: 'Forbidden',
860
+ 404: 'Not Found',
861
+ 500: 'Server Error',
862
+ 501: 'Server Error'
863
+ }
864
+ });
865
+ }
866
+
867
867
  }