glitch-javascript-sdk 3.2.4 → 3.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 CHANGED
@@ -28399,6 +28399,7 @@ var RedditSubredditsRoute = /** @class */ (function () {
28399
28399
  list: { url: '/reddit/subreddits', method: HTTP_METHODS.GET },
28400
28400
  show: { url: '/reddit/subreddits/{subreddit}', method: HTTP_METHODS.GET },
28401
28401
  match: { url: '/reddit/subreddits/match', method: HTTP_METHODS.POST },
28402
+ matchTitle: { url: '/titles/{title_id}/reddit/subreddit-matches', method: HTTP_METHODS.POST },
28402
28403
  ingest: { url: '/admin/reddit/subreddits/ingest', method: HTTP_METHODS.POST },
28403
28404
  refresh: { url: '/admin/reddit/subreddits/{subreddit}/refresh', method: HTTP_METHODS.POST },
28404
28405
  };
@@ -28432,6 +28433,15 @@ var RedditSubreddits = /** @class */ (function () {
28432
28433
  RedditSubreddits.match = function (data, params) {
28433
28434
  return Requests.processRoute(RedditSubredditsRoute.routes.match, data, undefined, params);
28434
28435
  };
28436
+ /**
28437
+ * Match one of the authenticated user's administered titles to Reddit communities.
28438
+ *
28439
+ * @see https://api.glitch.fun/api/documentation#/Reddit%20Subreddit%20Intelligence/titleRedditSubredditMatches
28440
+ */
28441
+ RedditSubreddits.matchTitle = function (title_id, data, params) {
28442
+ if (data === void 0) { data = {}; }
28443
+ return Requests.processRoute(RedditSubredditsRoute.routes.matchTitle, data, { title_id: title_id }, params);
28444
+ };
28435
28445
  /**
28436
28446
  * Admin-only ingestion of subreddit metadata and rules.
28437
28447
  *