@ayasofyazilim/saas 0.0.12 → 0.0.14

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 (41) hide show
  1. package/AccountService/schemas.gen.ts +11 -4
  2. package/AccountService/types.gen.ts +8 -0
  3. package/AdministrationService/schemas.gen.ts +11 -7
  4. package/AdministrationService/types.gen.ts +5 -0
  5. package/BackerService/BackerServiceClient.ts +44 -0
  6. package/BackerService/core/ApiError.ts +21 -0
  7. package/BackerService/core/ApiRequestOptions.ts +13 -0
  8. package/BackerService/core/ApiResult.ts +7 -0
  9. package/BackerService/core/BaseHttpRequest.ts +10 -0
  10. package/BackerService/core/CancelablePromise.ts +126 -0
  11. package/BackerService/core/FetchHttpRequest.ts +22 -0
  12. package/BackerService/core/OpenAPI.ts +56 -0
  13. package/BackerService/core/request.ts +341 -0
  14. package/BackerService/index.ts +9 -0
  15. package/BackerService/schemas.gen.ts +8991 -0
  16. package/BackerService/services.gen.ts +270 -0
  17. package/BackerService/types.gen.ts +6611 -0
  18. package/IdentityService/schemas.gen.ts +28 -10
  19. package/IdentityService/types.gen.ts +30 -0
  20. package/ProjectService/ProjectServiceClient.ts +3 -9
  21. package/ProjectService/schemas.gen.ts +26 -723
  22. package/ProjectService/services.gen.ts +8 -348
  23. package/ProjectService/types.gen.ts +36 -2252
  24. package/ProjectService.json +2937 -2937
  25. package/SaasService/schemas.gen.ts +5 -5
  26. package/SettingService/SettingServiceClient.ts +53 -0
  27. package/SettingService/core/ApiError.ts +21 -0
  28. package/SettingService/core/ApiRequestOptions.ts +13 -0
  29. package/SettingService/core/ApiResult.ts +7 -0
  30. package/SettingService/core/BaseHttpRequest.ts +10 -0
  31. package/SettingService/core/CancelablePromise.ts +126 -0
  32. package/SettingService/core/FetchHttpRequest.ts +22 -0
  33. package/SettingService/core/OpenAPI.ts +56 -0
  34. package/SettingService/core/request.ts +341 -0
  35. package/SettingService/index.ts +9 -0
  36. package/SettingService/schemas.gen.ts +1522 -0
  37. package/SettingService/services.gen.ts +317 -0
  38. package/SettingService/types.gen.ts +981 -0
  39. package/generator.mjs +55 -25
  40. package/package.json +4 -2
  41. package/swagger.json +4794 -4794
@@ -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 } from './types.gen';
5
+ import type { GetApiAbpApiDefinitionData, GetApiAbpApiDefinitionResponse, GetApiAbpApplicationConfigurationData, GetApiAbpApplicationConfigurationResponse, GetApiAbpApplicationLocalizationData, GetApiAbpApplicationLocalizationResponse, GetApiAbpMultiTenancyTenantsByNameByNameData, GetApiAbpMultiTenancyTenantsByNameByNameResponse, GetApiAbpMultiTenancyTenantsByIdByIdData, GetApiAbpMultiTenancyTenantsByIdByIdResponse } from './types.gen';
6
6
 
