api

package module
v0.0.36 Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 3

README

HookDeck Go Library

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

fern shield go shield

Requirements

This module requires Go version >= 1.19.

Installation

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

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

This module requires Go version >= 1.19.

Instantiation

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

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

Usage

package main

import (
  "context"
  "fmt"

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

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

Timeouts

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

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

Client Options

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

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

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

Errors

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

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

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

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

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

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

Beta status

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

Contributing

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

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

Documentation

Index

Constants

This section is empty.

Variables

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

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

Functions

func Bool

func Bool(b bool) *bool

Bool returns a pointer to the given bool value.

func Byte

func Byte(b byte) *byte

Byte returns a pointer to the given byte value.

func Complex128

func Complex128(c complex128) *complex128

Complex128 returns a pointer to the given complex128 value.

func Complex64

func Complex64(c complex64) *complex64

Complex64 returns a pointer to the given complex64 value.

func Float32

func Float32(f float32) *float32

Float32 returns a pointer to the given float32 value.

func Float64

func Float64(f float64) *float64

Float64 returns a pointer to the given float64 value.

func Int

func Int(i int) *int

Int returns a pointer to the given int value.

func Int16

func Int16(i int16) *int16

Int16 returns a pointer to the given int16 value.

func Int32

func Int32(i int32) *int32

Int32 returns a pointer to the given int32 value.

func Int64

func Int64(i int64) *int64

Int64 returns a pointer to the given int64 value.

func Int8

func Int8(i int8) *int8

Int8 returns a pointer to the given int8 value.

func Null added in v0.0.28

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

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

func Optional added in v0.0.28

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

Optional initializes an optional field.

func OptionalOrNull added in v0.0.30

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

OptionalOrNull initializes an optional field, setting the value to an explicit null if the value is nil.

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

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

type AttachedIntegrationToSource

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

type AttemptErrorCodes

type AttemptErrorCodes string

Error code of the delivery attempt

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

func NewAttemptErrorCodesFromString added in v0.0.27

func NewAttemptErrorCodesFromString(s string) (AttemptErrorCodes, error)

func (AttemptErrorCodes) Ptr added in v0.0.27

type AttemptListRequest added in v0.0.29

type AttemptListRequest struct {
	EventId *string                    `json:"-"`
	OrderBy *AttemptListRequestOrderBy `json:"-"`
	Dir     *AttemptListRequestDir     `json:"-"`
	Limit   *int                       `json:"-"`
	Next    *string                    `json:"-"`
	Prev    *string                    `json:"-"`
}

type AttemptListRequestDir added in v0.0.29

type AttemptListRequestDir string
const (
	AttemptListRequestDirAsc  AttemptListRequestDir = "asc"
	AttemptListRequestDirDesc AttemptListRequestDir = "desc"
)

func NewAttemptListRequestDirFromString added in v0.0.29

func NewAttemptListRequestDirFromString(s string) (AttemptListRequestDir, error)

func (AttemptListRequestDir) Ptr added in v0.0.29

type AttemptListRequestOrderBy added in v0.0.36

type AttemptListRequestOrderBy string
const (
	AttemptListRequestOrderByCreatedAt AttemptListRequestOrderBy = "created_at"
)

func NewAttemptListRequestOrderByFromString added in v0.0.36

func NewAttemptListRequestOrderByFromString(s string) (AttemptListRequestOrderBy, error)

func (AttemptListRequestOrderBy) Ptr added in v0.0.36

type AttemptState

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

func NewAttemptStateFromString added in v0.0.27

func NewAttemptStateFromString(s string) (AttemptState, error)

func (AttemptState) Ptr added in v0.0.27

func (a AttemptState) Ptr() *AttemptState

type AttemptStatus

type AttemptStatus string

Attempt status

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

func NewAttemptStatusFromString added in v0.0.27

func NewAttemptStatusFromString(s string) (AttemptStatus, error)

func (AttemptStatus) Ptr added in v0.0.27

func (a AttemptStatus) Ptr() *AttemptStatus

type AttemptTrigger

type AttemptTrigger string

How the attempt was triggered

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

func NewAttemptTriggerFromString added in v0.0.27

func NewAttemptTriggerFromString(s string) (AttemptTrigger, error)

func (AttemptTrigger) Ptr added in v0.0.27

func (a AttemptTrigger) Ptr() *AttemptTrigger

type AuthApiKey added in v0.0.29

type AuthApiKey struct {
	Config *DestinationAuthMethodApiKeyConfig `json:"config,omitempty"`
}

API Key

type AuthBasicAuth added in v0.0.29

type AuthBasicAuth struct {
	Config *DestinationAuthMethodBasicAuthConfig `json:"config,omitempty"`
}

Basic Auth

type AuthBearerToken added in v0.0.29

type AuthBearerToken struct {
	Config *DestinationAuthMethodBearerTokenConfig `json:"config,omitempty"`
}

Bearer Token

type AuthCustomSignature added in v0.0.29

type AuthCustomSignature struct {
	Config *DestinationAuthMethodCustomSignatureConfig `json:"config,omitempty"`
}

Custom Signature

type AuthHookdeckSignature added in v0.0.29

type AuthHookdeckSignature struct {
	Config *DestinationAuthMethodSignatureConfig `json:"config,omitempty"`
}

Hookdeck Signature

type AuthOAuth2AuthorizationCode added in v0.0.36

type AuthOAuth2AuthorizationCode struct {
	Config *DestinationAuthMethodOAuth2AuthorizationCodeConfig `json:"config,omitempty"`
}

OAuth2 Authorization Code

type AuthOAuth2ClientCredentials added in v0.0.36

type AuthOAuth2ClientCredentials struct {
	Config *DestinationAuthMethodOAuth2ClientCredentialsConfig `json:"config,omitempty"`
}

OAuth2 Client Credentials

type BadRequestError

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

func (*BadRequestError) MarshalJSON

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

func (*BadRequestError) UnmarshalJSON

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

func (*BadRequestError) Unwrap added in v0.0.28

func (b *BadRequestError) Unwrap() error

type 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]interface{}
	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]interface{}) *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]interface{}) error
	VisitStringOptional(*string) 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 BookmarkCreateRequest added in v0.0.29

type BookmarkCreateRequest struct {
	// ID of the event data to bookmark
	EventDataId string `json:"event_data_id"`
	// ID of the associated connection
	WebhookId string `json:"webhook_id"`
	// Descriptive name of the bookmark
	Label string `json:"label"`
	// A unique, human-friendly name for the bookmark
	Name *core.Optional[string] `json:"name,omitempty"`
}

type BookmarkListRequest added in v0.0.29

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

type BookmarkListRequestDir added in v0.0.29

type BookmarkListRequestDir string
const (
	BookmarkListRequestDirAsc  BookmarkListRequestDir = "asc"
	BookmarkListRequestDirDesc BookmarkListRequestDir = "desc"
)

func NewBookmarkListRequestDirFromString added in v0.0.29

func NewBookmarkListRequestDirFromString(s string) (BookmarkListRequestDir, error)

func (BookmarkListRequestDir) Ptr added in v0.0.29

type BookmarkListRequestOrderBy added in v0.0.36

type BookmarkListRequestOrderBy string
const (
	BookmarkListRequestOrderByCreatedAt BookmarkListRequestOrderBy = "created_at"
)

func NewBookmarkListRequestOrderByFromString added in v0.0.36

func NewBookmarkListRequestOrderByFromString(s string) (BookmarkListRequestOrderBy, error)

func (BookmarkListRequestOrderBy) Ptr added in v0.0.36

type BookmarkPaginatedResult

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

type BookmarkTriggerRequest added in v0.0.29

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

type BookmarkTriggerRequestTarget added in v0.0.29

type BookmarkTriggerRequestTarget string

Bookmark target

const (
	BookmarkTriggerRequestTargetHttp BookmarkTriggerRequestTarget = "http"
	BookmarkTriggerRequestTargetCli  BookmarkTriggerRequestTarget = "cli"
)

func NewBookmarkTriggerRequestTargetFromString added in v0.0.29

func NewBookmarkTriggerRequestTargetFromString(s string) (BookmarkTriggerRequestTarget, error)

func (BookmarkTriggerRequestTarget) Ptr added in v0.0.29

type BookmarkUpdateRequest added in v0.0.29

type BookmarkUpdateRequest struct {
	// ID of the event data to bookmark
	EventDataId *core.Optional[string] `json:"event_data_id,omitempty"`
	// ID of the associated connection
	WebhookId *core.Optional[string] `json:"webhook_id,omitempty"`
	// Descriptive name of the bookmark
	Label *core.Optional[string] `json:"label,omitempty"`
	// A unique, human-friendly name for the bookmark
	Name *core.Optional[string] `json:"name,omitempty"`
}

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 ConnectionCountRequest added in v0.0.36

type ConnectionCountRequest struct {
	DestinationId *string    `json:"-"`
	SourceId      *string    `json:"-"`
	Archived      *bool      `json:"-"`
	ArchivedAt    *time.Time `json:"-"`
	PausedAt      *time.Time `json:"-"`
}

type ConnectionCountResponse added in v0.0.36

type ConnectionCountResponse struct {
	// Count of connections
	Count float64 `json:"count"`
}

type ConnectionCreateRequest added in v0.0.29

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

type ConnectionCreateRequestDestination added in v0.0.29

