ginserver

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package ginserver provides primitives to interact with the openapi HTTP API.

Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.5.0 DO NOT EDIT.

Index

Constants

View Source
const (
	ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)

Variables

This section is empty.

Functions

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

func RegisterHandlersWithOptions(router gin.IRouter, si ServerInterface, options GinServerOptions)

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type ApplicationError

type ApplicationError struct {
	// Message Error message describing the issue
	Message string `json:"message"`

	// Type Error type
	Type ApplicationErrorType `json:"type"`
}

ApplicationError defines model for ApplicationError.

type ApplicationErrorType

type ApplicationErrorType string

ApplicationErrorType Error type

const (
	AlreadyExists ApplicationErrorType = "Already exists"
	BadRequest    ApplicationErrorType = "Bad request"
	InternalError ApplicationErrorType = "Internal error"
	NotFound      ApplicationErrorType = "Not found"
)

Defines values for ApplicationErrorType.

type ChainSelector

type ChainSelector = string

ChainSelector Chain selector identifier for the blockchain network

type Channel

type Channel struct {
	// ChannelId Unique identifier for the channel
	ChannelId openapi_types.UUID `json:"channel_id"`

	// CreatedAt Timestamp of when the channel was created
	CreatedAt int64 `json:"created_at"`

	// Description Description of the channel
	Description *string `json:"description,omitempty"`

	// Name Name of the channel
	Name string `json:"name"`

	// Status Status of a channel
	Status ChannelStatus `json:"status"`
}

Channel defines model for Channel.

type ChannelList

type ChannelList struct {
	Data []Channel `json:"data"`

	// HasMore True if there are more channels to fetch
	HasMore bool `json:"has_more"`
}

ChannelList defines model for ChannelList.

type ChannelStatus

type ChannelStatus string

ChannelStatus Status of a channel

const (
	ChannelStatusActive   ChannelStatus = "active"
	ChannelStatusArchived ChannelStatus = "archived"
)

Defines values for ChannelStatus.

type CreateChannel

type CreateChannel struct {
	// Description Description of the channel
	Description *string `json:"description,omitempty"`

	// Name Name of the channel
	Name string `json:"name"`
}

CreateChannel defines model for CreateChannel.

type CreateOperation

type CreateOperation struct {
	// Address Wallet address performing the operation
	Address string `json:"address"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector ChainSelector `json:"chain_selector"`

	// Signature EIP-712 signature of the operation
	Signature string `json:"signature"`

	// Transactions List of transactions to execute
	Transactions []TransactionRequest `json:"transactions"`

	// WalletOperationId Unique wallet operation identifier
	WalletOperationId string `json:"wallet_operation_id"`
}

CreateOperation defines model for CreateOperation.

type CreateWallet

type CreateWallet struct {
	// AllowedEcdsaSigners List of allowed ECDSA public signing keys (Ethereum addresses)
	AllowedEcdsaSigners *ECDSASignersList `json:"allowed_ecdsa_signers,omitempty"`

	// AllowedRsaSigners List of allowed RSA public signing keys
	AllowedRsaSigners *RSASignersList `json:"allowed_rsa_signers,omitempty"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector ChainSelector `json:"chain_selector"`

	// Description Description of the wallet
	Description *string `json:"description,omitempty"`

	// Name Name of the wallet
	Name string `json:"name"`

	// StatusChannelId Unique identifier for the channel where the wallet status will be published
	StatusChannelId *openapi_types.UUID `json:"status_channel_id,omitempty"`

	// WalletOwnerAddress 42-character hex Ethereum address
	WalletOwnerAddress EthereumAddress `json:"wallet_owner_address"`

	// WalletType Type of wallet
	WalletType WalletType `json:"wallet_type"`
}

CreateWallet defines model for CreateWallet.

type CreateWatcher

type CreateWatcher struct {
	// contains filtered or unexported fields
}

CreateWatcher defines model for CreateWatcher.

func (CreateWatcher) AsCreateWatcherWithABI

func (t CreateWatcher) AsCreateWatcherWithABI() (CreateWatcherWithABI, error)

AsCreateWatcherWithABI returns the union data inside the CreateWatcher as a CreateWatcherWithABI

func (CreateWatcher) AsCreateWatcherWithService

func (t CreateWatcher) AsCreateWatcherWithService() (CreateWatcherWithService, error)

AsCreateWatcherWithService returns the union data inside the CreateWatcher as a CreateWatcherWithService

func (*CreateWatcher) FromCreateWatcherWithABI

func (t *CreateWatcher) FromCreateWatcherWithABI(v CreateWatcherWithABI) error

FromCreateWatcherWithABI overwrites any union data inside the CreateWatcher as the provided CreateWatcherWithABI

func (*CreateWatcher) FromCreateWatcherWithService

func (t *CreateWatcher) FromCreateWatcherWithService(v CreateWatcherWithService) error

FromCreateWatcherWithService overwrites any union data inside the CreateWatcher as the provided CreateWatcherWithService

func (CreateWatcher) MarshalJSON

func (t CreateWatcher) MarshalJSON() ([]byte, error)

func (*CreateWatcher) MergeCreateWatcherWithABI

func (t *CreateWatcher) MergeCreateWatcherWithABI(v CreateWatcherWithABI) error

MergeCreateWatcherWithABI performs a merge with any union data inside the CreateWatcher, using the provided CreateWatcherWithABI

func (*CreateWatcher) MergeCreateWatcherWithService

func (t *CreateWatcher) MergeCreateWatcherWithService(v CreateWatcherWithService) error

MergeCreateWatcherWithService performs a merge with any union data inside the CreateWatcher, using the provided CreateWatcherWithService

func (*CreateWatcher) UnmarshalJSON

func (t *CreateWatcher) UnmarshalJSON(b []byte) error

type CreateWatcherWithABI

type CreateWatcherWithABI struct {
	// Abi ABI definitions for the events to watch
	Abi []EventABI `json:"abi"`

	// Address Smart contract address to watch for events
	Address string `json:"address"`

	// ChainSelector The chain selector to identify the chain where the watcher will run
	ChainSelector string `json:"chain_selector"`

	// Events List of event names to watch for
	Events []string `json:"events"`

	// Name Name for the watcher to help identify it
	Name string `json:"name"`
}

CreateWatcherWithABI defines model for CreateWatcherWithABI.

type CreateWatcherWithService

type CreateWatcherWithService struct {
	// Address Smart contract address to watch for events
	Address string `json:"address"`

	// ChainSelector The chain selector to identify the chain where the watcher will run
	ChainSelector string `json:"chain_selector"`

	// Events List of event names to watch for within the service
	Events []string `json:"events"`

	// Name Name for the watcher to help identify it
	Name string `json:"name"`

	// Service Service service namespace (e.g., "dvp", "dta")
	Service string `json:"service"`

	// ServiceConfig Optional service-specific configuration (e.g. secondary contract addresses)
	ServiceConfig *map[string]interface{} `json:"service_config,omitempty"`
}

CreateWatcherWithService defines model for CreateWatcherWithService.

type ECDSASignersList

type ECDSASignersList = []EthereumAddress

ECDSASignersList List of allowed ECDSA public signing keys (Ethereum addresses)

type EthereumAddress

type EthereumAddress = string

EthereumAddress 42-character hex Ethereum address

type Event

type Event struct {
	// EventId Unique identifier for the event
	EventId *openapi_types.UUID `json:"event_id,omitempty"`
	Headers EventHeaders        `json:"headers"`
	Payload Event_Payload       `json:"payload"`
}

Event defines model for Event.

type EventABI

type EventABI struct {
	// Anonymous Whether the event is anonymous
	Anonymous bool `json:"anonymous"`

	// Inputs Event input parameters
	Inputs []EventABIInput `json:"inputs"`

	// Name Name of the event
	Name string `json:"name"`

	// Type Type must be 'event'
	Type EventABIType `json:"type"`
}

EventABI defines model for EventABI.

type EventABIInput

type EventABIInput struct {
	// Indexed Whether the parameter is indexed
	Indexed bool `json:"indexed"`

	// InternalType Internal Solidity type
	InternalType string `json:"internalType"`

	// Name Parameter name
	Name string `json:"name"`

	// Type Parameter type
	Type string `json:"type"`
}

EventABIInput defines model for EventABIInput.

type EventABIType

type EventABIType string

EventABIType Type must be 'event'

const (
	EventABITypeEvent EventABIType = "event"
)

Defines values for EventABIType.

type EventHeaders

type EventHeaders struct {
	// Offset Unique offset for message ordering
	Offset int64                      `json:"offset"`
	Proofs []EventHeaders_Proofs_Item `json:"proofs"`

	// Type Type of event
	Type EventType `json:"type"`
}

EventHeaders defines model for EventHeaders.

type EventHeadersProofs1

type EventHeadersProofs1 map[string]interface{}

EventHeadersProofs1 Generic proof object for future extensibility

type EventHeaders_Proofs_Item

type EventHeaders_Proofs_Item struct {
	// contains filtered or unexported fields
}

EventHeaders_Proofs_Item defines model for EventHeaders.proofs.Item.

func (EventHeaders_Proofs_Item) AsEventHeadersProofs1

func (t EventHeaders_Proofs_Item) AsEventHeadersProofs1() (EventHeadersProofs1, error)

