Documentation
¶
Overview ¶
A transformation represents JavaScript code that will be executed on a connection's requests. Transformations are applied to connections using Rules.
Index ¶
- Variables
- func Bool(b bool) *bool
- func Byte(b byte) *byte
- func Complex128(c complex128) *complex128
- func Complex64(c complex64) *complex64
- func Float32(f float32) *float32
- func Float64(f float64) *float64
- func Int(i int) *int
- func Int16(i int16) *int16
- func Int32(i int32) *int32
- func Int64(i int64) *int64
- func Int8(i int8) *int8
- func Rune(r rune) *rune
- func String(s string) *string
- func Time(t time.Time) *time.Time
- func Uint(u uint) *uint
- func Uint16(u uint16) *uint16
- func Uint32(u uint32) *uint32
- func Uint64(u uint64) *uint64
- func Uint8(u uint8) *uint8
- func Uintptr(u uintptr) *uintptr
- type AddCustomHostname
- type Adyen
- type AdyenConfigs
- type Akeneo
- type AkeneoConfigs
- type ApiErrorResponse
- type ApiErrorResponseData
- type ApiKey
- type ApiKeyConfigs
- type ApiKeyIntegrationConfigs
- type AttachedIntegrationToSource
- type AttemptErrorCodes
- type AttemptState
- type AttemptStatus
- type AttemptTrigger
- type AwsSns
- type AwsSnsConfigs
- type BadRequestError
- type BasicAuth
- type BasicAuthConfigs
- type BasicAuthIntegrationConfigs
- type BatchOperation
- type BatchOperationPaginatedResult
- type BatchOperationQuery
- type BatchOperationQueryVisitor
- type BearerToken
- type Bookmark
- type BookmarkPaginatedResult
- type Commercelayer
- type CommercelayerConfigs
- type Connection
- type ConnectionFilterProperty
- func NewConnectionFilterPropertyFromBoolean(value bool) *ConnectionFilterProperty
- func NewConnectionFilterPropertyFromConnectionFilterPropertyThree(value *ConnectionFilterPropertyThree) *ConnectionFilterProperty
- func NewConnectionFilterPropertyFromDouble(value float64) *ConnectionFilterProperty
- func NewConnectionFilterPropertyFromStringOptional(value *string) *ConnectionFilterProperty
- type ConnectionFilterPropertyThree
- type ConnectionFilterPropertyVisitor
- type ConnectionPaginatedResult
- type ConsoleLine
- type ConsoleLineType
- type CreateBookmarkRequest
- type CreateConnectionRequest
- type CreateConnectionRequestDestination
- type CreateConnectionRequestDestinationRateLimitPeriod
- type CreateConnectionRequestSource
- type CreateDestinationRequest
- type CreateDestinationRequestRateLimitPeriod
- type CreateEventBulkRetryRequest
- type CreateEventBulkRetryRequestQuery
- type CreateEventBulkRetryRequestQueryAttempts
- func NewCreateEventBulkRetryRequestQueryAttemptsFromCreateEventBulkRetryRequestQueryAttemptsAny(value *CreateEventBulkRetryRequestQueryAttemptsAny) *CreateEventBulkRetryRequestQueryAttempts
- func NewCreateEventBulkRetryRequestQueryAttemptsFromInteger(value int) *CreateEventBulkRetryRequestQueryAttempts
- type CreateEventBulkRetryRequestQueryAttemptsAny
- type CreateEventBulkRetryRequestQueryAttemptsVisitor
- type CreateEventBulkRetryRequestQueryBody
- type CreateEventBulkRetryRequestQueryBodyOne
- type CreateEventBulkRetryRequestQueryBodyVisitor
- type CreateEventBulkRetryRequestQueryBulkRetryId
- type CreateEventBulkRetryRequestQueryBulkRetryIdVisitor
- type CreateEventBulkRetryRequestQueryCliId
- func NewCreateEventBulkRetryRequestQueryCliIdFromCreateEventBulkRetryRequestQueryCliIdAny(value *CreateEventBulkRetryRequestQueryCliIdAny) *CreateEventBulkRetryRequestQueryCliId
- func NewCreateEventBulkRetryRequestQueryCliIdFromString(value string) *CreateEventBulkRetryRequestQueryCliId
- func NewCreateEventBulkRetryRequestQueryCliIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryCliId
- type CreateEventBulkRetryRequestQueryCliIdAny
- type CreateEventBulkRetryRequestQueryCliIdVisitor
- type CreateEventBulkRetryRequestQueryCliUserId
- type CreateEventBulkRetryRequestQueryCliUserIdVisitor
- type CreateEventBulkRetryRequestQueryCreatedAt
- func NewCreateEventBulkRetryRequestQueryCreatedAtFromCreateEventBulkRetryRequestQueryCreatedAtAny(value *CreateEventBulkRetryRequestQueryCreatedAtAny) *CreateEventBulkRetryRequestQueryCreatedAt
- func NewCreateEventBulkRetryRequestQueryCreatedAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryCreatedAt
- type CreateEventBulkRetryRequestQueryCreatedAtAny
- type CreateEventBulkRetryRequestQueryCreatedAtVisitor
- type CreateEventBulkRetryRequestQueryDestinationId
- func (c *CreateEventBulkRetryRequestQueryDestinationId) Accept(visitor CreateEventBulkRetryRequestQueryDestinationIdVisitor) error
- func (c CreateEventBulkRetryRequestQueryDestinationId) MarshalJSON() ([]byte, error)
- func (c *CreateEventBulkRetryRequestQueryDestinationId) UnmarshalJSON(data []byte) error
- type CreateEventBulkRetryRequestQueryDestinationIdVisitor
- type CreateEventBulkRetryRequestQueryErrorCode
- type CreateEventBulkRetryRequestQueryErrorCodeVisitor
- type CreateEventBulkRetryRequestQueryEventDataId
- type CreateEventBulkRetryRequestQueryEventDataIdVisitor
- type CreateEventBulkRetryRequestQueryHeaders
- type CreateEventBulkRetryRequestQueryHeadersOne
- type CreateEventBulkRetryRequestQueryHeadersVisitor
- type CreateEventBulkRetryRequestQueryId
- type CreateEventBulkRetryRequestQueryIdVisitor
- type CreateEventBulkRetryRequestQueryIssueId
- type CreateEventBulkRetryRequestQueryIssueIdVisitor
- type CreateEventBulkRetryRequestQueryLastAttemptAt
- func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromCreateEventBulkRetryRequestQueryLastAttemptAtAny(value *CreateEventBulkRetryRequestQueryLastAttemptAtAny) *CreateEventBulkRetryRequestQueryLastAttemptAt
- func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryLastAttemptAt
- func (c *CreateEventBulkRetryRequestQueryLastAttemptAt) Accept(visitor CreateEventBulkRetryRequestQueryLastAttemptAtVisitor) error
- func (c CreateEventBulkRetryRequestQueryLastAttemptAt) MarshalJSON() ([]byte, error)
- func (c *CreateEventBulkRetryRequestQueryLastAttemptAt) UnmarshalJSON(data []byte) error
- type CreateEventBulkRetryRequestQueryLastAttemptAtAny
- type CreateEventBulkRetryRequestQueryLastAttemptAtVisitor
- type CreateEventBulkRetryRequestQueryParsedQuery
- func NewCreateEventBulkRetryRequestQueryParsedQueryFromCreateEventBulkRetryRequestQueryParsedQueryOne(value *CreateEventBulkRetryRequestQueryParsedQueryOne) *CreateEventBulkRetryRequestQueryParsedQuery
- func NewCreateEventBulkRetryRequestQueryParsedQueryFromString(value string) *CreateEventBulkRetryRequestQueryParsedQuery
- type CreateEventBulkRetryRequestQueryParsedQueryOne
- type CreateEventBulkRetryRequestQueryParsedQueryVisitor
- type CreateEventBulkRetryRequestQueryResponseStatus
- func NewCreateEventBulkRetryRequestQueryResponseStatusFromCreateEventBulkRetryRequestQueryResponseStatusAny(value *CreateEventBulkRetryRequestQueryResponseStatusAny) *CreateEventBulkRetryRequestQueryResponseStatus
- func NewCreateEventBulkRetryRequestQueryResponseStatusFromInteger(value int) *CreateEventBulkRetryRequestQueryResponseStatus
- func NewCreateEventBulkRetryRequestQueryResponseStatusFromIntegerList(value []int) *CreateEventBulkRetryRequestQueryResponseStatus
- func (c *CreateEventBulkRetryRequestQueryResponseStatus) Accept(visitor CreateEventBulkRetryRequestQueryResponseStatusVisitor) error
- func (c CreateEventBulkRetryRequestQueryResponseStatus) MarshalJSON() ([]byte, error)
- func (c *CreateEventBulkRetryRequestQueryResponseStatus) UnmarshalJSON(data []byte) error
- type CreateEventBulkRetryRequestQueryResponseStatusAny
- type CreateEventBulkRetryRequestQueryResponseStatusVisitor
- type CreateEventBulkRetryRequestQuerySourceId
- type CreateEventBulkRetryRequestQuerySourceIdVisitor
- type CreateEventBulkRetryRequestQueryStatus
- type CreateEventBulkRetryRequestQueryStatusVisitor
- type CreateEventBulkRetryRequestQuerySuccessfulAt
- func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromCreateEventBulkRetryRequestQuerySuccessfulAtAny(value *CreateEventBulkRetryRequestQuerySuccessfulAtAny) *CreateEventBulkRetryRequestQuerySuccessfulAt
- func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQuerySuccessfulAt
- func (c *CreateEventBulkRetryRequestQuerySuccessfulAt) Accept(visitor CreateEventBulkRetryRequestQuerySuccessfulAtVisitor) error
- func (c CreateEventBulkRetryRequestQuerySuccessfulAt) MarshalJSON() ([]byte, error)
- func (c *CreateEventBulkRetryRequestQuerySuccessfulAt) UnmarshalJSON(data []byte) error
- type CreateEventBulkRetryRequestQuerySuccessfulAtAny
- type CreateEventBulkRetryRequestQuerySuccessfulAtVisitor
- type CreateEventBulkRetryRequestQueryWebhookId
- type CreateEventBulkRetryRequestQueryWebhookIdVisitor
- type CreateIgnoredEventBulkRetryRequest
- type CreateIgnoredEventBulkRetryRequestQuery
- type CreateIgnoredEventBulkRetryRequestQueryCause
- func (c *CreateIgnoredEventBulkRetryRequestQueryCause) Accept(visitor CreateIgnoredEventBulkRetryRequestQueryCauseVisitor) error
- func (c CreateIgnoredEventBulkRetryRequestQueryCause) MarshalJSON() ([]byte, error)
- func (c *CreateIgnoredEventBulkRetryRequestQueryCause) UnmarshalJSON(data []byte) error
- type CreateIgnoredEventBulkRetryRequestQueryCauseVisitor
- type CreateIgnoredEventBulkRetryRequestQueryWebhookId
- func (c *CreateIgnoredEventBulkRetryRequestQueryWebhookId) Accept(visitor CreateIgnoredEventBulkRetryRequestQueryWebhookIdVisitor) error
- func (c CreateIgnoredEventBulkRetryRequestQueryWebhookId) MarshalJSON() ([]byte, error)
- func (c *CreateIgnoredEventBulkRetryRequestQueryWebhookId) UnmarshalJSON(data []byte) error
- type CreateIgnoredEventBulkRetryRequestQueryWebhookIdVisitor
- type CreateIntegrationRequest
- type CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromCreateIntegrationRequestConfigsSix(value *CreateIntegrationRequestConfigsSix) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *CreateIntegrationRequestConfigs
- func NewCreateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *CreateIntegrationRequestConfigs
- type CreateIntegrationRequestConfigsSix
- type CreateIntegrationRequestConfigsVisitor
- type CreateIssueTriggerRequest
- type CreateIssueTriggerRequestConfigs
- func NewCreateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *CreateIssueTriggerRequestConfigs
- func NewCreateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *CreateIssueTriggerRequestConfigs
- func NewCreateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *CreateIssueTriggerRequestConfigs
- type CreateIssueTriggerRequestConfigsVisitor
- type CreateRequestBulkRetryRequest
- type CreateRequestBulkRetryRequestQuery
- type CreateRequestBulkRetryRequestQueryBody
- type CreateRequestBulkRetryRequestQueryBodyOne
- type CreateRequestBulkRetryRequestQueryBodyVisitor
- type CreateRequestBulkRetryRequestQueryBulkRetryId
- func (c *CreateRequestBulkRetryRequestQueryBulkRetryId) Accept(visitor CreateRequestBulkRetryRequestQueryBulkRetryIdVisitor) error
- func (c CreateRequestBulkRetryRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryBulkRetryIdVisitor
- type CreateRequestBulkRetryRequestQueryEventsCount
- func NewCreateRequestBulkRetryRequestQueryEventsCountFromCreateRequestBulkRetryRequestQueryEventsCountAny(value *CreateRequestBulkRetryRequestQueryEventsCountAny) *CreateRequestBulkRetryRequestQueryEventsCount
- func NewCreateRequestBulkRetryRequestQueryEventsCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryEventsCount
- func NewCreateRequestBulkRetryRequestQueryEventsCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryEventsCount
- func (c *CreateRequestBulkRetryRequestQueryEventsCount) Accept(visitor CreateRequestBulkRetryRequestQueryEventsCountVisitor) error
- func (c CreateRequestBulkRetryRequestQueryEventsCount) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryEventsCount) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryEventsCountAny
- type CreateRequestBulkRetryRequestQueryEventsCountVisitor
- type CreateRequestBulkRetryRequestQueryHeaders
- func NewCreateRequestBulkRetryRequestQueryHeadersFromCreateRequestBulkRetryRequestQueryHeadersOne(value *CreateRequestBulkRetryRequestQueryHeadersOne) *CreateRequestBulkRetryRequestQueryHeaders
- func NewCreateRequestBulkRetryRequestQueryHeadersFromString(value string) *CreateRequestBulkRetryRequestQueryHeaders
- type CreateRequestBulkRetryRequestQueryHeadersOne
- type CreateRequestBulkRetryRequestQueryHeadersVisitor
- type CreateRequestBulkRetryRequestQueryId
- type CreateRequestBulkRetryRequestQueryIdVisitor
- type CreateRequestBulkRetryRequestQueryIgnoredCount
- func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromCreateRequestBulkRetryRequestQueryIgnoredCountAny(value *CreateRequestBulkRetryRequestQueryIgnoredCountAny) *CreateRequestBulkRetryRequestQueryIgnoredCount
- func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryIgnoredCount
- func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryIgnoredCount
- func (c *CreateRequestBulkRetryRequestQueryIgnoredCount) Accept(visitor CreateRequestBulkRetryRequestQueryIgnoredCountVisitor) error
- func (c CreateRequestBulkRetryRequestQueryIgnoredCount) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryIgnoredCount) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryIgnoredCountAny
- type CreateRequestBulkRetryRequestQueryIgnoredCountVisitor
- type CreateRequestBulkRetryRequestQueryIngestedAt
- func NewCreateRequestBulkRetryRequestQueryIngestedAtFromCreateRequestBulkRetryRequestQueryIngestedAtAny(value *CreateRequestBulkRetryRequestQueryIngestedAtAny) *CreateRequestBulkRetryRequestQueryIngestedAt
- func NewCreateRequestBulkRetryRequestQueryIngestedAtFromDateTime(value time.Time) *CreateRequestBulkRetryRequestQueryIngestedAt
- func (c *CreateRequestBulkRetryRequestQueryIngestedAt) Accept(visitor CreateRequestBulkRetryRequestQueryIngestedAtVisitor) error
- func (c CreateRequestBulkRetryRequestQueryIngestedAt) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryIngestedAt) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryIngestedAtAny
- type CreateRequestBulkRetryRequestQueryIngestedAtVisitor
- type CreateRequestBulkRetryRequestQueryParsedQuery
- func NewCreateRequestBulkRetryRequestQueryParsedQueryFromCreateRequestBulkRetryRequestQueryParsedQueryOne(value *CreateRequestBulkRetryRequestQueryParsedQueryOne) *CreateRequestBulkRetryRequestQueryParsedQuery
- func NewCreateRequestBulkRetryRequestQueryParsedQueryFromString(value string) *CreateRequestBulkRetryRequestQueryParsedQuery
- func (c *CreateRequestBulkRetryRequestQueryParsedQuery) Accept(visitor CreateRequestBulkRetryRequestQueryParsedQueryVisitor) error
- func (c CreateRequestBulkRetryRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryParsedQueryOne
- type CreateRequestBulkRetryRequestQueryParsedQueryVisitor
- type CreateRequestBulkRetryRequestQueryRejectionCause
- func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause
- func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause
- func (c *CreateRequestBulkRetryRequestQueryRejectionCause) Accept(visitor CreateRequestBulkRetryRequestQueryRejectionCauseVisitor) error
- func (c CreateRequestBulkRetryRequestQueryRejectionCause) MarshalJSON() ([]byte, error)
- func (c *CreateRequestBulkRetryRequestQueryRejectionCause) UnmarshalJSON(data []byte) error
- type CreateRequestBulkRetryRequestQueryRejectionCauseVisitor
- type CreateRequestBulkRetryRequestQuerySourceId
- type CreateRequestBulkRetryRequestQuerySourceIdVisitor
- type CreateRequestBulkRetryRequestQueryStatus
- type CreateSourceRequest
- type CreateTransformationRequest
- type CreateTransformationRequestEnvValue
- type CreateTransformationRequestEnvValueVisitor
- type CustomSignature
- type DelayRule
- type DeleteConnectionResponse
- type DeleteCustomDomainSchema
- type DeleteDestinationResponse
- type DeleteSourceResponse
- type DeletedBookmarkResponse
- type DeletedIntegration
- type DeletedIssueTriggerResponse
- type DeliveryIssue
- type DeliveryIssueAggregationKeys
- type DeliveryIssueData
- type DeliveryIssueReference
- type DeliveryIssueWithData
- type Destination
- type DestinationAuthMethodApiKeyConfig
- type DestinationAuthMethodApiKeyConfigTo
- type DestinationAuthMethodBasicAuthConfig
- type DestinationAuthMethodBearerTokenConfig
- type DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromApiKey(value *ApiKey) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromBasicAuth(value *BasicAuth) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromBearerToken(value *BearerToken) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromCustomSignature(value *CustomSignature) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromHookdeckSignature(value *HookdeckSignature) *DestinationAuthMethodConfig
- type DestinationAuthMethodConfigVisitor
- type DestinationAuthMethodCustomSignatureConfig
- type DestinationAuthMethodSignatureConfig
- type DestinationHttpMethod
- type DestinationPaginatedResult
- type DestinationRateLimitPeriod
- type DetachedIntegrationFromSource
- type Event
- type EventArray
- type EventAttempt
- type EventAttemptBody
- type EventAttemptBodyVisitor
- type EventAttemptBodyZero
- type EventAttemptHttpMethod
- type EventAttemptPaginatedResult
- type EventPaginatedResult
- type EventStatus
- type FilterRule
- type FilteredMeta
- type GenerateEventBulkRetryPlanResponse
- type GenerateIgnoredEventBulkRetryPlanResponse
- type GenerateRequestBulkRetryPlanResponse
- type GetAttemptsRequest
- type GetAttemptsRequestDir
- type GetBookmarksRequest
- type GetBookmarksRequestDir
- type GetConnectionsRequest
- type GetConnectionsRequestDir
- type GetConnectionsRequestOrderBy
- type GetDestinationsRequest
- type GetDestinationsRequestDir
- type GetEventBulkRetriesRequest
- type GetEventBulkRetriesRequestDir
- type GetEventsRequest
- type GetEventsRequestDir
- type GetEventsRequestOrderBy
- type GetIgnoredEventBulkRetriesRequest
- type GetIgnoredEventBulkRetriesRequestDir
- type GetIntegrationsRequest
- type GetIssueCountRequest
- type GetIssueCountRequestDir
- type GetIssueCountRequestOrderBy
- type GetIssueCountRequestStatus
- type GetIssueCountRequestType
- type GetIssueTriggersRequest
- type GetIssueTriggersRequestDir
- type GetIssueTriggersRequestOrderBy
- type GetIssuesRequest
- type GetIssuesRequestDir
- type GetIssuesRequestOrderBy
- type GetIssuesRequestStatus
- type GetIssuesRequestType
- type GetRequestBulkRetriesRequest
- type GetRequestBulkRetriesRequestDir
- type GetRequestEventsRequest
- type GetRequestEventsRequestDir
- type GetRequestEventsRequestOrderBy
- type GetRequestIgnoredEventsRequest
- type GetRequestIgnoredEventsRequestDir
- type GetRequestsRequest
- type GetRequestsRequestDir
- type GetRequestsRequestOrderBy
- type GetRequestsRequestStatus
- type GetSourceRequest
- type GetSourcesRequest
- type GetSourcesRequestDir
- type GetTransformationExecutionsRequest
- type GetTransformationExecutionsRequestDir
- type GetTransformationExecutionsRequestLogLevel
- type GetTransformationsRequest
- type GetTransformationsRequestDir
- type GitHub
- type GitHubConfigs
- type GitLab
- type GitLabConfigs
- type HandledApiKeyIntegrationConfigs
- type HandledHmacConfigs
- type Hmac
- type HmacAlgorithms
- type HmacConfigs
- type HmacConfigsEncoding
- type HmacIntegrationConfigs
- type HmacIntegrationConfigsEncoding
- type HookdeckSignature
- type IgnoredEvent
- type IgnoredEventCause
- type IgnoredEventMeta
- type IgnoredEventMetaVisitor
- type IgnoredEventPaginatedResult
- type Integration
- type IntegrationConfigs
- func NewIntegrationConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *IntegrationConfigs
- func NewIntegrationConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *IntegrationConfigs
- func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *IntegrationConfigs
- func NewIntegrationConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *IntegrationConfigs
- func NewIntegrationConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *IntegrationConfigs
- func NewIntegrationConfigsFromIntegrationConfigsSix(value *IntegrationConfigsSix) *IntegrationConfigs
- func NewIntegrationConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *IntegrationConfigs
- type IntegrationConfigsSix
- type IntegrationConfigsVisitor
- type IntegrationFeature
- type IntegrationPaginatedResult
- type IntegrationProvider
- type Issue
- type IssueCount
- type IssueStatus
- type IssueTrigger
- type IssueTriggerBackpressureConfigs
- type IssueTriggerBackpressureConfigsDestinations
- type IssueTriggerBackpressureConfigsDestinationsVisitor
- type IssueTriggerBackpressureDelay
- type IssueTriggerChannels
- type IssueTriggerDeliveryConfigs
- type IssueTriggerDeliveryConfigsConnections
- type IssueTriggerDeliveryConfigsConnectionsVisitor
- type IssueTriggerEmailChannel
- type IssueTriggerIntegrationChannel
- type IssueTriggerPaginatedResult
- type IssueTriggerReference
- func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerReference
- func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerReference
- func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerReference
- type IssueTriggerReferenceVisitor
- type IssueTriggerSlackChannel
- type IssueTriggerStrategy
- type IssueTriggerTransformationConfigs
- type IssueTriggerTransformationConfigsTransformations
- func (i *IssueTriggerTransformationConfigsTransformations) Accept(visitor IssueTriggerTransformationConfigsTransformationsVisitor) error
- func (i IssueTriggerTransformationConfigsTransformations) MarshalJSON() ([]byte, error)
- func (i *IssueTriggerTransformationConfigsTransformations) UnmarshalJSON(data []byte) error
- type IssueTriggerTransformationConfigsTransformationsVisitor
- type IssueType
- type IssueVisitor
- type IssueWithData
- type IssueWithDataPaginatedResult
- type IssueWithDataVisitor
- type ListCustomDomainSchema
- type ListCustomDomainSchemaItem
- type ListCustomDomainSchemaItemOwnershipVerification
- type ListCustomDomainSchemaItemSsl
- type ListCustomDomainSchemaItemSslDcvDelegationRecordsItem
- type ListCustomDomainSchemaItemSslSettings
- type ListCustomDomainSchemaItemSslValidationRecordsItem
- type Mailgun
- type MailgunConfigs
- type NotFoundError
- type OrderByDirection
- type Oura
- type OuraConfigs
- type Pipedrive
- type PipedriveConfigs
- type Postmark
- type PostmarkConfigs
- type PropertyFinder
- type PropertyFinderConfigs
- type RawBody
- type Recharge
- type RechargeConfigs
- type RechargeConfigsEncoding
- type Request
- type RequestIngestPriority
- type RequestPaginatedResult
- type RequestRejectionCause
- type RetriedEvent
- type RetryRequest
- type RetryRequestRequest
- type RetryRule
- type RetryStrategy
- type Rule
- type RuleVisitor
- type SeekPagination
- type SeekPaginationDir
- type SeekPaginationDirVisitor
- type SeekPaginationOrderBy
- type SeekPaginationOrderByVisitor
- type SendGrid
- type SendGridConfigs
- type Shopify
- type ShopifyConfigs
- type ShopifyConfigsRateLimitPeriod
- type ShopifyIntegrationConfigs
- type ShopifyIntegrationConfigsRateLimitPeriod
- type ShortEventData
- type ShortEventDataBody
- type ShortEventDataBodyOne
- type ShortEventDataBodyVisitor
- type ShortEventDataHeaders
- type ShortEventDataHeadersVisitor
- type ShortEventDataParsedQuery
- type ShortEventDataParsedQueryOne
- type ShortEventDataParsedQueryVisitor
- type Source
- type SourceAllowedHttpMethod
- type SourceAllowedHttpMethodItem
- type SourceCustomResponse
- type SourceCustomResponseContentType
- type SourcePaginatedResult
- type Stripe
- type StripeConfigs
- type Svix
- type SvixConfigs
- type Synctera
- type SyncteraConfigs
- type TestTransformationRequest
- type TestTransformationRequestEnv
- type TestTransformationRequestRequest
- type TestTransformationRequestRequestBody
- type TestTransformationRequestRequestBodyVisitor
- type TestTransformationRequestRequestBodyZero
- type TestTransformationRequestRequestParsedQuery
- type ThreeDEye
- type ThreeDEyeConfigs
- type ToggleWebhookNotifications
- type TopicsValue
- type TransformFull
- type TransformFullTransformation
- type TransformReference
- type TransformRule
- type TransformRuleVisitor
- type Transformation
- type TransformationExecution
- type TransformationExecutionLogLevel
- type TransformationExecutionPaginatedResult
- type TransformationExecutorOutput
- type TransformationExecutorOutputRequest
- type TransformationExecutorOutputRequestBody
- func NewTransformationExecutorOutputRequestBodyFromStringOptional(value *string) *TransformationExecutorOutputRequestBody
- func NewTransformationExecutorOutputRequestBodyFromTransformationExecutorOutputRequestBodyOne(value *TransformationExecutorOutputRequestBodyOne) *TransformationExecutorOutputRequestBody
- type TransformationExecutorOutputRequestBodyOne
- type TransformationExecutorOutputRequestBodyVisitor
- type TransformationExecutorOutputRequestHeaders
- type TransformationExecutorOutputRequestHeadersVisitor
- type TransformationExecutorOutputRequestParsedQuery
- func NewTransformationExecutorOutputRequestParsedQueryFromStringOptional(value *string) *TransformationExecutorOutputRequestParsedQuery
- func NewTransformationExecutorOutputRequestParsedQueryFromTransformationExecutorOutputRequestParsedQueryOne(value *TransformationExecutorOutputRequestParsedQueryOne) *TransformationExecutorOutputRequestParsedQuery
- func (t *TransformationExecutorOutputRequestParsedQuery) Accept(visitor TransformationExecutorOutputRequestParsedQueryVisitor) error
- func (t TransformationExecutorOutputRequestParsedQuery) MarshalJSON() ([]byte, error)
- func (t *TransformationExecutorOutputRequestParsedQuery) UnmarshalJSON(data []byte) error
- type TransformationExecutorOutputRequestParsedQueryOne
- type TransformationExecutorOutputRequestParsedQueryVisitor
- type TransformationExecutorOutputRequestQuery
- func NewTransformationExecutorOutputRequestQueryFromString(value string) *TransformationExecutorOutputRequestQuery
- func NewTransformationExecutorOutputRequestQueryFromTransformationExecutorOutputRequestQueryZeroOptional(value *TransformationExecutorOutputRequestQueryZero) *TransformationExecutorOutputRequestQuery
- type TransformationExecutorOutputRequestQueryVisitor
- type TransformationExecutorOutputRequestQueryZero
- type TransformationFailedMeta
- type TransformationIssue
- type TransformationIssueAggregationKeys
- type TransformationIssueData
- type TransformationIssueReference
- type TransformationIssueWithData
- type TransformationPaginatedResult
- type TriggerBookmarkRequest
- type TriggerBookmarkRequestTarget
- type Twitter
- type TwitterConfigs
- type Typeform
- type TypeformConfigs
- type UnprocessableEntityError
- type UpdateBookmarkRequest
- type UpdateConnectionRequest
- type UpdateDestinationRequest
- type UpdateDestinationRequestRateLimitPeriod
- type UpdateIntegrationRequest
- type UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *UpdateIntegrationRequestConfigs
- func NewUpdateIntegrationRequestConfigsFromUpdateIntegrationRequestConfigsSix(value *UpdateIntegrationRequestConfigsSix) *UpdateIntegrationRequestConfigs
- type UpdateIntegrationRequestConfigsSix
- type UpdateIntegrationRequestConfigsVisitor
- type UpdateIssueRequest
- type UpdateIssueRequestStatus
- type UpdateIssueTriggerRequest
- type UpdateIssueTriggerRequestConfigs
- func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpdateIssueTriggerRequestConfigs
- func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpdateIssueTriggerRequestConfigs
- func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpdateIssueTriggerRequestConfigs
- type UpdateIssueTriggerRequestConfigsVisitor
- type UpdateSourceRequest
- type UpdateTransformationRequest
- type UpdateTransformationRequestEnvValue
- type UpdateTransformationRequestEnvValueVisitor
- type UpsertConnectionRequest
- type UpsertConnectionRequestDestination
- type UpsertConnectionRequestDestinationRateLimitPeriod
- type UpsertConnectionRequestSource
- type UpsertDestinationRequest
- type UpsertDestinationRequestRateLimitPeriod
- type UpsertIssueTriggerRequest
- type UpsertIssueTriggerRequestConfigs
- func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpsertIssueTriggerRequestConfigs
- func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpsertIssueTriggerRequestConfigs
- func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpsertIssueTriggerRequestConfigs
- type UpsertIssueTriggerRequestConfigsVisitor
- type UpsertSourceRequest
- type UpsertTransformationRequest
- type UpsertTransformationRequestEnvValue
- type UpsertTransformationRequestEnvValueVisitor
- type VerificationConfig
- func NewVerificationConfigFromAdyen(value *Adyen) *VerificationConfig
- func NewVerificationConfigFromAkeneo(value *Akeneo) *VerificationConfig
- func NewVerificationConfigFromApiKey(value *ApiKey) *VerificationConfig
- func NewVerificationConfigFromAwsSns(value *AwsSns) *VerificationConfig
- func NewVerificationConfigFromBasicAuth(value *BasicAuth) *VerificationConfig
- func NewVerificationConfigFromCommercelayer(value *Commercelayer) *VerificationConfig
- func NewVerificationConfigFromGitHub(value *GitHub) *VerificationConfig
- func NewVerificationConfigFromGitLab(value *GitLab) *VerificationConfig
- func NewVerificationConfigFromHmac(value *Hmac) *VerificationConfig
- func NewVerificationConfigFromMailgun(value *Mailgun) *VerificationConfig
- func NewVerificationConfigFromOura(value *Oura) *VerificationConfig
- func NewVerificationConfigFromPipedrive(value *Pipedrive) *VerificationConfig
- func NewVerificationConfigFromPostmark(value *Postmark) *VerificationConfig
- func NewVerificationConfigFromPropertyFinder(value *PropertyFinder) *VerificationConfig
- func NewVerificationConfigFromRecharge(value *Recharge) *VerificationConfig
- func NewVerificationConfigFromSendGrid(value *SendGrid) *VerificationConfig
- func NewVerificationConfigFromShopify(value *Shopify) *VerificationConfig
- func NewVerificationConfigFromStripe(value *Stripe) *VerificationConfig
- func NewVerificationConfigFromSvix(value *Svix) *VerificationConfig
- func NewVerificationConfigFromSynctera(value *Synctera) *VerificationConfig
- func NewVerificationConfigFromThreeDEye(value *ThreeDEye) *VerificationConfig
- func NewVerificationConfigFromTwitter(value *Twitter) *VerificationConfig
- func NewVerificationConfigFromTypeform(value *Typeform) *VerificationConfig
- func NewVerificationConfigFromWooCommerce(value *WooCommerce) *VerificationConfig
- func NewVerificationConfigFromWorkOs(value *WorkOs) *VerificationConfig
- func NewVerificationConfigFromXero(value *Xero) *VerificationConfig
- func NewVerificationConfigFromZoom(value *Zoom) *VerificationConfig
- type VerificationConfigVisitor
- type WooCommerce
- type WooCommerceConfigs
- type WorkOs
- type WorkOsConfigs
- type Xero
- type XeroConfigs
- type Zoom
- type ZoomConfigs
Constants ¶
This section is empty.
Variables ¶
var Environments = struct { Default string }{ Default: "https://api.hookdeck.com/2023-07-01", }
Environments defines all of the API environments. These values can be used with the ClientWithBaseURL ClientOption to override the client's default environment, if any.
Functions ¶
func Complex128 ¶
func Complex128(c complex128) *complex128
Complex128 returns a pointer to the given complex128 value.
Types ¶
type AddCustomHostname ¶
type AddCustomHostname struct {
// The custom hostname to attach to the workspace
Hostname string `json:"hostname"`
}
type Adyen ¶
type Adyen struct {
Configs *AdyenConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Adyen) MarshalJSON ¶
func (*Adyen) UnmarshalJSON ¶
type AdyenConfigs ¶
type AdyenConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Adyen. Only included if the ?include=verification.configs query param is present
type Akeneo ¶
type Akeneo struct {
Configs *AkeneoConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Akeneo) MarshalJSON ¶
func (*Akeneo) UnmarshalJSON ¶
type AkeneoConfigs ¶
type AkeneoConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Akeneo. Only included if the ?include=verification.configs query param is present
type ApiErrorResponse ¶
type ApiErrorResponse struct {
// Error code
Code string `json:"code"`
// Status code
Status float64 `json:"status"`
// Error description
Message string `json:"message"`
Data *ApiErrorResponseData `json:"data,omitempty"`
}
Error response model
type ApiErrorResponseData ¶
type ApiErrorResponseData struct {
}
type ApiKey ¶
type ApiKey struct {
Configs *ApiKeyConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*ApiKey) MarshalJSON ¶
func (*ApiKey) UnmarshalJSON ¶
type ApiKeyConfigs ¶
The verification configs for API Key. Only included if the ?include=verification.configs query param is present
type AttachedIntegrationToSource ¶
type AttachedIntegrationToSource struct {
Success bool `json:"success"`
}
type AttemptErrorCodes ¶
type AttemptErrorCodes uint
Error code of the delivery attempt
const ( AttemptErrorCodesCancelled AttemptErrorCodes = iota + 1 AttemptErrorCodesTimeout AttemptErrorCodesNotFound AttemptErrorCodesConnectionRefused AttemptErrorCodesConnectionReset AttemptErrorCodesMissingUrl AttemptErrorCodesCli AttemptErrorCodesSelfSignedCert AttemptErrorCodesErrTlsCertAltnameInvalid AttemptErrorCodesSslErrorCaUnknown AttemptErrorCodesTtlExpired AttemptErrorCodesDataArchived AttemptErrorCodesSslCertExpired AttemptErrorCodesBulkRetryCancelled AttemptErrorCodesDnsLookupFailed AttemptErrorCodesHostUnreachable AttemptErrorCodesProtocolError AttemptErrorCodesSocketClosed AttemptErrorCodesUnknown )
func (AttemptErrorCodes) MarshalJSON ¶
func (a AttemptErrorCodes) MarshalJSON() ([]byte, error)
func (AttemptErrorCodes) String ¶
func (a AttemptErrorCodes) String() string
func (*AttemptErrorCodes) UnmarshalJSON ¶
func (a *AttemptErrorCodes) UnmarshalJSON(data []byte) error
type AttemptState ¶
type AttemptState uint
const ( AttemptStateDelivering AttemptState = iota + 1 AttemptStateQueued AttemptStatePending AttemptStateCompleted AttemptStateHold )
func (AttemptState) MarshalJSON ¶
func (a AttemptState) MarshalJSON() ([]byte, error)
func (AttemptState) String ¶
func (a AttemptState) String() string
func (*AttemptState) UnmarshalJSON ¶
func (a *AttemptState) UnmarshalJSON(data []byte) error
type AttemptStatus ¶
type AttemptStatus uint
Attempt status
const ( AttemptStatusQueued AttemptStatus = iota + 1 AttemptStatusFailed AttemptStatusSuccessful AttemptStatusHold )
func (AttemptStatus) MarshalJSON ¶
func (a AttemptStatus) MarshalJSON() ([]byte, error)
func (AttemptStatus) String ¶
func (a AttemptStatus) String() string
func (*AttemptStatus) UnmarshalJSON ¶
func (a *AttemptStatus) UnmarshalJSON(data []byte) error
type AttemptTrigger ¶
type AttemptTrigger uint
How the attempt was triggered
const ( AttemptTriggerInitial AttemptTrigger = iota + 1 AttemptTriggerManual AttemptTriggerBulkRetry AttemptTriggerUnpause AttemptTriggerAutomatic )
func (AttemptTrigger) MarshalJSON ¶
func (a AttemptTrigger) MarshalJSON() ([]byte, error)
func (AttemptTrigger) String ¶
func (a AttemptTrigger) String() string
func (*AttemptTrigger) UnmarshalJSON ¶
func (a *AttemptTrigger) UnmarshalJSON(data []byte) error
type AwsSns ¶
type AwsSns struct {
Configs *AwsSnsConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*AwsSns) MarshalJSON ¶
func (*AwsSns) UnmarshalJSON ¶
type AwsSnsConfigs ¶
type AwsSnsConfigs struct {
}
The verification configs for AWS SNS. Only included if the ?include=verification.configs query param is present
type BadRequestError ¶
type BadRequestError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*BadRequestError) MarshalJSON ¶
func (b *BadRequestError) MarshalJSON() ([]byte, error)
func (*BadRequestError) UnmarshalJSON ¶
func (b *BadRequestError) UnmarshalJSON(data []byte) error
type BasicAuth ¶
type BasicAuth struct {
Configs *BasicAuthConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*BasicAuth) MarshalJSON ¶
func (*BasicAuth) UnmarshalJSON ¶
type BasicAuthConfigs ¶
The verification configs for Basic Auth. Only included if the ?include=verification.configs query param is present
type BatchOperation ¶
type BatchOperation struct {
// ID of the bulk retry
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// Query object to filter records
Query *BatchOperationQuery `json:"query,omitempty"`
// Date the bulk retry was created
CreatedAt time.Time `json:"created_at"`
// Last time the bulk retry was updated
UpdatedAt time.Time `json:"updated_at"`
// Date the bulk retry was cancelled
CancelledAt *time.Time `json:"cancelled_at,omitempty"`
// Date the bulk retry was completed
CompletedAt *time.Time `json:"completed_at,omitempty"`
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Number of batches currently processed
ProcessedBatch *int `json:"processed_batch,omitempty"`
// Number of events that were successfully delivered
CompletedCount *int `json:"completed_count,omitempty"`
// Indicates if the bulk retry is currently in progress
InProgress bool `json:"in_progress"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
// Number of events that failed to be delivered
FailedCount *int `json:"failed_count,omitempty"`
Number *float64 `json:"number,omitempty"`
}
type BatchOperationPaginatedResult ¶
type BatchOperationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*BatchOperation `json:"models,omitempty"`
}
type BatchOperationQuery ¶
type BatchOperationQuery struct {
StringUnknownMap map[string]any
StringOptional *string
// contains filtered or unexported fields
}
Query object to filter records
func NewBatchOperationQueryFromStringOptional ¶
func NewBatchOperationQueryFromStringOptional(value *string) *BatchOperationQuery
func NewBatchOperationQueryFromStringUnknownMap ¶
func NewBatchOperationQueryFromStringUnknownMap(value map[string]any) *BatchOperationQuery
func (*BatchOperationQuery) Accept ¶
func (b *BatchOperationQuery) Accept(visitor BatchOperationQueryVisitor) error
func (BatchOperationQuery) MarshalJSON ¶
func (b BatchOperationQuery) MarshalJSON() ([]byte, error)
func (*BatchOperationQuery) UnmarshalJSON ¶
func (b *BatchOperationQuery) UnmarshalJSON(data []byte) error
type BearerToken ¶
type BearerToken struct {
Config *DestinationAuthMethodBearerTokenConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Bearer Token
func (*BearerToken) MarshalJSON ¶
func (b *BearerToken) MarshalJSON() ([]byte, error)
func (*BearerToken) Type ¶
func (b *BearerToken) Type() string
func (*BearerToken) UnmarshalJSON ¶
func (b *BearerToken) UnmarshalJSON(data []byte) error
type Bookmark ¶
type Bookmark struct {
// ID of the bookmark
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// ID of the associated connection
WebhookId string `json:"webhook_id"`
// ID of the bookmarked event data
EventDataId string `json:"event_data_id"`
// Descriptive name of the bookmark
Label string `json:"label"`
// Alternate alias for the bookmark
Alias *string `json:"alias,omitempty"`
Data *ShortEventData `json:"data,omitempty"`
// Date the bookmark was last manually triggered
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
// Date the bookmark was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the bookmark was created
CreatedAt time.Time `json:"created_at"`
}
type BookmarkPaginatedResult ¶
type BookmarkPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Bookmark `json:"models,omitempty"`
}
type Commercelayer ¶
type Commercelayer struct {
Configs *CommercelayerConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Commercelayer) MarshalJSON ¶
func (c *Commercelayer) MarshalJSON() ([]byte, error)
func (*Commercelayer) Type ¶
func (c *Commercelayer) Type() string
func (*Commercelayer) UnmarshalJSON ¶
func (c *Commercelayer) UnmarshalJSON(data []byte) error
type CommercelayerConfigs ¶
type CommercelayerConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Commercelayer. Only included if the ?include=verification.configs query param is present
type Connection ¶
type Connection struct {
// ID of the connection
Id string `json:"id"`
// Unique name of the connection for this source
Name *string `json:"name,omitempty"`
// Full name of the connection concatenated from source, connection and desitnation name
FullName *string `json:"full_name,omitempty"`
// Description of the connection
Description *string `json:"description,omitempty"`
// ID of the workspace
TeamId string `json:"team_id"`
Destination *Destination `json:"destination,omitempty"`
Source *Source `json:"source,omitempty"`
// Array of rules configured on the connection
Rules []*Rule `json:"rules,omitempty"`
// Date the connection was archived
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// Date the connection was paused
PausedAt *time.Time `json:"paused_at,omitempty"`
// Date the connection was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the connection was created
CreatedAt time.Time `json:"created_at"`
}
type ConnectionFilterProperty ¶
type ConnectionFilterProperty struct {
StringOptional *string
Double float64
Boolean bool
ConnectionFilterPropertyThree *ConnectionFilterPropertyThree
// contains filtered or unexported fields
}
JSON using our filter syntax to filter on request headers
func NewConnectionFilterPropertyFromBoolean ¶
func NewConnectionFilterPropertyFromBoolean(value bool) *ConnectionFilterProperty
func NewConnectionFilterPropertyFromConnectionFilterPropertyThree ¶
func NewConnectionFilterPropertyFromConnectionFilterPropertyThree(value *ConnectionFilterPropertyThree) *ConnectionFilterProperty
func NewConnectionFilterPropertyFromDouble ¶
func NewConnectionFilterPropertyFromDouble(value float64) *ConnectionFilterProperty
func NewConnectionFilterPropertyFromStringOptional ¶
func NewConnectionFilterPropertyFromStringOptional(value *string) *ConnectionFilterProperty
func (*ConnectionFilterProperty) Accept ¶
func (c *ConnectionFilterProperty) Accept(visitor ConnectionFilterPropertyVisitor) error
func (ConnectionFilterProperty) MarshalJSON ¶
func (c ConnectionFilterProperty) MarshalJSON() ([]byte, error)
func (*ConnectionFilterProperty) UnmarshalJSON ¶
func (c *ConnectionFilterProperty) UnmarshalJSON(data []byte) error
type ConnectionFilterPropertyThree ¶
type ConnectionFilterPropertyThree struct {
}
type ConnectionPaginatedResult ¶
type ConnectionPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Connection `json:"models,omitempty"`
}
type ConsoleLine ¶
type ConsoleLine struct {
Type ConsoleLineType `json:"type,omitempty"`
Message string `json:"message"`
}
type ConsoleLineType ¶
type ConsoleLineType uint
const ( ConsoleLineTypeError ConsoleLineType = iota + 1 ConsoleLineTypeLog ConsoleLineTypeWarn ConsoleLineTypeInfo ConsoleLineTypeDebug )
func (ConsoleLineType) MarshalJSON ¶
func (c ConsoleLineType) MarshalJSON() ([]byte, error)
func (ConsoleLineType) String ¶
func (c ConsoleLineType) String() string
func (*ConsoleLineType) UnmarshalJSON ¶
func (c *ConsoleLineType) UnmarshalJSON(data []byte) error
type CreateBookmarkRequest ¶
type CreateBookmarkRequest struct {
// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
EventDataId string `json:"event_data_id"`
// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
WebhookId string `json:"webhook_id"`
// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
Label string `json:"label"`
// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
Name *string `json:"name,omitempty"`
}
type CreateConnectionRequest ¶
type CreateConnectionRequest struct {
// A unique name of the connection for the source
Name *string `json:"name,omitempty"`
// Description for the connection
Description *string `json:"description,omitempty"`
// ID of a destination to bind to the connection
DestinationId *string `json:"destination_id,omitempty"`
// ID of a source to bind to the connection
SourceId *string `json:"source_id,omitempty"`
// Destination input object
Destination *CreateConnectionRequestDestination `json:"destination,omitempty"`
// Source input object
Source *CreateConnectionRequestSource `json:"source,omitempty"`
Rules []*Rule `json:"rules,omitempty"`
}
type CreateConnectionRequestDestination ¶
type CreateConnectionRequestDestination struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *string `json:"description,omitempty"`
// Endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *CreateConnectionRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
Destination input object
type CreateConnectionRequestDestinationRateLimitPeriod ¶
type CreateConnectionRequestDestinationRateLimitPeriod uint
Period to rate limit attempts
const ( CreateConnectionRequestDestinationRateLimitPeriodSecond CreateConnectionRequestDestinationRateLimitPeriod = iota + 1 CreateConnectionRequestDestinationRateLimitPeriodMinute CreateConnectionRequestDestinationRateLimitPeriodHour )
func (CreateConnectionRequestDestinationRateLimitPeriod) MarshalJSON ¶
func (c CreateConnectionRequestDestinationRateLimitPeriod) MarshalJSON() ([]byte, error)
func (CreateConnectionRequestDestinationRateLimitPeriod) String ¶
func (c CreateConnectionRequestDestinationRateLimitPeriod) String() string
func (*CreateConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON ¶
func (c *CreateConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON(data []byte) error
type CreateConnectionRequestSource ¶
type CreateConnectionRequestSource struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *string `json:"description,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
Verification *VerificationConfig `json:"verification,omitempty"`
}
Source input object
type CreateDestinationRequest ¶
type CreateDestinationRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *string `json:"description,omitempty"`
// Endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *CreateDestinationRequestRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
type CreateDestinationRequestRateLimitPeriod ¶
type CreateDestinationRequestRateLimitPeriod uint
Period to rate limit attempts
const ( CreateDestinationRequestRateLimitPeriodSecond CreateDestinationRequestRateLimitPeriod = iota + 1 CreateDestinationRequestRateLimitPeriodMinute CreateDestinationRequestRateLimitPeriodHour )
func (CreateDestinationRequestRateLimitPeriod) MarshalJSON ¶
func (c CreateDestinationRequestRateLimitPeriod) MarshalJSON() ([]byte, error)
func (CreateDestinationRequestRateLimitPeriod) String ¶
func (c CreateDestinationRequestRateLimitPeriod) String() string
func (*CreateDestinationRequestRateLimitPeriod) UnmarshalJSON ¶
func (c *CreateDestinationRequestRateLimitPeriod) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequest ¶
type CreateEventBulkRetryRequest struct {
// Filter properties for the events to be included in the bulk retry
Query *CreateEventBulkRetryRequestQuery `json:"query,omitempty"`
}
type CreateEventBulkRetryRequestQuery ¶
type CreateEventBulkRetryRequestQuery struct {
// Filter by event IDs
Id *CreateEventBulkRetryRequestQueryId `json:"id,omitempty"`
// Lifecyle status of the event
Status *CreateEventBulkRetryRequestQueryStatus `json:"status,omitempty"`
// Filter by webhook connection IDs
WebhookId *CreateEventBulkRetryRequestQueryWebhookId `json:"webhook_id,omitempty"`
// Filter by destination IDs
DestinationId *CreateEventBulkRetryRequestQueryDestinationId `json:"destination_id,omitempty"`
// Filter by source IDs
SourceId *CreateEventBulkRetryRequestQuerySourceId `json:"source_id,omitempty"`
// Filter by number of attempts
Attempts *CreateEventBulkRetryRequestQueryAttempts `json:"attempts,omitempty"`
// Filter by HTTP response status code
ResponseStatus *CreateEventBulkRetryRequestQueryResponseStatus `json:"response_status,omitempty"`
// Filter by `successful_at` date using a date operator
SuccessfulAt *CreateEventBulkRetryRequestQuerySuccessfulAt `json:"successful_at,omitempty"`
// Filter by `created_at` date using a date operator
CreatedAt *CreateEventBulkRetryRequestQueryCreatedAt `json:"created_at,omitempty"`
// Filter by error code code
ErrorCode *CreateEventBulkRetryRequestQueryErrorCode `json:"error_code,omitempty"`
// Filter by CLI IDs. `?[any]=true` operator for any CLI.
CliId *CreateEventBulkRetryRequestQueryCliId `json:"cli_id,omitempty"`
// Filter by `last_attempt_at` date using a date operator
LastAttemptAt *CreateEventBulkRetryRequestQueryLastAttemptAt `json:"last_attempt_at,omitempty"`
// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
SearchTerm *string `json:"search_term,omitempty"`
// URL Encoded string of the JSON to match to the data headers
Headers *CreateEventBulkRetryRequestQueryHeaders `json:"headers,omitempty"`
// URL Encoded string of the JSON to match to the data body
Body *CreateEventBulkRetryRequestQueryBody `json:"body,omitempty"`
// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
ParsedQuery *CreateEventBulkRetryRequestQueryParsedQuery `json:"parsed_query,omitempty"`
// URL Encoded string of the value to match partially to the path
Path *string `json:"path,omitempty"`
CliUserId *CreateEventBulkRetryRequestQueryCliUserId `json:"cli_user_id,omitempty"`
IssueId *CreateEventBulkRetryRequestQueryIssueId `json:"issue_id,omitempty"`
EventDataId *CreateEventBulkRetryRequestQueryEventDataId `json:"event_data_id,omitempty"`
BulkRetryId *CreateEventBulkRetryRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}
Filter properties for the events to be included in the bulk retry
type CreateEventBulkRetryRequestQueryAttempts ¶
type CreateEventBulkRetryRequestQueryAttempts struct {
Integer int
CreateEventBulkRetryRequestQueryAttemptsAny *CreateEventBulkRetryRequestQueryAttemptsAny
// contains filtered or unexported fields
}
Filter by number of attempts
func NewCreateEventBulkRetryRequestQueryAttemptsFromCreateEventBulkRetryRequestQueryAttemptsAny ¶
func NewCreateEventBulkRetryRequestQueryAttemptsFromCreateEventBulkRetryRequestQueryAttemptsAny(value *CreateEventBulkRetryRequestQueryAttemptsAny) *CreateEventBulkRetryRequestQueryAttempts
func NewCreateEventBulkRetryRequestQueryAttemptsFromInteger ¶
func NewCreateEventBulkRetryRequestQueryAttemptsFromInteger(value int) *CreateEventBulkRetryRequestQueryAttempts
func (*CreateEventBulkRetryRequestQueryAttempts) Accept ¶
func (c *CreateEventBulkRetryRequestQueryAttempts) Accept(visitor CreateEventBulkRetryRequestQueryAttemptsVisitor) error
func (CreateEventBulkRetryRequestQueryAttempts) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryAttempts) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryAttempts) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryAttempts) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryAttemptsVisitor ¶
type CreateEventBulkRetryRequestQueryAttemptsVisitor interface {
VisitInteger(int) error
VisitCreateEventBulkRetryRequestQueryAttemptsAny(*CreateEventBulkRetryRequestQueryAttemptsAny) error
}
type CreateEventBulkRetryRequestQueryBody ¶
type CreateEventBulkRetryRequestQueryBody struct {
String string
CreateEventBulkRetryRequestQueryBodyOne *CreateEventBulkRetryRequestQueryBodyOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data body
func NewCreateEventBulkRetryRequestQueryBodyFromCreateEventBulkRetryRequestQueryBodyOne ¶
func NewCreateEventBulkRetryRequestQueryBodyFromCreateEventBulkRetryRequestQueryBodyOne(value *CreateEventBulkRetryRequestQueryBodyOne) *CreateEventBulkRetryRequestQueryBody
func NewCreateEventBulkRetryRequestQueryBodyFromString ¶
func NewCreateEventBulkRetryRequestQueryBodyFromString(value string) *CreateEventBulkRetryRequestQueryBody
func (*CreateEventBulkRetryRequestQueryBody) Accept ¶
func (c *CreateEventBulkRetryRequestQueryBody) Accept(visitor CreateEventBulkRetryRequestQueryBodyVisitor) error
func (CreateEventBulkRetryRequestQueryBody) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryBody) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryBody) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryBody) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryBodyOne ¶
type CreateEventBulkRetryRequestQueryBodyOne struct {
}
type CreateEventBulkRetryRequestQueryBodyVisitor ¶
type CreateEventBulkRetryRequestQueryBodyVisitor interface {
VisitString(string) error
VisitCreateEventBulkRetryRequestQueryBodyOne(*CreateEventBulkRetryRequestQueryBodyOne) error
}
type CreateEventBulkRetryRequestQueryBulkRetryId ¶
type CreateEventBulkRetryRequestQueryBulkRetryId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromString ¶
func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromString(value string) *CreateEventBulkRetryRequestQueryBulkRetryId
func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryBulkRetryIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryBulkRetryId
func (*CreateEventBulkRetryRequestQueryBulkRetryId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryBulkRetryId) Accept(visitor CreateEventBulkRetryRequestQueryBulkRetryIdVisitor) error
func (CreateEventBulkRetryRequestQueryBulkRetryId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryBulkRetryId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryCliId ¶
type CreateEventBulkRetryRequestQueryCliId struct {
String string
CreateEventBulkRetryRequestQueryCliIdAny *CreateEventBulkRetryRequestQueryCliIdAny
StringList []string
// contains filtered or unexported fields
}
Filter by CLI IDs. `?[any]=true` operator for any CLI.
func NewCreateEventBulkRetryRequestQueryCliIdFromCreateEventBulkRetryRequestQueryCliIdAny ¶
func NewCreateEventBulkRetryRequestQueryCliIdFromCreateEventBulkRetryRequestQueryCliIdAny(value *CreateEventBulkRetryRequestQueryCliIdAny) *CreateEventBulkRetryRequestQueryCliId
func NewCreateEventBulkRetryRequestQueryCliIdFromString ¶
func NewCreateEventBulkRetryRequestQueryCliIdFromString(value string) *CreateEventBulkRetryRequestQueryCliId
func NewCreateEventBulkRetryRequestQueryCliIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryCliIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryCliId
func (*CreateEventBulkRetryRequestQueryCliId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryCliId) Accept(visitor CreateEventBulkRetryRequestQueryCliIdVisitor) error
func (CreateEventBulkRetryRequestQueryCliId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryCliId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryCliId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryCliId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryCliIdAny ¶
type CreateEventBulkRetryRequestQueryCliIdAny struct {
Any *bool `json:"any,omitempty"`
}
type CreateEventBulkRetryRequestQueryCliUserId ¶
type CreateEventBulkRetryRequestQueryCliUserId struct {
String string
StringList []string
// contains filtered or unexported fields
}
func NewCreateEventBulkRetryRequestQueryCliUserIdFromString ¶
func NewCreateEventBulkRetryRequestQueryCliUserIdFromString(value string) *CreateEventBulkRetryRequestQueryCliUserId
func NewCreateEventBulkRetryRequestQueryCliUserIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryCliUserIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryCliUserId
func (*CreateEventBulkRetryRequestQueryCliUserId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryCliUserId) Accept(visitor CreateEventBulkRetryRequestQueryCliUserIdVisitor) error
func (CreateEventBulkRetryRequestQueryCliUserId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryCliUserId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryCliUserId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryCliUserId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryCreatedAt ¶
type CreateEventBulkRetryRequestQueryCreatedAt struct {
DateTime time.Time
CreateEventBulkRetryRequestQueryCreatedAtAny *CreateEventBulkRetryRequestQueryCreatedAtAny
// contains filtered or unexported fields
}
Filter by `created_at` date using a date operator
func NewCreateEventBulkRetryRequestQueryCreatedAtFromCreateEventBulkRetryRequestQueryCreatedAtAny ¶
func NewCreateEventBulkRetryRequestQueryCreatedAtFromCreateEventBulkRetryRequestQueryCreatedAtAny(value *CreateEventBulkRetryRequestQueryCreatedAtAny) *CreateEventBulkRetryRequestQueryCreatedAt
func NewCreateEventBulkRetryRequestQueryCreatedAtFromDateTime ¶
func NewCreateEventBulkRetryRequestQueryCreatedAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryCreatedAt
func (*CreateEventBulkRetryRequestQueryCreatedAt) Accept ¶
func (c *CreateEventBulkRetryRequestQueryCreatedAt) Accept(visitor CreateEventBulkRetryRequestQueryCreatedAtVisitor) error
func (CreateEventBulkRetryRequestQueryCreatedAt) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryCreatedAt) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryCreatedAt) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryCreatedAt) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryCreatedAtVisitor ¶
type CreateEventBulkRetryRequestQueryCreatedAtVisitor interface {
VisitDateTime(time.Time) error
VisitCreateEventBulkRetryRequestQueryCreatedAtAny(*CreateEventBulkRetryRequestQueryCreatedAtAny) error
}
type CreateEventBulkRetryRequestQueryDestinationId ¶
type CreateEventBulkRetryRequestQueryDestinationId struct {
// Destination ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by destination IDs
func NewCreateEventBulkRetryRequestQueryDestinationIdFromString ¶
func NewCreateEventBulkRetryRequestQueryDestinationIdFromString(value string) *CreateEventBulkRetryRequestQueryDestinationId
func NewCreateEventBulkRetryRequestQueryDestinationIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryDestinationIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryDestinationId
func (*CreateEventBulkRetryRequestQueryDestinationId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryDestinationId) Accept(visitor CreateEventBulkRetryRequestQueryDestinationIdVisitor) error
func (CreateEventBulkRetryRequestQueryDestinationId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryDestinationId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryDestinationId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryDestinationId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryErrorCode ¶
type CreateEventBulkRetryRequestQueryErrorCode struct {
AttemptErrorCodes AttemptErrorCodes
AttemptErrorCodesList []AttemptErrorCodes
// contains filtered or unexported fields
}
Filter by error code code
func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodes ¶
func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodes(value AttemptErrorCodes) *CreateEventBulkRetryRequestQueryErrorCode
func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodesList ¶
func NewCreateEventBulkRetryRequestQueryErrorCodeFromAttemptErrorCodesList(value []AttemptErrorCodes) *CreateEventBulkRetryRequestQueryErrorCode
func (*CreateEventBulkRetryRequestQueryErrorCode) Accept ¶
func (c *CreateEventBulkRetryRequestQueryErrorCode) Accept(visitor CreateEventBulkRetryRequestQueryErrorCodeVisitor) error
func (CreateEventBulkRetryRequestQueryErrorCode) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryErrorCode) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryErrorCode) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryErrorCode) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryErrorCodeVisitor ¶
type CreateEventBulkRetryRequestQueryErrorCodeVisitor interface {
VisitAttemptErrorCodes(AttemptErrorCodes) error
VisitAttemptErrorCodesList([]AttemptErrorCodes) error
}
type CreateEventBulkRetryRequestQueryEventDataId ¶
type CreateEventBulkRetryRequestQueryEventDataId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewCreateEventBulkRetryRequestQueryEventDataIdFromString ¶
func NewCreateEventBulkRetryRequestQueryEventDataIdFromString(value string) *CreateEventBulkRetryRequestQueryEventDataId
func NewCreateEventBulkRetryRequestQueryEventDataIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryEventDataIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryEventDataId
func (*CreateEventBulkRetryRequestQueryEventDataId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryEventDataId) Accept(visitor CreateEventBulkRetryRequestQueryEventDataIdVisitor) error
func (CreateEventBulkRetryRequestQueryEventDataId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryEventDataId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryEventDataId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryEventDataId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryHeaders ¶
type CreateEventBulkRetryRequestQueryHeaders struct {
String string
CreateEventBulkRetryRequestQueryHeadersOne *CreateEventBulkRetryRequestQueryHeadersOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data headers
func NewCreateEventBulkRetryRequestQueryHeadersFromCreateEventBulkRetryRequestQueryHeadersOne ¶
func NewCreateEventBulkRetryRequestQueryHeadersFromCreateEventBulkRetryRequestQueryHeadersOne(value *CreateEventBulkRetryRequestQueryHeadersOne) *CreateEventBulkRetryRequestQueryHeaders
func NewCreateEventBulkRetryRequestQueryHeadersFromString ¶
func NewCreateEventBulkRetryRequestQueryHeadersFromString(value string) *CreateEventBulkRetryRequestQueryHeaders
func (*CreateEventBulkRetryRequestQueryHeaders) Accept ¶
func (c *CreateEventBulkRetryRequestQueryHeaders) Accept(visitor CreateEventBulkRetryRequestQueryHeadersVisitor) error
func (CreateEventBulkRetryRequestQueryHeaders) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryHeaders) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryHeaders) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryHeaders) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryHeadersOne ¶
type CreateEventBulkRetryRequestQueryHeadersOne struct {
}
type CreateEventBulkRetryRequestQueryHeadersVisitor ¶
type CreateEventBulkRetryRequestQueryHeadersVisitor interface {
VisitString(string) error
VisitCreateEventBulkRetryRequestQueryHeadersOne(*CreateEventBulkRetryRequestQueryHeadersOne) error
}
type CreateEventBulkRetryRequestQueryId ¶
type CreateEventBulkRetryRequestQueryId struct {
// Event ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by event IDs
func NewCreateEventBulkRetryRequestQueryIdFromString ¶
func NewCreateEventBulkRetryRequestQueryIdFromString(value string) *CreateEventBulkRetryRequestQueryId
func NewCreateEventBulkRetryRequestQueryIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryId
func (*CreateEventBulkRetryRequestQueryId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryId) Accept(visitor CreateEventBulkRetryRequestQueryIdVisitor) error
func (CreateEventBulkRetryRequestQueryId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryIssueId ¶
type CreateEventBulkRetryRequestQueryIssueId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewCreateEventBulkRetryRequestQueryIssueIdFromString ¶
func NewCreateEventBulkRetryRequestQueryIssueIdFromString(value string) *CreateEventBulkRetryRequestQueryIssueId
func NewCreateEventBulkRetryRequestQueryIssueIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryIssueIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryIssueId
func (*CreateEventBulkRetryRequestQueryIssueId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryIssueId) Accept(visitor CreateEventBulkRetryRequestQueryIssueIdVisitor) error
func (CreateEventBulkRetryRequestQueryIssueId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryIssueId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryIssueId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryIssueId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryLastAttemptAt ¶
type CreateEventBulkRetryRequestQueryLastAttemptAt struct {
DateTime time.Time
CreateEventBulkRetryRequestQueryLastAttemptAtAny *CreateEventBulkRetryRequestQueryLastAttemptAtAny
// contains filtered or unexported fields
}
Filter by `last_attempt_at` date using a date operator
func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromCreateEventBulkRetryRequestQueryLastAttemptAtAny ¶
func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromCreateEventBulkRetryRequestQueryLastAttemptAtAny(value *CreateEventBulkRetryRequestQueryLastAttemptAtAny) *CreateEventBulkRetryRequestQueryLastAttemptAt
func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromDateTime ¶
func NewCreateEventBulkRetryRequestQueryLastAttemptAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQueryLastAttemptAt
func (*CreateEventBulkRetryRequestQueryLastAttemptAt) Accept ¶
func (c *CreateEventBulkRetryRequestQueryLastAttemptAt) Accept(visitor CreateEventBulkRetryRequestQueryLastAttemptAtVisitor) error
func (CreateEventBulkRetryRequestQueryLastAttemptAt) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryLastAttemptAt) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryLastAttemptAt) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryLastAttemptAt) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryLastAttemptAtVisitor ¶
type CreateEventBulkRetryRequestQueryLastAttemptAtVisitor interface {
VisitDateTime(time.Time) error
VisitCreateEventBulkRetryRequestQueryLastAttemptAtAny(*CreateEventBulkRetryRequestQueryLastAttemptAtAny) error
}
type CreateEventBulkRetryRequestQueryParsedQuery ¶
type CreateEventBulkRetryRequestQueryParsedQuery struct {
String string
CreateEventBulkRetryRequestQueryParsedQueryOne *CreateEventBulkRetryRequestQueryParsedQueryOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
func NewCreateEventBulkRetryRequestQueryParsedQueryFromCreateEventBulkRetryRequestQueryParsedQueryOne ¶
func NewCreateEventBulkRetryRequestQueryParsedQueryFromCreateEventBulkRetryRequestQueryParsedQueryOne(value *CreateEventBulkRetryRequestQueryParsedQueryOne) *CreateEventBulkRetryRequestQueryParsedQuery
func NewCreateEventBulkRetryRequestQueryParsedQueryFromString ¶
func NewCreateEventBulkRetryRequestQueryParsedQueryFromString(value string) *CreateEventBulkRetryRequestQueryParsedQuery
func (*CreateEventBulkRetryRequestQueryParsedQuery) Accept ¶
func (c *CreateEventBulkRetryRequestQueryParsedQuery) Accept(visitor CreateEventBulkRetryRequestQueryParsedQueryVisitor) error
func (CreateEventBulkRetryRequestQueryParsedQuery) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryParsedQuery) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryParsedQueryOne ¶
type CreateEventBulkRetryRequestQueryParsedQueryOne struct {
}
type CreateEventBulkRetryRequestQueryParsedQueryVisitor ¶
type CreateEventBulkRetryRequestQueryParsedQueryVisitor interface {
VisitString(string) error
VisitCreateEventBulkRetryRequestQueryParsedQueryOne(*CreateEventBulkRetryRequestQueryParsedQueryOne) error
}
type CreateEventBulkRetryRequestQueryResponseStatus ¶
type CreateEventBulkRetryRequestQueryResponseStatus struct {
Integer int
CreateEventBulkRetryRequestQueryResponseStatusAny *CreateEventBulkRetryRequestQueryResponseStatusAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by HTTP response status code
func NewCreateEventBulkRetryRequestQueryResponseStatusFromCreateEventBulkRetryRequestQueryResponseStatusAny ¶
func NewCreateEventBulkRetryRequestQueryResponseStatusFromCreateEventBulkRetryRequestQueryResponseStatusAny(value *CreateEventBulkRetryRequestQueryResponseStatusAny) *CreateEventBulkRetryRequestQueryResponseStatus
func NewCreateEventBulkRetryRequestQueryResponseStatusFromInteger ¶
func NewCreateEventBulkRetryRequestQueryResponseStatusFromInteger(value int) *CreateEventBulkRetryRequestQueryResponseStatus
func NewCreateEventBulkRetryRequestQueryResponseStatusFromIntegerList ¶
func NewCreateEventBulkRetryRequestQueryResponseStatusFromIntegerList(value []int) *CreateEventBulkRetryRequestQueryResponseStatus
func (*CreateEventBulkRetryRequestQueryResponseStatus) Accept ¶
func (c *CreateEventBulkRetryRequestQueryResponseStatus) Accept(visitor CreateEventBulkRetryRequestQueryResponseStatusVisitor) error
func (CreateEventBulkRetryRequestQueryResponseStatus) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryResponseStatus) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryResponseStatus) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryResponseStatus) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQuerySourceId ¶
type CreateEventBulkRetryRequestQuerySourceId struct {
// Source ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by source IDs
func NewCreateEventBulkRetryRequestQuerySourceIdFromString ¶
func NewCreateEventBulkRetryRequestQuerySourceIdFromString(value string) *CreateEventBulkRetryRequestQuerySourceId
func NewCreateEventBulkRetryRequestQuerySourceIdFromStringList ¶
func NewCreateEventBulkRetryRequestQuerySourceIdFromStringList(value []string) *CreateEventBulkRetryRequestQuerySourceId
func (*CreateEventBulkRetryRequestQuerySourceId) Accept ¶
func (c *CreateEventBulkRetryRequestQuerySourceId) Accept(visitor CreateEventBulkRetryRequestQuerySourceIdVisitor) error
func (CreateEventBulkRetryRequestQuerySourceId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQuerySourceId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQuerySourceId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQuerySourceId) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryStatus ¶
type CreateEventBulkRetryRequestQueryStatus struct {
EventStatus EventStatus
EventStatusList []EventStatus
// contains filtered or unexported fields
}
Lifecyle status of the event
func NewCreateEventBulkRetryRequestQueryStatusFromEventStatus ¶
func NewCreateEventBulkRetryRequestQueryStatusFromEventStatus(value EventStatus) *CreateEventBulkRetryRequestQueryStatus
func NewCreateEventBulkRetryRequestQueryStatusFromEventStatusList ¶
func NewCreateEventBulkRetryRequestQueryStatusFromEventStatusList(value []EventStatus) *CreateEventBulkRetryRequestQueryStatus
func (*CreateEventBulkRetryRequestQueryStatus) Accept ¶
func (c *CreateEventBulkRetryRequestQueryStatus) Accept(visitor CreateEventBulkRetryRequestQueryStatusVisitor) error
func (CreateEventBulkRetryRequestQueryStatus) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryStatus) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryStatus) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryStatus) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQueryStatusVisitor ¶
type CreateEventBulkRetryRequestQueryStatusVisitor interface {
VisitEventStatus(EventStatus) error
VisitEventStatusList([]EventStatus) error
}
type CreateEventBulkRetryRequestQuerySuccessfulAt ¶
type CreateEventBulkRetryRequestQuerySuccessfulAt struct {
DateTime time.Time
CreateEventBulkRetryRequestQuerySuccessfulAtAny *CreateEventBulkRetryRequestQuerySuccessfulAtAny
// contains filtered or unexported fields
}
Filter by `successful_at` date using a date operator
func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromCreateEventBulkRetryRequestQuerySuccessfulAtAny ¶
func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromCreateEventBulkRetryRequestQuerySuccessfulAtAny(value *CreateEventBulkRetryRequestQuerySuccessfulAtAny) *CreateEventBulkRetryRequestQuerySuccessfulAt
func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromDateTime ¶
func NewCreateEventBulkRetryRequestQuerySuccessfulAtFromDateTime(value time.Time) *CreateEventBulkRetryRequestQuerySuccessfulAt
func (*CreateEventBulkRetryRequestQuerySuccessfulAt) Accept ¶
func (c *CreateEventBulkRetryRequestQuerySuccessfulAt) Accept(visitor CreateEventBulkRetryRequestQuerySuccessfulAtVisitor) error
func (CreateEventBulkRetryRequestQuerySuccessfulAt) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQuerySuccessfulAt) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQuerySuccessfulAt) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQuerySuccessfulAt) UnmarshalJSON(data []byte) error
type CreateEventBulkRetryRequestQuerySuccessfulAtVisitor ¶
type CreateEventBulkRetryRequestQuerySuccessfulAtVisitor interface {
VisitDateTime(time.Time) error
VisitCreateEventBulkRetryRequestQuerySuccessfulAtAny(*CreateEventBulkRetryRequestQuerySuccessfulAtAny) error
}
type CreateEventBulkRetryRequestQueryWebhookId ¶
type CreateEventBulkRetryRequestQueryWebhookId struct {
// Webhook ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by webhook connection IDs
func NewCreateEventBulkRetryRequestQueryWebhookIdFromString ¶
func NewCreateEventBulkRetryRequestQueryWebhookIdFromString(value string) *CreateEventBulkRetryRequestQueryWebhookId
func NewCreateEventBulkRetryRequestQueryWebhookIdFromStringList ¶
func NewCreateEventBulkRetryRequestQueryWebhookIdFromStringList(value []string) *CreateEventBulkRetryRequestQueryWebhookId
func (*CreateEventBulkRetryRequestQueryWebhookId) Accept ¶
func (c *CreateEventBulkRetryRequestQueryWebhookId) Accept(visitor CreateEventBulkRetryRequestQueryWebhookIdVisitor) error
func (CreateEventBulkRetryRequestQueryWebhookId) MarshalJSON ¶
func (c CreateEventBulkRetryRequestQueryWebhookId) MarshalJSON() ([]byte, error)
func (*CreateEventBulkRetryRequestQueryWebhookId) UnmarshalJSON ¶
func (c *CreateEventBulkRetryRequestQueryWebhookId) UnmarshalJSON(data []byte) error
type CreateIgnoredEventBulkRetryRequest ¶
type CreateIgnoredEventBulkRetryRequest struct {
// Filter by the bulk retry ignored event query object
Query *CreateIgnoredEventBulkRetryRequestQuery `json:"query,omitempty"`
}
type CreateIgnoredEventBulkRetryRequestQuery ¶
type CreateIgnoredEventBulkRetryRequestQuery struct {
// The cause of the ignored event
Cause *CreateIgnoredEventBulkRetryRequestQueryCause `json:"cause,omitempty"`
// Connection ID of the ignored event
WebhookId *CreateIgnoredEventBulkRetryRequestQueryWebhookId `json:"webhook_id,omitempty"`
// The associated transformation ID (only applicable to the cause `TRANSFORMATION_FAILED`) <span style="white-space: nowrap">`<= 255 characters`</span>
TransformationId *string `json:"transformation_id,omitempty"`
}
Filter by the bulk retry ignored event query object
type CreateIgnoredEventBulkRetryRequestQueryCause ¶
type CreateIgnoredEventBulkRetryRequestQueryCause struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
The cause of the ignored event
func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromString ¶
func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromString(value string) *CreateIgnoredEventBulkRetryRequestQueryCause
func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromStringList ¶
func NewCreateIgnoredEventBulkRetryRequestQueryCauseFromStringList(value []string) *CreateIgnoredEventBulkRetryRequestQueryCause
func (*CreateIgnoredEventBulkRetryRequestQueryCause) Accept ¶
func (c *CreateIgnoredEventBulkRetryRequestQueryCause) Accept(visitor CreateIgnoredEventBulkRetryRequestQueryCauseVisitor) error
func (CreateIgnoredEventBulkRetryRequestQueryCause) MarshalJSON ¶
func (c CreateIgnoredEventBulkRetryRequestQueryCause) MarshalJSON() ([]byte, error)
func (*CreateIgnoredEventBulkRetryRequestQueryCause) UnmarshalJSON ¶
func (c *CreateIgnoredEventBulkRetryRequestQueryCause) UnmarshalJSON(data []byte) error
type CreateIgnoredEventBulkRetryRequestQueryWebhookId ¶
type CreateIgnoredEventBulkRetryRequestQueryWebhookId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Connection ID of the ignored event
func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromString ¶
func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromString(value string) *CreateIgnoredEventBulkRetryRequestQueryWebhookId
func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromStringList ¶
func NewCreateIgnoredEventBulkRetryRequestQueryWebhookIdFromStringList(value []string) *CreateIgnoredEventBulkRetryRequestQueryWebhookId
func (*CreateIgnoredEventBulkRetryRequestQueryWebhookId) Accept ¶
func (c *CreateIgnoredEventBulkRetryRequestQueryWebhookId) Accept(visitor CreateIgnoredEventBulkRetryRequestQueryWebhookIdVisitor) error
func (CreateIgnoredEventBulkRetryRequestQueryWebhookId) MarshalJSON ¶
func (c CreateIgnoredEventBulkRetryRequestQueryWebhookId) MarshalJSON() ([]byte, error)
func (*CreateIgnoredEventBulkRetryRequestQueryWebhookId) UnmarshalJSON ¶
func (c *CreateIgnoredEventBulkRetryRequestQueryWebhookId) UnmarshalJSON(data []byte) error
type CreateIntegrationRequest ¶
type CreateIntegrationRequest struct {
// Label of the integration
Label *string `json:"label,omitempty"`
// Decrypted Key/Value object of the associated configuration for that provider
Configs *CreateIntegrationRequestConfigs `json:"configs,omitempty"`
Provider *IntegrationProvider `json:"provider,omitempty"`
// List of features to enable (see features list above)
Features []IntegrationFeature `json:"features,omitempty"`
}
type CreateIntegrationRequestConfigs ¶
type CreateIntegrationRequestConfigs struct {
HmacIntegrationConfigs *HmacIntegrationConfigs
ApiKeyIntegrationConfigs *ApiKeyIntegrationConfigs
HandledApiKeyIntegrationConfigs *HandledApiKeyIntegrationConfigs
HandledHmacConfigs *HandledHmacConfigs
BasicAuthIntegrationConfigs *BasicAuthIntegrationConfigs
ShopifyIntegrationConfigs *ShopifyIntegrationConfigs
CreateIntegrationRequestConfigsSix *CreateIntegrationRequestConfigsSix
// contains filtered or unexported fields
}
Decrypted Key/Value object of the associated configuration for that provider
func NewCreateIntegrationRequestConfigsFromApiKeyIntegrationConfigs ¶
func NewCreateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs ¶
func NewCreateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromCreateIntegrationRequestConfigsSix ¶
func NewCreateIntegrationRequestConfigsFromCreateIntegrationRequestConfigsSix(value *CreateIntegrationRequestConfigsSix) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs ¶
func NewCreateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromHandledHmacConfigs ¶
func NewCreateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromHmacIntegrationConfigs ¶
func NewCreateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *CreateIntegrationRequestConfigs
func NewCreateIntegrationRequestConfigsFromShopifyIntegrationConfigs ¶
func NewCreateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *CreateIntegrationRequestConfigs
func (*CreateIntegrationRequestConfigs) Accept ¶
func (c *CreateIntegrationRequestConfigs) Accept(visitor CreateIntegrationRequestConfigsVisitor) error
func (CreateIntegrationRequestConfigs) MarshalJSON ¶
func (c CreateIntegrationRequestConfigs) MarshalJSON() ([]byte, error)
func (*CreateIntegrationRequestConfigs) UnmarshalJSON ¶
func (c *CreateIntegrationRequestConfigs) UnmarshalJSON(data []byte) error
type CreateIntegrationRequestConfigsSix ¶
type CreateIntegrationRequestConfigsSix struct {
}
type CreateIntegrationRequestConfigsVisitor ¶
type CreateIntegrationRequestConfigsVisitor interface {
VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
VisitHandledHmacConfigs(*HandledHmacConfigs) error
VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
VisitCreateIntegrationRequestConfigsSix(*CreateIntegrationRequestConfigsSix) error
}
type CreateIssueTriggerRequest ¶
type CreateIssueTriggerRequest struct {
Type IssueType `json:"type,omitempty"`
// Configuration object for the specific issue type selected
Configs *CreateIssueTriggerRequestConfigs `json:"configs,omitempty"`
Channels *IssueTriggerChannels `json:"channels,omitempty"`
// Optional unique name to use as reference when using the API
Name *string `json:"name,omitempty"`
}
type CreateIssueTriggerRequestConfigs ¶
type CreateIssueTriggerRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs ¶
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *CreateIssueTriggerRequestConfigs
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs ¶
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *CreateIssueTriggerRequestConfigs
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs ¶
func NewCreateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *CreateIssueTriggerRequestConfigs
func (*CreateIssueTriggerRequestConfigs) Accept ¶
func (c *CreateIssueTriggerRequestConfigs) Accept(visitor CreateIssueTriggerRequestConfigsVisitor) error
func (CreateIssueTriggerRequestConfigs) MarshalJSON ¶
func (c CreateIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)
func (*CreateIssueTriggerRequestConfigs) UnmarshalJSON ¶
func (c *CreateIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error
type CreateIssueTriggerRequestConfigsVisitor ¶
type CreateIssueTriggerRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type CreateRequestBulkRetryRequest ¶
type CreateRequestBulkRetryRequest struct {
// Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)
Query *CreateRequestBulkRetryRequestQuery `json:"query,omitempty"`
}
type CreateRequestBulkRetryRequestQuery ¶
type CreateRequestBulkRetryRequestQuery struct {
// Filter by requests IDs
Id *CreateRequestBulkRetryRequestQueryId `json:"id,omitempty"`
// Filter by status
Status *CreateRequestBulkRetryRequestQueryStatus `json:"status,omitempty"`
// Filter by rejection cause
RejectionCause *CreateRequestBulkRetryRequestQueryRejectionCause `json:"rejection_cause,omitempty"`
// Filter by source IDs
SourceId *CreateRequestBulkRetryRequestQuerySourceId `json:"source_id,omitempty"`
// Filter by verification status
Verified *bool `json:"verified,omitempty"`
// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
SearchTerm *string `json:"search_term,omitempty"`
// URL Encoded string of the JSON to match to the data headers
Headers *CreateRequestBulkRetryRequestQueryHeaders `json:"headers,omitempty"`
// URL Encoded string of the JSON to match to the data body
Body *CreateRequestBulkRetryRequestQueryBody `json:"body,omitempty"`
// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
ParsedQuery *CreateRequestBulkRetryRequestQueryParsedQuery `json:"parsed_query,omitempty"`
// URL Encoded string of the value to match partially to the path
Path *string `json:"path,omitempty"`
// Filter by count of ignored events
IgnoredCount *CreateRequestBulkRetryRequestQueryIgnoredCount `json:"ignored_count,omitempty"`
// Filter by count of events
EventsCount *CreateRequestBulkRetryRequestQueryEventsCount `json:"events_count,omitempty"`
// Filter by event ingested date
IngestedAt *CreateRequestBulkRetryRequestQueryIngestedAt `json:"ingested_at,omitempty"`
BulkRetryId *CreateRequestBulkRetryRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}
Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)
type CreateRequestBulkRetryRequestQueryBody ¶
type CreateRequestBulkRetryRequestQueryBody struct {
String string
CreateRequestBulkRetryRequestQueryBodyOne *CreateRequestBulkRetryRequestQueryBodyOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data body
func NewCreateRequestBulkRetryRequestQueryBodyFromCreateRequestBulkRetryRequestQueryBodyOne ¶
func NewCreateRequestBulkRetryRequestQueryBodyFromCreateRequestBulkRetryRequestQueryBodyOne(value *CreateRequestBulkRetryRequestQueryBodyOne) *CreateRequestBulkRetryRequestQueryBody
func NewCreateRequestBulkRetryRequestQueryBodyFromString ¶
func NewCreateRequestBulkRetryRequestQueryBodyFromString(value string) *CreateRequestBulkRetryRequestQueryBody
func (*CreateRequestBulkRetryRequestQueryBody) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryBody) Accept(visitor CreateRequestBulkRetryRequestQueryBodyVisitor) error
func (CreateRequestBulkRetryRequestQueryBody) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryBody) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryBody) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryBody) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryBodyOne ¶
type CreateRequestBulkRetryRequestQueryBodyOne struct {
}
type CreateRequestBulkRetryRequestQueryBodyVisitor ¶
type CreateRequestBulkRetryRequestQueryBodyVisitor interface {
VisitString(string) error
VisitCreateRequestBulkRetryRequestQueryBodyOne(*CreateRequestBulkRetryRequestQueryBodyOne) error
}
type CreateRequestBulkRetryRequestQueryBulkRetryId ¶
type CreateRequestBulkRetryRequestQueryBulkRetryId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromString ¶
func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromString(value string) *CreateRequestBulkRetryRequestQueryBulkRetryId
func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromStringList ¶
func NewCreateRequestBulkRetryRequestQueryBulkRetryIdFromStringList(value []string) *CreateRequestBulkRetryRequestQueryBulkRetryId
func (*CreateRequestBulkRetryRequestQueryBulkRetryId) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryBulkRetryId) Accept(visitor CreateRequestBulkRetryRequestQueryBulkRetryIdVisitor) error
func (CreateRequestBulkRetryRequestQueryBulkRetryId) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryBulkRetryId) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryEventsCount ¶
type CreateRequestBulkRetryRequestQueryEventsCount struct {
Integer int
CreateRequestBulkRetryRequestQueryEventsCountAny *CreateRequestBulkRetryRequestQueryEventsCountAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by count of events
func NewCreateRequestBulkRetryRequestQueryEventsCountFromCreateRequestBulkRetryRequestQueryEventsCountAny ¶
func NewCreateRequestBulkRetryRequestQueryEventsCountFromCreateRequestBulkRetryRequestQueryEventsCountAny(value *CreateRequestBulkRetryRequestQueryEventsCountAny) *CreateRequestBulkRetryRequestQueryEventsCount
func NewCreateRequestBulkRetryRequestQueryEventsCountFromInteger ¶
func NewCreateRequestBulkRetryRequestQueryEventsCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryEventsCount
func NewCreateRequestBulkRetryRequestQueryEventsCountFromIntegerList ¶
func NewCreateRequestBulkRetryRequestQueryEventsCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryEventsCount
func (*CreateRequestBulkRetryRequestQueryEventsCount) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryEventsCount) Accept(visitor CreateRequestBulkRetryRequestQueryEventsCountVisitor) error
func (CreateRequestBulkRetryRequestQueryEventsCount) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryEventsCount) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryEventsCount) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryEventsCount) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryHeaders ¶
type CreateRequestBulkRetryRequestQueryHeaders struct {
String string
CreateRequestBulkRetryRequestQueryHeadersOne *CreateRequestBulkRetryRequestQueryHeadersOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data headers
func NewCreateRequestBulkRetryRequestQueryHeadersFromCreateRequestBulkRetryRequestQueryHeadersOne ¶
func NewCreateRequestBulkRetryRequestQueryHeadersFromCreateRequestBulkRetryRequestQueryHeadersOne(value *CreateRequestBulkRetryRequestQueryHeadersOne) *CreateRequestBulkRetryRequestQueryHeaders
func NewCreateRequestBulkRetryRequestQueryHeadersFromString ¶
func NewCreateRequestBulkRetryRequestQueryHeadersFromString(value string) *CreateRequestBulkRetryRequestQueryHeaders
func (*CreateRequestBulkRetryRequestQueryHeaders) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryHeaders) Accept(visitor CreateRequestBulkRetryRequestQueryHeadersVisitor) error
func (CreateRequestBulkRetryRequestQueryHeaders) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryHeaders) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryHeaders) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryHeaders) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryHeadersOne ¶
type CreateRequestBulkRetryRequestQueryHeadersOne struct {
}
type CreateRequestBulkRetryRequestQueryHeadersVisitor ¶
type CreateRequestBulkRetryRequestQueryHeadersVisitor interface {
VisitString(string) error
VisitCreateRequestBulkRetryRequestQueryHeadersOne(*CreateRequestBulkRetryRequestQueryHeadersOne) error
}
type CreateRequestBulkRetryRequestQueryId ¶
type CreateRequestBulkRetryRequestQueryId struct {
// Request ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by requests IDs
func NewCreateRequestBulkRetryRequestQueryIdFromString ¶
func NewCreateRequestBulkRetryRequestQueryIdFromString(value string) *CreateRequestBulkRetryRequestQueryId
func NewCreateRequestBulkRetryRequestQueryIdFromStringList ¶
func NewCreateRequestBulkRetryRequestQueryIdFromStringList(value []string) *CreateRequestBulkRetryRequestQueryId
func (*CreateRequestBulkRetryRequestQueryId) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryId) Accept(visitor CreateRequestBulkRetryRequestQueryIdVisitor) error
func (CreateRequestBulkRetryRequestQueryId) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryId) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryId) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryId) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryIgnoredCount ¶
type CreateRequestBulkRetryRequestQueryIgnoredCount struct {
Integer int
CreateRequestBulkRetryRequestQueryIgnoredCountAny *CreateRequestBulkRetryRequestQueryIgnoredCountAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by count of ignored events
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromCreateRequestBulkRetryRequestQueryIgnoredCountAny ¶
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromCreateRequestBulkRetryRequestQueryIgnoredCountAny(value *CreateRequestBulkRetryRequestQueryIgnoredCountAny) *CreateRequestBulkRetryRequestQueryIgnoredCount
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromInteger ¶
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromInteger(value int) *CreateRequestBulkRetryRequestQueryIgnoredCount
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromIntegerList ¶
func NewCreateRequestBulkRetryRequestQueryIgnoredCountFromIntegerList(value []int) *CreateRequestBulkRetryRequestQueryIgnoredCount
func (*CreateRequestBulkRetryRequestQueryIgnoredCount) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryIgnoredCount) Accept(visitor CreateRequestBulkRetryRequestQueryIgnoredCountVisitor) error
func (CreateRequestBulkRetryRequestQueryIgnoredCount) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryIgnoredCount) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryIgnoredCount) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryIgnoredCount) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryIngestedAt ¶
type CreateRequestBulkRetryRequestQueryIngestedAt struct {
DateTime time.Time
CreateRequestBulkRetryRequestQueryIngestedAtAny *CreateRequestBulkRetryRequestQueryIngestedAtAny
// contains filtered or unexported fields
}
Filter by event ingested date
func NewCreateRequestBulkRetryRequestQueryIngestedAtFromCreateRequestBulkRetryRequestQueryIngestedAtAny ¶
func NewCreateRequestBulkRetryRequestQueryIngestedAtFromCreateRequestBulkRetryRequestQueryIngestedAtAny(value *CreateRequestBulkRetryRequestQueryIngestedAtAny) *CreateRequestBulkRetryRequestQueryIngestedAt
func NewCreateRequestBulkRetryRequestQueryIngestedAtFromDateTime ¶
func NewCreateRequestBulkRetryRequestQueryIngestedAtFromDateTime(value time.Time) *CreateRequestBulkRetryRequestQueryIngestedAt
func (*CreateRequestBulkRetryRequestQueryIngestedAt) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryIngestedAt) Accept(visitor CreateRequestBulkRetryRequestQueryIngestedAtVisitor) error
func (CreateRequestBulkRetryRequestQueryIngestedAt) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryIngestedAt) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryIngestedAt) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryIngestedAt) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryIngestedAtVisitor ¶
type CreateRequestBulkRetryRequestQueryIngestedAtVisitor interface {
VisitDateTime(time.Time) error
VisitCreateRequestBulkRetryRequestQueryIngestedAtAny(*CreateRequestBulkRetryRequestQueryIngestedAtAny) error
}
type CreateRequestBulkRetryRequestQueryParsedQuery ¶
type CreateRequestBulkRetryRequestQueryParsedQuery struct {
String string
CreateRequestBulkRetryRequestQueryParsedQueryOne *CreateRequestBulkRetryRequestQueryParsedQueryOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
func NewCreateRequestBulkRetryRequestQueryParsedQueryFromCreateRequestBulkRetryRequestQueryParsedQueryOne ¶
func NewCreateRequestBulkRetryRequestQueryParsedQueryFromCreateRequestBulkRetryRequestQueryParsedQueryOne(value *CreateRequestBulkRetryRequestQueryParsedQueryOne) *CreateRequestBulkRetryRequestQueryParsedQuery
func NewCreateRequestBulkRetryRequestQueryParsedQueryFromString ¶
func NewCreateRequestBulkRetryRequestQueryParsedQueryFromString(value string) *CreateRequestBulkRetryRequestQueryParsedQuery
func (*CreateRequestBulkRetryRequestQueryParsedQuery) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryParsedQuery) Accept(visitor CreateRequestBulkRetryRequestQueryParsedQueryVisitor) error
func (CreateRequestBulkRetryRequestQueryParsedQuery) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryParsedQuery) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryParsedQueryOne ¶
type CreateRequestBulkRetryRequestQueryParsedQueryOne struct {
}
type CreateRequestBulkRetryRequestQueryParsedQueryVisitor ¶
type CreateRequestBulkRetryRequestQueryParsedQueryVisitor interface {
VisitString(string) error
VisitCreateRequestBulkRetryRequestQueryParsedQueryOne(*CreateRequestBulkRetryRequestQueryParsedQueryOne) error
}
type CreateRequestBulkRetryRequestQueryRejectionCause ¶
type CreateRequestBulkRetryRequestQueryRejectionCause struct {
RequestRejectionCause RequestRejectionCause
RequestRejectionCauseList []RequestRejectionCause
// contains filtered or unexported fields
}
Filter by rejection cause
func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCause ¶
func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause
func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCauseList ¶
func NewCreateRequestBulkRetryRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *CreateRequestBulkRetryRequestQueryRejectionCause
func (*CreateRequestBulkRetryRequestQueryRejectionCause) Accept ¶
func (c *CreateRequestBulkRetryRequestQueryRejectionCause) Accept(visitor CreateRequestBulkRetryRequestQueryRejectionCauseVisitor) error
func (CreateRequestBulkRetryRequestQueryRejectionCause) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryRejectionCause) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQueryRejectionCause) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryRejectionCause) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryRejectionCauseVisitor ¶
type CreateRequestBulkRetryRequestQueryRejectionCauseVisitor interface {
VisitRequestRejectionCause(RequestRejectionCause) error
VisitRequestRejectionCauseList([]RequestRejectionCause) error
}
type CreateRequestBulkRetryRequestQuerySourceId ¶
type CreateRequestBulkRetryRequestQuerySourceId struct {
// Source ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by source IDs
func NewCreateRequestBulkRetryRequestQuerySourceIdFromString ¶
func NewCreateRequestBulkRetryRequestQuerySourceIdFromString(value string) *CreateRequestBulkRetryRequestQuerySourceId
func NewCreateRequestBulkRetryRequestQuerySourceIdFromStringList ¶
func NewCreateRequestBulkRetryRequestQuerySourceIdFromStringList(value []string) *CreateRequestBulkRetryRequestQuerySourceId
func (*CreateRequestBulkRetryRequestQuerySourceId) Accept ¶
func (c *CreateRequestBulkRetryRequestQuerySourceId) Accept(visitor CreateRequestBulkRetryRequestQuerySourceIdVisitor) error
func (CreateRequestBulkRetryRequestQuerySourceId) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQuerySourceId) MarshalJSON() ([]byte, error)
func (*CreateRequestBulkRetryRequestQuerySourceId) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQuerySourceId) UnmarshalJSON(data []byte) error
type CreateRequestBulkRetryRequestQueryStatus ¶
type CreateRequestBulkRetryRequestQueryStatus uint
Filter by status
const ( CreateRequestBulkRetryRequestQueryStatusAccepted CreateRequestBulkRetryRequestQueryStatus = iota + 1 CreateRequestBulkRetryRequestQueryStatusRejected )
func (CreateRequestBulkRetryRequestQueryStatus) MarshalJSON ¶
func (c CreateRequestBulkRetryRequestQueryStatus) MarshalJSON() ([]byte, error)
func (CreateRequestBulkRetryRequestQueryStatus) String ¶
func (c CreateRequestBulkRetryRequestQueryStatus) String() string
func (*CreateRequestBulkRetryRequestQueryStatus) UnmarshalJSON ¶
func (c *CreateRequestBulkRetryRequestQueryStatus) UnmarshalJSON(data []byte) error
type CreateSourceRequest ¶
type CreateSourceRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *string `json:"description,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
Verification *VerificationConfig `json:"verification,omitempty"`
}
type CreateTransformationRequest ¶
type CreateTransformationRequest struct {
// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// JavaScript code to be executed as string
Code string `json:"code"`
// Key-value environment variables to be passed to the transformation
Env map[string]*CreateTransformationRequestEnvValue `json:"env,omitempty"`
}
type CreateTransformationRequestEnvValue ¶
type CreateTransformationRequestEnvValue struct {
String string
Double float64
// contains filtered or unexported fields
}
func NewCreateTransformationRequestEnvValueFromDouble ¶
func NewCreateTransformationRequestEnvValueFromDouble(value float64) *CreateTransformationRequestEnvValue
func NewCreateTransformationRequestEnvValueFromString ¶
func NewCreateTransformationRequestEnvValueFromString(value string) *CreateTransformationRequestEnvValue
func (*CreateTransformationRequestEnvValue) Accept ¶
func (c *CreateTransformationRequestEnvValue) Accept(visitor CreateTransformationRequestEnvValueVisitor) error
func (CreateTransformationRequestEnvValue) MarshalJSON ¶
func (c CreateTransformationRequestEnvValue) MarshalJSON() ([]byte, error)
func (*CreateTransformationRequestEnvValue) UnmarshalJSON ¶
func (c *CreateTransformationRequestEnvValue) UnmarshalJSON(data []byte) error
type CustomSignature ¶
type CustomSignature struct {
Config *DestinationAuthMethodCustomSignatureConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Custom Signature
func (*CustomSignature) MarshalJSON ¶
func (c *CustomSignature) MarshalJSON() ([]byte, error)
func (*CustomSignature) Type ¶
func (c *CustomSignature) Type() string
func (*CustomSignature) UnmarshalJSON ¶
func (c *CustomSignature) UnmarshalJSON(data []byte) error
type DelayRule ¶
type DelayRule struct {
// Delay to introduce in MS
Delay int `json:"delay"`
// contains filtered or unexported fields
}
func (*DelayRule) MarshalJSON ¶
func (*DelayRule) UnmarshalJSON ¶
type DeleteConnectionResponse ¶
type DeleteConnectionResponse struct {
// ID of the connection
Id string `json:"id"`
}
type DeleteCustomDomainSchema ¶
type DeleteCustomDomainSchema struct {
// The custom hostname ID
Id string `json:"id"`
}
type DeleteDestinationResponse ¶
type DeleteDestinationResponse struct {
// ID of the destination
Id string `json:"id"`
}
type DeleteSourceResponse ¶
type DeleteSourceResponse struct {
// ID of the source
Id string `json:"id"`
}
type DeletedBookmarkResponse ¶
type DeletedBookmarkResponse struct {
// Bookmark ID
Id string `json:"id"`
}
type DeletedIntegration ¶
type DeletedIntegration struct {
Id string `json:"id"`
}
type DeletedIssueTriggerResponse ¶
type DeletedIssueTriggerResponse struct {
Id string `json:"id"`
}
type DeliveryIssue ¶
type DeliveryIssue struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *DeliveryIssueReference `json:"reference,omitempty"`
// contains filtered or unexported fields
}
Delivery issue
func (*DeliveryIssue) MarshalJSON ¶
func (d *DeliveryIssue) MarshalJSON() ([]byte, error)
func (*DeliveryIssue) Type ¶
func (d *DeliveryIssue) Type() string
func (*DeliveryIssue) UnmarshalJSON ¶
func (d *DeliveryIssue) UnmarshalJSON(data []byte) error
type DeliveryIssueAggregationKeys ¶
type DeliveryIssueAggregationKeys struct {
WebhookId []string `json:"webhook_id,omitempty"`
ResponseStatus []float64 `json:"response_status,omitempty"`
ErrorCode []AttemptErrorCodes `json:"error_code,omitempty"`
}
Keys used as the aggregation keys a 'delivery' type issue
type DeliveryIssueData ¶
type DeliveryIssueData struct {
TriggerEvent *Event `json:"trigger_event,omitempty"`
TriggerAttempt *EventAttempt `json:"trigger_attempt,omitempty"`
}
Delivery issue data
type DeliveryIssueReference ¶
type DeliveryIssueReference struct {
EventId string `json:"event_id"`
AttemptId string `json:"attempt_id"`
}
Reference to the event and attempt an issue is being created for.
type DeliveryIssueWithData ¶
type DeliveryIssueWithData struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *DeliveryIssueReference `json:"reference,omitempty"`
Data *DeliveryIssueData `json:"data,omitempty"`
// contains filtered or unexported fields
}
Delivery issue
func (*DeliveryIssueWithData) MarshalJSON ¶
func (d *DeliveryIssueWithData) MarshalJSON() ([]byte, error)
func (*DeliveryIssueWithData) Type ¶
func (d *DeliveryIssueWithData) Type() string
func (*DeliveryIssueWithData) UnmarshalJSON ¶
func (d *DeliveryIssueWithData) UnmarshalJSON(data []byte) error
type Destination ¶
type Destination struct {
// ID of the destination
Id string `json:"id"`
// A unique, human-friendly name for the destination
Name string `json:"name"`
// Description of the destination
Description *string `json:"description,omitempty"`
// ID of the workspace
TeamId string `json:"team_id"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
// HTTP endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Limit event attempts to receive per period. Max value is workspace plan's max attempts thoughput.
RateLimit *int `json:"rate_limit,omitempty"`
RateLimitPeriod *DestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
// Date the destination was archived
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// Date the destination was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the destination was created
CreatedAt time.Time `json:"created_at"`
}
Associated Destination(#destination-object) object
type DestinationAuthMethodApiKeyConfig ¶
type DestinationAuthMethodApiKeyConfig struct {
// Key for the API key auth
Key string `json:"key"`
// API key for the API key auth
ApiKey string `json:"api_key"`
// Whether the API key should be sent as a header or a query parameter
To *DestinationAuthMethodApiKeyConfigTo `json:"to,omitempty"`
}
API key config for the destination's auth method
type DestinationAuthMethodApiKeyConfigTo ¶
type DestinationAuthMethodApiKeyConfigTo uint
Whether the API key should be sent as a header or a query parameter
const ( DestinationAuthMethodApiKeyConfigToHeader DestinationAuthMethodApiKeyConfigTo = iota + 1 DestinationAuthMethodApiKeyConfigToQuery )
func (DestinationAuthMethodApiKeyConfigTo) MarshalJSON ¶
func (d DestinationAuthMethodApiKeyConfigTo) MarshalJSON() ([]byte, error)
func (DestinationAuthMethodApiKeyConfigTo) String ¶
func (d DestinationAuthMethodApiKeyConfigTo) String() string
func (*DestinationAuthMethodApiKeyConfigTo) UnmarshalJSON ¶
func (d *DestinationAuthMethodApiKeyConfigTo) UnmarshalJSON(data []byte) error
type DestinationAuthMethodBasicAuthConfig ¶
type DestinationAuthMethodBasicAuthConfig struct {
// Username for basic auth
Username string `json:"username"`
// Password for basic auth
Password string `json:"password"`
}
Basic auth config for the destination's auth method
type DestinationAuthMethodBearerTokenConfig ¶
type DestinationAuthMethodBearerTokenConfig struct {
// Token for the bearer token auth
Token string `json:"token"`
}
Bearer token config for the destination's auth method
type DestinationAuthMethodConfig ¶
type DestinationAuthMethodConfig struct {
HookdeckSignature *HookdeckSignature
BasicAuth *BasicAuth
ApiKey *ApiKey
BearerToken *BearerToken
CustomSignature *CustomSignature
// contains filtered or unexported fields
}
Config for the destination's auth method
func NewDestinationAuthMethodConfigFromApiKey ¶
func NewDestinationAuthMethodConfigFromApiKey(value *ApiKey) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromBasicAuth ¶
func NewDestinationAuthMethodConfigFromBasicAuth(value *BasicAuth) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromBearerToken ¶
func NewDestinationAuthMethodConfigFromBearerToken(value *BearerToken) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromCustomSignature ¶
func NewDestinationAuthMethodConfigFromCustomSignature(value *CustomSignature) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromHookdeckSignature ¶
func NewDestinationAuthMethodConfigFromHookdeckSignature(value *HookdeckSignature) *DestinationAuthMethodConfig
func (*DestinationAuthMethodConfig) Accept ¶
func (d *DestinationAuthMethodConfig) Accept(visitor DestinationAuthMethodConfigVisitor) error
func (DestinationAuthMethodConfig) MarshalJSON ¶
func (d DestinationAuthMethodConfig) MarshalJSON() ([]byte, error)
func (*DestinationAuthMethodConfig) UnmarshalJSON ¶
func (d *DestinationAuthMethodConfig) UnmarshalJSON(data []byte) error
type DestinationAuthMethodConfigVisitor ¶
type DestinationAuthMethodConfigVisitor interface {
VisitHookdeckSignature(*HookdeckSignature) error
VisitBasicAuth(*BasicAuth) error
VisitApiKey(*ApiKey) error
VisitBearerToken(*BearerToken) error
VisitCustomSignature(*CustomSignature) error
}
type DestinationAuthMethodCustomSignatureConfig ¶
type DestinationAuthMethodCustomSignatureConfig struct {
// Key for the custom signature auth
Key string `json:"key"`
// Signing secret for the custom signature auth. If left empty a secret will be generated for you.
SigningSecret *string `json:"signing_secret,omitempty"`
}
Custom signature config for the destination's auth method
type DestinationAuthMethodSignatureConfig ¶
type DestinationAuthMethodSignatureConfig struct {
}
Empty config for the destination's auth method
type DestinationHttpMethod ¶
type DestinationHttpMethod uint
HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source.
const ( DestinationHttpMethodGet DestinationHttpMethod = iota + 1 DestinationHttpMethodPost DestinationHttpMethodPut DestinationHttpMethodPatch DestinationHttpMethodDelete )
func (DestinationHttpMethod) MarshalJSON ¶
func (d DestinationHttpMethod) MarshalJSON() ([]byte, error)
func (DestinationHttpMethod) String ¶
func (d DestinationHttpMethod) String() string
func (*DestinationHttpMethod) UnmarshalJSON ¶
func (d *DestinationHttpMethod) UnmarshalJSON(data []byte) error
type DestinationPaginatedResult ¶
type DestinationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Destination `json:"models,omitempty"`
}
type DestinationRateLimitPeriod ¶
type DestinationRateLimitPeriod uint
Period to rate limit attempts
const ( DestinationRateLimitPeriodSecond DestinationRateLimitPeriod = iota + 1 DestinationRateLimitPeriodMinute DestinationRateLimitPeriodHour )
func (DestinationRateLimitPeriod) MarshalJSON ¶
func (d DestinationRateLimitPeriod) MarshalJSON() ([]byte, error)
func (DestinationRateLimitPeriod) String ¶
func (d DestinationRateLimitPeriod) String() string
func (*DestinationRateLimitPeriod) UnmarshalJSON ¶
func (d *DestinationRateLimitPeriod) UnmarshalJSON(data []byte) error
type DetachedIntegrationFromSource ¶
type DetachedIntegrationFromSource struct {
}
type Event ¶
type Event struct {
// ID of the event
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// ID of the associated connection
WebhookId string `json:"webhook_id"`
// ID of the associated source
SourceId string `json:"source_id"`
// ID of the associated destination
DestinationId string `json:"destination_id"`
// ID of the event data
EventDataId string `json:"event_data_id"`
// ID of the request that created the event
RequestId string `json:"request_id"`
// Number of delivery attempts made
Attempts int `json:"attempts"`
// Date of the most recently attempted retry
LastAttemptAt *time.Time `json:"last_attempt_at,omitempty"`
// Date of the next scheduled retry
NextAttemptAt *time.Time `json:"next_attempt_at,omitempty"`
// Event status
ResponseStatus *int `json:"response_status,omitempty"`
ErrorCode *AttemptErrorCodes `json:"error_code,omitempty"`
Status EventStatus `json:"status,omitempty"`
// Date of the latest successful attempt
SuccessfulAt *time.Time `json:"successful_at,omitempty"`
// ID of the CLI the event is sent to
CliId *string `json:"cli_id,omitempty"`
// Date the event was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the event was created
CreatedAt time.Time `json:"created_at"`
Data *ShortEventData `json:"data,omitempty"`
}
type EventArray ¶
type EventArray = []*Event
type EventAttempt ¶
type EventAttempt struct {
// Attempt ID
Id string `json:"id"`
// Team ID
TeamId string `json:"team_id"`
// Event ID
EventId string `json:"event_id"`
// Attempt's HTTP response code
ResponseStatus *int `json:"response_status,omitempty"`
// Sequential number of attempts (up to and including this one) made for the associated event
AttemptNumber *int `json:"attempt_number,omitempty"`
Trigger *AttemptTrigger `json:"trigger,omitempty"`
ErrorCode *AttemptErrorCodes `json:"error_code,omitempty"`
Body *EventAttemptBody `json:"body,omitempty"`
// URL of the destination where delivery was attempted
RequestedUrl *string `json:"requested_url,omitempty"`
// HTTP method used to deliver the attempt
HttpMethod *EventAttemptHttpMethod `json:"http_method,omitempty"`
// ID of associated bulk retry
BulkRetryId *string `json:"bulk_retry_id,omitempty"`
Status AttemptStatus `json:"status,omitempty"`
// Date the attempt was successful
SuccessfulAt *time.Time `json:"successful_at,omitempty"`
// Date the attempt was delivered
DeliveredAt *time.Time `json:"delivered_at,omitempty"`
// Date the destination responded to this attempt
RespondedAt *time.Time `json:"responded_at,omitempty"`
// Time elapsed between attempt initiation and final delivery (in ms)
DeliveryLatency *int `json:"delivery_latency,omitempty"`
// Time elapsed between attempt initiation and a response from the destination (in ms)
ResponseLatency *int `json:"response_latency,omitempty"`
// Date the attempt was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the attempt was created
CreatedAt time.Time `json:"created_at"`
State *AttemptState `json:"state,omitempty"`
// Date the attempt was archived
ArchivedAt *string `json:"archived_at,omitempty"`
DestinationId *string `json:"destination_id,omitempty"`
}
type EventAttemptBody ¶
type EventAttemptBody struct {
// Response body from the destination
EventAttemptBodyZeroOptional *EventAttemptBodyZero
// Response body from the destination
StringOptional *string
// contains filtered or unexported fields
}
func NewEventAttemptBodyFromEventAttemptBodyZeroOptional ¶
func NewEventAttemptBodyFromEventAttemptBodyZeroOptional(value *EventAttemptBodyZero) *EventAttemptBody
func NewEventAttemptBodyFromStringOptional ¶
func NewEventAttemptBodyFromStringOptional(value *string) *EventAttemptBody
func (*EventAttemptBody) Accept ¶
func (e *EventAttemptBody) Accept(visitor EventAttemptBodyVisitor) error
func (EventAttemptBody) MarshalJSON ¶
func (e EventAttemptBody) MarshalJSON() ([]byte, error)
func (*EventAttemptBody) UnmarshalJSON ¶
func (e *EventAttemptBody) UnmarshalJSON(data []byte) error
type EventAttemptBodyVisitor ¶
type EventAttemptBodyVisitor interface {
VisitEventAttemptBodyZeroOptional(*EventAttemptBodyZero) error
VisitStringOptional(*string) error
}
type EventAttemptHttpMethod ¶
type EventAttemptHttpMethod uint
HTTP method used to deliver the attempt
const ( EventAttemptHttpMethodGet EventAttemptHttpMethod = iota + 1 EventAttemptHttpMethodPost EventAttemptHttpMethodPut EventAttemptHttpMethodPatch EventAttemptHttpMethodDelete )
func (EventAttemptHttpMethod) MarshalJSON ¶
func (e EventAttemptHttpMethod) MarshalJSON() ([]byte, error)
func (EventAttemptHttpMethod) String ¶
func (e EventAttemptHttpMethod) String() string
func (*EventAttemptHttpMethod) UnmarshalJSON ¶
func (e *EventAttemptHttpMethod) UnmarshalJSON(data []byte) error
type EventAttemptPaginatedResult ¶
type EventAttemptPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*EventAttempt `json:"models,omitempty"`
}
type EventPaginatedResult ¶
type EventPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Event `json:"models,omitempty"`
}
type EventStatus ¶
type EventStatus uint
const ( EventStatusScheduled EventStatus = iota + 1 EventStatusQueued EventStatusHold EventStatusSuccessful EventStatusFailed )
func (EventStatus) MarshalJSON ¶
func (e EventStatus) MarshalJSON() ([]byte, error)
func (EventStatus) String ¶
func (e EventStatus) String() string
func (*EventStatus) UnmarshalJSON ¶
func (e *EventStatus) UnmarshalJSON(data []byte) error
type FilterRule ¶
type FilterRule struct {
Headers *ConnectionFilterProperty `json:"headers,omitempty"`
Body *ConnectionFilterProperty `json:"body,omitempty"`
Query *ConnectionFilterProperty `json:"query,omitempty"`
Path *ConnectionFilterProperty `json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*FilterRule) MarshalJSON ¶
func (f *FilterRule) MarshalJSON() ([]byte, error)
func (*FilterRule) Type ¶
func (f *FilterRule) Type() string
func (*FilterRule) UnmarshalJSON ¶
func (f *FilterRule) UnmarshalJSON(data []byte) error
type FilteredMeta ¶
type FilteredMeta uint
const ( FilteredMetaBody FilteredMeta = iota + 1 FilteredMetaHeaders FilteredMetaPath FilteredMetaQuery )
func (FilteredMeta) MarshalJSON ¶
func (f FilteredMeta) MarshalJSON() ([]byte, error)
func (FilteredMeta) String ¶
func (f FilteredMeta) String() string
func (*FilteredMeta) UnmarshalJSON ¶
func (f *FilteredMeta) UnmarshalJSON(data []byte) error
type GenerateEventBulkRetryPlanResponse ¶
type GenerateEventBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type GenerateIgnoredEventBulkRetryPlanResponse ¶
type GenerateIgnoredEventBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type GenerateRequestBulkRetryPlanResponse ¶
type GenerateRequestBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type GetAttemptsRequest ¶
type GetAttemptsRequestDir ¶
type GetAttemptsRequestDir uint
const ( GetAttemptsRequestDirAsc GetAttemptsRequestDir = iota + 1 GetAttemptsRequestDirDesc )
func (GetAttemptsRequestDir) MarshalJSON ¶
func (g GetAttemptsRequestDir) MarshalJSON() ([]byte, error)
func (GetAttemptsRequestDir) String ¶
func (g GetAttemptsRequestDir) String() string
func (*GetAttemptsRequestDir) UnmarshalJSON ¶
func (g *GetAttemptsRequestDir) UnmarshalJSON(data []byte) error
type GetBookmarksRequest ¶
type GetBookmarksRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
WebhookId *string `json:"-"`
EventDataId *string `json:"-"`
Label *string `json:"-"`
LastUsedAt *time.Time `json:"-"`
OrderBy *string `json:"-"`
Dir *GetBookmarksRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetBookmarksRequestDir ¶
type GetBookmarksRequestDir uint
const ( GetBookmarksRequestDirAsc GetBookmarksRequestDir = iota + 1 GetBookmarksRequestDirDesc )
func (GetBookmarksRequestDir) MarshalJSON ¶
func (g GetBookmarksRequestDir) MarshalJSON() ([]byte, error)
func (GetBookmarksRequestDir) String ¶
func (g GetBookmarksRequestDir) String() string
func (*GetBookmarksRequestDir) UnmarshalJSON ¶
func (g *GetBookmarksRequestDir) UnmarshalJSON(data []byte) error
type GetConnectionsRequest ¶
type GetConnectionsRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Archived *bool `json:"-"`
ArchivedAt *time.Time `json:"-"`
FullName *string `json:"-"`
PausedAt *time.Time `json:"-"`
OrderBy *GetConnectionsRequestOrderBy `json:"-"`
Dir *GetConnectionsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetConnectionsRequestDir ¶
type GetConnectionsRequestDir uint
const ( GetConnectionsRequestDirAsc GetConnectionsRequestDir = iota + 1 GetConnectionsRequestDirDesc )
func (GetConnectionsRequestDir) MarshalJSON ¶
func (g GetConnectionsRequestDir) MarshalJSON() ([]byte, error)
func (GetConnectionsRequestDir) String ¶
func (g GetConnectionsRequestDir) String() string
func (*GetConnectionsRequestDir) UnmarshalJSON ¶
func (g *GetConnectionsRequestDir) UnmarshalJSON(data []byte) error
type GetConnectionsRequestOrderBy ¶
type GetConnectionsRequestOrderBy uint
const ( GetConnectionsRequestOrderByCreatedAt GetConnectionsRequestOrderBy = iota + 1 GetConnectionsRequestOrderByUpdatedAt GetConnectionsRequestOrderBySourcesUpdatedAt GetConnectionsRequestOrderBySourcesCreatedAt GetConnectionsRequestOrderByDestinationsUpdatedAt GetConnectionsRequestOrderByDestinationsCreatedAt )
func (GetConnectionsRequestOrderBy) MarshalJSON ¶
func (g GetConnectionsRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetConnectionsRequestOrderBy) String ¶
func (g GetConnectionsRequestOrderBy) String() string
func (*GetConnectionsRequestOrderBy) UnmarshalJSON ¶
func (g *GetConnectionsRequestOrderBy) UnmarshalJSON(data []byte) error
type GetDestinationsRequest ¶
type GetDestinationsRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
Archived *bool `json:"-"`
ArchivedAt *time.Time `json:"-"`
Url *string `json:"-"`
CliPath *string `json:"-"`
OrderBy *string `json:"-"`
Dir *GetDestinationsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetDestinationsRequestDir ¶
type GetDestinationsRequestDir uint
const ( GetDestinationsRequestDirAsc GetDestinationsRequestDir = iota + 1 GetDestinationsRequestDirDesc )
func (GetDestinationsRequestDir) MarshalJSON ¶
func (g GetDestinationsRequestDir) MarshalJSON() ([]byte, error)
func (GetDestinationsRequestDir) String ¶
func (g GetDestinationsRequestDir) String() string
func (*GetDestinationsRequestDir) UnmarshalJSON ¶
func (g *GetDestinationsRequestDir) UnmarshalJSON(data []byte) error
type GetEventBulkRetriesRequest ¶
type GetEventBulkRetriesRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
QueryPartialMatch *bool `json:"-"`
InProgress *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *GetEventBulkRetriesRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetEventBulkRetriesRequestDir ¶
type GetEventBulkRetriesRequestDir uint
const ( GetEventBulkRetriesRequestDirAsc GetEventBulkRetriesRequestDir = iota + 1 GetEventBulkRetriesRequestDirDesc )
func (GetEventBulkRetriesRequestDir) MarshalJSON ¶
func (g GetEventBulkRetriesRequestDir) MarshalJSON() ([]byte, error)
func (GetEventBulkRetriesRequestDir) String ¶
func (g GetEventBulkRetriesRequestDir) String() string
func (*GetEventBulkRetriesRequestDir) UnmarshalJSON ¶
func (g *GetEventBulkRetriesRequestDir) UnmarshalJSON(data []byte) error
type GetEventsRequest ¶
type GetEventsRequest struct {
Id *string `json:"-"`
Status *EventStatus `json:"-"`
WebhookId *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Attempts *int `json:"-"`
ResponseStatus *int `json:"-"`
SuccessfulAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
ErrorCode *AttemptErrorCodes `json:"-"`
CliId *string `json:"-"`
LastAttemptAt *time.Time `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
CliUserId *string `json:"-"`
IssueId *string `json:"-"`
EventDataId *string `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *GetEventsRequestOrderBy `json:"-"`
Dir *GetEventsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetEventsRequestDir ¶
type GetEventsRequestDir uint
Sort direction
const ( GetEventsRequestDirAsc GetEventsRequestDir = iota + 1 GetEventsRequestDirDesc )
func (GetEventsRequestDir) MarshalJSON ¶
func (g GetEventsRequestDir) MarshalJSON() ([]byte, error)
func (GetEventsRequestDir) String ¶
func (g GetEventsRequestDir) String() string
func (*GetEventsRequestDir) UnmarshalJSON ¶
func (g *GetEventsRequestDir) UnmarshalJSON(data []byte) error
type GetEventsRequestOrderBy ¶
type GetEventsRequestOrderBy uint
Sort key
const ( GetEventsRequestOrderByLastAttemptAt GetEventsRequestOrderBy = iota + 1 GetEventsRequestOrderByCreatedAt )
func (GetEventsRequestOrderBy) MarshalJSON ¶
func (g GetEventsRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetEventsRequestOrderBy) String ¶
func (g GetEventsRequestOrderBy) String() string
func (*GetEventsRequestOrderBy) UnmarshalJSON ¶
func (g *GetEventsRequestOrderBy) UnmarshalJSON(data []byte) error
type GetIgnoredEventBulkRetriesRequest ¶
type GetIgnoredEventBulkRetriesRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
QueryPartialMatch *bool `json:"-"`
InProgress *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *GetIgnoredEventBulkRetriesRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetIgnoredEventBulkRetriesRequestDir ¶
type GetIgnoredEventBulkRetriesRequestDir uint
const ( GetIgnoredEventBulkRetriesRequestDirAsc GetIgnoredEventBulkRetriesRequestDir = iota + 1 GetIgnoredEventBulkRetriesRequestDirDesc )
func (GetIgnoredEventBulkRetriesRequestDir) MarshalJSON ¶
func (g GetIgnoredEventBulkRetriesRequestDir) MarshalJSON() ([]byte, error)
func (GetIgnoredEventBulkRetriesRequestDir) String ¶
func (g GetIgnoredEventBulkRetriesRequestDir) String() string
func (*GetIgnoredEventBulkRetriesRequestDir) UnmarshalJSON ¶
func (g *GetIgnoredEventBulkRetriesRequestDir) UnmarshalJSON(data []byte) error
type GetIntegrationsRequest ¶
type GetIntegrationsRequest struct {
Label *string `json:"-"`
Provider *IntegrationProvider `json:"-"`
}
type GetIssueCountRequest ¶
type GetIssueCountRequest struct {
Id *string `json:"-"`
IssueTriggerId *string `json:"-"`
Type *GetIssueCountRequestType `json:"-"`
Status *GetIssueCountRequestStatus `json:"-"`
MergedWith *string `json:"-"`
CreatedAt *time.Time `json:"-"`
FirstSeenAt *time.Time `json:"-"`
LastSeenAt *time.Time `json:"-"`
DismissedAt *time.Time `json:"-"`
OrderBy *GetIssueCountRequestOrderBy `json:"-"`
Dir *GetIssueCountRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetIssueCountRequestDir ¶
type GetIssueCountRequestDir uint
const ( GetIssueCountRequestDirAsc GetIssueCountRequestDir = iota + 1 GetIssueCountRequestDirDesc )
func (GetIssueCountRequestDir) MarshalJSON ¶
func (g GetIssueCountRequestDir) MarshalJSON() ([]byte, error)
func (GetIssueCountRequestDir) String ¶
func (g GetIssueCountRequestDir) String() string
func (*GetIssueCountRequestDir) UnmarshalJSON ¶
func (g *GetIssueCountRequestDir) UnmarshalJSON(data []byte) error
type GetIssueCountRequestOrderBy ¶
type GetIssueCountRequestOrderBy uint
const ( GetIssueCountRequestOrderByCreatedAt GetIssueCountRequestOrderBy = iota + 1 GetIssueCountRequestOrderByFirstSeenAt GetIssueCountRequestOrderByLastSeenAt GetIssueCountRequestOrderByOpenedAt GetIssueCountRequestOrderByStatus )
func (GetIssueCountRequestOrderBy) MarshalJSON ¶
func (g GetIssueCountRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetIssueCountRequestOrderBy) String ¶
func (g GetIssueCountRequestOrderBy) String() string
func (*GetIssueCountRequestOrderBy) UnmarshalJSON ¶
func (g *GetIssueCountRequestOrderBy) UnmarshalJSON(data []byte) error
type GetIssueCountRequestStatus ¶
type GetIssueCountRequestStatus uint
Issue status
const ( GetIssueCountRequestStatusOpened GetIssueCountRequestStatus = iota + 1 GetIssueCountRequestStatusIgnored GetIssueCountRequestStatusAcknowledged GetIssueCountRequestStatusResolved )
func (GetIssueCountRequestStatus) MarshalJSON ¶
func (g GetIssueCountRequestStatus) MarshalJSON() ([]byte, error)
func (GetIssueCountRequestStatus) String ¶
func (g GetIssueCountRequestStatus) String() string
func (*GetIssueCountRequestStatus) UnmarshalJSON ¶
func (g *GetIssueCountRequestStatus) UnmarshalJSON(data []byte) error
type GetIssueCountRequestType ¶
type GetIssueCountRequestType uint
Issue type
const ( GetIssueCountRequestTypeDelivery GetIssueCountRequestType = iota + 1 GetIssueCountRequestTypeTransformation GetIssueCountRequestTypeBackpressure )
func (GetIssueCountRequestType) MarshalJSON ¶
func (g GetIssueCountRequestType) MarshalJSON() ([]byte, error)
func (GetIssueCountRequestType) String ¶
func (g GetIssueCountRequestType) String() string
func (*GetIssueCountRequestType) UnmarshalJSON ¶
func (g *GetIssueCountRequestType) UnmarshalJSON(data []byte) error
type GetIssueTriggersRequest ¶
type GetIssueTriggersRequest struct {
Name *string `json:"-"`
Type *IssueType `json:"-"`
DisabledAt *time.Time `json:"-"`
OrderBy *GetIssueTriggersRequestOrderBy `json:"-"`
Dir *GetIssueTriggersRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetIssueTriggersRequestDir ¶
type GetIssueTriggersRequestDir uint
const ( GetIssueTriggersRequestDirAsc GetIssueTriggersRequestDir = iota + 1 GetIssueTriggersRequestDirDesc )
func (GetIssueTriggersRequestDir) MarshalJSON ¶
func (g GetIssueTriggersRequestDir) MarshalJSON() ([]byte, error)
func (GetIssueTriggersRequestDir) String ¶
func (g GetIssueTriggersRequestDir) String() string
func (*GetIssueTriggersRequestDir) UnmarshalJSON ¶
func (g *GetIssueTriggersRequestDir) UnmarshalJSON(data []byte) error
type GetIssueTriggersRequestOrderBy ¶
type GetIssueTriggersRequestOrderBy uint
const ( GetIssueTriggersRequestOrderByCreatedAt GetIssueTriggersRequestOrderBy = iota + 1 GetIssueTriggersRequestOrderByType )
func (GetIssueTriggersRequestOrderBy) MarshalJSON ¶
func (g GetIssueTriggersRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetIssueTriggersRequestOrderBy) String ¶
func (g GetIssueTriggersRequestOrderBy) String() string
func (*GetIssueTriggersRequestOrderBy) UnmarshalJSON ¶
func (g *GetIssueTriggersRequestOrderBy) UnmarshalJSON(data []byte) error
type GetIssuesRequest ¶
type GetIssuesRequest struct {
Id *string `json:"-"`
IssueTriggerId *string `json:"-"`
Type *GetIssuesRequestType `json:"-"`
Status *GetIssuesRequestStatus `json:"-"`
MergedWith *string `json:"-"`
CreatedAt *time.Time `json:"-"`
FirstSeenAt *time.Time `json:"-"`
LastSeenAt *time.Time `json:"-"`
DismissedAt *time.Time `json:"-"`
OrderBy *GetIssuesRequestOrderBy `json:"-"`
Dir *GetIssuesRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetIssuesRequestDir ¶
type GetIssuesRequestDir uint
const ( GetIssuesRequestDirAsc GetIssuesRequestDir = iota + 1 GetIssuesRequestDirDesc )
func (GetIssuesRequestDir) MarshalJSON ¶
func (g GetIssuesRequestDir) MarshalJSON() ([]byte, error)
func (GetIssuesRequestDir) String ¶
func (g GetIssuesRequestDir) String() string
func (*GetIssuesRequestDir) UnmarshalJSON ¶
func (g *GetIssuesRequestDir) UnmarshalJSON(data []byte) error
type GetIssuesRequestOrderBy ¶
type GetIssuesRequestOrderBy uint
const ( GetIssuesRequestOrderByCreatedAt GetIssuesRequestOrderBy = iota + 1 GetIssuesRequestOrderByFirstSeenAt GetIssuesRequestOrderByLastSeenAt GetIssuesRequestOrderByOpenedAt GetIssuesRequestOrderByStatus )
func (GetIssuesRequestOrderBy) MarshalJSON ¶
func (g GetIssuesRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetIssuesRequestOrderBy) String ¶
func (g GetIssuesRequestOrderBy) String() string
func (*GetIssuesRequestOrderBy) UnmarshalJSON ¶
func (g *GetIssuesRequestOrderBy) UnmarshalJSON(data []byte) error
type GetIssuesRequestStatus ¶
type GetIssuesRequestStatus uint
Issue status
const ( GetIssuesRequestStatusOpened GetIssuesRequestStatus = iota + 1 GetIssuesRequestStatusIgnored GetIssuesRequestStatusAcknowledged GetIssuesRequestStatusResolved )
func (GetIssuesRequestStatus) MarshalJSON ¶
func (g GetIssuesRequestStatus) MarshalJSON() ([]byte, error)
func (GetIssuesRequestStatus) String ¶
func (g GetIssuesRequestStatus) String() string
func (*GetIssuesRequestStatus) UnmarshalJSON ¶
func (g *GetIssuesRequestStatus) UnmarshalJSON(data []byte) error
type GetIssuesRequestType ¶
type GetIssuesRequestType uint
Issue type
const ( GetIssuesRequestTypeDelivery GetIssuesRequestType = iota + 1 GetIssuesRequestTypeTransformation GetIssuesRequestTypeBackpressure )
func (GetIssuesRequestType) MarshalJSON ¶
func (g GetIssuesRequestType) MarshalJSON() ([]byte, error)
func (GetIssuesRequestType) String ¶
func (g GetIssuesRequestType) String() string
func (*GetIssuesRequestType) UnmarshalJSON ¶
func (g *GetIssuesRequestType) UnmarshalJSON(data []byte) error
type GetRequestBulkRetriesRequest ¶
type GetRequestBulkRetriesRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
InProgress *bool `json:"-"`
QueryPartialMatch *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *GetRequestBulkRetriesRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetRequestBulkRetriesRequestDir ¶
type GetRequestBulkRetriesRequestDir uint
const ( GetRequestBulkRetriesRequestDirAsc GetRequestBulkRetriesRequestDir = iota + 1 GetRequestBulkRetriesRequestDirDesc )
func (GetRequestBulkRetriesRequestDir) MarshalJSON ¶
func (g GetRequestBulkRetriesRequestDir) MarshalJSON() ([]byte, error)
func (GetRequestBulkRetriesRequestDir) String ¶
func (g GetRequestBulkRetriesRequestDir) String() string
func (*GetRequestBulkRetriesRequestDir) UnmarshalJSON ¶
func (g *GetRequestBulkRetriesRequestDir) UnmarshalJSON(data []byte) error
type GetRequestEventsRequest ¶
type GetRequestEventsRequest struct {
Id *string `json:"-"`
Status *EventStatus `json:"-"`
WebhookId *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Attempts *int `json:"-"`
ResponseStatus *int `json:"-"`
SuccessfulAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
ErrorCode *AttemptErrorCodes `json:"-"`
CliId *string `json:"-"`
LastAttemptAt *time.Time `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
CliUserId *string `json:"-"`
IssueId *string `json:"-"`
EventDataId *string `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *GetRequestEventsRequestOrderBy `json:"-"`
Dir *GetRequestEventsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetRequestEventsRequestDir ¶
type GetRequestEventsRequestDir uint
Sort direction
const ( GetRequestEventsRequestDirAsc GetRequestEventsRequestDir = iota + 1 GetRequestEventsRequestDirDesc )
func (GetRequestEventsRequestDir) MarshalJSON ¶
func (g GetRequestEventsRequestDir) MarshalJSON() ([]byte, error)
func (GetRequestEventsRequestDir) String ¶
func (g GetRequestEventsRequestDir) String() string
func (*GetRequestEventsRequestDir) UnmarshalJSON ¶
func (g *GetRequestEventsRequestDir) UnmarshalJSON(data []byte) error
type GetRequestEventsRequestOrderBy ¶
type GetRequestEventsRequestOrderBy uint
Sort key
const ( GetRequestEventsRequestOrderByLastAttemptAt GetRequestEventsRequestOrderBy = iota + 1 GetRequestEventsRequestOrderByCreatedAt )
func (GetRequestEventsRequestOrderBy) MarshalJSON ¶
func (g GetRequestEventsRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetRequestEventsRequestOrderBy) String ¶
func (g GetRequestEventsRequestOrderBy) String() string
func (*GetRequestEventsRequestOrderBy) UnmarshalJSON ¶
func (g *GetRequestEventsRequestOrderBy) UnmarshalJSON(data []byte) error
type GetRequestIgnoredEventsRequestDir ¶
type GetRequestIgnoredEventsRequestDir uint
const ( GetRequestIgnoredEventsRequestDirAsc GetRequestIgnoredEventsRequestDir = iota + 1 GetRequestIgnoredEventsRequestDirDesc )
func (GetRequestIgnoredEventsRequestDir) MarshalJSON ¶
func (g GetRequestIgnoredEventsRequestDir) MarshalJSON() ([]byte, error)
func (GetRequestIgnoredEventsRequestDir) String ¶
func (g GetRequestIgnoredEventsRequestDir) String() string
func (*GetRequestIgnoredEventsRequestDir) UnmarshalJSON ¶
func (g *GetRequestIgnoredEventsRequestDir) UnmarshalJSON(data []byte) error
type GetRequestsRequest ¶
type GetRequestsRequest struct {
Id *string `json:"-"`
Status *GetRequestsRequestStatus `json:"-"`
RejectionCause *RequestRejectionCause `json:"-"`
SourceId *string `json:"-"`
Verified *bool `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
IgnoredCount *int `json:"-"`
EventsCount *int `json:"-"`
IngestedAt *time.Time `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *GetRequestsRequestOrderBy `json:"-"`
Dir *GetRequestsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetRequestsRequestDir ¶
type GetRequestsRequestDir uint
Sort direction
const ( GetRequestsRequestDirAsc GetRequestsRequestDir = iota + 1 GetRequestsRequestDirDesc )
func (GetRequestsRequestDir) MarshalJSON ¶
func (g GetRequestsRequestDir) MarshalJSON() ([]byte, error)
func (GetRequestsRequestDir) String ¶
func (g GetRequestsRequestDir) String() string
func (*GetRequestsRequestDir) UnmarshalJSON ¶
func (g *GetRequestsRequestDir) UnmarshalJSON(data []byte) error
type GetRequestsRequestOrderBy ¶
type GetRequestsRequestOrderBy uint
Sort key
const ( GetRequestsRequestOrderByIngestedAt GetRequestsRequestOrderBy = iota + 1 GetRequestsRequestOrderByCreatedAt )
func (GetRequestsRequestOrderBy) MarshalJSON ¶
func (g GetRequestsRequestOrderBy) MarshalJSON() ([]byte, error)
func (GetRequestsRequestOrderBy) String ¶
func (g GetRequestsRequestOrderBy) String() string
func (*GetRequestsRequestOrderBy) UnmarshalJSON ¶
func (g *GetRequestsRequestOrderBy) UnmarshalJSON(data []byte) error
type GetRequestsRequestStatus ¶
type GetRequestsRequestStatus uint
Filter by status
const ( GetRequestsRequestStatusAccepted GetRequestsRequestStatus = iota + 1 GetRequestsRequestStatusRejected )
func (GetRequestsRequestStatus) MarshalJSON ¶
func (g GetRequestsRequestStatus) MarshalJSON() ([]byte, error)
func (GetRequestsRequestStatus) String ¶
func (g GetRequestsRequestStatus) String() string
func (*GetRequestsRequestStatus) UnmarshalJSON ¶
func (g *GetRequestsRequestStatus) UnmarshalJSON(data []byte) error
type GetSourceRequest ¶
type GetSourceRequest struct {
Include *string `json:"-"`
}
type GetSourcesRequest ¶
type GetSourcesRequestDir ¶
type GetSourcesRequestDir uint
const ( GetSourcesRequestDirAsc GetSourcesRequestDir = iota + 1 GetSourcesRequestDirDesc )
func (GetSourcesRequestDir) MarshalJSON ¶
func (g GetSourcesRequestDir) MarshalJSON() ([]byte, error)
func (GetSourcesRequestDir) String ¶
func (g GetSourcesRequestDir) String() string
func (*GetSourcesRequestDir) UnmarshalJSON ¶
func (g *GetSourcesRequestDir) UnmarshalJSON(data []byte) error
type GetTransformationExecutionsRequest ¶
type GetTransformationExecutionsRequest struct {
LogLevel *GetTransformationExecutionsRequestLogLevel `json:"-"`
WebhookId *string `json:"-"`
IssueId *string `json:"-"`
CreatedAt *time.Time `json:"-"`
OrderBy *string `json:"-"`
Dir *GetTransformationExecutionsRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type GetTransformationExecutionsRequestDir ¶
type GetTransformationExecutionsRequestDir uint
const ( GetTransformationExecutionsRequestDirAsc GetTransformationExecutionsRequestDir = iota + 1 GetTransformationExecutionsRequestDirDesc )
func (GetTransformationExecutionsRequestDir) MarshalJSON ¶
func (g GetTransformationExecutionsRequestDir) MarshalJSON() ([]byte, error)
func (GetTransformationExecutionsRequestDir) String ¶
func (g GetTransformationExecutionsRequestDir) String() string
func (*GetTransformationExecutionsRequestDir) UnmarshalJSON ¶
func (g *GetTransformationExecutionsRequestDir) UnmarshalJSON(data []byte) error
type GetTransformationExecutionsRequestLogLevel ¶
type GetTransformationExecutionsRequestLogLevel uint
const ( GetTransformationExecutionsRequestLogLevelDebug GetTransformationExecutionsRequestLogLevel = iota + 1 GetTransformationExecutionsRequestLogLevelInfo GetTransformationExecutionsRequestLogLevelWarn GetTransformationExecutionsRequestLogLevelError GetTransformationExecutionsRequestLogLevelFatal )
func (GetTransformationExecutionsRequestLogLevel) MarshalJSON ¶
func (g GetTransformationExecutionsRequestLogLevel) MarshalJSON() ([]byte, error)
func (GetTransformationExecutionsRequestLogLevel) String ¶
func (g GetTransformationExecutionsRequestLogLevel) String() string
func (*GetTransformationExecutionsRequestLogLevel) UnmarshalJSON ¶
func (g *GetTransformationExecutionsRequestLogLevel) UnmarshalJSON(data []byte) error
type GetTransformationsRequestDir ¶
type GetTransformationsRequestDir uint
const ( GetTransformationsRequestDirAsc GetTransformationsRequestDir = iota + 1 GetTransformationsRequestDirDesc )
func (GetTransformationsRequestDir) MarshalJSON ¶
func (g GetTransformationsRequestDir) MarshalJSON() ([]byte, error)
func (GetTransformationsRequestDir) String ¶
func (g GetTransformationsRequestDir) String() string
func (*GetTransformationsRequestDir) UnmarshalJSON ¶
func (g *GetTransformationsRequestDir) UnmarshalJSON(data []byte) error
type GitHub ¶
type GitHub struct {
Configs *GitHubConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*GitHub) MarshalJSON ¶
func (*GitHub) UnmarshalJSON ¶
type GitHubConfigs ¶
type GitHubConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for GitHub. Only included if the ?include=verification.configs query param is present
type GitLab ¶
type GitLab struct {
Configs *GitLabConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*GitLab) MarshalJSON ¶
func (*GitLab) UnmarshalJSON ¶
type GitLabConfigs ¶
type GitLabConfigs struct {
ApiKey string `json:"api_key"`
}
The verification configs for GitLab. Only included if the ?include=verification.configs query param is present
type HandledApiKeyIntegrationConfigs ¶
type HandledApiKeyIntegrationConfigs struct {
ApiKey string `json:"api_key"`
}
type HandledHmacConfigs ¶
type HandledHmacConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
type Hmac ¶
type Hmac struct {
Configs *HmacConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Hmac) MarshalJSON ¶
func (*Hmac) UnmarshalJSON ¶
type HmacAlgorithms ¶
type HmacAlgorithms uint
const ( HmacAlgorithmsMd5 HmacAlgorithms = iota + 1 HmacAlgorithmsSha1 HmacAlgorithmsSha256 HmacAlgorithmsSha512 )
func (HmacAlgorithms) MarshalJSON ¶
func (h HmacAlgorithms) MarshalJSON() ([]byte, error)
func (HmacAlgorithms) String ¶
func (h HmacAlgorithms) String() string
func (*HmacAlgorithms) UnmarshalJSON ¶
func (h *HmacAlgorithms) UnmarshalJSON(data []byte) error
type HmacConfigs ¶
type HmacConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding HmacConfigsEncoding `json:"encoding,omitempty"`
}
The verification configs for HMAC. Only included if the ?include=verification.configs query param is present
type HmacConfigsEncoding ¶
type HmacConfigsEncoding uint
const ( HmacConfigsEncodingBase64 HmacConfigsEncoding = iota + 1 HmacConfigsEncodingHex )
func (HmacConfigsEncoding) MarshalJSON ¶
func (h HmacConfigsEncoding) MarshalJSON() ([]byte, error)
func (HmacConfigsEncoding) String ¶
func (h HmacConfigsEncoding) String() string
func (*HmacConfigsEncoding) UnmarshalJSON ¶
func (h *HmacConfigsEncoding) UnmarshalJSON(data []byte) error
type HmacIntegrationConfigs ¶
type HmacIntegrationConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding HmacIntegrationConfigsEncoding `json:"encoding,omitempty"`
}
type HmacIntegrationConfigsEncoding ¶
type HmacIntegrationConfigsEncoding uint
const ( HmacIntegrationConfigsEncodingBase64 HmacIntegrationConfigsEncoding = iota + 1 HmacIntegrationConfigsEncodingHex )
func (HmacIntegrationConfigsEncoding) MarshalJSON ¶
func (h HmacIntegrationConfigsEncoding) MarshalJSON() ([]byte, error)
func (HmacIntegrationConfigsEncoding) String ¶
func (h HmacIntegrationConfigsEncoding) String() string
func (*HmacIntegrationConfigsEncoding) UnmarshalJSON ¶
func (h *HmacIntegrationConfigsEncoding) UnmarshalJSON(data []byte) error
type HookdeckSignature ¶
type HookdeckSignature struct {
Config *DestinationAuthMethodSignatureConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Hookdeck Signature
func (*HookdeckSignature) MarshalJSON ¶
func (h *HookdeckSignature) MarshalJSON() ([]byte, error)
func (*HookdeckSignature) Type ¶
func (h *HookdeckSignature) Type() string
func (*HookdeckSignature) UnmarshalJSON ¶
func (h *HookdeckSignature) UnmarshalJSON(data []byte) error
type IgnoredEvent ¶
type IgnoredEvent struct {
Id string `json:"id"`
TeamId string `json:"team_id"`
WebhookId string `json:"webhook_id"`
Cause IgnoredEventCause `json:"cause,omitempty"`
RequestId string `json:"request_id"`
Meta *IgnoredEventMeta `json:"meta,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
CreatedAt time.Time `json:"created_at"`
}
type IgnoredEventCause ¶
type IgnoredEventCause uint
const ( IgnoredEventCauseArchived IgnoredEventCause = iota + 1 IgnoredEventCauseFiltered IgnoredEventCauseTransformationFailed IgnoredEventCauseCliDisconnected )
func (IgnoredEventCause) MarshalJSON ¶
func (i IgnoredEventCause) MarshalJSON() ([]byte, error)
func (IgnoredEventCause) String ¶
func (i IgnoredEventCause) String() string
func (*IgnoredEventCause) UnmarshalJSON ¶
func (i *IgnoredEventCause) UnmarshalJSON(data []byte) error
type IgnoredEventMeta ¶
type IgnoredEventMeta struct {
FilteredMeta FilteredMeta
TransformationFailedMeta *TransformationFailedMeta
// contains filtered or unexported fields
}
func NewIgnoredEventMetaFromFilteredMeta ¶
func NewIgnoredEventMetaFromFilteredMeta(value FilteredMeta) *IgnoredEventMeta
func NewIgnoredEventMetaFromTransformationFailedMeta ¶
func NewIgnoredEventMetaFromTransformationFailedMeta(value *TransformationFailedMeta) *IgnoredEventMeta
func (*IgnoredEventMeta) Accept ¶
func (i *IgnoredEventMeta) Accept(visitor IgnoredEventMetaVisitor) error
func (IgnoredEventMeta) MarshalJSON ¶
func (i IgnoredEventMeta) MarshalJSON() ([]byte, error)
func (*IgnoredEventMeta) UnmarshalJSON ¶
func (i *IgnoredEventMeta) UnmarshalJSON(data []byte) error
type IgnoredEventMetaVisitor ¶
type IgnoredEventMetaVisitor interface {
VisitFilteredMeta(FilteredMeta) error
VisitTransformationFailedMeta(*TransformationFailedMeta) error
}
type IgnoredEventPaginatedResult ¶
type IgnoredEventPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*IgnoredEvent `json:"models,omitempty"`
}
type Integration ¶
type Integration struct {
// ID of the integration
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// Label of the integration
Label string `json:"label"`
Provider IntegrationProvider `json:"provider,omitempty"`
// List of features to enable (see features list below)
Features []IntegrationFeature `json:"features,omitempty"`
// Decrypted Key/Value object of the associated configuration for that provider
Configs *IntegrationConfigs `json:"configs,omitempty"`
// List of source IDs the integration is attached to
Sources []string `json:"sources,omitempty"`
// Date the integration was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the integration was created
CreatedAt time.Time `json:"created_at"`
}
type IntegrationConfigs ¶
type IntegrationConfigs struct {
HmacIntegrationConfigs *HmacIntegrationConfigs
ApiKeyIntegrationConfigs *ApiKeyIntegrationConfigs
HandledApiKeyIntegrationConfigs *HandledApiKeyIntegrationConfigs
HandledHmacConfigs *HandledHmacConfigs
BasicAuthIntegrationConfigs *BasicAuthIntegrationConfigs
ShopifyIntegrationConfigs *ShopifyIntegrationConfigs
IntegrationConfigsSix *IntegrationConfigsSix
// contains filtered or unexported fields
}
Decrypted Key/Value object of the associated configuration for that provider
func NewIntegrationConfigsFromApiKeyIntegrationConfigs ¶
func NewIntegrationConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *IntegrationConfigs
func NewIntegrationConfigsFromBasicAuthIntegrationConfigs ¶
func NewIntegrationConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *IntegrationConfigs
func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs ¶
func NewIntegrationConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *IntegrationConfigs
func NewIntegrationConfigsFromHandledHmacConfigs ¶
func NewIntegrationConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *IntegrationConfigs
func NewIntegrationConfigsFromHmacIntegrationConfigs ¶
func NewIntegrationConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *IntegrationConfigs
func NewIntegrationConfigsFromIntegrationConfigsSix ¶
func NewIntegrationConfigsFromIntegrationConfigsSix(value *IntegrationConfigsSix) *IntegrationConfigs
func NewIntegrationConfigsFromShopifyIntegrationConfigs ¶
func NewIntegrationConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *IntegrationConfigs
func (*IntegrationConfigs) Accept ¶
func (i *IntegrationConfigs) Accept(visitor IntegrationConfigsVisitor) error
func (IntegrationConfigs) MarshalJSON ¶
func (i IntegrationConfigs) MarshalJSON() ([]byte, error)
func (*IntegrationConfigs) UnmarshalJSON ¶
func (i *IntegrationConfigs) UnmarshalJSON(data []byte) error
type IntegrationConfigsSix ¶
type IntegrationConfigsSix struct {
}
type IntegrationConfigsVisitor ¶
type IntegrationConfigsVisitor interface {
VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
VisitHandledHmacConfigs(*HandledHmacConfigs) error
VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
VisitIntegrationConfigsSix(*IntegrationConfigsSix) error
}
type IntegrationFeature ¶
type IntegrationFeature uint
const ( IntegrationFeatureVerification IntegrationFeature = iota + 1 IntegrationFeatureHandshake IntegrationFeaturePolling )
func (IntegrationFeature) MarshalJSON ¶
func (i IntegrationFeature) MarshalJSON() ([]byte, error)
func (IntegrationFeature) String ¶
func (i IntegrationFeature) String() string
func (*IntegrationFeature) UnmarshalJSON ¶
func (i *IntegrationFeature) UnmarshalJSON(data []byte) error
type IntegrationPaginatedResult ¶
type IntegrationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Integration `json:"models,omitempty"`
}
type IntegrationProvider ¶
type IntegrationProvider uint
const ( IntegrationProviderHmac IntegrationProvider = iota + 1 IntegrationProviderBasicAuth IntegrationProviderApiKey IntegrationProviderTwitter IntegrationProviderStripe IntegrationProviderRecharge IntegrationProviderGithub IntegrationProviderShopify IntegrationProviderPostmark IntegrationProviderTypeform IntegrationProviderXero IntegrationProviderSvix IntegrationProviderZoom IntegrationProviderAkeneo IntegrationProviderAdyen IntegrationProviderGitlab IntegrationProviderPropertyFinder IntegrationProviderWoocommerce IntegrationProviderOura IntegrationProviderCommercelayer IntegrationProviderMailgun IntegrationProviderPipedrive IntegrationProviderSendgrid IntegrationProviderWorkos IntegrationProviderSynctera IntegrationProviderAwsSns IntegrationProviderThreeDEye )
func (IntegrationProvider) MarshalJSON ¶
func (i IntegrationProvider) MarshalJSON() ([]byte, error)
func (IntegrationProvider) String ¶
func (i IntegrationProvider) String() string
func (*IntegrationProvider) UnmarshalJSON ¶
func (i *IntegrationProvider) UnmarshalJSON(data []byte) error
type Issue ¶
type Issue struct {
DeliveryIssue *DeliveryIssue
TransformationIssue *TransformationIssue
// contains filtered or unexported fields
}
Issue
func NewIssueFromDeliveryIssue ¶
func NewIssueFromDeliveryIssue(value *DeliveryIssue) *Issue
func NewIssueFromTransformationIssue ¶
func NewIssueFromTransformationIssue(value *TransformationIssue) *Issue
func (*Issue) Accept ¶
func (i *Issue) Accept(visitor IssueVisitor) error
func (Issue) MarshalJSON ¶
func (*Issue) UnmarshalJSON ¶
type IssueCount ¶
type IssueCount struct {
// Number of issues
Count int `json:"count"`
}
type IssueStatus ¶
type IssueStatus uint
Issue status
const ( IssueStatusOpened IssueStatus = iota + 1 IssueStatusIgnored IssueStatusAcknowledged IssueStatusResolved )
func (IssueStatus) MarshalJSON ¶
func (i IssueStatus) MarshalJSON() ([]byte, error)
func (IssueStatus) String ¶
func (i IssueStatus) String() string
func (*IssueStatus) UnmarshalJSON ¶
func (i *IssueStatus) UnmarshalJSON(data []byte) error
type IssueTrigger ¶
type IssueTrigger struct {
// ID of the issue trigger
Id string `json:"id"`
// ID of the workspace
TeamId *string `json:"team_id,omitempty"`
// Optional unique name to use as reference when using the API
Name *string `json:"name,omitempty"`
Type IssueType `json:"type,omitempty"`
Configs *IssueTriggerReference `json:"configs,omitempty"`
Channels *IssueTriggerChannels `json:"channels,omitempty"`
// ISO timestamp for when the issue trigger was disabled
DisabledAt *time.Time `json:"disabled_at,omitempty"`
// ISO timestamp for when the issue trigger was last updated
UpdatedAt time.Time `json:"updated_at"`
// ISO timestamp for when the issue trigger was created
CreatedAt time.Time `json:"created_at"`
// ISO timestamp for when the issue trigger was deleted
DeletedAt *time.Time `json:"deleted_at,omitempty"`
}
type IssueTriggerBackpressureConfigs ¶
type IssueTriggerBackpressureConfigs struct {
Delay IssueTriggerBackpressureDelay `json:"delay"`
// A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.
Destinations *IssueTriggerBackpressureConfigsDestinations `json:"destinations,omitempty"`
}
Configurations for a 'Backpressure' issue trigger
type IssueTriggerBackpressureConfigsDestinations ¶
type IssueTriggerBackpressureConfigsDestinations struct {
String string
StringList []string
// contains filtered or unexported fields
}
A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.
func NewIssueTriggerBackpressureConfigsDestinationsFromString ¶
func NewIssueTriggerBackpressureConfigsDestinationsFromString(value string) *IssueTriggerBackpressureConfigsDestinations
func NewIssueTriggerBackpressureConfigsDestinationsFromStringList ¶
func NewIssueTriggerBackpressureConfigsDestinationsFromStringList(value []string) *IssueTriggerBackpressureConfigsDestinations
func (*IssueTriggerBackpressureConfigsDestinations) Accept ¶
func (i *IssueTriggerBackpressureConfigsDestinations) Accept(visitor IssueTriggerBackpressureConfigsDestinationsVisitor) error
func (IssueTriggerBackpressureConfigsDestinations) MarshalJSON ¶
func (i IssueTriggerBackpressureConfigsDestinations) MarshalJSON() ([]byte, error)
func (*IssueTriggerBackpressureConfigsDestinations) UnmarshalJSON ¶
func (i *IssueTriggerBackpressureConfigsDestinations) UnmarshalJSON(data []byte) error
type IssueTriggerBackpressureDelay ¶
type IssueTriggerBackpressureDelay = int
The minimum delay (backpressure) to open the issue for min of 1 minute (60000) and max of 1 day (86400000)
type IssueTriggerChannels ¶
type IssueTriggerChannels struct {
Slack *IssueTriggerSlackChannel `json:"slack,omitempty"`
Opsgenie *IssueTriggerIntegrationChannel `json:"opsgenie,omitempty"`
Email *IssueTriggerEmailChannel `json:"email,omitempty"`
}
Notification channels object for the specific channel type
type IssueTriggerDeliveryConfigs ¶
type IssueTriggerDeliveryConfigs struct {
Strategy IssueTriggerStrategy `json:"strategy,omitempty"`
// A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.
Connections *IssueTriggerDeliveryConfigsConnections `json:"connections,omitempty"`
}
Configurations for a 'delivery' issue trigger
type IssueTriggerDeliveryConfigsConnections ¶
type IssueTriggerDeliveryConfigsConnections struct {
String string
StringList []string
// contains filtered or unexported fields
}
A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.
func NewIssueTriggerDeliveryConfigsConnectionsFromString ¶
func NewIssueTriggerDeliveryConfigsConnectionsFromString(value string) *IssueTriggerDeliveryConfigsConnections
func NewIssueTriggerDeliveryConfigsConnectionsFromStringList ¶
func NewIssueTriggerDeliveryConfigsConnectionsFromStringList(value []string) *IssueTriggerDeliveryConfigsConnections
func (*IssueTriggerDeliveryConfigsConnections) Accept ¶
func (i *IssueTriggerDeliveryConfigsConnections) Accept(visitor IssueTriggerDeliveryConfigsConnectionsVisitor) error
func (IssueTriggerDeliveryConfigsConnections) MarshalJSON ¶
func (i IssueTriggerDeliveryConfigsConnections) MarshalJSON() ([]byte, error)
func (*IssueTriggerDeliveryConfigsConnections) UnmarshalJSON ¶
func (i *IssueTriggerDeliveryConfigsConnections) UnmarshalJSON(data []byte) error
type IssueTriggerEmailChannel ¶
type IssueTriggerEmailChannel struct {
}
Email channel for an issue trigger
type IssueTriggerIntegrationChannel ¶
type IssueTriggerIntegrationChannel struct {
}
Integration channel for an issue trigger
type IssueTriggerPaginatedResult ¶
type IssueTriggerPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*IssueTrigger `json:"models,omitempty"`
}
type IssueTriggerReference ¶
type IssueTriggerReference struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs ¶
func NewIssueTriggerReferenceFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerReference
func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs ¶
func NewIssueTriggerReferenceFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerReference
func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs ¶
func NewIssueTriggerReferenceFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerReference
func (*IssueTriggerReference) Accept ¶
func (i *IssueTriggerReference) Accept(visitor IssueTriggerReferenceVisitor) error
func (IssueTriggerReference) MarshalJSON ¶
func (i IssueTriggerReference) MarshalJSON() ([]byte, error)
func (*IssueTriggerReference) UnmarshalJSON ¶
func (i *IssueTriggerReference) UnmarshalJSON(data []byte) error
type IssueTriggerReferenceVisitor ¶
type IssueTriggerReferenceVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type IssueTriggerSlackChannel ¶
type IssueTriggerSlackChannel struct {
// Channel name
ChannelName string `json:"channel_name"`
}
Slack channel for an issue trigger
type IssueTriggerStrategy ¶
type IssueTriggerStrategy uint
The strategy uses to open the issue
const ( IssueTriggerStrategyFirstAttempt IssueTriggerStrategy = iota + 1 IssueTriggerStrategyFinalAttempt )
func (IssueTriggerStrategy) MarshalJSON ¶
func (i IssueTriggerStrategy) MarshalJSON() ([]byte, error)
func (IssueTriggerStrategy) String ¶
func (i IssueTriggerStrategy) String() string
func (*IssueTriggerStrategy) UnmarshalJSON ¶
func (i *IssueTriggerStrategy) UnmarshalJSON(data []byte) error
type IssueTriggerTransformationConfigs ¶
type IssueTriggerTransformationConfigs struct {
LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
// A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.
Transformations *IssueTriggerTransformationConfigsTransformations `json:"transformations,omitempty"`
}
Configurations for a 'Transformation' issue trigger
type IssueTriggerTransformationConfigsTransformations ¶
type IssueTriggerTransformationConfigsTransformations struct {
String string
StringList []string
// contains filtered or unexported fields
}
A pattern to match on the transformation name or array of transformation IDs. Use `*` as wildcard.
func NewIssueTriggerTransformationConfigsTransformationsFromString ¶
func NewIssueTriggerTransformationConfigsTransformationsFromString(value string) *IssueTriggerTransformationConfigsTransformations
func NewIssueTriggerTransformationConfigsTransformationsFromStringList ¶
func NewIssueTriggerTransformationConfigsTransformationsFromStringList(value []string) *IssueTriggerTransformationConfigsTransformations
func (*IssueTriggerTransformationConfigsTransformations) Accept ¶
func (i *IssueTriggerTransformationConfigsTransformations) Accept(visitor IssueTriggerTransformationConfigsTransformationsVisitor) error
func (IssueTriggerTransformationConfigsTransformations) MarshalJSON ¶
func (i IssueTriggerTransformationConfigsTransformations) MarshalJSON() ([]byte, error)
func (*IssueTriggerTransformationConfigsTransformations) UnmarshalJSON ¶
func (i *IssueTriggerTransformationConfigsTransformations) UnmarshalJSON(data []byte) error
type IssueType ¶
type IssueType uint
Issue type
func (IssueType) MarshalJSON ¶
func (*IssueType) UnmarshalJSON ¶
type IssueVisitor ¶
type IssueVisitor interface {
VisitDeliveryIssue(*DeliveryIssue) error
VisitTransformationIssue(*TransformationIssue) error
}
type IssueWithData ¶
type IssueWithData struct {
DeliveryIssueWithData *DeliveryIssueWithData
TransformationIssueWithData *TransformationIssueWithData
// contains filtered or unexported fields
}
func NewIssueWithDataFromDeliveryIssueWithData ¶
func NewIssueWithDataFromDeliveryIssueWithData(value *DeliveryIssueWithData) *IssueWithData
func NewIssueWithDataFromTransformationIssueWithData ¶
func NewIssueWithDataFromTransformationIssueWithData(value *TransformationIssueWithData) *IssueWithData
func (*IssueWithData) Accept ¶
func (i *IssueWithData) Accept(visitor IssueWithDataVisitor) error
func (IssueWithData) MarshalJSON ¶
func (i IssueWithData) MarshalJSON() ([]byte, error)
func (*IssueWithData) UnmarshalJSON ¶
func (i *IssueWithData) UnmarshalJSON(data []byte) error
type IssueWithDataPaginatedResult ¶
type IssueWithDataPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*IssueWithData `json:"models,omitempty"`
}
type IssueWithDataVisitor ¶
type IssueWithDataVisitor interface {
VisitDeliveryIssueWithData(*DeliveryIssueWithData) error
VisitTransformationIssueWithData(*TransformationIssueWithData) error
}
type ListCustomDomainSchema ¶
type ListCustomDomainSchema = []*ListCustomDomainSchemaItem
type ListCustomDomainSchemaItem ¶
type ListCustomDomainSchemaItem struct {
Id *string `json:"id,omitempty"`
Hostname *string `json:"hostname,omitempty"`
Status *string `json:"status,omitempty"`
Ssl *ListCustomDomainSchemaItemSsl `json:"ssl,omitempty"`
VerificationErrors []string `json:"verification_errors,omitempty"`
OwnershipVerification *ListCustomDomainSchemaItemOwnershipVerification `json:"ownership_verification,omitempty"`
CreatedAt *string `json:"created_at,omitempty"`
}
type 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 ListCustomDomainSchemaItemSslSettings ¶
type ListCustomDomainSchemaItemSslSettings struct {
MinTlsVersion *string `json:"min_tls_version,omitempty"`
}
type Mailgun ¶
type Mailgun struct {
Configs *MailgunConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Mailgun) MarshalJSON ¶
func (*Mailgun) UnmarshalJSON ¶
type MailgunConfigs ¶
type MailgunConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Mailgun. Only included if the ?include=verification.configs query param is present
type NotFoundError ¶
type NotFoundError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*NotFoundError) MarshalJSON ¶
func (n *NotFoundError) MarshalJSON() ([]byte, error)
func (*NotFoundError) UnmarshalJSON ¶
func (n *NotFoundError) UnmarshalJSON(data []byte) error
type OrderByDirection ¶
type OrderByDirection uint
const ( OrderByDirectionasc OrderByDirection = iota + 1 OrderByDirectiondesc OrderByDirectionASC OrderByDirectionDESC )
func (OrderByDirection) MarshalJSON ¶
func (o OrderByDirection) MarshalJSON() ([]byte, error)
func (OrderByDirection) String ¶
func (o OrderByDirection) String() string
func (*OrderByDirection) UnmarshalJSON ¶
func (o *OrderByDirection) UnmarshalJSON(data []byte) error
type Oura ¶
type Oura struct {
Configs *OuraConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Oura) MarshalJSON ¶
func (*Oura) UnmarshalJSON ¶
type OuraConfigs ¶
type OuraConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Oura. Only included if the ?include=verification.configs query param is present
type Pipedrive ¶
type Pipedrive struct {
Configs *PipedriveConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Pipedrive) MarshalJSON ¶
func (*Pipedrive) UnmarshalJSON ¶
type PipedriveConfigs ¶
The verification configs for Pipedrive. Only included if the ?include=verification.configs query param is present
type Postmark ¶
type Postmark struct {
Configs *PostmarkConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Postmark) MarshalJSON ¶
func (*Postmark) UnmarshalJSON ¶
type PostmarkConfigs ¶
type PostmarkConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Postmark. Only included if the ?include=verification.configs query param is present
type PropertyFinder ¶
type PropertyFinder struct {
Configs *PropertyFinderConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*PropertyFinder) MarshalJSON ¶
func (p *PropertyFinder) MarshalJSON() ([]byte, error)
func (*PropertyFinder) Type ¶
func (p *PropertyFinder) Type() string
func (*PropertyFinder) UnmarshalJSON ¶
func (p *PropertyFinder) UnmarshalJSON(data []byte) error
type PropertyFinderConfigs ¶
type PropertyFinderConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Property Finder. Only included if the ?include=verification.configs query param is present
type Recharge ¶
type Recharge struct {
Configs *RechargeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Recharge) MarshalJSON ¶
func (*Recharge) UnmarshalJSON ¶
type RechargeConfigs ¶
type RechargeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding RechargeConfigsEncoding `json:"encoding,omitempty"`
}
The verification configs for Recharge. Only included if the ?include=verification.configs query param is present
type RechargeConfigsEncoding ¶
type RechargeConfigsEncoding uint
const ( RechargeConfigsEncodingBase64 RechargeConfigsEncoding = iota + 1 RechargeConfigsEncodingHex )
func (RechargeConfigsEncoding) MarshalJSON ¶
func (r RechargeConfigsEncoding) MarshalJSON() ([]byte, error)
func (RechargeConfigsEncoding) String ¶
func (r RechargeConfigsEncoding) String() string
func (*RechargeConfigsEncoding) UnmarshalJSON ¶
func (r *RechargeConfigsEncoding) UnmarshalJSON(data []byte) error
type Request ¶
type Request struct {
// ID of the request
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// Whether or not the request was verified when received
Verified *bool `json:"verified,omitempty"`
// ID of the request data
OriginalEventDataId *string `json:"original_event_data_id,omitempty"`
RejectionCause RequestRejectionCause `json:"rejection_cause,omitempty"`
// The priority attributed to the request when received
IngestPriority *RequestIngestPriority `json:"ingest_priority,omitempty"`
// The time the request was originally received
IngestedAt *time.Time `json:"ingested_at,omitempty"`
// ID of the associated source
SourceId string `json:"source_id"`
// The count of events created from this request (CLI events not included)
EventsCount *int `json:"events_count,omitempty"`
// The count of CLI events created from this request
CliEventsCount *int `json:"cli_events_count,omitempty"`
IgnoredCount *int `json:"ignored_count,omitempty"`
// Date the event was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the event was created
CreatedAt time.Time `json:"created_at"`
Data *ShortEventData `json:"data,omitempty"`
}
type RequestIngestPriority ¶
type RequestIngestPriority uint
The priority attributed to the request when received
const ( RequestIngestPriorityNormal RequestIngestPriority = iota + 1 RequestIngestPriorityLow )
func (RequestIngestPriority) MarshalJSON ¶
func (r RequestIngestPriority) MarshalJSON() ([]byte, error)
func (RequestIngestPriority) String ¶
func (r RequestIngestPriority) String() string
func (*RequestIngestPriority) UnmarshalJSON ¶
func (r *RequestIngestPriority) UnmarshalJSON(data []byte) error
type RequestPaginatedResult ¶
type RequestPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Request `json:"models,omitempty"`
}
type RequestRejectionCause ¶
type RequestRejectionCause uint
const ( RequestRejectionCauseSourceArchived RequestRejectionCause = iota + 1 RequestRejectionCauseNoWebhook RequestRejectionCauseVerificationFailed RequestRejectionCauseUnsupportedHttpMethod RequestRejectionCauseUnsupportedContentType RequestRejectionCauseUnparsableJson RequestRejectionCausePayloadTooLarge RequestRejectionCauseIngestionFatal RequestRejectionCauseUnknown )
func (RequestRejectionCause) MarshalJSON ¶
func (r RequestRejectionCause) MarshalJSON() ([]byte, error)
func (RequestRejectionCause) String ¶
func (r RequestRejectionCause) String() string
func (*RequestRejectionCause) UnmarshalJSON ¶
func (r *RequestRejectionCause) UnmarshalJSON(data []byte) error
type RetriedEvent ¶
type RetriedEvent struct {
Event *Event `json:"event,omitempty"`
Attempt *EventAttempt `json:"attempt,omitempty"`
}
type RetryRequest ¶
type RetryRequestRequest ¶
type RetryRequestRequest struct {
// Subset of webhook_ids to re-run the event logic on. Useful to retry only specific ignored_events
WebhookIds []string `json:"webhook_ids,omitempty"`
}
type RetryRule ¶
type RetryRule struct {
Strategy RetryStrategy `json:"strategy,omitempty"`
// Time in MS between each retry
Interval *int `json:"interval,omitempty"`
// Maximum number of retries to attempt
Count *int `json:"count,omitempty"`
// contains filtered or unexported fields
}
func (*RetryRule) MarshalJSON ¶
func (*RetryRule) UnmarshalJSON ¶
type RetryStrategy ¶
type RetryStrategy uint
Algorithm to use when calculating delay between retries
const ( RetryStrategyLinear RetryStrategy = iota + 1 RetryStrategyExponential )
func (RetryStrategy) MarshalJSON ¶
func (r RetryStrategy) MarshalJSON() ([]byte, error)
func (RetryStrategy) String ¶
func (r RetryStrategy) String() string
func (*RetryStrategy) UnmarshalJSON ¶
func (r *RetryStrategy) UnmarshalJSON(data []byte) error
type Rule ¶
type Rule struct {
RetryRule *RetryRule
FilterRule *FilterRule
TransformRule *TransformRule
DelayRule *DelayRule
// contains filtered or unexported fields
}
func NewRuleFromDelayRule ¶
func NewRuleFromFilterRule ¶
func NewRuleFromFilterRule(value *FilterRule) *Rule
func NewRuleFromRetryRule ¶
func NewRuleFromTransformRule ¶
func NewRuleFromTransformRule(value *TransformRule) *Rule
func (*Rule) Accept ¶
func (r *Rule) Accept(visitor RuleVisitor) error
func (Rule) MarshalJSON ¶
func (*Rule) UnmarshalJSON ¶
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 (s *SeekPaginationDir) Accept(visitor SeekPaginationDirVisitor) error
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 (s *SeekPaginationOrderBy) Accept(visitor SeekPaginationOrderByVisitor) error
func (SeekPaginationOrderBy) MarshalJSON ¶
func (s SeekPaginationOrderBy) MarshalJSON() ([]byte, error)
func (*SeekPaginationOrderBy) UnmarshalJSON ¶
func (s *SeekPaginationOrderBy) UnmarshalJSON(data []byte) error
type SendGrid ¶
type SendGrid struct {
Configs *SendGridConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*SendGrid) MarshalJSON ¶
func (*SendGrid) UnmarshalJSON ¶
type SendGridConfigs ¶
type SendGridConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for SendGrid. Only included if the ?include=verification.configs query param is present
type Shopify ¶
type Shopify struct {
Configs *ShopifyConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Shopify) MarshalJSON ¶
func (*Shopify) UnmarshalJSON ¶
type ShopifyConfigs ¶
type ShopifyConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
RateLimitPeriod *ShopifyConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
ApiKey *string `json:"api_key,omitempty"`
ApiSecret *string `json:"api_secret,omitempty"`
Shop *string `json:"shop,omitempty"`
}
The verification configs for Shopify. Only included if the ?include=verification.configs query param is present
type ShopifyConfigsRateLimitPeriod ¶
type ShopifyConfigsRateLimitPeriod uint
const ( ShopifyConfigsRateLimitPeriodMinute ShopifyConfigsRateLimitPeriod = iota + 1 ShopifyConfigsRateLimitPeriodSecond )
func (ShopifyConfigsRateLimitPeriod) MarshalJSON ¶
func (s ShopifyConfigsRateLimitPeriod) MarshalJSON() ([]byte, error)
func (ShopifyConfigsRateLimitPeriod) String ¶
func (s ShopifyConfigsRateLimitPeriod) String() string
func (*ShopifyConfigsRateLimitPeriod) UnmarshalJSON ¶
func (s *ShopifyConfigsRateLimitPeriod) UnmarshalJSON(data []byte) error
type ShopifyIntegrationConfigs ¶
type ShopifyIntegrationConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
RateLimitPeriod *ShopifyIntegrationConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
ApiKey *string `json:"api_key,omitempty"`
ApiSecret *string `json:"api_secret,omitempty"`
Shop *string `json:"shop,omitempty"`
}
type ShopifyIntegrationConfigsRateLimitPeriod ¶
type ShopifyIntegrationConfigsRateLimitPeriod uint
const ( ShopifyIntegrationConfigsRateLimitPeriodMinute ShopifyIntegrationConfigsRateLimitPeriod = iota + 1 ShopifyIntegrationConfigsRateLimitPeriodSecond )
func (ShopifyIntegrationConfigsRateLimitPeriod) MarshalJSON ¶
func (s ShopifyIntegrationConfigsRateLimitPeriod) MarshalJSON() ([]byte, error)
func (ShopifyIntegrationConfigsRateLimitPeriod) String ¶
func (s ShopifyIntegrationConfigsRateLimitPeriod) String() string
func (*ShopifyIntegrationConfigsRateLimitPeriod) UnmarshalJSON ¶
func (s *ShopifyIntegrationConfigsRateLimitPeriod) UnmarshalJSON(data []byte) error
type ShortEventData ¶
type ShortEventData struct {
// Request path
Path string `json:"path"`
// Raw query param string
Query *string `json:"query,omitempty"`
// JSON representation of query params
ParsedQuery *ShortEventDataParsedQuery `json:"parsed_query,omitempty"`
// JSON representation of the headers
Headers *ShortEventDataHeaders `json:"headers,omitempty"`
// JSON or string representation of the body
Body *ShortEventDataBody `json:"body,omitempty"`
// Whether the payload is considered large payload and not searchable
IsLargePayload *bool `json:"is_large_payload,omitempty"`
}
Request data
type ShortEventDataBody ¶
type ShortEventDataBody struct {
String string
ShortEventDataBodyOne *ShortEventDataBodyOne
UnknownList []any
// contains filtered or unexported fields
}
JSON or string representation of the body
func NewShortEventDataBodyFromShortEventDataBodyOne ¶
func NewShortEventDataBodyFromShortEventDataBodyOne(value *ShortEventDataBodyOne) *ShortEventDataBody
func NewShortEventDataBodyFromString ¶
func NewShortEventDataBodyFromString(value string) *ShortEventDataBody
func NewShortEventDataBodyFromUnknownList ¶
func NewShortEventDataBodyFromUnknownList(value []any) *ShortEventDataBody
func (*ShortEventDataBody) Accept ¶
func (s *ShortEventDataBody) Accept(visitor ShortEventDataBodyVisitor) error
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 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 (s *ShortEventDataHeaders) Accept(visitor ShortEventDataHeadersVisitor) error
func (ShortEventDataHeaders) MarshalJSON ¶
func (s ShortEventDataHeaders) MarshalJSON() ([]byte, error)
func (*ShortEventDataHeaders) UnmarshalJSON ¶
func (s *ShortEventDataHeaders) UnmarshalJSON(data []byte) 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 (s *ShortEventDataParsedQuery) Accept(visitor ShortEventDataParsedQueryVisitor) error
func (ShortEventDataParsedQuery) MarshalJSON ¶
func (s ShortEventDataParsedQuery) MarshalJSON() ([]byte, error)
func (*ShortEventDataParsedQuery) UnmarshalJSON ¶
func (s *ShortEventDataParsedQuery) UnmarshalJSON(data []byte) error
type ShortEventDataParsedQueryOne ¶
type ShortEventDataParsedQueryOne struct {
}
type ShortEventDataParsedQueryVisitor ¶
type ShortEventDataParsedQueryVisitor interface {
VisitStringOptional(*string) error
VisitShortEventDataParsedQueryOne(*ShortEventDataParsedQueryOne) error
}
type Source ¶
type Source struct {
// ID of the source
Id string `json:"id"`
// Name for the source
Name string `json:"name"`
// Description of the source
Description *string `json:"description,omitempty"`
// ID of the workspace
TeamId string `json:"team_id"`
// A unique URL that must be supplied to your webhook's provider
Url string `json:"url"`
Verification *VerificationConfig `json:"verification,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
// Date the source was archived
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// Date the source was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the source was created
CreatedAt time.Time `json:"created_at"`
}
Associated Source(#source-object) object
type SourceAllowedHttpMethod ¶
type SourceAllowedHttpMethod = []SourceAllowedHttpMethodItem
List of allowed HTTP methods. Defaults to PUT, POST, PATCH, DELETE.
type SourceAllowedHttpMethodItem ¶
type SourceAllowedHttpMethodItem uint
const ( SourceAllowedHttpMethodItemGet SourceAllowedHttpMethodItem = iota + 1 SourceAllowedHttpMethodItemPost SourceAllowedHttpMethodItemPut SourceAllowedHttpMethodItemPatch SourceAllowedHttpMethodItemDelete )
func (SourceAllowedHttpMethodItem) MarshalJSON ¶
func (s SourceAllowedHttpMethodItem) MarshalJSON() ([]byte, error)
func (SourceAllowedHttpMethodItem) String ¶
func (s SourceAllowedHttpMethodItem) String() string
func (*SourceAllowedHttpMethodItem) UnmarshalJSON ¶
func (s *SourceAllowedHttpMethodItem) UnmarshalJSON(data []byte) error
type SourceCustomResponse ¶
type SourceCustomResponse struct {
ContentType SourceCustomResponseContentType `json:"content_type,omitempty"`
// Body of the custom response <span style="white-space: nowrap">`<= 1000 characters`</span>
Body string `json:"body"`
}
Custom response object
type SourceCustomResponseContentType ¶
type SourceCustomResponseContentType uint
Content type of the custom response
const ( SourceCustomResponseContentTypeJson SourceCustomResponseContentType = iota + 1 SourceCustomResponseContentTypeText SourceCustomResponseContentTypeXml )
func (SourceCustomResponseContentType) MarshalJSON ¶
func (s SourceCustomResponseContentType) MarshalJSON() ([]byte, error)
func (SourceCustomResponseContentType) String ¶
func (s SourceCustomResponseContentType) String() string
func (*SourceCustomResponseContentType) UnmarshalJSON ¶
func (s *SourceCustomResponseContentType) UnmarshalJSON(data []byte) error
type SourcePaginatedResult ¶
type SourcePaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Source `json:"models,omitempty"`
}
type Stripe ¶
type Stripe struct {
Configs *StripeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Stripe) MarshalJSON ¶
func (*Stripe) UnmarshalJSON ¶
type StripeConfigs ¶
type StripeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Stripe. Only included if the ?include=verification.configs query param is present
type Svix ¶
type Svix struct {
Configs *SvixConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Svix) MarshalJSON ¶
func (*Svix) UnmarshalJSON ¶
type SvixConfigs ¶
type SvixConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Svix. Only included if the ?include=verification.configs query param is present
type Synctera ¶
type Synctera struct {
Configs *SyncteraConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Synctera) MarshalJSON ¶
func (*Synctera) UnmarshalJSON ¶
type SyncteraConfigs ¶
type SyncteraConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Synctera. Only included if the ?include=verification.configs query param is present
type TestTransformationRequest ¶
type TestTransformationRequest struct {
// Key-value environment variables to be passed to the transformation
Env *TestTransformationRequestEnv `json:"env,omitempty"`
// ID of the connection to use for the execution `context`
WebhookId *string `json:"webhook_id,omitempty"`
// JavaScript code to be executed
Code *string `json:"code,omitempty"`
// Transformation ID
TransformationId *string `json:"transformation_id,omitempty"`
// Request input to use for the transformation execution
Request *TestTransformationRequestRequest `json:"request,omitempty"`
EventId *string `json:"event_id,omitempty"`
}
type TestTransformationRequestEnv ¶
type TestTransformationRequestEnv struct {
}
Key-value environment variables to be passed to the transformation
type TestTransformationRequestRequest ¶
type TestTransformationRequestRequest struct {
// Headers of the request
Headers map[string]string `json:"headers,omitempty"`
// Body of the request
Body *TestTransformationRequestRequestBody `json:"body,omitempty"`
// Path of the request
Path *string `json:"path,omitempty"`
// String representation of the query params of the request
Query *string `json:"query,omitempty"`
// JSON representation of the query params
ParsedQuery *TestTransformationRequestRequestParsedQuery `json:"parsed_query,omitempty"`
}
Request input to use for the transformation execution
type TestTransformationRequestRequestBody ¶
type TestTransformationRequestRequestBody struct {
TestTransformationRequestRequestBodyZero *TestTransformationRequestRequestBodyZero
String string
// contains filtered or unexported fields
}
Body of the request
func NewTestTransformationRequestRequestBodyFromString ¶
func NewTestTransformationRequestRequestBodyFromString(value string) *TestTransformationRequestRequestBody
func NewTestTransformationRequestRequestBodyFromTestTransformationRequestRequestBodyZero ¶
func NewTestTransformationRequestRequestBodyFromTestTransformationRequestRequestBodyZero(value *TestTransformationRequestRequestBodyZero) *TestTransformationRequestRequestBody
func (*TestTransformationRequestRequestBody) Accept ¶
func (t *TestTransformationRequestRequestBody) Accept(visitor TestTransformationRequestRequestBodyVisitor) error
func (TestTransformationRequestRequestBody) MarshalJSON ¶
func (t TestTransformationRequestRequestBody) MarshalJSON() ([]byte, error)
func (*TestTransformationRequestRequestBody) UnmarshalJSON ¶
func (t *TestTransformationRequestRequestBody) UnmarshalJSON(data []byte) error
type TestTransformationRequestRequestBodyVisitor ¶
type TestTransformationRequestRequestBodyVisitor interface {
VisitTestTransformationRequestRequestBodyZero(*TestTransformationRequestRequestBodyZero) error
VisitString(string) error
}
type TestTransformationRequestRequestBodyZero ¶
type TestTransformationRequestRequestBodyZero struct {
}
type TestTransformationRequestRequestParsedQuery ¶
type TestTransformationRequestRequestParsedQuery struct {
}
JSON representation of the query params
type ThreeDEye ¶
type ThreeDEye struct {
Configs *ThreeDEyeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*ThreeDEye) MarshalJSON ¶
func (*ThreeDEye) UnmarshalJSON ¶
type ThreeDEyeConfigs ¶
type ThreeDEyeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for 3dEye. Only included if the ?include=verification.configs query param is present
type ToggleWebhookNotifications ¶
type ToggleWebhookNotifications struct {
Enabled bool `json:"enabled"`
Topics []TopicsValue `json:"topics,omitempty"`
SourceId string `json:"source_id"`
}
type TopicsValue ¶
type TopicsValue uint
Supported topics
const ( TopicsValueIssueOpened TopicsValue = iota + 1 TopicsValueIssueUpdated TopicsValueDeprecatedAttemptFailed TopicsValueEventSuccessful )
func (TopicsValue) MarshalJSON ¶
func (t TopicsValue) MarshalJSON() ([]byte, error)
func (TopicsValue) String ¶
func (t TopicsValue) String() string
func (*TopicsValue) UnmarshalJSON ¶
func (t *TopicsValue) UnmarshalJSON(data []byte) error
type TransformFull ¶
type TransformFull struct {
// ID of the attached transformation object. Optional input, always set once the rule is defined
TransformationId *string `json:"transformation_id,omitempty"`
// You can optionally define a new transformation while creating a transform rule
Transformation *TransformFullTransformation `json:"transformation,omitempty"`
// contains filtered or unexported fields
}
func (*TransformFull) MarshalJSON ¶
func (t *TransformFull) MarshalJSON() ([]byte, error)
func (*TransformFull) Type ¶
func (t *TransformFull) Type() string
func (*TransformFull) UnmarshalJSON ¶
func (t *TransformFull) UnmarshalJSON(data []byte) error
type TransformFullTransformation ¶
type TransformFullTransformation struct {
// The unique name of the transformation
Name string `json:"name"`
// A string representation of your JavaScript (ES6) code to run
Code string `json:"code"`
// A key-value object of environment variables to encrypt and expose to your transformation code
Env map[string]*string `json:"env,omitempty"`
}
You can optionally define a new transformation while creating a transform rule
type TransformReference ¶
type TransformReference struct {
// ID of the attached transformation object. Optional input, always set once the rule is defined
TransformationId string `json:"transformation_id"`
// contains filtered or unexported fields
}
func (*TransformReference) MarshalJSON ¶
func (t *TransformReference) MarshalJSON() ([]byte, error)
func (*TransformReference) Type ¶
func (t *TransformReference) Type() string
func (*TransformReference) UnmarshalJSON ¶
func (t *TransformReference) UnmarshalJSON(data []byte) error
type TransformRule ¶
type TransformRule struct {
TransformReference *TransformReference
TransformFull *TransformFull
// contains filtered or unexported fields
}
func NewTransformRuleFromTransformFull ¶
func NewTransformRuleFromTransformFull(value *TransformFull) *TransformRule
func NewTransformRuleFromTransformReference ¶
func NewTransformRuleFromTransformReference(value *TransformReference) *TransformRule
func (*TransformRule) Accept ¶
func (t *TransformRule) Accept(visitor TransformRuleVisitor) error
func (TransformRule) MarshalJSON ¶
func (t TransformRule) MarshalJSON() ([]byte, error)
func (*TransformRule) UnmarshalJSON ¶
func (t *TransformRule) UnmarshalJSON(data []byte) error
type TransformRuleVisitor ¶
type TransformRuleVisitor interface {
VisitTransformReference(*TransformReference) error
VisitTransformFull(*TransformFull) error
}
type Transformation ¶
type Transformation struct {
// ID of the transformation
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// A unique, human-friendly name for the transformation
Name string `json:"name"`
// JavaScript code to be executed
Code string `json:"code"`
EncryptedEnv *string `json:"encrypted_env,omitempty"`
Iv *string `json:"iv,omitempty"`
// Key-value environment variables to be passed to the transformation
Env map[string]*string `json:"env,omitempty"`
// Date the transformation was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the transformation was created
CreatedAt time.Time `json:"created_at"`
}
type TransformationExecution ¶
type TransformationExecution struct {
Id string `json:"id"`
TransformedEventDataId string `json:"transformed_event_data_id"`
OriginalEventDataId string `json:"original_event_data_id"`
TransformationId string `json:"transformation_id"`
TeamId string `json:"team_id"`
WebhookId string `json:"webhook_id"`
LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
Logs []*ConsoleLine `json:"logs,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
CreatedAt time.Time `json:"created_at"`
OriginalEventData *ShortEventData `json:"original_event_data,omitempty"`
TransformedEventData *ShortEventData `json:"transformed_event_data,omitempty"`
IssueId *string `json:"issue_id,omitempty"`
}
type TransformationExecutionLogLevel ¶
type TransformationExecutionLogLevel uint
The minimum log level to open the issue on
const ( TransformationExecutionLogLevelDebug TransformationExecutionLogLevel = iota + 1 TransformationExecutionLogLevelInfo TransformationExecutionLogLevelWarn TransformationExecutionLogLevelError TransformationExecutionLogLevelFatal )
func (TransformationExecutionLogLevel) MarshalJSON ¶
func (t TransformationExecutionLogLevel) MarshalJSON() ([]byte, error)
func (TransformationExecutionLogLevel) String ¶
func (t TransformationExecutionLogLevel) String() string
func (*TransformationExecutionLogLevel) UnmarshalJSON ¶
func (t *TransformationExecutionLogLevel) UnmarshalJSON(data []byte) error
type TransformationExecutionPaginatedResult ¶
type TransformationExecutionPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*TransformationExecution `json:"models,omitempty"`
}
type TransformationExecutorOutput ¶
type TransformationExecutorOutput struct {
RequestId *string `json:"request_id,omitempty"`
TransformationId *string `json:"transformation_id,omitempty"`
ExecutionId *string `json:"execution_id,omitempty"`
LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
Request *TransformationExecutorOutputRequest `json:"request,omitempty"`
Console []*ConsoleLine `json:"console,omitempty"`
}
type TransformationExecutorOutputRequest ¶
type TransformationExecutorOutputRequest struct {
Headers *TransformationExecutorOutputRequestHeaders `json:"headers,omitempty"`
Path string `json:"path"`
Query *TransformationExecutorOutputRequestQuery `json:"query,omitempty"`
ParsedQuery *TransformationExecutorOutputRequestParsedQuery `json:"parsed_query,omitempty"`
Body *TransformationExecutorOutputRequestBody `json:"body,omitempty"`
}
type TransformationExecutorOutputRequestBody ¶
type TransformationExecutorOutputRequestBody struct {
StringOptional *string
TransformationExecutorOutputRequestBodyOne *TransformationExecutorOutputRequestBodyOne
// contains filtered or unexported fields
}
func NewTransformationExecutorOutputRequestBodyFromStringOptional ¶
func NewTransformationExecutorOutputRequestBodyFromStringOptional(value *string) *TransformationExecutorOutputRequestBody
func NewTransformationExecutorOutputRequestBodyFromTransformationExecutorOutputRequestBodyOne ¶
func NewTransformationExecutorOutputRequestBodyFromTransformationExecutorOutputRequestBodyOne(value *TransformationExecutorOutputRequestBodyOne) *TransformationExecutorOutputRequestBody
func (*TransformationExecutorOutputRequestBody) Accept ¶
func (t *TransformationExecutorOutputRequestBody) Accept(visitor TransformationExecutorOutputRequestBodyVisitor) error
func (TransformationExecutorOutputRequestBody) MarshalJSON ¶
func (t TransformationExecutorOutputRequestBody) MarshalJSON() ([]byte, error)
func (*TransformationExecutorOutputRequestBody) UnmarshalJSON ¶
func (t *TransformationExecutorOutputRequestBody) UnmarshalJSON(data []byte) error
type TransformationExecutorOutputRequestBodyOne ¶
type TransformationExecutorOutputRequestBodyOne struct {
}
type TransformationExecutorOutputRequestBodyVisitor ¶
type TransformationExecutorOutputRequestBodyVisitor interface {
VisitStringOptional(*string) error
VisitTransformationExecutorOutputRequestBodyOne(*TransformationExecutorOutputRequestBodyOne) error
}
type TransformationExecutorOutputRequestHeaders ¶
type TransformationExecutorOutputRequestHeaders struct {
String string
StringUnknownMap map[string]any
// contains filtered or unexported fields
}
func NewTransformationExecutorOutputRequestHeadersFromString ¶
func NewTransformationExecutorOutputRequestHeadersFromString(value string) *TransformationExecutorOutputRequestHeaders
func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap ¶
func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap(value map[string]any) *TransformationExecutorOutputRequestHeaders
func (*TransformationExecutorOutputRequestHeaders) Accept ¶
func (t *TransformationExecutorOutputRequestHeaders) Accept(visitor TransformationExecutorOutputRequestHeadersVisitor) error
func (TransformationExecutorOutputRequestHeaders) MarshalJSON ¶
func (t TransformationExecutorOutputRequestHeaders) MarshalJSON() ([]byte, error)
func (*TransformationExecutorOutputRequestHeaders) UnmarshalJSON ¶
func (t *TransformationExecutorOutputRequestHeaders) UnmarshalJSON(data []byte) error
type TransformationExecutorOutputRequestParsedQuery ¶
type TransformationExecutorOutputRequestParsedQuery struct {
StringOptional *string
TransformationExecutorOutputRequestParsedQueryOne *TransformationExecutorOutputRequestParsedQueryOne
// contains filtered or unexported fields
}
func NewTransformationExecutorOutputRequestParsedQueryFromStringOptional ¶
func NewTransformationExecutorOutputRequestParsedQueryFromStringOptional(value *string) *TransformationExecutorOutputRequestParsedQuery
func NewTransformationExecutorOutputRequestParsedQueryFromTransformationExecutorOutputRequestParsedQueryOne ¶
func NewTransformationExecutorOutputRequestParsedQueryFromTransformationExecutorOutputRequestParsedQueryOne(value *TransformationExecutorOutputRequestParsedQueryOne) *TransformationExecutorOutputRequestParsedQuery
func (*TransformationExecutorOutputRequestParsedQuery) Accept ¶
func (t *TransformationExecutorOutputRequestParsedQuery) Accept(visitor TransformationExecutorOutputRequestParsedQueryVisitor) error
func (TransformationExecutorOutputRequestParsedQuery) MarshalJSON ¶
func (t TransformationExecutorOutputRequestParsedQuery) MarshalJSON() ([]byte, error)
func (*TransformationExecutorOutputRequestParsedQuery) UnmarshalJSON ¶
func (t *TransformationExecutorOutputRequestParsedQuery) UnmarshalJSON(data []byte) error
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 (t *TransformationExecutorOutputRequestQuery) Accept(visitor TransformationExecutorOutputRequestQueryVisitor) error
func (TransformationExecutorOutputRequestQuery) MarshalJSON ¶
func (t TransformationExecutorOutputRequestQuery) MarshalJSON() ([]byte, error)
func (*TransformationExecutorOutputRequestQuery) UnmarshalJSON ¶
func (t *TransformationExecutorOutputRequestQuery) UnmarshalJSON(data []byte) error
type TransformationExecutorOutputRequestQueryVisitor ¶
type TransformationExecutorOutputRequestQueryVisitor interface {
VisitTransformationExecutorOutputRequestQueryZeroOptional(*TransformationExecutorOutputRequestQueryZero) error
VisitString(string) error
}
type TransformationExecutorOutputRequestQueryZero ¶
type TransformationExecutorOutputRequestQueryZero struct {
}
type TransformationFailedMeta ¶
type TransformationFailedMeta struct {
TransformationId string `json:"transformation_id"`
}
type TransformationIssue ¶
type TransformationIssue struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *TransformationIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *TransformationIssueReference `json:"reference,omitempty"`
// contains filtered or unexported fields
}
Transformation issue
func (*TransformationIssue) MarshalJSON ¶
func (t *TransformationIssue) MarshalJSON() ([]byte, error)
func (*TransformationIssue) Type ¶
func (t *TransformationIssue) Type() string
func (*TransformationIssue) UnmarshalJSON ¶
func (t *TransformationIssue) UnmarshalJSON(data []byte) error
type TransformationIssueAggregationKeys ¶
type TransformationIssueAggregationKeys struct {
TransformationId []string `json:"transformation_id,omitempty"`
LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
}
Keys used as the aggregation keys a 'transformation' type issue
type TransformationIssueData ¶
type TransformationIssueData struct {
TransformationExecution *TransformationExecution `json:"transformation_execution,omitempty"`
TriggerAttempt *EventAttempt `json:"trigger_attempt,omitempty"`
}
Transformation issue data
type TransformationIssueReference ¶
type TransformationIssueReference struct {
TransformationExecutionId string `json:"transformation_execution_id"`
// Deprecated but still found on historical issues
TriggerEventRequestTransformationId *string `json:"trigger_event_request_transformation_id,omitempty"`
}
Reference to the event request transformation an issue is being created for.
type TransformationIssueWithData ¶
type TransformationIssueWithData struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *TransformationIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *TransformationIssueReference `json:"reference,omitempty"`
Data *TransformationIssueData `json:"data,omitempty"`
// contains filtered or unexported fields
}
Transformation issue
func (*TransformationIssueWithData) MarshalJSON ¶
func (t *TransformationIssueWithData) MarshalJSON() ([]byte, error)
func (*TransformationIssueWithData) Type ¶
func (t *TransformationIssueWithData) Type() string
func (*TransformationIssueWithData) UnmarshalJSON ¶
func (t *TransformationIssueWithData) UnmarshalJSON(data []byte) error
type TransformationPaginatedResult ¶
type TransformationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Transformation `json:"models,omitempty"`
}
type TriggerBookmarkRequest ¶
type TriggerBookmarkRequest struct {
// Bookmark target
Target *TriggerBookmarkRequestTarget `json:"target,omitempty"`
}
type TriggerBookmarkRequestTarget ¶
type TriggerBookmarkRequestTarget uint
Bookmark target
const ( TriggerBookmarkRequestTargetHttp TriggerBookmarkRequestTarget = iota + 1 TriggerBookmarkRequestTargetCli )
func (TriggerBookmarkRequestTarget) MarshalJSON ¶
func (t TriggerBookmarkRequestTarget) MarshalJSON() ([]byte, error)
func (TriggerBookmarkRequestTarget) String ¶
func (t TriggerBookmarkRequestTarget) String() string
func (*TriggerBookmarkRequestTarget) UnmarshalJSON ¶
func (t *TriggerBookmarkRequestTarget) UnmarshalJSON(data []byte) error
type Twitter ¶
type Twitter struct {
Configs *TwitterConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Twitter) MarshalJSON ¶
func (*Twitter) UnmarshalJSON ¶
type TwitterConfigs ¶
type TwitterConfigs struct {
ApiKey string `json:"api_key"`
}
The verification configs for Twitter. Only included if the ?include=verification.configs query param is present
type Typeform ¶
type Typeform struct {
Configs *TypeformConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Typeform) MarshalJSON ¶
func (*Typeform) UnmarshalJSON ¶
type TypeformConfigs ¶
type TypeformConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Typeform. Only included if the ?include=verification.configs query param is present
type UnprocessableEntityError ¶
type UnprocessableEntityError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*UnprocessableEntityError) MarshalJSON ¶
func (u *UnprocessableEntityError) MarshalJSON() ([]byte, error)
func (*UnprocessableEntityError) UnmarshalJSON ¶
func (u *UnprocessableEntityError) UnmarshalJSON(data []byte) error
type UpdateBookmarkRequest ¶
type UpdateBookmarkRequest struct {
// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
EventDataId *string `json:"event_data_id,omitempty"`
// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
WebhookId *string `json:"webhook_id,omitempty"`
// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
Label *string `json:"label,omitempty"`
// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
Name *string `json:"name,omitempty"`
}
type UpdateConnectionRequest ¶
type UpdateDestinationRequest ¶
type UpdateDestinationRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name *string `json:"name,omitempty"`
// Description for the destination
Description *string `json:"description,omitempty"`
// Endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *UpdateDestinationRequestRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
type UpdateDestinationRequestRateLimitPeriod ¶
type UpdateDestinationRequestRateLimitPeriod uint
Period to rate limit attempts
const ( UpdateDestinationRequestRateLimitPeriodSecond UpdateDestinationRequestRateLimitPeriod = iota + 1 UpdateDestinationRequestRateLimitPeriodMinute UpdateDestinationRequestRateLimitPeriodHour )
func (UpdateDestinationRequestRateLimitPeriod) MarshalJSON ¶
func (u UpdateDestinationRequestRateLimitPeriod) MarshalJSON() ([]byte, error)
func (UpdateDestinationRequestRateLimitPeriod) String ¶
func (u UpdateDestinationRequestRateLimitPeriod) String() string
func (*UpdateDestinationRequestRateLimitPeriod) UnmarshalJSON ¶
func (u *UpdateDestinationRequestRateLimitPeriod) UnmarshalJSON(data []byte) error
type UpdateIntegrationRequest ¶
type UpdateIntegrationRequest struct {
// Label of the integration
Label *string `json:"label,omitempty"`
// Decrypted Key/Value object of the associated configuration for that provider
Configs *UpdateIntegrationRequestConfigs `json:"configs,omitempty"`
Provider *IntegrationProvider `json:"provider,omitempty"`
// List of features to enable (see features list above)
Features []IntegrationFeature `json:"features,omitempty"`
}
type UpdateIntegrationRequestConfigs ¶
type UpdateIntegrationRequestConfigs struct {
HmacIntegrationConfigs *HmacIntegrationConfigs
ApiKeyIntegrationConfigs *ApiKeyIntegrationConfigs
HandledApiKeyIntegrationConfigs *HandledApiKeyIntegrationConfigs
HandledHmacConfigs *HandledHmacConfigs
BasicAuthIntegrationConfigs *BasicAuthIntegrationConfigs
ShopifyIntegrationConfigs *ShopifyIntegrationConfigs
UpdateIntegrationRequestConfigsSix *UpdateIntegrationRequestConfigsSix
// contains filtered or unexported fields
}
Decrypted Key/Value object of the associated configuration for that provider
func NewUpdateIntegrationRequestConfigsFromApiKeyIntegrationConfigs ¶
func NewUpdateIntegrationRequestConfigsFromApiKeyIntegrationConfigs(value *ApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs ¶
func NewUpdateIntegrationRequestConfigsFromBasicAuthIntegrationConfigs(value *BasicAuthIntegrationConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs ¶
func NewUpdateIntegrationRequestConfigsFromHandledApiKeyIntegrationConfigs(value *HandledApiKeyIntegrationConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromHandledHmacConfigs ¶
func NewUpdateIntegrationRequestConfigsFromHandledHmacConfigs(value *HandledHmacConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromHmacIntegrationConfigs ¶
func NewUpdateIntegrationRequestConfigsFromHmacIntegrationConfigs(value *HmacIntegrationConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromShopifyIntegrationConfigs ¶
func NewUpdateIntegrationRequestConfigsFromShopifyIntegrationConfigs(value *ShopifyIntegrationConfigs) *UpdateIntegrationRequestConfigs
func NewUpdateIntegrationRequestConfigsFromUpdateIntegrationRequestConfigsSix ¶
func NewUpdateIntegrationRequestConfigsFromUpdateIntegrationRequestConfigsSix(value *UpdateIntegrationRequestConfigsSix) *UpdateIntegrationRequestConfigs
func (*UpdateIntegrationRequestConfigs) Accept ¶
func (u *UpdateIntegrationRequestConfigs) Accept(visitor UpdateIntegrationRequestConfigsVisitor) error
func (UpdateIntegrationRequestConfigs) MarshalJSON ¶
func (u UpdateIntegrationRequestConfigs) MarshalJSON() ([]byte, error)
func (*UpdateIntegrationRequestConfigs) UnmarshalJSON ¶
func (u *UpdateIntegrationRequestConfigs) UnmarshalJSON(data []byte) error
type UpdateIntegrationRequestConfigsSix ¶
type UpdateIntegrationRequestConfigsSix struct {
}
type UpdateIntegrationRequestConfigsVisitor ¶
type UpdateIntegrationRequestConfigsVisitor interface {
VisitHmacIntegrationConfigs(*HmacIntegrationConfigs) error
VisitApiKeyIntegrationConfigs(*ApiKeyIntegrationConfigs) error
VisitHandledApiKeyIntegrationConfigs(*HandledApiKeyIntegrationConfigs) error
VisitHandledHmacConfigs(*HandledHmacConfigs) error
VisitBasicAuthIntegrationConfigs(*BasicAuthIntegrationConfigs) error
VisitShopifyIntegrationConfigs(*ShopifyIntegrationConfigs) error
VisitUpdateIntegrationRequestConfigsSix(*UpdateIntegrationRequestConfigsSix) error
}
type UpdateIssueRequest ¶
type UpdateIssueRequest struct {
// New status
Status UpdateIssueRequestStatus `json:"status,omitempty"`
}
type UpdateIssueRequestStatus ¶
type UpdateIssueRequestStatus uint
New status
const ( UpdateIssueRequestStatusOpened UpdateIssueRequestStatus = iota + 1 UpdateIssueRequestStatusIgnored UpdateIssueRequestStatusAcknowledged UpdateIssueRequestStatusResolved )
func (UpdateIssueRequestStatus) MarshalJSON ¶
func (u UpdateIssueRequestStatus) MarshalJSON() ([]byte, error)
func (UpdateIssueRequestStatus) String ¶
func (u UpdateIssueRequestStatus) String() string
func (*UpdateIssueRequestStatus) UnmarshalJSON ¶
func (u *UpdateIssueRequestStatus) UnmarshalJSON(data []byte) error
type UpdateIssueTriggerRequest ¶
type UpdateIssueTriggerRequest struct {
// Configuration object for the specific issue type selected
Configs *UpdateIssueTriggerRequestConfigs `json:"configs,omitempty"`
Channels *IssueTriggerChannels `json:"channels,omitempty"`
// Date when the issue trigger was disabled
DisabledAt *time.Time `json:"disabled_at,omitempty"`
// Optional unique name to use as reference when using the API
Name *string `json:"name,omitempty"`
}
type UpdateIssueTriggerRequestConfigs ¶
type UpdateIssueTriggerRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs ¶
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpdateIssueTriggerRequestConfigs
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs ¶
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpdateIssueTriggerRequestConfigs
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs ¶
func NewUpdateIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpdateIssueTriggerRequestConfigs
func (*UpdateIssueTriggerRequestConfigs) Accept ¶
func (u *UpdateIssueTriggerRequestConfigs) Accept(visitor UpdateIssueTriggerRequestConfigsVisitor) error
func (UpdateIssueTriggerRequestConfigs) MarshalJSON ¶
func (u UpdateIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)
func (*UpdateIssueTriggerRequestConfigs) UnmarshalJSON ¶
func (u *UpdateIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error
type UpdateIssueTriggerRequestConfigsVisitor ¶
type UpdateIssueTriggerRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type UpdateSourceRequest ¶
type UpdateSourceRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name *string `json:"name,omitempty"`
// Description for the source
Description *string `json:"description,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
Verification *VerificationConfig `json:"verification,omitempty"`
}
type UpdateTransformationRequest ¶
type UpdateTransformationRequest struct {
// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
Name *string `json:"name,omitempty"`
// JavaScript code to be executed
Code *string `json:"code,omitempty"`
// Key-value environment variables to be passed to the transformation
Env map[string]*UpdateTransformationRequestEnvValue `json:"env,omitempty"`
}
type UpdateTransformationRequestEnvValue ¶
type UpdateTransformationRequestEnvValue struct {
String string
Double float64
// contains filtered or unexported fields
}
func NewUpdateTransformationRequestEnvValueFromDouble ¶
func NewUpdateTransformationRequestEnvValueFromDouble(value float64) *UpdateTransformationRequestEnvValue
func NewUpdateTransformationRequestEnvValueFromString ¶
func NewUpdateTransformationRequestEnvValueFromString(value string) *UpdateTransformationRequestEnvValue
func (*UpdateTransformationRequestEnvValue) Accept ¶
func (u *UpdateTransformationRequestEnvValue) Accept(visitor UpdateTransformationRequestEnvValueVisitor) error
func (UpdateTransformationRequestEnvValue) MarshalJSON ¶
func (u UpdateTransformationRequestEnvValue) MarshalJSON() ([]byte, error)
func (*UpdateTransformationRequestEnvValue) UnmarshalJSON ¶
func (u *UpdateTransformationRequestEnvValue) UnmarshalJSON(data []byte) error
type UpsertConnectionRequest ¶
type UpsertConnectionRequest struct {
// A unique name of the connection for the source
Name *string `json:"name,omitempty"`
// Description for the connection
Description *string `json:"description,omitempty"`
// ID of a destination to bind to the connection
DestinationId *string `json:"destination_id,omitempty"`
// ID of a source to bind to the connection
SourceId *string `json:"source_id,omitempty"`
// Destination input object
Destination *UpsertConnectionRequestDestination `json:"destination,omitempty"`
// Source input object
Source *UpsertConnectionRequestSource `json:"source,omitempty"`
Rules []*Rule `json:"rules,omitempty"`
}
type UpsertConnectionRequestDestination ¶
type UpsertConnectionRequestDestination struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *string `json:"description,omitempty"`
// Endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *UpsertConnectionRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
Destination input object
type UpsertConnectionRequestDestinationRateLimitPeriod ¶
type UpsertConnectionRequestDestinationRateLimitPeriod uint
Period to rate limit attempts
const ( UpsertConnectionRequestDestinationRateLimitPeriodSecond UpsertConnectionRequestDestinationRateLimitPeriod = iota + 1 UpsertConnectionRequestDestinationRateLimitPeriodMinute UpsertConnectionRequestDestinationRateLimitPeriodHour )
func (UpsertConnectionRequestDestinationRateLimitPeriod) MarshalJSON ¶
func (u UpsertConnectionRequestDestinationRateLimitPeriod) MarshalJSON() ([]byte, error)
func (UpsertConnectionRequestDestinationRateLimitPeriod) String ¶
func (u UpsertConnectionRequestDestinationRateLimitPeriod) String() string
func (*UpsertConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON ¶
func (u *UpsertConnectionRequestDestinationRateLimitPeriod) UnmarshalJSON(data []byte) error
type UpsertConnectionRequestSource ¶
type UpsertConnectionRequestSource struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *string `json:"description,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
Verification *VerificationConfig `json:"verification,omitempty"`
}
Source input object
type UpsertDestinationRequest ¶
type UpsertDestinationRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *string `json:"description,omitempty"`
// Endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *UpsertDestinationRequestRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
type UpsertDestinationRequestRateLimitPeriod ¶
type UpsertDestinationRequestRateLimitPeriod uint
Period to rate limit attempts
const ( UpsertDestinationRequestRateLimitPeriodSecond UpsertDestinationRequestRateLimitPeriod = iota + 1 UpsertDestinationRequestRateLimitPeriodMinute UpsertDestinationRequestRateLimitPeriodHour )
func (UpsertDestinationRequestRateLimitPeriod) MarshalJSON ¶
func (u UpsertDestinationRequestRateLimitPeriod) MarshalJSON() ([]byte, error)
func (UpsertDestinationRequestRateLimitPeriod) String ¶
func (u UpsertDestinationRequestRateLimitPeriod) String() string
func (*UpsertDestinationRequestRateLimitPeriod) UnmarshalJSON ¶
func (u *UpsertDestinationRequestRateLimitPeriod) UnmarshalJSON(data []byte) error
type UpsertIssueTriggerRequest ¶
type UpsertIssueTriggerRequest struct {
Type IssueType `json:"type,omitempty"`
// Configuration object for the specific issue type selected
Configs *UpsertIssueTriggerRequestConfigs `json:"configs,omitempty"`
Channels *IssueTriggerChannels `json:"channels,omitempty"`
// Required unique name to use as reference when using the API <span style="white-space: nowrap">`<= 255 characters`</span>
Name string `json:"name"`
}
type UpsertIssueTriggerRequestConfigs ¶
type UpsertIssueTriggerRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs ¶
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *UpsertIssueTriggerRequestConfigs
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs ¶
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *UpsertIssueTriggerRequestConfigs
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs ¶
func NewUpsertIssueTriggerRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *UpsertIssueTriggerRequestConfigs
func (*UpsertIssueTriggerRequestConfigs) Accept ¶
func (u *UpsertIssueTriggerRequestConfigs) Accept(visitor UpsertIssueTriggerRequestConfigsVisitor) error
func (UpsertIssueTriggerRequestConfigs) MarshalJSON ¶
func (u UpsertIssueTriggerRequestConfigs) MarshalJSON() ([]byte, error)
func (*UpsertIssueTriggerRequestConfigs) UnmarshalJSON ¶
func (u *UpsertIssueTriggerRequestConfigs) UnmarshalJSON(data []byte) error
type UpsertIssueTriggerRequestConfigsVisitor ¶
type UpsertIssueTriggerRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type UpsertSourceRequest ¶
type UpsertSourceRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *string `json:"description,omitempty"`
AllowedHttpMethods *SourceAllowedHttpMethod `json:"allowed_http_methods,omitempty"`
CustomResponse *SourceCustomResponse `json:"custom_response,omitempty"`
Verification *VerificationConfig `json:"verification,omitempty"`
}
type UpsertTransformationRequest ¶
type UpsertTransformationRequest struct {
// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// JavaScript code to be executed as string
Code string `json:"code"`
// Key-value environment variables to be passed to the transformation
Env map[string]*UpsertTransformationRequestEnvValue `json:"env,omitempty"`
}
type UpsertTransformationRequestEnvValue ¶
type UpsertTransformationRequestEnvValue struct {
String string
Double float64
// contains filtered or unexported fields
}
func NewUpsertTransformationRequestEnvValueFromDouble ¶
func NewUpsertTransformationRequestEnvValueFromDouble(value float64) *UpsertTransformationRequestEnvValue
func NewUpsertTransformationRequestEnvValueFromString ¶
func NewUpsertTransformationRequestEnvValueFromString(value string) *UpsertTransformationRequestEnvValue
func (*UpsertTransformationRequestEnvValue) Accept ¶
func (u *UpsertTransformationRequestEnvValue) Accept(visitor UpsertTransformationRequestEnvValueVisitor) error
func (UpsertTransformationRequestEnvValue) MarshalJSON ¶
func (u UpsertTransformationRequestEnvValue) MarshalJSON() ([]byte, error)
func (*UpsertTransformationRequestEnvValue) UnmarshalJSON ¶
func (u *UpsertTransformationRequestEnvValue) UnmarshalJSON(data []byte) error
type VerificationConfig ¶
type VerificationConfig struct {
Hmac *Hmac
BasicAuth *BasicAuth
ApiKey *ApiKey
Twitter *Twitter
Stripe *Stripe
Recharge *Recharge
GitHub *GitHub
Shopify *Shopify
Postmark *Postmark
Typeform *Typeform
Xero *Xero
Svix *Svix
Zoom *Zoom
Akeneo *Akeneo
Adyen *Adyen
GitLab *GitLab
PropertyFinder *PropertyFinder
WooCommerce *WooCommerce
Oura *Oura
Commercelayer *Commercelayer
Mailgun *Mailgun
Pipedrive *Pipedrive
SendGrid *SendGrid
WorkOs *WorkOs
Synctera *Synctera
AwsSns *AwsSns
ThreeDEye *ThreeDEye
// contains filtered or unexported fields
}
The verification configs for the specific verification type
func NewVerificationConfigFromAdyen ¶
func NewVerificationConfigFromAdyen(value *Adyen) *VerificationConfig
func NewVerificationConfigFromAkeneo ¶
func NewVerificationConfigFromAkeneo(value *Akeneo) *VerificationConfig
func NewVerificationConfigFromApiKey ¶
func NewVerificationConfigFromApiKey(value *ApiKey) *VerificationConfig
func NewVerificationConfigFromAwsSns ¶
func NewVerificationConfigFromAwsSns(value *AwsSns) *VerificationConfig
func NewVerificationConfigFromBasicAuth ¶
func NewVerificationConfigFromBasicAuth(value *BasicAuth) *VerificationConfig
func NewVerificationConfigFromCommercelayer ¶
func NewVerificationConfigFromCommercelayer(value *Commercelayer) *VerificationConfig
func NewVerificationConfigFromGitHub ¶
func NewVerificationConfigFromGitHub(value *GitHub) *VerificationConfig
func NewVerificationConfigFromGitLab ¶
func NewVerificationConfigFromGitLab(value *GitLab) *VerificationConfig
func NewVerificationConfigFromHmac ¶
func NewVerificationConfigFromHmac(value *Hmac) *VerificationConfig
func NewVerificationConfigFromMailgun ¶
func NewVerificationConfigFromMailgun(value *Mailgun) *VerificationConfig
func NewVerificationConfigFromOura ¶
func NewVerificationConfigFromOura(value *Oura) *VerificationConfig
func NewVerificationConfigFromPipedrive ¶
func NewVerificationConfigFromPipedrive(value *Pipedrive) *VerificationConfig
func NewVerificationConfigFromPostmark ¶
func NewVerificationConfigFromPostmark(value *Postmark) *VerificationConfig
func NewVerificationConfigFromPropertyFinder ¶
func NewVerificationConfigFromPropertyFinder(value *PropertyFinder) *VerificationConfig
func NewVerificationConfigFromRecharge ¶
func NewVerificationConfigFromRecharge(value *Recharge) *VerificationConfig
func NewVerificationConfigFromSendGrid ¶
func NewVerificationConfigFromSendGrid(value *SendGrid) *VerificationConfig
func NewVerificationConfigFromShopify ¶
func NewVerificationConfigFromShopify(value *Shopify) *VerificationConfig
func NewVerificationConfigFromStripe ¶
func NewVerificationConfigFromStripe(value *Stripe) *VerificationConfig
func NewVerificationConfigFromSvix ¶
func NewVerificationConfigFromSvix(value *Svix) *VerificationConfig
func NewVerificationConfigFromSynctera ¶
func NewVerificationConfigFromSynctera(value *Synctera) *VerificationConfig
func NewVerificationConfigFromThreeDEye ¶
func NewVerificationConfigFromThreeDEye(value *ThreeDEye) *VerificationConfig
func NewVerificationConfigFromTwitter ¶
func NewVerificationConfigFromTwitter(value *Twitter) *VerificationConfig
func NewVerificationConfigFromTypeform ¶
func NewVerificationConfigFromTypeform(value *Typeform) *VerificationConfig
func NewVerificationConfigFromWooCommerce ¶
func NewVerificationConfigFromWooCommerce(value *WooCommerce) *VerificationConfig
func NewVerificationConfigFromWorkOs ¶
func NewVerificationConfigFromWorkOs(value *WorkOs) *VerificationConfig
func NewVerificationConfigFromXero ¶
func NewVerificationConfigFromXero(value *Xero) *VerificationConfig
func NewVerificationConfigFromZoom ¶
func NewVerificationConfigFromZoom(value *Zoom) *VerificationConfig
func (*VerificationConfig) Accept ¶
func (v *VerificationConfig) Accept(visitor VerificationConfigVisitor) error
func (VerificationConfig) MarshalJSON ¶
func (v VerificationConfig) MarshalJSON() ([]byte, error)
func (*VerificationConfig) UnmarshalJSON ¶
func (v *VerificationConfig) UnmarshalJSON(data []byte) error
type VerificationConfigVisitor ¶
type VerificationConfigVisitor interface {
VisitHmac(*Hmac) error
VisitBasicAuth(*BasicAuth) error
VisitApiKey(*ApiKey) error
VisitTwitter(*Twitter) error
VisitStripe(*Stripe) error
VisitRecharge(*Recharge) error
VisitGitHub(*GitHub) error
VisitShopify(*Shopify) error
VisitPostmark(*Postmark) error
VisitTypeform(*Typeform) error
VisitXero(*Xero) error
VisitSvix(*Svix) error
VisitZoom(*Zoom) error
VisitAkeneo(*Akeneo) error
VisitAdyen(*Adyen) error
VisitGitLab(*GitLab) error
VisitPropertyFinder(*PropertyFinder) error
VisitWooCommerce(*WooCommerce) error
VisitOura(*Oura) error
VisitCommercelayer(*Commercelayer) error
VisitMailgun(*Mailgun) error
VisitPipedrive(*Pipedrive) error
VisitSendGrid(*SendGrid) error
VisitWorkOs(*WorkOs) error
VisitSynctera(*Synctera) error
VisitAwsSns(*AwsSns) error
VisitThreeDEye(*ThreeDEye) error
}
type WooCommerce ¶
type WooCommerce struct {
Configs *WooCommerceConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*WooCommerce) MarshalJSON ¶
func (w *WooCommerce) MarshalJSON() ([]byte, error)
func (*WooCommerce) Type ¶
func (w *WooCommerce) Type() string
func (*WooCommerce) UnmarshalJSON ¶
func (w *WooCommerce) UnmarshalJSON(data []byte) error
type WooCommerceConfigs ¶
type WooCommerceConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for WooCommerce. Only included if the ?include=verification.configs query param is present
type WorkOs ¶
type WorkOs struct {
Configs *WorkOsConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*WorkOs) MarshalJSON ¶
func (*WorkOs) UnmarshalJSON ¶
type WorkOsConfigs ¶
type WorkOsConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for WorkOS. Only included if the ?include=verification.configs query param is present
type Xero ¶
type Xero struct {
Configs *XeroConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Xero) MarshalJSON ¶
func (*Xero) UnmarshalJSON ¶
type XeroConfigs ¶
type XeroConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Xero. Only included if the ?include=verification.configs query param is present
type Zoom ¶
type Zoom struct {
Configs *ZoomConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Zoom) MarshalJSON ¶
func (*Zoom) UnmarshalJSON ¶
type ZoomConfigs ¶
type ZoomConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Zoom. Only included if the ?include=verification.configs query param is present