Class: TemplateControllerApi

Hierarchy

Table of contents

Constructors

Properties

Methods

Constructors

constructor

new TemplateControllerApi(configuration?)

Parameters

NameType
configurationConfiguration

Inherited from

BaseAPI.constructor

Properties

configuration

Protected configuration: Configuration

Inherited from

BaseAPI.configuration

Methods

createTemplate

createTemplate(requestParameters, initOverrides?): Promise<TemplateDto>

Create a Template

Parameters

NameType
requestParametersCreateTemplateRequest
initOverrides?RequestInit

Returns

Promise<TemplateDto>


createTemplateRaw

createTemplateRaw(requestParameters, initOverrides?): Promise<ApiResponse<TemplateDto»

Create a Template

Parameters

NameType
requestParametersCreateTemplateRequest
initOverrides?RequestInit

Returns

Promise<ApiResponse<TemplateDto»


deleteTemplate

deleteTemplate(requestParameters, initOverrides?): Promise<void>

Delete Template

Parameters

NameType
requestParametersDeleteTemplateRequest
initOverrides?RequestInit

Returns

Promise<void>


deleteTemplateRaw

deleteTemplateRaw(requestParameters, initOverrides?): Promise<ApiResponse<void»

Delete Template

Parameters

NameType
requestParametersDeleteTemplateRequest
initOverrides?RequestInit

Returns

Promise<ApiResponse<void»


getAllTemplates

getAllTemplates(requestParameters, initOverrides?): Promise<PageTemplateProjection>

Get all Templates in paginated format

Parameters

NameType
requestParametersGetAllTemplatesRequest
initOverrides?RequestInit

Returns

Promise<PageTemplateProjection>


getAllTemplatesRaw

getAllTemplatesRaw(requestParameters, initOverrides?): Promise<ApiResponse<PageTemplateProjection»

Get all Templates in paginated format

Parameters

NameType
requestParametersGetAllTemplatesRequest
initOverrides?RequestInit

Returns

Promise<ApiResponse<PageTemplateProjection»


getTemplate

getTemplate(requestParameters, initOverrides?): Promise<TemplateDto>

Get Template

Parameters

NameType
requestParametersGetTemplateRequest
initOverrides?RequestInit

Returns

Promise<TemplateDto>


getTemplateRaw

getTemplateRaw(requestParameters, initOverrides?): Promise<ApiResponse<TemplateDto»

Get Template

Parameters

NameType
requestParametersGetTemplateRequest
initOverrides?RequestInit

Returns

Promise<ApiResponse<TemplateDto»


getTemplates

getTemplates(initOverrides?): Promise<TemplateProjection[]>

Get all Templates

Parameters

NameType
initOverrides?RequestInit

Returns

Promise<TemplateProjection[]>


getTemplatesRaw

getTemplatesRaw(initOverrides?): Promise<ApiResponse<TemplateProjection[]»

Get all Templates

Parameters

NameType
initOverrides?RequestInit

Returns

Promise<ApiResponse<TemplateProjection[]»


request

Protected request(context, initOverrides?): Promise<Response>

Parameters

NameType
contextRequestOpts
initOverrides?RequestInit

Returns

Promise<Response>

Inherited from

BaseAPI.request


updateTemplate

updateTemplate(requestParameters, initOverrides?): Promise<TemplateDto>

Update a Template

Parameters

NameType
requestParametersUpdateTemplateRequest
initOverrides?RequestInit

Returns

Promise<TemplateDto>


updateTemplateRaw

updateTemplateRaw(requestParameters, initOverrides?): Promise<ApiResponse<TemplateDto»

Update a Template

Parameters

NameType
requestParametersUpdateTemplateRequest
initOverrides?RequestInit

Returns

Promise<ApiResponse<TemplateDto»


withMiddleware

withMiddleware<T>(…middlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
...middlewaresMiddleware[]

Returns

T

Inherited from

BaseAPI.withMiddleware


withPostMiddleware

withPostMiddleware<T>(…postMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
...postMiddlewares(context: ResponseContext) => Promise<void

Returns

T

Inherited from

BaseAPI.withPostMiddleware


withPreMiddleware

withPreMiddleware<T>(…preMiddlewares): T

Type parameters

NameType
Textends BaseAPI<T>

Parameters

NameType
...preMiddlewares(context: RequestContext) => Promise<void

Returns

T

Inherited from

BaseAPI.withPreMiddleware