Documentation
¶
Overview ¶
Package client 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
- func NewGetChannelsChannelIdEventsRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetChannelsChannelIdEventsSearchEventIdRequest(server string, channelId openapi_types.UUID, eventId openapi_types.UUID) (*http.Request, error)
- func NewGetChannelsChannelIdEventsSearchRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetChannelsChannelIdOperationsOperationIdRequest(server string, channelId openapi_types.UUID, operationId openapi_types.UUID) (*http.Request, error)
- func NewGetChannelsChannelIdOperationsRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetChannelsChannelIdRequest(server string, channelId openapi_types.UUID) (*http.Request, error)
- func NewGetChannelsChannelIdWatchersRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewGetChannelsChannelIdWatchersWatcherIdRequest(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID) (*http.Request, error)
- func NewGetChannelsRequest(server string, params *GetChannelsParams) (*http.Request, error)
- func NewGetHealthCheckRequest(server string) (*http.Request, error)
- func NewGetNetworksRequest(server string) (*http.Request, error)
- func NewGetWalletsRequest(server string, params *GetWalletsParams) (*http.Request, error)
- func NewGetWalletsWalletIdRequest(server string, walletId openapi_types.UUID) (*http.Request, error)
- func NewPatchChannelsChannelIdRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewPatchChannelsChannelIdRequestWithBody(server string, channelId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPatchChannelsChannelIdWatchersWatcherIdRequest(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID, ...) (*http.Request, error)
- func NewPatchChannelsChannelIdWatchersWatcherIdRequestWithBody(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID, ...) (*http.Request, error)
- func NewPatchWalletsWalletIdRequest(server string, walletId openapi_types.UUID, ...) (*http.Request, error)
- func NewPatchWalletsWalletIdRequestWithBody(server string, walletId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
- func NewPostChannelsChannelIdOperationsRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostChannelsChannelIdOperationsRequestWithBody(server string, channelId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostChannelsChannelIdWatchersRequest(server string, channelId openapi_types.UUID, ...) (*http.Request, error)
- func NewPostChannelsChannelIdWatchersRequestWithBody(server string, channelId openapi_types.UUID, contentType string, ...) (*http.Request, error)
- func NewPostChannelsRequest(server string, body PostChannelsJSONRequestBody) (*http.Request, error)
- func NewPostChannelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- func NewPostWalletsRequest(server string, body PostWalletsJSONRequestBody) (*http.Request, error)
- func NewPostWalletsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
- type ApplicationError
- type ApplicationErrorType
- type ChainSelector
- type Channel
- type ChannelList
- type ChannelStatus
- type Client
- func (c *Client) GetChannels(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdEvents(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdEventsSearch(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdEventsSearchEventId(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdOperationsOperationId(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) GetHealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWallets(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
- func (c *Client) GetWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PatchChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PatchChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PatchChannelsChannelIdWatchersWatcherIdWithBody(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PatchChannelsChannelIdWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PatchWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PatchWalletsWalletIdWithBody(ctx context.Context, walletId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostChannels(ctx context.Context, body PostChannelsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostChannelsChannelIdOperationsWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, ...) (*http.Response, error)
- func (c *Client) PostChannelsChannelIdWatchersWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*http.Response, error)
- func (c *Client) PostChannelsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- func (c *Client) PostWallets(ctx context.Context, body PostWalletsJSONRequestBody, ...) (*http.Response, error)
- func (c *Client) PostWalletsWithBody(ctx context.Context, contentType string, body io.Reader, ...) (*http.Response, error)
- type ClientInterface
- type ClientOption
- type ClientWithResponses
- func (c *ClientWithResponses) GetChannelsChannelIdEventsSearchEventIdWithResponse(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, ...) (*GetChannelsChannelIdEventsSearchEventIdResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdEventsSearchWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdEventsSearchResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdEventsWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdEventsResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdOperationsOperationIdWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdOperationsOperationIdResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdOperationsResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdWatchersWatcherIdResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdWatchersResponse, error)
- func (c *ClientWithResponses) GetChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*GetChannelsChannelIdResponse, error)
- func (c *ClientWithResponses) GetChannelsWithResponse(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*GetChannelsResponse, error)
- func (c *ClientWithResponses) GetHealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthCheckResponse, error)
- func (c *ClientWithResponses) GetNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNetworksResponse, error)
- func (c *ClientWithResponses) GetWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, ...) (*GetWalletsWalletIdResponse, error)
- func (c *ClientWithResponses) GetWalletsWithResponse(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*GetWalletsResponse, error)
- func (c *ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
- func (c *ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
- func (c *ClientWithResponses) PatchChannelsChannelIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*PatchChannelsChannelIdResponse, error)
- func (c *ClientWithResponses) PatchChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*PatchChannelsChannelIdResponse, error)
- func (c *ClientWithResponses) PatchWalletsWalletIdWithBodyWithResponse(ctx context.Context, walletId openapi_types.UUID, contentType string, ...) (*PatchWalletsWalletIdResponse, error)
- func (c *ClientWithResponses) PatchWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, ...) (*PatchWalletsWalletIdResponse, error)
- func (c *ClientWithResponses) PostChannelsChannelIdOperationsWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*PostChannelsChannelIdOperationsResponse, error)
- func (c *ClientWithResponses) PostChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*PostChannelsChannelIdOperationsResponse, error)
- func (c *ClientWithResponses) PostChannelsChannelIdWatchersWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, ...) (*PostChannelsChannelIdWatchersResponse, error)
- func (c *ClientWithResponses) PostChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, ...) (*PostChannelsChannelIdWatchersResponse, error)
- func (c *ClientWithResponses) PostChannelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostChannelsResponse, error)
- func (c *ClientWithResponses) PostChannelsWithResponse(ctx context.Context, body PostChannelsJSONRequestBody, ...) (*PostChannelsResponse, error)
- func (c *ClientWithResponses) PostWalletsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, ...) (*PostWalletsResponse, error)
- func (c *ClientWithResponses) PostWalletsWithResponse(ctx context.Context, body PostWalletsJSONRequestBody, ...) (*PostWalletsResponse, error)
- type ClientWithResponsesInterface
- type CreateChannel
- type CreateOperation
- type CreateWallet
- type CreateWatcher
- func (t CreateWatcher) AsCreateWatcherWithABI() (CreateWatcherWithABI, error)
- func (t CreateWatcher) AsCreateWatcherWithService() (CreateWatcherWithService, error)
- func (t *CreateWatcher) FromCreateWatcherWithABI(v CreateWatcherWithABI) error
- func (t *CreateWatcher) FromCreateWatcherWithService(v CreateWatcherWithService) error
- func (t CreateWatcher) MarshalJSON() ([]byte, error)
- func (t *CreateWatcher) MergeCreateWatcherWithABI(v CreateWatcherWithABI) error
- func (t *CreateWatcher) MergeCreateWatcherWithService(v CreateWatcherWithService) error
- func (t *CreateWatcher) UnmarshalJSON(b []byte) error
- type CreateWatcherWithABI
- type CreateWatcherWithService
- type ECDSASignersList
- type EthereumAddress
- type Event
- type EventABI
- type EventABIInput
- type EventABIType
- type EventHeaders
- type EventHeadersProofs1
- type EventHeaders_Proofs_Item
- func (t EventHeaders_Proofs_Item) AsEventHeadersProofs1() (EventHeadersProofs1, error)
- func (t EventHeaders_Proofs_Item) AsOCRProof() (OCRProof, error)
- func (t *EventHeaders_Proofs_Item) FromEventHeadersProofs1(v EventHeadersProofs1) error
- func (t *EventHeaders_Proofs_Item) FromOCRProof(v OCRProof) error
- func (t EventHeaders_Proofs_Item) MarshalJSON() ([]byte, error)
- func (t *EventHeaders_Proofs_Item) MergeEventHeadersProofs1(v EventHeadersProofs1) error
- func (t *EventHeaders_Proofs_Item) MergeOCRProof(v OCRProof) error
- func (t *EventHeaders_Proofs_Item) UnmarshalJSON(b []byte) error
- type EventList
- type EventType
- type Event_Payload
- func (t Event_Payload) AsOperationStatusPayload() (OperationStatusPayload, error)
- func (t Event_Payload) AsWalletStatusPayload() (WalletStatusPayload, error)
- func (t Event_Payload) AsWatcherEventPayload() (WatcherEventPayload, error)
- func (t Event_Payload) AsWatcherStatusPayload() (WatcherStatusPayload, error)
- func (t *Event_Payload) FromOperationStatusPayload(v OperationStatusPayload) error
- func (t *Event_Payload) FromWalletStatusPayload(v WalletStatusPayload) error
- func (t *Event_Payload) FromWatcherEventPayload(v WatcherEventPayload) error
- func (t *Event_Payload) FromWatcherStatusPayload(v WatcherStatusPayload) error
- func (t Event_Payload) MarshalJSON() ([]byte, error)
- func (t *Event_Payload) MergeOperationStatusPayload(v OperationStatusPayload) error
- func (t *Event_Payload) MergeWalletStatusPayload(v WalletStatusPayload) error
- func (t *Event_Payload) MergeWatcherEventPayload(v WatcherEventPayload) error
- func (t *Event_Payload) MergeWatcherStatusPayload(v WatcherStatusPayload) error
- func (t *Event_Payload) UnmarshalJSON(b []byte) error
- type GetChannelsChannelIdEventsParams
- type GetChannelsChannelIdEventsResponse
- type GetChannelsChannelIdEventsSearchEventIdResponse
- type GetChannelsChannelIdEventsSearchParams
- type GetChannelsChannelIdEventsSearchResponse
- type GetChannelsChannelIdOperationsOperationIdResponse
- type GetChannelsChannelIdOperationsParams
- type GetChannelsChannelIdOperationsResponse
- type GetChannelsChannelIdResponse
- type GetChannelsChannelIdWatchersParams
- type GetChannelsChannelIdWatchersResponse
- type GetChannelsChannelIdWatchersWatcherIdResponse
- type GetChannelsParams
- type GetChannelsResponse
- type GetHealthCheckResponse
- type GetNetworksResponse
- type GetWalletsParams
- type GetWalletsResponse
- type GetWalletsWalletIdResponse
- type HealthCheck
- type HttpRequestDoer
- type Network
- type NetworkList
- type OCRProof
- type Operation
- type OperationList
- type OperationResponse
- type OperationStatus
- type OperationStatusPayload
- type PatchChannel
- type PatchChannelsChannelIdJSONRequestBody
- type PatchChannelsChannelIdResponse
- type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody
- type PatchChannelsChannelIdWatchersWatcherIdResponse
- type PatchWalletsWalletIdJSONRequestBody
- type PatchWalletsWalletIdResponse
- type PostChannelsChannelIdOperationsJSONRequestBody
- type PostChannelsChannelIdOperationsResponse
- type PostChannelsChannelIdWatchersJSONRequestBody
- type PostChannelsChannelIdWatchersResponse
- type PostChannelsJSONRequestBody
- type PostChannelsResponse
- type PostWalletsJSONRequestBody
- type PostWalletsResponse
- type RSAPublicKey
- type RSASignersList
- type RequestEditorFn
- type Timestamp
- type TransactionRequest
- type UpdateWallet
- type UpdateWatcher
- type Wallet
- type WalletEventStatus
- type WalletList
- type WalletStatus
- type WalletStatusPayload
- type WalletType
- type Watcher
- type WatcherEventPayload
- type WatcherEventStatus
- type WatcherList
- type WatcherStatus
- type WatcherStatusPayload
- type WatcherSummary
Constants ¶
const (
ApiKeyAuthScopes = "ApiKeyAuth.Scopes"
)
Variables ¶
This section is empty.
Functions ¶
func NewGetChannelsChannelIdEventsRequest ¶
func NewGetChannelsChannelIdEventsRequest(server string, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsParams) (*http.Request, error)
NewGetChannelsChannelIdEventsRequest generates requests for GetChannelsChannelIdEvents
func NewGetChannelsChannelIdEventsSearchEventIdRequest ¶
func NewGetChannelsChannelIdEventsSearchEventIdRequest(server string, channelId openapi_types.UUID, eventId openapi_types.UUID) (*http.Request, error)
NewGetChannelsChannelIdEventsSearchEventIdRequest generates requests for GetChannelsChannelIdEventsSearchEventId
func NewGetChannelsChannelIdEventsSearchRequest ¶
func NewGetChannelsChannelIdEventsSearchRequest(server string, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsSearchParams) (*http.Request, error)
NewGetChannelsChannelIdEventsSearchRequest generates requests for GetChannelsChannelIdEventsSearch
func NewGetChannelsChannelIdOperationsOperationIdRequest ¶
func NewGetChannelsChannelIdOperationsOperationIdRequest(server string, channelId openapi_types.UUID, operationId openapi_types.UUID) (*http.Request, error)
NewGetChannelsChannelIdOperationsOperationIdRequest generates requests for GetChannelsChannelIdOperationsOperationId
func NewGetChannelsChannelIdOperationsRequest ¶
func NewGetChannelsChannelIdOperationsRequest(server string, channelId openapi_types.UUID, params *GetChannelsChannelIdOperationsParams) (*http.Request, error)
NewGetChannelsChannelIdOperationsRequest generates requests for GetChannelsChannelIdOperations
func NewGetChannelsChannelIdRequest ¶
func NewGetChannelsChannelIdRequest(server string, channelId openapi_types.UUID) (*http.Request, error)
NewGetChannelsChannelIdRequest generates requests for GetChannelsChannelId
func NewGetChannelsChannelIdWatchersRequest ¶
func NewGetChannelsChannelIdWatchersRequest(server string, channelId openapi_types.UUID, params *GetChannelsChannelIdWatchersParams) (*http.Request, error)
NewGetChannelsChannelIdWatchersRequest generates requests for GetChannelsChannelIdWatchers
func NewGetChannelsChannelIdWatchersWatcherIdRequest ¶
func NewGetChannelsChannelIdWatchersWatcherIdRequest(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID) (*http.Request, error)
NewGetChannelsChannelIdWatchersWatcherIdRequest generates requests for GetChannelsChannelIdWatchersWatcherId
func NewGetChannelsRequest ¶
func NewGetChannelsRequest(server string, params *GetChannelsParams) (*http.Request, error)
NewGetChannelsRequest generates requests for GetChannels
func NewGetHealthCheckRequest ¶
NewGetHealthCheckRequest generates requests for GetHealthCheck
func NewGetNetworksRequest ¶
NewGetNetworksRequest generates requests for GetNetworks
func NewGetWalletsRequest ¶
func NewGetWalletsRequest(server string, params *GetWalletsParams) (*http.Request, error)
NewGetWalletsRequest generates requests for GetWallets
func NewGetWalletsWalletIdRequest ¶
func NewGetWalletsWalletIdRequest(server string, walletId openapi_types.UUID) (*http.Request, error)
NewGetWalletsWalletIdRequest generates requests for GetWalletsWalletId
func NewPatchChannelsChannelIdRequest ¶
func NewPatchChannelsChannelIdRequest(server string, channelId openapi_types.UUID, body PatchChannelsChannelIdJSONRequestBody) (*http.Request, error)
NewPatchChannelsChannelIdRequest calls the generic PatchChannelsChannelId builder with application/json body
func NewPatchChannelsChannelIdRequestWithBody ¶
func NewPatchChannelsChannelIdRequestWithBody(server string, channelId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPatchChannelsChannelIdRequestWithBody generates requests for PatchChannelsChannelId with any type of body
func NewPatchChannelsChannelIdWatchersWatcherIdRequest ¶
func NewPatchChannelsChannelIdWatchersWatcherIdRequest(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID, body PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody) (*http.Request, error)
NewPatchChannelsChannelIdWatchersWatcherIdRequest calls the generic PatchChannelsChannelIdWatchersWatcherId builder with application/json body
func NewPatchChannelsChannelIdWatchersWatcherIdRequestWithBody ¶
func NewPatchChannelsChannelIdWatchersWatcherIdRequestWithBody(server string, channelId openapi_types.UUID, watcherId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPatchChannelsChannelIdWatchersWatcherIdRequestWithBody generates requests for PatchChannelsChannelIdWatchersWatcherId with any type of body
func NewPatchWalletsWalletIdRequest ¶
func NewPatchWalletsWalletIdRequest(server string, walletId openapi_types.UUID, body PatchWalletsWalletIdJSONRequestBody) (*http.Request, error)
NewPatchWalletsWalletIdRequest calls the generic PatchWalletsWalletId builder with application/json body
func NewPatchWalletsWalletIdRequestWithBody ¶
func NewPatchWalletsWalletIdRequestWithBody(server string, walletId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPatchWalletsWalletIdRequestWithBody generates requests for PatchWalletsWalletId with any type of body
func NewPostChannelsChannelIdOperationsRequest ¶
func NewPostChannelsChannelIdOperationsRequest(server string, channelId openapi_types.UUID, body PostChannelsChannelIdOperationsJSONRequestBody) (*http.Request, error)
NewPostChannelsChannelIdOperationsRequest calls the generic PostChannelsChannelIdOperations builder with application/json body
func NewPostChannelsChannelIdOperationsRequestWithBody ¶
func NewPostChannelsChannelIdOperationsRequestWithBody(server string, channelId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostChannelsChannelIdOperationsRequestWithBody generates requests for PostChannelsChannelIdOperations with any type of body
func NewPostChannelsChannelIdWatchersRequest ¶
func NewPostChannelsChannelIdWatchersRequest(server string, channelId openapi_types.UUID, body PostChannelsChannelIdWatchersJSONRequestBody) (*http.Request, error)
NewPostChannelsChannelIdWatchersRequest calls the generic PostChannelsChannelIdWatchers builder with application/json body
func NewPostChannelsChannelIdWatchersRequestWithBody ¶
func NewPostChannelsChannelIdWatchersRequestWithBody(server string, channelId openapi_types.UUID, contentType string, body io.Reader) (*http.Request, error)
NewPostChannelsChannelIdWatchersRequestWithBody generates requests for PostChannelsChannelIdWatchers with any type of body
func NewPostChannelsRequest ¶
func NewPostChannelsRequest(server string, body PostChannelsJSONRequestBody) (*http.Request, error)
NewPostChannelsRequest calls the generic PostChannels builder with application/json body
func NewPostChannelsRequestWithBody ¶
func NewPostChannelsRequestWithBody(server string, contentType string, body io.Reader) (*http.Request, error)
NewPostChannelsRequestWithBody generates requests for PostChannels with any type of body
func NewPostWalletsRequest ¶
func NewPostWalletsRequest(server string, body PostWalletsJSONRequestBody) (*http.Request, error)
NewPostWalletsRequest calls the generic PostWallets builder with application/json body
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 Client ¶
type Client struct {
// The endpoint of the server conforming to this interface, with scheme,
// https://api.deepmap.com for example. This can contain a path relative
// to the server, such as https://api.deepmap.com/dev-test, and all the
// paths in the swagger spec will be appended to the server.
Server string
// Doer for performing requests, typically a *http.Client with any
// customized settings, such as certificate chains.
Client HttpRequestDoer
// A list of callbacks for modifying requests which are generated before sending over
// the network.
RequestEditors []RequestEditorFn
}
Client which conforms to the OpenAPI3 specification for this service.
func NewClient ¶
func NewClient(server string, opts ...ClientOption) (*Client, error)
Creates a new Client, with reasonable defaults
func (*Client) GetChannels ¶
func (c *Client) GetChannels(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelId ¶
func (c *Client) GetChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdEvents ¶
func (c *Client) GetChannelsChannelIdEvents(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdEventsSearch ¶
func (c *Client) GetChannelsChannelIdEventsSearch(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdEventsSearchEventId ¶
func (c *Client) GetChannelsChannelIdEventsSearchEventId(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdOperations ¶
func (c *Client) GetChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdOperationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdOperationsOperationId ¶
func (c *Client) GetChannelsChannelIdOperationsOperationId(ctx context.Context, channelId openapi_types.UUID, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdWatchers ¶
func (c *Client) GetChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdWatchersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetChannelsChannelIdWatchersWatcherId ¶
func (c *Client) GetChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetHealthCheck ¶
func (*Client) GetNetworks ¶
func (*Client) GetWallets ¶
func (c *Client) GetWallets(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) GetWalletsWalletId ¶
func (c *Client) GetWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchChannelsChannelId ¶
func (c *Client) PatchChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchChannelsChannelIdWatchersWatcherId ¶
func (c *Client) PatchChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, body PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchChannelsChannelIdWatchersWatcherIdWithBody ¶
func (c *Client) PatchChannelsChannelIdWatchersWatcherIdWithBody(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchChannelsChannelIdWithBody ¶
func (*Client) PatchWalletsWalletId ¶
func (c *Client) PatchWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, body PatchWalletsWalletIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PatchWalletsWalletIdWithBody ¶
func (*Client) PostChannels ¶
func (c *Client) PostChannels(ctx context.Context, body PostChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostChannelsChannelIdOperations ¶
func (c *Client) PostChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdOperationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostChannelsChannelIdOperationsWithBody ¶
func (*Client) PostChannelsChannelIdWatchers ¶
func (c *Client) PostChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdWatchersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
func (*Client) PostChannelsChannelIdWatchersWithBody ¶
func (*Client) PostChannelsWithBody ¶
func (*Client) PostWallets ¶
func (c *Client) PostWallets(ctx context.Context, body PostWalletsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
type ClientInterface ¶
type ClientInterface interface {
// GetChannels request
GetChannels(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostChannelsWithBody request with any body
PostChannelsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostChannels(ctx context.Context, body PostChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelId request
GetChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchChannelsChannelIdWithBody request with any body
PatchChannelsChannelIdWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchChannelsChannelId(ctx context.Context, channelId openapi_types.UUID, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdEvents request
GetChannelsChannelIdEvents(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdEventsSearch request
GetChannelsChannelIdEventsSearch(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsSearchParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdEventsSearchEventId request
GetChannelsChannelIdEventsSearchEventId(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdOperations request
GetChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdOperationsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostChannelsChannelIdOperationsWithBody request with any body
PostChannelsChannelIdOperationsWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostChannelsChannelIdOperations(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdOperationsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdOperationsOperationId request
GetChannelsChannelIdOperationsOperationId(ctx context.Context, channelId openapi_types.UUID, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdWatchers request
GetChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdWatchersParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostChannelsChannelIdWatchersWithBody request with any body
PostChannelsChannelIdWatchersWithBody(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostChannelsChannelIdWatchers(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdWatchersJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetChannelsChannelIdWatchersWatcherId request
GetChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchChannelsChannelIdWatchersWatcherIdWithBody request with any body
PatchChannelsChannelIdWatchersWatcherIdWithBody(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchChannelsChannelIdWatchersWatcherId(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, body PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetHealthCheck request
GetHealthCheck(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetNetworks request
GetNetworks(ctx context.Context, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWallets request
GetWallets(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*http.Response, error)
// PostWalletsWithBody request with any body
PostWalletsWithBody(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PostWallets(ctx context.Context, body PostWalletsJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
// GetWalletsWalletId request
GetWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, reqEditors ...RequestEditorFn) (*http.Response, error)
// PatchWalletsWalletIdWithBody request with any body
PatchWalletsWalletIdWithBody(ctx context.Context, walletId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*http.Response, error)
PatchWalletsWalletId(ctx context.Context, walletId openapi_types.UUID, body PatchWalletsWalletIdJSONRequestBody, reqEditors ...RequestEditorFn) (*http.Response, error)
}
The interface specification for the client above.
type ClientOption ¶
ClientOption allows setting custom parameters during construction
func WithHTTPClient ¶
func WithHTTPClient(doer HttpRequestDoer) ClientOption
WithHTTPClient allows overriding the default Doer, which is automatically created using http.Client. This is useful for tests.
func WithRequestEditorFn ¶
func WithRequestEditorFn(fn RequestEditorFn) ClientOption
WithRequestEditorFn allows setting up a callback function, which will be called right before sending the request. This can be used to mutate the request.
type ClientWithResponses ¶
type ClientWithResponses struct {
ClientInterface
}
ClientWithResponses builds on ClientInterface to offer response payloads
func NewClientWithResponses ¶
func NewClientWithResponses(server string, opts ...ClientOption) (*ClientWithResponses, error)
NewClientWithResponses creates a new ClientWithResponses, which wraps Client with return type handling
func (*ClientWithResponses) GetChannelsChannelIdEventsSearchEventIdWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdEventsSearchEventIdWithResponse(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsSearchEventIdResponse, error)
GetChannelsChannelIdEventsSearchEventIdWithResponse request returning *GetChannelsChannelIdEventsSearchEventIdResponse
func (*ClientWithResponses) GetChannelsChannelIdEventsSearchWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdEventsSearchWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsSearchParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsSearchResponse, error)
GetChannelsChannelIdEventsSearchWithResponse request returning *GetChannelsChannelIdEventsSearchResponse
func (*ClientWithResponses) GetChannelsChannelIdEventsWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdEventsWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsResponse, error)
GetChannelsChannelIdEventsWithResponse request returning *GetChannelsChannelIdEventsResponse
func (*ClientWithResponses) GetChannelsChannelIdOperationsOperationIdWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdOperationsOperationIdWithResponse(ctx context.Context, channelId openapi_types.UUID, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdOperationsOperationIdResponse, error)
GetChannelsChannelIdOperationsOperationIdWithResponse request returning *GetChannelsChannelIdOperationsOperationIdResponse
func (*ClientWithResponses) GetChannelsChannelIdOperationsWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdOperationsParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdOperationsResponse, error)
GetChannelsChannelIdOperationsWithResponse request returning *GetChannelsChannelIdOperationsResponse
func (*ClientWithResponses) GetChannelsChannelIdWatchersWatcherIdWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdWatchersWatcherIdResponse, error)
GetChannelsChannelIdWatchersWatcherIdWithResponse request returning *GetChannelsChannelIdWatchersWatcherIdResponse
func (*ClientWithResponses) GetChannelsChannelIdWatchersWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdWatchersParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdWatchersResponse, error)
GetChannelsChannelIdWatchersWithResponse request returning *GetChannelsChannelIdWatchersResponse
func (*ClientWithResponses) GetChannelsChannelIdWithResponse ¶
func (c *ClientWithResponses) GetChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdResponse, error)
GetChannelsChannelIdWithResponse request returning *GetChannelsChannelIdResponse
func (*ClientWithResponses) GetChannelsWithResponse ¶
func (c *ClientWithResponses) GetChannelsWithResponse(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*GetChannelsResponse, error)
GetChannelsWithResponse request returning *GetChannelsResponse
func (*ClientWithResponses) GetHealthCheckWithResponse ¶
func (c *ClientWithResponses) GetHealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthCheckResponse, error)
GetHealthCheckWithResponse request returning *GetHealthCheckResponse
func (*ClientWithResponses) GetNetworksWithResponse ¶
func (c *ClientWithResponses) GetNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNetworksResponse, error)
GetNetworksWithResponse request returning *GetNetworksResponse
func (*ClientWithResponses) GetWalletsWalletIdWithResponse ¶
func (c *ClientWithResponses) GetWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWalletsWalletIdResponse, error)
GetWalletsWalletIdWithResponse request returning *GetWalletsWalletIdResponse
func (*ClientWithResponses) GetWalletsWithResponse ¶
func (c *ClientWithResponses) GetWalletsWithResponse(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*GetWalletsResponse, error)
GetWalletsWithResponse request returning *GetWalletsResponse
func (*ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse request with arbitrary body returning *PatchChannelsChannelIdWatchersWatcherIdResponse
func (*ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithResponse ¶
func (c *ClientWithResponses) PatchChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, body PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
func (*ClientWithResponses) PatchChannelsChannelIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchChannelsChannelIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)
PatchChannelsChannelIdWithBodyWithResponse request with arbitrary body returning *PatchChannelsChannelIdResponse
func (*ClientWithResponses) PatchChannelsChannelIdWithResponse ¶
func (c *ClientWithResponses) PatchChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)
func (*ClientWithResponses) PatchWalletsWalletIdWithBodyWithResponse ¶
func (c *ClientWithResponses) PatchWalletsWalletIdWithBodyWithResponse(ctx context.Context, walletId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchWalletsWalletIdResponse, error)
PatchWalletsWalletIdWithBodyWithResponse request with arbitrary body returning *PatchWalletsWalletIdResponse
func (*ClientWithResponses) PatchWalletsWalletIdWithResponse ¶
func (c *ClientWithResponses) PatchWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, body PatchWalletsWalletIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchWalletsWalletIdResponse, error)
func (*ClientWithResponses) PostChannelsChannelIdOperationsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostChannelsChannelIdOperationsWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdOperationsResponse, error)
PostChannelsChannelIdOperationsWithBodyWithResponse request with arbitrary body returning *PostChannelsChannelIdOperationsResponse
func (*ClientWithResponses) PostChannelsChannelIdOperationsWithResponse ¶
func (c *ClientWithResponses) PostChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdOperationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdOperationsResponse, error)
func (*ClientWithResponses) PostChannelsChannelIdWatchersWithBodyWithResponse ¶
func (c *ClientWithResponses) PostChannelsChannelIdWatchersWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdWatchersResponse, error)
PostChannelsChannelIdWatchersWithBodyWithResponse request with arbitrary body returning *PostChannelsChannelIdWatchersResponse
func (*ClientWithResponses) PostChannelsChannelIdWatchersWithResponse ¶
func (c *ClientWithResponses) PostChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdWatchersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdWatchersResponse, error)
func (*ClientWithResponses) PostChannelsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostChannelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsResponse, error)
PostChannelsWithBodyWithResponse request with arbitrary body returning *PostChannelsResponse
func (*ClientWithResponses) PostChannelsWithResponse ¶
func (c *ClientWithResponses) PostChannelsWithResponse(ctx context.Context, body PostChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsResponse, error)
func (*ClientWithResponses) PostWalletsWithBodyWithResponse ¶
func (c *ClientWithResponses) PostWalletsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWalletsResponse, error)
PostWalletsWithBodyWithResponse request with arbitrary body returning *PostWalletsResponse
func (*ClientWithResponses) PostWalletsWithResponse ¶
func (c *ClientWithResponses) PostWalletsWithResponse(ctx context.Context, body PostWalletsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWalletsResponse, error)
type ClientWithResponsesInterface ¶
type ClientWithResponsesInterface interface {
// GetChannelsWithResponse request
GetChannelsWithResponse(ctx context.Context, params *GetChannelsParams, reqEditors ...RequestEditorFn) (*GetChannelsResponse, error)
// PostChannelsWithBodyWithResponse request with any body
PostChannelsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsResponse, error)
PostChannelsWithResponse(ctx context.Context, body PostChannelsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsResponse, error)
// GetChannelsChannelIdWithResponse request
GetChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdResponse, error)
// PatchChannelsChannelIdWithBodyWithResponse request with any body
PatchChannelsChannelIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)
PatchChannelsChannelIdWithResponse(ctx context.Context, channelId openapi_types.UUID, body PatchChannelsChannelIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdResponse, error)
// GetChannelsChannelIdEventsWithResponse request
GetChannelsChannelIdEventsWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsResponse, error)
// GetChannelsChannelIdEventsSearchWithResponse request
GetChannelsChannelIdEventsSearchWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdEventsSearchParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsSearchResponse, error)
// GetChannelsChannelIdEventsSearchEventIdWithResponse request
GetChannelsChannelIdEventsSearchEventIdWithResponse(ctx context.Context, channelId openapi_types.UUID, eventId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdEventsSearchEventIdResponse, error)
// GetChannelsChannelIdOperationsWithResponse request
GetChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdOperationsParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdOperationsResponse, error)
// PostChannelsChannelIdOperationsWithBodyWithResponse request with any body
PostChannelsChannelIdOperationsWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdOperationsResponse, error)
PostChannelsChannelIdOperationsWithResponse(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdOperationsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdOperationsResponse, error)
// GetChannelsChannelIdOperationsOperationIdWithResponse request
GetChannelsChannelIdOperationsOperationIdWithResponse(ctx context.Context, channelId openapi_types.UUID, operationId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdOperationsOperationIdResponse, error)
// GetChannelsChannelIdWatchersWithResponse request
GetChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, params *GetChannelsChannelIdWatchersParams, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdWatchersResponse, error)
// PostChannelsChannelIdWatchersWithBodyWithResponse request with any body
PostChannelsChannelIdWatchersWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdWatchersResponse, error)
PostChannelsChannelIdWatchersWithResponse(ctx context.Context, channelId openapi_types.UUID, body PostChannelsChannelIdWatchersJSONRequestBody, reqEditors ...RequestEditorFn) (*PostChannelsChannelIdWatchersResponse, error)
// GetChannelsChannelIdWatchersWatcherIdWithResponse request
GetChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetChannelsChannelIdWatchersWatcherIdResponse, error)
// PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse request with any body
PatchChannelsChannelIdWatchersWatcherIdWithBodyWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
PatchChannelsChannelIdWatchersWatcherIdWithResponse(ctx context.Context, channelId openapi_types.UUID, watcherId openapi_types.UUID, body PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
// GetHealthCheckWithResponse request
GetHealthCheckWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetHealthCheckResponse, error)
// GetNetworksWithResponse request
GetNetworksWithResponse(ctx context.Context, reqEditors ...RequestEditorFn) (*GetNetworksResponse, error)
// GetWalletsWithResponse request
GetWalletsWithResponse(ctx context.Context, params *GetWalletsParams, reqEditors ...RequestEditorFn) (*GetWalletsResponse, error)
// PostWalletsWithBodyWithResponse request with any body
PostWalletsWithBodyWithResponse(ctx context.Context, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PostWalletsResponse, error)
PostWalletsWithResponse(ctx context.Context, body PostWalletsJSONRequestBody, reqEditors ...RequestEditorFn) (*PostWalletsResponse, error)
// GetWalletsWalletIdWithResponse request
GetWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, reqEditors ...RequestEditorFn) (*GetWalletsWalletIdResponse, error)
// PatchWalletsWalletIdWithBodyWithResponse request with any body
PatchWalletsWalletIdWithBodyWithResponse(ctx context.Context, walletId openapi_types.UUID, contentType string, body io.Reader, reqEditors ...RequestEditorFn) (*PatchWalletsWalletIdResponse, error)
PatchWalletsWalletIdWithResponse(ctx context.Context, walletId openapi_types.UUID, body PatchWalletsWalletIdJSONRequestBody, reqEditors ...RequestEditorFn) (*PatchWalletsWalletIdResponse, error)
}
ClientWithResponsesInterface is the interface specification for the client with responses above.
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 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 GetChannelsChannelIdEventsResponse ¶
type GetChannelsChannelIdEventsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EventList
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdEventsResponse ¶
func ParseGetChannelsChannelIdEventsResponse(rsp *http.Response) (*GetChannelsChannelIdEventsResponse, error)
ParseGetChannelsChannelIdEventsResponse parses an HTTP response from a GetChannelsChannelIdEventsWithResponse call
func (GetChannelsChannelIdEventsResponse) Status ¶
func (r GetChannelsChannelIdEventsResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdEventsResponse) StatusCode ¶
func (r GetChannelsChannelIdEventsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChannelsChannelIdEventsSearchEventIdResponse ¶
type GetChannelsChannelIdEventsSearchEventIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Event
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdEventsSearchEventIdResponse ¶
func ParseGetChannelsChannelIdEventsSearchEventIdResponse(rsp *http.Response) (*GetChannelsChannelIdEventsSearchEventIdResponse, error)
ParseGetChannelsChannelIdEventsSearchEventIdResponse parses an HTTP response from a GetChannelsChannelIdEventsSearchEventIdWithResponse call
func (GetChannelsChannelIdEventsSearchEventIdResponse) Status ¶
func (r GetChannelsChannelIdEventsSearchEventIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdEventsSearchEventIdResponse) StatusCode ¶
func (r GetChannelsChannelIdEventsSearchEventIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 GetChannelsChannelIdEventsSearchResponse ¶
type GetChannelsChannelIdEventsSearchResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *EventList
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdEventsSearchResponse ¶
func ParseGetChannelsChannelIdEventsSearchResponse(rsp *http.Response) (*GetChannelsChannelIdEventsSearchResponse, error)
ParseGetChannelsChannelIdEventsSearchResponse parses an HTTP response from a GetChannelsChannelIdEventsSearchWithResponse call
func (GetChannelsChannelIdEventsSearchResponse) Status ¶
func (r GetChannelsChannelIdEventsSearchResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdEventsSearchResponse) StatusCode ¶
func (r GetChannelsChannelIdEventsSearchResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChannelsChannelIdOperationsOperationIdResponse ¶
type GetChannelsChannelIdOperationsOperationIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Operation
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdOperationsOperationIdResponse ¶
func ParseGetChannelsChannelIdOperationsOperationIdResponse(rsp *http.Response) (*GetChannelsChannelIdOperationsOperationIdResponse, error)
ParseGetChannelsChannelIdOperationsOperationIdResponse parses an HTTP response from a GetChannelsChannelIdOperationsOperationIdWithResponse call
func (GetChannelsChannelIdOperationsOperationIdResponse) Status ¶
func (r GetChannelsChannelIdOperationsOperationIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdOperationsOperationIdResponse) StatusCode ¶
func (r GetChannelsChannelIdOperationsOperationIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 GetChannelsChannelIdOperationsResponse ¶
type GetChannelsChannelIdOperationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *OperationList
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdOperationsResponse ¶
func ParseGetChannelsChannelIdOperationsResponse(rsp *http.Response) (*GetChannelsChannelIdOperationsResponse, error)
ParseGetChannelsChannelIdOperationsResponse parses an HTTP response from a GetChannelsChannelIdOperationsWithResponse call
func (GetChannelsChannelIdOperationsResponse) Status ¶
func (r GetChannelsChannelIdOperationsResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdOperationsResponse) StatusCode ¶
func (r GetChannelsChannelIdOperationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChannelsChannelIdResponse ¶
type GetChannelsChannelIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Channel
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdResponse ¶
func ParseGetChannelsChannelIdResponse(rsp *http.Response) (*GetChannelsChannelIdResponse, error)
ParseGetChannelsChannelIdResponse parses an HTTP response from a GetChannelsChannelIdWithResponse call
func (GetChannelsChannelIdResponse) Status ¶
func (r GetChannelsChannelIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdResponse) StatusCode ¶
func (r GetChannelsChannelIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 GetChannelsChannelIdWatchersResponse ¶
type GetChannelsChannelIdWatchersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WatcherList
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdWatchersResponse ¶
func ParseGetChannelsChannelIdWatchersResponse(rsp *http.Response) (*GetChannelsChannelIdWatchersResponse, error)
ParseGetChannelsChannelIdWatchersResponse parses an HTTP response from a GetChannelsChannelIdWatchersWithResponse call
func (GetChannelsChannelIdWatchersResponse) Status ¶
func (r GetChannelsChannelIdWatchersResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdWatchersResponse) StatusCode ¶
func (r GetChannelsChannelIdWatchersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetChannelsChannelIdWatchersWatcherIdResponse ¶
type GetChannelsChannelIdWatchersWatcherIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Watcher
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetChannelsChannelIdWatchersWatcherIdResponse ¶
func ParseGetChannelsChannelIdWatchersWatcherIdResponse(rsp *http.Response) (*GetChannelsChannelIdWatchersWatcherIdResponse, error)
ParseGetChannelsChannelIdWatchersWatcherIdResponse parses an HTTP response from a GetChannelsChannelIdWatchersWatcherIdWithResponse call
func (GetChannelsChannelIdWatchersWatcherIdResponse) Status ¶
func (r GetChannelsChannelIdWatchersWatcherIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsChannelIdWatchersWatcherIdResponse) StatusCode ¶
func (r GetChannelsChannelIdWatchersWatcherIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 GetChannelsResponse ¶
type GetChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *ChannelList
JSON500 *ApplicationError
}
func ParseGetChannelsResponse ¶
func ParseGetChannelsResponse(rsp *http.Response) (*GetChannelsResponse, error)
ParseGetChannelsResponse parses an HTTP response from a GetChannelsWithResponse call
func (GetChannelsResponse) Status ¶
func (r GetChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (GetChannelsResponse) StatusCode ¶
func (r GetChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetHealthCheckResponse ¶
type GetHealthCheckResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *HealthCheck
}
func ParseGetHealthCheckResponse ¶
func ParseGetHealthCheckResponse(rsp *http.Response) (*GetHealthCheckResponse, error)
ParseGetHealthCheckResponse parses an HTTP response from a GetHealthCheckWithResponse call
func (GetHealthCheckResponse) Status ¶
func (r GetHealthCheckResponse) Status() string
Status returns HTTPResponse.Status
func (GetHealthCheckResponse) StatusCode ¶
func (r GetHealthCheckResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetNetworksResponse ¶
type GetNetworksResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *NetworkList
JSON500 *ApplicationError
}
func ParseGetNetworksResponse ¶
func ParseGetNetworksResponse(rsp *http.Response) (*GetNetworksResponse, error)
ParseGetNetworksResponse parses an HTTP response from a GetNetworksWithResponse call
func (GetNetworksResponse) Status ¶
func (r GetNetworksResponse) Status() string
Status returns HTTPResponse.Status
func (GetNetworksResponse) StatusCode ¶
func (r GetNetworksResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 GetWalletsResponse ¶
type GetWalletsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *WalletList
JSON500 *ApplicationError
}
func ParseGetWalletsResponse ¶
func ParseGetWalletsResponse(rsp *http.Response) (*GetWalletsResponse, error)
ParseGetWalletsResponse parses an HTTP response from a GetWalletsWithResponse call
func (GetWalletsResponse) Status ¶
func (r GetWalletsResponse) Status() string
Status returns HTTPResponse.Status
func (GetWalletsResponse) StatusCode ¶
func (r GetWalletsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type GetWalletsWalletIdResponse ¶
type GetWalletsWalletIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Wallet
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParseGetWalletsWalletIdResponse ¶
func ParseGetWalletsWalletIdResponse(rsp *http.Response) (*GetWalletsWalletIdResponse, error)
ParseGetWalletsWalletIdResponse parses an HTTP response from a GetWalletsWalletIdWithResponse call
func (GetWalletsWalletIdResponse) Status ¶
func (r GetWalletsWalletIdResponse) Status() string
Status returns HTTPResponse.Status
func (GetWalletsWalletIdResponse) StatusCode ¶
func (r GetWalletsWalletIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type HealthCheck ¶
type HealthCheck struct {
Status string `json:"status"`
}
HealthCheck defines model for HealthCheck.
type HttpRequestDoer ¶
Doer performs HTTP requests.
The standard http.Client implements this interface.
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 PatchChannelsChannelIdJSONRequestBody ¶
type PatchChannelsChannelIdJSONRequestBody = PatchChannel
PatchChannelsChannelIdJSONRequestBody defines body for PatchChannelsChannelId for application/json ContentType.
type PatchChannelsChannelIdResponse ¶
type PatchChannelsChannelIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Channel
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParsePatchChannelsChannelIdResponse ¶
func ParsePatchChannelsChannelIdResponse(rsp *http.Response) (*PatchChannelsChannelIdResponse, error)
ParsePatchChannelsChannelIdResponse parses an HTTP response from a PatchChannelsChannelIdWithResponse call
func (PatchChannelsChannelIdResponse) Status ¶
func (r PatchChannelsChannelIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchChannelsChannelIdResponse) StatusCode ¶
func (r PatchChannelsChannelIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody ¶
type PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody = UpdateWatcher
PatchChannelsChannelIdWatchersWatcherIdJSONRequestBody defines body for PatchChannelsChannelIdWatchersWatcherId for application/json ContentType.
type PatchChannelsChannelIdWatchersWatcherIdResponse ¶
type PatchChannelsChannelIdWatchersWatcherIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Watcher
JSON202 *Watcher
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParsePatchChannelsChannelIdWatchersWatcherIdResponse ¶
func ParsePatchChannelsChannelIdWatchersWatcherIdResponse(rsp *http.Response) (*PatchChannelsChannelIdWatchersWatcherIdResponse, error)
ParsePatchChannelsChannelIdWatchersWatcherIdResponse parses an HTTP response from a PatchChannelsChannelIdWatchersWatcherIdWithResponse call
func (PatchChannelsChannelIdWatchersWatcherIdResponse) Status ¶
func (r PatchChannelsChannelIdWatchersWatcherIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchChannelsChannelIdWatchersWatcherIdResponse) StatusCode ¶
func (r PatchChannelsChannelIdWatchersWatcherIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PatchWalletsWalletIdJSONRequestBody ¶
type PatchWalletsWalletIdJSONRequestBody = UpdateWallet
PatchWalletsWalletIdJSONRequestBody defines body for PatchWalletsWalletId for application/json ContentType.
type PatchWalletsWalletIdResponse ¶
type PatchWalletsWalletIdResponse struct {
Body []byte
HTTPResponse *http.Response
JSON200 *Wallet
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParsePatchWalletsWalletIdResponse ¶
func ParsePatchWalletsWalletIdResponse(rsp *http.Response) (*PatchWalletsWalletIdResponse, error)
ParsePatchWalletsWalletIdResponse parses an HTTP response from a PatchWalletsWalletIdWithResponse call
func (PatchWalletsWalletIdResponse) Status ¶
func (r PatchWalletsWalletIdResponse) Status() string
Status returns HTTPResponse.Status
func (PatchWalletsWalletIdResponse) StatusCode ¶
func (r PatchWalletsWalletIdResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostChannelsChannelIdOperationsJSONRequestBody ¶
type PostChannelsChannelIdOperationsJSONRequestBody = CreateOperation
PostChannelsChannelIdOperationsJSONRequestBody defines body for PostChannelsChannelIdOperations for application/json ContentType.
type PostChannelsChannelIdOperationsResponse ¶
type PostChannelsChannelIdOperationsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *OperationResponse
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParsePostChannelsChannelIdOperationsResponse ¶
func ParsePostChannelsChannelIdOperationsResponse(rsp *http.Response) (*PostChannelsChannelIdOperationsResponse, error)
ParsePostChannelsChannelIdOperationsResponse parses an HTTP response from a PostChannelsChannelIdOperationsWithResponse call
func (PostChannelsChannelIdOperationsResponse) Status ¶
func (r PostChannelsChannelIdOperationsResponse) Status() string
Status returns HTTPResponse.Status
func (PostChannelsChannelIdOperationsResponse) StatusCode ¶
func (r PostChannelsChannelIdOperationsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostChannelsChannelIdWatchersJSONRequestBody ¶
type PostChannelsChannelIdWatchersJSONRequestBody = CreateWatcher
PostChannelsChannelIdWatchersJSONRequestBody defines body for PostChannelsChannelIdWatchers for application/json ContentType.
type PostChannelsChannelIdWatchersResponse ¶
type PostChannelsChannelIdWatchersResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Watcher
JSON400 *ApplicationError
JSON404 *ApplicationError
JSON500 *ApplicationError
}
func ParsePostChannelsChannelIdWatchersResponse ¶
func ParsePostChannelsChannelIdWatchersResponse(rsp *http.Response) (*PostChannelsChannelIdWatchersResponse, error)
ParsePostChannelsChannelIdWatchersResponse parses an HTTP response from a PostChannelsChannelIdWatchersWithResponse call
func (PostChannelsChannelIdWatchersResponse) Status ¶
func (r PostChannelsChannelIdWatchersResponse) Status() string
Status returns HTTPResponse.Status
func (PostChannelsChannelIdWatchersResponse) StatusCode ¶
func (r PostChannelsChannelIdWatchersResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostChannelsJSONRequestBody ¶
type PostChannelsJSONRequestBody = CreateChannel
PostChannelsJSONRequestBody defines body for PostChannels for application/json ContentType.
type PostChannelsResponse ¶
type PostChannelsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Channel
JSON400 *ApplicationError
JSON500 *ApplicationError
}
func ParsePostChannelsResponse ¶
func ParsePostChannelsResponse(rsp *http.Response) (*PostChannelsResponse, error)
ParsePostChannelsResponse parses an HTTP response from a PostChannelsWithResponse call
func (PostChannelsResponse) Status ¶
func (r PostChannelsResponse) Status() string
Status returns HTTPResponse.Status
func (PostChannelsResponse) StatusCode ¶
func (r PostChannelsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
type PostWalletsJSONRequestBody ¶
type PostWalletsJSONRequestBody = CreateWallet
PostWalletsJSONRequestBody defines body for PostWallets for application/json ContentType.
type PostWalletsResponse ¶
type PostWalletsResponse struct {
Body []byte
HTTPResponse *http.Response
JSON201 *Wallet
JSON400 *ApplicationError
JSON500 *ApplicationError
}
func ParsePostWalletsResponse ¶
func ParsePostWalletsResponse(rsp *http.Response) (*PostWalletsResponse, error)
ParsePostWalletsResponse parses an HTTP response from a PostWalletsWithResponse call
func (PostWalletsResponse) Status ¶
func (r PostWalletsResponse) Status() string
Status returns HTTPResponse.Status
func (PostWalletsResponse) StatusCode ¶
func (r PostWalletsResponse) StatusCode() int
StatusCode returns HTTPResponse.StatusCode
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 RequestEditorFn ¶
RequestEditorFn is the function signature for the RequestEditor callback function
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.