@blues-inc/notehub-js 6.7.0-beta.72 → 6.7.0-beta.73
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 +125 -126
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +7 -5
- package/dist/api/AuthorizationApi.js +5 -5
- package/dist/api/DescriptionApi.js +33 -49
- package/dist/api/DeviceApi.js +115 -177
- package/dist/api/EventApi.js +45 -51
- package/dist/api/ExternalDevicesApi.js +13 -19
- package/dist/api/JobsApi.js +39 -57
- package/dist/api/MonitorApi.js +27 -17
- package/dist/api/OrganizationApi.js +11 -17
- package/dist/api/ProjectApi.js +149 -237
- package/dist/api/RouteApi.js +35 -47
- package/dist/api/SkillsApi.js +17 -17
- package/dist/api/UsageApi.js +49 -59
- package/dist/api/WebhookApi.js +1 -1
- package/dist/index.js +0 -7
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +11 -6
- package/dist/model/AlertDataInner.js +9 -4
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -2
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +2 -3
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +3 -4
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +37 -25
- package/dist/model/CreateProductRequest.js +6 -7
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +1 -2
- package/dist/model/CreatedRepository.js +5 -5
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +4 -4
- package/dist/model/DataSetField.js +2 -2
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +3 -3
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +6 -6
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +8 -27
- package/dist/model/DeviceDfuHistory.js +1 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -2
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +2 -2
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -6
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- package/dist/model/EmailNotification.js +2 -2
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/Fleet.js +10 -11
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +2 -2
- package/dist/model/GetDataUsage200Response.js +2 -2
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +2 -2
- package/dist/model/GetDevicePlans200Response.js +1 -2
- package/dist/model/GetDevicePublicKey200Response.js +3 -5
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -3
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +2 -2
- package/dist/model/GetSessionsUsage200Response.js +3 -3
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +4 -7
- 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 +7 -13
- package/dist/model/Monitor.js +18 -12
- package/dist/model/MonitorAlertRoutesInner.js +4 -4
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -2
- package/dist/model/NotefileSchema.js +3 -5
- package/dist/model/NotehubRoute.js +3 -7
- package/dist/model/NotehubRouteSummary.js +1 -6
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +3 -5
- package/dist/model/Product.js +4 -8
- package/dist/model/Project.js +4 -7
- package/dist/model/ProjectMember.js +4 -5
- package/dist/model/ProjectSecret.js +7 -7
- package/dist/model/ProvisionDeviceRequest.js +5 -5
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +4 -6
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +1 -1
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +1 -1
- package/dist/model/SkillSummary.js +1 -1
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +1 -1
- package/dist/model/SlackBearerNotification.js +3 -3
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +3 -3
- 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 +6 -7
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +3 -3
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +2 -2
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
- package/dist/model/RepositoryRecord.js +0 -119
package/dist/api/EventApi.js
CHANGED
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* Event service.
|
|
31
31
|
* @module api/EventApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.73
|
|
33
33
|
*/
|
|
34
34
|
var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,28 +45,27 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
48
|
+
* Get Events of a Project
|
|
50
49
|
* @param {String} projectOrProductUID
|
|
51
50
|
* @param {Object} opts Optional parameters
|
|
52
51
|
* @param {Number} opts.pageSize (default to 1000)
|
|
53
52
|
* @param {Number} opts.pageNum (default to 1)
|
|
54
53
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
55
54
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
56
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
55
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
57
56
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
58
57
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
59
58
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
60
59
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
61
|
-
* @param {module:model/String} opts.dateType Which
|
|
62
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
63
|
-
* @param {String} opts.files
|
|
64
|
-
* @param {module:model/String} opts.format Response format
|
|
65
|
-
* @param {Array.<String>} opts.serialNumber
|
|
60
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
61
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
62
|
+
* @param {String} opts.files
|
|
63
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
64
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
66
65
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
67
|
-
* @param {Array.<String>} opts.sessionUID
|
|
68
|
-
* @param {Array.<String>} opts.eventUID
|
|
69
|
-
* @param {String} opts.selectFields Comma-separated
|
|
66
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
67
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
68
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
70
69
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
71
70
|
*/
|
|
72
71
|
return _createClass(EventApi, [{
|
|
@@ -111,28 +110,27 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
111
110
|
}
|
|
112
111
|
|
|
113
112
|
/**
|
|
114
|
-
*
|
|
115
|
-
* List a project's events, filtered by device, notefile, date, fleet, session and more. Use `cursor` to read events in the order Notehub stored them and to poll for new ones. Set `format=csv` for CSV. For one fleet, use `GetFleetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
113
|
+
* Get Events of a Project
|
|
116
114
|
* @param {String} projectOrProductUID
|
|
117
115
|
* @param {Object} opts Optional parameters
|
|
118
116
|
* @param {Number} opts.pageSize (default to 1000)
|
|
119
117
|
* @param {Number} opts.pageNum (default to 1)
|
|
120
118
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
121
119
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
122
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
120
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
123
121
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
124
122
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
125
123
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
126
124
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
127
|
-
* @param {module:model/String} opts.dateType Which
|
|
128
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
129
|
-
* @param {String} opts.files
|
|
130
|
-
* @param {module:model/String} opts.format Response format
|
|
131
|
-
* @param {Array.<String>} opts.serialNumber
|
|
125
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
126
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
127
|
+
* @param {String} opts.files
|
|
128
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
129
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
132
130
|
* @param {Array.<String>} opts.fleetUID Filter by FleetUID
|
|
133
|
-
* @param {Array.<String>} opts.sessionUID
|
|
134
|
-
* @param {Array.<String>} opts.eventUID
|
|
135
|
-
* @param {String} opts.selectFields Comma-separated
|
|
131
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
132
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
133
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
136
134
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
137
135
|
*/
|
|
138
136
|
}, {
|
|
@@ -144,8 +142,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
144
142
|
}
|
|
145
143
|
|
|
146
144
|
/**
|
|
147
|
-
*
|
|
148
|
-
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
145
|
+
* Get Events of a Fleet
|
|
149
146
|
* @param {String} projectOrProductUID
|
|
150
147
|
* @param {String} fleetUID
|
|
151
148
|
* @param {Object} opts Optional parameters
|
|
@@ -153,19 +150,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
153
150
|
* @param {Number} opts.pageNum (default to 1)
|
|
154
151
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
155
152
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
156
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
153
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
157
154
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
158
155
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
159
156
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
160
157
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
161
|
-
* @param {module:model/String} opts.dateType Which
|
|
162
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
163
|
-
* @param {String} opts.files
|
|
164
|
-
* @param {module:model/String} opts.format Response format
|
|
165
|
-
* @param {Array.<String>} opts.serialNumber
|
|
166
|
-
* @param {Array.<String>} opts.sessionUID
|
|
167
|
-
* @param {Array.<String>} opts.eventUID
|
|
168
|
-
* @param {String} opts.selectFields Comma-separated
|
|
158
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
159
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
160
|
+
* @param {String} opts.files
|
|
161
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
162
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
163
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
164
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
165
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
169
166
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
|
|
170
167
|
*/
|
|
171
168
|
}, {
|
|
@@ -214,8 +211,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
214
211
|
}
|
|
215
212
|
|
|
216
213
|
/**
|
|
217
|
-
*
|
|
218
|
-
* List the events from one fleet, with the same filters, `cursor` and CSV output as `GetEvents`. Paginated. Returns 403 if the organization is suspended, and 500 if the query times out; narrow the filters and retry.
|
|
214
|
+
* Get Events of a Fleet
|
|
219
215
|
* @param {String} projectOrProductUID
|
|
220
216
|
* @param {String} fleetUID
|
|
221
217
|
* @param {Object} opts Optional parameters
|
|
@@ -223,19 +219,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
223
219
|
* @param {Number} opts.pageNum (default to 1)
|
|
224
220
|
* @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time. To start from a specific time, specify cursor as Unix epoch microseconds (UTC) or 0 to start from the beginning. Or, to start where the last search left off, set cursor to the returned value of next_cursor (or the X-Next-Cursor header).
|
|
225
221
|
* @param {Array.<String>} opts.deviceUID A DeviceUID.
|
|
226
|
-
* @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly.
|
|
222
|
+
* @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
|
|
227
223
|
* @param {module:model/String} opts.sortBy (default to 'captured')
|
|
228
224
|
* @param {module:model/String} opts.sortOrder (default to 'asc')
|
|
229
225
|
* @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
|
|
230
226
|
* @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
|
|
231
|
-
* @param {module:model/String} opts.dateType Which
|
|
232
|
-
* @param {Boolean} opts.systemFilesOnly
|
|
233
|
-
* @param {String} opts.files
|
|
234
|
-
* @param {module:model/String} opts.format Response format
|
|
235
|
-
* @param {Array.<String>} opts.serialNumber
|
|
236
|
-
* @param {Array.<String>} opts.sessionUID
|
|
237
|
-
* @param {Array.<String>} opts.eventUID
|
|
238
|
-
* @param {String} opts.selectFields Comma-separated
|
|
227
|
+
* @param {module:model/String} opts.dateType Which date to filter on, either 'captured' or 'uploaded'. This will apply to the startDate and endDate parameters (default to 'captured')
|
|
228
|
+
* @param {Boolean} opts.systemFilesOnly
|
|
229
|
+
* @param {String} opts.files
|
|
230
|
+
* @param {module:model/String} opts.format Response format (JSON or CSV) (default to 'json')
|
|
231
|
+
* @param {Array.<String>} opts.serialNumber Filter by Serial Number
|
|
232
|
+
* @param {Array.<String>} opts.sessionUID Filter by SessionUID
|
|
233
|
+
* @param {Array.<String>} opts.eventUID Filter by EventUID
|
|
234
|
+
* @param {String} opts.selectFields Comma-separated list of fields to select from JSON payload (e.g., \"field1,field2.subfield,field3\"), this will reflect the columns in the CSV output.
|
|
239
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
|
|
240
236
|
*/
|
|
241
237
|
}, {
|
|
@@ -247,10 +243,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
247
243
|
}
|
|
248
244
|
|
|
249
245
|
/**
|
|
250
|
-
* Get
|
|
251
|
-
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
246
|
+
* Get Route Logs by EventUID
|
|
252
247
|
* @param {String} projectOrProductUID
|
|
253
|
-
* @param {String} eventUID
|
|
248
|
+
* @param {String} eventUID
|
|
254
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
|
|
255
250
|
*/
|
|
256
251
|
}, {
|
|
@@ -280,10 +275,9 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
280
275
|
}
|
|
281
276
|
|
|
282
277
|
/**
|
|
283
|
-
* Get
|
|
284
|
-
* Get the log of every attempt to send one event to each route, with the response status, body and duration. For a route's logs across events, use `GetRouteLogsByRoute`. Returns 404 if the event doesn't exist.
|
|
278
|
+
* Get Route Logs by EventUID
|
|
285
279
|
* @param {String} projectOrProductUID
|
|
286
|
-
* @param {String} eventUID
|
|
280
|
+
* @param {String} eventUID
|
|
287
281
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
|
|
288
282
|
*/
|
|
289
283
|
}, {
|
|
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
29
29
|
/**
|
|
30
30
|
* ExternalDevices service.
|
|
31
31
|
* @module api/ExternalDevicesApi
|
|
32
|
-
* @version 6.7.0-beta.
|
|
32
|
+
* @version 6.7.0-beta.73
|
|
33
33
|
*/
|
|
34
34
|
var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,11 +45,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
*
|
|
49
|
-
* Add an event from a device that isn't a Notecard, adding the device to the project if it's new. A DeviceUID without a prefix becomes `dev:ext:<deviceUID>`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
|
|
48
|
+
* Creates an event using specified webhook
|
|
50
49
|
* @param {String} productUID
|
|
51
50
|
* @param {String} deviceUID
|
|
52
|
-
* @param {module:model/Event} event
|
|
51
|
+
* @param {module:model/Event} event Event Object
|
|
53
52
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
54
53
|
*/
|
|
55
54
|
return _createClass(ExternalDevicesApi, [{
|
|
@@ -83,11 +82,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
83
82
|
}
|
|
84
83
|
|
|
85
84
|
/**
|
|
86
|
-
*
|
|
87
|
-
* Add an event from a device that isn't a Notecard, adding the device to the project if it's new. A DeviceUID without a prefix becomes `dev:ext:<deviceUID>`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
|
|
85
|
+
* Creates an event using specified webhook
|
|
88
86
|
* @param {String} productUID
|
|
89
87
|
* @param {String} deviceUID
|
|
90
|
-
* @param {module:model/Event} event
|
|
88
|
+
* @param {module:model/Event} event Event Object
|
|
91
89
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
92
90
|
*/
|
|
93
91
|
}, {
|
|
@@ -99,11 +97,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
99
97
|
}
|
|
100
98
|
|
|
101
99
|
/**
|
|
102
|
-
*
|
|
103
|
-
* Close an external device's session, if one is open, adding the device to the project if it's new. Requires the Owner or Developer role.
|
|
100
|
+
* Closes the session for the specified device if open
|
|
104
101
|
* @param {String} productUID
|
|
105
102
|
* @param {String} deviceUID
|
|
106
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
103
|
+
* @param {module:model/DeviceSession} deviceSession Session Object
|
|
107
104
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
108
105
|
*/
|
|
109
106
|
}, {
|
|
@@ -137,11 +134,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
137
134
|
}
|
|
138
135
|
|
|
139
136
|
/**
|
|
140
|
-
*
|
|
141
|
-
* Close an external device's session, if one is open, adding the device to the project if it's new. Requires the Owner or Developer role.
|
|
137
|
+
* Closes the session for the specified device if open
|
|
142
138
|
* @param {String} productUID
|
|
143
139
|
* @param {String} deviceUID
|
|
144
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
140
|
+
* @param {module:model/DeviceSession} deviceSession Session Object
|
|
145
141
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
146
142
|
*/
|
|
147
143
|
}, {
|
|
@@ -153,11 +149,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
153
149
|
}
|
|
154
150
|
|
|
155
151
|
/**
|
|
156
|
-
*
|
|
157
|
-
* Open a session for an external device, adding the device to the project if it's new. An open session is closed first, with `why_session_closed` as the reason. To close it, use `ExtDeviceSessionClose`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
|
|
152
|
+
* Create a Session for the specified device. | If a session is currently open it will be closed and a new one opened.
|
|
158
153
|
* @param {String} productUID
|
|
159
154
|
* @param {String} deviceUID
|
|
160
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
155
|
+
* @param {module:model/DeviceSession} deviceSession Session Object
|
|
161
156
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
162
157
|
*/
|
|
163
158
|
}, {
|
|
@@ -191,11 +186,10 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
191
186
|
}
|
|
192
187
|
|
|
193
188
|
/**
|
|
194
|
-
*
|
|
195
|
-
* Open a session for an external device, adding the device to the project if it's new. An open session is closed first, with `why_session_closed` as the reason. To close it, use `ExtDeviceSessionClose`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
|
|
189
|
+
* Create a Session for the specified device. | If a session is currently open it will be closed and a new one opened.
|
|
196
190
|
* @param {String} productUID
|
|
197
191
|
* @param {String} deviceUID
|
|
198
|
-
* @param {module:model/DeviceSession} deviceSession Session
|
|
192
|
+
* @param {module:model/DeviceSession} deviceSession Session Object
|
|
199
193
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
200
194
|
*/
|
|
201
195
|
}, {
|
package/dist/api/JobsApi.js
CHANGED
|
@@ -36,7 +36,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
36
36
|
/**
|
|
37
37
|
* Jobs service.
|
|
38
38
|
* @module api/JobsApi
|
|
39
|
-
* @version 6.7.0-beta.
|
|
39
|
+
* @version 6.7.0-beta.73
|
|
40
40
|
*/
|
|
41
41
|
var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
42
42
|
/**
|
|
@@ -52,10 +52,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
|
-
* Cancel a job
|
|
56
|
-
* Ask a running job to stop. `successful` is false if the run couldn't be cancelled. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
55
|
+
* Cancel a running job execution
|
|
57
56
|
* @param {String} projectOrProductUID
|
|
58
|
-
* @param {String} reportUID
|
|
57
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
59
58
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CancelJobRun200Response} and HTTP response
|
|
60
59
|
*/
|
|
61
60
|
return _createClass(JobsApi, [{
|
|
@@ -85,10 +84,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
85
84
|
}
|
|
86
85
|
|
|
87
86
|
/**
|
|
88
|
-
* Cancel a job
|
|
89
|
-
* Ask a running job to stop. `successful` is false if the run couldn't be cancelled. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
87
|
+
* Cancel a running job execution
|
|
90
88
|
* @param {String} projectOrProductUID
|
|
91
|
-
* @param {String} reportUID
|
|
89
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
92
90
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CancelJobRun200Response}
|
|
93
91
|
*/
|
|
94
92
|
}, {
|
|
@@ -100,10 +98,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
100
98
|
}
|
|
101
99
|
|
|
102
100
|
/**
|
|
103
|
-
* Create a batch job
|
|
104
|
-
* Create a batch job from a definition that selects devices and the changes to make to them. It doesn't run until `RunJob`. Each call creates a new job with its own UID; names needn't be unique. Requires the Owner or Developer role. Returns 400 without a `name` or for an invalid definition.
|
|
101
|
+
* Create a new batch job with an optional name
|
|
105
102
|
* @param {String} projectOrProductUID
|
|
106
|
-
* @param {String} name
|
|
103
|
+
* @param {String} name Name for the job
|
|
107
104
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
108
105
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateJob201Response} and HTTP response
|
|
109
106
|
*/
|
|
@@ -139,10 +136,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
139
136
|
}
|
|
140
137
|
|
|
141
138
|
/**
|
|
142
|
-
* Create a batch job
|
|
143
|
-
* Create a batch job from a definition that selects devices and the changes to make to them. It doesn't run until `RunJob`. Each call creates a new job with its own UID; names needn't be unique. Requires the Owner or Developer role. Returns 400 without a `name` or for an invalid definition.
|
|
139
|
+
* Create a new batch job with an optional name
|
|
144
140
|
* @param {String} projectOrProductUID
|
|
145
|
-
* @param {String} name
|
|
141
|
+
* @param {String} name Name for the job
|
|
146
142
|
* @param {module:model/JobDefinition} jobDefinition The batch job definition
|
|
147
143
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateJob201Response}
|
|
148
144
|
*/
|
|
@@ -156,9 +152,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
156
152
|
|
|
157
153
|
/**
|
|
158
154
|
* Delete a batch job
|
|
159
|
-
* Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
160
155
|
* @param {String} projectOrProductUID
|
|
161
|
-
* @param {String} jobUID
|
|
156
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
162
157
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteJob200Response} and HTTP response
|
|
163
158
|
*/
|
|
164
159
|
}, {
|
|
@@ -189,9 +184,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
189
184
|
|
|
190
185
|
/**
|
|
191
186
|
* Delete a batch job
|
|
192
|
-
* Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
193
187
|
* @param {String} projectOrProductUID
|
|
194
|
-
* @param {String} jobUID
|
|
188
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
195
189
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteJob200Response}
|
|
196
190
|
*/
|
|
197
191
|
}, {
|
|
@@ -203,10 +197,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
203
197
|
}
|
|
204
198
|
|
|
205
199
|
/**
|
|
206
|
-
* Delete a job run
|
|
207
|
-
* Delete a job run and its results. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
200
|
+
* Delete the results of a job run
|
|
208
201
|
* @param {String} projectOrProductUID
|
|
209
|
-
* @param {String} reportUID
|
|
202
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
210
203
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
211
204
|
*/
|
|
212
205
|
}, {
|
|
@@ -236,10 +229,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
236
229
|
}
|
|
237
230
|
|
|
238
231
|
/**
|
|
239
|
-
* Delete a job run
|
|
240
|
-
* Delete a job run and its results. Requires the Owner or Developer role. Returns 404 if the run doesn't exist.
|
|
232
|
+
* Delete the results of a job run
|
|
241
233
|
* @param {String} projectOrProductUID
|
|
242
|
-
* @param {String} reportUID
|
|
234
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
243
235
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
244
236
|
*/
|
|
245
237
|
}, {
|
|
@@ -251,10 +243,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
251
243
|
}
|
|
252
244
|
|
|
253
245
|
/**
|
|
254
|
-
* Get a batch job
|
|
255
|
-
* Get one batch job's definition and its latest run's status. Returns 404 if the job doesn't exist.
|
|
246
|
+
* Get a specific batch job definition
|
|
256
247
|
* @param {String} projectOrProductUID
|
|
257
|
-
* @param {String} jobUID
|
|
248
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
258
249
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobDetail} and HTTP response
|
|
259
250
|
*/
|
|
260
251
|
}, {
|
|
@@ -284,10 +275,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
284
275
|
}
|
|
285
276
|
|
|
286
277
|
/**
|
|
287
|
-
* Get a batch job
|
|
288
|
-
* Get one batch job's definition and its latest run's status. Returns 404 if the job doesn't exist.
|
|
278
|
+
* Get a specific batch job definition
|
|
289
279
|
* @param {String} projectOrProductUID
|
|
290
|
-
* @param {String} jobUID
|
|
280
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
291
281
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobDetail}
|
|
292
282
|
*/
|
|
293
283
|
}, {
|
|
@@ -299,10 +289,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
299
289
|
}
|
|
300
290
|
|
|
301
291
|
/**
|
|
302
|
-
* Get a job
|
|
303
|
-
* Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
|
|
292
|
+
* Get the result of a job execution
|
|
304
293
|
* @param {String} projectOrProductUID
|
|
305
|
-
* @param {String} reportUID
|
|
294
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
306
295
|
* @param {Object} opts Optional parameters
|
|
307
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')
|
|
308
297
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobRun} and HTTP response
|
|
@@ -337,10 +326,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
337
326
|
}
|
|
338
327
|
|
|
339
328
|
/**
|
|
340
|
-
* Get a job
|
|
341
|
-
* Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
|
|
329
|
+
* Get the result of a job execution
|
|
342
330
|
* @param {String} projectOrProductUID
|
|
343
|
-
* @param {String} reportUID
|
|
331
|
+
* @param {String} reportUID Unique identifier for a job run report
|
|
344
332
|
* @param {Object} opts Optional parameters
|
|
345
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')
|
|
346
334
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobRun}
|
|
@@ -354,13 +342,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
354
342
|
}
|
|
355
343
|
|
|
356
344
|
/**
|
|
357
|
-
* List a job
|
|
358
|
-
* List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
|
|
345
|
+
* List all runs for a specific job
|
|
359
346
|
* @param {String} projectOrProductUID
|
|
360
|
-
* @param {String} jobUID
|
|
347
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
361
348
|
* @param {Object} opts Optional parameters
|
|
362
|
-
* @param {String} opts.status
|
|
363
|
-
* @param {Boolean} opts.dryRun
|
|
349
|
+
* @param {String} opts.status Filter runs by status
|
|
350
|
+
* @param {Boolean} opts.dryRun Filter runs by dry run flag
|
|
364
351
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobRuns200Response} and HTTP response
|
|
365
352
|
*/
|
|
366
353
|
}, {
|
|
@@ -394,13 +381,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
394
381
|
}
|
|
395
382
|
|
|
396
383
|
/**
|
|
397
|
-
* List a job
|
|
398
|
-
* List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
|
|
384
|
+
* List all runs for a specific job
|
|
399
385
|
* @param {String} projectOrProductUID
|
|
400
|
-
* @param {String} jobUID
|
|
386
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
401
387
|
* @param {Object} opts Optional parameters
|
|
402
|
-
* @param {String} opts.status
|
|
403
|
-
* @param {Boolean} opts.dryRun
|
|
388
|
+
* @param {String} opts.status Filter runs by status
|
|
389
|
+
* @param {Boolean} opts.dryRun Filter runs by dry run flag
|
|
404
390
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobRuns200Response}
|
|
405
391
|
*/
|
|
406
392
|
}, {
|
|
@@ -412,8 +398,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
412
398
|
}
|
|
413
399
|
|
|
414
400
|
/**
|
|
415
|
-
* List batch jobs
|
|
416
|
-
* List a project's batch jobs with their latest run's status. A batch job applies changes, such as environment variables, to a selected set of devices.
|
|
401
|
+
* List all batch jobs for a project
|
|
417
402
|
* @param {String} projectOrProductUID
|
|
418
403
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobs200Response} and HTTP response
|
|
419
404
|
*/
|
|
@@ -439,8 +424,7 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
439
424
|
}
|
|
440
425
|
|
|
441
426
|
/**
|
|
442
|
-
* List batch jobs
|
|
443
|
-
* List a project's batch jobs with their latest run's status. A batch job applies changes, such as environment variables, to a selected set of devices.
|
|
427
|
+
* List all batch jobs for a project
|
|
444
428
|
* @param {String} projectOrProductUID
|
|
445
429
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobs200Response}
|
|
446
430
|
*/
|
|
@@ -453,12 +437,11 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
453
437
|
}
|
|
454
438
|
|
|
455
439
|
/**
|
|
456
|
-
*
|
|
457
|
-
* Start a run of a batch job and return its run UID. The run continues in the background, and `GetJobRun` shows its progress. With `dry_run=true`, it reports what would change without changing anything. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
440
|
+
* Execute a batch job
|
|
458
441
|
* @param {String} projectOrProductUID
|
|
459
|
-
* @param {String} jobUID
|
|
442
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
460
443
|
* @param {Object} opts Optional parameters
|
|
461
|
-
* @param {Boolean} opts.dryRun
|
|
444
|
+
* @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
|
|
462
445
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RunJob200Response} and HTTP response
|
|
463
446
|
*/
|
|
464
447
|
}, {
|
|
@@ -491,12 +474,11 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
491
474
|
}
|
|
492
475
|
|
|
493
476
|
/**
|
|
494
|
-
*
|
|
495
|
-
* Start a run of a batch job and return its run UID. The run continues in the background, and `GetJobRun` shows its progress. With `dry_run=true`, it reports what would change without changing anything. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
|
|
477
|
+
* Execute a batch job
|
|
496
478
|
* @param {String} projectOrProductUID
|
|
497
|
-
* @param {String} jobUID
|
|
479
|
+
* @param {String} jobUID Unique identifier for a batch job
|
|
498
480
|
* @param {Object} opts Optional parameters
|
|
499
|
-
* @param {Boolean} opts.dryRun
|
|
481
|
+
* @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
|
|
500
482
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RunJob200Response}
|
|
501
483
|
*/
|
|
502
484
|
}, {
|