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`
|
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
|
URL="$BASE"redaction-gateway-v1/v2/api-docs?group=redaction-gateway-v1
|
||||||
rm -Rf /tmp/swagger
|
rm -Rf /tmp/swagger
|
||||||
mkdir -p /tmp/swagger
|
mkdir -p /tmp/swagger
|
||||||
|
|||||||
@ -14,42 +14,46 @@ export interface Dossier {
|
|||||||
approverIds?: Array<string>;
|
approverIds?: Array<string>;
|
||||||
date?: string;
|
date?: string;
|
||||||
description?: string;
|
description?: string;
|
||||||
|
dossierId?: string;
|
||||||
|
dossierName?: string;
|
||||||
|
dossierTemplateId?: string;
|
||||||
downloadFileTypes?: Array<Dossier.DownloadFileTypesEnum>;
|
downloadFileTypes?: Array<Dossier.DownloadFileTypesEnum>;
|
||||||
dueDate?: string;
|
dueDate?: string;
|
||||||
memberIds?: Array<string>;
|
memberIds?: Array<string>;
|
||||||
ownerId?: string;
|
ownerId?: string;
|
||||||
dossierId?: string;
|
reportTemplateIds?: Array<string>;
|
||||||
dossierName?: string;
|
|
||||||
reportTypes?: Array<Dossier.ReportTypesEnum>;
|
reportTypes?: Array<Dossier.ReportTypesEnum>;
|
||||||
dossierTemplateId?: string;
|
|
||||||
status?: Dossier.StatusEnum;
|
status?: Dossier.StatusEnum;
|
||||||
|
watermarkEnabled?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export namespace Dossier {
|
export namespace Dossier {
|
||||||
export type DownloadFileTypesEnum =
|
export type DownloadFileTypesEnum =
|
||||||
|
| 'ANNOTATED'
|
||||||
|
| 'FLATTEN'
|
||||||
| 'ORIGINAL'
|
| 'ORIGINAL'
|
||||||
| 'PREVIEW'
|
| 'PREVIEW'
|
||||||
| 'REDACTED'
|
| 'REDACTED';
|
||||||
| 'ANNOTATED'
|
|
||||||
| 'FLATTEN';
|
|
||||||
export const DownloadFileTypesEnum = {
|
export const DownloadFileTypesEnum = {
|
||||||
|
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||||
|
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum,
|
||||||
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
||||||
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
||||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum,
|
REDACTED: 'REDACTED' as DownloadFileTypesEnum
|
||||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
|
||||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum
|
|
||||||
};
|
};
|
||||||
export type ReportTypesEnum =
|
export type ReportTypesEnum =
|
||||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
|
||||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE'
|
|
||||||
| 'EXCEL_MULTI_FILE'
|
| '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 = {
|
export const ReportTypesEnum = {
|
||||||
|
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||||
|
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum,
|
||||||
|
WORDSINGLEFILE: 'WORD_SINGLE_FILE' as ReportTypesEnum,
|
||||||
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
||||||
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
||||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE:
|
WORDSINGLEFILEAPPENDIXA2TEMPLATE: 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum
|
||||||
'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum,
|
|
||||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
|
||||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum
|
|
||||||
};
|
};
|
||||||
export type StatusEnum = 'ACTIVE' | 'DELETED';
|
export type StatusEnum = 'ACTIVE' | 'DELETED';
|
||||||
export const StatusEnum = {
|
export const StatusEnum = {
|
||||||
|
|||||||
@ -14,10 +14,26 @@
|
|||||||
* Object containing information about a dossier.
|
* Object containing information about a dossier.
|
||||||
*/
|
*/
|
||||||
export interface DossierRequest {
|
export interface DossierRequest {
|
||||||
|
/**
|
||||||
|
* The id(s) of approvers associated to this dossier.
|
||||||
|
*/
|
||||||
|
approverIds?: Array<string>;
|
||||||
/**
|
/**
|
||||||
* The dossier's description (optional).
|
* The dossier's description (optional).
|
||||||
*/
|
*/
|
||||||
description?: string;
|
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.
|
* Download File Types for this dossiers submission package.
|
||||||
*/
|
*/
|
||||||
@ -35,47 +51,44 @@ export interface DossierRequest {
|
|||||||
*/
|
*/
|
||||||
ownerId?: string;
|
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;
|
reportTemplateIds?: Array<string>;
|
||||||
/**
|
|
||||||
* The name of the dossier. Must be unique.
|
|
||||||
*/
|
|
||||||
dossierName?: string;
|
|
||||||
/**
|
/**
|
||||||
* Report File Types for this dossiers submission package.
|
* Report File Types for this dossiers submission package.
|
||||||
*/
|
*/
|
||||||
reportTypes?: Array<DossierRequest.ReportTypesEnum>;
|
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 namespace DossierRequest {
|
||||||
export type DownloadFileTypesEnum =
|
export type DownloadFileTypesEnum =
|
||||||
|
| 'ANNOTATED'
|
||||||
|
| 'FLATTEN'
|
||||||
| 'ORIGINAL'
|
| 'ORIGINAL'
|
||||||
| 'PREVIEW'
|
| 'PREVIEW'
|
||||||
| 'REDACTED'
|
| 'REDACTED';
|
||||||
| 'ANNOTATED'
|
|
||||||
| 'FLATTEN';
|
|
||||||
export const DownloadFileTypesEnum = {
|
export const DownloadFileTypesEnum = {
|
||||||
|
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
||||||
|
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum,
|
||||||
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
ORIGINAL: 'ORIGINAL' as DownloadFileTypesEnum,
|
||||||
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
PREVIEW: 'PREVIEW' as DownloadFileTypesEnum,
|
||||||
REDACTED: 'REDACTED' as DownloadFileTypesEnum,
|
REDACTED: 'REDACTED' as DownloadFileTypesEnum
|
||||||
ANNOTATED: 'ANNOTATED' as DownloadFileTypesEnum,
|
|
||||||
FLATTEN: 'FLATTEN' as DownloadFileTypesEnum
|
|
||||||
};
|
};
|
||||||
export type ReportTypesEnum =
|
export type ReportTypesEnum =
|
||||||
| 'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE'
|
|
||||||
| 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE'
|
|
||||||
| 'EXCEL_MULTI_FILE'
|
| '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 = {
|
export const ReportTypesEnum = {
|
||||||
|
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
||||||
|
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum,
|
||||||
|
WORDSINGLEFILE: 'WORD_SINGLE_FILE' as ReportTypesEnum,
|
||||||
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
WORDSINGLEFILEAPPENDIXA1TEMPLATE:
|
||||||
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
'WORD_SINGLE_FILE_APPENDIX_A1_TEMPLATE' as ReportTypesEnum,
|
||||||
WORDSINGLEFILEAPPENDIXA2TEMPLATE:
|
WORDSINGLEFILEAPPENDIXA2TEMPLATE: 'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum
|
||||||
'WORD_SINGLE_FILE_APPENDIX_A2_TEMPLATE' as ReportTypesEnum,
|
|
||||||
EXCELMULTIFILE: 'EXCEL_MULTI_FILE' as ReportTypesEnum,
|
|
||||||
EXCELSINGLEFILE: 'EXCEL_SINGLE_FILE' as ReportTypesEnum
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@ -13,8 +13,8 @@ import { RedactionChangeLogEntry } from './redactionChangeLogEntry';
|
|||||||
|
|
||||||
export interface RedactionChangeLog {
|
export interface RedactionChangeLog {
|
||||||
dictionaryVersion?: number;
|
dictionaryVersion?: number;
|
||||||
filename?: string;
|
dossierDictionaryVersion?: number;
|
||||||
|
legalBasisVersion?: number;
|
||||||
redactionLogEntry?: Array<RedactionChangeLogEntry>;
|
redactionLogEntry?: Array<RedactionChangeLogEntry>;
|
||||||
dossierTemplateId?: string;
|
|
||||||
rulesVersion?: number;
|
rulesVersion?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -9,12 +9,14 @@
|
|||||||
* https://github.com/swagger-api/swagger-codegen.git
|
* https://github.com/swagger-api/swagger-codegen.git
|
||||||
* Do not edit the class manually.
|
* Do not edit the class manually.
|
||||||
*/
|
*/
|
||||||
|
import { LegalBasisMapping } from './legalBasisMapping';
|
||||||
import { RedactionLogEntry } from './redactionLogEntry';
|
import { RedactionLogEntry } from './redactionLogEntry';
|
||||||
|
|
||||||
export interface RedactionLog {
|
export interface RedactionLog {
|
||||||
dictionaryVersion?: number;
|
dictionaryVersion?: number;
|
||||||
filename?: string;
|
dossierDictionaryVersion?: number;
|
||||||
|
legalBasis?: Array<LegalBasisMapping>;
|
||||||
|
legalBasisVersion?: number;
|
||||||
redactionLogEntry?: Array<RedactionLogEntry>;
|
redactionLogEntry?: Array<RedactionLogEntry>;
|
||||||
dossierTemplateId?: string;
|
|
||||||
rulesVersion?: number;
|
rulesVersion?: number;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user