Skip to content

Commit

Permalink
Upgrade after onfido-openapi-spec change d180edd
Browse files Browse the repository at this point in the history
  • Loading branch information
dvacca-onfido authored and github-actions[bot] committed Nov 7, 2024
1 parent 20c4066 commit fb3bb59
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 181 deletions.
8 changes: 4 additions & 4 deletions .release.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"source": {
"repo_url": "https://github.com/onfido/onfido-openapi-spec",
"short_sha": "2998dd3",
"long_sha": "2998dd3ad2db49a33e0ecf9b41c7cf873909ef0b",
"version": "v4.0.0"
"short_sha": "d180edd",
"long_sha": "d180eddd168dd95bf84bf7c8fe9f8c7e3c0c5494",
"version": "v4.1.0"
},
"release": "v4.0.0"
"release": "v4.1.0"
}
48 changes: 24 additions & 24 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3101,10 +3101,10 @@ export interface DocumentProperties {
'address_lines'?: DocumentPropertiesAddressLines;
/**
*
* @type {Array<DocumentPropertiesBarcodeInner>}
* @type {DocumentPropertiesBarcode}
* @memberof DocumentProperties
*/
'barcode'?: Array<DocumentPropertiesBarcodeInner>;
'barcode'?: DocumentPropertiesBarcode;
/**
*
* @type {DocumentPropertiesNfc}
Expand Down Expand Up @@ -3208,115 +3208,115 @@ export interface DocumentPropertiesAddressLines {
/**
*
* @export
* @interface DocumentPropertiesBarcodeInner
* @interface DocumentPropertiesBarcode
*/
export interface DocumentPropertiesBarcodeInner {
export interface DocumentPropertiesBarcode {
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'first_name'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'middle_name'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'last_name'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'document_type'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'date_of_expiry'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'date_of_birth'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'issuing_date'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'address_line_1'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'address_line_2'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'address_line_3'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'address_line_4'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'address_line_5'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'issuing_state'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'class'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'gender'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'issuing_country'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'document_number'?: string;
/**
*
* @type {string}
* @memberof DocumentPropertiesBarcodeInner
* @memberof DocumentPropertiesBarcode
*/
'real_id_classification'?: string;
}
Expand Down Expand Up @@ -4377,10 +4377,10 @@ export interface DocumentWithDriverVerificationReportAllOfProperties {
'address_lines'?: DocumentPropertiesAddressLines;
/**
*
* @type {Array<DocumentPropertiesBarcodeInner>}
* @type {DocumentPropertiesBarcode}
* @memberof DocumentWithDriverVerificationReportAllOfProperties
*/
'barcode'?: Array<DocumentPropertiesBarcodeInner>;
'barcode'?: DocumentPropertiesBarcode;
/**
*
* @type {DocumentPropertiesNfc}
Expand Down
2 changes: 1 addition & 1 deletion configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class Configuration {
this.baseOptions = {...{ timeout: 30_000 },
...param.baseOptions,
...{ headers: {...param.baseOptions?.headers,
...{'User-Agent': 'onfido-node/4.0.0'}}}};
...{'User-Agent': 'onfido-node/4.1.0'}}}};
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed)
}

Expand Down
Loading

0 comments on commit fb3bb59

Please sign in to comment.