@blues-inc/notehub-js 6.7.0-beta.33 → 6.7.0-beta.34

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 +3 -2
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +6 -3
  4. package/dist/api/AuthorizationApi.js +1 -1
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +22 -10
  7. package/dist/api/EventApi.js +11 -5
  8. package/dist/api/ExternalDevicesApi.js +1 -1
  9. package/dist/api/JobsApi.js +1 -1
  10. package/dist/api/MonitorApi.js +1 -1
  11. package/dist/api/OrganizationApi.js +1 -1
  12. package/dist/api/ProjectApi.js +11 -5
  13. package/dist/api/RouteApi.js +6 -3
  14. package/dist/api/SkillsApi.js +1 -1
  15. package/dist/api/UsageApi.js +1 -1
  16. package/dist/api/WebhookApi.js +1 -1
  17. package/dist/model/AWSRoleConfig.js +1 -1
  18. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  19. package/dist/model/Alert.js +1 -1
  20. package/dist/model/AlertDataInner.js +1 -1
  21. package/dist/model/AlertNotificationsInner.js +1 -1
  22. package/dist/model/ArchiveStats.js +1 -1
  23. package/dist/model/AwsRoute.js +1 -1
  24. package/dist/model/AzureRoute.js +1 -1
  25. package/dist/model/BatchJobNoteRequest.js +1 -1
  26. package/dist/model/BatchJobRequests.js +1 -1
  27. package/dist/model/BillingAccount.js +1 -1
  28. package/dist/model/BlynkRoute.js +1 -1
  29. package/dist/model/Body.js +1 -1
  30. package/dist/model/CancelJobRun200Response.js +1 -1
  31. package/dist/model/CellularPlan.js +1 -1
  32. package/dist/model/CloneProjectRequest.js +1 -1
  33. package/dist/model/Contact.js +1 -1
  34. package/dist/model/CreateFleetRequest.js +1 -1
  35. package/dist/model/CreateJob201Response.js +1 -1
  36. package/dist/model/CreateMonitor.js +1 -1
  37. package/dist/model/CreateProductRequest.js +1 -1
  38. package/dist/model/CreateProjectRequest.js +1 -1
  39. package/dist/model/CreateProjectSecretRequest.js +1 -1
  40. package/dist/model/CreateUpdateRepository.js +1 -1
  41. package/dist/model/CreatedRepository.js +1 -1
  42. package/dist/model/CurrentFirmware.js +1 -1
  43. package/dist/model/DFUEnv.js +1 -1
  44. package/dist/model/DFUState.js +1 -1
  45. package/dist/model/DataField.js +1 -1
  46. package/dist/model/DataSet.js +1 -1
  47. package/dist/model/DataSetField.js +1 -1
  48. package/dist/model/DataUsage.js +1 -1
  49. package/dist/model/DatacakeRoute.js +1 -1
  50. package/dist/model/DatasetReloadProgress.js +1 -1
  51. package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
  52. package/dist/model/DeleteJob200Response.js +1 -1
  53. package/dist/model/DeleteNotefilesRequest.js +1 -1
  54. package/dist/model/DescriptionRecord.js +1 -1
  55. package/dist/model/DescriptionRecordList.js +1 -1
  56. package/dist/model/Device.js +1 -1
  57. package/dist/model/DeviceDfuHistory.js +1 -1
  58. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  59. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  60. package/dist/model/DeviceDfuStateMachine.js +1 -1
  61. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  62. package/dist/model/DeviceDfuStatus.js +1 -1
  63. package/dist/model/DeviceDfuStatusPage.js +1 -1
  64. package/dist/model/DeviceSensor.js +1 -1
  65. package/dist/model/DeviceSession.js +1 -1
  66. package/dist/model/DeviceTowerInfo.js +1 -1
  67. package/dist/model/DeviceUsage.js +1 -1
  68. package/dist/model/DfuActionRequest.js +1 -1
  69. package/dist/model/EmailNotification.js +1 -1
  70. package/dist/model/EnvTreeJsonNode.js +1 -1
  71. package/dist/model/EnvVar.js +1 -1
  72. package/dist/model/EnvironmentVariables.js +1 -1
  73. package/dist/model/Error.js +1 -1
  74. package/dist/model/Event.js +1 -1
  75. package/dist/model/Filter.js +1 -1
  76. package/dist/model/Firmware.js +1 -1
  77. package/dist/model/FirmwareInfo.js +1 -1
  78. package/dist/model/Fleet.js +1 -1
  79. package/dist/model/FleetConnectivityAssurance.js +1 -1
  80. package/dist/model/GetAlerts200Response.js +1 -1
  81. package/dist/model/GetApiUsage200Response.js +1 -1
  82. package/dist/model/GetDataUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
  84. package/dist/model/GetDbNote200Response.js +1 -1
  85. package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
  86. package/dist/model/GetDeviceFleets200Response.js +1 -1
  87. package/dist/model/GetDeviceHealthLog200Response.js +1 -1
  88. package/dist/model/GetDeviceJourney200Response.js +1 -1
  89. package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
  90. package/dist/model/GetDeviceJourneys200Response.js +1 -1
  91. package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
  92. package/dist/model/GetDeviceLatestEvents200Response.js +1 -1
  93. package/dist/model/GetDevicePlans200Response.js +1 -1
  94. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
  97. package/dist/model/GetDeviceSessions200Response.js +1 -1
  98. package/dist/model/GetDevices200Response.js +1 -1
  99. package/dist/model/GetEvents200Response.js +1 -1
  100. package/dist/model/GetJobRuns200Response.js +1 -1
  101. package/dist/model/GetJobs200Response.js +1 -1
  102. package/dist/model/GetNotefile200Response.js +1 -1
  103. package/dist/model/GetOrganization200Response.js +1 -1
  104. package/dist/model/GetOrganization200ResponsePlan.js +1 -1
  105. package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
  106. package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
  107. package/dist/model/GetOrganizations200Response.js +1 -1
  108. package/dist/model/GetProducts200Response.js +1 -1
  109. package/dist/model/GetProjectMembers200Response.js +1 -1
  110. package/dist/model/GetProjectSecretsResponse.js +1 -1
  111. package/dist/model/GetProjects200Response.js +1 -1
  112. package/dist/model/GetRouteLogsUsage200Response.js +1 -1
  113. package/dist/model/GetSessionsUsage200Response.js +1 -1
  114. package/dist/model/GetWebhooks200Response.js +1 -1
  115. package/dist/model/GoogleRoute.js +1 -1
  116. package/dist/model/HealthLog.js +1 -1
  117. package/dist/model/HttpRoute.js +1 -1
  118. package/dist/model/Job.js +1 -1
  119. package/dist/model/JobDefinition.js +1 -1
  120. package/dist/model/JobDefinitionReportOptions.js +1 -1
  121. package/dist/model/JobDefinitionSelect.js +1 -1
  122. package/dist/model/JobDetail.js +1 -1
  123. package/dist/model/JobDetailAllOf.js +1 -1
  124. package/dist/model/JobRun.js +1 -1
  125. package/dist/model/Location.js +1 -1
  126. package/dist/model/Login200Response.js +1 -1
  127. package/dist/model/LoginRequest.js +1 -1
  128. package/dist/model/Monitor.js +1 -1
  129. package/dist/model/MonitorAlertRoutesInner.js +1 -1
  130. package/dist/model/MqttRoute.js +1 -1
  131. package/dist/model/Note.js +1 -1
  132. package/dist/model/NoteInput.js +1 -1
  133. package/dist/model/Notefile.js +1 -1
  134. package/dist/model/NotefileSchema.js +1 -1
  135. package/dist/model/NotehubRoute.js +1 -1
  136. package/dist/model/NotehubRouteSummary.js +1 -1
  137. package/dist/model/OAuth2Error.js +1 -1
  138. package/dist/model/OAuth2TokenResponse.js +1 -1
  139. package/dist/model/Organization.js +1 -1
  140. package/dist/model/Product.js +1 -1
  141. package/dist/model/Project.js +1 -1
  142. package/dist/model/ProjectMember.js +1 -1
  143. package/dist/model/ProjectSecret.js +1 -1
  144. package/dist/model/ProvisionDeviceRequest.js +1 -1
  145. package/dist/model/ProxyRoute.js +1 -1
  146. package/dist/model/QubitroRoute.js +1 -1
  147. package/dist/model/RadRoute.js +1 -1
  148. package/dist/model/Repository.js +1 -1
  149. package/dist/model/RepositoryListResponse.js +1 -1
  150. package/dist/model/RepositoryTokenRequest.js +1 -1
  151. package/dist/model/RepositoryTokenResponse.js +1 -1
  152. package/dist/model/RouteLog.js +1 -1
  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 +1 -1
  159. package/dist/model/SignalDevice200Response.js +1 -1
  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 +1 -1
  176. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  177. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  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 +1 -1
  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 +1 -1
  189. package/package.json +1 -1
