@ -2383,43 +2383,6 @@ export interface OAuthConfigDto {
* /
'redirectUri' : string ;
}
/ * *
*
* @export
* @interface OAuthConfigResponseDto
* /
export interface OAuthConfigResponseDto {
/ * *
*
* @type { boolean }
* @memberof OAuthConfigResponseDto
* /
'autoLaunch' ? : boolean ;
/ * *
*
* @type { string }
* @memberof OAuthConfigResponseDto
* /
'buttonText' ? : string ;
/ * *
*
* @type { boolean }
* @memberof OAuthConfigResponseDto
* /
'enabled' : boolean ;
/ * *
*
* @type { boolean }
* @memberof OAuthConfigResponseDto
* /
'passwordLoginEnabled' : boolean ;
/ * *
*
* @type { string }
* @memberof OAuthConfigResponseDto
* /
'url' ? : string ;
}
/ * *
*
* @export
@ -6981,140 +6944,6 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { AssetIdsDto } assetIdsDto
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
downloadArchiveOld : async ( assetIdsDto : AssetIdsDto , key? : string , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'assetIdsDto' is not null or undefined
assertParamExists ( 'downloadArchiveOld' , 'assetIdsDto' , assetIdsDto )
const localVarPath = ` /asset/download/archive ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( key !== undefined ) {
localVarQueryParameter [ 'key' ] = key ;
}
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
localVarRequestOptions . data = serializeDataIfNeeded ( assetIdsDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } id
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
downloadFileOld : async ( id : string , key? : string , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'downloadFileOld' , 'id' , id )
const localVarPath = ` /asset/download/{id} `
. replace ( ` { ${ "id" } } ` , encodeURIComponent ( String ( id ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( key !== undefined ) {
localVarQueryParameter [ 'key' ] = key ;
}
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
emptyTrashOld : async ( options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /asset/trash/empty ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
* Get all AssetEntity belong to the user
* @param { string } [ ifNoneMatch ] ETag of data already cached on the client
@ -7230,54 +7059,6 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
* Get a single asset \ ' s information
* @param { string } id
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
getAssetById : async ( id : string , key? : string , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'getAssetById' , 'id' , id )
const localVarPath = ` /asset/assetById/{id} `
. replace ( ` { ${ "id" } } ` , encodeURIComponent ( String ( id ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'GET' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( key !== undefined ) {
localVarQueryParameter [ 'key' ] = key ;
}
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
@ -7553,55 +7334,6 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { DownloadInfoDto } downloadInfoDto
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
getDownloadInfoOld : async ( downloadInfoDto : DownloadInfoDto , key? : string , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'downloadInfoDto' is not null or undefined
assertParamExists ( 'getDownloadInfoOld' , 'downloadInfoDto' , downloadInfoDto )
const localVarPath = ` /asset/download/info ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
if ( key !== undefined ) {
localVarQueryParameter [ 'key' ] = key ;
}
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
localVarRequestOptions . data = serializeDataIfNeeded ( downloadInfoDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } [ fileCreatedAfter ]
@ -7948,14 +7680,14 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
} ,
/ * *
*
* @param { BulkIdsDto} bulkId sDto
* @param { AssetJobsDto} assetJob sDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
r estoreAssetsOld: async ( bulkIdsDto : BulkId sDto, options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter ' bulkId sDto' is not null or undefined
assertParamExists ( 'r estoreAssetsOld', 'bulkIdsDto' , bulkId sDto)
const localVarPath = ` /asset/ restore ` ;
r unAssetJobs: async ( assetJobsDto : AssetJob sDto, options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter ' assetJo bsDto' is not null or undefined
assertParamExists ( 'r unAssetJobs', 'assetJobsDto' , assetJob sDto)
const localVarPath = ` /asset/ jobs ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
@ -7983,89 +7715,7 @@ export const AssetApiAxiosParamCreator = function (configuration?: Configuration
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
localVarRequestOptions . data = serializeDataIfNeeded ( bulkIdsDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
restoreTrashOld : async ( options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /asset/trash/restore ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { AssetJobsDto } assetJobsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
runAssetJobs : async ( assetJobsDto : AssetJobsDto , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'assetJobsDto' is not null or undefined
assertParamExists ( 'runAssetJobs' , 'assetJobsDto' , assetJobsDto )
const localVarPath = ` /asset/jobs ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
// authentication cookie required
// authentication api_key required
await setApiKeyToObject ( localVarHeaderParameter , "x-api-key" , configuration )
// authentication bearer required
// http bearer authentication required
await setBearerAuthToObject ( localVarHeaderParameter , configuration )
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
localVarRequestOptions . data = serializeDataIfNeeded ( assetJobsDto , localVarRequestOptions , configuration )
localVarRequestOptions . data = serializeDataIfNeeded ( assetJobsDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
@ -8697,43 +8347,6 @@ export const AssetApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap [ 'AssetApi.deleteAssets' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { AssetIdsDto } assetIdsDto
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async downloadArchiveOld ( assetIdsDto : AssetIdsDto , key? : string , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < File > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . downloadArchiveOld ( assetIdsDto , key , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.downloadArchiveOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { string } id
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async downloadFileOld ( id : string , key? : string , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < File > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . downloadFileOld ( id , key , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.downloadFileOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async emptyTrashOld ( options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < void > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . emptyTrashOld ( options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.emptyTrashOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
* Get all AssetEntity belong to the user
* @param { string } [ ifNoneMatch ] ETag of data already cached on the client
@ -8765,20 +8378,6 @@ export const AssetApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap [ 'AssetApi.getAllUserAssetsByDeviceId' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
* Get a single asset \ ' s information
* @param { string } id
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
async getAssetById ( id : string , key? : string , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < AssetResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getAssetById ( id , key , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.getAssetById' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { string } id
@ -8853,19 +8452,6 @@ export const AssetApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap [ 'AssetApi.getCuratedObjects' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { DownloadInfoDto } downloadInfoDto
* @param { string } [ key ]
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async getDownloadInfoOld ( downloadInfoDto : DownloadInfoDto , key? : string , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < DownloadResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getDownloadInfoOld ( downloadInfoDto , key , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.getDownloadInfoOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { string } [ fileCreatedAfter ]
@ -8949,29 +8535,6 @@ export const AssetApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap [ 'AssetApi.getTimeBuckets' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { BulkIdsDto } bulkIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async restoreAssetsOld ( bulkIdsDto : BulkIdsDto , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < void > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . restoreAssetsOld ( bulkIdsDto , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.restoreAssetsOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async restoreTrashOld ( options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < void > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . restoreTrashOld ( options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'AssetApi.restoreTrashOld' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { AssetJobsDto } assetJobsDto
@ -9151,32 +8714,6 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
deleteAssets ( requestParameters : AssetApiDeleteAssetsRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < void > {
return localVarFp . deleteAssets ( requestParameters . assetBulkDeleteDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiDownloadArchiveOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
downloadArchiveOld ( requestParameters : AssetApiDownloadArchiveOldRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < File > {
return localVarFp . downloadArchiveOld ( requestParameters . assetIdsDto , requestParameters . key , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiDownloadFileOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
downloadFileOld ( requestParameters : AssetApiDownloadFileOldRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < File > {
return localVarFp . downloadFileOld ( requestParameters . id , requestParameters . key , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
emptyTrashOld ( options? : RawAxiosRequestConfig ) : AxiosPromise < void > {
return localVarFp . emptyTrashOld ( options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
* Get all AssetEntity belong to the user
* @param { AssetApiGetAllAssetsRequest } requestParameters Request parameters .
@ -9195,16 +8732,6 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
getAllUserAssetsByDeviceId ( requestParameters : AssetApiGetAllUserAssetsByDeviceIdRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < Array < string > > {
return localVarFp . getAllUserAssetsByDeviceId ( requestParameters . deviceId , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
* Get a single asset \ ' s information
* @param { AssetApiGetAssetByIdRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
getAssetById ( requestParameters : AssetApiGetAssetByIdRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < AssetResponseDto > {
return localVarFp . getAssetById ( requestParameters . id , requestParameters . key , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiGetAssetInfoRequest } requestParameters Request parameters .
@ -9256,15 +8783,6 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
getCuratedObjects ( options? : RawAxiosRequestConfig ) : AxiosPromise < Array < CuratedObjectsResponseDto > > {
return localVarFp . getCuratedObjects ( options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiGetDownloadInfoOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
getDownloadInfoOld ( requestParameters : AssetApiGetDownloadInfoOldRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < DownloadResponseDto > {
return localVarFp . getDownloadInfoOld ( requestParameters . downloadInfoDto , requestParameters . key , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiGetMapMarkersRequest } requestParameters Request parameters .
@ -9310,23 +8828,6 @@ export const AssetApiFactory = function (configuration?: Configuration, basePath
getTimeBuckets ( requestParameters : AssetApiGetTimeBucketsRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < Array < TimeBucketResponseDto > > {
return localVarFp . getTimeBuckets ( requestParameters . size , requestParameters . albumId , requestParameters . isArchived , requestParameters . isFavorite , requestParameters . isTrashed , requestParameters . key , requestParameters . personId , requestParameters . userId , requestParameters . withPartners , requestParameters . withStacked , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiRestoreAssetsOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
restoreAssetsOld ( requestParameters : AssetApiRestoreAssetsOldRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < void > {
return localVarFp . restoreAssetsOld ( requestParameters . bulkIdsDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
restoreTrashOld ( options? : RawAxiosRequestConfig ) : AxiosPromise < void > {
return localVarFp . restoreTrashOld ( options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { AssetApiRunAssetJobsRequest } requestParameters Request parameters .
@ -9435,48 +8936,6 @@ export interface AssetApiDeleteAssetsRequest {
readonly assetBulkDeleteDto : AssetBulkDeleteDto
}
/ * *
* Request parameters for downloadArchiveOld operation in AssetApi .
* @export
* @interface AssetApiDownloadArchiveOldRequest
* /
export interface AssetApiDownloadArchiveOldRequest {
/ * *
*
* @type { AssetIdsDto }
* @memberof AssetApiDownloadArchiveOld
* /
readonly assetIdsDto : AssetIdsDto
/ * *
*
* @type { string }
* @memberof AssetApiDownloadArchiveOld
* /
readonly key? : string
}
/ * *
* Request parameters for downloadFileOld operation in AssetApi .
* @export
* @interface AssetApiDownloadFileOldRequest
* /
export interface AssetApiDownloadFileOldRequest {
/ * *
*
* @type { string }
* @memberof AssetApiDownloadFileOld
* /
readonly id : string
/ * *
*
* @type { string }
* @memberof AssetApiDownloadFileOld
* /
readonly key? : string
}
/ * *
* Request parameters for getAllAssets operation in AssetApi .
* @export
@ -9554,27 +9013,6 @@ export interface AssetApiGetAllUserAssetsByDeviceIdRequest {
readonly deviceId : string
}
/ * *
* Request parameters for getAssetById operation in AssetApi .
* @export
* @interface AssetApiGetAssetByIdRequest
* /
export interface AssetApiGetAssetByIdRequest {
/ * *
*
* @type { string }
* @memberof AssetApiGetAssetById
* /
readonly id : string
/ * *
*
* @type { string }
* @memberof AssetApiGetAssetById
* /
readonly key? : string
}
/ * *
* Request parameters for getAssetInfo operation in AssetApi .
* @export
@ -9652,27 +9090,6 @@ export interface AssetApiGetAssetThumbnailRequest {
readonly key? : string
}
/ * *
* Request parameters for getDownloadInfoOld operation in AssetApi .
* @export
* @interface AssetApiGetDownloadInfoOldRequest
* /
export interface AssetApiGetDownloadInfoOldRequest {
/ * *
*
* @type { DownloadInfoDto }
* @memberof AssetApiGetDownloadInfoOld
* /
readonly downloadInfoDto : DownloadInfoDto
/ * *
*
* @type { string }
* @memberof AssetApiGetDownloadInfoOld
* /
readonly key? : string
}
/ * *
* Request parameters for getMapMarkers operation in AssetApi .
* @export
@ -9904,20 +9321,6 @@ export interface AssetApiGetTimeBucketsRequest {
readonly withStacked? : boolean
}
/ * *
* Request parameters for restoreAssetsOld operation in AssetApi .
* @export
* @interface AssetApiRestoreAssetsOldRequest
* /
export interface AssetApiRestoreAssetsOldRequest {
/ * *
*
* @type { BulkIdsDto }
* @memberof AssetApiRestoreAssetsOld
* /
readonly bulkIdsDto : BulkIdsDto
}
/ * *
* Request parameters for runAssetJobs operation in AssetApi .
* @export
@ -10462,38 +9865,6 @@ export class AssetApi extends BaseAPI {
return AssetApiFp ( this . configuration ) . deleteAssets ( requestParameters . assetBulkDeleteDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiDownloadArchiveOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public downloadArchiveOld ( requestParameters : AssetApiDownloadArchiveOldRequest , options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . downloadArchiveOld ( requestParameters . assetIdsDto , requestParameters . key , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiDownloadFileOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public downloadFileOld ( requestParameters : AssetApiDownloadFileOldRequest , options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . downloadFileOld ( requestParameters . id , requestParameters . key , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public emptyTrashOld ( options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . emptyTrashOld ( options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
* Get all AssetEntity belong to the user
* @param { AssetApiGetAllAssetsRequest } requestParameters Request parameters .
@ -10516,18 +9887,6 @@ export class AssetApi extends BaseAPI {
return AssetApiFp ( this . configuration ) . getAllUserAssetsByDeviceId ( requestParameters . deviceId , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
* Get a single asset \ ' s information
* @param { AssetApiGetAssetByIdRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* @memberof AssetApi
* /
public getAssetById ( requestParameters : AssetApiGetAssetByIdRequest , options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . getAssetById ( requestParameters . id , requestParameters . key , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiGetAssetInfoRequest } requestParameters Request parameters .
@ -10591,17 +9950,6 @@ export class AssetApi extends BaseAPI {
return AssetApiFp ( this . configuration ) . getCuratedObjects ( options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiGetDownloadInfoOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public getDownloadInfoOld ( requestParameters : AssetApiGetDownloadInfoOldRequest , options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . getDownloadInfoOld ( requestParameters . downloadInfoDto , requestParameters . key , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiGetMapMarkersRequest } requestParameters Request parameters .
@ -10657,27 +10005,6 @@ export class AssetApi extends BaseAPI {
return AssetApiFp ( this . configuration ) . getTimeBuckets ( requestParameters . size , requestParameters . albumId , requestParameters . isArchived , requestParameters . isFavorite , requestParameters . isTrashed , requestParameters . key , requestParameters . personId , requestParameters . userId , requestParameters . withPartners , requestParameters . withStacked , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiRestoreAssetsOldRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public restoreAssetsOld ( requestParameters : AssetApiRestoreAssetsOldRequest , options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . restoreAssetsOld ( requestParameters . bulkIdsDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof AssetApi
* /
public restoreTrashOld ( options? : RawAxiosRequestConfig ) {
return AssetApiFp ( this . configuration ) . restoreTrashOld ( options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { AssetApiRunAssetJobsRequest } requestParameters Request parameters .
@ -13391,42 +12718,6 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
options : localVarRequestOptions ,
} ;
} ,
/ * *
* @deprecated use feature flags and / oauth / authorize
* @param { OAuthConfigDto } oAuthConfigDto
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
generateOAuthConfig : async ( oAuthConfigDto : OAuthConfigDto , options : RawAxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'oAuthConfigDto' is not null or undefined
assertParamExists ( 'generateOAuthConfig' , 'oAuthConfigDto' , oAuthConfigDto )
const localVarPath = ` /oauth/config ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
let baseOptions ;
if ( configuration ) {
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : 'POST' , . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ;
setSearchParams ( localVarUrlObj , localVarQueryParameter ) ;
let headersFromBaseOptions = baseOptions && baseOptions . headers ? baseOptions . headers : { } ;
localVarRequestOptions . headers = { . . . localVarHeaderParameter , . . . headersFromBaseOptions , . . . options . headers } ;
localVarRequestOptions . data = serializeDataIfNeeded ( oAuthConfigDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { OAuthCallbackDto } oAuthCallbackDto
@ -13595,19 +12886,6 @@ export const OAuthApiFp = function(configuration?: Configuration) {
const operationBasePath = operationServerMap [ 'OAuthApi.finishOAuth' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
* @deprecated use feature flags and / oauth / authorize
* @param { OAuthConfigDto } oAuthConfigDto
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
async generateOAuthConfig ( oAuthConfigDto : OAuthConfigDto , options? : RawAxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < OAuthConfigResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . generateOAuthConfig ( oAuthConfigDto , options ) ;
const index = configuration ? . serverIndex ? ? 0 ;
const operationBasePath = operationServerMap [ 'OAuthApi.generateOAuthConfig' ] ? . [ index ] ? . url ;
return ( axios , basePath ) = > createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ( axios , operationBasePath || basePath ) ;
} ,
/ * *
*
* @param { OAuthCallbackDto } oAuthCallbackDto
@ -13673,16 +12951,6 @@ export const OAuthApiFactory = function (configuration?: Configuration, basePath
finishOAuth ( requestParameters : OAuthApiFinishOAuthRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < LoginResponseDto > {
return localVarFp . finishOAuth ( requestParameters . oAuthCallbackDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
* @deprecated use feature flags and / oauth / authorize
* @param { OAuthApiGenerateOAuthConfigRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* /
generateOAuthConfig ( requestParameters : OAuthApiGenerateOAuthConfigRequest , options? : RawAxiosRequestConfig ) : AxiosPromise < OAuthConfigResponseDto > {
return localVarFp . generateOAuthConfig ( requestParameters . oAuthConfigDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { OAuthApiLinkOAuthAccountRequest } requestParameters Request parameters .
@ -13734,20 +13002,6 @@ export interface OAuthApiFinishOAuthRequest {
readonly oAuthCallbackDto : OAuthCallbackDto
}
/ * *
* Request parameters for generateOAuthConfig operation in OAuthApi .
* @export
* @interface OAuthApiGenerateOAuthConfigRequest
* /
export interface OAuthApiGenerateOAuthConfigRequest {
/ * *
*
* @type { OAuthConfigDto }
* @memberof OAuthApiGenerateOAuthConfig
* /
readonly oAuthConfigDto : OAuthConfigDto
}
/ * *
* Request parameters for linkOAuthAccount operation in OAuthApi .
* @export
@ -13794,18 +13048,6 @@ export class OAuthApi extends BaseAPI {
return OAuthApiFp ( this . configuration ) . finishOAuth ( requestParameters . oAuthCallbackDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
* @deprecated use feature flags and / oauth / authorize
* @param { OAuthApiGenerateOAuthConfigRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @deprecated
* @throws { RequiredError }
* @memberof OAuthApi
* /
public generateOAuthConfig ( requestParameters : OAuthApiGenerateOAuthConfigRequest , options? : RawAxiosRequestConfig ) {
return OAuthApiFp ( this . configuration ) . generateOAuthConfig ( requestParameters . oAuthConfigDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { OAuthApiLinkOAuthAccountRequest } requestParameters Request parameters .