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