@vizzly/api-client 0.0.64 → 0.0.66
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.
|
@@ -134,17 +134,8 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
134
134
|
columnName: string;
|
|
135
135
|
function: string;
|
|
136
136
|
}>;
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
ingest_to_s3: DataOptimiser.ActionResult<{
|
|
140
|
-
toBucket: string;
|
|
141
|
-
toPath: string;
|
|
142
|
-
fromSnowflakeTableAddress: string[];
|
|
143
|
-
}>;
|
|
144
|
-
ingest_s3_storage_to_snowflake: DataOptimiser.ActionResult<{
|
|
145
|
-
destinationAddress: string[];
|
|
146
|
-
}>;
|
|
147
|
-
}>>>;
|
|
137
|
+
previousWorkflowResults: Partial<DataOptimiser.IngestExecuteResponse['workflowResults']>;
|
|
138
|
+
}>): Promise<import("../types").Response<DataOptimiser.IngestExecuteResponse>>;
|
|
148
139
|
/** Get the status of a call to ingest data for a data source. */
|
|
149
140
|
getIngestDatasourceStatus(params: RequestParams<{
|
|
150
141
|
companyId: string;
|
|
@@ -156,6 +147,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
156
147
|
columnName: string;
|
|
157
148
|
function: string;
|
|
158
149
|
}>;
|
|
150
|
+
previousWorkflowResults: Partial<DataOptimiser.IngestExecuteResponse['workflowResults']>;
|
|
159
151
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
160
152
|
setup_export_data_integration: DataOptimiser.ActionStatus<{}>;
|
|
161
153
|
ingest_to_s3: DataOptimiser.ActionStatus<{
|
|
@@ -179,9 +171,10 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
179
171
|
cascadingInstructions: DataOptimiser.CascadingInstructions;
|
|
180
172
|
internalCompanyConnection: DataOptimiser.QueryEngineConnection;
|
|
181
173
|
primaryDateFieldId?: string | undefined;
|
|
174
|
+
previousWorkflowResults: Partial<DataOptimiser.CreateSnapshotExecuteResponse['workflowResults']>;
|
|
182
175
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
183
176
|
create_snapshot: DataOptimiser.ActionStatus<{
|
|
184
|
-
|
|
177
|
+
executedInSnowflakeSessionId: string;
|
|
185
178
|
}>;
|
|
186
179
|
}>>>;
|
|
187
180
|
/** Send request to create a snapshot */
|
|
@@ -193,11 +186,8 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
193
186
|
cascadingInstructions: DataOptimiser.CascadingInstructions;
|
|
194
187
|
internalCompanyConnection: DataOptimiser.QueryEngineConnection;
|
|
195
188
|
primaryDateFieldId?: string | undefined;
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
snapshotFields: DataOptimiser.DataSourceFields;
|
|
199
|
-
}>;
|
|
200
|
-
}>>>;
|
|
189
|
+
previousWorkflowResults: Partial<DataOptimiser.CreateSnapshotExecuteResponse['workflowResults']>;
|
|
190
|
+
}>): Promise<import("../types").Response<DataOptimiser.CreateSnapshotExecuteResponse>>;
|
|
201
191
|
private buildCreateSnapshotRequest;
|
|
202
192
|
createSubsnap(params: RequestParams<{
|
|
203
193
|
companyId: string;
|
|
@@ -488,7 +488,8 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
488
488
|
ingestFields: params.ingestFields,
|
|
489
489
|
internalCompanyConnection: params.internalCompanyConnection,
|
|
490
490
|
externalSnowflakeConnection: params.externalSnowflakeConnection,
|
|
491
|
-
transformations: params.transformations
|
|
491
|
+
transformations: params.transformations,
|
|
492
|
+
previousWorkflowResults: params.previousWorkflowResults
|
|
492
493
|
},
|
|
493
494
|
acceptedAuthParams: ['queryEngineApiKey'],
|
|
494
495
|
};
|
|
@@ -519,6 +520,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
519
520
|
cascadingInstructions: params.cascadingInstructions,
|
|
520
521
|
primaryDateFieldId: params.primaryDateFieldId,
|
|
521
522
|
internalCompanyConnection: params.internalCompanyConnection,
|
|
523
|
+
previousWorkflowResults: params.previousWorkflowResults
|
|
522
524
|
},
|
|
523
525
|
acceptedAuthParams: ['queryEngineApiKey'],
|
|
524
526
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -527,18 +527,34 @@ export declare namespace DataOptimiser {
|
|
|
527
527
|
};
|
|
528
528
|
status: Status;
|
|
529
529
|
};
|
|
530
|
-
type ExecuteResponse<
|
|
530
|
+
type ExecuteResponse<WorkflowResult extends {
|
|
531
531
|
[actionId: string]: {
|
|
532
532
|
status: ActionResultStatus;
|
|
533
533
|
content: any;
|
|
534
534
|
};
|
|
535
535
|
}> = {
|
|
536
|
-
|
|
537
|
-
[actionId: string]: ActionResult;
|
|
538
|
-
};
|
|
536
|
+
workflowResults: WorkflowResult;
|
|
539
537
|
};
|
|
540
538
|
type QueryEngineConnection = {
|
|
541
539
|
encryptedCredentials: string;
|
|
542
540
|
unencryptedCredentials?: Partial<SnowflakeConnection>;
|
|
543
541
|
};
|
|
542
|
+
type IngestExecuteResponse = ExecuteResponse<{
|
|
543
|
+
setup_export_data_integration: DataOptimiser.ActionResult<{}>;
|
|
544
|
+
ingest_to_s3: DataOptimiser.ActionResult<{
|
|
545
|
+
toBucket: string;
|
|
546
|
+
toPath: string;
|
|
547
|
+
fromSnowflakeTableAddress: string[];
|
|
548
|
+
executedInSnowflakeSessionId: string;
|
|
549
|
+
}>;
|
|
550
|
+
ingest_s3_storage_to_snowflake: DataOptimiser.ActionResult<{
|
|
551
|
+
destinationAddress: string[];
|
|
552
|
+
executedInSnowflakeSessionId: string;
|
|
553
|
+
}>;
|
|
554
|
+
}>;
|
|
555
|
+
type CreateSnapshotExecuteResponse = DataOptimiser.ExecuteResponse<{
|
|
556
|
+
create_snapshot: DataOptimiser.ActionResult<{
|
|
557
|
+
snapshotFields: DataOptimiser.DataSourceFields;
|
|
558
|
+
}>;
|
|
559
|
+
}>;
|
|
544
560
|
}
|