@blues-inc/notehub-js 6.7.0-beta.6 → 6.7.0-beta.61

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 (191) hide show
  1. package/README.md +149 -149
  2. package/dist/ApiClient.js +2 -2
  3. package/dist/api/AlertApi.js +3 -3
  4. package/dist/api/AuthorizationApi.js +9 -48
  5. package/dist/api/DescriptionApi.js +1 -1
  6. package/dist/api/DeviceApi.js +19 -19
  7. package/dist/api/EventApi.js +25 -170
  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 +9 -9
  12. package/dist/api/ProjectApi.js +83 -55
  13. package/dist/api/RouteApi.js +7 -7
  14. package/dist/api/SkillsApi.js +279 -0
  15. package/dist/api/UsageApi.js +15 -15
  16. package/dist/api/WebhookApi.js +17 -17
  17. package/dist/index.js +77 -63
  18. package/dist/model/AWSRoleConfig.js +1 -1
  19. package/dist/model/AddDeviceToFleetsRequest.js +1 -1
  20. package/dist/model/Alert.js +4 -4
  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 +5 -5
  28. package/dist/model/BillingAccount.js +1 -1
  29. package/dist/model/BlynkRoute.js +1 -1
  30. package/dist/model/Body.js +1 -1
  31. package/dist/model/CancelJobRun200Response.js +1 -1
  32. package/dist/model/CellularPlan.js +1 -1
  33. package/dist/model/CloneProjectRequest.js +7 -7
  34. package/dist/model/Contact.js +1 -1
  35. package/dist/model/CreateFleetRequest.js +1 -1
  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 +1 -1
  41. package/dist/model/CreateUpdateRepository.js +2 -1
  42. package/dist/model/CreatedRepository.js +1 -1
  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 +1 -1
  48. package/dist/model/DataSetField.js +1 -1
  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 +1 -1
  53. package/dist/model/DeleteJob200Response.js +1 -1
  54. package/dist/model/DeleteNotefilesRequest.js +1 -1
  55. package/dist/model/DescriptionRecord.js +1 -1
  56. package/dist/model/DescriptionRecordList.js +1 -1
  57. package/dist/model/Device.js +2 -2
  58. package/dist/model/DeviceDfuHistory.js +2 -2
  59. package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
  60. package/dist/model/DeviceDfuHistoryPage.js +1 -1
  61. package/dist/model/DeviceDfuStateMachine.js +1 -1
  62. package/dist/model/DeviceDfuStateMachineNode.js +1 -1
  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 +5 -5
  67. package/dist/model/DeviceTowerInfo.js +1 -1
  68. package/dist/model/DeviceUsage.js +1 -1
  69. package/dist/model/DfuActionRequest.js +1 -1
  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 +7 -7
  76. package/dist/model/Filter.js +1 -1
  77. package/dist/model/Firmware.js +1 -1
  78. package/dist/model/FirmwareInfo.js +1 -1
  79. package/dist/model/Fleet.js +3 -3
  80. package/dist/model/FleetConnectivityAssurance.js +1 -1
  81. package/dist/model/GetAlerts200Response.js +1 -1
  82. package/dist/model/GetApiUsage200Response.js +1 -1
  83. package/dist/model/GetDataUsage200Response.js +1 -1
  84. package/dist/model/GetDataUsage200ResponseDataInner.js +3 -3
  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 +1 -1
  94. package/dist/model/GetDevicePlans200Response.js +1 -1
  95. package/dist/model/GetDevicePublicKey200Response.js +1 -1
  96. package/dist/model/GetDevicePublicKeys200Response.js +1 -1
  97. package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -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/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
  105. package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
  106. package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
  107. package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
  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 +1 -1
  114. package/dist/model/GetSessionsUsage200Response.js +1 -1
  115. package/dist/model/GetWebhooks200Response.js +1 -1
  116. package/dist/model/GoogleRoute.js +1 -1
  117. package/dist/model/HealthLog.js +1 -1
  118. package/dist/model/HttpRoute.js +1 -1
  119. package/dist/model/Job.js +1 -1
  120. package/dist/model/JobDefinition.js +2 -2
  121. package/dist/model/JobDefinitionReportOptions.js +1 -1
  122. package/dist/model/JobDefinitionSelect.js +3 -3
  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 +1 -1
  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 +1 -1
  131. package/dist/model/NoteInput.js +1 -1
  132. package/dist/model/Notefile.js +1 -1
  133. package/dist/model/NotefileSchema.js +5 -3
  134. package/dist/model/NotehubRoute.js +1 -1
  135. package/dist/model/NotehubRouteSummary.js +1 -1
  136. package/dist/model/OAuth2Error.js +1 -1
  137. package/dist/model/OAuth2TokenResponse.js +1 -1
  138. package/dist/model/Organization.js +1 -1
  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 +1 -1
  143. package/dist/model/ProvisionDeviceRequest.js +1 -1
  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 +1 -1
  148. package/dist/model/RepositoryListResponse.js +1 -1
  149. package/dist/model/RepositoryTokenRequest.js +1 -1
  150. package/dist/model/RepositoryTokenResponse.js +1 -1
  151. package/dist/model/RouteLog.js +3 -3
  152. package/dist/model/RouteTransformSettings.js +1 -1
  153. package/dist/model/RunJob200Response.js +1 -1
  154. package/dist/model/S3ArchiveRoute.js +1 -1
  155. package/dist/model/SatelliteDataUsage.js +1 -1
  156. package/dist/model/SatellitePlan.js +1 -1
  157. package/dist/model/SchemaProperty.js +6 -4
  158. package/dist/model/SignalDevice200Response.js +1 -1
  159. package/dist/model/SimUsage.js +1 -1
  160. package/dist/model/Skill.js +207 -0
  161. package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +59 -40
  162. package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +75 -51
  163. package/dist/model/SkillSummary.js +205 -0
  164. package/dist/model/SkillWrite.js +128 -0
  165. package/dist/model/SkillWriteResult.js +153 -0
  166. package/dist/model/SlackBearerNotification.js +1 -1
  167. package/dist/model/SlackRoute.js +1 -1
  168. package/dist/model/SlackWebHookNotification.js +1 -1
  169. package/dist/model/SnowflakeRoute.js +1 -1
  170. package/dist/model/SnowpipeStreamingRoute.js +1 -1
  171. package/dist/model/ThingworxRoute.js +1 -1
  172. package/dist/model/TowerLocation.js +1 -1
  173. package/dist/model/TwilioRoute.js +1 -1
  174. package/dist/model/UpdateFleetRequest.js +1 -1
  175. package/dist/model/UpdateHostFirmwareRequest.js +1 -1
  176. package/dist/model/UpdateProjectSecretRequest.js +1 -1
  177. package/dist/model/UploadMetadata.js +1 -1
  178. package/dist/model/UsageApiData.js +1 -1
  179. package/dist/model/UsageData.js +1 -1
  180. package/dist/model/UsageEventsData.js +1 -1
  181. package/dist/model/UsageEventsResponse.js +1 -1
  182. package/dist/model/UsageRouteLogsData.js +2 -2
  183. package/dist/model/UsageSessionsData.js +1 -1
  184. package/dist/model/UserDfuStateMachine.js +1 -1
  185. package/dist/model/UserDfuStateMachineStatus.js +1 -1
  186. package/dist/model/UserFirmwareInfo.js +1 -1
  187. package/dist/model/WebhookSettings.js +1 -1
  188. package/package.json +1 -1
  189. package/dist/api/BillingAccountApi.js +0 -167
  190. package/dist/model/Login200Response.js +0 -91
  191. package/dist/model/LoginRequest.js +0 -103
