@blues-inc/notehub-js 6.7.0-beta.73 → 6.7.0-beta.75
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 +130 -129
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +5 -5
- package/dist/api/DescriptionApi.js +49 -33
- package/dist/api/DeviceApi.js +177 -115
- package/dist/api/EventApi.js +51 -45
- package/dist/api/ExternalDevicesApi.js +19 -13
- package/dist/api/JobsApi.js +57 -39
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +17 -11
- package/dist/api/ProjectApi.js +237 -149
- package/dist/api/RouteApi.js +47 -35
- package/dist/api/SkillsApi.js +17 -17
- package/dist/api/UsageApi.js +59 -49
- package/dist/api/WebhookApi.js +67 -45
- package/dist/index.js +7 -0
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- 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 +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 +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 +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 +2 -1
- 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 +2 -2
- 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 +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 +1 -1
- 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 +2 -2
- package/dist/model/GetDataUsage200Response.js +2 -2
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +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/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +2 -2
- package/dist/model/GetSessionsUsage200Response.js +3 -3
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +7 -4
- 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 +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 +5 -3
- 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/RepositoryRecord.js +119 -0
- 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 +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 +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 +2 -2
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +4 -4
- package/package.json +1 -1
package/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.75
|
|
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
|
|
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
|
|
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`, adding the device if it's new. The DeviceUID is lower-cased and gets `dev:ext:` unless it has its own sub-prefix, so `dev:abc` becomes `dev:ext:abc`, not an existing Notecard. 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
|
|
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`, adding the device if it's new. The DeviceUID is lower-cased and gets `dev:ext:` unless it has its own sub-prefix, so `dev:abc` becomes `dev:ext:abc`, not an existing Notecard. 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
|
|
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 body becomes the event body, in `<webhookUID>.qo`, from `dev:ext:webhook`; a `transform` can change all three, but must set `body`. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails or sets no `body`, and 500 if the webhook is disabled.
|
|
212
219
|
* @param {String} productUID
|
|
213
|
-
* @param {String} webhookUID
|
|
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 body becomes the event body, in `<webhookUID>.qo`, from `dev:ext:webhook`; a `transform` can change all three, but must set `body`. For a specific device, use `CreateWebhookDeviceEventByProduct`. Requires the Owner or Developer role. Returns 400 if the transform fails or sets no `body`, and 500 if the webhook is disabled.
|
|
249
257
|
* @param {String} productUID
|
|
250
|
-
* @param {String} webhookUID
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
@@ -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"));
|
|
@@ -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.75
|
|
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.75
|
|
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
|
@@ -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.75
|
|
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.75
|
|
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.75
|
|
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.75
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/AzureRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The AzureRoute model module.
|
|
30
30
|
* @module model/AzureRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.75
|
|
32
32
|
*/
|
|
33
33
|
var AzureRoute = /*#__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
|
* The BatchJobNoteRequest model module.
|
|
31
31
|
* @module model/BatchJobNoteRequest
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.75
|
|
33
33
|
*/
|
|
34
34
|
var BatchJobNoteRequest = /*#__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
|
* The BatchJobRequests model module.
|
|
32
32
|
* @module model/BatchJobRequests
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.75
|
|
34
34
|
*/
|
|
35
35
|
var BatchJobRequests = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
30
|
/**
|
|
31
31
|
* The BillingAccount model module.
|
|
32
32
|
* @module model/BillingAccount
|
|
33
|
-
* @version 6.7.0-beta.
|
|
33
|
+
* @version 6.7.0-beta.75
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccount = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/model/BlynkRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* The BlynkRoute model module.
|
|
30
30
|
* @module model/BlynkRoute
|
|
31
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.75
|
|
32
32
|
*/
|
|
33
33
|
var BlynkRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/Body.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
26
26
|
/**
|
|
27
27
|
* The Body model module.
|
|
28
28
|
* @module model/Body
|
|
29
|
-
* @version 6.7.0-beta.
|
|
29
|
+
* @version 6.7.0-beta.75
|
|
30
30
|
*/
|
|
31
31
|
var Body = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -81,6 +81,7 @@ var Body = /*#__PURE__*/function () {
|
|
|
81
81
|
}]);
|
|
82
82
|
}();
|
|
83
83
|
/**
|
|
84
|
+
* The JSON object to send to the Notecard. Must not have a `type` field, which the Notecard reserves.
|
|
84
85
|
* @member {Object} body
|
|
85
86
|
*/
|
|
86
87
|
Body.prototype["body"] = undefined;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CancelJobRun200Response model module.
|
|
31
31
|
* @module model/CancelJobRun200Response
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.75
|
|
33
33
|
*/
|
|
34
34
|
var CancelJobRun200Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
/**
|
|
28
28
|
* The CellularPlan model module.
|
|
29
29
|
* @module model/CellularPlan
|
|
30
|
-
* @version 6.7.0-beta.
|
|
30
|
+
* @version 6.7.0-beta.75
|
|
31
31
|
*/
|
|
32
32
|
var CellularPlan = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -131,6 +131,7 @@ CellularPlan.prototype["activated"] = undefined;
|
|
|
131
131
|
CellularPlan.prototype["data_usage"] = undefined;
|
|
132
132
|
|
|
133
133
|
/**
|
|
134
|
+
* When the current plan expires, as a Unix timestamp in seconds. Omitted on the Essentials plan.
|
|
134
135
|
* @member {Number} expires_at
|
|
135
136
|
*/
|
|
136
137
|
CellularPlan.prototype["expires_at"] = undefined;
|
|
@@ -148,7 +149,7 @@ CellularPlan.prototype["iccid"] = undefined;
|
|
|
148
149
|
CellularPlan.prototype["imsi"] = undefined;
|
|
149
150
|
|
|
150
151
|
/**
|
|
151
|
-
*
|
|
152
|
+
* When this plan information was last updated, as a Unix timestamp in seconds.
|
|
152
153
|
* @member {Number} last_updated
|
|
153
154
|
*/
|
|
154
155
|
CellularPlan.prototype["last_updated"] = undefined;
|
|
@@ -29,14 +29,14 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CloneProjectRequest model module.
|
|
31
31
|
* @module model/CloneProjectRequest
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.75
|
|
33
33
|
*/
|
|
34
34
|
var CloneProjectRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
36
|
* Constructs a new <code>CloneProjectRequest</code>.
|
|
37
37
|
* @alias module:model/CloneProjectRequest
|
|
38
|
-
* @param billingAccountUid {String}
|
|
39
|
-
* @param label {String}
|
|
38
|
+
* @param billingAccountUid {String} UID of the organization that owns the new project. List them with `GetBillingAccounts`.
|
|
39
|
+
* @param label {String} Name of the new project.
|
|
40
40
|
*/
|
|
41
41
|
function CloneProjectRequest(billingAccountUid, label) {
|
|
42
42
|
_classCallCheck(this, CloneProjectRequest);
|
|
@@ -123,25 +123,25 @@ var CloneProjectRequest = /*#__PURE__*/function () {
|
|
|
123
123
|
CloneProjectRequest.RequiredProperties = ["billing_account_uid", "label"];
|
|
124
124
|
|
|
125
125
|
/**
|
|
126
|
-
*
|
|
126
|
+
* UID of the organization that owns the new project. List them with `GetBillingAccounts`.
|
|
127
127
|
* @member {String} billing_account_uid
|
|
128
128
|
*/
|
|
129
129
|
CloneProjectRequest.prototype["billing_account_uid"] = undefined;
|
|
130
130
|
|
|
131
131
|
/**
|
|
132
|
-
*
|
|
132
|
+
* If `true`, the new project gets one default fleet instead of copies of this project's fleets. Default `false`.
|
|
133
133
|
* @member {Boolean} disable_clone_fleets
|
|
134
134
|
*/
|
|
135
135
|
CloneProjectRequest.prototype["disable_clone_fleets"] = undefined;
|
|
136
136
|
|
|
137
137
|
/**
|
|
138
|
-
*
|
|
138
|
+
* If `true`, the new project starts with no routes. Default `false`.
|
|
139
139
|
* @member {Boolean} disable_clone_routes
|
|
140
140
|
*/
|
|
141
141
|
CloneProjectRequest.prototype["disable_clone_routes"] = undefined;
|
|
142
142
|
|
|
143
143
|
/**
|
|
144
|
-
*
|
|
144
|
+
* Name of the new project.
|
|
145
145
|
* @member {String} label
|
|
146
146
|
*/
|
|
147
147
|
CloneProjectRequest.prototype["label"] = undefined;
|
package/dist/model/Contact.js
CHANGED
|
@@ -27,7 +27,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
27
27
|
/**
|
|
28
28
|
* The CreateFleetRequest model module.
|
|
29
29
|
* @module model/CreateFleetRequest
|
|
30
|
-
* @version 6.7.0-beta.
|
|
30
|
+
* @version 6.7.0-beta.75
|
|
31
31
|
*/
|
|
32
32
|
var CreateFleetRequest = /*#__PURE__*/function () {
|
|
33
33
|
/**
|
|
@@ -109,18 +109,19 @@ var CreateFleetRequest = /*#__PURE__*/function () {
|
|
|
109
109
|
CreateFleetRequest.prototype["connectivity_assurance"] = undefined;
|
|
110
110
|
|
|
111
111
|
/**
|
|
112
|
-
*
|
|
112
|
+
* Fleet name shown in Notehub. Required.
|
|
113
113
|
* @member {String} label
|
|
114
114
|
*/
|
|
115
115
|
CreateFleetRequest.prototype["label"] = undefined;
|
|
116
116
|
|
|
117
117
|
/**
|
|
118
|
-
* JSONata expression
|
|
118
|
+
* JSONata expression for smart fleet membership: `1` adds the device, `-1` removes it, and `0` or an error leaves it unchanged.
|
|
119
119
|
* @member {String} smart_rule
|
|
120
120
|
*/
|
|
121
121
|
CreateFleetRequest.prototype["smart_rule"] = undefined;
|
|
122
122
|
|
|
123
123
|
/**
|
|
124
|
+
* If `true`, `smart_rule` adds and removes devices. Default `false`.
|
|
124
125
|
* @member {Boolean} smart_rule_enabled
|
|
125
126
|
*/
|
|
126
127
|
CreateFleetRequest.prototype["smart_rule_enabled"] = undefined;
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* The CreateJob201Response model module.
|
|
31
31
|
* @module model/CreateJob201Response
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.75
|
|
33
33
|
*/
|
|
34
34
|
var CreateJob201Response = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
31
31
|
/**
|
|
32
32
|
* The CreateMonitor model module.
|
|
33
33
|
* @module model/CreateMonitor
|
|
34
|
-
* @version 6.7.0-beta.
|
|
34
|
+
* @version 6.7.0-beta.75
|
|
35
35
|
*/
|
|
36
36
|
var CreateMonitor = /*#__PURE__*/function () {
|
|
37
37
|
/**
|