Shared Types

Node.js SDK - Shared type definitions

ImageContentType

Accepted image/document MIME types for file uploads.

type ImageContentType =
  | 'image/png'
  | 'image/jpeg'
  | 'image/tiff'
  | 'image/webp'
  | 'application/pdf';

Pagination

Pagination metadata from the API.

Prop

Type

PaginatedResponse

Generic paginated response wrapper.

Prop

Type

RateLimitInfo

Rate limit information extracted from API response headers.

Prop

Type

QuotaExceededInfo

Quota exceeded details returned in 429 responses.

Prop

Type

ErrorDetail

Error detail from an API error response.

Prop

Type

On this page