ch-api-client-typescript2
Version:
Openapi generated typescript-axios client for CloudHospital
97 lines • 3.94 kB
TypeScript
/**
* CloudHospital Api
* CloudHospital application with Swagger, Swashbuckle, and API versioning.
*
* The version of the OpenAPI document: 2
* Contact: developer@icloudhospital.com
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
import { Configuration } from '../configuration';
import { RequestArgs, BaseAPI } from '../base';
import { ZohoDealClosedWonWebhookCommand } from '../models';
/**
* WebhooksApi - axios parameter creator
* @export
*/
export declare const WebhooksApiAxiosParamCreator: (configuration?: Configuration) => {
/**
*
* @summary Webhook endpoint for Zoho dealClosedWon workflow
* @param {string} [xCloudhospitalApiKey]
* @param {ZohoDealClosedWonWebhookCommand} [zohoDealClosedWonWebhookCommand] paylaod
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2WebhooksZohodealclosedwonPost: (xCloudhospitalApiKey?: string, zohoDealClosedWonWebhookCommand?: ZohoDealClosedWonWebhookCommand, options?: AxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* WebhooksApi - functional programming interface
* @export
*/
export declare const WebhooksApiFp: (configuration?: Configuration) => {
/**
*
* @summary Webhook endpoint for Zoho dealClosedWon workflow
* @param {string} [xCloudhospitalApiKey]
* @param {ZohoDealClosedWonWebhookCommand} [zohoDealClosedWonWebhookCommand] paylaod
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2WebhooksZohodealclosedwonPost(xCloudhospitalApiKey?: string, zohoDealClosedWonWebhookCommand?: ZohoDealClosedWonWebhookCommand, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
};
/**
* WebhooksApi - factory interface
* @export
*/
export declare const WebhooksApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
*
* @summary Webhook endpoint for Zoho dealClosedWon workflow
* @param {string} [xCloudhospitalApiKey]
* @param {ZohoDealClosedWonWebhookCommand} [zohoDealClosedWonWebhookCommand] paylaod
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
apiV2WebhooksZohodealclosedwonPost(xCloudhospitalApiKey?: string, zohoDealClosedWonWebhookCommand?: ZohoDealClosedWonWebhookCommand, options?: any): AxiosPromise<void>;
};
/**
* Request parameters for apiV2WebhooksZohodealclosedwonPost operation in WebhooksApi.
* @export
* @interface WebhooksApiApiV2WebhooksZohodealclosedwonPostRequest
*/
export interface WebhooksApiApiV2WebhooksZohodealclosedwonPostRequest {
/**
*
* @type {string}
* @memberof WebhooksApiApiV2WebhooksZohodealclosedwonPost
*/
readonly xCloudhospitalApiKey?: string;
/**
* paylaod
* @type {ZohoDealClosedWonWebhookCommand}
* @memberof WebhooksApiApiV2WebhooksZohodealclosedwonPost
*/
readonly zohoDealClosedWonWebhookCommand?: ZohoDealClosedWonWebhookCommand;
}
/**
* WebhooksApi - object-oriented interface
* @export
* @class WebhooksApi
* @extends {BaseAPI}
*/
export declare class WebhooksApi extends BaseAPI {
/**
*
* @summary Webhook endpoint for Zoho dealClosedWon workflow
* @param {WebhooksApiApiV2WebhooksZohodealclosedwonPostRequest} requestParameters Request parameters.
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof WebhooksApi
*/
apiV2WebhooksZohodealclosedwonPost(requestParameters?: WebhooksApiApiV2WebhooksZohodealclosedwonPostRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
}
//# sourceMappingURL=webhooks-api.d.ts.map