import { APIPromise } from './api-promise.js'; import * as Errors from './error.js'; import * as Opts from './internal/request-options.js'; import { type LogLevel, type Logger } from './internal/utils/log.js'; export type { Logger, LogLevel } from './internal/utils/log.js'; import type { RequestInit, RequestInfo, Fetch } from './internal/builtin-types.js'; import { type HeadersLike, type NullableHeaders } from './internal/headers.js'; import type { FinalRequestOptions, RequestOptions } from './internal/request-options.js'; import type { FinalizedRequestInit, MergedRequestInit, PromiseOrValue } from './internal/types.js'; import { toFile } from './core/uploads.js'; import { VideoAssets, type VideoAssetCreateResponse, type VideoAssetUploadResponse, type VideoAssetRetrieveDetailsResponse, type VideoAssetUpdateResponse, type VideoAssetThumbnailSelectResponse, type VideoAssetThumbnailUploadResponse, type VideoAssetCreateUpdateChapterResponse, type VideoAssetListWorkspaceFoldersAndDeprecatedResponse, type VideoAssetListResponse, type VideoAssetDeleteManyResponse, type VideoAssetTagManyResponse, type VideoAssetAnalyticsResponse, type VideoAssetCreateParams, type VideoAssetUploadParams, type VideoAssetUpdateParams, type VideoAssetThumbnailSelectParams, type VideoAssetCreateUpdateChapterParams, type VideoAssetListWorkspaceFoldersAndDeprecatedParams, type VideoAssetListParams, type VideoAssetDeleteManyParams, type VideoAssetTagManyParams, type VideoAssetAnalyticsParams } from './resources/video-assets.js'; import { SubtitleUpload, type SubtitleUploadUploadResponse, type SubtitleUploadCompleteResponse, type SubtitleUploadUploadParams, type SubtitleUploadCompleteParams } from './resources/subtitle-upload.js'; import { AudioUpload, type AudioUploadUploadResponse, type AudioUploadCompleteResponse, type AudioUploadUploadParams, type AudioUploadCompleteParams } from './resources/audio-upload.js'; import { VideoUsageAnalytics, type VideoUsageAnalyticRetrieveResponse, type VideoUsageAnalyticTopAssetsResponse, type VideoUsageAnalyticRetrieveParams, type VideoUsageAnalyticTopAssetsParams } from './resources/video-usage-analytics.js'; import { MultipartUpload, type MultipartUploadRetrievePartURLResponse, type MultipartUploadCompleteResponse, type MultipartUploadAbortResponse, type MultipartUploadListResponse, type MultipartUploadRetrievePartURLParams, type MultipartUploadCompleteParams, type MultipartUploadAbortParams, type MultipartUploadListParams } from './resources/multipart-upload.js'; import { VideoProfiles, type VideoProfileCreateResponse, type VideoProfileListResponse, type VideoProfileUpdateResponse, type VideoProfileRetrieveResponse, type VideoProfileDeleteResponse, type VideoProfileCreateParams, type VideoProfileListParams, type VideoProfileUpdateParams } from './resources/video-profiles.js'; import { VideoPlaylists, type VideoPlaylistCreateResponse, type VideoPlaylistListAllResponse, type VideoPlaylistCreateAssetResponse, type VideoPlaylistDeleteAssetResponse, type VideoPlaylistUpdateResponse, type VideoPlaylistListAssetsResponse, type VideoPlaylistReorderAssetResponse, type VideoPlaylistCreateParams, type VideoPlaylistListAllParams, type VideoPlaylistCreateAssetParams, type VideoPlaylistDeleteAssetParams, type VideoPlaylistUpdateParams, type VideoPlaylistListAssetsParams, type VideoPlaylistReorderAssetParams } from './resources/video-playlists.js'; import { WebhookEndpoints, type WebhookEndpointCreateResponse, type WebhookEndpointListResponse, type WebhookEndpointUpdateResponse, type WebhookEndpointDeleteResponse, type WebhookEndpointHistoryResponse, type WebhookEndpointCreateParams, type WebhookEndpointUpdateParams, type WebhookEndpointHistoryParams } from './resources/webhook-endpoints.js'; import { ImageSources, type ImageSourceCreateResponse, type ImageSourceListResponse, type ImageSourceRetrieveResponse, type ImageSourceUpdateResponse, type ImageSourceDeleteResponse, type ImageSourcePurgeCacheResponse, type ImageSourcePurgeResponse, type ImageSourceCreateParams, type ImageSourceListParams, type ImageSourceUpdateParams, type ImageSourcePurgeCacheParams, type ImageSourcePurgeParams } from './resources/image-sources.js'; import { ImageUsageAnalytics, type ImageUsageAnalyticRetrieveResponse, type ImageUsageAnalyticRetrieveParams } from './resources/image-usage-analytics.js'; import { LiveStreamAssets, type LiveStreamAssetCreateResponse, type LiveStreamAssetUpdateResponse, type LiveStreamAssetRetrieveStatusResponse, type LiveStreamAssetDeleteResponse, type LiveStreamAssetCompleteResponse, type LiveStreamAssetFilterResponse, type LiveStreamAssetUploadResponse, type LiveStreamAssetStatusHistoryResponse, type LiveStreamAssetCreateParams, type LiveStreamAssetUpdateParams, type LiveStreamAssetFilterParams, type LiveStreamAssetUploadParams } from './resources/live-stream-assets.js'; import { RecycleBin, type RecycleBinListResponse, type RecycleBinRecoverParams, type RecycleBinListParams } from './resources/recycle-bin.js'; import { VideoWorkspaces, type VideoWorkspaceListResponse, type VideoWorkspaceCreateResponse, type VideoWorkspaceUpdateResponse, type VideoWorkspaceRetrieveResponse, type VideoWorkspaceDeleteResponse, type VideoWorkspaceListParams, type VideoWorkspaceCreateParams, type VideoWorkspaceUpdateParams } from './resources/video-workspaces.js'; import { Folders, type FolderCreateResponse, type FolderListResponse, type FolderRetrieveResponse, type FolderUpdateResponse, type FolderDeleteResponse, type FolderRemoveAssetsResponse, type FolderCreateParams, type FolderListParams, type FolderRetrieveParams, type FolderUpdateParams, type FolderDeleteParams, type FolderRemoveAssetsParams } from './resources/folders.js'; import { ChannelViewers, type ChannelViewerInviteResponse, type ChannelViewerRemoveResponse, type ChannelViewerInviteCsvResponse, type ChannelViewerListSubscribersResponse, type ChannelViewerInviteParams, type ChannelViewerRemoveParams, type ChannelViewerInviteCsvParams, type ChannelViewerListSubscribersParams } from './resources/channel-viewers.js'; import { VideoAnalytics, type VideoAnalyticViewerDataResponse, type VideoAnalyticBreakdownDataResponse, type VideoAnalyticAggregatedDataResponse, type VideoAnalyticViewerDataParams, type VideoAnalyticBreakdownDataParams, type VideoAnalyticAggregatedDataParams } from './resources/video-analytics.js'; import { OrganizationData, type OrganizationDataFetchOrgResponse } from './resources/organization-data.js'; import { UserData, type UserDataFetchResponse } from './resources/user-data.js'; import { AuditLogs, type AuditLogFetchResponse, type AuditLogFetchParams } from './resources/audit-logs.js'; import { Billing, type BillingListInvoicesResponse, type BillingFetchDetailsResponse, type BillingUpdateDetailsResponse, type BillingFetchUpcomingInvoiceResponse, type BillingListInvoicesParams, type BillingUpdateDetailsParams } from './resources/billing.js'; import { LiveStreamWorkspaces, type LiveStreamWorkspaceListResponse, type LiveStreamWorkspaceCreateResponse, type LiveStreamWorkspaceUpdateResponse, type LiveStreamWorkspaceDeleteResponse, type LiveStreamWorkspaceCreateParams, type LiveStreamWorkspaceUpdateParams } from './resources/live-stream-workspaces.js'; import { LiveStreamAnalytics, type LiveStreamAnalyticUsageResponse, type LiveStreamAnalyticUsageParams } from './resources/live-stream-analytics.js'; import { GlobalSearch, type GlobalSearchSearchResponse, type GlobalSearchSearchParams } from './resources/global-search.js'; import { Webhooks, type VideoAssetStatusWebhookEvent, type LiveVideoStatusWebhookEvent, type ProductEventWebhookEvent, type ParsedWebhookEvent } from './resources/webhooks.js'; export type AuthTokenProvider = () => string | Promise; export interface ClientOptions { /** * The token used for authentication. */ apiKey?: string | AuthTokenProvider | undefined; /** * Secret used to verify incoming webhook signatures. */ webhookSecret?: string | null | undefined; /** * Override the default base URL for the API, e.g., "https://api.example.com/v2/" * * Defaults to process.env["GUMLET_BASE_URL"]. */ baseURL?: string | null | undefined; /** * The maximum amount of time (in milliseconds) that the client should wait for a response * from the server before timing out a single request. * * Note that request timeouts are retried by default, so in a worst-case scenario you may wait * much longer than this timeout before the promise succeeds or fails. * * @unit milliseconds */ timeout?: number | undefined; /** * Additional `RequestInit` options to be passed to `fetch` calls. * Properties will be overridden by per-request `fetchOptions`. */ fetchOptions?: MergedRequestInit | undefined; /** * Specify a custom `fetch` function implementation. * * If not provided, we expect that `fetch` is defined globally. * * The client passes `redirect: 'manual'` and follows redirects itself, dropping credentials when * a redirect leaves the API's origin. A custom `fetch` must honor that option: one that follows * redirects on its own would re-send API keys and cookies to whatever host a redirect names, and * a response it reports as `redirected` is refused for that reason. Every hop of a redirect goes * through this function, so a wrapper that adds a credential itself must add it only for the * API's own origin. A request whose `fetchOptions` set `redirect: 'manual'` gets its 3xx answer * back unfollowed, so a caller can read a signed URL from `Location`; `'error'` is kept too. * * In a browser or a browser worker, which hide a manual redirect's target, a request whose only * credentials are ones the browser itself keeps on the origin (`Authorization`, cookies) is sent * with `redirect: 'follow'`. A request carrying an API key header is not, so a redirect it meets * fails with an `APIConnectionError` rather than handing that key to another host. */ fetch?: Fetch | undefined; /** * The maximum number of times that the client will retry a request in case of a * temporary failure, like a network error or a 5XX error from the server. * * @default 2 */ maxRetries?: number | undefined; /** * Default headers to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * header to `null` in request options. */ defaultHeaders?: HeadersLike | undefined; /** * Default query parameters to include with every request to the API. * * These can be removed in individual requests by explicitly setting the * param to `undefined` in request options. */ defaultQuery?: Record | undefined; /** * Set the log level. * * Defaults to process.env["GUMLET_LOG"] or 'warn' if it isn't set. */ logLevel?: LogLevel | undefined; /** * Set the logger. * * Defaults to globalThis.console. */ logger?: Logger | undefined; } export type GumletOptions = ClientOptions; /** * API Client for interfacing with the Gumlet API. */ export declare class Gumlet { #private; apiKey: string | AuthTokenProvider; webhookSecret: string | null; baseURL: string; maxRetries: number; timeout: number; logger: Logger; logLevel: LogLevel | undefined; fetchOptions: MergedRequestInit | undefined; /** * The `fetch` implementation every request is sent through: the `fetch` client option, or the * platform default. A replacement must honor the same contract as that option. */ fetch: Fetch; protected idempotencyHeader?: string; private _baseURLOverridden; private _defaultBaseURL; private _options; /** * API Client for interfacing with the Gumlet API. * * @param {string | AuthTokenProvider | undefined} [opts.apiKey=process.env["API_KEY"] ?? undefined] * @param {string | null | undefined} [opts.webhookSecret=process.env["GUMLET_WEBHOOK_SECRET"] ?? null] * @param {string} [opts.baseURL=process.env["GUMLET_BASE_URL"] ?? https://api.gumlet.com/v1] - Override the default base URL for the API. * @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out. * @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls. * @param {Fetch} [opts.fetch] - Specify a custom `fetch` function implementation. * @param {number} [opts.maxRetries=2] - The maximum number of times the client will retry a request. * @param {HeadersLike} opts.defaultHeaders - Default headers to include with every request to the API. * @param {Record} opts.defaultQuery - Default query parameters to include with every request to the API. */ constructor({ baseURL, apiKey, webhookSecret, ...opts }?: ClientOptions); withOptions(options: Partial): this; /** * The client as `JSON.stringify` sees it: every credential masked, and the resource accessors, * which point back at the client, left out. */ toJSON(): Record; protected defaultQuery(): Record | undefined; protected stringifyQuery(query: object | Record): string; private getUserAgent; protected defaultIdempotencyKey(): string; protected makeStatusError(status: number, error: object | undefined, message: string | undefined, headers: Headers): Errors.APIError; buildURL(path: string, query: Record | null | undefined, defaultBaseURL?: string | undefined): string; /** * Used as a callback for mutating the given `FinalRequestOptions` object. */ protected prepareOptions(options: FinalRequestOptions): Promise; /** * Used as a callback for mutating the given `RequestInit` object. * * This is useful for cases where you want to add certain headers based off of * the request properties, e.g. `method` or `url`. */ protected prepareRequest(request: RequestInit, { url, options }: { url: string; options: FinalRequestOptions; }): Promise; get(path: string, opts?: PromiseOrValue): APIPromise; post(path: string, opts?: PromiseOrValue): APIPromise; patch(path: string, opts?: PromiseOrValue): APIPromise; put(path: string, opts?: PromiseOrValue): APIPromise; delete(path: string, opts?: PromiseOrValue): APIPromise; private methodRequest; request(options: PromiseOrValue, remainingRetries?: number | null): APIPromise; private makeRequest; /** * Sends one request with a deadline on its response headers, following redirects as the client * does. * * Override it in a subclass to wrap every HTTP request this client sends to its API, retries included; * call `super.fetchWithTimeout` to send, which keeps the client's redirect handling. When a redirect * leaves the origin that drops the client's own credential headers, but a header an override adds * goes on to the redirect target, so a secret belongs in a client option rather than added here. * A client that does not override it skips this method and sends directly. * * The SDK's own deadline aborts `controller` and stays armed until a buffered body is read, so it * cuts off an override that sends through `super` or passes `controller.signal` on; a larger `ms` * passed to `super` cannot extend it, so set the `timeout` option instead. */ fetchWithTimeout(url: RequestInfo, init: RequestInit | undefined, ms: number, controller: AbortController): Promise; private shouldRetry; private retryRequest; private calculateDefaultRetryTimeoutMillis; buildRequest(inputOptions: FinalRequestOptions, { retryCount }?: { retryCount?: number; }): Promise<{ req: FinalizedRequestInit; url: string; timeout: number; }>; private buildHeaders; /** * Runs once for every HTTP request built from the client's headers, at the end of header building, * with the headers it will be sent with: `values` holds them and `nulls` the names the call removed * with a `null`. * Throwing, or rejecting from an `async` override, which is awaited, rejects the request before it * is sent. Does nothing unless a subclass overrides it. * `fetchOptions.headers` and `prepareRequest` are applied afterwards, so the hook does not see them. */ protected validateHeaders({ values, nulls }: NullableHeaders): void; private _makeAbort; private buildBody; protected validateAuth(url: string, headers: Headers, options: FinalRequestOptions): void; authHeadersSync(): Record; webSocketAuthHeaders(): Record; protected authHeaders(opts: FinalRequestOptions): Promise; private authQueryAsync; private authCookiesAsync; private resolveAuthOption; private resolveAuthOptionSync; static Gumlet: typeof Gumlet; static DEFAULT_TIMEOUT: number; static GumletError: typeof Errors.GumletError; static APIError: typeof Errors.APIError; static APIConnectionError: typeof Errors.APIConnectionError; static APIConnectionTimeoutError: typeof Errors.APIConnectionTimeoutError; static APIUserAbortError: typeof Errors.APIUserAbortError; static NotFoundError: typeof Errors.NotFoundError; static ConflictError: typeof Errors.ConflictError; static RateLimitError: typeof Errors.RateLimitError; static BadRequestError: typeof Errors.BadRequestError; static AuthenticationError: typeof Errors.AuthenticationError; static InternalServerError: typeof Errors.InternalServerError; static PermissionDeniedError: typeof Errors.PermissionDeniedError; static UnprocessableEntityError: typeof Errors.UnprocessableEntityError; static toFile: typeof toFile; videoAssets: VideoAssets; subtitleUpload: SubtitleUpload; audioUpload: AudioUpload; videoUsageAnalytics: VideoUsageAnalytics; multipartUpload: MultipartUpload; videoProfiles: VideoProfiles; videoPlaylists: VideoPlaylists; webhookEndpoints: WebhookEndpoints; imageSources: ImageSources; imageUsageAnalytics: ImageUsageAnalytics; liveStreamAssets: LiveStreamAssets; recycleBin: RecycleBin; videoWorkspaces: VideoWorkspaces; folders: Folders; channelViewers: ChannelViewers; videoAnalytics: VideoAnalytics; organizationData: OrganizationData; userData: UserData; auditLogs: AuditLogs; billing: Billing; liveStreamWorkspaces: LiveStreamWorkspaces; liveStreamAnalytics: LiveStreamAnalytics; globalSearch: GlobalSearch; webhooks: Webhooks; } export declare namespace Gumlet { export type RequestOptions = Opts.RequestOptions; export { VideoAssets as VideoAssets, type VideoAssetCreateResponse as VideoAssetCreateResponse, type VideoAssetUploadResponse as VideoAssetUploadResponse, type VideoAssetRetrieveDetailsResponse as VideoAssetRetrieveDetailsResponse, type VideoAssetUpdateResponse as VideoAssetUpdateResponse, type VideoAssetThumbnailSelectResponse as VideoAssetThumbnailSelectResponse, type VideoAssetThumbnailUploadResponse as VideoAssetThumbnailUploadResponse, type VideoAssetCreateUpdateChapterResponse as VideoAssetCreateUpdateChapterResponse, type VideoAssetListWorkspaceFoldersAndDeprecatedResponse as VideoAssetListWorkspaceFoldersAndDeprecatedResponse, type VideoAssetListResponse as VideoAssetListResponse, type VideoAssetDeleteManyResponse as VideoAssetDeleteManyResponse, type VideoAssetTagManyResponse as VideoAssetTagManyResponse, type VideoAssetAnalyticsResponse as VideoAssetAnalyticsResponse, type VideoAssetCreateParams as VideoAssetCreateParams, type VideoAssetUploadParams as VideoAssetUploadParams, type VideoAssetUpdateParams as VideoAssetUpdateParams, type VideoAssetThumbnailSelectParams as VideoAssetThumbnailSelectParams, type VideoAssetCreateUpdateChapterParams as VideoAssetCreateUpdateChapterParams, type VideoAssetListWorkspaceFoldersAndDeprecatedParams as VideoAssetListWorkspaceFoldersAndDeprecatedParams, type VideoAssetListParams as VideoAssetListParams, type VideoAssetDeleteManyParams as VideoAssetDeleteManyParams, type VideoAssetTagManyParams as VideoAssetTagManyParams, type VideoAssetAnalyticsParams as VideoAssetAnalyticsParams, }; export { SubtitleUpload as SubtitleUpload, type SubtitleUploadUploadResponse as SubtitleUploadUploadResponse, type SubtitleUploadCompleteResponse as SubtitleUploadCompleteResponse, type SubtitleUploadUploadParams as SubtitleUploadUploadParams, type SubtitleUploadCompleteParams as SubtitleUploadCompleteParams, }; export { AudioUpload as AudioUpload, type AudioUploadUploadResponse as AudioUploadUploadResponse, type AudioUploadCompleteResponse as AudioUploadCompleteResponse, type AudioUploadUploadParams as AudioUploadUploadParams, type AudioUploadCompleteParams as AudioUploadCompleteParams, }; export { VideoUsageAnalytics as VideoUsageAnalytics, type VideoUsageAnalyticRetrieveResponse as VideoUsageAnalyticRetrieveResponse, type VideoUsageAnalyticTopAssetsResponse as VideoUsageAnalyticTopAssetsResponse, type VideoUsageAnalyticRetrieveParams as VideoUsageAnalyticRetrieveParams, type VideoUsageAnalyticTopAssetsParams as VideoUsageAnalyticTopAssetsParams, }; export { MultipartUpload as MultipartUpload, type MultipartUploadRetrievePartURLResponse as MultipartUploadRetrievePartURLResponse, type MultipartUploadCompleteResponse as MultipartUploadCompleteResponse, type MultipartUploadAbortResponse as MultipartUploadAbortResponse, type MultipartUploadListResponse as MultipartUploadListResponse, type MultipartUploadRetrievePartURLParams as MultipartUploadRetrievePartURLParams, type MultipartUploadCompleteParams as MultipartUploadCompleteParams, type MultipartUploadAbortParams as MultipartUploadAbortParams, type MultipartUploadListParams as MultipartUploadListParams, }; export { VideoProfiles as VideoProfiles, type VideoProfileCreateResponse as VideoProfileCreateResponse, type VideoProfileListResponse as VideoProfileListResponse, type VideoProfileUpdateResponse as VideoProfileUpdateResponse, type VideoProfileRetrieveResponse as VideoProfileRetrieveResponse, type VideoProfileDeleteResponse as VideoProfileDeleteResponse, type VideoProfileCreateParams as VideoProfileCreateParams, type VideoProfileListParams as VideoProfileListParams, type VideoProfileUpdateParams as VideoProfileUpdateParams, }; export { VideoPlaylists as VideoPlaylists, type VideoPlaylistCreateResponse as VideoPlaylistCreateResponse, type VideoPlaylistListAllResponse as VideoPlaylistListAllResponse, type VideoPlaylistCreateAssetResponse as VideoPlaylistCreateAssetResponse, type VideoPlaylistDeleteAssetResponse as VideoPlaylistDeleteAssetResponse, type VideoPlaylistUpdateResponse as VideoPlaylistUpdateResponse, type VideoPlaylistListAssetsResponse as VideoPlaylistListAssetsResponse, type VideoPlaylistReorderAssetResponse as VideoPlaylistReorderAssetResponse, type VideoPlaylistCreateParams as VideoPlaylistCreateParams, type VideoPlaylistListAllParams as VideoPlaylistListAllParams, type VideoPlaylistCreateAssetParams as VideoPlaylistCreateAssetParams, type VideoPlaylistDeleteAssetParams as VideoPlaylistDeleteAssetParams, type VideoPlaylistUpdateParams as VideoPlaylistUpdateParams, type VideoPlaylistListAssetsParams as VideoPlaylistListAssetsParams, type VideoPlaylistReorderAssetParams as VideoPlaylistReorderAssetParams, }; export { WebhookEndpoints as WebhookEndpoints, type WebhookEndpointCreateResponse as WebhookEndpointCreateResponse, type WebhookEndpointListResponse as WebhookEndpointListResponse, type WebhookEndpointUpdateResponse as WebhookEndpointUpdateResponse, type WebhookEndpointDeleteResponse as WebhookEndpointDeleteResponse, type WebhookEndpointHistoryResponse as WebhookEndpointHistoryResponse, type WebhookEndpointCreateParams as WebhookEndpointCreateParams, type WebhookEndpointUpdateParams as WebhookEndpointUpdateParams, type WebhookEndpointHistoryParams as WebhookEndpointHistoryParams, }; export { ImageSources as ImageSources, type ImageSourceCreateResponse as ImageSourceCreateResponse, type ImageSourceListResponse as ImageSourceListResponse, type ImageSourceRetrieveResponse as ImageSourceRetrieveResponse, type ImageSourceUpdateResponse as ImageSourceUpdateResponse, type ImageSourceDeleteResponse as ImageSourceDeleteResponse, type ImageSourcePurgeCacheResponse as ImageSourcePurgeCacheResponse, type ImageSourcePurgeResponse as ImageSourcePurgeResponse, type ImageSourceCreateParams as ImageSourceCreateParams, type ImageSourceListParams as ImageSourceListParams, type ImageSourceUpdateParams as ImageSourceUpdateParams, type ImageSourcePurgeCacheParams as ImageSourcePurgeCacheParams, type ImageSourcePurgeParams as ImageSourcePurgeParams, }; export { ImageUsageAnalytics as ImageUsageAnalytics, type ImageUsageAnalyticRetrieveResponse as ImageUsageAnalyticRetrieveResponse, type ImageUsageAnalyticRetrieveParams as ImageUsageAnalyticRetrieveParams, }; export { LiveStreamAssets as LiveStreamAssets, type LiveStreamAssetCreateResponse as LiveStreamAssetCreateResponse, type LiveStreamAssetUpdateResponse as LiveStreamAssetUpdateResponse, type LiveStreamAssetRetrieveStatusResponse as LiveStreamAssetRetrieveStatusResponse, type LiveStreamAssetDeleteResponse as LiveStreamAssetDeleteResponse, type LiveStreamAssetCompleteResponse as LiveStreamAssetCompleteResponse, type LiveStreamAssetFilterResponse as LiveStreamAssetFilterResponse, type LiveStreamAssetUploadResponse as LiveStreamAssetUploadResponse, type LiveStreamAssetStatusHistoryResponse as LiveStreamAssetStatusHistoryResponse, type LiveStreamAssetCreateParams as LiveStreamAssetCreateParams, type LiveStreamAssetUpdateParams as LiveStreamAssetUpdateParams, type LiveStreamAssetFilterParams as LiveStreamAssetFilterParams, type LiveStreamAssetUploadParams as LiveStreamAssetUploadParams, }; export { RecycleBin as RecycleBin, type RecycleBinListResponse as RecycleBinListResponse, type RecycleBinRecoverParams as RecycleBinRecoverParams, type RecycleBinListParams as RecycleBinListParams, }; export { VideoWorkspaces as VideoWorkspaces, type VideoWorkspaceListResponse as VideoWorkspaceListResponse, type VideoWorkspaceCreateResponse as VideoWorkspaceCreateResponse, type VideoWorkspaceUpdateResponse as VideoWorkspaceUpdateResponse, type VideoWorkspaceRetrieveResponse as VideoWorkspaceRetrieveResponse, type VideoWorkspaceDeleteResponse as VideoWorkspaceDeleteResponse, type VideoWorkspaceListParams as VideoWorkspaceListParams, type VideoWorkspaceCreateParams as VideoWorkspaceCreateParams, type VideoWorkspaceUpdateParams as VideoWorkspaceUpdateParams, }; export { Folders as Folders, type FolderCreateResponse as FolderCreateResponse, type FolderListResponse as FolderListResponse, type FolderRetrieveResponse as FolderRetrieveResponse, type FolderUpdateResponse as FolderUpdateResponse, type FolderDeleteResponse as FolderDeleteResponse, type FolderRemoveAssetsResponse as FolderRemoveAssetsResponse, type FolderCreateParams as FolderCreateParams, type FolderListParams as FolderListParams, type FolderRetrieveParams as FolderRetrieveParams, type FolderUpdateParams as FolderUpdateParams, type FolderDeleteParams as FolderDeleteParams, type FolderRemoveAssetsParams as FolderRemoveAssetsParams, }; export { ChannelViewers as ChannelViewers, type ChannelViewerInviteResponse as ChannelViewerInviteResponse, type ChannelViewerRemoveResponse as ChannelViewerRemoveResponse, type ChannelViewerInviteCsvResponse as ChannelViewerInviteCsvResponse, type ChannelViewerListSubscribersResponse as ChannelViewerListSubscribersResponse, type ChannelViewerInviteParams as ChannelViewerInviteParams, type ChannelViewerRemoveParams as ChannelViewerRemoveParams, type ChannelViewerInviteCsvParams as ChannelViewerInviteCsvParams, type ChannelViewerListSubscribersParams as ChannelViewerListSubscribersParams, }; export { VideoAnalytics as VideoAnalytics, type VideoAnalyticViewerDataResponse as VideoAnalyticViewerDataResponse, type VideoAnalyticBreakdownDataResponse as VideoAnalyticBreakdownDataResponse, type VideoAnalyticAggregatedDataResponse as VideoAnalyticAggregatedDataResponse, type VideoAnalyticViewerDataParams as VideoAnalyticViewerDataParams, type VideoAnalyticBreakdownDataParams as VideoAnalyticBreakdownDataParams, type VideoAnalyticAggregatedDataParams as VideoAnalyticAggregatedDataParams, }; export { OrganizationData as OrganizationData, type OrganizationDataFetchOrgResponse as OrganizationDataFetchOrgResponse, }; export { UserData as UserData, type UserDataFetchResponse as UserDataFetchResponse }; export { AuditLogs as AuditLogs, type AuditLogFetchResponse as AuditLogFetchResponse, type AuditLogFetchParams as AuditLogFetchParams, }; export { Billing as Billing, type BillingListInvoicesResponse as BillingListInvoicesResponse, type BillingFetchDetailsResponse as BillingFetchDetailsResponse, type BillingUpdateDetailsResponse as BillingUpdateDetailsResponse, type BillingFetchUpcomingInvoiceResponse as BillingFetchUpcomingInvoiceResponse, type BillingListInvoicesParams as BillingListInvoicesParams, type BillingUpdateDetailsParams as BillingUpdateDetailsParams, }; export { LiveStreamWorkspaces as LiveStreamWorkspaces, type LiveStreamWorkspaceListResponse as LiveStreamWorkspaceListResponse, type LiveStreamWorkspaceCreateResponse as LiveStreamWorkspaceCreateResponse, type LiveStreamWorkspaceUpdateResponse as LiveStreamWorkspaceUpdateResponse, type LiveStreamWorkspaceDeleteResponse as LiveStreamWorkspaceDeleteResponse, type LiveStreamWorkspaceCreateParams as LiveStreamWorkspaceCreateParams, type LiveStreamWorkspaceUpdateParams as LiveStreamWorkspaceUpdateParams, }; export { LiveStreamAnalytics as LiveStreamAnalytics, type LiveStreamAnalyticUsageResponse as LiveStreamAnalyticUsageResponse, type LiveStreamAnalyticUsageParams as LiveStreamAnalyticUsageParams, }; export { GlobalSearch as GlobalSearch, type GlobalSearchSearchResponse as GlobalSearchSearchResponse, type GlobalSearchSearchParams as GlobalSearchSearchParams, }; export { Webhooks as Webhooks, type VideoAssetStatusWebhookEvent as VideoAssetStatusWebhookEvent, type LiveVideoStatusWebhookEvent as LiveVideoStatusWebhookEvent, type ProductEventWebhookEvent as ProductEventWebhookEvent, type ParsedWebhookEvent as ParsedWebhookEvent, }; } //# sourceMappingURL=client.d.ts.map