-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update endpoints * Add combined transasctions * Remove unused endpoints from Orval
- Loading branch information
1 parent
8791968
commit 9d2e790
Showing
14 changed files
with
300 additions
and
519 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export type GetCombinedTransactionsTransactionType = typeof GetCombinedTransactionsTransactionType[keyof typeof GetCombinedTransactionsTransactionType]; | ||
|
||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const GetCombinedTransactionsTransactionType = { | ||
incoming: 'incoming', | ||
outgoing: 'outgoing', | ||
combined: 'combined', | ||
between: 'between', | ||
} as const; |
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,12 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { Transaction } from './transaction'; | ||
|
||
export type GetTransactions200 = { | ||
transactions?: Transaction[]; | ||
}; |
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,27 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
import type { GetTransactionsTransactionType } from './getTransactionsTransactionType'; | ||
|
||
export type GetTransactionsParams = { | ||
/** | ||
* The number of transactions to return | ||
*/ | ||
page_size?: number; | ||
/** | ||
* The page of transactions to return | ||
*/ | ||
page?: number; | ||
/** | ||
* The type of transactions to return. Default is "combined" | ||
*/ | ||
transaction_type?: GetTransactionsTransactionType; | ||
/** | ||
* The destination address to get transactions for. Only used when transaction_type is "between" | ||
*/ | ||
destination_address?: string; | ||
}; |
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,18 @@ | ||
/** | ||
* Generated by orval v6.23.0 🍺 | ||
* Do not edit manually. | ||
* compliance-queries-api | ||
* The ward's compliance queires endpoints | ||
* OpenAPI spec version: 1.0 | ||
*/ | ||
|
||
export type GetTransactionsTransactionType = typeof GetTransactionsTransactionType[keyof typeof GetTransactionsTransactionType]; | ||
|
||
|
||
// eslint-disable-next-line @typescript-eslint/no-redeclare | ||
export const GetTransactionsTransactionType = { | ||
incoming: 'incoming', | ||
outgoing: 'outgoing', | ||
combined: 'combined', | ||
between: 'between', | ||
} as const; |
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
Oops, something went wrong.