Documentation
¶
Index ¶
- Variables
- type Balance
- type BalanceFilter
- type CheckInvoiceInput
- type CheckInvoicePayload
- type ClientMutations
- type ClientsFilter
- type ClientsPagination
- type CreateInvoiceInput
- type CreateInvoicePayload
- type Error
- type FeeFilter
- type FeePayload
- type InvoiceMutations
- type InvoiceStatus
- type InvoicesFilter
- type InvoicesPagination
- type LoginInput
- type LoginPayload
- type MainBalance
- type Mutations
- type RegistrationMutations
- type RestorePasswordMutations
- type SendEmailOtpInput
- type SendEmailOtpPayload
- type SignUpInput
- type SignUpPayload
- type TransactionsFilter
- type TransactionsPagination
- type TransferInput
- type TransferPayload
- type UpdateClientInput
- type UpdateInvoiceInput
- type UpdateInvoicePayload
- type WalletsFilter
- type WalletsPagination
Constants ¶
This section is empty.
Variables ¶
View Source
var AllError = []Error{ ErrorNoAuth, }
Functions ¶
This section is empty.
Types ¶
type BalanceFilter ¶
type CheckInvoiceInput ¶
type CheckInvoiceInput struct {
ID string `json:"id"`
}
type CheckInvoicePayload ¶
type CheckInvoicePayload struct {
Invoice *invoices_service.Invoice `json:"invoice"`
}
type ClientMutations ¶
type ClientMutations struct{}
type ClientsFilter ¶
type ClientsFilter struct {
UsernameIn []string `json:"username_in,omitempty"`
}
type ClientsPagination ¶
type ClientsPagination struct {
Items []*clients_service.Client `json:"items,omitempty"`
}
type CreateInvoiceInput ¶
type CreateInvoiceInput struct {
UsdAmount float64 `json:"usd_amount"`
}
type CreateInvoicePayload ¶
type CreateInvoicePayload struct {
ID string `json:"id"`
}
type Error ¶
type Error string
const (
ErrorNoAuth Error = "NO_AUTH"
)
func (Error) MarshalGQL ¶
func (*Error) UnmarshalGQL ¶
type FeePayload ¶
type InvoiceMutations ¶
type InvoiceMutations struct{}
type InvoiceStatus ¶
type InvoiceStatus string
const ( InvoiceStatusUnknownStatus InvoiceStatus = "UNKNOWN_STATUS" InvoiceStatusNew InvoiceStatus = "NEW" InvoiceStatusPending InvoiceStatus = "PENDING" InvoiceStatusFailed InvoiceStatus = "FAILED" InvoiceStatusSuccess InvoiceStatus = "SUCCESS" InvoiceStatusExpired InvoiceStatus = "EXPIRED" InvoiceStatusSendingToClient InvoiceStatus = "SENDING_TO_CLIENT" InvoiceStatusManualControl InvoiceStatus = "MANUAL_CONTROL" )
func (InvoiceStatus) IsValid ¶
func (e InvoiceStatus) IsValid() bool
func (InvoiceStatus) MarshalGQL ¶
func (e InvoiceStatus) MarshalGQL(w io.Writer)
func (InvoiceStatus) String ¶
func (e InvoiceStatus) String() string
func (*InvoiceStatus) UnmarshalGQL ¶
func (e *InvoiceStatus) UnmarshalGQL(v interface{}) error
type InvoicesFilter ¶
type InvoicesFilter struct { IDIn []string `json:"idIn,omitempty"` ClientIDIn []string `json:"clientIdIn,omitempty"` StatusIn []InvoiceStatus `json:"statusIn,omitempty"` }
type InvoicesPagination ¶
type InvoicesPagination struct {
Items []*invoices_service.Invoice `json:"items,omitempty"`
}
type LoginInput ¶
type LoginPayload ¶
type LoginPayload struct {
Token string `json:"token"`
}
type MainBalance ¶
type MainBalance struct {
UsdBalance float64 `json:"usdBalance"`
}
type RegistrationMutations ¶
type RegistrationMutations struct{}
type RestorePasswordMutations ¶
type RestorePasswordMutations struct{}
type SendEmailOtpInput ¶
type SendEmailOtpInput struct {
Email string `json:"email"`
}
type SendEmailOtpPayload ¶
type SendEmailOtpPayload struct {
EmailCodeID string `json:"email_code_id"`
}
type SignUpInput ¶
type SignUpPayload ¶
type SignUpPayload struct {
Success bool `json:"success"`
}
type TransactionsFilter ¶
type TransactionsFilter struct {
AddressIn []string `json:"address_in,omitempty"`
}
type TransactionsPagination ¶
type TransactionsPagination struct {
Items []*crypto_service.Transaction `json:"items,omitempty"`
}
type TransferInput ¶
type TransferInput struct { ReceiverAddress *string `json:"receiver_address,omitempty"` ReceiverClientID *string `json:"receiver_client_id,omitempty"` GasLimit *int `json:"gas_limit,omitempty"` GasPrice *int `json:"gas_price,omitempty"` TokenAmount float64 `json:"token_amount"` Chain string `json:"chain"` }
type TransferPayload ¶
type TransferPayload struct {
Hash string `json:"hash"`
}
type UpdateClientInput ¶
type UpdateClientInput struct {
IsInvoiceNotificationEnabled *bool `json:"is_invoice_notification_enabled,omitempty"`
}
type UpdateInvoiceInput ¶
type UpdateInvoicePayload ¶
type UpdateInvoicePayload struct {
Invoice *invoices_service.Invoice `json:"invoice"`
}
type WalletsFilter ¶
type WalletsFilter struct {
ClientIDIn []string `json:"clientIdIn,omitempty"`
}
type WalletsPagination ¶
type WalletsPagination struct {
Items []*crypto_service.Wallet `json:"items,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.