glitch-javascript-sdk 2.7.4 → 2.7.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
@@ -19117,6 +19117,7 @@ var AccessKeysRoute = /** @class */ (function () {
19117
19117
  list: { url: '/titles/{title_id}/keys', method: HTTP_METHODS.GET },
19118
19118
  store: { url: '/titles/{title_id}/keys', method: HTTP_METHODS.POST },
19119
19119
  delete: { url: '/keys/{key_id}', method: HTTP_METHODS.DELETE },
19120
+ sendEmail: { url: '/keys/{key_id}/send-email', method: HTTP_METHODS.POST },
19120
19121
  };
19121
19122
  return AccessKeysRoute;
19122
19123
  }());
@@ -19161,6 +19162,15 @@ var AccessKeys = /** @class */ (function () {
19161
19162
  AccessKeys.delete = function (key_id, params) {
19162
19163
  return Requests.processRoute(AccessKeysRoute.routes.delete, {}, { key_id: key_id }, params);
19163
19164
  };
19165
+ /**
19166
+ * Emails the assigned key to the influencer.
19167
+ *
19168
+ * @param key_id The UUID of the access key.
19169
+ * @returns promise
19170
+ */
19171
+ AccessKeys.sendEmail = function (key_id) {
19172
+ return Requests.processRoute(AccessKeysRoute.routes.sendEmail, {}, { key_id: key_id });
19173
+ };
19164
19174
  return AccessKeys;
19165
19175
  }());
19166
19176