@ayasofyazilim/saas 0.0.8 → 0.0.9
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.
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
2
|
+
import type { OpenAPIConfig } from './core/OpenAPI';
|
|
3
|
+
import { Interceptors } from './core/OpenAPI';
|
|
4
|
+
import { FetchHttpRequest } from './core/FetchHttpRequest';
|
|
5
|
+
|
|
6
|
+
import { AbpApiDefinitionService } from './services.gen';
|
|
7
|
+
import { AbpApplicationConfigurationService } from './services.gen';
|
|
8
|
+
import { AbpApplicationLocalizationService } from './services.gen';
|
|
9
|
+
import { ProjectService } from './services.gen';
|
|
10
|
+
import { ProjectSectionService } from './services.gen';
|
|
11
|
+
import { ProjectSectionRelationService } from './services.gen';
|
|
12
|
+
import { ProjectServiceService } from './services.gen';
|
|
13
|
+
|
|
14
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
15
|
+
|
|
16
|
+
export class ProjectServiceClient {
|
|
17
|
+
|
|
18
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
19
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
20
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
21
|
+
public readonly project: ProjectService;
|
|
22
|
+
public readonly projectSection: ProjectSectionService;
|
|
23
|
+
public readonly projectSectionRelation: ProjectSectionRelationService;
|
|
24
|
+
public readonly projectService: ProjectServiceService;
|
|
25
|
+
|
|
26
|
+
public readonly request: BaseHttpRequest;
|
|
27
|
+
|
|
28
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
29
|
+
this.request = new HttpRequest({
|
|
30
|
+
BASE: config?.BASE ?? '',
|
|
31
|
+
VERSION: config?.VERSION ?? '1',
|
|
32
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
33
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
34
|
+
TOKEN: config?.TOKEN,
|
|
35
|
+
USERNAME: config?.USERNAME,
|
|
36
|
+
PASSWORD: config?.PASSWORD,
|
|
37
|
+
HEADERS: config?.HEADERS,
|
|
38
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
39
|
+
interceptors: {
|
|
40
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
41
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
46
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
47
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
48
|
+
this.project = new ProjectService(this.request);
|
|
49
|
+
this.projectSection = new ProjectSectionService(this.request);
|
|
50
|
+
this.projectSectionRelation = new ProjectSectionRelationService(this.request);
|
|
51
|
+
this.projectService = new ProjectServiceService(this.request);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import type { CancelablePromise } from './CancelablePromise';
|
|
3
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
4
|
+
|
|
5
|
+
export abstract class BaseHttpRequest {
|
|
6
|
+
|
|
7
|
+
constructor(public readonly config: OpenAPIConfig) {}
|
|
8
|
+
|
|
9
|
+
public abstract request<T>(options: ApiRequestOptions): CancelablePromise<T>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import type { ApiRequestOptions } from './ApiRequestOptions';
|
|
2
|
+
import { BaseHttpRequest } from './BaseHttpRequest';
|
|
3
|
+
import type { CancelablePromise } from './CancelablePromise';
|
|
4
|
+
import type { OpenAPIConfig } from './OpenAPI';
|
|
5
|
+
import { request as __request } from './request';
|
|
6
|
+
|
|
7
|
+
export class FetchHttpRequest extends BaseHttpRequest {
|
|
8
|
+
|
|
9
|
+
constructor(config: OpenAPIConfig) {
|
|
10
|
+
super(config);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
/**
|
|
14
|
+
* Request method
|
|
15
|
+
* @param options The request options from the service
|
|
16
|
+
* @returns CancelablePromise<T>
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
public override request<T>(options: ApiRequestOptions): CancelablePromise<T> {
|
|
20
|
+
return __request(this.config, options);
|
|
21
|
+
}
|
|
22
|
+
}
|
package/ProjectService/index.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
export { ProjectServiceClient } from './ProjectServiceClient';
|
|
2
3
|
export { ApiError } from './core/ApiError';
|
|
4
|
+
export { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
3
5
|
export { CancelablePromise, CancelError } from './core/CancelablePromise';
|
|
4
6
|
export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
|
|
5
7
|
export * from './schemas.gen';
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
|
-
import {
|
|
5
|
-
import { request as __request } from './core/request';
|
|
4
|
+
import type { BaseHttpRequest } from './core/BaseHttpRequest';
|
|
6
5
|
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiProjectServiceProjectsData, PostApiProjectServiceProjectsResponse, GetApiProjectServiceProjectsData, GetApiProjectServiceProjectsResponse, DeleteApiProjectServiceProjectsByIdData, DeleteApiProjectServiceProjectsByIdResponse, GetApiProjectServiceProjectsByIdData, GetApiProjectServiceProjectsByIdResponse, PutApiProjectServiceProjectsByIdData, PutApiProjectServiceProjectsByIdResponse, PostApiProjectSectionServiceProjectSectionData, PostApiProjectSectionServiceProjectSectionResponse, DeleteApiProjectSectionServiceProjectSectionData, DeleteApiProjectSectionServiceProjectSectionResponse, GetApiProjectSectionServiceProjectSectionData, GetApiProjectSectionServiceProjectSectionResponse, PutApiProjectSectionServiceProjectSectionData, PutApiProjectSectionServiceProjectSectionResponse, GetApiProjectSectionServiceProjectSectionByIdData, GetApiProjectSectionServiceProjectSectionByIdResponse, PostApiProjectSectionRelationServiceProjectSectionRelationData, PostApiProjectSectionRelationServiceProjectSectionRelationResponse, DeleteApiProjectSectionRelationServiceProjectSectionRelationData, DeleteApiProjectSectionRelationServiceProjectSectionRelationResponse, GetApiProjectSectionRelationServiceProjectSectionRelationData, GetApiProjectSectionRelationServiceProjectSectionRelationResponse, GetApiProjectSectionRelationServiceProjectSectionRelationByIdData, GetApiProjectSectionRelationServiceProjectSectionRelationByIdResponse, PutApiProjectSectionRelationServiceProjectSectionRelationByIdData, PutApiProjectSectionRelationServiceProjectSectionRelationByIdResponse, GetApiProjectServiceSampleResponse, GetApiProjectServiceSampleAuthorizedResponse } from './types.gen';
|
|
7
6
|
|
|
8
7
|
export class AbpApiDefinitionService {
|
|
8
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
9
|
+
|
|
9
10
|
/**
|
|
10
11
|
* @param data The data for the request.
|
|
11
12
|
* @param data.includeTypes
|
|
12
13
|
* @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel Success
|
|
13
14
|
* @throws ApiError
|
|
14
15
|
*/
|
|
15
|
-
public
|
|
16
|
-
return
|
|
16
|
+
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
17
|
+
return this.httpRequest.request({
|
|
17
18
|
method: 'GET',
|
|
18
19
|
url: '/api/abp/api-definition',
|
|
19
20
|
query: {
|
|
@@ -33,14 +34,16 @@ export class AbpApiDefinitionService {
|
|
|
33
34
|
}
|
|
34
35
|
|
|
35
36
|
export class AbpApplicationConfigurationService {
|
|
37
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
38
|
+
|
|
36
39
|
/**
|
|
37
40
|
* @param data The data for the request.
|
|
38
41
|
* @param data.includeLocalizationResources
|
|
39
42
|
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto Success
|
|
40
43
|
* @throws ApiError
|
|
41
44
|
*/
|
|
42
|
-
public
|
|
43
|
-
return
|
|
45
|
+
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
46
|
+
return this.httpRequest.request({
|
|
44
47
|
method: 'GET',
|
|
45
48
|
url: '/api/abp/application-configuration',
|
|
46
49
|
query: {
|
|
@@ -60,6 +63,8 @@ export class AbpApplicationConfigurationService {
|
|
|
60
63
|
}
|
|
61
64
|
|
|
62
65
|
export class AbpApplicationLocalizationService {
|
|
66
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
67
|
+
|
|
63
68
|
/**
|
|
64
69
|
* @param data The data for the request.
|
|
65
70
|
* @param data.cultureName
|
|
@@ -67,8 +72,8 @@ export class AbpApplicationLocalizationService {
|
|
|
67
72
|
* @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
|
|
68
73
|
* @throws ApiError
|
|
69
74
|
*/
|
|
70
|
-
public
|
|
71
|
-
return
|
|
75
|
+
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
76
|
+
return this.httpRequest.request({
|
|
72
77
|
method: 'GET',
|
|
73
78
|
url: '/api/abp/application-localization',
|
|
74
79
|
query: {
|
|
@@ -89,14 +94,16 @@ export class AbpApplicationLocalizationService {
|
|
|
89
94
|
}
|
|
90
95
|
|
|
91
96
|
export class ProjectService {
|
|
97
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
|
+
|
|
92
99
|
/**
|
|
93
100
|
* @param data The data for the request.
|
|
94
101
|
* @param data.requestBody
|
|
95
102
|
* @returns AbpForDeploy_ProjectService_Projects_ProjectDto Success
|
|
96
103
|
* @throws ApiError
|
|
97
104
|
*/
|
|
98
|
-
public
|
|
99
|
-
return
|
|
105
|
+
public postApiProjectServiceProjects(data: PostApiProjectServiceProjectsData = {}): CancelablePromise<PostApiProjectServiceProjectsResponse> {
|
|
106
|
+
return this.httpRequest.request({
|
|
100
107
|
method: 'POST',
|
|
101
108
|
url: '/api/project-service/projects',
|
|
102
109
|
body: data.requestBody,
|
|
@@ -122,8 +129,8 @@ export class ProjectService {
|
|
|
122
129
|
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<AbpForDeploy_ProjectService_Projects_ProjectDto__AbpForDeploy_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
123
130
|
* @throws ApiError
|
|
124
131
|
*/
|
|
125
|
-
public
|
|
126
|
-
return
|
|
132
|
+
public getApiProjectServiceProjects(data: GetApiProjectServiceProjectsData = {}): CancelablePromise<GetApiProjectServiceProjectsResponse> {
|
|
133
|
+
return this.httpRequest.request({
|
|
127
134
|
method: 'GET',
|
|
128
135
|
url: '/api/project-service/projects',
|
|
129
136
|
query: {
|
|
@@ -150,8 +157,8 @@ export class ProjectService {
|
|
|
150
157
|
* @returns unknown Success
|
|
151
158
|
* @throws ApiError
|
|
152
159
|
*/
|
|
153
|
-
public
|
|
154
|
-
return
|
|
160
|
+
public deleteApiProjectServiceProjectsById(data: DeleteApiProjectServiceProjectsByIdData): CancelablePromise<DeleteApiProjectServiceProjectsByIdResponse> {
|
|
161
|
+
return this.httpRequest.request({
|
|
155
162
|
method: 'DELETE',
|
|
156
163
|
url: '/api/project-service/projects/{id}',
|
|
157
164
|
path: {
|
|
@@ -174,8 +181,8 @@ export class ProjectService {
|
|
|
174
181
|
* @returns AbpForDeploy_ProjectService_Projects_ProjectDto Success
|
|
175
182
|
* @throws ApiError
|
|
176
183
|
*/
|
|
177
|
-
public
|
|
178
|
-
return
|
|
184
|
+
public getApiProjectServiceProjectsById(data: GetApiProjectServiceProjectsByIdData): CancelablePromise<GetApiProjectServiceProjectsByIdResponse> {
|
|
185
|
+
return this.httpRequest.request({
|
|
179
186
|
method: 'GET',
|
|
180
187
|
url: '/api/project-service/projects/{id}',
|
|
181
188
|
path: {
|
|
@@ -199,8 +206,8 @@ export class ProjectService {
|
|
|
199
206
|
* @returns AbpForDeploy_ProjectService_Projects_ProjectDto Success
|
|
200
207
|
* @throws ApiError
|
|
201
208
|
*/
|
|
202
|
-
public
|
|
203
|
-
return
|
|
209
|
+
public putApiProjectServiceProjectsById(data: PutApiProjectServiceProjectsByIdData): CancelablePromise<PutApiProjectServiceProjectsByIdResponse> {
|
|
210
|
+
return this.httpRequest.request({
|
|
204
211
|
method: 'PUT',
|
|
205
212
|
url: '/api/project-service/projects/{id}',
|
|
206
213
|
path: {
|
|
@@ -222,14 +229,16 @@ export class ProjectService {
|
|
|
222
229
|
}
|
|
223
230
|
|
|
224
231
|
export class ProjectSectionService {
|
|
232
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
233
|
+
|
|
225
234
|
/**
|
|
226
235
|
* @param data The data for the request.
|
|
227
236
|
* @param data.requestBody
|
|
228
237
|
* @returns AbpForDeploy_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
229
238
|
* @throws ApiError
|
|
230
239
|
*/
|
|
231
|
-
public
|
|
232
|
-
return
|
|
240
|
+
public postApiProjectSectionServiceProjectSection(data: PostApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PostApiProjectSectionServiceProjectSectionResponse> {
|
|
241
|
+
return this.httpRequest.request({
|
|
233
242
|
method: 'POST',
|
|
234
243
|
url: '/api/ProjectSectionService/projectSection',
|
|
235
244
|
body: data.requestBody,
|
|
@@ -251,8 +260,8 @@ export class ProjectSectionService {
|
|
|
251
260
|
* @returns unknown Success
|
|
252
261
|
* @throws ApiError
|
|
253
262
|
*/
|
|
254
|
-
public
|
|
255
|
-
return
|
|
263
|
+
public deleteApiProjectSectionServiceProjectSection(data: DeleteApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<DeleteApiProjectSectionServiceProjectSectionResponse> {
|
|
264
|
+
return this.httpRequest.request({
|
|
256
265
|
method: 'DELETE',
|
|
257
266
|
url: '/api/ProjectSectionService/projectSection',
|
|
258
267
|
query: {
|
|
@@ -277,8 +286,8 @@ export class ProjectSectionService {
|
|
|
277
286
|
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<AbpForDeploy_ProjectService_ProjectSections_ProjectSectionDto__AbpForDeploy_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
278
287
|
* @throws ApiError
|
|
279
288
|
*/
|
|
280
|
-
public
|
|
281
|
-
return
|
|
289
|
+
public getApiProjectSectionServiceProjectSection(data: GetApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<GetApiProjectSectionServiceProjectSectionResponse> {
|
|
290
|
+
return this.httpRequest.request({
|
|
282
291
|
method: 'GET',
|
|
283
292
|
url: '/api/ProjectSectionService/projectSection',
|
|
284
293
|
query: {
|
|
@@ -304,8 +313,8 @@ export class ProjectSectionService {
|
|
|
304
313
|
* @returns AbpForDeploy_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
305
314
|
* @throws ApiError
|
|
306
315
|
*/
|
|
307
|
-
public
|
|
308
|
-
return
|
|
316
|
+
public putApiProjectSectionServiceProjectSection(data: PutApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PutApiProjectSectionServiceProjectSectionResponse> {
|
|
317
|
+
return this.httpRequest.request({
|
|
309
318
|
method: 'PUT',
|
|
310
319
|
url: '/api/ProjectSectionService/projectSection',
|
|
311
320
|
query: {
|
|
@@ -330,8 +339,8 @@ export class ProjectSectionService {
|
|
|
330
339
|
* @returns AbpForDeploy_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
331
340
|
* @throws ApiError
|
|
332
341
|
*/
|
|
333
|
-
public
|
|
334
|
-
return
|
|
342
|
+
public getApiProjectSectionServiceProjectSectionById(data: GetApiProjectSectionServiceProjectSectionByIdData): CancelablePromise<GetApiProjectSectionServiceProjectSectionByIdResponse> {
|
|
343
|
+
return this.httpRequest.request({
|
|
335
344
|
method: 'GET',
|
|
336
345
|
url: '/api/ProjectSectionService/projectSection/{id}',
|
|
337
346
|
path: {
|
|
@@ -351,14 +360,16 @@ export class ProjectSectionService {
|
|
|
351
360
|
}
|
|
352
361
|
|
|
353
362
|
export class ProjectSectionRelationService {
|
|
363
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
364
|
+
|
|
354
365
|
/**
|
|
355
366
|
* @param data The data for the request.
|
|
356
367
|
* @param data.requestBody
|
|
357
368
|
* @returns AbpForDeploy_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
358
369
|
* @throws ApiError
|
|
359
370
|
*/
|
|
360
|
-
public
|
|
361
|
-
return
|
|
371
|
+
public postApiProjectSectionRelationServiceProjectSectionRelation(data: PostApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<PostApiProjectSectionRelationServiceProjectSectionRelationResponse> {
|
|
372
|
+
return this.httpRequest.request({
|
|
362
373
|
method: 'POST',
|
|
363
374
|
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
364
375
|
body: data.requestBody,
|
|
@@ -380,8 +391,8 @@ export class ProjectSectionRelationService {
|
|
|
380
391
|
* @returns unknown Success
|
|
381
392
|
* @throws ApiError
|
|
382
393
|
*/
|
|
383
|
-
public
|
|
384
|
-
return
|
|
394
|
+
public deleteApiProjectSectionRelationServiceProjectSectionRelation(data: DeleteApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<DeleteApiProjectSectionRelationServiceProjectSectionRelationResponse> {
|
|
395
|
+
return this.httpRequest.request({
|
|
385
396
|
method: 'DELETE',
|
|
386
397
|
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
387
398
|
query: {
|
|
@@ -406,8 +417,8 @@ export class ProjectSectionRelationService {
|
|
|
406
417
|
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<AbpForDeploy_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto__AbpForDeploy_ProjectService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
|
|
407
418
|
* @throws ApiError
|
|
408
419
|
*/
|
|
409
|
-
public
|
|
410
|
-
return
|
|
420
|
+
public getApiProjectSectionRelationServiceProjectSectionRelation(data: GetApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationResponse> {
|
|
421
|
+
return this.httpRequest.request({
|
|
411
422
|
method: 'GET',
|
|
412
423
|
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
413
424
|
query: {
|
|
@@ -432,8 +443,8 @@ export class ProjectSectionRelationService {
|
|
|
432
443
|
* @returns AbpForDeploy_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
433
444
|
* @throws ApiError
|
|
434
445
|
*/
|
|
435
|
-
public
|
|
436
|
-
return
|
|
446
|
+
public getApiProjectSectionRelationServiceProjectSectionRelationById(data: GetApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
|
|
447
|
+
return this.httpRequest.request({
|
|
437
448
|
method: 'GET',
|
|
438
449
|
url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
|
|
439
450
|
path: {
|
|
@@ -457,8 +468,8 @@ export class ProjectSectionRelationService {
|
|
|
457
468
|
* @returns AbpForDeploy_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
458
469
|
* @throws ApiError
|
|
459
470
|
*/
|
|
460
|
-
public
|
|
461
|
-
return
|
|
471
|
+
public putApiProjectSectionRelationServiceProjectSectionRelationById(data: PutApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<PutApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
|
|
472
|
+
return this.httpRequest.request({
|
|
462
473
|
method: 'PUT',
|
|
463
474
|
url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
|
|
464
475
|
path: {
|
|
@@ -480,12 +491,14 @@ export class ProjectSectionRelationService {
|
|
|
480
491
|
}
|
|
481
492
|
|
|
482
493
|
export class ProjectServiceService {
|
|
494
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
495
|
+
|
|
483
496
|
/**
|
|
484
497
|
* @returns AbpForDeploy_ProjectService_Samples_SampleDto Success
|
|
485
498
|
* @throws ApiError
|
|
486
499
|
*/
|
|
487
|
-
public
|
|
488
|
-
return
|
|
500
|
+
public getApiProjectServiceSample(): CancelablePromise<GetApiProjectServiceSampleResponse> {
|
|
501
|
+
return this.httpRequest.request({
|
|
489
502
|
method: 'GET',
|
|
490
503
|
url: '/api/ProjectService/sample',
|
|
491
504
|
errors: {
|
|
@@ -503,8 +516,8 @@ export class ProjectServiceService {
|
|
|
503
516
|
* @returns AbpForDeploy_ProjectService_Samples_SampleDto Success
|
|
504
517
|
* @throws ApiError
|
|
505
518
|
*/
|
|
506
|
-
public
|
|
507
|
-
return
|
|
519
|
+
public getApiProjectServiceSampleAuthorized(): CancelablePromise<GetApiProjectServiceSampleAuthorizedResponse> {
|
|
520
|
+
return this.httpRequest.request({
|
|
508
521
|
method: 'GET',
|
|
509
522
|
url: '/api/ProjectService/sample/authorized',
|
|
510
523
|
errors: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ayasofyazilim/saas",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"description": "Ayasofyazılım SAAS",
|
|
5
5
|
"exports": {
|
|
6
6
|
"./AccountService": "./AccountService/index.ts",
|
|
@@ -9,11 +9,16 @@
|
|
|
9
9
|
"./IdentityService": "./IdentityService/index.ts"
|
|
10
10
|
},
|
|
11
11
|
"scripts": {
|
|
12
|
+
"_gen:all": "npm run gen:AccountService && npm run gen:ProjectService && npm run gen:AdministrationService && npm run gen:IdentityService",
|
|
13
|
+
"_gen:AccountService": "openapi --input http://192.168.1.38:44325/swagger-json/AuthServer/swagger/v1/swagger.json --output AccountService --name AccountServiceClient",
|
|
14
|
+
"_gen:ProjectService": "openapi --input http://192.168.1.38:45185/swagger/v1/swagger.json --output ProjectService --name ProjectServiceClient --useUnionTypes --useOptions",
|
|
15
|
+
"_gen:AdministrationService": "openapi --input http://192.168.1.38:44325/swagger-json/Administration/swagger/v1/swagger.json --output AdministrationService --name AdministrationServiceClient",
|
|
16
|
+
"_gen:IdentityService": "openapi --input http://192.168.1.38:44325/swagger-json/Identity/swagger/v1/swagger.json --output IdentityService --name IdentityServiceClient",
|
|
12
17
|
"gen:all": "npm run gen:AccountService && npm run gen:ProjectService && npm run gen:AdministrationService && npm run gen:IdentityService",
|
|
13
|
-
"gen:AccountService": "openapi
|
|
14
|
-
"gen:ProjectService": "openapi
|
|
15
|
-
"gen:AdministrationService": "openapi
|
|
16
|
-
"gen:IdentityService": "openapi
|
|
18
|
+
"gen:AccountService": "npx @hey-api/openapi-ts -i http://192.168.1.38:44325/swagger-json/AuthServer/swagger/v1/swagger.json -o AccountService --client fetch",
|
|
19
|
+
"gen:ProjectService": "npx @hey-api/openapi-ts -i http://192.168.1.38:45185/swagger/v1/swagger.json -o ProjectService --client fetch --lint eslint --name ProjectServiceClient",
|
|
20
|
+
"gen:AdministrationService": "npx @hey-api/openapi-ts -i http://192.168.1.38:44325/swagger-json/Administration/swagger/v1/swagger.json -o AdministrationService --client fetch",
|
|
21
|
+
"gen:IdentityService": "npx @hey-api/openapi-ts -i http://192.168.1.38:44325/swagger-json/Identity/swagger/v1/swagger.json -o IdentityService --client fetch",
|
|
17
22
|
"init-release": "publish --access public",
|
|
18
23
|
"release": "release-it"
|
|
19
24
|
},
|