@gooddata/api-client-tiger 10.1.0-alpha.0 → 10.1.0-alpha.10

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.
Files changed (47) hide show
  1. package/README.md +0 -3
  2. package/esm/__version.d.ts +1 -1
  3. package/esm/__version.d.ts.map +1 -1
  4. package/esm/__version.js +1 -1
  5. package/esm/__version.js.map +1 -1
  6. package/esm/api-client-tiger.d.ts +2594 -1017
  7. package/esm/generated/afm-rest-api/api.d.ts +816 -24
  8. package/esm/generated/afm-rest-api/api.d.ts.map +1 -1
  9. package/esm/generated/afm-rest-api/api.js +716 -7
  10. package/esm/generated/afm-rest-api/api.js.map +1 -1
  11. package/esm/generated/afm-rest-api/openapi-spec.json +1129 -767
  12. package/esm/generated/export-json-api/api.d.ts +89 -89
  13. package/esm/generated/export-json-api/api.d.ts.map +1 -1
  14. package/esm/generated/export-json-api/api.js +42 -42
  15. package/esm/generated/export-json-api/api.js.map +1 -1
  16. package/esm/generated/export-json-api/openapi-spec.json +5 -5
  17. package/esm/generated/metadata-json-api/api.d.ts +1598 -990
  18. package/esm/generated/metadata-json-api/api.d.ts.map +1 -1
  19. package/esm/generated/metadata-json-api/api.js +644 -14
  20. package/esm/generated/metadata-json-api/api.js.map +1 -1
  21. package/esm/generated/metadata-json-api/openapi-spec.json +4551 -4511
  22. package/esm/generated/result-json-api/api.d.ts +501 -0
  23. package/esm/generated/result-json-api/api.d.ts.map +1 -1
  24. package/esm/generated/result-json-api/api.js +519 -0
  25. package/esm/generated/result-json-api/api.js.map +1 -1
  26. package/esm/generated/result-json-api/openapi-spec.json +187 -0
  27. package/esm/generated/scan-json-api/api.d.ts +343 -0
  28. package/esm/generated/scan-json-api/api.d.ts.map +1 -1
  29. package/esm/generated/scan-json-api/api.js +102 -0
  30. package/esm/generated/scan-json-api/api.js.map +1 -1
  31. package/esm/generated/scan-json-api/openapi-spec.json +257 -0
  32. package/esm/index.d.ts +3 -3
  33. package/esm/index.d.ts.map +1 -1
  34. package/esm/index.js +3 -2
  35. package/esm/index.js.map +1 -1
  36. package/esm/metadataUtilities.d.ts +2 -2
  37. package/esm/metadataUtilities.d.ts.map +1 -1
  38. package/esm/metadataUtilities.js +1 -1
  39. package/esm/metadataUtilities.js.map +1 -1
  40. package/esm/organizationUtilities.d.ts +2 -2
  41. package/esm/organizationUtilities.d.ts.map +1 -1
  42. package/esm/organizationUtilities.js +1 -1
  43. package/esm/organizationUtilities.js.map +1 -1
  44. package/esm/result.d.ts +2 -2
  45. package/esm/result.d.ts.map +1 -1
  46. package/esm/result.js.map +1 -1
  47. package/package.json +4 -4
