@bytexbyte/berify-analytics-api 1.6.2 → 1.6.3
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.
|
@@ -8,6 +8,6 @@ declare class BerifyHeatMapApi extends BxBApi {
|
|
|
8
8
|
});
|
|
9
9
|
getHeatmap(form: HeatmapRequest): Promise<HeatmapResponse>;
|
|
10
10
|
getLastUpdatedAt(): Promise<LastUpdatedAtResponse>;
|
|
11
|
-
|
|
11
|
+
getHeatmapByDateRange(form: ReskinHeatmapRequest): Promise<HeatmapResponse>;
|
|
12
12
|
}
|
|
13
13
|
export default BerifyHeatMapApi;
|
|
@@ -100,7 +100,7 @@ var BerifyHeatMapApi = /** @class */ (function (_super) {
|
|
|
100
100
|
});
|
|
101
101
|
});
|
|
102
102
|
};
|
|
103
|
-
BerifyHeatMapApi.prototype.
|
|
103
|
+
BerifyHeatMapApi.prototype.getHeatmapByDateRange = function (form) {
|
|
104
104
|
return __awaiter(this, void 0, void 0, function () {
|
|
105
105
|
var response;
|
|
106
106
|
return __generator(this, function (_a) {
|
|
@@ -111,7 +111,7 @@ var BerifyHeatMapApi = /** @class */ (function (_super) {
|
|
|
111
111
|
'Content-Type': 'application/json'
|
|
112
112
|
},
|
|
113
113
|
body: JSON.stringify(form)
|
|
114
|
-
})];
|
|
114
|
+
}, 'date-range')];
|
|
115
115
|
case 1:
|
|
116
116
|
response = _a.sent();
|
|
117
117
|
return [2 /*return*/, response.json()];
|