@adyen/api-library
Version:
The Adyen API Library for NodeJS enables you to work with Adyen APIs.
62 lines (61 loc) • 2.67 kB
TypeScript
import { CapabilitySettings } from "./capabilitySettings";
import { SupportingEntityCapability } from "./supportingEntityCapability";
export declare class LegalEntityCapability {
/**
* Indicates whether the capability is allowed. Adyen sets this to **true** if the verification is successful.
*/
"allowed"?: boolean;
/**
* The capability level that is allowed for the legal entity. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
"allowedLevel"?: LegalEntityCapability.AllowedLevelEnum;
"allowedSettings"?: CapabilitySettings | null;
/**
* Indicates whether the capability is requested. To check whether the legal entity is permitted to use the capability, refer to the `allowed` field.
*/
"requested"?: boolean;
/**
* The requested level of the capability. Some capabilities, such as those used in [card issuing](https://docs.adyen.com/issuing/add-capabilities#capability-levels), have different levels. Levels increase the capability, but also require additional checks and increased monitoring. Possible values: **notApplicable**, **low**, **medium**, **high**.
*/
"requestedLevel"?: LegalEntityCapability.RequestedLevelEnum;
"requestedSettings"?: CapabilitySettings | null;
/**
* The capability status of transfer instruments associated with the legal entity.
*/
"transferInstruments"?: Array<SupportingEntityCapability>;
/**
* The status of the verification checks for the capability. Possible values: * **pending**: Adyen is running the verification. * **invalid**: The verification failed. Check if the `errors` array contains more information. * **valid**: The verification has been successfully completed. * **rejected**: Adyen has verified the information, but found reasons to not allow the capability.
*/
"verificationStatus"?: string;
static readonly discriminator: string | undefined;
static readonly mapping: {
[index: string]: string;
} | undefined;
static readonly attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
format: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
format: string;
}[];
constructor();
}
export declare namespace LegalEntityCapability {
enum AllowedLevelEnum {
High = "high",
Low = "low",
Medium = "medium",
NotApplicable = "notApplicable"
}
enum RequestedLevelEnum {
High = "high",
Low = "low",
Medium = "medium",
NotApplicable = "notApplicable"
}
}