api

package module
v0.0.26 Latest Latest
Warning

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

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

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

A transformation represents JavaScript code that will be executed on a connection's requests. Transformations are applied to connections using Rules.

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 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 uint

Error code of the delivery attempt

const (
	AttemptErrorCodesCancelled AttemptErrorCodes = iota + 1
	AttemptErrorCodesTimeout
	AttemptErrorCodesNotFound
	AttemptErrorCodesConnectionRefused
	AttemptErrorCodesConnectionReset
	AttemptErrorCodesMissingUrl
	AttemptErrorCodesCli
	AttemptErrorCodesCliUnavailable
	AttemptErrorCodesSelfSignedCert
	AttemptErrorCodesErrTlsCertAltnameInvalid
	AttemptErrorCodesSslErrorCaUnknown
	AttemptErrorCodesTtlExpired
	AttemptErrorCodesDataArchived
	AttemptErrorCodesSslCertExpired
	AttemptErrorCodesBulkRetryCancelled
	AttemptErrorCodesDnsLookupFailed
	AttemptErrorCodesHostUnreachable
	AttemptErrorCodesProtocolError
	AttemptErrorCodesSocketClosed
	AttemptErrorCodesUnknown
)

func (AttemptErrorCodes) MarshalJSON

func (a AttemptErrorCodes) MarshalJSON() ([]byte, error)

func (AttemptErrorCodes) String

func (a AttemptErrorCodes) String() string

func (*AttemptErrorCodes) UnmarshalJSON

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

type AttemptState

type AttemptState uint
const (
	AttemptStateDelivering AttemptState = iota + 1
	AttemptStateQueued
	AttemptStatePending
	AttemptStateCompleted
	AttemptStateHold
)

func (AttemptState) MarshalJSON

func (a AttemptState) MarshalJSON() ([]byte, error)

func (AttemptState) String

func (a AttemptState) String() string

func (*AttemptState) UnmarshalJSON

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

type AttemptStatus

type AttemptStatus uint

Attempt status

const (
	AttemptStatusQueued AttemptStatus = iota + 1
	AttemptStatusFailed
	AttemptStatusSuccessful
	AttemptStatusHold
)

func (AttemptStatus) MarshalJSON

func (a AttemptStatus) MarshalJSON() ([]byte, error)

func (AttemptStatus) String

func (a AttemptStatus) String() string

func (*AttemptStatus) UnmarshalJSON

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

type AttemptTrigger

type AttemptTrigger uint

How the attempt was triggered

const (
	AttemptTriggerInitial AttemptTrigger = iota + 1
	AttemptTriggerManual
	AttemptTriggerBulkRetry
	AttemptTriggerUnpause
	AttemptTriggerAutomatic
)

func (AttemptTrigger) MarshalJSON

func (a AttemptTrigger) MarshalJSON() ([]byte, error)

func (AttemptTrigger) String

func (a AttemptTrigger) String() string

func (*AttemptTrigger) UnmarshalJSON

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

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

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 uint
const (
	ConsoleLineTypeError ConsoleLineType = iota + 1
	ConsoleLineTypeLog
	ConsoleLineTypeWarn
	ConsoleLineTypeInfo
	ConsoleLineTypeDebug
)

func (ConsoleLineType) MarshalJSON

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

func (ConsoleLineType) String

func (c ConsoleLineType) String() string

func (*ConsoleLineType) UnmarshalJSON

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

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 *string `json:"name,omitempty"`
}

type CreateConnectionRequest

