@omnia/fx
Version:
Provide Omnia Fx typings and tooling for clientside Omnia development.
14 lines (13 loc) • 737 B
TypeScript
import { HttpClient } from "@omnia/fx";
import { GuidValue, MediaflowAuthenticationInfo } from "@omnia/fx-models";
import { MediaflowAccessToken, MediaflowVideoInfo } from "../models";
export declare class MediaflowService {
protected httpClient: HttpClient;
private omniaHttpClient;
private mediaflowUrl;
private mediaflowApi;
getVideoInfo: (mediaId: string) => Promise<MediaflowVideoInfo>;
getAuthenticationInfo: (profileId: GuidValue) => Promise<MediaflowAuthenticationInfo>;
getBearerToken(authenInfo: MediaflowAuthenticationInfo): Promise<MediaflowAccessToken>;
reportUsage(mediaId: number, contact: string, removed: boolean, pageUrl: string, pageName: string, bearerToken: string): Promise<void>;
}