@blues-inc/notehub-js 6.7.0-beta.73 → 6.7.0-beta.75

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.
Files changed (189) hide show
  1. package/README.md +130 -129
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +1 -1
  4. package/dist/api/AuthorizationApi.js +5 -5
  5. package/dist/api/DescriptionApi.js +49 -33
  6. package/dist/api/DeviceApi.js +177 -115
  7. package/dist/api/EventApi.js +51 -45
  8. package/dist/api/ExternalDevicesApi.js +19 -13
  9. package/dist/api/JobsApi.js +57 -39
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +17 -11
  12. package/dist/api/ProjectApi.js +237 -149
  13. package/dist/api/RouteApi.js +47 -35
  14. package/dist/api/SkillsApi.js +17 -17
  15. package/dist/api/UsageApi.js +59 -49
  16. package/dist/api/WebhookApi.js +67 -45
  17. package/dist/index.js +7 -0
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +3 -3
  20. package/dist/model/Alert.js +1 -1
  21. package/dist/model/AlertDataInner.js +1 -1
  22. package/dist/model/AlertNotificationsInner.js +1 -1
  23. package/dist/model/ArchiveStats.js +1 -1
  24. package/dist/model/AwsRoute.js +1 -1
  25. package/dist/model/AzureRoute.js +1 -1
  26. package/dist/model/BatchJobNoteRequest.js +1 -1
  27. package/dist/model/BatchJobRequests.js +1 -1
  28. package/dist/model/BillingAccount.js +1 -1
  29. package/dist/model/BlynkRoute.js +1 -1
  30. package/dist/model/Body.js +2 -1
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +3 -2
  33. package/dist/model/CloneProjectRequest.js +7 -7
  34. package/dist/model/Contact.js +1 -1
  35. package/dist/model/CreateFleetRequest.js +4 -3
  36. package/dist/model/CreateJob201Response.js +1 -1
  37. package/dist/model/CreateMonitor.js +1 -1
  38. package/dist/model/CreateProductRequest.js +7 -6
  39. package/dist/model/CreateProjectRequest.js +5 -5
  40. package/dist/model/CreateProjectSecretRequest.js +5 -5
  41. package/dist/model/CreateUpdateRepository.js +2 -1
  42. package/dist/model/CreatedRepository.js +5 -5
  43. package/dist/model/CurrentFirmware.js +1 -1
  44. package/dist/model/DFUEnv.js +1 -1
  45. package/dist/model/DFUState.js +1 -1
  46. package/dist/model/DataField.js +1 -1
  47. package/dist/model/DataSet.js +4 -4
  48. package/dist/model/DataSetField.js +2 -2
  49. package/dist/model/DataUsage.js +1 -1
  50. package/dist/model/DatacakeRoute.js +1 -1
  51. package/dist/model/DatasetReloadProgress.js +1 -1
  52. package/dist/model/DeleteDeviceFromFleetsRequest.js +3 -3
  53. package/dist/model/DeleteJob200Response.js +1 -1
  54. package/dist/model/DeleteNotefilesRequest.js +2 -2
  55. package/dist/model/DescriptionRecord.js +6 -6
  56. package/dist/model/DescriptionRecordList.js +1 -1
  57. package/dist/model/Device.js +27 -8
  58. package/dist/model/DeviceDfuHistory.js +2 -1
  59. package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  61. package/dist/model/DeviceDfuStateMachine.js +2 -1
  62. package/dist/model/DeviceDfuStateMachineNode.js +2 -2
  63. package/dist/model/DeviceDfuStatus.js +2 -2
  64. package/dist/model/DeviceDfuStatusPage.js +1 -1
  65. package/dist/model/DeviceSensor.js +1 -1
  66. package/dist/model/DeviceSession.js +1 -1
  67. package/dist/model/DeviceTowerInfo.js +6 -1
  68. package/dist/model/DeviceUsage.js +1 -1
  69. package/dist/model/DfuActionRequest.js +2 -2
  70. package/dist/model/EmailNotification.js +1 -1
  71. package/dist/model/EnvTreeJsonNode.js +1 -1
  72. package/dist/model/EnvVar.js +1 -1
  73. package/dist/model/EnvironmentVariables.js +1 -1
  74. package/dist/model/Error.js +1 -1
  75. package/dist/model/Event.js +1 -1
  76. package/dist/model/Filter.js +1 -1
  77. package/dist/model/Firmware.js +1 -1
  78. package/dist/model/FirmwareInfo.js +6 -6
  79. package/dist/model/Fleet.js +11 -10
  80. package/dist/model/FleetConnectivityAssurance.js +1 -1
  81. package/dist/model/GetAlerts200Response.js +1 -1
  82. package/dist/model/GetApiUsage200Response.js +2 -2
  83. package/dist/model/GetDataUsage200Response.js +2 -2
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  85. package/dist/model/GetDbNote200Response.js +1 -1
  86. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  87. package/dist/model/GetDeviceFleets200Response.js +1 -1
  88. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200Response.js +1 -1
  90. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  91. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  92. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  93. package/dist/model/GetDeviceLatestEvents200Response.js +2 -2
  94. package/dist/model/GetDevicePlans200Response.js +2 -1
  95. package/dist/model/GetDevicePublicKey200Response.js +5 -3
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -1
  98. package/dist/model/GetDeviceSessions200Response.js +1 -1
  99. package/dist/model/GetDevices200Response.js +1 -1
  100. package/dist/model/GetEvents200Response.js +1 -1
  101. package/dist/model/GetJobRuns200Response.js +1 -1
  102. package/dist/model/GetJobs200Response.js +1 -1
  103. package/dist/model/GetNotefile200Response.js +1 -1
  104. package/dist/model/GetOrganization200Response.js +1 -1
  105. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  107. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  108. package/dist/model/GetOrganizations200Response.js +1 -1
  109. package/dist/model/GetProducts200Response.js +1 -1
  110. package/dist/model/GetProjectMembers200Response.js +1 -1
  111. package/dist/model/GetProjectSecretsResponse.js +1 -1
  112. package/dist/model/GetProjects200Response.js +1 -1
  113. package/dist/model/GetRouteLogsUsage200Response.js +2 -2
  114. package/dist/model/GetSessionsUsage200Response.js +3 -3
  115. package/dist/model/GetWebhooks200Response.js +1 -1
  116. package/dist/model/GoogleRoute.js +1 -1
  117. package/dist/model/HealthLog.js +7 -4
  118. package/dist/model/HttpRoute.js +1 -1
  119. package/dist/model/Job.js +1 -1
  120. package/dist/model/JobDefinition.js +1 -1
  121. package/dist/model/JobDefinitionReportOptions.js +1 -1
  122. package/dist/model/JobDefinitionSelect.js +1 -1
  123. package/dist/model/JobDetail.js +1 -1
  124. package/dist/model/JobDetailAllOf.js +1 -1
  125. package/dist/model/JobRun.js +1 -1
  126. package/dist/model/Location.js +13 -7
  127. package/dist/model/Monitor.js +1 -1
  128. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  129. package/dist/model/MqttRoute.js +1 -1
  130. package/dist/model/Note.js +2 -2
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +2 -1
  133. package/dist/model/NotefileSchema.js +5 -3
  134. package/dist/model/NotehubRoute.js +7 -3
  135. package/dist/model/NotehubRouteSummary.js +6 -1
  136. package/dist/model/OAuth2Error.js +1 -1
  137. package/dist/model/OAuth2TokenResponse.js +1 -1
  138. package/dist/model/Organization.js +5 -3
  139. package/dist/model/Product.js +8 -4
  140. package/dist/model/Project.js +7 -4
  141. package/dist/model/ProjectMember.js +5 -4
  142. package/dist/model/ProjectSecret.js +7 -7
  143. package/dist/model/ProvisionDeviceRequest.js +5 -5
  144. package/dist/model/ProxyRoute.js +1 -1
  145. package/dist/model/QubitroRoute.js +1 -1
  146. package/dist/model/RadRoute.js +1 -1
  147. package/dist/model/Repository.js +3 -3
  148. package/dist/model/RepositoryListResponse.js +1 -1
  149. package/dist/model/RepositoryRecord.js +119 -0
  150. package/dist/model/RepositoryTokenRequest.js +1 -1
  151. package/dist/model/RepositoryTokenResponse.js +1 -1
  152. package/dist/model/RouteLog.js +9 -9
  153. package/dist/model/RouteTransformSettings.js +1 -1
  154. package/dist/model/RunJob200Response.js +1 -1
  155. package/dist/model/S3ArchiveRoute.js +1 -1
  156. package/dist/model/SatelliteDataUsage.js +1 -1
  157. package/dist/model/SatellitePlan.js +1 -1
  158. package/dist/model/SchemaProperty.js +6 -4
  159. package/dist/model/SignalDevice200Response.js +2 -2
  160. package/dist/model/SimUsage.js +1 -1
  161. package/dist/model/Skill.js +1 -1
  162. package/dist/model/SkillLinks.js +1 -1
  163. package/dist/model/SkillSet.js +1 -1
  164. package/dist/model/SkillSummary.js +1 -1
  165. package/dist/model/SkillWrite.js +1 -1
  166. package/dist/model/SkillWriteResult.js +1 -1
  167. package/dist/model/SlackBearerNotification.js +1 -1
  168. package/dist/model/SlackRoute.js +1 -1
  169. package/dist/model/SlackWebHookNotification.js +1 -1
  170. package/dist/model/SnowflakeRoute.js +1 -1
  171. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  172. package/dist/model/ThingworxRoute.js +1 -1
  173. package/dist/model/TowerLocation.js +1 -1
  174. package/dist/model/TwilioRoute.js +1 -1
  175. package/dist/model/UpdateFleetRequest.js +7 -6
  176. package/dist/model/UpdateHostFirmwareRequest.js +4 -4
  177. package/dist/model/UpdateProjectSecretRequest.js +3 -3
  178. package/dist/model/UploadMetadata.js +1 -1
  179. package/dist/model/UsageApiData.js +1 -1
  180. package/dist/model/UsageData.js +1 -1
  181. package/dist/model/UsageEventsData.js +1 -1
  182. package/dist/model/UsageEventsResponse.js +2 -2
  183. package/dist/model/UsageRouteLogsData.js +1 -1
  184. package/dist/model/UsageSessionsData.js +1 -1
  185. package/dist/model/UserDfuStateMachine.js +1 -1
  186. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  187. package/dist/model/UserFirmwareInfo.js +1 -1
  188. package/dist/model/WebhookSettings.js +4 -4
  189. package/package.json +1 -1
