/// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// /// declare module "@sfpy/node-core" { // Added to in other modules, referenced above. export namespace Safepay {} export function createSafepay(): Safepay; export class Safepay { static Safepay: typeof Safepay; constructor(apiKey: string, config: Safepay.SafepayConfig); /** * API Errors */ errors: typeof Safepay.errors; checkout: Safepay.Checkout; customers: { object: Safepay.Customers.Object; addresses: Safepay.Customers.Addresses; paymentMethods: Safepay.Customers.PaymentMethods; }; order: { tracker: Safepay.Order.Tracker; configure: Safepay.Order.Configure; cancel: Safepay.Order.Cancel; discount: Safepay.Order.Discount; vault: Safepay.Order.Vault; }; payments: { session: Safepay.Payments.Session; }; guests: { object: Safepay.Guests.Object; }; user: { signUp: Safepay.User.SignUp; password: Safepay.User.Password; object: Safepay.User.Object; cards: Safepay.User.Cards; pushNotifications: Safepay.User.PushNotifications; meta: Safepay.User.Meta; }; auth: { login: Safepay.Auth.Login; logout: Safepay.Auth.Logout; }; invoice: { quicklinks: Safepay.Invoice.Quicklinks; }; reporter: { payments: Safepay.Reporter.Payments; }; client: { passport: Safepay.Client.Passport; }; } export default Safepay; }