api

package
v1.1.2 Latest Latest
Warning

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

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

README

How to Add a new endpoint

1. Define the Endpoint in OpenAPI Specification

Choose the correct API specification file:
  • Admin APIapi/admin.yaml
  • User APIapi/user.yaml
  • Base APIapi/base.yaml
Define the endpoint with:
  • Path and method (e.g., GET /v2/resource)
  • Security settings (XPubAuth type and admin/user scopes)
  • Request body (if required)
  • Response body (or status codes)
Example of an endpoint definition:
  /api/v2/admin/status:
      get:
          security:
              - XPubAuth:
                    - "admin"
          tags:
              - Admin endpoints
          summary: Get admin status
          description: >-
              This endpoint returns admin status. It is used to check if authorization header contain admin xpub.
          responses:
              200:
                  description: Success
              401:
                  $ref: "../components/errors.yaml#/components/responses/NotAuthorized"

2. Define Security, Request, and Response Bodies

All models should be defined in separate files inside the /components directory:

  • Errors/components/errors.yaml
  • Models/components/models.yaml
  • Requests/components/requests.yaml
  • Responses/components/responses.yaml

[!NOTE] If you want to add endpoint accessible without any authorization just skip the security part in the endpoint definition.

Example of a request and response definition:
components:
  schemas:
    NewRequest:
      type: object
      properties:
        name:
          type: string
        age:
          type: integer

3. Generate API code

Run the following command to generate the API definition and server interfaces:

go generate ./...

This will generate:

  • API specificationgen.api.yaml
  • Server interfacegen.api.go
  • Modelsgen.models.go

4. Implement the new endpoint

Server implementation is handled in /actions/v2/server.go directory

Expand the Server struct by:

  1. Adding a new interface (if needed), like admin.Server
  2. Implementing the new endpoint within an existing interface
Example
type Server struct {
    admin.Server
    users.Server // new server for user endpoints
}

Add your new function implementation to the corresponding interface.

5. Run SPV Wallet and test the API

How to Add a New Middleware

1. Create a new middleware

All middlewares should be added in /server/middleware/ directory.

Define your middleware function:

func MyNewMiddleware() gin.HandlerFunc {
    return func(c *gin.Context) {
        // Middleware logic here
        c.Next()
    }
}

2. Register the middleware in the server handler

Edit server.go to include the new middleware

api.RegisterHandlersWithOptions(ginEngine, v2.NewServer(), api.GinServerOptions{
    BaseURL: "",
    Middlewares: []api.MiddlewareFunc{
        middleware.SignatureAuthWithScopes(),
        // New middleware
    },
    ErrorHandler: func(c *gin.Context, err error, statusCode int) {
        spverrors.ErrorResponse(c, err, log)
    },
})

3. Run SPV Wallet and test the API

How to verify SPV Wallet binary do not contain tools.go

What Is go tool nm?

The go tool nm command analyzes compiled Go binaries and lists all symbols (functions, variables, constants) inside them.

  • It helps check which packages and functions are compiled into the final binary.
  • We use it to verify that code generation tools (like oapi-codegen) are NOT included in the binary.

Running the Check

First, build the binary:

go build -o spvwallet ./cmd/main.go

Then, check if oapi-codegen is in the binary:

go tool nm spvwallet | grep codegen

Expected Output (Good):

10285ed80 D compress/flate.codegenOrder
101261c28 R github.com/oapi-codegen/runtime..stmp_0
101fbbf40 D github.com/oapi-codegen/runtime/types..inittask
102888638 B github.com/oapi-codegen/runtime/types.emailRegex
100d4fb90 T github.com/oapi-codegen/runtime/types.init
What This Means
  • compress/flate.codegenOrderNot related to oapi-codegen (safe to ignore).
  • github.com/oapi-codegen/runtime/...This is expected! runtime is needed for API models.
  • If you see github.com/oapi-codegen/oapi-codegen/v2 in the output, then oapi-codegen is incorrectly included in the binary.

When to Run This Check?

Run this test from time to time to ensure oapi-codegen don’t accidentally get compiled into builds.

  • Before releasing a new version
  • After updating dependencies (go mod tidy)
  • After modifying build scripts

Final Summary
Check Expected Result
go tool nm myapp | grep codegen Only runtime references, no oapi-codegen
go list -m all | grep oapi-codegen oapi-codegen should be in go.mod (for development only)

Documentation

Overview

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

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

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

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

Index

Constants

View Source
const (
	XPubAuthScopes = "XPubAuth.Scopes"
)

Variables

View Source
var Yaml string

Yaml is the content of OpenAPI YAML file.

Functions

func RegisterHandlers

func RegisterHandlers(router gin.IRouter, si ServerInterface)

RegisterHandlers creates http.Handler with routing matching OpenAPI spec.

func RegisterHandlersWithOptions

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

RegisterHandlersWithOptions creates http.Handler with additional options

Types

type AddPaymailToUserJSONRequestBody

type AddPaymailToUserJSONRequestBody = RequestsAddPaymail

AddPaymailToUserJSONRequestBody defines body for AddPaymailToUser for application/json ContentType.

type AdminConfirmContactJSONRequestBody

type AdminConfirmContactJSONRequestBody = RequestsAdminConfirmContact

AdminConfirmContactJSONRequestBody defines body for AdminConfirmContact for application/json ContentType.

type AdminCreateContactJSONRequestBody

type AdminCreateContactJSONRequestBody = RequestsAdminCreateContact

AdminCreateContactJSONRequestBody defines body for AdminCreateContact for application/json ContentType.

type AdminUpdateContactJSONRequestBody

type AdminUpdateContactJSONRequestBody = RequestsUpdateContact

AdminUpdateContactJSONRequestBody defines body for AdminUpdateContact for application/json ContentType.

type CreateAddressJSONRequestBody

type CreateAddressJSONRequestBody = RequestsCreatePaymailAddress

CreateAddressJSONRequestBody defines body for CreateAddress for application/json ContentType.

type CreateTransactionOutlineJSONRequestBody

type CreateTransactionOutlineJSONRequestBody = RequestsTransactionSpecification

CreateTransactionOutlineJSONRequestBody defines body for CreateTransactionOutline for application/json ContentType.

type CreateTransactionOutlineParams

type CreateTransactionOutlineParams struct {
	// Format Required format of transaction hex
	Format *CreateTransactionOutlineParamsFormat `form:"format,omitempty" json:"format,omitempty"`
}

CreateTransactionOutlineParams defines parameters for CreateTransactionOutline.

type CreateTransactionOutlineParamsFormat

type CreateTransactionOutlineParamsFormat string

CreateTransactionOutlineParamsFormat defines parameters for CreateTransactionOutline.

Defines values for CreateTransactionOutlineParamsFormat.

type CreateUserJSONRequestBody

type CreateUserJSONRequestBody = RequestsCreateUser

CreateUserJSONRequestBody defines body for CreateUser for application/json ContentType.

type ErrorsAdminAuthOnNonAdminEndpoint

type ErrorsAdminAuthOnNonAdminEndpoint struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsAdminAuthOnNonAdminEndpoint defines model for errors_AdminAuthOnNonAdminEndpoint.

type ErrorsAdminAuthorization

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

ErrorsAdminAuthorization defines model for errors_AdminAuthorization.

func (ErrorsAdminAuthorization) AsErrorsAuthXPubRequired

func (t ErrorsAdminAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)

AsErrorsAuthXPubRequired returns the union data inside the ErrorsAdminAuthorization as a ErrorsAuthXPubRequired

func (ErrorsAdminAuthorization) AsErrorsUserAuthOnNonUserEndpoint

func (t ErrorsAdminAuthorization) AsErrorsUserAuthOnNonUserEndpoint() (ErrorsUserAuthOnNonUserEndpoint, error)

AsErrorsUserAuthOnNonUserEndpoint returns the union data inside the ErrorsAdminAuthorization as a ErrorsUserAuthOnNonUserEndpoint

func (*ErrorsAdminAuthorization) FromErrorsAuthXPubRequired

