Documentation
¶
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 Null[T any]() *core.Optional[T]
- func Optional[T any](value T) *core.Optional[T]
- func OptionalOrNull[T any](value *T) *core.Optional[T]
- 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 ApiErrorResponse
- type ApiErrorResponseData
- type ApiKeyIntegrationConfigs
- type AttachedIntegrationToSource
- type AttemptErrorCodes
- type AttemptListRequest
- type AttemptListRequestDir
- type AttemptState
- type AttemptStatus
- type AttemptTrigger
- type AuthApiKey
- type AuthBasicAuth
- type AuthBearerToken
- type AuthCustomSignature
- type AuthHookdeckSignature
- type BadRequestError
- type BasicAuthIntegrationConfigs
- type BatchOperation
- type BatchOperationPaginatedResult
- type BatchOperationQuery
- type BatchOperationQueryVisitor
- type Bookmark
- type BookmarkCreateRequest
- type BookmarkListRequest
- type BookmarkListRequestDir
- type BookmarkPaginatedResult
- type BookmarkTriggerRequest
- type BookmarkTriggerRequestTarget
- type BookmarkUpdateRequest
- type Connection
- type ConnectionCreateRequest
- type ConnectionCreateRequestDestination
- type ConnectionCreateRequestDestinationRateLimitPeriod
- type ConnectionCreateRequestSource
- type ConnectionDeleteResponse
- type ConnectionListRequest
- type ConnectionListRequestDir
- type ConnectionListRequestOrderBy
- type ConnectionPaginatedResult
- type ConnectionUpdateRequest
- type ConnectionUpsertRequest
- type ConnectionUpsertRequestDestination
- type ConnectionUpsertRequestDestinationRateLimitPeriod
- type ConnectionUpsertRequestSource
- type ConsoleLine
- type ConsoleLineType
- type DelayRule
- type DeleteCustomDomainSchema
- 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 NewDestinationAuthMethodConfigFromAuthApiKey(value *AuthApiKey) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromAuthBasicAuth(value *AuthBasicAuth) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromAuthBearerToken(value *AuthBearerToken) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromAuthCustomSignature(value *AuthCustomSignature) *DestinationAuthMethodConfig
- func NewDestinationAuthMethodConfigFromAuthHookdeckSignature(value *AuthHookdeckSignature) *DestinationAuthMethodConfig
- type DestinationAuthMethodConfigVisitor
- type DestinationAuthMethodCustomSignatureConfig
- type DestinationAuthMethodSignatureConfig
- type DestinationCreateRequest
- type DestinationCreateRequestRateLimitPeriod
- type DestinationDeleteResponse
- type DestinationHttpMethod
- type DestinationListRequest
- type DestinationListRequestDir
- type DestinationPaginatedResult
- type DestinationRateLimitPeriod
- type DestinationUpdateRequest
- type DestinationUpdateRequestRateLimitPeriod
- type DestinationUpsertRequest
- type DestinationUpsertRequestRateLimitPeriod
- type DetachedIntegrationFromSource
- type Event
- type EventArray
- type EventAttempt
- type EventAttemptBody
- type EventAttemptBodyVisitor
- type EventAttemptBodyZero
- type EventAttemptHttpMethod
- type EventAttemptPaginatedResult
- type EventBulkRetryCreateRequest
- type EventBulkRetryCreateRequestQuery
- type EventBulkRetryCreateRequestQueryAttempts
- func NewEventBulkRetryCreateRequestQueryAttemptsFromEventBulkRetryCreateRequestQueryAttemptsAny(value *EventBulkRetryCreateRequestQueryAttemptsAny) *EventBulkRetryCreateRequestQueryAttempts
- func NewEventBulkRetryCreateRequestQueryAttemptsFromInteger(value int) *EventBulkRetryCreateRequestQueryAttempts
- type EventBulkRetryCreateRequestQueryAttemptsAny
- type EventBulkRetryCreateRequestQueryAttemptsVisitor
- type EventBulkRetryCreateRequestQueryBody
- type EventBulkRetryCreateRequestQueryBodyOne
- type EventBulkRetryCreateRequestQueryBodyVisitor
- type EventBulkRetryCreateRequestQueryBulkRetryId
- type EventBulkRetryCreateRequestQueryBulkRetryIdVisitor
- type EventBulkRetryCreateRequestQueryCliId
- func NewEventBulkRetryCreateRequestQueryCliIdFromEventBulkRetryCreateRequestQueryCliIdAny(value *EventBulkRetryCreateRequestQueryCliIdAny) *EventBulkRetryCreateRequestQueryCliId
- func NewEventBulkRetryCreateRequestQueryCliIdFromString(value string) *EventBulkRetryCreateRequestQueryCliId
- func NewEventBulkRetryCreateRequestQueryCliIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryCliId
- type EventBulkRetryCreateRequestQueryCliIdAny
- type EventBulkRetryCreateRequestQueryCliIdVisitor
- type EventBulkRetryCreateRequestQueryCliUserId
- type EventBulkRetryCreateRequestQueryCliUserIdVisitor
- type EventBulkRetryCreateRequestQueryCreatedAt
- func NewEventBulkRetryCreateRequestQueryCreatedAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryCreatedAt
- func NewEventBulkRetryCreateRequestQueryCreatedAtFromEventBulkRetryCreateRequestQueryCreatedAtAny(value *EventBulkRetryCreateRequestQueryCreatedAtAny) *EventBulkRetryCreateRequestQueryCreatedAt
- type EventBulkRetryCreateRequestQueryCreatedAtAny
- type EventBulkRetryCreateRequestQueryCreatedAtVisitor
- type EventBulkRetryCreateRequestQueryDestinationId
- func (e *EventBulkRetryCreateRequestQueryDestinationId) Accept(visitor EventBulkRetryCreateRequestQueryDestinationIdVisitor) error
- func (e EventBulkRetryCreateRequestQueryDestinationId) MarshalJSON() ([]byte, error)
- func (e *EventBulkRetryCreateRequestQueryDestinationId) UnmarshalJSON(data []byte) error
- type EventBulkRetryCreateRequestQueryDestinationIdVisitor
- type EventBulkRetryCreateRequestQueryErrorCode
- type EventBulkRetryCreateRequestQueryErrorCodeVisitor
- type EventBulkRetryCreateRequestQueryEventDataId
- type EventBulkRetryCreateRequestQueryEventDataIdVisitor
- type EventBulkRetryCreateRequestQueryHeaders
- type EventBulkRetryCreateRequestQueryHeadersOne
- type EventBulkRetryCreateRequestQueryHeadersVisitor
- type EventBulkRetryCreateRequestQueryId
- type EventBulkRetryCreateRequestQueryIdVisitor
- type EventBulkRetryCreateRequestQueryIssueId
- type EventBulkRetryCreateRequestQueryIssueIdVisitor
- type EventBulkRetryCreateRequestQueryLastAttemptAt
- func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryLastAttemptAt
- func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromEventBulkRetryCreateRequestQueryLastAttemptAtAny(value *EventBulkRetryCreateRequestQueryLastAttemptAtAny) *EventBulkRetryCreateRequestQueryLastAttemptAt
- func (e *EventBulkRetryCreateRequestQueryLastAttemptAt) Accept(visitor EventBulkRetryCreateRequestQueryLastAttemptAtVisitor) error
- func (e EventBulkRetryCreateRequestQueryLastAttemptAt) MarshalJSON() ([]byte, error)
- func (e *EventBulkRetryCreateRequestQueryLastAttemptAt) UnmarshalJSON(data []byte) error
- type EventBulkRetryCreateRequestQueryLastAttemptAtAny
- type EventBulkRetryCreateRequestQueryLastAttemptAtVisitor
- type EventBulkRetryCreateRequestQueryParsedQuery
- func NewEventBulkRetryCreateRequestQueryParsedQueryFromEventBulkRetryCreateRequestQueryParsedQueryOne(value *EventBulkRetryCreateRequestQueryParsedQueryOne) *EventBulkRetryCreateRequestQueryParsedQuery
- func NewEventBulkRetryCreateRequestQueryParsedQueryFromString(value string) *EventBulkRetryCreateRequestQueryParsedQuery
- type EventBulkRetryCreateRequestQueryParsedQueryOne
- type EventBulkRetryCreateRequestQueryParsedQueryVisitor
- type EventBulkRetryCreateRequestQueryResponseStatus
- func NewEventBulkRetryCreateRequestQueryResponseStatusFromEventBulkRetryCreateRequestQueryResponseStatusAny(value *EventBulkRetryCreateRequestQueryResponseStatusAny) *EventBulkRetryCreateRequestQueryResponseStatus
- func NewEventBulkRetryCreateRequestQueryResponseStatusFromInteger(value int) *EventBulkRetryCreateRequestQueryResponseStatus
- func NewEventBulkRetryCreateRequestQueryResponseStatusFromIntegerList(value []int) *EventBulkRetryCreateRequestQueryResponseStatus
- func (e *EventBulkRetryCreateRequestQueryResponseStatus) Accept(visitor EventBulkRetryCreateRequestQueryResponseStatusVisitor) error
- func (e EventBulkRetryCreateRequestQueryResponseStatus) MarshalJSON() ([]byte, error)
- func (e *EventBulkRetryCreateRequestQueryResponseStatus) UnmarshalJSON(data []byte) error
- type EventBulkRetryCreateRequestQueryResponseStatusAny
- type EventBulkRetryCreateRequestQueryResponseStatusVisitor
- type EventBulkRetryCreateRequestQuerySourceId
- type EventBulkRetryCreateRequestQuerySourceIdVisitor
- type EventBulkRetryCreateRequestQueryStatus
- type EventBulkRetryCreateRequestQueryStatusVisitor
- type EventBulkRetryCreateRequestQuerySuccessfulAt
- func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQuerySuccessfulAt
- func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromEventBulkRetryCreateRequestQuerySuccessfulAtAny(value *EventBulkRetryCreateRequestQuerySuccessfulAtAny) *EventBulkRetryCreateRequestQuerySuccessfulAt
- func (e *EventBulkRetryCreateRequestQuerySuccessfulAt) Accept(visitor EventBulkRetryCreateRequestQuerySuccessfulAtVisitor) error
- func (e EventBulkRetryCreateRequestQuerySuccessfulAt) MarshalJSON() ([]byte, error)
- func (e *EventBulkRetryCreateRequestQuerySuccessfulAt) UnmarshalJSON(data []byte) error
- type EventBulkRetryCreateRequestQuerySuccessfulAtAny
- type EventBulkRetryCreateRequestQuerySuccessfulAtVisitor
- type EventBulkRetryCreateRequestQueryWebhookId
- type EventBulkRetryCreateRequestQueryWebhookIdVisitor
- type EventBulkRetryListRequest
- type EventBulkRetryListRequestDir
- type EventBulkRetryPlanResponse
- type EventListRequest
- type EventListRequestDir
- type EventListRequestOrderBy
- type EventPaginatedResult
- type EventStatus
- type FilterRule
- type FilterRuleProperty
- func NewFilterRulePropertyFromBooleanOptional(value *bool) *FilterRuleProperty
- func NewFilterRulePropertyFromDoubleOptional(value *float64) *FilterRuleProperty
- func NewFilterRulePropertyFromStringOptional(value *string) *FilterRuleProperty
- func NewFilterRulePropertyFromStringUnknownMapOptional(value map[string]interface{}) *FilterRuleProperty
- type FilterRulePropertyVisitor
- type FilteredMeta
- type HandledApiKeyIntegrationConfigs
- type HandledHmacConfigs
- type HmacAlgorithms
- type HmacIntegrationConfigs
- type HmacIntegrationConfigsEncoding
- type IgnoredEvent
- type IgnoredEventBulkRetryCreateRequest
- type IgnoredEventBulkRetryCreateRequestQuery
- type IgnoredEventBulkRetryCreateRequestQueryCause
- func (i *IgnoredEventBulkRetryCreateRequestQueryCause) Accept(visitor IgnoredEventBulkRetryCreateRequestQueryCauseVisitor) error
- func (i IgnoredEventBulkRetryCreateRequestQueryCause) MarshalJSON() ([]byte, error)
- func (i *IgnoredEventBulkRetryCreateRequestQueryCause) UnmarshalJSON(data []byte) error
- type IgnoredEventBulkRetryCreateRequestQueryCauseVisitor
- type IgnoredEventBulkRetryCreateRequestQueryWebhookId
- func (i *IgnoredEventBulkRetryCreateRequestQueryWebhookId) Accept(visitor IgnoredEventBulkRetryCreateRequestQueryWebhookIdVisitor) error
- func (i IgnoredEventBulkRetryCreateRequestQueryWebhookId) MarshalJSON() ([]byte, error)
- func (i *IgnoredEventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON(data []byte) error
- type IgnoredEventBulkRetryCreateRequestQueryWebhookIdVisitor
- type IgnoredEventBulkRetryListRequest
- type IgnoredEventBulkRetryListRequestDir
- type IgnoredEventBulkRetryPlanResponse
- 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 IssueCountRequest
- type IssueCountRequestDir
- type IssueCountRequestOrderBy
- type IssueCountRequestStatus
- type IssueCountRequestType
- type IssueListRequest
- type IssueListRequestDir
- type IssueListRequestOrderBy
- type IssueListRequestStatus
- type IssueListRequestType
- type IssueStatus
- type IssueTrigger
- type IssueTriggerBackpressureConfigs
- type IssueTriggerBackpressureConfigsDestinations
- type IssueTriggerBackpressureConfigsDestinationsVisitor
- type IssueTriggerBackpressureDelay
- type IssueTriggerChannels
- type IssueTriggerCreateRequest
- type IssueTriggerCreateRequestConfigs
- func NewIssueTriggerCreateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerCreateRequestConfigs
- func NewIssueTriggerCreateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerCreateRequestConfigs
- func NewIssueTriggerCreateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerCreateRequestConfigs
- type IssueTriggerCreateRequestConfigsVisitor
- type IssueTriggerDeliveryConfigs
- type IssueTriggerDeliveryConfigsConnections
- type IssueTriggerDeliveryConfigsConnectionsVisitor
- type IssueTriggerEmailChannel
- type IssueTriggerIntegrationChannel
- type IssueTriggerListRequest
- type IssueTriggerListRequestDir
- type IssueTriggerListRequestOrderBy
- 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 IssueTriggerUpdateRequest
- type IssueTriggerUpdateRequestConfigs
- func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpdateRequestConfigs
- func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpdateRequestConfigs
- func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpdateRequestConfigs
- type IssueTriggerUpdateRequestConfigsVisitor
- type IssueTriggerUpsertRequest
- type IssueTriggerUpsertRequestConfigs
- func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpsertRequestConfigs
- func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpsertRequestConfigs
- func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpsertRequestConfigs
- type IssueTriggerUpsertRequestConfigsVisitor
- type IssueType
- type IssueUpdateRequest
- type IssueUpdateRequestStatus
- type IssueVisitor
- type IssueWithData
- type IssueWithDataPaginatedResult
- type IssueWithDataVisitor
- type ListCustomDomainSchema
- type ListCustomDomainSchemaItem
- type ListCustomDomainSchemaItemOwnershipVerification
- type ListCustomDomainSchemaItemSsl
- type ListCustomDomainSchemaItemSslDcvDelegationRecordsItem
- type ListCustomDomainSchemaItemSslSettings
- type ListCustomDomainSchemaItemSslValidationRecordsItem
- type NotFoundError
- type NotificationUpdateRequest
- type OrderByDirection
- type RawBody
- type Request
- type RequestBulkRetryCreateRequest
- type RequestBulkRetryCreateRequestQuery
- type RequestBulkRetryCreateRequestQueryBody
- type RequestBulkRetryCreateRequestQueryBodyOne
- type RequestBulkRetryCreateRequestQueryBodyVisitor
- type RequestBulkRetryCreateRequestQueryBulkRetryId
- func (r *RequestBulkRetryCreateRequestQueryBulkRetryId) Accept(visitor RequestBulkRetryCreateRequestQueryBulkRetryIdVisitor) error
- func (r RequestBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryBulkRetryIdVisitor
- type RequestBulkRetryCreateRequestQueryEventsCount
- func NewRequestBulkRetryCreateRequestQueryEventsCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryEventsCount
- func NewRequestBulkRetryCreateRequestQueryEventsCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryEventsCount
- func NewRequestBulkRetryCreateRequestQueryEventsCountFromRequestBulkRetryCreateRequestQueryEventsCountAny(value *RequestBulkRetryCreateRequestQueryEventsCountAny) *RequestBulkRetryCreateRequestQueryEventsCount
- func (r *RequestBulkRetryCreateRequestQueryEventsCount) Accept(visitor RequestBulkRetryCreateRequestQueryEventsCountVisitor) error
- func (r RequestBulkRetryCreateRequestQueryEventsCount) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryEventsCount) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryEventsCountAny
- type RequestBulkRetryCreateRequestQueryEventsCountVisitor
- type RequestBulkRetryCreateRequestQueryHeaders
- func NewRequestBulkRetryCreateRequestQueryHeadersFromRequestBulkRetryCreateRequestQueryHeadersOne(value *RequestBulkRetryCreateRequestQueryHeadersOne) *RequestBulkRetryCreateRequestQueryHeaders
- func NewRequestBulkRetryCreateRequestQueryHeadersFromString(value string) *RequestBulkRetryCreateRequestQueryHeaders
- type RequestBulkRetryCreateRequestQueryHeadersOne
- type RequestBulkRetryCreateRequestQueryHeadersVisitor
- type RequestBulkRetryCreateRequestQueryId
- type RequestBulkRetryCreateRequestQueryIdVisitor
- type RequestBulkRetryCreateRequestQueryIgnoredCount
- func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryIgnoredCount
- func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryIgnoredCount
- func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromRequestBulkRetryCreateRequestQueryIgnoredCountAny(value *RequestBulkRetryCreateRequestQueryIgnoredCountAny) *RequestBulkRetryCreateRequestQueryIgnoredCount
- func (r *RequestBulkRetryCreateRequestQueryIgnoredCount) Accept(visitor RequestBulkRetryCreateRequestQueryIgnoredCountVisitor) error
- func (r RequestBulkRetryCreateRequestQueryIgnoredCount) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryIgnoredCount) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryIgnoredCountAny
- type RequestBulkRetryCreateRequestQueryIgnoredCountVisitor
- type RequestBulkRetryCreateRequestQueryIngestedAt
- func NewRequestBulkRetryCreateRequestQueryIngestedAtFromDateTime(value time.Time) *RequestBulkRetryCreateRequestQueryIngestedAt
- func NewRequestBulkRetryCreateRequestQueryIngestedAtFromRequestBulkRetryCreateRequestQueryIngestedAtAny(value *RequestBulkRetryCreateRequestQueryIngestedAtAny) *RequestBulkRetryCreateRequestQueryIngestedAt
- func (r *RequestBulkRetryCreateRequestQueryIngestedAt) Accept(visitor RequestBulkRetryCreateRequestQueryIngestedAtVisitor) error
- func (r RequestBulkRetryCreateRequestQueryIngestedAt) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryIngestedAt) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryIngestedAtAny
- type RequestBulkRetryCreateRequestQueryIngestedAtVisitor
- type RequestBulkRetryCreateRequestQueryParsedQuery
- func NewRequestBulkRetryCreateRequestQueryParsedQueryFromRequestBulkRetryCreateRequestQueryParsedQueryOne(value *RequestBulkRetryCreateRequestQueryParsedQueryOne) *RequestBulkRetryCreateRequestQueryParsedQuery
- func NewRequestBulkRetryCreateRequestQueryParsedQueryFromString(value string) *RequestBulkRetryCreateRequestQueryParsedQuery
- func (r *RequestBulkRetryCreateRequestQueryParsedQuery) Accept(visitor RequestBulkRetryCreateRequestQueryParsedQueryVisitor) error
- func (r RequestBulkRetryCreateRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryParsedQueryOne
- type RequestBulkRetryCreateRequestQueryParsedQueryVisitor
- type RequestBulkRetryCreateRequestQueryRejectionCause
- func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause
- func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause
- func (r *RequestBulkRetryCreateRequestQueryRejectionCause) Accept(visitor RequestBulkRetryCreateRequestQueryRejectionCauseVisitor) error
- func (r RequestBulkRetryCreateRequestQueryRejectionCause) MarshalJSON() ([]byte, error)
- func (r *RequestBulkRetryCreateRequestQueryRejectionCause) UnmarshalJSON(data []byte) error
- type RequestBulkRetryCreateRequestQueryRejectionCauseVisitor
- type RequestBulkRetryCreateRequestQuerySourceId
- type RequestBulkRetryCreateRequestQuerySourceIdVisitor
- type RequestBulkRetryCreateRequestQueryStatus
- type RequestBulkRetryListRequest
- type RequestBulkRetryListRequestDir
- type RequestBulkRetryPlanResponse
- type RequestIngestPriority
- type RequestListEventRequest
- type RequestListEventRequestDir
- type RequestListEventRequestOrderBy
- type RequestListIgnoredEventRequest
- type RequestListIgnoredEventRequestDir
- type RequestListRequest
- type RequestListRequestDir
- type RequestListRequestOrderBy
- type RequestListRequestStatus
- type RequestPaginatedResult
- type RequestRejectionCause
- type RequestRetryRequest
- type RetriedEvent
- type RetryRequest
- type RetryRule
- type RetryStrategy
- type Rule
- type RuleVisitor
- type SeekPagination
- type SeekPaginationDir
- type SeekPaginationDirVisitor
- type SeekPaginationOrderBy
- type SeekPaginationOrderByVisitor
- 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 SourceCreateRequest
- type SourceCustomResponse
- type SourceCustomResponseContentType
- type SourceDeleteResponse
- type SourceListRequest
- type SourceListRequestDir
- type SourcePaginatedResult
- type SourceRetrieveRequest
- type SourceUpdateRequest
- type SourceUpsertRequest
- type ToggleWebhookNotifications
- type TopicsValue
- type TransformFull
- type TransformFullTransformation
- type TransformReference
- type TransformRule
- type TransformRuleVisitor
- type Transformation
- type TransformationCreateRequest
- 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 TransformationListExecutionRequest
- type TransformationListExecutionRequestDir
- type TransformationListExecutionRequestLogLevel
- type TransformationListRequest
- type TransformationListRequestDir
- type TransformationPaginatedResult
- type TransformationRunRequest
- type TransformationRunRequestRequest
- type TransformationRunRequestRequestBody
- type TransformationRunRequestRequestBodyVisitor
- type TransformationRunRequestRequestBodyZero
- type TransformationRunRequestRequestParsedQuery
- type TransformationUpdateRequest
- type TransformationUpsertRequest
- type UnprocessableEntityError
- type Verification3DEye
- type Verification3DEyeConfigs
- type VerificationAdyen
- type VerificationAdyenConfigs
- type VerificationAkeneo
- type VerificationAkeneoConfigs
- type VerificationApiKey
- type VerificationApiKeyConfigs
- type VerificationAwssns
- type VerificationAwssnsConfigs
- type VerificationBasicAuth
- type VerificationBasicAuthConfigs
- type VerificationCommercelayer
- type VerificationCommercelayerConfigs
- type VerificationConfig
- func NewVerificationConfigFromVerification3DEye(value *Verification3DEye) *VerificationConfig
- func NewVerificationConfigFromVerificationAdyen(value *VerificationAdyen) *VerificationConfig
- func NewVerificationConfigFromVerificationAkeneo(value *VerificationAkeneo) *VerificationConfig
- func NewVerificationConfigFromVerificationApiKey(value *VerificationApiKey) *VerificationConfig
- func NewVerificationConfigFromVerificationAwssns(value *VerificationAwssns) *VerificationConfig
- func NewVerificationConfigFromVerificationBasicAuth(value *VerificationBasicAuth) *VerificationConfig
- func NewVerificationConfigFromVerificationCommercelayer(value *VerificationCommercelayer) *VerificationConfig
- func NewVerificationConfigFromVerificationGitHub(value *VerificationGitHub) *VerificationConfig
- func NewVerificationConfigFromVerificationGitLab(value *VerificationGitLab) *VerificationConfig
- func NewVerificationConfigFromVerificationHmac(value *VerificationHmac) *VerificationConfig
- func NewVerificationConfigFromVerificationMailgun(value *VerificationMailgun) *VerificationConfig
- func NewVerificationConfigFromVerificationOura(value *VerificationOura) *VerificationConfig
- func NewVerificationConfigFromVerificationPipedrive(value *VerificationPipedrive) *VerificationConfig
- func NewVerificationConfigFromVerificationPostmark(value *VerificationPostmark) *VerificationConfig
- func NewVerificationConfigFromVerificationPropertyFinder(value *VerificationPropertyFinder) *VerificationConfig
- func NewVerificationConfigFromVerificationRecharge(value *VerificationRecharge) *VerificationConfig
- func NewVerificationConfigFromVerificationSendGrid(value *VerificationSendGrid) *VerificationConfig
- func NewVerificationConfigFromVerificationShopify(value *VerificationShopify) *VerificationConfig
- func NewVerificationConfigFromVerificationStripe(value *VerificationStripe) *VerificationConfig
- func NewVerificationConfigFromVerificationSvix(value *VerificationSvix) *VerificationConfig
- func NewVerificationConfigFromVerificationSynctera(value *VerificationSynctera) *VerificationConfig
- func NewVerificationConfigFromVerificationTwitter(value *VerificationTwitter) *VerificationConfig
- func NewVerificationConfigFromVerificationTypeform(value *VerificationTypeform) *VerificationConfig
- func NewVerificationConfigFromVerificationWooCommerce(value *VerificationWooCommerce) *VerificationConfig
- func NewVerificationConfigFromVerificationWorkOs(value *VerificationWorkOs) *VerificationConfig
- func NewVerificationConfigFromVerificationXero(value *VerificationXero) *VerificationConfig
- func NewVerificationConfigFromVerificationZoom(value *VerificationZoom) *VerificationConfig
- type VerificationConfigVisitor
- type VerificationGitHub
- type VerificationGitHubConfigs
- type VerificationGitLab
- type VerificationGitLabConfigs
- type VerificationHmac
- type VerificationHmacConfigs
- type VerificationHmacConfigsEncoding
- type VerificationMailgun
- type VerificationMailgunConfigs
- type VerificationOura
- type VerificationOuraConfigs
- type VerificationPipedrive
- type VerificationPipedriveConfigs
- type VerificationPostmark
- type VerificationPostmarkConfigs
- type VerificationPropertyFinder
- type VerificationPropertyFinderConfigs
- type VerificationRecharge
- type VerificationRechargeConfigs
- type VerificationRechargeConfigsEncoding
- type VerificationSendGrid
- type VerificationSendGridConfigs
- type VerificationShopify
- type VerificationShopifyConfigs
- type VerificationShopifyConfigsRateLimitPeriod
- type VerificationStripe
- type VerificationStripeConfigs
- type VerificationSvix
- type VerificationSvixConfigs
- type VerificationSynctera
- type VerificationSyncteraConfigs
- type VerificationTwitter
- type VerificationTwitterConfigs
- type VerificationTypeform
- type VerificationTypeformConfigs
- type VerificationWooCommerce
- type VerificationWooCommerceConfigs
- type VerificationWorkOs
- type VerificationWorkOsConfigs
- type VerificationXero
- type VerificationXeroConfigs
- type VerificationZoom
- type VerificationZoomConfigs
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 WithBaseURL 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.
func Null ¶ added in v0.0.28
Null initializes an optional field that will be sent as an explicit null value.
func OptionalOrNull ¶ added in v0.0.30
OptionalOrNull initializes an optional field, setting the value to an explicit null if the value is nil.
Types ¶
type AddCustomHostname ¶
type AddCustomHostname struct {
// The custom hostname to attach to the workspace
Hostname string `json:"hostname"`
}
type ApiErrorResponse ¶
type ApiErrorResponse struct {
// Error code
Code string `json:"code"`
// Status code
Status float64 `json:"status"`
// Error description
Message string `json:"message"`
Data *ApiErrorResponseData `json:"data,omitempty"`
}
Error response model
type ApiErrorResponseData ¶
type ApiErrorResponseData struct {
}
type AttachedIntegrationToSource ¶
type AttachedIntegrationToSource struct {
Success bool `json:"success"`
}
type AttemptErrorCodes ¶
type AttemptErrorCodes string
Error code of the delivery attempt
const ( AttemptErrorCodesCancelled AttemptErrorCodes = "CANCELLED" AttemptErrorCodesTimeout AttemptErrorCodes = "TIMEOUT" AttemptErrorCodesNotFound AttemptErrorCodes = "NOT_FOUND" AttemptErrorCodesConnectionRefused AttemptErrorCodes = "CONNECTION_REFUSED" AttemptErrorCodesConnectionReset AttemptErrorCodes = "CONNECTION_RESET" AttemptErrorCodesMissingUrl AttemptErrorCodes = "MISSING_URL" AttemptErrorCodesCli AttemptErrorCodes = "CLI" AttemptErrorCodesSelfSignedCert AttemptErrorCodes = "SELF_SIGNED_CERT" AttemptErrorCodesErrTlsCertAltnameInvalid AttemptErrorCodes = "ERR_TLS_CERT_ALTNAME_INVALID" AttemptErrorCodesSslErrorCaUnknown AttemptErrorCodes = "SSL_ERROR_CA_UNKNOWN" AttemptErrorCodesTtlExpired AttemptErrorCodes = "TTL_EXPIRED" AttemptErrorCodesDataArchived AttemptErrorCodes = "DATA_ARCHIVED" AttemptErrorCodesSslCertExpired AttemptErrorCodes = "SSL_CERT_EXPIRED" AttemptErrorCodesBulkRetryCancelled AttemptErrorCodes = "BULK_RETRY_CANCELLED" AttemptErrorCodesDnsLookupFailed AttemptErrorCodes = "DNS_LOOKUP_FAILED" AttemptErrorCodesHostUnreachable AttemptErrorCodes = "HOST_UNREACHABLE" AttemptErrorCodesProtocolError AttemptErrorCodes = "PROTOCOL_ERROR" AttemptErrorCodesSocketClosed AttemptErrorCodes = "SOCKET_CLOSED" AttemptErrorCodesUnknown AttemptErrorCodes = "UNKNOWN" )
func NewAttemptErrorCodesFromString ¶ added in v0.0.27
func NewAttemptErrorCodesFromString(s string) (AttemptErrorCodes, error)
func (AttemptErrorCodes) Ptr ¶ added in v0.0.27
func (a AttemptErrorCodes) Ptr() *AttemptErrorCodes
type AttemptListRequest ¶ added in v0.0.29
type AttemptListRequestDir ¶ added in v0.0.29
type AttemptListRequestDir string
const ( AttemptListRequestDirAsc AttemptListRequestDir = "asc" AttemptListRequestDirDesc AttemptListRequestDir = "desc" )
func NewAttemptListRequestDirFromString ¶ added in v0.0.29
func NewAttemptListRequestDirFromString(s string) (AttemptListRequestDir, error)
func (AttemptListRequestDir) Ptr ¶ added in v0.0.29
func (a AttemptListRequestDir) Ptr() *AttemptListRequestDir
type AttemptState ¶
type AttemptState string
const ( AttemptStateDelivering AttemptState = "DELIVERING" AttemptStateQueued AttemptState = "QUEUED" AttemptStatePending AttemptState = "PENDING" AttemptStateCompleted AttemptState = "COMPLETED" AttemptStateHold AttemptState = "HOLD" )
func NewAttemptStateFromString ¶ added in v0.0.27
func NewAttemptStateFromString(s string) (AttemptState, error)
func (AttemptState) Ptr ¶ added in v0.0.27
func (a AttemptState) Ptr() *AttemptState
type AttemptStatus ¶
type AttemptStatus string
Attempt status
const ( AttemptStatusQueued AttemptStatus = "QUEUED" AttemptStatusFailed AttemptStatus = "FAILED" AttemptStatusSuccessful AttemptStatus = "SUCCESSFUL" AttemptStatusHold AttemptStatus = "HOLD" )
func NewAttemptStatusFromString ¶ added in v0.0.27
func NewAttemptStatusFromString(s string) (AttemptStatus, error)
func (AttemptStatus) Ptr ¶ added in v0.0.27
func (a AttemptStatus) Ptr() *AttemptStatus
type AttemptTrigger ¶
type AttemptTrigger string
How the attempt was triggered
const ( AttemptTriggerInitial AttemptTrigger = "INITIAL" AttemptTriggerManual AttemptTrigger = "MANUAL" AttemptTriggerBulkRetry AttemptTrigger = "BULK_RETRY" AttemptTriggerUnpause AttemptTrigger = "UNPAUSE" AttemptTriggerAutomatic AttemptTrigger = "AUTOMATIC" )
func NewAttemptTriggerFromString ¶ added in v0.0.27
func NewAttemptTriggerFromString(s string) (AttemptTrigger, error)
func (AttemptTrigger) Ptr ¶ added in v0.0.27
func (a AttemptTrigger) Ptr() *AttemptTrigger
type AuthApiKey ¶ added in v0.0.29
type AuthApiKey struct {
Config *DestinationAuthMethodApiKeyConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
API Key
func (*AuthApiKey) MarshalJSON ¶ added in v0.0.29
func (a *AuthApiKey) MarshalJSON() ([]byte, error)
func (*AuthApiKey) Type ¶ added in v0.0.29
func (a *AuthApiKey) Type() string
func (*AuthApiKey) UnmarshalJSON ¶ added in v0.0.29
func (a *AuthApiKey) UnmarshalJSON(data []byte) error
type AuthBasicAuth ¶ added in v0.0.29
type AuthBasicAuth struct {
Config *DestinationAuthMethodBasicAuthConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Basic Auth
func (*AuthBasicAuth) MarshalJSON ¶ added in v0.0.29
func (a *AuthBasicAuth) MarshalJSON() ([]byte, error)
func (*AuthBasicAuth) Type ¶ added in v0.0.29
func (a *AuthBasicAuth) Type() string
func (*AuthBasicAuth) UnmarshalJSON ¶ added in v0.0.29
func (a *AuthBasicAuth) UnmarshalJSON(data []byte) error
type AuthBearerToken ¶ added in v0.0.29
type AuthBearerToken struct {
Config *DestinationAuthMethodBearerTokenConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Bearer Token
func (*AuthBearerToken) MarshalJSON ¶ added in v0.0.29
func (a *AuthBearerToken) MarshalJSON() ([]byte, error)
func (*AuthBearerToken) Type ¶ added in v0.0.29
func (a *AuthBearerToken) Type() string
func (*AuthBearerToken) UnmarshalJSON ¶ added in v0.0.29
func (a *AuthBearerToken) UnmarshalJSON(data []byte) error
type AuthCustomSignature ¶ added in v0.0.29
type AuthCustomSignature struct {
Config *DestinationAuthMethodCustomSignatureConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Custom Signature
func (*AuthCustomSignature) MarshalJSON ¶ added in v0.0.29
func (a *AuthCustomSignature) MarshalJSON() ([]byte, error)
func (*AuthCustomSignature) Type ¶ added in v0.0.29
func (a *AuthCustomSignature) Type() string
func (*AuthCustomSignature) UnmarshalJSON ¶ added in v0.0.29
func (a *AuthCustomSignature) UnmarshalJSON(data []byte) error
type AuthHookdeckSignature ¶ added in v0.0.29
type AuthHookdeckSignature struct {
Config *DestinationAuthMethodSignatureConfig `json:"config,omitempty"`
// contains filtered or unexported fields
}
Hookdeck Signature
func (*AuthHookdeckSignature) MarshalJSON ¶ added in v0.0.29
func (a *AuthHookdeckSignature) MarshalJSON() ([]byte, error)
func (*AuthHookdeckSignature) Type ¶ added in v0.0.29
func (a *AuthHookdeckSignature) Type() string
func (*AuthHookdeckSignature) UnmarshalJSON ¶ added in v0.0.29
func (a *AuthHookdeckSignature) UnmarshalJSON(data []byte) error
type BadRequestError ¶
type BadRequestError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*BadRequestError) MarshalJSON ¶
func (b *BadRequestError) MarshalJSON() ([]byte, error)
func (*BadRequestError) UnmarshalJSON ¶
func (b *BadRequestError) UnmarshalJSON(data []byte) error
func (*BadRequestError) Unwrap ¶ added in v0.0.28
func (b *BadRequestError) Unwrap() error
type BatchOperation ¶
type BatchOperation struct {
// ID of the bulk retry
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// Query object to filter records
Query *BatchOperationQuery `json:"query,omitempty"`
// Date the bulk retry was created
CreatedAt time.Time `json:"created_at"`
// Last time the bulk retry was updated
UpdatedAt time.Time `json:"updated_at"`
// Date the bulk retry was cancelled
CancelledAt *time.Time `json:"cancelled_at,omitempty"`
// Date the bulk retry was completed
CompletedAt *time.Time `json:"completed_at,omitempty"`
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Number of batches currently processed
ProcessedBatch *int `json:"processed_batch,omitempty"`
// Number of events that were successfully delivered
CompletedCount *int `json:"completed_count,omitempty"`
// Indicates if the bulk retry is currently in progress
InProgress bool `json:"in_progress"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
// Number of events that failed to be delivered
FailedCount *int `json:"failed_count,omitempty"`
Number *float64 `json:"number,omitempty"`
}
type BatchOperationPaginatedResult ¶
type BatchOperationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*BatchOperation `json:"models,omitempty"`
}
type BatchOperationQuery ¶
type BatchOperationQuery struct {
StringUnknownMap map[string]interface{}
StringOptional *string
// contains filtered or unexported fields
}
Query object to filter records
func NewBatchOperationQueryFromStringOptional ¶
func NewBatchOperationQueryFromStringOptional(value *string) *BatchOperationQuery
func NewBatchOperationQueryFromStringUnknownMap ¶
func NewBatchOperationQueryFromStringUnknownMap(value map[string]interface{}) *BatchOperationQuery
func (*BatchOperationQuery) Accept ¶
func (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 Bookmark ¶
type Bookmark struct {
// ID of the bookmark
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// ID of the associated connection
WebhookId string `json:"webhook_id"`
// ID of the bookmarked event data
EventDataId string `json:"event_data_id"`
// Descriptive name of the bookmark
Label string `json:"label"`
// Alternate alias for the bookmark
Alias *string `json:"alias,omitempty"`
Data *ShortEventData `json:"data,omitempty"`
// Date the bookmark was last manually triggered
LastUsedAt *time.Time `json:"last_used_at,omitempty"`
// Date the bookmark was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the bookmark was created
CreatedAt time.Time `json:"created_at"`
}
type BookmarkCreateRequest ¶ added in v0.0.29
type BookmarkCreateRequest struct {
// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
EventDataId string `json:"event_data_id"`
// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
WebhookId string `json:"webhook_id"`
// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
Label string `json:"label"`
// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
}
type BookmarkListRequest ¶ added in v0.0.29
type BookmarkListRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
WebhookId *string `json:"-"`
EventDataId *string `json:"-"`
Label *string `json:"-"`
LastUsedAt *time.Time `json:"-"`
OrderBy *string `json:"-"`
Dir *BookmarkListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type BookmarkListRequestDir ¶ added in v0.0.29
type BookmarkListRequestDir string
const ( BookmarkListRequestDirAsc BookmarkListRequestDir = "asc" BookmarkListRequestDirDesc BookmarkListRequestDir = "desc" )
func NewBookmarkListRequestDirFromString ¶ added in v0.0.29
func NewBookmarkListRequestDirFromString(s string) (BookmarkListRequestDir, error)
func (BookmarkListRequestDir) Ptr ¶ added in v0.0.29
func (b BookmarkListRequestDir) Ptr() *BookmarkListRequestDir
type BookmarkPaginatedResult ¶
type BookmarkPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Bookmark `json:"models,omitempty"`
}
type BookmarkTriggerRequest ¶ added in v0.0.29
type BookmarkTriggerRequest struct {
// Bookmark target
Target *core.Optional[BookmarkTriggerRequestTarget] `json:"target,omitempty"`
}
type BookmarkTriggerRequestTarget ¶ added in v0.0.29
type BookmarkTriggerRequestTarget string
Bookmark target
const ( BookmarkTriggerRequestTargetHttp BookmarkTriggerRequestTarget = "http" BookmarkTriggerRequestTargetCli BookmarkTriggerRequestTarget = "cli" )
func NewBookmarkTriggerRequestTargetFromString ¶ added in v0.0.29
func NewBookmarkTriggerRequestTargetFromString(s string) (BookmarkTriggerRequestTarget, error)
func (BookmarkTriggerRequestTarget) Ptr ¶ added in v0.0.29
func (b BookmarkTriggerRequestTarget) Ptr() *BookmarkTriggerRequestTarget
type BookmarkUpdateRequest ¶ added in v0.0.29
type BookmarkUpdateRequest struct {
// ID of the event data to bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
EventDataId *core.Optional[string] `json:"event_data_id,omitempty"`
// ID of the associated connection <span style="white-space: nowrap">`<= 255 characters`</span>
WebhookId *core.Optional[string] `json:"webhook_id,omitempty"`
// Descriptive name of the bookmark <span style="white-space: nowrap">`<= 255 characters`</span>
Label *core.Optional[string] `json:"label,omitempty"`
// A unique, human-friendly name for the bookmark <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
}
type 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 ConnectionCreateRequest ¶ added in v0.0.29
type ConnectionCreateRequest struct {
// A unique name of the connection for the source
Name *core.Optional[string] `json:"name,omitempty"`
// Description for the connection
Description *core.Optional[string] `json:"description,omitempty"`
// ID of a destination to bind to the connection
DestinationId *core.Optional[string] `json:"destination_id,omitempty"`
// ID of a source to bind to the connection
SourceId *core.Optional[string] `json:"source_id,omitempty"`
// Destination input object
Destination *core.Optional[ConnectionCreateRequestDestination] `json:"destination,omitempty"`
// Source input object
Source *core.Optional[ConnectionCreateRequestSource] `json:"source,omitempty"`
Rules *core.Optional[[]*Rule] `json:"rules,omitempty"`
}
type ConnectionCreateRequestDestination ¶ added in v0.0.29
type ConnectionCreateRequestDestination struct {
// Name for the destination <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 *ConnectionCreateRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
Destination input object
type ConnectionCreateRequestDestinationRateLimitPeriod ¶ added in v0.0.29
type ConnectionCreateRequestDestinationRateLimitPeriod string
Period to rate limit attempts
const ( ConnectionCreateRequestDestinationRateLimitPeriodSecond ConnectionCreateRequestDestinationRateLimitPeriod = "second" ConnectionCreateRequestDestinationRateLimitPeriodMinute ConnectionCreateRequestDestinationRateLimitPeriod = "minute" ConnectionCreateRequestDestinationRateLimitPeriodHour ConnectionCreateRequestDestinationRateLimitPeriod = "hour" )
func NewConnectionCreateRequestDestinationRateLimitPeriodFromString ¶ added in v0.0.29
func NewConnectionCreateRequestDestinationRateLimitPeriodFromString(s string) (ConnectionCreateRequestDestinationRateLimitPeriod, error)
type ConnectionCreateRequestSource ¶ added in v0.0.29
type ConnectionCreateRequestSource 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 ConnectionDeleteResponse ¶ added in v0.0.29
type ConnectionDeleteResponse struct {
// ID of the connection
Id string `json:"id"`
}
type ConnectionListRequest ¶ added in v0.0.29
type ConnectionListRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Archived *bool `json:"-"`
ArchivedAt *time.Time `json:"-"`
FullName *string `json:"-"`
PausedAt *time.Time `json:"-"`
OrderBy *ConnectionListRequestOrderBy `json:"-"`
Dir *ConnectionListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type ConnectionListRequestDir ¶ added in v0.0.29
type ConnectionListRequestDir string
const ( ConnectionListRequestDirAsc ConnectionListRequestDir = "asc" ConnectionListRequestDirDesc ConnectionListRequestDir = "desc" )
func NewConnectionListRequestDirFromString ¶ added in v0.0.29
func NewConnectionListRequestDirFromString(s string) (ConnectionListRequestDir, error)
func (ConnectionListRequestDir) Ptr ¶ added in v0.0.29
func (c ConnectionListRequestDir) Ptr() *ConnectionListRequestDir
type ConnectionListRequestOrderBy ¶ added in v0.0.29
type ConnectionListRequestOrderBy string
const ( ConnectionListRequestOrderByCreatedAt ConnectionListRequestOrderBy = "created_at" ConnectionListRequestOrderByUpdatedAt ConnectionListRequestOrderBy = "updated_at" ConnectionListRequestOrderBySourcesUpdatedAt ConnectionListRequestOrderBy = "sources.updated_at" ConnectionListRequestOrderBySourcesCreatedAt ConnectionListRequestOrderBy = "sources.created_at" ConnectionListRequestOrderByDestinationsUpdatedAt ConnectionListRequestOrderBy = "destinations.updated_at" ConnectionListRequestOrderByDestinationsCreatedAt ConnectionListRequestOrderBy = "destinations.created_at" )
func NewConnectionListRequestOrderByFromString ¶ added in v0.0.29
func NewConnectionListRequestOrderByFromString(s string) (ConnectionListRequestOrderBy, error)
func (ConnectionListRequestOrderBy) Ptr ¶ added in v0.0.29
func (c ConnectionListRequestOrderBy) Ptr() *ConnectionListRequestOrderBy
type ConnectionPaginatedResult ¶
type ConnectionPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Connection `json:"models,omitempty"`
}
type ConnectionUpdateRequest ¶ added in v0.0.29
type ConnectionUpdateRequest struct {
// <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
// Description for the connection
Description *core.Optional[string] `json:"description,omitempty"`
Rules *core.Optional[[]*Rule] `json:"rules,omitempty"`
}
type ConnectionUpsertRequest ¶ added in v0.0.29
type ConnectionUpsertRequest struct {
// A unique name of the connection for the source
Name *core.Optional[string] `json:"name,omitempty"`
// Description for the connection
Description *core.Optional[string] `json:"description,omitempty"`
// ID of a destination to bind to the connection
DestinationId *core.Optional[string] `json:"destination_id,omitempty"`
// ID of a source to bind to the connection
SourceId *core.Optional[string] `json:"source_id,omitempty"`
// Destination input object
Destination *core.Optional[ConnectionUpsertRequestDestination] `json:"destination,omitempty"`
// Source input object
Source *core.Optional[ConnectionUpsertRequestSource] `json:"source,omitempty"`
Rules *core.Optional[[]*Rule] `json:"rules,omitempty"`
}
type ConnectionUpsertRequestDestination ¶ added in v0.0.29
type ConnectionUpsertRequestDestination struct {
// Name for the destination <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 *ConnectionUpsertRequestDestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *int `json:"rate_limit,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
}
Destination input object
type ConnectionUpsertRequestDestinationRateLimitPeriod ¶ added in v0.0.29
type ConnectionUpsertRequestDestinationRateLimitPeriod string
Period to rate limit attempts
const ( ConnectionUpsertRequestDestinationRateLimitPeriodSecond ConnectionUpsertRequestDestinationRateLimitPeriod = "second" ConnectionUpsertRequestDestinationRateLimitPeriodMinute ConnectionUpsertRequestDestinationRateLimitPeriod = "minute" ConnectionUpsertRequestDestinationRateLimitPeriodHour ConnectionUpsertRequestDestinationRateLimitPeriod = "hour" )
func NewConnectionUpsertRequestDestinationRateLimitPeriodFromString ¶ added in v0.0.29
func NewConnectionUpsertRequestDestinationRateLimitPeriodFromString(s string) (ConnectionUpsertRequestDestinationRateLimitPeriod, error)
type ConnectionUpsertRequestSource ¶ added in v0.0.29
type ConnectionUpsertRequestSource 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 ConsoleLine ¶
type ConsoleLine struct {
Type ConsoleLineType `json:"type,omitempty"`
Message string `json:"message"`
}
type ConsoleLineType ¶
type ConsoleLineType string
const ( ConsoleLineTypeError ConsoleLineType = "error" ConsoleLineTypeLog ConsoleLineType = "log" ConsoleLineTypeWarn ConsoleLineType = "warn" ConsoleLineTypeInfo ConsoleLineType = "info" ConsoleLineTypeDebug ConsoleLineType = "debug" )
func NewConsoleLineTypeFromString ¶ added in v0.0.27
func NewConsoleLineTypeFromString(s string) (ConsoleLineType, error)
func (ConsoleLineType) Ptr ¶ added in v0.0.27
func (c ConsoleLineType) Ptr() *ConsoleLineType
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 DeleteCustomDomainSchema ¶
type DeleteCustomDomainSchema struct {
// The custom hostname ID
Id string `json:"id"`
}
type DeletedBookmarkResponse ¶
type DeletedBookmarkResponse struct {
// Bookmark ID
Id string `json:"id"`
}
type DeletedIntegration ¶
type DeletedIntegration struct {
Id string `json:"id"`
}
type DeletedIssueTriggerResponse ¶
type DeletedIssueTriggerResponse struct {
Id string `json:"id"`
}
type DeliveryIssue ¶
type DeliveryIssue struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *DeliveryIssueReference `json:"reference,omitempty"`
// contains filtered or unexported fields
}
Delivery issue
func (*DeliveryIssue) MarshalJSON ¶
func (d *DeliveryIssue) MarshalJSON() ([]byte, error)
func (*DeliveryIssue) Type ¶
func (d *DeliveryIssue) Type() string
func (*DeliveryIssue) UnmarshalJSON ¶
func (d *DeliveryIssue) UnmarshalJSON(data []byte) error
type DeliveryIssueAggregationKeys ¶
type DeliveryIssueAggregationKeys struct {
WebhookId []string `json:"webhook_id,omitempty"`
ResponseStatus []float64 `json:"response_status,omitempty"`
ErrorCode []AttemptErrorCodes `json:"error_code,omitempty"`
}
Keys used as the aggregation keys a 'delivery' type issue
type DeliveryIssueData ¶
type DeliveryIssueData struct {
TriggerEvent *Event `json:"trigger_event,omitempty"`
TriggerAttempt *EventAttempt `json:"trigger_attempt,omitempty"`
}
Delivery issue data
type DeliveryIssueReference ¶
type DeliveryIssueReference struct {
EventId string `json:"event_id"`
AttemptId string `json:"attempt_id"`
}
Reference to the event and attempt an issue is being created for.
type DeliveryIssueWithData ¶
type DeliveryIssueWithData struct {
// Issue ID
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
Status IssueStatus `json:"status,omitempty"`
// ISO timestamp for when the issue was last opened
OpenedAt time.Time `json:"opened_at"`
// ISO timestamp for when the issue was first opened
FirstSeenAt time.Time `json:"first_seen_at"`
// ISO timestamp for when the issue last occured
LastSeenAt time.Time `json:"last_seen_at"`
// ID of the team member who last updated the issue status
LastUpdatedBy *string `json:"last_updated_by,omitempty"`
// ISO timestamp for when the issue was dismissed
DismissedAt *time.Time `json:"dismissed_at,omitempty"`
AutoResolvedAt *time.Time `json:"auto_resolved_at,omitempty"`
MergedWith *string `json:"merged_with,omitempty"`
// ISO timestamp for when the issue was last updated
UpdatedAt string `json:"updated_at"`
// ISO timestamp for when the issue was created
CreatedAt string `json:"created_at"`
AggregationKeys *DeliveryIssueAggregationKeys `json:"aggregation_keys,omitempty"`
Reference *DeliveryIssueReference `json:"reference,omitempty"`
Data *DeliveryIssueData `json:"data,omitempty"`
// contains filtered or unexported fields
}
Delivery issue
func (*DeliveryIssueWithData) MarshalJSON ¶
func (d *DeliveryIssueWithData) MarshalJSON() ([]byte, error)
func (*DeliveryIssueWithData) Type ¶
func (d *DeliveryIssueWithData) Type() string
func (*DeliveryIssueWithData) UnmarshalJSON ¶
func (d *DeliveryIssueWithData) UnmarshalJSON(data []byte) error
type Destination ¶
type Destination struct {
// ID of the destination
Id string `json:"id"`
// A unique, human-friendly name for the destination
Name string `json:"name"`
// Description of the destination
Description *string `json:"description,omitempty"`
// ID of the workspace
TeamId string `json:"team_id"`
PathForwardingDisabled *bool `json:"path_forwarding_disabled,omitempty"`
// HTTP endpoint of the destination
Url *string `json:"url,omitempty"`
// Path for the CLI destination
CliPath *string `json:"cli_path,omitempty"`
// Limit event attempts to receive per period. Max value is workspace plan's max attempts thoughput.
RateLimit *int `json:"rate_limit,omitempty"`
RateLimitPeriod *DestinationRateLimitPeriod `json:"rate_limit_period,omitempty"`
HttpMethod *DestinationHttpMethod `json:"http_method,omitempty"`
AuthMethod *DestinationAuthMethodConfig `json:"auth_method,omitempty"`
// Date the destination was archived
ArchivedAt *time.Time `json:"archived_at,omitempty"`
// Date the destination was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the destination was created
CreatedAt time.Time `json:"created_at"`
}
Associated Destination(#destination-object) object
type DestinationAuthMethodApiKeyConfig ¶
type DestinationAuthMethodApiKeyConfig struct {
// Key for the API key auth
Key string `json:"key"`
// API key for the API key auth
ApiKey string `json:"api_key"`
// Whether the API key should be sent as a header or a query parameter
To *DestinationAuthMethodApiKeyConfigTo `json:"to,omitempty"`
}
API key config for the destination's auth method
type DestinationAuthMethodApiKeyConfigTo ¶
type DestinationAuthMethodApiKeyConfigTo string
Whether the API key should be sent as a header or a query parameter
const ( DestinationAuthMethodApiKeyConfigToHeader DestinationAuthMethodApiKeyConfigTo = "header" DestinationAuthMethodApiKeyConfigToQuery DestinationAuthMethodApiKeyConfigTo = "query" )
func NewDestinationAuthMethodApiKeyConfigToFromString ¶ added in v0.0.27
func NewDestinationAuthMethodApiKeyConfigToFromString(s string) (DestinationAuthMethodApiKeyConfigTo, error)
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 {
AuthHookdeckSignature *AuthHookdeckSignature
AuthBasicAuth *AuthBasicAuth
AuthApiKey *AuthApiKey
AuthBearerToken *AuthBearerToken
AuthCustomSignature *AuthCustomSignature
// contains filtered or unexported fields
}
Config for the destination's auth method
func NewDestinationAuthMethodConfigFromAuthApiKey ¶ added in v0.0.29
func NewDestinationAuthMethodConfigFromAuthApiKey(value *AuthApiKey) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromAuthBasicAuth ¶ added in v0.0.29
func NewDestinationAuthMethodConfigFromAuthBasicAuth(value *AuthBasicAuth) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromAuthBearerToken ¶ added in v0.0.29
func NewDestinationAuthMethodConfigFromAuthBearerToken(value *AuthBearerToken) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromAuthCustomSignature ¶ added in v0.0.29
func NewDestinationAuthMethodConfigFromAuthCustomSignature(value *AuthCustomSignature) *DestinationAuthMethodConfig
func NewDestinationAuthMethodConfigFromAuthHookdeckSignature ¶ added in v0.0.29
func NewDestinationAuthMethodConfigFromAuthHookdeckSignature(value *AuthHookdeckSignature) *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 {
VisitAuthHookdeckSignature(*AuthHookdeckSignature) error
VisitAuthBasicAuth(*AuthBasicAuth) error
VisitAuthApiKey(*AuthApiKey) error
VisitAuthBearerToken(*AuthBearerToken) error
VisitAuthCustomSignature(*AuthCustomSignature) error
}
type DestinationAuthMethodCustomSignatureConfig ¶
type DestinationAuthMethodCustomSignatureConfig struct {
// Key for the custom signature auth
Key string `json:"key"`
// Signing secret for the custom signature auth. If left empty a secret will be generated for you.
SigningSecret *string `json:"signing_secret,omitempty"`
}
Custom signature config for the destination's auth method
type DestinationAuthMethodSignatureConfig ¶
type DestinationAuthMethodSignatureConfig struct {
}
Empty config for the destination's auth method
type DestinationCreateRequest ¶ added in v0.0.29
type DestinationCreateRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *core.Optional[string] `json:"description,omitempty"`
// Endpoint of the destination
Url *core.Optional[string] `json:"url,omitempty"`
// Path for the CLI destination
CliPath *core.Optional[string] `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *core.Optional[DestinationCreateRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *core.Optional[int] `json:"rate_limit,omitempty"`
HttpMethod *core.Optional[DestinationHttpMethod] `json:"http_method,omitempty"`
AuthMethod *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
PathForwardingDisabled *core.Optional[bool] `json:"path_forwarding_disabled,omitempty"`
}
type DestinationCreateRequestRateLimitPeriod ¶ added in v0.0.29
type DestinationCreateRequestRateLimitPeriod string
Period to rate limit attempts
const ( DestinationCreateRequestRateLimitPeriodSecond DestinationCreateRequestRateLimitPeriod = "second" DestinationCreateRequestRateLimitPeriodMinute DestinationCreateRequestRateLimitPeriod = "minute" DestinationCreateRequestRateLimitPeriodHour DestinationCreateRequestRateLimitPeriod = "hour" )
func NewDestinationCreateRequestRateLimitPeriodFromString ¶ added in v0.0.29
func NewDestinationCreateRequestRateLimitPeriodFromString(s string) (DestinationCreateRequestRateLimitPeriod, error)
type DestinationDeleteResponse ¶ added in v0.0.29
type DestinationDeleteResponse struct {
// ID of the destination
Id string `json:"id"`
}
type DestinationHttpMethod ¶
type DestinationHttpMethod string
HTTP method used on requests sent to the destination, overrides the method used on requests sent to the source.
const ( DestinationHttpMethodGet DestinationHttpMethod = "GET" DestinationHttpMethodPost DestinationHttpMethod = "POST" DestinationHttpMethodPut DestinationHttpMethod = "PUT" DestinationHttpMethodPatch DestinationHttpMethod = "PATCH" DestinationHttpMethodDelete DestinationHttpMethod = "DELETE" )
func NewDestinationHttpMethodFromString ¶ added in v0.0.27
func NewDestinationHttpMethodFromString(s string) (DestinationHttpMethod, error)
func (DestinationHttpMethod) Ptr ¶ added in v0.0.27
func (d DestinationHttpMethod) Ptr() *DestinationHttpMethod
type DestinationListRequest ¶ added in v0.0.29
type DestinationListRequest struct {
Id *string `json:"-"`
Name *string `json:"-"`
Archived *bool `json:"-"`
ArchivedAt *time.Time `json:"-"`
Url *string `json:"-"`
CliPath *string `json:"-"`
OrderBy *string `json:"-"`
Dir *DestinationListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type DestinationListRequestDir ¶ added in v0.0.29
type DestinationListRequestDir string
const ( DestinationListRequestDirAsc DestinationListRequestDir = "asc" DestinationListRequestDirDesc DestinationListRequestDir = "desc" )
func NewDestinationListRequestDirFromString ¶ added in v0.0.29
func NewDestinationListRequestDirFromString(s string) (DestinationListRequestDir, error)
func (DestinationListRequestDir) Ptr ¶ added in v0.0.29
func (d DestinationListRequestDir) Ptr() *DestinationListRequestDir
type DestinationPaginatedResult ¶
type DestinationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Destination `json:"models,omitempty"`
}
type DestinationRateLimitPeriod ¶
type DestinationRateLimitPeriod string
Period to rate limit attempts
const ( DestinationRateLimitPeriodSecond DestinationRateLimitPeriod = "second" DestinationRateLimitPeriodMinute DestinationRateLimitPeriod = "minute" DestinationRateLimitPeriodHour DestinationRateLimitPeriod = "hour" )
func NewDestinationRateLimitPeriodFromString ¶ added in v0.0.27
func NewDestinationRateLimitPeriodFromString(s string) (DestinationRateLimitPeriod, error)
func (DestinationRateLimitPeriod) Ptr ¶ added in v0.0.27
func (d DestinationRateLimitPeriod) Ptr() *DestinationRateLimitPeriod
type DestinationUpdateRequest ¶ added in v0.0.29
type DestinationUpdateRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
// Description for the destination
Description *core.Optional[string] `json:"description,omitempty"`
// Endpoint of the destination
Url *core.Optional[string] `json:"url,omitempty"`
// Path for the CLI destination
CliPath *core.Optional[string] `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *core.Optional[DestinationUpdateRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *core.Optional[int] `json:"rate_limit,omitempty"`
HttpMethod *core.Optional[DestinationHttpMethod] `json:"http_method,omitempty"`
AuthMethod *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
PathForwardingDisabled *core.Optional[bool] `json:"path_forwarding_disabled,omitempty"`
}
type DestinationUpdateRequestRateLimitPeriod ¶ added in v0.0.29
type DestinationUpdateRequestRateLimitPeriod string
Period to rate limit attempts
const ( DestinationUpdateRequestRateLimitPeriodSecond DestinationUpdateRequestRateLimitPeriod = "second" DestinationUpdateRequestRateLimitPeriodMinute DestinationUpdateRequestRateLimitPeriod = "minute" DestinationUpdateRequestRateLimitPeriodHour DestinationUpdateRequestRateLimitPeriod = "hour" )
func NewDestinationUpdateRequestRateLimitPeriodFromString ¶ added in v0.0.29
func NewDestinationUpdateRequestRateLimitPeriodFromString(s string) (DestinationUpdateRequestRateLimitPeriod, error)
type DestinationUpsertRequest ¶ added in v0.0.29
type DestinationUpsertRequest struct {
// Name for the destination <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the destination
Description *core.Optional[string] `json:"description,omitempty"`
// Endpoint of the destination
Url *core.Optional[string] `json:"url,omitempty"`
// Path for the CLI destination
CliPath *core.Optional[string] `json:"cli_path,omitempty"`
// Period to rate limit attempts
RateLimitPeriod *core.Optional[DestinationUpsertRequestRateLimitPeriod] `json:"rate_limit_period,omitempty"`
// Limit event attempts to receive per period
RateLimit *core.Optional[int] `json:"rate_limit,omitempty"`
HttpMethod *core.Optional[DestinationHttpMethod] `json:"http_method,omitempty"`
AuthMethod *core.Optional[DestinationAuthMethodConfig] `json:"auth_method,omitempty"`
PathForwardingDisabled *core.Optional[bool] `json:"path_forwarding_disabled,omitempty"`
}
type DestinationUpsertRequestRateLimitPeriod ¶ added in v0.0.29
type DestinationUpsertRequestRateLimitPeriod string
Period to rate limit attempts
const ( DestinationUpsertRequestRateLimitPeriodSecond DestinationUpsertRequestRateLimitPeriod = "second" DestinationUpsertRequestRateLimitPeriodMinute DestinationUpsertRequestRateLimitPeriod = "minute" DestinationUpsertRequestRateLimitPeriodHour DestinationUpsertRequestRateLimitPeriod = "hour" )
func NewDestinationUpsertRequestRateLimitPeriodFromString ¶ added in v0.0.29
func NewDestinationUpsertRequestRateLimitPeriodFromString(s string) (DestinationUpsertRequestRateLimitPeriod, error)
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 string
HTTP method used to deliver the attempt
const ( EventAttemptHttpMethodGet EventAttemptHttpMethod = "GET" EventAttemptHttpMethodPost EventAttemptHttpMethod = "POST" EventAttemptHttpMethodPut EventAttemptHttpMethod = "PUT" EventAttemptHttpMethodPatch EventAttemptHttpMethod = "PATCH" EventAttemptHttpMethodDelete EventAttemptHttpMethod = "DELETE" )
func NewEventAttemptHttpMethodFromString ¶ added in v0.0.27
func NewEventAttemptHttpMethodFromString(s string) (EventAttemptHttpMethod, error)
func (EventAttemptHttpMethod) Ptr ¶ added in v0.0.27
func (e EventAttemptHttpMethod) Ptr() *EventAttemptHttpMethod
type EventAttemptPaginatedResult ¶
type EventAttemptPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*EventAttempt `json:"models,omitempty"`
}
type EventBulkRetryCreateRequest ¶ added in v0.0.29
type EventBulkRetryCreateRequest struct {
// Filter properties for the events to be included in the bulk retry
Query *core.Optional[EventBulkRetryCreateRequestQuery] `json:"query,omitempty"`
}
type EventBulkRetryCreateRequestQuery ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuery struct {
// Filter by event IDs
Id *EventBulkRetryCreateRequestQueryId `json:"id,omitempty"`
// Lifecyle status of the event
Status *EventBulkRetryCreateRequestQueryStatus `json:"status,omitempty"`
// Filter by webhook connection IDs
WebhookId *EventBulkRetryCreateRequestQueryWebhookId `json:"webhook_id,omitempty"`
// Filter by destination IDs
DestinationId *EventBulkRetryCreateRequestQueryDestinationId `json:"destination_id,omitempty"`
// Filter by source IDs
SourceId *EventBulkRetryCreateRequestQuerySourceId `json:"source_id,omitempty"`
// Filter by number of attempts
Attempts *EventBulkRetryCreateRequestQueryAttempts `json:"attempts,omitempty"`
// Filter by HTTP response status code
ResponseStatus *EventBulkRetryCreateRequestQueryResponseStatus `json:"response_status,omitempty"`
// Filter by `successful_at` date using a date operator
SuccessfulAt *EventBulkRetryCreateRequestQuerySuccessfulAt `json:"successful_at,omitempty"`
// Filter by `created_at` date using a date operator
CreatedAt *EventBulkRetryCreateRequestQueryCreatedAt `json:"created_at,omitempty"`
// Filter by error code code
ErrorCode *EventBulkRetryCreateRequestQueryErrorCode `json:"error_code,omitempty"`
// Filter by CLI IDs. `?[any]=true` operator for any CLI.
CliId *EventBulkRetryCreateRequestQueryCliId `json:"cli_id,omitempty"`
// Filter by `last_attempt_at` date using a date operator
LastAttemptAt *EventBulkRetryCreateRequestQueryLastAttemptAt `json:"last_attempt_at,omitempty"`
// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
SearchTerm *string `json:"search_term,omitempty"`
// URL Encoded string of the JSON to match to the data headers
Headers *EventBulkRetryCreateRequestQueryHeaders `json:"headers,omitempty"`
// URL Encoded string of the JSON to match to the data body
Body *EventBulkRetryCreateRequestQueryBody `json:"body,omitempty"`
// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
ParsedQuery *EventBulkRetryCreateRequestQueryParsedQuery `json:"parsed_query,omitempty"`
// URL Encoded string of the value to match partially to the path
Path *string `json:"path,omitempty"`
CliUserId *EventBulkRetryCreateRequestQueryCliUserId `json:"cli_user_id,omitempty"`
IssueId *EventBulkRetryCreateRequestQueryIssueId `json:"issue_id,omitempty"`
EventDataId *EventBulkRetryCreateRequestQueryEventDataId `json:"event_data_id,omitempty"`
BulkRetryId *EventBulkRetryCreateRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}
Filter properties for the events to be included in the bulk retry
type EventBulkRetryCreateRequestQueryAttempts ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryAttempts struct {
Integer int
EventBulkRetryCreateRequestQueryAttemptsAny *EventBulkRetryCreateRequestQueryAttemptsAny
// contains filtered or unexported fields
}
Filter by number of attempts
func NewEventBulkRetryCreateRequestQueryAttemptsFromEventBulkRetryCreateRequestQueryAttemptsAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryAttemptsFromEventBulkRetryCreateRequestQueryAttemptsAny(value *EventBulkRetryCreateRequestQueryAttemptsAny) *EventBulkRetryCreateRequestQueryAttempts
func NewEventBulkRetryCreateRequestQueryAttemptsFromInteger ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryAttemptsFromInteger(value int) *EventBulkRetryCreateRequestQueryAttempts
func (*EventBulkRetryCreateRequestQueryAttempts) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryAttempts) Accept(visitor EventBulkRetryCreateRequestQueryAttemptsVisitor) error
func (EventBulkRetryCreateRequestQueryAttempts) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryAttempts) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryAttempts) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryAttempts) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryAttemptsAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryAttemptsVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryAttemptsVisitor interface {
VisitInteger(int) error
VisitEventBulkRetryCreateRequestQueryAttemptsAny(*EventBulkRetryCreateRequestQueryAttemptsAny) error
}
type EventBulkRetryCreateRequestQueryBody ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryBody struct {
String string
EventBulkRetryCreateRequestQueryBodyOne *EventBulkRetryCreateRequestQueryBodyOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data body
func NewEventBulkRetryCreateRequestQueryBodyFromEventBulkRetryCreateRequestQueryBodyOne ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryBodyFromEventBulkRetryCreateRequestQueryBodyOne(value *EventBulkRetryCreateRequestQueryBodyOne) *EventBulkRetryCreateRequestQueryBody
func NewEventBulkRetryCreateRequestQueryBodyFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryBodyFromString(value string) *EventBulkRetryCreateRequestQueryBody
func (*EventBulkRetryCreateRequestQueryBody) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryBody) Accept(visitor EventBulkRetryCreateRequestQueryBodyVisitor) error
func (EventBulkRetryCreateRequestQueryBody) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryBody) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryBody) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryBody) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryBodyOne ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryBodyOne struct {
}
type EventBulkRetryCreateRequestQueryBodyVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryBodyVisitor interface {
VisitString(string) error
VisitEventBulkRetryCreateRequestQueryBodyOne(*EventBulkRetryCreateRequestQueryBodyOne) error
}
type EventBulkRetryCreateRequestQueryBulkRetryId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryBulkRetryId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromString(value string) *EventBulkRetryCreateRequestQueryBulkRetryId
func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryBulkRetryIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryBulkRetryId
func (*EventBulkRetryCreateRequestQueryBulkRetryId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryBulkRetryId) Accept(visitor EventBulkRetryCreateRequestQueryBulkRetryIdVisitor) error
func (EventBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryBulkRetryIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCliId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCliId struct {
String string
EventBulkRetryCreateRequestQueryCliIdAny *EventBulkRetryCreateRequestQueryCliIdAny
StringList []string
// contains filtered or unexported fields
}
Filter by CLI IDs. `?[any]=true` operator for any CLI.
func NewEventBulkRetryCreateRequestQueryCliIdFromEventBulkRetryCreateRequestQueryCliIdAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCliIdFromEventBulkRetryCreateRequestQueryCliIdAny(value *EventBulkRetryCreateRequestQueryCliIdAny) *EventBulkRetryCreateRequestQueryCliId
func NewEventBulkRetryCreateRequestQueryCliIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCliIdFromString(value string) *EventBulkRetryCreateRequestQueryCliId
func NewEventBulkRetryCreateRequestQueryCliIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCliIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryCliId
func (*EventBulkRetryCreateRequestQueryCliId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCliId) Accept(visitor EventBulkRetryCreateRequestQueryCliIdVisitor) error
func (EventBulkRetryCreateRequestQueryCliId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryCliId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryCliId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCliId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryCliIdAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCliIdAny struct {
Any *bool `json:"any,omitempty"`
}
type EventBulkRetryCreateRequestQueryCliIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCliUserId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCliUserId struct {
String string
StringList []string
// contains filtered or unexported fields
}
func NewEventBulkRetryCreateRequestQueryCliUserIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCliUserIdFromString(value string) *EventBulkRetryCreateRequestQueryCliUserId
func NewEventBulkRetryCreateRequestQueryCliUserIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCliUserIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryCliUserId
func (*EventBulkRetryCreateRequestQueryCliUserId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCliUserId) Accept(visitor EventBulkRetryCreateRequestQueryCliUserIdVisitor) error
func (EventBulkRetryCreateRequestQueryCliUserId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryCliUserId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryCliUserId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCliUserId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryCliUserIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCreatedAt ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCreatedAt struct {
DateTime time.Time
EventBulkRetryCreateRequestQueryCreatedAtAny *EventBulkRetryCreateRequestQueryCreatedAtAny
// contains filtered or unexported fields
}
Filter by `created_at` date using a date operator
func NewEventBulkRetryCreateRequestQueryCreatedAtFromDateTime ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCreatedAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryCreatedAt
func NewEventBulkRetryCreateRequestQueryCreatedAtFromEventBulkRetryCreateRequestQueryCreatedAtAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryCreatedAtFromEventBulkRetryCreateRequestQueryCreatedAtAny(value *EventBulkRetryCreateRequestQueryCreatedAtAny) *EventBulkRetryCreateRequestQueryCreatedAt
func (*EventBulkRetryCreateRequestQueryCreatedAt) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCreatedAt) Accept(visitor EventBulkRetryCreateRequestQueryCreatedAtVisitor) error
func (EventBulkRetryCreateRequestQueryCreatedAt) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryCreatedAt) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryCreatedAt) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryCreatedAt) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryCreatedAtAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCreatedAtVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryCreatedAtVisitor interface {
VisitDateTime(time.Time) error
VisitEventBulkRetryCreateRequestQueryCreatedAtAny(*EventBulkRetryCreateRequestQueryCreatedAtAny) error
}
type EventBulkRetryCreateRequestQueryDestinationId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryDestinationId struct {
// Destination ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by destination IDs
func NewEventBulkRetryCreateRequestQueryDestinationIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryDestinationIdFromString(value string) *EventBulkRetryCreateRequestQueryDestinationId
func NewEventBulkRetryCreateRequestQueryDestinationIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryDestinationIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryDestinationId
func (*EventBulkRetryCreateRequestQueryDestinationId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryDestinationId) Accept(visitor EventBulkRetryCreateRequestQueryDestinationIdVisitor) error
func (EventBulkRetryCreateRequestQueryDestinationId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryDestinationId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryDestinationId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryDestinationId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryDestinationIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryErrorCode ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryErrorCode struct {
AttemptErrorCodes AttemptErrorCodes
AttemptErrorCodesList []AttemptErrorCodes
// contains filtered or unexported fields
}
Filter by error code code
func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodes ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodes(value AttemptErrorCodes) *EventBulkRetryCreateRequestQueryErrorCode
func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodesList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryErrorCodeFromAttemptErrorCodesList(value []AttemptErrorCodes) *EventBulkRetryCreateRequestQueryErrorCode
func (*EventBulkRetryCreateRequestQueryErrorCode) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryErrorCode) Accept(visitor EventBulkRetryCreateRequestQueryErrorCodeVisitor) error
func (EventBulkRetryCreateRequestQueryErrorCode) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryErrorCode) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryErrorCode) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryErrorCode) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryErrorCodeVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryErrorCodeVisitor interface {
VisitAttemptErrorCodes(AttemptErrorCodes) error
VisitAttemptErrorCodesList([]AttemptErrorCodes) error
}
type EventBulkRetryCreateRequestQueryEventDataId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryEventDataId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewEventBulkRetryCreateRequestQueryEventDataIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryEventDataIdFromString(value string) *EventBulkRetryCreateRequestQueryEventDataId
func NewEventBulkRetryCreateRequestQueryEventDataIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryEventDataIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryEventDataId
func (*EventBulkRetryCreateRequestQueryEventDataId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryEventDataId) Accept(visitor EventBulkRetryCreateRequestQueryEventDataIdVisitor) error
func (EventBulkRetryCreateRequestQueryEventDataId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryEventDataId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryEventDataId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryEventDataId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryEventDataIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryHeaders ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryHeaders struct {
String string
EventBulkRetryCreateRequestQueryHeadersOne *EventBulkRetryCreateRequestQueryHeadersOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data headers
func NewEventBulkRetryCreateRequestQueryHeadersFromEventBulkRetryCreateRequestQueryHeadersOne ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryHeadersFromEventBulkRetryCreateRequestQueryHeadersOne(value *EventBulkRetryCreateRequestQueryHeadersOne) *EventBulkRetryCreateRequestQueryHeaders
func NewEventBulkRetryCreateRequestQueryHeadersFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryHeadersFromString(value string) *EventBulkRetryCreateRequestQueryHeaders
func (*EventBulkRetryCreateRequestQueryHeaders) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryHeaders) Accept(visitor EventBulkRetryCreateRequestQueryHeadersVisitor) error
func (EventBulkRetryCreateRequestQueryHeaders) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryHeaders) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryHeaders) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryHeaders) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryHeadersOne ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryHeadersOne struct {
}
type EventBulkRetryCreateRequestQueryHeadersVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryHeadersVisitor interface {
VisitString(string) error
VisitEventBulkRetryCreateRequestQueryHeadersOne(*EventBulkRetryCreateRequestQueryHeadersOne) error
}
type EventBulkRetryCreateRequestQueryId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryId struct {
// Event ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by event IDs
func NewEventBulkRetryCreateRequestQueryIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryIdFromString(value string) *EventBulkRetryCreateRequestQueryId
func NewEventBulkRetryCreateRequestQueryIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryId
func (*EventBulkRetryCreateRequestQueryId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryId) Accept(visitor EventBulkRetryCreateRequestQueryIdVisitor) error
func (EventBulkRetryCreateRequestQueryId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryIssueId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryIssueId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewEventBulkRetryCreateRequestQueryIssueIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryIssueIdFromString(value string) *EventBulkRetryCreateRequestQueryIssueId
func NewEventBulkRetryCreateRequestQueryIssueIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryIssueIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryIssueId
func (*EventBulkRetryCreateRequestQueryIssueId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryIssueId) Accept(visitor EventBulkRetryCreateRequestQueryIssueIdVisitor) error
func (EventBulkRetryCreateRequestQueryIssueId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryIssueId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryIssueId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryIssueId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryIssueIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryLastAttemptAt ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryLastAttemptAt struct {
DateTime time.Time
EventBulkRetryCreateRequestQueryLastAttemptAtAny *EventBulkRetryCreateRequestQueryLastAttemptAtAny
// contains filtered or unexported fields
}
Filter by `last_attempt_at` date using a date operator
func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromDateTime ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQueryLastAttemptAt
func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromEventBulkRetryCreateRequestQueryLastAttemptAtAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryLastAttemptAtFromEventBulkRetryCreateRequestQueryLastAttemptAtAny(value *EventBulkRetryCreateRequestQueryLastAttemptAtAny) *EventBulkRetryCreateRequestQueryLastAttemptAt
func (*EventBulkRetryCreateRequestQueryLastAttemptAt) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryLastAttemptAt) Accept(visitor EventBulkRetryCreateRequestQueryLastAttemptAtVisitor) error
func (EventBulkRetryCreateRequestQueryLastAttemptAt) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryLastAttemptAt) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryLastAttemptAt) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryLastAttemptAt) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryLastAttemptAtAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryLastAttemptAtVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryLastAttemptAtVisitor interface {
VisitDateTime(time.Time) error
VisitEventBulkRetryCreateRequestQueryLastAttemptAtAny(*EventBulkRetryCreateRequestQueryLastAttemptAtAny) error
}
type EventBulkRetryCreateRequestQueryParsedQuery ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryParsedQuery struct {
String string
EventBulkRetryCreateRequestQueryParsedQueryOne *EventBulkRetryCreateRequestQueryParsedQueryOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
func NewEventBulkRetryCreateRequestQueryParsedQueryFromEventBulkRetryCreateRequestQueryParsedQueryOne ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryParsedQueryFromEventBulkRetryCreateRequestQueryParsedQueryOne(value *EventBulkRetryCreateRequestQueryParsedQueryOne) *EventBulkRetryCreateRequestQueryParsedQuery
func NewEventBulkRetryCreateRequestQueryParsedQueryFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryParsedQueryFromString(value string) *EventBulkRetryCreateRequestQueryParsedQuery
func (*EventBulkRetryCreateRequestQueryParsedQuery) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryParsedQuery) Accept(visitor EventBulkRetryCreateRequestQueryParsedQueryVisitor) error
func (EventBulkRetryCreateRequestQueryParsedQuery) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryParsedQueryOne ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryParsedQueryOne struct {
}
type EventBulkRetryCreateRequestQueryParsedQueryVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryParsedQueryVisitor interface {
VisitString(string) error
VisitEventBulkRetryCreateRequestQueryParsedQueryOne(*EventBulkRetryCreateRequestQueryParsedQueryOne) error
}
type EventBulkRetryCreateRequestQueryResponseStatus ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryResponseStatus struct {
Integer int
EventBulkRetryCreateRequestQueryResponseStatusAny *EventBulkRetryCreateRequestQueryResponseStatusAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by HTTP response status code
func NewEventBulkRetryCreateRequestQueryResponseStatusFromEventBulkRetryCreateRequestQueryResponseStatusAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryResponseStatusFromEventBulkRetryCreateRequestQueryResponseStatusAny(value *EventBulkRetryCreateRequestQueryResponseStatusAny) *EventBulkRetryCreateRequestQueryResponseStatus
func NewEventBulkRetryCreateRequestQueryResponseStatusFromInteger ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryResponseStatusFromInteger(value int) *EventBulkRetryCreateRequestQueryResponseStatus
func NewEventBulkRetryCreateRequestQueryResponseStatusFromIntegerList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryResponseStatusFromIntegerList(value []int) *EventBulkRetryCreateRequestQueryResponseStatus
func (*EventBulkRetryCreateRequestQueryResponseStatus) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryResponseStatus) Accept(visitor EventBulkRetryCreateRequestQueryResponseStatusVisitor) error
func (EventBulkRetryCreateRequestQueryResponseStatus) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryResponseStatus) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryResponseStatus) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryResponseStatus) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryResponseStatusAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryResponseStatusVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuerySourceId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuerySourceId 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 NewEventBulkRetryCreateRequestQuerySourceIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQuerySourceIdFromString(value string) *EventBulkRetryCreateRequestQuerySourceId
func NewEventBulkRetryCreateRequestQuerySourceIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQuerySourceIdFromStringList(value []string) *EventBulkRetryCreateRequestQuerySourceId
func (*EventBulkRetryCreateRequestQuerySourceId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQuerySourceId) Accept(visitor EventBulkRetryCreateRequestQuerySourceIdVisitor) error
func (EventBulkRetryCreateRequestQuerySourceId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQuerySourceId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQuerySourceId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQuerySourceId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQuerySourceIdVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryStatus ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryStatus struct {
EventStatus EventStatus
EventStatusList []EventStatus
// contains filtered or unexported fields
}
Lifecyle status of the event
func NewEventBulkRetryCreateRequestQueryStatusFromEventStatus ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryStatusFromEventStatus(value EventStatus) *EventBulkRetryCreateRequestQueryStatus
func NewEventBulkRetryCreateRequestQueryStatusFromEventStatusList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryStatusFromEventStatusList(value []EventStatus) *EventBulkRetryCreateRequestQueryStatus
func (*EventBulkRetryCreateRequestQueryStatus) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryStatus) Accept(visitor EventBulkRetryCreateRequestQueryStatusVisitor) error
func (EventBulkRetryCreateRequestQueryStatus) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryStatus) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryStatus) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryStatus) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryStatusVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryStatusVisitor interface {
VisitEventStatus(EventStatus) error
VisitEventStatusList([]EventStatus) error
}
type EventBulkRetryCreateRequestQuerySuccessfulAt ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuerySuccessfulAt struct {
DateTime time.Time
EventBulkRetryCreateRequestQuerySuccessfulAtAny *EventBulkRetryCreateRequestQuerySuccessfulAtAny
// contains filtered or unexported fields
}
Filter by `successful_at` date using a date operator
func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromDateTime ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromDateTime(value time.Time) *EventBulkRetryCreateRequestQuerySuccessfulAt
func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromEventBulkRetryCreateRequestQuerySuccessfulAtAny ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQuerySuccessfulAtFromEventBulkRetryCreateRequestQuerySuccessfulAtAny(value *EventBulkRetryCreateRequestQuerySuccessfulAtAny) *EventBulkRetryCreateRequestQuerySuccessfulAt
func (*EventBulkRetryCreateRequestQuerySuccessfulAt) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQuerySuccessfulAt) Accept(visitor EventBulkRetryCreateRequestQuerySuccessfulAtVisitor) error
func (EventBulkRetryCreateRequestQuerySuccessfulAt) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQuerySuccessfulAt) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQuerySuccessfulAt) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQuerySuccessfulAt) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQuerySuccessfulAtAny ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuerySuccessfulAtVisitor ¶ added in v0.0.29
type EventBulkRetryCreateRequestQuerySuccessfulAtVisitor interface {
VisitDateTime(time.Time) error
VisitEventBulkRetryCreateRequestQuerySuccessfulAtAny(*EventBulkRetryCreateRequestQuerySuccessfulAtAny) error
}
type EventBulkRetryCreateRequestQueryWebhookId ¶ added in v0.0.29
type EventBulkRetryCreateRequestQueryWebhookId struct {
// Webhook ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by webhook connection IDs
func NewEventBulkRetryCreateRequestQueryWebhookIdFromString ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryWebhookIdFromString(value string) *EventBulkRetryCreateRequestQueryWebhookId
func NewEventBulkRetryCreateRequestQueryWebhookIdFromStringList ¶ added in v0.0.29
func NewEventBulkRetryCreateRequestQueryWebhookIdFromStringList(value []string) *EventBulkRetryCreateRequestQueryWebhookId
func (*EventBulkRetryCreateRequestQueryWebhookId) Accept ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryWebhookId) Accept(visitor EventBulkRetryCreateRequestQueryWebhookIdVisitor) error
func (EventBulkRetryCreateRequestQueryWebhookId) MarshalJSON ¶ added in v0.0.29
func (e EventBulkRetryCreateRequestQueryWebhookId) MarshalJSON() ([]byte, error)
func (*EventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON ¶ added in v0.0.29
func (e *EventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON(data []byte) error
type EventBulkRetryCreateRequestQueryWebhookIdVisitor ¶ added in v0.0.29
type EventBulkRetryListRequest ¶ added in v0.0.29
type EventBulkRetryListRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
QueryPartialMatch *bool `json:"-"`
InProgress *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *EventBulkRetryListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type EventBulkRetryListRequestDir ¶ added in v0.0.29
type EventBulkRetryListRequestDir string
const ( EventBulkRetryListRequestDirAsc EventBulkRetryListRequestDir = "asc" EventBulkRetryListRequestDirDesc EventBulkRetryListRequestDir = "desc" )
func NewEventBulkRetryListRequestDirFromString ¶ added in v0.0.29
func NewEventBulkRetryListRequestDirFromString(s string) (EventBulkRetryListRequestDir, error)
func (EventBulkRetryListRequestDir) Ptr ¶ added in v0.0.29
func (e EventBulkRetryListRequestDir) Ptr() *EventBulkRetryListRequestDir
type EventBulkRetryPlanResponse ¶ added in v0.0.29
type EventBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type EventListRequest ¶ added in v0.0.29
type EventListRequest struct {
Id *string `json:"-"`
Status *EventStatus `json:"-"`
WebhookId *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Attempts *int `json:"-"`
ResponseStatus *int `json:"-"`
SuccessfulAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
ErrorCode *AttemptErrorCodes `json:"-"`
CliId *string `json:"-"`
LastAttemptAt *time.Time `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
CliUserId *string `json:"-"`
IssueId *string `json:"-"`
EventDataId *string `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *EventListRequestOrderBy `json:"-"`
Dir *EventListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type EventListRequestDir ¶ added in v0.0.29
type EventListRequestDir string
Sort direction
const ( EventListRequestDirAsc EventListRequestDir = "asc" EventListRequestDirDesc EventListRequestDir = "desc" )
func NewEventListRequestDirFromString ¶ added in v0.0.29
func NewEventListRequestDirFromString(s string) (EventListRequestDir, error)
func (EventListRequestDir) Ptr ¶ added in v0.0.29
func (e EventListRequestDir) Ptr() *EventListRequestDir
type EventListRequestOrderBy ¶ added in v0.0.29
type EventListRequestOrderBy string
Sort key
const ( EventListRequestOrderByLastAttemptAt EventListRequestOrderBy = "last_attempt_at" EventListRequestOrderByCreatedAt EventListRequestOrderBy = "created_at" )
func NewEventListRequestOrderByFromString ¶ added in v0.0.29
func NewEventListRequestOrderByFromString(s string) (EventListRequestOrderBy, error)
func (EventListRequestOrderBy) Ptr ¶ added in v0.0.29
func (e EventListRequestOrderBy) Ptr() *EventListRequestOrderBy
type EventPaginatedResult ¶
type EventPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Event `json:"models,omitempty"`
}
type EventStatus ¶
type EventStatus string
const ( EventStatusScheduled EventStatus = "SCHEDULED" EventStatusQueued EventStatus = "QUEUED" EventStatusHold EventStatus = "HOLD" EventStatusSuccessful EventStatus = "SUCCESSFUL" EventStatusFailed EventStatus = "FAILED" )
func NewEventStatusFromString ¶ added in v0.0.27
func NewEventStatusFromString(s string) (EventStatus, error)
func (EventStatus) Ptr ¶ added in v0.0.27
func (e EventStatus) Ptr() *EventStatus
type FilterRule ¶
type FilterRule struct {
Headers *FilterRuleProperty `json:"headers,omitempty"`
Body *FilterRuleProperty `json:"body,omitempty"`
Query *FilterRuleProperty `json:"query,omitempty"`
Path *FilterRuleProperty `json:"path,omitempty"`
// contains filtered or unexported fields
}
func (*FilterRule) MarshalJSON ¶
func (f *FilterRule) MarshalJSON() ([]byte, error)
func (*FilterRule) Type ¶
func (f *FilterRule) Type() string
func (*FilterRule) UnmarshalJSON ¶
func (f *FilterRule) UnmarshalJSON(data []byte) error
type FilterRuleProperty ¶ added in v0.0.29
type FilterRuleProperty struct {
StringOptional *string
DoubleOptional *float64
BooleanOptional *bool
StringUnknownMapOptional map[string]interface{}
// contains filtered or unexported fields
}
JSON using our filter syntax to filter on request headers
func NewFilterRulePropertyFromBooleanOptional ¶ added in v0.0.29
func NewFilterRulePropertyFromBooleanOptional(value *bool) *FilterRuleProperty
func NewFilterRulePropertyFromDoubleOptional ¶ added in v0.0.29
func NewFilterRulePropertyFromDoubleOptional(value *float64) *FilterRuleProperty
func NewFilterRulePropertyFromStringOptional ¶ added in v0.0.29
func NewFilterRulePropertyFromStringOptional(value *string) *FilterRuleProperty
func NewFilterRulePropertyFromStringUnknownMapOptional ¶ added in v0.0.29
func NewFilterRulePropertyFromStringUnknownMapOptional(value map[string]interface{}) *FilterRuleProperty
func (*FilterRuleProperty) Accept ¶ added in v0.0.29
func (f *FilterRuleProperty) Accept(visitor FilterRulePropertyVisitor) error
func (FilterRuleProperty) MarshalJSON ¶ added in v0.0.29
func (f FilterRuleProperty) MarshalJSON() ([]byte, error)
func (*FilterRuleProperty) UnmarshalJSON ¶ added in v0.0.29
func (f *FilterRuleProperty) UnmarshalJSON(data []byte) error
type FilterRulePropertyVisitor ¶ added in v0.0.29
type FilteredMeta ¶
type FilteredMeta string
const ( FilteredMetaBody FilteredMeta = "body" FilteredMetaHeaders FilteredMeta = "headers" FilteredMetaPath FilteredMeta = "path" FilteredMetaQuery FilteredMeta = "query" )
func NewFilteredMetaFromString ¶ added in v0.0.27
func NewFilteredMetaFromString(s string) (FilteredMeta, error)
func (FilteredMeta) Ptr ¶ added in v0.0.27
func (f FilteredMeta) Ptr() *FilteredMeta
type HandledApiKeyIntegrationConfigs ¶
type HandledApiKeyIntegrationConfigs struct {
ApiKey string `json:"api_key"`
}
type HandledHmacConfigs ¶
type HandledHmacConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
type HmacAlgorithms ¶
type HmacAlgorithms string
const ( HmacAlgorithmsMd5 HmacAlgorithms = "md5" HmacAlgorithmsSha1 HmacAlgorithms = "sha1" HmacAlgorithmsSha256 HmacAlgorithms = "sha256" HmacAlgorithmsSha512 HmacAlgorithms = "sha512" )
func NewHmacAlgorithmsFromString ¶ added in v0.0.27
func NewHmacAlgorithmsFromString(s string) (HmacAlgorithms, error)
func (HmacAlgorithms) Ptr ¶ added in v0.0.27
func (h HmacAlgorithms) Ptr() *HmacAlgorithms
type HmacIntegrationConfigs ¶
type HmacIntegrationConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding HmacIntegrationConfigsEncoding `json:"encoding,omitempty"`
}
type HmacIntegrationConfigsEncoding ¶
type HmacIntegrationConfigsEncoding string
const ( HmacIntegrationConfigsEncodingBase64 HmacIntegrationConfigsEncoding = "base64" HmacIntegrationConfigsEncodingHex HmacIntegrationConfigsEncoding = "hex" )
func NewHmacIntegrationConfigsEncodingFromString ¶ added in v0.0.27
func NewHmacIntegrationConfigsEncodingFromString(s string) (HmacIntegrationConfigsEncoding, error)
func (HmacIntegrationConfigsEncoding) Ptr ¶ added in v0.0.27
func (h HmacIntegrationConfigsEncoding) Ptr() *HmacIntegrationConfigsEncoding
type IgnoredEvent ¶
type IgnoredEvent struct {
Id string `json:"id"`
TeamId string `json:"team_id"`
WebhookId string `json:"webhook_id"`
Cause IgnoredEventCause `json:"cause,omitempty"`
RequestId string `json:"request_id"`
Meta *IgnoredEventMeta `json:"meta,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
CreatedAt time.Time `json:"created_at"`
}
type IgnoredEventBulkRetryCreateRequest ¶ added in v0.0.29
type IgnoredEventBulkRetryCreateRequest struct {
// Filter by the bulk retry ignored event query object
Query *core.Optional[IgnoredEventBulkRetryCreateRequestQuery] `json:"query,omitempty"`
}
type IgnoredEventBulkRetryCreateRequestQuery ¶ added in v0.0.29
type IgnoredEventBulkRetryCreateRequestQuery struct {
// The cause of the ignored event
Cause *IgnoredEventBulkRetryCreateRequestQueryCause `json:"cause,omitempty"`
// Connection ID of the ignored event
WebhookId *IgnoredEventBulkRetryCreateRequestQueryWebhookId `json:"webhook_id,omitempty"`
// The associated transformation ID (only applicable to the cause `TRANSFORMATION_FAILED`) <span style="white-space: nowrap">`<= 255 characters`</span>
TransformationId *string `json:"transformation_id,omitempty"`
}
Filter by the bulk retry ignored event query object
type IgnoredEventBulkRetryCreateRequestQueryCause ¶ added in v0.0.29
type IgnoredEventBulkRetryCreateRequestQueryCause struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
The cause of the ignored event
func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromString ¶ added in v0.0.29
func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromString(value string) *IgnoredEventBulkRetryCreateRequestQueryCause
func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromStringList ¶ added in v0.0.29
func NewIgnoredEventBulkRetryCreateRequestQueryCauseFromStringList(value []string) *IgnoredEventBulkRetryCreateRequestQueryCause
func (*IgnoredEventBulkRetryCreateRequestQueryCause) Accept ¶ added in v0.0.29
func (i *IgnoredEventBulkRetryCreateRequestQueryCause) Accept(visitor IgnoredEventBulkRetryCreateRequestQueryCauseVisitor) error
func (IgnoredEventBulkRetryCreateRequestQueryCause) MarshalJSON ¶ added in v0.0.29
func (i IgnoredEventBulkRetryCreateRequestQueryCause) MarshalJSON() ([]byte, error)
func (*IgnoredEventBulkRetryCreateRequestQueryCause) UnmarshalJSON ¶ added in v0.0.29
func (i *IgnoredEventBulkRetryCreateRequestQueryCause) UnmarshalJSON(data []byte) error
type IgnoredEventBulkRetryCreateRequestQueryCauseVisitor ¶ added in v0.0.29
type IgnoredEventBulkRetryCreateRequestQueryWebhookId ¶ added in v0.0.29
type IgnoredEventBulkRetryCreateRequestQueryWebhookId 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 NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromString ¶ added in v0.0.29
func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromString(value string) *IgnoredEventBulkRetryCreateRequestQueryWebhookId
func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromStringList ¶ added in v0.0.29
func NewIgnoredEventBulkRetryCreateRequestQueryWebhookIdFromStringList(value []string) *IgnoredEventBulkRetryCreateRequestQueryWebhookId
func (*IgnoredEventBulkRetryCreateRequestQueryWebhookId) Accept ¶ added in v0.0.29
func (i *IgnoredEventBulkRetryCreateRequestQueryWebhookId) Accept(visitor IgnoredEventBulkRetryCreateRequestQueryWebhookIdVisitor) error
func (IgnoredEventBulkRetryCreateRequestQueryWebhookId) MarshalJSON ¶ added in v0.0.29
func (i IgnoredEventBulkRetryCreateRequestQueryWebhookId) MarshalJSON() ([]byte, error)
func (*IgnoredEventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON ¶ added in v0.0.29
func (i *IgnoredEventBulkRetryCreateRequestQueryWebhookId) UnmarshalJSON(data []byte) error
type IgnoredEventBulkRetryCreateRequestQueryWebhookIdVisitor ¶ added in v0.0.29
type IgnoredEventBulkRetryListRequest ¶ added in v0.0.29
type IgnoredEventBulkRetryListRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
QueryPartialMatch *bool `json:"-"`
InProgress *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *IgnoredEventBulkRetryListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type IgnoredEventBulkRetryListRequestDir ¶ added in v0.0.29
type IgnoredEventBulkRetryListRequestDir string
const ( IgnoredEventBulkRetryListRequestDirAsc IgnoredEventBulkRetryListRequestDir = "asc" IgnoredEventBulkRetryListRequestDirDesc IgnoredEventBulkRetryListRequestDir = "desc" )
func NewIgnoredEventBulkRetryListRequestDirFromString ¶ added in v0.0.29
func NewIgnoredEventBulkRetryListRequestDirFromString(s string) (IgnoredEventBulkRetryListRequestDir, error)
type IgnoredEventBulkRetryPlanResponse ¶ added in v0.0.29
type IgnoredEventBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type IgnoredEventCause ¶
type IgnoredEventCause string
const ( IgnoredEventCauseArchived IgnoredEventCause = "ARCHIVED" IgnoredEventCauseFiltered IgnoredEventCause = "FILTERED" IgnoredEventCauseTransformationFailed IgnoredEventCause = "TRANSFORMATION_FAILED" IgnoredEventCauseCliDisconnected IgnoredEventCause = "CLI_DISCONNECTED" )
func NewIgnoredEventCauseFromString ¶ added in v0.0.27
func NewIgnoredEventCauseFromString(s string) (IgnoredEventCause, error)
func (IgnoredEventCause) Ptr ¶ added in v0.0.27
func (i IgnoredEventCause) Ptr() *IgnoredEventCause
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 string
const ( IntegrationFeatureVerification IntegrationFeature = "VERIFICATION" IntegrationFeatureHandshake IntegrationFeature = "HANDSHAKE" IntegrationFeaturePolling IntegrationFeature = "POLLING" )
func NewIntegrationFeatureFromString ¶ added in v0.0.27
func NewIntegrationFeatureFromString(s string) (IntegrationFeature, error)
func (IntegrationFeature) Ptr ¶ added in v0.0.27
func (i IntegrationFeature) Ptr() *IntegrationFeature
type IntegrationPaginatedResult ¶
type IntegrationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Integration `json:"models,omitempty"`
}
type IntegrationProvider ¶
type IntegrationProvider string
const ( IntegrationProviderHmac IntegrationProvider = "hmac" IntegrationProviderBasicAuth IntegrationProvider = "basic_auth" IntegrationProviderApiKey IntegrationProvider = "api_key" IntegrationProviderTwitter IntegrationProvider = "twitter" IntegrationProviderStripe IntegrationProvider = "stripe" IntegrationProviderRecharge IntegrationProvider = "recharge" IntegrationProviderGithub IntegrationProvider = "github" IntegrationProviderShopify IntegrationProvider = "shopify" IntegrationProviderPostmark IntegrationProvider = "postmark" IntegrationProviderTypeform IntegrationProvider = "typeform" IntegrationProviderXero IntegrationProvider = "xero" IntegrationProviderSvix IntegrationProvider = "svix" IntegrationProviderZoom IntegrationProvider = "zoom" IntegrationProviderAkeneo IntegrationProvider = "akeneo" IntegrationProviderAdyen IntegrationProvider = "adyen" IntegrationProviderGitlab IntegrationProvider = "gitlab" IntegrationProviderPropertyFinder IntegrationProvider = "property-finder" IntegrationProviderWoocommerce IntegrationProvider = "woocommerce" IntegrationProviderOura IntegrationProvider = "oura" IntegrationProviderCommercelayer IntegrationProvider = "commercelayer" IntegrationProviderMailgun IntegrationProvider = "mailgun" IntegrationProviderPipedrive IntegrationProvider = "pipedrive" IntegrationProviderSendgrid IntegrationProvider = "sendgrid" IntegrationProviderWorkos IntegrationProvider = "workos" IntegrationProviderSynctera IntegrationProvider = "synctera" IntegrationProviderAwsSns IntegrationProvider = "aws_sns" IntegrationProviderThreeDEye IntegrationProvider = "three_d_eye" )
func NewIntegrationProviderFromString ¶ added in v0.0.27
func NewIntegrationProviderFromString(s string) (IntegrationProvider, error)
func (IntegrationProvider) Ptr ¶ added in v0.0.27
func (i IntegrationProvider) Ptr() *IntegrationProvider
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 IssueCountRequest ¶ added in v0.0.29
type IssueCountRequest struct {
Id *string `json:"-"`
IssueTriggerId *string `json:"-"`
Type *IssueCountRequestType `json:"-"`
Status *IssueCountRequestStatus `json:"-"`
MergedWith *string `json:"-"`
CreatedAt *time.Time `json:"-"`
FirstSeenAt *time.Time `json:"-"`
LastSeenAt *time.Time `json:"-"`
DismissedAt *time.Time `json:"-"`
OrderBy *IssueCountRequestOrderBy `json:"-"`
Dir *IssueCountRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type IssueCountRequestDir ¶ added in v0.0.29
type IssueCountRequestDir string
const ( IssueCountRequestDirAsc IssueCountRequestDir = "asc" IssueCountRequestDirDesc IssueCountRequestDir = "desc" )
func NewIssueCountRequestDirFromString ¶ added in v0.0.29
func NewIssueCountRequestDirFromString(s string) (IssueCountRequestDir, error)
func (IssueCountRequestDir) Ptr ¶ added in v0.0.29
func (i IssueCountRequestDir) Ptr() *IssueCountRequestDir
type IssueCountRequestOrderBy ¶ added in v0.0.29
type IssueCountRequestOrderBy string
const ( IssueCountRequestOrderByCreatedAt IssueCountRequestOrderBy = "created_at" IssueCountRequestOrderByFirstSeenAt IssueCountRequestOrderBy = "first_seen_at" IssueCountRequestOrderByLastSeenAt IssueCountRequestOrderBy = "last_seen_at" IssueCountRequestOrderByOpenedAt IssueCountRequestOrderBy = "opened_at" IssueCountRequestOrderByStatus IssueCountRequestOrderBy = "status" )
func NewIssueCountRequestOrderByFromString ¶ added in v0.0.29
func NewIssueCountRequestOrderByFromString(s string) (IssueCountRequestOrderBy, error)
func (IssueCountRequestOrderBy) Ptr ¶ added in v0.0.29
func (i IssueCountRequestOrderBy) Ptr() *IssueCountRequestOrderBy
type IssueCountRequestStatus ¶ added in v0.0.29
type IssueCountRequestStatus string
Issue status
const ( IssueCountRequestStatusOpened IssueCountRequestStatus = "OPENED" IssueCountRequestStatusIgnored IssueCountRequestStatus = "IGNORED" IssueCountRequestStatusAcknowledged IssueCountRequestStatus = "ACKNOWLEDGED" IssueCountRequestStatusResolved IssueCountRequestStatus = "RESOLVED" )
func NewIssueCountRequestStatusFromString ¶ added in v0.0.29
func NewIssueCountRequestStatusFromString(s string) (IssueCountRequestStatus, error)
func (IssueCountRequestStatus) Ptr ¶ added in v0.0.29
func (i IssueCountRequestStatus) Ptr() *IssueCountRequestStatus
type IssueCountRequestType ¶ added in v0.0.29
type IssueCountRequestType string
Issue type
const ( IssueCountRequestTypeDelivery IssueCountRequestType = "delivery" IssueCountRequestTypeTransformation IssueCountRequestType = "transformation" IssueCountRequestTypeBackpressure IssueCountRequestType = "backpressure" )
func NewIssueCountRequestTypeFromString ¶ added in v0.0.29
func NewIssueCountRequestTypeFromString(s string) (IssueCountRequestType, error)
func (IssueCountRequestType) Ptr ¶ added in v0.0.29
func (i IssueCountRequestType) Ptr() *IssueCountRequestType
type IssueListRequest ¶ added in v0.0.29
type IssueListRequest struct {
Id *string `json:"-"`
IssueTriggerId *string `json:"-"`
Type *IssueListRequestType `json:"-"`
Status *IssueListRequestStatus `json:"-"`
MergedWith *string `json:"-"`
CreatedAt *time.Time `json:"-"`
FirstSeenAt *time.Time `json:"-"`
LastSeenAt *time.Time `json:"-"`
DismissedAt *time.Time `json:"-"`
OrderBy *IssueListRequestOrderBy `json:"-"`
Dir *IssueListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type IssueListRequestDir ¶ added in v0.0.29
type IssueListRequestDir string
const ( IssueListRequestDirAsc IssueListRequestDir = "asc" IssueListRequestDirDesc IssueListRequestDir = "desc" )
func NewIssueListRequestDirFromString ¶ added in v0.0.29
func NewIssueListRequestDirFromString(s string) (IssueListRequestDir, error)
func (IssueListRequestDir) Ptr ¶ added in v0.0.29
func (i IssueListRequestDir) Ptr() *IssueListRequestDir
type IssueListRequestOrderBy ¶ added in v0.0.29
type IssueListRequestOrderBy string
const ( IssueListRequestOrderByCreatedAt IssueListRequestOrderBy = "created_at" IssueListRequestOrderByFirstSeenAt IssueListRequestOrderBy = "first_seen_at" IssueListRequestOrderByLastSeenAt IssueListRequestOrderBy = "last_seen_at" IssueListRequestOrderByOpenedAt IssueListRequestOrderBy = "opened_at" IssueListRequestOrderByStatus IssueListRequestOrderBy = "status" )
func NewIssueListRequestOrderByFromString ¶ added in v0.0.29
func NewIssueListRequestOrderByFromString(s string) (IssueListRequestOrderBy, error)
func (IssueListRequestOrderBy) Ptr ¶ added in v0.0.29
func (i IssueListRequestOrderBy) Ptr() *IssueListRequestOrderBy
type IssueListRequestStatus ¶ added in v0.0.29
type IssueListRequestStatus string
Issue status
const ( IssueListRequestStatusOpened IssueListRequestStatus = "OPENED" IssueListRequestStatusIgnored IssueListRequestStatus = "IGNORED" IssueListRequestStatusAcknowledged IssueListRequestStatus = "ACKNOWLEDGED" IssueListRequestStatusResolved IssueListRequestStatus = "RESOLVED" )
func NewIssueListRequestStatusFromString ¶ added in v0.0.29
func NewIssueListRequestStatusFromString(s string) (IssueListRequestStatus, error)
func (IssueListRequestStatus) Ptr ¶ added in v0.0.29
func (i IssueListRequestStatus) Ptr() *IssueListRequestStatus
type IssueListRequestType ¶ added in v0.0.29
type IssueListRequestType string
Issue type
const ( IssueListRequestTypeDelivery IssueListRequestType = "delivery" IssueListRequestTypeTransformation IssueListRequestType = "transformation" IssueListRequestTypeBackpressure IssueListRequestType = "backpressure" )
func NewIssueListRequestTypeFromString ¶ added in v0.0.29
func NewIssueListRequestTypeFromString(s string) (IssueListRequestType, error)
func (IssueListRequestType) Ptr ¶ added in v0.0.29
func (i IssueListRequestType) Ptr() *IssueListRequestType
type IssueStatus ¶
type IssueStatus string
Issue status
const ( IssueStatusOpened IssueStatus = "OPENED" IssueStatusIgnored IssueStatus = "IGNORED" IssueStatusAcknowledged IssueStatus = "ACKNOWLEDGED" IssueStatusResolved IssueStatus = "RESOLVED" )
func NewIssueStatusFromString ¶ added in v0.0.27
func NewIssueStatusFromString(s string) (IssueStatus, error)
func (IssueStatus) Ptr ¶ added in v0.0.27
func (i IssueStatus) Ptr() *IssueStatus
type IssueTrigger ¶
type IssueTrigger struct {
// ID of the issue trigger
Id string `json:"id"`
// ID of the workspace
TeamId *string `json:"team_id,omitempty"`
// Optional unique name to use as reference when using the API
Name *string `json:"name,omitempty"`
Type IssueType `json:"type,omitempty"`
Configs *IssueTriggerReference `json:"configs,omitempty"`
Channels *IssueTriggerChannels `json:"channels,omitempty"`
// ISO timestamp for when the issue trigger was disabled
DisabledAt *time.Time `json:"disabled_at,omitempty"`
// ISO timestamp for when the issue trigger was last updated
UpdatedAt time.Time `json:"updated_at"`
// ISO timestamp for when the issue trigger was created
CreatedAt time.Time `json:"created_at"`
// ISO timestamp for when the issue trigger was deleted
DeletedAt *time.Time `json:"deleted_at,omitempty"`
}
type IssueTriggerBackpressureConfigs ¶
type IssueTriggerBackpressureConfigs struct {
Delay IssueTriggerBackpressureDelay `json:"delay"`
// A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.
Destinations *IssueTriggerBackpressureConfigsDestinations `json:"destinations,omitempty"`
}
Configurations for a 'Backpressure' issue trigger
type IssueTriggerBackpressureConfigsDestinations ¶
type IssueTriggerBackpressureConfigsDestinations struct {
String string
StringList []string
// contains filtered or unexported fields
}
A pattern to match on the destination name or array of destination IDs. Use `*` as wildcard.
func NewIssueTriggerBackpressureConfigsDestinationsFromString ¶
func NewIssueTriggerBackpressureConfigsDestinationsFromString(value string) *IssueTriggerBackpressureConfigsDestinations
func NewIssueTriggerBackpressureConfigsDestinationsFromStringList ¶
func NewIssueTriggerBackpressureConfigsDestinationsFromStringList(value []string) *IssueTriggerBackpressureConfigsDestinations
func (*IssueTriggerBackpressureConfigsDestinations) Accept ¶
func (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 IssueTriggerCreateRequest ¶ added in v0.0.29
type IssueTriggerCreateRequest struct {
Type IssueType `json:"type,omitempty"`
// Configuration object for the specific issue type selected
Configs *core.Optional[IssueTriggerCreateRequestConfigs] `json:"configs,omitempty"`
Channels *core.Optional[IssueTriggerChannels] `json:"channels,omitempty"`
// Optional unique name to use as reference when using the API
Name *core.Optional[string] `json:"name,omitempty"`
}
type IssueTriggerCreateRequestConfigs ¶ added in v0.0.29
type IssueTriggerCreateRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerBackpressureConfigs ¶ added in v0.0.29
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerCreateRequestConfigs
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerDeliveryConfigs ¶ added in v0.0.29
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerCreateRequestConfigs
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerTransformationConfigs ¶ added in v0.0.29
func NewIssueTriggerCreateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerCreateRequestConfigs
func (*IssueTriggerCreateRequestConfigs) Accept ¶ added in v0.0.29
func (i *IssueTriggerCreateRequestConfigs) Accept(visitor IssueTriggerCreateRequestConfigsVisitor) error
func (IssueTriggerCreateRequestConfigs) MarshalJSON ¶ added in v0.0.29
func (i IssueTriggerCreateRequestConfigs) MarshalJSON() ([]byte, error)
func (*IssueTriggerCreateRequestConfigs) UnmarshalJSON ¶ added in v0.0.29
func (i *IssueTriggerCreateRequestConfigs) UnmarshalJSON(data []byte) error
type IssueTriggerCreateRequestConfigsVisitor ¶ added in v0.0.29
type IssueTriggerCreateRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type IssueTriggerDeliveryConfigs ¶
type IssueTriggerDeliveryConfigs struct {
Strategy IssueTriggerStrategy `json:"strategy,omitempty"`
// A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.
Connections *IssueTriggerDeliveryConfigsConnections `json:"connections,omitempty"`
}
Configurations for a 'delivery' issue trigger
type IssueTriggerDeliveryConfigsConnections ¶
type IssueTriggerDeliveryConfigsConnections struct {
String string
StringList []string
// contains filtered or unexported fields
}
A pattern to match on the connection name or array of connection IDs. Use `*` as wildcard.
func NewIssueTriggerDeliveryConfigsConnectionsFromString ¶
func NewIssueTriggerDeliveryConfigsConnectionsFromString(value string) *IssueTriggerDeliveryConfigsConnections
func NewIssueTriggerDeliveryConfigsConnectionsFromStringList ¶
func NewIssueTriggerDeliveryConfigsConnectionsFromStringList(value []string) *IssueTriggerDeliveryConfigsConnections
func (*IssueTriggerDeliveryConfigsConnections) Accept ¶
func (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 IssueTriggerListRequest ¶ added in v0.0.29
type IssueTriggerListRequest struct {
Name *string `json:"-"`
Type *IssueType `json:"-"`
DisabledAt *time.Time `json:"-"`
OrderBy *IssueTriggerListRequestOrderBy `json:"-"`
Dir *IssueTriggerListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type IssueTriggerListRequestDir ¶ added in v0.0.29
type IssueTriggerListRequestDir string
const ( IssueTriggerListRequestDirAsc IssueTriggerListRequestDir = "asc" IssueTriggerListRequestDirDesc IssueTriggerListRequestDir = "desc" )
func NewIssueTriggerListRequestDirFromString ¶ added in v0.0.29
func NewIssueTriggerListRequestDirFromString(s string) (IssueTriggerListRequestDir, error)
func (IssueTriggerListRequestDir) Ptr ¶ added in v0.0.29
func (i IssueTriggerListRequestDir) Ptr() *IssueTriggerListRequestDir
type IssueTriggerListRequestOrderBy ¶ added in v0.0.29
type IssueTriggerListRequestOrderBy string
const ( IssueTriggerListRequestOrderByCreatedAt IssueTriggerListRequestOrderBy = "created_at" IssueTriggerListRequestOrderByType IssueTriggerListRequestOrderBy = "type" )
func NewIssueTriggerListRequestOrderByFromString ¶ added in v0.0.29
func NewIssueTriggerListRequestOrderByFromString(s string) (IssueTriggerListRequestOrderBy, error)
func (IssueTriggerListRequestOrderBy) Ptr ¶ added in v0.0.29
func (i IssueTriggerListRequestOrderBy) Ptr() *IssueTriggerListRequestOrderBy
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 string
The strategy uses to open the issue
const ( IssueTriggerStrategyFirstAttempt IssueTriggerStrategy = "first_attempt" IssueTriggerStrategyFinalAttempt IssueTriggerStrategy = "final_attempt" )
func NewIssueTriggerStrategyFromString ¶ added in v0.0.27
func NewIssueTriggerStrategyFromString(s string) (IssueTriggerStrategy, error)
func (IssueTriggerStrategy) Ptr ¶ added in v0.0.27
func (i IssueTriggerStrategy) Ptr() *IssueTriggerStrategy
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 IssueTriggerUpdateRequest ¶ added in v0.0.29
type IssueTriggerUpdateRequest struct {
// Configuration object for the specific issue type selected
Configs *core.Optional[IssueTriggerUpdateRequestConfigs] `json:"configs,omitempty"`
Channels *core.Optional[IssueTriggerChannels] `json:"channels,omitempty"`
// Date when the issue trigger was disabled
DisabledAt *core.Optional[time.Time] `json:"disabled_at,omitempty"`
// Optional unique name to use as reference when using the API
Name *core.Optional[string] `json:"name,omitempty"`
}
type IssueTriggerUpdateRequestConfigs ¶ added in v0.0.29
type IssueTriggerUpdateRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerBackpressureConfigs ¶ added in v0.0.29
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpdateRequestConfigs
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerDeliveryConfigs ¶ added in v0.0.29
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpdateRequestConfigs
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerTransformationConfigs ¶ added in v0.0.29
func NewIssueTriggerUpdateRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpdateRequestConfigs
func (*IssueTriggerUpdateRequestConfigs) Accept ¶ added in v0.0.29
func (i *IssueTriggerUpdateRequestConfigs) Accept(visitor IssueTriggerUpdateRequestConfigsVisitor) error
func (IssueTriggerUpdateRequestConfigs) MarshalJSON ¶ added in v0.0.29
func (i IssueTriggerUpdateRequestConfigs) MarshalJSON() ([]byte, error)
func (*IssueTriggerUpdateRequestConfigs) UnmarshalJSON ¶ added in v0.0.29
func (i *IssueTriggerUpdateRequestConfigs) UnmarshalJSON(data []byte) error
type IssueTriggerUpdateRequestConfigsVisitor ¶ added in v0.0.29
type IssueTriggerUpdateRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type IssueTriggerUpsertRequest ¶ added in v0.0.29
type IssueTriggerUpsertRequest struct {
Type IssueType `json:"type,omitempty"`
// Configuration object for the specific issue type selected
Configs *core.Optional[IssueTriggerUpsertRequestConfigs] `json:"configs,omitempty"`
Channels *core.Optional[IssueTriggerChannels] `json:"channels,omitempty"`
// Required unique name to use as reference when using the API <span style="white-space: nowrap">`<= 255 characters`</span>
Name string `json:"name"`
}
type IssueTriggerUpsertRequestConfigs ¶ added in v0.0.29
type IssueTriggerUpsertRequestConfigs struct {
IssueTriggerDeliveryConfigs *IssueTriggerDeliveryConfigs
IssueTriggerTransformationConfigs *IssueTriggerTransformationConfigs
IssueTriggerBackpressureConfigs *IssueTriggerBackpressureConfigs
// contains filtered or unexported fields
}
Configuration object for the specific issue type selected
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerBackpressureConfigs ¶ added in v0.0.29
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerBackpressureConfigs(value *IssueTriggerBackpressureConfigs) *IssueTriggerUpsertRequestConfigs
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerDeliveryConfigs ¶ added in v0.0.29
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerDeliveryConfigs(value *IssueTriggerDeliveryConfigs) *IssueTriggerUpsertRequestConfigs
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerTransformationConfigs ¶ added in v0.0.29
func NewIssueTriggerUpsertRequestConfigsFromIssueTriggerTransformationConfigs(value *IssueTriggerTransformationConfigs) *IssueTriggerUpsertRequestConfigs
func (*IssueTriggerUpsertRequestConfigs) Accept ¶ added in v0.0.29
func (i *IssueTriggerUpsertRequestConfigs) Accept(visitor IssueTriggerUpsertRequestConfigsVisitor) error
func (IssueTriggerUpsertRequestConfigs) MarshalJSON ¶ added in v0.0.29
func (i IssueTriggerUpsertRequestConfigs) MarshalJSON() ([]byte, error)
func (*IssueTriggerUpsertRequestConfigs) UnmarshalJSON ¶ added in v0.0.29
func (i *IssueTriggerUpsertRequestConfigs) UnmarshalJSON(data []byte) error
type IssueTriggerUpsertRequestConfigsVisitor ¶ added in v0.0.29
type IssueTriggerUpsertRequestConfigsVisitor interface {
VisitIssueTriggerDeliveryConfigs(*IssueTriggerDeliveryConfigs) error
VisitIssueTriggerTransformationConfigs(*IssueTriggerTransformationConfigs) error
VisitIssueTriggerBackpressureConfigs(*IssueTriggerBackpressureConfigs) error
}
type IssueUpdateRequest ¶ added in v0.0.29
type IssueUpdateRequest struct {
// New status
Status IssueUpdateRequestStatus `json:"status,omitempty"`
}
type IssueUpdateRequestStatus ¶ added in v0.0.29
type IssueUpdateRequestStatus string
New status
const ( IssueUpdateRequestStatusOpened IssueUpdateRequestStatus = "OPENED" IssueUpdateRequestStatusIgnored IssueUpdateRequestStatus = "IGNORED" IssueUpdateRequestStatusAcknowledged IssueUpdateRequestStatus = "ACKNOWLEDGED" IssueUpdateRequestStatusResolved IssueUpdateRequestStatus = "RESOLVED" )
func NewIssueUpdateRequestStatusFromString ¶ added in v0.0.29
func NewIssueUpdateRequestStatusFromString(s string) (IssueUpdateRequestStatus, error)
func (IssueUpdateRequestStatus) Ptr ¶ added in v0.0.29
func (i IssueUpdateRequestStatus) Ptr() *IssueUpdateRequestStatus
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 NotFoundError ¶
type NotFoundError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*NotFoundError) MarshalJSON ¶
func (n *NotFoundError) MarshalJSON() ([]byte, error)
func (*NotFoundError) UnmarshalJSON ¶
func (n *NotFoundError) UnmarshalJSON(data []byte) error
func (*NotFoundError) Unwrap ¶ added in v0.0.28
func (n *NotFoundError) Unwrap() error
type NotificationUpdateRequest ¶ added in v0.0.29
type NotificationUpdateRequest struct {
// Enable or disable webhook notifications on the workspace
Enabled *core.Optional[bool] `json:"enabled,omitempty"`
// List of topics to send notifications for
Topics *core.Optional[[]TopicsValue] `json:"topics,omitempty"`
// The Hookdeck Source to send the webhook to
SourceId *core.Optional[string] `json:"source_id,omitempty"`
}
type OrderByDirection ¶
type OrderByDirection string
const ( OrderByDirectionasc OrderByDirection = "asc" OrderByDirectiondesc OrderByDirection = "desc" OrderByDirectionASC OrderByDirection = "ASC" OrderByDirectionDESC OrderByDirection = "DESC" )
func NewOrderByDirectionFromString ¶ added in v0.0.27
func NewOrderByDirectionFromString(s string) (OrderByDirection, error)
func (OrderByDirection) Ptr ¶ added in v0.0.27
func (o OrderByDirection) Ptr() *OrderByDirection
type Request ¶
type Request struct {
// ID of the request
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// Whether or not the request was verified when received
Verified *bool `json:"verified,omitempty"`
// ID of the request data
OriginalEventDataId *string `json:"original_event_data_id,omitempty"`
RejectionCause RequestRejectionCause `json:"rejection_cause,omitempty"`
// The priority attributed to the request when received
IngestPriority *RequestIngestPriority `json:"ingest_priority,omitempty"`
// The time the request was originally received
IngestedAt *time.Time `json:"ingested_at,omitempty"`
// ID of the associated source
SourceId string `json:"source_id"`
// The count of events created from this request (CLI events not included)
EventsCount *int `json:"events_count,omitempty"`
// The count of CLI events created from this request
CliEventsCount *int `json:"cli_events_count,omitempty"`
IgnoredCount *int `json:"ignored_count,omitempty"`
// Date the event was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the event was created
CreatedAt time.Time `json:"created_at"`
Data *ShortEventData `json:"data,omitempty"`
}
type RequestBulkRetryCreateRequest ¶ added in v0.0.29
type RequestBulkRetryCreateRequest struct {
// Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)
Query *core.Optional[RequestBulkRetryCreateRequestQuery] `json:"query,omitempty"`
}
type RequestBulkRetryCreateRequestQuery ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQuery struct {
// Filter by requests IDs
Id *RequestBulkRetryCreateRequestQueryId `json:"id,omitempty"`
// Filter by status
Status *RequestBulkRetryCreateRequestQueryStatus `json:"status,omitempty"`
// Filter by rejection cause
RejectionCause *RequestBulkRetryCreateRequestQueryRejectionCause `json:"rejection_cause,omitempty"`
// Filter by source IDs
SourceId *RequestBulkRetryCreateRequestQuerySourceId `json:"source_id,omitempty"`
// Filter by verification status
Verified *bool `json:"verified,omitempty"`
// URL Encoded string of the value to match partially to the body, headers, parsed_query or path
SearchTerm *string `json:"search_term,omitempty"`
// URL Encoded string of the JSON to match to the data headers
Headers *RequestBulkRetryCreateRequestQueryHeaders `json:"headers,omitempty"`
// URL Encoded string of the JSON to match to the data body
Body *RequestBulkRetryCreateRequestQueryBody `json:"body,omitempty"`
// URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
ParsedQuery *RequestBulkRetryCreateRequestQueryParsedQuery `json:"parsed_query,omitempty"`
// URL Encoded string of the value to match partially to the path
Path *string `json:"path,omitempty"`
// Filter by count of ignored events
IgnoredCount *RequestBulkRetryCreateRequestQueryIgnoredCount `json:"ignored_count,omitempty"`
// Filter by count of events
EventsCount *RequestBulkRetryCreateRequestQueryEventsCount `json:"events_count,omitempty"`
// Filter by event ingested date
IngestedAt *RequestBulkRetryCreateRequestQueryIngestedAt `json:"ingested_at,omitempty"`
BulkRetryId *RequestBulkRetryCreateRequestQueryBulkRetryId `json:"bulk_retry_id,omitempty"`
}
Filter properties for the events to be included in the bulk retry, use query parameters of [Requests](#requests)
type RequestBulkRetryCreateRequestQueryBody ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryBody struct {
String string
RequestBulkRetryCreateRequestQueryBodyOne *RequestBulkRetryCreateRequestQueryBodyOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data body
func NewRequestBulkRetryCreateRequestQueryBodyFromRequestBulkRetryCreateRequestQueryBodyOne ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryBodyFromRequestBulkRetryCreateRequestQueryBodyOne(value *RequestBulkRetryCreateRequestQueryBodyOne) *RequestBulkRetryCreateRequestQueryBody
func NewRequestBulkRetryCreateRequestQueryBodyFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryBodyFromString(value string) *RequestBulkRetryCreateRequestQueryBody
func (*RequestBulkRetryCreateRequestQueryBody) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryBody) Accept(visitor RequestBulkRetryCreateRequestQueryBodyVisitor) error
func (RequestBulkRetryCreateRequestQueryBody) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryBody) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryBody) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryBody) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryBodyOne ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryBodyOne struct {
}
type RequestBulkRetryCreateRequestQueryBodyVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryBodyVisitor interface {
VisitString(string) error
VisitRequestBulkRetryCreateRequestQueryBodyOne(*RequestBulkRetryCreateRequestQueryBodyOne) error
}
type RequestBulkRetryCreateRequestQueryBulkRetryId ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryBulkRetryId struct {
// <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromString(value string) *RequestBulkRetryCreateRequestQueryBulkRetryId
func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromStringList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryBulkRetryIdFromStringList(value []string) *RequestBulkRetryCreateRequestQueryBulkRetryId
func (*RequestBulkRetryCreateRequestQueryBulkRetryId) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryBulkRetryId) Accept(visitor RequestBulkRetryCreateRequestQueryBulkRetryIdVisitor) error
func (RequestBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryBulkRetryId) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryBulkRetryId) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryBulkRetryIdVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryEventsCount ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryEventsCount struct {
Integer int
RequestBulkRetryCreateRequestQueryEventsCountAny *RequestBulkRetryCreateRequestQueryEventsCountAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by count of events
func NewRequestBulkRetryCreateRequestQueryEventsCountFromInteger ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryEventsCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryEventsCount
func NewRequestBulkRetryCreateRequestQueryEventsCountFromIntegerList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryEventsCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryEventsCount
func NewRequestBulkRetryCreateRequestQueryEventsCountFromRequestBulkRetryCreateRequestQueryEventsCountAny ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryEventsCountFromRequestBulkRetryCreateRequestQueryEventsCountAny(value *RequestBulkRetryCreateRequestQueryEventsCountAny) *RequestBulkRetryCreateRequestQueryEventsCount
func (*RequestBulkRetryCreateRequestQueryEventsCount) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryEventsCount) Accept(visitor RequestBulkRetryCreateRequestQueryEventsCountVisitor) error
func (RequestBulkRetryCreateRequestQueryEventsCount) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryEventsCount) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryEventsCount) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryEventsCount) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryEventsCountAny ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryEventsCountVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryHeaders ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryHeaders struct {
String string
RequestBulkRetryCreateRequestQueryHeadersOne *RequestBulkRetryCreateRequestQueryHeadersOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the data headers
func NewRequestBulkRetryCreateRequestQueryHeadersFromRequestBulkRetryCreateRequestQueryHeadersOne ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryHeadersFromRequestBulkRetryCreateRequestQueryHeadersOne(value *RequestBulkRetryCreateRequestQueryHeadersOne) *RequestBulkRetryCreateRequestQueryHeaders
func NewRequestBulkRetryCreateRequestQueryHeadersFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryHeadersFromString(value string) *RequestBulkRetryCreateRequestQueryHeaders
func (*RequestBulkRetryCreateRequestQueryHeaders) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryHeaders) Accept(visitor RequestBulkRetryCreateRequestQueryHeadersVisitor) error
func (RequestBulkRetryCreateRequestQueryHeaders) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryHeaders) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryHeaders) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryHeaders) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryHeadersOne ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryHeadersOne struct {
}
type RequestBulkRetryCreateRequestQueryHeadersVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryHeadersVisitor interface {
VisitString(string) error
VisitRequestBulkRetryCreateRequestQueryHeadersOne(*RequestBulkRetryCreateRequestQueryHeadersOne) error
}
type RequestBulkRetryCreateRequestQueryId ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryId struct {
// Request ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by requests IDs
func NewRequestBulkRetryCreateRequestQueryIdFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIdFromString(value string) *RequestBulkRetryCreateRequestQueryId
func NewRequestBulkRetryCreateRequestQueryIdFromStringList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIdFromStringList(value []string) *RequestBulkRetryCreateRequestQueryId
func (*RequestBulkRetryCreateRequestQueryId) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryId) Accept(visitor RequestBulkRetryCreateRequestQueryIdVisitor) error
func (RequestBulkRetryCreateRequestQueryId) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryId) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryId) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryId) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryIdVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIgnoredCount ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIgnoredCount struct {
Integer int
RequestBulkRetryCreateRequestQueryIgnoredCountAny *RequestBulkRetryCreateRequestQueryIgnoredCountAny
IntegerList []int
// contains filtered or unexported fields
}
Filter by count of ignored events
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromInteger ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromInteger(value int) *RequestBulkRetryCreateRequestQueryIgnoredCount
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromIntegerList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromIntegerList(value []int) *RequestBulkRetryCreateRequestQueryIgnoredCount
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromRequestBulkRetryCreateRequestQueryIgnoredCountAny ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIgnoredCountFromRequestBulkRetryCreateRequestQueryIgnoredCountAny(value *RequestBulkRetryCreateRequestQueryIgnoredCountAny) *RequestBulkRetryCreateRequestQueryIgnoredCount
func (*RequestBulkRetryCreateRequestQueryIgnoredCount) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryIgnoredCount) Accept(visitor RequestBulkRetryCreateRequestQueryIgnoredCountVisitor) error
func (RequestBulkRetryCreateRequestQueryIgnoredCount) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryIgnoredCount) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryIgnoredCount) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryIgnoredCount) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryIgnoredCountAny ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIgnoredCountVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIngestedAt ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIngestedAt struct {
DateTime time.Time
RequestBulkRetryCreateRequestQueryIngestedAtAny *RequestBulkRetryCreateRequestQueryIngestedAtAny
// contains filtered or unexported fields
}
Filter by event ingested date
func NewRequestBulkRetryCreateRequestQueryIngestedAtFromDateTime ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIngestedAtFromDateTime(value time.Time) *RequestBulkRetryCreateRequestQueryIngestedAt
func NewRequestBulkRetryCreateRequestQueryIngestedAtFromRequestBulkRetryCreateRequestQueryIngestedAtAny ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryIngestedAtFromRequestBulkRetryCreateRequestQueryIngestedAtAny(value *RequestBulkRetryCreateRequestQueryIngestedAtAny) *RequestBulkRetryCreateRequestQueryIngestedAt
func (*RequestBulkRetryCreateRequestQueryIngestedAt) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryIngestedAt) Accept(visitor RequestBulkRetryCreateRequestQueryIngestedAtVisitor) error
func (RequestBulkRetryCreateRequestQueryIngestedAt) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryIngestedAt) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryIngestedAt) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryIngestedAt) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryIngestedAtAny ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIngestedAtVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryIngestedAtVisitor interface {
VisitDateTime(time.Time) error
VisitRequestBulkRetryCreateRequestQueryIngestedAtAny(*RequestBulkRetryCreateRequestQueryIngestedAtAny) error
}
type RequestBulkRetryCreateRequestQueryParsedQuery ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryParsedQuery struct {
String string
RequestBulkRetryCreateRequestQueryParsedQueryOne *RequestBulkRetryCreateRequestQueryParsedQueryOne
// contains filtered or unexported fields
}
URL Encoded string of the JSON to match to the parsed query (JSON representation of the query)
func NewRequestBulkRetryCreateRequestQueryParsedQueryFromRequestBulkRetryCreateRequestQueryParsedQueryOne ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryParsedQueryFromRequestBulkRetryCreateRequestQueryParsedQueryOne(value *RequestBulkRetryCreateRequestQueryParsedQueryOne) *RequestBulkRetryCreateRequestQueryParsedQuery
func NewRequestBulkRetryCreateRequestQueryParsedQueryFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryParsedQueryFromString(value string) *RequestBulkRetryCreateRequestQueryParsedQuery
func (*RequestBulkRetryCreateRequestQueryParsedQuery) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryParsedQuery) Accept(visitor RequestBulkRetryCreateRequestQueryParsedQueryVisitor) error
func (RequestBulkRetryCreateRequestQueryParsedQuery) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryParsedQuery) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryParsedQuery) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryParsedQueryOne ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryParsedQueryOne struct {
}
type RequestBulkRetryCreateRequestQueryParsedQueryVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryParsedQueryVisitor interface {
VisitString(string) error
VisitRequestBulkRetryCreateRequestQueryParsedQueryOne(*RequestBulkRetryCreateRequestQueryParsedQueryOne) error
}
type RequestBulkRetryCreateRequestQueryRejectionCause ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryRejectionCause struct {
RequestRejectionCause RequestRejectionCause
RequestRejectionCauseList []RequestRejectionCause
// contains filtered or unexported fields
}
Filter by rejection cause
func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCause ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCause(value RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause
func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCauseList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryRejectionCauseFromRequestRejectionCauseList(value []RequestRejectionCause) *RequestBulkRetryCreateRequestQueryRejectionCause
func (*RequestBulkRetryCreateRequestQueryRejectionCause) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryRejectionCause) Accept(visitor RequestBulkRetryCreateRequestQueryRejectionCauseVisitor) error
func (RequestBulkRetryCreateRequestQueryRejectionCause) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQueryRejectionCause) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQueryRejectionCause) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQueryRejectionCause) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQueryRejectionCauseVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryRejectionCauseVisitor interface {
VisitRequestRejectionCause(RequestRejectionCause) error
VisitRequestRejectionCauseList([]RequestRejectionCause) error
}
type RequestBulkRetryCreateRequestQuerySourceId ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQuerySourceId struct {
// Source ID <span style="white-space: nowrap">`<= 255 characters`</span>
String string
StringList []string
// contains filtered or unexported fields
}
Filter by source IDs
func NewRequestBulkRetryCreateRequestQuerySourceIdFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQuerySourceIdFromString(value string) *RequestBulkRetryCreateRequestQuerySourceId
func NewRequestBulkRetryCreateRequestQuerySourceIdFromStringList ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQuerySourceIdFromStringList(value []string) *RequestBulkRetryCreateRequestQuerySourceId
func (*RequestBulkRetryCreateRequestQuerySourceId) Accept ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQuerySourceId) Accept(visitor RequestBulkRetryCreateRequestQuerySourceIdVisitor) error
func (RequestBulkRetryCreateRequestQuerySourceId) MarshalJSON ¶ added in v0.0.29
func (r RequestBulkRetryCreateRequestQuerySourceId) MarshalJSON() ([]byte, error)
func (*RequestBulkRetryCreateRequestQuerySourceId) UnmarshalJSON ¶ added in v0.0.29
func (r *RequestBulkRetryCreateRequestQuerySourceId) UnmarshalJSON(data []byte) error
type RequestBulkRetryCreateRequestQuerySourceIdVisitor ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryStatus ¶ added in v0.0.29
type RequestBulkRetryCreateRequestQueryStatus string
Filter by status
const ( RequestBulkRetryCreateRequestQueryStatusAccepted RequestBulkRetryCreateRequestQueryStatus = "accepted" RequestBulkRetryCreateRequestQueryStatusRejected RequestBulkRetryCreateRequestQueryStatus = "rejected" )
func NewRequestBulkRetryCreateRequestQueryStatusFromString ¶ added in v0.0.29
func NewRequestBulkRetryCreateRequestQueryStatusFromString(s string) (RequestBulkRetryCreateRequestQueryStatus, error)
type RequestBulkRetryListRequest ¶ added in v0.0.29
type RequestBulkRetryListRequest struct {
CancelledAt *time.Time `json:"-"`
CompletedAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
Id *string `json:"-"`
InProgress *bool `json:"-"`
QueryPartialMatch *bool `json:"-"`
OrderBy *string `json:"-"`
Dir *RequestBulkRetryListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type RequestBulkRetryListRequestDir ¶ added in v0.0.29
type RequestBulkRetryListRequestDir string
const ( RequestBulkRetryListRequestDirAsc RequestBulkRetryListRequestDir = "asc" RequestBulkRetryListRequestDirDesc RequestBulkRetryListRequestDir = "desc" )
func NewRequestBulkRetryListRequestDirFromString ¶ added in v0.0.29
func NewRequestBulkRetryListRequestDirFromString(s string) (RequestBulkRetryListRequestDir, error)
func (RequestBulkRetryListRequestDir) Ptr ¶ added in v0.0.29
func (r RequestBulkRetryListRequestDir) Ptr() *RequestBulkRetryListRequestDir
type RequestBulkRetryPlanResponse ¶ added in v0.0.29
type RequestBulkRetryPlanResponse struct {
// Number of batches required to complete the bulk retry
EstimatedBatch *int `json:"estimated_batch,omitempty"`
// Number of estimated events to be retried
EstimatedCount *int `json:"estimated_count,omitempty"`
// Progression of the batch operations, values 0 - 1
Progress *float64 `json:"progress,omitempty"`
}
type RequestIngestPriority ¶
type RequestIngestPriority string
The priority attributed to the request when received
const ( RequestIngestPriorityNormal RequestIngestPriority = "NORMAL" RequestIngestPriorityLow RequestIngestPriority = "LOW" )
func NewRequestIngestPriorityFromString ¶ added in v0.0.27
func NewRequestIngestPriorityFromString(s string) (RequestIngestPriority, error)
func (RequestIngestPriority) Ptr ¶ added in v0.0.27
func (r RequestIngestPriority) Ptr() *RequestIngestPriority
type RequestListEventRequest ¶ added in v0.0.29
type RequestListEventRequest struct {
Id *string `json:"-"`
Status *EventStatus `json:"-"`
WebhookId *string `json:"-"`
DestinationId *string `json:"-"`
SourceId *string `json:"-"`
Attempts *int `json:"-"`
ResponseStatus *int `json:"-"`
SuccessfulAt *time.Time `json:"-"`
CreatedAt *time.Time `json:"-"`
ErrorCode *AttemptErrorCodes `json:"-"`
CliId *string `json:"-"`
LastAttemptAt *time.Time `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
CliUserId *string `json:"-"`
IssueId *string `json:"-"`
EventDataId *string `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *RequestListEventRequestOrderBy `json:"-"`
Dir *RequestListEventRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type RequestListEventRequestDir ¶ added in v0.0.29
type RequestListEventRequestDir string
Sort direction
const ( RequestListEventRequestDirAsc RequestListEventRequestDir = "asc" RequestListEventRequestDirDesc RequestListEventRequestDir = "desc" )
func NewRequestListEventRequestDirFromString ¶ added in v0.0.29
func NewRequestListEventRequestDirFromString(s string) (RequestListEventRequestDir, error)
func (RequestListEventRequestDir) Ptr ¶ added in v0.0.29
func (r RequestListEventRequestDir) Ptr() *RequestListEventRequestDir
type RequestListEventRequestOrderBy ¶ added in v0.0.29
type RequestListEventRequestOrderBy string
Sort key
const ( RequestListEventRequestOrderByLastAttemptAt RequestListEventRequestOrderBy = "last_attempt_at" RequestListEventRequestOrderByCreatedAt RequestListEventRequestOrderBy = "created_at" )
func NewRequestListEventRequestOrderByFromString ¶ added in v0.0.29
func NewRequestListEventRequestOrderByFromString(s string) (RequestListEventRequestOrderBy, error)
func (RequestListEventRequestOrderBy) Ptr ¶ added in v0.0.29
func (r RequestListEventRequestOrderBy) Ptr() *RequestListEventRequestOrderBy
type RequestListIgnoredEventRequest ¶ added in v0.0.29
type RequestListIgnoredEventRequestDir ¶ added in v0.0.29
type RequestListIgnoredEventRequestDir string
const ( RequestListIgnoredEventRequestDirAsc RequestListIgnoredEventRequestDir = "asc" RequestListIgnoredEventRequestDirDesc RequestListIgnoredEventRequestDir = "desc" )
func NewRequestListIgnoredEventRequestDirFromString ¶ added in v0.0.29
func NewRequestListIgnoredEventRequestDirFromString(s string) (RequestListIgnoredEventRequestDir, error)
func (RequestListIgnoredEventRequestDir) Ptr ¶ added in v0.0.29
func (r RequestListIgnoredEventRequestDir) Ptr() *RequestListIgnoredEventRequestDir
type RequestListRequest ¶ added in v0.0.29
type RequestListRequest struct {
Id *string `json:"-"`
Status *RequestListRequestStatus `json:"-"`
RejectionCause *RequestRejectionCause `json:"-"`
SourceId *string `json:"-"`
Verified *bool `json:"-"`
SearchTerm *string `json:"-"`
Headers *string `json:"-"`
Body *string `json:"-"`
ParsedQuery *string `json:"-"`
Path *string `json:"-"`
IgnoredCount *int `json:"-"`
EventsCount *int `json:"-"`
IngestedAt *time.Time `json:"-"`
BulkRetryId *string `json:"-"`
Include *string `json:"-"`
OrderBy *RequestListRequestOrderBy `json:"-"`
Dir *RequestListRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type RequestListRequestDir ¶ added in v0.0.29
type RequestListRequestDir string
Sort direction
const ( RequestListRequestDirAsc RequestListRequestDir = "asc" RequestListRequestDirDesc RequestListRequestDir = "desc" )
func NewRequestListRequestDirFromString ¶ added in v0.0.29
func NewRequestListRequestDirFromString(s string) (RequestListRequestDir, error)
func (RequestListRequestDir) Ptr ¶ added in v0.0.29
func (r RequestListRequestDir) Ptr() *RequestListRequestDir
type RequestListRequestOrderBy ¶ added in v0.0.29
type RequestListRequestOrderBy string
Sort key
const ( RequestListRequestOrderByIngestedAt RequestListRequestOrderBy = "ingested_at" RequestListRequestOrderByCreatedAt RequestListRequestOrderBy = "created_at" )
func NewRequestListRequestOrderByFromString ¶ added in v0.0.29
func NewRequestListRequestOrderByFromString(s string) (RequestListRequestOrderBy, error)
func (RequestListRequestOrderBy) Ptr ¶ added in v0.0.29
func (r RequestListRequestOrderBy) Ptr() *RequestListRequestOrderBy
type RequestListRequestStatus ¶ added in v0.0.29
type RequestListRequestStatus string
Filter by status
const ( RequestListRequestStatusAccepted RequestListRequestStatus = "accepted" RequestListRequestStatusRejected RequestListRequestStatus = "rejected" )
func NewRequestListRequestStatusFromString ¶ added in v0.0.29
func NewRequestListRequestStatusFromString(s string) (RequestListRequestStatus, error)
func (RequestListRequestStatus) Ptr ¶ added in v0.0.29
func (r RequestListRequestStatus) Ptr() *RequestListRequestStatus
type RequestPaginatedResult ¶
type RequestPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Request `json:"models,omitempty"`
}
type RequestRejectionCause ¶
type RequestRejectionCause string
const ( RequestRejectionCauseSourceArchived RequestRejectionCause = "SOURCE_ARCHIVED" RequestRejectionCauseNoWebhook RequestRejectionCause = "NO_WEBHOOK" RequestRejectionCauseVerificationFailed RequestRejectionCause = "VERIFICATION_FAILED" RequestRejectionCauseUnsupportedHttpMethod RequestRejectionCause = "UNSUPPORTED_HTTP_METHOD" RequestRejectionCauseUnsupportedContentType RequestRejectionCause = "UNSUPPORTED_CONTENT_TYPE" RequestRejectionCauseUnparsableJson RequestRejectionCause = "UNPARSABLE_JSON" RequestRejectionCausePayloadTooLarge RequestRejectionCause = "PAYLOAD_TOO_LARGE" RequestRejectionCauseIngestionFatal RequestRejectionCause = "INGESTION_FATAL" RequestRejectionCauseUnknown RequestRejectionCause = "UNKNOWN" )
func NewRequestRejectionCauseFromString ¶ added in v0.0.27
func NewRequestRejectionCauseFromString(s string) (RequestRejectionCause, error)
func (RequestRejectionCause) Ptr ¶ added in v0.0.27
func (r RequestRejectionCause) Ptr() *RequestRejectionCause
type RequestRetryRequest ¶ added in v0.0.29
type RequestRetryRequest struct {
// Subset of webhook_ids to re-run the event logic on. Useful to retry only specific ignored_events
WebhookIds []string `json:"webhook_ids,omitempty"`
}
type RetriedEvent ¶
type RetriedEvent struct {
Event *Event `json:"event,omitempty"`
Attempt *EventAttempt `json:"attempt,omitempty"`
}
type RetryRequest ¶
type 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 string
Algorithm to use when calculating delay between retries
const ( RetryStrategyLinear RetryStrategy = "linear" RetryStrategyExponential RetryStrategy = "exponential" )
func NewRetryStrategyFromString ¶ added in v0.0.27
func NewRetryStrategyFromString(s string) (RetryStrategy, error)
func (RetryStrategy) Ptr ¶ added in v0.0.27
func (r RetryStrategy) Ptr() *RetryStrategy
type Rule ¶
type Rule struct {
RetryRule *RetryRule
FilterRule *FilterRule
TransformRule *TransformRule
DelayRule *DelayRule
// contains filtered or unexported fields
}
func NewRuleFromDelayRule ¶
func 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 ShopifyIntegrationConfigs ¶
type ShopifyIntegrationConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
RateLimitPeriod *ShopifyIntegrationConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
ApiKey *string `json:"api_key,omitempty"`
ApiSecret *string `json:"api_secret,omitempty"`
Shop *string `json:"shop,omitempty"`
}
type ShopifyIntegrationConfigsRateLimitPeriod ¶
type ShopifyIntegrationConfigsRateLimitPeriod string
const ( ShopifyIntegrationConfigsRateLimitPeriodMinute ShopifyIntegrationConfigsRateLimitPeriod = "minute" ShopifyIntegrationConfigsRateLimitPeriodSecond ShopifyIntegrationConfigsRateLimitPeriod = "second" )
func NewShopifyIntegrationConfigsRateLimitPeriodFromString ¶ added in v0.0.27
func NewShopifyIntegrationConfigsRateLimitPeriodFromString(s string) (ShopifyIntegrationConfigsRateLimitPeriod, error)
type ShortEventData ¶
type ShortEventData struct {
// Request path
Path string `json:"path"`
// Raw query param string
Query *string `json:"query,omitempty"`
// JSON representation of query params
ParsedQuery *ShortEventDataParsedQuery `json:"parsed_query,omitempty"`
// JSON representation of the headers
Headers *ShortEventDataHeaders `json:"headers,omitempty"`
// JSON or string representation of the body
Body *ShortEventDataBody `json:"body,omitempty"`
// Whether the payload is considered large payload and not searchable
IsLargePayload *bool `json:"is_large_payload,omitempty"`
}
Request data
type ShortEventDataBody ¶
type ShortEventDataBody struct {
String string
ShortEventDataBodyOne *ShortEventDataBodyOne
UnknownList []interface{}
// contains filtered or unexported fields
}
JSON or string representation of the body
func NewShortEventDataBodyFromShortEventDataBodyOne ¶
func NewShortEventDataBodyFromShortEventDataBodyOne(value *ShortEventDataBodyOne) *ShortEventDataBody
func NewShortEventDataBodyFromString ¶
func NewShortEventDataBodyFromString(value string) *ShortEventDataBody
func NewShortEventDataBodyFromUnknownList ¶
func NewShortEventDataBodyFromUnknownList(value []interface{}) *ShortEventDataBody
func (*ShortEventDataBody) Accept ¶
func (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 ShortEventDataBodyVisitor ¶
type ShortEventDataBodyVisitor interface {
VisitString(string) error
VisitShortEventDataBodyOne(*ShortEventDataBodyOne) error
VisitUnknownList([]interface{}) error
}
type ShortEventDataHeaders ¶
type ShortEventDataHeaders struct {
String string
StringStringOptionalMap map[string]*string
// contains filtered or unexported fields
}
JSON representation of the headers
func NewShortEventDataHeadersFromString ¶
func NewShortEventDataHeadersFromString(value string) *ShortEventDataHeaders
func NewShortEventDataHeadersFromStringStringOptionalMap ¶
func NewShortEventDataHeadersFromStringStringOptionalMap(value map[string]*string) *ShortEventDataHeaders
func (*ShortEventDataHeaders) Accept ¶
func (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 string
const ( SourceAllowedHttpMethodItemGet SourceAllowedHttpMethodItem = "GET" SourceAllowedHttpMethodItemPost SourceAllowedHttpMethodItem = "POST" SourceAllowedHttpMethodItemPut SourceAllowedHttpMethodItem = "PUT" SourceAllowedHttpMethodItemPatch SourceAllowedHttpMethodItem = "PATCH" SourceAllowedHttpMethodItemDelete SourceAllowedHttpMethodItem = "DELETE" )
func NewSourceAllowedHttpMethodItemFromString ¶ added in v0.0.27
func NewSourceAllowedHttpMethodItemFromString(s string) (SourceAllowedHttpMethodItem, error)
func (SourceAllowedHttpMethodItem) Ptr ¶ added in v0.0.27
func (s SourceAllowedHttpMethodItem) Ptr() *SourceAllowedHttpMethodItem
type SourceCreateRequest ¶ added in v0.0.29
type SourceCreateRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *core.Optional[string] `json:"description,omitempty"`
AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
CustomResponse *core.Optional[SourceCustomResponse] `json:"custom_response,omitempty"`
Verification *core.Optional[VerificationConfig] `json:"verification,omitempty"`
}
type SourceCustomResponse ¶
type SourceCustomResponse struct {
ContentType SourceCustomResponseContentType `json:"content_type,omitempty"`
// Body of the custom response <span style="white-space: nowrap">`<= 1000 characters`</span>
Body string `json:"body"`
}
Custom response object
type SourceCustomResponseContentType ¶
type SourceCustomResponseContentType string
Content type of the custom response
const ( SourceCustomResponseContentTypeJson SourceCustomResponseContentType = "json" SourceCustomResponseContentTypeText SourceCustomResponseContentType = "text" SourceCustomResponseContentTypeXml SourceCustomResponseContentType = "xml" )
func NewSourceCustomResponseContentTypeFromString ¶ added in v0.0.27
func NewSourceCustomResponseContentTypeFromString(s string) (SourceCustomResponseContentType, error)
func (SourceCustomResponseContentType) Ptr ¶ added in v0.0.27
func (s SourceCustomResponseContentType) Ptr() *SourceCustomResponseContentType
type SourceDeleteResponse ¶ added in v0.0.29
type SourceDeleteResponse struct {
// ID of the source
Id string `json:"id"`
}
type SourceListRequest ¶ added in v0.0.29
type SourceListRequestDir ¶ added in v0.0.29
type SourceListRequestDir string
const ( SourceListRequestDirAsc SourceListRequestDir = "asc" SourceListRequestDirDesc SourceListRequestDir = "desc" )
func NewSourceListRequestDirFromString ¶ added in v0.0.29
func NewSourceListRequestDirFromString(s string) (SourceListRequestDir, error)
func (SourceListRequestDir) Ptr ¶ added in v0.0.29
func (s SourceListRequestDir) Ptr() *SourceListRequestDir
type SourcePaginatedResult ¶
type SourcePaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Source `json:"models,omitempty"`
}
type SourceRetrieveRequest ¶ added in v0.0.29
type SourceRetrieveRequest struct {
Include *string `json:"-"`
}
type SourceUpdateRequest ¶ added in v0.0.29
type SourceUpdateRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
// Description for the source
Description *core.Optional[string] `json:"description,omitempty"`
AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
CustomResponse *core.Optional[SourceCustomResponse] `json:"custom_response,omitempty"`
Verification *core.Optional[VerificationConfig] `json:"verification,omitempty"`
}
type SourceUpsertRequest ¶ added in v0.0.29
type SourceUpsertRequest struct {
// A unique name for the source <span style="white-space: nowrap">`<= 155 characters`</span>
Name string `json:"name"`
// Description for the source
Description *core.Optional[string] `json:"description,omitempty"`
AllowedHttpMethods *core.Optional[SourceAllowedHttpMethod] `json:"allowed_http_methods,omitempty"`
CustomResponse *core.Optional[SourceCustomResponse] `json:"custom_response,omitempty"`
Verification *core.Optional[VerificationConfig] `json:"verification,omitempty"`
}
type ToggleWebhookNotifications ¶
type ToggleWebhookNotifications struct {
Enabled bool `json:"enabled"`
Topics []TopicsValue `json:"topics,omitempty"`
SourceId string `json:"source_id"`
}
type TopicsValue ¶
type TopicsValue string
Supported topics
const ( TopicsValueIssueOpened TopicsValue = "issue.opened" TopicsValueIssueUpdated TopicsValue = "issue.updated" TopicsValueDeprecatedAttemptFailed TopicsValue = "deprecated.attempt-failed" TopicsValueEventSuccessful TopicsValue = "event.successful" )
func NewTopicsValueFromString ¶ added in v0.0.27
func NewTopicsValueFromString(s string) (TopicsValue, error)
func (TopicsValue) Ptr ¶ added in v0.0.27
func (t TopicsValue) Ptr() *TopicsValue
type TransformFull ¶
type TransformFull struct {
// ID of the attached transformation object. Optional input, always set once the rule is defined
TransformationId *string `json:"transformation_id,omitempty"`
// You can optionally define a new transformation while creating a transform rule
Transformation *TransformFullTransformation `json:"transformation,omitempty"`
// contains filtered or unexported fields
}
func (*TransformFull) MarshalJSON ¶
func (t *TransformFull) MarshalJSON() ([]byte, error)
func (*TransformFull) Type ¶
func (t *TransformFull) Type() string
func (*TransformFull) UnmarshalJSON ¶
func (t *TransformFull) UnmarshalJSON(data []byte) error
type TransformFullTransformation ¶
type TransformFullTransformation struct {
// The unique name of the transformation
Name string `json:"name"`
// A string representation of your JavaScript (ES6) code to run
Code string `json:"code"`
// A key-value object of environment variables to encrypt and expose to your transformation code
Env map[string]*string `json:"env,omitempty"`
}
You can optionally define a new transformation while creating a transform rule
type TransformReference ¶
type TransformReference struct {
// ID of the attached transformation object. Optional input, always set once the rule is defined
TransformationId string `json:"transformation_id"`
// contains filtered or unexported fields
}
func (*TransformReference) MarshalJSON ¶
func (t *TransformReference) MarshalJSON() ([]byte, error)
func (*TransformReference) Type ¶
func (t *TransformReference) Type() string
func (*TransformReference) UnmarshalJSON ¶
func (t *TransformReference) UnmarshalJSON(data []byte) error
type TransformRule ¶
type TransformRule struct {
TransformReference *TransformReference
TransformFull *TransformFull
// contains filtered or unexported fields
}
func NewTransformRuleFromTransformFull ¶
func NewTransformRuleFromTransformFull(value *TransformFull) *TransformRule
func NewTransformRuleFromTransformReference ¶
func NewTransformRuleFromTransformReference(value *TransformReference) *TransformRule
func (*TransformRule) Accept ¶
func (t *TransformRule) Accept(visitor TransformRuleVisitor) error
func (TransformRule) MarshalJSON ¶
func (t TransformRule) MarshalJSON() ([]byte, error)
func (*TransformRule) UnmarshalJSON ¶
func (t *TransformRule) UnmarshalJSON(data []byte) error
type TransformRuleVisitor ¶
type TransformRuleVisitor interface {
VisitTransformReference(*TransformReference) error
VisitTransformFull(*TransformFull) error
}
type Transformation ¶
type Transformation struct {
// ID of the transformation
Id string `json:"id"`
// ID of the workspace
TeamId string `json:"team_id"`
// A unique, human-friendly name for the transformation
Name string `json:"name"`
// JavaScript code to be executed
Code string `json:"code"`
EncryptedEnv *string `json:"encrypted_env,omitempty"`
Iv *string `json:"iv,omitempty"`
// Key-value environment variables to be passed to the transformation
Env map[string]*string `json:"env,omitempty"`
// Date the transformation was last updated
UpdatedAt time.Time `json:"updated_at"`
// Date the transformation was created
CreatedAt time.Time `json:"created_at"`
}
type TransformationCreateRequest ¶ added in v0.0.29
type TransformationCreateRequest struct {
// A unique, human-friendly name for the transformation <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 *core.Optional[map[string]string] `json:"env,omitempty"`
}
type TransformationExecution ¶
type TransformationExecution struct {
Id string `json:"id"`
TransformedEventDataId string `json:"transformed_event_data_id"`
OriginalEventDataId string `json:"original_event_data_id"`
TransformationId string `json:"transformation_id"`
TeamId string `json:"team_id"`
WebhookId string `json:"webhook_id"`
LogLevel TransformationExecutionLogLevel `json:"log_level,omitempty"`
Logs []*ConsoleLine `json:"logs,omitempty"`
UpdatedAt time.Time `json:"updated_at"`
CreatedAt time.Time `json:"created_at"`
OriginalEventData *ShortEventData `json:"original_event_data,omitempty"`
TransformedEventData *ShortEventData `json:"transformed_event_data,omitempty"`
IssueId *string `json:"issue_id,omitempty"`
}
type TransformationExecutionLogLevel ¶
type TransformationExecutionLogLevel string
The minimum log level to open the issue on
const ( TransformationExecutionLogLevelDebug TransformationExecutionLogLevel = "debug" TransformationExecutionLogLevelInfo TransformationExecutionLogLevel = "info" TransformationExecutionLogLevelWarn TransformationExecutionLogLevel = "warn" TransformationExecutionLogLevelError TransformationExecutionLogLevel = "error" TransformationExecutionLogLevelFatal TransformationExecutionLogLevel = "fatal" )
func NewTransformationExecutionLogLevelFromString ¶ added in v0.0.27
func NewTransformationExecutionLogLevelFromString(s string) (TransformationExecutionLogLevel, error)
func (TransformationExecutionLogLevel) Ptr ¶ added in v0.0.27
func (t TransformationExecutionLogLevel) Ptr() *TransformationExecutionLogLevel
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]interface{}
// contains filtered or unexported fields
}
func NewTransformationExecutorOutputRequestHeadersFromString ¶
func NewTransformationExecutorOutputRequestHeadersFromString(value string) *TransformationExecutorOutputRequestHeaders
func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap ¶
func NewTransformationExecutorOutputRequestHeadersFromStringUnknownMap(value map[string]interface{}) *TransformationExecutorOutputRequestHeaders
func (*TransformationExecutorOutputRequestHeaders) Accept ¶
func (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 TransformationListExecutionRequest ¶ added in v0.0.29
type TransformationListExecutionRequest struct {
LogLevel *TransformationListExecutionRequestLogLevel `json:"-"`
WebhookId *string `json:"-"`
IssueId *string `json:"-"`
CreatedAt *time.Time `json:"-"`
OrderBy *string `json:"-"`
Dir *TransformationListExecutionRequestDir `json:"-"`
Limit *int `json:"-"`
Next *string `json:"-"`
Prev *string `json:"-"`
}
type TransformationListExecutionRequestDir ¶ added in v0.0.29
type TransformationListExecutionRequestDir string
const ( TransformationListExecutionRequestDirAsc TransformationListExecutionRequestDir = "asc" TransformationListExecutionRequestDirDesc TransformationListExecutionRequestDir = "desc" )
func NewTransformationListExecutionRequestDirFromString ¶ added in v0.0.29
func NewTransformationListExecutionRequestDirFromString(s string) (TransformationListExecutionRequestDir, error)
type TransformationListExecutionRequestLogLevel ¶ added in v0.0.29
type TransformationListExecutionRequestLogLevel string
const ( TransformationListExecutionRequestLogLevelDebug TransformationListExecutionRequestLogLevel = "debug" TransformationListExecutionRequestLogLevelInfo TransformationListExecutionRequestLogLevel = "info" TransformationListExecutionRequestLogLevelWarn TransformationListExecutionRequestLogLevel = "warn" TransformationListExecutionRequestLogLevelError TransformationListExecutionRequestLogLevel = "error" TransformationListExecutionRequestLogLevelFatal TransformationListExecutionRequestLogLevel = "fatal" )
func NewTransformationListExecutionRequestLogLevelFromString ¶ added in v0.0.29
func NewTransformationListExecutionRequestLogLevelFromString(s string) (TransformationListExecutionRequestLogLevel, error)
type TransformationListRequest ¶ added in v0.0.29
type TransformationListRequestDir ¶ added in v0.0.29
type TransformationListRequestDir string
const ( TransformationListRequestDirAsc TransformationListRequestDir = "asc" TransformationListRequestDirDesc TransformationListRequestDir = "desc" )
func NewTransformationListRequestDirFromString ¶ added in v0.0.29
func NewTransformationListRequestDirFromString(s string) (TransformationListRequestDir, error)
func (TransformationListRequestDir) Ptr ¶ added in v0.0.29
func (t TransformationListRequestDir) Ptr() *TransformationListRequestDir
type TransformationPaginatedResult ¶
type TransformationPaginatedResult struct {
Pagination *SeekPagination `json:"pagination,omitempty"`
Count *int `json:"count,omitempty"`
Models []*Transformation `json:"models,omitempty"`
}
type TransformationRunRequest ¶ added in v0.0.29
type TransformationRunRequest struct {
// Key-value environment variables to be passed to the transformation
Env *core.Optional[map[string]string] `json:"env,omitempty"`
// ID of the connection to use for the execution `context`
WebhookId *core.Optional[string] `json:"webhook_id,omitempty"`
// JavaScript code to be executed
Code *core.Optional[string] `json:"code,omitempty"`
// Transformation ID
TransformationId *core.Optional[string] `json:"transformation_id,omitempty"`
// Request input to use for the transformation execution
Request *core.Optional[TransformationRunRequestRequest] `json:"request,omitempty"`
EventId *core.Optional[string] `json:"event_id,omitempty"`
}
type TransformationRunRequestRequest ¶ added in v0.0.29
type TransformationRunRequestRequest struct {
// Headers of the request
Headers map[string]string `json:"headers,omitempty"`
// Body of the request
Body *TransformationRunRequestRequestBody `json:"body,omitempty"`
// Path of the request
Path *string `json:"path,omitempty"`
// String representation of the query params of the request
Query *string `json:"query,omitempty"`
// JSON representation of the query params
ParsedQuery *TransformationRunRequestRequestParsedQuery `json:"parsed_query,omitempty"`
}
Request input to use for the transformation execution
type TransformationRunRequestRequestBody ¶ added in v0.0.29
type TransformationRunRequestRequestBody struct {
TransformationRunRequestRequestBodyZero *TransformationRunRequestRequestBodyZero
String string
// contains filtered or unexported fields
}
Body of the request
func NewTransformationRunRequestRequestBodyFromString ¶ added in v0.0.29
func NewTransformationRunRequestRequestBodyFromString(value string) *TransformationRunRequestRequestBody
func NewTransformationRunRequestRequestBodyFromTransformationRunRequestRequestBodyZero ¶ added in v0.0.29
func NewTransformationRunRequestRequestBodyFromTransformationRunRequestRequestBodyZero(value *TransformationRunRequestRequestBodyZero) *TransformationRunRequestRequestBody
func (*TransformationRunRequestRequestBody) Accept ¶ added in v0.0.29
func (t *TransformationRunRequestRequestBody) Accept(visitor TransformationRunRequestRequestBodyVisitor) error
func (TransformationRunRequestRequestBody) MarshalJSON ¶ added in v0.0.29
func (t TransformationRunRequestRequestBody) MarshalJSON() ([]byte, error)
func (*TransformationRunRequestRequestBody) UnmarshalJSON ¶ added in v0.0.29
func (t *TransformationRunRequestRequestBody) UnmarshalJSON(data []byte) error
type TransformationRunRequestRequestBodyVisitor ¶ added in v0.0.29
type TransformationRunRequestRequestBodyVisitor interface {
VisitTransformationRunRequestRequestBodyZero(*TransformationRunRequestRequestBodyZero) error
VisitString(string) error
}
type TransformationRunRequestRequestBodyZero ¶ added in v0.0.29
type TransformationRunRequestRequestBodyZero struct {
}
type TransformationRunRequestRequestParsedQuery ¶ added in v0.0.29
type TransformationRunRequestRequestParsedQuery struct {
}
JSON representation of the query params
type TransformationUpdateRequest ¶ added in v0.0.29
type TransformationUpdateRequest struct {
// A unique, human-friendly name for the transformation <span style="white-space: nowrap">`<= 155 characters`</span>
Name *core.Optional[string] `json:"name,omitempty"`
// JavaScript code to be executed
Code *core.Optional[string] `json:"code,omitempty"`
// Key-value environment variables to be passed to the transformation
Env *core.Optional[map[string]string] `json:"env,omitempty"`
}
type TransformationUpsertRequest ¶ added in v0.0.29
type TransformationUpsertRequest struct {
// A unique, human-friendly name for the transformation <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 *core.Optional[map[string]string] `json:"env,omitempty"`
}
type UnprocessableEntityError ¶
type UnprocessableEntityError struct {
*core.APIError
Body *ApiErrorResponse
}
func (*UnprocessableEntityError) MarshalJSON ¶
func (u *UnprocessableEntityError) MarshalJSON() ([]byte, error)
func (*UnprocessableEntityError) UnmarshalJSON ¶
func (u *UnprocessableEntityError) UnmarshalJSON(data []byte) error
func (*UnprocessableEntityError) Unwrap ¶ added in v0.0.28
func (u *UnprocessableEntityError) Unwrap() error
type Verification3DEye ¶ added in v0.0.29
type Verification3DEye struct {
Configs *Verification3DEyeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*Verification3DEye) MarshalJSON ¶ added in v0.0.29
func (v *Verification3DEye) MarshalJSON() ([]byte, error)
func (*Verification3DEye) Type ¶ added in v0.0.29
func (v *Verification3DEye) Type() string
func (*Verification3DEye) UnmarshalJSON ¶ added in v0.0.29
func (v *Verification3DEye) UnmarshalJSON(data []byte) error
type Verification3DEyeConfigs ¶ added in v0.0.29
type Verification3DEyeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for 3dEye. Only included if the ?include=verification.configs query param is present
type VerificationAdyen ¶ added in v0.0.29
type VerificationAdyen struct {
Configs *VerificationAdyenConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationAdyen) MarshalJSON ¶ added in v0.0.29
func (v *VerificationAdyen) MarshalJSON() ([]byte, error)
func (*VerificationAdyen) Type ¶ added in v0.0.29
func (v *VerificationAdyen) Type() string
func (*VerificationAdyen) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationAdyen) UnmarshalJSON(data []byte) error
type VerificationAdyenConfigs ¶ added in v0.0.29
type VerificationAdyenConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Adyen. Only included if the ?include=verification.configs query param is present
type VerificationAkeneo ¶ added in v0.0.29
type VerificationAkeneo struct {
Configs *VerificationAkeneoConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationAkeneo) MarshalJSON ¶ added in v0.0.29
func (v *VerificationAkeneo) MarshalJSON() ([]byte, error)
func (*VerificationAkeneo) Type ¶ added in v0.0.29
func (v *VerificationAkeneo) Type() string
func (*VerificationAkeneo) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationAkeneo) UnmarshalJSON(data []byte) error
type VerificationAkeneoConfigs ¶ added in v0.0.29
type VerificationAkeneoConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Akeneo. Only included if the ?include=verification.configs query param is present
type VerificationApiKey ¶ added in v0.0.29
type VerificationApiKey struct {
Configs *VerificationApiKeyConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationApiKey) MarshalJSON ¶ added in v0.0.29
func (v *VerificationApiKey) MarshalJSON() ([]byte, error)
func (*VerificationApiKey) Type ¶ added in v0.0.29
func (v *VerificationApiKey) Type() string
func (*VerificationApiKey) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationApiKey) UnmarshalJSON(data []byte) error
type VerificationApiKeyConfigs ¶ added in v0.0.29
type VerificationApiKeyConfigs struct {
HeaderKey string `json:"header_key"`
ApiKey string `json:"api_key"`
}
The verification configs for API Key. Only included if the ?include=verification.configs query param is present
type VerificationAwssns ¶ added in v0.0.29
type VerificationAwssns struct {
Configs *VerificationAwssnsConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationAwssns) MarshalJSON ¶ added in v0.0.29
func (v *VerificationAwssns) MarshalJSON() ([]byte, error)
func (*VerificationAwssns) Type ¶ added in v0.0.29
func (v *VerificationAwssns) Type() string
func (*VerificationAwssns) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationAwssns) UnmarshalJSON(data []byte) error
type VerificationAwssnsConfigs ¶ added in v0.0.29
type VerificationAwssnsConfigs struct {
}
The verification configs for AWS SNS. Only included if the ?include=verification.configs query param is present
type VerificationBasicAuth ¶ added in v0.0.29
type VerificationBasicAuth struct {
Configs *VerificationBasicAuthConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationBasicAuth) MarshalJSON ¶ added in v0.0.29
func (v *VerificationBasicAuth) MarshalJSON() ([]byte, error)
func (*VerificationBasicAuth) Type ¶ added in v0.0.29
func (v *VerificationBasicAuth) Type() string
func (*VerificationBasicAuth) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationBasicAuth) UnmarshalJSON(data []byte) error
type VerificationBasicAuthConfigs ¶ added in v0.0.29
type VerificationBasicAuthConfigs struct {
Name string `json:"name"`
Password string `json:"password"`
}
The verification configs for Basic Auth. Only included if the ?include=verification.configs query param is present
type VerificationCommercelayer ¶ added in v0.0.29
type VerificationCommercelayer struct {
Configs *VerificationCommercelayerConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationCommercelayer) MarshalJSON ¶ added in v0.0.29
func (v *VerificationCommercelayer) MarshalJSON() ([]byte, error)
func (*VerificationCommercelayer) Type ¶ added in v0.0.29
func (v *VerificationCommercelayer) Type() string
func (*VerificationCommercelayer) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationCommercelayer) UnmarshalJSON(data []byte) error
type VerificationCommercelayerConfigs ¶ added in v0.0.29
type VerificationCommercelayerConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Commercelayer. Only included if the ?include=verification.configs query param is present
type VerificationConfig ¶
type VerificationConfig struct {
VerificationHmac *VerificationHmac
VerificationBasicAuth *VerificationBasicAuth
VerificationApiKey *VerificationApiKey
VerificationTwitter *VerificationTwitter
VerificationStripe *VerificationStripe
VerificationRecharge *VerificationRecharge
VerificationGitHub *VerificationGitHub
VerificationShopify *VerificationShopify
VerificationPostmark *VerificationPostmark
VerificationTypeform *VerificationTypeform
VerificationXero *VerificationXero
VerificationSvix *VerificationSvix
VerificationZoom *VerificationZoom
VerificationAkeneo *VerificationAkeneo
VerificationAdyen *VerificationAdyen
VerificationGitLab *VerificationGitLab
VerificationPropertyFinder *VerificationPropertyFinder
VerificationWooCommerce *VerificationWooCommerce
VerificationOura *VerificationOura
VerificationCommercelayer *VerificationCommercelayer
VerificationMailgun *VerificationMailgun
VerificationPipedrive *VerificationPipedrive
VerificationSendGrid *VerificationSendGrid
VerificationWorkOs *VerificationWorkOs
VerificationSynctera *VerificationSynctera
VerificationAwssns *VerificationAwssns
Verification3DEye *Verification3DEye
// contains filtered or unexported fields
}
The verification configs for the specific verification type
func NewVerificationConfigFromVerification3DEye ¶ added in v0.0.29
func NewVerificationConfigFromVerification3DEye(value *Verification3DEye) *VerificationConfig
func NewVerificationConfigFromVerificationAdyen ¶ added in v0.0.29
func NewVerificationConfigFromVerificationAdyen(value *VerificationAdyen) *VerificationConfig
func NewVerificationConfigFromVerificationAkeneo ¶ added in v0.0.29
func NewVerificationConfigFromVerificationAkeneo(value *VerificationAkeneo) *VerificationConfig
func NewVerificationConfigFromVerificationApiKey ¶ added in v0.0.29
func NewVerificationConfigFromVerificationApiKey(value *VerificationApiKey) *VerificationConfig
func NewVerificationConfigFromVerificationAwssns ¶ added in v0.0.29
func NewVerificationConfigFromVerificationAwssns(value *VerificationAwssns) *VerificationConfig
func NewVerificationConfigFromVerificationBasicAuth ¶ added in v0.0.29
func NewVerificationConfigFromVerificationBasicAuth(value *VerificationBasicAuth) *VerificationConfig
func NewVerificationConfigFromVerificationCommercelayer ¶ added in v0.0.29
func NewVerificationConfigFromVerificationCommercelayer(value *VerificationCommercelayer) *VerificationConfig
func NewVerificationConfigFromVerificationGitHub ¶ added in v0.0.29
func NewVerificationConfigFromVerificationGitHub(value *VerificationGitHub) *VerificationConfig
func NewVerificationConfigFromVerificationGitLab ¶ added in v0.0.29
func NewVerificationConfigFromVerificationGitLab(value *VerificationGitLab) *VerificationConfig
func NewVerificationConfigFromVerificationHmac ¶ added in v0.0.29
func NewVerificationConfigFromVerificationHmac(value *VerificationHmac) *VerificationConfig
func NewVerificationConfigFromVerificationMailgun ¶ added in v0.0.29
func NewVerificationConfigFromVerificationMailgun(value *VerificationMailgun) *VerificationConfig
func NewVerificationConfigFromVerificationOura ¶ added in v0.0.29
func NewVerificationConfigFromVerificationOura(value *VerificationOura) *VerificationConfig
func NewVerificationConfigFromVerificationPipedrive ¶ added in v0.0.29
func NewVerificationConfigFromVerificationPipedrive(value *VerificationPipedrive) *VerificationConfig
func NewVerificationConfigFromVerificationPostmark ¶ added in v0.0.29
func NewVerificationConfigFromVerificationPostmark(value *VerificationPostmark) *VerificationConfig
func NewVerificationConfigFromVerificationPropertyFinder ¶ added in v0.0.29
func NewVerificationConfigFromVerificationPropertyFinder(value *VerificationPropertyFinder) *VerificationConfig
func NewVerificationConfigFromVerificationRecharge ¶ added in v0.0.29
func NewVerificationConfigFromVerificationRecharge(value *VerificationRecharge) *VerificationConfig
func NewVerificationConfigFromVerificationSendGrid ¶ added in v0.0.29
func NewVerificationConfigFromVerificationSendGrid(value *VerificationSendGrid) *VerificationConfig
func NewVerificationConfigFromVerificationShopify ¶ added in v0.0.29
func NewVerificationConfigFromVerificationShopify(value *VerificationShopify) *VerificationConfig
func NewVerificationConfigFromVerificationStripe ¶ added in v0.0.29
func NewVerificationConfigFromVerificationStripe(value *VerificationStripe) *VerificationConfig
func NewVerificationConfigFromVerificationSvix ¶ added in v0.0.29
func NewVerificationConfigFromVerificationSvix(value *VerificationSvix) *VerificationConfig
func NewVerificationConfigFromVerificationSynctera ¶ added in v0.0.29
func NewVerificationConfigFromVerificationSynctera(value *VerificationSynctera) *VerificationConfig
func NewVerificationConfigFromVerificationTwitter ¶ added in v0.0.29
func NewVerificationConfigFromVerificationTwitter(value *VerificationTwitter) *VerificationConfig
func NewVerificationConfigFromVerificationTypeform ¶ added in v0.0.29
func NewVerificationConfigFromVerificationTypeform(value *VerificationTypeform) *VerificationConfig
func NewVerificationConfigFromVerificationWooCommerce ¶ added in v0.0.29
func NewVerificationConfigFromVerificationWooCommerce(value *VerificationWooCommerce) *VerificationConfig
func NewVerificationConfigFromVerificationWorkOs ¶ added in v0.0.29
func NewVerificationConfigFromVerificationWorkOs(value *VerificationWorkOs) *VerificationConfig
func NewVerificationConfigFromVerificationXero ¶ added in v0.0.29
func NewVerificationConfigFromVerificationXero(value *VerificationXero) *VerificationConfig
func NewVerificationConfigFromVerificationZoom ¶ added in v0.0.29
func NewVerificationConfigFromVerificationZoom(value *VerificationZoom) *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 {
VisitVerificationHmac(*VerificationHmac) error
VisitVerificationBasicAuth(*VerificationBasicAuth) error
VisitVerificationApiKey(*VerificationApiKey) error
VisitVerificationTwitter(*VerificationTwitter) error
VisitVerificationStripe(*VerificationStripe) error
VisitVerificationRecharge(*VerificationRecharge) error
VisitVerificationGitHub(*VerificationGitHub) error
VisitVerificationShopify(*VerificationShopify) error
VisitVerificationPostmark(*VerificationPostmark) error
VisitVerificationTypeform(*VerificationTypeform) error
VisitVerificationXero(*VerificationXero) error
VisitVerificationSvix(*VerificationSvix) error
VisitVerificationZoom(*VerificationZoom) error
VisitVerificationAkeneo(*VerificationAkeneo) error
VisitVerificationAdyen(*VerificationAdyen) error
VisitVerificationGitLab(*VerificationGitLab) error
VisitVerificationPropertyFinder(*VerificationPropertyFinder) error
VisitVerificationWooCommerce(*VerificationWooCommerce) error
VisitVerificationOura(*VerificationOura) error
VisitVerificationCommercelayer(*VerificationCommercelayer) error
VisitVerificationMailgun(*VerificationMailgun) error
VisitVerificationPipedrive(*VerificationPipedrive) error
VisitVerificationSendGrid(*VerificationSendGrid) error
VisitVerificationWorkOs(*VerificationWorkOs) error
VisitVerificationSynctera(*VerificationSynctera) error
VisitVerificationAwssns(*VerificationAwssns) error
VisitVerification3DEye(*Verification3DEye) error
}
type VerificationGitHub ¶ added in v0.0.29
type VerificationGitHub struct {
Configs *VerificationGitHubConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationGitHub) MarshalJSON ¶ added in v0.0.29
func (v *VerificationGitHub) MarshalJSON() ([]byte, error)
func (*VerificationGitHub) Type ¶ added in v0.0.29
func (v *VerificationGitHub) Type() string
func (*VerificationGitHub) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationGitHub) UnmarshalJSON(data []byte) error
type VerificationGitHubConfigs ¶ added in v0.0.29
type VerificationGitHubConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for GitHub. Only included if the ?include=verification.configs query param is present
type VerificationGitLab ¶ added in v0.0.29
type VerificationGitLab struct {
Configs *VerificationGitLabConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationGitLab) MarshalJSON ¶ added in v0.0.29
func (v *VerificationGitLab) MarshalJSON() ([]byte, error)
func (*VerificationGitLab) Type ¶ added in v0.0.29
func (v *VerificationGitLab) Type() string
func (*VerificationGitLab) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationGitLab) UnmarshalJSON(data []byte) error
type VerificationGitLabConfigs ¶ added in v0.0.29
type VerificationGitLabConfigs struct {
ApiKey string `json:"api_key"`
}
The verification configs for GitLab. Only included if the ?include=verification.configs query param is present
type VerificationHmac ¶ added in v0.0.29
type VerificationHmac struct {
Configs *VerificationHmacConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationHmac) MarshalJSON ¶ added in v0.0.29
func (v *VerificationHmac) MarshalJSON() ([]byte, error)
func (*VerificationHmac) Type ¶ added in v0.0.29
func (v *VerificationHmac) Type() string
func (*VerificationHmac) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationHmac) UnmarshalJSON(data []byte) error
type VerificationHmacConfigs ¶ added in v0.0.29
type VerificationHmacConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding VerificationHmacConfigsEncoding `json:"encoding,omitempty"`
}
The verification configs for HMAC. Only included if the ?include=verification.configs query param is present
type VerificationHmacConfigsEncoding ¶ added in v0.0.29
type VerificationHmacConfigsEncoding string
const ( VerificationHmacConfigsEncodingBase64 VerificationHmacConfigsEncoding = "base64" VerificationHmacConfigsEncodingHex VerificationHmacConfigsEncoding = "hex" )
func NewVerificationHmacConfigsEncodingFromString ¶ added in v0.0.29
func NewVerificationHmacConfigsEncodingFromString(s string) (VerificationHmacConfigsEncoding, error)
func (VerificationHmacConfigsEncoding) Ptr ¶ added in v0.0.29
func (v VerificationHmacConfigsEncoding) Ptr() *VerificationHmacConfigsEncoding
type VerificationMailgun ¶ added in v0.0.29
type VerificationMailgun struct {
Configs *VerificationMailgunConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationMailgun) MarshalJSON ¶ added in v0.0.29
func (v *VerificationMailgun) MarshalJSON() ([]byte, error)
func (*VerificationMailgun) Type ¶ added in v0.0.29
func (v *VerificationMailgun) Type() string
func (*VerificationMailgun) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationMailgun) UnmarshalJSON(data []byte) error
type VerificationMailgunConfigs ¶ added in v0.0.29
type VerificationMailgunConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Mailgun. Only included if the ?include=verification.configs query param is present
type VerificationOura ¶ added in v0.0.29
type VerificationOura struct {
Configs *VerificationOuraConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationOura) MarshalJSON ¶ added in v0.0.29
func (v *VerificationOura) MarshalJSON() ([]byte, error)
func (*VerificationOura) Type ¶ added in v0.0.29
func (v *VerificationOura) Type() string
func (*VerificationOura) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationOura) UnmarshalJSON(data []byte) error
type VerificationOuraConfigs ¶ added in v0.0.29
type VerificationOuraConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Oura. Only included if the ?include=verification.configs query param is present
type VerificationPipedrive ¶ added in v0.0.29
type VerificationPipedrive struct {
Configs *VerificationPipedriveConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationPipedrive) MarshalJSON ¶ added in v0.0.29
func (v *VerificationPipedrive) MarshalJSON() ([]byte, error)
func (*VerificationPipedrive) Type ¶ added in v0.0.29
func (v *VerificationPipedrive) Type() string
func (*VerificationPipedrive) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationPipedrive) UnmarshalJSON(data []byte) error
type VerificationPipedriveConfigs ¶ added in v0.0.29
type VerificationPipedriveConfigs struct {
Name string `json:"name"`
Password string `json:"password"`
}
The verification configs for Pipedrive. Only included if the ?include=verification.configs query param is present
type VerificationPostmark ¶ added in v0.0.29
type VerificationPostmark struct {
Configs *VerificationPostmarkConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationPostmark) MarshalJSON ¶ added in v0.0.29
func (v *VerificationPostmark) MarshalJSON() ([]byte, error)
func (*VerificationPostmark) Type ¶ added in v0.0.29
func (v *VerificationPostmark) Type() string
func (*VerificationPostmark) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationPostmark) UnmarshalJSON(data []byte) error
type VerificationPostmarkConfigs ¶ added in v0.0.29
type VerificationPostmarkConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Postmark. Only included if the ?include=verification.configs query param is present
type VerificationPropertyFinder ¶ added in v0.0.29
type VerificationPropertyFinder struct {
Configs *VerificationPropertyFinderConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationPropertyFinder) MarshalJSON ¶ added in v0.0.29
func (v *VerificationPropertyFinder) MarshalJSON() ([]byte, error)
func (*VerificationPropertyFinder) Type ¶ added in v0.0.29
func (v *VerificationPropertyFinder) Type() string
func (*VerificationPropertyFinder) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationPropertyFinder) UnmarshalJSON(data []byte) error
type VerificationPropertyFinderConfigs ¶ added in v0.0.29
type VerificationPropertyFinderConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Property Finder. Only included if the ?include=verification.configs query param is present
type VerificationRecharge ¶ added in v0.0.29
type VerificationRecharge struct {
Configs *VerificationRechargeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationRecharge) MarshalJSON ¶ added in v0.0.29
func (v *VerificationRecharge) MarshalJSON() ([]byte, error)
func (*VerificationRecharge) Type ¶ added in v0.0.29
func (v *VerificationRecharge) Type() string
func (*VerificationRecharge) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationRecharge) UnmarshalJSON(data []byte) error
type VerificationRechargeConfigs ¶ added in v0.0.29
type VerificationRechargeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
Algorithm HmacAlgorithms `json:"algorithm,omitempty"`
HeaderKey string `json:"header_key"`
Encoding VerificationRechargeConfigsEncoding `json:"encoding,omitempty"`
}
The verification configs for Recharge. Only included if the ?include=verification.configs query param is present
type VerificationRechargeConfigsEncoding ¶ added in v0.0.29
type VerificationRechargeConfigsEncoding string
const ( VerificationRechargeConfigsEncodingBase64 VerificationRechargeConfigsEncoding = "base64" VerificationRechargeConfigsEncodingHex VerificationRechargeConfigsEncoding = "hex" )
func NewVerificationRechargeConfigsEncodingFromString ¶ added in v0.0.29
func NewVerificationRechargeConfigsEncodingFromString(s string) (VerificationRechargeConfigsEncoding, error)
type VerificationSendGrid ¶ added in v0.0.29
type VerificationSendGrid struct {
Configs *VerificationSendGridConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationSendGrid) MarshalJSON ¶ added in v0.0.29
func (v *VerificationSendGrid) MarshalJSON() ([]byte, error)
func (*VerificationSendGrid) Type ¶ added in v0.0.29
func (v *VerificationSendGrid) Type() string
func (*VerificationSendGrid) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationSendGrid) UnmarshalJSON(data []byte) error
type VerificationSendGridConfigs ¶ added in v0.0.29
type VerificationSendGridConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for SendGrid. Only included if the ?include=verification.configs query param is present
type VerificationShopify ¶ added in v0.0.29
type VerificationShopify struct {
Configs *VerificationShopifyConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationShopify) MarshalJSON ¶ added in v0.0.29
func (v *VerificationShopify) MarshalJSON() ([]byte, error)
func (*VerificationShopify) Type ¶ added in v0.0.29
func (v *VerificationShopify) Type() string
func (*VerificationShopify) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationShopify) UnmarshalJSON(data []byte) error
type VerificationShopifyConfigs ¶ added in v0.0.29
type VerificationShopifyConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
RateLimitPeriod *VerificationShopifyConfigsRateLimitPeriod `json:"rate_limit_period,omitempty"`
RateLimit *float64 `json:"rate_limit,omitempty"`
ApiKey *string `json:"api_key,omitempty"`
ApiSecret *string `json:"api_secret,omitempty"`
Shop *string `json:"shop,omitempty"`
}
The verification configs for Shopify. Only included if the ?include=verification.configs query param is present
type VerificationShopifyConfigsRateLimitPeriod ¶ added in v0.0.29
type VerificationShopifyConfigsRateLimitPeriod string
const ( VerificationShopifyConfigsRateLimitPeriodMinute VerificationShopifyConfigsRateLimitPeriod = "minute" VerificationShopifyConfigsRateLimitPeriodSecond VerificationShopifyConfigsRateLimitPeriod = "second" )
func NewVerificationShopifyConfigsRateLimitPeriodFromString ¶ added in v0.0.29
func NewVerificationShopifyConfigsRateLimitPeriodFromString(s string) (VerificationShopifyConfigsRateLimitPeriod, error)
type VerificationStripe ¶ added in v0.0.29
type VerificationStripe struct {
Configs *VerificationStripeConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationStripe) MarshalJSON ¶ added in v0.0.29
func (v *VerificationStripe) MarshalJSON() ([]byte, error)
func (*VerificationStripe) Type ¶ added in v0.0.29
func (v *VerificationStripe) Type() string
func (*VerificationStripe) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationStripe) UnmarshalJSON(data []byte) error
type VerificationStripeConfigs ¶ added in v0.0.29
type VerificationStripeConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Stripe. Only included if the ?include=verification.configs query param is present
type VerificationSvix ¶ added in v0.0.29
type VerificationSvix struct {
Configs *VerificationSvixConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationSvix) MarshalJSON ¶ added in v0.0.29
func (v *VerificationSvix) MarshalJSON() ([]byte, error)
func (*VerificationSvix) Type ¶ added in v0.0.29
func (v *VerificationSvix) Type() string
func (*VerificationSvix) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationSvix) UnmarshalJSON(data []byte) error
type VerificationSvixConfigs ¶ added in v0.0.29
type VerificationSvixConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Svix. Only included if the ?include=verification.configs query param is present
type VerificationSynctera ¶ added in v0.0.29
type VerificationSynctera struct {
Configs *VerificationSyncteraConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationSynctera) MarshalJSON ¶ added in v0.0.29
func (v *VerificationSynctera) MarshalJSON() ([]byte, error)
func (*VerificationSynctera) Type ¶ added in v0.0.29
func (v *VerificationSynctera) Type() string
func (*VerificationSynctera) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationSynctera) UnmarshalJSON(data []byte) error
type VerificationSyncteraConfigs ¶ added in v0.0.29
type VerificationSyncteraConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Synctera. Only included if the ?include=verification.configs query param is present
type VerificationTwitter ¶ added in v0.0.29
type VerificationTwitter struct {
Configs *VerificationTwitterConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationTwitter) MarshalJSON ¶ added in v0.0.29
func (v *VerificationTwitter) MarshalJSON() ([]byte, error)
func (*VerificationTwitter) Type ¶ added in v0.0.29
func (v *VerificationTwitter) Type() string
func (*VerificationTwitter) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationTwitter) UnmarshalJSON(data []byte) error
type VerificationTwitterConfigs ¶ added in v0.0.29
type VerificationTwitterConfigs struct {
ApiKey string `json:"api_key"`
}
The verification configs for Twitter. Only included if the ?include=verification.configs query param is present
type VerificationTypeform ¶ added in v0.0.29
type VerificationTypeform struct {
Configs *VerificationTypeformConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationTypeform) MarshalJSON ¶ added in v0.0.29
func (v *VerificationTypeform) MarshalJSON() ([]byte, error)
func (*VerificationTypeform) Type ¶ added in v0.0.29
func (v *VerificationTypeform) Type() string
func (*VerificationTypeform) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationTypeform) UnmarshalJSON(data []byte) error
type VerificationTypeformConfigs ¶ added in v0.0.29
type VerificationTypeformConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Typeform. Only included if the ?include=verification.configs query param is present
type VerificationWooCommerce ¶ added in v0.0.29
type VerificationWooCommerce struct {
Configs *VerificationWooCommerceConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationWooCommerce) MarshalJSON ¶ added in v0.0.29
func (v *VerificationWooCommerce) MarshalJSON() ([]byte, error)
func (*VerificationWooCommerce) Type ¶ added in v0.0.29
func (v *VerificationWooCommerce) Type() string
func (*VerificationWooCommerce) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationWooCommerce) UnmarshalJSON(data []byte) error
type VerificationWooCommerceConfigs ¶ added in v0.0.29
type VerificationWooCommerceConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for WooCommerce. Only included if the ?include=verification.configs query param is present
type VerificationWorkOs ¶ added in v0.0.29
type VerificationWorkOs struct {
Configs *VerificationWorkOsConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationWorkOs) MarshalJSON ¶ added in v0.0.29
func (v *VerificationWorkOs) MarshalJSON() ([]byte, error)
func (*VerificationWorkOs) Type ¶ added in v0.0.29
func (v *VerificationWorkOs) Type() string
func (*VerificationWorkOs) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationWorkOs) UnmarshalJSON(data []byte) error
type VerificationWorkOsConfigs ¶ added in v0.0.29
type VerificationWorkOsConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for WorkOS. Only included if the ?include=verification.configs query param is present
type VerificationXero ¶ added in v0.0.29
type VerificationXero struct {
Configs *VerificationXeroConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationXero) MarshalJSON ¶ added in v0.0.29
func (v *VerificationXero) MarshalJSON() ([]byte, error)
func (*VerificationXero) Type ¶ added in v0.0.29
func (v *VerificationXero) Type() string
func (*VerificationXero) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationXero) UnmarshalJSON(data []byte) error
type VerificationXeroConfigs ¶ added in v0.0.29
type VerificationXeroConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Xero. Only included if the ?include=verification.configs query param is present
type VerificationZoom ¶ added in v0.0.29
type VerificationZoom struct {
Configs *VerificationZoomConfigs `json:"configs,omitempty"`
// contains filtered or unexported fields
}
func (*VerificationZoom) MarshalJSON ¶ added in v0.0.29
func (v *VerificationZoom) MarshalJSON() ([]byte, error)
func (*VerificationZoom) Type ¶ added in v0.0.29
func (v *VerificationZoom) Type() string
func (*VerificationZoom) UnmarshalJSON ¶ added in v0.0.29
func (v *VerificationZoom) UnmarshalJSON(data []byte) error
type VerificationZoomConfigs ¶ added in v0.0.29
type VerificationZoomConfigs struct {
WebhookSecretKey string `json:"webhook_secret_key"`
}
The verification configs for Zoom. Only included if the ?include=verification.configs query param is present