@blues-inc/notehub-js 6.7.0-beta.71 → 6.7.0-beta.73
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +111 -112
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +7 -5
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +33 -49
- package/dist/api/DeviceApi.js +115 -177
- package/dist/api/EventApi.js +45 -51
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +27 -17
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +149 -237
- package/dist/api/RouteApi.js +35 -47
- package/dist/api/SkillsApi.js +1 -1
- package/dist/api/UsageApi.js +1 -1
- package/dist/api/WebhookApi.js +45 -67
- package/dist/index.js +0 -7
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +11 -6
- package/dist/model/AlertDataInner.js +9 -4
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -1
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +1 -2
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +2 -3
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +3 -4
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +37 -25
- package/dist/model/CreateProductRequest.js +6 -7
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +1 -2
- package/dist/model/CreatedRepository.js +5 -5
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -1
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +4 -4
- package/dist/model/DataSetField.js +2 -2
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -1
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +3 -3
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +2 -2
- package/dist/model/DescriptionRecord.js +6 -6
- package/dist/model/DescriptionRecordList.js +1 -1
- package/dist/model/Device.js +8 -27
- package/dist/model/DeviceDfuHistory.js +1 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +1 -2
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +2 -2
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +1 -1
- package/dist/model/DeviceTowerInfo.js +1 -6
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- package/dist/model/EmailNotification.js +2 -2
- package/dist/model/EnvTreeJsonNode.js +1 -1
- package/dist/model/EnvVar.js +1 -1
- package/dist/model/EnvironmentVariables.js +1 -1
- package/dist/model/Error.js +1 -1
- package/dist/model/Event.js +1 -1
- package/dist/model/Filter.js +1 -1
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +6 -6
- package/dist/model/Fleet.js +10 -11
- package/dist/model/FleetConnectivityAssurance.js +1 -1
- package/dist/model/GetAlerts200Response.js +1 -1
- package/dist/model/GetApiUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200Response.js +1 -1
- package/dist/model/GetDataUsage200ResponseDataInner.js +1 -1
- package/dist/model/GetDbNote200Response.js +1 -1
- package/dist/model/GetDeviceEnvironmentVariablesByPin200Response.js +1 -1
- package/dist/model/GetDeviceFleets200Response.js +1 -1
- package/dist/model/GetDeviceHealthLog200Response.js +1 -1
- package/dist/model/GetDeviceJourney200Response.js +1 -1
- package/dist/model/GetDeviceJourney200ResponseJourney.js +1 -1
- package/dist/model/GetDeviceJourneys200Response.js +1 -1
- package/dist/model/GetDeviceJourneys200ResponseJourneysInner.js +1 -1
- package/dist/model/GetDeviceLatestEvents200Response.js +2 -2
- package/dist/model/GetDevicePlans200Response.js +1 -2
- package/dist/model/GetDevicePublicKey200Response.js +3 -5
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -3
- package/dist/model/GetDeviceSessions200Response.js +1 -1
- package/dist/model/GetDevices200Response.js +1 -1
- package/dist/model/GetEvents200Response.js +1 -1
- package/dist/model/GetJobRuns200Response.js +1 -1
- package/dist/model/GetJobs200Response.js +1 -1
- package/dist/model/GetNotefile200Response.js +1 -1
- package/dist/model/GetOrganization200Response.js +1 -1
- package/dist/model/GetOrganization200ResponsePlan.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200Response.js +1 -1
- package/dist/model/GetOrganizationBalanceHistory200ResponseDataInner.js +1 -1
- package/dist/model/GetOrganizations200Response.js +1 -1
- package/dist/model/GetProducts200Response.js +1 -1
- package/dist/model/GetProjectMembers200Response.js +1 -1
- package/dist/model/GetProjectSecretsResponse.js +1 -1
- package/dist/model/GetProjects200Response.js +1 -1
- package/dist/model/GetRouteLogsUsage200Response.js +1 -1
- package/dist/model/GetSessionsUsage200Response.js +1 -1
- package/dist/model/GetWebhooks200Response.js +1 -1
- package/dist/model/GoogleRoute.js +1 -1
- package/dist/model/HealthLog.js +4 -7
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +1 -1
- package/dist/model/JobDetail.js +1 -1
- package/dist/model/JobDetailAllOf.js +1 -1
- package/dist/model/JobRun.js +1 -1
- package/dist/model/Location.js +7 -13
- package/dist/model/Monitor.js +18 -12
- package/dist/model/MonitorAlertRoutesInner.js +4 -4
- package/dist/model/MqttRoute.js +1 -1
- package/dist/model/Note.js +2 -2
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +1 -2
- package/dist/model/NotefileSchema.js +3 -5
- package/dist/model/NotehubRoute.js +3 -7
- package/dist/model/NotehubRouteSummary.js +1 -6
- package/dist/model/OAuth2Error.js +1 -1
- package/dist/model/OAuth2TokenResponse.js +1 -1
- package/dist/model/Organization.js +1 -1
- package/dist/model/Product.js +4 -8
- package/dist/model/Project.js +4 -7
- package/dist/model/ProjectMember.js +4 -5
- package/dist/model/ProjectSecret.js +7 -7
- package/dist/model/ProvisionDeviceRequest.js +5 -5
- package/dist/model/ProxyRoute.js +1 -1
- package/dist/model/QubitroRoute.js +1 -1
- package/dist/model/RadRoute.js +1 -1
- package/dist/model/Repository.js +3 -3
- package/dist/model/RepositoryListResponse.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +9 -9
- package/dist/model/RouteTransformSettings.js +1 -1
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -1
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +4 -6
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +1 -1
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +1 -1
- package/dist/model/SkillSummary.js +1 -1
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +1 -1
- package/dist/model/SlackBearerNotification.js +3 -3
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +3 -3
- package/dist/model/SnowflakeRoute.js +1 -1
- package/dist/model/SnowpipeStreamingRoute.js +1 -1
- package/dist/model/ThingworxRoute.js +1 -1
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/TwilioRoute.js +1 -1
- package/dist/model/UpdateFleetRequest.js +6 -7
- package/dist/model/UpdateHostFirmwareRequest.js +4 -4
- package/dist/model/UpdateProjectSecretRequest.js +3 -3
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +1 -1
- package/dist/model/UsageData.js +1 -1
- package/dist/model/UsageEventsData.js +1 -1
- package/dist/model/UsageEventsResponse.js +1 -1
- package/dist/model/UsageRouteLogsData.js +1 -1
- package/dist/model/UsageSessionsData.js +1 -1
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +4 -4
- package/package.json +1 -1
- package/dist/model/RepositoryRecord.js +0 -119
|
@@ -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.
|
|
32
|
+
* @version 6.7.0-beta.73
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,9 +45,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Delete a global description record
|
|
49
|
-
*
|
|
50
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
48
|
+
* Delete a global description record by name (Blues staff only).
|
|
49
|
+
* @param {String} descriptionName
|
|
51
50
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
52
51
|
*/
|
|
53
52
|
return _createClass(DescriptionApi, [{
|
|
@@ -72,9 +71,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
72
71
|
}
|
|
73
72
|
|
|
74
73
|
/**
|
|
75
|
-
* Delete a global description record
|
|
76
|
-
*
|
|
77
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
74
|
+
* Delete a global description record by name (Blues staff only).
|
|
75
|
+
* @param {String} descriptionName
|
|
78
76
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
79
77
|
*/
|
|
80
78
|
}, {
|
|
@@ -86,10 +84,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
86
84
|
}
|
|
87
85
|
|
|
88
86
|
/**
|
|
89
|
-
* Delete a project description record
|
|
90
|
-
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
87
|
+
* Delete a project description record by name.
|
|
91
88
|
* @param {String} projectOrProductUID
|
|
92
|
-
* @param {String} descriptionName
|
|
89
|
+
* @param {String} descriptionName
|
|
93
90
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
94
91
|
*/
|
|
95
92
|
}, {
|
|
@@ -119,10 +116,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
119
116
|
}
|
|
120
117
|
|
|
121
118
|
/**
|
|
122
|
-
* Delete a project description record
|
|
123
|
-
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
119
|
+
* Delete a project description record by name.
|
|
124
120
|
* @param {String} projectOrProductUID
|
|
125
|
-
* @param {String} descriptionName
|
|
121
|
+
* @param {String} descriptionName
|
|
126
122
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
127
123
|
*/
|
|
128
124
|
}, {
|
|
@@ -134,9 +130,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
134
130
|
}
|
|
135
131
|
|
|
136
132
|
/**
|
|
137
|
-
* Get a global description record
|
|
138
|
-
*
|
|
139
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
133
|
+
* Get a global description record. Returns the raw content with its stored Content-Type.
|
|
134
|
+
* @param {String} descriptionName
|
|
140
135
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
141
136
|
*/
|
|
142
137
|
}, {
|
|
@@ -161,9 +156,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
161
156
|
}
|
|
162
157
|
|
|
163
158
|
/**
|
|
164
|
-
* Get a global description record
|
|
165
|
-
*
|
|
166
|
-
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
159
|
+
* Get a global description record. Returns the raw content with its stored Content-Type.
|
|
160
|
+
* @param {String} descriptionName
|
|
167
161
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
168
162
|
*/
|
|
169
163
|
}, {
|
|
@@ -175,10 +169,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
175
169
|
}
|
|
176
170
|
|
|
177
171
|
/**
|
|
178
|
-
* Get a project description record
|
|
179
|
-
* Get the content of one of a project's description records, served with the Content-Type it was stored with. For the metadata of every record, use `ListProjectDescriptions`. Returns 404 if the record doesn't exist.
|
|
172
|
+
* Get a project description record. Returns the raw content with its stored Content-Type.
|
|
180
173
|
* @param {String} projectOrProductUID
|
|
181
|
-
* @param {String} descriptionName
|
|
174
|
+
* @param {String} descriptionName
|
|
182
175
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
183
176
|
*/
|
|
184
177
|
}, {
|
|
@@ -208,10 +201,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
208
201
|
}
|
|
209
202
|
|
|
210
203
|
/**
|
|
211
|
-
* Get a project description record
|
|
212
|
-
* Get the content of one of a project's description records, served with the Content-Type it was stored with. For the metadata of every record, use `ListProjectDescriptions`. Returns 404 if the record doesn't exist.
|
|
204
|
+
* Get a project description record. Returns the raw content with its stored Content-Type.
|
|
213
205
|
* @param {String} projectOrProductUID
|
|
214
|
-
* @param {String} descriptionName
|
|
206
|
+
* @param {String} descriptionName
|
|
215
207
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
216
208
|
*/
|
|
217
209
|
}, {
|
|
@@ -223,8 +215,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
223
215
|
}
|
|
224
216
|
|
|
225
217
|
/**
|
|
226
|
-
* List global description records
|
|
227
|
-
* List the platform-wide description records that Blues publishes, without their content. Any signed-in user can read them. For a project's own records, use `ListProjectDescriptions`.
|
|
218
|
+
* List metadata for all global description records.
|
|
228
219
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
229
220
|
*/
|
|
230
221
|
}, {
|
|
@@ -243,8 +234,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
243
234
|
}
|
|
244
235
|
|
|
245
236
|
/**
|
|
246
|
-
* List global description records
|
|
247
|
-
* List the platform-wide description records that Blues publishes, without their content. Any signed-in user can read them. For a project's own records, use `ListProjectDescriptions`.
|
|
237
|
+
* List metadata for all global description records.
|
|
248
238
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
249
239
|
*/
|
|
250
240
|
}, {
|
|
@@ -256,8 +246,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
256
246
|
}
|
|
257
247
|
|
|
258
248
|
/**
|
|
259
|
-
* List
|
|
260
|
-
* List a project's description records by name, with each one's content type, size and change history but not its content. A description record is a named document, such as Markdown, JSON or plain text, that explains the project's data. For Blues' platform-wide records, use `ListGlobalDescriptions`.
|
|
249
|
+
* List metadata for all description records in a project.
|
|
261
250
|
* @param {String} projectOrProductUID
|
|
262
251
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
263
252
|
*/
|
|
@@ -283,8 +272,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
283
272
|
}
|
|
284
273
|
|
|
285
274
|
/**
|
|
286
|
-
* List
|
|
287
|
-
* List a project's description records by name, with each one's content type, size and change history but not its content. A description record is a named document, such as Markdown, JSON or plain text, that explains the project's data. For Blues' platform-wide records, use `ListGlobalDescriptions`.
|
|
275
|
+
* List metadata for all description records in a project.
|
|
288
276
|
* @param {String} projectOrProductUID
|
|
289
277
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
290
278
|
*/
|
|
@@ -297,10 +285,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
297
285
|
}
|
|
298
286
|
|
|
299
287
|
/**
|
|
300
|
-
* Create or replace a global description record
|
|
301
|
-
*
|
|
302
|
-
* @param {
|
|
303
|
-
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
288
|
+
* Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
289
|
+
* @param {String} descriptionName
|
|
290
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
304
291
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
305
292
|
*/
|
|
306
293
|
}, {
|
|
@@ -329,10 +316,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
329
316
|
}
|
|
330
317
|
|
|
331
318
|
/**
|
|
332
|
-
* Create or replace a global description record
|
|
333
|
-
*
|
|
334
|
-
* @param {
|
|
335
|
-
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
319
|
+
* Create or replace a global description record, Blues staff only (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
320
|
+
* @param {String} descriptionName
|
|
321
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
336
322
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
337
323
|
*/
|
|
338
324
|
}, {
|
|
@@ -344,11 +330,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
344
330
|
}
|
|
345
331
|
|
|
346
332
|
/**
|
|
347
|
-
* Create or replace a project description record
|
|
348
|
-
* Store a named document in a project, replacing any record with that name. The request's Content-Type is stored and served back by `GetProjectDescription`; if it's missing or `application/octet-stream`, the type is detected from the content. Requires the Owner or Developer role. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
333
|
+
* Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
349
334
|
* @param {String} projectOrProductUID
|
|
350
|
-
* @param {String} descriptionName
|
|
351
|
-
* @param {File} body The
|
|
335
|
+
* @param {String} descriptionName
|
|
336
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
352
337
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
353
338
|
*/
|
|
354
339
|
}, {
|
|
@@ -382,11 +367,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
382
367
|
}
|
|
383
368
|
|
|
384
369
|
/**
|
|
385
|
-
* Create or replace a project description record
|
|
386
|
-
* Store a named document in a project, replacing any record with that name. The request's Content-Type is stored and served back by `GetProjectDescription`; if it's missing or `application/octet-stream`, the type is detected from the content. Requires the Owner or Developer role. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
370
|
+
* Create or replace a project description record (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
387
371
|
* @param {String} projectOrProductUID
|
|
388
|
-
* @param {String} descriptionName
|
|
389
|
-
* @param {File} body The
|
|
372
|
+
* @param {String} descriptionName
|
|
373
|
+
* @param {File} body The description content (up to 10MB). The request Content-Type is stored and returned on GET; when omitted it is detected (JSON or text).
|
|
390
374
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
391
375
|
*/
|
|
392
376
|
}, {
|