AsEventHeadersProofs1 returns the union data inside the EventHeaders_Proofs_Item as a EventHeadersProofs1

func (EventHeaders_Proofs_Item) AsOCRProof

func (t EventHeaders_Proofs_Item) AsOCRProof() (OCRProof, error)

AsOCRProof returns the union data inside the EventHeaders_Proofs_Item as a OCRProof

func (*EventHeaders_Proofs_Item) FromEventHeadersProofs1

func (t *EventHeaders_Proofs_Item) FromEventHeadersProofs1(v EventHeadersProofs1) error

FromEventHeadersProofs1 overwrites any union data inside the EventHeaders_Proofs_Item as the provided EventHeadersProofs1

func (*EventHeaders_Proofs_Item) FromOCRProof

func (t *EventHeaders_Proofs_Item) FromOCRProof(v OCRProof) error

FromOCRProof overwrites any union data inside the EventHeaders_Proofs_Item as the provided OCRProof

func (EventHeaders_Proofs_Item) MarshalJSON

func (t EventHeaders_Proofs_Item) MarshalJSON() ([]byte, error)

func (*EventHeaders_Proofs_Item) MergeEventHeadersProofs1

func (t *EventHeaders_Proofs_Item) MergeEventHeadersProofs1(v EventHeadersProofs1) error

MergeEventHeadersProofs1 performs a merge with any union data inside the EventHeaders_Proofs_Item, using the provided EventHeadersProofs1

func (*EventHeaders_Proofs_Item) MergeOCRProof

func (t *EventHeaders_Proofs_Item) MergeOCRProof(v OCRProof) error

MergeOCRProof performs a merge with any union data inside the EventHeaders_Proofs_Item, using the provided OCRProof

func (*EventHeaders_Proofs_Item) UnmarshalJSON

func (t *EventHeaders_Proofs_Item) UnmarshalJSON(b []byte) error

type EventList

type EventList struct {
	Events []Event `json:"events"`

	// HasMore True if there are more events to fetch
	HasMore bool `json:"has_more"`
}

EventList defines model for EventList.

type EventType

type EventType string

EventType Type of event

const (
	EventTypeOperationStatus EventType = "operation.status"
	EventTypeWalletStatus    EventType = "wallet.status"
	EventTypeWatcherEvent    EventType = "watcher.event"
	EventTypeWatcherStatus   EventType = "watcher.status"
)

Defines values for EventType.

type Event_Payload

type Event_Payload struct {
	// contains filtered or unexported fields
}

Event_Payload defines model for Event.Payload.

func (Event_Payload) AsOperationStatusPayload

func (t Event_Payload) AsOperationStatusPayload() (OperationStatusPayload, error)

AsOperationStatusPayload returns the union data inside the Event_Payload as a OperationStatusPayload

func (Event_Payload) AsWalletStatusPayload

func (t Event_Payload) AsWalletStatusPayload() (WalletStatusPayload, error)

AsWalletStatusPayload returns the union data inside the Event_Payload as a WalletStatusPayload

func (Event_Payload) AsWatcherEventPayload

func (t Event_Payload) AsWatcherEventPayload() (WatcherEventPayload, error)

AsWatcherEventPayload returns the union data inside the Event_Payload as a WatcherEventPayload

func (Event_Payload) AsWatcherStatusPayload

func (t Event_Payload) AsWatcherStatusPayload() (WatcherStatusPayload, error)

AsWatcherStatusPayload returns the union data inside the Event_Payload as a WatcherStatusPayload

func (*Event_Payload) FromOperationStatusPayload

func (t *Event_Payload) FromOperationStatusPayload(v OperationStatusPayload) error

FromOperationStatusPayload overwrites any union data inside the Event_Payload as the provided OperationStatusPayload

func (*Event_Payload) FromWalletStatusPayload

func (t *Event_Payload) FromWalletStatusPayload(v WalletStatusPayload) error

FromWalletStatusPayload overwrites any union data inside the Event_Payload as the provided WalletStatusPayload

func (*Event_Payload) FromWatcherEventPayload

func (t *Event_Payload) FromWatcherEventPayload(v WatcherEventPayload) error

FromWatcherEventPayload overwrites any union data inside the Event_Payload as the provided WatcherEventPayload

func (*Event_Payload) FromWatcherStatusPayload

func (t *Event_Payload) FromWatcherStatusPayload(v WatcherStatusPayload) error

FromWatcherStatusPayload overwrites any union data inside the Event_Payload as the provided WatcherStatusPayload

func (Event_Payload) MarshalJSON

func (t Event_Payload) MarshalJSON() ([]byte, error)

func (*Event_Payload) MergeOperationStatusPayload

func (t *Event_Payload) MergeOperationStatusPayload(v OperationStatusPayload) error

MergeOperationStatusPayload performs a merge with any union data inside the Event_Payload, using the provided OperationStatusPayload

func (*Event_Payload) MergeWalletStatusPayload

func (t *Event_Payload) MergeWalletStatusPayload(v WalletStatusPayload) error

MergeWalletStatusPayload performs a merge with any union data inside the Event_Payload, using the provided WalletStatusPayload

func (*Event_Payload) MergeWatcherEventPayload

func (t *Event_Payload) MergeWatcherEventPayload(v WatcherEventPayload) error

MergeWatcherEventPayload performs a merge with any union data inside the Event_Payload, using the provided WatcherEventPayload

func (*Event_Payload) MergeWatcherStatusPayload

func (t *Event_Payload) MergeWatcherStatusPayload(v WatcherStatusPayload) error

MergeWatcherStatusPayload performs a merge with any union data inside the Event_Payload, using the provided WatcherStatusPayload

func (*Event_Payload) UnmarshalJSON

func (t *Event_Payload) UnmarshalJSON(b []byte) error

type GetChannels200JSONResponse

type GetChannels200JSONResponse ChannelList

func (GetChannels200JSONResponse) VisitGetChannelsResponse

func (response GetChannels200JSONResponse) VisitGetChannelsResponse(w http.ResponseWriter) error

type GetChannels500JSONResponse

type GetChannels500JSONResponse ApplicationError

func (GetChannels500JSONResponse) VisitGetChannelsResponse

func (response GetChannels500JSONResponse) VisitGetChannelsResponse(w http.ResponseWriter) error

type GetChannelsChannelId200JSONResponse

type GetChannelsChannelId200JSONResponse Channel

func (GetChannelsChannelId200JSONResponse) VisitGetChannelsChannelIdResponse

func (response GetChannelsChannelId200JSONResponse) VisitGetChannelsChannelIdResponse(w http.ResponseWriter) error

type GetChannelsChannelId404JSONResponse

type GetChannelsChannelId404JSONResponse ApplicationError

func (GetChannelsChannelId404JSONResponse) VisitGetChannelsChannelIdResponse

func (response GetChannelsChannelId404JSONResponse) VisitGetChannelsChannelIdResponse(w http.ResponseWriter) error

type GetChannelsChannelId500JSONResponse

type GetChannelsChannelId500JSONResponse ApplicationError

func (GetChannelsChannelId500JSONResponse) VisitGetChannelsChannelIdResponse

func (response GetChannelsChannelId500JSONResponse) VisitGetChannelsChannelIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEvents200JSONResponse

type GetChannelsChannelIdEvents200JSONResponse EventList

func (GetChannelsChannelIdEvents200JSONResponse) VisitGetChannelsChannelIdEventsResponse

func (response GetChannelsChannelIdEvents200JSONResponse) VisitGetChannelsChannelIdEventsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEvents400JSONResponse

type GetChannelsChannelIdEvents400JSONResponse ApplicationError

func (GetChannelsChannelIdEvents400JSONResponse) VisitGetChannelsChannelIdEventsResponse

func (response GetChannelsChannelIdEvents400JSONResponse) VisitGetChannelsChannelIdEventsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEvents404JSONResponse

type GetChannelsChannelIdEvents404JSONResponse ApplicationError

func (GetChannelsChannelIdEvents404JSONResponse) VisitGetChannelsChannelIdEventsResponse

func (response GetChannelsChannelIdEvents404JSONResponse) VisitGetChannelsChannelIdEventsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEvents500JSONResponse

type GetChannelsChannelIdEvents500JSONResponse ApplicationError

func (GetChannelsChannelIdEvents500JSONResponse) VisitGetChannelsChannelIdEventsResponse

func (response GetChannelsChannelIdEvents500JSONResponse) VisitGetChannelsChannelIdEventsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsParams

type GetChannelsChannelIdEventsParams struct {
	// Limit Maximum number of events to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for message-oriented pagination. If not provided, the API returns the latest limit events ordered by descending offset.
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
}

GetChannelsChannelIdEventsParams defines parameters for GetChannelsChannelIdEvents.

type GetChannelsChannelIdEventsRequestObject

type GetChannelsChannelIdEventsRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Params    GetChannelsChannelIdEventsParams
}

type GetChannelsChannelIdEventsResponseObject