@@ -6,8 +6,8 @@ Object.defineProperty(exports, "__esModule", {
6
6
  exports["default"] = void 0;
7
7
  var _ApiClient = _interopRequireDefault(require("../ApiClient"));
8
8
  var _Error = _interopRequireDefault(require("../model/Error"));
9
- var _GetBillingAccount200Response = _interopRequireDefault(require("../model/GetBillingAccount200Response"));
10
- var _GetBillingAccountBalanceHistory200Response = _interopRequireDefault(require("../model/GetBillingAccountBalanceHistory200Response"));
9
+ var _GetOrganization200Response = _interopRequireDefault(require("../model/GetOrganization200Response"));
10
+ var _GetOrganizationBalanceHistory200Response = _interopRequireDefault(require("../model/GetOrganizationBalanceHistory200Response"));
11
11
  var _GetOrganizations200Response = _interopRequireDefault(require("../model/GetOrganizations200Response"));
12
12
  function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
13
13
  function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
@@ -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.6
33
+ * @version 6.7.0-beta.61
34
34
  */
35
35
  var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -48,7 +48,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
48
48
  /**
49
49
  * Get Organization Information
50
50
  * @param {String} organizationUID
51
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccount200Response} and HTTP response
51
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganization200Response} and HTTP response
52
52
  */
53
53
  return _createClass(OrganizationApi, [{
54
54
  key: "getOrganizationWithHttpInfo",
@@ -67,14 +67,14 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
67
67
  var authNames = ["personalAccessToken"];
68
68
  var contentTypes = [];
69
69
  var accepts = ["application/json"];
70
- var returnType = _GetBillingAccount200Response["default"];
70
+ var returnType = _GetOrganization200Response["default"];
71
71
  return this.apiClient.callApi("/v1/organizations/{organizationUID}", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
72
72
  }
73
73
 
74
74
  /**
75
75
  * Get Organization Information
76
76
  * @param {String} organizationUID
77
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccount200Response}
77
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganization200Response}
78
78
  */
79
79
  }, {
80
80
  key: "getOrganization",
@@ -90,7 +90,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
90
90
  * @param {Object} opts Optional parameters
91
91
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
92
92
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
93
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetBillingAccountBalanceHistory200Response} and HTTP response
93
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetOrganizationBalanceHistory200Response} and HTTP response
94
94
  */
95
95
  }, {
96
96
  key: "getOrganizationBalanceHistoryWithHttpInfo",
@@ -113,7 +113,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
113
113
  var authNames = ["personalAccessToken"];
114
114
  var contentTypes = [];
115
115
  var accepts = ["application/json"];
116
- var returnType = _GetBillingAccountBalanceHistory200Response["default"];
116
+ var returnType = _GetOrganizationBalanceHistory200Response["default"];
117
117
  return this.apiClient.callApi("/v1/organizations/{organizationUID}/balance-history", "GET", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
118
118
  }
119
119
 
@@ -123,7 +123,7 @@ var OrganizationApi = exports["default"] = /*#__PURE__*/function () {
123
123
  * @param {Object} opts Optional parameters
124
124
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
125
125
  * @param {Number} opts.endDate End date for filtering results, specified as a Unix timestamp
126
- * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetBillingAccountBalanceHistory200Response}
126
+ * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetOrganizationBalanceHistory200Response}
127
127
  */
128
128
  }, {
129
129
  key: "getOrganizationBalanceHistory",
@@ -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.6
59
+ * @version 6.7.0-beta.61
60
60
  */
61
61
  var ProjectApi = exports["default"] = /*#__PURE__*/function () {
62
62
  /**
@@ -124,9 +124,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
124
124
  }
125
125
 
126
126
  /**
127
- * Clone a Project
127
+ * Clone a project
128
+ * Create a new project as a copy of this one. Settings, environment variables, transformation, fleets, routes and host firmware are copied; devices, products and members aren't. Copied fleets get new FleetUIDs. Requires the Owner role (400 otherwise), a verified email address (401 otherwise), and permission to create projects in the target organization (403 otherwise).
128
129
  * @param {String} projectOrProductUID
129
- * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
130
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
130
131
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
131
132
  */
132
133
  }, {
@@ -155,9 +156,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
155
156
  }
156
157
 
157
158
  /**
158
- * Clone a Project
159
+ * Clone a project
160
+ * Create a new project as a copy of this one. Settings, environment variables, transformation, fleets, routes and host firmware are copied; devices, products and members aren't. Copied fleets get new FleetUIDs. Requires the Owner role (400 otherwise), a verified email address (401 otherwise), and permission to create projects in the target organization (403 otherwise).
159
161
  * @param {String} projectOrProductUID
160
- * @param {module:model/CloneProjectRequest} cloneProjectRequest Project to be cloned
162
+ * @param {module:model/CloneProjectRequest} cloneProjectRequest The new project's name and organization, and what to leave out of the copy.
161
163
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
162
164
  */
163
165
  }, {
@@ -214,9 +216,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
214
216
  }
215
217
 
216
218
  /**
217
- * Create Product within a Project
219
+ * Create a product
220
+ * Add a ProductUID to the project, formed from the caller's reversed email and `product_uid`. For `jane@acme.com` and `sensors` it is `com.acme.jane:sensors`. Requires the Owner or Developer role and a verified email address (400 otherwise). Returns 404 if an `auto_provision_fleets` entry isn't a fleet in this project, and 500 if `product_uid` is invalid or already taken.
218
221
  * @param {String} projectOrProductUID
219
- * @param {module:model/CreateProductRequest} createProductRequest Product to be created
222
+ * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
220
223
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Product} and HTTP response
221
224
  */
222
225
  }, {
@@ -245,9 +248,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
245
248
  }
