glitch-javascript-sdk 2.3.8 → 2.3.9

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
@@ -27308,6 +27308,10 @@ var SchedulerRoute = /** @class */ (function () {
27308
27308
  syncAllSchedulerComments: { url: '/schedulers/{scheduler_id}/sync-all-comments', method: HTTP_METHODS.POST },
27309
27309
  getConversionActions: { url: '/schedulers/{scheduler_id}/conversion-actions', method: HTTP_METHODS.GET },
27310
27310
  syncHistory: { url: '/schedulers/{scheduler_id}/sync-history/{platform}', method: HTTP_METHODS.POST },
27311
+ generateHashtags: {
27312
+ url: '/schedulers/{scheduler_id}/generateHashtags',
27313
+ method: HTTP_METHODS.POST
27314
+ },
27311
27315
  };
27312
27316
  return SchedulerRoute;
27313
27317
  }());
@@ -27987,6 +27991,17 @@ var Scheduler = /** @class */ (function () {
27987
27991
  Scheduler.syncHistory = function (scheduler_id, platform, params) {
27988
27992
  return Requests.processRoute(SchedulerRoute.routes.syncHistory, {}, { scheduler_id: scheduler_id, platform: platform }, params);
27989
27993
  };
27994
+ /**
27995
+ * Generate hashtags for content based on scheduler settings.
27996
+ *
27997
+ * @param scheduler_id The ID of the promotion schedule.
27998
+ * @param data { content: string, platform?: string }
27999
+ *
28000
+ * @returns promise
28001
+ */
28002
+ Scheduler.generateHashtags = function (scheduler_id, data, params) {
28003
+ return Requests.processRoute(SchedulerRoute.routes.generateHashtags, data, { scheduler_id: scheduler_id }, params);
28004
+ };
27990
28005
  return Scheduler;
27991
28006
  }());
27992
28007