glitch-javascript-sdk 2.2.4 → 2.2.5
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 +14 -0
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/api/Scheduler.d.ts +14 -0
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +14 -0
- package/package.json +1 -1
- package/src/api/Scheduler.ts +14 -0
- package/src/routes/SchedulerRoute.ts +2 -0
package/dist/cjs/index.js
CHANGED
|
@@ -27227,6 +27227,7 @@ var SchedulerRoute = /** @class */ (function () {
|
|
|
27227
27227
|
deleteDestination: { url: '/schedulers/{scheduler_id}/updates/{update_id}/destinations/{destination_id}', method: HTTP_METHODS.DELETE },
|
|
27228
27228
|
getSchedulerPostsWithComments: { url: '/schedulers/{scheduler_id}/posts-with-comments', method: HTTP_METHODS.GET },
|
|
27229
27229
|
syncAllSchedulerComments: { url: '/schedulers/{scheduler_id}/sync-all-comments', method: HTTP_METHODS.POST },
|
|
27230
|
+
getConversionActions: { url: '/schedulers/{scheduler_id}/conversion-actions', method: HTTP_METHODS.GET },
|
|
27230
27231
|
};
|
|
27231
27232
|
return SchedulerRoute;
|
|
27232
27233
|
}());
|
|
@@ -27880,6 +27881,19 @@ var Scheduler = /** @class */ (function () {
|
|
|
27880
27881
|
Scheduler.syncAllSchedulerComments = function (scheduler_id, params) {
|
|
27881
27882
|
return Requests.processRoute(SchedulerRoute.routes.syncAllSchedulerComments, {}, { scheduler_id: scheduler_id }, params);
|
|
27882
27883
|
};
|
|
27884
|
+
/**
|
|
27885
|
+
* Get ad conversion actions for a specific platform linked to the scheduler.
|
|
27886
|
+
*
|
|
27887
|
+
* @see https://api.glitch.fun/api/documentation#/Scheduler/getSchedulerConversionActions
|
|
27888
|
+
*
|
|
27889
|
+
* @param scheduler_id The ID of the promotion schedule.
|
|
27890
|
+
* @param params Query parameters, including 'platform' (required) and 'account_id' (optional).
|
|
27891
|
+
*
|
|
27892
|
+
* @returns promise
|
|
27893
|
+
*/
|
|
27894
|
+
Scheduler.getConversionActions = function (scheduler_id, params) {
|
|
27895
|
+
return Requests.processRoute(SchedulerRoute.routes.getConversionActions, {}, { scheduler_id: scheduler_id }, params);
|
|
27896
|
+
};
|
|
27883
27897
|
return Scheduler;
|
|
27884
27898
|
}());
|
|
27885
27899
|
|