rpc

package
v1.19.4 Latest Latest
Warning

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

Go to latest
Published: Mar 27, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ListenResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_LOADING",
		2: "STATE_RECONNECTING",
		3: "STATE_READY",
		4: "STATE_DONE",
	}
	ListenResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED":  0,
		"STATE_LOADING":      1,
		"STATE_RECONNECTING": 2,
		"STATE_READY":        3,
		"STATE_DONE":         4,
	}
)

Enum value maps for ListenResponse_State.

View Source
var (
	ListenResponse_EndpointResponse_Data_HttpMethod_name = map[int32]string{
		0: "HTTP_METHOD_UNSPECIFIED",
		1: "HTTP_METHOD_GET",
		2: "HTTP_METHOD_POST",
		3: "HTTP_METHOD_DELETE",
	}
	ListenResponse_EndpointResponse_Data_HttpMethod_value = map[string]int32{
		"HTTP_METHOD_UNSPECIFIED": 0,
		"HTTP_METHOD_GET":         1,
		"HTTP_METHOD_POST":        2,
		"HTTP_METHOD_DELETE":      3,
	}
)

Enum value maps for ListenResponse_EndpointResponse_Data_HttpMethod.

View Source
var (
	LogsTailRequest_Account_name = map[int32]string{
		0: "ACCOUNT_UNSPECIFIED",
		1: "ACCOUNT_CONNECT_IN",
		2: "ACCOUNT_CONNECT_OUT",
		3: "ACCOUNT_SELF",
	}
	LogsTailRequest_Account_value = map[string]int32{
		"ACCOUNT_UNSPECIFIED": 0,
		"ACCOUNT_CONNECT_IN":  1,
		"ACCOUNT_CONNECT_OUT": 2,
		"ACCOUNT_SELF":        3,
	}
)

Enum value maps for LogsTailRequest_Account.

View Source
var (
	LogsTailRequest_HttpMethod_name = map[int32]string{
		0: "HTTP_METHOD_UNSPECIFIED",
		1: "HTTP_METHOD_GET",
		2: "HTTP_METHOD_POST",
		3: "HTTP_METHOD_DELETE",
	}
	LogsTailRequest_HttpMethod_value = map[string]int32{
		"HTTP_METHOD_UNSPECIFIED": 0,
		"HTTP_METHOD_GET":         1,
		"HTTP_METHOD_POST":        2,
		"HTTP_METHOD_DELETE":      3,
	}
)

Enum value maps for LogsTailRequest_HttpMethod.

View Source
var (
	LogsTailRequest_RequestStatus_name = map[int32]string{
		0: "REQUEST_STATUS_UNSPECIFIED",
		1: "REQUEST_STATUS_SUCCEEDED",
		2: "REQUEST_STATUS_FAILED",
	}
	LogsTailRequest_RequestStatus_value = map[string]int32{
		"REQUEST_STATUS_UNSPECIFIED": 0,
		"REQUEST_STATUS_SUCCEEDED":   1,
		"REQUEST_STATUS_FAILED":      2,
	}
)

Enum value maps for LogsTailRequest_RequestStatus.

View Source
var (
	LogsTailRequest_Source_name = map[int32]string{
		0: "SOURCE_UNSPECIFIED",
		1: "SOURCE_API",
		2: "SOURCE_DASHBOARD",
	}
	LogsTailRequest_Source_value = map[string]int32{
		"SOURCE_UNSPECIFIED": 0,
		"SOURCE_API":         1,
		"SOURCE_DASHBOARD":   2,
	}
)

Enum value maps for LogsTailRequest_Source.

View Source
var (
	LogsTailRequest_StatusCodeType_name = map[int32]string{
		0: "STATUS_CODE_TYPE_UNSPECIFIED",
		1: "STATUS_CODE_TYPE_2XX",
		2: "STATUS_CODE_TYPE_4XX",
		3: "STATUS_CODE_TYPE_5XX",
	}
	LogsTailRequest_StatusCodeType_value = map[string]int32{
		"STATUS_CODE_TYPE_UNSPECIFIED": 0,
		"STATUS_CODE_TYPE_2XX":         1,
		"STATUS_CODE_TYPE_4XX":         2,
		"STATUS_CODE_TYPE_5XX":         3,
	}
)

Enum value maps for LogsTailRequest_StatusCodeType.

View Source
var (
	LogsTailResponse_State_name = map[int32]string{
		0: "STATE_UNSPECIFIED",
		1: "STATE_LOADING",
		2: "STATE_RECONNECTING",
		3: "STATE_READY",
		4: "STATE_DONE",
	}
	LogsTailResponse_State_value = map[string]int32{
		"STATE_UNSPECIFIED":  0,
		"STATE_LOADING":      1,
		"STATE_RECONNECTING": 2,
		"STATE_READY":        3,
		"STATE_DONE":         4,
	}
)

Enum value maps for LogsTailResponse_State.

View Source
var File_commands_proto protoreflect.FileDescriptor
View Source
var File_common_proto protoreflect.FileDescriptor
View Source
var File_events_resend_proto protoreflect.FileDescriptor
View Source
var File_fixtures_proto protoreflect.FileDescriptor
View Source
var File_listen_proto protoreflect.FileDescriptor
View Source
var File_login_proto protoreflect.FileDescriptor
View Source
var File_login_status_proto protoreflect.FileDescriptor
View Source
var File_logs_tail_proto protoreflect.FileDescriptor
View Source
var File_sample_configs_proto protoreflect.FileDescriptor
View Source
var File_sample_create_proto protoreflect.FileDescriptor
View Source
var File_samples_list_proto protoreflect.FileDescriptor
View Source
var File_trigger_proto protoreflect.FileDescriptor
View Source
var File_triggers_list_proto protoreflect.FileDescriptor
View Source
var File_version_proto protoreflect.FileDescriptor
View Source
var File_webhook_endpoint_create_proto protoreflect.FileDescriptor
View Source
var File_webhook_endpoints_list_proto protoreflect.FileDescriptor
View Source
var StripeCLI_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "rpc.StripeCLI",
	HandlerType: (*StripeCLIServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "EventsResend",
			Handler:    _StripeCLI_EventsResend_Handler,
		},
		{
			MethodName: "Fixture",
			Handler:    _StripeCLI_Fixture_Handler,
		},
		{
			MethodName: "Login",
			Handler:    _StripeCLI_Login_Handler,
		},
		{
			MethodName: "LoginStatus",
			Handler:    _StripeCLI_LoginStatus_Handler,
		},
		{
			MethodName: "SampleConfigs",
			Handler:    _StripeCLI_SampleConfigs_Handler,
		},
		{
			MethodName: "SampleCreate",
			Handler:    _StripeCLI_SampleCreate_Handler,
		},
		{
			MethodName: "SamplesList",
			Handler:    _StripeCLI_SamplesList_Handler,
		},
		{
			MethodName: "Trigger",
			Handler:    _StripeCLI_Trigger_Handler,
		},
		{
			MethodName: "TriggersList",
			Handler:    _StripeCLI_TriggersList_Handler,
		},
		{
			MethodName: "Version",
			Handler:    _StripeCLI_Version_Handler,
		},
		{
			MethodName: "WebhookEndpointCreate",
			Handler:    _StripeCLI_WebhookEndpointCreate_Handler,
		},
		{
			MethodName: "WebhookEndpointsList",
			Handler:    _StripeCLI_WebhookEndpointsList_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "Listen",
			Handler:       _StripeCLI_Listen_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "LogsTail",
			Handler:       _StripeCLI_LogsTail_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "commands.proto",
}

StripeCLI_ServiceDesc is the grpc.ServiceDesc for StripeCLI service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterStripeCLIServer

func RegisterStripeCLIServer(s grpc.ServiceRegistrar, srv StripeCLIServer)

Types

type EventsResendRequest

