@pushwoosh/rpc-v2-http-api-data 0.1.499 → 0.1.501
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/data.js +28 -14
- package/package.json +1 -1
- package/statistics_dashboards_widgets.d.ts +10 -10
package/data.js
CHANGED
|
@@ -18578,16 +18578,19 @@ export const data = {
|
|
|
18578
18578
|
"type": "number"
|
|
18579
18579
|
},
|
|
18580
18580
|
"eventName": {
|
|
18581
|
-
"type": "string"
|
|
18581
|
+
"type": "string",
|
|
18582
|
+
"optional": true
|
|
18582
18583
|
},
|
|
18583
18584
|
"attributeConditions": {
|
|
18584
18585
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.AttributeCondition",
|
|
18585
18586
|
"array": true
|
|
18586
18587
|
},
|
|
18587
18588
|
"tag": {
|
|
18588
|
-
"type": "string"
|
|
18589
|
+
"type": "string",
|
|
18590
|
+
"optional": true
|
|
18589
18591
|
}
|
|
18590
|
-
}
|
|
18592
|
+
},
|
|
18593
|
+
"oneofs": {}
|
|
18591
18594
|
},
|
|
18592
18595
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.TypeFilter": {
|
|
18593
18596
|
"type": "E",
|
|
@@ -18649,25 +18652,31 @@ export const data = {
|
|
|
18649
18652
|
"array": true
|
|
18650
18653
|
},
|
|
18651
18654
|
"segment": {
|
|
18652
|
-
"type": "string"
|
|
18655
|
+
"type": "string",
|
|
18656
|
+
"optional": true
|
|
18653
18657
|
},
|
|
18654
18658
|
"pushId": {
|
|
18655
|
-
"type": "number"
|
|
18659
|
+
"type": "number",
|
|
18660
|
+
"optional": true
|
|
18656
18661
|
},
|
|
18657
18662
|
"emailId": {
|
|
18658
|
-
"type": "number"
|
|
18663
|
+
"type": "number",
|
|
18664
|
+
"optional": true
|
|
18659
18665
|
},
|
|
18660
18666
|
"campaign": {
|
|
18661
|
-
"type": "string"
|
|
18667
|
+
"type": "string",
|
|
18668
|
+
"optional": true
|
|
18662
18669
|
},
|
|
18663
18670
|
"journey": {
|
|
18664
|
-
"type": "string"
|
|
18671
|
+
"type": "string",
|
|
18672
|
+
"optional": true
|
|
18665
18673
|
},
|
|
18666
18674
|
"jPoints": {
|
|
18667
18675
|
"type": "string",
|
|
18668
18676
|
"array": true
|
|
18669
18677
|
}
|
|
18670
|
-
}
|
|
18678
|
+
},
|
|
18679
|
+
"oneofs": {}
|
|
18671
18680
|
},
|
|
18672
18681
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.BreakdownParams": {
|
|
18673
18682
|
"type": "I",
|
|
@@ -18676,7 +18685,8 @@ export const data = {
|
|
|
18676
18685
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.Breakdown"
|
|
18677
18686
|
},
|
|
18678
18687
|
"eventAttribute": {
|
|
18679
|
-
"type": "string"
|
|
18688
|
+
"type": "string",
|
|
18689
|
+
"optional": true
|
|
18680
18690
|
},
|
|
18681
18691
|
"metric": {
|
|
18682
18692
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.Metric"
|
|
@@ -18685,7 +18695,8 @@ export const data = {
|
|
|
18685
18695
|
"type": "string",
|
|
18686
18696
|
"array": true
|
|
18687
18697
|
}
|
|
18688
|
-
}
|
|
18698
|
+
},
|
|
18699
|
+
"oneofs": {}
|
|
18689
18700
|
},
|
|
18690
18701
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams": {
|
|
18691
18702
|
"type": "I",
|
|
@@ -18698,14 +18709,16 @@ export const data = {
|
|
|
18698
18709
|
"array": true
|
|
18699
18710
|
},
|
|
18700
18711
|
"filters": {
|
|
18701
|
-
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.Filters"
|
|
18712
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.Filters",
|
|
18713
|
+
"optional": true
|
|
18702
18714
|
},
|
|
18703
18715
|
"fltrs": {
|
|
18704
18716
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.Filter",
|
|
18705
18717
|
"array": true
|
|
18706
18718
|
},
|
|
18707
18719
|
"breakdown": {
|
|
18708
|
-
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.BreakdownParams"
|
|
18720
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ChartParams.BreakdownParams",
|
|
18721
|
+
"optional": true
|
|
18709
18722
|
},
|
|
18710
18723
|
"application": {
|
|
18711
18724
|
"type": "string"
|
|
@@ -18713,7 +18726,8 @@ export const data = {
|
|
|
18713
18726
|
"timezone": {
|
|
18714
18727
|
"type": "string"
|
|
18715
18728
|
}
|
|
18716
|
-
}
|
|
18729
|
+
},
|
|
18730
|
+
"oneofs": {}
|
|
18717
18731
|
},
|
|
18718
18732
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.GetLinearChartMetricsRequest": {
|
|
18719
18733
|
"type": "I",
|
package/package.json
CHANGED
|
@@ -92,9 +92,9 @@ export type AttributeCondition = {
|
|
|
92
92
|
};
|
|
93
93
|
export type Metric = {
|
|
94
94
|
id: number;
|
|
95
|
-
eventName
|
|
95
|
+
eventName?: string;
|
|
96
96
|
attributeConditions: AttributeCondition[];
|
|
97
|
-
tag
|
|
97
|
+
tag?: string;
|
|
98
98
|
};
|
|
99
99
|
export type TypeFilter = 'Platform' | 'Segment' | 'Push' | 'Email' | 'Campaign' | 'Journey';
|
|
100
100
|
export type ChartParams_TimeRange = {
|
|
@@ -112,25 +112,25 @@ export type ChartParams_Filters = {
|
|
|
112
112
|
export type ChartParams_Filter = {
|
|
113
113
|
type: TypeFilter;
|
|
114
114
|
platforms: number[];
|
|
115
|
-
segment
|
|
116
|
-
pushId
|
|
117
|
-
emailId
|
|
118
|
-
campaign
|
|
119
|
-
journey
|
|
115
|
+
segment?: string;
|
|
116
|
+
pushId?: number;
|
|
117
|
+
emailId?: number;
|
|
118
|
+
campaign?: string;
|
|
119
|
+
journey?: string;
|
|
120
120
|
jPoints: string[];
|
|
121
121
|
};
|
|
122
122
|
export type ChartParams_BreakdownParams = {
|
|
123
123
|
type: Breakdown;
|
|
124
|
-
eventAttribute
|
|
124
|
+
eventAttribute?: string;
|
|
125
125
|
metric: Metric;
|
|
126
126
|
selectedBreakdowns: string[];
|
|
127
127
|
};
|
|
128
128
|
export type ChartParams = {
|
|
129
129
|
timeRange: ChartParams_TimeRange;
|
|
130
130
|
metrics: Metric[];
|
|
131
|
-
filters
|
|
131
|
+
filters?: ChartParams_Filters;
|
|
132
132
|
fltrs: ChartParams_Filter[];
|
|
133
|
-
breakdown
|
|
133
|
+
breakdown?: ChartParams_BreakdownParams;
|
|
134
134
|
application: string;
|
|
135
135
|
timezone: string;
|
|
136
136
|
};
|