@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.
- 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/CRMService/CRMServiceClient.ts +71 -0
- package/CRMService/core/ApiError.ts +21 -0
- package/CRMService/core/ApiRequestOptions.ts +13 -0
- package/CRMService/core/ApiResult.ts +7 -0
- package/CRMService/core/BaseHttpRequest.ts +10 -0
- package/CRMService/core/CancelablePromise.ts +126 -0
- package/CRMService/core/FetchHttpRequest.ts +22 -0
- package/CRMService/core/OpenAPI.ts +56 -0
- package/CRMService/core/request.ts +341 -0
- package/CRMService/index.ts +9 -0
- package/CRMService/schemas.gen.ts +14633 -0
- package/CRMService/services.gen.ts +1422 -0
- package/CRMService/types.gen.ts +3112 -0
- 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 +62 -62
- package/SettingService/index.ts +9 -9
- package/SettingService/services.gen.ts +21 -21
- package/SettingService/types.gen.ts +315 -5280
- package/generator.mjs +55 -19
- package/package.json +1 -1
- package/swagger.json +4794 -4794
|
@@ -1,65 +1,65 @@
|
|
|
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 { AbpTenantService } from './services.gen';
|
|
10
|
-
import { AccountService } from './services.gen';
|
|
11
|
-
import { AccountExternalProviderService } from './services.gen';
|
|
12
|
-
import { AccountSettingsService } from './services.gen';
|
|
13
|
-
import { DynamicClaimsService } from './services.gen';
|
|
14
|
-
import { LoginService } from './services.gen';
|
|
15
|
-
import { ProfileService } from './services.gen';
|
|
16
|
-
import { UserService } from './services.gen';
|
|
17
|
-
|
|
18
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
19
|
-
|
|
20
|
-
export class AccountServiceClient {
|
|
21
|
-
|
|
22
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
23
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
24
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
25
|
-
public readonly abpTenant: AbpTenantService;
|
|
26
|
-
public readonly account: AccountService;
|
|
27
|
-
public readonly accountExternalProvider: AccountExternalProviderService;
|
|
28
|
-
public readonly accountSettings: AccountSettingsService;
|
|
29
|
-
public readonly dynamicClaims: DynamicClaimsService;
|
|
30
|
-
public readonly login: LoginService;
|
|
31
|
-
public readonly profile: ProfileService;
|
|
32
|
-
public readonly user: UserService;
|
|
33
|
-
|
|
34
|
-
public readonly request: BaseHttpRequest;
|
|
35
|
-
|
|
36
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
37
|
-
this.request = new HttpRequest({
|
|
38
|
-
BASE: config?.BASE ?? '',
|
|
39
|
-
VERSION: config?.VERSION ?? '1',
|
|
40
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
41
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
42
|
-
TOKEN: config?.TOKEN,
|
|
43
|
-
USERNAME: config?.USERNAME,
|
|
44
|
-
PASSWORD: config?.PASSWORD,
|
|
45
|
-
HEADERS: config?.HEADERS,
|
|
46
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
47
|
-
interceptors: {
|
|
48
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
49
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
50
|
-
},
|
|
51
|
-
});
|
|
52
|
-
|
|
53
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
54
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
55
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
56
|
-
this.abpTenant = new AbpTenantService(this.request);
|
|
57
|
-
this.account = new AccountService(this.request);
|
|
58
|
-
this.accountExternalProvider = new AccountExternalProviderService(this.request);
|
|
59
|
-
this.accountSettings = new AccountSettingsService(this.request);
|
|
60
|
-
this.dynamicClaims = new DynamicClaimsService(this.request);
|
|
61
|
-
this.login = new LoginService(this.request);
|
|
62
|
-
this.profile = new ProfileService(this.request);
|
|
63
|
-
this.user = new UserService(this.request);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
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 { AbpTenantService } from './services.gen';
|
|
10
|
+
import { AccountService } from './services.gen';
|
|
11
|
+
import { AccountExternalProviderService } from './services.gen';
|
|
12
|
+
import { AccountSettingsService } from './services.gen';
|
|
13
|
+
import { DynamicClaimsService } from './services.gen';
|
|
14
|
+
import { LoginService } from './services.gen';
|
|
15
|
+
import { ProfileService } from './services.gen';
|
|
16
|
+
import { UserService } from './services.gen';
|
|
17
|
+
|
|
18
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
19
|
+
|
|
20
|
+
export class AccountServiceClient {
|
|
21
|
+
|
|
22
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
23
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
24
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
25
|
+
public readonly abpTenant: AbpTenantService;
|
|
26
|
+
public readonly account: AccountService;
|
|
27
|
+
public readonly accountExternalProvider: AccountExternalProviderService;
|
|
28
|
+
public readonly accountSettings: AccountSettingsService;
|
|
29
|
+
public readonly dynamicClaims: DynamicClaimsService;
|
|
30
|
+
public readonly login: LoginService;
|
|
31
|
+
public readonly profile: ProfileService;
|
|
32
|
+
public readonly user: UserService;
|
|
33
|
+
|
|
34
|
+
public readonly request: BaseHttpRequest;
|
|
35
|
+
|
|
36
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
37
|
+
this.request = new HttpRequest({
|
|
38
|
+
BASE: config?.BASE ?? '',
|
|
39
|
+
VERSION: config?.VERSION ?? '1',
|
|
40
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
41
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
42
|
+
TOKEN: config?.TOKEN,
|
|
43
|
+
USERNAME: config?.USERNAME,
|
|
44
|
+
PASSWORD: config?.PASSWORD,
|
|
45
|
+
HEADERS: config?.HEADERS,
|
|
46
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
47
|
+
interceptors: {
|
|
48
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
49
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
50
|
+
},
|
|
51
|
+
});
|
|
52
|
+
|
|
53
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
54
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
55
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
56
|
+
this.abpTenant = new AbpTenantService(this.request);
|
|
57
|
+
this.account = new AccountService(this.request);
|
|
58
|
+
this.accountExternalProvider = new AccountExternalProviderService(this.request);
|
|
59
|
+
this.accountSettings = new AccountSettingsService(this.request);
|
|
60
|
+
this.dynamicClaims = new DynamicClaimsService(this.request);
|
|
61
|
+
this.login = new LoginService(this.request);
|
|
62
|
+
this.profile = new ProfileService(this.request);
|
|
63
|
+
this.user = new UserService(this.request);
|
|
64
|
+
}
|
|
65
|
+
}
|