@blues-inc/notehub-js 6.2.0 → 6.3.0-beta.10
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 +38 -1
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +1 -1
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/BillingAccountApi.js +1 -1
- package/dist/api/DeviceApi.js +124 -3
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +72 -18
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +167 -0
- package/dist/api/ProjectApi.js +191 -5
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +317 -5
- package/dist/index.js +154 -0
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -1
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobRequests.js +228 -0
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BillingAccountRole.js +5 -0
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +51 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +130 -0
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +155 -0
- 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/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetBillingAccount200Response.js +25 -1
- package/dist/model/GetBillingAccount200ResponsePlan.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +1 -1
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetBillingAccounts200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +149 -0
- package/dist/model/GetDeviceJourney200ResponseJourney.js +142 -0
- package/dist/model/GetDeviceJourneys200Response.js +141 -0
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +144 -0
- package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetEventsByCursor200Response.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/GetOrganizations200Response.js +111 -0
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +131 -0
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +32 -12
- package/dist/model/JobDefinition.js +146 -0
- package/dist/model/JobDefinitionReportOptions.js +155 -0
- package/dist/model/JobDefinitionSelect.js +140 -0
- package/dist/model/JobDetail.js +252 -0
- package/dist/model/JobDetailAllOf.js +93 -0
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +36 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -1
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +1 -1
- package/dist/model/NotehubRouteSummary.js +1 -1
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +139 -0
- package/dist/model/OrganizationRole.js +68 -0
- package/dist/model/PersonalAccessToken.js +1 -1
- package/dist/model/PersonalAccessTokenCreatedBy.js +1 -1
- package/dist/model/PersonalAccessTokenInfo.js +1 -1
- package/dist/model/PersonalAccessTokenSecret.js +1 -1
- package/dist/model/Product.js +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +164 -0
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +131 -0
- package/dist/model/RepositoryTokenRequest.js +116 -0
- package/dist/model/RepositoryTokenResponse.js +182 -0
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +115 -0
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
package/dist/api/WebhookApi.js
CHANGED
|
@@ -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 6.
|
|
32
|
+
* @version 6.3.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,13 +45,65 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* @param {String}
|
|
50
|
-
* @param {String}
|
|
51
|
-
* @param {
|
|
48
|
+
* Legacy endpoint for sending an event from a webhook, associated with the given device (provisioning it if necessary). The request body is a Note-shaped object containing the notefile name, body, and optional payload.
|
|
49
|
+
* @param {String} productUID
|
|
50
|
+
* @param {String} deviceUID
|
|
51
|
+
* @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
52
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
53
53
|
*/
|
|
54
54
|
return _createClass(WebhookApi, [{
|
|
55
|
+
key: "createLegacyWebhookEventWithHttpInfo",
|
|
56
|
+
value: function createLegacyWebhookEventWithHttpInfo(productUID, deviceUID, requestBody) {
|
|
57
|
+
var postBody = requestBody;
|
|
58
|
+
// verify the required parameter 'productUID' is set
|
|
59
|
+
if (productUID === undefined || productUID === null) {
|
|
60
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling createLegacyWebhookEvent");
|
|
61
|
+
}
|
|
62
|
+
// verify the required parameter 'deviceUID' is set
|
|
63
|
+
if (deviceUID === undefined || deviceUID === null) {
|
|
64
|
+
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling createLegacyWebhookEvent");
|
|
65
|
+
}
|
|
66
|
+
// verify the required parameter 'requestBody' is set
|
|
67
|
+
if (requestBody === undefined || requestBody === null) {
|
|
68
|
+
throw new _Error["default"]("Missing the required parameter 'requestBody' when calling createLegacyWebhookEvent");
|
|
69
|
+
}
|
|
70
|
+
var pathParams = {
|
|
71
|
+
productUID: productUID,
|
|
72
|
+
deviceUID: deviceUID
|
|
73
|
+
};
|
|
74
|
+
var queryParams = {};
|
|
75
|
+
var headerParams = {};
|
|
76
|
+
var formParams = {};
|
|
77
|
+
var authNames = ["personalAccessToken"];
|
|
78
|
+
var contentTypes = ["application/json"];
|
|
79
|
+
var accepts = ["application/json"];
|
|
80
|
+
var returnType = null;
|
|
81
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/webhook-event", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Legacy endpoint for sending an event from a webhook, associated with the given device (provisioning it if necessary). The request body is a Note-shaped object containing the notefile name, body, and optional payload.
|
|
86
|
+
* @param {String} productUID
|
|
87
|
+
* @param {String} deviceUID
|
|
88
|
+
* @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
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
90
|
+
*/
|
|
91
|
+
}, {
|
|
92
|
+
key: "createLegacyWebhookEvent",
|
|
93
|
+
value: function createLegacyWebhookEvent(productUID, deviceUID, requestBody) {
|
|
94
|
+
return this.createLegacyWebhookEventWithHttpInfo(productUID, deviceUID, requestBody).then(function (response_and_data) {
|
|
95
|
+
return response_and_data.data;
|
|
96
|
+
});
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Creates a webhook for the specified product with the given name. The name | must be unique within the project.
|
|
101
|
+
* @param {String} projectOrProductUID
|
|
102
|
+
* @param {String} webhookUID Webhook UID
|
|
103
|
+
* @param {module:model/WebhookSettings} webhookSettings
|
|
104
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
105
|
+
*/
|
|
106
|
+
}, {
|
|
55
107
|
key: "createWebhookWithHttpInfo",
|
|
56
108
|
value: function createWebhookWithHttpInfo(projectOrProductUID, webhookUID, webhookSettings) {
|
|
57
109
|
var postBody = webhookSettings;
|
|
@@ -96,6 +148,117 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
96
148
|
});
|
|
97
149
|
}
|
|
98
150
|
|
|
151
|
+
/**
|
|
152
|
+
* Sends an event to be processed by the specified webhook, addressed by productUID, associated with the given device (provisioning it if necessary). The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing.
|
|
153
|
+
* @param {String} productUID
|
|
154
|
+
* @param {String} webhookUID Webhook UID
|
|
155
|
+
* @param {String} deviceUID
|
|
156
|
+
* @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
|
|
157
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
158
|
+
*/
|
|
159
|
+
}, {
|
|
160
|
+
key: "createWebhookDeviceEventByProductWithHttpInfo",
|
|
161
|
+
value: function createWebhookDeviceEventByProductWithHttpInfo(productUID, webhookUID, deviceUID, requestBody) {
|
|
162
|
+
var postBody = requestBody;
|
|
163
|
+
// verify the required parameter 'productUID' is set
|
|
164
|
+
if (productUID === undefined || productUID === null) {
|
|
165
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling createWebhookDeviceEventByProduct");
|
|
166
|
+
}
|
|
167
|
+
// verify the required parameter 'webhookUID' is set
|
|
168
|
+
if (webhookUID === undefined || webhookUID === null) {
|
|
169
|
+
throw new _Error["default"]("Missing the required parameter 'webhookUID' when calling createWebhookDeviceEventByProduct");
|
|
170
|
+
}
|
|
171
|
+
// verify the required parameter 'deviceUID' is set
|
|
172
|
+
if (deviceUID === undefined || deviceUID === null) {
|
|
173
|
+
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling createWebhookDeviceEventByProduct");
|
|
174
|
+
}
|
|
175
|
+
// verify the required parameter 'requestBody' is set
|
|
176
|
+
if (requestBody === undefined || requestBody === null) {
|
|
177
|
+
throw new _Error["default"]("Missing the required parameter 'requestBody' when calling createWebhookDeviceEventByProduct");
|
|
178
|
+
}
|
|
179
|
+
var pathParams = {
|
|
180
|
+
productUID: productUID,
|
|
181
|
+
webhookUID: webhookUID,
|
|
182
|
+
deviceUID: deviceUID
|
|
183
|
+
};
|
|
184
|
+
var queryParams = {};
|
|
185
|
+
var headerParams = {};
|
|
186
|
+
var formParams = {};
|
|
187
|
+
var authNames = ["personalAccessToken"];
|
|
188
|
+
var contentTypes = ["application/json"];
|
|
189
|
+
var accepts = ["application/json"];
|
|
190
|
+
var returnType = null;
|
|
191
|
+
return this.apiClient.callApi("/v1/products/{productUID}/webhooks/{webhookUID}/devices/{deviceUID}/event", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/**
|
|
195
|
+
* Sends an event to be processed by the specified webhook, addressed by productUID, associated with the given device (provisioning it if necessary). The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing.
|
|
196
|
+
* @param {String} productUID
|
|
197
|
+
* @param {String} webhookUID Webhook UID
|
|
198
|
+
* @param {String} deviceUID
|
|
199
|
+
* @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
|
|
200
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
201
|
+
*/
|
|
202
|
+
}, {
|
|
203
|
+
key: "createWebhookDeviceEventByProduct",
|
|
204
|
+
value: function createWebhookDeviceEventByProduct(productUID, webhookUID, deviceUID, requestBody) {
|
|
205
|
+
return this.createWebhookDeviceEventByProductWithHttpInfo(productUID, webhookUID, deviceUID, requestBody).then(function (response_and_data) {
|
|
206
|
+
return response_and_data.data;
|
|
207
|
+
});
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Sends an event to be processed by the specified webhook, addressed by productUID. The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing. The event is not associated with a specific device.
|
|
212
|
+
* @param {String} productUID
|
|
213
|
+
* @param {String} webhookUID Webhook UID
|
|
214
|
+
* @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
|
|
215
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
216
|
+
*/
|
|
217
|
+
}, {
|
|
218
|
+
key: "createWebhookEventByProductWithHttpInfo",
|
|
219
|
+
value: function createWebhookEventByProductWithHttpInfo(productUID, webhookUID, requestBody) {
|
|
220
|
+
var postBody = requestBody;
|
|
221
|
+
// verify the required parameter 'productUID' is set
|
|
222
|
+
if (productUID === undefined || productUID === null) {
|
|
223
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling createWebhookEventByProduct");
|
|
224
|
+
}
|
|
225
|
+
// verify the required parameter 'webhookUID' is set
|
|
226
|
+
if (webhookUID === undefined || webhookUID === null) {
|
|
227
|
+
throw new _Error["default"]("Missing the required parameter 'webhookUID' when calling createWebhookEventByProduct");
|
|
228
|
+
}
|
|
229
|
+
// verify the required parameter 'requestBody' is set
|
|
230
|
+
if (requestBody === undefined || requestBody === null) {
|
|
231
|
+
throw new _Error["default"]("Missing the required parameter 'requestBody' when calling createWebhookEventByProduct");
|
|
232
|
+
}
|
|
233
|
+
var pathParams = {
|
|
234
|
+
productUID: productUID,
|
|
235
|
+
webhookUID: webhookUID
|
|
236
|
+
};
|
|
237
|
+
var queryParams = {};
|
|
238
|
+
var headerParams = {};
|
|
239
|
+
var formParams = {};
|
|
240
|
+
var authNames = ["personalAccessToken"];
|
|
241
|
+
var contentTypes = ["application/json"];
|
|
242
|
+
var accepts = ["application/json"];
|
|
243
|
+
var returnType = null;
|
|
244
|
+
return this.apiClient.callApi("/v1/products/{productUID}/webhooks/{webhookUID}/event", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
/**
|
|
248
|
+
* Sends an event to be processed by the specified webhook, addressed by productUID. The entire request body becomes the event body. The webhook's configured JSONata transform, if any, is applied before routing. The event is not associated with a specific device.
|
|
249
|
+
* @param {String} productUID
|
|
250
|
+
* @param {String} webhookUID Webhook UID
|
|
251
|
+
* @param {Object.<String, {String: Object}>} requestBody The event body (arbitrary JSON)
|
|
252
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
253
|
+
*/
|
|
254
|
+
}, {
|
|
255
|
+
key: "createWebhookEventByProduct",
|
|
256
|
+
value: function createWebhookEventByProduct(productUID, webhookUID, requestBody) {
|
|
257
|
+
return this.createWebhookEventByProductWithHttpInfo(productUID, webhookUID, requestBody).then(function (response_and_data) {
|
|
258
|
+
return response_and_data.data;
|
|
259
|
+
});
|
|
260
|
+
}
|
|
261
|
+
|
|
99
262
|
/**
|
|
100
263
|
* Deletes the specified webhook
|
|
101
264
|
* @param {String} projectOrProductUID
|
|
@@ -188,6 +351,52 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
188
351
|
});
|
|
189
352
|
}
|
|
190
353
|
|
|
354
|
+
/**
|
|
355
|
+
* Retrieves the configuration settings for the specified webhook, addressed by productUID.
|
|
356
|
+
* @param {String} productUID
|
|
357
|
+
* @param {String} webhookUID Webhook UID
|
|
358
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/WebhookSettings} and HTTP response
|
|
359
|
+
*/
|
|
360
|
+
}, {
|
|
361
|
+
key: "getWebhookSettingsByProductWithHttpInfo",
|
|
362
|
+
value: function getWebhookSettingsByProductWithHttpInfo(productUID, webhookUID) {
|
|
363
|
+
var postBody = null;
|
|
364
|
+
// verify the required parameter 'productUID' is set
|
|
365
|
+
if (productUID === undefined || productUID === null) {
|
|
366
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling getWebhookSettingsByProduct");
|
|
367
|
+
}
|
|
368
|
+
// verify the required parameter 'webhookUID' is set
|
|
369
|
+
if (webhookUID === undefined || webhookUID === null) {
|
|
370
|
+
throw new _Error["default"]("Missing the required parameter 'webhookUID' when calling getWebhookSettingsByProduct");
|
|
371
|
+
}
|
|
372
|
+
var pathParams = {
|
|
373
|
+
productUID: productUID,
|
|
374
|
+
webhookUID: webhookUID
|
|
375
|
+
};
|
|
376
|
+
var queryParams = {};
|
|
377
|
+
var headerParams = {};
|
|
378
|
+
var formParams = {};
|
|
379
|
+
var authNames = ["personalAccessToken"];
|
|
380
|
+
var contentTypes = [];
|
|
381
|
+
var accepts = ["application/json"];
|
|
382
|
+
var returnType = _WebhookSettings["default"];
|
|
383
|
+
return this.apiClient.callApi("/v1/products/{productUID}/webhooks/{webhookUID}/settings", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
/**
|
|
387
|
+
* Retrieves the configuration settings for the specified webhook, addressed by productUID.
|
|
388
|
+
* @param {String} productUID
|
|
389
|
+
* @param {String} webhookUID Webhook UID
|
|
390
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/WebhookSettings}
|
|
391
|
+
*/
|
|
392
|
+
}, {
|
|
393
|
+
key: "getWebhookSettingsByProduct",
|
|
394
|
+
value: function getWebhookSettingsByProduct(productUID, webhookUID) {
|
|
395
|
+
return this.getWebhookSettingsByProductWithHttpInfo(productUID, webhookUID).then(function (response_and_data) {
|
|
396
|
+
return response_and_data.data;
|
|
397
|
+
});
|
|
398
|
+
}
|
|
399
|
+
|
|
191
400
|
/**
|
|
192
401
|
* Retrieves all webhooks for the specified project
|
|
193
402
|
* @param {String} projectOrProductUID
|
|
@@ -227,6 +436,57 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
227
436
|
});
|
|
228
437
|
}
|
|
229
438
|
|
|
439
|
+
/**
|
|
440
|
+
* Legacy endpoint for opening or updating a webhook session for the given device (provisioning the device if necessary). Used by external services that need to maintain a callable session against a device behind a webhook.
|
|
441
|
+
* @param {String} productUID
|
|
442
|
+
* @param {String} deviceUID
|
|
443
|
+
* @param {Object} opts Optional parameters
|
|
444
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody Optional session metadata.
|
|
445
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
446
|
+
*/
|
|
447
|
+
}, {
|
|
448
|
+
key: "updateLegacyWebhookSessionWithHttpInfo",
|
|
449
|
+
value: function updateLegacyWebhookSessionWithHttpInfo(productUID, deviceUID, opts) {
|
|
450
|
+
opts = opts || {};
|
|
451
|
+
var postBody = opts["requestBody"];
|
|
452
|
+
// verify the required parameter 'productUID' is set
|
|
453
|
+
if (productUID === undefined || productUID === null) {
|
|
454
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling updateLegacyWebhookSession");
|
|
455
|
+
}
|
|
456
|
+
// verify the required parameter 'deviceUID' is set
|
|
457
|
+
if (deviceUID === undefined || deviceUID === null) {
|
|
458
|
+
throw new _Error["default"]("Missing the required parameter 'deviceUID' when calling updateLegacyWebhookSession");
|
|
459
|
+
}
|
|
460
|
+
var pathParams = {
|
|
461
|
+
productUID: productUID,
|
|
462
|
+
deviceUID: deviceUID
|
|
463
|
+
};
|
|
464
|
+
var queryParams = {};
|
|
465
|
+
var headerParams = {};
|
|
466
|
+
var formParams = {};
|
|
467
|
+
var authNames = ["personalAccessToken"];
|
|
468
|
+
var contentTypes = ["application/json"];
|
|
469
|
+
var accepts = ["application/json"];
|
|
470
|
+
var returnType = null;
|
|
471
|
+
return this.apiClient.callApi("/v1/products/{productUID}/devices/{deviceUID}/webhook-session", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* Legacy endpoint for opening or updating a webhook session for the given device (provisioning the device if necessary). Used by external services that need to maintain a callable session against a device behind a webhook.
|
|
476
|
+
* @param {String} productUID
|
|
477
|
+
* @param {String} deviceUID
|
|
478
|
+
* @param {Object} opts Optional parameters
|
|
479
|
+
* @param {Object.<String, {String: Object}>} opts.requestBody Optional session metadata.
|
|
480
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
481
|
+
*/
|
|
482
|
+
}, {
|
|
483
|
+
key: "updateLegacyWebhookSession",
|
|
484
|
+
value: function updateLegacyWebhookSession(productUID, deviceUID, opts) {
|
|
485
|
+
return this.updateLegacyWebhookSessionWithHttpInfo(productUID, deviceUID, opts).then(function (response_and_data) {
|
|
486
|
+
return response_and_data.data;
|
|
487
|
+
});
|
|
488
|
+
}
|
|
489
|
+
|
|
230
490
|
/**
|
|
231
491
|
* Updates the configuration settings for the specified webhook. | Webhook will be created if it does not exist. Update body will completely replace the existing settings.
|
|
232
492
|
* @param {String} projectOrProductUID
|
|
@@ -278,5 +538,57 @@ var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
278
538
|
return response_and_data.data;
|
|
279
539
|
});
|
|
280
540
|
}
|
|
541
|
+
|
|
542
|
+
/**
|
|
543
|
+
* Updates the configuration settings for the specified webhook, addressed by productUID. Update body will completely replace the existing settings.
|
|
544
|
+
* @param {String} productUID
|
|
545
|
+
* @param {String} webhookUID Webhook UID
|
|
546
|
+
* @param {module:model/WebhookSettings} webhookSettings
|
|
547
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
548
|
+
*/
|
|
549
|
+
}, {
|
|
550
|
+
key: "updateWebhookSettingsByProductWithHttpInfo",
|
|
551
|
+
value: function updateWebhookSettingsByProductWithHttpInfo(productUID, webhookUID, webhookSettings) {
|
|
552
|
+
var postBody = webhookSettings;
|
|
553
|
+
// verify the required parameter 'productUID' is set
|
|
554
|
+
if (productUID === undefined || productUID === null) {
|
|
555
|
+
throw new _Error["default"]("Missing the required parameter 'productUID' when calling updateWebhookSettingsByProduct");
|
|
556
|
+
}
|
|
557
|
+
// verify the required parameter 'webhookUID' is set
|
|
558
|
+
if (webhookUID === undefined || webhookUID === null) {
|
|
559
|
+
throw new _Error["default"]("Missing the required parameter 'webhookUID' when calling updateWebhookSettingsByProduct");
|
|
560
|
+
}
|
|
561
|
+
// verify the required parameter 'webhookSettings' is set
|
|
562
|
+
if (webhookSettings === undefined || webhookSettings === null) {
|
|
563
|
+
throw new _Error["default"]("Missing the required parameter 'webhookSettings' when calling updateWebhookSettingsByProduct");
|
|
564
|
+
}
|
|
565
|
+
var pathParams = {
|
|
566
|
+
productUID: productUID,
|
|
567
|
+
webhookUID: webhookUID
|
|
568
|
+
};
|
|
569
|
+
var queryParams = {};
|
|
570
|
+
var headerParams = {};
|
|
571
|
+
var formParams = {};
|
|
572
|
+
var authNames = ["personalAccessToken"];
|
|
573
|
+
var contentTypes = ["application/json"];
|
|
574
|
+
var accepts = ["application/json"];
|
|
575
|
+
var returnType = null;
|
|
576
|
+
return this.apiClient.callApi("/v1/products/{productUID}/webhooks/{webhookUID}/settings", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
577
|
+
}
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* Updates the configuration settings for the specified webhook, addressed by productUID. Update body will completely replace the existing settings.
|
|
581
|
+
* @param {String} productUID
|
|
582
|
+
* @param {String} webhookUID Webhook UID
|
|
583
|
+
* @param {module:model/WebhookSettings} webhookSettings
|
|
584
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
585
|
+
*/
|
|
586
|
+
}, {
|
|
587
|
+
key: "updateWebhookSettingsByProduct",
|
|
588
|
+
value: function updateWebhookSettingsByProduct(productUID, webhookUID, webhookSettings) {
|
|
589
|
+
return this.updateWebhookSettingsByProductWithHttpInfo(productUID, webhookUID, webhookSettings).then(function (response_and_data) {
|
|
590
|
+
return response_and_data.data;
|
|
591
|
+
});
|
|
592
|
+
}
|
|
281
593
|
}]);
|
|
282
594
|
}();
|
package/dist/index.js
CHANGED
|
@@ -63,6 +63,12 @@ Object.defineProperty(exports, "AzureRoute", {
|
|
|
63
63
|
return _AzureRoute["default"];
|
|
64
64
|
}
|
|
65
65
|
});
|
|
66
|
+
Object.defineProperty(exports, "BatchJobRequests", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _BatchJobRequests["default"];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
Object.defineProperty(exports, "BillingAccount", {
|
|
67
73
|
enumerable: true,
|
|
68
74
|
get: function get() {
|
|
@@ -147,12 +153,24 @@ Object.defineProperty(exports, "CreateProjectRequest", {
|
|
|
147
153
|
return _CreateProjectRequest["default"];
|
|
148
154
|
}
|
|
149
155
|
});
|
|
156
|
+
Object.defineProperty(exports, "CreateProjectSecretRequest", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function get() {
|
|
159
|
+
return _CreateProjectSecretRequest["default"];
|
|
160
|
+
}
|
|
161
|
+
});
|
|
150
162
|
Object.defineProperty(exports, "CreateUpdateRepository", {
|
|
151
163
|
enumerable: true,
|
|
152
164
|
get: function get() {
|
|
153
165
|
return _CreateUpdateRepository["default"];
|
|
154
166
|
}
|
|
155
167
|
});
|
|
168
|
+
Object.defineProperty(exports, "CreatedRepository", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function get() {
|
|
171
|
+
return _CreatedRepository["default"];
|
|
172
|
+
}
|
|
173
|
+
});
|
|
156
174
|
Object.defineProperty(exports, "CurrentFirmware", {
|
|
157
175
|
enumerable: true,
|
|
158
176
|
get: function get() {
|
|
@@ -447,6 +465,30 @@ Object.defineProperty(exports, "GetDeviceHealthLog200ResponseHealthLogInner", {
|
|
|
447
465
|
return _GetDeviceHealthLog200ResponseHealthLogInner["default"];
|
|
448
466
|
}
|
|
449
467
|
});
|
|
468
|
+
Object.defineProperty(exports, "GetDeviceJourney200Response", {
|
|
469
|
+
enumerable: true,
|
|
470
|
+
get: function get() {
|
|
471
|
+
return _GetDeviceJourney200Response["default"];
|
|
472
|
+
}
|
|
473
|
+
});
|
|
474
|
+
Object.defineProperty(exports, "GetDeviceJourney200ResponseJourney", {
|
|
475
|
+
enumerable: true,
|
|
476
|
+
get: function get() {
|
|
477
|
+
return _GetDeviceJourney200ResponseJourney["default"];
|
|
478
|
+
}
|
|
479
|
+
});
|
|
480
|
+
Object.defineProperty(exports, "GetDeviceJourneys200Response", {
|
|
481
|
+
enumerable: true,
|
|
482
|
+
get: function get() {
|
|
483
|
+
return _GetDeviceJourneys200Response["default"];
|
|
484
|
+
}
|
|
485
|
+
});
|
|
486
|
+
Object.defineProperty(exports, "GetDeviceJourneys200ResponseJourneysInner", {
|
|
487
|
+
enumerable: true,
|
|
488
|
+
get: function get() {
|
|
489
|
+
return _GetDeviceJourneys200ResponseJourneysInner["default"];
|
|
490
|
+
}
|
|
491
|
+
});
|
|
450
492
|
Object.defineProperty(exports, "GetDeviceLatestEvents200Response", {
|
|
451
493
|
enumerable: true,
|
|
452
494
|
get: function get() {
|
|
@@ -519,6 +561,12 @@ Object.defineProperty(exports, "GetNotefile200Response", {
|
|
|
519
561
|
return _GetNotefile200Response["default"];
|
|
520
562
|
}
|
|
521
563
|
});
|
|
564
|
+
Object.defineProperty(exports, "GetOrganizations200Response", {
|
|
565
|
+
enumerable: true,
|
|
566
|
+
get: function get() {
|
|
567
|
+
return _GetOrganizations200Response["default"];
|
|
568
|
+
}
|
|
569
|
+
});
|
|
522
570
|
Object.defineProperty(exports, "GetProducts200Response", {
|
|
523
571
|
enumerable: true,
|
|
524
572
|
get: function get() {
|
|
@@ -531,6 +579,12 @@ Object.defineProperty(exports, "GetProjectMembers200Response", {
|
|
|
531
579
|
return _GetProjectMembers200Response["default"];
|
|
532
580
|
}
|
|
533
581
|
});
|
|
582
|
+
Object.defineProperty(exports, "GetProjectSecretsResponse", {
|
|
583
|
+
enumerable: true,
|
|
584
|
+
get: function get() {
|
|
585
|
+
return _GetProjectSecretsResponse["default"];
|
|
586
|
+
}
|
|
587
|
+
});
|
|
534
588
|
Object.defineProperty(exports, "GetProjects200Response", {
|
|
535
589
|
enumerable: true,
|
|
536
590
|
get: function get() {
|
|
@@ -573,6 +627,36 @@ Object.defineProperty(exports, "Job", {
|
|
|
573
627
|
return _Job["default"];
|
|
574
628
|
}
|
|
575
629
|
});
|
|
630
|
+
Object.defineProperty(exports, "JobDefinition", {
|
|
631
|
+
enumerable: true,
|
|
632
|
+
get: function get() {
|
|
633
|
+
return _JobDefinition["default"];
|
|
634
|
+
}
|
|
635
|
+
});
|
|
636
|
+
Object.defineProperty(exports, "JobDefinitionReportOptions", {
|
|
637
|
+
enumerable: true,
|
|
638
|
+
get: function get() {
|
|
639
|
+
return _JobDefinitionReportOptions["default"];
|
|
640
|
+
}
|
|
641
|
+
});
|
|
642
|
+
Object.defineProperty(exports, "JobDefinitionSelect", {
|
|
643
|
+
enumerable: true,
|
|
644
|
+
get: function get() {
|
|
645
|
+
return _JobDefinitionSelect["default"];
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
Object.defineProperty(exports, "JobDetail", {
|
|
649
|
+
enumerable: true,
|
|
650
|
+
get: function get() {
|
|
651
|
+
return _JobDetail["default"];
|
|
652
|
+
}
|
|
653
|
+
});
|
|
654
|
+
Object.defineProperty(exports, "JobDetailAllOf", {
|
|
655
|
+
enumerable: true,
|
|
656
|
+
get: function get() {
|
|
657
|
+
return _JobDetailAllOf["default"];
|
|
658
|
+
}
|
|
659
|
+
});
|
|
576
660
|
Object.defineProperty(exports, "JobRun", {
|
|
577
661
|
enumerable: true,
|
|
578
662
|
get: function get() {
|
|
@@ -675,6 +759,24 @@ Object.defineProperty(exports, "OAuth2TokenResponse", {
|
|
|
675
759
|
return _OAuth2TokenResponse["default"];
|
|
676
760
|
}
|
|
677
761
|
});
|
|
762
|
+
Object.defineProperty(exports, "Organization", {
|
|
763
|
+
enumerable: true,
|
|
764
|
+
get: function get() {
|
|
765
|
+
return _Organization["default"];
|
|
766
|
+
}
|
|
767
|
+
});
|
|
768
|
+
Object.defineProperty(exports, "OrganizationApi", {
|
|
769
|
+
enumerable: true,
|
|
770
|
+
get: function get() {
|
|
771
|
+
return _OrganizationApi["default"];
|
|
772
|
+
}
|
|
773
|
+
});
|
|
774
|
+
Object.defineProperty(exports, "OrganizationRole", {
|
|
775
|
+
enumerable: true,
|
|
776
|
+
get: function get() {
|
|
777
|
+
return _OrganizationRole["default"];
|
|
778
|
+
}
|
|
779
|
+
});
|
|
678
780
|
Object.defineProperty(exports, "PersonalAccessToken", {
|
|
679
781
|
enumerable: true,
|
|
680
782
|
get: function get() {
|
|
@@ -723,6 +825,12 @@ Object.defineProperty(exports, "ProjectMember", {
|
|
|
723
825
|
return _ProjectMember["default"];
|
|
724
826
|
}
|
|
725
827
|
});
|
|
828
|
+
Object.defineProperty(exports, "ProjectSecret", {
|
|
829
|
+
enumerable: true,
|
|
830
|
+
get: function get() {
|
|
831
|
+
return _ProjectSecret["default"];
|
|
832
|
+
}
|
|
833
|
+
});
|
|
726
834
|
Object.defineProperty(exports, "ProvisionDeviceRequest", {
|
|
727
835
|
enumerable: true,
|
|
728
836
|
get: function get() {
|
|
@@ -753,6 +861,24 @@ Object.defineProperty(exports, "Repository", {
|
|
|
753
861
|
return _Repository["default"];
|
|
754
862
|
}
|
|
755
863
|
});
|
|
864
|
+
Object.defineProperty(exports, "RepositoryListResponse", {
|
|
865
|
+
enumerable: true,
|
|
866
|
+
get: function get() {
|
|
867
|
+
return _RepositoryListResponse["default"];
|
|
868
|
+
}
|
|
869
|
+
});
|
|
870
|
+
Object.defineProperty(exports, "RepositoryTokenRequest", {
|
|
871
|
+
enumerable: true,
|
|
872
|
+
get: function get() {
|
|
873
|
+
return _RepositoryTokenRequest["default"];
|
|
874
|
+
}
|
|
875
|
+
});
|
|
876
|
+
Object.defineProperty(exports, "RepositoryTokenResponse", {
|
|
877
|
+
enumerable: true,
|
|
878
|
+
get: function get() {
|
|
879
|
+
return _RepositoryTokenResponse["default"];
|
|
880
|
+
}
|
|
881
|
+
});
|
|
756
882
|
Object.defineProperty(exports, "Role", {
|
|
757
883
|
enumerable: true,
|
|
758
884
|
get: function get() {
|
|
@@ -879,6 +1005,12 @@ Object.defineProperty(exports, "UpdateHostFirmwareRequest", {
|
|
|
879
1005
|
return _UpdateHostFirmwareRequest["default"];
|
|
880
1006
|
}
|
|
881
1007
|
});
|
|
1008
|
+
Object.defineProperty(exports, "UpdateProjectSecretRequest", {
|
|
1009
|
+
enumerable: true,
|
|
1010
|
+
get: function get() {
|
|
1011
|
+
return _UpdateProjectSecretRequest["default"];
|
|
1012
|
+
}
|
|
1013
|
+
});
|
|
882
1014
|
Object.defineProperty(exports, "UploadMetadata", {
|
|
883
1015
|
enumerable: true,
|
|
884
1016
|
get: function get() {
|
|
@@ -959,6 +1091,7 @@ var _AlertDataInner = _interopRequireDefault(require("./model/AlertDataInner"));
|
|
|
959
1091
|
var _AlertNotificationsInner = _interopRequireDefault(require("./model/AlertNotificationsInner"));
|
|
960
1092
|
var _AwsRoute = _interopRequireDefault(require("./model/AwsRoute"));
|
|
961
1093
|
var _AzureRoute = _interopRequireDefault(require("./model/AzureRoute"));
|
|
1094
|
+
var _BatchJobRequests = _interopRequireDefault(require("./model/BatchJobRequests"));
|
|
962
1095
|
var _BillingAccount = _interopRequireDefault(require("./model/BillingAccount"));
|
|
963
1096
|
var _BillingAccountRole = _interopRequireDefault(require("./model/BillingAccountRole"));
|
|
964
1097
|
var _BlynkRoute = _interopRequireDefault(require("./model/BlynkRoute"));
|
|
@@ -972,7 +1105,9 @@ var _CreateJob201Response = _interopRequireDefault(require("./model/CreateJob201
|
|
|
972
1105
|
var _CreateMonitor = _interopRequireDefault(require("./model/CreateMonitor"));
|
|
973
1106
|
var _CreateProductRequest = _interopRequireDefault(require("./model/CreateProductRequest"));
|
|
974
1107
|
var _CreateProjectRequest = _interopRequireDefault(require("./model/CreateProjectRequest"));
|
|
1108
|
+
var _CreateProjectSecretRequest = _interopRequireDefault(require("./model/CreateProjectSecretRequest"));
|
|
975
1109
|
var _CreateUpdateRepository = _interopRequireDefault(require("./model/CreateUpdateRepository"));
|
|
1110
|
+
var _CreatedRepository = _interopRequireDefault(require("./model/CreatedRepository"));
|
|
976
1111
|
var _CurrentFirmware = _interopRequireDefault(require("./model/CurrentFirmware"));
|
|
977
1112
|
var _DFUEnv = _interopRequireDefault(require("./model/DFUEnv"));
|
|
978
1113
|
var _DFUState = _interopRequireDefault(require("./model/DFUState"));
|
|
@@ -1019,6 +1154,10 @@ var _GetDeviceEnvironmentVariablesByPin200Response = _interopRequireDefault(requ
|
|
|
1019
1154
|
var _GetDeviceFleets200Response = _interopRequireDefault(require("./model/GetDeviceFleets200Response"));
|
|
1020
1155
|
var _GetDeviceHealthLog200Response = _interopRequireDefault(require("./model/GetDeviceHealthLog200Response"));
|
|
1021
1156
|
var _GetDeviceHealthLog200ResponseHealthLogInner = _interopRequireDefault(require("./model/GetDeviceHealthLog200ResponseHealthLogInner"));
|
|
1157
|
+
var _GetDeviceJourney200Response = _interopRequireDefault(require("./model/GetDeviceJourney200Response"));
|
|
1158
|
+
var _GetDeviceJourney200ResponseJourney = _interopRequireDefault(require("./model/GetDeviceJourney200ResponseJourney"));
|
|
1159
|
+
var _GetDeviceJourneys200Response = _interopRequireDefault(require("./model/GetDeviceJourneys200Response"));
|
|
1160
|
+
var _GetDeviceJourneys200ResponseJourneysInner = _interopRequireDefault(require("./model/GetDeviceJourneys200ResponseJourneysInner"));
|
|
1022
1161
|
var _GetDeviceLatestEvents200Response = _interopRequireDefault(require("./model/GetDeviceLatestEvents200Response"));
|
|
1023
1162
|
var _GetDevicePlans200Response = _interopRequireDefault(require("./model/GetDevicePlans200Response"));
|
|
1024
1163
|
var _GetDevicePublicKey200Response = _interopRequireDefault(require("./model/GetDevicePublicKey200Response"));
|
|
@@ -1031,8 +1170,10 @@ var _GetEventsByCursor200Response = _interopRequireDefault(require("./model/GetE
|
|
|
1031
1170
|
var _GetJobRuns200Response = _interopRequireDefault(require("./model/GetJobRuns200Response"));
|
|
1032
1171
|
var _GetJobs200Response = _interopRequireDefault(require("./model/GetJobs200Response"));
|
|
1033
1172
|
var _GetNotefile200Response = _interopRequireDefault(require("./model/GetNotefile200Response"));
|
|
1173
|
+
var _GetOrganizations200Response = _interopRequireDefault(require("./model/GetOrganizations200Response"));
|
|
1034
1174
|
var _GetProducts200Response = _interopRequireDefault(require("./model/GetProducts200Response"));
|
|
1035
1175
|
var _GetProjectMembers200Response = _interopRequireDefault(require("./model/GetProjectMembers200Response"));
|
|
1176
|
+
var _GetProjectSecretsResponse = _interopRequireDefault(require("./model/GetProjectSecretsResponse"));
|
|
1036
1177
|
var _GetProjects200Response = _interopRequireDefault(require("./model/GetProjects200Response"));
|
|
1037
1178
|
var _GetRouteLogsUsage200Response = _interopRequireDefault(require("./model/GetRouteLogsUsage200Response"));
|
|
1038
1179
|
var _GetSessionsUsage200Response = _interopRequireDefault(require("./model/GetSessionsUsage200Response"));
|
|
@@ -1040,6 +1181,11 @@ var _GetWebhooks200Response = _interopRequireDefault(require("./model/GetWebhook
|
|
|
1040
1181
|
var _GoogleRoute = _interopRequireDefault(require("./model/GoogleRoute"));
|
|
1041
1182
|
var _HttpRoute = _interopRequireDefault(require("./model/HttpRoute"));
|
|
1042
1183
|
var _Job = _interopRequireDefault(require("./model/Job"));
|
|
1184
|
+
var _JobDefinition = _interopRequireDefault(require("./model/JobDefinition"));
|
|
1185
|
+
var _JobDefinitionReportOptions = _interopRequireDefault(require("./model/JobDefinitionReportOptions"));
|
|
1186
|
+
var _JobDefinitionSelect = _interopRequireDefault(require("./model/JobDefinitionSelect"));
|
|
1187
|
+
var _JobDetail = _interopRequireDefault(require("./model/JobDetail"));
|
|
1188
|
+
var _JobDetailAllOf = _interopRequireDefault(require("./model/JobDetailAllOf"));
|
|
1043
1189
|
var _JobRun = _interopRequireDefault(require("./model/JobRun"));
|
|
1044
1190
|
var _Location = _interopRequireDefault(require("./model/Location"));
|
|
1045
1191
|
var _Login200Response = _interopRequireDefault(require("./model/Login200Response"));
|
|
@@ -1055,6 +1201,8 @@ var _NotehubRoute = _interopRequireDefault(require("./model/NotehubRoute"));
|
|
|
1055
1201
|
var _NotehubRouteSummary = _interopRequireDefault(require("./model/NotehubRouteSummary"));
|
|
1056
1202
|
var _OAuth2Error = _interopRequireDefault(require("./model/OAuth2Error"));
|
|
1057
1203
|
var _OAuth2TokenResponse = _interopRequireDefault(require("./model/OAuth2TokenResponse"));
|
|
1204
|
+
var _Organization = _interopRequireDefault(require("./model/Organization"));
|
|
1205
|
+
var _OrganizationRole = _interopRequireDefault(require("./model/OrganizationRole"));
|
|
1058
1206
|
var _PersonalAccessToken = _interopRequireDefault(require("./model/PersonalAccessToken"));
|
|
1059
1207
|
var _PersonalAccessTokenCreatedBy = _interopRequireDefault(require("./model/PersonalAccessTokenCreatedBy"));
|
|
1060
1208
|
var _PersonalAccessTokenInfo = _interopRequireDefault(require("./model/PersonalAccessTokenInfo"));
|
|
@@ -1062,11 +1210,15 @@ var _PersonalAccessTokenSecret = _interopRequireDefault(require("./model/Persona
|
|
|
1062
1210
|
var _Product = _interopRequireDefault(require("./model/Product"));
|
|
1063
1211
|
var _Project = _interopRequireDefault(require("./model/Project"));
|
|
1064
1212
|
var _ProjectMember = _interopRequireDefault(require("./model/ProjectMember"));
|
|
1213
|
+
var _ProjectSecret = _interopRequireDefault(require("./model/ProjectSecret"));
|
|
1065
1214
|
var _ProvisionDeviceRequest = _interopRequireDefault(require("./model/ProvisionDeviceRequest"));
|
|
1066
1215
|
var _ProxyRoute = _interopRequireDefault(require("./model/ProxyRoute"));
|
|
1067
1216
|
var _QubitroRoute = _interopRequireDefault(require("./model/QubitroRoute"));
|
|
1068
1217
|
var _RadRoute = _interopRequireDefault(require("./model/RadRoute"));
|
|
1069
1218
|
var _Repository = _interopRequireDefault(require("./model/Repository"));
|
|
1219
|
+
var _RepositoryListResponse = _interopRequireDefault(require("./model/RepositoryListResponse"));
|
|
1220
|
+
var _RepositoryTokenRequest = _interopRequireDefault(require("./model/RepositoryTokenRequest"));
|
|
1221
|
+
var _RepositoryTokenResponse = _interopRequireDefault(require("./model/RepositoryTokenResponse"));
|
|
1070
1222
|
var _Role = _interopRequireDefault(require("./model/Role"));
|
|
1071
1223
|
var _RouteLog = _interopRequireDefault(require("./model/RouteLog"));
|
|
1072
1224
|
var _RouteTransformSettings = _interopRequireDefault(require("./model/RouteTransformSettings"));
|
|
@@ -1087,6 +1239,7 @@ var _TowerLocation = _interopRequireDefault(require("./model/TowerLocation"));
|
|
|
1087
1239
|
var _TwilioRoute = _interopRequireDefault(require("./model/TwilioRoute"));
|
|
1088
1240
|
var _UpdateFleetRequest = _interopRequireDefault(require("./model/UpdateFleetRequest"));
|
|
1089
1241
|
var _UpdateHostFirmwareRequest = _interopRequireDefault(require("./model/UpdateHostFirmwareRequest"));
|
|
1242
|
+
var _UpdateProjectSecretRequest = _interopRequireDefault(require("./model/UpdateProjectSecretRequest"));
|
|
1090
1243
|
var _UploadMetadata = _interopRequireDefault(require("./model/UploadMetadata"));
|
|
1091
1244
|
var _UsageData = _interopRequireDefault(require("./model/UsageData"));
|
|
1092
1245
|
var _UsageEventsData = _interopRequireDefault(require("./model/UsageEventsData"));
|
|
@@ -1105,6 +1258,7 @@ var _EventApi = _interopRequireDefault(require("./api/EventApi"));
|
|
|
1105
1258
|
var _ExternalDevicesApi = _interopRequireDefault(require("./api/ExternalDevicesApi"));
|
|
1106
1259
|
var _JobsApi = _interopRequireDefault(require("./api/JobsApi"));
|
|
1107
1260
|
var _MonitorApi = _interopRequireDefault(require("./api/MonitorApi"));
|
|
1261
|
+
var _OrganizationApi = _interopRequireDefault(require("./api/OrganizationApi"));
|
|
1108
1262
|
var _ProjectApi = _interopRequireDefault(require("./api/ProjectApi"));
|
|
1109
1263
|
var _RouteApi = _interopRequireDefault(require("./api/RouteApi"));
|
|
1110
1264
|
var _UsageApi = _interopRequireDefault(require("./api/UsageApi"));
|
|
@@ -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 6.
|
|
32
|
+
* @version 6.3.0-beta.10
|
|
33
33
|
*/
|
|
34
34
|
var AWSRoleConfig = /*#__PURE__*/function () {
|
|
35
35
|
/**
|