@ayasofyazilim/saas 0.0.28 → 0.0.30

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 (40) hide show
  1. package/AccountService/AccountServiceClient.ts +65 -65
  2. package/AccountService/schemas.gen.ts +5103 -5103
  3. package/AccountService/services.gen.ts +1452 -1452
  4. package/AccountService/types.gen.ts +9896 -9896
  5. package/AdministrationService/AdministrationServiceClient.ts +74 -74
  6. package/AdministrationService/schemas.gen.ts +5897 -5897
  7. package/AdministrationService/services.gen.ts +1332 -1332
  8. package/AdministrationService/types.gen.ts +9024 -9024
  9. package/BackerService/BackerServiceClient.ts +50 -50
  10. package/BackerService/services.gen.ts +866 -866
  11. package/CRMService/CRMServiceClient.ts +71 -0
  12. package/CRMService/core/ApiError.ts +21 -0
  13. package/CRMService/core/ApiRequestOptions.ts +13 -0
  14. package/CRMService/core/ApiResult.ts +7 -0
  15. package/CRMService/core/BaseHttpRequest.ts +10 -0
  16. package/CRMService/core/CancelablePromise.ts +126 -0
  17. package/CRMService/core/FetchHttpRequest.ts +22 -0
  18. package/CRMService/core/OpenAPI.ts +56 -0
  19. package/CRMService/core/request.ts +341 -0
  20. package/CRMService/index.ts +9 -0
  21. package/CRMService/schemas.gen.ts +14633 -0
  22. package/CRMService/services.gen.ts +1422 -0
  23. package/CRMService/types.gen.ts +3112 -0
  24. package/IdentityService/IdentityServiceClient.ts +77 -77
  25. package/IdentityService/schemas.gen.ts +6573 -6573
  26. package/IdentityService/services.gen.ts +2839 -2839
  27. package/IdentityService/types.gen.ts +17446 -17446
  28. package/MerchantService/MerchantServiceClient.ts +77 -77
  29. package/ProjectService/ProjectServiceClient.ts +47 -47
  30. package/ProjectService.json +2937 -2937
  31. package/SaasService/schemas.gen.ts +5278 -5278
  32. package/SaasService/services.gen.ts +1325 -1325
  33. package/SaasService/types.gen.ts +9052 -9052
  34. package/SettingService/SettingServiceClient.ts +62 -62
  35. package/SettingService/index.ts +9 -9
  36. package/SettingService/services.gen.ts +21 -21
  37. package/SettingService/types.gen.ts +315 -5280
  38. package/generator.mjs +55 -19
  39. package/package.json +1 -1
  40. package/swagger.json +4794 -4794
