integrationspublic

package
v1.8.29 Latest Latest
Warning

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

Go to latest
Published: Nov 12, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IntegrationsPublic_GetLinkData_FullMethodName        = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetLinkData"
	IntegrationsPublic_SubmitVerification_FullMethodName = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SubmitVerification"
	IntegrationsPublic_SessionKeepAlive_FullMethodName   = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SessionKeepAlive"
	IntegrationsPublic_GetInvoice_FullMethodName         = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetInvoice"
	IntegrationsPublic_SubmitPayment_FullMethodName      = "/api.v1alpha1.integrationspublic.IntegrationsPublic/SubmitPayment"
	IntegrationsPublic_GetReceipt_FullMethodName         = "/api.v1alpha1.integrationspublic.IntegrationsPublic/GetReceipt"
	IntegrationsPublic_ProcessWorkflow_FullMethodName    = "/api.v1alpha1.integrationspublic.IntegrationsPublic/ProcessWorkflow"
)

Variables

View Source
var File_api_v1alpha1_integrationspublic_service_proto protoreflect.FileDescriptor
View Source
var IntegrationsPublic_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.v1alpha1.integrationspublic.IntegrationsPublic",
	HandlerType: (*IntegrationsPublicServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetLinkData",
			Handler:    _IntegrationsPublic_GetLinkData_Handler,
		},
		{
			MethodName: "SubmitVerification",
			Handler:    _IntegrationsPublic_SubmitVerification_Handler,
		},
		{
			MethodName: "SessionKeepAlive",
			Handler:    _IntegrationsPublic_SessionKeepAlive_Handler,
		},
		{
			MethodName: "GetInvoice",
			Handler:    _IntegrationsPublic_GetInvoice_Handler,
		},
		{
			MethodName: "SubmitPayment",
			Handler:    _IntegrationsPublic_SubmitPayment_Handler,
		},
		{
			MethodName: "GetReceipt",
			Handler:    _IntegrationsPublic_GetReceipt_Handler,
		},
		{
			MethodName: "ProcessWorkflow",
			Handler:    _IntegrationsPublic_ProcessWorkflow_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "api/v1alpha1/integrationspublic/service.proto",
}

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

Functions

func RegisterIntegrationsPublicServer

func RegisterIntegrationsPublicServer(s grpc.ServiceRegistrar, srv IntegrationsPublicServer)

Types

type CompositeVal

type CompositeVal struct {
	Parts []*FieldOrStr `protobuf:"bytes,1,rep,name=parts,proto3" json:"parts,omitempty"`
	// contains filtered or unexported fields
}

represents the individual parts of a string, where some of the parts are fields in the payload, and other parts are static strings CompositeVal cannot handle circular references. Meaning you cannot have two values that contain fields of each other in the same payload. Fields that are not found when built into a string will throw an error

func (*CompositeVal) Descriptor deprecated

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

Deprecated: Use CompositeVal.ProtoReflect.Descriptor instead.

func (*CompositeVal) GetParts

func (x *CompositeVal) GetParts() []*FieldOrStr

func (*CompositeVal) ProtoMessage

func (*CompositeVal) ProtoMessage()

func (*CompositeVal) ProtoReflect

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

func (*CompositeVal) Reset

func (x *CompositeVal) Reset()

func (*CompositeVal) String

func (x *CompositeVal) String() string

type FieldOrStr

type FieldOrStr struct {

	// Types that are assignable to Val:
	//
	//	*FieldOrStr_Field
	//	*FieldOrStr_StrVal
	Val isFieldOrStr_Val `protobuf_oneof:"val"`
	// contains filtered or unexported fields
}

represents either a field name whose value needs to be looked up in the payload or a static string value

func (*FieldOrStr) Descriptor deprecated

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

Deprecated: Use FieldOrStr.ProtoReflect.Descriptor instead.

func (*FieldOrStr) GetField

func (x *FieldOrStr) GetField() string

func (*FieldOrStr) GetStrVal

func (x *FieldOrStr) GetStrVal() string

func (*FieldOrStr) GetVal

func (m *FieldOrStr) GetVal() isFieldOrStr_Val

func (*FieldOrStr) ProtoMessage

func (*FieldOrStr) ProtoMessage()

func (*FieldOrStr) ProtoReflect

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

func (*FieldOrStr) Reset

func (x *FieldOrStr) Reset()

func (*FieldOrStr) String

func (x *FieldOrStr) String() string

type FieldOrStr_Field

type FieldOrStr_Field struct {
	Field string `protobuf:"bytes,1,opt,name=field,proto3,oneof"`
}

type FieldOrStr_StrVal

type FieldOrStr_StrVal struct {
	StrVal string `protobuf:"bytes,2,opt,name=str_val,json=strVal,proto3,oneof"`
}

type GetInvoiceReq

