/** * Product Catalog Management * ## TMF API Reference: TMF620 - Product Catalog Management ### Release : 19.0 - June 2019 Product Catalog API is one of Catalog Management API Family. Product Catalog API goal is to provide a catalog of products. ### Operations Product Catalog API performs the following operations on the resources : - Retrieve an entity or a collection of entities depending on filter criteria - Partial update of an entity (including updating rules) - Create an entity (including default values and creation rules) - Delete an entity - Manage notification of events * * OpenAPI spec version: 4.0.0 * * * NOTE: This class is auto generated by the swagger code generator program. * https://github.com/swagger-api/swagger-codegen.git * Do not edit the class manually. */ import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http'; import { Observable } from 'rxjs'; import { ProductOffering } from '../model/productOffering'; import { ProductOfferingCreate } from '../model/productOfferingCreate'; import { ProductOfferingUpdate } from '../model/productOfferingUpdate'; import { Configuration } from '../configuration'; export declare class ProductOfferingService { 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; /** * Creates a ProductOffering * This operation creates a ProductOffering entity. * @param productOffering The ProductOffering to be created * @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. */ createProductOffering(productOffering: ProductOfferingCreate, observe?: 'body', reportProgress?: boolean): Observable; createProductOffering(productOffering: ProductOfferingCreate, observe?: 'response', reportProgress?: boolean): Observable>; createProductOffering(productOffering: ProductOfferingCreate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Deletes a ProductOffering * This operation deletes a ProductOffering entity. * @param id Identifier of the ProductOffering * @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. */ deleteProductOffering(id: string, observe?: 'body', reportProgress?: boolean): Observable; deleteProductOffering(id: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteProductOffering(id: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * List or find ProductOffering objects * This operation list or find ProductOffering entities * @param fields Comma-separated properties to be provided in response * @param offset Requested index for start of resources to be provided in response * @param limit Requested number of resources to be provided in response * @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. */ listProductOffering(fields?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable>; listProductOffering(fields?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable>>; listProductOffering(fields?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Updates partially a ProductOffering * This operation updates partially a ProductOffering entity. * @param id Identifier of the ProductOffering * @param productOffering The ProductOffering to be updated * @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. */ patchProductOffering(id: string, productOffering: ProductOfferingUpdate, observe?: 'body', reportProgress?: boolean): Observable; patchProductOffering(id: string, productOffering: ProductOfferingUpdate, observe?: 'response', reportProgress?: boolean): Observable>; patchProductOffering(id: string, productOffering: ProductOfferingUpdate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieves a ProductOffering by ID * This operation retrieves a ProductOffering entity. Attribute selection is enabled for all first level attributes. * @param id Identifier of the ProductOffering * @param fields Comma-separated properties to provide in response * @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. */ retrieveProductOffering(id: string, fields?: string, observe?: 'body', reportProgress?: boolean): Observable; retrieveProductOffering(id: string, fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; retrieveProductOffering(id: string, fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; }