@ayasofyazilim/saas 0.0.37 → 0.0.38

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