@blues-inc/notehub-js 6.7.0-beta.59 → 6.7.0-beta.60
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 +17 -17
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +7 -5
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +45 -51
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +27 -17
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +35 -47
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +4 -4
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.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/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +37 -25
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.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/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.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/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.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 +2 -2
- 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/Filter.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/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Monitor.js +18 -12
- package/dist/model/MonitorAlertRoutesInner.js +4 -4
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +3 -7
- package/dist/model/NotehubRouteSummary.js +1 -6
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.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/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +1 -1
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +1 -1
- package/dist/model/SkillSummary.js +1 -1
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +1 -1
- package/dist/model/SlackBearerNotification.js +3 -3
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +3 -3
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.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/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: 6.7.0-beta.
|
|
9
|
+
- Package version: 6.7.0-beta.60
|
|
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
|
|
|
@@ -113,7 +113,7 @@ var opts = {
|
|
|
113
113
|
pageSize: 1000, // {Number}
|
|
114
114
|
pageNum: 1, // {Number}
|
|
115
115
|
cursor: "cursor_example", // {String} If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
116
|
-
monitorUID: "monitorUID_example", // {String}
|
|
116
|
+
monitorUID: "monitorUID_example", // {String} Return only this monitor's alerts.
|
|
117
117
|
};
|
|
118
118
|
api.getAlerts(projectOrProductUID, opts).then(
|
|
119
119
|
function (data) {
|
|
@@ -133,7 +133,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
133
133
|
|
|
134
134
|
| Class | Method | HTTP request | Description |
|
|
135
135
|
| ------------------------------ | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
136
|
-
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts |
|
|
136
|
+
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts | List alerts |
|
|
137
137
|
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token | Issue an OAuth 2.0 access token (Client Credentials) |
|
|
138
138
|
| _NotehubJs.DescriptionApi_ | [**deleteGlobalDescription**](docs/DescriptionApi.md#deleteGlobalDescription) | **DELETE** /v1/description/{descriptionName} |
|
|
139
139
|
| _NotehubJs.DescriptionApi_ | [**deleteProjectDescription**](docs/DescriptionApi.md#deleteProjectDescription) | **DELETE** /v1/projects/{projectOrProductUID}/description/{descriptionName} |
|
|
@@ -174,9 +174,9 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
174
174
|
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
175
175
|
| _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
|
|
176
176
|
| _NotehubJs.DeviceApi_ | [**updateDbNote**](docs/DeviceApi.md#updateDbNote) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
177
|
-
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
178
|
-
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
179
|
-
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
|
|
177
|
+
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
178
|
+
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
179
|
+
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs |
|
|
180
180
|
| _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event |
|
|
181
181
|
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close |
|
|
182
182
|
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open |
|
|
@@ -189,11 +189,11 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
189
189
|
| _NotehubJs.JobsApi_ | [**getJobRuns**](docs/JobsApi.md#getJobRuns) | **GET** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/runs |
|
|
190
190
|
| _NotehubJs.JobsApi_ | [**getJobs**](docs/JobsApi.md#getJobs) | **GET** /v1/projects/{projectOrProductUID}/jobs |
|
|
191
191
|
| _NotehubJs.JobsApi_ | [**runJob**](docs/JobsApi.md#runJob) | **POST** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/run |
|
|
192
|
-
| _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectOrProductUID}/monitors |
|
|
193
|
-
| _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
194
|
-
| _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
195
|
-
| _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors |
|
|
196
|
-
| _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
192
|
+
| _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectOrProductUID}/monitors | Create a monitor |
|
|
193
|
+
| _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} | Delete a monitor |
|
|
194
|
+
| _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} | Get a monitor |
|
|
195
|
+
| _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors | List monitors |
|
|
196
|
+
| _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} | Update a monitor |
|
|
197
197
|
| _NotehubJs.OrganizationApi_ | [**getOrganization**](docs/OrganizationApi.md#getOrganization) | **GET** /v1/organizations/{organizationUID} |
|
|
198
198
|
| _NotehubJs.OrganizationApi_ | [**getOrganizationBalanceHistory**](docs/OrganizationApi.md#getOrganizationBalanceHistory) | **GET** /v1/organizations/{organizationUID}/balance-history |
|
|
199
199
|
| _NotehubJs.OrganizationApi_ | [**getOrganizations**](docs/OrganizationApi.md#getOrganizations) | **GET** /v1/organizations |
|
|
@@ -242,12 +242,12 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
242
242
|
| _NotehubJs.ProjectApi_ | [**updateFleet**](docs/ProjectApi.md#updateFleet) | **PUT** /v1/projects/{projectOrProductUID}/fleets/{fleetUID} |
|
|
243
243
|
| _NotehubJs.ProjectApi_ | [**updateProjectSecret**](docs/ProjectApi.md#updateProjectSecret) | **PUT** /v1/projects/{projectOrProductUID}/secrets/{secretName} |
|
|
244
244
|
| _NotehubJs.ProjectApi_ | [**uploadFirmware**](docs/ProjectApi.md#uploadFirmware) | **PUT** /v1/projects/{projectOrProductUID}/firmware/{firmwareType}/{filename} |
|
|
245
|
-
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
|
|
246
|
-
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
247
|
-
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
248
|
-
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
|
|
249
|
-
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
|
|
250
|
-
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
245
|
+
| _NotehubJs.RouteApi_ | [**createRoute**](docs/RouteApi.md#createRoute) | **POST** /v1/projects/{projectOrProductUID}/routes |
|
|
246
|
+
| _NotehubJs.RouteApi_ | [**deleteRoute**](docs/RouteApi.md#deleteRoute) | **DELETE** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
247
|
+
| _NotehubJs.RouteApi_ | [**getRoute**](docs/RouteApi.md#getRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
248
|
+
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs |
|
|
249
|
+
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes |
|
|
250
|
+
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} |
|
|
251
251
|
| _NotehubJs.SkillsApi_ | [**deleteSkill**](docs/SkillsApi.md#deleteSkill) | **DELETE** /v1/projects/{projectOrProductUID}/skills/{skillName} | Delete a Project Skill (Product Skill) |
|
|
252
252
|
| _NotehubJs.SkillsApi_ | [**getSkill**](docs/SkillsApi.md#getSkill) | **GET** /v1/projects/{projectOrProductUID}/skills/{skillName} | Read a Project Skill (Product Skill) |
|
|
253
253
|
| _NotehubJs.SkillsApi_ | [**getSkills**](docs/SkillsApi.md#getSkills) | **GET** /v1/projects/{projectOrProductUID}/skills | List Project Skills (Product Skills) |
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.60
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
*/
|
|
69
69
|
this.defaultHeaders = {};
|
|
70
70
|
if (typeof window === "undefined") {
|
|
71
|
-
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.60/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.60
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -44,13 +44,14 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* List alerts
|
|
48
|
+
* List the alerts a project's monitors have raised, with each one's value, device and the notifications sent. Set `monitorUID` for one monitor's alerts. Paginated.
|
|
48
49
|
* @param {String} projectOrProductUID
|
|
49
50
|
* @param {Object} opts Optional parameters
|
|
50
51
|
* @param {Number} opts.pageSize (default to 1000)
|
|
51
52
|
* @param {Number} opts.pageNum (default to 1)
|
|
52
53
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
53
|
-
* @param {String} opts.monitorUID
|
|
54
|
+
* @param {String} opts.monitorUID Return only this monitor's alerts.
|
|
54
55
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
|
|
55
56
|
*/
|
|
56
57
|
return _createClass(AlertApi, [{
|
|
@@ -81,13 +82,14 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
81
82
|
}
|
|
82
83
|
|
|
83
84
|
/**
|
|
84
|
-
*
|
|
85
|
+
* List alerts
|
|
86
|
+
* List the alerts a project's monitors have raised, with each one's value, device and the notifications sent. Set `monitorUID` for one monitor's alerts. Paginated.
|
|
85
87
|
* @param {String} projectOrProductUID
|
|
86
88
|
* @param {Object} opts Optional parameters
|
|
87
89
|
* @param {Number} opts.pageSize (default to 1000)
|
|
88
90
|
* @param {Number} opts.pageNum (default to 1)
|
|
89
91
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
90
|
-
* @param {String} opts.monitorUID
|
|
92
|
+
* @param {String} opts.monitorUID Return only this monitor's alerts.
|
|
91
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
|
|
92
94
|
*/
|
|
93
95
|
}, {
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.60
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Description service.
|
|
31
31
|
* @module api/DescriptionApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.60
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
48
48
|
/**
|
|
49
49
|
* Device service.
|
|
50
50
|
* @module api/DeviceApi
|
|
51
|
-
* @version 6.7.0-beta.
|
|
51
|
+
* @version 6.7.0-beta.60
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Event service.
|
|
31
31
|
* @module api/EventApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.60
|
|
33
33
|
*/
|
|
34
34
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,28 +45,27 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
48
|
+
* Get Events of a Project
|
|
50
49
|
* @param {String} projectOrProductUID
|
|
51
50
|
* @param {Object} opts Optional parameters
|
|
52
51
|
* @param {Number} opts.pageSize (default to 1000)
|
|
53
52
|
* @param {Number} opts.pageNum (default to 1)
|
|
54
53
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
55
54
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
56
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
55
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
57
56
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
58
57
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
59
58
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
60
59
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
61
|
-
* @param {module:model/String} opts.dateType Which
|
|
62
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
63
|
-
* @param {String} opts.files
|
|
64
|
-
* @param {module:model/String} opts.format Response format
|
|
65
|
-
* @param {Array.<String>} opts.serialNumber
|
|
60
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
61
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
62
|
+
* @param {String} opts.files
|
|
63
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
64
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
66
65
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
67
|
-
* @param {Array.<String>} opts.sessionUID
|
|
68
|
-
* @param {Array.<String>} opts.eventUID
|
|
69
|
-
* @param {String} opts.selectFields Comma-separated
|
|
66
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
67
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
68
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
70
69
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
71
70
|
*/
|
|
72
71
|
return _createClass(EventApi, [{
|
|
@@ -111,28 +110,27 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
|
-
*
|
|
115
|
-
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
113
|
+
* Get Events of a Project
|
|
116
114
|
* @param {String} projectOrProductUID
|
|
117
115
|
* @param {Object} opts Optional parameters
|
|
118
116
|
* @param {Number} opts.pageSize (default to 1000)
|
|
119
117
|
* @param {Number} opts.pageNum (default to 1)
|
|
120
118
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
121
119
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
122
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
120
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
123
121
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
124
122
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
125
123
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
126
124
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
127
|
-
* @param {module:model/String} opts.dateType Which
|
|
128
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
129
|
-
* @param {String} opts.files
|
|
130
|
-
* @param {module:model/String} opts.format Response format
|
|
131
|
-
* @param {Array.<String>} opts.serialNumber
|
|
125
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
126
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
127
|
+
* @param {String} opts.files
|
|
128
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
129
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
132
130
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
133
|
-
* @param {Array.<String>} opts.sessionUID
|
|
134
|
-
* @param {Array.<String>} opts.eventUID
|
|
135
|
-
* @param {String} opts.selectFields Comma-separated
|
|
131
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
132
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
133
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
136
134
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
137
135
|
*/
|
|
138
136
|
}, {
|
|
@@ -144,8 +142,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
144
142
|
}
|
|
145
143
|
|
|
146
144
|
/**
|
|
147
|
-
*
|
|
148
|
-
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
145
|
+
* Get Events of a Fleet
|
|
149
146
|
* @param {String} projectOrProductUID
|
|
150
147
|
* @param {String} fleetUID
|
|
151
148
|
* @param {Object} opts Optional parameters
|
|
@@ -153,19 +150,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
153
150
|
* @param {Number} opts.pageNum (default to 1)
|
|
154
151
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
155
152
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
156
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
153
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
157
154
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
158
155
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
159
156
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
160
157
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
161
|
-
* @param {module:model/String} opts.dateType Which
|
|
162
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
163
|
-
* @param {String} opts.files
|
|
164
|
-
* @param {module:model/String} opts.format Response format
|
|
165
|
-
* @param {Array.<String>} opts.serialNumber
|
|
166
|
-
* @param {Array.<String>} opts.sessionUID
|
|
167
|
-
* @param {Array.<String>} opts.eventUID
|
|
168
|
-
* @param {String} opts.selectFields Comma-separated
|
|
158
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
159
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
160
|
+
* @param {String} opts.files
|
|
161
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
162
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
163
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
164
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
165
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
169
166
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
170
167
|
*/
|
|
171
168
|
}, {
|
|
@@ -214,8 +211,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
214
211
|
}
|
|
215
212
|
|
|
216
213
|
/**
|
|
217
|
-
*
|
|
218
|
-
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
214
|
+
* Get Events of a Fleet
|
|
219
215
|
* @param {String} projectOrProductUID
|
|
220
216
|
* @param {String} fleetUID
|
|
221
217
|
* @param {Object} opts Optional parameters
|
|
@@ -223,19 +219,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
223
219
|
* @param {Number} opts.pageNum (default to 1)
|
|
224
220
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
225
221
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
226
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
222
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
227
223
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
228
224
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
229
225
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
230
226
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
231
|
-
* @param {module:model/String} opts.dateType Which
|
|
232
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
233
|
-
* @param {String} opts.files
|
|
234
|
-
* @param {module:model/String} opts.format Response format
|
|
235
|
-
* @param {Array.<String>} opts.serialNumber
|
|
236
|
-
* @param {Array.<String>} opts.sessionUID
|
|
237
|
-
* @param {Array.<String>} opts.eventUID
|
|
238
|
-
* @param {String} opts.selectFields Comma-separated
|
|
227
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
228
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
229
|
+
* @param {String} opts.files
|
|
230
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
231
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
232
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
233
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
234
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
239
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
240
236
|
*/
|
|
241
237
|
}, {
|
|
@@ -247,10 +243,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
247
243
|
}
|
|
248
244
|
|
|
249
245
|
/**
|
|
250
|
-
* Get
|
|
251
|
-
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
246
|
+
* Get Route Logs by EventUID
|
|
252
247
|
* @param {String} projectOrProductUID
|
|
253
|
-
* @param {String} eventUID
|
|
248
|
+
* @param {String} eventUID
|
|
254
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
255
250
|
*/
|
|
256
251
|
}, {
|
|
@@ -280,10 +275,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
280
275
|
}
|
|
281
276
|
|
|
282
277
|
/**
|
|
283
|
-
* Get
|
|
284
|
-
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
278
|
+
* Get Route Logs by EventUID
|
|
285
279
|
* @param {String} projectOrProductUID
|
|
286
|
-
* @param {String} eventUID
|
|
280
|
+
* @param {String} eventUID
|
|
287
281
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
288
282
|
*/
|
|
289
283
|
}, {
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.60
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -36,7 +36,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
36
36
|
/**
|
|
37
37
|
* Jobs service.
|
|
38
38
|
* @module api/JobsApi
|
|
39
|
-
* @version 6.7.0-beta.
|
|
39
|
+
* @version 6.7.0-beta.60
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.60
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,7 +45,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Create a
|
|
48
|
+
* Create a monitor
|
|
49
|
+
* Create a monitor that raises an alert and notifies email or Slack when its condition holds. It can watch an event value (`event`, the default), devices going quiet (`heartbeat`), or data usage (`usage`). Requires the Owner or Developer role. Returns 403 if the project's plan doesn't allow the monitor, and 400 for invalid settings.
|
|
49
50
|
* @param {String} projectOrProductUID
|
|
50
51
|
* @param {module:model/CreateMonitor} createMonitor Body or payload of monitor to be created
|
|
51
52
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
@@ -76,7 +77,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
76
77
|
}
|
|
77
78
|
|
|
78
79
|
/**
|
|
79
|
-
* Create a
|
|
80
|
+
* Create a monitor
|
|
81
|
+
* Create a monitor that raises an alert and notifies email or Slack when its condition holds. It can watch an event value (`event`, the default), devices going quiet (`heartbeat`), or data usage (`usage`). Requires the Owner or Developer role. Returns 403 if the project's plan doesn't allow the monitor, and 400 for invalid settings.
|
|
80
82
|
* @param {String} projectOrProductUID
|
|
81
83
|
* @param {module:model/CreateMonitor} createMonitor Body or payload of monitor to be created
|
|
82
84
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
@@ -90,9 +92,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
90
92
|
}
|
|
91
93
|
|
|
92
94
|
/**
|
|
93
|
-
* Delete
|
|
95
|
+
* Delete a monitor
|
|
96
|
+
* Delete a monitor so it stops raising alerts. Returns an empty monitor object. To pause it instead, set `disabled` with `UpdateMonitor`. Requires the Owner or Developer role. Returns 404 if the monitor doesn't exist.
|
|
94
97
|
* @param {String} projectOrProductUID
|
|
95
|
-
* @param {String} monitorUID
|
|
98
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
96
99
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
97
100
|
*/
|
|
98
101
|
}, {
|
|
@@ -122,9 +125,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
122
125
|
}
|
|
123
126
|
|
|
124
127
|
/**
|
|
125
|
-
* Delete
|
|
128
|
+
* Delete a monitor
|
|
129
|
+
* Delete a monitor so it stops raising alerts. Returns an empty monitor object. To pause it instead, set `disabled` with `UpdateMonitor`. Requires the Owner or Developer role. Returns 404 if the monitor doesn't exist.
|
|
126
130
|
* @param {String} projectOrProductUID
|
|
127
|
-
* @param {String} monitorUID
|
|
131
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
128
132
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
129
133
|
*/
|
|
130
134
|
}, {
|
|
@@ -136,9 +140,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
136
140
|
}
|
|
137
141
|
|
|
138
142
|
/**
|
|
139
|
-
* Get
|
|
143
|
+
* Get a monitor
|
|
144
|
+
* Get one monitor's settings and whether it's in alert. Slack credentials in `alert_routes` come back as `(omitted)`. Returns 404 if the monitor doesn't exist.
|
|
140
145
|
* @param {String} projectOrProductUID
|
|
141
|
-
* @param {String} monitorUID
|
|
146
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
142
147
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
143
148
|
*/
|
|
144
149
|
}, {
|
|
@@ -168,9 +173,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
168
173
|
}
|
|
169
174
|
|
|
170
175
|
/**
|
|
171
|
-
* Get
|
|
176
|
+
* Get a monitor
|
|
177
|
+
* Get one monitor's settings and whether it's in alert. Slack credentials in `alert_routes` come back as `(omitted)`. Returns 404 if the monitor doesn't exist.
|
|
172
178
|
* @param {String} projectOrProductUID
|
|
173
|
-
* @param {String} monitorUID
|
|
179
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
174
180
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
175
181
|
*/
|
|
176
182
|
}, {
|
|
@@ -182,7 +188,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
182
188
|
}
|
|
183
189
|
|
|
184
190
|
/**
|
|
185
|
-
*
|
|
191
|
+
* List monitors
|
|
192
|
+
* List a project's monitors with their settings and whether each is in alert. For the alerts they've raised, use `GetAlerts`.
|
|
186
193
|
* @param {String} projectOrProductUID
|
|
187
194
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Monitor>} and HTTP response
|
|
188
195
|
*/
|
|
@@ -208,7 +215,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
208
215
|
}
|
|
209
216
|
|
|
210
217
|
/**
|
|
211
|
-
*
|
|
218
|
+
* List monitors
|
|
219
|
+
* List a project's monitors with their settings and whether each is in alert. For the alerts they've raised, use `GetAlerts`.
|
|
212
220
|
* @param {String} projectOrProductUID
|
|
213
221
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Monitor>}
|
|
214
222
|
*/
|
|
@@ -221,9 +229,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
221
229
|
}
|
|
222
230
|
|
|
223
231
|
/**
|
|
224
|
-
* Update
|
|
232
|
+
* Update a monitor
|
|
233
|
+
* Replace a monitor's settings with the whole monitor, as `GetMonitor` returns it. Omitted fields are cleared or reset, except `source_type`, `fleet_filter`, `notefile_filter`, `condition_type`, `aggregate_window` and `alert_routes`. Slack credentials left as `(omitted)` are kept. Requires the Owner or Developer role. Returns 403 if the plan doesn't allow a new `source_type`.
|
|
225
234
|
* @param {String} projectOrProductUID
|
|
226
|
-
* @param {String} monitorUID
|
|
235
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
227
236
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
228
237
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
229
238
|
*/
|
|
@@ -258,9 +267,10 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
258
267
|
}
|
|
259
268
|
|
|
260
269
|
/**
|
|
261
|
-
* Update
|
|
270
|
+
* Update a monitor
|
|
271
|
+
* Replace a monitor's settings with the whole monitor, as `GetMonitor` returns it. Omitted fields are cleared or reset, except `source_type`, `fleet_filter`, `notefile_filter`, `condition_type`, `aggregate_window` and `alert_routes`. Slack credentials left as `(omitted)` are kept. Requires the Owner or Developer role. Returns 403 if the plan doesn't allow a new `source_type`.
|
|
262
272
|
* @param {String} projectOrProductUID
|
|
263
|
-
* @param {String} monitorUID
|
|
273
|
+
* @param {String} monitorUID MonitorUID, `monitor:` followed by a UUID. List with `GetMonitors`.
|
|
264
274
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
265
275
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
266
276
|
*/
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* Organization service.
|
|
32
32
|
* @module api/OrganizationApi
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.60
|
|
34
34
|
*/
|
|
35
35
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -56,7 +56,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
56
56
|
/**
|
|
57
57
|
* Project service.
|
|
58
58
|
* @module api/ProjectApi
|
|
59
|
-
* @version 6.7.0-beta.
|
|
59
|
+
* @version 6.7.0-beta.60
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|