@pushwoosh/rpc-v2-http-api-data 0.1.495 → 0.1.496
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 -2
- package/package.json +1 -1
- package/statistics_dashboards_widgets.d.ts +7 -2
package/data.js
CHANGED
|
@@ -18589,7 +18589,7 @@ export const data = {
|
|
|
18589
18589
|
}
|
|
18590
18590
|
}
|
|
18591
18591
|
},
|
|
18592
|
-
"pushwoosh.rpc_v2.statistics_dashboards_widgets.
|
|
18592
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.TypeFilter": {
|
|
18593
18593
|
"type": "E",
|
|
18594
18594
|
"values": [
|
|
18595
18595
|
"Platform",
|
|
@@ -18642,7 +18642,7 @@ export const data = {
|
|
|
18642
18642
|
"type": "I",
|
|
18643
18643
|
"fields": {
|
|
18644
18644
|
"type": {
|
|
18645
|
-
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.
|
|
18645
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.TypeFilter"
|
|
18646
18646
|
},
|
|
18647
18647
|
"platforms": {
|
|
18648
18648
|
"type": "number",
|
|
@@ -18839,6 +18839,22 @@ export const data = {
|
|
|
18839
18839
|
}
|
|
18840
18840
|
}
|
|
18841
18841
|
},
|
|
18842
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric.ValueType": {
|
|
18843
|
+
"type": "E",
|
|
18844
|
+
"values": [
|
|
18845
|
+
"Number",
|
|
18846
|
+
"Percent",
|
|
18847
|
+
"Money"
|
|
18848
|
+
]
|
|
18849
|
+
},
|
|
18850
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric.TotalCalculationType": {
|
|
18851
|
+
"type": "E",
|
|
18852
|
+
"values": [
|
|
18853
|
+
"Sum",
|
|
18854
|
+
"Avg",
|
|
18855
|
+
"Last"
|
|
18856
|
+
]
|
|
18857
|
+
},
|
|
18842
18858
|
"pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric": {
|
|
18843
18859
|
"type": "I",
|
|
18844
18860
|
"fields": {
|
|
@@ -18854,6 +18870,16 @@ export const data = {
|
|
|
18854
18870
|
"subMetrics": {
|
|
18855
18871
|
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric",
|
|
18856
18872
|
"array": true
|
|
18873
|
+
},
|
|
18874
|
+
"type": {
|
|
18875
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric.ValueType"
|
|
18876
|
+
},
|
|
18877
|
+
"totalType": {
|
|
18878
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.GetCategoryTreeResponse.Metric.TotalCalculationType"
|
|
18879
|
+
},
|
|
18880
|
+
"availableFilters": {
|
|
18881
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.TypeFilter",
|
|
18882
|
+
"array": true
|
|
18857
18883
|
}
|
|
18858
18884
|
}
|
|
18859
18885
|
},
|
package/package.json
CHANGED
|
@@ -96,7 +96,7 @@ export type Metric = {
|
|
|
96
96
|
attributeConditions: AttributeCondition[];
|
|
97
97
|
tag: string;
|
|
98
98
|
};
|
|
99
|
-
export type
|
|
99
|
+
export type TypeFilter = 'Platform' | 'Segment' | 'Push' | 'Email' | 'Campaign' | 'Journey';
|
|
100
100
|
export type ChartParams_TimeRange = {
|
|
101
101
|
from: Date;
|
|
102
102
|
to: Date;
|
|
@@ -110,7 +110,7 @@ export type ChartParams_Filters = {
|
|
|
110
110
|
segment: string;
|
|
111
111
|
};
|
|
112
112
|
export type ChartParams_Filter = {
|
|
113
|
-
type:
|
|
113
|
+
type: TypeFilter;
|
|
114
114
|
platforms: number[];
|
|
115
115
|
segment: string;
|
|
116
116
|
pushId: number;
|
|
@@ -177,11 +177,16 @@ export type GetFunnelResponse = {
|
|
|
177
177
|
export type GetCategoryTreeRequest = {
|
|
178
178
|
application?: string;
|
|
179
179
|
};
|
|
180
|
+
export type GetCategoryTreeResponse_Metric_ValueType = 'Number' | 'Percent' | 'Money';
|
|
181
|
+
export type GetCategoryTreeResponse_Metric_TotalCalculationType = 'Sum' | 'Avg' | 'Last';
|
|
180
182
|
export type GetCategoryTreeResponse_Metric = {
|
|
181
183
|
id: number;
|
|
182
184
|
metric: string;
|
|
183
185
|
level: number;
|
|
184
186
|
subMetrics: GetCategoryTreeResponse_Metric[];
|
|
187
|
+
type: GetCategoryTreeResponse_Metric_ValueType;
|
|
188
|
+
totalType: GetCategoryTreeResponse_Metric_TotalCalculationType;
|
|
189
|
+
availableFilters: TypeFilter[];
|
|
185
190
|
};
|
|
186
191
|
export type GetCategoryTreeResponse = {
|
|
187
192
|
metrics: GetCategoryTreeResponse_Metric;
|