@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.
@@ -1,5 +1,4 @@
1
1
  .gitignore
2
- .openapi-generator-ignore
3
2
  api.ts
4
3
  api/apis.ts
5
4
  api/datasourceResourceApi.ts
@@ -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: V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response; }> {
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: V1NamespacesNamespaceIdDataSourcesDataSourceIdPreviewPost200Response; }>((resolve, reject) => {
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));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@explo-tech/fido-api",
3
- "version": "0.0.1",
3
+ "version": "0.0.2",
4
4
  "description": "Fido api",
5
5
  "homepage": "https://github.com/trust-kaz/fido",
6
6
  "license": "MIT",