@ -3038,6 +3038,12 @@ export interface SharedLinkCreateDto {
* @memberof SharedLinkCreateDto
* /
'expiresAt' ? : string | null ;
/ * *
*
* @type { string }
* @memberof SharedLinkCreateDto
* /
'password' ? : string ;
/ * *
*
* @type { boolean }
@ -3089,6 +3095,12 @@ export interface SharedLinkEditDto {
* @memberof SharedLinkEditDto
* /
'expiresAt' ? : string | null ;
/ * *
*
* @type { string }
* @memberof SharedLinkEditDto
* /
'password' ? : string ;
/ * *
*
* @type { boolean }
@ -3156,12 +3168,24 @@ export interface SharedLinkResponseDto {
* @memberof SharedLinkResponseDto
* /
'key' : string ;
/ * *
*
* @type { string }
* @memberof SharedLinkResponseDto
* /
'password' : string | null ;
/ * *
*
* @type { boolean }
* @memberof SharedLinkResponseDto
* /
'showMetadata' : boolean ;
/ * *
*
* @type { string }
* @memberof SharedLinkResponseDto
* /
'token' ? : string | null ;
/ * *
*
* @type { SharedLinkType }
@ -13690,11 +13714,13 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur
} ,
/ * *
*
* @param { string } [ password ]
* @param { string } [ token ]
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
getMySharedLink : async ( key?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
getMySharedLink : async ( password?: string , token? : string , key?: string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /shared-link/me ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@ -13716,6 +13742,14 @@ export const SharedLinkApiAxiosParamCreator = function (configuration?: Configur
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( password !== undefined ) {
localVarQueryParameter [ 'password' ] = password ;
}
if ( token !== undefined ) {
localVarQueryParameter [ 'token' ] = token ;
}
if ( key !== undefined ) {
localVarQueryParameter [ 'key' ] = key ;
}
@ -13959,12 +13993,14 @@ export const SharedLinkApiFp = function(configuration?: Configuration) {
} ,
/ * *
*
* @param { string } [ password ]
* @param { string } [ token ]
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async getMySharedLink ( key?: string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < SharedLinkResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getMySharedLink ( key, options ) ;
async getMySharedLink ( password?: string , token? : string , key?: string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < SharedLinkResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getMySharedLink ( password, token , key, options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
@ -14053,7 +14089,7 @@ export const SharedLinkApiFactory = function (configuration?: Configuration, bas
* @throws { RequiredError }
* /
getMySharedLink ( requestParameters : SharedLinkApiGetMySharedLinkRequest = { } , options? : AxiosRequestConfig ) : AxiosPromise < SharedLinkResponseDto > {
return localVarFp . getMySharedLink ( requestParameters . key, options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
return localVarFp . getMySharedLink ( requestParameters . password, requestParameters . token , requestParameters . key, options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
@ -14142,6 +14178,20 @@ export interface SharedLinkApiCreateSharedLinkRequest {
* @interface SharedLinkApiGetMySharedLinkRequest
* /
export interface SharedLinkApiGetMySharedLinkRequest {
/ * *
*
* @type { string }
* @memberof SharedLinkApiGetMySharedLink
* /
readonly password? : string
/ * *
*
* @type { string }
* @memberof SharedLinkApiGetMySharedLink
* /
readonly token? : string
/ * *
*
* @type { string }
@ -14274,7 +14324,7 @@ export class SharedLinkApi extends BaseAPI {
* @memberof SharedLinkApi
* /
public getMySharedLink ( requestParameters : SharedLinkApiGetMySharedLinkRequest = { } , options? : AxiosRequestConfig ) {
return SharedLinkApiFp ( this . configuration ) . getMySharedLink ( requestParameters . key, options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
return SharedLinkApiFp ( this . configuration ) . getMySharedLink ( requestParameters . password, requestParameters . token , requestParameters . key, options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *