@ -536,6 +536,53 @@ export interface AssetFileUploadResponseDto {
* /
'duplicate' : boolean ;
}
/ * *
*
* @export
* @interface AssetIdsDto
* /
export interface AssetIdsDto {
/ * *
*
* @type { Array < string > }
* @memberof AssetIdsDto
* /
'assetIds' : Array < string > ;
}
/ * *
*
* @export
* @interface AssetIdsResponseDto
* /
export interface AssetIdsResponseDto {
/ * *
*
* @type { string }
* @memberof AssetIdsResponseDto
* /
'assetId' : string ;
/ * *
*
* @type { boolean }
* @memberof AssetIdsResponseDto
* /
'success' : boolean ;
/ * *
*
* @type { string }
* @memberof AssetIdsResponseDto
* /
'error' ? : AssetIdsResponseDtoErrorEnum ;
}
export const AssetIdsResponseDtoErrorEnum = {
Duplicate : 'duplicate' ,
NoPermission : 'no_permission' ,
NotFound : 'not_found'
} as const ;
export type AssetIdsResponseDtoErrorEnum = typeof AssetIdsResponseDtoErrorEnum [ keyof typeof AssetIdsResponseDtoErrorEnum ] ;
/ * *
*
* @export
@ -2420,12 +2467,6 @@ export interface SystemConfigTemplateStorageOptionDto {
* @interface TagResponseDto
* /
export interface TagResponseDto {
/ * *
*
* @type { string }
* @memberof TagResponseDto
* /
'id' : string ;
/ * *
*
* @type { TagTypeEnum }
@ -2437,19 +2478,19 @@ export interface TagResponseDto {
* @type { string }
* @memberof TagResponseDto
* /
' name ': string ;
' id ': string ;
/ * *
*
* @type { string }
* @memberof TagResponseDto
* /
' userId ': string ;
' name ': string ;
/ * *
*
* @type { string }
* @memberof TagResponseDto
* /
' renameTagId'? : string | null ;
' userId': string ;
}
@ -2558,12 +2599,6 @@ export interface UpdateTagDto {
* @memberof UpdateTagDto
* /
'name' ? : string ;
/ * *
*
* @type { string }
* @memberof UpdateTagDto
* /
'renameTagId' ? : string ;
}
/ * *
*
@ -10647,15 +10682,59 @@ export class SystemConfigApi extends BaseAPI {
* /
export const TagApiAxiosParamCreator = function ( configuration? : Configuration ) {
return {
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
createTag : async ( createTagDto : CreateTagDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'createTagDto' is not null or undefined
assertParamExists ( 'createTag' , 'createTagDto' , createTagDto )
const localVarPath = ` /tag ` ;
// 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 ( createTagDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
_delete : async ( id : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
deleteTag : async ( id : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( '_delete' , 'id' , id )
assertParamExists ( ' deleteTag ', 'id' , id )
const localVarPath = ` /tag/{id} `
. replace ( ` { ${ "id" } } ` , encodeURIComponent ( String ( id ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@ -10691,13 +10770,10 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
} ,
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
create : async ( createTagDto : CreateTagDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'createTagDto' is not null or undefined
assertParamExists ( 'create' , 'createTagDto' , createTagDto )
getAllTags : async ( options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /tag ` ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
const localVarUrlObj = new URL ( localVarPath , DUMMY_BASE_URL ) ;
@ -10706,7 +10782,7 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
baseOptions = configuration . baseOptions ;
}
const localVarRequestOptions = { method : ' POS T', . . . baseOptions , . . . options } ;
const localVarRequestOptions = { method : ' GE T', . . . baseOptions , . . . options } ;
const localVarHeaderParameter = { } as any ;
const localVarQueryParameter = { } as any ;
@ -10721,12 +10797,9 @@ export const TagApiAxiosParamCreator = function (configuration?: 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 ( createTagDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
@ -10735,11 +10808,15 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
findAll : async ( options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
const localVarPath = ` /tag ` ;
getTagAssets : async ( id : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'getTagAssets' , 'id' , id )
const localVarPath = ` /tag/{id}/assets `
. 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 ;
@ -10777,9 +10854,9 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
findOne : async ( id : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
getTagById : async ( id : string , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( ' findOne ', 'id' , id )
assertParamExists ( ' getTagById ', 'id' , id )
const localVarPath = ` /tag/{id} `
. replace ( ` { ${ "id" } } ` , encodeURIComponent ( String ( id ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@ -10813,6 +10890,102 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
tagAssets : async ( id : string , assetIdsDto : AssetIdsDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'tagAssets' , 'id' , id )
// verify required parameter 'assetIdsDto' is not null or undefined
assertParamExists ( 'tagAssets' , 'assetIdsDto' , assetIdsDto )
const localVarPath = ` /tag/{id}/assets `
. 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 : 'PUT' , . . . 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 ( assetIdsDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
untagAssets : async ( id : string , assetIdsDto : AssetIdsDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'untagAssets' , 'id' , id )
// verify required parameter 'assetIdsDto' is not null or undefined
assertParamExists ( 'untagAssets' , 'assetIdsDto' , assetIdsDto )
const localVarPath = ` /tag/{id}/assets `
. 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 : 'DELETE' , . . . 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 ( assetIdsDto , localVarRequestOptions , configuration )
return {
url : toPathString ( localVarUrlObj ) ,
options : localVarRequestOptions ,
} ;
} ,
/ * *
*
* @param { string } id
@ -10820,11 +10993,11 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
update : async ( id : string , updateTagDto : UpdateTagDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
update Tag : async ( id : string , updateTagDto : UpdateTagDto , options : AxiosRequestConfig = { } ) : Promise < RequestArgs > = > {
// verify required parameter 'id' is not null or undefined
assertParamExists ( 'update ', 'id' , id )
assertParamExists ( 'update Tag ', 'id' , id )
// verify required parameter 'updateTagDto' is not null or undefined
assertParamExists ( 'update ', 'updateTagDto' , updateTagDto )
assertParamExists ( 'update Tag ', 'updateTagDto' , updateTagDto )
const localVarPath = ` /tag/{id} `
. replace ( ` { ${ "id" } } ` , encodeURIComponent ( String ( id ) ) ) ;
// use dummy base URL string because the URL constructor only accepts absolute URLs.
@ -10871,33 +11044,43 @@ export const TagApiAxiosParamCreator = function (configuration?: Configuration)
export const TagApiFp = function ( configuration? : Configuration ) {
const localVarAxiosParamCreator = TagApiAxiosParamCreator ( configuration )
return {
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async createTag ( createTagDto : CreateTagDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . createTag ( createTagDto , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async _delete ( id : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < void > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . _delete ( id , options ) ;
async deleteTag ( id : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < void > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . deleteTag ( id , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async create( createTagDto : CreateTagDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto> > {
const localVarAxiosArgs = await localVarAxiosParamCreator . create( createTagDto , options ) ;
async getAllTags( options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array< TagResponseDto> > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getAllTags( options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async findAll( options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < Tag ResponseDto> >> {
const localVarAxiosArgs = await localVarAxiosParamCreator . findAll( options ) ;
async getTagAssets( id : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < Asset ResponseDto> >> {
const localVarAxiosArgs = await localVarAxiosParamCreator . getTagAssets( id , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
@ -10906,8 +11089,30 @@ export const TagApiFp = function(configuration?: Configuration) {
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async findOne ( id : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . findOne ( id , options ) ;
async getTagById ( id : string , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . getTagById ( id , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async tagAssets ( id : string , assetIdsDto : AssetIdsDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < AssetIdsResponseDto > >> {
const localVarAxiosArgs = await localVarAxiosParamCreator . tagAssets ( id , assetIdsDto , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async untagAssets ( id : string , assetIdsDto : AssetIdsDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < Array < AssetIdsResponseDto > >> {
const localVarAxiosArgs = await localVarAxiosParamCreator . untagAssets ( id , assetIdsDto , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
/ * *
@ -10917,8 +11122,8 @@ export const TagApiFp = function(configuration?: Configuration) {
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
async update ( id : string , updateTagDto : UpdateTagDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . update ( id , updateTagDto , options ) ;
async update Tag ( id : string , updateTagDto : UpdateTagDto , options? : AxiosRequestConfig ) : Promise < ( axios? : AxiosInstance , basePath? : string ) = > AxiosPromise < TagResponseDto > > {
const localVarAxiosArgs = await localVarAxiosParamCreator . update Tag ( id , updateTagDto , options ) ;
return createRequestFunction ( localVarAxiosArgs , globalAxios , BASE_PATH , configuration ) ;
} ,
}
@ -10931,31 +11136,40 @@ export const TagApiFp = function(configuration?: Configuration) {
export const TagApiFactory = function ( configuration? : Configuration , basePath? : string , axios? : AxiosInstance ) {
const localVarFp = TagApiFp ( configuration )
return {
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
createTag ( createTagDto : CreateTagDto , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . createTag ( createTagDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
_delete ( id : string , options? : any ) : AxiosPromise < void > {
return localVarFp . _delete ( id , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
deleteTag ( id : string , options? : any ) : AxiosPromise < void > {
return localVarFp . deleteTag ( id , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { CreateTagDto } createTagDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
create( createTagDto : CreateTagDto , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . create( createTagDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
getAllTags( options? : any ) : AxiosPromise < Array< TagResponseDto> > {
return localVarFp . getAllTags( options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { string } id
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
findAll( options? : any ) : AxiosPromise < Array < Tag ResponseDto> > {
return localVarFp . findAll( options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
getTagAssets( id : string , options? : any ) : AxiosPromise < Array < Asset ResponseDto> > {
return localVarFp . getTagAssets( id , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
@ -10963,8 +11177,28 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?:
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
findOne ( id : string , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . findOne ( id , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
getTagById ( id : string , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . getTagById ( id , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
tagAssets ( id : string , assetIdsDto : AssetIdsDto , options? : any ) : AxiosPromise < Array < AssetIdsResponseDto > > {
return localVarFp . tagAssets ( id , assetIdsDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
* @param { string } id
* @param { AssetIdsDto } assetIdsDto
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
untagAssets ( id : string , assetIdsDto : AssetIdsDto , options? : any ) : AxiosPromise < Array < AssetIdsResponseDto > > {
return localVarFp . untagAssets ( id , assetIdsDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
/ * *
*
@ -10973,71 +11207,127 @@ export const TagApiFactory = function (configuration?: Configuration, basePath?:
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* /
update ( id : string , updateTagDto : UpdateTagDto , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . update ( id , updateTagDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
update Tag ( id : string , updateTagDto : UpdateTagDto , options? : any ) : AxiosPromise < TagResponseDto > {
return localVarFp . update Tag ( id , updateTagDto , options ) . then ( ( request ) = > request ( axios , basePath ) ) ;
} ,
} ;
} ;
/ * *
* Request parameters for _delete operation in TagApi .
* Request parameters for createTag operation in TagApi .
* @export
* @interface TagApi Delete Request
* @interface TagApi CreateTag Request
* /
export interface TagApiDeleteRequest {
export interface TagApiCreateTagRequest {
/ * *
*
* @type { CreateTagDto }
* @memberof TagApiCreateTag
* /
readonly createTagDto : CreateTagDto
}
/ * *
* Request parameters for deleteTag operation in TagApi .
* @export
* @interface TagApiDeleteTagRequest
* /
export interface TagApiDeleteTagRequest {
/ * *
*
* @type { string }
* @memberof TagApiDelete
* @memberof TagApiDelete Tag
* /
readonly id : string
}
/ * *
* Request parameters for create operation in TagApi .
* Request parameters for getTagAssets operation in TagApi .
* @export
* @interface TagApiCreateRequest
* @interface TagApi GetTagAssets Request
* /
export interface TagApiCreateRequest {
export interface TagApi GetTagAssets Request {
/ * *
*
* @type { CreateTagDto }
* @memberof TagApi Create
* @type { string }
* @memberof TagApi GetTagAssets
* /
readonly createTagDto : CreateTagDto
readonly id : string
}
/ * *
* Request parameters for getTagById operation in TagApi .
* @export
* @interface TagApiGetTagByIdRequest
* /
export interface TagApiGetTagByIdRequest {
/ * *
*
* @type { string }
* @memberof TagApiGetTagById
* /
readonly id : string
}
/ * *
* Request parameters for tagAssets operation in TagApi .
* @export
* @interface TagApiTagAssetsRequest
* /
export interface TagApiTagAssetsRequest {
/ * *
*
* @type { string }
* @memberof TagApiTagAssets
* /
readonly id : string
/ * *
*
* @type { AssetIdsDto }
* @memberof TagApiTagAssets
* /
readonly assetIdsDto : AssetIdsDto
}
/ * *
* Request parameters for findOne operation in TagApi .
* Request parameters for untagAssets operation in TagApi .
* @export
* @interface TagApiFindOneRequest
* @interface TagApi UntagAssets Request
* /
export interface TagApiFindOneRequest {
export interface TagApi UntagAssets Request {
/ * *
*
* @type { string }
* @memberof TagApiFindOne
* @memberof TagApi UntagAssets
* /
readonly id : string
/ * *
*
* @type { AssetIdsDto }
* @memberof TagApiUntagAssets
* /
readonly assetIdsDto : AssetIdsDto
}
/ * *
* Request parameters for update operation in TagApi .
* Request parameters for update Tag operation in TagApi .
* @export
* @interface TagApiUpdateRequest
* @interface TagApiUpdate Tag Request
* /
export interface TagApiUpdateRequest {
export interface TagApiUpdate Tag Request {
/ * *
*
* @type { string }
* @memberof TagApiUpdate
* @memberof TagApiUpdate Tag
* /
readonly id : string
/ * *
*
* @type { UpdateTagDto }
* @memberof TagApiUpdate
* @memberof TagApiUpdate Tag
* /
readonly updateTagDto : UpdateTagDto
}
@ -11051,56 +11341,89 @@ export interface TagApiUpdateRequest {
export class TagApi extends BaseAPI {
/ * *
*
* @param { TagApiDeleteRequest } requestParameters Request parameters .
* @param { TagApiCreateTagRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public createTag ( requestParameters : TagApiCreateTagRequest , options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . createTag ( requestParameters . createTagDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiDeleteTagRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public deleteTag ( requestParameters : TagApiDeleteTagRequest , options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . deleteTag ( requestParameters . id , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public getAllTags ( options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . getAllTags ( options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiGetTagAssetsRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public _delete ( requestParameters : TagApiDeleteRequest , options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . _delete ( requestParameters . id , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
public getTagAssets( requestParameters : TagApiGetTagAssets Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . getTagAssets ( requestParameters . id , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiCreateRequest } requestParameters Request parameters .
* @param { TagApi GetTagById Request} requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public create ( requestParameters : TagApiCreateRequest , options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . create ( requestParameters . createTagDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
public getTagById( requestParameters : TagApiGetTagById Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . getTagById( requestParameters . id , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiTagAssetsRequest } requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public findAll ( options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . findAll ( options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
public tagAssets( requestParameters : TagApiTagAssetsRequest , options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . tagAssets( requestParameters . id , requestParameters . assetIdsDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiFindOneRequest } requestParameters Request parameters .
* @param { TagApi UntagAssets Request} requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public findOne( requestParameters : TagApiFindOne Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . findOne ( requestParameters . id , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
public untagAssets( requestParameters : TagApiUntagAssets Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . untagAssets ( requestParameters . id , requestParameters . assetIdsDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
/ * *
*
* @param { TagApiUpdate Request} requestParameters Request parameters .
* @param { TagApiUpdate Tag Request} requestParameters Request parameters .
* @param { * } [ options ] Override http request option .
* @throws { RequiredError }
* @memberof TagApi
* /
public update ( requestParameters : TagApiUpdate Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . update ( requestParameters . id , requestParameters . updateTagDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
public update Tag ( requestParameters : TagApiUpdate Tag Request, options? : AxiosRequestConfig ) {
return TagApiFp ( this . configuration ) . update Tag ( requestParameters . id , requestParameters . updateTagDto , options ) . then ( ( request ) = > request ( this . axios , this . basePath ) ) ;
}
}