Function useNavigationService
- useNavigationService(): {
changeLanguage: (
language: string,
) => Promise<WebApiResponse<MtpCommonResponse>>;
changePreviewDate: (
previewDate?: string,
) => Promise<WebApiResponse<MtpCommonResponse>>;
changeRole: (role: string) => Promise<WebApiResponse<MtpCommonResponse>>;
deleteImpersonationPermission: (
selectedList: string[],
) => Promise<
WebApiResponse<{ error?: string } & ImpersonationPermitListResponse>,
>;
disableTimeBasedVerification: () => Promise<
WebApiResponse<MtpCommonResponse>,
>;
fetchAbout: () => Promise<WebApiResponse<{ notice: string[] }>>;
fullTextSearch: (
param: FullTextSearchParameter,
) => Promise<WebApiResponse<FullTextSearchResponse>>;
generatePersonalAccessToken: (
description: string,
) => Promise<WebApiResponse<{ error?: string; token: string }>>;
getApplicationMaintenanceStatus: () => Promise<
WebApiResponse<ApplicationMaintenanceStatusResponse>,
>;
getImpersonationPermitList: () => Promise<
WebApiResponse<ImpersonationPermitListResponse>,
>;
getImpersonationTargetList: () => Promise<
WebApiResponse<ImpersonationTargetResponse>,
>;
getPreviewDate: () => Promise<WebApiResponse<{ previewDate?: string }>>;
getTimeBasedSetUpInformation: () => Promise<
WebApiResponse<TimeBasedSetUpInformationResponse>,
>;
getTwoStepVerificationSettingStatus: () => Promise<
WebApiResponse<
{ twoStepVerificationSettingStatus: TwoStepVerificationSettingStatus },
>,
>;
getUserMaintenanceItem: () => Promise<
WebApiResponse<UserMaintenanceItemResponse>,
>;
impersonationLogin: (
targetId: string,
) => Promise<WebApiResponse<{ error?: string }>>;
impersonationLogout: () => Promise<WebApiResponse<MtpCommonResponse>>;
insertImpersonationPermission: (
param: UpdateImpersonationPermissionParameter,
) => Promise<WebApiResponse<ImpersonationPermitListResponse>>;
loadDefinition: (
definitionName?: string,
) => Promise<
ViewInitializationDataResponse<
NavigationDefinition,
NavigationAdditionalResponse,
>,
>;
revokeToken: (
param: RevokeTokenParameter,
) => Promise<WebApiResponse<{ error?: string }>>;
setUpTimeBasedVerification: (
code: string,
) => Promise<WebApiResponse<{ error?: string }>>;
updateAvailableTwoStepVerification: (
isAvailableTwoStepVerification: boolean,
) => Promise<WebApiResponse<{ error?: string }>>;
updateImpersonationPermission: (
param: UpdateImpersonationPermissionParameter,
) => Promise<WebApiResponse<ImpersonationPermitListResponse>>;
updatePassword: (
param: {
confirmPassword: string;
newPassword: string;
password: string;
},
) => Promise<WebApiResponse<{ error?: string }>>;
} deleteImpersonationPermission: (
selectedList: string[],
) => Promise<
WebApiResponse<{ error?: string } & ImpersonationPermitListResponse>,
>
fetchAbout: () => Promise<WebApiResponse<{ notice: string[] }>>
generatePersonalAccessToken: (
description: string,
) => Promise<WebApiResponse<{ error?: string; token: string }>>
getPreviewDate: () => Promise<WebApiResponse<{ previewDate?: string }>>
getTwoStepVerificationSettingStatus: () => Promise<
WebApiResponse<
{ twoStepVerificationSettingStatus: TwoStepVerificationSettingStatus },
>,
>
impersonationLogin: (targetId: string) => Promise<WebApiResponse<{ error?: string }>>
setUpTimeBasedVerification: (code: string) => Promise<WebApiResponse<{ error?: string }>>
updateAvailableTwoStepVerification: (
isAvailableTwoStepVerification: boolean,
) => Promise<WebApiResponse<{ error?: string }>>
updatePassword: (
param: {
confirmPassword: string;
newPassword: string;
password: string;
},
) => Promise<WebApiResponse<{ error?: string }>>
NavigationのAPIを取り扱うロジックを生成します。