package/README.md CHANGED
@@ -6,7 +6,7 @@ The OpenAPI definition for the Notehub.io API.
6
6
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
7
7
 
8
8
  - API version: 1.2.0
9
- - Package version: 6.7.0-beta.33
9
+ - Package version: 6.7.0-beta.34
10
10
  - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen
11
11
  For more information, please visit [https://dev.blues.io/support/](https://dev.blues.io/support/)
12
12
 
@@ -112,7 +112,8 @@ var projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8"; // {String
112
112
  var opts = {
113
113
  pageSize: 50, // {Number}
114
114
  pageNum: 1, // {Number}
115
- cursor: "cursor_example", // {String} 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).
115
+ cursor: "cursor_example", // {String} If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
116
+ direction: "direction_example", // {String} Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
116
117
  monitorUID: "monitorUID_example", // {String}
117
118
  };
118
119
  api.getAlerts(projectOrProductUID, opts).then(
package/dist/ApiClient.js CHANGED
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  */
27
27
  /**
28
28
  * @module ApiClient
29
- * @version 6.7.0-beta.33
29
+ * @version 6.7.0-beta.34
30
30
  */
31
31
  /**
32
32
  * Manages low level client-server communications, parameter marshalling, etc. There should not be any need for an
@@ -68,7 +68,7 @@ var ApiClient = /*#__PURE__*/function () {
68
68
  */
69
69
  this.defaultHeaders = {};
70
70
  if (typeof window === "undefined") {
71
- this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.33/Javascript";
71
+ this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/6.7.0-beta.34/Javascript";
72
72
  }
73
73
 
74
74
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * Alert service.
30
30
  * @module api/AlertApi
31
- * @version 6.7.0-beta.33
31
+ * @version 6.7.0-beta.34
32
32
  */
33
33
  var AlertApi = exports["default"] = /*#__PURE__*/function () {
34
34
  /**
@@ -49,7 +49,8 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
49
49
  * @param {Object} opts Optional parameters
50
50
  * @param {Number} opts.pageSize (default to 50)
51
51
  * @param {Number} opts.pageNum (default to 1)
52
- * @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).
52
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
53
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
53
54
  * @param {String} opts.monitorUID
54
55
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
55
56
  */
@@ -69,6 +70,7 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
69
70
  pageSize: opts["pageSize"],
70
71
  pageNum: opts["pageNum"],
71
72
  cursor: opts["cursor"],
73
+ direction: opts["direction"],
72
74
  monitorUID: opts["monitorUID"]
73
75
  };
74
76
  var headerParams = {};
@@ -86,7 +88,8 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
86
88
  * @param {Object} opts Optional parameters
87
89
  * @param {Number} opts.pageSize (default to 50)
88
90
  * @param {Number} opts.pageNum (default to 1)
89
- * @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).
91
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
92
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
90
93
  * @param {String} opts.monitorUID
91
94
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
92
95
  */
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Authorization service.
32
32
  * @module api/AuthorizationApi
33
- * @version 6.7.0-beta.33
33
+ * @version 6.7.0-beta.34
34
34
  */
35
35
  var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Description service.
31
31
  * @module api/DescriptionApi
32
- * @version 6.7.0-beta.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -48,7 +48,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
48
48
  /**
49
49
  * Device service.
50
50
  * @module api/DeviceApi
51
- * @version 6.7.0-beta.33
51
+ * @version 6.7.0-beta.34
52
52
  */
53
53
  var DeviceApi = exports["default"] = /*#__PURE__*/function () {
54
54
  /**
@@ -1128,7 +1128,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1128
1128
  * @param {Object} opts Optional parameters
1129
1129
  * @param {Number} opts.pageSize (default to 50)
1130
1130
  * @param {Number} opts.pageNum (default to 1)
1131
- * @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).
1131
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1132
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1132
1133
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetDevicePublicKeys200Response} and HTTP response
1133
1134
  */
1134
1135
  }, {
@@ -1146,7 +1147,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1146
1147
  var queryParams = {
1147
1148
  pageSize: opts["pageSize"],
1148
1149
  pageNum: opts["pageNum"],
1149
- cursor: opts["cursor"]
1150
+ cursor: opts["cursor"],
1151
+ direction: opts["direction"]
1150
1152
  };
1151
1153
  var headerParams = {};
1152
1154
  var formParams = {};
@@ -1163,7 +1165,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1163
1165
  * @param {Object} opts Optional parameters
1164
1166
  * @param {Number} opts.pageSize (default to 50)
1165
1167
  * @param {Number} opts.pageNum (default to 1)
1166
- * @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).
1168
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1169
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1167
1170
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetDevicePublicKeys200Response}
1168
1171
  */
1169
1172
  }, {
@@ -1181,7 +1184,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1181
1184
  * @param {Object} opts Optional parameters
1182
1185
  * @param {Number} opts.pageSize (default to 50)
1183
1186
  * @param {Number} opts.pageNum (default to 1)
1184
- * @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).
1187
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1188
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1185
1189
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1186
1190
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1187
1191
  * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
