Skip to content

Commit 25713d4

Browse files
committed
chore: Apply security updates
1 parent 3552ed0 commit 25713d4

File tree

148 files changed

+166
-344
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

148 files changed

+166
-344
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ REST API to manage your virtual devices.
55
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

77
- API version: 7.3.0
8-
- Package version: 0.4.0
8+
- Package version: 0.4.1
99
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
1010

1111
## Installation

docs/ActivityRequest.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Name | Type | Description | Notes
1212
**project** | **String** | Instance identifier used to filter instance resources | [optional]
1313
**actor** | **String** | Actor identifier used to filter actor resources | [optional]
1414
**search** | **String** | Last filter applied and is a fuzzy match on results | [optional]
15-
**to** | **String** | Date to filter to, keyed off of createdAt | [optional]
16-
**from** | **String** | Date to filter from, keyed off of createdAt | [optional]
15+
**to** | **String** | Date to filter to, keyed off of createdAt, defaults to now | [optional]
16+
**from** | **String** | Date to filter from, keyed off of createdAt, defaults to 1 week ago | [optional]
1717

1818

docs/CorelliumApi.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2647,7 +2647,7 @@ Name | Type | Description | Notes
26472647

26482648
## v1CreateNetworkConnection
26492649

2650-
> NetworkConnection v1CreateNetworkConnection(createNetworkConnectionOptions)
2650+
> v1CreateNetworkConnection(createNetworkConnectionOptions)
26512651
26522652
Create a new Network Connection
26532653

@@ -2681,8 +2681,8 @@ let createNetworkConnectionOptions = {
26812681
"verb 3\n"
26822682
}
26832683
}; // CreateNetworkConnectionOptions | Network Connection Options
2684-
apiInstance.v1CreateNetworkConnection(createNetworkConnectionOptions).then((data) => {
2685-
console.log('API called successfully. Returned data: ' + data);
2684+
apiInstance.v1CreateNetworkConnection(createNetworkConnectionOptions).then(() => {
2685+
console.log('API called successfully.');
26862686
}, (error) => {
26872687
console.error(error);
26882688
});
@@ -2698,7 +2698,7 @@ Name | Type | Description | Notes
26982698

26992699
### Return type
27002700

2701-
[**NetworkConnection**](NetworkConnection.md)
2701+
null (empty response body)
27022702

27032703
### Authorization
27042704

@@ -2707,7 +2707,7 @@ Name | Type | Description | Notes
27072707
### HTTP request headers
27082708

27092709
- **Content-Type**: application/json
2710-
- **Accept**: application/json
2710+
- **Accept**: Not defined
27112711

27122712

27132713
## v1CreateProject
@@ -7462,7 +7462,7 @@ Name | Type | Description | Notes
74627462

74637463
## v1UpdateNetworkConnection
74647464

7465-
> NetworkConnection v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts)
7465+
> v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts)
74667466
74677467
Update Network Connection
74687468

