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

69 lines 3.52 kB
import './countries/ch.js'; import '../delivery/send-message.js'; import '../delivery/stores.js'; import '../payment/invoice-prepaid.js'; import '../payment/paypal-checkout.js'; import '../payment/stripe/index.js'; import '../payment/postfinance-checkout/index.js'; import '../payment/datatrans-v2/index.js'; import '../payment/payrexx/index.js'; import '../filters/strict-equal.js'; import '../filters/local-search.js'; import '../worker/sms.js'; import '../worker/push-notification.js'; import '../worker/enrollment-order-generator.js'; declare const modules: { saferpayTransactions: { configure: ({ db }: { db: import("mongodb").Db; }) => Promise<{ findTransactionById: (_id: import("bson").ObjectId) => Promise<import("mongodb").WithId<import("../payment/saferpay/db/SaferpayTransactionsCollection.js").SaferpayTransaction>>; createTransaction: (orderPaymentId: any) => Promise<import("bson").ObjectId>; setToken: (_id: import("bson").ObjectId, token: string) => Promise<void>; }>; }; appleTransactions: { configure: ({ db }: { db: any; }) => Promise<{ findTransactionById: (transactionIdentifier: string) => Promise<import("../payment/apple-iap/db/AppleTransactionsCollection.js").AppleTransaction>; createTransaction: (doc: import("../payment/apple-iap/db/AppleTransactionsCollection.js").AppleTransaction) => Promise<string>; }>; }; cryptopay: { configure: ({ db }: { db: any; }) => { getWalletAddress: (addressId: string) => Promise<import("../payment/cryptopay/db/CryptopayTransactions.js").CryptopayTransaction>; updateMostRecentBlock: (currency: string, blockHeight: number) => Promise<void>; updateWalletAddress: ({ addressId, blockHeight, amount, contract, currency, decimals, }: { addressId: string; blockHeight: number; amount: string; contract: string; currency: string; decimals: number; }) => Promise<import("../payment/cryptopay/db/CryptopayTransactions.js").CryptopayTransaction>; mapOrderPaymentToWalletAddress: ({ addressId, contract, currency, orderPaymentId, }: { addressId: string; contract: string; currency: string; orderPaymentId: string; }) => Promise<import("../payment/cryptopay/db/CryptopayTransactions.js").CryptopayTransaction>; getNextDerivationNumber: (currency: string) => Promise<number>; getWalletAddressesByOrderPaymentId: (orderPaymentId: string) => Promise<import("../payment/cryptopay/db/CryptopayTransactions.js").CryptopayTransaction[]>; }; }; gridfsFileUploads: { configure: ({ db }: { db: any; }) => { createWriteStream: (directoryName: any, fileId: any, fileName: any, uploadOptions: import("mongodb").GridFSBucketWriteStream["options"]) => Promise<import("mongodb").GridFSBucketWriteStream>; getFileInfo: (directoryName: any, fileId: any) => Promise<import("mongodb").GridFSFile>; createReadStream: (directoryName: any, fileId: any) => Promise<import("mongodb").GridFSBucketReadStream>; removeFileFromBucket: (directoryName: any, fileId: any) => Promise<void>; }; }; }; export default modules; //# sourceMappingURL=all.d.ts.map