@@ -62,6 +62,12 @@ export interface AnalyzeCsvRequestItemConfig {
62
62
  * @memberof AnalyzeCsvRequestItemConfig
63
63
  */
64
64
  headerDetectMaxRows?: number;
65
+ /**
66
+ * Number of rows to consider as header, if null, header will be detected.
67
+ * @type {number}
68
+ * @memberof AnalyzeCsvRequestItemConfig
69
+ */
70
+ headerRowCount?: number;
65
71
  /**
66
72
  * Possible column delimiters.
67
73
  * @type {Array<string>}
@@ -398,6 +404,60 @@ export interface CsvReadOptions {
398
404
  */
399
405
  encoding?: string;
400
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
+ }
420
+ /**
421
+ * File stored in GD Storage.
422
+ * @export
423
+ * @interface GdStorageFile
424
+ */
425
+ export interface GdStorageFile {
426
+ /**
427
+ * Name of the file.
428
+ * @type {string}
429
+ * @memberof GdStorageFile
430
+ */
431
+ name: string;
432
+ /**
433
+ * Version of the file.
434
+ * @type {number}
435
+ * @memberof GdStorageFile
436
+ */
437
+ version: number;
438
+ /**
439
+ * Size of the file in bytes.
440
+ * @type {number}
441
+ * @memberof GdStorageFile
442
+ */
443
+ size: number;
444
+ /**
445
+ * Last modification timestamp of the file.
446
+ * @type {string}
447
+ * @memberof GdStorageFile
448
+ */
449
+ modifiedAt: string;
450
+ /**
451
+ * Type of file stored in GD Storage.
452
+ * @type {string}
453
+ * @memberof GdStorageFile
454
+ */
455
+ type: GdStorageFileTypeEnum;
456
+ }
457
+ export declare const GdStorageFileTypeEnum: {
458
+ readonly CSV: "CSV";
459
+ };
460
+ export type GdStorageFileTypeEnum = typeof GdStorageFileTypeEnum[keyof typeof GdStorageFileTypeEnum];
401
461
  /**
402
462
  * Request containing the information necessary to import one or more CSV files from the staging area.
403
463
  * @export
@@ -564,6 +624,19 @@ export interface StagingUploadLocation {
564
624
  */
565
625
  uploadUrl: string;
566
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
+ }
567
640
  /**
568
641
  * Cache settings for the workspace.
569
642
  * @export
@@ -654,6 +727,15 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
654
727
  * @throws {RequiredError}
655
728
  */
656
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>;
657
739
  /**
658
740
  * Provides a location for uploading staging files.
659
741
  * @summary Get a staging upload location
@@ -671,6 +753,23 @@ export declare const ActionsApiAxiosParamCreator: (configuration?: Configuration
671
753
  * @throws {RequiredError}
672
754
  */
673
755
  importCsv: (dataSourceId: string, importCsvRequest: ImportCsvRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
756
+ /**
757
+ * List all the files in the given data source.
758
+ * @summary List datasource files
759
+ * @param {string} dataSourceId
760
+ * @param {*} [options] Override http request option.
761
+ * @throws {RequiredError}
762
+ */
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>;
674
773
  };
675
774
  /**
676
775
  * ActionsApi - functional programming interface
@@ -693,6 +792,15 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
693
792
  * @throws {RequiredError}
694
793
  */
695
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>>;
696
804
  /**
697
805
  * Provides a location for uploading staging files.
698
806
  * @summary Get a staging upload location
@@ -710,6 +818,23 @@ export declare const ActionsApiFp: (configuration?: Configuration) => {
710
818
  * @throws {RequiredError}
711
819
  */
712
820
  importCsv(dataSourceId: string, importCsvRequest: ImportCsvRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
821
+ /**
822
+ * List all the files in the given data source.
823
+ * @summary List datasource files
824
+ * @param {string} dataSourceId
825
+ * @param {*} [options] Override http request option.
826
+ * @throws {RequiredError}
827
+ */
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>>;
713
838
  };
714
839
  /**
715
840
  * ActionsApi - factory interface
@@ -731,6 +856,14 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
731
856
  * @throws {RequiredError}
732
857
  */
733
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>;
734
867
  /**
735
868
  * Provides a location for uploading staging files.
736
869
  * @summary Get a staging upload location
@@ -747,6 +880,22 @@ export declare const ActionsApiFactory: (configuration?: Configuration, basePath
747
880
  * @throws {RequiredError}
748
881
  */
749
882
  importCsv(requestParameters: ActionsApiImportCsvRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
883
+ /**
884
+ * List all the files in the given data source.
885
+ * @summary List datasource files
886
+ * @param {ActionsApiListFilesRequest} requestParameters Request parameters.
887
+ * @param {*} [options] Override http request option.
888
+ * @throws {RequiredError}
889
+ */
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>;
750
899
  };
