api

package module
v0.0.28 Latest Latest
Warning

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

Go to latest
Published: Aug 23, 2023 License: Apache-2.0 Imports: 4 Imported by: 3

README

HookDeck Go Library

The HookDeck Go library provides convenient access to the HookDeck API from Go.

fern shield go shield

Requirements

This module requires Go version >= 1.19.

Installation

Run the following command to use the HookDeck Go library in your Go module:

go get github.com/hookdeck/hookdeck-go-sdk

This module requires Go version >= 1.19.

Instantiation

import (
  hookdeck "github.com/hookdeck/hookdeck-go-sdk"
  hookdeckclient "github.com/hookdeck/hookdeck-go-sdk/client"
)

client := hookdeckclient.NewClient(
  hookdeckclient.ClientWithAuthToken("<YOUR_AUTH_TOKEN>"),
)

Usage

package main

import (
  "context"
  "fmt"

  hookdeck "github.com/hookdeck/hookdeck-go-sdk"
  hookdeckclient "github.com/hookdeck/hookdeck-go-sdk/client"
)

client := hookdeckclient.NewClient(
  hookdeckclient.ClientWithAuthToken("<YOUR_API_KEY>"),
)
attempts, err := client.Attempts().GetAttempts(
  context.TODO(),
  &hookdeck.GetAttemptsRequest{
    EventId: hookdeck.String("<EVENT_ID>"),
  },
)
if err != nil {
  return err
}
fmt.Printf("Got %d attempts\n", *attempts.Count)

Timeouts

Setting a timeout for each individual request is as simple as using the standard context library. Setting a one second timeout for an individual API call looks like the following:

ctx, cancel := context.WithTimeout(context.TODO(), time.Second)
defer cancel()
attempts, err := client.Attempts().GetAttempts(
  context.TODO(),
  &hookdeck.GetAttemptsRequest{
    EventId: hookdeck.String("<EVENT_ID>"),
  },
)
if err != nil {
  return err
}

Client Options

A variety of client options are included to adapt the behavior of the library, which includes configuring authorization tokens to be sent on every request, or providing your own instrumented *http.Client. Both of these options are shown below:

client := hookdeckclient.NewClient(
  hookdeckclient.ClientWithAuthToken("<YOUR_AUTH_TOKEN>"),
  hookdeckclient.ClientWithHTTPClient(
    &http.Client{
      Timeout: 5 * time.Second,
    },
  ),
)

Providing your own *http.Client is recommended. Otherwise, the http.DefaultClient will be used, and your client will wait indefinitely for a response (unless the per-request, context-based timeout is used).

Errors

Structured error types are returned from API calls that return non-success status codes. For example, you can check if the error was due to a bad request (i.e. status code 400) with the following:

attempts, err := client.Attempts().GetAttempts(
  context.TODO(),
  &hookdeck.GetAttemptsRequest{
    EventId: hookdeck.String("<EVENT_ID>"),
  },
)
if err != nil {
  if badRequestErr, ok := err.(*hookdeck.BadRequestError);
    // Do something with the bad request ...
  }
  return err
}

These errors are also compatible with the errors.Is and errors.As APIs, so you can access the error like so:

attempts, err := client.Attempts().GetAttempts(
  context.TODO(),
  &hookdeck.GetAttemptsRequest{
    EventId: hookdeck.String("<EVENT_ID>"),
  },
)
if err != nil {
  var badRequestErr *hookdeck.BadRequestError
  if errors.As(err, badRequestErr); ok {
    // Do something with the bad request ...
  }
  return err
}

If you'd like to wrap the errors with additional information and still retain the ability to access the type with errors.Is and errors.As, you can use the %w directive:

attempts, err := client.Attempts().GetAttempts(
  context.TODO(),
  &hookdeck.GetAttemptsRequest{
    EventId: hookdeck.String("<EVENT_ID>"),
  },
)
if err != nil {
  return fmt.Errorf("failed to get attempts: %w", err)
}

Beta status

This SDK is in beta, and there may be breaking changes between versions without a major version update. Therefore, we recommend pinning the package version to a specific version in your go.mod file. This way, you can install the same version each time without breaking changes unless you are intentionally looking for the latest version.

Contributing

While we value open-source contributions to this SDK, this library is generated programmatically. Additions made directly to this library would have to be moved over to our generation code, otherwise they would be overwritten upon the next generated release. Feel free to open a PR as a proof of concept, but know that we will not be able to merge it as-is. We suggest opening an issue first to discuss with us!

On the other hand, contributions to the README are always very welcome!

Documentation

Overview

An event is any request that Hookdeck receives from a source.

Index

Constants

This section is empty.

Variables

View Source
var Environments = struct {
	Default string
}{
	Default: "https://api.hookdeck.com/2023-07-01",
}

Environments defines all of the API environments. These values can be used with the ClientWithBaseURL ClientOption to override the client's default environment, if any.

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func Null added in v0.0.28

func Null[T any]() *core.Optional[T]

Null initializes an optional field that will be sent as an explicit null value.

func Optional added in v0.0.28

func Optional[T any](value T) *core.Optional[T]

Optional initializes an optional field.

func Rune

func Rune(r rune) *rune

Rune returns a pointer to the given rune value.

func String

func String(s string) *string

String returns a pointer to the given string value.

func Time

func Time(t time.Time) *time.Time

Time returns a pointer to the given time.Time value.

func Uint

func Uint(u uint) *uint

Uint returns a pointer to the given uint value.

func Uint16

func Uint16(u uint16) *uint16

Uint16 returns a pointer to the given uint16 value.

func Uint32

func Uint32(u uint32) *uint32

Uint32 returns a pointer to the given uint32 value.

func Uint64

func Uint64(u uint64) *uint64

Uint64 returns a pointer to the given uint64 value.

func Uint8

func Uint8(u uint8) *uint8

Uint8 returns a pointer to the given uint8 value.

func Uintptr

func Uintptr(u uintptr) *uintptr

Uintptr returns a pointer to the given uintptr value.

Types

type AddCustomHostname

type AddCustomHostname struct {
	// The custom hostname to attach to the workspace
	Hostname string `json:"hostname"`
}

type Adyen

type Adyen struct {
	Configs *AdyenConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Adyen) MarshalJSON

func (a *Adyen) MarshalJSON() ([]byte, error)

func (*Adyen) Type

func (a *Adyen) Type() string

func (*Adyen) UnmarshalJSON

func (a *Adyen) UnmarshalJSON(data []byte) error

type AdyenConfigs

type AdyenConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Adyen. Only included if the ?include=verification.configs query param is present

type Akeneo

type Akeneo struct {
	Configs *AkeneoConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Akeneo) MarshalJSON

func (a *Akeneo) MarshalJSON() ([]byte, error)

func (*Akeneo) Type

func (a *Akeneo) Type() string

func (*Akeneo) UnmarshalJSON

func (a *Akeneo) UnmarshalJSON(data []byte) error

type AkeneoConfigs

type AkeneoConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Akeneo. Only included if the ?include=verification.configs query param is present

type ApiErrorResponse

type ApiErrorResponse struct {
	// Error code
	Code string `json:"code"`
	// Status code
	Status float64 `json:"status"`
	// Error description
	Message string                `json:"message"`
	Data    *ApiErrorResponseData `json:"data,omitempty"`
}

Error response model

type ApiErrorResponseData

type ApiErrorResponseData struct {
}

type ApiKey

type ApiKey struct {
	Configs *ApiKeyConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*ApiKey) MarshalJSON

func (a *ApiKey) MarshalJSON() ([]byte, error)

func (*ApiKey) Type

func (a *ApiKey) Type() string

func (*ApiKey) UnmarshalJSON

func (a *ApiKey) UnmarshalJSON(data []byte) error

type ApiKeyConfigs

type ApiKeyConfigs struct {
	HeaderKey string `json:"header_key"`
	ApiKey    string `json:"api_key"`
}

The verification configs for API Key. Only included if the ?include=verification.configs query param is present

type ApiKeyIntegrationConfigs

type ApiKeyIntegrationConfigs struct {
	HeaderKey string `json:"header_key"`
	ApiKey    string `json:"api_key"`
}

type AttachedIntegrationToSource

type AttachedIntegrationToSource struct {
	Success bool `json:"success"`
}

type AttemptErrorCodes

type AttemptErrorCodes string

Error code of the delivery attempt

const (
	AttemptErrorCodesCancelled                AttemptErrorCodes = "CANCELLED"
	AttemptErrorCodesTimeout                  AttemptErrorCodes = "TIMEOUT"
	AttemptErrorCodesNotFound                 AttemptErrorCodes = "NOT_FOUND"
	AttemptErrorCodesConnectionRefused        AttemptErrorCodes = "CONNECTION_REFUSED"
	AttemptErrorCodesConnectionReset          AttemptErrorCodes = "CONNECTION_RESET"
	AttemptErrorCodesMissingUrl               AttemptErrorCodes = "MISSING_URL"
	AttemptErrorCodesCli                      AttemptErrorCodes = "CLI"
	AttemptErrorCodesCliUnavailable           AttemptErrorCodes = "CLI_UNAVAILABLE"
	AttemptErrorCodesSelfSignedCert           AttemptErrorCodes = "SELF_SIGNED_CERT"
	AttemptErrorCodesErrTlsCertAltnameInvalid AttemptErrorCodes = "ERR_TLS_CERT_ALTNAME_INVALID"
	AttemptErrorCodesSslErrorCaUnknown        AttemptErrorCodes = "SSL_ERROR_CA_UNKNOWN"
	AttemptErrorCodesTtlExpired               AttemptErrorCodes = "TTL_EXPIRED"
	AttemptErrorCodesDataArchived             AttemptErrorCodes = "DATA_ARCHIVED"
	AttemptErrorCodesSslCertExpired           AttemptErrorCodes = "SSL_CERT_EXPIRED"
	AttemptErrorCodesBulkRetryCancelled       AttemptErrorCodes = "BULK_RETRY_CANCELLED"
	AttemptErrorCodesDnsLookupFailed          AttemptErrorCodes = "DNS_LOOKUP_FAILED"
	AttemptErrorCodesHostUnreachable          AttemptErrorCodes = "HOST_UNREACHABLE"
	AttemptErrorCodesProtocolError            AttemptErrorCodes = "PROTOCOL_ERROR"
	AttemptErrorCodesSocketClosed             AttemptErrorCodes = "SOCKET_CLOSED"
	AttemptErrorCodesUnknown                  AttemptErrorCodes = "UNKNOWN"
)

func NewAttemptErrorCodesFromString added in v0.0.27

func NewAttemptErrorCodesFromString(s string) (AttemptErrorCodes, error)

func (AttemptErrorCodes) Ptr added in v0.0.27

type AttemptState

type AttemptState string
const (
	AttemptStateDelivering AttemptState = "DELIVERING"
	AttemptStateQueued     AttemptState = "QUEUED"
	AttemptStatePending    AttemptState = "PENDING"
	AttemptStateCompleted  AttemptState = "COMPLETED"
	AttemptStateHold       AttemptState = "HOLD"
)

func NewAttemptStateFromString added in v0.0.27

func NewAttemptStateFromString(s string) (AttemptState, error)

func (AttemptState) Ptr added in v0.0.27

func (a AttemptState) Ptr() *AttemptState

type AttemptStatus

type AttemptStatus string

Attempt status

const (
	AttemptStatusQueued     AttemptStatus = "QUEUED"
	AttemptStatusFailed     AttemptStatus = "FAILED"
	AttemptStatusSuccessful AttemptStatus = "SUCCESSFUL"
	AttemptStatusHold       AttemptStatus = "HOLD"
)

func NewAttemptStatusFromString added in v0.0.27

func NewAttemptStatusFromString(s string) (AttemptStatus, error)

func (AttemptStatus) Ptr added in v0.0.27

func (a AttemptStatus) Ptr() *AttemptStatus

type AttemptTrigger

type AttemptTrigger string

How the attempt was triggered

const (
	AttemptTriggerInitial   AttemptTrigger = "INITIAL"
	AttemptTriggerManual    AttemptTrigger = "MANUAL"
	AttemptTriggerBulkRetry AttemptTrigger = "BULK_RETRY"
	AttemptTriggerUnpause   AttemptTrigger = "UNPAUSE"
	AttemptTriggerAutomatic AttemptTrigger = "AUTOMATIC"
)

func NewAttemptTriggerFromString added in v0.0.27

func NewAttemptTriggerFromString(s string) (AttemptTrigger, error)

func (AttemptTrigger) Ptr added in v0.0.27

func (a AttemptTrigger) Ptr() *AttemptTrigger

type AwsSns

type AwsSns struct {
	Configs *AwsSnsConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*AwsSns) MarshalJSON

func (a *AwsSns) MarshalJSON() ([]byte, error)

func (*AwsSns) Type

func (a *AwsSns) Type() string

func (*AwsSns) UnmarshalJSON

func (a *AwsSns) UnmarshalJSON(data []byte) error

type AwsSnsConfigs

type AwsSnsConfigs struct {
}

The verification configs for AWS SNS. Only included if the ?include=verification.configs query param is present

type BadRequestError

type BadRequestError struct {
	*core.APIError
	Body *ApiErrorResponse
}

func (*BadRequestError) MarshalJSON

func (b *BadRequestError) MarshalJSON() ([]byte, error)

func (*BadRequestError) UnmarshalJSON

func (b *BadRequestError) UnmarshalJSON(data []byte) error

func (*BadRequestError) Unwrap added in v0.0.28

func (b *BadRequestError) Unwrap() error

type BasicAuth

type BasicAuth struct {
	Configs *BasicAuthConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*BasicAuth) MarshalJSON

func (b *BasicAuth) MarshalJSON() ([]byte, error)

func (*BasicAuth) Type

func (b *BasicAuth) Type() string

func (*BasicAuth) UnmarshalJSON

func (b *BasicAuth) UnmarshalJSON(data []byte) error

type BasicAuthConfigs

type BasicAuthConfigs struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

The verification configs for Basic Auth. Only included if the ?include=verification.configs query param is present

type BasicAuthIntegrationConfigs

type BasicAuthIntegrationConfigs struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

type BatchOperation

type BatchOperation struct {
	// ID of the bulk retry
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// Query object to filter records
	Query *BatchOperationQuery `json:"query,omitempty"`
	// Date the bulk retry was created
	CreatedAt time.Time `json:"created_at"`
	// Last time the bulk retry was updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the bulk retry was cancelled
	CancelledAt *time.Time `json:"cancelled_at,omitempty"`
	// Date the bulk retry was completed
	CompletedAt *time.Time `json:"completed_at,omitempty"`
	// Number of batches required to complete the bulk retry
	EstimatedBatch *int `json:"estimated_batch,omitempty"`
	// Number of estimated events to be retried
	EstimatedCount *int `json:"estimated_count,omitempty"`
	// Number of batches currently processed
	ProcessedBatch *int `json:"processed_batch,omitempty"`
	// Number of events that were successfully delivered
	CompletedCount *int `json:"completed_count,omitempty"`
	// Indicates if the bulk retry is currently in progress
	InProgress bool `json:"in_progress"`
	// Progression of the batch operations, values 0 - 1
	Progress *float64 `json:"progress,omitempty"`
	// Number of events that failed to be delivered
	FailedCount *int     `json:"failed_count,omitempty"`
	Number      *float64 `json:"number,omitempty"`
}

type BatchOperationPaginatedResult

type BatchOperationPaginatedResult struct {
	Pagination *SeekPagination   `json:"pagination,omitempty"`
	Count      *int              `json:"count,omitempty"`
	Models     []*BatchOperation `json:"models,omitempty"`
}

type BatchOperationQuery

type BatchOperationQuery struct {
	StringUnknownMap map[string]any
	StringOptional   *string
	// contains filtered or unexported fields
}

Query object to filter records

func NewBatchOperationQueryFromStringOptional

func NewBatchOperationQueryFromStringOptional(value *string) *BatchOperationQuery

func NewBatchOperationQueryFromStringUnknownMap

func NewBatchOperationQueryFromStringUnknownMap(value map[string]any) *BatchOperationQuery

func (*BatchOperationQuery) Accept

func (BatchOperationQuery) MarshalJSON

func (b BatchOperationQuery) MarshalJSON() ([]byte, error)

func (*BatchOperationQuery) UnmarshalJSON

func (b *BatchOperationQuery) UnmarshalJSON(data []byte) error

type BatchOperationQueryVisitor

type BatchOperationQueryVisitor interface {
	VisitStringUnknownMap(map[string]any) error
	VisitStringOptional(*string) error
}

type BearerToken

type BearerToken struct {
	Config *DestinationAuthMethodBearerTokenConfig `json:"config,omitempty"`
	// contains filtered or unexported fields
}

Bearer Token

func (*BearerToken) MarshalJSON

func (b *BearerToken) MarshalJSON() ([]byte, error)

func (*BearerToken) Type

func (b *BearerToken) Type() string

func (*BearerToken) UnmarshalJSON

func (b *BearerToken) UnmarshalJSON(data []byte) error

type Bookmark

type Bookmark struct {
	// ID of the bookmark
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// ID of the associated connection
	WebhookId string `json:"webhook_id"`
	// ID of the bookmarked event data
	EventDataId string `json:"event_data_id"`
	// Descriptive name of the bookmark
	Label string `json:"label"`
	// Alternate alias for the bookmark
	Alias *string         `json:"alias,omitempty"`
	Data  *ShortEventData `json:"data,omitempty"`
	// Date the bookmark was last manually triggered
	LastUsedAt *time.Time `json:"last_used_at,omitempty"`
	// Date the bookmark was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the bookmark was created
	CreatedAt time.Time `json:"created_at"`
}

type BookmarkPaginatedResult

type BookmarkPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Bookmark     `json:"models,omitempty"`
}

type Commercelayer

type Commercelayer struct {
	Configs *CommercelayerConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Commercelayer) MarshalJSON

func (c *Commercelayer) MarshalJSON() ([]byte, error)

func (*Commercelayer) Type

func (c *Commercelayer) Type() string

func (*Commercelayer) UnmarshalJSON

func (c *Commercelayer) UnmarshalJSON(data []byte) error

type CommercelayerConfigs

type CommercelayerConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Commercelayer. Only included if the ?include=verification.configs query param is present

type Connection

type Connection struct {
	// ID of the connection
	Id string `json:"id"`
	// Unique name of the connection for this source
	Name *string `json:"name,omitempty"`
	// Full name of the connection concatenated from source, connection and desitnation name
	FullName *string `json:"full_name,omitempty"`
	// Description of the connection
	Description *string `json:"description,omitempty"`
	// ID of the workspace
	TeamId      string       `json:"team_id"`
	Destination *Destination `json:"destination,omitempty"`
	Source      *Source      `json:"source,omitempty"`
	// Array of rules configured on the connection
	Rules []*Rule `json:"rules,omitempty"`
	// Date the connection was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`
	// Date the connection was paused
	PausedAt *time.Time `json:"paused_at,omitempty"`
	// Date the connection was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the connection was created
	CreatedAt time.Time `json:"created_at"`
}

type ConnectionFilterProperty

type ConnectionFilterProperty struct {
	StringOptional                *string
	Double                        float64
	Boolean                       bool
	ConnectionFilterPropertyThree *ConnectionFilterPropertyThree
	// contains filtered or unexported fields
}

JSON using our filter syntax to filter on request headers

func NewConnectionFilterPropertyFromBoolean

func NewConnectionFilterPropertyFromBoolean(value bool) *ConnectionFilterProperty

func NewConnectionFilterPropertyFromConnectionFilterPropertyThree

func NewConnectionFilterPropertyFromConnectionFilterPropertyThree(value *ConnectionFilterPropertyThree) *ConnectionFilterProperty

func NewConnectionFilterPropertyFromDouble

func NewConnectionFilterPropertyFromDouble(value float64) *ConnectionFilterProperty

func NewConnectionFilterPropertyFromStringOptional

func NewConnectionFilterPropertyFromStringOptional(value *string) *ConnectionFilterProperty

func (*ConnectionFilterProperty) Accept

func (ConnectionFilterProperty) MarshalJSON

func (c ConnectionFilterProperty) MarshalJSON() ([]byte, error)

func (*ConnectionFilterProperty) UnmarshalJSON

func (c *ConnectionFilterProperty) UnmarshalJSON(data []byte) error

type ConnectionFilterPropertyThree

type ConnectionFilterPropertyThree struct {
}

type ConnectionFilterPropertyVisitor

type ConnectionFilterPropertyVisitor interface {
	VisitStringOptional(*string) error
	VisitDouble(float64) error
	VisitBoolean(bool) error
	VisitConnectionFilterPropertyThree(*ConnectionFilterPropertyThree) error
}

type ConnectionPaginatedResult

type ConnectionPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Connection   `json:"models,omitempty"`
}

type ConsoleLine

type ConsoleLine struct {
	Type    ConsoleLineType `json:"type,omitempty"`
	Message string          `json:"message"`
}

type ConsoleLineType

type ConsoleLineType string
const (
	ConsoleLineTypeError ConsoleLineType = "error"
	ConsoleLineTypeLog   ConsoleLineType = "log"
	ConsoleLineTypeWarn  ConsoleLineType = "warn"
	ConsoleLineTypeInfo  ConsoleLineType = "info"
	ConsoleLineTypeDebug ConsoleLineType = "debug"
)

func NewConsoleLineTypeFromString added in v0.0.27

func NewConsoleLineTypeFromString(s string) (ConsoleLineType, error)

func (ConsoleLineType) Ptr added in v0.0.27

type CreateBookmarkRequest

type CreateBookmarkRequest struct {
	// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
	EventDataId string `json:"event_data_id"`
	// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
	WebhookId string `json:"webhook_id"`
	// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
	Label string `json:"label"`
	// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
}

type CreateConnectionRequest

type CreateConnectionRequest struct {
	// A unique name of the connection for the source
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the connection
	Description *core.Optional[string] `json:"description,omitempty"`
	// ID of a destination to bind to the connection
	DestinationId *core.Optional[string] `json:"destination_id,omitempty"`
	// ID of a source to bind to the connection
	SourceId *core.Optional[string] `json:"source_id,omitempty"`
	// Destination input object
	Destination *core.Optional[CreateConnectionRequestDestination] `json:"destination,omitempty"`
	// Source input object
	Source *core.Optional[CreateConnectionRequestSource] `json:"source,omitempty"`
	Rules  []*Rule                                       `json:"rules,omitempty"`
}

type CreateConnectionRequestDestination

type CreateConnectionRequestDestination struct {
	// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the destination
	Description *string `json:"description,omitempty"`
	// Endpoint of the destination
	Url *string `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *string `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *CreateConnectionRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *int                         `json:"rate_limit,omitempty"`
	HttpMethod             *DestinationHttpMethod       `json:"http_method,omitempty"`
	AuthMethod             *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
	PathForwardingDisabled *bool                        `json:"path_forwarding_disabled,omitempty"`
}

Destination input object

type CreateConnectionRequestDestinationRateLimitPeriod

type CreateConnectionRequestDestinationRateLimitPeriod string

Period to rate limit attempts

const (
	CreateConnectionRequestDestinationRateLimitPeriodSecond CreateConnectionRequestDestinationRateLimitPeriod = "second"
	CreateConnectionRequestDestinationRateLimitPeriodMinute CreateConnectionRequestDestinationRateLimitPeriod = "minute"
	CreateConnectionRequestDestinationRateLimitPeriodHour   CreateConnectionRequestDestinationRateLimitPeriod = "hour"
)

func NewCreateConnectionRequestDestinationRateLimitPeriodFromString added in v0.0.27

func NewCreateConnectionRequestDestinationRateLimitPeriodFromString(s string) (CreateConnectionRequestDestinationRateLimitPeriod, error)

func (CreateConnectionRequestDestinationRateLimitPeriod) Ptr added in v0.0.27

type CreateConnectionRequestSource

type CreateConnectionRequestSource struct {
	// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the source
	Description        *string                  `json:"description,omitempty"`
	AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
	CustomResponse     *SourceCustomResponse    `json:"custom_response,omitempty"`
	Verification       *VerificationConfig      `json:"verification,omitempty"`
}

Source input object

type CreateDestinationRequest

type CreateDestinationRequest struct {
	// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[CreateDestinationRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type CreateDestinationRequestRateLimitPeriod

type CreateDestinationRequestRateLimitPeriod string

Period to rate limit attempts

const (
	CreateDestinationRequestRateLimitPeriodSecond CreateDestinationRequestRateLimitPeriod = "second"
	CreateDestinationRequestRateLimitPeriodMinute CreateDestinationRequestRateLimitPeriod = "minute"
	CreateDestinationRequestRateLimitPeriodHour   CreateDestinationRequestRateLimitPeriod = "hour"
)

func NewCreateDestinationRequestRateLimitPeriodFromString added in v0.0.27

func NewCreateDestinationRequestRateLimitPeriodFromString(s string) (CreateDestinationRequestRateLimitPeriod, error)

func (CreateDestinationRequestRateLimitPeriod) Ptr added in v0.0.27

type CreateEventBulkRetryRequest

type CreateEventBulkRetryRequest struct {
	// Filter properties for the events to be included in the bulk retry
	Query *core.Optional[CreateEventBulkRetryRequestQuery] `json:"query,omitempty"`
}

type CreateEventBulkRetryRequestQuery

type CreateEventBulkRetryRequestQuery struct {
	// Filter by event IDs
	Id *CreateEventBulkRetryRequestQueryId `json:"id,omitempty"`
	// Lifecyle status of the event
	Status *CreateEventBulkRetryRequestQueryStatus `json:"status,omitempty"`
	// Filter by webhook connection IDs
	WebhookId *CreateEventBulkRetryRequestQueryWebhookId `json:"webhook_id,omitempty"`
	// Filter by destination IDs
	DestinationId *CreateEventBulkRetryRequestQueryDestinationId `json:"destination_id,omitempty"`
	// Filter by source IDs
	SourceId *CreateEventBulkRetryRequestQuerySourceId `json:"source_id,omitempty"`
	// Filter by number of attempts
	Attempts *CreateEventBulkRetryRequestQueryAttempts `json:"attempts,omitempty"`
	// Filter by HTTP response status code
	ResponseStatus *CreateEventBulkRetryRequestQueryResponseStatus `json:"response_status,omitempty"`
	// Filter by `successful_at` date using a date operator
	SuccessfulAt *CreateEventBulkRetryRequestQuerySuccessfulAt `json:"successful_at,omitempty"`
	// Filter by `created_at` date using a date operator
	CreatedAt *CreateEventBulkRetryRequestQueryCreatedAt `json:"created_at,omitempty"`
	// Filter by error code code
	ErrorCode *CreateEventBulkRetryRequestQueryErrorCode `json:"error_code,omitempty"`
	// Filter by CLI IDs. `?[any]=true` operator for any CLI.
	CliId *CreateEventBulkRetryRequestQueryCliId `json:"cli_id,omitempty"`
	// Filter by `last_attempt_at` date using a date operator
	LastAttemptAt *CreateEventBulkRetryRequestQueryLastAttemptAt `json:"last_attempt_at,omitempty"`
	// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
	SearchTerm *string `json:"search_term,omitempty"`
	// URL Encoded string of the JSON to match to the data headers
	Headers *CreateEventBulkRetryRequestQueryHeaders `json:"headers,omitempty"`
	// URL Encoded string of the JSON to match to the data body
	Body *CreateEventBulkRetryRequestQueryBody `json:"body,omitempty"`
	// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
	ParsedQuery *CreateEventBulkRetryRequestQueryParsedQuery `json:"parsed_query,omitempty"`
	// URL Encoded string of the value to match partially to the path
	Path        *string                                      `json:"path,omitempty"`
	CliUserId   *CreateEventBulkRetryRequestQueryCliUserId   `json:"cli_user_id,omitempty"`
	IssueId     *CreateEventBulkRetryRequestQueryIssueId     `json:"issue_id,omitempty"`
	EventDataId *CreateEventBulkRetryRequestQueryEventDataId `json:"event_data_id,omitempty"`
	BulkRetryId *CreateEventBulkRetryRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}

Filter properties for the events to be included in the bulk retry

type CreateEventBulkRetryRequestQueryAttempts

type CreateEventBulkRetryRequestQueryAttempts struct {
	Integer                                     int
	CreateEventBulkRetryRequestQueryAttemptsAny *CreateEventBulkRetryRequestQueryAttemptsAny
	// contains filtered or unexported fields
}

Filter by number of attempts

func NewCreateEventBulkRetryRequestQueryAttemptsFromInteger

func NewCreateEventBulkRetryRequestQueryAttemptsFromInteger(value int) *CreateEventBulkRetryRequestQueryAttempts

func (*CreateEventBulkRetryRequestQueryAttempts) Accept

func (CreateEventBulkRetryRequestQueryAttempts) MarshalJSON

func (*CreateEventBulkRetryRequestQueryAttempts) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryAttempts) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryAttemptsAny

