@dimrev4/fitness-v3-backend 0.0.35 → 0.0.36
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 +558 -38
- package/dist/api.d.ts +346 -26
- package/dist/api.js +332 -26
- package/dist/esm/api.d.ts +346 -26
- package/dist/esm/api.js +332 -26
- package/docs/FilesV1Api.md +238 -8
- package/docs/GroupGetPresignedPostUrlRequestDto.md +28 -0
- package/docs/UserGetPresignedPostUrlRequestDto.md +26 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -1292,6 +1292,43 @@ 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
|
+
}
|
|
1295
1332
|
/**
|
|
1296
1333
|
*
|
|
1297
1334
|
* @export
|
|
@@ -2858,6 +2895,37 @@ export interface UserDto {
|
|
|
2858
2895
|
*/
|
|
2859
2896
|
'deletedAt': object | null;
|
|
2860
2897
|
}
|
|
2898
|
+
/**
|
|
2899
|
+
*
|
|
2900
|
+
* @export
|
|
2901
|
+
* @interface UserGetPresignedPostUrlRequestDto
|
|
2902
|
+
*/
|
|
2903
|
+
export interface UserGetPresignedPostUrlRequestDto {
|
|
2904
|
+
/**
|
|
2905
|
+
* Original filename
|
|
2906
|
+
* @type {string}
|
|
2907
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2908
|
+
*/
|
|
2909
|
+
'filename': string;
|
|
2910
|
+
/**
|
|
2911
|
+
* Subject folder
|
|
2912
|
+
* @type {string}
|
|
2913
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2914
|
+
*/
|
|
2915
|
+
'subject': string;
|
|
2916
|
+
/**
|
|
2917
|
+
* SHA-256 checksum of the file
|
|
2918
|
+
* @type {string}
|
|
2919
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2920
|
+
*/
|
|
2921
|
+
'fileShaCheckSum': string;
|
|
2922
|
+
/**
|
|
2923
|
+
* MIME type of the file
|
|
2924
|
+
* @type {string}
|
|
2925
|
+
* @memberof UserGetPresignedPostUrlRequestDto
|
|
2926
|
+
*/
|
|
2927
|
+
'mimetype': string;
|
|
2928
|
+
}
|
|
2861
2929
|
/**
|
|
2862
2930
|
*
|
|
2863
2931
|
* @export
|
|
@@ -4535,15 +4603,19 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4535
4603
|
},
|
|
4536
4604
|
/**
|
|
4537
4605
|
*
|
|
4538
|
-
* @summary Get presigned get url
|
|
4606
|
+
* @summary Get presigned get group url
|
|
4607
|
+
* @param {string} groupId
|
|
4539
4608
|
* @param {string} filepath
|
|
4540
4609
|
* @param {*} [options] Override http request option.
|
|
4541
4610
|
* @throws {RequiredError}
|
|
4542
4611
|
*/
|
|
4543
|
-
|
|
4612
|
+
filesV1ControllerGetGroupPresignedGetUrl: async (groupId: string, filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4613
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
4614
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'groupId', groupId)
|
|
4544
4615
|
// verify required parameter 'filepath' is not null or undefined
|
|
4545
|
-
assertParamExists('
|
|
4546
|
-
const localVarPath = `/api/files/v1/
|
|
4616
|
+
assertParamExists('filesV1ControllerGetGroupPresignedGetUrl', 'filepath', filepath)
|
|
4617
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url/{filepath}`
|
|
4618
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)))
|
|
4547
4619
|
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4548
4620
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4549
4621
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4576,14 +4648,102 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4576
4648
|
},
|
|
4577
4649
|
/**
|
|
4578
4650
|
*
|
|
4579
|
-
* @summary Get presigned post url
|
|
4651
|
+
* @summary Get presigned post group url
|
|
4652
|
+
* @param {string} groupId
|
|
4653
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
4654
|
+
* @param {*} [options] Override http request option.
|
|
4655
|
+
* @throws {RequiredError}
|
|
4656
|
+
*/
|
|
4657
|
+
filesV1ControllerGetGroupPresignedPostUrl: async (groupId: string, groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4658
|
+
// verify required parameter 'groupId' is not null or undefined
|
|
4659
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupId', groupId)
|
|
4660
|
+
// verify required parameter 'groupGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4661
|
+
assertParamExists('filesV1ControllerGetGroupPresignedPostUrl', 'groupGetPresignedPostUrlRequestDto', groupGetPresignedPostUrlRequestDto)
|
|
4662
|
+
const localVarPath = `/api/files/v1/group/{groupId}/presigned-url`
|
|
4663
|
+
.replace(`{${"groupId"}}`, encodeURIComponent(String(groupId)));
|
|
4664
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4665
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4666
|
+
let baseOptions;
|
|
4667
|
+
if (configuration) {
|
|
4668
|
+
baseOptions = configuration.baseOptions;
|
|
4669
|
+
}
|
|
4670
|
+
|
|
4671
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4672
|
+
const localVarHeaderParameter = {} as any;
|
|
4673
|
+
const localVarQueryParameter = {} as any;
|
|
4674
|
+
|
|
4675
|
+
// authentication apiKey required
|
|
4676
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4677
|
+
|
|
4678
|
+
// authentication bearer required
|
|
4679
|
+
// http bearer authentication required
|
|
4680
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4681
|
+
|
|
4682
|
+
|
|
4683
|
+
|
|
4684
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4685
|
+
|
|
4686
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4687
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4688
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4689
|
+
localVarRequestOptions.data = serializeDataIfNeeded(groupGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4690
|
+
|
|
4691
|
+
return {
|
|
4692
|
+
url: toPathString(localVarUrlObj),
|
|
4693
|
+
options: localVarRequestOptions,
|
|
4694
|
+
};
|
|
4695
|
+
},
|
|
4696
|
+
/**
|
|
4697
|
+
*
|
|
4698
|
+
* @summary Get presigned public get url
|
|
4699
|
+
* @param {string} filepath
|
|
4700
|
+
* @param {*} [options] Override http request option.
|
|
4701
|
+
* @throws {RequiredError}
|
|
4702
|
+
*/
|
|
4703
|
+
filesV1ControllerGetPublicPresignedGetUrl: async (filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4704
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
4705
|
+
assertParamExists('filesV1ControllerGetPublicPresignedGetUrl', 'filepath', filepath)
|
|
4706
|
+
const localVarPath = `/api/files/v1/public/presigned-url/{filepath}`
|
|
4707
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4708
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4709
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4710
|
+
let baseOptions;
|
|
4711
|
+
if (configuration) {
|
|
4712
|
+
baseOptions = configuration.baseOptions;
|
|
4713
|
+
}
|
|
4714
|
+
|
|
4715
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4716
|
+
const localVarHeaderParameter = {} as any;
|
|
4717
|
+
const localVarQueryParameter = {} as any;
|
|
4718
|
+
|
|
4719
|
+
// authentication apiKey required
|
|
4720
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4721
|
+
|
|
4722
|
+
// authentication bearer required
|
|
4723
|
+
// http bearer authentication required
|
|
4724
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4725
|
+
|
|
4726
|
+
|
|
4727
|
+
|
|
4728
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4729
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4730
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4731
|
+
|
|
4732
|
+
return {
|
|
4733
|
+
url: toPathString(localVarUrlObj),
|
|
4734
|
+
options: localVarRequestOptions,
|
|
4735
|
+
};
|
|
4736
|
+
},
|
|
4737
|
+
/**
|
|
4738
|
+
*
|
|
4739
|
+
* @summary Get presigned public post url
|
|
4580
4740
|
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
4581
4741
|
* @param {*} [options] Override http request option.
|
|
4582
4742
|
* @throws {RequiredError}
|
|
4583
4743
|
*/
|
|
4584
|
-
|
|
4744
|
+
filesV1ControllerGetPublicPresignedPostUrl: async (publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4585
4745
|
// verify required parameter 'publicGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4586
|
-
assertParamExists('
|
|
4746
|
+
assertParamExists('filesV1ControllerGetPublicPresignedPostUrl', 'publicGetPresignedPostUrlRequestDto', publicGetPresignedPostUrlRequestDto)
|
|
4587
4747
|
const localVarPath = `/api/files/v1/public/presigned-url`;
|
|
4588
4748
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4589
4749
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -4612,6 +4772,98 @@ export const FilesV1ApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
4612
4772
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4613
4773
|
localVarRequestOptions.data = serializeDataIfNeeded(publicGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4614
4774
|
|
|
4775
|
+
return {
|
|
4776
|
+
url: toPathString(localVarUrlObj),
|
|
4777
|
+
options: localVarRequestOptions,
|
|
4778
|
+
};
|
|
4779
|
+
},
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @summary Get presigned get url
|
|
4783
|
+
* @param {string} userId
|
|
4784
|
+
* @param {string} filepath
|
|
4785
|
+
* @param {*} [options] Override http request option.
|
|
4786
|
+
* @throws {RequiredError}
|
|
4787
|
+
*/
|
|
4788
|
+
filesV1ControllerGetUserPresignedGetUrl: async (userId: string, filepath: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4789
|
+
// verify required parameter 'userId' is not null or undefined
|
|
4790
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'userId', userId)
|
|
4791
|
+
// verify required parameter 'filepath' is not null or undefined
|
|
4792
|
+
assertParamExists('filesV1ControllerGetUserPresignedGetUrl', 'filepath', filepath)
|
|
4793
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url/{filepath}`
|
|
4794
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)))
|
|
4795
|
+
.replace(`{${"filepath"}}`, encodeURIComponent(String(filepath)));
|
|
4796
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4797
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4798
|
+
let baseOptions;
|
|
4799
|
+
if (configuration) {
|
|
4800
|
+
baseOptions = configuration.baseOptions;
|
|
4801
|
+
}
|
|
4802
|
+
|
|
4803
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
4804
|
+
const localVarHeaderParameter = {} as any;
|
|
4805
|
+
const localVarQueryParameter = {} as any;
|
|
4806
|
+
|
|
4807
|
+
// authentication apiKey required
|
|
4808
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4809
|
+
|
|
4810
|
+
// authentication bearer required
|
|
4811
|
+
// http bearer authentication required
|
|
4812
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4813
|
+
|
|
4814
|
+
|
|
4815
|
+
|
|
4816
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4817
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4818
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4819
|
+
|
|
4820
|
+
return {
|
|
4821
|
+
url: toPathString(localVarUrlObj),
|
|
4822
|
+
options: localVarRequestOptions,
|
|
4823
|
+
};
|
|
4824
|
+
},
|
|
4825
|
+
/**
|
|
4826
|
+
*
|
|
4827
|
+
* @summary Get presigned post url
|
|
4828
|
+
* @param {string} userId
|
|
4829
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
4830
|
+
* @param {*} [options] Override http request option.
|
|
4831
|
+
* @throws {RequiredError}
|
|
4832
|
+
*/
|
|
4833
|
+
filesV1ControllerGetUserPresignedPostUrl: async (userId: string, userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
4834
|
+
// verify required parameter 'userId' is not null or undefined
|
|
4835
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userId', userId)
|
|
4836
|
+
// verify required parameter 'userGetPresignedPostUrlRequestDto' is not null or undefined
|
|
4837
|
+
assertParamExists('filesV1ControllerGetUserPresignedPostUrl', 'userGetPresignedPostUrlRequestDto', userGetPresignedPostUrlRequestDto)
|
|
4838
|
+
const localVarPath = `/api/files/v1/user/{userId}/presigned-url`
|
|
4839
|
+
.replace(`{${"userId"}}`, encodeURIComponent(String(userId)));
|
|
4840
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
4841
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
4842
|
+
let baseOptions;
|
|
4843
|
+
if (configuration) {
|
|
4844
|
+
baseOptions = configuration.baseOptions;
|
|
4845
|
+
}
|
|
4846
|
+
|
|
4847
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
4848
|
+
const localVarHeaderParameter = {} as any;
|
|
4849
|
+
const localVarQueryParameter = {} as any;
|
|
4850
|
+
|
|
4851
|
+
// authentication apiKey required
|
|
4852
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
4853
|
+
|
|
4854
|
+
// authentication bearer required
|
|
4855
|
+
// http bearer authentication required
|
|
4856
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4857
|
+
|
|
4858
|
+
|
|
4859
|
+
|
|
4860
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4861
|
+
|
|
4862
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4863
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4864
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
4865
|
+
localVarRequestOptions.data = serializeDataIfNeeded(userGetPresignedPostUrlRequestDto, localVarRequestOptions, configuration)
|
|
4866
|
+
|
|
4615
4867
|
return {
|
|
4616
4868
|
url: toPathString(localVarUrlObj),
|
|
4617
4869
|
options: localVarRequestOptions,
|
|
@@ -4639,30 +4891,86 @@ export const FilesV1ApiFp = function(configuration?: Configuration) {
|
|
|
4639
4891
|
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetBuckets']?.[localVarOperationServerIndex]?.url;
|
|
4640
4892
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4641
4893
|
},
|
|
4894
|
+
/**
|
|
4895
|
+
*
|
|
4896
|
+
* @summary Get presigned get group url
|
|
4897
|
+
* @param {string} groupId
|
|
4898
|
+
* @param {string} filepath
|
|
4899
|
+
* @param {*} [options] Override http request option.
|
|
4900
|
+
* @throws {RequiredError}
|
|
4901
|
+
*/
|
|
4902
|
+
async filesV1ControllerGetGroupPresignedGetUrl(groupId: string, filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedGetUrl(groupId, filepath, options);
|
|
4904
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4905
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4906
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4907
|
+
},
|
|
4908
|
+
/**
|
|
4909
|
+
*
|
|
4910
|
+
* @summary Get presigned post group url
|
|
4911
|
+
* @param {string} groupId
|
|
4912
|
+
* @param {GroupGetPresignedPostUrlRequestDto} groupGetPresignedPostUrlRequestDto
|
|
4913
|
+
* @param {*} [options] Override http request option.
|
|
4914
|
+
* @throws {RequiredError}
|
|
4915
|
+
*/
|
|
4916
|
+
async filesV1ControllerGetGroupPresignedPostUrl(groupId: string, groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4917
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetGroupPresignedPostUrl(groupId, groupGetPresignedPostUrlRequestDto, options);
|
|
4918
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4919
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetGroupPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4920
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4921
|
+
},
|
|
4922
|
+
/**
|
|
4923
|
+
*
|
|
4924
|
+
* @summary Get presigned public get url
|
|
4925
|
+
* @param {string} filepath
|
|
4926
|
+
* @param {*} [options] Override http request option.
|
|
4927
|
+
* @throws {RequiredError}
|
|
4928
|
+
*/
|
|
4929
|
+
async filesV1ControllerGetPublicPresignedGetUrl(filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4930
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedGetUrl(filepath, options);
|
|
4931
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4932
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4933
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4934
|
+
},
|
|
4935
|
+
/**
|
|
4936
|
+
*
|
|
4937
|
+
* @summary Get presigned public post url
|
|
4938
|
+
* @param {PublicGetPresignedPostUrlRequestDto} publicGetPresignedPostUrlRequestDto
|
|
4939
|
+
* @param {*} [options] Override http request option.
|
|
4940
|
+
* @throws {RequiredError}
|
|
4941
|
+
*/
|
|
4942
|
+
async filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4943
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetPublicPresignedPostUrl(publicGetPresignedPostUrlRequestDto, options);
|
|
4944
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4945
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetPublicPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4946
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4947
|
+
},
|
|
4642
4948
|
/**
|
|
4643
4949
|
*
|
|
4644
4950
|
* @summary Get presigned get url
|
|
4951
|
+
* @param {string} userId
|
|
4645
4952
|
* @param {string} filepath
|
|
4646
4953
|
* @param {*} [options] Override http request option.
|
|
4647
4954
|
* @throws {RequiredError}
|
|
4648
4955
|
*/
|
|
4649
|
-
async
|
|
4650
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4956
|
+
async filesV1ControllerGetUserPresignedGetUrl(userId: string, filepath: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedGetDataDto>> {
|
|
4957
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetUserPresignedGetUrl(userId, filepath, options);
|
|
4651
4958
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4652
|
-
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.
|
|
4959
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedGetUrl']?.[localVarOperationServerIndex]?.url;
|
|
4653
4960
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4654
4961
|
},
|
|
4655
4962
|
/**
|
|
4656
4963
|
*
|
|
4657
4964
|
* @summary Get presigned post url
|
|
4658
|
-
* @param {
|
|
4965
|
+
* @param {string} userId
|
|
4966
|
+
* @param {UserGetPresignedPostUrlRequestDto} userGetPresignedPostUrlRequestDto
|
|
4659
4967
|
* @param {*} [options] Override http request option.
|
|
4660
4968
|
* @throws {RequiredError}
|
|
4661
4969
|
*/
|
|
4662
|
-
async
|
|
4663
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
4970
|
+
async filesV1ControllerGetUserPresignedPostUrl(userId: string, userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PresignedPostDataDto>> {
|
|
4971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.filesV1ControllerGetUserPresignedPostUrl(userId, userGetPresignedPostUrlRequestDto, options);
|
|
4664
4972
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
4665
|
-
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.
|
|
4973
|
+
const localVarOperationServerBasePath = operationServerMap['FilesV1Api.filesV1ControllerGetUserPresignedPostUrl']?.[localVarOperationServerIndex]?.url;
|
|
4666
4974
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4667
4975
|
},
|
|
4668
4976
|
}
|
|
@@ -4684,25 +4992,65 @@ export const FilesV1ApiFactory = function (configuration?: Configuration, basePa
|
|
|
4684
4992
|
filesV1ControllerGetBuckets(options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
4685
4993
|
return localVarFp.filesV1ControllerGetBuckets(options).then((request) => request(axios, basePath));
|
|
4686
4994
|
},
|
|
4995
|
+
/**
|
|
4996
|
+
*
|
|
4997
|
+
* @summary Get presigned get group url
|
|
4998
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4999
|
+
* @param {*} [options] Override http request option.
|
|
5000
|
+
* @throws {RequiredError}
|
|
5001
|
+
*/
|
|
5002
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5003
|
+
return localVarFp.filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
5004
|
+
},
|
|
5005
|
+
/**
|
|
5006
|
+
*
|
|
5007
|
+
* @summary Get presigned post group url
|
|
5008
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5009
|
+
* @param {*} [options] Override http request option.
|
|
5010
|
+
* @throws {RequiredError}
|
|
5011
|
+
*/
|
|
5012
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5013
|
+
return localVarFp.filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
5014
|
+
},
|
|
5015
|
+
/**
|
|
5016
|
+
*
|
|
5017
|
+
* @summary Get presigned public get url
|
|
5018
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5019
|
+
* @param {*} [options] Override http request option.
|
|
5020
|
+
* @throws {RequiredError}
|
|
5021
|
+
*/
|
|
5022
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5023
|
+
return localVarFp.filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
5024
|
+
},
|
|
5025
|
+
/**
|
|
5026
|
+
*
|
|
5027
|
+
* @summary Get presigned public post url
|
|
5028
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5029
|
+
* @param {*} [options] Override http request option.
|
|
5030
|
+
* @throws {RequiredError}
|
|
5031
|
+
*/
|
|
5032
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5033
|
+
return localVarFp.filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
5034
|
+
},
|
|
4687
5035
|
/**
|
|
4688
5036
|
*
|
|
4689
5037
|
* @summary Get presigned get url
|
|
4690
|
-
* @param {
|
|
5038
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4691
5039
|
* @param {*} [options] Override http request option.
|
|
4692
5040
|
* @throws {RequiredError}
|
|
4693
5041
|
*/
|
|
4694
|
-
|
|
4695
|
-
return localVarFp.
|
|
5042
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto> {
|
|
5043
|
+
return localVarFp.filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(axios, basePath));
|
|
4696
5044
|
},
|
|
4697
5045
|
/**
|
|
4698
5046
|
*
|
|
4699
5047
|
* @summary Get presigned post url
|
|
4700
|
-
* @param {
|
|
5048
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4701
5049
|
* @param {*} [options] Override http request option.
|
|
4702
5050
|
* @throws {RequiredError}
|
|
4703
5051
|
*/
|
|
4704
|
-
|
|
4705
|
-
return localVarFp.
|
|
5052
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto> {
|
|
5053
|
+
return localVarFp.filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(axios, basePath));
|
|
4706
5054
|
},
|
|
4707
5055
|
};
|
|
4708
5056
|
};
|
|
@@ -4722,56 +5070,180 @@ export interface FilesV1ApiInterface {
|
|
|
4722
5070
|
*/
|
|
4723
5071
|
filesV1ControllerGetBuckets(options?: RawAxiosRequestConfig): AxiosPromise<void>;
|
|
4724
5072
|
|
|
5073
|
+
/**
|
|
5074
|
+
*
|
|
5075
|
+
* @summary Get presigned get group url
|
|
5076
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5077
|
+
* @param {*} [options] Override http request option.
|
|
5078
|
+
* @throws {RequiredError}
|
|
5079
|
+
* @memberof FilesV1ApiInterface
|
|
5080
|
+
*/
|
|
5081
|
+
filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
5082
|
+
|
|
5083
|
+
/**
|
|
5084
|
+
*
|
|
5085
|
+
* @summary Get presigned post group url
|
|
5086
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5087
|
+
* @param {*} [options] Override http request option.
|
|
5088
|
+
* @throws {RequiredError}
|
|
5089
|
+
* @memberof FilesV1ApiInterface
|
|
5090
|
+
*/
|
|
5091
|
+
filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
5092
|
+
|
|
5093
|
+
/**
|
|
5094
|
+
*
|
|
5095
|
+
* @summary Get presigned public get url
|
|
5096
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5097
|
+
* @param {*} [options] Override http request option.
|
|
5098
|
+
* @throws {RequiredError}
|
|
5099
|
+
* @memberof FilesV1ApiInterface
|
|
5100
|
+
*/
|
|
5101
|
+
filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
5102
|
+
|
|
5103
|
+
/**
|
|
5104
|
+
*
|
|
5105
|
+
* @summary Get presigned public post url
|
|
5106
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5107
|
+
* @param {*} [options] Override http request option.
|
|
5108
|
+
* @throws {RequiredError}
|
|
5109
|
+
* @memberof FilesV1ApiInterface
|
|
5110
|
+
*/
|
|
5111
|
+
filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
5112
|
+
|
|
4725
5113
|
/**
|
|
4726
5114
|
*
|
|
4727
5115
|
* @summary Get presigned get url
|
|
4728
|
-
* @param {
|
|
5116
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4729
5117
|
* @param {*} [options] Override http request option.
|
|
4730
5118
|
* @throws {RequiredError}
|
|
4731
5119
|
* @memberof FilesV1ApiInterface
|
|
4732
5120
|
*/
|
|
4733
|
-
|
|
5121
|
+
filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedGetDataDto>;
|
|
4734
5122
|
|
|
4735
5123
|
/**
|
|
4736
5124
|
*
|
|
4737
5125
|
* @summary Get presigned post url
|
|
4738
|
-
* @param {
|
|
5126
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4739
5127
|
* @param {*} [options] Override http request option.
|
|
4740
5128
|
* @throws {RequiredError}
|
|
4741
5129
|
* @memberof FilesV1ApiInterface
|
|
4742
5130
|
*/
|
|
4743
|
-
|
|
5131
|
+
filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig): AxiosPromise<PresignedPostDataDto>;
|
|
4744
5132
|
|
|
4745
5133
|
}
|
|
4746
5134
|
|
|
4747
5135
|
/**
|
|
4748
|
-
* Request parameters for
|
|
5136
|
+
* Request parameters for filesV1ControllerGetGroupPresignedGetUrl operation in FilesV1Api.
|
|
4749
5137
|
* @export
|
|
4750
|
-
* @interface
|
|
5138
|
+
* @interface FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest
|
|
4751
5139
|
*/
|
|
4752
|
-
export interface
|
|
5140
|
+
export interface FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest {
|
|
5141
|
+
/**
|
|
5142
|
+
*
|
|
5143
|
+
* @type {string}
|
|
5144
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrl
|
|
5145
|
+
*/
|
|
5146
|
+
readonly groupId: string
|
|
5147
|
+
|
|
4753
5148
|
/**
|
|
4754
5149
|
*
|
|
4755
5150
|
* @type {string}
|
|
4756
|
-
* @memberof
|
|
5151
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrl
|
|
4757
5152
|
*/
|
|
4758
5153
|
readonly filepath: string
|
|
4759
5154
|
}
|
|
4760
5155
|
|
|
4761
5156
|
/**
|
|
4762
|
-
* Request parameters for
|
|
5157
|
+
* Request parameters for filesV1ControllerGetGroupPresignedPostUrl operation in FilesV1Api.
|
|
4763
5158
|
* @export
|
|
4764
|
-
* @interface
|
|
5159
|
+
* @interface FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest
|
|
4765
5160
|
*/
|
|
4766
|
-
export interface
|
|
5161
|
+
export interface FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest {
|
|
5162
|
+
/**
|
|
5163
|
+
*
|
|
5164
|
+
* @type {string}
|
|
5165
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrl
|
|
5166
|
+
*/
|
|
5167
|
+
readonly groupId: string
|
|
5168
|
+
|
|
5169
|
+
/**
|
|
5170
|
+
*
|
|
5171
|
+
* @type {GroupGetPresignedPostUrlRequestDto}
|
|
5172
|
+
* @memberof FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrl
|
|
5173
|
+
*/
|
|
5174
|
+
readonly groupGetPresignedPostUrlRequestDto: GroupGetPresignedPostUrlRequestDto
|
|
5175
|
+
}
|
|
5176
|
+
|
|
5177
|
+
/**
|
|
5178
|
+
* Request parameters for filesV1ControllerGetPublicPresignedGetUrl operation in FilesV1Api.
|
|
5179
|
+
* @export
|
|
5180
|
+
* @interface FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest
|
|
5181
|
+
*/
|
|
5182
|
+
export interface FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest {
|
|
5183
|
+
/**
|
|
5184
|
+
*
|
|
5185
|
+
* @type {string}
|
|
5186
|
+
* @memberof FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrl
|
|
5187
|
+
*/
|
|
5188
|
+
readonly filepath: string
|
|
5189
|
+
}
|
|
5190
|
+
|
|
5191
|
+
/**
|
|
5192
|
+
* Request parameters for filesV1ControllerGetPublicPresignedPostUrl operation in FilesV1Api.
|
|
5193
|
+
* @export
|
|
5194
|
+
* @interface FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest
|
|
5195
|
+
*/
|
|
5196
|
+
export interface FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest {
|
|
4767
5197
|
/**
|
|
4768
5198
|
*
|
|
4769
5199
|
* @type {PublicGetPresignedPostUrlRequestDto}
|
|
4770
|
-
* @memberof
|
|
5200
|
+
* @memberof FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrl
|
|
4771
5201
|
*/
|
|
4772
5202
|
readonly publicGetPresignedPostUrlRequestDto: PublicGetPresignedPostUrlRequestDto
|
|
4773
5203
|
}
|
|
4774
5204
|
|
|
5205
|
+
/**
|
|
5206
|
+
* Request parameters for filesV1ControllerGetUserPresignedGetUrl operation in FilesV1Api.
|
|
5207
|
+
* @export
|
|
5208
|
+
* @interface FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest
|
|
5209
|
+
*/
|
|
5210
|
+
export interface FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest {
|
|
5211
|
+
/**
|
|
5212
|
+
*
|
|
5213
|
+
* @type {string}
|
|
5214
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedGetUrl
|
|
5215
|
+
*/
|
|
5216
|
+
readonly userId: string
|
|
5217
|
+
|
|
5218
|
+
/**
|
|
5219
|
+
*
|
|
5220
|
+
* @type {string}
|
|
5221
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedGetUrl
|
|
5222
|
+
*/
|
|
5223
|
+
readonly filepath: string
|
|
5224
|
+
}
|
|
5225
|
+
|
|
5226
|
+
/**
|
|
5227
|
+
* Request parameters for filesV1ControllerGetUserPresignedPostUrl operation in FilesV1Api.
|
|
5228
|
+
* @export
|
|
5229
|
+
* @interface FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest
|
|
5230
|
+
*/
|
|
5231
|
+
export interface FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest {
|
|
5232
|
+
/**
|
|
5233
|
+
*
|
|
5234
|
+
* @type {string}
|
|
5235
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedPostUrl
|
|
5236
|
+
*/
|
|
5237
|
+
readonly userId: string
|
|
5238
|
+
|
|
5239
|
+
/**
|
|
5240
|
+
*
|
|
5241
|
+
* @type {UserGetPresignedPostUrlRequestDto}
|
|
5242
|
+
* @memberof FilesV1ApiFilesV1ControllerGetUserPresignedPostUrl
|
|
5243
|
+
*/
|
|
5244
|
+
readonly userGetPresignedPostUrlRequestDto: UserGetPresignedPostUrlRequestDto
|
|
5245
|
+
}
|
|
5246
|
+
|
|
4775
5247
|
/**
|
|
4776
5248
|
* FilesV1Api - object-oriented interface
|
|
4777
5249
|
* @export
|
|
@@ -4790,28 +5262,76 @@ export class FilesV1Api extends BaseAPI implements FilesV1ApiInterface {
|
|
|
4790
5262
|
return FilesV1ApiFp(this.configuration).filesV1ControllerGetBuckets(options).then((request) => request(this.axios, this.basePath));
|
|
4791
5263
|
}
|
|
4792
5264
|
|
|
5265
|
+
/**
|
|
5266
|
+
*
|
|
5267
|
+
* @summary Get presigned get group url
|
|
5268
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5269
|
+
* @param {*} [options] Override http request option.
|
|
5270
|
+
* @throws {RequiredError}
|
|
5271
|
+
* @memberof FilesV1Api
|
|
5272
|
+
*/
|
|
5273
|
+
public filesV1ControllerGetGroupPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5274
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedGetUrl(requestParameters.groupId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
5275
|
+
}
|
|
5276
|
+
|
|
5277
|
+
/**
|
|
5278
|
+
*
|
|
5279
|
+
* @summary Get presigned post group url
|
|
5280
|
+
* @param {FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5281
|
+
* @param {*} [options] Override http request option.
|
|
5282
|
+
* @throws {RequiredError}
|
|
5283
|
+
* @memberof FilesV1Api
|
|
5284
|
+
*/
|
|
5285
|
+
public filesV1ControllerGetGroupPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetGroupPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5286
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetGroupPresignedPostUrl(requestParameters.groupId, requestParameters.groupGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
5287
|
+
}
|
|
5288
|
+
|
|
5289
|
+
/**
|
|
5290
|
+
*
|
|
5291
|
+
* @summary Get presigned public get url
|
|
5292
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest} requestParameters Request parameters.
|
|
5293
|
+
* @param {*} [options] Override http request option.
|
|
5294
|
+
* @throws {RequiredError}
|
|
5295
|
+
* @memberof FilesV1Api
|
|
5296
|
+
*/
|
|
5297
|
+
public filesV1ControllerGetPublicPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5298
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedGetUrl(requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
5299
|
+
}
|
|
5300
|
+
|
|
5301
|
+
/**
|
|
5302
|
+
*
|
|
5303
|
+
* @summary Get presigned public post url
|
|
5304
|
+
* @param {FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest} requestParameters Request parameters.
|
|
5305
|
+
* @param {*} [options] Override http request option.
|
|
5306
|
+
* @throws {RequiredError}
|
|
5307
|
+
* @memberof FilesV1Api
|
|
5308
|
+
*/
|
|
5309
|
+
public filesV1ControllerGetPublicPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetPublicPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5310
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetPublicPresignedPostUrl(requestParameters.publicGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
5311
|
+
}
|
|
5312
|
+
|
|
4793
5313
|
/**
|
|
4794
5314
|
*
|
|
4795
5315
|
* @summary Get presigned get url
|
|
4796
|
-
* @param {
|
|
5316
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest} requestParameters Request parameters.
|
|
4797
5317
|
* @param {*} [options] Override http request option.
|
|
4798
5318
|
* @throws {RequiredError}
|
|
4799
5319
|
* @memberof FilesV1Api
|
|
4800
5320
|
*/
|
|
4801
|
-
public
|
|
4802
|
-
return FilesV1ApiFp(this.configuration).
|
|
5321
|
+
public filesV1ControllerGetUserPresignedGetUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedGetUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5322
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedGetUrl(requestParameters.userId, requestParameters.filepath, options).then((request) => request(this.axios, this.basePath));
|
|
4803
5323
|
}
|
|
4804
5324
|
|
|
4805
5325
|
/**
|
|
4806
5326
|
*
|
|
4807
5327
|
* @summary Get presigned post url
|
|
4808
|
-
* @param {
|
|
5328
|
+
* @param {FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest} requestParameters Request parameters.
|
|
4809
5329
|
* @param {*} [options] Override http request option.
|
|
4810
5330
|
* @throws {RequiredError}
|
|
4811
5331
|
* @memberof FilesV1Api
|
|
4812
5332
|
*/
|
|
4813
|
-
public
|
|
4814
|
-
return FilesV1ApiFp(this.configuration).
|
|
5333
|
+
public filesV1ControllerGetUserPresignedPostUrl(requestParameters: FilesV1ApiFilesV1ControllerGetUserPresignedPostUrlRequest, options?: RawAxiosRequestConfig) {
|
|
5334
|
+
return FilesV1ApiFp(this.configuration).filesV1ControllerGetUserPresignedPostUrl(requestParameters.userId, requestParameters.userGetPresignedPostUrlRequestDto, options).then((request) => request(this.axios, this.basePath));
|
|
4815
5335
|
}
|
|
4816
5336
|
}
|
|
4817
5337
|
|