@ayasofyazilim/saas 0.0.2 → 0.0.4
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/index.ts +117 -115
- package/AccountService/services/AccountService.ts +2 -2
- package/AccountService/services/UserService.ts +8 -8
- package/AdministrationService/AdministrationServiceClient.ts +67 -0
- package/AdministrationService/core/ApiError.ts +25 -0
- package/AdministrationService/core/ApiRequestOptions.ts +17 -0
- package/AdministrationService/core/ApiResult.ts +11 -0
- package/AdministrationService/core/BaseHttpRequest.ts +14 -0
- package/AdministrationService/core/CancelablePromise.ts +131 -0
- package/AdministrationService/core/FetchHttpRequest.ts +26 -0
- package/AdministrationService/core/OpenAPI.ts +32 -0
- package/AdministrationService/core/request.ts +322 -0
- package/AdministrationService/index.ts +123 -0
- package/AdministrationService/models/System_Net_HttpStatusCode.ts +67 -0
- package/AdministrationService/models/Volo_Abp_Application_Dtos_ListResultDto_1.ts +9 -0
- package/AdministrationService/models/Volo_Abp_Application_Dtos_PagedResultDto_1.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto.ts +30 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationGlobalFeatureConfigurationDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationConfigurationDto.ts +18 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationLocalizationResourceDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationSettingConfigurationDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ClockDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentCultureDto.ts +17 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_CurrentUserDto.ts +22 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_DateTimeFormatDto.ts +14 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_IanaTimeZone.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_EntityExtensionDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionEnumFieldDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiCreateDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiDto.ts +13 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiGetDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyApiUpdateDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyAttributeDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyDto.ts +19 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiDto.ts +14 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiFormDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiLookupDto.ts +12 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ExtensionPropertyUiTableDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_LocalizableStringDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ModuleExtensionDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ObjectExtending_ObjectExtensionsDto.ts +11 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimeZone.ts +11 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_TimingDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_WindowsTimeZone.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_CurrentTenantDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_FindTenantResultDto.ts +11 -0
- package/AdministrationService/models/Volo_Abp_AspNetCore_Mvc_MultiTenancy_MultiTenancyInfoDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogActionDto.ts +16 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_AuditLogDto.ts +33 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeDto.ts +18 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_EntityChangeWithUsernameDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_EntityPropertyChangeDto.ts +14 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_GetAverageExecutionDurationPerDayOutput.ts +8 -0
- package/AdministrationService/models/Volo_Abp_AuditLogging_GetErrorRateOutput.ts +8 -0
- package/AdministrationService/models/Volo_Abp_Auditing_EntityChangeType.ts +9 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureDto.ts +17 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureGroupDto.ts +11 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_FeatureProviderDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_GetFeatureListResultDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeatureDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_FeatureManagement_UpdateFeaturesDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_Gdpr_DownloadTokenResultDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_Gdpr_GdprRequestDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ActionApiDescriptionModel.ts +20 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ApplicationApiDescriptionModel.ts +11 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerApiDescriptionModel.ts +17 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ControllerInterfaceApiDescriptionModel.ts +11 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_InterfaceMethodApiDescriptionModel.ts +12 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_MethodParameterApiDescriptionModel.ts +13 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ModuleApiDescriptionModel.ts +11 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ParameterApiDescriptionModel.ts +17 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_PropertyApiDescriptionModel.ts +17 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_ReturnValueApiDescriptionModel.ts +9 -0
- package/AdministrationService/models/Volo_Abp_Http_Modeling_TypeApiDescriptionModel.ts +14 -0
- package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorInfo.ts +13 -0
- package/AdministrationService/models/Volo_Abp_Http_RemoteServiceErrorResponse.ts +9 -0
- package/AdministrationService/models/Volo_Abp_Http_RemoteServiceValidationErrorInfo.ts +9 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CreateLanguageDto.ts +13 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_CultureInfoDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageDto.ts +18 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageResourceDto.ts +8 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_LanguageTextDto.ts +13 -0
- package/AdministrationService/models/Volo_Abp_LanguageManagement_Dto_UpdateLanguageDto.ts +12 -0
- package/AdministrationService/models/Volo_Abp_Localization_LanguageInfo.ts +12 -0
- package/AdministrationService/models/Volo_Abp_NameValue.ts +9 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_GetPermissionListResultDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGrantInfoDto.ts +14 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_PermissionGroupDto.ts +13 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_ProviderInfoDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_PermissionManagement_UpdatePermissionsDto.ts +9 -0
- package/AdministrationService/models/Volo_Abp_SettingManagement_EmailSettingsDto.ts +16 -0
- package/AdministrationService/models/Volo_Abp_SettingManagement_SendTestEmailInput.ts +11 -0
- package/AdministrationService/models/Volo_Abp_SettingManagement_UpdateEmailSettingsDto.ts +16 -0
- package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput.ts +9 -0
- package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto.ts +13 -0
- package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto.ts +10 -0
- package/AdministrationService/models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput.ts +10 -0
- package/AdministrationService/models/Volo_Abp_Validation_StringValues_IStringValueType.ts +11 -0
- package/AdministrationService/models/Volo_Abp_Validation_StringValues_IValueValidator.ts +9 -0
- package/AdministrationService/services/AbpApiDefinitionService.ts +34 -0
- package/AdministrationService/services/AbpApplicationConfigurationService.ts +34 -0
- package/AdministrationService/services/AbpApplicationLocalizationService.ts +37 -0
- package/AdministrationService/services/AbpTenantService.ts +58 -0
- package/AdministrationService/services/AuditLogsService.ts +286 -0
- package/AdministrationService/services/EmailSettingsService.ts +76 -0
- package/AdministrationService/services/FeaturesService.ts +96 -0
- package/AdministrationService/services/GdprRequestService.ts +152 -0
- package/AdministrationService/services/LanguageTextsService.ts +157 -0
- package/AdministrationService/services/LanguagesService.ts +257 -0
- package/AdministrationService/services/PermissionsService.ts +69 -0
- package/AdministrationService/services/TextTemplateContentsService.ts +85 -0
- package/AdministrationService/services/TextTemplateDefinitionsService.ts +69 -0
- package/AdministrationService/services/TimeZoneSettingsService.ts +70 -0
- package/ProjectService/ProjectServiceClient.ts +6 -0
- package/ProjectService/index.ts +11 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto.ts +10 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto.ts +11 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto.ts +10 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto.ts +10 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto.ts +9 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto.ts +11 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto.ts +10 -0
- package/ProjectService/models/UpWithCrowdDemo_ProjectService_Projects_ProjectDto.ts +2 -0
- package/ProjectService/services/ProjectSectionRelationServiceService.ts +143 -0
- package/ProjectService/services/ProjectSectionServiceService.ts +143 -0
- package/package.json +13 -7
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput } from '../models/Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput';
|
|
6
|
+
import type { Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto } from '../models/Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto';
|
|
7
|
+
import type { Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput } from '../models/Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput';
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
10
|
+
export class TextTemplateContentsService {
|
|
11
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
12
|
+
/**
|
|
13
|
+
* @param templateName
|
|
14
|
+
* @param cultureName
|
|
15
|
+
* @returns Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto Success
|
|
16
|
+
* @throws ApiError
|
|
17
|
+
*/
|
|
18
|
+
public getApiTextTemplateManagementTemplateContents(
|
|
19
|
+
templateName: string,
|
|
20
|
+
cultureName?: string,
|
|
21
|
+
): CancelablePromise<Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto> {
|
|
22
|
+
return this.httpRequest.request({
|
|
23
|
+
method: 'GET',
|
|
24
|
+
url: '/api/text-template-management/template-contents',
|
|
25
|
+
query: {
|
|
26
|
+
'TemplateName': templateName,
|
|
27
|
+
'CultureName': cultureName,
|
|
28
|
+
},
|
|
29
|
+
errors: {
|
|
30
|
+
400: `Bad Request`,
|
|
31
|
+
401: `Unauthorized`,
|
|
32
|
+
403: `Forbidden`,
|
|
33
|
+
404: `Not Found`,
|
|
34
|
+
500: `Server Error`,
|
|
35
|
+
501: `Server Error`,
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* @param requestBody
|
|
41
|
+
* @returns Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto Success
|
|
42
|
+
* @throws ApiError
|
|
43
|
+
*/
|
|
44
|
+
public putApiTextTemplateManagementTemplateContents(
|
|
45
|
+
requestBody?: Volo_Abp_TextTemplateManagement_TextTemplates_UpdateTemplateContentInput,
|
|
46
|
+
): CancelablePromise<Volo_Abp_TextTemplateManagement_TextTemplates_TextTemplateContentDto> {
|
|
47
|
+
return this.httpRequest.request({
|
|
48
|
+
method: 'PUT',
|
|
49
|
+
url: '/api/text-template-management/template-contents',
|
|
50
|
+
body: requestBody,
|
|
51
|
+
mediaType: 'application/json',
|
|
52
|
+
errors: {
|
|
53
|
+
400: `Bad Request`,
|
|
54
|
+
401: `Unauthorized`,
|
|
55
|
+
403: `Forbidden`,
|
|
56
|
+
404: `Not Found`,
|
|
57
|
+
500: `Server Error`,
|
|
58
|
+
501: `Server Error`,
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
}
|
|
62
|
+
/**
|
|
63
|
+
* @param requestBody
|
|
64
|
+
* @returns any Success
|
|
65
|
+
* @throws ApiError
|
|
66
|
+
*/
|
|
67
|
+
public putApiTextTemplateManagementTemplateContentsRestoreToDefault(
|
|
68
|
+
requestBody?: Volo_Abp_TextTemplateManagement_TextTemplates_RestoreTemplateContentInput,
|
|
69
|
+
): CancelablePromise<any> {
|
|
70
|
+
return this.httpRequest.request({
|
|
71
|
+
method: 'PUT',
|
|
72
|
+
url: '/api/text-template-management/template-contents/restore-to-default',
|
|
73
|
+
body: requestBody,
|
|
74
|
+
mediaType: 'application/json',
|
|
75
|
+
errors: {
|
|
76
|
+
400: `Bad Request`,
|
|
77
|
+
401: `Unauthorized`,
|
|
78
|
+
403: `Forbidden`,
|
|
79
|
+
404: `Not Found`,
|
|
80
|
+
500: `Server Error`,
|
|
81
|
+
501: `Server Error`,
|
|
82
|
+
},
|
|
83
|
+
});
|
|
84
|
+
}
|
|
85
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
6
|
+
import type { Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto } from '../models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto';
|
|
7
|
+
import type { Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto_Volo_Abp_TextTemplateManagement_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_ } from '../models/Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto_Volo_Abp_TextTemplateManagement_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_';
|
|
8
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
9
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
10
|
+
export class TextTemplateDefinitionsService {
|
|
11
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
12
|
+
/**
|
|
13
|
+
* @param filterText
|
|
14
|
+
* @param sorting
|
|
15
|
+
* @param skipCount
|
|
16
|
+
* @param maxResultCount
|
|
17
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto_Volo_Abp_TextTemplateManagement_Application_Contracts_Version_8_0_5_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
18
|
+
* @throws ApiError
|
|
19
|
+
*/
|
|
20
|
+
public getApiTextTemplateManagementTemplateDefinitions(
|
|
21
|
+
filterText?: string,
|
|
22
|
+
sorting?: string,
|
|
23
|
+
skipCount?: number,
|
|
24
|
+
maxResultCount?: number,
|
|
25
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
26
|
+
return this.httpRequest.request({
|
|
27
|
+
method: 'GET',
|
|
28
|
+
url: '/api/text-template-management/template-definitions',
|
|
29
|
+
query: {
|
|
30
|
+
'FilterText': filterText,
|
|
31
|
+
'Sorting': sorting,
|
|
32
|
+
'SkipCount': skipCount,
|
|
33
|
+
'MaxResultCount': maxResultCount,
|
|
34
|
+
},
|
|
35
|
+
errors: {
|
|
36
|
+
400: `Bad Request`,
|
|
37
|
+
401: `Unauthorized`,
|
|
38
|
+
403: `Forbidden`,
|
|
39
|
+
404: `Not Found`,
|
|
40
|
+
500: `Server Error`,
|
|
41
|
+
501: `Server Error`,
|
|
42
|
+
},
|
|
43
|
+
});
|
|
44
|
+
}
|
|
45
|
+
/**
|
|
46
|
+
* @param name
|
|
47
|
+
* @returns Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto Success
|
|
48
|
+
* @throws ApiError
|
|
49
|
+
*/
|
|
50
|
+
public getApiTextTemplateManagementTemplateDefinitions1(
|
|
51
|
+
name: string,
|
|
52
|
+
): CancelablePromise<Volo_Abp_TextTemplateManagement_TextTemplates_TemplateDefinitionDto> {
|
|
53
|
+
return this.httpRequest.request({
|
|
54
|
+
method: 'GET',
|
|
55
|
+
url: '/api/text-template-management/template-definitions/{name}',
|
|
56
|
+
path: {
|
|
57
|
+
'name': name,
|
|
58
|
+
},
|
|
59
|
+
errors: {
|
|
60
|
+
400: `Bad Request`,
|
|
61
|
+
401: `Unauthorized`,
|
|
62
|
+
403: `Forbidden`,
|
|
63
|
+
404: `Not Found`,
|
|
64
|
+
500: `Server Error`,
|
|
65
|
+
501: `Server Error`,
|
|
66
|
+
},
|
|
67
|
+
});
|
|
68
|
+
}
|
|
69
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { Volo_Abp_NameValue } from '../models/Volo_Abp_NameValue';
|
|
6
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
7
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
8
|
+
export class TimeZoneSettingsService {
|
|
9
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
10
|
+
/**
|
|
11
|
+
* @returns string Success
|
|
12
|
+
* @throws ApiError
|
|
13
|
+
*/
|
|
14
|
+
public getApiSettingManagementTimezone(): CancelablePromise<string> {
|
|
15
|
+
return this.httpRequest.request({
|
|
16
|
+
method: 'GET',
|
|
17
|
+
url: '/api/setting-management/timezone',
|
|
18
|
+
errors: {
|
|
19
|
+
400: `Bad Request`,
|
|
20
|
+
401: `Unauthorized`,
|
|
21
|
+
403: `Forbidden`,
|
|
22
|
+
404: `Not Found`,
|
|
23
|
+
500: `Server Error`,
|
|
24
|
+
501: `Server Error`,
|
|
25
|
+
},
|
|
26
|
+
});
|
|
27
|
+
}
|
|
28
|
+
/**
|
|
29
|
+
* @param timezone
|
|
30
|
+
* @returns any Success
|
|
31
|
+
* @throws ApiError
|
|
32
|
+
*/
|
|
33
|
+
public postApiSettingManagementTimezone(
|
|
34
|
+
timezone?: string,
|
|
35
|
+
): CancelablePromise<any> {
|
|
36
|
+
return this.httpRequest.request({
|
|
37
|
+
method: 'POST',
|
|
38
|
+
url: '/api/setting-management/timezone',
|
|
39
|
+
query: {
|
|
40
|
+
'timezone': timezone,
|
|
41
|
+
},
|
|
42
|
+
errors: {
|
|
43
|
+
400: `Bad Request`,
|
|
44
|
+
401: `Unauthorized`,
|
|
45
|
+
403: `Forbidden`,
|
|
46
|
+
404: `Not Found`,
|
|
47
|
+
500: `Server Error`,
|
|
48
|
+
501: `Server Error`,
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
}
|
|
52
|
+
/**
|
|
53
|
+
* @returns Volo_Abp_NameValue Success
|
|
54
|
+
* @throws ApiError
|
|
55
|
+
*/
|
|
56
|
+
public getApiSettingManagementTimezoneTimezones(): CancelablePromise<Array<Volo_Abp_NameValue>> {
|
|
57
|
+
return this.httpRequest.request({
|
|
58
|
+
method: 'GET',
|
|
59
|
+
url: '/api/setting-management/timezone/timezones',
|
|
60
|
+
errors: {
|
|
61
|
+
400: `Bad Request`,
|
|
62
|
+
401: `Unauthorized`,
|
|
63
|
+
403: `Forbidden`,
|
|
64
|
+
404: `Not Found`,
|
|
65
|
+
500: `Server Error`,
|
|
66
|
+
501: `Server Error`,
|
|
67
|
+
},
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
}
|
|
@@ -9,6 +9,8 @@ import { AbpApiDefinitionService } from './services/AbpApiDefinitionService';
|
|
|
9
9
|
import { AbpApplicationConfigurationService } from './services/AbpApplicationConfigurationService';
|
|
10
10
|
import { AbpApplicationLocalizationService } from './services/AbpApplicationLocalizationService';
|
|
11
11
|
import { ProjectService } from './services/ProjectService';
|
|
12
|
+
import { ProjectSectionRelationServiceService } from './services/ProjectSectionRelationServiceService';
|
|
13
|
+
import { ProjectSectionServiceService } from './services/ProjectSectionServiceService';
|
|
12
14
|
import { SampleServiceService } from './services/SampleServiceService';
|
|
13
15
|
type HttpRequestConstructor = new (config: OpenAPIConfig) => BaseHttpRequest;
|
|
14
16
|
export class ProjectServiceClient {
|
|
@@ -16,6 +18,8 @@ export class ProjectServiceClient {
|
|
|
16
18
|
public readonly abpApplicationConfiguration: AbpApplicationConfigurationService;
|
|
17
19
|
public readonly abpApplicationLocalization: AbpApplicationLocalizationService;
|
|
18
20
|
public readonly project: ProjectService;
|
|
21
|
+
public readonly projectSectionRelationService: ProjectSectionRelationServiceService;
|
|
22
|
+
public readonly projectSectionService: ProjectSectionServiceService;
|
|
19
23
|
public readonly sampleService: SampleServiceService;
|
|
20
24
|
public readonly request: BaseHttpRequest;
|
|
21
25
|
constructor(config?: Partial<OpenAPIConfig>, HttpRequest: HttpRequestConstructor = FetchHttpRequest) {
|
|
@@ -34,6 +38,8 @@ export class ProjectServiceClient {
|
|
|
34
38
|
this.abpApplicationConfiguration = new AbpApplicationConfigurationService(this.request);
|
|
35
39
|
this.abpApplicationLocalization = new AbpApplicationLocalizationService(this.request);
|
|
36
40
|
this.project = new ProjectService(this.request);
|
|
41
|
+
this.projectSectionRelationService = new ProjectSectionRelationServiceService(this.request);
|
|
42
|
+
this.projectSectionService = new ProjectSectionServiceService(this.request);
|
|
37
43
|
this.sampleService = new SampleServiceService(this.request);
|
|
38
44
|
}
|
|
39
45
|
}
|
package/ProjectService/index.ts
CHANGED
|
@@ -13,8 +13,17 @@ export type { OpenAPIConfig } from './core/OpenAPI';
|
|
|
13
13
|
export type { UpWithCrowdDemo_ProjectService_Projects_ProjectDto } from './models/UpWithCrowdDemo_ProjectService_Projects_ProjectDto';
|
|
14
14
|
export type { UpWithCrowdDemo_ProjectService_ProjectsDto_SaveProjectDto } from './models/UpWithCrowdDemo_ProjectService_ProjectsDto_SaveProjectDto';
|
|
15
15
|
export type { UpWithCrowdDemo_ProjectService_ProjectsDto_UpdateProjectDto } from './models/UpWithCrowdDemo_ProjectService_ProjectsDto_UpdateProjectDto';
|
|
16
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto';
|
|
17
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto';
|
|
18
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto';
|
|
19
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto';
|
|
20
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto';
|
|
21
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto';
|
|
22
|
+
export type { UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto } from './models/UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto';
|
|
16
23
|
export type { UpWithCrowdDemo_ProjectService_Samples_SampleDto } from './models/UpWithCrowdDemo_ProjectService_Samples_SampleDto';
|
|
17
24
|
export type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from './models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
25
|
+
export type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from './models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
26
|
+
export type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from './models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
18
27
|
export type { Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto } from './models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationAuthConfigurationDto';
|
|
19
28
|
export type { Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto } from './models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationConfigurationDto';
|
|
20
29
|
export type { Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto } from './models/Volo_Abp_AspNetCore_Mvc_ApplicationConfigurations_ApplicationFeatureConfigurationDto';
|
|
@@ -70,4 +79,6 @@ export { AbpApiDefinitionService } from './services/AbpApiDefinitionService';
|
|
|
70
79
|
export { AbpApplicationConfigurationService } from './services/AbpApplicationConfigurationService';
|
|
71
80
|
export { AbpApplicationLocalizationService } from './services/AbpApplicationLocalizationService';
|
|
72
81
|
export { ProjectService } from './services/ProjectService';
|
|
82
|
+
export { ProjectSectionRelationServiceService } from './services/ProjectSectionRelationServiceService';
|
|
83
|
+
export { ProjectSectionServiceService } from './services/ProjectSectionServiceService';
|
|
73
84
|
export { SampleServiceService } from './services/SampleServiceService';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto = {
|
|
6
|
+
projectId?: string;
|
|
7
|
+
projectSectionId?: string;
|
|
8
|
+
value?: string | null;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto = {
|
|
6
|
+
id?: string;
|
|
7
|
+
projectId?: string;
|
|
8
|
+
projectSectionId?: string;
|
|
9
|
+
value?: string | null;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto = {
|
|
6
|
+
projectId?: string;
|
|
7
|
+
projectSectionId?: string;
|
|
8
|
+
value?: string | null;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto = {
|
|
6
|
+
name?: string | null;
|
|
7
|
+
isDefault?: boolean;
|
|
8
|
+
isOptional?: boolean;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto = {
|
|
6
|
+
name?: string | null;
|
|
7
|
+
value?: string | null;
|
|
8
|
+
};
|
|
9
|
+
|
package/ProjectService/models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto.ts
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto = {
|
|
6
|
+
id?: string;
|
|
7
|
+
name?: string | null;
|
|
8
|
+
isDefault?: boolean;
|
|
9
|
+
isOptional?: boolean;
|
|
10
|
+
};
|
|
11
|
+
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
export type UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto = {
|
|
6
|
+
name?: string | null;
|
|
7
|
+
isDefault?: boolean;
|
|
8
|
+
isOptional?: boolean;
|
|
9
|
+
};
|
|
10
|
+
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
/* istanbul ignore file */
|
|
3
3
|
/* tslint:disable */
|
|
4
4
|
/* eslint-disable */
|
|
5
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto } from './UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto';
|
|
5
6
|
export type UpWithCrowdDemo_ProjectService_Projects_ProjectDto = {
|
|
6
7
|
id?: string;
|
|
7
8
|
projectName?: string | null;
|
|
@@ -16,5 +17,6 @@ export type UpWithCrowdDemo_ProjectService_Projects_ProjectDto = {
|
|
|
16
17
|
privilege?: string | null;
|
|
17
18
|
projectStartDate?: string;
|
|
18
19
|
projectEndDate?: string;
|
|
20
|
+
projectSectionRelations?: Array<UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDetailDto> | null;
|
|
19
21
|
};
|
|
20
22
|
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto';
|
|
6
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto';
|
|
7
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_ } from '../models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_';
|
|
8
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto';
|
|
9
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
10
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
12
|
+
export class ProjectSectionRelationServiceService {
|
|
13
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
14
|
+
/**
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
public postApiProjectSectionRelationServiceProjectSectionRelation(
|
|
20
|
+
requestBody?: UpWithCrowdDemo_ProjectService_ProjectSectionRelations_CreateProjectSectionRelationDto,
|
|
21
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto> {
|
|
22
|
+
return this.httpRequest.request({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
25
|
+
body: requestBody,
|
|
26
|
+
mediaType: 'application/json',
|
|
27
|
+
errors: {
|
|
28
|
+
400: `Bad Request`,
|
|
29
|
+
401: `Unauthorized`,
|
|
30
|
+
403: `Forbidden`,
|
|
31
|
+
404: `Not Found`,
|
|
32
|
+
500: `Server Error`,
|
|
33
|
+
501: `Server Error`,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @param id
|
|
39
|
+
* @returns any Success
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
public deleteApiProjectSectionRelationServiceProjectSectionRelation(
|
|
43
|
+
id?: string,
|
|
44
|
+
): CancelablePromise<any> {
|
|
45
|
+
return this.httpRequest.request({
|
|
46
|
+
method: 'DELETE',
|
|
47
|
+
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
48
|
+
query: {
|
|
49
|
+
'id': id,
|
|
50
|
+
},
|
|
51
|
+
errors: {
|
|
52
|
+
400: `Bad Request`,
|
|
53
|
+
401: `Unauthorized`,
|
|
54
|
+
403: `Forbidden`,
|
|
55
|
+
404: `Not Found`,
|
|
56
|
+
500: `Server Error`,
|
|
57
|
+
501: `Server Error`,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @param sorting
|
|
63
|
+
* @param skipCount
|
|
64
|
+
* @param maxResultCount
|
|
65
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
public getApiProjectSectionRelationServiceProjectSectionRelation(
|
|
69
|
+
sorting?: string,
|
|
70
|
+
skipCount?: number,
|
|
71
|
+
maxResultCount?: number,
|
|
72
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
73
|
+
return this.httpRequest.request({
|
|
74
|
+
method: 'GET',
|
|
75
|
+
url: '/api/ProjectSectionRelationService/projectSectionRelation',
|
|
76
|
+
query: {
|
|
77
|
+
'Sorting': sorting,
|
|
78
|
+
'SkipCount': skipCount,
|
|
79
|
+
'MaxResultCount': maxResultCount,
|
|
80
|
+
},
|
|
81
|
+
errors: {
|
|
82
|
+
400: `Bad Request`,
|
|
83
|
+
401: `Unauthorized`,
|
|
84
|
+
403: `Forbidden`,
|
|
85
|
+
404: `Not Found`,
|
|
86
|
+
500: `Server Error`,
|
|
87
|
+
501: `Server Error`,
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @param id
|
|
93
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
94
|
+
* @throws ApiError
|
|
95
|
+
*/
|
|
96
|
+
public getApiProjectSectionRelationServiceProjectSectionRelation1(
|
|
97
|
+
id: string,
|
|
98
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto> {
|
|
99
|
+
return this.httpRequest.request({
|
|
100
|
+
method: 'GET',
|
|
101
|
+
url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
|
|
102
|
+
path: {
|
|
103
|
+
'id': id,
|
|
104
|
+
},
|
|
105
|
+
errors: {
|
|
106
|
+
400: `Bad Request`,
|
|
107
|
+
401: `Unauthorized`,
|
|
108
|
+
403: `Forbidden`,
|
|
109
|
+
404: `Not Found`,
|
|
110
|
+
500: `Server Error`,
|
|
111
|
+
501: `Server Error`,
|
|
112
|
+
},
|
|
113
|
+
});
|
|
114
|
+
}
|
|
115
|
+
/**
|
|
116
|
+
* @param id
|
|
117
|
+
* @param requestBody
|
|
118
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto Success
|
|
119
|
+
* @throws ApiError
|
|
120
|
+
*/
|
|
121
|
+
public putApiProjectSectionRelationServiceProjectSectionRelation(
|
|
122
|
+
id: string,
|
|
123
|
+
requestBody?: UpWithCrowdDemo_ProjectService_ProjectSectionRelations_UpdateProjectSectionRelationDto,
|
|
124
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSectionRelations_ProjectSectionRelationDto> {
|
|
125
|
+
return this.httpRequest.request({
|
|
126
|
+
method: 'PUT',
|
|
127
|
+
url: '/api/ProjectSectionRelationService/projectSectionRelation/{id}',
|
|
128
|
+
path: {
|
|
129
|
+
'id': id,
|
|
130
|
+
},
|
|
131
|
+
body: requestBody,
|
|
132
|
+
mediaType: 'application/json',
|
|
133
|
+
errors: {
|
|
134
|
+
400: `Bad Request`,
|
|
135
|
+
401: `Unauthorized`,
|
|
136
|
+
403: `Forbidden`,
|
|
137
|
+
404: `Not Found`,
|
|
138
|
+
500: `Server Error`,
|
|
139
|
+
501: `Server Error`,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do no edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto';
|
|
6
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto';
|
|
7
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_ } from '../models/UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_';
|
|
8
|
+
import type { UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto } from '../models/UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto';
|
|
9
|
+
import type { Volo_Abp_Application_Dtos_PagedResultDto_1 } from '../models/Volo_Abp_Application_Dtos_PagedResultDto_1';
|
|
10
|
+
import type { CancelablePromise } from '../core/CancelablePromise';
|
|
11
|
+
import type { BaseHttpRequest } from '../core/BaseHttpRequest';
|
|
12
|
+
export class ProjectSectionServiceService {
|
|
13
|
+
constructor(public readonly httpRequest: BaseHttpRequest) {}
|
|
14
|
+
/**
|
|
15
|
+
* @param requestBody
|
|
16
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
17
|
+
* @throws ApiError
|
|
18
|
+
*/
|
|
19
|
+
public postApiProjectSectionServiceProjectSection(
|
|
20
|
+
requestBody?: UpWithCrowdDemo_ProjectService_ProjectSections_CreateProjectSectionDto,
|
|
21
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto> {
|
|
22
|
+
return this.httpRequest.request({
|
|
23
|
+
method: 'POST',
|
|
24
|
+
url: '/api/ProjectSectionService/projectSection',
|
|
25
|
+
body: requestBody,
|
|
26
|
+
mediaType: 'application/json',
|
|
27
|
+
errors: {
|
|
28
|
+
400: `Bad Request`,
|
|
29
|
+
401: `Unauthorized`,
|
|
30
|
+
403: `Forbidden`,
|
|
31
|
+
404: `Not Found`,
|
|
32
|
+
500: `Server Error`,
|
|
33
|
+
501: `Server Error`,
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @param id
|
|
39
|
+
* @returns any Success
|
|
40
|
+
* @throws ApiError
|
|
41
|
+
*/
|
|
42
|
+
public deleteApiProjectSectionServiceProjectSection(
|
|
43
|
+
id?: string,
|
|
44
|
+
): CancelablePromise<any> {
|
|
45
|
+
return this.httpRequest.request({
|
|
46
|
+
method: 'DELETE',
|
|
47
|
+
url: '/api/ProjectSectionService/projectSection',
|
|
48
|
+
query: {
|
|
49
|
+
'id': id,
|
|
50
|
+
},
|
|
51
|
+
errors: {
|
|
52
|
+
400: `Bad Request`,
|
|
53
|
+
401: `Unauthorized`,
|
|
54
|
+
403: `Forbidden`,
|
|
55
|
+
404: `Not Found`,
|
|
56
|
+
500: `Server Error`,
|
|
57
|
+
501: `Server Error`,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* @param sorting
|
|
63
|
+
* @param skipCount
|
|
64
|
+
* @param maxResultCount
|
|
65
|
+
* @returns Volo_Abp_Application_Dtos_PagedResultDto_1<UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto_UpWithCrowdDemo_ProjectService_Application_Contracts_Version_1_0_0_0_Culture_neutral_PublicKeyToken_null_> Success
|
|
66
|
+
* @throws ApiError
|
|
67
|
+
*/
|
|
68
|
+
public getApiProjectSectionServiceProjectSection(
|
|
69
|
+
sorting?: string,
|
|
70
|
+
skipCount?: number,
|
|
71
|
+
maxResultCount?: number,
|
|
72
|
+
): CancelablePromise<Volo_Abp_Application_Dtos_PagedResultDto_1> {
|
|
73
|
+
return this.httpRequest.request({
|
|
74
|
+
method: 'GET',
|
|
75
|
+
url: '/api/ProjectSectionService/projectSection',
|
|
76
|
+
query: {
|
|
77
|
+
'Sorting': sorting,
|
|
78
|
+
'SkipCount': skipCount,
|
|
79
|
+
'MaxResultCount': maxResultCount,
|
|
80
|
+
},
|
|
81
|
+
errors: {
|
|
82
|
+
400: `Bad Request`,
|
|
83
|
+
401: `Unauthorized`,
|
|
84
|
+
403: `Forbidden`,
|
|
85
|
+
404: `Not Found`,
|
|
86
|
+
500: `Server Error`,
|
|
87
|
+
501: `Server Error`,
|
|
88
|
+
},
|
|
89
|
+
});
|
|
90
|
+
}
|
|
91
|
+
/**
|
|
92
|
+
* @param id
|
|
93
|
+
* @param requestBody
|
|
94
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
95
|
+
* @throws ApiError
|
|
96
|
+
*/
|
|
97
|
+
public putApiProjectSectionServiceProjectSection(
|
|
98
|
+
id?: string,
|
|
99
|
+
requestBody?: UpWithCrowdDemo_ProjectService_ProjectSections_UpdateProjectSectionDto,
|
|
100
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto> {
|
|
101
|
+
return this.httpRequest.request({
|
|
102
|
+
method: 'PUT',
|
|
103
|
+
url: '/api/ProjectSectionService/projectSection',
|
|
104
|
+
query: {
|
|
105
|
+
'id': id,
|
|
106
|
+
},
|
|
107
|
+
body: requestBody,
|
|
108
|
+
mediaType: 'application/json',
|
|
109
|
+
errors: {
|
|
110
|
+
400: `Bad Request`,
|
|
111
|
+
401: `Unauthorized`,
|
|
112
|
+
403: `Forbidden`,
|
|
113
|
+
404: `Not Found`,
|
|
114
|
+
500: `Server Error`,
|
|
115
|
+
501: `Server Error`,
|
|
116
|
+
},
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
/**
|
|
120
|
+
* @param id
|
|
121
|
+
* @returns UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto Success
|
|
122
|
+
* @throws ApiError
|
|
123
|
+
*/
|
|
124
|
+
public getApiProjectSectionServiceProjectSection1(
|
|
125
|
+
id: string,
|
|
126
|
+
): CancelablePromise<UpWithCrowdDemo_ProjectService_ProjectSections_ProjectSectionDto> {
|
|
127
|
+
return this.httpRequest.request({
|
|
128
|
+
method: 'GET',
|
|
129
|
+
url: '/api/ProjectSectionService/projectSection/{id}',
|
|
130
|
+
path: {
|
|
131
|
+
'id': id,
|
|
132
|
+
},
|
|
133
|
+
errors: {
|
|
134
|
+
400: `Bad Request`,
|
|
135
|
+
401: `Unauthorized`,
|
|
136
|
+
403: `Forbidden`,
|
|
137
|
+
404: `Not Found`,
|
|
138
|
+
500: `Server Error`,
|
|
139
|
+
501: `Server Error`,
|
|
140
|
+
},
|
|
141
|
+
});
|
|
142
|
+
}
|
|
143
|
+
}
|