type ConnectionCreateRequestDestination struct {
	// Name for the destination
	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 *ConnectionCreateRequestDestinationRateLimitPeriod `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 ConnectionCreateRequestDestinationRateLimitPeriod added in v0.0.29

type ConnectionCreateRequestDestinationRateLimitPeriod string

Period to rate limit attempts

const (
	ConnectionCreateRequestDestinationRateLimitPeriodSecond ConnectionCreateRequestDestinationRateLimitPeriod = "second"
	ConnectionCreateRequestDestinationRateLimitPeriodMinute ConnectionCreateRequestDestinationRateLimitPeriod = "minute"
	ConnectionCreateRequestDestinationRateLimitPeriodHour   ConnectionCreateRequestDestinationRateLimitPeriod = "hour"
)

func NewConnectionCreateRequestDestinationRateLimitPeriodFromString added in v0.0.29

func NewConnectionCreateRequestDestinationRateLimitPeriodFromString(s string) (ConnectionCreateRequestDestinationRateLimitPeriod, error)

func (ConnectionCreateRequestDestinationRateLimitPeriod) Ptr added in v0.0.29

type ConnectionCreateRequestSource added in v0.0.29

type ConnectionCreateRequestSource struct {
	// A unique name for the source
	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 ConnectionDeleteResponse added in v0.0.29

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

type ConnectionListRequest added in v0.0.29

type ConnectionListRequest 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       *ConnectionListRequestOrderBy `json:"-"`
	Dir           *ConnectionListRequestDir     `json:"-"`
	Limit         *int                          `json:"-"`
	Next          *string                       `json:"-"`
	Prev          *string                       `json:"-"`
}

type ConnectionListRequestDir added in v0.0.29

type ConnectionListRequestDir string
const (
	ConnectionListRequestDirAsc  ConnectionListRequestDir = "asc"
	ConnectionListRequestDirDesc ConnectionListRequestDir = "desc"
)

func NewConnectionListRequestDirFromString added in v0.0.29

func NewConnectionListRequestDirFromString(s string) (ConnectionListRequestDir, error)

func (ConnectionListRequestDir) Ptr added in v0.0.29

type ConnectionListRequestOrderBy added in v0.0.29

type ConnectionListRequestOrderBy string
const (
	ConnectionListRequestOrderByCreatedAt             ConnectionListRequestOrderBy = "created_at"
	ConnectionListRequestOrderByUpdatedAt             ConnectionListRequestOrderBy = "updated_at"
	ConnectionListRequestOrderBySourcesUpdatedAt      ConnectionListRequestOrderBy = "sources.updated_at"
	ConnectionListRequestOrderBySourcesCreatedAt      ConnectionListRequestOrderBy = "sources.created_at"
	ConnectionListRequestOrderByDestinationsUpdatedAt ConnectionListRequestOrderBy = "destinations.updated_at"
	ConnectionListRequestOrderByDestinationsCreatedAt ConnectionListRequestOrderBy = "destinations.created_at"
)

func NewConnectionListRequestOrderByFromString added in v0.0.29

func NewConnectionListRequestOrderByFromString(s string) (ConnectionListRequestOrderBy, error)

func (ConnectionListRequestOrderBy) Ptr added in v0.0.29

type ConnectionPaginatedResult

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

type ConnectionUpdateRequest added in v0.0.29

type ConnectionUpdateRequest struct {
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the connection
	Description *core.Optional[string]  `json:"description,omitempty"`
	Rules       *core.Optional[[]*Rule] `json:"rules,omitempty"`
}

type ConnectionUpsertRequest added in v0.0.29

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

type ConnectionUpsertRequestDestination added in v0.0.29

type ConnectionUpsertRequestDestination struct {
	// Name for the destination
	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 *ConnectionUpsertRequestDestinationRateLimitPeriod `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 ConnectionUpsertRequestDestinationRateLimitPeriod added in v0.0.29

type ConnectionUpsertRequestDestinationRateLimitPeriod string

Period to rate limit attempts

const (
	ConnectionUpsertRequestDestinationRateLimitPeriodSecond ConnectionUpsertRequestDestinationRateLimitPeriod = "second"
	ConnectionUpsertRequestDestinationRateLimitPeriodMinute ConnectionUpsertRequestDestinationRateLimitPeriod = "minute"
	ConnectionUpsertRequestDestinationRateLimitPeriodHour   ConnectionUpsertRequestDestinationRateLimitPeriod = "hour"
)

func NewConnectionUpsertRequestDestinationRateLimitPeriodFromString added in v0.0.29

func NewConnectionUpsertRequestDestinationRateLimitPeriodFromString(s string) (ConnectionUpsertRequestDestinationRateLimitPeriod, error)

func (ConnectionUpsertRequestDestinationRateLimitPeriod) Ptr added in v0.0.29

type ConnectionUpsertRequestSource added in v0.0.29

type ConnectionUpsertRequestSource struct {
	// A unique name for the source
	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 ConsoleLine

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

type ConsoleLineType

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

func NewConsoleLineTypeFromString added in v0.0.27

func NewConsoleLineTypeFromString(s string) (ConsoleLineType, error)

func (ConsoleLineType) Ptr added in v0.0.27

type 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 DeleteCustomDomainSchema

type DeleteCustomDomainSchema struct {
	// The custom hostname ID
	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"`
}

Delivery issue

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

Delivery issue

type Destination

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

Associated Destination(#destination-object) object

type DestinationAuthMethodApiKeyConfig

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

API key config for the destination's auth method

type DestinationAuthMethodApiKeyConfigTo

type DestinationAuthMethodApiKeyConfigTo string

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

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

func NewDestinationAuthMethodApiKeyConfigToFromString added in v0.0.27

func NewDestinationAuthMethodApiKeyConfigToFromString(s string) (DestinationAuthMethodApiKeyConfigTo, error)

func (DestinationAuthMethodApiKeyConfigTo) Ptr added in v0.0.27

type DestinationAuthMethodBasicAuthConfig

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

Basic auth config for the destination's auth method

type DestinationAuthMethodBearerTokenConfig

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

Bearer token config for the destination's auth method

type DestinationAuthMethodConfig

type DestinationAuthMethodConfig struct {
	Type                    string
	HookdeckSignature       *AuthHookdeckSignature
	BasicAuth               *AuthBasicAuth
	ApiKey                  *AuthApiKey
	BearerToken             *AuthBearerToken
	Oauth2ClientCredentials *AuthOAuth2ClientCredentials
	Oauth2AuthorizationCode *AuthOAuth2AuthorizationCode
	CustomSignature         *AuthCustomSignature
}

Config for the destination's auth method

func NewDestinationAuthMethodConfigFromApiKey

func NewDestinationAuthMethodConfigFromApiKey(value *AuthApiKey) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromBasicAuth

func NewDestinationAuthMethodConfigFromBasicAuth(value *AuthBasicAuth) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromBearerToken

func NewDestinationAuthMethodConfigFromBearerToken(value *AuthBearerToken) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromCustomSignature

func NewDestinationAuthMethodConfigFromCustomSignature(value *AuthCustomSignature) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromHookdeckSignature

func NewDestinationAuthMethodConfigFromHookdeckSignature(value *AuthHookdeckSignature) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromOauth2AuthorizationCode added in v0.0.36

func NewDestinationAuthMethodConfigFromOauth2AuthorizationCode(value *AuthOAuth2AuthorizationCode) *DestinationAuthMethodConfig

func NewDestinationAuthMethodConfigFromOauth2ClientCredentials added in v0.0.36

func NewDestinationAuthMethodConfigFromOauth2ClientCredentials(value *AuthOAuth2ClientCredentials) *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(*AuthHookdeckSignature) error
	VisitBasicAuth(*AuthBasicAuth) error
	VisitApiKey(*AuthApiKey) error
	VisitBearerToken(*AuthBearerToken) error
	VisitOauth2ClientCredentials(*AuthOAuth2ClientCredentials) error
	VisitOauth2AuthorizationCode(*AuthOAuth2AuthorizationCode) error
	VisitCustomSignature(*AuthCustomSignature) 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 DestinationAuthMethodOAuth2AuthorizationCodeConfig added in v0.0.36

type DestinationAuthMethodOAuth2AuthorizationCodeConfig struct {
	// Client id in the auth server
	ClientId string `json:"client_id"`
	// Client secret in the auth server
	ClientSecret string `json:"client_secret"`
	// Refresh token already returned by the auth server
	RefreshToken string `json:"refresh_token"`
	// Scope to access
	Scope *string `json:"scope,omitempty"`
	// URL of the auth server
	AuthServer string `json:"auth_server"`
}

OAuth2 Authorization Code config for the destination's auth method

type DestinationAuthMethodOAuth2ClientCredentialsConfig added in v0.0.36

type DestinationAuthMethodOAuth2ClientCredentialsConfig struct {
	// Client id in the auth server
	ClientId string `json:"client_id"`
	// Client secret in the auth server
	ClientSecret string `json:"client_secret"`
	// Scope to access
	Scope *string `json:"scope,omitempty"`
	// URL of the auth server
	AuthServer string `json:"auth_server"`
}

OAuth2 Client Credentials config for the destination's auth method

type DestinationAuthMethodSignatureConfig

type DestinationAuthMethodSignatureConfig struct {
}

Empty config for the destination's auth method

type DestinationCreateRequest added in v0.0.29

type DestinationCreateRequest struct {
	// Name for the destination
	Name string `json:"name"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[DestinationCreateRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type DestinationCreateRequestRateLimitPeriod added in v0.0.29

type DestinationCreateRequestRateLimitPeriod string

Period to rate limit attempts

const (
	DestinationCreateRequestRateLimitPeriodSecond DestinationCreateRequestRateLimitPeriod = "second"
	DestinationCreateRequestRateLimitPeriodMinute DestinationCreateRequestRateLimitPeriod = "minute"
	DestinationCreateRequestRateLimitPeriodHour   DestinationCreateRequestRateLimitPeriod = "hour"
)

func NewDestinationCreateRequestRateLimitPeriodFromString added in v0.0.29

func NewDestinationCreateRequestRateLimitPeriodFromString(s string) (DestinationCreateRequestRateLimitPeriod, error)

func (DestinationCreateRequestRateLimitPeriod) Ptr added in v0.0.29

type DestinationDeleteResponse added in v0.0.29

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

type DestinationHttpMethod

type DestinationHttpMethod string

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

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

func NewDestinationHttpMethodFromString added in v0.0.27

func NewDestinationHttpMethodFromString(s string) (DestinationHttpMethod, error)

func (DestinationHttpMethod) Ptr added in v0.0.27

type DestinationListRequest added in v0.0.29

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

type DestinationListRequestDir added in v0.0.29

type DestinationListRequestDir string
const (
	DestinationListRequestDirAsc  DestinationListRequestDir = "asc"
	DestinationListRequestDirDesc DestinationListRequestDir = "desc"
)

func NewDestinationListRequestDirFromString added in v0.0.29

func NewDestinationListRequestDirFromString(s string) (DestinationListRequestDir, error)

func (DestinationListRequestDir) Ptr added in v0.0.29

type DestinationListRequestOrderBy added in v0.0.36

type DestinationListRequestOrderBy string
const (
	DestinationListRequestOrderByCreatedAt DestinationListRequestOrderBy = "created_at"
)

func NewDestinationListRequestOrderByFromString added in v0.0.36

func NewDestinationListRequestOrderByFromString(s string) (DestinationListRequestOrderBy, error)

func (DestinationListRequestOrderBy) Ptr added in v0.0.36

type DestinationPaginatedResult

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

type DestinationRateLimitPeriod

type DestinationRateLimitPeriod string

Period to rate limit attempts

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

func NewDestinationRateLimitPeriodFromString added in v0.0.27

func NewDestinationRateLimitPeriodFromString(s string) (DestinationRateLimitPeriod, error)

func (DestinationRateLimitPeriod) Ptr added in v0.0.27

type DestinationUpdateRequest added in v0.0.29

type DestinationUpdateRequest struct {
	// Name for the destination
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[DestinationUpdateRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type DestinationUpdateRequestRateLimitPeriod added in v0.0.29

type DestinationUpdateRequestRateLimitPeriod string

Period to rate limit attempts

const (
	DestinationUpdateRequestRateLimitPeriodSecond DestinationUpdateRequestRateLimitPeriod = "second"
	DestinationUpdateRequestRateLimitPeriodMinute DestinationUpdateRequestRateLimitPeriod = "minute"
	DestinationUpdateRequestRateLimitPeriodHour   DestinationUpdateRequestRateLimitPeriod = "hour"
)

func NewDestinationUpdateRequestRateLimitPeriodFromString added in v0.0.29

func NewDestinationUpdateRequestRateLimitPeriodFromString(s string) (DestinationUpdateRequestRateLimitPeriod, error)

func (DestinationUpdateRequestRateLimitPeriod) Ptr added in v0.0.29

type DestinationUpsertRequest added in v0.0.29

type DestinationUpsertRequest struct {
	// Name for the destination
	Name string `json:"name"`
	// Description for the destination
	Description *core.Optional[string] `json:"description,omitempty"`
	// Endpoint of the destination
	Url *core.Optional[string] `json:"url,omitempty"`
	// Path for the CLI destination
	CliPath *core.Optional[string] `json:"cli_path,omitempty"`
	// Period to rate limit attempts
	RateLimitPeriod *core.Optional[DestinationUpsertRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
	// Limit event attempts to receive per period
	RateLimit              *core.Optional[int]                         `json:"rate_limit,omitempty"`
	HttpMethod             *core.Optional[DestinationHttpMethod]       `json:"http_method,omitempty"`
	AuthMethod             *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
	PathForwardingDisabled *core.Optional[bool]                        `json:"path_forwarding_disabled,omitempty"`
}

type DestinationUpsertRequestRateLimitPeriod added in v0.0.29

type DestinationUpsertRequestRateLimitPeriod string

Period to rate limit attempts

const (
	DestinationUpsertRequestRateLimitPeriodSecond DestinationUpsertRequestRateLimitPeriod = "second"
	DestinationUpsertRequestRateLimitPeriodMinute DestinationUpsertRequestRateLimitPeriod = "minute"
	DestinationUpsertRequestRateLimitPeriodHour   DestinationUpsertRequestRateLimitPeriod = "hour"
)

func NewDestinationUpsertRequestRateLimitPeriodFromString added in v0.0.29

func NewDestinationUpsertRequestRateLimitPeriodFromString(s string) (DestinationUpsertRequestRateLimitPeriod, error)

func (DestinationUpsertRequestRateLimitPeriod) Ptr added in v0.0.29

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

type EventAttemptBody

type EventAttemptBody struct {

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

func NewEventAttemptBodyFromEventAttemptBodyZeroOptional

func NewEventAttemptBodyFromEventAttemptBodyZeroOptional(value *EventAttemptBodyZero) *EventAttemptBody

func NewEventAttemptBodyFromStringOptional

func NewEventAttemptBodyFromStringOptional(value *string) *EventAttemptBody

func (*EventAttemptBody) Accept

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

func (EventAttemptBody) MarshalJSON

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

func (*EventAttemptBody) UnmarshalJSON

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

type EventAttemptBodyVisitor

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

type EventAttemptBodyZero

type EventAttemptBodyZero struct {
}

Response body from the destination

type EventAttemptHttpMethod

type EventAttemptHttpMethod string

HTTP method used to deliver the attempt

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

func NewEventAttemptHttpMethodFromString added in v0.0.27

func NewEventAttemptHttpMethodFromString(s string) (EventAttemptHttpMethod, error)

func (EventAttemptHttpMethod) Ptr added in v0.0.27

type EventAttemptPaginatedResult

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

type EventBulkRetryCreateRequest added in v0.0.29

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

type EventBulkRetryCreateRequestQuery added in v0.0.29

type EventBulkRetryCreateRequestQuery struct {
	// Filter by event IDs
	Id *EventBulkRetryCreateRequestQueryId `json:"id,omitempty"`
	// Lifecyle status of the event
	Status *EventBulkRetryCreateRequestQueryStatus `json:"status,omitempty"`
	// Filter by webhook connection IDs
	WebhookId *EventBulkRetryCreateRequestQueryWebhookId `json:"webhook_id,omitempty"`
	// Filter by destination IDs
	DestinationId *EventBulkRetryCreateRequestQueryDestinationId `json:"destination_id,omitempty"`
	// Filter by source IDs
	SourceId *EventBulkRetryCreateRequestQuerySourceId `json:"source_id,omitempty"`
	// Filter by number of attempts
	Attempts *EventBulkRetryCreateRequestQueryAttempts `json:"attempts,omitempty"`
	// Filter by HTTP response status code
	ResponseStatus *EventBulkRetryCreateRequestQueryResponseStatus `json:"response_status,omitempty"`
	// Filter by `successful_at` date using a date operator
	SuccessfulAt *EventBulkRetryCreateRequestQuerySuccessfulAt `json:"successful_at,omitempty"`
	// Filter by `created_at` date using a date operator
	CreatedAt *EventBulkRetryCreateRequestQueryCreatedAt `json:"created_at,omitempty"`
	// Filter by error code code
	ErrorCode *EventBulkRetryCreateRequestQueryErrorCode `json:"error_code,omitempty"`
	// Filter by CLI IDs. `?[any]=true` operator for any CLI.
	CliId *EventBulkRetryCreateRequestQueryCliId `json:"cli_id,omitempty"`
	// Filter by `last_attempt_at` date using a date operator
	LastAttemptAt *EventBulkRetryCreateRequestQueryLastAttemptAt `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 *EventBulkRetryCreateRequestQueryHeaders `json:"headers,omitempty"`
	// URL Encoded string of the JSON to match to the data body
	Body *EventBulkRetryCreateRequestQueryBody `json:"body,omitempty"`
	// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
	ParsedQuery *EventBulkRetryCreateRequestQueryParsedQuery `json:"parsed_query,omitempty"`
	// URL Encoded string of the value to match partially to the path
	Path        *string                                      `json:"path,omitempty"`
	CliUserId   *EventBulkRetryCreateRequestQueryCliUserId   `json:"cli_user_id,omitempty"`
	IssueId     *EventBulkRetryCreateRequestQueryIssueId     `json:"issue_id,omitempty"`
	EventDataId *EventBulkRetryCreateRequestQueryEventDataId `json:"event_data_id,omitempty"`
	BulkRetryId *EventBulkRetryCreateRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}

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

type EventBulkRetryCreateRequestQueryAttempts added in v0.0.29

type EventBulkRetryCreateRequestQueryAttempts struct {
	Integer                                     int
	EventBulkRetryCreateRequestQueryAttemptsAll *EventBulkRetryCreateRequestQueryAttemptsAll
	// contains filtered or unexported fields
}

Filter by number of attempts

func NewEventBulkRetryCreateRequestQueryAttemptsFromEventBulkRetryCreateRequestQueryAttemptsAll added in v0.0.36

func NewEventBulkRetryCreateRequestQueryAttemptsFromEventBulkRetryCreateRequestQueryAttemptsAll(value *EventBulkRetryCreateRequestQueryAttemptsAll) *EventBulkRetryCreateRequestQueryAttempts

func NewEventBulkRetryCreateRequestQueryAttemptsFromInteger added in v0.0.29

func NewEventBulkRetryCreateRequestQueryAttemptsFromInteger(value int) *EventBulkRetryCreateRequestQueryAttempts

func (*EventBulkRetryCreateRequestQueryAttempts) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryAttempts) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryAttempts) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryAttemptsAll added in v0.0.36

type EventBulkRetryCreateRequestQueryAttemptsAll 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"`
	All      *bool `json:"all,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type EventBulkRetryCreateRequestQueryAttemptsVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryAttemptsVisitor interface {
	VisitInteger(int) error
	VisitEventBulkRetryCreateRequestQueryAttemptsAll(*EventBulkRetryCreateRequestQueryAttemptsAll) error
}

type EventBulkRetryCreateRequestQueryBody added in v0.0.29

type EventBulkRetryCreateRequestQueryBody struct {
	String                                  string
	EventBulkRetryCreateRequestQueryBodyOne *EventBulkRetryCreateRequestQueryBodyOne
	// contains filtered or unexported fields
}

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

func NewEventBulkRetryCreateRequestQueryBodyFromEventBulkRetryCreateRequestQueryBodyOne added in v0.0.29

func NewEventBulkRetryCreateRequestQueryBodyFromEventBulkRetryCreateRequestQueryBodyOne(value *EventBulkRetryCreateRequestQueryBodyOne) *EventBulkRetryCreateRequestQueryBody

func NewEventBulkRetryCreateRequestQueryBodyFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryBodyFromString(value string) *EventBulkRetryCreateRequestQueryBody

func (*EventBulkRetryCreateRequestQueryBody) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryBody) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryBody) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryBodyOne added in v0.0.29

type EventBulkRetryCreateRequestQueryBodyOne struct {
}

type EventBulkRetryCreateRequestQueryBodyVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryBodyVisitor interface {
	VisitString(string) error
	VisitEventBulkRetryCreateRequestQueryBodyOne(*EventBulkRetryCreateRequestQueryBodyOne) error
}

type EventBulkRetryCreateRequestQueryBulkRetryId added in v0.0.29

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

func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromString(value string) *EventBulkRetryCreateRequestQueryBulkRetryId

func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryBulkRetryId

func (*EventBulkRetryCreateRequestQueryBulkRetryId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryBulkRetryIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryCliId added in v0.0.29

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

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

func NewEventBulkRetryCreateRequestQueryCliIdFromEventBulkRetryCreateRequestQueryCliIdAll added in v0.0.36

func NewEventBulkRetryCreateRequestQueryCliIdFromEventBulkRetryCreateRequestQueryCliIdAll(value *EventBulkRetryCreateRequestQueryCliIdAll) *EventBulkRetryCreateRequestQueryCliId

func NewEventBulkRetryCreateRequestQueryCliIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCliIdFromString(value string) *EventBulkRetryCreateRequestQueryCliId

func NewEventBulkRetryCreateRequestQueryCliIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCliIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryCliId

func (*EventBulkRetryCreateRequestQueryCliId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryCliId) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryCliId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryCliIdAll added in v0.0.36

type EventBulkRetryCreateRequestQueryCliIdAll struct {
	Any *bool `json:"any,omitempty"`
	All *bool `json:"all,omitempty"`
}

type EventBulkRetryCreateRequestQueryCliIdVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryCliIdVisitor interface {
	VisitString(string) error
	VisitEventBulkRetryCreateRequestQueryCliIdAll(*EventBulkRetryCreateRequestQueryCliIdAll) error
	VisitStringList([]string) error
}

type EventBulkRetryCreateRequestQueryCliUserId added in v0.0.29

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

func NewEventBulkRetryCreateRequestQueryCliUserIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCliUserIdFromString(value string) *EventBulkRetryCreateRequestQueryCliUserId

func NewEventBulkRetryCreateRequestQueryCliUserIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCliUserIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryCliUserId

func (*EventBulkRetryCreateRequestQueryCliUserId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryCliUserId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryCliUserId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryCliUserIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryCreatedAt added in v0.0.29

type EventBulkRetryCreateRequestQueryCreatedAt struct {
	DateTime                                     time.Time
	EventBulkRetryCreateRequestQueryCreatedAtAny *EventBulkRetryCreateRequestQueryCreatedAtAny
	// contains filtered or unexported fields
}

Filter by `created_at` date using a date operator

func NewEventBulkRetryCreateRequestQueryCreatedAtFromDateTime added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCreatedAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryCreatedAt

func NewEventBulkRetryCreateRequestQueryCreatedAtFromEventBulkRetryCreateRequestQueryCreatedAtAny added in v0.0.29

func NewEventBulkRetryCreateRequestQueryCreatedAtFromEventBulkRetryCreateRequestQueryCreatedAtAny(value *EventBulkRetryCreateRequestQueryCreatedAtAny) *EventBulkRetryCreateRequestQueryCreatedAt

func (*EventBulkRetryCreateRequestQueryCreatedAt) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryCreatedAt) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryCreatedAt) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryCreatedAtAny added in v0.0.29

type EventBulkRetryCreateRequestQueryCreatedAtAny 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 EventBulkRetryCreateRequestQueryCreatedAtVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryCreatedAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitEventBulkRetryCreateRequestQueryCreatedAtAny(*EventBulkRetryCreateRequestQueryCreatedAtAny) error
}

type EventBulkRetryCreateRequestQueryDestinationId added in v0.0.29

type EventBulkRetryCreateRequestQueryDestinationId struct {

	// Destination ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by destination IDs

func NewEventBulkRetryCreateRequestQueryDestinationIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryDestinationIdFromString(value string) *EventBulkRetryCreateRequestQueryDestinationId

func NewEventBulkRetryCreateRequestQueryDestinationIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryDestinationIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryDestinationId

func (*EventBulkRetryCreateRequestQueryDestinationId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryDestinationId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryDestinationId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryDestinationIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryErrorCode added in v0.0.29

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

Filter by error code code

func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodes added in v0.0.29

func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodes(value AttemptErrorCodes) *EventBulkRetryCreateRequestQueryErrorCode

func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodesList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodesList(value []AttemptErrorCodes) *EventBulkRetryCreateRequestQueryErrorCode

func (*EventBulkRetryCreateRequestQueryErrorCode) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryErrorCode) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryErrorCode) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryErrorCodeVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryEventDataId added in v0.0.29

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

func NewEventBulkRetryCreateRequestQueryEventDataIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryEventDataIdFromString(value string) *EventBulkRetryCreateRequestQueryEventDataId

func NewEventBulkRetryCreateRequestQueryEventDataIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryEventDataIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryEventDataId

func (*EventBulkRetryCreateRequestQueryEventDataId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryEventDataId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryEventDataId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryEventDataIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryHeaders added in v0.0.29

type EventBulkRetryCreateRequestQueryHeaders struct {
	String                                     string
	EventBulkRetryCreateRequestQueryHeadersOne *EventBulkRetryCreateRequestQueryHeadersOne
	// contains filtered or unexported fields
}

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

func NewEventBulkRetryCreateRequestQueryHeadersFromEventBulkRetryCreateRequestQueryHeadersOne added in v0.0.29

func NewEventBulkRetryCreateRequestQueryHeadersFromEventBulkRetryCreateRequestQueryHeadersOne(value *EventBulkRetryCreateRequestQueryHeadersOne) *EventBulkRetryCreateRequestQueryHeaders

func NewEventBulkRetryCreateRequestQueryHeadersFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryHeadersFromString(value string) *EventBulkRetryCreateRequestQueryHeaders

func (*EventBulkRetryCreateRequestQueryHeaders) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryHeaders) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryHeaders) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryHeadersOne added in v0.0.29

type EventBulkRetryCreateRequestQueryHeadersOne struct {
}

type EventBulkRetryCreateRequestQueryHeadersVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryHeadersVisitor interface {
	VisitString(string) error
	VisitEventBulkRetryCreateRequestQueryHeadersOne(*EventBulkRetryCreateRequestQueryHeadersOne) error
}

type EventBulkRetryCreateRequestQueryId added in v0.0.29

type EventBulkRetryCreateRequestQueryId struct {

	// Event ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by event IDs

func NewEventBulkRetryCreateRequestQueryIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryIdFromString(value string) *EventBulkRetryCreateRequestQueryId

func NewEventBulkRetryCreateRequestQueryIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryId

func (*EventBulkRetryCreateRequestQueryId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryId) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryIssueId added in v0.0.29

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

func NewEventBulkRetryCreateRequestQueryIssueIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryIssueIdFromString(value string) *EventBulkRetryCreateRequestQueryIssueId

func NewEventBulkRetryCreateRequestQueryIssueIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryIssueIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryIssueId

func (*EventBulkRetryCreateRequestQueryIssueId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryIssueId) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryIssueId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryIssueIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryLastAttemptAt added in v0.0.29

type EventBulkRetryCreateRequestQueryLastAttemptAt struct {
	DateTime                                         time.Time
	EventBulkRetryCreateRequestQueryLastAttemptAtAny *EventBulkRetryCreateRequestQueryLastAttemptAtAny
	// contains filtered or unexported fields
}

Filter by `last_attempt_at` date using a date operator

func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromDateTime added in v0.0.29

func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryLastAttemptAt

func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromEventBulkRetryCreateRequestQueryLastAttemptAtAny added in v0.0.29

func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromEventBulkRetryCreateRequestQueryLastAttemptAtAny(value *EventBulkRetryCreateRequestQueryLastAttemptAtAny) *EventBulkRetryCreateRequestQueryLastAttemptAt

func (*EventBulkRetryCreateRequestQueryLastAttemptAt) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryLastAttemptAt) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryLastAttemptAt) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryLastAttemptAtAny added in v0.0.29

type EventBulkRetryCreateRequestQueryLastAttemptAtAny 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 EventBulkRetryCreateRequestQueryLastAttemptAtVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryLastAttemptAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitEventBulkRetryCreateRequestQueryLastAttemptAtAny(*EventBulkRetryCreateRequestQueryLastAttemptAtAny) error
}

type EventBulkRetryCreateRequestQueryParsedQuery added in v0.0.29

type EventBulkRetryCreateRequestQueryParsedQuery struct {
	String                                         string
	EventBulkRetryCreateRequestQueryParsedQueryOne *EventBulkRetryCreateRequestQueryParsedQueryOne
	// contains filtered or unexported fields
}

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

func NewEventBulkRetryCreateRequestQueryParsedQueryFromEventBulkRetryCreateRequestQueryParsedQueryOne added in v0.0.29

func NewEventBulkRetryCreateRequestQueryParsedQueryFromEventBulkRetryCreateRequestQueryParsedQueryOne(value *EventBulkRetryCreateRequestQueryParsedQueryOne) *EventBulkRetryCreateRequestQueryParsedQuery

func NewEventBulkRetryCreateRequestQueryParsedQueryFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryParsedQueryFromString(value string) *EventBulkRetryCreateRequestQueryParsedQuery

func (*EventBulkRetryCreateRequestQueryParsedQuery) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryParsedQuery) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryParsedQueryOne added in v0.0.29

type EventBulkRetryCreateRequestQueryParsedQueryOne struct {
}

type EventBulkRetryCreateRequestQueryParsedQueryVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryParsedQueryVisitor interface {
	VisitString(string) error
	VisitEventBulkRetryCreateRequestQueryParsedQueryOne(*EventBulkRetryCreateRequestQueryParsedQueryOne) error
}

type EventBulkRetryCreateRequestQueryResponseStatus added in v0.0.29

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

Filter by HTTP response status code

func NewEventBulkRetryCreateRequestQueryResponseStatusFromEventBulkRetryCreateRequestQueryResponseStatusAll added in v0.0.36

func NewEventBulkRetryCreateRequestQueryResponseStatusFromEventBulkRetryCreateRequestQueryResponseStatusAll(value *EventBulkRetryCreateRequestQueryResponseStatusAll) *EventBulkRetryCreateRequestQueryResponseStatus

func NewEventBulkRetryCreateRequestQueryResponseStatusFromInteger added in v0.0.29

func NewEventBulkRetryCreateRequestQueryResponseStatusFromInteger(value int) *EventBulkRetryCreateRequestQueryResponseStatus

func NewEventBulkRetryCreateRequestQueryResponseStatusFromIntegerList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryResponseStatusFromIntegerList(value []int) *EventBulkRetryCreateRequestQueryResponseStatus

func (*EventBulkRetryCreateRequestQueryResponseStatus) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryResponseStatus) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryResponseStatus) UnmarshalJSON added in v0.0.29

type EventBulkRetryCreateRequestQueryResponseStatusAll added in v0.0.36

type EventBulkRetryCreateRequestQueryResponseStatusAll 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"`
	All      *bool `json:"all,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type EventBulkRetryCreateRequestQueryResponseStatusVisitor added in v0.0.29

type EventBulkRetryCreateRequestQueryResponseStatusVisitor interface {
	VisitInteger(int) error
	VisitEventBulkRetryCreateRequestQueryResponseStatusAll(*EventBulkRetryCreateRequestQueryResponseStatusAll) error
	VisitIntegerList([]int) error
}

type EventBulkRetryCreateRequestQuerySourceId added in v0.0.29

type EventBulkRetryCreateRequestQuerySourceId struct {

	// Source ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by source IDs

func NewEventBulkRetryCreateRequestQuerySourceIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQuerySourceIdFromString(value string) *EventBulkRetryCreateRequestQuerySourceId

func NewEventBulkRetryCreateRequestQuerySourceIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQuerySourceIdFromStringList(value []string) *EventBulkRetryCreateRequestQuerySourceId

func (*EventBulkRetryCreateRequestQuerySourceId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQuerySourceId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQuerySourceId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQuerySourceIdVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQueryStatus added in v0.0.29

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

Lifecyle status of the event

func NewEventBulkRetryCreateRequestQueryStatusFromEventStatus added in v0.0.29

func NewEventBulkRetryCreateRequestQueryStatusFromEventStatus(value EventStatus) *EventBulkRetryCreateRequestQueryStatus

func NewEventBulkRetryCreateRequestQueryStatusFromEventStatusList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryStatusFromEventStatusList(value []EventStatus) *EventBulkRetryCreateRequestQueryStatus

func (*EventBulkRetryCreateRequestQueryStatus) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryStatus) MarshalJSON added in v0.0.29

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

func (*EventBulkRetryCreateRequestQueryStatus) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryStatusVisitor added in v0.0.29

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

type EventBulkRetryCreateRequestQuerySuccessfulAt added in v0.0.29

type EventBulkRetryCreateRequestQuerySuccessfulAt struct {
	DateTime                                        time.Time
	EventBulkRetryCreateRequestQuerySuccessfulAtAny *EventBulkRetryCreateRequestQuerySuccessfulAtAny
	// contains filtered or unexported fields
}

Filter by `successful_at` date using a date operator

func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromDateTime added in v0.0.29

func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQuerySuccessfulAt

func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromEventBulkRetryCreateRequestQuerySuccessfulAtAny added in v0.0.29

func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromEventBulkRetryCreateRequestQuerySuccessfulAtAny(value *EventBulkRetryCreateRequestQuerySuccessfulAtAny) *EventBulkRetryCreateRequestQuerySuccessfulAt

func (*EventBulkRetryCreateRequestQuerySuccessfulAt) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQuerySuccessfulAt) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQuerySuccessfulAt) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQuerySuccessfulAtAny added in v0.0.29

type EventBulkRetryCreateRequestQuerySuccessfulAtAny 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 EventBulkRetryCreateRequestQuerySuccessfulAtVisitor added in v0.0.29

type EventBulkRetryCreateRequestQuerySuccessfulAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitEventBulkRetryCreateRequestQuerySuccessfulAtAny(*EventBulkRetryCreateRequestQuerySuccessfulAtAny) error
}

type EventBulkRetryCreateRequestQueryWebhookId added in v0.0.29

type EventBulkRetryCreateRequestQueryWebhookId struct {

	// Webhook ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by webhook connection IDs

func NewEventBulkRetryCreateRequestQueryWebhookIdFromString added in v0.0.29

func NewEventBulkRetryCreateRequestQueryWebhookIdFromString(value string) *EventBulkRetryCreateRequestQueryWebhookId

func NewEventBulkRetryCreateRequestQueryWebhookIdFromStringList added in v0.0.29

func NewEventBulkRetryCreateRequestQueryWebhookIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryWebhookId

func (*EventBulkRetryCreateRequestQueryWebhookId) Accept added in v0.0.29

func (EventBulkRetryCreateRequestQueryWebhookId) MarshalJSON added in v0.0.29

func (*EventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON added in v0.0.29

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

type EventBulkRetryCreateRequestQueryWebhookIdVisitor added in v0.0.29

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

type EventBulkRetryListRequest added in v0.0.29

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

type EventBulkRetryListRequestDir added in v0.0.29

type EventBulkRetryListRequestDir string
const (
	EventBulkRetryListRequestDirAsc  EventBulkRetryListRequestDir = "asc"
	EventBulkRetryListRequestDirDesc EventBulkRetryListRequestDir = "desc"
)

func NewEventBulkRetryListRequestDirFromString added in v0.0.29

func NewEventBulkRetryListRequestDirFromString(s string) (EventBulkRetryListRequestDir, error)

func (EventBulkRetryListRequestDir) Ptr added in v0.0.29

type EventBulkRetryListRequestOrderBy added in v0.0.36

type EventBulkRetryListRequestOrderBy string
const (
	EventBulkRetryListRequestOrderByCreatedAt EventBulkRetryListRequestOrderBy = "created_at"
)

func NewEventBulkRetryListRequestOrderByFromString added in v0.0.36

func NewEventBulkRetryListRequestOrderByFromString(s string) (EventBulkRetryListRequestOrderBy, error)

func (EventBulkRetryListRequestOrderBy) Ptr added in v0.0.36

type EventBulkRetryPlanResponse added in v0.0.29

type EventBulkRetryPlanResponse 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 EventListRequest added in v0.0.29

type EventListRequest 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        *EventListRequestOrderBy `json:"-"`
	Dir            *EventListRequestDir     `json:"-"`
	Limit          *int                     `json:"-"`
	Next           *string                  `json:"-"`
	Prev           *string                  `json:"-"`
}

type EventListRequestDir added in v0.0.29

type EventListRequestDir string

Sort direction

const (
	EventListRequestDirAsc  EventListRequestDir = "asc"
	EventListRequestDirDesc EventListRequestDir = "desc"
)

func NewEventListRequestDirFromString added in v0.0.29

func NewEventListRequestDirFromString(s string) (EventListRequestDir, error)

func (EventListRequestDir) Ptr added in v0.0.29

type EventListRequestOrderBy added in v0.0.29

type EventListRequestOrderBy string

Sort key

const (
	EventListRequestOrderByLastAttemptAt EventListRequestOrderBy = "last_attempt_at"
	EventListRequestOrderByCreatedAt     EventListRequestOrderBy = "created_at"
)

func NewEventListRequestOrderByFromString added in v0.0.29

func NewEventListRequestOrderByFromString(s string) (EventListRequestOrderBy, error)

func (EventListRequestOrderBy) Ptr added in v0.0.29

type EventPaginatedResult

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

type EventStatus

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

func NewEventStatusFromString added in v0.0.27

func NewEventStatusFromString(s string) (EventStatus, error)

func (EventStatus) Ptr added in v0.0.27

func (e EventStatus) Ptr() *EventStatus

type FilterRule

type FilterRule struct {
	Headers *FilterRuleProperty `json:"headers,omitempty"`
	Body    *FilterRuleProperty `json:"body,omitempty"`
	Query   *FilterRuleProperty `json:"query,omitempty"`
	Path    *FilterRuleProperty `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 FilterRuleProperty added in v0.0.29

type FilterRuleProperty struct {
	StringOptional           *string
	DoubleOptional           *float64
	BooleanOptional          *bool
	StringUnknownMapOptional map[string]interface{}
	// contains filtered or unexported fields
}

JSON using our filter syntax to filter on request headers

func NewFilterRulePropertyFromBooleanOptional added in v0.0.29

func NewFilterRulePropertyFromBooleanOptional(value *bool) *FilterRuleProperty

func NewFilterRulePropertyFromDoubleOptional added in v0.0.29

func NewFilterRulePropertyFromDoubleOptional(value *float64) *FilterRuleProperty

func NewFilterRulePropertyFromStringOptional added in v0.0.29

func NewFilterRulePropertyFromStringOptional(value *string) *FilterRuleProperty

func NewFilterRulePropertyFromStringUnknownMapOptional added in v0.0.29

func NewFilterRulePropertyFromStringUnknownMapOptional(value map[string]interface{}) *FilterRuleProperty

func (*FilterRuleProperty) Accept added in v0.0.29

func (FilterRuleProperty) MarshalJSON added in v0.0.29

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

func (*FilterRuleProperty) UnmarshalJSON added in v0.0.29

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

type FilterRulePropertyVisitor added in v0.0.29

type FilterRulePropertyVisitor interface {
	VisitStringOptional(*string) error
	VisitDoubleOptional(*float64) error
	VisitBooleanOptional(*bool) error
	VisitStringUnknownMapOptional(map[string]interface{}) error
}

type FilteredMeta

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

func NewFilteredMetaFromString added in v0.0.27

func NewFilteredMetaFromString(s string) (FilteredMeta, error)

func (FilteredMeta) Ptr added in v0.0.27

func (f FilteredMeta) Ptr() *FilteredMeta

type HandledApiKeyIntegrationConfigs

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

type HandledHmacConfigs

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

type HmacAlgorithms

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

func NewHmacAlgorithmsFromString added in v0.0.27

func NewHmacAlgorithmsFromString(s string) (HmacAlgorithms, error)

func (HmacAlgorithms) Ptr added in v0.0.27

func (h HmacAlgorithms) Ptr() *HmacAlgorithms

type HmacIntegrationConfigs

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

type HmacIntegrationConfigsEncoding

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

func NewHmacIntegrationConfigsEncodingFromString added in v0.0.27

func NewHmacIntegrationConfigsEncodingFromString(s string) (HmacIntegrationConfigsEncoding, error)

func (HmacIntegrationConfigsEncoding) Ptr added in v0.0.27

type 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 IgnoredEventBulkRetryCreateRequest added in v0.0.29

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

type IgnoredEventBulkRetryCreateRequestQuery added in v0.0.29

type IgnoredEventBulkRetryCreateRequestQuery struct {
	// The cause of the ignored event
	Cause *IgnoredEventBulkRetryCreateRequestQueryCause `json:"cause,omitempty"`
	// Connection ID of the ignored event
	WebhookId *IgnoredEventBulkRetryCreateRequestQueryWebhookId `json:"webhook_id,omitempty"`
	// The associated transformation ID (only applicable to the cause `TRANSFORMATION_FAILED`)
	TransformationId *string `json:"transformation_id,omitempty"`
}

Filter by the bulk retry ignored event query object

type IgnoredEventBulkRetryCreateRequestQueryCause added in v0.0.29

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

The cause of the ignored event

func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromString added in v0.0.29

func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromString(value string) *IgnoredEventBulkRetryCreateRequestQueryCause

func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromStringList added in v0.0.29

func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromStringList(value []string) *IgnoredEventBulkRetryCreateRequestQueryCause

func (*IgnoredEventBulkRetryCreateRequestQueryCause) Accept added in v0.0.29

func (IgnoredEventBulkRetryCreateRequestQueryCause) MarshalJSON added in v0.0.29

func (*IgnoredEventBulkRetryCreateRequestQueryCause) UnmarshalJSON added in v0.0.29

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

type IgnoredEventBulkRetryCreateRequestQueryCauseVisitor added in v0.0.29

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

type IgnoredEventBulkRetryCreateRequestQueryWebhookId added in v0.0.29

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

Connection ID of the ignored event

func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromString added in v0.0.29

func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromString(value string) *IgnoredEventBulkRetryCreateRequestQueryWebhookId

func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromStringList added in v0.0.29

func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromStringList(value []string) *IgnoredEventBulkRetryCreateRequestQueryWebhookId

func (*IgnoredEventBulkRetryCreateRequestQueryWebhookId) Accept added in v0.0.29

func (IgnoredEventBulkRetryCreateRequestQueryWebhookId) MarshalJSON added in v0.0.29

func (*IgnoredEventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON added in v0.0.29

type IgnoredEventBulkRetryCreateRequestQueryWebhookIdVisitor added in v0.0.29

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

type IgnoredEventBulkRetryListRequest added in v0.0.29

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

type IgnoredEventBulkRetryListRequestDir added in v0.0.29

type IgnoredEventBulkRetryListRequestDir string
const (
	IgnoredEventBulkRetryListRequestDirAsc  IgnoredEventBulkRetryListRequestDir = "asc"
	IgnoredEventBulkRetryListRequestDirDesc IgnoredEventBulkRetryListRequestDir = "desc"
)

func NewIgnoredEventBulkRetryListRequestDirFromString added in v0.0.29

func NewIgnoredEventBulkRetryListRequestDirFromString(s string) (IgnoredEventBulkRetryListRequestDir, error)

func (IgnoredEventBulkRetryListRequestDir) Ptr added in v0.0.29

type IgnoredEventBulkRetryListRequestOrderBy added in v0.0.36

type IgnoredEventBulkRetryListRequestOrderBy string
const (
	IgnoredEventBulkRetryListRequestOrderByCreatedAt IgnoredEventBulkRetryListRequestOrderBy = "created_at"
)

func NewIgnoredEventBulkRetryListRequestOrderByFromString added in v0.0.36

func NewIgnoredEventBulkRetryListRequestOrderByFromString(s string) (IgnoredEventBulkRetryListRequestOrderBy, error)

func (IgnoredEventBulkRetryListRequestOrderBy) Ptr added in v0.0.36

type IgnoredEventBulkRetryPlanResponse added in v0.0.29

type IgnoredEventBulkRetryPlanResponse 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 IgnoredEventCause

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

func NewIgnoredEventCauseFromString added in v0.0.27

func NewIgnoredEventCauseFromString(s string) (IgnoredEventCause, error)

func (IgnoredEventCause) Ptr added in v0.0.27

type IgnoredEventMeta

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

func NewIgnoredEventMetaFromFilteredMeta

func NewIgnoredEventMetaFromFilteredMeta(value FilteredMeta) *IgnoredEventMeta

func NewIgnoredEventMetaFromTransformationFailedMeta

func NewIgnoredEventMetaFromTransformationFailedMeta(value *TransformationFailedMeta) *IgnoredEventMeta

func (*IgnoredEventMeta) Accept

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

func (IgnoredEventMeta) MarshalJSON

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

func (*IgnoredEventMeta) UnmarshalJSON

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

type IgnoredEventMetaVisitor

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

type IgnoredEventPaginatedResult

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

type Integration

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

type IntegrationConfigs

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

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

func NewIntegrationConfigsFromApiKeyIntegrationConfigs

func NewIntegrationConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromBasicAuthIntegrationConfigs

func NewIntegrationConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs

func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHandledHmacConfigs

func NewIntegrationConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromHmacIntegrationConfigs

func NewIntegrationConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *IntegrationConfigs

func NewIntegrationConfigsFromIntegrationConfigsSix

func NewIntegrationConfigsFromIntegrationConfigsSix(value *IntegrationConfigsSix) *IntegrationConfigs

func NewIntegrationConfigsFromShopifyIntegrationConfigs

func NewIntegrationConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *IntegrationConfigs

func (*IntegrationConfigs) Accept

func (IntegrationConfigs) MarshalJSON

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

func (*IntegrationConfigs) UnmarshalJSON

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

type IntegrationConfigsSix

type IntegrationConfigsSix struct {
}

type IntegrationConfigsVisitor

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

type IntegrationFeature

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

func NewIntegrationFeatureFromString added in v0.0.27

func NewIntegrationFeatureFromString(s string) (IntegrationFeature, error)

func (IntegrationFeature) Ptr added in v0.0.27

type IntegrationPaginatedResult

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

type IntegrationProvider

type IntegrationProvider string
const (
	IntegrationProviderHmac           IntegrationProvider = "hmac"
	IntegrationProviderBasicAuth      IntegrationProvider = "basic_auth"
	IntegrationProviderApiKey         IntegrationProvider = "api_key"
	IntegrationProviderCloudsignal    IntegrationProvider = "cloudsignal"
	IntegrationProviderCourier        IntegrationProvider = "courier"
	IntegrationProviderTwitter        IntegrationProvider = "twitter"
	IntegrationProviderStripe         IntegrationProvider = "stripe"
	IntegrationProviderRecharge       IntegrationProvider = "recharge"
	IntegrationProviderTwilio         IntegrationProvider = "twilio"
	IntegrationProviderGithub         IntegrationProvider = "github"
	IntegrationProviderShopify        IntegrationProvider = "shopify"
	IntegrationProviderPostmark       IntegrationProvider = "postmark"
	IntegrationProviderTypeform       IntegrationProvider = "typeform"
	IntegrationProviderXero           IntegrationProvider = "xero"
	IntegrationProviderSvix           IntegrationProvider = "svix"
	IntegrationProviderZoom           IntegrationProvider = "zoom"
	IntegrationProviderAkeneo         IntegrationProvider = "akeneo"
	IntegrationProviderAdyen          IntegrationProvider = "adyen"
	IntegrationProviderGitlab         IntegrationProvider = "gitlab"
	IntegrationProviderPropertyFinder IntegrationProvider = "property-finder"
	IntegrationProviderWoocommerce    IntegrationProvider = "woocommerce"
	IntegrationProviderOura           IntegrationProvider = "oura"
	IntegrationProviderCommercelayer  IntegrationProvider = "commercelayer"
	IntegrationProviderHubspot        IntegrationProvider = "hubspot"
	IntegrationProviderMailgun        IntegrationProvider = "mailgun"
	IntegrationProviderPersona        IntegrationProvider = "persona"
	IntegrationProviderPipedrive      IntegrationProvider = "pipedrive"
	IntegrationProviderSendgrid       IntegrationProvider = "sendgrid"
	IntegrationProviderWorkos         IntegrationProvider = "workos"
	IntegrationProviderSynctera       IntegrationProvider = "synctera"
	IntegrationProviderAwsSns         IntegrationProvider = "aws_sns"
	IntegrationProviderThreeDEye      IntegrationProvider = "three_d_eye"
	IntegrationProviderTwitch         IntegrationProvider = "twitch"
	IntegrationProviderFavro          IntegrationProvider = "favro"
	IntegrationProviderWix            IntegrationProvider = "wix"
	IntegrationProviderNmi            IntegrationProvider = "nmi"
	IntegrationProviderRepay          IntegrationProvider = "repay"
	IntegrationProviderSquare         IntegrationProvider = "square"
	IntegrationProviderSolidgate      IntegrationProvider = "solidgate"
	IntegrationProviderTrello         IntegrationProvider = "trello"
	IntegrationProviderSanity         IntegrationProvider = "sanity"
)

func NewIntegrationProviderFromString added in v0.0.27

func NewIntegrationProviderFromString(s string) (IntegrationProvider, error)

func (IntegrationProvider) Ptr added in v0.0.27

type Issue

type Issue struct {
	Type           string
	Delivery       *DeliveryIssue
	Transformation *TransformationIssue
}

Issue

func NewIssueFromDelivery added in v0.0.33

func NewIssueFromDelivery(value *DeliveryIssue) *Issue

func NewIssueFromTransformation added in v0.0.33

func NewIssueFromTransformation(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 IssueCountRequest added in v0.0.29

type IssueCountRequest struct {
	Id             *string                   `json:"-"`
	IssueTriggerId *string                   `json:"-"`
	Type           *IssueCountRequestType    `json:"-"`
	Status         *IssueCountRequestStatus  `json:"-"`
	MergedWith     *string                   `json:"-"`
	CreatedAt      *time.Time                `json:"-"`
	FirstSeenAt    *time.Time                `json:"-"`
	LastSeenAt     *time.Time                `json:"-"`
	DismissedAt    *time.Time                `json:"-"`
	OrderBy        *IssueCountRequestOrderBy `json:"-"`
	Dir            *IssueCountRequestDir     `json:"-"`
	Limit          *int                      `json:"-"`
	Next           *string                   `json:"-"`
	Prev           *string                   `json:"-"`
}

type IssueCountRequestDir added in v0.0.29

type IssueCountRequestDir string
const (
	IssueCountRequestDirAsc  IssueCountRequestDir = "asc"
	IssueCountRequestDirDesc IssueCountRequestDir = "desc"
)

func NewIssueCountRequestDirFromString added in v0.0.29

func NewIssueCountRequestDirFromString(s string) (IssueCountRequestDir, error)

func (IssueCountRequestDir) Ptr added in v0.0.29

type IssueCountRequestOrderBy added in v0.0.29

type IssueCountRequestOrderBy string
const (
	IssueCountRequestOrderByCreatedAt   IssueCountRequestOrderBy = "created_at"
	IssueCountRequestOrderByFirstSeenAt IssueCountRequestOrderBy = "first_seen_at"
	IssueCountRequestOrderByLastSeenAt  IssueCountRequestOrderBy = "last_seen_at"
	IssueCountRequestOrderByOpenedAt    IssueCountRequestOrderBy = "opened_at"
	IssueCountRequestOrderByStatus      IssueCountRequestOrderBy = "status"
)

func NewIssueCountRequestOrderByFromString added in v0.0.29

func NewIssueCountRequestOrderByFromString(s string) (IssueCountRequestOrderBy, error)

func (IssueCountRequestOrderBy) Ptr added in v0.0.29

type IssueCountRequestStatus added in v0.0.29

type IssueCountRequestStatus string
const (
	IssueCountRequestStatusOpened       IssueCountRequestStatus = "OPENED"
	IssueCountRequestStatusIgnored      IssueCountRequestStatus = "IGNORED"
	IssueCountRequestStatusAcknowledged IssueCountRequestStatus = "ACKNOWLEDGED"
	IssueCountRequestStatusResolved     IssueCountRequestStatus = "RESOLVED"
)

func NewIssueCountRequestStatusFromString added in v0.0.29

func NewIssueCountRequestStatusFromString(s string) (IssueCountRequestStatus, error)

func (IssueCountRequestStatus) Ptr added in v0.0.29

type IssueCountRequestType added in v0.0.29

type IssueCountRequestType string
const (
	IssueCountRequestTypeDelivery       IssueCountRequestType = "delivery"
	IssueCountRequestTypeTransformation IssueCountRequestType = "transformation"
	IssueCountRequestTypeBackpressure   IssueCountRequestType = "backpressure"
)

func NewIssueCountRequestTypeFromString added in v0.0.29

func NewIssueCountRequestTypeFromString(s string) (IssueCountRequestType, error)

func (IssueCountRequestType) Ptr added in v0.0.29

type IssueListRequest added in v0.0.29

type IssueListRequest struct {
	Id             *string                  `json:"-"`
	IssueTriggerId *string                  `json:"-"`
	Type           *IssueListRequestType    `json:"-"`
	Status         *IssueListRequestStatus  `json:"-"`
	MergedWith     *string                  `json:"-"`
	CreatedAt      *time.Time               `json:"-"`
	FirstSeenAt    *time.Time               `json:"-"`
	LastSeenAt     *time.Time               `json:"-"`
	DismissedAt    *time.Time               `json:"-"`
	OrderBy        *IssueListRequestOrderBy `json:"-"`
	Dir            *IssueListRequestDir     `json:"-"`
	Limit          *int                     `json:"-"`
	Next           *string                  `json:"-"`
	Prev           *string                  `json:"-"`
}

type IssueListRequestDir added in v0.0.29

type IssueListRequestDir string
const (
	IssueListRequestDirAsc  IssueListRequestDir = "asc"
	IssueListRequestDirDesc IssueListRequestDir = "desc"
)

func NewIssueListRequestDirFromString added in v0.0.29

func NewIssueListRequestDirFromString(s string) (IssueListRequestDir, error)

func (IssueListRequestDir) Ptr added in v0.0.29

type IssueListRequestOrderBy added in v0.0.29

type IssueListRequestOrderBy string
const (
	IssueListRequestOrderByCreatedAt   IssueListRequestOrderBy = "created_at"
	IssueListRequestOrderByFirstSeenAt IssueListRequestOrderBy = "first_seen_at"
	IssueListRequestOrderByLastSeenAt  IssueListRequestOrderBy = "last_seen_at"
	IssueListRequestOrderByOpenedAt    IssueListRequestOrderBy = "opened_at"
	IssueListRequestOrderByStatus      IssueListRequestOrderBy = "status"
)

func NewIssueListRequestOrderByFromString added in v0.0.29

func NewIssueListRequestOrderByFromString(s string) (IssueListRequestOrderBy, error)

func (IssueListRequestOrderBy) Ptr added in v0.0.29

type IssueListRequestStatus added in v0.0.29

type IssueListRequestStatus string
const (
	IssueListRequestStatusOpened       IssueListRequestStatus = "OPENED"
	IssueListRequestStatusIgnored      IssueListRequestStatus = "IGNORED"
	IssueListRequestStatusAcknowledged IssueListRequestStatus = "ACKNOWLEDGED"
	IssueListRequestStatusResolved     IssueListRequestStatus = "RESOLVED"
)

func NewIssueListRequestStatusFromString added in v0.0.29

func NewIssueListRequestStatusFromString(s string) (IssueListRequestStatus, error)

func (IssueListRequestStatus) Ptr added in v0.0.29

type IssueListRequestType added in v0.0.29

type IssueListRequestType string
const (
	IssueListRequestTypeDelivery       IssueListRequestType = "delivery"
	IssueListRequestTypeTransformation IssueListRequestType = "transformation"
	IssueListRequestTypeBackpressure   IssueListRequestType = "backpressure"
)

func NewIssueListRequestTypeFromString added in v0.0.29

func NewIssueListRequestTypeFromString(s string) (IssueListRequestType, error)

func (IssueListRequestType) Ptr added in v0.0.29

type IssueStatus

type IssueStatus string

Issue status

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

func NewIssueStatusFromString added in v0.0.27

func NewIssueStatusFromString(s string) (IssueStatus, error)

func (IssueStatus) Ptr added in v0.0.27

func (i IssueStatus) Ptr() *IssueStatus

type IssueTrigger

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

type IssueTriggerBackpressureConfigs

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

Configurations for a 'Backpressure' issue trigger

type IssueTriggerBackpressureConfigsDestinations

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

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

func NewIssueTriggerBackpressureConfigsDestinationsFromString

func NewIssueTriggerBackpressureConfigsDestinationsFromString(value string) *IssueTriggerBackpressureConfigsDestinations

func NewIssueTriggerBackpressureConfigsDestinationsFromStringList

func NewIssueTriggerBackpressureConfigsDestinationsFromStringList(value []string) *IssueTriggerBackpressureConfigsDestinations

func (*IssueTriggerBackpressureConfigsDestinations) Accept

func (IssueTriggerBackpressureConfigsDestinations) MarshalJSON

func (*IssueTriggerBackpressureConfigsDestinations) UnmarshalJSON

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

type IssueTriggerBackpressureConfigsDestinationsVisitor

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

type IssueTriggerBackpressureDelay

type IssueTriggerBackpressureDelay = int

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

type IssueTriggerChannels

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

Notification channels object for the specific channel type

type IssueTriggerCreateRequest added in v0.0.29

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

type IssueTriggerCreateRequestConfigs added in v0.0.29

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

Configuration object for the specific issue type selected

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerBackpressureConfigs added in v0.0.29

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerCreateRequestConfigs

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerDeliveryConfigs added in v0.0.29

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerCreateRequestConfigs

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerTransformationConfigs added in v0.0.29

func NewIssueTriggerCreateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerCreateRequestConfigs

func (*IssueTriggerCreateRequestConfigs) Accept added in v0.0.29

func (IssueTriggerCreateRequestConfigs) MarshalJSON added in v0.0.29

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

func (*IssueTriggerCreateRequestConfigs) UnmarshalJSON added in v0.0.29

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

type IssueTriggerCreateRequestConfigsVisitor added in v0.0.29

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

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 IssueTriggerListRequest added in v0.0.29

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

type IssueTriggerListRequestDir added in v0.0.29

type IssueTriggerListRequestDir string
const (
	IssueTriggerListRequestDirAsc  IssueTriggerListRequestDir = "asc"
	IssueTriggerListRequestDirDesc IssueTriggerListRequestDir = "desc"
)

func NewIssueTriggerListRequestDirFromString added in v0.0.29

func NewIssueTriggerListRequestDirFromString(s string) (IssueTriggerListRequestDir, error)

func (IssueTriggerListRequestDir) Ptr added in v0.0.29

type IssueTriggerListRequestOrderBy added in v0.0.29

type IssueTriggerListRequestOrderBy string
const (
	IssueTriggerListRequestOrderByCreatedAt IssueTriggerListRequestOrderBy = "created_at"
	IssueTriggerListRequestOrderByType      IssueTriggerListRequestOrderBy = "type"
)

func NewIssueTriggerListRequestOrderByFromString added in v0.0.29

func NewIssueTriggerListRequestOrderByFromString(s string) (IssueTriggerListRequestOrderBy, error)

func (IssueTriggerListRequestOrderBy) Ptr added in v0.0.29

type IssueTriggerPaginatedResult

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

type IssueTriggerReference

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

Configuration object for the specific issue type selected

func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs

func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerReference

func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs

func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerReference

func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs

func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerReference

func (*IssueTriggerReference) Accept

func (IssueTriggerReference) MarshalJSON

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

func (*IssueTriggerReference) UnmarshalJSON

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

type IssueTriggerReferenceVisitor

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

type IssueTriggerSlackChannel

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

Slack channel for an issue trigger

type IssueTriggerStrategy

type IssueTriggerStrategy string

The strategy uses to open the issue

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

func NewIssueTriggerStrategyFromString added in v0.0.27

func NewIssueTriggerStrategyFromString(s string) (IssueTriggerStrategy, error)

func (IssueTriggerStrategy) Ptr added in v0.0.27

type IssueTriggerTransformationConfigs

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

Configurations for a 'Transformation' issue trigger

type IssueTriggerTransformationConfigsTransformations

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

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

func NewIssueTriggerTransformationConfigsTransformationsFromString

func NewIssueTriggerTransformationConfigsTransformationsFromString(value string) *IssueTriggerTransformationConfigsTransformations

func NewIssueTriggerTransformationConfigsTransformationsFromStringList

func NewIssueTriggerTransformationConfigsTransformationsFromStringList(value []string) *IssueTriggerTransformationConfigsTransformations

func (*IssueTriggerTransformationConfigsTransformations) Accept

func (IssueTriggerTransformationConfigsTransformations) MarshalJSON

func (*IssueTriggerTransformationConfigsTransformations) UnmarshalJSON

type IssueTriggerTransformationConfigsTransformationsVisitor

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

type IssueTriggerUpdateRequest added in v0.0.29

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

type IssueTriggerUpdateRequestConfigs added in v0.0.29

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

Configuration object for the specific issue type selected

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerBackpressureConfigs added in v0.0.29

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpdateRequestConfigs

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerDeliveryConfigs added in v0.0.29

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpdateRequestConfigs

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerTransformationConfigs added in v0.0.29

func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpdateRequestConfigs

func (*IssueTriggerUpdateRequestConfigs) Accept added in v0.0.29

func (IssueTriggerUpdateRequestConfigs) MarshalJSON added in v0.0.29

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

func (*IssueTriggerUpdateRequestConfigs) UnmarshalJSON added in v0.0.29

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

type IssueTriggerUpdateRequestConfigsVisitor added in v0.0.29

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

type IssueTriggerUpsertRequest added in v0.0.29

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

type IssueTriggerUpsertRequestConfigs added in v0.0.29

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

Configuration object for the specific issue type selected

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerBackpressureConfigs added in v0.0.29

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpsertRequestConfigs

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerDeliveryConfigs added in v0.0.29

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpsertRequestConfigs

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerTransformationConfigs added in v0.0.29

func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpsertRequestConfigs

func (*IssueTriggerUpsertRequestConfigs) Accept added in v0.0.29

func (IssueTriggerUpsertRequestConfigs) MarshalJSON added in v0.0.29

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

func (*IssueTriggerUpsertRequestConfigs) UnmarshalJSON added in v0.0.29

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

type IssueTriggerUpsertRequestConfigsVisitor added in v0.0.29

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

type IssueType

type IssueType string

Issue type

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

func NewIssueTypeFromString added in v0.0.27

func NewIssueTypeFromString(s string) (IssueType, error)

func (IssueType) Ptr added in v0.0.27

func (i IssueType) Ptr() *IssueType

type IssueUpdateRequest added in v0.0.29

type IssueUpdateRequest struct {
	// New status
	Status IssueUpdateRequestStatus `json:"status,omitempty"`
}

type IssueUpdateRequestStatus added in v0.0.29

type IssueUpdateRequestStatus string

New status

const (
	IssueUpdateRequestStatusOpened       IssueUpdateRequestStatus = "OPENED"
	IssueUpdateRequestStatusIgnored      IssueUpdateRequestStatus = "IGNORED"
	IssueUpdateRequestStatusAcknowledged IssueUpdateRequestStatus = "ACKNOWLEDGED"
	IssueUpdateRequestStatusResolved     IssueUpdateRequestStatus = "RESOLVED"
)

func NewIssueUpdateRequestStatusFromString added in v0.0.29

func NewIssueUpdateRequestStatusFromString(s string) (IssueUpdateRequestStatus, error)

func (IssueUpdateRequestStatus) Ptr added in v0.0.29

type IssueVisitor

type IssueVisitor interface {
	VisitDelivery(*DeliveryIssue) error
	VisitTransformation(*TransformationIssue) error
}

type IssueWithData

type IssueWithData struct {
	Type           string
	Delivery       *DeliveryIssueWithData
	Transformation *TransformationIssueWithData
}

func NewIssueWithDataFromDelivery added in v0.0.33

func NewIssueWithDataFromDelivery(value *DeliveryIssueWithData) *IssueWithData

func NewIssueWithDataFromTransformation added in v0.0.33

func NewIssueWithDataFromTransformation(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 {
	VisitDelivery(*DeliveryIssueWithData) error
	VisitTransformation(*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 NotFoundError

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

func (*NotFoundError) MarshalJSON

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

func (*NotFoundError) UnmarshalJSON

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

func (*NotFoundError) Unwrap added in v0.0.28

func (n *NotFoundError) Unwrap() error

type NotificationUpdateRequest added in v0.0.29

type NotificationUpdateRequest struct {
	// Enable or disable webhook notifications on the workspace
	Enabled *core.Optional[bool] `json:"enabled,omitempty"`
	// List of topics to send notifications for
	Topics *core.Optional[[]TopicsValue] `json:"topics,omitempty"`
	// The Hookdeck Source to send the webhook to
	SourceId *core.Optional[string] `json:"source_id,omitempty"`
}

type OrderByDirection

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

func NewOrderByDirectionFromString added in v0.0.27

func NewOrderByDirectionFromString(s string) (OrderByDirection, error)

func (OrderByDirection) Ptr added in v0.0.27

type RawBody

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

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 RequestBulkRetryCreateRequest added in v0.0.29

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

type RequestBulkRetryCreateRequestQuery added in v0.0.29

type RequestBulkRetryCreateRequestQuery struct {
	// Filter by requests IDs
	Id *RequestBulkRetryCreateRequestQueryId `json:"id,omitempty"`
	// Filter by status
	Status *RequestBulkRetryCreateRequestQueryStatus `json:"status,omitempty"`
	// Filter by rejection cause
	RejectionCause *RequestBulkRetryCreateRequestQueryRejectionCause `json:"rejection_cause,omitempty"`
	// Filter by source IDs
	SourceId *RequestBulkRetryCreateRequestQuerySourceId `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 *RequestBulkRetryCreateRequestQueryHeaders `json:"headers,omitempty"`
	// URL Encoded string of the JSON to match to the data body
	Body *RequestBulkRetryCreateRequestQueryBody `json:"body,omitempty"`
	// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
	ParsedQuery *RequestBulkRetryCreateRequestQueryParsedQuery `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 *RequestBulkRetryCreateRequestQueryIgnoredCount `json:"ignored_count,omitempty"`
	// Filter by count of events
	EventsCount *RequestBulkRetryCreateRequestQueryEventsCount `json:"events_count,omitempty"`
	// Filter by event ingested date
	IngestedAt  *RequestBulkRetryCreateRequestQueryIngestedAt  `json:"ingested_at,omitempty"`
	BulkRetryId *RequestBulkRetryCreateRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}

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

type RequestBulkRetryCreateRequestQueryBody added in v0.0.29

type RequestBulkRetryCreateRequestQueryBody struct {
	String                                    string
	RequestBulkRetryCreateRequestQueryBodyOne *RequestBulkRetryCreateRequestQueryBodyOne
	// contains filtered or unexported fields
}

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

func NewRequestBulkRetryCreateRequestQueryBodyFromRequestBulkRetryCreateRequestQueryBodyOne added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryBodyFromRequestBulkRetryCreateRequestQueryBodyOne(value *RequestBulkRetryCreateRequestQueryBodyOne) *RequestBulkRetryCreateRequestQueryBody

func NewRequestBulkRetryCreateRequestQueryBodyFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryBodyFromString(value string) *RequestBulkRetryCreateRequestQueryBody

func (*RequestBulkRetryCreateRequestQueryBody) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryBody) MarshalJSON added in v0.0.29

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

func (*RequestBulkRetryCreateRequestQueryBody) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryBodyOne added in v0.0.29

type RequestBulkRetryCreateRequestQueryBodyOne struct {
}

type RequestBulkRetryCreateRequestQueryBodyVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryBodyVisitor interface {
	VisitString(string) error
	VisitRequestBulkRetryCreateRequestQueryBodyOne(*RequestBulkRetryCreateRequestQueryBodyOne) error
}

type RequestBulkRetryCreateRequestQueryBulkRetryId added in v0.0.29

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

func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromString(value string) *RequestBulkRetryCreateRequestQueryBulkRetryId

func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromStringList added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromStringList(value []string) *RequestBulkRetryCreateRequestQueryBulkRetryId

func (*RequestBulkRetryCreateRequestQueryBulkRetryId) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryBulkRetryIdVisitor added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryEventsCount added in v0.0.29

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

Filter by count of events

func NewRequestBulkRetryCreateRequestQueryEventsCountFromInteger added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryEventsCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryEventsCount

func NewRequestBulkRetryCreateRequestQueryEventsCountFromIntegerList added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryEventsCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryEventsCount

func NewRequestBulkRetryCreateRequestQueryEventsCountFromRequestBulkRetryCreateRequestQueryEventsCountAll added in v0.0.36

func NewRequestBulkRetryCreateRequestQueryEventsCountFromRequestBulkRetryCreateRequestQueryEventsCountAll(value *RequestBulkRetryCreateRequestQueryEventsCountAll) *RequestBulkRetryCreateRequestQueryEventsCount

func (*RequestBulkRetryCreateRequestQueryEventsCount) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryEventsCount) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryEventsCount) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryEventsCountAll added in v0.0.36

type RequestBulkRetryCreateRequestQueryEventsCountAll 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"`
	All      *bool `json:"all,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type RequestBulkRetryCreateRequestQueryEventsCountVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryEventsCountVisitor interface {
	VisitInteger(int) error
	VisitRequestBulkRetryCreateRequestQueryEventsCountAll(*RequestBulkRetryCreateRequestQueryEventsCountAll) error
	VisitIntegerList([]int) error
}

type RequestBulkRetryCreateRequestQueryHeaders added in v0.0.29

type RequestBulkRetryCreateRequestQueryHeaders struct {
	String                                       string
	RequestBulkRetryCreateRequestQueryHeadersOne *RequestBulkRetryCreateRequestQueryHeadersOne
	// contains filtered or unexported fields
}

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

func NewRequestBulkRetryCreateRequestQueryHeadersFromRequestBulkRetryCreateRequestQueryHeadersOne added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryHeadersFromRequestBulkRetryCreateRequestQueryHeadersOne(value *RequestBulkRetryCreateRequestQueryHeadersOne) *RequestBulkRetryCreateRequestQueryHeaders

func NewRequestBulkRetryCreateRequestQueryHeadersFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryHeadersFromString(value string) *RequestBulkRetryCreateRequestQueryHeaders

func (*RequestBulkRetryCreateRequestQueryHeaders) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryHeaders) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryHeaders) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryHeadersOne added in v0.0.29

type RequestBulkRetryCreateRequestQueryHeadersOne struct {
}

type RequestBulkRetryCreateRequestQueryHeadersVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryHeadersVisitor interface {
	VisitString(string) error
	VisitRequestBulkRetryCreateRequestQueryHeadersOne(*RequestBulkRetryCreateRequestQueryHeadersOne) error
}

type RequestBulkRetryCreateRequestQueryId added in v0.0.29

type RequestBulkRetryCreateRequestQueryId struct {

	// Request ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by requests IDs

func NewRequestBulkRetryCreateRequestQueryIdFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIdFromString(value string) *RequestBulkRetryCreateRequestQueryId

func NewRequestBulkRetryCreateRequestQueryIdFromStringList added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIdFromStringList(value []string) *RequestBulkRetryCreateRequestQueryId

func (*RequestBulkRetryCreateRequestQueryId) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryId) MarshalJSON added in v0.0.29

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

func (*RequestBulkRetryCreateRequestQueryId) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryIdVisitor added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryIgnoredCount added in v0.0.29

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

Filter by count of ignored events

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromInteger added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryIgnoredCount

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromIntegerList added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryIgnoredCount

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromRequestBulkRetryCreateRequestQueryIgnoredCountAll added in v0.0.36

func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromRequestBulkRetryCreateRequestQueryIgnoredCountAll(value *RequestBulkRetryCreateRequestQueryIgnoredCountAll) *RequestBulkRetryCreateRequestQueryIgnoredCount

func (*RequestBulkRetryCreateRequestQueryIgnoredCount) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryIgnoredCount) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryIgnoredCount) UnmarshalJSON added in v0.0.29

type RequestBulkRetryCreateRequestQueryIgnoredCountAll added in v0.0.36

type RequestBulkRetryCreateRequestQueryIgnoredCountAll 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"`
	All      *bool `json:"all,omitempty"`
	Contains *int  `json:"contains,omitempty"`
}

type RequestBulkRetryCreateRequestQueryIgnoredCountVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryIgnoredCountVisitor interface {
	VisitInteger(int) error
	VisitRequestBulkRetryCreateRequestQueryIgnoredCountAll(*RequestBulkRetryCreateRequestQueryIgnoredCountAll) error
	VisitIntegerList([]int) error
}

type RequestBulkRetryCreateRequestQueryIngestedAt added in v0.0.29

type RequestBulkRetryCreateRequestQueryIngestedAt struct {
	DateTime                                        time.Time
	RequestBulkRetryCreateRequestQueryIngestedAtAny *RequestBulkRetryCreateRequestQueryIngestedAtAny
	// contains filtered or unexported fields
}

Filter by event ingested date

func NewRequestBulkRetryCreateRequestQueryIngestedAtFromDateTime added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIngestedAtFromDateTime(value time.Time) *RequestBulkRetryCreateRequestQueryIngestedAt

func NewRequestBulkRetryCreateRequestQueryIngestedAtFromRequestBulkRetryCreateRequestQueryIngestedAtAny added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryIngestedAtFromRequestBulkRetryCreateRequestQueryIngestedAtAny(value *RequestBulkRetryCreateRequestQueryIngestedAtAny) *RequestBulkRetryCreateRequestQueryIngestedAt

func (*RequestBulkRetryCreateRequestQueryIngestedAt) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryIngestedAt) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryIngestedAt) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryIngestedAtAny added in v0.0.29

