Skip to content

Commit 2442e1b

Browse files
author
David Bach
committed
Bump version to 1.1.7
1 parent 161c2df commit 2442e1b

File tree

85 files changed

+195
-211
lines changed

Some content is hidden

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

85 files changed

+195
-211
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ DelveClientSdk - JavaScript client for delve_client_sdk
44
This is a Client SDK for Delve API
55
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

7-
- API version: 1.1.6
8-
- Package version: 1.1.6
7+
- API version: 1.1.7
8+
- Package version: 1.1.7
99
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
1010
For more information, please visit [https://www.relational.ai/support](https://www.relational.ai/support)
1111

client/.openapi-generator/VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
5.0.0
1+
5.0.0-beta2

client/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ RaiDbSdk - JavaScript client for rai_db_sdk
44
This is a Client SDK for Delve API
55
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
66

7-
- API version: 1.1.6
8-
- Package version: 1.1.6
7+
- API version: 1.1.7
8+
- Package version: 1.1.7
99
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
1010
For more information, please visit [https://www.relational.ai/support](https://www.relational.ai/support)
1111

client/docs/LoadData.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ Name | Type | Description | Notes
99
**fileSchema** | [**FileSchema**](FileSchema.md) | | [optional]
1010
**fileSyntax** | [**FileSyntax**](FileSyntax.md) | | [optional]
1111
**integration** | [**Integration**](Integration.md) | | [optional]
12-
**key** | **Object** | |
12+
**key** | [**AnyType**](.md) | |
1313
**path** | **String** | | [optional]
1414
**type** | **String** | | [default to 'LoadData']
1515

client/docs/PairAnyValueAnyValue.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**first** | **Object** | | [optional]
8-
**second** | **Object** | | [optional]
7+
**first** | [**AnyType**](.md) | | [optional]
8+
**second** | [**AnyType**](.md) | | [optional]
99
**type** | **String** | | [default to 'Pair_AnyValue_AnyValue_']
1010

1111

client/docs/Range.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
77
**area** | [**Area**](Area.md) | |
88
**endByte** | **Number** | | [default to 0]
9-
**input** | **Object** | | [optional]
9+
**input** | [**AnyType**](.md) | | [optional]
1010
**startByte** | **Number** | | [default to 0]
1111
**type** | **String** | | [default to 'Range']
1212

client/docs/Relation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
Name | Type | Description | Notes
66
------------ | ------------- | ------------- | -------------
7-
**columns** | **[[Object]]** | | [optional]
7+
**columns** | **[[AnyType]]** | | [optional]
88
**relKey** | [**RelKey**](RelKey.md) | |
99
**type** | **String** | | [default to 'Relation']
1010

client/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "rai_db_sdk",
3-
"version": "1.1.6",
3+
"version": "1.1.7",
44
"description": "This_is_a_Client_SDK_for_Delve_API",
55
"license": "Apache 2.0",
66
"main": "dist/index.js",

client/src/ApiClient.js

Lines changed: 12 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Delve Client SDK
33
* This is a Client SDK for Delve API
44
*
5-
* The version of the OpenAPI document: 1.1.6
5+
* The version of the OpenAPI document: 1.1.7
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -17,7 +17,7 @@ import querystring from "querystring";
1717

1818
/**
1919
* @module ApiClient
20-
* @version 1.1.6
20+
* @version 1.1.7
2121
*/
2222

2323
/**
@@ -147,7 +147,7 @@ class ApiClient {
147147
url = apiBasePath + path;
148148
}
149149

150-
url = url.replace(/\{([\w-\.]+)\}/g, (fullMatch, key) => {
150+
url = url.replace(/\{([\w-]+)\}/g, (fullMatch, key) => {
151151
var value;
152152
if (pathParams.hasOwnProperty(key)) {
153153
value = this.paramToString(pathParams[key]);
@@ -265,18 +265,16 @@ class ApiClient {
265265
}
266266
switch (collectionFormat) {
267267
case 'csv':
268-
return param.map(this.paramToString, this).join(',');
268+
return param.map(this.paramToString).join(',');
269269
case 'ssv':
270-
return param.map(this.paramToString, this).join(' ');
270+
return param.map(this.paramToString).join(' ');
271271
case 'tsv':
272-
return param.map(this.paramToString, this).join('\t');
272+
return param.map(this.paramToString).join('\t');
273273
case 'pipes':
274-
return param.map(this.paramToString, this).join('|');
274+
return param.map(this.paramToString).join('|');
275275
case 'multi':
276276
//return the array directly as SuperAgent will handle it as expected
277-
return param.map(this.paramToString, this);
278-
case 'passthrough':
279-
return param;
277+
return param.map(this.paramToString);
280278
default:
281279
throw new Error('Unknown collection format: ' + collectionFormat);
282280
}
@@ -299,10 +297,7 @@ class ApiClient {
299297
break;
300298
case 'bearer':
301299
if (auth.accessToken) {
302-
var localVarBearerToken = typeof auth.accessToken === 'function'
303-
? auth.accessToken()
304-
: auth.accessToken
305-
request.set({'Authorization': 'Bearer ' + localVarBearerToken});
300+
request.set({'Authorization': 'Bearer ' + auth.accessToken});
306301
}
307302

308303
break;
@@ -436,16 +431,11 @@ class ApiClient {
436431
var _formParams = this.normalizeParams(formParams);
437432
for (var key in _formParams) {
438433
if (_formParams.hasOwnProperty(key)) {
439-
let _formParamsValue = _formParams[key];
440-
if (this.isFileParam(_formParamsValue)) {
434+
if (this.isFileParam(_formParams[key])) {
441435
// file field
442-
request.attach(key, _formParamsValue);
443-
} else if (Array.isArray(_formParamsValue) && _formParamsValue.length
444-
&& this.isFileParam(_formParamsValue[0])) {
445-
// multiple files
446-
_formParamsValue.forEach(file => request.attach(key, file));
436+
request.attach(key, _formParams[key]);
447437
} else {
448-
request.field(key, _formParamsValue);
438+
request.field(key, _formParams[key]);
449439
}
450440
}
451441
}

client/src/api/DefaultApi.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Delve Client SDK
33
* This is a Client SDK for Delve API
44
*
5-
* The version of the OpenAPI document: 1.1.6
5+
* The version of the OpenAPI document: 1.1.7
66
* Contact: support@relational.ai
77
*
88
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -20,7 +20,7 @@ import TransactionResult from '../model/TransactionResult';
2020
/**
2121
* Default service.
2222
* @module api/DefaultApi
23-
* @version 1.1.6
23+
* @version 1.1.7
2424
*/
2525
export default class DefaultApi {
2626

0 commit comments

Comments
 (0)