webhooksv1

package
v0.1.12 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Context

type Context struct {
	ID   string      `json:"id"`
	Kind ContextKind `json:"kind"`
}

type ContextKind

type ContextKind string
const (
	ContextKindCustomer ContextKind = "customer"
	ContextKindProject  ContextKind = "project"
)

type ExtensionAddedToContext

type ExtensionAddedToContext struct {
	webhookscommon.Envelope

	ID              string   `json:"id"`
	Context         Context  `json:"context"`
	ConsentedScopes []string `json:"consentedScopes"`
	State           State    `json:"state"`
	Meta            Meta     `json:"meta"`
	Secret          string   `json:"secret"`
}

type ExtensionInstanceRemovedFromContext

type ExtensionInstanceRemovedFromContext struct {
	webhookscommon.Envelope

	ID              string   `json:"id"`
	Context         Context  `json:"context"`
	ConsentedScopes []string `json:"consentedScopes"`
	State           State    `json:"state"`
	Meta            Meta     `json:"meta"`
}

type ExtensionInstanceSecretRotated

type ExtensionInstanceSecretRotated struct {
	webhookscommon.Envelope

	ID      string  `json:"id"`
	Context Context `json:"context"`
	Meta    Meta    `json:"meta"`
	Secret  string  `json:"secret"`
}

type ExtensionInstanceUpdated

type ExtensionInstanceUpdated struct {
	webhookscommon.Envelope

	ID              string   `json:"id"`
	Context         Context  `json:"context"`
	ConsentedScopes []string `json:"consentedScopes"`
	State           State    `json:"state"`
	Meta            Meta     `json:"meta"`
}

type Meta

type Meta struct {
	ExtensionID   string `json:"extensionId"`
	ContributorID string `json:"contributorId"`
}

type State

type State struct {
	Enabled bool `json:"enabled"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL