@blues-inc/notehub-js 6.7.0-beta.51 → 6.7.0-beta.53
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 +18 -17
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +1 -1
- package/dist/api/DeviceApi.js +41 -73
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +7 -0
- 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 -2
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +2 -3
- 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 +2 -1
- package/dist/model/CreatedRepository.js +5 -5
- 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 +8 -27
- 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 -6
- 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 +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 +2 -2
- package/dist/model/GetDevicePlans200Response.js +1 -2
- package/dist/model/GetDevicePublicKey200Response.js +3 -5
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -3
- 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 +4 -7
- 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 +7 -13
- 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 +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 +5 -5
- 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 +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryRecord.js +119 -0
- 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 +2 -2
- 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 +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.53
|
|
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
|
|
|
@@ -146,33 +146,33 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
146
146
|
| _NotehubJs.DeviceApi_ | [**addDbNote**](docs/DeviceApi.md#addDbNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
147
147
|
| _NotehubJs.DeviceApi_ | [**addQiNote**](docs/DeviceApi.md#addQiNote) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
148
148
|
| _NotehubJs.DeviceApi_ | [**createNotefile**](docs/DeviceApi.md#createNotefile) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notefiles/{notefileID} |
|
|
149
|
-
| _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
149
|
+
| _NotehubJs.DeviceApi_ | [**deleteDevice**](docs/DeviceApi.md#deleteDevice) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
150
150
|
| _NotehubJs.DeviceApi_ | [**deleteDeviceEnvironmentVariable**](docs/DeviceApi.md#deleteDeviceEnvironmentVariable) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables/{key} |
|
|
151
151
|
| _NotehubJs.DeviceApi_ | [**deleteNote**](docs/DeviceApi.md#deleteNote) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
152
152
|
| _NotehubJs.DeviceApi_ | [**deleteNotefiles**](docs/DeviceApi.md#deleteNotefiles) | **DELETE** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
153
|
-
| _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable |
|
|
154
|
-
| _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
|
|
153
|
+
| _NotehubJs.DeviceApi_ | [**disableDevice**](docs/DeviceApi.md#disableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/disable |
|
|
154
|
+
| _NotehubJs.DeviceApi_ | [**enableDevice**](docs/DeviceApi.md#enableDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/enable |
|
|
155
155
|
| _NotehubJs.DeviceApi_ | [**getDbNote**](docs/DeviceApi.md#getDbNote) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID}/{noteID} |
|
|
156
|
-
| _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
156
|
+
| _NotehubJs.DeviceApi_ | [**getDevice**](docs/DeviceApi.md#getDevice) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID} |
|
|
157
157
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentHierarchy**](docs/DeviceApi.md#getDeviceEnvironmentHierarchy) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_hierarchy | Get environment variable hierarchy for a device |
|
|
158
158
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariables**](docs/DeviceApi.md#getDeviceEnvironmentVariables) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
159
159
|
| _NotehubJs.DeviceApi_ | [**getDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#getDeviceEnvironmentVariablesByPin) | **GET** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
160
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
161
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceJourney**](docs/DeviceApi.md#getDeviceJourney) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} |
|
|
162
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys |
|
|
163
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
164
|
-
| _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
165
|
-
| _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
166
|
-
| _NotehubJs.DeviceApi_ | [**getDevicePublicKeys**](docs/DeviceApi.md#getDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys |
|
|
167
|
-
| _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
|
|
168
|
-
| _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices |
|
|
169
|
-
| _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices |
|
|
160
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceHealthLog**](docs/DeviceApi.md#getDeviceHealthLog) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/health-log |
|
|
161
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceJourney**](docs/DeviceApi.md#getDeviceJourney) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys/{journeyID} |
|
|
162
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceJourneys**](docs/DeviceApi.md#getDeviceJourneys) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/journeys |
|
|
163
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceLatestEvents**](docs/DeviceApi.md#getDeviceLatestEvents) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/latest |
|
|
164
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePlans**](docs/DeviceApi.md#getDevicePlans) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/plans |
|
|
165
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePublicKey**](docs/DeviceApi.md#getDevicePublicKey) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/public-key |
|
|
166
|
+
| _NotehubJs.DeviceApi_ | [**getDevicePublicKeys**](docs/DeviceApi.md#getDevicePublicKeys) | **GET** /v1/projects/{projectOrProductUID}/devices/public-keys |
|
|
167
|
+
| _NotehubJs.DeviceApi_ | [**getDeviceSessions**](docs/DeviceApi.md#getDeviceSessions) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/sessions |
|
|
168
|
+
| _NotehubJs.DeviceApi_ | [**getDevices**](docs/DeviceApi.md#getDevices) | **GET** /v1/projects/{projectOrProductUID}/devices |
|
|
169
|
+
| _NotehubJs.DeviceApi_ | [**getFleetDevices**](docs/DeviceApi.md#getFleetDevices) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/devices |
|
|
170
170
|
| _NotehubJs.DeviceApi_ | [**getNotefile**](docs/DeviceApi.md#getNotefile) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/notes/{notefileID} |
|
|
171
171
|
| _NotehubJs.DeviceApi_ | [**listNotefiles**](docs/DeviceApi.md#listNotefiles) | **GET** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/files |
|
|
172
|
-
| _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision |
|
|
172
|
+
| _NotehubJs.DeviceApi_ | [**provisionDevice**](docs/DeviceApi.md#provisionDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/provision |
|
|
173
173
|
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariables**](docs/DeviceApi.md#setDeviceEnvironmentVariables) | **PUT** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/environment_variables |
|
|
174
174
|
| _NotehubJs.DeviceApi_ | [**setDeviceEnvironmentVariablesByPin**](docs/DeviceApi.md#setDeviceEnvironmentVariablesByPin) | **PUT** /v1/products/{productUID}/devices/{deviceUID}/environment_variables_with_pin |
|
|
175
|
-
| _NotehubJs.DeviceApi_ | [**signalDevice**](docs/DeviceApi.md#signalDevice) | **POST** /v1/projects/{projectOrProductUID}/devices/{deviceUID}/signal |
|
|
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
177
|
| _NotehubJs.EventApi_ | [**getEvents**](docs/EventApi.md#getEvents) | **GET** /v1/projects/{projectOrProductUID}/events |
|
|
178
178
|
| _NotehubJs.EventApi_ | [**getFleetEvents**](docs/EventApi.md#getFleetEvents) | **GET** /v1/projects/{projectOrProductUID}/fleets/{fleetUID}/events |
|
|
@@ -404,6 +404,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
404
404
|
- [NotehubJs.RadRoute](docs/RadRoute.md)
|
|
405
405
|
- [NotehubJs.Repository](docs/Repository.md)
|
|
406
406
|
- [NotehubJs.RepositoryListResponse](docs/RepositoryListResponse.md)
|
|
407
|
+
- [NotehubJs.RepositoryRecord](docs/RepositoryRecord.md)
|
|
407
408
|
- [NotehubJs.RepositoryTokenRequest](docs/RepositoryTokenRequest.md)
|
|
408
409
|
- [NotehubJs.RepositoryTokenResponse](docs/RepositoryTokenResponse.md)
|
|
409
410
|
- [NotehubJs.Role](docs/Role.md)
|
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.53
|
|
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.53/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.53
|
|
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.53
|
|
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.53
|
|
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.53
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
|
@@ -242,8 +242,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
242
242
|
}
|
|
243
243
|
|
|
244
244
|
/**
|
|
245
|
-
* Delete
|
|
246
|
-
* Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
|
|
245
|
+
* Delete Device
|
|
247
246
|
* @param {String} projectOrProductUID
|
|
248
247
|
* @param {String} deviceUID
|
|
249
248
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -275,8 +274,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
275
274
|
}
|
|
276
275
|
|
|
277
276
|
/**
|
|
278
|
-
* Delete
|
|
279
|
-
* Delete a device and its notefiles from a project. Its events are kept. A Notecard that syncs again is added back as a new device; to block it instead, use `DisableDevice`. Requires the Owner or Developer role.
|
|
277
|
+
* Delete Device
|
|
280
278
|
* @param {String} projectOrProductUID
|
|
281
279
|
* @param {String} deviceUID
|
|
282
280
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -455,8 +453,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
455
453
|
}
|
|
456
454
|
|
|
457
455
|
/**
|
|
458
|
-
* Disable
|
|
459
|
-
* Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
|
|
456
|
+
* Disable Device
|
|
460
457
|
* @param {String} projectOrProductUID
|
|
461
458
|
* @param {String} deviceUID
|
|
462
459
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -488,8 +485,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
488
485
|
}
|
|
489
486
|
|
|
490
487
|
/**
|
|
491
|
-
* Disable
|
|
492
|
-
* Stop a device from connecting to Notehub, ending any open session. The device and its data stay in the project; undo with `EnableDevice`. Does nothing if it's already disabled. Requires the Owner or Developer role.
|
|
488
|
+
* Disable Device
|
|
493
489
|
* @param {String} projectOrProductUID
|
|
494
490
|
* @param {String} deviceUID
|
|
495
491
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -503,8 +499,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
503
499
|
}
|
|
504
500
|
|
|
505
501
|
/**
|
|
506
|
-
* Enable
|
|
507
|
-
* Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
|
|
502
|
+
* Enable Device
|
|
508
503
|
* @param {String} projectOrProductUID
|
|
509
504
|
* @param {String} deviceUID
|
|
510
505
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
@@ -536,8 +531,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
536
531
|
}
|
|
537
532
|
|
|
538
533
|
/**
|
|
539
|
-
* Enable
|
|
540
|
-
* Re-enable a device turned off with `DisableDevice`, so it can connect to Notehub again. Does nothing if the device is already enabled. Requires the Owner or Developer role. Returns 409 if the device's cellular service was deactivated; it must be reactivated instead.
|
|
534
|
+
* Enable Device
|
|
541
535
|
* @param {String} projectOrProductUID
|
|
542
536
|
* @param {String} deviceUID
|
|
543
537
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
@@ -621,8 +615,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
621
615
|
}
|
|
622
616
|
|
|
623
617
|
/**
|
|
624
|
-
* Get
|
|
625
|
-
* Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
|
|
618
|
+
* Get Device
|
|
626
619
|
* @param {String} projectOrProductUID
|
|
627
620
|
* @param {String} deviceUID
|
|
628
621
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Device} and HTTP response
|
|
@@ -654,8 +647,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
654
647
|
}
|
|
655
648
|
|
|
656
649
|
/**
|
|
657
|
-
* Get
|
|
658
|
-
* Get one device's details: serial number, product, fleets, locations, firmware versions, SIM usage and DFU state. To find devices by tag, serial number or other fields, use `GetDevices`.
|
|
650
|
+
* Get Device
|
|
659
651
|
* @param {String} projectOrProductUID
|
|
660
652
|
* @param {String} deviceUID
|
|
661
653
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Device}
|
|
@@ -815,14 +807,13 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
815
807
|
}
|
|
816
808
|
|
|
817
809
|
/**
|
|
818
|
-
* Get
|
|
819
|
-
* Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
|
|
810
|
+
* Get Device Health Log
|
|
820
811
|
* @param {String} projectOrProductUID
|
|
821
812
|
* @param {String} deviceUID
|
|
822
813
|
* @param {Object} opts Optional parameters
|
|
823
814
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
824
815
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
825
|
-
* @param {Array.<module:model/String>} opts.logType Return only
|
|
816
|
+
* @param {Array.<module:model/String>} opts.logType Return only specified log types
|
|
826
817
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceHealthLog200Response} and HTTP response
|
|
827
818
|
*/
|
|
828
819
|
}, {
|
|
@@ -857,14 +848,13 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
857
848
|
}
|
|
858
849
|
|
|
859
850
|
/**
|
|
860
|
-
* Get
|
|
861
|
-
* Get a device's health log: timestamped status messages such as restarts and completed firmware updates. To filter by date, pass both `startDate` and `endDate`; `startDate` alone returns 400.
|
|
851
|
+
* Get Device Health Log
|
|
862
852
|
* @param {String} projectOrProductUID
|
|
863
853
|
* @param {String} deviceUID
|
|
864
854
|
* @param {Object} opts Optional parameters
|
|
865
855
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
866
856
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
867
|
-
* @param {Array.<module:model/String>} opts.logType Return only
|
|
857
|
+
* @param {Array.<module:model/String>} opts.logType Return only specified log types
|
|
868
858
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceHealthLog200Response}
|
|
869
859
|
*/
|
|
870
860
|
}, {
|
|
@@ -876,8 +866,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
876
866
|
}
|
|
877
867
|
|
|
878
868
|
/**
|
|
879
|
-
* Get a journey
|
|
880
|
-
* Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
|
|
869
|
+
* Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
|
|
881
870
|
* @param {String} projectOrProductUID
|
|
882
871
|
* @param {String} deviceUID
|
|
883
872
|
* @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
|
|
@@ -922,8 +911,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
922
911
|
}
|
|
923
912
|
|
|
924
913
|
/**
|
|
925
|
-
* Get a journey
|
|
926
|
-
* Get one journey's start and end time and its events, oldest first. Only events with a location are included, and a run of events at the same location is reduced to the first. The events are paginated; `journey.has_more` is true if there are more. Returns 404 if the journey doesn't exist, and 403 if the organization is suspended.
|
|
914
|
+
* Get a single journey for a device along with its events. The events array is paginated via `pageSize` / `pageNum`; use `journey.has_more` to detect additional pages.
|
|
927
915
|
* @param {String} projectOrProductUID
|
|
928
916
|
* @param {String} deviceUID
|
|
929
917
|
* @param {Number} journeyID Identifier of the journey, taken from the numeric `journey` field in the event body (a Unix timestamp marking the start of the journey).
|
|
@@ -941,8 +929,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
941
929
|
}
|
|
942
930
|
|
|
943
931
|
/**
|
|
944
|
-
*
|
|
945
|
-
* List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
|
|
932
|
+
* Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
|
|
946
933
|
* @param {String} projectOrProductUID
|
|
947
934
|
* @param {String} deviceUID
|
|
948
935
|
* @param {Object} opts Optional parameters
|
|
@@ -981,8 +968,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
981
968
|
}
|
|
982
969
|
|
|
983
970
|
/**
|
|
984
|
-
*
|
|
985
|
-
* List a device's journeys, newest first, without their events. A journey is the events whose body has the same `journey` value and a `jcount` field; one-event journeys are left out. For a journey's events, use `GetDeviceJourney`. Returns at most 100; `has_more` is true if there are more. `startDate` and `endDate` filter on the journey's start. Returns 403 if the organization is suspended.
|
|
971
|
+
* Get the list of journeys for a device, derived from events whose body contains `journey` and `jcount` fields. Returns journey metadata only (no event payloads). Capped at 100 most recent journeys; `has_more` is true when the cap is hit.
|
|
986
972
|
* @param {String} projectOrProductUID
|
|
987
973
|
* @param {String} deviceUID
|
|
988
974
|
* @param {Object} opts Optional parameters
|
|
@@ -999,8 +985,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
999
985
|
}
|
|
1000
986
|
|
|
1001
987
|
/**
|
|
1002
|
-
* Get
|
|
1003
|
-
* Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
|
|
988
|
+
* Get Device Latest Events
|
|
1004
989
|
* @param {String} projectOrProductUID
|
|
1005
990
|
* @param {String} deviceUID
|
|
1006
991
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceLatestEvents200Response} and HTTP response
|
|
@@ -1032,8 +1017,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1032
1017
|
}
|
|
1033
1018
|
|
|
1034
1019
|
/**
|
|
1035
|
-
* Get
|
|
1036
|
-
* Get the most recent event from each of a device's notefiles, sorted by notefile name. `_env.qo` is left out. To search a device's event history, use `GetEvents`. Returns 403 if the organization is suspended.
|
|
1020
|
+
* Get Device Latest Events
|
|
1037
1021
|
* @param {String} projectOrProductUID
|
|
1038
1022
|
* @param {String} deviceUID
|
|
1039
1023
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceLatestEvents200Response}
|
|
@@ -1047,8 +1031,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1047
1031
|
}
|
|
1048
1032
|
|
|
1049
1033
|
/**
|
|
1050
|
-
* Get
|
|
1051
|
-
* Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
|
|
1034
|
+
* Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
|
|
1052
1035
|
* @param {String} projectOrProductUID
|
|
1053
1036
|
* @param {String} deviceUID
|
|
1054
1037
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePlans200Response} and HTTP response
|
|
@@ -1080,8 +1063,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1080
1063
|
}
|
|
1081
1064
|
|
|
1082
1065
|
/**
|
|
1083
|
-
* Get
|
|
1084
|
-
* Get the data plan of each cellular SIM in a device: plan type, data used and remaining, and expiry. Covers the built-in SIM and any external SIM, but not satellite plans. Returns 404 if the device has no cellular or satellite SIM.
|
|
1066
|
+
* Get Data Plans associated with the device, this include the primary sim, any external sim, as well as any satellite connections.
|
|
1085
1067
|
* @param {String} projectOrProductUID
|
|
1086
1068
|
* @param {String} deviceUID
|
|
1087
1069
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePlans200Response}
|
|
@@ -1095,8 +1077,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1095
1077
|
}
|
|
1096
1078
|
|
|
1097
1079
|
/**
|
|
1098
|
-
* Get
|
|
1099
|
-
* Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
|
|
1080
|
+
* Get Device Public Key
|
|
1100
1081
|
* @param {String} projectOrProductUID
|
|
1101
1082
|
* @param {String} deviceUID
|
|
1102
1083
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKey200Response} and HTTP response
|
|
@@ -1128,8 +1109,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1128
1109
|
}
|
|
1129
1110
|
|
|
1130
1111
|
/**
|
|
1131
|
-
* Get
|
|
1132
|
-
* Get one Notecard's public key, in PEM format. For every device in the project, use `GetDevicePublicKeys`.
|
|
1112
|
+
* Get Device Public Key
|
|
1133
1113
|
* @param {String} projectOrProductUID
|
|
1134
1114
|
* @param {String} deviceUID
|
|
1135
1115
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKey200Response}
|
|
@@ -1143,8 +1123,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1143
1123
|
}
|
|
1144
1124
|
|
|
1145
1125
|
/**
|
|
1146
|
-
*
|
|
1147
|
-
* List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
|
|
1126
|
+
* Get Device Public Keys of a Project
|
|
1148
1127
|
* @param {String} projectOrProductUID
|
|
1149
1128
|
* @param {Object} opts Optional parameters
|
|
1150
1129
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1179,8 +1158,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1179
1158
|
}
|
|
1180
1159
|
|
|
1181
1160
|
/**
|
|
1182
|
-
*
|
|
1183
|
-
* List the public key of every device in a project. For one device, use `GetDevicePublicKey`. Paginated. Deleted devices are included only when reading with a `cursor`.
|
|
1161
|
+
* Get Device Public Keys of a Project
|
|
1184
1162
|
* @param {String} projectOrProductUID
|
|
1185
1163
|
* @param {Object} opts Optional parameters
|
|
1186
1164
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1197,8 +1175,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1197
1175
|
}
|
|
1198
1176
|
|
|
1199
1177
|
/**
|
|
1200
|
-
*
|
|
1201
|
-
* List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
|
|
1178
|
+
* Get Device Sessions
|
|
1202
1179
|
* @param {String} projectOrProductUID
|
|
1203
1180
|
* @param {String} deviceUID
|
|
1204
1181
|
* @param {Object} opts Optional parameters
|
|
@@ -1207,7 +1184,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1207
1184
|
* @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).
|
|
1208
1185
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
1209
1186
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
1210
|
-
* @param {Boolean} opts.firstSync
|
|
1187
|
+
* @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
|
|
1211
1188
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDeviceSessions200Response} and HTTP response
|
|
1212
1189
|
*/
|
|
1213
1190
|
}, {
|
|
@@ -1245,8 +1222,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1245
1222
|
}
|
|
1246
1223
|
|
|
1247
1224
|
/**
|
|
1248
|
-
*
|
|
1249
|
-
* List a device's sessions, its connections to Notehub. Each shows why it opened and closed, signal strength, location and data usage. `startDate` and `endDate` filter on when the session began. Paginated.
|
|
1225
|
+
* Get Device Sessions
|
|
1250
1226
|
* @param {String} projectOrProductUID
|
|
1251
1227
|
* @param {String} deviceUID
|
|
1252
1228
|
* @param {Object} opts Optional parameters
|
|
@@ -1255,7 +1231,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1255
1231
|
* @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).
|
|
1256
1232
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
1257
1233
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
1258
|
-
* @param {Boolean} opts.firstSync
|
|
1234
|
+
* @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
|
|
1259
1235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDeviceSessions200Response}
|
|
1260
1236
|
*/
|
|
1261
1237
|
}, {
|
|
@@ -1267,8 +1243,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1267
1243
|
}
|
|
1268
1244
|
|
|
1269
1245
|
/**
|
|
1270
|
-
*
|
|
1271
|
-
* List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
|
|
1246
|
+
* Get Devices of a Project
|
|
1272
1247
|
* @param {String} projectOrProductUID
|
|
1273
1248
|
* @param {Object} opts Optional parameters
|
|
1274
1249
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1321,8 +1296,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1321
1296
|
}
|
|
1322
1297
|
|
|
1323
1298
|
/**
|
|
1324
|
-
*
|
|
1325
|
-
* List the devices in a project, with optional filters such as tag, serial number, fleet, location and firmware version. For one fleet's devices, use `GetFleetDevices`. Paginated.
|
|
1299
|
+
* Get Devices of a Project
|
|
1326
1300
|
* @param {String} projectOrProductUID
|
|
1327
1301
|
* @param {Object} opts Optional parameters
|
|
1328
1302
|
* @param {Number} opts.pageSize (default to 1000)
|
|
@@ -1348,8 +1322,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1348
1322
|
}
|
|
1349
1323
|
|
|
1350
1324
|
/**
|
|
1351
|
-
*
|
|
1352
|
-
* List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
|
|
1325
|
+
* Get Devices of a Fleet within a Project
|
|
1353
1326
|
* @param {String} projectOrProductUID
|
|
1354
1327
|
* @param {String} fleetUID
|
|
1355
1328
|
* @param {Object} opts Optional parameters
|
|
@@ -1406,8 +1379,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1406
1379
|
}
|
|
1407
1380
|
|
|
1408
1381
|
/**
|
|
1409
|
-
*
|
|
1410
|
-
* List the devices in one fleet, with the same filters as `GetDevices`. To list a device's fleets instead, use `GetDeviceFleets`. Paginated. Returns 404 if the fleet doesn't exist.
|
|
1382
|
+
* Get Devices of a Fleet within a Project
|
|
1411
1383
|
* @param {String} projectOrProductUID
|
|
1412
1384
|
* @param {String} fleetUID
|
|
1413
1385
|
* @param {Object} opts Optional parameters
|
|
@@ -1555,11 +1527,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1555
1527
|
}
|
|
1556
1528
|
|
|
1557
1529
|
/**
|
|
1558
|
-
* Provision a
|
|
1559
|
-
* Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
|
|
1530
|
+
* Provision Device for a Project
|
|
1560
1531
|
* @param {String} projectOrProductUID
|
|
1561
1532
|
* @param {String} deviceUID
|
|
1562
|
-
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest
|
|
1533
|
+
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
|
|
1563
1534
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Object} and HTTP response
|
|
1564
1535
|
*/
|
|
1565
1536
|
}, {
|
|
@@ -1593,11 +1564,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1593
1564
|
}
|
|
1594
1565
|
|
|
1595
1566
|
/**
|
|
1596
|
-
* Provision a
|
|
1597
|
-
* Add a Notecard to a project before it first connects, with its product, serial number and fleets. A device that already exists isn't reset and keeps its fleets. Requires the Owner or Developer role. Returns 404 if `product_uid` doesn't exist, and 400 if it belongs to another project or `deviceUID` isn't a valid Notecard DeviceUID.
|
|
1567
|
+
* Provision Device for a Project
|
|
1598
1568
|
* @param {String} projectOrProductUID
|
|
1599
1569
|
* @param {String} deviceUID
|
|
1600
|
-
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest
|
|
1570
|
+
* @param {module:model/ProvisionDeviceRequest} provisionDeviceRequest Provision a device to a specific ProductUID
|
|
1601
1571
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Object}
|
|
1602
1572
|
*/
|
|
1603
1573
|
}, {
|
|
@@ -1721,11 +1691,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1721
1691
|
}
|
|
1722
1692
|
|
|
1723
1693
|
/**
|
|
1724
|
-
* Send a signal to a
|
|
1725
|
-
* Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
|
|
1694
|
+
* Send a signal from Notehub to a Notecard.
|
|
1726
1695
|
* @param {String} projectOrProductUID
|
|
1727
1696
|
* @param {String} deviceUID
|
|
1728
|
-
* @param {module:model/Body} body
|
|
1697
|
+
* @param {module:model/Body} body Body or payload of signal to be sent to the device
|
|
1729
1698
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/SignalDevice200Response} and HTTP response
|
|
1730
1699
|
*/
|
|
1731
1700
|
}, {
|
|
@@ -1759,11 +1728,10 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
1759
1728
|
}
|
|
1760
1729
|
|
|
1761
1730
|
/**
|
|
1762
|
-
* Send a signal to a
|
|
1763
|
-
* Send a JSON object straight to a Notecard, which the host can read with `hub.signal`. It's delivered only if the Notecard is connected to Notehub at that moment, and is never queued; `connected` in the response says whether it was. To queue data for the next sync, use `AddQiNote` instead. Requires the Owner or Developer role. Returns 400 if the body has a `type` field.
|
|
1731
|
+
* Send a signal from Notehub to a Notecard.
|
|
1764
1732
|
* @param {String} projectOrProductUID
|
|
1765
1733
|
* @param {String} deviceUID
|
|
1766
|
-
* @param {module:model/Body} body
|
|
1734
|
+
* @param {module:model/Body} body Body or payload of signal to be sent to the device
|
|
1767
1735
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/SignalDevice200Response}
|
|
1768
1736
|
*/
|
|
1769
1737
|
}, {
|
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.53
|
|
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.53
|
|
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.53
|
|
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.53
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -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.53
|
|
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.53
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* Route service.
|
|
32
32
|
* @module api/RouteApi
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.53
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/SkillsApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* Skills service.
|
|
33
33
|
* @module api/SkillsApi
|
|
34
|
-
* @version 6.7.0-beta.
|
|
34
|
+
* @version 6.7.0-beta.53
|
|
35
35
|
*/
|
|
36
36
|
var SkillsApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
package/dist/api/UsageApi.js
CHANGED
|
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
32
32
|
/**
|
|
33
33
|
* Usage service.
|
|
34
34
|
* @module api/UsageApi
|
|
35
|
-
* @version 6.7.0-beta.
|
|
35
|
+
* @version 6.7.0-beta.53
|
|
36
36
|
*/
|
|
37
37
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
38
38
|
/**
|
package/dist/api/WebhookApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Webhook service.
|
|
31
31
|
* @module api/WebhookApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.53
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/index.js
CHANGED
|
@@ -867,6 +867,12 @@ Object.defineProperty(exports, "RepositoryListResponse", {
|
|
|
867
867
|
return _RepositoryListResponse["default"];
|
|
868
868
|
}
|
|
869
869
|
});
|
|
870
|
+
Object.defineProperty(exports, "RepositoryRecord", {
|
|
871
|
+
enumerable: true,
|
|
872
|
+
get: function get() {
|
|
873
|
+
return _RepositoryRecord["default"];
|
|
874
|
+
}
|
|
875
|
+
});
|
|
870
876
|
Object.defineProperty(exports, "RepositoryTokenRequest", {
|
|
871
877
|
enumerable: true,
|
|
872
878
|
get: function get() {
|
|
@@ -1265,6 +1271,7 @@ var _QubitroRoute = _interopRequireDefault(require("./model/QubitroRoute"));
|
|
|
1265
1271
|
var _RadRoute = _interopRequireDefault(require("./model/RadRoute"));
|
|
1266
1272
|
var _Repository = _interopRequireDefault(require("./model/Repository"));
|
|
1267
1273
|
var _RepositoryListResponse = _interopRequireDefault(require("./model/RepositoryListResponse"));
|
|
1274
|
+
var _RepositoryRecord = _interopRequireDefault(require("./model/RepositoryRecord"));
|
|
1268
1275
|
var _RepositoryTokenRequest = _interopRequireDefault(require("./model/RepositoryTokenRequest"));
|
|
1269
1276
|
var _RepositoryTokenResponse = _interopRequireDefault(require("./model/RepositoryTokenResponse"));
|
|
1270
1277
|
var _Role = _interopRequireDefault(require("./model/Role"));
|