UNPKG

@darkwolf/qiwi.mjs

Version:
227 lines (226 loc) 13.6 kB
{ "name": "@darkwolf/qiwi.mjs", "version": "1.0.1", "description": "QIWI API", "type": "module", "exports": { ".": "./lib/index.mjs", "./": "./lib/", "./types": "./lib/types/index.mjs", "./types/": "./lib/types/", "./types/Response": "./lib/types/Response.mjs", "./types/Profile": "./lib/types/Profile.mjs", "./types/AuthInfo": "./lib/types/AuthInfo.mjs", "./types/ContractInfo": "./lib/types/ContractInfo.mjs", "./types/UserInfo": "./lib/types/UserInfo.mjs", "./types/PassInfo": "./lib/types/PassInfo.mjs", "./types/PinInfo": "./lib/types/PinInfo.mjs", "./types/MobilePinInfo": "./lib/types/MobilePinInfo.mjs", "./types/EmailSettings": "./lib/types/EmailSettings.mjs", "./types/NicknameInfo": "./lib/types/NicknameInfo.mjs", "./types/IdentificationInfo": "./lib/types/IdentificationInfo.mjs", "./types/Price": "./lib/types/Price.mjs", "./types/SmsNotification": "./lib/types/SmsNotification.mjs", "./types/PriorityPackage": "./lib/types/PriorityPackage.mjs", "./types/Identification": "./lib/types/Identification.mjs", "./types/WalletLimit": "./lib/types/WalletLimit.mjs", "./types/WalletRestriction": "./lib/types/WalletRestriction.mjs", "./types/Payments": "./lib/types/Payments.mjs", "./types/Transaction": "./lib/types/Transaction.mjs", "./types/Provider": "./lib/types/Provider.mjs", "./types/PaymentView": "./lib/types/PaymentView.mjs", "./types/CurrencyAmount": "./lib/types/CurrencyAmount.mjs", "./types/PaymentsStats": "./lib/types/PaymentsStats.mjs", "./types/Account": "./lib/types/Account.mjs", "./types/AccountOffer": "./lib/types/AccountOffer.mjs", "./types/PaymentMethod": "./lib/types/PaymentMethod.mjs", "./types/PaymentCommissionRates": "./lib/types/PaymentCommissionRates.mjs", "./types/PaymentDetails": "./lib/types/PaymentDetails.mjs", "./types/PaymentDetailsInternationalCardTransfer": "./lib/types/PaymentDetailsInternationalCardTransfer.mjs", "./types/PaymentDetailsBankTransfer": "./lib/types/PaymentDetailsBankTransfer.mjs", "./types/PaymentDetailsBankDetailsTransfer": "./lib/types/PaymentDetailsBankDetailsTransfer.mjs", "./types/PaymentRequest": "./lib/types/PaymentRequest.mjs", "./types/CrossRate": "./lib/types/CrossRate.mjs", "./types/WebhookInfo": "./lib/types/WebhookInfo.mjs", "./types/Update": "./lib/types/Update.mjs", "./types/Payment": "./lib/types/Payment.mjs", "./Response": "./lib/types/Response.mjs", "./Profile": "./lib/types/Profile.mjs", "./AuthInfo": "./lib/types/AuthInfo.mjs", "./ContractInfo": "./lib/types/ContractInfo.mjs", "./UserInfo": "./lib/types/UserInfo.mjs", "./PassInfo": "./lib/types/PassInfo.mjs", "./PinInfo": "./lib/types/PinInfo.mjs", "./MobilePinInfo": "./lib/types/MobilePinInfo.mjs", "./EmailSettings": "./lib/types/EmailSettings.mjs", "./NicknameInfo": "./lib/types/NicknameInfo.mjs", "./IdentificationInfo": "./lib/types/IdentificationInfo.mjs", "./Price": "./lib/types/Price.mjs", "./SmsNotification": "./lib/types/SmsNotification.mjs", "./PriorityPackage": "./lib/types/PriorityPackage.mjs", "./Identification": "./lib/types/Identification.mjs", "./WalletLimit": "./lib/types/WalletLimit.mjs", "./WalletRestriction": "./lib/types/WalletRestriction.mjs", "./Payments": "./lib/types/Payments.mjs", "./Transaction": "./lib/types/Transaction.mjs", "./Provider": "./lib/types/Provider.mjs", "./PaymentView": "./lib/types/PaymentView.mjs", "./CurrencyAmount": "./lib/types/CurrencyAmount.mjs", "./PaymentsStats": "./lib/types/PaymentsStats.mjs", "./Account": "./lib/types/Account.mjs", "./AccountOffer": "./lib/types/AccountOffer.mjs", "./PaymentMethod": "./lib/types/PaymentMethod.mjs", "./PaymentCommissionRates": "./lib/types/PaymentCommissionRates.mjs", "./PaymentDetails": "./lib/types/PaymentDetails.mjs", "./PaymentDetailsInternationalCardTransfer": "./lib/types/PaymentDetailsInternationalCardTransfer.mjs", "./PaymentDetailsBankTransfer": "./lib/types/PaymentDetailsBankTransfer", "./PaymentDetailsBankDetailsTransfer": "./lib/types/PaymentDetailsBankDetailsTransfer.mjs", "./PaymentRequest": "./lib/types/PaymentRequest.mjs", "./CrossRate": "./lib/types/CrossRate.mjs", "./WebhookInfo": "./lib/types/WebhookInfo.mjs", "./Update": "./lib/types/Update.mjs", "./Payment": "./lib/types/Payment.mjs", "./requests": "./lib/requests/index.mjs", "./requests/": "./lib/requests/", "./requests/GetMeRequest": "./lib/requests/GetMeRequest.mjs", "./requests/VerifyIdentificationRequest": "./lib/requests/VerifyIdentificationRequest.mjs", "./requests/GetIdentificationInfoRequest": "./lib/requests/GetIdentificationInfoRequest.mjs", "./requests/GetWalletLimitsRequest": "./lib/requests/GetWalletLimitsRequest.mjs", "./requests/GetWalletRestrictionsRequest": "./lib/requests/GetWalletRestrictionsRequest.mjs", "./requests/GetPaymentsRequest": "./lib/requests/GetPaymentsRequest.mjs", "./requests/GetPaymentsStatsRequest": "./lib/requests/GetPaymentsStatsRequest.mjs", "./requests/GetTransactionRequest": "./lib/requests/GetTransactionRequest.mjs", "./requests/DownloadTransactionChequeRequest": "./lib/requests/DownloadTransactionChequeRequest.mjs", "./requests/SendTransactionChequeToEmailRequest": "./lib/requests/SendTransactionChequeToEmailRequest.mjs", "./requests/GetAccountsRequest": "./lib/requests/GetAccountsRequest.mjs", "./requests/GetAccountRequest": "./lib/requests/GetAccountRequest.mjs", "./requests/CreateAccountRequest": "./lib/requests/CreateAccountRequest.mjs", "./requests/GetAccountOffersRequest": "./lib/requests/GetAccountOffersRequest.mjs", "./requests/MarkAccountDefaultRequest": "./lib/requests/MarkAccountDefaultRequest.mjs", "./requests/GetNicknameInfoRequest": "./lib/requests/GetNicknameInfoRequest.mjs", "./requests/GetPaymentCommissionRatesRequest": "./lib/requests/GetPaymentCommissionRatesRequest.mjs", "./requests/SendPaymentRequest": "./lib/requests/SendPaymentRequest.mjs", "./requests/GetCrossRatesRequest": "./lib/requests/GetCrossRatesRequest.mjs", "./requests/DetectMobileProviderRequest": "./lib/requests/DetectMobileProviderRequest.mjs", "./requests/DetectCardProviderRequest": "./lib/requests/DetectCardProviderRequest.mjs", "./requests/SearchProviderRequest": "./lib/requests/SearchProviderRequest.mjs", "./requests/SetWebhookRequest": "./lib/requests/SetWebhookRequest.mjs", "./requests/GetWebhookInfoRequest": "./lib/requests/GetWebhookInfoRequest.mjs", "./requests/DeleteWebhookRequest": "./lib/requests/DeleteWebhookRequest.mjs", "./requests/GetWebhookSecretKeyRequest": "./lib/requests/GetWebhookSecretKeyRequest.mjs", "./requests/GetNewWebhookSecretKeyRequest": "./lib/requests/GetNewWebhookSecretKeyRequest.mjs", "./requests/SendTestWebhookUpdateRequest": "./lib/requests/SendTestWebhookUpdateRequest.mjs", "./GetMeRequest": "./lib/requests/GetMeRequest.mjs", "./VerifyIdentificationRequest": "./lib/requests/VerifyIdentificationRequest.mjs", "./GetIdentificationInfoRequest": "./lib/requests/GetIdentificationInfoRequest.mjs", "./GetWalletLimitsRequest": "./lib/requests/GetWalletLimitsRequest.mjs", "./GetWalletRestrictionsRequest": "./lib/requests/GetWalletRestrictionsRequest.mjs", "./GetPaymentsRequest": "./lib/requests/GetPaymentsRequest.mjs", "./GetPaymentsStatsRequest": "./lib/requests/GetPaymentsStatsRequest.mjs", "./GetTransactionRequest": "./lib/requests/GetTransactionRequest.mjs", "./DownloadTransactionChequeRequest": "./lib/requests/DownloadTransactionChequeRequest.mjs", "./SendTransactionChequeToEmailRequest": "./lib/requests/SendTransactionChequeToEmailRequest.mjs", "./GetAccountsRequest": "./lib/requests/GetAccountsRequest.mjs", "./GetAccountRequest": "./lib/requests/GetAccountRequest.mjs", "./CreateAccountRequest": "./lib/requests/CreateAccountRequest.mjs", "./GetAccountOffersRequest": "./lib/requests/GetAccountOffersRequest.mjs", "./MarkAccountDefaultRequest": "./lib/requests/MarkAccountDefaultRequest.mjs", "./GetNicknameInfoRequest": "./lib/requests/GetNicknameInfoRequest.mjs", "./GetPaymentCommissionRatesRequest": "./lib/requests/GetPaymentCommissionRatesRequest.mjs", "./SendPaymentRequest": "./lib/requests/SendPaymentRequest.mjs", "./GetCrossRatesRequest": "./lib/requests/GetCrossRatesRequest.mjs", "./DetectMobileProviderRequest": "./lib/requests/DetectMobileProviderRequest.mjs", "./DetectCardProviderRequest": "./lib/requests/DetectCardProviderRequest.mjs", "./SearchProviderRequest": "./lib/requests/SearchProviderRequest.mjs", "./SetWebhookRequest": "./lib/requests/SetWebhookRequest.mjs", "./GetWebhookInfoRequest": "./lib/requests/GetWebhookInfoRequest.mjs", "./DeleteWebhookRequest": "./lib/requests/DeleteWebhookRequest.mjs", "./GetWebhookSecretKeyRequest": "./lib/requests/GetWebhookSecretKeyRequest.mjs", "./GetNewWebhookSecretKeyRequest": "./lib/requests/GetNewWebhookSecretKeyRequest.mjs", "./SendTestWebhookUpdateRequest": "./lib/requests/SendTestWebhookUpdateRequest.mjs", "./errors": "./lib/errors/index.mjs", "./errors/": "./lib/errors/", "./errors/Error": "./lib/errors/Error.mjs", "./errors/BadRequestError": "./lib/errors/BadRequestError.mjs", "./errors/UnauthorizedError": "./lib/errors/UnauthorizedError.mjs", "./errors/InvalidAuthTokenError": "./lib/errors/InvalidAuthTokenError.mjs", "./errors/ForbiddenError": "./lib/errors/ForbiddenError.mjs", "./errors/NotFoundError": "./lib/errors/NotFoundError.mjs", "./errors/AccountNotFoundError": "./lib/errors/AccountNotFoundError.mjs", "./errors/TransactionNotFoundError": "./lib/errors/TransactionNotFoundError.mjs", "./errors/WebhookNotFoundError": "./lib/errors/WebhookNotFoundError.mjs", "./errors/WebhookAlreadyExistsError": "./lib/errors/WebhookAlreadyExistsError.mjs", "./errors/NotEnoughBalanceError": "./lib/errors/NotEnoughBalanceError.mjs", "./errors/UnknownError": "./lib/errors/UnknownError.mjs", "./Error": "./lib/errors/Error.mjs", "./BadRequestError": "./lib/errors/BadRequestError.mjs", "./UnauthorizedError": "./lib/errors/UnauthorizedError.mjs", "./InvalidAuthTokenError": "./lib/errors/InvalidAuthTokenError.mjs", "./ForbiddenError": "./lib/errors/ForbiddenError.mjs", "./NotFoundError": "./lib/errors/NotFoundError.mjs", "./AccountNotFoundError": "./lib/errors/AccountNotFoundError.mjs", "./TransactionNotFoundError": "./lib/errors/TransactionNotFoundError.mjs", "./WebhookNotFoundError": "./lib/errors/WebhookNotFoundError.mjs", "./WebhookAlreadyExistsError": "./lib/errors/WebhookAlreadyExistsError.mjs", "./NotEnoughBalanceError": "./lib/errors/NotEnoughBalanceError.mjs", "./UnknownError": "./lib/errors/UnknownError.mjs", "./constants": "./lib/constants/index.mjs", "./constants/": "./lib/constants/", "./constants/EventType": "./lib/constants/EventType.mjs", "./constants/CountryCode": "./lib/constants/CountryCode.mjs", "./constants/CurrencyCode": "./lib/constants/CurrencyCode.mjs", "./constants/IdentificationType": "./lib/constants/IdentificationType.mjs", "./constants/WalletOperationType": "./lib/constants/WalletOperationType.mjs", "./constants/WalletRestrictionType": "./lib/constants/WalletRestrictionType.mjs", "./constants/PaymentType": "./lib/constants/PaymentType.mjs", "./constants/PaymentStatus": "./lib/constants/PaymentStatus.mjs", "./constants/PaymentSource": "./lib/constants/PaymentSource.mjs", "./constants/TransactionChequeMimeType": "./lib/constants/TransactionChequeMimeType.mjs", "./constants/AccountType": "./lib/constants/AccountType.mjs", "./constants/ProviderId": "./lib/constants/ProviderId.mjs", "./constants/PaymentMethodType": "./lib/constants/PaymentMethodType.mjs", "./EventType": "./lib/constants/EventType.mjs", "./CountryCode": "./lib/constants/CountryCode.mjs", "./CurrencyCode": "./lib/constants/CurrencyCode.mjs", "./IdentificationType": "./lib/constants/IdentificationType.mjs", "./WalletOperationType": "./lib/constants/WalletOperationType.mjs", "./WalletRestrictionType": "./lib/constants/WalletRestrictionType.mjs", "./PaymentType": "./lib/constants/PaymentType.mjs", "./PaymentStatus": "./lib/constants/PaymentStatus.mjs", "./PaymentSource": "./lib/constants/PaymentSource.mjs", "./TransactionChequeMimeType": "./lib/constants/TransactionChequeMimeType.mjs", "./AccountType": "./lib/constants/AccountType.mjs", "./ProviderId": "./lib/constants/ProviderId.mjs", "./PaymentMethodType": "./lib/constants/PaymentMethodType.mjs", "./package.json": "./package.json" }, "engines": { "node": ">=12" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/Darkwolf/node-qiwi.git" }, "keywords": [ "dw", "darkwolf", "qiwi", "mjs", "api" ], "author": "Pavel Wolf", "license": "MIT", "bugs": { "url": "https://github.com/Darkwolf/node-qiwi/issues" }, "homepage": "https://github.com/Darkwolf/node-qiwi#readme", "dependencies": { "@darkwolf/custom-error.mjs": "^1.0.1", "@darkwolf/helper.mjs": "^1.0.6", "@darkwolf/time.mjs": "^1.0.4", "node-fetch": "^2.6.1" } }