@vizzly/api-client 0.0.72 → 0.0.74
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.
|
@@ -232,6 +232,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
232
232
|
}>>>;
|
|
233
233
|
private buildCreateSubsnapRequest;
|
|
234
234
|
ingestFromUpload(params: RequestParams<{
|
|
235
|
+
companyId: string;
|
|
235
236
|
dataSourceId: string;
|
|
236
237
|
ingestFields: DataOptimiser.EphemeralDataSourceFields;
|
|
237
238
|
transformations: Array<{
|
|
@@ -241,6 +242,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
241
242
|
previousWorkflowResults: Partial<DataOptimiser.IngestFromUploadExecuteResponse['workflowResults']>;
|
|
242
243
|
}>): Promise<import("../types").Response<DataOptimiser.IngestFromUploadExecuteResponse>>;
|
|
243
244
|
getIngestFromUploadStatus(params: RequestParams<{
|
|
245
|
+
companyId: string;
|
|
244
246
|
dataSourceId: string;
|
|
245
247
|
ingestFields: DataOptimiser.EphemeralDataSourceFields;
|
|
246
248
|
transformations: Array<{
|
|
@@ -248,10 +250,16 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
248
250
|
function: string;
|
|
249
251
|
}>;
|
|
250
252
|
previousWorkflowResults: Partial<DataOptimiser.IngestFromUploadExecuteResponse['workflowResults']>;
|
|
251
|
-
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
253
|
+
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
254
|
+
move_table_from_upload_to_ingest: DataOptimiser.ActionStatus<{
|
|
255
|
+
destinationAddress: string[];
|
|
256
|
+
destinationFields: DataOptimiser.DataSourceFields;
|
|
257
|
+
}>;
|
|
258
|
+
}>>>;
|
|
252
259
|
private buildIngestFromUploadRequest;
|
|
253
260
|
/** Send request to create upload table */
|
|
254
261
|
createUploadTable(params: RequestParams<{
|
|
262
|
+
companyId: string;
|
|
255
263
|
dataSourceId: string;
|
|
256
264
|
locationName: string;
|
|
257
265
|
folderPath: string;
|
|
@@ -260,16 +268,14 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
260
268
|
}>): Promise<import("../types").Response<DataOptimiser.CreateUploadTableExecuteResponse>>;
|
|
261
269
|
/** Get the status of a create upload table call */
|
|
262
270
|
getCreateUploadTableStatus(params: RequestParams<{
|
|
271
|
+
companyId: string;
|
|
263
272
|
dataSourceId: string;
|
|
264
273
|
locationName: string;
|
|
265
274
|
folderPath: string;
|
|
266
275
|
fileName: string;
|
|
267
276
|
previousWorkflowResults: Partial<DataOptimiser.CreateUploadTableExecuteResponse['workflowResults']>;
|
|
268
277
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
269
|
-
create_upload_table: DataOptimiser.ActionStatus<{
|
|
270
|
-
destinationAddress: string[];
|
|
271
|
-
destinationFields: DataOptimiser.DataSourceFields;
|
|
272
|
-
}>;
|
|
278
|
+
create_upload_table: DataOptimiser.ActionStatus<{}>;
|
|
273
279
|
}>>>;
|
|
274
280
|
private buildCreateUploadTableRequest;
|
|
275
281
|
}
|
|
@@ -604,6 +604,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
604
604
|
method: 'post',
|
|
605
605
|
abortSignal: params.abortSignal,
|
|
606
606
|
body: {
|
|
607
|
+
company: { id: params.companyId },
|
|
607
608
|
dataSourceId: params.dataSourceId,
|
|
608
609
|
ingestFields: params.ingestFields,
|
|
609
610
|
transformations: params.transformations,
|
|
@@ -631,6 +632,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
631
632
|
method: 'post',
|
|
632
633
|
abortSignal: params.abortSignal,
|
|
633
634
|
body: {
|
|
635
|
+
company: { id: params.companyId },
|
|
634
636
|
dataSourceId: params.dataSourceId,
|
|
635
637
|
locationName: params.locationName,
|
|
636
638
|
folderPath: params.folderPath,
|
package/dist/types.d.ts
CHANGED
|
@@ -594,7 +594,7 @@ export declare namespace DataOptimiser {
|
|
|
594
594
|
}>;
|
|
595
595
|
}>;
|
|
596
596
|
export type IngestFromUploadExecuteResponse = DataOptimiser.ExecuteResponse<{
|
|
597
|
-
|
|
597
|
+
move_table_from_upload_to_ingest: DataOptimiser.ActionResult<{
|
|
598
598
|
success: boolean;
|
|
599
599
|
}>;
|
|
600
600
|
}>;
|