@@ -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.73
32
+ * @version 6.7.0-beta.75
33
33
  */
34
34
  var EventApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -45,27 +45,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
45
45
  }
46
46
 
47
47
  /**
48
- * Get Events of a Project
48
+ * List events in a project
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.
49
50
  * @param {String} projectOrProductUID
50
51
  * @param {Object} opts Optional parameters
51
52
  * @param {Number} opts.pageSize (default to 1000)
52
53
  * @param {Number} opts.pageNum (default to 1)
53
54
  * @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).
54
55
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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.
56
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
56
57
  * @param {module:model/String} opts.sortBy (default to 'captured')
57
58
  * @param {module:model/String} opts.sortOrder (default to 'asc')
58
59
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
59
60
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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
61
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
62
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
63
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
64
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
65
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
65
66
  * @param {Array.<String>} opts.fleetUID Filter by FleetUID
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.
67
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
68
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
69
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
69
70
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
70
71
  */
71
72
  return _createClass(EventApi, [{
@@ -110,27 +111,28 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
110
111
  }
111
112
 
112
113
  /**
113
- * Get Events of a Project
114
+ * List events in a project
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.
114
116
  * @param {String} projectOrProductUID
115
117
  * @param {Object} opts Optional parameters
116
118
  * @param {Number} opts.pageSize (default to 1000)
117
119
  * @param {Number} opts.pageNum (default to 1)
118
120
  * @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).
119
121
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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.
122
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
121
123
  * @param {module:model/String} opts.sortBy (default to 'captured')
122
124
  * @param {module:model/String} opts.sortOrder (default to 'asc')
123
125
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
124
126
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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
127
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
128
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
129
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
130
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
131
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
130
132
  * @param {Array.<String>} opts.fleetUID Filter by FleetUID
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.
133
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
134
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
135
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
134
136
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
135
137
  */
136
138
  }, {
@@ -142,7 +144,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
142
144
  }
143
145
 
144
146
  /**
145
- * Get Events of a Fleet
147
+ * List events in a fleet
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.
146
149
  * @param {String} projectOrProductUID
147
150
  * @param {String} fleetUID
148
151
  * @param {Object} opts Optional parameters
@@ -150,19 +153,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
150
153
  * @param {Number} opts.pageNum (default to 1)
151
154
  * @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).
152
155
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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.
156
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
154
157
  * @param {module:model/String} opts.sortBy (default to 'captured')
155
158
  * @param {module:model/String} opts.sortOrder (default to 'asc')
156
159
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
157
160
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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.
161
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
162
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
163
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
164
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
165
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
166
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
167
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
168
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
166
169
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetEvents200Response} and HTTP response
167
170
  */
168
171
  }, {
@@ -211,7 +214,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
211
214
  }
