import { HttpClient, HttpHeaders, HttpResponse, HttpEvent, HttpParameterCodec, HttpContext } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CompleteRelationship } from '../model/models'; import { CreateRelationshipRequest } from '../model/models'; import { DeleteRelationshipRequest } from '../model/models'; import { DeletedEntityResponse } from '../model/models'; import { Configuration } from '../configuration'; import * as i0 from "@angular/core"; export declare class RelationshipsService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * [EARLY ACCESS] CreateRelationship: Create Relationship * Create a relationship between two entity objects by their identifiers * @param scope The scope of the relationship * @param code The code of the relationship * @param createRelationshipRequest The details of the relationship to create. * @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. */ createRelationship(scope: string, code: string, createRelationshipRequest: CreateRelationshipRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; createRelationship(scope: string, code: string, createRelationshipRequest: CreateRelationshipRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; createRelationship(scope: string, code: string, createRelationshipRequest: CreateRelationshipRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; /** * [EARLY ACCESS] DeleteRelationship: Delete Relationship * Delete a relationship between two entity objects represented by their identifiers * @param scope The scope of the relationship * @param code The code of the relationship * @param deleteRelationshipRequest The details of the relationship to delete. * @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. */ deleteRelationship(scope: string, code: string, deleteRelationshipRequest: DeleteRelationshipRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable; deleteRelationship(scope: string, code: string, deleteRelationshipRequest: DeleteRelationshipRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; deleteRelationship(scope: string, code: string, deleteRelationshipRequest: DeleteRelationshipRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'text/plain' | 'application/json' | 'text/json'; context?: HttpContext; }): Observable>; static ɵfac: i0.ɵɵFactoryDeclaration; static ɵprov: i0.ɵɵInjectableDeclaration; }