stdserver

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Mar 20, 2026 License: MIT Imports: 6 Imported by: 1

Documentation

Overview

Package stdserver 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 Handler

func Handler(si ServerInterface) http.Handler

Handler creates http.Handler with routing matching OpenAPI spec.

func HandlerFromMux

func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler

HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.

func HandlerFromMuxWithBaseURL

func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler

func HandlerWithOptions

func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler

HandlerWithOptions 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"`

	// Deadline Unix timestamp deadline for the operation. A value of 0 means no expiration.
	Deadline int64 `json:"deadline"`

	// 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 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 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 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 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 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 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 HealthCheck

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

HealthCheck defines model for HealthCheck.

type InvalidParamFormatError

type InvalidParamFormatError struct {
	ParamName string
	Err       error
}

func (*InvalidParamFormatError) Error

func (e *InvalidParamFormatError) Error() string

func (*InvalidParamFormatError) Unwrap

func (e *InvalidParamFormatError) Unwrap() error

type MiddlewareFunc

type MiddlewareFunc func(http.Handler) http.Handler

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"`

	// Deadline Unix timestamp deadline for the operation. A value of 0 means no expiration.
	Deadline int64 `json:"deadline"`

	// 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 PatchChannelsChannelIdJSONRequestBody

type PatchChannelsChannelIdJSONRequestBody = PatchChannel

PatchChannelsChannelIdJSONRequestBody defines body for PatchChannelsChannelId for application/json ContentType.

type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody

type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody = UpdateWatcher

PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody defines body for PatchChannelsChannelIdWatchersWatcherId for application/json ContentType.

type PatchWalletsWalletIdJSONRequestBody

type PatchWalletsWalletIdJSONRequestBody = UpdateWallet

PatchWalletsWalletIdJSONRequestBody defines body for PatchWalletsWalletId for application/json ContentType.

type PostChannelsChannelIdOperationsJSONRequestBody

type PostChannelsChannelIdOperationsJSONRequestBody = CreateOperation

PostChannelsChannelIdOperationsJSONRequestBody defines body for PostChannelsChannelIdOperations for application/json ContentType.

type PostChannelsChannelIdWatchersJSONRequestBody

type PostChannelsChannelIdWatchersJSONRequestBody = CreateWatcher

PostChannelsChannelIdWatchersJSONRequestBody defines body for PostChannelsChannelIdWatchers for application/json ContentType.

type PostChannelsJSONRequestBody

type PostChannelsJSONRequestBody = CreateChannel

PostChannelsJSONRequestBody defines body for PostChannels for application/json ContentType.

type PostWalletsJSONRequestBody

type PostWalletsJSONRequestBody = CreateWallet

PostWalletsJSONRequestBody defines body for PostWallets for application/json ContentType.

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 RequiredHeaderError

type RequiredHeaderError struct {
	ParamName string
	Err       error
}

func (*RequiredHeaderError) Error

func (e *RequiredHeaderError) Error() string

func (*RequiredHeaderError) Unwrap

func (e *RequiredHeaderError) Unwrap() error

type RequiredParamError

type RequiredParamError struct {
	ParamName string
}

func (*RequiredParamError) Error

func (e *RequiredParamError) Error() string

type ServeMux

type ServeMux interface {
	HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
	ServeHTTP(w http.ResponseWriter, r *http.Request)
}

ServeMux is an abstraction of http.ServeMux.

type ServerInterface

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

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

type ServerInterfaceWrapper struct {
	Handler            ServerInterface
	HandlerMiddlewares []MiddlewareFunc
	ErrorHandlerFunc   func(w http.ResponseWriter, r *http.Request, err error)
}

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) GetChannels

func (siw *ServerInterfaceWrapper) GetChannels(w http.ResponseWriter, r *http.Request)

GetChannels operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelId

func (siw *ServerInterfaceWrapper) GetChannelsChannelId(w http.ResponseWriter, r *http.Request)

GetChannelsChannelId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEvents

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEvents(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdEvents operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEventsSearch

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEventsSearch(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdEventsSearch operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdEventsSearchEventId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdEventsSearchEventId(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdEventsSearchEventId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdOperations

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdOperations(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdOperations operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdOperationsOperationId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdOperationsOperationId(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdOperationsOperationId operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdWatchers

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdWatchers(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdWatchers operation middleware

func (*ServerInterfaceWrapper) GetChannelsChannelIdWatchersWatcherId

func (siw *ServerInterfaceWrapper) GetChannelsChannelIdWatchersWatcherId(w http.ResponseWriter, r *http.Request)

GetChannelsChannelIdWatchersWatcherId operation middleware

func (*ServerInterfaceWrapper) GetHealthCheck

func (siw *ServerInterfaceWrapper) GetHealthCheck(w http.ResponseWriter, r *http.Request)

GetHealthCheck operation middleware

func (*ServerInterfaceWrapper) GetNetworks

func (siw *ServerInterfaceWrapper) GetNetworks(w http.ResponseWriter, r *http.Request)

GetNetworks operation middleware

func (*ServerInterfaceWrapper) GetWallets

func (siw *ServerInterfaceWrapper) GetWallets(w http.ResponseWriter, r *http.Request)

GetWallets operation middleware

func (*ServerInterfaceWrapper) GetWalletsWalletId

func (siw *ServerInterfaceWrapper) GetWalletsWalletId(w http.ResponseWriter, r *http.Request)

GetWalletsWalletId operation middleware

func (*ServerInterfaceWrapper) PatchChannelsChannelId

func (siw *ServerInterfaceWrapper) PatchChannelsChannelId(w http.ResponseWriter, r *http.Request)

PatchChannelsChannelId operation middleware

func (*ServerInterfaceWrapper) PatchChannelsChannelIdWatchersWatcherId

func (siw *ServerInterfaceWrapper) PatchChannelsChannelIdWatchersWatcherId(w http.ResponseWriter, r *http.Request)

PatchChannelsChannelIdWatchersWatcherId operation middleware

func (*ServerInterfaceWrapper) PatchWalletsWalletId

func (siw *ServerInterfaceWrapper) PatchWalletsWalletId(w http.ResponseWriter, r *http.Request)

PatchWalletsWalletId operation middleware

func (*ServerInterfaceWrapper) PostChannels

func (siw *ServerInterfaceWrapper) PostChannels(w http.ResponseWriter, r *http.Request)

PostChannels operation middleware

func (*ServerInterfaceWrapper) PostChannelsChannelIdOperations

func (siw *ServerInterfaceWrapper) PostChannelsChannelIdOperations(w http.ResponseWriter, r *http.Request)

PostChannelsChannelIdOperations operation middleware

func (*ServerInterfaceWrapper) PostChannelsChannelIdWatchers

func (siw *ServerInterfaceWrapper) PostChannelsChannelIdWatchers(w http.ResponseWriter, r *http.Request)

PostChannelsChannelIdWatchers operation middleware

func (*ServerInterfaceWrapper) PostWallets

func (siw *ServerInterfaceWrapper) PostWallets(w http.ResponseWriter, r *http.Request)

PostWallets operation middleware

type StdHTTPServerOptions

type StdHTTPServerOptions struct {
	BaseURL          string
	BaseRouter       ServeMux
	Middlewares      []MiddlewareFunc
	ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}

type Timestamp

type Timestamp = int64

Timestamp Unix timestamp in seconds

type TooManyValuesForParamError

type TooManyValuesForParamError struct {
	ParamName string
	Count     int
}

func (*TooManyValuesForParamError) Error

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 UnescapedCookieParamError

type UnescapedCookieParamError struct {
	ParamName string
	Err       error
}

func (*UnescapedCookieParamError) Error

func (e *UnescapedCookieParamError) Error() string

func (*UnescapedCookieParamError) Unwrap

func (e *UnescapedCookieParamError) Unwrap() error

type UnmarshalingParamError

type UnmarshalingParamError struct {
	ParamName string
	Err       error
}

func (*UnmarshalingParamError) Error

func (e *UnmarshalingParamError) Error() string

func (*UnmarshalingParamError) Unwrap

func (e *UnmarshalingParamError) Unwrap() error

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