246
249
 
247
250
  /**
248
- * Create Product within a Project
251
+ * Create a product
252
+ * Add a ProductUID to the project, formed from the caller's reversed email and `product_uid`. For `jane@acme.com` and `sensors` it is `com.acme.jane:sensors`. Requires the Owner or Developer role and a verified email address (400 otherwise). Returns 404 if an `auto_provision_fleets` entry isn't a fleet in this project, and 500 if `product_uid` is invalid or already taken.
249
253
  * @param {String} projectOrProductUID
250
- * @param {module:model/CreateProductRequest} createProductRequest Product to be created
254
+ * @param {module:model/CreateProductRequest} createProductRequest The new product's UID suffix, name and provisioning settings.
251
255
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Product}
252
256
  */
253
257
  }, {
@@ -259,8 +263,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
259
263
  }
260
264
 
261
265
  /**
262
- * Create a Project
263
- * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
266
+ * Create a project
267
+ * Create a project in an organization, with one default fleet, no products, and the caller as its Owner. A second call creates another project. Requires a verified email address (401 otherwise) and permission to create projects in the organization (403 otherwise).
268
+ * @param {module:model/CreateProjectRequest} createProjectRequest The new project's name and organization.
264
269
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
265
270
  */
266
271
  }, {
@@ -283,8 +288,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
283
288
  }
