glitch-javascript-sdk 2.2.8 → 2.3.0
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 +45 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/ShortLinks.d.ts +11 -0
- package/dist/esm/index.js +45 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +11 -0
- package/package.json +1 -1
- package/src/api/ShortLinks.ts +86 -42
- package/src/routes/ShortLinksRoute.ts +22 -8
|
@@ -37,5 +37,16 @@ declare class ShortLinks {
|
|
|
37
37
|
* - Example usage: ShortLinks.referrerReport({ short_link_id: 'uuid-here' })
|
|
38
38
|
*/
|
|
39
39
|
static referrerReport<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
40
|
+
static campaignPerformance<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
41
|
+
static influencerPerformance<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
42
|
+
static socialPostPerformance<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
43
|
+
static conversionFunnel<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
44
|
+
static clickHeatmap<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
45
|
+
static botAnalysis<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
46
|
+
static attributionReport<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
47
|
+
static socialPostDeepDive<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
48
|
+
static socialPostContentAnalysis<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
49
|
+
static socialPostEngagementBreakdown<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
50
|
+
static socialPostTrackingEffectiveness<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
40
51
|
}
|
|
41
52
|
export default ShortLinks;
|
package/dist/esm/index.js
CHANGED
|
@@ -15281,6 +15281,18 @@ var ShortLinksRoute = /** @class */ (function () {
|
|
|
15281
15281
|
geoDeviceBreakdown: { url: '/shortlinks/reports/geo-device', method: HTTP_METHODS.GET },
|
|
15282
15282
|
timeSeries: { url: '/shortlinks/reports/time-series', method: HTTP_METHODS.GET },
|
|
15283
15283
|
referrerReport: { url: '/shortlinks/reports/referrer', method: HTTP_METHODS.GET },
|
|
15284
|
+
campaignPerformance: { url: '/shortlinks/reports/campaign-performance', method: HTTP_METHODS.GET },
|
|
15285
|
+
influencerPerformance: { url: '/shortlinks/reports/influencer-performance', method: HTTP_METHODS.GET },
|
|
15286
|
+
socialPostPerformance: { url: '/shortlinks/reports/social-post-performance', method: HTTP_METHODS.GET },
|
|
15287
|
+
conversionFunnel: { url: '/shortlinks/reports/conversion-funnel', method: HTTP_METHODS.GET },
|
|
15288
|
+
clickHeatmap: { url: '/shortlinks/reports/click-heatmap', method: HTTP_METHODS.GET },
|
|
15289
|
+
botAnalysis: { url: '/shortlinks/reports/bot-analysis', method: HTTP_METHODS.GET },
|
|
15290
|
+
attributionReport: { url: '/shortlinks/reports/attribution', method: HTTP_METHODS.GET },
|
|
15291
|
+
// Social Media Post Reports
|
|
15292
|
+
socialPostDeepDive: { url: '/shortlinks/reports/social-post-deep-dive', method: HTTP_METHODS.GET },
|
|
15293
|
+
socialPostContentAnalysis: { url: '/shortlinks/reports/social-post-content-analysis', method: HTTP_METHODS.GET },
|
|
15294
|
+
socialPostEngagementBreakdown: { url: '/shortlinks/reports/social-post-engagement-breakdown', method: HTTP_METHODS.GET },
|
|
15295
|
+
socialPostTrackingEffectiveness: { url: '/shortlinks/reports/social-post-tracking-effectiveness', method: HTTP_METHODS.GET },
|
|
15284
15296
|
};
|
|
15285
15297
|
return ShortLinksRoute;
|
|
15286
15298
|
}());
|
|
@@ -15344,6 +15356,39 @@ var ShortLinks = /** @class */ (function () {
|
|
|
15344
15356
|
ShortLinks.referrerReport = function (params) {
|
|
15345
15357
|
return Requests.processRoute(ShortLinksRoute.routes.referrerReport, undefined, undefined, params);
|
|
15346
15358
|
};
|
|
15359
|
+
ShortLinks.campaignPerformance = function (params) {
|
|
15360
|
+
return Requests.processRoute(ShortLinksRoute.routes.campaignPerformance, undefined, undefined, params);
|
|
15361
|
+
};
|
|
15362
|
+
ShortLinks.influencerPerformance = function (params) {
|
|
15363
|
+
return Requests.processRoute(ShortLinksRoute.routes.influencerPerformance, undefined, undefined, params);
|
|
15364
|
+
};
|
|
15365
|
+
ShortLinks.socialPostPerformance = function (params) {
|
|
15366
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostPerformance, undefined, undefined, params);
|
|
15367
|
+
};
|
|
15368
|
+
ShortLinks.conversionFunnel = function (params) {
|
|
15369
|
+
return Requests.processRoute(ShortLinksRoute.routes.conversionFunnel, undefined, undefined, params);
|
|
15370
|
+
};
|
|
15371
|
+
ShortLinks.clickHeatmap = function (params) {
|
|
15372
|
+
return Requests.processRoute(ShortLinksRoute.routes.clickHeatmap, undefined, undefined, params);
|
|
15373
|
+
};
|
|
15374
|
+
ShortLinks.botAnalysis = function (params) {
|
|
15375
|
+
return Requests.processRoute(ShortLinksRoute.routes.botAnalysis, undefined, undefined, params);
|
|
15376
|
+
};
|
|
15377
|
+
ShortLinks.attributionReport = function (params) {
|
|
15378
|
+
return Requests.processRoute(ShortLinksRoute.routes.attributionReport, undefined, undefined, params);
|
|
15379
|
+
};
|
|
15380
|
+
ShortLinks.socialPostDeepDive = function (params) {
|
|
15381
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostDeepDive, undefined, undefined, params);
|
|
15382
|
+
};
|
|
15383
|
+
ShortLinks.socialPostContentAnalysis = function (params) {
|
|
15384
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostContentAnalysis, undefined, undefined, params);
|
|
15385
|
+
};
|
|
15386
|
+
ShortLinks.socialPostEngagementBreakdown = function (params) {
|
|
15387
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostEngagementBreakdown, undefined, undefined, params);
|
|
15388
|
+
};
|
|
15389
|
+
ShortLinks.socialPostTrackingEffectiveness = function (params) {
|
|
15390
|
+
return Requests.processRoute(ShortLinksRoute.routes.socialPostTrackingEffectiveness, undefined, undefined, params);
|
|
15391
|
+
};
|
|
15347
15392
|
return ShortLinks;
|
|
15348
15393
|
}());
|
|
15349
15394
|
|