glitch-javascript-sdk 2.5.2 → 2.5.3

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
@@ -29541,6 +29541,7 @@ var DiscordMarketplaceRoute = /** @class */ (function () {
29541
29541
  rejectOrder: { url: '/discord-marketplace/orders/{id}/reject', method: HTTP_METHODS.POST },
29542
29542
  requestChanges: { url: '/discord-marketplace/orders/{id}/request-changes', method: HTTP_METHODS.POST },
29543
29543
  resubmitOrder: { url: '/discord-marketplace/orders/{id}/resubmit', method: HTTP_METHODS.POST },
29544
+ getChannels: { url: '/discord-marketplace/listings/{id}/channels', method: HTTP_METHODS.GET },
29544
29545
  };
29545
29546
  return DiscordMarketplaceRoute;
29546
29547
  }());
@@ -29620,6 +29621,12 @@ var DiscordMarketplace = /** @class */ (function () {
29620
29621
  DiscordMarketplace.resubmitOrder = function (id) {
29621
29622
  return Requests.processRoute(DiscordMarketplaceRoute.routes.resubmitOrder, {}, { id: id });
29622
29623
  };
29624
+ /**
29625
+ * Get available text channels for a specific Discord listing.
29626
+ */
29627
+ DiscordMarketplace.getChannels = function (id) {
29628
+ return Requests.processRoute(DiscordMarketplaceRoute.routes.getChannels, {}, { id: id });
29629
+ };
29623
29630
  return DiscordMarketplace;
29624
29631
  }());
29625
29632