btcpayserver/BTCPayServer.Client/Models
Wouter Samaey 6f2b673021
Custodian withdrawal support + Some refactoring and cleanup (#4085)
* Renamed "WithdrawAsync" to "WithdrawToStoreWalletAsync"

* WIP

* WIP withdrawal + Refactored Form saving to JObject

* WIP

* Form to fix bad values during withdrawing appears correctly

* WIP

* Lots of cleanup and refactoring + Password field and toggle password view

* Cleanup + Finishing touches on withdrawals

* Added "Destination" dummy text as this is always the destination.

* Fixed broken test

* Added support for withdrawing using qty as a percentage if it ends with "%". Needs more testing.

* Fixed broken build

* Fixed broken build (2)

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json

Co-authored-by: d11n <mail@dennisreimann.de>

* Update BTCPayServer/wwwroot/swagger/v1/swagger.template.custodians.json

Co-authored-by: d11n <mail@dennisreimann.de>

* Improved unit tests

* Fixed swagger bug

* Test improvements

Make string conversion of quantity explicitely.

* Fix build warnings

* Swagger: Add missing operationId

* Made change Dennis requested

* Removed unused file

* Removed incorrect comment

* Extra contructor

* Renamed client methods

* Cleanup config before saving

* Fixed broken controller

* Refactor custodian

* Fix build

* Make decimal fields strings to match the rest of Greenfield

* Improve parsing of % quantities

---------

Co-authored-by: d11n <mail@dennisreimann.de>
Co-authored-by: nicolas.dorier <nicolas.dorier@gmail.com>
2023-03-20 10:45:32 +09:00
..
ApiHealthData.cs format 2020-04-30 16:44:27 +02:00
ApiKeyData.cs format 2020-04-30 16:44:27 +02:00
ApplicationUserData.cs Allow Users to be disabled/enabled (#3639) 2022-04-26 21:27:35 +09:00
ApprovePayoutRequest.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
AssetPairData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
ConnectToNodeRequest.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
CreateApiKeyRequest.cs Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
CreateApplicationUserRequest.cs format 2020-04-30 16:44:27 +02:00
CreateAppRequest.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
CreateCustodianAccountRequest.cs Exchange api no kraken (#3679) 2022-05-18 14:59:56 +09:00
CreateInvoiceRequest.cs Add ability to require refund email from app level (#3013) 2021-10-27 23:32:56 +09:00
CreateLightningInvoiceRequest.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
CreateOnChainTransactionRequest.cs Allow excluding unconfirmed UTXOs when creating a new transaction with Greenfield API 2022-06-10 08:39:01 +02:00
CreatePaymentRequestRequest.cs Run dotnet format 2020-06-28 17:55:27 +09:00
CreatePayoutRequest.cs Make Decimal json converter work for other number types 2020-07-29 08:44:52 +02:00
CreatePayoutThroughStoreRequest.cs Allow auto approval of claims for pull payments (#1851) 2022-04-28 09:51:04 +09:00
CreatePullPaymentRequest.cs Allow auto approval of claims for pull payments (#1851) 2022-04-28 09:51:04 +09:00
CreateStoreRequest.cs Run dotnet format 2020-06-28 17:55:27 +09:00
CustodianAccountBaseData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
CustodianAccountData.cs Exchange api no kraken (#3679) 2022-05-18 14:59:56 +09:00
CustodianAccountResponse.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
CustodianData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
DepositAddressData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
EmailSettingsData.cs Can disable cert check for email server (#3908) 2022-06-29 23:38:44 +09:00
GenerateOnChainWalletRequest.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
GenericPaymentMethodData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
GreenfieldAPIError.cs Do not crash on invocie creation error for greenfield (Fix #2111) 2020-12-08 14:47:20 +09:00
GreenfieldPermissionAPIError.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
GreenfieldValidationError.cs Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
InvoiceData.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
InvoiceExceptionStatus.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
InvoicePaymentMethodDataModel.cs Test LNUrl Pay payment method information, add doc 2022-02-21 13:22:17 +09:00
LabelData.cs Refactor labels (#4179) 2022-10-11 17:34:29 +09:00
Language.cs Add misc/permissions to document the hierarchical structure (#2654) 2021-07-08 14:34:10 +09:00
LedgerEntryData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
LightningAddressData.cs Bump lightning lib, fix warnings 2023-02-08 21:29:20 +09:00
LightningAutomatedPayoutSettings.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
LightningInvoiceData.cs Greenfield: Add payment hash and preimage to Lightning invoices (#4520) 2023-01-13 17:29:41 +09:00
LightningNetworkPaymentMethodBaseData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
LightningNetworkPaymentMethodData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
LightningNodeBalanceData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
LightningNodeInformationData.cs Greenfield: Extend LN GetInfo data (#4167) 2022-09-28 09:34:34 +09:00
LightningPaymentData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
LNURLPayPaymentMethodBaseData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
LNURLPayPaymentMethodData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
LockUserRequest.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
MarketTradeResponseData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
MarkInvoiceStatusRequest.cs make individual action items 2020-08-26 21:36:31 +09:00
MarkPayoutRequest.cs Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
NotificationData.cs Different icons for notifications (#4632) 2023-02-21 11:06:27 +09:00
OnChainAutomatedPayoutSettings.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
OnChainPaymentMethodBaseData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
OnChainPaymentMethodData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
OnChainPaymentMethodDataWithSensitiveData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
OnChainPaymentMethodPreviewResultData.cs GreenField: Store OnChain Payment Method (#2157) 2020-12-23 14:00:38 +09:00
OnChainWalletAddressData.cs Allow Payjoin for wallet receive addresses (#2425) 2021-04-13 12:26:36 +09:00
OnChainWalletFeeRateData.cs GreenField: Add FeeRate To Wallets API (#2375) 2021-04-07 15:16:17 +09:00
OnChainWalletOverviewData.cs Provide more data through OnChain Wallet API (#2420) 2021-04-08 12:43:51 +09:00
OnChainWalletTransactionData.cs Refactor walletobj API, make wallet object graph directionless (#4297) 2022-11-19 00:04:46 +09:00
OnChainWalletUTXOData.cs Refactor labels (#4179) 2022-10-11 17:34:29 +09:00
OpenLightningChannelRequest.cs Fix build 2022-12-23 17:17:09 +09:00
PatchOnChainTransactionRequest.cs Add transaction info PATCH endpoint (#3561) 2022-04-14 13:17:22 +09:00
PayLightningInvoiceRequest.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
PaymentMethodCriteriaData.cs Greenfield: Expose Payment method criteria 2023-02-21 15:23:51 +01:00
PaymentRequestBaseData.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
PaymentRequestData.cs Form Builder (#4137) 2022-11-25 10:42:55 +09:00
PayoutData.cs Greenfield: Allow marking payout status and payment proofs (#4244) 2022-11-15 18:40:57 +09:00
PayoutProcessorData.cs Transfer Processors (#3476) 2022-04-24 12:19:34 +09:00
PayPaymentRequestRequest.cs [Greenfield] Can create an invoice for a payment request via Greenfield (#4243) 2022-11-02 18:41:19 +09:00
PermissionMetadata.cs Add misc/permissions to document the hierarchical structure (#2654) 2021-07-08 14:34:10 +09:00
PointOfSaleAppData.cs Greenfield get app details (#4102) 2023-02-07 17:01:53 +09:00
PullPaymentBaseData.cs Allow auto approval of claims for pull payments (#1851) 2022-04-28 09:51:04 +09:00
PullPaymentLNURL.cs Add Greenfield API endpoint for pull payment LNURL items (#4472) 2023-01-26 14:43:07 +09:00
RateSource.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
RefundInvoiceRequest.cs Improve documentation of Refund API in Greenfield (#4372) 2022-11-28 20:58:18 +09:00
SendEmailRequest.cs New API endpoint: Send email using store SMTP (#3181) 2022-03-11 10:17:40 +01:00
ServerInfoData.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
StoreBaseData.cs Greenfield: Expose Payment method criteria 2023-02-21 15:23:51 +01:00
StoreData.cs Code formatting updates (#4502) 2023-01-06 22:18:07 +09:00
StoreRateConfiguration.cs Greenfield: Store Rates Config (#3931) 2022-10-12 22:19:33 +09:00
StoreRateResult.cs Greenfield: Currency rate should be strings (#4607) 2023-02-08 19:18:37 +09:00
StoreWebhookData.cs Add Greenfield API 2020-11-13 14:15:03 +09:00
TradeQuoteResponseData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
TradeRequestData.cs Exchange api no kraken (#3679) 2022-05-18 14:59:56 +09:00
TransactionStatus.cs Improve performance of on chain transaction listing for big wallets 2022-07-05 14:23:13 +09:00
UpdateInvoiceRequest.cs GreenField: Update invoice metadata (#2095) 2020-12-12 15:15:34 +09:00
UpdateLightningNetworkPaymentMethodRequest.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
UpdateNotification.cs GreenField: Notifications API (#2055) 2020-12-11 23:11:08 +09:00
UpdateOnChainPaymentMethodRequest.cs Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
UpdatePaymentRequestRequest.cs Run dotnet format 2020-06-28 17:55:27 +09:00
UpdateStoreRequest.cs format 2020-04-30 16:44:27 +02:00
WebhookDeliveryData.cs Add Greenfield API 2020-11-13 14:15:03 +09:00
WebhookDeliveryStatus.cs Add Webhooks in store's settings 2020-11-08 15:57:24 +09:00
WebhookEvent.cs Fix typo of webhook events property 2021-04-20 12:36:20 +09:00
WebhookEventType.cs Store Emails (#3611) 2022-06-22 12:05:32 +09:00
WebhookInvoiceEvent.cs Add metadata to invoice webhook event (#4370) 2022-11-28 17:50:52 +09:00
WithdrawalBaseResponseData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
WithdrawalResponseData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
WithdrawalSimulationResponseData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00
WithdrawRequestData.cs Custodian withdrawal support + Some refactoring and cleanup (#4085) 2023-03-20 10:45:32 +09:00