Skip to content

Commit

Permalink
SP-19783 - update types
Browse files Browse the repository at this point in the history
  • Loading branch information
inspector-code committed Nov 22, 2024
1 parent 1798503 commit 4437ef1
Show file tree
Hide file tree
Showing 6 changed files with 91 additions and 3 deletions.
1 change: 1 addition & 0 deletions src/.openapi-generator/FILES
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ models/document-types-candidates-list.ts
models/document-types-candidates-result-all-of.ts
models/document-types-candidates-result.ts
models/document-types-candidates.ts
models/documents-database.ts
models/encrypted-rclresult-all-of.ts
models/encrypted-rclresult.ts
models/face-api-search.ts
Expand Down
49 changes: 49 additions & 0 deletions src/models/documents-database.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
/* tslint:disable */
/* eslint-disable */
/**
* Regula Document Reader Web API
* Documents recognition as easy as reading two bytes. # Clients: * [JavaScript](https://github.com/regulaforensics/DocumentReader-web-js-client) client for the browser and node.js based on axios * [Java](https://github.com/regulaforensics/DocumentReader-web-java-client) client compatible with jvm and android * [Python](https://github.com/regulaforensics/DocumentReader-web-python-client) 3.5+ client * [C#](https://github.com/regulaforensics/DocumentReader-web-csharp-client) client for .NET & .NET Core
*
* The version of the OpenAPI document: 7.2.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/



/**
* Document database information
* @export
* @interface DocumentsDatabase
*/
export interface DocumentsDatabase {
/**
* Document database description
* @type {string}
* @memberof DocumentsDatabase
*/
Description?: string;
/**
* Date the document database was created
* @type {string}
* @memberof DocumentsDatabase
*/
ExportDate?: string;
/**
* Document database identifier
* @type {string}
* @memberof DocumentsDatabase
*/
ID?: string;
/**
* Document database version
* @type {string}
* @memberof DocumentsDatabase
*/
Version?: string;
}


1 change: 1 addition & 0 deletions src/models/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ export * from './document-types-candidates';
export * from './document-types-candidates-list';
export * from './document-types-candidates-result';
export * from './document-types-candidates-result-all-of';
export * from './documents-database';
export * from './encrypted-rclresult';
export * from './encrypted-rclresult-all-of';
export * from './fdsidlist';
Expand Down
6 changes: 6 additions & 0 deletions src/models/process-params.ts
Original file line number Diff line number Diff line change
Expand Up @@ -380,6 +380,12 @@ export interface ProcessParams {
* @memberof ProcessParams
*/
strictBarcodeDigitalSignatureCheck?: boolean;
/**
* Select the longest value from the different value sources and write it to the value field if comparison is done successfully. The parameter applies this logic to the personal names, such as given name, surname, surname and given name, middle name and etc.
* @type {boolean}
* @memberof ProcessParams
*/
selectLongestNames?: boolean;
}


31 changes: 28 additions & 3 deletions src/models/transaction-info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
*/


import { DocumentsDatabase } from './documents-database';

/**
*
Expand All @@ -21,29 +22,53 @@
*/
export interface TransactionInfo {
/**
*
* Computer name
* @type {string}
* @memberof TransactionInfo
*/
ComputerName?: string;
/**
*
* Date and time
* @type {string}
* @memberof TransactionInfo
*/
DateTime?: string;
/**
*
* @type {DocumentsDatabase}
* @memberof TransactionInfo
*/
DocumentsDatabase?: DocumentsDatabase;
/**
* System information
* @type {string}
* @memberof TransactionInfo
*/
SystemInfo?: string;
/**
* Transaction tag
* @type {string}
* @memberof TransactionInfo
*/
Tag?: string;
/**
* Transaction identifier
* @type {string}
* @memberof TransactionInfo
*/
TransactionID?: string;
/**
*
* User name
* @type {string}
* @memberof TransactionInfo
*/
UserName?: string;
/**
* SDK version
* @type {string}
* @memberof TransactionInfo
*/
Version?: string;
}


6 changes: 6 additions & 0 deletions src/models/transaction-process-request.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,12 @@ export interface TransactionProcessRequest {
* @memberof TransactionProcessRequest
*/
passBackObject?: { [key: string]: object; };
/**
* Digital Travel Credential (DTC-VC) data in base64 format for processing
* @type {string}
* @memberof TransactionProcessRequest
*/
dtc?: string;
}


0 comments on commit 4437ef1

Please sign in to comment.