@pushwoosh/rpc-v2-http-api-data 0.1.502 → 0.1.504
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 +23 -0
- package/package.json +1 -1
- package/statistics_dashboards_widgets.d.ts +7 -0
package/data.js
CHANGED
|
@@ -18299,6 +18299,12 @@ export const data = {
|
|
|
18299
18299
|
"method": "get",
|
|
18300
18300
|
"path": "/api/statistics_dashboards_widgets/{code}"
|
|
18301
18301
|
},
|
|
18302
|
+
"List": {
|
|
18303
|
+
"request": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ListDashboardWidgetRequest",
|
|
18304
|
+
"response": "pushwoosh.rpc_v2.statistics_dashboards_widgets.ListDashboardWidgetResponse",
|
|
18305
|
+
"method": "get",
|
|
18306
|
+
"path": "/api/statistics_dashboards_widgets"
|
|
18307
|
+
},
|
|
18302
18308
|
"Create": {
|
|
18303
18309
|
"request": "pushwoosh.rpc_v2.statistics_dashboards_widgets.CreateDashboardWidgetRequest",
|
|
18304
18310
|
"response": "pushwoosh.rpc_v2.statistics_dashboards_widgets.CreateDashboardWidgetResponse",
|
|
@@ -18908,6 +18914,23 @@ export const data = {
|
|
|
18908
18914
|
}
|
|
18909
18915
|
}
|
|
18910
18916
|
},
|
|
18917
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.ListDashboardWidgetRequest": {
|
|
18918
|
+
"type": "I",
|
|
18919
|
+
"fields": {
|
|
18920
|
+
"dashboardCode": {
|
|
18921
|
+
"type": "string"
|
|
18922
|
+
}
|
|
18923
|
+
}
|
|
18924
|
+
},
|
|
18925
|
+
"pushwoosh.rpc_v2.statistics_dashboards_widgets.ListDashboardWidgetResponse": {
|
|
18926
|
+
"type": "I",
|
|
18927
|
+
"fields": {
|
|
18928
|
+
"widgets": {
|
|
18929
|
+
"type": "pushwoosh.rpc_v2.statistics_dashboards_widgets.Widget",
|
|
18930
|
+
"array": true
|
|
18931
|
+
}
|
|
18932
|
+
}
|
|
18933
|
+
},
|
|
18911
18934
|
"pushwoosh.rpc_v2.tags.TagsService": {
|
|
18912
18935
|
"type": "S",
|
|
18913
18936
|
"key": "tags",
|
package/package.json
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export interface StatisticsDashboardsWidgetsService {
|
|
2
2
|
Load(request: LoadDashboardWidgetRequest): Promise<Widget>;
|
|
3
|
+
List(request: ListDashboardWidgetRequest): Promise<ListDashboardWidgetResponse>;
|
|
3
4
|
Create(request: CreateDashboardWidgetRequest): Promise<CreateDashboardWidgetResponse>;
|
|
4
5
|
Update(request: UpdateDashboardWidgetRequest): Promise<UpdateDashboardWidgetResponse>;
|
|
5
6
|
Delete(request: DeleteDashboardWidgetRequest): Promise<DeleteDashboardWidgetResponse>;
|
|
@@ -192,3 +193,9 @@ export type GetCategoryTreeResponse_Metric = {
|
|
|
192
193
|
export type GetCategoryTreeResponse = {
|
|
193
194
|
metrics: GetCategoryTreeResponse_Metric;
|
|
194
195
|
};
|
|
196
|
+
export type ListDashboardWidgetRequest = {
|
|
197
|
+
dashboardCode?: string;
|
|
198
|
+
};
|
|
199
|
+
export type ListDashboardWidgetResponse = {
|
|
200
|
+
widgets: Widget[];
|
|
201
|
+
};
|