@ayasofyazilim/saas 0.0.25 → 0.0.26
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/AccountServiceClient.ts +65 -65
- package/AccountService/schemas.gen.ts +5103 -5103
- package/AccountService/services.gen.ts +1452 -1452
- package/AccountService/types.gen.ts +9896 -9896
- package/AdministrationService/AdministrationServiceClient.ts +74 -74
- package/AdministrationService/schemas.gen.ts +5897 -5897
- package/AdministrationService/services.gen.ts +1332 -1332
- package/AdministrationService/types.gen.ts +9024 -9024
- package/BackerService/BackerServiceClient.ts +50 -50
- package/BackerService/services.gen.ts +866 -866
- package/IdentityService/IdentityServiceClient.ts +77 -77
- package/IdentityService/schemas.gen.ts +6573 -6573
- package/IdentityService/services.gen.ts +2839 -2839
- package/IdentityService/types.gen.ts +17446 -17446
- package/MerchantService/MerchantServiceClient.ts +77 -77
- package/ProjectService/ProjectServiceClient.ts +47 -47
- package/ProjectService.json +2937 -2937
- package/SaasService/schemas.gen.ts +5278 -5278
- package/SaasService/services.gen.ts +1325 -1325
- package/SaasService/types.gen.ts +9052 -9052
- package/SettingService/SettingServiceClient.ts +9 -0
- package/SettingService/schemas.gen.ts +2033 -1524
- package/SettingService/services.gen.ts +472 -1
- package/SettingService/types.gen.ts +1862 -981
- package/generator.mjs +2 -2
- package/package.json +1 -1
- package/swagger.json +4794 -4794
|
@@ -1,50 +1,50 @@
|
|
|
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 { BackerService } from './services.gen';
|
|
10
|
-
import { IndividualService } from './services.gen';
|
|
11
|
-
import { OrganizationService } from './services.gen';
|
|
12
|
-
|
|
13
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
14
|
-
|
|
15
|
-
export class BackerServiceClient {
|
|
16
|
-
|
|
17
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
18
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
19
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
20
|
-
public readonly backer: BackerService;
|
|
21
|
-
public readonly individual: IndividualService;
|
|
22
|
-
public readonly organization: OrganizationService;
|
|
23
|
-
|
|
24
|
-
public readonly request: BaseHttpRequest;
|
|
25
|
-
|
|
26
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
27
|
-
this.request = new HttpRequest({
|
|
28
|
-
BASE: config?.BASE ?? '',
|
|
29
|
-
VERSION: config?.VERSION ?? '1',
|
|
30
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
31
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
32
|
-
TOKEN: config?.TOKEN,
|
|
33
|
-
USERNAME: config?.USERNAME,
|
|
34
|
-
PASSWORD: config?.PASSWORD,
|
|
35
|
-
HEADERS: config?.HEADERS,
|
|
36
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
37
|
-
interceptors: {
|
|
38
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
39
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
40
|
-
},
|
|
41
|
-
});
|
|
42
|
-
|
|
43
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
44
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
45
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
46
|
-
this.backer = new BackerService(this.request);
|
|
47
|
-
this.individual = new IndividualService(this.request);
|
|
48
|
-
this.organization = new OrganizationService(this.request);
|
|
49
|
-
}
|
|
50
|
-
}
|
|
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 { BackerService } from './services.gen';
|
|
10
|
+
import { IndividualService } from './services.gen';
|
|
11
|
+
import { OrganizationService } from './services.gen';
|
|
12
|
+
|
|
13
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
14
|
+
|
|
15
|
+
export class BackerServiceClient {
|
|
16
|
+
|
|
17
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
18
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
19
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
20
|
+
public readonly backer: BackerService;
|
|
21
|
+
public readonly individual: IndividualService;
|
|
22
|
+
public readonly organization: OrganizationService;
|
|
23
|
+
|
|
24
|
+
public readonly request: BaseHttpRequest;
|
|
25
|
+
|
|
26
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
27
|
+
this.request = new HttpRequest({
|
|
28
|
+
BASE: config?.BASE ?? '',
|
|
29
|
+
VERSION: config?.VERSION ?? '1',
|
|
30
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
31
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
32
|
+
TOKEN: config?.TOKEN,
|
|
33
|
+
USERNAME: config?.USERNAME,
|
|
34
|
+
PASSWORD: config?.PASSWORD,
|
|
35
|
+
HEADERS: config?.HEADERS,
|
|
36
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
37
|
+
interceptors: {
|
|
38
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
39
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
44
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
45
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
46
|
+
this.backer = new BackerService(this.request);
|
|
47
|
+
this.individual = new IndividualService(this.request);
|
|
48
|
+
this.organization = new OrganizationService(this.request);
|
|
49
|
+
}
|
|
50
|
+
}
|