UNPKG

@idfy/sdk

Version:
27 lines (26 loc) 726 B
export interface ExtraInfoResource { /** * The type of resource. */ type: ExtraInfoResource.ExtraInfoResourceType; /** * The resource's unique identifier. */ id?: string; /** * The URL to download the resource. */ url?: string; /** * The resource's content type. */ contentType?: string; /** * The status of the resource. */ status: ExtraInfoResource.ExtraInfoResourceStatus; } export declare namespace ExtraInfoResource { type ExtraInfoResourceType = 'vipps_aml_person'; type ExtraInfoResourceStatus = 'pending' | 'missing_credentials' | 'unsupported_idp' | 'not_found' | 'unknown_error' | 'success' | 'insufficient_access'; }