@blues-inc/notehub-js 1.0.27-beta.7 → 1.0.27-beta.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +16 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/StorageServiceApi.js +449 -0
- package/dist/index.js +56 -0
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/Aws.js +1 -1
- package/dist/model/Azure.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateUpdateDataRepository.js +103 -0
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +92 -0
- package/dist/model/DataRepository.js +116 -0
- package/dist/model/DataSet.js +164 -0
- package/dist/model/DataSetField.js +134 -0
- package/dist/model/DeleteDeviceFleetsRequest.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusCurrent.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -53
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariables200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceLatest200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetProjectDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetProjectDevices200Response.js +1 -1
- package/dist/model/GetProjectEvents200Response.js +1 -1
- package/dist/model/GetProjectEventsByCursor200Response.js +1 -1
- package/dist/model/GetProjectFleets200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectProducts200Response.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsByRoute200ResponseInner.js +1 -1
- package/dist/model/Google.js +1 -1
- package/dist/model/HandleNoteChanges200Response.js +1 -1
- package/dist/model/HandleNoteGet200Response.js +1 -1
- package/dist/model/HandleNoteSignal200Response.js +1 -1
- package/dist/model/HandleNotefileChanges200Response.js +1 -1
- package/dist/model/HandleNotefileChangesPending200Response.js +1 -1
- package/dist/model/HandleNotefileDeleteRequest.js +1 -1
- package/dist/model/Http.js +1 -1
- package/dist/model/HttpFilter.js +1 -1
- package/dist/model/HttpTransform.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/Mqtt.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSchema.js +1 -1
- package/dist/model/PostProvisionProjectDeviceRequest.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/Proxy.js +1 -1
- package/dist/model/PutDeviceFleetsRequest.js +1 -1
- package/dist/model/QuestionDataResponseLineChart.js +204 -0
- package/dist/model/QuestionDataResponseMap.js +143 -0
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Slack.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/Snowflake.js +1 -1
- package/dist/model/SnowflakeTransform.js +1 -1
- package/dist/model/Thingworx.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Twilio.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UserDbRoute.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.2.0
|
|
9
|
-
- Package version: 1.0.27-beta.
|
|
9
|
+
- Package version: 1.0.27-beta.8
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
11
11
|
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
|
|
12
12
|
|
|
@@ -209,6 +209,14 @@ Class | Method | HTTP request | Description
|
|
|
209
209
|
*NotehubJs.RouteApi* | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectUID}/routes/{routeUID}/route-logs |
|
|
210
210
|
*NotehubJs.RouteApi* | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectUID}/routes |
|
|
211
211
|
*NotehubJs.RouteApi* | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectUID}/routes/{routeUID} |
|
|
212
|
+
*NotehubJs.StorageServiceApi* | [**createStorageServiceAnalyticsDataset**](docs/StorageServiceApi.md#createStorageServiceAnalyticsDataset) | **POST** /v1/storage-service/repository/{repositoryUID}/datasets |
|
|
213
|
+
*NotehubJs.StorageServiceApi* | [**createStorageServiceRepository**](docs/StorageServiceApi.md#createStorageServiceRepository) | **POST** /v1/storage-service/repository |
|
|
214
|
+
*NotehubJs.StorageServiceApi* | [**deleteStorageServiceAnalyticsDataset**](docs/StorageServiceApi.md#deleteStorageServiceAnalyticsDataset) | **DELETE** /v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam} |
|
|
215
|
+
*NotehubJs.StorageServiceApi* | [**deleteStorageServiceRepository**](docs/StorageServiceApi.md#deleteStorageServiceRepository) | **DELETE** /v1/storage-service/repository/{repositoryUID} |
|
|
216
|
+
*NotehubJs.StorageServiceApi* | [**getStorageServiceAnalyticsDataset**](docs/StorageServiceApi.md#getStorageServiceAnalyticsDataset) | **GET** /v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam} |
|
|
217
|
+
*NotehubJs.StorageServiceApi* | [**getStorageServiceData**](docs/StorageServiceApi.md#getStorageServiceData) | **GET** /v1/storage-service/project/{repositoryUID}/data |
|
|
218
|
+
*NotehubJs.StorageServiceApi* | [**queryAnalyticsDataset**](docs/StorageServiceApi.md#queryAnalyticsDataset) | **GET** /v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam}/query |
|
|
219
|
+
*NotehubJs.StorageServiceApi* | [**updateStorageServiceAnalyticsDataset**](docs/StorageServiceApi.md#updateStorageServiceAnalyticsDataset) | **PUT** /v1/storage-service/repository/{repositoryUID} |
|
|
212
220
|
|
|
213
221
|
|
|
214
222
|
## Documentation for Models
|
|
@@ -227,9 +235,14 @@ Class | Method | HTTP request | Description
|
|
|
227
235
|
- [NotehubJs.CreateMonitor](docs/CreateMonitor.md)
|
|
228
236
|
- [NotehubJs.CreateProductRequest](docs/CreateProductRequest.md)
|
|
229
237
|
- [NotehubJs.CreateProjectRequest](docs/CreateProjectRequest.md)
|
|
238
|
+
- [NotehubJs.CreateUpdateDataRepository](docs/CreateUpdateDataRepository.md)
|
|
230
239
|
- [NotehubJs.CurrentFirmware](docs/CurrentFirmware.md)
|
|
231
240
|
- [NotehubJs.DFUEnv](docs/DFUEnv.md)
|
|
232
241
|
- [NotehubJs.DFUState](docs/DFUState.md)
|
|
242
|
+
- [NotehubJs.DataField](docs/DataField.md)
|
|
243
|
+
- [NotehubJs.DataRepository](docs/DataRepository.md)
|
|
244
|
+
- [NotehubJs.DataSet](docs/DataSet.md)
|
|
245
|
+
- [NotehubJs.DataSetField](docs/DataSetField.md)
|
|
233
246
|
- [NotehubJs.DeleteDeviceFleetsRequest](docs/DeleteDeviceFleetsRequest.md)
|
|
234
247
|
- [NotehubJs.Device](docs/Device.md)
|
|
235
248
|
- [NotehubJs.DeviceDfuHistory](docs/DeviceDfuHistory.md)
|
|
@@ -293,6 +306,8 @@ Class | Method | HTTP request | Description
|
|
|
293
306
|
- [NotehubJs.ProjectMember](docs/ProjectMember.md)
|
|
294
307
|
- [NotehubJs.Proxy](docs/Proxy.md)
|
|
295
308
|
- [NotehubJs.PutDeviceFleetsRequest](docs/PutDeviceFleetsRequest.md)
|
|
309
|
+
- [NotehubJs.QuestionDataResponseLineChart](docs/QuestionDataResponseLineChart.md)
|
|
310
|
+
- [NotehubJs.QuestionDataResponseMap](docs/QuestionDataResponseMap.md)
|
|
296
311
|
- [NotehubJs.Radresponder](docs/Radresponder.md)
|
|
297
312
|
- [NotehubJs.Role](docs/Role.md)
|
|
298
313
|
- [NotehubJs.Slack](docs/Slack.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 1.0.27-beta.
|
|
29
|
+
* @version 1.0.27-beta.8
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -75,7 +75,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
75
75
|
*/
|
|
76
76
|
this.defaultHeaders = {};
|
|
77
77
|
if (typeof window === 'undefined') {
|
|
78
|
-
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/1.0.27-beta.
|
|
78
|
+
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/1.0.27-beta.8/Javascript';
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 1.0.27-beta.
|
|
31
|
+
* @version 1.0.27-beta.8
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 1.0.27-beta.
|
|
31
|
+
* @version 1.0.27-beta.8
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* BillingAccount service.
|
|
30
30
|
* @module api/BillingAccountApi
|
|
31
|
-
* @version 1.0.27-beta.
|
|
31
|
+
* @version 1.0.27-beta.8
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -45,7 +45,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
45
45
|
/**
|
|
46
46
|
* Device service.
|
|
47
47
|
* @module api/DeviceApi
|
|
48
|
-
* @version 1.0.27-beta.
|
|
48
|
+
* @version 1.0.27-beta.8
|
|
49
49
|
*/
|
|
50
50
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
51
51
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Event service.
|
|
32
32
|
* @module api/EventApi
|
|
33
|
-
* @version 1.0.27-beta.
|
|
33
|
+
* @version 1.0.27-beta.8
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 1.0.27-beta.
|
|
32
|
+
* @version 1.0.27-beta.8
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
48
48
|
/**
|
|
49
49
|
* Project service.
|
|
50
50
|
* @module api/ProjectApi
|
|
51
|
-
* @version 1.0.27-beta.
|
|
51
|
+
* @version 1.0.27-beta.8
|
|
52
52
|
*/
|
|
53
53
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Route service.
|
|
32
32
|
* @module api/RouteApi
|
|
33
|
-
* @version 1.0.27-beta.
|
|
33
|
+
* @version 1.0.27-beta.8
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -0,0 +1,449 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", {
|
|
4
|
+
value: true
|
|
5
|
+
});
|
|
6
|
+
exports["default"] = void 0;
|
|
7
|
+
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
+
var _CreateUpdateDataRepository = _interopRequireDefault(require("../model/CreateUpdateDataRepository"));
|
|
9
|
+
var _DataRepository = _interopRequireDefault(require("../model/DataRepository"));
|
|
10
|
+
var _DataSet = _interopRequireDefault(require("../model/DataSet"));
|
|
11
|
+
var _Error = _interopRequireDefault(require("../model/Error"));
|
|
12
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
13
|
+
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
14
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
15
|
+
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
16
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
17
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
18
|
+
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
19
|
+
* Notehub API
|
|
20
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
21
|
+
*
|
|
22
|
+
* The version of the OpenAPI document: 1.2.0
|
|
23
|
+
* Contact: engineering@blues.io
|
|
24
|
+
*
|
|
25
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
26
|
+
* https://openapi-generator.tech
|
|
27
|
+
* Do not edit the class manually.
|
|
28
|
+
*
|
|
29
|
+
*/
|
|
30
|
+
/**
|
|
31
|
+
* StorageService service.
|
|
32
|
+
* @module api/StorageServiceApi
|
|
33
|
+
* @version 1.0.27-beta.8
|
|
34
|
+
*/
|
|
35
|
+
var StorageServiceApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new StorageServiceApi.
|
|
38
|
+
* @alias module:api/StorageServiceApi
|
|
39
|
+
* @class
|
|
40
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
41
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
42
|
+
*/
|
|
43
|
+
function StorageServiceApi(apiClient) {
|
|
44
|
+
_classCallCheck(this, StorageServiceApi);
|
|
45
|
+
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Create a new analytics dataset using the provided mappings and field selections
|
|
50
|
+
* @param {String} repositoryUID
|
|
51
|
+
* @param {module:model/DataSet} dataSet
|
|
52
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DataSet} and HTTP response
|
|
53
|
+
*/
|
|
54
|
+
return _createClass(StorageServiceApi, [{
|
|
55
|
+
key: "createStorageServiceAnalyticsDatasetWithHttpInfo",
|
|
56
|
+
value: function createStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, dataSet) {
|
|
57
|
+
var postBody = dataSet;
|
|
58
|
+
// verify the required parameter 'repositoryUID' is set
|
|
59
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
60
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling createStorageServiceAnalyticsDataset");
|
|
61
|
+
}
|
|
62
|
+
// verify the required parameter 'dataSet' is set
|
|
63
|
+
if (dataSet === undefined || dataSet === null) {
|
|
64
|
+
throw new _Error["default"]("Missing the required parameter 'dataSet' when calling createStorageServiceAnalyticsDataset");
|
|
65
|
+
}
|
|
66
|
+
var pathParams = {
|
|
67
|
+
'repositoryUID': repositoryUID
|
|
68
|
+
};
|
|
69
|
+
var queryParams = {};
|
|
70
|
+
var headerParams = {};
|
|
71
|
+
var formParams = {};
|
|
72
|
+
var authNames = ['api_key'];
|
|
73
|
+
var contentTypes = ['application/json'];
|
|
74
|
+
var accepts = ['application/json'];
|
|
75
|
+
var returnType = _DataSet["default"];
|
|
76
|
+
return this.apiClient.callApi('/v1/storage-service/repository/{repositoryUID}/datasets', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Create a new analytics dataset using the provided mappings and field selections
|
|
81
|
+
* @param {String} repositoryUID
|
|
82
|
+
* @param {module:model/DataSet} dataSet
|
|
83
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DataSet}
|
|
84
|
+
*/
|
|
85
|
+
}, {
|
|
86
|
+
key: "createStorageServiceAnalyticsDataset",
|
|
87
|
+
value: function createStorageServiceAnalyticsDataset(repositoryUID, dataSet) {
|
|
88
|
+
return this.createStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, dataSet).then(function (response_and_data) {
|
|
89
|
+
return response_and_data.data;
|
|
90
|
+
});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/**
|
|
94
|
+
* Create a new analytics dataset using the provided mappings and field selections
|
|
95
|
+
* @param {module:model/CreateUpdateDataRepository} createUpdateDataRepository
|
|
96
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DataRepository} and HTTP response
|
|
97
|
+
*/
|
|
98
|
+
}, {
|
|
99
|
+
key: "createStorageServiceRepositoryWithHttpInfo",
|
|
100
|
+
value: function createStorageServiceRepositoryWithHttpInfo(createUpdateDataRepository) {
|
|
101
|
+
var postBody = createUpdateDataRepository;
|
|
102
|
+
// verify the required parameter 'createUpdateDataRepository' is set
|
|
103
|
+
if (createUpdateDataRepository === undefined || createUpdateDataRepository === null) {
|
|
104
|
+
throw new _Error["default"]("Missing the required parameter 'createUpdateDataRepository' when calling createStorageServiceRepository");
|
|
105
|
+
}
|
|
106
|
+
var pathParams = {};
|
|
107
|
+
var queryParams = {};
|
|
108
|
+
var headerParams = {};
|
|
109
|
+
var formParams = {};
|
|
110
|
+
var authNames = ['api_key'];
|
|
111
|
+
var contentTypes = ['application/json'];
|
|
112
|
+
var accepts = ['application/json'];
|
|
113
|
+
var returnType = _DataRepository["default"];
|
|
114
|
+
return this.apiClient.callApi('/v1/storage-service/repository', 'POST', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* Create a new analytics dataset using the provided mappings and field selections
|
|
119
|
+
* @param {module:model/CreateUpdateDataRepository} createUpdateDataRepository
|
|
120
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DataRepository}
|
|
121
|
+
*/
|
|
122
|
+
}, {
|
|
123
|
+
key: "createStorageServiceRepository",
|
|
124
|
+
value: function createStorageServiceRepository(createUpdateDataRepository) {
|
|
125
|
+
return this.createStorageServiceRepositoryWithHttpInfo(createUpdateDataRepository).then(function (response_and_data) {
|
|
126
|
+
return response_and_data.data;
|
|
127
|
+
});
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* Delete an analytics dataset
|
|
132
|
+
* @param {String} repositoryUID
|
|
133
|
+
* @param {String} name The name of the data set
|
|
134
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
135
|
+
*/
|
|
136
|
+
}, {
|
|
137
|
+
key: "deleteStorageServiceAnalyticsDatasetWithHttpInfo",
|
|
138
|
+
value: function deleteStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, name) {
|
|
139
|
+
var postBody = null;
|
|
140
|
+
// verify the required parameter 'repositoryUID' is set
|
|
141
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
142
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling deleteStorageServiceAnalyticsDataset");
|
|
143
|
+
}
|
|
144
|
+
// verify the required parameter 'name' is set
|
|
145
|
+
if (name === undefined || name === null) {
|
|
146
|
+
throw new _Error["default"]("Missing the required parameter 'name' when calling deleteStorageServiceAnalyticsDataset");
|
|
147
|
+
}
|
|
148
|
+
var pathParams = {
|
|
149
|
+
'repositoryUID': repositoryUID,
|
|
150
|
+
'name': name
|
|
151
|
+
};
|
|
152
|
+
var queryParams = {};
|
|
153
|
+
var headerParams = {};
|
|
154
|
+
var formParams = {};
|
|
155
|
+
var authNames = ['api_key'];
|
|
156
|
+
var contentTypes = [];
|
|
157
|
+
var accepts = ['application/json'];
|
|
158
|
+
var returnType = null;
|
|
159
|
+
return this.apiClient.callApi('/v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* Delete an analytics dataset
|
|
164
|
+
* @param {String} repositoryUID
|
|
165
|
+
* @param {String} name The name of the data set
|
|
166
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
167
|
+
*/
|
|
168
|
+
}, {
|
|
169
|
+
key: "deleteStorageServiceAnalyticsDataset",
|
|
170
|
+
value: function deleteStorageServiceAnalyticsDataset(repositoryUID, name) {
|
|
171
|
+
return this.deleteStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, name).then(function (response_and_data) {
|
|
172
|
+
return response_and_data.data;
|
|
173
|
+
});
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
/**
|
|
177
|
+
* Delete an analytics dataset
|
|
178
|
+
* @param {String} repositoryUID
|
|
179
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
180
|
+
*/
|
|
181
|
+
}, {
|
|
182
|
+
key: "deleteStorageServiceRepositoryWithHttpInfo",
|
|
183
|
+
value: function deleteStorageServiceRepositoryWithHttpInfo(repositoryUID) {
|
|
184
|
+
var postBody = null;
|
|
185
|
+
// verify the required parameter 'repositoryUID' is set
|
|
186
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
187
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling deleteStorageServiceRepository");
|
|
188
|
+
}
|
|
189
|
+
var pathParams = {
|
|
190
|
+
'repositoryUID': repositoryUID
|
|
191
|
+
};
|
|
192
|
+
var queryParams = {};
|
|
193
|
+
var headerParams = {};
|
|
194
|
+
var formParams = {};
|
|
195
|
+
var authNames = ['api_key'];
|
|
196
|
+
var contentTypes = [];
|
|
197
|
+
var accepts = ['application/json'];
|
|
198
|
+
var returnType = null;
|
|
199
|
+
return this.apiClient.callApi('/v1/storage-service/repository/{repositoryUID}', 'DELETE', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Delete an analytics dataset
|
|
204
|
+
* @param {String} repositoryUID
|
|
205
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
206
|
+
*/
|
|
207
|
+
}, {
|
|
208
|
+
key: "deleteStorageServiceRepository",
|
|
209
|
+
value: function deleteStorageServiceRepository(repositoryUID) {
|
|
210
|
+
return this.deleteStorageServiceRepositoryWithHttpInfo(repositoryUID).then(function (response_and_data) {
|
|
211
|
+
return response_and_data.data;
|
|
212
|
+
});
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Get the details of an analytics dataset
|
|
217
|
+
* @param {String} repositoryUID
|
|
218
|
+
* @param {String} name The name of the data set
|
|
219
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DataSet} and HTTP response
|
|
220
|
+
*/
|
|
221
|
+
}, {
|
|
222
|
+
key: "getStorageServiceAnalyticsDatasetWithHttpInfo",
|
|
223
|
+
value: function getStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, name) {
|
|
224
|
+
var postBody = null;
|
|
225
|
+
// verify the required parameter 'repositoryUID' is set
|
|
226
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
227
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling getStorageServiceAnalyticsDataset");
|
|
228
|
+
}
|
|
229
|
+
// verify the required parameter 'name' is set
|
|
230
|
+
if (name === undefined || name === null) {
|
|
231
|
+
throw new _Error["default"]("Missing the required parameter 'name' when calling getStorageServiceAnalyticsDataset");
|
|
232
|
+
}
|
|
233
|
+
var pathParams = {
|
|
234
|
+
'repositoryUID': repositoryUID,
|
|
235
|
+
'name': name
|
|
236
|
+
};
|
|
237
|
+
var queryParams = {};
|
|
238
|
+
var headerParams = {};
|
|
239
|
+
var formParams = {};
|
|
240
|
+
var authNames = ['api_key'];
|
|
241
|
+
var contentTypes = [];
|
|
242
|
+
var accepts = ['application/json'];
|
|
243
|
+
var returnType = _DataSet["default"];
|
|
244
|
+
return this.apiClient.callApi('/v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam}', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Get the details of an analytics dataset
|
|
249
|
+
* @param {String} repositoryUID
|
|
250
|
+
* @param {String} name The name of the data set
|
|
251
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DataSet}
|
|
252
|
+
*/
|
|
253
|
+
}, {
|
|
254
|
+
key: "getStorageServiceAnalyticsDataset",
|
|
255
|
+
value: function getStorageServiceAnalyticsDataset(repositoryUID, name) {
|
|
256
|
+
return this.getStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, name).then(function (response_and_data) {
|
|
257
|
+
return response_and_data.data;
|
|
258
|
+
});
|
|
259
|
+
}
|
|
260
|
+
|
|
261
|
+
/**
|
|
262
|
+
* Get Raw data for a Storage Service Project
|
|
263
|
+
* @param {String} repositoryUID
|
|
264
|
+
* @param {String} start Start of the time range, as an ISO-8601 date or relative to now (e.g. -1y). Relative dates follow the Postgres INTERVAL format.
|
|
265
|
+
* @param {Object} opts Optional parameters
|
|
266
|
+
* @param {String} opts.end End of the time range, as an ISO-8601 date or relative to now. If omitted, current time is used.
|
|
267
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
268
|
+
*/
|
|
269
|
+
}, {
|
|
270
|
+
key: "getStorageServiceDataWithHttpInfo",
|
|
271
|
+
value: function getStorageServiceDataWithHttpInfo(repositoryUID, start, opts) {
|
|
272
|
+
opts = opts || {};
|
|
273
|
+
var postBody = null;
|
|
274
|
+
// verify the required parameter 'repositoryUID' is set
|
|
275
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
276
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling getStorageServiceData");
|
|
277
|
+
}
|
|
278
|
+
// verify the required parameter 'start' is set
|
|
279
|
+
if (start === undefined || start === null) {
|
|
280
|
+
throw new _Error["default"]("Missing the required parameter 'start' when calling getStorageServiceData");
|
|
281
|
+
}
|
|
282
|
+
var pathParams = {
|
|
283
|
+
'repositoryUID': repositoryUID
|
|
284
|
+
};
|
|
285
|
+
var queryParams = {
|
|
286
|
+
'start': start,
|
|
287
|
+
'end': opts['end']
|
|
288
|
+
};
|
|
289
|
+
var headerParams = {};
|
|
290
|
+
var formParams = {};
|
|
291
|
+
var authNames = ['api_key'];
|
|
292
|
+
var contentTypes = [];
|
|
293
|
+
var accepts = ['text/csv', 'application/json'];
|
|
294
|
+
var returnType = File;
|
|
295
|
+
return this.apiClient.callApi('/v1/storage-service/project/{repositoryUID}/data', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
296
|
+
}
|
|
297
|
+
|
|
298
|
+
/**
|
|
299
|
+
* Get Raw data for a Storage Service Project
|
|
300
|
+
* @param {String} repositoryUID
|
|
301
|
+
* @param {String} start Start of the time range, as an ISO-8601 date or relative to now (e.g. -1y). Relative dates follow the Postgres INTERVAL format.
|
|
302
|
+
* @param {Object} opts Optional parameters
|
|
303
|
+
* @param {String} opts.end End of the time range, as an ISO-8601 date or relative to now. If omitted, current time is used.
|
|
304
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
305
|
+
*/
|
|
306
|
+
}, {
|
|
307
|
+
key: "getStorageServiceData",
|
|
308
|
+
value: function getStorageServiceData(repositoryUID, start, opts) {
|
|
309
|
+
return this.getStorageServiceDataWithHttpInfo(repositoryUID, start, opts).then(function (response_and_data) {
|
|
310
|
+
return response_and_data.data;
|
|
311
|
+
});
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
/**
|
|
315
|
+
* Query an analytics dataset with support for time ranges, field selection, filtering, and location-based queries
|
|
316
|
+
* @param {String} repositoryUID
|
|
317
|
+
* @param {String} name The name of the data set
|
|
318
|
+
* @param {String} start Start of the time range, as an ISO-8601 date or relative to now (e.g. -1y). Relative dates follow the Postgres INTERVAL format.
|
|
319
|
+
* @param {Object} opts Optional parameters
|
|
320
|
+
* @param {String} opts.end End of the time range, as an ISO-8601 date or relative to now. If omitted, current time is used.
|
|
321
|
+
* @param {String} opts.select Comma separated list of fields to include. Supports aggregate functions (avg, sum, min, max, count, most_recent).
|
|
322
|
+
* @param {String} opts.where Additional filters using boolean logic mini-language (e.g. and.(device.eq.dev:123,temp.gt.100))
|
|
323
|
+
* @param {String} opts.aggregateWindow Aggregate results into buckets for a time duration, expressed in Postgres INTERVAL format
|
|
324
|
+
* @param {String} opts.locationNear Latitude and Longitude for location-based filtering, location_near_radius must also be provided
|
|
325
|
+
* @param {Number} opts.locationNearRadius Distance from location_near in meters, location_near must also be provided
|
|
326
|
+
* @param {String} opts.locationState State-based location lookup
|
|
327
|
+
* @param {String} opts.locationInGeom GeoJSON for spatial queries
|
|
328
|
+
* @param {Number} opts.limit Limit the number of results returned
|
|
329
|
+
* @param {String} opts.orderBy Order the results by a field
|
|
330
|
+
* @param {Boolean} opts.distinct Return only distinct results
|
|
331
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
332
|
+
*/
|
|
333
|
+
}, {
|
|
334
|
+
key: "queryAnalyticsDatasetWithHttpInfo",
|
|
335
|
+
value: function queryAnalyticsDatasetWithHttpInfo(repositoryUID, name, start, opts) {
|
|
336
|
+
opts = opts || {};
|
|
337
|
+
var postBody = null;
|
|
338
|
+
// verify the required parameter 'repositoryUID' is set
|
|
339
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
340
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling queryAnalyticsDataset");
|
|
341
|
+
}
|
|
342
|
+
// verify the required parameter 'name' is set
|
|
343
|
+
if (name === undefined || name === null) {
|
|
344
|
+
throw new _Error["default"]("Missing the required parameter 'name' when calling queryAnalyticsDataset");
|
|
345
|
+
}
|
|
346
|
+
// verify the required parameter 'start' is set
|
|
347
|
+
if (start === undefined || start === null) {
|
|
348
|
+
throw new _Error["default"]("Missing the required parameter 'start' when calling queryAnalyticsDataset");
|
|
349
|
+
}
|
|
350
|
+
var pathParams = {
|
|
351
|
+
'repositoryUID': repositoryUID,
|
|
352
|
+
'name': name
|
|
353
|
+
};
|
|
354
|
+
var queryParams = {
|
|
355
|
+
'start': start,
|
|
356
|
+
'end': opts['end'],
|
|
357
|
+
'select': opts['select'],
|
|
358
|
+
'where': opts['where'],
|
|
359
|
+
'aggregate_window': opts['aggregateWindow'],
|
|
360
|
+
'location_near': opts['locationNear'],
|
|
361
|
+
'location_near_radius': opts['locationNearRadius'],
|
|
362
|
+
'location_state': opts['locationState'],
|
|
363
|
+
'location_in_geom': opts['locationInGeom'],
|
|
364
|
+
'limit': opts['limit'],
|
|
365
|
+
'order_by': opts['orderBy'],
|
|
366
|
+
'distinct': opts['distinct']
|
|
367
|
+
};
|
|
368
|
+
var headerParams = {};
|
|
369
|
+
var formParams = {};
|
|
370
|
+
var authNames = ['api_key'];
|
|
371
|
+
var contentTypes = [];
|
|
372
|
+
var accepts = ['text/csv', 'application/json'];
|
|
373
|
+
var returnType = File;
|
|
374
|
+
return this.apiClient.callApi('/v1/storage-service/projects/{repositoryUID}/datasets/{analyticsDatasetNameParam}/query', 'GET', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* Query an analytics dataset with support for time ranges, field selection, filtering, and location-based queries
|
|
379
|
+
* @param {String} repositoryUID
|
|
380
|
+
* @param {String} name The name of the data set
|
|
381
|
+
* @param {String} start Start of the time range, as an ISO-8601 date or relative to now (e.g. -1y). Relative dates follow the Postgres INTERVAL format.
|
|
382
|
+
* @param {Object} opts Optional parameters
|
|
383
|
+
* @param {String} opts.end End of the time range, as an ISO-8601 date or relative to now. If omitted, current time is used.
|
|
384
|
+
* @param {String} opts.select Comma separated list of fields to include. Supports aggregate functions (avg, sum, min, max, count, most_recent).
|
|
385
|
+
* @param {String} opts.where Additional filters using boolean logic mini-language (e.g. and.(device.eq.dev:123,temp.gt.100))
|
|
386
|
+
* @param {String} opts.aggregateWindow Aggregate results into buckets for a time duration, expressed in Postgres INTERVAL format
|
|
387
|
+
* @param {String} opts.locationNear Latitude and Longitude for location-based filtering, location_near_radius must also be provided
|
|
388
|
+
* @param {Number} opts.locationNearRadius Distance from location_near in meters, location_near must also be provided
|
|
389
|
+
* @param {String} opts.locationState State-based location lookup
|
|
390
|
+
* @param {String} opts.locationInGeom GeoJSON for spatial queries
|
|
391
|
+
* @param {Number} opts.limit Limit the number of results returned
|
|
392
|
+
* @param {String} opts.orderBy Order the results by a field
|
|
393
|
+
* @param {Boolean} opts.distinct Return only distinct results
|
|
394
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
395
|
+
*/
|
|
396
|
+
}, {
|
|
397
|
+
key: "queryAnalyticsDataset",
|
|
398
|
+
value: function queryAnalyticsDataset(repositoryUID, name, start, opts) {
|
|
399
|
+
return this.queryAnalyticsDatasetWithHttpInfo(repositoryUID, name, start, opts).then(function (response_and_data) {
|
|
400
|
+
return response_and_data.data;
|
|
401
|
+
});
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Update an analytics dataset using the provided mappings and field selections
|
|
406
|
+
* @param {String} repositoryUID
|
|
407
|
+
* @param {module:model/CreateUpdateDataRepository} createUpdateDataRepository
|
|
408
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DataRepository} and HTTP response
|
|
409
|
+
*/
|
|
410
|
+
}, {
|
|
411
|
+
key: "updateStorageServiceAnalyticsDatasetWithHttpInfo",
|
|
412
|
+
value: function updateStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, createUpdateDataRepository) {
|
|
413
|
+
var postBody = createUpdateDataRepository;
|
|
414
|
+
// verify the required parameter 'repositoryUID' is set
|
|
415
|
+
if (repositoryUID === undefined || repositoryUID === null) {
|
|
416
|
+
throw new _Error["default"]("Missing the required parameter 'repositoryUID' when calling updateStorageServiceAnalyticsDataset");
|
|
417
|
+
}
|
|
418
|
+
// verify the required parameter 'createUpdateDataRepository' is set
|
|
419
|
+
if (createUpdateDataRepository === undefined || createUpdateDataRepository === null) {
|
|
420
|
+
throw new _Error["default"]("Missing the required parameter 'createUpdateDataRepository' when calling updateStorageServiceAnalyticsDataset");
|
|
421
|
+
}
|
|
422
|
+
var pathParams = {
|
|
423
|
+
'repositoryUID': repositoryUID
|
|
424
|
+
};
|
|
425
|
+
var queryParams = {};
|
|
426
|
+
var headerParams = {};
|
|
427
|
+
var formParams = {};
|
|
428
|
+
var authNames = ['api_key'];
|
|
429
|
+
var contentTypes = ['application/json'];
|
|
430
|
+
var accepts = ['application/json'];
|
|
431
|
+
var returnType = _DataRepository["default"];
|
|
432
|
+
return this.apiClient.callApi('/v1/storage-service/repository/{repositoryUID}', 'PUT', pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Update an analytics dataset using the provided mappings and field selections
|
|
437
|
+
* @param {String} repositoryUID
|
|
438
|
+
* @param {module:model/CreateUpdateDataRepository} createUpdateDataRepository
|
|
439
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DataRepository}
|
|
440
|
+
*/
|
|
441
|
+
}, {
|
|
442
|
+
key: "updateStorageServiceAnalyticsDataset",
|
|
443
|
+
value: function updateStorageServiceAnalyticsDataset(repositoryUID, createUpdateDataRepository) {
|
|
444
|
+
return this.updateStorageServiceAnalyticsDatasetWithHttpInfo(repositoryUID, createUpdateDataRepository).then(function (response_and_data) {
|
|
445
|
+
return response_and_data.data;
|
|
446
|
+
});
|
|
447
|
+
}
|
|
448
|
+
}]);
|
|
449
|
+
}();
|