import { SubaccountRole } from "./subaccounts_pb.js"; import { Message } from "@bufbuild/protobuf"; import { GenEnum, GenFile, GenMessage, GenService } from "@bufbuild/protobuf/codegenv2"; import { FieldMask, Timestamp } from "@bufbuild/protobuf/wkt"; declare namespace address_book_pb_d_exports { export { AccountScopeRef, AccountScopeRefSchema, AccountScopeType, AccountScopeTypeSchema, AddressBook, AddressBookEntriesView, AddressBookEntriesViewSchema, AddressBookEntry, AddressBookEntryKind, AddressBookEntryKindSchema, AddressBookEntrySchema, AddressBookEntryUpdateSpec, AddressBookEntryUpdateSpecSchema, AddressBookRecentDestinationsView, AddressBookRecentDestinationsViewSchema, AddressBookSchema, AddressBookService, AddressBookTag, AddressBookTagInput, AddressBookTagInputSchema, AddressBookTagSchema, AddressBookTagSummary, AddressBookTagSummarySchema, AddressBookViewInvalidated, AddressBookViewInvalidatedSchema, CopyAddressBookEntryRequest, CopyAddressBookEntryRequestSchema, CopyAddressBookEntryResponse, CopyAddressBookEntryResponseSchema, CreateAddressBookEntryRequest, CreateAddressBookEntryRequestSchema, CreateAddressBookEntryResponse, CreateAddressBookEntryResponseSchema, CreateAddressBookTagRequest, CreateAddressBookTagRequestSchema, CreateAddressBookTagResponse, CreateAddressBookTagResponseSchema, DeleteAddressBookEntryRequest, DeleteAddressBookEntryRequestSchema, DeleteAddressBookEntryResponse, DeleteAddressBookEntryResponseSchema, DeleteAddressBookTagRequest, DeleteAddressBookTagRequestSchema, DeleteAddressBookTagResponse, DeleteAddressBookTagResponseSchema, DestinationWhitelistStatus, DestinationWhitelistStatusSchema, ExternalAddressBookEntry, ExternalAddressBookEntrySchema, ExternalRecentDestination, ExternalRecentDestinationSchema, ExternalWithdrawAddress, ExternalWithdrawAddressSchema, GetAddressBookViewRequest, GetAddressBookViewRequestSchema, GetAddressBookViewResponse, GetAddressBookViewResponseSchema, GetWithdrawWhitelistViewRequest, GetWithdrawWhitelistViewRequestSchema, GetWithdrawWhitelistViewResponse, GetWithdrawWhitelistViewResponseSchema, InternalAddressBookEntry, InternalAddressBookEntrySchema, InternalRecentDestination, InternalRecentDestinationSchema, InternalTransferAccount, InternalTransferAccountSchema, InternalTransferWhitelistEntry, InternalTransferWhitelistEntrySchema, InternalWhitelistResolutionStatus, InternalWhitelistResolutionStatusSchema, ListAddressBookEntriesRequest, ListAddressBookEntriesRequestSchema, ListAddressBookEntriesResponse, ListAddressBookEntriesResponseSchema, ListAddressBooksRequest, ListAddressBooksRequestSchema, ListAddressBooksResponse, ListAddressBooksResponseSchema, ListInternalTransferWhitelistEntriesRequest, ListInternalTransferWhitelistEntriesRequestSchema, ListInternalTransferWhitelistEntriesResponse, ListInternalTransferWhitelistEntriesResponseSchema, ListTransferCounterpartiesRequest, ListTransferCounterpartiesRequestSchema, ListTransferCounterpartiesResponse, ListTransferCounterpartiesResponseSchema, ListTransferDestinationsRequest, ListTransferDestinationsRequestSchema, ListTransferDestinationsResponse, ListTransferDestinationsResponseSchema, MirroredWithdrawWhitelistEntry, MirroredWithdrawWhitelistEntrySchema, RequestedInternalTransferAccount, RequestedInternalTransferAccountSchema, TransferCounterparty, TransferCounterpartyDirection, TransferCounterpartyDirectionSchema, TransferCounterpartySchema, TransferDestination, TransferDestinationSchema, UpdateAddressBookEntryRequest, UpdateAddressBookEntryRequestSchema, UpdateAddressBookEntryResponse, UpdateAddressBookEntryResponseSchema, UpdateAddressBookTagRequest, UpdateAddressBookTagRequestSchema, UpdateAddressBookTagResponse, UpdateAddressBookTagResponseSchema, WithdrawWhitelistView, WithdrawWhitelistViewSchema, file_auth_v1_address_book }; } /** * Describes the file auth/v1/address_book.proto. */ declare const file_auth_v1_address_book: GenFile; /** * @generated from message auth.v1.AccountScopeRef */ type AccountScopeRef = Message<"auth.v1.AccountScopeRef"> & { /** * Address-book scope type. * * @generated from field: auth.v1.AccountScopeType scope_type = 1; */ scopeType: AccountScopeType; /** * Root account that owns this address book. * * @generated from field: fixed64 root_account_id = 2; */ rootAccountId: bigint; /** * Subaccount for subaccount-scoped books. Empty for root account books. * * @generated from field: fixed64 subaccount_id = 3; */ subaccountId: bigint; }; /** * Describes the message auth.v1.AccountScopeRef. * Use `create(AccountScopeRefSchema)` to create a new message. */ declare const AccountScopeRefSchema: GenMessage; /** * @generated from message auth.v1.AddressBook */ type AddressBook = Message<"auth.v1.AddressBook"> & { /** * Account or subaccount represented by this address book. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Caller role for this address book. * * @generated from field: auth.v1.SubaccountRole caller_role = 2; */ callerRole: SubaccountRole; /** * Display label for the address book. Usually present for subaccounts. * * @generated from field: string label = 3; */ label: string; /** * Username of the root owner when available. * * @generated from field: string owner_username = 4; */ ownerUsername: string; /** * Smart account address associated with this account or subaccount. * * @generated from field: string smart_account_address = 5; */ smartAccountAddress: string; }; /** * Describes the message auth.v1.AddressBook. * Use `create(AddressBookSchema)` to create a new message. */ declare const AddressBookSchema: GenMessage; /** * @generated from message auth.v1.ExternalWithdrawAddress */ type ExternalWithdrawAddress = Message<"auth.v1.ExternalWithdrawAddress"> & { /** * External network identifier for the destination address. * * @generated from field: uint32 polychain_chain_id = 1; */ polychainChainId: number; /** * Destination address on the selected external network. * * @generated from field: string address = 2; */ address: string; }; /** * Describes the message auth.v1.ExternalWithdrawAddress. * Use `create(ExternalWithdrawAddressSchema)` to create a new message. */ declare const ExternalWithdrawAddressSchema: GenMessage; /** * @generated from message auth.v1.InternalTransferAccount */ type InternalTransferAccount = Message<"auth.v1.InternalTransferAccount"> & { /** * Root account that owns the target internal account. * * @generated from field: fixed64 root_account_id = 1; */ rootAccountId: bigint; /** * Target account or subaccount public id. * * @generated from field: fixed64 target_account_id = 2; */ targetAccountId: bigint; /** * Whether target_account_id identifies a root account or a subaccount. * * @generated from field: auth.v1.AccountScopeType target_scope_type = 3; */ targetScopeType: AccountScopeType; /** * Smart account address for the internal transfer destination. * * @generated from field: string smart_account_address = 4; */ smartAccountAddress: string; /** * Username for the destination root account, when available. * * @generated from field: string root_username = 5; */ rootUsername: string; /** * Label for the destination subaccount, when the destination is a subaccount. * * @generated from field: string subaccount_label = 6; */ subaccountLabel: string; }; /** * Describes the message auth.v1.InternalTransferAccount. * Use `create(InternalTransferAccountSchema)` to create a new message. */ declare const InternalTransferAccountSchema: GenMessage; /** * @generated from message auth.v1.AddressBookTag */ type AddressBookTag = Message<"auth.v1.AddressBookTag"> & { /** * Stable public id of the tag. * * @generated from field: fixed64 tag_id = 1; */ tagId: bigint; /** * Address book scope where this tag exists. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * Human-readable tag name. * * @generated from field: string name = 3; */ name: string; /** * Optional UI color token for this tag. * * @generated from field: string color = 4; */ color: string; /** * Time the tag was created, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 5; */ createdAt?: Timestamp | undefined; /** * Time this tag was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 6; */ updatedAt?: Timestamp | undefined; }; /** * Describes the message auth.v1.AddressBookTag. * Use `create(AddressBookTagSchema)` to create a new message. */ declare const AddressBookTagSchema: GenMessage; /** * @generated from message auth.v1.AddressBookTagSummary */ type AddressBookTagSummary = Message<"auth.v1.AddressBookTagSummary"> & { /** * Stable public id of the tag. * * @generated from field: fixed64 tag_id = 1; */ tagId: bigint; /** * Human-readable tag name. * * @generated from field: string name = 2; */ name: string; /** * Optional UI color token for this tag. * * @generated from field: string color = 3; */ color: string; }; /** * Describes the message auth.v1.AddressBookTagSummary. * Use `create(AddressBookTagSummarySchema)` to create a new message. */ declare const AddressBookTagSummarySchema: GenMessage; /** * @generated from message auth.v1.AddressBookEntry */ type AddressBookEntry = Message<"auth.v1.AddressBookEntry"> & { /** * Stable public id of the saved address-book entry. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; /** * Address book that owns this entry. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * Type of saved destination. * * @generated from field: auth.v1.AddressBookEntryKind kind = 3; */ kind: AddressBookEntryKind; /** * User-defined display label. * * @generated from field: string label = 4; */ label: string; /** * Optional user-defined note. * * @generated from field: string note = 5; */ note: string; /** * Time this entry was created, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 6; */ createdAt?: Timestamp | undefined; /** * Time this entry was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 7; */ updatedAt?: Timestamp | undefined; /** * @generated from oneof auth.v1.AddressBookEntry.entry */ entry: { /** * External chain withdraw destination. * * @generated from field: auth.v1.ExternalWithdrawAddress external = 20; */ value: ExternalWithdrawAddress; case: "external"; } | { /** * Internal account transfer destination. * * @generated from field: auth.v1.InternalTransferAccount internal = 21; */ value: InternalTransferAccount; case: "internal"; } | { case: undefined; value?: undefined; }; /** * Tags currently attached to this entry. * * @generated from field: repeated auth.v1.AddressBookTag tags = 30; */ tags: AddressBookTag[]; /** * Monotonic resource revision used for conditional updates. * * @generated from field: uint64 revision = 31; */ revision: bigint; }; /** * Describes the message auth.v1.AddressBookEntry. * Use `create(AddressBookEntrySchema)` to create a new message. */ declare const AddressBookEntrySchema: GenMessage; /** * @generated from message auth.v1.AddressBookEntriesView */ type AddressBookEntriesView = Message<"auth.v1.AddressBookEntriesView"> & { /** * Saved external withdrawal destinations. * * @generated from field: repeated auth.v1.ExternalAddressBookEntry external = 1; */ external: ExternalAddressBookEntry[]; /** * Saved internal transfer destinations. * * @generated from field: repeated auth.v1.InternalAddressBookEntry internal = 2; */ internal: InternalAddressBookEntry[]; }; /** * Describes the message auth.v1.AddressBookEntriesView. * Use `create(AddressBookEntriesViewSchema)` to create a new message. */ declare const AddressBookEntriesViewSchema: GenMessage; /** * @generated from message auth.v1.ExternalAddressBookEntry */ type ExternalAddressBookEntry = Message<"auth.v1.ExternalAddressBookEntry"> & { /** * Stable public id of the saved external destination. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; /** * Address book that owns this entry. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * User-defined display label. * * @generated from field: string label = 3; */ label: string; /** * Optional user-defined note. * * @generated from field: string note = 4; */ note: string; /** * Tag ids attached to this entry. See GetAddressBookViewResponse.tags for tag details. * * @generated from field: repeated fixed64 tag_ids = 5; */ tagIds: bigint[]; /** * Current active whitelist status for this destination. * * @generated from field: auth.v1.DestinationWhitelistStatus whitelist_status = 6; */ whitelistStatus: DestinationWhitelistStatus; /** * External network identifier for the destination address. * * @generated from field: uint32 polychain_chain_id = 7; */ polychainChainId: number; /** * Destination address on the selected external network. * * @generated from field: string address = 8; */ address: string; /** * Time this entry was created, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 9; */ createdAt?: Timestamp | undefined; /** * Time this entry was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 10; */ updatedAt?: Timestamp | undefined; /** * Monotonic resource revision used for conditional updates. * * @generated from field: uint64 revision = 11; */ revision: bigint; }; /** * Describes the message auth.v1.ExternalAddressBookEntry. * Use `create(ExternalAddressBookEntrySchema)` to create a new message. */ declare const ExternalAddressBookEntrySchema: GenMessage; /** * @generated from message auth.v1.InternalAddressBookEntry */ type InternalAddressBookEntry = Message<"auth.v1.InternalAddressBookEntry"> & { /** * Stable public id of the saved internal destination. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; /** * Address book that owns this entry. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * User-defined display label. * * @generated from field: string label = 3; */ label: string; /** * Optional user-defined note. * * @generated from field: string note = 4; */ note: string; /** * Tag ids attached to this entry. See GetAddressBookViewResponse.tags for tag details. * * @generated from field: repeated fixed64 tag_ids = 5; */ tagIds: bigint[]; /** * Current active whitelist status for this destination. * * @generated from field: auth.v1.DestinationWhitelistStatus whitelist_status = 6; */ whitelistStatus: DestinationWhitelistStatus; /** * Root account that owns the target internal account. * * @generated from field: fixed64 root_account_id = 7; */ rootAccountId: bigint; /** * Target account or subaccount public id. * * @generated from field: fixed64 target_account_id = 8; */ targetAccountId: bigint; /** * Whether target_account_id identifies a root account or a subaccount. * * @generated from field: auth.v1.AccountScopeType target_scope_type = 9; */ targetScopeType: AccountScopeType; /** * Smart account address for the internal transfer destination. * * @generated from field: string smart_account_address = 10; */ smartAccountAddress: string; /** * Username for the destination root account, when available. * * @generated from field: string root_username = 11; */ rootUsername: string; /** * Label for the destination subaccount, when the destination is a subaccount. * * @generated from field: string subaccount_label = 12; */ subaccountLabel: string; /** * Time this entry was created, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 13; */ createdAt?: Timestamp | undefined; /** * Time this entry was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 14; */ updatedAt?: Timestamp | undefined; /** * Monotonic resource revision used for conditional updates. * * @generated from field: uint64 revision = 15; */ revision: bigint; }; /** * Describes the message auth.v1.InternalAddressBookEntry. * Use `create(InternalAddressBookEntrySchema)` to create a new message. */ declare const InternalAddressBookEntrySchema: GenMessage; /** * @generated from message auth.v1.TransferCounterparty */ type TransferCounterparty = Message<"auth.v1.TransferCounterparty"> & { /** * Stable public id of this transfer counterparty. * * @generated from field: fixed64 counterparty_id = 1; */ counterpartyId: bigint; /** * Address book where this counterparty was observed. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * Most recent transfer direction for this counterparty. * * @generated from field: auth.v1.TransferCounterpartyDirection direction = 3; */ direction: TransferCounterpartyDirection; /** * Counterparty type. * * @generated from field: auth.v1.AddressBookEntryKind kind = 4; */ kind: AddressBookEntryKind; /** * Whether this counterparty is already saved in the address book. * * @generated from field: bool saved = 5; */ saved: boolean; /** * Saved address book entry id when saved is true. * * @generated from field: fixed64 address_book_entry_id = 6; */ addressBookEntryId: bigint; /** * Number of transfers observed for this counterparty. * * @generated from field: uint64 use_count = 7; */ useCount: bigint; /** * Time this counterparty was first observed, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp first_seen_at = 8; */ firstSeenAt?: Timestamp | undefined; /** * Time this counterparty was last observed, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp last_seen_at = 9; */ lastSeenAt?: Timestamp | undefined; /** * @generated from oneof auth.v1.TransferCounterparty.counterparty */ counterparty: { /** * External chain address counterparty. * * @generated from field: auth.v1.ExternalWithdrawAddress external = 20; */ value: ExternalWithdrawAddress; case: "external"; } | { /** * Internal account counterparty. * * @generated from field: auth.v1.InternalTransferAccount internal = 21; */ value: InternalTransferAccount; case: "internal"; } | { case: undefined; value?: undefined; }; }; /** * Describes the message auth.v1.TransferCounterparty. * Use `create(TransferCounterpartySchema)` to create a new message. */ declare const TransferCounterpartySchema: GenMessage; /** * @generated from message auth.v1.AddressBookRecentDestinationsView */ type AddressBookRecentDestinationsView = Message<"auth.v1.AddressBookRecentDestinationsView"> & { /** * Recent external withdrawal destinations that are not saved in the address book. * * @generated from field: repeated auth.v1.ExternalRecentDestination external = 1; */ external: ExternalRecentDestination[]; /** * Recent internal transfer destinations that are not saved in the address book. * * @generated from field: repeated auth.v1.InternalRecentDestination internal = 2; */ internal: InternalRecentDestination[]; }; /** * Describes the message auth.v1.AddressBookRecentDestinationsView. * Use `create(AddressBookRecentDestinationsViewSchema)` to create a new message. */ declare const AddressBookRecentDestinationsViewSchema: GenMessage; /** * @generated from message auth.v1.ExternalRecentDestination */ type ExternalRecentDestination = Message<"auth.v1.ExternalRecentDestination"> & { /** * Address book where this destination was observed. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Direction of the most recent interaction. * * @generated from field: auth.v1.TransferCounterpartyDirection last_direction = 2; */ lastDirection: TransferCounterpartyDirection; /** * Whether this destination is already saved in the address book. * * @generated from field: bool saved = 3; */ saved: boolean; /** * Saved address book entry id when saved is true. * * @generated from field: fixed64 address_book_entry_id = 4; */ addressBookEntryId: bigint; /** * Number of transfers observed for this destination. * * @generated from field: uint64 use_count = 5; */ useCount: bigint; /** * Time this destination was last used, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp last_seen_at = 6; */ lastSeenAt?: Timestamp | undefined; /** * External network identifier for the destination address. * * @generated from field: uint32 polychain_chain_id = 7; */ polychainChainId: number; /** * Destination address on the selected external network. * * @generated from field: string address = 8; */ address: string; }; /** * Describes the message auth.v1.ExternalRecentDestination. * Use `create(ExternalRecentDestinationSchema)` to create a new message. */ declare const ExternalRecentDestinationSchema: GenMessage; /** * @generated from message auth.v1.InternalRecentDestination */ type InternalRecentDestination = Message<"auth.v1.InternalRecentDestination"> & { /** * Address book where this destination was observed. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Direction of the most recent interaction. * * @generated from field: auth.v1.TransferCounterpartyDirection last_direction = 2; */ lastDirection: TransferCounterpartyDirection; /** * Whether this destination is already saved in the address book. * * @generated from field: bool saved = 3; */ saved: boolean; /** * Saved address book entry id when saved is true. * * @generated from field: fixed64 address_book_entry_id = 4; */ addressBookEntryId: bigint; /** * Number of transfers observed for this destination. * * @generated from field: uint64 use_count = 5; */ useCount: bigint; /** * Time this destination was last used, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp last_seen_at = 6; */ lastSeenAt?: Timestamp | undefined; /** * Root account that owns the target internal account. * * @generated from field: fixed64 root_account_id = 7; */ rootAccountId: bigint; /** * Target account or subaccount public id. * * @generated from field: fixed64 target_account_id = 8; */ targetAccountId: bigint; /** * Whether target_account_id identifies a root account or a subaccount. * * @generated from field: auth.v1.AccountScopeType target_scope_type = 9; */ targetScopeType: AccountScopeType; /** * Smart account address for the internal transfer destination. * * @generated from field: string smart_account_address = 10; */ smartAccountAddress: string; /** * Username for the destination root account, when available. * * @generated from field: string root_username = 11; */ rootUsername: string; /** * Label for the destination subaccount, when the destination is a subaccount. * * @generated from field: string subaccount_label = 12; */ subaccountLabel: string; }; /** * Describes the message auth.v1.InternalRecentDestination. * Use `create(InternalRecentDestinationSchema)` to create a new message. */ declare const InternalRecentDestinationSchema: GenMessage; /** * @generated from message auth.v1.InternalTransferWhitelistEntry */ type InternalTransferWhitelistEntry = Message<"auth.v1.InternalTransferWhitelistEntry"> & { /** * Stable public id of this internal transfer whitelist entry. * * @generated from field: fixed64 entry_id = 1; */ entryId: bigint; /** * Address book that can view this whitelist entry. * * @generated from field: auth.v1.AccountScopeRef scope = 2; */ scope?: AccountScopeRef | undefined; /** * Root account that owns the target internal account. * * @generated from field: fixed64 root_account_id = 3; */ rootAccountId: bigint; /** * Target account or subaccount public id. * * @generated from field: fixed64 target_account_id = 4; */ targetAccountId: bigint; /** * Whether target_account_id identifies a root account or a subaccount. * * @generated from field: auth.v1.AccountScopeType target_scope_type = 5; */ targetScopeType: AccountScopeType; /** * Smart account address allowed for internal transfers. * * @generated from field: string smart_account_address = 6; */ smartAccountAddress: string; /** * Username for the destination root account, when available. * * @generated from field: string root_username = 7; */ rootUsername: string; /** * Label for the destination subaccount, when the destination is a subaccount. * * @generated from field: string subaccount_label = 8; */ subaccountLabel: string; /** * Time this whitelist entry was created, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp created_at = 9; */ createdAt?: Timestamp | undefined; /** * Time this whitelist entry was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 10; */ updatedAt?: Timestamp | undefined; /** * Whether destination account details are available. * * @generated from field: auth.v1.InternalWhitelistResolutionStatus resolution_status = 11; */ resolutionStatus: InternalWhitelistResolutionStatus; }; /** * Describes the message auth.v1.InternalTransferWhitelistEntry. * Use `create(InternalTransferWhitelistEntrySchema)` to create a new message. */ declare const InternalTransferWhitelistEntrySchema: GenMessage; /** * @generated from message auth.v1.MirroredWithdrawWhitelistEntry */ type MirroredWithdrawWhitelistEntry = Message<"auth.v1.MirroredWithdrawWhitelistEntry"> & { /** * Destination address on the selected external network. * * @generated from field: string canonical_address = 1; */ canonicalAddress: string; /** * Encoded destination payload as lowercase hex, when available. * * @generated from field: string raw_address_hex = 2; */ rawAddressHex: string; /** * Time this whitelist entry was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp updated_at = 5; */ updatedAt?: Timestamp | undefined; /** * External network identifier for this whitelist entry. * * @generated from field: uint32 polychain_chain_id = 6; */ polychainChainId: number; }; /** * Describes the message auth.v1.MirroredWithdrawWhitelistEntry. * Use `create(MirroredWithdrawWhitelistEntrySchema)` to create a new message. */ declare const MirroredWithdrawWhitelistEntrySchema: GenMessage; /** * @generated from message auth.v1.WithdrawWhitelistView */ type WithdrawWhitelistView = Message<"auth.v1.WithdrawWhitelistView"> & { /** * Address book for this withdraw whitelist view. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Whether external withdrawals are restricted to whitelisted destinations. * * @generated from field: bool external_whitelist_required = 2; */ externalWhitelistRequired: boolean; /** * Active external withdraw whitelist entries for this address book. * * @generated from field: repeated auth.v1.MirroredWithdrawWhitelistEntry active_entries = 3; */ activeEntries: MirroredWithdrawWhitelistEntry[]; /** * Whether internal transfers are restricted to whitelisted destinations. * * @generated from field: bool internal_whitelist_required = 4; */ internalWhitelistRequired: boolean; }; /** * Describes the message auth.v1.WithdrawWhitelistView. * Use `create(WithdrawWhitelistViewSchema)` to create a new message. */ declare const WithdrawWhitelistViewSchema: GenMessage; /** * @generated from message auth.v1.TransferDestination */ type TransferDestination = Message<"auth.v1.TransferDestination"> & { /** * Address book scope for this transfer destination. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Destination type. * * @generated from field: auth.v1.AddressBookEntryKind kind = 2; */ kind: AddressBookEntryKind; /** * Whether this destination is saved in the address book. * * @generated from field: bool saved = 3; */ saved: boolean; /** * Whether this destination currently has an active whitelist entry. * * @generated from field: bool whitelisted = 4; */ whitelisted: boolean; /** * Current active whitelist status for this destination. * * @generated from field: auth.v1.DestinationWhitelistStatus whitelist_status = 5; */ whitelistStatus: DestinationWhitelistStatus; /** * Saved address-book entry, when this destination is saved. * * @generated from field: auth.v1.AddressBookEntry address_book_entry = 6; */ addressBookEntry?: AddressBookEntry | undefined; /** * @generated from oneof auth.v1.TransferDestination.destination */ destination: { /** * External withdrawal destination. * * @generated from field: auth.v1.ExternalWithdrawAddress external = 20; */ value: ExternalWithdrawAddress; case: "external"; } | { /** * Internal transfer destination. * * @generated from field: auth.v1.InternalTransferAccount internal = 21; */ value: InternalTransferAccount; case: "internal"; } | { case: undefined; value?: undefined; }; /** * Time the whitelist status was last updated, as a UTC timestamp. * * @generated from field: google.protobuf.Timestamp whitelist_updated_at = 31; */ whitelistUpdatedAt?: Timestamp | undefined; }; /** * Describes the message auth.v1.TransferDestination. * Use `create(TransferDestinationSchema)` to create a new message. */ declare const TransferDestinationSchema: GenMessage; /** * @generated from message auth.v1.ListAddressBooksRequest */ type ListAddressBooksRequest = Message<"auth.v1.ListAddressBooksRequest"> & {}; /** * Describes the message auth.v1.ListAddressBooksRequest. * Use `create(ListAddressBooksRequestSchema)` to create a new message. */ declare const ListAddressBooksRequestSchema: GenMessage; /** * @generated from message auth.v1.ListAddressBooksResponse */ type ListAddressBooksResponse = Message<"auth.v1.ListAddressBooksResponse"> & { /** * Address books visible to the caller, ordered by root book first and then subaccount id ascending. * * @generated from field: repeated auth.v1.AddressBook books = 1; */ books: AddressBook[]; }; /** * Describes the message auth.v1.ListAddressBooksResponse. * Use `create(ListAddressBooksResponseSchema)` to create a new message. */ declare const ListAddressBooksResponseSchema: GenMessage; /** * @generated from message auth.v1.ListAddressBookEntriesRequest */ type ListAddressBookEntriesRequest = Message<"auth.v1.ListAddressBookEntriesRequest"> & { /** * Optional subaccount scope. Omit to use the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Optional destination type filter. * * @generated from field: auth.v1.AddressBookEntryKind kind = 2; */ kind: AddressBookEntryKind; /** * Maximum number of entries to return. Defaults to 200 when omitted; maximum * is 500. * * @generated from field: uint32 limit = 3; */ limit: number; /** * Opaque keyset cursor from a previous response. The cursor is exclusive and * bound to account, subaccount scope, destination type filter, and * newest-created sort order. * * @generated from field: string page_token = 4; */ pageToken: string; }; /** * Describes the message auth.v1.ListAddressBookEntriesRequest. * Use `create(ListAddressBookEntriesRequestSchema)` to create a new message. */ declare const ListAddressBookEntriesRequestSchema: GenMessage; /** * @generated from message auth.v1.ListAddressBookEntriesResponse */ type ListAddressBookEntriesResponse = Message<"auth.v1.ListAddressBookEntriesResponse"> & { /** * Saved address book entries matching the request filters, ordered by creation time newest first. * * @generated from field: repeated auth.v1.AddressBookEntry entries = 1; */ entries: AddressBookEntry[]; /** * Opaque cursor for the next page. Empty when no more results exist. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message auth.v1.ListAddressBookEntriesResponse. * Use `create(ListAddressBookEntriesResponseSchema)` to create a new message. */ declare const ListAddressBookEntriesResponseSchema: GenMessage; /** * @generated from message auth.v1.CreateAddressBookEntryRequest */ type CreateAddressBookEntryRequest = Message<"auth.v1.CreateAddressBookEntryRequest"> & { /** * Optional subaccount scope. Omit to create in the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * User-defined display label. * * @generated from field: string label = 2; */ label: string; /** * Optional user-defined note. * * @generated from field: string note = 3; */ note: string; /** * @generated from oneof auth.v1.CreateAddressBookEntryRequest.entry */ entry: { /** * External withdrawal destination to save. * * @generated from field: auth.v1.ExternalWithdrawAddress external = 10; */ value: ExternalWithdrawAddress; case: "external"; } | { /** * Internal transfer destination to save. * * @generated from field: auth.v1.RequestedInternalTransferAccount internal = 11; */ value: RequestedInternalTransferAccount; case: "internal"; } | { case: undefined; value?: undefined; }; /** * Complete set of existing tag ids to attach to the entry. * * @generated from field: repeated fixed64 tag_ids = 4; */ tagIds: bigint[]; /** * New tags to create and attach with this entry creation. * * @generated from field: repeated auth.v1.AddressBookTagInput new_tags = 5; */ newTags: AddressBookTagInput[]; }; /** * Describes the message auth.v1.CreateAddressBookEntryRequest. * Use `create(CreateAddressBookEntryRequestSchema)` to create a new message. */ declare const CreateAddressBookEntryRequestSchema: GenMessage; /** * @generated from message auth.v1.RequestedInternalTransferAccount */ type RequestedInternalTransferAccount = Message<"auth.v1.RequestedInternalTransferAccount"> & { /** * Smart account address of the internal transfer destination. * * @generated from field: string smart_account_address = 1; */ smartAccountAddress: string; }; /** * Describes the message auth.v1.RequestedInternalTransferAccount. * Use `create(RequestedInternalTransferAccountSchema)` to create a new message. */ declare const RequestedInternalTransferAccountSchema: GenMessage; /** * @generated from message auth.v1.CreateAddressBookEntryResponse */ type CreateAddressBookEntryResponse = Message<"auth.v1.CreateAddressBookEntryResponse"> & { /** * Newly created address book entry. * * @generated from field: auth.v1.AddressBookEntry entry = 1; */ entry?: AddressBookEntry | undefined; }; /** * Describes the message auth.v1.CreateAddressBookEntryResponse. * Use `create(CreateAddressBookEntryResponseSchema)` to create a new message. */ declare const CreateAddressBookEntryResponseSchema: GenMessage; /** * AddressBookEntryUpdateSpec contains mutable saved-destination metadata. * * @generated from message auth.v1.AddressBookEntryUpdateSpec */ type AddressBookEntryUpdateSpec = Message<"auth.v1.AddressBookEntryUpdateSpec"> & { /** * Display label. Empty clears the label when selected. * * @generated from field: string label = 1; */ label: string; /** * User-defined note. Empty clears the note when selected. * * @generated from field: string note = 2; */ note: string; /** * Complete replacement set of tag ids when selected. * * @generated from field: repeated fixed64 tag_ids = 3; */ tagIds: bigint[]; /** * New tags to create and attach in the same protected update. When tag_ids * is also selected, the resulting set is tag_ids plus these tags. Otherwise, * currently attached tags are preserved and these tags are appended. * * @generated from field: repeated auth.v1.AddressBookTagInput new_tags = 4; */ newTags: AddressBookTagInput[]; }; /** * Describes the message auth.v1.AddressBookEntryUpdateSpec. * Use `create(AddressBookEntryUpdateSpecSchema)` to create a new message. */ declare const AddressBookEntryUpdateSpecSchema: GenMessage; /** * @generated from message auth.v1.UpdateAddressBookEntryRequest */ type UpdateAddressBookEntryRequest = Message<"auth.v1.UpdateAddressBookEntryRequest"> & { /** * Address-book entry id to update. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; /** * Candidate values for fields selected by update_mask. * * @generated from field: auth.v1.AddressBookEntryUpdateSpec entry = 2; */ entry?: AddressBookEntryUpdateSpec | undefined; /** * Mutable fields to apply. Paths are relative to entry. The mask is required, * must be non-empty, and cannot contain "*". * * @generated from field: google.protobuf.FieldMask update_mask = 3; */ updateMask?: FieldMask | undefined; /** * Revision returned by the latest successful read. * * @generated from field: uint64 expected_revision = 4; */ expectedRevision: bigint; }; /** * Describes the message auth.v1.UpdateAddressBookEntryRequest. * Use `create(UpdateAddressBookEntryRequestSchema)` to create a new message. */ declare const UpdateAddressBookEntryRequestSchema: GenMessage; /** * @generated from message auth.v1.UpdateAddressBookEntryResponse */ type UpdateAddressBookEntryResponse = Message<"auth.v1.UpdateAddressBookEntryResponse"> & { /** * Updated address book entry. * * @generated from field: auth.v1.AddressBookEntry entry = 1; */ entry?: AddressBookEntry | undefined; }; /** * Describes the message auth.v1.UpdateAddressBookEntryResponse. * Use `create(UpdateAddressBookEntryResponseSchema)` to create a new message. */ declare const UpdateAddressBookEntryResponseSchema: GenMessage; /** * @generated from message auth.v1.AddressBookTagInput */ type AddressBookTagInput = Message<"auth.v1.AddressBookTagInput"> & { /** * Human-readable tag name. * * @generated from field: string name = 1; */ name: string; /** * Optional UI color token for this tag. * * @generated from field: string color = 2; */ color: string; }; /** * Describes the message auth.v1.AddressBookTagInput. * Use `create(AddressBookTagInputSchema)` to create a new message. */ declare const AddressBookTagInputSchema: GenMessage; /** * @generated from message auth.v1.DeleteAddressBookEntryRequest */ type DeleteAddressBookEntryRequest = Message<"auth.v1.DeleteAddressBookEntryRequest"> & { /** * Address-book entry id to delete. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; }; /** * Describes the message auth.v1.DeleteAddressBookEntryRequest. * Use `create(DeleteAddressBookEntryRequestSchema)` to create a new message. */ declare const DeleteAddressBookEntryRequestSchema: GenMessage; /** * @generated from message auth.v1.DeleteAddressBookEntryResponse */ type DeleteAddressBookEntryResponse = Message<"auth.v1.DeleteAddressBookEntryResponse"> & {}; /** * Describes the message auth.v1.DeleteAddressBookEntryResponse. * Use `create(DeleteAddressBookEntryResponseSchema)` to create a new message. */ declare const DeleteAddressBookEntryResponseSchema: GenMessage; /** * @generated from message auth.v1.CopyAddressBookEntryRequest */ type CopyAddressBookEntryRequest = Message<"auth.v1.CopyAddressBookEntryRequest"> & { /** * Address-book entry id to copy. * * @generated from field: fixed64 address_book_entry_id = 1; */ addressBookEntryId: bigint; /** * Optional destination subaccount. Omit to copy into the root account address book. * * @generated from field: fixed64 target_subaccount_id = 2; */ targetSubaccountId: bigint; }; /** * Describes the message auth.v1.CopyAddressBookEntryRequest. * Use `create(CopyAddressBookEntryRequestSchema)` to create a new message. */ declare const CopyAddressBookEntryRequestSchema: GenMessage; /** * @generated from message auth.v1.CopyAddressBookEntryResponse */ type CopyAddressBookEntryResponse = Message<"auth.v1.CopyAddressBookEntryResponse"> & { /** * Newly copied address book entry. * * @generated from field: auth.v1.AddressBookEntry entry = 1; */ entry?: AddressBookEntry | undefined; }; /** * Describes the message auth.v1.CopyAddressBookEntryResponse. * Use `create(CopyAddressBookEntryResponseSchema)` to create a new message. */ declare const CopyAddressBookEntryResponseSchema: GenMessage; /** * @generated from message auth.v1.CreateAddressBookTagRequest */ type CreateAddressBookTagRequest = Message<"auth.v1.CreateAddressBookTagRequest"> & { /** * Optional subaccount scope. Omit to create in the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Human-readable tag name. * * @generated from field: string name = 2; */ name: string; /** * Optional UI color token for this tag. * * @generated from field: string color = 3; */ color: string; }; /** * Describes the message auth.v1.CreateAddressBookTagRequest. * Use `create(CreateAddressBookTagRequestSchema)` to create a new message. */ declare const CreateAddressBookTagRequestSchema: GenMessage; /** * @generated from message auth.v1.CreateAddressBookTagResponse */ type CreateAddressBookTagResponse = Message<"auth.v1.CreateAddressBookTagResponse"> & { /** * Newly created tag. * * @generated from field: auth.v1.AddressBookTag tag = 1; */ tag?: AddressBookTag | undefined; }; /** * Describes the message auth.v1.CreateAddressBookTagResponse. * Use `create(CreateAddressBookTagResponseSchema)` to create a new message. */ declare const CreateAddressBookTagResponseSchema: GenMessage; /** * @generated from message auth.v1.UpdateAddressBookTagRequest */ type UpdateAddressBookTagRequest = Message<"auth.v1.UpdateAddressBookTagRequest"> & { /** * Tag id to update. * * @generated from field: fixed64 tag_id = 1; */ tagId: bigint; /** * Replacement tag name. Omit to preserve the current name. * * @generated from field: optional string name = 2; */ name?: string | undefined; /** * Replacement UI color token. Omit to preserve; an empty value clears it. * * @generated from field: optional string color = 3; */ color?: string | undefined; }; /** * Describes the message auth.v1.UpdateAddressBookTagRequest. * Use `create(UpdateAddressBookTagRequestSchema)` to create a new message. */ declare const UpdateAddressBookTagRequestSchema: GenMessage; /** * @generated from message auth.v1.UpdateAddressBookTagResponse */ type UpdateAddressBookTagResponse = Message<"auth.v1.UpdateAddressBookTagResponse"> & { /** * Updated tag. * * @generated from field: auth.v1.AddressBookTag tag = 1; */ tag?: AddressBookTag | undefined; }; /** * Describes the message auth.v1.UpdateAddressBookTagResponse. * Use `create(UpdateAddressBookTagResponseSchema)` to create a new message. */ declare const UpdateAddressBookTagResponseSchema: GenMessage; /** * @generated from message auth.v1.DeleteAddressBookTagRequest */ type DeleteAddressBookTagRequest = Message<"auth.v1.DeleteAddressBookTagRequest"> & { /** * Tag id to delete. Deleted tags are removed from entries. * * @generated from field: fixed64 tag_id = 1; */ tagId: bigint; }; /** * Describes the message auth.v1.DeleteAddressBookTagRequest. * Use `create(DeleteAddressBookTagRequestSchema)` to create a new message. */ declare const DeleteAddressBookTagRequestSchema: GenMessage; /** * @generated from message auth.v1.DeleteAddressBookTagResponse */ type DeleteAddressBookTagResponse = Message<"auth.v1.DeleteAddressBookTagResponse"> & {}; /** * Describes the message auth.v1.DeleteAddressBookTagResponse. * Use `create(DeleteAddressBookTagResponseSchema)` to create a new message. */ declare const DeleteAddressBookTagResponseSchema: GenMessage; /** * @generated from message auth.v1.ListTransferCounterpartiesRequest */ type ListTransferCounterpartiesRequest = Message<"auth.v1.ListTransferCounterpartiesRequest"> & { /** * Optional subaccount scope. Omit to use the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Optional transfer direction filter. * * @generated from field: auth.v1.TransferCounterpartyDirection direction = 2; */ direction: TransferCounterpartyDirection; /** * Optional destination type filter. * * @generated from field: auth.v1.AddressBookEntryKind kind = 3; */ kind: AddressBookEntryKind; /** * Maximum number of counterparties to return. Defaults to 200 when omitted; * maximum is 200. * * @generated from field: uint32 limit = 5; */ limit: number; }; /** * Describes the message auth.v1.ListTransferCounterpartiesRequest. * Use `create(ListTransferCounterpartiesRequestSchema)` to create a new message. */ declare const ListTransferCounterpartiesRequestSchema: GenMessage; /** * @generated from message auth.v1.ListTransferCounterpartiesResponse */ type ListTransferCounterpartiesResponse = Message<"auth.v1.ListTransferCounterpartiesResponse"> & { /** * Transfer counterparties matching the request filters, ordered by last_seen_at newest first. * * @generated from field: repeated auth.v1.TransferCounterparty counterparties = 1; */ counterparties: TransferCounterparty[]; /** * True when more matching counterparties exist than were returned. This * bounded view does not provide continuation. * * @generated from field: bool truncated = 2; */ truncated: boolean; }; /** * Describes the message auth.v1.ListTransferCounterpartiesResponse. * Use `create(ListTransferCounterpartiesResponseSchema)` to create a new message. */ declare const ListTransferCounterpartiesResponseSchema: GenMessage; /** * @generated from message auth.v1.ListTransferDestinationsRequest */ type ListTransferDestinationsRequest = Message<"auth.v1.ListTransferDestinationsRequest"> & { /** * Optional subaccount scope. Omit to use the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Optional destination type filter. * * @generated from field: auth.v1.AddressBookEntryKind kind = 2; */ kind: AddressBookEntryKind; /** * Maximum number of destinations to return. Defaults to 200 when omitted; * maximum is 500. * * @generated from field: uint32 limit = 3; */ limit: number; /** * Opaque keyset cursor from a previous response. The cursor is exclusive and * bound to account, subaccount scope, destination type filter, and stable * destination sort order. * * @generated from field: string page_token = 4; */ pageToken: string; }; /** * Describes the message auth.v1.ListTransferDestinationsRequest. * Use `create(ListTransferDestinationsRequestSchema)` to create a new message. */ declare const ListTransferDestinationsRequestSchema: GenMessage; /** * @generated from message auth.v1.ListTransferDestinationsResponse */ type ListTransferDestinationsResponse = Message<"auth.v1.ListTransferDestinationsResponse"> & { /** * Saved destinations and active whitelisted destinations matching the request filters, * ordered by creation or whitelist update time newest first. * * @generated from field: repeated auth.v1.TransferDestination destinations = 1; */ destinations: TransferDestination[]; /** * Opaque cursor for the next page. Empty when no more results exist. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message auth.v1.ListTransferDestinationsResponse. * Use `create(ListTransferDestinationsResponseSchema)` to create a new message. */ declare const ListTransferDestinationsResponseSchema: GenMessage; /** * @generated from message auth.v1.ListInternalTransferWhitelistEntriesRequest */ type ListInternalTransferWhitelistEntriesRequest = Message<"auth.v1.ListInternalTransferWhitelistEntriesRequest"> & { /** * Optional subaccount scope. Omit to use the root account address book. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Maximum number of whitelist entries to return. Defaults to 200 when * omitted; maximum is 500. * * @generated from field: uint32 limit = 2; */ limit: number; /** * Opaque keyset cursor from a previous response. The cursor is exclusive and * bound to account, subaccount scope, and stable whitelist-entry sort order. * * @generated from field: string page_token = 3; */ pageToken: string; }; /** * Describes the message auth.v1.ListInternalTransferWhitelistEntriesRequest. * Use `create(ListInternalTransferWhitelistEntriesRequestSchema)` to create a new message. */ declare const ListInternalTransferWhitelistEntriesRequestSchema: GenMessage; /** * @generated from message auth.v1.ListInternalTransferWhitelistEntriesResponse */ type ListInternalTransferWhitelistEntriesResponse = Message<"auth.v1.ListInternalTransferWhitelistEntriesResponse"> & { /** * Active internal transfer whitelist entries for the requested address book, * ordered by update time newest first. * * @generated from field: repeated auth.v1.InternalTransferWhitelistEntry entries = 1; */ entries: InternalTransferWhitelistEntry[]; /** * Opaque cursor for the next page. Empty when no more results exist. * * @generated from field: string next_page_token = 2; */ nextPageToken: string; }; /** * Describes the message auth.v1.ListInternalTransferWhitelistEntriesResponse. * Use `create(ListInternalTransferWhitelistEntriesResponseSchema)` to create a new message. */ declare const ListInternalTransferWhitelistEntriesResponseSchema: GenMessage; /** * @generated from message auth.v1.GetWithdrawWhitelistViewRequest */ type GetWithdrawWhitelistViewRequest = Message<"auth.v1.GetWithdrawWhitelistViewRequest"> & { /** * Optional subaccount scope. Omit to use the root account withdraw whitelist view. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; }; /** * Describes the message auth.v1.GetWithdrawWhitelistViewRequest. * Use `create(GetWithdrawWhitelistViewRequestSchema)` to create a new message. */ declare const GetWithdrawWhitelistViewRequestSchema: GenMessage; /** * @generated from message auth.v1.GetWithdrawWhitelistViewResponse */ type GetWithdrawWhitelistViewResponse = Message<"auth.v1.GetWithdrawWhitelistViewResponse"> & { /** * Withdraw whitelist status for the requested address book. * * @generated from field: auth.v1.WithdrawWhitelistView view = 1; */ view?: WithdrawWhitelistView | undefined; }; /** * Describes the message auth.v1.GetWithdrawWhitelistViewResponse. * Use `create(GetWithdrawWhitelistViewResponseSchema)` to create a new message. */ declare const GetWithdrawWhitelistViewResponseSchema: GenMessage; /** * @generated from message auth.v1.GetAddressBookViewRequest */ type GetAddressBookViewRequest = Message<"auth.v1.GetAddressBookViewRequest"> & { /** * Optional subaccount scope. Omit to use the root account address book view. * * @generated from field: fixed64 subaccount_id = 1; */ subaccountId: bigint; /** * Maximum number of recent destinations to return. Defaults to 200 when * omitted; maximum is 200. * * @generated from field: uint32 limit = 6; */ limit: number; /** * Minimum revision observed in AddressBookViewInvalidated. When set, the * server waits for its local projection to reach this revision instead of * returning an older view. * * @generated from field: uint64 minimum_view_revision = 7; */ minimumViewRevision: bigint; }; /** * Describes the message auth.v1.GetAddressBookViewRequest. * Use `create(GetAddressBookViewRequestSchema)` to create a new message. */ declare const GetAddressBookViewRequestSchema: GenMessage; /** * @generated from message auth.v1.GetAddressBookViewResponse */ type GetAddressBookViewResponse = Message<"auth.v1.GetAddressBookViewResponse"> & { /** * Address books visible to the caller. * * @generated from field: repeated auth.v1.AddressBook books = 1; */ books: AddressBook[]; /** * Saved address-book entries grouped by destination type. * * @generated from field: auth.v1.AddressBookEntriesView entries = 2; */ entries?: AddressBookEntriesView | undefined; /** * Recent destinations not saved in the address book, grouped by destination type. * * @generated from field: auth.v1.AddressBookRecentDestinationsView recent_destinations = 3; */ recentDestinations?: AddressBookRecentDestinationsView | undefined; /** * Tags referenced by entries.tag_ids. * * @generated from field: repeated auth.v1.AddressBookTagSummary tags = 4; */ tags: AddressBookTagSummary[]; /** * External withdrawal whitelist status for the selected address book. * * @generated from field: auth.v1.WithdrawWhitelistView withdraw_whitelist = 5; */ withdrawWhitelist?: WithdrawWhitelistView | undefined; /** * True when more recent destinations exist than were returned. This bounded * aggregate view does not provide continuation. * * @generated from field: bool recent_destinations_truncated = 6; */ recentDestinationsTruncated: boolean; /** * Revision of the complete scope projection returned by this response. * * @generated from field: uint64 view_revision = 7; */ viewRevision: bigint; }; /** * Describes the message auth.v1.GetAddressBookViewResponse. * Use `create(GetAddressBookViewResponseSchema)` to create a new message. */ declare const GetAddressBookViewResponseSchema: GenMessage; /** * AddressBookViewInvalidated notifies clients to refetch the address-book aggregate view. * * @generated from message auth.v1.AddressBookViewInvalidated */ type AddressBookViewInvalidated = Message<"auth.v1.AddressBookViewInvalidated"> & { /** * Address-book scope whose aggregate view may have changed. * * @generated from field: auth.v1.AccountScopeRef scope = 1; */ scope?: AccountScopeRef | undefined; /** * Time the view was invalidated. * * @generated from field: google.protobuf.Timestamp invalidated_at = 2; */ invalidatedAt?: Timestamp | undefined; /** * Revision that GetAddressBookView must reach before the invalidation is * considered satisfied. * * @generated from field: uint64 view_revision = 3; */ viewRevision: bigint; }; /** * Describes the message auth.v1.AddressBookViewInvalidated. * Use `create(AddressBookViewInvalidatedSchema)` to create a new message. */ declare const AddressBookViewInvalidatedSchema: GenMessage; /** * AccountScopeType identifies whether address-book data belongs to the root account or a subaccount. * * @generated from enum auth.v1.AccountScopeType */ declare enum AccountScopeType { /** * Scope is not specified. * * @generated from enum value: SCOPE_UNSPECIFIED = 0; */ SCOPE_UNSPECIFIED = 0, /** * Root account scope. * * @generated from enum value: SCOPE_ROOT = 1; */ SCOPE_ROOT = 1, /** * Subaccount scope. * * @generated from enum value: SCOPE_SUBACCOUNT = 2; */ SCOPE_SUBACCOUNT = 2 } /** * Describes the enum auth.v1.AccountScopeType. */ declare const AccountScopeTypeSchema: GenEnum; /** * AddressBookEntryKind identifies the type of saved transfer destination. * * @generated from enum auth.v1.AddressBookEntryKind */ declare enum AddressBookEntryKind { /** * Entry type is not specified. * * @generated from enum value: ENTRY_KIND_UNSPECIFIED = 0; */ ENTRY_KIND_UNSPECIFIED = 0, /** * External network withdrawal address. * * @generated from enum value: EXTERNAL_CHAIN = 1; */ EXTERNAL_CHAIN = 1, /** * Internal exchange account. * * @generated from enum value: INTERNAL_ACCOUNT = 2; */ INTERNAL_ACCOUNT = 2 } /** * Describes the enum auth.v1.AddressBookEntryKind. */ declare const AddressBookEntryKindSchema: GenEnum; /** * InternalWhitelistResolutionStatus shows whether an internal account destination could be matched to account details. * * @generated from enum auth.v1.InternalWhitelistResolutionStatus */ declare enum InternalWhitelistResolutionStatus { /** * Resolution status is not specified. * * @generated from enum value: INTERNAL_WHITELIST_RESOLUTION_UNSPECIFIED = 0; */ INTERNAL_WHITELIST_RESOLUTION_UNSPECIFIED = 0, /** * Internal destination account details are available. * * @generated from enum value: INTERNAL_WHITELIST_RESOLVED = 1; */ INTERNAL_WHITELIST_RESOLVED = 1, /** * Internal destination account details are not currently available. * * @generated from enum value: INTERNAL_WHITELIST_UNRESOLVED = 2; */ INTERNAL_WHITELIST_UNRESOLVED = 2 } /** * Describes the enum auth.v1.InternalWhitelistResolutionStatus. */ declare const InternalWhitelistResolutionStatusSchema: GenEnum; /** * DestinationWhitelistStatus describes whether a transfer destination currently has an active whitelist allowance. * * @generated from enum auth.v1.DestinationWhitelistStatus */ declare enum DestinationWhitelistStatus { /** * Whitelist status is not specified. * * @generated from enum value: DESTINATION_WHITELIST_STATUS_UNSPECIFIED = 0; */ DESTINATION_WHITELIST_STATUS_UNSPECIFIED = 0, /** * Destination is not whitelisted. * * @generated from enum value: DESTINATION_NOT_WHITELISTED = 1; */ DESTINATION_NOT_WHITELISTED = 1, /** * Destination has an active whitelist entry and can be used now. * * @generated from enum value: DESTINATION_WHITELIST_ACTIVE = 2; */ DESTINATION_WHITELIST_ACTIVE = 2, /** * Whitelist status could not be resolved for this destination. * * @generated from enum value: DESTINATION_WHITELIST_UNRESOLVED = 3; */ DESTINATION_WHITELIST_UNRESOLVED = 3 } /** * Describes the enum auth.v1.DestinationWhitelistStatus. */ declare const DestinationWhitelistStatusSchema: GenEnum; /** * TransferCounterpartyDirection identifies how a recent counterparty was used. * * @generated from enum auth.v1.TransferCounterpartyDirection */ declare enum TransferCounterpartyDirection { /** * Direction is not specified. * * @generated from enum value: TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED = 0; */ TRANSFER_COUNTERPARTY_DIRECTION_UNSPECIFIED = 0, /** * Counterparty sent funds to the account. * * @generated from enum value: DEPOSIT_FROM = 1; */ DEPOSIT_FROM = 1, /** * Account withdrew funds to the counterparty. * * @generated from enum value: WITHDRAW_TO = 2; */ WITHDRAW_TO = 2, /** * Counterparty sent an internal transfer to the account. * * @generated from enum value: INTERNAL_TRANSFER_FROM = 3; */ INTERNAL_TRANSFER_FROM = 3, /** * Account sent an internal transfer to the counterparty. * * @generated from enum value: INTERNAL_TRANSFER_TO = 4; */ INTERNAL_TRANSFER_TO = 4 } /** * Describes the enum auth.v1.TransferCounterpartyDirection. */ declare const TransferCounterpartyDirectionSchema: GenEnum; /** * @generated from service auth.v1.AddressBookService */ declare const AddressBookService: GenService<{ /** * @generated from rpc auth.v1.AddressBookService.ListAddressBooks */ listAddressBooks: { methodKind: "unary"; input: typeof ListAddressBooksRequestSchema; output: typeof ListAddressBooksResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.ListAddressBookEntries */ listAddressBookEntries: { methodKind: "unary"; input: typeof ListAddressBookEntriesRequestSchema; output: typeof ListAddressBookEntriesResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.CreateAddressBookEntry */ createAddressBookEntry: { methodKind: "unary"; input: typeof CreateAddressBookEntryRequestSchema; output: typeof CreateAddressBookEntryResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.UpdateAddressBookEntry */ updateAddressBookEntry: { methodKind: "unary"; input: typeof UpdateAddressBookEntryRequestSchema; output: typeof UpdateAddressBookEntryResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.DeleteAddressBookEntry */ deleteAddressBookEntry: { methodKind: "unary"; input: typeof DeleteAddressBookEntryRequestSchema; output: typeof DeleteAddressBookEntryResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.CopyAddressBookEntry */ copyAddressBookEntry: { methodKind: "unary"; input: typeof CopyAddressBookEntryRequestSchema; output: typeof CopyAddressBookEntryResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.CreateAddressBookTag */ createAddressBookTag: { methodKind: "unary"; input: typeof CreateAddressBookTagRequestSchema; output: typeof CreateAddressBookTagResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.UpdateAddressBookTag */ updateAddressBookTag: { methodKind: "unary"; input: typeof UpdateAddressBookTagRequestSchema; output: typeof UpdateAddressBookTagResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.DeleteAddressBookTag */ deleteAddressBookTag: { methodKind: "unary"; input: typeof DeleteAddressBookTagRequestSchema; output: typeof DeleteAddressBookTagResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.ListTransferCounterparties */ listTransferCounterparties: { methodKind: "unary"; input: typeof ListTransferCounterpartiesRequestSchema; output: typeof ListTransferCounterpartiesResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.ListTransferDestinations */ listTransferDestinations: { methodKind: "unary"; input: typeof ListTransferDestinationsRequestSchema; output: typeof ListTransferDestinationsResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.ListInternalTransferWhitelistEntries */ listInternalTransferWhitelistEntries: { methodKind: "unary"; input: typeof ListInternalTransferWhitelistEntriesRequestSchema; output: typeof ListInternalTransferWhitelistEntriesResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.GetWithdrawWhitelistView */ getWithdrawWhitelistView: { methodKind: "unary"; input: typeof GetWithdrawWhitelistViewRequestSchema; output: typeof GetWithdrawWhitelistViewResponseSchema; }; /** * @generated from rpc auth.v1.AddressBookService.GetAddressBookView */ getAddressBookView: { methodKind: "unary"; input: typeof GetAddressBookViewRequestSchema; output: typeof GetAddressBookViewResponseSchema; }; }>; //#endregion export { AccountScopeRef, AccountScopeRefSchema, AccountScopeType, AccountScopeTypeSchema, AddressBook, AddressBookEntriesView, AddressBookEntriesViewSchema, AddressBookEntry, AddressBookEntryKind, AddressBookEntryKindSchema, AddressBookEntrySchema, AddressBookEntryUpdateSpec, AddressBookEntryUpdateSpecSchema, AddressBookRecentDestinationsView, AddressBookRecentDestinationsViewSchema, AddressBookSchema, AddressBookService, AddressBookTag, AddressBookTagInput, AddressBookTagInputSchema, AddressBookTagSchema, AddressBookTagSummary, AddressBookTagSummarySchema, AddressBookViewInvalidated, AddressBookViewInvalidatedSchema, CopyAddressBookEntryRequest, CopyAddressBookEntryRequestSchema, CopyAddressBookEntryResponse, CopyAddressBookEntryResponseSchema, CreateAddressBookEntryRequest, CreateAddressBookEntryRequestSchema, CreateAddressBookEntryResponse, CreateAddressBookEntryResponseSchema, CreateAddressBookTagRequest, CreateAddressBookTagRequestSchema, CreateAddressBookTagResponse, CreateAddressBookTagResponseSchema, DeleteAddressBookEntryRequest, DeleteAddressBookEntryRequestSchema, DeleteAddressBookEntryResponse, DeleteAddressBookEntryResponseSchema, DeleteAddressBookTagRequest, DeleteAddressBookTagRequestSchema, DeleteAddressBookTagResponse, DeleteAddressBookTagResponseSchema, DestinationWhitelistStatus, DestinationWhitelistStatusSchema, ExternalAddressBookEntry, ExternalAddressBookEntrySchema, ExternalRecentDestination, ExternalRecentDestinationSchema, ExternalWithdrawAddress, ExternalWithdrawAddressSchema, GetAddressBookViewRequest, GetAddressBookViewRequestSchema, GetAddressBookViewResponse, GetAddressBookViewResponseSchema, GetWithdrawWhitelistViewRequest, GetWithdrawWhitelistViewRequestSchema, GetWithdrawWhitelistViewResponse, GetWithdrawWhitelistViewResponseSchema, InternalAddressBookEntry, InternalAddressBookEntrySchema, InternalRecentDestination, InternalRecentDestinationSchema, InternalTransferAccount, InternalTransferAccountSchema, InternalTransferWhitelistEntry, InternalTransferWhitelistEntrySchema, InternalWhitelistResolutionStatus, InternalWhitelistResolutionStatusSchema, ListAddressBookEntriesRequest, ListAddressBookEntriesRequestSchema, ListAddressBookEntriesResponse, ListAddressBookEntriesResponseSchema, ListAddressBooksRequest, ListAddressBooksRequestSchema, ListAddressBooksResponse, ListAddressBooksResponseSchema, ListInternalTransferWhitelistEntriesRequest, ListInternalTransferWhitelistEntriesRequestSchema, ListInternalTransferWhitelistEntriesResponse, ListInternalTransferWhitelistEntriesResponseSchema, ListTransferCounterpartiesRequest, ListTransferCounterpartiesRequestSchema, ListTransferCounterpartiesResponse, ListTransferCounterpartiesResponseSchema, ListTransferDestinationsRequest, ListTransferDestinationsRequestSchema, ListTransferDestinationsResponse, ListTransferDestinationsResponseSchema, MirroredWithdrawWhitelistEntry, MirroredWithdrawWhitelistEntrySchema, RequestedInternalTransferAccount, RequestedInternalTransferAccountSchema, TransferCounterparty, TransferCounterpartyDirection, TransferCounterpartyDirectionSchema, TransferCounterpartySchema, TransferDestination, TransferDestinationSchema, UpdateAddressBookEntryRequest, UpdateAddressBookEntryRequestSchema, UpdateAddressBookEntryResponse, UpdateAddressBookEntryResponseSchema, UpdateAddressBookTagRequest, UpdateAddressBookTagRequestSchema, UpdateAddressBookTagResponse, UpdateAddressBookTagResponseSchema, WithdrawWhitelistView, WithdrawWhitelistViewSchema, address_book_pb_d_exports, file_auth_v1_address_book }; //# sourceMappingURL=address_book_pb.d.ts.map