type CreateEventBulkRetryRequestQueryAttemptsAny struct {
	Gt       *int  `json:"gt,omitempty"`
	Gte      *int  `json:"gte,omitempty"`
	Le       *int  `json:"le,omitempty"`
	Lte      *int  `json:"lte,omitempty"`
	Any      *bool `json:"any,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type CreateEventBulkRetryRequestQueryAttemptsVisitor

type CreateEventBulkRetryRequestQueryAttemptsVisitor interface {
	VisitInteger(int) error
	VisitCreateEventBulkRetryRequestQueryAttemptsAny(*CreateEventBulkRetryRequestQueryAttemptsAny) error
}

type CreateEventBulkRetryRequestQueryBody

type CreateEventBulkRetryRequestQueryBody struct {
	String                                  string
	CreateEventBulkRetryRequestQueryBodyOne *CreateEventBulkRetryRequestQueryBodyOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the data body

func NewCreateEventBulkRetryRequestQueryBodyFromCreateEventBulkRetryRequestQueryBodyOne

func NewCreateEventBulkRetryRequestQueryBodyFromCreateEventBulkRetryRequestQueryBodyOne(value *CreateEventBulkRetryRequestQueryBodyOne) *CreateEventBulkRetryRequestQueryBody

func NewCreateEventBulkRetryRequestQueryBodyFromString

func NewCreateEventBulkRetryRequestQueryBodyFromString(value string) *CreateEventBulkRetryRequestQueryBody

func (*CreateEventBulkRetryRequestQueryBody) Accept

func (CreateEventBulkRetryRequestQueryBody) MarshalJSON

func (c CreateEventBulkRetryRequestQueryBody) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryBody) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryBody) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryBodyOne

type CreateEventBulkRetryRequestQueryBodyOne struct {
}

type CreateEventBulkRetryRequestQueryBodyVisitor

type CreateEventBulkRetryRequestQueryBodyVisitor interface {
	VisitString(string) error
	VisitCreateEventBulkRetryRequestQueryBodyOne(*CreateEventBulkRetryRequestQueryBodyOne) error
}

type CreateEventBulkRetryRequestQueryBulkRetryId

type CreateEventBulkRetryRequestQueryBulkRetryId struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromString

func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromString(value string) *CreateEventBulkRetryRequestQueryBulkRetryId

func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromStringList

func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryBulkRetryId

func (*CreateEventBulkRetryRequestQueryBulkRetryId) Accept

func (CreateEventBulkRetryRequestQueryBulkRetryId) MarshalJSON

func (*CreateEventBulkRetryRequestQueryBulkRetryId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryBulkRetryIdVisitor

type CreateEventBulkRetryRequestQueryBulkRetryIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryCliId

type CreateEventBulkRetryRequestQueryCliId struct {
	String                                   string
	CreateEventBulkRetryRequestQueryCliIdAny *CreateEventBulkRetryRequestQueryCliIdAny
	StringList                               []string
	// contains filtered or unexported fields
}

Filter by CLI IDs. `?[any]=true` operator for any CLI.

func NewCreateEventBulkRetryRequestQueryCliIdFromCreateEventBulkRetryRequestQueryCliIdAny

func NewCreateEventBulkRetryRequestQueryCliIdFromCreateEventBulkRetryRequestQueryCliIdAny(value *CreateEventBulkRetryRequestQueryCliIdAny) *CreateEventBulkRetryRequestQueryCliId

func NewCreateEventBulkRetryRequestQueryCliIdFromString

func NewCreateEventBulkRetryRequestQueryCliIdFromString(value string) *CreateEventBulkRetryRequestQueryCliId

func NewCreateEventBulkRetryRequestQueryCliIdFromStringList

func NewCreateEventBulkRetryRequestQueryCliIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryCliId

func (*CreateEventBulkRetryRequestQueryCliId) Accept

func (CreateEventBulkRetryRequestQueryCliId) MarshalJSON

func (c CreateEventBulkRetryRequestQueryCliId) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryCliId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryCliId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryCliIdAny

type CreateEventBulkRetryRequestQueryCliIdAny struct {
	Any *bool `json:"any,omitempty"`
}

type CreateEventBulkRetryRequestQueryCliIdVisitor

type CreateEventBulkRetryRequestQueryCliIdVisitor interface {
	VisitString(string) error
	VisitCreateEventBulkRetryRequestQueryCliIdAny(*CreateEventBulkRetryRequestQueryCliIdAny) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryCliUserId

type CreateEventBulkRetryRequestQueryCliUserId struct {
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewCreateEventBulkRetryRequestQueryCliUserIdFromString

func NewCreateEventBulkRetryRequestQueryCliUserIdFromString(value string) *CreateEventBulkRetryRequestQueryCliUserId

func NewCreateEventBulkRetryRequestQueryCliUserIdFromStringList

func NewCreateEventBulkRetryRequestQueryCliUserIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryCliUserId

func (*CreateEventBulkRetryRequestQueryCliUserId) Accept

func (CreateEventBulkRetryRequestQueryCliUserId) MarshalJSON

func (*CreateEventBulkRetryRequestQueryCliUserId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryCliUserId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryCliUserIdVisitor

type CreateEventBulkRetryRequestQueryCliUserIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryCreatedAt

type CreateEventBulkRetryRequestQueryCreatedAt struct {
	DateTime                                     time.Time
	CreateEventBulkRetryRequestQueryCreatedAtAny *CreateEventBulkRetryRequestQueryCreatedAtAny
	// contains filtered or unexported fields
}

Filter by `created_at` date using a date operator

func NewCreateEventBulkRetryRequestQueryCreatedAtFromDateTime

func NewCreateEventBulkRetryRequestQueryCreatedAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryCreatedAt

func (*CreateEventBulkRetryRequestQueryCreatedAt) Accept

func (CreateEventBulkRetryRequestQueryCreatedAt) MarshalJSON

func (*CreateEventBulkRetryRequestQueryCreatedAt) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryCreatedAt) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryCreatedAtAny

type CreateEventBulkRetryRequestQueryCreatedAtAny struct {
	Gt  *time.Time `json:"gt,omitempty"`
	Gte *time.Time `json:"gte,omitempty"`
	Le  *time.Time `json:"le,omitempty"`
	Lte *time.Time `json:"lte,omitempty"`
	Any *bool      `json:"any,omitempty"`
}

type CreateEventBulkRetryRequestQueryCreatedAtVisitor

type CreateEventBulkRetryRequestQueryCreatedAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitCreateEventBulkRetryRequestQueryCreatedAtAny(*CreateEventBulkRetryRequestQueryCreatedAtAny) error
}

type CreateEventBulkRetryRequestQueryDestinationId

type CreateEventBulkRetryRequestQueryDestinationId struct {

	// Destination ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by destination IDs

func NewCreateEventBulkRetryRequestQueryDestinationIdFromString

func NewCreateEventBulkRetryRequestQueryDestinationIdFromString(value string) *CreateEventBulkRetryRequestQueryDestinationId

func NewCreateEventBulkRetryRequestQueryDestinationIdFromStringList

func NewCreateEventBulkRetryRequestQueryDestinationIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryDestinationId

func (*CreateEventBulkRetryRequestQueryDestinationId) Accept

func (CreateEventBulkRetryRequestQueryDestinationId) MarshalJSON

func (*CreateEventBulkRetryRequestQueryDestinationId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryDestinationId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryDestinationIdVisitor

type CreateEventBulkRetryRequestQueryDestinationIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryErrorCode

type CreateEventBulkRetryRequestQueryErrorCode struct {
	AttemptErrorCodes     AttemptErrorCodes
	AttemptErrorCodesList []AttemptErrorCodes
	// contains filtered or unexported fields
}

Filter by error code code

func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodes

func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodes(value AttemptErrorCodes) *CreateEventBulkRetryRequestQueryErrorCode

func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodesList

func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodesList(value []AttemptErrorCodes) *CreateEventBulkRetryRequestQueryErrorCode

func (*CreateEventBulkRetryRequestQueryErrorCode) Accept

func (CreateEventBulkRetryRequestQueryErrorCode) MarshalJSON

func (*CreateEventBulkRetryRequestQueryErrorCode) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryErrorCode) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryErrorCodeVisitor

type CreateEventBulkRetryRequestQueryErrorCodeVisitor interface {
	VisitAttemptErrorCodes(AttemptErrorCodes) error
	VisitAttemptErrorCodesList([]AttemptErrorCodes) error
}

type CreateEventBulkRetryRequestQueryEventDataId

type CreateEventBulkRetryRequestQueryEventDataId struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewCreateEventBulkRetryRequestQueryEventDataIdFromString

func NewCreateEventBulkRetryRequestQueryEventDataIdFromString(value string) *CreateEventBulkRetryRequestQueryEventDataId

func NewCreateEventBulkRetryRequestQueryEventDataIdFromStringList

func NewCreateEventBulkRetryRequestQueryEventDataIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryEventDataId

func (*CreateEventBulkRetryRequestQueryEventDataId) Accept

func (CreateEventBulkRetryRequestQueryEventDataId) MarshalJSON

func (*CreateEventBulkRetryRequestQueryEventDataId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryEventDataId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryEventDataIdVisitor

type CreateEventBulkRetryRequestQueryEventDataIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryHeaders

type CreateEventBulkRetryRequestQueryHeaders struct {
	String                                     string
	CreateEventBulkRetryRequestQueryHeadersOne *CreateEventBulkRetryRequestQueryHeadersOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the data headers

func NewCreateEventBulkRetryRequestQueryHeadersFromString

func NewCreateEventBulkRetryRequestQueryHeadersFromString(value string) *CreateEventBulkRetryRequestQueryHeaders

func (*CreateEventBulkRetryRequestQueryHeaders) Accept

func (CreateEventBulkRetryRequestQueryHeaders) MarshalJSON

func (c CreateEventBulkRetryRequestQueryHeaders) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryHeaders) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryHeaders) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryHeadersOne

type CreateEventBulkRetryRequestQueryHeadersOne struct {
}

type CreateEventBulkRetryRequestQueryHeadersVisitor

type CreateEventBulkRetryRequestQueryHeadersVisitor interface {
	VisitString(string) error
	VisitCreateEventBulkRetryRequestQueryHeadersOne(*CreateEventBulkRetryRequestQueryHeadersOne) error
}

type CreateEventBulkRetryRequestQueryId

type CreateEventBulkRetryRequestQueryId struct {

	// Event ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by event IDs

func NewCreateEventBulkRetryRequestQueryIdFromString

func NewCreateEventBulkRetryRequestQueryIdFromString(value string) *CreateEventBulkRetryRequestQueryId

func NewCreateEventBulkRetryRequestQueryIdFromStringList

func NewCreateEventBulkRetryRequestQueryIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryId

func (*CreateEventBulkRetryRequestQueryId) Accept

func (CreateEventBulkRetryRequestQueryId) MarshalJSON

func (c CreateEventBulkRetryRequestQueryId) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryIdVisitor

type CreateEventBulkRetryRequestQueryIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryIssueId

type CreateEventBulkRetryRequestQueryIssueId struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewCreateEventBulkRetryRequestQueryIssueIdFromString

func NewCreateEventBulkRetryRequestQueryIssueIdFromString(value string) *CreateEventBulkRetryRequestQueryIssueId

func NewCreateEventBulkRetryRequestQueryIssueIdFromStringList

func NewCreateEventBulkRetryRequestQueryIssueIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryIssueId

func (*CreateEventBulkRetryRequestQueryIssueId) Accept

func (CreateEventBulkRetryRequestQueryIssueId) MarshalJSON

func (c CreateEventBulkRetryRequestQueryIssueId) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryIssueId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryIssueId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryIssueIdVisitor

type CreateEventBulkRetryRequestQueryIssueIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryLastAttemptAt

type CreateEventBulkRetryRequestQueryLastAttemptAt struct {
	DateTime                                         time.Time
	CreateEventBulkRetryRequestQueryLastAttemptAtAny *CreateEventBulkRetryRequestQueryLastAttemptAtAny
	// contains filtered or unexported fields
}

Filter by `last_attempt_at` date using a date operator

func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromDateTime

func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryLastAttemptAt

func (*CreateEventBulkRetryRequestQueryLastAttemptAt) Accept

func (CreateEventBulkRetryRequestQueryLastAttemptAt) MarshalJSON

func (*CreateEventBulkRetryRequestQueryLastAttemptAt) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryLastAttemptAt) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryLastAttemptAtAny

type CreateEventBulkRetryRequestQueryLastAttemptAtAny struct {
	Gt  *time.Time `json:"gt,omitempty"`
	Gte *time.Time `json:"gte,omitempty"`
	Le  *time.Time `json:"le,omitempty"`
	Lte *time.Time `json:"lte,omitempty"`
	Any *bool      `json:"any,omitempty"`
}

type CreateEventBulkRetryRequestQueryLastAttemptAtVisitor

type CreateEventBulkRetryRequestQueryLastAttemptAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitCreateEventBulkRetryRequestQueryLastAttemptAtAny(*CreateEventBulkRetryRequestQueryLastAttemptAtAny) error
}

type CreateEventBulkRetryRequestQueryParsedQuery

type CreateEventBulkRetryRequestQueryParsedQuery struct {
	String                                         string
	CreateEventBulkRetryRequestQueryParsedQueryOne *CreateEventBulkRetryRequestQueryParsedQueryOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)

func NewCreateEventBulkRetryRequestQueryParsedQueryFromString

func NewCreateEventBulkRetryRequestQueryParsedQueryFromString(value string) *CreateEventBulkRetryRequestQueryParsedQuery

func (*CreateEventBulkRetryRequestQueryParsedQuery) Accept

func (CreateEventBulkRetryRequestQueryParsedQuery) MarshalJSON

func (*CreateEventBulkRetryRequestQueryParsedQuery) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryParsedQuery) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryParsedQueryOne

type CreateEventBulkRetryRequestQueryParsedQueryOne struct {
}

type CreateEventBulkRetryRequestQueryParsedQueryVisitor

type CreateEventBulkRetryRequestQueryParsedQueryVisitor interface {
	VisitString(string) error
	VisitCreateEventBulkRetryRequestQueryParsedQueryOne(*CreateEventBulkRetryRequestQueryParsedQueryOne) error
}

type CreateEventBulkRetryRequestQueryResponseStatus

type CreateEventBulkRetryRequestQueryResponseStatus struct {
	Integer                                           int
	CreateEventBulkRetryRequestQueryResponseStatusAny *CreateEventBulkRetryRequestQueryResponseStatusAny
	IntegerList                                       []int
	// contains filtered or unexported fields
}

Filter by HTTP response status code

func NewCreateEventBulkRetryRequestQueryResponseStatusFromInteger

func NewCreateEventBulkRetryRequestQueryResponseStatusFromInteger(value int) *CreateEventBulkRetryRequestQueryResponseStatus

func NewCreateEventBulkRetryRequestQueryResponseStatusFromIntegerList

func NewCreateEventBulkRetryRequestQueryResponseStatusFromIntegerList(value []int) *CreateEventBulkRetryRequestQueryResponseStatus

func (*CreateEventBulkRetryRequestQueryResponseStatus) Accept

func (CreateEventBulkRetryRequestQueryResponseStatus) MarshalJSON

func (*CreateEventBulkRetryRequestQueryResponseStatus) UnmarshalJSON

type CreateEventBulkRetryRequestQueryResponseStatusAny

type CreateEventBulkRetryRequestQueryResponseStatusAny struct {
	Gt       *int  `json:"gt,omitempty"`
	Gte      *int  `json:"gte,omitempty"`
	Le       *int  `json:"le,omitempty"`
	Lte      *int  `json:"lte,omitempty"`
	Any      *bool `json:"any,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type CreateEventBulkRetryRequestQueryResponseStatusVisitor

type CreateEventBulkRetryRequestQueryResponseStatusVisitor interface {
	VisitInteger(int) error
	VisitCreateEventBulkRetryRequestQueryResponseStatusAny(*CreateEventBulkRetryRequestQueryResponseStatusAny) error
	VisitIntegerList([]int) error
}

type CreateEventBulkRetryRequestQuerySourceId

type CreateEventBulkRetryRequestQuerySourceId struct {

	// Source ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by source IDs

func NewCreateEventBulkRetryRequestQuerySourceIdFromString

func NewCreateEventBulkRetryRequestQuerySourceIdFromString(value string) *CreateEventBulkRetryRequestQuerySourceId

func NewCreateEventBulkRetryRequestQuerySourceIdFromStringList

func NewCreateEventBulkRetryRequestQuerySourceIdFromStringList(value []string) *CreateEventBulkRetryRequestQuerySourceId

func (*CreateEventBulkRetryRequestQuerySourceId) Accept

func (CreateEventBulkRetryRequestQuerySourceId) MarshalJSON

func (*CreateEventBulkRetryRequestQuerySourceId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQuerySourceId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQuerySourceIdVisitor

type CreateEventBulkRetryRequestQuerySourceIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateEventBulkRetryRequestQueryStatus

type CreateEventBulkRetryRequestQueryStatus struct {
	EventStatus     EventStatus
	EventStatusList []EventStatus
	// contains filtered or unexported fields
}

Lifecyle status of the event

func NewCreateEventBulkRetryRequestQueryStatusFromEventStatus

func NewCreateEventBulkRetryRequestQueryStatusFromEventStatus(value EventStatus) *CreateEventBulkRetryRequestQueryStatus

func NewCreateEventBulkRetryRequestQueryStatusFromEventStatusList

func NewCreateEventBulkRetryRequestQueryStatusFromEventStatusList(value []EventStatus) *CreateEventBulkRetryRequestQueryStatus

func (*CreateEventBulkRetryRequestQueryStatus) Accept

func (CreateEventBulkRetryRequestQueryStatus) MarshalJSON

func (c CreateEventBulkRetryRequestQueryStatus) MarshalJSON() ([]byte, error)

func (*CreateEventBulkRetryRequestQueryStatus) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryStatus) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryStatusVisitor

type CreateEventBulkRetryRequestQueryStatusVisitor interface {
	VisitEventStatus(EventStatus) error
	VisitEventStatusList([]EventStatus) error
}

type CreateEventBulkRetryRequestQuerySuccessfulAt

type CreateEventBulkRetryRequestQuerySuccessfulAt struct {
	DateTime                                        time.Time
	CreateEventBulkRetryRequestQuerySuccessfulAtAny *CreateEventBulkRetryRequestQuerySuccessfulAtAny
	// contains filtered or unexported fields
}

Filter by `successful_at` date using a date operator

func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromDateTime

func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQuerySuccessfulAt

func (*CreateEventBulkRetryRequestQuerySuccessfulAt) Accept

func (CreateEventBulkRetryRequestQuerySuccessfulAt) MarshalJSON

func (*CreateEventBulkRetryRequestQuerySuccessfulAt) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQuerySuccessfulAt) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQuerySuccessfulAtAny

type CreateEventBulkRetryRequestQuerySuccessfulAtAny struct {
	Gt  *time.Time `json:"gt,omitempty"`
	Gte *time.Time `json:"gte,omitempty"`
	Le  *time.Time `json:"le,omitempty"`
	Lte *time.Time `json:"lte,omitempty"`
	Any *bool      `json:"any,omitempty"`
}

type CreateEventBulkRetryRequestQuerySuccessfulAtVisitor

type CreateEventBulkRetryRequestQuerySuccessfulAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitCreateEventBulkRetryRequestQuerySuccessfulAtAny(*CreateEventBulkRetryRequestQuerySuccessfulAtAny) error
}

type CreateEventBulkRetryRequestQueryWebhookId

