UNPKG

@unchainedshop/plugins

Version:

Because of a Typescript issue with upstream "postfinancecheckout", the Postfinance plugin has been disabled from transpilation, import the source ts files from src and enable node_module tsc or copy over the src/payment/postfinance-checkout to your projec

24 lines 1.13 kB
import { mongodb } from '@unchainedshop/mongodb'; declare const configureSaferpayTransactionsModule: ({ db }: { db: mongodb.Db; }) => Promise<{ findTransactionById: (_id: mongodb.ObjectId) => Promise<mongodb.WithId<import("./db/SaferpayTransactionsCollection.js").SaferpayTransaction>>; createTransaction: (orderPaymentId: any) => Promise<mongodb.BSON.ObjectId>; setToken: (_id: mongodb.ObjectId, token: string) => Promise<void>; }>; declare const _default: { saferpayTransactions: { configure: ({ db }: { db: mongodb.Db; }) => Promise<{ findTransactionById: (_id: mongodb.ObjectId) => Promise<mongodb.WithId<import("./db/SaferpayTransactionsCollection.js").SaferpayTransaction>>; createTransaction: (orderPaymentId: any) => Promise<mongodb.BSON.ObjectId>; setToken: (_id: mongodb.ObjectId, token: string) => Promise<void>; }>; }; }; export default _default; export type SaferpayTransactionsModule = { saferpayTransactions: Awaited<ReturnType<typeof configureSaferpayTransactionsModule>>; }; //# sourceMappingURL=module.d.ts.map