212
215
 
213
216
  /**
214
- * Get Events of a Fleet
217
+ * List events in a fleet
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.
215
219
  * @param {String} projectOrProductUID
216
220
  * @param {String} fleetUID
217
221
  * @param {Object} opts Optional parameters
@@ -219,19 +223,19 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
219
223
  * @param {Number} opts.pageNum (default to 1)
220
224
  * @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).
221
225
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
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.
226
+ * @param {Array.<String>} opts.sensorUID SensorUID to filter by, matched exactly. Repeat for more than one.
223
227
  * @param {module:model/String} opts.sortBy (default to 'captured')
224
228
  * @param {module:model/String} opts.sortOrder (default to 'asc')
225
229
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
226
230
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
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.
231
+ * @param {module:model/String} opts.dateType Which time `startDate` and `endDate` filter on. - `captured`: when the Notecard created the event - `uploaded`: when Notehub received it (default to 'captured')
232
+ * @param {Boolean} opts.systemFilesOnly If true, return only events from system notefiles, such as `_session.qo` and `_health.qo`.
233
+ * @param {String} opts.files Comma-separated notefiles, e.g. `data.qo,_health.qo`. Don't combine with `systemFilesOnly`.
234
+ * @param {module:model/String} opts.format Response format. - `json`: a JSON object with `events` - `csv`: CSV, with the columns in `selectFields` (default to 'json')
235
+ * @param {Array.<String>} opts.serialNumber Serial number to filter by. Repeat for more than one.
236
+ * @param {Array.<String>} opts.sessionUID SessionUID to filter by. Repeat for more than one.
237
+ * @param {Array.<String>} opts.eventUID EventUID to filter by. Repeat for more than one.
238
+ * @param {String} opts.selectFields Comma-separated event fields to return, e.g. `device,when,body.temp`. Also sets the CSV columns.
235
239
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetEvents200Response}
236
240
  */
