// Auto-generated types for Authentication — do not edit export interface Oauth2AccessTokenParams { app_id: string; secret: string; auth_code: string; return_advertiser_ids?: "true" | "false"; } export interface Oauth2AccessTokenResponse { code?: number; message?: string; request_id?: string; data?: { access_token?: string; advertiser_ids?: string[]; scope?: number[]; }; } export interface Oauth2RevokeTokenParams { app_id: string; secret: string; access_token: string; } export interface Oauth2RevokeTokenResponse { code?: number; message?: string; request_id?: string; data?: { app_id?: string; advertiser_ids?: string[]; }; } export interface TtUserOauth2TokenParams { client_id: string; client_secret: string; grant_type: string; auth_code: string; redirect_uri: string; } export interface TtUserOauth2TokenResponse { code?: number; message?: string; request_id?: string; data?: { access_token?: string; token_type?: string; scope?: string; expires_in?: number; refresh_token?: string; refresh_token_expires_in?: number; open_id?: string; }; } export interface TtUserOauth2RefreshTokenParams { client_id: string; client_secret: string; grant_type: string; refresh_token: string; } export interface TtUserOauth2RefreshTokenResponse { code?: number; message?: string; data?: Record; request_id?: string; access_token?: string; token_type?: string; scope?: string; expires_in?: number; refresh_token?: string; refresh_token_expires_in?: number; open_id?: string; } export interface TtUserOauth2RevokeParams {} export interface TtUserOauth2RevokeResponse {}