284
289
 
285
290
  /**
286
- * Create a Project
287
- * @param {module:model/CreateProjectRequest} createProjectRequest Project to be created
291
+ * Create a project
292
+ * Create a project in an organization, with one default fleet, no products, and the caller as its Owner. A second call creates another project. Requires a verified email address (401 otherwise) and permission to create projects in the organization (403 otherwise).
293
+ * @param {module:model/CreateProjectRequest} createProjectRequest The new project's name and organization.
288
294
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
289
295
  */
290
296
  }, {
@@ -546,6 +552,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
546
552
 
547
553
  /**
548
554
  * Delete a product
555
+ * Remove a ProductUID from the project. Accepts the UID with or without the `product:` prefix. Requires the Owner or Developer role. Returns 404 if the project has no such ProductUID.
549
556
  * @param {String} projectOrProductUID
550
557
  * @param {String} productUID
551
558
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -578,6 +585,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
578
585
 
579
586
  /**
580
587
  * Delete a product
588
+ * Remove a ProductUID from the project. Accepts the UID with or without the `product:` prefix. Requires the Owner or Developer role. Returns 404 if the project has no such ProductUID.
581
589
  * @param {String} projectOrProductUID
582
590
  * @param {String} productUID
583
591
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -591,7 +599,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
591
599
  }
592
600
 
593
601
  /**
594
- * Delete a Project by ProjectUID
602
+ * Delete a project
603
+ * Delete a project, its ProductUIDs, and every member's access to it. Can't be undone through the API. Requires the Owner or Developer role. Returns 200 with no body.
595
604
  * @param {String} projectOrProductUID
596
605
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
597
606
  */
@@ -617,7 +626,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
617
626
  }
618
627
 
619
628
  /**
620
- * Delete a Project by ProjectUID
629
+ * Delete a project
630
+ * Delete a project, its ProductUIDs, and every member's access to it. Can't be undone through the API. Requires the Owner or Developer role. Returns 200 with no body.
621
631
  * @param {String} projectOrProductUID
622
632
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
623
633
  */