type GetChannelsChannelIdEventsResponseObject interface {
	VisitGetChannelsChannelIdEventsResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdEventsSearch200JSONResponse

type GetChannelsChannelIdEventsSearch200JSONResponse EventList

func (GetChannelsChannelIdEventsSearch200JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse

func (response GetChannelsChannelIdEventsSearch200JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearch400JSONResponse

type GetChannelsChannelIdEventsSearch400JSONResponse ApplicationError

func (GetChannelsChannelIdEventsSearch400JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse

func (response GetChannelsChannelIdEventsSearch400JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearch404JSONResponse

type GetChannelsChannelIdEventsSearch404JSONResponse ApplicationError

func (GetChannelsChannelIdEventsSearch404JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse

func (response GetChannelsChannelIdEventsSearch404JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearch500JSONResponse

type GetChannelsChannelIdEventsSearch500JSONResponse ApplicationError

func (GetChannelsChannelIdEventsSearch500JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse

func (response GetChannelsChannelIdEventsSearch500JSONResponse) VisitGetChannelsChannelIdEventsSearchResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearchEventId200JSONResponse

type GetChannelsChannelIdEventsSearchEventId200JSONResponse Event

func (GetChannelsChannelIdEventsSearchEventId200JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse

func (response GetChannelsChannelIdEventsSearchEventId200JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearchEventId404JSONResponse

type GetChannelsChannelIdEventsSearchEventId404JSONResponse ApplicationError

func (GetChannelsChannelIdEventsSearchEventId404JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse

func (response GetChannelsChannelIdEventsSearchEventId404JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearchEventId500JSONResponse

type GetChannelsChannelIdEventsSearchEventId500JSONResponse ApplicationError

func (GetChannelsChannelIdEventsSearchEventId500JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse

func (response GetChannelsChannelIdEventsSearchEventId500JSONResponse) VisitGetChannelsChannelIdEventsSearchEventIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdEventsSearchEventIdRequestObject

type GetChannelsChannelIdEventsSearchEventIdRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	EventId   openapi_types.UUID `json:"event_id"`
}

type GetChannelsChannelIdEventsSearchEventIdResponseObject

type GetChannelsChannelIdEventsSearchEventIdResponseObject interface {
	VisitGetChannelsChannelIdEventsSearchEventIdResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdEventsSearchParams

type GetChannelsChannelIdEventsSearchParams struct {
	// Limit Maximum number of events to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Offset for message-oriented pagination
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Type Filter events by type. Multiple values allowed.
	Type *[]EventType `form:"type,omitempty" json:"type,omitempty"`

	// CreatedLt Filter events created before this timestamp
	CreatedLt *int64 `form:"created.lt,omitempty" json:"created.lt,omitempty"`

	// CreatedLte Filter events created at or before this timestamp
	CreatedLte *int64 `form:"created.lte,omitempty" json:"created.lte,omitempty"`

	// CreatedGt Filter events created after this timestamp
	CreatedGt *int64 `form:"created.gt,omitempty" json:"created.gt,omitempty"`

	// CreatedGte Filter events created at or after this timestamp
	CreatedGte *int64 `form:"created.gte,omitempty" json:"created.gte,omitempty"`

	// ChainSelector Filter by chain selector
	ChainSelector *[]string `form:"chain_selector,omitempty" json:"chain_selector,omitempty"`

	// Status Filter by operation status. Multiple values allowed.
	Status *[]string `form:"status,omitempty" json:"status,omitempty"`

	// WatcherId Filter by watcher ID (applies to watcher.status and watcher.event types)
	WatcherId *openapi_types.UUID `form:"watcher_id,omitempty" json:"watcher_id,omitempty"`

	// WalletId Filter by wallet ID (applies to wallet.status type)
	WalletId *openapi_types.UUID `form:"wallet_id,omitempty" json:"wallet_id,omitempty"`

	// Address Filter by wallet address. Multiple values allowed.
	Address *[]EthereumAddress `form:"address,omitempty" json:"address,omitempty"`

	// WalletOperationId Filter by wallet operation ID (applies to operation.status type)
	WalletOperationId *string `form:"wallet_operation_id,omitempty" json:"wallet_operation_id,omitempty"`

	// OperationId Filter by operation ID (applies to operation.status type)
	OperationId *string `form:"operation_id,omitempty" json:"operation_id,omitempty"`

	// EventName Filter by event name (applies to watcher.event type)
	EventName *string `form:"event_name,omitempty" json:"event_name,omitempty"`

	// Service Filter by watcher service. Multiple values allowed.
	Service *[]string `form:"service,omitempty" json:"service,omitempty"`
}

GetChannelsChannelIdEventsSearchParams defines parameters for GetChannelsChannelIdEventsSearch.

type GetChannelsChannelIdEventsSearchRequestObject

type GetChannelsChannelIdEventsSearchRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Params    GetChannelsChannelIdEventsSearchParams
}

type GetChannelsChannelIdEventsSearchResponseObject

type GetChannelsChannelIdEventsSearchResponseObject interface {
	VisitGetChannelsChannelIdEventsSearchResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdOperations200JSONResponse

type GetChannelsChannelIdOperations200JSONResponse OperationList

func (GetChannelsChannelIdOperations200JSONResponse) VisitGetChannelsChannelIdOperationsResponse

func (response GetChannelsChannelIdOperations200JSONResponse) VisitGetChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperations404JSONResponse

type GetChannelsChannelIdOperations404JSONResponse ApplicationError

func (GetChannelsChannelIdOperations404JSONResponse) VisitGetChannelsChannelIdOperationsResponse

func (response GetChannelsChannelIdOperations404JSONResponse) VisitGetChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperations500JSONResponse

type GetChannelsChannelIdOperations500JSONResponse ApplicationError

func (GetChannelsChannelIdOperations500JSONResponse) VisitGetChannelsChannelIdOperationsResponse

func (response GetChannelsChannelIdOperations500JSONResponse) VisitGetChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperationsOperationId200JSONResponse

type GetChannelsChannelIdOperationsOperationId200JSONResponse Operation

func (GetChannelsChannelIdOperationsOperationId200JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse

func (response GetChannelsChannelIdOperationsOperationId200JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperationsOperationId404JSONResponse

type GetChannelsChannelIdOperationsOperationId404JSONResponse ApplicationError

func (GetChannelsChannelIdOperationsOperationId404JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse

func (response GetChannelsChannelIdOperationsOperationId404JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperationsOperationId500JSONResponse

type GetChannelsChannelIdOperationsOperationId500JSONResponse ApplicationError

func (GetChannelsChannelIdOperationsOperationId500JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse

func (response GetChannelsChannelIdOperationsOperationId500JSONResponse) VisitGetChannelsChannelIdOperationsOperationIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdOperationsOperationIdRequestObject

type GetChannelsChannelIdOperationsOperationIdRequestObject struct {
	ChannelId   openapi_types.UUID `json:"channel_id"`
	OperationId openapi_types.UUID `json:"operation_id"`
}

type GetChannelsChannelIdOperationsOperationIdResponseObject

type GetChannelsChannelIdOperationsOperationIdResponseObject interface {
	VisitGetChannelsChannelIdOperationsOperationIdResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdOperationsParams

type GetChannelsChannelIdOperationsParams struct {
	// Limit Maximum number of operations to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of operations to skip for pagination
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Status Filter operations by status. Multiple values allowed.
	Status *[]OperationStatus `form:"status,omitempty" json:"status,omitempty"`

	// ChainSelector Filter operations by chain selector
	ChainSelector *string `form:"chain_selector,omitempty" json:"chain_selector,omitempty"`

	// Address Filter operations by wallet address
	Address *string `form:"address,omitempty" json:"address,omitempty"`

	// WalletId Filter operations by wallet ID
	WalletId *openapi_types.UUID `form:"wallet_id,omitempty" json:"wallet_id,omitempty"`
}

GetChannelsChannelIdOperationsParams defines parameters for GetChannelsChannelIdOperations.

type GetChannelsChannelIdOperationsRequestObject

type GetChannelsChannelIdOperationsRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Params    GetChannelsChannelIdOperationsParams
}

type GetChannelsChannelIdOperationsResponseObject

type GetChannelsChannelIdOperationsResponseObject interface {
	VisitGetChannelsChannelIdOperationsResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdRequestObject

type GetChannelsChannelIdRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
}

type GetChannelsChannelIdResponseObject

type GetChannelsChannelIdResponseObject interface {
	VisitGetChannelsChannelIdResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdWatchers200JSONResponse

type GetChannelsChannelIdWatchers200JSONResponse WatcherList

func (GetChannelsChannelIdWatchers200JSONResponse) VisitGetChannelsChannelIdWatchersResponse

func (response GetChannelsChannelIdWatchers200JSONResponse) VisitGetChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchers404JSONResponse

type GetChannelsChannelIdWatchers404JSONResponse ApplicationError

func (GetChannelsChannelIdWatchers404JSONResponse) VisitGetChannelsChannelIdWatchersResponse

func (response GetChannelsChannelIdWatchers404JSONResponse) VisitGetChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchers500JSONResponse

type GetChannelsChannelIdWatchers500JSONResponse ApplicationError

func (GetChannelsChannelIdWatchers500JSONResponse) VisitGetChannelsChannelIdWatchersResponse

func (response GetChannelsChannelIdWatchers500JSONResponse) VisitGetChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchersParams

type GetChannelsChannelIdWatchersParams struct {
	// Limit Maximum number of watchers to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of watchers to skip for pagination
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`

	// Name Filter watchers by name (case-insensitive partial match)
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Status Filter watchers by status. Multiple values allowed. Archived watchers are excluded by default when no status filter is specified.
	Status *[]WatcherStatus `form:"status,omitempty" json:"status,omitempty"`

	// ChainSelector Filter watchers by chain selector
	ChainSelector *string `form:"chain_selector,omitempty" json:"chain_selector,omitempty"`

	// Address Filter watchers by contract address
	Address *string `form:"address,omitempty" json:"address,omitempty"`

	// Service Filter watchers by service. Multiple values allowed.
	Service *[]string `form:"service,omitempty" json:"service,omitempty"`

	// EventName Filter watchers by event name
	EventName *string `form:"event_name,omitempty" json:"event_name,omitempty"`
}

GetChannelsChannelIdWatchersParams defines parameters for GetChannelsChannelIdWatchers.

type GetChannelsChannelIdWatchersRequestObject

type GetChannelsChannelIdWatchersRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Params    GetChannelsChannelIdWatchersParams
}

type GetChannelsChannelIdWatchersResponseObject

type GetChannelsChannelIdWatchersResponseObject interface {
	VisitGetChannelsChannelIdWatchersResponse(w http.ResponseWriter) error
}

type GetChannelsChannelIdWatchersWatcherId200JSONResponse

type GetChannelsChannelIdWatchersWatcherId200JSONResponse Watcher

func (GetChannelsChannelIdWatchersWatcherId200JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse

func (response GetChannelsChannelIdWatchersWatcherId200JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchersWatcherId404JSONResponse

type GetChannelsChannelIdWatchersWatcherId404JSONResponse ApplicationError

func (GetChannelsChannelIdWatchersWatcherId404JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse

func (response GetChannelsChannelIdWatchersWatcherId404JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchersWatcherId500JSONResponse

type GetChannelsChannelIdWatchersWatcherId500JSONResponse ApplicationError

func (GetChannelsChannelIdWatchersWatcherId500JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse

func (response GetChannelsChannelIdWatchersWatcherId500JSONResponse) VisitGetChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type GetChannelsChannelIdWatchersWatcherIdRequestObject

type GetChannelsChannelIdWatchersWatcherIdRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	WatcherId openapi_types.UUID `json:"watcher_id"`
}

type GetChannelsChannelIdWatchersWatcherIdResponseObject

type GetChannelsChannelIdWatchersWatcherIdResponseObject interface {
	VisitGetChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error
}

type GetChannelsParams

type GetChannelsParams struct {
	// Name Filter channels by name (case-insensitive partial match)
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// Status Filter channels by status. Multiple values allowed. Archived channels are excluded by default when no status filter is specified.
	Status *[]ChannelStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Maximum number of channels to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of channels to skip for pagination
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
}

GetChannelsParams defines parameters for GetChannels.

type GetChannelsRequestObject

type GetChannelsRequestObject struct {
	Params GetChannelsParams
}

type GetChannelsResponseObject

type GetChannelsResponseObject interface {
	VisitGetChannelsResponse(w http.ResponseWriter) error
}

type GetHealthCheck200JSONResponse

type GetHealthCheck200JSONResponse HealthCheck

func (GetHealthCheck200JSONResponse) VisitGetHealthCheckResponse

func (response GetHealthCheck200JSONResponse) VisitGetHealthCheckResponse(w http.ResponseWriter) error

type GetHealthCheckRequestObject

type GetHealthCheckRequestObject struct {
}

type GetHealthCheckResponseObject

type GetHealthCheckResponseObject interface {
	VisitGetHealthCheckResponse(w http.ResponseWriter) error
}

type GetNetworks200JSONResponse

type GetNetworks200JSONResponse NetworkList

func (GetNetworks200JSONResponse) VisitGetNetworksResponse

func (response GetNetworks200JSONResponse) VisitGetNetworksResponse(w http.ResponseWriter) error

type GetNetworks500JSONResponse

type GetNetworks500JSONResponse ApplicationError

func (GetNetworks500JSONResponse) VisitGetNetworksResponse

func (response GetNetworks500JSONResponse) VisitGetNetworksResponse(w http.ResponseWriter) error

type GetNetworksRequestObject

type GetNetworksRequestObject struct {
}

type GetNetworksResponseObject

type GetNetworksResponseObject interface {
	VisitGetNetworksResponse(w http.ResponseWriter) error
}

type GetWallets200JSONResponse

type GetWallets200JSONResponse WalletList

func (GetWallets200JSONResponse) VisitGetWalletsResponse

func (response GetWallets200JSONResponse) VisitGetWalletsResponse(w http.ResponseWriter) error

type GetWallets500JSONResponse

type GetWallets500JSONResponse ApplicationError

func (GetWallets500JSONResponse) VisitGetWalletsResponse

func (response GetWallets500JSONResponse) VisitGetWalletsResponse(w http.ResponseWriter) error

type GetWalletsParams

type GetWalletsParams struct {
	// Name Filter wallets by name (case-insensitive partial match)
	Name *string `form:"name,omitempty" json:"name,omitempty"`

	// ChainSelector Filter wallets by chain selector
	ChainSelector *string `form:"chain_selector,omitempty" json:"chain_selector,omitempty"`

	// Owner Filter wallets by owner address
	Owner *EthereumAddress `form:"owner,omitempty" json:"owner,omitempty"`

	// Address Filter wallets by wallet address
	Address *EthereumAddress `form:"address,omitempty" json:"address,omitempty"`

	// Type Filter wallets by type
	Type *WalletType `form:"type,omitempty" json:"type,omitempty"`

	// Status Filter wallets by status. Multiple values allowed. Archived wallets are excluded by default when no status filter is specified.
	Status *[]WalletStatus `form:"status,omitempty" json:"status,omitempty"`

	// Limit Maximum number of wallets to return
	Limit *int `form:"limit,omitempty" json:"limit,omitempty"`

	// Offset Number of wallets to skip for pagination
	Offset *int64 `form:"offset,omitempty" json:"offset,omitempty"`
}

GetWalletsParams defines parameters for GetWallets.

type GetWalletsRequestObject

type GetWalletsRequestObject struct {
	Params GetWalletsParams
}

type GetWalletsResponseObject

type GetWalletsResponseObject interface {
	VisitGetWalletsResponse(w http.ResponseWriter) error
}

type GetWalletsWalletId200JSONResponse

type GetWalletsWalletId200JSONResponse Wallet

func (GetWalletsWalletId200JSONResponse) VisitGetWalletsWalletIdResponse

func (response GetWalletsWalletId200JSONResponse) VisitGetWalletsWalletIdResponse(w http.ResponseWriter) error

type GetWalletsWalletId404JSONResponse

type GetWalletsWalletId404JSONResponse ApplicationError

func (GetWalletsWalletId404JSONResponse) VisitGetWalletsWalletIdResponse

func (response GetWalletsWalletId404JSONResponse) VisitGetWalletsWalletIdResponse(w http.ResponseWriter) error

type GetWalletsWalletId500JSONResponse

type GetWalletsWalletId500JSONResponse ApplicationError

func (GetWalletsWalletId500JSONResponse) VisitGetWalletsWalletIdResponse

func (response GetWalletsWalletId500JSONResponse) VisitGetWalletsWalletIdResponse(w http.ResponseWriter) error

type GetWalletsWalletIdRequestObject

type GetWalletsWalletIdRequestObject struct {
	WalletId openapi_types.UUID `json:"wallet_id"`
}

type GetWalletsWalletIdResponseObject

type GetWalletsWalletIdResponseObject interface {
	VisitGetWalletsWalletIdResponse(w http.ResponseWriter) error
}

type GinServerOptions

type GinServerOptions struct {
	BaseURL      string
	Middlewares  []MiddlewareFunc
	ErrorHandler func(*gin.Context, error, int)
}

GinServerOptions provides options for the Gin server.

type HealthCheck

type HealthCheck struct {
	Status string `json:"status"`
}

HealthCheck defines model for HealthCheck.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type Network

type Network struct {
	// ChainFamily Chain family (e.g., "evm", "solana")
	ChainFamily string `json:"chain_family"`

	// ChainId Chain ID identifier
	ChainId string `json:"chain_id"`

	// ChainSelector Chain selector identifier
	ChainSelector string `json:"chain_selector"`

	// CreatedAt Timestamp of when the network was created
	CreatedAt int64 `json:"created_at"`

	// Id Unique identifier for the network
	Id openapi_types.UUID `json:"id"`

	// Name Name of the network
	Name string `json:"name"`

	// UpdatedAt Timestamp of when the network was last updated
	UpdatedAt int64 `json:"updated_at"`
}

Network defines model for Network.

type NetworkList

type NetworkList struct {
	Data []Network `json:"data"`

	// HasMore True if there are more networks to fetch
	HasMore bool `json:"has_more"`
}

NetworkList defines model for NetworkList.

type OCRProof

type OCRProof struct {
	// Alg Algorithm used for the proof
	Alg string `json:"alg"`

	// OcrContext OCR context data
	OcrContext string `json:"ocr_context"`

	// OcrReport OCR report data
	OcrReport string `json:"ocr_report"`

	// Signatures Array of signatures
	Signatures []string `json:"signatures"`
}

OCRProof defines model for OCRProof.

type Operation

type Operation struct {
	// Address Wallet address performing the operation
	Address string `json:"address"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector ChainSelector `json:"chain_selector"`

	// CreatedAt Timestamp of when the operation was created
	CreatedAt int64 `json:"created_at"`

	// OperationId Unique identifier for the operation
	OperationId openapi_types.UUID `json:"operation_id"`

	// Signature EIP-712 signature of the operation
	Signature string `json:"signature"`

	// Status Status of an operation
	Status OperationStatus `json:"status"`

	// Transactions List of transactions to execute
	Transactions []TransactionRequest `json:"transactions"`

	// WalletOperationId Unique wallet operation identifier
	WalletOperationId string `json:"wallet_operation_id"`
}

Operation defines model for Operation.

type OperationList

type OperationList struct {
	Data []Operation `json:"data"`

	// HasMore True if there are more operations to fetch
	HasMore bool `json:"has_more"`
}

OperationList defines model for OperationList.

type OperationResponse

type OperationResponse struct {
	// OperationId Unique identifier for the operation
	OperationId openapi_types.UUID `json:"operation_id"`
}

OperationResponse defines model for OperationResponse.

type OperationStatus

type OperationStatus string

OperationStatus Status of an operation

const (
	OperationStatusAccepted     OperationStatus = "accepted"
	OperationStatusBroadcasting OperationStatus = "broadcasting"
	OperationStatusConfirmed    OperationStatus = "confirmed"
	OperationStatusFailed       OperationStatus = "failed"
	OperationStatusSending      OperationStatus = "sending"
	OperationStatusSent         OperationStatus = "sent"
)

Defines values for OperationStatus.

type OperationStatusPayload

type OperationStatusPayload struct {
	// Address Wallet address performing the operation
	Address string `json:"address"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector string `json:"chain_selector"`

	// EventHash Verifiable event hash for reference (only present when status is confirmed)
	EventHash *string `json:"event_hash,omitempty"`

	// OperationId Unique identifier for the operation
	OperationId openapi_types.UUID `json:"operation_id"`

	// Status Status of an operation
	Status OperationStatus `json:"status"`

	// StatusReason Reason for the status
	StatusReason string `json:"status_reason"`

	// Timestamp Timestamp when the event was created
	Timestamp int64 `json:"timestamp"`

	// VerifiableEvent Base64 encoded verifiable event for verification
	VerifiableEvent *string `json:"verifiable_event,omitempty"`

	// WalletOperationId Wallet operation identifier
	WalletOperationId string `json:"wallet_operation_id"`
}

OperationStatusPayload defines model for OperationStatusPayload.

type PatchChannel

type PatchChannel struct {
	// Description New description for the channel
	Description *string `json:"description,omitempty"`

	// Name New name for the channel
	Name *string `json:"name,omitempty"`

	// Status Status of a channel
	Status *ChannelStatus `json:"status,omitempty"`
}

PatchChannel defines model for PatchChannel.

type PatchChannelsChannelId200JSONResponse

type PatchChannelsChannelId200JSONResponse Channel

func (PatchChannelsChannelId200JSONResponse) VisitPatchChannelsChannelIdResponse

func (response PatchChannelsChannelId200JSONResponse) VisitPatchChannelsChannelIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelId400JSONResponse

type PatchChannelsChannelId400JSONResponse ApplicationError

func (PatchChannelsChannelId400JSONResponse) VisitPatchChannelsChannelIdResponse

func (response PatchChannelsChannelId400JSONResponse) VisitPatchChannelsChannelIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelId404JSONResponse

type PatchChannelsChannelId404JSONResponse ApplicationError

func (PatchChannelsChannelId404JSONResponse) VisitPatchChannelsChannelIdResponse

func (response PatchChannelsChannelId404JSONResponse) VisitPatchChannelsChannelIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelId500JSONResponse

type PatchChannelsChannelId500JSONResponse ApplicationError

func (PatchChannelsChannelId500JSONResponse) VisitPatchChannelsChannelIdResponse

func (response PatchChannelsChannelId500JSONResponse) VisitPatchChannelsChannelIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdJSONRequestBody

type PatchChannelsChannelIdJSONRequestBody = PatchChannel

PatchChannelsChannelIdJSONRequestBody defines body for PatchChannelsChannelId for application/json ContentType.

type PatchChannelsChannelIdRequestObject

type PatchChannelsChannelIdRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Body      *PatchChannelsChannelIdJSONRequestBody
}

type PatchChannelsChannelIdResponseObject

type PatchChannelsChannelIdResponseObject interface {
	VisitPatchChannelsChannelIdResponse(w http.ResponseWriter) error
}

type PatchChannelsChannelIdWatchersWatcherId200JSONResponse

type PatchChannelsChannelIdWatchersWatcherId200JSONResponse Watcher

func (PatchChannelsChannelIdWatchersWatcherId200JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse

func (response PatchChannelsChannelIdWatchersWatcherId200JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdWatchersWatcherId202JSONResponse

type PatchChannelsChannelIdWatchersWatcherId202JSONResponse Watcher

func (PatchChannelsChannelIdWatchersWatcherId202JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse

func (response PatchChannelsChannelIdWatchersWatcherId202JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdWatchersWatcherId400JSONResponse

type PatchChannelsChannelIdWatchersWatcherId400JSONResponse ApplicationError

func (PatchChannelsChannelIdWatchersWatcherId400JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse

func (response PatchChannelsChannelIdWatchersWatcherId400JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdWatchersWatcherId404JSONResponse

type PatchChannelsChannelIdWatchersWatcherId404JSONResponse ApplicationError

func (PatchChannelsChannelIdWatchersWatcherId404JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse

func (response PatchChannelsChannelIdWatchersWatcherId404JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdWatchersWatcherId500JSONResponse

type PatchChannelsChannelIdWatchersWatcherId500JSONResponse ApplicationError

func (PatchChannelsChannelIdWatchersWatcherId500JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse

func (response PatchChannelsChannelIdWatchersWatcherId500JSONResponse) VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error

type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody

type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody = UpdateWatcher

PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody defines body for PatchChannelsChannelIdWatchersWatcherId for application/json ContentType.

type PatchChannelsChannelIdWatchersWatcherIdRequestObject

type PatchChannelsChannelIdWatchersWatcherIdRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	WatcherId openapi_types.UUID `json:"watcher_id"`
	Body      *PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody
}

type PatchChannelsChannelIdWatchersWatcherIdResponseObject

type PatchChannelsChannelIdWatchersWatcherIdResponseObject interface {
	VisitPatchChannelsChannelIdWatchersWatcherIdResponse(w http.ResponseWriter) error
}

type PatchWalletsWalletId200JSONResponse

type PatchWalletsWalletId200JSONResponse Wallet

func (PatchWalletsWalletId200JSONResponse) VisitPatchWalletsWalletIdResponse

func (response PatchWalletsWalletId200JSONResponse) VisitPatchWalletsWalletIdResponse(w http.ResponseWriter) error

type PatchWalletsWalletId400JSONResponse

type PatchWalletsWalletId400JSONResponse ApplicationError

func (PatchWalletsWalletId400JSONResponse) VisitPatchWalletsWalletIdResponse

func (response PatchWalletsWalletId400JSONResponse) VisitPatchWalletsWalletIdResponse(w http.ResponseWriter) error

type PatchWalletsWalletId404JSONResponse

type PatchWalletsWalletId404JSONResponse ApplicationError

func (PatchWalletsWalletId404JSONResponse) VisitPatchWalletsWalletIdResponse

func (response PatchWalletsWalletId404JSONResponse) VisitPatchWalletsWalletIdResponse(w http.ResponseWriter) error

type PatchWalletsWalletId500JSONResponse

type PatchWalletsWalletId500JSONResponse ApplicationError

func (PatchWalletsWalletId500JSONResponse) VisitPatchWalletsWalletIdResponse

func (response PatchWalletsWalletId500JSONResponse) VisitPatchWalletsWalletIdResponse(w http.ResponseWriter) error

type PatchWalletsWalletIdJSONRequestBody

type PatchWalletsWalletIdJSONRequestBody = UpdateWallet

PatchWalletsWalletIdJSONRequestBody defines body for PatchWalletsWalletId for application/json ContentType.

type PatchWalletsWalletIdRequestObject

type PatchWalletsWalletIdRequestObject struct {
	WalletId openapi_types.UUID `json:"wallet_id"`
	Body     *PatchWalletsWalletIdJSONRequestBody
}

type PatchWalletsWalletIdResponseObject

type PatchWalletsWalletIdResponseObject interface {
	VisitPatchWalletsWalletIdResponse(w http.ResponseWriter) error
}

type PostChannels201JSONResponse

type PostChannels201JSONResponse Channel

func (PostChannels201JSONResponse) VisitPostChannelsResponse

func (response PostChannels201JSONResponse) VisitPostChannelsResponse(w http.ResponseWriter) error

type PostChannels400JSONResponse

type PostChannels400JSONResponse ApplicationError

func (PostChannels400JSONResponse) VisitPostChannelsResponse

func (response PostChannels400JSONResponse) VisitPostChannelsResponse(w http.ResponseWriter) error

type PostChannels500JSONResponse

type PostChannels500JSONResponse ApplicationError

func (PostChannels500JSONResponse) VisitPostChannelsResponse

func (response PostChannels500JSONResponse) VisitPostChannelsResponse(w http.ResponseWriter) error

type PostChannelsChannelIdOperations201JSONResponse

type PostChannelsChannelIdOperations201JSONResponse OperationResponse

func (PostChannelsChannelIdOperations201JSONResponse) VisitPostChannelsChannelIdOperationsResponse

func (response PostChannelsChannelIdOperations201JSONResponse) VisitPostChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type PostChannelsChannelIdOperations400JSONResponse

type PostChannelsChannelIdOperations400JSONResponse ApplicationError

func (PostChannelsChannelIdOperations400JSONResponse) VisitPostChannelsChannelIdOperationsResponse

func (response PostChannelsChannelIdOperations400JSONResponse) VisitPostChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type PostChannelsChannelIdOperations404JSONResponse

type PostChannelsChannelIdOperations404JSONResponse ApplicationError

func (PostChannelsChannelIdOperations404JSONResponse) VisitPostChannelsChannelIdOperationsResponse

func (response PostChannelsChannelIdOperations404JSONResponse) VisitPostChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type PostChannelsChannelIdOperations500JSONResponse

type PostChannelsChannelIdOperations500JSONResponse ApplicationError

func (PostChannelsChannelIdOperations500JSONResponse) VisitPostChannelsChannelIdOperationsResponse

func (response PostChannelsChannelIdOperations500JSONResponse) VisitPostChannelsChannelIdOperationsResponse(w http.ResponseWriter) error

type PostChannelsChannelIdOperationsJSONRequestBody

type PostChannelsChannelIdOperationsJSONRequestBody = CreateOperation

PostChannelsChannelIdOperationsJSONRequestBody defines body for PostChannelsChannelIdOperations for application/json ContentType.

type PostChannelsChannelIdOperationsRequestObject

type PostChannelsChannelIdOperationsRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Body      *PostChannelsChannelIdOperationsJSONRequestBody
}

type PostChannelsChannelIdOperationsResponseObject

type PostChannelsChannelIdOperationsResponseObject interface {
	VisitPostChannelsChannelIdOperationsResponse(w http.ResponseWriter) error
}

type PostChannelsChannelIdWatchers201JSONResponse

type PostChannelsChannelIdWatchers201JSONResponse Watcher

func (PostChannelsChannelIdWatchers201JSONResponse) VisitPostChannelsChannelIdWatchersResponse

func (response PostChannelsChannelIdWatchers201JSONResponse) VisitPostChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type PostChannelsChannelIdWatchers400JSONResponse

type PostChannelsChannelIdWatchers400JSONResponse ApplicationError

func (PostChannelsChannelIdWatchers400JSONResponse) VisitPostChannelsChannelIdWatchersResponse

func (response PostChannelsChannelIdWatchers400JSONResponse) VisitPostChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type PostChannelsChannelIdWatchers404JSONResponse

type PostChannelsChannelIdWatchers404JSONResponse ApplicationError

func (PostChannelsChannelIdWatchers404JSONResponse) VisitPostChannelsChannelIdWatchersResponse

func (response PostChannelsChannelIdWatchers404JSONResponse) VisitPostChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type PostChannelsChannelIdWatchers500JSONResponse

type PostChannelsChannelIdWatchers500JSONResponse ApplicationError

func (PostChannelsChannelIdWatchers500JSONResponse) VisitPostChannelsChannelIdWatchersResponse

func (response PostChannelsChannelIdWatchers500JSONResponse) VisitPostChannelsChannelIdWatchersResponse(w http.ResponseWriter) error

type PostChannelsChannelIdWatchersJSONRequestBody

type PostChannelsChannelIdWatchersJSONRequestBody = CreateWatcher

PostChannelsChannelIdWatchersJSONRequestBody defines body for PostChannelsChannelIdWatchers for application/json ContentType.

type PostChannelsChannelIdWatchersRequestObject

type PostChannelsChannelIdWatchersRequestObject struct {
	ChannelId openapi_types.UUID `json:"channel_id"`
	Body      *PostChannelsChannelIdWatchersJSONRequestBody
}

type PostChannelsChannelIdWatchersResponseObject

type PostChannelsChannelIdWatchersResponseObject interface {
	VisitPostChannelsChannelIdWatchersResponse(w http.ResponseWriter) error
}

type PostChannelsJSONRequestBody

type PostChannelsJSONRequestBody = CreateChannel

PostChannelsJSONRequestBody defines body for PostChannels for application/json ContentType.

type PostChannelsRequestObject

type PostChannelsRequestObject struct {
	Body *PostChannelsJSONRequestBody
}

type PostChannelsResponseObject

type PostChannelsResponseObject interface {
	VisitPostChannelsResponse(w http.ResponseWriter) error
}

type PostWallets201JSONResponse

type PostWallets201JSONResponse Wallet

func (PostWallets201JSONResponse) VisitPostWalletsResponse

func (response PostWallets201JSONResponse) VisitPostWalletsResponse(w http.ResponseWriter) error

type PostWallets400JSONResponse

type PostWallets400JSONResponse ApplicationError

func (PostWallets400JSONResponse) VisitPostWalletsResponse

func (response PostWallets400JSONResponse) VisitPostWalletsResponse(w http.ResponseWriter) error

type PostWallets500JSONResponse

type PostWallets500JSONResponse ApplicationError

func (PostWallets500JSONResponse) VisitPostWalletsResponse

func (response PostWallets500JSONResponse) VisitPostWalletsResponse(w http.ResponseWriter) error

type PostWalletsJSONRequestBody

type PostWalletsJSONRequestBody = CreateWallet

PostWalletsJSONRequestBody defines body for PostWallets for application/json ContentType.

type PostWalletsRequestObject

type PostWalletsRequestObject struct {
	Body *PostWalletsJSONRequestBody
}

type PostWalletsResponseObject

type PostWalletsResponseObject interface {
	VisitPostWalletsResponse(w http.ResponseWriter) error
}

type RSAPublicKey

type RSAPublicKey struct {
	// E RSA public exponent (hex encoded, 2-17 bytes)
	E string `json:"e"`

	// N RSA modulus (hex encoded, min 2048 bits)
	N string `json:"n"`
}

RSAPublicKey RSA public key with exponent and modulus

type RSASignersList

type RSASignersList = []RSAPublicKey

RSASignersList List of allowed RSA public signing keys

type ServerInterface

type ServerInterface interface {
	// Retrieves channels for the organization.
	// (GET /channels)
	GetChannels(c *gin.Context, params GetChannelsParams)
	// Creates a new channel.
	// (POST /channels)
	PostChannels(c *gin.Context)
	// Retrieves a specific channel by ID.
	// (GET /channels/{channel_id})
	GetChannelsChannelId(c *gin.Context, channelId openapi_types.UUID)
	// Updates a channel.
	// (PATCH /channels/{channel_id})
	PatchChannelsChannelId(c *gin.Context, channelId openapi_types.UUID)
	// Retrieves events from a channel.
	// (GET /channels/{channel_id}/events)
	GetChannelsChannelIdEvents(c *gin.Context, channelId openapi_types.UUID, params GetChannelsChannelIdEventsParams)
	// Query and search historical events from a channel.
	// (GET /channels/{channel_id}/events/search)
	GetChannelsChannelIdEventsSearch(c *gin.Context, channelId openapi_types.UUID, params GetChannelsChannelIdEventsSearchParams)
	// Retrieves a specific event by ID from a channel.
	// (GET /channels/{channel_id}/events/search/{event_id})
	GetChannelsChannelIdEventsSearchEventId(c *gin.Context, channelId openapi_types.UUID, eventId openapi_types.UUID)
	// Retrieves operations for a channel.
	// (GET /channels/{channel_id}/operations)
	GetChannelsChannelIdOperations(c *gin.Context, channelId openapi_types.UUID, params GetChannelsChannelIdOperationsParams)
	// Sends a CreateOperation request to a channel.
	// (POST /channels/{channel_id}/operations)
	PostChannelsChannelIdOperations(c *gin.Context, channelId openapi_types.UUID)
	// Gets Operation record for a specific operation.
	// (GET /channels/{channel_id}/operations/{operation_id})
	GetChannelsChannelIdOperationsOperationId(c *gin.Context, channelId openapi_types.UUID, operationId openapi_types.UUID)
	// Retrieves watchers for a channel.
	// (GET /channels/{channel_id}/watchers)
	GetChannelsChannelIdWatchers(c *gin.Context, channelId openapi_types.UUID, params GetChannelsChannelIdWatchersParams)
	// Creates a watcher in a channel.
	// (POST /channels/{channel_id}/watchers)
	PostChannelsChannelIdWatchers(c *gin.Context, channelId openapi_types.UUID)
	// Retrieves a specific watcher by ID.
	// (GET /channels/{channel_id}/watchers/{watcher_id})
	GetChannelsChannelIdWatchersWatcherId(c *gin.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID)
	// Updates a watcher.
	// (PATCH /channels/{channel_id}/watchers/{watcher_id})
	PatchChannelsChannelIdWatchersWatcherId(c *gin.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID)
	// Health check endpoint
	// (GET /health-check)
	GetHealthCheck(c *gin.Context)
	// Retrieves available networks.
	// (GET /networks)
	GetNetworks(c *gin.Context)
	// Retrieves wallets for the organization.
	// (GET /wallets)
	GetWallets(c *gin.Context, params GetWalletsParams)
	// Creates a new wallet.
	// (POST /wallets)
	PostWallets(c *gin.Context)
	// Retrieves a specific wallet by ID.
	// (GET /wallets/{wallet_id})
	GetWalletsWalletId(c *gin.Context, walletId openapi_types.UUID)
	// Updates a wallet name.
	// (PATCH /wallets/{wallet_id})
	PatchWalletsWalletId(c *gin.Context, walletId openapi_types.UUID)
}

ServerInterface represents all server handlers.

func NewStrictHandler

func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandler       func(*gin.Context, error, int)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) GetChannels

func (siw *ServerInterfaceWrapper) GetChannels(c *gin.Context)

GetChannels operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelId

func (siw *ServerInterfaceWrapper) GetChannelsChannelId(c *gin.Context)

GetChannelsChannelId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEvents

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEvents(c *gin.Context)

GetChannelsChannelIdEvents operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEventsSearch

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEventsSearch(c *gin.Context)

GetChannelsChannelIdEventsSearch operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEventsSearchEventId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEventsSearchEventId(c *gin.Context)

GetChannelsChannelIdEventsSearchEventId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdOperations

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdOperations(c *gin.Context)

GetChannelsChannelIdOperations operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdOperationsOperationId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdOperationsOperationId(c *gin.Context)

GetChannelsChannelIdOperationsOperationId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdWatchers

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdWatchers(c *gin.Context)

GetChannelsChannelIdWatchers operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdWatchersWatcherId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdWatchersWatcherId(c *gin.Context)

GetChannelsChannelIdWatchersWatcherId operation middleware

func (*ServerInterfaceWrapper) GetHealthCheck

func (siw *ServerInterfaceWrapper) GetHealthCheck(c *gin.Context)

GetHealthCheck operation middleware

func (*ServerInterfaceWrapper) GetNetworks

func (siw *ServerInterfaceWrapper) GetNetworks(c *gin.Context)

GetNetworks operation middleware

func (*ServerInterfaceWrapper) GetWallets

func (siw *ServerInterfaceWrapper) GetWallets(c *gin.Context)

GetWallets operation middleware

func (*ServerInterfaceWrapper) GetWalletsWalletId

func (siw *ServerInterfaceWrapper) GetWalletsWalletId(c *gin.Context)

GetWalletsWalletId operation middleware

func (*ServerInterfaceWrapper) PatchChannelsChannelId

func (siw *ServerInterfaceWrapper) PatchChannelsChannelId(c *gin.Context)

PatchChannelsChannelId operation middleware

func (*ServerInterfaceWrapper) PatchChannelsChannelIdWatchersWatcherId

func (siw *ServerInterfaceWrapper) PatchChannelsChannelIdWatchersWatcherId(c *gin.Context)

PatchChannelsChannelIdWatchersWatcherId operation middleware

func (*ServerInterfaceWrapper) PatchWalletsWalletId

func (siw *ServerInterfaceWrapper) PatchWalletsWalletId(c *gin.Context)

PatchWalletsWalletId operation middleware

func (*ServerInterfaceWrapper) PostChannels

func (siw *ServerInterfaceWrapper) PostChannels(c *gin.Context)

PostChannels operation middleware

func (*ServerInterfaceWrapper) PostChannelsChannelIdOperations

func (siw *ServerInterfaceWrapper) PostChannelsChannelIdOperations(c *gin.Context)

PostChannelsChannelIdOperations operation middleware

func (*ServerInterfaceWrapper) PostChannelsChannelIdWatchers

func (siw *ServerInterfaceWrapper) PostChannelsChannelIdWatchers(c *gin.Context)

PostChannelsChannelIdWatchers operation middleware

func (*ServerInterfaceWrapper) PostWallets

func (siw *ServerInterfaceWrapper) PostWallets(c *gin.Context)

PostWallets operation middleware

type StrictHandlerFunc

type StrictHandlerFunc = strictgin.StrictGinHandlerFunc

type StrictMiddlewareFunc

type StrictMiddlewareFunc = strictgin.StrictGinMiddlewareFunc

type StrictServerInterface

type StrictServerInterface interface {
	// Retrieves channels for the organization.
	// (GET /channels)
	GetChannels(ctx context.Context, request GetChannelsRequestObject) (GetChannelsResponseObject, error)
	// Creates a new channel.
	// (POST /channels)
	PostChannels(ctx context.Context, request PostChannelsRequestObject) (PostChannelsResponseObject, error)
	// Retrieves a specific channel by ID.
	// (GET /channels/{channel_id})
	GetChannelsChannelId(ctx context.Context, request GetChannelsChannelIdRequestObject) (GetChannelsChannelIdResponseObject, error)
	// Updates a channel.
	// (PATCH /channels/{channel_id})
	PatchChannelsChannelId(ctx context.Context, request PatchChannelsChannelIdRequestObject) (PatchChannelsChannelIdResponseObject, error)
	// Retrieves events from a channel.
	// (GET /channels/{channel_id}/events)
	GetChannelsChannelIdEvents(ctx context.Context, request GetChannelsChannelIdEventsRequestObject) (GetChannelsChannelIdEventsResponseObject, error)
	// Query and search historical events from a channel.
	// (GET /channels/{channel_id}/events/search)
	GetChannelsChannelIdEventsSearch(ctx context.Context, request GetChannelsChannelIdEventsSearchRequestObject) (GetChannelsChannelIdEventsSearchResponseObject, error)
	// Retrieves a specific event by ID from a channel.
	// (GET /channels/{channel_id}/events/search/{event_id})
	GetChannelsChannelIdEventsSearchEventId(ctx context.Context, request GetChannelsChannelIdEventsSearchEventIdRequestObject) (GetChannelsChannelIdEventsSearchEventIdResponseObject, error)
	// Retrieves operations for a channel.
	// (GET /channels/{channel_id}/operations)
	GetChannelsChannelIdOperations(ctx context.Context, request GetChannelsChannelIdOperationsRequestObject) (GetChannelsChannelIdOperationsResponseObject, error)
	// Sends a CreateOperation request to a channel.
	// (POST /channels/{channel_id}/operations)
	PostChannelsChannelIdOperations(ctx context.Context, request PostChannelsChannelIdOperationsRequestObject) (PostChannelsChannelIdOperationsResponseObject, error)
	// Gets Operation record for a specific operation.
	// (GET /channels/{channel_id}/operations/{operation_id})
	GetChannelsChannelIdOperationsOperationId(ctx context.Context, request GetChannelsChannelIdOperationsOperationIdRequestObject) (GetChannelsChannelIdOperationsOperationIdResponseObject, error)
	// Retrieves watchers for a channel.
	// (GET /channels/{channel_id}/watchers)
	GetChannelsChannelIdWatchers(ctx context.Context, request GetChannelsChannelIdWatchersRequestObject) (GetChannelsChannelIdWatchersResponseObject, error)
	// Creates a watcher in a channel.
	// (POST /channels/{channel_id}/watchers)
	PostChannelsChannelIdWatchers(ctx context.Context, request PostChannelsChannelIdWatchersRequestObject) (PostChannelsChannelIdWatchersResponseObject, error)
	// Retrieves a specific watcher by ID.
	// (GET /channels/{channel_id}/watchers/{watcher_id})
	GetChannelsChannelIdWatchersWatcherId(ctx context.Context, request GetChannelsChannelIdWatchersWatcherIdRequestObject) (GetChannelsChannelIdWatchersWatcherIdResponseObject, error)
	// Updates a watcher.
	// (PATCH /channels/{channel_id}/watchers/{watcher_id})
	PatchChannelsChannelIdWatchersWatcherId(ctx context.Context, request PatchChannelsChannelIdWatchersWatcherIdRequestObject) (PatchChannelsChannelIdWatchersWatcherIdResponseObject, error)
	// Health check endpoint
	// (GET /health-check)
	GetHealthCheck(ctx context.Context, request GetHealthCheckRequestObject) (GetHealthCheckResponseObject, error)
	// Retrieves available networks.
	// (GET /networks)
	GetNetworks(ctx context.Context, request GetNetworksRequestObject) (GetNetworksResponseObject, error)
	// Retrieves wallets for the organization.
	// (GET /wallets)
	GetWallets(ctx context.Context, request GetWalletsRequestObject) (GetWalletsResponseObject, error)
	// Creates a new wallet.
	// (POST /wallets)
	PostWallets(ctx context.Context, request PostWalletsRequestObject) (PostWalletsResponseObject, error)
	// Retrieves a specific wallet by ID.
	// (GET /wallets/{wallet_id})
	GetWalletsWalletId(ctx context.Context, request GetWalletsWalletIdRequestObject) (GetWalletsWalletIdResponseObject, error)
	// Updates a wallet name.
	// (PATCH /wallets/{wallet_id})
	PatchWalletsWalletId(ctx context.Context, request PatchWalletsWalletIdRequestObject) (PatchWalletsWalletIdResponseObject, error)
}

StrictServerInterface represents all server handlers.

type Timestamp

type Timestamp = int64

Timestamp Unix timestamp in seconds

type Transaction

type Transaction struct {
	// Data Hex-encoded calldata for the transaction
	Data string `json:"data"`

	// To Address receiving the transaction
	To string `json:"to"`

	// Value Amount of native token value being sent in the transaction
	Value string `json:"value"`
}

Transaction defines model for Transaction.

type TransactionRequest

type TransactionRequest struct {
	// Data Hex-encoded calldata for the transaction
	Data string `json:"data"`

	// To Address receiving the transaction
	To string `json:"to"`

	// Value Amount of native token value being sent in the transaction
	Value string `json:"value"`
}

TransactionRequest defines model for TransactionRequest.

type UpdateWallet

type UpdateWallet struct {
	// Description New description for the wallet
	Description *string `json:"description,omitempty"`

	// Name New name for the wallet
	Name *string `json:"name,omitempty"`

	// Status Status of a wallet entity
	Status *WalletStatus `json:"status,omitempty"`
}

UpdateWallet defines model for UpdateWallet.

type UpdateWatcher

type UpdateWatcher struct {
	// Name New name for the watcher
	Name *string `json:"name,omitempty"`

	// Status Status of a watcher entity
	Status *WatcherStatus `json:"status,omitempty"`
}

UpdateWatcher defines model for UpdateWatcher.

type Wallet

type Wallet struct {
	// Address 42-character hex Ethereum address
	Address EthereumAddress `json:"address"`

	// AllowedEcdsaSigners List of allowed ECDSA public signing keys (Ethereum addresses)
	AllowedEcdsaSigners ECDSASignersList `json:"allowed_ecdsa_signers"`

	// AllowedRsaSigners List of allowed RSA public signing keys
	AllowedRsaSigners RSASignersList `json:"allowed_rsa_signers"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector ChainSelector `json:"chain_selector"`

	// CreatedAt Unix timestamp in seconds
	CreatedAt *Timestamp `json:"created_at,omitempty"`

	// Description Description of the wallet
	Description *string `json:"description,omitempty"`

	// Name Name of the wallet
	Name string `json:"name"`

	// Status Status of a wallet entity
	Status WalletStatus `json:"status"`

	// StatusChannelId Channel ID where wallet status events are published
	StatusChannelId *openapi_types.UUID `json:"status_channel_id,omitempty"`

	// WalletId Unique identifier for the wallet
	WalletId openapi_types.UUID `json:"wallet_id"`

	// WalletOwnerAddress 42-character hex Ethereum address
	WalletOwnerAddress EthereumAddress `json:"wallet_owner_address"`

	// WalletType Type of wallet
	WalletType WalletType `json:"wallet_type"`

	// WorkflowId Unique identifier for the workflow that created the wallet
	WorkflowId *string `json:"workflow_id,omitempty"`
}

Wallet defines model for Wallet.

type WalletEventStatus

type WalletEventStatus string

WalletEventStatus Status of a wallet in events (includes archived state for filtering)

const (
	WalletEventStatusArchived  WalletEventStatus = "archived"
	WalletEventStatusDeployed  WalletEventStatus = "deployed"
	WalletEventStatusDeploying WalletEventStatus = "deploying"
	WalletEventStatusFailed    WalletEventStatus = "failed"
	WalletEventStatusPending   WalletEventStatus = "pending"
)

Defines values for WalletEventStatus.

type WalletList

type WalletList struct {
	Data []Wallet `json:"data"`

	// HasMore True if there are more wallets to fetch
	HasMore bool `json:"has_more"`
}

WalletList defines model for WalletList.

type WalletStatus

type WalletStatus string

WalletStatus Status of a wallet entity

const (
	WalletStatusArchived  WalletStatus = "archived"
	WalletStatusDeployed  WalletStatus = "deployed"
	WalletStatusDeploying WalletStatus = "deploying"
	WalletStatusFailed    WalletStatus = "failed"
	WalletStatusPending   WalletStatus = "pending"
)

Defines values for WalletStatus.

type WalletStatusPayload

type WalletStatusPayload struct {
	// Address Wallet address performing the operation
	Address string `json:"address"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector string `json:"chain_selector"`

	// Status Status of a wallet in events (includes archived state for filtering)
	Status WalletEventStatus `json:"status"`

	// StatusReason Reason for the status
	StatusReason string `json:"status_reason"`

	// Timestamp Timestamp when the event was created
	Timestamp int64 `json:"timestamp"`

	// WalletId Unique identifier for the wallet
	WalletId openapi_types.UUID `json:"wallet_id"`
}

WalletStatusPayload defines model for WalletStatusPayload.

type WalletType

type WalletType string

WalletType Type of wallet

const (
	Ecdsa WalletType = "ecdsa"
	Rsa   WalletType = "rsa"
)

Defines values for WalletType.

type Watcher

type Watcher struct {
	// Abi ABI definitions for the events (if not using service-based events)
	Abi *[]EventABI `json:"abi,omitempty"`

	// Address Smart contract address being watched
	Address string `json:"address"`

	// ChainSelector The chain selector to identify the chain where the watcher will run
	ChainSelector string `json:"chain_selector"`

	// ChannelId ID of the channel this watcher belongs to
	ChannelId openapi_types.UUID `json:"channel_id"`

	// CreatedAt Timestamp of when the watcher was created
	CreatedAt int64 `json:"created_at"`

	// DonFamily DON family the watcher's workflow runs on (e.g., "zone-a"). Used to identify which DON nodes signed the events.
	DonFamily string `json:"don_family"`

	// Events List of event names being watched
	Events []string `json:"events"`

	// Name Name of the watcher for identification
	Name *string `json:"name,omitempty"`

	// Service Service service namespace (if using service-based events)
	Service *string `json:"service,omitempty"`

	// ServiceConfig Optional service-specific configuration (e.g. secondary contract addresses)
	ServiceConfig *map[string]interface{} `json:"service_config,omitempty"`

	// Status Status of a watcher entity
	Status WatcherStatus `json:"status"`

	// WatcherId Unique identifier for the watcher
	WatcherId openapi_types.UUID `json:"watcher_id"`

	// WorkflowId Unique identifier for the workflow that created the watcher
	WorkflowId string `json:"workflow_id"`
}

Watcher defines model for Watcher.

type WatcherEventPayload

type WatcherEventPayload struct {
	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector string `json:"chain_selector"`

	// EventHash Verifiable event hash
	EventHash string `json:"event_hash"`

	// Timestamp Timestamp when the event was created
	Timestamp int64 `json:"timestamp"`

	// VerifiableEvent Base64 encoded verifiable event
	VerifiableEvent string `json:"verifiable_event"`

	// WatcherId Unique watcher identifier
	WatcherId string `json:"watcher_id"`
}

WatcherEventPayload defines model for WatcherEventPayload.

type WatcherEventStatus

type WatcherEventStatus string

WatcherEventStatus Status of a watcher in events (includes transitional and archival states for filtering)

const (
	WatcherEventStatusActive        WatcherEventStatus = "active"
	WatcherEventStatusArchiveFailed WatcherEventStatus = "archive_failed"
	WatcherEventStatusArchived      WatcherEventStatus = "archived"
	WatcherEventStatusArchiving     WatcherEventStatus = "archiving"
	WatcherEventStatusFailed        WatcherEventStatus = "failed"
	WatcherEventStatusPending       WatcherEventStatus = "pending"
)

Defines values for WatcherEventStatus.

type WatcherList

type WatcherList struct {
	Data []WatcherSummary `json:"data"`

	// HasMore True if there are more watchers to fetch
	HasMore bool `json:"has_more"`
}

WatcherList defines model for WatcherList.

type WatcherStatus

type WatcherStatus string

WatcherStatus Status of a watcher entity

const (
	WatcherStatusActive    WatcherStatus = "active"
	WatcherStatusArchived  WatcherStatus = "archived"
	WatcherStatusArchiving WatcherStatus = "archiving"
	WatcherStatusFailed    WatcherStatus = "failed"
	WatcherStatusPending   WatcherStatus = "pending"
)

Defines values for WatcherStatus.

type WatcherStatusPayload

type WatcherStatusPayload struct {
	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector string `json:"chain_selector"`

	// Status Status of a watcher in events (includes transitional and archival states for filtering)
	Status WatcherEventStatus `json:"status"`

	// StatusReason Reason for the status
	StatusReason string `json:"status_reason"`

	// Timestamp Timestamp when the event was created
	Timestamp int64 `json:"timestamp"`

	// WatcherId Unique watcher identifier
	WatcherId string `json:"watcher_id"`
}

WatcherStatusPayload defines model for WatcherStatusPayload.

type WatcherSummary

type WatcherSummary struct {
	// Address Smart contract address being watched
	Address string `json:"address"`

	// ChainSelector Chain selector identifier for the blockchain network
	ChainSelector ChainSelector `json:"chain_selector"`

	// ChannelId ID of the channel this watcher belongs to
	ChannelId openapi_types.UUID `json:"channel_id"`

	// CreatedAt Timestamp of when the watcher was created
	CreatedAt int64 `json:"created_at"`

	// DonFamily DON family the watcher's workflow runs on (e.g., "zone-a"). Used to identify which DON nodes signed the events.
	DonFamily string `json:"don_family"`

	// Name Name of the watcher for identification
	Name *string `json:"name,omitempty"`

	// Service Service service namespace (if using service-based events)
	Service *string `json:"service,omitempty"`

	// Status Status of a watcher entity
	Status WatcherStatus `json:"status"`

	// WatcherId Unique identifier for the watcher
	WatcherId openapi_types.UUID `json:"watcher_id"`

	// WorkflowId Unique identifier for the workflow that created the watcher
	WorkflowId string `json:"workflow_id"`
}

WatcherSummary defines model for WatcherSummary.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL