/** * 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 { ProductSpecification } from '../model/productSpecification'; import { ProductSpecificationCreate } from '../model/productSpecificationCreate'; import { ProductSpecificationUpdate } from '../model/productSpecificationUpdate'; import { Configuration } from '../configuration'; export declare class ProductSpecificationService { 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 ProductSpecification * This operation creates a ProductSpecification entity. * @param productSpecification The ProductSpecification 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. */ createProductSpecification(productSpecification: ProductSpecificationCreate, observe?: 'body', reportProgress?: boolean): Observable; createProductSpecification(productSpecification: ProductSpecificationCreate, observe?: 'response', reportProgress?: boolean): Observable>; createProductSpecification(productSpecification: ProductSpecificationCreate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Deletes a ProductSpecification * This operation deletes a ProductSpecification entity. * @param id Identifier of the ProductSpecification * @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. */ deleteProductSpecification(id: string, observe?: 'body', reportProgress?: boolean): Observable; deleteProductSpecification(id: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteProductSpecification(id: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * List or find ProductSpecification objects * This operation list or find ProductSpecification 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. */ listProductSpecification(fields?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable>; listProductSpecification(fields?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable>>; listProductSpecification(fields?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Updates partially a ProductSpecification * This operation updates partially a ProductSpecification entity. * @param id Identifier of the ProductSpecification * @param productSpecification The ProductSpecification 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. */ patchProductSpecification(id: string, productSpecification: ProductSpecificationUpdate, observe?: 'body', reportProgress?: boolean): Observable; patchProductSpecification(id: string, productSpecification: ProductSpecificationUpdate, observe?: 'response', reportProgress?: boolean): Observable>; patchProductSpecification(id: string, productSpecification: ProductSpecificationUpdate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieves a ProductSpecification by ID * This operation retrieves a ProductSpecification entity. Attribute selection is enabled for all first level attributes. * @param id Identifier of the ProductSpecification * @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. */ retrieveProductSpecification(id: string, fields?: string, observe?: 'body', reportProgress?: boolean): Observable; retrieveProductSpecification(id: string, fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; retrieveProductSpecification(id: string, fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; }