@@ -1,62 +1,62 @@
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 { CountrySettingService } from './services.gen';
10
- import { EmailSettingsService } from './services.gen';
11
- import { ProductGroupService } from './services.gen';
12
- import { ProductGroupVatService } from './services.gen';
13
- import { SampleService } from './services.gen';
14
- import { TimeZoneSettingsService } from './services.gen';
15
- import { VatService } from './services.gen';
16
-
17
- type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
18
-
19
- export class SettingServiceClient {
20
-
21
- public readonly abpApiDefinition: AbpApiDefinitionService;
22
- public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
23
- public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
24
- public readonly countrySetting: CountrySettingService;
25
- public readonly emailSettings: EmailSettingsService;
26
- public readonly productGroup: ProductGroupService;
27
- public readonly productGroupVat: ProductGroupVatService;
28
- public readonly sample: SampleService;
29
- public readonly timeZoneSettings: TimeZoneSettingsService;
30
- public readonly vat: VatService;
31
-
32
- public readonly request: BaseHttpRequest;
33
-
34
- constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
35
- this.request = new HttpRequest({
36
- BASE: config?.BASE ?? '',
37
- VERSION: config?.VERSION ?? '1',
38
- WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
39
- CREDENTIALS: config?.CREDENTIALS ?? 'include',
40
- TOKEN: config?.TOKEN,
41
- USERNAME: config?.USERNAME,
42
- PASSWORD: config?.PASSWORD,
43
- HEADERS: config?.HEADERS,
44
- ENCODE_PATH: config?.ENCODE_PATH,
45
- interceptors: {
46
- request: config?.interceptors?.request ?? new Interceptors(),
47
- response: config?.interceptors?.response ?? new Interceptors(),
48
- },
49
- });
50
-
51
- this.abpApiDefinition = new AbpApiDefinitionService(this.request);
52
- this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
53
- this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
54
- this.countrySetting = new CountrySettingService(this.request);
55
- this.emailSettings = new EmailSettingsService(this.request);
56
- this.productGroup = new ProductGroupService(this.request);
57
- this.productGroupVat = new ProductGroupVatService(this.request);
58
- this.sample = new SampleService(this.request);
59
- this.timeZoneSettings = new TimeZoneSettingsService(this.request);
60
- this.vat = new VatService(this.request);
61
- }
62
- }
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 { CountrySettingService } from './services.gen';
10
+ import { EmailSettingsService } from './services.gen';
11
+ import { ProductGroupService } from './services.gen';
12
+ import { ProductGroupVatService } from './services.gen';
13
+ import { SampleService } from './services.gen';
14
+ import { TimeZoneSettingsService } from './services.gen';
15
+ import { VatService } from './services.gen';
16
+
17
+ type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
18
+
19
+ export class SettingServiceClient {
20
+
21
+ public readonly abpApiDefinition: AbpApiDefinitionService;
22
+ public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
23
+ public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
24
+ public readonly countrySetting: CountrySettingService;
25
+ public readonly emailSettings: EmailSettingsService;
26
+ public readonly productGroup: ProductGroupService;
27
+ public readonly productGroupVat: ProductGroupVatService;
28
+ public readonly sample: SampleService;
29
+ public readonly timeZoneSettings: TimeZoneSettingsService;
30
+ public readonly vat: VatService;
31
+
32
+ public readonly request: BaseHttpRequest;
33
+
34
+ constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
35
+ this.request = new HttpRequest({
36
+ BASE: config?.BASE ?? '',
37
+ VERSION: config?.VERSION ?? '1',
38
+ WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
39
+ CREDENTIALS: config?.CREDENTIALS ?? 'include',
40
+ TOKEN: config?.TOKEN,
41
+ USERNAME: config?.USERNAME,
42
+ PASSWORD: config?.PASSWORD,
43
+ HEADERS: config?.HEADERS,
44
+ ENCODE_PATH: config?.ENCODE_PATH,
45
+ interceptors: {
46
+ request: config?.interceptors?.request ?? new Interceptors(),
47
+ response: config?.interceptors?.response ?? new Interceptors(),
48
+ },
49
+ });
50
+
51
+ this.abpApiDefinition = new AbpApiDefinitionService(this.request);
52
+ this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
53
+ this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
54
+ this.countrySetting = new CountrySettingService(this.request);
55
+ this.emailSettings = new EmailSettingsService(this.request);
56
+ this.productGroup = new ProductGroupService(this.request);
57
+ this.productGroupVat = new ProductGroupVatService(this.request);
58
+ this.sample = new SampleService(this.request);
59
+ this.timeZoneSettings = new TimeZoneSettingsService(this.request);
60
+ this.vat = new VatService(this.request);
61
+ }
62
+ }
@@ -1,9 +1,9 @@
1
- // This file is auto-generated by @hey-api/openapi-ts
2
- export { SettingServiceClient } from './SettingServiceClient';
3
- export { ApiError } from './core/ApiError';
4
- export { BaseHttpRequest } from './core/BaseHttpRequest';
5
- export { CancelablePromise, CancelError } from './core/CancelablePromise';
6
- export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
7
- export * from './schemas.gen';
8
- export * from './services.gen';
9
- export * from './types.gen';
1
+ // This file is auto-generated by @hey-api/openapi-ts
2
+ export { SettingServiceClient } from './SettingServiceClient';
3
+ export { ApiError } from './core/ApiError';
4
+ export { BaseHttpRequest } from './core/BaseHttpRequest';
5
+ export { CancelablePromise, CancelError } from './core/CancelablePromise';
6
+ export { OpenAPI, type OpenAPIConfig } from './core/OpenAPI';
7
+ export * from './services.gen';
8
+ export * from './types.gen';
9
+ export * from './schemas.gen';
@@ -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 unknown Success
13
+ * @returns Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel 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 unknown Success
42
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto 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 unknown Success
72
+ * @returns Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto Success
73
73
  * @throws ApiError
74
74
  */
