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.
@@ -352,6 +352,16 @@ declare class Events {
352
352
  * @returns promise
353
353
  */
354
354
  static setAIAvatarName<T>(event_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
355
+ /**
356
+ * Sets the AI Avatars accent, that will dictate the void in which it responds.
357
+ *
358
+ * @see https://api.glitch.fun/api/documentation#/Event%20Route/disableOverlay
359
+ *
360
+ * @param event_id The id of the event.
361
+ *
362
+ * @returns promise
363
+ */
364
+ static setAIAccent<T>(event_id: string, data?: object, params?: Record<string, any>): AxiosPromise<Response<T>>;
355
365
  /**
356
366
  * Sets the AI Avatar to that it willr respond to users in the chat.
357
367
  *
package/dist/esm/index.js CHANGED
@@ -31342,6 +31342,7 @@ var UserRoutes = /** @class */ (function () {
31342
31342
  clearStripeAuth: { url: '/users/clearStripeAuth', method: HTTP_METHODS.DELETE },
31343
31343
  clearTikTokAuth: { url: '/users/clearTikTokAuth', method: HTTP_METHODS.DELETE },
31344
31344
  clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
31345
+ clearStreamElementsAuth: { url: '/users/clearStreamElementsAuth', method: HTTP_METHODS.DELETE },
31345
31346
  getTipsReceivedForMonth: { url: '/users/getTipsReceivedForMonth', method: HTTP_METHODS.GET },
31346
31347
  getTipsGivenForMonth: { url: '/users/getTipsGivenForMonth', method: HTTP_METHODS.GET },
31347
31348
  aggregateMonthlyReceivedTips: { url: '/users/aggregateMonthlyReceivedTips', method: HTTP_METHODS.GET },
@@ -31634,6 +31635,7 @@ var EventsRoutes = /** @class */ (function () {
31634
31635
  getTips: { url: '/events/{event_id}/tips', method: HTTP_METHODS.GET },
31635
31636
  setAIAvatarPersonalityAttribute: { url: '/events/{event_id}/setAIAvatarPersonalityAttribute', method: HTTP_METHODS.POST },
31636
31637
  setAIAvatarName: { url: '/events/{event_id}/setAIAvatarName', method: HTTP_METHODS.POST },
31638
+ setAIAccent: { url: '/events/{event_id}/setAIAccent', method: HTTP_METHODS.POST },
31637
31639
  setAIAvatarRespondToChat: { url: '/events/{event_id}/setAIAvatarRespondToChat', method: HTTP_METHODS.POST },
31638
31640
  setAIAvatarRespondToMe: { url: '/events/{event_id}/setAIAvatarRespondToMe', method: HTTP_METHODS.POST },
31639
31641
  };
@@ -32079,6 +32081,18 @@ var Events = /** @class */ (function () {
32079
32081
  Events.setAIAvatarName = function (event_id, data, params) {
32080
32082
  return Requests.processRoute(EventsRoutes.routes.setAIAvatarName, data, { event_id: event_id }, params);
32081
32083
  };
32084
+ /**
32085
+ * Sets the AI Avatars accent, that will dictate the void in which it responds.
32086
+ *
32087
+ * @see https://api.glitch.fun/api/documentation#/Event%20Route/disableOverlay
32088
+ *
32089
+ * @param event_id The id of the event.
32090
+ *
32091
+ * @returns promise
32092
+ */
32093
+ Events.setAIAccent = function (event_id, data, params) {
32094
+ return Requests.processRoute(EventsRoutes.routes.setAIAccent, data, { event_id: event_id }, params);
32095
+ };
32082
32096
  /**
32083
32097
  * Sets the AI Avatar to that it willr respond to users in the chat.
32084
32098
  *