import { HttpClient } from '@angular/common/http'; import { BaseClient } from '../base-client'; import { DmsApiConfiguration } from '../dms-api-configuration'; import { DmsResponse } from '../dms-response'; import { Observable } from 'rxjs'; import { DmsDocumentModel } from '../models/dms-document-model'; import { DmsDocumentQuery } from '../models/dms-document-query'; import { DmsPatchDocumentRequest } from '../models/dms-patch-document-request'; import { DmsSaveDocumentRequest } from '../models/dms-save-document-request'; import { DmsUpdateDocumentRequest } from '../models/dms-update-document-request'; export declare class DmsDocumentsClient extends BaseClient { constructor(config: DmsApiConfiguration, http: HttpClient); /** * Path part for operation createDocument */ static readonly CreateDocumentPath = "/api/Documents/{fullPath}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `createDocument()` instead. * * This method sends `multipart/form-data` and handles response body of type `multipart/form-data` */ createDocument$Response(params: { fullPath: string; body?: DmsSaveDocumentRequest; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `createDocument$Response()` instead. * * This method sends `multipart/form-data` and handles response body of type `multipart/form-data` */ createDocument(params: { fullPath: string; body?: DmsSaveDocumentRequest; }): Observable; /** * Path part for operation getDocuments */ static readonly GetDocumentsPath = "/api/Documents/query/{pathFilter}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `getDocuments()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ getDocuments$Response(params: { pathFilter: string; body?: DmsDocumentQuery; }): Observable>>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `getDocuments$Response()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ getDocuments(params: { pathFilter: string; body?: DmsDocumentQuery; }): Observable>; /** * Path part for operation getDocument */ static readonly GetDocumentPath = "/api/Documents/{documentId}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `getDocument()` instead. * * This method doesn't expect any response body */ getDocument$Response(params: { documentId: number; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `getDocument$Response()` instead. * * This method doesn't expect any response body */ getDocument(params: { documentId: number; }): Observable; /** * Path part for operation updateDocument */ static readonly UpdateDocumentPath = "/api/Documents/{documentId}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `updateDocument()` instead. * * This method sends `multipart/form-data` and handles response body of type `multipart/form-data` */ updateDocument$Response(params: { documentId: number; body?: DmsUpdateDocumentRequest; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `updateDocument$Response()` instead. * * This method sends `multipart/form-data` and handles response body of type `multipart/form-data` */ updateDocument(params: { documentId: number; body?: DmsUpdateDocumentRequest; }): Observable; /** * Path part for operation deleteDocument */ static readonly DeleteDocumentPath = "/api/Documents/{documentId}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `deleteDocument()` instead. * * This method doesn't expect any response body */ deleteDocument$Response(params: { documentId: number; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `deleteDocument$Response()` instead. * * This method doesn't expect any response body */ deleteDocument(params: { documentId: number; }): Observable; /** * Path part for operation patchDocument */ static readonly PatchDocumentPath = "/api/Documents/{documentId}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `patchDocument()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ patchDocument$Response(params: { documentId: number; body?: DmsPatchDocumentRequest; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `patchDocument$Response()` instead. * * This method sends `application/json` and handles response body of type `application/json` */ patchDocument(params: { documentId: number; body?: DmsPatchDocumentRequest; }): Observable; /** * Path part for operation deleteDocumentsWithPath */ static readonly DeleteDocumentsWithPathPath = "/api/Documents/{pathFilter}"; /** * This method provides access to the full `HttpResponse`, allowing access to response headers. * To access only the response body, use `deleteDocumentsWithPath()` instead. * * This method doesn't expect any response body */ deleteDocumentsWithPath$Response(params: { pathFilter: string; }): Observable>; /** * This method provides access to only to the response body. * To access the full response (for headers, for example), `deleteDocumentsWithPath$Response()` instead. * * This method doesn't expect any response body */ deleteDocumentsWithPath(params: { pathFilter: string; }): Observable; }