API rework

This commit is contained in:
Timo 2021-06-24 11:13:36 +03:00
parent 1001e2b424
commit 326171b336
27 changed files with 287 additions and 449 deletions

View File

@ -141,7 +141,7 @@ export class FileStatusWrapper {
return [
FileStatus.StatusEnum.REPROCESS,
FileStatus.StatusEnum.FULLREPROCESS,
FileStatus.StatusEnum.OCR_PROCESSING,
FileStatus.StatusEnum.OCRPROCESSING,
FileStatus.StatusEnum.PROCESSING
].includes(this.status);
}

View File

@ -26,7 +26,7 @@ import { Configuration } from '../configuration';
export class AuditControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -88,7 +88,7 @@ export class AuditControllerService {
return this.httpClient.request<Array<CategoryModel>>(
'get',
`${this.basePath}/redaction-gateway-v1/audit/categories`,
`${this.basePath}/audit/categories`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -161,16 +161,12 @@ export class AuditControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<AuditResponse>(
'post',
`${this.basePath}/redaction-gateway-v1/audit/search`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<AuditResponse>('post', `${this.basePath}/audit/search`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -146,9 +146,9 @@ export class DictionaryControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/dictionary/${encodeURIComponent(
String(type)
)}/${encodeURIComponent(String(dossierTemplateId))}`,
`${this.basePath}/dictionary/${encodeURIComponent(String(type))}/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
body: body,
params: queryParameters,
@ -231,18 +231,14 @@ export class DictionaryControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/dictionary/type`,
{
body: body,
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/dictionary/type`, {
body: body,
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -445,11 +441,9 @@ export class DictionaryControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/dictionary/${encodeURIComponent(
String(type)
)}/${encodeURIComponent(String(dossierTemplateId))}/${encodeURIComponent(
String(entry)
)}`,
`${this.basePath}/dictionary/${encodeURIComponent(String(type))}/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(entry))}`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
@ -809,9 +803,7 @@ export class DictionaryControllerService {
return this.httpClient.request<TypeResponse>(
'get',
`${this.basePath}/dictionary/type/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/dictionary/type/${encodeURIComponent(String(dossierTemplateId))}`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
@ -879,9 +871,7 @@ export class DictionaryControllerService {
return this.httpClient.request<Colors>(
'get',
`${this.basePath}/color/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/color/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -969,9 +959,9 @@ export class DictionaryControllerService {
return this.httpClient.request<Dictionary>(
'get',
`${this.basePath}/dictionary/${encodeURIComponent(
String(type)
)}/${encodeURIComponent(String(dossierTemplateId))}`,
`${this.basePath}/dictionary/${encodeURIComponent(String(type))}/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
@ -1058,9 +1048,7 @@ export class DictionaryControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/color/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/color/${encodeURIComponent(String(dossierTemplateId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,

View File

@ -26,7 +26,7 @@ import { Configuration } from '../configuration';
export class DigitalSignatureControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -83,16 +83,12 @@ export class DigitalSignatureControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/digital-signature`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('delete', `${this.basePath}/digital-signature`, {
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -141,7 +137,7 @@ export class DigitalSignatureControllerService {
return this.httpClient.request<DigitalSignatureViewModelRes>(
'get',
`${this.basePath}/redaction-gateway-v1/digital-signature`,
`${this.basePath}/digital-signature`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -216,7 +212,7 @@ export class DigitalSignatureControllerService {
return this.httpClient.request<DigitalSignatureViewModelRes>(
'post',
`${this.basePath}/redaction-gateway-v1/digital-signature`,
`${this.basePath}/digital-signature`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -234,25 +230,25 @@ export class DigitalSignatureControllerService {
* @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.
*/
public saveDigitalSignature1(
public updateDigitalSignature(
body: DigitalSignatureViewModelReq,
observe?: 'body',
reportProgress?: boolean
): Observable<any>;
public saveDigitalSignature1(
public updateDigitalSignature(
body: DigitalSignatureViewModelReq,
observe?: 'response',
reportProgress?: boolean
): Observable<HttpResponse<any>>;
public saveDigitalSignature1(
public updateDigitalSignature(
body: DigitalSignatureViewModelReq,
observe?: 'events',
reportProgress?: boolean
): Observable<HttpEvent<any>>;
public saveDigitalSignature1(
public updateDigitalSignature(
body: DigitalSignatureViewModelReq,
observe: any = 'body',
reportProgress: boolean = false
@ -290,16 +286,12 @@ export class DigitalSignatureControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'put',
`${this.basePath}/redaction-gateway-v1/digital-signature`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('put', `${this.basePath}/digital-signature`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -28,7 +28,7 @@ import { Configuration } from '../configuration';
export class DossierAttributesControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -120,9 +120,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributesRes>(
'post',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/update/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/dossierAttributes/update/${encodeURIComponent(String(dossierId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -209,7 +207,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributeConfig>(
'post',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/config/${encodeURIComponent(
`${this.basePath}/dossierAttributes/config/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
@ -290,7 +288,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/set/${encodeURIComponent(
`${this.basePath}/dossierAttributes/set/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(dossierAttributeId))}`,
{
@ -370,7 +368,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/config/${encodeURIComponent(
`${this.basePath}/dossierAttributes/config/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(dossierAttributeId))}`,
{
@ -458,9 +456,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<any>(
'post',
`${
this.basePath
}/redaction-gateway-v1/dossierAttributes/config/delete/${encodeURIComponent(
`${this.basePath}/dossierAttributes/config/delete/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
@ -530,9 +526,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributesRes>(
'get',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/dossierAttributes/${encodeURIComponent(String(dossierId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -599,7 +593,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributesConfig>(
'get',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/config/${encodeURIComponent(
`${this.basePath}/dossierAttributes/config/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
@ -687,9 +681,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributesRes>(
'post',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/set/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/dossierAttributes/set/${encodeURIComponent(String(dossierId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -776,7 +768,7 @@ export class DossierAttributesControllerService {
return this.httpClient.request<DossierAttributesConfig>(
'put',
`${this.basePath}/redaction-gateway-v1/dossierAttributes/config/${encodeURIComponent(
`${this.basePath}/dossierAttributes/config/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class DossierControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -104,17 +104,13 @@ export class DossierControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<Dossier>(
'post',
`${this.basePath}/redaction-gateway-v1/dossier`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<Dossier>('post', `${this.basePath}/dossier`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -174,9 +170,7 @@ export class DossierControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/dossier/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/dossier/${encodeURIComponent(String(dossierId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -243,9 +237,7 @@ export class DossierControllerService {
return this.httpClient.request<Dossier>(
'get',
`${this.basePath}/redaction-gateway-v1/dossier/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/dossier/${encodeURIComponent(String(dossierId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -293,15 +285,11 @@ export class DossierControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<Array<Dossier>>(
'get',
`${this.basePath}/redaction-gateway-v1/dossier`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<Array<Dossier>>('get', `${this.basePath}/dossier`, {
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -24,7 +24,7 @@ import { Configuration } from '../configuration';
export class DossierTemplateControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -105,7 +105,7 @@ export class DossierTemplateControllerService {
return this.httpClient.request<DossierTemplateModel>(
'post',
`${this.basePath}/redaction-gateway-v1/dossier-template`,
`${this.basePath}/dossier-template`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -173,9 +173,7 @@ export class DossierTemplateControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/dossier-template/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/dossier-template/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -248,17 +246,13 @@ export class DossierTemplateControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/dossier-template/delete`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/dossier-template/delete`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -376,7 +370,7 @@ export class DossierTemplateControllerService {
return this.httpClient.request<Array<DossierTemplateModel>>(
'get',
`${this.basePath}/redaction-gateway-v1/dossier-template`,
`${this.basePath}/dossier-template`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -443,9 +437,7 @@ export class DossierTemplateControllerService {
return this.httpClient.request<DossierTemplateModel>(
'get',
`${this.basePath}/redaction-gateway-v1/dossier-template/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/dossier-template/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,

View File

@ -28,7 +28,7 @@ import { Configuration } from '../configuration';
export class DownloadControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -112,17 +112,13 @@ export class DownloadControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<any>(
'get',
`${this.basePath}/redaction-gateway-v1/async/download`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('get', `${this.basePath}/async/download`, {
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -171,7 +167,7 @@ export class DownloadControllerService {
return this.httpClient.request<DownloadStatusResponse>(
'get',
`${this.basePath}/redaction-gateway-v1/async/download/status`,
`${this.basePath}/async/download/status`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -246,7 +242,7 @@ export class DownloadControllerService {
return this.httpClient.request<DownloadResponse>(
'post',
`${this.basePath}/redaction-gateway-v1/async/download/prepare`,
`${this.basePath}/async/download/prepare`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -264,25 +260,25 @@ export class DownloadControllerService {
* @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.
*/
public prepareDownload1(
public deleteDownload(
body: RemoveDownloadRequest,
observe?: 'body',
reportProgress?: boolean
): Observable<any>;
public prepareDownload1(
public deleteDownload(
body: RemoveDownloadRequest,
observe?: 'response',
reportProgress?: boolean
): Observable<HttpResponse<any>>;
public prepareDownload1(
public deleteDownload(
body: RemoveDownloadRequest,
observe?: 'events',
reportProgress?: boolean
): Observable<HttpEvent<any>>;
public prepareDownload1(
public deleteDownload(
body: RemoveDownloadRequest,
observe: any = 'body',
reportProgress: boolean = false
@ -320,16 +316,12 @@ export class DownloadControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/async/download/delete`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/async/download/delete`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -26,7 +26,7 @@ import { Configuration } from '../configuration';
export class FileAttributesControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -110,9 +110,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<any>(
'delete',
`${
this.basePath
}/redaction-gateway-v1/fileAttributes/config/fileAttribute/${encodeURIComponent(
`${this.basePath}/fileAttributes/config/fileAttribute/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(fileAttributeId))}`,
{
@ -200,9 +198,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<any>(
'post',
`${
this.basePath
}/redaction-gateway-v1/fileAttributes/config/fileAttribute/${encodeURIComponent(
`${this.basePath}/fileAttributes/config/fileAttribute/${encodeURIComponent(
String(dossierTemplateId)
)}/delete`,
{
@ -272,7 +268,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<FileAttributesConfig>(
'get',
`${this.basePath}/redaction-gateway-v1/fileAttributes/config/${encodeURIComponent(
`${this.basePath}/fileAttributes/config/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
@ -371,7 +367,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/fileAttributes/set/${encodeURIComponent(
`${this.basePath}/fileAttributes/set/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -460,9 +456,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<FileAttributesConfig>(
'put',
`${
this.basePath
}/redaction-gateway-v1/fileAttributes/config/baseConfig/${encodeURIComponent(
`${this.basePath}/fileAttributes/config/baseConfig/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{
@ -551,9 +545,7 @@ export class FileAttributesControllerService {
return this.httpClient.request<FileAttributeConfig>(
'post',
`${
this.basePath
}/redaction-gateway-v1/fileAttributes/config/fileAttribute/${encodeURIComponent(
`${this.basePath}/fileAttributes/config/fileAttribute/${encodeURIComponent(
String(dossierTemplateId)
)}`,
{

View File

@ -23,7 +23,7 @@ import { Configuration } from '../configuration';
export class FileManagementControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -107,9 +107,9 @@ export class FileManagementControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/delete/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
`${this.basePath}/delete/${encodeURIComponent(String(dossierId))}/${encodeURIComponent(
String(fileId)
)}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -195,7 +195,7 @@ export class FileManagementControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/delete/${encodeURIComponent(String(dossierId))}`,
`${this.basePath}/delete/${encodeURIComponent(String(dossierId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -284,7 +284,7 @@ export class FileManagementControllerService {
return this.httpClient.request<any>(
'get',
`${this.basePath}/redaction-gateway-v1/download/annotated/${encodeURIComponent(
`${this.basePath}/download/annotated/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{

View File

@ -24,7 +24,7 @@ import { Configuration } from '../configuration';
export class GeneralSettingsControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -86,7 +86,7 @@ export class GeneralSettingsControllerService {
return this.httpClient.request<GeneralConfigurationModel>(
'get',
`${this.basePath}/redaction-gateway-v1/configuration/general`,
`${this.basePath}/configuration/general`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -159,16 +159,12 @@ export class GeneralSettingsControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/configuration/general`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/configuration/general`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -24,7 +24,7 @@ import { Configuration } from '../configuration';
export class InfoControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -78,15 +78,11 @@ export class InfoControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<AuthInfo>(
'get',
`${this.basePath}/redaction-gateway-v1/info`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<AuthInfo>('get', `${this.basePath}/info`, {
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -24,7 +24,7 @@ import { Configuration } from '../configuration';
export class LegalBasisMappingControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -97,9 +97,7 @@ export class LegalBasisMappingControllerService {
return this.httpClient.request<Array<LegalBasisMapping>>(
'get',
`${this.basePath}/redaction-gateway-v1/legalBasis/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/legalBasis/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -185,9 +183,7 @@ export class LegalBasisMappingControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/legalBasis/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/legalBasis/${encodeURIComponent(String(dossierTemplateId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,

View File

@ -26,7 +26,7 @@ import { Configuration } from '../configuration';
export class LicenseReportControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -123,17 +123,13 @@ export class LicenseReportControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<LicenseReport>(
'post',
`${this.basePath}/redaction-gateway-v1/report/license`,
{
body: body,
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<LicenseReport>('post', `${this.basePath}/report/license`, {
body: body,
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -32,7 +32,7 @@ import { Configuration } from '../configuration';
export class ManualRedactionControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -146,7 +146,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<CommentResponse>(
'post',
`${this.basePath}/redaction-gateway-v1/manualRedaction/comment/add/${encodeURIComponent(
`${this.basePath}/manualRedaction/comment/add/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(annotationId))}`,
{
@ -246,9 +246,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/redaction/add/${encodeURIComponent(
`${this.basePath}/manualRedaction/redaction/add/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -359,7 +357,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/manualRedaction/approve/${encodeURIComponent(
`${this.basePath}/manualRedaction/approve/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(annotationId))}`,
{
@ -451,7 +449,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/manualRedaction/decline/${encodeURIComponent(
`${this.basePath}/manualRedaction/decline/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(annotationId))}`,
{
@ -550,9 +548,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/redaction/force/${encodeURIComponent(
`${this.basePath}/manualRedaction/redaction/force/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -633,7 +629,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualRedactions>(
'get',
`${this.basePath}/redaction-gateway-v1/manualRedaction/${encodeURIComponent(
`${this.basePath}/manualRedaction/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -732,9 +728,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/redaction/recategorize/${encodeURIComponent(
`${this.basePath}/manualRedaction/redaction/recategorize/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -834,9 +828,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/redaction/remove/${encodeURIComponent(
`${this.basePath}/manualRedaction/redaction/remove/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -936,7 +928,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${this.basePath}/redaction-gateway-v1/manualRedaction/request/add/${encodeURIComponent(
`${this.basePath}/manualRedaction/request/add/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -1036,9 +1028,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/request/force/${encodeURIComponent(
`${this.basePath}/manualRedaction/request/force/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -1138,9 +1128,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/request/recategorize/${encodeURIComponent(
`${this.basePath}/manualRedaction/request/recategorize/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -1240,9 +1228,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<ManualAddResponse>(
'post',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/request/remove/${encodeURIComponent(
`${this.basePath}/manualRedaction/request/remove/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -1332,7 +1318,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/manualRedaction/undo/${encodeURIComponent(
`${this.basePath}/manualRedaction/undo/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(annotationId))}`,
{
@ -1434,9 +1420,7 @@ export class ManualRedactionControllerService {
return this.httpClient.request<any>(
'delete',
`${
this.basePath
}/redaction-gateway-v1/manualRedaction/comment/undo/${encodeURIComponent(
`${this.basePath}/manualRedaction/comment/undo/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(
String(annotationId)

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class ReanalysisControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -128,7 +128,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/exclude-pages/${encodeURIComponent(
`${this.basePath}/exclude-pages/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -228,7 +228,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/include-pages/${encodeURIComponent(
`${this.basePath}/include-pages/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -298,9 +298,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/ocr/reanalyze/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/ocr/reanalyze/${encodeURIComponent(String(dossierId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -378,7 +376,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/ocr/reanalyze/${encodeURIComponent(
`${this.basePath}/ocr/reanalyze/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -464,9 +462,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/ocr/reanalyze/${encodeURIComponent(
String(dossierId)
)}/bulk`,
`${this.basePath}/ocr/reanalyze/${encodeURIComponent(String(dossierId))}/bulk`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -544,9 +540,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/reanalyze/${encodeURIComponent(
String(dossierId)
)}`,
`${this.basePath}/reanalyze/${encodeURIComponent(String(dossierId))}`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
@ -635,7 +629,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/reanalyze/${encodeURIComponent(
`${this.basePath}/reanalyze/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -734,9 +728,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/reanalyze/${encodeURIComponent(
String(dossierId)
)}/bulk`,
`${this.basePath}/reanalyze/${encodeURIComponent(String(dossierId))}/bulk`,
{
body: body,
params: queryParameters,
@ -826,7 +818,7 @@ export class ReanalysisControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/toggle-analysis/${encodeURIComponent(
`${this.basePath}/toggle-analysis/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{

View File

@ -26,7 +26,7 @@ import { Configuration } from '../configuration';
export class RedactionLogControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -110,7 +110,7 @@ export class RedactionLogControllerService {
return this.httpClient.request<RedactionChangeLog>(
'get',
`${this.basePath}/redaction-gateway-v1/redactionChnageLog/${encodeURIComponent(
`${this.basePath}/redactionChnageLog/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -190,7 +190,7 @@ export class RedactionLogControllerService {
return this.httpClient.request<RedactionLog>(
'get',
`${this.basePath}/redaction-gateway-v1/redactionLog/${encodeURIComponent(
`${this.basePath}/redactionLog/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -270,7 +270,7 @@ export class RedactionLogControllerService {
return this.httpClient.request<SectionGrid>(
'get',
`${this.basePath}/redaction-gateway-v1/sectionGrid/${encodeURIComponent(
`${this.basePath}/sectionGrid/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class ReportTemplateControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -109,7 +109,7 @@ export class ReportTemplateControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/templateUpload/${encodeURIComponent(
`${this.basePath}/templateUpload/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(templateId))}`,
{
@ -189,7 +189,7 @@ export class ReportTemplateControllerService {
return this.httpClient.request<any>(
'get',
`${this.basePath}/redaction-gateway-v1/templateUpload/${encodeURIComponent(
`${this.basePath}/templateUpload/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(templateId))}`,
{
@ -258,9 +258,7 @@ export class ReportTemplateControllerService {
return this.httpClient.request<Array<ReportTemplate>>(
'get',
`${this.basePath}/redaction-gateway-v1/templateUpload/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/templateUpload/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -353,9 +351,7 @@ export class ReportTemplateControllerService {
return this.httpClient.request<ReportTemplate>(
'post',
`${this.basePath}/redaction-gateway-v1/templateUpload/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/templateUpload/${encodeURIComponent(String(dossierTemplateId))}`,
{
body: convertFormParamsToString ? formParams.toString() : formParams,
withCredentials: this.configuration.withCredentials,

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class RulesControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -98,9 +98,7 @@ export class RulesControllerService {
return this.httpClient.request<Rules>(
'get',
`${this.basePath}/redaction-gateway-v1/rules/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/rules/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -167,9 +165,7 @@ export class RulesControllerService {
return this.httpClient.request<any>(
'get',
`${this.basePath}/redaction-gateway-v1/rules/${encodeURIComponent(
String(dossierTemplateId)
)}/download`,
`${this.basePath}/rules/${encodeURIComponent(String(dossierTemplateId))}/download`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -238,7 +234,7 @@ export class RulesControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>('post', `${this.basePath}/redaction-gateway-v1/rules`, {
return this.httpClient.request<any>('post', `${this.basePath}/rules`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -330,9 +326,7 @@ export class RulesControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/rules/${encodeURIComponent(
String(dossierTemplateId)
)}/upload`,
`${this.basePath}/rules/${encodeURIComponent(String(dossierTemplateId))}/upload`,
{
body: convertFormParamsToString ? formParams.toString() : formParams,
withCredentials: this.configuration.withCredentials,

View File

@ -24,7 +24,7 @@ import { Configuration } from '../configuration';
export class SmtpConfigurationControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -81,16 +81,12 @@ export class SmtpConfigurationControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/configuration/smtp`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('delete', `${this.basePath}/configuration/smtp`, {
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -139,7 +135,7 @@ export class SmtpConfigurationControllerService {
return this.httpClient.request<SMTPConfigurationModel>(
'get',
`${this.basePath}/redaction-gateway-v1/configuration/smtp`,
`${this.basePath}/configuration/smtp`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -212,17 +208,13 @@ export class SmtpConfigurationControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/configuration/smtp/test`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/configuration/smtp/test`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -288,16 +280,12 @@ export class SmtpConfigurationControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/configuration/smtp`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/configuration/smtp`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
}

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class StatusControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -98,7 +98,7 @@ export class StatusControllerService {
return this.httpClient.request<Array<FileStatus>>(
'get',
`${this.basePath}/redaction-gateway-v1/status/${encodeURIComponent(String(dossierId))}`,
`${this.basePath}/status/${encodeURIComponent(String(dossierId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -176,9 +176,9 @@ export class StatusControllerService {
return this.httpClient.request<FileStatus>(
'get',
`${this.basePath}/redaction-gateway-v1/status/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
`${this.basePath}/status/${encodeURIComponent(String(dossierId))}/${encodeURIComponent(
String(fileId)
)}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -253,7 +253,7 @@ export class StatusControllerService {
return this.httpClient.request<{ [key: string]: Array<FileStatus> }>(
'post',
`${this.basePath}/redaction-gateway-v1/status`,
`${this.basePath}/status`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -343,9 +343,9 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(reviewerId))}`,
`${this.basePath}/status/${encodeURIComponent(String(dossierId))}/${encodeURIComponent(
String(fileId)
)}/${encodeURIComponent(String(reviewerId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -442,7 +442,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/${encodeURIComponent(
`${this.basePath}/status/${encodeURIComponent(
String(dossierId)
)}/bulk/${encodeURIComponent(String(reviewerId))}`,
{
@ -523,7 +523,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/approved/${encodeURIComponent(
`${this.basePath}/status/approved/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -611,9 +611,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/approved/${encodeURIComponent(
String(dossierId)
)}/bulk`,
`${this.basePath}/status/approved/${encodeURIComponent(String(dossierId))}/bulk`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -702,7 +700,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/underapproval/${encodeURIComponent(
`${this.basePath}/status/underapproval/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -807,9 +805,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/underapproval/${encodeURIComponent(
String(dossierId)
)}/bulk`,
`${this.basePath}/status/underapproval/${encodeURIComponent(String(dossierId))}/bulk`,
{
body: body,
params: queryParameters,
@ -889,7 +885,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/underreview/${encodeURIComponent(
`${this.basePath}/status/underreview/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -977,9 +973,7 @@ export class StatusControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/status/underreview/${encodeURIComponent(
String(dossierId)
)}/bulk`,
`${this.basePath}/status/underreview/${encodeURIComponent(String(dossierId))}/bulk`,
{
body: body,
withCredentials: this.configuration.withCredentials,

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class UploadControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -124,7 +124,7 @@ export class UploadControllerService {
return this.httpClient.request<FileUploadResult>(
'post',
`${this.basePath}/redaction-gateway-v1/upload/${encodeURIComponent(String(dossierId))}`,
`${this.basePath}/upload/${encodeURIComponent(String(dossierId))}`,
{
body: convertFormParamsToString ? formParams.toString() : formParams,
withCredentials: this.configuration.withCredentials,

View File

@ -29,7 +29,7 @@ import { Configuration } from '../configuration';
export class UserControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -121,7 +121,7 @@ export class UserControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/user/${encodeURIComponent(String(userId))}/role`,
`${this.basePath}/user/${encodeURIComponent(String(userId))}/role`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -195,7 +195,7 @@ export class UserControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<User>('post', `${this.basePath}/redaction-gateway-v1/user`, {
return this.httpClient.request<User>('post', `${this.basePath}/user`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -257,7 +257,7 @@ export class UserControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/user/${encodeURIComponent(String(userId))}`,
`${this.basePath}/user/${encodeURIComponent(String(userId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -329,17 +329,13 @@ export class UserControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/user`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('delete', `${this.basePath}/user`, {
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -396,17 +392,13 @@ export class UserControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<Array<User>>(
'get',
`${this.basePath}/redaction-gateway-v1/user`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<Array<User>>('get', `${this.basePath}/user`, {
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -466,7 +458,7 @@ export class UserControllerService {
return this.httpClient.request<User>(
'get',
`${this.basePath}/redaction-gateway-v1/user/${encodeURIComponent(String(userId))}`,
`${this.basePath}/user/${encodeURIComponent(String(userId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -530,17 +522,13 @@ export class UserControllerService {
headers = headers.set('Accept', httpHeaderAcceptSelected);
}
return this.httpClient.request<Array<User>>(
'get',
`${this.basePath}/redaction-gateway-v1/user/red`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<Array<User>>('get', `${this.basePath}/user/red`, {
params: queryParameters,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -619,9 +607,7 @@ export class UserControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/user/${encodeURIComponent(
String(userId)
)}/reset-password`,
`${this.basePath}/user/${encodeURIComponent(String(userId))}/reset-password`,
{
body: body,
withCredentials: this.configuration.withCredentials,
@ -639,25 +625,25 @@ export class UserControllerService {
* @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.
*/
public updateProfile(
public updateMyProfile(
body: UpdateMyProfileRequest,
observe?: 'body',
reportProgress?: boolean
): Observable<any>;
public updateProfile(
public updateMyProfile(
body: UpdateMyProfileRequest,
observe?: 'response',
reportProgress?: boolean
): Observable<HttpResponse<any>>;
public updateProfile(
public updateMyProfile(
body: UpdateMyProfileRequest,
observe?: 'events',
reportProgress?: boolean
): Observable<HttpEvent<any>>;
public updateProfile(
public updateMyProfile(
body: UpdateMyProfileRequest,
observe: any = 'body',
reportProgress: boolean = false
@ -695,17 +681,13 @@ export class UserControllerService {
headers = headers.set('Content-Type', httpContentTypeSelected);
}
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/user/my-profile`,
{
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
}
);
return this.httpClient.request<any>('post', `${this.basePath}/user/my-profile`, {
body: body,
withCredentials: this.configuration.withCredentials,
headers: headers,
observe: observe,
reportProgress: reportProgress
});
}
/**
@ -716,28 +698,28 @@ export class UserControllerService {
* @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.
*/
public updateProfile1(
public updateProfile(
body: UpdateProfileRequest,
userId: string,
observe?: 'body',
reportProgress?: boolean
): Observable<any>;
public updateProfile1(
public updateProfile(
body: UpdateProfileRequest,
userId: string,
observe?: 'response',
reportProgress?: boolean
): Observable<HttpResponse<any>>;
public updateProfile1(
public updateProfile(
body: UpdateProfileRequest,
userId: string,
observe?: 'events',
reportProgress?: boolean
): Observable<HttpEvent<any>>;
public updateProfile1(
public updateProfile(
body: UpdateProfileRequest,
userId: string,
observe: any = 'body',
@ -784,9 +766,7 @@ export class UserControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/user/profile/${encodeURIComponent(
String(userId)
)}`,
`${this.basePath}/user/profile/${encodeURIComponent(String(userId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,

View File

@ -22,7 +22,7 @@ import { Configuration } from '../configuration';
export class UserPreferenceControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -95,7 +95,7 @@ export class UserPreferenceControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/attributes/${encodeURIComponent(String(key))}`,
`${this.basePath}/attributes/${encodeURIComponent(String(key))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -151,7 +151,7 @@ export class UserPreferenceControllerService {
return this.httpClient.request<{ [key: string]: Array<string> }>(
'get',
`${this.basePath}/redaction-gateway-v1/attributes`,
`${this.basePath}/attributes`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -237,7 +237,7 @@ export class UserPreferenceControllerService {
return this.httpClient.request<any>(
'put',
`${this.basePath}/redaction-gateway-v1/attributes/${encodeURIComponent(String(key))}`,
`${this.basePath}/attributes/${encodeURIComponent(String(key))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class VersionsControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -109,7 +109,7 @@ export class VersionsControllerService {
return this.httpClient.request<number>(
'get',
`${this.basePath}/redaction-gateway-v1/version/dossier/${encodeURIComponent(
`${this.basePath}/version/dossier/${encodeURIComponent(
String(dossierTemplateId)
)}/${encodeURIComponent(String(dossierId))}`,
{
@ -185,7 +185,7 @@ export class VersionsControllerService {
return this.httpClient.request<{ [key: string]: VersionsResponse }>(
'get',
`${this.basePath}/redaction-gateway-v1/version`,
`${this.basePath}/version`,
{
params: queryParameters,
withCredentials: this.configuration.withCredentials,

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class ViewedPagesControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -126,7 +126,7 @@ export class ViewedPagesControllerService {
return this.httpClient.request<any>(
'post',
`${this.basePath}/redaction-gateway-v1/viewedPages/${encodeURIComponent(
`${this.basePath}/viewedPages/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -207,7 +207,7 @@ export class ViewedPagesControllerService {
return this.httpClient.request<ViewedPages>(
'get',
`${this.basePath}/redaction-gateway-v1/viewedPages/${encodeURIComponent(
`${this.basePath}/viewedPages/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}`,
{
@ -298,7 +298,7 @@ export class ViewedPagesControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/viewedPages/${encodeURIComponent(
`${this.basePath}/viewedPages/${encodeURIComponent(
String(dossierId)
)}/${encodeURIComponent(String(fileId))}/${encodeURIComponent(String(page))}`,
{

View File

@ -25,7 +25,7 @@ import { Configuration } from '../configuration';
export class WatermarkControllerService {
public defaultHeaders = new HttpHeaders();
public configuration = new Configuration();
protected basePath = '//red-staging.iqser.cloud/';
protected basePath = '';
constructor(
protected httpClient: HttpClient,
@ -98,9 +98,7 @@ export class WatermarkControllerService {
return this.httpClient.request<any>(
'delete',
`${this.basePath}/redaction-gateway-v1/watermark/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/watermark/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -167,9 +165,7 @@ export class WatermarkControllerService {
return this.httpClient.request<WatermarkModelRes>(
'get',
`${this.basePath}/redaction-gateway-v1/watermark/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/watermark/${encodeURIComponent(String(dossierTemplateId))}`,
{
withCredentials: this.configuration.withCredentials,
headers: headers,
@ -255,9 +251,7 @@ export class WatermarkControllerService {
return this.httpClient.request<WatermarkModelRes>(
'post',
`${this.basePath}/redaction-gateway-v1/watermark/${encodeURIComponent(
String(dossierTemplateId)
)}`,
`${this.basePath}/watermark/${encodeURIComponent(String(dossierTemplateId))}`,
{
body: body,
withCredentials: this.configuration.withCredentials,