func (t *ErrorsAdminAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsAdminAuthorization as the provided ErrorsAuthXPubRequired

func (*ErrorsAdminAuthorization) FromErrorsUserAuthOnNonUserEndpoint

func (t *ErrorsAdminAuthorization) FromErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error

FromErrorsUserAuthOnNonUserEndpoint overwrites any union data inside the ErrorsAdminAuthorization as the provided ErrorsUserAuthOnNonUserEndpoint

func (ErrorsAdminAuthorization) MarshalJSON

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

func (*ErrorsAdminAuthorization) MergeErrorsAuthXPubRequired

func (t *ErrorsAdminAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsAdminAuthorization, using the provided ErrorsAuthXPubRequired

func (*ErrorsAdminAuthorization) MergeErrorsUserAuthOnNonUserEndpoint

func (t *ErrorsAdminAuthorization) MergeErrorsUserAuthOnNonUserEndpoint(v ErrorsUserAuthOnNonUserEndpoint) error

MergeErrorsUserAuthOnNonUserEndpoint performs a merge with any union data inside the ErrorsAdminAuthorization, using the provided ErrorsUserAuthOnNonUserEndpoint

func (*ErrorsAdminAuthorization) UnmarshalJSON

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

type ErrorsAnnotationIndexConversion

type ErrorsAnnotationIndexConversion struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsAnnotationIndexConversion defines model for errors_AnnotationIndexConversion.

type ErrorsAnnotationIndexOutOfRange

type ErrorsAnnotationIndexOutOfRange struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsAnnotationIndexOutOfRange defines model for errors_AnnotationIndexOutOfRange.

type ErrorsAnyAuthorization

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

ErrorsAnyAuthorization defines model for errors_AnyAuthorization.

func (ErrorsAnyAuthorization) AsErrorsAuthXPubRequired

func (t ErrorsAnyAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)

AsErrorsAuthXPubRequired returns the union data inside the ErrorsAnyAuthorization as a ErrorsAuthXPubRequired

func (ErrorsAnyAuthorization) AsErrorsUnauthorized

func (t ErrorsAnyAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)

AsErrorsUnauthorized returns the union data inside the ErrorsAnyAuthorization as a ErrorsUnauthorized

func (*ErrorsAnyAuthorization) FromErrorsAuthXPubRequired

func (t *ErrorsAnyAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsAnyAuthorization as the provided ErrorsAuthXPubRequired

func (*ErrorsAnyAuthorization) FromErrorsUnauthorized

func (t *ErrorsAnyAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error

FromErrorsUnauthorized overwrites any union data inside the ErrorsAnyAuthorization as the provided ErrorsUnauthorized

func (ErrorsAnyAuthorization) MarshalJSON

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

func (*ErrorsAnyAuthorization) MergeErrorsAuthXPubRequired

func (t *ErrorsAnyAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsAnyAuthorization, using the provided ErrorsAuthXPubRequired

func (*ErrorsAnyAuthorization) MergeErrorsUnauthorized

func (t *ErrorsAnyAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error

MergeErrorsUnauthorized performs a merge with any union data inside the ErrorsAnyAuthorization, using the provided ErrorsUnauthorized

func (*ErrorsAnyAuthorization) UnmarshalJSON

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

type ErrorsAuthXPubRequired

type ErrorsAuthXPubRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsAuthXPubRequired defines model for errors_AuthXPubRequired.

type ErrorsBHSBadRequest

type ErrorsBHSBadRequest struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSBadRequest defines model for errors_BHSBadRequest.

type ErrorsBHSBadURL

type ErrorsBHSBadURL struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSBadURL defines model for errors_BHSBadURL.

type ErrorsBHSNoSuccessResponse

type ErrorsBHSNoSuccessResponse struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSNoSuccessResponse defines model for errors_BHSNoSuccessResponse.

type ErrorsBHSParsingResponse

type ErrorsBHSParsingResponse struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSParsingResponse defines model for errors_BHSParsingResponse.

type ErrorsBHSUnauthorized

type ErrorsBHSUnauthorized struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSUnauthorized defines model for errors_BHSUnauthorized.

type ErrorsBHSUnhealthy

type ErrorsBHSUnhealthy struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSUnhealthy defines model for errors_BHSUnhealthy.

type ErrorsBHSUnreachable

type ErrorsBHSUnreachable struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsBHSUnreachable defines model for errors_BHSUnreachable.

type ErrorsCannotBindRequest

type ErrorsCannotBindRequest struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsCannotBindRequest defines model for errors_CannotBindRequest.

type ErrorsContactFailedToUpdate

type ErrorsContactFailedToUpdate struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsContactFailedToUpdate defines model for errors_ContactFailedToUpdate.

type ErrorsContactFullNameRequired

type ErrorsContactFullNameRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsContactFullNameRequired defines model for errors_ContactFullNameRequired.

type ErrorsContactInWrongStatus

type ErrorsContactInWrongStatus struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsContactInWrongStatus defines model for errors_ContactInWrongStatus.

type ErrorsContactInvalidPaymail

type ErrorsContactInvalidPaymail struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsContactInvalidPaymail defines model for errors_ContactInvalidPaymail.

type ErrorsContactNotFound

type ErrorsContactNotFound struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsContactNotFound defines model for errors_ContactNotFound.

type ErrorsCouldNotFindPaymail

type ErrorsCouldNotFindPaymail struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsCouldNotFindPaymail defines model for errors_CouldNotFindPaymail.

type ErrorsDataNotFound

type ErrorsDataNotFound struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsDataNotFound defines model for errors_DataNotFound.

type ErrorsDeleteContact

type ErrorsDeleteContact struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsDeleteContact defines model for errors_DeleteContact.

type ErrorsGetContact

type ErrorsGetContact struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsGetContact defines model for errors_GetContact.

type ErrorsGettingOutputs

type ErrorsGettingOutputs struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsGettingOutputs defines model for errors_GettingOutputs.

type ErrorsGettingPKIFailed

type ErrorsGettingPKIFailed struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsGettingPKIFailed defines model for errors_GettingPKIFailed.

type ErrorsInternal

type ErrorsInternal struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsInternal defines model for errors_Internal.

type ErrorsInvalidBatchSize

type ErrorsInvalidBatchSize struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsInvalidBatchSize defines model for errors_InvalidBatchSize.

type ErrorsInvalidDataID

type ErrorsInvalidDataID struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsInvalidDataID defines model for errors_InvalidDataID.

type ErrorsMerkleRootNotFound

type ErrorsMerkleRootNotFound struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsMerkleRootNotFound defines model for errors_MerkleRootNotFound.

type ErrorsMerkleRootNotInLongestChain

type ErrorsMerkleRootNotInLongestChain struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsMerkleRootNotInLongestChain defines model for errors_MerkleRootNotInLongestChain.

type ErrorsNoOperations

type ErrorsNoOperations struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsNoOperations defines model for errors_NoOperations.

type ErrorsNotificationsDisabled

type ErrorsNotificationsDisabled struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsNotificationsDisabled defines model for errors_NotificationsDisabled.

type ErrorsProblemDetails

type ErrorsProblemDetails struct {
	// Detail A human-readable explanation specific to this occurrence of the problem
	Detail string `json:"detail"`

	// Instance A URI reference that identifies the specific occurrence of the problem
	Instance string `json:"instance"`

	// Status The HTTP status code
	Status int `json:"status"`

	// Title A short, human-readable summary of the problem type
	Title string `json:"title"`

	// Type A URI reference that identifies the problem type
	Type string `json:"type"`
}

ErrorsProblemDetails defines model for errors_ProblemDetails.

type ErrorsSaveContact

type ErrorsSaveContact struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsSaveContact defines model for errors_SaveContact.

type ErrorsSchema

type ErrorsSchema struct {
	// Code Error code
	Code string `json:"code"`

	// Message Error message
	Message string `json:"message"`
}

ErrorsSchema defines model for errors_Schema.

type ErrorsTxBroadcast

type ErrorsTxBroadcast struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxBroadcast defines model for errors_TxBroadcast.

type ErrorsTxOutlineUserHasNotEnoughFunds

type ErrorsTxOutlineUserHasNotEnoughFunds struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxOutlineUserHasNotEnoughFunds defines model for errors_TxOutlineUserHasNotEnoughFunds.

type ErrorsTxSpecFailedToDecodeHex

type ErrorsTxSpecFailedToDecodeHex struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecFailedToDecodeHex defines model for errors_TxSpecFailedToDecodeHex.

type ErrorsTxSpecInvalidPaymailReceiver

type ErrorsTxSpecInvalidPaymailReceiver struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecInvalidPaymailReceiver defines model for errors_TxSpecInvalidPaymailReceiver.

type ErrorsTxSpecInvalidPaymailSender

type ErrorsTxSpecInvalidPaymailSender struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecInvalidPaymailSender defines model for errors_TxSpecInvalidPaymailSender.

type ErrorsTxSpecNoDefaultPaymailAddress

type ErrorsTxSpecNoDefaultPaymailAddress struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecNoDefaultPaymailAddress defines model for errors_TxSpecNoDefaultPaymailAddress.

type ErrorsTxSpecOpReturnDataRequired

type ErrorsTxSpecOpReturnDataRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecOpReturnDataRequired defines model for errors_TxSpecOpReturnDataRequired.

type ErrorsTxSpecOutputsRequired

type ErrorsTxSpecOutputsRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsTxSpecOutputsRequired defines model for errors_TxSpecOutputsRequired.

type ErrorsUTXOSpent

type ErrorsUTXOSpent struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsUTXOSpent defines model for errors_UTXOSpent.

type ErrorsUnauthorized

type ErrorsUnauthorized struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsUnauthorized defines model for errors_Unauthorized.

type ErrorsUpdateContactStatus

type ErrorsUpdateContactStatus struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsUpdateContactStatus defines model for errors_UpdateContactStatus.

type ErrorsUserAuthOnNonUserEndpoint

type ErrorsUserAuthOnNonUserEndpoint struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsUserAuthOnNonUserEndpoint defines model for errors_UserAuthOnNonUserEndpoint.

type ErrorsUserAuthorization

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

ErrorsUserAuthorization defines model for errors_UserAuthorization.

func (ErrorsUserAuthorization) AsErrorsAdminAuthOnNonAdminEndpoint

func (t ErrorsUserAuthorization) AsErrorsAdminAuthOnNonAdminEndpoint() (ErrorsAdminAuthOnNonAdminEndpoint, error)

AsErrorsAdminAuthOnNonAdminEndpoint returns the union data inside the ErrorsUserAuthorization as a ErrorsAdminAuthOnNonAdminEndpoint

func (ErrorsUserAuthorization) AsErrorsAuthXPubRequired

func (t ErrorsUserAuthorization) AsErrorsAuthXPubRequired() (ErrorsAuthXPubRequired, error)

AsErrorsAuthXPubRequired returns the union data inside the ErrorsUserAuthorization as a ErrorsAuthXPubRequired

func (ErrorsUserAuthorization) AsErrorsUnauthorized

func (t ErrorsUserAuthorization) AsErrorsUnauthorized() (ErrorsUnauthorized, error)

AsErrorsUnauthorized returns the union data inside the ErrorsUserAuthorization as a ErrorsUnauthorized

func (*ErrorsUserAuthorization) FromErrorsAdminAuthOnNonAdminEndpoint

func (t *ErrorsUserAuthorization) FromErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error

FromErrorsAdminAuthOnNonAdminEndpoint overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsAdminAuthOnNonAdminEndpoint

func (*ErrorsUserAuthorization) FromErrorsAuthXPubRequired

func (t *ErrorsUserAuthorization) FromErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

FromErrorsAuthXPubRequired overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsAuthXPubRequired

func (*ErrorsUserAuthorization) FromErrorsUnauthorized

func (t *ErrorsUserAuthorization) FromErrorsUnauthorized(v ErrorsUnauthorized) error

FromErrorsUnauthorized overwrites any union data inside the ErrorsUserAuthorization as the provided ErrorsUnauthorized

func (ErrorsUserAuthorization) MarshalJSON

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

func (*ErrorsUserAuthorization) MergeErrorsAdminAuthOnNonAdminEndpoint

func (t *ErrorsUserAuthorization) MergeErrorsAdminAuthOnNonAdminEndpoint(v ErrorsAdminAuthOnNonAdminEndpoint) error

MergeErrorsAdminAuthOnNonAdminEndpoint performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsAdminAuthOnNonAdminEndpoint

func (*ErrorsUserAuthorization) MergeErrorsAuthXPubRequired

func (t *ErrorsUserAuthorization) MergeErrorsAuthXPubRequired(v ErrorsAuthXPubRequired) error

MergeErrorsAuthXPubRequired performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsAuthXPubRequired

func (*ErrorsUserAuthorization) MergeErrorsUnauthorized

func (t *ErrorsUserAuthorization) MergeErrorsUnauthorized(v ErrorsUnauthorized) error

MergeErrorsUnauthorized performs a merge with any union data inside the ErrorsUserAuthorization, using the provided ErrorsUnauthorized

func (*ErrorsUserAuthorization) UnmarshalJSON

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

type ErrorsUserDoNotOwnPaymail

type ErrorsUserDoNotOwnPaymail struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsUserDoNotOwnPaymail defines model for errors_UserDoNotOwnPaymail.

type ErrorsWebhookTokenHeaderRequired

type ErrorsWebhookTokenHeaderRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsWebhookTokenHeaderRequired defines model for errors_WebhookTokenHeaderRequired.

type ErrorsWebhookTokenValueRequired

type ErrorsWebhookTokenValueRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsWebhookTokenValueRequired defines model for errors_WebhookTokenValueRequired.

type ErrorsWebhookUrlInvalid

type ErrorsWebhookUrlInvalid struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsWebhookUrlInvalid defines model for errors_WebhookUrlInvalid.

type ErrorsWebhookUrlRequired

type ErrorsWebhookUrlRequired struct {
	Code    interface{} `json:"code"`
	Message interface{} `json:"message"`
}

ErrorsWebhookUrlRequired defines model for errors_WebhookUrlRequired.

type GinServerOptions

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

GinServerOptions provides options for the Gin server.

type MerkleRootsParams

type MerkleRootsParams struct {
	// BatchSize Batch size of merkleroots to be returned
	BatchSize *int `form:"batchSize,omitempty" json:"batchSize,omitempty"`

	// LastEvaluatedKey Last processed merkleroot in client's database
	LastEvaluatedKey *string `form:"lastEvaluatedKey,omitempty" json:"lastEvaluatedKey,omitempty"`
}

MerkleRootsParams defines parameters for MerkleRoots.

type MiddlewareFunc

type MiddlewareFunc func(c *gin.Context)

type ModelsAnnotatedTransactionOutline

type ModelsAnnotatedTransactionOutline struct {
	Annotations *ModelsOutlineAnnotations `json:"annotations,omitempty"`

	// Format Transaction format
	Format ModelsAnnotatedTransactionOutlineFormat `json:"format"`

	// Hex Transaction hex
	Hex string `json:"hex"`
}

ModelsAnnotatedTransactionOutline defines model for models_AnnotatedTransactionOutline.

type ModelsAnnotatedTransactionOutlineFormat

type ModelsAnnotatedTransactionOutlineFormat string

ModelsAnnotatedTransactionOutlineFormat Transaction format

const (
	ModelsAnnotatedTransactionOutlineFormatBEEF ModelsAnnotatedTransactionOutlineFormat = "BEEF"
	ModelsAnnotatedTransactionOutlineFormatRAW  ModelsAnnotatedTransactionOutlineFormat = "RAW"
)

Defines values for ModelsAnnotatedTransactionOutlineFormat.

type ModelsBucketAnnotation

type ModelsBucketAnnotation struct {
	// Bucket Type of bucket where this output should be stored.
	Bucket string `json:"bucket"`
}

ModelsBucketAnnotation defines model for models_BucketAnnotation.

type ModelsChangeAnnotation

type ModelsChangeAnnotation struct {
	CustomInstructions *ModelsSPVWalletCustomInstructions `json:"customInstructions,omitempty"`
}

ModelsChangeAnnotation defines model for models_ChangeAnnotation.

type ModelsContact

type ModelsContact struct {
	CreatedAt time.Time           `json:"createdAt"`
	DeletedAt *time.Time          `json:"deletedAt,omitempty"`
	FullName  string              `json:"fullName"`
	Id        uint                `json:"id"`
	Paymail   string              `json:"paymail"`
	PubKey    string              `json:"pubKey"`
	Status    ModelsContactStatus `json:"status"`
	UpdatedAt time.Time           `json:"updatedAt"`
}

ModelsContact defines model for models_Contact.

type ModelsContactStatus

type ModelsContactStatus string

ModelsContactStatus defines model for models_ContactStatus.

const (
	Awaiting    ModelsContactStatus = "awaiting"
	Confirmed   ModelsContactStatus = "confirmed"
	Rejected    ModelsContactStatus = "rejected"
	Unconfirmed ModelsContactStatus = "unconfirmed"
)

Defines values for ModelsContactStatus.

type ModelsCustomInstructions

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

ModelsCustomInstructions defines model for models_CustomInstructions.

func (ModelsCustomInstructions) AsModelsSPVWalletCustomInstructions

func (t ModelsCustomInstructions) AsModelsSPVWalletCustomInstructions() (ModelsSPVWalletCustomInstructions, error)

AsModelsSPVWalletCustomInstructions returns the union data inside the ModelsCustomInstructions as a ModelsSPVWalletCustomInstructions

func (ModelsCustomInstructions) AsModelsUserDefinedCustomInstructions

func (t ModelsCustomInstructions) AsModelsUserDefinedCustomInstructions() (ModelsUserDefinedCustomInstructions, error)

AsModelsUserDefinedCustomInstructions returns the union data inside the ModelsCustomInstructions as a ModelsUserDefinedCustomInstructions

func (*ModelsCustomInstructions) FromModelsSPVWalletCustomInstructions

func (t *ModelsCustomInstructions) FromModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error

FromModelsSPVWalletCustomInstructions overwrites any union data inside the ModelsCustomInstructions as the provided ModelsSPVWalletCustomInstructions

func (*ModelsCustomInstructions) FromModelsUserDefinedCustomInstructions

func (t *ModelsCustomInstructions) FromModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error

FromModelsUserDefinedCustomInstructions overwrites any union data inside the ModelsCustomInstructions as the provided ModelsUserDefinedCustomInstructions

func (ModelsCustomInstructions) MarshalJSON

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

func (*ModelsCustomInstructions) MergeModelsSPVWalletCustomInstructions

func (t *ModelsCustomInstructions) MergeModelsSPVWalletCustomInstructions(v ModelsSPVWalletCustomInstructions) error

MergeModelsSPVWalletCustomInstructions performs a merge with any union data inside the ModelsCustomInstructions, using the provided ModelsSPVWalletCustomInstructions

func (*ModelsCustomInstructions) MergeModelsUserDefinedCustomInstructions

func (t *ModelsCustomInstructions) MergeModelsUserDefinedCustomInstructions(v ModelsUserDefinedCustomInstructions) error

MergeModelsUserDefinedCustomInstructions performs a merge with any union data inside the ModelsCustomInstructions, using the provided ModelsUserDefinedCustomInstructions

func (*ModelsCustomInstructions) UnmarshalJSON

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

type ModelsData

type ModelsData struct {
	// Blob Data blob
	Blob string `json:"blob"`

	// Id User ID
	Id string `json:"id"`
}

ModelsData defines model for models_Data.

type ModelsDataAnnotation

type ModelsDataAnnotation struct {
	Bucket ModelsDataAnnotationBucket `json:"bucket"`
}

ModelsDataAnnotation defines model for models_DataAnnotation.

type ModelsDataAnnotationBucket

type ModelsDataAnnotationBucket string

ModelsDataAnnotationBucket defines model for ModelsDataAnnotation.Bucket.

const (
	Data ModelsDataAnnotationBucket = "data"
)

Defines values for ModelsDataAnnotationBucket.

type ModelsExclusiveStartKeySearchPage

type ModelsExclusiveStartKeySearchPage struct {
	// LastEvaluatedKey Last evaluated key
	LastEvaluatedKey string `json:"lastEvaluatedKey"`

	// Size Number of items in returned data
	Size int `json:"size"`

	// TotalElements Total number of items
	TotalElements int `json:"totalElements"`
}

ModelsExclusiveStartKeySearchPage defines model for models_ExclusiveStartKeySearchPage.

type ModelsGetMerkleRootResult

type ModelsGetMerkleRootResult struct {
	Content []ModelsMerkleRoot                `json:"content"`
	Page    ModelsExclusiveStartKeySearchPage `json:"page"`
}

ModelsGetMerkleRootResult defines model for models_GetMerkleRootResult.

type ModelsInputAnnotation

type ModelsInputAnnotation struct {
	CustomInstructions ModelsCustomInstructions `json:"customInstructions"`
}

ModelsInputAnnotation defines model for models_InputAnnotation.

type ModelsInputsAnnotations

type ModelsInputsAnnotations struct {
	// Inputs Map of input annotations
	Inputs map[string]ModelsInputAnnotation `json:"inputs"`
}

ModelsInputsAnnotations defines model for models_InputsAnnotations.

type ModelsMerkleRoot

type ModelsMerkleRoot struct {
	// BlockHeight Block height
	BlockHeight int `json:"blockHeight"`

	// MerkleRoot Transaction ID
	MerkleRoot string `json:"merkleRoot"`
}

ModelsMerkleRoot defines model for models_MerkleRoot.

type ModelsModel

type ModelsModel struct {
	CreatedAt time.Time  `json:"createdAt"`
	DeletedAt *time.Time `json:"deletedAt,omitempty"`
	UpdatedAt time.Time  `json:"updatedAt"`
}

ModelsModel defines model for models_Model.

type ModelsOperation

type ModelsOperation struct {
	// BlockHash Block hash of underlying transaction
	BlockHash *string `json:"blockHash,omitempty"`

	// BlockHeight Block height of underlying transaction
	BlockHeight *int64 `json:"blockHeight,omitempty"`

	// Counterparty Counterparty of operation
	Counterparty string `json:"counterparty"`

	// CreatedAt Creation date of operation
	CreatedAt time.Time `json:"createdAt"`

	// TxID Transaction ID
	TxID string `json:"txID"`

	// TxStatus Status of transaction
	TxStatus ModelsOperationTxStatus `json:"txStatus"`

	// Type Type of operation
	Type ModelsOperationType `json:"type"`

	// Value Value of operation
	Value int64 `json:"value"`
}

ModelsOperation defines model for models_Operation.

type ModelsOperationTxStatus

type ModelsOperationTxStatus string

ModelsOperationTxStatus Status of transaction

const (
	BROADCASTED ModelsOperationTxStatus = "BROADCASTED"
	CREATED     ModelsOperationTxStatus = "CREATED"
	MINED       ModelsOperationTxStatus = "MINED"
	PROBLEMATIC ModelsOperationTxStatus = "PROBLEMATIC"
	REVERTED    ModelsOperationTxStatus = "REVERTED"
)

Defines values for ModelsOperationTxStatus.

type ModelsOperationType

type ModelsOperationType string

ModelsOperationType Type of operation

const (
	Incoming ModelsOperationType = "incoming"
	Outgoing ModelsOperationType = "outgoing"
)

Defines values for ModelsOperationType.

type ModelsOperationsSearchResult

type ModelsOperationsSearchResult struct {
	Content []ModelsOperation `json:"content"`
	Page    ModelsSearchPage  `json:"page"`
}

ModelsOperationsSearchResult defines model for models_OperationsSearchResult.

type ModelsOutlineAnnotations

type ModelsOutlineAnnotations struct {
	// Inputs Map of input annotations
	Inputs map[string]ModelsInputAnnotation `json:"inputs"`

	// Outputs Map of output annotations
	Outputs map[string]ModelsOutputAnnotation `json:"outputs"`
}

ModelsOutlineAnnotations defines model for models_OutlineAnnotations.

type ModelsOutputAnnotation

type ModelsOutputAnnotation struct {
	Bucket             ModelsOutputAnnotationBucket       `json:"bucket"`
	CustomInstructions *ModelsSPVWalletCustomInstructions `json:"customInstructions,omitempty"`
	Paymail            *ModelsPaymailAnnotationDetails    `json:"paymail,omitempty"`
}

ModelsOutputAnnotation defines model for models_OutputAnnotation.

type ModelsOutputAnnotationBucket

type ModelsOutputAnnotationBucket string

ModelsOutputAnnotationBucket defines model for ModelsOutputAnnotation.Bucket.

const (
	ModelsOutputAnnotationBucketBsv ModelsOutputAnnotationBucket = "bsv"
)

Defines values for ModelsOutputAnnotationBucket.

type ModelsOutputsAnnotations

type ModelsOutputsAnnotations struct {
	// Outputs Map of output annotations
	Outputs map[string]ModelsOutputAnnotation `json:"outputs"`
}

ModelsOutputsAnnotations defines model for models_OutputsAnnotations.

type ModelsPaymail

type ModelsPaymail struct {
	Alias      string `json:"alias"`
	Avatar     string `json:"avatar"`
	Domain     string `json:"domain"`
	Id         uint   `json:"id"`
	Paymail    string `json:"paymail"`
	PublicName string `json:"publicName"`
}

ModelsPaymail defines model for models_Paymail.

type ModelsPaymailAnnotation

type ModelsPaymailAnnotation struct {
	Bucket  *ModelsPaymailAnnotationBucket  `json:"bucket,omitempty"`
	Paymail *ModelsPaymailAnnotationDetails `json:"paymail,omitempty"`
}

ModelsPaymailAnnotation defines model for models_PaymailAnnotation.

type ModelsPaymailAnnotationBucket

type ModelsPaymailAnnotationBucket string

ModelsPaymailAnnotationBucket defines model for ModelsPaymailAnnotation.Bucket.

const (
	ModelsPaymailAnnotationBucketBsv ModelsPaymailAnnotationBucket = "bsv"
)

Defines values for ModelsPaymailAnnotationBucket.

type ModelsPaymailAnnotationDetails

type ModelsPaymailAnnotationDetails struct {
	// Receiver Paymail address of the receiver
	Receiver string `json:"receiver"`

	// Reference Reference number used for paymail transaction
	Reference string `json:"reference"`

	// Sender Paymail address of the sender
	Sender string `json:"sender"`
}

ModelsPaymailAnnotationDetails defines model for models_PaymailAnnotationDetails.

type ModelsRecordedOutline

type ModelsRecordedOutline struct {
	// TxID ID of the transaction
	TxID string `json:"txID"`
}

ModelsRecordedOutline defines model for models_RecordedOutline.

type ModelsSPVWalletCustomInstruction

type ModelsSPVWalletCustomInstruction struct {
	// Instruction Custom instruction
	Instruction string `json:"instruction"`

	// Type Type of custom instructions
	Type string `json:"type"`
}

ModelsSPVWalletCustomInstruction defines model for models_SPVWalletCustomInstruction.

type ModelsSPVWalletCustomInstructions

type ModelsSPVWalletCustomInstructions = []ModelsSPVWalletCustomInstruction

ModelsSPVWalletCustomInstructions defines model for models_SPVWalletCustomInstructions.

type ModelsSearchPage

type ModelsSearchPage struct {
	// Number Page number for pagination
	Number int `json:"number"`

	// Size Number of items per page
	Size int `json:"size"`

	// TotalElements Total number of items
	TotalElements int `json:"totalElements"`

	// TotalPages Total number of pages
	TotalPages int `json:"totalPages"`
}

ModelsSearchPage defines model for models_SearchPage.

type ModelsSharedConfig

type ModelsSharedConfig struct {
	ExperimentalFeatures map[string]bool `json:"experimentalFeatures"`
	PaymailDomains       []string        `json:"paymailDomains"`
}

ModelsSharedConfig Shared config

type ModelsTransactionHex

type ModelsTransactionHex struct {
	// Format Transaction format
	Format ModelsTransactionHexFormat `json:"format"`

	// Hex Transaction hex
	Hex string `json:"hex"`
}

ModelsTransactionHex defines model for models_TransactionHex.

type ModelsTransactionHexFormat

type ModelsTransactionHexFormat string

ModelsTransactionHexFormat Transaction format

const (
	ModelsTransactionHexFormatBEEF ModelsTransactionHexFormat = "BEEF"
	ModelsTransactionHexFormatRAW  ModelsTransactionHexFormat = "RAW"
)

Defines values for ModelsTransactionHexFormat.

type ModelsUser

type ModelsUser struct {
	CreatedAt time.Time       `json:"createdAt"`
	Id        string          `json:"id"`
	Paymails  []ModelsPaymail `json:"paymails"`
	PublicKey string          `json:"publicKey"`
	UpdatedAt time.Time       `json:"updatedAt"`
}

ModelsUser defines model for models_User.

type ModelsUserDefinedCustomInstructions

type ModelsUserDefinedCustomInstructions = string

ModelsUserDefinedCustomInstructions Instructions about how to unlock this input.

type ModelsUserInfo

type ModelsUserInfo struct {
	// CurrentBalance Current balance of user
	CurrentBalance uint64 `json:"currentBalance"`
}

ModelsUserInfo defines model for models_UserInfo.

type ModelsWebhook

type ModelsWebhook struct {
	Banned bool   `json:"banned"`
	Url    string `json:"url"`
}

ModelsWebhook defines model for models_Webhook.

type ModelsWebhooks

type ModelsWebhooks = []ModelsWebhook

ModelsWebhooks defines model for models_Webhooks.

type RecordTransactionOutlineForUserJSONRequestBody

type RecordTransactionOutlineForUserJSONRequestBody = RequestsRecordTransactionOutlineForUser

RecordTransactionOutlineForUserJSONRequestBody defines body for RecordTransactionOutlineForUser for application/json ContentType.

type RecordTransactionOutlineJSONRequestBody

type RecordTransactionOutlineJSONRequestBody = RequestsTransactionOutline

RecordTransactionOutlineJSONRequestBody defines body for RecordTransactionOutline for application/json ContentType.

type RequestsAddPaymail

type RequestsAddPaymail struct {
	Address   string  `json:"address"`
	Alias     string  `json:"alias"`
	AvatarURL *string `json:"avatarURL,omitempty"`
	Domain    string  `json:"domain"`

	// PublicName If not provided will default to the same value as alias
	PublicName *string `json:"publicName,omitempty"`
}

RequestsAddPaymail defines model for requests_AddPaymail.

type RequestsAdminConfirmContact

type RequestsAdminConfirmContact struct {
	PaymailA string `json:"paymailA"`
	PaymailB string `json:"paymailB"`
}

RequestsAdminConfirmContact defines model for requests_AdminConfirmContact.

type RequestsAdminCreateContact

type RequestsAdminCreateContact struct {
	CreatorPaymail string `json:"creatorPaymail"`
	FullName       string `json:"fullName"`
}

RequestsAdminCreateContact defines model for requests_AdminCreateContact.

type RequestsCreatePaymailAddress

type RequestsCreatePaymailAddress struct {
	Paymail RequestsAddPaymail `json:"paymail"`
}

RequestsCreatePaymailAddress defines model for requests_CreatePaymailAddress.

type RequestsCreateUser

type RequestsCreateUser struct {
	Paymail   *RequestsAddPaymail `json:"paymail,omitempty"`
	PublicKey string              `json:"publicKey"`
}

RequestsCreateUser defines model for requests_CreateUser.

type RequestsOpReturnHexesOutput

type RequestsOpReturnHexesOutput = []string

RequestsOpReturnHexesOutput defines model for requests_OpReturnHexesOutput.

type RequestsOpReturnOutputSpecification

type RequestsOpReturnOutputSpecification struct {
	Data     RequestsOpReturnOutputSpecification_Data     `json:"data"`
	DataType *RequestsOpReturnOutputSpecificationDataType `json:"dataType,omitempty"`
	Type     RequestsOpReturnOutputSpecificationType      `json:"type"`
}

RequestsOpReturnOutputSpecification defines model for requests_OpReturnOutputSpecification.

type RequestsOpReturnOutputSpecificationDataType

type RequestsOpReturnOutputSpecificationDataType string

RequestsOpReturnOutputSpecificationDataType defines model for RequestsOpReturnOutputSpecification.DataType.

Defines values for RequestsOpReturnOutputSpecificationDataType.

type RequestsOpReturnOutputSpecificationType

type RequestsOpReturnOutputSpecificationType string

RequestsOpReturnOutputSpecificationType defines model for RequestsOpReturnOutputSpecification.Type.

const (
	OpReturn RequestsOpReturnOutputSpecificationType = "op_return"
)

Defines values for RequestsOpReturnOutputSpecificationType.

type RequestsOpReturnOutputSpecification_Data

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

RequestsOpReturnOutputSpecification_Data defines model for RequestsOpReturnOutputSpecification.Data.

func (RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnHexesOutput

func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnHexesOutput() (RequestsOpReturnHexesOutput, error)

AsRequestsOpReturnHexesOutput returns the union data inside the RequestsOpReturnOutputSpecification_Data as a RequestsOpReturnHexesOutput

func (RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnStringsOutput

func (t RequestsOpReturnOutputSpecification_Data) AsRequestsOpReturnStringsOutput() (RequestsOpReturnStringsOutput, error)

AsRequestsOpReturnStringsOutput returns the union data inside the RequestsOpReturnOutputSpecification_Data as a RequestsOpReturnStringsOutput

func (*RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnHexesOutput

func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error

FromRequestsOpReturnHexesOutput overwrites any union data inside the RequestsOpReturnOutputSpecification_Data as the provided RequestsOpReturnHexesOutput

func (*RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnStringsOutput

func (t *RequestsOpReturnOutputSpecification_Data) FromRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error

FromRequestsOpReturnStringsOutput overwrites any union data inside the RequestsOpReturnOutputSpecification_Data as the provided RequestsOpReturnStringsOutput

func (RequestsOpReturnOutputSpecification_Data) MarshalJSON

func (*RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnHexesOutput

func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnHexesOutput(v RequestsOpReturnHexesOutput) error

MergeRequestsOpReturnHexesOutput performs a merge with any union data inside the RequestsOpReturnOutputSpecification_Data, using the provided RequestsOpReturnHexesOutput

func (*RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnStringsOutput

func (t *RequestsOpReturnOutputSpecification_Data) MergeRequestsOpReturnStringsOutput(v RequestsOpReturnStringsOutput) error

MergeRequestsOpReturnStringsOutput performs a merge with any union data inside the RequestsOpReturnOutputSpecification_Data, using the provided RequestsOpReturnStringsOutput

func (*RequestsOpReturnOutputSpecification_Data) UnmarshalJSON

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

type RequestsOpReturnStringsOutput

type RequestsOpReturnStringsOutput = []string

RequestsOpReturnStringsOutput defines model for requests_OpReturnStringsOutput.

type RequestsPageNumber

type RequestsPageNumber = int

RequestsPageNumber defines model for requests_PageNumber.

type RequestsPageSize

type RequestsPageSize = int

RequestsPageSize defines model for requests_PageSize.

type RequestsPaymailOutputSpecification

type RequestsPaymailOutputSpecification struct {
	From     *string `json:"from"`
	Satoshis uint64  `json:"satoshis"`

	// Splits The number of outputs to be created from the satoshis. <br>
	// Warning: The satoshis must be evenly divisible by the number of splits. <br>
	// Warning: If the recipient responds with more than one output, the number of splits must be 1.
	Splits *uint64                                `json:"splits,omitempty"`
	To     string                                 `json:"to"`
	Type   RequestsPaymailOutputSpecificationType `json:"type"`
}

RequestsPaymailOutputSpecification defines model for requests_PaymailOutputSpecification.

type RequestsPaymailOutputSpecificationType

type RequestsPaymailOutputSpecificationType string

RequestsPaymailOutputSpecificationType defines model for RequestsPaymailOutputSpecification.Type.

const (
	Paymail RequestsPaymailOutputSpecificationType = "paymail"
)

Defines values for RequestsPaymailOutputSpecificationType.

type RequestsRecordTransactionOutlineForUser

type RequestsRecordTransactionOutlineForUser struct {
	Annotations *ModelsOutputsAnnotations `json:"annotations,omitempty"`

	// Format Transaction format
	Format RequestsRecordTransactionOutlineForUserFormat `json:"format"`

	// Hex Transaction hex
	Hex string `json:"hex"`

	// UserID User ID for which admin records transaction outline
	UserID string `json:"userID"`
}

RequestsRecordTransactionOutlineForUser defines model for requests_RecordTransactionOutlineForUser.

type RequestsRecordTransactionOutlineForUserFormat

type RequestsRecordTransactionOutlineForUserFormat string

RequestsRecordTransactionOutlineForUserFormat Transaction format

const (
	RequestsRecordTransactionOutlineForUserFormatBEEF RequestsRecordTransactionOutlineForUserFormat = "BEEF"
	RequestsRecordTransactionOutlineForUserFormatRAW  RequestsRecordTransactionOutlineForUserFormat = "RAW"
)

Defines values for RequestsRecordTransactionOutlineForUserFormat.

type RequestsSort

type RequestsSort = string

RequestsSort defines model for requests_Sort.

type RequestsSortBy

type RequestsSortBy = string

RequestsSortBy defines model for requests_SortBy.

type RequestsSubscribeWebhook

type RequestsSubscribeWebhook struct {
	TokenHeader string `json:"tokenHeader"`
	TokenValue  string `json:"tokenValue"`
	Url         string `json:"url"`
}

RequestsSubscribeWebhook defines model for requests_SubscribeWebhook.

type RequestsTransactionOutline

type RequestsTransactionOutline struct {
	Annotations *ModelsOutputsAnnotations `json:"annotations,omitempty"`

	// Format Transaction format
	Format RequestsTransactionOutlineFormat `json:"format"`

	// Hex Transaction hex
	Hex string `json:"hex"`
}

RequestsTransactionOutline defines model for requests_TransactionOutline.

type RequestsTransactionOutlineFormat

type RequestsTransactionOutlineFormat string

RequestsTransactionOutlineFormat Transaction format

const (
	RequestsTransactionOutlineFormatBEEF RequestsTransactionOutlineFormat = "BEEF"
	RequestsTransactionOutlineFormatRAW  RequestsTransactionOutlineFormat = "RAW"
)

Defines values for RequestsTransactionOutlineFormat.

type RequestsTransactionOutlineOutputSpecification

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

RequestsTransactionOutlineOutputSpecification defines model for requests_TransactionOutlineOutputSpecification.

func (RequestsTransactionOutlineOutputSpecification) AsRequestsOpReturnOutputSpecification

AsRequestsOpReturnOutputSpecification returns the union data inside the RequestsTransactionOutlineOutputSpecification as a RequestsOpReturnOutputSpecification

func (RequestsTransactionOutlineOutputSpecification) AsRequestsPaymailOutputSpecification

AsRequestsPaymailOutputSpecification returns the union data inside the RequestsTransactionOutlineOutputSpecification as a RequestsPaymailOutputSpecification

func (RequestsTransactionOutlineOutputSpecification) Discriminator

func (*RequestsTransactionOutlineOutputSpecification) FromRequestsOpReturnOutputSpecification

func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error

FromRequestsOpReturnOutputSpecification overwrites any union data inside the RequestsTransactionOutlineOutputSpecification as the provided RequestsOpReturnOutputSpecification

func (*RequestsTransactionOutlineOutputSpecification) FromRequestsPaymailOutputSpecification

func (t *RequestsTransactionOutlineOutputSpecification) FromRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error

FromRequestsPaymailOutputSpecification overwrites any union data inside the RequestsTransactionOutlineOutputSpecification as the provided RequestsPaymailOutputSpecification

func (RequestsTransactionOutlineOutputSpecification) MarshalJSON

func (*RequestsTransactionOutlineOutputSpecification) MergeRequestsOpReturnOutputSpecification

func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsOpReturnOutputSpecification(v RequestsOpReturnOutputSpecification) error

MergeRequestsOpReturnOutputSpecification performs a merge with any union data inside the RequestsTransactionOutlineOutputSpecification, using the provided RequestsOpReturnOutputSpecification

func (*RequestsTransactionOutlineOutputSpecification) MergeRequestsPaymailOutputSpecification

func (t *RequestsTransactionOutlineOutputSpecification) MergeRequestsPaymailOutputSpecification(v RequestsPaymailOutputSpecification) error

MergeRequestsPaymailOutputSpecification performs a merge with any union data inside the RequestsTransactionOutlineOutputSpecification, using the provided RequestsPaymailOutputSpecification

func (*RequestsTransactionOutlineOutputSpecification) UnmarshalJSON

func (RequestsTransactionOutlineOutputSpecification) ValueByDiscriminator

func (t RequestsTransactionOutlineOutputSpecification) ValueByDiscriminator() (interface{}, error)

type RequestsTransactionSpecification

type RequestsTransactionSpecification struct {
	Outputs []RequestsTransactionOutlineOutputSpecification `json:"outputs"`
}

RequestsTransactionSpecification defines model for requests_TransactionSpecification.

type RequestsUnsubscribeWebhook

type RequestsUnsubscribeWebhook struct {
	Url string `json:"url"`
}

RequestsUnsubscribeWebhook defines model for requests_UnsubscribeWebhook.

type RequestsUpdateContact

type RequestsUpdateContact struct {
	FullName string `json:"fullName"`
}

RequestsUpdateContact defines model for requests_UpdateContact.

type RequestsUpsertContact

type RequestsUpsertContact struct {
	FullName         string `json:"fullName"`
	RequesterPaymail string `json:"requesterPaymail"`
}

RequestsUpsertContact defines model for requests_UpsertContact.

type ResponsesAdminAddPaymailSuccess

type ResponsesAdminAddPaymailSuccess = ModelsPaymail

ResponsesAdminAddPaymailSuccess defines model for responses_AdminAddPaymailSuccess.

type ResponsesAdminCreateUserSuccess

type ResponsesAdminCreateUserSuccess = ModelsUser

ResponsesAdminCreateUserSuccess defines model for responses_AdminCreateUserSuccess.

type ResponsesAdminGetUser

type ResponsesAdminGetUser = ModelsUser

ResponsesAdminGetUser defines model for responses_AdminGetUser.

type ResponsesAdminRecordTransactionOutlineForUserSuccess

type ResponsesAdminRecordTransactionOutlineForUserSuccess = ModelsRecordedOutline

ResponsesAdminRecordTransactionOutlineForUserSuccess defines model for responses_AdminRecordTransactionOutlineForUserSuccess.

type ResponsesContactNotFound

type ResponsesContactNotFound = ErrorsContactNotFound

ResponsesContactNotFound defines model for responses_ContactNotFound.

type ResponsesContactSuccess

type ResponsesContactSuccess = ModelsContact

ResponsesContactSuccess defines model for responses_ContactSuccess.

type ResponsesContactUpsertInternalServerError

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

ResponsesContactUpsertInternalServerError defines model for responses_ContactUpsertInternalServerError.

func (ResponsesContactUpsertInternalServerError) AsErrorsContactFailedToUpdate

AsErrorsContactFailedToUpdate returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsContactFailedToUpdate

func (ResponsesContactUpsertInternalServerError) AsErrorsGetContact

AsErrorsGetContact returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsGetContact

func (ResponsesContactUpsertInternalServerError) AsErrorsInternal

AsErrorsInternal returns the union data inside the ResponsesContactUpsertInternalServerError as a ErrorsInternal

func (*ResponsesContactUpsertInternalServerError) FromErrorsContactFailedToUpdate

func (t *ResponsesContactUpsertInternalServerError) FromErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error

FromErrorsContactFailedToUpdate overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsContactFailedToUpdate

func (*ResponsesContactUpsertInternalServerError) FromErrorsGetContact

FromErrorsGetContact overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsGetContact

func (*ResponsesContactUpsertInternalServerError) FromErrorsInternal

FromErrorsInternal overwrites any union data inside the ResponsesContactUpsertInternalServerError as the provided ErrorsInternal

func (ResponsesContactUpsertInternalServerError) MarshalJSON

func (*ResponsesContactUpsertInternalServerError) MergeErrorsContactFailedToUpdate

func (t *ResponsesContactUpsertInternalServerError) MergeErrorsContactFailedToUpdate(v ErrorsContactFailedToUpdate) error

MergeErrorsContactFailedToUpdate performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsContactFailedToUpdate

func (*ResponsesContactUpsertInternalServerError) MergeErrorsGetContact

MergeErrorsGetContact performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsGetContact

func (*ResponsesContactUpsertInternalServerError) MergeErrorsInternal

MergeErrorsInternal performs a merge with any union data inside the ResponsesContactUpsertInternalServerError, using the provided ErrorsInternal

func (*ResponsesContactUpsertInternalServerError) UnmarshalJSON

type ResponsesCreateTransactionOutlineBadRequest

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

ResponsesCreateTransactionOutlineBadRequest defines model for responses_CreateTransactionOutlineBadRequest.

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecFailedToDecodeHex

AsErrorsTxSpecFailedToDecodeHex returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecFailedToDecodeHex

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailReceiver

func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailReceiver() (ErrorsTxSpecInvalidPaymailReceiver, error)

AsErrorsTxSpecInvalidPaymailReceiver returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecInvalidPaymailReceiver

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecInvalidPaymailSender

AsErrorsTxSpecInvalidPaymailSender returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecInvalidPaymailSender

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecNoDefaultPaymailAddress

func (t ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecNoDefaultPaymailAddress() (ErrorsTxSpecNoDefaultPaymailAddress, error)

AsErrorsTxSpecNoDefaultPaymailAddress returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecNoDefaultPaymailAddress

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOpReturnDataRequired

AsErrorsTxSpecOpReturnDataRequired returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecOpReturnDataRequired

func (ResponsesCreateTransactionOutlineBadRequest) AsErrorsTxSpecOutputsRequired

AsErrorsTxSpecOutputsRequired returns the union data inside the ResponsesCreateTransactionOutlineBadRequest as a ErrorsTxSpecOutputsRequired

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecFailedToDecodeHex

FromErrorsTxSpecFailedToDecodeHex overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecFailedToDecodeHex

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailReceiver

func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error

FromErrorsTxSpecInvalidPaymailReceiver overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecInvalidPaymailReceiver

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailSender

func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error

FromErrorsTxSpecInvalidPaymailSender overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecInvalidPaymailSender

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecNoDefaultPaymailAddress

func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error

FromErrorsTxSpecNoDefaultPaymailAddress overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecNoDefaultPaymailAddress

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOpReturnDataRequired

func (t *ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error

FromErrorsTxSpecOpReturnDataRequired overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecOpReturnDataRequired

func (*ResponsesCreateTransactionOutlineBadRequest) FromErrorsTxSpecOutputsRequired

FromErrorsTxSpecOutputsRequired overwrites any union data inside the ResponsesCreateTransactionOutlineBadRequest as the provided ErrorsTxSpecOutputsRequired

func (ResponsesCreateTransactionOutlineBadRequest) MarshalJSON

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecFailedToDecodeHex

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecFailedToDecodeHex(v ErrorsTxSpecFailedToDecodeHex) error

MergeErrorsTxSpecFailedToDecodeHex performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecFailedToDecodeHex

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailReceiver

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailReceiver(v ErrorsTxSpecInvalidPaymailReceiver) error

MergeErrorsTxSpecInvalidPaymailReceiver performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecInvalidPaymailReceiver

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailSender

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecInvalidPaymailSender(v ErrorsTxSpecInvalidPaymailSender) error

MergeErrorsTxSpecInvalidPaymailSender performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecInvalidPaymailSender

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecNoDefaultPaymailAddress

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecNoDefaultPaymailAddress(v ErrorsTxSpecNoDefaultPaymailAddress) error

MergeErrorsTxSpecNoDefaultPaymailAddress performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecNoDefaultPaymailAddress

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOpReturnDataRequired

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOpReturnDataRequired(v ErrorsTxSpecOpReturnDataRequired) error

MergeErrorsTxSpecOpReturnDataRequired performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecOpReturnDataRequired

func (*ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOutputsRequired

func (t *ResponsesCreateTransactionOutlineBadRequest) MergeErrorsTxSpecOutputsRequired(v ErrorsTxSpecOutputsRequired) error

MergeErrorsTxSpecOutputsRequired performs a merge with any union data inside the ResponsesCreateTransactionOutlineBadRequest, using the provided ErrorsTxSpecOutputsRequired

func (*ResponsesCreateTransactionOutlineBadRequest) UnmarshalJSON

type ResponsesCreateTransactionOutlineSuccess

type ResponsesCreateTransactionOutlineSuccess = ModelsAnnotatedTransactionOutline

ResponsesCreateTransactionOutlineSuccess defines model for responses_CreateTransactionOutlineSuccess.

type ResponsesCreateTransactionOutlineUnprocessable

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

ResponsesCreateTransactionOutlineUnprocessable defines model for responses_CreateTransactionOutlineUnprocessable.

func (ResponsesCreateTransactionOutlineUnprocessable) AsErrorsTxOutlineUserHasNotEnoughFunds

AsErrorsTxOutlineUserHasNotEnoughFunds returns the union data inside the ResponsesCreateTransactionOutlineUnprocessable as a ErrorsTxOutlineUserHasNotEnoughFunds

func (*ResponsesCreateTransactionOutlineUnprocessable) FromErrorsTxOutlineUserHasNotEnoughFunds

func (t *ResponsesCreateTransactionOutlineUnprocessable) FromErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error

FromErrorsTxOutlineUserHasNotEnoughFunds overwrites any union data inside the ResponsesCreateTransactionOutlineUnprocessable as the provided ErrorsTxOutlineUserHasNotEnoughFunds

func (ResponsesCreateTransactionOutlineUnprocessable) MarshalJSON

func (*ResponsesCreateTransactionOutlineUnprocessable) MergeErrorsTxOutlineUserHasNotEnoughFunds

func (t *ResponsesCreateTransactionOutlineUnprocessable) MergeErrorsTxOutlineUserHasNotEnoughFunds(v ErrorsTxOutlineUserHasNotEnoughFunds) error

MergeErrorsTxOutlineUserHasNotEnoughFunds performs a merge with any union data inside the ResponsesCreateTransactionOutlineUnprocessable, using the provided ErrorsTxOutlineUserHasNotEnoughFunds

func (*ResponsesCreateTransactionOutlineUnprocessable) UnmarshalJSON

type ResponsesDeleteContactInternalServerError

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

ResponsesDeleteContactInternalServerError defines model for responses_DeleteContactInternalServerError.

func (ResponsesDeleteContactInternalServerError) AsErrorsDeleteContact

AsErrorsDeleteContact returns the union data inside the ResponsesDeleteContactInternalServerError as a ErrorsDeleteContact

func (ResponsesDeleteContactInternalServerError) AsErrorsInternal

AsErrorsInternal returns the union data inside the ResponsesDeleteContactInternalServerError as a ErrorsInternal

func (*ResponsesDeleteContactInternalServerError) FromErrorsDeleteContact

FromErrorsDeleteContact overwrites any union data inside the ResponsesDeleteContactInternalServerError as the provided ErrorsDeleteContact

func (*ResponsesDeleteContactInternalServerError) FromErrorsInternal

FromErrorsInternal overwrites any union data inside the ResponsesDeleteContactInternalServerError as the provided ErrorsInternal

func (ResponsesDeleteContactInternalServerError) MarshalJSON

func (*ResponsesDeleteContactInternalServerError) MergeErrorsDeleteContact

MergeErrorsDeleteContact performs a merge with any union data inside the ResponsesDeleteContactInternalServerError, using the provided ErrorsDeleteContact

func (*ResponsesDeleteContactInternalServerError) MergeErrorsInternal

MergeErrorsInternal performs a merge with any union data inside the ResponsesDeleteContactInternalServerError, using the provided ErrorsInternal

func (*ResponsesDeleteContactInternalServerError) UnmarshalJSON

type ResponsesGetContactInternalServerError

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

ResponsesGetContactInternalServerError defines model for responses_GetContactInternalServerError.

func (ResponsesGetContactInternalServerError) AsErrorsGetContact

AsErrorsGetContact returns the union data inside the ResponsesGetContactInternalServerError as a ErrorsGetContact

func (ResponsesGetContactInternalServerError) AsErrorsInternal

AsErrorsInternal returns the union data inside the ResponsesGetContactInternalServerError as a ErrorsInternal

func (*ResponsesGetContactInternalServerError) FromErrorsGetContact

FromErrorsGetContact overwrites any union data inside the ResponsesGetContactInternalServerError as the provided ErrorsGetContact

func (*ResponsesGetContactInternalServerError) FromErrorsInternal

FromErrorsInternal overwrites any union data inside the ResponsesGetContactInternalServerError as the provided ErrorsInternal

func (ResponsesGetContactInternalServerError) MarshalJSON

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

func (*ResponsesGetContactInternalServerError) MergeErrorsGetContact

MergeErrorsGetContact performs a merge with any union data inside the ResponsesGetContactInternalServerError, using the provided ErrorsGetContact

func (*ResponsesGetContactInternalServerError) MergeErrorsInternal

MergeErrorsInternal performs a merge with any union data inside the ResponsesGetContactInternalServerError, using the provided ErrorsInternal

func (*ResponsesGetContactInternalServerError) UnmarshalJSON

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

type ResponsesGetCurrentUserSuccess

type ResponsesGetCurrentUserSuccess = ModelsUserInfo

ResponsesGetCurrentUserSuccess defines model for responses_GetCurrentUserSuccess.

type ResponsesGetDataNotFound

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

ResponsesGetDataNotFound defines model for responses_GetDataNotFound.

func (ResponsesGetDataNotFound) AsErrorsDataNotFound

func (t ResponsesGetDataNotFound) AsErrorsDataNotFound() (ErrorsDataNotFound, error)

AsErrorsDataNotFound returns the union data inside the ResponsesGetDataNotFound as a ErrorsDataNotFound

func (*ResponsesGetDataNotFound) FromErrorsDataNotFound

func (t *ResponsesGetDataNotFound) FromErrorsDataNotFound(v ErrorsDataNotFound) error

FromErrorsDataNotFound overwrites any union data inside the ResponsesGetDataNotFound as the provided ErrorsDataNotFound

func (ResponsesGetDataNotFound) MarshalJSON

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

func (*ResponsesGetDataNotFound) MergeErrorsDataNotFound

func (t *ResponsesGetDataNotFound) MergeErrorsDataNotFound(v ErrorsDataNotFound) error

MergeErrorsDataNotFound performs a merge with any union data inside the ResponsesGetDataNotFound, using the provided ErrorsDataNotFound

func (*ResponsesGetDataNotFound) UnmarshalJSON

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

type ResponsesGetDataSuccess

type ResponsesGetDataSuccess = ModelsData

ResponsesGetDataSuccess defines model for responses_GetDataSuccess.

type ResponsesGetMerklerootsBadRequest

type ResponsesGetMerklerootsBadRequest = ErrorsInvalidBatchSize

ResponsesGetMerklerootsBadRequest defines model for responses_GetMerklerootsBadRequest.

type ResponsesGetMerklerootsConflict

type ResponsesGetMerklerootsConflict = ErrorsMerkleRootNotInLongestChain

ResponsesGetMerklerootsConflict defines model for responses_GetMerklerootsConflict.

type ResponsesGetMerklerootsInternalServerError

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

ResponsesGetMerklerootsInternalServerError defines model for responses_GetMerklerootsInternalServerError.

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadRequest

AsErrorsBHSBadRequest returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSBadRequest

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSBadURL

AsErrorsBHSBadURL returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSBadURL

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSNoSuccessResponse

AsErrorsBHSNoSuccessResponse returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSNoSuccessResponse

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSParsingResponse

AsErrorsBHSParsingResponse returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSParsingResponse

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnauthorized

AsErrorsBHSUnauthorized returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnauthorized

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnhealthy

AsErrorsBHSUnhealthy returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnhealthy

func (ResponsesGetMerklerootsInternalServerError) AsErrorsBHSUnreachable

AsErrorsBHSUnreachable returns the union data inside the ResponsesGetMerklerootsInternalServerError as a ErrorsBHSUnreachable

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadRequest

FromErrorsBHSBadRequest overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSBadRequest

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSBadURL

FromErrorsBHSBadURL overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSBadURL

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSNoSuccessResponse

FromErrorsBHSNoSuccessResponse overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSNoSuccessResponse

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSParsingResponse

FromErrorsBHSParsingResponse overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSParsingResponse

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnauthorized

FromErrorsBHSUnauthorized overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnauthorized

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnhealthy

FromErrorsBHSUnhealthy overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnhealthy

func (*ResponsesGetMerklerootsInternalServerError) FromErrorsBHSUnreachable

FromErrorsBHSUnreachable overwrites any union data inside the ResponsesGetMerklerootsInternalServerError as the provided ErrorsBHSUnreachable

func (ResponsesGetMerklerootsInternalServerError) MarshalJSON

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadRequest

MergeErrorsBHSBadRequest performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSBadRequest

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSBadURL

MergeErrorsBHSBadURL performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSBadURL

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSNoSuccessResponse

func (t *ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSNoSuccessResponse(v ErrorsBHSNoSuccessResponse) error

MergeErrorsBHSNoSuccessResponse performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSNoSuccessResponse

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSParsingResponse

MergeErrorsBHSParsingResponse performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSParsingResponse

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnauthorized

MergeErrorsBHSUnauthorized performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnauthorized

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnhealthy

MergeErrorsBHSUnhealthy performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnhealthy

func (*ResponsesGetMerklerootsInternalServerError) MergeErrorsBHSUnreachable

MergeErrorsBHSUnreachable performs a merge with any union data inside the ResponsesGetMerklerootsInternalServerError, using the provided ErrorsBHSUnreachable

func (*ResponsesGetMerklerootsInternalServerError) UnmarshalJSON

type ResponsesGetMerklerootsNotFound

type ResponsesGetMerklerootsNotFound = ErrorsMerkleRootNotFound

ResponsesGetMerklerootsNotFound defines model for responses_GetMerklerootsNotFound.

type ResponsesGetMerklerootsSuccess

type ResponsesGetMerklerootsSuccess = ModelsGetMerkleRootResult

ResponsesGetMerklerootsSuccess defines model for responses_GetMerklerootsSuccess.

type ResponsesGetWebhooksInternalServerError

type ResponsesGetWebhooksInternalServerError = ErrorsInternal

ResponsesGetWebhooksInternalServerError defines model for responses_GetWebhooksInternalServerError.

type ResponsesGetWebhooksSuccess

type ResponsesGetWebhooksSuccess = ModelsWebhooks

ResponsesGetWebhooksSuccess defines model for responses_GetWebhooksSuccess.

type ResponsesInternalServerError

type ResponsesInternalServerError = ErrorsInternal

ResponsesInternalServerError defines model for responses_InternalServerError.

type ResponsesNotAuthorized

type ResponsesNotAuthorized = ErrorsAnyAuthorization

ResponsesNotAuthorized defines model for responses_NotAuthorized.

type ResponsesNotAuthorizedToAdminEndpoint

type ResponsesNotAuthorizedToAdminEndpoint = ErrorsAdminAuthorization

ResponsesNotAuthorizedToAdminEndpoint defines model for responses_NotAuthorizedToAdminEndpoint.

type ResponsesNotificationsDisabled

type ResponsesNotificationsDisabled = ErrorsNotificationsDisabled

ResponsesNotificationsDisabled defines model for responses_NotificationsDisabled.

type ResponsesPaymailAddress

type ResponsesPaymailAddress = ModelsPaymail

ResponsesPaymailAddress defines model for responses_PaymailAddress.

type ResponsesProblemDetails

type ResponsesProblemDetails = ErrorsProblemDetails

ResponsesProblemDetails defines model for responses_ProblemDetails.

type ResponsesRecordTransactionBadRequest

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

ResponsesRecordTransactionBadRequest defines model for responses_RecordTransactionBadRequest.

func (ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexConversion

func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexConversion() (ErrorsAnnotationIndexConversion, error)

AsErrorsAnnotationIndexConversion returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsAnnotationIndexConversion

func (ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexOutOfRange

func (t ResponsesRecordTransactionBadRequest) AsErrorsAnnotationIndexOutOfRange() (ErrorsAnnotationIndexOutOfRange, error)

AsErrorsAnnotationIndexOutOfRange returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsAnnotationIndexOutOfRange

func (ResponsesRecordTransactionBadRequest) AsErrorsInvalidDataID

func (t ResponsesRecordTransactionBadRequest) AsErrorsInvalidDataID() (ErrorsInvalidDataID, error)

AsErrorsInvalidDataID returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsInvalidDataID

func (ResponsesRecordTransactionBadRequest) AsErrorsNoOperations

AsErrorsNoOperations returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsNoOperations

func (ResponsesRecordTransactionBadRequest) AsErrorsUTXOSpent

AsErrorsUTXOSpent returns the union data inside the ResponsesRecordTransactionBadRequest as a ErrorsUTXOSpent

func (*ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexConversion

func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error

FromErrorsAnnotationIndexConversion overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsAnnotationIndexConversion

func (*ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexOutOfRange

func (t *ResponsesRecordTransactionBadRequest) FromErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error

FromErrorsAnnotationIndexOutOfRange overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsAnnotationIndexOutOfRange

func (*ResponsesRecordTransactionBadRequest) FromErrorsInvalidDataID

func (t *ResponsesRecordTransactionBadRequest) FromErrorsInvalidDataID(v ErrorsInvalidDataID) error

FromErrorsInvalidDataID overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsInvalidDataID

func (*ResponsesRecordTransactionBadRequest) FromErrorsNoOperations

func (t *ResponsesRecordTransactionBadRequest) FromErrorsNoOperations(v ErrorsNoOperations) error

FromErrorsNoOperations overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsNoOperations

func (*ResponsesRecordTransactionBadRequest) FromErrorsUTXOSpent

FromErrorsUTXOSpent overwrites any union data inside the ResponsesRecordTransactionBadRequest as the provided ErrorsUTXOSpent

func (ResponsesRecordTransactionBadRequest) MarshalJSON

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

func (*ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexConversion

func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexConversion(v ErrorsAnnotationIndexConversion) error

MergeErrorsAnnotationIndexConversion performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsAnnotationIndexConversion

func (*ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexOutOfRange

func (t *ResponsesRecordTransactionBadRequest) MergeErrorsAnnotationIndexOutOfRange(v ErrorsAnnotationIndexOutOfRange) error

MergeErrorsAnnotationIndexOutOfRange performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsAnnotationIndexOutOfRange

func (*ResponsesRecordTransactionBadRequest) MergeErrorsInvalidDataID

func (t *ResponsesRecordTransactionBadRequest) MergeErrorsInvalidDataID(v ErrorsInvalidDataID) error

MergeErrorsInvalidDataID performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsInvalidDataID

func (*ResponsesRecordTransactionBadRequest) MergeErrorsNoOperations

func (t *ResponsesRecordTransactionBadRequest) MergeErrorsNoOperations(v ErrorsNoOperations) error

MergeErrorsNoOperations performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsNoOperations

func (*ResponsesRecordTransactionBadRequest) MergeErrorsUTXOSpent

func (t *ResponsesRecordTransactionBadRequest) MergeErrorsUTXOSpent(v ErrorsUTXOSpent) error

MergeErrorsUTXOSpent performs a merge with any union data inside the ResponsesRecordTransactionBadRequest, using the provided ErrorsUTXOSpent

func (*ResponsesRecordTransactionBadRequest) UnmarshalJSON

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

type ResponsesRecordTransactionInternalServerError

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

ResponsesRecordTransactionInternalServerError defines model for responses_RecordTransactionInternalServerError.

func (ResponsesRecordTransactionInternalServerError) AsErrorsGettingOutputs

AsErrorsGettingOutputs returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsGettingOutputs

func (ResponsesRecordTransactionInternalServerError) AsErrorsInternal

AsErrorsInternal returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsInternal

func (ResponsesRecordTransactionInternalServerError) AsErrorsTxBroadcast

AsErrorsTxBroadcast returns the union data inside the ResponsesRecordTransactionInternalServerError as a ErrorsTxBroadcast

func (*ResponsesRecordTransactionInternalServerError) FromErrorsGettingOutputs

FromErrorsGettingOutputs overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsGettingOutputs

func (*ResponsesRecordTransactionInternalServerError) FromErrorsInternal

FromErrorsInternal overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsInternal

func (*ResponsesRecordTransactionInternalServerError) FromErrorsTxBroadcast

FromErrorsTxBroadcast overwrites any union data inside the ResponsesRecordTransactionInternalServerError as the provided ErrorsTxBroadcast

func (ResponsesRecordTransactionInternalServerError) MarshalJSON

func (*ResponsesRecordTransactionInternalServerError) MergeErrorsGettingOutputs

MergeErrorsGettingOutputs performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsGettingOutputs

func (*ResponsesRecordTransactionInternalServerError) MergeErrorsInternal

MergeErrorsInternal performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsInternal

func (*ResponsesRecordTransactionInternalServerError) MergeErrorsTxBroadcast

MergeErrorsTxBroadcast performs a merge with any union data inside the ResponsesRecordTransactionInternalServerError, using the provided ErrorsTxBroadcast

func (*ResponsesRecordTransactionInternalServerError) UnmarshalJSON

type ResponsesRecordTransactionSuccess

type ResponsesRecordTransactionSuccess = ModelsRecordedOutline

ResponsesRecordTransactionSuccess defines model for responses_RecordTransactionSuccess.

type ResponsesSearchBadRequest

type ResponsesSearchBadRequest = ErrorsInvalidDataID

ResponsesSearchBadRequest defines model for responses_SearchBadRequest.

type ResponsesSearchOperationsSuccess

type ResponsesSearchOperationsSuccess = ModelsOperationsSearchResult

ResponsesSearchOperationsSuccess defines model for responses_SearchOperationsSuccess.

type ResponsesSharedConfig

type ResponsesSharedConfig = ModelsSharedConfig

ResponsesSharedConfig Shared config

type ResponsesSubscribeToWebhookBadRequest

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

ResponsesSubscribeToWebhookBadRequest defines model for responses_SubscribeToWebhookBadRequest.

func (ResponsesSubscribeToWebhookBadRequest) AsErrorsCannotBindRequest

func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)

AsErrorsCannotBindRequest returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsCannotBindRequest

func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenHeaderRequired

func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenHeaderRequired() (ErrorsWebhookTokenHeaderRequired, error)

AsErrorsWebhookTokenHeaderRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookTokenHeaderRequired

func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenValueRequired

func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookTokenValueRequired() (ErrorsWebhookTokenValueRequired, error)

AsErrorsWebhookTokenValueRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookTokenValueRequired

func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlInvalid

func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlInvalid() (ErrorsWebhookUrlInvalid, error)

AsErrorsWebhookUrlInvalid returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookUrlInvalid

func (ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlRequired

func (t ResponsesSubscribeToWebhookBadRequest) AsErrorsWebhookUrlRequired() (ErrorsWebhookUrlRequired, error)

AsErrorsWebhookUrlRequired returns the union data inside the ResponsesSubscribeToWebhookBadRequest as a ErrorsWebhookUrlRequired

func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsCannotBindRequest

func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error

FromErrorsCannotBindRequest overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsCannotBindRequest

func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenHeaderRequired

func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error

FromErrorsWebhookTokenHeaderRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookTokenHeaderRequired

func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenValueRequired

func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error

FromErrorsWebhookTokenValueRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookTokenValueRequired

func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlInvalid

func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error

FromErrorsWebhookUrlInvalid overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookUrlInvalid

func (*ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlRequired

func (t *ResponsesSubscribeToWebhookBadRequest) FromErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error

FromErrorsWebhookUrlRequired overwrites any union data inside the ResponsesSubscribeToWebhookBadRequest as the provided ErrorsWebhookUrlRequired

func (ResponsesSubscribeToWebhookBadRequest) MarshalJSON

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

func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsCannotBindRequest

func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error

MergeErrorsCannotBindRequest performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsCannotBindRequest

func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenHeaderRequired

func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenHeaderRequired(v ErrorsWebhookTokenHeaderRequired) error

MergeErrorsWebhookTokenHeaderRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookTokenHeaderRequired

func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenValueRequired

func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookTokenValueRequired(v ErrorsWebhookTokenValueRequired) error

MergeErrorsWebhookTokenValueRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookTokenValueRequired

func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlInvalid

func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlInvalid(v ErrorsWebhookUrlInvalid) error

MergeErrorsWebhookUrlInvalid performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookUrlInvalid

func (*ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlRequired

func (t *ResponsesSubscribeToWebhookBadRequest) MergeErrorsWebhookUrlRequired(v ErrorsWebhookUrlRequired) error

MergeErrorsWebhookUrlRequired performs a merge with any union data inside the ResponsesSubscribeToWebhookBadRequest, using the provided ErrorsWebhookUrlRequired

func (*ResponsesSubscribeToWebhookBadRequest) UnmarshalJSON

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

type ResponsesSubscribeToWebhookInternalServerError

type ResponsesSubscribeToWebhookInternalServerError = ErrorsCannotBindRequest

ResponsesSubscribeToWebhookInternalServerError defines model for responses_SubscribeToWebhookInternalServerError.

type ResponsesUnsubscribeToWebhookInternalServerError

type ResponsesUnsubscribeToWebhookInternalServerError = ErrorsCannotBindRequest

ResponsesUnsubscribeToWebhookInternalServerError defines model for responses_UnsubscribeToWebhookInternalServerError.

type ResponsesUpdateContactBadRequest

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

ResponsesUpdateContactBadRequest defines model for responses_UpdateContactBadRequest.

func (ResponsesUpdateContactBadRequest) AsErrorsContactInWrongStatus

func (t ResponsesUpdateContactBadRequest) AsErrorsContactInWrongStatus() (ErrorsContactInWrongStatus, error)

AsErrorsContactInWrongStatus returns the union data inside the ResponsesUpdateContactBadRequest as a ErrorsContactInWrongStatus

func (*ResponsesUpdateContactBadRequest) FromErrorsContactInWrongStatus

func (t *ResponsesUpdateContactBadRequest) FromErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error

FromErrorsContactInWrongStatus overwrites any union data inside the ResponsesUpdateContactBadRequest as the provided ErrorsContactInWrongStatus

func (ResponsesUpdateContactBadRequest) MarshalJSON

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

func (*ResponsesUpdateContactBadRequest) MergeErrorsContactInWrongStatus

func (t *ResponsesUpdateContactBadRequest) MergeErrorsContactInWrongStatus(v ErrorsContactInWrongStatus) error

MergeErrorsContactInWrongStatus performs a merge with any union data inside the ResponsesUpdateContactBadRequest, using the provided ErrorsContactInWrongStatus

func (*ResponsesUpdateContactBadRequest) UnmarshalJSON

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

type ResponsesUpdateContactInternalServerError

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

ResponsesUpdateContactInternalServerError defines model for responses_UpdateContactInternalServerError.

func (ResponsesUpdateContactInternalServerError) AsErrorsInternal

AsErrorsInternal returns the union data inside the ResponsesUpdateContactInternalServerError as a ErrorsInternal

func (ResponsesUpdateContactInternalServerError) AsErrorsUpdateContactStatus

AsErrorsUpdateContactStatus returns the union data inside the ResponsesUpdateContactInternalServerError as a ErrorsUpdateContactStatus

func (*ResponsesUpdateContactInternalServerError) FromErrorsInternal

FromErrorsInternal overwrites any union data inside the ResponsesUpdateContactInternalServerError as the provided ErrorsInternal

func (*ResponsesUpdateContactInternalServerError) FromErrorsUpdateContactStatus

FromErrorsUpdateContactStatus overwrites any union data inside the ResponsesUpdateContactInternalServerError as the provided ErrorsUpdateContactStatus

func (ResponsesUpdateContactInternalServerError) MarshalJSON

func (*ResponsesUpdateContactInternalServerError) MergeErrorsInternal

MergeErrorsInternal performs a merge with any union data inside the ResponsesUpdateContactInternalServerError, using the provided ErrorsInternal

func (*ResponsesUpdateContactInternalServerError) MergeErrorsUpdateContactStatus

func (t *ResponsesUpdateContactInternalServerError) MergeErrorsUpdateContactStatus(v ErrorsUpdateContactStatus) error

MergeErrorsUpdateContactStatus performs a merge with any union data inside the ResponsesUpdateContactInternalServerError, using the provided ErrorsUpdateContactStatus

func (*ResponsesUpdateContactInternalServerError) UnmarshalJSON

type ResponsesUpsertContactBadRequest

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

ResponsesUpsertContactBadRequest defines model for responses_UpsertContactBadRequest.

func (ResponsesUpsertContactBadRequest) AsErrorsCannotBindRequest

func (t ResponsesUpsertContactBadRequest) AsErrorsCannotBindRequest() (ErrorsCannotBindRequest, error)

AsErrorsCannotBindRequest returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsCannotBindRequest

func (ResponsesUpsertContactBadRequest) AsErrorsContactFullNameRequired

func (t ResponsesUpsertContactBadRequest) AsErrorsContactFullNameRequired() (ErrorsContactFullNameRequired, error)

AsErrorsContactFullNameRequired returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsContactFullNameRequired

func (ResponsesUpsertContactBadRequest) AsErrorsContactInvalidPaymail

func (t ResponsesUpsertContactBadRequest) AsErrorsContactInvalidPaymail() (ErrorsContactInvalidPaymail, error)

AsErrorsContactInvalidPaymail returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsContactInvalidPaymail

func (ResponsesUpsertContactBadRequest) AsErrorsGettingPKIFailed

func (t ResponsesUpsertContactBadRequest) AsErrorsGettingPKIFailed() (ErrorsGettingPKIFailed, error)

AsErrorsGettingPKIFailed returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsGettingPKIFailed

func (ResponsesUpsertContactBadRequest) AsErrorsSaveContact

func (t ResponsesUpsertContactBadRequest) AsErrorsSaveContact() (ErrorsSaveContact, error)

AsErrorsSaveContact returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsSaveContact

func (ResponsesUpsertContactBadRequest) AsErrorsUserDoNotOwnPaymail

func (t ResponsesUpsertContactBadRequest) AsErrorsUserDoNotOwnPaymail() (ErrorsUserDoNotOwnPaymail, error)

AsErrorsUserDoNotOwnPaymail returns the union data inside the ResponsesUpsertContactBadRequest as a ErrorsUserDoNotOwnPaymail

func (*ResponsesUpsertContactBadRequest) FromErrorsCannotBindRequest

func (t *ResponsesUpsertContactBadRequest) FromErrorsCannotBindRequest(v ErrorsCannotBindRequest) error

FromErrorsCannotBindRequest overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsCannotBindRequest

func (*ResponsesUpsertContactBadRequest) FromErrorsContactFullNameRequired

func (t *ResponsesUpsertContactBadRequest) FromErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error

FromErrorsContactFullNameRequired overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsContactFullNameRequired

func (*ResponsesUpsertContactBadRequest) FromErrorsContactInvalidPaymail

func (t *ResponsesUpsertContactBadRequest) FromErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error

FromErrorsContactInvalidPaymail overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsContactInvalidPaymail

func (*ResponsesUpsertContactBadRequest) FromErrorsGettingPKIFailed

func (t *ResponsesUpsertContactBadRequest) FromErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error

FromErrorsGettingPKIFailed overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsGettingPKIFailed

func (*ResponsesUpsertContactBadRequest) FromErrorsSaveContact

func (t *ResponsesUpsertContactBadRequest) FromErrorsSaveContact(v ErrorsSaveContact) error

FromErrorsSaveContact overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsSaveContact

func (*ResponsesUpsertContactBadRequest) FromErrorsUserDoNotOwnPaymail

func (t *ResponsesUpsertContactBadRequest) FromErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error

FromErrorsUserDoNotOwnPaymail overwrites any union data inside the ResponsesUpsertContactBadRequest as the provided ErrorsUserDoNotOwnPaymail

func (ResponsesUpsertContactBadRequest) MarshalJSON

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

func (*ResponsesUpsertContactBadRequest) MergeErrorsCannotBindRequest

func (t *ResponsesUpsertContactBadRequest) MergeErrorsCannotBindRequest(v ErrorsCannotBindRequest) error

MergeErrorsCannotBindRequest performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsCannotBindRequest

func (*ResponsesUpsertContactBadRequest) MergeErrorsContactFullNameRequired

func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactFullNameRequired(v ErrorsContactFullNameRequired) error

MergeErrorsContactFullNameRequired performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsContactFullNameRequired

func (*ResponsesUpsertContactBadRequest) MergeErrorsContactInvalidPaymail

func (t *ResponsesUpsertContactBadRequest) MergeErrorsContactInvalidPaymail(v ErrorsContactInvalidPaymail) error

MergeErrorsContactInvalidPaymail performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsContactInvalidPaymail

func (*ResponsesUpsertContactBadRequest) MergeErrorsGettingPKIFailed

func (t *ResponsesUpsertContactBadRequest) MergeErrorsGettingPKIFailed(v ErrorsGettingPKIFailed) error

MergeErrorsGettingPKIFailed performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsGettingPKIFailed

func (*ResponsesUpsertContactBadRequest) MergeErrorsSaveContact

func (t *ResponsesUpsertContactBadRequest) MergeErrorsSaveContact(v ErrorsSaveContact) error

MergeErrorsSaveContact performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsSaveContact

func (*ResponsesUpsertContactBadRequest) MergeErrorsUserDoNotOwnPaymail

func (t *ResponsesUpsertContactBadRequest) MergeErrorsUserDoNotOwnPaymail(v ErrorsUserDoNotOwnPaymail) error

MergeErrorsUserDoNotOwnPaymail performs a merge with any union data inside the ResponsesUpsertContactBadRequest, using the provided ErrorsUserDoNotOwnPaymail

func (*ResponsesUpsertContactBadRequest) UnmarshalJSON

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

type ResponsesUpsertContactNotFound

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

ResponsesUpsertContactNotFound defines model for responses_UpsertContactNotFound.

func (ResponsesUpsertContactNotFound) AsErrorsCouldNotFindPaymail

func (t ResponsesUpsertContactNotFound) AsErrorsCouldNotFindPaymail() (ErrorsCouldNotFindPaymail, error)

AsErrorsCouldNotFindPaymail returns the union data inside the ResponsesUpsertContactNotFound as a ErrorsCouldNotFindPaymail

func (*ResponsesUpsertContactNotFound) FromErrorsCouldNotFindPaymail

func (t *ResponsesUpsertContactNotFound) FromErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error

FromErrorsCouldNotFindPaymail overwrites any union data inside the ResponsesUpsertContactNotFound as the provided ErrorsCouldNotFindPaymail

func (ResponsesUpsertContactNotFound) MarshalJSON

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

func (*ResponsesUpsertContactNotFound) MergeErrorsCouldNotFindPaymail

func (t *ResponsesUpsertContactNotFound) MergeErrorsCouldNotFindPaymail(v ErrorsCouldNotFindPaymail) error

MergeErrorsCouldNotFindPaymail performs a merge with any union data inside the ResponsesUpsertContactNotFound, using the provided ErrorsCouldNotFindPaymail

func (*ResponsesUpsertContactNotFound) UnmarshalJSON

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

type ResponsesUserBadRequest

type ResponsesUserBadRequest = ErrorsInvalidDataID

ResponsesUserBadRequest defines model for responses_UserBadRequest.

type ResponsesUserNotAuthorized

type ResponsesUserNotAuthorized = ErrorsUserAuthorization

ResponsesUserNotAuthorized defines model for responses_UserNotAuthorized.

type SearchOperationsParams

type SearchOperationsParams struct {
	// Page Page number for pagination
	Page *RequestsPageNumber `form:"page,omitempty" json:"page,omitempty"`

	// Size Number of items per page
	Size *RequestsPageSize `form:"size,omitempty" json:"size,omitempty"`

	// Sort Sorting order (asc or desc)
	Sort *RequestsSort `form:"sort,omitempty" json:"sort,omitempty"`

	// SortBy Field to sort by
	SortBy *RequestsSortBy `form:"sortBy,omitempty" json:"sortBy,omitempty"`
}

SearchOperationsParams defines parameters for SearchOperations.

type ServerInterface

type ServerInterface interface {
	// Confirm contact
	// (POST /api/v2/admin/contacts/confirmations)
	AdminConfirmContact(c *gin.Context)
	// Delete contact
	// (DELETE /api/v2/admin/contacts/{id})
	AdminDeleteContact(c *gin.Context, id uint)
	// Update contact
	// (PUT /api/v2/admin/contacts/{id})
	AdminUpdateContact(c *gin.Context, id uint)
	// Create contact
	// (POST /api/v2/admin/contacts/{paymail})
	AdminCreateContact(c *gin.Context, paymail string)
	// Reject invitation
	// (DELETE /api/v2/admin/invitations/{id})
	AdminRejectInvitation(c *gin.Context, id uint)
	// Accept invitation
	// (POST /api/v2/admin/invitations/{id})
	AdminAcceptInvitation(c *gin.Context, id uint)
	// Get admin status
	// (GET /api/v2/admin/status)
	AdminStatus(c *gin.Context)
	// Record transaction outline for user
	// (POST /api/v2/admin/transactions/record)
	RecordTransactionOutlineForUser(c *gin.Context)
	// Create user
	// (POST /api/v2/admin/users)
	CreateUser(c *gin.Context)
	// Get user by id
	// (GET /api/v2/admin/users/{id})
	UserById(c *gin.Context, id string)
	// Add paymails to user
	// (POST /api/v2/admin/users/{id}/paymails)
	AddPaymailToUser(c *gin.Context, id string)
	// Delete webhooks
	// (DELETE /api/v2/admin/webhooks)
	UnsubscribeWebhook(c *gin.Context)
	// Get webhooks
	// (GET /api/v2/admin/webhooks)
	Webhooks(c *gin.Context)
	// Create webhook
	// (POST /api/v2/admin/webhooks)
	SubscribeWebhook(c *gin.Context)
	// Get shared config
	// (GET /api/v2/configs/shared)
	SharedConfig(c *gin.Context)
	// Remove contact
	// (DELETE /api/v2/contacts/{paymail})
	RemoveContact(c *gin.Context, paymail string)
	// Get contact
	// (GET /api/v2/contacts/{paymail})
	GetContact(c *gin.Context, paymail string)
	// Add contact
	// (PUT /api/v2/contacts/{paymail})
	UpsertContact(c *gin.Context, paymail string)
	// Unconfirm contact
	// (DELETE /api/v2/contacts/{paymail}/confirmation)
	UnconfirmContact(c *gin.Context, paymail string)
	// Confirm contact
	// (POST /api/v2/contacts/{paymail}/confirmation)
	ConfirmContact(c *gin.Context, paymail string)
	// Get data for user
	// (GET /api/v2/data/{id})
	DataById(c *gin.Context, id string)
	// Reject invitation
	// (DELETE /api/v2/invitations/{paymail})
	RejectInvitation(c *gin.Context, paymail string)
	// Accept invitation
	// (POST /api/v2/invitations/{paymail}/contacts)
	AcceptInvitation(c *gin.Context, paymail string)
	// Get Merkleroots
	// (GET /api/v2/merkleroots)
	MerkleRoots(c *gin.Context, params MerkleRootsParams)
	// Get operations for user
	// (GET /api/v2/operations/search)
	SearchOperations(c *gin.Context, params SearchOperationsParams)
	// Record transaction outline
	// (POST /api/v2/transactions)
	RecordTransactionOutline(c *gin.Context)
	// Create transaction outline
	// (POST /api/v2/transactions/outlines)
	CreateTransactionOutline(c *gin.Context, params CreateTransactionOutlineParams)
	// Create Paymail Address
	// (POST /api/v2/users/address)
	CreateAddress(c *gin.Context)
	// Delete current user
	// (DELETE /api/v2/users/current)
	DeleteCurrentUser(c *gin.Context)
	// Get current user
	// (GET /api/v2/users/current)
	CurrentUser(c *gin.Context)
}

ServerInterface represents all server handlers.

type ServerInterfaceWrapper

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

ServerInterfaceWrapper converts contexts to parameters.

func (*ServerInterfaceWrapper) AcceptInvitation

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

AcceptInvitation operation middleware

func (*ServerInterfaceWrapper) AddPaymailToUser

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

AddPaymailToUser operation middleware

func (*ServerInterfaceWrapper) AdminAcceptInvitation

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

AdminAcceptInvitation operation middleware

func (*ServerInterfaceWrapper) AdminConfirmContact

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

AdminConfirmContact operation middleware

func (*ServerInterfaceWrapper) AdminCreateContact

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

AdminCreateContact operation middleware

func (*ServerInterfaceWrapper) AdminDeleteContact

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

AdminDeleteContact operation middleware

func (*ServerInterfaceWrapper) AdminRejectInvitation

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

AdminRejectInvitation operation middleware

func (*ServerInterfaceWrapper) AdminStatus

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

AdminStatus operation middleware

func (*ServerInterfaceWrapper) AdminUpdateContact

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

AdminUpdateContact operation middleware

func (*ServerInterfaceWrapper) ConfirmContact

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

ConfirmContact operation middleware

func (*ServerInterfaceWrapper) CreateAddress

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

CreateAddress operation middleware

func (*ServerInterfaceWrapper) CreateTransactionOutline

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

CreateTransactionOutline operation middleware

func (*ServerInterfaceWrapper) CreateUser

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

CreateUser operation middleware

func (*ServerInterfaceWrapper) CurrentUser

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

CurrentUser operation middleware

func (*ServerInterfaceWrapper) DataById

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

DataById operation middleware

func (*ServerInterfaceWrapper) DeleteCurrentUser

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

DeleteCurrentUser operation middleware

func (*ServerInterfaceWrapper) GetContact

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

GetContact operation middleware

func (*ServerInterfaceWrapper) MerkleRoots

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

MerkleRoots operation middleware

func (*ServerInterfaceWrapper) RecordTransactionOutline

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

RecordTransactionOutline operation middleware

func (*ServerInterfaceWrapper) RecordTransactionOutlineForUser

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

RecordTransactionOutlineForUser operation middleware

func (*ServerInterfaceWrapper) RejectInvitation

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

RejectInvitation operation middleware

func (*ServerInterfaceWrapper) RemoveContact

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

RemoveContact operation middleware

func (*ServerInterfaceWrapper) SearchOperations

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

SearchOperations operation middleware

func (*ServerInterfaceWrapper) SharedConfig

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

SharedConfig operation middleware

func (*ServerInterfaceWrapper) SubscribeWebhook

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

SubscribeWebhook operation middleware

func (*ServerInterfaceWrapper) UnconfirmContact

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

UnconfirmContact operation middleware

func (*ServerInterfaceWrapper) UnsubscribeWebhook

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

UnsubscribeWebhook operation middleware

func (*ServerInterfaceWrapper) UpsertContact

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

UpsertContact operation middleware

func (*ServerInterfaceWrapper) UserById

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

UserById operation middleware

func (*ServerInterfaceWrapper) Webhooks

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

Webhooks operation middleware

type SubscribeWebhookJSONRequestBody

type SubscribeWebhookJSONRequestBody = RequestsSubscribeWebhook

SubscribeWebhookJSONRequestBody defines body for SubscribeWebhook for application/json ContentType.

type UnsubscribeWebhookJSONRequestBody

type UnsubscribeWebhookJSONRequestBody = RequestsUnsubscribeWebhook

UnsubscribeWebhookJSONRequestBody defines body for UnsubscribeWebhook for application/json ContentType.

type UpsertContactJSONRequestBody

type UpsertContactJSONRequestBody = RequestsUpsertContact

UpsertContactJSONRequestBody defines body for UpsertContact for application/json ContentType.

Jump to

Keyboard shortcuts

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