@herd/angular-client
Version:
Swagger generated client for @herd/angular-client
39 lines (38 loc) • 2.63 kB
TypeScript
/**
* herd
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
*
* OpenAPI spec version: 0.219.0-SNAPSHOT
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import { HttpClient, HttpHeaders, HttpResponse, HttpEvent } from '@angular/common/http';
import { Observable } from 'rxjs';
import { BusinessObjectDataStorageFilesCreateRequest } from '../model/businessObjectDataStorageFilesCreateRequest';
import { BusinessObjectDataStorageFilesCreateResponse } from '../model/businessObjectDataStorageFilesCreateResponse';
import { Configuration } from '../configuration';
export declare class BusinessObjectDataStorageFileService {
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;
/**
* createBusinessObjectDataStorageFiles
* Creates new file(s) for a given business object data and storage. <p>Addition of storage files is only allowed for business object data with a pre-registration status.</p> <p>Requires WRITE permission on namespace</p>
* @param businessObjectDataStorageFilesCreateRequest - the create file request
* @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.
*/
businessObjectDataStorageFileCreateBusinessObjectDataStorageFiles(businessObjectDataStorageFilesCreateRequest: BusinessObjectDataStorageFilesCreateRequest, observe?: 'body', reportProgress?: boolean): Observable<BusinessObjectDataStorageFilesCreateResponse>;
businessObjectDataStorageFileCreateBusinessObjectDataStorageFiles(businessObjectDataStorageFilesCreateRequest: BusinessObjectDataStorageFilesCreateRequest, observe?: 'response', reportProgress?: boolean): Observable<HttpResponse<BusinessObjectDataStorageFilesCreateResponse>>;
businessObjectDataStorageFileCreateBusinessObjectDataStorageFiles(businessObjectDataStorageFilesCreateRequest: BusinessObjectDataStorageFilesCreateRequest, observe?: 'events', reportProgress?: boolean): Observable<HttpEvent<BusinessObjectDataStorageFilesCreateResponse>>;
}