type RequestBulkRetryCreateRequestQueryIngestedAtAny 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 RequestBulkRetryCreateRequestQueryIngestedAtVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryIngestedAtVisitor interface {
	VisitDateTime(time.Time) error
	VisitRequestBulkRetryCreateRequestQueryIngestedAtAny(*RequestBulkRetryCreateRequestQueryIngestedAtAny) error
}

type RequestBulkRetryCreateRequestQueryParsedQuery added in v0.0.29

type RequestBulkRetryCreateRequestQueryParsedQuery struct {
	String                                           string
	RequestBulkRetryCreateRequestQueryParsedQueryOne *RequestBulkRetryCreateRequestQueryParsedQueryOne
	// contains filtered or unexported fields
}

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

func NewRequestBulkRetryCreateRequestQueryParsedQueryFromRequestBulkRetryCreateRequestQueryParsedQueryOne added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryParsedQueryFromRequestBulkRetryCreateRequestQueryParsedQueryOne(value *RequestBulkRetryCreateRequestQueryParsedQueryOne) *RequestBulkRetryCreateRequestQueryParsedQuery

func NewRequestBulkRetryCreateRequestQueryParsedQueryFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryParsedQueryFromString(value string) *RequestBulkRetryCreateRequestQueryParsedQuery

