@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
233 lines (232 loc) • 8.95 kB
TypeScript
/**
* BridgeService provides bridge functionality for fiat-crypto transfers
*
* V0 endpoints (/bridge/v0/*)
*
* @generated from service gfxcafe.oku.account.v1.BridgeService
*/
export declare const BridgeService: {
readonly typeName: "gfxcafe.oku.account.v1.BridgeService";
readonly methods: {
/**
* Get exchange rates (public) (/bridge/v0/exchange_rates)
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0ExchangeRates
*/
readonly v0ExchangeRates: {
readonly name: "V0ExchangeRates";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Health check (/bridge/v0/health) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Health
*/
readonly v0Health: {
readonly name: "V0Health";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get countries list (/bridge/v0/lists/countries) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0ListsCountries
*/
readonly v0ListsCountries: {
readonly name: "V0ListsCountries";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* List KYC links (/bridge/v0/kyc_links) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinks
*/
readonly v0KycLinks: {
readonly name: "V0KycLinks";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get KYC link by ID (/bridge/v0/kyc_links/{kyc_link_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinksKycLinkId
*/
readonly v0KycLinksKycLinkId: {
readonly name: "V0KycLinksKycLinkId";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Create KYC link (/bridge/v0/kyc_links) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinksCreate
*/
readonly v0KycLinksCreate: {
readonly name: "V0KycLinksCreate";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* List customers (/bridge/v0/customers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Customers
*/
readonly v0Customers: {
readonly name: "V0Customers";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get customer by ID (/bridge/v0/customers/{customer_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerId
*/
readonly v0CustomersCustomerId: {
readonly name: "V0CustomersCustomerId";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get customer KYC link (/bridge/v0/customers/{customer_id}/kyc_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdKycLink
*/
readonly v0CustomersCustomerIdKycLink: {
readonly name: "V0CustomersCustomerIdKycLink";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get customer TOS acceptance link (/bridge/v0/customers/{customer_id}/tos_acceptance_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdTosAcceptanceLink
*/
readonly v0CustomersCustomerIdTosAcceptanceLink: {
readonly name: "V0CustomersCustomerIdTosAcceptanceLink";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get customer ID verification link (/bridge/v0/customers/{customer_id}/id_verification_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdIdVerificationLink
*/
readonly v0CustomersCustomerIdIdVerificationLink: {
readonly name: "V0CustomersCustomerIdIdVerificationLink";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Get customer transfers (/bridge/v0/customers/{customer_id}/transfers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdTransfers
*/
readonly v0CustomersCustomerIdTransfers: {
readonly name: "V0CustomersCustomerIdTransfers";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* List external accounts (/bridge/v0/customers/{customer_id}/external_accounts) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccounts
*/
readonly v0CustomersCustomerIdExternalAccounts: {
readonly name: "V0CustomersCustomerIdExternalAccounts";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Create external account (/bridge/v0/customers/{customer_id}/external_accounts) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsCreate
*/
readonly v0CustomersCustomerIdExternalAccountsCreate: {
readonly name: "V0CustomersCustomerIdExternalAccountsCreate";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Update external account (/bridge/v0/customers/{customer_id}/external_accounts/{external_account_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate
*/
readonly v0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate: {
readonly name: "V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Delete external account (/bridge/v0/customers/{customer_id}/external_accounts/{external_account_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsExternalAccountIdDelete
*/
readonly v0CustomersCustomerIdExternalAccountsExternalAccountIdDelete: {
readonly name: "V0CustomersCustomerIdExternalAccountsExternalAccountIdDelete";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Create Plaid link request (/bridge/v0/customers/{customer_id}/plaid_link_requests) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdPlaidLinkRequests
*/
readonly v0CustomersCustomerIdPlaidLinkRequests: {
readonly name: "V0CustomersCustomerIdPlaidLinkRequests";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Exchange Plaid public token (/bridge/v0/plaid_exchange_public_token/{link_token}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0PlaidExchangePublicTokenLinkToken
*/
readonly v0PlaidExchangePublicTokenLinkToken: {
readonly name: "V0PlaidExchangePublicTokenLinkToken";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Create transfer (/bridge/v0/transfers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Transfers
*/
readonly v0Transfers: {
readonly name: "V0Transfers";
readonly I: any;
readonly O: any;
readonly kind: any;
};
/**
* Cancel transfer (/bridge/v0/transfers/{transfer_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0TransfersTransferId
*/
readonly v0TransfersTransferId: {
readonly name: "V0TransfersTransferId";
readonly I: any;
readonly O: any;
readonly kind: any;
};
};
};