751
900
  /**
752
901
  * ActionsApi - interface
@@ -771,6 +920,15 @@ export interface ActionsApiInterface {
771
920
  * @memberof ActionsApiInterface
772
921
  */
773
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>;
774
932
  /**
775
933
  * Provides a location for uploading staging files.
776
934
  * @summary Get a staging upload location
@@ -789,6 +947,24 @@ export interface ActionsApiInterface {
789
947
  * @memberof ActionsApiInterface
790
948
  */
791
949
  importCsv(requestParameters: ActionsApiImportCsvRequest, options?: AxiosRequestConfig): AxiosPromise<void>;
950
+ /**
951
+ * List all the files in the given data source.
952
+ * @summary List datasource files
953
+ * @param {ActionsApiListFilesRequest} requestParameters Request parameters.
954
+ * @param {*} [options] Override http request option.
955
+ * @throws {RequiredError}
956
+ * @memberof ActionsApiInterface
957
+ */
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>;
792
968
  }
793
969
  /**
794
970
  * Request parameters for analyzeCsv operation in ActionsApi.
@@ -809,6 +985,25 @@ export interface ActionsApiAnalyzeCsvRequest {
809
985
  */
810
986
  readonly analyzeCsvRequest: AnalyzeCsvRequest;
811
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
+ }
812
1007
  /**
813
1008
  * Request parameters for getStagingUploadLocation operation in ActionsApi.
814
1009
  * @export
@@ -841,6 +1036,38 @@ export interface ActionsApiImportCsvRequest {
841
1036
  */
842
1037
  readonly importCsvRequest: ImportCsvRequest;
843
1038
  }
1039
+ /**
1040
+ * Request parameters for listFiles operation in ActionsApi.
1041
+ * @export
1042
+ * @interface ActionsApiListFilesRequest
1043
+ */
1044
+ export interface ActionsApiListFilesRequest {
1045
+ /**
1046
+ *
1047
+ * @type {string}
1048
+ * @memberof ActionsApiListFiles
1049
+ */
1050
+ readonly dataSourceId: string;
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
+ }
844
1071
  /**
845
1072
  * ActionsApi - object-oriented interface
846
1073
  * @export
@@ -865,6 +1092,15 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
865
1092
  * @memberof ActionsApi
866
1093
  */
867
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>>;
868
1104
  /**
869
1105
  * Provides a location for uploading staging files.
870
1106
  * @summary Get a staging upload location
@@ -883,6 +1119,24 @@ export declare class ActionsApi extends BaseAPI implements ActionsApiInterface {
883
1119
  * @memberof ActionsApi
884
1120
  */
885
1121
  importCsv(requestParameters: ActionsApiImportCsvRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1122
+ /**
1123
+ * List all the files in the given data source.
1124
+ * @summary List datasource files
1125
+ * @param {ActionsApiListFilesRequest} requestParameters Request parameters.
1126
+ * @param {*} [options] Override http request option.
1127
+ * @throws {RequiredError}
1128
+ * @memberof ActionsApi
1129
+ */
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>>;
886
1140
  }
887
1141
  /**
888
1142
  * CacheUsageApi - axios parameter creator
@@ -1050,6 +1304,102 @@ export declare class DataSourceFilesAnalysisApi extends BaseAPI implements DataS
1050
1304
  */
1051
1305
  analyzeCsv(requestParameters: DataSourceFilesAnalysisApiAnalyzeCsvRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<AnalyzeCsvResponse[], any>>;
1052
1306
  }
