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.
@@ -537,5 +537,14 @@ declare class Scheduler {
537
537
  * @returns promise
538
538
  */
539
539
  static syncHistory<T>(scheduler_id: string, platform: string, params?: Record<string, any>): AxiosPromise<Response<T>>;
540
+ /**
541
+ * Generate hashtags for content based on scheduler settings.
542
+ *
543
+ * @param scheduler_id The ID of the promotion schedule.
544
+ * @param data { content: string, platform?: string }
545
+ *
546
+ * @returns promise
547
+ */
548
+ static generateHashtags<T>(scheduler_id: string, data: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
540
549
  }
541
550
  export default Scheduler;
package/dist/esm/index.js CHANGED
@@ -14124,6 +14124,10 @@ var SchedulerRoute = /** @class */ (function () {
14124
14124
  syncAllSchedulerComments: { url: '/schedulers/{scheduler_id}/sync-all-comments', method: HTTP_METHODS.POST },
14125
14125
  getConversionActions: { url: '/schedulers/{scheduler_id}/conversion-actions', method: HTTP_METHODS.GET },
14126
14126
  syncHistory: { url: '/schedulers/{scheduler_id}/sync-history/{platform}', method: HTTP_METHODS.POST },
14127
+ generateHashtags: {
14128
+ url: '/schedulers/{scheduler_id}/generateHashtags',
14129
+ method: HTTP_METHODS.POST
14130
+ },
14127
14131
  };
14128
14132
  return SchedulerRoute;
14129
14133
  }());
@@ -14803,6 +14807,17 @@ var Scheduler = /** @class */ (function () {
14803
14807
  Scheduler.syncHistory = function (scheduler_id, platform, params) {
14804
14808
  return Requests.processRoute(SchedulerRoute.routes.syncHistory, {}, { scheduler_id: scheduler_id, platform: platform }, params);
14805
14809
  };
14810
+ /**
14811
+ * Generate hashtags for content based on scheduler settings.
14812
+ *
14813
+ * @param scheduler_id The ID of the promotion schedule.
14814
+ * @param data { content: string, platform?: string }
14815
+ *
14816
+ * @returns promise
14817
+ */
14818
+ Scheduler.generateHashtags = function (scheduler_id, data, params) {
14819
+ return Requests.processRoute(SchedulerRoute.routes.generateHashtags, data, { scheduler_id: scheduler_id }, params);
14820
+ };
14806
14821
  return Scheduler;
14807
14822
  }());
14808
14823