7
7
  export class AbpApiDefinitionService {
8
8
  constructor(public readonly httpRequest: BaseHttpRequest) { }
@@ -93,72 +93,21 @@ export class AbpApplicationLocalizationService {
93
93
 
94
94
  }
95
95
 
96
- export class ProjectService {
96
+ export class AbpTenantService {
97
97
  constructor(public readonly httpRequest: BaseHttpRequest) { }
98
98
 
99
99
  /**
100
100
  * @param data The data for the request.
101
- * @param data.requestBody
101
+ * @param data.name
102
102
  * @returns unknown Success
103
103
  * @throws ApiError
104
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> {
105
+ public getApiAbpMultiTenancyTenantsByNameByName(data: GetApiAbpMultiTenancyTenantsByNameByNameData): CancelablePromise<GetApiAbpMultiTenancyTenantsByNameByNameResponse> {
131
106
  return this.httpRequest.request({
132
107
  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}',
108
+ url: '/api/abp/multi-tenancy/tenants/by-name/{name}',
160
109
  path: {
161
- id: data.id
110
+ name: data.name
162
111
  },
163
112
  errors: {
164
113
  400: 'Bad Request',
@@ -177,302 +126,13 @@ export class ProjectService {
177
126
  * @returns unknown Success
178
127
  * @throws ApiError
179
128
  */
180
- public getApiProjectServiceProjectsById(data: GetApiProjectServiceProjectsByIdData): CancelablePromise<GetApiProjectServiceProjectsByIdResponse> {
129
+ public getApiAbpMultiTenancyTenantsByIdById(data: GetApiAbpMultiTenancyTenantsByIdByIdData): CancelablePromise<GetApiAbpMultiTenancyTenantsByIdByIdResponse> {
181
130
  return this.httpRequest.request({
182
131
  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
-
227
- export class ProjectSectionService {
228
- constructor(public readonly httpRequest: BaseHttpRequest) { }
229
-
230
- /**
231
- * @param data The data for the request.
232
- * @param data.requestBody
233
- * @returns unknown Success
234
- * @throws ApiError
235
- */
236
- public postApiProjectSectionServiceProjectSection(data: PostApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PostApiProjectSectionServiceProjectSectionResponse> {
237
- return this.httpRequest.request({
238
- method: 'POST',
239
- url: '/api/ProjectSectionService/projectSection',
240
- body: data.requestBody,
241
- mediaType: 'application/json',
242
- errors: {
243
- 400: 'Bad Request',
244
- 401: 'Unauthorized',
245
- 403: 'Forbidden',
246
- 404: 'Not Found',
247
- 500: 'Server Error',
248
- 501: 'Server Error'
249
- }
250
- });
251
- }
252
-
253
- /**
254
- * @param data The data for the request.
255
- * @param data.id
256
- * @returns unknown Success
257
- * @throws ApiError
258
- */
259
- public deleteApiProjectSectionServiceProjectSection(data: DeleteApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<DeleteApiProjectSectionServiceProjectSectionResponse> {
260
- return this.httpRequest.request({
261
- method: 'DELETE',
262
- url: '/api/ProjectSectionService/projectSection',
263
- query: {
264
- id: data.id
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
- * @param data The data for the request.
279
- * @param data.sorting
280
- * @param data.skipCount
281
- * @param data.maxResultCount
282
- * @returns unknown Success
283
- * @throws ApiError
284
- */
285
- public getApiProjectSectionServiceProjectSection(data: GetApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<GetApiProjectSectionServiceProjectSectionResponse> {
286
- return this.httpRequest.request({
287
- method: 'GET',
288
- url: '/api/ProjectSectionService/projectSection',
289
- query: {
290
- Sorting: data.sorting,
291
- SkipCount: data.skipCount,
292
- MaxResultCount: data.maxResultCount
293
- },
294
- errors: {
295
- 400: 'Bad Request',
296
- 401: 'Unauthorized',
297
- 403: 'Forbidden',
298
- 404: 'Not Found',
299
- 500: 'Server Error',
300
- 501: 'Server Error'
301
- }
302
- });
303
- }
304
-
305
- /**
306
- * @param data The data for the request.
307
- * @param data.id
308
- * @param data.requestBody
309
- * @returns unknown Success
310
- * @throws ApiError
311
- */
312
- public putApiProjectSectionServiceProjectSection(data: PutApiProjectSectionServiceProjectSectionData = {}): CancelablePromise<PutApiProjectSectionServiceProjectSectionResponse> {
313
- return this.httpRequest.request({
314
- method: 'PUT',
315
- url: '/api/ProjectSectionService/projectSection',
316
- query: {
317
- id: data.id
318
- },
319
- body: data.requestBody,
320
- mediaType: 'application/json',
321
- errors: {
322
- 400: 'Bad Request',
323
- 401: 'Unauthorized',
324
- 403: 'Forbidden',
325
- 404: 'Not Found',
326
- 500: 'Server Error',
327
- 501: 'Server Error'
328
- }
329
- });
330
- }
331
-
332
- /**
333
- * @param data The data for the request.
334
- * @param data.id
335
- * @returns unknown Success
336
- * @throws ApiError
337
- */
338
- public getApiProjectSectionServiceProjectSectionById(data: GetApiProjectSectionServiceProjectSectionByIdData): CancelablePromise<GetApiProjectSectionServiceProjectSectionByIdResponse> {
339
- return this.httpRequest.request({
340
- method: 'GET',
341
- url: '/api/ProjectSectionService/projectSection/{id}',
342
- path: {
343
- id: data.id
344
- },
345
- errors: {
346
- 400: 'Bad Request',
347
- 401: 'Unauthorized',
348
- 403: 'Forbidden',
349
- 404: 'Not Found',
350
- 500: 'Server Error',
351
- 501: 'Server Error'
352
- }
353
- });
354
- }
355
-
356
- }
357
-
358
- export class ProjectSectionRelationService {
359
- constructor(public readonly httpRequest: BaseHttpRequest) { }
360
-
361
- /**
362
- * @param data The data for the request.
363
- * @param data.requestBody
364
- * @returns unknown Success
365
- * @throws ApiError
366
- */
367
- public postApiProjectSectionRelationServiceProjectSectionRelation(data: PostApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<PostApiProjectSectionRelationServiceProjectSectionRelationResponse> {
368
- return this.httpRequest.request({
369
- method: 'POST',
370
- url: '/api/ProjectSectionRelationService/projectSectionRelation',
371
- body: data.requestBody,
372
- mediaType: 'application/json',
373
- errors: {
374
- 400: 'Bad Request',
375
- 401: 'Unauthorized',
376
- 403: 'Forbidden',
377
- 404: 'Not Found',
378
- 500: 'Server Error',
379
- 501: 'Server Error'
380
- }
381
- });
382
- }
383
-
384
- /**
385
- * @param data The data for the request.
386
- * @param data.id
387
- * @returns unknown Success
388
- * @throws ApiError
389
- */
390
- public deleteApiProjectSectionRelationServiceProjectSectionRelation(data: DeleteApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<DeleteApiProjectSectionRelationServiceProjectSectionRelationResponse> {
391
- return this.httpRequest.request({
392
- method: 'DELETE',
393
- url: '/api/ProjectSectionRelationService/projectSectionRelation',
394
- query: {
395
- id: data.id
396
- },
397
- errors: {
398
- 400: 'Bad Request',
399
- 401: 'Unauthorized',
400
- 403: 'Forbidden',
401
- 404: 'Not Found',
402
- 500: 'Server Error',
403
- 501: 'Server Error'
404
- }
405
- });
406
- }
407
-
408
- /**
409
- * @param data The data for the request.
410
- * @param data.sorting
411
- * @param data.skipCount
412
- * @param data.maxResultCount
413
- * @returns unknown Success
414
- * @throws ApiError
415
- */
416
- public getApiProjectSectionRelationServiceProjectSectionRelation(data: GetApiProjectSectionRelationServiceProjectSectionRelationData = {}): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationResponse> {
417
- return this.httpRequest.request({
418
- method: 'GET',
419
- url: '/api/ProjectSectionRelationService/projectSectionRelation',
420
- query: {
421
- Sorting: data.sorting,
422
- SkipCount: data.skipCount,
423
- MaxResultCount: data.maxResultCount
424
- },
425
- errors: {
426
- 400: 'Bad Request',
427
- 401: 'Unauthorized',
428
- 403: 'Forbidden',
429
- 404: 'Not Found',
430
- 500: 'Server Error',
431
- 501: 'Server Error'
432
- }
433
- });
434
- }
435
-
436
- /**
437
- * @param data The data for the request.
438
- * @param data.id
439
- * @returns unknown Success
440
- * @throws ApiError
441
- */
442
- public getApiProjectSectionRelationServiceProjectSectionRelationById(data: GetApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<GetApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
443
- return this.httpRequest.request({
444
- method: 'GET',
445
- url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
446
- path: {
447
- id: data.id
448
- },
449
- errors: {
450
- 400: 'Bad Request',
451
- 401: 'Unauthorized',
452
- 403: 'Forbidden',
453
- 404: 'Not Found',
454
- 500: 'Server Error',
455
- 501: 'Server Error'
456
- }
457
- });
458
- }
459
-
460
- /**
461
- * @param data The data for the request.
462
- * @param data.id
463
- * @param data.requestBody
464
- * @returns unknown Success
465
- * @throws ApiError
466
- */
467
- public putApiProjectSectionRelationServiceProjectSectionRelationById(data: PutApiProjectSectionRelationServiceProjectSectionRelationByIdData): CancelablePromise<PutApiProjectSectionRelationServiceProjectSectionRelationByIdResponse> {
468
- return this.httpRequest.request({
469
- method: 'PUT',
470
- url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
132
+ url: '/api/abp/multi-tenancy/tenants/by-id/{id}',
471
133
  path: {
472
134
  id: data.id
473
135
  },
474
- body: data.requestBody,
475
- mediaType: 'application/json',
476
136
  errors: {
477
137
  400: 'Bad Request',
478
138
  401: 'Unauthorized',