type CreateEventBulkRetryRequestQueryWebhookId struct {

	// Webhook ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by webhook connection IDs

func NewCreateEventBulkRetryRequestQueryWebhookIdFromString

func NewCreateEventBulkRetryRequestQueryWebhookIdFromString(value string) *CreateEventBulkRetryRequestQueryWebhookId

func NewCreateEventBulkRetryRequestQueryWebhookIdFromStringList

func NewCreateEventBulkRetryRequestQueryWebhookIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryWebhookId

func (*CreateEventBulkRetryRequestQueryWebhookId) Accept

func (CreateEventBulkRetryRequestQueryWebhookId) MarshalJSON

func (*CreateEventBulkRetryRequestQueryWebhookId) UnmarshalJSON

func (c *CreateEventBulkRetryRequestQueryWebhookId) UnmarshalJSON(data []byte) error

type CreateEventBulkRetryRequestQueryWebhookIdVisitor

type CreateEventBulkRetryRequestQueryWebhookIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateIgnoredEventBulkRetryRequest

type CreateIgnoredEventBulkRetryRequest struct {
	// Filter by the bulk retry ignored event query object
	Query *core.Optional[CreateIgnoredEventBulkRetryRequestQuery] `json:"query,omitempty"`
}

type CreateIgnoredEventBulkRetryRequestQuery

type CreateIgnoredEventBulkRetryRequestQuery struct {
	// The cause of the ignored event
	Cause *CreateIgnoredEventBulkRetryRequestQueryCause `json:"cause,omitempty"`
	// Connection ID of the ignored event
	WebhookId *CreateIgnoredEventBulkRetryRequestQueryWebhookId `json:"webhook_id,omitempty"`
	// The associated transformation ID (only applicable to the cause `TRANSFORMATION_FAILED`) <span style="white-space: nowrap">`<= 255 characters`</span>
	TransformationId *string `json:"transformation_id,omitempty"`
}

Filter by the bulk retry ignored event query object

type CreateIgnoredEventBulkRetryRequestQueryCause

type CreateIgnoredEventBulkRetryRequestQueryCause struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

The cause of the ignored event

func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromString

func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromString(value string) *CreateIgnoredEventBulkRetryRequestQueryCause

func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromStringList

func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromStringList(value []string) *CreateIgnoredEventBulkRetryRequestQueryCause

func (*CreateIgnoredEventBulkRetryRequestQueryCause) Accept

func (CreateIgnoredEventBulkRetryRequestQueryCause) MarshalJSON

func (*CreateIgnoredEventBulkRetryRequestQueryCause) UnmarshalJSON

func (c *CreateIgnoredEventBulkRetryRequestQueryCause) UnmarshalJSON(data []byte) error

type CreateIgnoredEventBulkRetryRequestQueryCauseVisitor

type CreateIgnoredEventBulkRetryRequestQueryCauseVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateIgnoredEventBulkRetryRequestQueryWebhookId

type CreateIgnoredEventBulkRetryRequestQueryWebhookId struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Connection ID of the ignored event

func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromString

func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromString(value string) *CreateIgnoredEventBulkRetryRequestQueryWebhookId

func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromStringList

func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromStringList(value []string) *CreateIgnoredEventBulkRetryRequestQueryWebhookId

func (*CreateIgnoredEventBulkRetryRequestQueryWebhookId) Accept

func (CreateIgnoredEventBulkRetryRequestQueryWebhookId) MarshalJSON

func (*CreateIgnoredEventBulkRetryRequestQueryWebhookId) UnmarshalJSON

type CreateIgnoredEventBulkRetryRequestQueryWebhookIdVisitor

type CreateIgnoredEventBulkRetryRequestQueryWebhookIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateIntegrationRequest

type CreateIntegrationRequest struct {
	// Label of the integration
	Label *core.Optional[string] `json:"label,omitempty"`
	// Decrypted Key/Value object of the associated configuration for that provider
	Configs  *core.Optional[CreateIntegrationRequestConfigs] `json:"configs,omitempty"`
	Provider *core.Optional[IntegrationProvider]             `json:"provider,omitempty"`
	// List of features to enable (see features list above)
	Features []IntegrationFeature `json:"features,omitempty"`
}

type CreateIntegrationRequestConfigs

type CreateIntegrationRequestConfigs struct {
	HmacIntegrationConfigs             *HmacIntegrationConfigs
	ApiKeyIntegrationConfigs           *ApiKeyIntegrationConfigs
	HandledApiKeyIntegrationConfigs    *HandledApiKeyIntegrationConfigs
	HandledHmacConfigs                 *HandledHmacConfigs
	BasicAuthIntegrationConfigs        *BasicAuthIntegrationConfigs
	ShopifyIntegrationConfigs          *ShopifyIntegrationConfigs
	CreateIntegrationRequestConfigsSix *CreateIntegrationRequestConfigsSix
	// contains filtered or unexported fields
}

Decrypted Key/Value object of the associated configuration for that provider

func NewCreateIntegrationRequestConfigsFromApiKeyIntegrationConfigs

func NewCreateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs

func NewCreateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromCreateIntegrationRequestConfigsSix

func NewCreateIntegrationRequestConfigsFromCreateIntegrationRequestConfigsSix(value *CreateIntegrationRequestConfigsSix) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs

func NewCreateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromHandledHmacConfigs

func NewCreateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromHmacIntegrationConfigs

func NewCreateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *CreateIntegrationRequestConfigs

func NewCreateIntegrationRequestConfigsFromShopifyIntegrationConfigs

func NewCreateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *CreateIntegrationRequestConfigs

func (*CreateIntegrationRequestConfigs) Accept

func (CreateIntegrationRequestConfigs) MarshalJSON

func (c CreateIntegrationRequestConfigs) MarshalJSON() ([]byte, error)

func (*CreateIntegrationRequestConfigs) UnmarshalJSON

func (c *CreateIntegrationRequestConfigs) UnmarshalJSON(data []byte) error

type CreateIntegrationRequestConfigsSix

type CreateIntegrationRequestConfigsSix struct {
}

type CreateIntegrationRequestConfigsVisitor

type CreateIntegrationRequestConfigsVisitor interface {
	VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
	VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
	VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
	VisitHandledHmacConfigs(*HandledHmacConfigs) error
	VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
	VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
	VisitCreateIntegrationRequestConfigsSix(*CreateIntegrationRequestConfigsSix) error
}

type CreateIssueTriggerRequest

type CreateIssueTriggerRequest struct {
	Type IssueType `json:"type,omitempty"`
	// Configuration object for the specific issue type selected
	Configs  *core.Optional[CreateIssueTriggerRequestConfigs] `json:"configs,omitempty"`
	Channels *core.Optional[IssueTriggerChannels]             `json:"channels,omitempty"`
	// Optional unique name to use as reference when using the API
	Name *core.Optional[string] `json:"name,omitempty"`
}

type CreateIssueTriggerRequestConfigs

type CreateIssueTriggerRequestConfigs struct {
	IssueTriggerDeliveryConfigs       *IssueTriggerDeliveryConfigs
	IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
	IssueTriggerBackpressureConfigs   *IssueTriggerBackpressureConfigs
	// contains filtered or unexported fields
}

Configuration object for the specific issue type selected

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *CreateIssueTriggerRequestConfigs

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *CreateIssueTriggerRequestConfigs

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs

func NewCreateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *CreateIssueTriggerRequestConfigs

func (*CreateIssueTriggerRequestConfigs) Accept

func (CreateIssueTriggerRequestConfigs) MarshalJSON

func (c CreateIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)

func (*CreateIssueTriggerRequestConfigs) UnmarshalJSON

func (c *CreateIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error

type CreateIssueTriggerRequestConfigsVisitor

type CreateIssueTriggerRequestConfigsVisitor interface {
	VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
	VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
	VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}

type CreateRequestBulkRetryRequest

type CreateRequestBulkRetryRequest struct {
	// Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)
	Query *core.Optional[CreateRequestBulkRetryRequestQuery] `json:"query,omitempty"`
}

type CreateRequestBulkRetryRequestQuery

type CreateRequestBulkRetryRequestQuery struct {
	// Filter by requests IDs
	Id *CreateRequestBulkRetryRequestQueryId `json:"id,omitempty"`
	// Filter by status
	Status *CreateRequestBulkRetryRequestQueryStatus `json:"status,omitempty"`
	// Filter by rejection cause
	RejectionCause *CreateRequestBulkRetryRequestQueryRejectionCause `json:"rejection_cause,omitempty"`
	// Filter by source IDs
	SourceId *CreateRequestBulkRetryRequestQuerySourceId `json:"source_id,omitempty"`
	// Filter by verification status
	Verified *bool `json:"verified,omitempty"`
	// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
	SearchTerm *string `json:"search_term,omitempty"`
	// URL Encoded string of the JSON to match to the data headers
	Headers *CreateRequestBulkRetryRequestQueryHeaders `json:"headers,omitempty"`
	// URL Encoded string of the JSON to match to the data body
	Body *CreateRequestBulkRetryRequestQueryBody `json:"body,omitempty"`
	// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
	ParsedQuery *CreateRequestBulkRetryRequestQueryParsedQuery `json:"parsed_query,omitempty"`
	// URL Encoded string of the value to match partially to the path
	Path *string `json:"path,omitempty"`
	// Filter by count of ignored events
	IgnoredCount *CreateRequestBulkRetryRequestQueryIgnoredCount `json:"ignored_count,omitempty"`
	// Filter by count of events
	EventsCount *CreateRequestBulkRetryRequestQueryEventsCount `json:"events_count,omitempty"`
	// Filter by event ingested date
	IngestedAt  *CreateRequestBulkRetryRequestQueryIngestedAt  `json:"ingested_at,omitempty"`
	BulkRetryId *CreateRequestBulkRetryRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}

Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)

type CreateRequestBulkRetryRequestQueryBody

type CreateRequestBulkRetryRequestQueryBody struct {
	String                                    string
	CreateRequestBulkRetryRequestQueryBodyOne *CreateRequestBulkRetryRequestQueryBodyOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the data body

func NewCreateRequestBulkRetryRequestQueryBodyFromString

func NewCreateRequestBulkRetryRequestQueryBodyFromString(value string) *CreateRequestBulkRetryRequestQueryBody

func (*CreateRequestBulkRetryRequestQueryBody) Accept

func (CreateRequestBulkRetryRequestQueryBody) MarshalJSON

func (c CreateRequestBulkRetryRequestQueryBody) MarshalJSON() ([]byte, error)

func (*CreateRequestBulkRetryRequestQueryBody) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryBody) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryBodyOne

type CreateRequestBulkRetryRequestQueryBodyOne struct {
}

type CreateRequestBulkRetryRequestQueryBodyVisitor

type CreateRequestBulkRetryRequestQueryBodyVisitor interface {
	VisitString(string) error
	VisitCreateRequestBulkRetryRequestQueryBodyOne(*CreateRequestBulkRetryRequestQueryBodyOne) error
}

type CreateRequestBulkRetryRequestQueryBulkRetryId

type CreateRequestBulkRetryRequestQueryBulkRetryId struct {

	// <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromString

func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromString(value string) *CreateRequestBulkRetryRequestQueryBulkRetryId

func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromStringList

func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromStringList(value []string) *CreateRequestBulkRetryRequestQueryBulkRetryId

func (*CreateRequestBulkRetryRequestQueryBulkRetryId) Accept

func (CreateRequestBulkRetryRequestQueryBulkRetryId) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryBulkRetryId) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryBulkRetryIdVisitor

type CreateRequestBulkRetryRequestQueryBulkRetryIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateRequestBulkRetryRequestQueryEventsCount

type CreateRequestBulkRetryRequestQueryEventsCount struct {
	Integer                                          int
	CreateRequestBulkRetryRequestQueryEventsCountAny *CreateRequestBulkRetryRequestQueryEventsCountAny
	IntegerList                                      []int
	// contains filtered or unexported fields
}

Filter by count of events

func NewCreateRequestBulkRetryRequestQueryEventsCountFromInteger

func NewCreateRequestBulkRetryRequestQueryEventsCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryEventsCount

func NewCreateRequestBulkRetryRequestQueryEventsCountFromIntegerList

func NewCreateRequestBulkRetryRequestQueryEventsCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryEventsCount

func (*CreateRequestBulkRetryRequestQueryEventsCount) Accept

func (CreateRequestBulkRetryRequestQueryEventsCount) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryEventsCount) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryEventsCount) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryEventsCountAny

type CreateRequestBulkRetryRequestQueryEventsCountAny struct {
	Gt       *int  `json:"gt,omitempty"`
	Gte      *int  `json:"gte,omitempty"`
	Le       *int  `json:"le,omitempty"`
	Lte      *int  `json:"lte,omitempty"`
	Any      *bool `json:"any,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type CreateRequestBulkRetryRequestQueryEventsCountVisitor

type CreateRequestBulkRetryRequestQueryEventsCountVisitor interface {
	VisitInteger(int) error
	VisitCreateRequestBulkRetryRequestQueryEventsCountAny(*CreateRequestBulkRetryRequestQueryEventsCountAny) error
	VisitIntegerList([]int) error
}

type CreateRequestBulkRetryRequestQueryHeaders

type CreateRequestBulkRetryRequestQueryHeaders struct {
	String                                       string
	CreateRequestBulkRetryRequestQueryHeadersOne *CreateRequestBulkRetryRequestQueryHeadersOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the data headers

func NewCreateRequestBulkRetryRequestQueryHeadersFromString

func NewCreateRequestBulkRetryRequestQueryHeadersFromString(value string) *CreateRequestBulkRetryRequestQueryHeaders

func (*CreateRequestBulkRetryRequestQueryHeaders) Accept

func (CreateRequestBulkRetryRequestQueryHeaders) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryHeaders) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryHeaders) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryHeadersOne

type CreateRequestBulkRetryRequestQueryHeadersOne struct {
}

type CreateRequestBulkRetryRequestQueryHeadersVisitor

type CreateRequestBulkRetryRequestQueryHeadersVisitor interface {
	VisitString(string) error
	VisitCreateRequestBulkRetryRequestQueryHeadersOne(*CreateRequestBulkRetryRequestQueryHeadersOne) error
}

type CreateRequestBulkRetryRequestQueryId

type CreateRequestBulkRetryRequestQueryId struct {

	// Request ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by requests IDs

func NewCreateRequestBulkRetryRequestQueryIdFromString

func NewCreateRequestBulkRetryRequestQueryIdFromString(value string) *CreateRequestBulkRetryRequestQueryId

func NewCreateRequestBulkRetryRequestQueryIdFromStringList

func NewCreateRequestBulkRetryRequestQueryIdFromStringList(value []string) *CreateRequestBulkRetryRequestQueryId

func (*CreateRequestBulkRetryRequestQueryId) Accept

func (CreateRequestBulkRetryRequestQueryId) MarshalJSON

func (c CreateRequestBulkRetryRequestQueryId) MarshalJSON() ([]byte, error)

func (*CreateRequestBulkRetryRequestQueryId) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryId) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryIdVisitor

type CreateRequestBulkRetryRequestQueryIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateRequestBulkRetryRequestQueryIgnoredCount

type CreateRequestBulkRetryRequestQueryIgnoredCount struct {
	Integer                                           int
	CreateRequestBulkRetryRequestQueryIgnoredCountAny *CreateRequestBulkRetryRequestQueryIgnoredCountAny
	IntegerList                                       []int
	// contains filtered or unexported fields
}

Filter by count of ignored events

func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromInteger

func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryIgnoredCount

func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromIntegerList

func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryIgnoredCount

func (*CreateRequestBulkRetryRequestQueryIgnoredCount) Accept

func (CreateRequestBulkRetryRequestQueryIgnoredCount) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryIgnoredCount) UnmarshalJSON

type CreateRequestBulkRetryRequestQueryIgnoredCountAny

type CreateRequestBulkRetryRequestQueryIgnoredCountAny struct {
	Gt       *int  `json:"gt,omitempty"`
	Gte      *int  `json:"gte,omitempty"`
	Le       *int  `json:"le,omitempty"`
	Lte      *int  `json:"lte,omitempty"`
	Any      *bool `json:"any,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type CreateRequestBulkRetryRequestQueryIgnoredCountVisitor

type CreateRequestBulkRetryRequestQueryIgnoredCountVisitor interface {
	VisitInteger(int) error
	VisitCreateRequestBulkRetryRequestQueryIgnoredCountAny(*CreateRequestBulkRetryRequestQueryIgnoredCountAny) error
	VisitIntegerList([]int) error
}

type CreateRequestBulkRetryRequestQueryIngestedAt

type CreateRequestBulkRetryRequestQueryIngestedAt struct {
	DateTime                                        time.Time
	CreateRequestBulkRetryRequestQueryIngestedAtAny *CreateRequestBulkRetryRequestQueryIngestedAtAny
	// contains filtered or unexported fields
}

Filter by event ingested date

func NewCreateRequestBulkRetryRequestQueryIngestedAtFromDateTime

func NewCreateRequestBulkRetryRequestQueryIngestedAtFromDateTime(value time.Time) *CreateRequestBulkRetryRequestQueryIngestedAt

func (*CreateRequestBulkRetryRequestQueryIngestedAt) Accept

func (CreateRequestBulkRetryRequestQueryIngestedAt) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryIngestedAt) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryIngestedAt) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryIngestedAtAny

type CreateRequestBulkRetryRequestQueryIngestedAtAny struct {
	Gt  *time.Time `json:"gt,omitempty"`
	Gte *time.Time `json:"gte,omitempty"`
	Le  *time.Time `json:"le,omitempty"`
	Lte *time.Time `json:"lte,omitempty"`
	Any *bool      `json:"any,omitempty"`
}

type CreateRequestBulkRetryRequestQueryIngestedAtVisitor

type CreateRequestBulkRetryRequestQueryIngestedAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitCreateRequestBulkRetryRequestQueryIngestedAtAny(*CreateRequestBulkRetryRequestQueryIngestedAtAny) error
}

type CreateRequestBulkRetryRequestQueryParsedQuery

type CreateRequestBulkRetryRequestQueryParsedQuery struct {
	String                                           string
	CreateRequestBulkRetryRequestQueryParsedQueryOne *CreateRequestBulkRetryRequestQueryParsedQueryOne
	// contains filtered or unexported fields
}

URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)

func NewCreateRequestBulkRetryRequestQueryParsedQueryFromString

func NewCreateRequestBulkRetryRequestQueryParsedQueryFromString(value string) *CreateRequestBulkRetryRequestQueryParsedQuery

func (*CreateRequestBulkRetryRequestQueryParsedQuery) Accept

func (CreateRequestBulkRetryRequestQueryParsedQuery) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryParsedQuery) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQueryParsedQuery) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQueryParsedQueryOne

type CreateRequestBulkRetryRequestQueryParsedQueryOne struct {
}

type CreateRequestBulkRetryRequestQueryParsedQueryVisitor

type CreateRequestBulkRetryRequestQueryParsedQueryVisitor interface {
	VisitString(string) error
	VisitCreateRequestBulkRetryRequestQueryParsedQueryOne(*CreateRequestBulkRetryRequestQueryParsedQueryOne) error
}

type CreateRequestBulkRetryRequestQueryRejectionCause

type CreateRequestBulkRetryRequestQueryRejectionCause struct {
	RequestRejectionCause     RequestRejectionCause
	RequestRejectionCauseList []RequestRejectionCause
	// contains filtered or unexported fields
}

Filter by rejection cause

func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCause

func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause

func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCauseList

func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause

func (*CreateRequestBulkRetryRequestQueryRejectionCause) Accept

func (CreateRequestBulkRetryRequestQueryRejectionCause) MarshalJSON

func (*CreateRequestBulkRetryRequestQueryRejectionCause) UnmarshalJSON

type CreateRequestBulkRetryRequestQueryRejectionCauseVisitor

type CreateRequestBulkRetryRequestQueryRejectionCauseVisitor interface {
	VisitRequestRejectionCause(RequestRejectionCause) error
	VisitRequestRejectionCauseList([]RequestRejectionCause) error
}

type CreateRequestBulkRetryRequestQuerySourceId

type CreateRequestBulkRetryRequestQuerySourceId struct {

	// Source ID <span style="white-space: nowrap">`<= 255 characters`</span>
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by source IDs

func NewCreateRequestBulkRetryRequestQuerySourceIdFromString

func NewCreateRequestBulkRetryRequestQuerySourceIdFromString(value string) *CreateRequestBulkRetryRequestQuerySourceId

func NewCreateRequestBulkRetryRequestQuerySourceIdFromStringList

func NewCreateRequestBulkRetryRequestQuerySourceIdFromStringList(value []string) *CreateRequestBulkRetryRequestQuerySourceId

func (*CreateRequestBulkRetryRequestQuerySourceId) Accept

func (CreateRequestBulkRetryRequestQuerySourceId) MarshalJSON

func (*CreateRequestBulkRetryRequestQuerySourceId) UnmarshalJSON

func (c *CreateRequestBulkRetryRequestQuerySourceId) UnmarshalJSON(data []byte) error

type CreateRequestBulkRetryRequestQuerySourceIdVisitor

type CreateRequestBulkRetryRequestQuerySourceIdVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type CreateRequestBulkRetryRequestQueryStatus

type CreateRequestBulkRetryRequestQueryStatus string

Filter by status

const (
	CreateRequestBulkRetryRequestQueryStatusAccepted CreateRequestBulkRetryRequestQueryStatus = "accepted"
	CreateRequestBulkRetryRequestQueryStatusRejected CreateRequestBulkRetryRequestQueryStatus = "rejected"
)

func NewCreateRequestBulkRetryRequestQueryStatusFromString added in v0.0.27

func NewCreateRequestBulkRetryRequestQueryStatusFromString(s string) (CreateRequestBulkRetryRequestQueryStatus, error)

func (CreateRequestBulkRetryRequestQueryStatus) Ptr added in v0.0.27

type CreateSourceRequest

type CreateSourceRequest struct {
	// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type CreateTransformationRequest

type CreateTransformationRequest struct {
	// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// JavaScript code to be executed as string
	Code string `json:"code"`
	// Key-value environment variables to be passed to the transformation
	Env map[string]*CreateTransformationRequestEnvValue `json:"env,omitempty"`
}

type CreateTransformationRequestEnvValue

type CreateTransformationRequestEnvValue struct {
	String string
	Double float64
	// contains filtered or unexported fields
}

func NewCreateTransformationRequestEnvValueFromDouble

func NewCreateTransformationRequestEnvValueFromDouble(value float64) *CreateTransformationRequestEnvValue

func NewCreateTransformationRequestEnvValueFromString

func NewCreateTransformationRequestEnvValueFromString(value string) *CreateTransformationRequestEnvValue

func (*CreateTransformationRequestEnvValue) Accept

func (CreateTransformationRequestEnvValue) MarshalJSON

func (c CreateTransformationRequestEnvValue) MarshalJSON() ([]byte, error)

func (*CreateTransformationRequestEnvValue) UnmarshalJSON

func (c *CreateTransformationRequestEnvValue) UnmarshalJSON(data []byte) error

type CreateTransformationRequestEnvValueVisitor

type CreateTransformationRequestEnvValueVisitor interface {
	VisitString(string) error
	VisitDouble(float64) error
}

type CustomSignature

type CustomSignature struct {
	Config *DestinationAuthMethodCustomSignatureConfig `json:"config,omitempty"`
	// contains filtered or unexported fields
}

Custom Signature

func (*CustomSignature) MarshalJSON

func (c *CustomSignature) MarshalJSON() ([]byte, error)

func (*CustomSignature) Type

func (c *CustomSignature) Type() string

func (*CustomSignature) UnmarshalJSON

func (c *CustomSignature) UnmarshalJSON(data []byte) error

type DelayRule

type DelayRule struct {
	// Delay to introduce in MS
	Delay int `json:"delay"`
	// contains filtered or unexported fields
}

func (*DelayRule) MarshalJSON

func (d *DelayRule) MarshalJSON() ([]byte, error)

func (*DelayRule) Type

func (d *DelayRule) Type() string

func (*DelayRule) UnmarshalJSON

func (d *DelayRule) UnmarshalJSON(data []byte) error

type DeleteConnectionResponse

type DeleteConnectionResponse struct {
	// ID of the connection
	Id string `json:"id"`
}

type DeleteCustomDomainSchema

type DeleteCustomDomainSchema struct {
	// The custom hostname ID
	Id string `json:"id"`
}

type DeleteDestinationResponse

type DeleteDestinationResponse struct {
	// ID of the destination
	Id string `json:"id"`
}

type DeleteSourceResponse

type DeleteSourceResponse struct {
	// ID of the source
	Id string `json:"id"`
}

type DeletedBookmarkResponse

type DeletedBookmarkResponse struct {
	// Bookmark ID
	Id string `json:"id"`
}

type DeletedIntegration

type DeletedIntegration struct {
	Id string `json:"id"`
}

type DeletedIssueTriggerResponse

type DeletedIssueTriggerResponse struct {
	Id string `json:"id"`
}

type DeliveryIssue

type DeliveryIssue struct {
	// Issue ID
	Id string `json:"id"`
	// ID of the workspace
	TeamId string      `json:"team_id"`
	Status IssueStatus `json:"status,omitempty"`
	// ISO timestamp for when the issue was last opened
	OpenedAt time.Time `json:"opened_at"`
	// ISO timestamp for when the issue was first opened
	FirstSeenAt time.Time `json:"first_seen_at"`
	// ISO timestamp for when the issue last occured
	LastSeenAt time.Time `json:"last_seen_at"`
	// ID of the team member who last updated the issue status
	LastUpdatedBy *string `json:"last_updated_by,omitempty"`
	// ISO timestamp for when the issue was dismissed
	DismissedAt    *time.Time `json:"dismissed_at,omitempty"`
	AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
	MergedWith     *string    `json:"merged_with,omitempty"`
	// ISO timestamp for when the issue was last updated
	UpdatedAt string `json:"updated_at"`
	// ISO timestamp for when the issue was created
	CreatedAt       string                        `json:"created_at"`
	AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
	Reference       *DeliveryIssueReference       `json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Delivery issue

func (*DeliveryIssue) MarshalJSON

func (d *DeliveryIssue) MarshalJSON() ([]byte, error)

func (*DeliveryIssue) Type

func (d *DeliveryIssue) Type() string

func (*DeliveryIssue) UnmarshalJSON

func (d *DeliveryIssue) UnmarshalJSON(data []byte) error

type DeliveryIssueAggregationKeys

type DeliveryIssueAggregationKeys struct {
	WebhookId      []string            `json:"webhook_id,omitempty"`
	ResponseStatus []float64           `json:"response_status,omitempty"`
	ErrorCode      []AttemptErrorCodes `json:"error_code,omitempty"`
}

Keys used as the aggregation keys a 'delivery' type issue

type DeliveryIssueData

type DeliveryIssueData struct {
	TriggerEvent   *Event        `json:"trigger_event,omitempty"`
	TriggerAttempt *EventAttempt `json:"trigger_attempt,omitempty"`
}

Delivery issue data

type DeliveryIssueReference

type DeliveryIssueReference struct {
	EventId   string `json:"event_id"`
	AttemptId string `json:"attempt_id"`
}

Reference to the event and attempt an issue is being created for.

type DeliveryIssueWithData

type DeliveryIssueWithData struct {
	// Issue ID
	Id string `json:"id"`
	// ID of the workspace
	TeamId string      `json:"team_id"`
	Status IssueStatus `json:"status,omitempty"`
	// ISO timestamp for when the issue was last opened
	OpenedAt time.Time `json:"opened_at"`
	// ISO timestamp for when the issue was first opened
	FirstSeenAt time.Time `json:"first_seen_at"`
	// ISO timestamp for when the issue last occured
	LastSeenAt time.Time `json:"last_seen_at"`
	// ID of the team member who last updated the issue status
	LastUpdatedBy *string `json:"last_updated_by,omitempty"`
	// ISO timestamp for when the issue was dismissed
	DismissedAt    *time.Time `json:"dismissed_at,omitempty"`
	AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
	MergedWith     *string    `json:"merged_with,omitempty"`
	// ISO timestamp for when the issue was last updated
	UpdatedAt string `json:"updated_at"`
	// ISO timestamp for when the issue was created
	CreatedAt       string                        `json:"created_at"`
	AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
	Reference       *DeliveryIssueReference       `json:"reference,omitempty"`
	Data            *DeliveryIssueData            `json:"data,omitempty"`
	// contains filtered or unexported fields
}

Delivery issue

func (*DeliveryIssueWithData) MarshalJSON

func (d *DeliveryIssueWithData) MarshalJSON() ([]byte, error)

func (*DeliveryIssueWithData) Type

func (d *DeliveryIssueWithData) Type() string

func (*DeliveryIssueWithData) UnmarshalJSON

func (d *DeliveryIssueWithData) UnmarshalJSON(data []byte) error

type Destination

type Destination struct {
	// ID of the destination
	Id string `json:"id"`
	// A unique, human-friendly name for the destination
	Name string `json:"name"`
	// Description of the destination
	Description *string `json:"description,omitempty"`
	// ID of the workspace
	TeamId                 string `json:"team_id"`
	PathForwardingDisabled *bool  `json:"path_forwarding_disabled,omitempty"`
	// HTTP endpoint of the destination
	Url *string `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *string `json:"cli_path,omitempty"`
	// Limit event attempts to receive per period. Max value is workspace plan's max attempts thoughput.
	RateLimit       *int                         `json:"rate_limit,omitempty"`
	RateLimitPeriod *DestinationRateLimitPeriod  `json:"rate_limit_period,omitempty"`
	HttpMethod      *DestinationHttpMethod       `json:"http_method,omitempty"`
	AuthMethod      *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
	// Date the destination was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`
	// Date the destination was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the destination was created
	CreatedAt time.Time `json:"created_at"`
}

Associated Destination(#destination-object) object

type DestinationAuthMethodApiKeyConfig

type DestinationAuthMethodApiKeyConfig struct {
	// Key for the API key auth
	Key string `json:"key"`
	// API key for the API key auth
	ApiKey string `json:"api_key"`
	// Whether the API key should be sent as a header or a query parameter
	To *DestinationAuthMethodApiKeyConfigTo `json:"to,omitempty"`
}

API key config for the destination's auth method

type DestinationAuthMethodApiKeyConfigTo

type DestinationAuthMethodApiKeyConfigTo string

Whether the API key should be sent as a header or a query parameter

const (
	DestinationAuthMethodApiKeyConfigToHeader DestinationAuthMethodApiKeyConfigTo = "header"
	DestinationAuthMethodApiKeyConfigToQuery  DestinationAuthMethodApiKeyConfigTo = "query"
)

func NewDestinationAuthMethodApiKeyConfigToFromString added in v0.0.27

func NewDestinationAuthMethodApiKeyConfigToFromString(s string) (DestinationAuthMethodApiKeyConfigTo, error)

func (DestinationAuthMethodApiKeyConfigTo) Ptr added in v0.0.27

type DestinationAuthMethodBasicAuthConfig

type DestinationAuthMethodBasicAuthConfig struct {
	// Username for basic auth
	Username string `json:"username"`
	// Password for basic auth
	Password string `json:"password"`
}

Basic auth config for the destination's auth method

type DestinationAuthMethodBearerTokenConfig

type DestinationAuthMethodBearerTokenConfig struct {
	// Token for the bearer token auth
	Token string `json:"token"`
}

Bearer token config for the destination's auth method

type DestinationAuthMethodConfig

type DestinationAuthMethodConfig struct {
	HookdeckSignature *HookdeckSignature
	BasicAuth         *BasicAuth
	ApiKey            *ApiKey
	BearerToken       *BearerToken
	CustomSignature   *CustomSignature
	// contains filtered or unexported fields
}

Config for the destination's auth method

func NewDestinationAuthMethodConfigFromApiKey

func NewDestinationAuthMethodConfigFromApiKey(value *ApiKey) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromBasicAuth

func NewDestinationAuthMethodConfigFromBasicAuth(value *BasicAuth) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromBearerToken

func NewDestinationAuthMethodConfigFromBearerToken(value *BearerToken) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromCustomSignature

func NewDestinationAuthMethodConfigFromCustomSignature(value *CustomSignature) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromHookdeckSignature

func NewDestinationAuthMethodConfigFromHookdeckSignature(value *HookdeckSignature) *DestinationAuthMethodConfig

func (*DestinationAuthMethodConfig) Accept

func (DestinationAuthMethodConfig) MarshalJSON

func (d DestinationAuthMethodConfig) MarshalJSON() ([]byte, error)

func (*DestinationAuthMethodConfig) UnmarshalJSON

func (d *DestinationAuthMethodConfig) UnmarshalJSON(data []byte) error

type DestinationAuthMethodConfigVisitor

type DestinationAuthMethodConfigVisitor interface {
	VisitHookdeckSignature(*HookdeckSignature) error
	VisitBasicAuth(*BasicAuth) error
	VisitApiKey(*ApiKey) error
	VisitBearerToken(*BearerToken) error
	VisitCustomSignature(*CustomSignature) error
}

type DestinationAuthMethodCustomSignatureConfig

type DestinationAuthMethodCustomSignatureConfig struct {
	// Key for the custom signature auth
	Key string `json:"key"`
	// Signing secret for the custom signature auth. If left empty a secret will be generated for you.
	SigningSecret *string `json:"signing_secret,omitempty"`
}

Custom signature config for the destination's auth method

type DestinationAuthMethodSignatureConfig

type DestinationAuthMethodSignatureConfig struct {
}

Empty config for the destination's auth method

type DestinationHttpMethod

type DestinationHttpMethod string

HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source.

const (
	DestinationHttpMethodGet    DestinationHttpMethod = "GET"
	DestinationHttpMethodPost   DestinationHttpMethod = "POST"
	DestinationHttpMethodPut    DestinationHttpMethod = "PUT"
	DestinationHttpMethodPatch  DestinationHttpMethod = "PATCH"
	DestinationHttpMethodDelete DestinationHttpMethod = "DELETE"
)

func NewDestinationHttpMethodFromString added in v0.0.27

func NewDestinationHttpMethodFromString(s string) (DestinationHttpMethod, error)

func (DestinationHttpMethod) Ptr added in v0.0.27

type DestinationPaginatedResult

type DestinationPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Destination  `json:"models,omitempty"`
}

type DestinationRateLimitPeriod

type DestinationRateLimitPeriod string

Period to rate limit attempts

const (
	DestinationRateLimitPeriodSecond DestinationRateLimitPeriod = "second"
	DestinationRateLimitPeriodMinute DestinationRateLimitPeriod = "minute"
	DestinationRateLimitPeriodHour   DestinationRateLimitPeriod = "hour"
)

func NewDestinationRateLimitPeriodFromString added in v0.0.27

func NewDestinationRateLimitPeriodFromString(s string) (DestinationRateLimitPeriod, error)

func (DestinationRateLimitPeriod) Ptr added in v0.0.27

type DetachedIntegrationFromSource

type DetachedIntegrationFromSource struct {
}

type Event

type Event struct {
	// ID of the event
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// ID of the associated connection
	WebhookId string `json:"webhook_id"`
	// ID of the associated source
	SourceId string `json:"source_id"`
	// ID of the associated destination
	DestinationId string `json:"destination_id"`
	// ID of the event data
	EventDataId string `json:"event_data_id"`
	// ID of the request that created the event
	RequestId string `json:"request_id"`
	// Number of delivery attempts made
	Attempts int `json:"attempts"`
	// Date of the most recently attempted retry
	LastAttemptAt *time.Time `json:"last_attempt_at,omitempty"`
	// Date of the next scheduled retry
	NextAttemptAt *time.Time `json:"next_attempt_at,omitempty"`
	// Event status
	ResponseStatus *int               `json:"response_status,omitempty"`
	ErrorCode      *AttemptErrorCodes `json:"error_code,omitempty"`
	Status         EventStatus        `json:"status,omitempty"`
	// Date of the latest successful attempt
	SuccessfulAt *time.Time `json:"successful_at,omitempty"`
	// ID of the CLI the event is sent to
	CliId *string `json:"cli_id,omitempty"`
	// Date the event was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the event was created
	CreatedAt time.Time       `json:"created_at"`
	Data      *ShortEventData `json:"data,omitempty"`
}

type EventArray

type EventArray = []*Event

type EventAttempt

type EventAttempt struct {
	// Attempt ID
	Id string `json:"id"`
	// Team ID
	TeamId string `json:"team_id"`
	// Event ID
	EventId string `json:"event_id"`
	// Attempt's HTTP response code
	ResponseStatus *int `json:"response_status,omitempty"`
	// Sequential number of attempts (up to and including this one) made for the associated event
	AttemptNumber *int               `json:"attempt_number,omitempty"`
	Trigger       *AttemptTrigger    `json:"trigger,omitempty"`
	ErrorCode     *AttemptErrorCodes `json:"error_code,omitempty"`
	Body          *EventAttemptBody  `json:"body,omitempty"`
	// URL of the destination where delivery was attempted
	RequestedUrl *string `json:"requested_url,omitempty"`
	// HTTP method used to deliver the attempt
	HttpMethod *EventAttemptHttpMethod `json:"http_method,omitempty"`
	// ID of associated bulk retry
	BulkRetryId *string       `json:"bulk_retry_id,omitempty"`
	Status      AttemptStatus `json:"status,omitempty"`
	// Date the attempt was successful
	SuccessfulAt *time.Time `json:"successful_at,omitempty"`
	// Date the attempt was delivered
	DeliveredAt *time.Time `json:"delivered_at,omitempty"`
	// Date the destination responded to this attempt
	RespondedAt *time.Time `json:"responded_at,omitempty"`
	// Time elapsed between attempt initiation and final delivery (in ms)
	DeliveryLatency *int `json:"delivery_latency,omitempty"`
	// Time elapsed between attempt initiation and a response from the destination (in ms)
	ResponseLatency *int `json:"response_latency,omitempty"`
	// Date the attempt was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the attempt was created
	CreatedAt time.Time     `json:"created_at"`
	State     *AttemptState `json:"state,omitempty"`
	// Date the attempt was archived
	ArchivedAt    *string `json:"archived_at,omitempty"`
	DestinationId *string `json:"destination_id,omitempty"`
}

type EventAttemptBody

type EventAttemptBody struct {

	// Response body from the destination
	EventAttemptBodyZeroOptional *EventAttemptBodyZero
	// Response body from the destination
	StringOptional *string
	// contains filtered or unexported fields
}

func NewEventAttemptBodyFromEventAttemptBodyZeroOptional

func NewEventAttemptBodyFromEventAttemptBodyZeroOptional(value *EventAttemptBodyZero) *EventAttemptBody

func NewEventAttemptBodyFromStringOptional

func NewEventAttemptBodyFromStringOptional(value *string) *EventAttemptBody

func (*EventAttemptBody) Accept

func (e *EventAttemptBody) Accept(visitor EventAttemptBodyVisitor) error

func (EventAttemptBody) MarshalJSON

func (e EventAttemptBody) MarshalJSON() ([]byte, error)

func (*EventAttemptBody) UnmarshalJSON

func (e *EventAttemptBody) UnmarshalJSON(data []byte) error

type EventAttemptBodyVisitor

type EventAttemptBodyVisitor interface {
	VisitEventAttemptBodyZeroOptional(*EventAttemptBodyZero) error
	VisitStringOptional(*string) error
}

type EventAttemptBodyZero

type EventAttemptBodyZero struct {
}

Response body from the destination

type EventAttemptHttpMethod

type EventAttemptHttpMethod string

HTTP method used to deliver the attempt

const (
	EventAttemptHttpMethodGet    EventAttemptHttpMethod = "GET"
	EventAttemptHttpMethodPost   EventAttemptHttpMethod = "POST"
	EventAttemptHttpMethodPut    EventAttemptHttpMethod = "PUT"
	EventAttemptHttpMethodPatch  EventAttemptHttpMethod = "PATCH"
	EventAttemptHttpMethodDelete EventAttemptHttpMethod = "DELETE"
)

func NewEventAttemptHttpMethodFromString added in v0.0.27

func NewEventAttemptHttpMethodFromString(s string) (EventAttemptHttpMethod, error)

func (EventAttemptHttpMethod) Ptr added in v0.0.27

type EventAttemptPaginatedResult

type EventAttemptPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*EventAttempt `json:"models,omitempty"`
}

type EventPaginatedResult

type EventPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Event        `json:"models,omitempty"`
}

