@vizzly/api-client 0.0.60 → 0.0.62
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,10 +125,15 @@ 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
|
-
ingestFields: DataOptimiser.
|
|
130
|
+
ingestFields: DataOptimiser.EphemeralDataSourceFields;
|
|
130
131
|
internalCompanyConnection: DataOptimiser.QueryEngineConnection;
|
|
131
132
|
externalSnowflakeConnection: DataOptimiser.QueryEngineConnection;
|
|
133
|
+
transformations: Array<{
|
|
134
|
+
columnName: string;
|
|
135
|
+
function: string;
|
|
136
|
+
}>;
|
|
132
137
|
}>): Promise<import("../types").Response<DataOptimiser.ExecuteResponse<{
|
|
133
138
|
setup_export_data_integration: DataOptimiser.ActionResult<{}>;
|
|
134
139
|
ingest_to_s3: DataOptimiser.ActionResult<{
|
|
@@ -142,10 +147,15 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
142
147
|
}>>>;
|
|
143
148
|
/** Get the status of a call to ingest data for a data source. */
|
|
144
149
|
getIngestDatasourceStatus(params: RequestParams<{
|
|
150
|
+
companyId: string;
|
|
145
151
|
dataSourceId: string;
|
|
146
|
-
ingestFields: DataOptimiser.
|
|
152
|
+
ingestFields: DataOptimiser.EphemeralDataSourceFields;
|
|
147
153
|
internalCompanyConnection: DataOptimiser.QueryEngineConnection;
|
|
148
154
|
externalSnowflakeConnection: DataOptimiser.QueryEngineConnection;
|
|
155
|
+
transformations: Array<{
|
|
156
|
+
columnName: string;
|
|
157
|
+
function: string;
|
|
158
|
+
}>;
|
|
149
159
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
150
160
|
setup_export_data_integration: DataOptimiser.ActionStatus<{}>;
|
|
151
161
|
ingest_to_s3: DataOptimiser.ActionStatus<{
|
|
@@ -162,6 +172,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
162
172
|
private buildIngestDatasourceRequest;
|
|
163
173
|
/** Get the status of a call to ingest data for a data source. */
|
|
164
174
|
getCreateSnapshotStatus(params: RequestParams<{
|
|
175
|
+
companyId: string;
|
|
165
176
|
ingestDataSourceId: string;
|
|
166
177
|
snapshotDataSourceId: string;
|
|
167
178
|
ingestFields: DataOptimiser.DataSourceFields;
|
|
@@ -175,6 +186,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
175
186
|
}>>>;
|
|
176
187
|
/** Send request to create a snapshot */
|
|
177
188
|
createSnapshot(params: RequestParams<{
|
|
189
|
+
companyId: string;
|
|
178
190
|
ingestDataSourceId: string;
|
|
179
191
|
snapshotDataSourceId: string;
|
|
180
192
|
ingestFields: DataOptimiser.DataSourceFields;
|
|
@@ -483,10 +483,12 @@ 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,
|
|
489
490
|
externalSnowflakeConnection: params.externalSnowflakeConnection,
|
|
491
|
+
transformations: params.transformations
|
|
490
492
|
},
|
|
491
493
|
acceptedAuthParams: ['queryEngineApiKey'],
|
|
492
494
|
};
|
|
@@ -510,6 +512,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
510
512
|
method: 'post',
|
|
511
513
|
abortSignal: params.abortSignal,
|
|
512
514
|
body: {
|
|
515
|
+
company: { id: params.companyId },
|
|
513
516
|
ingestDataSourceId: params.ingestDataSourceId,
|
|
514
517
|
snapshotDataSourceId: params.snapshotDataSourceId,
|
|
515
518
|
ingestFields: params.ingestFields,
|