@pushwoosh/rpc-gateway-statistics-api 1.3.689
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/commonTypes.d.ts +18 -0
- package/commonTypes.js +3 -0
- package/data.d.ts +2 -0
- package/data.js +4192 -0
- package/index.d.ts +13 -0
- package/index.js +3 -0
- package/package.json +19 -0
- package/pushwoosh_statistics_statistics_v1.d.ts +796 -0
- package/pushwoosh_statistics_statistics_v1.js +3 -0
- package/pushwoosh_statistics_statistics_v2.d.ts +189 -0
- package/pushwoosh_statistics_statistics_v2.js +3 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.d.ts +143 -0
- package/pushwoosh_statistics_statistics_v2_dashboards.js +3 -0
- package/pushwoosh_statistics_statistics_v2_overview.d.ts +59 -0
- package/pushwoosh_statistics_statistics_v2_overview.js +3 -0
- package/pushwoosh_statistics_statistics_v2_statistics.d.ts +706 -0
- package/pushwoosh_statistics_statistics_v2_statistics.js +3 -0
- package/pushwoosh_statistics_types.d.ts +23 -0
- package/pushwoosh_statistics_types.js +3 -0
- package/types.d.ts +59 -0
- package/types.js +3 -0
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export type TimeInterval = 'TIME_INTERVAL_UNSPECIFIED' | 'HOUR' | 'DAY' | 'WEEK' | 'MONTH' | 'MINUTE';
|
|
2
|
+
export type Source = 'SOURCE_UNSPECIFIED'
|
|
3
|
+
/** deprecated */
|
|
4
|
+
| 'AB_EXPERIMENT' | 'AB_TEST' | 'API' | 'AUTO_PUSH' | 'CP' | 'CSV' | 'CUSTOMER_JOURNEY' | 'EMAIL_API' | 'EMAIL_CP' | 'GEO_ZONE' | 'PUSH_ON_EVENT' | 'RSS' | 'SYSTEM'
|
|
5
|
+
/** deprecated */
|
|
6
|
+
| 'TWITTER' | 'TARGETED' | 'LIVE_ACTIVITY_API';
|
|
7
|
+
export type MessageType = 'MESSAGE_TYPE_UNSPECIFIED' | 'TRANSACTIONAL' | 'BROADCAST' | 'ALL';
|
|
8
|
+
export type Platform = 'PLATFORM_UNSPECIFIED' | 'IOS'
|
|
9
|
+
/** deprecated */
|
|
10
|
+
| 'BLACKBERRY' | 'ANDROID'
|
|
11
|
+
/** deprecated */
|
|
12
|
+
| 'ASHA'
|
|
13
|
+
/** deprecated */
|
|
14
|
+
| 'WINDOWS_PHONE'
|
|
15
|
+
/** deprecated */
|
|
16
|
+
| 'BADA' | 'OSX' | 'WINDOWS' | 'AMAZON' | 'SAFARI' | 'CHROME' | 'FIREFOX' | 'IE' | 'EMAIL'
|
|
17
|
+
/** deprecated */
|
|
18
|
+
| 'FB_MESSENGER' | 'BAIDU_ANDROID' | 'HUAWEI_ANDROID' | 'SMS' | 'XIAOMI' | 'WEB';
|
|
19
|
+
export type DateRange = {
|
|
20
|
+
dateFrom: string;
|
|
21
|
+
dateTo: string;
|
|
22
|
+
interval: TimeInterval;
|
|
23
|
+
};
|
package/types.d.ts
ADDED
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
export type TypeDefinition = InterfaceDefinition | EnumDefinition | ServiceDefinition;
|
|
2
|
+
export type InterfaceDefinition = {
|
|
3
|
+
type: 'I';
|
|
4
|
+
fields: {
|
|
5
|
+
[fieldName: string]: FieldDefinition;
|
|
6
|
+
};
|
|
7
|
+
oneofs?: {
|
|
8
|
+
[oneofName: string]: OneofGroup;
|
|
9
|
+
};
|
|
10
|
+
comment?: string;
|
|
11
|
+
};
|
|
12
|
+
export type FieldDefinition = {
|
|
13
|
+
type: string;
|
|
14
|
+
mapKeyType?: string;
|
|
15
|
+
array?: boolean;
|
|
16
|
+
optional?: boolean;
|
|
17
|
+
comment?: string;
|
|
18
|
+
};
|
|
19
|
+
export type OneofGroup = {
|
|
20
|
+
oneof: string[];
|
|
21
|
+
};
|
|
22
|
+
export type EnumDefinition = {
|
|
23
|
+
type: 'E';
|
|
24
|
+
values: string[];
|
|
25
|
+
valuesArgs?: Record<string, string[]>;
|
|
26
|
+
comment?: string;
|
|
27
|
+
valueComments?: Record<string, string>;
|
|
28
|
+
};
|
|
29
|
+
export type ServiceDefinition = {
|
|
30
|
+
type: 'S';
|
|
31
|
+
key: string;
|
|
32
|
+
methods: {
|
|
33
|
+
[methodName: string]: ServiceMethod;
|
|
34
|
+
};
|
|
35
|
+
comment?: string;
|
|
36
|
+
};
|
|
37
|
+
export type ServiceMethod = {
|
|
38
|
+
request: string;
|
|
39
|
+
response: string;
|
|
40
|
+
method: string;
|
|
41
|
+
path: string;
|
|
42
|
+
serverStreaming?: boolean;
|
|
43
|
+
errors?: {
|
|
44
|
+
fieldViolations?: string;
|
|
45
|
+
failedPreconditions?: string;
|
|
46
|
+
commonFailedPreconditions?: string;
|
|
47
|
+
};
|
|
48
|
+
comment?: string;
|
|
49
|
+
};
|
|
50
|
+
export type InterfaceDefinitionRaw = InterfaceDefinition & {
|
|
51
|
+
package: string;
|
|
52
|
+
};
|
|
53
|
+
export type EnumDefinitionRaw = EnumDefinition & {
|
|
54
|
+
package: string;
|
|
55
|
+
};
|
|
56
|
+
export type ServiceDefinitionRaw = ServiceDefinition & {
|
|
57
|
+
package: string;
|
|
58
|
+
};
|
|
59
|
+
export type TypeDefinitionRaw = InterfaceDefinitionRaw | EnumDefinitionRaw | ServiceDefinitionRaw;
|
package/types.js
ADDED