75
75
  public getApiAbpApplicationLocalization(data: GetApiAbpApplicationLocalizationData): CancelablePromise<GetApiAbpApplicationLocalizationResponse> {
@@ -120,7 +120,7 @@ export class CountrySettingService {
120
120
  }
121
121
 
122
122
  /**
123
- * @returns unknown Success
123
+ * @returns UniRefund_SettingService_CountrySettings_CountrySettingDto Success
124
124
  * @throws ApiError
125
125
  */
126
126
  public getApiSettingServiceCountrySettings(): CancelablePromise<GetApiSettingServiceCountrySettingsResponse> {
@@ -163,7 +163,7 @@ export class EmailSettingsService {
163
163
  constructor(public readonly httpRequest: BaseHttpRequest) { }
164
164
 
165
165
  /**
166
- * @returns unknown Success
166
+ * @returns Volo_Abp_SettingManagement_EmailSettingsDto Success
167
167
  * @throws ApiError
168
168
  */
169
169
  public getApiSettingManagementEmailing(): CancelablePromise<GetApiSettingManagementEmailingResponse> {
@@ -262,7 +262,7 @@ export class ProductGroupService {
262
262
  /**
263
263
  * @param data The data for the request.
264
264
  * @param data.requestBody
265
- * @returns unknown Success
265
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
266
266
  * @throws ApiError
267
267
  */
268
268
  public postApiSettingServiceProductGroup(data: PostApiSettingServiceProductGroupData = {}): CancelablePromise<PostApiSettingServiceProductGroupResponse> {
@@ -311,7 +311,7 @@ export class ProductGroupService {
311
311
  * @param data.sorting
312
312
  * @param data.skipCount
313
313
  * @param data.maxResultCount
314
- * @returns unknown Success
314
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroups_ProductGroupDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
315
315
  * @throws ApiError
316
316
  */
317
317
  public getApiSettingServiceProductGroup(data: GetApiSettingServiceProductGroupData = {}): CancelablePromise<GetApiSettingServiceProductGroupResponse> {
@@ -338,7 +338,7 @@ export class ProductGroupService {
338
338
  * @param data The data for the request.
339
339
  * @param data.id
340
340
  * @param data.requestBody
341
- * @returns unknown Success
341
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
342
342
  * @throws ApiError
343
343
  */
344
344
  public putApiSettingServiceProductGroup(data: PutApiSettingServiceProductGroupData = {}): CancelablePromise<PutApiSettingServiceProductGroupResponse> {
@@ -364,7 +364,7 @@ export class ProductGroupService {
364
364
  /**
365
365
  * @param data The data for the request.
366
366
  * @param data.id
367
- * @returns unknown Success
367
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
368
368
  * @throws ApiError
369
369
  */
370
370
  public getApiSettingServiceProductGroupById(data: GetApiSettingServiceProductGroupByIdData): CancelablePromise<GetApiSettingServiceProductGroupByIdResponse> {
@@ -389,7 +389,7 @@ export class ProductGroupService {
389
389
  * @param data The data for the request.
390
390
  * @param data.id
391
391
  * @param data.cultureName
392
- * @returns unknown Success
392
+ * @returns UniRefund_SettingService_ProductGroups_ProductGroupDto Success
393
393
  * @throws ApiError
394
394
  */
395
395
  public getApiSettingServiceProductGroupDetailById(data: GetApiSettingServiceProductGroupDetailByIdData): CancelablePromise<GetApiSettingServiceProductGroupDetailByIdResponse> {
@@ -421,7 +421,7 @@ export class ProductGroupVatService {
421
421
  /**
422
422
  * @param data The data for the request.
423
423
  * @param data.requestBody
424
- * @returns unknown Success
424
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
425
425
  * @throws ApiError
426
426
  */
427
427
  public postApiSettingServiceProductGroupVat(data: PostApiSettingServiceProductGroupVatData = {}): CancelablePromise<PostApiSettingServiceProductGroupVatResponse> {
@@ -470,7 +470,7 @@ export class ProductGroupVatService {
470
470
  * @param data.sorting
471
471
  * @param data.skipCount
472
472
  * @param data.maxResultCount
473
- * @returns unknown Success
473
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
474
474
  * @throws ApiError
475
475
  */
476
476
  public getApiSettingServiceProductGroupVat(data: GetApiSettingServiceProductGroupVatData = {}): CancelablePromise<GetApiSettingServiceProductGroupVatResponse> {
@@ -497,7 +497,7 @@ export class ProductGroupVatService {
497
497
  * @param data The data for the request.
498
498
  * @param data.id
499
499
  * @param data.requestBody
500
- * @returns unknown Success
500
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
501
501
  * @throws ApiError
502
502
  */
503
503
  public putApiSettingServiceProductGroupVat(data: PutApiSettingServiceProductGroupVatData = {}): CancelablePromise<PutApiSettingServiceProductGroupVatResponse> {
@@ -523,7 +523,7 @@ export class ProductGroupVatService {
523
523
  /**
524
524
  * @param data The data for the request.
525
525
  * @param data.id
526
- * @returns unknown Success
526
+ * @returns UniRefund_SettingService_ProductGroupVats_ProductGroupVatDto Success
527
527
  * @throws ApiError
528
528
  */
529
529
  public getApiSettingServiceProductGroupVatById(data: GetApiSettingServiceProductGroupVatByIdData): CancelablePromise<GetApiSettingServiceProductGroupVatByIdResponse> {
@@ -550,7 +550,7 @@ export class SampleService {
550
550
  constructor(public readonly httpRequest: BaseHttpRequest) { }
551
551
 
552
552
  /**
553
- * @returns unknown Success
553
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
554
554
  * @throws ApiError
555
555
  */
556
556
  public getApiSettingServiceSample(): CancelablePromise<GetApiSettingServiceSampleResponse> {
@@ -569,7 +569,7 @@ export class SampleService {
569
569
  }
570
570
 
571
571
  /**
572
- * @returns unknown Success
572
+ * @returns UniRefund_SettingService_Samples_SampleDto Success
573
573
  * @throws ApiError
574
574
  */
575
575
  public getApiSettingServiceSampleAuthorized(): CancelablePromise<GetApiSettingServiceSampleAuthorizedResponse> {
@@ -636,7 +636,7 @@ export class TimeZoneSettingsService {
636
636
  }
637
637
 
638
638
  /**
639
- * @returns unknown Success
639
+ * @returns Volo_Abp_NameValue Success
640
640
  * @throws ApiError
641
641
  */
642
642
  public getApiSettingManagementTimezoneTimezones(): CancelablePromise<GetApiSettingManagementTimezoneTimezonesResponse> {
@@ -662,7 +662,7 @@ export class VatService {
662
662
  /**
663
663
  * @param data The data for the request.
664
664
  * @param data.requestBody
665
- * @returns unknown Success
665
+ * @returns UniRefund_SettingService_Vats_VatDto Success
666
666
  * @throws ApiError
667
667
  */
668
668
  public postApiSettingServiceVat(data: PostApiSettingServiceVatData = {}): CancelablePromise<PostApiSettingServiceVatResponse> {
@@ -711,7 +711,7 @@ export class VatService {
711
711
  * @param data.sorting
712
712
  * @param data.skipCount
713
713
  * @param data.maxResultCount
714
- * @returns unknown Success
714
+ * @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UniRefund_SettingService_Vats_VatDto__UniRefund_SettingService_Application_Contracts__Version_1_0_0_0__Culture_neutral__PublicKeyToken_null_> Success
715
715
  * @throws ApiError
716
716
  */
717
717
  public getApiSettingServiceVat(data: GetApiSettingServiceVatData = {}): CancelablePromise<GetApiSettingServiceVatResponse> {
@@ -738,7 +738,7 @@ export class VatService {
738
738
  * @param data The data for the request.
739
739
  * @param data.id
740
740
  * @param data.requestBody
741
- * @returns unknown Success
741
+ * @returns UniRefund_SettingService_Vats_VatDto Success
742
742
  * @throws ApiError
743
743
  */
744
744
  public putApiSettingServiceVat(data: PutApiSettingServiceVatData = {}): CancelablePromise<PutApiSettingServiceVatResponse> {
@@ -764,7 +764,7 @@ export class VatService {
764
764
  /**
765
765
  * @param data The data for the request.
766
766
  * @param data.id
767
- * @returns unknown Success
767
+ * @returns UniRefund_SettingService_Vats_VatDto Success
768
768
  * @throws ApiError
769
769
  */
770
770
  public getApiSettingServiceVatById(data: GetApiSettingServiceVatByIdData): CancelablePromise<GetApiSettingServiceVatByIdResponse> {