type GetInvoiceReq struct {
	Entity    *PortalLinkId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	SessionId string        `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceReq) Descriptor deprecated

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

Deprecated: Use GetInvoiceReq.ProtoReflect.Descriptor instead.

func (*GetInvoiceReq) GetEntity

func (x *GetInvoiceReq) GetEntity() *PortalLinkId

func (*GetInvoiceReq) GetSessionId

func (x *GetInvoiceReq) GetSessionId() string

func (*GetInvoiceReq) ProtoMessage

func (*GetInvoiceReq) ProtoMessage()

func (*GetInvoiceReq) ProtoReflect

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

func (*GetInvoiceReq) Reset

func (x *GetInvoiceReq) Reset()

func (*GetInvoiceReq) String

func (x *GetInvoiceReq) String() string

type GetInvoiceRes

type GetInvoiceRes struct {

	// the raw data
	Fields       map[string]*Value `` /* 153-byte string literal not displayed */
	AmountDue    float64           `protobuf:"fixed64,2,opt,name=amount_due,json=amountDue,proto3" json:"amount_due,omitempty"`
	AmountDueKey string            `protobuf:"bytes,3,opt,name=amount_due_key,json=amountDueKey,proto3" json:"amount_due_key,omitempty"`
	// the parsed data
	Invoices *integrations.Invoices `protobuf:"bytes,4,opt,name=invoices,proto3" json:"invoices,omitempty"`
	// contains filtered or unexported fields
}

func (*GetInvoiceRes) Descriptor deprecated

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

Deprecated: Use GetInvoiceRes.ProtoReflect.Descriptor instead.

func (*GetInvoiceRes) GetAmountDue

func (x *GetInvoiceRes) GetAmountDue() float64

func (*GetInvoiceRes) GetAmountDueKey

func (x *GetInvoiceRes) GetAmountDueKey() string

func (*GetInvoiceRes) GetFields

func (x *GetInvoiceRes) GetFields() map[string]*Value

func (*GetInvoiceRes) GetInvoices

func (x *GetInvoiceRes) GetInvoices() *integrations.Invoices

func (*GetInvoiceRes) ProtoMessage

func (*GetInvoiceRes) ProtoMessage()

func (*GetInvoiceRes) ProtoReflect

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

func (*GetInvoiceRes) Reset

func (x *GetInvoiceRes) Reset()

func (*GetInvoiceRes) String

func (x *GetInvoiceRes) String() string

type GetLinkDataReq

type GetLinkDataReq struct {
	Entity *PortalLinkId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkDataReq) Descriptor deprecated

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

Deprecated: Use GetLinkDataReq.ProtoReflect.Descriptor instead.

func (*GetLinkDataReq) GetEntity

func (x *GetLinkDataReq) GetEntity() *PortalLinkId

func (*GetLinkDataReq) ProtoMessage

func (*GetLinkDataReq) ProtoMessage()

func (*GetLinkDataReq) ProtoReflect

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

func (*GetLinkDataReq) Reset

func (x *GetLinkDataReq) Reset()

func (*GetLinkDataReq) String

func (x *GetLinkDataReq) String() string

type GetLinkDataRes

type GetLinkDataRes struct {

	// true if payment was taken for this link
	Complete bool `protobuf:"varint,2,opt,name=complete,proto3" json:"complete,omitempty"`
	// true if the link is expired
	Expired bool `protobuf:"varint,3,opt,name=expired,proto3" json:"expired,omitempty"`
	// styling info
	PortalConfig *PortalConfig `protobuf:"bytes,4,opt,name=portal_config,json=portalConfig,proto3" json:"portal_config,omitempty"`
	// how the user verifies identity for this portal
	Verification *integrations.VerificationFlow `protobuf:"bytes,5,opt,name=verification,proto3" json:"verification,omitempty"`
	// how the user retrieves invoice for this portal
	Invoice *integrations.InvoiceFlow `protobuf:"bytes,6,opt,name=invoice,proto3" json:"invoice,omitempty"`
	// all the accepted payment flows for this portal
	Payments  []*integrations.PaymentFlow  `protobuf:"bytes,7,rep,name=payments,proto3" json:"payments,omitempty"`
	FlowForms []*GetLinkDataRes_FieldNames `protobuf:"bytes,9,rep,name=flow_forms,json=flowForms,proto3" json:"flow_forms,omitempty"`
	// text that appears on one of the portal pages
	PortalText *PortalText `protobuf:"bytes,15,opt,name=portal_text,json=portalText,proto3" json:"portal_text,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkDataRes) Descriptor deprecated

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

Deprecated: Use GetLinkDataRes.ProtoReflect.Descriptor instead.

func (*GetLinkDataRes) GetComplete

func (x *GetLinkDataRes) GetComplete() bool

func (*GetLinkDataRes) GetExpired

func (x *GetLinkDataRes) GetExpired() bool

func (*GetLinkDataRes) GetFlowForms

func (x *GetLinkDataRes) GetFlowForms() []*GetLinkDataRes_FieldNames

func (*GetLinkDataRes) GetInvoice

func (x *GetLinkDataRes) GetInvoice() *integrations.InvoiceFlow

func (*GetLinkDataRes) GetPayments

func (x *GetLinkDataRes) GetPayments() []*integrations.PaymentFlow

func (*GetLinkDataRes) GetPortalConfig

func (x *GetLinkDataRes) GetPortalConfig() *PortalConfig

func (*GetLinkDataRes) GetPortalText

func (x *GetLinkDataRes) GetPortalText() *PortalText

func (*GetLinkDataRes) GetVerification

func (x *GetLinkDataRes) GetVerification() *integrations.VerificationFlow

func (*GetLinkDataRes) ProtoMessage

func (*GetLinkDataRes) ProtoMessage()

func (*GetLinkDataRes) ProtoReflect

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

func (*GetLinkDataRes) Reset

func (x *GetLinkDataRes) Reset()

func (*GetLinkDataRes) String

func (x *GetLinkDataRes) String() string

type GetLinkDataRes_FieldNames

type GetLinkDataRes_FieldNames struct {
	Flow       *integrations.Flow              `protobuf:"bytes,8,opt,name=flow,proto3" json:"flow,omitempty"`
	FieldNames []string                        `protobuf:"bytes,9,rep,name=field_names,json=fieldNames,proto3" json:"field_names,omitempty"`
	Fields     []*integrations.FieldDefinition `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*GetLinkDataRes_FieldNames) Descriptor deprecated

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

Deprecated: Use GetLinkDataRes_FieldNames.ProtoReflect.Descriptor instead.

func (*GetLinkDataRes_FieldNames) GetFieldNames

func (x *GetLinkDataRes_FieldNames) GetFieldNames() []string

func (*GetLinkDataRes_FieldNames) GetFields

func (*GetLinkDataRes_FieldNames) GetFlow

func (*GetLinkDataRes_FieldNames) ProtoMessage

func (*GetLinkDataRes_FieldNames) ProtoMessage()

func (*GetLinkDataRes_FieldNames) ProtoReflect

func (*GetLinkDataRes_FieldNames) Reset

func (x *GetLinkDataRes_FieldNames) Reset()

func (*GetLinkDataRes_FieldNames) String

func (x *GetLinkDataRes_FieldNames) String() string

type GetReceiptReq

type GetReceiptReq struct {
	Entity    *PortalLinkId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	SessionId string        `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReceiptReq) Descriptor deprecated

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

Deprecated: Use GetReceiptReq.ProtoReflect.Descriptor instead.

func (*GetReceiptReq) GetEntity

func (x *GetReceiptReq) GetEntity() *PortalLinkId

func (*GetReceiptReq) GetSessionId

func (x *GetReceiptReq) GetSessionId() string

func (*GetReceiptReq) ProtoMessage

func (*GetReceiptReq) ProtoMessage()

func (*GetReceiptReq) ProtoReflect

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

func (*GetReceiptReq) Reset

func (x *GetReceiptReq) Reset()

func (*GetReceiptReq) String

func (x *GetReceiptReq) String() string

type GetReceiptRes

type GetReceiptRes struct {
	ReceiptId string `protobuf:"bytes,1,opt,name=receipt_id,json=receiptId,proto3" json:"receipt_id,omitempty"`
	// the non-sensitive request fields used to make the payment
	Request map[string]*Value `` /* 155-byte string literal not displayed */
	// the response from the payment
	Response map[string]*Value `` /* 157-byte string literal not displayed */
	// amount charged
	AmountPaid float64 `protobuf:"fixed64,4,opt,name=amount_paid,json=amountPaid,proto3" json:"amount_paid,omitempty"`
	// field in the response that represents the amount charged
	AmountPaidKey string `protobuf:"bytes,5,opt,name=amount_paid_key,json=amountPaidKey,proto3" json:"amount_paid_key,omitempty"`
	// flow name, type and options used
	PaymentFlow *integrations.PaymentFlow `protobuf:"bytes,6,opt,name=payment_flow,json=paymentFlow,proto3" json:"payment_flow,omitempty"`
	// contains filtered or unexported fields
}

func (*GetReceiptRes) Descriptor deprecated

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

Deprecated: Use GetReceiptRes.ProtoReflect.Descriptor instead.

func (*GetReceiptRes) GetAmountPaid

func (x *GetReceiptRes) GetAmountPaid() float64

func (*GetReceiptRes) GetAmountPaidKey

func (x *GetReceiptRes) GetAmountPaidKey() string

func (*GetReceiptRes) GetPaymentFlow

func (x *GetReceiptRes) GetPaymentFlow() *integrations.PaymentFlow

func (*GetReceiptRes) GetReceiptId

func (x *GetReceiptRes) GetReceiptId() string

func (*GetReceiptRes) GetRequest

func (x *GetReceiptRes) GetRequest() map[string]*Value

func (*GetReceiptRes) GetResponse

func (x *GetReceiptRes) GetResponse() map[string]*Value

func (*GetReceiptRes) ProtoMessage

func (*GetReceiptRes) ProtoMessage()

func (*GetReceiptRes) ProtoReflect

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

func (*GetReceiptRes) Reset

func (x *GetReceiptRes) Reset()

func (*GetReceiptRes) String

func (x *GetReceiptRes) String() string

type IntegrationsPublicClient

type IntegrationsPublicClient interface {
	GetLinkData(ctx context.Context, in *GetLinkDataReq, opts ...grpc.CallOption) (*GetLinkDataRes, error)
	SubmitVerification(ctx context.Context, in *SubmitVerificationReq, opts ...grpc.CallOption) (*SubmitVerificationRes, error)
	SessionKeepAlive(ctx context.Context, in *SessionKeepAliveReq, opts ...grpc.CallOption) (*SessionKeepAliveRes, error)
	GetInvoice(ctx context.Context, in *GetInvoiceReq, opts ...grpc.CallOption) (*GetInvoiceRes, error)
	SubmitPayment(ctx context.Context, in *SubmitPaymentReq, opts ...grpc.CallOption) (*SubmitPaymentRes, error)
	GetReceipt(ctx context.Context, in *GetReceiptReq, opts ...grpc.CallOption) (*GetReceiptRes, error)
	ProcessWorkflow(ctx context.Context, in *ProcessWorkflowReq, opts ...grpc.CallOption) (*ProcessWorkflowRes, error)
}

IntegrationsPublicClient is the client API for IntegrationsPublic 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.

type IntegrationsPublicServer

type IntegrationsPublicServer interface {
	GetLinkData(context.Context, *GetLinkDataReq) (*GetLinkDataRes, error)
	SubmitVerification(context.Context, *SubmitVerificationReq) (*SubmitVerificationRes, error)
	SessionKeepAlive(context.Context, *SessionKeepAliveReq) (*SessionKeepAliveRes, error)
	GetInvoice(context.Context, *GetInvoiceReq) (*GetInvoiceRes, error)
	SubmitPayment(context.Context, *SubmitPaymentReq) (*SubmitPaymentRes, error)
	GetReceipt(context.Context, *GetReceiptReq) (*GetReceiptRes, error)
	ProcessWorkflow(context.Context, *ProcessWorkflowReq) (*ProcessWorkflowRes, error)
	// contains filtered or unexported methods
}

IntegrationsPublicServer is the server API for IntegrationsPublic service. All implementations must embed UnimplementedIntegrationsPublicServer for forward compatibility.

type PortalConfig

type PortalConfig struct {
	Id          string `protobuf:"bytes,21,opt,name=id,proto3" json:"id,omitempty"`
	Name        string `protobuf:"bytes,22,opt,name=name,proto3" json:"name,omitempty"`
	Description string `protobuf:"bytes,23,opt,name=description,proto3" json:"description,omitempty"`
	// link to pull up a chat with customer service
	ChatClientLink string `protobuf:"bytes,2,opt,name=chat_client_link,json=chatClientLink,proto3" json:"chat_client_link,omitempty"`
	ContactEmail   string `protobuf:"bytes,3,opt,name=contact_email,json=contactEmail,proto3" json:"contact_email,omitempty"`
	ContactPhone   string `protobuf:"bytes,4,opt,name=contact_phone,json=contactPhone,proto3" json:"contact_phone,omitempty"`
	PostalCode     string `protobuf:"bytes,5,opt,name=postal_code,json=postalCode,proto3" json:"postal_code,omitempty"`
	City           string `protobuf:"bytes,6,opt,name=city,proto3" json:"city,omitempty"`
	State          string `protobuf:"bytes,7,opt,name=state,proto3" json:"state,omitempty"`
	CompanyName    string `protobuf:"bytes,8,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
	Logo []byte `protobuf:"bytes,13,opt,name=logo,proto3" json:"logo,omitempty"`
	// is the primary color used for the portal screen
	PrimaryColor string `protobuf:"bytes,14,opt,name=primary_color,json=primaryColor,proto3" json:"primary_color,omitempty"`
	// accent color used on the portal screen
	SecondaryColor string `protobuf:"bytes,15,opt,name=secondary_color,json=secondaryColor,proto3" json:"secondary_color,omitempty"`
	StreetAddress  string `protobuf:"bytes,19,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty"`
	// contains filtered or unexported fields
}

all these things will show up on the portal screen to the receiver of the link contact info should look like the company who is using the portal(not tcn)

func (*PortalConfig) Descriptor deprecated

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

Deprecated: Use PortalConfig.ProtoReflect.Descriptor instead.

func (x *PortalConfig) GetChatClientLink() string

func (*PortalConfig) GetCity

func (x *PortalConfig) GetCity() string

func (*PortalConfig) GetCompanyName

func (x *PortalConfig) GetCompanyName() string

func (*PortalConfig) GetContactEmail

func (x *PortalConfig) GetContactEmail() string

func (*PortalConfig) GetContactPhone

func (x *PortalConfig) GetContactPhone() string

func (*PortalConfig) GetDescription

func (x *PortalConfig) GetDescription() string

func (*PortalConfig) GetId

func (x *PortalConfig) GetId() string
func (x *PortalConfig) GetLogo() []byte

func (*PortalConfig) GetName

func (x *PortalConfig) GetName() string

func (*PortalConfig) GetPostalCode

func (x *PortalConfig) GetPostalCode() string

func (*PortalConfig) GetPrimaryColor

func (x *PortalConfig) GetPrimaryColor() string

func (*PortalConfig) GetSecondaryColor

func (x *PortalConfig) GetSecondaryColor() string

func (*PortalConfig) GetState

func (x *PortalConfig) GetState() string

func (*PortalConfig) GetStreetAddress

func (x *PortalConfig) GetStreetAddress() string

func (*PortalConfig) ProtoMessage

func (*PortalConfig) ProtoMessage()

func (*PortalConfig) ProtoReflect

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

func (*PortalConfig) Reset

func (x *PortalConfig) Reset()

func (*PortalConfig) String

func (x *PortalConfig) String() string

type PortalConfigId

type PortalConfigId struct {
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PortalConfigId) Descriptor deprecated

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

Deprecated: Use PortalConfigId.ProtoReflect.Descriptor instead.

func (*PortalConfigId) GetId

func (x *PortalConfigId) GetId() string

func (*PortalConfigId) ProtoMessage

func (*PortalConfigId) ProtoMessage()

func (*PortalConfigId) ProtoReflect

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

func (*PortalConfigId) Reset

func (x *PortalConfigId) Reset()

func (*PortalConfigId) String

func (x *PortalConfigId) String() string

type PortalLinkId

type PortalLinkId struct {
	Id string `protobuf:"bytes,3,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*PortalLinkId) Descriptor deprecated

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

Deprecated: Use PortalLinkId.ProtoReflect.Descriptor instead.

func (*PortalLinkId) GetId

func (x *PortalLinkId) GetId() string

func (*PortalLinkId) ProtoMessage

func (*PortalLinkId) ProtoMessage()

func (*PortalLinkId) ProtoReflect

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

func (*PortalLinkId) Reset

func (x *PortalLinkId) Reset()

func (*PortalLinkId) String

func (x *PortalLinkId) String() string

type PortalText

type PortalText struct {
	VerificationHeader string `protobuf:"bytes,1,opt,name=verification_header,json=verificationHeader,proto3" json:"verification_header,omitempty"`
	VerificationFooter string `protobuf:"bytes,2,opt,name=verification_footer,json=verificationFooter,proto3" json:"verification_footer,omitempty"`
	PaymentHeader      string `protobuf:"bytes,3,opt,name=payment_header,json=paymentHeader,proto3" json:"payment_header,omitempty"`
	PaymentFooter      string `protobuf:"bytes,4,opt,name=payment_footer,json=paymentFooter,proto3" json:"payment_footer,omitempty"`
	ReceiptHeader      string `protobuf:"bytes,5,opt,name=receipt_header,json=receiptHeader,proto3" json:"receipt_header,omitempty"`
	ReceiptFooter      string `protobuf:"bytes,6,opt,name=receipt_footer,json=receiptFooter,proto3" json:"receipt_footer,omitempty"`
	InvoiceHeader      string `protobuf:"bytes,7,opt,name=invoice_header,json=invoiceHeader,proto3" json:"invoice_header,omitempty"`
	InvoiceFooter      string `protobuf:"bytes,8,opt,name=invoice_footer,json=invoiceFooter,proto3" json:"invoice_footer,omitempty"`
	// contains filtered or unexported fields
}

func (*PortalText) Descriptor deprecated

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

Deprecated: Use PortalText.ProtoReflect.Descriptor instead.

func (*PortalText) GetInvoiceFooter

func (x *PortalText) GetInvoiceFooter() string

func (*PortalText) GetInvoiceHeader

func (x *PortalText) GetInvoiceHeader() string

func (*PortalText) GetPaymentFooter

func (x *PortalText) GetPaymentFooter() string

func (*PortalText) GetPaymentHeader

func (x *PortalText) GetPaymentHeader() string

func (*PortalText) GetReceiptFooter

func (x *PortalText) GetReceiptFooter() string

func (*PortalText) GetReceiptHeader

func (x *PortalText) GetReceiptHeader() string

func (*PortalText) GetVerificationFooter

func (x *PortalText) GetVerificationFooter() string

func (*PortalText) GetVerificationHeader

func (x *PortalText) GetVerificationHeader() string

func (*PortalText) ProtoMessage

func (*PortalText) ProtoMessage()

func (*PortalText) ProtoReflect

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

func (*PortalText) Reset

func (x *PortalText) Reset()

func (*PortalText) String

func (x *PortalText) String() string

type ProcessWorkflowReq added in v1.8.4

type ProcessWorkflowReq struct {

	// portal link id is optional depending on the type of portal being processed
	// if it is specified, we merge in the link data to the request params
	PortalLinkId string `protobuf:"bytes,1,opt,name=portal_link_id,json=portalLinkId,proto3" json:"portal_link_id,omitempty"`
	PortalId     string `protobuf:"bytes,2,opt,name=portal_id,json=portalId,proto3" json:"portal_id,omitempty"`
	// segment tells us which workflow segment needs processing
	Segment int32 `protobuf:"varint,3,opt,name=segment,proto3" json:"segment,omitempty"`
	// which choice in the workflow array to be processed
	Choice int32 `protobuf:"varint,4,opt,name=choice,proto3" json:"choice,omitempty"`
	// params are what the user fills out before it is processed.
	// It will be merged with plugin instance data and potentially link data
	Params        map[string]*Value          `` /* 153-byte string literal not displayed */
	RequestOrigin integrations.RequestOrigin `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProcessWorkflowReq) Descriptor deprecated added in v1.8.4

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

Deprecated: Use ProcessWorkflowReq.ProtoReflect.Descriptor instead.

func (*ProcessWorkflowReq) GetChoice added in v1.8.4

func (x *ProcessWorkflowReq) GetChoice() int32

func (*ProcessWorkflowReq) GetParams added in v1.8.4

func (x *ProcessWorkflowReq) GetParams() map[string]*Value

func (*ProcessWorkflowReq) GetPortalId added in v1.8.4

func (x *ProcessWorkflowReq) GetPortalId() string

func (*ProcessWorkflowReq) GetPortalLinkId added in v1.8.4

func (x *ProcessWorkflowReq) GetPortalLinkId() string

func (*ProcessWorkflowReq) GetRequestOrigin added in v1.8.26

func (x *ProcessWorkflowReq) GetRequestOrigin() integrations.RequestOrigin

func (*ProcessWorkflowReq) GetSegment added in v1.8.4

func (x *ProcessWorkflowReq) GetSegment() int32

func (*ProcessWorkflowReq) ProtoMessage added in v1.8.4

func (*ProcessWorkflowReq) ProtoMessage()

func (*ProcessWorkflowReq) ProtoReflect added in v1.8.4

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

func (*ProcessWorkflowReq) Reset added in v1.8.4

func (x *ProcessWorkflowReq) Reset()

func (*ProcessWorkflowReq) String added in v1.8.4

func (x *ProcessWorkflowReq) String() string

type ProcessWorkflowRes added in v1.8.4

type ProcessWorkflowRes struct {
	Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
	// the response data from the process
	Data map[string]*Value `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*ProcessWorkflowRes) Descriptor deprecated added in v1.8.4

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

Deprecated: Use ProcessWorkflowRes.ProtoReflect.Descriptor instead.

func (*ProcessWorkflowRes) GetData added in v1.8.4

func (x *ProcessWorkflowRes) GetData() map[string]*Value

func (*ProcessWorkflowRes) GetSuccess added in v1.8.4

func (x *ProcessWorkflowRes) GetSuccess() bool

func (*ProcessWorkflowRes) ProtoMessage added in v1.8.4

func (*ProcessWorkflowRes) ProtoMessage()

func (*ProcessWorkflowRes) ProtoReflect added in v1.8.4

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

func (*ProcessWorkflowRes) Reset added in v1.8.4

func (x *ProcessWorkflowRes) Reset()

func (*ProcessWorkflowRes) String added in v1.8.4

func (x *ProcessWorkflowRes) String() string

type SessionKeepAliveReq

type SessionKeepAliveReq struct {
	Entity    *PortalLinkId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	SessionId string        `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionKeepAliveReq) Descriptor deprecated

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

Deprecated: Use SessionKeepAliveReq.ProtoReflect.Descriptor instead.

func (*SessionKeepAliveReq) GetEntity

func (x *SessionKeepAliveReq) GetEntity() *PortalLinkId

func (*SessionKeepAliveReq) GetSessionId

func (x *SessionKeepAliveReq) GetSessionId() string

func (*SessionKeepAliveReq) ProtoMessage

func (*SessionKeepAliveReq) ProtoMessage()

func (*SessionKeepAliveReq) ProtoReflect

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

func (*SessionKeepAliveReq) Reset

func (x *SessionKeepAliveReq) Reset()

func (*SessionKeepAliveReq) String

func (x *SessionKeepAliveReq) String() string

type SessionKeepAliveRes

type SessionKeepAliveRes struct {

	// session refreshed ok
	Ok        bool   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SessionKeepAliveRes) Descriptor deprecated

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

Deprecated: Use SessionKeepAliveRes.ProtoReflect.Descriptor instead.

func (*SessionKeepAliveRes) GetOk

func (x *SessionKeepAliveRes) GetOk() bool

func (*SessionKeepAliveRes) GetSessionId

func (x *SessionKeepAliveRes) GetSessionId() string

func (*SessionKeepAliveRes) ProtoMessage

func (*SessionKeepAliveRes) ProtoMessage()

func (*SessionKeepAliveRes) ProtoReflect

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

func (*SessionKeepAliveRes) Reset

func (x *SessionKeepAliveRes) Reset()

func (*SessionKeepAliveRes) String

func (x *SessionKeepAliveRes) String() string

type SubmitPaymentReq

type SubmitPaymentReq struct {
	Entity        *PortalLinkId             `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	SessionId     string                    `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	PaymentFields map[string]*Value         `` /* 188-byte string literal not displayed */
	PaymentFlow   *integrations.PaymentFlow `protobuf:"bytes,4,opt,name=payment_flow,json=paymentFlow,proto3" json:"payment_flow,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitPaymentReq) Descriptor deprecated

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

Deprecated: Use SubmitPaymentReq.ProtoReflect.Descriptor instead.

func (*SubmitPaymentReq) GetEntity

func (x *SubmitPaymentReq) GetEntity() *PortalLinkId

func (*SubmitPaymentReq) GetPaymentFields

func (x *SubmitPaymentReq) GetPaymentFields() map[string]*Value

func (*SubmitPaymentReq) GetPaymentFlow

func (x *SubmitPaymentReq) GetPaymentFlow() *integrations.PaymentFlow

func (*SubmitPaymentReq) GetSessionId

func (x *SubmitPaymentReq) GetSessionId() string

func (*SubmitPaymentReq) ProtoMessage

func (*SubmitPaymentReq) ProtoMessage()

func (*SubmitPaymentReq) ProtoReflect

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

func (*SubmitPaymentReq) Reset

func (x *SubmitPaymentReq) Reset()

func (*SubmitPaymentReq) String

func (x *SubmitPaymentReq) String() string

type SubmitPaymentRes

type SubmitPaymentRes struct {
	Fields        map[string]*Value `` /* 153-byte string literal not displayed */
	AmountPaid    float64           `protobuf:"fixed64,2,opt,name=amount_paid,json=amountPaid,proto3" json:"amount_paid,omitempty"`
	AmountPaidKey string            `protobuf:"bytes,3,opt,name=amount_paid_key,json=amountPaidKey,proto3" json:"amount_paid_key,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitPaymentRes) Descriptor deprecated

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

Deprecated: Use SubmitPaymentRes.ProtoReflect.Descriptor instead.

func (*SubmitPaymentRes) GetAmountPaid

func (x *SubmitPaymentRes) GetAmountPaid() float64

func (*SubmitPaymentRes) GetAmountPaidKey

func (x *SubmitPaymentRes) GetAmountPaidKey() string

func (*SubmitPaymentRes) GetFields

func (x *SubmitPaymentRes) GetFields() map[string]*Value

func (*SubmitPaymentRes) ProtoMessage

func (*SubmitPaymentRes) ProtoMessage()

func (*SubmitPaymentRes) ProtoReflect

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

func (*SubmitPaymentRes) Reset

func (x *SubmitPaymentRes) Reset()

func (*SubmitPaymentRes) String

func (x *SubmitPaymentRes) String() string

type SubmitVerificationReq

type SubmitVerificationReq struct {
	Entity *PortalLinkId `protobuf:"bytes,1,opt,name=entity,proto3" json:"entity,omitempty"`
	// values from the verification form
	VerificationFields map[string]*Value `` /* 203-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SubmitVerificationReq) Descriptor deprecated

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

Deprecated: Use SubmitVerificationReq.ProtoReflect.Descriptor instead.

func (*SubmitVerificationReq) GetEntity

func (x *SubmitVerificationReq) GetEntity() *PortalLinkId

func (*SubmitVerificationReq) GetVerificationFields

func (x *SubmitVerificationReq) GetVerificationFields() map[string]*Value

func (*SubmitVerificationReq) ProtoMessage

func (*SubmitVerificationReq) ProtoMessage()

func (*SubmitVerificationReq) ProtoReflect

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

func (*SubmitVerificationReq) Reset

func (x *SubmitVerificationReq) Reset()

func (*SubmitVerificationReq) String

func (x *SubmitVerificationReq) String() string

type SubmitVerificationRes

type SubmitVerificationRes struct {

	// if true, the session_id is valid and the user is considered "logged in"
	Verified bool `protobuf:"varint,1,opt,name=verified,proto3" json:"verified,omitempty"`
	// must be sent for requests that require a user to be verified
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SubmitVerificationRes) Descriptor deprecated

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

Deprecated: Use SubmitVerificationRes.ProtoReflect.Descriptor instead.

func (*SubmitVerificationRes) GetSessionId

func (x *SubmitVerificationRes) GetSessionId() string

func (*SubmitVerificationRes) GetVerified

func (x *SubmitVerificationRes) GetVerified() bool

func (*SubmitVerificationRes) ProtoMessage

func (*SubmitVerificationRes) ProtoMessage()

func (*SubmitVerificationRes) ProtoReflect

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

func (*SubmitVerificationRes) Reset

func (x *SubmitVerificationRes) Reset()

func (*SubmitVerificationRes) String

func (x *SubmitVerificationRes) String() string

type UnimplementedIntegrationsPublicServer

type UnimplementedIntegrationsPublicServer struct{}

UnimplementedIntegrationsPublicServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedIntegrationsPublicServer) GetInvoice

func (UnimplementedIntegrationsPublicServer) GetLinkData

func (UnimplementedIntegrationsPublicServer) GetReceipt

func (UnimplementedIntegrationsPublicServer) ProcessWorkflow added in v1.8.4

func (UnimplementedIntegrationsPublicServer) SessionKeepAlive

func (UnimplementedIntegrationsPublicServer) SubmitPayment

func (UnimplementedIntegrationsPublicServer) SubmitVerification

type UnsafeIntegrationsPublicServer

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

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

type Value

type Value struct {

	// Types that are assignable to Val:
	//
	//	*Value_StrVal
	//	*Value_NumVal
	//	*Value_BoolVal
	//	*Value_TimeVal
	//	*Value_CompVal
	//	*Value_IntVal
	Val isValue_Val `protobuf_oneof:"val"`
	// whether this value should be allowed to be stored
	Sensitive bool `protobuf:"varint,5,opt,name=sensitive,proto3" json:"sensitive,omitempty"`
	// what type of data value we *want* to validate as.
	// a value does *not* have to match the validation enum.
	// a value that does not match its validation enum is just invalid.
	Validation integrations.Validation `protobuf:"varint,8,opt,name=validation,proto3,enum=api.commons.integrations.Validation" json:"validation,omitempty"`
	// contains filtered or unexported fields
}

kind of like a json value, but we don't support circular references

func (*Value) Descriptor deprecated

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

Deprecated: Use Value.ProtoReflect.Descriptor instead.

func (*Value) GetBoolVal

func (x *Value) GetBoolVal() bool

func (*Value) GetCompVal

func (x *Value) GetCompVal() *CompositeVal

func (*Value) GetIntVal

func (x *Value) GetIntVal() int64

func (*Value) GetNumVal

func (x *Value) GetNumVal() float64

func (*Value) GetSensitive

func (x *Value) GetSensitive() bool

func (*Value) GetStrVal

func (x *Value) GetStrVal() string

func (*Value) GetTimeVal

func (x *Value) GetTimeVal() *timestamppb.Timestamp

func (*Value) GetVal

func (m *Value) GetVal() isValue_Val

func (*Value) GetValidation

func (x *Value) GetValidation() integrations.Validation

func (*Value) ProtoMessage

func (*Value) ProtoMessage()

func (*Value) ProtoReflect

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

func (*Value) Reset

func (x *Value) Reset()

func (*Value) String

func (x *Value) String() string

type Value_BoolVal

type Value_BoolVal struct {
	BoolVal bool `protobuf:"varint,3,opt,name=bool_val,json=boolVal,proto3,oneof"`
}

type Value_CompVal

type Value_CompVal struct {
	CompVal *CompositeVal `protobuf:"bytes,6,opt,name=comp_val,json=compVal,proto3,oneof"`
}

type Value_IntVal

type Value_IntVal struct {
	IntVal int64 `protobuf:"varint,7,opt,name=int_val,json=intVal,proto3,oneof"`
}

type Value_NumVal

type Value_NumVal struct {
	NumVal float64 `protobuf:"fixed64,2,opt,name=num_val,json=numVal,proto3,oneof"`
}

type Value_StrVal

type Value_StrVal struct {
	StrVal string `protobuf:"bytes,1,opt,name=str_val,json=strVal,proto3,oneof"`
}

type Value_TimeVal

type Value_TimeVal struct {
	TimeVal *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=time_val,json=timeVal,proto3,oneof"`
}

type Values

type Values struct {
	Values map[string]*Value `` /* 153-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Values) Descriptor deprecated

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

Deprecated: Use Values.ProtoReflect.Descriptor instead.

func (*Values) GetValues

func (x *Values) GetValues() map[string]*Value

func (*Values) ProtoMessage

func (*Values) ProtoMessage()

func (*Values) ProtoReflect

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

func (*Values) Reset

func (x *Values) Reset()

func (*Values) String

func (x *Values) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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