IGPAPI
    Preparing search index...

    Function AccountRecoveryBloksResendCode

    • Internal

      "Get a new code" on the last-resort-recovery code-entry screen: the same code_entry_async endpoint with the screen's resend action, whose server_params carry is_resend_code. client_input_params echoes only the flow's aac (the recorded 451 call).

      The recorded answer carries the body's top-level status: ok, an empty enter-code error slot and an action: the server accepted the request and sent a new code, and the call returns undefined. A rejection writes the same error slot the submission uses and is reported with its server text; a login (should the server answer with a session) wins, as on the submission — the session is applied, the post-login mark is written and the profile is returned; any other shape is the flow's unknown-response error.

      Internal helper of the account-recovery screens.

      Returns Effect<
          | {
              logged_in_user: {
                  full_name?: string
                  | null;
                  is_private?: boolean | null;
                  is_verified?: boolean | null;
                  pk: number;
                  pk_id: string;
                  profile_pic_url?: string | null;
                  username: string;
              };
              status?: string;
              trusted_device_nonce?: string;
          }
          | undefined,
          | LoginBloksParseError
          | BloksHttpError
          | AccountRecoveryBloksUnknownResponseError
          | AccountRecoveryBloksInvalidCodeError,
          | MobileSession
          | MobileDevice
          | MobileApplication
          | SessionHeaderParser
          | BloksHttp,
      >