glitch-javascript-sdk 0.5.6 → 0.5.7

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
@@ -17120,6 +17120,7 @@ var UserRoutes = /** @class */ (function () {
17120
17120
  clearStripeAuth: { url: '/users/clearStripeAuth', method: HTTP_METHODS.DELETE },
17121
17121
  clearTikTokAuth: { url: '/users/clearTikTokAuth', method: HTTP_METHODS.DELETE },
17122
17122
  clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
17123
+ clearStreamElementsAuth: { url: '/users/clearStreamElementsAuth', method: HTTP_METHODS.DELETE },
17123
17124
  getTipsReceivedForMonth: { url: '/users/getTipsReceivedForMonth', method: HTTP_METHODS.GET },
17124
17125
  getTipsGivenForMonth: { url: '/users/getTipsGivenForMonth', method: HTTP_METHODS.GET },
17125
17126
  aggregateMonthlyReceivedTips: { url: '/users/aggregateMonthlyReceivedTips', method: HTTP_METHODS.GET },
@@ -17412,6 +17413,7 @@ var EventsRoutes = /** @class */ (function () {
17412
17413
  getTips: { url: '/events/{event_id}/tips', method: HTTP_METHODS.GET },
17413
17414
  setAIAvatarPersonalityAttribute: { url: '/events/{event_id}/setAIAvatarPersonalityAttribute', method: HTTP_METHODS.POST },
17414
17415
  setAIAvatarName: { url: '/events/{event_id}/setAIAvatarName', method: HTTP_METHODS.POST },
17416
+ setAIAccent: { url: '/events/{event_id}/setAIAccent', method: HTTP_METHODS.POST },
17415
17417
  setAIAvatarRespondToChat: { url: '/events/{event_id}/setAIAvatarRespondToChat', method: HTTP_METHODS.POST },
17416
17418
  setAIAvatarRespondToMe: { url: '/events/{event_id}/setAIAvatarRespondToMe', method: HTTP_METHODS.POST },
17417
17419
  };
@@ -17857,6 +17859,18 @@ var Events = /** @class */ (function () {
17857
17859
  Events.setAIAvatarName = function (event_id, data, params) {
17858
17860
  return Requests.processRoute(EventsRoutes.routes.setAIAvatarName, data, { event_id: event_id }, params);
17859
17861
  };
17862
+ /**
17863
+ * Sets the AI Avatars accent, that will dictate the void in which it responds.
17864
+ *
17865
+ * @see https://api.glitch.fun/api/documentation#/Event%20Route/disableOverlay
17866
+ *
17867
+ * @param event_id The id of the event.
17868
+ *
17869
+ * @returns promise
17870
+ */
17871
+ Events.setAIAccent = function (event_id, data, params) {
17872
+ return Requests.processRoute(EventsRoutes.routes.setAIAccent, data, { event_id: event_id }, params);
17873
+ };
17860
17874
  /**
17861
17875
  * Sets the AI Avatar to that it willr respond to users in the chat.
17862
17876
  *