event

package
v0.999.0-cleanappdata.0 Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ApplicationUpdated added in v0.805.0

type ApplicationUpdated struct {
	UID       string                  `json:"uid"`
	Type      string                  `json:"type"`
	CreatedAt time.Time               `json:"createdAt"`
	Donor     ApplicationUpdatedDonor `json:"donor"`
}

type ApplicationUpdatedDonor added in v0.805.0

type ApplicationUpdatedDonor struct {
	FirstNames  string        `json:"firstNames"`
	LastName    string        `json:"lastName"`
	DateOfBirth date.Date     `json:"dob"`
	Address     place.Address `json:"address"`
}

type Client

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

func NewClient

func NewClient(cfg aws.Config, eventBusName string) *Client

func (*Client) SendApplicationUpdated added in v0.805.0

func (c *Client) SendApplicationUpdated(ctx context.Context, event ApplicationUpdated) error

func (*Client) SendNotificationSent added in v0.962.0

func (c *Client) SendNotificationSent(ctx context.Context, event NotificationSent) error

func (*Client) SendPaperFormRequested added in v0.993.0

func (c *Client) SendPaperFormRequested(ctx context.Context, event PaperFormRequested) error

func (*Client) SendPreviousApplicationLinked added in v0.805.0

func (c *Client) SendPreviousApplicationLinked(ctx context.Context, event PreviousApplicationLinked) error

func (*Client) SendReducedFeeRequested added in v0.805.0

func (c *Client) SendReducedFeeRequested(ctx context.Context, event ReducedFeeRequested) error

func (*Client) SendUidRequested added in v0.805.0

func (c *Client) SendUidRequested(ctx context.Context, event UidRequested) error

type Evidence added in v0.868.0

type Evidence struct {
	Path     string `json:"path"`
	Filename string `json:"filename"`
}

type NotificationSent added in v0.962.0

type NotificationSent struct {
	UID            string `json:"uid"`
	NotificationID string `json:"notificationId"`
}

type PaperFormRequested added in v0.993.0

type PaperFormRequested struct {
	UID       string `json:"uid"`
	ActorType string `json:"actorType"`
	ActorUID  string `json:"actorUID,omitempty"`
}

type PreviousApplicationLinked added in v0.805.0

type PreviousApplicationLinked struct {
	UID                       string `json:"uid"`
	PreviousApplicationNumber string `json:"previousApplicationNumber"`
}

type ReducedFeeRequested added in v0.805.0

type ReducedFeeRequested struct {
	UID              string     `json:"uid"`
	RequestType      string     `json:"requestType"`
	Evidence         []Evidence `json:"evidence,omitempty"`
	EvidenceDelivery string     `json:"evidenceDelivery"`
}

type UidRequested added in v0.805.0

type UidRequested struct {
	LpaID          string
	DonorSessionID string
	Type           string
	Donor          uid.DonorDetails
}

Jump to

Keyboard shortcuts

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