diff --git a/changelog.md b/changelog.md index 9a959de5..c70b6f01 100644 --- a/changelog.md +++ b/changelog.md @@ -1,3 +1,7 @@ +# 1.3.1 + +- Improved the work of constructing links to private videos for vimeo embed + # 1.3.0 > [!CAUTION] diff --git a/dist/client.d.ts.map b/dist/client.d.ts.map index 874df50f..da2d76d7 100644 --- a/dist/client.d.ts.map +++ b/dist/client.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,SAAS,EACT,cAAc,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EAEzB,aAAa,EACd,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAuB,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAe3E,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IAMrB,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,cAAc,EAAE,oBAAoB,CAAC;IAGrC,QAAQ,EAAE,WAAW,CAAM;IAG3B,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAE3B,SAAS,EAAE,MAAM,CAAoB;IACrC,gBAAgB,EAAE,MAAM,CAA2B;IAEnD,KAAK;;;;;;MAMH;IAMF,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAUlC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAY7B;IAKF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAKhC;gBAEU,EACV,IAAkB,EAClB,OAAwB,EACxB,OAA0B,EAC1B,SAAc,EACd,cAA6B,EAC7B,WAAkB,EAClB,YAAmB,EACnB,OAAY,GACb,GAAE,OAAY;IAgBf,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;;;;;;;IAgBrD,OAAO,CACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAChB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC;IAwBpB,UAAU,CAAC,CAAC,GAAG,OAAO,EAC1B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EACtB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAwBvB,UAAU,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;cAkB/C,oBAAoB,CAAC,EACnC,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,eAAsB,EACtB,OAAY,GACb,EAAE,oBAAoB,GAAG,OAAO,CAAC,wBAAwB,CAAC;cAuF3C,qBAAqB,CAAC,EACpC,GAAG,EACH,OAAO,EACP,OAAO,EACP,WAA8B,EAC9B,YAAgC,EAChC,OAAY,GACb,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAmDxD,cAAc,CAAC,EACnB,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,eAAsB,EACtB,OAAY,GACb,EAAE,oBAAoB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAwBrD,YAAY,CAAC,EACjB,SAAS,EACT,WAA8B,EAC9B,OAAY,GACb,EAAE,kBAAkB;IA4Bf,UAAU,CAAC,EAAE,MAAM,EAAE,OAAY,EAAE,EAAE,iBAAiB;IAuBtD,eAAe,CAAC,EACpB,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,OAAY,GACb,EAAE,qBAAqB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IA0DvD,aAAa,CAAC,MAAM,EAAE,aAAa;;;;;CAqB1C;AAED,qBAAa,eAAgB,SAAQ,SAAS;IACtC,OAAO,CACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAChB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC;CA+B3B"} \ No newline at end of file +{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["../src/client.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EACV,OAAO,EACP,aAAa,EACb,oBAAoB,EACpB,aAAa,EACb,WAAW,EACX,SAAS,EACT,cAAc,EACf,MAAM,gBAAgB,CAAC;AACxB,OAAO,KAAK,EACV,oBAAoB,EACpB,wBAAwB,EACxB,WAAW,EACX,YAAY,EACZ,kBAAkB,EAClB,iBAAiB,EACjB,qBAAqB,EACrB,yBAAyB,EAEzB,aAAa,EACd,MAAM,gBAAgB,CAAC;AAIxB,OAAO,EAAuB,uBAAuB,EAAE,MAAM,aAAa,CAAC;AAkB3E,MAAM,CAAC,OAAO,OAAO,SAAS;IAC5B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAEhB,MAAM,EAAE,SAAS,CAAC;IAClB,SAAS,EAAE,SAAS,CAAC;IAMrB,KAAK,EAAE,aAAa,CAAC;IACrB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;IACnC,cAAc,EAAE,oBAAoB,CAAC;IAGrC,QAAQ,EAAE,WAAW,CAAM;IAG3B,WAAW,EAAE,WAAW,CAAC;IACzB,YAAY,EAAE,YAAY,CAAC;IAE3B,SAAS,EAAE,MAAM,CAAoB;IACrC,gBAAgB,EAAE,MAAM,CAA2B;IAEnD,KAAK;;;;;;MAMH;IAMF,YAAY,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO;IAUlC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAY7B;IAKF,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAKhC;gBAEU,EACV,IAAkB,EAClB,OAAwB,EACxB,OAA0B,EAC1B,SAAc,EACd,cAA6B,EAC7B,WAAkB,EAClB,YAAmB,EACnB,OAAY,GACb,GAAE,OAAY;IAgBf,OAAO,CAAC,IAAI,EAAE,OAAO,EAAE,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM;;;;;;;IAgBrD,OAAO,CACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAChB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC;IAwBpB,UAAU,CAAC,CAAC,GAAG,OAAO,EAC1B,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,WAAW,CAAC,GAAG,CAAC,EACtB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC,CAAC,CAAC,CAAC;IAwBvB,UAAU,CAAC,MAAM,EAAE,aAAa,GAAG,OAAO,CAAC,aAAa,CAAC;cAkB/C,oBAAoB,CAAC,EACnC,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,eAAsB,EACtB,OAAY,GACb,EAAE,oBAAoB,GAAG,OAAO,CAAC,wBAAwB,CAAC;cAuF3C,qBAAqB,CAAC,EACpC,GAAG,EACH,OAAO,EACP,OAAO,EACP,WAA8B,EAC9B,YAAgC,EAChC,OAAY,GACb,EAAE,uBAAuB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAmDxD,cAAc,CAAC,EACnB,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,eAAsB,EACtB,OAAY,GACb,EAAE,oBAAoB,GAAG,OAAO,CAAC,wBAAwB,CAAC;IAwBrD,YAAY,CAAC,EACjB,SAAS,EACT,WAA8B,EAC9B,OAAY,GACb,EAAE,kBAAkB;IA4Bf,UAAU,CAAC,EAAE,MAAM,EAAE,OAAY,EAAE,EAAE,iBAAiB;IAuBtD,eAAe,CAAC,EACpB,SAAS,EACT,WAA8B,EAC9B,YAAgC,EAChC,OAAY,GACb,EAAE,qBAAqB,GAAG,OAAO,CAAC,yBAAyB,CAAC;IA0DvD,aAAa,CAAC,MAAM,EAAE,aAAa;;;;;CAqB1C;AAED,qBAAa,eAAgB,SAAQ,SAAS;IACtC,OAAO,CACX,IAAI,EAAE,MAAM,EACZ,IAAI,EAAE,UAAU,EAChB,OAAO,GAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAM,GACnC,OAAO,CAAC,cAAc,CAAC;CA+B3B"} \ No newline at end of file diff --git a/dist/helpers/vimeo.d.ts.map b/dist/helpers/vimeo.d.ts.map index 476f023b..0abf373d 100644 --- a/dist/helpers/vimeo.d.ts.map +++ b/dist/helpers/vimeo.d.ts.map @@ -1 +1 @@ -{"version":3,"file":"vimeo.d.ts","sourceRoot":"","sources":["../../src/helpers/vimeo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAqB,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAoB,MAAM,QAAQ,CAAC;AAItD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;IACjD,OAAO,SAAM;IACb,mBAAmB,SAAuB;IAC1C,WAAW,SAEkB;IAE7B,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAG,IAAI,IAAI,KAAK,CAAC,KAAK;IAIlD,eAAe;IAIT,aAAa;IAiBb,YAAY,CAAC,OAAO,EAAE,MAAM;IA6B5B,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,YAAY;IA6C/C,mBAAmB,CAAC,OAAO,EAAE,MAAM;;;;;;;IAiDnC,WAAW,CAAC,OAAO,EAAE,MAAM;IA8B3B,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAuFpE,UAAU,CAAC,GAAG,EAAE,GAAG;CAU1B"} \ No newline at end of file +{"version":3,"file":"vimeo.d.ts","sourceRoot":"","sources":["../../src/helpers/vimeo.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,gBAAgB,EAAqB,MAAM,iBAAiB,CAAC;AACtE,OAAO,KAAK,KAAK,MAAM,wBAAwB,CAAC;AAChD,OAAO,EAAE,UAAU,EAAoB,MAAM,QAAQ,CAAC;AAItD,MAAM,CAAC,OAAO,OAAO,WAAY,SAAQ,UAAU;IACjD,OAAO,SAAM;IACb,mBAAmB,SAAuB;IAC1C,WAAW,SAEkB;IAE7B,WAAW,CAAC,IAAI,EAAE,KAAK,CAAC,IAAI,GAAG,IAAI,IAAI,KAAK,CAAC,KAAK;IAIlD,eAAe;IAIT,aAAa;IAiBb,YAAY,CAAC,OAAO,EAAE,MAAM;IA6B5B,qBAAqB,CAAC,KAAK,EAAE,KAAK,CAAC,YAAY;IAmD/C,mBAAmB,CAAC,OAAO,EAAE,MAAM;;;;;;;IAiDnC,WAAW,CAAC,OAAO,EAAE,MAAM;IA8B3B,YAAY,CAAC,OAAO,EAAE,MAAM,GAAG,OAAO,CAAC,gBAAgB,GAAG,SAAS,CAAC;IAuFpE,UAAU,CAAC,GAAG,EAAE,GAAG;CAU1B"} \ No newline at end of file diff --git a/dist/helpers/vimeo.js b/dist/helpers/vimeo.js index e8b0a2ae..941b0ca8 100644 --- a/dist/helpers/vimeo.js +++ b/dist/helpers/vimeo.js @@ -60,9 +60,15 @@ export default class VimeoHelper extends BaseHelper { const baseUrl = new URL(cdnUrl); const pathLength = Array.from(data.base_url.matchAll(/\.\.\//g)).length + 1; const pathFragments = baseUrl.pathname.split("/"); - baseUrl.pathname = pathFragments - .slice(0, pathFragments.length - pathLength) - .join("/"); + let extraPath = data.base_url.replaceAll("../", ""); + extraPath = + extraPath && !extraPath.startsWith("/") ? `/${extraPath}` : extraPath; + baseUrl.pathname = + pathFragments.slice(0, pathFragments.length - pathLength).join("/") + + extraPath; + if (!baseUrl.pathname.endsWith("/")) { + baseUrl.pathname += "/"; + } const videoData = data.audio.find((v) => v.mime_type === "audio/mp4" && v.format === "dash"); if (!videoData) { throw new VideoHelperError("Failed to find video data"); @@ -72,9 +78,9 @@ export default class VimeoHelper extends BaseHelper { throw new VideoHelperError("Failed to find first segment url"); } const [videoName, videoParams] = segmentUrl.split("?", 2); - baseUrl.pathname += `/${videoData.base_url}${videoName}`; const params = new URLSearchParams(videoParams); params.delete("range"); + baseUrl.pathname += `${videoData.base_url}${videoName}`; baseUrl.href = baseUrl.href.split("?")[0] + "?" + params.toString(); return baseUrl.href; } diff --git a/docs/classes/VOTClient.html b/docs/classes/VOTClient.html index 11a06d1c..59d8bb33 100644 --- a/docs/classes/VOTClient.html +++ b/docs/classes/VOTClient.html @@ -1,4 +1,4 @@ -VOTClient | vot.js

Class VOTClient

Hierarchy (view full)

Constructors

constructor +VOTClient | vot.js

Class VOTClient

Hierarchy (view full)

Constructors

Properties

componentVersion: string = config.componentVersion

If you don't want to use the classic fetch

+

Constructors

Properties

componentVersion: string = config.componentVersion

If you don't want to use the classic fetch


import { ofetch } from "ofetch";
import VOTClient from "../dist/client";
import { getVideoData } from "../dist/utils/videoData";

// https://github.com/unjs/ofetch
const client = new VOTClient({
fetchFn: ofetch.native,
});

const videoData = await getVideoData("https://youtu.be/LK6nLR1bzpI");
const response = await client.translateVideo({
videoData,
});
-
fetchOpts: Record<string, unknown>
getVideoDataFn: GetVideoDataFunction
headers: Record<string, string> = ...

Headers for interacting with Yandex API

-
headersVOT: Record<string, string> = ...

Headers for interacting with VOT Backend API

-
host: string
hostVOT: string
paths: {
    createSession: string;
    streamPing: string;
    streamTranslation: string;
    videoSubtitles: string;
    videoTranslation: string;
} = ...
requestLang:
    | "auto"
    | "ru"
    | "en"
    | "zh"
    | "ko"
    | "lt"
    | "lv"
    | "ar"
    | "fr"
    | "it"
    | "es"
    | "de"
    | "ja"
responseLang: "ru" | "en" | "kk"
schema: URLSchema
schemaVOT: URLSchema
sessions: VOTSessions = {}
userAgent: string = config.userAgent