@@ -722,7 +732,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
722
732
  }
723
733
 
724
734
  /**
725
- * Disable the project-level event JSONata transformation
735
+ * Disable the global event transformation
736
+ * Stop applying the project's global event transformation to new events. The expression is kept, so `EnableGlobalEventTransformation` can turn it back on. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
726
737
  * @param {String} projectOrProductUID
727
738
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
728
739
  */
@@ -748,7 +759,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
748
759
  }
749
760
 
750
761
  /**
751
- * Disable the project-level event JSONata transformation
762
+ * Disable the global event transformation
763
+ * Stop applying the project's global event transformation to new events. The expression is kept, so `EnableGlobalEventTransformation` can turn it back on. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
752
764
  * @param {String} projectOrProductUID
753
765
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
754
766
  */
@@ -814,7 +826,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
814
826
  }
815
827
 
816
828
  /**
817
- * Enable the project-level event JSONata transformation
829
+ * Enable the global event transformation
830
+ * Resume applying the project's global event transformation to new events, without changing the expression. Undoes `DisableGlobalEventTransformation`. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
818
831
  * @param {String} projectOrProductUID
819
832
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
820
833
  */
@@ -840,7 +853,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
840
853
  }
841
854
 
842
855
  /**
843
- * Enable the project-level event JSONata transformation
856
+ * Enable the global event transformation
857
+ * Resume applying the project's global event transformation to new events, without changing the expression. Undoes `DisableGlobalEventTransformation`. Requires the Owner or Developer role. Returns 400 for a sub-project, whose parent's transformation applies.
844
858
  * @param {String} projectOrProductUID
845
859
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
846
860
  */
@@ -854,7 +868,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
854
868
 
855
869
  /**
856
870
  * Get AWS role configuration for role-based authentication
857
- * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
871
+ * Get the AWS account ID and External ID for the IAM role trust policy used by AWS routes with role-based authentication. The External ID is created on the first call and stays the same after that.
858
872
  * @param {String} projectOrProductUID
859
873
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/AWSRoleConfig} and HTTP response
860
874
  */
@@ -881,7 +895,7 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
881
895
 
882
896
  /**
883
897
  * Get AWS role configuration for role-based authentication
884
- * Returns the AWS Account ID and External ID needed to configure an IAM role trust policy for role-based authentication on AWS routes.
898
+ * Get the AWS account ID and External ID for the IAM role trust policy used by AWS routes with role-based authentication. The External ID is created on the first call and stays the same after that.
885
899
  * @param {String} projectOrProductUID
886
900
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/AWSRoleConfig}
887
901
  */
@@ -1050,19 +1064,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1050
1064
  * @param {String} projectOrProductUID
1051
1065
  * @param {module:model/String} firmwareType
1052
1066
  * @param {Object} opts Optional parameters
1053
- * @param {Number} opts.pageSize (default to 50)
1067
+ * @param {Number} opts.pageSize (default to 1000)
1054
1068
  * @param {Number} opts.pageNum (default to 1)
1055
1069
  * @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).
1056
1070
  * @param {module:model/String} opts.sortBy (default to 'captured')
1057
1071
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1058
- * @param {Array.<String>} opts.deviceUID A Device UID.
1072
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1059
1073
  * @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`.
1060
1074
  * @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.
1061
1075
  * @param {String} opts.fleetUID
1062
1076
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1063
1077
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1064
1078
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1065
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1079
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1066
1080
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1067
1081
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuHistoryPage} and HTTP response
1068
1082
  */
@@ -1113,19 +1127,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1113
1127
  * @param {String} projectOrProductUID
1114
1128
  * @param {module:model/String} firmwareType
1115
1129
  * @param {Object} opts Optional parameters
1116
- * @param {Number} opts.pageSize (default to 50)
1130
+ * @param {Number} opts.pageSize (default to 1000)
1117
1131
  * @param {Number} opts.pageNum (default to 1)
1118
1132
  * @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).
1119
1133
  * @param {module:model/String} opts.sortBy (default to 'captured')
1120
1134
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1121
- * @param {Array.<String>} opts.deviceUID A Device UID.
1135
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1122
1136
  * @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`.
1123
1137
  * @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.
1124
1138
  * @param {String} opts.fleetUID
