glitch-javascript-sdk 3.1.0 → 3.1.1
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 +7 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +6 -0
- package/dist/esm/index.js +7 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +6 -0
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +9 -0
- package/src/routes/SocialPostsRoute.ts +5 -0
|
@@ -383,5 +383,11 @@ declare class SocialPosts {
|
|
|
383
383
|
end_date?: string;
|
|
384
384
|
confidence_threshold?: number;
|
|
385
385
|
}): AxiosPromise<Response<T>>;
|
|
386
|
+
static getInfluencerAttribution<T>(params: {
|
|
387
|
+
title_id: string;
|
|
388
|
+
start_date?: string;
|
|
389
|
+
end_date?: string;
|
|
390
|
+
confidence_threshold?: number;
|
|
391
|
+
}): AxiosPromise<Response<T>>;
|
|
386
392
|
}
|
|
387
393
|
export default SocialPosts;
|
package/dist/esm/index.js
CHANGED
|
@@ -11287,6 +11287,10 @@ var SocialPostsRoute = /** @class */ (function () {
|
|
|
11287
11287
|
url: '/reports/fingerprinting/social-post-attribution',
|
|
11288
11288
|
method: HTTP_METHODS.GET
|
|
11289
11289
|
},
|
|
11290
|
+
influencerAttribution: {
|
|
11291
|
+
url: '/reports/fingerprinting/influencer-attribution',
|
|
11292
|
+
method: HTTP_METHODS.GET
|
|
11293
|
+
},
|
|
11290
11294
|
/**
|
|
11291
11295
|
* Get UTM performance correlated with installs and revenue.
|
|
11292
11296
|
* GET /reports/fingerprinting/utm-attribution
|
|
@@ -11772,6 +11776,9 @@ var SocialPosts = /** @class */ (function () {
|
|
|
11772
11776
|
SocialPosts.getUtmAttribution = function (params) {
|
|
11773
11777
|
return Requests.processRoute(SocialPostsRoute.routes.utmAttribution, {}, undefined, params);
|
|
11774
11778
|
};
|
|
11779
|
+
SocialPosts.getInfluencerAttribution = function (params) {
|
|
11780
|
+
return Requests.processRoute(SocialPostsRoute.routes.influencerAttribution, {}, undefined, params);
|
|
11781
|
+
};
|
|
11775
11782
|
return SocialPosts;
|
|
11776
11783
|
}());
|
|
11777
11784
|
|