@blues-inc/notehub-js 6.7.0-beta.7 → 6.7.0-beta.70
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 +150 -149
- package/dist/ApiClient.js +2 -2
- package/dist/api/AlertApi.js +3 -3
- package/dist/api/AuthorizationApi.js +9 -48
- package/dist/api/DescriptionApi.js +49 -33
- package/dist/api/DeviceApi.js +195 -133
- package/dist/api/EventApi.js +61 -200
- package/dist/api/ExternalDevicesApi.js +1 -1
- package/dist/api/JobsApi.js +1 -1
- package/dist/api/MonitorApi.js +1 -1
- package/dist/api/OrganizationApi.js +9 -9
- package/dist/api/ProjectApi.js +253 -165
- package/dist/api/RouteApi.js +51 -39
- package/dist/api/SkillsApi.js +279 -0
- package/dist/api/UsageApi.js +15 -15
- package/dist/api/WebhookApi.js +17 -17
- package/dist/index.js +84 -63
- package/dist/model/AWSRoleConfig.js +1 -1
- package/dist/model/AddDeviceToFleetsRequest.js +3 -3
- package/dist/model/Alert.js +4 -4
- 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 +1 -1
- package/dist/model/AzureRoute.js +1 -1
- package/dist/model/BatchJobNoteRequest.js +1 -1
- package/dist/model/BatchJobRequests.js +5 -5
- package/dist/model/BillingAccount.js +1 -1
- package/dist/model/BlynkRoute.js +1 -1
- package/dist/model/Body.js +2 -1
- package/dist/model/CancelJobRun200Response.js +1 -1
- package/dist/model/CellularPlan.js +3 -2
- package/dist/model/CloneProjectRequest.js +7 -7
- package/dist/model/Contact.js +1 -1
- package/dist/model/CreateFleetRequest.js +4 -3
- package/dist/model/CreateJob201Response.js +1 -1
- package/dist/model/CreateMonitor.js +1 -1
- package/dist/model/CreateProductRequest.js +7 -6
- package/dist/model/CreateProjectRequest.js +5 -5
- package/dist/model/CreateProjectSecretRequest.js +5 -5
- package/dist/model/CreateUpdateRepository.js +3 -1
- 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 +27 -8
- package/dist/model/DeviceDfuHistory.js +3 -2
- package/dist/model/DeviceDfuHistoryCurrent.js +2 -2
- package/dist/model/DeviceDfuHistoryPage.js +1 -1
- package/dist/model/DeviceDfuStateMachine.js +2 -1
- package/dist/model/DeviceDfuStateMachineNode.js +2 -2
- package/dist/model/DeviceDfuStatus.js +3 -3
- package/dist/model/DeviceDfuStatusPage.js +1 -1
- package/dist/model/DeviceSensor.js +1 -1
- package/dist/model/DeviceSession.js +5 -5
- package/dist/model/DeviceTowerInfo.js +6 -1
- package/dist/model/DeviceUsage.js +1 -1
- package/dist/model/DfuActionRequest.js +2 -2
- package/dist/model/EmailNotification.js +1 -1
- 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 +7 -7
- 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 +11 -10
- 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 +3 -3
- 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 +2 -1
- package/dist/model/GetDevicePublicKey200Response.js +5 -3
- package/dist/model/GetDevicePublicKeys200Response.js +1 -1
- package/dist/model/GetDevicePublicKeys200ResponseDevicePublicKeysInner.js +3 -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/{GetBillingAccount200Response.js → GetOrganization200Response.js} +28 -28
- package/dist/model/{GetBillingAccount200ResponsePlan.js → GetOrganization200ResponsePlan.js} +24 -24
- package/dist/model/{GetBillingAccountBalanceHistory200Response.js → GetOrganizationBalanceHistory200Response.js} +22 -22
- package/dist/model/{GetBillingAccountBalanceHistory200ResponseDataInner.js → GetOrganizationBalanceHistory200ResponseDataInner.js} +22 -22
- 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 +7 -4
- package/dist/model/HttpRoute.js +1 -1
- package/dist/model/Job.js +1 -1
- package/dist/model/JobDefinition.js +2 -2
- package/dist/model/JobDefinitionReportOptions.js +1 -1
- package/dist/model/JobDefinitionSelect.js +3 -3
- 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 +13 -7
- package/dist/model/Monitor.js +1 -1
- package/dist/model/MonitorAlertRoutesInner.js +1 -1
- 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 +2 -1
- package/dist/model/NotefileSchema.js +5 -3
- package/dist/model/NotehubRoute.js +7 -3
- package/dist/model/NotehubRouteSummary.js +6 -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 +8 -4
- package/dist/model/Project.js +7 -4
- package/dist/model/ProjectMember.js +5 -4
- 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/{Login200Response.js → RepositoryRecord.js} +52 -24
- 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 +6 -4
- package/dist/model/SignalDevice200Response.js +2 -2
- package/dist/model/SimUsage.js +1 -1
- package/dist/model/Skill.js +207 -0
- package/dist/model/{GetBillingAccounts200Response.js → SkillLinks.js} +59 -40
- package/dist/model/{GetEventsByCursor200Response.js → SkillSet.js} +75 -51
- package/dist/model/SkillSummary.js +205 -0
- package/dist/model/SkillWrite.js +128 -0
- package/dist/model/SkillWriteResult.js +153 -0
- package/dist/model/SlackBearerNotification.js +1 -1
- package/dist/model/SlackRoute.js +1 -1
- package/dist/model/SlackWebHookNotification.js +1 -1
- 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 +7 -6
- 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 +2 -2
- 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 +1 -1
- package/package.json +1 -1
- package/dist/api/BillingAccountApi.js +0 -167
- package/dist/model/LoginRequest.js +0 -103
|
@@ -5,8 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
5
5
|
});
|
|
6
6
|
exports["default"] = void 0;
|
|
7
7
|
var _ApiClient = _interopRequireDefault(require("../ApiClient"));
|
|
8
|
-
var _Login200Response = _interopRequireDefault(require("../model/Login200Response"));
|
|
9
|
-
var _LoginRequest = _interopRequireDefault(require("../model/LoginRequest"));
|
|
10
8
|
var _OAuth2Error = _interopRequireDefault(require("../model/OAuth2Error"));
|
|
11
9
|
var _OAuth2TokenResponse = _interopRequireDefault(require("../model/OAuth2TokenResponse"));
|
|
12
10
|
function _interopRequireDefault(e) { return e && e.__esModule ? e : { "default": e }; }
|
|
@@ -30,7 +28,7 @@ function _toPrimitive(t, e) { if ("object" != _typeof(t) || !t) return t; var r;
|
|
|
30
28
|
/**
|
|
31
29
|
* Authorization service.
|
|
32
30
|
* @module api/AuthorizationApi
|
|
33
|
-
* @version 6.7.0-beta.
|
|
31
|
+
* @version 6.7.0-beta.70
|
|
34
32
|
*/
|
|
35
33
|
var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
36
34
|
/**
|
|
@@ -46,53 +44,16 @@ var AuthorizationApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
46
44
|
}
|
|
47
45
|
|
|
48
46
|
/**
|
|
49
|
-
*
|
|
50
|
-
*
|
|
51
|
-
* @
|
|
47
|
+
* Issue an OAuth 2.0 access token (Client Credentials)
|
|
48
|
+
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
49
|
+
* @param {String} clientId
|
|
50
|
+
* @param {String} clientSecret
|
|
51
|
+
* @param {module:model/String} grantType
|
|
52
|
+
* @param {Object} opts Optional parameters
|
|
53
|
+
* @param {String} opts.scope Space-delimited scopes.
|
|
54
|
+
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OAuth2TokenResponse} and HTTP response
|
|
52
55
|
*/
|
|
53
56
|
return _createClass(AuthorizationApi, [{
|
|
54
|
-
key: "loginWithHttpInfo",
|
|
55
|
-
value: function loginWithHttpInfo(loginRequest) {
|
|
56
|
-
var postBody = loginRequest;
|
|
57
|
-
// verify the required parameter 'loginRequest' is set
|
|
58
|
-
if (loginRequest === undefined || loginRequest === null) {
|
|
59
|
-
throw new Error("Missing the required parameter 'loginRequest' when calling login");
|
|
60
|
-
}
|
|
61
|
-
var pathParams = {};
|
|
62
|
-
var queryParams = {};
|
|
63
|
-
var headerParams = {};
|
|
64
|
-
var formParams = {};
|
|
65
|
-
var authNames = [];
|
|
66
|
-
var contentTypes = ["application/json"];
|
|
67
|
-
var accepts = ["application/json"];
|
|
68
|
-
var returnType = _Login200Response["default"];
|
|
69
|
-
return this.apiClient.callApi("/auth/login", "POST", pathParams, queryParams, headerParams, formParams, postBody, authNames, contentTypes, accepts, returnType, null);
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
/**
|
|
73
|
-
* Gets an API key from username and password
|
|
74
|
-
* @param {module:model/LoginRequest} loginRequest
|
|
75
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/Login200Response}
|
|
76
|
-
*/
|
|
77
|
-
}, {
|
|
78
|
-
key: "login",
|
|
79
|
-
value: function login(loginRequest) {
|
|
80
|
-
return this.loginWithHttpInfo(loginRequest).then(function (response_and_data) {
|
|
81
|
-
return response_and_data.data;
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/**
|
|
86
|
-
* Issue an OAuth 2.0 access token (Client Credentials)
|
|
87
|
-
* Exchanges client credentials for an access token. Parameters must be sent as application/x-www-form-urlencoded.
|
|
88
|
-
* @param {String} clientId
|
|
89
|
-
* @param {String} clientSecret
|
|
90
|
-
* @param {module:model/String} grantType
|
|
91
|
-
* @param {Object} opts Optional parameters
|
|
92
|
-
* @param {String} opts.scope Space-delimited scopes.
|
|
93
|
-
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/OAuth2TokenResponse} and HTTP response
|
|
94
|
-
*/
|
|
95
|
-
}, {
|
|
96
57
|
key: "oAuth2ClientCredentialsWithHttpInfo",
|
|
97
58
|
value: function oAuth2ClientCredentialsWithHttpInfo(clientId, clientSecret, grantType, opts) {
|
|
98
59
|
opts = opts || {};
|
|
@@ -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.70
|
|
33
33
|
*/
|
|
34
34
|
var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
35
35
|
/**
|
|
@@ -45,8 +45,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
/**
|
|
48
|
-
* Delete a global description record
|
|
49
|
-
*
|
|
48
|
+
* Delete a global description record
|
|
49
|
+
* Delete one platform-wide description record. Blues staff only; returns 403 for anyone else. Returns 404 if the record doesn't exist.
|
|
50
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
50
51
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
51
52
|
*/
|
|
52
53
|
return _createClass(DescriptionApi, [{
|
|
@@ -71,8 +72,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
71
72
|
}
|
|
72
73
|
|
|
73
74
|
/**
|
|
74
|
-
* Delete a global description record
|
|
75
|
-
*
|
|
75
|
+
* Delete a global description record
|
|
76
|
+
* Delete one platform-wide description record. Blues staff only; returns 403 for anyone else. Returns 404 if the record doesn't exist.
|
|
77
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
76
78
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
77
79
|
*/
|
|
78
80
|
}, {
|
|
@@ -84,9 +86,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
84
86
|
}
|
|
85
87
|
|
|
86
88
|
/**
|
|
87
|
-
* Delete a project description record
|
|
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.
|
|
88
91
|
* @param {String} projectOrProductUID
|
|
89
|
-
* @param {String} descriptionName
|
|
92
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
90
93
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing HTTP response
|
|
91
94
|
*/
|
|
92
95
|
}, {
|
|
@@ -116,9 +119,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
116
119
|
}
|
|
117
120
|
|
|
118
121
|
/**
|
|
119
|
-
* Delete a project description record
|
|
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.
|
|
120
124
|
* @param {String} projectOrProductUID
|
|
121
|
-
* @param {String} descriptionName
|
|
125
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
122
126
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}
|
|
123
127
|
*/
|
|
124
128
|
}, {
|
|
@@ -130,8 +134,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
130
134
|
}
|
|
131
135
|
|
|
132
136
|
/**
|
|
133
|
-
* Get a global description record
|
|
134
|
-
*
|
|
137
|
+
* Get a global description record
|
|
138
|
+
* Get the content of one platform-wide description record, served with the Content-Type it was stored with. Any signed-in user can read it. Returns 404 if the record doesn't exist.
|
|
139
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
135
140
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
136
141
|
*/
|
|
137
142
|
}, {
|
|
@@ -156,8 +161,9 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
156
161
|
}
|
|
157
162
|
|
|
158
163
|
/**
|
|
159
|
-
* Get a global description record
|
|
160
|
-
*
|
|
164
|
+
* Get a global description record
|
|
165
|
+
* Get the content of one platform-wide description record, served with the Content-Type it was stored with. Any signed-in user can read it. Returns 404 if the record doesn't exist.
|
|
166
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
161
167
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
162
168
|
*/
|
|
163
169
|
}, {
|
|
@@ -169,9 +175,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
169
175
|
}
|
|
170
176
|
|
|
171
177
|
/**
|
|
172
|
-
* Get a project description record
|
|
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.
|
|
173
180
|
* @param {String} projectOrProductUID
|
|
174
|
-
* @param {String} descriptionName
|
|
181
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
175
182
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link File} and HTTP response
|
|
176
183
|
*/
|
|
177
184
|
}, {
|
|
@@ -201,9 +208,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
201
208
|
}
|
|
202
209
|
|
|
203
210
|
/**
|
|
204
|
-
* Get a project description record
|
|
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.
|
|
205
213
|
* @param {String} projectOrProductUID
|
|
206
|
-
* @param {String} descriptionName
|
|
214
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
207
215
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link File}
|
|
208
216
|
*/
|
|
209
217
|
}, {
|
|
@@ -215,7 +223,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
215
223
|
}
|
|
216
224
|
|
|
217
225
|
/**
|
|
218
|
-
* List
|
|
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`.
|
|
219
228
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
220
229
|
*/
|
|
221
230
|
}, {
|
|
@@ -234,7 +243,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
234
243
|
}
|
|
235
244
|
|
|
236
245
|
/**
|
|
237
|
-
* List
|
|
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`.
|
|
238
248
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
239
249
|
*/
|
|
240
250
|
}, {
|
|
@@ -246,7 +256,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
246
256
|
}
|
|
247
257
|
|
|
248
258
|
/**
|
|
249
|
-
* List
|
|
259
|
+
* List a project's description records
|
|
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`.
|
|
250
261
|
* @param {String} projectOrProductUID
|
|
251
262
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecordList} and HTTP response
|
|
252
263
|
*/
|
|
@@ -272,7 +283,8 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
272
283
|
}
|
|
273
284
|
|
|
274
285
|
/**
|
|
275
|
-
* List
|
|
286
|
+
* List a project's description records
|
|
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`.
|
|
276
288
|
* @param {String} projectOrProductUID
|
|
277
289
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecordList}
|
|
278
290
|
*/
|
|
@@ -285,9 +297,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
285
297
|
}
|
|
286
298
|
|
|
287
299
|
/**
|
|
288
|
-
* Create or replace a global description record
|
|
289
|
-
*
|
|
290
|
-
* @param {
|
|
300
|
+
* Create or replace a global description record
|
|
301
|
+
* Store a platform-wide named document that every signed-in user can read, replacing any record with that name. The Content-Type is handled as in `SetProjectDescription`. Blues staff only; returns 403 for anyone else. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
302
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
303
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
291
304
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
292
305
|
*/
|
|
293
306
|
}, {
|
|
@@ -316,9 +329,10 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
316
329
|
}
|
|
317
330
|
|
|
318
331
|
/**
|
|
319
|
-
* Create or replace a global description record
|
|
320
|
-
*
|
|
321
|
-
* @param {
|
|
332
|
+
* Create or replace a global description record
|
|
333
|
+
* Store a platform-wide named document that every signed-in user can read, replacing any record with that name. The Content-Type is handled as in `SetProjectDescription`. Blues staff only; returns 403 for anyone else. Returns 400 if the content is over 10 MB or the name isn't valid.
|
|
334
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
335
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
322
336
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
323
337
|
*/
|
|
324
338
|
}, {
|
|
@@ -330,10 +344,11 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
330
344
|
}
|
|
331
345
|
|
|
332
346
|
/**
|
|
333
|
-
* Create or replace a project description record
|
|
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.
|
|
334
349
|
* @param {String} projectOrProductUID
|
|
335
|
-
* @param {String} descriptionName
|
|
336
|
-
* @param {File} body The
|
|
350
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
351
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
337
352
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with an object containing data of type {@link module:model/DescriptionRecord} and HTTP response
|
|
338
353
|
*/
|
|
339
354
|
}, {
|
|
@@ -367,10 +382,11 @@ var DescriptionApi = exports["default"] = /*#__PURE__*/function () {
|
|
|
367
382
|
}
|
|
368
383
|
|
|
369
384
|
/**
|
|
370
|
-
* Create or replace a project description record
|
|
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.
|
|
371
387
|
* @param {String} projectOrProductUID
|
|
372
|
-
* @param {String} descriptionName
|
|
373
|
-
* @param {File} body The
|
|
388
|
+
* @param {String} descriptionName Record name, 1-128 letters, digits, `.`, `_` or `-`, e.g. `_health.qo`.
|
|
389
|
+
* @param {File} body The document to store, up to 10 MB. Send its Content-Type, such as `text/markdown`; Markdown isn't detected.
|
|
374
390
|
* @return {Promise} a {@link https://www.promisejs.org/|Promise}, with data of type {@link module:model/DescriptionRecord}
|
|
375
391
|
*/
|
|
376
392
|
}, {
|