1125
1139
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1126
1140
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1127
1141
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1128
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1142
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1129
1143
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1130
1144
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuHistoryPage}
1131
1145
  */
@@ -1142,19 +1156,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1142
1156
  * @param {String} projectOrProductUID
1143
1157
  * @param {module:model/String} firmwareType
1144
1158
  * @param {Object} opts Optional parameters
1145
- * @param {Number} opts.pageSize (default to 50)
1159
+ * @param {Number} opts.pageSize (default to 1000)
1146
1160
  * @param {Number} opts.pageNum (default to 1)
1147
1161
  * @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).
1148
1162
  * @param {module:model/String} opts.sortBy (default to 'captured')
1149
1163
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1150
- * @param {Array.<String>} opts.deviceUID A Device UID.
1164
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1151
1165
  * @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`.
1152
1166
  * @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.
1153
1167
  * @param {String} opts.fleetUID
1154
1168
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1155
1169
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1156
1170
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1157
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1171
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1158
1172
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1159
1173
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DeviceDfuStatusPage} and HTTP response
1160
1174
  */
@@ -1205,19 +1219,19 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1205
1219
  * @param {String} projectOrProductUID
1206
1220
  * @param {module:model/String} firmwareType
1207
1221
  * @param {Object} opts Optional parameters
1208
- * @param {Number} opts.pageSize (default to 50)
1222
+ * @param {Number} opts.pageSize (default to 1000)
1209
1223
  * @param {Number} opts.pageNum (default to 1)
1210
1224
  * @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).
1211
1225
  * @param {module:model/String} opts.sortBy (default to 'captured')
1212
1226
  * @param {module:model/String} opts.sortOrder (default to 'asc')
1213
- * @param {Array.<String>} opts.deviceUID A Device UID.
1227
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1214
1228
  * @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`.
1215
1229
  * @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.
1216
1230
  * @param {String} opts.fleetUID
1217
1231
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1218
1232
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1219
1233
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1220
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1234
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1221
1235
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1222
1236
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DeviceDfuStatusPage}
1223
1237
  */
@@ -1477,7 +1491,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1477
1491
  }
1478
1492
 
1479
1493
  /**
1480
- * Get variable format for a notefile
1494
+ * List Notefile schemas
1495
+ * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1481
1496
  * @param {String} projectOrProductUID
1482
1497
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link Array.<module:model/NotefileSchema>} and HTTP response
1483
1498
  */
@@ -1503,7 +1518,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1503
1518
  }
1504
1519
 
1505
1520
  /**
1506
- * Get variable format for a notefile
1521
+ * List Notefile schemas
1522
+ * List the project's Notefiles, each with the event `body` fields Notehub has seen in it and their JSON types. Inferred from received events.
1507
1523
  * @param {String} projectOrProductUID
1508
1524
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link Array.<module:model/NotefileSchema>}
1509
1525
  */
@@ -1516,7 +1532,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1516
1532
  }
1517
1533
 
1518
1534
  /**
1519
- * Get Products within a Project
1535
+ * List a project's products
1536
+ * List the project's ProductUIDs, each with its label, auto-provision fleets, and whether new devices start disabled. UIDs here include the `product:` prefix; `CreateProduct` returns them without it. Not paginated.
1520
1537
  * @param {String} projectOrProductUID
1521
1538
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProducts200Response} and HTTP response
1522
1539
  */
@@ -1542,7 +1559,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1542
1559
  }
1543
1560
 
1544
1561
  /**
1545
- * Get Products within a Project
1562
+ * List a project's products
1563
+ * List the project's ProductUIDs, each with its label, auto-provision fleets, and whether new devices start disabled. UIDs here include the `product:` prefix; `CreateProduct` returns them without it. Not paginated.
1546
1564
  * @param {String} projectOrProductUID
1547
1565
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProducts200Response}
1548
1566
  */
@@ -1555,7 +1573,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1555
1573
  }
1556
1574
 
1557
1575
  /**
1558
- * Get a Project by ProjectUID
1576
+ * Get a project
1577
+ * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1559
1578
  * @param {String} projectOrProductUID
1560
1579
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1561
1580
  */
@@ -1581,7 +1600,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1581
1600
  }
