Socket
Socket
Sign inDemoInstall

groupdocs-javascript

Package Overview
Dependencies
1
Maintainers
1
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 2.5.2 to 2.6.0

2

package.json
{
"name": "groupdocs-javascript",
"version": "2.5.2",
"version": "2.6.0",
"description": "GroupDocs Cloud SDK for JavaScript",

@@ -5,0 +5,0 @@ "author": "Marketplace Team <support@groupdocs.com> (http://groupdocs.com/marketplace)",

@@ -28,5 +28,5 @@ GroupDocs Cloud SDK for JavaScript

Latest SDK version: 2.5.1.
Latest SDK version: 2.6.0.
Note: Cross domain AJAX is possible thanks to [CORS](http://caniuse.com/cors). File Upload is implemented using [File API](http://caniuse.com/fileapi).

@@ -680,2 +680,31 @@ /**

/**
* Remove account by request.
*
* @param String userId User id (required).
* @param String email User email (required).
* @param String nonce Removal nonce (required).
*
* @return this
*/
MgmtApi.prototype.RemoveAccount = function(callbacks, userId, email, nonce) {
if(userId == null || email == null || nonce == null ) {
throw new utils.ApiException("missing required parameters", 400);
}
var resourcePath = "/mgmt/{userId}/account/users/removeaccount/{email}";
// replace path parameters
resourcePath = resourcePath.replace("{" + "userId" + "}", utils.toPathValue(userId));
resourcePath = resourcePath.replace("{" + "email" + "}", utils.toPathValue(email));
resourcePath = resourcePath.replace("{" + "nonce" + "}", utils.toPathValue(nonce));
// add query parameters
var queryParams = [];
// add header parameters
var headerParams = [];
// make the API Call
var postData = ( typeof (body) === "undefined" ? null : body);
this.apiClient.callAPI(this.basePath, resourcePath, "DELETE", queryParams, postData, headerParams, callbacks);
return this;
}
/**
* Returns active user embed key.

@@ -682,0 +711,0 @@ *

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc