/* tslint:disable:all */ /* tslint:disable:all */ export type CashTokenRequest = | PeruvianTokenRequest | BrazilianTokenRequest | MexicanTokenRequest | ColombianTokenRequest | CostaRicanTokenRequest | GuatemalanTokenRequest | PanamanianRequest | NicaraguanRequest | HonduranRequest | SalvadoranRequest | GenericTokenRequest; export type Name = string; export type LastName = string; export type Identification = string; export type TotalAmount = number; export type Email = string; export type Description = string; export interface PeruvianTokenRequest { name: Name; lastName: LastName; identification?: Identification; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "PEN"; documentType?: "DNI" | "CE" | "PAS" | "RUC"; phonePrefix?: string; phoneNumber?: string; [k: string]: any; } export interface BrazilianTokenRequest { name: Name; lastName: LastName; identification: Identification; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "BRL"; documentType?: "CPF" | "CNPJ" | "RG" | "DNI" | "CI" | "CP" | "RNE"; userType?: string; [k: string]: any; } export interface MexicanTokenRequest { name: Name; lastName: LastName; identification?: string; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "MXN"; documentType?: "PP" | "RFC" | "CURP"; [k: string]: any; } export interface ColombianTokenRequest { name: Name; lastName: LastName; identification: Identification; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "COP"; documentType?: "CC" | "NIT" | "CE" | "TI" | "PP" | "RUT"; [k: string]: any; } export interface CostaRicanTokenRequest { name: Name; lastName: LastName; identification: Identification; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "CRC"; documentType: "CI" | "NITE"; [k: string]: any; } export interface GuatemalanTokenRequest { name: Name; lastName: LastName; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "GTQ"; documentType: "DPI" | "NIT"; identification: string; [k: string]: any; } export interface PanamanianRequest { name: Name; lastName: LastName; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "PAB" | "USD"; documentType: "CIP" | "NIT"; identification: string; [k: string]: any; } export interface NicaraguanRequest { name: Name; lastName: LastName; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "NIO"; documentType: "CI" | "RUC"; identification: string; [k: string]: any; } export interface HonduranRequest { name: Name; lastName: LastName; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "HNL"; documentType: "RNP" | "RTN"; identification: string; [k: string]: any; } export interface SalvadoranRequest { name: Name; lastName: LastName; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "USD"; documentType: "DUI" | "NIT"; identification: string; [k: string]: any; } export interface GenericTokenRequest { name: Name; lastName: LastName; identification: Identification; totalAmount: TotalAmount; email?: Email; description?: Description; currency: "USD" | "CLP" | "UF"; documentType?: "CC" | "CE" | "TI" | "PP" | "RUC" | "RUT" | "CI"; [k: string]: any; }