@@ -7500,8 +7500,8 @@ let updateNetworkConnectionOptions = {
75007500
let opts = {
75017501
'force': true // Boolean | Force deletion (true only or not present)
75027502
};
7503-
apiInstance.v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts).then((data) => {
7504-
console.log('API called successfully. Returned data: ' + data);
7503+
apiInstance.v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts).then(() => {
7504+
console.log('API called successfully.');
75057505
}, (error) => {
75067506
console.error(error);
75077507
});
@@ -7519,7 +7519,7 @@ Name | Type | Description | Notes
75197519

75207520
### Return type
75217521

7522-
[**NetworkConnection**](NetworkConnection.md)
7522+
null (empty response body)
75237523

75247524
### Authorization
75257525

@@ -7528,7 +7528,7 @@ Name | Type | Description | Notes
75287528
### HTTP request headers
75297529

75307530
- **Content-Type**: application/json
7531-
- **Accept**: application/json
7531+
- **Accept**: Not defined
75327532

75337533

75347534
## v1UpdateProject

docs/RateInfo.md

Lines changed: 0 additions & 10 deletions
This file was deleted.

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,7 @@
1414
},
1515
"dependencies": {
1616
"@babel/cli": "^7.0.0",
17-
"superagent": "^5.3.0"
18-
},
19-
"publishConfig": {
20-
"@corellium:registry": "https://registry.npmjs.org/"
17+
"superagent": "^9.0.0"
2118
},
2219
"devDependencies": {
2320
"@babel/core": "^7.0.0",

src/ApiClient.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import querystring from "querystring";
1717

1818
/**
1919
* @module ApiClient
20-
* @version 0.4.0
20+
* @version 0.4.1
2121
*/
2222

2323
/**
@@ -55,7 +55,7 @@ class ApiClient {
5555
* @default {}
5656
*/
5757
this.defaultHeaders = {
58-
'User-Agent': 'OpenAPI-Generator/0.4.0/Javascript'
58+
'User-Agent': 'OpenAPI-Generator/0.4.1/Javascript'
5959
};
6060

6161
/**

src/api/CorelliumApi.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ import WebPlayerSession from '../model/WebPlayerSession';
100100
/**
101101
* Corellium service.
102102
* @module api/CorelliumApi
103-
* @version 0.4.0
103+
* @version 0.4.1
104104
*/
105105
export default class CorelliumApi {
106106

@@ -2722,7 +2722,7 @@ export default class CorelliumApi {
27222722
* Create a new Network Connection
27232723
* You must have the domain administrator role to create a network connection. VLAN networks are only supported in bridged networking mode.
27242724
* @param {module:model/CreateNetworkConnectionOptions} createNetworkConnectionOptions Network Connection Options
2725-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NetworkConnection} and HTTP response
2725+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
27262726
*/
27272727
v1CreateNetworkConnectionWithHttpInfo(createNetworkConnectionOptions) {
27282728
let postBody = createNetworkConnectionOptions;
@@ -2742,8 +2742,8 @@ export default class CorelliumApi {
27422742

27432743
let authNames = ['BearerAuth'];
27442744
let contentTypes = ['application/json'];
2745-
let accepts = ['application/json'];
2746-
let returnType = NetworkConnection;
2745+
let accepts = [];
2746+
let returnType = null;
27472747
return this.apiClient.callApi(
27482748
'/v1/network/connections', 'POST',
27492749
pathParams, queryParams, headerParams, formParams, postBody,
@@ -2755,7 +2755,7 @@ export default class CorelliumApi {
27552755
* Create a new Network Connection
27562756
* You must have the domain administrator role to create a network connection. VLAN networks are only supported in bridged networking mode.
27572757
* @param {module:model/CreateNetworkConnectionOptions} createNetworkConnectionOptions Network Connection Options
2758-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NetworkConnection}
2758+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
27592759
*/
27602760
v1CreateNetworkConnection(createNetworkConnectionOptions) {
27612761
return this.v1CreateNetworkConnectionWithHttpInfo(createNetworkConnectionOptions)
@@ -7591,7 +7591,7 @@ export default class CorelliumApi {
75917591
* @param {module:model/UpdateNetworkConnectionOptions} updateNetworkConnectionOptions Network Connection Options
75927592
* @param {Object} opts Optional parameters
75937593
* @param {Boolean} [force] Force deletion (true only or not present)
7594-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NetworkConnection} and HTTP response
7594+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
75957595
*/
75967596
v1UpdateNetworkConnectionWithHttpInfo(id, updateNetworkConnectionOptions, opts) {
75977597
opts = opts || {};
@@ -7618,8 +7618,8 @@ export default class CorelliumApi {
76187618

76197619
let authNames = ['BearerAuth'];
76207620
let contentTypes = ['application/json'];
7621-
let accepts = ['application/json'];
7622-
let returnType = NetworkConnection;
7621+
let accepts = [];
7622+
let returnType = null;
76237623
return this.apiClient.callApi(
76247624
'/v1/network/connections/{id}', 'PUT',
76257625
pathParams, queryParams, headerParams, formParams, postBody,
@@ -7634,7 +7634,7 @@ export default class CorelliumApi {
76347634
* @param {module:model/UpdateNetworkConnectionOptions} updateNetworkConnectionOptions Network Connection Options
76357635
* @param {Object} opts Optional parameters
76367636
* @param {Boolean} opts.force Force deletion (true only or not present)
7637-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NetworkConnection}
7637+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
76387638
*/
76397639
v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts) {
76407640
return this.v1UpdateNetworkConnectionWithHttpInfo(id, updateNetworkConnectionOptions, opts)

src/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ import CorelliumApi from './api/CorelliumApi';
188188
* </pre>
189189
* </p>
190190
* @module index
191-
* @version 0.4.0
191+
* @version 0.4.1
192192
*/
193193
export {
194194
/**

src/model/Activity.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The Activity model module.
1818
* @module model/Activity
19-
* @version 0.4.0
19+
* @version 0.4.1
2020
*/
2121
class Activity {
2222
/**

src/model/ActivityExportDto.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ import ApiClient from '../ApiClient';
1616
/**
1717
* The ActivityExportDto model module.
1818
* @module model/ActivityExportDto
19-
* @version 0.4.0
19+
* @version 0.4.1
2020
*/
2121
class ActivityExportDto {
2222
/**

0 commit comments

Comments
 (0)