237
241
  }, {
@@ -243,9 +247,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
243
247
  }
244
248
 
245
249
  /**
246
- * Get Route Logs by EventUID
250
+ * Get an event's route logs
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.
247
252
  * @param {String} projectOrProductUID
248
- * @param {String} eventUID
253
+ * @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
249
254
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/RouteLog>} and HTTP response
250
255
  */
251
256
  }, {
@@ -275,9 +280,10 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
275
280
  }
276
281
 
277
282
  /**
278
- * Get Route Logs by EventUID
283
+ * Get an event's route logs
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.
279
285
  * @param {String} projectOrProductUID
280
- * @param {String} eventUID
286
+ * @param {String} eventUID EventUID, e.g. `4506f411-dea6-44a0-9743-1130f57d7747`.
281
287
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/RouteLog>}
282
288
  */
283
289
  }, {
@@ -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.73
32
+ * @version 6.7.0-beta.75
33
33
  */
34
34
  var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -45,10 +45,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
45
45
  }
46
46
 
47
47
  /**
48
- * Creates an event using specified webhook
48
+ * Add an event from an external device
49
+ * Add an event from a device that isn't a Notecard, adding the device to the project if it's new. The DeviceUID is lower-cased and gets `dev:ext:` unless it has its own sub-prefix, so `dev:123` becomes `dev:ext:123`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
49
50
  * @param {String} productUID
50
51
  * @param {String} deviceUID
51
- * @param {module:model/Event} event Event Object
52
+ * @param {module:model/Event} event The event. `file`, `body` and `payload` are the usual fields.
52
53
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
53
54
  */