func (*RequestBulkRetryCreateRequestQueryParsedQuery) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryParsedQuery) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryParsedQueryOne added in v0.0.29

type RequestBulkRetryCreateRequestQueryParsedQueryOne struct {
}

type RequestBulkRetryCreateRequestQueryParsedQueryVisitor added in v0.0.29

type RequestBulkRetryCreateRequestQueryParsedQueryVisitor interface {
	VisitString(string) error
	VisitRequestBulkRetryCreateRequestQueryParsedQueryOne(*RequestBulkRetryCreateRequestQueryParsedQueryOne) error
}

type RequestBulkRetryCreateRequestQueryRejectionCause added in v0.0.29

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

Filter by rejection cause

func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCause added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause

func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCauseList added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause

func (*RequestBulkRetryCreateRequestQueryRejectionCause) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQueryRejectionCause) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQueryRejectionCause) UnmarshalJSON added in v0.0.29

type RequestBulkRetryCreateRequestQueryRejectionCauseVisitor added in v0.0.29

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

type RequestBulkRetryCreateRequestQuerySourceId added in v0.0.29

type RequestBulkRetryCreateRequestQuerySourceId struct {

	// Source ID
	String     string
	StringList []string
	// contains filtered or unexported fields
}

Filter by source IDs

