@ayasofyazilim/saas 0.0.10 → 0.0.12
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.
- package/AccountService/schemas.gen.ts +2853 -67
- package/AccountService/services.gen.ts +28 -28
- package/AccountService/types.gen.ts +7294 -667
- package/AdministrationService/schemas.gen.ts +3664 -73
- package/AdministrationService/services.gen.ts +32 -32
- package/AdministrationService/types.gen.ts +6780 -623
- package/IdentityService/schemas.gen.ts +3506 -76
- package/IdentityService/services.gen.ts +69 -69
- package/IdentityService/types.gen.ts +13316 -1335
- package/ProjectService/ProjectServiceClient.ts +0 -3
- package/ProjectService/schemas.gen.ts +2989 -163
- package/ProjectService/services.gen.ts +16 -63
- package/ProjectService/types.gen.ts +3550 -379
- package/SaasService/SaasServiceClient.ts +65 -0
- package/SaasService/core/ApiError.ts +21 -0
- package/SaasService/core/ApiRequestOptions.ts +13 -0
- package/SaasService/core/ApiResult.ts +7 -0
- package/SaasService/core/BaseHttpRequest.ts +10 -0
- package/SaasService/core/CancelablePromise.ts +126 -0
- package/SaasService/core/FetchHttpRequest.ts +22 -0
- package/SaasService/core/OpenAPI.ts +56 -0
- package/SaasService/core/request.ts +341 -0
- package/SaasService/index.ts +9 -0
- package/SaasService/schemas.gen.ts +5279 -0
- package/SaasService/services.gen.ts +1326 -0
- package/SaasService/types.gen.ts +9053 -0
- package/generator.mjs +61 -0
- package/package.json +27 -33
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import type { CancelablePromise } from './core/CancelablePromise';
|
|
4
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, PostApiProjectSectionServiceProjectSectionData, PostApiProjectSectionServiceProjectSectionResponse, DeleteApiProjectSectionServiceProjectSectionData, DeleteApiProjectSectionServiceProjectSectionResponse, GetApiProjectSectionServiceProjectSectionData, GetApiProjectSectionServiceProjectSectionResponse, PutApiProjectSectionServiceProjectSectionData, PutApiProjectSectionServiceProjectSectionResponse, GetApiProjectSectionServiceProjectSectionByIdData, GetApiProjectSectionServiceProjectSectionByIdResponse, PostApiProjectSectionRelationServiceProjectSectionRelationData, PostApiProjectSectionRelationServiceProjectSectionRelationResponse, DeleteApiProjectSectionRelationServiceProjectSectionRelationData, DeleteApiProjectSectionRelationServiceProjectSectionRelationResponse, GetApiProjectSectionRelationServiceProjectSectionRelationData, GetApiProjectSectionRelationServiceProjectSectionRelationResponse, GetApiProjectSectionRelationServiceProjectSectionRelationByIdData, GetApiProjectSectionRelationServiceProjectSectionRelationByIdResponse, PutApiProjectSectionRelationServiceProjectSectionRelationByIdData, PutApiProjectSectionRelationServiceProjectSectionRelationByIdResponse
|
|
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 } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -10,7 +10,7 @@ export class AbpApiDefinitionService {
|
|
|
10
10
|
/**
|
|
11
11
|
* @param data The data for the request.
|
|
12
12
|
* @param data.includeTypes
|
|
13
|
-
* @returns
|
|
13
|
+
* @returns unknown Success
|
|
14
14
|
* @throws ApiError
|
|
15
15
|
*/
|
|
16
16
|
public getApiAbpApiDefinition(data: GetApiAbpApiDefinitionData = {}): CancelablePromise<GetApiAbpApiDefinitionResponse> {
|
|
@@ -39,7 +39,7 @@ export class AbpApplicationConfigurationService {
|
|
|
39
39
|
/**
|
|
40
40
|
* @param data The data for the request.
|
|
41
41
|
* @param data.includeLocalizationResources
|
|
42
|
-
* @returns
|
|
42
|
+
* @returns unknown Success
|
|
43
43
|
* @throws ApiError
|
|
44
44
|
*/
|
|
45
45
|
public getApiAbpApplicationConfiguration(data: GetApiAbpApplicationConfigurationData = {}): CancelablePromise<GetApiAbpApplicationConfigurationResponse> {
|
|
@@ -69,7 +69,7 @@ export class AbpApplicationLocalizationService {
|
|
|
69
69
|
* @param data The data for the request.
|
|
70
70
|
* @param data.cultureName
|
|
71
71
|
* @param data.onlyDynamics
|
|
72
|
-
* @returns
|
|
72
|
+
* @returns unknown Success
|
|
73
73
|
* @throws ApiError
|
|
74
74
|
*/
|
|
75
75
|
public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
|
|
@@ -99,7 +99,7 @@ export class ProjectService {
|
|
|
99
99
|
/**
|
|
100
100
|
* @param data The data for the request.
|
|
101
101
|
* @param data.requestBody
|
|
102
|
-
* @returns
|
|
102
|
+
* @returns unknown Success
|
|
103
103
|
* @throws ApiError
|
|
104
104
|
*/
|
|
105
105
|
public postApiProjectServiceProjects(data: PostApiProjectServiceProjectsData = {}): CancelablePromise<PostApiProjectServiceProjectsResponse> {
|
|
@@ -121,12 +121,10 @@ export class ProjectService {
|
|
|
121
121
|
|
|
122
122
|
/**
|
|
123
123
|
* @param data The data for the request.
|
|
124
|
-
* @param data.name
|
|
125
|
-
* @param data.endDate
|
|
126
124
|
* @param data.sorting
|
|
127
125
|
* @param data.skipCount
|
|
128
126
|
* @param data.maxResultCount
|
|
129
|
-
* @returns
|
|
127
|
+
* @returns unknown Success
|
|
130
128
|
* @throws ApiError
|
|
131
129
|
*/
|
|
132
130
|
public getApiProjectServiceProjects(data: GetApiProjectServiceProjectsData = {}): CancelablePromise<GetApiProjectServiceProjectsResponse> {
|
|
@@ -134,8 +132,6 @@ export class ProjectService {
|
|
|
134
132
|
method: 'GET',
|
|
135
133
|
url: '/api/project-service/projects',
|
|
136
134
|
query: {
|
|
137
|
-
Name: data.name,
|
|
138
|
-
EndDate: data.endDate,
|
|
139
135
|
Sorting: data.sorting,
|
|
140
136
|
SkipCount: data.skipCount,
|
|
141
137
|
MaxResultCount: data.maxResultCount
|
|
@@ -178,7 +174,7 @@ export class ProjectService {
|
|
|
178
174
|
/**
|
|
179
175
|
* @param data The data for the request.
|
|
180
176
|
* @param data.id
|
|
181
|
-
* @returns
|
|
177
|
+
* @returns unknown Success
|
|
182
178
|
* @throws ApiError
|
|
183
179
|
*/
|
|
184
180
|
public getApiProjectServiceProjectsById(data: GetApiProjectServiceProjectsByIdData): CancelablePromise<GetApiProjectServiceProjectsByIdResponse> {
|
|
@@ -203,7 +199,7 @@ export class ProjectService {
|
|
|
203
199
|
* @param data The data for the request.
|
|
204
200
|
* @param data.id
|
|
205
201
|
* @param data.requestBody
|
|
206
|
-
* @returns
|
|
202
|
+
* @returns unknown Success
|
|
207
203
|
* @throws ApiError
|
|
208
204
|
*/
|
|
209
205
|
public putApiProjectServiceProjectsById(data: PutApiProjectServiceProjectsByIdData): CancelablePromise<PutApiProjectServiceProjectsByIdResponse> {
|
|
@@ -234,7 +230,7 @@ export class ProjectSectionService {
|
|
|
234
230
|
/**
|
|
235
231
|
* @param data The data for the request.
|
|
236
232
|
* @param data.requestBody
|
|
237
|
-
* @returns
|
|
233
|
+
* @returns unknown Success
|
|
238
234
|
* @throws ApiError
|
|
239
235
|
*/
|
|
240
236
|
public postApiProjectSectionServiceProjectSection(data: PostApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PostApiProjectSectionServiceProjectSectionResponse> {
|
|
@@ -283,7 +279,7 @@ export class ProjectSectionService {
|
|
|
283
279
|
* @param data.sorting
|
|
284
280
|
* @param data.skipCount
|
|
285
281
|
* @param data.maxResultCount
|
|
286
|
-
* @returns
|
|
282
|
+
* @returns unknown Success
|
|
287
283
|
* @throws ApiError
|
|
288
284
|
*/
|
|
289
285
|
public getApiProjectSectionServiceProjectSection(data: GetApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<GetApiProjectSectionServiceProjectSectionResponse> {
|
|
@@ -310,7 +306,7 @@ export class ProjectSectionService {
|
|
|
310
306
|
* @param data The data for the request.
|
|
311
307
|
* @param data.id
|
|
312
308
|
* @param data.requestBody
|
|
313
|
-
* @returns
|
|
309
|
+
* @returns unknown Success
|
|
314
310
|
* @throws ApiError
|
|
315
311
|
*/
|
|
316
312
|
public putApiProjectSectionServiceProjectSection(data: PutApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PutApiProjectSectionServiceProjectSectionResponse> {
|
|
@@ -336,7 +332,7 @@ export class ProjectSectionService {
|
|
|
336
332
|
/**
|
|
337
333
|
* @param data The data for the request.
|
|
338
334
|
* @param data.id
|
|
339
|
-
* @returns
|
|
335
|
+
* @returns unknown Success
|
|
340
336
|
* @throws ApiError
|
|
341
337
|
*/
|
|
342
338
|
public getApiProjectSectionServiceProjectSectionById(data: GetApiProjectSectionServiceProjectSectionByIdData): CancelablePromise<GetApiProjectSectionServiceProjectSectionByIdResponse> {
|
|
@@ -365,7 +361,7 @@ export class ProjectSectionRelationService {
|
|
|
365
361
|
/**
|
|
366
362
|
* @param data The data for the request.
|
|
367
363
|
* @param data.requestBody
|
|
368
|
-
* @returns
|
|
364
|
+
* @returns unknown Success
|
|
369
365
|
* @throws ApiError
|
|
370
366
|
*/
|
|
371
367
|
public postApiProjectSectionRelationServiceProjectSectionRelation(data: PostApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<PostApiProjectSectionRelationServiceProjectSectionRelationResponse> {
|
|
@@ -414,7 +410,7 @@ export class ProjectSectionRelationService {
|
|
|
414
410
|
* @param data.sorting
|
|
415
411
|
* @param data.skipCount
|
|
416
412
|
* @param data.maxResultCount
|
|
417
|
-
* @returns
|
|
413
|
+
* @returns unknown Success
|
|
418
414
|
* @throws ApiError
|
|
419
415
|
*/
|
|
420
416
|
public getApiProjectSectionRelationServiceProjectSectionRelation(data: GetApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationResponse> {
|
|
@@ -440,7 +436,7 @@ export class ProjectSectionRelationService {
|
|
|
440
436
|
/**
|
|
441
437
|
* @param data The data for the request.
|
|
442
438
|
* @param data.id
|
|
443
|
-
* @returns
|
|
439
|
+
* @returns unknown Success
|
|
444
440
|
* @throws ApiError
|
|
445
441
|
*/
|
|
446
442
|
public getApiProjectSectionRelationServiceProjectSectionRelationById(data: GetApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
|
|
@@ -465,7 +461,7 @@ export class ProjectSectionRelationService {
|
|
|
465
461
|
* @param data The data for the request.
|
|
466
462
|
* @param data.id
|
|
467
463
|
* @param data.requestBody
|
|
468
|
-
* @returns
|
|
464
|
+
* @returns unknown Success
|
|
469
465
|
* @throws ApiError
|
|
470
466
|
*/
|
|
471
467
|
public putApiProjectSectionRelationServiceProjectSectionRelationById(data: PutApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<PutApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
|
|
@@ -488,47 +484,4 @@ export class ProjectSectionRelationService {
|
|
|
488
484
|
});
|
|
489
485
|
}
|
|
490
486
|
|
|
491
|
-
}
|
|
492
|
-
|
|
493
|
-
export class ProjectServiceService {
|
|
494
|
-
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
495
|
-
|
|
496
|
-
/**
|
|
497
|
-
* @returns AbpForDeploy_ProjectService_Samples_SampleDto Success
|
|
498
|
-
* @throws ApiError
|
|
499
|
-
*/
|
|
500
|
-
public getApiProjectServiceSample(): CancelablePromise<GetApiProjectServiceSampleResponse> {
|
|
501
|
-
return this.httpRequest.request({
|
|
502
|
-
method: 'GET',
|
|
503
|
-
url: '/api/ProjectService/sample',
|
|
504
|
-
errors: {
|
|
505
|
-
400: 'Bad Request',
|
|
506
|
-
401: 'Unauthorized',
|
|
507
|
-
403: 'Forbidden',
|
|
508
|
-
404: 'Not Found',
|
|
509
|
-
500: 'Server Error',
|
|
510
|
-
501: 'Server Error'
|
|
511
|
-
}
|
|
512
|
-
});
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
/**
|
|
516
|
-
* @returns AbpForDeploy_ProjectService_Samples_SampleDto Success
|
|
517
|
-
* @throws ApiError
|
|
518
|
-
*/
|
|
519
|
-
public getApiProjectServiceSampleAuthorized(): CancelablePromise<GetApiProjectServiceSampleAuthorizedResponse> {
|
|
520
|
-
return this.httpRequest.request({
|
|
521
|
-
method: 'GET',
|
|
522
|
-
url: '/api/ProjectService/sample/authorized',
|
|
523
|
-
errors: {
|
|
524
|
-
400: 'Bad Request',
|
|
525
|
-
401: 'Unauthorized',
|
|
526
|
-
403: 'Forbidden',
|
|
527
|
-
404: 'Not Found',
|
|
528
|
-
500: 'Server Error',
|
|
529
|
-
501: 'Server Error'
|
|
530
|
-
}
|
|
531
|
-
});
|
|
532
|
-
}
|
|
533
|
-
|
|
534
487
|
}
|