@blues-inc/notehub-js 6.7.0-beta.7 → 6.7.0-beta.71
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 +150 -149
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +3 -3
- package/dist/api/AuthorizationApi.js +9 -48
- package/dist/api/DescriptionApi.js +49 -33
- package/dist/api/DeviceApi.js +195 -133
- package/dist/api/EventApi.js +61 -200
- 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 +9 -9
- package/dist/api/ProjectApi.js +253 -165
- package/dist/api/RouteApi.js +51 -39
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +15 -15
- package/dist/api/WebhookApi.js +67 -45
- package/dist/index.js +84 -63
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +4 -4
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +5 -5
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +2 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +3 -2
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +4 -3
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +7 -6
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +3 -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 +4 -4
- package/dist/model/DataSetField.js +2 -2
- 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 +3 -3
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +6 -6
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +27 -8
- package/dist/model/DeviceDfuHistory.js +3 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +2 -1
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +3 -3
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +5 -5
- package/dist/model/DeviceTowerInfo.js +6 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- 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 +7 -7
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/Fleet.js +11 -10
- 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 +3 -3
- 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 +2 -1
- package/dist/model/GetDevicePublicKey200Response.js +5 -3
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
- package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
- package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
- package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
- 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 +7 -4
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +2 -2
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +3 -3
- 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 +13 -7
- 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 +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +2 -1
- package/dist/model/NotefileSchema.js +5 -3
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -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 +8 -4
- package/dist/model/Project.js +7 -4
- package/dist/model/ProjectMember.js +5 -4
- package/dist/model/ProjectSecret.js +7 -7
- 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/{Login200Response.js → RepositoryRecord.js} +52 -24
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +6 -4
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +207 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +59 -40
- package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +75 -51
- package/dist/model/SkillSummary.js +205 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/SkillWriteResult.js +153 -0
- 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 +7 -6
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +3 -3
- 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 +2 -2
- 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/dist/api/BillingAccountApi.js +0 -167
- package/dist/model/LoginRequest.js +0 -103
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.71
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,7 +45,8 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
48
|
+
* Add a note-shaped event from a device (legacy)
|
|
49
|
+
* Legacy: add an event from a device, adding the device to the project if it's new. The body is note-shaped: `file`, `body`, an optional base64 `payload`, and other event fields such as `when` and `sn`. No webhook transform applies. New integrations should use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if there's no `body` or `payload`.
|
|
49
50
|
* @param {String} productUID
|
|
50
51
|
* @param {String} deviceUID
|
|
51
52
|
* @param {Object.<String, {String: Object}>} requestBody A Note-shaped event. Typically contains the notefile name (file), a JSON body, and an optional base64-encoded payload, but any additional Note fields (e.g. when, sn, where_lat, where_lon) are accepted and honored.
|
|
@@ -82,7 +83,8 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
+
* Add a note-shaped event from a device (legacy)
|
|
87
|
+
* Legacy: add an event from a device, adding the device to the project if it's new. The body is note-shaped: `file`, `body`, an optional base64 `payload`, and other event fields such as `when` and `sn`. No webhook transform applies. New integrations should use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if there's no `body` or `payload`.
|
|
86
88
|
* @param {String} productUID
|
|
87
89
|
* @param {String} deviceUID
|
|
88
90
|
* @param {Object.<String, {String: Object}>} requestBody A Note-shaped event. Typically contains the notefile name (file), a JSON body, and an optional base64-encoded payload, but any additional Note fields (e.g. when, sn, where_lat, where_lon) are accepted and honored.
|
|
@@ -97,9 +99,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
/**
|
|
100
|
-
*
|
|
102
|
+
* Create a webhook
|
|
103
|
+
* Create an inbound webhook that outside services post to with `CreateWebhookEventByProduct`. Its events go to the notefile `<webhookUID>.qo` unless its JSONata `transform` sets `file`. Use a lower-case ID; the event endpoints look it up in lower case. Requires the Owner or Developer role. Returns 409 if the ID is taken, and 400 if it has characters other than letters, digits, `-` and `_`.
|
|
101
104
|
* @param {String} projectOrProductUID
|
|
102
|
-
* @param {String} webhookUID Webhook
|
|
105
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
103
106
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
104
107
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
105
108
|
*/
|
|
@@ -134,9 +137,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
137
|
}
|
|
135
138
|
|
|
136
139
|
/**
|
|
137
|
-
*
|
|
140
|
+
* Create a webhook
|
|
141
|
+
* Create an inbound webhook that outside services post to with `CreateWebhookEventByProduct`. Its events go to the notefile `<webhookUID>.qo` unless its JSONata `transform` sets `file`. Use a lower-case ID; the event endpoints look it up in lower case. Requires the Owner or Developer role. Returns 409 if the ID is taken, and 400 if it has characters other than letters, digits, `-` and `_`.
|
|
138
142
|
* @param {String} projectOrProductUID
|
|
139
|
-
* @param {String} webhookUID Webhook
|
|
143
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
140
144
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
141
145
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
142
146
|
*/
|
|
@@ -149,11 +153,12 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
149
153
|
}
|
|
150
154
|
|
|
151
155
|
/**
|
|
152
|
-
*
|
|
156
|
+
* Send a device's event through a webhook
|
|
157
|
+
* Post JSON to a webhook as one device's event, like `CreateWebhookEventByProduct`. The device is added to the project if it's new; a DeviceUID without a prefix becomes `dev:ext:<deviceUID>`, in lower case. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
|
|
153
158
|
* @param {String} productUID
|
|
154
|
-
* @param {String} webhookUID Webhook
|
|
159
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
155
160
|
* @param {String} deviceUID
|
|
156
|
-
* @param {Object.<String, {String: Object}>} requestBody
|
|
161
|
+
* @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
|
|
157
162
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
158
163
|
*/
|
|
159
164
|
}, {
|
|
@@ -192,11 +197,12 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
192
197
|
}
|
|
193
198
|
|
|
194
199
|
/**
|
|
195
|
-
*
|
|
200
|
+
* Send a device's event through a webhook
|
|
201
|
+
* Post JSON to a webhook as one device's event, like `CreateWebhookEventByProduct`. The device is added to the project if it's new; a DeviceUID without a prefix becomes `dev:ext:<deviceUID>`, in lower case. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
|
|
196
202
|
* @param {String} productUID
|
|
197
|
-
* @param {String} webhookUID Webhook
|
|
203
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
198
204
|
* @param {String} deviceUID
|
|
199
|
-
* @param {Object.<String, {String: Object}>} requestBody
|
|
205
|
+
* @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
|
|
200
206
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
201
207
|
*/
|
|
202
208
|
}, {
|
|
@@ -208,10 +214,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
208
214
|
}
|
|
209
215
|
|
|
210
216
|
/**
|
|
211
|
-
*
|
|
217
|
+
* Send an event through a webhook
|
|
218
|
+
* Post JSON to a webhook. The whole body becomes the event body, in the notefile `<webhookUID>.qo`, from the device `dev:ext:webhook`, unless the webhook's `transform` sets other values. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
|
|
212
219
|
* @param {String} productUID
|
|
213
|
-
* @param {String} webhookUID Webhook
|
|
214
|
-
* @param {Object.<String, {String: Object}>} requestBody
|
|
220
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
221
|
+
* @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
|
|
215
222
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
216
223
|
*/
|
|
217
224
|
}, {
|
|
@@ -245,10 +252,11 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
245
252
|
}
|
|
246
253
|
|
|
247
254
|
/**
|
|
248
|
-
*
|
|
255
|
+
* Send an event through a webhook
|
|
256
|
+
* Post JSON to a webhook. The whole body becomes the event body, in the notefile `<webhookUID>.qo`, from the device `dev:ext:webhook`, unless the webhook's `transform` sets other values. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails, and 500 if the webhook is disabled.
|
|
249
257
|
* @param {String} productUID
|
|
250
|
-
* @param {String} webhookUID Webhook
|
|
251
|
-
* @param {Object.<String, {String: Object}>} requestBody
|
|
258
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
259
|
+
* @param {Object.<String, {String: Object}>} requestBody Any JSON object; it becomes the event body, or the transform's input.
|
|
252
260
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
253
261
|
*/
|
|
254
262
|
}, {
|
|
@@ -260,9 +268,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
260
268
|
}
|
|
261
269
|
|
|
262
270
|
/**
|
|
263
|
-
*
|
|
271
|
+
* Delete a webhook
|
|
272
|
+
* Delete a webhook's settings. Posts to its ID are still accepted, just without a transform; to stop accepting them, set `disabled` with `UpdateWebhook` instead. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
|
|
264
273
|
* @param {String} projectOrProductUID
|
|
265
|
-
* @param {String} webhookUID Webhook
|
|
274
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
266
275
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
267
276
|
*/
|
|
268
277
|
}, {
|
|
@@ -292,9 +301,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
292
301
|
}
|
|
293
302
|
|
|
294
303
|
/**
|
|
295
|
-
*
|
|
304
|
+
* Delete a webhook
|
|
305
|
+
* Delete a webhook's settings. Posts to its ID are still accepted, just without a transform; to stop accepting them, set `disabled` with `UpdateWebhook` instead. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
|
|
296
306
|
* @param {String} projectOrProductUID
|
|
297
|
-
* @param {String} webhookUID Webhook
|
|
307
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
298
308
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
299
309
|
*/
|
|
300
310
|
}, {
|
|
@@ -306,9 +316,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
306
316
|
}
|
|
307
317
|
|
|
308
318
|
/**
|
|
309
|
-
*
|
|
319
|
+
* Get a webhook
|
|
320
|
+
* Get one webhook's transform and whether it's disabled. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
|
|
310
321
|
* @param {String} projectOrProductUID
|
|
311
|
-
* @param {String} webhookUID Webhook
|
|
322
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
312
323
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WebhookSettings} and HTTP response
|
|
313
324
|
*/
|
|
314
325
|
}, {
|
|
@@ -338,9 +349,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
338
349
|
}
|
|
339
350
|
|
|
340
351
|
/**
|
|
341
|
-
*
|
|
352
|
+
* Get a webhook
|
|
353
|
+
* Get one webhook's transform and whether it's disabled. Requires the Owner or Developer role. Returns 404 if the webhook doesn't exist.
|
|
342
354
|
* @param {String} projectOrProductUID
|
|
343
|
-
* @param {String} webhookUID Webhook
|
|
355
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
344
356
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WebhookSettings}
|
|
345
357
|
*/
|
|
346
358
|
}, {
|
|
@@ -352,9 +364,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
352
364
|
}
|
|
353
365
|
|
|
354
366
|
/**
|
|
355
|
-
*
|
|
367
|
+
* Get a webhook by ProductUID
|
|
368
|
+
* Get one webhook's settings, like `GetWebhook`, but addressed by ProductUID instead of the project. Requires the Owner or Developer role. Returns 500, not 404, if the webhook doesn't exist.
|
|
356
369
|
* @param {String} productUID
|
|
357
|
-
* @param {String} webhookUID Webhook
|
|
370
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
358
371
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WebhookSettings} and HTTP response
|
|
359
372
|
*/
|
|
360
373
|
}, {
|
|
@@ -384,9 +397,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
384
397
|
}
|
|
385
398
|
|
|
386
399
|
/**
|
|
387
|
-
*
|
|
400
|
+
* Get a webhook by ProductUID
|
|
401
|
+
* Get one webhook's settings, like `GetWebhook`, but addressed by ProductUID instead of the project. Requires the Owner or Developer role. Returns 500, not 404, if the webhook doesn't exist.
|
|
388
402
|
* @param {String} productUID
|
|
389
|
-
* @param {String} webhookUID Webhook
|
|
403
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
390
404
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WebhookSettings}
|
|
391
405
|
*/
|
|
392
406
|
}, {
|
|
@@ -398,7 +412,8 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
398
412
|
}
|
|
399
413
|
|
|
400
414
|
/**
|
|
401
|
-
*
|
|
415
|
+
* List webhooks
|
|
416
|
+
* List a project's inbound webhooks with their transforms and whether they're disabled. An inbound webhook lets an outside service post data that Notehub turns into events. Requires the Owner or Developer role.
|
|
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/GetWebhooks200Response} and HTTP response
|
|
404
419
|
*/
|
|
@@ -424,7 +439,8 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
424
439
|
}
|
|
425
440
|
|
|
426
441
|
/**
|
|
427
|
-
*
|
|
442
|
+
* List webhooks
|
|
443
|
+
* List a project's inbound webhooks with their transforms and whether they're disabled. An inbound webhook lets an outside service post data that Notehub turns into events. Requires the Owner or Developer role.
|
|
428
444
|
* @param {String} projectOrProductUID
|
|
429
445
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetWebhooks200Response}
|
|
430
446
|
*/
|
|
@@ -437,11 +453,12 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
437
453
|
}
|
|
438
454
|
|
|
439
455
|
/**
|
|
440
|
-
*
|
|
456
|
+
* Open or close a webhook device's session (legacy)
|
|
457
|
+
* Legacy: open, update or close a webhook device's session, adding the device if it's new. The body is a session: set `why_session_opened` to open one, `why_session_closed` to close it, both to close and reopen, or neither to update the open session. Requires the Owner or Developer role. Returns 400 when updating with no session open.
|
|
441
458
|
* @param {String} productUID
|
|
442
459
|
* @param {String} deviceUID
|
|
443
460
|
* @param {Object} opts Optional parameters
|
|
444
|
-
* @param {Object.<String, {String: Object}>} opts.requestBody
|
|
461
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody Session fields, such as `why_session_opened`, `why_session_closed` and signal or location values.
|
|
445
462
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
446
463
|
*/
|
|
447
464
|
}, {
|
|
@@ -472,11 +489,12 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
472
489
|
}
|
|
473
490
|
|
|
474
491
|
/**
|
|
475
|
-
*
|
|
492
|
+
* Open or close a webhook device's session (legacy)
|
|
493
|
+
* Legacy: open, update or close a webhook device's session, adding the device if it's new. The body is a session: set `why_session_opened` to open one, `why_session_closed` to close it, both to close and reopen, or neither to update the open session. Requires the Owner or Developer role. Returns 400 when updating with no session open.
|
|
476
494
|
* @param {String} productUID
|
|
477
495
|
* @param {String} deviceUID
|
|
478
496
|
* @param {Object} opts Optional parameters
|
|
479
|
-
* @param {Object.<String, {String: Object}>} opts.requestBody
|
|
497
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody Session fields, such as `why_session_opened`, `why_session_closed` and signal or location values.
|
|
480
498
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
481
499
|
*/
|
|
482
500
|
}, {
|
|
@@ -488,9 +506,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
488
506
|
}
|
|
489
507
|
|
|
490
508
|
/**
|
|
491
|
-
*
|
|
509
|
+
* Update a webhook
|
|
510
|
+
* Replace a webhook's settings, creating the webhook if it doesn't exist. Send every field: a missing `transform` is cleared and a missing `disabled` enables the webhook. Requires the Owner or Developer role.
|
|
492
511
|
* @param {String} projectOrProductUID
|
|
493
|
-
* @param {String} webhookUID Webhook
|
|
512
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
494
513
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
495
514
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
496
515
|
*/
|
|
@@ -525,9 +544,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
525
544
|
}
|
|
526
545
|
|
|
527
546
|
/**
|
|
528
|
-
*
|
|
547
|
+
* Update a webhook
|
|
548
|
+
* Replace a webhook's settings, creating the webhook if it doesn't exist. Send every field: a missing `transform` is cleared and a missing `disabled` enables the webhook. Requires the Owner or Developer role.
|
|
529
549
|
* @param {String} projectOrProductUID
|
|
530
|
-
* @param {String} webhookUID Webhook
|
|
550
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
531
551
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
532
552
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
533
553
|
*/
|
|
@@ -540,9 +560,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
540
560
|
}
|
|
541
561
|
|
|
542
562
|
/**
|
|
543
|
-
*
|
|
563
|
+
* Update a webhook by ProductUID
|
|
564
|
+
* Replace a webhook's settings, like `UpdateWebhook`, but addressed by ProductUID. Creates the webhook if it doesn't exist. Requires the Owner or Developer role. Returns 400 if the ID has characters other than letters, digits, `-` and `_`.
|
|
544
565
|
* @param {String} productUID
|
|
545
|
-
* @param {String} webhookUID Webhook
|
|
566
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
546
567
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
547
568
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
548
569
|
*/
|
|
@@ -577,9 +598,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
577
598
|
}
|
|
578
599
|
|
|
579
600
|
/**
|
|
580
|
-
*
|
|
601
|
+
* Update a webhook by ProductUID
|
|
602
|
+
* Replace a webhook's settings, like `UpdateWebhook`, but addressed by ProductUID. Creates the webhook if it doesn't exist. Requires the Owner or Developer role. Returns 400 if the ID has characters other than letters, digits, `-` and `_`.
|
|
581
603
|
* @param {String} productUID
|
|
582
|
-
* @param {String} webhookUID Webhook
|
|
604
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
583
605
|
* @param {module:model/WebhookSettings} webhookSettings
|
|
584
606
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
585
607
|
*/
|
package/dist/index.js
CHANGED
|
@@ -87,12 +87,6 @@ Object.defineProperty(exports, "BillingAccount", {
|
|
|
87
87
|
return _BillingAccount["default"];
|
|
88
88
|
}
|
|
89
89
|
});
|
|
90
|
-
Object.defineProperty(exports, "BillingAccountApi", {
|
|
91
|
-
enumerable: true,
|
|
92
|
-
get: function get() {
|
|
93
|
-
return _BillingAccountApi["default"];
|
|
94
|
-
}
|
|
95
|
-
});
|
|
96
90
|
Object.defineProperty(exports, "BillingAccountRole", {
|
|
97
91
|
enumerable: true,
|
|
98
92
|
get: function get() {
|
|
@@ -447,36 +441,6 @@ Object.defineProperty(exports, "GetApiUsage200Response", {
|
|
|
447
441
|
return _GetApiUsage200Response["default"];
|
|
448
442
|
}
|
|
449
443
|
});
|
|
450
|
-
Object.defineProperty(exports, "GetBillingAccount200Response", {
|
|
451
|
-
enumerable: true,
|
|
452
|
-
get: function get() {
|
|
453
|
-
return _GetBillingAccount200Response["default"];
|
|
454
|
-
}
|
|
455
|
-
});
|
|
456
|
-
Object.defineProperty(exports, "GetBillingAccount200ResponsePlan", {
|
|
457
|
-
enumerable: true,
|
|
458
|
-
get: function get() {
|
|
459
|
-
return _GetBillingAccount200ResponsePlan["default"];
|
|
460
|
-
}
|
|
461
|
-
});
|
|
462
|
-
Object.defineProperty(exports, "GetBillingAccountBalanceHistory200Response", {
|
|
463
|
-
enumerable: true,
|
|
464
|
-
get: function get() {
|
|
465
|
-
return _GetBillingAccountBalanceHistory200Response["default"];
|
|
466
|
-
}
|
|
467
|
-
});
|
|
468
|
-
Object.defineProperty(exports, "GetBillingAccountBalanceHistory200ResponseDataInner", {
|
|
469
|
-
enumerable: true,
|
|
470
|
-
get: function get() {
|
|
471
|
-
return _GetBillingAccountBalanceHistory200ResponseDataInner["default"];
|
|
472
|
-
}
|
|
473
|
-
});
|
|
474
|
-
Object.defineProperty(exports, "GetBillingAccounts200Response", {
|
|
475
|
-
enumerable: true,
|
|
476
|
-
get: function get() {
|
|
477
|
-
return _GetBillingAccounts200Response["default"];
|
|
478
|
-
}
|
|
479
|
-
});
|
|
480
444
|
Object.defineProperty(exports, "GetDataUsage200Response", {
|
|
481
445
|
enumerable: true,
|
|
482
446
|
get: function get() {
|
|
@@ -585,12 +549,6 @@ Object.defineProperty(exports, "GetEvents200Response", {
|
|
|
585
549
|
return _GetEvents200Response["default"];
|
|
586
550
|
}
|
|
587
551
|
});
|
|
588
|
-
Object.defineProperty(exports, "GetEventsByCursor200Response", {
|
|
589
|
-
enumerable: true,
|
|
590
|
-
get: function get() {
|
|
591
|
-
return _GetEventsByCursor200Response["default"];
|
|
592
|
-
}
|
|
593
|
-
});
|
|
594
552
|
Object.defineProperty(exports, "GetJobRuns200Response", {
|
|
595
553
|
enumerable: true,
|
|
596
554
|
get: function get() {
|
|
@@ -609,6 +567,30 @@ Object.defineProperty(exports, "GetNotefile200Response", {
|
|
|
609
567
|
return _GetNotefile200Response["default"];
|
|
610
568
|
}
|
|
611
569
|
});
|
|
570
|
+
Object.defineProperty(exports, "GetOrganization200Response", {
|
|
571
|
+
enumerable: true,
|
|
572
|
+
get: function get() {
|
|
573
|
+
return _GetOrganization200Response["default"];
|
|
574
|
+
}
|
|
575
|
+
});
|
|
576
|
+
Object.defineProperty(exports, "GetOrganization200ResponsePlan", {
|
|
577
|
+
enumerable: true,
|
|
578
|
+
get: function get() {
|
|
579
|
+
return _GetOrganization200ResponsePlan["default"];
|
|
580
|
+
}
|
|
581
|
+
});
|
|
582
|
+
Object.defineProperty(exports, "GetOrganizationBalanceHistory200Response", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function get() {
|
|
585
|
+
return _GetOrganizationBalanceHistory200Response["default"];
|
|
586
|
+
}
|
|
587
|
+
});
|
|
588
|
+
Object.defineProperty(exports, "GetOrganizationBalanceHistory200ResponseDataInner", {
|
|
589
|
+
enumerable: true,
|
|
590
|
+
get: function get() {
|
|
591
|
+
return _GetOrganizationBalanceHistory200ResponseDataInner["default"];
|
|
592
|
+
}
|
|
593
|
+
});
|
|
612
594
|
Object.defineProperty(exports, "GetOrganizations200Response", {
|
|
613
595
|
enumerable: true,
|
|
614
596
|
get: function get() {
|
|
@@ -729,18 +711,6 @@ Object.defineProperty(exports, "Location", {
|
|
|
729
711
|
return _Location["default"];
|
|
730
712
|
}
|
|
731
713
|
});
|
|
732
|
-
Object.defineProperty(exports, "Login200Response", {
|
|
733
|
-
enumerable: true,
|
|
734
|
-
get: function get() {
|
|
735
|
-
return _Login200Response["default"];
|
|
736
|
-
}
|
|
737
|
-
});
|
|
738
|
-
Object.defineProperty(exports, "LoginRequest", {
|
|
739
|
-
enumerable: true,
|
|
740
|
-
get: function get() {
|
|
741
|
-
return _LoginRequest["default"];
|
|
742
|
-
}
|
|
743
|
-
});
|
|
744
714
|
Object.defineProperty(exports, "Monitor", {
|
|
745
715
|
enumerable: true,
|
|
746
716
|
get: function get() {
|
|
@@ -897,6 +867,12 @@ Object.defineProperty(exports, "RepositoryListResponse", {
|
|
|
897
867
|
return _RepositoryListResponse["default"];
|
|
898
868
|
}
|
|
899
869
|
});
|
|
870
|
+
Object.defineProperty(exports, "RepositoryRecord", {
|
|
871
|
+
enumerable: true,
|
|
872
|
+
get: function get() {
|
|
873
|
+
return _RepositoryRecord["default"];
|
|
874
|
+
}
|
|
875
|
+
});
|
|
900
876
|
Object.defineProperty(exports, "RepositoryTokenRequest", {
|
|
901
877
|
enumerable: true,
|
|
902
878
|
get: function get() {
|
|
@@ -975,6 +951,48 @@ Object.defineProperty(exports, "SimUsage", {
|
|
|
975
951
|
return _SimUsage["default"];
|
|
976
952
|
}
|
|
977
953
|
});
|
|
954
|
+
Object.defineProperty(exports, "Skill", {
|
|
955
|
+
enumerable: true,
|
|
956
|
+
get: function get() {
|
|
957
|
+
return _Skill["default"];
|
|
958
|
+
}
|
|
959
|
+
});
|
|
960
|
+
Object.defineProperty(exports, "SkillLinks", {
|
|
961
|
+
enumerable: true,
|
|
962
|
+
get: function get() {
|
|
963
|
+
return _SkillLinks["default"];
|
|
964
|
+
}
|
|
965
|
+
});
|
|
966
|
+
Object.defineProperty(exports, "SkillSet", {
|
|
967
|
+
enumerable: true,
|
|
968
|
+
get: function get() {
|
|
969
|
+
return _SkillSet["default"];
|
|
970
|
+
}
|
|
971
|
+
});
|
|
972
|
+
Object.defineProperty(exports, "SkillSummary", {
|
|
973
|
+
enumerable: true,
|
|
974
|
+
get: function get() {
|
|
975
|
+
return _SkillSummary["default"];
|
|
976
|
+
}
|
|
977
|
+
});
|
|
978
|
+
Object.defineProperty(exports, "SkillWrite", {
|
|
979
|
+
enumerable: true,
|
|
980
|
+
get: function get() {
|
|
981
|
+
return _SkillWrite["default"];
|
|
982
|
+
}
|
|
983
|
+
});
|
|
984
|
+
Object.defineProperty(exports, "SkillWriteResult", {
|
|
985
|
+
enumerable: true,
|
|
986
|
+
get: function get() {
|
|
987
|
+
return _SkillWriteResult["default"];
|
|
988
|
+
}
|
|
989
|
+
});
|
|
990
|
+
Object.defineProperty(exports, "SkillsApi", {
|
|
991
|
+
enumerable: true,
|
|
992
|
+
get: function get() {
|
|
993
|
+
return _SkillsApi["default"];
|
|
994
|
+
}
|
|
995
|
+
});
|
|
978
996
|
Object.defineProperty(exports, "SlackBearerNotification", {
|
|
979
997
|
enumerable: true,
|
|
980
998
|
get: function get() {
|
|
@@ -1186,11 +1204,6 @@ var _Fleet = _interopRequireDefault(require("./model/Fleet"));
|
|
|
1186
1204
|
var _FleetConnectivityAssurance = _interopRequireDefault(require("./model/FleetConnectivityAssurance"));
|
|
1187
1205
|
var _GetAlerts200Response = _interopRequireDefault(require("./model/GetAlerts200Response"));
|
|
1188
1206
|
var _GetApiUsage200Response = _interopRequireDefault(require("./model/GetApiUsage200Response"));
|
|
1189
|
-
var _GetBillingAccount200Response = _interopRequireDefault(require("./model/GetBillingAccount200Response"));
|
|
1190
|
-
var _GetBillingAccount200ResponsePlan = _interopRequireDefault(require("./model/GetBillingAccount200ResponsePlan"));
|
|
1191
|
-
var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("./model/GetBillingAccountBalanceHistory200Response"));
|
|
1192
|
-
var _GetBillingAccountBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./model/GetBillingAccountBalanceHistory200ResponseDataInner"));
|
|
1193
|
-
var _GetBillingAccounts200Response = _interopRequireDefault(require("./model/GetBillingAccounts200Response"));
|
|
1194
1207
|
var _GetDataUsage200Response = _interopRequireDefault(require("./model/GetDataUsage200Response"));
|
|
1195
1208
|
var _GetDataUsage200ResponseDataInner = _interopRequireDefault(require("./model/GetDataUsage200ResponseDataInner"));
|
|
1196
1209
|
var _GetDbNote200Response = _interopRequireDefault(require("./model/GetDbNote200Response"));
|
|
@@ -1209,10 +1222,13 @@ var _GetDevicePublicKeys200ResponseDevicePublicKeysInner = _interopRequireDefaul
|
|
|
1209
1222
|
var _GetDeviceSessions200Response = _interopRequireDefault(require("./model/GetDeviceSessions200Response"));
|
|
1210
1223
|
var _GetDevices200Response = _interopRequireDefault(require("./model/GetDevices200Response"));
|
|
1211
1224
|
var _GetEvents200Response = _interopRequireDefault(require("./model/GetEvents200Response"));
|
|
1212
|
-
var _GetEventsByCursor200Response = _interopRequireDefault(require("./model/GetEventsByCursor200Response"));
|
|
1213
1225
|
var _GetJobRuns200Response = _interopRequireDefault(require("./model/GetJobRuns200Response"));
|
|
1214
1226
|
var _GetJobs200Response = _interopRequireDefault(require("./model/GetJobs200Response"));
|
|
1215
1227
|
var _GetNotefile200Response = _interopRequireDefault(require("./model/GetNotefile200Response"));
|
|
1228
|
+
var _GetOrganization200Response = _interopRequireDefault(require("./model/GetOrganization200Response"));
|
|
1229
|
+
var _GetOrganization200ResponsePlan = _interopRequireDefault(require("./model/GetOrganization200ResponsePlan"));
|
|
1230
|
+
var _GetOrganizationBalanceHistory200Response = _interopRequireDefault(require("./model/GetOrganizationBalanceHistory200Response"));
|
|
1231
|
+
var _GetOrganizationBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./model/GetOrganizationBalanceHistory200ResponseDataInner"));
|
|
1216
1232
|
var _GetOrganizations200Response = _interopRequireDefault(require("./model/GetOrganizations200Response"));
|
|
1217
1233
|
var _GetProducts200Response = _interopRequireDefault(require("./model/GetProducts200Response"));
|
|
1218
1234
|
var _GetProjectMembers200Response = _interopRequireDefault(require("./model/GetProjectMembers200Response"));
|
|
@@ -1232,8 +1248,6 @@ var _JobDetail = _interopRequireDefault(require("./model/JobDetail"));
|
|
|
1232
1248
|
var _JobDetailAllOf = _interopRequireDefault(require("./model/JobDetailAllOf"));
|
|
1233
1249
|
var _JobRun = _interopRequireDefault(require("./model/JobRun"));
|
|
1234
1250
|
var _Location = _interopRequireDefault(require("./model/Location"));
|
|
1235
|
-
var _Login200Response = _interopRequireDefault(require("./model/Login200Response"));
|
|
1236
|
-
var _LoginRequest = _interopRequireDefault(require("./model/LoginRequest"));
|
|
1237
1251
|
var _Monitor = _interopRequireDefault(require("./model/Monitor"));
|
|
1238
1252
|
var _MonitorAlertRoutesInner = _interopRequireDefault(require("./model/MonitorAlertRoutesInner"));
|
|
1239
1253
|
var _MqttRoute = _interopRequireDefault(require("./model/MqttRoute"));
|
|
@@ -1257,6 +1271,7 @@ var _QubitroRoute = _interopRequireDefault(require("./model/QubitroRoute"));
|
|
|
1257
1271
|
var _RadRoute = _interopRequireDefault(require("./model/RadRoute"));
|
|
1258
1272
|
var _Repository = _interopRequireDefault(require("./model/Repository"));
|
|
1259
1273
|
var _RepositoryListResponse = _interopRequireDefault(require("./model/RepositoryListResponse"));
|
|
1274
|
+
var _RepositoryRecord = _interopRequireDefault(require("./model/RepositoryRecord"));
|
|
1260
1275
|
var _RepositoryTokenRequest = _interopRequireDefault(require("./model/RepositoryTokenRequest"));
|
|
1261
1276
|
var _RepositoryTokenResponse = _interopRequireDefault(require("./model/RepositoryTokenResponse"));
|
|
1262
1277
|
var _Role = _interopRequireDefault(require("./model/Role"));
|
|
@@ -1269,6 +1284,12 @@ var _SatellitePlan = _interopRequireDefault(require("./model/SatellitePlan"));
|
|
|
1269
1284
|
var _SchemaProperty = _interopRequireDefault(require("./model/SchemaProperty"));
|
|
1270
1285
|
var _SignalDevice200Response = _interopRequireDefault(require("./model/SignalDevice200Response"));
|
|
1271
1286
|
var _SimUsage = _interopRequireDefault(require("./model/SimUsage"));
|
|
1287
|
+
var _Skill = _interopRequireDefault(require("./model/Skill"));
|
|
1288
|
+
var _SkillLinks = _interopRequireDefault(require("./model/SkillLinks"));
|
|
1289
|
+
var _SkillSet = _interopRequireDefault(require("./model/SkillSet"));
|
|
1290
|
+
var _SkillSummary = _interopRequireDefault(require("./model/SkillSummary"));
|
|
1291
|
+
var _SkillWrite = _interopRequireDefault(require("./model/SkillWrite"));
|
|
1292
|
+
var _SkillWriteResult = _interopRequireDefault(require("./model/SkillWriteResult"));
|
|
1272
1293
|
var _SlackBearerNotification = _interopRequireDefault(require("./model/SlackBearerNotification"));
|
|
1273
1294
|
var _SlackRoute = _interopRequireDefault(require("./model/SlackRoute"));
|
|
1274
1295
|
var _SlackWebHookNotification = _interopRequireDefault(require("./model/SlackWebHookNotification"));
|
|
@@ -1293,7 +1314,6 @@ var _UserFirmwareInfo = _interopRequireDefault(require("./model/UserFirmwareInfo
|
|
|
1293
1314
|
var _WebhookSettings = _interopRequireDefault(require("./model/WebhookSettings"));
|
|
1294
1315
|
var _AlertApi = _interopRequireDefault(require("./api/AlertApi"));
|
|
1295
1316
|
var _AuthorizationApi = _interopRequireDefault(require("./api/AuthorizationApi"));
|
|
1296
|
-
var _BillingAccountApi = _interopRequireDefault(require("./api/BillingAccountApi"));
|
|
1297
1317
|
var _DescriptionApi = _interopRequireDefault(require("./api/DescriptionApi"));
|
|
1298
1318
|
var _DeviceApi = _interopRequireDefault(require("./api/DeviceApi"));
|
|
1299
1319
|
var _EventApi = _interopRequireDefault(require("./api/EventApi"));
|
|
@@ -1303,6 +1323,7 @@ var _MonitorApi = _interopRequireDefault(require("./api/MonitorApi"));
|
|
|
1303
1323
|
var _OrganizationApi = _interopRequireDefault(require("./api/OrganizationApi"));
|
|
1304
1324
|
var _ProjectApi = _interopRequireDefault(require("./api/ProjectApi"));
|
|
1305
1325
|
var _RouteApi = _interopRequireDefault(require("./api/RouteApi"));
|
|
1326
|
+
var _SkillsApi = _interopRequireDefault(require("./api/SkillsApi"));
|
|
1306
1327
|
var _UsageApi = _interopRequireDefault(require("./api/UsageApi"));
|
|
1307
1328
|
var _WebhookApi = _interopRequireDefault(require("./api/WebhookApi"));
|
|
1308
1329
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The AWSRoleConfig model module.
|
|
31
31
|
* @module model/AWSRoleConfig
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.71
|
|
33
33
|
*/
|
|
34
34
|
var AWSRoleConfig = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,13 +29,13 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The AddDeviceToFleetsRequest model module.
|
|
31
31
|
* @module model/AddDeviceToFleetsRequest
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.71
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>AddDeviceToFleetsRequest</code>.
|
|
37
37
|
* @alias module:model/AddDeviceToFleetsRequest
|
|
38
|
-
* @param fleetUids {Array.<String>}
|
|
38
|
+
* @param fleetUids {Array.<String>} FleetUIDs to add the device to.
|
|
39
39
|
*/
|
|
40
40
|
function AddDeviceToFleetsRequest(fleetUids) {
|
|
41
41
|
_classCallCheck(this, AddDeviceToFleetsRequest);
|
|
@@ -108,7 +108,7 @@ var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
|
108
108
|
AddDeviceToFleetsRequest.RequiredProperties = ["fleet_uids"];
|
|
109
109
|
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* FleetUIDs to add the device to.
|
|
112
112
|
* @member {Array.<String>} fleet_uids
|
|
113
113
|
*/
|
|
114
114
|
AddDeviceToFleetsRequest.prototype["fleet_uids"] = undefined;
|
package/dist/model/Alert.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* The Alert model module.
|
|
33
33
|
* @module model/Alert
|
|
34
|
-
* @version 6.7.0-beta.
|
|
34
|
+
* @version 6.7.0-beta.71
|
|
35
35
|
*/
|
|
36
36
|
var Alert = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
|
@@ -214,7 +214,7 @@ Alert.prototype["created_at"] = undefined;
|
|
|
214
214
|
Alert.prototype["data"] = undefined;
|
|
215
215
|
|
|
216
216
|
/**
|
|
217
|
-
*
|
|
217
|
+
* DeviceUID
|
|
218
218
|
* @member {String} device_uid
|
|
219
219
|
*/
|
|
220
220
|
Alert.prototype["device_uid"] = undefined;
|
|
@@ -238,7 +238,7 @@ Alert.prototype["monitor_name"] = undefined;
|
|
|
238
238
|
Alert.prototype["monitor_type"] = undefined;
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
*
|
|
241
|
+
* MonitorUID
|
|
242
242
|
* @member {String} monitor_uid
|
|
243
243
|
*/
|
|
244
244
|
Alert.prototype["monitor_uid"] = undefined;
|
|
@@ -261,7 +261,7 @@ Alert.prototype["resolved"] = undefined;
|
|
|
261
261
|
Alert.prototype["source"] = undefined;
|
|
262
262
|
|
|
263
263
|
/**
|
|
264
|
-
*
|
|
264
|
+
* AlertUID
|
|
265
265
|
* @member {String} uid
|
|
266
266
|
*/
|
|
267
267
|
Alert.prototype["uid"] = undefined;
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertDataInner model module.
|
|
28
28
|
* @module model/AlertDataInner
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.71
|
|
30
30
|
*/
|
|
31
31
|
var AlertDataInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertNotificationsInner model module.
|
|
28
28
|
* @module model/AlertNotificationsInner
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.71
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The ArchiveStats model module.
|
|
28
28
|
* @module model/ArchiveStats
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.71
|
|
30
30
|
*/
|
|
31
31
|
var ArchiveStats = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/AwsRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The AwsRoute model module.
|
|
30
30
|
* @module model/AwsRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.71
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|