func NewRequestBulkRetryCreateRequestQuerySourceIdFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQuerySourceIdFromString(value string) *RequestBulkRetryCreateRequestQuerySourceId

func NewRequestBulkRetryCreateRequestQuerySourceIdFromStringList added in v0.0.29

func NewRequestBulkRetryCreateRequestQuerySourceIdFromStringList(value []string) *RequestBulkRetryCreateRequestQuerySourceId

func (*RequestBulkRetryCreateRequestQuerySourceId) Accept added in v0.0.29

func (RequestBulkRetryCreateRequestQuerySourceId) MarshalJSON added in v0.0.29

func (*RequestBulkRetryCreateRequestQuerySourceId) UnmarshalJSON added in v0.0.29

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

type RequestBulkRetryCreateRequestQuerySourceIdVisitor added in v0.0.29

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

type RequestBulkRetryCreateRequestQueryStatus added in v0.0.29

type RequestBulkRetryCreateRequestQueryStatus string

Filter by status

const (
	RequestBulkRetryCreateRequestQueryStatusAccepted RequestBulkRetryCreateRequestQueryStatus = "accepted"
	RequestBulkRetryCreateRequestQueryStatusRejected RequestBulkRetryCreateRequestQueryStatus = "rejected"
)

func NewRequestBulkRetryCreateRequestQueryStatusFromString added in v0.0.29

