glitch-javascript-sdk 2.2.2 → 2.2.3
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 +10 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Titles.d.ts +9 -0
- package/dist/esm/index.js +10 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/package.json +1 -1
- package/src/api/Titles.ts +25 -5
- package/src/routes/TitlesRoute.ts +5 -0
package/dist/cjs/index.js
CHANGED
|
@@ -24537,6 +24537,10 @@ var TitlesRoute = /** @class */ (function () {
|
|
|
24537
24537
|
url: '/titles/{title_id}/ad-conversion-events/{event_id}/retry',
|
|
24538
24538
|
method: HTTP_METHODS.POST
|
|
24539
24539
|
},
|
|
24540
|
+
getAdConversionEventsReport: {
|
|
24541
|
+
url: '/titles/{title_id}/ad-conversion-events/report',
|
|
24542
|
+
method: HTTP_METHODS.GET
|
|
24543
|
+
},
|
|
24540
24544
|
listLandingPages: { url: '/titles/{title_id}/landing-pages', method: HTTP_METHODS.GET },
|
|
24541
24545
|
createLandingPage: { url: '/titles/{title_id}/landing-pages', method: HTTP_METHODS.POST },
|
|
24542
24546
|
viewLandingPage: { url: '/landing-pages/{landing_page_id}', method: HTTP_METHODS.GET },
|
|
@@ -25091,6 +25095,12 @@ var Titles = /** @class */ (function () {
|
|
|
25091
25095
|
Titles.saveLandingPageTranslation = function (landing_page_id, translationData, params) {
|
|
25092
25096
|
return Requests.processRoute(TitlesRoute.routes.saveLandingPageTranslation, translationData, { landing_page_id: landing_page_id }, params);
|
|
25093
25097
|
};
|
|
25098
|
+
/**
|
|
25099
|
+
* Get an aggregated report of ad conversion events for charting.
|
|
25100
|
+
*/
|
|
25101
|
+
Titles.getAdConversionEventsReport = function (title_id, params) {
|
|
25102
|
+
return Requests.processRoute(TitlesRoute.routes.getAdConversionEventsReport, {}, { title_id: title_id }, params);
|
|
25103
|
+
};
|
|
25094
25104
|
return Titles;
|
|
25095
25105
|
}());
|
|
25096
25106
|
|