1307
+ /**
1308
+ * DataSourceFilesDeletionApi - axios parameter creator
1309
+ * @export
1310
+ */
1311
+ export declare const DataSourceFilesDeletionApiAxiosParamCreator: (configuration?: Configuration) => {
1312
+ /**
1313
+ * Delete the files in the given data source.
1314
+ * @summary Delete datasource files
1315
+ * @param {string} dataSourceId
1316
+ * @param {DeleteFilesRequest} deleteFilesRequest
1317
+ * @param {*} [options] Override http request option.
1318
+ * @throws {RequiredError}
1319
+ */
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) => {
1327
+ /**
1328
+ * Delete the files in the given data source.
1329
+ * @summary Delete datasource files
1330
+ * @param {string} dataSourceId
1331
+ * @param {DeleteFilesRequest} deleteFilesRequest
1332
+ * @param {*} [options] Override http request option.
1333
+ * @throws {RequiredError}
1334
+ */
1335
+ deleteFiles(dataSourceId: string, deleteFilesRequest: DeleteFilesRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
1336
+ };
1337
+ /**
1338
+ * DataSourceFilesDeletionApi - factory interface
1339
+ * @export
1340
+ */
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
+ }
1053
1403
  /**
1054
1404
  * DataSourceFilesImportApi - axios parameter creator
1055
1405
  * @export
@@ -1146,6 +1496,94 @@ export declare class DataSourceFilesImportApi extends BaseAPI implements DataSou
1146
1496
  */
1147
1497
  importCsv(requestParameters: DataSourceFilesImportApiImportCsvRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
1148
1498
  }
1499
+ /**
1500
+ * DataSourceFilesListingApi - axios parameter creator
1501
+ * @export
1502
+ */
1503
+ export declare const DataSourceFilesListingApiAxiosParamCreator: (configuration?: Configuration) => {
1504
+ /**
1505
+ * List all the files in the given data source.
1506
+ * @summary List datasource files
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.
1536
+ * @param {*} [options] Override http request option.
1537
+ * @throws {RequiredError}
1538
+ */
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>>;
1586
+ }
1149
1587
  /**
1150
1588
  * DataSourceStagingLocationApi - axios parameter creator
1151
1589
  * @export
@@ -1159,6 +1597,15 @@ export declare const DataSourceStagingLocationApiAxiosParamCreator: (configurati
1159
1597
  * @throws {RequiredError}
1160
1598
  */
1161
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>;
1162
1609
  };
1163
1610
  /**
1164
1611
  * DataSourceStagingLocationApi - functional programming interface
@@ -1173,6 +1620,15 @@ export declare const DataSourceStagingLocationApiFp: (configuration?: Configurat
1173
1620
  * @throws {RequiredError}
1174
1621
  */
1175
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>>;
1176
1632
  };
1177
1633
  /**
1178
1634
  * DataSourceStagingLocationApi - factory interface
@@ -1187,6 +1643,14 @@ export declare const DataSourceStagingLocationApiFactory: (configuration?: Confi
1187
1643
  * @throws {RequiredError}
1188
1644
  */
1189
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>;
1190
1654
  };
1191
1655
  /**
1192
1656
  * DataSourceStagingLocationApi - interface
@@ -1203,6 +1667,15 @@ export interface DataSourceStagingLocationApiInterface {
1203
1667
  * @memberof DataSourceStagingLocationApiInterface
1204
1668
  */
1205
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>;
1206
1679
  }
1207
1680
  /**
1208
1681
  * Request parameters for getStagingUploadLocation operation in DataSourceStagingLocationApi.
@@ -1217,6 +1690,25 @@ export interface DataSourceStagingLocationApiGetStagingUploadLocationRequest {
1217
1690
  */
1218
1691
  readonly dataSourceId: string;
1219
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
+ }
1220
1712
  /**
1221
1713
  * DataSourceStagingLocationApi - object-oriented interface
1222
1714
  * @export
@@ -1233,5 +1725,14 @@ export declare class DataSourceStagingLocationApi extends BaseAPI implements Dat
1233
1725
  * @memberof DataSourceStagingLocationApi
1234
1726
  */
1235
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>>;
1236
1737
  }
1237
1738
  //# sourceMappingURL=api.d.ts.map