import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ListObjectCredentialExistenceInfoResponse } from '../model/models'; import { ListObjectCredentialsResponse } from '../model/models'; import { ObjectCredential } from '../model/models'; import { Configuration } from '../configuration'; import { CredentialsServiceInterface, CreateObjectCredentialRequestParams, DeleteObjectCredentialRequestParams, GetObjectCredentialRequestParams, ListObjectCredentialExistenceInfoRequestParams, ListObjectCredentialsRequestParams, ReplaceObjectCredentialRequestParams } from './credentials.serviceInterface'; import * as i0 from "@angular/core"; export declare class CredentialsService implements CredentialsServiceInterface { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private getAuth; private addToHttpParams; private addToHttpParamsRecursive; /** * Add an object_credential * Adds an object_credential. Multiple credentials for a given purpose may exist for an object within an org. However, they must be distringuished by their priority. If one already exists for a given priority, a 409 will be returned. * @param requestParameters * @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. */ createObjectCredential(requestParameters: CreateObjectCredentialRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; createObjectCredential(requestParameters: CreateObjectCredentialRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; createObjectCredential(requestParameters: CreateObjectCredentialRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Delete an object_credential * Delete an object_credential * @param requestParameters * @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. */ deleteObjectCredential(requestParameters: DeleteObjectCredentialRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; deleteObjectCredential(requestParameters: DeleteObjectCredentialRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; deleteObjectCredential(requestParameters: DeleteObjectCredentialRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get an object_credential * Get an object_credential * @param requestParameters * @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. */ getObjectCredential(requestParameters: GetObjectCredentialRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; getObjectCredential(requestParameters: GetObjectCredentialRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; getObjectCredential(requestParameters: GetObjectCredentialRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * List ObjectCredentialExistenceInfo * List whether or not ObjectCredentials exist for the provided query parameters. Perform keyset pagination by setting the page_at_id parameter to the id for the next page to fetch. Set it to `\"\"` to start from the beginning. * @param requestParameters * @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. */ listObjectCredentialExistenceInfo(requestParameters: ListObjectCredentialExistenceInfoRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listObjectCredentialExistenceInfo(requestParameters: ListObjectCredentialExistenceInfoRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listObjectCredentialExistenceInfo(requestParameters: ListObjectCredentialExistenceInfoRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * List all object_credentials * List all object_credentials matching the provided query parameters. Perform keyset pagination by setting the page_at_id parameter to the id for the next page to fetch. Set it to `\"\"` to start from the beginning. * @param requestParameters * @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. */ listObjectCredentials(requestParameters: ListObjectCredentialsRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; listObjectCredentials(requestParameters: ListObjectCredentialsRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; listObjectCredentials(requestParameters: ListObjectCredentialsRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * update an object_credential * update an object_credential * @param requestParameters * @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. */ replaceObjectCredential(requestParameters: ReplaceObjectCredentialRequestParams, observe?: 'body', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; replaceObjectCredential(requestParameters: ReplaceObjectCredentialRequestParams, observe?: 'response', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; replaceObjectCredential(requestParameters: ReplaceObjectCredentialRequestParams, observe?: 'events', extraHeaders?: HttpHeaders, reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }