@blues-inc/notehub-js 1.0.36-beta.7 → 1.0.36-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 +7 -11
- 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 +2 -2
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/ProjectApi.js +3 -3
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +42 -7
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/AnalyticsEventsData.js +130 -0
- package/dist/model/AnalyticsEventsResponse.js +132 -0
- package/dist/model/AnalyticsRouteLogsData.js +140 -0
- package/dist/model/AnalyticsRouteLogsResponse.js +132 -0
- package/dist/model/AnalyticsSessionsData.js +140 -0
- package/dist/model/AnalyticsSessionsResponse.js +132 -0
- 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/CreateUpdateRepository.js +1 -1
- 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 +1 -1
- package/dist/model/DataSet.js +1 -1
- package/dist/model/DataSetField.js +1 -1
- 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/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- 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/GetWebhooks200Response.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/NotefileSchema.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 +1 -1
- package/dist/model/QuestionDataResponseMap.js +1 -1
- package/dist/model/Radresponder.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SimUsage.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/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
- package/dist/api/RepositoryApi.js +0 -605
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.36-beta.
|
|
9
|
+
- Package version: 1.0.36-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
|
|
|
@@ -211,16 +211,6 @@ Class | Method | HTTP request | Description
|
|
|
211
211
|
*NotehubJs.ProjectApi* | [**setGlobalTransformation**](docs/ProjectApi.md#setGlobalTransformation) | **POST** /v1/projects/{projectOrProductUID}/global-transformation |
|
|
212
212
|
*NotehubJs.ProjectApi* | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
213
213
|
*NotehubJs.ProjectApi* | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
|
|
214
|
-
*NotehubJs.RepositoryApi* | [**createRepository**](docs/RepositoryApi.md#createRepository) | **POST** /v1/repositories |
|
|
215
|
-
*NotehubJs.RepositoryApi* | [**createRepositoryDataset**](docs/RepositoryApi.md#createRepositoryDataset) | **PUT** /v1/repositories/{repositoryUID}/datasets |
|
|
216
|
-
*NotehubJs.RepositoryApi* | [**deleteRepository**](docs/RepositoryApi.md#deleteRepository) | **DELETE** /v1/repositories/{repositoryUID} |
|
|
217
|
-
*NotehubJs.RepositoryApi* | [**deleteRepositoryDataset**](docs/RepositoryApi.md#deleteRepositoryDataset) | **DELETE** /v1/repositories/{repositoryUID}/datasets/{name} |
|
|
218
|
-
*NotehubJs.RepositoryApi* | [**getRepository**](docs/RepositoryApi.md#getRepository) | **GET** /v1/repositories/{repositoryUID} |
|
|
219
|
-
*NotehubJs.RepositoryApi* | [**getRepositoryData**](docs/RepositoryApi.md#getRepositoryData) | **GET** /v1/repositories/{repositoryUID}/data |
|
|
220
|
-
*NotehubJs.RepositoryApi* | [**getRepositoryDataset**](docs/RepositoryApi.md#getRepositoryDataset) | **GET** /v1/repositories/{repositoryUID}/datasets/{name} |
|
|
221
|
-
*NotehubJs.RepositoryApi* | [**putRepository**](docs/RepositoryApi.md#putRepository) | **PUT** /v1/repositories/{repositoryUID} |
|
|
222
|
-
*NotehubJs.RepositoryApi* | [**queryRepositoryDataset**](docs/RepositoryApi.md#queryRepositoryDataset) | **GET** /v1/repositories/{repositoryUID}/datasets/{name}/query |
|
|
223
|
-
*NotehubJs.RepositoryApi* | [**queryRepositorySql**](docs/RepositoryApi.md#queryRepositorySql) | **POST** /v1/repositories/{repositoryUID}/sql |
|
|
224
214
|
*NotehubJs.RouteApi* | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
|
|
225
215
|
*NotehubJs.RouteApi* | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
226
216
|
*NotehubJs.RouteApi* | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
@@ -239,6 +229,12 @@ Class | Method | HTTP request | Description
|
|
|
239
229
|
- [NotehubJs.Alert](docs/Alert.md)
|
|
240
230
|
- [NotehubJs.AlertDataInner](docs/AlertDataInner.md)
|
|
241
231
|
- [NotehubJs.AlertNotificationsInner](docs/AlertNotificationsInner.md)
|
|
232
|
+
- [NotehubJs.AnalyticsEventsData](docs/AnalyticsEventsData.md)
|
|
233
|
+
- [NotehubJs.AnalyticsEventsResponse](docs/AnalyticsEventsResponse.md)
|
|
234
|
+
- [NotehubJs.AnalyticsRouteLogsData](docs/AnalyticsRouteLogsData.md)
|
|
235
|
+
- [NotehubJs.AnalyticsRouteLogsResponse](docs/AnalyticsRouteLogsResponse.md)
|
|
236
|
+
- [NotehubJs.AnalyticsSessionsData](docs/AnalyticsSessionsData.md)
|
|
237
|
+
- [NotehubJs.AnalyticsSessionsResponse](docs/AnalyticsSessionsResponse.md)
|
|
242
238
|
- [NotehubJs.Aws](docs/Aws.md)
|
|
243
239
|
- [NotehubJs.Azure](docs/Azure.md)
|
|
244
240
|
- [NotehubJs.BillingAccount](docs/BillingAccount.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.36-beta.
|
|
29
|
+
* @version 1.0.36-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.36-beta.
|
|
78
|
+
this.defaultHeaders['User-Agent'] = 'OpenAPI-Generator/1.0.36-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.36-beta.
|
|
31
|
+
* @version 1.0.36-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.36-beta.
|
|
31
|
+
* @version 1.0.36-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.36-beta.
|
|
31
|
+
* @version 1.0.36-beta.8
|
|
32
32
|
*/
|
|
33
33
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -46,7 +46,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
46
46
|
/**
|
|
47
47
|
* Device service.
|
|
48
48
|
* @module api/DeviceApi
|
|
49
|
-
* @version 1.0.36-beta.
|
|
49
|
+
* @version 1.0.36-beta.8
|
|
50
50
|
*/
|
|
51
51
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
52
52
|
/**
|
|
@@ -423,7 +423,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
423
423
|
var queryParams = {};
|
|
424
424
|
var headerParams = {};
|
|
425
425
|
var formParams = {};
|
|
426
|
-
var authNames = [
|
|
426
|
+
var authNames = [];
|
|
427
427
|
var contentTypes = [];
|
|
428
428
|
var accepts = ['application/json'];
|
|
429
429
|
var returnType = _EnvTreeJsonNode["default"];
|
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.36-beta.
|
|
33
|
+
* @version 1.0.36-beta.8
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 1.0.36-beta.
|
|
32
|
+
* @version 1.0.36-beta.8
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
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.36-beta.
|
|
32
|
+
* @version 1.0.36-beta.8
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -50,7 +50,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
50
50
|
/**
|
|
51
51
|
* Project service.
|
|
52
52
|
* @module api/ProjectApi
|
|
53
|
-
* @version 1.0.36-beta.
|
|
53
|
+
* @version 1.0.36-beta.8
|
|
54
54
|
*/
|
|
55
55
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
56
56
|
/**
|
|
@@ -1102,7 +1102,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1102
1102
|
var queryParams = {};
|
|
1103
1103
|
var headerParams = {};
|
|
1104
1104
|
var formParams = {};
|
|
1105
|
-
var authNames = [
|
|
1105
|
+
var authNames = [];
|
|
1106
1106
|
var contentTypes = [];
|
|
1107
1107
|
var accepts = ['application/json'];
|
|
1108
1108
|
var returnType = _EnvTreeJsonNode["default"];
|
|
@@ -1305,7 +1305,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1305
1305
|
var queryParams = {};
|
|
1306
1306
|
var headerParams = {};
|
|
1307
1307
|
var formParams = {};
|
|
1308
|
-
var authNames = [
|
|
1308
|
+
var authNames = [];
|
|
1309
1309
|
var contentTypes = [];
|
|
1310
1310
|
var accepts = ['application/json'];
|
|
1311
1311
|
var returnType = _EnvTreeJsonNode["default"];
|
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.36-beta.
|
|
33
|
+
* @version 1.0.36-beta.8
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/WebhookApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Webhook service.
|
|
31
31
|
* @module api/WebhookApi
|
|
32
|
-
* @version 1.0.36-beta.
|
|
32
|
+
* @version 1.0.36-beta.8
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/index.js
CHANGED
|
@@ -27,6 +27,42 @@ Object.defineProperty(exports, "AlertNotificationsInner", {
|
|
|
27
27
|
return _AlertNotificationsInner["default"];
|
|
28
28
|
}
|
|
29
29
|
});
|
|
30
|
+
Object.defineProperty(exports, "AnalyticsEventsData", {
|
|
31
|
+
enumerable: true,
|
|
32
|
+
get: function get() {
|
|
33
|
+
return _AnalyticsEventsData["default"];
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "AnalyticsEventsResponse", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function get() {
|
|
39
|
+
return _AnalyticsEventsResponse["default"];
|
|
40
|
+
}
|
|
41
|
+
});
|
|
42
|
+
Object.defineProperty(exports, "AnalyticsRouteLogsData", {
|
|
43
|
+
enumerable: true,
|
|
44
|
+
get: function get() {
|
|
45
|
+
return _AnalyticsRouteLogsData["default"];
|
|
46
|
+
}
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "AnalyticsRouteLogsResponse", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function get() {
|
|
51
|
+
return _AnalyticsRouteLogsResponse["default"];
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
Object.defineProperty(exports, "AnalyticsSessionsData", {
|
|
55
|
+
enumerable: true,
|
|
56
|
+
get: function get() {
|
|
57
|
+
return _AnalyticsSessionsData["default"];
|
|
58
|
+
}
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "AnalyticsSessionsResponse", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function get() {
|
|
63
|
+
return _AnalyticsSessionsResponse["default"];
|
|
64
|
+
}
|
|
65
|
+
});
|
|
30
66
|
Object.defineProperty(exports, "ApiClient", {
|
|
31
67
|
enumerable: true,
|
|
32
68
|
get: function get() {
|
|
@@ -603,12 +639,6 @@ Object.defineProperty(exports, "Repository", {
|
|
|
603
639
|
return _Repository["default"];
|
|
604
640
|
}
|
|
605
641
|
});
|
|
606
|
-
Object.defineProperty(exports, "RepositoryApi", {
|
|
607
|
-
enumerable: true,
|
|
608
|
-
get: function get() {
|
|
609
|
-
return _RepositoryApi["default"];
|
|
610
|
-
}
|
|
611
|
-
});
|
|
612
642
|
Object.defineProperty(exports, "Role", {
|
|
613
643
|
enumerable: true,
|
|
614
644
|
get: function get() {
|
|
@@ -739,6 +769,12 @@ var _ApiClient = _interopRequireDefault(require("./ApiClient"));
|
|
|
739
769
|
var _Alert = _interopRequireDefault(require("./model/Alert"));
|
|
740
770
|
var _AlertDataInner = _interopRequireDefault(require("./model/AlertDataInner"));
|
|
741
771
|
var _AlertNotificationsInner = _interopRequireDefault(require("./model/AlertNotificationsInner"));
|
|
772
|
+
var _AnalyticsEventsData = _interopRequireDefault(require("./model/AnalyticsEventsData"));
|
|
773
|
+
var _AnalyticsEventsResponse = _interopRequireDefault(require("./model/AnalyticsEventsResponse"));
|
|
774
|
+
var _AnalyticsRouteLogsData = _interopRequireDefault(require("./model/AnalyticsRouteLogsData"));
|
|
775
|
+
var _AnalyticsRouteLogsResponse = _interopRequireDefault(require("./model/AnalyticsRouteLogsResponse"));
|
|
776
|
+
var _AnalyticsSessionsData = _interopRequireDefault(require("./model/AnalyticsSessionsData"));
|
|
777
|
+
var _AnalyticsSessionsResponse = _interopRequireDefault(require("./model/AnalyticsSessionsResponse"));
|
|
742
778
|
var _Aws = _interopRequireDefault(require("./model/Aws"));
|
|
743
779
|
var _Azure = _interopRequireDefault(require("./model/Azure"));
|
|
744
780
|
var _BillingAccount = _interopRequireDefault(require("./model/BillingAccount"));
|
|
@@ -854,7 +890,6 @@ var _EventApi = _interopRequireDefault(require("./api/EventApi"));
|
|
|
854
890
|
var _ExternalDevicesApi = _interopRequireDefault(require("./api/ExternalDevicesApi"));
|
|
855
891
|
var _MonitorApi = _interopRequireDefault(require("./api/MonitorApi"));
|
|
856
892
|
var _ProjectApi = _interopRequireDefault(require("./api/ProjectApi"));
|
|
857
|
-
var _RepositoryApi = _interopRequireDefault(require("./api/RepositoryApi"));
|
|
858
893
|
var _RouteApi = _interopRequireDefault(require("./api/RouteApi"));
|
|
859
894
|
var _WebhookApi = _interopRequireDefault(require("./api/WebhookApi"));
|
|
860
895
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
package/dist/model/Alert.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertDataInner model module.
|
|
28
28
|
* @module model/AlertDataInner
|
|
29
|
-
* @version 1.0.36-beta.
|
|
29
|
+
* @version 1.0.36-beta.8
|
|
30
30
|
*/
|
|
31
31
|
var AlertDataInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertNotificationsInner model module.
|
|
28
28
|
* @module model/AlertNotificationsInner
|
|
29
|
-
* @version 1.0.36-beta.
|
|
29
|
+
* @version 1.0.36-beta.8
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -0,0 +1,130 @@
|
|
|
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
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
9
|
+
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); }
|
|
10
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
11
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
12
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
13
|
+
function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function"); }
|
|
14
|
+
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); } }
|
|
15
|
+
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
|
+
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
+
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); } /**
|
|
18
|
+
* Notehub API
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
20
|
+
*
|
|
21
|
+
* The version of the OpenAPI document: 1.2.0
|
|
22
|
+
* Contact: engineering@blues.io
|
|
23
|
+
*
|
|
24
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
25
|
+
* https://openapi-generator.tech
|
|
26
|
+
* Do not edit the class manually.
|
|
27
|
+
*
|
|
28
|
+
*/
|
|
29
|
+
/**
|
|
30
|
+
* The AnalyticsEventsData model module.
|
|
31
|
+
* @module model/AnalyticsEventsData
|
|
32
|
+
* @version 1.0.36-beta.8
|
|
33
|
+
*/
|
|
34
|
+
var AnalyticsEventsData = /*#__PURE__*/function () {
|
|
35
|
+
/**
|
|
36
|
+
* Constructs a new <code>AnalyticsEventsData</code>.
|
|
37
|
+
* @alias module:model/AnalyticsEventsData
|
|
38
|
+
* @param period {Date}
|
|
39
|
+
* @param events {Number}
|
|
40
|
+
* @param platformEvents {Number}
|
|
41
|
+
*/
|
|
42
|
+
function AnalyticsEventsData(period, events, platformEvents) {
|
|
43
|
+
_classCallCheck(this, AnalyticsEventsData);
|
|
44
|
+
AnalyticsEventsData.initialize(this, period, events, platformEvents);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
/**
|
|
48
|
+
* Initializes the fields of this object.
|
|
49
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
50
|
+
* Only for internal use.
|
|
51
|
+
*/
|
|
52
|
+
return _createClass(AnalyticsEventsData, null, [{
|
|
53
|
+
key: "initialize",
|
|
54
|
+
value: function initialize(obj, period, events, platformEvents) {
|
|
55
|
+
obj['period'] = period;
|
|
56
|
+
obj['events'] = events;
|
|
57
|
+
obj['platform_events'] = platformEvents;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Constructs a <code>AnalyticsEventsData</code> from a plain JavaScript object, optionally creating a new instance.
|
|
62
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
63
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
64
|
+
* @param {module:model/AnalyticsEventsData} obj Optional instance to populate.
|
|
65
|
+
* @return {module:model/AnalyticsEventsData} The populated <code>AnalyticsEventsData</code> instance.
|
|
66
|
+
*/
|
|
67
|
+
}, {
|
|
68
|
+
key: "constructFromObject",
|
|
69
|
+
value: function constructFromObject(data, obj) {
|
|
70
|
+
if (data) {
|
|
71
|
+
obj = obj || new AnalyticsEventsData();
|
|
72
|
+
if (data.hasOwnProperty('period')) {
|
|
73
|
+
obj['period'] = _ApiClient["default"].convertToType(data['period'], 'Date');
|
|
74
|
+
}
|
|
75
|
+
if (data.hasOwnProperty('events')) {
|
|
76
|
+
obj['events'] = _ApiClient["default"].convertToType(data['events'], 'Number');
|
|
77
|
+
}
|
|
78
|
+
if (data.hasOwnProperty('platform_events')) {
|
|
79
|
+
obj['platform_events'] = _ApiClient["default"].convertToType(data['platform_events'], 'Number');
|
|
80
|
+
}
|
|
81
|
+
} else if (data === null) {
|
|
82
|
+
return null;
|
|
83
|
+
}
|
|
84
|
+
return obj;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
/**
|
|
88
|
+
* Validates the JSON data with respect to <code>AnalyticsEventsData</code>.
|
|
89
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
90
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AnalyticsEventsData</code>.
|
|
91
|
+
*/
|
|
92
|
+
}, {
|
|
93
|
+
key: "validateJSON",
|
|
94
|
+
value: function validateJSON(data) {
|
|
95
|
+
// check to make sure all required properties are present in the JSON string
|
|
96
|
+
var _iterator = _createForOfIteratorHelper(AnalyticsEventsData.RequiredProperties),
|
|
97
|
+
_step;
|
|
98
|
+
try {
|
|
99
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
100
|
+
var property = _step.value;
|
|
101
|
+
if (!data[property]) {
|
|
102
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
} catch (err) {
|
|
106
|
+
_iterator.e(err);
|
|
107
|
+
} finally {
|
|
108
|
+
_iterator.f();
|
|
109
|
+
}
|
|
110
|
+
return true;
|
|
111
|
+
}
|
|
112
|
+
}]);
|
|
113
|
+
}();
|
|
114
|
+
AnalyticsEventsData.RequiredProperties = ["period", "events", "platform_events"];
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* @member {Date} period
|
|
118
|
+
*/
|
|
119
|
+
AnalyticsEventsData.prototype['period'] = undefined;
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* @member {Number} events
|
|
123
|
+
*/
|
|
124
|
+
AnalyticsEventsData.prototype['events'] = undefined;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* @member {Number} platform_events
|
|
128
|
+
*/
|
|
129
|
+
AnalyticsEventsData.prototype['platform_events'] = undefined;
|
|
130
|
+
var _default = exports["default"] = AnalyticsEventsData;
|
|
@@ -0,0 +1,132 @@
|
|
|
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 _AnalyticsEventsData = _interopRequireDefault(require("./AnalyticsEventsData"));
|
|
9
|
+
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
|
+
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); }
|
|
11
|
+
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
12
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
13
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
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
|
+
* The AnalyticsEventsResponse model module.
|
|
32
|
+
* @module model/AnalyticsEventsResponse
|
|
33
|
+
* @version 1.0.36-beta.8
|
|
34
|
+
*/
|
|
35
|
+
var AnalyticsEventsResponse = /*#__PURE__*/function () {
|
|
36
|
+
/**
|
|
37
|
+
* Constructs a new <code>AnalyticsEventsResponse</code>.
|
|
38
|
+
* @alias module:model/AnalyticsEventsResponse
|
|
39
|
+
* @param data {Array.<module:model/AnalyticsEventsData>}
|
|
40
|
+
*/
|
|
41
|
+
function AnalyticsEventsResponse(data) {
|
|
42
|
+
_classCallCheck(this, AnalyticsEventsResponse);
|
|
43
|
+
AnalyticsEventsResponse.initialize(this, data);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* Initializes the fields of this object.
|
|
48
|
+
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
49
|
+
* Only for internal use.
|
|
50
|
+
*/
|
|
51
|
+
return _createClass(AnalyticsEventsResponse, null, [{
|
|
52
|
+
key: "initialize",
|
|
53
|
+
value: function initialize(obj, data) {
|
|
54
|
+
obj['data'] = data;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
/**
|
|
58
|
+
* Constructs a <code>AnalyticsEventsResponse</code> from a plain JavaScript object, optionally creating a new instance.
|
|
59
|
+
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
60
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
61
|
+
* @param {module:model/AnalyticsEventsResponse} obj Optional instance to populate.
|
|
62
|
+
* @return {module:model/AnalyticsEventsResponse} The populated <code>AnalyticsEventsResponse</code> instance.
|
|
63
|
+
*/
|
|
64
|
+
}, {
|
|
65
|
+
key: "constructFromObject",
|
|
66
|
+
value: function constructFromObject(data, obj) {
|
|
67
|
+
if (data) {
|
|
68
|
+
obj = obj || new AnalyticsEventsResponse();
|
|
69
|
+
if (data.hasOwnProperty('data')) {
|
|
70
|
+
obj['data'] = _ApiClient["default"].convertToType(data['data'], [_AnalyticsEventsData["default"]]);
|
|
71
|
+
}
|
|
72
|
+
} else if (data === null) {
|
|
73
|
+
return null;
|
|
74
|
+
}
|
|
75
|
+
return obj;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* Validates the JSON data with respect to <code>AnalyticsEventsResponse</code>.
|
|
80
|
+
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
81
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>AnalyticsEventsResponse</code>.
|
|
82
|
+
*/
|
|
83
|
+
}, {
|
|
84
|
+
key: "validateJSON",
|
|
85
|
+
value: function validateJSON(data) {
|
|
86
|
+
// check to make sure all required properties are present in the JSON string
|
|
87
|
+
var _iterator = _createForOfIteratorHelper(AnalyticsEventsResponse.RequiredProperties),
|
|
88
|
+
_step;
|
|
89
|
+
try {
|
|
90
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
91
|
+
var property = _step.value;
|
|
92
|
+
if (!data[property]) {
|
|
93
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
} catch (err) {
|
|
97
|
+
_iterator.e(err);
|
|
98
|
+
} finally {
|
|
99
|
+
_iterator.f();
|
|
100
|
+
}
|
|
101
|
+
if (data['data']) {
|
|
102
|
+
// data not null
|
|
103
|
+
// ensure the json data is an array
|
|
104
|
+
if (!Array.isArray(data['data'])) {
|
|
105
|
+
throw new Error("Expected the field `data` to be an array in the JSON data but got " + data['data']);
|
|
106
|
+
}
|
|
107
|
+
// validate the optional field `data` (array)
|
|
108
|
+
var _iterator2 = _createForOfIteratorHelper(data['data']),
|
|
109
|
+
_step2;
|
|
110
|
+
try {
|
|
111
|
+
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
112
|
+
var item = _step2.value;
|
|
113
|
+
_AnalyticsEventsData["default"].validateJsonObject(item);
|
|
114
|
+
}
|
|
115
|
+
} catch (err) {
|
|
116
|
+
_iterator2.e(err);
|
|
117
|
+
} finally {
|
|
118
|
+
_iterator2.f();
|
|
119
|
+
}
|
|
120
|
+
;
|
|
121
|
+
}
|
|
122
|
+
return true;
|
|
123
|
+
}
|
|
124
|
+
}]);
|
|
125
|
+
}();
|
|
126
|
+
AnalyticsEventsResponse.RequiredProperties = ["data"];
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* @member {Array.<module:model/AnalyticsEventsData>} data
|
|
130
|
+
*/
|
|
131
|
+
AnalyticsEventsResponse.prototype['data'] = undefined;
|
|
132
|
+
var _default = exports["default"] = AnalyticsEventsResponse;
|