"use strict";
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const variables = require("../../lib/variables.cjs");
const useSingleTenantMutation = require("../../lib/useSingleTenantMutation.cjs");
const CONFIRM_OTP_MUTATION = `
confirmOtp(otpToken: $token) {
	ok
	error {
		code
		developerMessage
	}
}
`;
const confirmOtpVariables = {
  token: variables.GQLVariable.Required(variables.GQLVariable.String)
};
const useConfirmOtp = () => {
  return useSingleTenantMutation.useSingleTenantMutation(
    CONFIRM_OTP_MUTATION,
    confirmOtpVariables
  );
};
exports.useConfirmOtp = useConfirmOtp;
//# sourceMappingURL=confirmOtp.cjs.map
