Skip to content

Commit

Permalink
1.2.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Cloudmersive committed Oct 18, 2021
1 parent 2bacdfe commit dc7158e
Show file tree
Hide file tree
Showing 17 changed files with 33 additions and 31 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Cloudmersive Virus Scan API lets you scan files and content for viruses and
[Cloudmersive Virus Scan API](https://www.cloudmersive.com/virus-api) provides advanced virus scanning capabilities.

- API version: v1
- Package version: 1.2.3
- Package version: 1.2.4


## Installation
Expand Down
2 changes: 1 addition & 1 deletion client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ The Cloudmersive Virus Scan API lets you scan files and content for viruses and
[Cloudmersive Virus Scan API](https://www.cloudmersive.com/virus-api) provides advanced virus scanning capabilities.

- API version: v1
- Package version: 1.2.3
- Package version: 1.2.4


## Installation
Expand Down
15 changes: 9 additions & 6 deletions client/docs/ScanCloudStorageApi.md
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,8 @@ var siteID = "siteID_example"; // String | Site ID (GUID) of the SharePoint site
var filePath = "filePath_example"; // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'

var opts = {
'tenantID': "tenantID_example" // String | Optional; Tenant ID of your Azure Active Directory
'tenantID': "tenantID_example", // String | Optional; Tenant ID of your Azure Active Directory
'itemID': "itemID_example" // String | SharePoint itemID, such as a DriveItem Id
};

var callback = function(error, data, response) {
Expand All @@ -483,6 +484,7 @@ Name | Type | Description | Notes
**siteID** | **String**| Site ID (GUID) of the SharePoint site you wish to retrieve the file from |
**filePath** | **String**| Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf' |
**tenantID** | **String**| Optional; Tenant ID of your Azure Active Directory | [optional]
**itemID** | **String**| SharePoint itemID, such as a DriveItem Id | [optional]

### Return type

Expand All @@ -499,7 +501,7 @@ Name | Type | Description | Notes

<a name="scanCloudStorageScanSharePointOnlineFileAdvanced"></a>
# **scanCloudStorageScanSharePointOnlineFileAdvanced**
> CloudStorageAdvancedVirusScanResult scanCloudStorageScanSharePointOnlineFileAdvanced(clientID, clientSecret, sharepointDomainName, siteID, filePath, opts)
> CloudStorageAdvancedVirusScanResult scanCloudStorageScanSharePointOnlineFileAdvanced(clientID, clientSecret, sharepointDomainName, siteID, opts)
Advanced Virus Scan a file in a SharePoint Online Site Drive

Expand All @@ -526,10 +528,10 @@ var sharepointDomainName = "sharepointDomainName_example"; // String | SharePoin

var siteID = "siteID_example"; // String | Site ID (GUID) of the SharePoint site you wish to retrieve the file from

var filePath = "filePath_example"; // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'

var opts = {
'tenantID': "tenantID_example", // String | Optional; Tenant ID of your Azure Active Directory
'filePath': "filePath_example", // String | Path to the file within the drive, such as 'hello.pdf' or '/folder/subfolder/world.pdf'
'itemID': "itemID_example", // String | SharePoint itemID, such as a DriveItem Id
'allowExecutables': true, // Boolean | Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended).
'allowInvalidFiles': true, // Boolean | Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended).
'allowScripts': true, // Boolean | Set to false to block script files, such as a PHP files, Python scripts, and other malicious content or security threats that can be embedded in the file. Set to true to allow these file types. Default is false (recommended).
Expand All @@ -546,7 +548,7 @@ var callback = function(error, data, response) {
console.log('API called successfully. Returned data: ' + data);
}
};
apiInstance.scanCloudStorageScanSharePointOnlineFileAdvanced(clientID, clientSecret, sharepointDomainName, siteID, filePath, opts, callback);
apiInstance.scanCloudStorageScanSharePointOnlineFileAdvanced(clientID, clientSecret, sharepointDomainName, siteID, opts, callback);
```

### Parameters
Expand All @@ -557,8 +559,9 @@ Name | Type | Description | Notes
**clientSecret** | **String**| Client Secret access credentials; see description above for instructions on how to get the Client Secret from the Azure Active Directory portal |
**sharepointDomainName** | **String**| SharePoint Online domain name, such as mydomain.sharepoint.com |
**siteID** | **String**| Site ID (GUID) of the SharePoint site you wish to retrieve the file from |
**filePath** | **String**| Path to the file within the drive, such as &#39;hello.pdf&#39; or &#39;/folder/subfolder/world.pdf&#39; |
**tenantID** | **String**| Optional; Tenant ID of your Azure Active Directory | [optional]
**filePath** | **String**| Path to the file within the drive, such as &#39;hello.pdf&#39; or &#39;/folder/subfolder/world.pdf&#39; | [optional]
**itemID** | **String**| SharePoint itemID, such as a DriveItem Id | [optional]
**allowExecutables** | **Boolean**| Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended). | [optional]
**allowInvalidFiles** | **Boolean**| Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended). | [optional]
**allowScripts** | **Boolean**| Set to false to block script files, such as a PHP files, Python scripts, and other malicious content or security threats that can be embedded in the file. Set to true to allow these file types. Default is false (recommended). | [optional]
Expand Down
2 changes: 1 addition & 1 deletion client/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "cloudmersive-virus-api-client",
"version": "1.2.3",
"version": "1.2.4",
"description": "The_Cloudmersive_Virus_Scan_API_lets_you_scan_files_and_content_for_viruses_and_identify_security_issues_with_content_",
"license": "Apache-2.0",
"main": "src/index.js",
Expand Down
2 changes: 1 addition & 1 deletion client/src/ApiClient.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

/**
* @module ApiClient
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/api/ScanApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/**
* Scan service.
* @module api/ScanApi
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
19 changes: 9 additions & 10 deletions client/src/api/ScanCloudStorageApi.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
/**
* ScanCloudStorage service.
* @module api/ScanCloudStorageApi
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down Expand Up @@ -513,6 +513,7 @@
* @param {String} filePath Path to the file within the drive, such as &#39;hello.pdf&#39; or &#39;/folder/subfolder/world.pdf&#39;
* @param {Object} opts Optional parameters
* @param {String} opts.tenantID Optional; Tenant ID of your Azure Active Directory
* @param {String} opts.itemID SharePoint itemID, such as a DriveItem Id
* @param {module:api/ScanCloudStorageApi~scanCloudStorageScanSharePointOnlineFileCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/CloudStorageVirusScanResult}
*/
Expand Down Expand Up @@ -558,7 +559,8 @@
'sharepointDomainName': sharepointDomainName,
'siteID': siteID,
'tenantID': opts['tenantID'],
'filePath': filePath
'filePath': filePath,
'itemID': opts['itemID']
};
var formParams = {
};
Expand Down Expand Up @@ -590,9 +592,10 @@
* @param {String} clientSecret Client Secret access credentials; see description above for instructions on how to get the Client Secret from the Azure Active Directory portal
* @param {String} sharepointDomainName SharePoint Online domain name, such as mydomain.sharepoint.com
* @param {String} siteID Site ID (GUID) of the SharePoint site you wish to retrieve the file from
* @param {String} filePath Path to the file within the drive, such as &#39;hello.pdf&#39; or &#39;/folder/subfolder/world.pdf&#39;
* @param {Object} opts Optional parameters
* @param {String} opts.tenantID Optional; Tenant ID of your Azure Active Directory
* @param {String} opts.filePath Path to the file within the drive, such as &#39;hello.pdf&#39; or &#39;/folder/subfolder/world.pdf&#39;
* @param {String} opts.itemID SharePoint itemID, such as a DriveItem Id
* @param {Boolean} opts.allowExecutables Set to false to block executable files (program code) from being allowed in the input file. Default is false (recommended).
* @param {Boolean} opts.allowInvalidFiles Set to false to block invalid files, such as a PDF file that is not really a valid PDF file, or a Word Document that is not a valid Word Document. Default is false (recommended).
* @param {Boolean} opts.allowScripts Set to false to block script files, such as a PHP files, Python scripts, and other malicious content or security threats that can be embedded in the file. Set to true to allow these file types. Default is false (recommended).
Expand All @@ -603,7 +606,7 @@
* @param {module:api/ScanCloudStorageApi~scanCloudStorageScanSharePointOnlineFileAdvancedCallback} callback The callback function, accepting three arguments: error, data, response
* data is of type: {@link module:model/CloudStorageAdvancedVirusScanResult}
*/
this.scanCloudStorageScanSharePointOnlineFileAdvanced = function(clientID, clientSecret, sharepointDomainName, siteID, filePath, opts, callback) {
this.scanCloudStorageScanSharePointOnlineFileAdvanced = function(clientID, clientSecret, sharepointDomainName, siteID, opts, callback) {
opts = opts || {};
var postBody = null;

Expand All @@ -627,11 +630,6 @@
throw new Error("Missing the required parameter 'siteID' when calling scanCloudStorageScanSharePointOnlineFileAdvanced");
}

// verify the required parameter 'filePath' is set
if (filePath === undefined || filePath === null) {
throw new Error("Missing the required parameter 'filePath' when calling scanCloudStorageScanSharePointOnlineFileAdvanced");
}


var pathParams = {
};
Expand All @@ -645,7 +643,8 @@
'sharepointDomainName': sharepointDomainName,
'siteID': siteID,
'tenantID': opts['tenantID'],
'filePath': filePath,
'filePath': opts['filePath'],
'itemID': opts['itemID'],
'allowExecutables': opts['allowExecutables'],
'allowInvalidFiles': opts['allowInvalidFiles'],
'allowScripts': opts['allowScripts'],
Expand Down
2 changes: 1 addition & 1 deletion client/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
* </pre>
* </p>
* @module index
* @version 1.2.3
* @version 1.2.4
*/
var exports = {
/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/CloudStorageAdvancedVirusScanResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The CloudStorageAdvancedVirusScanResult model module.
* @module model/CloudStorageAdvancedVirusScanResult
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/CloudStorageVirusFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The CloudStorageVirusFound model module.
* @module model/CloudStorageVirusFound
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/CloudStorageVirusScanResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The CloudStorageVirusScanResult model module.
* @module model/CloudStorageVirusScanResult
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/VirusFound.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The VirusFound model module.
* @module model/VirusFound
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/VirusScanAdvancedResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The VirusScanAdvancedResult model module.
* @module model/VirusScanAdvancedResult
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/VirusScanResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The VirusScanResult model module.
* @module model/VirusScanResult
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/WebsiteScanRequest.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The WebsiteScanRequest model module.
* @module model/WebsiteScanRequest
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion client/src/model/WebsiteScanResult.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
/**
* The WebsiteScanResult model module.
* @module model/WebsiteScanResult
* @version 1.2.3
* @version 1.2.4
*/

/**
Expand Down
2 changes: 1 addition & 1 deletion packageconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{

"projectName": "cloudmersive-virus-api-client",
"projectVersion": "1.2.3",
"projectVersion": "1.2.4",
"licenseName": "Apache-2.0"
}

0 comments on commit dc7158e

Please sign in to comment.