@ayasofyazilim/saas 0.0.17 → 0.0.19
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/BackerService/BackerServiceClient.ts +6 -0
- package/BackerService/schemas.gen.ts +3652 -759
- package/BackerService/services.gen.ts +610 -13
- package/BackerService/types.gen.ts +9782 -1823
- package/MerchantService/schemas.gen.ts +6386 -1236
- package/MerchantService/services.gen.ts +369 -23
- package/MerchantService/types.gen.ts +8370 -3337
- package/ProjectService/ProjectServiceClient.ts +6 -3
- package/ProjectService/schemas.gen.ts +745 -26
- package/ProjectService/services.gen.ts +322 -8
- package/ProjectService/types.gen.ts +2215 -37
- package/SettingService/SettingServiceClient.ts +53 -53
- package/SettingService/services.gen.ts +316 -316
- package/generator.mjs +89 -85
- package/package.json +1 -1
|
@@ -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,
|
|
5
|
+
import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, PostApiProjectServiceProjectsData, PostApiProjectServiceProjectsResponse, GetApiProjectServiceProjectsData, GetApiProjectServiceProjectsResponse, DeleteApiProjectServiceProjectsByIdData, DeleteApiProjectServiceProjectsByIdResponse, GetApiProjectServiceProjectsByIdData, GetApiProjectServiceProjectsByIdResponse, PutApiProjectServiceProjectsByIdData, PutApiProjectServiceProjectsByIdResponse, GetApiProjectServiceProjectsDetailByIdData, GetApiProjectServiceProjectsDetailByIdResponse, GetApiProjectServiceProjectsSectionListByProjectIdData, GetApiProjectServiceProjectsSectionListByProjectIdResponse, GetApiProjectServiceProjectsMyProjectsResponse, PostApiProjectServiceProjectsSectionData, PostApiProjectServiceProjectsSectionResponse, PostApiProjectServiceProjectsSectionRelationData, PostApiProjectServiceProjectsSectionRelationResponse, PutApiProjectServiceProjectsSectionByIdData, PutApiProjectServiceProjectsSectionByIdResponse, PutApiProjectServiceProjectsSectionRelationByIdData, PutApiProjectServiceProjectsSectionRelationByIdResponse, PutApiProjectServiceProjectsStatusByProjectIdData, PutApiProjectServiceProjectsStatusByProjectIdResponse, GetApiProjectServicePublicProjectsData, GetApiProjectServicePublicProjectsResponse } from './types.gen';
|
|
6
6
|
|
|
7
7
|
export class AbpApiDefinitionService {
|
|
8
8
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
@@ -93,22 +93,128 @@ export class AbpApplicationLocalizationService {
|
|
|
93
93
|
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
export class
|
|
96
|
+
export class ProjectService {
|
|
97
97
|
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
98
98
|
|
|
99
99
|
/**
|
|
100
100
|
* @param data The data for the request.
|
|
101
|
-
* @param data.
|
|
101
|
+
* @param data.requestBody
|
|
102
102
|
* @returns unknown Success
|
|
103
103
|
* @throws ApiError
|
|
104
104
|
*/
|
|
105
|
-
public
|
|
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.status
|
|
125
|
+
* @param data.type
|
|
126
|
+
* @param data.sorting
|
|
127
|
+
* @param data.skipCount
|
|
128
|
+
* @param data.maxResultCount
|
|
129
|
+
* @returns unknown Success
|
|
130
|
+
* @throws ApiError
|
|
131
|
+
*/
|
|
132
|
+
public getApiProjectServiceProjects(data: GetApiProjectServiceProjectsData = {}): CancelablePromise<GetApiProjectServiceProjectsResponse> {
|
|
133
|
+
return this.httpRequest.request({
|
|
134
|
+
method: 'GET',
|
|
135
|
+
url: '/api/project-service/projects',
|
|
136
|
+
query: {
|
|
137
|
+
Status: data.status,
|
|
138
|
+
Type: data.type,
|
|
139
|
+
Sorting: data.sorting,
|
|
140
|
+
SkipCount: data.skipCount,
|
|
141
|
+
MaxResultCount: data.maxResultCount
|
|
142
|
+
},
|
|
143
|
+
errors: {
|
|
144
|
+
400: 'Bad Request',
|
|
145
|
+
401: 'Unauthorized',
|
|
146
|
+
403: 'Forbidden',
|
|
147
|
+
404: 'Not Found',
|
|
148
|
+
500: 'Server Error',
|
|
149
|
+
501: 'Server Error'
|
|
150
|
+
}
|
|
151
|
+
});
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
/**
|
|
155
|
+
* @param data The data for the request.
|
|
156
|
+
* @param data.id
|
|
157
|
+
* @returns unknown Success
|
|
158
|
+
* @throws ApiError
|
|
159
|
+
*/
|
|
160
|
+
public deleteApiProjectServiceProjectsById(data: DeleteApiProjectServiceProjectsByIdData): CancelablePromise<DeleteApiProjectServiceProjectsByIdResponse> {
|
|
161
|
+
return this.httpRequest.request({
|
|
162
|
+
method: 'DELETE',
|
|
163
|
+
url: '/api/project-service/projects/{id}',
|
|
164
|
+
path: {
|
|
165
|
+
id: data.id
|
|
166
|
+
},
|
|
167
|
+
errors: {
|
|
168
|
+
400: 'Bad Request',
|
|
169
|
+
401: 'Unauthorized',
|
|
170
|
+
403: 'Forbidden',
|
|
171
|
+
404: 'Not Found',
|
|
172
|
+
500: 'Server Error',
|
|
173
|
+
501: 'Server Error'
|
|
174
|
+
}
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
/**
|
|
179
|
+
* @param data The data for the request.
|
|
180
|
+
* @param data.id
|
|
181
|
+
* @returns unknown Success
|
|
182
|
+
* @throws ApiError
|
|
183
|
+
*/
|
|
184
|
+
public getApiProjectServiceProjectsById(data: GetApiProjectServiceProjectsByIdData): CancelablePromise<GetApiProjectServiceProjectsByIdResponse> {
|
|
106
185
|
return this.httpRequest.request({
|
|
107
186
|
method: 'GET',
|
|
108
|
-
url: '/api/
|
|
187
|
+
url: '/api/project-service/projects/{id}',
|
|
188
|
+
path: {
|
|
189
|
+
id: data.id
|
|
190
|
+
},
|
|
191
|
+
errors: {
|
|
192
|
+
400: 'Bad Request',
|
|
193
|
+
401: 'Unauthorized',
|
|
194
|
+
403: 'Forbidden',
|
|
195
|
+
404: 'Not Found',
|
|
196
|
+
500: 'Server Error',
|
|
197
|
+
501: 'Server Error'
|
|
198
|
+
}
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* @param data The data for the request.
|
|
204
|
+
* @param data.id
|
|
205
|
+
* @param data.requestBody
|
|
206
|
+
* @returns unknown Success
|
|
207
|
+
* @throws ApiError
|
|
208
|
+
*/
|
|
209
|
+
public putApiProjectServiceProjectsById(data: PutApiProjectServiceProjectsByIdData): CancelablePromise<PutApiProjectServiceProjectsByIdResponse> {
|
|
210
|
+
return this.httpRequest.request({
|
|
211
|
+
method: 'PUT',
|
|
212
|
+
url: '/api/project-service/projects/{id}',
|
|
109
213
|
path: {
|
|
110
|
-
|
|
214
|
+
id: data.id
|
|
111
215
|
},
|
|
216
|
+
body: data.requestBody,
|
|
217
|
+
mediaType: 'application/json',
|
|
112
218
|
errors: {
|
|
113
219
|
400: 'Bad Request',
|
|
114
220
|
401: 'Unauthorized',
|
|
@@ -126,10 +232,10 @@ export class AbpTenantService {
|
|
|
126
232
|
* @returns unknown Success
|
|
127
233
|
* @throws ApiError
|
|
128
234
|
*/
|
|
129
|
-
public
|
|
235
|
+
public getApiProjectServiceProjectsDetailById(data: GetApiProjectServiceProjectsDetailByIdData): CancelablePromise<GetApiProjectServiceProjectsDetailByIdResponse> {
|
|
130
236
|
return this.httpRequest.request({
|
|
131
237
|
method: 'GET',
|
|
132
|
-
url: '/api/
|
|
238
|
+
url: '/api/project-service/projects/detail/{id}',
|
|
133
239
|
path: {
|
|
134
240
|
id: data.id
|
|
135
241
|
},
|
|
@@ -144,4 +250,212 @@ export class AbpTenantService {
|
|
|
144
250
|
});
|
|
145
251
|
}
|
|
146
252
|
|
|
253
|
+
/**
|
|
254
|
+
* @param data The data for the request.
|
|
255
|
+
* @param data.projectId
|
|
256
|
+
* @returns unknown Success
|
|
257
|
+
* @throws ApiError
|
|
258
|
+
*/
|
|
259
|
+
public getApiProjectServiceProjectsSectionListByProjectId(data: GetApiProjectServiceProjectsSectionListByProjectIdData): CancelablePromise<GetApiProjectServiceProjectsSectionListByProjectIdResponse> {
|
|
260
|
+
return this.httpRequest.request({
|
|
261
|
+
method: 'GET',
|
|
262
|
+
url: '/api/project-service/projects/section-list/{projectId}',
|
|
263
|
+
path: {
|
|
264
|
+
projectId: data.projectId
|
|
265
|
+
},
|
|
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
|
+
* @returns unknown Success
|
|
279
|
+
* @throws ApiError
|
|
280
|
+
*/
|
|
281
|
+
public getApiProjectServiceProjectsMyProjects(): CancelablePromise<GetApiProjectServiceProjectsMyProjectsResponse> {
|
|
282
|
+
return this.httpRequest.request({
|
|
283
|
+
method: 'GET',
|
|
284
|
+
url: '/api/project-service/projects/my-projects',
|
|
285
|
+
errors: {
|
|
286
|
+
400: 'Bad Request',
|
|
287
|
+
401: 'Unauthorized',
|
|
288
|
+
403: 'Forbidden',
|
|
289
|
+
404: 'Not Found',
|
|
290
|
+
500: 'Server Error',
|
|
291
|
+
501: 'Server Error'
|
|
292
|
+
}
|
|
293
|
+
});
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* @param data The data for the request.
|
|
298
|
+
* @param data.requestBody
|
|
299
|
+
* @returns unknown Success
|
|
300
|
+
* @throws ApiError
|
|
301
|
+
*/
|
|
302
|
+
public postApiProjectServiceProjectsSection(data: PostApiProjectServiceProjectsSectionData = {}): CancelablePromise<PostApiProjectServiceProjectsSectionResponse> {
|
|
303
|
+
return this.httpRequest.request({
|
|
304
|
+
method: 'POST',
|
|
305
|
+
url: '/api/project-service/projects/section',
|
|
306
|
+
body: data.requestBody,
|
|
307
|
+
mediaType: 'application/json',
|
|
308
|
+
errors: {
|
|
309
|
+
400: 'Bad Request',
|
|
310
|
+
401: 'Unauthorized',
|
|
311
|
+
403: 'Forbidden',
|
|
312
|
+
404: 'Not Found',
|
|
313
|
+
500: 'Server Error',
|
|
314
|
+
501: 'Server Error'
|
|
315
|
+
}
|
|
316
|
+
});
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
/**
|
|
320
|
+
* @param data The data for the request.
|
|
321
|
+
* @param data.requestBody
|
|
322
|
+
* @returns unknown Success
|
|
323
|
+
* @throws ApiError
|
|
324
|
+
*/
|
|
325
|
+
public postApiProjectServiceProjectsSectionRelation(data: PostApiProjectServiceProjectsSectionRelationData = {}): CancelablePromise<PostApiProjectServiceProjectsSectionRelationResponse> {
|
|
326
|
+
return this.httpRequest.request({
|
|
327
|
+
method: 'POST',
|
|
328
|
+
url: '/api/project-service/projects/section-relation',
|
|
329
|
+
body: data.requestBody,
|
|
330
|
+
mediaType: 'application/json',
|
|
331
|
+
errors: {
|
|
332
|
+
400: 'Bad Request',
|
|
333
|
+
401: 'Unauthorized',
|
|
334
|
+
403: 'Forbidden',
|
|
335
|
+
404: 'Not Found',
|
|
336
|
+
500: 'Server Error',
|
|
337
|
+
501: 'Server Error'
|
|
338
|
+
}
|
|
339
|
+
});
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
/**
|
|
343
|
+
* @param data The data for the request.
|
|
344
|
+
* @param data.id
|
|
345
|
+
* @param data.requestBody
|
|
346
|
+
* @returns unknown Success
|
|
347
|
+
* @throws ApiError
|
|
348
|
+
*/
|
|
349
|
+
public putApiProjectServiceProjectsSectionById(data: PutApiProjectServiceProjectsSectionByIdData): CancelablePromise<PutApiProjectServiceProjectsSectionByIdResponse> {
|
|
350
|
+
return this.httpRequest.request({
|
|
351
|
+
method: 'PUT',
|
|
352
|
+
url: '/api/project-service/projects/section/{id}',
|
|
353
|
+
path: {
|
|
354
|
+
id: data.id
|
|
355
|
+
},
|
|
356
|
+
body: data.requestBody,
|
|
357
|
+
mediaType: 'application/json',
|
|
358
|
+
errors: {
|
|
359
|
+
400: 'Bad Request',
|
|
360
|
+
401: 'Unauthorized',
|
|
361
|
+
403: 'Forbidden',
|
|
362
|
+
404: 'Not Found',
|
|
363
|
+
500: 'Server Error',
|
|
364
|
+
501: 'Server Error'
|
|
365
|
+
}
|
|
366
|
+
});
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
/**
|
|
370
|
+
* @param data The data for the request.
|
|
371
|
+
* @param data.id
|
|
372
|
+
* @param data.requestBody
|
|
373
|
+
* @returns unknown Success
|
|
374
|
+
* @throws ApiError
|
|
375
|
+
*/
|
|
376
|
+
public putApiProjectServiceProjectsSectionRelationById(data: PutApiProjectServiceProjectsSectionRelationByIdData): CancelablePromise<PutApiProjectServiceProjectsSectionRelationByIdResponse> {
|
|
377
|
+
return this.httpRequest.request({
|
|
378
|
+
method: 'PUT',
|
|
379
|
+
url: '/api/project-service/projects/section-relation/{id}',
|
|
380
|
+
path: {
|
|
381
|
+
id: data.id
|
|
382
|
+
},
|
|
383
|
+
body: data.requestBody,
|
|
384
|
+
mediaType: 'application/json',
|
|
385
|
+
errors: {
|
|
386
|
+
400: 'Bad Request',
|
|
387
|
+
401: 'Unauthorized',
|
|
388
|
+
403: 'Forbidden',
|
|
389
|
+
404: 'Not Found',
|
|
390
|
+
500: 'Server Error',
|
|
391
|
+
501: 'Server Error'
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
/**
|
|
397
|
+
* @param data The data for the request.
|
|
398
|
+
* @param data.projectId
|
|
399
|
+
* @param data.status
|
|
400
|
+
* @returns unknown Success
|
|
401
|
+
* @throws ApiError
|
|
402
|
+
*/
|
|
403
|
+
public putApiProjectServiceProjectsStatusByProjectId(data: PutApiProjectServiceProjectsStatusByProjectIdData): CancelablePromise<PutApiProjectServiceProjectsStatusByProjectIdResponse> {
|
|
404
|
+
return this.httpRequest.request({
|
|
405
|
+
method: 'PUT',
|
|
406
|
+
url: '/api/project-service/projects/status/{projectId}',
|
|
407
|
+
path: {
|
|
408
|
+
projectId: data.projectId
|
|
409
|
+
},
|
|
410
|
+
query: {
|
|
411
|
+
status: data.status
|
|
412
|
+
},
|
|
413
|
+
errors: {
|
|
414
|
+
400: 'Bad Request',
|
|
415
|
+
401: 'Unauthorized',
|
|
416
|
+
403: 'Forbidden',
|
|
417
|
+
404: 'Not Found',
|
|
418
|
+
500: 'Server Error',
|
|
419
|
+
501: 'Server Error'
|
|
420
|
+
}
|
|
421
|
+
});
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
export class ProjectPublicService {
|
|
427
|
+
constructor(public readonly httpRequest: BaseHttpRequest) { }
|
|
428
|
+
|
|
429
|
+
/**
|
|
430
|
+
* @param data The data for the request.
|
|
431
|
+
* @param data.status
|
|
432
|
+
* @param data.type
|
|
433
|
+
* @param data.sorting
|
|
434
|
+
* @param data.skipCount
|
|
435
|
+
* @param data.maxResultCount
|
|
436
|
+
* @returns unknown Success
|
|
437
|
+
* @throws ApiError
|
|
438
|
+
*/
|
|
439
|
+
public getApiProjectServicePublicProjects(data: GetApiProjectServicePublicProjectsData = {}): CancelablePromise<GetApiProjectServicePublicProjectsResponse> {
|
|
440
|
+
return this.httpRequest.request({
|
|
441
|
+
method: 'GET',
|
|
442
|
+
url: '/api/project-service/public/projects',
|
|
443
|
+
query: {
|
|
444
|
+
Status: data.status,
|
|
445
|
+
Type: data.type,
|
|
446
|
+
Sorting: data.sorting,
|
|
447
|
+
SkipCount: data.skipCount,
|
|
448
|
+
MaxResultCount: data.maxResultCount
|
|
449
|
+
},
|
|
450
|
+
errors: {
|
|
451
|
+
400: 'Bad Request',
|
|
452
|
+
401: 'Unauthorized',
|
|
453
|
+
403: 'Forbidden',
|
|
454
|
+
404: 'Not Found',
|
|
455
|
+
500: 'Server Error',
|
|
456
|
+
501: 'Server Error'
|
|
457
|
+
}
|
|
458
|
+
});
|
|
459
|
+
}
|
|
460
|
+
|
|
147
461
|
}
|