Options
All
  • Public
  • Public/Protected
  • All
Menu

Index

Type aliases

AdminTokenAuth: { adminToken: string; type: "adminToken" }

Type declaration

  • adminToken: string
  • type: "adminToken"
ApiTokenAuth: { apiToken: string | string[]; type: "apiToken" }

Type declaration

  • apiToken: string | string[]
  • type: "apiToken"
Data: <internal>.Params | FormData | any[]
HttpMethod: "get" | "post" | "put" | "delete"
HttpResponse<T>: { data: T; headers: any }

Type parameters

  • T = any

Type declaration

  • data: T
  • headers: any
OAuthTokenAuth: { oAuthToken: string; type: "oAuthToken" }

Type declaration

  • oAuthToken: string
  • type: "oAuthToken"
OmitTypePropertyFromUnion<T>: T extends unknown ? Omit<T, "type"> : never

Type parameters

  • T

Options: { auth?: <internal>.Auth; baseUrl?: string; basicAuth?: BasicAuth; clientCertAuth?: { password: string; pfx: Buffer } | { password: string; pfxFilePath: string }; proxy?: <internal>.ProxyConfig; userAgent?: string }

Type declaration

  • Optional auth?: <internal>.Auth
  • Optional baseUrl?: string
  • Optional basicAuth?: BasicAuth
  • Optional clientCertAuth?: { password: string; pfx: Buffer } | { password: string; pfxFilePath: string }
  • Optional proxy?: <internal>.ProxyConfig
  • Optional userAgent?: string
Params: {}

Type declaration

  • [key: string]: unknown
PasswordAuth: { password: string; type: "password"; username: string }

Type declaration

  • password: string
  • type: "password"
  • username: string
ProxyConfig: { auth?: { password: string; username: string }; host: string; port: number }

Type declaration

  • Optional auth?: { password: string; username: string }
    • password: string
    • username: string
  • host: string
  • port: number
SessionAuth: { type: "session" }

Type declaration

  • type: "session"
commentTargets: "posts" | "sheets" | "journals"

Generated using TypeDoc