This repository was archived by the owner on Apr 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsimplyanalysis.pb.ts
74 lines (67 loc) · 1.8 KB
/
simplyanalysis.pb.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
// Code generated by protoc-gen-js-fetch.
// DO NOT EDIT!
import * as apipb_datasetmodels from "./datasetmodels.pb";
export type DataInterval = "HOURLY" | "DAILY" ;
export const DataInterval_HOURLY: DataInterval = "HOURLY";
export const DataInterval_DAILY: DataInterval = "DAILY";
export const ALL_DataInterval_VALUES: DataInterval[] = [DataInterval_HOURLY,DataInterval_DAILY];
export interface GamePlayingRequest {
games?: string[];
/**
From is the unix seconds time
*/
from?: string|number;
/**
To is the unix seconds time
*/
to?: string|number;
interval?: DataInterval;
/**
Child Id to filter data from
optional
*/
childId?: string;
/**
Timezone Offset in seconds
*/
timezoneSeconds?: number;
}
export const GamePlayingRequest_games = "games";
export const GamePlayingRequest_from = "from";
export const GamePlayingRequest_to = "to";
export const GamePlayingRequest_interval = "interval";
export const GamePlayingRequest_childId = "child_id";
export const GamePlayingRequest_timezoneSeconds = "timezone_seconds";
export interface GamePlayingReply {
data?: apipb_datasetmodels.DataSet;
}
export const GamePlayingReply_data = "data";
export interface SimplifiedReq {
analysis?: string;
/**
From is the unix seconds time
*/
from?: string|number;
/**
To is the unix seconds time
*/
to?: string|number;
games?: string[];
interval?: DataInterval;
/**
Child Id to filter data from
optional
*/
childId?: string;
/**
Timezone Offset in seconds
*/
timezoneSeconds?: number;
}
export const SimplifiedReq_analysis = "analysis";
export const SimplifiedReq_from = "from";
export const SimplifiedReq_to = "to";
export const SimplifiedReq_games = "games";
export const SimplifiedReq_interval = "interval";
export const SimplifiedReq_childId = "child_id";
export const SimplifiedReq_timezoneSeconds = "timezone_seconds";