@gooddata/api-client-tiger 10.1.0-alpha.9 → 10.1.0
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.
- package/esm/__version.d.ts +1 -1
- package/esm/__version.d.ts.map +1 -1
- package/esm/__version.js +1 -1
- package/esm/__version.js.map +1 -1
- package/esm/api-client-tiger.d.ts +524 -237
- package/esm/generated/afm-rest-api/api.d.ts +356 -2
- package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
- package/esm/generated/afm-rest-api/api.js +346 -0
- package/esm/generated/afm-rest-api/api.js.map +1 -1
- package/esm/generated/afm-rest-api/openapi-spec.json +161 -2
- package/esm/generated/metadata-json-api/api.d.ts +230 -229
- package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
- package/esm/generated/metadata-json-api/api.js +17 -16
- package/esm/generated/metadata-json-api/api.js.map +1 -1
- package/esm/generated/metadata-json-api/openapi-spec.json +1876 -1867
- package/esm/generated/result-json-api/api.d.ts +392 -48
- package/esm/generated/result-json-api/api.d.ts.map +1 -1
- package/esm/generated/result-json-api/api.js +424 -44
- package/esm/generated/result-json-api/api.js.map +1 -1
- package/esm/generated/result-json-api/openapi-spec.json +115 -1
- package/esm/index.d.ts +2 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -404,6 +404,19 @@ export interface CsvReadOptions {
|
|
|
404
404
|
*/
|
|
405
405
|
encoding?: string;
|
|
406
406
|
}
|
|
407
|
+
/**
|
|
408
|
+
* Request to delete files from the storage.
|
|
409
|
+
* @export
|
|
410
|
+
* @interface DeleteFilesRequest
|
|
411
|
+
*/
|
|
412
|
+
export interface DeleteFilesRequest {
|
|
413
|
+
/**
|
|
414
|
+
* Names of the files to delete.
|
|
415
|
+
* @type {Array<string>}
|
|
416
|
+
* @memberof DeleteFilesRequest
|
|
417
|
+
*/
|
|
418
|
+
fileNames: Array<string>;
|
|
419
|
+
}
|
|
407
420
|
/**
|
|
408
421
|
* File stored in GD Storage.
|
|
409
422
|
* @export
|
|
@@ -611,6 +624,19 @@ export interface StagingUploadLocation {
|
|
|
611
624
|
*/
|
|
612
625
|
uploadUrl: string;
|
|
613
626
|
}
|
|
627
|
+
/**
|
|
628
|
+
* Information related to the file uploaded to the staging area.
|
|
629
|
+
* @export
|
|
630
|
+
* @interface UploadFileResponse
|
|
631
|
+
*/
|
|
632
|
+
export interface UploadFileResponse {
|
|
633
|
+
/**
|
|
634
|
+
* Location to use when referencing the uploaded file in subsequent requests.
|
|
635
|
+
* @type {string}
|
|
636
|
+
* @memberof UploadFileResponse
|
|
637
|
+
*/
|
|
638
|
+
location: string;
|
|
639
|
+
}
|
|
614
640
|
/**
|
|
615
641
|
* Cache settings for the workspace.
|
|
616
642
|
* @export
|
|
@@ -701,6 +727,15 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
701
727
|
* @throws {RequiredError}
|
|
702
728
|
*/
|
|
703
729
|
collectCacheUsage: (options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
730
|
+
/**
|
|
731
|
+
* Delete the files in the given data source.
|
|
732
|
+
* @summary Delete datasource files
|
|
733
|
+
* @param {string} dataSourceId
|
|
734
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
735
|
+
* @param {*} [options] Override http request option.
|
|
736
|
+
* @throws {RequiredError}
|
|
737
|
+
*/
|
|
738
|
+
deleteFiles: (dataSourceId: string, deleteFilesRequest: DeleteFilesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
704
739
|
/**
|
|
705
740
|
* Provides a location for uploading staging files.
|
|
706
741
|
* @summary Get a staging upload location
|
|
@@ -726,6 +761,15 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
|
|
|
726
761
|
* @throws {RequiredError}
|
|
727
762
|
*/
|
|
728
763
|
listFiles: (dataSourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
764
|
+
/**
|
|
765
|
+
* Provides a location for uploading staging files.
|
|
766
|
+
* @summary Upload a file to the staging area
|
|
767
|
+
* @param {string} dataSourceId
|
|
768
|
+
* @param {any} file The file to upload.
|
|
769
|
+
* @param {*} [options] Override http request option.
|
|
770
|
+
* @throws {RequiredError}
|
|
771
|
+
*/
|
|
772
|
+
stagingUpload: (dataSourceId: string, file: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
729
773
|
};
|
|
730
774
|
/**
|
|
731
775
|
* ActionsApi - functional programming interface
|
|
@@ -748,6 +792,15 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
748
792
|
* @throws {RequiredError}
|
|
749
793
|
*/
|
|
750
794
|
collectCacheUsage(options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CacheUsageData>>;
|
|
795
|
+
/**
|
|
796
|
+
* Delete the files in the given data source.
|
|
797
|
+
* @summary Delete datasource files
|
|
798
|
+
* @param {string} dataSourceId
|
|
799
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
800
|
+
* @param {*} [options] Override http request option.
|
|
801
|
+
* @throws {RequiredError}
|
|
802
|
+
*/
|
|
803
|
+
deleteFiles(dataSourceId: string, deleteFilesRequest: DeleteFilesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
751
804
|
/**
|
|
752
805
|
* Provides a location for uploading staging files.
|
|
753
806
|
* @summary Get a staging upload location
|
|
@@ -773,6 +826,15 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
|
|
|
773
826
|
* @throws {RequiredError}
|
|
774
827
|
*/
|
|
775
828
|
listFiles(dataSourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GdStorageFile>>>;
|
|
829
|
+
/**
|
|
830
|
+
* Provides a location for uploading staging files.
|
|
831
|
+
* @summary Upload a file to the staging area
|
|
832
|
+
* @param {string} dataSourceId
|
|
833
|
+
* @param {any} file The file to upload.
|
|
834
|
+
* @param {*} [options] Override http request option.
|
|
835
|
+
* @throws {RequiredError}
|
|
836
|
+
*/
|
|
837
|
+
stagingUpload(dataSourceId: string, file: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadFileResponse>>;
|
|
776
838
|
};
|
|
777
839
|
/**
|
|
778
840
|
* ActionsApi - factory interface
|
|
@@ -794,6 +856,14 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
|
|
|
794
856
|
* @throws {RequiredError}
|
|
795
857
|
*/
|
|
796
858
|
collectCacheUsage(options?: AxiosRequestConfig): AxiosPromise<CacheUsageData>;
|
|
859
|
+
/**
|
|
860
|
+
* Delete the files in the given data source.
|
|
861
|
+
* @summary Delete datasource files
|
|
862
|
+
* @param {ActionsApiDeleteFilesRequest} requestParameters Request parameters.
|
|
863
|
+
* @param {*} [options] Override http request option.
|
|
864
|
+
* @throws {RequiredError}
|
|
865
|
+
*/
|
|
866
|
+
deleteFiles(requestParameters: ActionsApiDeleteFilesRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
797
867
|
/**
|
|
798
868
|
* Provides a location for uploading staging files.
|
|
799
869
|
* @summary Get a staging upload location
|
|
@@ -818,6 +888,14 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
|
|
|
818
888
|
* @throws {RequiredError}
|
|
819
889
|
*/
|
|
820
890
|
listFiles(requestParameters: ActionsApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
891
|
+
/**
|
|
892
|
+
* Provides a location for uploading staging files.
|
|
893
|
+
* @summary Upload a file to the staging area
|
|
894
|
+
* @param {ActionsApiStagingUploadRequest} requestParameters Request parameters.
|
|
895
|
+
* @param {*} [options] Override http request option.
|
|
896
|
+
* @throws {RequiredError}
|
|
897
|
+
*/
|
|
898
|
+
stagingUpload(requestParameters: ActionsApiStagingUploadRequest, options?: AxiosRequestConfig): AxiosPromise<UploadFileResponse>;
|
|
821
899
|
};
|
|
822
900
|
/**
|
|
823
901
|
* ActionsApi - interface
|
|
@@ -842,6 +920,15 @@ export interface ActionsApiInterface {
|
|
|
842
920
|
* @memberof ActionsApiInterface
|
|
843
921
|
*/
|
|
844
922
|
collectCacheUsage(options?: AxiosRequestConfig): AxiosPromise<CacheUsageData>;
|
|
923
|
+
/**
|
|
924
|
+
* Delete the files in the given data source.
|
|
925
|
+
* @summary Delete datasource files
|
|
926
|
+
* @param {ActionsApiDeleteFilesRequest} requestParameters Request parameters.
|
|
927
|
+
* @param {*} [options] Override http request option.
|
|
928
|
+
* @throws {RequiredError}
|
|
929
|
+
* @memberof ActionsApiInterface
|
|
930
|
+
*/
|
|
931
|
+
deleteFiles(requestParameters: ActionsApiDeleteFilesRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
845
932
|
/**
|
|
846
933
|
* Provides a location for uploading staging files.
|
|
847
934
|
* @summary Get a staging upload location
|
|
@@ -869,6 +956,15 @@ export interface ActionsApiInterface {
|
|
|
869
956
|
* @memberof ActionsApiInterface
|
|
870
957
|
*/
|
|
871
958
|
listFiles(requestParameters: ActionsApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
959
|
+
/**
|
|
960
|
+
* Provides a location for uploading staging files.
|
|
961
|
+
* @summary Upload a file to the staging area
|
|
962
|
+
* @param {ActionsApiStagingUploadRequest} requestParameters Request parameters.
|
|
963
|
+
* @param {*} [options] Override http request option.
|
|
964
|
+
* @throws {RequiredError}
|
|
965
|
+
* @memberof ActionsApiInterface
|
|
966
|
+
*/
|
|
967
|
+
stagingUpload(requestParameters: ActionsApiStagingUploadRequest, options?: AxiosRequestConfig): AxiosPromise<UploadFileResponse>;
|
|
872
968
|
}
|
|
873
969
|
/**
|
|
874
970
|
* Request parameters for analyzeCsv operation in ActionsApi.
|
|
@@ -889,6 +985,25 @@ export interface ActionsApiAnalyzeCsvRequest {
|
|
|
889
985
|
*/
|
|
890
986
|
readonly analyzeCsvRequest: AnalyzeCsvRequest;
|
|
891
987
|
}
|
|
988
|
+
/**
|
|
989
|
+
* Request parameters for deleteFiles operation in ActionsApi.
|
|
990
|
+
* @export
|
|
991
|
+
* @interface ActionsApiDeleteFilesRequest
|
|
992
|
+
*/
|
|
993
|
+
export interface ActionsApiDeleteFilesRequest {
|
|
994
|
+
/**
|
|
995
|
+
*
|
|
996
|
+
* @type {string}
|
|
997
|
+
* @memberof ActionsApiDeleteFiles
|
|
998
|
+
*/
|
|
999
|
+
readonly dataSourceId: string;
|
|
1000
|
+
/**
|
|
1001
|
+
*
|
|
1002
|
+
* @type {DeleteFilesRequest}
|
|
1003
|
+
* @memberof ActionsApiDeleteFiles
|
|
1004
|
+
*/
|
|
1005
|
+
readonly deleteFilesRequest: DeleteFilesRequest;
|
|
1006
|
+
}
|
|
892
1007
|
/**
|
|
893
1008
|
* Request parameters for getStagingUploadLocation operation in ActionsApi.
|
|
894
1009
|
* @export
|
|
@@ -934,6 +1049,25 @@ export interface ActionsApiListFilesRequest {
|
|
|
934
1049
|
*/
|
|
935
1050
|
readonly dataSourceId: string;
|
|
936
1051
|
}
|
|
1052
|
+
/**
|
|
1053
|
+
* Request parameters for stagingUpload operation in ActionsApi.
|
|
1054
|
+
* @export
|
|
1055
|
+
* @interface ActionsApiStagingUploadRequest
|
|
1056
|
+
*/
|
|
1057
|
+
export interface ActionsApiStagingUploadRequest {
|
|
1058
|
+
/**
|
|
1059
|
+
*
|
|
1060
|
+
* @type {string}
|
|
1061
|
+
* @memberof ActionsApiStagingUpload
|
|
1062
|
+
*/
|
|
1063
|
+
readonly dataSourceId: string;
|
|
1064
|
+
/**
|
|
1065
|
+
* The file to upload.
|
|
1066
|
+
* @type {any}
|
|
1067
|
+
* @memberof ActionsApiStagingUpload
|
|
1068
|
+
*/
|
|
1069
|
+
readonly file: any;
|
|
1070
|
+
}
|
|
937
1071
|
/**
|
|
938
1072
|
* ActionsApi - object-oriented interface
|
|
939
1073
|
* @export
|
|
@@ -958,6 +1092,15 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
958
1092
|
* @memberof ActionsApi
|
|
959
1093
|
*/
|
|
960
1094
|
collectCacheUsage(options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CacheUsageData, any>>;
|
|
1095
|
+
/**
|
|
1096
|
+
* Delete the files in the given data source.
|
|
1097
|
+
* @summary Delete datasource files
|
|
1098
|
+
* @param {ActionsApiDeleteFilesRequest} requestParameters Request parameters.
|
|
1099
|
+
* @param {*} [options] Override http request option.
|
|
1100
|
+
* @throws {RequiredError}
|
|
1101
|
+
* @memberof ActionsApi
|
|
1102
|
+
*/
|
|
1103
|
+
deleteFiles(requestParameters: ActionsApiDeleteFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
961
1104
|
/**
|
|
962
1105
|
* Provides a location for uploading staging files.
|
|
963
1106
|
* @summary Get a staging upload location
|
|
@@ -985,6 +1128,15 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
|
|
|
985
1128
|
* @memberof ActionsApi
|
|
986
1129
|
*/
|
|
987
1130
|
listFiles(requestParameters: ActionsApiListFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GdStorageFile[], any>>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Provides a location for uploading staging files.
|
|
1133
|
+
* @summary Upload a file to the staging area
|
|
1134
|
+
* @param {ActionsApiStagingUploadRequest} requestParameters Request parameters.
|
|
1135
|
+
* @param {*} [options] Override http request option.
|
|
1136
|
+
* @throws {RequiredError}
|
|
1137
|
+
* @memberof ActionsApi
|
|
1138
|
+
*/
|
|
1139
|
+
stagingUpload(requestParameters: ActionsApiStagingUploadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadFileResponse, any>>;
|
|
988
1140
|
}
|
|
989
1141
|
/**
|
|
990
1142
|
* CacheUsageApi - axios parameter creator
|
|
@@ -1153,33 +1305,106 @@ export declare class DataSourceFilesAnalysisApi extends BaseAPI implements DataS
|
|
|
1153
1305
|
analyzeCsv(requestParameters: DataSourceFilesAnalysisApiAnalyzeCsvRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyzeCsvResponse[], any>>;
|
|
1154
1306
|
}
|
|
1155
1307
|
/**
|
|
1156
|
-
*
|
|
1308
|
+
* DataSourceFilesDeletionApi - axios parameter creator
|
|
1157
1309
|
* @export
|
|
1158
1310
|
*/
|
|
1159
|
-
export declare const
|
|
1311
|
+
export declare const DataSourceFilesDeletionApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1160
1312
|
/**
|
|
1161
|
-
*
|
|
1162
|
-
* @summary
|
|
1313
|
+
* Delete the files in the given data source.
|
|
1314
|
+
* @summary Delete datasource files
|
|
1163
1315
|
* @param {string} dataSourceId
|
|
1164
|
-
* @param {
|
|
1316
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
1165
1317
|
* @param {*} [options] Override http request option.
|
|
1166
1318
|
* @throws {RequiredError}
|
|
1167
1319
|
*/
|
|
1168
|
-
|
|
1320
|
+
deleteFiles: (dataSourceId: string, deleteFilesRequest: DeleteFilesRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1321
|
+
};
|
|
1322
|
+
/**
|
|
1323
|
+
* DataSourceFilesDeletionApi - functional programming interface
|
|
1324
|
+
* @export
|
|
1325
|
+
*/
|
|
1326
|
+
export declare const DataSourceFilesDeletionApiFp: (configuration?: Configuration) => {
|
|
1169
1327
|
/**
|
|
1170
|
-
*
|
|
1171
|
-
* @summary
|
|
1328
|
+
* Delete the files in the given data source.
|
|
1329
|
+
* @summary Delete datasource files
|
|
1172
1330
|
* @param {string} dataSourceId
|
|
1331
|
+
* @param {DeleteFilesRequest} deleteFilesRequest
|
|
1173
1332
|
* @param {*} [options] Override http request option.
|
|
1174
1333
|
* @throws {RequiredError}
|
|
1175
1334
|
*/
|
|
1176
|
-
|
|
1335
|
+
deleteFiles(dataSourceId: string, deleteFilesRequest: DeleteFilesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1177
1336
|
};
|
|
1178
1337
|
/**
|
|
1179
|
-
*
|
|
1338
|
+
* DataSourceFilesDeletionApi - factory interface
|
|
1180
1339
|
* @export
|
|
1181
1340
|
*/
|
|
1182
|
-
export declare const
|
|
1341
|
+
export declare const DataSourceFilesDeletionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1342
|
+
/**
|
|
1343
|
+
* Delete the files in the given data source.
|
|
1344
|
+
* @summary Delete datasource files
|
|
1345
|
+
* @param {DataSourceFilesDeletionApiDeleteFilesRequest} requestParameters Request parameters.
|
|
1346
|
+
* @param {*} [options] Override http request option.
|
|
1347
|
+
* @throws {RequiredError}
|
|
1348
|
+
*/
|
|
1349
|
+
deleteFiles(requestParameters: DataSourceFilesDeletionApiDeleteFilesRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
1350
|
+
};
|
|
1351
|
+
/**
|
|
1352
|
+
* DataSourceFilesDeletionApi - interface
|
|
1353
|
+
* @export
|
|
1354
|
+
* @interface DataSourceFilesDeletionApi
|
|
1355
|
+
*/
|
|
1356
|
+
export interface DataSourceFilesDeletionApiInterface {
|
|
1357
|
+
/**
|
|
1358
|
+
* Delete the files in the given data source.
|
|
1359
|
+
* @summary Delete datasource files
|
|
1360
|
+
* @param {DataSourceFilesDeletionApiDeleteFilesRequest} requestParameters Request parameters.
|
|
1361
|
+
* @param {*} [options] Override http request option.
|
|
1362
|
+
* @throws {RequiredError}
|
|
1363
|
+
* @memberof DataSourceFilesDeletionApiInterface
|
|
1364
|
+
*/
|
|
1365
|
+
deleteFiles(requestParameters: DataSourceFilesDeletionApiDeleteFilesRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
1366
|
+
}
|
|
1367
|
+
/**
|
|
1368
|
+
* Request parameters for deleteFiles operation in DataSourceFilesDeletionApi.
|
|
1369
|
+
* @export
|
|
1370
|
+
* @interface DataSourceFilesDeletionApiDeleteFilesRequest
|
|
1371
|
+
*/
|
|
1372
|
+
export interface DataSourceFilesDeletionApiDeleteFilesRequest {
|
|
1373
|
+
/**
|
|
1374
|
+
*
|
|
1375
|
+
* @type {string}
|
|
1376
|
+
* @memberof DataSourceFilesDeletionApiDeleteFiles
|
|
1377
|
+
*/
|
|
1378
|
+
readonly dataSourceId: string;
|
|
1379
|
+
/**
|
|
1380
|
+
*
|
|
1381
|
+
* @type {DeleteFilesRequest}
|
|
1382
|
+
* @memberof DataSourceFilesDeletionApiDeleteFiles
|
|
1383
|
+
*/
|
|
1384
|
+
readonly deleteFilesRequest: DeleteFilesRequest;
|
|
1385
|
+
}
|
|
1386
|
+
/**
|
|
1387
|
+
* DataSourceFilesDeletionApi - object-oriented interface
|
|
1388
|
+
* @export
|
|
1389
|
+
* @class DataSourceFilesDeletionApi
|
|
1390
|
+
* @extends {BaseAPI}
|
|
1391
|
+
*/
|
|
1392
|
+
export declare class DataSourceFilesDeletionApi extends BaseAPI implements DataSourceFilesDeletionApiInterface {
|
|
1393
|
+
/**
|
|
1394
|
+
* Delete the files in the given data source.
|
|
1395
|
+
* @summary Delete datasource files
|
|
1396
|
+
* @param {DataSourceFilesDeletionApiDeleteFilesRequest} requestParameters Request parameters.
|
|
1397
|
+
* @param {*} [options] Override http request option.
|
|
1398
|
+
* @throws {RequiredError}
|
|
1399
|
+
* @memberof DataSourceFilesDeletionApi
|
|
1400
|
+
*/
|
|
1401
|
+
deleteFiles(requestParameters: DataSourceFilesDeletionApiDeleteFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1402
|
+
}
|
|
1403
|
+
/**
|
|
1404
|
+
* DataSourceFilesImportApi - axios parameter creator
|
|
1405
|
+
* @export
|
|
1406
|
+
*/
|
|
1407
|
+
export declare const DataSourceFilesImportApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1183
1408
|
/**
|
|
1184
1409
|
* Import the CSV files at the given locations in the staging area to the final location.
|
|
1185
1410
|
* @summary Import CSV
|
|
@@ -1188,15 +1413,22 @@ export declare const DataSourceFilesImportApiFp: (configuration?: Configuration)
|
|
|
1188
1413
|
* @param {*} [options] Override http request option.
|
|
1189
1414
|
* @throws {RequiredError}
|
|
1190
1415
|
*/
|
|
1191
|
-
importCsv(dataSourceId: string, importCsvRequest: ImportCsvRequest, options?: AxiosRequestConfig)
|
|
1416
|
+
importCsv: (dataSourceId: string, importCsvRequest: ImportCsvRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1417
|
+
};
|
|
1418
|
+
/**
|
|
1419
|
+
* DataSourceFilesImportApi - functional programming interface
|
|
1420
|
+
* @export
|
|
1421
|
+
*/
|
|
1422
|
+
export declare const DataSourceFilesImportApiFp: (configuration?: Configuration) => {
|
|
1192
1423
|
/**
|
|
1193
|
-
*
|
|
1194
|
-
* @summary
|
|
1424
|
+
* Import the CSV files at the given locations in the staging area to the final location.
|
|
1425
|
+
* @summary Import CSV
|
|
1195
1426
|
* @param {string} dataSourceId
|
|
1427
|
+
* @param {ImportCsvRequest} importCsvRequest
|
|
1196
1428
|
* @param {*} [options] Override http request option.
|
|
1197
1429
|
* @throws {RequiredError}
|
|
1198
1430
|
*/
|
|
1199
|
-
|
|
1431
|
+
importCsv(dataSourceId: string, importCsvRequest: ImportCsvRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1200
1432
|
};
|
|
1201
1433
|
/**
|
|
1202
1434
|
* DataSourceFilesImportApi - factory interface
|
|
@@ -1211,14 +1443,6 @@ export declare const DataSourceFilesImportApiFactory: (configuration?: Configura
|
|
|
1211
1443
|
* @throws {RequiredError}
|
|
1212
1444
|
*/
|
|
1213
1445
|
importCsv(requestParameters: DataSourceFilesImportApiImportCsvRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
1214
|
-
/**
|
|
1215
|
-
* List all the files in the given data source.
|
|
1216
|
-
* @summary List datasource files
|
|
1217
|
-
* @param {DataSourceFilesImportApiListFilesRequest} requestParameters Request parameters.
|
|
1218
|
-
* @param {*} [options] Override http request option.
|
|
1219
|
-
* @throws {RequiredError}
|
|
1220
|
-
*/
|
|
1221
|
-
listFiles(requestParameters: DataSourceFilesImportApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
1222
1446
|
};
|
|
1223
1447
|
/**
|
|
1224
1448
|
* DataSourceFilesImportApi - interface
|
|
@@ -1235,15 +1459,6 @@ export interface DataSourceFilesImportApiInterface {
|
|
|
1235
1459
|
* @memberof DataSourceFilesImportApiInterface
|
|
1236
1460
|
*/
|
|
1237
1461
|
importCsv(requestParameters: DataSourceFilesImportApiImportCsvRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
1238
|
-
/**
|
|
1239
|
-
* List all the files in the given data source.
|
|
1240
|
-
* @summary List datasource files
|
|
1241
|
-
* @param {DataSourceFilesImportApiListFilesRequest} requestParameters Request parameters.
|
|
1242
|
-
* @param {*} [options] Override http request option.
|
|
1243
|
-
* @throws {RequiredError}
|
|
1244
|
-
* @memberof DataSourceFilesImportApiInterface
|
|
1245
|
-
*/
|
|
1246
|
-
listFiles(requestParameters: DataSourceFilesImportApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
1247
1462
|
}
|
|
1248
1463
|
/**
|
|
1249
1464
|
* Request parameters for importCsv operation in DataSourceFilesImportApi.
|
|
@@ -1264,19 +1479,6 @@ export interface DataSourceFilesImportApiImportCsvRequest {
|
|
|
1264
1479
|
*/
|
|
1265
1480
|
readonly importCsvRequest: ImportCsvRequest;
|
|
1266
1481
|
}
|
|
1267
|
-
/**
|
|
1268
|
-
* Request parameters for listFiles operation in DataSourceFilesImportApi.
|
|
1269
|
-
* @export
|
|
1270
|
-
* @interface DataSourceFilesImportApiListFilesRequest
|
|
1271
|
-
*/
|
|
1272
|
-
export interface DataSourceFilesImportApiListFilesRequest {
|
|
1273
|
-
/**
|
|
1274
|
-
*
|
|
1275
|
-
* @type {string}
|
|
1276
|
-
* @memberof DataSourceFilesImportApiListFiles
|
|
1277
|
-
*/
|
|
1278
|
-
readonly dataSourceId: string;
|
|
1279
|
-
}
|
|
1280
1482
|
/**
|
|
1281
1483
|
* DataSourceFilesImportApi - object-oriented interface
|
|
1282
1484
|
* @export
|
|
@@ -1293,15 +1495,94 @@ export declare class DataSourceFilesImportApi extends BaseAPI implements DataSou
|
|
|
1293
1495
|
* @memberof DataSourceFilesImportApi
|
|
1294
1496
|
*/
|
|
1295
1497
|
importCsv(requestParameters: DataSourceFilesImportApiImportCsvRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
1498
|
+
}
|
|
1499
|
+
/**
|
|
1500
|
+
* DataSourceFilesListingApi - axios parameter creator
|
|
1501
|
+
* @export
|
|
1502
|
+
*/
|
|
1503
|
+
export declare const DataSourceFilesListingApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1296
1504
|
/**
|
|
1297
1505
|
* List all the files in the given data source.
|
|
1298
1506
|
* @summary List datasource files
|
|
1299
|
-
* @param {
|
|
1507
|
+
* @param {string} dataSourceId
|
|
1508
|
+
* @param {*} [options] Override http request option.
|
|
1509
|
+
* @throws {RequiredError}
|
|
1510
|
+
*/
|
|
1511
|
+
listFiles: (dataSourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1512
|
+
};
|
|
1513
|
+
/**
|
|
1514
|
+
* DataSourceFilesListingApi - functional programming interface
|
|
1515
|
+
* @export
|
|
1516
|
+
*/
|
|
1517
|
+
export declare const DataSourceFilesListingApiFp: (configuration?: Configuration) => {
|
|
1518
|
+
/**
|
|
1519
|
+
* List all the files in the given data source.
|
|
1520
|
+
* @summary List datasource files
|
|
1521
|
+
* @param {string} dataSourceId
|
|
1522
|
+
* @param {*} [options] Override http request option.
|
|
1523
|
+
* @throws {RequiredError}
|
|
1524
|
+
*/
|
|
1525
|
+
listFiles(dataSourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<GdStorageFile>>>;
|
|
1526
|
+
};
|
|
1527
|
+
/**
|
|
1528
|
+
* DataSourceFilesListingApi - factory interface
|
|
1529
|
+
* @export
|
|
1530
|
+
*/
|
|
1531
|
+
export declare const DataSourceFilesListingApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1532
|
+
/**
|
|
1533
|
+
* List all the files in the given data source.
|
|
1534
|
+
* @summary List datasource files
|
|
1535
|
+
* @param {DataSourceFilesListingApiListFilesRequest} requestParameters Request parameters.
|
|
1300
1536
|
* @param {*} [options] Override http request option.
|
|
1301
1537
|
* @throws {RequiredError}
|
|
1302
|
-
* @memberof DataSourceFilesImportApi
|
|
1303
1538
|
*/
|
|
1304
|
-
listFiles(requestParameters:
|
|
1539
|
+
listFiles(requestParameters: DataSourceFilesListingApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
1540
|
+
};
|
|
1541
|
+
/**
|
|
1542
|
+
* DataSourceFilesListingApi - interface
|
|
1543
|
+
* @export
|
|
1544
|
+
* @interface DataSourceFilesListingApi
|
|
1545
|
+
*/
|
|
1546
|
+
export interface DataSourceFilesListingApiInterface {
|
|
1547
|
+
/**
|
|
1548
|
+
* List all the files in the given data source.
|
|
1549
|
+
* @summary List datasource files
|
|
1550
|
+
* @param {DataSourceFilesListingApiListFilesRequest} requestParameters Request parameters.
|
|
1551
|
+
* @param {*} [options] Override http request option.
|
|
1552
|
+
* @throws {RequiredError}
|
|
1553
|
+
* @memberof DataSourceFilesListingApiInterface
|
|
1554
|
+
*/
|
|
1555
|
+
listFiles(requestParameters: DataSourceFilesListingApiListFilesRequest, options?: AxiosRequestConfig): AxiosPromise<Array<GdStorageFile>>;
|
|
1556
|
+
}
|
|
1557
|
+
/**
|
|
1558
|
+
* Request parameters for listFiles operation in DataSourceFilesListingApi.
|
|
1559
|
+
* @export
|
|
1560
|
+
* @interface DataSourceFilesListingApiListFilesRequest
|
|
1561
|
+
*/
|
|
1562
|
+
export interface DataSourceFilesListingApiListFilesRequest {
|
|
1563
|
+
/**
|
|
1564
|
+
*
|
|
1565
|
+
* @type {string}
|
|
1566
|
+
* @memberof DataSourceFilesListingApiListFiles
|
|
1567
|
+
*/
|
|
1568
|
+
readonly dataSourceId: string;
|
|
1569
|
+
}
|
|
1570
|
+
/**
|
|
1571
|
+
* DataSourceFilesListingApi - object-oriented interface
|
|
1572
|
+
* @export
|
|
1573
|
+
* @class DataSourceFilesListingApi
|
|
1574
|
+
* @extends {BaseAPI}
|
|
1575
|
+
*/
|
|
1576
|
+
export declare class DataSourceFilesListingApi extends BaseAPI implements DataSourceFilesListingApiInterface {
|
|
1577
|
+
/**
|
|
1578
|
+
* List all the files in the given data source.
|
|
1579
|
+
* @summary List datasource files
|
|
1580
|
+
* @param {DataSourceFilesListingApiListFilesRequest} requestParameters Request parameters.
|
|
1581
|
+
* @param {*} [options] Override http request option.
|
|
1582
|
+
* @throws {RequiredError}
|
|
1583
|
+
* @memberof DataSourceFilesListingApi
|
|
1584
|
+
*/
|
|
1585
|
+
listFiles(requestParameters: DataSourceFilesListingApiListFilesRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GdStorageFile[], any>>;
|
|
1305
1586
|
}
|
|
1306
1587
|
/**
|
|
1307
1588
|
* DataSourceStagingLocationApi - axios parameter creator
|
|
@@ -1316,6 +1597,15 @@ export declare const DataSourceStagingLocationApiAxiosParamCreator: (configurati
|
|
|
1316
1597
|
* @throws {RequiredError}
|
|
1317
1598
|
*/
|
|
1318
1599
|
getStagingUploadLocation: (dataSourceId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1600
|
+
/**
|
|
1601
|
+
* Provides a location for uploading staging files.
|
|
1602
|
+
* @summary Upload a file to the staging area
|
|
1603
|
+
* @param {string} dataSourceId
|
|
1604
|
+
* @param {any} file The file to upload.
|
|
1605
|
+
* @param {*} [options] Override http request option.
|
|
1606
|
+
* @throws {RequiredError}
|
|
1607
|
+
*/
|
|
1608
|
+
stagingUpload: (dataSourceId: string, file: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1319
1609
|
};
|
|
1320
1610
|
/**
|
|
1321
1611
|
* DataSourceStagingLocationApi - functional programming interface
|
|
@@ -1330,6 +1620,15 @@ export declare const DataSourceStagingLocationApiFp: (configuration?: Configurat
|
|
|
1330
1620
|
* @throws {RequiredError}
|
|
1331
1621
|
*/
|
|
1332
1622
|
getStagingUploadLocation(dataSourceId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StagingUploadLocation>>;
|
|
1623
|
+
/**
|
|
1624
|
+
* Provides a location for uploading staging files.
|
|
1625
|
+
* @summary Upload a file to the staging area
|
|
1626
|
+
* @param {string} dataSourceId
|
|
1627
|
+
* @param {any} file The file to upload.
|
|
1628
|
+
* @param {*} [options] Override http request option.
|
|
1629
|
+
* @throws {RequiredError}
|
|
1630
|
+
*/
|
|
1631
|
+
stagingUpload(dataSourceId: string, file: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<UploadFileResponse>>;
|
|
1333
1632
|
};
|
|
1334
1633
|
/**
|
|
1335
1634
|
* DataSourceStagingLocationApi - factory interface
|
|
@@ -1344,6 +1643,14 @@ export declare const DataSourceStagingLocationApiFactory: (configuration?: Confi
|
|
|
1344
1643
|
* @throws {RequiredError}
|
|
1345
1644
|
*/
|
|
1346
1645
|
getStagingUploadLocation(requestParameters: DataSourceStagingLocationApiGetStagingUploadLocationRequest, options?: AxiosRequestConfig): AxiosPromise<StagingUploadLocation>;
|
|
1646
|
+
/**
|
|
1647
|
+
* Provides a location for uploading staging files.
|
|
1648
|
+
* @summary Upload a file to the staging area
|
|
1649
|
+
* @param {DataSourceStagingLocationApiStagingUploadRequest} requestParameters Request parameters.
|
|
1650
|
+
* @param {*} [options] Override http request option.
|
|
1651
|
+
* @throws {RequiredError}
|
|
1652
|
+
*/
|
|
1653
|
+
stagingUpload(requestParameters: DataSourceStagingLocationApiStagingUploadRequest, options?: AxiosRequestConfig): AxiosPromise<UploadFileResponse>;
|
|
1347
1654
|
};
|
|
1348
1655
|
/**
|
|
1349
1656
|
* DataSourceStagingLocationApi - interface
|
|
@@ -1360,6 +1667,15 @@ export interface DataSourceStagingLocationApiInterface {
|
|
|
1360
1667
|
* @memberof DataSourceStagingLocationApiInterface
|
|
1361
1668
|
*/
|
|
1362
1669
|
getStagingUploadLocation(requestParameters: DataSourceStagingLocationApiGetStagingUploadLocationRequest, options?: AxiosRequestConfig): AxiosPromise<StagingUploadLocation>;
|
|
1670
|
+
/**
|
|
1671
|
+
* Provides a location for uploading staging files.
|
|
1672
|
+
* @summary Upload a file to the staging area
|
|
1673
|
+
* @param {DataSourceStagingLocationApiStagingUploadRequest} requestParameters Request parameters.
|
|
1674
|
+
* @param {*} [options] Override http request option.
|
|
1675
|
+
* @throws {RequiredError}
|
|
1676
|
+
* @memberof DataSourceStagingLocationApiInterface
|
|
1677
|
+
*/
|
|
1678
|
+
stagingUpload(requestParameters: DataSourceStagingLocationApiStagingUploadRequest, options?: AxiosRequestConfig): AxiosPromise<UploadFileResponse>;
|
|
1363
1679
|
}
|
|
1364
1680
|
/**
|
|
1365
1681
|
* Request parameters for getStagingUploadLocation operation in DataSourceStagingLocationApi.
|
|
@@ -1374,6 +1690,25 @@ export interface DataSourceStagingLocationApiGetStagingUploadLocationRequest {
|
|
|
1374
1690
|
*/
|
|
1375
1691
|
readonly dataSourceId: string;
|
|
1376
1692
|
}
|
|
1693
|
+
/**
|
|
1694
|
+
* Request parameters for stagingUpload operation in DataSourceStagingLocationApi.
|
|
1695
|
+
* @export
|
|
1696
|
+
* @interface DataSourceStagingLocationApiStagingUploadRequest
|
|
1697
|
+
*/
|
|
1698
|
+
export interface DataSourceStagingLocationApiStagingUploadRequest {
|
|
1699
|
+
/**
|
|
1700
|
+
*
|
|
1701
|
+
* @type {string}
|
|
1702
|
+
* @memberof DataSourceStagingLocationApiStagingUpload
|
|
1703
|
+
*/
|
|
1704
|
+
readonly dataSourceId: string;
|
|
1705
|
+
/**
|
|
1706
|
+
* The file to upload.
|
|
1707
|
+
* @type {any}
|
|
1708
|
+
* @memberof DataSourceStagingLocationApiStagingUpload
|
|
1709
|
+
*/
|
|
1710
|
+
readonly file: any;
|
|
1711
|
+
}
|
|
1377
1712
|
/**
|
|
1378
1713
|
* DataSourceStagingLocationApi - object-oriented interface
|
|
1379
1714
|
* @export
|
|
@@ -1390,5 +1725,14 @@ export declare class DataSourceStagingLocationApi extends BaseAPI implements Dat
|
|
|
1390
1725
|
* @memberof DataSourceStagingLocationApi
|
|
1391
1726
|
*/
|
|
1392
1727
|
getStagingUploadLocation(requestParameters: DataSourceStagingLocationApiGetStagingUploadLocationRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<StagingUploadLocation, any>>;
|
|
1728
|
+
/**
|
|
1729
|
+
* Provides a location for uploading staging files.
|
|
1730
|
+
* @summary Upload a file to the staging area
|
|
1731
|
+
* @param {DataSourceStagingLocationApiStagingUploadRequest} requestParameters Request parameters.
|
|
1732
|
+
* @param {*} [options] Override http request option.
|
|
1733
|
+
* @throws {RequiredError}
|
|
1734
|
+
* @memberof DataSourceStagingLocationApi
|
|
1735
|
+
*/
|
|
1736
|
+
stagingUpload(requestParameters: DataSourceStagingLocationApiStagingUploadRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<UploadFileResponse, any>>;
|
|
1393
1737
|
}
|
|
1394
1738
|
//# sourceMappingURL=api.d.ts.map
|