type EventsResendRequest struct {

	// The ID of the event to resend.
	EventId string `protobuf:"bytes,1,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// Resend the event to the given Stripe account. This is useful when testing a Connect platform.
	Account string `protobuf:"bytes,2,opt,name=account,proto3" json:"account,omitempty"`
	// Additional data to send with an API request. Supports setting nested values
	// (e.g nested[param]=value).
	Data []string `protobuf:"bytes,3,rep,name=data,proto3" json:"data,omitempty"`
	// Response attributes to expand inline (target nested values with nested[param]=value).
	Expand []string `protobuf:"bytes,4,rep,name=expand,proto3" json:"expand,omitempty"`
	// Set an idempotency key for the request, preventing the same request from replaying within 24
	// hours.
	Idempotency string `protobuf:"bytes,5,opt,name=idempotency,proto3" json:"idempotency,omitempty"`
	// Make a live request (by default, runs in test mode).
	Live bool `protobuf:"varint,6,opt,name=live,proto3" json:"live,omitempty"`
	// Specify the Stripe account to use for this request.
	StripeAccount string `protobuf:"bytes,7,opt,name=stripe_account,json=stripeAccount,proto3" json:"stripe_account,omitempty"`
	// Specify the Stripe API version to use for this request.
	Version string `protobuf:"bytes,8,opt,name=version,proto3" json:"version,omitempty"`
	// Resend the event to the given webhook endpoint ID.
	WebhookEndpoint string `protobuf:"bytes,9,opt,name=webhook_endpoint,json=webhookEndpoint,proto3" json:"webhook_endpoint,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsResendRequest) Descriptor deprecated

func (*EventsResendRequest) Descriptor() ([]byte, []int)

Deprecated: Use EventsResendRequest.ProtoReflect.Descriptor instead.

func (*EventsResendRequest) GetAccount

func (x *EventsResendRequest) GetAccount() string

func (*EventsResendRequest) GetData

func (x *EventsResendRequest) GetData() []string

func (*EventsResendRequest) GetEventId

func (x *EventsResendRequest) GetEventId() string

func (*EventsResendRequest) GetExpand

func (x *EventsResendRequest) GetExpand() []string

func (*EventsResendRequest) GetIdempotency

func (x *EventsResendRequest) GetIdempotency() string

func (*EventsResendRequest) GetLive

func (x *EventsResendRequest) GetLive() bool

func (*EventsResendRequest) GetStripeAccount

func (x *EventsResendRequest) GetStripeAccount() string

func (*EventsResendRequest) GetVersion

func (x *EventsResendRequest) GetVersion() string

func (*EventsResendRequest) GetWebhookEndpoint

func (x *EventsResendRequest) GetWebhookEndpoint() string

func (*EventsResendRequest) ProtoMessage

func (*EventsResendRequest) ProtoMessage()

func (*EventsResendRequest) ProtoReflect

func (x *EventsResendRequest) ProtoReflect() protoreflect.Message

func (*EventsResendRequest) Reset

func (x *EventsResendRequest) Reset()

func (*EventsResendRequest) String

func (x *EventsResendRequest) String() string

type EventsResendResponse

type EventsResendResponse struct {
	StripeEvent *StripeEvent `protobuf:"bytes,1,opt,name=stripe_event,json=stripeEvent,proto3" json:"stripe_event,omitempty"`
	// contains filtered or unexported fields
}

func (*EventsResendResponse) Descriptor deprecated

func (*EventsResendResponse) Descriptor() ([]byte, []int)

Deprecated: Use EventsResendResponse.ProtoReflect.Descriptor instead.

func (*EventsResendResponse) GetStripeEvent

func (x *EventsResendResponse) GetStripeEvent() *StripeEvent

func (*EventsResendResponse) ProtoMessage

func (*EventsResendResponse) ProtoMessage()

func (*EventsResendResponse) ProtoReflect

func (x *EventsResendResponse) ProtoReflect() protoreflect.Message

func (*EventsResendResponse) Reset

func (x *EventsResendResponse) Reset()

func (*EventsResendResponse) String

func (x *EventsResendResponse) String() string

type FixtureRequest added in v1.7.5

type FixtureRequest struct {

	// An event to get the default fixture for
	Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// contains filtered or unexported fields
}

func (*FixtureRequest) Descriptor deprecated added in v1.7.5

func (*FixtureRequest) Descriptor() ([]byte, []int)

Deprecated: Use FixtureRequest.ProtoReflect.Descriptor instead.

func (*FixtureRequest) GetEvent added in v1.7.5

func (x *FixtureRequest) GetEvent() string

func (*FixtureRequest) ProtoMessage added in v1.7.5

func (*FixtureRequest) ProtoMessage()

func (*FixtureRequest) ProtoReflect added in v1.7.5

func (x *FixtureRequest) ProtoReflect() protoreflect.Message

func (*FixtureRequest) Reset added in v1.7.5

func (x *FixtureRequest) Reset()

func (*FixtureRequest) String added in v1.7.5

func (x *FixtureRequest) String() string

type FixtureResponse added in v1.7.5

type FixtureResponse struct {

	// default fixture for event
	Fixture string `protobuf:"bytes,1,opt,name=fixture,proto3" json:"fixture,omitempty"`
	// contains filtered or unexported fields
}

func (*FixtureResponse) Descriptor deprecated added in v1.7.5

func (*FixtureResponse) Descriptor() ([]byte, []int)

Deprecated: Use FixtureResponse.ProtoReflect.Descriptor instead.

func (*FixtureResponse) GetFixture added in v1.7.5

func (x *FixtureResponse) GetFixture() string

func (*FixtureResponse) ProtoMessage added in v1.7.5

func (*FixtureResponse) ProtoMessage()

func (*FixtureResponse) ProtoReflect added in v1.7.5

func (x *FixtureResponse) ProtoReflect() protoreflect.Message

func (*FixtureResponse) Reset added in v1.7.5

func (x *FixtureResponse) Reset()

func (*FixtureResponse) String added in v1.7.5

func (x *FixtureResponse) String() string

type ListenRequest

type ListenRequest struct {

	// A list of custom headers to forward for Connect
	ConnectHeaders []string `protobuf:"bytes,1,rep,name=connect_headers,json=connectHeaders,proto3" json:"connect_headers,omitempty"`
	// A list of specific events to listen for. For a list of all possible events, see:
	// https://stripe.com/docs/api/events/types (default [*])
	Events []string `protobuf:"bytes,2,rep,name=events,proto3" json:"events,omitempty"`
	// The URL to forward Connect webhook events to (default: same as normal events)
	ForwardConnectTo string `protobuf:"bytes,3,opt,name=forward_connect_to,json=forwardConnectTo,proto3" json:"forward_connect_to,omitempty"`
	// The URL to forward webhook events to
	ForwardTo string `protobuf:"bytes,4,opt,name=forward_to,json=forwardTo,proto3" json:"forward_to,omitempty"`
	// A list of custom headers to forward
	Headers []string `protobuf:"bytes,5,rep,name=headers,proto3" json:"headers,omitempty"`
	// Receive events formatted with the latest API version (default: your account's default API
	// version)
	Latest bool `protobuf:"varint,6,opt,name=latest,proto3" json:"latest,omitempty"`
	// Receive live events (default: test)
	Live bool `protobuf:"varint,7,opt,name=live,proto3" json:"live,omitempty"`
	// Skip certificate verification when forwarding to HTTPS endpoints
	SkipVerify bool `protobuf:"varint,8,opt,name=skip_verify,json=skipVerify,proto3" json:"skip_verify,omitempty"`
	// Load webhook endpoint configuration from the webhooks API/dashboard
	UseConfiguredWebhooks bool `` /* 127-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ListenRequest) Descriptor deprecated

func (*ListenRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListenRequest.ProtoReflect.Descriptor instead.

func (*ListenRequest) GetConnectHeaders

func (x *ListenRequest) GetConnectHeaders() []string

func (*ListenRequest) GetEvents

func (x *ListenRequest) GetEvents() []string

func (*ListenRequest) GetForwardConnectTo

func (x *ListenRequest) GetForwardConnectTo() string

func (*ListenRequest) GetForwardTo

func (x *ListenRequest) GetForwardTo() string

func (*ListenRequest) GetHeaders

func (x *ListenRequest) GetHeaders() []string

func (*ListenRequest) GetLatest

func (x *ListenRequest) GetLatest() bool

func (*ListenRequest) GetLive

func (x *ListenRequest) GetLive() bool

func (*ListenRequest) GetSkipVerify

func (x *ListenRequest) GetSkipVerify() bool

func (*ListenRequest) GetUseConfiguredWebhooks

func (x *ListenRequest) GetUseConfiguredWebhooks() bool

func (*ListenRequest) ProtoMessage

func (*ListenRequest) ProtoMessage()

func (*ListenRequest) ProtoReflect

func (x *ListenRequest) ProtoReflect() protoreflect.Message

func (*ListenRequest) Reset

func (x *ListenRequest) Reset()

func (*ListenRequest) String

func (x *ListenRequest) String() string

type ListenResponse

type ListenResponse struct {

	// Types that are assignable to Content:
	//
	//	*ListenResponse_State_
	//	*ListenResponse_StripeEvent
	//	*ListenResponse_EndpointResponse_
	Content isListenResponse_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*ListenResponse) Descriptor deprecated

func (*ListenResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListenResponse.ProtoReflect.Descriptor instead.

func (*ListenResponse) GetContent

func (m *ListenResponse) GetContent() isListenResponse_Content

func (*ListenResponse) GetEndpointResponse

func (x *ListenResponse) GetEndpointResponse() *ListenResponse_EndpointResponse

func (*ListenResponse) GetState

func (x *ListenResponse) GetState() ListenResponse_State

func (*ListenResponse) GetStripeEvent

func (x *ListenResponse) GetStripeEvent() *StripeEvent

func (*ListenResponse) ProtoMessage

func (*ListenResponse) ProtoMessage()

func (*ListenResponse) ProtoReflect

func (x *ListenResponse) ProtoReflect() protoreflect.Message

func (*ListenResponse) Reset

func (x *ListenResponse) Reset()

func (*ListenResponse) String

func (x *ListenResponse) String() string

type ListenResponse_EndpointResponse

type ListenResponse_EndpointResponse struct {

	// Types that are assignable to Content:
	//
	//	*ListenResponse_EndpointResponse_Data_
	//	*ListenResponse_EndpointResponse_Error
	Content isListenResponse_EndpointResponse_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*ListenResponse_EndpointResponse) Descriptor deprecated

func (*ListenResponse_EndpointResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListenResponse_EndpointResponse.ProtoReflect.Descriptor instead.

func (*ListenResponse_EndpointResponse) GetContent

func (m *ListenResponse_EndpointResponse) GetContent() isListenResponse_EndpointResponse_Content

func (*ListenResponse_EndpointResponse) GetData

func (*ListenResponse_EndpointResponse) GetError

func (*ListenResponse_EndpointResponse) ProtoMessage

func (*ListenResponse_EndpointResponse) ProtoMessage()

func (*ListenResponse_EndpointResponse) ProtoReflect

func (*ListenResponse_EndpointResponse) Reset

func (*ListenResponse_EndpointResponse) String

type ListenResponse_EndpointResponse_

type ListenResponse_EndpointResponse_ struct {
	// A response from an endpoint
	EndpointResponse *ListenResponse_EndpointResponse `protobuf:"bytes,3,opt,name=endpoint_response,json=endpointResponse,proto3,oneof"`
}

type ListenResponse_EndpointResponse_Data

type ListenResponse_EndpointResponse_Data struct {

	// HTTP status code
	Status int64 `protobuf:"varint,1,opt,name=status,proto3" json:"status,omitempty"`
	// HTTP method
	HttpMethod ListenResponse_EndpointResponse_Data_HttpMethod `` /* 149-byte string literal not displayed */
	// URL of the webhook endpoint
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// ID of the Stripe event that caused this response
	EventId string `protobuf:"bytes,4,opt,name=event_id,json=eventId,proto3" json:"event_id,omitempty"`
	// contains filtered or unexported fields
}

func (*ListenResponse_EndpointResponse_Data) Descriptor deprecated

func (*ListenResponse_EndpointResponse_Data) Descriptor() ([]byte, []int)

Deprecated: Use ListenResponse_EndpointResponse_Data.ProtoReflect.Descriptor instead.

func (*ListenResponse_EndpointResponse_Data) GetEventId

func (*ListenResponse_EndpointResponse_Data) GetHttpMethod

func (*ListenResponse_EndpointResponse_Data) GetStatus

func (*ListenResponse_EndpointResponse_Data) GetUrl

func (*ListenResponse_EndpointResponse_Data) ProtoMessage

func (*ListenResponse_EndpointResponse_Data) ProtoMessage()

func (*ListenResponse_EndpointResponse_Data) ProtoReflect

func (*ListenResponse_EndpointResponse_Data) Reset

func (*ListenResponse_EndpointResponse_Data) String

type ListenResponse_EndpointResponse_Data_

type ListenResponse_EndpointResponse_Data_ struct {
	Data *ListenResponse_EndpointResponse_Data `protobuf:"bytes,1,opt,name=data,proto3,oneof"`
}

type ListenResponse_EndpointResponse_Data_HttpMethod

type ListenResponse_EndpointResponse_Data_HttpMethod int32
const (
	ListenResponse_EndpointResponse_Data_HTTP_METHOD_UNSPECIFIED ListenResponse_EndpointResponse_Data_HttpMethod = 0
	ListenResponse_EndpointResponse_Data_HTTP_METHOD_GET         ListenResponse_EndpointResponse_Data_HttpMethod = 1
	ListenResponse_EndpointResponse_Data_HTTP_METHOD_POST        ListenResponse_EndpointResponse_Data_HttpMethod = 2
	ListenResponse_EndpointResponse_Data_HTTP_METHOD_DELETE      ListenResponse_EndpointResponse_Data_HttpMethod = 3
)

func (ListenResponse_EndpointResponse_Data_HttpMethod) Descriptor

func (ListenResponse_EndpointResponse_Data_HttpMethod) Enum

func (ListenResponse_EndpointResponse_Data_HttpMethod) EnumDescriptor deprecated

Deprecated: Use ListenResponse_EndpointResponse_Data_HttpMethod.Descriptor instead.

func (ListenResponse_EndpointResponse_Data_HttpMethod) Number

func (ListenResponse_EndpointResponse_Data_HttpMethod) String

func (ListenResponse_EndpointResponse_Data_HttpMethod) Type

type ListenResponse_EndpointResponse_Error

type ListenResponse_EndpointResponse_Error struct {
	Error string `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type ListenResponse_State

type ListenResponse_State int32
const (
	ListenResponse_STATE_UNSPECIFIED  ListenResponse_State = 0
	ListenResponse_STATE_LOADING      ListenResponse_State = 1
	ListenResponse_STATE_RECONNECTING ListenResponse_State = 2
	ListenResponse_STATE_READY        ListenResponse_State = 3
	ListenResponse_STATE_DONE         ListenResponse_State = 4
)

func (ListenResponse_State) Descriptor

func (ListenResponse_State) Enum

func (ListenResponse_State) EnumDescriptor deprecated

func (ListenResponse_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use ListenResponse_State.Descriptor instead.

func (ListenResponse_State) Number

func (ListenResponse_State) String

func (x ListenResponse_State) String() string

func (ListenResponse_State) Type

type ListenResponse_State_

type ListenResponse_State_ struct {
	// Check if the stream ready
	State ListenResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=rpc.ListenResponse_State,oneof"`
}

type ListenResponse_StripeEvent

type ListenResponse_StripeEvent struct {
	// A Stripe event
	StripeEvent *StripeEvent `protobuf:"bytes,2,opt,name=stripe_event,json=stripeEvent,proto3,oneof"`
}

type LoginRequest

type LoginRequest struct {
	// contains filtered or unexported fields
}

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {

	// The URL to complete the login. The client must open this in the browser to successfully log in.
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// The pairing code to verify your authentication with Stripe, e.g. excels-champ-wins-quaint
	PairingCode string `protobuf:"bytes,2,opt,name=pairing_code,json=pairingCode,proto3" json:"pairing_code,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetPairingCode

func (x *LoginResponse) GetPairingCode() string

func (*LoginResponse) GetUrl

func (x *LoginResponse) GetUrl() string

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LoginStatusRequest

type LoginStatusRequest struct {
	// contains filtered or unexported fields
}

func (*LoginStatusRequest) Descriptor deprecated

func (*LoginStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginStatusRequest.ProtoReflect.Descriptor instead.

func (*LoginStatusRequest) ProtoMessage

func (*LoginStatusRequest) ProtoMessage()

func (*LoginStatusRequest) ProtoReflect

func (x *LoginStatusRequest) ProtoReflect() protoreflect.Message

func (*LoginStatusRequest) Reset

func (x *LoginStatusRequest) Reset()

func (*LoginStatusRequest) String

func (x *LoginStatusRequest) String() string

type LoginStatusResponse

type LoginStatusResponse struct {

	// ID of the Stripe account, e.g. acct_123
	AccountId string `protobuf:"bytes,1,opt,name=account_id,json=accountId,proto3" json:"account_id,omitempty"`
	// Display name of the Stripe account
	DisplayName string `protobuf:"bytes,2,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginStatusResponse) Descriptor deprecated

func (*LoginStatusResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginStatusResponse.ProtoReflect.Descriptor instead.

func (*LoginStatusResponse) GetAccountId

func (x *LoginStatusResponse) GetAccountId() string

func (*LoginStatusResponse) GetDisplayName

func (x *LoginStatusResponse) GetDisplayName() string

func (*LoginStatusResponse) ProtoMessage

func (*LoginStatusResponse) ProtoMessage()

func (*LoginStatusResponse) ProtoReflect

func (x *LoginStatusResponse) ProtoReflect() protoreflect.Message

func (*LoginStatusResponse) Reset

func (x *LoginStatusResponse) Reset()

func (*LoginStatusResponse) String

func (x *LoginStatusResponse) String() string

type LogsTailRequest

type LogsTailRequest struct {

	// *CONNECT ONLY* Filter request logs by source and destination account
	FilterAccounts []LogsTailRequest_Account `` /* 144-byte string literal not displayed */
	// Filter request logs by http method
	FilterHttpMethods []LogsTailRequest_HttpMethod `` /* 158-byte string literal not displayed */
	// Filter request logs by ip address
	FilterIpAddresses []string `protobuf:"bytes,3,rep,name=filter_ip_addresses,json=filterIpAddresses,proto3" json:"filter_ip_addresses,omitempty"`
	// Filter request logs by request path
	FilterRequestPaths []string `protobuf:"bytes,4,rep,name=filter_request_paths,json=filterRequestPaths,proto3" json:"filter_request_paths,omitempty"`
	// Filter request logs by request status
	FilterRequestStatuses []LogsTailRequest_RequestStatus `` /* 173-byte string literal not displayed */
	// Filter request logs by source
	FilterSources []LogsTailRequest_Source `` /* 140-byte string literal not displayed */
	// Filter request logs by status code
	FilterStatusCodes []string `protobuf:"bytes,7,rep,name=filter_status_codes,json=filterStatusCodes,proto3" json:"filter_status_codes,omitempty"`
	// Filter request logs by status code type
	FilterStatusCodeTypes []LogsTailRequest_StatusCodeType `` /* 176-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*LogsTailRequest) Descriptor deprecated

func (*LogsTailRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest.ProtoReflect.Descriptor instead.

func (*LogsTailRequest) GetFilterAccounts

func (x *LogsTailRequest) GetFilterAccounts() []LogsTailRequest_Account

func (*LogsTailRequest) GetFilterHttpMethods

func (x *LogsTailRequest) GetFilterHttpMethods() []LogsTailRequest_HttpMethod

func (*LogsTailRequest) GetFilterIpAddresses

func (x *LogsTailRequest) GetFilterIpAddresses() []string

func (*LogsTailRequest) GetFilterRequestPaths

func (x *LogsTailRequest) GetFilterRequestPaths() []string

func (*LogsTailRequest) GetFilterRequestStatuses

func (x *LogsTailRequest) GetFilterRequestStatuses() []LogsTailRequest_RequestStatus

func (*LogsTailRequest) GetFilterSources

func (x *LogsTailRequest) GetFilterSources() []LogsTailRequest_Source

func (*LogsTailRequest) GetFilterStatusCodeTypes

func (x *LogsTailRequest) GetFilterStatusCodeTypes() []LogsTailRequest_StatusCodeType

func (*LogsTailRequest) GetFilterStatusCodes

func (x *LogsTailRequest) GetFilterStatusCodes() []string

func (*LogsTailRequest) ProtoMessage

func (*LogsTailRequest) ProtoMessage()

func (*LogsTailRequest) ProtoReflect

func (x *LogsTailRequest) ProtoReflect() protoreflect.Message

func (*LogsTailRequest) Reset

func (x *LogsTailRequest) Reset()

func (*LogsTailRequest) String

func (x *LogsTailRequest) String() string

type LogsTailRequest_Account

type LogsTailRequest_Account int32
const (
	LogsTailRequest_ACCOUNT_UNSPECIFIED LogsTailRequest_Account = 0
	LogsTailRequest_ACCOUNT_CONNECT_IN  LogsTailRequest_Account = 1
	LogsTailRequest_ACCOUNT_CONNECT_OUT LogsTailRequest_Account = 2
	LogsTailRequest_ACCOUNT_SELF        LogsTailRequest_Account = 3
)

func (LogsTailRequest_Account) Descriptor

func (LogsTailRequest_Account) Enum

func (LogsTailRequest_Account) EnumDescriptor deprecated

func (LogsTailRequest_Account) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest_Account.Descriptor instead.

func (LogsTailRequest_Account) Number

func (LogsTailRequest_Account) String

func (x LogsTailRequest_Account) String() string

func (LogsTailRequest_Account) Type

type LogsTailRequest_HttpMethod

type LogsTailRequest_HttpMethod int32
const (
	LogsTailRequest_HTTP_METHOD_UNSPECIFIED LogsTailRequest_HttpMethod = 0
	LogsTailRequest_HTTP_METHOD_GET         LogsTailRequest_HttpMethod = 1
	LogsTailRequest_HTTP_METHOD_POST        LogsTailRequest_HttpMethod = 2
	LogsTailRequest_HTTP_METHOD_DELETE      LogsTailRequest_HttpMethod = 3
)

func (LogsTailRequest_HttpMethod) Descriptor

func (LogsTailRequest_HttpMethod) Enum

func (LogsTailRequest_HttpMethod) EnumDescriptor deprecated

func (LogsTailRequest_HttpMethod) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest_HttpMethod.Descriptor instead.

func (LogsTailRequest_HttpMethod) Number

func (LogsTailRequest_HttpMethod) String

func (LogsTailRequest_HttpMethod) Type

type LogsTailRequest_RequestStatus

type LogsTailRequest_RequestStatus int32
const (
	LogsTailRequest_REQUEST_STATUS_UNSPECIFIED LogsTailRequest_RequestStatus = 0
	LogsTailRequest_REQUEST_STATUS_SUCCEEDED   LogsTailRequest_RequestStatus = 1
	LogsTailRequest_REQUEST_STATUS_FAILED      LogsTailRequest_RequestStatus = 2
)

func (LogsTailRequest_RequestStatus) Descriptor

func (LogsTailRequest_RequestStatus) Enum

func (LogsTailRequest_RequestStatus) EnumDescriptor deprecated

func (LogsTailRequest_RequestStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest_RequestStatus.Descriptor instead.

func (LogsTailRequest_RequestStatus) Number

func (LogsTailRequest_RequestStatus) String

func (LogsTailRequest_RequestStatus) Type

type LogsTailRequest_Source

type LogsTailRequest_Source int32
const (
	LogsTailRequest_SOURCE_UNSPECIFIED LogsTailRequest_Source = 0
	LogsTailRequest_SOURCE_API         LogsTailRequest_Source = 1
	LogsTailRequest_SOURCE_DASHBOARD   LogsTailRequest_Source = 2
)

func (LogsTailRequest_Source) Descriptor

func (LogsTailRequest_Source) Enum

func (LogsTailRequest_Source) EnumDescriptor deprecated

func (LogsTailRequest_Source) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest_Source.Descriptor instead.

func (LogsTailRequest_Source) Number

func (LogsTailRequest_Source) String

func (x LogsTailRequest_Source) String() string

func (LogsTailRequest_Source) Type

type LogsTailRequest_StatusCodeType

type LogsTailRequest_StatusCodeType int32
const (
	LogsTailRequest_STATUS_CODE_TYPE_UNSPECIFIED LogsTailRequest_StatusCodeType = 0
	LogsTailRequest_STATUS_CODE_TYPE_2XX         LogsTailRequest_StatusCodeType = 1
	LogsTailRequest_STATUS_CODE_TYPE_4XX         LogsTailRequest_StatusCodeType = 2
	LogsTailRequest_STATUS_CODE_TYPE_5XX         LogsTailRequest_StatusCodeType = 3
)

func (LogsTailRequest_StatusCodeType) Descriptor

func (LogsTailRequest_StatusCodeType) Enum

func (LogsTailRequest_StatusCodeType) EnumDescriptor deprecated

func (LogsTailRequest_StatusCodeType) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailRequest_StatusCodeType.Descriptor instead.

func (LogsTailRequest_StatusCodeType) Number

func (LogsTailRequest_StatusCodeType) String

func (LogsTailRequest_StatusCodeType) Type

type LogsTailResponse

type LogsTailResponse struct {

	// Types that are assignable to Content:
	//
	//	*LogsTailResponse_State_
	//	*LogsTailResponse_Log_
	Content isLogsTailResponse_Content `protobuf_oneof:"content"`
	// contains filtered or unexported fields
}

func (*LogsTailResponse) Descriptor deprecated

func (*LogsTailResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogsTailResponse.ProtoReflect.Descriptor instead.

func (*LogsTailResponse) GetContent

func (m *LogsTailResponse) GetContent() isLogsTailResponse_Content

func (*LogsTailResponse) GetLog

func (*LogsTailResponse) GetState

func (*LogsTailResponse) ProtoMessage

func (*LogsTailResponse) ProtoMessage()

func (*LogsTailResponse) ProtoReflect

func (x *LogsTailResponse) ProtoReflect() protoreflect.Message

func (*LogsTailResponse) Reset

func (x *LogsTailResponse) Reset()

func (*LogsTailResponse) String

func (x *LogsTailResponse) String() string

type LogsTailResponse_Log

type LogsTailResponse_Log struct {
	Livemode  bool                        `protobuf:"varint,1,opt,name=livemode,proto3" json:"livemode,omitempty"`
	Method    string                      `protobuf:"bytes,2,opt,name=method,proto3" json:"method,omitempty"`
	Url       string                      `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	Status    int64                       `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	RequestId string                      `protobuf:"bytes,5,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"`
	CreatedAt int64                       `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
	Error     *LogsTailResponse_Log_Error `protobuf:"bytes,7,opt,name=error,proto3" json:"error,omitempty"`
	// contains filtered or unexported fields
}

func (*LogsTailResponse_Log) Descriptor deprecated

func (*LogsTailResponse_Log) Descriptor() ([]byte, []int)

Deprecated: Use LogsTailResponse_Log.ProtoReflect.Descriptor instead.

func (*LogsTailResponse_Log) GetCreatedAt

func (x *LogsTailResponse_Log) GetCreatedAt() int64

func (*LogsTailResponse_Log) GetError

func (*LogsTailResponse_Log) GetLivemode

func (x *LogsTailResponse_Log) GetLivemode() bool

func (*LogsTailResponse_Log) GetMethod

func (x *LogsTailResponse_Log) GetMethod() string

func (*LogsTailResponse_Log) GetRequestId

func (x *LogsTailResponse_Log) GetRequestId() string

func (*LogsTailResponse_Log) GetStatus

func (x *LogsTailResponse_Log) GetStatus() int64

func (*LogsTailResponse_Log) GetUrl

func (x *LogsTailResponse_Log) GetUrl() string

func (*LogsTailResponse_Log) ProtoMessage

func (*LogsTailResponse_Log) ProtoMessage()

func (*LogsTailResponse_Log) ProtoReflect

func (x *LogsTailResponse_Log) ProtoReflect() protoreflect.Message

func (*LogsTailResponse_Log) Reset

func (x *LogsTailResponse_Log) Reset()

func (*LogsTailResponse_Log) String

func (x *LogsTailResponse_Log) String() string

type LogsTailResponse_Log_

type LogsTailResponse_Log_ struct {
	// A Stripe API log
	Log *LogsTailResponse_Log `protobuf:"bytes,2,opt,name=log,proto3,oneof"`
}

type LogsTailResponse_Log_Error

type LogsTailResponse_Log_Error struct {
	Type         string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Charge       string `protobuf:"bytes,2,opt,name=charge,proto3" json:"charge,omitempty"`
	Code         string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	DeclineCode  string `protobuf:"bytes,4,opt,name=decline_code,json=declineCode,proto3" json:"decline_code,omitempty"`
	Message      string `protobuf:"bytes,5,opt,name=message,proto3" json:"message,omitempty"`
	Param        string `protobuf:"bytes,6,opt,name=param,proto3" json:"param,omitempty"`
	ErrorInsight string `protobuf:"bytes,7,opt,name=error_insight,json=errorInsight,proto3" json:"error_insight,omitempty"`
	// contains filtered or unexported fields
}

func (*LogsTailResponse_Log_Error) Descriptor deprecated

func (*LogsTailResponse_Log_Error) Descriptor() ([]byte, []int)

Deprecated: Use LogsTailResponse_Log_Error.ProtoReflect.Descriptor instead.

func (*LogsTailResponse_Log_Error) GetCharge

func (x *LogsTailResponse_Log_Error) GetCharge() string

func (*LogsTailResponse_Log_Error) GetCode

func (x *LogsTailResponse_Log_Error) GetCode() string

func (*LogsTailResponse_Log_Error) GetDeclineCode

func (x *LogsTailResponse_Log_Error) GetDeclineCode() string

func (*LogsTailResponse_Log_Error) GetErrorInsight added in v1.7.11

func (x *LogsTailResponse_Log_Error) GetErrorInsight() string

func (*LogsTailResponse_Log_Error) GetMessage

func (x *LogsTailResponse_Log_Error) GetMessage() string

func (*LogsTailResponse_Log_Error) GetParam

func (x *LogsTailResponse_Log_Error) GetParam() string

func (*LogsTailResponse_Log_Error) GetType

func (x *LogsTailResponse_Log_Error) GetType() string

func (*LogsTailResponse_Log_Error) ProtoMessage

func (*LogsTailResponse_Log_Error) ProtoMessage()

func (*LogsTailResponse_Log_Error) ProtoReflect

func (*LogsTailResponse_Log_Error) Reset

func (x *LogsTailResponse_Log_Error) Reset()

func (*LogsTailResponse_Log_Error) String

func (x *LogsTailResponse_Log_Error) String() string

type LogsTailResponse_State

type LogsTailResponse_State int32
const (
	LogsTailResponse_STATE_UNSPECIFIED  LogsTailResponse_State = 0
	LogsTailResponse_STATE_LOADING      LogsTailResponse_State = 1
	LogsTailResponse_STATE_RECONNECTING LogsTailResponse_State = 2
	LogsTailResponse_STATE_READY        LogsTailResponse_State = 3
	LogsTailResponse_STATE_DONE         LogsTailResponse_State = 4
)

func (LogsTailResponse_State) Descriptor

func (LogsTailResponse_State) Enum

func (LogsTailResponse_State) EnumDescriptor deprecated

func (LogsTailResponse_State) EnumDescriptor() ([]byte, []int)

Deprecated: Use LogsTailResponse_State.Descriptor instead.

func (LogsTailResponse_State) Number

func (LogsTailResponse_State) String

func (x LogsTailResponse_State) String() string

func (LogsTailResponse_State) Type

type LogsTailResponse_State_

type LogsTailResponse_State_ struct {
	// Check if the stream ready
	State LogsTailResponse_State `protobuf:"varint,1,opt,name=state,proto3,enum=rpc.LogsTailResponse_State,oneof"`
}

type SampleConfigsRequest

type SampleConfigsRequest struct {

	// Name of the sample, e.g. accept-a-card-payment
	SampleName string `protobuf:"bytes,1,opt,name=sample_name,json=sampleName,proto3" json:"sample_name,omitempty"`
	// contains filtered or unexported fields
}

func (*SampleConfigsRequest) Descriptor deprecated

func (*SampleConfigsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SampleConfigsRequest.ProtoReflect.Descriptor instead.

func (*SampleConfigsRequest) GetSampleName

func (x *SampleConfigsRequest) GetSampleName() string

func (*SampleConfigsRequest) ProtoMessage

func (*SampleConfigsRequest) ProtoMessage()

func (*SampleConfigsRequest) ProtoReflect

func (x *SampleConfigsRequest) ProtoReflect() protoreflect.Message

func (*SampleConfigsRequest) Reset

func (x *SampleConfigsRequest) Reset()

func (*SampleConfigsRequest) String

func (x *SampleConfigsRequest) String() string

type SampleConfigsResponse

type SampleConfigsResponse struct {

	// List of available integrations for this sample, e.g. the "accept-a-card-payment" sample
	// includes an integration that uses webhooks, a web client, and a node server.
	Integrations []*SampleConfigsResponse_Integration `protobuf:"bytes,1,rep,name=integrations,proto3" json:"integrations,omitempty"`
	// contains filtered or unexported fields
}

func (*SampleConfigsResponse) Descriptor deprecated

func (*SampleConfigsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SampleConfigsResponse.ProtoReflect.Descriptor instead.

func (*SampleConfigsResponse) GetIntegrations

func (*SampleConfigsResponse) ProtoMessage

func (*SampleConfigsResponse) ProtoMessage()

func (*SampleConfigsResponse) ProtoReflect

func (x *SampleConfigsResponse) ProtoReflect() protoreflect.Message

func (*SampleConfigsResponse) Reset

func (x *SampleConfigsResponse) Reset()

func (*SampleConfigsResponse) String

func (x *SampleConfigsResponse) String() string

type SampleConfigsResponse_Integration

type SampleConfigsResponse_Integration struct {

	// Name of an available integration for this sample, e.g. "using-webhooks"
	IntegrationName string `protobuf:"bytes,1,opt,name=integration_name,json=integrationName,proto3" json:"integration_name,omitempty"`
	// List of available languages or platforms for the sample client, e.g. ["web", "android", "ios"]
	Clients []string `protobuf:"bytes,2,rep,name=clients,proto3" json:"clients,omitempty"`
	// List of available languages or platforms for the sample server, e.g. ["java", "node"]
	Servers []string `protobuf:"bytes,3,rep,name=servers,proto3" json:"servers,omitempty"`
	// contains filtered or unexported fields
}

func (*SampleConfigsResponse_Integration) Descriptor deprecated

func (*SampleConfigsResponse_Integration) Descriptor() ([]byte, []int)

Deprecated: Use SampleConfigsResponse_Integration.ProtoReflect.Descriptor instead.

func (*SampleConfigsResponse_Integration) GetClients

func (x *SampleConfigsResponse_Integration) GetClients() []string

func (*SampleConfigsResponse_Integration) GetIntegrationName

func (x *SampleConfigsResponse_Integration) GetIntegrationName() string

func (*SampleConfigsResponse_Integration) GetServers

func (x *SampleConfigsResponse_Integration) GetServers() []string

func (*SampleConfigsResponse_Integration) ProtoMessage

func (*SampleConfigsResponse_Integration) ProtoMessage()

func (*SampleConfigsResponse_Integration) ProtoReflect

func (*SampleConfigsResponse_Integration) Reset

func (*SampleConfigsResponse_Integration) String

type SampleCreateRequest

type SampleCreateRequest struct {

	// Name of the sample, e.g. accept-a-card-payment. Use the `SamplesList` method to get a list of
	// available samples.
	SampleName string `protobuf:"bytes,1,opt,name=sample_name,json=sampleName,proto3" json:"sample_name,omitempty"`
	// Name of the particular integration, e.g. using-webhooks. Use the `SampleConfigs` method to get
	// the available options.
	IntegrationName string `protobuf:"bytes,2,opt,name=integration_name,json=integrationName,proto3" json:"integration_name,omitempty"`
	// Platform or language for the client, e.g. web. Use the `SampleConfigs` method to get the
	// available options.
	Client string `protobuf:"bytes,3,opt,name=client,proto3" json:"client,omitempty"`
	// Platform or language for the server, e.g. node. Use the `SampleConfigs` method to get the
	// available options.
	Server string `protobuf:"bytes,4,opt,name=server,proto3" json:"server,omitempty"`
	// Path to clone the repo to.
	Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"`
	// If true, clear the local cache before creating the sample.
	ForceRefresh bool `protobuf:"varint,6,opt,name=force_refresh,json=forceRefresh,proto3" json:"force_refresh,omitempty"`
	// contains filtered or unexported fields
}

func (*SampleCreateRequest) Descriptor deprecated

func (*SampleCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use SampleCreateRequest.ProtoReflect.Descriptor instead.

func (*SampleCreateRequest) GetClient

func (x *SampleCreateRequest) GetClient() string

func (*SampleCreateRequest) GetForceRefresh

func (x *SampleCreateRequest) GetForceRefresh() bool

func (*SampleCreateRequest) GetIntegrationName

func (x *SampleCreateRequest) GetIntegrationName() string

func (*SampleCreateRequest) GetPath

func (x *SampleCreateRequest) GetPath() string

func (*SampleCreateRequest) GetSampleName

func (x *SampleCreateRequest) GetSampleName() string

func (*SampleCreateRequest) GetServer

func (x *SampleCreateRequest) GetServer() string

func (*SampleCreateRequest) ProtoMessage

func (*SampleCreateRequest) ProtoMessage()

func (*SampleCreateRequest) ProtoReflect

func (x *SampleCreateRequest) ProtoReflect() protoreflect.Message

func (*SampleCreateRequest) Reset

func (x *SampleCreateRequest) Reset()

func (*SampleCreateRequest) String

func (x *SampleCreateRequest) String() string

type SampleCreateResponse

type SampleCreateResponse struct {

	// Additional instructions for the sample after install.
	PostInstall string `protobuf:"bytes,1,opt,name=post_install,json=postInstall,proto3" json:"post_install,omitempty"`
	// Path to the sample.
	Path string `protobuf:"bytes,2,opt,name=path,proto3" json:"path,omitempty"`
	// contains filtered or unexported fields
}

func (*SampleCreateResponse) Descriptor deprecated

func (*SampleCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use SampleCreateResponse.ProtoReflect.Descriptor instead.

func (*SampleCreateResponse) GetPath

func (x *SampleCreateResponse) GetPath() string

func (*SampleCreateResponse) GetPostInstall

func (x *SampleCreateResponse) GetPostInstall() string

func (*SampleCreateResponse) ProtoMessage

func (*SampleCreateResponse) ProtoMessage()

func (*SampleCreateResponse) ProtoReflect

func (x *SampleCreateResponse) ProtoReflect() protoreflect.Message

func (*SampleCreateResponse) Reset

func (x *SampleCreateResponse) Reset()

func (*SampleCreateResponse) String

func (x *SampleCreateResponse) String() string

type SamplesListRequest

type SamplesListRequest struct {
	// contains filtered or unexported fields
}

func (*SamplesListRequest) Descriptor deprecated

func (*SamplesListRequest) Descriptor() ([]byte, []int)

Deprecated: Use SamplesListRequest.ProtoReflect.Descriptor instead.

func (*SamplesListRequest) ProtoMessage

func (*SamplesListRequest) ProtoMessage()

func (*SamplesListRequest) ProtoReflect

func (x *SamplesListRequest) ProtoReflect() protoreflect.Message

func (*SamplesListRequest) Reset

func (x *SamplesListRequest) Reset()

func (*SamplesListRequest) String

func (x *SamplesListRequest) String() string

type SamplesListResponse

type SamplesListResponse struct {

	// List of available Stripe samples
	Samples []*SamplesListResponse_SampleData `protobuf:"bytes,1,rep,name=samples,proto3" json:"samples,omitempty"`
	// contains filtered or unexported fields
}

func (*SamplesListResponse) Descriptor deprecated

func (*SamplesListResponse) Descriptor() ([]byte, []int)

Deprecated: Use SamplesListResponse.ProtoReflect.Descriptor instead.

func (*SamplesListResponse) GetSamples

func (*SamplesListResponse) ProtoMessage

func (*SamplesListResponse) ProtoMessage()

func (*SamplesListResponse) ProtoReflect

func (x *SamplesListResponse) ProtoReflect() protoreflect.Message

func (*SamplesListResponse) Reset

func (x *SamplesListResponse) Reset()

func (*SamplesListResponse) String

func (x *SamplesListResponse) String() string

type SamplesListResponse_SampleData

type SamplesListResponse_SampleData struct {

	// Name of the sample, e.g. accept-a-card-payment
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// URL of the repo, e.g. https://github.com/stripe-samples/accept-a-card-payment
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// Description of the sample, e.g. Learn how to accept a basic card payment
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// contains filtered or unexported fields
}

func (*SamplesListResponse_SampleData) Descriptor deprecated

func (*SamplesListResponse_SampleData) Descriptor() ([]byte, []int)

Deprecated: Use SamplesListResponse_SampleData.ProtoReflect.Descriptor instead.

func (*SamplesListResponse_SampleData) GetDescription

func (x *SamplesListResponse_SampleData) GetDescription() string

func (*SamplesListResponse_SampleData) GetName

func (*SamplesListResponse_SampleData) GetUrl

func (*SamplesListResponse_SampleData) ProtoMessage

func (*SamplesListResponse_SampleData) ProtoMessage()

func (*SamplesListResponse_SampleData) ProtoReflect

func (*SamplesListResponse_SampleData) Reset

func (x *SamplesListResponse_SampleData) Reset()

func (*SamplesListResponse_SampleData) String

type StripeCLIClient

type StripeCLIClient interface {
	// Resend an event given an event ID. Like `stripe events resend`.
	EventsResend(ctx context.Context, in *EventsResendRequest, opts ...grpc.CallOption) (*EventsResendResponse, error)
	// Retrieve the default fixture of given triggering event.
	Fixture(ctx context.Context, in *FixtureRequest, opts ...grpc.CallOption) (*FixtureResponse, error)
	// Receive webhook events from the Stripe API to your local machine. Like `stripe listen`.
	Listen(ctx context.Context, in *ListenRequest, opts ...grpc.CallOption) (StripeCLI_ListenClient, error)
	// Get a link to log in to the Stripe CLI. The client will have to open the browser to complete
	// the login. Use `LoginStatus` after this method to wait for success. Like `stripe login`.
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// Successfully returns when login has succeeded, or returns an error if login has failed or timed
	// out. Use this method after `Login` to check for success.
	LoginStatus(ctx context.Context, in *LoginStatusRequest, opts ...grpc.CallOption) (*LoginStatusResponse, error)
	// Get a realtime stream of API logs. Like `stripe logs tail`.
	LogsTail(ctx context.Context, in *LogsTailRequest, opts ...grpc.CallOption) (StripeCLI_LogsTailClient, error)
	// Get a list of available configs for a given Stripe sample.
	SampleConfigs(ctx context.Context, in *SampleConfigsRequest, opts ...grpc.CallOption) (*SampleConfigsResponse, error)
	// Clone a Stripe sample. Like `stripe samples create`.
	SampleCreate(ctx context.Context, in *SampleCreateRequest, opts ...grpc.CallOption) (*SampleCreateResponse, error)
	// Get a list of available Stripe samples. Like `stripe samples list`.
	SamplesList(ctx context.Context, in *SamplesListRequest, opts ...grpc.CallOption) (*SamplesListResponse, error)
	// Trigger a webhook event. Like `stripe trigger`.
	Trigger(ctx context.Context, in *TriggerRequest, opts ...grpc.CallOption) (*TriggerResponse, error)
	// Get a list of supported events for `Trigger`.
	TriggersList(ctx context.Context, in *TriggersListRequest, opts ...grpc.CallOption) (*TriggersListResponse, error)
	// Get the version of the Stripe CLI. Like `stripe version`.
	Version(ctx context.Context, in *VersionRequest, opts ...grpc.CallOption) (*VersionResponse, error)
	// Create a new webhook endpoint
	WebhookEndpointCreate(ctx context.Context, in *WebhookEndpointCreateRequest, opts ...grpc.CallOption) (*WebhookEndpointCreateResponse, error)
	// Get the list of webhook endpoints.
	WebhookEndpointsList(ctx context.Context, in *WebhookEndpointsListRequest, opts ...grpc.CallOption) (*WebhookEndpointsListResponse, error)
}

StripeCLIClient is the client API for StripeCLI service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewStripeCLIClient

func NewStripeCLIClient(cc grpc.ClientConnInterface) StripeCLIClient

type StripeCLIServer

type StripeCLIServer interface {
	// Resend an event given an event ID. Like `stripe events resend`.
	EventsResend(context.Context, *EventsResendRequest) (*EventsResendResponse, error)
	// Retrieve the default fixture of given triggering event.
	Fixture(context.Context, *FixtureRequest) (*FixtureResponse, error)
	// Receive webhook events from the Stripe API to your local machine. Like `stripe listen`.
	Listen(*ListenRequest, StripeCLI_ListenServer) error
	// Get a link to log in to the Stripe CLI. The client will have to open the browser to complete
	// the login. Use `LoginStatus` after this method to wait for success. Like `stripe login`.
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// Successfully returns when login has succeeded, or returns an error if login has failed or timed
	// out. Use this method after `Login` to check for success.
	LoginStatus(context.Context, *LoginStatusRequest) (*LoginStatusResponse, error)
	// Get a realtime stream of API logs. Like `stripe logs tail`.
	LogsTail(*LogsTailRequest, StripeCLI_LogsTailServer) error
	// Get a list of available configs for a given Stripe sample.
	SampleConfigs(context.Context, *SampleConfigsRequest) (*SampleConfigsResponse, error)
	// Clone a Stripe sample. Like `stripe samples create`.
	SampleCreate(context.Context, *SampleCreateRequest) (*SampleCreateResponse, error)
	// Get a list of available Stripe samples. Like `stripe samples list`.
	SamplesList(context.Context, *SamplesListRequest) (*SamplesListResponse, error)
	// Trigger a webhook event. Like `stripe trigger`.
	Trigger(context.Context, *TriggerRequest) (*TriggerResponse, error)
	// Get a list of supported events for `Trigger`.
	TriggersList(context.Context, *TriggersListRequest) (*TriggersListResponse, error)
	// Get the version of the Stripe CLI. Like `stripe version`.
	Version(context.Context, *VersionRequest) (*VersionResponse, error)
	// Create a new webhook endpoint
	WebhookEndpointCreate(context.Context, *WebhookEndpointCreateRequest) (*WebhookEndpointCreateResponse, error)
	// Get the list of webhook endpoints.
	WebhookEndpointsList(context.Context, *WebhookEndpointsListRequest) (*WebhookEndpointsListResponse, error)
}

StripeCLIServer is the server API for StripeCLI service. All implementations should embed UnimplementedStripeCLIServer for forward compatibility

type StripeCLI_ListenClient

type StripeCLI_ListenClient interface {
	Recv() (*ListenResponse, error)
	grpc.ClientStream
}

type StripeCLI_ListenServer

type StripeCLI_ListenServer interface {
	Send(*ListenResponse) error
	grpc.ServerStream
}

type StripeCLI_LogsTailClient

type StripeCLI_LogsTailClient interface {
	Recv() (*LogsTailResponse, error)
	grpc.ClientStream
}

type StripeCLI_LogsTailServer

type StripeCLI_LogsTailServer interface {
	Send(*LogsTailResponse) error
	grpc.ServerStream
}

type StripeEvent

type StripeEvent struct {

	// Unique identifier for the object.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The Stripe API version used to render `data`. Note: This property is populated only for events
	// on or after October 31, 2014.
	ApiVersion string `protobuf:"bytes,2,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Object containing data associated with the event.
	Data *structpb.Struct `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	// Information on the API request that instigated the event.
	Request *StripeEvent_Request `protobuf:"bytes,4,opt,name=request,proto3" json:"request,omitempty"`
	// Description of the event (e.g., invoice.created or charge.refunded).
	Type string `protobuf:"bytes,5,opt,name=type,proto3" json:"type,omitempty"`
	// *CONNECT ONLY* The connected account that originated the event.
	Account string `protobuf:"bytes,6,opt,name=account,proto3" json:"account,omitempty"`
	// Time at which the object was created. Measured in seconds since the Unix epoch.
	Created int64 `protobuf:"varint,7,opt,name=created,proto3" json:"created,omitempty"`
	// Has the value true if the object exists in live mode or the value false if the object exists in test mode.
	Livemode bool `protobuf:"varint,8,opt,name=livemode,proto3" json:"livemode,omitempty"`
	// Number of webhooks that have yet to be successfully delivered (i.e., to return a 20x response)
	// to the URLs you’ve specified.
	PendingWebhooks int64 `protobuf:"varint,9,opt,name=pending_webhooks,json=pendingWebhooks,proto3" json:"pending_webhooks,omitempty"`
	// contains filtered or unexported fields
}

func (*StripeEvent) Descriptor deprecated

func (*StripeEvent) Descriptor() ([]byte, []int)

Deprecated: Use StripeEvent.ProtoReflect.Descriptor instead.

func (*StripeEvent) GetAccount

func (x *StripeEvent) GetAccount() string

func (*StripeEvent) GetApiVersion

func (x *StripeEvent) GetApiVersion() string

func (*StripeEvent) GetCreated

func (x *StripeEvent) GetCreated() int64

func (*StripeEvent) GetData

func (x *StripeEvent) GetData() *structpb.Struct

func (*StripeEvent) GetId

func (x *StripeEvent) GetId() string

func (*StripeEvent) GetLivemode

func (x *StripeEvent) GetLivemode() bool

func (*StripeEvent) GetPendingWebhooks

func (x *StripeEvent) GetPendingWebhooks() int64

func (*StripeEvent) GetRequest

func (x *StripeEvent) GetRequest() *StripeEvent_Request

func (*StripeEvent) GetType

func (x *StripeEvent) GetType() string

func (*StripeEvent) ProtoMessage

func (*StripeEvent) ProtoMessage()

func (*StripeEvent) ProtoReflect

func (x *StripeEvent) ProtoReflect() protoreflect.Message

func (*StripeEvent) Reset

func (x *StripeEvent) Reset()

func (*StripeEvent) String

func (x *StripeEvent) String() string

type StripeEvent_Request

type StripeEvent_Request struct {

	// ID of the API request that caused the event. If null, the event was automatic (e.g., Stripe’s
	// automatic subscription handling). Request logs are available in the dashboard, but currently
	// not in the API.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The idempotency key transmitted during the request, if any. Note: This property is populated
	// only for events on or after May 23, 2017.
	IdempotencyKey string `protobuf:"bytes,2,opt,name=idempotency_key,json=idempotencyKey,proto3" json:"idempotency_key,omitempty"`
	// contains filtered or unexported fields
}

func (*StripeEvent_Request) Descriptor deprecated

func (*StripeEvent_Request) Descriptor() ([]byte, []int)

Deprecated: Use StripeEvent_Request.ProtoReflect.Descriptor instead.

func (*StripeEvent_Request) GetId

func (x *StripeEvent_Request) GetId() string

func (*StripeEvent_Request) GetIdempotencyKey

func (x *StripeEvent_Request) GetIdempotencyKey() string

func (*StripeEvent_Request) ProtoMessage

func (*StripeEvent_Request) ProtoMessage()

func (*StripeEvent_Request) ProtoReflect

func (x *StripeEvent_Request) ProtoReflect() protoreflect.Message

func (*StripeEvent_Request) Reset

func (x *StripeEvent_Request) Reset()

func (*StripeEvent_Request) String

func (x *StripeEvent_Request) String() string

type TriggerRequest

type TriggerRequest struct {

	// An event to trigger. Use `TriggersList` to see the available events.
	Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	// Set a header identifying the connected account
	StripeAccount string `protobuf:"bytes,2,opt,name=stripe_account,json=stripeAccount,proto3" json:"stripe_account,omitempty"`
	// Skip specific steps in the fixture
	Skip []string `protobuf:"bytes,3,rep,name=skip,proto3" json:"skip,omitempty"`
	// Override parameters in the fixture
	Override []string `protobuf:"bytes,4,rep,name=override,proto3" json:"override,omitempty"`
	// Add parameters in the fixture
	Add []string `protobuf:"bytes,5,rep,name=add,proto3" json:"add,omitempty"`
	// Remove parameters from the fixture
	Remove []string `protobuf:"bytes,6,rep,name=remove,proto3" json:"remove,omitempty"`
	// Raw fixture string
	Raw string `protobuf:"bytes,7,opt,name=raw,proto3" json:"raw,omitempty"`
	// Specify API Version for fixture
	ApiVersion string `protobuf:"bytes,8,opt,name=api_version,json=apiVersion,proto3" json:"api_version,omitempty"`
	// Whether or not to edit the fixture directly in git's default IDE
	Edit bool `protobuf:"varint,9,opt,name=edit,proto3" json:"edit,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerRequest) Descriptor deprecated

func (*TriggerRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggerRequest.ProtoReflect.Descriptor instead.

func (*TriggerRequest) GetAdd added in v1.7.2

func (x *TriggerRequest) GetAdd() []string

func (*TriggerRequest) GetApiVersion added in v1.10.4

func (x *TriggerRequest) GetApiVersion() string

func (*TriggerRequest) GetEdit added in v1.13.9

func (x *TriggerRequest) GetEdit() bool

func (*TriggerRequest) GetEvent

func (x *TriggerRequest) GetEvent() string

func (*TriggerRequest) GetOverride added in v1.7.2

func (x *TriggerRequest) GetOverride() []string

func (*TriggerRequest) GetRaw added in v1.7.5

func (x *TriggerRequest) GetRaw() string

func (*TriggerRequest) GetRemove added in v1.7.2

func (x *TriggerRequest) GetRemove() []string

func (*TriggerRequest) GetSkip added in v1.7.2

func (x *TriggerRequest) GetSkip() []string

func (*TriggerRequest) GetStripeAccount

func (x *TriggerRequest) GetStripeAccount() string

func (*TriggerRequest) ProtoMessage

func (*TriggerRequest) ProtoMessage()

func (*TriggerRequest) ProtoReflect

func (x *TriggerRequest) ProtoReflect() protoreflect.Message

func (*TriggerRequest) Reset

func (x *TriggerRequest) Reset()

func (*TriggerRequest) String

func (x *TriggerRequest) String() string

type TriggerResponse

type TriggerResponse struct {

	// List of requests made during this trigger
	Requests []string `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggerResponse) Descriptor deprecated

func (*TriggerResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggerResponse.ProtoReflect.Descriptor instead.

func (*TriggerResponse) GetRequests

func (x *TriggerResponse) GetRequests() []string

func (*TriggerResponse) ProtoMessage

func (*TriggerResponse) ProtoMessage()

func (*TriggerResponse) ProtoReflect

func (x *TriggerResponse) ProtoReflect() protoreflect.Message

func (*TriggerResponse) Reset

func (x *TriggerResponse) Reset()

func (*TriggerResponse) String

func (x *TriggerResponse) String() string

type TriggersListRequest

type TriggersListRequest struct {
	// contains filtered or unexported fields
}

func (*TriggersListRequest) Descriptor deprecated

func (*TriggersListRequest) Descriptor() ([]byte, []int)

Deprecated: Use TriggersListRequest.ProtoReflect.Descriptor instead.

func (*TriggersListRequest) ProtoMessage

func (*TriggersListRequest) ProtoMessage()

func (*TriggersListRequest) ProtoReflect

func (x *TriggersListRequest) ProtoReflect() protoreflect.Message

func (*TriggersListRequest) Reset

func (x *TriggersListRequest) Reset()

func (*TriggersListRequest) String

func (x *TriggersListRequest) String() string

type TriggersListResponse

type TriggersListResponse struct {

	// A list of supported events for `Trigger`.
	Events []string `protobuf:"bytes,1,rep,name=events,proto3" json:"events,omitempty"`
	// contains filtered or unexported fields
}

func (*TriggersListResponse) Descriptor deprecated

func (*TriggersListResponse) Descriptor() ([]byte, []int)

Deprecated: Use TriggersListResponse.ProtoReflect.Descriptor instead.

func (*TriggersListResponse) GetEvents

func (x *TriggersListResponse) GetEvents() []string

func (*TriggersListResponse) ProtoMessage

func (*TriggersListResponse) ProtoMessage()

func (*TriggersListResponse) ProtoReflect

func (x *TriggersListResponse) ProtoReflect() protoreflect.Message

func (*TriggersListResponse) Reset

func (x *TriggersListResponse) Reset()

func (*TriggersListResponse) String

func (x *TriggersListResponse) String() string

type UnimplementedStripeCLIServer

type UnimplementedStripeCLIServer struct {
}

UnimplementedStripeCLIServer should be embedded to have forward compatible implementations.

func (UnimplementedStripeCLIServer) EventsResend

func (UnimplementedStripeCLIServer) Fixture added in v1.7.5

func (UnimplementedStripeCLIServer) Listen

func (UnimplementedStripeCLIServer) Login

func (UnimplementedStripeCLIServer) LoginStatus

func (UnimplementedStripeCLIServer) LogsTail

func (UnimplementedStripeCLIServer) SampleConfigs

func (UnimplementedStripeCLIServer) SampleCreate

func (UnimplementedStripeCLIServer) SamplesList

func (UnimplementedStripeCLIServer) Trigger

func (UnimplementedStripeCLIServer) TriggersList

func (UnimplementedStripeCLIServer) Version

func (UnimplementedStripeCLIServer) WebhookEndpointCreate added in v1.7.12

func (UnimplementedStripeCLIServer) WebhookEndpointsList added in v1.7.9

type UnsafeStripeCLIServer added in v1.10.4

type UnsafeStripeCLIServer interface {
	// contains filtered or unexported methods
}

UnsafeStripeCLIServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to StripeCLIServer will result in compilation errors.

type VersionRequest

type VersionRequest struct {
	// contains filtered or unexported fields
}

func (*VersionRequest) Descriptor deprecated

func (*VersionRequest) Descriptor() ([]byte, []int)

Deprecated: Use VersionRequest.ProtoReflect.Descriptor instead.

func (*VersionRequest) ProtoMessage

func (*VersionRequest) ProtoMessage()

func (*VersionRequest) ProtoReflect

func (x *VersionRequest) ProtoReflect() protoreflect.Message

func (*VersionRequest) Reset

func (x *VersionRequest) Reset()

func (*VersionRequest) String

func (x *VersionRequest) String() string

type VersionResponse

type VersionResponse struct {

	// The version of the Stripe CLI
	Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
	// contains filtered or unexported fields
}

func (*VersionResponse) Descriptor deprecated

func (*VersionResponse) Descriptor() ([]byte, []int)

Deprecated: Use VersionResponse.ProtoReflect.Descriptor instead.

func (*VersionResponse) GetVersion

func (x *VersionResponse) GetVersion() string

func (*VersionResponse) ProtoMessage

func (*VersionResponse) ProtoMessage()

func (*VersionResponse) ProtoReflect

func (x *VersionResponse) ProtoReflect() protoreflect.Message

func (*VersionResponse) Reset

func (x *VersionResponse) Reset()

func (*VersionResponse) String

func (x *VersionResponse) String() string

type WebhookEndpointCreateRequest added in v1.7.12

type WebhookEndpointCreateRequest struct {

	// Webhook endpoint url
	Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Webhook endpoint description
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// True to receive events from connected accounts, false otherwise
	Connect bool `protobuf:"varint,3,opt,name=connect,proto3" json:"connect,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEndpointCreateRequest) Descriptor deprecated added in v1.7.12

func (*WebhookEndpointCreateRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEndpointCreateRequest.ProtoReflect.Descriptor instead.

func (*WebhookEndpointCreateRequest) GetConnect added in v1.7.12

func (x *WebhookEndpointCreateRequest) GetConnect() bool

func (*WebhookEndpointCreateRequest) GetDescription added in v1.7.12

func (x *WebhookEndpointCreateRequest) GetDescription() string

func (*WebhookEndpointCreateRequest) GetUrl added in v1.7.12

func (*WebhookEndpointCreateRequest) ProtoMessage added in v1.7.12

func (*WebhookEndpointCreateRequest) ProtoMessage()

func (*WebhookEndpointCreateRequest) ProtoReflect added in v1.7.12

func (*WebhookEndpointCreateRequest) Reset added in v1.7.12

func (x *WebhookEndpointCreateRequest) Reset()

func (*WebhookEndpointCreateRequest) String added in v1.7.12

type WebhookEndpointCreateResponse added in v1.7.12

type WebhookEndpointCreateResponse struct {
	// contains filtered or unexported fields
}

func (*WebhookEndpointCreateResponse) Descriptor deprecated added in v1.7.12

func (*WebhookEndpointCreateResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEndpointCreateResponse.ProtoReflect.Descriptor instead.

func (*WebhookEndpointCreateResponse) ProtoMessage added in v1.7.12

func (*WebhookEndpointCreateResponse) ProtoMessage()

func (*WebhookEndpointCreateResponse) ProtoReflect added in v1.7.12

func (*WebhookEndpointCreateResponse) Reset added in v1.7.12

func (x *WebhookEndpointCreateResponse) Reset()

func (*WebhookEndpointCreateResponse) String added in v1.7.12

type WebhookEndpointsListRequest added in v1.7.9

type WebhookEndpointsListRequest struct {
	// contains filtered or unexported fields
}

func (*WebhookEndpointsListRequest) Descriptor deprecated added in v1.7.9

func (*WebhookEndpointsListRequest) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEndpointsListRequest.ProtoReflect.Descriptor instead.

func (*WebhookEndpointsListRequest) ProtoMessage added in v1.7.9

func (*WebhookEndpointsListRequest) ProtoMessage()

func (*WebhookEndpointsListRequest) ProtoReflect added in v1.7.9

func (*WebhookEndpointsListRequest) Reset added in v1.7.9

func (x *WebhookEndpointsListRequest) Reset()

func (*WebhookEndpointsListRequest) String added in v1.7.9

func (x *WebhookEndpointsListRequest) String() string

type WebhookEndpointsListResponse added in v1.7.9

type WebhookEndpointsListResponse struct {

	// A list webhook endpoints
	Endpoints []*WebhookEndpointsListResponse_WebhookEndpointData `protobuf:"bytes,1,rep,name=endpoints,proto3" json:"endpoints,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEndpointsListResponse) Descriptor deprecated added in v1.7.9

func (*WebhookEndpointsListResponse) Descriptor() ([]byte, []int)

Deprecated: Use WebhookEndpointsListResponse.ProtoReflect.Descriptor instead.

func (*WebhookEndpointsListResponse) GetEndpoints added in v1.7.9

func (*WebhookEndpointsListResponse) ProtoMessage added in v1.7.9

func (*WebhookEndpointsListResponse) ProtoMessage()

func (*WebhookEndpointsListResponse) ProtoReflect added in v1.7.9

func (*WebhookEndpointsListResponse) Reset added in v1.7.9

func (x *WebhookEndpointsListResponse) Reset()

func (*WebhookEndpointsListResponse) String added in v1.7.9

type WebhookEndpointsListResponse_WebhookEndpointData added in v1.7.9

type WebhookEndpointsListResponse_WebhookEndpointData struct {

	// Webhook endpoint application
	Application string `protobuf:"bytes,1,opt,name=application,proto3" json:"application,omitempty"`
	// Enabled events of the webhook endpoint
	EnabledEvents []string `protobuf:"bytes,2,rep,name=enabledEvents,proto3" json:"enabledEvents,omitempty"`
	// Webhook endpoint URL
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// Webhook endpoint status
	Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*WebhookEndpointsListResponse_WebhookEndpointData) Descriptor deprecated added in v1.7.9

Deprecated: Use WebhookEndpointsListResponse_WebhookEndpointData.ProtoReflect.Descriptor instead.

func (*WebhookEndpointsListResponse_WebhookEndpointData) GetApplication added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) GetEnabledEvents added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) GetStatus added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) GetUrl added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) ProtoMessage added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) ProtoReflect added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) Reset added in v1.7.9

func (*WebhookEndpointsListResponse_WebhookEndpointData) String added in v1.7.9

Jump to

Keyboard shortcuts

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