Comparing version 1.0.2 to 1.0.3
# Rockset Node Client Changelog | ||
## v1.0.3 2019-01-22 | ||
- Add support for AWS External ID as a new type of integration | ||
- Add support for Google Cloud Storage | ||
## v1.0.2 2018-12-28 | ||
@@ -4,0 +8,0 @@ - License change to Apache 2.0 |
{ | ||
"name": "rockset", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "Client for querying Rockset and interacting with the Rockset API.", | ||
@@ -5,0 +5,0 @@ "license": "Apache License 2.0", |
@@ -59,3 +59,4 @@ (function(root, factory) { | ||
"Authorization": "ApiKey " + apiKey, | ||
"X-Rockset-Version": require('../../package.json').version | ||
"X-Rockset-Version": require('../../package.json').version, | ||
"User-Agent": "nodejs" | ||
}; | ||
@@ -62,0 +63,0 @@ |
(function(factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/AddDocumentsRequest', 'model/AddDocumentsResponse', 'model/ApiKey', 'model/AwsKeyIntegration', 'model/CommitMark', 'model/CommitMarkPositions', 'model/CreateApiKeyRequest', 'model/CreateApiKeyResponse', 'model/CreateCollectionRequest', 'model/CreateCollectionResponse', 'model/CreateIntegrationRequest', 'model/CreateIntegrationResponse', 'model/CreateUserRequest', 'model/CreateUserResponse', 'model/CsvParams', 'model/DeleteApiKeyResponse', 'model/DeleteCollectionResponse', 'model/DeleteDocumentsRequest', 'model/DeleteDocumentsRequestData', 'model/DeleteDocumentsResponse', 'model/DeleteIntegrationResponse', 'model/DeleteUserResponse', 'model/DocumentStatus', 'model/ErrorModel', 'model/ErrorModelContext', 'model/EventTimeInfo', 'model/FieldMapping', 'model/FieldMappingV2', 'model/FieldMask', 'model/FieldMaskMask', 'model/FormatParams', 'model/GetCollectionResponse', 'model/GetIntegrationResponse', 'model/InputField', 'model/Integration', 'model/ListApiKeysResponse', 'model/ListCollectionsResponse', 'model/ListIntegrationsResponse', 'model/ListUsersResponse', 'model/Organization', 'model/OrganizationResponse', 'model/OutputField', 'model/QueryFieldType', 'model/QueryParameter', 'model/QueryRequest', 'model/QueryRequestSql', 'model/QueryResponse', 'model/QueryResponseStats', 'model/Resource', 'model/ResourceStats', 'model/Source', 'model/SourceDynamoDb', 'model/SourceKinesis', 'model/SourceS3', 'model/SqlExpression', 'model/User', 'model/XmlParams', 'api/ApiKeysApi', 'api/CollectionsApi', 'api/DocumentsApi', 'api/IntegrationsApi', 'api/OrganizationsApi', 'api/QueriesApi', 'api/UsersApi'], factory); | ||
define(['ApiClient', 'model/AddDocumentsRequest', 'model/AddDocumentsResponse', 'model/ApiKey', 'model/AwsExternalIdIntegration', 'model/AwsKeyIntegration', 'model/CommitMark', 'model/CommitMarkPositions', 'model/CreateApiKeyRequest', 'model/CreateApiKeyResponse', 'model/CreateCollectionRequest', 'model/CreateCollectionResponse', 'model/CreateIntegrationRequest', 'model/CreateIntegrationResponse', 'model/CreateUserRequest', 'model/CreateUserResponse', 'model/CsvParams', 'model/DeleteApiKeyResponse', 'model/DeleteCollectionResponse', 'model/DeleteDocumentsRequest', 'model/DeleteDocumentsRequestData', 'model/DeleteDocumentsResponse', 'model/DeleteIntegrationResponse', 'model/DeleteUserResponse', 'model/DocumentStatus', 'model/ErrorModel', 'model/ErrorModelContext', 'model/EventTimeInfo', 'model/FieldMapping', 'model/FieldMappingV2', 'model/FieldMask', 'model/FieldMaskMask', 'model/FormatParams', 'model/GcpServiceAccount', 'model/GetCollectionResponse', 'model/GetIntegrationResponse', 'model/InputField', 'model/Integration', 'model/ListApiKeysResponse', 'model/ListCollectionsResponse', 'model/ListIntegrationsResponse', 'model/ListUsersResponse', 'model/Organization', 'model/OrganizationResponse', 'model/OutputField', 'model/QueryFieldType', 'model/QueryParameter', 'model/QueryRequest', 'model/QueryRequestSql', 'model/QueryResponse', 'model/QueryResponseStats', 'model/Resource', 'model/ResourceStats', 'model/Source', 'model/SourceDynamoDb', 'model/SourceFileUpload', 'model/SourceGcs', 'model/SourceKinesis', 'model/SourceS3', 'model/SqlExpression', 'model/User', 'model/XmlParams', 'api/ApiKeysApi', 'api/CollectionsApi', 'api/DocumentsApi', 'api/IntegrationsApi', 'api/OrganizationsApi', 'api/QueriesApi', 'api/UsersApi'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('./ApiClient'), require('./model/AddDocumentsRequest'), require('./model/AddDocumentsResponse'), require('./model/ApiKey'), require('./model/AwsKeyIntegration'), require('./model/CommitMark'), require('./model/CommitMarkPositions'), require('./model/CreateApiKeyRequest'), require('./model/CreateApiKeyResponse'), require('./model/CreateCollectionRequest'), require('./model/CreateCollectionResponse'), require('./model/CreateIntegrationRequest'), require('./model/CreateIntegrationResponse'), require('./model/CreateUserRequest'), require('./model/CreateUserResponse'), require('./model/CsvParams'), require('./model/DeleteApiKeyResponse'), require('./model/DeleteCollectionResponse'), require('./model/DeleteDocumentsRequest'), require('./model/DeleteDocumentsRequestData'), require('./model/DeleteDocumentsResponse'), require('./model/DeleteIntegrationResponse'), require('./model/DeleteUserResponse'), require('./model/DocumentStatus'), require('./model/ErrorModel'), require('./model/ErrorModelContext'), require('./model/EventTimeInfo'), require('./model/FieldMapping'), require('./model/FieldMappingV2'), require('./model/FieldMask'), require('./model/FieldMaskMask'), require('./model/FormatParams'), require('./model/GetCollectionResponse'), require('./model/GetIntegrationResponse'), require('./model/InputField'), require('./model/Integration'), require('./model/ListApiKeysResponse'), require('./model/ListCollectionsResponse'), require('./model/ListIntegrationsResponse'), require('./model/ListUsersResponse'), require('./model/Organization'), require('./model/OrganizationResponse'), require('./model/OutputField'), require('./model/QueryFieldType'), require('./model/QueryParameter'), require('./model/QueryRequest'), require('./model/QueryRequestSql'), require('./model/QueryResponse'), require('./model/QueryResponseStats'), require('./model/Resource'), require('./model/ResourceStats'), require('./model/Source'), require('./model/SourceDynamoDb'), require('./model/SourceKinesis'), require('./model/SourceS3'), require('./model/SqlExpression'), require('./model/User'), require('./model/XmlParams'), require('./api/ApiKeysApi'), require('./api/CollectionsApi'), require('./api/DocumentsApi'), require('./api/IntegrationsApi'), require('./api/OrganizationsApi'), require('./api/QueriesApi'), require('./api/UsersApi')); | ||
module.exports = factory(require('./ApiClient'), require('./model/AddDocumentsRequest'), require('./model/AddDocumentsResponse'), require('./model/ApiKey'), require('./model/AwsExternalIdIntegration'), require('./model/AwsKeyIntegration'), require('./model/CommitMark'), require('./model/CommitMarkPositions'), require('./model/CreateApiKeyRequest'), require('./model/CreateApiKeyResponse'), require('./model/CreateCollectionRequest'), require('./model/CreateCollectionResponse'), require('./model/CreateIntegrationRequest'), require('./model/CreateIntegrationResponse'), require('./model/CreateUserRequest'), require('./model/CreateUserResponse'), require('./model/CsvParams'), require('./model/DeleteApiKeyResponse'), require('./model/DeleteCollectionResponse'), require('./model/DeleteDocumentsRequest'), require('./model/DeleteDocumentsRequestData'), require('./model/DeleteDocumentsResponse'), require('./model/DeleteIntegrationResponse'), require('./model/DeleteUserResponse'), require('./model/DocumentStatus'), require('./model/ErrorModel'), require('./model/ErrorModelContext'), require('./model/EventTimeInfo'), require('./model/FieldMapping'), require('./model/FieldMappingV2'), require('./model/FieldMask'), require('./model/FieldMaskMask'), require('./model/FormatParams'), require('./model/GcpServiceAccount'), require('./model/GetCollectionResponse'), require('./model/GetIntegrationResponse'), require('./model/InputField'), require('./model/Integration'), require('./model/ListApiKeysResponse'), require('./model/ListCollectionsResponse'), require('./model/ListIntegrationsResponse'), require('./model/ListUsersResponse'), require('./model/Organization'), require('./model/OrganizationResponse'), require('./model/OutputField'), require('./model/QueryFieldType'), require('./model/QueryParameter'), require('./model/QueryRequest'), require('./model/QueryRequestSql'), require('./model/QueryResponse'), require('./model/QueryResponseStats'), require('./model/Resource'), require('./model/ResourceStats'), require('./model/Source'), require('./model/SourceDynamoDb'), require('./model/SourceFileUpload'), require('./model/SourceGcs'), require('./model/SourceKinesis'), require('./model/SourceS3'), require('./model/SqlExpression'), require('./model/User'), require('./model/XmlParams'), require('./api/ApiKeysApi'), require('./api/CollectionsApi'), require('./api/DocumentsApi'), require('./api/IntegrationsApi'), require('./api/OrganizationsApi'), require('./api/QueriesApi'), require('./api/UsersApi')); | ||
} | ||
}(function(ApiClient, AddDocumentsRequest, AddDocumentsResponse, ApiKey, AwsKeyIntegration, CommitMark, CommitMarkPositions, CreateApiKeyRequest, CreateApiKeyResponse, CreateCollectionRequest, CreateCollectionResponse, CreateIntegrationRequest, CreateIntegrationResponse, CreateUserRequest, CreateUserResponse, CsvParams, DeleteApiKeyResponse, DeleteCollectionResponse, DeleteDocumentsRequest, DeleteDocumentsRequestData, DeleteDocumentsResponse, DeleteIntegrationResponse, DeleteUserResponse, DocumentStatus, ErrorModel, ErrorModelContext, EventTimeInfo, FieldMapping, FieldMappingV2, FieldMask, FieldMaskMask, FormatParams, GetCollectionResponse, GetIntegrationResponse, InputField, Integration, ListApiKeysResponse, ListCollectionsResponse, ListIntegrationsResponse, ListUsersResponse, Organization, OrganizationResponse, OutputField, QueryFieldType, QueryParameter, QueryRequest, QueryRequestSql, QueryResponse, QueryResponseStats, Resource, ResourceStats, Source, SourceDynamoDb, SourceKinesis, SourceS3, SqlExpression, User, XmlParams, ApiKeysApi, CollectionsApi, DocumentsApi, IntegrationsApi, OrganizationsApi, QueriesApi, UsersApi) { | ||
}(function(ApiClient, AddDocumentsRequest, AddDocumentsResponse, ApiKey, AwsExternalIdIntegration, AwsKeyIntegration, CommitMark, CommitMarkPositions, CreateApiKeyRequest, CreateApiKeyResponse, CreateCollectionRequest, CreateCollectionResponse, CreateIntegrationRequest, CreateIntegrationResponse, CreateUserRequest, CreateUserResponse, CsvParams, DeleteApiKeyResponse, DeleteCollectionResponse, DeleteDocumentsRequest, DeleteDocumentsRequestData, DeleteDocumentsResponse, DeleteIntegrationResponse, DeleteUserResponse, DocumentStatus, ErrorModel, ErrorModelContext, EventTimeInfo, FieldMapping, FieldMappingV2, FieldMask, FieldMaskMask, FormatParams, GcpServiceAccount, GetCollectionResponse, GetIntegrationResponse, InputField, Integration, ListApiKeysResponse, ListCollectionsResponse, ListIntegrationsResponse, ListUsersResponse, Organization, OrganizationResponse, OutputField, QueryFieldType, QueryParameter, QueryRequest, QueryRequestSql, QueryResponse, QueryResponseStats, Resource, ResourceStats, Source, SourceDynamoDb, SourceFileUpload, SourceGcs, SourceKinesis, SourceS3, SqlExpression, User, XmlParams, ApiKeysApi, CollectionsApi, DocumentsApi, IntegrationsApi, OrganizationsApi, QueriesApi, UsersApi) { | ||
'use strict'; | ||
@@ -11,0 +11,0 @@ var exports = function(apiKey, apiServer){ |
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/AwsKeyIntegration'], factory); | ||
define(['ApiClient', 'model/AwsExternalIdIntegration', 'model/AwsKeyIntegration', 'model/GcpServiceAccount'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('./AwsKeyIntegration')); | ||
module.exports = factory(require('../ApiClient'), require('./AwsExternalIdIntegration'), require('./AwsKeyIntegration'), require('./GcpServiceAccount')); | ||
} else { | ||
@@ -13,5 +13,5 @@ // Browser globals (root is window) | ||
} | ||
root.RestApi.CreateIntegrationRequest = factory(root.RestApi.ApiClient, root.RestApi.AwsKeyIntegration); | ||
root.RestApi.CreateIntegrationRequest = factory(root.RestApi.ApiClient, root.RestApi.AwsExternalIdIntegration, root.RestApi.AwsKeyIntegration, root.RestApi.GcpServiceAccount); | ||
} | ||
}(this, function(ApiClient, AwsKeyIntegration) { | ||
}(this, function(ApiClient, AwsExternalIdIntegration, AwsKeyIntegration, GcpServiceAccount) { | ||
'use strict'; | ||
@@ -40,2 +40,4 @@ | ||
}; | ||
@@ -63,2 +65,8 @@ | ||
} | ||
if (data.hasOwnProperty('aws_external_id')) { | ||
obj['aws_external_id'] = AwsExternalIdIntegration.constructFromObject(data['aws_external_id']); | ||
} | ||
if (data.hasOwnProperty('gcp_service_account')) { | ||
obj['gcp_service_account'] = GcpServiceAccount.constructFromObject(data['gcp_service_account']); | ||
} | ||
} | ||
@@ -83,2 +91,12 @@ return obj; | ||
exports.prototype['aws'] = undefined; | ||
/** | ||
* details for an AWS External Id integration | ||
* @member {module:model/AwsExternalIdIntegration} aws_external_id | ||
*/ | ||
exports.prototype['aws_external_id'] = undefined; | ||
/** | ||
* details of a GCP Service Account integration | ||
* @member {module:model/GcpServiceAccount} gcp_service_account | ||
*/ | ||
exports.prototype['gcp_service_account'] = undefined; | ||
@@ -85,0 +103,0 @@ |
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/AwsKeyIntegration'], factory); | ||
define(['ApiClient', 'model/AwsExternalIdIntegration', 'model/AwsKeyIntegration', 'model/GcpServiceAccount'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('./AwsKeyIntegration')); | ||
module.exports = factory(require('../ApiClient'), require('./AwsExternalIdIntegration'), require('./AwsKeyIntegration'), require('./GcpServiceAccount')); | ||
} else { | ||
@@ -13,5 +13,5 @@ // Browser globals (root is window) | ||
} | ||
root.RestApi.Integration = factory(root.RestApi.ApiClient, root.RestApi.AwsKeyIntegration); | ||
root.RestApi.Integration = factory(root.RestApi.ApiClient, root.RestApi.AwsExternalIdIntegration, root.RestApi.AwsKeyIntegration, root.RestApi.GcpServiceAccount); | ||
} | ||
}(this, function(ApiClient, AwsKeyIntegration) { | ||
}(this, function(ApiClient, AwsExternalIdIntegration, AwsKeyIntegration, GcpServiceAccount) { | ||
'use strict'; | ||
@@ -44,2 +44,4 @@ | ||
}; | ||
@@ -73,2 +75,8 @@ | ||
} | ||
if (data.hasOwnProperty('aws_external_id')) { | ||
obj['aws_external_id'] = AwsExternalIdIntegration.constructFromObject(data['aws_external_id']); | ||
} | ||
if (data.hasOwnProperty('gcp_service_account')) { | ||
obj['gcp_service_account'] = GcpServiceAccount.constructFromObject(data['gcp_service_account']); | ||
} | ||
} | ||
@@ -103,2 +111,12 @@ return obj; | ||
exports.prototype['aws'] = undefined; | ||
/** | ||
* details of an AWS External Id integration | ||
* @member {module:model/AwsExternalIdIntegration} aws_external_id | ||
*/ | ||
exports.prototype['aws_external_id'] = undefined; | ||
/** | ||
* details of a GCP Service Account integration | ||
* @member {module:model/GcpServiceAccount} gcp_service_account | ||
*/ | ||
exports.prototype['gcp_service_account'] = undefined; | ||
@@ -105,0 +123,0 @@ |
(function(root, factory) { | ||
if (typeof define === 'function' && define.amd) { | ||
// AMD. Register as an anonymous module. | ||
define(['ApiClient', 'model/FormatParams', 'model/SourceDynamoDb', 'model/SourceKinesis', 'model/SourceS3'], factory); | ||
define(['ApiClient', 'model/FormatParams', 'model/SourceDynamoDb', 'model/SourceFileUpload', 'model/SourceGcs', 'model/SourceKinesis', 'model/SourceS3'], factory); | ||
} else if (typeof module === 'object' && module.exports) { | ||
// CommonJS-like environments that support module.exports, like Node. | ||
module.exports = factory(require('../ApiClient'), require('./FormatParams'), require('./SourceDynamoDb'), require('./SourceKinesis'), require('./SourceS3')); | ||
module.exports = factory(require('../ApiClient'), require('./FormatParams'), require('./SourceDynamoDb'), require('./SourceFileUpload'), require('./SourceGcs'), require('./SourceKinesis'), require('./SourceS3')); | ||
} else { | ||
@@ -13,5 +13,5 @@ // Browser globals (root is window) | ||
} | ||
root.RestApi.Source = factory(root.RestApi.ApiClient, root.RestApi.FormatParams, root.RestApi.SourceDynamoDb, root.RestApi.SourceKinesis, root.RestApi.SourceS3); | ||
root.RestApi.Source = factory(root.RestApi.ApiClient, root.RestApi.FormatParams, root.RestApi.SourceDynamoDb, root.RestApi.SourceFileUpload, root.RestApi.SourceGcs, root.RestApi.SourceKinesis, root.RestApi.SourceS3); | ||
} | ||
}(this, function(ApiClient, FormatParams, SourceDynamoDb, SourceKinesis, SourceS3) { | ||
}(this, function(ApiClient, FormatParams, SourceDynamoDb, SourceFileUpload, SourceGcs, SourceKinesis, SourceS3) { | ||
'use strict'; | ||
@@ -44,2 +44,4 @@ | ||
}; | ||
@@ -73,2 +75,8 @@ | ||
} | ||
if (data.hasOwnProperty('gcs')) { | ||
obj['gcs'] = SourceGcs.constructFromObject(data['gcs']); | ||
} | ||
if (data.hasOwnProperty('file_upload')) { | ||
obj['file_upload'] = SourceFileUpload.constructFromObject(data['file_upload']); | ||
} | ||
if (data.hasOwnProperty('format_params')) { | ||
@@ -107,2 +115,12 @@ obj['format_params'] = FormatParams.constructFromObject(data['format_params']); | ||
/** | ||
* configuration for ingestion from GCS | ||
* @member {module:model/SourceGcs} gcs | ||
*/ | ||
exports.prototype['gcs'] = undefined; | ||
/** | ||
* file upload details | ||
* @member {module:model/SourceFileUpload} file_upload | ||
*/ | ||
exports.prototype['file_upload'] = undefined; | ||
/** | ||
* format parameters for data from this source | ||
@@ -109,0 +127,0 @@ * @member {module:model/FormatParams} format_params |
242744
83
6247