glitch-javascript-sdk 2.2.9 → 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 +17 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/ShortLinks.d.ts +4 -0
- package/dist/esm/index.js +17 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -0
- package/package.json +1 -1
- package/src/api/ShortLinks.ts +16 -0
- package/src/routes/ShortLinksRoute.ts +14 -8
|
@@ -44,5 +44,9 @@ declare class ShortLinks {
|
|
|
44
44
|
static clickHeatmap<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
45
45
|
static botAnalysis<T>(params?: Record<string, any>): AxiosPromise<Response<T>>;
|
|
46
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>>;
|
|
47
51
|
}
|
|
48
52
|
export default ShortLinks;
|
package/dist/esm/index.js
CHANGED
|
@@ -15288,6 +15288,11 @@ var ShortLinksRoute = /** @class */ (function () {
|
|
|
15288
15288
|
clickHeatmap: { url: '/shortlinks/reports/click-heatmap', method: HTTP_METHODS.GET },
|
|
15289
15289
|
botAnalysis: { url: '/shortlinks/reports/bot-analysis', method: HTTP_METHODS.GET },
|
|
15290
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 },
|
|
15291
15296
|
};
|
|
15292
15297
|
return ShortLinksRoute;
|
|
15293
15298
|
}());
|
|
@@ -15372,6 +15377,18 @@ var ShortLinks = /** @class */ (function () {
|
|
|
15372
15377
|
ShortLinks.attributionReport = function (params) {
|
|
15373
15378
|
return Requests.processRoute(ShortLinksRoute.routes.attributionReport, undefined, undefined, params);
|
|
15374
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
|
+
};
|
|
15375
15392
|
return ShortLinks;
|
|
15376
15393
|
}());
|
|
15377
15394
|
|