@@ -1208,6 +1212,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1208
1212
  pageSize: opts["pageSize"],
1209
1213
  pageNum: opts["pageNum"],
1210
1214
  cursor: opts["cursor"],
1215
+ direction: opts["direction"],
1211
1216
  startDate: opts["startDate"],
1212
1217
  endDate: opts["endDate"],
1213
1218
  firstSync: opts["firstSync"]
@@ -1228,7 +1233,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1228
1233
  * @param {Object} opts Optional parameters
1229
1234
  * @param {Number} opts.pageSize (default to 50)
1230
1235
  * @param {Number} opts.pageNum (default to 1)
1231
- * @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).
1236
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1237
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1232
1238
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
1233
1239
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
1234
1240
  * @param {Boolean} opts.firstSync When true, filters results to only show first sync sessions (default to false)
@@ -1248,7 +1254,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1248
1254
  * @param {Object} opts Optional parameters
1249
1255
  * @param {Number} opts.pageSize (default to 50)
1250
1256
  * @param {Number} opts.pageNum (default to 1)
1251
- * @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).
1257
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1258
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1252
1259
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1253
1260
  * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1254
1261
  * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
@@ -1276,6 +1283,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1276
1283
  pageSize: opts["pageSize"],
1277
1284
  pageNum: opts["pageNum"],
