@dimrev4/fitness-v3-backend 0.0.35 → 0.0.37
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/.openapi-generator/FILES +2 -0
- package/api.ts +582 -38
- package/dist/api.d.ts +370 -26
- package/dist/api.js +332 -26
- package/dist/esm/api.d.ts +370 -26
- package/dist/esm/api.js +332 -26
- package/docs/FilesV1Api.md +238 -8
- package/docs/GroupGetPresignedPostUrlRequestDto.md +30 -0
- package/docs/PresignedPostDataDto.md +2 -0
- package/docs/PublicGetPresignedPostUrlRequestDto.md +2 -0
- package/docs/UserGetPresignedPostUrlRequestDto.md +28 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1292,6 +1292,49 @@ export interface GroupDto {
|
|
|
1292
1292
|
*/
|
|
1293
1293
|
'deletedAt': string | null;
|
|
1294
1294
|
}
|
|
1295
|
+
/**
|
|
1296
|
+
*
|
|
1297
|
+
* @export
|
|
1298
|
+
* @interface GroupGetPresignedPostUrlRequestDto
|
|
1299
|
+
*/
|
|
1300
|
+
export interface GroupGetPresignedPostUrlRequestDto {
|
|
1301
|
+
/**
|
|
1302
|
+
* User ID, for files in the user scope of the bucket
|
|
1303
|
+
* @type {string}
|
|
1304
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1305
|
+
*/
|
|
1306
|
+
'userId'?: string;
|
|
1307
|
+
/**
|
|
1308
|
+
* Original filename
|
|
1309
|
+
* @type {string}
|
|
1310
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1311
|
+
*/
|
|
1312
|
+
'filename': string;
|
|
1313
|
+
/**
|
|
1314
|
+
* Subject folder
|
|
1315
|
+
* @type {string}
|
|
1316
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1317
|
+
*/
|
|
1318
|
+
'subject': string;
|
|
1319
|
+
/**
|
|
1320
|
+
* SHA-256 checksum of the file
|
|
1321
|
+
* @type {string}
|
|
1322
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1323
|
+
*/
|
|
1324
|
+
'fileShaCheckSum': string;
|
|
1325
|
+
/**
|
|
1326
|
+
* MIME type of the file
|
|
1327
|
+
* @type {string}
|
|
1328
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1329
|
+
*/
|
|
1330
|
+
'mimetype': string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1333
|
+
* @type {boolean}
|
|
1334
|
+
* @memberof GroupGetPresignedPostUrlRequestDto
|
|
1335
|
+
*/
|
|
1336
|
+
'allowOverwrite'?: boolean;
|
|
1337
|
+
}
|
|
1295
1338
|
/**
|
|
1296
1339
|
*
|
|
1297
1340
|
* @export
|
|
@@ -1797,6 +1840,12 @@ export interface PresignedPostDataDto {
|
|
|
1797
1840
|
* @memberof PresignedPostDataDto
|
|
1798
1841
|
*/
|
|
1799
1842
|
'formData': object;
|
|
1843
|
+
/**
|
|
1844
|
+
* Presigned PUT URL for direct uploads (only available when allowOverwrite is true). Use HTTP PUT with file as body.
|
|
1845
|
+
* @type {string}
|
|
1846
|
+
* @memberof PresignedPostDataDto
|
|
1847
|
+
*/
|
|
1848
|
+
'putUrl'?: string;
|
|
1800
1849
|
}
|
|
1801
1850
|
/**
|
|
1802
1851
|
*
|
|
@@ -1840,6 +1889,12 @@ export interface PublicGetPresignedPostUrlRequestDto {
|
|
|
1840
1889
|
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1841
1890
|
*/
|
|
1842
1891
|
'mimetype': string;
|
|
1892
|
+
/**
|
|
1893
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
1894
|
+
* @type {boolean}
|
|
1895
|
+
* @memberof PublicGetPresignedPostUrlRequestDto
|
|
1896
|
+
*/
|
|
1897
|
+
'allowOverwrite'?: boolean;
|
|
1843
1898
|
}
|
|
1844
1899
|
/**
|
|
1845
1900
|
*
|
|
@@ -2858,6 +2913,43 @@ export interface UserDto {
|
|
|
2858
2913
|
*/
|
|
2859
2914
|
'deletedAt': object | null;
|
|
2860
2915
|
}
|
|
2916
|
+
/**
|
|
2917
|
+
*
|
|
2918
|
+
* @export
|
|
2919
|
+
* @interface UserGetPresignedPostUrlRequestDto
|
|
2920
|
+
*/
|
|
2921
|
+
export interface UserGetPresignedPostUrlRequestDto {
|
|
2922
|
+
/**
|
|
2923
|
+
* Original filename
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2926
|
+
*/
|
|
2927
|
+
'filename': string;
|
|
2928
|
+
/**
|
|
2929
|
+
* Subject folder
|
|
2930
|
+
* @type {string}
|
|
2931
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2932
|
+
*/
|
|
2933
|
+
'subject': string;
|
|
2934
|
+
/**
|
|
2935
|
+
* SHA-256 checksum of the file
|
|
2936
|
+
* @type {string}
|
|
2937
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2938
|
+
*/
|
|
2939
|
+
'fileShaCheckSum': string;
|
|
2940
|
+
/**
|
|
2941
|
+
* MIME type of the file
|
|
2942
|
+
* @type {string}
|
|
2943
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2944
|
+
*/
|
|
2945
|
+
'mimetype': string;
|
|
2946
|
+
/**
|
|
2947
|
+
* Allow overwriting existing file. If true, acts like PUT; if false (default), acts like POST and fails if file exists
|
|
2948
|
+
* @type {boolean}
|
|
2949
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2950
|
+
*/
|
|
2951
|
+
'allowOverwrite'?: boolean;
|
|
2952
|
+
}
|
|
2861
2953
|
/**
|
|
2862
2954
|
*
|
|
2863
2955
|
* @export
|
|
@@ -4535,15 +4627,19 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4535
4627
|
},
|
|
4536
4628
|
/**
|
|
4537
4629
|
*
|
|
4538
|
-
* @summary Get presigned get url
|
|
4630
|
+
* @summary Get presigned get group url
|
|
4631
|
+
* @param {string} groupId
|
|
4539
4632
|
* @param {string} filepath
|
|
4540
4633
|
* @param {*} [options] Override http request option.
|
|
4541
4634
|
* @throws {RequiredError}
|
|
4542
4635
|
*/
|
|
4543
|
-
|
|
4636
|
+
filesV1ControllerGetGroupPresignedGetUrl: async (groupId: string, filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4637
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
4638
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'groupId', groupId)
|
|
4544
4639
|
// verify required parameter 'filepath' is not null or undefined
|
|
4545
|
-
assertParamExists('
|
|
4546
|
-
const localVarPath = `/api/files/v1/
|
|
4640
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'filepath', filepath)
|
|
4641
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url/{filepath}`
|
|
4642
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
|
|
4547
4643
|
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4548
4644
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4549
4645
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4576,14 +4672,102 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4576
4672
|
},
|
|
4577
4673
|
/**
|
|
4578
4674
|
*
|
|
4579
|
-
* @summary Get presigned post url
|
|
4675
|
+
* @summary Get presigned post group url
|
|
4676
|
+
* @param {string} groupId
|
|
4677
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
4678
|
+
* @param {*} [options] Override http request option.
|
|
4679
|
+
* @throws {RequiredError}
|
|
4680
|
+
*/
|
|
4681
|
+
filesV1ControllerGetGroupPresignedPostUrl: async (groupId: string, groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4682
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
4683
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupId', groupId)
|
|
4684
|
+
// verify required parameter 'groupGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4685
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupGetPresignedPostUrlRequestDto', groupGetPresignedPostUrlRequestDto)
|
|
4686
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url`
|
|
4687
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
4688
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4689
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4690
|
+
let baseOptions;
|
|
4691
|
+
if (configuration) {
|
|
4692
|
+
baseOptions = configuration.baseOptions;
|
|
4693
|
+
}
|
|
4694
|
+
|
|
4695
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4696
|
+
const localVarHeaderParameter = {} as any;
|
|
4697
|
+
const localVarQueryParameter = {} as any;
|
|
4698
|
+
|
|
4699
|
+
// authentication apiKey required
|
|
4700
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4701
|
+
|
|
4702
|
+
// authentication bearer required
|
|
4703
|
+
// http bearer authentication required
|
|
4704
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4705
|
+
|
|
4706
|
+
|
|
4707
|
+
|
|
4708
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4709
|
+
|
|
4710
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4711
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4712
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4713
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4714
|
+
|
|
4715
|
+
return {
|
|
4716
|
+
url: toPathString(localVarUrlObj),
|
|
4717
|
+
options: localVarRequestOptions,
|
|
4718
|
+
};
|
|
4719
|
+
},
|
|
4720
|
+
/**
|
|
4721
|
+
*
|
|
4722
|
+
* @summary Get presigned public get url
|
|
4723
|
+
* @param {string} filepath
|
|
4724
|
+
* @param {*} [options] Override http request option.
|
|
4725
|
+
* @throws {RequiredError}
|
|
4726
|
+
*/
|
|
4727
|
+
filesV1ControllerGetPublicPresignedGetUrl: async (filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4728
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
4729
|
+
assertParamExists('filesV1ControllerGetPublicPresignedGetUrl', 'filepath', filepath)
|
|
4730
|
+
const localVarPath = `/api/files/v1/public/presigned-url/{filepath}`
|
|
4731
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4732
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4733
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4734
|
+
let baseOptions;
|
|
4735
|
+
if (configuration) {
|
|
4736
|
+
baseOptions = configuration.baseOptions;
|
|
4737
|
+
}
|
|
4738
|
+
|
|
4739
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4740
|
+
const localVarHeaderParameter = {} as any;
|
|
4741
|
+
const localVarQueryParameter = {} as any;
|
|
4742
|
+
|
|
4743
|
+
// authentication apiKey required
|
|
4744
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4745
|
+
|
|
4746
|
+
// authentication bearer required
|
|
4747
|
+
// http bearer authentication required
|
|
4748
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4749
|
+
|
|
4750
|
+
|
|
4751
|
+
|
|
4752
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4753
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4754
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4755
|
+
|
|
4756
|
+
return {
|
|
4757
|
+
url: toPathString(localVarUrlObj),
|
|
4758
|
+
options: localVarRequestOptions,
|
|
4759
|
+
};
|
|
4760
|
+
},
|
|
4761
|
+
/**
|
|
4762
|
+
*
|
|
4763
|
+
* @summary Get presigned public post url
|
|
4580
4764
|
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
4581
4765
|
* @param {*} [options] Override http request option.
|
|
4582
4766
|
* @throws {RequiredError}
|
|
4583
4767
|
*/
|
|
4584
|
-
|
|
4768
|
+
filesV1ControllerGetPublicPresignedPostUrl: async (publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4585
4769
|
// verify required parameter 'publicGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4586
|
-
assertParamExists('
|
|
4770
|
+
assertParamExists('filesV1ControllerGetPublicPresignedPostUrl', 'publicGetPresignedPostUrlRequestDto', publicGetPresignedPostUrlRequestDto)
|
|
4587
4771
|
const localVarPath = `/api/files/v1/public/presigned-url`;
|
|
4588
4772
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4589
4773
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4612,6 +4796,98 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4612
4796
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4613
4797
|
localVarRequestOptions.data = serializeDataIfNeeded(publicGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4614
4798
|
|
|
4799
|
+
return {
|
|
4800
|
+
url: toPathString(localVarUrlObj),
|
|
4801
|
+
options: localVarRequestOptions,
|
|
4802
|
+
};
|
|
4803
|
+
},
|
|
4804
|
+
/**
|
|
4805
|
+
*
|
|
4806
|
+
* @summary Get presigned get url
|
|
4807
|
+
* @param {string} userId
|
|
4808
|
+
* @param {string} filepath
|
|
4809
|
+
* @param {*} [options] Override http request option.
|
|
4810
|
+
* @throws {RequiredError}
|
|
4811
|
+
*/
|
|
4812
|
+
filesV1ControllerGetUserPresignedGetUrl: async (userId: string, filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4813
|
+
// verify required parameter 'userId' is not null or undefined
|
|
4814
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'userId', userId)
|
|
4815
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
4816
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'filepath', filepath)
|
|
4817
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url/{filepath}`
|
|
4818
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
4819
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4820
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4822
|
+
let baseOptions;
|
|
4823
|
+
if (configuration) {
|
|
4824
|
+
baseOptions = configuration.baseOptions;
|
|
4825
|
+
}
|
|
4826
|
+
|
|
4827
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4828
|
+
const localVarHeaderParameter = {} as any;
|
|
4829
|
+
const localVarQueryParameter = {} as any;
|
|
4830
|
+
|
|
4831
|
+
// authentication apiKey required
|
|
4832
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4833
|
+
|
|
4834
|
+
// authentication bearer required
|
|
4835
|
+
// http bearer authentication required
|
|
4836
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4837
|
+
|
|
4838
|
+
|
|
4839
|
+
|
|
4840
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4841
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4842
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4843
|
+
|
|
4844
|
+
return {
|
|
4845
|
+
url: toPathString(localVarUrlObj),
|
|
4846
|
+
options: localVarRequestOptions,
|
|
4847
|
+
};
|
|
4848
|
+
},
|
|
4849
|
+
/**
|
|
4850
|
+
*
|
|
4851
|
+
* @summary Get presigned post url
|
|
4852
|
+
* @param {string} userId
|
|
4853
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
4854
|
+
* @param {*} [options] Override http request option.
|
|
4855
|
+
* @throws {RequiredError}
|
|
4856
|
+
*/
|
|
4857
|
+
filesV1ControllerGetUserPresignedPostUrl: async (userId: string, userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4858
|
+
// verify required parameter 'userId' is not null or undefined
|
|
4859
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userId', userId)
|
|
4860
|
+
// verify required parameter 'userGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4861
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userGetPresignedPostUrlRequestDto', userGetPresignedPostUrlRequestDto)
|
|
4862
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url`
|
|
4863
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
4864
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4865
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4866
|
+
let baseOptions;
|
|
4867
|
+
if (configuration) {
|
|
4868
|
+
baseOptions = configuration.baseOptions;
|
|
4869
|
+
}
|
|
4870
|
+
|
|
4871
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4872
|
+
const localVarHeaderParameter = {} as any;
|
|
4873
|
+
const localVarQueryParameter = {} as any;
|
|
4874
|
+
|
|
4875
|
+
// authentication apiKey required
|
|
4876
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4877
|
+
|
|
4878
|
+
// authentication bearer required
|
|
4879
|
+
// http bearer authentication required
|
|
4880
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4881
|
+
|
|
4882
|
+
|
|
4883
|
+
|
|
4884
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4885
|
+
|
|
4886
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4887
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4888
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4889
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4890
|
+
|
|
4615
4891
|
return {
|
|
4616
4892
|
url: toPathString(localVarUrlObj),
|
|
4617
4893
|
options: localVarRequestOptions,
|
|
@@ -4639,30 +4915,86 @@ export const FilesV1ApiFp = function(configuration?: Configuration) {
|
|
|
4639
4915
|
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetBuckets']?.[localVarOperationServerIndex]?.url;
|
|
4640
4916
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4641
4917
|
},
|
|
4918
|
+
/**
|
|
4919
|
+
*
|
|
4920
|
+
* @summary Get presigned get group url
|
|
4921
|
+
* @param {string} groupId
|
|
4922
|
+
* @param {string} filepath
|
|
4923
|
+
* @param {*} [options] Override http request option.
|
|
4924
|
+
* @throws {RequiredError}
|
|
4925
|
+
*/
|
|
4926
|
+
async filesV1ControllerGetGroupPresignedGetUrl(groupId: string, filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4927
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options);
|
|
4928
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4929
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4930
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4931
|
+
},
|
|
4932
|
+
/**
|
|
4933
|
+
*
|
|
4934
|
+
* @summary Get presigned post group url
|
|
4935
|
+
* @param {string} groupId
|
|
4936
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
4937
|
+
* @param {*} [options] Override http request option.
|
|
4938
|
+
* @throws {RequiredError}
|
|
4939
|
+
*/
|
|
4940
|
+
async filesV1ControllerGetGroupPresignedPostUrl(groupId: string, groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4941
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options);
|
|
4942
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4943
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4944
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4945
|
+
},
|
|
4946
|
+
/**
|
|
4947
|
+
*
|
|
4948
|
+
* @summary Get presigned public get url
|
|
4949
|
+
* @param {string} filepath
|
|
4950
|
+
* @param {*} [options] Override http request option.
|
|
4951
|
+
* @throws {RequiredError}
|
|
4952
|
+
*/
|
|
4953
|
+
async filesV1ControllerGetPublicPresignedGetUrl(filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4954
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedGetUrl(filepath, options);
|
|
4955
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4956
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4957
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4958
|
+
},
|
|
4959
|
+
/**
|
|
4960
|
+
*
|
|
4961
|
+
* @summary Get presigned public post url
|
|
4962
|
+
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
4963
|
+
* @param {*} [options] Override http request option.
|
|
4964
|
+
* @throws {RequiredError}
|
|
4965
|
+
*/
|
|
4966
|
+
async filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4967
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options);
|
|
4968
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4969
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4970
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4971
|
+
},
|
|
4642
4972
|
/**
|
|
4643
4973
|
*
|
|
4644
4974
|
* @summary Get presigned get url
|
|
4975
|
+
* @param {string} userId
|
|
4645
4976
|
* @param {string} filepath
|
|
4646
4977
|
* @param {*} [options] Override http request option.
|
|
4647
4978
|
* @throws {RequiredError}
|
|
4648
4979
|
*/
|
|
4649
|
-
async
|
|
4650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4980
|
+
async filesV1ControllerGetUserPresignedGetUrl(userId: string, filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4981
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options);
|
|
4651
4982
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4652
|
-
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.
|
|
4983
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4653
4984
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4654
4985
|
},
|
|
4655
4986
|
/**
|
|
4656
4987
|
*
|
|
4657
4988
|
* @summary Get presigned post url
|
|
4658
|
-
* @param {
|
|
4989
|
+
* @param {string} userId
|
|
4990
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
4659
4991
|
* @param {*} [options] Override http request option.
|
|
4660
4992
|
* @throws {RequiredError}
|
|
4661
4993
|
*/
|
|
4662
|
-
async
|
|
4663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4994
|
+
async filesV1ControllerGetUserPresignedPostUrl(userId: string, userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4995
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options);
|
|
4664
4996
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4665
|
-
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.
|
|
4997
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4666
4998
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4667
4999
|
},
|
|
4668
5000
|
}
|
|
@@ -4684,25 +5016,65 @@ export const FilesV1ApiFactory = function (configuration?: Configuration, basePa
|
|
|
4684
5016
|
filesV1ControllerGetBuckets(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
4685
5017
|
return localVarFp.filesV1ControllerGetBuckets(options).then((request) => request(axios, basePath));
|
|
4686
5018
|
},
|
|
5019
|
+
/**
|
|
5020
|
+
*
|
|
5021
|
+
* @summary Get presigned get group url
|
|
5022
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5023
|
+
* @param {*} [options] Override http request option.
|
|
5024
|
+
* @throws {RequiredError}
|
|
5025
|
+
*/
|
|
5026
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5027
|
+
return localVarFp.filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
5028
|
+
},
|
|
5029
|
+
/**
|
|
5030
|
+
*
|
|
5031
|
+
* @summary Get presigned post group url
|
|
5032
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5033
|
+
* @param {*} [options] Override http request option.
|
|
5034
|
+
* @throws {RequiredError}
|
|
5035
|
+
*/
|
|
5036
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5037
|
+
return localVarFp.filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
5038
|
+
},
|
|
5039
|
+
/**
|
|
5040
|
+
*
|
|
5041
|
+
* @summary Get presigned public get url
|
|
5042
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5043
|
+
* @param {*} [options] Override http request option.
|
|
5044
|
+
* @throws {RequiredError}
|
|
5045
|
+
*/
|
|
5046
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5047
|
+
return localVarFp.filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
5048
|
+
},
|
|
5049
|
+
/**
|
|
5050
|
+
*
|
|
5051
|
+
* @summary Get presigned public post url
|
|
5052
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5053
|
+
* @param {*} [options] Override http request option.
|
|
5054
|
+
* @throws {RequiredError}
|
|
5055
|
+
*/
|
|
5056
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5057
|
+
return localVarFp.filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
5058
|
+
},
|
|
4687
5059
|
/**
|
|
4688
5060
|
*
|
|
4689
5061
|
* @summary Get presigned get url
|
|
4690
|
-
* @param {
|
|
5062
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4691
5063
|
* @param {*} [options] Override http request option.
|
|
4692
5064
|
* @throws {RequiredError}
|
|
4693
5065
|
*/
|
|
4694
|
-
|
|
4695
|
-
return localVarFp.
|
|
5066
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5067
|
+
return localVarFp.filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
4696
5068
|
},
|
|
4697
5069
|
/**
|
|
4698
5070
|
*
|
|
4699
5071
|
* @summary Get presigned post url
|
|
4700
|
-
* @param {
|
|
5072
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4701
5073
|
* @param {*} [options] Override http request option.
|
|
4702
5074
|
* @throws {RequiredError}
|
|
4703
5075
|
*/
|
|
4704
|
-
|
|
4705
|
-
return localVarFp.
|
|
5076
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5077
|
+
return localVarFp.filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
4706
5078
|
},
|
|
4707
5079
|
};
|
|
4708
5080
|
};
|
|
@@ -4722,56 +5094,180 @@ export interface FilesV1ApiInterface {
|
|
|
4722
5094
|
*/
|
|
4723
5095
|
filesV1ControllerGetBuckets(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
4724
5096
|
|
|
5097
|
+
/**
|
|
5098
|
+
*
|
|
5099
|
+
* @summary Get presigned get group url
|
|
5100
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5101
|
+
* @param {*} [options] Override http request option.
|
|
5102
|
+
* @throws {RequiredError}
|
|
5103
|
+
* @memberof FilesV1ApiInterface
|
|
5104
|
+
*/
|
|
5105
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
5106
|
+
|
|
5107
|
+
/**
|
|
5108
|
+
*
|
|
5109
|
+
* @summary Get presigned post group url
|
|
5110
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5111
|
+
* @param {*} [options] Override http request option.
|
|
5112
|
+
* @throws {RequiredError}
|
|
5113
|
+
* @memberof FilesV1ApiInterface
|
|
5114
|
+
*/
|
|
5115
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
5116
|
+
|
|
5117
|
+
/**
|
|
5118
|
+
*
|
|
5119
|
+
* @summary Get presigned public get url
|
|
5120
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5121
|
+
* @param {*} [options] Override http request option.
|
|
5122
|
+
* @throws {RequiredError}
|
|
5123
|
+
* @memberof FilesV1ApiInterface
|
|
5124
|
+
*/
|
|
5125
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
5126
|
+
|
|
5127
|
+
/**
|
|
5128
|
+
*
|
|
5129
|
+
* @summary Get presigned public post url
|
|
5130
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5131
|
+
* @param {*} [options] Override http request option.
|
|
5132
|
+
* @throws {RequiredError}
|
|
5133
|
+
* @memberof FilesV1ApiInterface
|
|
5134
|
+
*/
|
|
5135
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
5136
|
+
|
|
4725
5137
|
/**
|
|
4726
5138
|
*
|
|
4727
5139
|
* @summary Get presigned get url
|
|
4728
|
-
* @param {
|
|
5140
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4729
5141
|
* @param {*} [options] Override http request option.
|
|
4730
5142
|
* @throws {RequiredError}
|
|
4731
5143
|
* @memberof FilesV1ApiInterface
|
|
4732
5144
|
*/
|
|
4733
|
-
|
|
5145
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
4734
5146
|
|
|
4735
5147
|
/**
|
|
4736
5148
|
*
|
|
4737
5149
|
* @summary Get presigned post url
|
|
4738
|
-
* @param {
|
|
5150
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4739
5151
|
* @param {*} [options] Override http request option.
|
|
4740
5152
|
* @throws {RequiredError}
|
|
4741
5153
|
* @memberof FilesV1ApiInterface
|
|
4742
5154
|
*/
|
|
4743
|
-
|
|
5155
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
4744
5156
|
|
|
4745
5157
|
}
|
|
4746
5158
|
|
|
4747
5159
|
/**
|
|
4748
|
-
* Request parameters for
|
|
5160
|
+
* Request parameters for filesV1ControllerGetGroupPresignedGetUrl operation in FilesV1Api.
|
|
4749
5161
|
* @export
|
|
4750
|
-
* @interface
|
|
5162
|
+
* @interface FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest
|
|
4751
5163
|
*/
|
|
4752
|
-
export interface
|
|
5164
|
+
export interface FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest {
|
|
5165
|
+
/**
|
|
5166
|
+
*
|
|
5167
|
+
* @type {string}
|
|
5168
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrl
|
|
5169
|
+
*/
|
|
5170
|
+
readonly groupId: string
|
|
5171
|
+
|
|
4753
5172
|
/**
|
|
4754
5173
|
*
|
|
4755
5174
|
* @type {string}
|
|
4756
|
-
* @memberof
|
|
5175
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrl
|
|
4757
5176
|
*/
|
|
4758
5177
|
readonly filepath: string
|
|
4759
5178
|
}
|
|
4760
5179
|
|
|
4761
5180
|
/**
|
|
4762
|
-
* Request parameters for
|
|
5181
|
+
* Request parameters for filesV1ControllerGetGroupPresignedPostUrl operation in FilesV1Api.
|
|
4763
5182
|
* @export
|
|
4764
|
-
* @interface
|
|
5183
|
+
* @interface FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest
|
|
4765
5184
|
*/
|
|
4766
|
-
export interface
|
|
5185
|
+
export interface FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest {
|
|
5186
|
+
/**
|
|
5187
|
+
*
|
|
5188
|
+
* @type {string}
|
|
5189
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrl
|
|
5190
|
+
*/
|
|
5191
|
+
readonly groupId: string
|
|
5192
|
+
|
|
5193
|
+
/**
|
|
5194
|
+
*
|
|
5195
|
+
* @type {GroupGetPresignedPostUrlRequestDto}
|
|
5196
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrl
|
|
5197
|
+
*/
|
|
5198
|
+
readonly groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto
|
|
5199
|
+
}
|
|
5200
|
+
|
|
5201
|
+
/**
|
|
5202
|
+
* Request parameters for filesV1ControllerGetPublicPresignedGetUrl operation in FilesV1Api.
|
|
5203
|
+
* @export
|
|
5204
|
+
* @interface FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest
|
|
5205
|
+
*/
|
|
5206
|
+
export interface FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest {
|
|
5207
|
+
/**
|
|
5208
|
+
*
|
|
5209
|
+
* @type {string}
|
|
5210
|
+
* @memberof FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrl
|
|
5211
|
+
*/
|
|
5212
|
+
readonly filepath: string
|
|
5213
|
+
}
|
|
5214
|
+
|
|
5215
|
+
/**
|
|
5216
|
+
* Request parameters for filesV1ControllerGetPublicPresignedPostUrl operation in FilesV1Api.
|
|
5217
|
+
* @export
|
|
5218
|
+
* @interface FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest
|
|
5219
|
+
*/
|
|
5220
|
+
export interface FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest {
|
|
4767
5221
|
/**
|
|
4768
5222
|
*
|
|
4769
5223
|
* @type {PublicGetPresignedPostUrlRequestDto}
|
|
4770
|
-
* @memberof
|
|
5224
|
+
* @memberof FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrl
|
|
4771
5225
|
*/
|
|
4772
5226
|
readonly publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto
|
|
4773
5227
|
}
|
|
4774
5228
|
|
|
5229
|
+
/**
|
|
5230
|
+
* Request parameters for filesV1ControllerGetUserPresignedGetUrl operation in FilesV1Api.
|
|
5231
|
+
* @export
|
|
5232
|
+
* @interface FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest
|
|
5233
|
+
*/
|
|
5234
|
+
export interface FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest {
|
|
5235
|
+
/**
|
|
5236
|
+
*
|
|
5237
|
+
* @type {string}
|
|
5238
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedGetUrl
|
|
5239
|
+
*/
|
|
5240
|
+
readonly userId: string
|
|
5241
|
+
|
|
5242
|
+
/**
|
|
5243
|
+
*
|
|
5244
|
+
* @type {string}
|
|
5245
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedGetUrl
|
|
5246
|
+
*/
|
|
5247
|
+
readonly filepath: string
|
|
5248
|
+
}
|
|
5249
|
+
|
|
5250
|
+
/**
|
|
5251
|
+
* Request parameters for filesV1ControllerGetUserPresignedPostUrl operation in FilesV1Api.
|
|
5252
|
+
* @export
|
|
5253
|
+
* @interface FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest
|
|
5254
|
+
*/
|
|
5255
|
+
export interface FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest {
|
|
5256
|
+
/**
|
|
5257
|
+
*
|
|
5258
|
+
* @type {string}
|
|
5259
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedPostUrl
|
|
5260
|
+
*/
|
|
5261
|
+
readonly userId: string
|
|
5262
|
+
|
|
5263
|
+
/**
|
|
5264
|
+
*
|
|
5265
|
+
* @type {UserGetPresignedPostUrlRequestDto}
|
|
5266
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedPostUrl
|
|
5267
|
+
*/
|
|
5268
|
+
readonly userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto
|
|
5269
|
+
}
|
|
5270
|
+
|
|
4775
5271
|
/**
|
|
4776
5272
|
* FilesV1Api - object-oriented interface
|
|
4777
5273
|
* @export
|
|
@@ -4790,28 +5286,76 @@ export class FilesV1Api extends BaseAPI implements FilesV1ApiInterface {
|
|
|
4790
5286
|
return FilesV1ApiFp(this.configuration).filesV1ControllerGetBuckets(options).then((request) => request(this.axios, this.basePath));
|
|
4791
5287
|
}
|
|
4792
5288
|
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @summary Get presigned get group url
|
|
5292
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5293
|
+
* @param {*} [options] Override http request option.
|
|
5294
|
+
* @throws {RequiredError}
|
|
5295
|
+
* @memberof FilesV1Api
|
|
5296
|
+
*/
|
|
5297
|
+
public filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5298
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
5299
|
+
}
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
*
|
|
5303
|
+
* @summary Get presigned post group url
|
|
5304
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5305
|
+
* @param {*} [options] Override http request option.
|
|
5306
|
+
* @throws {RequiredError}
|
|
5307
|
+
* @memberof FilesV1Api
|
|
5308
|
+
*/
|
|
5309
|
+
public filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5310
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
5311
|
+
}
|
|
5312
|
+
|
|
5313
|
+
/**
|
|
5314
|
+
*
|
|
5315
|
+
* @summary Get presigned public get url
|
|
5316
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5317
|
+
* @param {*} [options] Override http request option.
|
|
5318
|
+
* @throws {RequiredError}
|
|
5319
|
+
* @memberof FilesV1Api
|
|
5320
|
+
*/
|
|
5321
|
+
public filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5322
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
5323
|
+
}
|
|
5324
|
+
|
|
5325
|
+
/**
|
|
5326
|
+
*
|
|
5327
|
+
* @summary Get presigned public post url
|
|
5328
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5329
|
+
* @param {*} [options] Override http request option.
|
|
5330
|
+
* @throws {RequiredError}
|
|
5331
|
+
* @memberof FilesV1Api
|
|
5332
|
+
*/
|
|
5333
|
+
public filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5334
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
5335
|
+
}
|
|
5336
|
+
|
|
4793
5337
|
/**
|
|
4794
5338
|
*
|
|
4795
5339
|
* @summary Get presigned get url
|
|
4796
|
-
* @param {
|
|
5340
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4797
5341
|
* @param {*} [options] Override http request option.
|
|
4798
5342
|
* @throws {RequiredError}
|
|
4799
5343
|
* @memberof FilesV1Api
|
|
4800
5344
|
*/
|
|
4801
|
-
public
|
|
4802
|
-
return FilesV1ApiFp(this.configuration).
|
|
5345
|
+
public filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5346
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
4803
5347
|
}
|
|
4804
5348
|
|
|
4805
5349
|
/**
|
|
4806
5350
|
*
|
|
4807
5351
|
* @summary Get presigned post url
|
|
4808
|
-
* @param {
|
|
5352
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4809
5353
|
* @param {*} [options] Override http request option.
|
|
4810
5354
|
* @throws {RequiredError}
|
|
4811
5355
|
* @memberof FilesV1Api
|
|
4812
5356
|
*/
|
|
4813
|
-
public
|
|
4814
|
-
return FilesV1ApiFp(this.configuration).
|
|
5357
|
+
public filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5358
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
4815
5359
|
}
|
|
4816
5360
|
}
|
|
4817
5361
|
|