Documentation
¶
Index ¶
- func Int32(i int32) *int32
- func NullableBool(b *bool) *openapi.NullableBool
- func NullableInt32(num *int32) *openapi.NullableInt32
- func NullableInt64(num *int64) *openapi.NullableInt64
- func NullableString(s *string) *openapi.NullableString
- func StaticNullableString(s string) openapi.NullableString
- func String(s string) *string
- type AggregateEventTypesOut
- type AppPortalAccessIn
- type AppPortalAccessOut
- type AppUsageStatsIn
- type AppUsageStatsOut
- type Application
- func (a *Application) Create(ctx context.Context, applicationIn *ApplicationIn) (*ApplicationOut, error)
- func (a *Application) CreateWithOptions(ctx context.Context, applicationIn *ApplicationIn, options *PostOptions) (*ApplicationOut, error)
- func (a *Application) Delete(ctx context.Context, appId string) error
- func (a *Application) Get(ctx context.Context, appId string) (*ApplicationOut, error)
- func (a *Application) GetOrCreate(ctx context.Context, applicationIn *ApplicationIn) (*ApplicationOut, error)
- func (a *Application) GetOrCreateWithOptions(ctx context.Context, applicationIn *ApplicationIn, options *PostOptions) (*ApplicationOut, error)
- func (a *Application) List(ctx context.Context, options *ApplicationListOptions) (*ListResponseApplicationOut, error)
- func (a *Application) Patch(ctx context.Context, appId string, applicationPatch *ApplicationPatch) (*ApplicationOut, error)
- func (a *Application) Update(ctx context.Context, appId string, applicationIn *ApplicationIn) (*ApplicationOut, error)
- type ApplicationIn
- type ApplicationListOptions
- type ApplicationOut
- type ApplicationPatch
- type Authentication
- func (a *Authentication) AppPortalAccess(ctx context.Context, appId string, appPortalAccessIn *AppPortalAccessIn) (*AppPortalAccessOut, error)
- func (a *Authentication) AppPortalAccessWithOptions(ctx context.Context, appId string, appPortalAccessIn *AppPortalAccessIn, ...) (*AppPortalAccessOut, error)
- func (a *Authentication) DashboardAccess(ctx context.Context, appId string) (*DashboardAccessOut, error)
- func (a *Authentication) DashboardAccessWithOptions(ctx context.Context, appId string, options *PostOptions) (*DashboardAccessOut, error)
- func (a *Authentication) Logout(ctx context.Context) error
- func (a *Authentication) LogoutWithOptions(ctx context.Context, options *PostOptions) error
- type BackgroundTask
- type BackgroundTaskListOptions
- type BackgroundTaskOut
- type DashboardAccessOut
- type Endpoint
- func (e *Endpoint) Create(ctx context.Context, appId string, endpointIn *EndpointIn) (*EndpointOut, error)
- func (e *Endpoint) CreateWithOptions(ctx context.Context, appId string, endpointIn *EndpointIn, ...) (*EndpointOut, error)
- func (e *Endpoint) Delete(ctx context.Context, appId string, endpointId string) error
- func (e *Endpoint) Get(ctx context.Context, appId string, endpointId string) (*EndpointOut, error)
- func (e *Endpoint) GetHeaders(ctx context.Context, appId string, endpointId string) (*EndpointHeadersOut, error)
- func (e *Endpoint) GetSecret(ctx context.Context, appId string, endpointId string) (*EndpointSecretOut, error)
- func (e *Endpoint) GetStats(ctx context.Context, appId string, endpointId string) (*EndpointStats, error)
- func (e *Endpoint) GetStatsWithOptions(ctx context.Context, appId string, endpointId string, ...) (*EndpointStats, error)
- func (e *Endpoint) List(ctx context.Context, appId string, options *EndpointListOptions) (*ListResponseEndpointOut, error)
- func (e *Endpoint) Patch(ctx context.Context, appId string, endpointId string, ...) (*EndpointOut, error)
- func (e *Endpoint) PatchHeaders(ctx context.Context, appId string, endpointId string, ...) error
- func (e *Endpoint) Recover(ctx context.Context, appId string, endpointId string, recoverIn *RecoverIn) (*RecoverOut, error)
- func (e *Endpoint) RecoverWithOptions(ctx context.Context, appId string, endpointId string, recoverIn *RecoverIn, ...) (*RecoverOut, error)
- func (e *Endpoint) ReplayMissing(ctx context.Context, appId string, endpointId string, replayIn *ReplayIn) (*ReplayOut, error)
- func (e *Endpoint) ReplayMissingWithOptions(ctx context.Context, appId string, endpointId string, replayIn *ReplayIn, ...) (*ReplayOut, error)
- func (e *Endpoint) RotateSecret(ctx context.Context, appId string, endpointId string, ...) error
- func (e *Endpoint) RotateSecretWithOptions(ctx context.Context, appId string, endpointId string, ...) error
- func (e *Endpoint) SendExample(ctx context.Context, appId string, endpointId string, ...) (*MessageOut, error)
- func (e *Endpoint) SendExampleWithOptions(ctx context.Context, appId string, endpointId string, ...) (*MessageOut, error)
- func (e *Endpoint) TransformationGet(ctx context.Context, appId string, endpointId string) (*EndpointTransformationOut, error)
- func (e *Endpoint) TransformationPartialUpdate(ctx context.Context, appId string, endpointId string, ...) error
- func (e *Endpoint) Update(ctx context.Context, appId string, endpointId string, ...) (*EndpointOut, error)
- func (e *Endpoint) UpdateHeaders(ctx context.Context, appId string, endpointId string, ...) error
- type EndpointHeadersIn
- type EndpointHeadersOut
- type EndpointHeadersPatchIn
- type EndpointIn
- type EndpointListOptions
- type EndpointMessageOut
- type EndpointOut
- type EndpointPatch
- type EndpointSecretOut
- type EndpointSecretRotateIn
- type EndpointStats
- type EndpointStatsOptions
- type EndpointTransformationIn
- type EndpointTransformationOut
- type EndpointUpdate
- type Error
- type EventExampleIn
- type EventType
- func (e *EventType) Create(ctx context.Context, eventTypeIn *EventTypeIn) (*EventTypeOut, error)
- func (e *EventType) CreateWithOptions(ctx context.Context, eventTypeIn *EventTypeIn, options *PostOptions) (*EventTypeOut, error)
- func (e *EventType) Delete(ctx context.Context, eventTypeName string) error
- func (e *EventType) DeleteWithOptions(ctx context.Context, eventTypeName string, options *EventTypeDeleteOptions) error
- func (e *EventType) Get(ctx context.Context, eventTypeName string) (*EventTypeOut, error)
- func (e *EventType) ImportOpenApi(ctx context.Context, eventTypeImportOpenApiIn EventTypeImportOpenApiIn) (*EventTypeImportOpenApiOut, error)
- func (e *EventType) ImportOpenApiWithOptions(ctx context.Context, eventTypeImportOpenApiIn EventTypeImportOpenApiIn, ...) (*EventTypeImportOpenApiOut, error)
- func (e *EventType) List(ctx context.Context, options *EventTypeListOptions) (*ListResponseEventTypeOut, error)
- func (e *EventType) Patch(ctx context.Context, eventTypeName string, eventTypePatch *EventTypePatch) (*EventTypeOut, error)
- func (e *EventType) Update(ctx context.Context, eventTypeName string, eventTypeUpdate *EventTypeUpdate) (*EventTypeOut, error)
- type EventTypeDeleteOptions
- type EventTypeImportOpenApiIn
- type EventTypeImportOpenApiOut
- type EventTypeImportOpenApiOutData
- type EventTypeIn
- type EventTypeListOptions
- type EventTypeOut
- type EventTypePatch
- type EventTypeUpdate
- type Integration
- func (e *Integration) Create(ctx context.Context, appId string, endpointIn *IntegrationIn) (*IntegrationOut, error)
- func (e *Integration) CreateWithOptions(ctx context.Context, appId string, endpointIn *IntegrationIn, ...) (*IntegrationOut, error)
- func (e *Integration) Delete(ctx context.Context, appId string, integId string) error
- func (e *Integration) Get(ctx context.Context, appId string, integId string) (*IntegrationOut, error)
- func (e *Integration) GetKey(ctx context.Context, appId string, integId string) (*IntegrationKeyOut, error)
- func (e *Integration) List(ctx context.Context, appId string, options *IntegrationListOptions) (*ListResponseIntegrationOut, error)
- func (e *Integration) RotateKey(ctx context.Context, appId string, integId string) (*IntegrationKeyOut, error)
- func (e *Integration) RotateKeyWithOptions(ctx context.Context, appId string, integId string, options *PostOptions) (*IntegrationKeyOut, error)
- func (e *Integration) Update(ctx context.Context, appId string, integId string, ...) (*IntegrationOut, error)
- type IntegrationIn
- type IntegrationKeyOut
- type IntegrationListOptions
- type IntegrationOut
- type IntegrationUpdate
- type ListResponseApplicationOut
- type ListResponseBackgroundTaskOut
- type ListResponseEndpointMessageOut
- type ListResponseEndpointOut
- type ListResponseEventTypeOut
- type ListResponseIntegrationOut
- type ListResponseMessageAttemptEndpointOut
- type ListResponseMessageAttemptOut
- type ListResponseMessageEndpointOut
- type ListResponseMessageOut
- type ListResponseOperationalWebhookEndpointOut
- type Message
- func (m *Message) Create(ctx context.Context, appId string, messageIn *MessageIn) (*MessageOut, error)
- func (m *Message) CreateWithOptions(ctx context.Context, appId string, messageIn *MessageIn, options *PostOptions) (*MessageOut, error)
- func (m *Message) ExpungeContent(ctx context.Context, appId string, msgId string) error
- func (m *Message) Get(ctx context.Context, appId string, msgId string) (*MessageOut, error)
- func (m *Message) List(ctx context.Context, appId string, options *MessageListOptions) (*ListResponseMessageOut, error)
- type MessageAttempt
- func (m *MessageAttempt) ExpungeContent(ctx context.Context, appId string, msgId string, attemptId string) error
- func (m *MessageAttempt) Get(ctx context.Context, appId string, msgId string, attemptID string) (*MessageAttemptOut, error)
- func (m *MessageAttempt) List(ctx context.Context, appId string, msgId string, ...) (*ListResponseMessageAttemptOut, error)deprecated
- func (m *MessageAttempt) ListAttemptedDestinations(ctx context.Context, appId string, msgId string, ...) (*ListResponseMessageEndpointOut, error)
- func (m *MessageAttempt) ListAttemptedMessages(ctx context.Context, appId string, endpointId string, ...) (*ListResponseEndpointMessageOut, error)
- func (m *MessageAttempt) ListAttemptsForEndpoint(ctx context.Context, appId string, msgId string, endpointId string, ...) (*ListResponseMessageAttemptEndpointOut, error)
- func (m *MessageAttempt) ListByEndpoint(ctx context.Context, appId string, endpointId string, ...) (*ListResponseMessageAttemptOut, error)
- func (m *MessageAttempt) ListByMsg(ctx context.Context, appId string, msgId string, ...) (*ListResponseMessageAttemptOut, error)
- func (m *MessageAttempt) Resend(ctx context.Context, appId string, msgId string, endpointId string) error
- func (m *MessageAttempt) ResendWithOptions(ctx context.Context, appId string, msgId string, endpointId string, ...) error
- type MessageAttemptEndpointOut
- type MessageAttemptListOptions
- type MessageAttemptOut
- type MessageEndpointOut
- type MessageIn
- type MessageListOptions
- type MessageOut
- type MessageStatus
- type OperationalWebhookEndpoint
- func (e *OperationalWebhookEndpoint) Create(ctx context.Context, endpointIn *OperationalWebhookEndpointIn) (*OperationalWebhookEndpointOut, error)
- func (e *OperationalWebhookEndpoint) CreateWithOptions(ctx context.Context, endpointIn *OperationalWebhookEndpointIn, ...) (*OperationalWebhookEndpointOut, error)
- func (e *OperationalWebhookEndpoint) Delete(ctx context.Context, endpointId string) error
- func (e *OperationalWebhookEndpoint) Get(ctx context.Context, endpointId string) (*OperationalWebhookEndpointOut, error)
- func (e *OperationalWebhookEndpoint) GetSecret(ctx context.Context, endpointId string) (*OperationalWebhookEndpointSecretOut, error)
- func (e *OperationalWebhookEndpoint) List(ctx context.Context, options *OperationalWebhookEndpointListOptions) (*ListResponseOperationalWebhookEndpointOut, error)
- func (e *OperationalWebhookEndpoint) RotateSecret(ctx context.Context, endpointId string, ...) error
- func (e *OperationalWebhookEndpoint) RotateSecretWithOptions(ctx context.Context, endpointId string, ...) error
- func (e *OperationalWebhookEndpoint) Update(ctx context.Context, endpointId string, ...) (*OperationalWebhookEndpointOut, error)
- type OperationalWebhookEndpointIn
- type OperationalWebhookEndpointListOptions
- type OperationalWebhookEndpointOut
- type OperationalWebhookEndpointSecretIn
- type OperationalWebhookEndpointSecretOut
- type OperationalWebhookEndpointUpdate
- type Ordering
- type PostOptions
- type RecoverIn
- type RecoverOut
- type ReplayIn
- type ReplayOut
- type Statistics
- type StatusCodeClass
- type Svix
- type SvixOptions
- type Webhook
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NullableBool ¶ added in v1.25.0
func NullableBool(b *bool) *openapi.NullableBool
func NullableInt32 ¶ added in v1.8.0
func NullableInt32(num *int32) *openapi.NullableInt32
func NullableInt64 ¶ added in v1.43.0
func NullableInt64(num *int64) *openapi.NullableInt64
func NullableString ¶ added in v0.64.1
func NullableString(s *string) *openapi.NullableString
func StaticNullableString ¶ added in v1.39.0
func StaticNullableString(s string) openapi.NullableString
Types ¶
type AggregateEventTypesOut ¶ added in v1.14.0
type AggregateEventTypesOut = openapi.AggregateEventTypesOut
type AppPortalAccessIn ¶ added in v0.75.0
type AppPortalAccessIn = openapi.AppPortalAccessIn
type AppPortalAccessOut ¶ added in v0.75.0
type AppPortalAccessOut = openapi.AppPortalAccessOut
type AppUsageStatsIn ¶ added in v1.14.0
type AppUsageStatsIn = openapi.AppUsageStatsIn
type AppUsageStatsOut ¶ added in v1.14.0
type AppUsageStatsOut = openapi.AppUsageStatsOut
type Application ¶
type Application struct {
// contains filtered or unexported fields
}
func (*Application) Create ¶
func (a *Application) Create(ctx context.Context, applicationIn *ApplicationIn) (*ApplicationOut, error)
func (*Application) CreateWithOptions ¶ added in v0.51.0
func (a *Application) CreateWithOptions(ctx context.Context, applicationIn *ApplicationIn, options *PostOptions) (*ApplicationOut, error)
func (*Application) Get ¶
func (a *Application) Get(ctx context.Context, appId string) (*ApplicationOut, error)
func (*Application) GetOrCreate ¶ added in v0.52.0
func (a *Application) GetOrCreate(ctx context.Context, applicationIn *ApplicationIn) (*ApplicationOut, error)
func (*Application) GetOrCreateWithOptions ¶ added in v0.52.0
func (a *Application) GetOrCreateWithOptions(ctx context.Context, applicationIn *ApplicationIn, options *PostOptions) (*ApplicationOut, error)
func (*Application) List ¶
func (a *Application) List(ctx context.Context, options *ApplicationListOptions) (*ListResponseApplicationOut, error)
func (*Application) Patch ¶ added in v1.6.0
func (a *Application) Patch(ctx context.Context, appId string, applicationPatch *ApplicationPatch) (*ApplicationOut, error)
func (*Application) Update ¶
func (a *Application) Update(ctx context.Context, appId string, applicationIn *ApplicationIn) (*ApplicationOut, error)
type ApplicationIn ¶
type ApplicationIn = openapi.ApplicationIn
type ApplicationListOptions ¶
type ApplicationOut ¶
type ApplicationOut = openapi.ApplicationOut
type ApplicationPatch ¶ added in v1.6.0
type ApplicationPatch = openapi.ApplicationPatch
type Authentication ¶
type Authentication struct {
// contains filtered or unexported fields
}
func (*Authentication) AppPortalAccess ¶ added in v0.75.0
func (a *Authentication) AppPortalAccess(ctx context.Context, appId string, appPortalAccessIn *AppPortalAccessIn) (*AppPortalAccessOut, error)
func (*Authentication) AppPortalAccessWithOptions ¶ added in v0.75.0
func (a *Authentication) AppPortalAccessWithOptions(ctx context.Context, appId string, appPortalAccessIn *AppPortalAccessIn, options *PostOptions) (*AppPortalAccessOut, error)
func (*Authentication) DashboardAccess ¶
func (a *Authentication) DashboardAccess(ctx context.Context, appId string) (*DashboardAccessOut, error)
func (*Authentication) DashboardAccessWithOptions ¶ added in v0.51.0
func (a *Authentication) DashboardAccessWithOptions(ctx context.Context, appId string, options *PostOptions) (*DashboardAccessOut, error)
func (*Authentication) LogoutWithOptions ¶ added in v0.51.0
func (a *Authentication) LogoutWithOptions(ctx context.Context, options *PostOptions) error
type BackgroundTask ¶ added in v1.4.12
type BackgroundTask struct {
// contains filtered or unexported fields
}
func (*BackgroundTask) Get ¶ added in v1.4.12
func (a *BackgroundTask) Get(ctx context.Context, taskId string) (*BackgroundTaskOut, error)
func (*BackgroundTask) List ¶ added in v1.4.12
func (a *BackgroundTask) List(ctx context.Context, options *BackgroundTaskListOptions) (*ListResponseBackgroundTaskOut, error)
type BackgroundTaskListOptions ¶ added in v1.4.12
type BackgroundTaskListOptions struct { Iterator *string Limit *int32 Order *Ordering Status *openapi.BackgroundTaskStatus Task *openapi.BackgroundTaskType }
type BackgroundTaskOut ¶ added in v1.4.12
type BackgroundTaskOut = openapi.BackgroundTaskOut
type DashboardAccessOut ¶
type DashboardAccessOut = openapi.DashboardAccessOut
type Endpoint ¶
type Endpoint struct {
// contains filtered or unexported fields
}
func (*Endpoint) Create ¶
func (e *Endpoint) Create(ctx context.Context, appId string, endpointIn *EndpointIn) (*EndpointOut, error)
func (*Endpoint) CreateWithOptions ¶ added in v0.51.0
func (e *Endpoint) CreateWithOptions(ctx context.Context, appId string, endpointIn *EndpointIn, options *PostOptions) (*EndpointOut, error)
func (*Endpoint) GetHeaders ¶
func (*Endpoint) GetStatsWithOptions ¶ added in v1.4.12
func (e *Endpoint) GetStatsWithOptions(ctx context.Context, appId string, endpointId string, options EndpointStatsOptions) (*EndpointStats, error)
func (*Endpoint) List ¶
func (e *Endpoint) List(ctx context.Context, appId string, options *EndpointListOptions) (*ListResponseEndpointOut, error)
func (*Endpoint) Patch ¶ added in v1.6.0
func (e *Endpoint) Patch(ctx context.Context, appId string, endpointId string, endpointPatch *EndpointPatch) (*EndpointOut, error)
func (*Endpoint) PatchHeaders ¶
func (*Endpoint) RecoverWithOptions ¶ added in v0.51.0
func (e *Endpoint) RecoverWithOptions(ctx context.Context, appId string, endpointId string, recoverIn *RecoverIn, options *PostOptions) (*RecoverOut, error)
func (*Endpoint) ReplayMissing ¶ added in v0.76.1
func (*Endpoint) ReplayMissingWithOptions ¶ added in v0.76.1
func (*Endpoint) RotateSecret ¶
func (*Endpoint) RotateSecretWithOptions ¶ added in v0.51.0
func (e *Endpoint) RotateSecretWithOptions(ctx context.Context, appId string, endpointId string, endpointSecretRotateIn *EndpointSecretRotateIn, options *PostOptions) error
func (*Endpoint) SendExample ¶ added in v0.83.0
func (e *Endpoint) SendExample(ctx context.Context, appId string, endpointId string, eventExampleIn *EventExampleIn) (*MessageOut, error)
func (*Endpoint) SendExampleWithOptions ¶ added in v0.83.0
func (e *Endpoint) SendExampleWithOptions( ctx context.Context, appId string, endpointId string, eventExampleIn *EventExampleIn, options *PostOptions, ) (*MessageOut, error)
func (*Endpoint) TransformationGet ¶ added in v0.76.0
func (*Endpoint) TransformationPartialUpdate ¶ added in v1.14.0
func (*Endpoint) Update ¶
func (e *Endpoint) Update(ctx context.Context, appId string, endpointId string, endpointUpdate *EndpointUpdate) (*EndpointOut, error)
func (*Endpoint) UpdateHeaders ¶
type EndpointHeadersIn ¶
type EndpointHeadersIn = openapi.EndpointHeadersIn
type EndpointHeadersOut ¶
type EndpointHeadersOut = openapi.EndpointHeadersOut
type EndpointHeadersPatchIn ¶ added in v0.57.1
type EndpointHeadersPatchIn = openapi.EndpointHeadersPatchIn
type EndpointIn ¶
type EndpointIn = openapi.EndpointIn
type EndpointListOptions ¶
type EndpointMessageOut ¶ added in v0.83.0
type EndpointMessageOut = openapi.EndpointMessageOut
type EndpointOut ¶
type EndpointOut = openapi.EndpointOut
type EndpointPatch ¶ added in v1.6.0
type EndpointPatch = openapi.EndpointPatch
type EndpointSecretOut ¶
type EndpointSecretOut = openapi.EndpointSecretOut
type EndpointSecretRotateIn ¶
type EndpointSecretRotateIn = openapi.EndpointSecretRotateIn
type EndpointStats ¶ added in v0.66.0
type EndpointStats = openapi.EndpointStats
type EndpointStatsOptions ¶ added in v1.4.12
type EndpointTransformationIn ¶ added in v0.76.0
type EndpointTransformationIn = openapi.EndpointTransformationIn
type EndpointTransformationOut ¶ added in v0.76.0
type EndpointTransformationOut = openapi.EndpointTransformationOut
type EndpointUpdate ¶
type EndpointUpdate = openapi.EndpointUpdate
type Error ¶
type Error struct {
// contains filtered or unexported fields
}
Error provides access to the body, status, and error on returned errors.
type EventExampleIn ¶ added in v0.83.0
type EventExampleIn = openapi.EventExampleIn
type EventType ¶
type EventType struct {
// contains filtered or unexported fields
}
func (*EventType) Create ¶
func (e *EventType) Create(ctx context.Context, eventTypeIn *EventTypeIn) (*EventTypeOut, error)
func (*EventType) CreateWithOptions ¶ added in v0.51.0
func (e *EventType) CreateWithOptions(ctx context.Context, eventTypeIn *EventTypeIn, options *PostOptions) (*EventTypeOut, error)
func (*EventType) DeleteWithOptions ¶ added in v1.13.0
func (*EventType) ImportOpenApi ¶ added in v1.11.0
func (e *EventType) ImportOpenApi(ctx context.Context, eventTypeImportOpenApiIn EventTypeImportOpenApiIn) (*EventTypeImportOpenApiOut, error)
func (*EventType) ImportOpenApiWithOptions ¶ added in v1.11.0
func (e *EventType) ImportOpenApiWithOptions(ctx context.Context, eventTypeImportOpenApiIn EventTypeImportOpenApiIn, options *PostOptions) (*EventTypeImportOpenApiOut, error)
func (*EventType) List ¶
func (e *EventType) List(ctx context.Context, options *EventTypeListOptions) (*ListResponseEventTypeOut, error)
func (*EventType) Patch ¶ added in v1.6.0
func (e *EventType) Patch(ctx context.Context, eventTypeName string, eventTypePatch *EventTypePatch) (*EventTypeOut, error)
func (*EventType) Update ¶
func (e *EventType) Update(ctx context.Context, eventTypeName string, eventTypeUpdate *EventTypeUpdate) (*EventTypeOut, error)
type EventTypeDeleteOptions ¶ added in v1.13.0
type EventTypeDeleteOptions struct {
Expunge *bool
}
type EventTypeImportOpenApiIn ¶ added in v1.11.0
type EventTypeImportOpenApiIn = openapi.EventTypeImportOpenApiIn
type EventTypeImportOpenApiOut ¶ added in v1.11.0
type EventTypeImportOpenApiOut = openapi.EventTypeImportOpenApiOut
type EventTypeImportOpenApiOutData ¶ added in v1.11.0
type EventTypeImportOpenApiOutData = openapi.EventTypeImportOpenApiOutData
type EventTypeIn ¶
type EventTypeIn = openapi.EventTypeIn
type EventTypeListOptions ¶
type EventTypeOut ¶
type EventTypeOut = openapi.EventTypeOut
type EventTypePatch ¶ added in v1.6.0
type EventTypePatch = openapi.EventTypePatch
type EventTypeUpdate ¶
type EventTypeUpdate = openapi.EventTypeUpdate
type Integration ¶
type Integration struct {
// contains filtered or unexported fields
}
func (*Integration) Create ¶
func (e *Integration) Create(ctx context.Context, appId string, endpointIn *IntegrationIn) (*IntegrationOut, error)
func (*Integration) CreateWithOptions ¶ added in v0.51.0
func (e *Integration) CreateWithOptions(ctx context.Context, appId string, endpointIn *IntegrationIn, options *PostOptions) (*IntegrationOut, error)
func (*Integration) Get ¶
func (e *Integration) Get(ctx context.Context, appId string, integId string) (*IntegrationOut, error)
func (*Integration) GetKey ¶
func (e *Integration) GetKey(ctx context.Context, appId string, integId string) (*IntegrationKeyOut, error)
func (*Integration) List ¶
func (e *Integration) List(ctx context.Context, appId string, options *IntegrationListOptions) (*ListResponseIntegrationOut, error)
func (*Integration) RotateKey ¶
func (e *Integration) RotateKey(ctx context.Context, appId string, integId string) (*IntegrationKeyOut, error)
func (*Integration) RotateKeyWithOptions ¶ added in v0.51.0
func (e *Integration) RotateKeyWithOptions(ctx context.Context, appId string, integId string, options *PostOptions) (*IntegrationKeyOut, error)
func (*Integration) Update ¶
func (e *Integration) Update(ctx context.Context, appId string, integId string, endpointUpdate *IntegrationUpdate) (*IntegrationOut, error)
type IntegrationIn ¶
type IntegrationIn = openapi.IntegrationIn
type IntegrationKeyOut ¶
type IntegrationKeyOut = openapi.IntegrationKeyOut
type IntegrationListOptions ¶
type IntegrationOut ¶
type IntegrationOut = openapi.IntegrationOut
type IntegrationUpdate ¶
type IntegrationUpdate = openapi.IntegrationUpdate
type ListResponseApplicationOut ¶
type ListResponseApplicationOut = openapi.ListResponseApplicationOut
type ListResponseBackgroundTaskOut ¶ added in v1.4.12
type ListResponseBackgroundTaskOut = openapi.ListResponseBackgroundTaskOut
type ListResponseEndpointMessageOut ¶
type ListResponseEndpointMessageOut = openapi.ListResponseEndpointMessageOut
type ListResponseEndpointOut ¶
type ListResponseEndpointOut = openapi.ListResponseEndpointOut
type ListResponseEventTypeOut ¶
type ListResponseEventTypeOut = openapi.ListResponseEventTypeOut
type ListResponseIntegrationOut ¶
type ListResponseIntegrationOut = openapi.ListResponseIntegrationOut
type ListResponseMessageAttemptEndpointOut ¶
type ListResponseMessageAttemptEndpointOut = openapi.ListResponseMessageAttemptEndpointOut
type ListResponseMessageAttemptOut ¶
type ListResponseMessageAttemptOut = openapi.ListResponseMessageAttemptOut
type ListResponseMessageEndpointOut ¶
type ListResponseMessageEndpointOut = openapi.ListResponseMessageEndpointOut
type ListResponseMessageOut ¶
type ListResponseMessageOut = openapi.ListResponseMessageOut
type ListResponseOperationalWebhookEndpointOut ¶ added in v1.39.0
type ListResponseOperationalWebhookEndpointOut = openapi.ListResponseOperationalWebhookEndpointOut
type Message ¶
type Message struct {
// contains filtered or unexported fields
}
func (*Message) CreateWithOptions ¶ added in v0.51.0
func (m *Message) CreateWithOptions(ctx context.Context, appId string, messageIn *MessageIn, options *PostOptions) (*MessageOut, error)
func (*Message) ExpungeContent ¶ added in v0.76.0
func (*Message) List ¶
func (m *Message) List(ctx context.Context, appId string, options *MessageListOptions) (*ListResponseMessageOut, error)
type MessageAttempt ¶
type MessageAttempt struct {
// contains filtered or unexported fields
}
func (*MessageAttempt) ExpungeContent ¶ added in v0.76.0
func (*MessageAttempt) Get ¶
func (m *MessageAttempt) Get(ctx context.Context, appId string, msgId string, attemptID string) (*MessageAttemptOut, error)
func (*MessageAttempt) List
deprecated
func (m *MessageAttempt) List(ctx context.Context, appId string, msgId string, options *MessageAttemptListOptions) (*ListResponseMessageAttemptOut, error)
Deprecated: use `ListByMsg` or `ListByEndpoint` instead
func (*MessageAttempt) ListAttemptedDestinations ¶
func (m *MessageAttempt) ListAttemptedDestinations(ctx context.Context, appId string, msgId string, options *MessageAttemptListOptions) (*ListResponseMessageEndpointOut, error)
func (*MessageAttempt) ListAttemptedMessages ¶
func (m *MessageAttempt) ListAttemptedMessages(ctx context.Context, appId string, endpointId string, options *MessageAttemptListOptions) (*ListResponseEndpointMessageOut, error)
func (*MessageAttempt) ListAttemptsForEndpoint ¶
func (m *MessageAttempt) ListAttemptsForEndpoint(ctx context.Context, appId string, msgId string, endpointId string, options *MessageAttemptListOptions) (*ListResponseMessageAttemptEndpointOut, error)
func (*MessageAttempt) ListByEndpoint ¶ added in v0.48.0
func (m *MessageAttempt) ListByEndpoint(ctx context.Context, appId string, endpointId string, options *MessageAttemptListOptions) (*ListResponseMessageAttemptOut, error)
func (*MessageAttempt) ListByMsg ¶ added in v0.48.0
func (m *MessageAttempt) ListByMsg(ctx context.Context, appId string, msgId string, options *MessageAttemptListOptions) (*ListResponseMessageAttemptOut, error)
func (*MessageAttempt) ResendWithOptions ¶ added in v0.51.0
func (m *MessageAttempt) ResendWithOptions(ctx context.Context, appId string, msgId string, endpointId string, options *PostOptions) error
type MessageAttemptEndpointOut ¶ added in v0.83.0
type MessageAttemptEndpointOut = openapi.MessageAttemptEndpointOut
type MessageAttemptOut ¶
type MessageAttemptOut = openapi.MessageAttemptOut
type MessageEndpointOut ¶ added in v0.83.0
type MessageEndpointOut = openapi.MessageEndpointOut
type MessageIn ¶
func NewMessageInRaw ¶ added in v1.43.0
func NewMessageInRaw(eventType string, payload string, contentType openapi.NullableString) *MessageIn
Instantiates a new MessageIn object with a pre-serialized payload.
The payload is not normalized on the server. Normally, payloads are required to be JSON, and Svix will minify the payload before sending the webhook (for example, by removing extraneous whitespace or unnecessarily escaped characters in strings). With this function, the payload will be sent "as is", without any minification or other processing.
The `contentType` parameter can be used to change the `content-type` header of the webhook sent by Svix overriding the default of `application/json`.
See the class documentation for details about the other parameters.
type MessageListOptions ¶
type MessageOut ¶
type MessageOut = openapi.MessageOut
type MessageStatus ¶
type MessageStatus = openapi.MessageStatus
type OperationalWebhookEndpoint ¶ added in v1.39.0
type OperationalWebhookEndpoint struct {
// contains filtered or unexported fields
}
func (*OperationalWebhookEndpoint) Create ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) Create(ctx context.Context, endpointIn *OperationalWebhookEndpointIn) (*OperationalWebhookEndpointOut, error)
func (*OperationalWebhookEndpoint) CreateWithOptions ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) CreateWithOptions(ctx context.Context, endpointIn *OperationalWebhookEndpointIn, options *PostOptions) (*OperationalWebhookEndpointOut, error)
func (*OperationalWebhookEndpoint) Delete ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) Delete(ctx context.Context, endpointId string) error
func (*OperationalWebhookEndpoint) Get ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) Get(ctx context.Context, endpointId string) (*OperationalWebhookEndpointOut, error)
func (*OperationalWebhookEndpoint) GetSecret ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) GetSecret(ctx context.Context, endpointId string) (*OperationalWebhookEndpointSecretOut, error)
func (*OperationalWebhookEndpoint) List ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) List(ctx context.Context, options *OperationalWebhookEndpointListOptions) (*ListResponseOperationalWebhookEndpointOut, error)
func (*OperationalWebhookEndpoint) RotateSecret ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) RotateSecret(ctx context.Context, endpointId string, endpointSecretRotateIn *OperationalWebhookEndpointSecretIn) error
func (*OperationalWebhookEndpoint) RotateSecretWithOptions ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) RotateSecretWithOptions(ctx context.Context, endpointId string, endpointSecretRotateIn *OperationalWebhookEndpointSecretIn, options *PostOptions) error
func (*OperationalWebhookEndpoint) Update ¶ added in v1.39.0
func (e *OperationalWebhookEndpoint) Update(ctx context.Context, endpointId string, endpointUpdate *OperationalWebhookEndpointUpdate) (*OperationalWebhookEndpointOut, error)
type OperationalWebhookEndpointIn ¶ added in v1.39.0
type OperationalWebhookEndpointIn = openapi.OperationalWebhookEndpointIn
type OperationalWebhookEndpointListOptions ¶ added in v1.39.0
type OperationalWebhookEndpointOut ¶ added in v1.39.0
type OperationalWebhookEndpointOut = openapi.OperationalWebhookEndpointOut
type OperationalWebhookEndpointSecretIn ¶ added in v1.39.0
type OperationalWebhookEndpointSecretIn = openapi.OperationalWebhookEndpointSecretIn
type OperationalWebhookEndpointSecretOut ¶ added in v1.39.0
type OperationalWebhookEndpointSecretOut = openapi.OperationalWebhookEndpointSecretOut
type OperationalWebhookEndpointUpdate ¶ added in v1.39.0
type OperationalWebhookEndpointUpdate = openapi.OperationalWebhookEndpointUpdate
type PostOptions ¶ added in v0.51.0
type PostOptions struct {
IdempotencyKey *string
}
type RecoverOut ¶ added in v1.29.0
type RecoverOut = openapi.RecoverOut
type Statistics ¶ added in v1.14.0
type Statistics struct {
// contains filtered or unexported fields
}
func (*Statistics) AggregateAppStats ¶ added in v1.14.0
func (s *Statistics) AggregateAppStats(ctx context.Context, appUsageStatsIn *AppUsageStatsIn, options *PostOptions) (*AppUsageStatsOut, error)
func (*Statistics) AggregateEventTypes ¶ added in v1.14.0
func (s *Statistics) AggregateEventTypes(ctx context.Context) (*AggregateEventTypesOut, error)
type StatusCodeClass ¶ added in v0.50.0
type StatusCodeClass = openapi.StatusCodeClass
type Svix ¶
type Svix struct { Authentication *Authentication Application *Application Endpoint *Endpoint EventType *EventType Integration *Integration Message *Message MessageAttempt *MessageAttempt Statistics *Statistics OperationalWebhookEndpoint *OperationalWebhookEndpoint }
func New ¶
func New(token string, options *SvixOptions) *Svix
type SvixOptions ¶
type Webhook ¶
type Webhook struct {
// contains filtered or unexported fields
}
func NewWebhook ¶
func NewWebhookRaw ¶ added in v0.63.0
func (*Webhook) Verify ¶
Verify validates the payload against the svix signature headers using the webhooks signing secret.
Returns an error if the body or headers are missing/unreadable or if the signature doesn't match.
func (*Webhook) VerifyIgnoringTimestamp ¶
VerifyIgnoringTimestamp validates the payload against the svix signature headers using the webhooks signing secret.
Returns an error if the body or headers are missing/unreadable or if the signature doesn't match.
WARNING: This function does not check the signature's timestamp. We recommend using the `Verify` function instead.