/** * 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 { Catalog } from '../model/catalog'; import { CatalogCreate } from '../model/catalogCreate'; import { CatalogUpdate } from '../model/catalogUpdate'; import { Configuration } from '../configuration'; export declare class CatalogService { 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 Catalog * This operation creates a Catalog entity. * @param catalog The Catalog 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. */ createCatalog(catalog: CatalogCreate, observe?: 'body', reportProgress?: boolean): Observable; createCatalog(catalog: CatalogCreate, observe?: 'response', reportProgress?: boolean): Observable>; createCatalog(catalog: CatalogCreate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Deletes a Catalog * This operation deletes a Catalog entity. * @param id Identifier of the Catalog * @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. */ deleteCatalog(id: string, observe?: 'body', reportProgress?: boolean): Observable; deleteCatalog(id: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteCatalog(id: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * List or find Catalog objects * This operation list or find Catalog 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. */ listCatalog(fields?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable>; listCatalog(fields?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable>>; listCatalog(fields?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Updates partially a Catalog * This operation updates partially a Catalog entity. * @param id Identifier of the Catalog * @param catalog The Catalog 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. */ patchCatalog(id: string, catalog: CatalogUpdate, observe?: 'body', reportProgress?: boolean): Observable; patchCatalog(id: string, catalog: CatalogUpdate, observe?: 'response', reportProgress?: boolean): Observable>; patchCatalog(id: string, catalog: CatalogUpdate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieves a Catalog by ID * This operation retrieves a Catalog entity. Attribute selection is enabled for all first level attributes. * @param id Identifier of the Catalog * @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. */ retrieveCatalog(id: string, fields?: string, observe?: 'body', reportProgress?: boolean): Observable; retrieveCatalog(id: string, fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; retrieveCatalog(id: string, fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; }