forked from fibercrypto/libjs-skycoin
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[skyapi] refs fibercrypto#12 - Generate API client for typescript-ang…
…ular based on HWD API 0.1.0
- Loading branch information
Showing
16 changed files
with
414 additions
and
151 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,17 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface ApplySettingsRequest { | ||
label?: string; | ||
usePassphrase?: boolean; | ||
} |
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,16 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface CSRFResponse { | ||
data?: 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
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,17 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface GenerateMnemonicRequest { | ||
wordCount: number; | ||
usePassphrase?: boolean; | ||
} |
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,16 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface InlineResponse200 { | ||
data?: boolean; | ||
} |
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,19 +1,23 @@ | ||
export * from './applySettingsRequest'; | ||
export * from './cSRFResponse'; | ||
export * from './checkMessageSignatureRequest'; | ||
export * from './featuresResponse'; | ||
export * from './featuresResponseData'; | ||
export * from './featuresResponseDataFeatures'; | ||
export * from './generateAddressesRequest'; | ||
export * from './generateAddressesResponse'; | ||
export * from './generateAddressesResponseData'; | ||
export * from './generateMnemonicRequest'; | ||
export * from './hTTPErrorResponse'; | ||
export * from './hTTPErrorResponseError'; | ||
export * from './hTTPSuccessResponse'; | ||
export * from './passPhraseRequest'; | ||
export * from './inlineResponse200'; | ||
export * from './passphraseRequest'; | ||
export * from './pinMatrixRequest'; | ||
export * from './recoveryRequest'; | ||
export * from './setMnemonicRequest'; | ||
export * from './signMessageRequest'; | ||
export * from './signMessageResponse'; | ||
export * from './signMessageResponseData'; | ||
export * from './transactionInput'; | ||
export * from './transactionOutput'; | ||
export * from './transactionSignRequest'; | ||
export * from './transactionSignResponse'; | ||
export * from './transactionSignResponseData'; | ||
export * from './wordRequest'; |
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,16 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface PassphraseRequest { | ||
passphrase: 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 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface RecoveryRequest { | ||
wordCount: number; | ||
usePassphrase?: boolean; | ||
dryRun?: boolean; | ||
} |
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,16 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface SetMnemonicRequest { | ||
mnemonic: 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
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,17 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface TransactionInput { | ||
index: number; | ||
hash: 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,19 @@ | ||
/** | ||
* Hardware Wallet Daemon API | ||
* This is the hardware-wallet-daemon API | ||
* | ||
* OpenAPI spec version: 0.1.0 | ||
* Contact: [email protected] | ||
* | ||
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). | ||
* https://openapi-generator.tech | ||
* Do not edit the class manually. | ||
*/ | ||
|
||
|
||
export interface TransactionOutput { | ||
addressIndex: number; | ||
address: string; | ||
coins: string; | ||
hours: 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
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