54
55
  return _createClass(ExternalDevicesApi, [{
@@ -82,10 +83,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
82
83
  }
83
84
 
84
85
  /**
85
- * Creates an event using specified webhook
86
+ * Add an event from an external device
87
+ * Add an event from a device that isn't a Notecard, adding the device to the project if it's new. The DeviceUID is lower-cased and gets `dev:ext:` unless it has its own sub-prefix, so `dev:123` becomes `dev:ext:123`. Notehub sets `when` to the current time and adds `.qo` to a `file` with no extension. Requires the Owner or Developer role.
86
88
  * @param {String} productUID
87
89
  * @param {String} deviceUID
88
- * @param {module:model/Event} event Event Object
90
+ * @param {module:model/Event} event The event. `file`, `body` and `payload` are the usual fields.
89
91
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
90
92
  */
91
93
  }, {
@@ -97,10 +99,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
97
99
  }
98
100
 
99
101
  /**
100
- * Closes the session for the specified device if open
102
+ * Close an external device's session
103
+ * Close an external device's session, if one is open, adding the device if it's new. The DeviceUID gets `dev:ext:` as in `CreateEventExtDevice`. Requires the Owner or Developer role.
101
104
  * @param {String} productUID
102
105
  * @param {String} deviceUID
103
- * @param {module:model/DeviceSession} deviceSession Session Object
106
+ * @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
104
107
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
105
108
  */
106
109
  }, {
@@ -134,10 +137,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
134
137
  }
135
138
 
136
139
  /**
137
- * Closes the session for the specified device if open
140
+ * Close an external device's session
141
+ * Close an external device's session, if one is open, adding the device if it's new. The DeviceUID gets `dev:ext:` as in `CreateEventExtDevice`. Requires the Owner or Developer role.
138
142
  * @param {String} productUID
139
143
  * @param {String} deviceUID
140
- * @param {module:model/DeviceSession} deviceSession Session Object
144
+ * @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
141
145
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
142
146
  */
143
147
  }, {
@@ -149,10 +153,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
149
153
  }
150
154
 
151
155
  /**
152
- * Create a Session for the specified device. | If a session is currently open it will be closed and a new one opened.
156
+ * Open an external device's session
157
+ * Open a session for an external device, adding the device if it's new. An open session is closed first, with `why_session_closed` as the reason. The DeviceUID gets `dev:ext:` as in `CreateEventExtDevice`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
153
158
  * @param {String} productUID
154
159
  * @param {String} deviceUID
155
- * @param {module:model/DeviceSession} deviceSession Session Object
160
+ * @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
156
161
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
157
162
  */
158
163
  }, {
@@ -186,10 +191,11 @@ var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
186
191
  }
187
192
 
188
193
  /**
189
- * Create a Session for the specified device. | If a session is currently open it will be closed and a new one opened.
194
+ * Open an external device's session
195
+ * Open a session for an external device, adding the device if it's new. An open session is closed first, with `why_session_closed` as the reason. The DeviceUID gets `dev:ext:` as in `CreateEventExtDevice`. Requires the Owner or Developer role. Returns 500 if webhooks are disabled for the project.
190
196
  * @param {String} productUID
191
197
  * @param {String} deviceUID
192
- * @param {module:model/DeviceSession} deviceSession Session Object
198
+ * @param {module:model/DeviceSession} deviceSession Session fields, such as `why_session_opened` or `why_session_closed`.
193
199
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
194
200
  */
