aboutsummaryrefslogtreecommitdiff
path: root/src/external/stellar-freighter-api/@shared/constants/services.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/external/stellar-freighter-api/@shared/constants/services.d.ts')
-rw-r--r--src/external/stellar-freighter-api/@shared/constants/services.d.ts62
1 files changed, 62 insertions, 0 deletions
diff --git a/src/external/stellar-freighter-api/@shared/constants/services.d.ts b/src/external/stellar-freighter-api/@shared/constants/services.d.ts
new file mode 100644
index 0000000..7c4738b
--- /dev/null
+++ b/src/external/stellar-freighter-api/@shared/constants/services.d.ts
@@ -0,0 +1,62 @@
+export declare enum SERVICE_TYPES {
+ CREATE_ACCOUNT = "CREATE_ACCOUNT",
+ FUND_ACCOUNT = "FUND_ACCOUNT",
+ ADD_ACCOUNT = "ADD_ACCOUNT",
+ IMPORT_ACCOUNT = "IMPORT_ACCOUNT",
+ IMPORT_HARDWARE_WALLET = "IMPORT_HARDWARE_WALLET",
+ LOAD_ACCOUNT = "LOAD_ACCOUNT",
+ MAKE_ACCOUNT_ACTIVE = "MAKE_ACCOUNT_ACTIVE",
+ UPDATE_ACCOUNT_NAME = "UPDATE_ACCOUNT_NAME",
+ GET_MNEMONIC_PHRASE = "GET_MNEMONIC_PHRASE",
+ CONFIRM_MNEMONIC_PHRASE = "CONFIRM_MNEMONIC_PHRASE",
+ RECOVER_ACCOUNT = "RECOVER_ACCOUNT",
+ CONFIRM_PASSWORD = "CONFIRM_PASSWORD",
+ REJECT_ACCESS = "REJECT_ACCESS",
+ GRANT_ACCESS = "GRANT_ACCESS",
+ SIGN_TRANSACTION = "SIGN_TRANSACTION",
+ SIGN_BLOB = "SIGN_BLOB",
+ SIGN_AUTH_ENTRY = "SIGN_AUTH_ENTRY",
+ HANDLE_SIGNED_HW_TRANSACTION = "HANDLE_SIGNED_HW_TRANSACTION",
+ REJECT_TRANSACTION = "REJECT_TRANSACTION",
+ SIGN_FREIGHTER_TRANSACTION = "SIGN_FREIGHTER_TRANSACTION",
+ SIGN_FREIGHTER_SOROBAN_TRANSACTION = "SIGN_FREIGHTER_SOROBAN_TRANSACTION",
+ ADD_RECENT_ADDRESS = "ADD_RECENT_ADDRESS",
+ LOAD_RECENT_ADDRESSES = "LOAD_RECENT_ADDRESSES",
+ SIGN_OUT = "SIGN_OUT",
+ SHOW_BACKUP_PHRASE = "SHOW_BACKUP_PHRASE",
+ SAVE_ALLOWLIST = "SAVE_ALLOWLIST",
+ SAVE_SETTINGS = "SAVE_SETTINGS",
+ LOAD_SETTINGS = "LOAD_SETTINGS",
+ GET_CACHED_ASSET_ICON = "GET_CACHED_ASSET_ICON",
+ CACHE_ASSET_ICON = "CACHE_ASSET_ICON",
+ GET_CACHED_ASSET_DOMAIN = "GET_CACHED_ASSET_DOMAIN",
+ CACHE_ASSET_DOMAIN = "CACHE_ASSET_DOMAIN",
+ GET_BLOCKED_ACCOUNTS = "GET_BLOCKED_ACCOUNTS",
+ GET_BLOCKED_DOMAINS = "GET_BLOCKED_DOMAINS",
+ ADD_CUSTOM_NETWORK = "ADD_CUSTOM_NETWORK",
+ CHANGE_NETWORK = "CHANGE_NETWORK",
+ REMOVE_CUSTOM_NETWORK = "REMOVE_CUSTOM_NETWORK",
+ EDIT_CUSTOM_NETWORK = "EDIT_CUSTOM_NETWORK",
+ RESET_EXP_DATA = "RESET_EXP_DATA",
+ ADD_TOKEN_ID = "ADD_TOKEN_ID",
+ GET_TOKEN_IDS = "GET_TOKEN_IDS",
+ REMOVE_TOKEN_ID = "REMOVE_TOKEN_ID"
+}
+export declare enum EXTERNAL_SERVICE_TYPES {
+ REQUEST_ACCESS = "REQUEST_ACCESS",
+ SUBMIT_TRANSACTION = "SUBMIT_TRANSACTION",
+ SUBMIT_BLOB = "SUBMIT_BLOB",
+ SUBMIT_AUTH_ENTRY = "SUBMIT_AUTH_ENTRY",
+ REQUEST_NETWORK = "REQUEST_NETWORK",
+ REQUEST_NETWORK_DETAILS = "REQUEST_NETWORK_DETAILS",
+ REQUEST_CONNECTION_STATUS = "REQUEST_CONNECTION_STATUS",
+ REQUEST_ALLOWED_STATUS = "REQUEST_ALLOWED_STATUS",
+ SET_ALLOWED_STATUS = "SET_ALLOWED_STATUS",
+ REQUEST_USER_INFO = "REQUEST_USER_INFO"
+}
+export declare const EXTERNAL_MSG_REQUEST = "FREIGHTER_EXTERNAL_MSG_REQUEST";
+export declare const EXTERNAL_MSG_RESPONSE = "FREIGHTER_EXTERNAL_MSG_RESPONSE";
+declare const _DEV_SERVER: string;
+export { _DEV_SERVER as DEV_SERVER };
+declare const _DEV_EXTENSION: string;
+export { _DEV_EXTENSION as DEV_EXTENSION };