import type * as Whop from "../../../../index.mjs"; /** * @example * { * account_id: "biz_xxxxxxxxxxxxxx", * role: "owner", * user_id: "user_xxxxxxxxxxxxx" * } */ export interface CreateAuthorizedUsersRequest { /** The ID of the company to add the authorized user to. */ account_id: string; /** Re-authentication proof required to perform this sensitive action. */ elevation?: CreateAuthorizedUsersRequest.Elevation | null; /** The role to assign to the authorized user within the company. Supported roles: 'moderator', 'sales_manager'. */ role: Whop.GrantableAuthorizedUserRoles; /** Whether to send notification emails to the user on creation. */ send_emails?: boolean | null; /** The ID of the user to add as an authorized user. */ user_id: string; } export declare namespace CreateAuthorizedUsersRequest { /** * Re-authentication proof required to perform this sensitive action. */ interface Elevation { /** Ignored. Kept so existing API clients that send a passkey assertion keep working. */ authenticator_data?: (string | null) | undefined; /** Ignored. Kept so existing API clients that send a passkey assertion keep working. */ client_data_json?: (string | null) | undefined; /** Ignored. Kept so existing API clients that send a passkey assertion keep working. */ credential_id?: (string | null) | undefined; /** The 6-digit code emailed to the user. */ email_code?: (string | null) | undefined; /** Ignored. Kept so existing API clients that send a passkey assertion keep working. */ signature?: (string | null) | undefined; /** The 6-digit code from the authenticator app or SMS. */ totp_code?: (string | null) | undefined; /** Ignored. Kept so existing API clients that send it keep working. */ use_finance_session?: (boolean | null) | undefined; } }