@ayasofyazilim/saas 0.0.51 → 0.0.52

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 (115) hide show
  1. package/AccountService/AccountServiceClient.ts +68 -68
  2. package/AccountService/core/ApiRequestOptions.ts +12 -12
  3. package/AccountService/core/BaseHttpRequest.ts +9 -9
  4. package/AccountService/core/FetchHttpRequest.ts +21 -21
  5. package/AccountService/core/OpenAPI.ts +55 -55
  6. package/AccountService/core/request.ts +340 -340
  7. package/AccountService/index.ts +8 -8
  8. package/AccountService/schemas.gen.ts +5333 -5333
  9. package/AccountService/services.gen.ts +1539 -1539
  10. package/AccountService/types.gen.ts +3328 -3328
  11. package/AdministrationService/AdministrationServiceClient.ts +77 -77
  12. package/AdministrationService/core/ApiRequestOptions.ts +12 -12
  13. package/AdministrationService/core/BaseHttpRequest.ts +9 -9
  14. package/AdministrationService/core/FetchHttpRequest.ts +21 -21
  15. package/AdministrationService/core/OpenAPI.ts +55 -55
  16. package/AdministrationService/core/request.ts +340 -340
  17. package/AdministrationService/index.ts +8 -8
  18. package/AdministrationService/schemas.gen.ts +5987 -5987
  19. package/AdministrationService/services.gen.ts +1404 -1404
  20. package/AdministrationService/types.gen.ts +2851 -2851
  21. package/BackerService/core/ApiRequestOptions.ts +12 -12
  22. package/BackerService/core/BaseHttpRequest.ts +9 -9
  23. package/BackerService/core/FetchHttpRequest.ts +21 -21
  24. package/BackerService/core/OpenAPI.ts +55 -55
  25. package/BackerService/core/request.ts +340 -340
  26. package/BackerService/index.ts +8 -8
  27. package/BackerService/services.gen.ts +866 -866
  28. package/BackerService/types.gen.ts +2170 -2170
  29. package/CRMService/schemas.gen.ts +104 -0
  30. package/CRMService/services.gen.ts +65 -4
  31. package/CRMService/types.gen.ts +116 -6
  32. package/FundraiserService/core/ApiRequestOptions.ts +12 -12
  33. package/FundraiserService/core/BaseHttpRequest.ts +9 -9
  34. package/FundraiserService/core/FetchHttpRequest.ts +21 -21
  35. package/FundraiserService/core/OpenAPI.ts +55 -55
  36. package/FundraiserService/core/request.ts +340 -340
  37. package/FundraiserService/index.ts +8 -8
  38. package/FundraiserService/services.gen.ts +627 -627
  39. package/FundraiserService/types.gen.ts +1793 -1793
  40. package/IdentityService/IdentityServiceClient.ts +80 -80
  41. package/IdentityService/core/ApiRequestOptions.ts +12 -12
  42. package/IdentityService/core/BaseHttpRequest.ts +9 -9
  43. package/IdentityService/core/FetchHttpRequest.ts +21 -21
  44. package/IdentityService/core/OpenAPI.ts +55 -55
  45. package/IdentityService/core/request.ts +340 -340
  46. package/IdentityService/index.ts +8 -8
  47. package/IdentityService/schemas.gen.ts +6845 -6845
  48. package/IdentityService/services.gen.ts +2924 -2924
  49. package/IdentityService/types.gen.ts +5484 -5484
  50. package/LocationService/LocationServiceClient.ts +74 -74
  51. package/LocationService/core/ApiError.ts +20 -20
  52. package/LocationService/core/ApiRequestOptions.ts +12 -12
  53. package/LocationService/core/ApiResult.ts +6 -6
  54. package/LocationService/core/BaseHttpRequest.ts +9 -9
  55. package/LocationService/core/CancelablePromise.ts +125 -125
  56. package/LocationService/core/FetchHttpRequest.ts +21 -21
  57. package/LocationService/core/OpenAPI.ts +55 -55
  58. package/LocationService/core/request.ts +340 -340
  59. package/LocationService/index.ts +8 -8
  60. package/MerchantService/core/ApiRequestOptions.ts +12 -12
  61. package/MerchantService/core/BaseHttpRequest.ts +9 -9
  62. package/MerchantService/core/FetchHttpRequest.ts +21 -21
  63. package/MerchantService/core/OpenAPI.ts +55 -55
  64. package/MerchantService/core/request.ts +340 -340
  65. package/MerchantService/schemas.gen.ts +14764 -14764
  66. package/MerchantService/services.gen.ts +1602 -1602
  67. package/ProjectService/core/ApiRequestOptions.ts +12 -12
  68. package/ProjectService/core/BaseHttpRequest.ts +9 -9
  69. package/ProjectService/core/FetchHttpRequest.ts +21 -21
  70. package/ProjectService/core/OpenAPI.ts +55 -55
  71. package/ProjectService/core/request.ts +340 -340
  72. package/ProjectService/index.ts +8 -8
  73. package/ProjectService/services.gen.ts +492 -492
  74. package/ProjectService/types.gen.ts +1303 -1303
  75. package/ProjectService.json +2937 -2937
  76. package/SaasService/core/ApiRequestOptions.ts +12 -12
  77. package/SaasService/core/BaseHttpRequest.ts +9 -9
  78. package/SaasService/core/FetchHttpRequest.ts +21 -21
  79. package/SaasService/core/OpenAPI.ts +55 -55
  80. package/SaasService/core/request.ts +340 -340
  81. package/SaasService/index.ts +8 -8
  82. package/SaasService/schemas.gen.ts +5345 -5345
  83. package/SaasService/services.gen.ts +1329 -1329
  84. package/SaasService/types.gen.ts +2737 -2737
  85. package/SettingService/schemas.gen.ts +5410 -5410
  86. package/SettingService/services.gen.ts +890 -890
  87. package/SettingService/types.gen.ts +2052 -2052
  88. package/TagService/TagServiceClient.ts +44 -44
  89. package/TagService/core/ApiError.ts +20 -20
  90. package/TagService/core/ApiRequestOptions.ts +12 -12
  91. package/TagService/core/ApiResult.ts +6 -6
  92. package/TagService/core/BaseHttpRequest.ts +9 -9
  93. package/TagService/core/CancelablePromise.ts +125 -125
  94. package/TagService/core/FetchHttpRequest.ts +21 -21
  95. package/TagService/core/OpenAPI.ts +55 -55
  96. package/TagService/core/request.ts +340 -340
  97. package/TagService/index.ts +8 -8
  98. package/TagService/schemas.gen.ts +4736 -4736
  99. package/TagService/services.gen.ts +199 -199
  100. package/TagService/types.gen.ts +800 -800
  101. package/TravellerService/TravellerServiceClient.ts +56 -56
  102. package/TravellerService/core/ApiError.ts +20 -20
  103. package/TravellerService/core/ApiRequestOptions.ts +12 -12
  104. package/TravellerService/core/ApiResult.ts +6 -6
  105. package/TravellerService/core/BaseHttpRequest.ts +9 -9
  106. package/TravellerService/core/CancelablePromise.ts +125 -125
  107. package/TravellerService/core/FetchHttpRequest.ts +21 -21
  108. package/TravellerService/core/OpenAPI.ts +55 -55
  109. package/TravellerService/core/request.ts +340 -340
  110. package/TravellerService/index.ts +8 -8
  111. package/TravellerService/schemas.gen.ts +6274 -6322
  112. package/TravellerService/services.gen.ts +713 -713
  113. package/TravellerService/types.gen.ts +1835 -1834
  114. package/package.json +1 -1
  115. 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 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
-
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
  }