func NewRequestBulkRetryCreateRequestQueryStatusFromString(s string) (RequestBulkRetryCreateRequestQueryStatus, error)

func (RequestBulkRetryCreateRequestQueryStatus) Ptr added in v0.0.29

type RequestBulkRetryListRequest added in v0.0.29

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

type RequestBulkRetryListRequestDir added in v0.0.29

type RequestBulkRetryListRequestDir string
const (
	RequestBulkRetryListRequestDirAsc  RequestBulkRetryListRequestDir = "asc"
	RequestBulkRetryListRequestDirDesc RequestBulkRetryListRequestDir = "desc"
)

func NewRequestBulkRetryListRequestDirFromString added in v0.0.29

func NewRequestBulkRetryListRequestDirFromString(s string) (RequestBulkRetryListRequestDir, error)

func (RequestBulkRetryListRequestDir) Ptr added in v0.0.29

type RequestBulkRetryListRequestOrderBy added in v0.0.36

type RequestBulkRetryListRequestOrderBy string
const (
	RequestBulkRetryListRequestOrderByCreatedAt RequestBulkRetryListRequestOrderBy = "created_at"
)

func NewRequestBulkRetryListRequestOrderByFromString added in v0.0.36

func NewRequestBulkRetryListRequestOrderByFromString(s string) (RequestBulkRetryListRequestOrderBy, error)

func (RequestBulkRetryListRequestOrderBy) Ptr added in v0.0.36

type RequestBulkRetryPlanResponse added in v0.0.29

type RequestBulkRetryPlanResponse 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 RequestIngestPriority

type RequestIngestPriority string

The priority attributed to the request when received

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

func NewRequestIngestPriorityFromString added in v0.0.27

func NewRequestIngestPriorityFromString(s string) (RequestIngestPriority, error)

func (RequestIngestPriority) Ptr added in v0.0.27

type RequestListEventRequest added in v0.0.29

type RequestListEventRequest 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        *RequestListEventRequestOrderBy `json:"-"`
	Dir            *RequestListEventRequestDir     `json:"-"`
	Limit          *int                            `json:"-"`
	Next           *string                         `json:"-"`
	Prev           *string                         `json:"-"`
}

type RequestListEventRequestDir added in v0.0.29

type RequestListEventRequestDir string

Sort direction

const (
	RequestListEventRequestDirAsc  RequestListEventRequestDir = "asc"
	RequestListEventRequestDirDesc RequestListEventRequestDir = "desc"
)

func NewRequestListEventRequestDirFromString added in v0.0.29

func NewRequestListEventRequestDirFromString(s string) (RequestListEventRequestDir, error)

func (RequestListEventRequestDir) Ptr added in v0.0.29

type RequestListEventRequestOrderBy added in v0.0.29

type RequestListEventRequestOrderBy string

Sort key

const (
	RequestListEventRequestOrderByLastAttemptAt RequestListEventRequestOrderBy = "last_attempt_at"
	RequestListEventRequestOrderByCreatedAt     RequestListEventRequestOrderBy = "created_at"
)

func NewRequestListEventRequestOrderByFromString added in v0.0.29

func NewRequestListEventRequestOrderByFromString(s string) (RequestListEventRequestOrderBy, error)

func (RequestListEventRequestOrderBy) Ptr added in v0.0.29

type RequestListIgnoredEventRequest added in v0.0.29

type RequestListIgnoredEventRequest struct {
	Id      *string                                `json:"-"`
	OrderBy *RequestListIgnoredEventRequestOrderBy `json:"-"`
	Dir     *RequestListIgnoredEventRequestDir     `json:"-"`
	Limit   *int                                   `json:"-"`
	Next    *string                                `json:"-"`
	Prev    *string                                `json:"-"`
}

type RequestListIgnoredEventRequestDir added in v0.0.29

type RequestListIgnoredEventRequestDir string
const (
	RequestListIgnoredEventRequestDirAsc  RequestListIgnoredEventRequestDir = "asc"
	RequestListIgnoredEventRequestDirDesc RequestListIgnoredEventRequestDir = "desc"
)

func NewRequestListIgnoredEventRequestDirFromString added in v0.0.29

func NewRequestListIgnoredEventRequestDirFromString(s string) (RequestListIgnoredEventRequestDir, error)

func (RequestListIgnoredEventRequestDir) Ptr added in v0.0.29

type RequestListIgnoredEventRequestOrderBy added in v0.0.36

type RequestListIgnoredEventRequestOrderBy string
const (
	RequestListIgnoredEventRequestOrderByCreatedAt RequestListIgnoredEventRequestOrderBy = "created_at"
)

func NewRequestListIgnoredEventRequestOrderByFromString added in v0.0.36

func NewRequestListIgnoredEventRequestOrderByFromString(s string) (RequestListIgnoredEventRequestOrderBy, error)

func (RequestListIgnoredEventRequestOrderBy) Ptr added in v0.0.36

type RequestListRequest added in v0.0.29