Methods

  • Parameters

    Returns Promise<{
        expires: number;
        secretKey: string;
        uuid: string;
    }>

  • Parameters

    • body: unknown
    • headers: Record<string, string> = {}

    Returns {
        body: unknown;
        headers: {};
        method: string;
    }

    • body: unknown
    • headers: {}
      • method: string

    • const client = new VOTClient();
      const url = "https://youtu.be/LK6nLR1bzpI";
      });

      console.log(response);

      // subs
      const subs = await client.getSubtitles({
      videoData,
      requestLang: "ru",
      }); +
    fetchOpts: Record<string, unknown>
    getVideoDataFn: GetVideoDataFunction
    headers: Record<string, string> = ...

    Headers for interacting with Yandex API

    +
    headersVOT: Record<string, string> = ...

    Headers for interacting with VOT Backend API

    +
    host: string
    hostVOT: string
    paths: {
        createSession: string;
        streamPing: string;
        streamTranslation: string;
        videoSubtitles: string;
        videoTranslation: string;
    } = ...
    requestLang:
        | "auto"
        | "ru"
        | "en"
        | "zh"
        | "ko"
        | "lt"
        | "lv"
        | "ar"
        | "fr"
        | "it"
        | "es"
        | "de"
        | "ja"
    responseLang: "ru" | "en" | "kk"
    schema: URLSchema
    schemaVOT: URLSchema
    sessions: VOTSessions = {}
    userAgent: string = config.userAgent

    Methods

    • Parameters

      Returns Promise<{
          expires: number;
          secretKey: string;
          uuid: string;
      }>

    • Parameters

      • body: unknown
      • headers: Record<string, string> = {}

      Returns {
          body: unknown;
          headers: {};
          method: string;
      }

      • body: unknown
      • headers: {}
        • method: string
      • Media with this format use VOT Backend API Not all video files in .mpd format are currently supported!

        -

        Parameters

        • url: string

        Returns boolean


      • import { getVideoData } from "../dist/utils/videoData";

        const client = new VOTClient();
        const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

        let response: StreamTranslationResponse;
        let inter: Timer;

        function isAbortedWaitingStream(
        response: StreamTranslationResponse,
        ): response is WaitingStreamTranslationResponse {
        return !!(response as WaitingStreamTranslationResponse).message;
        }

        const fn = async () => {
        response = await client.translateStream({
        videoData,
        requestLang: "en",
        responseLang: "ru",
        });

        console.log(response);
        clearTimeout(inter);
        if (!response.translated && response.interval === 10) {
        inter = setTimeout(fn, 10000);
        return;
        }

        if (isAbortedWaitingStream(response)) {
        console.log(`Stream translation aborted! Message: ${response.message}`);
        return;
        }

        await client.pingStream({
        pingId: response.pingId,
        });

        console.log(`Success! URL: ${response.result.url}`); +

        Parameters

        • url: string

        Returns boolean


      • import { getVideoData } from "../dist/utils/videoData";

        const client = new VOTClient();
        const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

        let response: StreamTranslationResponse;
        let inter: Timer;

        function isAbortedWaitingStream(
        response: StreamTranslationResponse,
        ): response is WaitingStreamTranslationResponse {
        return !!(response as WaitingStreamTranslationResponse).message;
        }

        const fn = async () => {
        response = await client.translateStream({
        videoData,
        requestLang: "en",
        responseLang: "ru",
        });

        console.log(response);
        clearTimeout(inter);
        if (!response.translated && response.interval === 10) {
        inter = setTimeout(fn, 10000);
        return;
        }

        if (isAbortedWaitingStream(response)) {
        console.log(`Stream translation aborted! Message: ${response.message}`);
        return;
        }

        await client.pingStream({
        pingId: response.pingId,
        });

        console.log(`Success! URL: ${response.result.url}`);
        -

        Parameters

        Returns Promise<boolean>

      • The standard method for requesting the Yandex API, if necessary, you can override how it is done in the example

        +

        Parameters

        Returns Promise<boolean>

      • The standard method for requesting the Yandex API, if necessary, you can override how it is done in the example


        import { getVideoData } from "../dist/utils/videoData";

        // https://github.com/axios/axios
        const client = new (class AxiosVOTClient extends VOTClient {
        async request(
        path: string,
        body: Uint8Array,
        headers: Record<string, string> = {},
        ): Promise<ClientResponse> {
        try {
        const res = await axios({
        url: `https://${this.host}${path}`,
        method: "POST",
        headers: {
        ...this.headers,
        ...headers,
        },
        data: body,
        responseType: "arraybuffer",
        ...this.fetchOpts,
        });
        return {
        success: res.status === 200,
        data: res.data as ClientResponse,
        };
        } catch (err: unknown) {
        return {
        success: false,
        data: (err as Error)?.message,
        };
        }
        }
        })();

        const videoData = await getVideoData("https://youtu.be/LK6nLR1bzpI");
        const response = await client.translateVideo({
        videoData,
        });
        -

        Parameters

        • path: string
        • body: Uint8Array
        • headers: Record<string, string> = {}

        Returns Promise<ClientResponse>

      • The standard method for requesting the VOT Backend API

        -

        Type Parameters

        • T = unknown

        Parameters

        • path: string
        • body: any
        • headers: Record<string, string> = {}

        Returns Promise<ClientResponse<T>>


      • import { getVideoData } from "../dist/utils/videoData";

        const client = new VOTClient();
        const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

        let response: StreamTranslationResponse;
        let inter: Timer;

        function isAbortedWaitingStream(
        response: StreamTranslationResponse,
        ): response is WaitingStreamTranslationResponse {
        return !!(response as WaitingStreamTranslationResponse).message;
        }

        const fn = async () => {
        response = await client.translateStream({
        videoData,
        requestLang: "en",
        responseLang: "ru",
        });

        console.log(response);
        clearTimeout(inter);
        if (!response.translated && response.interval === 10) {
        inter = setTimeout(fn, 10000);
        return;
        }

        if (isAbortedWaitingStream(response)) {
        console.log(`Stream translation aborted! Message: ${response.message}`);
        return;
        }

        await client.pingStream({
        pingId: response.pingId,
        });

        console.log(`Success! URL: ${response.result.url}`); +

        Parameters

        • path: string
        • body: Uint8Array
        • headers: Record<string, string> = {}

        Returns Promise<ClientResponse>

      • The standard method for requesting the VOT Backend API

        +

        Type Parameters

        • T = unknown

        Parameters

        • path: string
        • body: any
        • headers: Record<string, string> = {}

        Returns Promise<ClientResponse<T>>


      • import { getVideoData } from "../dist/utils/videoData";

        const client = new VOTClient();
        const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

        let response: StreamTranslationResponse;
        let inter: Timer;

        function isAbortedWaitingStream(
        response: StreamTranslationResponse,
        ): response is WaitingStreamTranslationResponse {
        return !!(response as WaitingStreamTranslationResponse).message;
        }

        const fn = async () => {
        response = await client.translateStream({
        videoData,
        requestLang: "en",
        responseLang: "ru",
        });

        console.log(response);
        clearTimeout(inter);
        if (!response.translated && response.interval === 10) {
        inter = setTimeout(fn, 10000);
        return;
        }

        if (isAbortedWaitingStream(response)) {
        console.log(`Stream translation aborted! Message: ${response.message}`);
        return;
        }

        await client.pingStream({
        pingId: response.pingId,
        });

        console.log(`Success! URL: ${response.result.url}`);
        -

        Parameters

        Returns Promise<VOTTypes.YandexType.StreamTranslationResponse>


      • const client = new VOTClient();
        const url = "https://youtu.be/LK6nLR1bzpI";
        const videoData = await getVideoData(url);

        // only link
        let response = await client.translateVideo({
        videoData,
        });

        console.log(response);

        const videoDataTransHelp = await getVideoData("https://s3.toil.cc/vot/video");

        // link + translationHelp (just for example, this is an unsupported domain)
        response = await client.translateVideo({
        videoData: videoDataTransHelp,
        translationHelp: [
        {
        target: "subtitles_file_url",
        targetUrl: "https://s3.toil.cc/vot/subs.vtt",
        },
        {
        target: "video_file_url",
        targetUrl: "https://s3.toil.cc/vot/video.mp4",
        },
        requestLang: "ru",
        });

        console.log(subs);

        // translate weverse
        const videoDataWeverse = await getVideoData(
        "https://weverse.io/redvelvet/media/4-139332911",
        );

        response = await client.translateVideo({ +

        Parameters

        Returns Promise<VOTTypes.YandexType.StreamTranslationResponse>


      • const client = new VOTClient();
        const url = "https://youtu.be/LK6nLR1bzpI";
        const videoData = await getVideoData(url);

        // only link
        let response = await client.translateVideo({
        videoData,
        });

        console.log(response);

        const videoDataTransHelp = await getVideoData("https://s3.toil.cc/vot/video");

        // link + translationHelp (just for example, this is an unsupported domain)
        response = await client.translateVideo({
        videoData: videoDataTransHelp,
        translationHelp: [
        {
        target: "subtitles_file_url",
        targetUrl: "https://s3.toil.cc/vot/subs.vtt",
        },
        {
        target: "video_file_url",
        targetUrl: "https://s3.toil.cc/vot/video.mp4",
        },
        requestLang: "ru",
        });

        console.log(subs);

        // translate weverse
        const videoDataWeverse = await getVideoData(
        "https://weverse.io/redvelvet/media/4-139332911",
        );

        response = await client.translateVideo({
        -

        Parameters

        Returns Promise<VOTTypes.YandexType.VideoTranslationResponse>

      +

      Parameters

      Returns Promise<VOTTypes.YandexType.VideoTranslationResponse>

      diff --git a/docs/classes/VOTWorkerClient.html b/docs/classes/VOTWorkerClient.html index 3671edfe..f65c53da 100644 --- a/docs/classes/VOTWorkerClient.html +++ b/docs/classes/VOTWorkerClient.html @@ -1,4 +1,4 @@ -VOTWorkerClient | vot.js

      Class VOTWorkerClient

      Hierarchy (view full)

      Constructors

      constructor +VOTWorkerClient | vot.js

      Class VOTWorkerClient

      Hierarchy (view full)

      Constructors

      Properties

      componentVersion: string = config.componentVersion

      If you don't want to use the classic fetch

      +

      Constructors

      Properties

      componentVersion: string = config.componentVersion

      If you don't want to use the classic fetch


      import { ofetch } from "ofetch";
      import VOTClient from "../dist/client";
      import { getVideoData } from "../dist/utils/videoData";

      // https://github.com/unjs/ofetch
      const client = new VOTClient({
      fetchFn: ofetch.native,
      });

      const videoData = await getVideoData("https://youtu.be/LK6nLR1bzpI");
      const response = await client.translateVideo({
      videoData,
      });
      -
      fetchOpts: Record<string, unknown>
      getVideoDataFn: GetVideoDataFunction
      headers: Record<string, string> = ...

      Headers for interacting with Yandex API

      -
      headersVOT: Record<string, string> = ...

      Headers for interacting with VOT Backend API

      -
      host: string
      hostVOT: string
      paths: {
          createSession: string;
          streamPing: string;
          streamTranslation: string;
          videoSubtitles: string;
          videoTranslation: string;
      } = ...
      requestLang:
          | "auto"
          | "ru"
          | "en"
          | "zh"
          | "ko"
          | "lt"
          | "lv"
          | "ar"
          | "fr"
          | "it"
          | "es"
          | "de"
          | "ja"
      responseLang: "ru" | "en" | "kk"
      schema: URLSchema
      schemaVOT: URLSchema
      sessions: VOTSessions = {}
      userAgent: string = config.userAgent

      Methods

      • Parameters

        Returns Promise<{
            expires: number;
            secretKey: string;
            uuid: string;
        }>

      • Parameters

        • body: unknown
        • headers: Record<string, string> = {}

        Returns {
            body: unknown;
            headers: {};
            method: string;
        }

        • body: unknown
        • headers: {}
          • method: string
        fetchOpts: Record<string, unknown>
        getVideoDataFn: GetVideoDataFunction
        headers: Record<string, string> = ...

        Headers for interacting with Yandex API

        +
        headersVOT: Record<string, string> = ...

        Headers for interacting with VOT Backend API

        +
        host: string
        hostVOT: string
        paths: {
            createSession: string;
            streamPing: string;
            streamTranslation: string;
            videoSubtitles: string;
            videoTranslation: string;
        } = ...
        requestLang:
            | "auto"
            | "ru"
            | "en"
            | "zh"
            | "ko"
            | "lt"
            | "lv"
            | "ar"
            | "fr"
            | "it"
            | "es"
            | "de"
            | "ja"
        responseLang: "ru" | "en" | "kk"
        schema: URLSchema
        schemaVOT: URLSchema
        sessions: VOTSessions = {}
        userAgent: string = config.userAgent

        Methods

        • Parameters

          Returns Promise<{
              expires: number;
              secretKey: string;
              uuid: string;
          }>

        • Parameters

          • body: unknown
          • headers: Record<string, string> = {}

          Returns {
              body: unknown;
              headers: {};
              method: string;
          }

          • body: unknown
          • headers: {}
            • method: string
          • Media with this format use VOT Backend API Not all video files in .mpd format are currently supported!

            -

            Parameters

            • url: string

            Returns boolean


          • import { getVideoData } from "../dist/utils/videoData";

            const client = new VOTClient();
            const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

            let response: StreamTranslationResponse;
            let inter: Timer;

            function isAbortedWaitingStream(
            response: StreamTranslationResponse,
            ): response is WaitingStreamTranslationResponse {
            return !!(response as WaitingStreamTranslationResponse).message;
            }

            const fn = async () => {
            response = await client.translateStream({
            videoData,
            requestLang: "en",
            responseLang: "ru",
            });

            console.log(response);
            clearTimeout(inter);
            if (!response.translated && response.interval === 10) {
            inter = setTimeout(fn, 10000);
            return;
            }

            if (isAbortedWaitingStream(response)) {
            console.log(`Stream translation aborted! Message: ${response.message}`);
            return;
            }

            await client.pingStream({
            pingId: response.pingId,
            });

            console.log(`Success! URL: ${response.result.url}`); +

            Parameters

            • url: string

            Returns boolean


          • import { getVideoData } from "../dist/utils/videoData";

            const client = new VOTClient();
            const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

            let response: StreamTranslationResponse;
            let inter: Timer;

            function isAbortedWaitingStream(
            response: StreamTranslationResponse,
            ): response is WaitingStreamTranslationResponse {
            return !!(response as WaitingStreamTranslationResponse).message;
            }

            const fn = async () => {
            response = await client.translateStream({
            videoData,
            requestLang: "en",
            responseLang: "ru",
            });

            console.log(response);
            clearTimeout(inter);
            if (!response.translated && response.interval === 10) {
            inter = setTimeout(fn, 10000);
            return;
            }

            if (isAbortedWaitingStream(response)) {
            console.log(`Stream translation aborted! Message: ${response.message}`);
            return;
            }

            await client.pingStream({
            pingId: response.pingId,
            });

            console.log(`Success! URL: ${response.result.url}`);
            -

            Parameters

            Returns Promise<boolean>

          • The standard method for requesting the Yandex API, if necessary, you can override how it is done in the example


            import { getVideoData } from "../dist/utils/videoData";

            // https://github.com/axios/axios
            const client = new (class AxiosVOTClient extends VOTClient {
            async request(
            path: string,
            body: Uint8Array,
            headers: Record<string, string> = {},
            ): Promise<ClientResponse> {
            try {
            const res = await axios({
            url: `https://${this.host}${path}`,
            method: "POST",
            headers: {
            ...this.headers,
            ...headers,
            },
            data: body,
            responseType: "arraybuffer",
            ...this.fetchOpts,
            });
            return {
            success: res.status === 200,
            data: res.data as ClientResponse,
            };
            } catch (err: unknown) {
            return {
            success: false,
            data: (err as Error)?.message,
            };
            }
            }
            })();

            const videoData = await getVideoData("https://youtu.be/LK6nLR1bzpI");
            const response = await client.translateVideo({
            videoData,
            });
            -

            Parameters

            • path: string
            • body: Uint8Array
            • headers: Record<string, string> = {}

            Returns Promise<ClientResponse>


          • import { getVideoData } from "../dist/utils/videoData";

            const client = new VOTClient();
            const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

            let response: StreamTranslationResponse;
            let inter: Timer;

            function isAbortedWaitingStream(
            response: StreamTranslationResponse,
            ): response is WaitingStreamTranslationResponse {
            return !!(response as WaitingStreamTranslationResponse).message;
            }

            const fn = async () => {
            response = await client.translateStream({
            videoData,
            requestLang: "en",
            responseLang: "ru",
            });

            console.log(response);
            clearTimeout(inter);
            if (!response.translated && response.interval === 10) {
            inter = setTimeout(fn, 10000);
            return;
            }

            if (isAbortedWaitingStream(response)) {
            console.log(`Stream translation aborted! Message: ${response.message}`);
            return;
            }

            await client.pingStream({
            pingId: response.pingId,
            });

            console.log(`Success! URL: ${response.result.url}`); +

            Parameters

            • path: string
            • body: Uint8Array
            • headers: Record<string, string> = {}

            Returns Promise<ClientResponse>


          • import { getVideoData } from "../dist/utils/videoData";

            const client = new VOTClient();
            const videoData = await getVideoData("https://youtu.be/nA9UZF-SZoQ");

            let response: StreamTranslationResponse;
            let inter: Timer;

            function isAbortedWaitingStream(
            response: StreamTranslationResponse,
            ): response is WaitingStreamTranslationResponse {
            return !!(response as WaitingStreamTranslationResponse).message;
            }

            const fn = async () => {
            response = await client.translateStream({
            videoData,
            requestLang: "en",
            responseLang: "ru",
            });

            console.log(response);
            clearTimeout(inter);
            if (!response.translated && response.interval === 10) {
            inter = setTimeout(fn, 10000);
            return;
            }

            if (isAbortedWaitingStream(response)) {
            console.log(`Stream translation aborted! Message: ${response.message}`);
            return;
            }

            await client.pingStream({
            pingId: response.pingId,
            });

            console.log(`Success! URL: ${response.result.url}`);
            -

            Parameters

            Returns Promise<VOTTypes.YandexType.StreamTranslationResponse>


          • const client = new VOTClient();
            const url = "https://youtu.be/LK6nLR1bzpI";
            const videoData = await getVideoData(url);

            // only link
            let response = await client.translateVideo({
            videoData,
            });

            console.log(response);

            const videoDataTransHelp = await getVideoData("https://s3.toil.cc/vot/video");

            // link + translationHelp (just for example, this is an unsupported domain)
            response = await client.translateVideo({
            videoData: videoDataTransHelp,
            translationHelp: [
            {
            target: "subtitles_file_url",
            targetUrl: "https://s3.toil.cc/vot/subs.vtt",
            },
            {
            target: "video_file_url",
            targetUrl: "https://s3.toil.cc/vot/video.mp4",
            },
            requestLang: "ru",
            });

            console.log(subs);

            // translate weverse
            const videoDataWeverse = await getVideoData(
            "https://weverse.io/redvelvet/media/4-139332911",
            );

            response = await client.translateVideo({ +

            Parameters

            Returns Promise<VOTTypes.YandexType.StreamTranslationResponse>


          • const client = new VOTClient();
            const url = "https://youtu.be/LK6nLR1bzpI";
            const videoData = await getVideoData(url);

            // only link
            let response = await client.translateVideo({
            videoData,
            });

            console.log(response);

            const videoDataTransHelp = await getVideoData("https://s3.toil.cc/vot/video");

            // link + translationHelp (just for example, this is an unsupported domain)
            response = await client.translateVideo({
            videoData: videoDataTransHelp,
            translationHelp: [
            {
            target: "subtitles_file_url",
            targetUrl: "https://s3.toil.cc/vot/subs.vtt",
            },
            {
            target: "video_file_url",
            targetUrl: "https://s3.toil.cc/vot/video.mp4",
            },
            requestLang: "ru",
            });

            console.log(subs);

            // translate weverse
            const videoDataWeverse = await getVideoData(
            "https://weverse.io/redvelvet/media/4-139332911",
            );

            response = await client.translateVideo({
            -

            Parameters

            Returns Promise<VOTTypes.YandexType.VideoTranslationResponse>

          +

          Parameters

          Returns Promise<VOTTypes.YandexType.VideoTranslationResponse>

          diff --git a/docs/classes/VideoHelper.AppleDeveloperHelper.AppleDeveloperHelper.html b/docs/classes/VideoHelper.AppleDeveloperHelper.AppleDeveloperHelper.html index 7ac8925c..199b1f97 100644 --- a/docs/classes/VideoHelper.AppleDeveloperHelper.AppleDeveloperHelper.html +++ b/docs/classes/VideoHelper.AppleDeveloperHelper.AppleDeveloperHelper.html @@ -1,4 +1,4 @@ -AppleDeveloperHelper | vot.js

          Hierarchy

          • BaseHelper
            • AppleDeveloperHelper

          Constructors

          constructor +AppleDeveloperHelper | vot.js

          Hierarchy

          • BaseHelper
            • AppleDeveloperHelper

          Constructors

          Properties

          API_ORIGIN extraInfo fetch @@ -7,4 +7,4 @@

          Methods

          Constructors

          Properties

          API_ORIGIN: string = "https://developer.apple.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://developer.apple.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.BannedVideoHelper.BannedVideoHelper.html b/docs/classes/VideoHelper.BannedVideoHelper.BannedVideoHelper.html index 7764f7b2..68521670 100644 --- a/docs/classes/VideoHelper.BannedVideoHelper.BannedVideoHelper.html +++ b/docs/classes/VideoHelper.BannedVideoHelper.BannedVideoHelper.html @@ -1,4 +1,4 @@ -BannedVideoHelper | vot.js

          Hierarchy

          • BaseHelper
            • BannedVideoHelper

          Constructors

          constructor +BannedVideoHelper | vot.js

          Hierarchy

          • BaseHelper
            • BannedVideoHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://api.banned.video"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://api.banned.video"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.CoursehunterHelper.CoursehunterHelper.html b/docs/classes/VideoHelper.CoursehunterHelper.CoursehunterHelper.html index fbc929a7..fa48946f 100644 --- a/docs/classes/VideoHelper.CoursehunterHelper.CoursehunterHelper.html +++ b/docs/classes/VideoHelper.CoursehunterHelper.CoursehunterHelper.html @@ -1,4 +1,4 @@ -CoursehunterHelper | vot.js

          Hierarchy

          • BaseHelper
            • CoursehunterHelper

          Constructors

          constructor +CoursehunterHelper | vot.js

          Hierarchy

          • BaseHelper
            • CoursehunterHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://coursehunter.net"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • videoId: string

            Returns Promise<undefined | string | false>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://coursehunter.net"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • videoId: string

            Returns Promise<undefined | string | false>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.EpicGamesHelper.EpicGamesHelper.html b/docs/classes/VideoHelper.EpicGamesHelper.EpicGamesHelper.html index 140206c7..0c6c4efd 100644 --- a/docs/classes/VideoHelper.EpicGamesHelper.EpicGamesHelper.html +++ b/docs/classes/VideoHelper.EpicGamesHelper.EpicGamesHelper.html @@ -1,4 +1,4 @@ -EpicGamesHelper | vot.js

          Hierarchy

          • BaseHelper
            • EpicGamesHelper

          Constructors

          constructor +EpicGamesHelper | vot.js

          Hierarchy

          • BaseHelper
            • EpicGamesHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://dev.epicgames.com/community/api/learning"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://dev.epicgames.com/community/api/learning"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.KickHelper.KickHelper.html b/docs/classes/VideoHelper.KickHelper.KickHelper.html index 513cdf9a..32b4d43c 100644 --- a/docs/classes/VideoHelper.KickHelper.KickHelper.html +++ b/docs/classes/VideoHelper.KickHelper.KickHelper.html @@ -1,4 +1,4 @@ -KickHelper | vot.js

          Hierarchy

          • BaseHelper
            • KickHelper

          Constructors

          constructor +KickHelper | vot.js

          Hierarchy

          • BaseHelper
            • KickHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://kick.com/api"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://kick.com/api"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.KodikHelper.KodikHelper.html b/docs/classes/VideoHelper.KodikHelper.KodikHelper.html index 91bcaab4..11387957 100644 --- a/docs/classes/VideoHelper.KodikHelper.KodikHelper.html +++ b/docs/classes/VideoHelper.KodikHelper.KodikHelper.html @@ -1,4 +1,4 @@ -KodikHelper | vot.js

          Hierarchy

          • BaseHelper
            • KodikHelper

          Constructors

          constructor +KodikHelper | vot.js

          Hierarchy

          • BaseHelper
            • KodikHelper

          Constructors

          Properties

          Constructors

          Properties

          API_ORIGIN: string = "https://kodik.biz"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • encryptedUrl: string

            Returns string

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://kodik.biz"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • encryptedUrl: string

            Returns string

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.LinkedinHelper.LinkedinHelper.html b/docs/classes/VideoHelper.LinkedinHelper.LinkedinHelper.html index 8c3c0918..fd23d27f 100644 --- a/docs/classes/VideoHelper.LinkedinHelper.LinkedinHelper.html +++ b/docs/classes/VideoHelper.LinkedinHelper.LinkedinHelper.html @@ -1,4 +1,4 @@ -LinkedinHelper | vot.js

          Hierarchy

          • BaseHelper
            • LinkedinHelper

          Constructors

          constructor +LinkedinHelper | vot.js

          Hierarchy

          • BaseHelper
            • LinkedinHelper

          Constructors

          Properties

          API_ORIGIN extraInfo fetch @@ -7,4 +7,4 @@

          Methods

          Constructors

          Properties

          API_ORIGIN: string = "https://www.linkedin.com/learning"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://www.linkedin.com/learning"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.MailRuHelper.MailRuHelper.html b/docs/classes/VideoHelper.MailRuHelper.MailRuHelper.html index e30c1d1c..09bbc2c5 100644 --- a/docs/classes/VideoHelper.MailRuHelper.MailRuHelper.html +++ b/docs/classes/VideoHelper.MailRuHelper.MailRuHelper.html @@ -1,4 +1,4 @@ -MailRuHelper | vot.js

          Hierarchy

          • BaseHelper
            • MailRuHelper

          Constructors

          constructor +MailRuHelper | vot.js

          Hierarchy

          • BaseHelper
            • MailRuHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://my.mail.ru"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://my.mail.ru"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.NineAnimeTVHelper.NineAnimeTVHelper.html b/docs/classes/VideoHelper.NineAnimeTVHelper.NineAnimeTVHelper.html index 9661b0d1..079860f4 100644 --- a/docs/classes/VideoHelper.NineAnimeTVHelper.NineAnimeTVHelper.html +++ b/docs/classes/VideoHelper.NineAnimeTVHelper.NineAnimeTVHelper.html @@ -1,4 +1,4 @@ -NineAnimeTVHelper | vot.js

          Hierarchy

          • BaseHelper
            • NineAnimeTVHelper

          Constructors

          constructor +NineAnimeTVHelper | vot.js

          Hierarchy

          • BaseHelper
            • NineAnimeTVHelper

          Constructors

          Properties

          Constructors

          Properties

          API_ORIGIN: string = "https://9animetv.to/ajax/episode"
          extraInfo: boolean
          RAPID_CLOUD_ORIGIN: string = "https://rapid-cloud.co/ajax/embed-6-v2"
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • sourceId: string | number

            Returns Promise<string | false>

          • Parameters

            • episodeId: string | number

            Returns Promise<undefined | string | false>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://9animetv.to/ajax/episode"
          extraInfo: boolean
          RAPID_CLOUD_ORIGIN: string = "https://rapid-cloud.co/ajax/embed-6-v2"
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • sourceId: string | number

            Returns Promise<string | false>

          • Parameters

            • episodeId: string | number

            Returns Promise<undefined | string | false>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.OdyseeHelper.OdyseeHelper.html b/docs/classes/VideoHelper.OdyseeHelper.OdyseeHelper.html index e97a1ffe..5b9c4e1f 100644 --- a/docs/classes/VideoHelper.OdyseeHelper.OdyseeHelper.html +++ b/docs/classes/VideoHelper.OdyseeHelper.OdyseeHelper.html @@ -1,4 +1,4 @@ -OdyseeHelper | vot.js

          Hierarchy

          • BaseHelper
            • OdyseeHelper

          Constructors

          constructor +OdyseeHelper | vot.js

          Hierarchy

          • BaseHelper
            • OdyseeHelper

          Constructors

          Properties

          API_ORIGIN extraInfo fetch @@ -7,4 +7,4 @@

          Methods

          Constructors

          Properties

          API_ORIGIN: string = "https://odysee.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://odysee.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.PatreonHelper.PatreonHelper.html b/docs/classes/VideoHelper.PatreonHelper.PatreonHelper.html index db72eb20..947a263b 100644 --- a/docs/classes/VideoHelper.PatreonHelper.PatreonHelper.html +++ b/docs/classes/VideoHelper.PatreonHelper.PatreonHelper.html @@ -1,4 +1,4 @@ -PatreonHelper | vot.js

          Hierarchy

          • BaseHelper
            • PatreonHelper

          Constructors

          constructor +PatreonHelper | vot.js

          Hierarchy

          • BaseHelper
            • PatreonHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://www.patreon.com/api"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://www.patreon.com/api"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.RedditHelper.RedditHelper.html b/docs/classes/VideoHelper.RedditHelper.RedditHelper.html index 183f4a67..38f68648 100644 --- a/docs/classes/VideoHelper.RedditHelper.RedditHelper.html +++ b/docs/classes/VideoHelper.RedditHelper.RedditHelper.html @@ -1,4 +1,4 @@ -RedditHelper | vot.js

          Hierarchy

          • BaseHelper
            • RedditHelper

          Constructors

          constructor +RedditHelper | vot.js

          Hierarchy

          • BaseHelper
            • RedditHelper

          Constructors

          Properties

          API_ORIGIN extraInfo fetch @@ -7,4 +7,4 @@

          Methods

          Constructors

          Properties

          API_ORIGIN: string = "https://www.reddit.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://www.reddit.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.SapHelper.SapHelper.html b/docs/classes/VideoHelper.SapHelper.SapHelper.html index 74c15aa3..63cf7b22 100644 --- a/docs/classes/VideoHelper.SapHelper.SapHelper.html +++ b/docs/classes/VideoHelper.SapHelper.SapHelper.html @@ -1,4 +1,4 @@ -SapHelper | vot.js

          Hierarchy

          • BaseHelper
            • SapHelper

          Constructors

          constructor +SapHelper | vot.js

          Hierarchy

          • BaseHelper
            • SapHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://learning.sap.com/"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • kalturaDomain: string
            • partnerId: string | number
            • entryId: string

            Returns Promise<undefined | Response>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://learning.sap.com/"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • kalturaDomain: string
            • partnerId: string | number
            • entryId: string

            Returns Promise<undefined | Response>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.TwitchHelper.TwitchHelper.html b/docs/classes/VideoHelper.TwitchHelper.TwitchHelper.html index 718a1761..96962baa 100644 --- a/docs/classes/VideoHelper.TwitchHelper.TwitchHelper.html +++ b/docs/classes/VideoHelper.TwitchHelper.TwitchHelper.html @@ -1,4 +1,4 @@ -TwitchHelper | vot.js

          Hierarchy

          • BaseHelper
            • TwitchHelper

          Constructors

          constructor +TwitchHelper | vot.js

          Hierarchy

          • BaseHelper
            • TwitchHelper

          Constructors

          Properties

          API_ORIGIN: string = "https://clips.twitch.tv"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • pathname: string
            • clipId: null | string

            Returns Promise<undefined | string>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_ORIGIN: string = "https://clips.twitch.tv"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • pathname: string
            • clipId: null | string

            Returns Promise<undefined | string>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.VideoHelper.html b/docs/classes/VideoHelper.VideoHelper.html index 48dc3ebb..78e67759 100644 --- a/docs/classes/VideoHelper.VideoHelper.html +++ b/docs/classes/VideoHelper.VideoHelper.html @@ -1,5 +1,5 @@ VideoHelper | vot.js

          A convenient wrapper over the rest of the helpers

          -

          Constructors

          Constructors

          Properties

          Methods

          Constructors

          Properties

          helpersData: BaseHelperOpts

          Methods

          +

          Constructors

          Properties

          helpersData: BaseHelperOpts

          Methods

          diff --git a/docs/classes/VideoHelper.VimeoHelper.VimeoHelper.html b/docs/classes/VideoHelper.VimeoHelper.VimeoHelper.html index b64e1ea3..ddb345c3 100644 --- a/docs/classes/VideoHelper.VimeoHelper.VimeoHelper.html +++ b/docs/classes/VideoHelper.VimeoHelper.VimeoHelper.html @@ -1,4 +1,4 @@ -VimeoHelper | vot.js

          Hierarchy

          • BaseHelper
            • VimeoHelper

          Constructors

          constructor +VimeoHelper | vot.js

          Hierarchy

          • BaseHelper
            • VimeoHelper

          Constructors

          Properties

          API_KEY: string = ""
          API_ORIGIN: string = "https://example.com"
          DEFAULT_SITE_ORIGIN: string = "https://vimeo.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf
          SITE_ORIGIN: string = ...

          Methods

          • Parameters

            • videoId: string

            Returns Promise<false | {
                duration: number;
                subs: PrivateVideoSubtitle[];
                title: string;
                url: string;
                video_url: string;
            }>

          • Parameters

            Returns Promise<string | false>

          • Parameters

            • videoId: string

            Returns Promise<false | VideoSubsData>

          • Parameters

            • videoId: string

            Returns Promise<undefined | MinimalVideoData>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Returns Promise<false | ViewerData>

          • Parameters

            Returns data is Error

          • Returns boolean | ""

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_KEY: string = ""
          API_ORIGIN: string = "https://example.com"
          DEFAULT_SITE_ORIGIN: string = "https://vimeo.com"
          extraInfo: boolean
          referer: string
          service: undefined | ServiceConf
          SITE_ORIGIN: string = ...

          Methods

          • Parameters

            • videoId: string

            Returns Promise<false | {
                duration: number;
                subs: PrivateVideoSubtitle[];
                title: string;
                url: string;
                video_url: string;
            }>

          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/classes/VideoHelper.WeverseHelper.WeverseHelper.html b/docs/classes/VideoHelper.WeverseHelper.WeverseHelper.html index df71ca95..7eb4f3fc 100644 --- a/docs/classes/VideoHelper.WeverseHelper.WeverseHelper.html +++ b/docs/classes/VideoHelper.WeverseHelper.WeverseHelper.html @@ -1,4 +1,4 @@ -WeverseHelper | vot.js

          Hierarchy

          • BaseHelper
            • WeverseHelper

          Constructors

          constructor +WeverseHelper | vot.js

          Hierarchy

          • BaseHelper
            • WeverseHelper

          Constructors

          Properties

          API_APP_ID: string = "be4d79eb8fc7bd008ee82c8ec4ff6fd4"
          API_HMAC_KEY: string = "1b9cb6378d959b45714bec49971ade22e6e24e42"
          API_ORIGIN: string = "https://global.apis.naver.com/weverse/wevweb"
          extraInfo: boolean
          HEADERS: {
              Accept: string;
              Origin: string;
              Referer: string;
          } = ...
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • pathname: string

            Returns Promise<{
                wmd: string;
                wmsgpad: string;
            }>

          • Parameters

            • pathname: string

            Returns Promise<string>

          • Returns {
                appId: string;
                language: string;
                os: string;
                platform: string;
                wpf: string;
            }

            • appId: string
            • language: string
            • os: string
            • platform: string
            • wpf: string
          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          +

          Constructors

          Properties

          API_APP_ID: string = "be4d79eb8fc7bd008ee82c8ec4ff6fd4"
          API_HMAC_KEY: string = "1b9cb6378d959b45714bec49971ade22e6e24e42"
          API_ORIGIN: string = "https://global.apis.naver.com/weverse/wevweb"
          extraInfo: boolean
          HEADERS: {
              Accept: string;
              Origin: string;
              Referer: string;
          } = ...
          referer: string
          service: undefined | ServiceConf

          Methods

          • Parameters

            • pathname: string

            Returns Promise<{
                wmd: string;
                wmsgpad: string;
            }>

          • Parameters

            • pathname: string

            Returns Promise<string>

          • Returns {
                appId: string;
                language: string;
                os: string;
                platform: string;
                wpf: string;
            }

            • appId: string
            • language: string
            • os: string
            • platform: string
            • wpf: string
          • Parameters

            • url: URL

            Returns Promise<undefined | string>

          • Parameters

            • videoId: string

            Returns undefined | {
                duration: undefined;
                host: VideoService;
                url: string;
                videoId: string;
            }

          diff --git a/docs/enums/VOTTypes.BannedVideoType.TypeName.html b/docs/enums/VOTTypes.BannedVideoType.TypeName.html index c8ff5398..cc56c295 100644 --- a/docs/enums/VOTTypes.BannedVideoType.TypeName.html +++ b/docs/enums/VOTTypes.BannedVideoType.TypeName.html @@ -1,3 +1,3 @@ -TypeName | vot.js

          Enumeration Members

          Channel +TypeName | vot.js

          Enumeration Members

          Enumeration Members

          Channel: "Channel"
          Video: "Video"
          +

          Enumeration Members

          Channel: "Channel"
          Video: "Video"
          diff --git a/docs/enums/VOTTypes.YandexProtobufType.StreamInterval.html b/docs/enums/VOTTypes.YandexProtobufType.StreamInterval.html index a93d5095..97f98526 100644 --- a/docs/enums/VOTTypes.YandexProtobufType.StreamInterval.html +++ b/docs/enums/VOTTypes.YandexProtobufType.StreamInterval.html @@ -1,5 +1,5 @@ -StreamInterval | vot.js

          Enumeration Members

          NO_CONNECTION +StreamInterval | vot.js

          Enumeration Members

          NO_CONNECTION: 0
          STREAMING: 20
          TRANSLATING: 10
          UNRECOGNIZED: -1
          +

          Enumeration Members

          NO_CONNECTION: 0
          STREAMING: 20
          TRANSLATING: 10
          UNRECOGNIZED: -1
          diff --git a/docs/enums/VOTTypes.YandexType.VideoService.html b/docs/enums/VOTTypes.YandexType.VideoService.html index c4d5d9b3..07e036c3 100644 --- a/docs/enums/VOTTypes.YandexType.VideoService.html +++ b/docs/enums/VOTTypes.YandexType.VideoService.html @@ -1,4 +1,4 @@ -VideoService | vot.js

          Enumeration VideoService

          Enumeration Members

          apple_developer +VideoService | vot.js

          Enumeration VideoService

          Enumeration Members

          apple_developer: "apple_developer"
          appledeveloper: "apple_developer"
          archive: "archive"
          bannedvideo: "bannedvideo"
          bilibili: "bilibili"
          bitchute: "bitchute"
          coub: "coub"
          coursehunter: "coursehunter"
          custom: "custom"
          dailymotion: "dailymotion"
          directlink: "custom"
          egghead: "egghead"
          epicgames: "epicgames"
          eporner: "eporner"
          facebook: "facebook"
          gag: "nine_gag"
          googledrive: "googledrive"
          invidious: "invidious"
          kick: "kick"
          kodik: "kodik"
          linkedin: "linkedin"
          mail_ru: "mailru"
          mailru: "mailru"
          newgrounds: "newgrounds"
          nine_gag: "nine_gag"
          nineanimetv: "nineanimetv"
          odysee: "odysee"
          ok_ru: "okru"
          okru: "okru"
          patreon: "patreon"
          peertube: "peertube"
          piped: "piped"
          poketube: "poketube"
          pornhub: "pornhub"
          proxitok: "proxitok"
          reddit: "reddit"
          rumble: "rumble"
          rutube: "rutube"
          sap: "sap"
          tiktok: "tiktok"
          trovo: "trovo"
          twitch: "twitch"
          twitter: "twitter"
          vimeo: "vimeo"
          vk: "vk"
          watchpornto: "watchpornto"
          weverse: "weverse"
          xvideos: "xvideos"
          yandexdisk: "yandexdisk"
          youku: "youku"
          youtube: "youtube"
          +

          Enumeration Members

          apple_developer: "apple_developer"
          appledeveloper: "apple_developer"
          archive: "archive"
          bannedvideo: "bannedvideo"
          bilibili: "bilibili"
          bitchute: "bitchute"
          coub: "coub"
          coursehunter: "coursehunter"
          custom: "custom"
          dailymotion: "dailymotion"
          directlink: "custom"
          egghead: "egghead"
          epicgames: "epicgames"
          eporner: "eporner"
          facebook: "facebook"
          gag: "nine_gag"
          googledrive: "googledrive"
          invidious: "invidious"
          kick: "kick"
          kodik: "kodik"
          linkedin: "linkedin"
          mail_ru: "mailru"
          mailru: "mailru"
          newgrounds: "newgrounds"
          nine_gag: "nine_gag"
          nineanimetv: "nineanimetv"
          odysee: "odysee"
          ok_ru: "okru"
          okru: "okru"
          patreon: "patreon"
          peertube: "peertube"
          piped: "piped"
          poketube: "poketube"
          pornhub: "pornhub"
          proxitok: "proxitok"
          reddit: "reddit"
          rumble: "rumble"
          rutube: "rutube"
          sap: "sap"
          tiktok: "tiktok"
          trovo: "trovo"
          twitch: "twitch"
          twitter: "twitter"
          vimeo: "vimeo"
          vk: "vk"
          watchpornto: "watchpornto"
          weverse: "weverse"
          xvideos: "xvideos"
          yandexdisk: "yandexdisk"
          youku: "youku"
          youtube: "youtube"
          diff --git a/docs/enums/VOTTypes.YandexType.VideoTranslationStatus.html b/docs/enums/VOTTypes.YandexType.VideoTranslationStatus.html index fa935c87..e9a85d50 100644 --- a/docs/enums/VOTTypes.YandexType.VideoTranslationStatus.html +++ b/docs/enums/VOTTypes.YandexType.VideoTranslationStatus.html @@ -1,7 +1,7 @@ -VideoTranslationStatus | vot.js

          Enumeration VideoTranslationStatus

          Enumeration Members

          FAILED +VideoTranslationStatus | vot.js

          Enumeration VideoTranslationStatus

          Enumeration Members

          FAILED: 0
          FINISHED: 1
          LONG_WAITING: 3
          LONG_WAITING_2: 6
          PART_CONTENT: 5
          WAITING: 2
          +

          Enumeration Members

          FAILED: 0
          FINISHED: 1
          LONG_WAITING: 3
          LONG_WAITING_2: 6
          PART_CONTENT: 5
          WAITING: 2
          diff --git a/docs/functions/VOTTypes.YandexProtobufType.streamIntervalFromJSON.html b/docs/functions/VOTTypes.YandexProtobufType.streamIntervalFromJSON.html index 63aaef83..e8aab6a9 100644 --- a/docs/functions/VOTTypes.YandexProtobufType.streamIntervalFromJSON.html +++ b/docs/functions/VOTTypes.YandexProtobufType.streamIntervalFromJSON.html @@ -1 +1 @@ -streamIntervalFromJSON | vot.js
          +streamIntervalFromJSON | vot.js
          diff --git a/docs/functions/VOTTypes.YandexProtobufType.streamIntervalToJSON.html b/docs/functions/VOTTypes.YandexProtobufType.streamIntervalToJSON.html index bbac2779..f8903a0c 100644 --- a/docs/functions/VOTTypes.YandexProtobufType.streamIntervalToJSON.html +++ b/docs/functions/VOTTypes.YandexProtobufType.streamIntervalToJSON.html @@ -1 +1 @@ -streamIntervalToJSON | vot.js
          +streamIntervalToJSON | vot.js
          diff --git a/docs/interfaces/VOTTypes.KodikType.VideoVastData.html b/docs/interfaces/VOTTypes.KodikType.VideoVastData.html index 5a1ea185..1a890807 100644 --- a/docs/interfaces/VOTTypes.KodikType.VideoVastData.html +++ b/docs/interfaces/VOTTypes.KodikType.VideoVastData.html @@ -1,4 +1,4 @@ -VideoVastData | vot.js
          interface VideoVastData {
              async_load: boolean;
              disable_advert_click: number;
              hide_interface: boolean;
              max_length: number;
              save_views: boolean;
              send_stat_method: string;
              src: string;
              timer: number;
              title_small: string;
              vpaid_max_load_time: number;
              vpaid_max_start_time: number;
              vpaid_start_event: string;
              vpaid_target_event: string;
          }

          Hierarchy (view full)

          Properties

          async_load +VideoVastData | vot.js
          interface VideoVastData {
              async_load: boolean;
              disable_advert_click: number;
              hide_interface: boolean;
              max_length: number;
              save_views: boolean;
              send_stat_method: string;
              src: string;
              timer: number;
              title_small: string;
              vpaid_max_load_time: number;
              vpaid_max_start_time: number;
              vpaid_start_event: string;
              vpaid_target_event: string;
          }

          Hierarchy (view full)

          Properties

          async_load: boolean
          disable_advert_click: number
          hide_interface: boolean
          max_length: number
          save_views: boolean
          send_stat_method: string
          src: string
          timer: number
          title_small: string
          vpaid_max_load_time: number
          vpaid_max_start_time: number
          vpaid_start_event: string
          vpaid_target_event: string
          +

          Properties

          async_load: boolean
          disable_advert_click: number
          hide_interface: boolean
          max_length: number
          save_views: boolean
          send_stat_method: string
          src: string
          timer: number
          title_small: string
          vpaid_max_load_time: number
          vpaid_max_start_time: number
          vpaid_start_event: string
          vpaid_target_event: string
          diff --git a/docs/interfaces/VOTTypes.VimeoType.DashFileAudio.html b/docs/interfaces/VOTTypes.VimeoType.DashFileAudio.html index a761e0db..75f4022c 100644 --- a/docs/interfaces/VOTTypes.VimeoType.DashFileAudio.html +++ b/docs/interfaces/VOTTypes.VimeoType.DashFileAudio.html @@ -1,4 +1,4 @@ -DashFileAudio | vot.js
          interface DashFileAudio {
              avg_bitrate: number;
              avg_id: string;
              base_url: string;
              bitrate: number;
              channels: number;
              codecs: string;
              duration: number;
              format: "dash" | "mp42";
              id: string;
              index_segment?: string;
              init_segment: string;
              max_segment_duration: number;
              mime_type: "audio/mp4";
              sample_rate: number;
              segments: DashFileVideoSegment[];
          }

          Hierarchy

          • Omit<DashFileVideo,
                | "framerate"
                | "mime_type"
                | "width"
                | "height">
            • DashFileAudio

          Properties

          avg_bitrate +DashFileAudio | vot.js
          interface DashFileAudio {
              avg_bitrate: number;
              avg_id: string;
              base_url: string;
              bitrate: number;
              channels: number;
              codecs: string;
              duration: number;
              format: "dash" | "mp42";
              id: string;
              index_segment?: string;
              init_segment: string;
              max_segment_duration: number;
              mime_type: "audio/mp4";
              sample_rate: number;
              segments: DashFileVideoSegment[];
          }

          Hierarchy

          • Omit<DashFileVideo,
                | "framerate"
                | "mime_type"
                | "width"
                | "height">
            • DashFileAudio

          Properties

          avg_bitrate: number
          avg_id: string
          base_url: string
          bitrate: number
          channels: number
          codecs: string
          duration: number
          format: "dash" | "mp42"
          id: string
          index_segment?: string
          init_segment: string
          max_segment_duration: number
          mime_type: "audio/mp4"
          sample_rate: number
          +

          Properties

          avg_bitrate: number
          avg_id: string
          base_url: string
          bitrate: number
          channels: number
          codecs: string
          duration: number
          format: "dash" | "mp42"
          id: string
          index_segment?: string
          init_segment: string
          max_segment_duration: number
          mime_type: "audio/mp4"
          sample_rate: number
          diff --git a/docs/interfaces/VOTTypes.VimeoType.PrivateDashFiles.html b/docs/interfaces/VOTTypes.VimeoType.PrivateDashFiles.html index e1d0f890..7bbef7bf 100644 --- a/docs/interfaces/VOTTypes.VimeoType.PrivateDashFiles.html +++ b/docs/interfaces/VOTTypes.VimeoType.PrivateDashFiles.html @@ -1,6 +1,6 @@ -PrivateDashFiles | vot.js

          Interface PrivateDashFiles

          interface PrivateDashFiles {
              cdns: Record<string, PrivateFileCDN>;
              default_cdn: string;
              separate_av: boolean;
              streams: DashStream[];
              streams_avc: DashStream[];
          }

          Hierarchy (view full)

          Properties

          cdns +PrivateDashFiles | vot.js

          Interface PrivateDashFiles

          interface PrivateDashFiles {
              cdns: Record<string, PrivateFileCDN>;
              default_cdn: string;
              separate_av: boolean;
              streams: DashStream[];
              streams_avc: DashStream[];
          }

          Hierarchy (view full)

          Properties

          cdns: Record<string, PrivateFileCDN>
          default_cdn: string
          separate_av: boolean
          streams: DashStream[]
          streams_avc: DashStream[]
          +

          Properties

          cdns: Record<string, PrivateFileCDN>
          default_cdn: string
          separate_av: boolean
          streams: DashStream[]
          streams_avc: DashStream[]
          diff --git a/docs/interfaces/VOTTypes.WeverseType.VideoEncodingOptions.html b/docs/interfaces/VOTTypes.WeverseType.VideoEncodingOptions.html index ad292c4d..ce42bbe8 100644 --- a/docs/interfaces/VOTTypes.WeverseType.VideoEncodingOptions.html +++ b/docs/interfaces/VOTTypes.WeverseType.VideoEncodingOptions.html @@ -1,8 +1,8 @@ -VideoEncodingOptions | vot.js

          Interface VideoEncodingOptions

          interface VideoEncodingOptions {
              completeProgress: string;
              height: number;
              id: string;
              isEncodingComplete: StringBoolean;
              name: string;
              profile: string;
              width: number;
          }

          Hierarchy (view full)

          Properties

          completeProgress +VideoEncodingOptions | vot.js

          Interface VideoEncodingOptions

          interface VideoEncodingOptions {
              completeProgress: string;
              height: number;
              id: string;
              isEncodingComplete: StringBoolean;
              name: string;
              profile: string;
              width: number;
          }

          Hierarchy (view full)

          Properties

          completeProgress: string
          height: number
          id: string
          isEncodingComplete: StringBoolean
          name: string
          profile: string
          width: number
          +

          Properties

          completeProgress: string
          height: number
          id: string
          isEncodingComplete: StringBoolean
          name: string
          profile: string
          width: number
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.StreamPingRequest.html b/docs/interfaces/VOTTypes.YandexProtobufType.StreamPingRequest.html index 8d3ed120..b5a164f5 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.StreamPingRequest.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.StreamPingRequest.html @@ -1,3 +1,3 @@ StreamPingRequest | vot.js

          doesn't have response proto

          -
          interface StreamPingRequest {
              pingId: number;
          }

          Properties

          Properties

          pingId: number
          +
          interface StreamPingRequest {
              pingId: number;
          }

          Properties

          Properties

          pingId: number
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationObject.html b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationObject.html index 48dd3dbf..9af628aa 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationObject.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationObject.html @@ -1,5 +1,5 @@ StreamTranslationObject | vot.js

          STREAM TRANSLATION

          -
          interface StreamTranslationObject {
              timestamp: string;
              url: string;
          }

          Properties

          interface StreamTranslationObject {
              timestamp: string;
              url: string;
          }

          Properties

          Properties

          timestamp: string

          timestamp in ms (timing of m3u8). it could have been

          -
          url: string
          +
          url: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationRequest.html b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationRequest.html index 479f9642..402a84f3 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationRequest.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationRequest.html @@ -1,4 +1,4 @@ -StreamTranslationRequest | vot.js
          interface StreamTranslationRequest {
              language: string;
              responseLanguage: string;
              url: string;
          }

          Properties

          language +StreamTranslationRequest | vot.js
          interface StreamTranslationRequest {
              language: string;
              responseLanguage: string;
              url: string;
          }

          Properties

          language: string
          responseLanguage: string
          url: string
          +

          Properties

          language: string
          responseLanguage: string
          url: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationResponse.html b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationResponse.html index 71c1554b..244d285f 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationResponse.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.StreamTranslationResponse.html @@ -1,6 +1,6 @@ -StreamTranslationResponse | vot.js
          interface StreamTranslationResponse {
              interval: StreamInterval;
              pingId?: number;
              translatedInfo?: VOTTypes.YandexProtobufType.StreamTranslationObject;
          }

          Properties

          interval +StreamTranslationResponse | vot.js
          interface StreamTranslationResponse {
              interval: StreamInterval;
              pingId?: number;
              translatedInfo?: VOTTypes.YandexProtobufType.StreamTranslationObject;
          }

          Properties

          interval: StreamInterval

          20s - streaming, 10s - translating, 0s - there is no connection with

          -
          pingId?: number

          the server (the broadcast is finished or deleted)

          -
          +
          pingId?: number

          the server (the broadcast is finished or deleted)

          +
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesObject.html b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesObject.html index 4fc14b89..3ffc2384 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesObject.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesObject.html @@ -1,9 +1,9 @@ SubtitlesObject | vot.js

          SUBTITLES

          -
          interface SubtitlesObject {
              language: string;
              translatedLanguage: string;
              translatedUrl: string;
              unknown0: number;
              unknown1: number;
              unknown2: number;
              url: string;
          }

          Properties

          interface SubtitlesObject {
              language: string;
              translatedLanguage: string;
              translatedUrl: string;
              unknown0: number;
              unknown1: number;
              unknown2: number;
              url: string;
          }

          Properties

          language: string
          translatedLanguage: string
          translatedUrl: string
          unknown0: number
          unknown1: number
          unknown2: number
          url: string
          +

          Properties

          language: string
          translatedLanguage: string
          translatedUrl: string
          unknown0: number
          unknown1: number
          unknown2: number
          url: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesRequest.html b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesRequest.html index f2347efa..2c261931 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesRequest.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesRequest.html @@ -1,4 +1,4 @@ -SubtitlesRequest | vot.js
          interface SubtitlesRequest {
              language: string;
              url: string;
          }

          Properties

          language +SubtitlesRequest | vot.js
          interface SubtitlesRequest {
              language: string;
              url: string;
          }

          Properties

          Properties

          language: string

          source language code

          -
          url: string
          +
          url: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesResponse.html b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesResponse.html index ed325bee..43f39089 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesResponse.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.SubtitlesResponse.html @@ -1,4 +1,4 @@ -SubtitlesResponse | vot.js
          interface SubtitlesResponse {
              subtitles: VOTTypes.YandexProtobufType.SubtitlesObject[];
              waiting: boolean;
          }

          Properties

          subtitles +SubtitlesResponse | vot.js
          interface SubtitlesResponse {
              subtitles: VOTTypes.YandexProtobufType.SubtitlesObject[];
              waiting: boolean;
          }

          Properties

          Properties

          waiting: boolean

          0 - finished/failed, 1 - waiting result (1 - ~10min, maybe more)

          -
          +

          Properties

          waiting: boolean

          0 - finished/failed, 1 - waiting result (1 - ~10min, maybe more)

          +
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationHelpObject.html b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationHelpObject.html index 7c375e3e..49e6174e 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationHelpObject.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationHelpObject.html @@ -1,6 +1,6 @@ VideoTranslationHelpObject | vot.js

          VIDEO TRANSLATION

          -
          interface VideoTranslationHelpObject {
              target: string;
              targetUrl: string;
          }

          Properties

          interface VideoTranslationHelpObject {
              target: string;
              targetUrl: string;
          }

          Properties

          Properties

          target: string

          video_file_url or subtitles_file_url

          -
          targetUrl: string

          raw url to video file or subs

          -
          +
          targetUrl: string

          raw url to video file or subs

          +
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationRequest.html b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationRequest.html index 7deb3b62..40d2a83e 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationRequest.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationRequest.html @@ -1,4 +1,4 @@ -VideoTranslationRequest | vot.js
          interface VideoTranslationRequest {
              bypassCache: boolean;
              deviceId?: string;
              duration: number;
              firstRequest: boolean;
              forceSourceLang: boolean;
              language: string;
              responseLanguage: string;
              translationHelp: VOTTypes.YandexProtobufType.VideoTranslationHelpObject[];
              unknown0: number;
              unknown1: number;
              unknown2: number;
              unknown3: number;
              url: string;
          }

          Properties

          bypassCache +VideoTranslationRequest | vot.js
          interface VideoTranslationRequest {
              bypassCache: boolean;
              deviceId?: string;
              duration: number;
              firstRequest: boolean;
              forceSourceLang: boolean;
              language: string;
              responseLanguage: string;
              translationHelp: VOTTypes.YandexProtobufType.VideoTranslationHelpObject[];
              unknown0: number;
              unknown1: number;
              unknown2: number;
              unknown3: number;
              url: string;
          }

          Properties

          Properties

          bypassCache: boolean

          ? maybe they have some kind of bypass limiter from one IP, because

          -
          deviceId?: string

          used in mobile version

          -
          duration: number
          firstRequest: boolean

          true for the first request, false for subsequent ones

          -
          forceSourceLang: boolean

          0 - auto detected by yabrowser, 1 - user set his

          -
          language: string

          source language code

          -
          responseLanguage: string

          "video_file_url"}, [1] -> {2: link to subtitles, 1: +

          deviceId?: string

          used in mobile version

          +
          duration: number
          firstRequest: boolean

          true for the first request, false for subsequent ones

          +
          forceSourceLang: boolean

          0 - auto detected by yabrowser, 1 - user set his

          +
          language: string

          source language code

          +
          responseLanguage: string

          "video_file_url"}, [1] -> {2: link to subtitles, 1: "subtitles_file_url"})

          -

          array for translation assistance ([0] -> {2: link to video, 1:

          -
          unknown0: number

          1 1

          -
          unknown1: number

          own lang by dropdown

          -
          unknown2: number

          0

          -
          unknown3: number

          1

          -
          url: string
          +

          array for translation assistance ([0] -> {2: link to video, 1:

          +
          unknown0: number

          1 1

          +
          unknown1: number

          own lang by dropdown

          +
          unknown2: number

          0

          +
          unknown3: number

          1

          +
          url: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationResponse.html b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationResponse.html index fd2f6e33..bb33d319 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationResponse.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.VideoTranslationResponse.html @@ -1,4 +1,4 @@ -VideoTranslationResponse | vot.js
          interface VideoTranslationResponse {
              duration?: number;
              language?: string;
              message?: string;
              remainingTime?: number;
              status: number;
              translationId: string;
              unknown0?: number;
              url?: string;
          }

          Properties

          duration? +VideoTranslationResponse | vot.js
          interface VideoTranslationResponse {
              duration?: number;
              language?: string;
              message?: string;
              remainingTime?: number;
              status: number;
              translationId: string;
              unknown0?: number;
              url?: string;
          }

          Properties

          duration?: number
          language?: string

          detected language (if the wrong one is set)

          -
          message?: string
          remainingTime?: number

          secs until translation is completed

          -
          status: number
          translationId: string

          etc requests). (if status is 0)

          -
          unknown0?: number

          unknown 0 (1st request) -> 10 (2nd, 3th and

          -
          url?: string

          if status is translated

          -
          +

          Properties

          duration?: number
          language?: string

          detected language (if the wrong one is set)

          +
          message?: string
          remainingTime?: number

          secs until translation is completed

          +
          status: number
          translationId: string

          etc requests). (if status is 0)

          +
          unknown0?: number

          unknown 0 (1st request) -> 10 (2nd, 3th and

          +
          url?: string

          if status is translated

          +
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionRequest.html b/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionRequest.html index be4cbabc..313b96ec 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionRequest.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionRequest.html @@ -1,5 +1,5 @@ YandexSessionRequest | vot.js

          SESSIONS

          -
          interface YandexSessionRequest {
              module: string;
              uuid: string;
          }

          Properties

          interface YandexSessionRequest {
              module: string;
              uuid: string;
          }

          Properties

          Properties

          module: string

          e.g. video_translation

          -
          uuid: string
          +
          uuid: string
          diff --git a/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionResponse.html b/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionResponse.html index f3b7d2b9..054b0582 100644 --- a/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionResponse.html +++ b/docs/interfaces/VOTTypes.YandexProtobufType.YandexSessionResponse.html @@ -1,3 +1,3 @@ -YandexSessionResponse | vot.js
          interface YandexSessionResponse {
              expires: number;
              secretKey: string;
          }

          Properties

          expires +YandexSessionResponse | vot.js
          interface YandexSessionResponse {
              expires: number;
              secretKey: string;
          }

          Properties

          Properties

          expires: number
          secretKey: string
          +

          Properties

          expires: number
          secretKey: string
          diff --git a/docs/modules/VOTConsts.html b/docs/modules/VOTConsts.html index b3497127..d18a127a 100644 --- a/docs/modules/VOTConsts.html +++ b/docs/modules/VOTConsts.html @@ -1,4 +1,4 @@ -VOTConsts | vot.js

          Namespace VOTConsts

          Index

          Variables

          availableLangs +VOTConsts | vot.js

          Namespace VOTConsts

          Index

          Variables

          diff --git a/docs/modules/VOTTypes.BannedVideoType.html b/docs/modules/VOTTypes.BannedVideoType.html index bfc1ad33..5bfc2cb7 100644 --- a/docs/modules/VOTTypes.BannedVideoType.html +++ b/docs/modules/VOTTypes.BannedVideoType.html @@ -1,4 +1,4 @@ -BannedVideoType | vot.js

          Namespace BannedVideoType

          Index

          Enumerations

          TypeName +BannedVideoType | vot.js

          Namespace BannedVideoType

          Index

          Enumerations

          Type Aliases

          ChannelInfo GraphQLResponse OperationName diff --git a/docs/modules/VOTTypes.BaseHelperType.html b/docs/modules/VOTTypes.BaseHelperType.html index 672aa0d3..945263a8 100644 --- a/docs/modules/VOTTypes.BaseHelperType.html +++ b/docs/modules/VOTTypes.BaseHelperType.html @@ -1,2 +1,2 @@ -BaseHelperType | vot.js

          Namespace BaseHelperType

          Index

          Type Aliases

          BaseHelperOpts +BaseHelperType | vot.js

          Namespace BaseHelperType

          Index

          Type Aliases

          diff --git a/docs/modules/VOTTypes.ClientType.html b/docs/modules/VOTTypes.ClientType.html index aee9a01a..181038bc 100644 --- a/docs/modules/VOTTypes.ClientType.html +++ b/docs/modules/VOTTypes.ClientType.html @@ -1,4 +1,4 @@ -ClientType | vot.js

          Namespace ClientType

          Index

          Type Aliases

          ClientFailedResponse +ClientType | vot.js

          Namespace ClientType

          Index

          Type Aliases

          ClientFailedResponse ClientResponse ClientSession ClientSuccessResponse diff --git a/docs/modules/VOTTypes.CoursehunterType.html b/docs/modules/VOTTypes.CoursehunterType.html index ff06755f..a8a1806f 100644 --- a/docs/modules/VOTTypes.CoursehunterType.html +++ b/docs/modules/VOTTypes.CoursehunterType.html @@ -1,2 +1,2 @@ -CoursehunterType | vot.js

          Namespace CoursehunterType

          Index

          Type Aliases

          Lesson +CoursehunterType | vot.js

          Namespace CoursehunterType

          Index

          Type Aliases

          diff --git a/docs/modules/VOTTypes.EpicGamesType.html b/docs/modules/VOTTypes.EpicGamesType.html index a43005c8..a082e441 100644 --- a/docs/modules/VOTTypes.EpicGamesType.html +++ b/docs/modules/VOTTypes.EpicGamesType.html @@ -1,4 +1,4 @@ -EpicGamesType | vot.js

          Namespace EpicGamesType

          Index

          Type Aliases

          Link +EpicGamesType | vot.js

          Namespace EpicGamesType

          Index

          Type Aliases

          Link LinkGroupBlock Post VideoBlock diff --git a/docs/modules/VOTTypes.KickType.html b/docs/modules/VOTTypes.KickType.html index f7fd8d45..e332b1fc 100644 --- a/docs/modules/VOTTypes.KickType.html +++ b/docs/modules/VOTTypes.KickType.html @@ -1,4 +1,4 @@ -KickType | vot.js

          Namespace KickType

          Index

          Type Aliases

          Category +KickType | vot.js

          Namespace KickType

          Index

          Type Aliases

          Category Channel ClipInfo ClipResponse diff --git a/docs/modules/VOTTypes.KodikType.html b/docs/modules/VOTTypes.KodikType.html index 3ba7eac7..b7d51643 100644 --- a/docs/modules/VOTTypes.KodikType.html +++ b/docs/modules/VOTTypes.KodikType.html @@ -1,4 +1,4 @@ -KodikType | vot.js

          Namespace KodikType

          Index

          Interfaces

          VideoVastData +KodikType | vot.js

          Namespace KodikType

          Index

          Interfaces

          Type Aliases

          Hash SecureContent SecureData diff --git a/docs/modules/VOTTypes.LinkedinType.html b/docs/modules/VOTTypes.LinkedinType.html index 3d4bd14e..4411ab6a 100644 --- a/docs/modules/VOTTypes.LinkedinType.html +++ b/docs/modules/VOTTypes.LinkedinType.html @@ -1,2 +1,2 @@ -LinkedinType | vot.js

          Namespace LinkedinType

          Index

          Type Aliases

          Source +LinkedinType | vot.js

          Namespace LinkedinType

          Index

          Type Aliases

          diff --git a/docs/modules/VOTTypes.MailRuType.html b/docs/modules/VOTTypes.MailRuType.html index fdf1d620..c7d9f30f 100644 --- a/docs/modules/VOTTypes.MailRuType.html +++ b/docs/modules/VOTTypes.MailRuType.html @@ -1,4 +1,4 @@ -MailRuType | vot.js

          Namespace MailRuType

          Index

          Type Aliases

          VideoAuthor +MailRuType | vot.js

          Namespace MailRuType

          Index

          Type Aliases

          VideoAuthor VideoCluster VideoInfo VideoMeta diff --git a/docs/modules/VOTTypes.NineAnimeTVType.html b/docs/modules/VOTTypes.NineAnimeTVType.html index 149e7a42..44e952dd 100644 --- a/docs/modules/VOTTypes.NineAnimeTVType.html +++ b/docs/modules/VOTTypes.NineAnimeTVType.html @@ -1,4 +1,4 @@ -NineAnimeTVType | vot.js

          Namespace NineAnimeTVType

          Index

          Type Aliases

          PlayerSources +NineAnimeTVType | vot.js

          Namespace NineAnimeTVType

          Index

          Type Aliases

          PlayerSources RapidData RapidFragment RapidSource diff --git a/docs/modules/VOTTypes.PatreonType.html b/docs/modules/VOTTypes.PatreonType.html index 424462ed..9f1d85bd 100644 --- a/docs/modules/VOTTypes.PatreonType.html +++ b/docs/modules/VOTTypes.PatreonType.html @@ -1,4 +1,4 @@ -PatreonType | vot.js

          Namespace PatreonType

          Index

          Type Aliases

          PostData +PatreonType | vot.js

          Namespace PatreonType

          Index

          Type Aliases

          PostData PostDataAttributes PostFile PostFileProgress diff --git a/docs/modules/VOTTypes.SapType.html b/docs/modules/VOTTypes.SapType.html index 260117f0..dc95e408 100644 --- a/docs/modules/VOTTypes.SapType.html +++ b/docs/modules/VOTTypes.SapType.html @@ -1,4 +1,4 @@ -SapType | vot.js

          Namespace SapType

          Index

          Type Aliases

          BaseEntryListResponse +SapType | vot.js

          Namespace SapType

          Index

          Type Aliases

          BaseEntryListResponse FlavorAsset MediaEntry PlaybackCaption diff --git a/docs/modules/VOTTypes.SubsType.html b/docs/modules/VOTTypes.SubsType.html index c5aebef9..345b2a14 100644 --- a/docs/modules/VOTTypes.SubsType.html +++ b/docs/modules/VOTTypes.SubsType.html @@ -1,4 +1,4 @@ -SubsType | vot.js

          Namespace SubsType

          Index

          Type Aliases

          SubtitleFormat +SubsType | vot.js

          Namespace SubsType

          Index

          Type Aliases

          SubtitleFormat SubtitleItem SubtitlesData SubtitleToken diff --git a/docs/modules/VOTTypes.UtilsType.html b/docs/modules/VOTTypes.UtilsType.html index d096aa43..23893355 100644 --- a/docs/modules/VOTTypes.UtilsType.html +++ b/docs/modules/VOTTypes.UtilsType.html @@ -1,4 +1,4 @@ -UtilsType | vot.js

          Namespace UtilsType

          Index

          Type Aliases

          AtLeast +UtilsType | vot.js

          Namespace UtilsType

          Index

          Type Aliases

          diff --git a/docs/modules/VOTTypes.VOTBackendType.html b/docs/modules/VOTTypes.VOTBackendType.html index 07ad9646..c9b27961 100644 --- a/docs/modules/VOTTypes.VOTBackendType.html +++ b/docs/modules/VOTTypes.VOTBackendType.html @@ -1,4 +1,4 @@ -VOTBackendType | vot.js

          Namespace VOTBackendType

          Index

          Type Aliases

          TranslationFailedResponse +VOTBackendType | vot.js

          Namespace VOTBackendType

          Index

          Type Aliases

          TranslationFailedResponse TranslationProvider TranslationResponse TranslationStatus diff --git a/docs/modules/VOTTypes.VimeoType.html b/docs/modules/VOTTypes.VimeoType.html index d5435a00..562f1e43 100644 --- a/docs/modules/VOTTypes.VimeoType.html +++ b/docs/modules/VOTTypes.VimeoType.html @@ -1,4 +1,4 @@ -VimeoType | vot.js

          Namespace VimeoType

          Index

          Interfaces

          DashFileAudio +VimeoType | vot.js

          Namespace VimeoType

          Index

          Interfaces

          Type Aliases

          DashFileConfig DashFileVideo diff --git a/docs/modules/VOTTypes.WeverseType.html b/docs/modules/VOTTypes.WeverseType.html index faed33b4..567c5498 100644 --- a/docs/modules/VOTTypes.WeverseType.html +++ b/docs/modules/VOTTypes.WeverseType.html @@ -1,4 +1,4 @@ -WeverseType | vot.js

          Namespace WeverseType

          Index

          Interfaces

          VideoEncodingOptions +WeverseType | vot.js

          Namespace WeverseType

          Index

          Interfaces

          Type Aliases

          AdParam AdParamCustom Community diff --git a/docs/modules/VOTTypes.YandexProtobufType.html b/docs/modules/VOTTypes.YandexProtobufType.html index 035c209e..3023ec68 100644 --- a/docs/modules/VOTTypes.YandexProtobufType.html +++ b/docs/modules/VOTTypes.YandexProtobufType.html @@ -1,4 +1,4 @@ -YandexProtobufType | vot.js

          Namespace YandexProtobufType

          Index

          Enumerations

          StreamInterval +YandexProtobufType | vot.js

          Namespace YandexProtobufType

          Index

          Enumerations

          Interfaces

          StreamPingRequest StreamTranslationObject StreamTranslationRequest diff --git a/docs/modules/VOTTypes.YandexType.html b/docs/modules/VOTTypes.YandexType.html index 5bdc9e92..f6ebff28 100644 --- a/docs/modules/VOTTypes.YandexType.html +++ b/docs/modules/VOTTypes.YandexType.html @@ -1,4 +1,4 @@ -YandexType | vot.js

          Namespace YandexType

          Index

          Enumerations

          VideoService +YandexType | vot.js

          Namespace YandexType

          Index

          Enumerations

          Type Aliases

          RequestHeaders RequestLang diff --git a/docs/modules/VOTTypes.html b/docs/modules/VOTTypes.html index f94c6ce7..331292cc 100644 --- a/docs/modules/VOTTypes.html +++ b/docs/modules/VOTTypes.html @@ -1,4 +1,4 @@ -VOTTypes | vot.js

          Namespace VOTTypes

          Index

          Namespaces

          BannedVideoType +VOTTypes | vot.js

          Namespace VOTTypes

          Index

          Namespaces

          BannedVideoType BaseHelperType ClientType CoursehunterType diff --git a/docs/modules/VideoHelper.AppleDeveloperHelper.html b/docs/modules/VideoHelper.AppleDeveloperHelper.html index 7d9681bb..912af35e 100644 --- a/docs/modules/VideoHelper.AppleDeveloperHelper.html +++ b/docs/modules/VideoHelper.AppleDeveloperHelper.html @@ -1,2 +1,2 @@ -AppleDeveloperHelper | vot.js

          Namespace AppleDeveloperHelper

          Index

          Classes

          AppleDeveloperHelper +AppleDeveloperHelper | vot.js
          diff --git a/docs/modules/VideoHelper.BannedVideoHelper.html b/docs/modules/VideoHelper.BannedVideoHelper.html index 0ceff6ea..a961c299 100644 --- a/docs/modules/VideoHelper.BannedVideoHelper.html +++ b/docs/modules/VideoHelper.BannedVideoHelper.html @@ -1,2 +1,2 @@ -BannedVideoHelper | vot.js

          Namespace BannedVideoHelper

          Index

          Classes

          BannedVideoHelper +BannedVideoHelper | vot.js

          Namespace BannedVideoHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.CoursehunterHelper.html b/docs/modules/VideoHelper.CoursehunterHelper.html index 14c0b919..8ba82776 100644 --- a/docs/modules/VideoHelper.CoursehunterHelper.html +++ b/docs/modules/VideoHelper.CoursehunterHelper.html @@ -1,2 +1,2 @@ -CoursehunterHelper | vot.js

          Namespace CoursehunterHelper

          Index

          Classes

          CoursehunterHelper +CoursehunterHelper | vot.js

          Namespace CoursehunterHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.EpicGamesHelper.html b/docs/modules/VideoHelper.EpicGamesHelper.html index 4e6e64e2..51e7e828 100644 --- a/docs/modules/VideoHelper.EpicGamesHelper.html +++ b/docs/modules/VideoHelper.EpicGamesHelper.html @@ -1,2 +1,2 @@ -EpicGamesHelper | vot.js

          Namespace EpicGamesHelper

          Index

          Classes

          EpicGamesHelper +EpicGamesHelper | vot.js

          Namespace EpicGamesHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.KickHelper.html b/docs/modules/VideoHelper.KickHelper.html index d9b9aa07..d5944607 100644 --- a/docs/modules/VideoHelper.KickHelper.html +++ b/docs/modules/VideoHelper.KickHelper.html @@ -1,2 +1,2 @@ -KickHelper | vot.js

          Namespace KickHelper

          Index

          Classes

          KickHelper +KickHelper | vot.js

          Namespace KickHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.KodikHelper.html b/docs/modules/VideoHelper.KodikHelper.html index 57fa4fc4..60c2df6d 100644 --- a/docs/modules/VideoHelper.KodikHelper.html +++ b/docs/modules/VideoHelper.KodikHelper.html @@ -1,2 +1,2 @@ -KodikHelper | vot.js

          Namespace KodikHelper

          Index

          Classes

          KodikHelper +KodikHelper | vot.js

          Namespace KodikHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.LinkedinHelper.html b/docs/modules/VideoHelper.LinkedinHelper.html index 62e9e755..7f8f992b 100644 --- a/docs/modules/VideoHelper.LinkedinHelper.html +++ b/docs/modules/VideoHelper.LinkedinHelper.html @@ -1,2 +1,2 @@ -LinkedinHelper | vot.js

          Namespace LinkedinHelper

          Index

          Classes

          LinkedinHelper +LinkedinHelper | vot.js

          Namespace LinkedinHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.MailRuHelper.html b/docs/modules/VideoHelper.MailRuHelper.html index 750e2600..74d7d19e 100644 --- a/docs/modules/VideoHelper.MailRuHelper.html +++ b/docs/modules/VideoHelper.MailRuHelper.html @@ -1,2 +1,2 @@ -MailRuHelper | vot.js

          Namespace MailRuHelper

          Index

          Classes

          MailRuHelper +MailRuHelper | vot.js

          Namespace MailRuHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.NineAnimeTVHelper.html b/docs/modules/VideoHelper.NineAnimeTVHelper.html index e39bf644..389c621e 100644 --- a/docs/modules/VideoHelper.NineAnimeTVHelper.html +++ b/docs/modules/VideoHelper.NineAnimeTVHelper.html @@ -1,2 +1,2 @@ -NineAnimeTVHelper | vot.js

          Namespace NineAnimeTVHelper

          Index

          Classes

          NineAnimeTVHelper +NineAnimeTVHelper | vot.js

          Namespace NineAnimeTVHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.OdyseeHelper.html b/docs/modules/VideoHelper.OdyseeHelper.html index c372971f..844d1c08 100644 --- a/docs/modules/VideoHelper.OdyseeHelper.html +++ b/docs/modules/VideoHelper.OdyseeHelper.html @@ -1,2 +1,2 @@ -OdyseeHelper | vot.js

          Namespace OdyseeHelper

          Index

          Classes

          OdyseeHelper +OdyseeHelper | vot.js

          Namespace OdyseeHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.PatreonHelper.html b/docs/modules/VideoHelper.PatreonHelper.html index 7e1ec1ed..3607630b 100644 --- a/docs/modules/VideoHelper.PatreonHelper.html +++ b/docs/modules/VideoHelper.PatreonHelper.html @@ -1,2 +1,2 @@ -PatreonHelper | vot.js

          Namespace PatreonHelper

          Index

          Classes

          PatreonHelper +PatreonHelper | vot.js

          Namespace PatreonHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.RedditHelper.html b/docs/modules/VideoHelper.RedditHelper.html index ce48a7c2..16aeb416 100644 --- a/docs/modules/VideoHelper.RedditHelper.html +++ b/docs/modules/VideoHelper.RedditHelper.html @@ -1,2 +1,2 @@ -RedditHelper | vot.js

          Namespace RedditHelper

          Index

          Classes

          RedditHelper +RedditHelper | vot.js

          Namespace RedditHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.SapHelper.html b/docs/modules/VideoHelper.SapHelper.html index 102bb867..cb4a27ab 100644 --- a/docs/modules/VideoHelper.SapHelper.html +++ b/docs/modules/VideoHelper.SapHelper.html @@ -1,2 +1,2 @@ -SapHelper | vot.js

          Namespace SapHelper

          Index

          Classes

          SapHelper +SapHelper | vot.js

          Namespace SapHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.TwitchHelper.html b/docs/modules/VideoHelper.TwitchHelper.html index d5c5ed52..b6c5294e 100644 --- a/docs/modules/VideoHelper.TwitchHelper.html +++ b/docs/modules/VideoHelper.TwitchHelper.html @@ -1,2 +1,2 @@ -TwitchHelper | vot.js

          Namespace TwitchHelper

          Index

          Classes

          TwitchHelper +TwitchHelper | vot.js

          Namespace TwitchHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.VimeoHelper.html b/docs/modules/VideoHelper.VimeoHelper.html index 22849224..3060fcc3 100644 --- a/docs/modules/VideoHelper.VimeoHelper.html +++ b/docs/modules/VideoHelper.VimeoHelper.html @@ -1,2 +1,2 @@ -VimeoHelper | vot.js

          Namespace VimeoHelper

          Index

          Classes

          VimeoHelper +VimeoHelper | vot.js

          Namespace VimeoHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.WeverseHelper.html b/docs/modules/VideoHelper.WeverseHelper.html index ebf16ea0..182ff544 100644 --- a/docs/modules/VideoHelper.WeverseHelper.html +++ b/docs/modules/VideoHelper.WeverseHelper.html @@ -1,2 +1,2 @@ -WeverseHelper | vot.js

          Namespace WeverseHelper

          Index

          Classes

          WeverseHelper +WeverseHelper | vot.js

          Namespace WeverseHelper

          Index

          Classes

          diff --git a/docs/modules/VideoHelper.html b/docs/modules/VideoHelper.html index 50c45808..4e4924d1 100644 --- a/docs/modules/VideoHelper.html +++ b/docs/modules/VideoHelper.html @@ -1,4 +1,4 @@ -VideoHelper | vot.js

          Namespace VideoHelper

          Index

          Namespaces

          AppleDeveloperHelper +VideoHelper | vot.js

          Namespace VideoHelper

          Index

          Namespaces

          AppleDeveloperHelper BannedVideoHelper CoursehunterHelper EpicGamesHelper diff --git a/docs/types/VOTTypes.BannedVideoType.ChannelInfo.html b/docs/types/VOTTypes.BannedVideoType.ChannelInfo.html index a44a256a..05af3390 100644 --- a/docs/types/VOTTypes.BannedVideoType.ChannelInfo.html +++ b/docs/types/VOTTypes.BannedVideoType.ChannelInfo.html @@ -1 +1 @@ -ChannelInfo | vot.js
          ChannelInfo: {
              __typename: Channel;
              _id: string;
              avatar: string;
              title: string;
          }
          +ChannelInfo | vot.js
          ChannelInfo: {
              __typename: Channel;
              _id: string;
              avatar: string;
              title: string;
          }
          diff --git a/docs/types/VOTTypes.BannedVideoType.GraphQLResponse.html b/docs/types/VOTTypes.BannedVideoType.GraphQLResponse.html index 1d5b0872..7b26530a 100644 --- a/docs/types/VOTTypes.BannedVideoType.GraphQLResponse.html +++ b/docs/types/VOTTypes.BannedVideoType.GraphQLResponse.html @@ -1 +1 @@ -GraphQLResponse | vot.js
          GraphQLResponse: {
              data: Record<OperationName, VOTTypes.BannedVideoType.VideoInfo>;
              extensions: unknown;
          }
          +GraphQLResponse | vot.js
          GraphQLResponse: {
              data: Record<OperationName, VOTTypes.BannedVideoType.VideoInfo>;
              extensions: unknown;
          }
          diff --git a/docs/types/VOTTypes.BannedVideoType.OperationName.html b/docs/types/VOTTypes.BannedVideoType.OperationName.html index 54747f01..152d88c9 100644 --- a/docs/types/VOTTypes.BannedVideoType.OperationName.html +++ b/docs/types/VOTTypes.BannedVideoType.OperationName.html @@ -1 +1 @@ -OperationName | vot.js
          OperationName: "getVideo"
          +OperationName | vot.js
          OperationName: "getVideo"
          diff --git a/docs/types/VOTTypes.BannedVideoType.VideoInfo.html b/docs/types/VOTTypes.BannedVideoType.VideoInfo.html index a383048c..16a56e0d 100644 --- a/docs/types/VOTTypes.BannedVideoType.VideoInfo.html +++ b/docs/types/VOTTypes.BannedVideoType.VideoInfo.html @@ -1 +1 @@ -VideoInfo | vot.js
          VideoInfo: {
              description: string;
              duration: number;
              isStream: boolean;
              title: string;
              videoUrl: string;
          }
          +VideoInfo | vot.js
          VideoInfo: {
              description: string;
              duration: number;
              isStream: boolean;
              title: string;
              videoUrl: string;
          }
          diff --git a/docs/types/VOTTypes.BaseHelperType.BaseHelperOpts.html b/docs/types/VOTTypes.BaseHelperType.BaseHelperOpts.html index c2581d90..0931749e 100644 --- a/docs/types/VOTTypes.BaseHelperType.BaseHelperOpts.html +++ b/docs/types/VOTTypes.BaseHelperType.BaseHelperOpts.html @@ -1 +1 @@ -BaseHelperOpts | vot.js
          BaseHelperOpts: {
              extraInfo?: boolean;
              fetchFn?: FetchFunction;
              referer?: string;
              service?: ServiceConf;
          }
          +BaseHelperOpts | vot.js
          BaseHelperOpts: {
              extraInfo?: boolean;
              fetchFn?: FetchFunction;
              referer?: string;
              service?: ServiceConf;
          }
          diff --git a/docs/types/VOTTypes.ClientType.ClientFailedResponse.html b/docs/types/VOTTypes.ClientType.ClientFailedResponse.html index 11f94d49..2a9300f3 100644 --- a/docs/types/VOTTypes.ClientType.ClientFailedResponse.html +++ b/docs/types/VOTTypes.ClientType.ClientFailedResponse.html @@ -1 +1 @@ -ClientFailedResponse | vot.js

          Type Alias ClientFailedResponse

          ClientFailedResponse: {
              data: string | null;
              success: false;
          }
          +ClientFailedResponse | vot.js

          Type Alias ClientFailedResponse

          ClientFailedResponse: {
              data: string | null;
              success: false;
          }
          diff --git a/docs/types/VOTTypes.ClientType.ClientResponse.html b/docs/types/VOTTypes.ClientType.ClientResponse.html index d49e4dda..7ab5254b 100644 --- a/docs/types/VOTTypes.ClientType.ClientResponse.html +++ b/docs/types/VOTTypes.ClientType.ClientResponse.html @@ -1 +1 @@ -ClientResponse | vot.js

          Type Alias ClientResponse<T>

          Type Parameters

          • T = unknown
          +ClientResponse | vot.js

          Type Alias ClientResponse<T>

          Type Parameters

          • T = unknown
          diff --git a/docs/types/VOTTypes.ClientType.ClientSession.html b/docs/types/VOTTypes.ClientType.ClientSession.html index c4b8e0a0..16b07f6f 100644 --- a/docs/types/VOTTypes.ClientType.ClientSession.html +++ b/docs/types/VOTTypes.ClientType.ClientSession.html @@ -1 +1 @@ -ClientSession | vot.js
          ClientSession: {
              expires: number;
              secretKey: string;
              timestamp: number;
              uuid: string;
          }
          +ClientSession | vot.js
          ClientSession: {
              expires: number;
              secretKey: string;
              timestamp: number;
              uuid: string;
          }
          diff --git a/docs/types/VOTTypes.ClientType.ClientSuccessResponse.html b/docs/types/VOTTypes.ClientType.ClientSuccessResponse.html index 561a95a9..04e28b9c 100644 --- a/docs/types/VOTTypes.ClientType.ClientSuccessResponse.html +++ b/docs/types/VOTTypes.ClientType.ClientSuccessResponse.html @@ -1 +1 @@ -ClientSuccessResponse | vot.js

          Type Alias ClientSuccessResponse<T>

          ClientSuccessResponse<T>: {
              data: T;
              success: boolean;
          }

          Type Parameters

          • T = unknown
          +ClientSuccessResponse | vot.js

          Type Alias ClientSuccessResponse<T>

          ClientSuccessResponse<T>: {
              data: T;
              success: boolean;
          }

          Type Parameters

          • T = unknown
          diff --git a/docs/types/VOTTypes.ClientType.FetchFunction.html b/docs/types/VOTTypes.ClientType.FetchFunction.html index a863dbc5..10c42ec8 100644 --- a/docs/types/VOTTypes.ClientType.FetchFunction.html +++ b/docs/types/VOTTypes.ClientType.FetchFunction.html @@ -1 +1 @@ -FetchFunction | vot.js
          FetchFunction: ((input: string | URL | Request, init?: any) => Promise<Response>)
          +FetchFunction | vot.js
          FetchFunction: ((input: string | URL | Request, init?: any) => Promise<Response>)
          diff --git a/docs/types/VOTTypes.ClientType.GetVideoDataFunction.html b/docs/types/VOTTypes.ClientType.GetVideoDataFunction.html index 51913e34..e519453a 100644 --- a/docs/types/VOTTypes.ClientType.GetVideoDataFunction.html +++ b/docs/types/VOTTypes.ClientType.GetVideoDataFunction.html @@ -1 +1 @@ -GetVideoDataFunction | vot.js

          Type Alias GetVideoDataFunction

          GetVideoDataFunction: ((url: string, opts?: GetVideoDataOpts) => Promise<VOTTypes.ClientType.VideoData>)
          +GetVideoDataFunction | vot.js

          Type Alias GetVideoDataFunction

          GetVideoDataFunction: ((url: string, opts?: GetVideoDataOpts) => Promise<VOTTypes.ClientType.VideoData>)
          diff --git a/docs/types/VOTTypes.ClientType.GetVideoDataOpts.html b/docs/types/VOTTypes.ClientType.GetVideoDataOpts.html index 03391ca6..72c8b0f0 100644 --- a/docs/types/VOTTypes.ClientType.GetVideoDataOpts.html +++ b/docs/types/VOTTypes.ClientType.GetVideoDataOpts.html @@ -1 +1 @@ -GetVideoDataOpts | vot.js

          Type Alias GetVideoDataOpts

          GetVideoDataOpts: Omit<BaseHelperOpts, "service">
          +GetVideoDataOpts | vot.js

          Type Alias GetVideoDataOpts

          GetVideoDataOpts: Omit<BaseHelperOpts, "service">
          diff --git a/docs/types/VOTTypes.ClientType.MinimalVideoData.html b/docs/types/VOTTypes.ClientType.MinimalVideoData.html index bee281fe..41706ac7 100644 --- a/docs/types/VOTTypes.ClientType.MinimalVideoData.html +++ b/docs/types/VOTTypes.ClientType.MinimalVideoData.html @@ -1 +1 @@ -MinimalVideoData | vot.js

          Type Alias MinimalVideoData

          MinimalVideoData: AtLeast<VOTTypes.ClientType.VideoData, "url">
          +MinimalVideoData | vot.js

          Type Alias MinimalVideoData

          MinimalVideoData: AtLeast<VOTTypes.ClientType.VideoData, "url">
          diff --git a/docs/types/VOTTypes.ClientType.URLSchema.html b/docs/types/VOTTypes.ClientType.URLSchema.html index cb988cb8..41b3567c 100644 --- a/docs/types/VOTTypes.ClientType.URLSchema.html +++ b/docs/types/VOTTypes.ClientType.URLSchema.html @@ -1 +1 @@ -URLSchema | vot.js
          URLSchema: "http" | "https"
          +URLSchema | vot.js
          URLSchema: "http" | "https"
          diff --git a/docs/types/VOTTypes.ClientType.VOTOpts.html b/docs/types/VOTTypes.ClientType.VOTOpts.html index d60af3d7..ffd049d5 100644 --- a/docs/types/VOTTypes.ClientType.VOTOpts.html +++ b/docs/types/VOTTypes.ClientType.VOTOpts.html @@ -1 +1 @@ -VOTOpts | vot.js
          VOTOpts: {
              fetchFn?: FetchFunction;
              fetchOpts?: Record<string, unknown>;
              getVideoDataFn?: GetVideoDataFunction;
              headers?: Record<string, string>;
              host?: string;
              hostVOT?: string;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
          }
          +VOTOpts | vot.js
          VOTOpts: {
              fetchFn?: FetchFunction;
              fetchOpts?: Record<string, unknown>;
              getVideoDataFn?: GetVideoDataFunction;
              headers?: Record<string, string>;
              host?: string;
              hostVOT?: string;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
          }
          diff --git a/docs/types/VOTTypes.ClientType.VOTSessions.html b/docs/types/VOTTypes.ClientType.VOTSessions.html index e41e4916..0e144811 100644 --- a/docs/types/VOTTypes.ClientType.VOTSessions.html +++ b/docs/types/VOTTypes.ClientType.VOTSessions.html @@ -1 +1 @@ -VOTSessions | vot.js
          VOTSessions: {
              [K in SessionModule]?: ClientSession
          }
          +VOTSessions | vot.js
          VOTSessions: {
              [K in SessionModule]?: ClientSession
          }
          diff --git a/docs/types/VOTTypes.ClientType.VideoData.html b/docs/types/VOTTypes.ClientType.VideoData.html index e1205fc0..9ecf5f42 100644 --- a/docs/types/VOTTypes.ClientType.VideoData.html +++ b/docs/types/VOTTypes.ClientType.VideoData.html @@ -1 +1 @@ -VideoData | vot.js
          VideoData: {
              description?: string;
              duration?: number;
              host: VideoService;
              isStream?: boolean;
              subtitles?: VideoDataSubtitle[];
              title?: string;
              translationHelp?: TranslationHelp[] | null;
              url: string;
              videoId: string;
          }
          +VideoData | vot.js
          VideoData: {
              description?: string;
              duration?: number;
              host: VideoService;
              isStream?: boolean;
              subtitles?: VideoDataSubtitle[];
              title?: string;
              translationHelp?: TranslationHelp[] | null;
              url: string;
              videoId: string;
          }
          diff --git a/docs/types/VOTTypes.ClientType.VideoDataSubtitle.html b/docs/types/VOTTypes.ClientType.VideoDataSubtitle.html index 5e31b895..d23c8a7e 100644 --- a/docs/types/VOTTypes.ClientType.VideoDataSubtitle.html +++ b/docs/types/VOTTypes.ClientType.VideoDataSubtitle.html @@ -1 +1 @@ -VideoDataSubtitle | vot.js

          Type Alias VideoDataSubtitle

          VideoDataSubtitle: {
              format: SubtitleFormat;
              isAutoGenerated?: boolean;
              language: string;
              url: string;
          }
          +VideoDataSubtitle | vot.js

          Type Alias VideoDataSubtitle

          VideoDataSubtitle: {
              format: SubtitleFormat;
              isAutoGenerated?: boolean;
              language: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.CoursehunterType.Lesson.html b/docs/types/VOTTypes.CoursehunterType.Lesson.html index 5ba0e200..91abc7aa 100644 --- a/docs/types/VOTTypes.CoursehunterType.Lesson.html +++ b/docs/types/VOTTypes.CoursehunterType.Lesson.html @@ -1 +1 @@ -Lesson | vot.js
          Lesson: {
              duration: number;
              file: string;
              id: string;
              subtitle: string;
              title: string;
          }
          +Lesson | vot.js
          Lesson: {
              duration: number;
              file: string;
              id: string;
              subtitle: string;
              title: string;
          }
          diff --git a/docs/types/VOTTypes.EpicGamesType.Link.html b/docs/types/VOTTypes.EpicGamesType.Link.html index 57f3d75a..0f3b6c02 100644 --- a/docs/types/VOTTypes.EpicGamesType.Link.html +++ b/docs/types/VOTTypes.EpicGamesType.Link.html @@ -1 +1 @@ -Link | vot.js
          Link: {
              category: "useful_links";
              name: string;
              url: string;
          }
          +Link | vot.js
          Link: {
              category: "useful_links";
              name: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.EpicGamesType.LinkGroupBlock.html b/docs/types/VOTTypes.EpicGamesType.LinkGroupBlock.html index 39ca2421..9e7e4e12 100644 --- a/docs/types/VOTTypes.EpicGamesType.LinkGroupBlock.html +++ b/docs/types/VOTTypes.EpicGamesType.LinkGroupBlock.html @@ -1 +1 @@ -LinkGroupBlock | vot.js
          LinkGroupBlock: {
              links: Link[];
              type: "link_group";
          }
          +LinkGroupBlock | vot.js
          LinkGroupBlock: {
              links: Link[];
              type: "link_group";
          }
          diff --git a/docs/types/VOTTypes.EpicGamesType.Post.html b/docs/types/VOTTypes.EpicGamesType.Post.html index 8f5a3899..6c4ac3db 100644 --- a/docs/types/VOTTypes.EpicGamesType.Post.html +++ b/docs/types/VOTTypes.EpicGamesType.Post.html @@ -1 +1 @@ -Post | vot.js
          Post: {
              blocks: [VideoBlock, LinkGroupBlock];
              description: string;
              hash_id: string;
              id: number;
              locale: string;
              slug: string;
              status: "published";
              title: string;
          }
          +Post | vot.js
          Post: {
              blocks: [VideoBlock, LinkGroupBlock];
              description: string;
              hash_id: string;
              id: number;
              locale: string;
              slug: string;
              status: "published";
              title: string;
          }
          diff --git a/docs/types/VOTTypes.EpicGamesType.VideoBlock.html b/docs/types/VOTTypes.EpicGamesType.VideoBlock.html index e1edd33e..8b8fa2a8 100644 --- a/docs/types/VOTTypes.EpicGamesType.VideoBlock.html +++ b/docs/types/VOTTypes.EpicGamesType.VideoBlock.html @@ -1 +1 @@ -VideoBlock | vot.js
          VideoBlock: {
              autoplay: boolean;
              caption: string;
              provider: string;
              type: "video";
              video_captions: VideoCaption[];
              video_id: string;
              video_thumbnail_large_url: string;
              video_url: string;
          }
          +VideoBlock | vot.js
          VideoBlock: {
              autoplay: boolean;
              caption: string;
              provider: string;
              type: "video";
              video_captions: VideoCaption[];
              video_id: string;
              video_thumbnail_large_url: string;
              video_url: string;
          }
          diff --git a/docs/types/VOTTypes.EpicGamesType.VideoCaption.html b/docs/types/VOTTypes.EpicGamesType.VideoCaption.html index 0396254d..3e487f50 100644 --- a/docs/types/VOTTypes.EpicGamesType.VideoCaption.html +++ b/docs/types/VOTTypes.EpicGamesType.VideoCaption.html @@ -1 +1 @@ -VideoCaption | vot.js
          VideoCaption: {
              locale: string;
              signed_url: string;
          }
          +VideoCaption | vot.js
          VideoCaption: {
              locale: string;
              signed_url: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.Category.html b/docs/types/VOTTypes.KickType.Category.html index c84fbcc9..3207681b 100644 --- a/docs/types/VOTTypes.KickType.Category.html +++ b/docs/types/VOTTypes.KickType.Category.html @@ -1 +1 @@ -Category | vot.js
          Category: {
              banner: string;
              id: number;
              name: string;
              parent_category: string;
              responsive: string;
              slug: string;
          }
          +Category | vot.js
          Category: {
              banner: string;
              id: number;
              name: string;
              parent_category: string;
              responsive: string;
              slug: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.Channel.html b/docs/types/VOTTypes.KickType.Channel.html index cdf08142..856a0899 100644 --- a/docs/types/VOTTypes.KickType.Channel.html +++ b/docs/types/VOTTypes.KickType.Channel.html @@ -1 +1 @@ -Channel | vot.js
          Channel: {
              id: number;
              profile_picture: string;
              slug: string;
              username: string;
          }
          +Channel | vot.js
          Channel: {
              id: number;
              profile_picture: string;
              slug: string;
              username: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.ClipInfo.html b/docs/types/VOTTypes.KickType.ClipInfo.html index ab0d2c02..97c10830 100644 --- a/docs/types/VOTTypes.KickType.ClipInfo.html +++ b/docs/types/VOTTypes.KickType.ClipInfo.html @@ -1 +1 @@ -ClipInfo | vot.js
          ClipInfo: {
              category: Category;
              category_id: string;
              channel: Channel;
              channel_id: number;
              clip_url: string;
              created_at: ISODate;
              creator: Channel;
              duration: number;
              id: string;
              is_mature: boolean;
              liked: boolean;
              likes: number;
              likes_count: number;
              livestream_id: string;
              privacy: "CLIP_PRIVACY_PUBLIC";
              started_at: ISODate;
              thumbnail_url: string;
              title: string;
              user_id: number;
              video_url: string;
              view_count: number;
              views: number;
              vod: VOD;
          }
          +ClipInfo | vot.js
          ClipInfo: {
              category: Category;
              category_id: string;
              channel: Channel;
              channel_id: number;
              clip_url: string;
              created_at: ISODate;
              creator: Channel;
              duration: number;
              id: string;
              is_mature: boolean;
              liked: boolean;
              likes: number;
              likes_count: number;
              livestream_id: string;
              privacy: "CLIP_PRIVACY_PUBLIC";
              started_at: ISODate;
              thumbnail_url: string;
              title: string;
              user_id: number;
              video_url: string;
              view_count: number;
              views: number;
              vod: VOD;
          }
          diff --git a/docs/types/VOTTypes.KickType.ClipResponse.html b/docs/types/VOTTypes.KickType.ClipResponse.html index 299c82a3..49adfc01 100644 --- a/docs/types/VOTTypes.KickType.ClipResponse.html +++ b/docs/types/VOTTypes.KickType.ClipResponse.html @@ -1 +1 @@ -ClipResponse | vot.js

          Type Alias ClipResponse

          ClipResponse: {
              clip: ClipInfo;
          }
          +ClipResponse | vot.js

          Type Alias ClipResponse

          ClipResponse: {
              clip: ClipInfo;
          }
          diff --git a/docs/types/VOTTypes.KickType.LiveStream.html b/docs/types/VOTTypes.KickType.LiveStream.html index 2cb68cd8..038ea1ee 100644 --- a/docs/types/VOTTypes.KickType.LiveStream.html +++ b/docs/types/VOTTypes.KickType.LiveStream.html @@ -1 +1 @@ -LiveStream | vot.js
          LiveStream: {
              categories: StreamFullCategory[];
              channel: StreamChannel;
              channel_id: number;
              created_at: string;
              duration: number;
              id: number;
              is_live: boolean;
              is_mature: boolean;
              language: string;
              risk_level_id: null;
              session_title: string;
              slug: string;
              source: null;
              start_time: string;
              thumbnail: string;
              twitch_channel: null;
              viewer_count: number;
          }
          +LiveStream | vot.js
          LiveStream: {
              categories: StreamFullCategory[];
              channel: StreamChannel;
              channel_id: number;
              created_at: string;
              duration: number;
              id: number;
              is_live: boolean;
              is_mature: boolean;
              language: string;
              risk_level_id: null;
              session_title: string;
              slug: string;
              source: null;
              start_time: string;
              thumbnail: string;
              twitch_channel: null;
              viewer_count: number;
          }
          diff --git a/docs/types/VOTTypes.KickType.StreamCategory.html b/docs/types/VOTTypes.KickType.StreamCategory.html index 4ccaa8fd..c6e02c59 100644 --- a/docs/types/VOTTypes.KickType.StreamCategory.html +++ b/docs/types/VOTTypes.KickType.StreamCategory.html @@ -1 +1 @@ -StreamCategory | vot.js

          Type Alias StreamCategory

          StreamCategory: {
              icon: string;
              id: number;
              name: string;
              slug: string;
          }
          +StreamCategory | vot.js

          Type Alias StreamCategory

          StreamCategory: {
              icon: string;
              id: number;
              name: string;
              slug: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.StreamChannel.html b/docs/types/VOTTypes.KickType.StreamChannel.html index 5992cb00..3951ead0 100644 --- a/docs/types/VOTTypes.KickType.StreamChannel.html +++ b/docs/types/VOTTypes.KickType.StreamChannel.html @@ -1 +1 @@ -StreamChannel | vot.js

          Type Alias StreamChannel

          StreamChannel: {
              can_host: boolean;
              followersCount: number;
              id: number;
              is_banned: boolean;
              name_updated_at: string | null;
              playback_url: string;
              slug: string;
              subscription_enabled: boolean;
              user: UserSocial;
              user_id: number;
              verified: UserVerified | null;
              vod_enabled: boolean;
          }
          +StreamChannel | vot.js

          Type Alias StreamChannel

          StreamChannel: {
              can_host: boolean;
              followersCount: number;
              id: number;
              is_banned: boolean;
              name_updated_at: string | null;
              playback_url: string;
              slug: string;
              subscription_enabled: boolean;
              user: UserSocial;
              user_id: number;
              verified: UserVerified | null;
              vod_enabled: boolean;
          }
          diff --git a/docs/types/VOTTypes.KickType.StreamFullCategory.html b/docs/types/VOTTypes.KickType.StreamFullCategory.html index c3941974..14150974 100644 --- a/docs/types/VOTTypes.KickType.StreamFullCategory.html +++ b/docs/types/VOTTypes.KickType.StreamFullCategory.html @@ -1 +1 @@ -StreamFullCategory | vot.js

          Type Alias StreamFullCategory

          StreamFullCategory: {
              category: StreamCategory;
              category_id: number;
              deleted_at: null;
              description: string;
              id: number;
              name: string;
              slug: string;
              tags: string[];
              viewers: number;
          }
          +StreamFullCategory | vot.js

          Type Alias StreamFullCategory

          StreamFullCategory: {
              category: StreamCategory;
              category_id: number;
              deleted_at: null;
              description: string;
              id: number;
              name: string;
              slug: string;
              tags: string[];
              viewers: number;
          }
          diff --git a/docs/types/VOTTypes.KickType.UserSocial.html b/docs/types/VOTTypes.KickType.UserSocial.html index 73757051..9e8cb37d 100644 --- a/docs/types/VOTTypes.KickType.UserSocial.html +++ b/docs/types/VOTTypes.KickType.UserSocial.html @@ -1 +1 @@ -UserSocial | vot.js
          UserSocial: {
              bio: string;
              discord: string;
              facebook: string;
              instagram: string;
              profilepic: string;
              tiktok: string;
              twitter: string;
              username: string;
              youtube: string;
          }
          +UserSocial | vot.js
          UserSocial: {
              bio: string;
              discord: string;
              facebook: string;
              instagram: string;
              profilepic: string;
              tiktok: string;
              twitter: string;
              username: string;
              youtube: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.UserVerified.html b/docs/types/VOTTypes.KickType.UserVerified.html index 81510a88..e1166098 100644 --- a/docs/types/VOTTypes.KickType.UserVerified.html +++ b/docs/types/VOTTypes.KickType.UserVerified.html @@ -1 +1 @@ -UserVerified | vot.js

          Type Alias UserVerified

          UserVerified: {
              channel_id: number;
              created_at: ISODate;
              id: number;
              updated_at: ISODate;
          }
          +UserVerified | vot.js

          Type Alias UserVerified

          UserVerified: {
              channel_id: number;
              created_at: ISODate;
              id: number;
              updated_at: ISODate;
          }
          diff --git a/docs/types/VOTTypes.KickType.VOD.html b/docs/types/VOTTypes.KickType.VOD.html index f85ed1b2..35395f67 100644 --- a/docs/types/VOTTypes.KickType.VOD.html +++ b/docs/types/VOTTypes.KickType.VOD.html @@ -1 +1 @@ -VOD | vot.js
          VOD: {
              id: string;
          }
          +VOD | vot.js
          VOD: {
              id: string;
          }
          diff --git a/docs/types/VOTTypes.KickType.VideoResponse.html b/docs/types/VOTTypes.KickType.VideoResponse.html index 897ee0fe..d0d46666 100644 --- a/docs/types/VOTTypes.KickType.VideoResponse.html +++ b/docs/types/VOTTypes.KickType.VideoResponse.html @@ -1 +1 @@ -VideoResponse | vot.js

          Type Alias VideoResponse

          VideoResponse: {
              created_at: ISODate;
              deleted_at: null;
              id: number;
              live_stream_id: number;
              livestream: LiveStream;
              s3: null;
              slug: null;
              source: string;
              thumb: null;
              trading_platform_id: null;
              updated_at: ISODate;
              uuid: string;
              views: number;
          }
          +VideoResponse | vot.js

          Type Alias VideoResponse

          VideoResponse: {
              created_at: ISODate;
              deleted_at: null;
              id: number;
              live_stream_id: number;
              livestream: LiveStream;
              s3: null;
              slug: null;
              source: string;
              thumb: null;
              trading_platform_id: null;
              updated_at: ISODate;
              uuid: string;
              views: number;
          }
          diff --git a/docs/types/VOTTypes.KodikType.Hash.html b/docs/types/VOTTypes.KodikType.Hash.html index 26fa3d6e..54095ef8 100644 --- a/docs/types/VOTTypes.KodikType.Hash.html +++ b/docs/types/VOTTypes.KodikType.Hash.html @@ -1 +1 @@ -Hash | vot.js
          Hash: string
          +Hash | vot.js
          Hash: string
          diff --git a/docs/types/VOTTypes.KodikType.SecureContent.html b/docs/types/VOTTypes.KodikType.SecureContent.html index f1896e54..fc5b4322 100644 --- a/docs/types/VOTTypes.KodikType.SecureContent.html +++ b/docs/types/VOTTypes.KodikType.SecureContent.html @@ -1 +1 @@ -SecureContent | vot.js

          Type Alias SecureContent

          SecureContent: {
              advert_debug?: boolean;
              d: string;
              d_sign: string;
              first_url?: boolean;
              pd: string;
              pd_sign: string;
              ref: string;
              ref_sign: string;
          }
          +SecureContent | vot.js

          Type Alias SecureContent

          SecureContent: {
              advert_debug?: boolean;
              d: string;
              d_sign: string;
              first_url?: boolean;
              pd: string;
              pd_sign: string;
              ref: string;
              ref_sign: string;
          }
          diff --git a/docs/types/VOTTypes.KodikType.SecureData.html b/docs/types/VOTTypes.KodikType.SecureData.html index 1d452369..20352b28 100644 --- a/docs/types/VOTTypes.KodikType.SecureData.html +++ b/docs/types/VOTTypes.KodikType.SecureData.html @@ -1 +1 @@ -SecureData | vot.js
          SecureData: {
              hash: Hash;
              videoId: VideoId;
              videoType: VideoType;
          } & SecureContent
          +SecureData | vot.js
          SecureData: {
              hash: Hash;
              videoId: VideoId;
              videoType: VideoType;
          } & SecureContent
          diff --git a/docs/types/VOTTypes.KodikType.VideoData.html b/docs/types/VOTTypes.KodikType.VideoData.html index c1e3da6d..49dea7f1 100644 --- a/docs/types/VOTTypes.KodikType.VideoData.html +++ b/docs/types/VOTTypes.KodikType.VideoData.html @@ -1 +1 @@ -VideoData | vot.js
          VideoData: {
              advert_script: string;
              default: number;
              domain: string;
              ip: string;
              links: Record<string, VideoQualityData[]>;
              reserve_vast: VideoReserveVastData[];
              vast: VideoVastData[];
          }
          +VideoData | vot.js
          VideoData: {
              advert_script: string;
              default: number;
              domain: string;
              ip: string;
              links: Record<string, VideoQualityData[]>;
              reserve_vast: VideoReserveVastData[];
              vast: VideoVastData[];
          }
          diff --git a/docs/types/VOTTypes.KodikType.VideoId.html b/docs/types/VOTTypes.KodikType.VideoId.html index dafab4a7..ec47ad00 100644 --- a/docs/types/VOTTypes.KodikType.VideoId.html +++ b/docs/types/VOTTypes.KodikType.VideoId.html @@ -1 +1 @@ -VideoId | vot.js
          VideoId: string
          +VideoId | vot.js
          VideoId: string
          diff --git a/docs/types/VOTTypes.KodikType.VideoQualityData.html b/docs/types/VOTTypes.KodikType.VideoQualityData.html index f5392787..86f26f1a 100644 --- a/docs/types/VOTTypes.KodikType.VideoQualityData.html +++ b/docs/types/VOTTypes.KodikType.VideoQualityData.html @@ -1 +1 @@ -VideoQualityData | vot.js

          Type Alias VideoQualityData

          VideoQualityData: {
              src: string;
              type: string;
          }
          +VideoQualityData | vot.js

          Type Alias VideoQualityData

          VideoQualityData: {
              src: string;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.KodikType.VideoReserveVastData.html b/docs/types/VOTTypes.KodikType.VideoReserveVastData.html index 3db1aac7..debbf7c4 100644 --- a/docs/types/VOTTypes.KodikType.VideoReserveVastData.html +++ b/docs/types/VOTTypes.KodikType.VideoReserveVastData.html @@ -1 +1 @@ -VideoReserveVastData | vot.js

          Type Alias VideoReserveVastData

          VideoReserveVastData: {
              async_load: boolean;
              hide_interface: boolean;
              src: string;
              title_small: string;
              vpaid_max_load_time: number;
              vpaid_max_start_time: number;
              vpaid_target_event: string;
          }
          +VideoReserveVastData | vot.js

          Type Alias VideoReserveVastData

          VideoReserveVastData: {
              async_load: boolean;
              hide_interface: boolean;
              src: string;
              title_small: string;
              vpaid_max_load_time: number;
              vpaid_max_start_time: number;
              vpaid_target_event: string;
          }
          diff --git a/docs/types/VOTTypes.KodikType.VideoType.html b/docs/types/VOTTypes.KodikType.VideoType.html index dfac61b3..ca3ffc9a 100644 --- a/docs/types/VOTTypes.KodikType.VideoType.html +++ b/docs/types/VOTTypes.KodikType.VideoType.html @@ -1 +1 @@ -VideoType | vot.js
          VideoType: "seria" | "video"
          +VideoType | vot.js
          VideoType: "seria" | "video"
          diff --git a/docs/types/VOTTypes.LinkedinType.Source.html b/docs/types/VOTTypes.LinkedinType.Source.html index fb9580ab..452bef4d 100644 --- a/docs/types/VOTTypes.LinkedinType.Source.html +++ b/docs/types/VOTTypes.LinkedinType.Source.html @@ -1 +1 @@ -Source | vot.js
          Source: {
              src: string;
          }
          +Source | vot.js
          Source: {
              src: string;
          }
          diff --git a/docs/types/VOTTypes.MailRuType.VideoAuthor.html b/docs/types/VOTTypes.MailRuType.VideoAuthor.html index 2490bc23..31e50272 100644 --- a/docs/types/VOTTypes.MailRuType.VideoAuthor.html +++ b/docs/types/VOTTypes.MailRuType.VideoAuthor.html @@ -1 +1 @@ -VideoAuthor | vot.js
          VideoAuthor: {
              email: string;
              name: string;
              profile: string;
          }
          +VideoAuthor | vot.js
          VideoAuthor: {
              email: string;
              name: string;
              profile: string;
          }
          diff --git a/docs/types/VOTTypes.MailRuType.VideoCluster.html b/docs/types/VOTTypes.MailRuType.VideoCluster.html index 42eae206..d93679a1 100644 --- a/docs/types/VOTTypes.MailRuType.VideoCluster.html +++ b/docs/types/VOTTypes.MailRuType.VideoCluster.html @@ -1 +1 @@ -VideoCluster | vot.js
          VideoCluster: {
              id: number;
              name: string;
          }
          +VideoCluster | vot.js
          VideoCluster: {
              id: number;
              name: string;
          }
          diff --git a/docs/types/VOTTypes.MailRuType.VideoInfo.html b/docs/types/VOTTypes.MailRuType.VideoInfo.html index 8ceb33f2..aeff3361 100644 --- a/docs/types/VOTTypes.MailRuType.VideoInfo.html +++ b/docs/types/VOTTypes.MailRuType.VideoInfo.html @@ -1 +1 @@ -VideoInfo | vot.js
          VideoInfo: {
              admanUrl: string;
              adSlot: null;
              author: VideoAuthor;
              backscreenCounter: null;
              cluster: VideoCluster;
              encoding: boolean;
              flags: number;
              isChannel: boolean;
              isCommunity: boolean;
              isPrivate: boolean;
              meta: VideoMeta;
              multiOverlay: number;
              overlayTime: number;
              provider: string;
              region: number;
              relatedHost: null;
              savePoint: number;
              service: string;
              sitezone: null;
              skipAd: boolean;
              skipOverlay: boolean;
              spAccess: null;
              targetParent: boolean;
              version: number;
              videos: VideoRaw[];
          }
          +VideoInfo | vot.js
          VideoInfo: {
              admanUrl: string;
              adSlot: null;
              author: VideoAuthor;
              backscreenCounter: null;
              cluster: VideoCluster;
              encoding: boolean;
              flags: number;
              isChannel: boolean;
              isCommunity: boolean;
              isPrivate: boolean;
              meta: VideoMeta;
              multiOverlay: number;
              overlayTime: number;
              provider: string;
              region: number;
              relatedHost: null;
              savePoint: number;
              service: string;
              sitezone: null;
              skipAd: boolean;
              skipOverlay: boolean;
              spAccess: null;
              targetParent: boolean;
              version: number;
              videos: VideoRaw[];
          }
          diff --git a/docs/types/VOTTypes.MailRuType.VideoMeta.html b/docs/types/VOTTypes.MailRuType.VideoMeta.html index ae27c477..9392ba69 100644 --- a/docs/types/VOTTypes.MailRuType.VideoMeta.html +++ b/docs/types/VOTTypes.MailRuType.VideoMeta.html @@ -1 +1 @@ -VideoMeta | vot.js
          VideoMeta: {
              accId: number;
              duration: number;
              externalId: string;
              id: string;
              itemId: number;
              poster: string;
              timestamp: number;
              title: string;
              url: string;
              viewsCount: number;
          }
          +VideoMeta | vot.js
          VideoMeta: {
              accId: number;
              duration: number;
              externalId: string;
              id: string;
              itemId: number;
              poster: string;
              timestamp: number;
              title: string;
              url: string;
              viewsCount: number;
          }
          diff --git a/docs/types/VOTTypes.MailRuType.VideoRaw.html b/docs/types/VOTTypes.MailRuType.VideoRaw.html index fab80122..a9d6c6bd 100644 --- a/docs/types/VOTTypes.MailRuType.VideoRaw.html +++ b/docs/types/VOTTypes.MailRuType.VideoRaw.html @@ -1 +1 @@ -VideoRaw | vot.js
          VideoRaw: {
              key: string;
              seekSchema: 3;
              url: string;
          }
          +VideoRaw | vot.js
          VideoRaw: {
              key: string;
              seekSchema: 3;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.PlayerSources.html b/docs/types/VOTTypes.NineAnimeTVType.PlayerSources.html index 0488b29b..3adf41bb 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.PlayerSources.html +++ b/docs/types/VOTTypes.NineAnimeTVType.PlayerSources.html @@ -1 +1 @@ -PlayerSources | vot.js
          PlayerSources: {
              htmlGuide: string;
              link: string;
              server: number;
              sources: unknown[];
              tracks: unknown[];
              type: "iframe";
          }
          +PlayerSources | vot.js
          PlayerSources: {
              htmlGuide: string;
              link: string;
              server: number;
              sources: unknown[];
              tracks: unknown[];
              type: "iframe";
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.RapidData.html b/docs/types/VOTTypes.NineAnimeTVType.RapidData.html index e4c7b024..a577dd0e 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.RapidData.html +++ b/docs/types/VOTTypes.NineAnimeTVType.RapidData.html @@ -1 +1 @@ -RapidData | vot.js
          RapidData: {
              encrypted: boolean;
              intro?: RapidFragment;
              outro?: RapidFragment;
              server?: number;
              sources: RapidSource[];
              tracks: RapidTracks[];
          }
          +RapidData | vot.js
          RapidData: {
              encrypted: boolean;
              intro?: RapidFragment;
              outro?: RapidFragment;
              server?: number;
              sources: RapidSource[];
              tracks: RapidTracks[];
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.RapidFragment.html b/docs/types/VOTTypes.NineAnimeTVType.RapidFragment.html index ff5f9a1a..896ca721 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.RapidFragment.html +++ b/docs/types/VOTTypes.NineAnimeTVType.RapidFragment.html @@ -1 +1 @@ -RapidFragment | vot.js
          RapidFragment: {
              end: number;
              start: number;
          }
          +RapidFragment | vot.js
          RapidFragment: {
              end: number;
              start: number;
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.RapidSource.html b/docs/types/VOTTypes.NineAnimeTVType.RapidSource.html index 0d498352..2921cd1c 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.RapidSource.html +++ b/docs/types/VOTTypes.NineAnimeTVType.RapidSource.html @@ -1 +1 @@ -RapidSource | vot.js
          RapidSource: {
              file: string;
              type: string;
          }
          +RapidSource | vot.js
          RapidSource: {
              file: string;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.RapidTracks.html b/docs/types/VOTTypes.NineAnimeTVType.RapidTracks.html index e475e814..748ea64b 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.RapidTracks.html +++ b/docs/types/VOTTypes.NineAnimeTVType.RapidTracks.html @@ -1 +1 @@ -RapidTracks | vot.js
          RapidTracks: {
              default: boolean;
              file: string;
              kind: "captions";
              label: string;
          }
          +RapidTracks | vot.js
          RapidTracks: {
              default: boolean;
              file: string;
              kind: "captions";
              label: string;
          }
          diff --git a/docs/types/VOTTypes.NineAnimeTVType.ServersData.html b/docs/types/VOTTypes.NineAnimeTVType.ServersData.html index c5552666..2cc08abc 100644 --- a/docs/types/VOTTypes.NineAnimeTVType.ServersData.html +++ b/docs/types/VOTTypes.NineAnimeTVType.ServersData.html @@ -1 +1 @@ -ServersData | vot.js
          ServersData: {
              html?: string;
              status: boolean;
          }
          +ServersData | vot.js
          ServersData: {
              html?: string;
              status: boolean;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostData.html b/docs/types/VOTTypes.PatreonType.PostData.html index f03eca50..7ec95d47 100644 --- a/docs/types/VOTTypes.PatreonType.PostData.html +++ b/docs/types/VOTTypes.PatreonType.PostData.html @@ -1 +1 @@ -PostData | vot.js
          PostData: {
              attributes: PostDataAttributes;
              id: string;
              relationships?: unknown;
              type: string;
          }
          +PostData | vot.js
          PostData: {
              attributes: PostDataAttributes;
              id: string;
              relationships?: unknown;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostDataAttributes.html b/docs/types/VOTTypes.PatreonType.PostDataAttributes.html index 9254e4c7..61c790de 100644 --- a/docs/types/VOTTypes.PatreonType.PostDataAttributes.html +++ b/docs/types/VOTTypes.PatreonType.PostDataAttributes.html @@ -1 +1 @@ -PostDataAttributes | vot.js

          Type Alias PostDataAttributes

          PostDataAttributes: {
              comment_count: number;
              content: string;
              created_at: string;
              current_user_can_delete: boolean;
              current_user_can_report: boolean;
              current_user_can_view: boolean;
              deleted_at: string | null;
              edit_url: string;
              edited_at: string | null;
              embed: null;
              has_ti_violation: boolean;
              image: PostImage;
              is_automated_monthly_charge: boolean;
              is_paid: boolean;
              like_count: number;
              min_cents_pledged_to_view: number;
              moderation_status: string;
              patreon_url: string;
              pledge_url: string;
              post_file: PostFile;
              post_level_suspension_removal_date: null;
              post_metadata: null;
              post_type: string;
              preview_asset_type: null;
              published_at: string;
              scheduled_for: string;
              share_images: Record<string, Record<"url", string>>;
              teaser_text: string;
              thumbnail: PostImage;
              title: string;
              url: string;
              video_preview: null;
              was_posted_by_campaign_owner: boolean;
          }
          +PostDataAttributes | vot.js

          Type Alias PostDataAttributes

          PostDataAttributes: {
              comment_count: number;
              content: string;
              created_at: string;
              current_user_can_delete: boolean;
              current_user_can_report: boolean;
              current_user_can_view: boolean;
              deleted_at: string | null;
              edit_url: string;
              edited_at: string | null;
              embed: null;
              has_ti_violation: boolean;
              image: PostImage;
              is_automated_monthly_charge: boolean;
              is_paid: boolean;
              like_count: number;
              min_cents_pledged_to_view: number;
              moderation_status: string;
              patreon_url: string;
              pledge_url: string;
              post_file: PostFile;
              post_level_suspension_removal_date: null;
              post_metadata: null;
              post_type: string;
              preview_asset_type: null;
              published_at: string;
              scheduled_for: string;
              share_images: Record<string, Record<"url", string>>;
              teaser_text: string;
              thumbnail: PostImage;
              title: string;
              url: string;
              video_preview: null;
              was_posted_by_campaign_owner: boolean;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostFile.html b/docs/types/VOTTypes.PatreonType.PostFile.html index e41a4787..00413ded 100644 --- a/docs/types/VOTTypes.PatreonType.PostFile.html +++ b/docs/types/VOTTypes.PatreonType.PostFile.html @@ -1 +1 @@ -PostFile | vot.js
          PostFile: {
              closed_captions_enabled: boolean;
              default_thumbnail: PostFileThumbnail;
              duration: number;
              expires_at: string;
              full_content_duration: number;
              height: number;
              media_id: number;
              progress: PostFileProgress;
              state: string;
              url: string;
              video_issues: unknown;
              width: number;
          }
          +PostFile | vot.js
          PostFile: {
              closed_captions_enabled: boolean;
              default_thumbnail: PostFileThumbnail;
              duration: number;
              expires_at: string;
              full_content_duration: number;
              height: number;
              media_id: number;
              progress: PostFileProgress;
              state: string;
              url: string;
              video_issues: unknown;
              width: number;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostFileProgress.html b/docs/types/VOTTypes.PatreonType.PostFileProgress.html index 2c9bda3d..97e9884d 100644 --- a/docs/types/VOTTypes.PatreonType.PostFileProgress.html +++ b/docs/types/VOTTypes.PatreonType.PostFileProgress.html @@ -1 +1 @@ -PostFileProgress | vot.js
          PostFileProgress: {
              is_watched: boolean;
              watch_state: string;
          }
          +PostFileProgress | vot.js
          PostFileProgress: {
              is_watched: boolean;
              watch_state: string;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostFileThumbnail.html b/docs/types/VOTTypes.PatreonType.PostFileThumbnail.html index 4fdd776f..2d392df5 100644 --- a/docs/types/VOTTypes.PatreonType.PostFileThumbnail.html +++ b/docs/types/VOTTypes.PatreonType.PostFileThumbnail.html @@ -1 +1 @@ -PostFileThumbnail | vot.js

          Type Alias PostFileThumbnail

          PostFileThumbnail: {
              position: number;
              url: string;
          }
          +PostFileThumbnail | vot.js

          Type Alias PostFileThumbnail

          PostFileThumbnail: {
              position: number;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostImage.html b/docs/types/VOTTypes.PatreonType.PostImage.html index 1d495589..0c98cf75 100644 --- a/docs/types/VOTTypes.PatreonType.PostImage.html +++ b/docs/types/VOTTypes.PatreonType.PostImage.html @@ -1 +1 @@ -PostImage | vot.js
          PostImage: {
              height: number;
              url: string;
              width: number;
          }
          +PostImage | vot.js
          PostImage: {
              height: number;
              url: string;
              width: number;
          }
          diff --git a/docs/types/VOTTypes.PatreonType.PostsResponse.html b/docs/types/VOTTypes.PatreonType.PostsResponse.html index 05b96c71..56e07243 100644 --- a/docs/types/VOTTypes.PatreonType.PostsResponse.html +++ b/docs/types/VOTTypes.PatreonType.PostsResponse.html @@ -1 +1 @@ -PostsResponse | vot.js
          PostsResponse: {
              data: PostData;
              included?: unknown[];
              links: Record<string, string>;
          }
          +PostsResponse | vot.js
          PostsResponse: {
              data: PostData;
              included?: unknown[];
              links: Record<string, string>;
          }
          diff --git a/docs/types/VOTTypes.SapType.BaseEntryListResponse.html b/docs/types/VOTTypes.SapType.BaseEntryListResponse.html index 53d2503b..6a4aa916 100644 --- a/docs/types/VOTTypes.SapType.BaseEntryListResponse.html +++ b/docs/types/VOTTypes.SapType.BaseEntryListResponse.html @@ -1 +1 @@ -BaseEntryListResponse | vot.js

          Type Alias BaseEntryListResponse

          BaseEntryListResponse: {
              objects: MediaEntry[];
              objectType: "KalturaBaseEntryListResponse";
              totalCount: number;
          }
          +BaseEntryListResponse | vot.js

          Type Alias BaseEntryListResponse

          BaseEntryListResponse: {
              objects: MediaEntry[];
              objectType: "KalturaBaseEntryListResponse";
              totalCount: number;
          }
          diff --git a/docs/types/VOTTypes.SapType.FlavorAsset.html b/docs/types/VOTTypes.SapType.FlavorAsset.html index ae4b6ec1..a3b5d07c 100644 --- a/docs/types/VOTTypes.SapType.FlavorAsset.html +++ b/docs/types/VOTTypes.SapType.FlavorAsset.html @@ -1 +1 @@ -FlavorAsset | vot.js

          Type Alias FlavorAsset

          FlavorAsset: {
              bitrate: number;
              containerFormat: string;
              createdAt: number;
              description: string;
              entryId: string;
              fileExt: string;
              flavorParamsId: number;
              frameRate: number;
              height: number;
              id: string;
              isDefault: false;
              isOriginal: boolean;
              isWeb: boolean;
              language: string;
              objectType: "KalturaFlavorAsset";
              partnerId: number;
              size: number;
              sizeInBytes: string;
              status: number;
              tags: string;
              updatedAt: number;
              version: string;
              videoCodecId: string;
              width: number;
          }
          +FlavorAsset | vot.js

          Type Alias FlavorAsset

          FlavorAsset: {
              bitrate: number;
              containerFormat: string;
              createdAt: number;
              description: string;
              entryId: string;
              fileExt: string;
              flavorParamsId: number;
              frameRate: number;
              height: number;
              id: string;
              isDefault: false;
              isOriginal: boolean;
              isWeb: boolean;
              language: string;
              objectType: "KalturaFlavorAsset";
              partnerId: number;
              size: number;
              sizeInBytes: string;
              status: number;
              tags: string;
              updatedAt: number;
              version: string;
              videoCodecId: string;
              width: number;
          }
          diff --git a/docs/types/VOTTypes.SapType.MediaEntry.html b/docs/types/VOTTypes.SapType.MediaEntry.html index 6200fb9a..e9cd3511 100644 --- a/docs/types/VOTTypes.SapType.MediaEntry.html +++ b/docs/types/VOTTypes.SapType.MediaEntry.html @@ -1 +1 @@ -MediaEntry | vot.js

          Type Alias MediaEntry

          MediaEntry: {
              createdAt: number;
              creatorId: string;
              dataUrl: string;
              description: string;
              downloadUrl: string;
              duration: number;
              flavorParamsIds: string;
              id: string;
              name: string;
              objectType: "KalturaMediaEntry";
              plays: number;
              type: number;
              updatedAt: number;
              views: number;
          }
          +MediaEntry | vot.js

          Type Alias MediaEntry

          MediaEntry: {
              createdAt: number;
              creatorId: string;
              dataUrl: string;
              description: string;
              downloadUrl: string;
              duration: number;
              flavorParamsIds: string;
              id: string;
              name: string;
              objectType: "KalturaMediaEntry";
              plays: number;
              type: number;
              updatedAt: number;
              views: number;
          }
          diff --git a/docs/types/VOTTypes.SapType.PlaybackCaption.html b/docs/types/VOTTypes.SapType.PlaybackCaption.html index b1420038..e4d9b4a5 100644 --- a/docs/types/VOTTypes.SapType.PlaybackCaption.html +++ b/docs/types/VOTTypes.SapType.PlaybackCaption.html @@ -1 +1 @@ -PlaybackCaption | vot.js

          Type Alias PlaybackCaption

          PlaybackCaption: {
              format: string;
              isDefault: boolean;
              label: string;
              language: string;
              languageCode: string;
              objectType: "KalturaCaptionPlaybackPluginData";
              url: string;
              webVttUrl: string;
          }
          +PlaybackCaption | vot.js

          Type Alias PlaybackCaption

          PlaybackCaption: {
              format: string;
              isDefault: boolean;
              label: string;
              language: string;
              languageCode: string;
              objectType: "KalturaCaptionPlaybackPluginData";
              url: string;
              webVttUrl: string;
          }
          diff --git a/docs/types/VOTTypes.SapType.PlaybackContextResponse.html b/docs/types/VOTTypes.SapType.PlaybackContextResponse.html index 05c5695a..e61fc175 100644 --- a/docs/types/VOTTypes.SapType.PlaybackContextResponse.html +++ b/docs/types/VOTTypes.SapType.PlaybackContextResponse.html @@ -1 +1 @@ -PlaybackContextResponse | vot.js

          Type Alias PlaybackContextResponse

          PlaybackContextResponse: {
              actions: unknown[];
              bumperData: unknown[];
              flavorAssets: FlavorAsset[];
              messages: unknown[];
              objectType: "KalturaPlaybackContext";
              playbackCaptions: PlaybackCaption[];
              sources: PlaybackSource[];
          }
          +PlaybackContextResponse | vot.js

          Type Alias PlaybackContextResponse

          PlaybackContextResponse: {
              actions: unknown[];
              bumperData: unknown[];
              flavorAssets: FlavorAsset[];
              messages: unknown[];
              objectType: "KalturaPlaybackContext";
              playbackCaptions: PlaybackCaption[];
              sources: PlaybackSource[];
          }
          diff --git a/docs/types/VOTTypes.SapType.PlaybackSource.html b/docs/types/VOTTypes.SapType.PlaybackSource.html index 65badd62..58ac305a 100644 --- a/docs/types/VOTTypes.SapType.PlaybackSource.html +++ b/docs/types/VOTTypes.SapType.PlaybackSource.html @@ -1 +1 @@ -PlaybackSource | vot.js

          Type Alias PlaybackSource

          PlaybackSource: {
              deliveryProfileId: number;
              drm: unknown[];
              flavorIds: string;
              format:
                  | "url"
                  | "hdnetworkmanifest"
                  | "mpegdash"
                  | "hdnetwork"
                  | "applehttp"
                  | "rtsp";
              objectType: "KalturaPlaybackSource";
              protocols:
                  | "http,https"
                  | "http"
                  | "rtmp,rtmpe,rtmpt,rtmpte"
                  | "https";
              url: string;
          }
          +PlaybackSource | vot.js

          Type Alias PlaybackSource

          PlaybackSource: {
              deliveryProfileId: number;
              drm: unknown[];
              flavorIds: string;
              format:
                  | "url"
                  | "hdnetworkmanifest"
                  | "mpegdash"
                  | "hdnetwork"
                  | "applehttp"
                  | "rtsp";
              objectType: "KalturaPlaybackSource";
              protocols:
                  | "http,https"
                  | "http"
                  | "rtmp,rtmpe,rtmpt,rtmpte"
                  | "https";
              url: string;
          }
          diff --git a/docs/types/VOTTypes.SapType.Response.html b/docs/types/VOTTypes.SapType.Response.html index 8b2a5fa1..504ccea0 100644 --- a/docs/types/VOTTypes.SapType.Response.html +++ b/docs/types/VOTTypes.SapType.Response.html @@ -1 +1 @@ -Response | vot.js
          +Response | vot.js
          diff --git a/docs/types/VOTTypes.SapType.sessionResponse.html b/docs/types/VOTTypes.SapType.sessionResponse.html index e38833e2..981b0ec8 100644 --- a/docs/types/VOTTypes.SapType.sessionResponse.html +++ b/docs/types/VOTTypes.SapType.sessionResponse.html @@ -1 +1 @@ -sessionResponse | vot.js

          Type Alias sessionResponse

          sessionResponse: {
              ks: string;
              objectType: "KalturaStartWidgetSessionResponse";
              partnerId: number;
              userId: number;
          }
          +sessionResponse | vot.js

          Type Alias sessionResponse

          sessionResponse: {
              ks: string;
              objectType: "KalturaStartWidgetSessionResponse";
              partnerId: number;
              userId: number;
          }
          diff --git a/docs/types/VOTTypes.SubsType.SubtitleFormat.html b/docs/types/VOTTypes.SubsType.SubtitleFormat.html index c652ccc9..fbb1125a 100644 --- a/docs/types/VOTTypes.SubsType.SubtitleFormat.html +++ b/docs/types/VOTTypes.SubsType.SubtitleFormat.html @@ -1 +1 @@ -SubtitleFormat | vot.js

          Type Alias SubtitleFormat

          SubtitleFormat: typeof subtitlesFormats[number]
          +SubtitleFormat | vot.js

          Type Alias SubtitleFormat

          SubtitleFormat: typeof subtitlesFormats[number]
          diff --git a/docs/types/VOTTypes.SubsType.SubtitleItem.html b/docs/types/VOTTypes.SubsType.SubtitleItem.html index 09027c3a..59c39332 100644 --- a/docs/types/VOTTypes.SubsType.SubtitleItem.html +++ b/docs/types/VOTTypes.SubsType.SubtitleItem.html @@ -1 +1 @@ -SubtitleItem | vot.js

          Type Alias SubtitleItem

          SubtitleItem: {
              durationMs: number;
              speakerId: string;
              startMs: number;
              text: string;
              tokens?: SubtitleToken[];
          }
          +SubtitleItem | vot.js

          Type Alias SubtitleItem

          SubtitleItem: {
              durationMs: number;
              speakerId: string;
              startMs: number;
              text: string;
              tokens?: SubtitleToken[];
          }
          diff --git a/docs/types/VOTTypes.SubsType.SubtitleToken.html b/docs/types/VOTTypes.SubsType.SubtitleToken.html index 0dcca9a6..fca89987 100644 --- a/docs/types/VOTTypes.SubsType.SubtitleToken.html +++ b/docs/types/VOTTypes.SubsType.SubtitleToken.html @@ -1 +1 @@ -SubtitleToken | vot.js

          Type Alias SubtitleToken

          SubtitleToken: {
              durationMs: number;
              startMs: number;
              text: string;
          }
          +SubtitleToken | vot.js

          Type Alias SubtitleToken

          SubtitleToken: {
              durationMs: number;
              startMs: number;
              text: string;
          }
          diff --git a/docs/types/VOTTypes.SubsType.SubtitlesData.html b/docs/types/VOTTypes.SubsType.SubtitlesData.html index 71135d34..a19965d5 100644 --- a/docs/types/VOTTypes.SubsType.SubtitlesData.html +++ b/docs/types/VOTTypes.SubsType.SubtitlesData.html @@ -1 +1 @@ -SubtitlesData | vot.js

          Type Alias SubtitlesData

          SubtitlesData: {
              containsTokens: boolean;
              subtitles: SubtitleItem[];
          }
          +SubtitlesData | vot.js

          Type Alias SubtitlesData

          SubtitlesData: {
              containsTokens: boolean;
              subtitles: SubtitleItem[];
          }
          diff --git a/docs/types/VOTTypes.UtilsType.AtLeast.html b/docs/types/VOTTypes.UtilsType.AtLeast.html index 04627dab..a9650ca5 100644 --- a/docs/types/VOTTypes.UtilsType.AtLeast.html +++ b/docs/types/VOTTypes.UtilsType.AtLeast.html @@ -1 +1 @@ -AtLeast | vot.js

          Type Alias AtLeast<T, K>

          AtLeast<T, K>: Partial<T> & Pick<T, K>

          Type Parameters

          • T
          • K extends keyof T
          +AtLeast | vot.js

          Type Alias AtLeast<T, K>

          AtLeast<T, K>: Partial<T> & Pick<T, K>

          Type Parameters

          • T
          • K extends keyof T
          diff --git a/docs/types/VOTTypes.UtilsType.ISODate.html b/docs/types/VOTTypes.UtilsType.ISODate.html index fedf3012..2c903576 100644 --- a/docs/types/VOTTypes.UtilsType.ISODate.html +++ b/docs/types/VOTTypes.UtilsType.ISODate.html @@ -1 +1 @@ -ISODate | vot.js
          ISODate: string
          +ISODate | vot.js
          ISODate: string
          diff --git a/docs/types/VOTTypes.UtilsType.TinyInt.html b/docs/types/VOTTypes.UtilsType.TinyInt.html index b6a53353..5990a573 100644 --- a/docs/types/VOTTypes.UtilsType.TinyInt.html +++ b/docs/types/VOTTypes.UtilsType.TinyInt.html @@ -1 +1 @@ -TinyInt | vot.js
          TinyInt: 0 | 1
          +TinyInt | vot.js
          TinyInt: 0 | 1
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationFailedResponse.html b/docs/types/VOTTypes.VOTBackendType.TranslationFailedResponse.html index b2613f86..18305037 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationFailedResponse.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationFailedResponse.html @@ -1 +1 @@ -TranslationFailedResponse | vot.js

          Type Alias TranslationFailedResponse

          TranslationFailedResponse: {
              createdAt: string;
              id: number;
              message: string;
              provider: TranslationProvider;
              status: "failed";
              translatedUrl: null;
          }
          +TranslationFailedResponse | vot.js

          Type Alias TranslationFailedResponse

          TranslationFailedResponse: {
              createdAt: string;
              id: number;
              message: string;
              provider: TranslationProvider;
              status: "failed";
              translatedUrl: null;
          }
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationProvider.html b/docs/types/VOTTypes.VOTBackendType.TranslationProvider.html index 02a12c9b..ed8eb76c 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationProvider.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationProvider.html @@ -1 +1 @@ -TranslationProvider | vot.js
          TranslationProvider: "yandex"
          +TranslationProvider | vot.js
          TranslationProvider: "yandex"
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationResponse.html b/docs/types/VOTTypes.VOTBackendType.TranslationResponse.html index 2b4be2d0..ad3d1a77 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationResponse.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationResponse.html @@ -1 +1 @@ -TranslationResponse | vot.js
          +TranslationResponse | vot.js
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationStatus.html b/docs/types/VOTTypes.VOTBackendType.TranslationStatus.html index e048695e..87f8c07e 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationStatus.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationStatus.html @@ -1 +1 @@ -TranslationStatus | vot.js
          TranslationStatus:
              | "success"
              | "waiting"
              | "parted"
              | "failed"
          +TranslationStatus | vot.js
          TranslationStatus:
              | "success"
              | "waiting"
              | "parted"
              | "failed"
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationSuccessResponse.html b/docs/types/VOTTypes.VOTBackendType.TranslationSuccessResponse.html index d07945fe..90628ade 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationSuccessResponse.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationSuccessResponse.html @@ -1 +1 @@ -TranslationSuccessResponse | vot.js

          Type Alias TranslationSuccessResponse

          TranslationSuccessResponse: {
              createdAt: string;
              id: number;
              message: string;
              provider: TranslationProvider;
              status: "success";
              translatedUrl: string;
          }
          +TranslationSuccessResponse | vot.js

          Type Alias TranslationSuccessResponse

          TranslationSuccessResponse: {
              createdAt: string;
              id: number;
              message: string;
              provider: TranslationProvider;
              status: "success";
              translatedUrl: string;
          }
          diff --git a/docs/types/VOTTypes.VOTBackendType.TranslationWaitingResponse.html b/docs/types/VOTTypes.VOTBackendType.TranslationWaitingResponse.html index 047cf6d4..fb8ba62f 100644 --- a/docs/types/VOTTypes.VOTBackendType.TranslationWaitingResponse.html +++ b/docs/types/VOTTypes.VOTBackendType.TranslationWaitingResponse.html @@ -1 +1 @@ -TranslationWaitingResponse | vot.js

          Type Alias TranslationWaitingResponse

          TranslationWaitingResponse: {
              message: string;
              remainingTime: number;
              status: "waiting";
          }
          +TranslationWaitingResponse | vot.js

          Type Alias TranslationWaitingResponse

          TranslationWaitingResponse: {
              message: string;
              remainingTime: number;
              status: "waiting";
          }
          diff --git a/docs/types/VOTTypes.VOTBackendType.VideoTranslationVOTOpts.html b/docs/types/VOTTypes.VOTBackendType.VideoTranslationVOTOpts.html index c6f4f65c..378705c2 100644 --- a/docs/types/VOTTypes.VOTBackendType.VideoTranslationVOTOpts.html +++ b/docs/types/VOTTypes.VOTBackendType.VideoTranslationVOTOpts.html @@ -1 +1 @@ -VideoTranslationVOTOpts | vot.js

          Type Alias VideoTranslationVOTOpts

          VideoTranslationVOTOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              service: VideoService;
              url: string;
              videoId: string;
          }
          +VideoTranslationVOTOpts | vot.js

          Type Alias VideoTranslationVOTOpts

          VideoTranslationVOTOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              service: VideoService;
              url: string;
              videoId: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.DashFileConfig.html b/docs/types/VOTTypes.VimeoType.DashFileConfig.html index 82bfc965..5a7669cc 100644 --- a/docs/types/VOTTypes.VimeoType.DashFileConfig.html +++ b/docs/types/VOTTypes.VimeoType.DashFileConfig.html @@ -1 +1 @@ -DashFileConfig | vot.js

          Type Alias DashFileConfig

          DashFileConfig: {
              audio: DashFileAudio[];
              base_url: string;
              clip_id: string;
              video: DashFileVideo[];
          }
          +DashFileConfig | vot.js

          Type Alias DashFileConfig

          DashFileConfig: {
              audio: DashFileAudio[];
              base_url: string;
              clip_id: string;
              video: DashFileVideo[];
          }
          diff --git a/docs/types/VOTTypes.VimeoType.DashFileVideo.html b/docs/types/VOTTypes.VimeoType.DashFileVideo.html index 9bedb194..b92a55ac 100644 --- a/docs/types/VOTTypes.VimeoType.DashFileVideo.html +++ b/docs/types/VOTTypes.VimeoType.DashFileVideo.html @@ -1 +1 @@ -DashFileVideo | vot.js

          Type Alias DashFileVideo

          DashFileVideo: {
              avg_bitrate: number;
              avg_id: string;
              base_url: string;
              bitrate: number;
              codecs: string;
              duration: number;
              format: "dash" | "mp42";
              framerate: number;
              height: number;
              id: string;
              index_segment?: string;
              init_segment: string;
              max_segment_duration: number;
              mime_type: "video/mp4";
              segments: DashFileVideoSegment[];
              width: number;
          }
          +DashFileVideo | vot.js

          Type Alias DashFileVideo

          DashFileVideo: {
              avg_bitrate: number;
              avg_id: string;
              base_url: string;
              bitrate: number;
              codecs: string;
              duration: number;
              format: "dash" | "mp42";
              framerate: number;
              height: number;
              id: string;
              index_segment?: string;
              init_segment: string;
              max_segment_duration: number;
              mime_type: "video/mp4";
              segments: DashFileVideoSegment[];
              width: number;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.DashFileVideoSegment.html b/docs/types/VOTTypes.VimeoType.DashFileVideoSegment.html index c848d701..f05d39c5 100644 --- a/docs/types/VOTTypes.VimeoType.DashFileVideoSegment.html +++ b/docs/types/VOTTypes.VimeoType.DashFileVideoSegment.html @@ -1 +1 @@ -DashFileVideoSegment | vot.js

          Type Alias DashFileVideoSegment

          DashFileVideoSegment: {
              end: number;
              size: number;
              start: number;
              url: string;
          }
          +DashFileVideoSegment | vot.js

          Type Alias DashFileVideoSegment

          DashFileVideoSegment: {
              end: number;
              size: number;
              start: number;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.DashStream.html b/docs/types/VOTTypes.VimeoType.DashStream.html index 9a524278..258f2305 100644 --- a/docs/types/VOTTypes.VimeoType.DashStream.html +++ b/docs/types/VOTTypes.VimeoType.DashStream.html @@ -1 +1 @@ -DashStream | vot.js
          DashStream: {
              fps: number;
              id: string;
              profile: string;
              quality: string;
          }
          +DashStream | vot.js
          DashStream: {
              fps: number;
              id: string;
              profile: string;
              quality: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.Data.html b/docs/types/VOTTypes.VimeoType.Data.html index 07bc967d..6254dd16 100644 --- a/docs/types/VOTTypes.VimeoType.Data.html +++ b/docs/types/VOTTypes.VimeoType.Data.html @@ -1 +1 @@ -Data | vot.js
          +Data | vot.js
          diff --git a/docs/types/VOTTypes.VimeoType.Error.html b/docs/types/VOTTypes.VimeoType.Error.html index 3ddd4800..164ff519 100644 --- a/docs/types/VOTTypes.VimeoType.Error.html +++ b/docs/types/VOTTypes.VimeoType.Error.html @@ -1 +1 @@ -Error | vot.js
          Error: {
              developer_message?: string;
              error: string;
              error_code?: number;
              link?: string;
          }
          +Error | vot.js
          Error: {
              developer_message?: string;
              error: string;
              error_code?: number;
              link?: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PaginationResponse.html b/docs/types/VOTTypes.VimeoType.PaginationResponse.html index 516dc95b..a082641c 100644 --- a/docs/types/VOTTypes.VimeoType.PaginationResponse.html +++ b/docs/types/VOTTypes.VimeoType.PaginationResponse.html @@ -1 +1 @@ -PaginationResponse | vot.js

          Type Alias PaginationResponse<T>

          PaginationResponse<T>: {
              data: T;
              page: number;
              paging: Paging;
              per_page: 100;
              total: number;
          }

          Type Parameters

          • T
          +PaginationResponse | vot.js

          Type Alias PaginationResponse<T>

          PaginationResponse<T>: {
              data: T;
              page: number;
              paging: Paging;
              per_page: 100;
              total: number;
          }

          Type Parameters

          • T
          diff --git a/docs/types/VOTTypes.VimeoType.Paging.html b/docs/types/VOTTypes.VimeoType.Paging.html index 464279d0..ae115e81 100644 --- a/docs/types/VOTTypes.VimeoType.Paging.html +++ b/docs/types/VOTTypes.VimeoType.Paging.html @@ -1 +1 @@ -Paging | vot.js
          Paging: {
              first: string;
              last: string;
              next: null | number;
              previous: null | number;
          }
          +Paging | vot.js
          Paging: {
              first: string;
              last: string;
              next: null | number;
              previous: null | number;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PlayerConfig.html b/docs/types/VOTTypes.VimeoType.PlayerConfig.html index 4e940ae5..f07f822f 100644 --- a/docs/types/VOTTypes.VimeoType.PlayerConfig.html +++ b/docs/types/VOTTypes.VimeoType.PlayerConfig.html @@ -1 +1 @@ -PlayerConfig | vot.js
          PlayerConfig: {
              _colors: Record<string, string>;
              cdn_url: string;
              embed: Record<string, string>;
              player_url: string;
              request: PrivateRequest;
              user: unknown;
              video: PrivateVideo;
              view: number;
              vimeo_api_url: string;
              vimeo_url: string;
          }
          +PlayerConfig | vot.js
          PlayerConfig: {
              _colors: Record<string, string>;
              cdn_url: string;
              embed: Record<string, string>;
              player_url: string;
              request: PrivateRequest;
              user: unknown;
              video: PrivateVideo;
              view: number;
              vimeo_api_url: string;
              vimeo_url: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateFileCDN.html b/docs/types/VOTTypes.VimeoType.PrivateFileCDN.html index ab279c63..907d21f5 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateFileCDN.html +++ b/docs/types/VOTTypes.VimeoType.PrivateFileCDN.html @@ -1 +1 @@ -PrivateFileCDN | vot.js

          Type Alias PrivateFileCDN

          PrivateFileCDN: {
              avc_url: string;
              captions?: string;
              origin: "gcs";
              url: string;
          }
          +PrivateFileCDN | vot.js

          Type Alias PrivateFileCDN

          PrivateFileCDN: {
              avc_url: string;
              captions?: string;
              origin: "gcs";
              url: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateFiles.html b/docs/types/VOTTypes.VimeoType.PrivateFiles.html index 736613f0..6d243f30 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateFiles.html +++ b/docs/types/VOTTypes.VimeoType.PrivateFiles.html @@ -1 +1 @@ -PrivateFiles | vot.js
          PrivateFiles: {
              dash: PrivateDashFiles;
              hls: PrivateHLSFiles;
          }
          +PrivateFiles | vot.js
          PrivateFiles: {
              dash: PrivateDashFiles;
              hls: PrivateHLSFiles;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateHLSFiles.html b/docs/types/VOTTypes.VimeoType.PrivateHLSFiles.html index 16f1225a..4d99f9fe 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateHLSFiles.html +++ b/docs/types/VOTTypes.VimeoType.PrivateHLSFiles.html @@ -1 +1 @@ -PrivateHLSFiles | vot.js

          Type Alias PrivateHLSFiles

          PrivateHLSFiles: {
              cdns: Record<string, PrivateFileCDN>;
              default_cdn: string;
              separate_av: boolean;
          }
          +PrivateHLSFiles | vot.js

          Type Alias PrivateHLSFiles

          PrivateHLSFiles: {
              cdns: Record<string, PrivateFileCDN>;
              default_cdn: string;
              separate_av: boolean;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateRequest.html b/docs/types/VOTTypes.VimeoType.PrivateRequest.html index 1d124dcb..78d659c3 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateRequest.html +++ b/docs/types/VOTTypes.VimeoType.PrivateRequest.html @@ -1 +1 @@ -PrivateRequest | vot.js

          Type Alias PrivateRequest

          PrivateRequest: {
              ab_tests: unknown;
              ai_widget_signature: string;
              atid: string;
              build: unknown;
              client: Record<"ip", string>;
              cookie: unknown;
              cookie_domain: string;
              country: string;
              currency: string;
              expires: number;
              file_codecs: unknown;
              files: PrivateFiles;
              flags: Record<string, string | number>;
              lang: string;
              referrer: string;
              session: string;
              signature: string;
              text_tracks: PrivateVideoSubtitle[];
              thumb_preview: Record<string, string | number>;
              timestamp: number;
              urls: Record<string, string>;
          }
          +PrivateRequest | vot.js

          Type Alias PrivateRequest

          PrivateRequest: {
              ab_tests: unknown;
              ai_widget_signature: string;
              atid: string;
              build: unknown;
              client: Record<"ip", string>;
              cookie: unknown;
              cookie_domain: string;
              country: string;
              currency: string;
              expires: number;
              file_codecs: unknown;
              files: PrivateFiles;
              flags: Record<string, string | number>;
              lang: string;
              referrer: string;
              session: string;
              signature: string;
              text_tracks: PrivateVideoSubtitle[];
              thumb_preview: Record<string, string | number>;
              timestamp: number;
              urls: Record<string, string>;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateVideo.html b/docs/types/VOTTypes.VimeoType.PrivateVideo.html index 69ad247b..0866b7ad 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateVideo.html +++ b/docs/types/VOTTypes.VimeoType.PrivateVideo.html @@ -1 +1 @@ -PrivateVideo | vot.js
          PrivateVideo: {
              ai: TinyInt;
              channel_layout: string;
              default_to_hd: TinyInt;
              duration: number;
              embed_code: string;
              embed_permission: "whitelist";
              fps: number;
              height: number;
              id: number;
              live_event: null;
              owner: unknown;
              privacy: "disable" | "anybody";
              rating: Record<"id", number>;
              share_url: string;
              spatial: TinyInt;
              thumbs: Record<string, string>;
              title: string;
              unlisted_hash: null;
              url: string;
              version: unknown;
              video_height?: number;
              video_width?: number;
              width: number;
          }
          +PrivateVideo | vot.js
          PrivateVideo: {
              ai: TinyInt;
              channel_layout: string;
              default_to_hd: TinyInt;
              duration: number;
              embed_code: string;
              embed_permission: "whitelist";
              fps: number;
              height: number;
              id: number;
              live_event: null;
              owner: unknown;
              privacy: "disable" | "anybody";
              rating: Record<"id", number>;
              share_url: string;
              spatial: TinyInt;
              thumbs: Record<string, string>;
              title: string;
              unlisted_hash: null;
              url: string;
              version: unknown;
              video_height?: number;
              video_width?: number;
              width: number;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.PrivateVideoSubtitle.html b/docs/types/VOTTypes.VimeoType.PrivateVideoSubtitle.html index ec58be28..54a43614 100644 --- a/docs/types/VOTTypes.VimeoType.PrivateVideoSubtitle.html +++ b/docs/types/VOTTypes.VimeoType.PrivateVideoSubtitle.html @@ -1 +1 @@ -PrivateVideoSubtitle | vot.js

          Type Alias PrivateVideoSubtitle

          PrivateVideoSubtitle: {
              id: number;
              kind: "captions";
              label: string;
              lang: string;
              url: string;
          }
          +PrivateVideoSubtitle | vot.js

          Type Alias PrivateVideoSubtitle

          PrivateVideoSubtitle: {
              id: number;
              kind: "captions";
              label: string;
              lang: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.VideoInfo.html b/docs/types/VOTTypes.VimeoType.VideoInfo.html index 420236b4..8138714c 100644 --- a/docs/types/VOTTypes.VimeoType.VideoInfo.html +++ b/docs/types/VOTTypes.VimeoType.VideoInfo.html @@ -1 +1 @@ -VideoInfo | vot.js
          VideoInfo: {
              description: string;
              duration: number;
              link: string;
              name: string;
          }
          +VideoInfo | vot.js
          VideoInfo: {
              description: string;
              duration: number;
              link: string;
              name: string;
          }
          diff --git a/docs/types/VOTTypes.VimeoType.VideoSubsData.html b/docs/types/VOTTypes.VimeoType.VideoSubsData.html index 7766890e..eebea280 100644 --- a/docs/types/VOTTypes.VimeoType.VideoSubsData.html +++ b/docs/types/VOTTypes.VimeoType.VideoSubsData.html @@ -1 +1 @@ -VideoSubsData | vot.js

          Type Alias VideoSubsData

          +VideoSubsData | vot.js
          diff --git a/docs/types/VOTTypes.VimeoType.VideoSubtitle.html b/docs/types/VOTTypes.VimeoType.VideoSubtitle.html index 5aa551be..aa892a62 100644 --- a/docs/types/VOTTypes.VimeoType.VideoSubtitle.html +++ b/docs/types/VOTTypes.VimeoType.VideoSubtitle.html @@ -1 +1 @@ -VideoSubtitle | vot.js

          Type Alias VideoSubtitle

          VideoSubtitle: {
              id: number;
              language: string;
              link: string;
              type: "captions";
          }
          +VideoSubtitle | vot.js

          Type Alias VideoSubtitle

          VideoSubtitle: {
              id: number;
              language: string;
              link: string;
              type: "captions";
          }
          diff --git a/docs/types/VOTTypes.VimeoType.ViewerData.html b/docs/types/VOTTypes.VimeoType.ViewerData.html index 613c5dcf..18df3389 100644 --- a/docs/types/VOTTypes.VimeoType.ViewerData.html +++ b/docs/types/VOTTypes.VimeoType.ViewerData.html @@ -1 +1 @@ -ViewerData | vot.js
          ViewerData: {
              ablincolnConfig: unknown[];
              apiUrl: string;
              cart: unknown;
              contentViewingPrefs: unknown;
              facebookAppId: number;
              gdprBannerJS: string;
              gdprQualifies: boolean;
              googleMapApiKey: string;
              impressumQualifies: boolean;
              isEnterpriseSite: boolean;
              isFromCopyrightRestrictedRegion: boolean;
              isMobile: boolean;
              isPerSeatPricing: boolean;
              isRecordToolSupported: boolean;
              isSimplifiedSite: boolean;
              jwt: string;
              locale: string;
              locale_labels: string[];
              locales: string[];
              location: string;
              magistoApiHost: string;
              ofcomQualifies: boolean;
              omnisearchDisabled: null;
              optOutMobile: boolean;
              recaptchaEnterpriseScoreBasedSiteKey: string;
              recaptchaSiteKey: string;
              ribbonModifier: string;
              screen_recorder_extension_link: string;
              shouldOptIntoMarketing: boolean;
              terminateContractQualifies: boolean;
              terms_show_privacy_choices: boolean;
              thirdPartyTracking: boolean;
              turnstileSiteKey: string;
              user: null;
              vatConfig: unknown;
              viewmasterCdnUrl: string;
              vimeoHttpsUrl: string;
              vuid: string;
              vuidCookieJS: string;
              xsrft: string;
          }
          +ViewerData | vot.js
          ViewerData: {
              ablincolnConfig: unknown[];
              apiUrl: string;
              cart: unknown;
              contentViewingPrefs: unknown;
              facebookAppId: number;
              gdprBannerJS: string;
              gdprQualifies: boolean;
              googleMapApiKey: string;
              impressumQualifies: boolean;
              isEnterpriseSite: boolean;
              isFromCopyrightRestrictedRegion: boolean;
              isMobile: boolean;
              isPerSeatPricing: boolean;
              isRecordToolSupported: boolean;
              isSimplifiedSite: boolean;
              jwt: string;
              locale: string;
              locale_labels: string[];
              locales: string[];
              location: string;
              magistoApiHost: string;
              ofcomQualifies: boolean;
              omnisearchDisabled: null;
              optOutMobile: boolean;
              recaptchaEnterpriseScoreBasedSiteKey: string;
              recaptchaSiteKey: string;
              ribbonModifier: string;
              screen_recorder_extension_link: string;
              shouldOptIntoMarketing: boolean;
              terminateContractQualifies: boolean;
              terms_show_privacy_choices: boolean;
              thirdPartyTracking: boolean;
              turnstileSiteKey: string;
              user: null;
              vatConfig: unknown;
              viewmasterCdnUrl: string;
              vimeoHttpsUrl: string;
              vuid: string;
              vuidCookieJS: string;
              xsrft: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.AdParam.html b/docs/types/VOTTypes.WeverseType.AdParam.html index 2219b676..979a92f5 100644 --- a/docs/types/VOTTypes.WeverseType.AdParam.html +++ b/docs/types/VOTTypes.WeverseType.AdParam.html @@ -1 +1 @@ -AdParam | vot.js
          AdParam: {
              cmi: number;
              custom: AdParamCustom;
              mid: boolean;
              playTime: number;
              post: boolean;
              pre: boolean;
              scheduleId: string;
              vi: number;
              vt: string;
          }
          +AdParam | vot.js
          AdParam: {
              cmi: number;
              custom: AdParamCustom;
              mid: boolean;
              playTime: number;
              post: boolean;
              pre: boolean;
              scheduleId: string;
              vi: number;
              vt: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.AdParamCustom.html b/docs/types/VOTTypes.WeverseType.AdParamCustom.html index 36d990b0..2f5d4432 100644 --- a/docs/types/VOTTypes.WeverseType.AdParamCustom.html +++ b/docs/types/VOTTypes.WeverseType.AdParamCustom.html @@ -1 +1 @@ -AdParamCustom | vot.js
          AdParamCustom: {
              cmi: string;
              hl: string;
              mi: string;
              vt: string;
          }
          +AdParamCustom | vot.js
          AdParamCustom: {
              cmi: string;
              hl: string;
              mi: string;
              vt: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.Community.html b/docs/types/VOTTypes.WeverseType.Community.html index d4f67373..a36b54ff 100644 --- a/docs/types/VOTTypes.WeverseType.Community.html +++ b/docs/types/VOTTypes.WeverseType.Community.html @@ -1 +1 @@ -Community | vot.js
          Community: {
              artistCode: string;
              communityId: number;
              communityName: string;
              homeHeaderImage: string;
              logoImage: string;
          }
          +Community | vot.js
          Community: {
              artistCode: string;
              communityId: number;
              communityName: string;
              homeHeaderImage: string;
              logoImage: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.Dimension.html b/docs/types/VOTTypes.WeverseType.Dimension.html index d1f602d4..52097eb2 100644 --- a/docs/types/VOTTypes.WeverseType.Dimension.html +++ b/docs/types/VOTTypes.WeverseType.Dimension.html @@ -1 +1 @@ -Dimension | vot.js
          Dimension: "uhd" | "normal"
          +Dimension | vot.js
          Dimension: "uhd" | "normal"
          diff --git a/docs/types/VOTTypes.WeverseType.Display.html b/docs/types/VOTTypes.WeverseType.Display.html index ba911791..a1df56d9 100644 --- a/docs/types/VOTTypes.WeverseType.Display.html +++ b/docs/types/VOTTypes.WeverseType.Display.html @@ -1 +1 @@ -Display | vot.js
          Display: {
              visible: StringBoolean;
          }
          +Display | vot.js
          Display: {
              visible: StringBoolean;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.EnableStatus.html b/docs/types/VOTTypes.WeverseType.EnableStatus.html index 5a4a8933..45e3cc81 100644 --- a/docs/types/VOTTypes.WeverseType.EnableStatus.html +++ b/docs/types/VOTTypes.WeverseType.EnableStatus.html @@ -1 +1 @@ -EnableStatus | vot.js
          EnableStatus: "on" | "off"
          +EnableStatus | vot.js
          EnableStatus: "on" | "off"
          diff --git a/docs/types/VOTTypes.WeverseType.EncodingOptions.html b/docs/types/VOTTypes.WeverseType.EncodingOptions.html index e46135ca..4ac8060f 100644 --- a/docs/types/VOTTypes.WeverseType.EncodingOptions.html +++ b/docs/types/VOTTypes.WeverseType.EncodingOptions.html @@ -1 +1 @@ -EncodingOptions | vot.js
          EncodingOptions: {
              height: number;
              id: string;
              name: string;
              width: number;
          }
          +EncodingOptions | vot.js
          EncodingOptions: {
              height: number;
              id: string;
              name: string;
              width: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.ExternalFeatureLoudnessNormalization.html b/docs/types/VOTTypes.WeverseType.ExternalFeatureLoudnessNormalization.html index d4778bc3..8b2e5225 100644 --- a/docs/types/VOTTypes.WeverseType.ExternalFeatureLoudnessNormalization.html +++ b/docs/types/VOTTypes.WeverseType.ExternalFeatureLoudnessNormalization.html @@ -1 +1 @@ -ExternalFeatureLoudnessNormalization | vot.js

          Type Alias ExternalFeatureLoudnessNormalization

          ExternalFeatureLoudnessNormalization: {
              contentEncoding: string;
              contentType: string;
              data: string;
              enable: boolean;
              properties: LoudnessNormalizationProperties;
              version: string;
          }
          +ExternalFeatureLoudnessNormalization | vot.js

          Type Alias ExternalFeatureLoudnessNormalization

          ExternalFeatureLoudnessNormalization: {
              contentEncoding: string;
              contentType: string;
              data: string;
              enable: boolean;
              properties: LoudnessNormalizationProperties;
              version: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.InKey.html b/docs/types/VOTTypes.WeverseType.InKey.html index ab033bcf..b49a5753 100644 --- a/docs/types/VOTTypes.WeverseType.InKey.html +++ b/docs/types/VOTTypes.WeverseType.InKey.html @@ -1 +1 @@ -InKey | vot.js
          InKey: {
              adParam: AdParam;
              inKey: string;
          }
          +InKey | vot.js
          InKey: {
              adParam: AdParam;
              inKey: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.LoudnessNormalizationProperties.html b/docs/types/VOTTypes.WeverseType.LoudnessNormalizationProperties.html index a35c4f99..ff6d6c08 100644 --- a/docs/types/VOTTypes.WeverseType.LoudnessNormalizationProperties.html +++ b/docs/types/VOTTypes.WeverseType.LoudnessNormalizationProperties.html @@ -1 +1 @@ -LoudnessNormalizationProperties | vot.js

          Type Alias LoudnessNormalizationProperties

          LoudnessNormalizationProperties: {
              mode: string;
              targetLoudness: number;
          }
          +LoudnessNormalizationProperties | vot.js

          Type Alias LoudnessNormalizationProperties

          LoudnessNormalizationProperties: {
              mode: string;
              targetLoudness: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.MediaInfoArtiesMessage.html b/docs/types/VOTTypes.WeverseType.MediaInfoArtiesMessage.html index 1c615997..1ea293d9 100644 --- a/docs/types/VOTTypes.WeverseType.MediaInfoArtiesMessage.html +++ b/docs/types/VOTTypes.WeverseType.MediaInfoArtiesMessage.html @@ -1 +1 @@ -MediaInfoArtiesMessage | vot.js

          Type Alias MediaInfoArtiesMessage

          MediaInfoArtiesMessage: {
              data: unknown[];
              paging: unknown;
          }
          +MediaInfoArtiesMessage | vot.js

          Type Alias MediaInfoArtiesMessage

          MediaInfoArtiesMessage: {
              data: unknown[];
              paging: unknown;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.MediaInfoCategory.html b/docs/types/VOTTypes.WeverseType.MediaInfoCategory.html index 3c028017..594b7073 100644 --- a/docs/types/VOTTypes.WeverseType.MediaInfoCategory.html +++ b/docs/types/VOTTypes.WeverseType.MediaInfoCategory.html @@ -1 +1 @@ -MediaInfoCategory | vot.js

          Type Alias MediaInfoCategory

          MediaInfoCategory: {
              id: number;
              title: string;
              type: string;
          }
          +MediaInfoCategory | vot.js

          Type Alias MediaInfoCategory

          MediaInfoCategory: {
              id: number;
              title: string;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.MediaInfoChat.html b/docs/types/VOTTypes.WeverseType.MediaInfoChat.html index 483180df..e2a321ab 100644 --- a/docs/types/VOTTypes.WeverseType.MediaInfoChat.html +++ b/docs/types/VOTTypes.WeverseType.MediaInfoChat.html @@ -1 +1 @@ -MediaInfoChat | vot.js
          MediaInfoChat: {
              artistMessages: MediaInfoArtiesMessage;
              availableActions: string[];
              chatId: string;
              enable: boolean;
              messageCount: number;
              myProfile: MediaInfoChatProfile;
          }
          +MediaInfoChat | vot.js
          MediaInfoChat: {
              artistMessages: MediaInfoArtiesMessage;
              availableActions: string[];
              chatId: string;
              enable: boolean;
              messageCount: number;
              myProfile: MediaInfoChatProfile;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.MediaInfoChatProfile.html b/docs/types/VOTTypes.WeverseType.MediaInfoChatProfile.html index 165c5202..3c979d16 100644 --- a/docs/types/VOTTypes.WeverseType.MediaInfoChatProfile.html +++ b/docs/types/VOTTypes.WeverseType.MediaInfoChatProfile.html @@ -1 +1 @@ -MediaInfoChatProfile | vot.js

          Type Alias MediaInfoChatProfile

          MediaInfoChatProfile: {
              communityId: number;
              memberId: string;
              profileType: string;
          }
          +MediaInfoChatProfile | vot.js

          Type Alias MediaInfoChatProfile

          MediaInfoChatProfile: {
              communityId: number;
              memberId: string;
              profileType: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostAuthor.html b/docs/types/VOTTypes.WeverseType.PostAuthor.html index 46622f07..12eb005e 100644 --- a/docs/types/VOTTypes.WeverseType.PostAuthor.html +++ b/docs/types/VOTTypes.WeverseType.PostAuthor.html @@ -1 +1 @@ -PostAuthor | vot.js
          PostAuthor: {
              artistOfficialProfile?: PostAuthorOfficialProfile;
              communityId: number;
              hasOfficialMark: boolean;
              joined: boolean;
              memberId: string;
              memberJoinStatus: string;
              myProfile: boolean;
              profileImageUrl: string;
              profileName: string;
              profileSpaceStatus: string;
              profileType: string;
          }
          +PostAuthor | vot.js
          PostAuthor: {
              artistOfficialProfile?: PostAuthorOfficialProfile;
              communityId: number;
              hasOfficialMark: boolean;
              joined: boolean;
              memberId: string;
              memberJoinStatus: string;
              myProfile: boolean;
              profileImageUrl: string;
              profileName: string;
              profileSpaceStatus: string;
              profileType: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostAuthorOfficialProfile.html b/docs/types/VOTTypes.WeverseType.PostAuthorOfficialProfile.html index ef56c1b3..ff9609ad 100644 --- a/docs/types/VOTTypes.WeverseType.PostAuthorOfficialProfile.html +++ b/docs/types/VOTTypes.WeverseType.PostAuthorOfficialProfile.html @@ -1 +1 @@ -PostAuthorOfficialProfile | vot.js

          Type Alias PostAuthorOfficialProfile

          PostAuthorOfficialProfile: {
              birthday: PostAuthorProfileBirthday;
              officialImageUrl: string;
              officialName: string;
          }
          +PostAuthorOfficialProfile | vot.js

          Type Alias PostAuthorOfficialProfile

          PostAuthorOfficialProfile: {
              birthday: PostAuthorProfileBirthday;
              officialImageUrl: string;
              officialName: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostAuthorProfileBirthday.html b/docs/types/VOTTypes.WeverseType.PostAuthorProfileBirthday.html index f81e5cac..5153cafc 100644 --- a/docs/types/VOTTypes.WeverseType.PostAuthorProfileBirthday.html +++ b/docs/types/VOTTypes.WeverseType.PostAuthorProfileBirthday.html @@ -1 +1 @@ -PostAuthorProfileBirthday | vot.js

          Type Alias PostAuthorProfileBirthday

          PostAuthorProfileBirthday: {
              bday: boolean;
              dateString: string;
          }
          +PostAuthorProfileBirthday | vot.js

          Type Alias PostAuthorProfileBirthday

          PostAuthorProfileBirthday: {
              bday: boolean;
              dateString: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostExtension.html b/docs/types/VOTTypes.WeverseType.PostExtension.html index cae46110..b5c631f0 100644 --- a/docs/types/VOTTypes.WeverseType.PostExtension.html +++ b/docs/types/VOTTypes.WeverseType.PostExtension.html @@ -1 +1 @@ -PostExtension | vot.js
          PostExtension: {
              mediaInfo: PostMediaInfo;
              video: PostVideoInfo;
          }
          +PostExtension | vot.js
          PostExtension: {
              mediaInfo: PostMediaInfo;
              video: PostVideoInfo;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostMediaInfo.html b/docs/types/VOTTypes.WeverseType.PostMediaInfo.html index a143a157..69a7a140 100644 --- a/docs/types/VOTTypes.WeverseType.PostMediaInfo.html +++ b/docs/types/VOTTypes.WeverseType.PostMediaInfo.html @@ -1 +1 @@ -PostMediaInfo | vot.js
          PostMediaInfo: {
              body: string;
              categories?: MediaInfoCategory[];
              chat: MediaInfoChat;
              exposeToMediaTab?: false;
              mediaType: string;
              thumbnail: Thumbnail;
              title: string;
          }
          +PostMediaInfo | vot.js
          PostMediaInfo: {
              body: string;
              categories?: MediaInfoCategory[];
              chat: MediaInfoChat;
              exposeToMediaTab?: false;
              mediaType: string;
              thumbnail: Thumbnail;
              title: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostPreview.html b/docs/types/VOTTypes.WeverseType.PostPreview.html index d7ecf4fc..83b57c5c 100644 --- a/docs/types/VOTTypes.WeverseType.PostPreview.html +++ b/docs/types/VOTTypes.WeverseType.PostPreview.html @@ -1 +1 @@ -PostPreview | vot.js
          PostPreview: {
              attachment: unknown;
              author: PostAuthor;
              body: string;
              community: Community;
              extension: PostExtension;
              postId: string;
              postType: string;
              publishedAt: number;
              sectionType: string;
              summary: PostSummary;
              title: string;
          }
          +PostPreview | vot.js
          PostPreview: {
              attachment: unknown;
              author: PostAuthor;
              body: string;
              community: Community;
              extension: PostExtension;
              postId: string;
              postType: string;
              publishedAt: number;
              sectionType: string;
              summary: PostSummary;
              title: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostSummary.html b/docs/types/VOTTypes.WeverseType.PostSummary.html index 8fc6cb86..11a7296a 100644 --- a/docs/types/VOTTypes.WeverseType.PostSummary.html +++ b/docs/types/VOTTypes.WeverseType.PostSummary.html @@ -1 +1 @@ -PostSummary | vot.js
          PostSummary: {
              photoCount: number;
              snippets: unknown[];
              thumbnails: Thumbnail[];
              videoCount: number;
          }
          +PostSummary | vot.js
          PostSummary: {
              photoCount: number;
              snippets: unknown[];
              thumbnails: Thumbnail[];
              videoCount: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.PostVideoInfo.html b/docs/types/VOTTypes.WeverseType.PostVideoInfo.html index f9c1231e..7277cec9 100644 --- a/docs/types/VOTTypes.WeverseType.PostVideoInfo.html +++ b/docs/types/VOTTypes.WeverseType.PostVideoInfo.html @@ -1 +1 @@ -PostVideoInfo | vot.js
          PostVideoInfo: {
              closedCaptioned: boolean;
              encodingStatus: string;
              exposeWithPost: boolean;
              infraVideoId: string;
              likeCount: number;
              liveToVod: boolean;
              membershipOnly: boolean;
              onAirStartAt: number;
              paid: boolean;
              playCount: number;
              playTime: number;
              previewType: string;
              previewYn: boolean;
              pushYn: boolean;
              screenOrientation: string;
              serviceId: string;
              serviceName: string;
              streamingCount: number;
              thumb: string;
              thumbType: string;
              type: string;
              videoId: number;
              vodNotiStatus: string;
          }
          +PostVideoInfo | vot.js
          PostVideoInfo: {
              closedCaptioned: boolean;
              encodingStatus: string;
              exposeWithPost: boolean;
              infraVideoId: string;
              likeCount: number;
              liveToVod: boolean;
              membershipOnly: boolean;
              onAirStartAt: number;
              paid: boolean;
              playCount: number;
              playTime: number;
              previewType: string;
              previewYn: boolean;
              pushYn: boolean;
              screenOrientation: string;
              serviceId: string;
              serviceName: string;
              streamingCount: number;
              thumb: string;
              thumbType: string;
              type: string;
              videoId: number;
              vodNotiStatus: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.RulesAdFreeZone.html b/docs/types/VOTTypes.WeverseType.RulesAdFreeZone.html index c1f05f66..0dfc6aaf 100644 --- a/docs/types/VOTTypes.WeverseType.RulesAdFreeZone.html +++ b/docs/types/VOTTypes.WeverseType.RulesAdFreeZone.html @@ -1 +1 @@ -RulesAdFreeZone | vot.js
          RulesAdFreeZone: {
              offset: number;
              version: number;
              zone: string;
          }
          +RulesAdFreeZone | vot.js
          RulesAdFreeZone: {
              offset: number;
              version: number;
              zone: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.RulesPreloadingMidAD.html b/docs/types/VOTTypes.WeverseType.RulesPreloadingMidAD.html index fa107b20..d03b34f7 100644 --- a/docs/types/VOTTypes.WeverseType.RulesPreloadingMidAD.html +++ b/docs/types/VOTTypes.WeverseType.RulesPreloadingMidAD.html @@ -1 +1 @@ -RulesPreloadingMidAD | vot.js

          Type Alias RulesPreloadingMidAD

          RulesPreloadingMidAD: {
              noticeTime: number;
              offset: number;
              showNotice: boolean;
              version: number;
          }
          +RulesPreloadingMidAD | vot.js

          Type Alias RulesPreloadingMidAD

          RulesPreloadingMidAD: {
              noticeTime: number;
              offset: number;
              showNotice: boolean;
              version: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.RulesSplitVOD.html b/docs/types/VOTTypes.WeverseType.RulesSplitVOD.html index 979e81c3..abe4c517 100644 --- a/docs/types/VOTTypes.WeverseType.RulesSplitVOD.html +++ b/docs/types/VOTTypes.WeverseType.RulesSplitVOD.html @@ -1 +1 @@ -RulesSplitVOD | vot.js
          RulesSplitVOD: {
              fadeInTime: number;
              fadeOutTime: number;
              playbackRewindTime: number;
              version: number;
          }
          +RulesSplitVOD | vot.js
          RulesSplitVOD: {
              fadeInTime: number;
              fadeOutTime: number;
              playbackRewindTime: number;
              version: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.Stream.html b/docs/types/VOTTypes.WeverseType.Stream.html index 7cb270d2..67423df2 100644 --- a/docs/types/VOTTypes.WeverseType.Stream.html +++ b/docs/types/VOTTypes.WeverseType.Stream.html @@ -1 +1 @@ -Stream | vot.js
          Stream: {
              dimension: Dimension;
              enableABR: EnableStatus;
              keys: StreamKey[];
              source: string;
              sourceFrom: string;
              type: "HLS";
              videos: StreamVideo;
          }
          +Stream | vot.js
          Stream: {
              dimension: Dimension;
              enableABR: EnableStatus;
              keys: StreamKey[];
              source: string;
              sourceFrom: string;
              type: "HLS";
              videos: StreamVideo;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.StreamKey.html b/docs/types/VOTTypes.WeverseType.StreamKey.html index aee50807..b6bc9d4b 100644 --- a/docs/types/VOTTypes.WeverseType.StreamKey.html +++ b/docs/types/VOTTypes.WeverseType.StreamKey.html @@ -1 +1 @@ -StreamKey | vot.js
          StreamKey: {
              name: string;
              type: string;
              value: string;
          }
          +StreamKey | vot.js
          StreamKey: {
              name: string;
              type: string;
              value: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.StreamVideo.html b/docs/types/VOTTypes.WeverseType.StreamVideo.html index 3cbe0b6a..b23a3f03 100644 --- a/docs/types/VOTTypes.WeverseType.StreamVideo.html +++ b/docs/types/VOTTypes.WeverseType.StreamVideo.html @@ -1 +1 @@ -StreamVideo | vot.js
          StreamVideo: {
              bitrate: VideoBitrate;
              encodingOption: EncodingOptions;
              id: string;
              source: string;
              sourceFrom: string;
              template: StreamVideoTemplate;
          }
          +StreamVideo | vot.js
          StreamVideo: {
              bitrate: VideoBitrate;
              encodingOption: EncodingOptions;
              id: string;
              source: string;
              sourceFrom: string;
              template: StreamVideoTemplate;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.StreamVideoTemplate.html b/docs/types/VOTTypes.WeverseType.StreamVideoTemplate.html index fe55aca8..370e30ea 100644 --- a/docs/types/VOTTypes.WeverseType.StreamVideoTemplate.html +++ b/docs/types/VOTTypes.WeverseType.StreamVideoTemplate.html @@ -1 +1 @@ -StreamVideoTemplate | vot.js

          Type Alias StreamVideoTemplate

          StreamVideoTemplate: {
              body: StreamVideoTemplateBody;
              type: "HLS_V3";
          }
          +StreamVideoTemplate | vot.js

          Type Alias StreamVideoTemplate

          StreamVideoTemplate: {
              body: StreamVideoTemplateBody;
              type: "HLS_V3";
          }
          diff --git a/docs/types/VOTTypes.WeverseType.StreamVideoTemplateBody.html b/docs/types/VOTTypes.WeverseType.StreamVideoTemplateBody.html index 54432bcc..d14c244c 100644 --- a/docs/types/VOTTypes.WeverseType.StreamVideoTemplateBody.html +++ b/docs/types/VOTTypes.WeverseType.StreamVideoTemplateBody.html @@ -1 +1 @@ -StreamVideoTemplateBody | vot.js

          Type Alias StreamVideoTemplateBody

          StreamVideoTemplateBody: {
              bandwidth: number;
              extInfos: number[];
              format: string;
              mediaSequence: number;
              resolution: string;
              version: "3";
          }
          +StreamVideoTemplateBody | vot.js

          Type Alias StreamVideoTemplateBody

          StreamVideoTemplateBody: {
              bandwidth: number;
              extInfos: number[];
              format: string;
              mediaSequence: number;
              resolution: string;
              version: "3";
          }
          diff --git a/docs/types/VOTTypes.WeverseType.StringBoolean.html b/docs/types/VOTTypes.WeverseType.StringBoolean.html index 9dc413d7..4c82afb7 100644 --- a/docs/types/VOTTypes.WeverseType.StringBoolean.html +++ b/docs/types/VOTTypes.WeverseType.StringBoolean.html @@ -1 +1 @@ -StringBoolean | vot.js
          StringBoolean: "true" | "false"
          +StringBoolean | vot.js
          StringBoolean: "true" | "false"
          diff --git a/docs/types/VOTTypes.WeverseType.Thumbnail.html b/docs/types/VOTTypes.WeverseType.Thumbnail.html index be364b88..92ec3062 100644 --- a/docs/types/VOTTypes.WeverseType.Thumbnail.html +++ b/docs/types/VOTTypes.WeverseType.Thumbnail.html @@ -1 +1 @@ -Thumbnail | vot.js
          Thumbnail: {
              playTime?: number;
              type: string;
              url: string;
          }
          +Thumbnail | vot.js
          Thumbnail: {
              playTime?: number;
              type: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.TrackingStatPolicy.html b/docs/types/VOTTypes.WeverseType.TrackingStatPolicy.html index 051c9b86..feb20531 100644 --- a/docs/types/VOTTypes.WeverseType.TrackingStatPolicy.html +++ b/docs/types/VOTTypes.WeverseType.TrackingStatPolicy.html @@ -1 +1 @@ -TrackingStatPolicy | vot.js

          Type Alias TrackingStatPolicy

          TrackingStatPolicy: {
              event: string;
              timeTable?: number[];
              type: string;
              urL: string;
          }
          +TrackingStatPolicy | vot.js

          Type Alias TrackingStatPolicy

          TrackingStatPolicy: {
              event: string;
              timeTable?: number[];
              type: string;
              urL: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.Video.html b/docs/types/VOTTypes.WeverseType.Video.html index 9fa1a57b..b4d5d3df 100644 --- a/docs/types/VOTTypes.WeverseType.Video.html +++ b/docs/types/VOTTypes.WeverseType.Video.html @@ -1 +1 @@ -Video | vot.js
          Video: {
              bitrate: VideoBitrate;
              duration: number;
              encodingOption: VideoEncodingOptions;
              id: string;
              p2pMetaUrl: string;
              p2pUrl: string;
              previewDuration: number;
              size: number;
              source: string;
              sourceFrom: string;
              type: string;
              useP2P: boolean;
          }
          +Video | vot.js
          Video: {
              bitrate: VideoBitrate;
              duration: number;
              encodingOption: VideoEncodingOptions;
              id: string;
              p2pMetaUrl: string;
              p2pUrl: string;
              previewDuration: number;
              size: number;
              source: string;
              sourceFrom: string;
              type: string;
              useP2P: boolean;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoAPI.html b/docs/types/VOTTypes.WeverseType.VideoAPI.html index 737ffcfe..0d0103cc 100644 --- a/docs/types/VOTTypes.WeverseType.VideoAPI.html +++ b/docs/types/VOTTypes.WeverseType.VideoAPI.html @@ -1 +1 @@ -VideoAPI | vot.js
          VideoAPI: {
              callbackData?: VideoAPICallbackData;
              name: string;
              offset: number;
              source: string;
          }
          +VideoAPI | vot.js
          VideoAPI: {
              callbackData?: VideoAPICallbackData;
              name: string;
              offset: number;
              source: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoAPICallbackData.html b/docs/types/VOTTypes.WeverseType.VideoAPICallbackData.html index 678774ee..406e8574 100644 --- a/docs/types/VOTTypes.WeverseType.VideoAPICallbackData.html +++ b/docs/types/VOTTypes.WeverseType.VideoAPICallbackData.html @@ -1 +1 @@ -VideoAPICallbackData | vot.js

          Type Alias VideoAPICallbackData

          VideoAPICallbackData: {
              cpid: string;
              cpn: string;
              tid: string;
          }
          +VideoAPICallbackData | vot.js

          Type Alias VideoAPICallbackData

          VideoAPICallbackData: {
              cpid: string;
              cpn: string;
              tid: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoAdvertise.html b/docs/types/VOTTypes.WeverseType.VideoAdvertise.html index 3a12d723..00865533 100644 --- a/docs/types/VOTTypes.WeverseType.VideoAdvertise.html +++ b/docs/types/VOTTypes.WeverseType.VideoAdvertise.html @@ -1 +1 @@ -VideoAdvertise | vot.js
          VideoAdvertise: {
              info: string;
              url: string;
              usable: boolean;
              useInline: boolean;
          }
          +VideoAdvertise | vot.js
          VideoAdvertise: {
              info: string;
              url: string;
              usable: boolean;
              useInline: boolean;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoBitrate.html b/docs/types/VOTTypes.WeverseType.VideoBitrate.html index f3601cee..5c1e6369 100644 --- a/docs/types/VOTTypes.WeverseType.VideoBitrate.html +++ b/docs/types/VOTTypes.WeverseType.VideoBitrate.html @@ -1 +1 @@ -VideoBitrate | vot.js
          VideoBitrate: {
              audio: number;
              video: number;
          }
          +VideoBitrate | vot.js
          VideoBitrate: {
              audio: number;
              video: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoCover.html b/docs/types/VOTTypes.WeverseType.VideoCover.html index a17974cb..5ba5108f 100644 --- a/docs/types/VOTTypes.WeverseType.VideoCover.html +++ b/docs/types/VOTTypes.WeverseType.VideoCover.html @@ -1 +1 @@ -VideoCover | vot.js
          VideoCover: {
              source: string;
              type: string;
          }
          +VideoCover | vot.js
          VideoCover: {
              source: string;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfo.html b/docs/types/VOTTypes.WeverseType.VideoInfo.html index 60ee09fb..6142cc13 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfo.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfo.html @@ -1 +1 @@ -VideoInfo | vot.js
          VideoInfo: {
              expireTime: ISODate;
              externalFeature: VideoInfoExternalFeature;
              meta: VideoInfoMeta;
              serverTime: ISODate;
              streams: Stream[];
              thumbnails: VideoInfoThumbnails;
              tId: string;
              trackings: VideoInfoTrackings;
              transactionCreatedTime: number;
              videos: VideoInfoVideos;
          }
          +VideoInfo | vot.js
          VideoInfo: {
              expireTime: ISODate;
              externalFeature: VideoInfoExternalFeature;
              meta: VideoInfoMeta;
              serverTime: ISODate;
              streams: Stream[];
              thumbnails: VideoInfoThumbnails;
              tId: string;
              trackings: VideoInfoTrackings;
              transactionCreatedTime: number;
              videos: VideoInfoVideos;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoExternalFeature.html b/docs/types/VOTTypes.WeverseType.VideoInfoExternalFeature.html index 6f9934a0..c16f9c3c 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoExternalFeature.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoExternalFeature.html @@ -1 +1 @@ -VideoInfoExternalFeature | vot.js

          Type Alias VideoInfoExternalFeature

          VideoInfoExternalFeature: {
              loudnessNormalization: ExternalFeatureLoudnessNormalization;
          }
          +VideoInfoExternalFeature | vot.js

          Type Alias VideoInfoExternalFeature

          VideoInfoExternalFeature: {
              loudnessNormalization: ExternalFeatureLoudnessNormalization;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoMeta.html b/docs/types/VOTTypes.WeverseType.VideoInfoMeta.html index 534bc805..4a7a6b55 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoMeta.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoMeta.html @@ -1 +1 @@ -VideoInfoMeta | vot.js
          VideoInfoMeta: {
              advertise: VideoAdvertise;
              apiList: VideoAPI[];
              contentId: string;
              count: number;
              countryCode: string;
              cover: VideoCover;
              display: Record<string, Display>;
              encodingModel: string;
              homeUrl: string;
              interfaceLang: string;
              masterVideoId: string;
              provider: VideoProvider;
              rules: VideoInfoMetaRules;
              serviceId: number;
              share: VideoShare;
              subject: number;
              url: string;
              user: VideoUser;
          }
          +VideoInfoMeta | vot.js
          VideoInfoMeta: {
              advertise: VideoAdvertise;
              apiList: VideoAPI[];
              contentId: string;
              count: number;
              countryCode: string;
              cover: VideoCover;
              display: Record<string, Display>;
              encodingModel: string;
              homeUrl: string;
              interfaceLang: string;
              masterVideoId: string;
              provider: VideoProvider;
              rules: VideoInfoMetaRules;
              serviceId: number;
              share: VideoShare;
              subject: number;
              url: string;
              user: VideoUser;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoMetaRules.html b/docs/types/VOTTypes.WeverseType.VideoInfoMetaRules.html index 72bb5fc6..b19349ef 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoMetaRules.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoMetaRules.html @@ -1 +1 @@ -VideoInfoMetaRules | vot.js

          Type Alias VideoInfoMetaRules

          VideoInfoMetaRules: {
              adFreeZone: RulesAdFreeZone;
              preloadingMidAd: RulesPreloadingMidAD;
              splitVod: RulesSplitVOD;
          }
          +VideoInfoMetaRules | vot.js

          Type Alias VideoInfoMetaRules

          VideoInfoMetaRules: {
              adFreeZone: RulesAdFreeZone;
              preloadingMidAd: RulesPreloadingMidAD;
              splitVod: RulesSplitVOD;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoThumbnails.html b/docs/types/VOTTypes.WeverseType.VideoInfoThumbnails.html index bb970502..59d7375d 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoThumbnails.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoThumbnails.html @@ -1 +1 @@ -VideoInfoThumbnails | vot.js

          Type Alias VideoInfoThumbnails

          VideoInfoThumbnails: {
              list: VideoThumbnailItem[];
              sprites: VideoThumbnailSprite[];
          }
          +VideoInfoThumbnails | vot.js

          Type Alias VideoInfoThumbnails

          VideoInfoThumbnails: {
              list: VideoThumbnailItem[];
              sprites: VideoThumbnailSprite[];
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoTrackings.html b/docs/types/VOTTypes.WeverseType.VideoInfoTrackings.html index fa77ac22..170cd830 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoTrackings.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoTrackings.html @@ -1 +1 @@ -VideoInfoTrackings | vot.js

          Type Alias VideoInfoTrackings

          VideoInfoTrackings: {
              stat-policy: TrackingStatPolicy[];
          }
          +VideoInfoTrackings | vot.js

          Type Alias VideoInfoTrackings

          VideoInfoTrackings: {
              stat-policy: TrackingStatPolicy[];
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoInfoVideos.html b/docs/types/VOTTypes.WeverseType.VideoInfoVideos.html index 298faf29..cb24e4d4 100644 --- a/docs/types/VOTTypes.WeverseType.VideoInfoVideos.html +++ b/docs/types/VOTTypes.WeverseType.VideoInfoVideos.html @@ -1 +1 @@ -VideoInfoVideos | vot.js
          VideoInfoVideos: {
              canAutoPlay: boolean;
              dimension: Dimension;
              hasPreview: StringBoolean;
              isMultiTrack: boolean;
              isPreview: boolean;
              list: Video[];
              type: "video";
          }
          +VideoInfoVideos | vot.js
          VideoInfoVideos: {
              canAutoPlay: boolean;
              dimension: Dimension;
              hasPreview: StringBoolean;
              isMultiTrack: boolean;
              isPreview: boolean;
              list: Video[];
              type: "video";
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoProvider.html b/docs/types/VOTTypes.WeverseType.VideoProvider.html index fddda373..511abcd9 100644 --- a/docs/types/VOTTypes.WeverseType.VideoProvider.html +++ b/docs/types/VOTTypes.WeverseType.VideoProvider.html @@ -1 +1 @@ -VideoProvider | vot.js
          VideoProvider: {
              name: string;
          }
          +VideoProvider | vot.js
          VideoProvider: {
              name: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoShare.html b/docs/types/VOTTypes.WeverseType.VideoShare.html index 4f00f7c5..02ab994b 100644 --- a/docs/types/VOTTypes.WeverseType.VideoShare.html +++ b/docs/types/VOTTypes.WeverseType.VideoShare.html @@ -1 +1 @@ -VideoShare | vot.js
          VideoShare: {
              count: number;
              onlyInnerServices: boolean;
              usable: boolean;
          }
          +VideoShare | vot.js
          VideoShare: {
              count: number;
              onlyInnerServices: boolean;
              usable: boolean;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoThumbnailItem.html b/docs/types/VOTTypes.WeverseType.VideoThumbnailItem.html index 690ca208..bd585435 100644 --- a/docs/types/VOTTypes.WeverseType.VideoThumbnailItem.html +++ b/docs/types/VOTTypes.WeverseType.VideoThumbnailItem.html @@ -1 +1 @@ -VideoThumbnailItem | vot.js

          Type Alias VideoThumbnailItem

          VideoThumbnailItem: {
              source: string;
              time: number;
          }
          +VideoThumbnailItem | vot.js

          Type Alias VideoThumbnailItem

          VideoThumbnailItem: {
              source: string;
              time: number;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoThumbnailSprite.html b/docs/types/VOTTypes.WeverseType.VideoThumbnailSprite.html index 72ae51e9..4af69793 100644 --- a/docs/types/VOTTypes.WeverseType.VideoThumbnailSprite.html +++ b/docs/types/VOTTypes.WeverseType.VideoThumbnailSprite.html @@ -1 +1 @@ -VideoThumbnailSprite | vot.js

          Type Alias VideoThumbnailSprite

          VideoThumbnailSprite: {
              allThumbnailCount: number;
              columnCount: number;
              interval: number;
              intervalType: string;
              rowCount: number;
              source: string;
              sourcePatternType: string;
              thumbnailHeight: number;
              thumbnailWidth: number;
              totalPage: number;
              type: string;
          }
          +VideoThumbnailSprite | vot.js

          Type Alias VideoThumbnailSprite

          VideoThumbnailSprite: {
              allThumbnailCount: number;
              columnCount: number;
              interval: number;
              intervalType: string;
              rowCount: number;
              source: string;
              sourcePatternType: string;
              thumbnailHeight: number;
              thumbnailWidth: number;
              totalPage: number;
              type: string;
          }
          diff --git a/docs/types/VOTTypes.WeverseType.VideoUser.html b/docs/types/VOTTypes.WeverseType.VideoUser.html index 44f36bc6..66be1c7e 100644 --- a/docs/types/VOTTypes.WeverseType.VideoUser.html +++ b/docs/types/VOTTypes.WeverseType.VideoUser.html @@ -1 +1 @@ -VideoUser | vot.js
          VideoUser: {
              id: string;
              name: string;
              url: string;
          }
          +VideoUser | vot.js
          VideoUser: {
              id: string;
              name: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.YandexProtobufType.DeepPartial.html b/docs/types/VOTTypes.YandexProtobufType.DeepPartial.html index b23359ce..38cc92ca 100644 --- a/docs/types/VOTTypes.YandexProtobufType.DeepPartial.html +++ b/docs/types/VOTTypes.YandexProtobufType.DeepPartial.html @@ -1 +1 @@ -DeepPartial | vot.js
          DeepPartial<T>: T extends Builtin
              ? T
              : T extends (infer U)[]
                  ? DeepPartial<U>[]
                  : T extends ReadonlyArray<infer U>
                      ? ReadonlyArray<DeepPartial<U>>
                      : T extends {}
                          ? {
                              [K in keyof T]?: DeepPartial<T[K]>
                          }
                          : Partial<T>

          Type Parameters

          • T
          +DeepPartial | vot.js
          DeepPartial<T>: T extends Builtin
              ? T
              : T extends (infer U)[]
                  ? DeepPartial<U>[]
                  : T extends ReadonlyArray<infer U>
                      ? ReadonlyArray<DeepPartial<U>>
                      : T extends {}
                          ? {
                              [K in keyof T]?: DeepPartial<T[K]>
                          }
                          : Partial<T>

          Type Parameters

          • T
          diff --git a/docs/types/VOTTypes.YandexProtobufType.Exact.html b/docs/types/VOTTypes.YandexProtobufType.Exact.html index 50cc62c9..bed0c638 100644 --- a/docs/types/VOTTypes.YandexProtobufType.Exact.html +++ b/docs/types/VOTTypes.YandexProtobufType.Exact.html @@ -1 +1 @@ -Exact | vot.js
          Exact<P, I>: P extends Builtin
              ? P
              : P & {
                  [K in keyof P]: Exact<P[K], I[K]>
              } & {
                  [K in Exclude<keyof I, KeysOfUnion<P>>]: never
              }

          Type Parameters

          • P
          • I extends P
          +Exact | vot.js
          Exact<P, I>: P extends Builtin
              ? P
              : P & {
                  [K in keyof P]: Exact<P[K], I[K]>
              } & {
                  [K in Exclude<keyof I, KeysOfUnion<P>>]: never
              }

          Type Parameters

          • P
          • I extends P
          diff --git a/docs/types/VOTTypes.YandexType.RequestHeaders.html b/docs/types/VOTTypes.YandexType.RequestHeaders.html index 3c01c166..8101a036 100644 --- a/docs/types/VOTTypes.YandexType.RequestHeaders.html +++ b/docs/types/VOTTypes.YandexType.RequestHeaders.html @@ -1 +1 @@ -RequestHeaders | vot.js
          RequestHeaders: Record<string, any>
          +RequestHeaders | vot.js
          RequestHeaders: Record<string, any>
          diff --git a/docs/types/VOTTypes.YandexType.RequestLang.html b/docs/types/VOTTypes.YandexType.RequestLang.html index 7eeded36..9016a6ef 100644 --- a/docs/types/VOTTypes.YandexType.RequestLang.html +++ b/docs/types/VOTTypes.YandexType.RequestLang.html @@ -1 +1 @@ -RequestLang | vot.js
          RequestLang: typeof availableLangs[number]
          +RequestLang | vot.js
          RequestLang: typeof availableLangs[number]
          diff --git a/docs/types/VOTTypes.YandexType.ResponseLang.html b/docs/types/VOTTypes.YandexType.ResponseLang.html index ee87cd3c..f8fd6fbe 100644 --- a/docs/types/VOTTypes.YandexType.ResponseLang.html +++ b/docs/types/VOTTypes.YandexType.ResponseLang.html @@ -1 +1 @@ -ResponseLang | vot.js
          ResponseLang: typeof availableTTS[number]
          +ResponseLang | vot.js
          ResponseLang: typeof availableTTS[number]
          diff --git a/docs/types/VOTTypes.YandexType.ServiceConf.html b/docs/types/VOTTypes.YandexType.ServiceConf.html index 7a2d6cce..ae867955 100644 --- a/docs/types/VOTTypes.YandexType.ServiceConf.html +++ b/docs/types/VOTTypes.YandexType.ServiceConf.html @@ -1 +1 @@ -ServiceConf | vot.js
          ServiceConf: {
              additionalData?: string;
              host: VideoService;
              match?: any;
              needExtraData?: true;
              rawResult?: true;
              url?: string;
          }
          +ServiceConf | vot.js
          ServiceConf: {
              additionalData?: string;
              host: VideoService;
              match?: any;
              needExtraData?: true;
              rawResult?: true;
              url?: string;
          }
          diff --git a/docs/types/VOTTypes.YandexType.SessionModule.html b/docs/types/VOTTypes.YandexType.SessionModule.html index 30806981..19b7a3f1 100644 --- a/docs/types/VOTTypes.YandexType.SessionModule.html +++ b/docs/types/VOTTypes.YandexType.SessionModule.html @@ -1 +1 @@ -SessionModule | vot.js
          SessionModule: "video-translation" | "summarization"
          +SessionModule | vot.js
          SessionModule: "video-translation" | "summarization"
          diff --git a/docs/types/VOTTypes.YandexType.StreamPingOptions.html b/docs/types/VOTTypes.YandexType.StreamPingOptions.html index 7226c4aa..49cf29b8 100644 --- a/docs/types/VOTTypes.YandexType.StreamPingOptions.html +++ b/docs/types/VOTTypes.YandexType.StreamPingOptions.html @@ -1 +1 @@ -StreamPingOptions | vot.js

          Type Alias StreamPingOptions

          StreamPingOptions: {
              headers?: RequestHeaders;
              pingId: number;
          }
          +StreamPingOptions | vot.js

          Type Alias StreamPingOptions

          StreamPingOptions: {
              headers?: RequestHeaders;
              pingId: number;
          }
          diff --git a/docs/types/VOTTypes.YandexType.StreamTranslationObject.html b/docs/types/VOTTypes.YandexType.StreamTranslationObject.html index 66c8021d..7211e4d7 100644 --- a/docs/types/VOTTypes.YandexType.StreamTranslationObject.html +++ b/docs/types/VOTTypes.YandexType.StreamTranslationObject.html @@ -1 +1 @@ -StreamTranslationObject | vot.js

          Type Alias StreamTranslationObject

          StreamTranslationObject: {
              timestamp: string;
              url: string;
          }
          +StreamTranslationObject | vot.js

          Type Alias StreamTranslationObject

          StreamTranslationObject: {
              timestamp: string;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.YandexType.StreamTranslationOpts.html b/docs/types/VOTTypes.YandexType.StreamTranslationOpts.html index 4b965ea2..0fcbfa2b 100644 --- a/docs/types/VOTTypes.YandexType.StreamTranslationOpts.html +++ b/docs/types/VOTTypes.YandexType.StreamTranslationOpts.html @@ -1 +1 @@ -StreamTranslationOpts | vot.js

          Type Alias StreamTranslationOpts

          StreamTranslationOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              videoData: VOTTypes.ClientType.VideoData;
          }
          +StreamTranslationOpts | vot.js

          Type Alias StreamTranslationOpts

          StreamTranslationOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              videoData: VOTTypes.ClientType.VideoData;
          }
          diff --git a/docs/types/VOTTypes.YandexType.StreamTranslationResponse.html b/docs/types/VOTTypes.YandexType.StreamTranslationResponse.html index de456465..261274b5 100644 --- a/docs/types/VOTTypes.YandexType.StreamTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.StreamTranslationResponse.html @@ -1 +1 @@ -StreamTranslationResponse | vot.js
          +StreamTranslationResponse | vot.js
          diff --git a/docs/types/VOTTypes.YandexType.TranslatedStreamTranslationResponse.html b/docs/types/VOTTypes.YandexType.TranslatedStreamTranslationResponse.html index b0feb5d0..0dcb37bd 100644 --- a/docs/types/VOTTypes.YandexType.TranslatedStreamTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.TranslatedStreamTranslationResponse.html @@ -1 +1 @@ -TranslatedStreamTranslationResponse | vot.js

          Type Alias TranslatedStreamTranslationResponse

          TranslatedStreamTranslationResponse: {
              interval: number;
              pingId: number;
              result: VOTTypes.YandexType.StreamTranslationObject;
              translated: true;
          }
          +TranslatedStreamTranslationResponse | vot.js

          Type Alias TranslatedStreamTranslationResponse

          TranslatedStreamTranslationResponse: {
              interval: number;
              pingId: number;
              result: VOTTypes.YandexType.StreamTranslationObject;
              translated: true;
          }
          diff --git a/docs/types/VOTTypes.YandexType.TranslatedVideoTranslationResponse.html b/docs/types/VOTTypes.YandexType.TranslatedVideoTranslationResponse.html index 7fb5e42e..b461efaf 100644 --- a/docs/types/VOTTypes.YandexType.TranslatedVideoTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.TranslatedVideoTranslationResponse.html @@ -1 +1 @@ -TranslatedVideoTranslationResponse | vot.js

          Type Alias TranslatedVideoTranslationResponse

          TranslatedVideoTranslationResponse: {
              message?: string;
              remainingTime: number;
              translated: true;
              url: string;
          }
          +TranslatedVideoTranslationResponse | vot.js

          Type Alias TranslatedVideoTranslationResponse

          TranslatedVideoTranslationResponse: {
              message?: string;
              remainingTime: number;
              translated: true;
              url: string;
          }
          diff --git a/docs/types/VOTTypes.YandexType.TranslationHelp.html b/docs/types/VOTTypes.YandexType.TranslationHelp.html index 12103380..0bf67d38 100644 --- a/docs/types/VOTTypes.YandexType.TranslationHelp.html +++ b/docs/types/VOTTypes.YandexType.TranslationHelp.html @@ -1 +1 @@ -TranslationHelp | vot.js

          Type Alias TranslationHelp

          TranslationHelp: {
              target: TranslationHelpTarget;
              targetUrl: string;
          }
          +TranslationHelp | vot.js

          Type Alias TranslationHelp

          TranslationHelp: {
              target: TranslationHelpTarget;
              targetUrl: string;
          }
          diff --git a/docs/types/VOTTypes.YandexType.TranslationHelpTarget.html b/docs/types/VOTTypes.YandexType.TranslationHelpTarget.html index d3adf4ed..21b73880 100644 --- a/docs/types/VOTTypes.YandexType.TranslationHelpTarget.html +++ b/docs/types/VOTTypes.YandexType.TranslationHelpTarget.html @@ -1 +1 @@ -TranslationHelpTarget | vot.js

          Type Alias TranslationHelpTarget

          TranslationHelpTarget: "video_file_url" | "subtitles_file_url"
          +TranslationHelpTarget | vot.js

          Type Alias TranslationHelpTarget

          TranslationHelpTarget: "video_file_url" | "subtitles_file_url"
          diff --git a/docs/types/VOTTypes.YandexType.VideoSubtitlesOpts.html b/docs/types/VOTTypes.YandexType.VideoSubtitlesOpts.html index 82023f46..d866e14c 100644 --- a/docs/types/VOTTypes.YandexType.VideoSubtitlesOpts.html +++ b/docs/types/VOTTypes.YandexType.VideoSubtitlesOpts.html @@ -1 +1 @@ -VideoSubtitlesOpts | vot.js

          Type Alias VideoSubtitlesOpts

          VideoSubtitlesOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              videoData: VOTTypes.ClientType.VideoData;
          }
          +VideoSubtitlesOpts | vot.js

          Type Alias VideoSubtitlesOpts

          VideoSubtitlesOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              videoData: VOTTypes.ClientType.VideoData;
          }
          diff --git a/docs/types/VOTTypes.YandexType.VideoTranslationOpts.html b/docs/types/VOTTypes.YandexType.VideoTranslationOpts.html index 863c3287..9b3f0053 100644 --- a/docs/types/VOTTypes.YandexType.VideoTranslationOpts.html +++ b/docs/types/VOTTypes.YandexType.VideoTranslationOpts.html @@ -1 +1 @@ -VideoTranslationOpts | vot.js

          Type Alias VideoTranslationOpts

          VideoTranslationOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              translationHelp?: TranslationHelp[] | null;
              videoData: VOTTypes.ClientType.VideoData;
          }
          +VideoTranslationOpts | vot.js

          Type Alias VideoTranslationOpts

          VideoTranslationOpts: {
              headers?: RequestHeaders;
              requestLang?: RequestLang;
              responseLang?: ResponseLang;
              translationHelp?: TranslationHelp[] | null;
              videoData: VOTTypes.ClientType.VideoData;
          }
          diff --git a/docs/types/VOTTypes.YandexType.VideoTranslationResponse.html b/docs/types/VOTTypes.YandexType.VideoTranslationResponse.html index 9e12cd20..e1d4c718 100644 --- a/docs/types/VOTTypes.YandexType.VideoTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.VideoTranslationResponse.html @@ -1 +1 @@ -VideoTranslationResponse | vot.js
          +VideoTranslationResponse | vot.js
          diff --git a/docs/types/VOTTypes.YandexType.WaitingStreamTranslationResponse.html b/docs/types/VOTTypes.YandexType.WaitingStreamTranslationResponse.html index cf06b5a6..b75b04d1 100644 --- a/docs/types/VOTTypes.YandexType.WaitingStreamTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.WaitingStreamTranslationResponse.html @@ -1 +1 @@ -WaitingStreamTranslationResponse | vot.js

          Type Alias WaitingStreamTranslationResponse

          WaitingStreamTranslationResponse: {
              interval: number;
              message: string;
              translated: false;
          }
          +WaitingStreamTranslationResponse | vot.js

          Type Alias WaitingStreamTranslationResponse

          WaitingStreamTranslationResponse: {
              interval: number;
              message: string;
              translated: false;
          }
          diff --git a/docs/types/VOTTypes.YandexType.WaitingVideoTranslationResponse.html b/docs/types/VOTTypes.YandexType.WaitingVideoTranslationResponse.html index f64890ef..300ab76d 100644 --- a/docs/types/VOTTypes.YandexType.WaitingVideoTranslationResponse.html +++ b/docs/types/VOTTypes.YandexType.WaitingVideoTranslationResponse.html @@ -1 +1 @@ -WaitingVideoTranslationResponse | vot.js

          Type Alias WaitingVideoTranslationResponse

          WaitingVideoTranslationResponse: {
              message?: string;
              remainingTime: number;
              translated: false;
          }
          +WaitingVideoTranslationResponse | vot.js

          Type Alias WaitingVideoTranslationResponse

          WaitingVideoTranslationResponse: {
              message?: string;
              remainingTime: number;
              translated: false;
          }
          diff --git a/docs/types/VideoHelper.AvailableVideoHelpers.html b/docs/types/VideoHelper.AvailableVideoHelpers.html index e105295e..d17fa4c6 100644 --- a/docs/types/VideoHelper.AvailableVideoHelpers.html +++ b/docs/types/VideoHelper.AvailableVideoHelpers.html @@ -1 +1 @@ -AvailableVideoHelpers | vot.js

          Type Alias AvailableVideoHelpers

          AvailableVideoHelpers: typeof availableHelpers
          +AvailableVideoHelpers | vot.js

          Type Alias AvailableVideoHelpers

          AvailableVideoHelpers: typeof availableHelpers
          diff --git a/docs/variables/VOTConsts.availableLangs.html b/docs/variables/VOTConsts.availableLangs.html index 8feea564..50d159d5 100644 --- a/docs/variables/VOTConsts.availableLangs.html +++ b/docs/variables/VOTConsts.availableLangs.html @@ -1 +1 @@ -availableLangs | vot.js

          Variable availableLangsConst

          availableLangs: readonly ["auto", "ru", "en", "zh", "ko", "lt", "lv", "ar", "fr", "it", "es", "de", "ja"] = ...
          +availableLangs | vot.js

          Variable availableLangsConst

          availableLangs: readonly ["auto", "ru", "en", "zh", "ko", "lt", "lv", "ar", "fr", "it", "es", "de", "ja"] = ...
          diff --git a/docs/variables/VOTConsts.availableTTS.html b/docs/variables/VOTConsts.availableTTS.html index 4d441090..09d0246b 100644 --- a/docs/variables/VOTConsts.availableTTS.html +++ b/docs/variables/VOTConsts.availableTTS.html @@ -1 +1 @@ -availableTTS | vot.js

          Variable availableTTSConst

          availableTTS: readonly ["ru", "en", "kk"] = ...
          +availableTTS | vot.js

          Variable availableTTSConst

          availableTTS: readonly ["ru", "en", "kk"] = ...
          diff --git a/docs/variables/VOTConsts.subtitlesFormats.html b/docs/variables/VOTConsts.subtitlesFormats.html index 65918a60..7e83992c 100644 --- a/docs/variables/VOTConsts.subtitlesFormats.html +++ b/docs/variables/VOTConsts.subtitlesFormats.html @@ -1 +1 @@ -subtitlesFormats | vot.js

          Variable subtitlesFormatsConst

          subtitlesFormats: readonly ["srt", "vtt", "json"] = ...
          +subtitlesFormats | vot.js

          Variable subtitlesFormatsConst

          subtitlesFormats: readonly ["srt", "vtt", "json"] = ...
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.StreamPingRequest-1.html b/docs/variables/VOTTypes.YandexProtobufType.StreamPingRequest-1.html index 155a6679..c5e511e4 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.StreamPingRequest-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.StreamPingRequest-1.html @@ -1 +1 @@ -StreamPingRequest | vot.js
          StreamPingRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamPingRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamPingRequest;
              encode(message: VOTTypes.YandexProtobufType.StreamPingRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamPingRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamPingRequest;
              toJSON(message: VOTTypes.YandexProtobufType.StreamPingRequest): unknown;
          }
          +StreamPingRequest | vot.js
          StreamPingRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamPingRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamPingRequest;
              encode(message: VOTTypes.YandexProtobufType.StreamPingRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamPingRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamPingRequest;
              toJSON(message: VOTTypes.YandexProtobufType.StreamPingRequest): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationObject-1.html b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationObject-1.html index a9238c84..b589c22b 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationObject-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationObject-1.html @@ -1 +1 @@ -StreamTranslationObject | vot.js
          StreamTranslationObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationObject;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationObject;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationObject): unknown;
          }
          +StreamTranslationObject | vot.js
          StreamTranslationObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationObject;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationObject;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationObject): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationRequest-1.html b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationRequest-1.html index c1f46198..18c8f538 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationRequest-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationRequest-1.html @@ -1 +1 @@ -StreamTranslationRequest | vot.js
          StreamTranslationRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationRequest): unknown;
          }
          +StreamTranslationRequest | vot.js
          StreamTranslationRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationRequest;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationRequest): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationResponse-1.html b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationResponse-1.html index 3b8c8978..6d8e1881 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationResponse-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.StreamTranslationResponse-1.html @@ -1 +1 @@ -StreamTranslationResponse | vot.js
          StreamTranslationResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationResponse): unknown;
          }
          +StreamTranslationResponse | vot.js
          StreamTranslationResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              encode(message: VOTTypes.YandexProtobufType.StreamTranslationResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              toJSON(message: VOTTypes.YandexProtobufType.StreamTranslationResponse): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesObject-1.html b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesObject-1.html index 0d797a89..1f563f0a 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesObject-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesObject-1.html @@ -1 +1 @@ -SubtitlesObject | vot.js
          SubtitlesObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesObject;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesObject;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesObject): unknown;
          }
          +SubtitlesObject | vot.js
          SubtitlesObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesObject;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesObject;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesObject): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesRequest-1.html b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesRequest-1.html index 9998cd91..728e7e44 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesRequest-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesRequest-1.html @@ -1 +1 @@ -SubtitlesRequest | vot.js
          SubtitlesRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesRequest;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesRequest;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesRequest): unknown;
          }
          +SubtitlesRequest | vot.js
          SubtitlesRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesRequest;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesRequest;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesRequest): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesResponse-1.html b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesResponse-1.html index f11ac5e9..ada64fb6 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.SubtitlesResponse-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.SubtitlesResponse-1.html @@ -1 +1 @@ -SubtitlesResponse | vot.js
          SubtitlesResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesResponse;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesResponse;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesResponse): unknown;
          }
          +SubtitlesResponse | vot.js
          SubtitlesResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.SubtitlesResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.SubtitlesResponse;
              encode(message: VOTTypes.YandexProtobufType.SubtitlesResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.SubtitlesResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.SubtitlesResponse;
              toJSON(message: VOTTypes.YandexProtobufType.SubtitlesResponse): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationHelpObject-1.html b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationHelpObject-1.html index 7dcba1f5..6df558c5 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationHelpObject-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationHelpObject-1.html @@ -1 +1 @@ -VideoTranslationHelpObject | vot.js
          VideoTranslationHelpObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationHelpObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationHelpObject): unknown;
          }
          +VideoTranslationHelpObject | vot.js
          VideoTranslationHelpObject: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationHelpObject, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationHelpObject;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationHelpObject): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationRequest-1.html b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationRequest-1.html index 54f822b2..7f1892a5 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationRequest-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationRequest-1.html @@ -1 +1 @@ -VideoTranslationRequest | vot.js
          VideoTranslationRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationRequest): unknown;
          }
          +VideoTranslationRequest | vot.js
          VideoTranslationRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationRequest;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationRequest): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationResponse-1.html b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationResponse-1.html index 4703dcee..f30b1410 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationResponse-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.VideoTranslationResponse-1.html @@ -1 +1 @@ -VideoTranslationResponse | vot.js
          VideoTranslationResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationResponse): unknown;
          }
          +VideoTranslationResponse | vot.js
          VideoTranslationResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              encode(message: VOTTypes.YandexProtobufType.VideoTranslationResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              toJSON(message: VOTTypes.YandexProtobufType.VideoTranslationResponse): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.YandexSessionRequest-1.html b/docs/variables/VOTTypes.YandexProtobufType.YandexSessionRequest-1.html index 000db104..2242cc3d 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.YandexSessionRequest-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.YandexSessionRequest-1.html @@ -1 +1 @@ -YandexSessionRequest | vot.js
          YandexSessionRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.YandexSessionRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.YandexSessionRequest;
              encode(message: VOTTypes.YandexProtobufType.YandexSessionRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.YandexSessionRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.YandexSessionRequest;
              toJSON(message: VOTTypes.YandexProtobufType.YandexSessionRequest): unknown;
          }
          +YandexSessionRequest | vot.js
          YandexSessionRequest: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.YandexSessionRequest;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.YandexSessionRequest;
              encode(message: VOTTypes.YandexProtobufType.YandexSessionRequest, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.YandexSessionRequest;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.YandexSessionRequest;
              toJSON(message: VOTTypes.YandexProtobufType.YandexSessionRequest): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.YandexSessionResponse-1.html b/docs/variables/VOTTypes.YandexProtobufType.YandexSessionResponse-1.html index 1c419ea8..0ccefe13 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.YandexSessionResponse-1.html +++ b/docs/variables/VOTTypes.YandexProtobufType.YandexSessionResponse-1.html @@ -1 +1 @@ -YandexSessionResponse | vot.js
          YandexSessionResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.YandexSessionResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.YandexSessionResponse;
              encode(message: VOTTypes.YandexProtobufType.YandexSessionResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.YandexSessionResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.YandexSessionResponse;
              toJSON(message: VOTTypes.YandexProtobufType.YandexSessionResponse): unknown;
          }
          +YandexSessionResponse | vot.js
          YandexSessionResponse: {
              create<I>(base?: I): VOTTypes.YandexProtobufType.YandexSessionResponse;
              decode(input: Uint8Array | Reader, length?: number): VOTTypes.YandexProtobufType.YandexSessionResponse;
              encode(message: VOTTypes.YandexProtobufType.YandexSessionResponse, writer?: Writer): Writer;
              fromJSON(object: any): VOTTypes.YandexProtobufType.YandexSessionResponse;
              fromPartial<I>(object: I): VOTTypes.YandexProtobufType.YandexSessionResponse;
              toJSON(message: VOTTypes.YandexProtobufType.YandexSessionResponse): unknown;
          }
          diff --git a/docs/variables/VOTTypes.YandexProtobufType.protobufPackage.html b/docs/variables/VOTTypes.YandexProtobufType.protobufPackage.html index 4b8384a4..56459261 100644 --- a/docs/variables/VOTTypes.YandexProtobufType.protobufPackage.html +++ b/docs/variables/VOTTypes.YandexProtobufType.protobufPackage.html @@ -1 +1 @@ -protobufPackage | vot.js
          protobufPackage: "" = ""
          +protobufPackage | vot.js
          protobufPackage: "" = ""
          diff --git a/docs/variables/VideoHelper.availableHelpers.html b/docs/variables/VideoHelper.availableHelpers.html index b2ed7585..5bf72e16 100644 --- a/docs/variables/VideoHelper.availableHelpers.html +++ b/docs/variables/VideoHelper.availableHelpers.html @@ -1 +1 @@ -availableHelpers | vot.js

          Variable availableHelpersConst

          availableHelpers: {
              apple_developer: typeof AppleDeveloperHelper;
              bannedvideo: typeof BannedVideoHelper;
              coursehunter: typeof CoursehunterHelper;
              epicgames: typeof EpicGamesHelper;
              kick: typeof KickHelper;
              kodik: typeof KodikHelper;
              linkedin: typeof LinkedinHelper;
              mailru: typeof MailRuHelper;
              nineanimetv: typeof NineAnimeTVHelper;
              odysee: typeof OdyseeHelper;
              patreon: typeof PatreonHelper;
              reddit: typeof RedditHelper;
              sap: typeof SapHelper;
              twitch: typeof TwitchHelper;
              vimeo: typeof VimeoHelper;
              weverse: typeof WeverseHelper;
          } = ...
          +availableHelpers | vot.js

          Variable availableHelpersConst

          availableHelpers: {
              apple_developer: typeof AppleDeveloperHelper;
              bannedvideo: typeof BannedVideoHelper;
              coursehunter: typeof CoursehunterHelper;
              epicgames: typeof EpicGamesHelper;
              kick: typeof KickHelper;
              kodik: typeof KodikHelper;
              linkedin: typeof LinkedinHelper;
              mailru: typeof MailRuHelper;
              nineanimetv: typeof NineAnimeTVHelper;
              odysee: typeof OdyseeHelper;
              patreon: typeof PatreonHelper;
              reddit: typeof RedditHelper;
              sap: typeof SapHelper;
              twitch: typeof TwitchHelper;
              vimeo: typeof VimeoHelper;
              weverse: typeof WeverseHelper;
          } = ...
          diff --git a/docs/variables/yandexProtobuf.html b/docs/variables/yandexProtobuf.html index c7b0d2ab..bf3eeeb7 100644 --- a/docs/variables/yandexProtobuf.html +++ b/docs/variables/yandexProtobuf.html @@ -1 +1 @@ -yandexProtobuf | vot.js

          Variable yandexProtobufConst

          yandexProtobuf: {
              decodeStreamResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              decodeSubtitlesResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.SubtitlesResponse;
              decodeTranslationResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              decodeYandexSessionResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.YandexSessionResponse;
              encodeStreamPingRequest(pingId: number): Uint8Array;
              encodeStreamRequest(url: string, requestLang: string, responseLang: string): Uint8Array;
              encodeSubtitlesRequest(url: string, requestLang: string): Uint8Array;
              encodeTranslationRequest(url: string, duration: number, requestLang: string, responseLang: string, translationHelp: null | TranslationHelp[]): Uint8Array;
              encodeYandexSessionRequest(uuid: string, module: SessionModule): Uint8Array;
          } = ...
          +yandexProtobuf | vot.js

          Variable yandexProtobufConst

          yandexProtobuf: {
              decodeStreamResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.StreamTranslationResponse;
              decodeSubtitlesResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.SubtitlesResponse;
              decodeTranslationResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.VideoTranslationResponse;
              decodeYandexSessionResponse(response: ArrayBuffer): VOTTypes.YandexProtobufType.YandexSessionResponse;
              encodeStreamPingRequest(pingId: number): Uint8Array;
              encodeStreamRequest(url: string, requestLang: string, responseLang: string): Uint8Array;
              encodeSubtitlesRequest(url: string, requestLang: string): Uint8Array;
              encodeTranslationRequest(url: string, duration: number, requestLang: string, responseLang: string, translationHelp: null | TranslationHelp[]): Uint8Array;
              encodeYandexSessionRequest(uuid: string, module: SessionModule): Uint8Array;
          } = ...
          diff --git a/package.json b/package.json index abb50fba..20b89c9b 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "vot.js", "description": "Unoffical library for interacting with the Yandex VOT API", - "version": "1.3.0", + "version": "1.3.1", "author": "Toil", "license": "MIT", "repository": { diff --git a/src/helpers/vimeo.ts b/src/helpers/vimeo.ts index 34bc77d8..3e8b77ff 100644 --- a/src/helpers/vimeo.ts +++ b/src/helpers/vimeo.ts @@ -81,9 +81,15 @@ export default class VimeoHelper extends BaseHelper { const pathLength = Array.from(data.base_url.matchAll(/\.\.\//g)).length + 1; const pathFragments = baseUrl.pathname.split("/"); - baseUrl.pathname = pathFragments - .slice(0, pathFragments.length - pathLength) - .join("/"); + let extraPath = data.base_url.replaceAll("../", ""); + extraPath = + extraPath && !extraPath.startsWith("/") ? `/${extraPath}` : extraPath; + baseUrl.pathname = + pathFragments.slice(0, pathFragments.length - pathLength).join("/") + + extraPath; + if (!baseUrl.pathname.endsWith("/")) { + baseUrl.pathname += "/"; + } const videoData = data.audio.find( (v) => v.mime_type === "audio/mp4" && v.format === "dash", @@ -98,9 +104,9 @@ export default class VimeoHelper extends BaseHelper { } const [videoName, videoParams] = segmentUrl.split("?", 2); - baseUrl.pathname += `/${videoData.base_url}${videoName}`; // base_url ends with "/" const params = new URLSearchParams(videoParams); params.delete("range"); + baseUrl.pathname += `${videoData.base_url}${videoName}`; // base_url ends with "/" baseUrl.href = baseUrl.href.split("?")[0] + "?" + params.toString(); return baseUrl.href; } catch (err: unknown) { diff --git a/tests/videoData.test.ts b/tests/videoData.test.ts index bb305470..bf26fe4e 100644 --- a/tests/videoData.test.ts +++ b/tests/videoData.test.ts @@ -3,7 +3,8 @@ import { getVideoData } from "../src/utils/videoData"; import config from "../src/config/config"; const normalize = async (url: string, referer?: string) => { - return (await getVideoData(url, { referer }))?.url; + const data = await getVideoData(url, { referer }); + return data?.url; }; describe("youtube", () => { @@ -166,6 +167,12 @@ describe("vimeo", () => { expected, ); }); + test("embed private 2", async () => { + const expected = "https://player.vimeo.com/video/994752187"; + expect(await normalize(expected, "https://laracasts.com/")).toEqual( + expected, + ); + }); }); test("xvideos", async () => {