@blues-inc/notehub-js 7.0.0-beta.1 → 7.0.0-beta.3
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 +9 -5
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +9 -9
- package/dist/api/AuthorizationApi.js +1 -1
- package/dist/api/DescriptionApi.js +9 -9
- package/dist/api/DeviceApi.js +195 -195
- package/dist/api/EventApi.js +33 -33
- package/dist/api/ExternalDevicesApi.js +13 -13
- package/dist/api/JobsApi.js +19 -19
- package/dist/api/MonitorApi.js +11 -11
- package/dist/api/OrganizationApi.js +1 -1
- package/dist/api/ProjectApi.js +185 -185
- package/dist/api/RouteApi.js +25 -25
- package/dist/api/SkillsApi.js +9 -9
- package/dist/api/UsageApi.js +17 -17
- package/dist/api/WebhookApi.js +29 -29
- package/dist/index.js +28 -0
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +1 -1
- package/dist/model/Alert.js +1 -3
- package/dist/model/AlertDataInner.js +1 -1
- package/dist/model/AlertNotificationsInner.js +1 -1
- package/dist/model/ArchiveStats.js +1 -1
- package/dist/model/AwsRoute.js +2 -14
- package/dist/model/AzureRoute.js +1 -8
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +1 -2
- package/dist/model/BillingAccount.js +3 -5
- package/dist/model/BlynkRoute.js +1 -6
- package/dist/model/Body.js +1 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +1 -1
- package/dist/model/CloneProjectRequest.js +1 -1
- package/dist/model/Contact.js +1 -5
- package/dist/model/CreateFleetRequest.js +1 -1
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +1 -1
- package/dist/model/CreateProjectRequest.js +1 -1
- package/dist/model/CreateProjectSecretRequest.js +1 -1
- package/dist/model/CreateUpdateRepository.js +1 -1
- package/dist/model/CreatedRepository.js +1 -1
- package/dist/model/CurrentFirmware.js +1 -1
- package/dist/model/DFUEnv.js +1 -1
- package/dist/model/DFUState.js +1 -2
- package/dist/model/DataField.js +1 -1
- package/dist/model/DataSet.js +1 -2
- package/dist/model/DataSetField.js +1 -1
- package/dist/model/DataUsage.js +1 -1
- package/dist/model/DatacakeRoute.js +1 -7
- package/dist/model/DatasetReloadProgress.js +1 -1
- package/dist/model/DeleteDeviceFromFleetsRequest.js +1 -1
- package/dist/model/DeleteJob200Response.js +1 -1
- package/dist/model/DeleteNotefilesRequest.js +1 -1
- package/dist/model/DescriptionRecord.js +1 -1
- package/dist/model/DescriptionRecordList.js +2 -3
- package/dist/model/Device.js +1 -1
- package/dist/model/DeviceDfuHistory.js +1 -1
- package/dist/model/DeviceDfuHistoryCurrent.js +1 -1
- package/dist/model/DeviceDfuHistoryPage.js +1 -3
- package/dist/model/DeviceDfuStateMachine.js +1 -1
- package/dist/model/DeviceDfuStateMachineNode.js +1 -1
- package/dist/model/DeviceDfuStatus.js +1 -1
- package/dist/model/DeviceDfuStatusPage.js +1 -3
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +1 -33
- package/dist/model/DeviceTowerInfo.js +1 -1
- package/dist/model/DeviceUsage.js +1 -7
- package/dist/model/DfuActionRequest.js +1 -1
- package/dist/model/EmailNotification.js +1 -1
- package/dist/model/EnvTreeJsonNode.js +6 -17
- package/dist/model/EnvVar.js +1 -5
- package/dist/model/EnvironmentVariables.js +2 -3
- package/dist/model/Error.js +1 -4
- package/dist/model/Event.js +435 -9
- package/dist/model/Filter.js +5 -5
- package/dist/model/Firmware.js +1 -1
- package/dist/model/FirmwareInfo.js +1 -1
- package/dist/model/Fleet.js +1 -1
- 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 +1 -1
- package/dist/model/GetDevicePlans200Response.js +1 -1
- package/dist/model/GetDevicePublicKey200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +1 -1
- 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 +2 -3
- 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 -6
- package/dist/model/HealthLog.js +1 -1
- package/dist/model/HttpRoute.js +2 -7
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +1 -1
- package/dist/model/JobDefinitionReportOptions.js +1 -2
- package/dist/model/JobDefinitionSelect.js +1 -2
- 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 +1 -1
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- package/dist/model/MqttRoute.js +1 -14
- package/dist/model/Note.js +1 -1
- package/dist/model/NoteInput.js +1 -1
- package/dist/model/Notefile.js +2 -3
- package/dist/model/NotefileSchema.js +1 -1
- package/dist/model/NotehubRoute.js +2 -2
- package/dist/model/NotehubRouteSummary.js +1 -1
- 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 +1 -1
- package/dist/model/Project.js +1 -1
- package/dist/model/ProjectMember.js +1 -1
- package/dist/model/ProjectSecret.js +1 -1
- package/dist/model/ProvisionDeviceRequest.js +1 -1
- package/dist/model/ProxyRoute.js +1 -6
- package/dist/model/QubitroRoute.js +1 -7
- package/dist/model/RadRoute.js +1 -9
- package/dist/model/Repository.js +1 -1
- package/dist/model/RepositoryListResponse.js +2 -3
- package/dist/model/RepositoryRecord.js +1 -1
- package/dist/model/RepositoryTokenRequest.js +1 -1
- package/dist/model/RepositoryTokenResponse.js +1 -1
- package/dist/model/RouteLog.js +1 -1
- package/dist/model/RouteTransformSettings.js +5 -5
- package/dist/model/RunJob200Response.js +1 -1
- package/dist/model/S3ArchiveRoute.js +1 -16
- package/dist/model/SatelliteDataUsage.js +1 -1
- package/dist/model/SatellitePlan.js +1 -1
- package/dist/model/SchemaProperty.js +1 -1
- package/dist/model/SignalDevice200Response.js +1 -1
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +4 -7
- package/dist/model/SkillLinks.js +1 -1
- package/dist/model/SkillSet.js +5 -9
- package/dist/model/SkillSummary.js +4 -7
- package/dist/model/SkillWrite.js +1 -1
- package/dist/model/SkillWriteResult.js +2 -3
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -9
- package/dist/model/SlackWebHookNotification.js +1 -1
- package/dist/model/SnowflakeRoute.js +1 -9
- package/dist/model/SnowpipeStreamingRoute.js +1 -12
- package/dist/model/ThingworxRoute.js +1 -6
- package/dist/model/TowerLocation.js +1 -1
- package/dist/model/Triangulation.js +170 -0
- package/dist/model/TriangulationCellTower.js +160 -0
- package/dist/model/TriangulationGps.js +111 -0
- package/dist/model/TriangulationWifiAccessPoint.js +138 -0
- package/dist/model/TwilioNotification.js +1 -1
- package/dist/model/TwilioRoute.js +1 -9
- package/dist/model/UpdateFleetRequest.js +1 -1
- package/dist/model/UpdateHostFirmwareRequest.js +1 -1
- package/dist/model/UpdateProjectSecretRequest.js +1 -1
- package/dist/model/UploadMetadata.js +1 -1
- package/dist/model/UsageApiData.js +2 -3
- package/dist/model/UsageData.js +3 -7
- package/dist/model/UsageEventsData.js +2 -5
- package/dist/model/UsageEventsResponse.js +2 -3
- package/dist/model/UsageRouteLogsData.js +5 -9
- package/dist/model/UsageSessionsData.js +5 -11
- package/dist/model/UserDfuStateMachine.js +1 -1
- package/dist/model/UserDfuStateMachineStatus.js +1 -1
- package/dist/model/UserFirmwareInfo.js +1 -1
- package/dist/model/WebhookSettings.js +1 -1
- package/package.json +1 -1
package/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: 7.0.0-beta.
|
|
9
|
+
- Package version: 7.0.0-beta.3
|
|
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
|
|
|
@@ -108,11 +108,11 @@ var personalAccessToken = defaultClient.authentications["personalAccessToken"];
|
|
|
108
108
|
personalAccessToken.accessToken = "YOUR ACCESS TOKEN";
|
|
109
109
|
|
|
110
110
|
var api = new NotehubJs.AlertApi();
|
|
111
|
-
var projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8"; // {String}
|
|
111
|
+
var projectOrProductUID = "app:2606f411-dea6-44a0-9743-1130f57d77d8"; // {String}
|
|
112
112
|
var opts = {
|
|
113
|
-
pageSize: 1000, // {Number}
|
|
114
|
-
pageNum: 1, // {Number}
|
|
115
|
-
cursor: "cursor_example", // {String}
|
|
113
|
+
pageSize: 1000, // {Number}
|
|
114
|
+
pageNum: 1, // {Number}
|
|
115
|
+
cursor: "cursor_example", // {String} If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
|
|
116
116
|
monitorUID: "monitorUID_example", // {String} Return only this monitor's alerts.
|
|
117
117
|
};
|
|
118
118
|
api.getAlerts(projectOrProductUID, opts).then(
|
|
@@ -431,6 +431,10 @@ All URIs are relative to *https://api.notefile.net*
|
|
|
431
431
|
- [NotehubJs.SnowpipeStreamingRoute](docs/SnowpipeStreamingRoute.md)
|
|
432
432
|
- [NotehubJs.ThingworxRoute](docs/ThingworxRoute.md)
|
|
433
433
|
- [NotehubJs.TowerLocation](docs/TowerLocation.md)
|
|
434
|
+
- [NotehubJs.Triangulation](docs/Triangulation.md)
|
|
435
|
+
- [NotehubJs.TriangulationCellTower](docs/TriangulationCellTower.md)
|
|
436
|
+
- [NotehubJs.TriangulationGps](docs/TriangulationGps.md)
|
|
437
|
+
- [NotehubJs.TriangulationWifiAccessPoint](docs/TriangulationWifiAccessPoint.md)
|
|
434
438
|
- [NotehubJs.TwilioNotification](docs/TwilioNotification.md)
|
|
435
439
|
- [NotehubJs.TwilioRoute](docs/TwilioRoute.md)
|
|
436
440
|
- [NotehubJs.UpdateFleetRequest](docs/UpdateFleetRequest.md)
|
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 7.0.0-beta.
|
|
29
|
+
* @version 7.0.0-beta.3
|
|
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/7.0.0-beta.
|
|
71
|
+
this.defaultHeaders["User-Agent"] = "OpenAPI-Generator/7.0.0-beta.3/Javascript";
|
|
72
72
|
}
|
|
73
73
|
|
|
74
74
|
/**
|
package/dist/api/AlertApi.js
CHANGED
|
@@ -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 7.0.0-beta.
|
|
31
|
+
* @version 7.0.0-beta.3
|
|
32
32
|
*/
|
|
33
33
|
var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
34
34
|
/**
|
|
@@ -46,11 +46,11 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
46
|
/**
|
|
47
47
|
* List alerts
|
|
48
48
|
* List the alerts a project's monitors have raised, with each one's value, device and the notifications sent. Set `monitorUID` for one monitor's alerts. Paginated.
|
|
49
|
-
* @param {String} projectOrProductUID
|
|
49
|
+
* @param {String} projectOrProductUID
|
|
50
50
|
* @param {Object} opts Optional parameters
|
|
51
|
-
* @param {Number} opts.pageSize
|
|
52
|
-
* @param {Number} opts.pageNum
|
|
53
|
-
* @param {String} opts.cursor
|
|
51
|
+
* @param {Number} opts.pageSize (default to 1000)
|
|
52
|
+
* @param {Number} opts.pageNum (default to 1)
|
|
53
|
+
* @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
|
|
54
54
|
* @param {String} opts.monitorUID Return only this monitor's alerts.
|
|
55
55
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/GetAlerts200Response} and HTTP response
|
|
56
56
|
*/
|
|
@@ -84,11 +84,11 @@ var AlertApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
84
84
|
/**
|
|
85
85
|
* List alerts
|
|
86
86
|
* List the alerts a project's monitors have raised, with each one's value, device and the notifications sent. Set `monitorUID` for one monitor's alerts. Paginated.
|
|
87
|
-
* @param {String} projectOrProductUID
|
|
87
|
+
* @param {String} projectOrProductUID
|
|
88
88
|
* @param {Object} opts Optional parameters
|
|
89
|
-
* @param {Number} opts.pageSize
|
|
90
|
-
* @param {Number} opts.pageNum
|
|
91
|
-
* @param {String} opts.cursor
|
|
89
|
+
* @param {Number} opts.pageSize (default to 1000)
|
|
90
|
+
* @param {Number} opts.pageNum (default to 1)
|
|
91
|
+
* @param {String} opts.cursor If supplied, results are returned in ascending order of modification time. A cursor is a timestamp: Unix epoch microseconds (UTC), optionally followed by `.N`. To start at a time, pass the bare microsecond value (inclusive; e.g. now minus 30 days); 0 starts from the beginning. To resume, pass next_cursor (or X-Next-Cursor) back unchanged; `.N` is the serial of the last row read at that microsecond, so nothing repeats or is skipped.
|
|
92
92
|
* @param {String} opts.monitorUID Return only this monitor's alerts.
|
|
93
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/GetAlerts200Response}
|
|
94
94
|
*/
|
|
@@ -28,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
28
28
|
/**
|
|
29
29
|
* Authorization service.
|
|
30
30
|
* @module api/AuthorizationApi
|
|
31
|
-
* @version 7.0.0-beta.
|
|
31
|
+
* @version 7.0.0-beta.3
|
|
32
32
|
*/
|
|
33
33
|
var AuthorizationApi = exports["default"] = /*#__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
|
* Description service.
|
|
31
31
|
* @module api/DescriptionApi
|
|
32
|
-
* @version 7.0.0-beta.
|
|
32
|
+
* @version 7.0.0-beta.3
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -88,7 +88,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
88
88
|
/**
|
|
89
89
|
* Delete a project description record
|
|
90
90
|
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
91
|
-
* @param {String} projectOrProductUID
|
|
91
|
+
* @param {String} projectOrProductUID
|
|
92
92
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
93
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
94
94
|
*/
|
|
@@ -121,7 +121,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
121
121
|
/**
|
|
122
122
|
* Delete a project description record
|
|
123
123
|
* Delete one of a project's description records. Requires the Owner or Developer role. Returns 404 if the record doesn't exist.
|
|
124
|
-
* @param {String} projectOrProductUID
|
|
124
|
+
* @param {String} projectOrProductUID
|
|
125
125
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
126
126
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
127
127
|
*/
|
|
@@ -177,7 +177,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
177
177
|
/**
|
|
178
178
|
* Get a project description record
|
|
179
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.
|
|
180
|
-
* @param {String} projectOrProductUID
|
|
180
|
+
* @param {String} projectOrProductUID
|
|
181
181
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
182
182
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
183
183
|
*/
|
|
@@ -210,7 +210,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
210
210
|
/**
|
|
211
211
|
* Get a project description record
|
|
212
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.
|
|
213
|
-
* @param {String} projectOrProductUID
|
|
213
|
+
* @param {String} projectOrProductUID
|
|
214
214
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
215
215
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
216
216
|
*/
|
|
@@ -258,7 +258,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
258
258
|
/**
|
|
259
259
|
* List a project's description records
|
|
260
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`.
|
|
261
|
-
* @param {String} projectOrProductUID
|
|
261
|
+
* @param {String} projectOrProductUID
|
|
262
262
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
263
263
|
*/
|
|
264
264
|
}, {
|
|
@@ -285,7 +285,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
285
285
|
/**
|
|
286
286
|
* List a project's description records
|
|
287
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`.
|
|
288
|
-
* @param {String} projectOrProductUID
|
|
288
|
+
* @param {String} projectOrProductUID
|
|
289
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
290
290
|
*/
|
|
291
291
|
}, {
|
|
@@ -346,7 +346,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
346
346
|
/**
|
|
347
347
|
* Create or replace a project description record
|
|
348
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.
|
|
349
|
-
* @param {String} projectOrProductUID
|
|
349
|
+
* @param {String} projectOrProductUID
|
|
350
350
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
351
351
|
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
352
352
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
@@ -384,7 +384,7 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
384
384
|
/**
|
|
385
385
|
* Create or replace a project description record
|
|
386
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.
|
|
387
|
-
* @param {String} projectOrProductUID
|
|
387
|
+
* @param {String} projectOrProductUID
|
|
388
388
|
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
389
389
|
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
390
390
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|