type CreateConnectionRequest struct {
	// A unique name of the connection for the source
	Name *string `json:"name,omitempty"`
	// Description for the connection
	Description *string `json:"description,omitempty"`
	// ID of a destination to bind to the connection
	DestinationId *string `json:"destination_id,omitempty"`
	// ID of a source to bind to the connection
	SourceId *string `json:"source_id,omitempty"`
	// Destination input object
	Destination *CreateConnectionRequestDestination `json:"destination,omitempty"`
	// Source input object
	Source *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 uint

Period to rate limit attempts

const (
	CreateConnectionRequestDestinationRateLimitPeriodSecond CreateConnectionRequestDestinationRateLimitPeriod = iota + 1
	CreateConnectionRequestDestinationRateLimitPeriodMinute
	CreateConnectionRequestDestinationRateLimitPeriodHour
)

func (CreateConnectionRequestDestinationRateLimitPeriod) MarshalJSON

func (CreateConnectionRequestDestinationRateLimitPeriod) String

func (*CreateConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON

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 *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 *CreateDestinationRequestRateLimitPeriod `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"`
}

type CreateDestinationRequestRateLimitPeriod

type CreateDestinationRequestRateLimitPeriod uint

Period to rate limit attempts

const (
	CreateDestinationRequestRateLimitPeriodSecond CreateDestinationRequestRateLimitPeriod = iota + 1
	CreateDestinationRequestRateLimitPeriodMinute
	CreateDestinationRequestRateLimitPeriodHour
)

func (CreateDestinationRequestRateLimitPeriod) MarshalJSON

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

func (CreateDestinationRequestRateLimitPeriod) String

func (*CreateDestinationRequestRateLimitPeriod) UnmarshalJSON

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

type CreateEventBulkRetryRequest

type CreateEventBulkRetryRequest struct {
	// Filter properties for the events to be included in the bulk retry
	Query *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 *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 *string `json:"label,omitempty"`
	// Decrypted Key/Value object of the associated configuration for that provider
	Configs  *CreateIntegrationRequestConfigs `json:"configs,omitempty"`
	Provider *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  *CreateIssueTriggerRequestConfigs `json:"configs,omitempty"`
	Channels *IssueTriggerChannels             `json:"channels,omitempty"`
	// Optional unique name to use as reference when using the API
	Name *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 *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 uint

Filter by status

const (
	CreateRequestBulkRetryRequestQueryStatusAccepted CreateRequestBulkRetryRequestQueryStatus = iota + 1
	CreateRequestBulkRetryRequestQueryStatusRejected
)

func (CreateRequestBulkRetryRequestQueryStatus) MarshalJSON

func (CreateRequestBulkRetryRequestQueryStatus) String

func (*CreateRequestBulkRetryRequestQueryStatus) UnmarshalJSON

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

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        *string                  `json:"description,omitempty"`
	AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
	CustomResponse     *SourceCustomResponse    `json:"custom_response,omitempty"`
	Verification       *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 uint

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

const (
	DestinationAuthMethodApiKeyConfigToHeader DestinationAuthMethodApiKeyConfigTo = iota + 1
	DestinationAuthMethodApiKeyConfigToQuery
)

func (DestinationAuthMethodApiKeyConfigTo) MarshalJSON

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

func (DestinationAuthMethodApiKeyConfigTo) String

func (*DestinationAuthMethodApiKeyConfigTo) UnmarshalJSON

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

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 uint

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

const (
	DestinationHttpMethodGet DestinationHttpMethod = iota + 1
	DestinationHttpMethodPost
	DestinationHttpMethodPut
	DestinationHttpMethodPatch
	DestinationHttpMethodDelete
)

func (DestinationHttpMethod) MarshalJSON

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

func (DestinationHttpMethod) String

func (d DestinationHttpMethod) String() string

func (*DestinationHttpMethod) UnmarshalJSON

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

type DestinationPaginatedResult

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

type DestinationRateLimitPeriod

type DestinationRateLimitPeriod uint

Period to rate limit attempts

const (
	DestinationRateLimitPeriodSecond DestinationRateLimitPeriod = iota + 1
	DestinationRateLimitPeriodMinute
	DestinationRateLimitPeriodHour
)

func (DestinationRateLimitPeriod) MarshalJSON

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

func (DestinationRateLimitPeriod) String

func (*DestinationRateLimitPeriod) UnmarshalJSON

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

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 uint

HTTP method used to deliver the attempt

const (
	EventAttemptHttpMethodGet EventAttemptHttpMethod = iota + 1
	EventAttemptHttpMethodPost
	EventAttemptHttpMethodPut
	EventAttemptHttpMethodPatch
	EventAttemptHttpMethodDelete
)

func (EventAttemptHttpMethod) MarshalJSON

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

func (EventAttemptHttpMethod) String

func (e EventAttemptHttpMethod) String() string

func (*EventAttemptHttpMethod) UnmarshalJSON

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

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 uint
const (
	EventStatusScheduled EventStatus = iota + 1
	EventStatusQueued
	EventStatusHold
	EventStatusSuccessful
	EventStatusFailed
)

func (EventStatus) MarshalJSON

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

func (EventStatus) String

func (e EventStatus) String() string

func (*EventStatus) UnmarshalJSON

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

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 uint
const (
	FilteredMetaBody FilteredMeta = iota + 1
	FilteredMetaHeaders
	FilteredMetaPath
	FilteredMetaQuery
)

func (FilteredMeta) MarshalJSON

func (f FilteredMeta) MarshalJSON() ([]byte, error)

func (FilteredMeta) String

func (f FilteredMeta) String() string

func (*FilteredMeta) UnmarshalJSON

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

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 uint
const (
	GetAttemptsRequestDirAsc GetAttemptsRequestDir = iota + 1
	GetAttemptsRequestDirDesc
)

func (GetAttemptsRequestDir) MarshalJSON

func (g GetAttemptsRequestDir) MarshalJSON() ([]byte, error)

func (GetAttemptsRequestDir) String

func (g GetAttemptsRequestDir) String() string

func (*GetAttemptsRequestDir) UnmarshalJSON

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

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 uint
const (
	GetBookmarksRequestDirAsc GetBookmarksRequestDir = iota + 1
	GetBookmarksRequestDirDesc
)

func (GetBookmarksRequestDir) MarshalJSON

func (g GetBookmarksRequestDir) MarshalJSON() ([]byte, error)

func (GetBookmarksRequestDir) String

func (g GetBookmarksRequestDir) String() string

func (*GetBookmarksRequestDir) UnmarshalJSON

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

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 uint
const (
	GetConnectionsRequestDirAsc GetConnectionsRequestDir = iota + 1
	GetConnectionsRequestDirDesc
)

func (GetConnectionsRequestDir) MarshalJSON

func (g GetConnectionsRequestDir) MarshalJSON() ([]byte, error)

func (GetConnectionsRequestDir) String

func (g GetConnectionsRequestDir) String() string

func (*GetConnectionsRequestDir) UnmarshalJSON

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

type GetConnectionsRequestOrderBy

type GetConnectionsRequestOrderBy uint
const (
	GetConnectionsRequestOrderByCreatedAt GetConnectionsRequestOrderBy = iota + 1
	GetConnectionsRequestOrderByUpdatedAt
	GetConnectionsRequestOrderBySourcesUpdatedAt
	GetConnectionsRequestOrderBySourcesCreatedAt
	GetConnectionsRequestOrderByDestinationsUpdatedAt
	GetConnectionsRequestOrderByDestinationsCreatedAt
)

func (GetConnectionsRequestOrderBy) MarshalJSON

func (g GetConnectionsRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetConnectionsRequestOrderBy) String

func (*GetConnectionsRequestOrderBy) UnmarshalJSON

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

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 uint
const (
	GetDestinationsRequestDirAsc GetDestinationsRequestDir = iota + 1
	GetDestinationsRequestDirDesc
)

func (GetDestinationsRequestDir) MarshalJSON

func (g GetDestinationsRequestDir) MarshalJSON() ([]byte, error)

func (GetDestinationsRequestDir) String

func (g GetDestinationsRequestDir) String() string

func (*GetDestinationsRequestDir) UnmarshalJSON

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

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 uint
const (
	GetEventBulkRetriesRequestDirAsc GetEventBulkRetriesRequestDir = iota + 1
	GetEventBulkRetriesRequestDirDesc
)

func (GetEventBulkRetriesRequestDir) MarshalJSON

func (g GetEventBulkRetriesRequestDir) MarshalJSON() ([]byte, error)

func (GetEventBulkRetriesRequestDir) String

func (*GetEventBulkRetriesRequestDir) UnmarshalJSON

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

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 uint

Sort direction

const (
	GetEventsRequestDirAsc GetEventsRequestDir = iota + 1
	GetEventsRequestDirDesc
)

func (GetEventsRequestDir) MarshalJSON

func (g GetEventsRequestDir) MarshalJSON() ([]byte, error)

func (GetEventsRequestDir) String

func (g GetEventsRequestDir) String() string

func (*GetEventsRequestDir) UnmarshalJSON

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

type GetEventsRequestOrderBy

type GetEventsRequestOrderBy uint

Sort key

const (
	GetEventsRequestOrderByLastAttemptAt GetEventsRequestOrderBy = iota + 1
	GetEventsRequestOrderByCreatedAt
)

func (GetEventsRequestOrderBy) MarshalJSON

func (g GetEventsRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetEventsRequestOrderBy) String

func (g GetEventsRequestOrderBy) String() string

func (*GetEventsRequestOrderBy) UnmarshalJSON

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

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 uint
const (
	GetIgnoredEventBulkRetriesRequestDirAsc GetIgnoredEventBulkRetriesRequestDir = iota + 1
	GetIgnoredEventBulkRetriesRequestDirDesc
)

func (GetIgnoredEventBulkRetriesRequestDir) MarshalJSON

func (g GetIgnoredEventBulkRetriesRequestDir) MarshalJSON() ([]byte, error)

func (GetIgnoredEventBulkRetriesRequestDir) String

func (*GetIgnoredEventBulkRetriesRequestDir) UnmarshalJSON

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

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 uint
const (
	GetIssueCountRequestDirAsc GetIssueCountRequestDir = iota + 1
	GetIssueCountRequestDirDesc
)

func (GetIssueCountRequestDir) MarshalJSON

func (g GetIssueCountRequestDir) MarshalJSON() ([]byte, error)

func (GetIssueCountRequestDir) String

func (g GetIssueCountRequestDir) String() string

func (*GetIssueCountRequestDir) UnmarshalJSON

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

type GetIssueCountRequestOrderBy

type GetIssueCountRequestOrderBy uint
const (
	GetIssueCountRequestOrderByCreatedAt GetIssueCountRequestOrderBy = iota + 1
	GetIssueCountRequestOrderByFirstSeenAt
	GetIssueCountRequestOrderByLastSeenAt
	GetIssueCountRequestOrderByOpenedAt
	GetIssueCountRequestOrderByStatus
)

func (GetIssueCountRequestOrderBy) MarshalJSON

func (g GetIssueCountRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetIssueCountRequestOrderBy) String

func (*GetIssueCountRequestOrderBy) UnmarshalJSON

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

type GetIssueCountRequestStatus

type GetIssueCountRequestStatus uint

Issue status

const (
	GetIssueCountRequestStatusOpened GetIssueCountRequestStatus = iota + 1
	GetIssueCountRequestStatusIgnored
	GetIssueCountRequestStatusAcknowledged
	GetIssueCountRequestStatusResolved
)

func (GetIssueCountRequestStatus) MarshalJSON

func (g GetIssueCountRequestStatus) MarshalJSON() ([]byte, error)

func (GetIssueCountRequestStatus) String

func (*GetIssueCountRequestStatus) UnmarshalJSON

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

type GetIssueCountRequestType

type GetIssueCountRequestType uint

Issue type

const (
	GetIssueCountRequestTypeDelivery GetIssueCountRequestType = iota + 1
	GetIssueCountRequestTypeTransformation
	GetIssueCountRequestTypeBackpressure
)

func (GetIssueCountRequestType) MarshalJSON

func (g GetIssueCountRequestType) MarshalJSON() ([]byte, error)

func (GetIssueCountRequestType) String

func (g GetIssueCountRequestType) String() string

func (*GetIssueCountRequestType) UnmarshalJSON

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

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 uint
const (
	GetIssueTriggersRequestDirAsc GetIssueTriggersRequestDir = iota + 1
	GetIssueTriggersRequestDirDesc
)

func (GetIssueTriggersRequestDir) MarshalJSON

func (g GetIssueTriggersRequestDir) MarshalJSON() ([]byte, error)

func (GetIssueTriggersRequestDir) String

func (*GetIssueTriggersRequestDir) UnmarshalJSON

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

type GetIssueTriggersRequestOrderBy

type GetIssueTriggersRequestOrderBy uint
const (
	GetIssueTriggersRequestOrderByCreatedAt GetIssueTriggersRequestOrderBy = iota + 1
	GetIssueTriggersRequestOrderByType
)

func (GetIssueTriggersRequestOrderBy) MarshalJSON

func (g GetIssueTriggersRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetIssueTriggersRequestOrderBy) String

func (*GetIssueTriggersRequestOrderBy) UnmarshalJSON

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

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 uint
const (
	GetIssuesRequestDirAsc GetIssuesRequestDir = iota + 1
	GetIssuesRequestDirDesc
)

func (GetIssuesRequestDir) MarshalJSON

func (g GetIssuesRequestDir) MarshalJSON() ([]byte, error)

func (GetIssuesRequestDir) String

func (g GetIssuesRequestDir) String() string

func (*GetIssuesRequestDir) UnmarshalJSON

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

type GetIssuesRequestOrderBy

type GetIssuesRequestOrderBy uint
const (
	GetIssuesRequestOrderByCreatedAt GetIssuesRequestOrderBy = iota + 1
	GetIssuesRequestOrderByFirstSeenAt
	GetIssuesRequestOrderByLastSeenAt
	GetIssuesRequestOrderByOpenedAt
	GetIssuesRequestOrderByStatus
)

func (GetIssuesRequestOrderBy) MarshalJSON

func (g GetIssuesRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetIssuesRequestOrderBy) String

func (g GetIssuesRequestOrderBy) String() string

func (*GetIssuesRequestOrderBy) UnmarshalJSON

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

type GetIssuesRequestStatus

type GetIssuesRequestStatus uint

Issue status

const (
	GetIssuesRequestStatusOpened GetIssuesRequestStatus = iota + 1
	GetIssuesRequestStatusIgnored
	GetIssuesRequestStatusAcknowledged
	GetIssuesRequestStatusResolved
)

func (GetIssuesRequestStatus) MarshalJSON

func (g GetIssuesRequestStatus) MarshalJSON() ([]byte, error)

func (GetIssuesRequestStatus) String

func (g GetIssuesRequestStatus) String() string

func (*GetIssuesRequestStatus) UnmarshalJSON

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

type GetIssuesRequestType

type GetIssuesRequestType uint

Issue type

const (
	GetIssuesRequestTypeDelivery GetIssuesRequestType = iota + 1
	GetIssuesRequestTypeTransformation
	GetIssuesRequestTypeBackpressure
)

func (GetIssuesRequestType) MarshalJSON

func (g GetIssuesRequestType) MarshalJSON() ([]byte, error)

func (GetIssuesRequestType) String

func (g GetIssuesRequestType) String() string

func (*GetIssuesRequestType) UnmarshalJSON

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

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 uint
const (
	GetRequestBulkRetriesRequestDirAsc GetRequestBulkRetriesRequestDir = iota + 1
	GetRequestBulkRetriesRequestDirDesc
)

func (GetRequestBulkRetriesRequestDir) MarshalJSON

func (g GetRequestBulkRetriesRequestDir) MarshalJSON() ([]byte, error)

func (GetRequestBulkRetriesRequestDir) String

func (*GetRequestBulkRetriesRequestDir) UnmarshalJSON

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

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 uint

Sort direction

const (
	GetRequestEventsRequestDirAsc GetRequestEventsRequestDir = iota + 1
	GetRequestEventsRequestDirDesc
)

func (GetRequestEventsRequestDir) MarshalJSON

func (g GetRequestEventsRequestDir) MarshalJSON() ([]byte, error)

func (GetRequestEventsRequestDir) String

func (*GetRequestEventsRequestDir) UnmarshalJSON

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

type GetRequestEventsRequestOrderBy

type GetRequestEventsRequestOrderBy uint

Sort key

const (
	GetRequestEventsRequestOrderByLastAttemptAt GetRequestEventsRequestOrderBy = iota + 1
	GetRequestEventsRequestOrderByCreatedAt
)

func (GetRequestEventsRequestOrderBy) MarshalJSON

func (g GetRequestEventsRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetRequestEventsRequestOrderBy) String

func (*GetRequestEventsRequestOrderBy) UnmarshalJSON

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

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 uint
const (
	GetRequestIgnoredEventsRequestDirAsc GetRequestIgnoredEventsRequestDir = iota + 1
	GetRequestIgnoredEventsRequestDirDesc
)

func (GetRequestIgnoredEventsRequestDir) MarshalJSON

func (g GetRequestIgnoredEventsRequestDir) MarshalJSON() ([]byte, error)

func (GetRequestIgnoredEventsRequestDir) String

func (*GetRequestIgnoredEventsRequestDir) UnmarshalJSON

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

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 uint

Sort direction

const (
	GetRequestsRequestDirAsc GetRequestsRequestDir = iota + 1
	GetRequestsRequestDirDesc
)

func (GetRequestsRequestDir) MarshalJSON

func (g GetRequestsRequestDir) MarshalJSON() ([]byte, error)

func (GetRequestsRequestDir) String

func (g GetRequestsRequestDir) String() string

func (*GetRequestsRequestDir) UnmarshalJSON

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

type GetRequestsRequestOrderBy

type GetRequestsRequestOrderBy uint

Sort key

const (
	GetRequestsRequestOrderByIngestedAt GetRequestsRequestOrderBy = iota + 1
	GetRequestsRequestOrderByCreatedAt
)

func (GetRequestsRequestOrderBy) MarshalJSON

func (g GetRequestsRequestOrderBy) MarshalJSON() ([]byte, error)

func (GetRequestsRequestOrderBy) String

func (g GetRequestsRequestOrderBy) String() string

func (*GetRequestsRequestOrderBy) UnmarshalJSON

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

type GetRequestsRequestStatus

type GetRequestsRequestStatus uint

Filter by status

const (
	GetRequestsRequestStatusAccepted GetRequestsRequestStatus = iota + 1
	GetRequestsRequestStatusRejected
)

func (GetRequestsRequestStatus) MarshalJSON

func (g GetRequestsRequestStatus) MarshalJSON() ([]byte, error)

func (GetRequestsRequestStatus) String

func (g GetRequestsRequestStatus) String() string

func (*GetRequestsRequestStatus) UnmarshalJSON

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

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 uint
const (
	GetSourcesRequestDirAsc GetSourcesRequestDir = iota + 1
	GetSourcesRequestDirDesc
)

func (GetSourcesRequestDir) MarshalJSON

func (g GetSourcesRequestDir) MarshalJSON() ([]byte, error)

func (GetSourcesRequestDir) String

func (g GetSourcesRequestDir) String() string

func (*GetSourcesRequestDir) UnmarshalJSON

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

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 uint
const (
	GetTransformationExecutionsRequestDirAsc GetTransformationExecutionsRequestDir = iota + 1
	GetTransformationExecutionsRequestDirDesc
)

func (GetTransformationExecutionsRequestDir) MarshalJSON

func (g GetTransformationExecutionsRequestDir) MarshalJSON() ([]byte, error)

func (GetTransformationExecutionsRequestDir) String

func (*GetTransformationExecutionsRequestDir) UnmarshalJSON

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

type GetTransformationExecutionsRequestLogLevel

type GetTransformationExecutionsRequestLogLevel uint
const (
	GetTransformationExecutionsRequestLogLevelDebug GetTransformationExecutionsRequestLogLevel = iota + 1
	GetTransformationExecutionsRequestLogLevelInfo
	GetTransformationExecutionsRequestLogLevelWarn
	GetTransformationExecutionsRequestLogLevelError
	GetTransformationExecutionsRequestLogLevelFatal
)

func (GetTransformationExecutionsRequestLogLevel) MarshalJSON

func (GetTransformationExecutionsRequestLogLevel) String

func (*GetTransformationExecutionsRequestLogLevel) UnmarshalJSON

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

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 uint
const (
	GetTransformationsRequestDirAsc GetTransformationsRequestDir = iota + 1
	GetTransformationsRequestDirDesc
)

func (GetTransformationsRequestDir) MarshalJSON

func (g GetTransformationsRequestDir) MarshalJSON() ([]byte, error)

func (GetTransformationsRequestDir) String

func (*GetTransformationsRequestDir) UnmarshalJSON

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

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 uint
const (
	HmacAlgorithmsMd5 HmacAlgorithms = iota + 1
	HmacAlgorithmsSha1
	HmacAlgorithmsSha256
	HmacAlgorithmsSha512
)

func (HmacAlgorithms) MarshalJSON

func (h HmacAlgorithms) MarshalJSON() ([]byte, error)

func (HmacAlgorithms) String

func (h HmacAlgorithms) String() string

func (*HmacAlgorithms) UnmarshalJSON

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

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 uint
const (
	HmacConfigsEncodingBase64 HmacConfigsEncoding = iota + 1
	HmacConfigsEncodingHex
)

func (HmacConfigsEncoding) MarshalJSON

func (h HmacConfigsEncoding) MarshalJSON() ([]byte, error)

func (HmacConfigsEncoding) String

func (h HmacConfigsEncoding) String() string

func (*HmacConfigsEncoding) UnmarshalJSON

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

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 uint
const (
	HmacIntegrationConfigsEncodingBase64 HmacIntegrationConfigsEncoding = iota + 1
	HmacIntegrationConfigsEncodingHex
)

func (HmacIntegrationConfigsEncoding) MarshalJSON

func (h HmacIntegrationConfigsEncoding) MarshalJSON() ([]byte, error)

func (HmacIntegrationConfigsEncoding) String

func (*HmacIntegrationConfigsEncoding) UnmarshalJSON

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

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 uint
const (
	IgnoredEventCauseArchived IgnoredEventCause = iota + 1
	IgnoredEventCauseFiltered
	IgnoredEventCauseTransformationFailed
	IgnoredEventCauseCliDisconnected
)

func (IgnoredEventCause) MarshalJSON

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

func (IgnoredEventCause) String

func (i IgnoredEventCause) String() string

func (*IgnoredEventCause) UnmarshalJSON

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

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 uint
const (
	IntegrationFeatureVerification IntegrationFeature = iota + 1
	IntegrationFeatureHandshake
	IntegrationFeaturePolling
)

func (IntegrationFeature) MarshalJSON

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

func (IntegrationFeature) String

func (i IntegrationFeature) String() string

func (*IntegrationFeature) UnmarshalJSON

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

type IntegrationPaginatedResult

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

type IntegrationProvider

type IntegrationProvider uint
const (
	IntegrationProviderHmac IntegrationProvider = iota + 1
	IntegrationProviderBasicAuth
	IntegrationProviderApiKey
	IntegrationProviderTwitter
	IntegrationProviderStripe
	IntegrationProviderRecharge
	IntegrationProviderGithub
	IntegrationProviderShopify
	IntegrationProviderPostmark
	IntegrationProviderTypeform
	IntegrationProviderXero
	IntegrationProviderSvix
	IntegrationProviderZoom
	IntegrationProviderAkeneo
	IntegrationProviderAdyen
	IntegrationProviderGitlab
	IntegrationProviderPropertyFinder
	IntegrationProviderWoocommerce
	IntegrationProviderOura
	IntegrationProviderCommercelayer
	IntegrationProviderMailgun
	IntegrationProviderPipedrive
	IntegrationProviderSendgrid
	IntegrationProviderWorkos
	IntegrationProviderSynctera
	IntegrationProviderAwsSns
	IntegrationProviderThreeDEye
)

func (IntegrationProvider) MarshalJSON

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

func (IntegrationProvider) String

func (i IntegrationProvider) String() string

func (*IntegrationProvider) UnmarshalJSON

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

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 uint

Issue status

const (
	IssueStatusOpened IssueStatus = iota + 1
	IssueStatusIgnored
	IssueStatusAcknowledged
	IssueStatusResolved
)

func (IssueStatus) MarshalJSON

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

func (IssueStatus) String

func (i IssueStatus) String() string

func (*IssueStatus) UnmarshalJSON

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

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 uint

The strategy uses to open the issue

const (
	IssueTriggerStrategyFirstAttempt IssueTriggerStrategy = iota + 1
	IssueTriggerStrategyFinalAttempt
)

func (IssueTriggerStrategy) MarshalJSON

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

func (IssueTriggerStrategy) String

func (i IssueTriggerStrategy) String() string

func (*IssueTriggerStrategy) UnmarshalJSON

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

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 uint

Issue type

const (
	IssueTypeDelivery IssueType = iota + 1
	IssueTypeTransformation
	IssueTypeBackpressure
)

func (IssueType) MarshalJSON

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

func (IssueType) String

func (i IssueType) String() string

func (*IssueType) UnmarshalJSON

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

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

type OrderByDirection

type OrderByDirection uint
const (
	OrderByDirectionasc OrderByDirection = iota + 1
	OrderByDirectiondesc
	OrderByDirectionASC
	OrderByDirectionDESC
)

func (OrderByDirection) MarshalJSON

func (o OrderByDirection) MarshalJSON() ([]byte, error)

func (OrderByDirection) String

func (o OrderByDirection) String() string

func (*OrderByDirection) UnmarshalJSON

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

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 uint
const (
	RechargeConfigsEncodingBase64 RechargeConfigsEncoding = iota + 1
	RechargeConfigsEncodingHex
)

func (RechargeConfigsEncoding) MarshalJSON

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

func (RechargeConfigsEncoding) String

func (r RechargeConfigsEncoding) String() string

func (*RechargeConfigsEncoding) UnmarshalJSON

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

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 uint

The priority attributed to the request when received

const (
	RequestIngestPriorityNormal RequestIngestPriority = iota + 1
	RequestIngestPriorityLow
)

func (RequestIngestPriority) MarshalJSON

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

func (RequestIngestPriority) String

func (r RequestIngestPriority) String() string

func (*RequestIngestPriority) UnmarshalJSON

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

type RequestPaginatedResult

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

type RequestRejectionCause

type RequestRejectionCause uint
const (
	RequestRejectionCauseSourceArchived RequestRejectionCause = iota + 1
	RequestRejectionCauseNoWebhook
	RequestRejectionCauseVerificationFailed
	RequestRejectionCauseUnsupportedHttpMethod
	RequestRejectionCauseUnsupportedContentType
	RequestRejectionCauseUnparsableJson
	RequestRejectionCausePayloadTooLarge
	RequestRejectionCauseIngestionFatal
	RequestRejectionCauseUnknown
)

func (RequestRejectionCause) MarshalJSON

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

func (RequestRejectionCause) String

func (r RequestRejectionCause) String() string

func (*RequestRejectionCause) UnmarshalJSON

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

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 uint

Algorithm to use when calculating delay between retries

const (
	RetryStrategyLinear RetryStrategy = iota + 1
	RetryStrategyExponential
)

func (RetryStrategy) MarshalJSON

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

func (RetryStrategy) String

func (r RetryStrategy) String() string

func (*RetryStrategy) UnmarshalJSON

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

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 uint
const (
	ShopifyConfigsRateLimitPeriodMinute ShopifyConfigsRateLimitPeriod = iota + 1
	ShopifyConfigsRateLimitPeriodSecond
)

func (ShopifyConfigsRateLimitPeriod) MarshalJSON

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

func (ShopifyConfigsRateLimitPeriod) String

func (*ShopifyConfigsRateLimitPeriod) UnmarshalJSON

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

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 uint
const (
	ShopifyIntegrationConfigsRateLimitPeriodMinute ShopifyIntegrationConfigsRateLimitPeriod = iota + 1
	ShopifyIntegrationConfigsRateLimitPeriodSecond
)

func (ShopifyIntegrationConfigsRateLimitPeriod) MarshalJSON

func (ShopifyIntegrationConfigsRateLimitPeriod) String

func (*ShopifyIntegrationConfigsRateLimitPeriod) UnmarshalJSON

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

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 uint
const (
	SourceAllowedHttpMethodItemGet SourceAllowedHttpMethodItem = iota + 1
	SourceAllowedHttpMethodItemPost
	SourceAllowedHttpMethodItemPut
	SourceAllowedHttpMethodItemPatch
	SourceAllowedHttpMethodItemDelete
)

func (SourceAllowedHttpMethodItem) MarshalJSON

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

func (SourceAllowedHttpMethodItem) String

func (*SourceAllowedHttpMethodItem) UnmarshalJSON

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

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 uint

Content type of the custom response

const (
	SourceCustomResponseContentTypeJson SourceCustomResponseContentType = iota + 1
	SourceCustomResponseContentTypeText
	SourceCustomResponseContentTypeXml
)

func (SourceCustomResponseContentType) MarshalJSON

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

func (SourceCustomResponseContentType) String

func (*SourceCustomResponseContentType) UnmarshalJSON

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

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 *TestTransformationRequestEnv `json:"env,omitempty"`
	// ID of the connection to use for the execution `context`
	WebhookId *string `json:"webhook_id,omitempty"`
	// JavaScript code to be executed
	Code *string `json:"code,omitempty"`
	// Transformation ID
	TransformationId *string `json:"transformation_id,omitempty"`
	// Request input to use for the transformation execution
	Request *TestTransformationRequestRequest `json:"request,omitempty"`
	EventId *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 uint

Supported topics

const (
	TopicsValueIssueOpened TopicsValue = iota + 1
	TopicsValueIssueUpdated
	TopicsValueDeprecatedAttemptFailed
	TopicsValueEventSuccessful
)

func (TopicsValue) MarshalJSON

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

func (TopicsValue) String

func (t TopicsValue) String() string

func (*TopicsValue) UnmarshalJSON

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

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 uint

The minimum log level to open the issue on

const (
	TransformationExecutionLogLevelDebug TransformationExecutionLogLevel = iota + 1
	TransformationExecutionLogLevelInfo
	TransformationExecutionLogLevelWarn
	TransformationExecutionLogLevelError
	TransformationExecutionLogLevelFatal
)

func (TransformationExecutionLogLevel) MarshalJSON

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

func (TransformationExecutionLogLevel) String

func (*TransformationExecutionLogLevel) UnmarshalJSON

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

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 *TriggerBookmarkRequestTarget `json:"target,omitempty"`
}

type TriggerBookmarkRequestTarget

type TriggerBookmarkRequestTarget uint

Bookmark target

const (
	TriggerBookmarkRequestTargetHttp TriggerBookmarkRequestTarget = iota + 1
	TriggerBookmarkRequestTargetCli
)

func (TriggerBookmarkRequestTarget) MarshalJSON

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

func (TriggerBookmarkRequestTarget) String

func (*TriggerBookmarkRequestTarget) UnmarshalJSON

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

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

type UpdateBookmarkRequest

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

type UpdateConnectionRequest

type UpdateConnectionRequest struct {
	// <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *string `json:"name,omitempty"`
	// Description for the connection
	Description *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 *string `json:"name,omitempty"`
	// 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 *UpdateDestinationRequestRateLimitPeriod `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"`
}

type UpdateDestinationRequestRateLimitPeriod

type UpdateDestinationRequestRateLimitPeriod uint

Period to rate limit attempts

const (
	UpdateDestinationRequestRateLimitPeriodSecond UpdateDestinationRequestRateLimitPeriod = iota + 1
	UpdateDestinationRequestRateLimitPeriodMinute
	UpdateDestinationRequestRateLimitPeriodHour
)

func (UpdateDestinationRequestRateLimitPeriod) MarshalJSON

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

func (UpdateDestinationRequestRateLimitPeriod) String

func (*UpdateDestinationRequestRateLimitPeriod) UnmarshalJSON

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

type UpdateIntegrationRequest

type UpdateIntegrationRequest struct {
	// Label of the integration
	Label *string `json:"label,omitempty"`
	// Decrypted Key/Value object of the associated configuration for that provider
	Configs  *UpdateIntegrationRequestConfigs `json:"configs,omitempty"`
	Provider *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 uint

New status

const (
	UpdateIssueRequestStatusOpened UpdateIssueRequestStatus = iota + 1
	UpdateIssueRequestStatusIgnored
	UpdateIssueRequestStatusAcknowledged
	UpdateIssueRequestStatusResolved
)

func (UpdateIssueRequestStatus) MarshalJSON

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

func (UpdateIssueRequestStatus) String

func (u UpdateIssueRequestStatus) String() string

func (*UpdateIssueRequestStatus) UnmarshalJSON

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

type UpdateIssueTriggerRequest

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

type UpdateTransformationRequest

type UpdateTransformationRequest struct {
	// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
	Name *string `json:"name,omitempty"`
	// JavaScript code to be executed
	Code *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 *string `json:"name,omitempty"`
	// Description for the connection
	Description *string `json:"description,omitempty"`
	// ID of a destination to bind to the connection
	DestinationId *string `json:"destination_id,omitempty"`
	// ID of a source to bind to the connection
	SourceId *string `json:"source_id,omitempty"`
	// Destination input object
	Destination *UpsertConnectionRequestDestination `json:"destination,omitempty"`
	// Source input object
	Source *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 uint

Period to rate limit attempts

const (
	UpsertConnectionRequestDestinationRateLimitPeriodSecond UpsertConnectionRequestDestinationRateLimitPeriod = iota + 1
	UpsertConnectionRequestDestinationRateLimitPeriodMinute
	UpsertConnectionRequestDestinationRateLimitPeriodHour
)

func (UpsertConnectionRequestDestinationRateLimitPeriod) MarshalJSON

func (UpsertConnectionRequestDestinationRateLimitPeriod) String

func (*UpsertConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON

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 *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 *UpsertDestinationRequestRateLimitPeriod `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"`
}

type UpsertDestinationRequestRateLimitPeriod

type UpsertDestinationRequestRateLimitPeriod uint

Period to rate limit attempts

const (
	UpsertDestinationRequestRateLimitPeriodSecond UpsertDestinationRequestRateLimitPeriod = iota + 1
	UpsertDestinationRequestRateLimitPeriodMinute
	UpsertDestinationRequestRateLimitPeriodHour
)

func (UpsertDestinationRequestRateLimitPeriod) MarshalJSON

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

func (UpsertDestinationRequestRateLimitPeriod) String

func (*UpsertDestinationRequestRateLimitPeriod) UnmarshalJSON

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

type UpsertIssueTriggerRequest

type UpsertIssueTriggerRequest struct {
	Type IssueType `json:"type,omitempty"`
	// Configuration object for the specific issue type selected
	Configs  *UpsertIssueTriggerRequestConfigs `json:"configs,omitempty"`
	Channels *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        *string                  `json:"description,omitempty"`
	AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
	CustomResponse     *SourceCustomResponse    `json:"custom_response,omitempty"`
	Verification       *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