/** * MAB API * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator) * * The version of the OpenAPI document: v1 * * * 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, HttpParameterCodec } from '@angular/common/http'; import { Observable } from 'rxjs'; import { CalculateFormRequest } from '../model/models'; import { CalculateFromResult } from '../model/models'; import { DocumentApplyMethodRequest } from '../model/models'; import { DocumentApplyRequest } from '../model/models'; import { DocumentData } from '../model/models'; import { DocumentGroup } from '../model/models'; import { MetaDocument } from '../model/models'; import { Configuration } from '../configuration'; export declare class DocumentService { protected httpClient: HttpClient; protected basePath: string; defaultHeaders: HttpHeaders; configuration: Configuration; encoder: HttpParameterCodec; constructor(httpClient: HttpClient, basePath: string, configuration: Configuration); private addToHttpParams; private addToHttpParamsRecursive; /** * @param documentInstanceId * @param calculateFormRequest * @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. */ apiDocumentFormDataDocumentInstanceIdPost(documentInstanceId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiDocumentFormDataDocumentInstanceIdPost(documentInstanceId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentFormDataDocumentInstanceIdPost(documentInstanceId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * @param documentId * @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. */ apiDocumentFormDictionariesDocumentIdGet(documentId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiDocumentFormDictionariesDocumentIdGet(documentId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentFormDictionariesDocumentIdGet(documentId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * @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. */ apiDocumentGroupsGet(observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentGroupsGet(observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiDocumentGroupsGet(observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Creates new instance of meta document * @param documentId * @param body * @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. */ apiDocumentInstanceDocumentIdPost(documentId: number, body?: object, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiDocumentInstanceDocumentIdPost(documentId: number, body?: object, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentInstanceDocumentIdPost(documentId: number, body?: object, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets data of meta document instance. Uses for load actual data before Edit operations. * @param documentInstanceId * @param forEdit * @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. */ apiDocumentInstanceDocumentInstanceIdGet(documentInstanceId: number, forEdit?: boolean, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiDocumentInstanceDocumentInstanceIdGet(documentInstanceId: number, forEdit?: boolean, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentInstanceDocumentInstanceIdGet(documentInstanceId: number, forEdit?: boolean, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets scheme of meta document. Scheme also contains data about method which must be called to create meta document instance. * @param documentId * @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. */ apiDocumentSchemasDocumentIdGet(documentId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiDocumentSchemasDocumentIdGet(documentId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiDocumentSchemasDocumentIdGet(documentId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Creates new instance of meta document * @param documentId * @param calculateFormRequest * @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. */ apiGetFormCalculatedDataDocumentIdPost(documentId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiGetFormCalculatedDataDocumentIdPost(documentId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiGetFormCalculatedDataDocumentIdPost(documentId: number, calculateFormRequest?: CalculateFormRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Unlocks the document * @param id * @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. */ apiInstancesIdLockDelete(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdLockDelete(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdLockDelete(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets the document lock if any * @param id * @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. */ apiInstancesIdLockGet(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdLockGet(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdLockGet(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Locks the document * @param id * @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. */ apiInstancesIdLockPost(id: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdLockPost(id: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdLockPost(id: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Execute method for metadocument instance * @param id * @param documentApplyRequest * @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. */ apiInstancesIdPatch(id: number, documentApplyRequest?: DocumentApplyRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdPatch(id: number, documentApplyRequest?: DocumentApplyRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdPatch(id: number, documentApplyRequest?: DocumentApplyRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Update data and execute method for metadocument instance. * If method id is null, document rollen back or execute method with name Edit * @param id * @param documentApplyMethodRequest * @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. */ apiInstancesIdPut(id: number, documentApplyMethodRequest?: DocumentApplyMethodRequest, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdPut(id: number, documentApplyMethodRequest?: DocumentApplyMethodRequest, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdPut(id: number, documentApplyMethodRequest?: DocumentApplyMethodRequest, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Get included document child button text for input. * @param id * @param fieldId * @param parentMetaDocumentId * @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. */ apiInstancesIdReferencedInstancesFieldIdChildButtonTextGet(id: number, fieldId: number, parentMetaDocumentId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdReferencedInstancesFieldIdChildButtonTextGet(id: number, fieldId: number, parentMetaDocumentId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdReferencedInstancesFieldIdChildButtonTextGet(id: number, fieldId: number, parentMetaDocumentId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets data of meta-document instances on which field refers * @param id * @param fieldId * @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. */ apiInstancesIdReferencedInstancesFieldIdGet(id: number, fieldId: number, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdReferencedInstancesFieldIdGet(id: number, fieldId: number, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdReferencedInstancesFieldIdGet(id: number, fieldId: number, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Creates new instance of child referenced meta document. * @param id * @param fieldId * @param body * @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. */ apiInstancesIdReferencedInstancesFieldIdPost(id: number, fieldId: number, body?: object, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable; apiInstancesIdReferencedInstancesFieldIdPost(id: number, fieldId: number, body?: object, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiInstancesIdReferencedInstancesFieldIdPost(id: number, fieldId: number, body?: object, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; /** * Gets data of meta document instances and available methods on them for dashboard. * Filter the list of documents in accordance with the dashboard settings by profile Id. * @param id * @param dateFrom * @param dateTo * @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. */ apiMetaDocumentsIdInstancesForDashboardGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiMetaDocumentsIdInstancesForDashboardGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiMetaDocumentsIdInstancesForDashboardGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; /** * Gets data of meta document instances and available methods on them. * @param id * @param dateFrom * @param dateTo * @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. */ apiMetaDocumentsIdInstancesGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'body', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>; apiMetaDocumentsIdInstancesGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'response', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; apiMetaDocumentsIdInstancesGet(id: number, dateFrom?: string, dateTo?: string, observe?: 'events', reportProgress?: boolean, options?: { httpHeaderAccept?: 'application/json'; }): Observable>>; }