type EventStatus

type EventStatus string
const (
	EventStatusScheduled  EventStatus = "SCHEDULED"
	EventStatusQueued     EventStatus = "QUEUED"
	EventStatusHold       EventStatus = "HOLD"
	EventStatusSuccessful EventStatus = "SUCCESSFUL"
	EventStatusFailed     EventStatus = "FAILED"
)

func NewEventStatusFromString added in v0.0.27

func NewEventStatusFromString(s string) (EventStatus, error)

func (EventStatus) Ptr added in v0.0.27

func (e EventStatus) Ptr() *EventStatus

type FilterRule

type FilterRule struct {
	Headers *ConnectionFilterProperty `json:"headers,omitempty"`
	Body    *ConnectionFilterProperty `json:"body,omitempty"`
	Query   *ConnectionFilterProperty `json:"query,omitempty"`
	Path    *ConnectionFilterProperty `json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*FilterRule) MarshalJSON

func (f *FilterRule) MarshalJSON() ([]byte, error)

func (*FilterRule) Type

func (f *FilterRule) Type() string

func (*FilterRule) UnmarshalJSON

func (f *FilterRule) UnmarshalJSON(data []byte) error

type FilteredMeta

type FilteredMeta string
const (
	FilteredMetaBody    FilteredMeta = "body"
	FilteredMetaHeaders FilteredMeta = "headers"
	FilteredMetaPath    FilteredMeta = "path"
	FilteredMetaQuery   FilteredMeta = "query"
)

func NewFilteredMetaFromString added in v0.0.27

func NewFilteredMetaFromString(s string) (FilteredMeta, error)

func (FilteredMeta) Ptr added in v0.0.27

func (f FilteredMeta) Ptr() *FilteredMeta

type GenerateEventBulkRetryPlanResponse

type GenerateEventBulkRetryPlanResponse struct {
	// Number of batches required to complete the bulk retry
	EstimatedBatch *int `json:"estimated_batch,omitempty"`
	// Number of estimated events to be retried
	EstimatedCount *int `json:"estimated_count,omitempty"`
	// Progression of the batch operations, values 0 - 1
	Progress *float64 `json:"progress,omitempty"`
}

type GenerateIgnoredEventBulkRetryPlanResponse

type GenerateIgnoredEventBulkRetryPlanResponse struct {
	// Number of batches required to complete the bulk retry
	EstimatedBatch *int `json:"estimated_batch,omitempty"`
	// Number of estimated events to be retried
	EstimatedCount *int `json:"estimated_count,omitempty"`
	// Progression of the batch operations, values 0 - 1
	Progress *float64 `json:"progress,omitempty"`
}

type GenerateRequestBulkRetryPlanResponse

type GenerateRequestBulkRetryPlanResponse struct {
	// Number of batches required to complete the bulk retry
	EstimatedBatch *int `json:"estimated_batch,omitempty"`
	// Number of estimated events to be retried
	EstimatedCount *int `json:"estimated_count,omitempty"`
	// Progression of the batch operations, values 0 - 1
	Progress *float64 `json:"progress,omitempty"`
}

type GetAttemptsRequest

type GetAttemptsRequest struct {
	EventId *string                `json:"-"`
	OrderBy *string                `json:"-"`
	Dir     *GetAttemptsRequestDir `json:"-"`
	Limit   *int                   `json:"-"`
	Next    *string                `json:"-"`
	Prev    *string                `json:"-"`
}

type GetAttemptsRequestDir

type GetAttemptsRequestDir string
const (
	GetAttemptsRequestDirAsc  GetAttemptsRequestDir = "asc"
	GetAttemptsRequestDirDesc GetAttemptsRequestDir = "desc"
)

func NewGetAttemptsRequestDirFromString added in v0.0.27

func NewGetAttemptsRequestDirFromString(s string) (GetAttemptsRequestDir, error)

func (GetAttemptsRequestDir) Ptr added in v0.0.27

type GetBookmarksRequest

type GetBookmarksRequest struct {
	Id          *string                 `json:"-"`
	Name        *string                 `json:"-"`
	WebhookId   *string                 `json:"-"`
	EventDataId *string                 `json:"-"`
	Label       *string                 `json:"-"`
	LastUsedAt  *time.Time              `json:"-"`
	OrderBy     *string                 `json:"-"`
	Dir         *GetBookmarksRequestDir `json:"-"`
	Limit       *int                    `json:"-"`
	Next        *string                 `json:"-"`
	Prev        *string                 `json:"-"`
}

type GetBookmarksRequestDir

type GetBookmarksRequestDir string
const (
	GetBookmarksRequestDirAsc  GetBookmarksRequestDir = "asc"
	GetBookmarksRequestDirDesc GetBookmarksRequestDir = "desc"
)

func NewGetBookmarksRequestDirFromString added in v0.0.27

func NewGetBookmarksRequestDirFromString(s string) (GetBookmarksRequestDir, error)

func (GetBookmarksRequestDir) Ptr added in v0.0.27

type GetConnectionsRequest

type GetConnectionsRequest struct {
	Id            *string                       `json:"-"`
	Name          *string                       `json:"-"`
	DestinationId *string                       `json:"-"`
	SourceId      *string                       `json:"-"`
	Archived      *bool                         `json:"-"`
	ArchivedAt    *time.Time                    `json:"-"`
	FullName      *string                       `json:"-"`
	PausedAt      *time.Time                    `json:"-"`
	OrderBy       *GetConnectionsRequestOrderBy `json:"-"`
	Dir           *GetConnectionsRequestDir     `json:"-"`
	Limit         *int                          `json:"-"`
	Next          *string                       `json:"-"`
	Prev          *string                       `json:"-"`
}

type GetConnectionsRequestDir

type GetConnectionsRequestDir string
const (
	GetConnectionsRequestDirAsc  GetConnectionsRequestDir = "asc"
	GetConnectionsRequestDirDesc GetConnectionsRequestDir = "desc"
)

func NewGetConnectionsRequestDirFromString added in v0.0.27

func NewGetConnectionsRequestDirFromString(s string) (GetConnectionsRequestDir, error)

func (GetConnectionsRequestDir) Ptr added in v0.0.27

type GetConnectionsRequestOrderBy

type GetConnectionsRequestOrderBy string
const (
	GetConnectionsRequestOrderByCreatedAt             GetConnectionsRequestOrderBy = "created_at"
	GetConnectionsRequestOrderByUpdatedAt             GetConnectionsRequestOrderBy = "updated_at"
	GetConnectionsRequestOrderBySourcesUpdatedAt      GetConnectionsRequestOrderBy = "sources.updated_at"
	GetConnectionsRequestOrderBySourcesCreatedAt      GetConnectionsRequestOrderBy = "sources.created_at"
	GetConnectionsRequestOrderByDestinationsUpdatedAt GetConnectionsRequestOrderBy = "destinations.updated_at"
	GetConnectionsRequestOrderByDestinationsCreatedAt GetConnectionsRequestOrderBy = "destinations.created_at"
)

func NewGetConnectionsRequestOrderByFromString added in v0.0.27

func NewGetConnectionsRequestOrderByFromString(s string) (GetConnectionsRequestOrderBy, error)

func (GetConnectionsRequestOrderBy) Ptr added in v0.0.27

type GetDestinationsRequest

type GetDestinationsRequest struct {
	Id         *string                    `json:"-"`
	Name       *string                    `json:"-"`
	Archived   *bool                      `json:"-"`
	ArchivedAt *time.Time                 `json:"-"`
	Url        *string                    `json:"-"`
	CliPath    *string                    `json:"-"`
	OrderBy    *string                    `json:"-"`
	Dir        *GetDestinationsRequestDir `json:"-"`
	Limit      *int                       `json:"-"`
	Next       *string                    `json:"-"`
	Prev       *string                    `json:"-"`
}

type GetDestinationsRequestDir

type GetDestinationsRequestDir string
const (
	GetDestinationsRequestDirAsc  GetDestinationsRequestDir = "asc"
	GetDestinationsRequestDirDesc GetDestinationsRequestDir = "desc"
)

func NewGetDestinationsRequestDirFromString added in v0.0.27

func NewGetDestinationsRequestDirFromString(s string) (GetDestinationsRequestDir, error)

func (GetDestinationsRequestDir) Ptr added in v0.0.27

type GetEventBulkRetriesRequest

type GetEventBulkRetriesRequest struct {
	CancelledAt       *time.Time                     `json:"-"`
	CompletedAt       *time.Time                     `json:"-"`
	CreatedAt         *time.Time                     `json:"-"`
	Id                *string                        `json:"-"`
	QueryPartialMatch *bool                          `json:"-"`
	InProgress        *bool                          `json:"-"`
	OrderBy           *string                        `json:"-"`
	Dir               *GetEventBulkRetriesRequestDir `json:"-"`
	Limit             *int                           `json:"-"`
	Next              *string                        `json:"-"`
	Prev              *string                        `json:"-"`
}

type GetEventBulkRetriesRequestDir

type GetEventBulkRetriesRequestDir string
const (
	GetEventBulkRetriesRequestDirAsc  GetEventBulkRetriesRequestDir = "asc"
	GetEventBulkRetriesRequestDirDesc GetEventBulkRetriesRequestDir = "desc"
)

func NewGetEventBulkRetriesRequestDirFromString added in v0.0.27

func NewGetEventBulkRetriesRequestDirFromString(s string) (GetEventBulkRetriesRequestDir, error)

func (GetEventBulkRetriesRequestDir) Ptr added in v0.0.27

type GetEventsRequest

type GetEventsRequest struct {
	Id             *string                  `json:"-"`
	Status         *EventStatus             `json:"-"`
	WebhookId      *string                  `json:"-"`
	DestinationId  *string                  `json:"-"`
	SourceId       *string                  `json:"-"`
	Attempts       *int                     `json:"-"`
	ResponseStatus *int                     `json:"-"`
	SuccessfulAt   *time.Time               `json:"-"`
	CreatedAt      *time.Time               `json:"-"`
	ErrorCode      *AttemptErrorCodes       `json:"-"`
	CliId          *string                  `json:"-"`
	LastAttemptAt  *time.Time               `json:"-"`
	SearchTerm     *string                  `json:"-"`
	Headers        *string                  `json:"-"`
	Body           *string                  `json:"-"`
	ParsedQuery    *string                  `json:"-"`
	Path           *string                  `json:"-"`
	CliUserId      *string                  `json:"-"`
	IssueId        *string                  `json:"-"`
	EventDataId    *string                  `json:"-"`
	BulkRetryId    *string                  `json:"-"`
	Include        *string                  `json:"-"`
	OrderBy        *GetEventsRequestOrderBy `json:"-"`
	Dir            *GetEventsRequestDir     `json:"-"`
	Limit          *int                     `json:"-"`
	Next           *string                  `json:"-"`
	Prev           *string                  `json:"-"`
}

type GetEventsRequestDir

type GetEventsRequestDir string

Sort direction

const (
	GetEventsRequestDirAsc  GetEventsRequestDir = "asc"
	GetEventsRequestDirDesc GetEventsRequestDir = "desc"
)

func NewGetEventsRequestDirFromString added in v0.0.27

func NewGetEventsRequestDirFromString(s string) (GetEventsRequestDir, error)

func (GetEventsRequestDir) Ptr added in v0.0.27

type GetEventsRequestOrderBy

type GetEventsRequestOrderBy string

Sort key

const (
	GetEventsRequestOrderByLastAttemptAt GetEventsRequestOrderBy = "last_attempt_at"
	GetEventsRequestOrderByCreatedAt     GetEventsRequestOrderBy = "created_at"
)

func NewGetEventsRequestOrderByFromString added in v0.0.27

func NewGetEventsRequestOrderByFromString(s string) (GetEventsRequestOrderBy, error)

func (GetEventsRequestOrderBy) Ptr added in v0.0.27

type GetIgnoredEventBulkRetriesRequest

type GetIgnoredEventBulkRetriesRequest struct {
	CancelledAt       *time.Time                            `json:"-"`
	CompletedAt       *time.Time                            `json:"-"`
	CreatedAt         *time.Time                            `json:"-"`
	Id                *string                               `json:"-"`
	QueryPartialMatch *bool                                 `json:"-"`
	InProgress        *bool                                 `json:"-"`
	OrderBy           *string                               `json:"-"`
	Dir               *GetIgnoredEventBulkRetriesRequestDir `json:"-"`
	Limit             *int                                  `json:"-"`
	Next              *string                               `json:"-"`
	Prev              *string                               `json:"-"`
}

type GetIgnoredEventBulkRetriesRequestDir

type GetIgnoredEventBulkRetriesRequestDir string
const (
	GetIgnoredEventBulkRetriesRequestDirAsc  GetIgnoredEventBulkRetriesRequestDir = "asc"
	GetIgnoredEventBulkRetriesRequestDirDesc GetIgnoredEventBulkRetriesRequestDir = "desc"
)

func NewGetIgnoredEventBulkRetriesRequestDirFromString added in v0.0.27

func NewGetIgnoredEventBulkRetriesRequestDirFromString(s string) (GetIgnoredEventBulkRetriesRequestDir, error)

func (GetIgnoredEventBulkRetriesRequestDir) Ptr added in v0.0.27

type GetIntegrationsRequest

type GetIntegrationsRequest struct {
	Label    *string              `json:"-"`
	Provider *IntegrationProvider `json:"-"`
}

type GetIssueCountRequest

type GetIssueCountRequest struct {
	Id             *string                      `json:"-"`
	IssueTriggerId *string                      `json:"-"`
	Type           *GetIssueCountRequestType    `json:"-"`
	Status         *GetIssueCountRequestStatus  `json:"-"`
	MergedWith     *string                      `json:"-"`
	CreatedAt      *time.Time                   `json:"-"`
	FirstSeenAt    *time.Time                   `json:"-"`
	LastSeenAt     *time.Time                   `json:"-"`
	DismissedAt    *time.Time                   `json:"-"`
	OrderBy        *GetIssueCountRequestOrderBy `json:"-"`
	Dir            *GetIssueCountRequestDir     `json:"-"`
	Limit          *int                         `json:"-"`
	Next           *string                      `json:"-"`
	Prev           *string                      `json:"-"`
}

type GetIssueCountRequestDir

type GetIssueCountRequestDir string
const (
	GetIssueCountRequestDirAsc  GetIssueCountRequestDir = "asc"
	GetIssueCountRequestDirDesc GetIssueCountRequestDir = "desc"
)

func NewGetIssueCountRequestDirFromString added in v0.0.27

func NewGetIssueCountRequestDirFromString(s string) (GetIssueCountRequestDir, error)

func (GetIssueCountRequestDir) Ptr added in v0.0.27

type GetIssueCountRequestOrderBy

type GetIssueCountRequestOrderBy string
const (
	GetIssueCountRequestOrderByCreatedAt   GetIssueCountRequestOrderBy = "created_at"
	GetIssueCountRequestOrderByFirstSeenAt GetIssueCountRequestOrderBy = "first_seen_at"
	GetIssueCountRequestOrderByLastSeenAt  GetIssueCountRequestOrderBy = "last_seen_at"
	GetIssueCountRequestOrderByOpenedAt    GetIssueCountRequestOrderBy = "opened_at"
	GetIssueCountRequestOrderByStatus      GetIssueCountRequestOrderBy = "status"
)

func NewGetIssueCountRequestOrderByFromString added in v0.0.27

func NewGetIssueCountRequestOrderByFromString(s string) (GetIssueCountRequestOrderBy, error)

func (GetIssueCountRequestOrderBy) Ptr added in v0.0.27

type GetIssueCountRequestStatus

type GetIssueCountRequestStatus string

Issue status

const (
	GetIssueCountRequestStatusOpened       GetIssueCountRequestStatus = "OPENED"
	GetIssueCountRequestStatusIgnored      GetIssueCountRequestStatus = "IGNORED"
	GetIssueCountRequestStatusAcknowledged GetIssueCountRequestStatus = "ACKNOWLEDGED"
	GetIssueCountRequestStatusResolved     GetIssueCountRequestStatus = "RESOLVED"
)

func NewGetIssueCountRequestStatusFromString added in v0.0.27

func NewGetIssueCountRequestStatusFromString(s string) (GetIssueCountRequestStatus, error)

func (GetIssueCountRequestStatus) Ptr added in v0.0.27

type GetIssueCountRequestType

type GetIssueCountRequestType string

Issue type

const (
	GetIssueCountRequestTypeDelivery       GetIssueCountRequestType = "delivery"
	GetIssueCountRequestTypeTransformation GetIssueCountRequestType = "transformation"
	GetIssueCountRequestTypeBackpressure   GetIssueCountRequestType = "backpressure"
)

func NewGetIssueCountRequestTypeFromString added in v0.0.27

func NewGetIssueCountRequestTypeFromString(s string) (GetIssueCountRequestType, error)

func (GetIssueCountRequestType) Ptr added in v0.0.27

type GetIssueTriggersRequest

type GetIssueTriggersRequest struct {
	Name       *string                         `json:"-"`
	Type       *IssueType                      `json:"-"`
	DisabledAt *time.Time                      `json:"-"`
	OrderBy    *GetIssueTriggersRequestOrderBy `json:"-"`
	Dir        *GetIssueTriggersRequestDir     `json:"-"`
	Limit      *int                            `json:"-"`
	Next       *string                         `json:"-"`
	Prev       *string                         `json:"-"`
}

type GetIssueTriggersRequestDir

type GetIssueTriggersRequestDir string
const (
	GetIssueTriggersRequestDirAsc  GetIssueTriggersRequestDir = "asc"
	GetIssueTriggersRequestDirDesc GetIssueTriggersRequestDir = "desc"
)

func NewGetIssueTriggersRequestDirFromString added in v0.0.27

func NewGetIssueTriggersRequestDirFromString(s string) (GetIssueTriggersRequestDir, error)

func (GetIssueTriggersRequestDir) Ptr added in v0.0.27

type GetIssueTriggersRequestOrderBy

type GetIssueTriggersRequestOrderBy string
const (
	GetIssueTriggersRequestOrderByCreatedAt GetIssueTriggersRequestOrderBy = "created_at"
	GetIssueTriggersRequestOrderByType      GetIssueTriggersRequestOrderBy = "type"
)

func NewGetIssueTriggersRequestOrderByFromString added in v0.0.27

func NewGetIssueTriggersRequestOrderByFromString(s string) (GetIssueTriggersRequestOrderBy, error)

func (GetIssueTriggersRequestOrderBy) Ptr added in v0.0.27

type GetIssuesRequest

type GetIssuesRequest struct {
	Id             *string                  `json:"-"`
	IssueTriggerId *string                  `json:"-"`
	Type           *GetIssuesRequestType    `json:"-"`
	Status         *GetIssuesRequestStatus  `json:"-"`
	MergedWith     *string                  `json:"-"`
	CreatedAt      *time.Time               `json:"-"`
	FirstSeenAt    *time.Time               `json:"-"`
	LastSeenAt     *time.Time               `json:"-"`
	DismissedAt    *time.Time               `json:"-"`
	OrderBy        *GetIssuesRequestOrderBy `json:"-"`
	Dir            *GetIssuesRequestDir     `json:"-"`
	Limit          *int                     `json:"-"`
	Next           *string                  `json:"-"`
	Prev           *string                  `json:"-"`
}

type GetIssuesRequestDir

type GetIssuesRequestDir string
const (
	GetIssuesRequestDirAsc  GetIssuesRequestDir = "asc"
	GetIssuesRequestDirDesc GetIssuesRequestDir = "desc"
)

func NewGetIssuesRequestDirFromString added in v0.0.27

func NewGetIssuesRequestDirFromString(s string) (GetIssuesRequestDir, error)

func (GetIssuesRequestDir) Ptr added in v0.0.27

type GetIssuesRequestOrderBy

type GetIssuesRequestOrderBy string
const (
	GetIssuesRequestOrderByCreatedAt   GetIssuesRequestOrderBy = "created_at"
	GetIssuesRequestOrderByFirstSeenAt GetIssuesRequestOrderBy = "first_seen_at"
	GetIssuesRequestOrderByLastSeenAt  GetIssuesRequestOrderBy = "last_seen_at"
	GetIssuesRequestOrderByOpenedAt    GetIssuesRequestOrderBy = "opened_at"
	GetIssuesRequestOrderByStatus      GetIssuesRequestOrderBy = "status"
)

func NewGetIssuesRequestOrderByFromString added in v0.0.27

func NewGetIssuesRequestOrderByFromString(s string) (GetIssuesRequestOrderBy, error)

func (GetIssuesRequestOrderBy) Ptr added in v0.0.27

type GetIssuesRequestStatus

type GetIssuesRequestStatus string

Issue status

const (
	GetIssuesRequestStatusOpened       GetIssuesRequestStatus = "OPENED"
	GetIssuesRequestStatusIgnored      GetIssuesRequestStatus = "IGNORED"
	GetIssuesRequestStatusAcknowledged GetIssuesRequestStatus = "ACKNOWLEDGED"
	GetIssuesRequestStatusResolved     GetIssuesRequestStatus = "RESOLVED"
)

func NewGetIssuesRequestStatusFromString added in v0.0.27

func NewGetIssuesRequestStatusFromString(s string) (GetIssuesRequestStatus, error)

func (GetIssuesRequestStatus) Ptr added in v0.0.27

type GetIssuesRequestType

type GetIssuesRequestType string

Issue type

const (
	GetIssuesRequestTypeDelivery       GetIssuesRequestType = "delivery"
	GetIssuesRequestTypeTransformation GetIssuesRequestType = "transformation"
	GetIssuesRequestTypeBackpressure   GetIssuesRequestType = "backpressure"
)

func NewGetIssuesRequestTypeFromString added in v0.0.27

func NewGetIssuesRequestTypeFromString(s string) (GetIssuesRequestType, error)

func (GetIssuesRequestType) Ptr added in v0.0.27

type GetRequestBulkRetriesRequest

type GetRequestBulkRetriesRequest struct {
	CancelledAt       *time.Time                       `json:"-"`
	CompletedAt       *time.Time                       `json:"-"`
	CreatedAt         *time.Time                       `json:"-"`
	Id                *string                          `json:"-"`
	InProgress        *bool                            `json:"-"`
	QueryPartialMatch *bool                            `json:"-"`
	OrderBy           *string                          `json:"-"`
	Dir               *GetRequestBulkRetriesRequestDir `json:"-"`
	Limit             *int                             `json:"-"`
	Next              *string                          `json:"-"`
	Prev              *string                          `json:"-"`
}

type GetRequestBulkRetriesRequestDir

type GetRequestBulkRetriesRequestDir string
const (
	GetRequestBulkRetriesRequestDirAsc  GetRequestBulkRetriesRequestDir = "asc"
	GetRequestBulkRetriesRequestDirDesc GetRequestBulkRetriesRequestDir = "desc"
)

func NewGetRequestBulkRetriesRequestDirFromString added in v0.0.27

func NewGetRequestBulkRetriesRequestDirFromString(s string) (GetRequestBulkRetriesRequestDir, error)

func (GetRequestBulkRetriesRequestDir) Ptr added in v0.0.27

type GetRequestEventsRequest

type GetRequestEventsRequest struct {
	Id             *string                         `json:"-"`
	Status         *EventStatus                    `json:"-"`
	WebhookId      *string                         `json:"-"`
	DestinationId  *string                         `json:"-"`
	SourceId       *string                         `json:"-"`
	Attempts       *int                            `json:"-"`
	ResponseStatus *int                            `json:"-"`
	SuccessfulAt   *time.Time                      `json:"-"`
	CreatedAt      *time.Time                      `json:"-"`
	ErrorCode      *AttemptErrorCodes              `json:"-"`
	CliId          *string                         `json:"-"`
	LastAttemptAt  *time.Time                      `json:"-"`
	SearchTerm     *string                         `json:"-"`
	Headers        *string                         `json:"-"`
	Body           *string                         `json:"-"`
	ParsedQuery    *string                         `json:"-"`
	Path           *string                         `json:"-"`
	CliUserId      *string                         `json:"-"`
	IssueId        *string                         `json:"-"`
	EventDataId    *string                         `json:"-"`
	BulkRetryId    *string                         `json:"-"`
	Include        *string                         `json:"-"`
	OrderBy        *GetRequestEventsRequestOrderBy `json:"-"`
	Dir            *GetRequestEventsRequestDir     `json:"-"`
	Limit          *int                            `json:"-"`
	Next           *string                         `json:"-"`
	Prev           *string                         `json:"-"`
}

type GetRequestEventsRequestDir

type GetRequestEventsRequestDir string

Sort direction

const (
	GetRequestEventsRequestDirAsc  GetRequestEventsRequestDir = "asc"
	GetRequestEventsRequestDirDesc GetRequestEventsRequestDir = "desc"
)

func NewGetRequestEventsRequestDirFromString added in v0.0.27

func NewGetRequestEventsRequestDirFromString(s string) (GetRequestEventsRequestDir, error)

func (GetRequestEventsRequestDir) Ptr added in v0.0.27

type GetRequestEventsRequestOrderBy

type GetRequestEventsRequestOrderBy string

Sort key

const (
	GetRequestEventsRequestOrderByLastAttemptAt GetRequestEventsRequestOrderBy = "last_attempt_at"
	GetRequestEventsRequestOrderByCreatedAt     GetRequestEventsRequestOrderBy = "created_at"
)

func NewGetRequestEventsRequestOrderByFromString added in v0.0.27

func NewGetRequestEventsRequestOrderByFromString(s string) (GetRequestEventsRequestOrderBy, error)

func (GetRequestEventsRequestOrderBy) Ptr added in v0.0.27

type GetRequestIgnoredEventsRequest

type GetRequestIgnoredEventsRequest struct {
	Id      *string                            `json:"-"`
	OrderBy *string                            `json:"-"`
	Dir     *GetRequestIgnoredEventsRequestDir `json:"-"`
	Limit   *int                               `json:"-"`
	Next    *string                            `json:"-"`
	Prev    *string                            `json:"-"`
}

type GetRequestIgnoredEventsRequestDir

type GetRequestIgnoredEventsRequestDir string
const (
	GetRequestIgnoredEventsRequestDirAsc  GetRequestIgnoredEventsRequestDir = "asc"
	GetRequestIgnoredEventsRequestDirDesc GetRequestIgnoredEventsRequestDir = "desc"
)

func NewGetRequestIgnoredEventsRequestDirFromString added in v0.0.27

func NewGetRequestIgnoredEventsRequestDirFromString(s string) (GetRequestIgnoredEventsRequestDir, error)

func (GetRequestIgnoredEventsRequestDir) Ptr added in v0.0.27

type GetRequestsRequest

type GetRequestsRequest struct {
	Id             *string                    `json:"-"`
	Status         *GetRequestsRequestStatus  `json:"-"`
	RejectionCause *RequestRejectionCause     `json:"-"`
	SourceId       *string                    `json:"-"`
	Verified       *bool                      `json:"-"`
	SearchTerm     *string                    `json:"-"`
	Headers        *string                    `json:"-"`
	Body           *string                    `json:"-"`
	ParsedQuery    *string                    `json:"-"`
	Path           *string                    `json:"-"`
	IgnoredCount   *int                       `json:"-"`
	EventsCount    *int                       `json:"-"`
	IngestedAt     *time.Time                 `json:"-"`
	BulkRetryId    *string                    `json:"-"`
	Include        *string                    `json:"-"`
	OrderBy        *GetRequestsRequestOrderBy `json:"-"`
	Dir            *GetRequestsRequestDir     `json:"-"`
	Limit          *int                       `json:"-"`
	Next           *string                    `json:"-"`
	Prev           *string                    `json:"-"`
}

type GetRequestsRequestDir

type GetRequestsRequestDir string

Sort direction

const (
	GetRequestsRequestDirAsc  GetRequestsRequestDir = "asc"
	GetRequestsRequestDirDesc GetRequestsRequestDir = "desc"
)

func NewGetRequestsRequestDirFromString added in v0.0.27

func NewGetRequestsRequestDirFromString(s string) (GetRequestsRequestDir, error)

func (GetRequestsRequestDir) Ptr added in v0.0.27

type GetRequestsRequestOrderBy

type GetRequestsRequestOrderBy string

Sort key

const (
	GetRequestsRequestOrderByIngestedAt GetRequestsRequestOrderBy = "ingested_at"
	GetRequestsRequestOrderByCreatedAt  GetRequestsRequestOrderBy = "created_at"
)

func NewGetRequestsRequestOrderByFromString added in v0.0.27

func NewGetRequestsRequestOrderByFromString(s string) (GetRequestsRequestOrderBy, error)

func (GetRequestsRequestOrderBy) Ptr added in v0.0.27

type GetRequestsRequestStatus

type GetRequestsRequestStatus string

Filter by status

const (
	GetRequestsRequestStatusAccepted GetRequestsRequestStatus = "accepted"
	GetRequestsRequestStatusRejected GetRequestsRequestStatus = "rejected"
)

func NewGetRequestsRequestStatusFromString added in v0.0.27

func NewGetRequestsRequestStatusFromString(s string) (GetRequestsRequestStatus, error)

func (GetRequestsRequestStatus) Ptr added in v0.0.27

type GetSourceRequest

type GetSourceRequest struct {
	Include *string `json:"-"`
}

type GetSourcesRequest

type GetSourcesRequest struct {
	Id         *string               `json:"-"`
	Name       *string               `json:"-"`
	Archived   *bool                 `json:"-"`
	ArchivedAt *time.Time            `json:"-"`
	OrderBy    *string               `json:"-"`
	Dir        *GetSourcesRequestDir `json:"-"`
	Limit      *int                  `json:"-"`
	Next       *string               `json:"-"`
	Prev       *string               `json:"-"`
}

type GetSourcesRequestDir

type GetSourcesRequestDir string
const (
	GetSourcesRequestDirAsc  GetSourcesRequestDir = "asc"
	GetSourcesRequestDirDesc GetSourcesRequestDir = "desc"
)

func NewGetSourcesRequestDirFromString added in v0.0.27

func NewGetSourcesRequestDirFromString(s string) (GetSourcesRequestDir, error)

func (GetSourcesRequestDir) Ptr added in v0.0.27

type GetTransformationExecutionsRequest

type GetTransformationExecutionsRequest struct {
	LogLevel  *GetTransformationExecutionsRequestLogLevel `json:"-"`
	WebhookId *string                                     `json:"-"`
	IssueId   *string                                     `json:"-"`
	CreatedAt *time.Time                                  `json:"-"`
	OrderBy   *string                                     `json:"-"`
	Dir       *GetTransformationExecutionsRequestDir      `json:"-"`
	Limit     *int                                        `json:"-"`
	Next      *string                                     `json:"-"`
	Prev      *string                                     `json:"-"`
}

type GetTransformationExecutionsRequestDir

type GetTransformationExecutionsRequestDir string
const (
	GetTransformationExecutionsRequestDirAsc  GetTransformationExecutionsRequestDir = "asc"
	GetTransformationExecutionsRequestDirDesc GetTransformationExecutionsRequestDir = "desc"
)

func NewGetTransformationExecutionsRequestDirFromString added in v0.0.27

func NewGetTransformationExecutionsRequestDirFromString(s string) (GetTransformationExecutionsRequestDir, error)

func (GetTransformationExecutionsRequestDir) Ptr added in v0.0.27

type GetTransformationExecutionsRequestLogLevel

type GetTransformationExecutionsRequestLogLevel string
const (
	GetTransformationExecutionsRequestLogLevelDebug GetTransformationExecutionsRequestLogLevel = "debug"
	GetTransformationExecutionsRequestLogLevelInfo  GetTransformationExecutionsRequestLogLevel = "info"
	GetTransformationExecutionsRequestLogLevelWarn  GetTransformationExecutionsRequestLogLevel = "warn"
	GetTransformationExecutionsRequestLogLevelError GetTransformationExecutionsRequestLogLevel = "error"
	GetTransformationExecutionsRequestLogLevelFatal GetTransformationExecutionsRequestLogLevel = "fatal"
)

func NewGetTransformationExecutionsRequestLogLevelFromString added in v0.0.27

func NewGetTransformationExecutionsRequestLogLevelFromString(s string) (GetTransformationExecutionsRequestLogLevel, error)

func (GetTransformationExecutionsRequestLogLevel) Ptr added in v0.0.27

type GetTransformationsRequest

type GetTransformationsRequest struct {
	Id      *string                       `json:"-"`
	Name    *string                       `json:"-"`
	OrderBy *string                       `json:"-"`
	Dir     *GetTransformationsRequestDir `json:"-"`
	Limit   *int                          `json:"-"`
	Next    *string                       `json:"-"`
	Prev    *string                       `json:"-"`
}

type GetTransformationsRequestDir

type GetTransformationsRequestDir string
const (
	GetTransformationsRequestDirAsc  GetTransformationsRequestDir = "asc"
	GetTransformationsRequestDirDesc GetTransformationsRequestDir = "desc"
)

func NewGetTransformationsRequestDirFromString added in v0.0.27

func NewGetTransformationsRequestDirFromString(s string) (GetTransformationsRequestDir, error)

func (GetTransformationsRequestDir) Ptr added in v0.0.27

type GitHub

type GitHub struct {
	Configs *GitHubConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*GitHub) MarshalJSON

func (g *GitHub) MarshalJSON() ([]byte, error)

func (*GitHub) Type

func (g *GitHub) Type() string

func (*GitHub) UnmarshalJSON

func (g *GitHub) UnmarshalJSON(data []byte) error

type GitHubConfigs

type GitHubConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for GitHub. Only included if the ?include=verification.configs query param is present

type GitLab

type GitLab struct {
	Configs *GitLabConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*GitLab) MarshalJSON

func (g *GitLab) MarshalJSON() ([]byte, error)

func (*GitLab) Type

func (g *GitLab) Type() string

func (*GitLab) UnmarshalJSON

func (g *GitLab) UnmarshalJSON(data []byte) error

type GitLabConfigs

type GitLabConfigs struct {
	ApiKey string `json:"api_key"`
}

The verification configs for GitLab. Only included if the ?include=verification.configs query param is present

type HandledApiKeyIntegrationConfigs

type HandledApiKeyIntegrationConfigs struct {
	ApiKey string `json:"api_key"`
}

type HandledHmacConfigs

type HandledHmacConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

type Hmac

type Hmac struct {
	Configs *HmacConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Hmac) MarshalJSON

func (h *Hmac) MarshalJSON() ([]byte, error)

func (*Hmac) Type

func (h *Hmac) Type() string

func (*Hmac) UnmarshalJSON

func (h *Hmac) UnmarshalJSON(data []byte) error

type HmacAlgorithms

type HmacAlgorithms string
const (
	HmacAlgorithmsMd5    HmacAlgorithms = "md5"
	HmacAlgorithmsSha1   HmacAlgorithms = "sha1"
	HmacAlgorithmsSha256 HmacAlgorithms = "sha256"
	HmacAlgorithmsSha512 HmacAlgorithms = "sha512"
)

func NewHmacAlgorithmsFromString added in v0.0.27

func NewHmacAlgorithmsFromString(s string) (HmacAlgorithms, error)

func (HmacAlgorithms) Ptr added in v0.0.27

func (h HmacAlgorithms) Ptr() *HmacAlgorithms

type HmacConfigs

type HmacConfigs struct {
	WebhookSecretKey string              `json:"webhook_secret_key"`
	Algorithm        HmacAlgorithms      `json:"algorithm,omitempty"`
	HeaderKey        string              `json:"header_key"`
	Encoding         HmacConfigsEncoding `json:"encoding,omitempty"`
}

The verification configs for HMAC. Only included if the ?include=verification.configs query param is present

type HmacConfigsEncoding

type HmacConfigsEncoding string
const (
	HmacConfigsEncodingBase64 HmacConfigsEncoding = "base64"
	HmacConfigsEncodingHex    HmacConfigsEncoding = "hex"
)

func NewHmacConfigsEncodingFromString added in v0.0.27

func NewHmacConfigsEncodingFromString(s string) (HmacConfigsEncoding, error)

func (HmacConfigsEncoding) Ptr added in v0.0.27

type HmacIntegrationConfigs

type HmacIntegrationConfigs struct {
	WebhookSecretKey string                         `json:"webhook_secret_key"`
	Algorithm        HmacAlgorithms                 `json:"algorithm,omitempty"`
	HeaderKey        string                         `json:"header_key"`
	Encoding         HmacIntegrationConfigsEncoding `json:"encoding,omitempty"`
}

type HmacIntegrationConfigsEncoding

type HmacIntegrationConfigsEncoding string
const (
	HmacIntegrationConfigsEncodingBase64 HmacIntegrationConfigsEncoding = "base64"
	HmacIntegrationConfigsEncodingHex    HmacIntegrationConfigsEncoding = "hex"
)

func NewHmacIntegrationConfigsEncodingFromString added in v0.0.27

func NewHmacIntegrationConfigsEncodingFromString(s string) (HmacIntegrationConfigsEncoding, error)

func (HmacIntegrationConfigsEncoding) Ptr added in v0.0.27

type HookdeckSignature

type HookdeckSignature struct {
	Config *DestinationAuthMethodSignatureConfig `json:"config,omitempty"`
	// contains filtered or unexported fields
}

Hookdeck Signature

func (*HookdeckSignature) MarshalJSON

func (h *HookdeckSignature) MarshalJSON() ([]byte, error)

func (*HookdeckSignature) Type

func (h *HookdeckSignature) Type() string

func (*HookdeckSignature) UnmarshalJSON

func (h *HookdeckSignature) UnmarshalJSON(data []byte) error

type IgnoredEvent

type IgnoredEvent struct {
	Id        string            `json:"id"`
	TeamId    string            `json:"team_id"`
	WebhookId string            `json:"webhook_id"`
	Cause     IgnoredEventCause `json:"cause,omitempty"`
	RequestId string            `json:"request_id"`
	Meta      *IgnoredEventMeta `json:"meta,omitempty"`
	UpdatedAt time.Time         `json:"updated_at"`
	CreatedAt time.Time         `json:"created_at"`
}

type IgnoredEventCause

type IgnoredEventCause string
const (
	IgnoredEventCauseArchived             IgnoredEventCause = "ARCHIVED"
	IgnoredEventCauseFiltered             IgnoredEventCause = "FILTERED"
	IgnoredEventCauseTransformationFailed IgnoredEventCause = "TRANSFORMATION_FAILED"
	IgnoredEventCauseCliDisconnected      IgnoredEventCause = "CLI_DISCONNECTED"
)

func NewIgnoredEventCauseFromString added in v0.0.27

func NewIgnoredEventCauseFromString(s string) (IgnoredEventCause, error)

func (IgnoredEventCause) Ptr added in v0.0.27

type IgnoredEventMeta

type IgnoredEventMeta struct {
	FilteredMeta             FilteredMeta
	TransformationFailedMeta *TransformationFailedMeta
	// contains filtered or unexported fields
}

func NewIgnoredEventMetaFromFilteredMeta

func NewIgnoredEventMetaFromFilteredMeta(value FilteredMeta) *IgnoredEventMeta

func NewIgnoredEventMetaFromTransformationFailedMeta

func NewIgnoredEventMetaFromTransformationFailedMeta(value *TransformationFailedMeta) *IgnoredEventMeta

func (*IgnoredEventMeta) Accept

func (i *IgnoredEventMeta) Accept(visitor IgnoredEventMetaVisitor) error

func (IgnoredEventMeta) MarshalJSON

func (i IgnoredEventMeta) MarshalJSON() ([]byte, error)

func (*IgnoredEventMeta) UnmarshalJSON

func (i *IgnoredEventMeta) UnmarshalJSON(data []byte) error

type IgnoredEventMetaVisitor

type IgnoredEventMetaVisitor interface {
	VisitFilteredMeta(FilteredMeta) error
	VisitTransformationFailedMeta(*TransformationFailedMeta) error
}

type IgnoredEventPaginatedResult

type IgnoredEventPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*IgnoredEvent `json:"models,omitempty"`
}

type Integration

type Integration struct {
	// ID of the integration
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// Label of the integration
	Label    string              `json:"label"`
	Provider IntegrationProvider `json:"provider,omitempty"`
	// List of features to enable (see features list below)
	Features []IntegrationFeature `json:"features,omitempty"`
	// Decrypted Key/Value object of the associated configuration for that provider
	Configs *IntegrationConfigs `json:"configs,omitempty"`
	// List of source IDs the integration is attached to
	Sources []string `json:"sources,omitempty"`
	// Date the integration was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the integration was created
	CreatedAt time.Time `json:"created_at"`
}

type IntegrationConfigs

type IntegrationConfigs struct {
	HmacIntegrationConfigs          *HmacIntegrationConfigs
	ApiKeyIntegrationConfigs        *ApiKeyIntegrationConfigs
	HandledApiKeyIntegrationConfigs *HandledApiKeyIntegrationConfigs
	HandledHmacConfigs              *HandledHmacConfigs
	BasicAuthIntegrationConfigs     *BasicAuthIntegrationConfigs
	ShopifyIntegrationConfigs       *ShopifyIntegrationConfigs
	IntegrationConfigsSix           *IntegrationConfigsSix
	// contains filtered or unexported fields
}

Decrypted Key/Value object of the associated configuration for that provider

func NewIntegrationConfigsFromApiKeyIntegrationConfigs

func NewIntegrationConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromBasicAuthIntegrationConfigs

func NewIntegrationConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs

func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHandledHmacConfigs

func NewIntegrationConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHmacIntegrationConfigs

func NewIntegrationConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromIntegrationConfigsSix

func NewIntegrationConfigsFromIntegrationConfigsSix(value *IntegrationConfigsSix) *IntegrationConfigs

func NewIntegrationConfigsFromShopifyIntegrationConfigs

func NewIntegrationConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *IntegrationConfigs

func (*IntegrationConfigs) Accept

func (IntegrationConfigs) MarshalJSON

func (i IntegrationConfigs) MarshalJSON() ([]byte, error)

func (*IntegrationConfigs) UnmarshalJSON

func (i *IntegrationConfigs) UnmarshalJSON(data []byte) error

type IntegrationConfigsSix

type IntegrationConfigsSix struct {
}

type IntegrationConfigsVisitor

type IntegrationConfigsVisitor interface {
	VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
	VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
	VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
	VisitHandledHmacConfigs(*HandledHmacConfigs) error
	VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
	VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
	VisitIntegrationConfigsSix(*IntegrationConfigsSix) error
}

type IntegrationFeature

type IntegrationFeature string
const (
	IntegrationFeatureVerification IntegrationFeature = "VERIFICATION"
	IntegrationFeatureHandshake    IntegrationFeature = "HANDSHAKE"
	IntegrationFeaturePolling      IntegrationFeature = "POLLING"
)

func NewIntegrationFeatureFromString added in v0.0.27

func NewIntegrationFeatureFromString(s string) (IntegrationFeature, error)

func (IntegrationFeature) Ptr added in v0.0.27

type IntegrationPaginatedResult

type IntegrationPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Integration  `json:"models,omitempty"`
}

type IntegrationProvider

type IntegrationProvider string
const (
	IntegrationProviderHmac           IntegrationProvider = "hmac"
	IntegrationProviderBasicAuth      IntegrationProvider = "basic_auth"
	IntegrationProviderApiKey         IntegrationProvider = "api_key"
	IntegrationProviderTwitter        IntegrationProvider = "twitter"
	IntegrationProviderStripe         IntegrationProvider = "stripe"
	IntegrationProviderRecharge       IntegrationProvider = "recharge"
	IntegrationProviderGithub         IntegrationProvider = "github"
	IntegrationProviderShopify        IntegrationProvider = "shopify"
	IntegrationProviderPostmark       IntegrationProvider = "postmark"
	IntegrationProviderTypeform       IntegrationProvider = "typeform"
	IntegrationProviderXero           IntegrationProvider = "xero"
	IntegrationProviderSvix           IntegrationProvider = "svix"
	IntegrationProviderZoom           IntegrationProvider = "zoom"
	IntegrationProviderAkeneo         IntegrationProvider = "akeneo"
	IntegrationProviderAdyen          IntegrationProvider = "adyen"
	IntegrationProviderGitlab         IntegrationProvider = "gitlab"
	IntegrationProviderPropertyFinder IntegrationProvider = "property-finder"
	IntegrationProviderWoocommerce    IntegrationProvider = "woocommerce"
	IntegrationProviderOura           IntegrationProvider = "oura"
	IntegrationProviderCommercelayer  IntegrationProvider = "commercelayer"
	IntegrationProviderMailgun        IntegrationProvider = "mailgun"
	IntegrationProviderPipedrive      IntegrationProvider = "pipedrive"
	IntegrationProviderSendgrid       IntegrationProvider = "sendgrid"
	IntegrationProviderWorkos         IntegrationProvider = "workos"
	IntegrationProviderSynctera       IntegrationProvider = "synctera"
	IntegrationProviderAwsSns         IntegrationProvider = "aws_sns"
	IntegrationProviderThreeDEye      IntegrationProvider = "three_d_eye"
)

func NewIntegrationProviderFromString added in v0.0.27

func NewIntegrationProviderFromString(s string) (IntegrationProvider, error)

func (IntegrationProvider) Ptr added in v0.0.27

type Issue

type Issue struct {
	DeliveryIssue       *DeliveryIssue
	TransformationIssue *TransformationIssue
	// contains filtered or unexported fields
}

Issue

func NewIssueFromDeliveryIssue

func NewIssueFromDeliveryIssue(value *DeliveryIssue) *Issue

func NewIssueFromTransformationIssue

func NewIssueFromTransformationIssue(value *TransformationIssue) *Issue

func (*Issue) Accept

func (i *Issue) Accept(visitor IssueVisitor) error

func (Issue) MarshalJSON

func (i Issue) MarshalJSON() ([]byte, error)

func (*Issue) UnmarshalJSON

func (i *Issue) UnmarshalJSON(data []byte) error

type IssueCount

type IssueCount struct {
	// Number of issues
	Count int `json:"count"`
}

type IssueStatus

type IssueStatus string

Issue status

const (
	IssueStatusOpened       IssueStatus = "OPENED"
	IssueStatusIgnored      IssueStatus = "IGNORED"
	IssueStatusAcknowledged IssueStatus = "ACKNOWLEDGED"
	IssueStatusResolved     IssueStatus = "RESOLVED"
)

func NewIssueStatusFromString added in v0.0.27

func NewIssueStatusFromString(s string) (IssueStatus, error)

func (IssueStatus) Ptr added in v0.0.27

func (i IssueStatus) Ptr() *IssueStatus

type IssueTrigger

type IssueTrigger struct {
	// ID of the issue trigger
	Id string `json:"id"`
	// ID of the workspace
	TeamId *string `json:"team_id,omitempty"`
	// Optional unique name to use as reference when using the API
	Name     *string                `json:"name,omitempty"`
	Type     IssueType              `json:"type,omitempty"`
	Configs  *IssueTriggerReference `json:"configs,omitempty"`
	Channels *IssueTriggerChannels  `json:"channels,omitempty"`
	// ISO timestamp for when the issue trigger was disabled
	DisabledAt *time.Time `json:"disabled_at,omitempty"`
	// ISO timestamp for when the issue trigger was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// ISO timestamp for when the issue trigger was created
	CreatedAt time.Time `json:"created_at"`
	// ISO timestamp for when the issue trigger was deleted
	DeletedAt *time.Time `json:"deleted_at,omitempty"`
}

type IssueTriggerBackpressureConfigs

type IssueTriggerBackpressureConfigs struct {
	Delay IssueTriggerBackpressureDelay `json:"delay"`
	// A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.
	Destinations *IssueTriggerBackpressureConfigsDestinations `json:"destinations,omitempty"`
}

Configurations for a 'Backpressure' issue trigger

type IssueTriggerBackpressureConfigsDestinations

type IssueTriggerBackpressureConfigsDestinations struct {
	String     string
	StringList []string
	// contains filtered or unexported fields
}

A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.

func NewIssueTriggerBackpressureConfigsDestinationsFromString

func NewIssueTriggerBackpressureConfigsDestinationsFromString(value string) *IssueTriggerBackpressureConfigsDestinations

func NewIssueTriggerBackpressureConfigsDestinationsFromStringList

func NewIssueTriggerBackpressureConfigsDestinationsFromStringList(value []string) *IssueTriggerBackpressureConfigsDestinations

func (*IssueTriggerBackpressureConfigsDestinations) Accept

func (IssueTriggerBackpressureConfigsDestinations) MarshalJSON

func (*IssueTriggerBackpressureConfigsDestinations) UnmarshalJSON

func (i *IssueTriggerBackpressureConfigsDestinations) UnmarshalJSON(data []byte) error

type IssueTriggerBackpressureConfigsDestinationsVisitor

type IssueTriggerBackpressureConfigsDestinationsVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type IssueTriggerBackpressureDelay

type IssueTriggerBackpressureDelay = int

The minimum delay (backpressure) to open the issue for min of 1 minute (60000) and max of 1 day (86400000)

type IssueTriggerChannels

type IssueTriggerChannels struct {
	Slack    *IssueTriggerSlackChannel       `json:"slack,omitempty"`
	Opsgenie *IssueTriggerIntegrationChannel `json:"opsgenie,omitempty"`
	Email    *IssueTriggerEmailChannel       `json:"email,omitempty"`
}

Notification channels object for the specific channel type

type IssueTriggerDeliveryConfigs

type IssueTriggerDeliveryConfigs struct {
	Strategy IssueTriggerStrategy `json:"strategy,omitempty"`
	// A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.
	Connections *IssueTriggerDeliveryConfigsConnections `json:"connections,omitempty"`
}

Configurations for a 'delivery' issue trigger

type IssueTriggerDeliveryConfigsConnections

type IssueTriggerDeliveryConfigsConnections struct {
	String     string
	StringList []string
	// contains filtered or unexported fields
}

A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.

func NewIssueTriggerDeliveryConfigsConnectionsFromString

func NewIssueTriggerDeliveryConfigsConnectionsFromString(value string) *IssueTriggerDeliveryConfigsConnections

func NewIssueTriggerDeliveryConfigsConnectionsFromStringList

func NewIssueTriggerDeliveryConfigsConnectionsFromStringList(value []string) *IssueTriggerDeliveryConfigsConnections

func (*IssueTriggerDeliveryConfigsConnections) Accept

func (IssueTriggerDeliveryConfigsConnections) MarshalJSON

func (i IssueTriggerDeliveryConfigsConnections) MarshalJSON() ([]byte, error)

func (*IssueTriggerDeliveryConfigsConnections) UnmarshalJSON

func (i *IssueTriggerDeliveryConfigsConnections) UnmarshalJSON(data []byte) error

type IssueTriggerDeliveryConfigsConnectionsVisitor

type IssueTriggerDeliveryConfigsConnectionsVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type IssueTriggerEmailChannel

type IssueTriggerEmailChannel struct {
}

Email channel for an issue trigger

type IssueTriggerIntegrationChannel

type IssueTriggerIntegrationChannel struct {
}

Integration channel for an issue trigger

type IssueTriggerPaginatedResult

type IssueTriggerPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*IssueTrigger `json:"models,omitempty"`
}

type IssueTriggerReference

type IssueTriggerReference struct {
	IssueTriggerDeliveryConfigs       *IssueTriggerDeliveryConfigs
	IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
	IssueTriggerBackpressureConfigs   *IssueTriggerBackpressureConfigs
	// contains filtered or unexported fields
}

Configuration object for the specific issue type selected

func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs

func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerReference

func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs

func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerReference

func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs

func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerReference

func (*IssueTriggerReference) Accept

func (IssueTriggerReference) MarshalJSON

func (i IssueTriggerReference) MarshalJSON() ([]byte, error)

func (*IssueTriggerReference) UnmarshalJSON

func (i *IssueTriggerReference) UnmarshalJSON(data []byte) error

type IssueTriggerReferenceVisitor

type IssueTriggerReferenceVisitor interface {
	VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
	VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
	VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}

type IssueTriggerSlackChannel

type IssueTriggerSlackChannel struct {
	// Channel name
	ChannelName string `json:"channel_name"`
}

Slack channel for an issue trigger

type IssueTriggerStrategy

type IssueTriggerStrategy string

The strategy uses to open the issue

const (
	IssueTriggerStrategyFirstAttempt IssueTriggerStrategy = "first_attempt"
	IssueTriggerStrategyFinalAttempt IssueTriggerStrategy = "final_attempt"
)

func NewIssueTriggerStrategyFromString added in v0.0.27

func NewIssueTriggerStrategyFromString(s string) (IssueTriggerStrategy, error)

func (IssueTriggerStrategy) Ptr added in v0.0.27

type IssueTriggerTransformationConfigs

type IssueTriggerTransformationConfigs struct {
	LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
	// A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.
	Transformations *IssueTriggerTransformationConfigsTransformations `json:"transformations,omitempty"`
}

Configurations for a 'Transformation' issue trigger

type IssueTriggerTransformationConfigsTransformations

type IssueTriggerTransformationConfigsTransformations struct {
	String     string
	StringList []string
	// contains filtered or unexported fields
}

A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.

func NewIssueTriggerTransformationConfigsTransformationsFromString

func NewIssueTriggerTransformationConfigsTransformationsFromString(value string) *IssueTriggerTransformationConfigsTransformations

func NewIssueTriggerTransformationConfigsTransformationsFromStringList

func NewIssueTriggerTransformationConfigsTransformationsFromStringList(value []string) *IssueTriggerTransformationConfigsTransformations

func (*IssueTriggerTransformationConfigsTransformations) Accept

func (IssueTriggerTransformationConfigsTransformations) MarshalJSON

func (*IssueTriggerTransformationConfigsTransformations) UnmarshalJSON

type IssueTriggerTransformationConfigsTransformationsVisitor

type IssueTriggerTransformationConfigsTransformationsVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type IssueType

type IssueType string

Issue type

const (
	IssueTypeDelivery       IssueType = "delivery"
	IssueTypeTransformation IssueType = "transformation"
	IssueTypeBackpressure   IssueType = "backpressure"
)

func NewIssueTypeFromString added in v0.0.27

func NewIssueTypeFromString(s string) (IssueType, error)

func (IssueType) Ptr added in v0.0.27

func (i IssueType) Ptr() *IssueType

type IssueVisitor

type IssueVisitor interface {
	VisitDeliveryIssue(*DeliveryIssue) error
	VisitTransformationIssue(*TransformationIssue) error
}

type IssueWithData

type IssueWithData struct {
	DeliveryIssueWithData       *DeliveryIssueWithData
	TransformationIssueWithData *TransformationIssueWithData
	// contains filtered or unexported fields
}

func NewIssueWithDataFromDeliveryIssueWithData

func NewIssueWithDataFromDeliveryIssueWithData(value *DeliveryIssueWithData) *IssueWithData

func NewIssueWithDataFromTransformationIssueWithData

func NewIssueWithDataFromTransformationIssueWithData(value *TransformationIssueWithData) *IssueWithData

func (*IssueWithData) Accept

func (i *IssueWithData) Accept(visitor IssueWithDataVisitor) error

func (IssueWithData) MarshalJSON

func (i IssueWithData) MarshalJSON() ([]byte, error)

func (*IssueWithData) UnmarshalJSON

func (i *IssueWithData) UnmarshalJSON(data []byte) error

type IssueWithDataPaginatedResult

type IssueWithDataPaginatedResult struct {
	Pagination *SeekPagination  `json:"pagination,omitempty"`
	Count      *int             `json:"count,omitempty"`
	Models     []*IssueWithData `json:"models,omitempty"`
}

type IssueWithDataVisitor

type IssueWithDataVisitor interface {
	VisitDeliveryIssueWithData(*DeliveryIssueWithData) error
	VisitTransformationIssueWithData(*TransformationIssueWithData) error
}

type ListCustomDomainSchema

type ListCustomDomainSchema = []*ListCustomDomainSchemaItem

type ListCustomDomainSchemaItem

type ListCustomDomainSchemaItem struct {
	Id                    *string                                          `json:"id,omitempty"`
	Hostname              *string                                          `json:"hostname,omitempty"`
	Status                *string                                          `json:"status,omitempty"`
	Ssl                   *ListCustomDomainSchemaItemSsl                   `json:"ssl,omitempty"`
	VerificationErrors    []string                                         `json:"verification_errors,omitempty"`
	OwnershipVerification *ListCustomDomainSchemaItemOwnershipVerification `json:"ownership_verification,omitempty"`
	CreatedAt             *string                                          `json:"created_at,omitempty"`
}

type ListCustomDomainSchemaItemOwnershipVerification

type ListCustomDomainSchemaItemOwnershipVerification struct {
	Type  *string `json:"type,omitempty"`
	Name  *string `json:"name,omitempty"`
	Value *string `json:"value,omitempty"`
}

type ListCustomDomainSchemaItemSsl

type ListCustomDomainSchemaItemSsl struct {
	Id                   *string                                                  `json:"id,omitempty"`
	Type                 *string                                                  `json:"type,omitempty"`
	Method               *string                                                  `json:"method,omitempty"`
	Status               *string                                                  `json:"status,omitempty"`
	TxtName              *string                                                  `json:"txt_name,omitempty"`
	TxtValue             *string                                                  `json:"txt_value,omitempty"`
	ValidationRecords    []*ListCustomDomainSchemaItemSslValidationRecordsItem    `json:"validation_records,omitempty"`
	DcvDelegationRecords []*ListCustomDomainSchemaItemSslDcvDelegationRecordsItem `json:"dcv_delegation_records,omitempty"`
	Settings             *ListCustomDomainSchemaItemSslSettings                   `json:"settings,omitempty"`
	BundleMethod         *string                                                  `json:"bundle_method,omitempty"`
	Wildcard             *bool                                                    `json:"wildcard,omitempty"`
	CertificateAuthority *string                                                  `json:"certificate_authority,omitempty"`
}

type ListCustomDomainSchemaItemSslDcvDelegationRecordsItem

type ListCustomDomainSchemaItemSslDcvDelegationRecordsItem struct {
	Cname       *string `json:"cname,omitempty"`
	CnameTarget *string `json:"cname_target,omitempty"`
}

type ListCustomDomainSchemaItemSslSettings

type ListCustomDomainSchemaItemSslSettings struct {
	MinTlsVersion *string `json:"min_tls_version,omitempty"`
}

type ListCustomDomainSchemaItemSslValidationRecordsItem

type ListCustomDomainSchemaItemSslValidationRecordsItem struct {
	Status   *string `json:"status,omitempty"`
	TxtName  *string `json:"txt_name,omitempty"`
	TxtValue *string `json:"txt_value,omitempty"`
}

type Mailgun

type Mailgun struct {
	Configs *MailgunConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Mailgun) MarshalJSON

func (m *Mailgun) MarshalJSON() ([]byte, error)

func (*Mailgun) Type

func (m *Mailgun) Type() string

func (*Mailgun) UnmarshalJSON

func (m *Mailgun) UnmarshalJSON(data []byte) error

type MailgunConfigs

type MailgunConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Mailgun. Only included if the ?include=verification.configs query param is present

type NotFoundError

type NotFoundError struct {
	*core.APIError
	Body *ApiErrorResponse
}

func (*NotFoundError) MarshalJSON

func (n *NotFoundError) MarshalJSON() ([]byte, error)

func (*NotFoundError) UnmarshalJSON

func (n *NotFoundError) UnmarshalJSON(data []byte) error

func (*NotFoundError) Unwrap added in v0.0.28

func (n *NotFoundError) Unwrap() error

type OrderByDirection

type OrderByDirection string
const (
	OrderByDirectionasc  OrderByDirection = "asc"
	OrderByDirectiondesc OrderByDirection = "desc"
	OrderByDirectionASC  OrderByDirection = "ASC"
	OrderByDirectionDESC OrderByDirection = "DESC"
)

func NewOrderByDirectionFromString added in v0.0.27

func NewOrderByDirectionFromString(s string) (OrderByDirection, error)

func (OrderByDirection) Ptr added in v0.0.27

type Oura

type Oura struct {
	Configs *OuraConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Oura) MarshalJSON

func (o *Oura) MarshalJSON() ([]byte, error)

func (*Oura) Type

func (o *Oura) Type() string

func (*Oura) UnmarshalJSON

func (o *Oura) UnmarshalJSON(data []byte) error

type OuraConfigs

type OuraConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Oura. Only included if the ?include=verification.configs query param is present

type Pipedrive

type Pipedrive struct {
	Configs *PipedriveConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Pipedrive) MarshalJSON

func (p *Pipedrive) MarshalJSON() ([]byte, error)

func (*Pipedrive) Type

func (p *Pipedrive) Type() string

func (*Pipedrive) UnmarshalJSON

func (p *Pipedrive) UnmarshalJSON(data []byte) error

type PipedriveConfigs

type PipedriveConfigs struct {
	Name     string `json:"name"`
	Password string `json:"password"`
}

The verification configs for Pipedrive. Only included if the ?include=verification.configs query param is present

type Postmark

type Postmark struct {
	Configs *PostmarkConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Postmark) MarshalJSON

func (p *Postmark) MarshalJSON() ([]byte, error)

func (*Postmark) Type

func (p *Postmark) Type() string

func (*Postmark) UnmarshalJSON

func (p *Postmark) UnmarshalJSON(data []byte) error

type PostmarkConfigs

type PostmarkConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Postmark. Only included if the ?include=verification.configs query param is present

type PropertyFinder

type PropertyFinder struct {
	Configs *PropertyFinderConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*PropertyFinder) MarshalJSON

func (p *PropertyFinder) MarshalJSON() ([]byte, error)

func (*PropertyFinder) Type

func (p *PropertyFinder) Type() string

func (*PropertyFinder) UnmarshalJSON

func (p *PropertyFinder) UnmarshalJSON(data []byte) error

type PropertyFinderConfigs

type PropertyFinderConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Property Finder. Only included if the ?include=verification.configs query param is present

type RawBody

type RawBody struct {
	Body string `json:"body"`
}

type Recharge

type Recharge struct {
	Configs *RechargeConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Recharge) MarshalJSON

func (r *Recharge) MarshalJSON() ([]byte, error)

func (*Recharge) Type

func (r *Recharge) Type() string

func (*Recharge) UnmarshalJSON

func (r *Recharge) UnmarshalJSON(data []byte) error

type RechargeConfigs

type RechargeConfigs struct {
	WebhookSecretKey string                  `json:"webhook_secret_key"`
	Algorithm        HmacAlgorithms          `json:"algorithm,omitempty"`
	HeaderKey        string                  `json:"header_key"`
	Encoding         RechargeConfigsEncoding `json:"encoding,omitempty"`
}

The verification configs for Recharge. Only included if the ?include=verification.configs query param is present

type RechargeConfigsEncoding

type RechargeConfigsEncoding string
const (
	RechargeConfigsEncodingBase64 RechargeConfigsEncoding = "base64"
	RechargeConfigsEncodingHex    RechargeConfigsEncoding = "hex"
)

func NewRechargeConfigsEncodingFromString added in v0.0.27

func NewRechargeConfigsEncodingFromString(s string) (RechargeConfigsEncoding, error)

func (RechargeConfigsEncoding) Ptr added in v0.0.27

type Request

type Request struct {
	// ID of the request
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// Whether or not the request was verified when received
	Verified *bool `json:"verified,omitempty"`
	// ID of the request data
	OriginalEventDataId *string               `json:"original_event_data_id,omitempty"`
	RejectionCause      RequestRejectionCause `json:"rejection_cause,omitempty"`
	// The priority attributed to the request when received
	IngestPriority *RequestIngestPriority `json:"ingest_priority,omitempty"`
	// The time the request was originally received
	IngestedAt *time.Time `json:"ingested_at,omitempty"`
	// ID of the associated source
	SourceId string `json:"source_id"`
	// The count of events created from this request (CLI events not included)
	EventsCount *int `json:"events_count,omitempty"`
	// The count of CLI events created from this request
	CliEventsCount *int `json:"cli_events_count,omitempty"`
	IgnoredCount   *int `json:"ignored_count,omitempty"`
	// Date the event was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the event was created
	CreatedAt time.Time       `json:"created_at"`
	Data      *ShortEventData `json:"data,omitempty"`
}

type RequestIngestPriority

type RequestIngestPriority string

The priority attributed to the request when received

const (
	RequestIngestPriorityNormal RequestIngestPriority = "NORMAL"
	RequestIngestPriorityLow    RequestIngestPriority = "LOW"
)

func NewRequestIngestPriorityFromString added in v0.0.27

func NewRequestIngestPriorityFromString(s string) (RequestIngestPriority, error)

func (RequestIngestPriority) Ptr added in v0.0.27

type RequestPaginatedResult

type RequestPaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Request      `json:"models,omitempty"`
}

type RequestRejectionCause

type RequestRejectionCause string
const (
	RequestRejectionCauseSourceArchived         RequestRejectionCause = "SOURCE_ARCHIVED"
	RequestRejectionCauseNoWebhook              RequestRejectionCause = "NO_WEBHOOK"
	RequestRejectionCauseVerificationFailed     RequestRejectionCause = "VERIFICATION_FAILED"
	RequestRejectionCauseUnsupportedHttpMethod  RequestRejectionCause = "UNSUPPORTED_HTTP_METHOD"
	RequestRejectionCauseUnsupportedContentType RequestRejectionCause = "UNSUPPORTED_CONTENT_TYPE"
	RequestRejectionCauseUnparsableJson         RequestRejectionCause = "UNPARSABLE_JSON"
	RequestRejectionCausePayloadTooLarge        RequestRejectionCause = "PAYLOAD_TOO_LARGE"
	RequestRejectionCauseIngestionFatal         RequestRejectionCause = "INGESTION_FATAL"
	RequestRejectionCauseUnknown                RequestRejectionCause = "UNKNOWN"
)

func NewRequestRejectionCauseFromString added in v0.0.27

func NewRequestRejectionCauseFromString(s string) (RequestRejectionCause, error)

func (RequestRejectionCause) Ptr added in v0.0.27

type RetriedEvent

type RetriedEvent struct {
	Event   *Event        `json:"event,omitempty"`
	Attempt *EventAttempt `json:"attempt,omitempty"`
}

type RetryRequest

type RetryRequest struct {
	Request *Request `json:"request,omitempty"`
	Events  []*Event `json:"events,omitempty"`
}

type RetryRequestRequest

type RetryRequestRequest struct {
	// Subset of webhook_ids to re-run the event logic on. Useful to retry only specific ignored_events
	WebhookIds []string `json:"webhook_ids,omitempty"`
}

type RetryRule

type RetryRule struct {
	Strategy RetryStrategy `json:"strategy,omitempty"`
	// Time in MS between each retry
	Interval *int `json:"interval,omitempty"`
	// Maximum number of retries to attempt
	Count *int `json:"count,omitempty"`
	// contains filtered or unexported fields
}

func (*RetryRule) MarshalJSON

func (r *RetryRule) MarshalJSON() ([]byte, error)

func (*RetryRule) Type

func (r *RetryRule) Type() string

func (*RetryRule) UnmarshalJSON

func (r *RetryRule) UnmarshalJSON(data []byte) error

type RetryStrategy

type RetryStrategy string

Algorithm to use when calculating delay between retries

const (
	RetryStrategyLinear      RetryStrategy = "linear"
	RetryStrategyExponential RetryStrategy = "exponential"
)

func NewRetryStrategyFromString added in v0.0.27

func NewRetryStrategyFromString(s string) (RetryStrategy, error)

func (RetryStrategy) Ptr added in v0.0.27

func (r RetryStrategy) Ptr() *RetryStrategy

type Rule

type Rule struct {
	RetryRule     *RetryRule
	FilterRule    *FilterRule
	TransformRule *TransformRule
	DelayRule     *DelayRule
	// contains filtered or unexported fields
}

func NewRuleFromDelayRule

func NewRuleFromDelayRule(value *DelayRule) *Rule

func NewRuleFromFilterRule

func NewRuleFromFilterRule(value *FilterRule) *Rule

func NewRuleFromRetryRule

func NewRuleFromRetryRule(value *RetryRule) *Rule

func NewRuleFromTransformRule

func NewRuleFromTransformRule(value *TransformRule) *Rule

func (*Rule) Accept

func (r *Rule) Accept(visitor RuleVisitor) error

func (Rule) MarshalJSON

func (r Rule) MarshalJSON() ([]byte, error)

func (*Rule) UnmarshalJSON

func (r *Rule) UnmarshalJSON(data []byte) error

type RuleVisitor

type RuleVisitor interface {
	VisitRetryRule(*RetryRule) error
	VisitFilterRule(*FilterRule) error
	VisitTransformRule(*TransformRule) error
	VisitDelayRule(*DelayRule) error
}

type SeekPagination

type SeekPagination struct {
	OrderBy *SeekPaginationOrderBy `json:"order_by,omitempty"`
	Dir     *SeekPaginationDir     `json:"dir,omitempty"`
	Limit   *int                   `json:"limit,omitempty"`
	Prev    *string                `json:"prev,omitempty"`
	Next    *string                `json:"next,omitempty"`
}

type SeekPaginationDir

type SeekPaginationDir struct {
	OrderByDirection     OrderByDirection
	OrderByDirectionList []OrderByDirection
	// contains filtered or unexported fields
}

func NewSeekPaginationDirFromOrderByDirection

func NewSeekPaginationDirFromOrderByDirection(value OrderByDirection) *SeekPaginationDir

func NewSeekPaginationDirFromOrderByDirectionList

func NewSeekPaginationDirFromOrderByDirectionList(value []OrderByDirection) *SeekPaginationDir

func (*SeekPaginationDir) Accept

func (SeekPaginationDir) MarshalJSON

func (s SeekPaginationDir) MarshalJSON() ([]byte, error)

func (*SeekPaginationDir) UnmarshalJSON

func (s *SeekPaginationDir) UnmarshalJSON(data []byte) error

type SeekPaginationDirVisitor

type SeekPaginationDirVisitor interface {
	VisitOrderByDirection(OrderByDirection) error
	VisitOrderByDirectionList([]OrderByDirection) error
}

type SeekPaginationOrderBy

type SeekPaginationOrderBy struct {
	String     string
	StringList []string
	// contains filtered or unexported fields
}

func NewSeekPaginationOrderByFromString

func NewSeekPaginationOrderByFromString(value string) *SeekPaginationOrderBy

func NewSeekPaginationOrderByFromStringList

func NewSeekPaginationOrderByFromStringList(value []string) *SeekPaginationOrderBy

func (*SeekPaginationOrderBy) Accept

func (SeekPaginationOrderBy) MarshalJSON

func (s SeekPaginationOrderBy) MarshalJSON() ([]byte, error)

func (*SeekPaginationOrderBy) UnmarshalJSON

func (s *SeekPaginationOrderBy) UnmarshalJSON(data []byte) error

type SeekPaginationOrderByVisitor

type SeekPaginationOrderByVisitor interface {
	VisitString(string) error
	VisitStringList([]string) error
}

type SendGrid

type SendGrid struct {
	Configs *SendGridConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*SendGrid) MarshalJSON

func (s *SendGrid) MarshalJSON() ([]byte, error)

func (*SendGrid) Type

func (s *SendGrid) Type() string

func (*SendGrid) UnmarshalJSON

func (s *SendGrid) UnmarshalJSON(data []byte) error

type SendGridConfigs

type SendGridConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for SendGrid. Only included if the ?include=verification.configs query param is present

type Shopify

type Shopify struct {
	Configs *ShopifyConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Shopify) MarshalJSON

func (s *Shopify) MarshalJSON() ([]byte, error)

func (*Shopify) Type

func (s *Shopify) Type() string

func (*Shopify) UnmarshalJSON

func (s *Shopify) UnmarshalJSON(data []byte) error

type ShopifyConfigs

type ShopifyConfigs struct {
	WebhookSecretKey string                         `json:"webhook_secret_key"`
	RateLimitPeriod  *ShopifyConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
	RateLimit        *float64                       `json:"rate_limit,omitempty"`
	ApiKey           *string                        `json:"api_key,omitempty"`
	ApiSecret        *string                        `json:"api_secret,omitempty"`
	Shop             *string                        `json:"shop,omitempty"`
}

The verification configs for Shopify. Only included if the ?include=verification.configs query param is present

type ShopifyConfigsRateLimitPeriod

type ShopifyConfigsRateLimitPeriod string
const (
	ShopifyConfigsRateLimitPeriodMinute ShopifyConfigsRateLimitPeriod = "minute"
	ShopifyConfigsRateLimitPeriodSecond ShopifyConfigsRateLimitPeriod = "second"
)

func NewShopifyConfigsRateLimitPeriodFromString added in v0.0.27

func NewShopifyConfigsRateLimitPeriodFromString(s string) (ShopifyConfigsRateLimitPeriod, error)

func (ShopifyConfigsRateLimitPeriod) Ptr added in v0.0.27

type ShopifyIntegrationConfigs

type ShopifyIntegrationConfigs struct {
	WebhookSecretKey string                                    `json:"webhook_secret_key"`
	RateLimitPeriod  *ShopifyIntegrationConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
	RateLimit        *float64                                  `json:"rate_limit,omitempty"`
	ApiKey           *string                                   `json:"api_key,omitempty"`
	ApiSecret        *string                                   `json:"api_secret,omitempty"`
	Shop             *string                                   `json:"shop,omitempty"`
}

type ShopifyIntegrationConfigsRateLimitPeriod

type ShopifyIntegrationConfigsRateLimitPeriod string
const (
	ShopifyIntegrationConfigsRateLimitPeriodMinute ShopifyIntegrationConfigsRateLimitPeriod = "minute"
	ShopifyIntegrationConfigsRateLimitPeriodSecond ShopifyIntegrationConfigsRateLimitPeriod = "second"
)

func NewShopifyIntegrationConfigsRateLimitPeriodFromString added in v0.0.27

func NewShopifyIntegrationConfigsRateLimitPeriodFromString(s string) (ShopifyIntegrationConfigsRateLimitPeriod, error)

func (ShopifyIntegrationConfigsRateLimitPeriod) Ptr added in v0.0.27

type ShortEventData

type ShortEventData struct {
	// Request path
	Path string `json:"path"`
	// Raw query param string
	Query *string `json:"query,omitempty"`
	// JSON representation of query params
	ParsedQuery *ShortEventDataParsedQuery `json:"parsed_query,omitempty"`
	// JSON representation of the headers
	Headers *ShortEventDataHeaders `json:"headers,omitempty"`
	// JSON or string representation of the body
	Body *ShortEventDataBody `json:"body,omitempty"`
	// Whether the payload is considered large payload and not searchable
	IsLargePayload *bool `json:"is_large_payload,omitempty"`
}

Request data

type ShortEventDataBody

type ShortEventDataBody struct {
	String                string
	ShortEventDataBodyOne *ShortEventDataBodyOne
	UnknownList           []any
	// contains filtered or unexported fields
}

JSON or string representation of the body

func NewShortEventDataBodyFromShortEventDataBodyOne

func NewShortEventDataBodyFromShortEventDataBodyOne(value *ShortEventDataBodyOne) *ShortEventDataBody

func NewShortEventDataBodyFromString

func NewShortEventDataBodyFromString(value string) *ShortEventDataBody

func NewShortEventDataBodyFromUnknownList

func NewShortEventDataBodyFromUnknownList(value []any) *ShortEventDataBody

func (*ShortEventDataBody) Accept

func (ShortEventDataBody) MarshalJSON

func (s ShortEventDataBody) MarshalJSON() ([]byte, error)

func (*ShortEventDataBody) UnmarshalJSON

func (s *ShortEventDataBody) UnmarshalJSON(data []byte) error

type ShortEventDataBodyOne

type ShortEventDataBodyOne struct {
}

type ShortEventDataBodyVisitor

type ShortEventDataBodyVisitor interface {
	VisitString(string) error
	VisitShortEventDataBodyOne(*ShortEventDataBodyOne) error
	VisitUnknownList([]any) error
}

type ShortEventDataHeaders

type ShortEventDataHeaders struct {
	String                  string
	StringStringOptionalMap map[string]*string
	// contains filtered or unexported fields
}

JSON representation of the headers

func NewShortEventDataHeadersFromString

func NewShortEventDataHeadersFromString(value string) *ShortEventDataHeaders

func NewShortEventDataHeadersFromStringStringOptionalMap

func NewShortEventDataHeadersFromStringStringOptionalMap(value map[string]*string) *ShortEventDataHeaders

func (*ShortEventDataHeaders) Accept

func (ShortEventDataHeaders) MarshalJSON

func (s ShortEventDataHeaders) MarshalJSON() ([]byte, error)

func (*ShortEventDataHeaders) UnmarshalJSON

func (s *ShortEventDataHeaders) UnmarshalJSON(data []byte) error

type ShortEventDataHeadersVisitor

type ShortEventDataHeadersVisitor interface {
	VisitString(string) error
	VisitStringStringOptionalMap(map[string]*string) error
}

type ShortEventDataParsedQuery

type ShortEventDataParsedQuery struct {
	StringOptional               *string
	ShortEventDataParsedQueryOne *ShortEventDataParsedQueryOne
	// contains filtered or unexported fields
}

JSON representation of query params

func NewShortEventDataParsedQueryFromShortEventDataParsedQueryOne

func NewShortEventDataParsedQueryFromShortEventDataParsedQueryOne(value *ShortEventDataParsedQueryOne) *ShortEventDataParsedQuery

func NewShortEventDataParsedQueryFromStringOptional

func NewShortEventDataParsedQueryFromStringOptional(value *string) *ShortEventDataParsedQuery

func (*ShortEventDataParsedQuery) Accept

func (ShortEventDataParsedQuery) MarshalJSON

func (s ShortEventDataParsedQuery) MarshalJSON() ([]byte, error)

func (*ShortEventDataParsedQuery) UnmarshalJSON

func (s *ShortEventDataParsedQuery) UnmarshalJSON(data []byte) error

type ShortEventDataParsedQueryOne

type ShortEventDataParsedQueryOne struct {
}

type ShortEventDataParsedQueryVisitor

type ShortEventDataParsedQueryVisitor interface {
	VisitStringOptional(*string) error
	VisitShortEventDataParsedQueryOne(*ShortEventDataParsedQueryOne) error
}

type Source

type Source struct {
	// ID of the source
	Id string `json:"id"`
	// Name for the source
	Name string `json:"name"`
	// Description of the source
	Description *string `json:"description,omitempty"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// A unique URL that must be supplied to your webhook's provider
	Url                string                   `json:"url"`
	Verification       *VerificationConfig      `json:"verification,omitempty"`
	AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
	CustomResponse     *SourceCustomResponse    `json:"custom_response,omitempty"`
	// Date the source was archived
	ArchivedAt *time.Time `json:"archived_at,omitempty"`
	// Date the source was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the source was created
	CreatedAt time.Time `json:"created_at"`
}

