glitch-javascript-sdk 2.2.8 → 2.2.9
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/dist/cjs/index.js +28 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/ShortLinks.d.ts +7 -0
- package/dist/esm/index.js +28 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +7 -0
- package/package.json +1 -1
- package/src/api/ShortLinks.ts +70 -42
- package/src/routes/ShortLinksRoute.ts +8 -0
package/dist/cjs/index.js
CHANGED
|
@@ -28465,6 +28465,13 @@ var ShortLinksRoute = /** @class */ (function () {
|
|
|
28465
28465
|
geoDeviceBreakdown: { url: '/shortlinks/reports/geo-device', method: HTTP_METHODS.GET },
|
|
28466
28466
|
timeSeries: { url: '/shortlinks/reports/time-series', method: HTTP_METHODS.GET },
|
|
28467
28467
|
referrerReport: { url: '/shortlinks/reports/referrer', method: HTTP_METHODS.GET },
|
|
28468
|
+
campaignPerformance: { url: '/shortlinks/reports/campaign-performance', method: HTTP_METHODS.GET },
|
|
28469
|
+
influencerPerformance: { url: '/shortlinks/reports/influencer-performance', method: HTTP_METHODS.GET },
|
|
28470
|
+
socialPostPerformance: { url: '/shortlinks/reports/social-post-performance', method: HTTP_METHODS.GET },
|
|
28471
|
+
conversionFunnel: { url: '/shortlinks/reports/conversion-funnel', method: HTTP_METHODS.GET },
|
|
28472
|
+
clickHeatmap: { url: '/shortlinks/reports/click-heatmap', method: HTTP_METHODS.GET },
|
|
28473
|
+
botAnalysis: { url: '/shortlinks/reports/bot-analysis', method: HTTP_METHODS.GET },
|
|
28474
|
+
attributionReport: { url: '/shortlinks/reports/attribution', method: HTTP_METHODS.GET },
|
|
28468
28475
|
};
|
|
28469
28476
|
return ShortLinksRoute;
|
|
28470
28477
|
}());
|
|
@@ -28528,6 +28535,27 @@ var ShortLinks = /** @class */ (function () {
|
|
|
28528
28535
|
ShortLinks.referrerReport = function (params) {
|
|
28529
28536
|
return Requests.processRoute(ShortLinksRoute.routes.referrerReport, undefined, undefined, params);
|
|
28530
28537
|
};
|
|
28538
|
+
ShortLinks.campaignPerformance = function (params) {
|
|
28539
|
+
return Requests.processRoute(ShortLinksRoute.routes.campaignPerformance, undefined, undefined, params);
|
|
28540
|
+
};
|
|
28541
|
+
ShortLinks.influencerPerformance = function (params) {
|
|
28542
|
+
return Requests.processRoute(ShortLinksRoute.routes.influencerPerformance, undefined, undefined, params);
|
|
28543
|
+
};
|
|
28544
|
+
ShortLinks.socialPostPerformance = function (params) {
|
|
28545
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostPerformance, undefined, undefined, params);
|
|
28546
|
+
};
|
|
28547
|
+
ShortLinks.conversionFunnel = function (params) {
|
|
28548
|
+
return Requests.processRoute(ShortLinksRoute.routes.conversionFunnel, undefined, undefined, params);
|
|
28549
|
+
};
|
|
28550
|
+
ShortLinks.clickHeatmap = function (params) {
|
|
28551
|
+
return Requests.processRoute(ShortLinksRoute.routes.clickHeatmap, undefined, undefined, params);
|
|
28552
|
+
};
|
|
28553
|
+
ShortLinks.botAnalysis = function (params) {
|
|
28554
|
+
return Requests.processRoute(ShortLinksRoute.routes.botAnalysis, undefined, undefined, params);
|
|
28555
|
+
};
|
|
28556
|
+
ShortLinks.attributionReport = function (params) {
|
|
28557
|
+
return Requests.processRoute(ShortLinksRoute.routes.attributionReport, undefined, undefined, params);
|
|
28558
|
+
};
|
|
28531
28559
|
return ShortLinks;
|
|
28532
28560
|
}());
|
|
28533
28561
|
|