updated some model classes
This commit is contained in:
parent
796e7a51ec
commit
ed4e01056e
@ -7,7 +7,7 @@ To re-generate http rune swagger
|
||||
YOu need swagger-codegen installed `brew install swagger-codegen`
|
||||
|
||||
```
|
||||
BASE=https://dev-06.iqser.cloud/
|
||||
BASE=https://dev-08.iqser.cloud/
|
||||
URL="$BASE"redaction-gateway-v1/v2/api-docs?group=redaction-gateway-v1
|
||||
rm -Rf /tmp/swagger
|
||||
mkdir -p /tmp/swagger
|
||||
|
||||
@ -14,42 +14,46 @@ export interface Dossier {
|
||||
approverIds?: Array<string>;
|
||||
date?: string;
|
||||
description?: string;
|
||||
dossierId?: string;
|
||||
dossierName?: string;
|
||||
dossierTemplateId?: string;
|
||||
downloadFileTypes?: Array<Dossier.DownloadFileTypesEnum>;
|
||||
dueDate?: string;
|
||||
memberIds?: Array<string>;
|
||||
ownerId?: string;
|
||||
dossierId?: string;
|
||||
dossierName?: string;
|
||||
reportTemplateIds?: Array<string>;
|
||||
reportTypes?: Array<Dossier.ReportTypesEnum>;
|
||||
dossierTemplateId?: string;
|
||||
status?: Dossier.StatusEnum;
|
||||
watermarkEnabled?: boolean;
|
||||
}
|
||||
|
||||
export namespace Dossier {
|
||||
export type DownloadFileTypesEnum =
|
||||
| 'ANNOTATED'
|
||||
| 'FLATTEN'
|
||||
| 'ORIGINAL'
|
||||
| 'PREVIEW'
|
||||
| 'REDACTED'
|
||||
| 'ANNOTATED'
|
||||
| 'FLATTEN';
|
||||
| 'REDACTED';
|
||||
export const DownloadFileTypesEnum = {
|
||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum,
|
||||
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
||||
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum,
|
||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum
|
||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum
|
||||
};
|
||||
export type ReportTypesEnum =
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE'
|
||||
| 'EXCEL_MULTI_FILE'
|
||||
| 'EXCEL_SINGLE_FILE';
|
||||
| 'EXCEL_SINGLE_FILE'
|
||||
| 'WORD_SINGLE_FILE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE';
|
||||
export const ReportTypesEnum = {
|
||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum,
|
||||
WORDSINGLEFILE: 'WORD_SINGLE_FILE' as ReportTypesEnum,
|
||||
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
||||
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE:
|
||||
'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum,
|
||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum
|
||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE: 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum
|
||||
};
|
||||
export type StatusEnum = 'ACTIVE' | 'DELETED';
|
||||
export const StatusEnum = {
|
||||
|
||||
@ -14,10 +14,26 @@
|
||||
* Object containing information about a dossier.
|
||||
*/
|
||||
export interface DossierRequest {
|
||||
/**
|
||||
* The id(s) of approvers associated to this dossier.
|
||||
*/
|
||||
approverIds?: Array<string>;
|
||||
/**
|
||||
* The dossier's description (optional).
|
||||
*/
|
||||
description?: string;
|
||||
/**
|
||||
* The id of the dossier, can be null for create requests.
|
||||
*/
|
||||
dossierId?: string;
|
||||
/**
|
||||
* The name of the dossier. Must be unique.
|
||||
*/
|
||||
dossierName?: string;
|
||||
/**
|
||||
* The dossierTemplateId for this dossier. can be null for update request.
|
||||
*/
|
||||
dossierTemplateId?: string;
|
||||
/**
|
||||
* Download File Types for this dossiers submission package.
|
||||
*/
|
||||
@ -35,47 +51,44 @@ export interface DossierRequest {
|
||||
*/
|
||||
ownerId?: string;
|
||||
/**
|
||||
* The id of the dossier, can be null for create requests.
|
||||
* Id(s) of the word report templates used to generate downloads
|
||||
*/
|
||||
dossierId?: string;
|
||||
/**
|
||||
* The name of the dossier. Must be unique.
|
||||
*/
|
||||
dossierName?: string;
|
||||
reportTemplateIds?: Array<string>;
|
||||
/**
|
||||
* Report File Types for this dossiers submission package.
|
||||
*/
|
||||
reportTypes?: Array<DossierRequest.ReportTypesEnum>;
|
||||
/**
|
||||
* The dossierTemplateId for this dossier. can be null for update request.
|
||||
* Whether a watermark will be applied to the redacted files or not.
|
||||
*/
|
||||
dossierTemplateId?: string;
|
||||
watermarkEnabled?: boolean;
|
||||
}
|
||||
export namespace DossierRequest {
|
||||
export type DownloadFileTypesEnum =
|
||||
| 'ANNOTATED'
|
||||
| 'FLATTEN'
|
||||
| 'ORIGINAL'
|
||||
| 'PREVIEW'
|
||||
| 'REDACTED'
|
||||
| 'ANNOTATED'
|
||||
| 'FLATTEN';
|
||||
| 'REDACTED';
|
||||
export const DownloadFileTypesEnum = {
|
||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum,
|
||||
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
||||
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum,
|
||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum
|
||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum
|
||||
};
|
||||
export type ReportTypesEnum =
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE'
|
||||
| 'EXCEL_MULTI_FILE'
|
||||
| 'EXCEL_SINGLE_FILE';
|
||||
| 'EXCEL_SINGLE_FILE'
|
||||
| 'WORD_SINGLE_FILE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE';
|
||||
export const ReportTypesEnum = {
|
||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum,
|
||||
WORDSINGLEFILE: 'WORD_SINGLE_FILE' as ReportTypesEnum,
|
||||
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
||||
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE:
|
||||
'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum,
|
||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum
|
||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE: 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum
|
||||
};
|
||||
}
|
||||
|
||||
@ -13,8 +13,8 @@ import { RedactionChangeLogEntry } from './redactionChangeLogEntry';
|
||||
|
||||
export interface RedactionChangeLog {
|
||||
dictionaryVersion?: number;
|
||||
filename?: string;
|
||||
dossierDictionaryVersion?: number;
|
||||
legalBasisVersion?: number;
|
||||
redactionLogEntry?: Array<RedactionChangeLogEntry>;
|
||||
dossierTemplateId?: string;
|
||||
rulesVersion?: number;
|
||||
}
|
||||
|
||||
@ -9,12 +9,14 @@
|
||||
* https://github.com/swagger-api/swagger-codegen.git
|
||||
* Do not edit the class manually.
|
||||
*/
|
||||
import { LegalBasisMapping } from './legalBasisMapping';
|
||||
import { RedactionLogEntry } from './redactionLogEntry';
|
||||
|
||||
export interface RedactionLog {
|
||||
dictionaryVersion?: number;
|
||||
filename?: string;
|
||||
dossierDictionaryVersion?: number;
|
||||
legalBasis?: Array<LegalBasisMapping>;
|
||||
legalBasisVersion?: number;
|
||||
redactionLogEntry?: Array<RedactionLogEntry>;
|
||||
dossierTemplateId?: string;
|
||||
rulesVersion?: number;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user