Associated Source(#source-object) object

type SourceAllowedHttpMethod

type SourceAllowedHttpMethod = []SourceAllowedHttpMethodItem

List of allowed HTTP methods. Defaults to PUT, POST, PATCH, DELETE.

type SourceAllowedHttpMethodItem

type SourceAllowedHttpMethodItem string
const (
	SourceAllowedHttpMethodItemGet    SourceAllowedHttpMethodItem = "GET"
	SourceAllowedHttpMethodItemPost   SourceAllowedHttpMethodItem = "POST"
	SourceAllowedHttpMethodItemPut    SourceAllowedHttpMethodItem = "PUT"
	SourceAllowedHttpMethodItemPatch  SourceAllowedHttpMethodItem = "PATCH"
	SourceAllowedHttpMethodItemDelete SourceAllowedHttpMethodItem = "DELETE"
)

func NewSourceAllowedHttpMethodItemFromString added in v0.0.27

func NewSourceAllowedHttpMethodItemFromString(s string) (SourceAllowedHttpMethodItem, error)

func (SourceAllowedHttpMethodItem) Ptr added in v0.0.27

type SourceCustomResponse

type SourceCustomResponse struct {
	ContentType SourceCustomResponseContentType `json:"content_type,omitempty"`
	// Body of the custom response <span style="white-space: nowrap">`<= 1000 characters`</span>
	Body string `json:"body"`
}

Custom response object

type SourceCustomResponseContentType

type SourceCustomResponseContentType string

Content type of the custom response

const (
	SourceCustomResponseContentTypeJson SourceCustomResponseContentType = "json"
	SourceCustomResponseContentTypeText SourceCustomResponseContentType = "text"
	SourceCustomResponseContentTypeXml  SourceCustomResponseContentType = "xml"
)

func NewSourceCustomResponseContentTypeFromString added in v0.0.27

func NewSourceCustomResponseContentTypeFromString(s string) (SourceCustomResponseContentType, error)

func (SourceCustomResponseContentType) Ptr added in v0.0.27

type SourcePaginatedResult

type SourcePaginatedResult struct {
	Pagination *SeekPagination `json:"pagination,omitempty"`
	Count      *int            `json:"count,omitempty"`
	Models     []*Source       `json:"models,omitempty"`
}

type Stripe

type Stripe struct {
	Configs *StripeConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Stripe) MarshalJSON

func (s *Stripe) MarshalJSON() ([]byte, error)

func (*Stripe) Type

func (s *Stripe) Type() string

func (*Stripe) UnmarshalJSON

func (s *Stripe) UnmarshalJSON(data []byte) error

type StripeConfigs

type StripeConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Stripe. Only included if the ?include=verification.configs query param is present

type Svix

type Svix struct {
	Configs *SvixConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Svix) MarshalJSON

func (s *Svix) MarshalJSON() ([]byte, error)

func (*Svix) Type

func (s *Svix) Type() string

func (*Svix) UnmarshalJSON

func (s *Svix) UnmarshalJSON(data []byte) error

type SvixConfigs

type SvixConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Svix. Only included if the ?include=verification.configs query param is present

type Synctera

type Synctera struct {
	Configs *SyncteraConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Synctera) MarshalJSON

func (s *Synctera) MarshalJSON() ([]byte, error)

func (*Synctera) Type

func (s *Synctera) Type() string

func (*Synctera) UnmarshalJSON

func (s *Synctera) UnmarshalJSON(data []byte) error

type SyncteraConfigs

type SyncteraConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Synctera. Only included if the ?include=verification.configs query param is present

type TestTransformationRequest

type TestTransformationRequest struct {
	// Key-value environment variables to be passed to the transformation
	Env *core.Optional[TestTransformationRequestEnv] `json:"env,omitempty"`
	// ID of the connection to use for the execution `context`
	WebhookId *core.Optional[string] `json:"webhook_id,omitempty"`
	// JavaScript code to be executed
	Code *core.Optional[string] `json:"code,omitempty"`
	// Transformation ID
	TransformationId *core.Optional[string] `json:"transformation_id,omitempty"`
	// Request input to use for the transformation execution
	Request *core.Optional[TestTransformationRequestRequest] `json:"request,omitempty"`
	EventId *core.Optional[string]                           `json:"event_id,omitempty"`
}

type TestTransformationRequestEnv

type TestTransformationRequestEnv struct {
}

Key-value environment variables to be passed to the transformation

type TestTransformationRequestRequest

type TestTransformationRequestRequest struct {
	// Headers of the request
	Headers map[string]string `json:"headers,omitempty"`
	// Body of the request
	Body *TestTransformationRequestRequestBody `json:"body,omitempty"`
	// Path of the request
	Path *string `json:"path,omitempty"`
	// String representation of the query params of the request
	Query *string `json:"query,omitempty"`
	// JSON representation of the query params
	ParsedQuery *TestTransformationRequestRequestParsedQuery `json:"parsed_query,omitempty"`
}

Request input to use for the transformation execution

type TestTransformationRequestRequestBody

type TestTransformationRequestRequestBody struct {
	TestTransformationRequestRequestBodyZero *TestTransformationRequestRequestBodyZero
	String                                   string
	// contains filtered or unexported fields
}

Body of the request

func NewTestTransformationRequestRequestBodyFromString

func NewTestTransformationRequestRequestBodyFromString(value string) *TestTransformationRequestRequestBody

func NewTestTransformationRequestRequestBodyFromTestTransformationRequestRequestBodyZero

func NewTestTransformationRequestRequestBodyFromTestTransformationRequestRequestBodyZero(value *TestTransformationRequestRequestBodyZero) *TestTransformationRequestRequestBody

func (*TestTransformationRequestRequestBody) Accept

func (TestTransformationRequestRequestBody) MarshalJSON

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

func (*TestTransformationRequestRequestBody) UnmarshalJSON

func (t *TestTransformationRequestRequestBody) UnmarshalJSON(data []byte) error

type TestTransformationRequestRequestBodyVisitor

type TestTransformationRequestRequestBodyVisitor interface {
	VisitTestTransformationRequestRequestBodyZero(*TestTransformationRequestRequestBodyZero) error
	VisitString(string) error
}

type TestTransformationRequestRequestBodyZero

type TestTransformationRequestRequestBodyZero struct {
}

type TestTransformationRequestRequestParsedQuery

type TestTransformationRequestRequestParsedQuery struct {
}

JSON representation of the query params

type ThreeDEye

type ThreeDEye struct {
	Configs *ThreeDEyeConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*ThreeDEye) MarshalJSON

func (t *ThreeDEye) MarshalJSON() ([]byte, error)

func (*ThreeDEye) Type

func (t *ThreeDEye) Type() string

func (*ThreeDEye) UnmarshalJSON

func (t *ThreeDEye) UnmarshalJSON(data []byte) error

type ThreeDEyeConfigs

type ThreeDEyeConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for 3dEye. Only included if the ?include=verification.configs query param is present

type ToggleWebhookNotifications

type ToggleWebhookNotifications struct {
	Enabled  bool          `json:"enabled"`
	Topics   []TopicsValue `json:"topics,omitempty"`
	SourceId string        `json:"source_id"`
}

type TopicsValue

type TopicsValue string

Supported topics

const (
	TopicsValueIssueOpened             TopicsValue = "issue.opened"
	TopicsValueIssueUpdated            TopicsValue = "issue.updated"
	TopicsValueDeprecatedAttemptFailed TopicsValue = "deprecated.attempt-failed"
	TopicsValueEventSuccessful         TopicsValue = "event.successful"
)

func NewTopicsValueFromString added in v0.0.27

func NewTopicsValueFromString(s string) (TopicsValue, error)

func (TopicsValue) Ptr added in v0.0.27

func (t TopicsValue) Ptr() *TopicsValue

type TransformFull

type TransformFull struct {
	// ID of the attached transformation object. Optional input, always set once the rule is defined
	TransformationId *string `json:"transformation_id,omitempty"`
	// You can optionally define a new transformation while creating a transform rule
	Transformation *TransformFullTransformation `json:"transformation,omitempty"`
	// contains filtered or unexported fields
}

func (*TransformFull) MarshalJSON

func (t *TransformFull) MarshalJSON() ([]byte, error)

func (*TransformFull) Type

func (t *TransformFull) Type() string

func (*TransformFull) UnmarshalJSON

func (t *TransformFull) UnmarshalJSON(data []byte) error

type TransformFullTransformation

type TransformFullTransformation struct {
	// The unique name of the transformation
	Name string `json:"name"`
	// A string representation of your JavaScript (ES6) code to run
	Code string `json:"code"`
	// A key-value object of environment variables to encrypt and expose to your transformation code
	Env map[string]*string `json:"env,omitempty"`
}

You can optionally define a new transformation while creating a transform rule

type TransformReference

type TransformReference struct {
	// ID of the attached transformation object. Optional input, always set once the rule is defined
	TransformationId string `json:"transformation_id"`
	// contains filtered or unexported fields
}

func (*TransformReference) MarshalJSON

func (t *TransformReference) MarshalJSON() ([]byte, error)

func (*TransformReference) Type

func (t *TransformReference) Type() string

func (*TransformReference) UnmarshalJSON

func (t *TransformReference) UnmarshalJSON(data []byte) error

type TransformRule

type TransformRule struct {
	TransformReference *TransformReference
	TransformFull      *TransformFull
	// contains filtered or unexported fields
}

func NewTransformRuleFromTransformFull

func NewTransformRuleFromTransformFull(value *TransformFull) *TransformRule

func NewTransformRuleFromTransformReference

func NewTransformRuleFromTransformReference(value *TransformReference) *TransformRule

func (*TransformRule) Accept

func (t *TransformRule) Accept(visitor TransformRuleVisitor) error

func (TransformRule) MarshalJSON

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

func (*TransformRule) UnmarshalJSON

func (t *TransformRule) UnmarshalJSON(data []byte) error

type TransformRuleVisitor

type TransformRuleVisitor interface {
	VisitTransformReference(*TransformReference) error
	VisitTransformFull(*TransformFull) error
}

type Transformation

type Transformation struct {
	// ID of the transformation
	Id string `json:"id"`
	// ID of the workspace
	TeamId string `json:"team_id"`
	// A unique, human-friendly name for the transformation
	Name string `json:"name"`
	// JavaScript code to be executed
	Code         string  `json:"code"`
	EncryptedEnv *string `json:"encrypted_env,omitempty"`
	Iv           *string `json:"iv,omitempty"`
	// Key-value environment variables to be passed to the transformation
	Env map[string]*string `json:"env,omitempty"`
	// Date the transformation was last updated
	UpdatedAt time.Time `json:"updated_at"`
	// Date the transformation was created
	CreatedAt time.Time `json:"created_at"`
}

type TransformationExecution

type TransformationExecution struct {
	Id                     string                          `json:"id"`
	TransformedEventDataId string                          `json:"transformed_event_data_id"`
	OriginalEventDataId    string                          `json:"original_event_data_id"`
	TransformationId       string                          `json:"transformation_id"`
	TeamId                 string                          `json:"team_id"`
	WebhookId              string                          `json:"webhook_id"`
	LogLevel               TransformationExecutionLogLevel `json:"log_level,omitempty"`
	Logs                   []*ConsoleLine                  `json:"logs,omitempty"`
	UpdatedAt              time.Time                       `json:"updated_at"`
	CreatedAt              time.Time                       `json:"created_at"`
	OriginalEventData      *ShortEventData                 `json:"original_event_data,omitempty"`
	TransformedEventData   *ShortEventData                 `json:"transformed_event_data,omitempty"`
	IssueId                *string                         `json:"issue_id,omitempty"`
}

type TransformationExecutionLogLevel

type TransformationExecutionLogLevel string

The minimum log level to open the issue on

const (
	TransformationExecutionLogLevelDebug TransformationExecutionLogLevel = "debug"
	TransformationExecutionLogLevelInfo  TransformationExecutionLogLevel = "info"
	TransformationExecutionLogLevelWarn  TransformationExecutionLogLevel = "warn"
	TransformationExecutionLogLevelError TransformationExecutionLogLevel = "error"
	TransformationExecutionLogLevelFatal TransformationExecutionLogLevel = "fatal"
)

func NewTransformationExecutionLogLevelFromString added in v0.0.27

func NewTransformationExecutionLogLevelFromString(s string) (TransformationExecutionLogLevel, error)

func (TransformationExecutionLogLevel) Ptr added in v0.0.27

type TransformationExecutionPaginatedResult

type TransformationExecutionPaginatedResult struct {
	Pagination *SeekPagination            `json:"pagination,omitempty"`
	Count      *int                       `json:"count,omitempty"`
	Models     []*TransformationExecution `json:"models,omitempty"`
}

type TransformationExecutorOutput

type TransformationExecutorOutput struct {
	RequestId        *string                              `json:"request_id,omitempty"`
	TransformationId *string                              `json:"transformation_id,omitempty"`
	ExecutionId      *string                              `json:"execution_id,omitempty"`
	LogLevel         TransformationExecutionLogLevel      `json:"log_level,omitempty"`
	Request          *TransformationExecutorOutputRequest `json:"request,omitempty"`
	Console          []*ConsoleLine                       `json:"console,omitempty"`
}

type TransformationExecutorOutputRequest

type TransformationExecutorOutputRequest struct {
	Headers     *TransformationExecutorOutputRequestHeaders     `json:"headers,omitempty"`
	Path        string                                          `json:"path"`
	Query       *TransformationExecutorOutputRequestQuery       `json:"query,omitempty"`
	ParsedQuery *TransformationExecutorOutputRequestParsedQuery `json:"parsed_query,omitempty"`
	Body        *TransformationExecutorOutputRequestBody        `json:"body,omitempty"`
}

type TransformationExecutorOutputRequestBody

type TransformationExecutorOutputRequestBody struct {
	StringOptional                             *string
	TransformationExecutorOutputRequestBodyOne *TransformationExecutorOutputRequestBodyOne
	// contains filtered or unexported fields
}

func NewTransformationExecutorOutputRequestBodyFromStringOptional

func NewTransformationExecutorOutputRequestBodyFromStringOptional(value *string) *TransformationExecutorOutputRequestBody

func (*TransformationExecutorOutputRequestBody) Accept

func (TransformationExecutorOutputRequestBody) MarshalJSON

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

func (*TransformationExecutorOutputRequestBody) UnmarshalJSON

func (t *TransformationExecutorOutputRequestBody) UnmarshalJSON(data []byte) error

type TransformationExecutorOutputRequestBodyOne

type TransformationExecutorOutputRequestBodyOne struct {
}

type TransformationExecutorOutputRequestBodyVisitor

type TransformationExecutorOutputRequestBodyVisitor interface {
	VisitStringOptional(*string) error
	VisitTransformationExecutorOutputRequestBodyOne(*TransformationExecutorOutputRequestBodyOne) error
}

type TransformationExecutorOutputRequestHeaders

type TransformationExecutorOutputRequestHeaders struct {
	String           string
	StringUnknownMap map[string]any
	// contains filtered or unexported fields
}

func NewTransformationExecutorOutputRequestHeadersFromString

func NewTransformationExecutorOutputRequestHeadersFromString(value string) *TransformationExecutorOutputRequestHeaders

func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap

func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap(value map[string]any) *TransformationExecutorOutputRequestHeaders

func (*TransformationExecutorOutputRequestHeaders) Accept

func (TransformationExecutorOutputRequestHeaders) MarshalJSON

func (*TransformationExecutorOutputRequestHeaders) UnmarshalJSON

func (t *TransformationExecutorOutputRequestHeaders) UnmarshalJSON(data []byte) error

type TransformationExecutorOutputRequestHeadersVisitor

type TransformationExecutorOutputRequestHeadersVisitor interface {
	VisitString(string) error
	VisitStringUnknownMap(map[string]any) error
}

type TransformationExecutorOutputRequestParsedQuery

type TransformationExecutorOutputRequestParsedQuery struct {
	StringOptional                                    *string
	TransformationExecutorOutputRequestParsedQueryOne *TransformationExecutorOutputRequestParsedQueryOne
	// contains filtered or unexported fields
}

func NewTransformationExecutorOutputRequestParsedQueryFromStringOptional

func NewTransformationExecutorOutputRequestParsedQueryFromStringOptional(value *string) *TransformationExecutorOutputRequestParsedQuery

func (*TransformationExecutorOutputRequestParsedQuery) Accept

func (TransformationExecutorOutputRequestParsedQuery) MarshalJSON

func (*TransformationExecutorOutputRequestParsedQuery) UnmarshalJSON

type TransformationExecutorOutputRequestParsedQueryOne

type TransformationExecutorOutputRequestParsedQueryOne struct {
}

type TransformationExecutorOutputRequestParsedQueryVisitor

type TransformationExecutorOutputRequestParsedQueryVisitor interface {
	VisitStringOptional(*string) error
	VisitTransformationExecutorOutputRequestParsedQueryOne(*TransformationExecutorOutputRequestParsedQueryOne) error
}

type TransformationExecutorOutputRequestQuery

type TransformationExecutorOutputRequestQuery struct {
	TransformationExecutorOutputRequestQueryZeroOptional *TransformationExecutorOutputRequestQueryZero
	String                                               string
	// contains filtered or unexported fields
}

func NewTransformationExecutorOutputRequestQueryFromString

func NewTransformationExecutorOutputRequestQueryFromString(value string) *TransformationExecutorOutputRequestQuery

func NewTransformationExecutorOutputRequestQueryFromTransformationExecutorOutputRequestQueryZeroOptional

func NewTransformationExecutorOutputRequestQueryFromTransformationExecutorOutputRequestQueryZeroOptional(value *TransformationExecutorOutputRequestQueryZero) *TransformationExecutorOutputRequestQuery

func (*TransformationExecutorOutputRequestQuery) Accept

func (TransformationExecutorOutputRequestQuery) MarshalJSON

func (*TransformationExecutorOutputRequestQuery) UnmarshalJSON

func (t *TransformationExecutorOutputRequestQuery) UnmarshalJSON(data []byte) error

type TransformationExecutorOutputRequestQueryVisitor

type TransformationExecutorOutputRequestQueryVisitor interface {
	VisitTransformationExecutorOutputRequestQueryZeroOptional(*TransformationExecutorOutputRequestQueryZero) error
	VisitString(string) error
}

type TransformationExecutorOutputRequestQueryZero

type TransformationExecutorOutputRequestQueryZero struct {
}

type TransformationFailedMeta

type TransformationFailedMeta struct {
	TransformationId string `json:"transformation_id"`
}

type TransformationIssue

type TransformationIssue struct {
	// Issue ID
	Id string `json:"id"`
	// ID of the workspace
	TeamId string      `json:"team_id"`
	Status IssueStatus `json:"status,omitempty"`
	// ISO timestamp for when the issue was last opened
	OpenedAt time.Time `json:"opened_at"`
	// ISO timestamp for when the issue was first opened
	FirstSeenAt time.Time `json:"first_seen_at"`
	// ISO timestamp for when the issue last occured
	LastSeenAt time.Time `json:"last_seen_at"`
	// ID of the team member who last updated the issue status
	LastUpdatedBy *string `json:"last_updated_by,omitempty"`
	// ISO timestamp for when the issue was dismissed
	DismissedAt    *time.Time `json:"dismissed_at,omitempty"`
	AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
	MergedWith     *string    `json:"merged_with,omitempty"`
	// ISO timestamp for when the issue was last updated
	UpdatedAt string `json:"updated_at"`
	// ISO timestamp for when the issue was created
	CreatedAt       string                              `json:"created_at"`
	AggregationKeys *TransformationIssueAggregationKeys `json:"aggregation_keys,omitempty"`
	Reference       *TransformationIssueReference       `json:"reference,omitempty"`
	// contains filtered or unexported fields
}

Transformation issue

func (*TransformationIssue) MarshalJSON

func (t *TransformationIssue) MarshalJSON() ([]byte, error)

func (*TransformationIssue) Type

func (t *TransformationIssue) Type() string

func (*TransformationIssue) UnmarshalJSON

func (t *TransformationIssue) UnmarshalJSON(data []byte) error

type TransformationIssueAggregationKeys

type TransformationIssueAggregationKeys struct {
	TransformationId []string                        `json:"transformation_id,omitempty"`
	LogLevel         TransformationExecutionLogLevel `json:"log_level,omitempty"`
}

Keys used as the aggregation keys a 'transformation' type issue

type TransformationIssueData

type TransformationIssueData struct {
	TransformationExecution *TransformationExecution `json:"transformation_execution,omitempty"`
	TriggerAttempt          *EventAttempt            `json:"trigger_attempt,omitempty"`
}

Transformation issue data

type TransformationIssueReference

type TransformationIssueReference struct {
	TransformationExecutionId string `json:"transformation_execution_id"`
	// Deprecated but still found on historical issues
	TriggerEventRequestTransformationId *string `json:"trigger_event_request_transformation_id,omitempty"`
}

Reference to the event request transformation an issue is being created for.

type TransformationIssueWithData

type TransformationIssueWithData struct {
	// Issue ID
	Id string `json:"id"`
	// ID of the workspace
	TeamId string      `json:"team_id"`
	Status IssueStatus `json:"status,omitempty"`
	// ISO timestamp for when the issue was last opened
	OpenedAt time.Time `json:"opened_at"`
	// ISO timestamp for when the issue was first opened
	FirstSeenAt time.Time `json:"first_seen_at"`
	// ISO timestamp for when the issue last occured
	LastSeenAt time.Time `json:"last_seen_at"`
	// ID of the team member who last updated the issue status
	LastUpdatedBy *string `json:"last_updated_by,omitempty"`
	// ISO timestamp for when the issue was dismissed
	DismissedAt    *time.Time `json:"dismissed_at,omitempty"`
	AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
	MergedWith     *string    `json:"merged_with,omitempty"`
	// ISO timestamp for when the issue was last updated
	UpdatedAt string `json:"updated_at"`
	// ISO timestamp for when the issue was created
	CreatedAt       string                              `json:"created_at"`
	AggregationKeys *TransformationIssueAggregationKeys `json:"aggregation_keys,omitempty"`
	Reference       *TransformationIssueReference       `json:"reference,omitempty"`
	Data            *TransformationIssueData            `json:"data,omitempty"`
	// contains filtered or unexported fields
}

Transformation issue

func (*TransformationIssueWithData) MarshalJSON

func (t *TransformationIssueWithData) MarshalJSON() ([]byte, error)

func (*TransformationIssueWithData) Type

func (*TransformationIssueWithData) UnmarshalJSON

func (t *TransformationIssueWithData) UnmarshalJSON(data []byte) error

type TransformationPaginatedResult

type TransformationPaginatedResult struct {
	Pagination *SeekPagination   `json:"pagination,omitempty"`
	Count      *int              `json:"count,omitempty"`
	Models     []*Transformation `json:"models,omitempty"`
}

type TriggerBookmarkRequest

type TriggerBookmarkRequest struct {
	// Bookmark target
	Target *core.Optional[TriggerBookmarkRequestTarget] `json:"target,omitempty"`
}

type TriggerBookmarkRequestTarget

type TriggerBookmarkRequestTarget string

Bookmark target

const (
	TriggerBookmarkRequestTargetHttp TriggerBookmarkRequestTarget = "http"
	TriggerBookmarkRequestTargetCli  TriggerBookmarkRequestTarget = "cli"
)

func NewTriggerBookmarkRequestTargetFromString added in v0.0.27

func NewTriggerBookmarkRequestTargetFromString(s string) (TriggerBookmarkRequestTarget, error)

func (TriggerBookmarkRequestTarget) Ptr added in v0.0.27

type Twitter

type Twitter struct {
	Configs *TwitterConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Twitter) MarshalJSON

func (t *Twitter) MarshalJSON() ([]byte, error)

func (*Twitter) Type

func (t *Twitter) Type() string

func (*Twitter) UnmarshalJSON

func (t *Twitter) UnmarshalJSON(data []byte) error

type TwitterConfigs

type TwitterConfigs struct {
	ApiKey string `json:"api_key"`
}

The verification configs for Twitter. Only included if the ?include=verification.configs query param is present

type Typeform

type Typeform struct {
	Configs *TypeformConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Typeform) MarshalJSON

func (t *Typeform) MarshalJSON() ([]byte, error)

func (*Typeform) Type

func (t *Typeform) Type() string

func (*Typeform) UnmarshalJSON

func (t *Typeform) UnmarshalJSON(data []byte) error

type TypeformConfigs

type TypeformConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Typeform. Only included if the ?include=verification.configs query param is present

type UnprocessableEntityError

type UnprocessableEntityError struct {
	*core.APIError
	Body *ApiErrorResponse
}

func (*UnprocessableEntityError) MarshalJSON

func (u *UnprocessableEntityError) MarshalJSON() ([]byte, error)

func (*UnprocessableEntityError) UnmarshalJSON

func (u *UnprocessableEntityError) UnmarshalJSON(data []byte) error

func (*UnprocessableEntityError) Unwrap added in v0.0.28

func (u *UnprocessableEntityError) Unwrap() error

type UpdateBookmarkRequest

type UpdateBookmarkRequest struct {
	// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
	EventDataId *core.Optional[string] `json:"event_data_id,omitempty"`
	// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
	WebhookId *core.Optional[string] `json:"webhook_id,omitempty"`
	// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
	Label *core.Optional[string] `json:"label,omitempty"`
	// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
}

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	// <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the connection
	Description *core.Optional[string] `json:"description,omitempty"`
	Rules       []*Rule                `json:"rules,omitempty"`
}

