@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,77 +1,77 @@
|
|
|
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 { AddressTypeService } from './services.gen';
|
|
10
|
-
import { AffiliationTypeService } from './services.gen';
|
|
11
|
-
import { ContactInformationTypeService } from './services.gen';
|
|
12
|
-
import { EmailCommonDataService } from './services.gen';
|
|
13
|
-
import { EntityInformationTypeService } from './services.gen';
|
|
14
|
-
import { IndividualService } from './services.gen';
|
|
15
|
-
import { MerchantService } from './services.gen';
|
|
16
|
-
import { NameCommonDataService } from './services.gen';
|
|
17
|
-
import { OrganizationService } from './services.gen';
|
|
18
|
-
import { PersonalSummaryService } from './services.gen';
|
|
19
|
-
import { ProductGroupService } from './services.gen';
|
|
20
|
-
import { TelephoneTypeService } from './services.gen';
|
|
21
|
-
|
|
22
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
23
|
-
|
|
24
|
-
export class MerchantServiceClient {
|
|
25
|
-
|
|
26
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
27
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
28
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
29
|
-
public readonly addressType: AddressTypeService;
|
|
30
|
-
public readonly affiliationType: AffiliationTypeService;
|
|
31
|
-
public readonly contactInformationType: ContactInformationTypeService;
|
|
32
|
-
public readonly emailCommonData: EmailCommonDataService;
|
|
33
|
-
public readonly entityInformationType: EntityInformationTypeService;
|
|
34
|
-
public readonly individual: IndividualService;
|
|
35
|
-
public readonly merchant: MerchantService;
|
|
36
|
-
public readonly nameCommonData: NameCommonDataService;
|
|
37
|
-
public readonly organization: OrganizationService;
|
|
38
|
-
public readonly personalSummary: PersonalSummaryService;
|
|
39
|
-
public readonly productGroup: ProductGroupService;
|
|
40
|
-
public readonly telephoneType: TelephoneTypeService;
|
|
41
|
-
|
|
42
|
-
public readonly request: BaseHttpRequest;
|
|
43
|
-
|
|
44
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
45
|
-
this.request = new HttpRequest({
|
|
46
|
-
BASE: config?.BASE ?? '',
|
|
47
|
-
VERSION: config?.VERSION ?? '1',
|
|
48
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
49
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
50
|
-
TOKEN: config?.TOKEN,
|
|
51
|
-
USERNAME: config?.USERNAME,
|
|
52
|
-
PASSWORD: config?.PASSWORD,
|
|
53
|
-
HEADERS: config?.HEADERS,
|
|
54
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
55
|
-
interceptors: {
|
|
56
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
57
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
58
|
-
},
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
62
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
63
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
64
|
-
this.addressType = new AddressTypeService(this.request);
|
|
65
|
-
this.affiliationType = new AffiliationTypeService(this.request);
|
|
66
|
-
this.contactInformationType = new ContactInformationTypeService(this.request);
|
|
67
|
-
this.emailCommonData = new EmailCommonDataService(this.request);
|
|
68
|
-
this.entityInformationType = new EntityInformationTypeService(this.request);
|
|
69
|
-
this.individual = new IndividualService(this.request);
|
|
70
|
-
this.merchant = new MerchantService(this.request);
|
|
71
|
-
this.nameCommonData = new NameCommonDataService(this.request);
|
|
72
|
-
this.organization = new OrganizationService(this.request);
|
|
73
|
-
this.personalSummary = new PersonalSummaryService(this.request);
|
|
74
|
-
this.productGroup = new ProductGroupService(this.request);
|
|
75
|
-
this.telephoneType = new TelephoneTypeService(this.request);
|
|
76
|
-
}
|
|
77
|
-
}
|
|
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 { AddressTypeService } from './services.gen';
|
|
10
|
+
import { AffiliationTypeService } from './services.gen';
|
|
11
|
+
import { ContactInformationTypeService } from './services.gen';
|
|
12
|
+
import { EmailCommonDataService } from './services.gen';
|
|
13
|
+
import { EntityInformationTypeService } from './services.gen';
|
|
14
|
+
import { IndividualService } from './services.gen';
|
|
15
|
+
import { MerchantService } from './services.gen';
|
|
16
|
+
import { NameCommonDataService } from './services.gen';
|
|
17
|
+
import { OrganizationService } from './services.gen';
|
|
18
|
+
import { PersonalSummaryService } from './services.gen';
|
|
19
|
+
import { ProductGroupService } from './services.gen';
|
|
20
|
+
import { TelephoneTypeService } from './services.gen';
|
|
21
|
+
|
|
22
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
23
|
+
|
|
24
|
+
export class MerchantServiceClient {
|
|
25
|
+
|
|
26
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
27
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
28
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
29
|
+
public readonly addressType: AddressTypeService;
|
|
30
|
+
public readonly affiliationType: AffiliationTypeService;
|
|
31
|
+
public readonly contactInformationType: ContactInformationTypeService;
|
|
32
|
+
public readonly emailCommonData: EmailCommonDataService;
|
|
33
|
+
public readonly entityInformationType: EntityInformationTypeService;
|
|
34
|
+
public readonly individual: IndividualService;
|
|
35
|
+
public readonly merchant: MerchantService;
|
|
36
|
+
public readonly nameCommonData: NameCommonDataService;
|
|
37
|
+
public readonly organization: OrganizationService;
|
|
38
|
+
public readonly personalSummary: PersonalSummaryService;
|
|
39
|
+
public readonly productGroup: ProductGroupService;
|
|
40
|
+
public readonly telephoneType: TelephoneTypeService;
|
|
41
|
+
|
|
42
|
+
public readonly request: BaseHttpRequest;
|
|
43
|
+
|
|
44
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
45
|
+
this.request = new HttpRequest({
|
|
46
|
+
BASE: config?.BASE ?? '',
|
|
47
|
+
VERSION: config?.VERSION ?? '1',
|
|
48
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
49
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
50
|
+
TOKEN: config?.TOKEN,
|
|
51
|
+
USERNAME: config?.USERNAME,
|
|
52
|
+
PASSWORD: config?.PASSWORD,
|
|
53
|
+
HEADERS: config?.HEADERS,
|
|
54
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
55
|
+
interceptors: {
|
|
56
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
57
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
62
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
63
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
64
|
+
this.addressType = new AddressTypeService(this.request);
|
|
65
|
+
this.affiliationType = new AffiliationTypeService(this.request);
|
|
66
|
+
this.contactInformationType = new ContactInformationTypeService(this.request);
|
|
67
|
+
this.emailCommonData = new EmailCommonDataService(this.request);
|
|
68
|
+
this.entityInformationType = new EntityInformationTypeService(this.request);
|
|
69
|
+
this.individual = new IndividualService(this.request);
|
|
70
|
+
this.merchant = new MerchantService(this.request);
|
|
71
|
+
this.nameCommonData = new NameCommonDataService(this.request);
|
|
72
|
+
this.organization = new OrganizationService(this.request);
|
|
73
|
+
this.personalSummary = new PersonalSummaryService(this.request);
|
|
74
|
+
this.productGroup = new ProductGroupService(this.request);
|
|
75
|
+
this.telephoneType = new TelephoneTypeService(this.request);
|
|
76
|
+
}
|
|
77
|
+
}
|
|
@@ -1,47 +1,47 @@
|
|
|
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 { ProjectService } from './services.gen';
|
|
10
|
-
import { ProjectPublicService } from './services.gen';
|
|
11
|
-
|
|
12
|
-
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
13
|
-
|
|
14
|
-
export class ProjectServiceClient {
|
|
15
|
-
|
|
16
|
-
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
17
|
-
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
18
|
-
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
19
|
-
public readonly project: ProjectService;
|
|
20
|
-
public readonly projectPublic: ProjectPublicService;
|
|
21
|
-
|
|
22
|
-
public readonly request: BaseHttpRequest;
|
|
23
|
-
|
|
24
|
-
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
25
|
-
this.request = new HttpRequest({
|
|
26
|
-
BASE: config?.BASE ?? '',
|
|
27
|
-
VERSION: config?.VERSION ?? '1',
|
|
28
|
-
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
29
|
-
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
30
|
-
TOKEN: config?.TOKEN,
|
|
31
|
-
USERNAME: config?.USERNAME,
|
|
32
|
-
PASSWORD: config?.PASSWORD,
|
|
33
|
-
HEADERS: config?.HEADERS,
|
|
34
|
-
ENCODE_PATH: config?.ENCODE_PATH,
|
|
35
|
-
interceptors: {
|
|
36
|
-
request: config?.interceptors?.request ?? new Interceptors(),
|
|
37
|
-
response: config?.interceptors?.response ?? new Interceptors(),
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
42
|
-
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
43
|
-
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
44
|
-
this.project = new ProjectService(this.request);
|
|
45
|
-
this.projectPublic = new ProjectPublicService(this.request);
|
|
46
|
-
}
|
|
47
|
-
}
|
|
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 { ProjectService } from './services.gen';
|
|
10
|
+
import { ProjectPublicService } from './services.gen';
|
|
11
|
+
|
|
12
|
+
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
13
|
+
|
|
14
|
+
export class ProjectServiceClient {
|
|
15
|
+
|
|
16
|
+
public readonly abpApiDefinition: AbpApiDefinitionService;
|
|
17
|
+
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
18
|
+
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
19
|
+
public readonly project: ProjectService;
|
|
20
|
+
public readonly projectPublic: ProjectPublicService;
|
|
21
|
+
|
|
22
|
+
public readonly request: BaseHttpRequest;
|
|
23
|
+
|
|
24
|
+
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
25
|
+
this.request = new HttpRequest({
|
|
26
|
+
BASE: config?.BASE ?? '',
|
|
27
|
+
VERSION: config?.VERSION ?? '1',
|
|
28
|
+
WITH_CREDENTIALS: config?.WITH_CREDENTIALS ?? false,
|
|
29
|
+
CREDENTIALS: config?.CREDENTIALS ?? 'include',
|
|
30
|
+
TOKEN: config?.TOKEN,
|
|
31
|
+
USERNAME: config?.USERNAME,
|
|
32
|
+
PASSWORD: config?.PASSWORD,
|
|
33
|
+
HEADERS: config?.HEADERS,
|
|
34
|
+
ENCODE_PATH: config?.ENCODE_PATH,
|
|
35
|
+
interceptors: {
|
|
36
|
+
request: config?.interceptors?.request ?? new Interceptors(),
|
|
37
|
+
response: config?.interceptors?.response ?? new Interceptors(),
|
|
38
|
+
},
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
this.abpApiDefinition = new AbpApiDefinitionService(this.request);
|
|
42
|
+
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
43
|
+
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
44
|
+
this.project = new ProjectService(this.request);
|
|
45
|
+
this.projectPublic = new ProjectPublicService(this.request);
|
|
46
|
+
}
|
|
47
|
+
}
|