"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const variables = require("../../lib/variables.cjs");
const useSingleTenantMutation = require("../../lib/useSingleTenantMutation.cjs");
const CHANGE_PASSWORD_MUTATION = `
	changeMyPassword(
		currentPassword: $currentPassword,
		newPassword: $newPassword
	) {
		ok
		error {
			code
			developerMessage
		}
	}
`;
const changePasswordVariables = {
  currentPassword: variables.GQLVariable.Required(variables.GQLVariable.String),
  newPassword: variables.GQLVariable.Required(variables.GQLVariable.String)
};
const useChangePassword = () => {
  return useSingleTenantMutation.useSingleTenantMutation(
    CHANGE_PASSWORD_MUTATION,
    changePasswordVariables
  );
};
exports.useChangePassword = useChangePassword;
//# sourceMappingURL=changePasswords.cjs.map
