@ayasofyazilim/saas 0.0.18 → 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 +47 -50
- package/ProjectService/schemas.gen.ts +4425 -4546
- package/ProjectService/services.gen.ts +460 -583
- package/ProjectService/types.gen.ts +4488 -5112
- package/SettingService/SettingServiceClient.ts +53 -53
- package/SettingService/services.gen.ts +316 -316
- package/package.json +1 -1
|
@@ -1,53 +1,53 @@
|
|
|
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 { SampleService } from './services.gen';
|
|
12
|
-
import { TimeZoneSettingsService } from './services.gen';
|
|
13
|
-
|
|
14
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
15
|
-
|
|
16
|
-
export class SettingServiceClient {
|
|
17
|
-
|
|
18
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
19
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
20
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
21
|
-
public readonly countrySetting: CountrySettingService;
|
|
22
|
-
public readonly emailSettings: EmailSettingsService;
|
|
23
|
-
public readonly sample: SampleService;
|
|
24
|
-
public readonly timeZoneSettings: TimeZoneSettingsService;
|
|
25
|
-
|
|
26
|
-
public readonly request: BaseHttpRequest;
|
|
27
|
-
|
|
28
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
29
|
-
this.request = new HttpRequest({
|
|
30
|
-
BASE: config?.BASE ?? '',
|
|
31
|
-
VERSION: config?.VERSION ?? '1',
|
|
32
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
33
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
34
|
-
TOKEN: config?.TOKEN,
|
|
35
|
-
USERNAME: config?.USERNAME,
|
|
36
|
-
PASSWORD: config?.PASSWORD,
|
|
37
|
-
HEADERS: config?.HEADERS,
|
|
38
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
39
|
-
interceptors: {
|
|
40
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
41
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
42
|
-
},
|
|
43
|
-
});
|
|
44
|
-
|
|
45
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
46
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
47
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
48
|
-
this.countrySetting = new CountrySettingService(this.request);
|
|
49
|
-
this.emailSettings = new EmailSettingsService(this.request);
|
|
50
|
-
this.sample = new SampleService(this.request);
|
|
51
|
-
this.timeZoneSettings = new TimeZoneSettingsService(this.request);
|
|
52
|
-
}
|
|
53
|
-
}
|
|
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 { SampleService } from './services.gen';
|
|
12
|
+
import { TimeZoneSettingsService } from './services.gen';
|
|
13
|
+
|
|
14
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
15
|
+
|
|
16
|
+
export class SettingServiceClient {
|
|
17
|
+
|
|
18
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
19
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
20
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
21
|
+
public readonly countrySetting: CountrySettingService;
|
|
22
|
+
public readonly emailSettings: EmailSettingsService;
|
|
23
|
+
public readonly sample: SampleService;
|
|
24
|
+
public readonly timeZoneSettings: TimeZoneSettingsService;
|
|
25
|
+
|
|
26
|
+
public readonly request: BaseHttpRequest;
|
|
27
|
+
|
|
28
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
29
|
+
this.request = new HttpRequest({
|
|
30
|
+
BASE: config?.BASE ?? '',
|
|
31
|
+
VERSION: config?.VERSION ?? '1',
|
|
32
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
33
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
34
|
+
TOKEN: config?.TOKEN,
|
|
35
|
+
USERNAME: config?.USERNAME,
|
|
36
|
+
PASSWORD: config?.PASSWORD,
|
|
37
|
+
HEADERS: config?.HEADERS,
|
|
38
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
39
|
+
interceptors: {
|
|
40
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
41
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
46
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
47
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
48
|
+
this.countrySetting = new CountrySettingService(this.request);
|
|
49
|
+
this.emailSettings = new EmailSettingsService(this.request);
|
|
50
|
+
this.sample = new SampleService(this.request);
|
|
51
|
+
this.timeZoneSettings = new TimeZoneSettingsService(this.request);
|
|
52
|
+
}
|
|
53
|
+
}
|