1278
1285
  cursor: opts["cursor"],
1286
+ direction: opts["direction"],
1279
1287
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1280
1288
  tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1281
1289
  serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
@@ -1301,7 +1309,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1301
1309
  * @param {Object} opts Optional parameters
1302
1310
  * @param {Number} opts.pageSize (default to 50)
1303
1311
  * @param {Number} opts.pageNum (default to 1)
1304
- * @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).
1312
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1313
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1305
1314
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1306
1315
  * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1307
1316
  * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
@@ -1328,7 +1337,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1328
1337
  * @param {Object} opts Optional parameters
1329
1338
  * @param {Number} opts.pageSize (default to 50)
1330
1339
  * @param {Number} opts.pageNum (default to 1)
1331
- * @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).
1340
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1341
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1332
1342
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1333
1343
  * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1334
1344
  * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
@@ -1360,6 +1370,7 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1360
1370
  pageSize: opts["pageSize"],
1361
1371
  pageNum: opts["pageNum"],
1362
1372
  cursor: opts["cursor"],
1373
+ direction: opts["direction"],
1363
1374
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
1364
1375
  tag: this.apiClient.buildCollectionParam(opts["tag"], "multi"),
1365
1376
  serialNumber: this.apiClient.buildCollectionParam(opts["serialNumber"], "multi"),
