@the-any-thing/mollie-api-client-inline-pem
Version:
Official Mollie API client for Node - inline pem file fork
95 lines (94 loc) • 2.58 kB
TypeScript
export declare enum Locale {
en_US = "en_US",
nl_NL = "nl_NL",
nl_BE = "nl_BE",
fr_FR = "fr_FR",
fr_BE = "fr_BE",
de_DE = "de_DE",
de_AT = "de_AT",
de_CH = "de_CH",
es_ES = "es_ES",
ca_ES = "ca_ES",
pt_PT = "pt_PT",
it_IT = "it_IT",
nb_NO = "nb_NO",
sv_SE = "sv_SE",
fi_FI = "fi_FI",
da_DK = "da_DK",
is_IS = "is_IS",
hu_HU = "hu_HU",
pl_PL = "pl_PL",
lv_LV = "lv_LV",
lt_LT = "lt_LT"
}
export declare enum PaymentMethod {
applepay = "applepay",
bancontact = "bancontact",
banktransfer = "banktransfer",
belfius = "belfius",
creditcard = "creditcard",
directdebit = "directdebit",
eps = "eps",
giftcard = "giftcard",
giropay = "giropay",
ideal = "ideal",
inghomepay = "inghomepay",
kbc = "kbc",
klarnapaylater = "klarnapaylater",
klarnasliceit = "klarnasliceit",
paypal = "paypal",
paysafecard = "paysafecard",
przelewy24 = "przelewy24",
sofort = "sofort"
}
export declare enum HistoricPaymentMethod {
bitcoin = "bitcoin"
}
export declare enum ApiMode {
test = "test",
live = "live"
}
export interface Image {
size1x: string;
size2x: string;
svg: string;
}
export interface Url {
href: string;
type: string;
}
export interface Links {
self: Url;
documentation: Url;
}
export interface Amount {
currency: string;
value: string;
}
export interface Address {
streetAndNumber: string;
streetAdditional?: string;
postalCode: string;
city: string;
region?: string;
country: string;
}
export declare type CardLabel = 'American Express' | 'Carta Si' | 'Carte Bleue' | 'Dankort' | 'Diners' | 'Club' | 'Discover' | 'JCB' | 'Laser' | 'Maestro' | 'Mastercard' | 'Unionpay' | 'Visa';
export declare type CardFailureReason = 'authentication_failed' | 'card_expired' | 'inactive_card' | 'insufficient_funds' | 'invalid_card_holder_name' | 'invalid_card_number' | 'invalid_card_type' | 'invalid_cvv' | 'possible_fraud' | 'refused_by_issuer' | 'unknown_reason';
export declare type CardAudience = 'consumer' | 'business';
export declare type FeeRegion = 'american-express' | 'carte-bancaire' | 'intra-eu' | 'maestro' | 'other';
export declare enum SequenceType {
oneoff = "oneoff",
first = "first",
recurring = "recurring"
}
export declare type MollieApiErrorLinks = {
[key: string]: Url;
} | Links;
export interface MollieApiError {
status?: number;
title: string;
detail: string;
field?: string;
_links?: MollieApiErrorLinks;
}