-
Notifications
You must be signed in to change notification settings - Fork 89
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(backend): outgoing payments page resolver (#2872)
- Loading branch information
Showing
58 changed files
with
792 additions
and
55 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Cancel Outgoing Payment.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Cancel Outgoing Payment | ||
type: graphql | ||
seq: 43 | ||
seq: 46 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Asset Liquidity Withdrawal.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Asset Liquidity | ||
type: graphql | ||
seq: 6 | ||
seq: 7 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Incoming Payment Withdrawal.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Incoming Payment Liquidity | ||
type: graphql | ||
seq: 26 | ||
seq: 28 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Outgoing Payment Withdrawal.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Outgoing Payment Liquidity | ||
type: graphql | ||
seq: 37 | ||
seq: 40 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Peer Liquidity Withdrawal.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Withdraw Peer Liquidity | ||
type: graphql | ||
seq: 15 | ||
seq: 16 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Create Wallet Address Withdrawal.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Create Wallet Address Withdrawal | ||
type: graphql | ||
seq: 39 | ||
seq: 42 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Delete Asset | ||
type: graphql | ||
seq: 43 | ||
seq: 47 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Delete Peer | ||
type: graphql | ||
seq: 13 | ||
seq: 14 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Asset Liquidity.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Deposit Asset Liquidity | ||
type: graphql | ||
seq: 5 | ||
seq: 6 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Event Liquidity.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Deposit Event Liquidity | ||
type: graphql | ||
seq: 35 | ||
seq: 38 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Outgoing Payment Liquidity.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Deposit Outgoing Payment Liquidity | ||
type: graphql | ||
seq: 36 | ||
seq: 39 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Deposit Peer Liquidity.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Deposit Peer Liquidity | ||
type: graphql | ||
seq: 14 | ||
seq: 15 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Accounting Ledger Transfers.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Accounting Ledger Transfers | ||
type: graphql | ||
seq: 1 | ||
seq: 2 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Asset | ||
type: graphql | ||
seq: 3 | ||
seq: 4 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Assets | ||
type: graphql | ||
seq: 4 | ||
seq: 5 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Incoming Payment.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Incoming Payment | ||
type: graphql | ||
seq: 25 | ||
seq: 27 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Outgoing Payment.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Outgoing Payment | ||
type: graphql | ||
seq: 33 | ||
seq: 35 | ||
} | ||
|
||
post { | ||
|
31 changes: 31 additions & 0 deletions
31
bruno/collections/Rafiki/Rafiki Admin APIs/Get Outgoing Payments.bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
meta { | ||
name: Get Outgoing Payments | ||
type: graphql | ||
seq: 36 | ||
} | ||
|
||
post { | ||
url: {{RafikiGraphqlHost}}/graphql | ||
body: graphql | ||
auth: none | ||
} | ||
|
||
body:graphql { | ||
query OutgoingPayments($filter: OutgoingPaymentFilter) { | ||
outgoingPayments(filter: $filter) { | ||
edges { | ||
node { | ||
id | ||
client | ||
} | ||
cursor | ||
} | ||
} | ||
} | ||
} | ||
|
||
script:pre-request { | ||
const scripts = require('./scripts'); | ||
|
||
scripts.addApiSignatureHeader(); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Payments | ||
type: graphql | ||
seq: 34 | ||
seq: 37 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Peer | ||
type: graphql | ||
seq: 11 | ||
seq: 12 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Peers | ||
type: graphql | ||
seq: 12 | ||
seq: 13 | ||
} | ||
|
||
post { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Quote | ||
type: graphql | ||
seq: 30 | ||
seq: 32 | ||
} | ||
|
||
post { | ||
|
2 changes: 1 addition & 1 deletion
2
bruno/collections/Rafiki/Rafiki Admin APIs/Get Receiver (remote Incoming Payment).bru
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
meta { | ||
name: Get Receiver (remote Incoming Payment) | ||
type: graphql | ||
seq: 28 | ||
seq: 30 | ||
} | ||
|
||
post { | ||
|
Oops, something went wrong.