195
201
  }, {
@@ -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.73
39
+ * @version 6.7.0-beta.75
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**
@@ -52,9 +52,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
52
52
  }
53
53
 
54
54
  /**
55
- * Cancel a running job execution
55
+ * Cancel a job run
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.
56
57
  * @param {String} projectOrProductUID
57
- * @param {String} reportUID Unique identifier for a job run report
58
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
58
59
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CancelJobRun200Response} and HTTP response
59
60
  */
60
61
  return _createClass(JobsApi, [{
@@ -84,9 +85,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
84
85
  }
85
86
 
86
87
  /**
87
- * Cancel a running job execution
88
+ * Cancel a job run
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.
88
90
  * @param {String} projectOrProductUID
89
- * @param {String} reportUID Unique identifier for a job run report
91
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
90
92
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CancelJobRun200Response}
91
93
  */
92
94
  }, {
@@ -98,9 +100,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
98
100
  }
99
101
 
100
102
  /**
101
- * Create a new batch job with an optional name
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`; an invalid definition returns 500.
102
105
  * @param {String} projectOrProductUID
103
- * @param {String} name Name for the job
106
+ * @param {String} name Job name, shown in lists. It doesn't have to be unique.
104
107
  * @param {module:model/JobDefinition} jobDefinition The batch job definition
105
108
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/CreateJob201Response} and HTTP response
106
109
  */
@@ -136,9 +139,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
136
139
  }
137
140
 
138
141
  /**
139
- * Create a new batch job with an optional name
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`; an invalid definition returns 500.
140
144
  * @param {String} projectOrProductUID
141
- * @param {String} name Name for the job
145
+ * @param {String} name Job name, shown in lists. It doesn't have to be unique.
142
146
  * @param {module:model/JobDefinition} jobDefinition The batch job definition
143
147
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/CreateJob201Response}
144
148
  */
@@ -152,8 +156,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
152
156
 
153
157
  /**
154
158
  * Delete a batch job
159
+ * Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
155
160
  * @param {String} projectOrProductUID
156
- * @param {String} jobUID Unique identifier for a batch job
161
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
157
162
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeleteJob200Response} and HTTP response
158
163
  */
159
164
  }, {
@@ -184,8 +189,9 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
184
189
 
185
190
  /**
186
191
  * Delete a batch job
192
+ * Delete a batch job. Requires the Owner or Developer role. Returns 404 if the job doesn't exist.
187
193
  * @param {String} projectOrProductUID
188
- * @param {String} jobUID Unique identifier for a batch job
194
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
189
195
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeleteJob200Response}
190
196
  */
191
197
  }, {
@@ -197,9 +203,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
197
203
  }
198
204
 
199
205
  /**
200
- * Delete the results of a job run
206
+ * Delete a job run
207
+ * Delete a job run and its results. Deleting a run that doesn't exist also succeeds. Requires the Owner or Developer role.
201
208
  * @param {String} projectOrProductUID
202
- * @param {String} reportUID Unique identifier for a job run report
209
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
203
210
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
204
211
  */
205
212
  }, {
@@ -229,9 +236,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
229
236
  }
230
237
 
231
238
  /**
232
- * Delete the results of a job run
239
+ * Delete a job run
240
+ * Delete a job run and its results. Deleting a run that doesn't exist also succeeds. Requires the Owner or Developer role.
233
241
  * @param {String} projectOrProductUID
234
- * @param {String} reportUID Unique identifier for a job run report
242
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
235
243
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
236
244
  */
237
245
  }, {
@@ -243,9 +251,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
243
251
  }
244
252
 
245
253
  /**
246
- * Get a specific batch job definition
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.
247
256
  * @param {String} projectOrProductUID
248
- * @param {String} jobUID Unique identifier for a batch job
257
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
249
258
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobDetail} and HTTP response
250
259
  */