@@ -1385,7 +1396,8 @@ var DeviceApi = exports["default"] = /*#__PURE__*/function () {
1385
1396
  * @param {Object} opts Optional parameters
1386
1397
  * @param {Number} opts.pageSize (default to 50)
1387
1398
  * @param {Number} opts.pageNum (default to 1)
1388
- * @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).
1399
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1400
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1389
1401
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
1390
1402
  * @param {Array.<String>} opts.tag Tag filter. Matches the whole tag, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally. For example, `51*` matches tags starting with `51`.
1391
1403
  * @param {Array.<String>} opts.serialNumber Serial number filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
@@ -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.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var EventApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -50,7 +50,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
50
50
  * @param {Object} opts Optional parameters
51
51
  * @param {Number} opts.pageSize (default to 50)
52
52
  * @param {Number} opts.pageNum (default to 1)
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).
53
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
54
55
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
55
56
  * @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
57
  * @param {module:model/String} opts.sortBy (default to 'captured')
@@ -84,6 +85,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
84
85
  pageSize: opts["pageSize"],
85
86
  pageNum: opts["pageNum"],
86
87
  cursor: opts["cursor"],
88
+ direction: opts["direction"],
87
89
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
88
90
  sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
89
91
  sortBy: opts["sortBy"],
@@ -115,7 +117,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
115
117
  * @param {Object} opts Optional parameters
116
118
  * @param {Number} opts.pageSize (default to 50)
117
119
  * @param {Number} opts.pageNum (default to 1)
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).
120
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
119
122
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
120
123
  * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
121
124
  * @param {module:model/String} opts.sortBy (default to 'captured')
@@ -148,7 +151,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
148
151
  * @param {Object} opts Optional parameters
149
152
  * @param {Number} opts.pageSize (default to 50)
150
153
  * @param {Number} opts.pageNum (default to 1)
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).
154
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
152
156
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
153
157
  * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
154
158
  * @param {module:model/String} opts.sortBy (default to 'captured')
@@ -186,6 +190,7 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
186
190
  pageSize: opts["pageSize"],
187
191
  pageNum: opts["pageNum"],
188
192
  cursor: opts["cursor"],
193
+ direction: opts["direction"],
189
194
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
190
195
  sensorUID: this.apiClient.buildCollectionParam(opts["sensorUID"], "multi"),
191
196
  sortBy: opts["sortBy"],
