glitch-javascript-sdk 3.1.3 → 3.1.4

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
@@ -24900,6 +24900,7 @@ var Titles = /** @class */ (function () {
24900
24900
  * @param params
24901
24901
  * - window: number (hours, default 24)
24902
24902
  * - limit: number (default 10)
24903
+ * - is_nsfw: 1 for adult titles only, 0 for safe titles only
24903
24904
  */
24904
24905
  Titles.getCommunityActivity = function (params) {
24905
24906
  return Requests.processRoute(TitlesRoute.routes.communityActivity, {}, {}, params);
@@ -24911,6 +24912,7 @@ var Titles = /** @class */ (function () {
24911
24912
  * - type: 'influencer' (campaigns) or 'organic' (non-paid)
24912
24913
  * - window: number (hours, default 168)
24913
24914
  * - limit: number (default 10)
24915
+ * - is_nsfw: 1 for adult titles only, 0 for safe titles only
24914
24916
  */
24915
24917
  Titles.getSocialTrending = function (params) {
24916
24918
  return Requests.processRoute(TitlesRoute.routes.socialTrending, {}, {}, params);
@@ -24921,6 +24923,7 @@ var Titles = /** @class */ (function () {
24921
24923
  * @param params
24922
24924
  * - limit: number (default 12)
24923
24925
  * - device_id: string (highly recommended for guest tracking)
24926
+ * - is_nsfw: 1 for adult titles only, 0 for safe titles only
24924
24927
  */
24925
24928
  Titles.getDiscoveryQueue = function (params) {
24926
24929
  return Requests.processRoute(TitlesRoute.routes.discoveryQueue, {}, {}, params);
@@ -24935,6 +24938,7 @@ var Titles = /** @class */ (function () {
24935
24938
  * - seed?: number (For consistent randomization)
24936
24939
  * - genres?: string[] (Filter by genre names)
24937
24940
  * - models?: string[] (premium, rental, subscription, free)
24941
+ * - is_nsfw?: 1 | 0 (1 for adult titles only, 0 for safe titles only)
24938
24942
  * - excluded_ids?: string[] (UUIDs to skip)
24939
24943
  * - page?: number
24940
24944
  * - per_page?: number
@@ -27539,6 +27543,7 @@ var SchedulerRoute = /** @class */ (function () {
27539
27543
  getTikTokTrendingHashtags: { url: '/schedulers/{scheduler_id}/tiktok/discovery/hashtags/trending', method: HTTP_METHODS.GET },
27540
27544
  getTikTokHashtagDetail: { url: '/schedulers/{scheduler_id}/tiktok/discovery/hashtags/detail', method: HTTP_METHODS.GET },
27541
27545
  getTikTokTrendingKeywords: { url: '/schedulers/{scheduler_id}/tiktok/discovery/search-keywords', method: HTTP_METHODS.GET },
27546
+ getTikTokRecommendedKeywords: { url: '/schedulers/{scheduler_id}/tiktok/discovery/search-keywords/recommend', method: HTTP_METHODS.GET },
27542
27547
  };
27543
27548
  return SchedulerRoute;
27544
27549
  }());
@@ -28267,6 +28272,13 @@ var Scheduler = /** @class */ (function () {
28267
28272
  Scheduler.getTikTokTrendingKeywords = function (scheduler_id, params) {
28268
28273
  return Requests.processRoute(SchedulerRoute.routes.getTikTokTrendingKeywords, {}, { scheduler_id: scheduler_id }, params);
28269
28274
  };
28275
+ /**
28276
+ * Get recommended search keywords on TikTok.
28277
+ * @param params { is_personalized: boolean }
28278
+ */
28279
+ Scheduler.getTikTokRecommendedKeywords = function (scheduler_id, params) {
28280
+ return Requests.processRoute(SchedulerRoute.routes.getTikTokRecommendedKeywords, {}, { scheduler_id: scheduler_id }, params);
28281
+ };
28270
28282
  return Scheduler;
28271
28283
  }());
28272
28284