glitch-javascript-sdk 3.0.8 → 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 +48 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/SocialPosts.d.ts +30 -0
- package/dist/esm/api/Titles.d.ts +2 -0
- package/dist/esm/index.js +48 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +32 -0
- package/package.json +1 -1
- package/src/api/SocialPosts.ts +36 -0
- package/src/api/Titles.ts +8 -0
- package/src/routes/SocialPostsRoute.ts +18 -0
- package/src/routes/TitlesRoute.ts +2 -0
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
|
|
|
@@ -25179,6 +25219,8 @@ var TitlesRoute = /** @class */ (function () {
|
|
|
25179
25219
|
wishlistAds: { url: '/titles/{title_id}/wishlist/ads', method: HTTP_METHODS.GET },
|
|
25180
25220
|
wishlistUtms: { url: '/titles/{title_id}/wishlist/utms', method: HTTP_METHODS.GET },
|
|
25181
25221
|
wishlistConversions: { url: '/titles/{title_id}/wishlist/conversions', method: HTTP_METHODS.GET },
|
|
25222
|
+
wishlistGeo: { url: '/titles/{title_id}/wishlist/geo', method: HTTP_METHODS.GET },
|
|
25223
|
+
wishlistDevices: { url: '/titles/{title_id}/wishlist/devices', method: HTTP_METHODS.GET },
|
|
25182
25224
|
};
|
|
25183
25225
|
return TitlesRoute;
|
|
25184
25226
|
}());
|
|
@@ -26103,6 +26145,12 @@ var Titles = /** @class */ (function () {
|
|
|
26103
26145
|
Titles.wishlistConversions = function (title_id, params) {
|
|
26104
26146
|
return Requests.processRoute(TitlesRoute.routes.wishlistConversions, undefined, { title_id: title_id }, params);
|
|
26105
26147
|
};
|
|
26148
|
+
Titles.wishlistGeo = function (title_id, params) {
|
|
26149
|
+
return Requests.processRoute(TitlesRoute.routes.wishlistGeo, undefined, { title_id: title_id }, params);
|
|
26150
|
+
};
|
|
26151
|
+
Titles.wishlistDevices = function (title_id, params) {
|
|
26152
|
+
return Requests.processRoute(TitlesRoute.routes.wishlistDevices, undefined, { title_id: title_id }, params);
|
|
26153
|
+
};
|
|
26106
26154
|
return Titles;
|
|
26107
26155
|
}());
|
|
26108
26156
|
|