IGPAPI
    Preparing search index...

    Function challengeDispatchNavigation

    • Dispatch navigation challenges.

      Each step_name has its own Schema + screen factory. If none match → NavigationUnimplementedScreen.

      Parameters

      • state: {
            bloks_action: string;
            challenge_context: string;
            cni: string | number;
            flow_render_type: 3;
        }

      Returns Effect<
          | NavigationSubmitPhoneScreen
          | NavigationVerifyCodeScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "verify_code";
              },
          >
          | NavigationVerifyCodeScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "verify_email";
              },
          >
          | NavigationVerifyCodeScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "verify_email_code";
              },
          >
          | NavigationVerifyCodeScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "verify_sms_code";
              },
          >
          | NavigationSelectVerifyMethodScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "select_contact_point_recovery";
              },
          >
          | NavigationSelectVerifyMethodScreen<
              {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
              } & {
                  bloks_action: string;
                  challenge_context: string;
                  cni: string
                  | number;
                  flow_render_type: 3;
                  step_name: "select_verify_method";
              },
          >
          | NavigationDeltaAcknowledgeApprovedScreen
          | NavigationDeltaLoginReviewScreen
          | NavigationEscalationScreen
          | NavigationReviewContactPointChangeScreen
          | NavigationScrapingWarningScreen
          | NavigationSetNewPasswordScreen
          | NavigationAddBirthdayScreen
          | NavigationUnimplementedScreen,
          never,
          | PlainJsonApiHttp
          | MobileSession
          | MobileDevice
          | BloksHttp
          | MobileApplication,
      >