Skip to content

Commit ba4f9e8

Browse files
committed
regenerated 7.3.0 with updated dependencies
1 parent 17b6f98 commit ba4f9e8

6 files changed

Lines changed: 28 additions & 27 deletions

File tree

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, defaults to now | [optional]
16-
**from** | **String** | Date to filter from, keyed off of createdAt, defaults to 1 week ago | [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]
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-
> v1CreateNetworkConnection(createNetworkConnectionOptions)
2650+
> NetworkConnection 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(() => {
2685-
console.log('API called successfully.');
2684+
apiInstance.v1CreateNetworkConnection(createNetworkConnectionOptions).then((data) => {
2685+
console.log('API called successfully. Returned data: ' + data);
26862686
}, (error) => {
26872687
console.error(error);
26882688
});
@@ -2698,7 +2698,7 @@ Name | Type | Description | Notes
26982698

26992699
### Return type
27002700

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

27032703
### Authorization
27042704

@@ -2707,7 +2707,7 @@ null (empty response body)
27072707
### HTTP request headers
27082708

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

27122712

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

74637463
## v1UpdateNetworkConnection
74647464

7465-
> v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts)
7465+
> NetworkConnection 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(() => {
7504-
console.log('API called successfully.');
7503+
apiInstance.v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts).then((data) => {
7504+
console.log('API called successfully. Returned data: ' + data);
75057505
}, (error) => {
75067506
console.error(error);
75077507
});
@@ -7519,7 +7519,7 @@ Name | Type | Description | Notes
75197519

75207520
### Return type
75217521

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

75247524
### Authorization
75257525

@@ -7528,7 +7528,7 @@ null (empty response body)
75287528
### HTTP request headers
75297529

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

75337533

75347534
## v1UpdateProject

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"@babel/preset-env": "^7.0.0",
4141
"@babel/register": "^7.0.0",
4242
"expect.js": "^0.3.1",
43-
"mocha": "^8.0.1",
43+
"mocha": "^11.2.2",
4444
"sinon": "^7.2.0"
4545
},
4646
"files": [

src/ApiClient.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ApiClient {
4949
'BearerAuth': {type: 'bearer'} // ApiToken or JWT
5050
}
5151

52-
/**
52+
/**
5353
* The default HTTP headers to be included for all API calls.
5454
* @type {Array.<String>}
5555
* @default {}
@@ -73,7 +73,7 @@ class ApiClient {
7373
*/
7474
this.cache = true;
7575

76-
/**
76+
/**
7777
* If set to true, the client will save the cookies from each server
7878
* response, and return them in the next request.
7979
* @default false
@@ -155,7 +155,7 @@ class ApiClient {
155155
url = apiBasePath + path;
156156
}
157157

158-
url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
158+
url = url.replace(/\{([\w-\.#]+)\}/g, (fullMatch, key) => {
159159
var value;
160160
if (pathParams.hasOwnProperty(key)) {
161161
value = this.paramToString(pathParams[key]);
@@ -431,7 +431,8 @@ class ApiClient {
431431
}
432432

433433
if (contentType === 'application/x-www-form-urlencoded') {
434-
request.send(querystring.stringify(this.normalizeParams(formParams)));
434+
let queryString = querystring.stringify(this.normalizeParams(formParams));
435+
request.send(queryString);
435436
} else if (contentType == 'multipart/form-data') {
436437
var _formParams = this.normalizeParams(formParams);
437438
for (var key in _formParams) {

src/api/CorelliumApi.js

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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 HTTP response
2725+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NetworkConnection} and 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 = [];
2746-
let returnType = null;
2745+
let accepts = ['application/json'];
2746+
let returnType = NetworkConnection;
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}
2758+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NetworkConnection}
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 HTTP response
7594+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/NetworkConnection} and 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 = [];
7622-
let returnType = null;
7621+
let accepts = ['application/json'];
7622+
let returnType = NetworkConnection;
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}
7637+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/NetworkConnection}
76387638
*/
76397639
v1UpdateNetworkConnection(id, updateNetworkConnectionOptions, opts) {
76407640
return this.v1UpdateNetworkConnectionWithHttpInfo(id, updateNetworkConnectionOptions, opts)

src/model/ActivityRequest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -178,13 +178,13 @@ ActivityRequest.prototype['actor'] = undefined;
178178
ActivityRequest.prototype['search'] = undefined;
179179

180180
/**
181-
* Date to filter to, keyed off of createdAt, defaults to now
181+
* Date to filter to, keyed off of createdAt
182182
* @member {String} to
183183
*/
184184
ActivityRequest.prototype['to'] = undefined;
185185

186186
/**
187-
* Date to filter from, keyed off of createdAt, defaults to 1 week ago
187+
* Date to filter from, keyed off of createdAt
188188
* @member {String} from
189189
*/
190190
ActivityRequest.prototype['from'] = undefined;

0 commit comments

Comments
 (0)