import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { Operation } from '../model/operation'; import { OperationData } from '../model/operationData'; import { OperationPagination } from '../model/operationPagination'; import { OperationPatch } from '../model/operationPatch'; import { Configuration } from '../configuration'; import { OperationServiceInterface } from './operation.serviceInterface'; export declare class OperationService implements OperationServiceInterface { 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 Operation 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 state * @param page Page of the overview. * @param limit Page of the overview. * @param order * @param after * @param before * @param search_description * @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. */ cgetOperationsByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'body', reportProgress?: boolean): Observable; cgetOperationsByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'response', reportProgress?: boolean): Observable>; cgetOperationsByOrganization(x_keyclic_app: string, organization: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieve all Operation resources. * * @param x_keyclic_app * @param person The identifier of the resource formatted as GUID string. * @param accept_language * @param x_keyclic_app_version * @param state * @param page Page of the overview. * @param limit Page of the overview. * @param order * @param after * @param before * @param search_description * @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. */ cgetOperationsByPerson(x_keyclic_app: string, person: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'body', reportProgress?: boolean): Observable; cgetOperationsByPerson(x_keyclic_app: string, person: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'response', reportProgress?: boolean): Observable>; cgetOperationsByPerson(x_keyclic_app: string, person: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieve all Operation resources. * * @param x_keyclic_app * @param report The identifier of the resource formatted as GUID string. * @param accept_language * @param x_keyclic_app_version * @param state * @param page Page of the overview. * @param limit Page of the overview. * @param order * @param after * @param before * @param search_description * @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. */ cgetOperationsByReport(x_keyclic_app: string, report: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'body', reportProgress?: boolean): Observable; cgetOperationsByReport(x_keyclic_app: string, report: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'response', reportProgress?: boolean): Observable>; cgetOperationsByReport(x_keyclic_app: string, report: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, state?: string, page?: number, limit?: number, order?: 'asc' | 'desc', after?: Date, before?: Date, search_description?: string, search_name?: string, search_identificationNumber?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Remove one Operation resource. * * @param x_keyclic_app * @param operation 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. */ deleteOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; deleteOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieve one Operation resource. * * @param x_keyclic_app * @param operation 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. */ getOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; getOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; getOperation(x_keyclic_app: string, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Edit one Operation resource. * * @param x_keyclic_app * @param OperationPatch * @param operation 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. */ patchOperation(x_keyclic_app: string, OperationPatch: OperationPatch, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; patchOperation(x_keyclic_app: string, OperationPatch: OperationPatch, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; patchOperation(x_keyclic_app: string, OperationPatch: OperationPatch, operation: string, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * Create one Operation resource. * * @param x_keyclic_app * @param OperationData * @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. */ postOperation(x_keyclic_app: string, OperationData: OperationData, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'body', reportProgress?: boolean): Observable; postOperation(x_keyclic_app: string, OperationData: OperationData, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'response', reportProgress?: boolean): Observable>; postOperation(x_keyclic_app: string, OperationData: OperationData, accept_language?: 'fr-FR' | 'en-US', x_keyclic_app_version?: string, observe?: 'events', reportProgress?: boolean): Observable>; }