@ayasofyazilim/saas 0.0.17 → 0.0.18

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.
@@ -1,147 +1,584 @@
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, GetApiAbpMultiTenancyTenantsByNameByNameData, GetApiAbpMultiTenancyTenantsByNameByNameResponse, GetApiAbpMultiTenancyTenantsByIdByIdData, GetApiAbpMultiTenancyTenantsByIdByIdResponse } 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 AbpTenantService {
97
- constructor(public readonly httpRequest: BaseHttpRequest) { }
98
-
99
- /**
100
- * @param data The data for the request.
101
- * @param data.name
102
- * @returns unknown Success
103
- * @throws ApiError
104
- */
105
- public getApiAbpMultiTenancyTenantsByNameByName(data: GetApiAbpMultiTenancyTenantsByNameByNameData): CancelablePromise<GetApiAbpMultiTenancyTenantsByNameByNameResponse> {
106
- return this.httpRequest.request({
107
- method: 'GET',
108
- url: '/api/abp/multi-tenancy/tenants/by-name/{name}',
109
- path: {
110
- name: data.name
111
- },
112
- errors: {
113
- 400: 'Bad Request',
114
- 401: 'Unauthorized',
115
- 403: 'Forbidden',
116
- 404: 'Not Found',
117
- 500: 'Server Error',
118
- 501: 'Server Error'
119
- }
120
- });
121
- }
122
-
123
- /**
124
- * @param data The data for the request.
125
- * @param data.id
126
- * @returns unknown Success
127
- * @throws ApiError
128
- */
129
- public getApiAbpMultiTenancyTenantsByIdById(data: GetApiAbpMultiTenancyTenantsByIdByIdData): CancelablePromise<GetApiAbpMultiTenancyTenantsByIdByIdResponse> {
130
- return this.httpRequest.request({
131
- method: 'GET',
132
- url: '/api/abp/multi-tenancy/tenants/by-id/{id}',
133
- path: {
134
- id: data.id
135
- },
136
- errors: {
137
- 400: 'Bad Request',
138
- 401: 'Unauthorized',
139
- 403: 'Forbidden',
140
- 404: 'Not Found',
141
- 500: 'Server Error',
142
- 501: 'Server Error'
143
- }
144
- });
145
- }
146
-
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, PostApiProjectServiceProjectsData, PostApiProjectServiceProjectsResponse, GetApiProjectServiceProjectsData, GetApiProjectServiceProjectsResponse, DeleteApiProjectServiceProjectsByIdData, DeleteApiProjectServiceProjectsByIdResponse, GetApiProjectServiceProjectsByIdData, GetApiProjectServiceProjectsByIdResponse, PutApiProjectServiceProjectsByIdData, PutApiProjectServiceProjectsByIdResponse, GetApiProjectServiceProjectsDetailByIdData, GetApiProjectServiceProjectsDetailByIdResponse, PutApiProjectServiceProjectsStatusData, PutApiProjectServiceProjectsStatusResponse, PostApiProjectServiceProjectSectionData, PostApiProjectServiceProjectSectionResponse, DeleteApiProjectServiceProjectSectionData, DeleteApiProjectServiceProjectSectionResponse, GetApiProjectServiceProjectSectionData, GetApiProjectServiceProjectSectionResponse, PutApiProjectServiceProjectSectionData, PutApiProjectServiceProjectSectionResponse, GetApiProjectServiceProjectSectionByIdData, GetApiProjectServiceProjectSectionByIdResponse, PostApiProjectServiceProjectSectionRelationData, PostApiProjectServiceProjectSectionRelationResponse, DeleteApiProjectServiceProjectSectionRelationData, DeleteApiProjectServiceProjectSectionRelationResponse, GetApiProjectServiceProjectSectionRelationData, GetApiProjectServiceProjectSectionRelationResponse, GetApiProjectServiceProjectSectionRelationByIdData, GetApiProjectServiceProjectSectionRelationByIdResponse, PutApiProjectServiceProjectSectionRelationByIdData, PutApiProjectServiceProjectSectionRelationByIdResponse, GetApiProjectServiceProjectSectionRelationGetListByProjectIdByProjectIdData, GetApiProjectServiceProjectSectionRelationGetListByProjectIdByProjectIdResponse, PostApiProjectServiceProjectSectionRelationReorderData, PostApiProjectServiceProjectSectionRelationReorderResponse } 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 ProjectService {
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 postApiProjectServiceProjects(data: PostApiProjectServiceProjectsData = {}): CancelablePromise<PostApiProjectServiceProjectsResponse> {
106
+ return this.httpRequest.request({
107
+ method: 'POST',
108
+ url: '/api/project-service/projects',
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.sorting
125
+ * @param data.skipCount
126
+ * @param data.maxResultCount
127
+ * @returns unknown Success
128
+ * @throws ApiError
129
+ */
130
+ public getApiProjectServiceProjects(data: GetApiProjectServiceProjectsData = {}): CancelablePromise<GetApiProjectServiceProjectsResponse> {
131
+ return this.httpRequest.request({
132
+ method: 'GET',
133
+ url: '/api/project-service/projects',
134
+ query: {
135
+ Sorting: data.sorting,
136
+ SkipCount: data.skipCount,
137
+ MaxResultCount: data.maxResultCount
138
+ },
139
+ errors: {
140
+ 400: 'Bad Request',
141
+ 401: 'Unauthorized',
142
+ 403: 'Forbidden',
143
+ 404: 'Not Found',
144
+ 500: 'Server Error',
145
+ 501: 'Server Error'
146
+ }
147
+ });
148
+ }
149
+
150
+ /**
151
+ * @param data The data for the request.
152
+ * @param data.id
153
+ * @returns unknown Success
154
+ * @throws ApiError
155
+ */
156
+ public deleteApiProjectServiceProjectsById(data: DeleteApiProjectServiceProjectsByIdData): CancelablePromise<DeleteApiProjectServiceProjectsByIdResponse> {
157
+ return this.httpRequest.request({
158
+ method: 'DELETE',
159
+ url: '/api/project-service/projects/{id}',
160
+ path: {
161
+ id: data.id
162
+ },
163
+ errors: {
164
+ 400: 'Bad Request',
165
+ 401: 'Unauthorized',
166
+ 403: 'Forbidden',
167
+ 404: 'Not Found',
168
+ 500: 'Server Error',
169
+ 501: 'Server Error'
170
+ }
171
+ });
172
+ }
173
+
174
+ /**
175
+ * @param data The data for the request.
176
+ * @param data.id
177
+ * @returns unknown Success
178
+ * @throws ApiError
179
+ */
180
+ public getApiProjectServiceProjectsById(data: GetApiProjectServiceProjectsByIdData): CancelablePromise<GetApiProjectServiceProjectsByIdResponse> {
181
+ return this.httpRequest.request({
182
+ method: 'GET',
183
+ url: '/api/project-service/projects/{id}',
184
+ path: {
185
+ id: data.id
186
+ },
187
+ errors: {
188
+ 400: 'Bad Request',
189
+ 401: 'Unauthorized',
190
+ 403: 'Forbidden',
191
+ 404: 'Not Found',
192
+ 500: 'Server Error',
193
+ 501: 'Server Error'
194
+ }
195
+ });
196
+ }
197
+
198
+ /**
199
+ * @param data The data for the request.
200
+ * @param data.id
201
+ * @param data.requestBody
202
+ * @returns unknown Success
203
+ * @throws ApiError
204
+ */
205
+ public putApiProjectServiceProjectsById(data: PutApiProjectServiceProjectsByIdData): CancelablePromise<PutApiProjectServiceProjectsByIdResponse> {
206
+ return this.httpRequest.request({
207
+ method: 'PUT',
208
+ url: '/api/project-service/projects/{id}',
209
+ path: {
210
+ id: data.id
211
+ },
212
+ body: data.requestBody,
213
+ mediaType: 'application/json',
214
+ errors: {
215
+ 400: 'Bad Request',
216
+ 401: 'Unauthorized',
217
+ 403: 'Forbidden',
218
+ 404: 'Not Found',
219
+ 500: 'Server Error',
220
+ 501: 'Server Error'
221
+ }
222
+ });
223
+ }
224
+
225
+ /**
226
+ * @param data The data for the request.
227
+ * @param data.id
228
+ * @returns unknown Success
229
+ * @throws ApiError
230
+ */
231
+ public getApiProjectServiceProjectsDetailById(data: GetApiProjectServiceProjectsDetailByIdData): CancelablePromise<GetApiProjectServiceProjectsDetailByIdResponse> {
232
+ return this.httpRequest.request({
233
+ method: 'GET',
234
+ url: '/api/project-service/projects/detail/{id}',
235
+ path: {
236
+ id: data.id
237
+ },
238
+ errors: {
239
+ 400: 'Bad Request',
240
+ 401: 'Unauthorized',
241
+ 403: 'Forbidden',
242
+ 404: 'Not Found',
243
+ 500: 'Server Error',
244
+ 501: 'Server Error'
245
+ }
246
+ });
247
+ }
248
+
249
+ /**
250
+ * @param data The data for the request.
251
+ * @param data.projectId
252
+ * @param data.status
253
+ * @returns unknown Success
254
+ * @throws ApiError
255
+ */
256
+ public putApiProjectServiceProjectsStatus(data: PutApiProjectServiceProjectsStatusData = {}): CancelablePromise<PutApiProjectServiceProjectsStatusResponse> {
257
+ return this.httpRequest.request({
258
+ method: 'PUT',
259
+ url: '/api/project-service/projects/status',
260
+ query: {
261
+ projectId: data.projectId,
262
+ status: data.status
263
+ },
264
+ errors: {
265
+ 400: 'Bad Request',
266
+ 401: 'Unauthorized',
267
+ 403: 'Forbidden',
268
+ 404: 'Not Found',
269
+ 500: 'Server Error',
270
+ 501: 'Server Error'
271
+ }
272
+ });
273
+ }
274
+
275
+ }
276
+
277
+ export class ProjectSectionService {
278
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
279
+
280
+ /**
281
+ * @param data The data for the request.
282
+ * @param data.requestBody
283
+ * @returns unknown Success
284
+ * @throws ApiError
285
+ */
286
+ public postApiProjectServiceProjectSection(data: PostApiProjectServiceProjectSectionData = {}): CancelablePromise<PostApiProjectServiceProjectSectionResponse> {
287
+ return this.httpRequest.request({
288
+ method: 'POST',
289
+ url: '/api/project-service/projectSection',
290
+ body: data.requestBody,
291
+ mediaType: 'application/json',
292
+ errors: {
293
+ 400: 'Bad Request',
294
+ 401: 'Unauthorized',
295
+ 403: 'Forbidden',
296
+ 404: 'Not Found',
297
+ 500: 'Server Error',
298
+ 501: 'Server Error'
299
+ }
300
+ });
301
+ }
302
+
303
+ /**
304
+ * @param data The data for the request.
305
+ * @param data.id
306
+ * @returns unknown Success
307
+ * @throws ApiError
308
+ */
309
+ public deleteApiProjectServiceProjectSection(data: DeleteApiProjectServiceProjectSectionData = {}): CancelablePromise<DeleteApiProjectServiceProjectSectionResponse> {
310
+ return this.httpRequest.request({
311
+ method: 'DELETE',
312
+ url: '/api/project-service/projectSection',
313
+ query: {
314
+ id: data.id
315
+ },
316
+ errors: {
317
+ 400: 'Bad Request',
318
+ 401: 'Unauthorized',
319
+ 403: 'Forbidden',
320
+ 404: 'Not Found',
321
+ 500: 'Server Error',
322
+ 501: 'Server Error'
323
+ }
324
+ });
325
+ }
326
+
327
+ /**
328
+ * @param data The data for the request.
329
+ * @param data.sorting
330
+ * @param data.skipCount
331
+ * @param data.maxResultCount
332
+ * @returns unknown Success
333
+ * @throws ApiError
334
+ */
335
+ public getApiProjectServiceProjectSection(data: GetApiProjectServiceProjectSectionData = {}): CancelablePromise<GetApiProjectServiceProjectSectionResponse> {
336
+ return this.httpRequest.request({
337
+ method: 'GET',
338
+ url: '/api/project-service/projectSection',
339
+ query: {
340
+ Sorting: data.sorting,
341
+ SkipCount: data.skipCount,
342
+ MaxResultCount: data.maxResultCount
343
+ },
344
+ errors: {
345
+ 400: 'Bad Request',
346
+ 401: 'Unauthorized',
347
+ 403: 'Forbidden',
348
+ 404: 'Not Found',
349
+ 500: 'Server Error',
350
+ 501: 'Server Error'
351
+ }
352
+ });
353
+ }
354
+
355
+ /**
356
+ * @param data The data for the request.
357
+ * @param data.id
358
+ * @param data.requestBody
359
+ * @returns unknown Success
360
+ * @throws ApiError
361
+ */
362
+ public putApiProjectServiceProjectSection(data: PutApiProjectServiceProjectSectionData = {}): CancelablePromise<PutApiProjectServiceProjectSectionResponse> {
363
+ return this.httpRequest.request({
364
+ method: 'PUT',
365
+ url: '/api/project-service/projectSection',
366
+ query: {
367
+ id: data.id
368
+ },
369
+ body: data.requestBody,
370
+ mediaType: 'application/json',
371
+ errors: {
372
+ 400: 'Bad Request',
373
+ 401: 'Unauthorized',
374
+ 403: 'Forbidden',
375
+ 404: 'Not Found',
376
+ 500: 'Server Error',
377
+ 501: 'Server Error'
378
+ }
379
+ });
380
+ }
381
+
382
+ /**
383
+ * @param data The data for the request.
384
+ * @param data.id
385
+ * @returns unknown Success
386
+ * @throws ApiError
387
+ */
388
+ public getApiProjectServiceProjectSectionById(data: GetApiProjectServiceProjectSectionByIdData): CancelablePromise<GetApiProjectServiceProjectSectionByIdResponse> {
389
+ return this.httpRequest.request({
390
+ method: 'GET',
391
+ url: '/api/project-service/projectSection/{id}',
392
+ path: {
393
+ id: data.id
394
+ },
395
+ errors: {
396
+ 400: 'Bad Request',
397
+ 401: 'Unauthorized',
398
+ 403: 'Forbidden',
399
+ 404: 'Not Found',
400
+ 500: 'Server Error',
401
+ 501: 'Server Error'
402
+ }
403
+ });
404
+ }
405
+
406
+ }
407
+
408
+ export class ProjectSectionRelationService {
409
+ constructor(public readonly httpRequest: BaseHttpRequest) { }
410
+
411
+ /**
412
+ * @param data The data for the request.
413
+ * @param data.requestBody
414
+ * @returns unknown Success
415
+ * @throws ApiError
416
+ */
417
+ public postApiProjectServiceProjectSectionRelation(data: PostApiProjectServiceProjectSectionRelationData = {}): CancelablePromise<PostApiProjectServiceProjectSectionRelationResponse> {
418
+ return this.httpRequest.request({
419
+ method: 'POST',
420
+ url: '/api/project-service/projectSectionRelation',
421
+ body: data.requestBody,
422
+ mediaType: 'application/json',
423
+ errors: {
424
+ 400: 'Bad Request',
425
+ 401: 'Unauthorized',
426
+ 403: 'Forbidden',
427
+ 404: 'Not Found',
428
+ 500: 'Server Error',
429
+ 501: 'Server Error'
430
+ }
431
+ });
432
+ }
433
+
434
+ /**
435
+ * @param data The data for the request.
436
+ * @param data.id
437
+ * @returns unknown Success
438
+ * @throws ApiError
439
+ */
440
+ public deleteApiProjectServiceProjectSectionRelation(data: DeleteApiProjectServiceProjectSectionRelationData = {}): CancelablePromise<DeleteApiProjectServiceProjectSectionRelationResponse> {
441
+ return this.httpRequest.request({
442
+ method: 'DELETE',
443
+ url: '/api/project-service/projectSectionRelation',
444
+ query: {
445
+ id: data.id
446
+ },
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.sorting
461
+ * @param data.skipCount
462
+ * @param data.maxResultCount
463
+ * @returns unknown Success
464
+ * @throws ApiError
465
+ */
466
+ public getApiProjectServiceProjectSectionRelation(data: GetApiProjectServiceProjectSectionRelationData = {}): CancelablePromise<GetApiProjectServiceProjectSectionRelationResponse> {
467
+ return this.httpRequest.request({
468
+ method: 'GET',
469
+ url: '/api/project-service/projectSectionRelation',
470
+ query: {
471
+ Sorting: data.sorting,
472
+ SkipCount: data.skipCount,
473
+ MaxResultCount: data.maxResultCount
474
+ },
475
+ errors: {
476
+ 400: 'Bad Request',
477
+ 401: 'Unauthorized',
478
+ 403: 'Forbidden',
479
+ 404: 'Not Found',
480
+ 500: 'Server Error',
481
+ 501: 'Server Error'
482
+ }
483
+ });
484
+ }
485
+
486
+ /**
487
+ * @param data The data for the request.
488
+ * @param data.id
489
+ * @returns unknown Success
490
+ * @throws ApiError
491
+ */
492
+ public getApiProjectServiceProjectSectionRelationById(data: GetApiProjectServiceProjectSectionRelationByIdData): CancelablePromise<GetApiProjectServiceProjectSectionRelationByIdResponse> {
493
+ return this.httpRequest.request({
494
+ method: 'GET',
495
+ url: '/api/project-service/projectSectionRelation/{id}',
496
+ path: {
497
+ id: data.id
498
+ },
499
+ errors: {
500
+ 400: 'Bad Request',
501
+ 401: 'Unauthorized',
502
+ 403: 'Forbidden',
503
+ 404: 'Not Found',
504
+ 500: 'Server Error',
505
+ 501: 'Server Error'
506
+ }
507
+ });
508
+ }
509
+
510
+ /**
511
+ * @param data The data for the request.
512
+ * @param data.id
513
+ * @param data.requestBody
514
+ * @returns unknown Success
515
+ * @throws ApiError
516
+ */
517
+ public putApiProjectServiceProjectSectionRelationById(data: PutApiProjectServiceProjectSectionRelationByIdData): CancelablePromise<PutApiProjectServiceProjectSectionRelationByIdResponse> {
518
+ return this.httpRequest.request({
519
+ method: 'PUT',
520
+ url: '/api/project-service/projectSectionRelation/{id}',
521
+ path: {
522
+ id: data.id
523
+ },
524
+ body: data.requestBody,
525
+ mediaType: 'application/json',
526
+ errors: {
527
+ 400: 'Bad Request',
528
+ 401: 'Unauthorized',
529
+ 403: 'Forbidden',
530
+ 404: 'Not Found',
531
+ 500: 'Server Error',
532
+ 501: 'Server Error'
533
+ }
534
+ });
535
+ }
536
+
537
+ /**
538
+ * @param data The data for the request.
539
+ * @param data.projectId
540
+ * @returns unknown Success
541
+ * @throws ApiError
542
+ */
543
+ public getApiProjectServiceProjectSectionRelationGetListByProjectIdByProjectId(data: GetApiProjectServiceProjectSectionRelationGetListByProjectIdByProjectIdData): CancelablePromise<GetApiProjectServiceProjectSectionRelationGetListByProjectIdByProjectIdResponse> {
544
+ return this.httpRequest.request({
545
+ method: 'GET',
546
+ url: '/api/project-service/projectSectionRelation/get-list-by-project-id/{projectId}',
547
+ path: {
548
+ projectId: data.projectId
549
+ },
550
+ errors: {
551
+ 400: 'Bad Request',
552
+ 401: 'Unauthorized',
553
+ 403: 'Forbidden',
554
+ 404: 'Not Found',
555
+ 500: 'Server Error',
556
+ 501: 'Server Error'
557
+ }
558
+ });
559
+ }
560
+
561
+ /**
562
+ * @param data The data for the request.
563
+ * @param data.requestBody
564
+ * @returns string Success
565
+ * @throws ApiError
566
+ */
567
+ public postApiProjectServiceProjectSectionRelationReorder(data: PostApiProjectServiceProjectSectionRelationReorderData = {}): CancelablePromise<PostApiProjectServiceProjectSectionRelationReorderResponse> {
568
+ return this.httpRequest.request({
569
+ method: 'POST',
570
+ url: '/api/project-service/projectSectionRelation/reorder',
571
+ body: data.requestBody,
572
+ mediaType: 'application/json',
573
+ errors: {
574
+ 400: 'Bad Request',
575
+ 401: 'Unauthorized',
576
+ 403: 'Forbidden',
577
+ 404: 'Not Found',
578
+ 500: 'Server Error',
579
+ 501: 'Server Error'
580
+ }
581
+ });
582
+ }
583
+
147
584
  }