1582
1601
 
1583
1602
  /**
1584
- * Get a Project by ProjectUID
1603
+ * Get a project
1604
+ * Get a project's label, creation time, contacts, and the caller's `role` in it. Accepts a ProductUID in place of the ProjectUID.
1585
1605
  * @param {String} projectOrProductUID
1586
1606
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1587
1607
  */
@@ -1594,8 +1614,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1594
1614
  }
1595
1615
 
1596
1616
  /**
1597
- * Get a Project by ProductUID
1598
- * @param {String} productUID
1617
+ * Get the project for a ProductUID
1618
+ * Get the project that a ProductUID belongs to. Returns the same object as `GetProject`, which also accepts a ProductUID in place of a ProjectUID.
1619
+ * @param {String} productUID ProductUID, e.g. `com.blues.airnote`, with or without the `product:` prefix.
1599
1620
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/Project} and HTTP response
1600
1621
  */
1601
1622
  }, {
@@ -1620,8 +1641,9 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1620
1641
  }
1621
1642
 
1622
1643
  /**
1623
- * Get a Project by ProductUID
1624
- * @param {String} productUID
1644
+ * Get the project for a ProductUID
1645
+ * Get the project that a ProductUID belongs to. Returns the same object as `GetProject`, which also accepts a ProductUID in place of a ProjectUID.
1646
+ * @param {String} productUID ProductUID, e.g. `com.blues.airnote`, with or without the `product:` prefix.
1625
1647
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Project}
1626
1648
  */
1627
1649
  }, {
@@ -1711,7 +1733,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1711
1733
  }
1712
1734
 
1713
1735
  /**
1714
- * Get Project Members
1736
+ * List project members
1737
+ * List the project's members with each one's name and role. Emails are filled in only when the caller is an Owner. Not paginated.
1715
1738
  * @param {String} projectOrProductUID
1716
1739
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjectMembers200Response} and HTTP response
1717
1740
  */
@@ -1737,7 +1760,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1737
1760
  }
1738
1761
 
1739
1762
  /**
1740
- * Get Project Members
1763
+ * List project members
1764
+ * List the project's members with each one's name and role. Emails are filled in only when the caller is an Owner. Not paginated.
1741
1765
  * @param {String} projectOrProductUID
1742
1766
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjectMembers200Response}
1743
1767
  */
@@ -1789,7 +1813,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1789
1813
  }
1790
1814
 
1791
1815
  /**
1792
- * Get Projects accessible by the api_key
1816
+ * List projects
1817
+ * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1793
1818
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetProjects200Response} and HTTP response
1794
1819
  */
1795
1820
  }, {
@@ -1808,7 +1833,8 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1808
1833
  }
1809
1834
 
1810
1835
  /**
1811
- * Get Projects accessible by the api_key
1836
+ * List projects
1837
+ * List every project the caller is a member of, with the caller's `role` in each. Not paginated.
1812
1838
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetProjects200Response}
1813
1839
  */
1814
1840
  }, {
@@ -1825,14 +1851,14 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1825
1851
  * @param {module:model/String} firmwareType
1826
1852
  * @param {module:model/String} action
1827
1853
  * @param {Object} opts Optional parameters
1828
- * @param {Array.<String>} opts.deviceUID A Device UID.
1854
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1829
1855
  * @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`.
1830
1856
  * @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.
1831
1857
  * @param {String} opts.fleetUID
1832
1858
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1833
1859
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1834
1860
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1835
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1861
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1836
1862
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1837
1863
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
1838
1864
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
@@ -1885,14 +1911,14 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1885
1911
  * @param {module:model/String} firmwareType
1886
1912
  * @param {module:model/String} action
1887
1913
  * @param {Object} opts Optional parameters
1888
- * @param {Array.<String>} opts.deviceUID A Device UID.
1914
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
1889
1915
  * @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`.
1890
1916
  * @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.
1891
1917
  * @param {String} opts.fleetUID
1892
1918
  * @param {Array.<String>} opts.notecardFirmware Firmware version filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1893
1919
  * @param {Array.<String>} opts.location Location filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1894
1920
  * @param {Array.<String>} opts.hostFirmware Host firmware filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1895
- * @param {Array.<String>} opts.productUID Product UID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1921
+ * @param {Array.<String>} opts.productUID ProductUID filter. Matches any value containing the filter text, case-insensitive. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1896
1922
  * @param {Array.<String>} opts.sku SKU filter. Matches any value containing the filter text. Use `*` as a wildcard and `\\*` to match a literal `*`; all other characters, including `%` and `_`, match literally.
1897
1923
  * @param {module:model/DfuActionRequest} opts.dfuActionRequest Which firmware in the case of an update action
1898
1924
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
@@ -1958,9 +1984,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1958
1984
  }
