/** * Pipedrive API v2 * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: 2.0.0 * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosInstance } from 'axios'; import { RequestArgs, BaseAPI } from '../base'; import { GetProjectTemplateResponse } from '../models'; import { GetProjectTemplatesResponse } from '../models'; /** * ProjectTemplatesApi - axios parameter creator * @export */ export declare const ProjectTemplatesApiAxiosParamCreator: (configuration?: Configuration) => { /** * Returns the details of a specific project template. * @summary Get details of a template * @param {number} id The ID of the project template * @throws {RequiredError} */ getProjectTemplate: (id: number) => Promise; /** * Returns all not deleted project templates. * @summary Get all project templates * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @throws {RequiredError} */ getProjectTemplates: (cursor?: string, limit?: number) => Promise; }; /** * ProjectTemplatesApi - functional programming interface * @export */ export declare const ProjectTemplatesApiFp: (configuration?: Configuration) => { /** * Returns the details of a specific project template. * @summary Get details of a template * @param {number} id The ID of the project template * @throws {RequiredError} */ getProjectTemplate(id: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>; /** * Returns all not deleted project templates. * @summary Get all project templates * @param {string} [cursor] For pagination, the marker (an opaque string value) representing the first item on the next page * @param {number} [limit] For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @throws {RequiredError} */ getProjectTemplates(cursor?: string, limit?: number): Promise<(axios?: AxiosInstance, basePath?: string) => Promise>; }; /** * ProjectTemplatesApi - factory interface * @export */ export declare const ProjectTemplatesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Returns the details of a specific project template. * @summary Get details of a template * @param {ProjectTemplatesApiGetProjectTemplateRequest} requestParameters Request parameters. * @throws {RequiredError} */ getProjectTemplate(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise; /** * Returns all not deleted project templates. * @summary Get all project templates * @param {ProjectTemplatesApiGetProjectTemplatesRequest} requestParameters Request parameters. * @throws {RequiredError} */ getProjectTemplates(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise; }; /** * Request parameters for getProjectTemplate operation in ProjectTemplatesApi. * @export * @interface ProjectTemplatesApiGetProjectTemplateRequest */ export interface ProjectTemplatesApiGetProjectTemplateRequest { /** * The ID of the project template * @type {number} * @memberof ProjectTemplatesApiGetProjectTemplate */ readonly id: number; } /** * Request parameters for getProjectTemplates operation in ProjectTemplatesApi. * @export * @interface ProjectTemplatesApiGetProjectTemplatesRequest */ export interface ProjectTemplatesApiGetProjectTemplatesRequest { /** * For pagination, the marker (an opaque string value) representing the first item on the next page * @type {string} * @memberof ProjectTemplatesApiGetProjectTemplates */ readonly cursor?: string; /** * For pagination, the limit of entries to be returned. If not provided, 100 items will be returned. Please note that a maximum value of 500 is allowed. * @type {number} * @memberof ProjectTemplatesApiGetProjectTemplates */ readonly limit?: number; } /** * ProjectTemplatesApi - object-oriented interface * @export * @class ProjectTemplatesApi * @extends {BaseAPI} */ export declare class ProjectTemplatesApi extends BaseAPI { /** * Returns the details of a specific project template. * @summary Get details of a template * @param {ProjectTemplatesApiGetProjectTemplateRequest} requestParameters Request parameters. * @throws {RequiredError} * @memberof ProjectTemplatesApi */ getProjectTemplate(requestParameters: ProjectTemplatesApiGetProjectTemplateRequest): Promise; /** * Returns all not deleted project templates. * @summary Get all project templates * @param {ProjectTemplatesApiGetProjectTemplatesRequest} requestParameters Request parameters. * @throws {RequiredError} * @memberof ProjectTemplatesApi */ getProjectTemplates(requestParameters?: ProjectTemplatesApiGetProjectTemplatesRequest): Promise; }