Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refresh onfido-node after onfido-openapi-spec update (08508b9) #146

Merged
merged 1 commit into from
Sep 20, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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": "a33e3b2",
"long_sha": "a33e3b25defea6110ec610051560df2c20bd1f65",
"version": "v3.4.0"
"short_sha": "08508b9",
"long_sha": "08508b9517238b3becb4265130633a418a8ee319",
"version": "v3.5.0"
},
"release": "v3.5.0"
"release": "v3.6.0"
}
272 changes: 270 additions & 2 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8931,10 +8931,278 @@ export interface WatchlistEnhancedBreakdown {
export interface WatchlistEnhancedProperties {
/**
* Returns any matches including, but not limited to, name and date of birth of match, aliases and associates, and relevant events and sources.
* @type {Array<string>}
* @type {Array<WatchlistEnhancedPropertiesRecordsInner>}
* @memberof WatchlistEnhancedProperties
*/
'records'?: Array<string>;
'records'?: Array<WatchlistEnhancedPropertiesRecordsInner>;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInner
*/
export interface WatchlistEnhancedPropertiesRecordsInner {
/**
* All addresses on file.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerAddressInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'address'?: Array<WatchlistEnhancedPropertiesRecordsInnerAddressInner>;
/**
* Any names that the person is also known as.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerAliasInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'alias'?: Array<WatchlistEnhancedPropertiesRecordsInnerAliasInner>;
/**
* Any linked persons, for example family relatives or business partners.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerAssociateInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'associate'?: Array<WatchlistEnhancedPropertiesRecordsInnerAssociateInner>;
/**
* Information about the person, for example hair color or nationality.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerAttributeInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'attribute'?: Array<WatchlistEnhancedPropertiesRecordsInnerAttributeInner>;
/**
* All the date of births on file.
* @type {Array<string>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'date_of_birth'?: Array<string>;
/**
* Information about events that have occurred to the person, for example deportation or arrest.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerEventInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'event'?: Array<WatchlistEnhancedPropertiesRecordsInnerEventInner>;
/**
* The name on file
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'full_name'?: string;
/**
* The role, country and date of each position.
* @type {Array<string>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'position'?: Array<string>;
/**
* Details about where the information was obtained.
* @type {Array<WatchlistEnhancedPropertiesRecordsInnerSourceInner>}
* @memberof WatchlistEnhancedPropertiesRecordsInner
*/
'source'?: Array<WatchlistEnhancedPropertiesRecordsInnerSourceInner>;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerAddressInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'address_line1'?: string;
/**
*
* @type {CountryCodes}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'country'?: CountryCodes;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'postal_code'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'state_province'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'town'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAddressInner
*/
'locator_type'?: string;
}


/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerAliasInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerAliasInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAliasInner
*/
'alias_name'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAliasInner
*/
'alias_type'?: string;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerAssociateInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerAssociateInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAssociateInner
*/
'entity_name'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAssociateInner
*/
'relationship_direction'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAssociateInner
*/
'relationship_type'?: string;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerAttributeInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerAttributeInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAttributeInner
*/
'attribute_type'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerAttributeInner
*/
'attribute_value'?: string;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerEventInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
'category'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
'event_date'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
'event_description'?: string;
/**
*
* @type {WatchlistEnhancedPropertiesRecordsInnerEventInnerSource}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
'source'?: WatchlistEnhancedPropertiesRecordsInnerEventInnerSource;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInner
*/
'sub_category'?: string;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
*/
export interface WatchlistEnhancedPropertiesRecordsInnerEventInnerSource {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
*/
'source_date'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
*/
'source_format'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
*/
'source_name'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerEventInnerSource
*/
'source_url'?: string;
}
/**
*
* @export
* @interface WatchlistEnhancedPropertiesRecordsInnerSourceInner
*/
export interface WatchlistEnhancedPropertiesRecordsInnerSourceInner {
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerSourceInner
*/
'source_headline'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerSourceInner
*/
'source_name'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerSourceInner
*/
'source_url'?: string;
/**
*
* @type {string}
* @memberof WatchlistEnhancedPropertiesRecordsInnerSourceInner
*/
'source_format'?: string;
}
/**
*
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/3.5.0'}}}};
...{'User-Agent': 'onfido-node/3.6.0'}}}};
this.formDataCtor = param.formDataCtor || require('form-data'); // Injiect form data constructor (if needed)
}

Expand Down
Loading