@blues-inc/notehub-js 6.4.0-beta.69 → 6.4.0-beta.70
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 +3 -3
- 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 +1 -1
- package/dist/api/EventApi.js +1 -1
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +10 -10
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +1 -1
- package/dist/api/RouteApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +14 -14
- 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/{DataSet.js → BatchJobNoteRequest.js} +86 -84
- package/dist/model/BatchJobRequests.js +34 -1
- package/dist/model/BillingAccount.js +1 -1
- 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 +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- 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 +2 -7
- 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 -86
- 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 -10
- 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 +1 -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 +6 -6
- package/dist/model/{HealthLog.js → GetDeviceHealthLog200ResponseHealthLogInner.js} +22 -22
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +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 +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +1 -1
- package/dist/model/Login200Response.js +1 -1
- package/dist/model/LoginRequest.js +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +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 +1 -1
- 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 +1 -1
- 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 +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- 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 +1 -1
- 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/README.md
CHANGED
|
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
|
|
|
6
6
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
|
7
7
|
|
|
8
8
|
- API version: 1.2.0
|
|
9
|
-
- Package version: 6.4.0-beta.
|
|
9
|
+
- Package version: 6.4.0-beta.70
|
|
10
10
|
- Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
|
|
11
11
|
For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
|
|
12
12
|
|
|
@@ -270,6 +270,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
270
270
|
- [NotehubJs.AlertNotificationsInner](docs/AlertNotificationsInner.md)
|
|
271
271
|
- [NotehubJs.AwsRoute](docs/AwsRoute.md)
|
|
272
272
|
- [NotehubJs.AzureRoute](docs/AzureRoute.md)
|
|
273
|
+
- [NotehubJs.BatchJobNoteRequest](docs/BatchJobNoteRequest.md)
|
|
273
274
|
- [NotehubJs.BatchJobRequests](docs/BatchJobRequests.md)
|
|
274
275
|
- [NotehubJs.BillingAccount](docs/BillingAccount.md)
|
|
275
276
|
- [NotehubJs.BillingAccountRole](docs/BillingAccountRole.md)
|
|
@@ -291,7 +292,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
291
292
|
- [NotehubJs.DFUEnv](docs/DFUEnv.md)
|
|
292
293
|
- [NotehubJs.DFUState](docs/DFUState.md)
|
|
293
294
|
- [NotehubJs.DataField](docs/DataField.md)
|
|
294
|
-
- [NotehubJs.DataSet](docs/DataSet.md)
|
|
295
295
|
- [NotehubJs.DataSetField](docs/DataSetField.md)
|
|
296
296
|
- [NotehubJs.DataUsage](docs/DataUsage.md)
|
|
297
297
|
- [NotehubJs.DatacakeRoute](docs/DatacakeRoute.md)
|
|
@@ -333,6 +333,7 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
333
333
|
- [NotehubJs.GetDeviceEnvironmentVariablesByPin200Response](docs/GetDeviceEnvironmentVariablesByPin200Response.md)
|
|
334
334
|
- [NotehubJs.GetDeviceFleets200Response](docs/GetDeviceFleets200Response.md)
|
|
335
335
|
- [NotehubJs.GetDeviceHealthLog200Response](docs/GetDeviceHealthLog200Response.md)
|
|
336
|
+
- [NotehubJs.GetDeviceHealthLog200ResponseHealthLogInner](docs/GetDeviceHealthLog200ResponseHealthLogInner.md)
|
|
336
337
|
- [NotehubJs.GetDeviceJourney200Response](docs/GetDeviceJourney200Response.md)
|
|
337
338
|
- [NotehubJs.GetDeviceJourney200ResponseJourney](docs/GetDeviceJourney200ResponseJourney.md)
|
|
338
339
|
- [NotehubJs.GetDeviceJourneys200Response](docs/GetDeviceJourneys200Response.md)
|
|
@@ -358,7 +359,6 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
358
359
|
- [NotehubJs.GetSessionsUsage200Response](docs/GetSessionsUsage200Response.md)
|
|
359
360
|
- [NotehubJs.GetWebhooks200Response](docs/GetWebhooks200Response.md)
|
|
360
361
|
- [NotehubJs.GoogleRoute](docs/GoogleRoute.md)
|
|
361
|
-
- [NotehubJs.HealthLog](docs/HealthLog.md)
|
|
362
362
|
- [NotehubJs.HttpRoute](docs/HttpRoute.md)
|
|
363
363
|
- [NotehubJs.Job](docs/Job.md)
|
|
364
364
|
- [NotehubJs.JobDefinition](docs/JobDefinition.md)
|
package/dist/ApiClient.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
*/
|
|
27
27
|
/**
|
|
28
28
|
* @module ApiClient
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
/**
|
|
32
32
|
* Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
|
|
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
|
|
|
68
68
|
*/
|
|
69
69
|
this.defaultHeaders = {};
|
|
70
70
|
if (typeof window === "undefined") {
|
|
71
|
-
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.4.0-beta.70/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* Alert service.
|
|
30
30
|
* @module api/AlertApi
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Authorization service.
|
|
32
32
|
* @module api/AuthorizationApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* BillingAccount service.
|
|
32
32
|
* @module api/BillingAccountApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var BillingAccountApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/DeviceApi.js
CHANGED
|
@@ -48,7 +48,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
48
48
|
/**
|
|
49
49
|
* Device service.
|
|
50
50
|
* @module api/DeviceApi
|
|
51
|
-
* @version 6.4.0-beta.
|
|
51
|
+
* @version 6.4.0-beta.70
|
|
52
52
|
*/
|
|
53
53
|
var DeviceApi = exports["default"] = /*#__PURE__*/function () {
|
|
54
54
|
/**
|
package/dist/api/EventApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Event service.
|
|
32
32
|
* @module api/EventApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -36,7 +36,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
36
36
|
/**
|
|
37
37
|
* Jobs service.
|
|
38
38
|
* @module api/JobsApi
|
|
39
|
-
* @version 6.4.0-beta.
|
|
39
|
+
* @version 6.4.0-beta.70
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
package/dist/api/MonitorApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* Monitor service.
|
|
31
31
|
* @module api/MonitorApi
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -47,20 +47,20 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
47
47
|
/**
|
|
48
48
|
* Create a new Monitor
|
|
49
49
|
* @param {String} projectOrProductUID
|
|
50
|
-
* @param {module:model/
|
|
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
|
*/
|
|
53
53
|
return _createClass(MonitorApi, [{
|
|
54
54
|
key: "createMonitorWithHttpInfo",
|
|
55
|
-
value: function createMonitorWithHttpInfo(projectOrProductUID,
|
|
56
|
-
var postBody =
|
|
55
|
+
value: function createMonitorWithHttpInfo(projectOrProductUID, body) {
|
|
56
|
+
var postBody = body;
|
|
57
57
|
// verify the required parameter 'projectOrProductUID' is set
|
|
58
58
|
if (projectOrProductUID === undefined || projectOrProductUID === null) {
|
|
59
59
|
throw new _Error["default"]("Missing the required parameter 'projectOrProductUID' when calling createMonitor");
|
|
60
60
|
}
|
|
61
|
-
// verify the required parameter '
|
|
62
|
-
if (
|
|
63
|
-
throw new _Error["default"]("Missing the required parameter '
|
|
61
|
+
// verify the required parameter 'body' is set
|
|
62
|
+
if (body === undefined || body === null) {
|
|
63
|
+
throw new _Error["default"]("Missing the required parameter 'body' when calling createMonitor");
|
|
64
64
|
}
|
|
65
65
|
var pathParams = {
|
|
66
66
|
projectOrProductUID: projectOrProductUID
|
|
@@ -78,13 +78,13 @@ var MonitorApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
78
78
|
/**
|
|
79
79
|
* Create a new Monitor
|
|
80
80
|
* @param {String} projectOrProductUID
|
|
81
|
-
* @param {module:model/
|
|
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
|
*/
|
|
84
84
|
}, {
|
|
85
85
|
key: "createMonitor",
|
|
86
|
-
value: function createMonitor(projectOrProductUID,
|
|
87
|
-
return this.createMonitorWithHttpInfo(projectOrProductUID,
|
|
86
|
+
value: function createMonitor(projectOrProductUID, body) {
|
|
87
|
+
return this.createMonitorWithHttpInfo(projectOrProductUID, body).then(function (response_and_data) {
|
|
88
88
|
return response_and_data.data;
|
|
89
89
|
});
|
|
90
90
|
}
|
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Organization service.
|
|
32
32
|
* @module api/OrganizationApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/ProjectApi.js
CHANGED
|
@@ -56,7 +56,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
56
56
|
/**
|
|
57
57
|
* Project service.
|
|
58
58
|
* @module api/ProjectApi
|
|
59
|
-
* @version 6.4.0-beta.
|
|
59
|
+
* @version 6.4.0-beta.70
|
|
60
60
|
*/
|
|
61
61
|
var ProjectApi = exports["default"] = /*#__PURE__*/function () {
|
|
62
62
|
/**
|
package/dist/api/RouteApi.js
CHANGED
|
@@ -30,7 +30,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
30
30
|
/**
|
|
31
31
|
* Route service.
|
|
32
32
|
* @module api/RouteApi
|
|
33
|
-
* @version 6.4.0-beta.
|
|
33
|
+
* @version 6.4.0-beta.70
|
|
34
34
|
*/
|
|
35
35
|
var RouteApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
36
|
/**
|
package/dist/api/UsageApi.js
CHANGED
|
@@ -31,7 +31,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
31
31
|
/**
|
|
32
32
|
* Usage service.
|
|
33
33
|
* @module api/UsageApi
|
|
34
|
-
* @version 6.4.0-beta.
|
|
34
|
+
* @version 6.4.0-beta.70
|
|
35
35
|
*/
|
|
36
36
|
var UsageApi = exports["default"] = /*#__PURE__*/function () {
|
|
37
37
|
/**
|
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.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var WebhookApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
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, "BatchJobNoteRequest", {
|
|
67
|
+
enumerable: true,
|
|
68
|
+
get: function get() {
|
|
69
|
+
return _BatchJobNoteRequest["default"];
|
|
70
|
+
}
|
|
71
|
+
});
|
|
66
72
|
Object.defineProperty(exports, "BatchJobRequests", {
|
|
67
73
|
enumerable: true,
|
|
68
74
|
get: function get() {
|
|
@@ -195,12 +201,6 @@ Object.defineProperty(exports, "DataField", {
|
|
|
195
201
|
return _DataField["default"];
|
|
196
202
|
}
|
|
197
203
|
});
|
|
198
|
-
Object.defineProperty(exports, "DataSet", {
|
|
199
|
-
enumerable: true,
|
|
200
|
-
get: function get() {
|
|
201
|
-
return _DataSet["default"];
|
|
202
|
-
}
|
|
203
|
-
});
|
|
204
204
|
Object.defineProperty(exports, "DataSetField", {
|
|
205
205
|
enumerable: true,
|
|
206
206
|
get: function get() {
|
|
@@ -465,6 +465,12 @@ Object.defineProperty(exports, "GetDeviceHealthLog200Response", {
|
|
|
465
465
|
return _GetDeviceHealthLog200Response["default"];
|
|
466
466
|
}
|
|
467
467
|
});
|
|
468
|
+
Object.defineProperty(exports, "GetDeviceHealthLog200ResponseHealthLogInner", {
|
|
469
|
+
enumerable: true,
|
|
470
|
+
get: function get() {
|
|
471
|
+
return _GetDeviceHealthLog200ResponseHealthLogInner["default"];
|
|
472
|
+
}
|
|
473
|
+
});
|
|
468
474
|
Object.defineProperty(exports, "GetDeviceJourney200Response", {
|
|
469
475
|
enumerable: true,
|
|
470
476
|
get: function get() {
|
|
@@ -615,12 +621,6 @@ Object.defineProperty(exports, "GoogleRoute", {
|
|
|
615
621
|
return _GoogleRoute["default"];
|
|
616
622
|
}
|
|
617
623
|
});
|
|
618
|
-
Object.defineProperty(exports, "HealthLog", {
|
|
619
|
-
enumerable: true,
|
|
620
|
-
get: function get() {
|
|
621
|
-
return _HealthLog["default"];
|
|
622
|
-
}
|
|
623
|
-
});
|
|
624
624
|
Object.defineProperty(exports, "HttpRoute", {
|
|
625
625
|
enumerable: true,
|
|
626
626
|
get: function get() {
|
|
@@ -1097,6 +1097,7 @@ var _AlertDataInner = _interopRequireDefault(require("./model/AlertDataInner"));
|
|
|
1097
1097
|
var _AlertNotificationsInner = _interopRequireDefault(require("./model/AlertNotificationsInner"));
|
|
1098
1098
|
var _AwsRoute = _interopRequireDefault(require("./model/AwsRoute"));
|
|
1099
1099
|
var _AzureRoute = _interopRequireDefault(require("./model/AzureRoute"));
|
|
1100
|
+
var _BatchJobNoteRequest = _interopRequireDefault(require("./model/BatchJobNoteRequest"));
|
|
1100
1101
|
var _BatchJobRequests = _interopRequireDefault(require("./model/BatchJobRequests"));
|
|
1101
1102
|
var _BillingAccount = _interopRequireDefault(require("./model/BillingAccount"));
|
|
1102
1103
|
var _BillingAccountRole = _interopRequireDefault(require("./model/BillingAccountRole"));
|
|
@@ -1118,7 +1119,6 @@ var _CurrentFirmware = _interopRequireDefault(require("./model/CurrentFirmware")
|
|
|
1118
1119
|
var _DFUEnv = _interopRequireDefault(require("./model/DFUEnv"));
|
|
1119
1120
|
var _DFUState = _interopRequireDefault(require("./model/DFUState"));
|
|
1120
1121
|
var _DataField = _interopRequireDefault(require("./model/DataField"));
|
|
1121
|
-
var _DataSet = _interopRequireDefault(require("./model/DataSet"));
|
|
1122
1122
|
var _DataSetField = _interopRequireDefault(require("./model/DataSetField"));
|
|
1123
1123
|
var _DataUsage = _interopRequireDefault(require("./model/DataUsage"));
|
|
1124
1124
|
var _DatacakeRoute = _interopRequireDefault(require("./model/DatacakeRoute"));
|
|
@@ -1160,6 +1160,7 @@ var _GetDbNote200Response = _interopRequireDefault(require("./model/GetDbNote200
|
|
|
1160
1160
|
var _GetDeviceEnvironmentVariablesByPin200Response = _interopRequireDefault(require("./model/GetDeviceEnvironmentVariablesByPin200Response"));
|
|
1161
1161
|
var _GetDeviceFleets200Response = _interopRequireDefault(require("./model/GetDeviceFleets200Response"));
|
|
1162
1162
|
var _GetDeviceHealthLog200Response = _interopRequireDefault(require("./model/GetDeviceHealthLog200Response"));
|
|
1163
|
+
var _GetDeviceHealthLog200ResponseHealthLogInner = _interopRequireDefault(require("./model/GetDeviceHealthLog200ResponseHealthLogInner"));
|
|
1163
1164
|
var _GetDeviceJourney200Response = _interopRequireDefault(require("./model/GetDeviceJourney200Response"));
|
|
1164
1165
|
var _GetDeviceJourney200ResponseJourney = _interopRequireDefault(require("./model/GetDeviceJourney200ResponseJourney"));
|
|
1165
1166
|
var _GetDeviceJourneys200Response = _interopRequireDefault(require("./model/GetDeviceJourneys200Response"));
|
|
@@ -1185,7 +1186,6 @@ var _GetRouteLogsUsage200Response = _interopRequireDefault(require("./model/GetR
|
|
|
1185
1186
|
var _GetSessionsUsage200Response = _interopRequireDefault(require("./model/GetSessionsUsage200Response"));
|
|
1186
1187
|
var _GetWebhooks200Response = _interopRequireDefault(require("./model/GetWebhooks200Response"));
|
|
1187
1188
|
var _GoogleRoute = _interopRequireDefault(require("./model/GoogleRoute"));
|
|
1188
|
-
var _HealthLog = _interopRequireDefault(require("./model/HealthLog"));
|
|
1189
1189
|
var _HttpRoute = _interopRequireDefault(require("./model/HttpRoute"));
|
|
1190
1190
|
var _Job = _interopRequireDefault(require("./model/Job"));
|
|
1191
1191
|
var _JobDefinition = _interopRequireDefault(require("./model/JobDefinition"));
|
|
@@ -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.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var AWSRoleConfig = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
29
29
|
/**
|
|
30
30
|
* The AddDeviceToFleetsRequest model module.
|
|
31
31
|
* @module model/AddDeviceToFleetsRequest
|
|
32
|
-
* @version 6.4.0-beta.
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
33
33
|
*/
|
|
34
34
|
var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
package/dist/model/Alert.js
CHANGED
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertDataInner model module.
|
|
28
28
|
* @module model/AlertDataInner
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
var AlertDataInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
|
@@ -26,7 +26,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
26
26
|
/**
|
|
27
27
|
* The AlertNotificationsInner model module.
|
|
28
28
|
* @module model/AlertNotificationsInner
|
|
29
|
-
* @version 6.4.0-beta.
|
|
29
|
+
* @version 6.4.0-beta.70
|
|
30
30
|
*/
|
|
31
31
|
var AlertNotificationsInner = /*#__PURE__*/function () {
|
|
32
32
|
/**
|
package/dist/model/AwsRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The AwsRoute model module.
|
|
30
30
|
* @module model/AwsRoute
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var AwsRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
package/dist/model/AzureRoute.js
CHANGED
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
28
|
/**
|
|
29
29
|
* The AzureRoute model module.
|
|
30
30
|
* @module model/AzureRoute
|
|
31
|
-
* @version 6.4.0-beta.
|
|
31
|
+
* @version 6.4.0-beta.70
|
|
32
32
|
*/
|
|
33
33
|
var AzureRoute = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _DataSetField = _interopRequireDefault(require("./DataSetField"));
|
|
9
8
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
10
9
|
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
11
10
|
function _createForOfIteratorHelper(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
|
|
@@ -28,18 +27,21 @@ function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e
|
|
|
28
27
|
*
|
|
29
28
|
*/
|
|
30
29
|
/**
|
|
31
|
-
* The
|
|
32
|
-
* @module model/
|
|
33
|
-
* @version 6.4.0-beta.
|
|
30
|
+
* The BatchJobNoteRequest model module.
|
|
31
|
+
* @module model/BatchJobNoteRequest
|
|
32
|
+
* @version 6.4.0-beta.70
|
|
34
33
|
*/
|
|
35
|
-
var
|
|
34
|
+
var BatchJobNoteRequest = /*#__PURE__*/function () {
|
|
36
35
|
/**
|
|
37
|
-
* Constructs a new <code>
|
|
38
|
-
*
|
|
36
|
+
* Constructs a new <code>BatchJobNoteRequest</code>.
|
|
37
|
+
* A single note.add/note.update/note.delete request against a device's own notefile
|
|
38
|
+
* @alias module:model/BatchJobNoteRequest
|
|
39
|
+
* @param file {String} The notefile to operate on (e.g. data.qi, config.dbs)
|
|
40
|
+
* @param req {module:model/BatchJobNoteRequest.ReqEnum} The note operation to perform
|
|
39
41
|
*/
|
|
40
|
-
function
|
|
41
|
-
_classCallCheck(this,
|
|
42
|
-
|
|
42
|
+
function BatchJobNoteRequest(file, req) {
|
|
43
|
+
_classCallCheck(this, BatchJobNoteRequest);
|
|
44
|
+
BatchJobNoteRequest.initialize(this, file, req);
|
|
43
45
|
}
|
|
44
46
|
|
|
45
47
|
/**
|
|
@@ -47,39 +49,38 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
47
49
|
* This method is used by the constructors of any subclasses, in order to implement multiple inheritance (mix-ins).
|
|
48
50
|
* Only for internal use.
|
|
49
51
|
*/
|
|
50
|
-
return _createClass(
|
|
52
|
+
return _createClass(BatchJobNoteRequest, null, [{
|
|
51
53
|
key: "initialize",
|
|
52
|
-
value: function initialize(obj) {
|
|
54
|
+
value: function initialize(obj, file, req) {
|
|
55
|
+
obj["file"] = file;
|
|
56
|
+
obj["req"] = req;
|
|
57
|
+
}
|
|
53
58
|
|
|
54
59
|
/**
|
|
55
|
-
* Constructs a <code>
|
|
60
|
+
* Constructs a <code>BatchJobNoteRequest</code> from a plain JavaScript object, optionally creating a new instance.
|
|
56
61
|
* Copies all relevant properties from <code>data</code> to <code>obj</code> if supplied or a new instance if not.
|
|
57
62
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
58
|
-
* @param {module:model/
|
|
59
|
-
* @return {module:model/
|
|
63
|
+
* @param {module:model/BatchJobNoteRequest} obj Optional instance to populate.
|
|
64
|
+
* @return {module:model/BatchJobNoteRequest} The populated <code>BatchJobNoteRequest</code> instance.
|
|
60
65
|
*/
|
|
61
66
|
}, {
|
|
62
67
|
key: "constructFromObject",
|
|
63
68
|
value: function constructFromObject(data, obj) {
|
|
64
69
|
if (data) {
|
|
65
|
-
obj = obj || new
|
|
66
|
-
if (data.hasOwnProperty("
|
|
67
|
-
obj["
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
obj["lat"] = _ApiClient["default"].convertToType(data["lat"], "String");
|
|
70
|
+
obj = obj || new BatchJobNoteRequest();
|
|
71
|
+
if (data.hasOwnProperty("body")) {
|
|
72
|
+
obj["body"] = _ApiClient["default"].convertToType(data["body"], {
|
|
73
|
+
String: Object
|
|
74
|
+
});
|
|
71
75
|
}
|
|
72
|
-
if (data.hasOwnProperty("
|
|
73
|
-
obj["
|
|
76
|
+
if (data.hasOwnProperty("file")) {
|
|
77
|
+
obj["file"] = _ApiClient["default"].convertToType(data["file"], "String");
|
|
74
78
|
}
|
|
75
|
-
if (data.hasOwnProperty("
|
|
76
|
-
obj["
|
|
79
|
+
if (data.hasOwnProperty("note")) {
|
|
80
|
+
obj["note"] = _ApiClient["default"].convertToType(data["note"], "String");
|
|
77
81
|
}
|
|
78
|
-
if (data.hasOwnProperty("
|
|
79
|
-
obj["
|
|
80
|
-
}
|
|
81
|
-
if (data.hasOwnProperty("time")) {
|
|
82
|
-
obj["time"] = _ApiClient["default"].convertToType(data["time"], "String");
|
|
82
|
+
if (data.hasOwnProperty("req")) {
|
|
83
|
+
obj["req"] = _ApiClient["default"].convertToType(data["req"], "String");
|
|
83
84
|
}
|
|
84
85
|
} else if (data === null) {
|
|
85
86
|
return null;
|
|
@@ -88,89 +89,90 @@ var DataSet = /*#__PURE__*/function () {
|
|
|
88
89
|
}
|
|
89
90
|
|
|
90
91
|
/**
|
|
91
|
-
* Validates the JSON data with respect to <code>
|
|
92
|
+
* Validates the JSON data with respect to <code>BatchJobNoteRequest</code>.
|
|
92
93
|
* @param {Object} data The plain JavaScript object bearing properties of interest.
|
|
93
|
-
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>
|
|
94
|
+
* @return {boolean} to indicate whether the JSON data is valid with respect to <code>BatchJobNoteRequest</code>.
|
|
94
95
|
*/
|
|
95
96
|
}, {
|
|
96
97
|
key: "validateJSON",
|
|
97
98
|
value: function validateJSON(data) {
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
_step;
|
|
107
|
-
try {
|
|
108
|
-
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
109
|
-
var item = _step.value;
|
|
110
|
-
_DataSetField["default"].validateJsonObject(item);
|
|
99
|
+
// check to make sure all required properties are present in the JSON string
|
|
100
|
+
var _iterator = _createForOfIteratorHelper(BatchJobNoteRequest.RequiredProperties),
|
|
101
|
+
_step;
|
|
102
|
+
try {
|
|
103
|
+
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
104
|
+
var property = _step.value;
|
|
105
|
+
if (!data[property]) {
|
|
106
|
+
throw new Error("The required field `" + property + "` is not found in the JSON data: " + JSON.stringify(data));
|
|
111
107
|
}
|
|
112
|
-
} catch (err) {
|
|
113
|
-
_iterator.e(err);
|
|
114
|
-
} finally {
|
|
115
|
-
_iterator.f();
|
|
116
108
|
}
|
|
109
|
+
// ensure the json data is a string
|
|
110
|
+
} catch (err) {
|
|
111
|
+
_iterator.e(err);
|
|
112
|
+
} finally {
|
|
113
|
+
_iterator.f();
|
|
117
114
|
}
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
throw new Error("Expected the field `lat` to be a primitive type in the JSON string but got " + data["lat"]);
|
|
121
|
-
}
|
|
122
|
-
// ensure the json data is a string
|
|
123
|
-
if (data["lon"] && !(typeof data["lon"] === "string" || data["lon"] instanceof String)) {
|
|
124
|
-
throw new Error("Expected the field `lon` to be a primitive type in the JSON string but got " + data["lon"]);
|
|
115
|
+
if (data["file"] && !(typeof data["file"] === "string" || data["file"] instanceof String)) {
|
|
116
|
+
throw new Error("Expected the field `file` to be a primitive type in the JSON string but got " + data["file"]);
|
|
125
117
|
}
|
|
126
118
|
// ensure the json data is a string
|
|
127
|
-
if (data["
|
|
128
|
-
throw new Error("Expected the field `
|
|
129
|
-
}
|
|
130
|
-
// ensure the json data is an array
|
|
131
|
-
if (!Array.isArray(data["notefiles"])) {
|
|
132
|
-
throw new Error("Expected the field `notefiles` to be an array in the JSON data but got " + data["notefiles"]);
|
|
119
|
+
if (data["note"] && !(typeof data["note"] === "string" || data["note"] instanceof String)) {
|
|
120
|
+
throw new Error("Expected the field `note` to be a primitive type in the JSON string but got " + data["note"]);
|
|
133
121
|
}
|
|
134
122
|
// ensure the json data is a string
|
|
135
|
-
if (data["
|
|
136
|
-
throw new Error("Expected the field `
|
|
123
|
+
if (data["req"] && !(typeof data["req"] === "string" || data["req"] instanceof String)) {
|
|
124
|
+
throw new Error("Expected the field `req` to be a primitive type in the JSON string but got " + data["req"]);
|
|
137
125
|
}
|
|
138
126
|
return true;
|
|
139
127
|
}
|
|
140
128
|
}]);
|
|
141
129
|
}();
|
|
142
|
-
|
|
143
|
-
* @member {Array.<module:model/DataSetField>} fields
|
|
144
|
-
*/
|
|
145
|
-
DataSet.prototype["fields"] = undefined;
|
|
130
|
+
BatchJobNoteRequest.RequiredProperties = ["file", "req"];
|
|
146
131
|
|
|
147
132
|
/**
|
|
148
|
-
*
|
|
149
|
-
* @member {String}
|
|
133
|
+
* The note's JSON body (used by note.add and note.update)
|
|
134
|
+
* @member {Object.<String, Object>} body
|
|
150
135
|
*/
|
|
151
|
-
|
|
136
|
+
BatchJobNoteRequest.prototype["body"] = undefined;
|
|
152
137
|
|
|
153
138
|
/**
|
|
154
|
-
*
|
|
155
|
-
* @member {String}
|
|
139
|
+
* The notefile to operate on (e.g. data.qi, config.dbs)
|
|
140
|
+
* @member {String} file
|
|
156
141
|
*/
|
|
157
|
-
|
|
142
|
+
BatchJobNoteRequest.prototype["file"] = undefined;
|
|
158
143
|
|
|
159
144
|
/**
|
|
160
|
-
* The
|
|
161
|
-
* @member {String}
|
|
145
|
+
* The note ID. Required for note.update and note.delete, and for note.add against a database (.dbs/.db) notefile. Must be omitted for note.add against a queue (.qi/.qo) notefile.
|
|
146
|
+
* @member {String} note
|
|
162
147
|
*/
|
|
163
|
-
|
|
148
|
+
BatchJobNoteRequest.prototype["note"] = undefined;
|
|
164
149
|
|
|
165
150
|
/**
|
|
166
|
-
*
|
|
167
|
-
* @member {
|
|
151
|
+
* The note operation to perform
|
|
152
|
+
* @member {module:model/BatchJobNoteRequest.ReqEnum} req
|
|
168
153
|
*/
|
|
169
|
-
|
|
154
|
+
BatchJobNoteRequest.prototype["req"] = undefined;
|
|
170
155
|
|
|
171
156
|
/**
|
|
172
|
-
*
|
|
173
|
-
* @
|
|
157
|
+
* Allowed values for the <code>req</code> property.
|
|
158
|
+
* @enum {String}
|
|
159
|
+
* @readonly
|
|
174
160
|
*/
|
|
175
|
-
|
|
176
|
-
|
|
161
|
+
BatchJobNoteRequest["ReqEnum"] = {
|
|
162
|
+
/**
|
|
163
|
+
* value: "note.add"
|
|
164
|
+
* @const
|
|
165
|
+
*/
|
|
166
|
+
add: "note.add",
|
|
167
|
+
/**
|
|
168
|
+
* value: "note.update"
|
|
169
|
+
* @const
|
|
170
|
+
*/
|
|
171
|
+
update: "note.update",
|
|
172
|
+
/**
|
|
173
|
+
* value: "note.delete"
|
|
174
|
+
* @const
|
|
175
|
+
*/
|
|
176
|
+
"delete": "note.delete"
|
|
177
|
+
};
|
|
178
|
+
var _default = exports["default"] = BatchJobNoteRequest;
|