@blues-inc/notehub-js 6.7.0 → 7.0.0-beta.1
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 +156 -152
- package/dist/ApiClient.js +3 -3
- package/dist/api/AlertApi.js +17 -12
- package/dist/api/AuthorizationApi.js +12 -51
- package/dist/api/DescriptionApi.js +58 -42
- package/dist/api/DeviceApi.js +434 -291
- package/dist/api/EventApi.js +88 -221
- package/dist/api/ExternalDevicesApi.js +32 -26
- package/dist/api/JobsApi.js +76 -58
- package/dist/api/MonitorApi.js +38 -28
- package/dist/api/OrganizationApi.js +26 -20
- package/dist/api/ProjectApi.js +424 -330
- package/dist/api/RouteApi.js +69 -54
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +84 -74
- package/dist/api/WebhookApi.js +96 -74
- package/dist/index.js +91 -63
- package/dist/model/AWSRoleConfig.js +2 -2
- package/dist/model/AddDeviceToFleetsRequest.js +4 -4
- package/dist/model/Alert.js +17 -10
- package/dist/model/AlertDataInner.js +10 -5
- package/dist/model/AlertNotificationsInner.js +15 -5
- package/dist/model/ArchiveStats.js +2 -2
- package/dist/model/AwsRoute.js +15 -3
- package/dist/model/AzureRoute.js +9 -2
- package/dist/model/BatchJobNoteRequest.js +2 -2
- package/dist/model/BatchJobRequests.js +7 -6
- package/dist/model/BillingAccount.js +6 -4
- package/dist/model/BillingAccountRole.js +1 -1
- package/dist/model/BlynkRoute.js +7 -2
- package/dist/model/Body.js +3 -2
- package/dist/model/CancelJobRun200Response.js +2 -2
- package/dist/model/CellularPlan.js +4 -3
- package/dist/model/CloneProjectRequest.js +8 -8
- package/dist/model/Contact.js +6 -2
- package/dist/model/CreateFleetRequest.js +5 -4
- package/dist/model/CreateJob201Response.js +2 -2
- package/dist/model/CreateMonitor.js +38 -26
- package/dist/model/CreateProductRequest.js +8 -7
- package/dist/model/CreateProjectRequest.js +6 -6
- package/dist/model/CreateProjectSecretRequest.js +6 -6
- package/dist/model/CreateUpdateRepository.js +4 -2
- package/dist/model/CreatedRepository.js +6 -6
- package/dist/model/CurrentFirmware.js +2 -2
- package/dist/model/DFUEnv.js +2 -2
- package/dist/model/DFUState.js +3 -2
- package/dist/model/DataField.js +2 -2
- package/dist/model/DataSet.js +6 -5
- package/dist/model/DataSetField.js +3 -3
- package/dist/model/DataUsage.js +2 -2
- package/dist/model/DatacakeRoute.js +8 -2
- package/dist/model/DatasetReloadProgress.js +2 -2
- package/dist/model/DeleteDeviceFromFleetsRequest.js +4 -4
- package/dist/model/DeleteJob200Response.js +2 -2
- package/dist/model/DeleteNotefilesRequest.js +3 -3
- package/dist/model/DescriptionRecord.js +7 -7
- package/dist/model/DescriptionRecordList.js +4 -3
- package/dist/model/Device.js +37 -9
- package/dist/model/DeviceDfuHistory.js +13 -3
- package/dist/model/DeviceDfuHistoryCurrent.js +3 -3
- package/dist/model/DeviceDfuHistoryPage.js +17 -2
- package/dist/model/DeviceDfuStateMachine.js +3 -2
- package/dist/model/DeviceDfuStateMachineNode.js +3 -3
- package/dist/model/DeviceDfuStatus.js +13 -4
- package/dist/model/DeviceDfuStatusPage.js +17 -2
- package/dist/model/DeviceSensor.js +2 -2
- package/dist/model/DeviceSession.js +38 -6
- package/dist/model/DeviceTowerInfo.js +7 -2
- package/dist/model/DeviceUsage.js +8 -2
- package/dist/model/DfuActionRequest.js +3 -3
- package/dist/model/EmailNotification.js +30 -7
- package/dist/model/EnvTreeJsonNode.js +18 -7
- package/dist/model/EnvVar.js +6 -2
- package/dist/model/EnvironmentVariables.js +4 -3
- package/dist/model/Error.js +5 -2
- package/dist/model/Event.js +17 -8
- package/dist/model/Filter.js +6 -6
- package/dist/model/Firmware.js +2 -2
- package/dist/model/FirmwareInfo.js +7 -7
- package/dist/model/Fleet.js +12 -11
- package/dist/model/FleetConnectivityAssurance.js +2 -2
- package/dist/model/GetAlerts200Response.js +15 -2
- package/dist/model/GetApiUsage200Response.js +3 -3
- package/dist/model/GetDataUsage200Response.js +3 -3
- package/dist/model/GetDataUsage200ResponseDataInner.js +4 -4
- package/dist/model/GetDbNote200Response.js +2 -2
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +2 -2
- package/dist/model/GetDeviceFleets200Response.js +2 -2
- package/dist/model/GetDeviceHealthLog200Response.js +2 -2
- package/dist/model/GetDeviceJourney200Response.js +2 -2
- package/dist/model/GetDeviceJourney200ResponseJourney.js +2 -2
- package/dist/model/GetDeviceJourneys200Response.js +2 -2
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +2 -2
- package/dist/model/GetDeviceLatestEvents200Response.js +3 -3
- package/dist/model/GetDevicePlans200Response.js +3 -2
- package/dist/model/GetDevicePublicKey200Response.js +6 -4
- package/dist/model/GetDevicePublicKeys200Response.js +15 -2
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +13 -2
- package/dist/model/GetDeviceSessions200Response.js +15 -2
- package/dist/model/GetDevices200Response.js +15 -2
- package/dist/model/GetEvents200Response.js +15 -2
- package/dist/model/GetJobRuns200Response.js +2 -2
- package/dist/model/GetJobs200Response.js +2 -2
- package/dist/model/GetNotefile200Response.js +2 -2
- package/dist/model/{GetBillingAccount200Response.js → GetOrganization200Response.js} +29 -29
- package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +25 -25
- package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +23 -23
- package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +23 -23
- package/dist/model/GetOrganizations200Response.js +2 -2
- package/dist/model/GetProducts200Response.js +2 -2
- package/dist/model/GetProjectMembers200Response.js +2 -2
- package/dist/model/GetProjectSecretsResponse.js +4 -3
- package/dist/model/GetProjects200Response.js +2 -2
- package/dist/model/GetRouteLogsUsage200Response.js +3 -3
- package/dist/model/GetSessionsUsage200Response.js +4 -4
- package/dist/model/GetWebhooks200Response.js +2 -2
- package/dist/model/GoogleRoute.js +7 -2
- package/dist/model/HealthLog.js +8 -5
- package/dist/model/HttpRoute.js +8 -3
- package/dist/model/Job.js +2 -2
- package/dist/model/JobDefinition.js +3 -3
- package/dist/model/JobDefinitionReportOptions.js +3 -2
- package/dist/model/JobDefinitionSelect.js +5 -4
- package/dist/model/JobDetail.js +2 -2
- package/dist/model/JobDetailAllOf.js +2 -2
- package/dist/model/JobRun.js +2 -2
- package/dist/model/Location.js +14 -8
- package/dist/model/Monitor.js +19 -13
- package/dist/model/MonitorAlertRoutesInner.js +61 -15
- package/dist/model/MqttRoute.js +15 -2
- package/dist/model/Note.js +3 -3
- package/dist/model/NoteInput.js +2 -2
- package/dist/model/Notefile.js +5 -3
- package/dist/model/NotefileSchema.js +6 -4
- package/dist/model/NotehubRoute.js +8 -4
- package/dist/model/NotehubRouteSummary.js +7 -2
- package/dist/model/OAuth2Error.js +2 -2
- package/dist/model/OAuth2TokenResponse.js +2 -2
- package/dist/model/Organization.js +6 -4
- package/dist/model/OrganizationRole.js +1 -1
- package/dist/model/Product.js +9 -5
- package/dist/model/Project.js +8 -5
- package/dist/model/ProjectMember.js +6 -5
- package/dist/model/ProjectSecret.js +8 -8
- package/dist/model/ProvisionDeviceRequest.js +6 -6
- package/dist/model/ProxyRoute.js +7 -2
- package/dist/model/QubitroRoute.js +8 -2
- package/dist/model/RadRoute.js +10 -2
- package/dist/model/Repository.js +4 -4
- package/dist/model/RepositoryListResponse.js +4 -3
- package/dist/model/RepositoryRecord.js +119 -0
- package/dist/model/RepositoryTokenRequest.js +2 -2
- package/dist/model/RepositoryTokenResponse.js +2 -2
- package/dist/model/Role.js +1 -1
- package/dist/model/RouteLog.js +10 -10
- package/dist/model/RouteTransformSettings.js +6 -6
- package/dist/model/RunJob200Response.js +2 -2
- package/dist/model/S3ArchiveRoute.js +17 -2
- package/dist/model/SatelliteDataUsage.js +2 -2
- package/dist/model/SatellitePlan.js +2 -2
- package/dist/model/SchemaProperty.js +7 -5
- package/dist/model/SignalDevice200Response.js +3 -3
- package/dist/model/SimUsage.js +2 -2
- package/dist/model/Skill.js +210 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +60 -41
- package/dist/model/SkillSet.js +185 -0
- package/dist/model/SkillSummary.js +208 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/{GetEventsByCursor200Response.js → SkillWriteResult.js} +62 -65
- package/dist/model/SlackBearerNotification.js +32 -9
- package/dist/model/SlackRoute.js +10 -2
- package/dist/model/SlackWebHookNotification.js +32 -9
- package/dist/model/SnowflakeRoute.js +10 -2
- package/dist/model/SnowpipeStreamingRoute.js +13 -2
- package/dist/model/ThingworxRoute.js +7 -2
- package/dist/model/TowerLocation.js +2 -2
- package/dist/model/TwilioNotification.js +167 -0
- package/dist/model/TwilioRoute.js +10 -2
- package/dist/model/UpdateFleetRequest.js +8 -7
- package/dist/model/UpdateHostFirmwareRequest.js +5 -5
- package/dist/model/UpdateProjectSecretRequest.js +4 -4
- package/dist/model/UploadMetadata.js +2 -2
- package/dist/model/UsageApiData.js +4 -3
- package/dist/model/UsageData.js +8 -4
- package/dist/model/UsageEventsData.js +6 -3
- package/dist/model/UsageEventsResponse.js +5 -4
- package/dist/model/UsageRouteLogsData.js +11 -7
- package/dist/model/UsageSessionsData.js +12 -6
- package/dist/model/UserDfuStateMachine.js +2 -2
- package/dist/model/UserDfuStateMachineStatus.js +2 -2
- package/dist/model/UserFirmwareInfo.js +2 -2
- package/dist/model/WebhookSettings.js +5 -5
- package/package.json +1 -1
- package/dist/api/BillingAccountApi.js +0 -167
- package/dist/model/Login200Response.js +0 -91
- package/dist/model/LoginRequest.js +0 -103
package/dist/api/WebhookApi.js
CHANGED
|
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Webhook service.
|
|
31
31
|
* @module api/WebhookApi
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,9 +45,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
*
|
|
50
|
-
* @param {String}
|
|
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`.
|
|
50
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
51
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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.
|
|
52
53
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
53
54
|
*/
|
|
@@ -82,9 +83,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
82
83
|
}
|
|
83
84
|
|
|
84
85
|
/**
|
|
85
|
-
*
|
|
86
|
-
*
|
|
87
|
-
* @param {String}
|
|
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`.
|
|
88
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
89
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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.
|
|
89
91
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
90
92
|
*/
|
|
@@ -97,9 +99,10 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
97
99
|
}
|
|
98
100
|
|
|
99
101
|
/**
|
|
100
|
-
*
|
|
101
|
-
*
|
|
102
|
-
* @param {String}
|
|
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 `_`.
|
|
104
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
138
|
-
*
|
|
139
|
-
* @param {String}
|
|
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 `_`.
|
|
142
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
153
|
-
*
|
|
154
|
-
* @param {String}
|
|
155
|
-
* @param {String}
|
|
156
|
-
* @param {
|
|
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.
|
|
158
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
159
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
160
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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
|
-
*
|
|
196
|
-
*
|
|
197
|
-
* @param {String}
|
|
198
|
-
* @param {String}
|
|
199
|
-
* @param {
|
|
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.
|
|
202
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
203
|
+
* @param {String} webhookUID Webhook ID, e.g. `ttn-uplink`. Use lower case. List with `GetWebhooks`.
|
|
204
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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
|
-
*
|
|
212
|
-
*
|
|
213
|
-
* @param {String}
|
|
214
|
-
* @param {
|
|
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.
|
|
219
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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
|
-
*
|
|
249
|
-
*
|
|
250
|
-
* @param {String}
|
|
251
|
-
* @param {
|
|
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.
|
|
257
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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
|
-
*
|
|
264
|
-
*
|
|
265
|
-
* @param {String}
|
|
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.
|
|
273
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
296
|
-
*
|
|
297
|
-
* @param {String}
|
|
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.
|
|
306
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
310
|
-
*
|
|
311
|
-
* @param {String}
|
|
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.
|
|
321
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
342
|
-
*
|
|
343
|
-
* @param {String}
|
|
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.
|
|
354
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
356
|
-
*
|
|
357
|
-
* @param {String}
|
|
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.
|
|
369
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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
|
-
*
|
|
388
|
-
*
|
|
389
|
-
* @param {String}
|
|
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.
|
|
402
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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,8 +412,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
398
412
|
}
|
|
399
413
|
|
|
400
414
|
/**
|
|
401
|
-
*
|
|
402
|
-
*
|
|
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.
|
|
417
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
*/
|
|
405
420
|
}, {
|
|
@@ -424,8 +439,9 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
424
439
|
}
|
|
425
440
|
|
|
426
441
|
/**
|
|
427
|
-
*
|
|
428
|
-
*
|
|
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.
|
|
444
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
429
445
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetWebhooks200Response}
|
|
430
446
|
*/
|
|
431
447
|
}, {
|
|
@@ -437,11 +453,12 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
437
453
|
}
|
|
438
454
|
|
|
439
455
|
/**
|
|
440
|
-
*
|
|
441
|
-
*
|
|
442
|
-
* @param {String}
|
|
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.
|
|
458
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
459
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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
|
-
*
|
|
476
|
-
*
|
|
477
|
-
* @param {String}
|
|
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.
|
|
494
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
495
|
+
* @param {String} deviceUID DeviceUID, e.g. `dev:864475040509284`. List with `GetDevices`.
|
|
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
|
-
*
|
|
492
|
-
*
|
|
493
|
-
* @param {String}
|
|
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.
|
|
511
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
529
|
-
*
|
|
530
|
-
* @param {String}
|
|
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.
|
|
549
|
+
* @param {String} projectOrProductUID ProjectUID, e.g. `app:2606f411-dea6-44a0-9743-1130f57d77d8`, or one of the project's ProductUIDs.
|
|
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
|
-
*
|
|
544
|
-
*
|
|
545
|
-
* @param {String}
|
|
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 `_`.
|
|
565
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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
|
-
*
|
|
581
|
-
*
|
|
582
|
-
* @param {String}
|
|
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 `_`.
|
|
603
|
+
* @param {String} productUID ProductUID, e.g. `com.blues.bridge:sensors`. List with `GetProducts`.
|
|
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() {
|
|
@@ -1017,6 +1035,12 @@ Object.defineProperty(exports, "TowerLocation", {
|
|
|
1017
1035
|
return _TowerLocation["default"];
|
|
1018
1036
|
}
|
|
1019
1037
|
});
|
|
1038
|
+
Object.defineProperty(exports, "TwilioNotification", {
|
|
1039
|
+
enumerable: true,
|
|
1040
|
+
get: function get() {
|
|
1041
|
+
return _TwilioNotification["default"];
|
|
1042
|
+
}
|
|
1043
|
+
});
|
|
1020
1044
|
Object.defineProperty(exports, "TwilioRoute", {
|
|
1021
1045
|
enumerable: true,
|
|
1022
1046
|
get: function get() {
|
|
@@ -1186,11 +1210,6 @@ var _Fleet = _interopRequireDefault(require("./model/Fleet"));
|
|
|
1186
1210
|
var _FleetConnectivityAssurance = _interopRequireDefault(require("./model/FleetConnectivityAssurance"));
|
|
1187
1211
|
var _GetAlerts200Response = _interopRequireDefault(require("./model/GetAlerts200Response"));
|
|
1188
1212
|
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
1213
|
var _GetDataUsage200Response = _interopRequireDefault(require("./model/GetDataUsage200Response"));
|
|
1195
1214
|
var _GetDataUsage200ResponseDataInner = _interopRequireDefault(require("./model/GetDataUsage200ResponseDataInner"));
|
|
1196
1215
|
var _GetDbNote200Response = _interopRequireDefault(require("./model/GetDbNote200Response"));
|
|
@@ -1209,10 +1228,13 @@ var _GetDevicePublicKeys200ResponseDevicePublicKeysInner = _interopRequireDefaul
|
|
|
1209
1228
|
var _GetDeviceSessions200Response = _interopRequireDefault(require("./model/GetDeviceSessions200Response"));
|
|
1210
1229
|
var _GetDevices200Response = _interopRequireDefault(require("./model/GetDevices200Response"));
|
|
1211
1230
|
var _GetEvents200Response = _interopRequireDefault(require("./model/GetEvents200Response"));
|
|
1212
|
-
var _GetEventsByCursor200Response = _interopRequireDefault(require("./model/GetEventsByCursor200Response"));
|
|
1213
1231
|
var _GetJobRuns200Response = _interopRequireDefault(require("./model/GetJobRuns200Response"));
|
|
1214
1232
|
var _GetJobs200Response = _interopRequireDefault(require("./model/GetJobs200Response"));
|
|
1215
1233
|
var _GetNotefile200Response = _interopRequireDefault(require("./model/GetNotefile200Response"));
|
|
1234
|
+
var _GetOrganization200Response = _interopRequireDefault(require("./model/GetOrganization200Response"));
|
|
1235
|
+
var _GetOrganization200ResponsePlan = _interopRequireDefault(require("./model/GetOrganization200ResponsePlan"));
|
|
1236
|
+
var _GetOrganizationBalanceHistory200Response = _interopRequireDefault(require("./model/GetOrganizationBalanceHistory200Response"));
|
|
1237
|
+
var _GetOrganizationBalanceHistory200ResponseDataInner = _interopRequireDefault(require("./model/GetOrganizationBalanceHistory200ResponseDataInner"));
|
|
1216
1238
|
var _GetOrganizations200Response = _interopRequireDefault(require("./model/GetOrganizations200Response"));
|
|
1217
1239
|
var _GetProducts200Response = _interopRequireDefault(require("./model/GetProducts200Response"));
|
|
1218
1240
|
var _GetProjectMembers200Response = _interopRequireDefault(require("./model/GetProjectMembers200Response"));
|
|
@@ -1232,8 +1254,6 @@ var _JobDetail = _interopRequireDefault(require("./model/JobDetail"));
|
|
|
1232
1254
|
var _JobDetailAllOf = _interopRequireDefault(require("./model/JobDetailAllOf"));
|
|
1233
1255
|
var _JobRun = _interopRequireDefault(require("./model/JobRun"));
|
|
1234
1256
|
var _Location = _interopRequireDefault(require("./model/Location"));
|
|
1235
|
-
var _Login200Response = _interopRequireDefault(require("./model/Login200Response"));
|
|
1236
|
-
var _LoginRequest = _interopRequireDefault(require("./model/LoginRequest"));
|
|
1237
1257
|
var _Monitor = _interopRequireDefault(require("./model/Monitor"));
|
|
1238
1258
|
var _MonitorAlertRoutesInner = _interopRequireDefault(require("./model/MonitorAlertRoutesInner"));
|
|
1239
1259
|
var _MqttRoute = _interopRequireDefault(require("./model/MqttRoute"));
|
|
@@ -1257,6 +1277,7 @@ var _QubitroRoute = _interopRequireDefault(require("./model/QubitroRoute"));
|
|
|
1257
1277
|
var _RadRoute = _interopRequireDefault(require("./model/RadRoute"));
|
|
1258
1278
|
var _Repository = _interopRequireDefault(require("./model/Repository"));
|
|
1259
1279
|
var _RepositoryListResponse = _interopRequireDefault(require("./model/RepositoryListResponse"));
|
|
1280
|
+
var _RepositoryRecord = _interopRequireDefault(require("./model/RepositoryRecord"));
|
|
1260
1281
|
var _RepositoryTokenRequest = _interopRequireDefault(require("./model/RepositoryTokenRequest"));
|
|
1261
1282
|
var _RepositoryTokenResponse = _interopRequireDefault(require("./model/RepositoryTokenResponse"));
|
|
1262
1283
|
var _Role = _interopRequireDefault(require("./model/Role"));
|
|
@@ -1269,6 +1290,12 @@ var _SatellitePlan = _interopRequireDefault(require("./model/SatellitePlan"));
|
|
|
1269
1290
|
var _SchemaProperty = _interopRequireDefault(require("./model/SchemaProperty"));
|
|
1270
1291
|
var _SignalDevice200Response = _interopRequireDefault(require("./model/SignalDevice200Response"));
|
|
1271
1292
|
var _SimUsage = _interopRequireDefault(require("./model/SimUsage"));
|
|
1293
|
+
var _Skill = _interopRequireDefault(require("./model/Skill"));
|
|
1294
|
+
var _SkillLinks = _interopRequireDefault(require("./model/SkillLinks"));
|
|
1295
|
+
var _SkillSet = _interopRequireDefault(require("./model/SkillSet"));
|
|
1296
|
+
var _SkillSummary = _interopRequireDefault(require("./model/SkillSummary"));
|
|
1297
|
+
var _SkillWrite = _interopRequireDefault(require("./model/SkillWrite"));
|
|
1298
|
+
var _SkillWriteResult = _interopRequireDefault(require("./model/SkillWriteResult"));
|
|
1272
1299
|
var _SlackBearerNotification = _interopRequireDefault(require("./model/SlackBearerNotification"));
|
|
1273
1300
|
var _SlackRoute = _interopRequireDefault(require("./model/SlackRoute"));
|
|
1274
1301
|
var _SlackWebHookNotification = _interopRequireDefault(require("./model/SlackWebHookNotification"));
|
|
@@ -1276,6 +1303,7 @@ var _SnowflakeRoute = _interopRequireDefault(require("./model/SnowflakeRoute"));
|
|
|
1276
1303
|
var _SnowpipeStreamingRoute = _interopRequireDefault(require("./model/SnowpipeStreamingRoute"));
|
|
1277
1304
|
var _ThingworxRoute = _interopRequireDefault(require("./model/ThingworxRoute"));
|
|
1278
1305
|
var _TowerLocation = _interopRequireDefault(require("./model/TowerLocation"));
|
|
1306
|
+
var _TwilioNotification = _interopRequireDefault(require("./model/TwilioNotification"));
|
|
1279
1307
|
var _TwilioRoute = _interopRequireDefault(require("./model/TwilioRoute"));
|
|
1280
1308
|
var _UpdateFleetRequest = _interopRequireDefault(require("./model/UpdateFleetRequest"));
|
|
1281
1309
|
var _UpdateHostFirmwareRequest = _interopRequireDefault(require("./model/UpdateHostFirmwareRequest"));
|
|
@@ -1293,7 +1321,6 @@ var _UserFirmwareInfo = _interopRequireDefault(require("./model/UserFirmwareInfo
|
|
|
1293
1321
|
var _WebhookSettings = _interopRequireDefault(require("./model/WebhookSettings"));
|
|
1294
1322
|
var _AlertApi = _interopRequireDefault(require("./api/AlertApi"));
|
|
1295
1323
|
var _AuthorizationApi = _interopRequireDefault(require("./api/AuthorizationApi"));
|
|
1296
|
-
var _BillingAccountApi = _interopRequireDefault(require("./api/BillingAccountApi"));
|
|
1297
1324
|
var _DescriptionApi = _interopRequireDefault(require("./api/DescriptionApi"));
|
|
1298
1325
|
var _DeviceApi = _interopRequireDefault(require("./api/DeviceApi"));
|
|
1299
1326
|
var _EventApi = _interopRequireDefault(require("./api/EventApi"));
|
|
@@ -1303,6 +1330,7 @@ var _MonitorApi = _interopRequireDefault(require("./api/MonitorApi"));
|
|
|
1303
1330
|
var _OrganizationApi = _interopRequireDefault(require("./api/OrganizationApi"));
|
|
1304
1331
|
var _ProjectApi = _interopRequireDefault(require("./api/ProjectApi"));
|
|
1305
1332
|
var _RouteApi = _interopRequireDefault(require("./api/RouteApi"));
|
|
1333
|
+
var _SkillsApi = _interopRequireDefault(require("./api/SkillsApi"));
|
|
1306
1334
|
var _UsageApi = _interopRequireDefault(require("./api/UsageApi"));
|
|
1307
1335
|
var _WebhookApi = _interopRequireDefault(require("./api/WebhookApi"));
|
|
1308
1336
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -14,7 +14,7 @@ function _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError("Can
|
|
|
14
14
|
function _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }
|
|
15
15
|
function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", { writable: !1 }), e; }
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
|
-
function _toPrimitive(t,
|
|
17
|
+
function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r; if ("undefined" != typeof Symbol && void 0 !== (r = t[Symbol.toPrimitive])) { var i = r.call(t, e || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === e ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
19
|
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AWSRoleConfig model module.
|
|
31
31
|
* @module model/AWSRoleConfig
|
|
32
|
-
* @version
|
|
32
|
+
* @version 7.0.0-beta.1
|
|
33
33
|
*/
|
|
34
34
|
var AWSRoleConfig = /*#__PURE__*/function () {
|
|
35
35
|
/**
|