@explo-tech/fido-api 0.0.1 → 0.0.2
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/.openapi-generator/FILES
CHANGED
package/api/queryResourceApi.ts
CHANGED
|
@@ -187,7 +187,7 @@ export class QueryResourceApi {
|
|
|
187
187
|
* @param namespaceId
|
|
188
188
|
* @param computedViewRunRequest
|
|
189
189
|
*/
|
|
190
|
-
public async v1NamespacesNamespaceIdDataSourcesDataSourceIdRunPost (dataSourceId: string, namespaceId: string, computedViewRunRequest?: ComputedViewRunRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body
|
|
190
|
+
public async v1NamespacesNamespaceIdDataSourcesDataSourceIdRunPost (dataSourceId: string, namespaceId: string, computedViewRunRequest?: ComputedViewRunRequest, options: {headers: {[name: string]: string}} = {headers: {}}) : Promise<{ response: http.IncomingMessage; body?: any; }> {
|
|
191
191
|
const localVarPath = this.basePath + '/v1/namespaces/{namespaceId}/data-sources/{dataSourceId}/_run'
|
|
192
192
|
.replace('{' + 'dataSourceId' + '}', encodeURIComponent(String(dataSourceId)))
|
|
193
193
|
.replace('{' + 'namespaceId' + '}', encodeURIComponent(String(namespaceId)));
|
|
@@ -242,13 +242,12 @@ export class QueryResourceApi {
|
|
|
242
242
|
localVarRequestOptions.form = localVarFormParams;
|
|
243
243
|
}
|
|
244
244
|
}
|
|
245
|
-
return new Promise<{ response: http.IncomingMessage; body
|
|
245
|
+
return new Promise<{ response: http.IncomingMessage; body?: any; }>((resolve, reject) => {
|
|
246
246
|
localVarRequest(localVarRequestOptions, (error, response, body) => {
|
|
247
247
|
if (error) {
|
|
248
248
|
reject(error);
|
|
249
249
|
} else {
|
|
250
250
|
if (response.statusCode && response.statusCode >= 200 && response.statusCode <= 299) {
|
|
251
|
-
body = ObjectSerializer.deserialize(body, "V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response");
|
|
252
251
|
resolve({ response: response, body: body });
|
|
253
252
|
} else {
|
|
254
253
|
reject(new HttpError(response, body, response.statusCode));
|