251
260
  }, {
@@ -275,9 +284,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
275
284
  }
276
285
 
277
286
  /**
278
- * Get a specific batch job definition
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.
279
289
  * @param {String} projectOrProductUID
280
- * @param {String} jobUID Unique identifier for a batch job
290
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
281
291
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobDetail}
282
292
  */
283
293
  }, {
@@ -289,9 +299,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
289
299
  }
290
300
 
291
301
  /**
292
- * Get the result of a job execution
302
+ * Get a job run
303
+ * Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
293
304
  * @param {String} projectOrProductUID
294
- * @param {String} reportUID Unique identifier for a job run report
305
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
295
306
  * @param {Object} opts Optional parameters
296
307
  * @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')
297
308
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/JobRun} and HTTP response
@@ -326,9 +337,10 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
326
337
  }
327
338
 
328
339
  /**
329
- * Get the result of a job execution
340
+ * Get a job run
341
+ * Get a job run's status and, with `view=detail`, its full results. Returns 404 if the run doesn't exist.
330
342
  * @param {String} projectOrProductUID
331
- * @param {String} reportUID Unique identifier for a job run report
343
+ * @param {String} reportUID Job run UID, as returned by `RunJob`.
332
344
  * @param {Object} opts Optional parameters
333
345
  * @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')
334
346
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/JobRun}
@@ -342,12 +354,13 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
342
354
  }
343
355
 
344
356
  /**
345
- * List all runs for a specific job
357
+ * List a job's runs
358
+ * List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
346
359
  * @param {String} projectOrProductUID
347
- * @param {String} jobUID Unique identifier for a batch job
360
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
348
361
  * @param {Object} opts Optional parameters
349
- * @param {String} opts.status Filter runs by status
350
- * @param {Boolean} opts.dryRun Filter runs by dry run flag
362
+ * @param {String} opts.status Return only runs with this status.
363
+ * @param {Boolean} opts.dryRun If set, return only dry runs (`true`) or only real runs (`false`).
351
364
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobRuns200Response} and HTTP response
352
365
  */
353
366
  }, {
@@ -381,12 +394,13 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
381
394
  }
382
395
 
383
396
  /**
384
- * List all runs for a specific job
397
+ * List a job's runs
398
+ * List a batch job's runs, optionally filtered by status or dry-run flag. Returns 404 if the job doesn't exist.
385
399
  * @param {String} projectOrProductUID
386
- * @param {String} jobUID Unique identifier for a batch job
400
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
387
401
  * @param {Object} opts Optional parameters
388
- * @param {String} opts.status Filter runs by status
389
- * @param {Boolean} opts.dryRun Filter runs by dry run flag
402
+ * @param {String} opts.status Return only runs with this status.
403
+ * @param {Boolean} opts.dryRun If set, return only dry runs (`true`) or only real runs (`false`).
390
404
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobRuns200Response}
391
405
  */
392
406
  }, {
@@ -398,7 +412,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
398
412
  }
399
413
 
400
414
  /**
401
- * List all batch jobs for a project
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.
402
417
  * @param {String} projectOrProductUID
403
418
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetJobs200Response} and HTTP response
404
419
  */
@@ -424,7 +439,8 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
424
439
  }
425
440
 
426
441
  /**
427
- * List all batch jobs for a project
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.
428
444
  * @param {String} projectOrProductUID
429
445
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetJobs200Response}
430
446
  */
@@ -437,11 +453,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
437
453
  }
438
454
 
439
455
  /**
440
- * Execute a batch job
456
+ * Run a batch job
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.
441
458
  * @param {String} projectOrProductUID
442
- * @param {String} jobUID Unique identifier for a batch job
459
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
443
460
  * @param {Object} opts Optional parameters
444
- * @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
461
+ * @param {Boolean} opts.dryRun If true, report what the job would change without changing anything. (default to false)
445
462
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/RunJob200Response} and HTTP response
446
463
  */
