@ayasofyazilim/saas 0.0.40 → 0.0.42

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (107) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -65
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +9 -9
  8. package/AccountService/schemas.gen.ts +5333 -5103
  9. package/AccountService/services.gen.ts +1539 -1452
  10. package/AccountService/types.gen.ts +3328 -9896
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -74
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +9 -9
  18. package/AdministrationService/schemas.gen.ts +5987 -5897
  19. package/AdministrationService/services.gen.ts +1404 -1332
  20. package/AdministrationService/types.gen.ts +2851 -9024
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +9 -9
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -14936
  29. package/CRMService/schemas.gen.ts +15928 -15920
  30. package/CRMService/services.gen.ts +2104 -2052
  31. package/CRMService/types.gen.ts +4189 -4106
  32. package/ContractService/schemas.gen.ts +70 -524
  33. package/ContractService/types.gen.ts +12 -8
  34. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  35. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  36. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  37. package/FundraiserService/core/OpenAPI.ts +55 -55
  38. package/FundraiserService/core/request.ts +340 -340
  39. package/FundraiserService/index.ts +9 -9
  40. package/FundraiserService/services.gen.ts +627 -627
  41. package/FundraiserService/types.gen.ts +1793 -11187
  42. package/IdentityService/IdentityServiceClient.ts +80 -77
  43. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  44. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  45. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  46. package/IdentityService/core/OpenAPI.ts +55 -55
  47. package/IdentityService/core/request.ts +340 -340
  48. package/IdentityService/index.ts +9 -9
  49. package/IdentityService/schemas.gen.ts +6845 -6573
  50. package/IdentityService/services.gen.ts +2924 -2839
  51. package/IdentityService/types.gen.ts +5484 -17446
  52. package/LocationService/LocationServiceClient.ts +110 -110
  53. package/LocationService/core/ApiError.ts +20 -20
  54. package/LocationService/core/ApiRequestOptions.ts +12 -12
  55. package/LocationService/core/ApiResult.ts +6 -6
  56. package/LocationService/core/BaseHttpRequest.ts +9 -9
  57. package/LocationService/core/CancelablePromise.ts +125 -125
  58. package/LocationService/core/FetchHttpRequest.ts +21 -21
  59. package/LocationService/core/OpenAPI.ts +55 -55
  60. package/LocationService/core/request.ts +340 -340
  61. package/LocationService/index.ts +8 -8
  62. package/LocationService/schemas.gen.ts +10136 -10136
  63. package/LocationService/services.gen.ts +3392 -3392
  64. package/LocationService/types.gen.ts +6507 -6507
  65. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  66. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  67. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  68. package/MerchantService/core/OpenAPI.ts +55 -55
  69. package/MerchantService/core/request.ts +340 -340
  70. package/MerchantService/schemas.gen.ts +14764 -14764
  71. package/MerchantService/services.gen.ts +1602 -1602
  72. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  73. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  74. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  75. package/ProjectService/core/OpenAPI.ts +55 -55
  76. package/ProjectService/core/request.ts +340 -340
  77. package/ProjectService/index.ts +9 -9
  78. package/ProjectService/services.gen.ts +492 -492
  79. package/ProjectService/types.gen.ts +1303 -4978
  80. package/ProjectService.json +2937 -2937
  81. package/SaasService/core/ApiRequestOptions.ts +12 -12
  82. package/SaasService/core/BaseHttpRequest.ts +9 -9
  83. package/SaasService/core/FetchHttpRequest.ts +21 -21
  84. package/SaasService/core/OpenAPI.ts +55 -55
  85. package/SaasService/core/request.ts +340 -340
  86. package/SaasService/index.ts +9 -9
  87. package/SaasService/schemas.gen.ts +5345 -5278
  88. package/SaasService/services.gen.ts +1329 -1325
  89. package/SaasService/types.gen.ts +2737 -9052
  90. package/SettingService/schemas.gen.ts +5410 -5395
  91. package/SettingService/services.gen.ts +890 -843
  92. package/SettingService/types.gen.ts +2052 -1965
  93. package/TravellerService/TravellerServiceClient.ts +56 -56
  94. package/TravellerService/core/ApiError.ts +20 -20
  95. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  96. package/TravellerService/core/ApiResult.ts +6 -6
  97. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  98. package/TravellerService/core/CancelablePromise.ts +125 -125
  99. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  100. package/TravellerService/core/OpenAPI.ts +55 -55
  101. package/TravellerService/core/request.ts +340 -340
  102. package/TravellerService/index.ts +8 -8
  103. package/TravellerService/schemas.gen.ts +6184 -6204
  104. package/TravellerService/services.gen.ts +699 -695
  105. package/TravellerService/types.gen.ts +1809 -1808
  106. package/package.json +1 -1
  107. package/swagger.json +4794 -4794
@@ -1,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 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 FundraiserService {
97
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
98
+
99
+ /**
100
+ * @param data The data for the request.
101
+ * @param data.requestBody
102
+ * @returns UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto 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 Volo_Abp_Application_Dtos_PagedResultDto_1<UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto__UpwithCrowd_FundraiserService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto 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 UpwithCrowd_FundraiserService_PersonalSummaries_PersonalSummaryDto 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 UpwithCrowd_FundraiserService_Individuals_IndividualDto 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 UpwithCrowd_FundraiserService_Individuals_IndividualDto 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 UpwithCrowd_FundraiserService_Organizations_OrganizationDto 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 UpwithCrowd_FundraiserService_Organizations_OrganizationDto 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 UpwithCrowd_FundraiserService_EntityInformationTypes_EntityInformationTypeDto 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 UpwithCrowd_FundraiserService_AffiliationTypes_AffiliationTypeDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserProfileDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserProfileDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserProfileDto 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 UpwithCrowd_FundraiserService_Fundraisers_FundraiserProfileDto 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
  }