type UpdateDestinationRequest

type UpdateDestinationRequest struct {
	// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[UpdateDestinationRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type UpdateDestinationRequestRateLimitPeriod

type UpdateDestinationRequestRateLimitPeriod string

Period to rate limit attempts

const (
	UpdateDestinationRequestRateLimitPeriodSecond UpdateDestinationRequestRateLimitPeriod = "second"
	UpdateDestinationRequestRateLimitPeriodMinute UpdateDestinationRequestRateLimitPeriod = "minute"
	UpdateDestinationRequestRateLimitPeriodHour   UpdateDestinationRequestRateLimitPeriod = "hour"
)

func NewUpdateDestinationRequestRateLimitPeriodFromString added in v0.0.27

func NewUpdateDestinationRequestRateLimitPeriodFromString(s string) (UpdateDestinationRequestRateLimitPeriod, error)

func (UpdateDestinationRequestRateLimitPeriod) Ptr added in v0.0.27

type UpdateIntegrationRequest

type UpdateIntegrationRequest struct {
	// Label of the integration
	Label *core.Optional[string] `json:"label,omitempty"`
	// Decrypted Key/Value object of the associated configuration for that provider
	Configs  *core.Optional[UpdateIntegrationRequestConfigs] `json:"configs,omitempty"`
	Provider *core.Optional[IntegrationProvider]             `json:"provider,omitempty"`
	// List of features to enable (see features list above)
	Features []IntegrationFeature `json:"features,omitempty"`
}

type UpdateIntegrationRequestConfigs

type UpdateIntegrationRequestConfigs struct {
	HmacIntegrationConfigs             *HmacIntegrationConfigs
	ApiKeyIntegrationConfigs           *ApiKeyIntegrationConfigs
	HandledApiKeyIntegrationConfigs    *HandledApiKeyIntegrationConfigs
	HandledHmacConfigs                 *HandledHmacConfigs
	BasicAuthIntegrationConfigs        *BasicAuthIntegrationConfigs
	ShopifyIntegrationConfigs          *ShopifyIntegrationConfigs
	UpdateIntegrationRequestConfigsSix *UpdateIntegrationRequestConfigsSix
	// contains filtered or unexported fields
}

Decrypted Key/Value object of the associated configuration for that provider

func NewUpdateIntegrationRequestConfigsFromApiKeyIntegrationConfigs

func NewUpdateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs

func NewUpdateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs

func NewUpdateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromHandledHmacConfigs

func NewUpdateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromHmacIntegrationConfigs

func NewUpdateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromShopifyIntegrationConfigs

func NewUpdateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *UpdateIntegrationRequestConfigs

func NewUpdateIntegrationRequestConfigsFromUpdateIntegrationRequestConfigsSix

func NewUpdateIntegrationRequestConfigsFromUpdateIntegrationRequestConfigsSix(value *UpdateIntegrationRequestConfigsSix) *UpdateIntegrationRequestConfigs

func (*UpdateIntegrationRequestConfigs) Accept

func (UpdateIntegrationRequestConfigs) MarshalJSON

func (u UpdateIntegrationRequestConfigs) MarshalJSON() ([]byte, error)

func (*UpdateIntegrationRequestConfigs) UnmarshalJSON

func (u *UpdateIntegrationRequestConfigs) UnmarshalJSON(data []byte) error

type UpdateIntegrationRequestConfigsSix

type UpdateIntegrationRequestConfigsSix struct {
}

type UpdateIntegrationRequestConfigsVisitor

type UpdateIntegrationRequestConfigsVisitor interface {
	VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
	VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
	VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
	VisitHandledHmacConfigs(*HandledHmacConfigs) error
	VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
	VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
	VisitUpdateIntegrationRequestConfigsSix(*UpdateIntegrationRequestConfigsSix) error
}

type UpdateIssueRequest

type UpdateIssueRequest struct {
	// New status
	Status UpdateIssueRequestStatus `json:"status,omitempty"`
}

type UpdateIssueRequestStatus

type UpdateIssueRequestStatus string

New status

const (
	UpdateIssueRequestStatusOpened       UpdateIssueRequestStatus = "OPENED"
	UpdateIssueRequestStatusIgnored      UpdateIssueRequestStatus = "IGNORED"
	UpdateIssueRequestStatusAcknowledged UpdateIssueRequestStatus = "ACKNOWLEDGED"
	UpdateIssueRequestStatusResolved     UpdateIssueRequestStatus = "RESOLVED"
)

func NewUpdateIssueRequestStatusFromString added in v0.0.27

func NewUpdateIssueRequestStatusFromString(s string) (UpdateIssueRequestStatus, error)

func (UpdateIssueRequestStatus) Ptr added in v0.0.27

type UpdateIssueTriggerRequest

type UpdateIssueTriggerRequest struct {
	// Configuration object for the specific issue type selected
	Configs  *core.Optional[UpdateIssueTriggerRequestConfigs] `json:"configs,omitempty"`
	Channels *core.Optional[IssueTriggerChannels]             `json:"channels,omitempty"`
	// Date when the issue trigger was disabled
	DisabledAt *core.Optional[time.Time] `json:"disabled_at,omitempty"`
	// Optional unique name to use as reference when using the API
	Name *core.Optional[string] `json:"name,omitempty"`
}

type UpdateIssueTriggerRequestConfigs

type UpdateIssueTriggerRequestConfigs struct {
	IssueTriggerDeliveryConfigs       *IssueTriggerDeliveryConfigs
	IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
	IssueTriggerBackpressureConfigs   *IssueTriggerBackpressureConfigs
	// contains filtered or unexported fields
}

Configuration object for the specific issue type selected

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpdateIssueTriggerRequestConfigs

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpdateIssueTriggerRequestConfigs

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs

func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpdateIssueTriggerRequestConfigs

func (*UpdateIssueTriggerRequestConfigs) Accept

func (UpdateIssueTriggerRequestConfigs) MarshalJSON

func (u UpdateIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)

func (*UpdateIssueTriggerRequestConfigs) UnmarshalJSON

func (u *UpdateIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error

type UpdateIssueTriggerRequestConfigsVisitor

type UpdateIssueTriggerRequestConfigsVisitor interface {
	VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
	VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
	VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}

type UpdateSourceRequest

type UpdateSourceRequest struct {
	// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type UpdateTransformationRequest

type UpdateTransformationRequest struct {
	// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *core.Optional[string] `json:"name,omitempty"`
	// JavaScript code to be executed
	Code *core.Optional[string] `json:"code,omitempty"`
	// Key-value environment variables to be passed to the transformation
	Env map[string]*UpdateTransformationRequestEnvValue `json:"env,omitempty"`
}

type UpdateTransformationRequestEnvValue

type UpdateTransformationRequestEnvValue struct {
	String string
	Double float64
	// contains filtered or unexported fields
}

func NewUpdateTransformationRequestEnvValueFromDouble

func NewUpdateTransformationRequestEnvValueFromDouble(value float64) *UpdateTransformationRequestEnvValue

func NewUpdateTransformationRequestEnvValueFromString

func NewUpdateTransformationRequestEnvValueFromString(value string) *UpdateTransformationRequestEnvValue

func (*UpdateTransformationRequestEnvValue) Accept

func (UpdateTransformationRequestEnvValue) MarshalJSON

func (u UpdateTransformationRequestEnvValue) MarshalJSON() ([]byte, error)

func (*UpdateTransformationRequestEnvValue) UnmarshalJSON

func (u *UpdateTransformationRequestEnvValue) UnmarshalJSON(data []byte) error

type UpdateTransformationRequestEnvValueVisitor

type UpdateTransformationRequestEnvValueVisitor interface {
	VisitString(string) error
	VisitDouble(float64) error
}

type UpsertConnectionRequest

type UpsertConnectionRequest struct {
	// A unique name of the connection for the source
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the connection
	Description *core.Optional[string] `json:"description,omitempty"`
	// ID of a destination to bind to the connection
	DestinationId *core.Optional[string] `json:"destination_id,omitempty"`
	// ID of a source to bind to the connection
	SourceId *core.Optional[string] `json:"source_id,omitempty"`
	// Destination input object
	Destination *core.Optional[UpsertConnectionRequestDestination] `json:"destination,omitempty"`
	// Source input object
	Source *core.Optional[UpsertConnectionRequestSource] `json:"source,omitempty"`
	Rules  []*Rule                                       `json:"rules,omitempty"`
}

type UpsertConnectionRequestDestination

type UpsertConnectionRequestDestination struct {
	// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the destination
	Description *string `json:"description,omitempty"`
	// Endpoint of the destination
	Url *string `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *string `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *UpsertConnectionRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *int                         `json:"rate_limit,omitempty"`
	HttpMethod             *DestinationHttpMethod       `json:"http_method,omitempty"`
	AuthMethod             *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
	PathForwardingDisabled *bool                        `json:"path_forwarding_disabled,omitempty"`
}

Destination input object

type UpsertConnectionRequestDestinationRateLimitPeriod

type UpsertConnectionRequestDestinationRateLimitPeriod string

Period to rate limit attempts

const (
	UpsertConnectionRequestDestinationRateLimitPeriodSecond UpsertConnectionRequestDestinationRateLimitPeriod = "second"
	UpsertConnectionRequestDestinationRateLimitPeriodMinute UpsertConnectionRequestDestinationRateLimitPeriod = "minute"
	UpsertConnectionRequestDestinationRateLimitPeriodHour   UpsertConnectionRequestDestinationRateLimitPeriod = "hour"
)

func NewUpsertConnectionRequestDestinationRateLimitPeriodFromString added in v0.0.27

func NewUpsertConnectionRequestDestinationRateLimitPeriodFromString(s string) (UpsertConnectionRequestDestinationRateLimitPeriod, error)

func (UpsertConnectionRequestDestinationRateLimitPeriod) Ptr added in v0.0.27

type UpsertConnectionRequestSource

type UpsertConnectionRequestSource struct {
	// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the source
	Description        *string                  `json:"description,omitempty"`
	AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
	CustomResponse     *SourceCustomResponse    `json:"custom_response,omitempty"`
	Verification       *VerificationConfig      `json:"verification,omitempty"`
}

Source input object

type UpsertDestinationRequest

type UpsertDestinationRequest struct {
	// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[UpsertDestinationRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type UpsertDestinationRequestRateLimitPeriod

type UpsertDestinationRequestRateLimitPeriod string

Period to rate limit attempts

const (
	UpsertDestinationRequestRateLimitPeriodSecond UpsertDestinationRequestRateLimitPeriod = "second"
	UpsertDestinationRequestRateLimitPeriodMinute UpsertDestinationRequestRateLimitPeriod = "minute"
	UpsertDestinationRequestRateLimitPeriodHour   UpsertDestinationRequestRateLimitPeriod = "hour"
)

func NewUpsertDestinationRequestRateLimitPeriodFromString added in v0.0.27

func NewUpsertDestinationRequestRateLimitPeriodFromString(s string) (UpsertDestinationRequestRateLimitPeriod, error)

func (UpsertDestinationRequestRateLimitPeriod) Ptr added in v0.0.27

type UpsertIssueTriggerRequest

type UpsertIssueTriggerRequest struct {
	Type IssueType `json:"type,omitempty"`
	// Configuration object for the specific issue type selected
	Configs  *core.Optional[UpsertIssueTriggerRequestConfigs] `json:"configs,omitempty"`
	Channels *core.Optional[IssueTriggerChannels]             `json:"channels,omitempty"`
	// Required unique name to use as reference when using the API <span style="white-space: nowrap">`<= 255 characters`</span>
	Name string `json:"name"`
}

type UpsertIssueTriggerRequestConfigs

type UpsertIssueTriggerRequestConfigs struct {
	IssueTriggerDeliveryConfigs       *IssueTriggerDeliveryConfigs
	IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
	IssueTriggerBackpressureConfigs   *IssueTriggerBackpressureConfigs
	// contains filtered or unexported fields
}

Configuration object for the specific issue type selected

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpsertIssueTriggerRequestConfigs

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpsertIssueTriggerRequestConfigs

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs

func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpsertIssueTriggerRequestConfigs

func (*UpsertIssueTriggerRequestConfigs) Accept

func (UpsertIssueTriggerRequestConfigs) MarshalJSON

func (u UpsertIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)

func (*UpsertIssueTriggerRequestConfigs) UnmarshalJSON

func (u *UpsertIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error

type UpsertIssueTriggerRequestConfigsVisitor

type UpsertIssueTriggerRequestConfigsVisitor interface {
	VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
	VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
	VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}

type UpsertSourceRequest

type UpsertSourceRequest struct {
	// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type UpsertTransformationRequest

type UpsertTransformationRequest struct {
	// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
	Name string `json:"name"`
	// JavaScript code to be executed as string
	Code string `json:"code"`
	// Key-value environment variables to be passed to the transformation
	Env map[string]*UpsertTransformationRequestEnvValue `json:"env,omitempty"`
}

type UpsertTransformationRequestEnvValue

type UpsertTransformationRequestEnvValue struct {
	String string
	Double float64
	// contains filtered or unexported fields
}

func NewUpsertTransformationRequestEnvValueFromDouble

func NewUpsertTransformationRequestEnvValueFromDouble(value float64) *UpsertTransformationRequestEnvValue

func NewUpsertTransformationRequestEnvValueFromString

func NewUpsertTransformationRequestEnvValueFromString(value string) *UpsertTransformationRequestEnvValue

func (*UpsertTransformationRequestEnvValue) Accept

func (UpsertTransformationRequestEnvValue) MarshalJSON

func (u UpsertTransformationRequestEnvValue) MarshalJSON() ([]byte, error)

func (*UpsertTransformationRequestEnvValue) UnmarshalJSON

func (u *UpsertTransformationRequestEnvValue) UnmarshalJSON(data []byte) error

type UpsertTransformationRequestEnvValueVisitor

type UpsertTransformationRequestEnvValueVisitor interface {
	VisitString(string) error
	VisitDouble(float64) error
}

type VerificationConfig

type VerificationConfig struct {
	Hmac           *Hmac
	BasicAuth      *BasicAuth
	ApiKey         *ApiKey
	Twitter        *Twitter
	Stripe         *Stripe
	Recharge       *Recharge
	GitHub         *GitHub
	Shopify        *Shopify
	Postmark       *Postmark
	Typeform       *Typeform
	Xero           *Xero
	Svix           *Svix
	Zoom           *Zoom
	Akeneo         *Akeneo
	Adyen          *Adyen
	GitLab         *GitLab
	PropertyFinder *PropertyFinder
	WooCommerce    *WooCommerce
	Oura           *Oura
	Commercelayer  *Commercelayer
	Mailgun        *Mailgun
	Pipedrive      *Pipedrive
	SendGrid       *SendGrid
	WorkOs         *WorkOs
	Synctera       *Synctera
	AwsSns         *AwsSns
	ThreeDEye      *ThreeDEye
	// contains filtered or unexported fields
}

The verification configs for the specific verification type

func NewVerificationConfigFromAdyen

func NewVerificationConfigFromAdyen(value *Adyen) *VerificationConfig

func NewVerificationConfigFromAkeneo

func NewVerificationConfigFromAkeneo(value *Akeneo) *VerificationConfig

func NewVerificationConfigFromApiKey

func NewVerificationConfigFromApiKey(value *ApiKey) *VerificationConfig

func NewVerificationConfigFromAwsSns

func NewVerificationConfigFromAwsSns(value *AwsSns) *VerificationConfig

func NewVerificationConfigFromBasicAuth

func NewVerificationConfigFromBasicAuth(value *BasicAuth) *VerificationConfig

func NewVerificationConfigFromCommercelayer

func NewVerificationConfigFromCommercelayer(value *Commercelayer) *VerificationConfig

func NewVerificationConfigFromGitHub

func NewVerificationConfigFromGitHub(value *GitHub) *VerificationConfig

func NewVerificationConfigFromGitLab

func NewVerificationConfigFromGitLab(value *GitLab) *VerificationConfig

func NewVerificationConfigFromHmac

func NewVerificationConfigFromHmac(value *Hmac) *VerificationConfig

func NewVerificationConfigFromMailgun

func NewVerificationConfigFromMailgun(value *Mailgun) *VerificationConfig

func NewVerificationConfigFromOura

func NewVerificationConfigFromOura(value *Oura) *VerificationConfig

func NewVerificationConfigFromPipedrive

func NewVerificationConfigFromPipedrive(value *Pipedrive) *VerificationConfig

func NewVerificationConfigFromPostmark

func NewVerificationConfigFromPostmark(value *Postmark) *VerificationConfig

func NewVerificationConfigFromPropertyFinder

func NewVerificationConfigFromPropertyFinder(value *PropertyFinder) *VerificationConfig

func NewVerificationConfigFromRecharge

func NewVerificationConfigFromRecharge(value *Recharge) *VerificationConfig

func NewVerificationConfigFromSendGrid

func NewVerificationConfigFromSendGrid(value *SendGrid) *VerificationConfig

func NewVerificationConfigFromShopify

func NewVerificationConfigFromShopify(value *Shopify) *VerificationConfig

func NewVerificationConfigFromStripe

func NewVerificationConfigFromStripe(value *Stripe) *VerificationConfig

func NewVerificationConfigFromSvix

func NewVerificationConfigFromSvix(value *Svix) *VerificationConfig

func NewVerificationConfigFromSynctera

func NewVerificationConfigFromSynctera(value *Synctera) *VerificationConfig

func NewVerificationConfigFromThreeDEye

func NewVerificationConfigFromThreeDEye(value *ThreeDEye) *VerificationConfig

func NewVerificationConfigFromTwitter

func NewVerificationConfigFromTwitter(value *Twitter) *VerificationConfig

func NewVerificationConfigFromTypeform

func NewVerificationConfigFromTypeform(value *Typeform) *VerificationConfig

func NewVerificationConfigFromWooCommerce

func NewVerificationConfigFromWooCommerce(value *WooCommerce) *VerificationConfig

func NewVerificationConfigFromWorkOs

func NewVerificationConfigFromWorkOs(value *WorkOs) *VerificationConfig

func NewVerificationConfigFromXero

func NewVerificationConfigFromXero(value *Xero) *VerificationConfig

func NewVerificationConfigFromZoom

func NewVerificationConfigFromZoom(value *Zoom) *VerificationConfig

func (*VerificationConfig) Accept

func (VerificationConfig) MarshalJSON

func (v VerificationConfig) MarshalJSON() ([]byte, error)

func (*VerificationConfig) UnmarshalJSON

func (v *VerificationConfig) UnmarshalJSON(data []byte) error

type VerificationConfigVisitor

type VerificationConfigVisitor interface {
	VisitHmac(*Hmac) error
	VisitBasicAuth(*BasicAuth) error
	VisitApiKey(*ApiKey) error
	VisitTwitter(*Twitter) error
	VisitStripe(*Stripe) error
	VisitRecharge(*Recharge) error
	VisitGitHub(*GitHub) error
	VisitShopify(*Shopify) error
	VisitPostmark(*Postmark) error
	VisitTypeform(*Typeform) error
	VisitXero(*Xero) error
	VisitSvix(*Svix) error
	VisitZoom(*Zoom) error
	VisitAkeneo(*Akeneo) error
	VisitAdyen(*Adyen) error
	VisitGitLab(*GitLab) error
	VisitPropertyFinder(*PropertyFinder) error
	VisitWooCommerce(*WooCommerce) error
	VisitOura(*Oura) error
	VisitCommercelayer(*Commercelayer) error
	VisitMailgun(*Mailgun) error
	VisitPipedrive(*Pipedrive) error
	VisitSendGrid(*SendGrid) error
	VisitWorkOs(*WorkOs) error
	VisitSynctera(*Synctera) error
	VisitAwsSns(*AwsSns) error
	VisitThreeDEye(*ThreeDEye) error
}

type WooCommerce

type WooCommerce struct {
	Configs *WooCommerceConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*WooCommerce) MarshalJSON

func (w *WooCommerce) MarshalJSON() ([]byte, error)

func (*WooCommerce) Type

func (w *WooCommerce) Type() string

func (*WooCommerce) UnmarshalJSON

func (w *WooCommerce) UnmarshalJSON(data []byte) error

type WooCommerceConfigs

type WooCommerceConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for WooCommerce. Only included if the ?include=verification.configs query param is present

type WorkOs

type WorkOs struct {
	Configs *WorkOsConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*WorkOs) MarshalJSON

func (w *WorkOs) MarshalJSON() ([]byte, error)

func (*WorkOs) Type

func (w *WorkOs) Type() string

func (*WorkOs) UnmarshalJSON

func (w *WorkOs) UnmarshalJSON(data []byte) error

type WorkOsConfigs

type WorkOsConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for WorkOS. Only included if the ?include=verification.configs query param is present

type Xero

type Xero struct {
	Configs *XeroConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Xero) MarshalJSON

func (x *Xero) MarshalJSON() ([]byte, error)

func (*Xero) Type

func (x *Xero) Type() string

func (*Xero) UnmarshalJSON

func (x *Xero) UnmarshalJSON(data []byte) error

type XeroConfigs

type XeroConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Xero. Only included if the ?include=verification.configs query param is present

type Zoom

type Zoom struct {
	Configs *ZoomConfigs `json:"configs,omitempty"`
	// contains filtered or unexported fields
}

func (*Zoom) MarshalJSON

func (z *Zoom) MarshalJSON() ([]byte, error)

func (*Zoom) Type

func (z *Zoom) Type() string

func (*Zoom) UnmarshalJSON

func (z *Zoom) UnmarshalJSON(data []byte) error

type ZoomConfigs

type ZoomConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
}

The verification configs for Zoom. Only included if the ?include=verification.configs query param is present

Jump to

Keyboard shortcuts

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