447
464
  }, {
@@ -474,11 +491,12 @@ var JobsApi = exports["default"] = /*#__PURE__*/function () {
474
491
  }
475
492
 
476
493
  /**
477
- * Execute a batch job
494
+ * Run a batch job
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.
478
496
  * @param {String} projectOrProductUID
479
- * @param {String} jobUID Unique identifier for a batch job
497
+ * @param {String} jobUID Batch job UID, as returned by `CreateJob`.
480
498
  * @param {Object} opts Optional parameters
481
- * @param {Boolean} opts.dryRun Run job in dry-run mode without making actual changes (default to false)
499
+ * @param {Boolean} opts.dryRun If true, report what the job would change without changing anything. (default to false)
482
500
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/RunJob200Response}
483
501
  */
484
502
  }, {
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Monitor service.
31
31
  * @module api/MonitorApi
32
- * @version 6.7.0-beta.73
32
+ * @version 6.7.0-beta.75
33
33
  */
34
34
  var MonitorApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Organization service.
32
32
  * @module api/OrganizationApi
33
- * @version 6.7.0-beta.73
33
+ * @version 6.7.0-beta.75
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -46,8 +46,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
46
46
  }
47
47
 
48
48
  /**
49
- * Get Organization Information
50
- * @param {String} organizationUID
49
+ * Get an organization
50
+ * Get an organization's name, owner, contact email and current plan. The plan has its type, event capacity, billing period and remaining balance. For the daily history, use `GetOrganizationBalanceHistory`. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 403 if your membership is deactivated.
51
+ * @param {String} organizationUID Organization UID. List with `GetOrganizations`.
51
52
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganization200Response} and HTTP response
52
53
  */
53
54
  return _createClass(OrganizationApi, [{
@@ -72,8 +73,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
72
73
  }
73
74
 
74
75
  /**
75
- * Get Organization Information
76
- * @param {String} organizationUID
76
+ * Get an organization
77
+ * Get an organization's name, owner, contact email and current plan. The plan has its type, event capacity, billing period and remaining balance. For the daily history, use `GetOrganizationBalanceHistory`. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 403 if your membership is deactivated.
78
+ * @param {String} organizationUID Organization UID. List with `GetOrganizations`.
77
79
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganization200Response}
78
80
  */
79
81
  }, {
@@ -85,8 +87,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
85
87
  }
86
88
 
87
89
  /**
88
- * Get Organization Balance history
89
- * @param {String} organizationUID
90
+ * Get an organization's daily balance
91
+ * Get an organization's events used and remaining event capacity for each day. The range is `startDate` to `endDate`, which default to the start of the billing period and today. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 400 if `startDate` is after `endDate`.
92
+ * @param {String} organizationUID Organization UID. List with `GetOrganizations`.
90
93
  * @param {Object} opts Optional parameters
91
94
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
92
95
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -118,8 +121,9 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
118
121
  }
119
122
 
120
123
  /**
121
- * Get Organization Balance history
122
- * @param {String} organizationUID
124
+ * Get an organization's daily balance
125
+ * Get an organization's events used and remaining event capacity for each day. The range is `startDate` to `endDate`, which default to the start of the billing period and today. Requires the `org_admin`, `billing_manager` or `org_support` role in the organization. Returns 400 if `startDate` is after `endDate`.
126
+ * @param {String} organizationUID Organization UID. List with `GetOrganizations`.
123
127
  * @param {Object} opts Optional parameters
124
128
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
125
129
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
@@ -134,7 +138,8 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
134
138
  }
135
139
 
136
140
  /**
137
- * Get Organizations accessible by the api_key
141
+ * List your organizations
142
+ * List the organizations you belong to, with your role in each. A scoped token gets an empty list. Returns 401 if your email address isn't verified.
138
143
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganizations200Response} and HTTP response
139
144
  */
140
145
  }, {
@@ -153,7 +158,8 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
153
158
  }
154
159
 
155
160
  /**
156
- * Get Organizations accessible by the api_key
161
+ * List your organizations
162
+ * List the organizations you belong to, with your role in each. A scoped token gets an empty list. Returns 401 if your email address isn't verified.
157
163
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganizations200Response}
158
164
  */
159
165
  }, {