diff --git a/dictation_client/codegen.sh b/dictation_client/codegen.sh
index 5d09ae3..d165c0c 100644
--- a/dictation_client/codegen.sh
+++ b/dictation_client/codegen.sh
@@ -1,2 +1,2 @@
-npx openapi-generator-cli version-manager set latest
+npx openapi-generator-cli version-manager set 7.1.0
npx openapi-generator-cli generate -g typescript-axios -i /app/dictation_server/src/api/odms/openapi.json -o /app/dictation_client/src/api/
diff --git a/dictation_client/src/api/api.ts b/dictation_client/src/api/api.ts
index 1c1ac87..645f058 100644
--- a/dictation_client/src/api/api.ts
+++ b/dictation_client/src/api/api.ts
@@ -1549,12 +1549,6 @@ export interface PostUpdateUserRequest {
* @memberof PostUpdateUserRequest
*/
'autoRenew': boolean;
- /**
- *
- * @type {boolean}
- * @memberof PostUpdateUserRequest
- */
- 'licenseAlart': boolean;
/**
*
* @type {boolean}
@@ -1660,12 +1654,6 @@ export interface SignupRequest {
* @memberof SignupRequest
*/
'autoRenew': boolean;
- /**
- *
- * @type {boolean}
- * @memberof SignupRequest
- */
- 'licenseAlert': boolean;
/**
*
* @type {boolean}
@@ -2212,12 +2200,6 @@ export interface User {
* @memberof User
*/
'autoRenew': boolean;
- /**
- *
- * @type {boolean}
- * @memberof User
- */
- 'licenseAlert': boolean;
/**
*
* @type {boolean}
diff --git a/dictation_client/src/features/user/operations.ts b/dictation_client/src/features/user/operations.ts
index f02e38c..b7ca2b0 100644
--- a/dictation_client/src/features/user/operations.ts
+++ b/dictation_client/src/features/user/operations.ts
@@ -164,7 +164,6 @@ export const updateUserAsync = createAsyncThunk<
encryptionPassword,
prompt,
autoRenew: updateUser.autoRenew,
- licenseAlart: updateUser.licenseAlert,
notification: updateUser.notification,
},
{
diff --git a/dictation_client/src/features/user/selectors.ts b/dictation_client/src/features/user/selectors.ts
index e1e3cf1..ee1f3fa 100644
--- a/dictation_client/src/features/user/selectors.ts
+++ b/dictation_client/src/features/user/selectors.ts
@@ -131,8 +131,6 @@ export const selectAuthorId = (state: RootState) =>
state.user.apps.addUser.authorId;
export const selectAutoRenew = (state: RootState) =>
state.user.apps.addUser.autoRenew;
-export const selectLicenseAlert = (state: RootState) =>
- state.user.apps.addUser.licenseAlert;
export const selectNotification = (state: RootState) =>
state.user.apps.addUser.notification;
// AddUserを返却する
diff --git a/dictation_client/src/features/user/types.ts b/dictation_client/src/features/user/types.ts
index 7f41187..649b63f 100644
--- a/dictation_client/src/features/user/types.ts
+++ b/dictation_client/src/features/user/types.ts
@@ -16,7 +16,6 @@ export interface UserView
encryption: boolean | string;
emailVerified: boolean;
autoRenew: boolean;
- licenseAlert: boolean;
notification: boolean;
name: string;
email: string;
@@ -28,7 +27,6 @@ export interface AddUser {
role: RoleType;
email: string;
autoRenew: boolean;
- licenseAlert: boolean;
notification: boolean;
authorId?: string;
encryption?: boolean;
@@ -46,7 +44,6 @@ export interface UpdateUser {
encryptionPassword?: string | undefined;
prompt?: boolean | undefined;
autoRenew: boolean;
- licenseAlert: boolean;
notification: boolean;
}
diff --git a/dictation_client/src/features/user/userSlice.ts b/dictation_client/src/features/user/userSlice.ts
index 52ffbc4..ef0589a 100644
--- a/dictation_client/src/features/user/userSlice.ts
+++ b/dictation_client/src/features/user/userSlice.ts
@@ -23,7 +23,6 @@ const initialState: UsersState = {
encryptionPassword: undefined,
prompt: undefined,
autoRenew: true,
- licenseAlert: true,
notification: true,
},
selectedUser: {
@@ -36,7 +35,6 @@ const initialState: UsersState = {
encryptionPassword: undefined,
prompt: undefined,
autoRenew: true,
- licenseAlert: true,
notification: true,
},
addUser: {
@@ -44,7 +42,6 @@ const initialState: UsersState = {
role: USER_ROLES.NONE,
email: "",
autoRenew: true,
- licenseAlert: true,
notification: true,
authorId: undefined,
encryption: false,
@@ -93,13 +90,6 @@ export const userSlice = createSlice({
const { autoRenew } = action.payload;
state.apps.addUser.autoRenew = autoRenew;
},
- changeLicenseAlert: (
- state,
- action: PayloadAction<{ licenseAlert: boolean }>
- ) => {
- const { licenseAlert } = action.payload;
- state.apps.addUser.licenseAlert = licenseAlert;
- },
changeEncryption: (
state,
action: PayloadAction<{ encryption: boolean }>
@@ -149,7 +139,6 @@ export const userSlice = createSlice({
state.apps.updateUser.encryptionPassword = undefined;
state.apps.updateUser.prompt = user.prompt;
state.apps.updateUser.autoRenew = user.autoRenew;
- state.apps.updateUser.licenseAlert = user.licenseAlert;
state.apps.updateUser.notification = user.notification;
state.apps.selectedUser.id = user.id;
@@ -161,7 +150,6 @@ export const userSlice = createSlice({
state.apps.selectedUser.encryptionPassword = undefined;
state.apps.selectedUser.prompt = user.prompt;
state.apps.selectedUser.autoRenew = user.autoRenew;
- state.apps.selectedUser.licenseAlert = user.licenseAlert;
state.apps.selectedUser.notification = user.notification;
state.apps.hasPasswordMask = user.encryption;
@@ -211,13 +199,6 @@ export const userSlice = createSlice({
const { autoRenew } = action.payload;
state.apps.updateUser.autoRenew = autoRenew;
},
- changeUpdateLicenseAlert: (
- state,
- action: PayloadAction<{ licenseAlert: boolean }>
- ) => {
- const { licenseAlert } = action.payload;
- state.apps.updateUser.licenseAlert = licenseAlert;
- },
changeUpdateNotification: (
state,
action: PayloadAction<{ notification: boolean }>
@@ -318,7 +299,6 @@ export const {
changeRole,
changeAuthorId,
changeAutoRenew,
- changeLicenseAlert,
changeNotification,
cleanupAddUser,
changeUpdateUser,
@@ -328,7 +308,6 @@ export const {
changeUpdateEncryptionPassword,
changeUpdatePrompt,
changeUpdateAutoRenew,
- changeUpdateLicenseAlert,
changeUpdateNotification,
cleanupUpdateUser,
changeEncryption,
diff --git a/dictation_client/src/pages/UserListPage/index.tsx b/dictation_client/src/pages/UserListPage/index.tsx
index 46f1223..a1de616 100644
--- a/dictation_client/src/pages/UserListPage/index.tsx
+++ b/dictation_client/src/pages/UserListPage/index.tsx
@@ -174,9 +174,6 @@ const UserListPage: React.FC = (): JSX.Element => {
= (props) => {
{t(getTranslationID("userListPage.label.autoRenew"))}
-
-
-
-
-
-