1959
1985
 
1960
1986
  /**
1961
- * Set the project-level event JSONata transformation
1987
+ * Set the global event transformation
1988
+ * Set the project's JSONata expression that rewrites each new event before it's stored and routed. It can change `body`, `payload`, `details`, `file` and `note`, or drop the event with `$doNotRoute()`; an event it fails on is kept with `error` set. Doesn't enable or disable it. Requires the Owner or Developer role. Returns 400 if it doesn't compile, or for a sub-project, which uses its parent's.
1962
1989
  * @param {String} projectOrProductUID
1963
- * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
1990
+ * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1964
1991
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
1965
1992
  */
1966
1993
  }, {
@@ -1989,9 +2016,10 @@ var ProjectApi = exports["default"] = /*#__PURE__*/function () {
1989
2016
  }
1990
2017
 
1991
2018
  /**
1992
- * Set the project-level event JSONata transformation
2019
+ * Set the global event transformation
2020
+ * Set the project's JSONata expression that rewrites each new event before it's stored and routed. It can change `body`, `payload`, `details`, `file` and `note`, or drop the event with `$doNotRoute()`; an event it fails on is kept with `error` set. Doesn't enable or disable it. Requires the Owner or Developer role. Returns 400 if it doesn't compile, or for a sub-project, which uses its parent's.
1993
2021
  * @param {String} projectOrProductUID
1994
- * @param {String} body JSONata expression which will be applied to each event before it is persisted and routed
2022
+ * @param {String} body JSONata expression as plain text. An empty body clears the transformation.
1995
2023
  * @return {Promise} a {@link https://www.promisejs.org/|Promise}
1996
2024
  */
1997
2025
  }, {
@@ -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.6
33
+ * @version 6.7.0-beta.61
34
34
  */
35
35
  var RouteApi = exports["default"] = /*#__PURE__*/function () {
36
36
  /**
@@ -183,14 +183,14 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
183
183
  }
184
184
 
185
185
  /**
186
- * Get Route Logs by Route UID
186
+ * Get Route Logs by RouteUID
187
187
  * @param {String} projectOrProductUID
188
188
  * @param {String} routeUID
189
189
  * @param {Object} opts Optional parameters
190
- * @param {Number} opts.pageSize (default to 50)
190
+ * @param {Number} opts.pageSize (default to 1000)
191
191
  * @param {Number} opts.pageNum (default to 1)
192
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).
193
- * @param {Array.<String>} opts.deviceUID A Device UID.
193
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
194
194
  * @param {module:model/String} opts.sortBy (default to 'date')
195
195
  * @param {module:model/String} opts.sortOrder (default to 'desc')
196
196
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp
@@ -244,14 +244,14 @@ var RouteApi = exports["default"] = /*#__PURE__*/function () {
244
244
  }
245
245
 
246
246
  /**
247
- * Get Route Logs by Route UID
247
+ * Get Route Logs by RouteUID
248
248
  * @param {String} projectOrProductUID
249
249
  * @param {String} routeUID
250
250
  * @param {Object} opts Optional parameters
251
- * @param {Number} opts.pageSize (default to 50)
251
+ * @param {Number} opts.pageSize (default to 1000)
252
252
  * @param {Number} opts.pageNum (default to 1)
253
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).
254
- * @param {Array.<String>} opts.deviceUID A Device UID.
254
+ * @param {Array.<String>} opts.deviceUID A DeviceUID.
255
255
  * @param {module:model/String} opts.sortBy (default to 'date')
256
256
  * @param {module:model/String} opts.sortOrder (default to 'desc')
257
257
  * @param {Number} opts.startDate Start date for filtering results, specified as a Unix timestamp