@ayasofyazilim/saas 0.0.30 → 0.0.31

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 (71) hide show
  1. package/AccountService/AccountServiceClient.ts +65 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/schemas.gen.ts +5103 -5103
  8. package/AccountService/services.gen.ts +1452 -1452
  9. package/AccountService/types.gen.ts +9896 -9896
  10. package/AdministrationService/AdministrationServiceClient.ts +74 -74
  11. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  12. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  13. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  14. package/AdministrationService/core/OpenAPI.ts +55 -55
  15. package/AdministrationService/core/request.ts +340 -340
  16. package/AdministrationService/index.ts +8 -8
  17. package/AdministrationService/schemas.gen.ts +5897 -5897
  18. package/AdministrationService/services.gen.ts +1332 -1332
  19. package/AdministrationService/types.gen.ts +9024 -9024
  20. package/BackerService/core/ApiRequestOptions.ts +12 -12
  21. package/BackerService/core/BaseHttpRequest.ts +9 -9
  22. package/BackerService/core/FetchHttpRequest.ts +21 -21
  23. package/BackerService/core/OpenAPI.ts +55 -55
  24. package/BackerService/core/request.ts +340 -340
  25. package/BackerService/schemas.gen.ts +12444 -12444
  26. package/FundraiserService/FundraiserServiceClient.ts +47 -47
  27. package/FundraiserService/core/ApiError.ts +20 -20
  28. package/FundraiserService/core/ApiResult.ts +6 -6
  29. package/FundraiserService/core/CancelablePromise.ts +125 -125
  30. package/FundraiserService/index.ts +8 -8
  31. package/FundraiserService/schemas.gen.ts +11548 -11548
  32. package/FundraiserService/services.gen.ts +627 -627
  33. package/IdentityService/IdentityServiceClient.ts +77 -77
  34. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  35. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  36. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  37. package/IdentityService/core/OpenAPI.ts +55 -55
  38. package/IdentityService/core/request.ts +340 -340
  39. package/IdentityService/schemas.gen.ts +6573 -6573
  40. package/IdentityService/services.gen.ts +2839 -2839
  41. package/IdentityService/types.gen.ts +17446 -17446
  42. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  43. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  44. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  45. package/MerchantService/core/OpenAPI.ts +55 -55
  46. package/MerchantService/core/request.ts +340 -340
  47. package/MerchantService/schemas.gen.ts +14764 -14764
  48. package/MerchantService/services.gen.ts +1602 -1602
  49. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  50. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  51. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  52. package/ProjectService/core/OpenAPI.ts +55 -55
  53. package/ProjectService/core/request.ts +340 -340
  54. package/ProjectService/schemas.gen.ts +5147 -5147
  55. package/ProjectService/services.gen.ts +492 -492
  56. package/ProjectService.json +2937 -2937
  57. package/SaasService/core/ApiRequestOptions.ts +12 -12
  58. package/SaasService/core/BaseHttpRequest.ts +9 -9
  59. package/SaasService/core/FetchHttpRequest.ts +21 -21
  60. package/SaasService/core/OpenAPI.ts +55 -55
  61. package/SaasService/core/request.ts +340 -340
  62. package/SaasService/schemas.gen.ts +5278 -5278
  63. package/SaasService/services.gen.ts +1325 -1325
  64. package/SaasService/types.gen.ts +9052 -9052
  65. package/SettingService/SettingServiceClient.ts +62 -62
  66. package/SettingService/index.ts +8 -8
  67. package/SettingService/schemas.gen.ts +5779 -5779
  68. package/SettingService/services.gen.ts +787 -787
  69. package/SettingService/types.gen.ts +1862 -1862
  70. package/package.json +2 -10
  71. package/swagger.json +4794 -4794
