@okutrade/account-api
Version:
TypeScript client for OKU Account API using Connect-ES
238 lines (237 loc) • 9.86 kB
JavaScript
// @generated by protoc-gen-connect-es v1.6.1 with parameter "target=ts,import_extension=.js"
// @generated from file gfxcafe/oku/account/v1/bridge.proto (package gfxcafe.oku.account.v1, syntax proto3)
/* eslint-disable */
// @ts-nocheck
import { MethodKind } from "@bufbuild/protobuf";
/**
* BridgeService provides bridge functionality for fiat-crypto transfers
*
* V0 endpoints (/bridge/v0/*)
*
* @generated from service gfxcafe.oku.account.v1.BridgeService
*/
export const BridgeService = {
typeName: "gfxcafe.oku.account.v1.BridgeService",
methods: {
/**
* Get exchange rates (public) (/bridge/v0/exchange_rates)
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0ExchangeRates
*/
v0ExchangeRates: {
name: "V0ExchangeRates",
I: V0ExchangeRatesRequest,
O: V0ExchangeRatesResponse,
kind: MethodKind.Unary,
},
/**
* Health check (/bridge/v0/health) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Health
*/
v0Health: {
name: "V0Health",
I: V0HealthRequest,
O: V0HealthResponse,
kind: MethodKind.Unary,
},
/**
* Get countries list (/bridge/v0/lists/countries) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0ListsCountries
*/
v0ListsCountries: {
name: "V0ListsCountries",
I: V0ListsCountriesRequest,
O: V0ListsCountriesResponse,
kind: MethodKind.Unary,
},
/**
* List KYC links (/bridge/v0/kyc_links) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinks
*/
v0KycLinks: {
name: "V0KycLinks",
I: V0KycLinksRequest,
O: V0KycLinksResponse,
kind: MethodKind.Unary,
},
/**
* Get KYC link by ID (/bridge/v0/kyc_links/{kyc_link_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinksKycLinkId
*/
v0KycLinksKycLinkId: {
name: "V0KycLinksKycLinkId",
I: V0KycLinksKycLinkIdRequest,
O: V0KycLinksKycLinkIdResponse,
kind: MethodKind.Unary,
},
/**
* Create KYC link (/bridge/v0/kyc_links) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0KycLinksCreate
*/
v0KycLinksCreate: {
name: "V0KycLinksCreate",
I: V0KycLinksCreateRequest,
O: V0KycLinksCreateResponse,
kind: MethodKind.Unary,
},
/**
* List customers (/bridge/v0/customers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Customers
*/
v0Customers: {
name: "V0Customers",
I: V0CustomersRequest,
O: V0CustomersResponse,
kind: MethodKind.Unary,
},
/**
* Get customer by ID (/bridge/v0/customers/{customer_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerId
*/
v0CustomersCustomerId: {
name: "V0CustomersCustomerId",
I: V0CustomersCustomerIdRequest,
O: V0CustomersCustomerIdResponse,
kind: MethodKind.Unary,
},
/**
* Get customer KYC link (/bridge/v0/customers/{customer_id}/kyc_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdKycLink
*/
v0CustomersCustomerIdKycLink: {
name: "V0CustomersCustomerIdKycLink",
I: V0CustomersCustomerIdKycLinkRequest,
O: V0CustomersCustomerIdKycLinkResponse,
kind: MethodKind.Unary,
},
/**
* Get customer TOS acceptance link (/bridge/v0/customers/{customer_id}/tos_acceptance_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdTosAcceptanceLink
*/
v0CustomersCustomerIdTosAcceptanceLink: {
name: "V0CustomersCustomerIdTosAcceptanceLink",
I: V0CustomersCustomerIdTosAcceptanceLinkRequest,
O: V0CustomersCustomerIdTosAcceptanceLinkResponse,
kind: MethodKind.Unary,
},
/**
* Get customer ID verification link (/bridge/v0/customers/{customer_id}/id_verification_link) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdIdVerificationLink
*/
v0CustomersCustomerIdIdVerificationLink: {
name: "V0CustomersCustomerIdIdVerificationLink",
I: V0CustomersCustomerIdIdVerificationLinkRequest,
O: V0CustomersCustomerIdIdVerificationLinkResponse,
kind: MethodKind.Unary,
},
/**
* Get customer transfers (/bridge/v0/customers/{customer_id}/transfers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdTransfers
*/
v0CustomersCustomerIdTransfers: {
name: "V0CustomersCustomerIdTransfers",
I: V0CustomersCustomerIdTransfersRequest,
O: V0CustomersCustomerIdTransfersResponse,
kind: MethodKind.Unary,
},
/**
* List external accounts (/bridge/v0/customers/{customer_id}/external_accounts) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccounts
*/
v0CustomersCustomerIdExternalAccounts: {
name: "V0CustomersCustomerIdExternalAccounts",
I: V0CustomersCustomerIdExternalAccountsRequest,
O: V0CustomersCustomerIdExternalAccountsResponse,
kind: MethodKind.Unary,
},
/**
* Create external account (/bridge/v0/customers/{customer_id}/external_accounts) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsCreate
*/
v0CustomersCustomerIdExternalAccountsCreate: {
name: "V0CustomersCustomerIdExternalAccountsCreate",
I: V0CustomersCustomerIdExternalAccountsCreateRequest,
O: V0CustomersCustomerIdExternalAccountsCreateResponse,
kind: MethodKind.Unary,
},
/**
* Update external account (/bridge/v0/customers/{customer_id}/external_accounts/{external_account_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate
*/
v0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate: {
name: "V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdate",
I: V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdateRequest,
O: V0CustomersCustomerIdExternalAccountsExternalAccountIdUpdateResponse,
kind: MethodKind.Unary,
},
/**
* Delete external account (/bridge/v0/customers/{customer_id}/external_accounts/{external_account_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdExternalAccountsExternalAccountIdDelete
*/
v0CustomersCustomerIdExternalAccountsExternalAccountIdDelete: {
name: "V0CustomersCustomerIdExternalAccountsExternalAccountIdDelete",
I: V0CustomersCustomerIdExternalAccountsExternalAccountIdDeleteRequest,
O: V0CustomersCustomerIdExternalAccountsExternalAccountIdDeleteResponse,
kind: MethodKind.Unary,
},
/**
* Create Plaid link request (/bridge/v0/customers/{customer_id}/plaid_link_requests) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0CustomersCustomerIdPlaidLinkRequests
*/
v0CustomersCustomerIdPlaidLinkRequests: {
name: "V0CustomersCustomerIdPlaidLinkRequests",
I: V0CustomersCustomerIdPlaidLinkRequestsRequest,
O: V0CustomersCustomerIdPlaidLinkRequestsResponse,
kind: MethodKind.Unary,
},
/**
* Exchange Plaid public token (/bridge/v0/plaid_exchange_public_token/{link_token}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0PlaidExchangePublicTokenLinkToken
*/
v0PlaidExchangePublicTokenLinkToken: {
name: "V0PlaidExchangePublicTokenLinkToken",
I: V0PlaidExchangePublicTokenLinkTokenRequest,
O: V0PlaidExchangePublicTokenLinkTokenResponse,
kind: MethodKind.Unary,
},
/**
* Create transfer (/bridge/v0/transfers) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0Transfers
*/
v0Transfers: {
name: "V0Transfers",
I: V0TransfersRequest,
O: V0TransfersResponse,
kind: MethodKind.Unary,
},
/**
* Cancel transfer (/bridge/v0/transfers/{transfer_id}) - requires auth
*
* @generated from rpc gfxcafe.oku.account.v1.BridgeService.V0TransfersTransferId
*/
v0TransfersTransferId: {
name: "V0TransfersTransferId",
I: V0TransfersTransferIdRequest,
O: V0TransfersTransferIdResponse,
kind: MethodKind.Unary,
},
}
};