@vizzly/api-client 0.0.83 → 0.0.85

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.
@@ -304,6 +304,11 @@ export declare class VizzlyQueryEngineApi extends Api {
304
304
  companyId: string;
305
305
  }>): Promise<import("../types").Response<{}>>;
306
306
  private buildEnableMalwareScanRequest;
307
+ /** Enable malware scanning for a company's bucket */
308
+ enableDataTransferAcceleration(params: RequestParams<{
309
+ companyId: string;
310
+ }>): Promise<import("../types").Response<{}>>;
311
+ private buildEnableDataTransferAccelerationRequest;
307
312
  /** Put bucket cors for a company's bucket */
308
313
  enableBucketCors(params: RequestParams<{
309
314
  companyId: string;
@@ -727,6 +727,23 @@ class VizzlyQueryEngineApi extends Api_1.Api {
727
727
  acceptedAuthParams: ['queryEngineApiKey'],
728
728
  };
729
729
  }
730
+ /** Enable malware scanning for a company's bucket */
731
+ enableDataTransferAcceleration(params) {
732
+ return __awaiter(this, void 0, void 0, function* () {
733
+ return yield this.execute(this.buildEnableDataTransferAccelerationRequest(params));
734
+ });
735
+ }
736
+ buildEnableDataTransferAccelerationRequest(params) {
737
+ return {
738
+ path: Path_1.Path.buildPath(`/api/v1/data-optimiser/accelerate-data-transfer`, ''),
739
+ method: 'post',
740
+ abortSignal: params.abortSignal,
741
+ body: {
742
+ company: { id: params.companyId },
743
+ },
744
+ acceptedAuthParams: ['queryEngineApiKey'],
745
+ };
746
+ }
730
747
  /** Put bucket cors for a company's bucket */
731
748
  enableBucketCors(params) {
732
749
  return __awaiter(this, void 0, void 0, function* () {
package/dist/types.d.ts CHANGED
@@ -610,7 +610,7 @@ export declare namespace DataOptimiser {
610
610
  }>;
611
611
  export type IngestFromUploadExecuteResponse = DataOptimiser.ExecuteResponse<{
612
612
  move_table_from_upload_to_ingest: DataOptimiser.ActionResult<{
613
- success: boolean;
613
+ executedInSnowflakeSessionId: string;
614
614
  }>;
615
615
  }>;
616
616
  export type CreateUploadTableExecuteResponse = DataOptimiser.ExecuteResponse<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vizzly/api-client",
3
- "version": "0.0.83",
3
+ "version": "0.0.85",
4
4
  "private": false,
5
5
  "license": "NONE",
6
6
  "source": "src/index.ts",