glitch-javascript-sdk 3.0.9 → 3.1.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 CHANGED
@@ -24463,6 +24463,22 @@ var SocialPostsRoute = /** @class */ (function () {
24463
24463
  getSocialPostAttributionReport: { url: '/reports/fingerprinting/social-post-attribution', method: HTTP_METHODS.GET },
24464
24464
  getLinkSummary: { url: '/socialposts/{post_id}/link-summary', method: HTTP_METHODS.GET },
24465
24465
  syncHistory: { url: '/social/sync-history/{platform}', method: HTTP_METHODS.POST },
24466
+ /**
24467
+ * Get social media posts correlated with installs, wishlists, and purchases.
24468
+ * GET /reports/fingerprinting/social-post-attribution
24469
+ */
24470
+ socialPostAttribution: {
24471
+ url: '/reports/fingerprinting/social-post-attribution',
24472
+ method: HTTP_METHODS.GET
24473
+ },
24474
+ /**
24475
+ * Get UTM performance correlated with installs and revenue.
24476
+ * GET /reports/fingerprinting/utm-attribution
24477
+ */
24478
+ utmAttribution: {
24479
+ url: '/reports/fingerprinting/utm-attribution',
24480
+ method: HTTP_METHODS.GET
24481
+ },
24466
24482
  performAction: { url: '/socialposts/{post_id}/action', method: HTTP_METHODS.POST },
24467
24483
  performCommentAction: { url: '/socialposts/comments/{comment_id}/action', method: HTTP_METHODS.POST },
24468
24484
  creativePerformance: { url: '/socialposts/creative-performance', method: HTTP_METHODS.GET },
@@ -24916,6 +24932,30 @@ var SocialPosts = /** @class */ (function () {
24916
24932
  SocialPosts.optimizeRedditPost = function (data) {
24917
24933
  return Requests.processRoute(SocialPostsRoute.routes.optimizeRedditPost, data);
24918
24934
  };
24935
+ /**
24936
+ * Get a report attributing game installs, wishlists, and purchases to specific social media posts.
24937
+ *
24938
+ * @param params Filter object:
24939
+ * - title_id: string (Required)
24940
+ * - start_date?: string (YYYY-MM-DD)
24941
+ * - end_date?: string (YYYY-MM-DD)
24942
+ * - confidence_threshold?: number (0-100)
24943
+ */
24944
+ SocialPosts.getSocialPostAttribution = function (params) {
24945
+ return Requests.processRoute(SocialPostsRoute.routes.socialPostAttribution, {}, undefined, params);
24946
+ };
24947
+ /**
24948
+ * Get a report attributing game installs and revenue to specific UTM sources and campaigns.
24949
+ *
24950
+ * @param params Filter object:
24951
+ * - title_id: string (Required)
24952
+ * - start_date?: string (YYYY-MM-DD)
24953
+ * - end_date?: string (YYYY-MM-DD)
24954
+ * - confidence_threshold?: number (0-100)
24955
+ */
24956
+ SocialPosts.getUtmAttribution = function (params) {
24957
+ return Requests.processRoute(SocialPostsRoute.routes.utmAttribution, {}, undefined, params);
24958
+ };
24919
24959
  return SocialPosts;
24920
24960
  }());
24921
24961