import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CategoryPagination } from '../model/categoryPagination'; import { Webhook } from '../model/webhook'; import { WebhookPatch } from '../model/webhookPatch'; import { Configuration } from '../configuration'; import { WebhookServiceInterface } from './webhook.serviceInterface'; export declare class WebhookService implements WebhookServiceInterface { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); /** * @param consumes string[] mime-types * @return true: consumes contains 'multipart/form-data', false: otherwise */ private canConsumeForm(consumes); /** * Retrieve all Webhook resources. * * @param x_keyclic_app * @param organization The identifier of the resource formatted as GUID string. * @param accept_language * @param x_keyclic_app_version * @param business_activity The identifier of the resource formatted as GUID string. * @param geo_coordinates One latitude and one longitude serialized and separated by a plus or a minus sign. * @param geo_point One latitude and one longitude serialized and separated by a plus or a minus sign. * @param page Page of the overview. * @param limit Page of the overview. * @param order * @param after * @param before * @param search_color * @param search_icon * @param search_name * @param search_identificationNumber * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ cgetWebhooksByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, business_activity?: string, geo_coordinates?: string, geo_point?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_color?: string, search_icon?: string, search_name?: string, search_identificationNumber?: string, observe?: 'body', reportProgress?: boolean): Observable; cgetWebhooksByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, business_activity?: string, geo_coordinates?: string, geo_point?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_color?: string, search_icon?: string, search_name?: string, search_identificationNumber?: string, observe?: 'response', reportProgress?: boolean): Observable>; cgetWebhooksByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, business_activity?: string, geo_coordinates?: string, geo_point?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_color?: string, search_icon?: string, search_name?: string, search_identificationNumber?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieve one Webhook resource. * * @param x_keyclic_app * @param webhook The identifier of the resource formatted as GUID string. * @param accept_language * @param x_keyclic_app_version * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ getWebhook(x_keyclic_app: string, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; getWebhook(x_keyclic_app: string, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; getWebhook(x_keyclic_app: string, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Edit one Webhook resource. * * @param x_keyclic_app * @param WebhookPatch * @param webhook The identifier of the resource formatted as GUID string. * @param accept_language * @param x_keyclic_app_version * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body. * @param reportProgress flag to report request and response progress. */ patchWebhook(x_keyclic_app: string, WebhookPatch: WebhookPatch, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; patchWebhook(x_keyclic_app: string, WebhookPatch: WebhookPatch, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; patchWebhook(x_keyclic_app: string, WebhookPatch: WebhookPatch, webhook: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; }