@@ -217,7 +222,8 @@ var EventApi = exports["default"] = /*#__PURE__*/function () {
217
222
  * @param {Object} opts Optional parameters
218
223
  * @param {Number} opts.pageSize (default to 50)
219
224
  * @param {Number} opts.pageNum (default to 1)
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
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
226
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
221
227
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
222
228
  * @param {Array.<String>} opts.sensorUID A SensorUID to filter events by, matched exactly against the event sensor field. The value may carry any prefix.
223
229
  * @param {module:model/String} opts.sortBy (default to 'captured')
@@ -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.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var ExternalDevicesApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -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.33
39
+ * @version 6.7.0-beta.34
40
40
  */
41
41
  var JobsApi = exports["default"] = /*#__PURE__*/function () {
42
42
  /**
@@ -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.33
32
+ * @version 6.7.0-beta.34
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.33
33
+ * @version 6.7.0-beta.34
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -56,7 +56,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
56
56
  /**
57
57
  * Project service.
58
58
  * @module api/ProjectApi
59
- * @version 6.7.0-beta.33
59
+ * @version 6.7.0-beta.34
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -1052,7 +1052,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1052
1052
  * @param {Object} opts Optional parameters
1053
1053
  * @param {Number} opts.pageSize (default to 50)
1054
1054
  * @param {Number} opts.pageNum (default to 1)
1055
- * @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).
1055
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1056
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1056
1057
  * @param {module:model/String} opts.sortBy (default to 'captured')
1057
1058
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1058
1059
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
@@ -1087,6 +1088,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1087
1088
  pageSize: opts["pageSize"],
1088
1089
  pageNum: opts["pageNum"],
1089
1090
  cursor: opts["cursor"],
1091
+ direction: opts["direction"],
1090
1092
  sortBy: opts["sortBy"],
1091
1093
  sortOrder: opts["sortOrder"],
1092
1094
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
@@ -1115,7 +1117,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1115
1117
  * @param {Object} opts Optional parameters
1116
1118
  * @param {Number} opts.pageSize (default to 50)
1117
1119
  * @param {Number} opts.pageNum (default to 1)
1118
- * @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).
1120
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1121
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1119
1122
  * @param {module:model/String} opts.sortBy (default to 'captured')
1120
1123
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1121
1124
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
@@ -1144,7 +1147,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1144
1147
  * @param {Object} opts Optional parameters
1145
1148
  * @param {Number} opts.pageSize (default to 50)
1146
1149
  * @param {Number} opts.pageNum (default to 1)
1147
- * @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).
1150
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1151
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1148
1152
  * @param {module:model/String} opts.sortBy (default to 'captured')
1149
1153
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1150
1154
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
@@ -1179,6 +1183,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1179
1183
  pageSize: opts["pageSize"],
1180
1184
  pageNum: opts["pageNum"],
1181
1185
  cursor: opts["cursor"],
1186
+ direction: opts["direction"],
1182
1187
  sortBy: opts["sortBy"],
1183
1188
  sortOrder: opts["sortOrder"],
1184
1189
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
@@ -1207,7 +1212,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1207
1212
  * @param {Object} opts Optional parameters
1208
1213
  * @param {Number} opts.pageSize (default to 50)
1209
1214
  * @param {Number} opts.pageNum (default to 1)
1210
- * @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).
1215
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
1216
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
1211
1217
  * @param {module:model/String} opts.sortBy (default to 'captured')
1212
1218
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1213
1219
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * Route service.
32
32
  * @module api/RouteApi
33
- * @version 6.7.0-beta.33
33
+ * @version 6.7.0-beta.34
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -189,7 +189,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
189
189
  * @param {Object} opts Optional parameters
190
190
  * @param {Number} opts.pageSize (default to 50)
191
191
  * @param {Number} opts.pageNum (default to 1)
192
- * @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).
192
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
193
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
193
194
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
194
195
  * @param {module:model/String} opts.sortBy (default to 'date')
195
196
  * @param {module:model/String} opts.sortOrder (default to 'desc')
@@ -223,6 +224,7 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
223
224
  pageSize: opts["pageSize"],
224
225
  pageNum: opts["pageNum"],
225
226
  cursor: opts["cursor"],
227
+ direction: opts["direction"],
226
228
  deviceUID: this.apiClient.buildCollectionParam(opts["deviceUID"], "multi"),
227
229
  sortBy: opts["sortBy"],
228
230
  sortOrder: opts["sortOrder"],
@@ -250,7 +252,8 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
250
252
  * @param {Object} opts Optional parameters
251
253
  * @param {Number} opts.pageSize (default to 50)
252
254
  * @param {Number} opts.pageNum (default to 1)
253
- * @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).
255
+ * @param {String} opts.cursor If supplied, the results will be returned in ascending order of modification time (or descending, with direction=desc). 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).
256
+ * @param {module:model/String} opts.direction Read direction for cursor: asc (the default) returns the oldest changes first, desc the newest first. desc requires a start time as the cursor. Send the same direction with each next_cursor. To fill a cache, read desc from a recent start time, then read asc from that same start time to keep it current.
254
257
  * @param {Array.<String>} opts.deviceUID A DeviceUID.
255
258
  * @param {module:model/String} opts.sortBy (default to 'date')
256
259
  * @param {module:model/String} opts.sortOrder (default to 'desc')
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * Skills service.
33
33
  * @module api/SkillsApi
34
- * @version 6.7.0-beta.33
34
+ * @version 6.7.0-beta.34
35
35
  */
36
36
  var SkillsApi = exports["default"] = /*#__PURE__*/function () {
37
37
  /**
@@ -32,7 +32,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
32
32
  /**
33
33
  * Usage service.
34
34
  * @module api/UsageApi
35
- * @version 6.7.0-beta.33
35
+ * @version 6.7.0-beta.34
36
36
  */
37
37
  var UsageApi = exports["default"] = /*#__PURE__*/function () {
38
38
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * Webhook service.
31
31
  * @module api/WebhookApi
32
- * @version 6.7.0-beta.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var WebhookApi = exports["default"] = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AWSRoleConfig model module.
31
31
  * @module model/AWSRoleConfig
32
- * @version 6.7.0-beta.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var AWSRoleConfig = /*#__PURE__*/function () {
35
35
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The AddDeviceToFleetsRequest model module.
31
31
  * @module model/AddDeviceToFleetsRequest
32
- * @version 6.7.0-beta.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var AddDeviceToFleetsRequest = /*#__PURE__*/function () {
35
35
  /**
@@ -31,7 +31,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
31
31
  /**
32
32
  * The Alert model module.
33
33
  * @module model/Alert
34
- * @version 6.7.0-beta.33
34
+ * @version 6.7.0-beta.34
35
35
  */
36
36
  var Alert = /*#__PURE__*/function () {
37
37
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertDataInner model module.
28
28
  * @module model/AlertDataInner
29
- * @version 6.7.0-beta.33
29
+ * @version 6.7.0-beta.34
30
30
  */
31
31
  var AlertDataInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The AlertNotificationsInner model module.
28
28
  * @module model/AlertNotificationsInner
29
- * @version 6.7.0-beta.33
29
+ * @version 6.7.0-beta.34
30
30
  */
31
31
  var AlertNotificationsInner = /*#__PURE__*/function () {
32
32
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The ArchiveStats model module.
28
28
  * @module model/ArchiveStats
29
- * @version 6.7.0-beta.33
29
+ * @version 6.7.0-beta.34
30
30
  */
31
31
  var ArchiveStats = /*#__PURE__*/function () {
32
32
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AwsRoute model module.
30
30
  * @module model/AwsRoute
31
- * @version 6.7.0-beta.33
31
+ * @version 6.7.0-beta.34
32
32
  */
33
33
  var AwsRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The AzureRoute model module.
30
30
  * @module model/AzureRoute
31
- * @version 6.7.0-beta.33
31
+ * @version 6.7.0-beta.34
32
32
  */
33
33
  var AzureRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -29,7 +29,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
29
29
  /**
30
30
  * The BatchJobNoteRequest model module.
31
31
  * @module model/BatchJobNoteRequest
32
- * @version 6.7.0-beta.33
32
+ * @version 6.7.0-beta.34
33
33
  */
34
34
  var BatchJobNoteRequest = /*#__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
  * The BatchJobRequests model module.
32
32
  * @module model/BatchJobRequests
33
- * @version 6.7.0-beta.33
33
+ * @version 6.7.0-beta.34
34
34
  */
35
35
  var BatchJobRequests = /*#__PURE__*/function () {
36
36
  /**
@@ -30,7 +30,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
30
30
  /**
31
31
  * The BillingAccount model module.
32
32
  * @module model/BillingAccount
33
- * @version 6.7.0-beta.33
33
+ * @version 6.7.0-beta.34
34
34
  */
35
35
  var BillingAccount = /*#__PURE__*/function () {
36
36
  /**
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
28
28
  /**
29
29
  * The BlynkRoute model module.
30
30
  * @module model/BlynkRoute
31
- * @version 6.7.0-beta.33
31
+ * @version 6.7.0-beta.34
32
32
  */
33
33
  var BlynkRoute = /*#__PURE__*/function () {
34
34
  /**
@@ -26,7 +26,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
26
26
  /**
27
27
  * The Body model module.
28
28
  * @module model/Body
29
- * @version 6.7.0-beta.33
29
+ * @version 6.7.0-beta.34
30
30
  */
31
31
  var Body = /*#__PURE__*/function () {
32
32
  /**