glitch-javascript-sdk 0.5.2 → 0.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
@@ -17114,6 +17114,12 @@ var UserRoutes = /** @class */ (function () {
17114
17114
  uploadAvatar: { url: '/users/uploadAvatarImage', method: HTTP_METHODS.POST },
17115
17115
  uploadBanner: { url: '/users/uploadBannerImage', method: HTTP_METHODS.POST },
17116
17116
  createDonationPage: { url: '/users/createDonationPage', method: HTTP_METHODS.POST },
17117
+ clearTwitchAuth: { url: '/users/clearTwitchAuth', method: HTTP_METHODS.DELETE },
17118
+ clearFacebookAuth: { url: '/users/clearFacebookAuth', method: HTTP_METHODS.DELETE },
17119
+ clearGoogleAuth: { url: '/users/clearGoogleAuth', method: HTTP_METHODS.DELETE },
17120
+ clearStripeAuth: { url: '/users/clearStripeAuth', method: HTTP_METHODS.DELETE },
17121
+ clearTikTokAuth: { url: '/users/clearTikTokAuth', method: HTTP_METHODS.DELETE },
17122
+ clearYoutubeAuth: { url: '/users/clearYoutubeAuth', method: HTTP_METHODS.DELETE },
17117
17123
  };
17118
17124
  return UserRoutes;
17119
17125
  }());
@@ -17253,6 +17259,66 @@ var Users = /** @class */ (function () {
17253
17259
  Users.createDonationPage = function () {
17254
17260
  return Requests.processRoute(UserRoutes.routes.createDonationPage, {});
17255
17261
  };
17262
+ /**
17263
+ * Clear Twitches authentication information from the current user.
17264
+ *
17265
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17266
+ *
17267
+ * @returns promise
17268
+ */
17269
+ Users.clearTwitchAuth = function () {
17270
+ return Requests.processRoute(UserRoutes.routes.clearTwitchAuth, {});
17271
+ };
17272
+ /**
17273
+ * Clear Facebook authentication information from the current user.
17274
+ *
17275
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17276
+ *
17277
+ * @returns promise
17278
+ */
17279
+ Users.clearFacebookAuth = function () {
17280
+ return Requests.processRoute(UserRoutes.routes.clearFacebookAuth, {});
17281
+ };
17282
+ /**
17283
+ * Clear Google authentication information from the current user.
17284
+ *
17285
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17286
+ *
17287
+ * @returns promise
17288
+ */
17289
+ Users.clearGoogleAuth = function () {
17290
+ return Requests.processRoute(UserRoutes.routes.clearGoogleAuth, {});
17291
+ };
17292
+ /**
17293
+ * Clear Stripe authentication information from the current user.
17294
+ *
17295
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17296
+ *
17297
+ * @returns promise
17298
+ */
17299
+ Users.clearStripeAuth = function () {
17300
+ return Requests.processRoute(UserRoutes.routes.clearStripeAuth, {});
17301
+ };
17302
+ /**
17303
+ * Clear TikTok authentication information from the current user.
17304
+ *
17305
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17306
+ *
17307
+ * @returns promise
17308
+ */
17309
+ Users.clearTikTokAuth = function () {
17310
+ return Requests.processRoute(UserRoutes.routes.clearTikTokAuth, {});
17311
+ };
17312
+ /**
17313
+ * Clear YouTube authentication information from the current user.
17314
+ *
17315
+ * @see https://api.glitch.fun/api/documentation#/Users%20Route/userCreateDonationPage
17316
+ *
17317
+ * @returns promise
17318
+ */
17319
+ Users.clearYoutubeAuth = function () {
17320
+ return Requests.processRoute(UserRoutes.routes.clearYoutubeAuth, {});
17321
+ };
17256
17322
  return Users;
17257
17323
  }());
17258
17324