@blues-inc/notehub-js 6.7.0-beta.71 → 6.7.0-beta.72
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 +37 -37
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +5 -5
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +19 -13
- package/dist/api/JobsApi.js +57 -39
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +17 -11
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/SkillsApi.js +17 -17
- package/dist/api/UsageApi.js +59 -49
- package/dist/api/WebhookApi.js +45 -67
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- 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 +1 -1
- 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 +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/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 +2 -2
- package/dist/model/GetDataUsage200Response.js +2 -2
- 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 +2 -2
- package/dist/model/GetSessionsUsage200Response.js +3 -3
- 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 +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- 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 +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +5 -3
- 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/RepositoryRecord.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- 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 +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- 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 +2 -2
- 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 +4 -4
- 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.72
|
|
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
|
|
|
@@ -134,7 +134,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
134
134
|
| Class | Method | HTTP request | Description |
|
|
135
135
|
| ------------------------------ | ---------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | -------------------------------------------------------- |
|
|
136
136
|
| _NotehubJs.AlertApi_ | [**getAlerts**](docs/AlertApi.md#getAlerts) | **GET** /v1/projects/{projectOrProductUID}/alerts |
|
|
137
|
-
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token |
|
|
137
|
+
| _NotehubJs.AuthorizationApi_ | [**oAuth2ClientCredentials**](docs/AuthorizationApi.md#oAuth2ClientCredentials) | **POST** /oauth2/token | Get an access token with OAuth client credentials |
|
|
138
138
|
| _NotehubJs.DescriptionApi_ | [**deleteGlobalDescription**](docs/DescriptionApi.md#deleteGlobalDescription) | **DELETE** /v1/description/{descriptionName} | Delete a global description record |
|
|
139
139
|
| _NotehubJs.DescriptionApi_ | [**deleteProjectDescription**](docs/DescriptionApi.md#deleteProjectDescription) | **DELETE** /v1/projects/{projectOrProductUID}/description/{descriptionName} | Delete a project description record |
|
|
140
140
|
| _NotehubJs.DescriptionApi_ | [**getGlobalDescription**](docs/DescriptionApi.md#getGlobalDescription) | **GET** /v1/description/{descriptionName} | Get a global description record |
|
|
@@ -177,26 +177,26 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
177
177
|
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events | List events in a project |
|
|
178
178
|
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events | List events in a fleet |
|
|
179
179
|
| _NotehubJs.EventApi_ | [**getRouteLogsByEvent**](docs/EventApi.md#getRouteLogsByEvent) | **GET** /v1/projects/{projectOrProductUID}/events/{eventUID}/route-logs | Get an event's route logs |
|
|
180
|
-
| _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event |
|
|
181
|
-
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close |
|
|
182
|
-
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open |
|
|
183
|
-
| _NotehubJs.JobsApi_ | [**cancelJobRun**](docs/JobsApi.md#cancelJobRun) | **POST** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}/cancel |
|
|
184
|
-
| _NotehubJs.JobsApi_ | [**createJob**](docs/JobsApi.md#createJob) | **POST** /v1/projects/{projectOrProductUID}/jobs |
|
|
185
|
-
| _NotehubJs.JobsApi_ | [**deleteJob**](docs/JobsApi.md#deleteJob) | **DELETE** /v1/projects/{projectOrProductUID}/jobs/{jobUID} |
|
|
186
|
-
| _NotehubJs.JobsApi_ | [**deleteJobRun**](docs/JobsApi.md#deleteJobRun) | **DELETE** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} |
|
|
187
|
-
| _NotehubJs.JobsApi_ | [**getJob**](docs/JobsApi.md#getJob) | **GET** /v1/projects/{projectOrProductUID}/jobs/{jobUID} |
|
|
188
|
-
| _NotehubJs.JobsApi_ | [**getJobRun**](docs/JobsApi.md#getJobRun) | **GET** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} |
|
|
189
|
-
| _NotehubJs.JobsApi_ | [**getJobRuns**](docs/JobsApi.md#getJobRuns) | **GET** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/runs |
|
|
190
|
-
| _NotehubJs.JobsApi_ | [**getJobs**](docs/JobsApi.md#getJobs) | **GET** /v1/projects/{projectOrProductUID}/jobs |
|
|
191
|
-
| _NotehubJs.JobsApi_ | [**runJob**](docs/JobsApi.md#runJob) | **POST** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/run |
|
|
180
|
+
| _NotehubJs.ExternalDevicesApi_ | [**createEventExtDevice**](docs/ExternalDevicesApi.md#createEventExtDevice) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/event | Add an event from an external device |
|
|
181
|
+
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionClose**](docs/ExternalDevicesApi.md#extDeviceSessionClose) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/close | Close an external device's session |
|
|
182
|
+
| _NotehubJs.ExternalDevicesApi_ | [**extDeviceSessionOpen**](docs/ExternalDevicesApi.md#extDeviceSessionOpen) | **POST** /v1/products/{productUID}/ext-devices/{deviceUID}/session/open | Open an external device's session |
|
|
183
|
+
| _NotehubJs.JobsApi_ | [**cancelJobRun**](docs/JobsApi.md#cancelJobRun) | **POST** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}/cancel | Cancel a job run |
|
|
184
|
+
| _NotehubJs.JobsApi_ | [**createJob**](docs/JobsApi.md#createJob) | **POST** /v1/projects/{projectOrProductUID}/jobs | Create a batch job |
|
|
185
|
+
| _NotehubJs.JobsApi_ | [**deleteJob**](docs/JobsApi.md#deleteJob) | **DELETE** /v1/projects/{projectOrProductUID}/jobs/{jobUID} | Delete a batch job |
|
|
186
|
+
| _NotehubJs.JobsApi_ | [**deleteJobRun**](docs/JobsApi.md#deleteJobRun) | **DELETE** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} | Delete a job run |
|
|
187
|
+
| _NotehubJs.JobsApi_ | [**getJob**](docs/JobsApi.md#getJob) | **GET** /v1/projects/{projectOrProductUID}/jobs/{jobUID} | Get a batch job |
|
|
188
|
+
| _NotehubJs.JobsApi_ | [**getJobRun**](docs/JobsApi.md#getJobRun) | **GET** /v1/projects/{projectOrProductUID}/jobs/runs/{reportUID} | Get a job run |
|
|
189
|
+
| _NotehubJs.JobsApi_ | [**getJobRuns**](docs/JobsApi.md#getJobRuns) | **GET** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/runs | List a job's runs |
|
|
190
|
+
| _NotehubJs.JobsApi_ | [**getJobs**](docs/JobsApi.md#getJobs) | **GET** /v1/projects/{projectOrProductUID}/jobs | List batch jobs |
|
|
191
|
+
| _NotehubJs.JobsApi_ | [**runJob**](docs/JobsApi.md#runJob) | **POST** /v1/projects/{projectOrProductUID}/jobs/{jobUID}/run | Run a batch job |
|
|
192
192
|
| _NotehubJs.MonitorApi_ | [**createMonitor**](docs/MonitorApi.md#createMonitor) | **POST** /v1/projects/{projectOrProductUID}/monitors |
|
|
193
193
|
| _NotehubJs.MonitorApi_ | [**deleteMonitor**](docs/MonitorApi.md#deleteMonitor) | **DELETE** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
194
194
|
| _NotehubJs.MonitorApi_ | [**getMonitor**](docs/MonitorApi.md#getMonitor) | **GET** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
195
195
|
| _NotehubJs.MonitorApi_ | [**getMonitors**](docs/MonitorApi.md#getMonitors) | **GET** /v1/projects/{projectOrProductUID}/monitors |
|
|
196
196
|
| _NotehubJs.MonitorApi_ | [**updateMonitor**](docs/MonitorApi.md#updateMonitor) | **PUT** /v1/projects/{projectOrProductUID}/monitors/{monitorUID} |
|
|
197
|
-
| _NotehubJs.OrganizationApi_ | [**getOrganization**](docs/OrganizationApi.md#getOrganization) | **GET** /v1/organizations/{organizationUID} |
|
|
198
|
-
| _NotehubJs.OrganizationApi_ | [**getOrganizationBalanceHistory**](docs/OrganizationApi.md#getOrganizationBalanceHistory) | **GET** /v1/organizations/{organizationUID}/balance-history |
|
|
199
|
-
| _NotehubJs.OrganizationApi_ | [**getOrganizations**](docs/OrganizationApi.md#getOrganizations) | **GET** /v1/organizations |
|
|
197
|
+
| _NotehubJs.OrganizationApi_ | [**getOrganization**](docs/OrganizationApi.md#getOrganization) | **GET** /v1/organizations/{organizationUID} | Get an organization |
|
|
198
|
+
| _NotehubJs.OrganizationApi_ | [**getOrganizationBalanceHistory**](docs/OrganizationApi.md#getOrganizationBalanceHistory) | **GET** /v1/organizations/{organizationUID}/balance-history | Get an organization's daily balance |
|
|
199
|
+
| _NotehubJs.OrganizationApi_ | [**getOrganizations**](docs/OrganizationApi.md#getOrganizations) | **GET** /v1/organizations | List your organizations |
|
|
200
200
|
| _NotehubJs.ProjectApi_ | [**addDeviceToFleets**](docs/ProjectApi.md#addDeviceToFleets) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/fleets | Add a device to fleets |
|
|
201
201
|
| _NotehubJs.ProjectApi_ | [**cloneProject**](docs/ProjectApi.md#cloneProject) | **POST** /v1/projects/{projectOrProductUID}/clone | Clone a project |
|
|
202
202
|
| _NotehubJs.ProjectApi_ | [**createFleet**](docs/ProjectApi.md#createFleet) | **POST** /v1/projects/{projectOrProductUID}/fleets | Create a fleet |
|
|
@@ -248,26 +248,26 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
248
248
|
| _NotehubJs.RouteApi_ | [**getRouteLogsByRoute**](docs/RouteApi.md#getRouteLogsByRoute) | **GET** /v1/projects/{projectOrProductUID}/routes/{routeUID}/route-logs | List a route's logs |
|
|
249
249
|
| _NotehubJs.RouteApi_ | [**getRoutes**](docs/RouteApi.md#getRoutes) | **GET** /v1/projects/{projectOrProductUID}/routes | List routes |
|
|
250
250
|
| _NotehubJs.RouteApi_ | [**updateRoute**](docs/RouteApi.md#updateRoute) | **PUT** /v1/projects/{projectOrProductUID}/routes/{routeUID} | Update a route |
|
|
251
|
-
| _NotehubJs.SkillsApi_ | [**deleteSkill**](docs/SkillsApi.md#deleteSkill) | **DELETE** /v1/projects/{projectOrProductUID}/skills/{skillName} | Delete a
|
|
252
|
-
| _NotehubJs.SkillsApi_ | [**getSkill**](docs/SkillsApi.md#getSkill) | **GET** /v1/projects/{projectOrProductUID}/skills/{skillName} |
|
|
253
|
-
| _NotehubJs.SkillsApi_ | [**getSkills**](docs/SkillsApi.md#getSkills) | **GET** /v1/projects/{projectOrProductUID}/skills | List
|
|
254
|
-
| _NotehubJs.SkillsApi_ | [**putSkill**](docs/SkillsApi.md#putSkill) | **PUT** /v1/projects/{projectOrProductUID}/skills/{skillName} | Create or replace a
|
|
255
|
-
| _NotehubJs.UsageApi_ | [**getApiUsage**](docs/UsageApi.md#getApiUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/api |
|
|
256
|
-
| _NotehubJs.UsageApi_ | [**getDataUsage**](docs/UsageApi.md#getDataUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/data |
|
|
257
|
-
| _NotehubJs.UsageApi_ | [**getEventsUsage**](docs/UsageApi.md#getEventsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/events |
|
|
258
|
-
| _NotehubJs.UsageApi_ | [**getRouteLogsUsage**](docs/UsageApi.md#getRouteLogsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/route-logs |
|
|
259
|
-
| _NotehubJs.UsageApi_ | [**getSessionsUsage**](docs/UsageApi.md#getSessionsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/sessions |
|
|
260
|
-
| _NotehubJs.WebhookApi_ | [**createLegacyWebhookEvent**](docs/WebhookApi.md#createLegacyWebhookEvent) | **POST** /v1/products/{productUID}/devices/{deviceUID}/webhook-event |
|
|
261
|
-
| _NotehubJs.WebhookApi_ | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
262
|
-
| _NotehubJs.WebhookApi_ | [**createWebhookDeviceEventByProduct**](docs/WebhookApi.md#createWebhookDeviceEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/devices/{deviceUID}/event |
|
|
263
|
-
| _NotehubJs.WebhookApi_ | [**createWebhookEventByProduct**](docs/WebhookApi.md#createWebhookEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/event |
|
|
264
|
-
| _NotehubJs.WebhookApi_ | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
265
|
-
| _NotehubJs.WebhookApi_ | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
266
|
-
| _NotehubJs.WebhookApi_ | [**getWebhookSettingsByProduct**](docs/WebhookApi.md#getWebhookSettingsByProduct) | **GET** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
267
|
-
| _NotehubJs.WebhookApi_ | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{projectOrProductUID}/webhooks |
|
|
268
|
-
| _NotehubJs.WebhookApi_ | [**updateLegacyWebhookSession**](docs/WebhookApi.md#updateLegacyWebhookSession) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/webhook-session |
|
|
269
|
-
| _NotehubJs.WebhookApi_ | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
270
|
-
| _NotehubJs.WebhookApi_ | [**updateWebhookSettingsByProduct**](docs/WebhookApi.md#updateWebhookSettingsByProduct) | **PUT** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
251
|
+
| _NotehubJs.SkillsApi_ | [**deleteSkill**](docs/SkillsApi.md#deleteSkill) | **DELETE** /v1/projects/{projectOrProductUID}/skills/{skillName} | Delete a project skill |
|
|
252
|
+
| _NotehubJs.SkillsApi_ | [**getSkill**](docs/SkillsApi.md#getSkill) | **GET** /v1/projects/{projectOrProductUID}/skills/{skillName} | Get a project skill |
|
|
253
|
+
| _NotehubJs.SkillsApi_ | [**getSkills**](docs/SkillsApi.md#getSkills) | **GET** /v1/projects/{projectOrProductUID}/skills | List project skills |
|
|
254
|
+
| _NotehubJs.SkillsApi_ | [**putSkill**](docs/SkillsApi.md#putSkill) | **PUT** /v1/projects/{projectOrProductUID}/skills/{skillName} | Create or replace a project skill |
|
|
255
|
+
| _NotehubJs.UsageApi_ | [**getApiUsage**](docs/UsageApi.md#getApiUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/api | Get billable API usage |
|
|
256
|
+
| _NotehubJs.UsageApi_ | [**getDataUsage**](docs/UsageApi.md#getDataUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/data | Get cellular and satellite data usage |
|
|
257
|
+
| _NotehubJs.UsageApi_ | [**getEventsUsage**](docs/UsageApi.md#getEventsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/events | Get event usage |
|
|
258
|
+
| _NotehubJs.UsageApi_ | [**getRouteLogsUsage**](docs/UsageApi.md#getRouteLogsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/route-logs | Get route log usage |
|
|
259
|
+
| _NotehubJs.UsageApi_ | [**getSessionsUsage**](docs/UsageApi.md#getSessionsUsage) | **GET** /v1/projects/{projectOrProductUID}/usage/sessions | Get session usage |
|
|
260
|
+
| _NotehubJs.WebhookApi_ | [**createLegacyWebhookEvent**](docs/WebhookApi.md#createLegacyWebhookEvent) | **POST** /v1/products/{productUID}/devices/{deviceUID}/webhook-event |
|
|
261
|
+
| _NotehubJs.WebhookApi_ | [**createWebhook**](docs/WebhookApi.md#createWebhook) | **POST** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
262
|
+
| _NotehubJs.WebhookApi_ | [**createWebhookDeviceEventByProduct**](docs/WebhookApi.md#createWebhookDeviceEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/devices/{deviceUID}/event |
|
|
263
|
+
| _NotehubJs.WebhookApi_ | [**createWebhookEventByProduct**](docs/WebhookApi.md#createWebhookEventByProduct) | **POST** /v1/products/{productUID}/webhooks/{webhookUID}/event |
|
|
264
|
+
| _NotehubJs.WebhookApi_ | [**deleteWebhook**](docs/WebhookApi.md#deleteWebhook) | **DELETE** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
265
|
+
| _NotehubJs.WebhookApi_ | [**getWebhook**](docs/WebhookApi.md#getWebhook) | **GET** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
266
|
+
| _NotehubJs.WebhookApi_ | [**getWebhookSettingsByProduct**](docs/WebhookApi.md#getWebhookSettingsByProduct) | **GET** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
267
|
+
| _NotehubJs.WebhookApi_ | [**getWebhooks**](docs/WebhookApi.md#getWebhooks) | **GET** /v1/projects/{projectOrProductUID}/webhooks |
|
|
268
|
+
| _NotehubJs.WebhookApi_ | [**updateLegacyWebhookSession**](docs/WebhookApi.md#updateLegacyWebhookSession) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/webhook-session |
|
|
269
|
+
| _NotehubJs.WebhookApi_ | [**updateWebhook**](docs/WebhookApi.md#updateWebhook) | **PUT** /v1/projects/{projectOrProductUID}/webhooks/{webhookUID} |
|
|
270
|
+
| _NotehubJs.WebhookApi_ | [**updateWebhookSettingsByProduct**](docs/WebhookApi.md#updateWebhookSettingsByProduct) | **PUT** /v1/products/{productUID}/webhooks/{webhookUID}/settings |
|
|
271
271
|
|
|
272
272
|
## Documentation for Models
|
|
273
273
|
|
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.72
|
|
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.72/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.72
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -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.72
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -44,8 +44,8 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
48
|
-
*
|
|
47
|
+
* Get an access token with OAuth client credentials
|
|
48
|
+
* Exchange an OAuth client's ID and secret for a bearer access token, using the OAuth 2.0 client credentials grant. Send the parameters form-encoded, not as JSON. Returns 401 for a bad client ID or secret, and 403 for a scope the client can't have.
|
|
49
49
|
* @param {String} clientId
|
|
50
50
|
* @param {String} clientSecret
|
|
51
51
|
* @param {module:model/String} grantType
|
|
@@ -87,8 +87,8 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
/**
|
|
90
|
-
*
|
|
91
|
-
*
|
|
90
|
+
* Get an access token with OAuth client credentials
|
|
91
|
+
* Exchange an OAuth client's ID and secret for a bearer access token, using the OAuth 2.0 client credentials grant. Send the parameters form-encoded, not as JSON. Returns 401 for a bad client ID or secret, and 403 for a scope the client can't have.
|
|
92
92
|
* @param {String} clientId
|
|
93
93
|
* @param {String} clientSecret
|
|
94
94
|
* @param {module:model/String} grantType
|
|
@@ -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.72
|
|
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.72
|
|
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.72
|
|
33
33
|
*/
|
|
34
34
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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.72
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,10 +45,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Add an event from an external device
|
|
49
|
+
* Add an event from a device that isn't a Notecard, adding the device to the project if it's new. A DeviceUID without a prefix becomes `dev:ext:<deviceUID>`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
|
|
49
50
|
* @param {String} productUID
|
|
50
51
|
* @param {String} deviceUID
|
|
51
|
-
* @param {module:model/Event} event
|
|
52
|
+
* @param {module:model/Event} event The event. `file`, `body` and `payload` are the usual fields.
|
|
52
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
53
54
|
*/
|
|
54
55
|
return _createClass(ExternalDevicesApi, [{
|
|
@@ -82,10 +83,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
+
* Add an event from an external device
|
|
87
|
+
* Add an event from a device that isn't a Notecard, adding the device to the project if it's new. A DeviceUID without a prefix becomes `dev:ext:<deviceUID>`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
|
|
86
88
|
* @param {String} productUID
|
|
87
89
|
* @param {String} deviceUID
|
|
88
|
-
* @param {module:model/Event} event
|
|
90
|
+
* @param {module:model/Event} event The event. `file`, `body` and `payload` are the usual fields.
|
|
89
91
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
90
92
|
*/
|
|
91
93
|
}, {
|
|
@@ -97,10 +99,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
/**
|
|
100
|
-
*
|
|
102
|
+
* Close an external device's session
|
|
103
|
+
* Close an external device's session, if one is open, adding the device to the project if it's new. Requires the Owner or Developer role.
|
|
101
104
|
* @param {String} productUID
|
|
102
105
|
* @param {String} deviceUID
|
|
103
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
106
|
+
* @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
|
|
104
107
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
105
108
|
*/
|
|
106
109
|
}, {
|
|
@@ -134,10 +137,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
/**
|
|
137
|
-
*
|
|
140
|
+
* Close an external device's session
|
|
141
|
+
* Close an external device's session, if one is open, adding the device to the project if it's new. Requires the Owner or Developer role.
|
|
138
142
|
* @param {String} productUID
|
|
139
143
|
* @param {String} deviceUID
|
|
140
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
144
|
+
* @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
|
|
141
145
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
142
146
|
*/
|
|
143
147
|
}, {
|
|
@@ -149,10 +153,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
/**
|
|
152
|
-
*
|
|
156
|
+
* Open an external device's session
|
|
157
|
+
* Open a session for an external device, adding the device to the project if it's new. An open session is closed first, with `why_session_closed` as the reason. To close it, use `ExtDeviceSessionClose`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
|
|
153
158
|
* @param {String} productUID
|
|
154
159
|
* @param {String} deviceUID
|
|
155
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
160
|
+
* @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
|
|
156
161
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
157
162
|
*/
|
|
158
163
|
}, {
|
|
@@ -186,10 +191,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
186
191
|
}
|
|
187
192
|
|
|
188
193
|
/**
|
|
189
|
-
*
|
|
194
|
+
* Open an external device's session
|
|
195
|
+
* Open a session for an external device, adding the device to the project if it's new. An open session is closed first, with `why_session_closed` as the reason. To close it, use `ExtDeviceSessionClose`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
|
|
190
196
|
* @param {String} productUID
|
|
191
197
|
* @param {String} deviceUID
|
|
192
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
198
|
+
* @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
|
|
193
199
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
194
200
|
*/
|
|
195
201
|
}, {
|
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.72
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
|
@@ -52,9 +52,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Cancel a
|
|
55
|
+
* Cancel a job run
|
|
56
|
+
* Ask a running job to stop. `successful` is false if the run couldn't be cancelled. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
56
57
|
* @param {String} projectOrProductUID
|
|
57
|
-
* @param {String} reportUID
|
|
58
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
58
59
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CancelJobRun200Response} and HTTP response
|
|
59
60
|
*/
|
|
60
61
|
return _createClass(JobsApi, [{
|
|
@@ -84,9 +85,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
84
85
|
}
|
|
85
86
|
|
|
86
87
|
/**
|
|
87
|
-
* Cancel a
|
|
88
|
+
* Cancel a job run
|
|
89
|
+
* Ask a running job to stop. `successful` is false if the run couldn't be cancelled. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
88
90
|
* @param {String} projectOrProductUID
|
|
89
|
-
* @param {String} reportUID
|
|
91
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
90
92
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CancelJobRun200Response}
|
|
91
93
|
*/
|
|
92
94
|
}, {
|
|
@@ -98,9 +100,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
98
100
|
}
|
|
99
101
|
|
|
100
102
|
/**
|
|
101
|
-
* Create a
|
|
103
|
+
* Create a batch job
|
|
104
|
+
* Create a batch job from a definition that selects devices and the changes to make to them. It doesn't run until `RunJob`. Each call creates a new job with its own UID; names needn't be unique. Requires the Owner or Developer role. Returns 400 without a `name` or for an invalid definition.
|
|
102
105
|
* @param {String} projectOrProductUID
|
|
103
|
-
* @param {String} name
|
|
106
|
+
* @param {String} name Job name, shown in lists. It doesn't have to be unique.
|
|
104
107
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
105
108
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateJob201Response} and HTTP response
|
|
106
109
|
*/
|
|
@@ -136,9 +139,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
136
139
|
}
|
|
137
140
|
|
|
138
141
|
/**
|
|
139
|
-
* Create a
|
|
142
|
+
* Create a batch job
|
|
143
|
+
* Create a batch job from a definition that selects devices and the changes to make to them. It doesn't run until `RunJob`. Each call creates a new job with its own UID; names needn't be unique. Requires the Owner or Developer role. Returns 400 without a `name` or for an invalid definition.
|
|
140
144
|
* @param {String} projectOrProductUID
|
|
141
|
-
* @param {String} name
|
|
145
|
+
* @param {String} name Job name, shown in lists. It doesn't have to be unique.
|
|
142
146
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
143
147
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateJob201Response}
|
|
144
148
|
*/
|
|
@@ -152,8 +156,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
152
156
|
|
|
153
157
|
/**
|
|
154
158
|
* Delete a batch job
|
|
159
|
+
* Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
155
160
|
* @param {String} projectOrProductUID
|
|
156
|
-
* @param {String} jobUID
|
|
161
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
157
162
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteJob200Response} and HTTP response
|
|
158
163
|
*/
|
|
159
164
|
}, {
|
|
@@ -184,8 +189,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
184
189
|
|
|
185
190
|
/**
|
|
186
191
|
* Delete a batch job
|
|
192
|
+
* Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
187
193
|
* @param {String} projectOrProductUID
|
|
188
|
-
* @param {String} jobUID
|
|
194
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
189
195
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteJob200Response}
|
|
190
196
|
*/
|
|
191
197
|
}, {
|
|
@@ -197,9 +203,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
197
203
|
}
|
|
198
204
|
|
|
199
205
|
/**
|
|
200
|
-
* Delete
|
|
206
|
+
* Delete a job run
|
|
207
|
+
* Delete a job run and its results. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
201
208
|
* @param {String} projectOrProductUID
|
|
202
|
-
* @param {String} reportUID
|
|
209
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
203
210
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
204
211
|
*/
|
|
205
212
|
}, {
|
|
@@ -229,9 +236,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
229
236
|
}
|
|
230
237
|
|
|
231
238
|
/**
|
|
232
|
-
* Delete
|
|
239
|
+
* Delete a job run
|
|
240
|
+
* Delete a job run and its results. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
233
241
|
* @param {String} projectOrProductUID
|
|
234
|
-
* @param {String} reportUID
|
|
242
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
235
243
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
236
244
|
*/
|
|
237
245
|
}, {
|
|
@@ -243,9 +251,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
251
|
}
|
|
244
252
|
|
|
245
253
|
/**
|
|
246
|
-
* Get a
|
|
254
|
+
* Get a batch job
|
|
255
|
+
* Get one batch job's definition and its latest run's status. Returns 404 if the job doesn't exist.
|
|
247
256
|
* @param {String} projectOrProductUID
|
|
248
|
-
* @param {String} jobUID
|
|
257
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
249
258
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobDetail} and HTTP response
|
|
250
259
|
*/
|
|
251
260
|
}, {
|
|
@@ -275,9 +284,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
275
284
|
}
|
|
276
285
|
|
|
277
286
|
/**
|
|
278
|
-
* Get a
|
|
287
|
+
* Get a batch job
|
|
288
|
+
* Get one batch job's definition and its latest run's status. Returns 404 if the job doesn't exist.
|
|
279
289
|
* @param {String} projectOrProductUID
|
|
280
|
-
* @param {String} jobUID
|
|
290
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
281
291
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobDetail}
|
|
282
292
|
*/
|
|
283
293
|
}, {
|
|
@@ -289,9 +299,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
289
299
|
}
|
|
290
300
|
|
|
291
301
|
/**
|
|
292
|
-
* Get
|
|
302
|
+
* Get a job run
|
|
303
|
+
* Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
|
|
293
304
|
* @param {String} projectOrProductUID
|
|
294
|
-
* @param {String} reportUID
|
|
305
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
295
306
|
* @param {Object} opts Optional parameters
|
|
296
307
|
* @param {module:model/String} opts.view Controls the level of detail returned: 'summary' returns metadata only, 'detail' returns the full result payload (default to 'summary')
|
|
297
308
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobRun} and HTTP response
|
|
@@ -326,9 +337,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
326
337
|
}
|
|
327
338
|
|
|
328
339
|
/**
|
|
329
|
-
* Get
|
|
340
|
+
* Get a job run
|
|
341
|
+
* Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
|
|
330
342
|
* @param {String} projectOrProductUID
|
|
331
|
-
* @param {String} reportUID
|
|
343
|
+
* @param {String} reportUID Job run UID, as returned by `RunJob`.
|
|
332
344
|
* @param {Object} opts Optional parameters
|
|
333
345
|
* @param {module:model/String} opts.view Controls the level of detail returned: 'summary' returns metadata only, 'detail' returns the full result payload (default to 'summary')
|
|
334
346
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobRun}
|
|
@@ -342,12 +354,13 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
342
354
|
}
|
|
343
355
|
|
|
344
356
|
/**
|
|
345
|
-
* List
|
|
357
|
+
* List a job's runs
|
|
358
|
+
* List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
|
|
346
359
|
* @param {String} projectOrProductUID
|
|
347
|
-
* @param {String} jobUID
|
|
360
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
348
361
|
* @param {Object} opts Optional parameters
|
|
349
|
-
* @param {String} opts.status
|
|
350
|
-
* @param {Boolean} opts.dryRun
|
|
362
|
+
* @param {String} opts.status Return only runs with this status.
|
|
363
|
+
* @param {Boolean} opts.dryRun If set, return only dry runs (`true`) or only real runs (`false`).
|
|
351
364
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobRuns200Response} and HTTP response
|
|
352
365
|
*/
|
|
353
366
|
}, {
|
|
@@ -381,12 +394,13 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
381
394
|
}
|
|
382
395
|
|
|
383
396
|
/**
|
|
384
|
-
* List
|
|
397
|
+
* List a job's runs
|
|
398
|
+
* List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
|
|
385
399
|
* @param {String} projectOrProductUID
|
|
386
|
-
* @param {String} jobUID
|
|
400
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
387
401
|
* @param {Object} opts Optional parameters
|
|
388
|
-
* @param {String} opts.status
|
|
389
|
-
* @param {Boolean} opts.dryRun
|
|
402
|
+
* @param {String} opts.status Return only runs with this status.
|
|
403
|
+
* @param {Boolean} opts.dryRun If set, return only dry runs (`true`) or only real runs (`false`).
|
|
390
404
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobRuns200Response}
|
|
391
405
|
*/
|
|
392
406
|
}, {
|
|
@@ -398,7 +412,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
398
412
|
}
|
|
399
413
|
|
|
400
414
|
/**
|
|
401
|
-
* List
|
|
415
|
+
* List batch jobs
|
|
416
|
+
* List a project's batch jobs with their latest run's status. A batch job applies changes, such as environment variables, to a selected set of devices.
|
|
402
417
|
* @param {String} projectOrProductUID
|
|
403
418
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobs200Response} and HTTP response
|
|
404
419
|
*/
|
|
@@ -424,7 +439,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
424
439
|
}
|
|
425
440
|
|
|
426
441
|
/**
|
|
427
|
-
* List
|
|
442
|
+
* List batch jobs
|
|
443
|
+
* List a project's batch jobs with their latest run's status. A batch job applies changes, such as environment variables, to a selected set of devices.
|
|
428
444
|
* @param {String} projectOrProductUID
|
|
429
445
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobs200Response}
|
|
430
446
|
*/
|
|
@@ -437,11 +453,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
437
453
|
}
|
|
438
454
|
|
|
439
455
|
/**
|
|
440
|
-
*
|
|
456
|
+
* Run a batch job
|
|
457
|
+
* Start a run of a batch job and return its run UID. The run continues in the background, and `GetJobRun` shows its progress. With `dry_run=true`, it reports what would change without changing anything. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
441
458
|
* @param {String} projectOrProductUID
|
|
442
|
-
* @param {String} jobUID
|
|
459
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
443
460
|
* @param {Object} opts Optional parameters
|
|
444
|
-
* @param {Boolean} opts.dryRun
|
|
461
|
+
* @param {Boolean} opts.dryRun If true, report what the job would change without changing anything. (default to false)
|
|
445
462
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RunJob200Response} and HTTP response
|
|
446
463
|
*/
|
|
447
464
|
}, {
|
|
@@ -474,11 +491,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
474
491
|
}
|
|
475
492
|
|
|
476
493
|
/**
|
|
477
|
-
*
|
|
494
|
+
* Run a batch job
|
|
495
|
+
* Start a run of a batch job and return its run UID. The run continues in the background, and `GetJobRun` shows its progress. With `dry_run=true`, it reports what would change without changing anything. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
478
496
|
* @param {String} projectOrProductUID
|
|
479
|
-
* @param {String} jobUID
|
|
497
|
+
* @param {String} jobUID Batch job UID, as returned by `CreateJob`.
|
|
480
498
|
* @param {Object} opts Optional parameters
|
|
481
|
-
* @param {Boolean} opts.dryRun
|
|
499
|
+
* @param {Boolean} opts.dryRun If true, report what the job would change without changing anything. (default to false)
|
|
482
500
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RunJob200Response}
|
|
483
501
|
*/
|
|
484
502
|
}, {
|
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.72
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|