@@ -1,628 +1,628 @@
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, PostApiFundraiserServiceFundraisersData, PostApiFundraiserServiceFundraisersResponse, GetApiFundraiserServiceFundraisersData, GetApiFundraiserServiceFundraisersResponse, PutApiFundraiserServiceFundraisersData, PutApiFundraiserServiceFundraisersResponse, DeleteApiFundraiserServiceFundraisersData, DeleteApiFundraiserServiceFundraisersResponse, GetApiFundraiserServiceFundraisersByIdData, GetApiFundraiserServiceFundraisersByIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdResponse, PostApiFundraiserServiceFundraisersIndepentIndividualData, PostApiFundraiserServiceFundraisersIndepentIndividualResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse, PostApiFundraiserServiceFundraisersIndepentOrganizationData, PostApiFundraiserServiceFundraisersIndepentOrganizationResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdResponse, PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdData, PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdResponse, PostApiFundraiserServiceFundraisersWithComponentsData, PostApiFundraiserServiceFundraisersWithComponentsResponse, GetApiFundraiserServiceFundraisersDetailByIdData, GetApiFundraiserServiceFundraisersDetailByIdResponse, GetApiFundraiserServiceFundraisersMyFundraisersResponse, GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdData, GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdResponse, GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsData, GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsResponse, GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdData, GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdResponse } 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 unknown 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 unknown 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 unknown 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 FundraiserService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.requestBody
102
- * @returns unknown Success
103
- * @throws ApiError
104
- */
105
- public postApiFundraiserServiceFundraisers(data: PostApiFundraiserServiceFundraisersData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersResponse> {
106
- return this.httpRequest.request({
107
- method: 'POST',
108
- url: '/api/fundraiser-service/fundraisers',
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 unknown Success
127
- * @throws ApiError
128
- */
129
- public getApiFundraiserServiceFundraisers(data: GetApiFundraiserServiceFundraisersData = {}): CancelablePromise<GetApiFundraiserServiceFundraisersResponse> {
130
- return this.httpRequest.request({
131
- method: 'GET',
132
- url: '/api/fundraiser-service/fundraisers',
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 unknown Success
153
- * @throws ApiError
154
- */
155
- public putApiFundraiserServiceFundraisers(data: PutApiFundraiserServiceFundraisersData = {}): CancelablePromise<PutApiFundraiserServiceFundraisersResponse> {
156
- return this.httpRequest.request({
157
- method: 'PUT',
158
- url: '/api/fundraiser-service/fundraisers',
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 deleteApiFundraiserServiceFundraisers(data: DeleteApiFundraiserServiceFundraisersData = {}): CancelablePromise<DeleteApiFundraiserServiceFundraisersResponse> {
182
- return this.httpRequest.request({
183
- method: 'DELETE',
184
- url: '/api/fundraiser-service/fundraisers',
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 unknown Success
203
- * @throws ApiError
204
- */
205
- public getApiFundraiserServiceFundraisersById(data: GetApiFundraiserServiceFundraisersByIdData): CancelablePromise<GetApiFundraiserServiceFundraisersByIdResponse> {
206
- return this.httpRequest.request({
207
- method: 'GET',
208
- url: '/api/fundraiser-service/fundraisers/{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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse> {
231
- return this.httpRequest.request({
232
- method: 'POST',
233
- url: '/api/fundraiser-service/fundraisers/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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse> {
258
- return this.httpRequest.request({
259
- method: 'POST',
260
- url: '/api/fundraiser-service/fundraisers/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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse> {
285
- return this.httpRequest.request({
286
- method: 'POST',
287
- url: '/api/fundraiser-service/fundraisers/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.individualId
307
- * @param data.requestBody
308
- * @returns unknown Success
309
- * @throws ApiError
310
- */
311
- public postApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdResponse> {
312
- return this.httpRequest.request({
313
- method: 'POST',
314
- url: '/api/fundraiser-service/fundraisers/entity-information-type/individual/personal-summary/{individualId}',
315
- path: {
316
- individualId: data.individualId
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 unknown Success
336
- * @throws ApiError
337
- */
338
- public postApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdResponse> {
339
- return this.httpRequest.request({
340
- method: 'POST',
341
- url: '/api/fundraiser-service/fundraisers/entity-information-type/individual/{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.requestBody
361
- * @returns unknown Success
362
- * @throws ApiError
363
- */
364
- public postApiFundraiserServiceFundraisersIndepentIndividual(data: PostApiFundraiserServiceFundraisersIndepentIndividualData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersIndepentIndividualResponse> {
365
- return this.httpRequest.request({
366
- method: 'POST',
367
- url: '/api/fundraiser-service/fundraisers/indepent-individual',
368
- body: data.requestBody,
369
- mediaType: 'application/json',
370
- errors: {
371
- 400: 'Bad Request',
372
- 401: 'Unauthorized',
373
- 403: 'Forbidden',
374
- 404: 'Not Found',
375
- 500: 'Server Error',
376
- 501: 'Server Error'
377
- }
378
- });
379
- }
380
-
381
- /**
382
- * @param data The data for the request.
383
- * @param data.entityInformationTypeId
384
- * @param data.requestBody
385
- * @returns unknown Success
386
- * @throws ApiError
387
- */
388
- public postApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse> {
389
- return this.httpRequest.request({
390
- method: 'POST',
391
- url: '/api/fundraiser-service/fundraisers/entity-information-type/organization/{entityInformationTypeId}',
392
- path: {
393
- entityInformationTypeId: data.entityInformationTypeId
394
- },
395
- body: data.requestBody,
396
- mediaType: 'application/json',
397
- errors: {
398
- 400: 'Bad Request',
399
- 401: 'Unauthorized',
400
- 403: 'Forbidden',
401
- 404: 'Not Found',
402
- 500: 'Server Error',
403
- 501: 'Server Error'
404
- }
405
- });
406
- }
407
-
408
- /**
409
- * @param data The data for the request.
410
- * @param data.requestBody
411
- * @returns unknown Success
412
- * @throws ApiError
413
- */
414
- public postApiFundraiserServiceFundraisersIndepentOrganization(data: PostApiFundraiserServiceFundraisersIndepentOrganizationData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersIndepentOrganizationResponse> {
415
- return this.httpRequest.request({
416
- method: 'POST',
417
- url: '/api/fundraiser-service/fundraisers/indepent-organization',
418
- body: data.requestBody,
419
- mediaType: 'application/json',
420
- errors: {
421
- 400: 'Bad Request',
422
- 401: 'Unauthorized',
423
- 403: 'Forbidden',
424
- 404: 'Not Found',
425
- 500: 'Server Error',
426
- 501: 'Server Error'
427
- }
428
- });
429
- }
430
-
431
- /**
432
- * @param data The data for the request.
433
- * @param data.fundraiserId
434
- * @param data.requestBody
435
- * @returns unknown Success
436
- * @throws ApiError
437
- */
438
- public postApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdResponse> {
439
- return this.httpRequest.request({
440
- method: 'POST',
441
- url: '/api/fundraiser-service/fundraisers/entity-information-type/{fundraiserId}',
442
- path: {
443
- fundraiserId: data.fundraiserId
444
- },
445
- body: data.requestBody,
446
- mediaType: 'application/json',
447
- errors: {
448
- 400: 'Bad Request',
449
- 401: 'Unauthorized',
450
- 403: 'Forbidden',
451
- 404: 'Not Found',
452
- 500: 'Server Error',
453
- 501: 'Server Error'
454
- }
455
- });
456
- }
457
-
458
- /**
459
- * @param data The data for the request.
460
- * @param data.fundraiserId
461
- * @param data.requestBody
462
- * @returns unknown Success
463
- * @throws ApiError
464
- */
465
- public postApiFundraiserServiceFundraisersAffiliationTypeByFundraiserId(data: PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdData): CancelablePromise<PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdResponse> {
466
- return this.httpRequest.request({
467
- method: 'POST',
468
- url: '/api/fundraiser-service/fundraisers/affiliation-type/{fundraiserId}',
469
- path: {
470
- fundraiserId: data.fundraiserId
471
- },
472
- body: data.requestBody,
473
- mediaType: 'application/json',
474
- errors: {
475
- 400: 'Bad Request',
476
- 401: 'Unauthorized',
477
- 403: 'Forbidden',
478
- 404: 'Not Found',
479
- 500: 'Server Error',
480
- 501: 'Server Error'
481
- }
482
- });
483
- }
484
-
485
- /**
486
- * @param data The data for the request.
487
- * @param data.requestBody
488
- * @returns unknown Success
489
- * @throws ApiError
490
- */
491
- public postApiFundraiserServiceFundraisersWithComponents(data: PostApiFundraiserServiceFundraisersWithComponentsData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersWithComponentsResponse> {
492
- return this.httpRequest.request({
493
- method: 'POST',
494
- url: '/api/fundraiser-service/fundraisers/with-components',
495
- body: data.requestBody,
496
- mediaType: 'application/json',
497
- errors: {
498
- 400: 'Bad Request',
499
- 401: 'Unauthorized',
500
- 403: 'Forbidden',
501
- 404: 'Not Found',
502
- 500: 'Server Error',
503
- 501: 'Server Error'
504
- }
505
- });
506
- }
507
-
508
- /**
509
- * @param data The data for the request.
510
- * @param data.id
511
- * @returns unknown Success
512
- * @throws ApiError
513
- */
514
- public getApiFundraiserServiceFundraisersDetailById(data: GetApiFundraiserServiceFundraisersDetailByIdData): CancelablePromise<GetApiFundraiserServiceFundraisersDetailByIdResponse> {
515
- return this.httpRequest.request({
516
- method: 'GET',
517
- url: '/api/fundraiser-service/fundraisers/detail/{id}',
518
- path: {
519
- id: data.id
520
- },
521
- errors: {
522
- 400: 'Bad Request',
523
- 401: 'Unauthorized',
524
- 403: 'Forbidden',
525
- 404: 'Not Found',
526
- 500: 'Server Error',
527
- 501: 'Server Error'
528
- }
529
- });
530
- }
531
-
532
- /**
533
- * @returns unknown Success
534
- * @throws ApiError
535
- */
536
- public getApiFundraiserServiceFundraisersMyFundraisers(): CancelablePromise<GetApiFundraiserServiceFundraisersMyFundraisersResponse> {
537
- return this.httpRequest.request({
538
- method: 'GET',
539
- url: '/api/fundraiser-service/fundraisers/my-fundraisers',
540
- errors: {
541
- 400: 'Bad Request',
542
- 401: 'Unauthorized',
543
- 403: 'Forbidden',
544
- 404: 'Not Found',
545
- 500: 'Server Error',
546
- 501: 'Server Error'
547
- }
548
- });
549
- }
550
-
551
- /**
552
- * @param data The data for the request.
553
- * @param data.userId
554
- * @returns unknown Success
555
- * @throws ApiError
556
- */
557
- public getApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserId(data: GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdData = {}): CancelablePromise<GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdResponse> {
558
- return this.httpRequest.request({
559
- method: 'GET',
560
- url: '/api/fundraiser-service/fundraisers/profile-list-of-associated-by-abp-user-id',
561
- query: {
562
- userId: data.userId
563
- },
564
- errors: {
565
- 400: 'Bad Request',
566
- 401: 'Unauthorized',
567
- 403: 'Forbidden',
568
- 404: 'Not Found',
569
- 500: 'Server Error',
570
- 501: 'Server Error'
571
- }
572
- });
573
- }
574
-
575
- }
576
-
577
- export class FundraiserPublicService {
578
- constructor(public readonly httpRequest: BaseHttpRequest) { }
579
-
580
- /**
581
- * @param data The data for the request.
582
- * @param data.ids
583
- * @returns unknown Success
584
- * @throws ApiError
585
- */
586
- public getApiFundraiserServicePublicFundraisersProfileListByFundraiserIds(data: GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsData = {}): CancelablePromise<GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsResponse> {
587
- return this.httpRequest.request({
588
- method: 'GET',
589
- url: '/api/fundraiser-service/public/fundraisers/profile-list-by-fundraiser-ids',
590
- query: {
591
- ids: data.ids
592
- },
593
- errors: {
594
- 400: 'Bad Request',
595
- 401: 'Unauthorized',
596
- 403: 'Forbidden',
597
- 404: 'Not Found',
598
- 500: 'Server Error',
599
- 501: 'Server Error'
600
- }
601
- });
602
- }
603
-
604
- /**
605
- * @param data The data for the request.
606
- * @param data.id
607
- * @returns unknown Success
608
- * @throws ApiError
609
- */
610
- public getApiFundraiserServicePublicFundraisersProfileByFundraiserIdById(data: GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdData): CancelablePromise<GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdResponse> {
611
- return this.httpRequest.request({
612
- method: 'GET',
613
- url: '/api/fundraiser-service/public/fundraisers/profile-by-fundraiser-id/{id}',
614
- path: {
615
- id: data.id
616
- },
617
- errors: {
618
- 400: 'Bad Request',
619
- 401: 'Unauthorized',
620
- 403: 'Forbidden',
621
- 404: 'Not Found',
622
- 500: 'Server Error',
623
- 501: 'Server Error'
624
- }
625
- });
626
- }
627
-
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, PostApiFundraiserServiceFundraisersData, PostApiFundraiserServiceFundraisersResponse, GetApiFundraiserServiceFundraisersData, GetApiFundraiserServiceFundraisersResponse, PutApiFundraiserServiceFundraisersData, PutApiFundraiserServiceFundraisersResponse, DeleteApiFundraiserServiceFundraisersData, DeleteApiFundraiserServiceFundraisersResponse, GetApiFundraiserServiceFundraisersByIdData, GetApiFundraiserServiceFundraisersByIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdResponse, PostApiFundraiserServiceFundraisersIndepentIndividualData, PostApiFundraiserServiceFundraisersIndepentIndividualResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse, PostApiFundraiserServiceFundraisersIndepentOrganizationData, PostApiFundraiserServiceFundraisersIndepentOrganizationResponse, PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdData, PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdResponse, PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdData, PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdResponse, PostApiFundraiserServiceFundraisersWithComponentsData, PostApiFundraiserServiceFundraisersWithComponentsResponse, GetApiFundraiserServiceFundraisersDetailByIdData, GetApiFundraiserServiceFundraisersDetailByIdResponse, GetApiFundraiserServiceFundraisersMyFundraisersResponse, GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdData, GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdResponse, GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsData, GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsResponse, GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdData, GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdResponse } 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 unknown 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 unknown 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 unknown 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 FundraiserService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns unknown Success
103
+ * @throws ApiError
104
+ */
105
+ public postApiFundraiserServiceFundraisers(data: PostApiFundraiserServiceFundraisersData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/fundraiser-service/fundraisers',
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 unknown Success
127
+ * @throws ApiError
128
+ */
129
+ public getApiFundraiserServiceFundraisers(data: GetApiFundraiserServiceFundraisersData = {}): CancelablePromise<GetApiFundraiserServiceFundraisersResponse> {
130
+ return this.httpRequest.request({
131
+ method: 'GET',
132
+ url: '/api/fundraiser-service/fundraisers',
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 unknown Success
153
+ * @throws ApiError
154
+ */
155
+ public putApiFundraiserServiceFundraisers(data: PutApiFundraiserServiceFundraisersData = {}): CancelablePromise<PutApiFundraiserServiceFundraisersResponse> {
156
+ return this.httpRequest.request({
157
+ method: 'PUT',
158
+ url: '/api/fundraiser-service/fundraisers',
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 deleteApiFundraiserServiceFundraisers(data: DeleteApiFundraiserServiceFundraisersData = {}): CancelablePromise<DeleteApiFundraiserServiceFundraisersResponse> {
182
+ return this.httpRequest.request({
183
+ method: 'DELETE',
184
+ url: '/api/fundraiser-service/fundraisers',
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 unknown Success
203
+ * @throws ApiError
204
+ */
205
+ public getApiFundraiserServiceFundraisersById(data: GetApiFundraiserServiceFundraisersByIdData): CancelablePromise<GetApiFundraiserServiceFundraisersByIdResponse> {
206
+ return this.httpRequest.request({
207
+ method: 'GET',
208
+ url: '/api/fundraiser-service/fundraisers/{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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeAddressByContactInformationTypeIdResponse> {
231
+ return this.httpRequest.request({
232
+ method: 'POST',
233
+ url: '/api/fundraiser-service/fundraisers/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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeEmailByContactInformationTypeIdResponse> {
258
+ return this.httpRequest.request({
259
+ method: 'POST',
260
+ url: '/api/fundraiser-service/fundraisers/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 postApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrgIndContactInformationTypeTelephoneByContactInformationTypeIdResponse> {
285
+ return this.httpRequest.request({
286
+ method: 'POST',
287
+ url: '/api/fundraiser-service/fundraisers/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.individualId
307
+ * @param data.requestBody
308
+ * @returns unknown Success
309
+ * @throws ApiError
310
+ */
311
+ public postApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualPersonalSummaryByIndividualIdResponse> {
312
+ return this.httpRequest.request({
313
+ method: 'POST',
314
+ url: '/api/fundraiser-service/fundraisers/entity-information-type/individual/personal-summary/{individualId}',
315
+ path: {
316
+ individualId: data.individualId
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 unknown Success
336
+ * @throws ApiError
337
+ */
338
+ public postApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeIndividualByEntityInformationTypeIdResponse> {
339
+ return this.httpRequest.request({
340
+ method: 'POST',
341
+ url: '/api/fundraiser-service/fundraisers/entity-information-type/individual/{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.requestBody
361
+ * @returns unknown Success
362
+ * @throws ApiError
363
+ */
364
+ public postApiFundraiserServiceFundraisersIndepentIndividual(data: PostApiFundraiserServiceFundraisersIndepentIndividualData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersIndepentIndividualResponse> {
365
+ return this.httpRequest.request({
366
+ method: 'POST',
367
+ url: '/api/fundraiser-service/fundraisers/indepent-individual',
368
+ body: data.requestBody,
369
+ mediaType: 'application/json',
370
+ errors: {
371
+ 400: 'Bad Request',
372
+ 401: 'Unauthorized',
373
+ 403: 'Forbidden',
374
+ 404: 'Not Found',
375
+ 500: 'Server Error',
376
+ 501: 'Server Error'
377
+ }
378
+ });
379
+ }
380
+
381
+ /**
382
+ * @param data The data for the request.
383
+ * @param data.entityInformationTypeId
384
+ * @param data.requestBody
385
+ * @returns unknown Success
386
+ * @throws ApiError
387
+ */
388
+ public postApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeOrganizationByEntityInformationTypeIdResponse> {
389
+ return this.httpRequest.request({
390
+ method: 'POST',
391
+ url: '/api/fundraiser-service/fundraisers/entity-information-type/organization/{entityInformationTypeId}',
392
+ path: {
393
+ entityInformationTypeId: data.entityInformationTypeId
394
+ },
395
+ body: data.requestBody,
396
+ mediaType: 'application/json',
397
+ errors: {
398
+ 400: 'Bad Request',
399
+ 401: 'Unauthorized',
400
+ 403: 'Forbidden',
401
+ 404: 'Not Found',
402
+ 500: 'Server Error',
403
+ 501: 'Server Error'
404
+ }
405
+ });
406
+ }
407
+
408
+ /**
409
+ * @param data The data for the request.
410
+ * @param data.requestBody
411
+ * @returns unknown Success
412
+ * @throws ApiError
413
+ */
414
+ public postApiFundraiserServiceFundraisersIndepentOrganization(data: PostApiFundraiserServiceFundraisersIndepentOrganizationData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersIndepentOrganizationResponse> {
415
+ return this.httpRequest.request({
416
+ method: 'POST',
417
+ url: '/api/fundraiser-service/fundraisers/indepent-organization',
418
+ body: data.requestBody,
419
+ mediaType: 'application/json',
420
+ errors: {
421
+ 400: 'Bad Request',
422
+ 401: 'Unauthorized',
423
+ 403: 'Forbidden',
424
+ 404: 'Not Found',
425
+ 500: 'Server Error',
426
+ 501: 'Server Error'
427
+ }
428
+ });
429
+ }
430
+
431
+ /**
432
+ * @param data The data for the request.
433
+ * @param data.fundraiserId
434
+ * @param data.requestBody
435
+ * @returns unknown Success
436
+ * @throws ApiError
437
+ */
438
+ public postApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserId(data: PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdData): CancelablePromise<PostApiFundraiserServiceFundraisersEntityInformationTypeByFundraiserIdResponse> {
439
+ return this.httpRequest.request({
440
+ method: 'POST',
441
+ url: '/api/fundraiser-service/fundraisers/entity-information-type/{fundraiserId}',
442
+ path: {
443
+ fundraiserId: data.fundraiserId
444
+ },
445
+ body: data.requestBody,
446
+ mediaType: 'application/json',
447
+ errors: {
448
+ 400: 'Bad Request',
449
+ 401: 'Unauthorized',
450
+ 403: 'Forbidden',
451
+ 404: 'Not Found',
452
+ 500: 'Server Error',
453
+ 501: 'Server Error'
454
+ }
455
+ });
456
+ }
457
+
458
+ /**
459
+ * @param data The data for the request.
460
+ * @param data.fundraiserId
461
+ * @param data.requestBody
462
+ * @returns unknown Success
463
+ * @throws ApiError
464
+ */
465
+ public postApiFundraiserServiceFundraisersAffiliationTypeByFundraiserId(data: PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdData): CancelablePromise<PostApiFundraiserServiceFundraisersAffiliationTypeByFundraiserIdResponse> {
466
+ return this.httpRequest.request({
467
+ method: 'POST',
468
+ url: '/api/fundraiser-service/fundraisers/affiliation-type/{fundraiserId}',
469
+ path: {
470
+ fundraiserId: data.fundraiserId
471
+ },
472
+ body: data.requestBody,
473
+ mediaType: 'application/json',
474
+ errors: {
475
+ 400: 'Bad Request',
476
+ 401: 'Unauthorized',
477
+ 403: 'Forbidden',
478
+ 404: 'Not Found',
479
+ 500: 'Server Error',
480
+ 501: 'Server Error'
481
+ }
482
+ });
483
+ }
484
+
485
+ /**
486
+ * @param data The data for the request.
487
+ * @param data.requestBody
488
+ * @returns unknown Success
489
+ * @throws ApiError
490
+ */
491
+ public postApiFundraiserServiceFundraisersWithComponents(data: PostApiFundraiserServiceFundraisersWithComponentsData = {}): CancelablePromise<PostApiFundraiserServiceFundraisersWithComponentsResponse> {
492
+ return this.httpRequest.request({
493
+ method: 'POST',
494
+ url: '/api/fundraiser-service/fundraisers/with-components',
495
+ body: data.requestBody,
496
+ mediaType: 'application/json',
497
+ errors: {
498
+ 400: 'Bad Request',
499
+ 401: 'Unauthorized',
500
+ 403: 'Forbidden',
501
+ 404: 'Not Found',
502
+ 500: 'Server Error',
503
+ 501: 'Server Error'
504
+ }
505
+ });
506
+ }
507
+
508
+ /**
509
+ * @param data The data for the request.
510
+ * @param data.id
511
+ * @returns unknown Success
512
+ * @throws ApiError
513
+ */
514
+ public getApiFundraiserServiceFundraisersDetailById(data: GetApiFundraiserServiceFundraisersDetailByIdData): CancelablePromise<GetApiFundraiserServiceFundraisersDetailByIdResponse> {
515
+ return this.httpRequest.request({
516
+ method: 'GET',
517
+ url: '/api/fundraiser-service/fundraisers/detail/{id}',
518
+ path: {
519
+ id: data.id
520
+ },
521
+ errors: {
522
+ 400: 'Bad Request',
523
+ 401: 'Unauthorized',
524
+ 403: 'Forbidden',
525
+ 404: 'Not Found',
526
+ 500: 'Server Error',
527
+ 501: 'Server Error'
528
+ }
529
+ });
530
+ }
531
+
532
+ /**
533
+ * @returns unknown Success
534
+ * @throws ApiError
535
+ */
536
+ public getApiFundraiserServiceFundraisersMyFundraisers(): CancelablePromise<GetApiFundraiserServiceFundraisersMyFundraisersResponse> {
537
+ return this.httpRequest.request({
538
+ method: 'GET',
539
+ url: '/api/fundraiser-service/fundraisers/my-fundraisers',
540
+ errors: {
541
+ 400: 'Bad Request',
542
+ 401: 'Unauthorized',
543
+ 403: 'Forbidden',
544
+ 404: 'Not Found',
545
+ 500: 'Server Error',
546
+ 501: 'Server Error'
547
+ }
548
+ });
549
+ }
550
+
551
+ /**
552
+ * @param data The data for the request.
553
+ * @param data.userId
554
+ * @returns unknown Success
555
+ * @throws ApiError
556
+ */
557
+ public getApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserId(data: GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdData = {}): CancelablePromise<GetApiFundraiserServiceFundraisersProfileListOfAssociatedByAbpUserIdResponse> {
558
+ return this.httpRequest.request({
559
+ method: 'GET',
560
+ url: '/api/fundraiser-service/fundraisers/profile-list-of-associated-by-abp-user-id',
561
+ query: {
562
+ userId: data.userId
563
+ },
564
+ errors: {
565
+ 400: 'Bad Request',
566
+ 401: 'Unauthorized',
567
+ 403: 'Forbidden',
568
+ 404: 'Not Found',
569
+ 500: 'Server Error',
570
+ 501: 'Server Error'
571
+ }
572
+ });
573
+ }
574
+
575
+ }
576
+
577
+ export class FundraiserPublicService {
578
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
579
+
580
+ /**
581
+ * @param data The data for the request.
582
+ * @param data.ids
583
+ * @returns unknown Success
584
+ * @throws ApiError
585
+ */
586
+ public getApiFundraiserServicePublicFundraisersProfileListByFundraiserIds(data: GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsData = {}): CancelablePromise<GetApiFundraiserServicePublicFundraisersProfileListByFundraiserIdsResponse> {
587
+ return this.httpRequest.request({
588
+ method: 'GET',
589
+ url: '/api/fundraiser-service/public/fundraisers/profile-list-by-fundraiser-ids',
590
+ query: {
591
+ ids: data.ids
592
+ },
593
+ errors: {
594
+ 400: 'Bad Request',
595
+ 401: 'Unauthorized',
596
+ 403: 'Forbidden',
597
+ 404: 'Not Found',
598
+ 500: 'Server Error',
599
+ 501: 'Server Error'
600
+ }
601
+ });
602
+ }
603
+
604
+ /**
605
+ * @param data The data for the request.
606
+ * @param data.id
607
+ * @returns unknown Success
608
+ * @throws ApiError
609
+ */
610
+ public getApiFundraiserServicePublicFundraisersProfileByFundraiserIdById(data: GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdData): CancelablePromise<GetApiFundraiserServicePublicFundraisersProfileByFundraiserIdByIdResponse> {
611
+ return this.httpRequest.request({
612
+ method: 'GET',
613
+ url: '/api/fundraiser-service/public/fundraisers/profile-by-fundraiser-id/{id}',
614
+ path: {
615
+ id: data.id
616
+ },
617
+ errors: {
618
+ 400: 'Bad Request',
619
+ 401: 'Unauthorized',
620
+ 403: 'Forbidden',
621
+ 404: 'Not Found',
622
+ 500: 'Server Error',
623
+ 501: 'Server Error'
624
+ }
625
+ });
626
+ }
627
+
628
628
  }