@vizzly/api-client 0.0.67 → 0.0.69
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.
|
@@ -102,10 +102,14 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
102
102
|
createCompanyInfrastructure(params: RequestParams<{
|
|
103
103
|
companyId: string;
|
|
104
104
|
}>): Promise<import("../types").Response<{
|
|
105
|
-
aws
|
|
105
|
+
aws?: {
|
|
106
106
|
bucket: string;
|
|
107
107
|
role: string;
|
|
108
|
-
};
|
|
108
|
+
} | undefined;
|
|
109
|
+
azure?: {
|
|
110
|
+
container: string;
|
|
111
|
+
account: string;
|
|
112
|
+
} | undefined;
|
|
109
113
|
connection: {
|
|
110
114
|
account: string;
|
|
111
115
|
database: string;
|
|
@@ -120,7 +124,7 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
120
124
|
companyId: string;
|
|
121
125
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
122
126
|
create_database_action: DataOptimiser.ActionStatus<{}>;
|
|
123
|
-
|
|
127
|
+
create_cloud_storage_infra_action: DataOptimiser.ActionStatus<{}>;
|
|
124
128
|
}>>>;
|
|
125
129
|
private buildCreateCompanyInfrastructureRequest;
|
|
126
130
|
/** Send request to ingest data */
|
|
@@ -150,13 +154,13 @@ export declare class VizzlyQueryEngineApi extends Api {
|
|
|
150
154
|
previousWorkflowResults: Partial<DataOptimiser.IngestExecuteResponse['workflowResults']>;
|
|
151
155
|
}>): Promise<import("../types").Response<DataOptimiser.StatusResponse<{
|
|
152
156
|
setup_export_data_integration: DataOptimiser.ActionStatus<{}>;
|
|
153
|
-
|
|
157
|
+
ingest_to_storage: DataOptimiser.ActionStatus<{
|
|
154
158
|
s3Bucket: {
|
|
155
159
|
path: string;
|
|
156
160
|
bucket: string;
|
|
157
161
|
};
|
|
158
162
|
}>;
|
|
159
|
-
|
|
163
|
+
ingest_storage_to_snowflake: DataOptimiser.ActionStatus<{
|
|
160
164
|
destinationAddress: string[];
|
|
161
165
|
destinationFields: DataOptimiser.DataSourceFields;
|
|
162
166
|
}>;
|
|
@@ -123,6 +123,7 @@ class VizzlyQueryEngineApi extends Api_1.Api {
|
|
|
123
123
|
body: {
|
|
124
124
|
allowedConfigOrigins: params.allowedConfigOrigins,
|
|
125
125
|
dynamicConfig: params.dynamicConfig,
|
|
126
|
+
filterColumnsByTable: params.filterColumnsByTable
|
|
126
127
|
},
|
|
127
128
|
acceptedAuthParams: ['queryEngineApiKey'],
|
|
128
129
|
};
|
package/dist/types.d.ts
CHANGED
|
@@ -116,6 +116,7 @@ export declare namespace nVizzlyQueryEngine {
|
|
|
116
116
|
type CollectSchemaParams = {
|
|
117
117
|
allowedConfigOrigins: OriginId[];
|
|
118
118
|
dynamicConfig?: nSemanticLayer.Config;
|
|
119
|
+
filterColumnsByTable?: [databaseName: string, schemaName: string, tableName: string];
|
|
119
120
|
};
|
|
120
121
|
type CreateSqlPreviewParams = {
|
|
121
122
|
sql: string;
|
|
@@ -541,13 +542,13 @@ export declare namespace DataOptimiser {
|
|
|
541
542
|
};
|
|
542
543
|
type IngestExecuteResponse = ExecuteResponse<{
|
|
543
544
|
setup_export_data_integration: DataOptimiser.ActionResult<{}>;
|
|
544
|
-
|
|
545
|
+
ingest_to_storage: DataOptimiser.ActionResult<{
|
|
545
546
|
toBucket: string;
|
|
546
547
|
toPath: string;
|
|
547
548
|
fromSnowflakeTableAddress: string[];
|
|
548
549
|
executedInSnowflakeSessionId: string;
|
|
549
550
|
}>;
|
|
550
|
-
|
|
551
|
+
ingest_storage_to_snowflake: DataOptimiser.ActionResult<{
|
|
551
552
|
destinationAddress: string[];
|
|
552
553
|
executedInSnowflakeSessionId: string;
|
|
553
554
|
}>;
|