/** * 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 { Category } from '../model/category'; import { CategoryCreate } from '../model/categoryCreate'; import { CategoryUpdate } from '../model/categoryUpdate'; import { Configuration } from '../configuration'; export declare class CategoryService { 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 Category * This operation creates a Category entity. * @param category The Category 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. */ createCategory(category: CategoryCreate, observe?: 'body', reportProgress?: boolean): Observable; createCategory(category: CategoryCreate, observe?: 'response', reportProgress?: boolean): Observable>; createCategory(category: CategoryCreate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Deletes a Category * This operation deletes a Category entity. * @param id Identifier of the Category * @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. */ deleteCategory(id: string, observe?: 'body', reportProgress?: boolean): Observable; deleteCategory(id: string, observe?: 'response', reportProgress?: boolean): Observable>; deleteCategory(id: string, observe?: 'events', reportProgress?: boolean): Observable>; /** * List or find Category objects * This operation list or find Category 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. */ listCategory(fields?: string, offset?: number, limit?: number, observe?: 'body', reportProgress?: boolean): Observable>; listCategory(fields?: string, offset?: number, limit?: number, observe?: 'response', reportProgress?: boolean): Observable>>; listCategory(fields?: string, offset?: number, limit?: number, observe?: 'events', reportProgress?: boolean): Observable>>; /** * Updates partially a Category * This operation updates partially a Category entity. * @param id Identifier of the Category * @param category The Category 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. */ patchCategory(id: string, category: CategoryUpdate, observe?: 'body', reportProgress?: boolean): Observable; patchCategory(id: string, category: CategoryUpdate, observe?: 'response', reportProgress?: boolean): Observable>; patchCategory(id: string, category: CategoryUpdate, observe?: 'events', reportProgress?: boolean): Observable>; /** * Retrieves a Category by ID * This operation retrieves a Category entity. Attribute selection is enabled for all first level attributes. * @param id Identifier of the Category * @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. */ retrieveCategory(id: string, fields?: string, observe?: 'body', reportProgress?: boolean): Observable; retrieveCategory(id: string, fields?: string, observe?: 'response', reportProgress?: boolean): Observable>; retrieveCategory(id: string, fields?: string, observe?: 'events', reportProgress?: boolean): Observable>; }