@vizzly/api-client 0.0.60 → 0.0.61

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.
@@ -125,6 +125,7 @@ export declare class VizzlyQueryEngineApi extends Api {
125
125
  private buildCreateCompanyInfrastructureRequest;
126
126
  /** Send request to ingest data */
127
127
  ingestDatasource(params: RequestParams<{
128
+ companyId: string;
128
129
  dataSourceId: string;
129
130
  ingestFields: DataOptimiser.DataSourceFields;
130
131
  internalCompanyConnection: DataOptimiser.QueryEngineConnection;
@@ -142,6 +143,7 @@ export declare class VizzlyQueryEngineApi extends Api {
142
143
  }>>>;
143
144
  /** Get the status of a call to ingest data for a data source. */
144
145
  getIngestDatasourceStatus(params: RequestParams<{
146
+ companyId: string;
145
147
  dataSourceId: string;
146
148
  ingestFields: DataOptimiser.DataSourceFields;
147
149
  internalCompanyConnection: DataOptimiser.QueryEngineConnection;
@@ -162,6 +164,7 @@ export declare class VizzlyQueryEngineApi extends Api {
162
164
  private buildIngestDatasourceRequest;
163
165
  /** Get the status of a call to ingest data for a data source. */
164
166
  getCreateSnapshotStatus(params: RequestParams<{
167
+ companyId: string;
165
168
  ingestDataSourceId: string;
166
169
  snapshotDataSourceId: string;
167
170
  ingestFields: DataOptimiser.DataSourceFields;
@@ -175,6 +178,7 @@ export declare class VizzlyQueryEngineApi extends Api {
175
178
  }>>>;
176
179
  /** Send request to create a snapshot */
177
180
  createSnapshot(params: RequestParams<{
181
+ companyId: string;
178
182
  ingestDataSourceId: string;
179
183
  snapshotDataSourceId: string;
180
184
  ingestFields: DataOptimiser.DataSourceFields;
@@ -483,6 +483,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
483
483
  method: 'post',
484
484
  abortSignal: params.abortSignal,
485
485
  body: {
486
+ company: { id: params.companyId },
486
487
  dataSourceId: params.dataSourceId,
487
488
  ingestFields: params.ingestFields,
488
489
  internalCompanyConnection: params.internalCompanyConnection,
@@ -510,6 +511,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
510
511
  method: 'post',
511
512
  abortSignal: params.abortSignal,
512
513
  body: {
514
+ company: { id: params.companyId },
513
515
  ingestDataSourceId: params.ingestDataSourceId,
514
516
  snapshotDataSourceId: params.snapshotDataSourceId,
515
517
  ingestFields: params.ingestFields,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizzly/api-client",
3
- "version": "0.0.60",
3
+ "version": "0.0.61",
4
4
  "private": false,
5
5
  "license": "NONE",
6
6
  "source": "src/index.ts",