type RequestListRequest struct {
	Id             *string                    `json:"-"`
	Status         *RequestListRequestStatus  `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        *RequestListRequestOrderBy `json:"-"`
	Dir            *RequestListRequestDir     `json:"-"`
	Limit          *int                       `json:"-"`
	Next           *string                    `json:"-"`
	Prev           *string                    `json:"-"`
}

type RequestListRequestDir added in v0.0.29

type RequestListRequestDir string

Sort direction

const (
	RequestListRequestDirAsc  RequestListRequestDir = "asc"
	RequestListRequestDirDesc RequestListRequestDir = "desc"
)

func NewRequestListRequestDirFromString added in v0.0.29

func NewRequestListRequestDirFromString(s string) (RequestListRequestDir, error)

func (RequestListRequestDir) Ptr added in v0.0.29

type RequestListRequestOrderBy added in v0.0.29

type RequestListRequestOrderBy string

Sort key

const (
	RequestListRequestOrderByIngestedAt RequestListRequestOrderBy = "ingested_at"
	RequestListRequestOrderByCreatedAt  RequestListRequestOrderBy = "created_at"
)

func NewRequestListRequestOrderByFromString added in v0.0.29

func NewRequestListRequestOrderByFromString(s string) (RequestListRequestOrderBy, error)

func (RequestListRequestOrderBy) Ptr added in v0.0.29

type RequestListRequestStatus added in v0.0.29

type RequestListRequestStatus string

Filter by status

const (
	RequestListRequestStatusAccepted RequestListRequestStatus = "accepted"
	RequestListRequestStatusRejected RequestListRequestStatus = "rejected"
)

func NewRequestListRequestStatusFromString added in v0.0.29

func NewRequestListRequestStatusFromString(s string) (RequestListRequestStatus, error)

func (RequestListRequestStatus) Ptr added in v0.0.29

type RequestPaginatedResult

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

type RequestRejectionCause

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

func NewRequestRejectionCauseFromString added in v0.0.27

func NewRequestRejectionCauseFromString(s string) (RequestRejectionCause, error)

func (RequestRejectionCause) Ptr added in v0.0.27

type RequestRetryRequest added in v0.0.29

type RequestRetryRequest 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 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 RetryRule

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

func (*RetryRule) MarshalJSON

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

func (*RetryRule) Type

func (r *RetryRule) Type() string

func (*RetryRule) UnmarshalJSON

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

type RetryStrategy

type RetryStrategy string

Algorithm to use when calculating delay between retries

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

func NewRetryStrategyFromString added in v0.0.27

func NewRetryStrategyFromString(s string) (RetryStrategy, error)

func (RetryStrategy) Ptr added in v0.0.27

func (r RetryStrategy) Ptr() *RetryStrategy

type Rule

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

func NewRuleFromDelayRule

func NewRuleFromDelayRule(value *DelayRule) *Rule

func NewRuleFromFilterRule

func NewRuleFromFilterRule(value *FilterRule) *Rule

func NewRuleFromRetryRule

func NewRuleFromRetryRule(value *RetryRule) *Rule

func NewRuleFromTransformRule

func NewRuleFromTransformRule(value *TransformRule) *Rule

func (*Rule) Accept

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

func (Rule) MarshalJSON

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

func (*Rule) UnmarshalJSON

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

type RuleVisitor

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

type SeekPagination

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

type SeekPaginationDir

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

func NewSeekPaginationDirFromOrderByDirection

func NewSeekPaginationDirFromOrderByDirection(value OrderByDirection) *SeekPaginationDir

func NewSeekPaginationDirFromOrderByDirectionList

func NewSeekPaginationDirFromOrderByDirectionList(value []OrderByDirection) *SeekPaginationDir

func (*SeekPaginationDir) Accept

func (SeekPaginationDir) MarshalJSON

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

func (*SeekPaginationDir) UnmarshalJSON

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

type SeekPaginationDirVisitor

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

type SeekPaginationOrderBy

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

func NewSeekPaginationOrderByFromString

func NewSeekPaginationOrderByFromString(value string) *SeekPaginationOrderBy

func NewSeekPaginationOrderByFromStringList

func NewSeekPaginationOrderByFromStringList(value []string) *SeekPaginationOrderBy

func (*SeekPaginationOrderBy) Accept

func (SeekPaginationOrderBy) MarshalJSON

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

func (*SeekPaginationOrderBy) UnmarshalJSON

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

type SeekPaginationOrderByVisitor

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

type ShopifyIntegrationConfigs

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

type ShopifyIntegrationConfigsRateLimitPeriod

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

func NewShopifyIntegrationConfigsRateLimitPeriodFromString added in v0.0.27

func NewShopifyIntegrationConfigsRateLimitPeriodFromString(s string) (ShopifyIntegrationConfigsRateLimitPeriod, error)

func (ShopifyIntegrationConfigsRateLimitPeriod) Ptr added in v0.0.27

type ShortEventData

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

Request data

type ShortEventDataBody

type ShortEventDataBody struct {
	String                string
	ShortEventDataBodyOne *ShortEventDataBodyOne
	UnknownList           []interface{}
	// 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 []interface{}) *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([]interface{}) error
}

type ShortEventDataHeaders

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

JSON representation of the headers

func NewShortEventDataHeadersFromString

func NewShortEventDataHeadersFromString(value string) *ShortEventDataHeaders

func NewShortEventDataHeadersFromStringStringOptionalMap

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

func (*ShortEventDataHeaders) Accept

func (ShortEventDataHeaders) MarshalJSON

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

func (*ShortEventDataHeaders) UnmarshalJSON

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

type ShortEventDataHeadersVisitor

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

type ShortEventDataParsedQuery

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

JSON representation of query params

func NewShortEventDataParsedQueryFromShortEventDataParsedQueryOne

func NewShortEventDataParsedQueryFromShortEventDataParsedQueryOne(value *ShortEventDataParsedQueryOne) *ShortEventDataParsedQuery

func NewShortEventDataParsedQueryFromStringOptional

func NewShortEventDataParsedQueryFromStringOptional(value *string) *ShortEventDataParsedQuery

func (*ShortEventDataParsedQuery) Accept

func (ShortEventDataParsedQuery) MarshalJSON

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

func (*ShortEventDataParsedQuery) UnmarshalJSON

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

type ShortEventDataParsedQueryOne

type ShortEventDataParsedQueryOne struct {
}

type ShortEventDataParsedQueryVisitor

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

type Source

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

Associated Source(#source-object) object

type SourceAllowedHttpMethod

type SourceAllowedHttpMethod = []SourceAllowedHttpMethodItem

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

type SourceAllowedHttpMethodItem

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

func NewSourceAllowedHttpMethodItemFromString added in v0.0.27

func NewSourceAllowedHttpMethodItemFromString(s string) (SourceAllowedHttpMethodItem, error)

func (SourceAllowedHttpMethodItem) Ptr added in v0.0.27

type SourceCreateRequest added in v0.0.29

type SourceCreateRequest struct {
	// A unique name for the source
	Name string `json:"name"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type SourceCustomResponse

type SourceCustomResponse struct {
	ContentType SourceCustomResponseContentType `json:"content_type,omitempty"`
	// Body of the custom response
	Body string `json:"body"`
}

Custom response object

type SourceCustomResponseContentType

type SourceCustomResponseContentType string

Content type of the custom response

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

func NewSourceCustomResponseContentTypeFromString added in v0.0.27

func NewSourceCustomResponseContentTypeFromString(s string) (SourceCustomResponseContentType, error)

func (SourceCustomResponseContentType) Ptr added in v0.0.27

type SourceDeleteResponse added in v0.0.29

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

type SourceListRequest added in v0.0.29

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

type SourceListRequestDir added in v0.0.29

type SourceListRequestDir string
const (
	SourceListRequestDirAsc  SourceListRequestDir = "asc"
	SourceListRequestDirDesc SourceListRequestDir = "desc"
)

func NewSourceListRequestDirFromString added in v0.0.29

func NewSourceListRequestDirFromString(s string) (SourceListRequestDir, error)

func (SourceListRequestDir) Ptr added in v0.0.29

type SourceListRequestOrderBy added in v0.0.36

type SourceListRequestOrderBy string
const (
	SourceListRequestOrderByCreatedAt SourceListRequestOrderBy = "created_at"
)

func NewSourceListRequestOrderByFromString added in v0.0.36

func NewSourceListRequestOrderByFromString(s string) (SourceListRequestOrderBy, error)

func (SourceListRequestOrderBy) Ptr added in v0.0.36

type SourcePaginatedResult

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

type SourceRetrieveRequest added in v0.0.29

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

type SourceUpdateRequest added in v0.0.29

type SourceUpdateRequest struct {
	// A unique name for the source
	Name *core.Optional[string] `json:"name,omitempty"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type SourceUpsertRequest added in v0.0.29

type SourceUpsertRequest struct {
	// A unique name for the source
	Name string `json:"name"`
	// Description for the source
	Description        *core.Optional[string]                  `json:"description,omitempty"`
	AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
	CustomResponse     *core.Optional[SourceCustomResponse]    `json:"custom_response,omitempty"`
	Verification       *core.Optional[VerificationConfig]      `json:"verification,omitempty"`
}

type ToggleWebhookNotifications

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

type TopicsValue

type TopicsValue string

Supported topics

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

func NewTopicsValueFromString added in v0.0.27

func NewTopicsValueFromString(s string) (TopicsValue, error)

func (TopicsValue) Ptr added in v0.0.27

func (t TopicsValue) Ptr() *TopicsValue

type TransformFull

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

func (*TransformFull) MarshalJSON

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

func (*TransformFull) Type

func (t *TransformFull) Type() string

func (*TransformFull) UnmarshalJSON

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

type TransformFullTransformation

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

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

type TransformReference

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

func (*TransformReference) MarshalJSON

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

func (*TransformReference) Type

func (t *TransformReference) Type() string

func (*TransformReference) UnmarshalJSON

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

type TransformRule

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

func NewTransformRuleFromTransformFull

func NewTransformRuleFromTransformFull(value *TransformFull) *TransformRule

func NewTransformRuleFromTransformReference

func NewTransformRuleFromTransformReference(value *TransformReference) *TransformRule

func (*TransformRule) Accept

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

func (TransformRule) MarshalJSON

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

func (*TransformRule) UnmarshalJSON

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

type TransformRuleVisitor

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

type Transformation

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

type TransformationCreateRequest added in v0.0.29

type TransformationCreateRequest struct {
	// A unique, human-friendly name for the transformation
	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 *core.Optional[map[string]string] `json:"env,omitempty"`
}

type TransformationExecution

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

type TransformationExecutionLogLevel

type TransformationExecutionLogLevel string

The minimum log level to open the issue on

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

func NewTransformationExecutionLogLevelFromString added in v0.0.27

func NewTransformationExecutionLogLevelFromString(s string) (TransformationExecutionLogLevel, error)

func (TransformationExecutionLogLevel) Ptr added in v0.0.27

type TransformationExecutionPaginatedResult

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

type TransformationExecutorOutput

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

type TransformationExecutorOutputRequest

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

type TransformationExecutorOutputRequestBody

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

func NewTransformationExecutorOutputRequestBodyFromStringOptional

func NewTransformationExecutorOutputRequestBodyFromStringOptional(value *string) *TransformationExecutorOutputRequestBody

func (*TransformationExecutorOutputRequestBody) Accept

func (TransformationExecutorOutputRequestBody) MarshalJSON

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

func (*TransformationExecutorOutputRequestBody) UnmarshalJSON

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

type TransformationExecutorOutputRequestBodyOne

type TransformationExecutorOutputRequestBodyOne struct {
}

type TransformationExecutorOutputRequestBodyVisitor

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

type TransformationExecutorOutputRequestHeaders

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

func NewTransformationExecutorOutputRequestHeadersFromString

func NewTransformationExecutorOutputRequestHeadersFromString(value string) *TransformationExecutorOutputRequestHeaders

func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap

func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap(value map[string]interface{}) *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]interface{}) 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"`
}

Transformation issue

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

Transformation issue

type TransformationListExecutionRequest added in v0.0.29

type TransformationListExecutionRequest struct {
	LogLevel  *TransformationListExecutionRequestLogLevel `json:"-"`
	WebhookId *string                                     `json:"-"`
	IssueId   *string                                     `json:"-"`
	CreatedAt *time.Time                                  `json:"-"`
	OrderBy   *TransformationListExecutionRequestOrderBy  `json:"-"`
	Dir       *TransformationListExecutionRequestDir      `json:"-"`
	Limit     *int                                        `json:"-"`
	Next      *string                                     `json:"-"`
	Prev      *string                                     `json:"-"`
}

type TransformationListExecutionRequestDir added in v0.0.29

type TransformationListExecutionRequestDir string
const (
	TransformationListExecutionRequestDirAsc  TransformationListExecutionRequestDir = "asc"
	TransformationListExecutionRequestDirDesc TransformationListExecutionRequestDir = "desc"
)

func NewTransformationListExecutionRequestDirFromString added in v0.0.29

func NewTransformationListExecutionRequestDirFromString(s string) (TransformationListExecutionRequestDir, error)

func (TransformationListExecutionRequestDir) Ptr added in v0.0.29

type TransformationListExecutionRequestLogLevel added in v0.0.29

type TransformationListExecutionRequestLogLevel string
const (
	TransformationListExecutionRequestLogLevelDebug TransformationListExecutionRequestLogLevel = "debug"
	TransformationListExecutionRequestLogLevelInfo  TransformationListExecutionRequestLogLevel = "info"
	TransformationListExecutionRequestLogLevelWarn  TransformationListExecutionRequestLogLevel = "warn"
	TransformationListExecutionRequestLogLevelError TransformationListExecutionRequestLogLevel = "error"
	TransformationListExecutionRequestLogLevelFatal TransformationListExecutionRequestLogLevel = "fatal"
)

func NewTransformationListExecutionRequestLogLevelFromString added in v0.0.29

func NewTransformationListExecutionRequestLogLevelFromString(s string) (TransformationListExecutionRequestLogLevel, error)

func (TransformationListExecutionRequestLogLevel) Ptr added in v0.0.29

type TransformationListExecutionRequestOrderBy added in v0.0.36

type TransformationListExecutionRequestOrderBy string
const (
	TransformationListExecutionRequestOrderByCreatedAt TransformationListExecutionRequestOrderBy = "created_at"
)

func NewTransformationListExecutionRequestOrderByFromString added in v0.0.36

func NewTransformationListExecutionRequestOrderByFromString(s string) (TransformationListExecutionRequestOrderBy, error)

func (TransformationListExecutionRequestOrderBy) Ptr added in v0.0.36

type TransformationListRequest added in v0.0.29

type TransformationListRequest struct {
	Id      *string                           `json:"-"`
	Name    *string                           `json:"-"`
	OrderBy *TransformationListRequestOrderBy `json:"-"`
	Dir     *TransformationListRequestDir     `json:"-"`
	Limit   *int                              `json:"-"`
	Next    *string                           `json:"-"`
	Prev    *string                           `json:"-"`
}

type TransformationListRequestDir added in v0.0.29

type TransformationListRequestDir string
const (
	TransformationListRequestDirAsc  TransformationListRequestDir = "asc"
	TransformationListRequestDirDesc TransformationListRequestDir = "desc"
)

func NewTransformationListRequestDirFromString added in v0.0.29

func NewTransformationListRequestDirFromString(s string) (TransformationListRequestDir, error)

func (TransformationListRequestDir) Ptr added in v0.0.29

type TransformationListRequestOrderBy added in v0.0.36

type TransformationListRequestOrderBy string
const (
	TransformationListRequestOrderByCreatedAt TransformationListRequestOrderBy = "created_at"
)

func NewTransformationListRequestOrderByFromString added in v0.0.36

func NewTransformationListRequestOrderByFromString(s string) (TransformationListRequestOrderBy, error)

func (TransformationListRequestOrderBy) Ptr added in v0.0.36

type TransformationPaginatedResult

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

type TransformationRunRequest added in v0.0.29

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

type TransformationRunRequestRequest added in v0.0.29

type TransformationRunRequestRequest struct {
	// Headers of the request
	Headers map[string]string `json:"headers,omitempty"`
	// Body of the request
	Body *TransformationRunRequestRequestBody `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 *TransformationRunRequestRequestParsedQuery `json:"parsed_query,omitempty"`
}

Request input to use for the transformation execution

type TransformationRunRequestRequestBody added in v0.0.29

type TransformationRunRequestRequestBody struct {
	TransformationRunRequestRequestBodyZero *TransformationRunRequestRequestBodyZero
	String                                  string
	// contains filtered or unexported fields
}

Body of the request

func NewTransformationRunRequestRequestBodyFromString added in v0.0.29

func NewTransformationRunRequestRequestBodyFromString(value string) *TransformationRunRequestRequestBody

func NewTransformationRunRequestRequestBodyFromTransformationRunRequestRequestBodyZero added in v0.0.29

func NewTransformationRunRequestRequestBodyFromTransformationRunRequestRequestBodyZero(value *TransformationRunRequestRequestBodyZero) *TransformationRunRequestRequestBody

func (*TransformationRunRequestRequestBody) Accept added in v0.0.29

func (TransformationRunRequestRequestBody) MarshalJSON added in v0.0.29

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

func (*TransformationRunRequestRequestBody) UnmarshalJSON added in v0.0.29

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

type TransformationRunRequestRequestBodyVisitor added in v0.0.29

type TransformationRunRequestRequestBodyVisitor interface {
	VisitTransformationRunRequestRequestBodyZero(*TransformationRunRequestRequestBodyZero) error
	VisitString(string) error
}

type TransformationRunRequestRequestBodyZero added in v0.0.29

type TransformationRunRequestRequestBodyZero struct {
}

type TransformationRunRequestRequestParsedQuery added in v0.0.29

type TransformationRunRequestRequestParsedQuery struct {
}

JSON representation of the query params

type TransformationUpdateRequest added in v0.0.29

type TransformationUpdateRequest struct {
	// A unique, human-friendly name for the transformation
	Name *core.Optional[string] `json:"name,omitempty"`
	// JavaScript code to be executed
	Code *core.Optional[string] `json:"code,omitempty"`
	// Key-value environment variables to be passed to the transformation
	Env *core.Optional[map[string]string] `json:"env,omitempty"`
}

type TransformationUpsertRequest added in v0.0.29

type TransformationUpsertRequest struct {
	// A unique, human-friendly name for the transformation
	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 *core.Optional[map[string]string] `json:"env,omitempty"`
}

type UnprocessableEntityError

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

func (*UnprocessableEntityError) MarshalJSON

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

func (*UnprocessableEntityError) UnmarshalJSON

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

func (*UnprocessableEntityError) Unwrap added in v0.0.28

func (u *UnprocessableEntityError) Unwrap() error

type Verification3DEye added in v0.0.29

type Verification3DEye struct {
	Configs *Verification3DEyeConfigs `json:"configs,omitempty"`
}

type Verification3DEyeConfigs added in v0.0.29

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

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

type VerificationAdyen added in v0.0.29

type VerificationAdyen struct {
	Configs *VerificationAdyenConfigs `json:"configs,omitempty"`
}

type VerificationAdyenConfigs added in v0.0.29

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

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

type VerificationAkeneo added in v0.0.29

type VerificationAkeneo struct {
	Configs *VerificationAkeneoConfigs `json:"configs,omitempty"`
}

type VerificationAkeneoConfigs added in v0.0.29

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

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

type VerificationApiKey added in v0.0.29

type VerificationApiKey struct {
	Configs *VerificationApiKeyConfigs `json:"configs,omitempty"`
}

type VerificationApiKeyConfigs added in v0.0.29

type VerificationApiKeyConfigs 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 VerificationAwssns added in v0.0.29

type VerificationAwssns struct {
	Configs *VerificationAwssnsConfigs `json:"configs,omitempty"`
}

type VerificationAwssnsConfigs added in v0.0.29

type VerificationAwssnsConfigs struct {
}

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

type VerificationBasicAuth added in v0.0.29

type VerificationBasicAuth struct {
	Configs *VerificationBasicAuthConfigs `json:"configs,omitempty"`
}

type VerificationBasicAuthConfigs added in v0.0.29

type VerificationBasicAuthConfigs 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 VerificationCloudSignal added in v0.0.36

type VerificationCloudSignal struct {
	Configs *VerificationCloudSignalConfigs `json:"configs,omitempty"`
}

type VerificationCloudSignalConfigs added in v0.0.36

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

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

type VerificationCommercelayer added in v0.0.29

type VerificationCommercelayer struct {
	Configs *VerificationCommercelayerConfigs `json:"configs,omitempty"`
}

type VerificationCommercelayerConfigs added in v0.0.29

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

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

type VerificationConfig

The verification configs for the specific verification type

func NewVerificationConfigFromAdyen

func NewVerificationConfigFromAdyen(value *VerificationAdyen) *VerificationConfig

func NewVerificationConfigFromAkeneo

func NewVerificationConfigFromAkeneo(value *VerificationAkeneo) *VerificationConfig

func NewVerificationConfigFromApiKey

func NewVerificationConfigFromApiKey(value *VerificationApiKey) *VerificationConfig

func NewVerificationConfigFromAwsSns

func NewVerificationConfigFromAwsSns(value *VerificationAwssns) *VerificationConfig

func NewVerificationConfigFromBasicAuth

func NewVerificationConfigFromBasicAuth(value *VerificationBasicAuth) *VerificationConfig

func NewVerificationConfigFromCloudsignal added in v0.0.36

func NewVerificationConfigFromCloudsignal(value *VerificationCloudSignal) *VerificationConfig

func NewVerificationConfigFromCommercelayer

func NewVerificationConfigFromCommercelayer(value *VerificationCommercelayer) *VerificationConfig

func NewVerificationConfigFromCourier added in v0.0.36

func NewVerificationConfigFromCourier(value *VerificationCourier) *VerificationConfig

func NewVerificationConfigFromFavro added in v0.0.36

func NewVerificationConfigFromFavro(value *VerificationFavro) *VerificationConfig

func NewVerificationConfigFromGithub added in v0.0.33

func NewVerificationConfigFromGithub(value *VerificationGitHub) *VerificationConfig

func NewVerificationConfigFromGitlab added in v0.0.33

func NewVerificationConfigFromGitlab(value *VerificationGitLab) *VerificationConfig

func NewVerificationConfigFromHmac

func NewVerificationConfigFromHmac(value *VerificationHmac) *VerificationConfig

func NewVerificationConfigFromHubspot added in v0.0.36

func NewVerificationConfigFromHubspot(value *VerificationHubspot) *VerificationConfig

func NewVerificationConfigFromMailgun

func NewVerificationConfigFromMailgun(value *VerificationMailgun) *VerificationConfig

func NewVerificationConfigFromNmi added in v0.0.36

func NewVerificationConfigFromNmi(value *VerificationNmiPaymentGateway) *VerificationConfig

func NewVerificationConfigFromOura

func NewVerificationConfigFromOura(value *VerificationOura) *VerificationConfig

func NewVerificationConfigFromPersona added in v0.0.36

func NewVerificationConfigFromPersona(value *VerificationPersona) *VerificationConfig

func NewVerificationConfigFromPipedrive

func NewVerificationConfigFromPipedrive(value *VerificationPipedrive) *VerificationConfig

func NewVerificationConfigFromPostmark

func NewVerificationConfigFromPostmark(value *VerificationPostmark) *VerificationConfig

func NewVerificationConfigFromPropertyFinder

func NewVerificationConfigFromPropertyFinder(value *VerificationPropertyFinder) *VerificationConfig

func NewVerificationConfigFromRecharge

func NewVerificationConfigFromRecharge(value *VerificationRecharge) *VerificationConfig

func NewVerificationConfigFromRepay added in v0.0.36

func NewVerificationConfigFromRepay(value *VerificationRepay) *VerificationConfig

func NewVerificationConfigFromSanity added in v0.0.36

func NewVerificationConfigFromSanity(value *VerificationSanity) *VerificationConfig

func NewVerificationConfigFromSendgrid added in v0.0.33

func NewVerificationConfigFromSendgrid(value *VerificationSendGrid) *VerificationConfig

func NewVerificationConfigFromShopify

func NewVerificationConfigFromShopify(value *VerificationShopify) *VerificationConfig

func NewVerificationConfigFromSolidgate added in v0.0.36

func NewVerificationConfigFromSolidgate(value *VerificationSolidGate) *VerificationConfig

func NewVerificationConfigFromSquare added in v0.0.36

func NewVerificationConfigFromSquare(value *VerificationSquare) *VerificationConfig

func NewVerificationConfigFromStripe

func NewVerificationConfigFromStripe(value *VerificationStripe) *VerificationConfig

func NewVerificationConfigFromSvix

func NewVerificationConfigFromSvix(value *VerificationSvix) *VerificationConfig

func NewVerificationConfigFromSynctera

func NewVerificationConfigFromSynctera(value *VerificationSynctera) *VerificationConfig

func NewVerificationConfigFromThreeDEye

func NewVerificationConfigFromThreeDEye(value *Verification3DEye) *VerificationConfig

func NewVerificationConfigFromTrello added in v0.0.36

func NewVerificationConfigFromTrello(value *VerificationTrello) *VerificationConfig

func NewVerificationConfigFromTwilio added in v0.0.36

func NewVerificationConfigFromTwilio(value *VerificationTwilio) *VerificationConfig

func NewVerificationConfigFromTwitch added in v0.0.36

func NewVerificationConfigFromTwitch(value *VerificationTwitch) *VerificationConfig

func NewVerificationConfigFromTwitter

func NewVerificationConfigFromTwitter(value *VerificationTwitter) *VerificationConfig

func NewVerificationConfigFromTypeform

func NewVerificationConfigFromTypeform(value *VerificationTypeform) *VerificationConfig

func NewVerificationConfigFromWix added in v0.0.36

func NewVerificationConfigFromWix(value *VerificationWix) *VerificationConfig

func NewVerificationConfigFromWoocommerce added in v0.0.33

func NewVerificationConfigFromWoocommerce(value *VerificationWooCommerce) *VerificationConfig

func NewVerificationConfigFromWorkos added in v0.0.33

func NewVerificationConfigFromWorkos(value *VerificationWorkOs) *VerificationConfig

func NewVerificationConfigFromXero

func NewVerificationConfigFromXero(value *VerificationXero) *VerificationConfig

func NewVerificationConfigFromZoom

func NewVerificationConfigFromZoom(value *VerificationZoom) *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(*VerificationHmac) error
	VisitBasicAuth(*VerificationBasicAuth) error
	VisitApiKey(*VerificationApiKey) error
	VisitCloudsignal(*VerificationCloudSignal) error
	VisitCourier(*VerificationCourier) error
	VisitTwitter(*VerificationTwitter) error
	VisitStripe(*VerificationStripe) error
	VisitRecharge(*VerificationRecharge) error
	VisitTwilio(*VerificationTwilio) error
	VisitGithub(*VerificationGitHub) error
	VisitShopify(*VerificationShopify) error
	VisitPostmark(*VerificationPostmark) error
	VisitTypeform(*VerificationTypeform) error
	VisitXero(*VerificationXero) error
	VisitSvix(*VerificationSvix) error
	VisitZoom(*VerificationZoom) error
	VisitAkeneo(*VerificationAkeneo) error
	VisitAdyen(*VerificationAdyen) error
	VisitGitlab(*VerificationGitLab) error
	VisitPropertyFinder(*VerificationPropertyFinder) error
	VisitWoocommerce(*VerificationWooCommerce) error
	VisitOura(*VerificationOura) error
	VisitCommercelayer(*VerificationCommercelayer) error
	VisitHubspot(*VerificationHubspot) error
	VisitMailgun(*VerificationMailgun) error
	VisitPersona(*VerificationPersona) error
	VisitPipedrive(*VerificationPipedrive) error
	VisitSendgrid(*VerificationSendGrid) error
	VisitWorkos(*VerificationWorkOs) error
	VisitSynctera(*VerificationSynctera) error
	VisitAwsSns(*VerificationAwssns) error
	VisitThreeDEye(*Verification3DEye) error
	VisitTwitch(*VerificationTwitch) error
	VisitFavro(*VerificationFavro) error
	VisitWix(*VerificationWix) error
	VisitNmi(*VerificationNmiPaymentGateway) error
	VisitRepay(*VerificationRepay) error
	VisitSquare(*VerificationSquare) error
	VisitSolidgate(*VerificationSolidGate) error
	VisitTrello(*VerificationTrello) error
	VisitSanity(*VerificationSanity) error
}

type VerificationCourier added in v0.0.36

type VerificationCourier struct {
	Configs *VerificationCourierConfigs `json:"configs,omitempty"`
}

type VerificationCourierConfigs added in v0.0.36

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

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

type VerificationFavro added in v0.0.36

type VerificationFavro struct {
	Configs *VerificationFavroConfigs `json:"configs,omitempty"`
}

type VerificationFavroConfigs added in v0.0.36

type VerificationFavroConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
	Url              string `json:"url"`
}

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

type VerificationGitHub added in v0.0.29

type VerificationGitHub struct {
	Configs *VerificationGitHubConfigs `json:"configs,omitempty"`
}

type VerificationGitHubConfigs added in v0.0.29

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

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

type VerificationGitLab added in v0.0.29

type VerificationGitLab struct {
	Configs *VerificationGitLabConfigs `json:"configs,omitempty"`
}

type VerificationGitLabConfigs added in v0.0.29

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

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

type VerificationHmac added in v0.0.29

type VerificationHmac struct {
	Configs *VerificationHmacConfigs `json:"configs,omitempty"`
}

type VerificationHmacConfigs added in v0.0.29

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

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

type VerificationHmacConfigsEncoding added in v0.0.29

type VerificationHmacConfigsEncoding string
const (
	VerificationHmacConfigsEncodingBase64    VerificationHmacConfigsEncoding = "base64"
	VerificationHmacConfigsEncodingBase64Url VerificationHmacConfigsEncoding = "base64url"
	VerificationHmacConfigsEncodingHex       VerificationHmacConfigsEncoding = "hex"
)

func NewVerificationHmacConfigsEncodingFromString added in v0.0.29

func NewVerificationHmacConfigsEncodingFromString(s string) (VerificationHmacConfigsEncoding, error)

func (VerificationHmacConfigsEncoding) Ptr added in v0.0.29

type VerificationHubspot added in v0.0.36

type VerificationHubspot struct {
	Configs *VerificationHubspotConfigs `json:"configs,omitempty"`
}

type VerificationHubspotConfigs added in v0.0.36

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

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

type VerificationMailgun added in v0.0.29

type VerificationMailgun struct {
	Configs *VerificationMailgunConfigs `json:"configs,omitempty"`
}

type VerificationMailgunConfigs added in v0.0.29

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

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

type VerificationNmiPaymentGateway added in v0.0.36

type VerificationNmiPaymentGateway struct {
	Configs *VerificationNmiPaymentGatewayConfigs `json:"configs,omitempty"`
}

type VerificationNmiPaymentGatewayConfigs added in v0.0.36

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

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

type VerificationOura added in v0.0.29

type VerificationOura struct {
	Configs *VerificationOuraConfigs `json:"configs,omitempty"`
}

type VerificationOuraConfigs added in v0.0.29

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

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

type VerificationPersona added in v0.0.36

type VerificationPersona struct {
	Configs *VerificationPersonaConfigs `json:"configs,omitempty"`
}

type VerificationPersonaConfigs added in v0.0.36

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

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

type VerificationPipedrive added in v0.0.29

type VerificationPipedrive struct {
	Configs *VerificationPipedriveConfigs `json:"configs,omitempty"`
}

type VerificationPipedriveConfigs added in v0.0.29

type VerificationPipedriveConfigs 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 VerificationPostmark added in v0.0.29

type VerificationPostmark struct {
	Configs *VerificationPostmarkConfigs `json:"configs,omitempty"`
}

type VerificationPostmarkConfigs added in v0.0.29

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

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

type VerificationPropertyFinder added in v0.0.29

type VerificationPropertyFinder struct {
	Configs *VerificationPropertyFinderConfigs `json:"configs,omitempty"`
}

type VerificationPropertyFinderConfigs added in v0.0.29

type VerificationPropertyFinderConfigs 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 VerificationRecharge added in v0.0.29

type VerificationRecharge struct {
	Configs *VerificationRechargeConfigs `json:"configs,omitempty"`
}

type VerificationRechargeConfigs added in v0.0.29

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

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

type VerificationRechargeConfigsEncoding added in v0.0.29

type VerificationRechargeConfigsEncoding string
const (
	VerificationRechargeConfigsEncodingBase64    VerificationRechargeConfigsEncoding = "base64"
	VerificationRechargeConfigsEncodingBase64Url VerificationRechargeConfigsEncoding = "base64url"
	VerificationRechargeConfigsEncodingHex       VerificationRechargeConfigsEncoding = "hex"
)

func NewVerificationRechargeConfigsEncodingFromString added in v0.0.29

func NewVerificationRechargeConfigsEncodingFromString(s string) (VerificationRechargeConfigsEncoding, error)

func (VerificationRechargeConfigsEncoding) Ptr added in v0.0.29

type VerificationRepay added in v0.0.36

type VerificationRepay struct {
	Configs *VerificationRepayConfigs `json:"configs,omitempty"`
}

type VerificationRepayConfigs added in v0.0.36

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

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

type VerificationSanity added in v0.0.36

type VerificationSanity struct {
	Configs *VerificationSanityConfigs `json:"configs,omitempty"`
}

type VerificationSanityConfigs added in v0.0.36

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

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

type VerificationSendGrid added in v0.0.29

type VerificationSendGrid struct {
	Configs *VerificationSendGridConfigs `json:"configs,omitempty"`
}

type VerificationSendGridConfigs added in v0.0.29

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

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

type VerificationShopify added in v0.0.29

type VerificationShopify struct {
	Configs *VerificationShopifyConfigs `json:"configs,omitempty"`
}

type VerificationShopifyConfigs added in v0.0.29

type VerificationShopifyConfigs struct {
	WebhookSecretKey string                                     `json:"webhook_secret_key"`
	RateLimitPeriod  *VerificationShopifyConfigsRateLimitPeriod `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 VerificationShopifyConfigsRateLimitPeriod added in v0.0.29

type VerificationShopifyConfigsRateLimitPeriod string
const (
	VerificationShopifyConfigsRateLimitPeriodMinute VerificationShopifyConfigsRateLimitPeriod = "minute"
	VerificationShopifyConfigsRateLimitPeriodSecond VerificationShopifyConfigsRateLimitPeriod = "second"
)

func NewVerificationShopifyConfigsRateLimitPeriodFromString added in v0.0.29

func NewVerificationShopifyConfigsRateLimitPeriodFromString(s string) (VerificationShopifyConfigsRateLimitPeriod, error)

func (VerificationShopifyConfigsRateLimitPeriod) Ptr added in v0.0.29

type VerificationSolidGate added in v0.0.36

type VerificationSolidGate struct {
	Configs *VerificationSolidGateConfigs `json:"configs,omitempty"`
}

type VerificationSolidGateConfigs added in v0.0.36

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

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

type VerificationSquare added in v0.0.36

type VerificationSquare struct {
	Configs *VerificationSquareConfigs `json:"configs,omitempty"`
}

type VerificationSquareConfigs added in v0.0.36

type VerificationSquareConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
	Url              string `json:"url"`
}

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

type VerificationStripe added in v0.0.29

type VerificationStripe struct {
	Configs *VerificationStripeConfigs `json:"configs,omitempty"`
}

type VerificationStripeConfigs added in v0.0.29

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

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

type VerificationSvix added in v0.0.29

type VerificationSvix struct {
	Configs *VerificationSvixConfigs `json:"configs,omitempty"`
}

type VerificationSvixConfigs added in v0.0.29

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

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

type VerificationSynctera added in v0.0.29

type VerificationSynctera struct {
	Configs *VerificationSyncteraConfigs `json:"configs,omitempty"`
}

type VerificationSyncteraConfigs added in v0.0.29

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

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

type VerificationTrello added in v0.0.36

type VerificationTrello struct {
	Configs *VerificationTrelloConfigs `json:"configs,omitempty"`
}

type VerificationTrelloConfigs added in v0.0.36

type VerificationTrelloConfigs struct {
	WebhookSecretKey string `json:"webhook_secret_key"`
	Url              string `json:"url"`
}

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

type VerificationTwilio added in v0.0.36

type VerificationTwilio struct {
	Configs *VerificationTwilioConfigs `json:"configs,omitempty"`
}

type VerificationTwilioConfigs added in v0.0.36

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

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

type VerificationTwilioConfigsEncoding added in v0.0.36

type VerificationTwilioConfigsEncoding string
const (
	VerificationTwilioConfigsEncodingBase64    VerificationTwilioConfigsEncoding = "base64"
	VerificationTwilioConfigsEncodingBase64Url VerificationTwilioConfigsEncoding = "base64url"
	VerificationTwilioConfigsEncodingHex       VerificationTwilioConfigsEncoding = "hex"
)

func NewVerificationTwilioConfigsEncodingFromString added in v0.0.36

func NewVerificationTwilioConfigsEncodingFromString(s string) (VerificationTwilioConfigsEncoding, error)

func (VerificationTwilioConfigsEncoding) Ptr added in v0.0.36

type VerificationTwitch added in v0.0.36

type VerificationTwitch struct {
	Configs *VerificationTwitchConfigs `json:"configs,omitempty"`
}

type VerificationTwitchConfigs added in v0.0.36

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

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

type VerificationTwitter added in v0.0.29

type VerificationTwitter struct {
	Configs *VerificationTwitterConfigs `json:"configs,omitempty"`
}

type VerificationTwitterConfigs added in v0.0.29

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

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

type VerificationTypeform added in v0.0.29

type VerificationTypeform struct {
	Configs *VerificationTypeformConfigs `json:"configs,omitempty"`
}

type VerificationTypeformConfigs added in v0.0.29

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

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

type VerificationWix added in v0.0.36

type VerificationWix struct {
	Configs *VerificationWixConfigs `json:"configs,omitempty"`
}

type VerificationWixConfigs added in v0.0.36

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

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

type VerificationWooCommerce added in v0.0.29

type VerificationWooCommerce struct {
	Configs *VerificationWooCommerceConfigs `json:"configs,omitempty"`
}

type VerificationWooCommerceConfigs added in v0.0.29

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

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

type VerificationWorkOs added in v0.0.29

type VerificationWorkOs struct {
	Configs *VerificationWorkOsConfigs `json:"configs,omitempty"`
}

type VerificationWorkOsConfigs added in v0.0.29

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

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

type VerificationXero added in v0.0.29

type VerificationXero struct {
	Configs *VerificationXeroConfigs `json:"configs,omitempty"`
}

type VerificationXeroConfigs added in v0.0.29

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

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

type VerificationZoom added in v0.0.29

type VerificationZoom struct {
	Configs *VerificationZoomConfigs `json:"configs,omitempty"`
}

type VerificationZoomConfigs added in v0.0.29

type VerificationZoomConfigs 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