-
Notifications
You must be signed in to change notification settings - Fork 61
/
Copy pathexports.ts
54 lines (40 loc) · 1.15 KB
/
exports.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
import { APIResource } from '../../resource';
import * as Core from '../../core';
export class Exports extends APIResource {
/**
* Lists the available video view exports along with URLs to retrieve them.
*/
listVideoViews(options?: Core.RequestOptions): Core.APIPromise<VideoViewExportsResponse> {
return this._client.get('/data/v1/exports/views', options);
}
}
export interface ExportsResponse {
data: Array<string>;
timeframe: Array<number>;
total_row_count: number | null;
}
export interface VideoViewExportsResponse {
data: Array<VideoViewExportsResponse.Data>;
timeframe: Array<number>;
total_row_count: number | null;
}
export namespace VideoViewExportsResponse {
export interface Data {
export_date: string;
files: Array<Data.File>;
}
export namespace Data {
export interface File {
path: string;
type: string;
version: number;
}
}
}
export declare namespace Exports {
export {
type ExportsResponse as ExportsResponse,
type VideoViewExportsResponse as VideoViewExportsResponse,
};
}