/**
 * rest api interface
 * 项目标准接口
 *
 * The version of the OpenAPI document: 0.0.1
 *
 *
 * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
 * https://openapi-generator.tech
 * Do not edit the class manually.
 */ import * as globalImportUrl from 'url' ; import { Configuration } from './configuration' ; import globalAxios , { AxiosPromise , AxiosInstance } from 'axios' ; import { BASE_PATH , COLLECTION_FORMATS , RequestArgs , BaseAPI , RequiredError } from './base' ; export interface export interface AccessToken { type { number } memberof expiresIn : number ; type { string } memberof accessToken : string ; } export interface export interface ArticleRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof title : string ; type { string } memberof picture : string ; type { string } memberof category : string ; type { string } memberof description : string ; type { string } memberof author : string ; type { number } memberof sort : number ; type { boolean } memberof disable : boolean ; type { string } memberof meta : string ; type { string } memberof content : string ; type { string } memberof template : string ; } export interface export interface Category { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof slug : string ; type { number } memberof order : number ; type { string } memberof parent : string ; type { Array < string > } memberof paths : Array < string > ; type { string } memberof description : string ; } export interface export interface CategoryRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof slug : string ; type { number } memberof order : number ; type { string } memberof parent : string ; type { Array < string > } memberof paths : Array < string > ; type { string } memberof description : string ; } export interface export interface CreateArticleDto { type { string } memberof name ? : string ; type { string } memberof title : string ; type { string } memberof keyword ? : string ; type { string } memberof picture ? : string ; type { string } memberof category : string ; type { string } memberof description ? : string ; type { string } memberof author ? : string ; type { number } memberof sort ? : number ; type { boolean } memberof disable ? : boolean ; type { string } memberof meta ? : string ; type { string } memberof content ? : string ; type { string } memberof template ? : string ; } export interface export interface CreateCategoryDto { type { string } memberof name : string ; type { string } memberof slug : string ; type { number } memberof order ? : number ; type { string } memberof parent ? : string ; type { Array < string > } memberof paths ? : Array < string > ; type { string } memberof description ? : string ; } export interface export interface CreateMediaDto { type { string } memberof name : string ; type { string } memberof caption ? : string ; type { string } memberof description : string ; type { string } memberof ext ? : string ; type { string } memberof url ? : string ; type { string } memberof uri ? : string ; } export interface export interface CreatePageReq { type { string } memberof name ? : string ; type { string } memberof keyword ? : string ; type { string } memberof title : string ; type { string } memberof description : string ; type { number } memberof sort ? : number ; type { boolean } memberof disable ? : boolean ; type { string } memberof meta ? : string ; type { string } memberof publish ? : string ; type { string } memberof content ? : string ; type { string } memberof template ? : string ; } export interface export interface CreatePhotoDto { type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { string } memberof ext : string ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface CreateWidgetDto { type { string } memberof name : string ; type { string } memberof title : string ; type { object } memberof params : object ; type { string } memberof type : string ; } export interface export interface EditArticleDto { type { string } memberof id : string ; type { string } memberof name ? : string ; type { string } memberof title : string ; type { string } memberof keyword ? : string ; type { string } memberof picture ? : string ; type { string } memberof category : string ; type { string } memberof description ? : string ; type { string } memberof author ? : string ; type { number } memberof sort ? : number ; type { boolean } memberof disable ? : boolean ; type { string } memberof meta ? : string ; type { string } memberof content ? : string ; type { string } memberof template ? : string ; } export interface export interface EditCategoryDto { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof slug : string ; type { number } memberof order ? : number ; type { string } memberof parent ? : string ; type { Array < string > } memberof paths ? : Array < string > ; type { string } memberof description ? : string ; } export interface export interface EditMediaDto { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption ? : string ; type { string } memberof description : string ; type { string } memberof ext ? : string ; type { string } memberof url ? : string ; type { string } memberof uri ? : string ; } export interface export interface EditPageReq { type { string } memberof id : string ; type { string } memberof name ? : string ; type { string } memberof keyword ? : string ; type { string } memberof title : string ; type { string } memberof description : string ; type { number } memberof sort ? : number ; type { boolean } memberof disable ? : boolean ; type { string } memberof meta ? : string ; type { string } memberof publish ? : string ; type { string } memberof content ? : string ; type { string } memberof template ? : string ; } export interface export interface EditPhotoDto { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { string } memberof ext : string ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface EditWidgetDto { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof title : string ; type { object } memberof params : object ; type { string } memberof type : string ; } export interface export interface InlineResponse200 { type { boolean } memberof ok ? : boolean ; } export interface export interface KeyValue { type { string } memberof label : string ; type { string } memberof value : string ; } export interface export interface LoginReq { type { string } memberof username : string ; type { string } memberof type ? : string ; type { string } memberof password : string ; } export interface export interface LoginRes { type { string } memberof username : string ; type { string } memberof avatar : string ; type { string } memberof email : string ; type { string } memberof name : string ; type { string } memberof mobile : string ; type { boolean } memberof isAdmin : boolean ; type { boolean } memberof isApproved : boolean ; type { number } memberof expired : number ; type { string } memberof company ? : string ; type { string } memberof siteUrl ? : string ; type { string } memberof address ? : string ; type { AccessToken } memberof token : AccessToken ; type { Array < string > } memberof roles ? : Array < string > ; } export interface export interface Media { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { object } memberof ext : object ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface MediaFile { type { string } memberof fieldname : string ; type { string } memberof originalname : string ; type { string } memberof encoding : string ; type { string } memberof mimetype : string ; type { string } memberof destination : string ; type { string } memberof filename : string ; type { string } memberof path : string ; type { number } memberof size : number ; } export interface export interface MediaRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { object } memberof ext : object ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface PageRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof title : string ; type { string } memberof description : string ; type { number } memberof sort : number ; type { string } memberof publish : string ; type { boolean } memberof disable : boolean ; type { string } memberof meta : string ; type { string } memberof content : string ; type { string } memberof template : string ; } export interface export interface Photo { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { object } memberof ext : object ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface PhotoRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof caption : string ; type { string } memberof description : string ; type { string } memberof ext : string ; type { string } memberof url : string ; type { string } memberof uri : string ; } export interface export interface Query { type { number } memberof size : number ; type { number } memberof page : number ; } export interface export interface RegisterReq { type { string } memberof username : string ; type { string } memberof password : string ; type { string } memberof mobile : string ; type { string } memberof email : string ; type { string } memberof name ? : string ; type { string } memberof mobilePrefix ? : string ; type { string } memberof veryCode : string ; } export interface export interface ResultListArticleRes { type { Array < ArticleRes > } memberof list : Array < ArticleRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface ResultListCategoryRes { type { Array < CategoryRes > } memberof list : Array < CategoryRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface ResultListMediaRes { type { Array < MediaRes > } memberof list : Array < MediaRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface ResultListPageRes { type { Array < PageRes > } memberof list : Array < PageRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface ResultListPhotoRes { type { Array < PhotoRes > } memberof list : Array < PhotoRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface ResultListWidgetRes { type { Array < WidgetRes > } memberof list : Array < WidgetRes > ; type { number } memberof count ? : number ; type { Query } memberof query ? : Query ; } export interface export interface SettingsGroup { type { object } memberof options : object ; } export interface export interface TreeNode { type { string } memberof id : string ; type { string } memberof icon ? : string ; type { string } memberof type ? : string ; type { string } memberof title : string ; type { string } memberof parent : string ; } export interface export interface UploadMultipleRes { type { boolean } memberof ok : boolean ; type { string } memberof error ? : string ; type { Array < string > } memberof files ? : Array < string > ; } export interface export interface UploadRes { type { boolean } memberof ok : boolean ; type { string } memberof error ? : string ; type { string } memberof file ? : string ; } export interface export interface Widget { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof title : string ; type { string } memberof type : string ; type { object } memberof params : object ; } export interface export interface WidgetRes { type { string } memberof id : string ; type { string } memberof name : string ; type { string } memberof title : string ; type { object } memberof params : object ; type { string } memberof type : string ; } export export const AppApiAxiosParamCreator = function ( configuration ? ) { return { param { string } par1 param { * } options throws appDemo ( par1 , options = { } ) { if ( par1 === null || par1 === undefined ) { throw new RequiredError ( 'par1' , 'Required parameter par1 was null or undefined when calling appDemo.' ) ; } const localVarPath = `/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof par1 !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( par1 !== undefined ? par1 : { } ) : ( par1 || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } name param { * } options throws appGetAppSettings ( name ? , options = { } ) { const localVarPath = `/name/{name}` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( name !== undefined ) { localVarQueryParameter [ 'name' ] = name ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { * } options throws appRoot ( options = { } ) { const localVarPath = `/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const AppApiFp = function ( configuration ? ) { return { param { string } par1 param { * } options throws appDemo ( par1 , options ? ) { const localVarAxiosArgs = AppApiAxiosParamCreator ( configuration ) . appDemo ( par1 , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } name param { * } options throws appGetAppSettings ( name ? , options ? ) { const localVarAxiosArgs = AppApiAxiosParamCreator ( configuration ) . appGetAppSettings ( name , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { * } options throws appRoot ( options ? ) { const localVarAxiosArgs = AppApiAxiosParamCreator ( configuration ) . appRoot ( options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , } ; } ; export export const AppApiFactory = function ( configuration ? , basePath ? , axios ? ) { return { param { string } par1 param { * } options throws appDemo ( par1 , options ? ) { return AppApiFp ( configuration ) . appDemo ( par1 , options ) ( axios , basePath ) ; } , param { string } name param { * } options throws appGetAppSettings ( name ? , options ? ) { return AppApiFp ( configuration ) . appGetAppSettings ( name , options ) ( axios , basePath ) ; } , param { * } options throws appRoot ( options ? ) { return AppApiFp ( configuration ) . appRoot ( options ) ( axios , basePath ) ; } , } ; } ; export class extends BaseAPI export class AppApi extends BaseAPI { param { string } par1 param { * } options throws memberof public appDemo ( par1 , options ? ) { return AppApiFp ( this . configuration ) . appDemo ( par1 , options ) ( this . axios , this . basePath ) ; } param { string } name param { * } options throws memberof public appGetAppSettings ( name ? , options ? ) { return AppApiFp ( this . configuration ) . appGetAppSettings ( name , options ) ( this . axios , this . basePath ) ; } param { * } options throws memberof public appRoot ( options ? ) { return AppApiFp ( this . configuration ) . appRoot ( options ) ( this . axios , this . basePath ) ; } } export export const AuthApiAxiosParamCreator = function ( configuration ? ) { return { param { string } mobile param { * } options throws authCaptcha ( mobile , options = { } ) { if ( mobile === null || mobile === undefined ) { throw new RequiredError ( 'mobile' , 'Required parameter mobile was null or undefined when calling authCaptcha.' ) ; } const localVarPath = `/auth/captcha` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( mobile !== undefined ) { localVarQueryParameter [ 'mobile' ] = mobile ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { LoginReq } payload param { * } options throws authLogin ( payload , options = { } ) { if ( payload === null || payload === undefined ) { throw new RequiredError ( 'payload' , 'Required parameter payload was null or undefined when calling authLogin.' ) ; } const localVarPath = `/auth/login` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof payload !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( payload !== undefined ? payload : { } ) : ( payload || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { * } options throws authLogout ( options = { } ) { const localVarPath = `/auth/logout` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { RegisterReq } payload param { * } options throws authRegister ( payload , options = { } ) { if ( payload === null || payload === undefined ) { throw new RequiredError ( 'payload' , 'Required parameter payload was null or undefined when calling authRegister.' ) ; } const localVarPath = `/auth/register` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof payload !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( payload !== undefined ? payload : { } ) : ( payload || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const AuthApiFp = function ( configuration ? ) { return { param { string } mobile param { * } options throws authCaptcha ( mobile , options ? ) { const localVarAxiosArgs = AuthApiAxiosParamCreator ( configuration ) . authCaptcha ( mobile , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { LoginReq } payload param { * } options throws authLogin ( payload , options ? ) { const localVarAxiosArgs = AuthApiAxiosParamCreator ( configuration ) . authLogin ( payload , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { * } options throws authLogout ( options ? ) { const localVarAxiosArgs = AuthApiAxiosParamCreator ( configuration ) . authLogout ( options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { RegisterReq } payload param { * } options throws authRegister ( payload , options ? ) { const localVarAxiosArgs = AuthApiAxiosParamCreator ( configuration ) . authRegister ( payload , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , } ; } ; export export const AuthApiFactory = function ( configuration ? , basePath ? , axios ? ) { return { param { string } mobile param { * } options throws authCaptcha ( mobile , options ? ) { return AuthApiFp ( configuration ) . authCaptcha ( mobile , options ) ( axios , basePath ) ; } , param { LoginReq } payload param { * } options throws authLogin ( payload , options ? ) { return AuthApiFp ( configuration ) . authLogin ( payload , options ) ( axios , basePath ) ; } , param { * } options throws authLogout ( options ? ) { return AuthApiFp ( configuration ) . authLogout ( options ) ( axios , basePath ) ; } , param { RegisterReq } payload param { * } options throws authRegister ( payload , options ? ) { return AuthApiFp ( configuration ) . authRegister ( payload , options ) ( axios , basePath ) ; } , } ; } ; export class extends BaseAPI export class AuthApi extends BaseAPI { param { string } mobile param { * } options throws memberof public authCaptcha ( mobile , options ? ) { return AuthApiFp ( this . configuration ) . authCaptcha ( mobile , options ) ( this . axios , this . basePath ) ; } param { LoginReq } payload param { * } options throws memberof public authLogin ( payload , options ? ) { return AuthApiFp ( this . configuration ) . authLogin ( payload , options ) ( this . axios , this . basePath ) ; } param { * } options throws memberof public authLogout ( options ? ) { return AuthApiFp ( this . configuration ) . authLogout ( options ) ( this . axios , this . basePath ) ; } param { RegisterReq } payload param { * } options throws memberof public authRegister ( payload , options ? ) { return AuthApiFp ( this . configuration ) . authRegister ( payload , options ) ( this . axios , this . basePath ) ; } } export export const CmsApiAxiosParamCreator = function ( configuration ? ) { return { param { CreateArticleDto } entry param { * } options throws articleCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling articleCreate.' ) ; } const localVarPath = `/article/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws articleFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling articleFindOne.' ) ; } const localVarPath = `/article/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws articleQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/article/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws articleRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling articleRemove.' ) ; } const localVarPath = `/article/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws articleSearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/article/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditArticleDto } entry param { * } options throws articleUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling articleUpdate.' ) ; } const localVarPath = `/article/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreateCategoryDto } entry param { * } options throws categoryCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling categoryCreate.' ) ; } const localVarPath = `/category/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws categoryFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling categoryFindOne.' ) ; } const localVarPath = `/category/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws categoryQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/category/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws categoryRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling categoryRemove.' ) ; } const localVarPath = `/category/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws categorySearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/category/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws categorySearchTree ( keyword ? , value ? , options = { } ) { const localVarPath = `/category/tree` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditCategoryDto } entry param { * } options throws categoryUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling categoryUpdate.' ) ; } const localVarPath = `/category/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreateMediaDto } entry param { * } options throws mediaCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling mediaCreate.' ) ; } const localVarPath = `/media/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws mediaFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling mediaFindOne.' ) ; } const localVarPath = `/media/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws mediaQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/media/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws mediaRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling mediaRemove.' ) ; } const localVarPath = `/media/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws mediaSearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/media/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditMediaDto } entry param { * } options throws mediaUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling mediaUpdate.' ) ; } const localVarPath = `/media/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { MediaFile } file param { * } options throws mediaUploadFile ( file , options = { } ) { if ( file === null || file === undefined ) { throw new RequiredError ( 'file' , 'Required parameter file was null or undefined when calling mediaUploadFile.' ) ; } const localVarPath = `/media/upload` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof file !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( file !== undefined ? file : { } ) : ( file || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { Array < string > } files param { * } options throws mediaUploadFiles ( files ? , options = { } ) { const localVarPath = `/media/uploads` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof files !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( files !== undefined ? files : { } ) : ( files || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreatePageReq } entry param { * } options throws pageCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling pageCreate.' ) ; } const localVarPath = `/page/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws pageFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling pageFindOne.' ) ; } const localVarPath = `/page/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws pageQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/page/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws pageRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling pageRemove.' ) ; } const localVarPath = `/page/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws pageSearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/page/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditPageReq } entry param { * } options throws pageUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling pageUpdate.' ) ; } const localVarPath = `/page/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreatePhotoDto } entry param { * } options throws photoCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling photoCreate.' ) ; } const localVarPath = `/photo/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws photoFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling photoFindOne.' ) ; } const localVarPath = `/photo/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws photoQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/photo/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws photoRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling photoRemove.' ) ; } const localVarPath = `/photo/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws photoSearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/photo/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditPhotoDto } entry param { * } options throws photoUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling photoUpdate.' ) ; } const localVarPath = `/photo/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { CreateWidgetDto } entry param { * } options throws widgetCreate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling widgetCreate.' ) ; } const localVarPath = `/widget/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; 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' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws widgetFindOne ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling widgetFindOne.' ) ; } const localVarPath = `/widget/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws widgetQuery ( keyword ? , page ? , size ? , sort ? , options = { } ) { const localVarPath = `/widget/query` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( page !== undefined ) { localVarQueryParameter [ 'page' ] = page ; } if ( size !== undefined ) { localVarQueryParameter [ 'size' ] = size ; } if ( sort !== undefined ) { localVarQueryParameter [ 'sort' ] = sort ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } id param { * } options throws widgetRemove ( id , options = { } ) { if ( id === null || id === undefined ) { throw new RequiredError ( 'id' , 'Required parameter id was null or undefined when calling widgetRemove.' ) ; } const localVarPath = `/widget/{id}` . replace ( `{${ "id" }}` , encodeURIComponent ( String ( id ) ) ) ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'DELETE' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { string } keyword param { string } value param { * } options throws widgetSearch ( keyword ? , value ? , options = { } ) { const localVarPath = `/widget/search` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; if ( keyword !== undefined ) { localVarQueryParameter [ 'keyword' ] = keyword ; } if ( value !== undefined ) { localVarQueryParameter [ 'value' ] = value ; } localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { EditWidgetDto } entry param { * } options throws widgetUpdate ( entry , options = { } ) { if ( entry === null || entry === undefined ) { throw new RequiredError ( 'entry' , 'Required parameter entry was null or undefined when calling widgetUpdate.' ) ; } const localVarPath = `/widget/` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'PUT' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarHeaderParameter [ 'Content-Type' ] = 'application/json' ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; const needsSerialization = ( typeof entry !== "string" ) || localVarRequestOptions . headers [ 'Content-Type' ] === 'application/json' ; localVarRequestOptions . data = needsSerialization ? JSON . stringify ( entry !== undefined ? entry : { } ) : ( entry || "" ) ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const CmsApiFp = function ( configuration ? ) { return { param { CreateArticleDto } entry param { * } options throws articleCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws articleFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws articleQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws articleRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws articleSearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleSearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditArticleDto } entry param { * } options throws articleUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . articleUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { CreateCategoryDto } entry param { * } options throws categoryCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categoryCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws categoryFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categoryFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws categoryQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categoryQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws categoryRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categoryRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws categorySearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categorySearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws categorySearchTree ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categorySearchTree ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditCategoryDto } entry param { * } options throws categoryUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . categoryUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { CreateMediaDto } entry param { * } options throws mediaCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws mediaFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws mediaQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws mediaRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws mediaSearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaSearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditMediaDto } entry param { * } options throws mediaUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { MediaFile } file param { * } options throws mediaUploadFile ( file , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaUploadFile ( file , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { Array < string > } files param { * } options throws mediaUploadFiles ( files ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . mediaUploadFiles ( files , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { CreatePageReq } entry param { * } options throws pageCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws pageFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws pageQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws pageRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws pageSearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageSearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditPageReq } entry param { * } options throws pageUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . pageUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { CreatePhotoDto } entry param { * } options throws photoCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws photoFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws photoQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws photoRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws photoSearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoSearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditPhotoDto } entry param { * } options throws photoUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . photoUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { CreateWidgetDto } entry param { * } options throws widgetCreate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetCreate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws widgetFindOne ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetFindOne ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws widgetQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetQuery ( keyword , page , size , sort , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } id param { * } options throws widgetRemove ( id , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetRemove ( id , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { string } keyword param { string } value param { * } options throws widgetSearch ( keyword ? , value ? , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetSearch ( keyword , value , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { EditWidgetDto } entry param { * } options throws widgetUpdate ( entry , options ? ) { const localVarAxiosArgs = CmsApiAxiosParamCreator ( configuration ) . widgetUpdate ( entry , options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , } ; } ; export export const CmsApiFactory = function ( configuration ? , basePath ? , axios ? ) { return { param { CreateArticleDto } entry param { * } options throws articleCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . articleCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws articleFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . articleFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws articleQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . articleQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws articleRemove ( id , options ? ) { return CmsApiFp ( configuration ) . articleRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws articleSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . articleSearch ( keyword , value , options ) ( axios , basePath ) ; } , param { EditArticleDto } entry param { * } options throws articleUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . articleUpdate ( entry , options ) ( axios , basePath ) ; } , param { CreateCategoryDto } entry param { * } options throws categoryCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . categoryCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws categoryFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . categoryFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws categoryQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . categoryQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws categoryRemove ( id , options ? ) { return CmsApiFp ( configuration ) . categoryRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws categorySearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . categorySearch ( keyword , value , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws categorySearchTree ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . categorySearchTree ( keyword , value , options ) ( axios , basePath ) ; } , param { EditCategoryDto } entry param { * } options throws categoryUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . categoryUpdate ( entry , options ) ( axios , basePath ) ; } , param { CreateMediaDto } entry param { * } options throws mediaCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . mediaCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws mediaFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . mediaFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws mediaQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . mediaQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws mediaRemove ( id , options ? ) { return CmsApiFp ( configuration ) . mediaRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws mediaSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . mediaSearch ( keyword , value , options ) ( axios , basePath ) ; } , param { EditMediaDto } entry param { * } options throws mediaUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . mediaUpdate ( entry , options ) ( axios , basePath ) ; } , param { MediaFile } file param { * } options throws mediaUploadFile ( file , options ? ) { return CmsApiFp ( configuration ) . mediaUploadFile ( file , options ) ( axios , basePath ) ; } , param { Array < string > } files param { * } options throws mediaUploadFiles ( files ? , options ? ) { return CmsApiFp ( configuration ) . mediaUploadFiles ( files , options ) ( axios , basePath ) ; } , param { CreatePageReq } entry param { * } options throws pageCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . pageCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws pageFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . pageFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws pageQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . pageQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws pageRemove ( id , options ? ) { return CmsApiFp ( configuration ) . pageRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws pageSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . pageSearch ( keyword , value , options ) ( axios , basePath ) ; } , param { EditPageReq } entry param { * } options throws pageUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . pageUpdate ( entry , options ) ( axios , basePath ) ; } , param { CreatePhotoDto } entry param { * } options throws photoCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . photoCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws photoFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . photoFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws photoQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . photoQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws photoRemove ( id , options ? ) { return CmsApiFp ( configuration ) . photoRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws photoSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . photoSearch ( keyword , value , options ) ( axios , basePath ) ; } , param { EditPhotoDto } entry param { * } options throws photoUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . photoUpdate ( entry , options ) ( axios , basePath ) ; } , param { CreateWidgetDto } entry param { * } options throws widgetCreate ( entry , options ? ) { return CmsApiFp ( configuration ) . widgetCreate ( entry , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws widgetFindOne ( id , options ? ) { return CmsApiFp ( configuration ) . widgetFindOne ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws widgetQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( configuration ) . widgetQuery ( keyword , page , size , sort , options ) ( axios , basePath ) ; } , param { string } id param { * } options throws widgetRemove ( id , options ? ) { return CmsApiFp ( configuration ) . widgetRemove ( id , options ) ( axios , basePath ) ; } , param { string } keyword param { string } value param { * } options throws widgetSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( configuration ) . widgetSearch ( keyword , value , options ) ( axios , basePath ) ; } , param { EditWidgetDto } entry param { * } options throws widgetUpdate ( entry , options ? ) { return CmsApiFp ( configuration ) . widgetUpdate ( entry , options ) ( axios , basePath ) ; } , } ; } ; export class extends BaseAPI export class CmsApi extends BaseAPI { param { CreateArticleDto } entry param { * } options throws memberof public articleCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . articleCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public articleFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . articleFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public articleQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . articleQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public articleRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . articleRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public articleSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . articleSearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditArticleDto } entry param { * } options throws memberof public articleUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . articleUpdate ( entry , options ) ( this . axios , this . basePath ) ; } param { CreateCategoryDto } entry param { * } options throws memberof public categoryCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . categoryCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public categoryFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . categoryFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public categoryQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . categoryQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public categoryRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . categoryRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public categorySearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . categorySearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public categorySearchTree ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . categorySearchTree ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditCategoryDto } entry param { * } options throws memberof public categoryUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . categoryUpdate ( entry , options ) ( this . axios , this . basePath ) ; } param { CreateMediaDto } entry param { * } options throws memberof public mediaCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . mediaCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public mediaFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . mediaFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public mediaQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . mediaQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public mediaRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . mediaRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public mediaSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . mediaSearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditMediaDto } entry param { * } options throws memberof public mediaUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . mediaUpdate ( entry , options ) ( this . axios , this . basePath ) ; } param { MediaFile } file param { * } options throws memberof public mediaUploadFile ( file , options ? ) { return CmsApiFp ( this . configuration ) . mediaUploadFile ( file , options ) ( this . axios , this . basePath ) ; } param { Array < string > } files param { * } options throws memberof public mediaUploadFiles ( files ? , options ? ) { return CmsApiFp ( this . configuration ) . mediaUploadFiles ( files , options ) ( this . axios , this . basePath ) ; } param { CreatePageReq } entry param { * } options throws memberof public pageCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . pageCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public pageFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . pageFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public pageQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . pageQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public pageRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . pageRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public pageSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . pageSearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditPageReq } entry param { * } options throws memberof public pageUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . pageUpdate ( entry , options ) ( this . axios , this . basePath ) ; } param { CreatePhotoDto } entry param { * } options throws memberof public photoCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . photoCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public photoFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . photoFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public photoQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . photoQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public photoRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . photoRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public photoSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . photoSearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditPhotoDto } entry param { * } options throws memberof public photoUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . photoUpdate ( entry , options ) ( this . axios , this . basePath ) ; } param { CreateWidgetDto } entry param { * } options throws memberof public widgetCreate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . widgetCreate ( entry , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public widgetFindOne ( id , options ? ) { return CmsApiFp ( this . configuration ) . widgetFindOne ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { number } page param { number } size param { string } sort param { * } options throws memberof public widgetQuery ( keyword ? , page ? , size ? , sort ? , options ? ) { return CmsApiFp ( this . configuration ) . widgetQuery ( keyword , page , size , sort , options ) ( this . axios , this . basePath ) ; } param { string } id param { * } options throws memberof public widgetRemove ( id , options ? ) { return CmsApiFp ( this . configuration ) . widgetRemove ( id , options ) ( this . axios , this . basePath ) ; } param { string } keyword param { string } value param { * } options throws memberof public widgetSearch ( keyword ? , value ? , options ? ) { return CmsApiFp ( this . configuration ) . widgetSearch ( keyword , value , options ) ( this . axios , this . basePath ) ; } param { EditWidgetDto } entry param { * } options throws memberof public widgetUpdate ( entry , options ? ) { return CmsApiFp ( this . configuration ) . widgetUpdate ( entry , options ) ( this . axios , this . basePath ) ; } } export export const MockApiAxiosParamCreator = function ( configuration ? ) { return { param { * } options throws mockInitData ( options = { } ) { const localVarPath = `/mock/init` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , param { * } options throws mockReset ( options = { } ) { const localVarPath = `/mock/reset` ; const localVarUrlObj = globalImportUrl . parse ( localVarPath , true ) ; let baseOptions ; if ( configuration ) { baseOptions = configuration . baseOptions ; } const localVarRequestOptions = { method : 'GET' , ... baseOptions , ... options } ; const localVarHeaderParameter = { } as any ; const localVarQueryParameter = { } as any ; localVarUrlObj . query = { ... localVarUrlObj . query , ... localVarQueryParameter , ... options . query } ; delete localVarUrlObj . search ; localVarRequestOptions . headers = { ... localVarHeaderParameter , ... options . headers } ; return { url : globalImportUrl . format ( localVarUrlObj ) , options : localVarRequestOptions , } ; } , } ; } ; export export const MockApiFp = function ( configuration ? ) { return { param { * } options throws mockInitData ( options ? ) { const localVarAxiosArgs = MockApiAxiosParamCreator ( configuration ) . mockInitData ( options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , param { * } options throws mockReset ( options ? ) { const localVarAxiosArgs = MockApiAxiosParamCreator ( configuration ) . mockReset ( options ) ; return ( axios = globalAxios , basePath = BASE_PATH ) => { const axiosRequestArgs = { ... localVarAxiosArgs . options , url : basePath + localVarAxiosArgs . url } ; return axios . request ( axiosRequestArgs ) ; } ; } , } ; } ; export export const MockApiFactory = function ( configuration ? , basePath ? , axios ? ) { return { param { * } options throws mockInitData ( options ? ) { return MockApiFp ( configuration ) . mockInitData ( options ) ( axios , basePath ) ; } , param { * } options throws mockReset ( options ? ) { return MockApiFp ( configuration ) . mockReset ( options ) ( axios , basePath ) ; } , } ; } ; export class extends BaseAPI export class MockApi extends BaseAPI { param { * } options throws memberof public mockInitData ( options ? ) { return MockApiFp ( this . configuration ) . mockInitData ( options ) ( this . axios , this . basePath ) ; } param { * } options throws memberof public mockReset ( options ? ) { return MockApiFp ( this . configuration ) . mockReset ( options ) ( this . axios , this . basePath ) ; } }