@runloop/remote-agents-sdk
    Preparing search index...

    Type Alias LoginAccountResponse

    LoginAccountResponse:
        | { type: "apiKey" }
        | { authUrl: string; loginId: string; type: "chatgpt" }
        | {
            loginId: string;
            type: "chatgptDeviceCode";
            userCode: string;
            verificationUrl: string;
        }
        | { type: "chatgptAuthTokens" }

    Type Declaration

    • { type: "apiKey" }
    • { authUrl: string; loginId: string; type: "chatgpt" }
      • authUrl: string

        URL the client should open in a browser to initiate the OAuth flow.

      • loginId: string
      • type: "chatgpt"
    • {
          loginId: string;
          type: "chatgptDeviceCode";
          userCode: string;
          verificationUrl: string;
      }
      • loginId: string
      • type: "chatgptDeviceCode"
      • userCode: string

        One-time code the user must enter after signing in.

      • verificationUrl: string

        URL the client should open in a browser to complete device code authorization.

    • { type: "chatgptAuthTokens" }