@blues-inc/notehub-js 6.2.0-beta.56 → 6.2.0-beta.58
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 +316 -318
- package/dist/ApiClient.js +150 -150
- package/dist/api/AlertApi.js +22 -22
- package/dist/api/AuthorizationApi.js +31 -31
- package/dist/api/BillingAccountApi.js +28 -28
- package/dist/api/DeviceApi.js +385 -385
- package/dist/api/EventApi.js +118 -118
- package/dist/api/ExternalDevicesApi.js +41 -41
- package/dist/api/JobsApi.js +78 -78
- package/dist/api/MonitorApi.js +52 -52
- package/dist/api/ProjectApi.js +465 -465
- package/dist/api/RouteApi.js +83 -83
- package/dist/api/UsageApi.js +67 -67
- package/dist/api/WebhookApi.js +108 -108
- package/dist/model/AWSRoleConfig.js +14 -14
- package/dist/model/AddDeviceToFleetsRequest.js +8 -8
- package/dist/model/Alert.js +74 -76
- package/dist/model/AlertDataInner.js +36 -36
- package/dist/model/AlertNotificationsInner.js +18 -18
- package/dist/model/AwsRoute.js +70 -70
- package/dist/model/AzureRoute.js +43 -43
- package/dist/model/BatchJobRequests.js +57 -57
- package/dist/model/BillingAccount.js +21 -21
- package/dist/model/BillingAccountRole.js +9 -9
- package/dist/model/BlynkRoute.js +28 -28
- package/dist/model/Body.js +5 -5
- package/dist/model/CancelJobRun200Response.js +6 -6
- package/dist/model/CellularPlan.js +34 -34
- package/dist/model/CloneProjectRequest.js +20 -20
- package/dist/model/Contact.js +22 -22
- package/dist/model/CreateFleetRequest.js +20 -20
- package/dist/model/CreateJob201Response.js +8 -8
- package/dist/model/CreateLegacyWebhookEventRequest.js +17 -17
- package/dist/model/CreateMonitor.js +143 -144
- package/dist/model/CreateProductRequest.js +22 -22
- package/dist/model/CreateProjectRequest.js +16 -16
- package/dist/model/CreateProjectSecretRequest.js +14 -14
- package/dist/model/CreateUpdateRepository.js +17 -17
- package/dist/model/CurrentFirmware.js +12 -12
- package/dist/model/DFUEnv.js +12 -12
- package/dist/model/DFUState.js +65 -65
- package/dist/model/DataField.js +7 -7
- package/dist/model/DataSetField.js +19 -19
- package/dist/model/DataUsage.js +14 -14
- package/dist/model/DatacakeRoute.js +35 -35
- package/dist/model/DeleteDeviceFromFleetsRequest.js +8 -8
- package/dist/model/DeleteJob200Response.js +6 -6
- package/dist/model/DeleteNotefilesRequest.js +7 -7
- package/dist/model/Device.js +106 -107
- package/dist/model/DeviceDfuHistory.js +19 -20
- package/dist/model/DeviceDfuHistoryCurrent.js +32 -32
- package/dist/model/DeviceDfuHistoryPage.js +12 -13
- package/dist/model/DeviceDfuStateMachine.js +24 -25
- package/dist/model/DeviceDfuStateMachineNode.js +22 -22
- package/dist/model/DeviceDfuStatus.js +20 -20
- package/dist/model/DeviceDfuStatusPage.js +12 -13
- package/dist/model/DeviceSession.js +221 -221
- package/dist/model/DeviceTowerInfo.js +14 -14
- package/dist/model/DeviceUsage.js +32 -32
- package/dist/model/DfuActionRequest.js +7 -7
- package/dist/model/EmailNotification.js +7 -7
- package/dist/model/EnvTreeJsonNode.js +67 -69
- package/dist/model/EnvVar.js +18 -18
- package/dist/model/EnvironmentVariables.js +8 -8
- package/dist/model/Error.js +31 -31
- package/dist/model/Event.js +248 -248
- package/dist/model/Filter.js +16 -16
- package/dist/model/Firmware.js +49 -49
- package/dist/model/FirmwareInfo.js +68 -68
- package/dist/model/Fleet.js +38 -38
- package/dist/model/FleetConnectivityAssurance.js +5 -5
- package/dist/model/GetAlerts200Response.js +14 -15
- package/dist/model/GetBillingAccount200Response.js +25 -25
- package/dist/model/GetBillingAccount200ResponsePlan.js +22 -22
- package/dist/model/GetBillingAccountBalanceHistory200Response.js +9 -10
- package/dist/model/GetBillingAccountBalanceHistory200ResponseDataInner.js +17 -17
- package/dist/model/GetBillingAccounts200Response.js +9 -10
- package/dist/model/GetDataUsage200Response.js +12 -13
- package/dist/model/GetDataUsage200ResponseDataInner.js +43 -44
- package/dist/model/GetDbNote200Response.js +13 -13
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +16 -16
- package/dist/model/GetDeviceFleets200Response.js +11 -12
- package/dist/model/GetDeviceHealthLog200Response.js +11 -12
- package/dist/model/GetDeviceHealthLog200ResponseHealthLogInner.js +19 -19
- package/dist/model/GetDeviceJourney200Response.js +21 -21
- package/dist/model/GetDeviceJourney200ResponseJourney.js +16 -17
- package/dist/model/GetDeviceJourneys200Response.js +16 -17
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +20 -20
- package/dist/model/GetDeviceLatestEvents200Response.js +9 -10
- package/dist/model/GetDevicePlans200Response.js +9 -10
- package/dist/model/GetDevicePublicKey200Response.js +16 -16
- package/dist/model/GetDevicePublicKeys200Response.js +16 -17
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +12 -12
- package/dist/model/GetDeviceSessions200Response.js +16 -17
- package/dist/model/GetDevices200Response.js +16 -17
- package/dist/model/GetEvents200Response.js +20 -21
- package/dist/model/GetEventsByCursor200Response.js +23 -24
- package/dist/model/GetJobRuns200Response.js +11 -12
- package/dist/model/GetJobs200Response.js +11 -12
- package/dist/model/GetNotefile200Response.js +11 -11
- package/dist/model/GetProducts200Response.js +9 -10
- package/dist/model/GetProjectMembers200Response.js +11 -12
- package/dist/model/GetProjectSecretsResponse.js +11 -12
- package/dist/model/GetProjects200Response.js +9 -10
- package/dist/model/GetRouteLogsUsage200Response.js +14 -15
- package/dist/model/GetSessionsUsage200Response.js +15 -16
- package/dist/model/GetWebhooks200Response.js +9 -10
- package/dist/model/GoogleRoute.js +33 -33
- package/dist/model/HttpRoute.js +35 -35
- package/dist/model/Job.js +35 -35
- package/dist/model/JobDefinition.js +26 -26
- package/dist/model/JobDefinitionReportOptions.js +28 -28
- package/dist/model/JobDefinitionSelect.js +25 -25
- package/dist/model/JobDetail.js +48 -48
- package/dist/model/JobDetailAllOf.js +7 -7
- package/dist/model/JobRun.js +57 -57
- package/dist/model/Location.js +40 -40
- package/dist/model/Login200Response.js +7 -7
- package/dist/model/LoginRequest.js +12 -12
- package/dist/model/Monitor.js +114 -115
- package/dist/model/MonitorAlertRoutesInner.js +10 -9
- package/dist/model/MqttRoute.js +68 -68
- package/dist/model/Note.js +31 -31
- package/dist/model/NoteInput.js +9 -9
- package/dist/model/Notefile.js +22 -23
- package/dist/model/NotefileSchema.js +18 -19
- package/dist/model/NotehubRoute.js +103 -103
- package/dist/model/NotehubRouteSummary.js +23 -23
- package/dist/model/OAuth2Error.js +20 -20
- package/dist/model/OAuth2TokenResponse.js +23 -23
- package/dist/model/PersonalAccessToken.js +34 -34
- package/dist/model/PersonalAccessTokenCreatedBy.js +17 -17
- package/dist/model/PersonalAccessTokenInfo.js +18 -18
- package/dist/model/PersonalAccessTokenSecret.js +12 -12
- package/dist/model/Product.js +26 -26
- package/dist/model/Project.js +34 -34
- package/dist/model/ProjectMember.js +22 -22
- package/dist/model/ProjectSecret.js +26 -26
- package/dist/model/ProvisionDeviceRequest.js +18 -18
- package/dist/model/ProxyRoute.js +29 -29
- package/dist/model/QubitroRoute.js +33 -33
- package/dist/model/RadRoute.js +31 -31
- package/dist/model/Repository.js +22 -22
- package/dist/model/RepositoryListResponse.js +11 -12
- package/dist/model/RepositoryTokenRequest.js +14 -14
- package/dist/model/RepositoryTokenResponse.js +38 -38
- package/dist/model/Role.js +9 -9
- package/dist/model/RouteLog.js +38 -38
- package/dist/model/RouteTransformSettings.js +18 -18
- package/dist/model/RunJob200Response.js +8 -8
- package/dist/model/S3ArchiveRoute.js +79 -79
- package/dist/model/SatelliteDataUsage.js +18 -18
- package/dist/model/SatellitePlan.js +29 -29
- package/dist/model/SchemaProperty.js +36 -38
- package/dist/model/SignalDevice200Response.js +5 -5
- package/dist/model/SimUsage.js +19 -19
- package/dist/model/SlackBearerNotification.js +25 -25
- package/dist/model/SlackRoute.js +48 -48
- package/dist/model/SlackWebHookNotification.js +20 -20
- package/dist/model/SnowflakeRoute.js +45 -45
- package/dist/model/SnowpipeStreamingRoute.js +60 -60
- package/dist/model/ThingworxRoute.js +33 -33
- package/dist/model/TowerLocation.js +54 -54
- package/dist/model/TwilioRoute.js +43 -43
- package/dist/model/UpdateFleetRequest.js +33 -33
- package/dist/model/UpdateHostFirmwareRequest.js +17 -17
- package/dist/model/UpdateProjectSecretRequest.js +8 -8
- package/dist/model/UploadMetadata.js +64 -64
- package/dist/model/UsageData.js +33 -33
- package/dist/model/UsageEventsData.js +49 -49
- package/dist/model/UsageEventsResponse.js +14 -15
- package/dist/model/UsageRouteLogsData.js +30 -30
- package/dist/model/UsageSessionsData.js +43 -43
- package/dist/model/UserDfuStateMachine.js +20 -20
- package/dist/model/UserDfuStateMachineStatus.js +20 -20
- package/dist/model/UserFirmwareInfo.js +12 -12
- package/dist/model/WebhookSettings.js +15 -15
- package/package.json +3 -3
package/dist/api/JobsApi.js
CHANGED
|
@@ -23,7 +23,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
23
23
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
24
24
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
25
25
|
* Notehub API
|
|
26
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
26
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
27
27
|
*
|
|
28
28
|
* The version of the OpenAPI document: 1.2.0
|
|
29
29
|
* Contact: engineering@blues.io
|
|
@@ -34,18 +34,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
34
34
|
*
|
|
35
35
|
*/
|
|
36
36
|
/**
|
|
37
|
-
* Jobs service.
|
|
38
|
-
* @module api/JobsApi
|
|
39
|
-
* @version 6.2.0-beta.
|
|
40
|
-
*/
|
|
37
|
+
* Jobs service.
|
|
38
|
+
* @module api/JobsApi
|
|
39
|
+
* @version 6.2.0-beta.58
|
|
40
|
+
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
43
|
+
* Constructs a new JobsApi.
|
|
44
|
+
* @alias module:api/JobsApi
|
|
45
|
+
* @class
|
|
46
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
47
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
48
|
+
*/
|
|
49
49
|
function JobsApi(apiClient) {
|
|
50
50
|
_classCallCheck(this, JobsApi);
|
|
51
51
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
@@ -53,7 +53,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Cancel a running job execution
|
|
56
|
-
* @param {String} projectOrProductUID
|
|
56
|
+
* @param {String} projectOrProductUID
|
|
57
57
|
* @param {String} reportUID Unique identifier for a job run report
|
|
58
58
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CancelJobRun200Response} and HTTP response
|
|
59
59
|
*/
|
|
@@ -70,22 +70,22 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
70
70
|
throw new _Error["default"]("Missing the required parameter 'reportUID' when calling cancelJobRun");
|
|
71
71
|
}
|
|
72
72
|
var pathParams = {
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
projectOrProductUID: projectOrProductUID,
|
|
74
|
+
reportUID: reportUID
|
|
75
75
|
};
|
|
76
76
|
var queryParams = {};
|
|
77
77
|
var headerParams = {};
|
|
78
78
|
var formParams = {};
|
|
79
|
-
var authNames = [
|
|
79
|
+
var authNames = ["personalAccessToken"];
|
|
80
80
|
var contentTypes = [];
|
|
81
|
-
var accepts = [
|
|
81
|
+
var accepts = ["application/json"];
|
|
82
82
|
var returnType = _CancelJobRun200Response["default"];
|
|
83
|
-
return this.apiClient.callApi(
|
|
83
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}/cancel", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* Cancel a running job execution
|
|
88
|
-
* @param {String} projectOrProductUID
|
|
88
|
+
* @param {String} projectOrProductUID
|
|
89
89
|
* @param {String} reportUID Unique identifier for a job run report
|
|
90
90
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CancelJobRun200Response}
|
|
91
91
|
*/
|
|
@@ -99,7 +99,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
101
|
* Create a new batch job with an optional name
|
|
102
|
-
* @param {String} projectOrProductUID
|
|
102
|
+
* @param {String} projectOrProductUID
|
|
103
103
|
* @param {String} name Name for the job
|
|
104
104
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
105
105
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateJob201Response} and HTTP response
|
|
@@ -121,23 +121,23 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
121
121
|
throw new _Error["default"]("Missing the required parameter 'jobDefinition' when calling createJob");
|
|
122
122
|
}
|
|
123
123
|
var pathParams = {
|
|
124
|
-
|
|
124
|
+
projectOrProductUID: projectOrProductUID
|
|
125
125
|
};
|
|
126
126
|
var queryParams = {
|
|
127
|
-
|
|
127
|
+
name: name
|
|
128
128
|
};
|
|
129
129
|
var headerParams = {};
|
|
130
130
|
var formParams = {};
|
|
131
|
-
var authNames = [
|
|
132
|
-
var contentTypes = [
|
|
133
|
-
var accepts = [
|
|
131
|
+
var authNames = ["personalAccessToken"];
|
|
132
|
+
var contentTypes = ["application/json"];
|
|
133
|
+
var accepts = ["application/json"];
|
|
134
134
|
var returnType = _CreateJob201Response["default"];
|
|
135
|
-
return this.apiClient.callApi(
|
|
135
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
136
136
|
}
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Create a new batch job with an optional name
|
|
140
|
-
* @param {String} projectOrProductUID
|
|
140
|
+
* @param {String} projectOrProductUID
|
|
141
141
|
* @param {String} name Name for the job
|
|
142
142
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
143
143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateJob201Response}
|
|
@@ -152,7 +152,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
152
152
|
|
|
153
153
|
/**
|
|
154
154
|
* Delete a batch job
|
|
155
|
-
* @param {String} projectOrProductUID
|
|
155
|
+
* @param {String} projectOrProductUID
|
|
156
156
|
* @param {String} jobUID Unique identifier for a batch job
|
|
157
157
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteJob200Response} and HTTP response
|
|
158
158
|
*/
|
|
@@ -169,22 +169,22 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
169
|
throw new _Error["default"]("Missing the required parameter 'jobUID' when calling deleteJob");
|
|
170
170
|
}
|
|
171
171
|
var pathParams = {
|
|
172
|
-
|
|
173
|
-
|
|
172
|
+
projectOrProductUID: projectOrProductUID,
|
|
173
|
+
jobUID: jobUID
|
|
174
174
|
};
|
|
175
175
|
var queryParams = {};
|
|
176
176
|
var headerParams = {};
|
|
177
177
|
var formParams = {};
|
|
178
|
-
var authNames = [
|
|
178
|
+
var authNames = ["personalAccessToken"];
|
|
179
179
|
var contentTypes = [];
|
|
180
|
-
var accepts = [
|
|
180
|
+
var accepts = ["application/json"];
|
|
181
181
|
var returnType = _DeleteJob200Response["default"];
|
|
182
|
-
return this.apiClient.callApi(
|
|
182
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/{jobUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
183
183
|
}
|
|
184
184
|
|
|
185
185
|
/**
|
|
186
186
|
* Delete a batch job
|
|
187
|
-
* @param {String} projectOrProductUID
|
|
187
|
+
* @param {String} projectOrProductUID
|
|
188
188
|
* @param {String} jobUID Unique identifier for a batch job
|
|
189
189
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteJob200Response}
|
|
190
190
|
*/
|
|
@@ -198,7 +198,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
198
198
|
|
|
199
199
|
/**
|
|
200
200
|
* Delete the results of a job run
|
|
201
|
-
* @param {String} projectOrProductUID
|
|
201
|
+
* @param {String} projectOrProductUID
|
|
202
202
|
* @param {String} reportUID Unique identifier for a job run report
|
|
203
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
204
204
|
*/
|
|
@@ -215,22 +215,22 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
215
215
|
throw new _Error["default"]("Missing the required parameter 'reportUID' when calling deleteJobRun");
|
|
216
216
|
}
|
|
217
217
|
var pathParams = {
|
|
218
|
-
|
|
219
|
-
|
|
218
|
+
projectOrProductUID: projectOrProductUID,
|
|
219
|
+
reportUID: reportUID
|
|
220
220
|
};
|
|
221
221
|
var queryParams = {};
|
|
222
222
|
var headerParams = {};
|
|
223
223
|
var formParams = {};
|
|
224
|
-
var authNames = [
|
|
224
|
+
var authNames = ["personalAccessToken"];
|
|
225
225
|
var contentTypes = [];
|
|
226
|
-
var accepts = [
|
|
226
|
+
var accepts = ["application/json"];
|
|
227
227
|
var returnType = null;
|
|
228
|
-
return this.apiClient.callApi(
|
|
228
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
229
229
|
}
|
|
230
230
|
|
|
231
231
|
/**
|
|
232
232
|
* Delete the results of a job run
|
|
233
|
-
* @param {String} projectOrProductUID
|
|
233
|
+
* @param {String} projectOrProductUID
|
|
234
234
|
* @param {String} reportUID Unique identifier for a job run report
|
|
235
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
236
236
|
*/
|
|
@@ -244,7 +244,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
244
|
|
|
245
245
|
/**
|
|
246
246
|
* Get a specific batch job definition
|
|
247
|
-
* @param {String} projectOrProductUID
|
|
247
|
+
* @param {String} projectOrProductUID
|
|
248
248
|
* @param {String} jobUID Unique identifier for a batch job
|
|
249
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobDetail} and HTTP response
|
|
250
250
|
*/
|
|
@@ -261,22 +261,22 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
261
261
|
throw new _Error["default"]("Missing the required parameter 'jobUID' when calling getJob");
|
|
262
262
|
}
|
|
263
263
|
var pathParams = {
|
|
264
|
-
|
|
265
|
-
|
|
264
|
+
projectOrProductUID: projectOrProductUID,
|
|
265
|
+
jobUID: jobUID
|
|
266
266
|
};
|
|
267
267
|
var queryParams = {};
|
|
268
268
|
var headerParams = {};
|
|
269
269
|
var formParams = {};
|
|
270
|
-
var authNames = [
|
|
270
|
+
var authNames = ["personalAccessToken"];
|
|
271
271
|
var contentTypes = [];
|
|
272
|
-
var accepts = [
|
|
272
|
+
var accepts = ["application/json"];
|
|
273
273
|
var returnType = _JobDetail["default"];
|
|
274
|
-
return this.apiClient.callApi(
|
|
274
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/{jobUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
275
275
|
}
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* Get a specific batch job definition
|
|
279
|
-
* @param {String} projectOrProductUID
|
|
279
|
+
* @param {String} projectOrProductUID
|
|
280
280
|
* @param {String} jobUID Unique identifier for a batch job
|
|
281
281
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobDetail}
|
|
282
282
|
*/
|
|
@@ -290,7 +290,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
290
290
|
|
|
291
291
|
/**
|
|
292
292
|
* Get the result of a job execution
|
|
293
|
-
* @param {String} projectOrProductUID
|
|
293
|
+
* @param {String} projectOrProductUID
|
|
294
294
|
* @param {String} reportUID Unique identifier for a job run report
|
|
295
295
|
* @param {Object} opts Optional parameters
|
|
296
296
|
* @param {module:model/String} opts.view Controls the level of detail returned: 'summary' returns metadata only, 'detail' returns the full result payload (default to 'summary')
|
|
@@ -310,24 +310,24 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
310
310
|
throw new _Error["default"]("Missing the required parameter 'reportUID' when calling getJobRun");
|
|
311
311
|
}
|
|
312
312
|
var pathParams = {
|
|
313
|
-
|
|
314
|
-
|
|
313
|
+
projectOrProductUID: projectOrProductUID,
|
|
314
|
+
reportUID: reportUID
|
|
315
315
|
};
|
|
316
316
|
var queryParams = {
|
|
317
|
-
|
|
317
|
+
view: opts["view"]
|
|
318
318
|
};
|
|
319
319
|
var headerParams = {};
|
|
320
320
|
var formParams = {};
|
|
321
|
-
var authNames = [
|
|
321
|
+
var authNames = ["personalAccessToken"];
|
|
322
322
|
var contentTypes = [];
|
|
323
|
-
var accepts = [
|
|
323
|
+
var accepts = ["application/json"];
|
|
324
324
|
var returnType = _JobRun["default"];
|
|
325
|
-
return this.apiClient.callApi(
|
|
325
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/runs/{reportUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
328
|
/**
|
|
329
329
|
* Get the result of a job execution
|
|
330
|
-
* @param {String} projectOrProductUID
|
|
330
|
+
* @param {String} projectOrProductUID
|
|
331
331
|
* @param {String} reportUID Unique identifier for a job run report
|
|
332
332
|
* @param {Object} opts Optional parameters
|
|
333
333
|
* @param {module:model/String} opts.view Controls the level of detail returned: 'summary' returns metadata only, 'detail' returns the full result payload (default to 'summary')
|
|
@@ -343,7 +343,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
343
343
|
|
|
344
344
|
/**
|
|
345
345
|
* List all runs for a specific job
|
|
346
|
-
* @param {String} projectOrProductUID
|
|
346
|
+
* @param {String} projectOrProductUID
|
|
347
347
|
* @param {String} jobUID Unique identifier for a batch job
|
|
348
348
|
* @param {Object} opts Optional parameters
|
|
349
349
|
* @param {String} opts.status Filter runs by status
|
|
@@ -364,25 +364,25 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
364
364
|
throw new _Error["default"]("Missing the required parameter 'jobUID' when calling getJobRuns");
|
|
365
365
|
}
|
|
366
366
|
var pathParams = {
|
|
367
|
-
|
|
368
|
-
|
|
367
|
+
projectOrProductUID: projectOrProductUID,
|
|
368
|
+
jobUID: jobUID
|
|
369
369
|
};
|
|
370
370
|
var queryParams = {
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
status: opts["status"],
|
|
372
|
+
dry_run: opts["dryRun"]
|
|
373
373
|
};
|
|
374
374
|
var headerParams = {};
|
|
375
375
|
var formParams = {};
|
|
376
|
-
var authNames = [
|
|
376
|
+
var authNames = ["personalAccessToken"];
|
|
377
377
|
var contentTypes = [];
|
|
378
|
-
var accepts = [
|
|
378
|
+
var accepts = ["application/json"];
|
|
379
379
|
var returnType = _GetJobRuns200Response["default"];
|
|
380
|
-
return this.apiClient.callApi(
|
|
380
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/{jobUID}/runs", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
381
381
|
}
|
|
382
382
|
|
|
383
383
|
/**
|
|
384
384
|
* List all runs for a specific job
|
|
385
|
-
* @param {String} projectOrProductUID
|
|
385
|
+
* @param {String} projectOrProductUID
|
|
386
386
|
* @param {String} jobUID Unique identifier for a batch job
|
|
387
387
|
* @param {Object} opts Optional parameters
|
|
388
388
|
* @param {String} opts.status Filter runs by status
|
|
@@ -399,7 +399,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
399
399
|
|
|
400
400
|
/**
|
|
401
401
|
* List all batch jobs for a project
|
|
402
|
-
* @param {String} projectOrProductUID
|
|
402
|
+
* @param {String} projectOrProductUID
|
|
403
403
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobs200Response} and HTTP response
|
|
404
404
|
*/
|
|
405
405
|
}, {
|
|
@@ -411,21 +411,21 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
411
411
|
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getJobs");
|
|
412
412
|
}
|
|
413
413
|
var pathParams = {
|
|
414
|
-
|
|
414
|
+
projectOrProductUID: projectOrProductUID
|
|
415
415
|
};
|
|
416
416
|
var queryParams = {};
|
|
417
417
|
var headerParams = {};
|
|
418
418
|
var formParams = {};
|
|
419
|
-
var authNames = [
|
|
419
|
+
var authNames = ["personalAccessToken"];
|
|
420
420
|
var contentTypes = [];
|
|
421
|
-
var accepts = [
|
|
421
|
+
var accepts = ["application/json"];
|
|
422
422
|
var returnType = _GetJobs200Response["default"];
|
|
423
|
-
return this.apiClient.callApi(
|
|
423
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
424
424
|
}
|
|
425
425
|
|
|
426
426
|
/**
|
|
427
427
|
* List all batch jobs for a project
|
|
428
|
-
* @param {String} projectOrProductUID
|
|
428
|
+
* @param {String} projectOrProductUID
|
|
429
429
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobs200Response}
|
|
430
430
|
*/
|
|
431
431
|
}, {
|
|
@@ -438,7 +438,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
438
438
|
|
|
439
439
|
/**
|
|
440
440
|
* Execute a batch job
|
|
441
|
-
* @param {String} projectOrProductUID
|
|
441
|
+
* @param {String} projectOrProductUID
|
|
442
442
|
* @param {String} jobUID Unique identifier for a batch job
|
|
443
443
|
* @param {Object} opts Optional parameters
|
|
444
444
|
* @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
|
|
@@ -458,24 +458,24 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
458
458
|
throw new _Error["default"]("Missing the required parameter 'jobUID' when calling runJob");
|
|
459
459
|
}
|
|
460
460
|
var pathParams = {
|
|
461
|
-
|
|
462
|
-
|
|
461
|
+
projectOrProductUID: projectOrProductUID,
|
|
462
|
+
jobUID: jobUID
|
|
463
463
|
};
|
|
464
464
|
var queryParams = {
|
|
465
|
-
|
|
465
|
+
dry_run: opts["dryRun"]
|
|
466
466
|
};
|
|
467
467
|
var headerParams = {};
|
|
468
468
|
var formParams = {};
|
|
469
|
-
var authNames = [
|
|
469
|
+
var authNames = ["personalAccessToken"];
|
|
470
470
|
var contentTypes = [];
|
|
471
|
-
var accepts = [
|
|
471
|
+
var accepts = ["application/json"];
|
|
472
472
|
var returnType = _RunJob200Response["default"];
|
|
473
|
-
return this.apiClient.callApi(
|
|
473
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/jobs/{jobUID}/run", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
474
474
|
}
|
|
475
475
|
|
|
476
476
|
/**
|
|
477
477
|
* Execute a batch job
|
|
478
|
-
* @param {String} projectOrProductUID
|
|
478
|
+
* @param {String} projectOrProductUID
|
|
479
479
|
* @param {String} jobUID Unique identifier for a batch job
|
|
480
480
|
* @param {Object} opts Optional parameters
|
|
481
481
|
* @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -16,7 +16,7 @@ function _createClass(e, r, t) { return r && _defineProperties(e.prototype, r),
|
|
|
16
16
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : i + ""; }
|
|
17
17
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); } /**
|
|
18
18
|
* Notehub API
|
|
19
|
-
* The OpenAPI definition for the Notehub.io API.
|
|
19
|
+
* The OpenAPI definition for the Notehub.io API.
|
|
20
20
|
*
|
|
21
21
|
* The version of the OpenAPI document: 1.2.0
|
|
22
22
|
* Contact: engineering@blues.io
|
|
@@ -27,18 +27,18 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
27
27
|
*
|
|
28
28
|
*/
|
|
29
29
|
/**
|
|
30
|
-
* Monitor service.
|
|
31
|
-
* @module api/MonitorApi
|
|
32
|
-
* @version 6.2.0-beta.
|
|
33
|
-
*/
|
|
30
|
+
* Monitor service.
|
|
31
|
+
* @module api/MonitorApi
|
|
32
|
+
* @version 6.2.0-beta.58
|
|
33
|
+
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
* Constructs a new MonitorApi.
|
|
37
|
+
* @alias module:api/MonitorApi
|
|
38
|
+
* @class
|
|
39
|
+
* @param {module:ApiClient} [apiClient] Optional API client implementation to use,
|
|
40
|
+
* default to {@link module:ApiClient#instance} if unspecified.
|
|
41
|
+
*/
|
|
42
42
|
function MonitorApi(apiClient) {
|
|
43
43
|
_classCallCheck(this, MonitorApi);
|
|
44
44
|
this.apiClient = apiClient || _ApiClient["default"].instance;
|
|
@@ -46,7 +46,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
48
|
* Create a new Monitor
|
|
49
|
-
* @param {String} projectOrProductUID
|
|
49
|
+
* @param {String} projectOrProductUID
|
|
50
50
|
* @param {module:model/Monitor} body Body or payload of monitor to be created
|
|
51
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
52
52
|
*/
|
|
@@ -63,21 +63,21 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
63
63
|
throw new _Error["default"]("Missing the required parameter 'body' when calling createMonitor");
|
|
64
64
|
}
|
|
65
65
|
var pathParams = {
|
|
66
|
-
|
|
66
|
+
projectOrProductUID: projectOrProductUID
|
|
67
67
|
};
|
|
68
68
|
var queryParams = {};
|
|
69
69
|
var headerParams = {};
|
|
70
70
|
var formParams = {};
|
|
71
|
-
var authNames = [
|
|
72
|
-
var contentTypes = [
|
|
73
|
-
var accepts = [
|
|
71
|
+
var authNames = ["personalAccessToken"];
|
|
72
|
+
var contentTypes = ["application/json"];
|
|
73
|
+
var accepts = ["application/json"];
|
|
74
74
|
var returnType = _Monitor["default"];
|
|
75
|
-
return this.apiClient.callApi(
|
|
75
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/monitors", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
/**
|
|
79
79
|
* Create a new Monitor
|
|
80
|
-
* @param {String} projectOrProductUID
|
|
80
|
+
* @param {String} projectOrProductUID
|
|
81
81
|
* @param {module:model/Monitor} body Body or payload of monitor to be created
|
|
82
82
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
83
83
|
*/
|
|
@@ -91,8 +91,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
93
|
* Delete Monitor
|
|
94
|
-
* @param {String} projectOrProductUID
|
|
95
|
-
* @param {String} monitorUID
|
|
94
|
+
* @param {String} projectOrProductUID
|
|
95
|
+
* @param {String} monitorUID
|
|
96
96
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
97
97
|
*/
|
|
98
98
|
}, {
|
|
@@ -108,23 +108,23 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
108
108
|
throw new _Error["default"]("Missing the required parameter 'monitorUID' when calling deleteMonitor");
|
|
109
109
|
}
|
|
110
110
|
var pathParams = {
|
|
111
|
-
|
|
112
|
-
|
|
111
|
+
projectOrProductUID: projectOrProductUID,
|
|
112
|
+
monitorUID: monitorUID
|
|
113
113
|
};
|
|
114
114
|
var queryParams = {};
|
|
115
115
|
var headerParams = {};
|
|
116
116
|
var formParams = {};
|
|
117
|
-
var authNames = [
|
|
117
|
+
var authNames = ["personalAccessToken"];
|
|
118
118
|
var contentTypes = [];
|
|
119
|
-
var accepts = [
|
|
119
|
+
var accepts = ["application/json"];
|
|
120
120
|
var returnType = _Monitor["default"];
|
|
121
|
-
return this.apiClient.callApi(
|
|
121
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/monitors/{monitorUID}", "DELETE", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
124
|
/**
|
|
125
125
|
* Delete Monitor
|
|
126
|
-
* @param {String} projectOrProductUID
|
|
127
|
-
* @param {String} monitorUID
|
|
126
|
+
* @param {String} projectOrProductUID
|
|
127
|
+
* @param {String} monitorUID
|
|
128
128
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
129
129
|
*/
|
|
130
130
|
}, {
|
|
@@ -137,8 +137,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
137
|
|
|
138
138
|
/**
|
|
139
139
|
* Get Monitor
|
|
140
|
-
* @param {String} projectOrProductUID
|
|
141
|
-
* @param {String} monitorUID
|
|
140
|
+
* @param {String} projectOrProductUID
|
|
141
|
+
* @param {String} monitorUID
|
|
142
142
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
143
143
|
*/
|
|
144
144
|
}, {
|
|
@@ -154,23 +154,23 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
154
154
|
throw new _Error["default"]("Missing the required parameter 'monitorUID' when calling getMonitor");
|
|
155
155
|
}
|
|
156
156
|
var pathParams = {
|
|
157
|
-
|
|
158
|
-
|
|
157
|
+
projectOrProductUID: projectOrProductUID,
|
|
158
|
+
monitorUID: monitorUID
|
|
159
159
|
};
|
|
160
160
|
var queryParams = {};
|
|
161
161
|
var headerParams = {};
|
|
162
162
|
var formParams = {};
|
|
163
|
-
var authNames = [
|
|
163
|
+
var authNames = ["personalAccessToken"];
|
|
164
164
|
var contentTypes = [];
|
|
165
|
-
var accepts = [
|
|
165
|
+
var accepts = ["application/json"];
|
|
166
166
|
var returnType = _Monitor["default"];
|
|
167
|
-
return this.apiClient.callApi(
|
|
167
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/monitors/{monitorUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
168
168
|
}
|
|
169
169
|
|
|
170
170
|
/**
|
|
171
171
|
* Get Monitor
|
|
172
|
-
* @param {String} projectOrProductUID
|
|
173
|
-
* @param {String} monitorUID
|
|
172
|
+
* @param {String} projectOrProductUID
|
|
173
|
+
* @param {String} monitorUID
|
|
174
174
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
175
175
|
*/
|
|
176
176
|
}, {
|
|
@@ -183,7 +183,7 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
183
183
|
|
|
184
184
|
/**
|
|
185
185
|
* Get list of defined Monitors
|
|
186
|
-
* @param {String} projectOrProductUID
|
|
186
|
+
* @param {String} projectOrProductUID
|
|
187
187
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/Monitor>} and HTTP response
|
|
188
188
|
*/
|
|
189
189
|
}, {
|
|
@@ -195,21 +195,21 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
195
195
|
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling getMonitors");
|
|
196
196
|
}
|
|
197
197
|
var pathParams = {
|
|
198
|
-
|
|
198
|
+
projectOrProductUID: projectOrProductUID
|
|
199
199
|
};
|
|
200
200
|
var queryParams = {};
|
|
201
201
|
var headerParams = {};
|
|
202
202
|
var formParams = {};
|
|
203
|
-
var authNames = [
|
|
203
|
+
var authNames = ["personalAccessToken"];
|
|
204
204
|
var contentTypes = [];
|
|
205
|
-
var accepts = [
|
|
205
|
+
var accepts = ["application/json"];
|
|
206
206
|
var returnType = [_Monitor["default"]];
|
|
207
|
-
return this.apiClient.callApi(
|
|
207
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/monitors", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
210
|
/**
|
|
211
211
|
* Get list of defined Monitors
|
|
212
|
-
* @param {String} projectOrProductUID
|
|
212
|
+
* @param {String} projectOrProductUID
|
|
213
213
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/Monitor>}
|
|
214
214
|
*/
|
|
215
215
|
}, {
|
|
@@ -222,8 +222,8 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
222
222
|
|
|
223
223
|
/**
|
|
224
224
|
* Update Monitor
|
|
225
|
-
* @param {String} projectOrProductUID
|
|
226
|
-
* @param {String} monitorUID
|
|
225
|
+
* @param {String} projectOrProductUID
|
|
226
|
+
* @param {String} monitorUID
|
|
227
227
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
228
228
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Monitor} and HTTP response
|
|
229
229
|
*/
|
|
@@ -244,23 +244,23 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
244
244
|
throw new _Error["default"]("Missing the required parameter 'monitor' when calling updateMonitor");
|
|
245
245
|
}
|
|
246
246
|
var pathParams = {
|
|
247
|
-
|
|
248
|
-
|
|
247
|
+
projectOrProductUID: projectOrProductUID,
|
|
248
|
+
monitorUID: monitorUID
|
|
249
249
|
};
|
|
250
250
|
var queryParams = {};
|
|
251
251
|
var headerParams = {};
|
|
252
252
|
var formParams = {};
|
|
253
|
-
var authNames = [
|
|
254
|
-
var contentTypes = [
|
|
255
|
-
var accepts = [
|
|
253
|
+
var authNames = ["personalAccessToken"];
|
|
254
|
+
var contentTypes = ["application/json"];
|
|
255
|
+
var accepts = ["application/json"];
|
|
256
256
|
var returnType = _Monitor["default"];
|
|
257
|
-
return this.apiClient.callApi(
|
|
257
|
+
return this.apiClient.callApi("/v1/projects/{projectOrProductUID}/monitors/{monitorUID}", "PUT", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
258
258
|
}
|
|
259
259
|
|
|
260
260
|
/**
|
|
261
261
|
* Update Monitor
|
|
262
|
-
* @param {String} projectOrProductUID
|
|
263
|
-
* @param {String} monitorUID
|
|
262
|
+
* @param {String} projectOrProductUID
|
|
263
|
+
* @param {String} monitorUID
|
|
264
264
|
* @param {module:model/Monitor} monitor Body or payload of monitor to be created
|
|
265
265
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Monitor}
|
|
266
266
|
*/
|