io

package
v1.1.138 Latest Latest
Warning

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

Go to latest
Published: Jun 23, 2025 License: MIT Imports: 21 Imported by: 4

Documentation

Overview

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Package io is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	Certificates_GetAppleCertificateData_FullMethodName          = "/io.Certificates/getAppleCertificateData"
	Certificates_GetCertificateSigningRequest_FullMethodName     = "/io.Certificates/getCertificateSigningRequest"
	Certificates_AddAppleCertificate_FullMethodName              = "/io.Certificates/addAppleCertificate"
	Certificates_UpdateAppleCertificate_FullMethodName           = "/io.Certificates/updateAppleCertificate"
	Certificates_ListAppleCertificatesDeprecated_FullMethodName  = "/io.Certificates/listAppleCertificatesDeprecated"
	Certificates_ListAppleCertificates_FullMethodName            = "/io.Certificates/listAppleCertificates"
	Certificates_CountAppleCertificatesDeprecated_FullMethodName = "/io.Certificates/countAppleCertificatesDeprecated"
	Certificates_CountAppleCertificates_FullMethodName           = "/io.Certificates/countAppleCertificates"
	Certificates_SendNFCSigningCredentials_FullMethodName        = "/io.Certificates/sendNFCSigningCredentials"
)
View Source
const (
	Distribution_SendWelcomeEmail_FullMethodName            = "/io.Distribution/sendWelcomeEmail"
	Distribution_GetSmartPassLink_FullMethodName            = "/io.Distribution/getSmartPassLink"
	Distribution_GetDataCollectionPageFields_FullMethodName = "/io.Distribution/getDataCollectionPageFields"
	Distribution_UploadSmartPassCsv_FullMethodName          = "/io.Distribution/uploadSmartPassCsv"
	Distribution_ImportProtocolCsv_FullMethodName           = "/io.Distribution/importProtocolCsv"
	Distribution_ValidateBarcode_FullMethodName             = "/io.Distribution/validateBarcode"
)
View Source
const (
	Images_SetProfileImage_FullMethodName              = "/io.Images/setProfileImage"
	Images_GetProfileImage_FullMethodName              = "/io.Images/getProfileImage"
	Images_CreateImages_FullMethodName                 = "/io.Images/createImages"
	Images_UpdateImage_FullMethodName                  = "/io.Images/updateImage"
	Images_GetImageURL_FullMethodName                  = "/io.Images/getImageURL"
	Images_GetStampImageURL_FullMethodName             = "/io.Images/getStampImageURL"
	Images_GetStampImageConfig_FullMethodName          = "/io.Images/getStampImageConfig"
	Images_UpdateStampImageConfig_FullMethodName       = "/io.Images/updateStampImageConfig"
	Images_GetStampImagePreview_FullMethodName         = "/io.Images/getStampImagePreview"
	Images_GetLocalizedImageURL_FullMethodName         = "/io.Images/getLocalizedImageURL"
	Images_GetProfileImageById_FullMethodName          = "/io.Images/getProfileImageById"
	Images_GetImageBundle_FullMethodName               = "/io.Images/getImageBundle"
	Images_GetImageData_FullMethodName                 = "/io.Images/getImageData"
	Images_DeleteImage_FullMethodName                  = "/io.Images/deleteImage"
	Images_DeleteLocalizedImage_FullMethodName         = "/io.Images/deleteLocalizedImage"
	Images_ListImagesForUserDeprecated_FullMethodName  = "/io.Images/listImagesForUserDeprecated"
	Images_ListImagesForUser_FullMethodName            = "/io.Images/listImagesForUser"
	Images_ListImagesDeprecated_FullMethodName         = "/io.Images/listImagesDeprecated"
	Images_ListImages_FullMethodName                   = "/io.Images/listImages"
	Images_CountImagesDeprecated_FullMethodName        = "/io.Images/countImagesDeprecated"
	Images_CountImages_FullMethodName                  = "/io.Images/countImages"
	Images_CountImagesForUserDeprecated_FullMethodName = "/io.Images/countImagesForUserDeprecated"
	Images_CountImagesForUser_FullMethodName           = "/io.Images/countImagesForUser"
)
View Source
const (
	Messages_GetMessage_FullMethodName    = "/io.Messages/getMessage"
	Messages_CreateMessage_FullMethodName = "/io.Messages/createMessage"
	Messages_UpdateMessage_FullMethodName = "/io.Messages/updateMessage"
	Messages_DeleteMessage_FullMethodName = "/io.Messages/deleteMessage"
	Messages_SendMessage_FullMethodName   = "/io.Messages/sendMessage"
)
View Source
const (
	Users_CreateUser_FullMethodName                        = "/io.Users/createUser"
	Users_NewUser_FullMethodName                           = "/io.Users/newUser"
	Users_Verify_FullMethodName                            = "/io.Users/verify"
	Users_ResendVerificationEmail_FullMethodName           = "/io.Users/resendVerificationEmail"
	Users_GetUser_FullMethodName                           = "/io.Users/getUser"
	Users_Login_FullMethodName                             = "/io.Users/login"
	Users_Get2FaBarcode_FullMethodName                     = "/io.Users/get2faBarcode"
	Users_ResetPassword_FullMethodName                     = "/io.Users/resetPassword"
	Users_SendPasswordResetLink_FullMethodName             = "/io.Users/sendPasswordResetLink"
	Users_ChangePassword_FullMethodName                    = "/io.Users/changePassword"
	Users_ChangeEmail_FullMethodName                       = "/io.Users/changeEmail"
	Users_ConfirmEmailChange_FullMethodName                = "/io.Users/confirmEmailChange"
	Users_UpdateCompanyName_FullMethodName                 = "/io.Users/updateCompanyName"
	Users_GetProjectsForUserQueryDeprecated_FullMethodName = "/io.Users/getProjectsForUserQueryDeprecated"
	Users_GetProjectsQueryDeprecated_FullMethodName        = "/io.Users/getProjectsQueryDeprecated"
	Users_GetProjectsForUserQuery_FullMethodName           = "/io.Users/getProjectsForUserQuery"
	Users_GetProjectsQuery_FullMethodName                  = "/io.Users/getProjectsQuery"
	Users_GetProjectByUuid_FullMethodName                  = "/io.Users/getProjectByUuid"
	Users_GetProjectAndTemplateByShortCode_FullMethodName  = "/io.Users/getProjectAndTemplateByShortCode"
	Users_GetProjectsForUser_FullMethodName                = "/io.Users/getProjectsForUser"
	Users_GetProjects_FullMethodName                       = "/io.Users/getProjects"
	Users_GetScannerConfig_FullMethodName                  = "/io.Users/getScannerConfig"
	Users_CreateScannerConfig_FullMethodName               = "/io.Users/createScannerConfig"
	Users_UpdateScannerConfig_FullMethodName               = "/io.Users/updateScannerConfig"
	Users_CreateAuthorizationResource_FullMethodName       = "/io.Users/createAuthorizationResource"
	Users_DeleteAuthorizationResource_FullMethodName       = "/io.Users/deleteAuthorizationResource"
	Users_RefreshApiSecret_FullMethodName                  = "/io.Users/refreshApiSecret"
	Users_DeleteAccount_FullMethodName                     = "/io.Users/deleteAccount"
	Users_RevokeLegacyCredentials_FullMethodName           = "/io.Users/revokeLegacyCredentials"
	Users_CreateTeamMember_FullMethodName                  = "/io.Users/createTeamMember"
	Users_CreatePermissionsForTeamMember_FullMethodName    = "/io.Users/createPermissionsForTeamMember"
	Users_UpdateTeamMemberPermissions_FullMethodName       = "/io.Users/updateTeamMemberPermissions"
	Users_PatchTeamMemberPermissions_FullMethodName        = "/io.Users/patchTeamMemberPermissions"
	Users_GetTeamMember_FullMethodName                     = "/io.Users/getTeamMember"
	Users_GetTeamMembers_FullMethodName                    = "/io.Users/getTeamMembers"
	Users_DeleteTeamMember_FullMethodName                  = "/io.Users/deleteTeamMember"
	Users_GetTeamMemberLogs_FullMethodName                 = "/io.Users/getTeamMemberLogs"
)
View Source
const (
	Integrations_CreateIntegrations_FullMethodName              = "/io.Integrations/createIntegrations"
	Integrations_GetIntegrations_FullMethodName                 = "/io.Integrations/getIntegrations"
	Integrations_UpdateIntegrations_FullMethodName              = "/io.Integrations/updateIntegrations"
	Integrations_DeleteIntegrations_FullMethodName              = "/io.Integrations/deleteIntegrations"
	Integrations_CreateSinkSubscription_FullMethodName          = "/io.Integrations/createSinkSubscription"
	Integrations_GetSinkSubscription_FullMethodName             = "/io.Integrations/getSinkSubscription"
	Integrations_ListSinkSubscriptionsDeprecated_FullMethodName = "/io.Integrations/listSinkSubscriptionsDeprecated"
	Integrations_ListSinkSubscriptions_FullMethodName           = "/io.Integrations/listSinkSubscriptions"
	Integrations_UpdateSinkSubscription_FullMethodName          = "/io.Integrations/updateSinkSubscription"
	Integrations_DeleteSinkSubscription_FullMethodName          = "/io.Integrations/deleteSinkSubscription"
	Integrations_GetSampleSubscriptionEvent_FullMethodName      = "/io.Integrations/getSampleSubscriptionEvent"
	Integrations_CallDynamicApi_FullMethodName                  = "/io.Integrations/callDynamicApi"
)
View Source
const (
	Templates_CreateTemplate_FullMethodName                  = "/io.Templates/createTemplate"
	Templates_UpdateTemplate_FullMethodName                  = "/io.Templates/updateTemplate"
	Templates_GetTemplate_FullMethodName                     = "/io.Templates/getTemplate"
	Templates_GetDefaultTemplate_FullMethodName              = "/io.Templates/getDefaultTemplate"
	Templates_CopyTemplate_FullMethodName                    = "/io.Templates/copyTemplate"
	Templates_DeleteTemplate_FullMethodName                  = "/io.Templates/deleteTemplate"
	Templates_ListTemplatesForUserDeprecated_FullMethodName  = "/io.Templates/listTemplatesForUserDeprecated"
	Templates_ListTemplatesForUser_FullMethodName            = "/io.Templates/listTemplatesForUser"
	Templates_ListTemplatesDeprecated_FullMethodName         = "/io.Templates/listTemplatesDeprecated"
	Templates_ListTemplates_FullMethodName                   = "/io.Templates/listTemplates"
	Templates_CountTemplatesDeprecated_FullMethodName        = "/io.Templates/countTemplatesDeprecated"
	Templates_CountTemplates_FullMethodName                  = "/io.Templates/countTemplates"
	Templates_CountTemplatesForUserDeprecated_FullMethodName = "/io.Templates/countTemplatesForUserDeprecated"
	Templates_CountTemplatesForUser_FullMethodName           = "/io.Templates/countTemplatesForUser"
	Templates_CreateLocation_FullMethodName                  = "/io.Templates/createLocation"
	Templates_UpdateLocation_FullMethodName                  = "/io.Templates/updateLocation"
	Templates_GetLocation_FullMethodName                     = "/io.Templates/getLocation"
	Templates_ListLocationsDeprecated_FullMethodName         = "/io.Templates/listLocationsDeprecated"
	Templates_ListLocations_FullMethodName                   = "/io.Templates/listLocations"
	Templates_CopyLocation_FullMethodName                    = "/io.Templates/copyLocation"
	Templates_DeleteLocation_FullMethodName                  = "/io.Templates/deleteLocation"
	Templates_CountLocationsDeprecated_FullMethodName        = "/io.Templates/countLocationsDeprecated"
	Templates_CountLocations_FullMethodName                  = "/io.Templates/countLocations"
	Templates_CreateBeacon_FullMethodName                    = "/io.Templates/createBeacon"
	Templates_UpdateBeacon_FullMethodName                    = "/io.Templates/updateBeacon"
	Templates_GetBeacon_FullMethodName                       = "/io.Templates/getBeacon"
	Templates_ListBeaconsDeprecated_FullMethodName           = "/io.Templates/listBeaconsDeprecated"
	Templates_ListBeacons_FullMethodName                     = "/io.Templates/listBeacons"
	Templates_CopyBeacon_FullMethodName                      = "/io.Templates/copyBeacon"
	Templates_DeleteBeacon_FullMethodName                    = "/io.Templates/deleteBeacon"
	Templates_CountBeaconsDeprecated_FullMethodName          = "/io.Templates/countBeaconsDeprecated"
	Templates_CountBeacons_FullMethodName                    = "/io.Templates/countBeacons"
	Templates_CreateLink_FullMethodName                      = "/io.Templates/createLink"
	Templates_UpdateLink_FullMethodName                      = "/io.Templates/updateLink"
	Templates_GetLink_FullMethodName                         = "/io.Templates/getLink"
	Templates_ListLinksDeprecated_FullMethodName             = "/io.Templates/listLinksDeprecated"
	Templates_ListLinks_FullMethodName                       = "/io.Templates/listLinks"
	Templates_CopyLink_FullMethodName                        = "/io.Templates/copyLink"
	Templates_DeleteLink_FullMethodName                      = "/io.Templates/deleteLink"
	Templates_CountLinksDeprecated_FullMethodName            = "/io.Templates/countLinksDeprecated"
	Templates_CountLinks_FullMethodName                      = "/io.Templates/countLinks"
)

Variables

View Source
var (
	DeviceAttributes_name = map[int32]string{
		0:    "NoAttributes",
		1:    "Ios",
		2:    "Android",
		4:    "SupportWallet",
		8:    "WalletScanner",
		16:   "WalletDaemon",
		32:   "WalletPasses",
		64:   "Windows",
		128:  "OSX",
		256:  "Linux",
		512:  "Mobile",
		1024: "Desktop",
		2048: "Tablet",
		4096: "UnsupportedIos",
	}
	DeviceAttributes_value = map[string]int32{
		"NoAttributes":   0,
		"Ios":            1,
		"Android":        2,
		"SupportWallet":  4,
		"WalletScanner":  8,
		"WalletDaemon":   16,
		"WalletPasses":   32,
		"Windows":        64,
		"OSX":            128,
		"Linux":          256,
		"Mobile":         512,
		"Desktop":        1024,
		"Tablet":         2048,
		"UnsupportedIos": 4096,
	}
)

Enum value maps for DeviceAttributes.

View Source
var (
	Channel_name = map[int32]string{
		0: "UnknownChannel",
		1: "Web",
		2: "API",
		3: "App",
	}
	Channel_value = map[string]int32{
		"UnknownChannel": 0,
		"Web":            1,
		"API":            2,
		"App":            3,
	}
)

Enum value maps for Channel.

View Source
var (
	Authentication_name = map[int32]string{
		0: "Unauthenticated",
		1: "WebToken",
		2: "BearerToken",
		3: "Certificate",
	}
	Authentication_value = map[string]int32{
		"Unauthenticated": 0,
		"WebToken":        1,
		"BearerToken":     2,
		"Certificate":     3,
	}
)

Enum value maps for Authentication.

View Source
var (
	UserType_name = map[int32]string{
		0: "UnknownUserType",
		1: "User",
		2: "TeamMember",
	}
	UserType_value = map[string]int32{
		"UnknownUserType": 0,
		"User":            1,
		"TeamMember":      2,
	}
)

Enum value maps for UserType.

View Source
var (
	ListPosition_name = map[int32]string{
		0: "APPEND",
		1: "PREPEND",
		2: "REPLACE",
	}
	ListPosition_value = map[string]int32{
		"APPEND":  0,
		"PREPEND": 1,
		"REPLACE": 2,
	}
)

Enum value maps for ListPosition.

View Source
var (
	Toggle_name = map[int32]string{
		0: "DO_NOT_USE",
		1: "ON",
		2: "OFF",
	}
	Toggle_value = map[string]int32{
		"DO_NOT_USE": 0,
		"ON":         1,
		"OFF":        2,
	}
)

Enum value maps for Toggle.

View Source
var (
	TimeState_name = map[int32]string{
		0: "TIME_STATE_NONE",
		1: "TIME_STATE_CURRENT",
		2: "TIME_STATE_PREVIOUS",
		3: "TIME_STATE_FOLLOWING",
	}
	TimeState_value = map[string]int32{
		"TIME_STATE_NONE":      0,
		"TIME_STATE_CURRENT":   1,
		"TIME_STATE_PREVIOUS":  2,
		"TIME_STATE_FOLLOWING": 3,
	}
)

Enum value maps for TimeState.

View Source
var (
	PassBundleFormat_name = map[int32]string{
		0:  "PASS_URL",
		2:  "GOOGLE_URL",
		8:  "APPLE_PASS_BUNDLE",
		16: "MULTI_LINK",
	}
	PassBundleFormat_value = map[string]int32{
		"PASS_URL":          0,
		"GOOGLE_URL":        2,
		"APPLE_PASS_BUNDLE": 8,
		"MULTI_LINK":        16,
	}
)

Enum value maps for PassBundleFormat.

View Source
var (
	UsageType_name = map[int32]string{
		0: "NO_USAGE",
		1: "USAGE_APPLE_WALLET",
		2: "USAGE_GOOGLE_PAY",
		4: "USAGE_DATA_COLLECTION_PAGE",
	}
	UsageType_value = map[string]int32{
		"NO_USAGE":                   0,
		"USAGE_APPLE_WALLET":         1,
		"USAGE_GOOGLE_PAY":           2,
		"USAGE_DATA_COLLECTION_PAGE": 4,
	}
)

Enum value maps for UsageType.

View Source
var (
	DistributionChannel_name = map[int32]string{
		0: "NO_DISTRIBUTION",
		1: "CHANNEL_EMAIL",
		2: "CHANNEL_SMS",
	}
	DistributionChannel_value = map[string]int32{
		"NO_DISTRIBUTION": 0,
		"CHANNEL_EMAIL":   1,
		"CHANNEL_SMS":     2,
	}
)

Enum value maps for DistributionChannel.

View Source
var (
	EmailTemplateOptions_name = map[int32]string{
		0: "EMAIL_TEMP_OPT_NONE",
		1: "EMAIL_TEMP_OPT_HIDE_EXT_ID",
		2: "EMAIL_TEMP_OPT_HIDE_FULL_NAME",
	}
	EmailTemplateOptions_value = map[string]int32{
		"EMAIL_TEMP_OPT_NONE":           0,
		"EMAIL_TEMP_OPT_HIDE_EXT_ID":    1,
		"EMAIL_TEMP_OPT_HIDE_FULL_NAME": 2,
	}
)

Enum value maps for EmailTemplateOptions.

View Source
var (
	ExpiryType_name = map[int32]string{
		0: "EXPIRE_NONE",
		1: "EXPIRE_ON_FIXED_DATE",
		2: "EXPIRE_AFTER_X_DAYS",
		3: "EXPIRE_ON_VARIABLE_DATE_TIME",
		4: "EXPIRE_SET_TO_NULL",
	}
	ExpiryType_value = map[string]int32{
		"EXPIRE_NONE":                  0,
		"EXPIRE_ON_FIXED_DATE":         1,
		"EXPIRE_AFTER_X_DAYS":          2,
		"EXPIRE_ON_VARIABLE_DATE_TIME": 3,
		"EXPIRE_SET_TO_NULL":           4,
	}
)

Enum value maps for ExpiryType.

View Source
var (
	Operator_name = map[int32]string{
		0: "AND",
		1: "OR",
	}
	Operator_value = map[string]int32{
		"AND": 0,
		"OR":  1,
	}
)

Enum value maps for Operator.

View Source
var (
	ImageUse_name = map[int32]string{
		0:  "icon",
		1:  "logo",
		2:  "appleLogo",
		3:  "hero",
		4:  "eventStrip",
		5:  "strip",
		6:  "thumbnail",
		7:  "background",
		8:  "footer",
		9:  "security",
		10: "privilege",
		11: "airlineAlliance",
		12: "personalization",
		13: "banner",
		14: "message",
		15: "profile",
		16: "appImage",
		18: "stampedImage",
		19: "unstampedImage",
		20: "stampImage",
		21: "wideLogo",
		22: "secondaryLogo",
		23: "artwork",
		24: "primaryLogo",
		25: "venueMap",
	}
	ImageUse_value = map[string]int32{
		"icon":            0,
		"logo":            1,
		"appleLogo":       2,
		"hero":            3,
		"eventStrip":      4,
		"strip":           5,
		"thumbnail":       6,
		"background":      7,
		"footer":          8,
		"security":        9,
		"privilege":       10,
		"airlineAlliance": 11,
		"personalization": 12,
		"banner":          13,
		"message":         14,
		"profile":         15,
		"appImage":        16,
		"stampedImage":    18,
		"unstampedImage":  19,
		"stampImage":      20,
		"wideLogo":        21,
		"secondaryLogo":   22,
		"artwork":         23,
		"primaryLogo":     24,
		"venueMap":        25,
	}
)

Enum value maps for ImageUse.

View Source
var (
	IntegrationStatus_name = map[int32]string{
		0: "INTEGRATION_STATUS_NONE",
		1: "INTEGRATION_DISABLED",
		2: "INTEGRATION_ACTIVE",
		3: "INTEGRATION_SUSPENDED",
	}
	IntegrationStatus_value = map[string]int32{
		"INTEGRATION_STATUS_NONE": 0,
		"INTEGRATION_DISABLED":    1,
		"INTEGRATION_ACTIVE":      2,
		"INTEGRATION_SUSPENDED":   3,
	}
)

Enum value maps for IntegrationStatus.

View Source
var (
	ConfigurationType_name = map[int32]string{
		0:   "CONFIGURATION_NONE",
		1:   "WEBHOOK",
		2:   "DB_MYSQL",
		3:   "ZOHO",
		4:   "BRAZE",
		5:   "CODEREADR",
		6:   "ZAPIER",
		7:   "MAILCHIMP",
		8:   "SPROUT",
		9:   "TESSITURA",
		10:  "ITERABLE",
		11:  "MOENGAGE",
		12:  "ORACLE_RESPONSYS",
		100: "_CONFIG_TYPE_1",
	}
	ConfigurationType_value = map[string]int32{
		"CONFIGURATION_NONE": 0,
		"WEBHOOK":            1,
		"DB_MYSQL":           2,
		"ZOHO":               3,
		"BRAZE":              4,
		"CODEREADR":          5,
		"ZAPIER":             6,
		"MAILCHIMP":          7,
		"SPROUT":             8,
		"TESSITURA":          9,
		"ITERABLE":           10,
		"MOENGAGE":           11,
		"ORACLE_RESPONSYS":   12,
		"_CONFIG_TYPE_1":     100,
	}
)

Enum value maps for ConfigurationType.

View Source
var (
	IntegrationType_name = map[int32]string{
		0:     "INTEGRATION_TYPE_NONE",
		1:     "SOURCE_INTEGRATION",
		4:     "HOOK_BEFORE_OBJECT_RECORD_CREATION",
		8:     "HOOK_AFTER_OBJECT_RECORD_CREATION",
		16:    "HOOK_BEFORE_PASS_ISSUE",
		32:    "HOOK_AFTER_PASS_ISSUE",
		64:    "HOOK_AFTER_PASS_INSTALL",
		128:   "HOOK_AFTER_PASS_UNINSTALL",
		256:   "HOOK_BEFORE_OBJECT_RECORD_UPDATE",
		512:   "HOOK_AFTER_OBJECT_RECORD_UPDATE",
		1024:  "HOOK_BEFORE_PASS_RECORD_UPDATE",
		2048:  "HOOK_AFTER_PASS_RECORD_UPDATE",
		4096:  "HOOK_BEFORE_PASS_UPDATE",
		8192:  "HOOK_AFTER_PASS_UPDATE",
		16384: "HOOK_BEFORE_PASS_RECORD_DELETE",
		32768: "HOOK_AFTER_PASS_RECORD_DELETE",
	}
	IntegrationType_value = map[string]int32{
		"INTEGRATION_TYPE_NONE":              0,
		"SOURCE_INTEGRATION":                 1,
		"HOOK_BEFORE_OBJECT_RECORD_CREATION": 4,
		"HOOK_AFTER_OBJECT_RECORD_CREATION":  8,
		"HOOK_BEFORE_PASS_ISSUE":             16,
		"HOOK_AFTER_PASS_ISSUE":              32,
		"HOOK_AFTER_PASS_INSTALL":            64,
		"HOOK_AFTER_PASS_UNINSTALL":          128,
		"HOOK_BEFORE_OBJECT_RECORD_UPDATE":   256,
		"HOOK_AFTER_OBJECT_RECORD_UPDATE":    512,
		"HOOK_BEFORE_PASS_RECORD_UPDATE":     1024,
		"HOOK_AFTER_PASS_RECORD_UPDATE":      2048,
		"HOOK_BEFORE_PASS_UPDATE":            4096,
		"HOOK_AFTER_PASS_UPDATE":             8192,
		"HOOK_BEFORE_PASS_RECORD_DELETE":     16384,
		"HOOK_AFTER_PASS_RECORD_DELETE":      32768,
	}
)

Enum value maps for IntegrationType.

View Source
var (
	ProtocolIntgType_name = map[int32]string{
		0:       "PROTOCOL_INTG_TYPE_NONE",
		1:       "HOOK_BEFORE_MEMBER_UPDATE_POINTS",
		4:       "HOOK_AFTER_MEMBER_UPDATE_POINTS",
		8:       "HOOK_BEFORE_MEMBER_TIER_UPDATE",
		16:      "HOOK_AFTER_MEMBER_TIER_UPDATE",
		32:      "HOOK_BEFORE_MEMBER_CHECK_IN",
		64:      "HOOK_AFTER_MEMBER_CHECK_IN",
		128:     "HOOK_BEFORE_MEMBER_CHECK_OUT",
		256:     "HOOK_AFTER_MEMBER_CHECK_OUT",
		2048:    "HOOK_BEFORE_COUPON_REDEEM",
		4096:    "HOOK_AFTER_COUPON_REDEEM",
		8192:    "HOOK_BEFORE_UPDATE_COUPON_OFFER",
		16384:   "HOOK_AFTER_UPDATE_COUPON_OFFER",
		32768:   "HOOK_BEFORE_CREATE_COUPON_OFFER",
		65536:   "HOOK_AFTER_CREATE_COUPON_OFFER",
		2097152: "HOOK_BEFORE_UPDATE_PII",
		4194304: "HOOK_AFTER_UPDATE_PII",
	}
	ProtocolIntgType_value = map[string]int32{
		"PROTOCOL_INTG_TYPE_NONE":          0,
		"HOOK_BEFORE_MEMBER_UPDATE_POINTS": 1,
		"HOOK_AFTER_MEMBER_UPDATE_POINTS":  4,
		"HOOK_BEFORE_MEMBER_TIER_UPDATE":   8,
		"HOOK_AFTER_MEMBER_TIER_UPDATE":    16,
		"HOOK_BEFORE_MEMBER_CHECK_IN":      32,
		"HOOK_AFTER_MEMBER_CHECK_IN":       64,
		"HOOK_BEFORE_MEMBER_CHECK_OUT":     128,
		"HOOK_AFTER_MEMBER_CHECK_OUT":      256,
		"HOOK_BEFORE_COUPON_REDEEM":        2048,
		"HOOK_AFTER_COUPON_REDEEM":         4096,
		"HOOK_BEFORE_UPDATE_COUPON_OFFER":  8192,
		"HOOK_AFTER_UPDATE_COUPON_OFFER":   16384,
		"HOOK_BEFORE_CREATE_COUPON_OFFER":  32768,
		"HOOK_AFTER_CREATE_COUPON_OFFER":   65536,
		"HOOK_BEFORE_UPDATE_PII":           2097152,
		"HOOK_AFTER_UPDATE_PII":            4194304,
	}
)

Enum value maps for ProtocolIntgType.

View Source
var (
	PassEventId_name = map[int32]string{
		0:  "PASS_EVENT_NONE",
		1:  "PASS_EVENT_RECORD_CREATED",
		2:  "PASS_EVENT_INSTALLED",
		4:  "PASS_EVENT_RECORD_UPDATED",
		8:  "PASS_EVENT_UNINSTALLED",
		16: "PASS_EVENT_INVALIDATED",
		32: "PASS_EVENT_RECORD_DELETED",
	}
	PassEventId_value = map[string]int32{
		"PASS_EVENT_NONE":           0,
		"PASS_EVENT_RECORD_CREATED": 1,
		"PASS_EVENT_INSTALLED":      2,
		"PASS_EVENT_RECORD_UPDATED": 4,
		"PASS_EVENT_UNINSTALLED":    8,
		"PASS_EVENT_INVALIDATED":    16,
		"PASS_EVENT_RECORD_DELETED": 32,
	}
)

Enum value maps for PassEventId.

View Source
var (
	MembershipEventId_name = map[int32]string{
		0: "MEMBER_EVENT_NONE",
		1: "MEMBER_EVENT_ENROLLED",
		2: "MEMBER_EVENT_UPDATED",
	}
	MembershipEventId_value = map[string]int32{
		"MEMBER_EVENT_NONE":     0,
		"MEMBER_EVENT_ENROLLED": 1,
		"MEMBER_EVENT_UPDATED":  2,
	}
)

Enum value maps for MembershipEventId.

View Source
var (
	CouponEventId_name = map[int32]string{
		0: "COUPON_EVENT_NONE",
		1: "COUPON_EVENT_CREATED",
		2: "COUPON_EVENT_REDEEMED",
		4: "COUPON_EVENT_UPDATED",
		8: "COUPON_EVENT_DELETED",
	}
	CouponEventId_value = map[string]int32{
		"COUPON_EVENT_NONE":     0,
		"COUPON_EVENT_CREATED":  1,
		"COUPON_EVENT_REDEEMED": 2,
		"COUPON_EVENT_UPDATED":  4,
		"COUPON_EVENT_DELETED":  8,
	}
)

Enum value maps for CouponEventId.

View Source
var (
	ActionMethod_name = map[int32]string{
		0: "METHOD_NONE",
		1: "METHOD_POST",
		2: "METHOD_PUT",
		3: "METHOD_DELETE",
	}
	ActionMethod_value = map[string]int32{
		"METHOD_NONE":   0,
		"METHOD_POST":   1,
		"METHOD_PUT":    2,
		"METHOD_DELETE": 3,
	}
)

Enum value maps for ActionMethod.

View Source
var (
	LinkType_name = map[int32]string{
		0: "URI_DO_NOT_USE",
		1: "URI_WEB",
		2: "URI_TEL",
		3: "URI_EMAIL",
		4: "URI_LOCATION",
		5: "URI_CALENDAR",
	}
	LinkType_value = map[string]int32{
		"URI_DO_NOT_USE": 0,
		"URI_WEB":        1,
		"URI_TEL":        2,
		"URI_EMAIL":      3,
		"URI_LOCATION":   4,
		"URI_CALENDAR":   5,
	}
)

Enum value maps for LinkType.

View Source
var (
	LanguageCode_name = map[int32]string{
		0:   "EN",
		4:   "AR",
		8:   "ZH_HANS",
		12:  "ZH_HANT",
		16:  "ZH_HK",
		20:  "CA",
		24:  "HR",
		28:  "CS",
		32:  "DA",
		36:  "DE",
		40:  "EN_AU",
		44:  "EN_GB",
		48:  "EN_CA",
		52:  "EN_US",
		56:  "EN_IN",
		60:  "ES",
		64:  "ES_419",
		68:  "FI",
		72:  "FR",
		76:  "FR_CA",
		80:  "EL",
		84:  "HE",
		88:  "HI",
		92:  "HU",
		96:  "ID",
		100: "IT",
		104: "JA",
		108: "KO",
		112: "MS",
		116: "MT",
		120: "NL",
		124: "NB",
		128: "PL",
		132: "PT",
		136: "PT_BR",
		140: "RO",
		144: "RU",
		148: "SK",
		152: "SV",
		156: "TH",
		160: "TR",
		164: "UK",
		168: "VI",
	}
	LanguageCode_value = map[string]int32{
		"EN":      0,
		"AR":      4,
		"ZH_HANS": 8,
		"ZH_HANT": 12,
		"ZH_HK":   16,
		"CA":      20,
		"HR":      24,
		"CS":      28,
		"DA":      32,
		"DE":      36,
		"EN_AU":   40,
		"EN_GB":   44,
		"EN_CA":   48,
		"EN_US":   52,
		"EN_IN":   56,
		"ES":      60,
		"ES_419":  64,
		"FI":      68,
		"FR":      72,
		"FR_CA":   76,
		"EL":      80,
		"HE":      84,
		"HI":      88,
		"HU":      92,
		"ID":      96,
		"IT":      100,
		"JA":      104,
		"KO":      108,
		"MS":      112,
		"MT":      116,
		"NL":      120,
		"NB":      124,
		"PL":      128,
		"PT":      132,
		"PT_BR":   136,
		"RO":      140,
		"RU":      144,
		"SK":      148,
		"SV":      152,
		"TH":      156,
		"TR":      160,
		"UK":      164,
		"VI":      168,
	}
)

Enum value maps for LanguageCode.

View Source
var (
	MessageStatus_name = map[int32]string{
		0: "MESSAGE_STATUS_DO_NOT_USE",
		1: "SCHEDULED",
		2: "ACTIVE",
		3: "EXPIRED",
		4: "CANCELLED",
	}
	MessageStatus_value = map[string]int32{
		"MESSAGE_STATUS_DO_NOT_USE": 0,
		"SCHEDULED":                 1,
		"ACTIVE":                    2,
		"EXPIRED":                   3,
		"CANCELLED":                 4,
	}
)

Enum value maps for MessageStatus.

View Source
var (
	LifecycleEvents_name = map[int32]string{
		0:        "NO_STATUS",
		1:        "RENDERED",
		2:        "INSTALLED_APPLE",
		4:        "INSTALLED_GOOGLE",
		8:        "INSTALLED_ANDROID_OTHER",
		1024:     "UNINSTALLED_APPLE",
		2048:     "UNINSTALLED_GOOGLE",
		4096:     "UNINSTALLED_ANDROID_OTHER",
		8192:     "APPLE_PASS_CREATED",
		16384:    "GOOGLE_PAY_RECORD_CREATED",
		262144:   "INVALIDATE_REQUESTED",
		524288:   "INVALIDATE_CONFIRMED",
		1048576:  "PASS_PERSONALISATION_REQUESTED",
		2097152:  "PASS_PERSONALISED",
		4194304:  "PASS_ICLOUD_BOUND",
		8388608:  "PASS_EMAIL_BOUNCED",
		16777216: "PASS_EMAIL_COMPLAINED",
	}
	LifecycleEvents_value = map[string]int32{
		"NO_STATUS":                      0,
		"RENDERED":                       1,
		"INSTALLED_APPLE":                2,
		"INSTALLED_GOOGLE":               4,
		"INSTALLED_ANDROID_OTHER":        8,
		"UNINSTALLED_APPLE":              1024,
		"UNINSTALLED_GOOGLE":             2048,
		"UNINSTALLED_ANDROID_OTHER":      4096,
		"APPLE_PASS_CREATED":             8192,
		"GOOGLE_PAY_RECORD_CREATED":      16384,
		"INVALIDATE_REQUESTED":           262144,
		"INVALIDATE_CONFIRMED":           524288,
		"PASS_PERSONALISATION_REQUESTED": 1048576,
		"PASS_PERSONALISED":              2097152,
		"PASS_ICLOUD_BOUND":              4194304,
		"PASS_EMAIL_BOUNCED":             8388608,
		"PASS_EMAIL_COMPLAINED":          16777216,
	}
)

Enum value maps for LifecycleEvents.

View Source
var (
	Status_name = map[int32]string{
		0: "PASS_ISSUED",
		1: "PASS_INSTALLED",
		2: "PASS_UNINSTALLED",
		3: "PASS_INVALIDATED",
	}
	Status_value = map[string]int32{
		"PASS_ISSUED":      0,
		"PASS_INSTALLED":   1,
		"PASS_UNINSTALLED": 2,
		"PASS_INVALIDATED": 3,
	}
)

Enum value maps for Status.

View Source
var (
	Operation_name = map[int32]string{
		0: "OPERATION_DO_NOT_USE",
		1: "OPERATION_PUT",
		2: "OPERATION_PATCH",
	}
	Operation_value = map[string]int32{
		"OPERATION_DO_NOT_USE": 0,
		"OPERATION_PUT":        1,
		"OPERATION_PATCH":      2,
	}
)

Enum value maps for Operation.

View Source
var (
	Gender_name = map[int32]string{
		0: "NOT_KNOWN",
		1: "MALE",
		2: "FEMALE",
	}
	Gender_value = map[string]int32{
		"NOT_KNOWN": 0,
		"MALE":      1,
		"FEMALE":    2,
	}
)

Enum value maps for Gender.

View Source
var (
	ProjectStatus_name = map[int32]string{
		0:   "NO_PROJECT_STATUS",
		1:   "PROJECT_ACTIVE_FOR_OBJECT_CREATION",
		2:   "PROJECT_DISABLED_FOR_OBJECT_CREATION",
		4:   "PROJECT_DRAFT",
		8:   "PROJECT_PUBLISHED",
		16:  "PROJECT_PRIVATE",
		32:  "PROJECT_OVER_QUOTA",
		64:  "PROJECT_DELETED",
		128: "PROJECT_EMAIL_WARNING",
		256: "PROJECT_EMAIL_SUSPENDED",
	}
	ProjectStatus_value = map[string]int32{
		"NO_PROJECT_STATUS":                    0,
		"PROJECT_ACTIVE_FOR_OBJECT_CREATION":   1,
		"PROJECT_DISABLED_FOR_OBJECT_CREATION": 2,
		"PROJECT_DRAFT":                        4,
		"PROJECT_PUBLISHED":                    8,
		"PROJECT_PRIVATE":                      16,
		"PROJECT_OVER_QUOTA":                   32,
		"PROJECT_DELETED":                      64,
		"PROJECT_EMAIL_WARNING":                128,
		"PROJECT_EMAIL_SUSPENDED":              256,
	}
)

Enum value maps for ProjectStatus.

View Source
var (
	PassProtocol_name = map[int32]string{
		0:   "PASS_PROTOCOL_DO_NOT_USE",
		1:   "RAW_PROTOCOL",
		2:   "V1_PROTOCOL",
		3:   "FLIGHT_PROTOCOL",
		100: "MEMBERSHIP",
		101: "SINGLE_USE_COUPON",
		102: "EVENT_TICKETING",
	}
	PassProtocol_value = map[string]int32{
		"PASS_PROTOCOL_DO_NOT_USE": 0,
		"RAW_PROTOCOL":             1,
		"V1_PROTOCOL":              2,
		"FLIGHT_PROTOCOL":          3,
		"MEMBERSHIP":               100,
		"SINGLE_USE_COUPON":        101,
		"EVENT_TICKETING":          102,
	}
)

Enum value maps for PassProtocol.

View Source
var (
	ProtocolCommonEvents_name = map[int32]string{
		0: "PROTOCOL_COMMON_EVENTS_DO_NOT_USE",
		1: "EVENT_OBJECT_CREATED",
		2: "EVENT_OBJECT_UPDATED",
		3: "EVENT_OBJECT_EXPIRED",
		4: "EVENT_OBJECT_DELETED",
		5: "EVENT_PASS_ISSUED",
		6: "EVENT_PASS_INSTALLED",
		7: "EVENT_PASS_UNINSTALLED",
		8: "EVENT_PASS_INVALIDATED",
	}
	ProtocolCommonEvents_value = map[string]int32{
		"PROTOCOL_COMMON_EVENTS_DO_NOT_USE": 0,
		"EVENT_OBJECT_CREATED":              1,
		"EVENT_OBJECT_UPDATED":              2,
		"EVENT_OBJECT_EXPIRED":              3,
		"EVENT_OBJECT_DELETED":              4,
		"EVENT_PASS_ISSUED":                 5,
		"EVENT_PASS_INSTALLED":              6,
		"EVENT_PASS_UNINSTALLED":            7,
		"EVENT_PASS_INVALIDATED":            8,
	}
)

Enum value maps for ProtocolCommonEvents.

View Source
var (
	Period_name = map[int32]string{
		0: "DAY",
		1: "MONTH",
		2: "YEAR",
	}
	Period_value = map[string]int32{
		"DAY":   0,
		"MONTH": 1,
		"YEAR":  2,
	}
)

Enum value maps for Period.

View Source
var (
	EventType_name = map[int32]string{
		0: "EVENT_TYPE_NONE",
		1: "EVENT_TYPE_GENERIC",
		2: "EVENT_TYPE_MOVIE",
		3: "EVENT_TYPE_CONFERENCE",
		4: "EVENT_TYPE_CONVENTION",
		5: "EVENT_TYPE_WORKSHOP",
		6: "EVENT_TYPE_SOCIAL_GATHERING",
		7: "EVENT_TYPE_SPORTS",
		8: "EVENT_TYPE_LIVE_PERFORMANCE",
	}
	EventType_value = map[string]int32{
		"EVENT_TYPE_NONE":             0,
		"EVENT_TYPE_GENERIC":          1,
		"EVENT_TYPE_MOVIE":            2,
		"EVENT_TYPE_CONFERENCE":       3,
		"EVENT_TYPE_CONVENTION":       4,
		"EVENT_TYPE_WORKSHOP":         5,
		"EVENT_TYPE_SOCIAL_GATHERING": 6,
		"EVENT_TYPE_SPORTS":           7,
		"EVENT_TYPE_LIVE_PERFORMANCE": 8,
	}
)

Enum value maps for EventType.

View Source
var (
	ApplePassType_name = map[int32]string{
		0: "APPLE_NOT_SUPPORTED",
		1: "BOARDING_PASS",
		2: "COUPON",
		3: "EVENT_TICKET",
		4: "GENERIC",
		5: "STORE_CARD",
	}
	ApplePassType_value = map[string]int32{
		"APPLE_NOT_SUPPORTED": 0,
		"BOARDING_PASS":       1,
		"COUPON":              2,
		"EVENT_TICKET":        3,
		"GENERIC":             4,
		"STORE_CARD":          5,
	}
)

Enum value maps for ApplePassType.

View Source
var (
	GooglePayPassType_name = map[int32]string{
		0: "GOOGLE_PAY_NOT_SUPPORTED",
		1: "EVENT",
		2: "FLIGHT",
		3: "GIFT",
		4: "LOYALTY",
		5: "OFFER",
		6: "TRANSIT",
	}
	GooglePayPassType_value = map[string]int32{
		"GOOGLE_PAY_NOT_SUPPORTED": 0,
		"EVENT":                    1,
		"FLIGHT":                   2,
		"GIFT":                     3,
		"LOYALTY":                  4,
		"OFFER":                    5,
		"TRANSIT":                  6,
	}
)

Enum value maps for GooglePayPassType.

View Source
var (
	BarcodeType_name = map[int32]string{
		0: "BARCODE_TYPE_DO_NOT_USE",
		1: "QR",
		2: "AZTEC",
		3: "PDF417",
		4: "CODE128",
		5: "NONE",
	}
	BarcodeType_value = map[string]int32{
		"BARCODE_TYPE_DO_NOT_USE": 0,
		"QR":                      1,
		"AZTEC":                   2,
		"PDF417":                  3,
		"CODE128":                 4,
		"NONE":                    5,
	}
)

Enum value maps for BarcodeType.

View Source
var (
	FieldType_name = map[int32]string{
		0: "FIELD_TYPE_NONE",
		1: "META",
		2: "PII",
		3: "UNIVERSAL_FIELDS",
		4: "PROTOCOL_FIELDS",
		5: "CUSTOM_FIELDS",
	}
	FieldType_value = map[string]int32{
		"FIELD_TYPE_NONE":  0,
		"META":             1,
		"PII":              2,
		"UNIVERSAL_FIELDS": 3,
		"PROTOCOL_FIELDS":  4,
		"CUSTOM_FIELDS":    5,
	}
)

Enum value maps for FieldType.

View Source
var (
	StandardFields_name = map[int32]string{
		0: "STANDARD_FIELDS_DO_NOT_USE",
		1: "STANDARD_MESSAGES",
		2: "STANDARD_LEGAL",
		3: "STANDARD_EXPIRY_DATE",
		4: "STANDARD_USEFUL_LINKS",
		5: "STANDARD_OPT_OUT",
		6: "STANDARD_LOCATIONS",
	}
	StandardFields_value = map[string]int32{
		"STANDARD_FIELDS_DO_NOT_USE": 0,
		"STANDARD_MESSAGES":          1,
		"STANDARD_LEGAL":             2,
		"STANDARD_EXPIRY_DATE":       3,
		"STANDARD_USEFUL_LINKS":      4,
		"STANDARD_OPT_OUT":           5,
		"STANDARD_LOCATIONS":         6,
	}
)

Enum value maps for StandardFields.

View Source
var (
	TextAlignment_name = map[int32]string{
		0: "TEXT_ALIGNMENT_DO_NOT_USE",
		1: "LEFT",
		2: "CENTER",
		3: "RIGHT",
		4: "NATURAL",
	}
	TextAlignment_value = map[string]int32{
		"TEXT_ALIGNMENT_DO_NOT_USE": 0,
		"LEFT":                      1,
		"CENTER":                    2,
		"RIGHT":                     3,
		"NATURAL":                   4,
	}
)

Enum value maps for TextAlignment.

View Source
var (
	DateTimeStyle_name = map[int32]string{
		0: "DATE_TIME_STYLE_DO_NOT_USE",
		1: "DATE_TIME_STYLE_SHORT",
		2: "DATE_TIME_STYLE_MEDIUM",
		3: "DATE_TIME_STYLE_LONG",
		4: "DATE_TIME_STYLE_FULL",
	}
	DateTimeStyle_value = map[string]int32{
		"DATE_TIME_STYLE_DO_NOT_USE": 0,
		"DATE_TIME_STYLE_SHORT":      1,
		"DATE_TIME_STYLE_MEDIUM":     2,
		"DATE_TIME_STYLE_LONG":       3,
		"DATE_TIME_STYLE_FULL":       4,
	}
)

Enum value maps for DateTimeStyle.

View Source
var (
	LinkDetector_name = map[int32]string{
		0: "LINK_DETECTOR_DO_NOT_USE",
		1: "LINK_DETECTOR_ADDRESS",
		2: "LINK_DETECTOR_DATE",
		3: "LINK_DETECTOR_URL",
		4: "LINK_DETECTOR_PHONE",
	}
	LinkDetector_value = map[string]int32{
		"LINK_DETECTOR_DO_NOT_USE": 0,
		"LINK_DETECTOR_ADDRESS":    1,
		"LINK_DETECTOR_DATE":       2,
		"LINK_DETECTOR_URL":        3,
		"LINK_DETECTOR_PHONE":      4,
	}
)

Enum value maps for LinkDetector.

View Source
var (
	NumberStyle_name = map[int32]string{
		0: "NUMBER_STYLE_DO_NOT_USE",
		1: "NUMBER_STYLE_DECIMAL",
		2: "NUMBER_STYLE_PERCENT",
		3: "NUMBER_STYLE_SCIENTIFIC",
		4: "NUMBER_STYLE_SPELL",
	}
	NumberStyle_value = map[string]int32{
		"NUMBER_STYLE_DO_NOT_USE": 0,
		"NUMBER_STYLE_DECIMAL":    1,
		"NUMBER_STYLE_PERCENT":    2,
		"NUMBER_STYLE_SCIENTIFIC": 3,
		"NUMBER_STYLE_SPELL":      4,
	}
)

Enum value maps for NumberStyle.

View Source
var (
	TransitType_name = map[int32]string{
		0: "TRANSIT_TYPE_DO_NOT_USE",
		1: "TRANSIT_TYPE_AIR",
		2: "TRANSIT_TYPE_BOAT",
		3: "TRANSIT_TYPE_BUS",
		4: "TRANSIT_TYPE_GENERIC",
		5: "TRANSIT_TYPE_TRAIN",
		6: "TRANSIT_TYPE_TRAM",
	}
	TransitType_value = map[string]int32{
		"TRANSIT_TYPE_DO_NOT_USE": 0,
		"TRANSIT_TYPE_AIR":        1,
		"TRANSIT_TYPE_BOAT":       2,
		"TRANSIT_TYPE_BUS":        3,
		"TRANSIT_TYPE_GENERIC":    4,
		"TRANSIT_TYPE_TRAIN":      5,
		"TRANSIT_TYPE_TRAM":       6,
	}
)

Enum value maps for TransitType.

View Source
var (
	DataType_name = map[int32]string{
		0:  "DATA_TYPE_NONE",
		1:  "TEXT",
		2:  "TEXT_LONG",
		3:  "DATE_YYYYMMDD",
		4:  "DATE_YYYYMM",
		5:  "DATE_MMDD",
		6:  "TIME",
		7:  "DATE_TIME",
		8:  "INT",
		9:  "NUMBER",
		10: "EMAIL",
		11: "URL",
		12: "TEL",
		13: "ADDRESS",
		15: "IMAGE",
		16: "CURRENCY",
		17: "BOOLEAN",
		18: "OPTIONS",
		19: "DATE_MM",
	}
	DataType_value = map[string]int32{
		"DATA_TYPE_NONE": 0,
		"TEXT":           1,
		"TEXT_LONG":      2,
		"DATE_YYYYMMDD":  3,
		"DATE_YYYYMM":    4,
		"DATE_MMDD":      5,
		"TIME":           6,
		"DATE_TIME":      7,
		"INT":            8,
		"NUMBER":         9,
		"EMAIL":          10,
		"URL":            11,
		"TEL":            12,
		"ADDRESS":        13,
		"IMAGE":          15,
		"CURRENCY":       16,
		"BOOLEAN":        17,
		"OPTIONS":        18,
		"DATE_MM":        19,
	}
)

Enum value maps for DataType.

View Source
var (
	DataStyle_name = map[int32]string{
		0:  "NO_STYLE",
		1:  "DATE_SHORT",
		2:  "DATE_MEDIUM",
		3:  "DATE_LONG",
		4:  "DATE_FULL",
		5:  "TIME_SHORT",
		6:  "TIME_MEDIUM",
		7:  "TIME_LONG",
		8:  "TIME_FULL",
		9:  "DATE_TIME_SHORT",
		10: "DATE_TIME_MEDIUM",
		11: "DATE_TIME_LONG",
		12: "DATE_TIME_FULL",
		13: "NUMBER_DECIMAL",
	}
	DataStyle_value = map[string]int32{
		"NO_STYLE":         0,
		"DATE_SHORT":       1,
		"DATE_MEDIUM":      2,
		"DATE_LONG":        3,
		"DATE_FULL":        4,
		"TIME_SHORT":       5,
		"TIME_MEDIUM":      6,
		"TIME_LONG":        7,
		"TIME_FULL":        8,
		"DATE_TIME_SHORT":  9,
		"DATE_TIME_MEDIUM": 10,
		"DATE_TIME_LONG":   11,
		"DATE_TIME_FULL":   12,
		"NUMBER_DECIMAL":   13,
	}
)

Enum value maps for DataStyle.

View Source
var (
	FieldSection_name = map[int32]string{
		0: "FIELD_SECTION_DO_NOT_USE",
		1: "BACK_FIELDS",
		2: "PRIMARY_FIELDS",
		3: "SECONDARY_FIELDS",
		4: "AUXILIARY_FIELDS",
		5: "HEADER_FIELDS",
		6: "ADDITIONAL_FIELDS",
	}
	FieldSection_value = map[string]int32{
		"FIELD_SECTION_DO_NOT_USE": 0,
		"BACK_FIELDS":              1,
		"PRIMARY_FIELDS":           2,
		"SECONDARY_FIELDS":         3,
		"AUXILIARY_FIELDS":         4,
		"HEADER_FIELDS":            5,
		"ADDITIONAL_FIELDS":        6,
	}
)

Enum value maps for FieldSection.

View Source
var (
	GooglePayField_name = map[int32]string{
		0:    "GOOGLE_PAY_FIELD_DO_NOT_USE",
		1:    "GOOGLE_PAY_BOARDING_AIRLINE_NAME",
		2:    "GOOGLE_PAY_BOARDING_AIRLINE_CODE",
		3:    "GOOGLE_PAY_BOARDING_ORIGIN",
		4:    "GOOGLE_PAY_BOARDING_DESTINATION",
		5:    "GOOGLE_PAY_BOARDING_ORIGIN_TERMINAL",
		6:    "GOOGLE_PAY_BOARDING_ORIGIN_GATE",
		7:    "GOOGLE_PAY_BOARDING_BOARDING_TIME",
		8:    "GOOGLE_PAY_BOARDING_PASSENGER_NAME",
		9:    "GOOGLE_PAY_BOARDING_ZONE_GROUP",
		10:   "GOOGLE_PAY_BOARDING_SEAT",
		11:   "GOOGLE_PAY_BOARDING_BOARDING_POSITION",
		12:   "GOOGLE_PAY_BOARDING_BOARDING_SEQUENCE",
		13:   "GOOGLE_PAY_BOARDING_BOARDING_DOOR",
		14:   "GOOGLE_PAY_BOARDING_FLIGHT_NUMBER",
		15:   "GOOGLE_PAY_BOARDING_CONFIRMATION_NUMBER",
		16:   "GOOGLE_PAY_BOARDING_TICKET_NUMBER",
		17:   "GOOGLE_PAY_BOARDING_FREQUENT_FLYER_NUMBER",
		18:   "GOOGLE_PAY_BOARDING_GATE_CLOSES",
		19:   "GOOGLE_PAY_BOARDING_DEPARTURE_TIME",
		20:   "GOOGLE_PAY_BOARDING_ARRIVAL_TIME",
		21:   "GOOGLE_PAY_BOARDING_ARRIVAL_TERMINAL",
		22:   "GOOGLE_PAY_BOARDING_ARRIVAL_GATE",
		100:  "GOOGLE_PAY_EVENT_NAME",
		101:  "GOOGLE_PAY_EVENT_VENUE_NAME",
		102:  "GOOGLE_PAY_EVENT_VENUE_ADDRESS",
		103:  "GOOGLE_PAY_EVENT_GATE",
		104:  "GOOGLE_PAY_EVENT_SECTION",
		105:  "GOOGLE_PAY_EVENT_ROW",
		106:  "GOOGLE_PAY_EVENT_SEAT",
		107:  "GOOGLE_PAY_EVENT_TICKET_HOLDER",
		108:  "GOOGLE_PAY_EVENT_DOORS_OPEN",
		109:  "GOOGLE_PAY_EVENT_START",
		110:  "GOOGLE_PAY_EVENT_END",
		111:  "GOOGLE_PAY_EVENT_TICKET_TYPE",
		112:  "GOOGLE_PAY_EVENT_TICKET_NUMBER",
		113:  "GOOGLE_PAY_EVENT_CONFIRMATION_NUMBER",
		114:  "GOOGLE_PAY_EVENT_FACE_VALUE",
		115:  "GOOGLE_PAY_EVENT_FINE_PRINT",
		200:  "GOOGLE_PAY_GIFT_MERCHANT_NAME",
		201:  "GOOGLE_PAY_GIFT_BALANCE",
		202:  "GOOGLE_PAY_GIFT_CARD_NUMBER",
		203:  "GOOGLE_PAY_GIFT_BALANCE_UPDATE_TIME",
		204:  "GOOGLE_PAY_GIFT_PIN",
		205:  "GOOGLE_PAY_GIFT_EVENT_NUMBER",
		300:  "GOOGLE_PAY_LOYALTY_PROGRAM_NAME",
		301:  "GOOGLE_PAY_LOYALTY_POINTS",
		302:  "GOOGLE_PAY_LOYALTY_SECONDARY_POINTS",
		303:  "GOOGLE_PAY_LOYALTY_ACCOUNT_NAME",
		304:  "GOOGLE_PAY_LOYALTY_ACCOUNT_ID",
		305:  "GOOGLE_PAY_LOYALTY_REWARDS_TIER",
		306:  "GOOGLE_PAY_LOYALTY_SECONDARY_REWARDS_TIER",
		400:  "GOOGLE_PAY_OFFER_TITLE",
		401:  "GOOGLE_PAY_OFFER_PROVIDER",
		402:  "GOOGLE_PAY_OFFER_DETAILS",
		403:  "GOOGLE_PAY_OFFER_FINE_PRINT",
		404:  "GOOGLE_PAY_OFFER_SHORT_TITLE",
		500:  "GOOGLE_PAY_TRANSIT_ISSUER_NAME",
		501:  "GOOGLE_PAY_TRANSIT_DEPARTURE",
		502:  "GOOGLE_PAY_TRANSIT_DEPARTURE_TIME",
		503:  "GOOGLE_PAY_TRANSIT_VALID_FROM",
		504:  "GOOGLE_PAY_TRANSIT_VALID_UNTIL",
		505:  "GOOGLE_PAY_TRANSIT_ARRIVAL",
		506:  "GOOGLE_PAY_TRANSIT_PASSENGER_NAMES",
		507:  "GOOGLE_PAY_TRANSIT_CARRIAGE",
		508:  "GOOGLE_PAY_TRANSIT_COACH",
		509:  "GOOGLE_PAY_TRANSIT_SEAT",
		510:  "GOOGLE_PAY_TRANSIT_TICKET_NUMBER",
		511:  "GOOGLE_PAY_TRANSIT_TICKET_STATUS",
		512:  "GOOGLE_PAY_TRANSIT_FARE_NAME",
		513:  "GOOGLE_PAY_TRANSIT_PLATFORM",
		514:  "GOOGLE_PAY_TRANSIT_ZONE",
		515:  "GOOGLE_PAY_TRANSIT_FARE_CLASS",
		516:  "GOOGLE_PAY_TRANSIT_CONCESSION_CATEGORY",
		517:  "GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTIONS",
		518:  "GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTION_DETAILS",
		519:  "GOOGLE_PAY_TRANSIT_TIME_RESTRICTIONS",
		520:  "GOOGLE_PAY_TRANSIT_OTHER_RESTRICTIONS",
		521:  "GOOGLE_PAY_TRANSIT_RECEIPT_NUMBER",
		522:  "GOOGLE_PAY_TRANSIT_PURCHASE_DATE",
		523:  "GOOGLE_PAY_TRANSIT_ACCOUNT_ID",
		524:  "GOOGLE_PAY_TRANSIT_CONFIRMATION_CODE",
		525:  "GOOGLE_PAY_TRANSIT_FACE_VALUE",
		526:  "GOOGLE_PAY_TRANSIT_PURCHASE_PRICE",
		527:  "GOOGLE_PAY_TRANSIT_DISCOUNT_MESSAGE",
		1000: "GOOGLE_PAY_TEXT_MODULE",
		1001: "GOOGLE_PAY_ISSUER_NAME",
		1002: "GOOGLE_PAY_STATIC_TEXT_MODULE",
	}
	GooglePayField_value = map[string]int32{
		"GOOGLE_PAY_FIELD_DO_NOT_USE":                  0,
		"GOOGLE_PAY_BOARDING_AIRLINE_NAME":             1,
		"GOOGLE_PAY_BOARDING_AIRLINE_CODE":             2,
		"GOOGLE_PAY_BOARDING_ORIGIN":                   3,
		"GOOGLE_PAY_BOARDING_DESTINATION":              4,
		"GOOGLE_PAY_BOARDING_ORIGIN_TERMINAL":          5,
		"GOOGLE_PAY_BOARDING_ORIGIN_GATE":              6,
		"GOOGLE_PAY_BOARDING_BOARDING_TIME":            7,
		"GOOGLE_PAY_BOARDING_PASSENGER_NAME":           8,
		"GOOGLE_PAY_BOARDING_ZONE_GROUP":               9,
		"GOOGLE_PAY_BOARDING_SEAT":                     10,
		"GOOGLE_PAY_BOARDING_BOARDING_POSITION":        11,
		"GOOGLE_PAY_BOARDING_BOARDING_SEQUENCE":        12,
		"GOOGLE_PAY_BOARDING_BOARDING_DOOR":            13,
		"GOOGLE_PAY_BOARDING_FLIGHT_NUMBER":            14,
		"GOOGLE_PAY_BOARDING_CONFIRMATION_NUMBER":      15,
		"GOOGLE_PAY_BOARDING_TICKET_NUMBER":            16,
		"GOOGLE_PAY_BOARDING_FREQUENT_FLYER_NUMBER":    17,
		"GOOGLE_PAY_BOARDING_GATE_CLOSES":              18,
		"GOOGLE_PAY_BOARDING_DEPARTURE_TIME":           19,
		"GOOGLE_PAY_BOARDING_ARRIVAL_TIME":             20,
		"GOOGLE_PAY_BOARDING_ARRIVAL_TERMINAL":         21,
		"GOOGLE_PAY_BOARDING_ARRIVAL_GATE":             22,
		"GOOGLE_PAY_EVENT_NAME":                        100,
		"GOOGLE_PAY_EVENT_VENUE_NAME":                  101,
		"GOOGLE_PAY_EVENT_VENUE_ADDRESS":               102,
		"GOOGLE_PAY_EVENT_GATE":                        103,
		"GOOGLE_PAY_EVENT_SECTION":                     104,
		"GOOGLE_PAY_EVENT_ROW":                         105,
		"GOOGLE_PAY_EVENT_SEAT":                        106,
		"GOOGLE_PAY_EVENT_TICKET_HOLDER":               107,
		"GOOGLE_PAY_EVENT_DOORS_OPEN":                  108,
		"GOOGLE_PAY_EVENT_START":                       109,
		"GOOGLE_PAY_EVENT_END":                         110,
		"GOOGLE_PAY_EVENT_TICKET_TYPE":                 111,
		"GOOGLE_PAY_EVENT_TICKET_NUMBER":               112,
		"GOOGLE_PAY_EVENT_CONFIRMATION_NUMBER":         113,
		"GOOGLE_PAY_EVENT_FACE_VALUE":                  114,
		"GOOGLE_PAY_EVENT_FINE_PRINT":                  115,
		"GOOGLE_PAY_GIFT_MERCHANT_NAME":                200,
		"GOOGLE_PAY_GIFT_BALANCE":                      201,
		"GOOGLE_PAY_GIFT_CARD_NUMBER":                  202,
		"GOOGLE_PAY_GIFT_BALANCE_UPDATE_TIME":          203,
		"GOOGLE_PAY_GIFT_PIN":                          204,
		"GOOGLE_PAY_GIFT_EVENT_NUMBER":                 205,
		"GOOGLE_PAY_LOYALTY_PROGRAM_NAME":              300,
		"GOOGLE_PAY_LOYALTY_POINTS":                    301,
		"GOOGLE_PAY_LOYALTY_SECONDARY_POINTS":          302,
		"GOOGLE_PAY_LOYALTY_ACCOUNT_NAME":              303,
		"GOOGLE_PAY_LOYALTY_ACCOUNT_ID":                304,
		"GOOGLE_PAY_LOYALTY_REWARDS_TIER":              305,
		"GOOGLE_PAY_LOYALTY_SECONDARY_REWARDS_TIER":    306,
		"GOOGLE_PAY_OFFER_TITLE":                       400,
		"GOOGLE_PAY_OFFER_PROVIDER":                    401,
		"GOOGLE_PAY_OFFER_DETAILS":                     402,
		"GOOGLE_PAY_OFFER_FINE_PRINT":                  403,
		"GOOGLE_PAY_OFFER_SHORT_TITLE":                 404,
		"GOOGLE_PAY_TRANSIT_ISSUER_NAME":               500,
		"GOOGLE_PAY_TRANSIT_DEPARTURE":                 501,
		"GOOGLE_PAY_TRANSIT_DEPARTURE_TIME":            502,
		"GOOGLE_PAY_TRANSIT_VALID_FROM":                503,
		"GOOGLE_PAY_TRANSIT_VALID_UNTIL":               504,
		"GOOGLE_PAY_TRANSIT_ARRIVAL":                   505,
		"GOOGLE_PAY_TRANSIT_PASSENGER_NAMES":           506,
		"GOOGLE_PAY_TRANSIT_CARRIAGE":                  507,
		"GOOGLE_PAY_TRANSIT_COACH":                     508,
		"GOOGLE_PAY_TRANSIT_SEAT":                      509,
		"GOOGLE_PAY_TRANSIT_TICKET_NUMBER":             510,
		"GOOGLE_PAY_TRANSIT_TICKET_STATUS":             511,
		"GOOGLE_PAY_TRANSIT_FARE_NAME":                 512,
		"GOOGLE_PAY_TRANSIT_PLATFORM":                  513,
		"GOOGLE_PAY_TRANSIT_ZONE":                      514,
		"GOOGLE_PAY_TRANSIT_FARE_CLASS":                515,
		"GOOGLE_PAY_TRANSIT_CONCESSION_CATEGORY":       516,
		"GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTIONS":        517,
		"GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTION_DETAILS": 518,
		"GOOGLE_PAY_TRANSIT_TIME_RESTRICTIONS":         519,
		"GOOGLE_PAY_TRANSIT_OTHER_RESTRICTIONS":        520,
		"GOOGLE_PAY_TRANSIT_RECEIPT_NUMBER":            521,
		"GOOGLE_PAY_TRANSIT_PURCHASE_DATE":             522,
		"GOOGLE_PAY_TRANSIT_ACCOUNT_ID":                523,
		"GOOGLE_PAY_TRANSIT_CONFIRMATION_CODE":         524,
		"GOOGLE_PAY_TRANSIT_FACE_VALUE":                525,
		"GOOGLE_PAY_TRANSIT_PURCHASE_PRICE":            526,
		"GOOGLE_PAY_TRANSIT_DISCOUNT_MESSAGE":          527,
		"GOOGLE_PAY_TEXT_MODULE":                       1000,
		"GOOGLE_PAY_ISSUER_NAME":                       1001,
		"GOOGLE_PAY_STATIC_TEXT_MODULE":                1002,
	}
)

Enum value maps for GooglePayField.

View Source
var (
	PasswordType_name = map[int32]string{
		0: "PASSWORD_TYPE_DO_NOT_USE",
		1: "PASSWORD_TYPE_NO_PASSWORD",
		2: "PASSWORD_TYPE_PASSWORD_ONLY",
	}
	PasswordType_value = map[string]int32{
		"PASSWORD_TYPE_DO_NOT_USE":    0,
		"PASSWORD_TYPE_NO_PASSWORD":   1,
		"PASSWORD_TYPE_PASSWORD_ONLY": 2,
	}
)

Enum value maps for PasswordType.

View Source
var (
	SupportedAndroidWallet_name = map[int32]string{
		0: "ANDROID_WALLET_DO_NOT_USE",
		1: "ANDROID_WALLET_PASSWALLET",
		2: "ANDROID_WALLET_WALLETPASSES",
	}
	SupportedAndroidWallet_value = map[string]int32{
		"ANDROID_WALLET_DO_NOT_USE":   0,
		"ANDROID_WALLET_PASSWALLET":   1,
		"ANDROID_WALLET_WALLETPASSES": 2,
	}
)

Enum value maps for SupportedAndroidWallet.

View Source
var (
	PersonalizedDataField_name = map[int32]string{
		0: "PERSONALIZE_DO_NOT_USE",
		1: "PERSONALIZE_NAME",
		2: "PERSONALIZE_EMAIL_ADDRESS",
		4: "PERSONALIZE_PHONE_NUMBER",
		8: "PERSONALIZE_POSTAL_CODE",
	}
	PersonalizedDataField_value = map[string]int32{
		"PERSONALIZE_DO_NOT_USE":    0,
		"PERSONALIZE_NAME":          1,
		"PERSONALIZE_EMAIL_ADDRESS": 2,
		"PERSONALIZE_PHONE_NUMBER":  4,
		"PERSONALIZE_POSTAL_CODE":   8,
	}
)

Enum value maps for PersonalizedDataField.

View Source
var (
	ScreenshotEligibility_name = map[int32]string{
		0: "SCREENSHOT_ELIGIBILITY_UNSPECIFIED",
		1: "ELIGIBLE",
		2: "INELIGIBLE",
	}
	ScreenshotEligibility_value = map[string]int32{
		"SCREENSHOT_ELIGIBILITY_UNSPECIFIED": 0,
		"ELIGIBLE":                           1,
		"INELIGIBLE":                         2,
	}
)

Enum value maps for ScreenshotEligibility.

View Source
var (
	FbPixelStandardEvent_name = map[int32]string{
		0: "FBP_STANDARD_EVENT_DO_NOT_USE",
		1: "FBP_STANDARD_EVENT_PAGE_VIEW",
		2: "FBP_STANDARD_EVENT_COMPLETE_REGISTRATION",
		3: "FBP_STANDARD_EVENT_LEAD",
		4: "FBP_STANDARD_EVENT_PURCHASE",
		5: "FBP_STANDARD_EVENT_SCHEDULE",
		6: "FBP_STANDARD_EVENT_START_TRIAL",
		7: "FBP_STANDARD_EVENT_SUBMIT_APPLICATION",
		8: "FBP_STANDARD_EVENT_SUBSCRIBE",
		9: "FBP_STANDARD_EVENT_VIEW_CONTENT",
	}
	FbPixelStandardEvent_value = map[string]int32{
		"FBP_STANDARD_EVENT_DO_NOT_USE":            0,
		"FBP_STANDARD_EVENT_PAGE_VIEW":             1,
		"FBP_STANDARD_EVENT_COMPLETE_REGISTRATION": 2,
		"FBP_STANDARD_EVENT_LEAD":                  3,
		"FBP_STANDARD_EVENT_PURCHASE":              4,
		"FBP_STANDARD_EVENT_SCHEDULE":              5,
		"FBP_STANDARD_EVENT_START_TRIAL":           6,
		"FBP_STANDARD_EVENT_SUBMIT_APPLICATION":    7,
		"FBP_STANDARD_EVENT_SUBSCRIBE":             8,
		"FBP_STANDARD_EVENT_VIEW_CONTENT":          9,
	}
)

Enum value maps for FbPixelStandardEvent.

View Source
var (
	GoogleAnalyticsDataCollectionPageEvent_name = map[int32]string{
		0: "GA_DC_EVENT_DO_NOT_USE",
		1: "GA_DC_EVENT_PAGE_VIEW",
		2: "GA_DC_EVENT_SUBMIT_FORM",
	}
	GoogleAnalyticsDataCollectionPageEvent_value = map[string]int32{
		"GA_DC_EVENT_DO_NOT_USE":  0,
		"GA_DC_EVENT_PAGE_VIEW":   1,
		"GA_DC_EVENT_SUBMIT_FORM": 2,
	}
)

Enum value maps for GoogleAnalyticsDataCollectionPageEvent.

View Source
var (
	GoogleAnalyticsPassRenderPageEvent_name = map[int32]string{
		0: "GA_PP_EVENT_DO_NOT_USE",
		1: "GA_PP_EVENT_PAGE_VIEW",
		2: "GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK",
		3: "GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK",
		4: "GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK",
		5: "GA_PP_EVENT_CHANGE_LANGUAGE",
	}
	GoogleAnalyticsPassRenderPageEvent_value = map[string]int32{
		"GA_PP_EVENT_DO_NOT_USE":                      0,
		"GA_PP_EVENT_PAGE_VIEW":                       1,
		"GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK":       2,
		"GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK": 3,
		"GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK":        4,
		"GA_PP_EVENT_CHANGE_LANGUAGE":                 5,
	}
)

Enum value maps for GoogleAnalyticsPassRenderPageEvent.

View Source
var (
	GoogleAnalyticsCustomerInitiatedRedemptionPageEvent_name = map[int32]string{
		0: "GA_CIRP_EVENT_DO_NOT_USE",
		1: "GA_CIRP_EVENT_PAGE_VIEW",
		2: "GA_CIRP_EVENT_REDEEM",
	}
	GoogleAnalyticsCustomerInitiatedRedemptionPageEvent_value = map[string]int32{
		"GA_CIRP_EVENT_DO_NOT_USE": 0,
		"GA_CIRP_EVENT_PAGE_VIEW":  1,
		"GA_CIRP_EVENT_REDEEM":     2,
	}
)

Enum value maps for GoogleAnalyticsCustomerInitiatedRedemptionPageEvent.

View Source
var (
	OAuth2Provider_name = map[int32]string{
		0:   "OAUTH_DO_NOT_USE",
		10:  "OAUTH_PATREON",
		50:  "OAUTH_SPROUT",
		100: "OAUTH_MAILCHIMP",
		150: "OAUTH_XERO",
	}
	OAuth2Provider_value = map[string]int32{
		"OAUTH_DO_NOT_USE": 0,
		"OAUTH_PATREON":    10,
		"OAUTH_SPROUT":     50,
		"OAUTH_MAILCHIMP":  100,
		"OAUTH_XERO":       150,
	}
)

Enum value maps for OAuth2Provider.

View Source
var (
	ScannerMembershipPermissions_name = map[int32]string{
		0:   "MEMBERSHIP_PERMISSION_NONE",
		1:   "MEMBERSHIP_PERMISSION_VIEW_MEMBER",
		2:   "MEMBERSHIP_PERMISSION_EDIT_MEMBER",
		4:   "MEMBERSHIP_PERMISSION_EARN_POINTS",
		8:   "MEMBERSHIP_PERMISSION_BURN_POINTS",
		16:  "MEMBERSHIP_PERMISSION_SET_POINTS",
		32:  "MEMBERSHIP_PERMISSION_CHANGE_TIER",
		64:  "MEMBERSHIP_PERMISSION_VIEW_EVENTS",
		128: "MEMBERSHIP_PERMISSION_CHANGE_EXPIRY",
		256: "MEMBERSHIP_PERMISSION_CHECK_IN_OUT",
		512: "MEMBERSHIP_PERMISSION_VALIDATE",
	}
	ScannerMembershipPermissions_value = map[string]int32{
		"MEMBERSHIP_PERMISSION_NONE":          0,
		"MEMBERSHIP_PERMISSION_VIEW_MEMBER":   1,
		"MEMBERSHIP_PERMISSION_EDIT_MEMBER":   2,
		"MEMBERSHIP_PERMISSION_EARN_POINTS":   4,
		"MEMBERSHIP_PERMISSION_BURN_POINTS":   8,
		"MEMBERSHIP_PERMISSION_SET_POINTS":    16,
		"MEMBERSHIP_PERMISSION_CHANGE_TIER":   32,
		"MEMBERSHIP_PERMISSION_VIEW_EVENTS":   64,
		"MEMBERSHIP_PERMISSION_CHANGE_EXPIRY": 128,
		"MEMBERSHIP_PERMISSION_CHECK_IN_OUT":  256,
		"MEMBERSHIP_PERMISSION_VALIDATE":      512,
	}
)

Enum value maps for ScannerMembershipPermissions.

View Source
var (
	ScannerCouponPermissions_name = map[int32]string{
		0:  "COUPON_PERMISSION_NONE",
		1:  "COUPON_PERMISSION_VIEW_COUPON",
		2:  "COUPON_PERMISSION_EDIT_COUPON",
		4:  "COUPON_PERMISSION_REDEEM",
		8:  "COUPON_PERMISSION_VIEW_EVENTS",
		16: "COUPON_PERMISSION_CHANGE_EXPIRY",
		32: "COUPON_PERMISSION_VALIDATE",
	}
	ScannerCouponPermissions_value = map[string]int32{
		"COUPON_PERMISSION_NONE":          0,
		"COUPON_PERMISSION_VIEW_COUPON":   1,
		"COUPON_PERMISSION_EDIT_COUPON":   2,
		"COUPON_PERMISSION_REDEEM":        4,
		"COUPON_PERMISSION_VIEW_EVENTS":   8,
		"COUPON_PERMISSION_CHANGE_EXPIRY": 16,
		"COUPON_PERMISSION_VALIDATE":      32,
	}
)

Enum value maps for ScannerCouponPermissions.

View Source
var (
	DefaultMembershipScanAction_name = map[int32]string{
		0: "MEMBERSHIP_DEFAULT_NONE",
		1: "MEMBERSHIP_DEFAULT_EARN_POINTS",
		2: "MEMBERSHIP_DEFAULT_BURN_POINTS",
		4: "MEMBERSHIP_DEFAULT_CHECK_IN_OUT",
		8: "MEMBERSHIP_DEFAULT_VALIDATE",
	}
	DefaultMembershipScanAction_value = map[string]int32{
		"MEMBERSHIP_DEFAULT_NONE":         0,
		"MEMBERSHIP_DEFAULT_EARN_POINTS":  1,
		"MEMBERSHIP_DEFAULT_BURN_POINTS":  2,
		"MEMBERSHIP_DEFAULT_CHECK_IN_OUT": 4,
		"MEMBERSHIP_DEFAULT_VALIDATE":     8,
	}
)

Enum value maps for DefaultMembershipScanAction.

View Source
var (
	DefaultCouponScanAction_name = map[int32]string{
		0: "COUPON_DEFAULT_NONE",
		1: "COUPON_DEFAULT_REDEEM",
		2: "COUPON_DEFAULT_VALIDATE",
	}
	DefaultCouponScanAction_value = map[string]int32{
		"COUPON_DEFAULT_NONE":     0,
		"COUPON_DEFAULT_REDEEM":   1,
		"COUPON_DEFAULT_VALIDATE": 2,
	}
)

Enum value maps for DefaultCouponScanAction.

View Source
var (
	PermissionScope_name = map[int32]string{
		0:    "PERMISSION_NONE",
		1:    "WEB_ACCESS",
		2:    "APP_ACCESS",
		4:    "ALL_PROJECTS",
		8:    "ALL_CERTIFICATES",
		16:   "BILLING_ACCESS",
		32:   "CERTIFICATES_ACCESS",
		64:   "MEMBERS_ACCESS",
		128:  "COUPONS_ACCESS",
		256:  "EVENTS_ACCESS",
		512:  "FLIGHTS_ACCESS",
		1024: "TEAM_MEMBER_ADMIN",
	}
	PermissionScope_value = map[string]int32{
		"PERMISSION_NONE":     0,
		"WEB_ACCESS":          1,
		"APP_ACCESS":          2,
		"ALL_PROJECTS":        4,
		"ALL_CERTIFICATES":    8,
		"BILLING_ACCESS":      16,
		"CERTIFICATES_ACCESS": 32,
		"MEMBERS_ACCESS":      64,
		"COUPONS_ACCESS":      128,
		"EVENTS_ACCESS":       256,
		"FLIGHTS_ACCESS":      512,
		"TEAM_MEMBER_ADMIN":   1024,
	}
)

Enum value maps for PermissionScope.

View Source
var (
	TeamMemberStatus_name = map[int32]string{
		0: "STATUS_NONE",
		1: "TEAM_MEMBER_ACTIVE",
		2: "TEAM_MEMBER_DISABLED",
		4: "TEAM_MEMBER_EXPIRED",
		8: "TEAM_MEMBER_PENDING",
	}
	TeamMemberStatus_value = map[string]int32{
		"STATUS_NONE":          0,
		"TEAM_MEMBER_ACTIVE":   1,
		"TEAM_MEMBER_DISABLED": 2,
		"TEAM_MEMBER_EXPIRED":  4,
		"TEAM_MEMBER_PENDING":  8,
	}
)

Enum value maps for TeamMemberStatus.

View Source
var Certificates_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Certificates",
	HandlerType: (*CertificatesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getAppleCertificateData",
			Handler:    _Certificates_GetAppleCertificateData_Handler,
		},
		{
			MethodName: "getCertificateSigningRequest",
			Handler:    _Certificates_GetCertificateSigningRequest_Handler,
		},
		{
			MethodName: "addAppleCertificate",
			Handler:    _Certificates_AddAppleCertificate_Handler,
		},
		{
			MethodName: "updateAppleCertificate",
			Handler:    _Certificates_UpdateAppleCertificate_Handler,
		},
		{
			MethodName: "countAppleCertificatesDeprecated",
			Handler:    _Certificates_CountAppleCertificatesDeprecated_Handler,
		},
		{
			MethodName: "countAppleCertificates",
			Handler:    _Certificates_CountAppleCertificates_Handler,
		},
		{
			MethodName: "sendNFCSigningCredentials",
			Handler:    _Certificates_SendNFCSigningCredentials_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "listAppleCertificatesDeprecated",
			Handler:       _Certificates_ListAppleCertificatesDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listAppleCertificates",
			Handler:       _Certificates_ListAppleCertificates_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "io/core/a_rpc_certificates.proto",
}

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

View Source
var Distribution_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Distribution",
	HandlerType: (*DistributionServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "sendWelcomeEmail",
			Handler:    _Distribution_SendWelcomeEmail_Handler,
		},
		{
			MethodName: "getSmartPassLink",
			Handler:    _Distribution_GetSmartPassLink_Handler,
		},
		{
			MethodName: "getDataCollectionPageFields",
			Handler:    _Distribution_GetDataCollectionPageFields_Handler,
		},
		{
			MethodName: "uploadSmartPassCsv",
			Handler:    _Distribution_UploadSmartPassCsv_Handler,
		},
		{
			MethodName: "importProtocolCsv",
			Handler:    _Distribution_ImportProtocolCsv_Handler,
		},
		{
			MethodName: "validateBarcode",
			Handler:    _Distribution_ValidateBarcode_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "io/core/a_rpc_distribution.proto",
}

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

View Source
var File_io_certificate_certificate_proto protoreflect.FileDescriptor
View Source
var File_io_common_attributes_proto protoreflect.FileDescriptor
View Source
var File_io_common_billing_proto protoreflect.FileDescriptor
View Source
var File_io_common_common_objects_proto protoreflect.FileDescriptor
View Source
var File_io_common_distribution_proto protoreflect.FileDescriptor
View Source
var File_io_common_expiry_proto protoreflect.FileDescriptor
View Source
var File_io_common_filter_proto protoreflect.FileDescriptor
View Source
var File_io_common_integration_proto protoreflect.FileDescriptor
View Source
var File_io_common_links_proto protoreflect.FileDescriptor
View Source
var File_io_common_localization_proto protoreflect.FileDescriptor
View Source
var File_io_common_message_proto protoreflect.FileDescriptor
View Source
var File_io_common_metrics_proto protoreflect.FileDescriptor
View Source
var File_io_common_note_proto protoreflect.FileDescriptor
View Source
var File_io_common_operation_proto protoreflect.FileDescriptor
View Source
var File_io_common_pagination_proto protoreflect.FileDescriptor
View Source
var File_io_common_pass_proto protoreflect.FileDescriptor
View Source
var File_io_common_personal_proto protoreflect.FileDescriptor
View Source
var File_io_common_project_proto protoreflect.FileDescriptor
View Source
var File_io_common_protocols_proto protoreflect.FileDescriptor
View Source
var File_io_common_proximity_proto protoreflect.FileDescriptor
View Source
var File_io_common_reporting_proto protoreflect.FileDescriptor
View Source
var File_io_common_semantics_proto protoreflect.FileDescriptor
View Source
var File_io_common_template_proto protoreflect.FileDescriptor
View Source
var File_io_common_tracking_proto protoreflect.FileDescriptor
View Source
var File_io_common_transaction_proto protoreflect.FileDescriptor
View Source
var File_io_common_useragent_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_certificates_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_distribution_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_images_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_messages_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_others_proto protoreflect.FileDescriptor
View Source
var File_io_core_a_rpc_templates_proto protoreflect.FileDescriptor
View Source
var File_io_image_image_proto protoreflect.FileDescriptor
View Source
var File_io_user_user_proto protoreflect.FileDescriptor
View Source
var Images_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Images",
	HandlerType: (*ImagesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "setProfileImage",
			Handler:    _Images_SetProfileImage_Handler,
		},
		{
			MethodName: "getProfileImage",
			Handler:    _Images_GetProfileImage_Handler,
		},
		{
			MethodName: "createImages",
			Handler:    _Images_CreateImages_Handler,
		},
		{
			MethodName: "updateImage",
			Handler:    _Images_UpdateImage_Handler,
		},
		{
			MethodName: "getImageURL",
			Handler:    _Images_GetImageURL_Handler,
		},
		{
			MethodName: "getStampImageURL",
			Handler:    _Images_GetStampImageURL_Handler,
		},
		{
			MethodName: "getStampImageConfig",
			Handler:    _Images_GetStampImageConfig_Handler,
		},
		{
			MethodName: "updateStampImageConfig",
			Handler:    _Images_UpdateStampImageConfig_Handler,
		},
		{
			MethodName: "getStampImagePreview",
			Handler:    _Images_GetStampImagePreview_Handler,
		},
		{
			MethodName: "getLocalizedImageURL",
			Handler:    _Images_GetLocalizedImageURL_Handler,
		},
		{
			MethodName: "getProfileImageById",
			Handler:    _Images_GetProfileImageById_Handler,
		},
		{
			MethodName: "getImageBundle",
			Handler:    _Images_GetImageBundle_Handler,
		},
		{
			MethodName: "getImageData",
			Handler:    _Images_GetImageData_Handler,
		},
		{
			MethodName: "deleteImage",
			Handler:    _Images_DeleteImage_Handler,
		},
		{
			MethodName: "deleteLocalizedImage",
			Handler:    _Images_DeleteLocalizedImage_Handler,
		},
		{
			MethodName: "countImagesDeprecated",
			Handler:    _Images_CountImagesDeprecated_Handler,
		},
		{
			MethodName: "countImages",
			Handler:    _Images_CountImages_Handler,
		},
		{
			MethodName: "countImagesForUserDeprecated",
			Handler:    _Images_CountImagesForUserDeprecated_Handler,
		},
		{
			MethodName: "countImagesForUser",
			Handler:    _Images_CountImagesForUser_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "listImagesForUserDeprecated",
			Handler:       _Images_ListImagesForUserDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listImagesForUser",
			Handler:       _Images_ListImagesForUser_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listImagesDeprecated",
			Handler:       _Images_ListImagesDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listImages",
			Handler:       _Images_ListImages_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "io/core/a_rpc_images.proto",
}

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

View Source
var Integrations_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Integrations",
	HandlerType: (*IntegrationsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createIntegrations",
			Handler:    _Integrations_CreateIntegrations_Handler,
		},
		{
			MethodName: "getIntegrations",
			Handler:    _Integrations_GetIntegrations_Handler,
		},
		{
			MethodName: "updateIntegrations",
			Handler:    _Integrations_UpdateIntegrations_Handler,
		},
		{
			MethodName: "deleteIntegrations",
			Handler:    _Integrations_DeleteIntegrations_Handler,
		},
		{
			MethodName: "createSinkSubscription",
			Handler:    _Integrations_CreateSinkSubscription_Handler,
		},
		{
			MethodName: "getSinkSubscription",
			Handler:    _Integrations_GetSinkSubscription_Handler,
		},
		{
			MethodName: "updateSinkSubscription",
			Handler:    _Integrations_UpdateSinkSubscription_Handler,
		},
		{
			MethodName: "deleteSinkSubscription",
			Handler:    _Integrations_DeleteSinkSubscription_Handler,
		},
		{
			MethodName: "getSampleSubscriptionEvent",
			Handler:    _Integrations_GetSampleSubscriptionEvent_Handler,
		},
		{
			MethodName: "callDynamicApi",
			Handler:    _Integrations_CallDynamicApi_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "listSinkSubscriptionsDeprecated",
			Handler:       _Integrations_ListSinkSubscriptionsDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listSinkSubscriptions",
			Handler:       _Integrations_ListSinkSubscriptions_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "io/core/a_rpc_others.proto",
}

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

View Source
var Messages_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Messages",
	HandlerType: (*MessagesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "getMessage",
			Handler:    _Messages_GetMessage_Handler,
		},
		{
			MethodName: "createMessage",
			Handler:    _Messages_CreateMessage_Handler,
		},
		{
			MethodName: "updateMessage",
			Handler:    _Messages_UpdateMessage_Handler,
		},
		{
			MethodName: "deleteMessage",
			Handler:    _Messages_DeleteMessage_Handler,
		},
		{
			MethodName: "sendMessage",
			Handler:    _Messages_SendMessage_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "io/core/a_rpc_messages.proto",
}

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

View Source
var Templates_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Templates",
	HandlerType: (*TemplatesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createTemplate",
			Handler:    _Templates_CreateTemplate_Handler,
		},
		{
			MethodName: "updateTemplate",
			Handler:    _Templates_UpdateTemplate_Handler,
		},
		{
			MethodName: "getTemplate",
			Handler:    _Templates_GetTemplate_Handler,
		},
		{
			MethodName: "getDefaultTemplate",
			Handler:    _Templates_GetDefaultTemplate_Handler,
		},
		{
			MethodName: "copyTemplate",
			Handler:    _Templates_CopyTemplate_Handler,
		},
		{
			MethodName: "deleteTemplate",
			Handler:    _Templates_DeleteTemplate_Handler,
		},
		{
			MethodName: "countTemplatesDeprecated",
			Handler:    _Templates_CountTemplatesDeprecated_Handler,
		},
		{
			MethodName: "countTemplates",
			Handler:    _Templates_CountTemplates_Handler,
		},
		{
			MethodName: "countTemplatesForUserDeprecated",
			Handler:    _Templates_CountTemplatesForUserDeprecated_Handler,
		},
		{
			MethodName: "countTemplatesForUser",
			Handler:    _Templates_CountTemplatesForUser_Handler,
		},
		{
			MethodName: "createLocation",
			Handler:    _Templates_CreateLocation_Handler,
		},
		{
			MethodName: "updateLocation",
			Handler:    _Templates_UpdateLocation_Handler,
		},
		{
			MethodName: "getLocation",
			Handler:    _Templates_GetLocation_Handler,
		},
		{
			MethodName: "copyLocation",
			Handler:    _Templates_CopyLocation_Handler,
		},
		{
			MethodName: "deleteLocation",
			Handler:    _Templates_DeleteLocation_Handler,
		},
		{
			MethodName: "countLocationsDeprecated",
			Handler:    _Templates_CountLocationsDeprecated_Handler,
		},
		{
			MethodName: "countLocations",
			Handler:    _Templates_CountLocations_Handler,
		},
		{
			MethodName: "createBeacon",
			Handler:    _Templates_CreateBeacon_Handler,
		},
		{
			MethodName: "updateBeacon",
			Handler:    _Templates_UpdateBeacon_Handler,
		},
		{
			MethodName: "getBeacon",
			Handler:    _Templates_GetBeacon_Handler,
		},
		{
			MethodName: "copyBeacon",
			Handler:    _Templates_CopyBeacon_Handler,
		},
		{
			MethodName: "deleteBeacon",
			Handler:    _Templates_DeleteBeacon_Handler,
		},
		{
			MethodName: "countBeaconsDeprecated",
			Handler:    _Templates_CountBeaconsDeprecated_Handler,
		},
		{
			MethodName: "countBeacons",
			Handler:    _Templates_CountBeacons_Handler,
		},
		{
			MethodName: "createLink",
			Handler:    _Templates_CreateLink_Handler,
		},
		{
			MethodName: "updateLink",
			Handler:    _Templates_UpdateLink_Handler,
		},
		{
			MethodName: "getLink",
			Handler:    _Templates_GetLink_Handler,
		},
		{
			MethodName: "copyLink",
			Handler:    _Templates_CopyLink_Handler,
		},
		{
			MethodName: "deleteLink",
			Handler:    _Templates_DeleteLink_Handler,
		},
		{
			MethodName: "countLinksDeprecated",
			Handler:    _Templates_CountLinksDeprecated_Handler,
		},
		{
			MethodName: "countLinks",
			Handler:    _Templates_CountLinks_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "listTemplatesForUserDeprecated",
			Handler:       _Templates_ListTemplatesForUserDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listTemplatesForUser",
			Handler:       _Templates_ListTemplatesForUser_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listTemplatesDeprecated",
			Handler:       _Templates_ListTemplatesDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listTemplates",
			Handler:       _Templates_ListTemplates_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listLocationsDeprecated",
			Handler:       _Templates_ListLocationsDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listLocations",
			Handler:       _Templates_ListLocations_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listBeaconsDeprecated",
			Handler:       _Templates_ListBeaconsDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listBeacons",
			Handler:       _Templates_ListBeacons_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listLinksDeprecated",
			Handler:       _Templates_ListLinksDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "listLinks",
			Handler:       _Templates_ListLinks_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "io/core/a_rpc_templates.proto",
}

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

View Source
var Users_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "io.Users",
	HandlerType: (*UsersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "createUser",
			Handler:    _Users_CreateUser_Handler,
		},
		{
			MethodName: "newUser",
			Handler:    _Users_NewUser_Handler,
		},
		{
			MethodName: "verify",
			Handler:    _Users_Verify_Handler,
		},
		{
			MethodName: "resendVerificationEmail",
			Handler:    _Users_ResendVerificationEmail_Handler,
		},
		{
			MethodName: "getUser",
			Handler:    _Users_GetUser_Handler,
		},
		{
			MethodName: "login",
			Handler:    _Users_Login_Handler,
		},
		{
			MethodName: "get2faBarcode",
			Handler:    _Users_Get2FaBarcode_Handler,
		},
		{
			MethodName: "resetPassword",
			Handler:    _Users_ResetPassword_Handler,
		},
		{
			MethodName: "sendPasswordResetLink",
			Handler:    _Users_SendPasswordResetLink_Handler,
		},
		{
			MethodName: "changePassword",
			Handler:    _Users_ChangePassword_Handler,
		},
		{
			MethodName: "changeEmail",
			Handler:    _Users_ChangeEmail_Handler,
		},
		{
			MethodName: "confirmEmailChange",
			Handler:    _Users_ConfirmEmailChange_Handler,
		},
		{
			MethodName: "updateCompanyName",
			Handler:    _Users_UpdateCompanyName_Handler,
		},
		{
			MethodName: "getProjectByUuid",
			Handler:    _Users_GetProjectByUuid_Handler,
		},
		{
			MethodName: "getProjectAndTemplateByShortCode",
			Handler:    _Users_GetProjectAndTemplateByShortCode_Handler,
		},
		{
			MethodName: "getScannerConfig",
			Handler:    _Users_GetScannerConfig_Handler,
		},
		{
			MethodName: "createScannerConfig",
			Handler:    _Users_CreateScannerConfig_Handler,
		},
		{
			MethodName: "updateScannerConfig",
			Handler:    _Users_UpdateScannerConfig_Handler,
		},
		{
			MethodName: "createAuthorizationResource",
			Handler:    _Users_CreateAuthorizationResource_Handler,
		},
		{
			MethodName: "deleteAuthorizationResource",
			Handler:    _Users_DeleteAuthorizationResource_Handler,
		},
		{
			MethodName: "refreshApiSecret",
			Handler:    _Users_RefreshApiSecret_Handler,
		},
		{
			MethodName: "deleteAccount",
			Handler:    _Users_DeleteAccount_Handler,
		},
		{
			MethodName: "revokeLegacyCredentials",
			Handler:    _Users_RevokeLegacyCredentials_Handler,
		},
		{
			MethodName: "createTeamMember",
			Handler:    _Users_CreateTeamMember_Handler,
		},
		{
			MethodName: "createPermissionsForTeamMember",
			Handler:    _Users_CreatePermissionsForTeamMember_Handler,
		},
		{
			MethodName: "updateTeamMemberPermissions",
			Handler:    _Users_UpdateTeamMemberPermissions_Handler,
		},
		{
			MethodName: "patchTeamMemberPermissions",
			Handler:    _Users_PatchTeamMemberPermissions_Handler,
		},
		{
			MethodName: "getTeamMember",
			Handler:    _Users_GetTeamMember_Handler,
		},
		{
			MethodName: "deleteTeamMember",
			Handler:    _Users_DeleteTeamMember_Handler,
		},
	},
	Streams: []grpc.StreamDesc{
		{
			StreamName:    "getProjectsForUserQueryDeprecated",
			Handler:       _Users_GetProjectsForUserQueryDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getProjectsQueryDeprecated",
			Handler:       _Users_GetProjectsQueryDeprecated_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getProjectsForUserQuery",
			Handler:       _Users_GetProjectsForUserQuery_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getProjectsQuery",
			Handler:       _Users_GetProjectsQuery_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getProjectsForUser",
			Handler:       _Users_GetProjectsForUser_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getProjects",
			Handler:       _Users_GetProjects_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getTeamMembers",
			Handler:       _Users_GetTeamMembers_Handler,
			ServerStreams: true,
		},
		{
			StreamName:    "getTeamMemberLogs",
			Handler:       _Users_GetTeamMemberLogs_Handler,
			ServerStreams: true,
		},
	},
	Metadata: "io/core/a_rpc_others.proto",
}

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

Functions

func RegisterCertificatesHandler

func RegisterCertificatesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterCertificatesHandler registers the http handlers for service Certificates to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterCertificatesHandlerClient

func RegisterCertificatesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client CertificatesClient) error

RegisterCertificatesHandlerClient registers the http handlers for service Certificates to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "CertificatesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "CertificatesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "CertificatesClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterCertificatesHandlerFromEndpoint

func RegisterCertificatesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterCertificatesHandlerFromEndpoint is same as RegisterCertificatesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterCertificatesHandlerServer

func RegisterCertificatesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server CertificatesServer) error

RegisterCertificatesHandlerServer registers the http handlers for service Certificates to "mux". UnaryRPC :call CertificatesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterCertificatesHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterCertificatesServer

func RegisterCertificatesServer(s grpc.ServiceRegistrar, srv CertificatesServer)

func RegisterDistributionHandler

func RegisterDistributionHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterDistributionHandler registers the http handlers for service Distribution to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterDistributionHandlerClient

func RegisterDistributionHandlerClient(ctx context.Context, mux *runtime.ServeMux, client DistributionClient) error

RegisterDistributionHandlerClient registers the http handlers for service Distribution to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "DistributionClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "DistributionClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "DistributionClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterDistributionHandlerFromEndpoint

func RegisterDistributionHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterDistributionHandlerFromEndpoint is same as RegisterDistributionHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterDistributionHandlerServer

func RegisterDistributionHandlerServer(ctx context.Context, mux *runtime.ServeMux, server DistributionServer) error

RegisterDistributionHandlerServer registers the http handlers for service Distribution to "mux". UnaryRPC :call DistributionServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterDistributionHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterDistributionServer

func RegisterDistributionServer(s grpc.ServiceRegistrar, srv DistributionServer)

func RegisterImagesHandler

func RegisterImagesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterImagesHandler registers the http handlers for service Images to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterImagesHandlerClient

func RegisterImagesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client ImagesClient) error

RegisterImagesHandlerClient registers the http handlers for service Images to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "ImagesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "ImagesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "ImagesClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterImagesHandlerFromEndpoint

func RegisterImagesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterImagesHandlerFromEndpoint is same as RegisterImagesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterImagesHandlerServer

func RegisterImagesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server ImagesServer) error

RegisterImagesHandlerServer registers the http handlers for service Images to "mux". UnaryRPC :call ImagesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterImagesHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterImagesServer

func RegisterImagesServer(s grpc.ServiceRegistrar, srv ImagesServer)

func RegisterIntegrationsHandler

func RegisterIntegrationsHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterIntegrationsHandler registers the http handlers for service Integrations to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterIntegrationsHandlerClient

func RegisterIntegrationsHandlerClient(ctx context.Context, mux *runtime.ServeMux, client IntegrationsClient) error

RegisterIntegrationsHandlerClient registers the http handlers for service Integrations to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "IntegrationsClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "IntegrationsClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "IntegrationsClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterIntegrationsHandlerFromEndpoint

func RegisterIntegrationsHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterIntegrationsHandlerFromEndpoint is same as RegisterIntegrationsHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterIntegrationsHandlerServer

func RegisterIntegrationsHandlerServer(ctx context.Context, mux *runtime.ServeMux, server IntegrationsServer) error

RegisterIntegrationsHandlerServer registers the http handlers for service Integrations to "mux". UnaryRPC :call IntegrationsServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterIntegrationsHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterIntegrationsServer

func RegisterIntegrationsServer(s grpc.ServiceRegistrar, srv IntegrationsServer)

func RegisterMessagesHandler

func RegisterMessagesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterMessagesHandler registers the http handlers for service Messages to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterMessagesHandlerClient

func RegisterMessagesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client MessagesClient) error

RegisterMessagesHandlerClient registers the http handlers for service Messages to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "MessagesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "MessagesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "MessagesClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterMessagesHandlerFromEndpoint

func RegisterMessagesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterMessagesHandlerFromEndpoint is same as RegisterMessagesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterMessagesHandlerServer

func RegisterMessagesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server MessagesServer) error

RegisterMessagesHandlerServer registers the http handlers for service Messages to "mux". UnaryRPC :call MessagesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterMessagesHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterMessagesServer

func RegisterMessagesServer(s grpc.ServiceRegistrar, srv MessagesServer)

func RegisterTemplatesHandler

func RegisterTemplatesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterTemplatesHandler registers the http handlers for service Templates to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterTemplatesHandlerClient

func RegisterTemplatesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client TemplatesClient) error

RegisterTemplatesHandlerClient registers the http handlers for service Templates to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "TemplatesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "TemplatesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "TemplatesClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterTemplatesHandlerFromEndpoint

func RegisterTemplatesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterTemplatesHandlerFromEndpoint is same as RegisterTemplatesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterTemplatesHandlerServer

func RegisterTemplatesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server TemplatesServer) error

RegisterTemplatesHandlerServer registers the http handlers for service Templates to "mux". UnaryRPC :call TemplatesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterTemplatesHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterTemplatesServer

func RegisterTemplatesServer(s grpc.ServiceRegistrar, srv TemplatesServer)

func RegisterUsersHandler

func RegisterUsersHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterUsersHandler registers the http handlers for service Users to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterUsersHandlerClient

func RegisterUsersHandlerClient(ctx context.Context, mux *runtime.ServeMux, client UsersClient) error

RegisterUsersHandlerClient registers the http handlers for service Users to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "UsersClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "UsersClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "UsersClient" to call the correct interceptors. This client ignores the HTTP middlewares.

func RegisterUsersHandlerFromEndpoint

func RegisterUsersHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterUsersHandlerFromEndpoint is same as RegisterUsersHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterUsersHandlerServer

func RegisterUsersHandlerServer(ctx context.Context, mux *runtime.ServeMux, server UsersServer) error

RegisterUsersHandlerServer registers the http handlers for service Users to "mux". UnaryRPC :call UsersServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterUsersHandlerFromEndpoint instead. GRPC interceptors will not work for this type of registration. To use interceptors, you must use the "runtime.WithMiddlewares" option in the "runtime.NewServeMux" call.

func RegisterUsersServer

func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)

Types

type ActionMethod

type ActionMethod int32

Action method is an api call method (post, put, delete) used when data get integrated with the third party application. This enum will be useful if topic is not directly produced by debezium and want to know the original debezium event operation.

const (
	ActionMethod_METHOD_NONE ActionMethod = 0
	// Invokes POST request to create a record the third party app.
	ActionMethod_METHOD_POST ActionMethod = 1
	// Invokes PUT request to update existing record on the third party app.
	ActionMethod_METHOD_PUT ActionMethod = 2
	// Invokes DELETE request to delete existing record on the third party app.
	ActionMethod_METHOD_DELETE ActionMethod = 3
)

func (ActionMethod) Descriptor

func (ActionMethod) Enum

func (x ActionMethod) Enum() *ActionMethod

func (ActionMethod) EnumDescriptor deprecated

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

Deprecated: Use ActionMethod.Descriptor instead.

func (ActionMethod) Number

func (ActionMethod) String

func (x ActionMethod) String() string

func (ActionMethod) Type

type Address

type Address struct {

	// The first line of the street address (e.g. house number and street name).
	AddressLine1 string `protobuf:"bytes,1,opt,name=addressLine1,proto3" json:"addressLine1,omitempty"`
	// The second line of the address (e.g. apartment, suite, unit, building, floor).
	AddressLine2 string `protobuf:"bytes,2,opt,name=addressLine2,proto3" json:"addressLine2,omitempty"`
	// The third line of the address if additional space is needed.
	AddressLine3 string `protobuf:"bytes,3,opt,name=addressLine3,proto3" json:"addressLine3,omitempty"`
	// The city or locality.
	City string `protobuf:"bytes,4,opt,name=city,proto3" json:"city,omitempty"`
	// The state, province, or region.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// The postal or ZIP code.
	ZipCode string `protobuf:"bytes,6,opt,name=zipCode,proto3" json:"zipCode,omitempty"`
	// The ISO 3166-1 alpha-2 country code (e.g. "US", "HK").
	CountryCode string `protobuf:"bytes,7,opt,name=countryCode,proto3" json:"countryCode,omitempty"`
	// contains filtered or unexported fields
}

Address contains structured address fields for a person or location.

func (*Address) Descriptor deprecated

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

Deprecated: Use Address.ProtoReflect.Descriptor instead.

func (*Address) GetAddressLine1

func (x *Address) GetAddressLine1() string

func (*Address) GetAddressLine2

func (x *Address) GetAddressLine2() string

func (*Address) GetAddressLine3

func (x *Address) GetAddressLine3() string

func (*Address) GetCity

func (x *Address) GetCity() string

func (*Address) GetCountryCode

func (x *Address) GetCountryCode() string

func (*Address) GetState

func (x *Address) GetState() string

func (*Address) GetZipCode

func (x *Address) GetZipCode() string

func (*Address) ProtoMessage

func (*Address) ProtoMessage()

func (*Address) ProtoReflect

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

func (*Address) Reset

func (x *Address) Reset()

func (*Address) String

func (x *Address) String() string

type AddressRenderOptions

type AddressRenderOptions struct {
	Address1Label                string           `protobuf:"bytes,1,opt,name=address1Label,proto3" json:"address1Label,omitempty"`
	Address2Label                string           `protobuf:"bytes,2,opt,name=address2Label,proto3" json:"address2Label,omitempty"`
	CityLabel                    string           `protobuf:"bytes,3,opt,name=cityLabel,proto3" json:"cityLabel,omitempty"`
	CountryLabel                 string           `protobuf:"bytes,4,opt,name=countryLabel,proto3" json:"countryLabel,omitempty"`
	ZipLabel                     string           `protobuf:"bytes,5,opt,name=zipLabel,proto3" json:"zipLabel,omitempty"`
	Address1Placeholder          string           `protobuf:"bytes,6,opt,name=address1Placeholder,proto3" json:"address1Placeholder,omitempty"`
	Address2Placeholder          string           `protobuf:"bytes,7,opt,name=address2Placeholder,proto3" json:"address2Placeholder,omitempty"`
	CityPlaceholder              string           `protobuf:"bytes,8,opt,name=cityPlaceholder,proto3" json:"cityPlaceholder,omitempty"`
	CountryPlaceholder           string           `protobuf:"bytes,9,opt,name=countryPlaceholder,proto3" json:"countryPlaceholder,omitempty"`
	ZipPlaceholder               string           `protobuf:"bytes,10,opt,name=zipPlaceholder,proto3" json:"zipPlaceholder,omitempty"`
	LocalizedAddress1Label       *LocalizedString `protobuf:"bytes,11,opt,name=localizedAddress1Label,proto3" json:"localizedAddress1Label,omitempty"`
	LocalizedAddress2Label       *LocalizedString `protobuf:"bytes,12,opt,name=localizedAddress2Label,proto3" json:"localizedAddress2Label,omitempty"`
	LocalizedCityLabel           *LocalizedString `protobuf:"bytes,13,opt,name=localizedCityLabel,proto3" json:"localizedCityLabel,omitempty"`
	LocalizedCountryLabel        *LocalizedString `protobuf:"bytes,14,opt,name=localizedCountryLabel,proto3" json:"localizedCountryLabel,omitempty"`
	LocalizedZipLabel            *LocalizedString `protobuf:"bytes,15,opt,name=localizedZipLabel,proto3" json:"localizedZipLabel,omitempty"`
	LocalizedAddress1Placeholder *LocalizedString `protobuf:"bytes,16,opt,name=localizedAddress1Placeholder,proto3" json:"localizedAddress1Placeholder,omitempty"`
	LocalizedAddress2Placeholder *LocalizedString `protobuf:"bytes,17,opt,name=localizedAddress2Placeholder,proto3" json:"localizedAddress2Placeholder,omitempty"`
	LocalizedCityPlaceholder     *LocalizedString `protobuf:"bytes,18,opt,name=localizedCityPlaceholder,proto3" json:"localizedCityPlaceholder,omitempty"`
	LocalizedCountryPlaceholder  *LocalizedString `protobuf:"bytes,19,opt,name=localizedCountryPlaceholder,proto3" json:"localizedCountryPlaceholder,omitempty"`
	LocalizedZipPlaceholder      *LocalizedString `protobuf:"bytes,20,opt,name=localizedZipPlaceholder,proto3" json:"localizedZipPlaceholder,omitempty"`
	// contains filtered or unexported fields
}

Customization options for rendering address input fields on data collection forms.

func (*AddressRenderOptions) Descriptor deprecated

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

Deprecated: Use AddressRenderOptions.ProtoReflect.Descriptor instead.

func (*AddressRenderOptions) GetAddress1Label

func (x *AddressRenderOptions) GetAddress1Label() string

func (*AddressRenderOptions) GetAddress1Placeholder

func (x *AddressRenderOptions) GetAddress1Placeholder() string

func (*AddressRenderOptions) GetAddress2Label

func (x *AddressRenderOptions) GetAddress2Label() string

func (*AddressRenderOptions) GetAddress2Placeholder

func (x *AddressRenderOptions) GetAddress2Placeholder() string

func (*AddressRenderOptions) GetCityLabel

func (x *AddressRenderOptions) GetCityLabel() string

func (*AddressRenderOptions) GetCityPlaceholder

func (x *AddressRenderOptions) GetCityPlaceholder() string

func (*AddressRenderOptions) GetCountryLabel

func (x *AddressRenderOptions) GetCountryLabel() string

func (*AddressRenderOptions) GetCountryPlaceholder

func (x *AddressRenderOptions) GetCountryPlaceholder() string

func (*AddressRenderOptions) GetLocalizedAddress1Label

func (x *AddressRenderOptions) GetLocalizedAddress1Label() *LocalizedString

func (*AddressRenderOptions) GetLocalizedAddress1Placeholder

func (x *AddressRenderOptions) GetLocalizedAddress1Placeholder() *LocalizedString

func (*AddressRenderOptions) GetLocalizedAddress2Label

func (x *AddressRenderOptions) GetLocalizedAddress2Label() *LocalizedString

func (*AddressRenderOptions) GetLocalizedAddress2Placeholder

func (x *AddressRenderOptions) GetLocalizedAddress2Placeholder() *LocalizedString

func (*AddressRenderOptions) GetLocalizedCityLabel

func (x *AddressRenderOptions) GetLocalizedCityLabel() *LocalizedString

func (*AddressRenderOptions) GetLocalizedCityPlaceholder

func (x *AddressRenderOptions) GetLocalizedCityPlaceholder() *LocalizedString

func (*AddressRenderOptions) GetLocalizedCountryLabel

func (x *AddressRenderOptions) GetLocalizedCountryLabel() *LocalizedString

func (*AddressRenderOptions) GetLocalizedCountryPlaceholder

func (x *AddressRenderOptions) GetLocalizedCountryPlaceholder() *LocalizedString

func (*AddressRenderOptions) GetLocalizedZipLabel

func (x *AddressRenderOptions) GetLocalizedZipLabel() *LocalizedString

func (*AddressRenderOptions) GetLocalizedZipPlaceholder

func (x *AddressRenderOptions) GetLocalizedZipPlaceholder() *LocalizedString

func (*AddressRenderOptions) GetZipLabel

func (x *AddressRenderOptions) GetZipLabel() string

func (*AddressRenderOptions) GetZipPlaceholder

func (x *AddressRenderOptions) GetZipPlaceholder() string

func (*AddressRenderOptions) ProtoMessage

func (*AddressRenderOptions) ProtoMessage()

func (*AddressRenderOptions) ProtoReflect

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

func (*AddressRenderOptions) Reset

func (x *AddressRenderOptions) Reset()

func (*AddressRenderOptions) String

func (x *AddressRenderOptions) String() string

type AnalyticsRequest

type AnalyticsRequest struct {

	// The protocol that you are requesting analytics for, i.e. MEMBERSHIP, SINGLE_USE_COUPON, EVENT_TICKETS, FLIGHTS, etc.
	// @tag: validateGeneric:"required"
	Protocol PassProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty" validateGeneric:"required"`
	// The ID of the highest level element in the protocol. For Membership this is the Program ID, for coupons this is the Campaign ID, For Event Tickets this is Production, For Flight this is CarrierCode.
	// @tag: validateGeneric:"required"
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty" validateGeneric:"required"`
	// The Period to group the response data by: per DAY, MONTH or YEAR.
	// @tag: validateGeneric:"omitempty"
	Period Period `protobuf:"varint,3,opt,name=period,proto3,enum=io.Period" json:"period,omitempty" validateGeneric:"omitempty"`
	// Start date sets the oldest date of the data to be shown.
	// @tag: validateGeneric:"required"
	StartDate string `protobuf:"bytes,4,opt,name=startDate,proto3" json:"startDate,omitempty" validateGeneric:"required"`
	// End date sets the latest date of the data to be shown.
	// @tag: validateGeneric:"required"
	EndDate string `protobuf:"bytes,5,opt,name=endDate,proto3" json:"endDate,omitempty" validateGeneric:"required"`
	// Timezone in IANA format; defaults to UTC if not provided.
	// @tag: validateGeneric:"omitempty"
	Timezone string `protobuf:"bytes,6,opt,name=timezone,proto3" json:"timezone,omitempty" validateGeneric:"omitempty"`
	// @tag: validateGeneric:"omitempty"
	//
	// Types that are valid to be assigned to Filter:
	//
	//	*AnalyticsRequest_Coupon
	//	*AnalyticsRequest_Flight
	//	*AnalyticsRequest_EventTicket
	Filter isAnalyticsRequest_Filter `protobuf_oneof:"filter" validateGeneric:"omitempty"`
	// contains filtered or unexported fields
}

The request message for fetching analytics data.

func (*AnalyticsRequest) Descriptor deprecated

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

Deprecated: Use AnalyticsRequest.ProtoReflect.Descriptor instead.

func (*AnalyticsRequest) GetClassId

func (x *AnalyticsRequest) GetClassId() string

func (*AnalyticsRequest) GetCoupon

func (x *AnalyticsRequest) GetCoupon() *CouponAnalyticsFilter

func (*AnalyticsRequest) GetEndDate

func (x *AnalyticsRequest) GetEndDate() string

func (*AnalyticsRequest) GetEventTicket

func (x *AnalyticsRequest) GetEventTicket() *EventTicketAnalyticsFilter

func (*AnalyticsRequest) GetFilter

func (x *AnalyticsRequest) GetFilter() isAnalyticsRequest_Filter

func (*AnalyticsRequest) GetFlight

func (x *AnalyticsRequest) GetFlight() *FlightAnalyticsFilter

func (*AnalyticsRequest) GetPeriod

func (x *AnalyticsRequest) GetPeriod() Period

func (*AnalyticsRequest) GetProtocol

func (x *AnalyticsRequest) GetProtocol() PassProtocol

func (*AnalyticsRequest) GetStartDate

func (x *AnalyticsRequest) GetStartDate() string

func (*AnalyticsRequest) GetTimezone

func (x *AnalyticsRequest) GetTimezone() string

func (*AnalyticsRequest) ProtoMessage

func (*AnalyticsRequest) ProtoMessage()

func (*AnalyticsRequest) ProtoReflect

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

func (*AnalyticsRequest) Reset

func (x *AnalyticsRequest) Reset()

func (*AnalyticsRequest) String

func (x *AnalyticsRequest) String() string

type AnalyticsRequest_Coupon

type AnalyticsRequest_Coupon struct {
	Coupon *CouponAnalyticsFilter `protobuf:"bytes,15,opt,name=coupon,proto3,oneof"`
}

type AnalyticsRequest_EventTicket

type AnalyticsRequest_EventTicket struct {
	EventTicket *EventTicketAnalyticsFilter `protobuf:"bytes,17,opt,name=eventTicket,proto3,oneof"`
}

type AnalyticsRequest_Flight

type AnalyticsRequest_Flight struct {
	Flight *FlightAnalyticsFilter `protobuf:"bytes,16,opt,name=flight,proto3,oneof"`
}

type AnalyticsResponse

type AnalyticsResponse struct {

	// The Period that the response data is grouped by by: per DAY, MONTH or YEAR.
	Period Period `protobuf:"varint,1,opt,name=period,proto3,enum=io.Period" json:"period,omitempty"`
	// Total number of passes created during the requested period.
	Created uint32 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// Total number of passes installed during the requested period.
	Installed uint32 `protobuf:"varint,3,opt,name=installed,proto3" json:"installed,omitempty"`
	// Total number of passes deleted during the requested period.
	Deleted uint32 `protobuf:"varint,4,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Total number of passes invalidated during the requested period.
	Invalidated uint32 `protobuf:"varint,5,opt,name=invalidated,proto3" json:"invalidated,omitempty"`
	// Total number of passes installed for each device type.
	DeviceBreakdown *DeviceBreakdown `protobuf:"bytes,6,opt,name=deviceBreakdown,proto3" json:"deviceBreakdown,omitempty"`
	// Total number of passes installed for each distribution source.
	UtmSourceBreakdown map[string]uint32 `` /* 164-byte string literal not displayed */
	// Breakdown of data by day, month or year.
	Data []*ChartDataPoints `protobuf:"bytes,8,rep,name=data,proto3" json:"data,omitempty"`
	// Breakdown of data by utm medium.
	UtmMediumBreakdown map[string]uint32 `` /* 164-byte string literal not displayed */
	// Breakdown of data by utm name.
	UtmNameBreakdown map[string]uint32 `` /* 161-byte string literal not displayed */
	// Breakdown of data by utm term.
	UtmTermBreakdown map[string]uint32 `` /* 161-byte string literal not displayed */
	// Breakdown of data by utm content.
	UtmContentBreakdown map[string]uint32 `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

The response message containing analytics statistics.

func (*AnalyticsResponse) Descriptor deprecated

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

Deprecated: Use AnalyticsResponse.ProtoReflect.Descriptor instead.

func (*AnalyticsResponse) GetCreated

func (x *AnalyticsResponse) GetCreated() uint32

func (*AnalyticsResponse) GetData

func (x *AnalyticsResponse) GetData() []*ChartDataPoints

func (*AnalyticsResponse) GetDeleted

func (x *AnalyticsResponse) GetDeleted() uint32

func (*AnalyticsResponse) GetDeviceBreakdown

func (x *AnalyticsResponse) GetDeviceBreakdown() *DeviceBreakdown

func (*AnalyticsResponse) GetInstalled

func (x *AnalyticsResponse) GetInstalled() uint32

func (*AnalyticsResponse) GetInvalidated

func (x *AnalyticsResponse) GetInvalidated() uint32

func (*AnalyticsResponse) GetPeriod

func (x *AnalyticsResponse) GetPeriod() Period

func (*AnalyticsResponse) GetUtmContentBreakdown

func (x *AnalyticsResponse) GetUtmContentBreakdown() map[string]uint32

func (*AnalyticsResponse) GetUtmMediumBreakdown

func (x *AnalyticsResponse) GetUtmMediumBreakdown() map[string]uint32

func (*AnalyticsResponse) GetUtmNameBreakdown

func (x *AnalyticsResponse) GetUtmNameBreakdown() map[string]uint32

func (*AnalyticsResponse) GetUtmSourceBreakdown

func (x *AnalyticsResponse) GetUtmSourceBreakdown() map[string]uint32

func (*AnalyticsResponse) GetUtmTermBreakdown

func (x *AnalyticsResponse) GetUtmTermBreakdown() map[string]uint32

func (*AnalyticsResponse) ProtoMessage

func (*AnalyticsResponse) ProtoMessage()

func (*AnalyticsResponse) ProtoReflect

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

func (*AnalyticsResponse) Reset

func (x *AnalyticsResponse) Reset()

func (*AnalyticsResponse) String

func (x *AnalyticsResponse) String() string

type ApplePassType

type ApplePassType int32

Apple pass types

const (
	// Use if you do not wish to support Apple Wallet
	ApplePassType_APPLE_NOT_SUPPORTED ApplePassType = 0
	ApplePassType_BOARDING_PASS       ApplePassType = 1
	ApplePassType_COUPON              ApplePassType = 2
	ApplePassType_EVENT_TICKET        ApplePassType = 3
	ApplePassType_GENERIC             ApplePassType = 4
	ApplePassType_STORE_CARD          ApplePassType = 5
)

func (ApplePassType) Descriptor

func (ApplePassType) Enum

func (x ApplePassType) Enum() *ApplePassType

func (ApplePassType) EnumDescriptor deprecated

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

Deprecated: Use ApplePassType.Descriptor instead.

func (ApplePassType) Number

func (ApplePassType) String

func (x ApplePassType) String() string

func (ApplePassType) Type

type AppleWalletFieldRenderOptions

type AppleWalletFieldRenderOptions struct {

	// Alignment for field title and body text for fields which are displayed on the front of Apple Wallet pass.
	TextAlignment    TextAlignment     `protobuf:"varint,2,opt,name=textAlignment,proto3,enum=io.TextAlignment" json:"textAlignment,omitempty"`
	PositionSettings *PositionSettings `protobuf:"bytes,3,opt,name=positionSettings,proto3" json:"positionSettings,omitempty"`
	// This message will be displayed as a notification when this field is updated. If %@ is used in the change message it will be replaced with the new field value when the message is displayed. E.g. Your registered name has been changed to %@.
	ChangeMessage string `protobuf:"bytes,4,opt,name=changeMessage,proto3" json:"changeMessage,omitempty"`
	// Localize push notification message for different languages.
	LocalizedChangeMessage *LocalizedString `protobuf:"bytes,5,opt,name=localizedChangeMessage,proto3" json:"localizedChangeMessage,omitempty"`
	DateStyle              DateTimeStyle    `protobuf:"varint,6,opt,name=dateStyle,proto3,enum=io.DateTimeStyle" json:"dateStyle,omitempty"`
	TimeStyle              DateTimeStyle    `protobuf:"varint,7,opt,name=timeStyle,proto3,enum=io.DateTimeStyle" json:"timeStyle,omitempty"`
	NumberStyle            NumberStyle      `protobuf:"varint,8,opt,name=numberStyle,proto3,enum=io.NumberStyle" json:"numberStyle,omitempty"`
	SuppressLinkDetection  []LinkDetector   `protobuf:"varint,9,rep,packed,name=suppressLinkDetection,proto3,enum=io.LinkDetector" json:"suppressLinkDetection,omitempty"`
	// Render date and time values in the provided time, rather than switching to the local time of the user.
	IgnoreTimezone bool `protobuf:"varint,10,opt,name=ignoreTimezone,proto3" json:"ignoreTimezone,omitempty"`
	// Render date as a relative date, rather than an absolute date.
	IsRelativeDate bool `protobuf:"varint,11,opt,name=isRelativeDate,proto3" json:"isRelativeDate,omitempty"`
	// contains filtered or unexported fields
}

Customise how data field is rendered on the front and back of the pass.

func (*AppleWalletFieldRenderOptions) Descriptor deprecated

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

Deprecated: Use AppleWalletFieldRenderOptions.ProtoReflect.Descriptor instead.

func (*AppleWalletFieldRenderOptions) GetChangeMessage

func (x *AppleWalletFieldRenderOptions) GetChangeMessage() string

func (*AppleWalletFieldRenderOptions) GetDateStyle

func (x *AppleWalletFieldRenderOptions) GetDateStyle() DateTimeStyle

func (*AppleWalletFieldRenderOptions) GetIgnoreTimezone

func (x *AppleWalletFieldRenderOptions) GetIgnoreTimezone() bool

func (*AppleWalletFieldRenderOptions) GetIsRelativeDate

func (x *AppleWalletFieldRenderOptions) GetIsRelativeDate() bool

func (*AppleWalletFieldRenderOptions) GetLocalizedChangeMessage

func (x *AppleWalletFieldRenderOptions) GetLocalizedChangeMessage() *LocalizedString

func (*AppleWalletFieldRenderOptions) GetNumberStyle

func (x *AppleWalletFieldRenderOptions) GetNumberStyle() NumberStyle

func (*AppleWalletFieldRenderOptions) GetPositionSettings

func (x *AppleWalletFieldRenderOptions) GetPositionSettings() *PositionSettings

func (*AppleWalletFieldRenderOptions) GetSuppressLinkDetection

func (x *AppleWalletFieldRenderOptions) GetSuppressLinkDetection() []LinkDetector

func (*AppleWalletFieldRenderOptions) GetTextAlignment

func (x *AppleWalletFieldRenderOptions) GetTextAlignment() TextAlignment

func (*AppleWalletFieldRenderOptions) GetTimeStyle

func (x *AppleWalletFieldRenderOptions) GetTimeStyle() DateTimeStyle

func (*AppleWalletFieldRenderOptions) ProtoMessage

func (*AppleWalletFieldRenderOptions) ProtoMessage()

func (*AppleWalletFieldRenderOptions) ProtoReflect

func (*AppleWalletFieldRenderOptions) Reset

func (x *AppleWalletFieldRenderOptions) Reset()

func (*AppleWalletFieldRenderOptions) String

type AppleWalletSettings

type AppleWalletSettings struct {

	// Pass type
	PassType ApplePassType `protobuf:"varint,1,opt,name=passType,proto3,enum=io.ApplePassType" json:"passType,omitempty"`
	// Custom information for companion apps. This data is not displayed to the user on the pass. This data needs to be a valid JSON object and is passed to the companion app when it launches from the pass. For example, a pass for a cafe could include information about the user’s favorite drink and sandwich in a machine-readable form for the companion app to read, making it easy to place an order for "the usual" from the app.
	// @tag: validateGeneric:"omitempty,json" validateCreate:"omitempty,json" validateUpdate:"omitempty,json"
	UserInfo string `` /* 166-byte string literal not displayed */
	// This is used to specify a deep link into the app displayed on the back of the Apple Wallet pass (the app is chosen from the associatedStoreIdentifiers). If the app supports deep linking, you can use this url to go to a specific point within the app when the link is clicked.
	AppLaunchUrl string `protobuf:"bytes,3,opt,name=appLaunchUrl,proto3" json:"appLaunchUrl,omitempty"`
	// Deprecated - use appStoreIdentifiers. A list of iTunes Store item identifiers for the associated apps. Only one item in the list is used — the first item identifier for an app compatible with the user's App Store account and device (hardware/iOS version). If the app is not installed, the link opens the App Store and shows the app. If the app is already installed, the link launches the app.
	AssociatedStoreIdentifiers []uint32 `protobuf:"varint,4,rep,packed,name=associatedStoreIdentifiers,proto3" json:"associatedStoreIdentifiers,omitempty"`
	// GPS lock screen messages will show at the lower of max distance and the pass default(unpublished) value.
	MaxDistance uint32 `protobuf:"varint,5,opt,name=maxDistance,proto3" json:"maxDistance,omitempty"`
	// List of country codes for the stores of the associated apps. This is required to render the pass correctly in the designer.
	AppStoreCountries  []string    `protobuf:"bytes,6,rep,name=appStoreCountries,proto3" json:"appStoreCountries,omitempty"`
	TransitType        TransitType `protobuf:"varint,7,opt,name=transitType,proto3,enum=io.TransitType" json:"transitType,omitempty"`
	GroupingIdentifier string      `protobuf:"bytes,8,opt,name=groupingIdentifier,proto3" json:"groupingIdentifier,omitempty"`
	// Personal data requested for an Apple Wallet Pass (Requires Apple to whitelist your certificate for this service).
	PersonalizationDetails *PersonalizationDetails `protobuf:"bytes,9,opt,name=personalizationDetails,proto3" json:"personalizationDetails,omitempty"`
	// A list of iTunes Store item identifiers for the associated apps. Only one item in the list is used — the first item identifier for an app compatible with the user's App Store account and device (hardware/iOS version). If the app is not installed, the link opens the App Store and shows the app. If the app is already installed, the link launches the app.
	AppStoreIdentifiers []uint64 `protobuf:"varint,10,rep,packed,name=appStoreIdentifiers,proto3" json:"appStoreIdentifiers,omitempty"`
	// Used to indicate if the semantic boarding pass ticket style should be used. Ignored unless ApplePassType is BOARDING_PASS.
	SemanticBoardingPass bool `protobuf:"varint,16,opt,name=semanticBoardingPass,proto3" json:"semanticBoardingPass,omitempty"`
	// Used to indicate if the poster event ticket style should be used. Requires an NFC certificate and iCloud binding.
	PosterTicketStyle bool `protobuf:"varint,11,opt,name=posterTicketStyle,proto3" json:"posterTicketStyle,omitempty"`
	// Used to turn off the top gradient of event poster tickets.
	SuppressHeaderDarkening bool `protobuf:"varint,12,opt,name=suppressHeaderDarkening,proto3" json:"suppressHeaderDarkening,omitempty"`
	// Indicates whether the pass faces should automatically determine the foreground/label colors from the background image, overwriting the set foreground/label colors.
	UseAutomaticColors bool `protobuf:"varint,13,opt,name=useAutomaticColors,proto3" json:"useAutomaticColors,omitempty"`
	// Text to be used in the place of, or in addition to a logo on Apple passes.
	LogoText string `protobuf:"bytes,14,opt,name=logoText,proto3" json:"logoText,omitempty"`
	// If set to true, time components of an Apple poster Event Ticket start/end date will not be shown on the front of the pass.
	IgnoreTimeComponents bool `protobuf:"varint,15,opt,name=ignoreTimeComponents,proto3" json:"ignoreTimeComponents,omitempty"`
	// contains filtered or unexported fields
}

Pass settings only for Apple Wallet.

func (*AppleWalletSettings) Descriptor deprecated

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

Deprecated: Use AppleWalletSettings.ProtoReflect.Descriptor instead.

func (*AppleWalletSettings) GetAppLaunchUrl

func (x *AppleWalletSettings) GetAppLaunchUrl() string

func (*AppleWalletSettings) GetAppStoreCountries

func (x *AppleWalletSettings) GetAppStoreCountries() []string

func (*AppleWalletSettings) GetAppStoreIdentifiers added in v1.1.80

func (x *AppleWalletSettings) GetAppStoreIdentifiers() []uint64

func (*AppleWalletSettings) GetAssociatedStoreIdentifiers

func (x *AppleWalletSettings) GetAssociatedStoreIdentifiers() []uint32

func (*AppleWalletSettings) GetGroupingIdentifier

func (x *AppleWalletSettings) GetGroupingIdentifier() string

func (*AppleWalletSettings) GetIgnoreTimeComponents added in v1.1.118

func (x *AppleWalletSettings) GetIgnoreTimeComponents() bool

func (*AppleWalletSettings) GetLogoText added in v1.1.118

func (x *AppleWalletSettings) GetLogoText() string

func (*AppleWalletSettings) GetMaxDistance

func (x *AppleWalletSettings) GetMaxDistance() uint32

func (*AppleWalletSettings) GetPassType

func (x *AppleWalletSettings) GetPassType() ApplePassType

func (*AppleWalletSettings) GetPersonalizationDetails added in v1.1.80

func (x *AppleWalletSettings) GetPersonalizationDetails() *PersonalizationDetails

func (*AppleWalletSettings) GetPosterTicketStyle added in v1.1.118

func (x *AppleWalletSettings) GetPosterTicketStyle() bool

func (*AppleWalletSettings) GetSemanticBoardingPass added in v1.1.136

func (x *AppleWalletSettings) GetSemanticBoardingPass() bool

func (*AppleWalletSettings) GetSuppressHeaderDarkening added in v1.1.118

func (x *AppleWalletSettings) GetSuppressHeaderDarkening() bool

func (*AppleWalletSettings) GetTransitType

func (x *AppleWalletSettings) GetTransitType() TransitType

func (*AppleWalletSettings) GetUseAutomaticColors added in v1.1.118

func (x *AppleWalletSettings) GetUseAutomaticColors() bool

func (*AppleWalletSettings) GetUserInfo

func (x *AppleWalletSettings) GetUserInfo() string

func (*AppleWalletSettings) ProtoMessage

func (*AppleWalletSettings) ProtoMessage()

func (*AppleWalletSettings) ProtoReflect

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

func (*AppleWalletSettings) Reset

func (x *AppleWalletSettings) Reset()

func (*AppleWalletSettings) String

func (x *AppleWalletSettings) String() string

type AuditLog added in v1.1.118

type AuditLog struct {
	Timestamp      *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	CompanyId      string                 `protobuf:"bytes,2,opt,name=companyId,proto3" json:"companyId,omitempty"`
	Username       string                 `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	UserType       UserType               `protobuf:"varint,4,opt,name=userType,proto3,enum=io.UserType" json:"userType,omitempty"`
	Authentication Authentication         `protobuf:"varint,5,opt,name=authentication,proto3,enum=io.Authentication" json:"authentication,omitempty"`
	Channel        Channel                `protobuf:"varint,6,opt,name=channel,proto3,enum=io.Channel" json:"channel,omitempty"`
	IpAddress      string                 `protobuf:"bytes,7,opt,name=ipAddress,proto3" json:"ipAddress,omitempty"`
	Endpoint       string                 `protobuf:"bytes,8,opt,name=endpoint,proto3" json:"endpoint,omitempty"`
	Payload        string                 `protobuf:"bytes,9,opt,name=payload,proto3" json:"payload,omitempty"`
	StatusCode     uint32                 `protobuf:"varint,10,opt,name=statusCode,proto3" json:"statusCode,omitempty"`
	Status         string                 `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"`
	Response       string                 `protobuf:"bytes,12,opt,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

AuditLog represents a log entry for API access.

func (*AuditLog) Descriptor deprecated added in v1.1.118

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

Deprecated: Use AuditLog.ProtoReflect.Descriptor instead.

func (*AuditLog) GetAuthentication added in v1.1.118

func (x *AuditLog) GetAuthentication() Authentication

func (*AuditLog) GetChannel added in v1.1.118

func (x *AuditLog) GetChannel() Channel

func (*AuditLog) GetCompanyId added in v1.1.118

func (x *AuditLog) GetCompanyId() string

func (*AuditLog) GetEndpoint added in v1.1.118

func (x *AuditLog) GetEndpoint() string

func (*AuditLog) GetIpAddress added in v1.1.118

func (x *AuditLog) GetIpAddress() string

func (*AuditLog) GetPayload added in v1.1.118

func (x *AuditLog) GetPayload() string

func (*AuditLog) GetResponse added in v1.1.118

func (x *AuditLog) GetResponse() string

func (*AuditLog) GetStatus added in v1.1.118

func (x *AuditLog) GetStatus() string

func (*AuditLog) GetStatusCode added in v1.1.118

func (x *AuditLog) GetStatusCode() uint32

func (*AuditLog) GetTimestamp added in v1.1.118

func (x *AuditLog) GetTimestamp() *timestamppb.Timestamp

func (*AuditLog) GetUserType added in v1.1.118

func (x *AuditLog) GetUserType() UserType

func (*AuditLog) GetUsername added in v1.1.118

func (x *AuditLog) GetUsername() string

func (*AuditLog) ProtoMessage added in v1.1.118

func (*AuditLog) ProtoMessage()

func (*AuditLog) ProtoReflect added in v1.1.118

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

func (*AuditLog) Reset added in v1.1.118

func (x *AuditLog) Reset()

func (*AuditLog) String added in v1.1.118

func (x *AuditLog) String() string

type AuditLogRequest added in v1.1.118

type AuditLogRequest struct {

	// Specifying a user id will filter requests for that user, otherwise all users entries will be returned, providing the user has the necessary privileges.
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// Provide a timestamp if you need past records.  Up to 30 days of records can be accessed.
	BeforeTime *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=beforeTime,proto3" json:"beforeTime,omitempty"`
	// A maximum of 1,000 entries can be retrieved in one call.  If no offset is provided, 50 records will be retrieved.
	// @tag: validate:"lte=1000"
	Limit uint32 `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty" validate:"lte=1000"`
	// Limit request to show only errors
	ErrorsOnly bool `protobuf:"varint,4,opt,name=errorsOnly,proto3" json:"errorsOnly,omitempty"`
	// contains filtered or unexported fields
}

Used to request log details. Specifying a beforeTime will return up to the limit of results after the specified time, otherwise the most recent logs will be returned.

func (*AuditLogRequest) Descriptor deprecated added in v1.1.118

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

Deprecated: Use AuditLogRequest.ProtoReflect.Descriptor instead.

func (*AuditLogRequest) GetBeforeTime added in v1.1.118

func (x *AuditLogRequest) GetBeforeTime() *timestamppb.Timestamp

func (*AuditLogRequest) GetErrorsOnly added in v1.1.118

func (x *AuditLogRequest) GetErrorsOnly() bool

func (*AuditLogRequest) GetLimit added in v1.1.118

func (x *AuditLogRequest) GetLimit() uint32

func (*AuditLogRequest) GetUsername added in v1.1.118

func (x *AuditLogRequest) GetUsername() string

func (*AuditLogRequest) ProtoMessage added in v1.1.118

func (*AuditLogRequest) ProtoMessage()

func (*AuditLogRequest) ProtoReflect added in v1.1.118

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

func (*AuditLogRequest) Reset added in v1.1.118

func (x *AuditLogRequest) Reset()

func (*AuditLogRequest) String added in v1.1.118

func (x *AuditLogRequest) String() string

type Authentication added in v1.1.118

type Authentication int32

Authentication defines the method used to authenticate the request.

const (
	// No authentication provided.
	Authentication_Unauthenticated Authentication = 0
	// Session or web token was used.
	Authentication_WebToken Authentication = 1
	// Bearer token authentication.
	Authentication_BearerToken Authentication = 2
	// Certificate-based authentication.
	Authentication_Certificate Authentication = 3
)

func (Authentication) Descriptor added in v1.1.118

func (Authentication) Enum added in v1.1.118

func (x Authentication) Enum() *Authentication

func (Authentication) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use Authentication.Descriptor instead.

func (Authentication) Number added in v1.1.118

func (Authentication) String added in v1.1.118

func (x Authentication) String() string

func (Authentication) Type added in v1.1.118

type Barcode

type Barcode struct {

	// @tag: validateCreate:"barcodePayload", validateUpdate:"barcodePayload"
	// Data to be encoded into the barcode.
	Payload string `` /* 131-byte string literal not displayed */
	// @tag: validateCreate:"required", validateUpdate:"required"
	Format BarcodeType `` /* 138-byte string literal not displayed */
	// Text to display underneath the barcode.
	AltText          string           `protobuf:"bytes,3,opt,name=altText,proto3" json:"altText,omitempty"`
	LocalizedAltText *LocalizedString `protobuf:"bytes,4,opt,name=localizedAltText,proto3" json:"localizedAltText,omitempty"`
	MessageEncoding  string           `protobuf:"bytes,5,opt,name=messageEncoding,proto3" json:"messageEncoding,omitempty"`
	// Set to true if you do not wish Google Pay passes to display the security shimmer animation.
	SuppressSecurity bool `protobuf:"varint,6,opt,name=suppressSecurity,proto3" json:"suppressSecurity,omitempty"`
	// Set to true to enable TOTP rotating barcode support to Google Pay Passes.
	RotatingBarcode bool `protobuf:"varint,7,opt,name=rotatingBarcode,proto3" json:"rotatingBarcode,omitempty"`
	// Optional TOTP parameters. Note that if custom parameters are provided, the PassKit Pass Scanner App will not be able to validate the pass and the user will be responsible for implementing their own validation.
	// @tag: validateCreate:"omitempty,dive" validateUpdate:"omitempty,dive"
	TotpParameters *TOPTParameters `` /* 145-byte string literal not displayed */
	// contains filtered or unexported fields
}

Defines the barcode settings for a pass.

func (*Barcode) Descriptor deprecated

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

Deprecated: Use Barcode.ProtoReflect.Descriptor instead.

func (*Barcode) GetAltText

func (x *Barcode) GetAltText() string

func (*Barcode) GetFormat

func (x *Barcode) GetFormat() BarcodeType

func (*Barcode) GetLocalizedAltText

func (x *Barcode) GetLocalizedAltText() *LocalizedString

func (*Barcode) GetMessageEncoding

func (x *Barcode) GetMessageEncoding() string

func (*Barcode) GetPayload

func (x *Barcode) GetPayload() string

func (*Barcode) GetRotatingBarcode added in v1.1.70

func (x *Barcode) GetRotatingBarcode() bool

func (*Barcode) GetSuppressSecurity added in v1.1.70

func (x *Barcode) GetSuppressSecurity() bool

func (*Barcode) GetTotpParameters added in v1.1.70

func (x *Barcode) GetTotpParameters() *TOPTParameters

func (*Barcode) ProtoMessage

func (*Barcode) ProtoMessage()

func (*Barcode) ProtoReflect

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

func (*Barcode) Reset

func (x *Barcode) Reset()

func (*Barcode) String

func (x *Barcode) String() string

type BarcodeType

type BarcodeType int32

Barcode type sets the type of barcode for the pass.

const (
	BarcodeType_BARCODE_TYPE_DO_NOT_USE BarcodeType = 0
	// QR code can store 4 types of data: numeric, alphanumeric, byte/binary, and Kanji (Chinese characters).
	BarcodeType_QR BarcodeType = 1
	// Aztec codes are commonly used by the transportation industry such as tickets and airline boarding passes.
	BarcodeType_AZTEC BarcodeType = 2
	// 2D barcode which can store multiple data encodings. Not recommended for large payloads.
	BarcodeType_PDF417 BarcodeType = 3
	// Supports any character of the ASCII 128 character set which can store highly diversified information. Suitable for older scanners that may not support 2D barcodes, however, some older scanners may also not be able to read from a phone screen, so requires proper testing before use.
	BarcodeType_CODE128 BarcodeType = 4
	// This does not set a barcode. If you set barcode type as none, no barcode will be shown on the pass.
	BarcodeType_NONE BarcodeType = 5
)

func (BarcodeType) Descriptor

func (BarcodeType) Enum

func (x BarcodeType) Enum() *BarcodeType

func (BarcodeType) EnumDescriptor deprecated

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

Deprecated: Use BarcodeType.Descriptor instead.

func (BarcodeType) Number

func (x BarcodeType) Number() protoreflect.EnumNumber

func (BarcodeType) String

func (x BarcodeType) String() string

func (BarcodeType) Type

type Beacon

type Beacon struct {

	// System generated unique identifier for your beacon
	// @tag: validateCreate:"omitempty,uuidCompressedString" validateUpdate:"required,uuidCompressedString"
	Id string `` /* 152-byte string literal not displayed */
	// A valid UUID that is being broadcast from your beacon.
	// @tag: validateGeneric:"required_without=Id,uuid_rfc4122" validateCreate:"required_without=Id,uuid_rfc4122" validateUpdate:"required_without=Id,uuid_rfc4122"
	Uuid string `` /* 212-byte string literal not displayed */
	// A friendly name used to display the beacon in the admin portal. Maximum length 45 characters.
	// @tag: validateGeneric:"max=45" validateCreate:"max=45" validateUpdate:"max=45"
	Name string `` /* 134-byte string literal not displayed */
	// Major indicator.
	// @tag: validateGeneric:"required_without=Id,min=0,max=65535" validateCreate:"required_without=Id,min=0,max=65535" validateUpdate:"required_without=Id,min=0,max=65535"
	Major uint32 `` /* 224-byte string literal not displayed */
	// Minor indicator.
	// @tag: validateGeneric:"required_without=Id,min=0,max=65535" validateCreate:"required_without=Id,min=0,max=65535" validateUpdate:"required_without=Id,min=0,max=65535"
	Minor uint32 `` /* 224-byte string literal not displayed */
	// Message to be displayed on lock screen when user is in proximity of the beacon (iOS only). Maximum length 255 characters.
	// @tag: validateGeneric:"required_without=Id,max=255" validateCreate:"required_without=Id,max=255" validateUpdate:"required_without=Id,max=255"
	LockScreenMessage string `` /* 223-byte string literal not displayed */
	// Localized lock screen message.
	LocalizedLockScreenMessage *LocalizedString `protobuf:"bytes,7,opt,name=localizedLockScreenMessage,proto3" json:"localizedLockScreenMessage,omitempty"`
	// Beacons will be added in order of their position, from lowest to highest. Position can be any value, E.g. 3 Beacons with positions 30, 10, 20 would be added 10 first, 20 second and 30 third.  If no position is provided and the number of beacons exceeds 10, there is no guarantee which beacon(s) would be excluded from the pass.
	Position uint32 `protobuf:"varint,8,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

Beacons allow you to display subtle messages to your users when they are in close proximity.

func (*Beacon) Descriptor deprecated

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

Deprecated: Use Beacon.ProtoReflect.Descriptor instead.

func (*Beacon) GetId

func (x *Beacon) GetId() string

func (*Beacon) GetLocalizedLockScreenMessage

func (x *Beacon) GetLocalizedLockScreenMessage() *LocalizedString

func (*Beacon) GetLockScreenMessage

func (x *Beacon) GetLockScreenMessage() string

func (*Beacon) GetMajor

func (x *Beacon) GetMajor() uint32

func (*Beacon) GetMinor

func (x *Beacon) GetMinor() uint32

func (*Beacon) GetName

func (x *Beacon) GetName() string

func (*Beacon) GetPosition

func (x *Beacon) GetPosition() uint32

func (*Beacon) GetUuid

func (x *Beacon) GetUuid() string

func (*Beacon) ProtoMessage

func (*Beacon) ProtoMessage()

func (*Beacon) ProtoReflect

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

func (*Beacon) Reset

func (x *Beacon) Reset()

func (*Beacon) String

func (x *Beacon) String() string

type BillingMeta

type BillingMeta struct {
	CompanyName    string   `protobuf:"bytes,1,opt,name=companyName,proto3" json:"companyName,omitempty"`
	TaxId          string   `protobuf:"bytes,2,opt,name=taxId,proto3" json:"taxId,omitempty"`
	Reference      string   `protobuf:"bytes,3,opt,name=reference,proto3" json:"reference,omitempty"`
	BillingAddress *Address `protobuf:"bytes,4,opt,name=billingAddress,proto3" json:"billingAddress,omitempty"`
	// contains filtered or unexported fields
}

func (*BillingMeta) Descriptor deprecated

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

Deprecated: Use BillingMeta.ProtoReflect.Descriptor instead.

func (*BillingMeta) GetBillingAddress

func (x *BillingMeta) GetBillingAddress() *Address

func (*BillingMeta) GetCompanyName

func (x *BillingMeta) GetCompanyName() string

func (*BillingMeta) GetReference

func (x *BillingMeta) GetReference() string

func (*BillingMeta) GetTaxId

func (x *BillingMeta) GetTaxId() string

func (*BillingMeta) ProtoMessage

func (*BillingMeta) ProtoMessage()

func (*BillingMeta) ProtoReflect

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

func (*BillingMeta) Reset

func (x *BillingMeta) Reset()

func (*BillingMeta) String

func (x *BillingMeta) String() string

type BindingInfo added in v1.1.118

type BindingInfo struct {

	// Descriptive name displayed in the Apple Wallet iCloud binding prompt.
	DisplayableName string `protobuf:"bytes,1,opt,name=displayableName,proto3" json:"displayableName,omitempty"`
	// Optional URL for "Learn More" help link if user encounters issues binding the pass.
	// @tag: validateGeneric:"omitempty,http_url"
	LearnMoreUrl string `protobuf:"bytes,2,opt,name=learnMoreUrl,proto3" json:"learnMoreUrl,omitempty" validateGeneric:"omitempty,http_url"`
	// contains filtered or unexported fields
}

Metadata displayed when binding a pass to an Apple iCloud account.

func (*BindingInfo) Descriptor deprecated added in v1.1.118

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

Deprecated: Use BindingInfo.ProtoReflect.Descriptor instead.

func (*BindingInfo) GetDisplayableName added in v1.1.118

func (x *BindingInfo) GetDisplayableName() string

func (*BindingInfo) GetLearnMoreUrl added in v1.1.118

func (x *BindingInfo) GetLearnMoreUrl() string

func (*BindingInfo) ProtoMessage added in v1.1.118

func (*BindingInfo) ProtoMessage()

func (*BindingInfo) ProtoReflect added in v1.1.118

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

func (*BindingInfo) Reset added in v1.1.118

func (x *BindingInfo) Reset()

func (*BindingInfo) String added in v1.1.118

func (x *BindingInfo) String() string

type Boolean

type Boolean struct {

	// @tag: json:"response"
	Response bool `protobuf:"varint,1,opt,name=response,proto3" json:"response"`
	// contains filtered or unexported fields
}

Boolean response wrapper used to indicate success or feature enablement.

func (*Boolean) Descriptor deprecated

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

Deprecated: Use Boolean.ProtoReflect.Descriptor instead.

func (*Boolean) GetResponse

func (x *Boolean) GetResponse() bool

func (*Boolean) ProtoMessage

func (*Boolean) ProtoMessage()

func (*Boolean) ProtoReflect

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

func (*Boolean) Reset

func (x *Boolean) Reset()

func (*Boolean) String

func (x *Boolean) String() string

type BulkPassActionRequest added in v1.1.118

type BulkPassActionRequest struct {

	// Unique class ID for passes to apply bulk action to.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// Protocol of the pass (e.g. member, coupon, etc).
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 170-byte string literal not displayed */
	// Grouped filter conditions for selecting target passes.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	FilterGroups []*FilterGroup `` /* 156-byte string literal not displayed */
	// contains filtered or unexported fields
}

Request for bulk actions (e.g. update, delete) on filtered pass sets.

func (*BulkPassActionRequest) Descriptor deprecated added in v1.1.118

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

Deprecated: Use BulkPassActionRequest.ProtoReflect.Descriptor instead.

func (*BulkPassActionRequest) GetClassId added in v1.1.118

func (x *BulkPassActionRequest) GetClassId() string

func (*BulkPassActionRequest) GetFilterGroups added in v1.1.118

func (x *BulkPassActionRequest) GetFilterGroups() []*FilterGroup

func (*BulkPassActionRequest) GetProtocol added in v1.1.118

func (x *BulkPassActionRequest) GetProtocol() PassProtocol

func (*BulkPassActionRequest) ProtoMessage added in v1.1.118

func (*BulkPassActionRequest) ProtoMessage()

func (*BulkPassActionRequest) ProtoReflect added in v1.1.118

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

func (*BulkPassActionRequest) Reset added in v1.1.118

func (x *BulkPassActionRequest) Reset()

func (*BulkPassActionRequest) String added in v1.1.118

func (x *BulkPassActionRequest) String() string

type CertificateData

type CertificateData struct {

	// Apple-issued pass type identifier.
	PassTypeId string `protobuf:"bytes,1,opt,name=passTypeId,proto3" json:"passTypeId,omitempty"`
	// Apple team ID associated with the certificate.
	TeamId string `protobuf:"bytes,2,opt,name=teamId,proto3" json:"teamId,omitempty"`
	// Name of the Apple team.
	TeamName string `protobuf:"bytes,3,opt,name=teamName,proto3" json:"teamName,omitempty"`
	// Serial number of the certificate.
	SerialNumber string `protobuf:"bytes,4,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	// Start date of certificate validity.
	ValidFrom *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	// End date of certificate validity.
	ValidTo *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=validTo,proto3" json:"validTo,omitempty"`
	// Certificate modulus.
	Modulus string `protobuf:"bytes,7,opt,name=modulus,proto3" json:"modulus,omitempty"`
	// Indicates whether the certificate supports NFC passes.
	NfcCapable bool `protobuf:"varint,8,opt,name=nfcCapable,proto3" json:"nfcCapable,omitempty"`
	// Username of the certificate owner.
	OwnerUsername string `protobuf:"bytes,9,opt,name=ownerUsername,proto3" json:"ownerUsername,omitempty"`
	// contains filtered or unexported fields
}

Contains data about an Apple certificate used for pass signing.

func (*CertificateData) Descriptor deprecated

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

Deprecated: Use CertificateData.ProtoReflect.Descriptor instead.

func (*CertificateData) GetModulus

func (x *CertificateData) GetModulus() string

func (*CertificateData) GetNfcCapable

func (x *CertificateData) GetNfcCapable() bool

func (*CertificateData) GetOwnerUsername

func (x *CertificateData) GetOwnerUsername() string

func (*CertificateData) GetPassTypeId

func (x *CertificateData) GetPassTypeId() string

func (*CertificateData) GetSerialNumber

func (x *CertificateData) GetSerialNumber() string

func (*CertificateData) GetTeamId

func (x *CertificateData) GetTeamId() string

func (*CertificateData) GetTeamName

func (x *CertificateData) GetTeamName() string

func (*CertificateData) GetValidFrom

func (x *CertificateData) GetValidFrom() *timestamppb.Timestamp

func (*CertificateData) GetValidTo

func (x *CertificateData) GetValidTo() *timestamppb.Timestamp

func (*CertificateData) ProtoMessage

func (*CertificateData) ProtoMessage()

func (*CertificateData) ProtoReflect

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

func (*CertificateData) Reset

func (x *CertificateData) Reset()

func (*CertificateData) String

func (x *CertificateData) String() string

type CertificateSigningRequest

type CertificateSigningRequest struct {

	// PEM-encoded certificate signing request.
	Csr string `protobuf:"bytes,1,opt,name=csr,proto3" json:"csr,omitempty"`
	// contains filtered or unexported fields
}

Request payload containing a CSR (Certificate Signing Request).

func (*CertificateSigningRequest) Descriptor deprecated

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

Deprecated: Use CertificateSigningRequest.ProtoReflect.Descriptor instead.

func (*CertificateSigningRequest) GetCsr

func (x *CertificateSigningRequest) GetCsr() string

func (*CertificateSigningRequest) ProtoMessage

func (*CertificateSigningRequest) ProtoMessage()

func (*CertificateSigningRequest) ProtoReflect

func (*CertificateSigningRequest) Reset

func (x *CertificateSigningRequest) Reset()

func (*CertificateSigningRequest) String

func (x *CertificateSigningRequest) String() string

type CertificatesClient

type CertificatesClient interface {
	// Retrieves the Apple pass certificate data for the provided Pass Type Identifier. Required Fields: passTypeId.
	GetAppleCertificateData(ctx context.Context, in *PassTypeIdentifier, opts ...grpc.CallOption) (*CertificateData, error)
	// Retrieves a Certificate Signing Request (CSR) for the logged-in user. This is used to generate a new certificate on the Apple Developer portal.
	GetCertificateSigningRequest(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*CertificateSigningRequest, error)
	// Uploads a new Apple certificate for use with Wallet passes. Required Field: fileBytes.
	AddAppleCertificate(ctx context.Context, in *FileBytes, opts ...grpc.CallOption) (*CertificateData, error)
	// Updates or renews an existing Apple certificate by uploading a new one. Required Fields: fileBytes.
	UpdateAppleCertificate(ctx context.Context, in *FileBytes, opts ...grpc.CallOption) (*CertificateData, error)
	// [DEPRECATED] Returns a paginated list of Apple pass certificates for the current user. Required Fields: pagination fields.
	ListAppleCertificatesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CertificateData], error)
	// Returns a filtered list of Apple pass certificates for the current user. Required Fields: Filters.
	ListAppleCertificates(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[CertificateData], error)
	// [DEPRECATED] Returns the count of Apple certificates for the current user based on pagination criteria. Required fields: pagination fields.
	CountAppleCertificatesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Returns the count of Apple certificates for the current user using filter criteria. Required Fields: Filters (can be empty, but must be present)
	CountAppleCertificates(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// Sends NFC signing credentials for an NFC-enabled Apple certificate to the user's registered email address. Required Fields: certificateId, user email must be associated with the cert.
	SendNFCSigningCredentials(ctx context.Context, in *NFCSigningCredentialsRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
}

CertificatesClient is the client API for Certificates 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.

Manage your Apple Wallet Pass Type Identifiers & Certificates

type CertificatesList added in v1.1.118

type CertificatesList struct {
	Certificates []string `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

func (*CertificatesList) Descriptor deprecated added in v1.1.118

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

Deprecated: Use CertificatesList.ProtoReflect.Descriptor instead.

func (*CertificatesList) GetCertificates added in v1.1.118

func (x *CertificatesList) GetCertificates() []string

func (*CertificatesList) ProtoMessage added in v1.1.118

func (*CertificatesList) ProtoMessage()

func (*CertificatesList) ProtoReflect added in v1.1.118

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

func (*CertificatesList) Reset added in v1.1.118

func (x *CertificatesList) Reset()

func (*CertificatesList) String added in v1.1.118

func (x *CertificatesList) String() string

type CertificatesServer

type CertificatesServer interface {
	// Retrieves the Apple pass certificate data for the provided Pass Type Identifier. Required Fields: passTypeId.
	GetAppleCertificateData(context.Context, *PassTypeIdentifier) (*CertificateData, error)
	// Retrieves a Certificate Signing Request (CSR) for the logged-in user. This is used to generate a new certificate on the Apple Developer portal.
	GetCertificateSigningRequest(context.Context, *emptypb.Empty) (*CertificateSigningRequest, error)
	// Uploads a new Apple certificate for use with Wallet passes. Required Field: fileBytes.
	AddAppleCertificate(context.Context, *FileBytes) (*CertificateData, error)
	// Updates or renews an existing Apple certificate by uploading a new one. Required Fields: fileBytes.
	UpdateAppleCertificate(context.Context, *FileBytes) (*CertificateData, error)
	// [DEPRECATED] Returns a paginated list of Apple pass certificates for the current user. Required Fields: pagination fields.
	ListAppleCertificatesDeprecated(*Pagination, grpc.ServerStreamingServer[CertificateData]) error
	// Returns a filtered list of Apple pass certificates for the current user. Required Fields: Filters.
	ListAppleCertificates(*Filters, grpc.ServerStreamingServer[CertificateData]) error
	// [DEPRECATED] Returns the count of Apple certificates for the current user based on pagination criteria. Required fields: pagination fields.
	CountAppleCertificatesDeprecated(context.Context, *Pagination) (*Count, error)
	// Returns the count of Apple certificates for the current user using filter criteria. Required Fields: Filters (can be empty, but must be present)
	CountAppleCertificates(context.Context, *Filters) (*Count, error)
	// Sends NFC signing credentials for an NFC-enabled Apple certificate to the user's registered email address. Required Fields: certificateId, user email must be associated with the cert.
	SendNFCSigningCredentials(context.Context, *NFCSigningCredentialsRequest) (*emptypb.Empty, error)
}

CertificatesServer is the server API for Certificates service. All implementations should embed UnimplementedCertificatesServer for forward compatibility.

Manage your Apple Wallet Pass Type Identifiers & Certificates

type Certificates_ListAppleCertificatesClient

type Certificates_ListAppleCertificatesClient = grpc.ServerStreamingClient[CertificateData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Certificates_ListAppleCertificatesDeprecatedClient

type Certificates_ListAppleCertificatesDeprecatedClient = grpc.ServerStreamingClient[CertificateData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Certificates_ListAppleCertificatesDeprecatedServer

type Certificates_ListAppleCertificatesDeprecatedServer = grpc.ServerStreamingServer[CertificateData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Certificates_ListAppleCertificatesServer

type Certificates_ListAppleCertificatesServer = grpc.ServerStreamingServer[CertificateData]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Channel added in v1.1.118

type Channel int32

Channel indicates the origin of a request.

const (
	// Unknown source.
	Channel_UnknownChannel Channel = 0
	// Request originated from the web application.
	Channel_Web Channel = 1
	// Request originated via the public API.
	Channel_API Channel = 2
	// Request originated from a mobile or desktop app.
	Channel_App Channel = 3
)

func (Channel) Descriptor added in v1.1.118

func (Channel) Descriptor() protoreflect.EnumDescriptor

func (Channel) Enum added in v1.1.118

func (x Channel) Enum() *Channel

func (Channel) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use Channel.Descriptor instead.

func (Channel) Number added in v1.1.118

func (x Channel) Number() protoreflect.EnumNumber

func (Channel) String added in v1.1.118

func (x Channel) String() string

func (Channel) Type added in v1.1.118

func (Channel) Type() protoreflect.EnumType

type ChartDataPoints

type ChartDataPoints struct {

	// ie. January, Monday
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Daily, monthly or yearly total of pass created.
	Created uint32 `protobuf:"varint,2,opt,name=created,proto3" json:"created,omitempty"`
	// Daily, monthly or yearly total of pass installed.
	Installed uint32 `protobuf:"varint,3,opt,name=installed,proto3" json:"installed,omitempty"`
	// Daily, monthly or yearly total of pass updated.
	Updated uint32 `protobuf:"varint,4,opt,name=updated,proto3" json:"updated,omitempty"`
	// Daily, monthly or yearly total of pass deleted.
	Deleted uint32 `protobuf:"varint,5,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// Daily, monthly or yearly total of pass invalidated.
	Invalidated uint32 `protobuf:"varint,6,opt,name=invalidated,proto3" json:"invalidated,omitempty"`
	// Daily, monthly or yearly total of custom data (in case this field used by a protocol; it can put whatever is preferred in here).
	Custom uint32 `protobuf:"varint,7,opt,name=custom,proto3" json:"custom,omitempty"`
	// contains filtered or unexported fields
}

Data points for each unit of the selected period.

func (*ChartDataPoints) Descriptor deprecated

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

Deprecated: Use ChartDataPoints.ProtoReflect.Descriptor instead.

func (*ChartDataPoints) GetCreated

func (x *ChartDataPoints) GetCreated() uint32

func (*ChartDataPoints) GetCustom

func (x *ChartDataPoints) GetCustom() uint32

func (*ChartDataPoints) GetDeleted

func (x *ChartDataPoints) GetDeleted() uint32

func (*ChartDataPoints) GetInstalled

func (x *ChartDataPoints) GetInstalled() uint32

func (*ChartDataPoints) GetInvalidated

func (x *ChartDataPoints) GetInvalidated() uint32

func (*ChartDataPoints) GetName

func (x *ChartDataPoints) GetName() string

func (*ChartDataPoints) GetUpdated

func (x *ChartDataPoints) GetUpdated() uint32

func (*ChartDataPoints) ProtoMessage

func (*ChartDataPoints) ProtoMessage()

func (*ChartDataPoints) ProtoReflect

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

func (*ChartDataPoints) Reset

func (x *ChartDataPoints) Reset()

func (*ChartDataPoints) String

func (x *ChartDataPoints) String() string

type ClassObjectInput

type ClassObjectInput struct {

	// Protocol of the object (e.g. member, coupon, etc).
	// @tag: validateGeneric:"required"
	Protocol PassProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty" validateGeneric:"required"`
	// Object ID (e.g. tierId, offerId).
	// @tag: validateGeneric:"required"
	ObjectId string `protobuf:"bytes,2,opt,name=objectId,proto3" json:"objectId,omitempty" validateGeneric:"required"`
	// Optional class ID for context (e.g. for Member protocol).
	// @tag: validateGeneric:"omitempty"
	ClassId string `protobuf:"bytes,3,opt,name=classId,proto3" json:"classId,omitempty" validateGeneric:"omitempty"`
	// contains filtered or unexported fields
}

Input format for linking objects to classes.

func (*ClassObjectInput) Descriptor deprecated

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

Deprecated: Use ClassObjectInput.ProtoReflect.Descriptor instead.

func (*ClassObjectInput) GetClassId

func (x *ClassObjectInput) GetClassId() string

func (*ClassObjectInput) GetObjectId

func (x *ClassObjectInput) GetObjectId() string

func (*ClassObjectInput) GetProtocol

func (x *ClassObjectInput) GetProtocol() PassProtocol

func (*ClassObjectInput) ProtoMessage

func (*ClassObjectInput) ProtoMessage()

func (*ClassObjectInput) ProtoReflect

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

func (*ClassObjectInput) Reset

func (x *ClassObjectInput) Reset()

func (*ClassObjectInput) String

func (x *ClassObjectInput) String() string

type Colors

type Colors struct {

	// The background color of the card in hex (e.g. “#ffffff” or "ffffff").
	BackgroundColor string `protobuf:"bytes,1,opt,name=backgroundColor,proto3" json:"backgroundColor,omitempty"`
	// This customises the color of field label of Apple Wallet pass.
	LabelColor string `protobuf:"bytes,2,opt,name=labelColor,proto3" json:"labelColor,omitempty"`
	// This customises the color of field text or value of Apple Wallet pass.
	TextColor string `protobuf:"bytes,3,opt,name=textColor,proto3" json:"textColor,omitempty"`
	// Optional undocumented color for text placed over the strip image in Apple Wallet.
	StripColor string `protobuf:"bytes,4,opt,name=stripColor,proto3" json:"stripColor,omitempty"`
	// Used for Event Poster Tickets (applies to Logo Text, Day, Seating/Entry Values, Venue Name)
	ForegroundColor string `protobuf:"bytes,5,opt,name=foregroundColor,proto3" json:"foregroundColor,omitempty"`
	// Used for Event Poster Tickets
	FooterBackgroundColor string `protobuf:"bytes,6,opt,name=footerBackgroundColor,proto3" json:"footerBackgroundColor,omitempty"`
	// contains filtered or unexported fields
}

Colours take a hexcode input. A '#' prefix is optional.

func (*Colors) Descriptor deprecated

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

Deprecated: Use Colors.ProtoReflect.Descriptor instead.

func (*Colors) GetBackgroundColor

func (x *Colors) GetBackgroundColor() string

func (*Colors) GetFooterBackgroundColor added in v1.1.118

func (x *Colors) GetFooterBackgroundColor() string

func (*Colors) GetForegroundColor added in v1.1.118

func (x *Colors) GetForegroundColor() string

func (*Colors) GetLabelColor

func (x *Colors) GetLabelColor() string

func (*Colors) GetStripColor

func (x *Colors) GetStripColor() string

func (*Colors) GetTextColor

func (x *Colors) GetTextColor() string

func (*Colors) ProtoMessage

func (*Colors) ProtoMessage()

func (*Colors) ProtoReflect

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

func (*Colors) Reset

func (x *Colors) Reset()

func (*Colors) String

func (x *Colors) String() string

type CompanyName

type CompanyName struct {

	// @tag: validateGeneric:"required" validateUpdate:"required"
	CompanyName string `` /* 128-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CompanyName) Descriptor deprecated

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

Deprecated: Use CompanyName.ProtoReflect.Descriptor instead.

func (*CompanyName) GetCompanyName

func (x *CompanyName) GetCompanyName() string

func (*CompanyName) ProtoMessage

func (*CompanyName) ProtoMessage()

func (*CompanyName) ProtoReflect

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

func (*CompanyName) Reset

func (x *CompanyName) Reset()

func (*CompanyName) String

func (x *CompanyName) String() string

type ConfigurationType

type ConfigurationType int32

Configuration of the third party app which can be integrated with PassKit.

const (
	ConfigurationType_CONFIGURATION_NONE ConfigurationType = 0
	ConfigurationType_WEBHOOK            ConfigurationType = 1
	ConfigurationType_DB_MYSQL           ConfigurationType = 2
	ConfigurationType_ZOHO               ConfigurationType = 3
	ConfigurationType_BRAZE              ConfigurationType = 4
	ConfigurationType_CODEREADR          ConfigurationType = 5
	ConfigurationType_ZAPIER             ConfigurationType = 6
	ConfigurationType_MAILCHIMP          ConfigurationType = 7
	ConfigurationType_SPROUT             ConfigurationType = 8
	ConfigurationType_TESSITURA          ConfigurationType = 9
	ConfigurationType_ITERABLE           ConfigurationType = 10
	ConfigurationType_MOENGAGE           ConfigurationType = 11
	ConfigurationType_ORACLE_RESPONSYS   ConfigurationType = 12
	ConfigurationType__CONFIG_TYPE_1     ConfigurationType = 100
)

func (ConfigurationType) Descriptor

func (ConfigurationType) Enum

func (ConfigurationType) EnumDescriptor deprecated

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

Deprecated: Use ConfigurationType.Descriptor instead.

func (ConfigurationType) Number

func (ConfigurationType) String

func (x ConfigurationType) String() string

func (ConfigurationType) Type

type ConfirmEmailChangeInput

type ConfirmEmailChangeInput struct {

	// @tag: validateGeneric:"required"
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" validateGeneric:"required"`
	// @tag: validateGeneric:"required"
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" validateGeneric:"required"`
	// @tag: validateGeneric:"required"
	Token string `protobuf:"bytes,3,opt,name=token,proto3" json:"token,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

func (*ConfirmEmailChangeInput) Descriptor deprecated

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

Deprecated: Use ConfirmEmailChangeInput.ProtoReflect.Descriptor instead.

func (*ConfirmEmailChangeInput) GetPassword

func (x *ConfirmEmailChangeInput) GetPassword() string

func (*ConfirmEmailChangeInput) GetToken

func (x *ConfirmEmailChangeInput) GetToken() string

func (*ConfirmEmailChangeInput) GetUsername

func (x *ConfirmEmailChangeInput) GetUsername() string

func (*ConfirmEmailChangeInput) ProtoMessage

func (*ConfirmEmailChangeInput) ProtoMessage()

func (*ConfirmEmailChangeInput) ProtoReflect

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

func (*ConfirmEmailChangeInput) Reset

func (x *ConfirmEmailChangeInput) Reset()

func (*ConfirmEmailChangeInput) String

func (x *ConfirmEmailChangeInput) String() string

type CopyObjectInput

type CopyObjectInput struct {

	// The ID of the object to copy.
	// @tag: validateGeneric:"required,uuidCompressedString" validateCreate:"required,uuidCompressedString"
	Id string `` /* 152-byte string literal not displayed */
	// Optional new name to assign to the copied object.
	NewName string `protobuf:"bytes,2,opt,name=newName,proto3" json:"newName,omitempty"`
	// contains filtered or unexported fields
}

Request message for copying an existing object (e.g., template or project).

func (*CopyObjectInput) Descriptor deprecated

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

Deprecated: Use CopyObjectInput.ProtoReflect.Descriptor instead.

func (*CopyObjectInput) GetId

func (x *CopyObjectInput) GetId() string

func (*CopyObjectInput) GetNewName

func (x *CopyObjectInput) GetNewName() string

func (*CopyObjectInput) ProtoMessage

func (*CopyObjectInput) ProtoMessage()

func (*CopyObjectInput) ProtoReflect

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

func (*CopyObjectInput) Reset

func (x *CopyObjectInput) Reset()

func (*CopyObjectInput) String

func (x *CopyObjectInput) String() string

type Count

type Count struct {

	// Set as int32 so JSON renders as an integer.
	Total int32 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"`
	// contains filtered or unexported fields
}

Represents a numeric count of items or results.

func (*Count) Descriptor deprecated

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

Deprecated: Use Count.ProtoReflect.Descriptor instead.

func (*Count) GetTotal

func (x *Count) GetTotal() int32

func (*Count) ProtoMessage

func (*Count) ProtoMessage()

func (*Count) ProtoReflect

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

func (*Count) Reset

func (x *Count) Reset()

func (*Count) String

func (x *Count) String() string

type CouponAnalyticsFilter

type CouponAnalyticsFilter struct {

	// The offer ID to filter analytics by.
	OfferId string `protobuf:"bytes,1,opt,name=offerId,proto3" json:"offerId,omitempty"`
	// contains filtered or unexported fields
}

Filter object for coupon analytics.

func (*CouponAnalyticsFilter) Descriptor deprecated

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

Deprecated: Use CouponAnalyticsFilter.ProtoReflect.Descriptor instead.

func (*CouponAnalyticsFilter) GetOfferId

func (x *CouponAnalyticsFilter) GetOfferId() string

func (*CouponAnalyticsFilter) ProtoMessage

func (*CouponAnalyticsFilter) ProtoMessage()

func (*CouponAnalyticsFilter) ProtoReflect

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

func (*CouponAnalyticsFilter) Reset

func (x *CouponAnalyticsFilter) Reset()

func (*CouponAnalyticsFilter) String

func (x *CouponAnalyticsFilter) String() string

type CouponEventId

type CouponEventId int32

Protocol specific events for the Single Use Coupon protocol.

const (
	CouponEventId_COUPON_EVENT_NONE CouponEventId = 0
	// Triggered when coupon is issued.
	CouponEventId_COUPON_EVENT_CREATED CouponEventId = 1
	// Triggered when coupon is redeemed.
	CouponEventId_COUPON_EVENT_REDEEMED CouponEventId = 2
	// Triggered when any of coupon field is updated.
	CouponEventId_COUPON_EVENT_UPDATED CouponEventId = 4
	// Triggered when coupon record is deleted.
	CouponEventId_COUPON_EVENT_DELETED CouponEventId = 8
)

func (CouponEventId) Descriptor

func (CouponEventId) Enum

func (x CouponEventId) Enum() *CouponEventId

func (CouponEventId) EnumDescriptor deprecated

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

Deprecated: Use CouponEventId.Descriptor instead.

func (CouponEventId) Number

func (CouponEventId) String

func (x CouponEventId) String() string

func (CouponEventId) Type

type CouponEventIds

type CouponEventIds struct {
	Ids []CouponEventId `protobuf:"varint,1,rep,packed,name=ids,proto3,enum=io.CouponEventId" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

Array of subscribing coupon protocol events.

func (*CouponEventIds) Descriptor deprecated

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

Deprecated: Use CouponEventIds.ProtoReflect.Descriptor instead.

func (*CouponEventIds) GetIds

func (x *CouponEventIds) GetIds() []CouponEventId

func (*CouponEventIds) ProtoMessage

func (*CouponEventIds) ProtoMessage()

func (*CouponEventIds) ProtoReflect

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

func (*CouponEventIds) Reset

func (x *CouponEventIds) Reset()

func (*CouponEventIds) String

func (x *CouponEventIds) String() string

type CreateImageInput

type CreateImageInput struct {

	// If multiple images types are uploaded, then the image type will be appended to the name.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Image data can be either a base64 image or a url.
	ImageData *ImageData `protobuf:"bytes,2,opt,name=imageData,proto3" json:"imageData,omitempty"`
	// contains filtered or unexported fields
}

Input required to create a new image entry. Required fields: name, imageData.

func (*CreateImageInput) Descriptor deprecated

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

Deprecated: Use CreateImageInput.ProtoReflect.Descriptor instead.

func (*CreateImageInput) GetImageData

func (x *CreateImageInput) GetImageData() *ImageData

func (*CreateImageInput) GetName

func (x *CreateImageInput) GetName() string

func (*CreateImageInput) ProtoMessage

func (*CreateImageInput) ProtoMessage()

func (*CreateImageInput) ProtoReflect

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

func (*CreateImageInput) Reset

func (x *CreateImageInput) Reset()

func (*CreateImageInput) String

func (x *CreateImageInput) String() string

type Credentials

type Credentials struct {
	Username   string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password   string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	TwoFAToken string `protobuf:"bytes,3,opt,name=twoFAToken,proto3" json:"twoFAToken,omitempty"`
	TwoFACode  string `protobuf:"bytes,4,opt,name=twoFACode,proto3" json:"twoFACode,omitempty"`
	// contains filtered or unexported fields
}

func (*Credentials) Descriptor deprecated

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

Deprecated: Use Credentials.ProtoReflect.Descriptor instead.

func (*Credentials) GetPassword

func (x *Credentials) GetPassword() string

func (*Credentials) GetTwoFACode added in v1.1.97

func (x *Credentials) GetTwoFACode() string

func (*Credentials) GetTwoFAToken added in v1.1.97

func (x *Credentials) GetTwoFAToken() string

func (*Credentials) GetUsername

func (x *Credentials) GetUsername() string

func (*Credentials) ProtoMessage

func (*Credentials) ProtoMessage()

func (*Credentials) ProtoReflect

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

func (*Credentials) Reset

func (x *Credentials) Reset()

func (*Credentials) String

func (x *Credentials) String() string

type CustomEvent

type CustomEvent struct {

	// Custom event name
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	Event string `` /* 143-byte string literal not displayed */
	// Optional event properties
	// @tag: validateGeneric:"omitempty,json" validateCreate:"omitempty,json" validateUpdate:"omitempty,json"
	Properties string `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a custom Facebook Pixel event.

func (*CustomEvent) Descriptor deprecated

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

Deprecated: Use CustomEvent.ProtoReflect.Descriptor instead.

func (*CustomEvent) GetEvent

func (x *CustomEvent) GetEvent() string

func (*CustomEvent) GetProperties

func (x *CustomEvent) GetProperties() string

func (*CustomEvent) ProtoMessage

func (*CustomEvent) ProtoMessage()

func (*CustomEvent) ProtoReflect

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

func (*CustomEvent) Reset

func (x *CustomEvent) Reset()

func (*CustomEvent) String

func (x *CustomEvent) String() string

type Data

type Data struct {

	// This allows you to configure individual data field that is rendered on the customer UI (data collection page and the pass).
	// You can set data field purely for CRM analytics purpose and not show it on the customer UI.
	DataFields []*DataField `protobuf:"bytes,1,rep,name=dataFields,proto3" json:"dataFields,omitempty"`
	// Settings for data collection elements other than form fields. Form fields can be configured in dataFields object.
	DataCollectionPageSettings *DataCollectionPageSettings `protobuf:"bytes,2,opt,name=dataCollectionPageSettings,proto3" json:"dataCollectionPageSettings,omitempty"`
	// contains filtered or unexported fields
}

This allows you to configure data so that you can save it against each customer record or render it on the pass.

func (*Data) Descriptor deprecated

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

Deprecated: Use Data.ProtoReflect.Descriptor instead.

func (*Data) GetDataCollectionPageSettings

func (x *Data) GetDataCollectionPageSettings() *DataCollectionPageSettings

func (*Data) GetDataFields

func (x *Data) GetDataFields() []*DataField

func (*Data) ProtoMessage

func (*Data) ProtoMessage()

func (*Data) ProtoReflect

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

func (*Data) Reset

func (x *Data) Reset()

func (*Data) String

func (x *Data) String() string

type DataCollectionField

type DataCollectionField struct {

	// If PII key is set as an unique name of the field, collected data will be stored under PII (ex. surname, forename).
	// Else, uniqueName (key) and value are stored under meta object.
	UniqueName string    `protobuf:"bytes,1,opt,name=uniqueName,proto3" json:"uniqueName,omitempty"`
	FieldType  FieldType `protobuf:"varint,2,opt,name=fieldType,proto3,enum=io.FieldType" json:"fieldType,omitempty"`
	// If set true, the field is mandatory. If set false, the field is optional.
	IsRequired bool `protobuf:"varint,3,opt,name=isRequired,proto3" json:"isRequired,omitempty"`
	// A text used for the data collection field label and pass field title.
	Label string `protobuf:"bytes,4,opt,name=label,proto3" json:"label,omitempty"`
	// This translates label text into different language.
	LocalizedLabel *LocalizedString `protobuf:"bytes,5,opt,name=localizedLabel,proto3" json:"localizedLabel,omitempty"`
	// Data type you want to receive from your users.
	DataType DataType `protobuf:"varint,6,opt,name=dataType,proto3,enum=io.DataType" json:"dataType,omitempty"`
	// An optional default value or text. E.g. a default set of terms an conditions. Value can contain a protocol field in the format of ${member.externalId}.
	DefaultValue string `protobuf:"bytes,7,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"`
	// This translates default value of the field into different languages.
	LocalizedDefaultValue *LocalizedString `protobuf:"bytes,8,opt,name=localizedDefaultValue,proto3" json:"localizedDefaultValue,omitempty"`
	// A regex which allows you to set set custom validation rules for the data stored.
	Validation string `protobuf:"bytes,9,opt,name=validation,proto3" json:"validation,omitempty"`
	// If false, a defaultValue or listOptions[0] will be used.
	UserCanSetValue bool `protobuf:"varint,10,opt,name=userCanSetValue,proto3" json:"userCanSetValue,omitempty"`
	// The currency code (e.g. USD, EUR) to display with money value if data type is set as currency.
	CurrencyCode string `protobuf:"bytes,11,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"`
	// Default international telephone code determines the default country flag of the tel input field (e.g. +852, +44).
	DefaultTelCountryCode string `protobuf:"bytes,12,opt,name=defaultTelCountryCode,proto3" json:"defaultTelCountryCode,omitempty"`
	// contains filtered or unexported fields
}

Represents a single field in a data collection form.

func (*DataCollectionField) Descriptor deprecated

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

Deprecated: Use DataCollectionField.ProtoReflect.Descriptor instead.

func (*DataCollectionField) GetCurrencyCode

func (x *DataCollectionField) GetCurrencyCode() string

func (*DataCollectionField) GetDataType

func (x *DataCollectionField) GetDataType() DataType

func (*DataCollectionField) GetDefaultTelCountryCode

func (x *DataCollectionField) GetDefaultTelCountryCode() string

func (*DataCollectionField) GetDefaultValue

func (x *DataCollectionField) GetDefaultValue() string

func (*DataCollectionField) GetFieldType

func (x *DataCollectionField) GetFieldType() FieldType

func (*DataCollectionField) GetIsRequired

func (x *DataCollectionField) GetIsRequired() bool

func (*DataCollectionField) GetLabel

func (x *DataCollectionField) GetLabel() string

func (*DataCollectionField) GetLocalizedDefaultValue

func (x *DataCollectionField) GetLocalizedDefaultValue() *LocalizedString

func (*DataCollectionField) GetLocalizedLabel

func (x *DataCollectionField) GetLocalizedLabel() *LocalizedString

func (*DataCollectionField) GetUniqueName

func (x *DataCollectionField) GetUniqueName() string

func (*DataCollectionField) GetUserCanSetValue

func (x *DataCollectionField) GetUserCanSetValue() bool

func (*DataCollectionField) GetValidation

func (x *DataCollectionField) GetValidation() string

func (*DataCollectionField) ProtoMessage

func (*DataCollectionField) ProtoMessage()

func (*DataCollectionField) ProtoReflect

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

func (*DataCollectionField) Reset

func (x *DataCollectionField) Reset()

func (*DataCollectionField) String

func (x *DataCollectionField) String() string

type DataCollectionFieldRenderOptions

type DataCollectionFieldRenderOptions struct {

	// Tooltip or helper text displayed under the input field which explains the purpose of field's input.
	HelpText string `protobuf:"bytes,1,opt,name=helpText,proto3" json:"helpText,omitempty"`
	// Tooltip or helper text in localized language.
	LocalizedHelpText *LocalizedString `protobuf:"bytes,2,opt,name=localizedHelpText,proto3" json:"localizedHelpText,omitempty"`
	// Used to change the order of fields displayed on the data collection landing page.
	DisplayOrder int32 `protobuf:"varint,3,opt,name=displayOrder,proto3" json:"displayOrder,omitempty"`
	// If placeholder is set or elementText is not set, then an input element will be rendered. The default is placeholder is an empty string.
	Placeholder string `protobuf:"bytes,5,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
	// If DataType.OPTIONS is set, then drop-down list will be rendered.
	SelectOptions []*SelectOption `protobuf:"bytes,6,rep,name=selectOptions,proto3" json:"selectOptions,omitempty"`
	// Placeholder in localized language.
	LocalizedPlaceholder *LocalizedString `protobuf:"bytes,7,opt,name=localizedPlaceholder,proto3" json:"localizedPlaceholder,omitempty"`
	// If set true, input field will have autocomplete enabled. The default is false.
	Autocomplete bool `protobuf:"varint,8,opt,name=autocomplete,proto3" json:"autocomplete,omitempty"`
	// Customize address input fields.
	AddressRenderOptions *AddressRenderOptions `protobuf:"bytes,9,opt,name=addressRenderOptions,proto3" json:"addressRenderOptions,omitempty"`
	// Localized text rendered on year select placeholder of DATE_YYYYMM.
	LocalizedYearPlaceholder string `protobuf:"bytes,10,opt,name=localizedYearPlaceholder,proto3" json:"localizedYearPlaceholder,omitempty"`
	// Localized text rendered on month select placeholder of DATE_YYYYMM and DATE_MMDD.
	LocalizedMonthPlaceholder string `protobuf:"bytes,11,opt,name=localizedMonthPlaceholder,proto3" json:"localizedMonthPlaceholder,omitempty"`
	// Localized text rendered on day select placeholder of DATE_MMDD.
	LocalizedDayPlaceholder string `protobuf:"bytes,12,opt,name=localizedDayPlaceholder,proto3" json:"localizedDayPlaceholder,omitempty"`
	// contains filtered or unexported fields
}

Customise how data field is rendered on the data collection landing page.

func (*DataCollectionFieldRenderOptions) Descriptor deprecated

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

Deprecated: Use DataCollectionFieldRenderOptions.ProtoReflect.Descriptor instead.

func (*DataCollectionFieldRenderOptions) GetAddressRenderOptions

func (x *DataCollectionFieldRenderOptions) GetAddressRenderOptions() *AddressRenderOptions

func (*DataCollectionFieldRenderOptions) GetAutocomplete

func (x *DataCollectionFieldRenderOptions) GetAutocomplete() bool

func (*DataCollectionFieldRenderOptions) GetDisplayOrder

func (x *DataCollectionFieldRenderOptions) GetDisplayOrder() int32

func (*DataCollectionFieldRenderOptions) GetHelpText

func (x *DataCollectionFieldRenderOptions) GetHelpText() string

func (*DataCollectionFieldRenderOptions) GetLocalizedDayPlaceholder

func (x *DataCollectionFieldRenderOptions) GetLocalizedDayPlaceholder() string

func (*DataCollectionFieldRenderOptions) GetLocalizedHelpText

func (x *DataCollectionFieldRenderOptions) GetLocalizedHelpText() *LocalizedString

func (*DataCollectionFieldRenderOptions) GetLocalizedMonthPlaceholder

func (x *DataCollectionFieldRenderOptions) GetLocalizedMonthPlaceholder() string

func (*DataCollectionFieldRenderOptions) GetLocalizedPlaceholder

func (x *DataCollectionFieldRenderOptions) GetLocalizedPlaceholder() *LocalizedString

func (*DataCollectionFieldRenderOptions) GetLocalizedYearPlaceholder

func (x *DataCollectionFieldRenderOptions) GetLocalizedYearPlaceholder() string

func (*DataCollectionFieldRenderOptions) GetPlaceholder

func (x *DataCollectionFieldRenderOptions) GetPlaceholder() string

func (*DataCollectionFieldRenderOptions) GetSelectOptions

func (x *DataCollectionFieldRenderOptions) GetSelectOptions() []*SelectOption

func (*DataCollectionFieldRenderOptions) ProtoMessage

func (*DataCollectionFieldRenderOptions) ProtoMessage()

func (*DataCollectionFieldRenderOptions) ProtoReflect

func (*DataCollectionFieldRenderOptions) Reset

func (*DataCollectionFieldRenderOptions) String

type DataCollectionFields

type DataCollectionFields struct {
	Fields []*DataCollectionField `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

Holds one or more fields to collect user input (e.g. name, email, etc.).

func (*DataCollectionFields) Descriptor deprecated

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

Deprecated: Use DataCollectionFields.ProtoReflect.Descriptor instead.

func (*DataCollectionFields) GetFields

func (x *DataCollectionFields) GetFields() []*DataCollectionField

func (*DataCollectionFields) ProtoMessage

func (*DataCollectionFields) ProtoMessage()

func (*DataCollectionFields) ProtoReflect

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

func (*DataCollectionFields) Reset

func (x *DataCollectionFields) Reset()

func (*DataCollectionFields) String

func (x *DataCollectionFields) String() string

type DataCollectionPageSettings

type DataCollectionPageSettings struct {

	// Used as title.
	Title string `protobuf:"bytes,1,opt,name=title,proto3" json:"title,omitempty"`
	// Localized title of the page.
	LocalizedTitle *LocalizedString `protobuf:"bytes,2,opt,name=localizedTitle,proto3" json:"localizedTitle,omitempty"`
	// Description of the page.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Localized description of the page.
	LocalizedDescription *LocalizedString `protobuf:"bytes,4,opt,name=localizedDescription,proto3" json:"localizedDescription,omitempty"`
	// This sets text for form submit button on the data collection landing page. Default text is 'Submit'.
	SubmitButtonText          string           `protobuf:"bytes,5,opt,name=submitButtonText,proto3" json:"submitButtonText,omitempty"`
	LocalizedSubmitButtonText *LocalizedString `protobuf:"bytes,6,opt,name=localizedSubmitButtonText,proto3" json:"localizedSubmitButtonText,omitempty"`
	// The text showed to customers when the page is processing new enrolments.
	LoadingText string `protobuf:"bytes,7,opt,name=loadingText,proto3" json:"loadingText,omitempty"`
	// Localized loading text.
	LocalizedLoadingText *LocalizedString `protobuf:"bytes,8,opt,name=localizedLoadingText,proto3" json:"localizedLoadingText,omitempty"`
	// Thank you text to display on the standard issue page. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	ThankYouText string `protobuf:"bytes,9,opt,name=thankYouText,proto3" json:"thankYouText,omitempty"`
	// Localized thank you text. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	LocalizedThankYouText *LocalizedString `protobuf:"bytes,10,opt,name=localizedThankYouText,proto3" json:"localizedThankYouText,omitempty"`
	// For device size greater than the iPad, the form will be rendered with page background color. Form background color is always set as white.
	PageBackgroundColor string `protobuf:"bytes,11,opt,name=pageBackgroundColor,proto3" json:"pageBackgroundColor,omitempty"`
	// Localized page background color shown if device is greater than the iPad.
	LocalizedPageBackgroundColor *LocalizedString `protobuf:"bytes,12,opt,name=localizedPageBackgroundColor,proto3" json:"localizedPageBackgroundColor,omitempty"`
	// Tracking settings for Facebook Pixel & Google Analytics
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	TrackingSettings *TrackingSettings `` /* 168-byte string literal not displayed */
	// The color for submit button text. Default is #ffffff.
	SubmitButtonTextColor string `protobuf:"bytes,14,opt,name=submitButtonTextColor,proto3" json:"submitButtonTextColor,omitempty"`
	// The background color of submit button. Default is #4CAF50 (green).
	SubmitButtonBackgroundColor string `protobuf:"bytes,15,opt,name=submitButtonBackgroundColor,proto3" json:"submitButtonBackgroundColor,omitempty"`
	// Renders above the submit button. Can be used to show T&C link.
	FooterText string `protobuf:"bytes,16,opt,name=footerText,proto3" json:"footerText,omitempty"`
	// Localized footer text.
	LocalizedFooterText *LocalizedString `protobuf:"bytes,17,opt,name=localizedFooterText,proto3" json:"localizedFooterText,omitempty"`
	// Custom css to overwrite on the data collection page.
	CssOverrides string `protobuf:"bytes,18,opt,name=cssOverrides,proto3" json:"cssOverrides,omitempty"`
	// Configuration for password protecting the data collection page
	PasswordSettings *PasswordSettings `protobuf:"bytes,19,opt,name=passwordSettings,proto3" json:"passwordSettings,omitempty"`
	// contains filtered or unexported fields
}

This allows you to customize the contents rendered on data collection landing page.

func (*DataCollectionPageSettings) Descriptor deprecated

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

Deprecated: Use DataCollectionPageSettings.ProtoReflect.Descriptor instead.

func (*DataCollectionPageSettings) GetCssOverrides

func (x *DataCollectionPageSettings) GetCssOverrides() string

func (*DataCollectionPageSettings) GetDescription

func (x *DataCollectionPageSettings) GetDescription() string

func (*DataCollectionPageSettings) GetFooterText

func (x *DataCollectionPageSettings) GetFooterText() string

func (*DataCollectionPageSettings) GetLoadingText

func (x *DataCollectionPageSettings) GetLoadingText() string

func (*DataCollectionPageSettings) GetLocalizedDescription

func (x *DataCollectionPageSettings) GetLocalizedDescription() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedFooterText

func (x *DataCollectionPageSettings) GetLocalizedFooterText() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedLoadingText

func (x *DataCollectionPageSettings) GetLocalizedLoadingText() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedPageBackgroundColor

func (x *DataCollectionPageSettings) GetLocalizedPageBackgroundColor() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedSubmitButtonText

func (x *DataCollectionPageSettings) GetLocalizedSubmitButtonText() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedThankYouText

func (x *DataCollectionPageSettings) GetLocalizedThankYouText() *LocalizedString

func (*DataCollectionPageSettings) GetLocalizedTitle

func (x *DataCollectionPageSettings) GetLocalizedTitle() *LocalizedString

func (*DataCollectionPageSettings) GetPageBackgroundColor

func (x *DataCollectionPageSettings) GetPageBackgroundColor() string

func (*DataCollectionPageSettings) GetPasswordSettings

func (x *DataCollectionPageSettings) GetPasswordSettings() *PasswordSettings

func (*DataCollectionPageSettings) GetSubmitButtonBackgroundColor

func (x *DataCollectionPageSettings) GetSubmitButtonBackgroundColor() string

func (*DataCollectionPageSettings) GetSubmitButtonText

func (x *DataCollectionPageSettings) GetSubmitButtonText() string

func (*DataCollectionPageSettings) GetSubmitButtonTextColor

func (x *DataCollectionPageSettings) GetSubmitButtonTextColor() string

func (*DataCollectionPageSettings) GetThankYouText

func (x *DataCollectionPageSettings) GetThankYouText() string

func (*DataCollectionPageSettings) GetTitle

func (x *DataCollectionPageSettings) GetTitle() string

func (*DataCollectionPageSettings) GetTrackingSettings

func (x *DataCollectionPageSettings) GetTrackingSettings() *TrackingSettings

func (*DataCollectionPageSettings) ProtoMessage

func (*DataCollectionPageSettings) ProtoMessage()

func (*DataCollectionPageSettings) ProtoReflect

func (*DataCollectionPageSettings) Reset

func (x *DataCollectionPageSettings) Reset()

func (*DataCollectionPageSettings) String

func (x *DataCollectionPageSettings) String() string

type DataField

type DataField struct {

	// If PII key is set as an unique name of the field, collected data will be stored under PII (ex. surname, forename).
	// Else, uniqueName (key) and value are stored under meta object.
	UniqueName string `protobuf:"bytes,1,opt,name=uniqueName,proto3" json:"uniqueName,omitempty"`
	// The template id which this field belongs to.
	TemplateId string    `protobuf:"bytes,2,opt,name=templateId,proto3" json:"templateId,omitempty"`
	FieldType  FieldType `protobuf:"varint,3,opt,name=fieldType,proto3,enum=io.FieldType" json:"fieldType,omitempty"`
	// If set true, the field is mandatory. If set false, the field is optional.
	IsRequired bool `protobuf:"varint,4,opt,name=isRequired,proto3" json:"isRequired,omitempty"`
	// A text used for the data collection field label and pass field title.
	Label string `protobuf:"bytes,5,opt,name=label,proto3" json:"label,omitempty"`
	// This translates label text into different language.
	LocalizedLabel *LocalizedString `protobuf:"bytes,6,opt,name=localizedLabel,proto3" json:"localizedLabel,omitempty"`
	// Data type you want to receive from your users.
	DataType DataType `protobuf:"varint,7,opt,name=dataType,proto3,enum=io.DataType" json:"dataType,omitempty"`
	// An optional default value or text. E.g. a default set of terms an conditions. Value can contain a protocol field in the format of ${member.externalId}.
	DefaultValue string `protobuf:"bytes,8,opt,name=defaultValue,proto3" json:"defaultValue,omitempty"`
	// This translates default value of the field into different languages.
	LocalizedDefaultValue *LocalizedString `protobuf:"bytes,9,opt,name=localizedDefaultValue,proto3" json:"localizedDefaultValue,omitempty"`
	// A regex which allows you to set set custom validation rules for the data stored.
	Validation string `protobuf:"bytes,10,opt,name=validation,proto3" json:"validation,omitempty"`
	// If false, a defaultValue or listOptions[0] will be used.
	UserCanSetValue bool `protobuf:"varint,11,opt,name=userCanSetValue,proto3" json:"userCanSetValue,omitempty"`
	// The currency code (e.g. USD, EUR) to display with money value if data type is set as currency.
	CurrencyCode                     string                            `protobuf:"bytes,12,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"`
	AppleWalletFieldRenderOptions    *AppleWalletFieldRenderOptions    `protobuf:"bytes,13,opt,name=appleWalletFieldRenderOptions,proto3" json:"appleWalletFieldRenderOptions,omitempty"`
	DataCollectionFieldRenderOptions *DataCollectionFieldRenderOptions `protobuf:"bytes,14,opt,name=dataCollectionFieldRenderOptions,proto3" json:"dataCollectionFieldRenderOptions,omitempty"`
	// Usage: indicates where the field is used (apple render, google render, data collection page)
	Usage                       []UsageType                  `protobuf:"varint,15,rep,packed,name=usage,proto3,enum=io.UsageType" json:"usage,omitempty"`
	GooglePayFieldRenderOptions *GooglePayFieldRenderOptions `protobuf:"bytes,16,opt,name=googlePayFieldRenderOptions,proto3" json:"googlePayFieldRenderOptions,omitempty"`
	// Default international telephone code determines the default country flag of the tel input field (e.g. +852, +44).
	DefaultTelCountryCode string `protobuf:"bytes,17,opt,name=defaultTelCountryCode,proto3" json:"defaultTelCountryCode,omitempty"`
	// contains filtered or unexported fields
}

Data Field allows you to define set of data you store against each pass holder. When data field is created, DataField for Terms & Conditions and optIn will be autogenerated.

func (*DataField) Descriptor deprecated

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

Deprecated: Use DataField.ProtoReflect.Descriptor instead.

func (*DataField) GetAppleWalletFieldRenderOptions

func (x *DataField) GetAppleWalletFieldRenderOptions() *AppleWalletFieldRenderOptions

func (*DataField) GetCurrencyCode

func (x *DataField) GetCurrencyCode() string

func (*DataField) GetDataCollectionFieldRenderOptions

func (x *DataField) GetDataCollectionFieldRenderOptions() *DataCollectionFieldRenderOptions

func (*DataField) GetDataType

func (x *DataField) GetDataType() DataType

func (*DataField) GetDefaultTelCountryCode

func (x *DataField) GetDefaultTelCountryCode() string

func (*DataField) GetDefaultValue

func (x *DataField) GetDefaultValue() string

func (*DataField) GetFieldType

func (x *DataField) GetFieldType() FieldType

func (*DataField) GetGooglePayFieldRenderOptions

func (x *DataField) GetGooglePayFieldRenderOptions() *GooglePayFieldRenderOptions

func (*DataField) GetIsRequired

func (x *DataField) GetIsRequired() bool

func (*DataField) GetLabel

func (x *DataField) GetLabel() string

func (*DataField) GetLocalizedDefaultValue

func (x *DataField) GetLocalizedDefaultValue() *LocalizedString

func (*DataField) GetLocalizedLabel

func (x *DataField) GetLocalizedLabel() *LocalizedString

func (*DataField) GetTemplateId

func (x *DataField) GetTemplateId() string

func (*DataField) GetUniqueName

func (x *DataField) GetUniqueName() string

func (*DataField) GetUsage

func (x *DataField) GetUsage() []UsageType

func (*DataField) GetUserCanSetValue

func (x *DataField) GetUserCanSetValue() bool

func (*DataField) GetValidation

func (x *DataField) GetValidation() string

func (*DataField) ProtoMessage

func (*DataField) ProtoMessage()

func (*DataField) ProtoReflect

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

func (*DataField) Reset

func (x *DataField) Reset()

func (*DataField) String

func (x *DataField) String() string

type DataItems

type DataItems struct {

	// Key/value map for additional metadata.
	Items map[string]string `` /* 137-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains additional metadata to be injected into a pass as key-value pairs.

func (*DataItems) Descriptor deprecated

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

Deprecated: Use DataItems.ProtoReflect.Descriptor instead.

func (*DataItems) GetItems

func (x *DataItems) GetItems() map[string]string

func (*DataItems) ProtoMessage

func (*DataItems) ProtoMessage()

func (*DataItems) ProtoReflect

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

func (*DataItems) Reset

func (x *DataItems) Reset()

func (*DataItems) String

func (x *DataItems) String() string

type DataStyle

type DataStyle int32

Data style controls how value will be rendered on the pass.

const (
	DataStyle_NO_STYLE DataStyle = 0
	// Date containing year, month and date. Numeric only (e.g. 11/23/37).
	DataStyle_DATE_SHORT DataStyle = 1
	// Date containing year, month and date. With abbreviated text (e.g. Nov 23, 1937).
	DataStyle_DATE_MEDIUM DataStyle = 2
	// Date containing year, month and date. With full text (e.g. November 23, 1937).
	DataStyle_DATE_LONG DataStyle = 3
	// Date containing year, month and date. With complete details (e.g. Tuesday, April 12, 1952 AD).
	DataStyle_DATE_FULL DataStyle = 4
	// Date containing year, month and date. Numeric only (e.g. 3:30 PM).
	DataStyle_TIME_SHORT DataStyle = 5
	// Date containing year, month and date. With abbreviated text (e.g. 3:30:32 PM).
	DataStyle_TIME_MEDIUM DataStyle = 6
	// Date containing year, month and date. With full text (e.g. 3:30:32 PM PST).
	DataStyle_TIME_LONG DataStyle = 7
	// Date containing year, month and date. With complete details (e.g. 3:30:42 PM Pacific Standard Time).
	DataStyle_TIME_FULL DataStyle = 8
	// Date containing year, month and date. Numeric only (e.g. 11/23/37 3:30 PM).
	DataStyle_DATE_TIME_SHORT DataStyle = 9
	// Date containing year, month and date. With abbreviated text (e.g. Nov 23, 1937 3:30:32 PM).
	DataStyle_DATE_TIME_MEDIUM DataStyle = 10
	// Date containing year, month and date. With full text (e.g. November 23, 1937 3:30:32 PM PST).
	DataStyle_DATE_TIME_LONG DataStyle = 11
	// Date containing year, month and date. With complete details (e.g. Tuesday, April 12, 1952 AD 3:30:42 PM Pacific Standard Time).
	DataStyle_DATE_TIME_FULL DataStyle = 12
	DataStyle_NUMBER_DECIMAL DataStyle = 13
)

func (DataStyle) Descriptor

func (DataStyle) Descriptor() protoreflect.EnumDescriptor

func (DataStyle) Enum

func (x DataStyle) Enum() *DataStyle

func (DataStyle) EnumDescriptor deprecated

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

Deprecated: Use DataStyle.Descriptor instead.

func (DataStyle) Number

func (x DataStyle) Number() protoreflect.EnumNumber

func (DataStyle) String

func (x DataStyle) String() string

func (DataStyle) Type

type DataType

type DataType int32

Indicates the type of data. IMPOTANT: If string is changed, please update data collection page data-collection-page.html.tmpl if statements.

const (
	DataType_DATA_TYPE_NONE DataType = 0
	DataType_TEXT           DataType = 1 // default
	// The only difference with TEXT is that TEXT_LONG renders textarea tag on the data collection landing page.
	DataType_TEXT_LONG DataType = 2
	// Date containing year, month and date. No style.
	DataType_DATE_YYYYMMDD DataType = 3
	// Date containing year and month. No style.
	DataType_DATE_YYYYMM DataType = 4
	// Date containing month and date. No style.
	DataType_DATE_MMDD DataType = 5
	DataType_TIME      DataType = 6
	DataType_DATE_TIME DataType = 7
	// A number (No decimal support).
	DataType_INT DataType = 8
	// A number with decimal support.
	DataType_NUMBER  DataType = 9
	DataType_EMAIL   DataType = 10
	DataType_URL     DataType = 11
	DataType_TEL     DataType = 12
	DataType_ADDRESS DataType = 13
	DataType_IMAGE   DataType = 15 // IMAGE = 15; // we can comment out IMAGE when backend implement the string logic for uploaded image file.
	// A value of money amount in float (e.g. 5, 10.00, 40.95, 60.9333333333) .
	DataType_CURRENCY DataType = 16
	DataType_BOOLEAN  DataType = 17
	// A list of key value pairs
	DataType_OPTIONS DataType = 18
	DataType_DATE_MM DataType = 19
)

func (DataType) Descriptor

func (DataType) Descriptor() protoreflect.EnumDescriptor

func (DataType) Enum

func (x DataType) Enum() *DataType

func (DataType) EnumDescriptor deprecated

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

Deprecated: Use DataType.Descriptor instead.

func (DataType) Number

func (x DataType) Number() protoreflect.EnumNumber

func (DataType) String

func (x DataType) String() string

func (DataType) Type

type Date

type Date struct {

	// Year component.
	// @tag: validateGeneric:"max=9999"
	Year int32 `protobuf:"varint,1,opt,name=year,proto3" json:"year,omitempty" validateGeneric:"max=9999"`
	// Month component (1–12).
	// @tag: validateGeneric:"min=1,max=12"
	Month int32 `protobuf:"varint,2,opt,name=month,proto3" json:"month,omitempty" validateGeneric:"min=1,max=12"`
	// Day component (1–31).
	// @tag: validateGeneric:"min=1,max=31"
	Day int32 `protobuf:"varint,3,opt,name=day,proto3" json:"day,omitempty" validateGeneric:"min=1,max=31"`
	// contains filtered or unexported fields
}

A date without timezone information.

func (*Date) Descriptor deprecated

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

Deprecated: Use Date.ProtoReflect.Descriptor instead.

func (*Date) GetDay

func (x *Date) GetDay() int32

func (*Date) GetMonth

func (x *Date) GetMonth() int32

func (*Date) GetYear

func (x *Date) GetYear() int32

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) ProtoReflect

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

func (*Date) Reset

func (x *Date) Reset()

func (*Date) String

func (x *Date) String() string

type DateTimeStyle

type DateTimeStyle int32

Enum for styling date and time values.

const (
	DateTimeStyle_DATE_TIME_STYLE_DO_NOT_USE DateTimeStyle = 0
	// Display date/time in short format (e.g., 1/1/22).
	DateTimeStyle_DATE_TIME_STYLE_SHORT DateTimeStyle = 1
	// Medium format (e.g., Jan 1, 2022).
	DateTimeStyle_DATE_TIME_STYLE_MEDIUM DateTimeStyle = 2
	// Long format (e.g., January 1, 2022).
	DateTimeStyle_DATE_TIME_STYLE_LONG DateTimeStyle = 3
	// Full format (e.g., Saturday, January 1, 2022).
	DateTimeStyle_DATE_TIME_STYLE_FULL DateTimeStyle = 4
)

func (DateTimeStyle) Descriptor

func (DateTimeStyle) Enum

func (x DateTimeStyle) Enum() *DateTimeStyle

func (DateTimeStyle) EnumDescriptor deprecated

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

Deprecated: Use DateTimeStyle.Descriptor instead.

func (DateTimeStyle) Number

func (DateTimeStyle) String

func (x DateTimeStyle) String() string

func (DateTimeStyle) Type

type DbLink struct {
	Links []*Link `protobuf:"bytes,1,rep,name=links,proto3" json:"links,omitempty"`
	// contains filtered or unexported fields
}

Represents a collection of links stored in a database context.

func (*DbLink) Descriptor deprecated

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

Deprecated: Use DbLink.ProtoReflect.Descriptor instead.

func (x *DbLink) GetLinks() []*Link

func (*DbLink) ProtoMessage

func (*DbLink) ProtoMessage()

func (*DbLink) ProtoReflect

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

func (*DbLink) Reset

func (x *DbLink) Reset()

func (*DbLink) String

func (x *DbLink) String() string

type DefaultCouponScanAction

type DefaultCouponScanAction int32

DefaultCouponScanAction enum determines what default actions a user can apply to scanned cards. Users are permitted ot have access to multiple options, but only one can be used at a time.

const (
	// Zero based enum, don't use 0.
	DefaultCouponScanAction_COUPON_DEFAULT_NONE DefaultCouponScanAction = 0
	// Set so any card scanned gets automatically redeemed.
	DefaultCouponScanAction_COUPON_DEFAULT_REDEEM DefaultCouponScanAction = 1
	// Set so any card scanned gets automatically validated.
	DefaultCouponScanAction_COUPON_DEFAULT_VALIDATE DefaultCouponScanAction = 2
)

func (DefaultCouponScanAction) Descriptor

func (DefaultCouponScanAction) Enum

func (DefaultCouponScanAction) EnumDescriptor deprecated

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

Deprecated: Use DefaultCouponScanAction.Descriptor instead.

func (DefaultCouponScanAction) Number

func (DefaultCouponScanAction) String

func (x DefaultCouponScanAction) String() string

func (DefaultCouponScanAction) Type

type DefaultMembershipScanAction

type DefaultMembershipScanAction int32

DefaultMembershipScanAction enum determines what default actions a user can apply to scanned cards. Users are permitted ot have access to multiple options, but only one can be used at a time.

const (
	// Zero based enum, don't use 0.
	DefaultMembershipScanAction_MEMBERSHIP_DEFAULT_NONE DefaultMembershipScanAction = 0
	// Set so any card scanned gets a certain amount of points added automatically.
	DefaultMembershipScanAction_MEMBERSHIP_DEFAULT_EARN_POINTS DefaultMembershipScanAction = 1
	// Set so any card scanned gets a certain amount of points subtracted automatically.
	DefaultMembershipScanAction_MEMBERSHIP_DEFAULT_BURN_POINTS DefaultMembershipScanAction = 2
	// Set so any card scanned gets automatically checked in or out.
	DefaultMembershipScanAction_MEMBERSHIP_DEFAULT_CHECK_IN_OUT DefaultMembershipScanAction = 4
	// Set so any card scanned gets automatically validated.
	DefaultMembershipScanAction_MEMBERSHIP_DEFAULT_VALIDATE DefaultMembershipScanAction = 8
)

func (DefaultMembershipScanAction) Descriptor

func (DefaultMembershipScanAction) Enum

func (DefaultMembershipScanAction) EnumDescriptor deprecated

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

Deprecated: Use DefaultMembershipScanAction.Descriptor instead.

func (DefaultMembershipScanAction) Number

func (DefaultMembershipScanAction) String

func (DefaultMembershipScanAction) Type

type DefaultTemplateRequest

type DefaultTemplateRequest struct {

	// The protocol for which the default template is requested (e.g., MEMBERSHIP, EVENT_TICKETING).
	// @tag: validateGeneric:"required"
	Protocol PassProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty" validateGeneric:"required"`
	// The revision number of the protocol's template.
	// @tag: validateGeneric:"required"
	Revision uint32 `protobuf:"varint,2,opt,name=revision,proto3" json:"revision,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Request to retrieve the default template for a given protocol and revision.

func (*DefaultTemplateRequest) Descriptor deprecated

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

Deprecated: Use DefaultTemplateRequest.ProtoReflect.Descriptor instead.

func (*DefaultTemplateRequest) GetProtocol

func (x *DefaultTemplateRequest) GetProtocol() PassProtocol

func (*DefaultTemplateRequest) GetRevision

func (x *DefaultTemplateRequest) GetRevision() uint32

func (*DefaultTemplateRequest) ProtoMessage

func (*DefaultTemplateRequest) ProtoMessage()

func (*DefaultTemplateRequest) ProtoReflect

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

func (*DefaultTemplateRequest) Reset

func (x *DefaultTemplateRequest) Reset()

func (*DefaultTemplateRequest) String

func (x *DefaultTemplateRequest) String() string

type DeleteAccountRequest

type DeleteAccountRequest struct {

	// Username of Email of a deleting account.
	// @tag: validateGeneric:"required"
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" validateGeneric:"required"`
	// Password of a deleting account.
	// @tag: validateGeneric:"required"
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" validateGeneric:"required"`
	// To confirm permanent deletion of your account. Delete action cannot be undone. Please use with caution.
	// @tag: validateGeneric:"required"
	ConfirmPermanentDelete bool `protobuf:"varint,3,opt,name=confirmPermanentDelete,proto3" json:"confirmPermanentDelete,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

func (*DeleteAccountRequest) Descriptor deprecated

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

Deprecated: Use DeleteAccountRequest.ProtoReflect.Descriptor instead.

func (*DeleteAccountRequest) GetConfirmPermanentDelete

func (x *DeleteAccountRequest) GetConfirmPermanentDelete() bool

func (*DeleteAccountRequest) GetPassword

func (x *DeleteAccountRequest) GetPassword() string

func (*DeleteAccountRequest) GetUsername

func (x *DeleteAccountRequest) GetUsername() string

func (*DeleteAccountRequest) ProtoMessage

func (*DeleteAccountRequest) ProtoMessage()

func (*DeleteAccountRequest) ProtoReflect

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

func (*DeleteAccountRequest) Reset

func (x *DeleteAccountRequest) Reset()

func (*DeleteAccountRequest) String

func (x *DeleteAccountRequest) String() string

type DeviceAttributes

type DeviceAttributes int32

DeviceAttributes is a bitmask enum describing capabilities or properties of a device.

const (
	// No attributes are set.
	DeviceAttributes_NoAttributes DeviceAttributes = 0
	// Device is running iOS.
	DeviceAttributes_Ios DeviceAttributes = 1
	// Device is running Android.
	DeviceAttributes_Android DeviceAttributes = 2
	// Device supports a wallet application.
	DeviceAttributes_SupportWallet DeviceAttributes = 4
	// Device has a wallet scanner installed.
	DeviceAttributes_WalletScanner DeviceAttributes = 8
	// Device runs a background wallet daemon.
	DeviceAttributes_WalletDaemon DeviceAttributes = 16
	// Device supports .pkpass files.
	DeviceAttributes_WalletPasses DeviceAttributes = 32
	// Device is running Windows.
	DeviceAttributes_Windows DeviceAttributes = 64
	// Device is running macOS.
	DeviceAttributes_OSX DeviceAttributes = 128
	// Device is running Linux.
	DeviceAttributes_Linux DeviceAttributes = 256
	// Device is a mobile form factor.
	DeviceAttributes_Mobile DeviceAttributes = 512
	// Device is a desktop form factor.
	DeviceAttributes_Desktop DeviceAttributes = 1024
	// Device is a tablet.
	DeviceAttributes_Tablet DeviceAttributes = 2048
	// Device is an unsupported version of iOS.
	DeviceAttributes_UnsupportedIos DeviceAttributes = 4096
)

func (DeviceAttributes) Descriptor

func (DeviceAttributes) Enum

func (DeviceAttributes) EnumDescriptor deprecated

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

Deprecated: Use DeviceAttributes.Descriptor instead.

func (DeviceAttributes) Number

func (DeviceAttributes) String

func (x DeviceAttributes) String() string

func (DeviceAttributes) Type

type DeviceBreakdown

type DeviceBreakdown struct {

	// Total number of passes installed in Apple Wallet.
	AppleWallet uint32 `protobuf:"varint,1,opt,name=appleWallet,proto3" json:"appleWallet,omitempty"`
	// Total number of passes installed in Google Pay.
	GooglePay uint32 `protobuf:"varint,2,opt,name=googlePay,proto3" json:"googlePay,omitempty"`
	// Total number of passes installed in Other Wallet.
	OtherWallet uint32 `protobuf:"varint,3,opt,name=otherWallet,proto3" json:"otherWallet,omitempty"`
	// contains filtered or unexported fields
}

Installation breakdown by device type.

func (*DeviceBreakdown) Descriptor deprecated

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

Deprecated: Use DeviceBreakdown.ProtoReflect.Descriptor instead.

func (*DeviceBreakdown) GetAppleWallet

func (x *DeviceBreakdown) GetAppleWallet() uint32

func (*DeviceBreakdown) GetGooglePay

func (x *DeviceBreakdown) GetGooglePay() uint32

func (*DeviceBreakdown) GetOtherWallet

func (x *DeviceBreakdown) GetOtherWallet() uint32

func (*DeviceBreakdown) ProtoMessage

func (*DeviceBreakdown) ProtoMessage()

func (*DeviceBreakdown) ProtoReflect

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

func (*DeviceBreakdown) Reset

func (x *DeviceBreakdown) Reset()

func (*DeviceBreakdown) String

func (x *DeviceBreakdown) String() string

type DiscountItem

type DiscountItem struct {

	// Discount code
	DiscountCode string `protobuf:"bytes,1,opt,name=discountCode,proto3" json:"discountCode,omitempty"`
	// Specific voucher code
	VoucherCode string `protobuf:"bytes,2,opt,name=voucherCode,proto3" json:"voucherCode,omitempty"`
	// The discount amount
	Amount float32 `protobuf:"fixed32,4,opt,name=amount,proto3" json:"amount,omitempty"`
	// The discount item name
	ItemName string `protobuf:"bytes,5,opt,name=itemName,proto3" json:"itemName,omitempty"`
	// contains filtered or unexported fields
}

Represents a discount applied to a transaction item.

func (*DiscountItem) Descriptor deprecated

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

Deprecated: Use DiscountItem.ProtoReflect.Descriptor instead.

func (*DiscountItem) GetAmount

func (x *DiscountItem) GetAmount() float32

func (*DiscountItem) GetDiscountCode

func (x *DiscountItem) GetDiscountCode() string

func (*DiscountItem) GetItemName

func (x *DiscountItem) GetItemName() string

func (*DiscountItem) GetVoucherCode

func (x *DiscountItem) GetVoucherCode() string

func (*DiscountItem) ProtoMessage

func (*DiscountItem) ProtoMessage()

func (*DiscountItem) ProtoReflect

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

func (*DiscountItem) Reset

func (x *DiscountItem) Reset()

func (*DiscountItem) String

func (x *DiscountItem) String() string

type DistributionChannel

type DistributionChannel int32

Specifies the available distribution channels for pass delivery.

const (
	DistributionChannel_NO_DISTRIBUTION DistributionChannel = 0
	// Unique pass link is distributed via email (will use default PK email template if no custom Email Template is provided)
	DistributionChannel_CHANNEL_EMAIL DistributionChannel = 1
	// Unique pass link is distributed via SMS (will use default PK SMS template if no custom SMS Template is provided)
	DistributionChannel_CHANNEL_SMS DistributionChannel = 2
)

func (DistributionChannel) Descriptor

func (DistributionChannel) Enum

func (DistributionChannel) EnumDescriptor deprecated

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

Deprecated: Use DistributionChannel.Descriptor instead.

func (DistributionChannel) Number

func (DistributionChannel) String

func (x DistributionChannel) String() string

func (DistributionChannel) Type

type DistributionClient

type DistributionClient interface {
	// Sends a welcome email to a single recipient using a valid pass protocol (e.g., membership, coupon, ticket). Required Fields: passId or externalId, classId, protocol.
	SendWelcomeEmail(ctx context.Context, in *EmailDistributionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Generates and returns an encrypted SmartPass link for a member, coupon, or event ticket based on the request payload. Required Fields: passId or externalId, classId.
	GetSmartPassLink(ctx context.Context, in *SmartPassLinkRequest, opts ...grpc.CallOption) (*Url, error)
	// Returns a list of fields to be displayed on the data collection page. For the Member protocol, classId is required. Required Fields: classId (only for MEMBERSHIP protocol)
	GetDataCollectionPageFields(ctx context.Context, in *ClassObjectInput, opts ...grpc.CallOption) (*DataCollectionFields, error)
	// Accepts a CSV file containing user data and a project short code, processes SmartPass creation, and sends results to the user via email. Required Fields: shortCode, csv contents.
	UploadSmartPassCsv(ctx context.Context, in *SmartPassCsvUploadRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Imports and processes a formatted CSV file for a given protocol (e.g., member, coupon) and creates billable records. Required: classId, protocol, and valid csv contents.
	ImportProtocolCsv(ctx context.Context, in *ImportProtocolRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Validates a time-based one-time password (TOTP) barcode string in the format {{payload}}||{{key}}||{{timestamp}}||{{totp}}. If valid, returns the cleaned payload without TOTP metadata. Required Fields: payload.
	ValidateBarcode(ctx context.Context, in *Payload, opts ...grpc.CallOption) (*Payload, error)
}

DistributionClient is the client API for Distribution 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.

The PassKit Distribution API allows you to create SmartPass links and manage the distribution of digital passes to your customers via email.

type DistributionServer

type DistributionServer interface {
	// Sends a welcome email to a single recipient using a valid pass protocol (e.g., membership, coupon, ticket). Required Fields: passId or externalId, classId, protocol.
	SendWelcomeEmail(context.Context, *EmailDistributionRequest) (*emptypb.Empty, error)
	// Generates and returns an encrypted SmartPass link for a member, coupon, or event ticket based on the request payload. Required Fields: passId or externalId, classId.
	GetSmartPassLink(context.Context, *SmartPassLinkRequest) (*Url, error)
	// Returns a list of fields to be displayed on the data collection page. For the Member protocol, classId is required. Required Fields: classId (only for MEMBERSHIP protocol)
	GetDataCollectionPageFields(context.Context, *ClassObjectInput) (*DataCollectionFields, error)
	// Accepts a CSV file containing user data and a project short code, processes SmartPass creation, and sends results to the user via email. Required Fields: shortCode, csv contents.
	UploadSmartPassCsv(context.Context, *SmartPassCsvUploadRequest) (*emptypb.Empty, error)
	// Imports and processes a formatted CSV file for a given protocol (e.g., member, coupon) and creates billable records. Required: classId, protocol, and valid csv contents.
	ImportProtocolCsv(context.Context, *ImportProtocolRequest) (*emptypb.Empty, error)
	// Validates a time-based one-time password (TOTP) barcode string in the format {{payload}}||{{key}}||{{timestamp}}||{{totp}}. If valid, returns the cleaned payload without TOTP metadata. Required Fields: payload.
	ValidateBarcode(context.Context, *Payload) (*Payload, error)
}

DistributionServer is the server API for Distribution service. All implementations should embed UnimplementedDistributionServer for forward compatibility.

The PassKit Distribution API allows you to create SmartPass links and manage the distribution of digital passes to your customers via email.

type DistributionSettings

type DistributionSettings struct {
	DistributionChannels []DistributionChannel `` /* 129-byte string literal not displayed */
	// Welcome email settings
	WelcomeEmail *EmailTemplate `protobuf:"bytes,2,opt,name=welcomeEmail,proto3" json:"welcomeEmail,omitempty"`
	// Welcome SMS settings
	WelcomeSms *SmsTemplate `protobuf:"bytes,3,opt,name=welcomeSms,proto3" json:"welcomeSms,omitempty"`
	// contains filtered or unexported fields
}

DistributionSettings can be used by protocol top level elements to define the email / sms-es

func (*DistributionSettings) Descriptor deprecated

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

Deprecated: Use DistributionSettings.ProtoReflect.Descriptor instead.

func (*DistributionSettings) GetDistributionChannels

func (x *DistributionSettings) GetDistributionChannels() []DistributionChannel

func (*DistributionSettings) GetWelcomeEmail

func (x *DistributionSettings) GetWelcomeEmail() *EmailTemplate

func (*DistributionSettings) GetWelcomeSms

func (x *DistributionSettings) GetWelcomeSms() *SmsTemplate

func (*DistributionSettings) ProtoMessage

func (*DistributionSettings) ProtoMessage()

func (*DistributionSettings) ProtoReflect

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

func (*DistributionSettings) Reset

func (x *DistributionSettings) Reset()

func (*DistributionSettings) String

func (x *DistributionSettings) String() string

type DynamicApiInput

type DynamicApiInput struct {

	// The uuid for the class object.
	// @tag: validateGeneric:"required"
	ClassId string `protobuf:"bytes,1,opt,name=classId,proto3" json:"classId,omitempty" validateGeneric:"required"`
	// @tag: validateGeneric:"required"
	Request *DynamicApiRequest `protobuf:"bytes,2,opt,name=request,proto3" json:"request,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Top-level input message used to initiate a dynamic API request to a third-party platform.

func (*DynamicApiInput) Descriptor deprecated

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

Deprecated: Use DynamicApiInput.ProtoReflect.Descriptor instead.

func (*DynamicApiInput) GetClassId

func (x *DynamicApiInput) GetClassId() string

func (*DynamicApiInput) GetRequest

func (x *DynamicApiInput) GetRequest() *DynamicApiRequest

func (*DynamicApiInput) ProtoMessage

func (*DynamicApiInput) ProtoMessage()

func (*DynamicApiInput) ProtoReflect

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

func (*DynamicApiInput) Reset

func (x *DynamicApiInput) Reset()

func (*DynamicApiInput) String

func (x *DynamicApiInput) String() string

type DynamicApiRequest

type DynamicApiRequest struct {

	// The name of an api call.
	// @tag: validateGeneric:"required"
	RequestName string `protobuf:"bytes,1,opt,name=requestName,proto3" json:"requestName,omitempty" validateGeneric:"required"`
	// Variables placed within the path of an endpoint.
	// @tag: validateGeneric:"omitempty"
	Params map[string]string `` /* 167-byte string literal not displayed */
	// Json string of payload data for the request body.
	// @tag: validateGeneric:"omitempty"
	Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty" validateGeneric:"omitempty"`
	// contains filtered or unexported fields
}

Describes the payload and route parameters for making a dynamic API call.

func (*DynamicApiRequest) Descriptor deprecated

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

Deprecated: Use DynamicApiRequest.ProtoReflect.Descriptor instead.

func (*DynamicApiRequest) GetParams

func (x *DynamicApiRequest) GetParams() map[string]string

func (*DynamicApiRequest) GetPayload

func (x *DynamicApiRequest) GetPayload() string

func (*DynamicApiRequest) GetRequestName

func (x *DynamicApiRequest) GetRequestName() string

func (*DynamicApiRequest) ProtoMessage

func (*DynamicApiRequest) ProtoMessage()

func (*DynamicApiRequest) ProtoReflect

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

func (*DynamicApiRequest) Reset

func (x *DynamicApiRequest) Reset()

func (*DynamicApiRequest) String

func (x *DynamicApiRequest) String() string

type DynamicApiResponse

type DynamicApiResponse struct {

	// Raw response body.
	ResponseBody []byte `protobuf:"bytes,1,opt,name=responseBody,proto3" json:"responseBody,omitempty"`
	// Http status code.
	Status int32 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

The response returned from a dynamic API call to a third-party platform.

func (*DynamicApiResponse) Descriptor deprecated

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

Deprecated: Use DynamicApiResponse.ProtoReflect.Descriptor instead.

func (*DynamicApiResponse) GetResponseBody

func (x *DynamicApiResponse) GetResponseBody() []byte

func (*DynamicApiResponse) GetStatus

func (x *DynamicApiResponse) GetStatus() int32

func (*DynamicApiResponse) ProtoMessage

func (*DynamicApiResponse) ProtoMessage()

func (*DynamicApiResponse) ProtoReflect

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

func (*DynamicApiResponse) Reset

func (x *DynamicApiResponse) Reset()

func (*DynamicApiResponse) String

func (x *DynamicApiResponse) String() string

type Email

type Email struct {

	// @tag: validateGeneric:"required,email"
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty" validateGeneric:"required,email"`
	// contains filtered or unexported fields
}

func (*Email) Descriptor deprecated

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

Deprecated: Use Email.ProtoReflect.Descriptor instead.

func (*Email) GetEmail

func (x *Email) GetEmail() string

func (*Email) ProtoMessage

func (*Email) ProtoMessage()

func (*Email) ProtoReflect

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

func (*Email) Reset

func (x *Email) Reset()

func (*Email) String

func (x *Email) String() string

type EmailConfiguration

type EmailConfiguration struct {

	// Sender's email address.
	EmailFrom string `protobuf:"bytes,1,opt,name=emailFrom,proto3" json:"emailFrom,omitempty"`
	// Sender's company / organization name.
	EmailFromName string `protobuf:"bytes,2,opt,name=emailFromName,proto3" json:"emailFromName,omitempty"`
	// Indicates that PassKit is authorized to send from the emailFrom address (either via AWS or Google Cloud)
	EmailFromVerifiedForSending bool `protobuf:"varint,3,opt,name=EmailFromVerifiedForSending,proto3" json:"EmailFromVerifiedForSending,omitempty"`
	// Indicated that bodyHtmlContent is custom HTML provided by the user.
	UseCustomHtml bool `protobuf:"varint,4,opt,name=useCustomHtml,proto3" json:"useCustomHtml,omitempty"`
	// contains filtered or unexported fields
}

SMTP configuration options for outbound email.

func (*EmailConfiguration) Descriptor deprecated

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

Deprecated: Use EmailConfiguration.ProtoReflect.Descriptor instead.

func (*EmailConfiguration) GetEmailFrom

func (x *EmailConfiguration) GetEmailFrom() string

func (*EmailConfiguration) GetEmailFromName

func (x *EmailConfiguration) GetEmailFromName() string

func (*EmailConfiguration) GetEmailFromVerifiedForSending

func (x *EmailConfiguration) GetEmailFromVerifiedForSending() bool

func (*EmailConfiguration) GetUseCustomHtml

func (x *EmailConfiguration) GetUseCustomHtml() bool

func (*EmailConfiguration) ProtoMessage

func (*EmailConfiguration) ProtoMessage()

func (*EmailConfiguration) ProtoReflect

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

func (*EmailConfiguration) Reset

func (x *EmailConfiguration) Reset()

func (*EmailConfiguration) String

func (x *EmailConfiguration) String() string

type EmailDistributionRequest

type EmailDistributionRequest struct {

	// Pass Id (22 characters).
	// @tag: validateCreate:"required_without=ExternalId"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateCreate:"required_without=ExternalId"`
	// External Id of the pass holder. Needs to provide Class Id as well.
	// @tag: validateCreate:"omitempty"
	ExternalId string `protobuf:"bytes,2,opt,name=externalId,proto3" json:"externalId,omitempty" validateCreate:"omitempty"`
	// The class ID that the projects refers to (highest level protocol object; i.e. member program id, coupon campaign id, etc).
	// @tag: validateCreate:"omitempty"
	ClassId string `protobuf:"bytes,3,opt,name=classId,proto3" json:"classId,omitempty" validateCreate:"omitempty"`
	// The PassKit protocol used for this pass.
	// @tag: validateCreate:"required"
	Protocol PassProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty" validateCreate:"required"`
	// Optional override to send to a different email address.
	// @tag: validateCreate:"omitempty"
	AlternativeEmail string `protobuf:"bytes,5,opt,name=alternativeEmail,proto3" json:"alternativeEmail,omitempty" validateCreate:"omitempty"`
	// contains filtered or unexported fields
}

A request to distribute a pass to a user by email.

func (*EmailDistributionRequest) Descriptor deprecated

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

Deprecated: Use EmailDistributionRequest.ProtoReflect.Descriptor instead.

func (*EmailDistributionRequest) GetAlternativeEmail

func (x *EmailDistributionRequest) GetAlternativeEmail() string

func (*EmailDistributionRequest) GetClassId

func (x *EmailDistributionRequest) GetClassId() string

func (*EmailDistributionRequest) GetExternalId

func (x *EmailDistributionRequest) GetExternalId() string

func (*EmailDistributionRequest) GetId

func (x *EmailDistributionRequest) GetId() string

func (*EmailDistributionRequest) GetProtocol

func (x *EmailDistributionRequest) GetProtocol() PassProtocol

func (*EmailDistributionRequest) ProtoMessage

func (*EmailDistributionRequest) ProtoMessage()

func (*EmailDistributionRequest) ProtoReflect

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

func (*EmailDistributionRequest) Reset

func (x *EmailDistributionRequest) Reset()

func (*EmailDistributionRequest) String

func (x *EmailDistributionRequest) String() string

type EmailTemplate

type EmailTemplate struct {

	// Subject of the email. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc..
	Subject string `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
	// Localized subject of the email. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	LocalizedSubject *LocalizedString `protobuf:"bytes,2,opt,name=localizedSubject,proto3" json:"localizedSubject,omitempty"`
	// Text content of the email (for email clients that don't support HTML). The body text is rendered above pass install url text. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	BodyTextContent string `protobuf:"bytes,3,opt,name=bodyTextContent,proto3" json:"bodyTextContent,omitempty"`
	// Localized text content of the email (for email clients that don't support HTML). The body text is rendered above pass install url text. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	LocalizedBodyTextContent *LocalizedString `protobuf:"bytes,4,opt,name=localizedBodyTextContent,proto3" json:"localizedBodyTextContent,omitempty"`
	// Content for HTML email rendered above the pass install button. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	BodyHtmlContent string `protobuf:"bytes,5,opt,name=bodyHtmlContent,proto3" json:"bodyHtmlContent,omitempty"`
	// Localized content for HTML email. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	LocalizedBodyHtmlContent *LocalizedString `protobuf:"bytes,6,opt,name=localizedBodyHtmlContent,proto3" json:"localizedBodyHtmlContent,omitempty"`
	// 7 is reserved for custom email SMTP configuration
	Configuration *EmailConfiguration `protobuf:"bytes,7,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// Text of the pass install button.
	ButtonText string `protobuf:"bytes,8,opt,name=buttonText,proto3" json:"buttonText,omitempty"`
	// Text color of the pass install button.
	ButtonTextColor string `protobuf:"bytes,9,opt,name=buttonTextColor,proto3" json:"buttonTextColor,omitempty"`
	// Color of the pass install button.
	ButtonBackgroundColor string `protobuf:"bytes,10,opt,name=buttonBackgroundColor,proto3" json:"buttonBackgroundColor,omitempty"`
	// Radius of the pass install button. The unit can be px or %. Default is px.
	ButtonBorderRadius string `protobuf:"bytes,11,opt,name=buttonBorderRadius,proto3" json:"buttonBorderRadius,omitempty"`
	// Footer text content (for email clients that don't support HTML). The footer text is rendered below the pass install url text.
	FooterTextContent string `protobuf:"bytes,12,opt,name=footerTextContent,proto3" json:"footerTextContent,omitempty"`
	// Localized footer text content (for email clients that don't support HTML). The footer text is rendered below the pass install url text.
	LocalizedFooterTextContent *LocalizedString `protobuf:"bytes,13,opt,name=localizedFooterTextContent,proto3" json:"localizedFooterTextContent,omitempty"`
	// Footer HTML content rendered below the pass install button.
	FooterHtmlContent string `protobuf:"bytes,14,opt,name=footerHtmlContent,proto3" json:"footerHtmlContent,omitempty"`
	// Localized content for HTML footer content which is rendered below the pass install button.
	LocalizedFooterHtmlContent *LocalizedString `protobuf:"bytes,15,opt,name=localizedFooterHtmlContent,proto3" json:"localizedFooterHtmlContent,omitempty"`
	// Background color for the message content section.
	MessageBackgroundColor string `protobuf:"bytes,16,opt,name=messageBackgroundColor,proto3" json:"messageBackgroundColor,omitempty"`
	// Background color for the margin space surrounding the message content. This setting is relevant for PC viewers.
	PageBackgroundColor string `protobuf:"bytes,17,opt,name=pageBackgroundColor,proto3" json:"pageBackgroundColor,omitempty"`
	// Holds additional template options for rendering the email template.
	TemplateOptions int32 `protobuf:"varint,18,opt,name=templateOptions,proto3" json:"templateOptions,omitempty"`
	// Text color of the pass install button in dark mode.
	DarkModeButtonTextColor string `protobuf:"bytes,19,opt,name=darkModeButtonTextColor,proto3" json:"darkModeButtonTextColor,omitempty"`
	// Color of the pass install button in dark mode.
	DarkModeButtonBackgroundColor string `protobuf:"bytes,20,opt,name=darkModeButtonBackgroundColor,proto3" json:"darkModeButtonBackgroundColor,omitempty"`
	// Background color of the page in dark mode.
	DarkModePageBackgroundColor string `protobuf:"bytes,21,opt,name=darkModePageBackgroundColor,proto3" json:"darkModePageBackgroundColor,omitempty"`
	// Background color of the message content in dark mode.
	DarkModeContentBackgroundColor string `protobuf:"bytes,22,opt,name=darkModeContentBackgroundColor,proto3" json:"darkModeContentBackgroundColor,omitempty"`
	// Header label for the email.
	HeaderLabel string `protobuf:"bytes,23,opt,name=headerLabel,proto3" json:"headerLabel,omitempty"`
	// Localized header label for the email.
	LocalizedHeaderLabel *LocalizedString `protobuf:"bytes,24,opt,name=localizedHeaderLabel,proto3" json:"localizedHeaderLabel,omitempty"`
	// Header value for the email.
	HeaderValue string `protobuf:"bytes,25,opt,name=headerValue,proto3" json:"headerValue,omitempty"`
	// contains filtered or unexported fields
}

EmailTemplate contains details for sending an email to a customer. Uses the default PassKit email provider and sending credentials

func (*EmailTemplate) Descriptor deprecated

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

Deprecated: Use EmailTemplate.ProtoReflect.Descriptor instead.

func (*EmailTemplate) GetBodyHtmlContent

func (x *EmailTemplate) GetBodyHtmlContent() string

func (*EmailTemplate) GetBodyTextContent

func (x *EmailTemplate) GetBodyTextContent() string

func (*EmailTemplate) GetButtonBackgroundColor

func (x *EmailTemplate) GetButtonBackgroundColor() string

func (*EmailTemplate) GetButtonBorderRadius

func (x *EmailTemplate) GetButtonBorderRadius() string

func (*EmailTemplate) GetButtonText

func (x *EmailTemplate) GetButtonText() string

func (*EmailTemplate) GetButtonTextColor

func (x *EmailTemplate) GetButtonTextColor() string

func (*EmailTemplate) GetConfiguration

func (x *EmailTemplate) GetConfiguration() *EmailConfiguration

func (*EmailTemplate) GetDarkModeButtonBackgroundColor added in v1.1.118

func (x *EmailTemplate) GetDarkModeButtonBackgroundColor() string

func (*EmailTemplate) GetDarkModeButtonTextColor added in v1.1.118

func (x *EmailTemplate) GetDarkModeButtonTextColor() string

func (*EmailTemplate) GetDarkModeContentBackgroundColor added in v1.1.118

func (x *EmailTemplate) GetDarkModeContentBackgroundColor() string

func (*EmailTemplate) GetDarkModePageBackgroundColor added in v1.1.118

func (x *EmailTemplate) GetDarkModePageBackgroundColor() string

func (*EmailTemplate) GetFooterHtmlContent

func (x *EmailTemplate) GetFooterHtmlContent() string

func (*EmailTemplate) GetFooterTextContent

func (x *EmailTemplate) GetFooterTextContent() string

func (*EmailTemplate) GetHeaderLabel added in v1.1.123

func (x *EmailTemplate) GetHeaderLabel() string

func (*EmailTemplate) GetHeaderValue added in v1.1.123

func (x *EmailTemplate) GetHeaderValue() string

func (*EmailTemplate) GetLocalizedBodyHtmlContent

func (x *EmailTemplate) GetLocalizedBodyHtmlContent() *LocalizedString

func (*EmailTemplate) GetLocalizedBodyTextContent

func (x *EmailTemplate) GetLocalizedBodyTextContent() *LocalizedString

func (*EmailTemplate) GetLocalizedFooterHtmlContent

func (x *EmailTemplate) GetLocalizedFooterHtmlContent() *LocalizedString

func (*EmailTemplate) GetLocalizedFooterTextContent

func (x *EmailTemplate) GetLocalizedFooterTextContent() *LocalizedString

func (*EmailTemplate) GetLocalizedHeaderLabel added in v1.1.123

func (x *EmailTemplate) GetLocalizedHeaderLabel() *LocalizedString

func (*EmailTemplate) GetLocalizedSubject

func (x *EmailTemplate) GetLocalizedSubject() *LocalizedString

func (*EmailTemplate) GetMessageBackgroundColor

func (x *EmailTemplate) GetMessageBackgroundColor() string

func (*EmailTemplate) GetPageBackgroundColor

func (x *EmailTemplate) GetPageBackgroundColor() string

func (*EmailTemplate) GetSubject

func (x *EmailTemplate) GetSubject() string

func (*EmailTemplate) GetTemplateOptions

func (x *EmailTemplate) GetTemplateOptions() int32

func (*EmailTemplate) ProtoMessage

func (*EmailTemplate) ProtoMessage()

func (*EmailTemplate) ProtoReflect

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

func (*EmailTemplate) Reset

func (x *EmailTemplate) Reset()

func (*EmailTemplate) String

func (x *EmailTemplate) String() string

type EmailTemplateOptions

type EmailTemplateOptions int32

Defines options that can modify email template behavior.

const (
	EmailTemplateOptions_EMAIL_TEMP_OPT_NONE EmailTemplateOptions = 0
	// Hide default external Id field on top right of the template.
	EmailTemplateOptions_EMAIL_TEMP_OPT_HIDE_EXT_ID EmailTemplateOptions = 1
	// Hide default full name field on top left of the template.
	EmailTemplateOptions_EMAIL_TEMP_OPT_HIDE_FULL_NAME EmailTemplateOptions = 2
)

func (EmailTemplateOptions) Descriptor

func (EmailTemplateOptions) Enum

func (EmailTemplateOptions) EnumDescriptor deprecated

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

Deprecated: Use EmailTemplateOptions.Descriptor instead.

func (EmailTemplateOptions) Number

func (EmailTemplateOptions) String

func (x EmailTemplateOptions) String() string

func (EmailTemplateOptions) Type

type EnrolmentUrls

type EnrolmentUrls struct {

	// Enrolment page of the base tier (tier with the lowest tier index).
	PageUrl string `protobuf:"bytes,1,opt,name=pageUrl,proto3" json:"pageUrl,omitempty"`
	// QR code image url of the the base tier.
	QrCodeUrl string `protobuf:"bytes,2,opt,name=qrCodeUrl,proto3" json:"qrCodeUrl,omitempty"`
	// Enrolment page for each tier.
	TierEnrolmentUrls map[string]string `` /* 161-byte string literal not displayed */
	// QR code for each tier.
	TierEnrolmentQRs map[string]string `` /* 159-byte string literal not displayed */
	// contains filtered or unexported fields
}

Contains SmartPass enrolment links and QR codes.

func (*EnrolmentUrls) Descriptor deprecated

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

Deprecated: Use EnrolmentUrls.ProtoReflect.Descriptor instead.

func (*EnrolmentUrls) GetPageUrl

func (x *EnrolmentUrls) GetPageUrl() string

func (*EnrolmentUrls) GetQrCodeUrl

func (x *EnrolmentUrls) GetQrCodeUrl() string

func (*EnrolmentUrls) GetTierEnrolmentQRs

func (x *EnrolmentUrls) GetTierEnrolmentQRs() map[string]string

func (*EnrolmentUrls) GetTierEnrolmentUrls

func (x *EnrolmentUrls) GetTierEnrolmentUrls() map[string]string

func (*EnrolmentUrls) ProtoMessage

func (*EnrolmentUrls) ProtoMessage()

func (*EnrolmentUrls) ProtoReflect

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

func (*EnrolmentUrls) Reset

func (x *EnrolmentUrls) Reset()

func (*EnrolmentUrls) String

func (x *EnrolmentUrls) String() string

type EventSemanticTags added in v1.1.118

type EventSemanticTags struct {

	// The Apple ID(s) for the artists featuring in an event. If the ID is not known or provided for a given artist, the ID can be found in the iTunes share URL.
	ArtistIds []string `protobuf:"bytes,1,rep,name=artistIds,proto3" json:"artistIds,omitempty"`
	// On tickets leveraging the team sports template, the logo text is hardcoded to be HOME TEAM ABBREVIATION vs AWAY TEAM ABBREVIATION. The abbreviations are fetched from the homeTeamAbbreviation and awayTeamAbbreviation semantic tags respectively.
	AwayTeamAbbreviation          string           `protobuf:"bytes,2,opt,name=awayTeamAbbreviation,proto3" json:"awayTeamAbbreviation,omitempty"`
	LocalizedAwayTeamAbbreviation *LocalizedString `protobuf:"bytes,3,opt,name=localizedAwayTeamAbbreviation,proto3" json:"localizedAwayTeamAbbreviation,omitempty"`
	// The home location of the away team. Use this key only for a sports event ticket.
	AwayTeamLocation          string           `protobuf:"bytes,4,opt,name=awayTeamLocation,proto3" json:"awayTeamLocation,omitempty"`
	LocalizedAwayTeamLocation *LocalizedString `protobuf:"bytes,5,opt,name=localizedAwayTeamLocation,proto3" json:"localizedAwayTeamLocation,omitempty"`
	// The name of the away team. Use this key only for a sports event ticket.
	AwayTeamName          string           `protobuf:"bytes,6,opt,name=awayTeamName,proto3" json:"awayTeamName,omitempty"`
	LocalizedAwayTeamName *LocalizedString `protobuf:"bytes,7,opt,name=localizedAwayTeamName,proto3" json:"localizedAwayTeamName,omitempty"`
	// The date and time the event ends. Use this key for any type of event ticket. If not provided, the end date value from the event object will be used.
	EventEndDate *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=eventEndDate,proto3" json:"eventEndDate,omitempty"`
	// The full name of the event, such as the title of a movie. Use this key for any type of event ticket.  Use if the event name requires localization, otherwise the production name will be used.
	EventName          string           `protobuf:"bytes,9,opt,name=eventName,proto3" json:"eventName,omitempty"`
	LocalizedEventName *LocalizedString `protobuf:"bytes,10,opt,name=localizedEventName,proto3" json:"localizedEventName,omitempty"`
	// // The date and time the event starts. Use this key for any type of event ticket. If not provided, the scheduled or actual start date value from the event object will be used.
	EventStartDate *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=eventStartDate,proto3" json:"eventStartDate,omitempty"`
	// The genre of the performance, such as “Classical”. Use this key for any type of event ticket.
	Genre          string           `protobuf:"bytes,12,opt,name=genre,proto3" json:"genre,omitempty"`
	LocalizedGenre *LocalizedString `protobuf:"bytes,13,opt,name=localizedGenre,proto3" json:"localizedGenre,omitempty"`
	// On tickets leveraging the team sports template, the logo text is hardcoded to be HOME TEAM ABBREVIATION vs AWAY TEAM ABBREVIATION. The abbreviations are fetched from the homeTeamAbbreviation and awayTeamAbbreviation semantic tags respectively.
	HomeTeamAbbreviation          string           `protobuf:"bytes,14,opt,name=homeTeamAbbreviation,proto3" json:"homeTeamAbbreviation,omitempty"`
	LocalizedHomeTeamAbbreviation *LocalizedString `protobuf:"bytes,15,opt,name=localizedHomeTeamAbbreviation,proto3" json:"localizedHomeTeamAbbreviation,omitempty"`
	// The home location of the home team. Use this key only for a sports event ticket.
	HomeTeamLocation          string           `protobuf:"bytes,16,opt,name=homeTeamLocation,proto3" json:"homeTeamLocation,omitempty"`
	LocalizedHomeTeamLocation *LocalizedString `protobuf:"bytes,17,opt,name=localizedHomeTeamLocation,proto3" json:"localizedHomeTeamLocation,omitempty"`
	// The name of the home team. Use this key only for a sports event ticket.
	HomeTeamName          string           `protobuf:"bytes,18,opt,name=homeTeamName,proto3" json:"homeTeamName,omitempty"`
	LocalizedHomeTeamName *LocalizedString `protobuf:"bytes,19,opt,name=localizedHomeTeamName,proto3" json:"localizedHomeTeamName,omitempty"`
	// The abbreviated league name for a sports event. Use this key only for a sports event ticket.
	LeagueAbbreviation          string           `protobuf:"bytes,20,opt,name=leagueAbbreviation,proto3" json:"leagueAbbreviation,omitempty"`
	LocalizedLeagueAbbreviation *LocalizedString `protobuf:"bytes,21,opt,name=localizedLeagueAbbreviation,proto3" json:"localizedLeagueAbbreviation,omitempty"`
	// The full league name for a sports event. Use this key only for a sports event ticket.
	LeagueName          string           `protobuf:"bytes,22,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
	LocalizedLeagueName *LocalizedString `protobuf:"bytes,23,opt,name=localizedLeagueName,proto3" json:"localizedLeagueName,omitempty"`
	// An array of the full names of the performers and opening acts at the event, in decreasing order of significance.
	PerformerNames []string `protobuf:"bytes,24,rep,name=performerNames,proto3" json:"performerNames,omitempty"`
	// A Boolean value that determines whether the user’s device remains silent during an event or transit journey. The system may override the key and determine the length of the period of silence.
	SilenceRequested bool `protobuf:"varint,25,opt,name=silenceRequested,proto3" json:"silenceRequested,omitempty"`
	// The commonly used name of the sport. Use this key only for a sports event ticket.
	SportName          string           `protobuf:"bytes,26,opt,name=sportName,proto3" json:"sportName,omitempty"`
	LocalizedSportName *LocalizedString `protobuf:"bytes,27,opt,name=localizedSportName,proto3" json:"localizedSportName,omitempty"`
	// An object that represents the geographic coordinates of the venue.
	VenueLocation *SemanticLocation `protobuf:"bytes,28,opt,name=venueLocation,proto3" json:"venueLocation,omitempty"`
	// The phone number for enquiries about the venue’s ticketed event.
	VenuePhoneNumber string `protobuf:"bytes,29,opt,name=venuePhoneNumber,proto3" json:"venuePhoneNumber,omitempty"`
	// The full name of the room where the ticketed event is to take place. If a room is provided in the seat information, this value will be overwritten.
	VenueRoom          string           `protobuf:"bytes,30,opt,name=venueRoom,proto3" json:"venueRoom,omitempty"`
	LocalizedVenueRoom *LocalizedString `protobuf:"bytes,31,opt,name=localizedVenueRoom,proto3" json:"localizedVenueRoom,omitempty"`
	// An array of objects that represent the WiFi networks associated with the event; for example, the network name and password associated with a developer conference.
	WifiAccess []*SemanticWifiNetwork `protobuf:"bytes,32,rep,name=wifiAccess,proto3" json:"wifiAccess,omitempty"`
	// The name of the city or hosting region of the venue.
	VenueRegionName          string           `protobuf:"bytes,33,opt,name=venueRegionName,proto3" json:"venueRegionName,omitempty"`
	LocalizedVenueRegionName *LocalizedString `protobuf:"bytes,34,opt,name=localizedVenueRegionName,proto3" json:"localizedVenueRegionName,omitempty"`
	// Boolean value indicating that whether tailgating is allowed at the venue.
	TailgatingAllowed bool `protobuf:"varint,35,opt,name=tailgatingAllowed,proto3" json:"tailgatingAllowed,omitempty"`
	// Details of the entrance if further information is required.
	EntranceDescription          string           `protobuf:"bytes,36,opt,name=entranceDescription,proto3" json:"entranceDescription,omitempty"`
	LocalizedEntranceDescription *LocalizedString `protobuf:"bytes,37,opt,name=localizedEntranceDescription,proto3" json:"localizedEntranceDescription,omitempty"`
	// Time the gates to the venue open.
	VenueGatesOpenDate *timestamppb.Timestamp `protobuf:"bytes,38,opt,name=venueGatesOpenDate,proto3" json:"venueGatesOpenDate,omitempty"`
	// Time the fan zone opens.
	VenueFanZoneOpenDate *timestamppb.Timestamp `protobuf:"bytes,39,opt,name=venueFanZoneOpenDate,proto3" json:"venueFanZoneOpenDate,omitempty"`
	// Time the parking lots open.
	VenueParkingLotsOpenDate *timestamppb.Timestamp `protobuf:"bytes,40,opt,name=venueParkingLotsOpenDate,proto3" json:"venueParkingLotsOpenDate,omitempty"`
	// Time when the box office opens.
	VenueBoxOfficeOpenDate *timestamppb.Timestamp `protobuf:"bytes,41,opt,name=venueBoxOfficeOpenDate,proto3" json:"venueBoxOfficeOpenDate,omitempty"`
	// Time when the venue opens. Use if none of the more specific values above apply.
	VenueOpenDate *timestamppb.Timestamp `protobuf:"bytes,42,opt,name=venueOpenDate,proto3" json:"venueOpenDate,omitempty"`
	// Time when the venue closes.
	VenueCloseDate *timestamppb.Timestamp `protobuf:"bytes,43,opt,name=venueCloseDate,proto3" json:"venueCloseDate,omitempty"`
	// The Apple ID(s) for playlists applicable to the event. If the ID is not known or provided for a given playlist, the ID can be found in the iTunes share URL.
	PlaylistIds []string `protobuf:"bytes,44,rep,name=playlistIds,proto3" json:"playlistIds,omitempty"`
	// The Apple ID(s) for the albums for artists featuring in an event. If the ID is not known or provided for a given album, the ID can be found in the iTunes share URL.
	AlbumIds []string `protobuf:"bytes,45,rep,name=albumIds,proto3" json:"albumIds,omitempty"`
	// Additional information for the start date of the event.
	EventStartDateInfo *SemanticEventDateInfo `protobuf:"bytes,46,opt,name=eventStartDateInfo,proto3" json:"eventStartDateInfo,omitempty"`
	// contains filtered or unexported fields
}

Used to display details such as teams, event timing, venue info, and artist IDs.

func (*EventSemanticTags) Descriptor deprecated added in v1.1.118

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

Deprecated: Use EventSemanticTags.ProtoReflect.Descriptor instead.

func (*EventSemanticTags) GetAlbumIds added in v1.1.118

func (x *EventSemanticTags) GetAlbumIds() []string

func (*EventSemanticTags) GetArtistIds added in v1.1.118

func (x *EventSemanticTags) GetArtistIds() []string

func (*EventSemanticTags) GetAwayTeamAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetAwayTeamAbbreviation() string

func (*EventSemanticTags) GetAwayTeamLocation added in v1.1.118

func (x *EventSemanticTags) GetAwayTeamLocation() string

func (*EventSemanticTags) GetAwayTeamName added in v1.1.118

func (x *EventSemanticTags) GetAwayTeamName() string

func (*EventSemanticTags) GetEntranceDescription added in v1.1.118

func (x *EventSemanticTags) GetEntranceDescription() string

func (*EventSemanticTags) GetEventEndDate added in v1.1.118

func (x *EventSemanticTags) GetEventEndDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetEventName added in v1.1.118

func (x *EventSemanticTags) GetEventName() string

func (*EventSemanticTags) GetEventStartDate added in v1.1.118

func (x *EventSemanticTags) GetEventStartDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetEventStartDateInfo added in v1.1.118

func (x *EventSemanticTags) GetEventStartDateInfo() *SemanticEventDateInfo

func (*EventSemanticTags) GetGenre added in v1.1.118

func (x *EventSemanticTags) GetGenre() string

func (*EventSemanticTags) GetHomeTeamAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetHomeTeamAbbreviation() string

func (*EventSemanticTags) GetHomeTeamLocation added in v1.1.118

func (x *EventSemanticTags) GetHomeTeamLocation() string

func (*EventSemanticTags) GetHomeTeamName added in v1.1.118

func (x *EventSemanticTags) GetHomeTeamName() string

func (*EventSemanticTags) GetLeagueAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetLeagueAbbreviation() string

func (*EventSemanticTags) GetLeagueName added in v1.1.118

func (x *EventSemanticTags) GetLeagueName() string

func (*EventSemanticTags) GetLocalizedAwayTeamAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetLocalizedAwayTeamAbbreviation() *LocalizedString

func (*EventSemanticTags) GetLocalizedAwayTeamLocation added in v1.1.118

func (x *EventSemanticTags) GetLocalizedAwayTeamLocation() *LocalizedString

func (*EventSemanticTags) GetLocalizedAwayTeamName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedAwayTeamName() *LocalizedString

func (*EventSemanticTags) GetLocalizedEntranceDescription added in v1.1.118

func (x *EventSemanticTags) GetLocalizedEntranceDescription() *LocalizedString

func (*EventSemanticTags) GetLocalizedEventName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedEventName() *LocalizedString

func (*EventSemanticTags) GetLocalizedGenre added in v1.1.118

func (x *EventSemanticTags) GetLocalizedGenre() *LocalizedString

func (*EventSemanticTags) GetLocalizedHomeTeamAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetLocalizedHomeTeamAbbreviation() *LocalizedString

func (*EventSemanticTags) GetLocalizedHomeTeamLocation added in v1.1.118

func (x *EventSemanticTags) GetLocalizedHomeTeamLocation() *LocalizedString

func (*EventSemanticTags) GetLocalizedHomeTeamName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedHomeTeamName() *LocalizedString

func (*EventSemanticTags) GetLocalizedLeagueAbbreviation added in v1.1.118

func (x *EventSemanticTags) GetLocalizedLeagueAbbreviation() *LocalizedString

func (*EventSemanticTags) GetLocalizedLeagueName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedLeagueName() *LocalizedString

func (*EventSemanticTags) GetLocalizedSportName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedSportName() *LocalizedString

func (*EventSemanticTags) GetLocalizedVenueRegionName added in v1.1.118

func (x *EventSemanticTags) GetLocalizedVenueRegionName() *LocalizedString

func (*EventSemanticTags) GetLocalizedVenueRoom added in v1.1.118

func (x *EventSemanticTags) GetLocalizedVenueRoom() *LocalizedString

func (*EventSemanticTags) GetPerformerNames added in v1.1.118

func (x *EventSemanticTags) GetPerformerNames() []string

func (*EventSemanticTags) GetPlaylistIds added in v1.1.118

func (x *EventSemanticTags) GetPlaylistIds() []string

func (*EventSemanticTags) GetSilenceRequested added in v1.1.118

func (x *EventSemanticTags) GetSilenceRequested() bool

func (*EventSemanticTags) GetSportName added in v1.1.118

func (x *EventSemanticTags) GetSportName() string

func (*EventSemanticTags) GetTailgatingAllowed added in v1.1.118

func (x *EventSemanticTags) GetTailgatingAllowed() bool

func (*EventSemanticTags) GetVenueBoxOfficeOpenDate added in v1.1.118

func (x *EventSemanticTags) GetVenueBoxOfficeOpenDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenueCloseDate added in v1.1.118

func (x *EventSemanticTags) GetVenueCloseDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenueFanZoneOpenDate added in v1.1.118

func (x *EventSemanticTags) GetVenueFanZoneOpenDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenueGatesOpenDate added in v1.1.118

func (x *EventSemanticTags) GetVenueGatesOpenDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenueLocation added in v1.1.118

func (x *EventSemanticTags) GetVenueLocation() *SemanticLocation

func (*EventSemanticTags) GetVenueOpenDate added in v1.1.118

func (x *EventSemanticTags) GetVenueOpenDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenueParkingLotsOpenDate added in v1.1.118

func (x *EventSemanticTags) GetVenueParkingLotsOpenDate() *timestamppb.Timestamp

func (*EventSemanticTags) GetVenuePhoneNumber added in v1.1.118

func (x *EventSemanticTags) GetVenuePhoneNumber() string

func (*EventSemanticTags) GetVenueRegionName added in v1.1.118

func (x *EventSemanticTags) GetVenueRegionName() string

func (*EventSemanticTags) GetVenueRoom added in v1.1.118

func (x *EventSemanticTags) GetVenueRoom() string

func (*EventSemanticTags) GetWifiAccess added in v1.1.118

func (x *EventSemanticTags) GetWifiAccess() []*SemanticWifiNetwork

func (*EventSemanticTags) ProtoMessage added in v1.1.118

func (*EventSemanticTags) ProtoMessage()

func (*EventSemanticTags) ProtoReflect added in v1.1.118

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

func (*EventSemanticTags) Reset added in v1.1.118

func (x *EventSemanticTags) Reset()

func (*EventSemanticTags) String added in v1.1.118

func (x *EventSemanticTags) String() string

type EventTicketAnalyticsFilter

type EventTicketAnalyticsFilter struct {

	// Ticket type ID.
	TicketTypeId string `protobuf:"bytes,1,opt,name=ticketTypeId,proto3" json:"ticketTypeId,omitempty"`
	// Ticket type UID.
	TicketTypeUid string `protobuf:"bytes,2,opt,name=ticketTypeUid,proto3" json:"ticketTypeUid,omitempty"`
	// Venue ID.
	VenueId string `protobuf:"bytes,3,opt,name=venueId,proto3" json:"venueId,omitempty"`
	// Venue UID.
	VenueUid string `protobuf:"bytes,4,opt,name=venueUid,proto3" json:"venueUid,omitempty"`
	// Event ID.
	EventId string `protobuf:"bytes,5,opt,name=eventId,proto3" json:"eventId,omitempty"`
	// contains filtered or unexported fields
}

Filter object for event ticket analytics.

func (*EventTicketAnalyticsFilter) Descriptor deprecated

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

Deprecated: Use EventTicketAnalyticsFilter.ProtoReflect.Descriptor instead.

func (*EventTicketAnalyticsFilter) GetEventId

func (x *EventTicketAnalyticsFilter) GetEventId() string

func (*EventTicketAnalyticsFilter) GetTicketTypeId

func (x *EventTicketAnalyticsFilter) GetTicketTypeId() string

func (*EventTicketAnalyticsFilter) GetTicketTypeUid

func (x *EventTicketAnalyticsFilter) GetTicketTypeUid() string

func (*EventTicketAnalyticsFilter) GetVenueId

func (x *EventTicketAnalyticsFilter) GetVenueId() string

func (*EventTicketAnalyticsFilter) GetVenueUid

func (x *EventTicketAnalyticsFilter) GetVenueUid() string

func (*EventTicketAnalyticsFilter) ProtoMessage

func (*EventTicketAnalyticsFilter) ProtoMessage()

func (*EventTicketAnalyticsFilter) ProtoReflect

func (*EventTicketAnalyticsFilter) Reset

func (x *EventTicketAnalyticsFilter) Reset()

func (*EventTicketAnalyticsFilter) String

func (x *EventTicketAnalyticsFilter) String() string

type EventType added in v1.1.118

type EventType int32

Enumerates supported event types.

const (
	EventType_EVENT_TYPE_NONE             EventType = 0
	EventType_EVENT_TYPE_GENERIC          EventType = 1
	EventType_EVENT_TYPE_MOVIE            EventType = 2
	EventType_EVENT_TYPE_CONFERENCE       EventType = 3
	EventType_EVENT_TYPE_CONVENTION       EventType = 4
	EventType_EVENT_TYPE_WORKSHOP         EventType = 5
	EventType_EVENT_TYPE_SOCIAL_GATHERING EventType = 6
	EventType_EVENT_TYPE_SPORTS           EventType = 7
	EventType_EVENT_TYPE_LIVE_PERFORMANCE EventType = 8
)

func (EventType) Descriptor added in v1.1.118

func (EventType) Descriptor() protoreflect.EnumDescriptor

func (EventType) Enum added in v1.1.118

func (x EventType) Enum() *EventType

func (EventType) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use EventType.Descriptor instead.

func (EventType) Number added in v1.1.118

func (x EventType) Number() protoreflect.EnumNumber

func (EventType) String added in v1.1.118

func (x EventType) String() string

func (EventType) Type added in v1.1.118

type ExpirySettings

type ExpirySettings struct {
	ExpiryType ExpiryType `protobuf:"varint,1,opt,name=expiryType,proto3,enum=io.ExpiryType" json:"expiryType,omitempty"`
	// Types that are valid to be assigned to ExpiryOneof:
	//
	//	*ExpirySettings_FixedExpiryDate
	//	*ExpirySettings_ExpireAfterXDays
	ExpiryOneof isExpirySettings_ExpiryOneof `protobuf_oneof:"expiryOneof"`
	// contains filtered or unexported fields
}

The digital card will be expired on the expiry date. The barcode will not be rendered on digital card and the card itself will not be updated after it has been expired.

func (*ExpirySettings) Descriptor deprecated

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

Deprecated: Use ExpirySettings.ProtoReflect.Descriptor instead.

func (*ExpirySettings) GetExpireAfterXDays

func (x *ExpirySettings) GetExpireAfterXDays() uint32

func (*ExpirySettings) GetExpiryOneof

func (x *ExpirySettings) GetExpiryOneof() isExpirySettings_ExpiryOneof

func (*ExpirySettings) GetExpiryType

func (x *ExpirySettings) GetExpiryType() ExpiryType

func (*ExpirySettings) GetFixedExpiryDate

func (x *ExpirySettings) GetFixedExpiryDate() *Date

func (*ExpirySettings) ProtoMessage

func (*ExpirySettings) ProtoMessage()

func (*ExpirySettings) ProtoReflect

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

func (*ExpirySettings) Reset

func (x *ExpirySettings) Reset()

func (*ExpirySettings) String

func (x *ExpirySettings) String() string

type ExpirySettings_ExpireAfterXDays

type ExpirySettings_ExpireAfterXDays struct {
	// Number of days the digital membership card is expired after the enrolment date.
	// Please set expiryType as EXPIRE_AFTER_X_DAYS.
	ExpireAfterXDays uint32 `protobuf:"varint,3,opt,name=expireAfterXDays,proto3,oneof"`
}

type ExpirySettings_FixedExpiryDate

type ExpirySettings_FixedExpiryDate struct {
	// The expiry date for digital membership card.
	// Please set expiryType as EXPIRE_ON_FIXED_DATE.
	FixedExpiryDate *Date `protobuf:"bytes,2,opt,name=fixedExpiryDate,proto3,oneof"`
}

type ExpiryType

type ExpiryType int32

Options to manage the expiry date of the digital card.

const (
	// Please do not use this enum. This enum do not have any effect on expiry logic.
	ExpiryType_EXPIRE_NONE ExpiryType = 0
	// Expiry date is set with year, month and date. The expiry date will be based on your timezone. The digital card will expire at 23:59:59:59.99999 of set date in fixed timezone. The expiry date is the same for all cards.
	ExpiryType_EXPIRE_ON_FIXED_DATE ExpiryType = 1
	// The digital card expires after the number of days after the digital card issuing.
	ExpiryType_EXPIRE_AFTER_X_DAYS ExpiryType = 2
	// If you want to change expiry date for each digital card, you can use this expiry type. You can set expiry date and time in fixed timezone.
	ExpiryType_EXPIRE_ON_VARIABLE_DATE_TIME ExpiryType = 3
	// The digital card will set as NULL and the pass will not expire..
	ExpiryType_EXPIRE_SET_TO_NULL ExpiryType = 4
)

func (ExpiryType) Descriptor

func (ExpiryType) Descriptor() protoreflect.EnumDescriptor

func (ExpiryType) Enum

func (x ExpiryType) Enum() *ExpiryType

func (ExpiryType) EnumDescriptor deprecated

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

Deprecated: Use ExpiryType.Descriptor instead.

func (ExpiryType) Number

func (x ExpiryType) Number() protoreflect.EnumNumber

func (ExpiryType) String

func (x ExpiryType) String() string

func (ExpiryType) Type

type FacebookPixelSettings

type FacebookPixelSettings struct {

	// The Facebook Pixel ID of the account.
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	PixelId string `` /* 147-byte string literal not displayed */
	// List of standard events for the data collection page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	DataCollectionPageStandardEvents []*StandardEvent `` /* 214-byte string literal not displayed */
	// List of custom events for the data collection page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	DataCollectionPageCustomEvents []*CustomEvent `` /* 210-byte string literal not displayed */
	// List of standard events for the pass render page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	PassPageStandardEvents []*StandardEvent `` /* 194-byte string literal not displayed */
	// List of custom events for the pass render page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	PassPageCustomEvents []*CustomEvent `` /* 190-byte string literal not displayed */
	// List of standard events for the coupon customer initiated redemption page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	CustomerInitiatedRedemptionPageStandardEvents []*StandardEvent `` /* 240-byte string literal not displayed */
	// List of custom events for the coupon customer initiated redemption page
	// @tag: validateGeneric:"dive,omitempty" validateCreate:"dive,omitempty" validateUpdate:"dive,omitempty"
	CustomerInitiatedRedemptionPageCustomEvents []*CustomEvent `` /* 236-byte string literal not displayed */
	// contains filtered or unexported fields
}

Facebook Pixel configuration for tracking page views and interactions.

func (*FacebookPixelSettings) Descriptor deprecated

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

Deprecated: Use FacebookPixelSettings.ProtoReflect.Descriptor instead.

func (*FacebookPixelSettings) GetCustomerInitiatedRedemptionPageCustomEvents

func (x *FacebookPixelSettings) GetCustomerInitiatedRedemptionPageCustomEvents() []*CustomEvent

func (*FacebookPixelSettings) GetCustomerInitiatedRedemptionPageStandardEvents

func (x *FacebookPixelSettings) GetCustomerInitiatedRedemptionPageStandardEvents() []*StandardEvent

func (*FacebookPixelSettings) GetDataCollectionPageCustomEvents

func (x *FacebookPixelSettings) GetDataCollectionPageCustomEvents() []*CustomEvent

func (*FacebookPixelSettings) GetDataCollectionPageStandardEvents

func (x *FacebookPixelSettings) GetDataCollectionPageStandardEvents() []*StandardEvent

func (*FacebookPixelSettings) GetPassPageCustomEvents

func (x *FacebookPixelSettings) GetPassPageCustomEvents() []*CustomEvent

func (*FacebookPixelSettings) GetPassPageStandardEvents

func (x *FacebookPixelSettings) GetPassPageStandardEvents() []*StandardEvent

func (*FacebookPixelSettings) GetPixelId

func (x *FacebookPixelSettings) GetPixelId() string

func (*FacebookPixelSettings) ProtoMessage

func (*FacebookPixelSettings) ProtoMessage()

func (*FacebookPixelSettings) ProtoReflect

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

func (*FacebookPixelSettings) Reset

func (x *FacebookPixelSettings) Reset()

func (*FacebookPixelSettings) String

func (x *FacebookPixelSettings) String() string

type FbPixelStandardEvent

type FbPixelStandardEvent int32

Standard Facebook Pixel events that we support

const (
	FbPixelStandardEvent_FBP_STANDARD_EVENT_DO_NOT_USE FbPixelStandardEvent = 0
	// This is the default pixel tracking page visits.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_PAGE_VIEW FbPixelStandardEvent = 1
	// When a registration form is completed.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_COMPLETE_REGISTRATION FbPixelStandardEvent = 2
	// When a sign up is completed.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_LEAD FbPixelStandardEvent = 3
	// When a purchase is made or checkout flow is completed.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_PURCHASE FbPixelStandardEvent = 4
	// When a person books an appointment to visit one of your locations.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_SCHEDULE FbPixelStandardEvent = 5
	// When a person starts a free trial of a product or service you offer.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_START_TRIAL FbPixelStandardEvent = 6
	// When a person applies for a product, service, or program you offer.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_SUBMIT_APPLICATION FbPixelStandardEvent = 7
	// When a person applies to a start a paid subscription for a product or service you offer.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_SUBSCRIBE FbPixelStandardEvent = 8
	// A visit to a web page you care about (for example, a product page or landing page). ViewContent tells you if someone visits a web page's URL, but not what they see or do on that page.
	FbPixelStandardEvent_FBP_STANDARD_EVENT_VIEW_CONTENT FbPixelStandardEvent = 9
)

func (FbPixelStandardEvent) Descriptor

func (FbPixelStandardEvent) Enum

func (FbPixelStandardEvent) EnumDescriptor deprecated

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

Deprecated: Use FbPixelStandardEvent.Descriptor instead.

func (FbPixelStandardEvent) Number

func (FbPixelStandardEvent) String

func (x FbPixelStandardEvent) String() string

func (FbPixelStandardEvent) Type

type FieldFilter

type FieldFilter struct {

	// Column name to filter results by.
	// @tag: validateGeneric:"required"
	FilterField string `protobuf:"bytes,1,opt,name=filterField,proto3" json:"filterField,omitempty" validateGeneric:"required"`
	// Values to test against the filter fields.
	// @tag: validateGeneric:"required"
	FilterValue string `protobuf:"bytes,2,opt,name=filterValue,proto3" json:"filterValue,omitempty" validateGeneric:"required"`
	// Operator (e.g. eq, gt, gte, lt, lte, like)
	// @tag: validateGeneric:"required"
	FilterOperator string `protobuf:"bytes,3,opt,name=filterOperator,proto3" json:"filterOperator,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Defines a single filter condition for a field.

func (*FieldFilter) Descriptor deprecated

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

Deprecated: Use FieldFilter.ProtoReflect.Descriptor instead.

func (*FieldFilter) GetFilterField

func (x *FieldFilter) GetFilterField() string

func (*FieldFilter) GetFilterOperator

func (x *FieldFilter) GetFilterOperator() string

func (*FieldFilter) GetFilterValue

func (x *FieldFilter) GetFilterValue() string

func (*FieldFilter) ProtoMessage

func (*FieldFilter) ProtoMessage()

func (*FieldFilter) ProtoReflect

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

func (*FieldFilter) Reset

func (x *FieldFilter) Reset()

func (*FieldFilter) String

func (x *FieldFilter) String() string

type FieldMapping

type FieldMapping struct {

	// Field string key of destination data field.
	// @tag: validateGeneric:"required"
	DestinationFieldKey string `protobuf:"bytes,1,opt,name=destinationFieldKey,proto3" json:"destinationFieldKey,omitempty" validateGeneric:"required"`
	// Field string key of destination data field.
	// @tag: validateGeneric:"required"
	DestinationFieldDataType DataType `` /* 146-byte string literal not displayed */
	// If true, when value is empty default data will be used.
	// @tag: validateGeneric:"omitempty"
	IsRequired bool `protobuf:"varint,3,opt,name=isRequired,proto3" json:"isRequired,omitempty" validateGeneric:"omitempty"`
	// Unique name of data field which becomes the data source.
	// @tag: validateGeneric:"required"
	SourceFieldUniqueName string `protobuf:"bytes,4,opt,name=sourceFieldUniqueName,proto3" json:"sourceFieldUniqueName,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Sets up source and destination field

func (*FieldMapping) Descriptor deprecated

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

Deprecated: Use FieldMapping.ProtoReflect.Descriptor instead.

func (*FieldMapping) GetDestinationFieldDataType

func (x *FieldMapping) GetDestinationFieldDataType() DataType

func (*FieldMapping) GetDestinationFieldKey

func (x *FieldMapping) GetDestinationFieldKey() string

func (*FieldMapping) GetIsRequired

func (x *FieldMapping) GetIsRequired() bool

func (*FieldMapping) GetSourceFieldUniqueName

func (x *FieldMapping) GetSourceFieldUniqueName() string

func (*FieldMapping) ProtoMessage

func (*FieldMapping) ProtoMessage()

func (*FieldMapping) ProtoReflect

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

func (*FieldMapping) Reset

func (x *FieldMapping) Reset()

func (*FieldMapping) String

func (x *FieldMapping) String() string

type FieldSection

type FieldSection int32

Defines which field section a field should appear in on the pass.

const (
	FieldSection_FIELD_SECTION_DO_NOT_USE FieldSection = 0
	// Fields shown on the back of the pass.
	FieldSection_BACK_FIELDS FieldSection = 1
	// Fields shown at the top of the pass.
	FieldSection_PRIMARY_FIELDS FieldSection = 2
	// Fields shown directly under the primary section.
	FieldSection_SECONDARY_FIELDS FieldSection = 3
	// Fields shown below secondary fields.
	FieldSection_AUXILIARY_FIELDS FieldSection = 4
	// Fields shown in the header of the pass.
	FieldSection_HEADER_FIELDS FieldSection = 5
	// Used for Apple poster style event tickets.
	FieldSection_ADDITIONAL_FIELDS FieldSection = 6
)

func (FieldSection) Descriptor

func (FieldSection) Enum

func (x FieldSection) Enum() *FieldSection

func (FieldSection) EnumDescriptor deprecated

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

Deprecated: Use FieldSection.Descriptor instead.

func (FieldSection) Number

func (FieldSection) String

func (x FieldSection) String() string

func (FieldSection) Type

type FieldType

type FieldType int32

Field type categorize a type of field rendered on pass or data collection page. The value will be auto-configured on the backend.

const (
	FieldType_FIELD_TYPE_NONE FieldType = 0
	// Meta fields. DataField.UniqueName needs to be meta.FIELDNAME.
	FieldType_META FieldType = 1
	// PII fields. DataField.UniqueName needs to be person.FIELDNAME.
	FieldType_PII FieldType = 2
	// Universal fields used across protocols (e.g. Terms And Conditions, Locations, Messages). DataField.UniqueName needs to be universal.FIELDNAME (e.g. universal.messages).
	FieldType_UNIVERSAL_FIELDS FieldType = 3
	// Protocol specific fields. DataField.UniqueName needs to be protocol.OBJECT.FIELDNAME.
	FieldType_PROTOCOL_FIELDS FieldType = 4
	// Custom fields are fields which are created only for pass render purpose and does not belong to other field type.
	FieldType_CUSTOM_FIELDS FieldType = 5
)

func (FieldType) Descriptor

func (FieldType) Descriptor() protoreflect.EnumDescriptor

func (FieldType) Enum

func (x FieldType) Enum() *FieldType

func (FieldType) EnumDescriptor deprecated

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

Deprecated: Use FieldType.Descriptor instead.

func (FieldType) Number

func (x FieldType) Number() protoreflect.EnumNumber

func (FieldType) String

func (x FieldType) String() string

func (FieldType) Type

type FileBytes

type FileBytes struct {
	FileBytes []byte `protobuf:"bytes,1,opt,name=fileBytes,proto3" json:"fileBytes,omitempty"`
	// contains filtered or unexported fields
}

Represents a file as raw byte data.

func (*FileBytes) Descriptor deprecated

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

Deprecated: Use FileBytes.ProtoReflect.Descriptor instead.

func (*FileBytes) GetFileBytes

func (x *FileBytes) GetFileBytes() []byte

func (*FileBytes) ProtoMessage

func (*FileBytes) ProtoMessage()

func (*FileBytes) ProtoReflect

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

func (*FileBytes) Reset

func (x *FileBytes) Reset()

func (*FileBytes) String

func (x *FileBytes) String() string

type Filter

type Filter struct {

	// Array of column names to filter results by.
	FilterField []string `protobuf:"bytes,1,rep,name=filterField,proto3" json:"filterField,omitempty"`
	// Array of values to test against the filter fields.
	FilterValue []string `protobuf:"bytes,2,rep,name=filterValue,proto3" json:"filterValue,omitempty"`
	// will be whitelisted operators in io core
	FilterOperator []string `protobuf:"bytes,3,rep,name=filterOperator,proto3" json:"filterOperator,omitempty"`
	// contains filtered or unexported fields
}

Basic filter structure used for querying data.

func (*Filter) Descriptor deprecated

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

Deprecated: Use Filter.ProtoReflect.Descriptor instead.

func (*Filter) GetFilterField

func (x *Filter) GetFilterField() []string

func (*Filter) GetFilterOperator

func (x *Filter) GetFilterOperator() []string

func (*Filter) GetFilterValue

func (x *Filter) GetFilterValue() []string

func (*Filter) ProtoMessage

func (*Filter) ProtoMessage()

func (*Filter) ProtoReflect

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

func (*Filter) Reset

func (x *Filter) Reset()

func (*Filter) String

func (x *Filter) String() string

type FilterGroup

type FilterGroup struct {

	// Use AND or OR conditions to join each filter field. E.g. (tier_id = bronze AND tier_id = silver) (tier_id = bronze OR tier_id = silver)
	Condition Operator `protobuf:"varint,1,opt,name=condition,proto3,enum=io.Operator" json:"condition,omitempty"`
	// Filter fields.
	FieldFilters []*FieldFilter `protobuf:"bytes,2,rep,name=fieldFilters,proto3" json:"fieldFilters,omitempty"`
	// contains filtered or unexported fields
}

A group of field filters, combined using a logical condition (AND/OR).

func (*FilterGroup) Descriptor deprecated

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

Deprecated: Use FilterGroup.ProtoReflect.Descriptor instead.

func (*FilterGroup) GetCondition

func (x *FilterGroup) GetCondition() Operator

func (*FilterGroup) GetFieldFilters

func (x *FilterGroup) GetFieldFilters() []*FieldFilter

func (*FilterGroup) ProtoMessage

func (*FilterGroup) ProtoMessage()

func (*FilterGroup) ProtoReflect

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

func (*FilterGroup) Reset

func (x *FilterGroup) Reset()

func (*FilterGroup) String

func (x *FilterGroup) String() string

type Filters

type Filters struct {

	// Limit the number of records returned. If not specified, a default of 25 is used.  Enter -1 for all records.
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Allows you to offset the first record returned by the limit.
	Offset       int32          `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	FilterGroups []*FilterGroup `protobuf:"bytes,3,rep,name=filterGroups,proto3" json:"filterGroups,omitempty"`
	// Field to order results by.
	OrderBy string `protobuf:"bytes,4,opt,name=orderBy,proto3" json:"orderBy,omitempty"`
	// Will return in ascending order if true, or descending order if false.
	OrderAsc bool `protobuf:"varint,5,opt,name=orderAsc,proto3" json:"orderAsc,omitempty"`
	// contains filtered or unexported fields
}

Filters applies multiple filter conditions to retrieve matched records.

func (*Filters) Descriptor deprecated

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

Deprecated: Use Filters.ProtoReflect.Descriptor instead.

func (*Filters) GetFilterGroups

func (x *Filters) GetFilterGroups() []*FilterGroup

func (*Filters) GetLimit

func (x *Filters) GetLimit() int32

func (*Filters) GetOffset

func (x *Filters) GetOffset() int32

func (*Filters) GetOrderAsc

func (x *Filters) GetOrderAsc() bool

func (*Filters) GetOrderBy

func (x *Filters) GetOrderBy() string

func (*Filters) ProtoMessage

func (*Filters) ProtoMessage()

func (*Filters) ProtoReflect

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

func (*Filters) Reset

func (x *Filters) Reset()

func (*Filters) String

func (x *Filters) String() string

type FlightAnalyticsFilter

type FlightAnalyticsFilter struct {

	// @tag: validateGeneric:"required_with=DepartureDate BoardingPoint DeplaningPoint"
	FlightNumber string `` /* 152-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=BoardingPoint DeplaningPoint"
	DepartureDate *Date `` /* 140-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=DepartureDate DeplaningPoint"
	BoardingPoint string `` /* 140-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=DepartureDate BoardingPoint"
	DeplaningPoint string `` /* 141-byte string literal not displayed */
	// contains filtered or unexported fields
}

FlightAnalyticsFilter filter analytics by flight or/and flight designator. FlightNumber, departureDate, boardingPoint and deplaningPoint are required to filter by flight.

func (*FlightAnalyticsFilter) Descriptor deprecated

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

Deprecated: Use FlightAnalyticsFilter.ProtoReflect.Descriptor instead.

func (*FlightAnalyticsFilter) GetBoardingPoint

func (x *FlightAnalyticsFilter) GetBoardingPoint() string

func (*FlightAnalyticsFilter) GetDepartureDate

func (x *FlightAnalyticsFilter) GetDepartureDate() *Date

func (*FlightAnalyticsFilter) GetDeplaningPoint

func (x *FlightAnalyticsFilter) GetDeplaningPoint() string

func (*FlightAnalyticsFilter) GetFlightNumber

func (x *FlightAnalyticsFilter) GetFlightNumber() string

func (*FlightAnalyticsFilter) ProtoMessage

func (*FlightAnalyticsFilter) ProtoMessage()

func (*FlightAnalyticsFilter) ProtoReflect

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

func (*FlightAnalyticsFilter) Reset

func (x *FlightAnalyticsFilter) Reset()

func (*FlightAnalyticsFilter) String

func (x *FlightAnalyticsFilter) String() string

type GPSLocation

type GPSLocation struct {

	// System generated unique identifier for your GPS Location.
	// @tag: validateCreate:"omitempty,uuidCompressedString" validateUpdate:"required,uuidCompressedString"
	Id string `` /* 152-byte string literal not displayed */
	// a friendly name for the location used to display the location in the admin portal. Maximum length 45 characters.
	// @tag: validateGeneric:"max=45" validateCreate:"max=45" validateUpdate:"max=45"
	Name string `` /* 134-byte string literal not displayed */
	// Latitude.
	// @tag: validateGeneric:"required_without=Id,latitude" validateCreate:"required_without=Id,latitude" validateUpdate:"required_without=Id,latitude"
	Lat float64 `` /* 200-byte string literal not displayed */
	// Longitude.
	// @tag: validateGeneric:"required_with=Lat,required_without=Id,longitude" validateCreate:"required_with=Lat,required_without=Id,longitude" validateUpdate:"required_with=Lat,required_without=Id,longitude"
	Lon float64 `` /* 257-byte string literal not displayed */
	// Altitude in metres.
	// @tag: validateGeneric:"omitempty,max=8848" validateCreate:"omitempty,max=8848" validateUpdate:"omitempty,max=8848"
	Alt int32 `` /* 169-byte string literal not displayed */
	// Message to be displayed on lock screen when user is in the location (iOS only). Maximum length 255 characters.
	// @tag: validateGeneric:"required_without=Id,max=255" validateCreate:"required_without=Id,max=255" validateUpdate:"required_without=Id,max=255"
	LockScreenMessage string `` /* 223-byte string literal not displayed */
	// Localized lock screen message.
	LocalizedLockScreenMessage *LocalizedString `protobuf:"bytes,7,opt,name=localizedLockScreenMessage,proto3" json:"localizedLockScreenMessage,omitempty"`
	// Locations will be added in order of their position, from lowest to highest. Position can be any value, E.g. 3 Locations with positions 30, 10, 20 would be added 10 first, 20 second and 30 third.  If no position is provided and the number of locations exceeds 10, there is no guarantee which location(s) would be excluded from the pass.
	Position uint32 `protobuf:"varint,8,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

Locations provide a broader range using GPS to trigger a lockscreen message.

func (*GPSLocation) Descriptor deprecated

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

Deprecated: Use GPSLocation.ProtoReflect.Descriptor instead.

func (*GPSLocation) GetAlt

func (x *GPSLocation) GetAlt() int32

func (*GPSLocation) GetId

func (x *GPSLocation) GetId() string

func (*GPSLocation) GetLat

func (x *GPSLocation) GetLat() float64

func (*GPSLocation) GetLocalizedLockScreenMessage

func (x *GPSLocation) GetLocalizedLockScreenMessage() *LocalizedString

func (*GPSLocation) GetLockScreenMessage

func (x *GPSLocation) GetLockScreenMessage() string

func (*GPSLocation) GetLon

func (x *GPSLocation) GetLon() float64

func (*GPSLocation) GetName

func (x *GPSLocation) GetName() string

func (*GPSLocation) GetPosition

func (x *GPSLocation) GetPosition() uint32

func (*GPSLocation) ProtoMessage

func (*GPSLocation) ProtoMessage()

func (*GPSLocation) ProtoReflect

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

func (*GPSLocation) Reset

func (x *GPSLocation) Reset()

func (*GPSLocation) String

func (x *GPSLocation) String() string

type Gender

type Gender int32

Gender, as per government issued id.

const (
	// Use only where gender is not known
	Gender_NOT_KNOWN Gender = 0
	// Male
	Gender_MALE Gender = 1
	// Female
	Gender_FEMALE Gender = 2
)

func (Gender) Descriptor

func (Gender) Descriptor() protoreflect.EnumDescriptor

func (Gender) Enum

func (x Gender) Enum() *Gender

func (Gender) EnumDescriptor deprecated

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

Deprecated: Use Gender.Descriptor instead.

func (Gender) Number

func (x Gender) Number() protoreflect.EnumNumber

func (Gender) String

func (x Gender) String() string

func (Gender) Type

func (Gender) Type() protoreflect.EnumType

type GetMessageHistoryResponse

type GetMessageHistoryResponse struct {
	Messages []*GetMessageResponse `protobuf:"bytes,1,rep,name=messages,proto3" json:"messages,omitempty"`
	// contains filtered or unexported fields
}

Response containing a list of message history records.

func (*GetMessageHistoryResponse) Descriptor deprecated

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

Deprecated: Use GetMessageHistoryResponse.ProtoReflect.Descriptor instead.

func (*GetMessageHistoryResponse) GetMessages

func (x *GetMessageHistoryResponse) GetMessages() []*GetMessageResponse

func (*GetMessageHistoryResponse) ProtoMessage

func (*GetMessageHistoryResponse) ProtoMessage()

func (*GetMessageHistoryResponse) ProtoReflect

func (*GetMessageHistoryResponse) Reset

func (x *GetMessageHistoryResponse) Reset()

func (*GetMessageHistoryResponse) String

func (x *GetMessageHistoryResponse) String() string

type GetMessageResponse

type GetMessageResponse struct {

	// The full message object including content, title, timing, etc.
	Message *Message `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Current status of the message (e.g. ACTIVE, EXPIRED).
	Status MessageStatus `protobuf:"varint,2,opt,name=status,proto3,enum=io.MessageStatus" json:"status,omitempty"`
	// Number of recipients the message was delivered to.
	Recipients uint32 `protobuf:"varint,3,opt,name=recipients,proto3" json:"recipients,omitempty"`
	// Timestamp when the message was distributed (sent).
	DistributedAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=distributedAt,proto3" json:"distributedAt,omitempty"`
	// Timestamp when the message was withdrawn (no longer displayed).
	WithdrawnAt *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=withdrawnAt,proto3" json:"withdrawnAt,omitempty"`
	// Timestamp when the message was created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// Timestamp when the message was last updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

Response containing metadata for a single message.

func (*GetMessageResponse) Descriptor deprecated

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

Deprecated: Use GetMessageResponse.ProtoReflect.Descriptor instead.

func (*GetMessageResponse) GetCreatedAt

func (x *GetMessageResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetMessageResponse) GetDistributedAt

func (x *GetMessageResponse) GetDistributedAt() *timestamppb.Timestamp

func (*GetMessageResponse) GetMessage

func (x *GetMessageResponse) GetMessage() *Message

func (*GetMessageResponse) GetRecipients

func (x *GetMessageResponse) GetRecipients() uint32

func (*GetMessageResponse) GetStatus

func (x *GetMessageResponse) GetStatus() MessageStatus

func (*GetMessageResponse) GetUpdatedAt

func (x *GetMessageResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*GetMessageResponse) GetWithdrawnAt

func (x *GetMessageResponse) GetWithdrawnAt() *timestamppb.Timestamp

func (*GetMessageResponse) ProtoMessage

func (*GetMessageResponse) ProtoMessage()

func (*GetMessageResponse) ProtoReflect

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

func (*GetMessageResponse) Reset

func (x *GetMessageResponse) Reset()

func (*GetMessageResponse) String

func (x *GetMessageResponse) String() string

type GetMessagesForProtocolRequest

type GetMessagesForProtocolRequest struct {

	// Optional protocol.  If no protocol is provided, all messages for the company that meet the pagination criteria will be returned.
	// @tag "validateGeneric:required_with:ClassId"
	Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
	// Optional class id must be provided if protocol is not empty.
	// @tag "validateGeneric:required_with:Protocol"
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty"`
	// Optional pagination criteria. If not provided, then all messages for the class will be returned. Ignored if protocol not provided.
	Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

If no parameters are provided, all messages will be returned

func (*GetMessagesForProtocolRequest) Descriptor deprecated

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

Deprecated: Use GetMessagesForProtocolRequest.ProtoReflect.Descriptor instead.

func (*GetMessagesForProtocolRequest) GetClassId

func (x *GetMessagesForProtocolRequest) GetClassId() string

func (*GetMessagesForProtocolRequest) GetPagination

func (x *GetMessagesForProtocolRequest) GetPagination() *Pagination

func (*GetMessagesForProtocolRequest) GetProtocol

func (x *GetMessagesForProtocolRequest) GetProtocol() string

func (*GetMessagesForProtocolRequest) ProtoMessage

func (*GetMessagesForProtocolRequest) ProtoMessage()

func (*GetMessagesForProtocolRequest) ProtoReflect

func (*GetMessagesForProtocolRequest) Reset

func (x *GetMessagesForProtocolRequest) Reset()

func (*GetMessagesForProtocolRequest) String

type GetTeamMemberResponse added in v1.1.118

type GetTeamMemberResponse struct {
	User        *GetUserResponse       `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Permissions *TeamMemberPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty"`
	// contains filtered or unexported fields
}

func (*GetTeamMemberResponse) Descriptor deprecated added in v1.1.118

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

Deprecated: Use GetTeamMemberResponse.ProtoReflect.Descriptor instead.

func (*GetTeamMemberResponse) GetPermissions added in v1.1.118

func (x *GetTeamMemberResponse) GetPermissions() *TeamMemberPermissions

func (*GetTeamMemberResponse) GetUser added in v1.1.118

func (x *GetTeamMemberResponse) GetUser() *GetUserResponse

func (*GetTeamMemberResponse) ProtoMessage added in v1.1.118

func (*GetTeamMemberResponse) ProtoMessage()

func (*GetTeamMemberResponse) ProtoReflect added in v1.1.118

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

func (*GetTeamMemberResponse) Reset added in v1.1.118

func (x *GetTeamMemberResponse) Reset()

func (*GetTeamMemberResponse) String added in v1.1.118

func (x *GetTeamMemberResponse) String() string

type GetUserResponse

type GetUserResponse struct {
	Email           string                 `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	Username        string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	CompanyId       string                 `protobuf:"bytes,3,opt,name=companyId,proto3" json:"companyId,omitempty"`
	CompanyName     string                 `protobuf:"bytes,4,opt,name=companyName,proto3" json:"companyName,omitempty"`
	CompanyStatus   uint64                 `protobuf:"varint,5,opt,name=companyStatus,proto3" json:"companyStatus,omitempty"` // used for checking production, etc.
	CreatedAt       *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	ExpiresAt       *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
	RegionId        string                 `protobuf:"bytes,8,opt,name=regionId,proto3" json:"regionId,omitempty"`
	UserStatus      uint64                 `protobuf:"varint,9,opt,name=userStatus,proto3" json:"userStatus,omitempty"`
	UserPermissions uint64                 `protobuf:"varint,10,opt,name=userPermissions,proto3" json:"userPermissions,omitempty"`
	UserId          string                 `protobuf:"bytes,11,opt,name=userId,proto3" json:"userId,omitempty"`
	// contains filtered or unexported fields
}

Response used by getUser.

func (*GetUserResponse) Descriptor deprecated

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

Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.

func (*GetUserResponse) GetCompanyId

func (x *GetUserResponse) GetCompanyId() string

func (*GetUserResponse) GetCompanyName

func (x *GetUserResponse) GetCompanyName() string

func (*GetUserResponse) GetCompanyStatus

func (x *GetUserResponse) GetCompanyStatus() uint64

func (*GetUserResponse) GetCreatedAt

func (x *GetUserResponse) GetCreatedAt() *timestamppb.Timestamp

func (*GetUserResponse) GetEmail

func (x *GetUserResponse) GetEmail() string

func (*GetUserResponse) GetExpiresAt

func (x *GetUserResponse) GetExpiresAt() *timestamppb.Timestamp

func (*GetUserResponse) GetRegionId

func (x *GetUserResponse) GetRegionId() string

func (*GetUserResponse) GetUserId added in v1.1.123

func (x *GetUserResponse) GetUserId() string

func (*GetUserResponse) GetUserPermissions added in v1.1.118

func (x *GetUserResponse) GetUserPermissions() uint64

func (*GetUserResponse) GetUserStatus added in v1.1.118

func (x *GetUserResponse) GetUserStatus() uint64

func (*GetUserResponse) GetUsername

func (x *GetUserResponse) GetUsername() string

func (*GetUserResponse) ProtoMessage

func (*GetUserResponse) ProtoMessage()

func (*GetUserResponse) ProtoReflect

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

func (*GetUserResponse) Reset

func (x *GetUserResponse) Reset()

func (*GetUserResponse) String

func (x *GetUserResponse) String() string

type GoogleAnalyticsCustomerInitiatedRedemptionPageEvent

type GoogleAnalyticsCustomerInitiatedRedemptionPageEvent int32

Enum of events used on the customer-initiated redemption page for Google Analytics.

const (
	GoogleAnalyticsCustomerInitiatedRedemptionPageEvent_GA_CIRP_EVENT_DO_NOT_USE GoogleAnalyticsCustomerInitiatedRedemptionPageEvent = 0
	// This is the default GA event tracking page visits.
	GoogleAnalyticsCustomerInitiatedRedemptionPageEvent_GA_CIRP_EVENT_PAGE_VIEW GoogleAnalyticsCustomerInitiatedRedemptionPageEvent = 1
	// When a user redeems the coupon.
	GoogleAnalyticsCustomerInitiatedRedemptionPageEvent_GA_CIRP_EVENT_REDEEM GoogleAnalyticsCustomerInitiatedRedemptionPageEvent = 2
)

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) Descriptor

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) Enum

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) EnumDescriptor deprecated

Deprecated: Use GoogleAnalyticsCustomerInitiatedRedemptionPageEvent.Descriptor instead.

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) Number

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) String

func (GoogleAnalyticsCustomerInitiatedRedemptionPageEvent) Type

type GoogleAnalyticsDataCollectionPageEvent

type GoogleAnalyticsDataCollectionPageEvent int32

Enum of events used on the data collection page for Google Analytics.

const (
	GoogleAnalyticsDataCollectionPageEvent_GA_DC_EVENT_DO_NOT_USE GoogleAnalyticsDataCollectionPageEvent = 0
	// This is the default GA even tracking page visits.
	GoogleAnalyticsDataCollectionPageEvent_GA_DC_EVENT_PAGE_VIEW GoogleAnalyticsDataCollectionPageEvent = 1
	// When a user submits the data collection form.
	GoogleAnalyticsDataCollectionPageEvent_GA_DC_EVENT_SUBMIT_FORM GoogleAnalyticsDataCollectionPageEvent = 2
)

func (GoogleAnalyticsDataCollectionPageEvent) Descriptor

func (GoogleAnalyticsDataCollectionPageEvent) Enum

func (GoogleAnalyticsDataCollectionPageEvent) EnumDescriptor deprecated

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

Deprecated: Use GoogleAnalyticsDataCollectionPageEvent.Descriptor instead.

func (GoogleAnalyticsDataCollectionPageEvent) Number

func (GoogleAnalyticsDataCollectionPageEvent) String

func (GoogleAnalyticsDataCollectionPageEvent) Type

type GoogleAnalyticsPassRenderPageEvent

type GoogleAnalyticsPassRenderPageEvent int32

Enum of events used on the pass render page for Google Analytics.

const (
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_DO_NOT_USE GoogleAnalyticsPassRenderPageEvent = 0
	// This is the default GA event tracking page visits.
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_PAGE_VIEW GoogleAnalyticsPassRenderPageEvent = 1
	// When a user clicks the Add to Apple Wallet button.
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_ADD_TO_APPLE_WALLET_CLICK GoogleAnalyticsPassRenderPageEvent = 2
	// When a user clicks the view pass in Apple Wallet button.
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_VIEW_PASS_IN_APPLE_WALLET_CLICK GoogleAnalyticsPassRenderPageEvent = 3
	// When a user clicks the Save to Google Pay button.
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_SAVE_TO_GOOGLE_PAY_CLICK GoogleAnalyticsPassRenderPageEvent = 4
	// When a user switches the language.
	GoogleAnalyticsPassRenderPageEvent_GA_PP_EVENT_CHANGE_LANGUAGE GoogleAnalyticsPassRenderPageEvent = 5
)

func (GoogleAnalyticsPassRenderPageEvent) Descriptor

func (GoogleAnalyticsPassRenderPageEvent) Enum

func (GoogleAnalyticsPassRenderPageEvent) EnumDescriptor deprecated

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

Deprecated: Use GoogleAnalyticsPassRenderPageEvent.Descriptor instead.

func (GoogleAnalyticsPassRenderPageEvent) Number

func (GoogleAnalyticsPassRenderPageEvent) String

func (GoogleAnalyticsPassRenderPageEvent) Type

type GoogleAnalyticsSettings

type GoogleAnalyticsSettings struct {

	// list of Google Analytics ID's to track ('UA-XXXXX-Y', 'UA-XXXXX-B', etc).
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	TrackingIds []string `` /* 155-byte string literal not displayed */
	// Events to send to Google on the data collection page.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	DataCollectionPageEvents []GoogleAnalyticsDataCollectionPageEvent `` /* 238-byte string literal not displayed */
	// Events to send to Google on the pass render page.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	PassRenderPageEvents []GoogleAnalyticsPassRenderPageEvent `` /* 226-byte string literal not displayed */
	// Events to send to Google on the custom initiated redemption page.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	CustomerInitiatedRedemption []GoogleAnalyticsCustomerInitiatedRedemptionPageEvent `` /* 257-byte string literal not displayed */
	// contains filtered or unexported fields
}

Google Analytics configuration for different page views and events.

func (*GoogleAnalyticsSettings) Descriptor deprecated

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

Deprecated: Use GoogleAnalyticsSettings.ProtoReflect.Descriptor instead.

func (*GoogleAnalyticsSettings) GetCustomerInitiatedRedemption

func (*GoogleAnalyticsSettings) GetDataCollectionPageEvents

func (x *GoogleAnalyticsSettings) GetDataCollectionPageEvents() []GoogleAnalyticsDataCollectionPageEvent

func (*GoogleAnalyticsSettings) GetPassRenderPageEvents

func (x *GoogleAnalyticsSettings) GetPassRenderPageEvents() []GoogleAnalyticsPassRenderPageEvent

func (*GoogleAnalyticsSettings) GetTrackingIds

func (x *GoogleAnalyticsSettings) GetTrackingIds() []string

func (*GoogleAnalyticsSettings) ProtoMessage

func (*GoogleAnalyticsSettings) ProtoMessage()

func (*GoogleAnalyticsSettings) ProtoReflect

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

func (*GoogleAnalyticsSettings) Reset

func (x *GoogleAnalyticsSettings) Reset()

func (*GoogleAnalyticsSettings) String

func (x *GoogleAnalyticsSettings) String() string

type GooglePayApp

type GooglePayApp struct {

	// Link to an associated app on the Google Play Store
	Url *Url `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	// Localized title of the Android App
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// Title of the Android App
	LocalizedTitle *LocalizedString `protobuf:"bytes,3,opt,name=localizedTitle,proto3" json:"localizedTitle,omitempty"`
	// Description of the Android App
	Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"`
	// Localized description of the Android App
	LocalizedDescription *LocalizedString `protobuf:"bytes,5,opt,name=localizedDescription,proto3" json:"localizedDescription,omitempty"`
	// Clickable link description of the Android App
	UrlDescription string `protobuf:"bytes,6,opt,name=urlDescription,proto3" json:"urlDescription,omitempty"`
	// Localized clickable link description of the Android App
	LocalizedUrlDescription *LocalizedString `protobuf:"bytes,7,opt,name=localizedUrlDescription,proto3" json:"localizedUrlDescription,omitempty"`
	// contains filtered or unexported fields
}

Settings to render an app on the head of a pass. Apps can be Android, iOS or Web.

func (*GooglePayApp) Descriptor deprecated

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

Deprecated: Use GooglePayApp.ProtoReflect.Descriptor instead.

func (*GooglePayApp) GetDescription

func (x *GooglePayApp) GetDescription() string

func (*GooglePayApp) GetLocalizedDescription

func (x *GooglePayApp) GetLocalizedDescription() *LocalizedString

func (*GooglePayApp) GetLocalizedTitle

func (x *GooglePayApp) GetLocalizedTitle() *LocalizedString

func (*GooglePayApp) GetLocalizedUrlDescription

func (x *GooglePayApp) GetLocalizedUrlDescription() *LocalizedString

func (*GooglePayApp) GetTitle

func (x *GooglePayApp) GetTitle() string

func (*GooglePayApp) GetUrl

func (x *GooglePayApp) GetUrl() *Url

func (*GooglePayApp) GetUrlDescription

func (x *GooglePayApp) GetUrlDescription() string

func (*GooglePayApp) ProtoMessage

func (*GooglePayApp) ProtoMessage()

func (*GooglePayApp) ProtoReflect

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

func (*GooglePayApp) Reset

func (x *GooglePayApp) Reset()

func (*GooglePayApp) String

func (x *GooglePayApp) String() string

type GooglePayField

type GooglePayField int32

Enumeration of supported fields for Google Pay passes.

const (
	GooglePayField_GOOGLE_PAY_FIELD_DO_NOT_USE GooglePayField = 0
	// Boarding 1-99
	GooglePayField_GOOGLE_PAY_BOARDING_AIRLINE_NAME    GooglePayField = 1
	GooglePayField_GOOGLE_PAY_BOARDING_AIRLINE_CODE    GooglePayField = 2
	GooglePayField_GOOGLE_PAY_BOARDING_ORIGIN          GooglePayField = 3
	GooglePayField_GOOGLE_PAY_BOARDING_DESTINATION     GooglePayField = 4
	GooglePayField_GOOGLE_PAY_BOARDING_ORIGIN_TERMINAL GooglePayField = 5
	GooglePayField_GOOGLE_PAY_BOARDING_ORIGIN_GATE     GooglePayField = 6
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_BOARDING_BOARDING_TIME         GooglePayField = 7
	GooglePayField_GOOGLE_PAY_BOARDING_PASSENGER_NAME        GooglePayField = 8
	GooglePayField_GOOGLE_PAY_BOARDING_ZONE_GROUP            GooglePayField = 9
	GooglePayField_GOOGLE_PAY_BOARDING_SEAT                  GooglePayField = 10
	GooglePayField_GOOGLE_PAY_BOARDING_BOARDING_POSITION     GooglePayField = 11
	GooglePayField_GOOGLE_PAY_BOARDING_BOARDING_SEQUENCE     GooglePayField = 12
	GooglePayField_GOOGLE_PAY_BOARDING_BOARDING_DOOR         GooglePayField = 13
	GooglePayField_GOOGLE_PAY_BOARDING_FLIGHT_NUMBER         GooglePayField = 14
	GooglePayField_GOOGLE_PAY_BOARDING_CONFIRMATION_NUMBER   GooglePayField = 15
	GooglePayField_GOOGLE_PAY_BOARDING_TICKET_NUMBER         GooglePayField = 16
	GooglePayField_GOOGLE_PAY_BOARDING_FREQUENT_FLYER_NUMBER GooglePayField = 17
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_BOARDING_GATE_CLOSES GooglePayField = 18
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_BOARDING_DEPARTURE_TIME GooglePayField = 19
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_BOARDING_ARRIVAL_TIME     GooglePayField = 20
	GooglePayField_GOOGLE_PAY_BOARDING_ARRIVAL_TERMINAL GooglePayField = 21
	GooglePayField_GOOGLE_PAY_BOARDING_ARRIVAL_GATE     GooglePayField = 22
	// Event 100-199
	GooglePayField_GOOGLE_PAY_EVENT_NAME          GooglePayField = 100
	GooglePayField_GOOGLE_PAY_EVENT_VENUE_NAME    GooglePayField = 101
	GooglePayField_GOOGLE_PAY_EVENT_VENUE_ADDRESS GooglePayField = 102
	GooglePayField_GOOGLE_PAY_EVENT_GATE          GooglePayField = 103
	GooglePayField_GOOGLE_PAY_EVENT_SECTION       GooglePayField = 104
	GooglePayField_GOOGLE_PAY_EVENT_ROW           GooglePayField = 105
	GooglePayField_GOOGLE_PAY_EVENT_SEAT          GooglePayField = 106
	GooglePayField_GOOGLE_PAY_EVENT_TICKET_HOLDER GooglePayField = 107
	GooglePayField_GOOGLE_PAY_EVENT_DOORS_OPEN    GooglePayField = 108
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_EVENT_START GooglePayField = 109
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_EVENT_END                 GooglePayField = 110
	GooglePayField_GOOGLE_PAY_EVENT_TICKET_TYPE         GooglePayField = 111
	GooglePayField_GOOGLE_PAY_EVENT_TICKET_NUMBER       GooglePayField = 112
	GooglePayField_GOOGLE_PAY_EVENT_CONFIRMATION_NUMBER GooglePayField = 113
	// This field must be of type Currency
	GooglePayField_GOOGLE_PAY_EVENT_FACE_VALUE GooglePayField = 114
	GooglePayField_GOOGLE_PAY_EVENT_FINE_PRINT GooglePayField = 115
	// Gift 200-299
	GooglePayField_GOOGLE_PAY_GIFT_MERCHANT_NAME GooglePayField = 200
	// This field must be of type Currency
	GooglePayField_GOOGLE_PAY_GIFT_BALANCE GooglePayField = 201
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_GIFT_CARD_NUMBER         GooglePayField = 202
	GooglePayField_GOOGLE_PAY_GIFT_BALANCE_UPDATE_TIME GooglePayField = 203
	GooglePayField_GOOGLE_PAY_GIFT_PIN                 GooglePayField = 204
	GooglePayField_GOOGLE_PAY_GIFT_EVENT_NUMBER        GooglePayField = 205
	// Loyalty 300-399
	GooglePayField_GOOGLE_PAY_LOYALTY_PROGRAM_NAME           GooglePayField = 300
	GooglePayField_GOOGLE_PAY_LOYALTY_POINTS                 GooglePayField = 301
	GooglePayField_GOOGLE_PAY_LOYALTY_SECONDARY_POINTS       GooglePayField = 302
	GooglePayField_GOOGLE_PAY_LOYALTY_ACCOUNT_NAME           GooglePayField = 303
	GooglePayField_GOOGLE_PAY_LOYALTY_ACCOUNT_ID             GooglePayField = 304
	GooglePayField_GOOGLE_PAY_LOYALTY_REWARDS_TIER           GooglePayField = 305
	GooglePayField_GOOGLE_PAY_LOYALTY_SECONDARY_REWARDS_TIER GooglePayField = 306
	// Offer 400-499
	GooglePayField_GOOGLE_PAY_OFFER_TITLE       GooglePayField = 400
	GooglePayField_GOOGLE_PAY_OFFER_PROVIDER    GooglePayField = 401
	GooglePayField_GOOGLE_PAY_OFFER_DETAILS     GooglePayField = 402
	GooglePayField_GOOGLE_PAY_OFFER_FINE_PRINT  GooglePayField = 403
	GooglePayField_GOOGLE_PAY_OFFER_SHORT_TITLE GooglePayField = 404
	// Transit 500-599
	GooglePayField_GOOGLE_PAY_TRANSIT_ISSUER_NAME    GooglePayField = 500
	GooglePayField_GOOGLE_PAY_TRANSIT_DEPARTURE      GooglePayField = 501
	GooglePayField_GOOGLE_PAY_TRANSIT_DEPARTURE_TIME GooglePayField = 502
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_TRANSIT_VALID_FROM GooglePayField = 503
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_TRANSIT_VALID_UNTIL               GooglePayField = 504
	GooglePayField_GOOGLE_PAY_TRANSIT_ARRIVAL                   GooglePayField = 505
	GooglePayField_GOOGLE_PAY_TRANSIT_PASSENGER_NAMES           GooglePayField = 506
	GooglePayField_GOOGLE_PAY_TRANSIT_CARRIAGE                  GooglePayField = 507
	GooglePayField_GOOGLE_PAY_TRANSIT_COACH                     GooglePayField = 508
	GooglePayField_GOOGLE_PAY_TRANSIT_SEAT                      GooglePayField = 509
	GooglePayField_GOOGLE_PAY_TRANSIT_TICKET_NUMBER             GooglePayField = 510
	GooglePayField_GOOGLE_PAY_TRANSIT_TICKET_STATUS             GooglePayField = 511
	GooglePayField_GOOGLE_PAY_TRANSIT_FARE_NAME                 GooglePayField = 512
	GooglePayField_GOOGLE_PAY_TRANSIT_PLATFORM                  GooglePayField = 513
	GooglePayField_GOOGLE_PAY_TRANSIT_ZONE                      GooglePayField = 514
	GooglePayField_GOOGLE_PAY_TRANSIT_FARE_CLASS                GooglePayField = 515
	GooglePayField_GOOGLE_PAY_TRANSIT_CONCESSION_CATEGORY       GooglePayField = 516
	GooglePayField_GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTIONS        GooglePayField = 517
	GooglePayField_GOOGLE_PAY_TRANSIT_ROUTE_RESTRICTION_DETAILS GooglePayField = 518
	GooglePayField_GOOGLE_PAY_TRANSIT_TIME_RESTRICTIONS         GooglePayField = 519
	GooglePayField_GOOGLE_PAY_TRANSIT_OTHER_RESTRICTIONS        GooglePayField = 520
	GooglePayField_GOOGLE_PAY_TRANSIT_RECEIPT_NUMBER            GooglePayField = 521
	// This field must be of type DateTime
	GooglePayField_GOOGLE_PAY_TRANSIT_PURCHASE_DATE     GooglePayField = 522
	GooglePayField_GOOGLE_PAY_TRANSIT_ACCOUNT_ID        GooglePayField = 523
	GooglePayField_GOOGLE_PAY_TRANSIT_CONFIRMATION_CODE GooglePayField = 524
	// This field must be of type Currency
	GooglePayField_GOOGLE_PAY_TRANSIT_FACE_VALUE GooglePayField = 525
	// This field must be of type Currency
	GooglePayField_GOOGLE_PAY_TRANSIT_PURCHASE_PRICE   GooglePayField = 526
	GooglePayField_GOOGLE_PAY_TRANSIT_DISCOUNT_MESSAGE GooglePayField = 527
	// Common Fields >= 1000
	GooglePayField_GOOGLE_PAY_TEXT_MODULE        GooglePayField = 1000
	GooglePayField_GOOGLE_PAY_ISSUER_NAME        GooglePayField = 1001
	GooglePayField_GOOGLE_PAY_STATIC_TEXT_MODULE GooglePayField = 1002
)

func (GooglePayField) Descriptor

func (GooglePayField) Enum

func (x GooglePayField) Enum() *GooglePayField

func (GooglePayField) EnumDescriptor deprecated

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

Deprecated: Use GooglePayField.Descriptor instead.

func (GooglePayField) Number

func (GooglePayField) String

func (x GooglePayField) String() string

func (GooglePayField) Type

type GooglePayFieldRenderOptions

type GooglePayFieldRenderOptions struct {

	// Determines which field the data will be mapped to on the Google Pay pass. Note, not all Google Pay fields support
	// labels or localization.  Where not supported, label and localization options will be ignored.
	GooglePayPosition GooglePayField `protobuf:"varint,1,opt,name=googlePayPosition,proto3,enum=io.GooglePayField" json:"googlePayPosition,omitempty"`
	// If the field type is a text module, the priority of the text module.
	TextModulePriority uint32 `protobuf:"varint,2,opt,name=textModulePriority,proto3" json:"textModulePriority,omitempty"`
	// contains filtered or unexported fields
}

Customise how data field is rendered on the front and back of the pass.

func (*GooglePayFieldRenderOptions) Descriptor deprecated

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

Deprecated: Use GooglePayFieldRenderOptions.ProtoReflect.Descriptor instead.

func (*GooglePayFieldRenderOptions) GetGooglePayPosition

func (x *GooglePayFieldRenderOptions) GetGooglePayPosition() GooglePayField

func (*GooglePayFieldRenderOptions) GetTextModulePriority

func (x *GooglePayFieldRenderOptions) GetTextModulePriority() uint32

func (*GooglePayFieldRenderOptions) ProtoMessage

func (*GooglePayFieldRenderOptions) ProtoMessage()

func (*GooglePayFieldRenderOptions) ProtoReflect

func (*GooglePayFieldRenderOptions) Reset

func (x *GooglePayFieldRenderOptions) Reset()

func (*GooglePayFieldRenderOptions) String

func (x *GooglePayFieldRenderOptions) String() string

type GooglePayPassType

type GooglePayPassType int32

Google Pay pass types

const (
	// Use if you do not wish to support Google Pay
	GooglePayPassType_GOOGLE_PAY_NOT_SUPPORTED GooglePayPassType = 0
	GooglePayPassType_EVENT                    GooglePayPassType = 1
	GooglePayPassType_FLIGHT                   GooglePayPassType = 2
	GooglePayPassType_GIFT                     GooglePayPassType = 3
	GooglePayPassType_LOYALTY                  GooglePayPassType = 4
	GooglePayPassType_OFFER                    GooglePayPassType = 5
	GooglePayPassType_TRANSIT                  GooglePayPassType = 6
)

func (GooglePayPassType) Descriptor

func (GooglePayPassType) Enum

func (GooglePayPassType) EnumDescriptor deprecated

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

Deprecated: Use GooglePayPassType.Descriptor instead.

func (GooglePayPassType) Number

func (GooglePayPassType) String

func (x GooglePayPassType) String() string

func (GooglePayPassType) Type

type GooglePaySettings

type GooglePaySettings struct {

	// Pass type
	PassType GooglePayPassType `protobuf:"varint,1,opt,name=passType,proto3,enum=io.GooglePayPassType" json:"passType,omitempty"`
	// Android App details
	AndroidApp *GooglePayApp `protobuf:"bytes,2,opt,name=androidApp,proto3" json:"androidApp,omitempty"`
	// IOS app details
	IosApp *GooglePayApp `protobuf:"bytes,3,opt,name=iosApp,proto3" json:"iosApp,omitempty"`
	// Web app details
	WebApp *GooglePayApp `protobuf:"bytes,4,opt,name=webApp,proto3" json:"webApp,omitempty"`
	// Custom template (takes a JSON ClassTemplateInfo object https://developers.google.com/pay/passes/rest/v1/ClassTemplateInfo)
	ClassTemplateInfo string `protobuf:"bytes,5,opt,name=classTemplateInfo,proto3" json:"classTemplateInfo,omitempty"`
	// Override template background color
	BackgroundColor string `protobuf:"bytes,6,opt,name=backgroundColor,proto3" json:"backgroundColor,omitempty"`
	// The pass localisation will be restricted to languages in this list. Currently only available to Boarding Passes and restricted to a single language. Google are working on supporting multiple overrides and we will update this documentation once multiple languages are available.
	LanguageOverrides []LanguageCode `protobuf:"varint,7,rep,packed,name=languageOverrides,proto3,enum=io.LanguageCode" json:"languageOverrides,omitempty"`
	// Specifies if the pass holder can take a screenshot of the pass.
	ScreenshotEligibility ScreenshotEligibility `` /* 126-byte string literal not displayed */
	// contains filtered or unexported fields
}

Pass settings only for Google Pay.

func (*GooglePaySettings) Descriptor deprecated

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

Deprecated: Use GooglePaySettings.ProtoReflect.Descriptor instead.

func (*GooglePaySettings) GetAndroidApp

func (x *GooglePaySettings) GetAndroidApp() *GooglePayApp

func (*GooglePaySettings) GetBackgroundColor

func (x *GooglePaySettings) GetBackgroundColor() string

func (*GooglePaySettings) GetClassTemplateInfo

func (x *GooglePaySettings) GetClassTemplateInfo() string

func (*GooglePaySettings) GetIosApp

func (x *GooglePaySettings) GetIosApp() *GooglePayApp

func (*GooglePaySettings) GetLanguageOverrides

func (x *GooglePaySettings) GetLanguageOverrides() []LanguageCode

func (*GooglePaySettings) GetPassType

func (x *GooglePaySettings) GetPassType() GooglePayPassType

func (*GooglePaySettings) GetScreenshotEligibility added in v1.1.123

func (x *GooglePaySettings) GetScreenshotEligibility() ScreenshotEligibility

func (*GooglePaySettings) GetWebApp

func (x *GooglePaySettings) GetWebApp() *GooglePayApp

func (*GooglePaySettings) ProtoMessage

func (*GooglePaySettings) ProtoMessage()

func (*GooglePaySettings) ProtoReflect

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

func (*GooglePaySettings) Reset

func (x *GooglePaySettings) Reset()

func (*GooglePaySettings) String

func (x *GooglePaySettings) String() string

type Id

type Id struct {

	// The unique identifier to an object or record.
	// @tag: validateGeneric:"required"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

A wrapper message for a single ID string.

func (*Id) Descriptor deprecated

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

Deprecated: Use Id.ProtoReflect.Descriptor instead.

func (*Id) GetId

func (x *Id) GetId() string

func (*Id) ProtoMessage

func (*Id) ProtoMessage()

func (*Id) ProtoReflect

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

func (*Id) Reset

func (x *Id) Reset()

func (*Id) String

func (x *Id) String() string

type Ids

type Ids struct {

	// An array of unique identifiers for objects or records.
	Id []string `protobuf:"bytes,1,rep,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

A list of object or record IDs.

func (*Ids) Descriptor deprecated

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

Deprecated: Use Ids.ProtoReflect.Descriptor instead.

func (*Ids) GetId

func (x *Ids) GetId() []string

func (*Ids) ProtoMessage

func (*Ids) ProtoMessage()

func (*Ids) ProtoReflect

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

func (*Ids) Reset

func (x *Ids) Reset()

func (*Ids) String

func (x *Ids) String() string

type ImageBundle

type ImageBundle struct {
	Image []byte `protobuf:"bytes,1,opt,name=image,proto3" json:"image,omitempty"`
	// contains filtered or unexported fields
}

A single binary image blob.

func (*ImageBundle) Descriptor deprecated

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

Deprecated: Use ImageBundle.ProtoReflect.Descriptor instead.

func (*ImageBundle) GetImage

func (x *ImageBundle) GetImage() []byte

func (*ImageBundle) ProtoMessage

func (*ImageBundle) ProtoMessage()

func (*ImageBundle) ProtoReflect

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

func (*ImageBundle) Reset

func (x *ImageBundle) Reset()

func (*ImageBundle) String

func (x *ImageBundle) String() string

type ImageData

type ImageData struct {

	// Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
	Icon string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"`
	Logo string `protobuf:"bytes,2,opt,name=logo,proto3" json:"logo,omitempty"`
	AppleLogo string `protobuf:"bytes,3,opt,name=appleLogo,proto3" json:"appleLogo,omitempty"`
	// Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
	Hero string `protobuf:"bytes,4,opt,name=hero,proto3" json:"hero,omitempty"`
	// Apple Wallet strip image for EventTicket pass types (1125px x 294px).
	EventStrip string `protobuf:"bytes,5,opt,name=eventStrip,proto3" json:"eventStrip,omitempty"`
	// Apple Wallet strip image for other pass types with a  strip image (1125px x 432px).
	Strip string `protobuf:"bytes,6,opt,name=strip,proto3" json:"strip,omitempty"`
	// Used on Membership passes and Apple event tickets with a background image (>=270px x >=270px in a ratio range of 2:3-3:2).
	Thumbnail string `protobuf:"bytes,7,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	// Used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality image.  Note it may also be slightly cropped on some devices (180px x 220px).
	Background string `protobuf:"bytes,8,opt,name=background,proto3" json:"background,omitempty"`
	// Displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px)
	Footer string `protobuf:"bytes,9,opt,name=footer,proto3" json:"footer,omitempty"`
	// Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®).  Width of 1600px is shared with the boarding privilege logo (<=1600px x 80px).
	Security string `protobuf:"bytes,10,opt,name=security,proto3" json:"security,omitempty"`
	// Google Pay - used to denote a boarding privilege.  Width of 1600px is shared with the security program logo (<=1600px x 80px).
	Privilege string `protobuf:"bytes,11,opt,name=privilege,proto3" json:"privilege,omitempty"`
	// Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
	AirlineAlliance string `protobuf:"bytes,12,opt,name=airlineAlliance,proto3" json:"airlineAlliance,omitempty"`
	// For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented (<=450px x 120px).
	Personalization string `protobuf:"bytes,13,opt,name=personalization,proto3" json:"personalization,omitempty"`
	// Used on a landing page or email.  Image has no size constraints and will be treated as @2x pixel density.
	Banner string `protobuf:"bytes,14,opt,name=banner,proto3" json:"banner,omitempty"`
	// Used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile website (1860px x <=930px).
	Message string `protobuf:"bytes,15,opt,name=message,proto3" json:"message,omitempty"`
	// Used for user Profile images (300px x 300px). Cannot be localized.
	Profile string `protobuf:"bytes,16,opt,name=profile,proto3" json:"profile,omitempty"`
	// Used for user app images in Google Pay Passes (300px x 300px). Cannot be localized.
	AppImage string `protobuf:"bytes,17,opt,name=appImage,proto3" json:"appImage,omitempty"`
	// Used for stamp and unstamped images for use with stamp/punch cards. Cannot be localized.
	StampedImage string `protobuf:"bytes,18,opt,name=stampedImage,proto3" json:"stampedImage,omitempty"`
	// Used for stamp and unstamped images for use with stamp/punch cards. Cannot be localized.
	UnstampedImage string `protobuf:"bytes,19,opt,name=unstampedImage,proto3" json:"unstampedImage,omitempty"`
	// Spec for a stamp image. Cannot be localized.
	StampConfig *StampImageConfig `protobuf:"bytes,20,opt,name=stampConfig,proto3" json:"stampConfig,omitempty"`
	WideLogo string `protobuf:"bytes,21,opt,name=wideLogo,proto3" json:"wideLogo,omitempty"`
	SecondaryLogo string `protobuf:"bytes,22,opt,name=secondaryLogo,proto3" json:"secondaryLogo,omitempty"`
	// Used in the background of Apple poster Event Tickets. Image should be a compelling visual representation of the event (1074px x 1344px).
	Artwork string `protobuf:"bytes,23,opt,name=artwork,proto3" json:"artwork,omitempty"`
	PrimaryLogo string `protobuf:"bytes,24,opt,name=primaryLogo,proto3" json:"primaryLogo,omitempty"`
	// Used to present a venue map for an Apple poster style Event Ticket.  Width should be Ratio should be at least 1320px wide and have a 16:9 or 4:5 to avoid cropping.
	VenueMap string `protobuf:"bytes,25,opt,name=venueMap,proto3" json:"venueMap,omitempty"`
	// Sets different icon images for non-default languages.
	LocalizedIcon *LocalizedString `protobuf:"bytes,31,opt,name=localizedIcon,proto3" json:"localizedIcon,omitempty"` // allow for future image types
	LocalizedLogo *LocalizedString `protobuf:"bytes,32,opt,name=localizedLogo,proto3" json:"localizedLogo,omitempty"`
	LocalizedAppleLogo *LocalizedString `protobuf:"bytes,33,opt,name=localizedAppleLogo,proto3" json:"localizedAppleLogo,omitempty"`
	// Sets different hero images for non-default languages.
	LocalizedHero *LocalizedString `protobuf:"bytes,34,opt,name=localizedHero,proto3" json:"localizedHero,omitempty"`
	// Sets different event strip images for non-default languages.
	LocalizedEventStrip *LocalizedString `protobuf:"bytes,35,opt,name=localizedEventStrip,proto3" json:"localizedEventStrip,omitempty"`
	// Sets different strip images for non-default languages.
	LocalizedStrip *LocalizedString `protobuf:"bytes,36,opt,name=localizedStrip,proto3" json:"localizedStrip,omitempty"`
	// Sets different thumbnail images for non-default languages.
	LocalizedThumbnail *LocalizedString `protobuf:"bytes,37,opt,name=localizedThumbnail,proto3" json:"localizedThumbnail,omitempty"`
	// Sets different background images for non-default languages.
	LocalizedBackground *LocalizedString `protobuf:"bytes,38,opt,name=localizedBackground,proto3" json:"localizedBackground,omitempty"`
	// Sets different footer images for non-default languages.
	LocalizedFooter *LocalizedString `protobuf:"bytes,39,opt,name=localizedFooter,proto3" json:"localizedFooter,omitempty"`
	// Sets different security images for non-default languages.
	LocalizedSecurity *LocalizedString `protobuf:"bytes,40,opt,name=localizedSecurity,proto3" json:"localizedSecurity,omitempty"`
	// Sets different privilege images for non-default languages.
	LocalizedPrivilege *LocalizedString `protobuf:"bytes,41,opt,name=localizedPrivilege,proto3" json:"localizedPrivilege,omitempty"`
	// Sets different airline alliance images for non-default languages.
	LocalizedAirlineAlliance *LocalizedString `protobuf:"bytes,42,opt,name=localizedAirlineAlliance,proto3" json:"localizedAirlineAlliance,omitempty"`
	// Sets different personalized images for non-default languages.
	LocalizedPersonalization *LocalizedString `protobuf:"bytes,43,opt,name=localizedPersonalization,proto3" json:"localizedPersonalization,omitempty"`
	// Sets different banner images for non-default languages.
	LocalizedBanner *LocalizedString `protobuf:"bytes,44,opt,name=localizedBanner,proto3" json:"localizedBanner,omitempty"`
	// Sets different message images for non-default languages.
	LocalizedMessage *LocalizedString `protobuf:"bytes,45,opt,name=localizedMessage,proto3" json:"localizedMessage,omitempty"`
	LocalizedWideLogo *LocalizedString `protobuf:"bytes,46,opt,name=localizedWideLogo,proto3" json:"localizedWideLogo,omitempty"`
	LocalizedSecondaryLogo *LocalizedString `protobuf:"bytes,47,opt,name=localizedSecondaryLogo,proto3" json:"localizedSecondaryLogo,omitempty"`
	// Sets different artwork images for non-default languages.
	LocalizedArtwork *LocalizedString `protobuf:"bytes,48,opt,name=localizedArtwork,proto3" json:"localizedArtwork,omitempty"`
	LocalizedPrimaryLogo *LocalizedString `protobuf:"bytes,49,opt,name=localizedPrimaryLogo,proto3" json:"localizedPrimaryLogo,omitempty"`
	// Sets different venueMap images for non-default languages.
	LocalizedVenueMap *LocalizedString `protobuf:"bytes,50,opt,name=localizedVenueMap,proto3" json:"localizedVenueMap,omitempty"`
	// contains filtered or unexported fields
}

Used to provide image data by use case, as either base64 or a URL. See image 'Use' enum for descriptions and sizes.

func (*ImageData) Descriptor deprecated

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

Deprecated: Use ImageData.ProtoReflect.Descriptor instead.

func (*ImageData) GetAirlineAlliance

func (x *ImageData) GetAirlineAlliance() string

func (*ImageData) GetAppImage

func (x *ImageData) GetAppImage() string
func (x *ImageData) GetAppleLogo() string

func (*ImageData) GetArtwork added in v1.1.118

func (x *ImageData) GetArtwork() string

func (*ImageData) GetBackground

func (x *ImageData) GetBackground() string

func (*ImageData) GetBanner

func (x *ImageData) GetBanner() string

func (*ImageData) GetEventStrip

func (x *ImageData) GetEventStrip() string

func (*ImageData) GetFooter

func (x *ImageData) GetFooter() string

func (*ImageData) GetHero

func (x *ImageData) GetHero() string

func (*ImageData) GetIcon

func (x *ImageData) GetIcon() string

func (*ImageData) GetLocalizedAirlineAlliance

func (x *ImageData) GetLocalizedAirlineAlliance() *LocalizedString
func (x *ImageData) GetLocalizedAppleLogo() *LocalizedString

func (*ImageData) GetLocalizedArtwork added in v1.1.118

func (x *ImageData) GetLocalizedArtwork() *LocalizedString

func (*ImageData) GetLocalizedBackground

func (x *ImageData) GetLocalizedBackground() *LocalizedString

func (*ImageData) GetLocalizedBanner

func (x *ImageData) GetLocalizedBanner() *LocalizedString

func (*ImageData) GetLocalizedEventStrip

func (x *ImageData) GetLocalizedEventStrip() *LocalizedString

func (*ImageData) GetLocalizedFooter

func (x *ImageData) GetLocalizedFooter() *LocalizedString

func (*ImageData) GetLocalizedHero

func (x *ImageData) GetLocalizedHero() *LocalizedString

func (*ImageData) GetLocalizedIcon

func (x *ImageData) GetLocalizedIcon() *LocalizedString
func (x *ImageData) GetLocalizedLogo() *LocalizedString

func (*ImageData) GetLocalizedMessage

func (x *ImageData) GetLocalizedMessage() *LocalizedString

func (*ImageData) GetLocalizedPersonalization

func (x *ImageData) GetLocalizedPersonalization() *LocalizedString
func (x *ImageData) GetLocalizedPrimaryLogo() *LocalizedString

func (*ImageData) GetLocalizedPrivilege

func (x *ImageData) GetLocalizedPrivilege() *LocalizedString
func (x *ImageData) GetLocalizedSecondaryLogo() *LocalizedString

func (*ImageData) GetLocalizedSecurity

func (x *ImageData) GetLocalizedSecurity() *LocalizedString

func (*ImageData) GetLocalizedStrip

func (x *ImageData) GetLocalizedStrip() *LocalizedString

func (*ImageData) GetLocalizedThumbnail

func (x *ImageData) GetLocalizedThumbnail() *LocalizedString

func (*ImageData) GetLocalizedVenueMap added in v1.1.118

func (x *ImageData) GetLocalizedVenueMap() *LocalizedString
func (x *ImageData) GetLocalizedWideLogo() *LocalizedString
func (x *ImageData) GetLogo() string

func (*ImageData) GetMessage

func (x *ImageData) GetMessage() string

func (*ImageData) GetPersonalization

func (x *ImageData) GetPersonalization() string
func (x *ImageData) GetPrimaryLogo() string

func (*ImageData) GetPrivilege

func (x *ImageData) GetPrivilege() string

func (*ImageData) GetProfile

func (x *ImageData) GetProfile() string
func (x *ImageData) GetSecondaryLogo() string

func (*ImageData) GetSecurity

func (x *ImageData) GetSecurity() string

func (*ImageData) GetStampConfig

func (x *ImageData) GetStampConfig() *StampImageConfig

func (*ImageData) GetStampedImage

func (x *ImageData) GetStampedImage() string

func (*ImageData) GetStrip

func (x *ImageData) GetStrip() string

func (*ImageData) GetThumbnail

func (x *ImageData) GetThumbnail() string

func (*ImageData) GetUnstampedImage

func (x *ImageData) GetUnstampedImage() string

func (*ImageData) GetVenueMap added in v1.1.118

func (x *ImageData) GetVenueMap() string
func (x *ImageData) GetWideLogo() string

func (*ImageData) ProtoMessage

func (*ImageData) ProtoMessage()

func (*ImageData) ProtoReflect

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

func (*ImageData) Reset

func (x *ImageData) Reset()

func (*ImageData) String

func (x *ImageData) String() string

type ImageIds

type ImageIds struct {

	// Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
	Icon string `protobuf:"bytes,1,opt,name=icon,proto3" json:"icon,omitempty"`
	Logo string `protobuf:"bytes,2,opt,name=logo,proto3" json:"logo,omitempty"`
	AppleLogo string `protobuf:"bytes,3,opt,name=appleLogo,proto3" json:"appleLogo,omitempty"`
	// Google Pay hero strip and install dialog. (1032px x 336px).
	Hero string `protobuf:"bytes,4,opt,name=hero,proto3" json:"hero,omitempty"`
	// Apple Wallet strip for EventTicket passes. (1125px x 294px).
	EventStrip string `protobuf:"bytes,5,opt,name=eventStrip,proto3" json:"eventStrip,omitempty"`
	// Apple Wallet strip for non-EventTicket passes. (1125px x 432px).
	Strip string `protobuf:"bytes,6,opt,name=strip,proto3" json:"strip,omitempty"`
	// Used on Membership and Apple Event Ticket passes. (≥320px x ≥320px, ratio 2:3–3:2).
	Thumbnail string `protobuf:"bytes,7,opt,name=thumbnail,proto3" json:"thumbnail,omitempty"`
	// Background for Apple Event Ticket designs. Can be low quality. (180px x 220px).
	Background string `protobuf:"bytes,8,opt,name=background,proto3" json:"background,omitempty"`
	// Appears above barcode in Apple Wallet Boarding passes. (858px x 45px).
	Footer string `protobuf:"bytes,9,opt,name=footer,proto3" json:"footer,omitempty"`
	// Google Pay boarding pass security program (e.g. TSA PreCheck®). (≤1600px x 80px).
	Security string `protobuf:"bytes,10,opt,name=security,proto3" json:"security,omitempty"`
	// Google Pay boarding privilege logo. Shares width with security. (≤1600px x 80px).
	Privilege string `protobuf:"bytes,11,opt,name=privilege,proto3" json:"privilege,omitempty"`
	// Google Pay airline alliance logo for boarding passes. (≤1600px x 80px).
	AirlineAlliance string `protobuf:"bytes,12,opt,name=airlineAlliance,proto3" json:"airlineAlliance,omitempty"`
	// Apple Pay NFC personalization passes. Appears post-terms. (≤450px x 120px).
	Personalization string `protobuf:"bytes,13,opt,name=personalization,proto3" json:"personalization,omitempty"`
	// For landing pages or email campaigns. Treated as @2x.
	Banner string `protobuf:"bytes,14,opt,name=banner,proto3" json:"banner,omitempty"`
	// Wallet promo messages (Google) or mobile web (Apple). (1860px x ≤930px).
	Message string `protobuf:"bytes,15,opt,name=message,proto3" json:"message,omitempty"`
	// User profile photo. (300px x 300px).
	Profile string `protobuf:"bytes,16,opt,name=profile,proto3" json:"profile,omitempty"`
	// Google Pay app image - Requires Google pre-authorization (300px x 300px).
	AppImage string `protobuf:"bytes,17,opt,name=appImage,proto3" json:"appImage,omitempty"`
	// Custom image when a stamp is applied.
	StampedImage string `protobuf:"bytes,18,opt,name=stampedImage,proto3" json:"stampedImage,omitempty"`
	// Custom image for unpunched stamp.
	UnstampedImage string `protobuf:"bytes,19,opt,name=unstampedImage,proto3" json:"unstampedImage,omitempty"`
	// Configured stamp image with stampImageConfig record.
	StampImage string `protobuf:"bytes,20,opt,name=stampImage,proto3" json:"stampImage,omitempty"`
	WideLogo string `protobuf:"bytes,21,opt,name=wideLogo,proto3" json:"wideLogo,omitempty"`
	SecondaryLogo string `protobuf:"bytes,22,opt,name=secondaryLogo,proto3" json:"secondaryLogo,omitempty"`
	// Apple poster-style Event Ticket background. (1074px x 1344px).
	Artwork string `protobuf:"bytes,23,opt,name=artwork,proto3" json:"artwork,omitempty"`
	PrimaryLogo string `protobuf:"bytes,24,opt,name=primaryLogo,proto3" json:"primaryLogo,omitempty"`
	// Venue map image for poster-style Apple Event Tickets. (min 1074px width, 16:9 or 4:5 ratio).
	VenueMap string `protobuf:"bytes,25,opt,name=venueMap,proto3" json:"venueMap,omitempty"`
	// contains filtered or unexported fields
}

Used to manage image IDs by use case. Required fields: icon.

func (*ImageIds) Descriptor deprecated

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

Deprecated: Use ImageIds.ProtoReflect.Descriptor instead.

func (*ImageIds) GetAirlineAlliance

func (x *ImageIds) GetAirlineAlliance() string

func (*ImageIds) GetAppImage

func (x *ImageIds) GetAppImage() string
func (x *ImageIds) GetAppleLogo() string

func (*ImageIds) GetArtwork added in v1.1.118

func (x *ImageIds) GetArtwork() string

func (*ImageIds) GetBackground

func (x *ImageIds) GetBackground() string

func (*ImageIds) GetBanner

func (x *ImageIds) GetBanner() string

func (*ImageIds) GetEventStrip

func (x *ImageIds) GetEventStrip() string

func (*ImageIds) GetFooter

func (x *ImageIds) GetFooter() string

func (*ImageIds) GetHero

func (x *ImageIds) GetHero() string

func (*ImageIds) GetIcon

func (x *ImageIds) GetIcon() string
func (x *ImageIds) GetLogo() string

func (*ImageIds) GetMessage

func (x *ImageIds) GetMessage() string

func (*ImageIds) GetPersonalization

func (x *ImageIds) GetPersonalization() string
func (x *ImageIds) GetPrimaryLogo() string

func (*ImageIds) GetPrivilege

func (x *ImageIds) GetPrivilege() string

func (*ImageIds) GetProfile

func (x *ImageIds) GetProfile() string
func (x *ImageIds) GetSecondaryLogo() string

func (*ImageIds) GetSecurity

func (x *ImageIds) GetSecurity() string

func (*ImageIds) GetStampImage

func (x *ImageIds) GetStampImage() string

func (*ImageIds) GetStampedImage

func (x *ImageIds) GetStampedImage() string

func (*ImageIds) GetStrip

func (x *ImageIds) GetStrip() string

func (*ImageIds) GetThumbnail

func (x *ImageIds) GetThumbnail() string

func (*ImageIds) GetUnstampedImage

func (x *ImageIds) GetUnstampedImage() string

func (*ImageIds) GetVenueMap added in v1.1.118

func (x *ImageIds) GetVenueMap() string
func (x *ImageIds) GetWideLogo() string

func (*ImageIds) ProtoMessage

func (*ImageIds) ProtoMessage()

func (*ImageIds) ProtoReflect

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

func (*ImageIds) Reset

func (x *ImageIds) Reset()

func (*ImageIds) String

func (x *ImageIds) String() string

type ImageRecord

type ImageRecord struct {

	// Unique image identifier.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Image name.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Hosted URL for accessing the image.
	Url string `protobuf:"bytes,3,opt,name=url,proto3" json:"url,omitempty"`
	// Enum indicating how the image is used.
	Use ImageUse `protobuf:"varint,5,opt,name=use,proto3,enum=io.ImageUse" json:"use,omitempty"`
	// Languages this image supports.
	Languages []LanguageCode `protobuf:"varint,6,rep,packed,name=languages,proto3,enum=io.LanguageCode" json:"languages,omitempty"`
	// Username of the image owner.
	OwnerUsername string `protobuf:"bytes,7,opt,name=ownerUsername,proto3" json:"ownerUsername,omitempty"`
	// Timestamp of creation.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// Timestamp of last update.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

Represents metadata about an uploaded image.

func (*ImageRecord) Descriptor deprecated

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

Deprecated: Use ImageRecord.ProtoReflect.Descriptor instead.

func (*ImageRecord) GetCreatedAt

func (x *ImageRecord) GetCreatedAt() *timestamppb.Timestamp

func (*ImageRecord) GetId

func (x *ImageRecord) GetId() string

func (*ImageRecord) GetLanguages

func (x *ImageRecord) GetLanguages() []LanguageCode

func (*ImageRecord) GetName

func (x *ImageRecord) GetName() string

func (*ImageRecord) GetOwnerUsername

func (x *ImageRecord) GetOwnerUsername() string

func (*ImageRecord) GetUpdatedAt

func (x *ImageRecord) GetUpdatedAt() *timestamppb.Timestamp

func (*ImageRecord) GetUrl

func (x *ImageRecord) GetUrl() string

func (*ImageRecord) GetUse

func (x *ImageRecord) GetUse() ImageUse

func (*ImageRecord) ProtoMessage

func (*ImageRecord) ProtoMessage()

func (*ImageRecord) ProtoReflect

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

func (*ImageRecord) Reset

func (x *ImageRecord) Reset()

func (*ImageRecord) String

func (x *ImageRecord) String() string

type ImageUse

type ImageUse int32

Representing the use-case for each image.

const (
	// Mandatory icon, used in Apple Wallet lock screen (87px x 87px).
	ImageUse_icon ImageUse = 0
	ImageUse_logo ImageUse = 1
	ImageUse_appleLogo ImageUse = 2
	// Hero is the Google Pay strip and is also used in the dialog box when installing (1032px x 336px).
	ImageUse_hero ImageUse = 3
	// Apple Wallet strip image for EventTicket pass types (1125px x 294px).
	ImageUse_eventStrip ImageUse = 4
	// Apple Wallet strip image for other pass types with a  strip image (1125px x 432px).
	ImageUse_strip ImageUse = 5
	// Used on Membership passes and Apple event tickets with a background image
	// (>=320 x >=320 in a ratio range of 2:3-3:2).
	ImageUse_thumbnail ImageUse = 6
	// used only be Apple Event Ticket designs, this image is blurred to form a background and so can be a low quality
	// image.  Note it may also be slightly cropped on some devices (180px x 220px).
	ImageUse_background ImageUse = 7
	// displays above the barcode for Apple Wallet Boarding pass tickets (858px x 45px).
	ImageUse_footer ImageUse = 8
	// Google Pay - used to denote a security program on boarding pass types (E.g. TSA PreCheck®).  Width of 1600px is.
	// shared with the boarding privilege logo (<=1600px x 80px).
	ImageUse_security ImageUse = 9
	// Google Pay - used to denote a boarding privilege.  Width of 1600px is shared with the security program logo.
	// (<=1600px x 80px)
	ImageUse_privilege ImageUse = 10
	// Google Pay - used to denote airline alliance on boarding pass types (<=1600px x 80px).
	ImageUse_airlineAlliance ImageUse = 11
	// For Apple Pay NFC passes whitelisted for personalization. Image is displayed after terms are presented
	// (<=450px x 120px).
	ImageUse_personalization ImageUse = 12
	// used on a landing page or email.  Image has no size constraints and will be treated as @2x pixel density.
	ImageUse_banner ImageUse = 13
	// used for Google Pay in wallet promotional messages - for Apple Pay, the message will be rendered on a mobile
	// website (1860px x <=930px).
	ImageUse_message ImageUse = 14
	// used for user Profile images (300px x 300px).
	ImageUse_profile ImageUse = 15
	// used for user App images in Google Pay (Google approval required, 300px x 300px).
	ImageUse_appImage ImageUse = 16
	// used for custom stamped images.
	ImageUse_stampedImage ImageUse = 18
	// used for custom unstamped images.
	ImageUse_unstampedImage ImageUse = 19
	// used for stamp / punch card type images. Indicates that the image has a stamp image config record.
	ImageUse_stampImage ImageUse = 20
	ImageUse_wideLogo ImageUse = 21
	ImageUse_secondaryLogo ImageUse = 22
	// used in the background of Apple poster Event Tickets. Image should be a compelling visual representation of the event (1074px x 1344px).
	ImageUse_artwork ImageUse = 23
	ImageUse_primaryLogo ImageUse = 24
	// used to present a venue map for an Apple poster style Event Ticket.  Width should be Ratio should be at least 1074px wide and have a 16:9 or 4:5 to avoid cropping.
	ImageUse_venueMap ImageUse = 25
)

func (ImageUse) Descriptor

func (ImageUse) Descriptor() protoreflect.EnumDescriptor

func (ImageUse) Enum

func (x ImageUse) Enum() *ImageUse

func (ImageUse) EnumDescriptor deprecated

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

Deprecated: Use ImageUse.Descriptor instead.

func (ImageUse) Number

func (x ImageUse) Number() protoreflect.EnumNumber

func (ImageUse) String

func (x ImageUse) String() string

func (ImageUse) Type

type ImagesClient

type ImagesClient interface {
	// Set the profile image for the logged in user. Required Fields: imageData.
	SetProfileImage(ctx context.Context, in *ProfileImageInput, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Get the profile image URL for the logged in user.
	GetProfileImage(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Url, error)
	// Creates one or more images. Image data is provided in base64. Required Fields: name, imageData.
	CreateImages(ctx context.Context, in *CreateImageInput, opts ...grpc.CallOption) (*ImageIds, error)
	// Updates an image record's metadata. Required Fields: id.
	UpdateImage(ctx context.Context, in *UpdateImageInput, opts ...grpc.CallOption) (*ImageRecord, error)
	// Retrieves an image URL by its ID. Required Fields: id.
	GetImageURL(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Url, error)
	// Retrieves a stamp image URL with the supplied stamp status. Required Fields: id and status.
	GetStampImageURL(ctx context.Context, in *StampImageRequest, opts ...grpc.CallOption) (*Url, error)
	// Retrieves the configuration of a stamp image. Required Fields: id.
	GetStampImageConfig(ctx context.Context, in *Id, opts ...grpc.CallOption) (*StampImageConfig, error)
	// Updates a stamp image configuration. Required Fields: id and config fields.
	UpdateStampImageConfig(ctx context.Context, in *StampImageConfig, opts ...grpc.CallOption) (*Id, error)
	// Gets a preview image of the provided stamp image configuration. Required Fields: stampImageConfig and status.
	GetStampImagePreview(ctx context.Context, in *StampImagePreviewRequest, opts ...grpc.CallOption) (*StampImagePreview, error)
	// Retrieves a localized image URL for a specific language. Required Fields: iD and languageCode.
	GetLocalizedImageURL(ctx context.Context, in *LocalizedImageInput, opts ...grpc.CallOption) (*Url, error)
	// Retrieves a profile image URL by a specific ID. Required Fields: id.
	GetProfileImageById(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Url, error)
	// Retrieves an image bundle (ZIP) containing all images for the given ID. Required Fields: id.
	GetImageBundle(ctx context.Context, in *Id, opts ...grpc.CallOption) (*ImageBundle, error)
	// Retrieves metadata for an image record. Required: id.
	GetImageData(ctx context.Context, in *Id, opts ...grpc.CallOption) (*ImageRecord, error)
	// Deletes an image record. Required: id.
	DeleteImage(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes a localized version of an image. Required Fields: id and language code.
	DeleteLocalizedImage(ctx context.Context, in *LocalizedImageInput, opts ...grpc.CallOption) (*ImageRecord, error)
	// [DEPRECATED] Retrieves all user-owned images using pagination.
	ListImagesForUserDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ImageRecord], error)
	// Retrieves all images stored under the user account using filters. Required Fields: filters.
	ListImagesForUser(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ImageRecord], error)
	// [DEPRECATED] Retrieves all images available to the company.
	ListImagesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ImageRecord], error)
	// Retrieves all images stored under the company using filters. Required Fields: filters.
	ListImages(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ImageRecord], error)
	// [DEPRECATED] Returns the count of all images available to the user.
	CountImagesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Returns the count of all images available to the user using filters.
	CountImages(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// [DEPRECATED] Returns the count of images stored under the user's account.
	CountImagesForUserDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Returns the count of images stored under the user's account using filters.
	CountImagesForUser(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
}

ImagesClient is the client API for Images 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.

The PassKit Images API lets you manage your image assets for Apple Wallet, Google Wallet and the data collection pages.

func NewImagesClient

func NewImagesClient(cc grpc.ClientConnInterface) ImagesClient

type ImagesServer

type ImagesServer interface {
	// Set the profile image for the logged in user. Required Fields: imageData.
	SetProfileImage(context.Context, *ProfileImageInput) (*emptypb.Empty, error)
	// Get the profile image URL for the logged in user.
	GetProfileImage(context.Context, *emptypb.Empty) (*Url, error)
	// Creates one or more images. Image data is provided in base64. Required Fields: name, imageData.
	CreateImages(context.Context, *CreateImageInput) (*ImageIds, error)
	// Updates an image record's metadata. Required Fields: id.
	UpdateImage(context.Context, *UpdateImageInput) (*ImageRecord, error)
	// Retrieves an image URL by its ID. Required Fields: id.
	GetImageURL(context.Context, *Id) (*Url, error)
	// Retrieves a stamp image URL with the supplied stamp status. Required Fields: id and status.
	GetStampImageURL(context.Context, *StampImageRequest) (*Url, error)
	// Retrieves the configuration of a stamp image. Required Fields: id.
	GetStampImageConfig(context.Context, *Id) (*StampImageConfig, error)
	// Updates a stamp image configuration. Required Fields: id and config fields.
	UpdateStampImageConfig(context.Context, *StampImageConfig) (*Id, error)
	// Gets a preview image of the provided stamp image configuration. Required Fields: stampImageConfig and status.
	GetStampImagePreview(context.Context, *StampImagePreviewRequest) (*StampImagePreview, error)
	// Retrieves a localized image URL for a specific language. Required Fields: iD and languageCode.
	GetLocalizedImageURL(context.Context, *LocalizedImageInput) (*Url, error)
	// Retrieves a profile image URL by a specific ID. Required Fields: id.
	GetProfileImageById(context.Context, *Id) (*Url, error)
	// Retrieves an image bundle (ZIP) containing all images for the given ID. Required Fields: id.
	GetImageBundle(context.Context, *Id) (*ImageBundle, error)
	// Retrieves metadata for an image record. Required: id.
	GetImageData(context.Context, *Id) (*ImageRecord, error)
	// Deletes an image record. Required: id.
	DeleteImage(context.Context, *Id) (*emptypb.Empty, error)
	// Deletes a localized version of an image. Required Fields: id and language code.
	DeleteLocalizedImage(context.Context, *LocalizedImageInput) (*ImageRecord, error)
	// [DEPRECATED] Retrieves all user-owned images using pagination.
	ListImagesForUserDeprecated(*Pagination, grpc.ServerStreamingServer[ImageRecord]) error
	// Retrieves all images stored under the user account using filters. Required Fields: filters.
	ListImagesForUser(*Filters, grpc.ServerStreamingServer[ImageRecord]) error
	// [DEPRECATED] Retrieves all images available to the company.
	ListImagesDeprecated(*Pagination, grpc.ServerStreamingServer[ImageRecord]) error
	// Retrieves all images stored under the company using filters. Required Fields: filters.
	ListImages(*Filters, grpc.ServerStreamingServer[ImageRecord]) error
	// [DEPRECATED] Returns the count of all images available to the user.
	CountImagesDeprecated(context.Context, *Pagination) (*Count, error)
	// Returns the count of all images available to the user using filters.
	CountImages(context.Context, *Filters) (*Count, error)
	// [DEPRECATED] Returns the count of images stored under the user's account.
	CountImagesForUserDeprecated(context.Context, *Pagination) (*Count, error)
	// Returns the count of images stored under the user's account using filters.
	CountImagesForUser(context.Context, *Filters) (*Count, error)
}

ImagesServer is the server API for Images service. All implementations should embed UnimplementedImagesServer for forward compatibility.

The PassKit Images API lets you manage your image assets for Apple Wallet, Google Wallet and the data collection pages.

type Images_ListImagesClient

type Images_ListImagesClient = grpc.ServerStreamingClient[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesDeprecatedClient

type Images_ListImagesDeprecatedClient = grpc.ServerStreamingClient[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesDeprecatedServer

type Images_ListImagesDeprecatedServer = grpc.ServerStreamingServer[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesForUserClient

type Images_ListImagesForUserClient = grpc.ServerStreamingClient[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesForUserDeprecatedClient

type Images_ListImagesForUserDeprecatedClient = grpc.ServerStreamingClient[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesForUserDeprecatedServer

type Images_ListImagesForUserDeprecatedServer = grpc.ServerStreamingServer[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesForUserServer

type Images_ListImagesForUserServer = grpc.ServerStreamingServer[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Images_ListImagesServer

type Images_ListImagesServer = grpc.ServerStreamingServer[ImageRecord]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type ImportProtocolRequest

type ImportProtocolRequest struct {

	// Raw CSV content with records.
	// @tag: validateCreate:"required"
	CsvContent string `protobuf:"bytes,1,opt,name=csvContent,proto3" json:"csvContent,omitempty" validateCreate:"required"`
	// Class Id e.g. programId, campaignId, producionId etc.
	// @tag: validateCreate:"required"
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty" validateCreate:"required"`
	// PassKit protocol type.
	// @tag: validateCreate:"required"
	Protocol PassProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

Import passes from a CSV file into a class.

func (*ImportProtocolRequest) Descriptor deprecated

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

Deprecated: Use ImportProtocolRequest.ProtoReflect.Descriptor instead.

func (*ImportProtocolRequest) GetClassId

func (x *ImportProtocolRequest) GetClassId() string

func (*ImportProtocolRequest) GetCsvContent

func (x *ImportProtocolRequest) GetCsvContent() string

func (*ImportProtocolRequest) GetProtocol

func (x *ImportProtocolRequest) GetProtocol() PassProtocol

func (*ImportProtocolRequest) ProtoMessage

func (*ImportProtocolRequest) ProtoMessage()

func (*ImportProtocolRequest) ProtoReflect

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

func (*ImportProtocolRequest) Reset

func (x *ImportProtocolRequest) Reset()

func (*ImportProtocolRequest) String

func (x *ImportProtocolRequest) String() string

type IntegrationConfigs

type IntegrationConfigs struct {

	// The uuid for the class object.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// Key string is enum of ConfigurationType (e.g. WEBHOOK, DB_MYSQL, ZOHO). Value string is a json string of configuration object.
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	Configurations map[int32]string `` /* 236-byte string literal not displayed */
	// contains filtered or unexported fields
}

Integration object contains configuration data to integrate PassKit application with third party application.

func (*IntegrationConfigs) Descriptor deprecated

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

Deprecated: Use IntegrationConfigs.ProtoReflect.Descriptor instead.

func (*IntegrationConfigs) GetClassId

func (x *IntegrationConfigs) GetClassId() string

func (*IntegrationConfigs) GetConfigurations

func (x *IntegrationConfigs) GetConfigurations() map[int32]string

func (*IntegrationConfigs) ProtoMessage

func (*IntegrationConfigs) ProtoMessage()

func (*IntegrationConfigs) ProtoReflect

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

func (*IntegrationConfigs) Reset

func (x *IntegrationConfigs) Reset()

func (*IntegrationConfigs) String

func (x *IntegrationConfigs) String() string

type IntegrationStatus

type IntegrationStatus int32

Turn on and off the integration.

const (
	IntegrationStatus_INTEGRATION_STATUS_NONE IntegrationStatus = 0
	// Turn off the integration.
	IntegrationStatus_INTEGRATION_DISABLED IntegrationStatus = 1
	// Turn on the integration.
	IntegrationStatus_INTEGRATION_ACTIVE IntegrationStatus = 2
	// The status assigned by PassKit when the account or record is not satisfying the requirements to conduct integration process.
	IntegrationStatus_INTEGRATION_SUSPENDED IntegrationStatus = 3
)

func (IntegrationStatus) Descriptor

func (IntegrationStatus) Enum

func (IntegrationStatus) EnumDescriptor deprecated

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

Deprecated: Use IntegrationStatus.Descriptor instead.

func (IntegrationStatus) Number

func (IntegrationStatus) String

func (x IntegrationStatus) String() string

func (IntegrationStatus) Type

type IntegrationType

type IntegrationType int32

IntegrationType allows to select the timing of integration occurs and the order of data processing.

const (
	IntegrationType_INTEGRATION_TYPE_NONE IntegrationType = 0
	// Trigger event occurs on a third party platform which triggers action (chain of events) inside the PassKit. E.g. Database update triggers PassKit to issue a pass.
	IntegrationType_SOURCE_INTEGRATION IntegrationType = 1
	// Pass holder data is processed by a third party application first then its outcome and original data are stored in PassKit.
	IntegrationType_HOOK_BEFORE_OBJECT_RECORD_CREATION IntegrationType = 4
	// A hook event occurs after pass holder's data is created on PassKit.
	IntegrationType_HOOK_AFTER_OBJECT_RECORD_CREATION IntegrationType = 8
	// A hook event occurs after pass holder record creation and before pass issue.
	IntegrationType_HOOK_BEFORE_PASS_ISSUE IntegrationType = 16
	// A hook event occurs after pass issue.
	IntegrationType_HOOK_AFTER_PASS_ISSUE IntegrationType = 32
	// A hook event occurs after pass has been installed on mobile.
	IntegrationType_HOOK_AFTER_PASS_INSTALL IntegrationType = 64
	// A hook event occurs after pass has been uninstalled from mobile.
	IntegrationType_HOOK_AFTER_PASS_UNINSTALL IntegrationType = 128
	// A hook event occurs before pass holder's record is updated on PassKit.
	IntegrationType_HOOK_BEFORE_OBJECT_RECORD_UPDATE IntegrationType = 256
	// A hook event occurs after pass holder's record is updated on PassKit.
	IntegrationType_HOOK_AFTER_OBJECT_RECORD_UPDATE IntegrationType = 512
	// A hook event occurs before the pass is updated. This includes changes in dynamic information (e.g. displayName), generic information (e.g. links, legal disclaimer), pass design (e.g. background color).
	IntegrationType_HOOK_BEFORE_PASS_RECORD_UPDATE IntegrationType = 1024
	// A hook event occurs after the pass is updated. This includes changes in dynamic information (e.g. displayName), generic information (e.g. links, legal disclaimer), pass design (e.g. background color).
	IntegrationType_HOOK_AFTER_PASS_RECORD_UPDATE IntegrationType = 2048
	// A hook event occurs before the information on the pass is updated.
	IntegrationType_HOOK_BEFORE_PASS_UPDATE IntegrationType = 4096
	// A hook event occurs after the information on the pass is updated.
	IntegrationType_HOOK_AFTER_PASS_UPDATE IntegrationType = 8192
	// A hook event occurs before a pass is deleted.
	IntegrationType_HOOK_BEFORE_PASS_RECORD_DELETE IntegrationType = 16384
	// A hook event occurs after a pass is deleted.
	IntegrationType_HOOK_AFTER_PASS_RECORD_DELETE IntegrationType = 32768
)

func (IntegrationType) Descriptor

func (IntegrationType) Enum

func (x IntegrationType) Enum() *IntegrationType

func (IntegrationType) EnumDescriptor deprecated

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

Deprecated: Use IntegrationType.Descriptor instead.

func (IntegrationType) Number

func (IntegrationType) String

func (x IntegrationType) String() string

func (IntegrationType) Type

type IntegrationsClient

type IntegrationsClient interface {
	// Creates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
	CreateIntegrations(ctx context.Context, in *IntegrationConfigs, opts ...grpc.CallOption) (*Id, error)
	// Retrieves integration configurations for a protocol and class. Required Fields: protocol, classId.
	GetIntegrations(ctx context.Context, in *ProtocolIdInput, opts ...grpc.CallOption) (*IntegrationConfigs, error)
	// Updates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
	UpdateIntegrations(ctx context.Context, in *IntegrationConfigs, opts ...grpc.CallOption) (*Id, error)
	// Deletes integration configurations for a protocol and class. Required Fields: protocol, classId.
	DeleteIntegrations(ctx context.Context, in *ProtocolIdInput, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a sink subscription to receive webhook callbacks after specific events. Required Fields: protocol, classId, event, url.
	CreateSinkSubscription(ctx context.Context, in *SinkSubscription, opts ...grpc.CallOption) (*Id, error)
	// Retrieves a sink subscription configuration. Required Fields: protocol, subscriptionId.
	GetSinkSubscription(ctx context.Context, in *SubscriptionRequest, opts ...grpc.CallOption) (*SinkSubscription, error)
	// [DEPRECATED] Lists sink subscriptions by segment with optional pagination. Required Fields: pagination.
	ListSinkSubscriptionsDeprecated(ctx context.Context, in *ListRequestDeprecated, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SinkSubscription], error)
	// Lists all sink subscriptions by segment with optional pagination. Required Fields: filters.
	ListSinkSubscriptions(ctx context.Context, in *ListRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[SinkSubscription], error)
	// Updates a sink subscription configuration. Required Fields: protocol, classId, event, url.
	UpdateSinkSubscription(ctx context.Context, in *SinkSubscription, opts ...grpc.CallOption) (*Id, error)
	// Deletes a sink subscription configuration. Required Fields: protocol, subscriptionId.
	DeleteSinkSubscription(ctx context.Context, in *SubscriptionRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Returns a sample sink subscription payload. Required Fields: id.
	GetSampleSubscriptionEvent(ctx context.Context, in *Id, opts ...grpc.CallOption) (*SinkSubscription, error)
	// Dynamically calls an external API using configured credentials. Required Fields: url, method, headers, body (depending on the API).
	CallDynamicApi(ctx context.Context, in *DynamicApiInput, opts ...grpc.CallOption) (*DynamicApiResponse, error)
}

IntegrationsClient is the client API for Integrations 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 IntegrationsServer

type IntegrationsServer interface {
	// Creates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
	CreateIntegrations(context.Context, *IntegrationConfigs) (*Id, error)
	// Retrieves integration configurations for a protocol and class. Required Fields: protocol, classId.
	GetIntegrations(context.Context, *ProtocolIdInput) (*IntegrationConfigs, error)
	// Updates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
	UpdateIntegrations(context.Context, *IntegrationConfigs) (*Id, error)
	// Deletes integration configurations for a protocol and class. Required Fields: protocol, classId.
	DeleteIntegrations(context.Context, *ProtocolIdInput) (*emptypb.Empty, error)
	// Creates a sink subscription to receive webhook callbacks after specific events. Required Fields: protocol, classId, event, url.
	CreateSinkSubscription(context.Context, *SinkSubscription) (*Id, error)
	// Retrieves a sink subscription configuration. Required Fields: protocol, subscriptionId.
	GetSinkSubscription(context.Context, *SubscriptionRequest) (*SinkSubscription, error)
	// [DEPRECATED] Lists sink subscriptions by segment with optional pagination. Required Fields: pagination.
	ListSinkSubscriptionsDeprecated(*ListRequestDeprecated, grpc.ServerStreamingServer[SinkSubscription]) error
	// Lists all sink subscriptions by segment with optional pagination. Required Fields: filters.
	ListSinkSubscriptions(*ListRequest, grpc.ServerStreamingServer[SinkSubscription]) error
	// Updates a sink subscription configuration. Required Fields: protocol, classId, event, url.
	UpdateSinkSubscription(context.Context, *SinkSubscription) (*Id, error)
	// Deletes a sink subscription configuration. Required Fields: protocol, subscriptionId.
	DeleteSinkSubscription(context.Context, *SubscriptionRequest) (*emptypb.Empty, error)
	// Returns a sample sink subscription payload. Required Fields: id.
	GetSampleSubscriptionEvent(context.Context, *Id) (*SinkSubscription, error)
	// Dynamically calls an external API using configured credentials. Required Fields: url, method, headers, body (depending on the API).
	CallDynamicApi(context.Context, *DynamicApiInput) (*DynamicApiResponse, error)
}

IntegrationsServer is the server API for Integrations service. All implementations should embed UnimplementedIntegrationsServer for forward compatibility.

type Integrations_ListSinkSubscriptionsClient

type Integrations_ListSinkSubscriptionsClient = grpc.ServerStreamingClient[SinkSubscription]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Integrations_ListSinkSubscriptionsDeprecatedClient

type Integrations_ListSinkSubscriptionsDeprecatedClient = grpc.ServerStreamingClient[SinkSubscription]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Integrations_ListSinkSubscriptionsDeprecatedServer

type Integrations_ListSinkSubscriptionsDeprecatedServer = grpc.ServerStreamingServer[SinkSubscription]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Integrations_ListSinkSubscriptionsServer

type Integrations_ListSinkSubscriptionsServer = grpc.ServerStreamingServer[SinkSubscription]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type JWT

type JWT struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*JWT) Descriptor deprecated

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

Deprecated: Use JWT.ProtoReflect.Descriptor instead.

func (*JWT) GetToken

func (x *JWT) GetToken() string

func (*JWT) ProtoMessage

func (*JWT) ProtoMessage()

func (*JWT) ProtoReflect

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

func (*JWT) Reset

func (x *JWT) Reset()

func (*JWT) String

func (x *JWT) String() string

type LandingPageSettings

type LandingPageSettings struct {

	// Array of languages to display on the landing page, if you would like your language to be supported, please contact support.
	LandingLocalizationOverride []LanguageCode `` /* 136-byte string literal not displayed */
	// Set to on to present a third party wallet instead of Google Pay as the default option to Android Users.
	PreferThirdPartyAndroidWallet Toggle `` /* 127-byte string literal not displayed */
	// Preferred Android Wallet.
	PreferredAndroidWallet SupportedAndroidWallet `` /* 129-byte string literal not displayed */
	// Override landing page text, note that the localized string must contain the template default language, or "EN" - please contact support for dictionary keys and further usage details.
	LocalizedTextOverrides map[string]*LocalizedString `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration options for customizing the pass landing page.

func (*LandingPageSettings) Descriptor deprecated

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

Deprecated: Use LandingPageSettings.ProtoReflect.Descriptor instead.

func (*LandingPageSettings) GetLandingLocalizationOverride

func (x *LandingPageSettings) GetLandingLocalizationOverride() []LanguageCode

func (*LandingPageSettings) GetLocalizedTextOverrides

func (x *LandingPageSettings) GetLocalizedTextOverrides() map[string]*LocalizedString

func (*LandingPageSettings) GetPreferThirdPartyAndroidWallet

func (x *LandingPageSettings) GetPreferThirdPartyAndroidWallet() Toggle

func (*LandingPageSettings) GetPreferredAndroidWallet

func (x *LandingPageSettings) GetPreferredAndroidWallet() SupportedAndroidWallet

func (*LandingPageSettings) ProtoMessage

func (*LandingPageSettings) ProtoMessage()

func (*LandingPageSettings) ProtoReflect

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

func (*LandingPageSettings) Reset

func (x *LandingPageSettings) Reset()

func (*LandingPageSettings) String

func (x *LandingPageSettings) String() string

type LanguageCode

type LanguageCode int32

This is a list of supported languages.

const (
	// English
	LanguageCode_EN LanguageCode = 0
	// (Arabic) العربية
	LanguageCode_AR LanguageCode = 4
	// 简体中文 (Chinese)
	LanguageCode_ZH_HANS LanguageCode = 8
	// 繁體中文 (Traditional Chinese)
	LanguageCode_ZH_HANT LanguageCode = 12
	// 香港中文 (Cantonese)
	LanguageCode_ZH_HK LanguageCode = 16
	// Català (Catalan)
	LanguageCode_CA LanguageCode = 20
	// Hrvatski (Croatian)
	LanguageCode_HR LanguageCode = 24
	// Čeština (Czech)
	LanguageCode_CS LanguageCode = 28
	// Dansk (Danish)
	LanguageCode_DA LanguageCode = 32
	// Deutsch (German)
	LanguageCode_DE LanguageCode = 36
	// English (Australia)
	LanguageCode_EN_AU LanguageCode = 40
	// English (British)
	LanguageCode_EN_GB LanguageCode = 44
	// English (Canada)
	LanguageCode_EN_CA LanguageCode = 48
	// English (India)
	LanguageCode_EN_US LanguageCode = 52
	// English (United States)
	LanguageCode_EN_IN LanguageCode = 56
	// Español (Spanish)
	LanguageCode_ES LanguageCode = 60
	// Español (Latin America)
	LanguageCode_ES_419 LanguageCode = 64
	// Suomi (Finnish)
	LanguageCode_FI LanguageCode = 68
	// Français (French)
	LanguageCode_FR LanguageCode = 72
	// Français (Canada)
	LanguageCode_FR_CA LanguageCode = 76
	// Ελληνικά (Greek)
	LanguageCode_EL LanguageCode = 80
	// (Hebrew) עברית
	LanguageCode_HE LanguageCode = 84
	// हिन्दी (Hindi)
	LanguageCode_HI LanguageCode = 88
	// Magyar (Hungarian)
	LanguageCode_HU LanguageCode = 92
	// Bahasa Indonesia (Indonesian)
	LanguageCode_ID LanguageCode = 96
	// Italiano (Italian)
	LanguageCode_IT LanguageCode = 100
	// 日本語 (Japanese)
	LanguageCode_JA LanguageCode = 104
	// 한국어 (Korean)
	LanguageCode_KO LanguageCode = 108
	// Bahasa Melayu (Malay)
	LanguageCode_MS LanguageCode = 112
	// Malti (Maltese)
	LanguageCode_MT LanguageCode = 116
	// Nederlands (Dutch)
	LanguageCode_NL LanguageCode = 120
	// Norsk Bokmål (Norwegian)
	LanguageCode_NB LanguageCode = 124
	// Polski (Polish)
	LanguageCode_PL LanguageCode = 128
	// Português de Portugal (Portuguese)
	LanguageCode_PT LanguageCode = 132
	// Português (Brazilian Portuguese)
	LanguageCode_PT_BR LanguageCode = 136
	// Română (Romanian)
	LanguageCode_RO LanguageCode = 140
	// Русский (Russian)
	LanguageCode_RU LanguageCode = 144
	// Slovenčina (Slovakian)
	LanguageCode_SK LanguageCode = 148
	// Svenska (Swedish)
	LanguageCode_SV LanguageCode = 152
	// ภาษาไทย (Thai)
	LanguageCode_TH LanguageCode = 156
	// Türkçe (Turkish)
	LanguageCode_TR LanguageCode = 160
	// Українська (Ukrainian)
	LanguageCode_UK LanguageCode = 164
	// Tiếng Việt (Vietnamese)
	LanguageCode_VI LanguageCode = 168
)

func (LanguageCode) Descriptor

func (LanguageCode) Enum

func (x LanguageCode) Enum() *LanguageCode

func (LanguageCode) EnumDescriptor deprecated

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

Deprecated: Use LanguageCode.Descriptor instead.

func (LanguageCode) Number

func (LanguageCode) String

func (x LanguageCode) String() string

func (LanguageCode) Type

type LifecycleEvents

type LifecycleEvents int32

Statuses of the pass. A pass will collect multiple statuses as it passes through its lifecycle.

const (
	LifecycleEvents_NO_STATUS LifecycleEvents = 0
	// Pass has been created and presented to the user to install.
	LifecycleEvents_RENDERED LifecycleEvents = 1
	// Pass has been installed in at least one Apple device.
	LifecycleEvents_INSTALLED_APPLE LifecycleEvents = 2
	// Pass has been installed in at least one Google Pay account.
	LifecycleEvents_INSTALLED_GOOGLE LifecycleEvents = 4
	// Pass has been installed in at least one Android wallet app.
	LifecycleEvents_INSTALLED_ANDROID_OTHER LifecycleEvents = 8
	// Pass has been uninstalled from at least one Apple device.
	LifecycleEvents_UNINSTALLED_APPLE LifecycleEvents = 1024
	// Pass has been uninstalled from at least one Google Pay account.
	LifecycleEvents_UNINSTALLED_GOOGLE LifecycleEvents = 2048
	// Pass has been uninstalled from at least one Android wallet app.
	LifecycleEvents_UNINSTALLED_ANDROID_OTHER LifecycleEvents = 4096
	// An Apple pass bundle has been created.
	LifecycleEvents_APPLE_PASS_CREATED LifecycleEvents = 8192
	// A Google Pay record has been created.
	LifecycleEvents_GOOGLE_PAY_RECORD_CREATED LifecycleEvents = 16384
	// Invalidation request sent to pass.
	LifecycleEvents_INVALIDATE_REQUESTED LifecycleEvents = 262144
	// Pass has been invalidated.
	LifecycleEvents_INVALIDATE_CONFIRMED LifecycleEvents = 524288
	// Pass has requested personalisation.
	LifecycleEvents_PASS_PERSONALISATION_REQUESTED LifecycleEvents = 1048576
	// Pass has been provided with personalised information.
	LifecycleEvents_PASS_PERSONALISED LifecycleEvents = 2097152
	// Pass is bound to an iCloud account.
	LifecycleEvents_PASS_ICLOUD_BOUND LifecycleEvents = 4194304
	// Pass Email Bounced.
	LifecycleEvents_PASS_EMAIL_BOUNCED LifecycleEvents = 8388608
	// Pass Email Complained.
	LifecycleEvents_PASS_EMAIL_COMPLAINED LifecycleEvents = 16777216
)

func (LifecycleEvents) Descriptor

func (LifecycleEvents) Enum

func (x LifecycleEvents) Enum() *LifecycleEvents

func (LifecycleEvents) EnumDescriptor deprecated

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

Deprecated: Use LifecycleEvents.Descriptor instead.

func (LifecycleEvents) Number

func (LifecycleEvents) String

func (x LifecycleEvents) String() string

func (LifecycleEvents) Type

type Link struct {

	// Link Id. Not writable.
	// @tag: validateCreate:"omitempty,uuidCompressedString" validateUpdate:"required,uuidCompressedString"
	Id string `` /* 152-byte string literal not displayed */
	// A link text.
	// @tag: validateGeneric:"required_without=Id,uri" validateCreate:"required_without=Id,uri" validateUpdate:"required_without=Id,uri"
	Url string `` /* 183-byte string literal not displayed */
	// Title for the link.
	// @tag: validateGeneric:"required_without=Id" validateCreate:"required_without=Id" validateUpdate:"required_without=Id"
	Title string `` /* 175-byte string literal not displayed */
	// Type of link data.
	// @tag: validateGeneric:"max=5,min=1" validateCreate:"max=5,min=1" validateUpdate:"max=5,min=1"
	Type LinkType `` /* 167-byte string literal not displayed */
	// This customises link text for different languages. Ignored by Google Pay passes.
	LocalizedLink *LocalizedString `protobuf:"bytes,5,opt,name=localizedLink,proto3" json:"localizedLink,omitempty"`
	// This translates link title in different languages.
	LocalizedTitle *LocalizedString `protobuf:"bytes,6,opt,name=localizedTitle,proto3" json:"localizedTitle,omitempty"`
	// Indicates which wallets the link should be rendered for (this allows to hide certain link on Apple Wallet, and vise versa).
	// @tag: validateGeneric:"required,min=1" validateCreate:"required,min=1" validateUpdate:"required,min=1"
	Usage []UsageType `` /* 186-byte string literal not displayed */
	// Links will be rendered in order of their position, from lowest to highest. Position can be any value, E.g. 3 links with positions 30, 10, 20 would render 10 first, 20 second and 30 third.  If no position is provided, the order of the links cannot be guaranteed.
	Position uint32 `protobuf:"varint,8,opt,name=position,proto3" json:"position,omitempty"`
	// contains filtered or unexported fields
}

Used to specify links put on the back of the pass.

func (*Link) Descriptor deprecated

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

Deprecated: Use Link.ProtoReflect.Descriptor instead.

func (*Link) GetId

func (x *Link) GetId() string
func (x *Link) GetLocalizedLink() *LocalizedString

func (*Link) GetLocalizedTitle

func (x *Link) GetLocalizedTitle() *LocalizedString

func (*Link) GetPosition

func (x *Link) GetPosition() uint32

func (*Link) GetTitle

func (x *Link) GetTitle() string

func (*Link) GetType

func (x *Link) GetType() LinkType

func (*Link) GetUrl

func (x *Link) GetUrl() string

func (*Link) GetUsage

func (x *Link) GetUsage() []UsageType

func (*Link) ProtoMessage

func (*Link) ProtoMessage()

func (*Link) ProtoReflect

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

func (*Link) Reset

func (x *Link) Reset()

func (*Link) String

func (x *Link) String() string

type LinkDetector

type LinkDetector int32

Enum defining what kind of links should be automatically detected.

const (
	LinkDetector_LINK_DETECTOR_DO_NOT_USE LinkDetector = 0
	// Detect physical addresses.
	LinkDetector_LINK_DETECTOR_ADDRESS LinkDetector = 1
	// Detect dates and times.
	LinkDetector_LINK_DETECTOR_DATE LinkDetector = 2
	// Detect URLs.
	LinkDetector_LINK_DETECTOR_URL LinkDetector = 3
	// Detect phone numbers.
	LinkDetector_LINK_DETECTOR_PHONE LinkDetector = 4
)

func (LinkDetector) Descriptor

func (LinkDetector) Enum

func (x LinkDetector) Enum() *LinkDetector

func (LinkDetector) EnumDescriptor deprecated

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

Deprecated: Use LinkDetector.Descriptor instead.

func (LinkDetector) Number

func (LinkDetector) String

func (x LinkDetector) String() string

func (LinkDetector) Type

type LinkType

type LinkType int32

Used to specify the type of link for link field. Each type has different icon on Google Pay.

const (
	// A link to website.
	LinkType_URI_DO_NOT_USE LinkType = 0
	// A link to website.
	LinkType_URI_WEB LinkType = 1
	// A phone number.
	LinkType_URI_TEL LinkType = 2
	// An email address.
	LinkType_URI_EMAIL LinkType = 3
	// A location address.
	LinkType_URI_LOCATION LinkType = 4
	// A calendar event.
	LinkType_URI_CALENDAR LinkType = 5
)

func (LinkType) Descriptor

func (LinkType) Descriptor() protoreflect.EnumDescriptor

func (LinkType) Enum

func (x LinkType) Enum() *LinkType

func (LinkType) EnumDescriptor deprecated

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

Deprecated: Use LinkType.Descriptor instead.

func (LinkType) Number

func (x LinkType) Number() protoreflect.EnumNumber

func (LinkType) String

func (x LinkType) String() string

func (LinkType) Type

type ListPosition

type ListPosition int32

Specifies how to position an item in a list when a parent object already has existing values.

const (
	// Appends the item to the list (default behavior).
	ListPosition_APPEND ListPosition = 0
	// Prepends the item to the list.
	ListPosition_PREPEND ListPosition = 1
	// Replaces the existing list with the item.
	ListPosition_REPLACE ListPosition = 2
)

func (ListPosition) Descriptor

func (ListPosition) Enum

func (x ListPosition) Enum() *ListPosition

func (ListPosition) EnumDescriptor deprecated

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

Deprecated: Use ListPosition.Descriptor instead.

func (ListPosition) Number

func (ListPosition) String

func (x ListPosition) String() string

func (ListPosition) Type

type ListRequest

type ListRequest struct {

	// Unique class ID (e.g. program or object ID).
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// Optional protocol to filter by.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Protocol PassProtocol `` /* 173-byte string literal not displayed */
	// Optional filter criteria.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Filters *Filters `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used for filtering and listing records (recommended over deprecated version).

func (*ListRequest) Descriptor deprecated

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

Deprecated: Use ListRequest.ProtoReflect.Descriptor instead.

func (*ListRequest) GetClassId

func (x *ListRequest) GetClassId() string

func (*ListRequest) GetFilters

func (x *ListRequest) GetFilters() *Filters

func (*ListRequest) GetProtocol

func (x *ListRequest) GetProtocol() PassProtocol

func (*ListRequest) ProtoMessage

func (*ListRequest) ProtoMessage()

func (*ListRequest) ProtoReflect

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

func (*ListRequest) Reset

func (x *ListRequest) Reset()

func (*ListRequest) String

func (x *ListRequest) String() string

type ListRequestDeprecated

type ListRequestDeprecated struct {

	// Unique class ID (e.g. program or object ID).
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// Optional protocol to filter by.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Protocol PassProtocol `` /* 173-byte string literal not displayed */
	// Optional pagination criteria.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Pagination *Pagination `` /* 155-byte string literal not displayed */
	// contains filtered or unexported fields
}

[DEPRECATED: OR operator is not supported] Used for filtering and listing records.

func (*ListRequestDeprecated) Descriptor deprecated

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

Deprecated: Use ListRequestDeprecated.ProtoReflect.Descriptor instead.

func (*ListRequestDeprecated) GetClassId

func (x *ListRequestDeprecated) GetClassId() string

func (*ListRequestDeprecated) GetPagination

func (x *ListRequestDeprecated) GetPagination() *Pagination

func (*ListRequestDeprecated) GetProtocol

func (x *ListRequestDeprecated) GetProtocol() PassProtocol

func (*ListRequestDeprecated) ProtoMessage

func (*ListRequestDeprecated) ProtoMessage()

func (*ListRequestDeprecated) ProtoReflect

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

func (*ListRequestDeprecated) Reset

func (x *ListRequestDeprecated) Reset()

func (*ListRequestDeprecated) String

func (x *ListRequestDeprecated) String() string

type ListTeamMembersResponse added in v1.1.118

type ListTeamMembersResponse struct {
	Uid    string           `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty"`
	Email  string           `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	Status TeamMemberStatus `protobuf:"varint,3,opt,name=status,proto3,enum=io.TeamMemberStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*ListTeamMembersResponse) Descriptor deprecated added in v1.1.118

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

Deprecated: Use ListTeamMembersResponse.ProtoReflect.Descriptor instead.

func (*ListTeamMembersResponse) GetEmail added in v1.1.118

func (x *ListTeamMembersResponse) GetEmail() string

func (*ListTeamMembersResponse) GetStatus added in v1.1.118

func (*ListTeamMembersResponse) GetUid added in v1.1.118

func (x *ListTeamMembersResponse) GetUid() string

func (*ListTeamMembersResponse) ProtoMessage added in v1.1.118

func (*ListTeamMembersResponse) ProtoMessage()

func (*ListTeamMembersResponse) ProtoReflect added in v1.1.118

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

func (*ListTeamMembersResponse) Reset added in v1.1.118

func (x *ListTeamMembersResponse) Reset()

func (*ListTeamMembersResponse) String added in v1.1.118

func (x *ListTeamMembersResponse) String() string

type LocalDate

type LocalDate struct {
	DateTime string `protobuf:"bytes,1,opt,name=dateTime,proto3" json:"dateTime,omitempty"`
	// contains filtered or unexported fields
}

ISO 8601 date without a time (e.g. 2023-11-15).

func (*LocalDate) Descriptor deprecated

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

Deprecated: Use LocalDate.ProtoReflect.Descriptor instead.

func (*LocalDate) GetDateTime

func (x *LocalDate) GetDateTime() string

func (*LocalDate) ProtoMessage

func (*LocalDate) ProtoMessage()

func (*LocalDate) ProtoReflect

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

func (*LocalDate) Reset

func (x *LocalDate) Reset()

func (*LocalDate) String

func (x *LocalDate) String() string

type LocalDateTime

type LocalDateTime struct {

	// ISO 8601 extended format date/time without a timezone offset E.g. 2019-08-07T18:00:00.
	// @tag: validate:"ioLocalDate,min=16,max=19"
	DateTime string `protobuf:"bytes,1,opt,name=dateTime,proto3" json:"dateTime,omitempty" validate:"ioLocalDate,min=16,max=19"`
	// contains filtered or unexported fields
}

ISO 8601 extended format datetime without timezone offset.

func (*LocalDateTime) Descriptor deprecated

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

Deprecated: Use LocalDateTime.ProtoReflect.Descriptor instead.

func (*LocalDateTime) GetDateTime

func (x *LocalDateTime) GetDateTime() string

func (*LocalDateTime) ProtoMessage

func (*LocalDateTime) ProtoMessage()

func (*LocalDateTime) ProtoReflect

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

func (*LocalDateTime) Reset

func (x *LocalDateTime) Reset()

func (*LocalDateTime) String

func (x *LocalDateTime) String() string

type LocalizedImageInput

type LocalizedImageInput struct {

	// Image id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Language code of the image.
	LanguageCode string `protobuf:"bytes,2,opt,name=languageCode,proto3" json:"languageCode,omitempty"`
	// contains filtered or unexported fields
}

Input for localized image update by language. Required fields: id, languageCode.

func (*LocalizedImageInput) Descriptor deprecated

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

Deprecated: Use LocalizedImageInput.ProtoReflect.Descriptor instead.

func (*LocalizedImageInput) GetId

func (x *LocalizedImageInput) GetId() string

func (*LocalizedImageInput) GetLanguageCode

func (x *LocalizedImageInput) GetLanguageCode() string

func (*LocalizedImageInput) ProtoMessage

func (*LocalizedImageInput) ProtoMessage()

func (*LocalizedImageInput) ProtoReflect

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

func (*LocalizedImageInput) Reset

func (x *LocalizedImageInput) Reset()

func (*LocalizedImageInput) String

func (x *LocalizedImageInput) String() string

type LocalizedString

type LocalizedString struct {

	// Translations key is a valid LanguageCode. The value represents the translated string.
	// @tag: validateGeneric:"languageCode"
	Translations map[string]string `` /* 182-byte string literal not displayed */
	// contains filtered or unexported fields
}

Localized strings are optionally used to provide translated values for each of supported language.

func (*LocalizedString) Descriptor deprecated

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

Deprecated: Use LocalizedString.ProtoReflect.Descriptor instead.

func (*LocalizedString) GetTranslations

func (x *LocalizedString) GetTranslations() map[string]string

func (*LocalizedString) ProtoMessage

func (*LocalizedString) ProtoMessage()

func (*LocalizedString) ProtoReflect

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

func (*LocalizedString) Reset

func (x *LocalizedString) Reset()

func (*LocalizedString) String

func (x *LocalizedString) String() string

type MembershipEventId

type MembershipEventId int32

Protocol specific events for the Membership protocol.

const (
	MembershipEventId_MEMBER_EVENT_NONE MembershipEventId = 0
	// The member payload will be sent to destination when member record is created.
	MembershipEventId_MEMBER_EVENT_ENROLLED MembershipEventId = 1
	// The member payload will be sent to destination when any of member field is updated.
	MembershipEventId_MEMBER_EVENT_UPDATED MembershipEventId = 2
)

func (MembershipEventId) Descriptor

func (MembershipEventId) Enum

func (MembershipEventId) EnumDescriptor deprecated

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

Deprecated: Use MembershipEventId.Descriptor instead.

func (MembershipEventId) Number

func (MembershipEventId) String

func (x MembershipEventId) String() string

func (MembershipEventId) Type

type MembershipEventIds

type MembershipEventIds struct {
	Ids []MembershipEventId `protobuf:"varint,1,rep,packed,name=ids,proto3,enum=io.MembershipEventId" json:"ids,omitempty"`
	// contains filtered or unexported fields
}

Array of subscribing membership protocol events.

func (*MembershipEventIds) Descriptor deprecated

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

Deprecated: Use MembershipEventIds.ProtoReflect.Descriptor instead.

func (*MembershipEventIds) GetIds

func (x *MembershipEventIds) GetIds() []MembershipEventId

func (*MembershipEventIds) ProtoMessage

func (*MembershipEventIds) ProtoMessage()

func (*MembershipEventIds) ProtoReflect

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

func (*MembershipEventIds) Reset

func (x *MembershipEventIds) Reset()

func (*MembershipEventIds) String

func (x *MembershipEventIds) String() string

type Message

type Message struct {

	// @tag: validateUpdate:"required"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateUpdate:"required"`
	// The message title. This is used as a label in iOS and as the title in Google Pay.
	// @tag: validateCreate:"required" validateUpdate:"required"
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty" validateCreate:"required" validateUpdate:"required"`
	// Localized message title.
	LocalizedTitle *LocalizedString `protobuf:"bytes,3,opt,name=localizedTitle,proto3" json:"localizedTitle,omitempty"`
	// Plain text content cannot contain hyperlinks. Google Pay messages cannot have links, use URLs instead.
	// @tag: validateCreate:"required" validateUpdate:"required"
	PlainTextContent string `` /* 137-byte string literal not displayed */
	// Localized plain text content.
	LocalizedPlainTextContent *LocalizedString `protobuf:"bytes,5,opt,name=localizedPlainTextContent,proto3" json:"localizedPlainTextContent,omitempty"`
	// Rich text content that can contain hyperlinks. No other markup is accepted. Links will only function on iOS devices. Ignored for Google Pay.
	RichTextContent string `protobuf:"bytes,6,opt,name=richTextContent,proto3" json:"richTextContent,omitempty"`
	// Localized rich text content.
	LocalizedRichTextContent *LocalizedString `protobuf:"bytes,7,opt,name=localizedRichTextContent,proto3" json:"localizedRichTextContent,omitempty"`
	// Urls will be prioritized over existing urls on the Google Pay Pass. They are ignored for Apple Wallet.
	Urls []*Url `protobuf:"bytes,8,rep,name=urls,proto3" json:"urls,omitempty"`
	// Images to display for the duration of the message. For Google Pay, only a 'message' type image will be used. For Apple Wallet, any of strip, eventStrip, background, logo, thumbnail and footer can be used, depending on the underlying pass type.
	Images *ImageIds `protobuf:"bytes,9,opt,name=images,proto3" json:"images,omitempty"`
	// Priority the lower the priority, the lower down the message will be rendered when there are multiple messages. Defaults to a value of 10.
	Priority uint32 `protobuf:"varint,10,opt,name=priority,proto3" json:"priority,omitempty"`
	// The date and time to display the message. The value must be in RFC3339 format. If omitted, the current timestamp will be used.
	// @tag: validateCreate:"rfc3339,omitempty" validateUpdate:"rfc3339,omitempty"
	DisplayFrom string `` /* 146-byte string literal not displayed */
	// The date and time to remove the message. The value must be in RFC3339 format. If omitted, the message will be displayed indefinitely until it is cancelled.
	// @tag: validateCreate:"rfc3339,omitempty" validateUpdate:"rfc3339,omitempty"
	DisplayUntil string `` /* 148-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a message to be shown on passes such as Apple Wallet or Google Pay.

func (*Message) Descriptor deprecated

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

Deprecated: Use Message.ProtoReflect.Descriptor instead.

func (*Message) GetDisplayFrom

func (x *Message) GetDisplayFrom() string

func (*Message) GetDisplayUntil

func (x *Message) GetDisplayUntil() string

func (*Message) GetId

func (x *Message) GetId() string

func (*Message) GetImages

func (x *Message) GetImages() *ImageIds

func (*Message) GetLocalizedPlainTextContent

func (x *Message) GetLocalizedPlainTextContent() *LocalizedString

func (*Message) GetLocalizedRichTextContent

func (x *Message) GetLocalizedRichTextContent() *LocalizedString

func (*Message) GetLocalizedTitle

func (x *Message) GetLocalizedTitle() *LocalizedString

func (*Message) GetPlainTextContent

func (x *Message) GetPlainTextContent() string

func (*Message) GetPriority

func (x *Message) GetPriority() uint32

func (*Message) GetRichTextContent

func (x *Message) GetRichTextContent() string

func (*Message) GetTitle

func (x *Message) GetTitle() string

func (*Message) GetUrls

func (x *Message) GetUrls() []*Url

func (*Message) ProtoMessage

func (*Message) ProtoMessage()

func (*Message) ProtoReflect

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

func (*Message) Reset

func (x *Message) Reset()

func (*Message) String

func (x *Message) String() string

type MessageStatus

type MessageStatus int32

Status of the message lifecycle.

const (
	MessageStatus_MESSAGE_STATUS_DO_NOT_USE MessageStatus = 0
	// Message is scheduled for future delivery.
	MessageStatus_SCHEDULED MessageStatus = 1
	// Message is currently active.
	MessageStatus_ACTIVE MessageStatus = 2
	// Message is no longer visible.
	MessageStatus_EXPIRED MessageStatus = 3
	// Message delivery was cancelled.
	MessageStatus_CANCELLED MessageStatus = 4
)

func (MessageStatus) Descriptor

func (MessageStatus) Enum

func (x MessageStatus) Enum() *MessageStatus

func (MessageStatus) EnumDescriptor deprecated

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

Deprecated: Use MessageStatus.Descriptor instead.

func (MessageStatus) Number

func (MessageStatus) String

func (x MessageStatus) String() string

func (MessageStatus) Type

type MessagesClient

type MessagesClient interface {
	// Retrieves a single message by its ID. Required Fields: id.
	GetMessage(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Message, error)
	// Creates a new message that can be linked to a pass or class. Required Fields: id.
	CreateMessage(ctx context.Context, in *Message, opts ...grpc.CallOption) (*Id, error)
	// Updates an existing message by ID. Required Fields: id.
	UpdateMessage(ctx context.Context, in *Message, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Deletes a message by its ID. Required Fields: id. Note: Deleting a message removes it from all linked passes.
	DeleteMessage(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Sends a message to specified pass IDs or to all passes in a class. Required: passId, protocol.
	SendMessage(ctx context.Context, in *SendMessageRequest, opts ...grpc.CallOption) (*SendMessageResponse, error)
}

MessagesClient is the client API for Messages 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 NewMessagesClient

func NewMessagesClient(cc grpc.ClientConnInterface) MessagesClient

type MessagesServer

type MessagesServer interface {
	// Retrieves a single message by its ID. Required Fields: id.
	GetMessage(context.Context, *Id) (*Message, error)
	// Creates a new message that can be linked to a pass or class. Required Fields: id.
	CreateMessage(context.Context, *Message) (*Id, error)
	// Updates an existing message by ID. Required Fields: id.
	UpdateMessage(context.Context, *Message) (*emptypb.Empty, error)
	// Deletes a message by its ID. Required Fields: id. Note: Deleting a message removes it from all linked passes.
	DeleteMessage(context.Context, *Id) (*emptypb.Empty, error)
	// Sends a message to specified pass IDs or to all passes in a class. Required: passId, protocol.
	SendMessage(context.Context, *SendMessageRequest) (*SendMessageResponse, error)
}

MessagesServer is the server API for Messages service. All implementations should embed UnimplementedMessagesServer for forward compatibility.

type MetaLocation

type MetaLocation struct {

	// Country of issue.
	Country string `protobuf:"bytes,1,opt,name=country,proto3" json:"country,omitempty"`
	// City of issue.
	City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty"`
	// State, region, province or county of issue.
	State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`
	// Latitude of issue (provided in the issue call).
	Latitude float64 `protobuf:"fixed64,4,opt,name=latitude,proto3" json:"latitude,omitempty"`
	// Longitude of issue (provided in the issue call).
	Longitude float64 `protobuf:"fixed64,5,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

Location metadata, typically collected when a pass is issued.

func (*MetaLocation) Descriptor deprecated

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

Deprecated: Use MetaLocation.ProtoReflect.Descriptor instead.

func (*MetaLocation) GetCity

func (x *MetaLocation) GetCity() string

func (*MetaLocation) GetCountry

func (x *MetaLocation) GetCountry() string

func (*MetaLocation) GetLatitude

func (x *MetaLocation) GetLatitude() float64

func (*MetaLocation) GetLongitude

func (x *MetaLocation) GetLongitude() float64

func (*MetaLocation) GetState

func (x *MetaLocation) GetState() string

func (*MetaLocation) ProtoMessage

func (*MetaLocation) ProtoMessage()

func (*MetaLocation) ProtoReflect

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

func (*MetaLocation) Reset

func (x *MetaLocation) Reset()

func (*MetaLocation) String

func (x *MetaLocation) String() string

type Metadata

type Metadata struct {

	// Current status of the pass. Not Writable.
	Status Status `protobuf:"varint,1,opt,name=status,proto3,enum=io.Status" json:"status,omitempty"`
	// Events that the pass has attained. Not Writable.
	LifecycleEvents []LifecycleEvents `protobuf:"varint,2,rep,packed,name=lifecycleEvents,proto3,enum=io.LifecycleEvents" json:"lifecycleEvents,omitempty"`
	// Contains UTM data if provided in the URL parameters (utm_source, utm_medium, utm_name, utm_term, utm_content). Can also be used to track channel (web / app, etc).
	Utm *UTM `protobuf:"bytes,3,opt,name=utm,proto3" json:"utm,omitempty"`
	// Id of the physical pass. Not Writeable
	AltId string `protobuf:"bytes,4,opt,name=altId,proto3" json:"altId,omitempty"`
	// IP address of the pass issue. Not Writeable
	IssueIpAddress string `protobuf:"bytes,5,opt,name=issueIpAddress,proto3" json:"issueIpAddress,omitempty"`
	// IP address of the device where the pass was installed on. Not Writeable.
	InstallIpAddress string `protobuf:"bytes,6,opt,name=installIpAddress,proto3" json:"installIpAddress,omitempty"`
	// Location information based of the where the pass landing page was rendered. Not Writeable
	RenderLocation *MetaLocation `protobuf:"bytes,7,opt,name=renderLocation,proto3" json:"renderLocation,omitempty"`
	// IP address of the device where the pass landing page was rendered on. Not Writeable.
	RenderIpAddress string `protobuf:"bytes,8,opt,name=renderIpAddress,proto3" json:"renderIpAddress,omitempty"`
	// User agent provided by the Wallet Application. Not Writable.
	InstallUserAgent string `protobuf:"bytes,9,opt,name=installUserAgent,proto3" json:"installUserAgent,omitempty"`
	// User agent where the landing page was rendered on. Not Writable.
	RenderUserAgent string `protobuf:"bytes,10,opt,name=renderUserAgent,proto3" json:"renderUserAgent,omitempty"`
	// User agent provided by the Wallet Application. Not Writable.
	InstallDeviceAttributes []DeviceAttributes `` /* 133-byte string literal not displayed */
	// User agent where the landing page was rendered on. Not Writable.
	RenderDeviceAttributes []DeviceAttributes `` /* 131-byte string literal not displayed */
	// Date the pass record was created. Not Writable.
	IssueAt *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=issueAt,proto3" json:"issueAt,omitempty"`
	// Date the pass was first displayed to the user to install. Not Writable.
	RenderedAt *timestamppb.Timestamp `protobuf:"bytes,14,opt,name=renderedAt,proto3" json:"renderedAt,omitempty"`
	// Date the pass was first installed in a mobile wallet. Not Writable.
	FirstInstalledAt *timestamppb.Timestamp `protobuf:"bytes,15,opt,name=firstInstalledAt,proto3" json:"firstInstalledAt,omitempty"`
	// Date the pass was last installed in a mobile wallet. For Apple devices, this will update each time the device registers a new token. Not Writable.
	LastInstalledAt *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=lastInstalledAt,proto3" json:"lastInstalledAt,omitempty"`
	// Date the pass was first uninstalled from a mobile wallet.  For Apple devices, this represents either the time notifications were disabled, or when the pass was removed from the wallet as it is not possible to distinguish the two events. Not Writable.
	FirstUninstalledAt *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=firstUninstalledAt,proto3" json:"firstUninstalledAt,omitempty"`
	// Date the pass was last uninstalled from a mobile wallet. Not Writable.
	LastUninstalledAt *timestamppb.Timestamp `protobuf:"bytes,18,opt,name=lastUninstalledAt,proto3" json:"lastUninstalledAt,omitempty"`
	// Date the pass was invalidated. Not Writable.
	InvalidatedAt *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=invalidatedAt,proto3" json:"invalidatedAt,omitempty"`
	// Date the pass record was last updated. Can be used for segmenting passes based 'last visit', or 'last-purchase'. Not Writable.
	LastUpdatedAt *timestamppb.Timestamp `protobuf:"bytes,20,opt,name=lastUpdatedAt,proto3" json:"lastUpdatedAt,omitempty"`
	// contains filtered or unexported fields
}

Additional data relating to the pass. Metadata can be provided with a create pass request. The only writeable field is UTM. All other fields are system generated.

func (*Metadata) Descriptor deprecated

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

Deprecated: Use Metadata.ProtoReflect.Descriptor instead.

func (*Metadata) GetAltId

func (x *Metadata) GetAltId() string

func (*Metadata) GetFirstInstalledAt

func (x *Metadata) GetFirstInstalledAt() *timestamppb.Timestamp

func (*Metadata) GetFirstUninstalledAt

func (x *Metadata) GetFirstUninstalledAt() *timestamppb.Timestamp

func (*Metadata) GetInstallDeviceAttributes

func (x *Metadata) GetInstallDeviceAttributes() []DeviceAttributes

func (*Metadata) GetInstallIpAddress

func (x *Metadata) GetInstallIpAddress() string

func (*Metadata) GetInstallUserAgent

func (x *Metadata) GetInstallUserAgent() string

func (*Metadata) GetInvalidatedAt

func (x *Metadata) GetInvalidatedAt() *timestamppb.Timestamp

func (*Metadata) GetIssueAt

func (x *Metadata) GetIssueAt() *timestamppb.Timestamp

func (*Metadata) GetIssueIpAddress

func (x *Metadata) GetIssueIpAddress() string

func (*Metadata) GetLastInstalledAt

func (x *Metadata) GetLastInstalledAt() *timestamppb.Timestamp

func (*Metadata) GetLastUninstalledAt

func (x *Metadata) GetLastUninstalledAt() *timestamppb.Timestamp

func (*Metadata) GetLastUpdatedAt

func (x *Metadata) GetLastUpdatedAt() *timestamppb.Timestamp

func (*Metadata) GetLifecycleEvents

func (x *Metadata) GetLifecycleEvents() []LifecycleEvents

func (*Metadata) GetRenderDeviceAttributes

func (x *Metadata) GetRenderDeviceAttributes() []DeviceAttributes

func (*Metadata) GetRenderIpAddress

func (x *Metadata) GetRenderIpAddress() string

func (*Metadata) GetRenderLocation

func (x *Metadata) GetRenderLocation() *MetaLocation

func (*Metadata) GetRenderUserAgent

func (x *Metadata) GetRenderUserAgent() string

func (*Metadata) GetRenderedAt

func (x *Metadata) GetRenderedAt() *timestamppb.Timestamp

func (*Metadata) GetStatus

func (x *Metadata) GetStatus() Status

func (*Metadata) GetUtm

func (x *Metadata) GetUtm() *UTM

func (*Metadata) ProtoMessage

func (*Metadata) ProtoMessage()

func (*Metadata) ProtoReflect

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

func (*Metadata) Reset

func (x *Metadata) Reset()

func (*Metadata) String

func (x *Metadata) String() string

type Metrics

type Metrics struct {

	// Pass records created.
	Created uint64 `protobuf:"varint,1,opt,name=created,proto3" json:"created,omitempty"`
	// Number of passes installed in Apple Wallet.
	AppleWalletInstalls uint64 `protobuf:"varint,2,opt,name=appleWalletInstalls,proto3" json:"appleWalletInstalls,omitempty"`
	// Number of passes installed in Google Pay.
	GooglePayInstalls uint64 `protobuf:"varint,3,opt,name=googlePayInstalls,proto3" json:"googlePayInstalls,omitempty"`
	// Number of passes installed in Android wallet apps e.g. WalletPasses.
	OtherAndroidInstalls uint64 `protobuf:"varint,4,opt,name=otherAndroidInstalls,proto3" json:"otherAndroidInstalls,omitempty"`
	// Number of passes uninstalled from Apple Wallet.
	AppleWalletUninstalls uint64 `protobuf:"varint,11,opt,name=appleWalletUninstalls,proto3" json:"appleWalletUninstalls,omitempty"`
	// Number of passes uninstalled from Google Pay.
	GooglePayUninstalls uint64 `protobuf:"varint,12,opt,name=googlePayUninstalls,proto3" json:"googlePayUninstalls,omitempty"`
	// Number of passes uninstalled from Android wallet apps e.g. WalletPasses.
	OtherAndroidUninstalls uint64 `protobuf:"varint,13,opt,name=otherAndroidUninstalls,proto3" json:"otherAndroidUninstalls,omitempty"`
	// Number of passes invalidated.
	Invalidations uint64 `protobuf:"varint,20,opt,name=invalidations,proto3" json:"invalidations,omitempty"`
	// contains filtered or unexported fields
}

Metrics list issued, installed, uninstalled and invalidated counts.

func (*Metrics) Descriptor deprecated

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

Deprecated: Use Metrics.ProtoReflect.Descriptor instead.

func (*Metrics) GetAppleWalletInstalls

func (x *Metrics) GetAppleWalletInstalls() uint64

func (*Metrics) GetAppleWalletUninstalls

func (x *Metrics) GetAppleWalletUninstalls() uint64

func (*Metrics) GetCreated

func (x *Metrics) GetCreated() uint64

func (*Metrics) GetGooglePayInstalls

func (x *Metrics) GetGooglePayInstalls() uint64

func (*Metrics) GetGooglePayUninstalls

func (x *Metrics) GetGooglePayUninstalls() uint64

func (*Metrics) GetInvalidations

func (x *Metrics) GetInvalidations() uint64

func (*Metrics) GetOtherAndroidInstalls

func (x *Metrics) GetOtherAndroidInstalls() uint64

func (*Metrics) GetOtherAndroidUninstalls

func (x *Metrics) GetOtherAndroidUninstalls() uint64

func (*Metrics) ProtoMessage

func (*Metrics) ProtoMessage()

func (*Metrics) ProtoReflect

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

func (*Metrics) Reset

func (x *Metrics) Reset()

func (*Metrics) String

func (x *Metrics) String() string

type MonthlyRecursive

type MonthlyRecursive struct {

	// Day of the month (1–31).
	// @tag: validateCreate:"min=1,max=31"
	DayOfMonth int32 `protobuf:"varint,1,opt,name=dayOfMonth,proto3" json:"dayOfMonth,omitempty" validateCreate:"min=1,max=31"`
	// Optional hour of the day (0–23).
	// @tag: validateCreate:"min=0,max=23"
	Hour int32 `protobuf:"varint,2,opt,name=hour,proto3" json:"hour,omitempty" validateCreate:"min=0,max=23"`
	// Optional minute of the hour (0–59).
	// @tag: validateCreate:"min=0,max=59"
	Minute int32 `protobuf:"varint,3,opt,name=minute,proto3" json:"minute,omitempty" validateCreate:"min=0,max=59"`
	// Optional second of the minute (0–59).
	// @tag: validateCreate:"min=0,max=59"
	Second int32 `protobuf:"varint,4,opt,name=second,proto3" json:"second,omitempty" validateCreate:"min=0,max=59"`
	// Determines which month to apply the date to.
	// @tag: validateCreate:"required"
	State TimeState `protobuf:"varint,5,opt,name=state,proto3,enum=io.TimeState" json:"state,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

Recurrence rule for monthly repetition.

func (*MonthlyRecursive) Descriptor deprecated

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

Deprecated: Use MonthlyRecursive.ProtoReflect.Descriptor instead.

func (*MonthlyRecursive) GetDayOfMonth

func (x *MonthlyRecursive) GetDayOfMonth() int32

func (*MonthlyRecursive) GetHour

func (x *MonthlyRecursive) GetHour() int32

func (*MonthlyRecursive) GetMinute

func (x *MonthlyRecursive) GetMinute() int32

func (*MonthlyRecursive) GetSecond

func (x *MonthlyRecursive) GetSecond() int32

func (*MonthlyRecursive) GetState

func (x *MonthlyRecursive) GetState() TimeState

func (*MonthlyRecursive) ProtoMessage

func (*MonthlyRecursive) ProtoMessage()

func (*MonthlyRecursive) ProtoReflect

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

func (*MonthlyRecursive) Reset

func (x *MonthlyRecursive) Reset()

func (*MonthlyRecursive) String

func (x *MonthlyRecursive) String() string

type MultipleImages

type MultipleImages struct {
	Images []*ImageRecord `protobuf:"bytes,1,rep,name=images,proto3" json:"images,omitempty"`
	// contains filtered or unexported fields
}

Used for returning multiple image records.

func (*MultipleImages) Descriptor deprecated

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

Deprecated: Use MultipleImages.ProtoReflect.Descriptor instead.

func (*MultipleImages) GetImages

func (x *MultipleImages) GetImages() []*ImageRecord

func (*MultipleImages) ProtoMessage

func (*MultipleImages) ProtoMessage()

func (*MultipleImages) ProtoReflect

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

func (*MultipleImages) Reset

func (x *MultipleImages) Reset()

func (*MultipleImages) String

func (x *MultipleImages) String() string

type NFC

type NFC struct {

	// Enable or disable NFC for this pass.
	Enabled bool `protobuf:"varint,1,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// Optional certificate ID for custom signing keys. Leave empty to use default keys.
	CertificateId string `protobuf:"bytes,2,opt,name=certificateId,proto3" json:"certificateId,omitempty"`
	// The payload to encode in the NFC message (maximum 64 characters).
	// @tag: validateGeneric:"max=64"
	Payload string `protobuf:"bytes,3,opt,name=payload,proto3" json:"payload,omitempty" validateGeneric:"max=64"`
	// If true, the pass will be bound to a single iCloud account (iOS 17+ required). Prevents pass sharing.
	ICloudBound bool `protobuf:"varint,4,opt,name=iCloudBound,proto3" json:"iCloudBound,omitempty"`
	// Optional metadata for iCloud account binding display.
	BindingInfo *BindingInfo `protobuf:"bytes,5,opt,name=bindingInfo,proto3" json:"bindingInfo,omitempty"`
	// contains filtered or unexported fields
}

NFC configuration options for passes that support Near Field Communication.

func (*NFC) Descriptor deprecated

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

Deprecated: Use NFC.ProtoReflect.Descriptor instead.

func (*NFC) GetBindingInfo added in v1.1.118

func (x *NFC) GetBindingInfo() *BindingInfo

func (*NFC) GetCertificateId

func (x *NFC) GetCertificateId() string

func (*NFC) GetEnabled

func (x *NFC) GetEnabled() bool

func (*NFC) GetICloudBound added in v1.1.118

func (x *NFC) GetICloudBound() bool

func (*NFC) GetPayload

func (x *NFC) GetPayload() string

func (*NFC) ProtoMessage

func (*NFC) ProtoMessage()

func (*NFC) ProtoReflect

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

func (*NFC) Reset

func (x *NFC) Reset()

func (*NFC) String

func (x *NFC) String() string

type NFCSigningCredentialsRequest

type NFCSigningCredentialsRequest struct {

	// Password for the certificate (e.g. for .p12 file).
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// ID of the private key used to sign the certificate.
	PrivateKeyId string `protobuf:"bytes,2,opt,name=privateKeyId,proto3" json:"privateKeyId,omitempty"`
	// contains filtered or unexported fields
}

Used to provide credentials required for NFC certificate signing.

func (*NFCSigningCredentialsRequest) Descriptor deprecated

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

Deprecated: Use NFCSigningCredentialsRequest.ProtoReflect.Descriptor instead.

func (*NFCSigningCredentialsRequest) GetPassword

func (x *NFCSigningCredentialsRequest) GetPassword() string

func (*NFCSigningCredentialsRequest) GetPrivateKeyId

func (x *NFCSigningCredentialsRequest) GetPrivateKeyId() string

func (*NFCSigningCredentialsRequest) ProtoMessage

func (*NFCSigningCredentialsRequest) ProtoMessage()

func (*NFCSigningCredentialsRequest) ProtoReflect

func (*NFCSigningCredentialsRequest) Reset

func (x *NFCSigningCredentialsRequest) Reset()

func (*NFCSigningCredentialsRequest) String

type NewTeamMember added in v1.1.118

type NewTeamMember struct {

	// @tag: validateCreate:"required"
	User *NewUser `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty" validateCreate:"required"`
	// @tag: validateCreate:"required"
	Permissions *TeamMemberPermissions `protobuf:"bytes,2,opt,name=permissions,proto3" json:"permissions,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

func (*NewTeamMember) Descriptor deprecated added in v1.1.118

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

Deprecated: Use NewTeamMember.ProtoReflect.Descriptor instead.

func (*NewTeamMember) GetPermissions added in v1.1.118

func (x *NewTeamMember) GetPermissions() *TeamMemberPermissions

func (*NewTeamMember) GetUser added in v1.1.118

func (x *NewTeamMember) GetUser() *NewUser

func (*NewTeamMember) ProtoMessage added in v1.1.118

func (*NewTeamMember) ProtoMessage()

func (*NewTeamMember) ProtoReflect added in v1.1.118

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

func (*NewTeamMember) Reset added in v1.1.118

func (x *NewTeamMember) Reset()

func (*NewTeamMember) String added in v1.1.118

func (x *NewTeamMember) String() string

type NewUser

type NewUser struct {

	// @tag: validateCreate:"required,alphanum,gte=6"
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty" validateCreate:"required,alphanum,gte=6"`
	// @tag: validateCreate:"required"
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty" validateCreate:"required"`
	// @tag: validateCreate:"required"
	EmailAddress string `protobuf:"bytes,3,opt,name=emailAddress,proto3" json:"emailAddress,omitempty" validateCreate:"required"`
	// @tag: validateCreate:"omitempty"
	SendEmail bool `protobuf:"varint,4,opt,name=sendEmail,proto3" json:"sendEmail,omitempty" validateCreate:"omitempty"`
	// If a company name is provided, then a new company will be created, otherwise, the user will inherit the company.
	// of the parent.  Only system admin users can create new companies.
	// @tag: validateCreate:"omitempty"
	CompanyName string `protobuf:"bytes,5,opt,name=companyName,proto3" json:"companyName,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"omitempty"
	MobileNumber string `protobuf:"bytes,6,opt,name=mobileNumber,proto3" json:"mobileNumber,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"omitempty"
	TwoFactorAuth bool `protobuf:"varint,7,opt,name=twoFactorAuth,proto3" json:"twoFactorAuth,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"omitempty"
	IsOwner bool `protobuf:"varint,8,opt,name=isOwner,proto3" json:"isOwner,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"omitempty"
	ReadOnly bool `protobuf:"varint,9,opt,name=readOnly,proto3" json:"readOnly,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"omitempty"
	TeamMember bool `protobuf:"varint,10,opt,name=teamMember,proto3" json:"teamMember,omitempty" validateCreate:"omitempty"`
	// @tag: validateCreate:"required"
	Token string `protobuf:"bytes,11,opt,name=token,proto3" json:"token,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

func (*NewUser) Descriptor deprecated

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

Deprecated: Use NewUser.ProtoReflect.Descriptor instead.

func (*NewUser) GetCompanyName

func (x *NewUser) GetCompanyName() string

func (*NewUser) GetEmailAddress

func (x *NewUser) GetEmailAddress() string

func (*NewUser) GetIsOwner

func (x *NewUser) GetIsOwner() bool

func (*NewUser) GetMobileNumber

func (x *NewUser) GetMobileNumber() string

func (*NewUser) GetPassword

func (x *NewUser) GetPassword() string

func (*NewUser) GetReadOnly

func (x *NewUser) GetReadOnly() bool

func (*NewUser) GetSendEmail

func (x *NewUser) GetSendEmail() bool

func (*NewUser) GetTeamMember added in v1.1.118

func (x *NewUser) GetTeamMember() bool

func (*NewUser) GetToken added in v1.1.118

func (x *NewUser) GetToken() string

func (*NewUser) GetTwoFactorAuth

func (x *NewUser) GetTwoFactorAuth() bool

func (*NewUser) GetUsername

func (x *NewUser) GetUsername() string

func (*NewUser) ProtoMessage

func (*NewUser) ProtoMessage()

func (*NewUser) ProtoReflect

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

func (*NewUser) Reset

func (x *NewUser) Reset()

func (*NewUser) String

func (x *NewUser) String() string

type NewUserResponse

type NewUserResponse struct {
	UserId       string `protobuf:"bytes,1,opt,name=userId,proto3" json:"userId,omitempty"`
	CompanyId    string `protobuf:"bytes,2,opt,name=companyId,proto3" json:"companyId,omitempty"`
	Username     string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	EmailAddress string `protobuf:"bytes,4,opt,name=emailAddress,proto3" json:"emailAddress,omitempty"`
	Secret       string `protobuf:"bytes,5,opt,name=secret,proto3" json:"secret,omitempty"`
	Certificate  string `protobuf:"bytes,6,opt,name=certificate,proto3" json:"certificate,omitempty"`
	PrivateKey   string `protobuf:"bytes,7,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// JavaPrivateKey contains a PKCS#8 encrypted private key. Use with Java 11 and below.
	JavaPrivateKey string                 `protobuf:"bytes,8,opt,name=javaPrivateKey,proto3" json:"javaPrivateKey,omitempty"`
	ExpiresAt      *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=expiresAt,proto3" json:"expiresAt,omitempty"`
	RegionId       string                 `protobuf:"bytes,10,opt,name=regionId,proto3" json:"regionId,omitempty"`
	// contains filtered or unexported fields
}

func (*NewUserResponse) Descriptor deprecated

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

Deprecated: Use NewUserResponse.ProtoReflect.Descriptor instead.

func (*NewUserResponse) GetCertificate

func (x *NewUserResponse) GetCertificate() string

func (*NewUserResponse) GetCompanyId

func (x *NewUserResponse) GetCompanyId() string

func (*NewUserResponse) GetEmailAddress

func (x *NewUserResponse) GetEmailAddress() string

func (*NewUserResponse) GetExpiresAt

func (x *NewUserResponse) GetExpiresAt() *timestamppb.Timestamp

func (*NewUserResponse) GetJavaPrivateKey

func (x *NewUserResponse) GetJavaPrivateKey() string

func (*NewUserResponse) GetPrivateKey

func (x *NewUserResponse) GetPrivateKey() string

func (*NewUserResponse) GetRegionId

func (x *NewUserResponse) GetRegionId() string

func (*NewUserResponse) GetSecret

func (x *NewUserResponse) GetSecret() string

func (*NewUserResponse) GetUserId

func (x *NewUserResponse) GetUserId() string

func (*NewUserResponse) GetUsername

func (x *NewUserResponse) GetUsername() string

func (*NewUserResponse) ProtoMessage

func (*NewUserResponse) ProtoMessage()

func (*NewUserResponse) ProtoReflect

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

func (*NewUserResponse) Reset

func (x *NewUserResponse) Reset()

func (*NewUserResponse) String

func (x *NewUserResponse) String() string

type Note

type Note struct {

	// the id of the subject who note is a written against
	SubjectId string `protobuf:"bytes,1,opt,name=subjectId,proto3" json:"subjectId,omitempty"`
	// the username of who creates the note
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// the content of the note
	Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message,omitempty"`
	// when the note was created
	Created *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=created,proto3" json:"created,omitempty"`
	// contains filtered or unexported fields
}

Represents a note associated with an api call.

func (*Note) Descriptor deprecated

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

Deprecated: Use Note.ProtoReflect.Descriptor instead.

func (*Note) GetCreated

func (x *Note) GetCreated() *timestamppb.Timestamp

func (*Note) GetMessage

func (x *Note) GetMessage() string

func (*Note) GetSubjectId

func (x *Note) GetSubjectId() string

func (*Note) GetUsername

func (x *Note) GetUsername() string

func (*Note) ProtoMessage

func (*Note) ProtoMessage()

func (*Note) ProtoReflect

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

func (*Note) Reset

func (x *Note) Reset()

func (*Note) String

func (x *Note) String() string

type NumberStyle

type NumberStyle int32

Enum defining number display styles.

const (
	NumberStyle_NUMBER_STYLE_DO_NOT_USE NumberStyle = 0
	// Display as a decimal (e.g., 1,000.00).
	NumberStyle_NUMBER_STYLE_DECIMAL NumberStyle = 1
	// Display as a percent (e.g., 50%).
	NumberStyle_NUMBER_STYLE_PERCENT NumberStyle = 2
	// Display in scientific notation (e.g., 1.0e3).
	NumberStyle_NUMBER_STYLE_SCIENTIFIC NumberStyle = 3
	// Spell out the number (e.g., "one thousand").
	NumberStyle_NUMBER_STYLE_SPELL NumberStyle = 4
)

func (NumberStyle) Descriptor

func (NumberStyle) Enum

func (x NumberStyle) Enum() *NumberStyle

func (NumberStyle) EnumDescriptor deprecated

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

Deprecated: Use NumberStyle.Descriptor instead.

func (NumberStyle) Number

func (x NumberStyle) Number() protoreflect.EnumNumber

func (NumberStyle) String

func (x NumberStyle) String() string

func (NumberStyle) Type

type OAuth2AuthorizationRequest

type OAuth2AuthorizationRequest struct {

	// The code passed back from the application that we wish to gain access to.
	// @tag: validateCreate:"required"
	ClientCode string `protobuf:"bytes,1,opt,name=clientCode,proto3" json:"clientCode,omitempty" validateCreate:"required"`
	// The provider of the access token, determines which environment variables are used.
	// @tag: validateCreate:"required"
	Provider OAuth2Provider `protobuf:"varint,2,opt,name=provider,proto3,enum=io.OAuth2Provider" json:"provider,omitempty" validateCreate:"required"`
	// The redirect Uri that was provided when the authorization code was generated.
	// @tag: validateCreate:"omitempty"
	RedirectUri string `protobuf:"bytes,3,opt,name=redirectUri,proto3" json:"redirectUri,omitempty" validateCreate:"omitempty"`
	// contains filtered or unexported fields
}

OAuth2AuthorizationRequest contains needed values to complete an OAuth2 request

func (*OAuth2AuthorizationRequest) Descriptor deprecated

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

Deprecated: Use OAuth2AuthorizationRequest.ProtoReflect.Descriptor instead.

func (*OAuth2AuthorizationRequest) GetClientCode

func (x *OAuth2AuthorizationRequest) GetClientCode() string

func (*OAuth2AuthorizationRequest) GetProvider

func (x *OAuth2AuthorizationRequest) GetProvider() OAuth2Provider

func (*OAuth2AuthorizationRequest) GetRedirectUri

func (x *OAuth2AuthorizationRequest) GetRedirectUri() string

func (*OAuth2AuthorizationRequest) ProtoMessage

func (*OAuth2AuthorizationRequest) ProtoMessage()

func (*OAuth2AuthorizationRequest) ProtoReflect

func (*OAuth2AuthorizationRequest) Reset

func (x *OAuth2AuthorizationRequest) Reset()

func (*OAuth2AuthorizationRequest) String

func (x *OAuth2AuthorizationRequest) String() string

type OAuth2Provider

type OAuth2Provider int32
const (
	// Zero based enum, don't use 0
	OAuth2Provider_OAUTH_DO_NOT_USE OAuth2Provider = 0
	// Membership 10-49
	OAuth2Provider_OAUTH_PATREON OAuth2Provider = 10
	// CRM 50-99
	OAuth2Provider_OAUTH_SPROUT OAuth2Provider = 50
	// Marketing 100-149
	OAuth2Provider_OAUTH_MAILCHIMP OAuth2Provider = 100
	// Accounting 150-199
	OAuth2Provider_OAUTH_XERO OAuth2Provider = 150
)

func (OAuth2Provider) Descriptor

func (OAuth2Provider) Enum

func (x OAuth2Provider) Enum() *OAuth2Provider

func (OAuth2Provider) EnumDescriptor deprecated

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

Deprecated: Use OAuth2Provider.Descriptor instead.

func (OAuth2Provider) Number

func (OAuth2Provider) String

func (x OAuth2Provider) String() string

func (OAuth2Provider) Type

type Operation added in v1.1.97

type Operation int32

Specifies the type of update operation to perform.

const (
	// Will use the default operator PATCH.
	Operation_OPERATION_DO_NOT_USE Operation = 0
	// PUT will replace all values provided in the request.
	Operation_OPERATION_PUT Operation = 1
	// PATCH will ignore missing or falsey values.
	Operation_OPERATION_PATCH Operation = 2
)

func (Operation) Descriptor added in v1.1.97

func (Operation) Descriptor() protoreflect.EnumDescriptor

func (Operation) Enum added in v1.1.97

func (x Operation) Enum() *Operation

func (Operation) EnumDescriptor deprecated added in v1.1.97

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

Deprecated: Use Operation.Descriptor instead.

func (Operation) Number added in v1.1.97

func (x Operation) Number() protoreflect.EnumNumber

func (Operation) String added in v1.1.97

func (x Operation) String() string

func (Operation) Type added in v1.1.97

type Operator

type Operator int32

Defines how to join grouped filter fields in a query.

const (
	// Join grouped filter fields with AND operator. E.g. tier_id = bronze AND tier_id = silver. The default.
	Operator_AND Operator = 0
	// Join grouped filter fields with OR operator. E.g. tier_id = bronze OR tier_id = silver.
	Operator_OR Operator = 1
)

func (Operator) Descriptor

func (Operator) Descriptor() protoreflect.EnumDescriptor

func (Operator) Enum

func (x Operator) Enum() *Operator

func (Operator) EnumDescriptor deprecated

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

Deprecated: Use Operator.Descriptor instead.

func (Operator) Number

func (x Operator) Number() protoreflect.EnumNumber

func (Operator) String

func (x Operator) String() string

func (Operator) Type

type OrderItem

type OrderItem struct {

	// The item price
	Amount float32 `protobuf:"fixed32,1,opt,name=amount,proto3" json:"amount,omitempty"`
	// Tax on the item
	Tax float32 `protobuf:"fixed32,2,opt,name=tax,proto3" json:"tax,omitempty"`
	// The item name
	ItemName string `protobuf:"bytes,3,opt,name=itemName,proto3" json:"itemName,omitempty"`
	// The quantity of items ordered
	Quantity int32 `protobuf:"varint,4,opt,name=quantity,proto3" json:"quantity,omitempty"`
	// The SKU as used in the system generating the transaction
	Sku string `protobuf:"bytes,5,opt,name=sku,proto3" json:"sku,omitempty"`
	// contains filtered or unexported fields
}

Represents a single item in a transaction order.

func (*OrderItem) Descriptor deprecated

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

Deprecated: Use OrderItem.ProtoReflect.Descriptor instead.

func (*OrderItem) GetAmount

func (x *OrderItem) GetAmount() float32

func (*OrderItem) GetItemName

func (x *OrderItem) GetItemName() string

func (*OrderItem) GetQuantity

func (x *OrderItem) GetQuantity() int32

func (*OrderItem) GetSku

func (x *OrderItem) GetSku() string

func (*OrderItem) GetTax

func (x *OrderItem) GetTax() float32

func (*OrderItem) ProtoMessage

func (*OrderItem) ProtoMessage()

func (*OrderItem) ProtoReflect

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

func (*OrderItem) Reset

func (x *OrderItem) Reset()

func (*OrderItem) String

func (x *OrderItem) String() string

type Pagination

type Pagination struct {

	// Limit the number of records returned. If not specified, a default of 25 is used.  Enter -1 for all records.
	Limit int32 `protobuf:"varint,1,opt,name=limit,proto3" json:"limit,omitempty"`
	// Allows you to offset the first record returned by the limit.
	Offset int32 `protobuf:"varint,2,opt,name=offset,proto3" json:"offset,omitempty"`
	// Array of column names to filter results by.
	FilterField []string `protobuf:"bytes,3,rep,name=filterField,proto3" json:"filterField,omitempty"`
	// Array of values to test against the filter fields.
	FilterValue []string `protobuf:"bytes,4,rep,name=filterValue,proto3" json:"filterValue,omitempty"`
	// will be whitelisted operators in io core
	FilterOperator []string `protobuf:"bytes,5,rep,name=filterOperator,proto3" json:"filterOperator,omitempty"`
	// Field to order results by.
	OrderBy string `protobuf:"bytes,6,opt,name=orderBy,proto3" json:"orderBy,omitempty"`
	// Will return in ascending order if true, or descending order if false.
	OrderAsc bool `protobuf:"varint,7,opt,name=orderAsc,proto3" json:"orderAsc,omitempty"`
	// contains filtered or unexported fields
}

Pagination object used to split content into smaller parts.

func (*Pagination) Descriptor deprecated

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

Deprecated: Use Pagination.ProtoReflect.Descriptor instead.

func (*Pagination) GetFilterField

func (x *Pagination) GetFilterField() []string

func (*Pagination) GetFilterOperator

func (x *Pagination) GetFilterOperator() []string

func (*Pagination) GetFilterValue

func (x *Pagination) GetFilterValue() []string

func (*Pagination) GetLimit

func (x *Pagination) GetLimit() int32

func (*Pagination) GetOffset

func (x *Pagination) GetOffset() int32

func (*Pagination) GetOrderAsc

func (x *Pagination) GetOrderAsc() bool

func (*Pagination) GetOrderBy

func (x *Pagination) GetOrderBy() string

func (*Pagination) ProtoMessage

func (*Pagination) ProtoMessage()

func (*Pagination) ProtoReflect

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

func (*Pagination) Reset

func (x *Pagination) Reset()

func (*Pagination) String

func (x *Pagination) String() string

type Pass

type Pass struct {

	// The uuid of the pass.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// The class id of the pass which it belongs to.
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty"`
	// Protocol module which this pass was issued by.
	Protocol PassProtocol `protobuf:"varint,3,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty"`
	// PII data of pass holder.
	PersonDetails *Person `protobuf:"bytes,4,opt,name=personDetails,proto3" json:"personDetails,omitempty"`
	// Pass meta data such as install ip, user agent and other lifecycle data.
	Metadata *Metadata `protobuf:"bytes,5,opt,name=metadata,proto3" json:"metadata,omitempty"`
	// Holds protocol specific data (e.g. tier points for Membership protocol, flight number for flight protocol)
	RecordData map[string]string `` /* 147-byte string literal not displayed */
	// Will hold the external id of the object (as set by protocol)
	ExternalId string `protobuf:"bytes,7,opt,name=externalId,proto3" json:"externalId,omitempty"`
	// contains filtered or unexported fields
}

Details of pass and pass holder.

func (*Pass) Descriptor deprecated

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

Deprecated: Use Pass.ProtoReflect.Descriptor instead.

func (*Pass) GetClassId

func (x *Pass) GetClassId() string

func (*Pass) GetExternalId

func (x *Pass) GetExternalId() string

func (*Pass) GetId

func (x *Pass) GetId() string

func (*Pass) GetMetadata

func (x *Pass) GetMetadata() *Metadata

func (*Pass) GetPersonDetails

func (x *Pass) GetPersonDetails() *Person

func (*Pass) GetProtocol

func (x *Pass) GetProtocol() PassProtocol

func (*Pass) GetRecordData

func (x *Pass) GetRecordData() map[string]string

func (*Pass) ProtoMessage

func (*Pass) ProtoMessage()

func (*Pass) ProtoReflect

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

func (*Pass) Reset

func (x *Pass) Reset()

func (*Pass) String

func (x *Pass) String() string

type PassBundle

type PassBundle struct {
	Id                string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Url               string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	GooglePayURL      string `protobuf:"bytes,5,opt,name=googlePayURL,proto3" json:"googlePayURL,omitempty"`
	ApplePassBytes    []byte `protobuf:"bytes,6,opt,name=applePassBytes,proto3" json:"applePassBytes,omitempty"`
	MultiplePassesURL string `protobuf:"bytes,7,opt,name=multiplePassesURL,proto3" json:"multiplePassesURL,omitempty"`
	// contains filtered or unexported fields
}

A Pass Bundle contains one or more ways to access a pass (e.g. URLs or raw Apple pass file).

func (*PassBundle) Descriptor deprecated

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

Deprecated: Use PassBundle.ProtoReflect.Descriptor instead.

func (*PassBundle) GetApplePassBytes

func (x *PassBundle) GetApplePassBytes() []byte

func (*PassBundle) GetGooglePayURL

func (x *PassBundle) GetGooglePayURL() string

func (*PassBundle) GetId

func (x *PassBundle) GetId() string

func (*PassBundle) GetMultiplePassesURL

func (x *PassBundle) GetMultiplePassesURL() string

func (*PassBundle) GetUrl

func (x *PassBundle) GetUrl() string

func (*PassBundle) ProtoMessage

func (*PassBundle) ProtoMessage()

func (*PassBundle) ProtoReflect

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

func (*PassBundle) Reset

func (x *PassBundle) Reset()

func (*PassBundle) String

func (x *PassBundle) String() string

type PassBundleFormat

type PassBundleFormat int32

PassBundleFormat specifies the format(s) used to deliver the pass.

const (
	// Web landing page URL.
	PassBundleFormat_PASS_URL PassBundleFormat = 0
	// Google Pay pass install URL.
	PassBundleFormat_GOOGLE_URL PassBundleFormat = 2
	// Base64 encoded bytes for Apple Wallet pass file (.pkpass).
	PassBundleFormat_APPLE_PASS_BUNDLE PassBundleFormat = 8
	// URL for multiple pass install by shared identifier.
	PassBundleFormat_MULTI_LINK PassBundleFormat = 16
)

func (PassBundleFormat) Descriptor

func (PassBundleFormat) Enum

func (PassBundleFormat) EnumDescriptor deprecated

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

Deprecated: Use PassBundleFormat.Descriptor instead.

func (PassBundleFormat) Number

func (PassBundleFormat) String

func (x PassBundleFormat) String() string

func (PassBundleFormat) Type

type PassBundleRequest

type PassBundleRequest struct {
	Id     string             `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	Format []PassBundleFormat `protobuf:"varint,2,rep,packed,name=format,proto3,enum=io.PassBundleFormat" json:"format,omitempty"`
	// contains filtered or unexported fields
}

Request to retrieve pass data in the requested bundle formats.

func (*PassBundleRequest) Descriptor deprecated

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

Deprecated: Use PassBundleRequest.ProtoReflect.Descriptor instead.

func (*PassBundleRequest) GetFormat

func (x *PassBundleRequest) GetFormat() []PassBundleFormat

func (*PassBundleRequest) GetId

func (x *PassBundleRequest) GetId() string

func (*PassBundleRequest) ProtoMessage

func (*PassBundleRequest) ProtoMessage()

func (*PassBundleRequest) ProtoReflect

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

func (*PassBundleRequest) Reset

func (x *PassBundleRequest) Reset()

func (*PassBundleRequest) String

func (x *PassBundleRequest) String() string

type PassBundles

type PassBundles struct {
	Passes []*PassBundle `protobuf:"bytes,1,rep,name=passes,proto3" json:"passes,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for multiple pass bundles.

func (*PassBundles) Descriptor deprecated

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

Deprecated: Use PassBundles.ProtoReflect.Descriptor instead.

func (*PassBundles) GetPasses

func (x *PassBundles) GetPasses() []*PassBundle

func (*PassBundles) ProtoMessage

func (*PassBundles) ProtoMessage()

func (*PassBundles) ProtoReflect

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

func (*PassBundles) Reset

func (x *PassBundles) Reset()

func (*PassBundles) String

func (x *PassBundles) String() string

type PassEventId

type PassEventId int32

Name of pass event the third part app can subscribe to.

const (
	// The pass payload will not be sent.
	PassEventId_PASS_EVENT_NONE PassEventId = 0
	// The pass payload will be sent to destination when pass record is created and issued.
	PassEventId_PASS_EVENT_RECORD_CREATED PassEventId = 1
	// The pass payload will be sent to destination when pass is installed on a mobile device.
	PassEventId_PASS_EVENT_INSTALLED PassEventId = 2
	// The pass payload will be sent to destination when pass record or contents have been updated.
	PassEventId_PASS_EVENT_RECORD_UPDATED PassEventId = 4
	// The pass payload will be sent to destination when pass is uninstalled from a mobile device.
	PassEventId_PASS_EVENT_UNINSTALLED PassEventId = 8
	// The pass payload will be sent to destination when pass is invalidated or expired. When pass is invalidated or expired, a pass will lose its barcode and pass content cannot be updated anymore.
	PassEventId_PASS_EVENT_INVALIDATED PassEventId = 16
	// The pass payload will be sent to destination when pass record is deleted from the PassKit database.
	PassEventId_PASS_EVENT_RECORD_DELETED PassEventId = 32
)

func (PassEventId) Descriptor

func (PassEventId) Enum

func (x PassEventId) Enum() *PassEventId

func (PassEventId) EnumDescriptor deprecated

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

Deprecated: Use PassEventId.Descriptor instead.

func (PassEventId) Number

func (x PassEventId) Number() protoreflect.EnumNumber

func (PassEventId) String

func (x PassEventId) String() string

func (PassEventId) Type

type PassIds

type PassIds struct {

	// Repeated compressed UUID strings representing individual pass IDs.
	// @tag: validateCreate:"uuidCompressedString,dive", validateUpdate:"uuidCompressedString,dive", validateGeneric:"uuidCompressedString,dive"
	Ids []string `` /* 189-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used to reference multiple pass IDs in a single operation.

func (*PassIds) Descriptor deprecated

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

Deprecated: Use PassIds.ProtoReflect.Descriptor instead.

func (*PassIds) GetIds

func (x *PassIds) GetIds() []string

func (*PassIds) ProtoMessage

func (*PassIds) ProtoMessage()

func (*PassIds) ProtoReflect

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

func (*PassIds) Reset

func (x *PassIds) Reset()

func (*PassIds) String

func (x *PassIds) String() string

type PassOptions

type PassOptions struct {

	// Apple Wallet-specific pass rendering and behavior options.
	Apple *AppleWalletSettings `protobuf:"bytes,1,opt,name=apple,proto3" json:"apple,omitempty"`
	// Google Pay-specific pass rendering and behavior options.
	Google *GooglePaySettings `protobuf:"bytes,2,opt,name=google,proto3" json:"google,omitempty"`
	// contains filtered or unexported fields
}

PassOptions contains settings specific to each pass platform.

func (*PassOptions) Descriptor deprecated

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

Deprecated: Use PassOptions.ProtoReflect.Descriptor instead.

func (*PassOptions) GetApple

func (x *PassOptions) GetApple() *AppleWalletSettings

func (*PassOptions) GetGoogle

func (x *PassOptions) GetGoogle() *GooglePaySettings

func (*PassOptions) ProtoMessage

func (*PassOptions) ProtoMessage()

func (*PassOptions) ProtoReflect

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

func (*PassOptions) Reset

func (x *PassOptions) Reset()

func (*PassOptions) String

func (x *PassOptions) String() string

type PassOverrides

type PassOverrides struct {

	// Image ID's of images to override for this pass.
	ImageIds *ImageIds `protobuf:"bytes,1,opt,name=imageIds,proto3" json:"imageIds,omitempty"`
	// A list of up to 10 GPS locations where this pass should be presented on the lock-screen.
	Locations []*GPSLocation `protobuf:"bytes,3,rep,name=locations,proto3" json:"locations,omitempty"`
	// A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen.
	Beacons []*Beacon `protobuf:"bytes,4,rep,name=beacons,proto3" json:"beacons,omitempty"`
	// A list of (personalized) links to be shown on the pass.
	Links []*Link `protobuf:"bytes,5,rep,name=links,proto3" json:"links,omitempty"`
	// Stores custom pass colors.
	Colors *Colors `protobuf:"bytes,6,opt,name=colors,proto3" json:"colors,omitempty"`
	// Deprecated - user appStoreIdentifiers.  A list of iTunes Store item identifiers for the associated apps. Only one item in the list is used — the first item identifier for an app compatible with the user's App Store account and device (hardware/iOS version). If the app is not installed, the link opens the App Store and shows the app. If the app is already installed, the link launches the app.
	AssociatedStoreIdentifiers []uint32 `protobuf:"varint,7,rep,packed,name=associatedStoreIdentifiers,proto3" json:"associatedStoreIdentifiers,omitempty"`
	// A list of iTunes Store item identifiers for the associated apps. Only one item in the list is used — the first item identifier for an app compatible with the user's App Store account and device (hardware/iOS version). If the app is not installed, the link opens the App Store and shows the app. If the app is already installed, the link launches the app.
	AppStoreIdentifiers []uint64 `protobuf:"varint,8,rep,packed,name=appStoreIdentifiers,proto3" json:"appStoreIdentifiers,omitempty"`
	// contains filtered or unexported fields
}

PassOverrides contains optional pass-object level details. Overrides any template level values.

func (*PassOverrides) Descriptor deprecated

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

Deprecated: Use PassOverrides.ProtoReflect.Descriptor instead.

func (*PassOverrides) GetAppStoreIdentifiers added in v1.1.80

func (x *PassOverrides) GetAppStoreIdentifiers() []uint64

func (*PassOverrides) GetAssociatedStoreIdentifiers

func (x *PassOverrides) GetAssociatedStoreIdentifiers() []uint32

func (*PassOverrides) GetBeacons

func (x *PassOverrides) GetBeacons() []*Beacon

func (*PassOverrides) GetColors

func (x *PassOverrides) GetColors() *Colors

func (*PassOverrides) GetImageIds

func (x *PassOverrides) GetImageIds() *ImageIds
func (x *PassOverrides) GetLinks() []*Link

func (*PassOverrides) GetLocations

func (x *PassOverrides) GetLocations() []*GPSLocation

func (*PassOverrides) ProtoMessage

func (*PassOverrides) ProtoMessage()

func (*PassOverrides) ProtoReflect

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

func (*PassOverrides) Reset

func (x *PassOverrides) Reset()

func (*PassOverrides) String

func (x *PassOverrides) String() string

type PassProtocol

type PassProtocol int32

Enum representing different protocols supported.

const (
	PassProtocol_PASS_PROTOCOL_DO_NOT_USE PassProtocol = 0
	// Reserved for raw pass protocol.
	PassProtocol_RAW_PROTOCOL PassProtocol = 1
	// Reserved for migrating legacy v1 passes.
	PassProtocol_V1_PROTOCOL PassProtocol = 2
	// Flights protocol: https://docs.passkit.io/protocols/boarding/
	PassProtocol_FLIGHT_PROTOCOL PassProtocol = 3
	// Values 100 onwards are for PassKit generic protocols.
	// Generic Membership protocol: https://docs.passkit.io/protocols/member/
	PassProtocol_MEMBERSHIP PassProtocol = 100
	// Single Use Coupon protocol: https://docs.passkit.io/protocols/coupon/
	PassProtocol_SINGLE_USE_COUPON PassProtocol = 101
	// Event Ticket protocol: https://docs.passkit.io/protocols/event/
	PassProtocol_EVENT_TICKETING PassProtocol = 102
)

func (PassProtocol) Descriptor

func (PassProtocol) Enum

func (x PassProtocol) Enum() *PassProtocol

func (PassProtocol) EnumDescriptor deprecated

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

Deprecated: Use PassProtocol.Descriptor instead.

func (PassProtocol) Number

func (PassProtocol) String

func (x PassProtocol) String() string

func (PassProtocol) Type

type PassTemplate

type PassTemplate struct {

	// This design id (not writable).
	// @tag: validateGeneric:"required" validateCreate:"-" validateUpdate:"required"
	Id string `` /* 129-byte string literal not displayed */
	// A name to allow for searching within the console.
	// @tag: validate:"required"
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty" validate:"required"`
	// The protocol for the design.
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 171-byte string literal not displayed */
	// The version of the protocol design. (for protocols that support more than one pass style).
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Revision uint32 `` /* 152-byte string literal not displayed */
	// This defines the template’s default language. For a list of supported languages please see the Language List.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	DefaultLanguage LanguageCode `` /* 187-byte string literal not displayed */
	// This is the name of the company or organisation issuing the pass.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	OrganizationName string `` /* 167-byte string literal not displayed */
	// Different language translations for the name of company or organisation issuing the pass.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	LocalizedOrganizationName *LocalizedString `` /* 185-byte string literal not displayed */
	// This is your campaign description. The description will be displayed at the top on the back of the Apple pass, and when customers are downloading their pass. This value should detail the campaign offers and customer benefits.
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	Description string `` /* 155-byte string literal not displayed */
	// Different language translations for the campaign description.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	LocalizedDescription *LocalizedString `` /* 175-byte string literal not displayed */
	// This holds pass fields for both front and back of the pass and settings of rendering pass fields and data collection page.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Data *Data `` /* 144-byte string literal not displayed */
	// Image assets hold image data.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	//
	// Types that are valid to be assigned to ImageAssets:
	//
	//	*PassTemplate_ImageIds
	//	*PassTemplate_Images
	ImageAssets isPassTemplate_ImageAssets `protobuf_oneof:"ImageAssets" validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"`
	// Colours take a hex code input.  A '#' prefix is optional. Not all colors have effect on each design.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Colors *Colors `` /* 148-byte string literal not displayed */
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Barcode *Barcode `` /* 150-byte string literal not displayed */
	// NFC enabled passes will depend on client certificate capabilities. Contact support for more information.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	NfcEnabled *NFC `` /* 156-byte string literal not displayed */
	// When set controls how this pass is shared. For Apple wallet this uses the built in sharing functionality. For Google Pay, a sharing link will be added to the pass.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Sharing *Sharing `` /* 150-byte string literal not displayed */
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	AppleWalletSettings *AppleWalletSettings `` /* 174-byte string literal not displayed */
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	GooglePaySettings *GooglePaySettings `` /* 170-byte string literal not displayed */
	// A list of up to 10 GPS locations where this pass should be presented on the lock-screen.
	// @tag: validateGeneric:"omitempty,dive" validateCreate:"omitempty,dive" validateUpdate:"omitempty,dive"
	Locations []*GPSLocation `` /* 169-byte string literal not displayed */
	// A list of up to 10 Beacon UUIDs that should trigger the pass to be presented on the lock-screen.
	// @tag: validateGeneric:"omitempty,dive" validateCreate:"omitempty,dive" validateUpdate:"omitempty,dive"
	Beacons []*Beacon `` /* 165-byte string literal not displayed */
	// A list of links to be shown on each pass.
	// @tag: validateGeneric:"omitempty,dive" validateCreate:"omitempty,dive" validateUpdate:"omitempty,dive"
	Links []*Link `` /* 161-byte string literal not displayed */
	// Timezone string in IANA timezone format. If not provided defaults to Etc/UTC.
	// @tag: validateGeneric:"omitempty,ianaTimeZone" validateCreate:"required,ianaTimeZone" validateUpdate:"required,ianaTimeZone"
	Timezone       string          `` /* 189-byte string literal not displayed */
	ExpirySettings *ExpirySettings `protobuf:"bytes,23,opt,name=expirySettings,proto3" json:"expirySettings,omitempty"`
	// Optional settings that override default localizations and Android experience.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	LandingPageSettings *LandingPageSettings `` /* 174-byte string literal not displayed */
	// contains filtered or unexported fields
}

Pass Template holds design and data elements for Apple Wallet and Google Pay passes.

func (*PassTemplate) Descriptor deprecated

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

Deprecated: Use PassTemplate.ProtoReflect.Descriptor instead.

func (*PassTemplate) GetAppleWalletSettings

func (x *PassTemplate) GetAppleWalletSettings() *AppleWalletSettings

func (*PassTemplate) GetBarcode

func (x *PassTemplate) GetBarcode() *Barcode

func (*PassTemplate) GetBeacons

func (x *PassTemplate) GetBeacons() []*Beacon

func (*PassTemplate) GetColors

func (x *PassTemplate) GetColors() *Colors

func (*PassTemplate) GetData

func (x *PassTemplate) GetData() *Data

func (*PassTemplate) GetDefaultLanguage

func (x *PassTemplate) GetDefaultLanguage() LanguageCode

func (*PassTemplate) GetDescription

func (x *PassTemplate) GetDescription() string

func (*PassTemplate) GetExpirySettings

func (x *PassTemplate) GetExpirySettings() *ExpirySettings

func (*PassTemplate) GetGooglePaySettings

func (x *PassTemplate) GetGooglePaySettings() *GooglePaySettings

func (*PassTemplate) GetId

func (x *PassTemplate) GetId() string

func (*PassTemplate) GetImageAssets

func (x *PassTemplate) GetImageAssets() isPassTemplate_ImageAssets

func (*PassTemplate) GetImageIds

func (x *PassTemplate) GetImageIds() *ImageIds

func (*PassTemplate) GetImages

func (x *PassTemplate) GetImages() *ImageData

func (*PassTemplate) GetLandingPageSettings

func (x *PassTemplate) GetLandingPageSettings() *LandingPageSettings
func (x *PassTemplate) GetLinks() []*Link

func (*PassTemplate) GetLocalizedDescription

func (x *PassTemplate) GetLocalizedDescription() *LocalizedString

func (*PassTemplate) GetLocalizedOrganizationName

func (x *PassTemplate) GetLocalizedOrganizationName() *LocalizedString

func (*PassTemplate) GetLocations

func (x *PassTemplate) GetLocations() []*GPSLocation

func (*PassTemplate) GetName

func (x *PassTemplate) GetName() string

func (*PassTemplate) GetNfcEnabled

func (x *PassTemplate) GetNfcEnabled() *NFC

func (*PassTemplate) GetOrganizationName

func (x *PassTemplate) GetOrganizationName() string

func (*PassTemplate) GetProtocol

func (x *PassTemplate) GetProtocol() PassProtocol

func (*PassTemplate) GetRevision

func (x *PassTemplate) GetRevision() uint32

func (*PassTemplate) GetSharing

func (x *PassTemplate) GetSharing() *Sharing

func (*PassTemplate) GetTimezone

func (x *PassTemplate) GetTimezone() string

func (*PassTemplate) ProtoMessage

func (*PassTemplate) ProtoMessage()

func (*PassTemplate) ProtoReflect

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

func (*PassTemplate) Reset

func (x *PassTemplate) Reset()

func (*PassTemplate) String

func (x *PassTemplate) String() string

type PassTemplateResponse

type PassTemplateResponse struct {

	// The full pass template object, including field configurations and settings.
	Template *PassTemplate `protobuf:"bytes,1,opt,name=template,proto3" json:"template,omitempty"`
	// The name assigned to the template.
	Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"`
	// The username of the user who created or owns the template.
	OwnerUsername string `protobuf:"bytes,3,opt,name=ownerUsername,proto3" json:"ownerUsername,omitempty"`
	// The protocol associated with this template.
	Protocol PassProtocol `protobuf:"varint,4,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty"`
	// The revision number of the template. This increases with each update.
	Revision uint32 `protobuf:"varint,5,opt,name=revision,proto3" json:"revision,omitempty"`
	// Timestamp indicating when the template was first created.
	CreatedAt *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=createdAt,proto3" json:"createdAt,omitempty"`
	// Timestamp indicating when the template was last updated.
	UpdatedAt *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"`
	// contains filtered or unexported fields
}

Response message containing metadata and details about a PassTemplate.

func (*PassTemplateResponse) Descriptor deprecated

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

Deprecated: Use PassTemplateResponse.ProtoReflect.Descriptor instead.

func (*PassTemplateResponse) GetCreatedAt

func (x *PassTemplateResponse) GetCreatedAt() *timestamppb.Timestamp

func (*PassTemplateResponse) GetName

func (x *PassTemplateResponse) GetName() string

func (*PassTemplateResponse) GetOwnerUsername

func (x *PassTemplateResponse) GetOwnerUsername() string

func (*PassTemplateResponse) GetProtocol

func (x *PassTemplateResponse) GetProtocol() PassProtocol

func (*PassTemplateResponse) GetRevision

func (x *PassTemplateResponse) GetRevision() uint32

func (*PassTemplateResponse) GetTemplate

func (x *PassTemplateResponse) GetTemplate() *PassTemplate

func (*PassTemplateResponse) GetUpdatedAt

func (x *PassTemplateResponse) GetUpdatedAt() *timestamppb.Timestamp

func (*PassTemplateResponse) ProtoMessage

func (*PassTemplateResponse) ProtoMessage()

func (*PassTemplateResponse) ProtoReflect

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

func (*PassTemplateResponse) Reset

func (x *PassTemplateResponse) Reset()

func (*PassTemplateResponse) String

func (x *PassTemplateResponse) String() string

type PassTemplate_ImageIds

type PassTemplate_ImageIds struct {
	// Image data defined by image ids.
	ImageIds *ImageIds `protobuf:"bytes,11,opt,name=imageIds,proto3,oneof"`
}

type PassTemplate_Images

type PassTemplate_Images struct {
	// Image data defined as image object.
	Images *ImageData `protobuf:"bytes,12,opt,name=images,proto3,oneof"`
}

type PassTypeIdentifier

type PassTypeIdentifier struct {

	// Apple-issued pass type identifier.
	PassTypeId string `protobuf:"bytes,1,opt,name=passTypeId,proto3" json:"passTypeId,omitempty"`
	// contains filtered or unexported fields
}

Used to request or identify a specific Pass Type ID.

func (*PassTypeIdentifier) Descriptor deprecated

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

Deprecated: Use PassTypeIdentifier.ProtoReflect.Descriptor instead.

func (*PassTypeIdentifier) GetPassTypeId

func (x *PassTypeIdentifier) GetPassTypeId() string

func (*PassTypeIdentifier) ProtoMessage

func (*PassTypeIdentifier) ProtoMessage()

func (*PassTypeIdentifier) ProtoReflect

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

func (*PassTypeIdentifier) Reset

func (x *PassTypeIdentifier) Reset()

func (*PassTypeIdentifier) String

func (x *PassTypeIdentifier) String() string

type PasswordResetInput

type PasswordResetInput struct {

	// @tag: validateUpdate:"required"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateUpdate:"required"`
	// @tag: validateUpdate:"required"
	RegisteredEmail string `protobuf:"bytes,2,opt,name=registeredEmail,proto3" json:"registeredEmail,omitempty" validateUpdate:"required"`
	// @tag: validateUpdate:"required"
	NewPassword string `protobuf:"bytes,3,opt,name=newPassword,proto3" json:"newPassword,omitempty" validateUpdate:"required"`
	// @tag: validateUpdate:"required"
	ConfirmNewPassword string `protobuf:"bytes,4,opt,name=confirmNewPassword,proto3" json:"confirmNewPassword,omitempty" validateUpdate:"required"`
	// contains filtered or unexported fields
}

func (*PasswordResetInput) Descriptor deprecated

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

Deprecated: Use PasswordResetInput.ProtoReflect.Descriptor instead.

func (*PasswordResetInput) GetConfirmNewPassword

func (x *PasswordResetInput) GetConfirmNewPassword() string

func (*PasswordResetInput) GetId

func (x *PasswordResetInput) GetId() string

func (*PasswordResetInput) GetNewPassword

func (x *PasswordResetInput) GetNewPassword() string

func (*PasswordResetInput) GetRegisteredEmail

func (x *PasswordResetInput) GetRegisteredEmail() string

func (*PasswordResetInput) ProtoMessage

func (*PasswordResetInput) ProtoMessage()

func (*PasswordResetInput) ProtoReflect

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

func (*PasswordResetInput) Reset

func (x *PasswordResetInput) Reset()

func (*PasswordResetInput) String

func (x *PasswordResetInput) String() string

type PasswordSettings

type PasswordSettings struct {

	// Configures the type of password.
	PasswordType PasswordType `protobuf:"varint,1,opt,name=passwordType,proto3,enum=io.PasswordType" json:"passwordType,omitempty"`
	// Password users need to provide to access the data collection page.
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// Label text for the password field.
	InputLabelText string `protobuf:"bytes,3,opt,name=inputLabelText,proto3" json:"inputLabelText,omitempty"`
	// Localized input label text.
	LocalizedInputLabelText *LocalizedString `protobuf:"bytes,4,opt,name=localizedInputLabelText,proto3" json:"localizedInputLabelText,omitempty"`
	// Error text to be shown when an incorrect password is shown.
	ErrorText string `protobuf:"bytes,5,opt,name=errorText,proto3" json:"errorText,omitempty"`
	// Localized error text.
	LocalizedErrorText *LocalizedString `protobuf:"bytes,6,opt,name=localizedErrorText,proto3" json:"localizedErrorText,omitempty"`
	// Header text to be displayed above the password input box.
	HeaderText string `protobuf:"bytes,7,opt,name=headerText,proto3" json:"headerText,omitempty"`
	// Localized header text.
	LocalizedHeaderText *LocalizedString `protobuf:"bytes,8,opt,name=localizedHeaderText,proto3" json:"localizedHeaderText,omitempty"`
	// Text for the submit button.
	ButtonText string `protobuf:"bytes,9,opt,name=buttonText,proto3" json:"buttonText,omitempty"`
	// Localized button text.
	LocalizedButtonText *LocalizedString `protobuf:"bytes,10,opt,name=localizedButtonText,proto3" json:"localizedButtonText,omitempty"`
	// Text for the submit button.
	TitleText string `protobuf:"bytes,11,opt,name=titleText,proto3" json:"titleText,omitempty"`
	// Localized button text.
	LocalizedTitleText *LocalizedString `protobuf:"bytes,12,opt,name=localizedTitleText,proto3" json:"localizedTitleText,omitempty"`
	// Setting to auto logout once form has been submitted
	AutoLogoutOnSubmit bool `protobuf:"varint,13,opt,name=autoLogoutOnSubmit,proto3" json:"autoLogoutOnSubmit,omitempty"`
	// contains filtered or unexported fields
}

PasswordSettings holds the settings for the password protection page.

func (*PasswordSettings) Descriptor deprecated

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

Deprecated: Use PasswordSettings.ProtoReflect.Descriptor instead.

func (*PasswordSettings) GetAutoLogoutOnSubmit added in v1.1.97

func (x *PasswordSettings) GetAutoLogoutOnSubmit() bool

func (*PasswordSettings) GetButtonText

func (x *PasswordSettings) GetButtonText() string

func (*PasswordSettings) GetErrorText

func (x *PasswordSettings) GetErrorText() string

func (*PasswordSettings) GetHeaderText

func (x *PasswordSettings) GetHeaderText() string

func (*PasswordSettings) GetInputLabelText

func (x *PasswordSettings) GetInputLabelText() string

func (*PasswordSettings) GetLocalizedButtonText

func (x *PasswordSettings) GetLocalizedButtonText() *LocalizedString

func (*PasswordSettings) GetLocalizedErrorText

func (x *PasswordSettings) GetLocalizedErrorText() *LocalizedString

func (*PasswordSettings) GetLocalizedHeaderText

func (x *PasswordSettings) GetLocalizedHeaderText() *LocalizedString

func (*PasswordSettings) GetLocalizedInputLabelText

func (x *PasswordSettings) GetLocalizedInputLabelText() *LocalizedString

func (*PasswordSettings) GetLocalizedTitleText

func (x *PasswordSettings) GetLocalizedTitleText() *LocalizedString

func (*PasswordSettings) GetPassword

func (x *PasswordSettings) GetPassword() string

func (*PasswordSettings) GetPasswordType

func (x *PasswordSettings) GetPasswordType() PasswordType

func (*PasswordSettings) GetTitleText

func (x *PasswordSettings) GetTitleText() string

func (*PasswordSettings) ProtoMessage

func (*PasswordSettings) ProtoMessage()

func (*PasswordSettings) ProtoReflect

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

func (*PasswordSettings) Reset

func (x *PasswordSettings) Reset()

func (*PasswordSettings) String

func (x *PasswordSettings) String() string

type PasswordType

type PasswordType int32

Enum defining how passwords are handled.

const (
	PasswordType_PASSWORD_TYPE_DO_NOT_USE PasswordType = 0
	// No password required.
	PasswordType_PASSWORD_TYPE_NO_PASSWORD PasswordType = 1
	// Password only login.
	PasswordType_PASSWORD_TYPE_PASSWORD_ONLY PasswordType = 2
)

func (PasswordType) Descriptor

func (PasswordType) Enum

func (x PasswordType) Enum() *PasswordType

func (PasswordType) EnumDescriptor deprecated

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

Deprecated: Use PasswordType.Descriptor instead.

func (PasswordType) Number

func (PasswordType) String

func (x PasswordType) String() string

func (PasswordType) Type

type Payload added in v1.1.70

type Payload struct {

	// Encrypted or signed payload data.
	// @tag: validateGeneric:"required"
	Payload string `protobuf:"bytes,1,opt,name=payload,proto3" json:"payload,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Payload used to validate TOTP and encrypted barcode strings.

func (*Payload) Descriptor deprecated added in v1.1.70

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

Deprecated: Use Payload.ProtoReflect.Descriptor instead.

func (*Payload) GetPayload added in v1.1.70

func (x *Payload) GetPayload() string

func (*Payload) ProtoMessage added in v1.1.70

func (*Payload) ProtoMessage()

func (*Payload) ProtoReflect added in v1.1.70

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

func (*Payload) Reset added in v1.1.70

func (x *Payload) Reset()

func (*Payload) String added in v1.1.70

func (x *Payload) String() string

type Period

type Period int32

Enum to specify the period grouping for analytics data.

const (
	// Show individual data by day.
	Period_DAY Period = 0
	// Default response will be in months.
	Period_MONTH Period = 1
	// Show individual data by year.
	Period_YEAR Period = 2
)

func (Period) Descriptor

func (Period) Descriptor() protoreflect.EnumDescriptor

func (Period) Enum

func (x Period) Enum() *Period

func (Period) EnumDescriptor deprecated

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

Deprecated: Use Period.Descriptor instead.

func (Period) Number

func (x Period) Number() protoreflect.EnumNumber

func (Period) String

func (x Period) String() string

func (Period) Type

func (Period) Type() protoreflect.EnumType

type PermissionScope added in v1.1.118

type PermissionScope int32
const (
	// Zero based enum, don't use 0.
	PermissionScope_PERMISSION_NONE     PermissionScope = 0
	PermissionScope_WEB_ACCESS          PermissionScope = 1
	PermissionScope_APP_ACCESS          PermissionScope = 2
	PermissionScope_ALL_PROJECTS        PermissionScope = 4
	PermissionScope_ALL_CERTIFICATES    PermissionScope = 8
	PermissionScope_BILLING_ACCESS      PermissionScope = 16
	PermissionScope_CERTIFICATES_ACCESS PermissionScope = 32
	PermissionScope_MEMBERS_ACCESS      PermissionScope = 64
	PermissionScope_COUPONS_ACCESS      PermissionScope = 128
	PermissionScope_EVENTS_ACCESS       PermissionScope = 256
	PermissionScope_FLIGHTS_ACCESS      PermissionScope = 512
	PermissionScope_TEAM_MEMBER_ADMIN   PermissionScope = 1024
)

func (PermissionScope) Descriptor added in v1.1.118

func (PermissionScope) Enum added in v1.1.118

func (x PermissionScope) Enum() *PermissionScope

func (PermissionScope) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use PermissionScope.Descriptor instead.

func (PermissionScope) Number added in v1.1.118

func (PermissionScope) String added in v1.1.118

func (x PermissionScope) String() string

func (PermissionScope) Type added in v1.1.118

type Person

type Person struct {

	// Surname / Family name.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"required,alpha"
	Surname string `` /* 181-byte string literal not displayed */
	// Forename / Given name.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"required,alpha"
	Forename string `` /* 183-byte string literal not displayed */
	// Other names.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"omitempty,dive,alpha"
	OtherNames []string `` /* 193-byte string literal not displayed */
	// Salutation or title.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"omitempty"
	Salutation string `` /* 182-byte string literal not displayed */
	// Suffix. For multiple suffixes, separate with spaces.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"omitempty"
	Suffix string `` /* 174-byte string literal not displayed */
	// If required, a string representing the user's preferred designation.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"isdefault"
	DisplayName string `` /* 184-byte string literal not displayed */
	// Gender, as per government issued id.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"required"
	Gender Gender `` /* 189-byte string literal not displayed */
	// Date of birth.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"omitempty"
	DateOfBirth *Date `` /* 184-byte string literal not displayed */
	// Email address.
	// @tag: validateGeneric:"omitempty,email" validateCreate:"omitempty,email" validateUpdate:"omitempty,email" validateFlight:"omitempty,email"
	EmailAddress string `` /* 210-byte string literal not displayed */
	// Telephone number. Enter in the format +{countryCode}{telephoneNumber} with no commas, spaces or other delimiters.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty" validateFlight:"omitempty,email"
	MobileNumber string `` /* 193-byte string literal not displayed */
	// External id. Not editable.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	ExternalId string `` /* 156-byte string literal not displayed */
	// Ids used for integration purpose. Key is enum of ConfigurationType (e.g. WEBHOOK, DB_MYSQL, ZOHO). Not Writable.
	// @tag: validateGeneric:"-" validateCreate:"omitempty" validateUpdate:"-"
	ExternalIds map[int32]string `` /* 217-byte string literal not displayed */
	// contains filtered or unexported fields
}

A person represents a single, identifiable individual.

func (*Person) Descriptor deprecated

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

Deprecated: Use Person.ProtoReflect.Descriptor instead.

func (*Person) GetDateOfBirth

func (x *Person) GetDateOfBirth() *Date

func (*Person) GetDisplayName

func (x *Person) GetDisplayName() string

func (*Person) GetEmailAddress

func (x *Person) GetEmailAddress() string

func (*Person) GetExternalId

func (x *Person) GetExternalId() string

func (*Person) GetExternalIds

func (x *Person) GetExternalIds() map[int32]string

func (*Person) GetForename

func (x *Person) GetForename() string

func (*Person) GetGender

func (x *Person) GetGender() Gender

func (*Person) GetMobileNumber

func (x *Person) GetMobileNumber() string

func (*Person) GetOtherNames

func (x *Person) GetOtherNames() []string

func (*Person) GetSalutation

func (x *Person) GetSalutation() string

func (*Person) GetSuffix

func (x *Person) GetSuffix() string

func (*Person) GetSurname

func (x *Person) GetSurname() string

func (*Person) ProtoMessage

func (*Person) ProtoMessage()

func (*Person) ProtoReflect

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

func (*Person) Reset

func (x *Person) Reset()

func (*Person) String

func (x *Person) String() string

type PersonRequest

type PersonRequest struct {

	// The unique PassKit pass ID (22 characters).
	// @tag: validateUpdate:"required_without=ExternalId"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateUpdate:"required_without=ExternalId"`
	// The external identifier for the pass holder.
	// Used as an alternative to pass ID when paired with class ID.
	// @tag: validateUpdate:"omitempty"
	ExternalId string `protobuf:"bytes,2,opt,name=externalId,proto3" json:"externalId,omitempty" validateUpdate:"omitempty"`
	// The class ID (e.g. member program ID, coupon campaign ID).
	// Required if externalId is used.
	// @tag: validateUpdate:"omitempty"
	ClassId string `protobuf:"bytes,3,opt,name=classId,proto3" json:"classId,omitempty" validateUpdate:"omitempty"`
	// The updated person details.
	// @tag: validateUpdate:"required"
	Person *Person `protobuf:"bytes,4,opt,name=person,proto3" json:"person,omitempty" validateUpdate:"required"`
	// contains filtered or unexported fields
}

Request object for updating personal details on a pass holder.

func (*PersonRequest) Descriptor deprecated

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

Deprecated: Use PersonRequest.ProtoReflect.Descriptor instead.

func (*PersonRequest) GetClassId

func (x *PersonRequest) GetClassId() string

func (*PersonRequest) GetExternalId

func (x *PersonRequest) GetExternalId() string

func (*PersonRequest) GetId

func (x *PersonRequest) GetId() string

func (*PersonRequest) GetPerson

func (x *PersonRequest) GetPerson() *Person

func (*PersonRequest) ProtoMessage

func (*PersonRequest) ProtoMessage()

func (*PersonRequest) ProtoReflect

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

func (*PersonRequest) Reset

func (x *PersonRequest) Reset()

func (*PersonRequest) String

func (x *PersonRequest) String() string

type PersonalizationDetails added in v1.1.80

type PersonalizationDetails struct {

	// A brief description of the program for a pass that appears on the signup sheet, under the personalization logo.
	// @tag: validate:"required"
	Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty" validate:"required"`
	// An array of the required validation items. [PERSONALIZE_NAME, PERSONALIZE_EMAIL_ADDRESS, PERSONALIZE_PHONE_NUMBER, PERSONALIZE_POSTAL_CODE]
	// @tag: validate:"required,min=1"
	RequiredPersonalizationData []PersonalizedDataField `` /* 171-byte string literal not displayed */
	// A description of the program’s terms and conditions. This string can contain HTML link tags to external content.
	// If present, this information appears after the user enters their personal information and taps the Next button. The user then has the option to agree to the terms, or to cancel the sign-up process.
	TermsAndConditions string `protobuf:"bytes,3,opt,name=termsAndConditions,proto3" json:"termsAndConditions,omitempty"`
	// contains filtered or unexported fields
}

Defines the details shown on the sign-up sheet when personalizing a pass.

func (*PersonalizationDetails) Descriptor deprecated added in v1.1.80

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

Deprecated: Use PersonalizationDetails.ProtoReflect.Descriptor instead.

func (*PersonalizationDetails) GetDescription added in v1.1.80

func (x *PersonalizationDetails) GetDescription() string

func (*PersonalizationDetails) GetRequiredPersonalizationData added in v1.1.80

func (x *PersonalizationDetails) GetRequiredPersonalizationData() []PersonalizedDataField

func (*PersonalizationDetails) GetTermsAndConditions added in v1.1.80

func (x *PersonalizationDetails) GetTermsAndConditions() string

func (*PersonalizationDetails) ProtoMessage added in v1.1.80

func (*PersonalizationDetails) ProtoMessage()

func (*PersonalizationDetails) ProtoReflect added in v1.1.80

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

func (*PersonalizationDetails) Reset added in v1.1.80

func (x *PersonalizationDetails) Reset()

func (*PersonalizationDetails) String added in v1.1.80

func (x *PersonalizationDetails) String() string

type PersonalizedDataField added in v1.1.80

type PersonalizedDataField int32

Use to indicate what personal information to request for an Apple Wallet personalized pass.

const (
	PersonalizedDataField_PERSONALIZE_DO_NOT_USE    PersonalizedDataField = 0
	PersonalizedDataField_PERSONALIZE_NAME          PersonalizedDataField = 1
	PersonalizedDataField_PERSONALIZE_EMAIL_ADDRESS PersonalizedDataField = 2
	PersonalizedDataField_PERSONALIZE_PHONE_NUMBER  PersonalizedDataField = 4
	PersonalizedDataField_PERSONALIZE_POSTAL_CODE   PersonalizedDataField = 8
)

func (PersonalizedDataField) Descriptor added in v1.1.80

func (PersonalizedDataField) Enum added in v1.1.80

func (PersonalizedDataField) EnumDescriptor deprecated added in v1.1.80

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

Deprecated: Use PersonalizedDataField.Descriptor instead.

func (PersonalizedDataField) Number added in v1.1.80

func (PersonalizedDataField) String added in v1.1.80

func (x PersonalizedDataField) String() string

func (PersonalizedDataField) Type added in v1.1.80

type PkBool

type PkBool struct {
	Ok bool `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	// contains filtered or unexported fields
}

Wrapper message to explicitly pass a boolean value.

func (*PkBool) Descriptor deprecated

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

Deprecated: Use PkBool.ProtoReflect.Descriptor instead.

func (*PkBool) GetOk

func (x *PkBool) GetOk() bool

func (*PkBool) ProtoMessage

func (*PkBool) ProtoMessage()

func (*PkBool) ProtoReflect

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

func (*PkBool) Reset

func (x *PkBool) Reset()

func (*PkBool) String

func (x *PkBool) String() string

type PositionSettings

type PositionSettings struct {

	// Selects a section to render a field.
	Section FieldSection `protobuf:"varint,1,opt,name=section,proto3,enum=io.FieldSection" json:"section,omitempty"`
	// The field section has certain number of fields they can contain. The priority indicates the position of the section.
	Priority uint32 `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`
	// contains filtered or unexported fields
}

Sets a position of field on the pass. Priority attribute allows you to change the order of field within the section.

func (*PositionSettings) Descriptor deprecated

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

Deprecated: Use PositionSettings.ProtoReflect.Descriptor instead.

func (*PositionSettings) GetPriority

func (x *PositionSettings) GetPriority() uint32

func (*PositionSettings) GetSection

func (x *PositionSettings) GetSection() FieldSection

func (*PositionSettings) ProtoMessage

func (*PositionSettings) ProtoMessage()

func (*PositionSettings) ProtoReflect

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

func (*PositionSettings) Reset

func (x *PositionSettings) Reset()

func (*PositionSettings) String

func (x *PositionSettings) String() string

type PrivateKeyData

type PrivateKeyData struct {

	// Unique identifier for the private key.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display name for the private key.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Description for the private key.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Optional expiry date for the private key.
	Expiry *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// Username of the key owner.
	OwnerUsername string `protobuf:"bytes,5,opt,name=ownerUsername,proto3" json:"ownerUsername,omitempty"`
	// contains filtered or unexported fields
}

Metadata about a private key stored in the system.

func (*PrivateKeyData) Descriptor deprecated

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

Deprecated: Use PrivateKeyData.ProtoReflect.Descriptor instead.

func (*PrivateKeyData) GetDescription

func (x *PrivateKeyData) GetDescription() string

func (*PrivateKeyData) GetExpiry

func (x *PrivateKeyData) GetExpiry() *timestamppb.Timestamp

func (*PrivateKeyData) GetId

func (x *PrivateKeyData) GetId() string

func (*PrivateKeyData) GetName

func (x *PrivateKeyData) GetName() string

func (*PrivateKeyData) GetOwnerUsername

func (x *PrivateKeyData) GetOwnerUsername() string

func (*PrivateKeyData) ProtoMessage

func (*PrivateKeyData) ProtoMessage()

func (*PrivateKeyData) ProtoReflect

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

func (*PrivateKeyData) Reset

func (x *PrivateKeyData) Reset()

func (*PrivateKeyData) String

func (x *PrivateKeyData) String() string

type PrivateKeyRequest

type PrivateKeyRequest struct {

	// Display name for the private key.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// Description for the private key.
	Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Optional expiry date for the private key.
	Expiry *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expiry,proto3" json:"expiry,omitempty"`
	// PEM-encoded private key.
	PrivateKey []byte `protobuf:"bytes,4,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

Request payload for uploading a private key.

func (*PrivateKeyRequest) Descriptor deprecated

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

Deprecated: Use PrivateKeyRequest.ProtoReflect.Descriptor instead.

func (*PrivateKeyRequest) GetDescription

func (x *PrivateKeyRequest) GetDescription() string

func (*PrivateKeyRequest) GetExpiry

func (x *PrivateKeyRequest) GetExpiry() *timestamppb.Timestamp

func (*PrivateKeyRequest) GetName

func (x *PrivateKeyRequest) GetName() string

func (*PrivateKeyRequest) GetPrivateKey

func (x *PrivateKeyRequest) GetPrivateKey() []byte

func (*PrivateKeyRequest) ProtoMessage

func (*PrivateKeyRequest) ProtoMessage()

func (*PrivateKeyRequest) ProtoReflect

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

func (*PrivateKeyRequest) Reset

func (x *PrivateKeyRequest) Reset()

func (*PrivateKeyRequest) String

func (x *PrivateKeyRequest) String() string

type ProfileImageInput

type ProfileImageInput struct {

	// Provide an image URL or base64 image data.
	ImageData string `protobuf:"bytes,1,opt,name=imageData,proto3" json:"imageData,omitempty"`
	// contains filtered or unexported fields
}

Input for uploading a profile image (URL or base64-encoded).

func (*ProfileImageInput) Descriptor deprecated

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

Deprecated: Use ProfileImageInput.ProtoReflect.Descriptor instead.

func (*ProfileImageInput) GetImageData

func (x *ProfileImageInput) GetImageData() string

func (*ProfileImageInput) ProtoMessage

func (*ProfileImageInput) ProtoMessage()

func (*ProfileImageInput) ProtoReflect

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

func (*ProfileImageInput) Reset

func (x *ProfileImageInput) Reset()

func (*ProfileImageInput) String

func (x *ProfileImageInput) String() string

type Project

type Project struct {

	// The PassProtocol the project implements.
	Protocol PassProtocol `protobuf:"varint,1,opt,name=protocol,proto3,enum=io.PassProtocol" json:"protocol,omitempty"`
	// The class ID that the projects refers to (highest level protocol object; i.e. member program id, coupon campaign id, etc).
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty"`
	// The project name.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// The project short-code; used for creating public project URL's.
	ShortCode string `protobuf:"bytes,4,opt,name=shortCode,proto3" json:"shortCode,omitempty"`
	// The timestamp when the project was created.
	Created *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=created,proto3" json:"created,omitempty"`
	// A shared secret used for creating signed links.
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	Secret string `` /* 147-byte string literal not displayed */
	// A key used to create encrypted, signed links.
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	Key string `` /* 141-byte string literal not displayed */
	// Encrypted class ID. Can be used in integrations where the Class ID needs to be publicly exposed.
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	EncryptedClassId string `` /* 167-byte string literal not displayed */
	// contains filtered or unexported fields
}

Project metadata object used throughout the platform.

func (*Project) Descriptor deprecated

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

Deprecated: Use Project.ProtoReflect.Descriptor instead.

func (*Project) GetClassId

func (x *Project) GetClassId() string

func (*Project) GetCreated

func (x *Project) GetCreated() *timestamppb.Timestamp

func (*Project) GetEncryptedClassId

func (x *Project) GetEncryptedClassId() string

func (*Project) GetKey

func (x *Project) GetKey() string

func (*Project) GetName

func (x *Project) GetName() string

func (*Project) GetProtocol

func (x *Project) GetProtocol() PassProtocol

func (*Project) GetSecret

func (x *Project) GetSecret() string

func (*Project) GetShortCode

func (x *Project) GetShortCode() string

func (*Project) ProtoMessage

func (*Project) ProtoMessage()

func (*Project) ProtoReflect

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

func (*Project) Reset

func (x *Project) Reset()

func (*Project) String

func (x *Project) String() string

type ProjectByShortCodeResult

type ProjectByShortCodeResult struct {
	Project  *Project      `protobuf:"bytes,1,opt,name=project,proto3" json:"project,omitempty"`
	Template *PassTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

Combined response of a project and its associated pass template when fetched by short code.

func (*ProjectByShortCodeResult) Descriptor deprecated

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

Deprecated: Use ProjectByShortCodeResult.ProtoReflect.Descriptor instead.

func (*ProjectByShortCodeResult) GetProject

func (x *ProjectByShortCodeResult) GetProject() *Project

func (*ProjectByShortCodeResult) GetTemplate

func (x *ProjectByShortCodeResult) GetTemplate() *PassTemplate

func (*ProjectByShortCodeResult) ProtoMessage

func (*ProjectByShortCodeResult) ProtoMessage()

func (*ProjectByShortCodeResult) ProtoReflect

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

func (*ProjectByShortCodeResult) Reset

func (x *ProjectByShortCodeResult) Reset()

func (*ProjectByShortCodeResult) String

func (x *ProjectByShortCodeResult) String() string

type ProjectStatus

type ProjectStatus int32

Status options for a project. These can be combined using bitmasks.

const (
	// Zero based enum, don't use 0.
	ProjectStatus_NO_PROJECT_STATUS ProjectStatus = 0
	// Active projects allow for creation of records (turned on by default).
	ProjectStatus_PROJECT_ACTIVE_FOR_OBJECT_CREATION ProjectStatus = 1
	// Disabled projects do not allow for creation of records (i.e. temporarily disable enroling of members / creating of coupons, etc).
	ProjectStatus_PROJECT_DISABLED_FOR_OBJECT_CREATION ProjectStatus = 2
	// Default status for all projects. A draft project can do everything a published program can:
	// Cards can be created, stats will show up, etc.
	// Data belonging to draft projects is automatically purged every 7 days.
	// A draft project uses a PassKit Apple Developer Certificate, and has a PassKit legal disclaimer on the back.
	// Draft projects cannot be used for a production setup.
	ProjectStatus_PROJECT_DRAFT ProjectStatus = 4
	// A project can only be published if a custom Apple Developer Certificate is uploaded, if payment details have been provided,
	// and an account email address has been validated.
	// Published projects do not have a PassKit legal disclaimer on the back.
	// Published projects do not have their data purged on a 7 day basis.
	ProjectStatus_PROJECT_PUBLISHED ProjectStatus = 8
	// A project is private: records can only by created by authorized users / via the portal interface.
	ProjectStatus_PROJECT_PRIVATE ProjectStatus = 16
	// The project is currently over quota, and new records cannot be created (set by system only; cannot be set by user)
	ProjectStatus_PROJECT_OVER_QUOTA ProjectStatus = 32
	// A project which needs to be deleted. If delete flag is set, project will be deleted in the near future.
	ProjectStatus_PROJECT_DELETED ProjectStatus = 64
	// A project has exceeded the warning threshold for email bounces or complaints.
	ProjectStatus_PROJECT_EMAIL_WARNING ProjectStatus = 128
	// A project is unable to send emails as it has breached the email bounces or complaints threshold.
	ProjectStatus_PROJECT_EMAIL_SUSPENDED ProjectStatus = 256
)

func (ProjectStatus) Descriptor

func (ProjectStatus) Enum

func (x ProjectStatus) Enum() *ProjectStatus

func (ProjectStatus) EnumDescriptor deprecated

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

Deprecated: Use ProjectStatus.Descriptor instead.

func (ProjectStatus) Number

func (ProjectStatus) String

func (x ProjectStatus) String() string

func (ProjectStatus) Type

type ProjectStatusFilter

type ProjectStatusFilter struct {
	Status ProjectStatus `protobuf:"varint,1,opt,name=status,proto3,enum=io.ProjectStatus" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Filter used to find projects by their current status.

func (*ProjectStatusFilter) Descriptor deprecated

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

Deprecated: Use ProjectStatusFilter.ProtoReflect.Descriptor instead.

func (*ProjectStatusFilter) GetStatus

func (x *ProjectStatusFilter) GetStatus() ProjectStatus

func (*ProjectStatusFilter) ProtoMessage

func (*ProjectStatusFilter) ProtoMessage()

func (*ProjectStatusFilter) ProtoReflect

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

func (*ProjectStatusFilter) Reset

func (x *ProjectStatusFilter) Reset()

func (*ProjectStatusFilter) String

func (x *ProjectStatusFilter) String() string

type ProjectsList added in v1.1.118

type ProjectsList struct {
	Projects []string `protobuf:"bytes,1,rep,name=projects,proto3" json:"projects,omitempty"`
	// contains filtered or unexported fields
}

func (*ProjectsList) Descriptor deprecated added in v1.1.118

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

Deprecated: Use ProjectsList.ProtoReflect.Descriptor instead.

func (*ProjectsList) GetProjects added in v1.1.118

func (x *ProjectsList) GetProjects() []string

func (*ProjectsList) ProtoMessage added in v1.1.118

func (*ProjectsList) ProtoMessage()

func (*ProjectsList) ProtoReflect added in v1.1.118

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

func (*ProjectsList) Reset added in v1.1.118

func (x *ProjectsList) Reset()

func (*ProjectsList) String added in v1.1.118

func (x *ProjectsList) String() string

type Protocol

type Protocol struct {

	// Protocol used (e.g. MEMBER, COUPON, etc).
	// @tag: validateCreate:"required", validateUpdate:"required", validateGeneric:"required"
	Protocol *Protocol `` /* 148-byte string literal not displayed */
	// Class ID associated with the protocol (e.g. programId).
	// @tag: validateCreate:"required", validateUpdate:"required", validateGeneric:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// Optional pagination configuration.
	Pagination *Pagination `protobuf:"bytes,3,opt,name=pagination,proto3" json:"pagination,omitempty"`
	// contains filtered or unexported fields
}

Request structure for protocol-level operations (e.g. pass listings).

func (*Protocol) Descriptor deprecated

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

Deprecated: Use Protocol.ProtoReflect.Descriptor instead.

func (*Protocol) GetClassId

func (x *Protocol) GetClassId() string

func (*Protocol) GetPagination

func (x *Protocol) GetPagination() *Pagination

func (*Protocol) GetProtocol

func (x *Protocol) GetProtocol() *Protocol

func (*Protocol) ProtoMessage

func (*Protocol) ProtoMessage()

func (*Protocol) ProtoReflect

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

func (*Protocol) Reset

func (x *Protocol) Reset()

func (*Protocol) String

func (x *Protocol) String() string

type ProtocolCommonEvents

type ProtocolCommonEvents int32

Enum describing events common to all protocols.

const (
	ProtocolCommonEvents_PROTOCOL_COMMON_EVENTS_DO_NOT_USE ProtocolCommonEvents = 0
	// Values 0-100 onwards are for PassKit events
	ProtocolCommonEvents_EVENT_OBJECT_CREATED ProtocolCommonEvents = 1
	// Set to when the object was updated
	ProtocolCommonEvents_EVENT_OBJECT_UPDATED ProtocolCommonEvents = 2
	// Set to when the object was expired
	ProtocolCommonEvents_EVENT_OBJECT_EXPIRED ProtocolCommonEvents = 3
	// Set to when the object was deleted
	ProtocolCommonEvents_EVENT_OBJECT_DELETED ProtocolCommonEvents = 4
	// Pass has been issued.
	ProtocolCommonEvents_EVENT_PASS_ISSUED ProtocolCommonEvents = 5
	// Pass has been installed in a wallet.
	ProtocolCommonEvents_EVENT_PASS_INSTALLED ProtocolCommonEvents = 6
	// Pass has been uninstalled (possibly deleted) from a wallet.
	ProtocolCommonEvents_EVENT_PASS_UNINSTALLED ProtocolCommonEvents = 7
	// Pass has been invalidated.
	ProtocolCommonEvents_EVENT_PASS_INVALIDATED ProtocolCommonEvents = 8
)

func (ProtocolCommonEvents) Descriptor

func (ProtocolCommonEvents) Enum

func (ProtocolCommonEvents) EnumDescriptor deprecated

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

Deprecated: Use ProtocolCommonEvents.Descriptor instead.

func (ProtocolCommonEvents) Number

func (ProtocolCommonEvents) String

func (x ProtocolCommonEvents) String() string

func (ProtocolCommonEvents) Type

type ProtocolIdInput

type ProtocolIdInput struct {

	// The protocol which the class object belongs to.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 144-byte string literal not displayed */
	// The class object Id which integration belongs to.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	ClassId string `protobuf:"bytes,2,opt,name=classId,proto3" json:"classId,omitempty" validateGeneric:"required" validateUpdate:"required"`
	// contains filtered or unexported fields
}

Input message for identifying a class object by protocol and classId.

func (*ProtocolIdInput) Descriptor deprecated

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

Deprecated: Use ProtocolIdInput.ProtoReflect.Descriptor instead.

func (*ProtocolIdInput) GetClassId

func (x *ProtocolIdInput) GetClassId() string

func (*ProtocolIdInput) GetProtocol

func (x *ProtocolIdInput) GetProtocol() PassProtocol

func (*ProtocolIdInput) ProtoMessage

func (*ProtocolIdInput) ProtoMessage()

func (*ProtocolIdInput) ProtoReflect

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

func (*ProtocolIdInput) Reset

func (x *ProtocolIdInput) Reset()

func (*ProtocolIdInput) String

func (x *ProtocolIdInput) String() string

type ProtocolIntgType

type ProtocolIntgType int32

ProtocolIntgType contains hooks for protocol methods.

const (
	ProtocolIntgType_PROTOCOL_INTG_TYPE_NONE ProtocolIntgType = 0
	// Member 0x1 - 0x400
	ProtocolIntgType_HOOK_BEFORE_MEMBER_UPDATE_POINTS ProtocolIntgType = 1
	ProtocolIntgType_HOOK_AFTER_MEMBER_UPDATE_POINTS  ProtocolIntgType = 4
	ProtocolIntgType_HOOK_BEFORE_MEMBER_TIER_UPDATE   ProtocolIntgType = 8
	ProtocolIntgType_HOOK_AFTER_MEMBER_TIER_UPDATE    ProtocolIntgType = 16
	ProtocolIntgType_HOOK_BEFORE_MEMBER_CHECK_IN      ProtocolIntgType = 32
	ProtocolIntgType_HOOK_AFTER_MEMBER_CHECK_IN       ProtocolIntgType = 64
	ProtocolIntgType_HOOK_BEFORE_MEMBER_CHECK_OUT     ProtocolIntgType = 128
	ProtocolIntgType_HOOK_AFTER_MEMBER_CHECK_OUT      ProtocolIntgType = 256
	// Coupon 0x800 - 0x100000
	ProtocolIntgType_HOOK_BEFORE_COUPON_REDEEM       ProtocolIntgType = 2048
	ProtocolIntgType_HOOK_AFTER_COUPON_REDEEM        ProtocolIntgType = 4096
	ProtocolIntgType_HOOK_BEFORE_UPDATE_COUPON_OFFER ProtocolIntgType = 8192
	ProtocolIntgType_HOOK_AFTER_UPDATE_COUPON_OFFER  ProtocolIntgType = 16384
	ProtocolIntgType_HOOK_BEFORE_CREATE_COUPON_OFFER ProtocolIntgType = 32768
	ProtocolIntgType_HOOK_AFTER_CREATE_COUPON_OFFER  ProtocolIntgType = 65536
	// Generic 0x200000 - 0x40000000
	ProtocolIntgType_HOOK_BEFORE_UPDATE_PII ProtocolIntgType = 2097152
	ProtocolIntgType_HOOK_AFTER_UPDATE_PII  ProtocolIntgType = 4194304
)

func (ProtocolIntgType) Descriptor

func (ProtocolIntgType) Enum

func (ProtocolIntgType) EnumDescriptor deprecated

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

Deprecated: Use ProtocolIntgType.Descriptor instead.

func (ProtocolIntgType) Number

func (ProtocolIntgType) String

func (x ProtocolIntgType) String() string

func (ProtocolIntgType) Type

type ProtocolList added in v1.1.118

type ProtocolList struct {
	ClassIds []string `protobuf:"bytes,1,rep,name=classIds,proto3" json:"classIds,omitempty"`
	// contains filtered or unexported fields
}

func (*ProtocolList) Descriptor deprecated added in v1.1.118

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

Deprecated: Use ProtocolList.ProtoReflect.Descriptor instead.

func (*ProtocolList) GetClassIds added in v1.1.118

func (x *ProtocolList) GetClassIds() []string

func (*ProtocolList) ProtoMessage added in v1.1.118

func (*ProtocolList) ProtoMessage()

func (*ProtocolList) ProtoReflect added in v1.1.118

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

func (*ProtocolList) Reset added in v1.1.118

func (x *ProtocolList) Reset()

func (*ProtocolList) String added in v1.1.118

func (x *ProtocolList) String() string

type Quota

type Quota struct {
	Details map[uint32]*QuotaDetails `` // key is one of pk.MeteredEventType
	/* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

Quota provides usage and status information for various metered event types. The key is one of the values from pk.MeteredEventType.

func (*Quota) Descriptor deprecated

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

Deprecated: Use Quota.ProtoReflect.Descriptor instead.

func (*Quota) GetDetails

func (x *Quota) GetDetails() map[uint32]*QuotaDetails

func (*Quota) ProtoMessage

func (*Quota) ProtoMessage()

func (*Quota) ProtoReflect

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

func (*Quota) Reset

func (x *Quota) Reset()

func (*Quota) String

func (x *Quota) String() string

type QuotaDetails

type QuotaDetails struct {
	Quota  int32  `protobuf:"varint,1,opt,name=quota,proto3" json:"quota,omitempty"`
	Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"` // contains bitmask of pk.Status
	// contains filtered or unexported fields
}

QuotaDetails provides information about a specific quota usage.

func (*QuotaDetails) Descriptor deprecated

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

Deprecated: Use QuotaDetails.ProtoReflect.Descriptor instead.

func (*QuotaDetails) GetQuota

func (x *QuotaDetails) GetQuota() int32

func (*QuotaDetails) GetStatus

func (x *QuotaDetails) GetStatus() uint64

func (*QuotaDetails) ProtoMessage

func (*QuotaDetails) ProtoMessage()

func (*QuotaDetails) ProtoReflect

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

func (*QuotaDetails) Reset

func (x *QuotaDetails) Reset()

func (*QuotaDetails) String

func (x *QuotaDetails) String() string

type Recaptcha added in v1.1.118

type Recaptcha struct {

	// @tag: validateGeneric:"required"
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

func (*Recaptcha) Descriptor deprecated added in v1.1.118

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

Deprecated: Use Recaptcha.ProtoReflect.Descriptor instead.

func (*Recaptcha) GetToken added in v1.1.118

func (x *Recaptcha) GetToken() string

func (*Recaptcha) ProtoMessage added in v1.1.118

func (*Recaptcha) ProtoMessage()

func (*Recaptcha) ProtoReflect added in v1.1.118

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

func (*Recaptcha) Reset added in v1.1.118

func (x *Recaptcha) Reset()

func (*Recaptcha) String added in v1.1.118

func (x *Recaptcha) String() string

type RecursiveDate

type RecursiveDate struct {

	// Cron expression describing the recurrence interval.
	// @tag: validateCreate:"required"
	Schedule string `protobuf:"bytes,1,opt,name=schedule,proto3" json:"schedule,omitempty" validateCreate:"required"`
	// Adjusts the date forward or backward relative to the recurrence.
	State TimeState `protobuf:"varint,2,opt,name=state,proto3,enum=io.TimeState" json:"state,omitempty"`
	// contains filtered or unexported fields
}

Used for creating datetime values that recur on a regular schedule.

func (*RecursiveDate) Descriptor deprecated

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

Deprecated: Use RecursiveDate.ProtoReflect.Descriptor instead.

func (*RecursiveDate) GetSchedule

func (x *RecursiveDate) GetSchedule() string

func (*RecursiveDate) GetState

func (x *RecursiveDate) GetState() TimeState

func (*RecursiveDate) ProtoMessage

func (*RecursiveDate) ProtoMessage()

func (*RecursiveDate) ProtoReflect

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

func (*RecursiveDate) Reset

func (x *RecursiveDate) Reset()

func (*RecursiveDate) String

func (x *RecursiveDate) String() string

type RelevantDate

type RelevantDate struct {

	// Unix timestamp. ISO8601 datetime.
	Timestamp uint32 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// contains filtered or unexported fields
}

Relevant Date in ISO8601 datetime.

func (*RelevantDate) Descriptor deprecated

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

Deprecated: Use RelevantDate.ProtoReflect.Descriptor instead.

func (*RelevantDate) GetTimestamp

func (x *RelevantDate) GetTimestamp() uint32

func (*RelevantDate) ProtoMessage

func (*RelevantDate) ProtoMessage()

func (*RelevantDate) ProtoReflect

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

func (*RelevantDate) Reset

func (x *RelevantDate) Reset()

func (*RelevantDate) String

func (x *RelevantDate) String() string

type ResourcePermissions added in v1.1.118

type ResourcePermissions struct {

	// Types that are valid to be assigned to ProjectPermissions:
	//
	//	*ResourcePermissions_AllowedProjects
	//	*ResourcePermissions_DisallowedProjects
	ProjectPermissions isResourcePermissions_ProjectPermissions `protobuf_oneof:"ProjectPermissions"`
	// Types that are valid to be assigned to CertificatePermissions:
	//
	//	*ResourcePermissions_AllowedCertificates
	//	*ResourcePermissions_DisallowedCertificates
	CertificatePermissions isResourcePermissions_CertificatePermissions `protobuf_oneof:"CertificatePermissions"`
	// Types that are valid to be assigned to MembershipProgramPermissions:
	//
	//	*ResourcePermissions_AllowedPrograms
	//	*ResourcePermissions_DisallowedPrograms
	MembershipProgramPermissions isResourcePermissions_MembershipProgramPermissions `protobuf_oneof:"MembershipProgramPermissions"`
	// contains filtered or unexported fields
}

func (*ResourcePermissions) Descriptor deprecated added in v1.1.118

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

Deprecated: Use ResourcePermissions.ProtoReflect.Descriptor instead.

func (*ResourcePermissions) GetAllowedCertificates added in v1.1.118

func (x *ResourcePermissions) GetAllowedCertificates() *CertificatesList

func (*ResourcePermissions) GetAllowedPrograms added in v1.1.118

func (x *ResourcePermissions) GetAllowedPrograms() *ProtocolList

func (*ResourcePermissions) GetAllowedProjects added in v1.1.118

func (x *ResourcePermissions) GetAllowedProjects() *ProjectsList

func (*ResourcePermissions) GetCertificatePermissions added in v1.1.118

func (x *ResourcePermissions) GetCertificatePermissions() isResourcePermissions_CertificatePermissions

func (*ResourcePermissions) GetDisallowedCertificates added in v1.1.118

func (x *ResourcePermissions) GetDisallowedCertificates() *CertificatesList

func (*ResourcePermissions) GetDisallowedPrograms added in v1.1.118

func (x *ResourcePermissions) GetDisallowedPrograms() *ProtocolList

func (*ResourcePermissions) GetDisallowedProjects added in v1.1.118

func (x *ResourcePermissions) GetDisallowedProjects() *ProjectsList

func (*ResourcePermissions) GetMembershipProgramPermissions added in v1.1.118

func (x *ResourcePermissions) GetMembershipProgramPermissions() isResourcePermissions_MembershipProgramPermissions

func (*ResourcePermissions) GetProjectPermissions added in v1.1.118

func (x *ResourcePermissions) GetProjectPermissions() isResourcePermissions_ProjectPermissions

func (*ResourcePermissions) ProtoMessage added in v1.1.118

func (*ResourcePermissions) ProtoMessage()

func (*ResourcePermissions) ProtoReflect added in v1.1.118

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

func (*ResourcePermissions) Reset added in v1.1.118

func (x *ResourcePermissions) Reset()

func (*ResourcePermissions) String added in v1.1.118

func (x *ResourcePermissions) String() string

type ResourcePermissions_AllowedCertificates added in v1.1.118

type ResourcePermissions_AllowedCertificates struct {
	AllowedCertificates *CertificatesList `protobuf:"bytes,3,opt,name=allowedCertificates,proto3,oneof"`
}

type ResourcePermissions_AllowedPrograms added in v1.1.118

type ResourcePermissions_AllowedPrograms struct {
	AllowedPrograms *ProtocolList `protobuf:"bytes,5,opt,name=allowedPrograms,proto3,oneof"`
}

type ResourcePermissions_AllowedProjects added in v1.1.118

type ResourcePermissions_AllowedProjects struct {
	AllowedProjects *ProjectsList `protobuf:"bytes,1,opt,name=allowedProjects,proto3,oneof"`
}

type ResourcePermissions_DisallowedCertificates added in v1.1.118

type ResourcePermissions_DisallowedCertificates struct {
	DisallowedCertificates *CertificatesList `protobuf:"bytes,4,opt,name=disallowedCertificates,proto3,oneof"`
}

type ResourcePermissions_DisallowedPrograms added in v1.1.118

type ResourcePermissions_DisallowedPrograms struct {
	DisallowedPrograms *ProtocolList `protobuf:"bytes,6,opt,name=disallowedPrograms,proto3,oneof"`
}

type ResourcePermissions_DisallowedProjects added in v1.1.118

type ResourcePermissions_DisallowedProjects struct {
	DisallowedProjects *ProjectsList `protobuf:"bytes,2,opt,name=disallowedProjects,proto3,oneof"`
}

type ScannerConfiguration

type ScannerConfiguration struct {
	MembershipPermissions   []ScannerMembershipPermissions `` /* 140-byte string literal not displayed */
	CouponPermissions       []ScannerCouponPermissions     `` /* 128-byte string literal not displayed */
	DefaultMembershipAction []DefaultMembershipScanAction  `` /* 143-byte string literal not displayed */
	DefaultCouponAction     []DefaultCouponScanAction      `` /* 131-byte string literal not displayed */
	// contains filtered or unexported fields
}

ScannerConfiguration is the base configuration object for the scanning app.

func (*ScannerConfiguration) Descriptor deprecated

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

Deprecated: Use ScannerConfiguration.ProtoReflect.Descriptor instead.

func (*ScannerConfiguration) GetCouponPermissions

func (x *ScannerConfiguration) GetCouponPermissions() []ScannerCouponPermissions

func (*ScannerConfiguration) GetDefaultCouponAction

func (x *ScannerConfiguration) GetDefaultCouponAction() []DefaultCouponScanAction

func (*ScannerConfiguration) GetDefaultMembershipAction

func (x *ScannerConfiguration) GetDefaultMembershipAction() []DefaultMembershipScanAction

func (*ScannerConfiguration) GetMembershipPermissions

func (x *ScannerConfiguration) GetMembershipPermissions() []ScannerMembershipPermissions

func (*ScannerConfiguration) ProtoMessage

func (*ScannerConfiguration) ProtoMessage()

func (*ScannerConfiguration) ProtoReflect

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

func (*ScannerConfiguration) Reset

func (x *ScannerConfiguration) Reset()

func (*ScannerConfiguration) String

func (x *ScannerConfiguration) String() string

type ScannerCouponPermissions

type ScannerCouponPermissions int32

ScannerCouponPermissions enum determines what membership related actions a user can perform in the scanning app.

const (
	// Zero based enum, don't use 0.
	ScannerCouponPermissions_COUPON_PERMISSION_NONE ScannerCouponPermissions = 0
	// Set for users who can view all details about a coupon.
	ScannerCouponPermissions_COUPON_PERMISSION_VIEW_COUPON ScannerCouponPermissions = 1
	// Set for users who can edit details about a coupon.
	ScannerCouponPermissions_COUPON_PERMISSION_EDIT_COUPON ScannerCouponPermissions = 2
	// Set for users who can redeem a coupon.
	ScannerCouponPermissions_COUPON_PERMISSION_REDEEM ScannerCouponPermissions = 4
	// Set for users who can view previous events the coupon has committed.
	ScannerCouponPermissions_COUPON_PERMISSION_VIEW_EVENTS ScannerCouponPermissions = 8
	// Set for users who can change the expiry date of a coupon.
	ScannerCouponPermissions_COUPON_PERMISSION_CHANGE_EXPIRY ScannerCouponPermissions = 16
	// Set for users who can verify a coupons status.
	ScannerCouponPermissions_COUPON_PERMISSION_VALIDATE ScannerCouponPermissions = 32
)

func (ScannerCouponPermissions) Descriptor

func (ScannerCouponPermissions) Enum

func (ScannerCouponPermissions) EnumDescriptor deprecated

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

Deprecated: Use ScannerCouponPermissions.Descriptor instead.

func (ScannerCouponPermissions) Number

func (ScannerCouponPermissions) String

func (x ScannerCouponPermissions) String() string

func (ScannerCouponPermissions) Type

type ScannerMembershipPermissions

type ScannerMembershipPermissions int32

ScannerMembershipPermissions enum determines what membership related actions a user can perform in the scanning app.

const (
	// Zero based enum, don't use 0.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_NONE ScannerMembershipPermissions = 0
	// Set for users who can view all details about a member.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_VIEW_MEMBER ScannerMembershipPermissions = 1
	// Set for users who can edit details about a member.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_EDIT_MEMBER ScannerMembershipPermissions = 2
	// Set for users who can give points to a member.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_EARN_POINTS ScannerMembershipPermissions = 4
	// Set for users who can subtract points from a member.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_BURN_POINTS ScannerMembershipPermissions = 8
	// Set for users who can set a members points to a specific value.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_SET_POINTS ScannerMembershipPermissions = 16
	// Set for users who can change a members tier.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_CHANGE_TIER ScannerMembershipPermissions = 32
	// Set for users who can view previous events the member has committed.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_VIEW_EVENTS ScannerMembershipPermissions = 64
	// Set for users who can change the expiry date of a member.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_CHANGE_EXPIRY ScannerMembershipPermissions = 128
	// Set for users who can check members in and out.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_CHECK_IN_OUT ScannerMembershipPermissions = 256
	// Set for users who can verify a members status.
	ScannerMembershipPermissions_MEMBERSHIP_PERMISSION_VALIDATE ScannerMembershipPermissions = 512
)

func (ScannerMembershipPermissions) Descriptor

func (ScannerMembershipPermissions) Enum

func (ScannerMembershipPermissions) EnumDescriptor deprecated

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

Deprecated: Use ScannerMembershipPermissions.Descriptor instead.

func (ScannerMembershipPermissions) Number

func (ScannerMembershipPermissions) String

func (ScannerMembershipPermissions) Type

type ScreenshotEligibility added in v1.1.123

type ScreenshotEligibility int32

Defines whether a pass is eligible to be shared via screenshot.

const (
	ScreenshotEligibility_SCREENSHOT_ELIGIBILITY_UNSPECIFIED ScreenshotEligibility = 0
	ScreenshotEligibility_ELIGIBLE                           ScreenshotEligibility = 1
	ScreenshotEligibility_INELIGIBLE                         ScreenshotEligibility = 2
)

func (ScreenshotEligibility) Descriptor added in v1.1.123

func (ScreenshotEligibility) Enum added in v1.1.123

func (ScreenshotEligibility) EnumDescriptor deprecated added in v1.1.123

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

Deprecated: Use ScreenshotEligibility.Descriptor instead.

func (ScreenshotEligibility) Number added in v1.1.123

func (ScreenshotEligibility) String added in v1.1.123

func (x ScreenshotEligibility) String() string

func (ScreenshotEligibility) Type added in v1.1.123

type SelectOption

type SelectOption struct {

	// The order of option in the select list. Option with listPriority 1 will be rendered at the top of drop-down list.
	ListPriority uint32 `protobuf:"varint,1,opt,name=listPriority,proto3" json:"listPriority,omitempty"`
	// Display text on the drop-down list (e.g. Hongkong and Shanghai Banking Corporation).
	TextLabel          string           `protobuf:"bytes,2,opt,name=textLabel,proto3" json:"textLabel,omitempty"`
	LocalizedTextLabel *LocalizedString `protobuf:"bytes,3,opt,name=localizedTextLabel,proto3" json:"localizedTextLabel,omitempty"`
	// Value of selected text. (e.g. HSBC)
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Sets value and display text for drop-down item.

func (*SelectOption) Descriptor deprecated

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

Deprecated: Use SelectOption.ProtoReflect.Descriptor instead.

func (*SelectOption) GetListPriority

func (x *SelectOption) GetListPriority() uint32

func (*SelectOption) GetLocalizedTextLabel

func (x *SelectOption) GetLocalizedTextLabel() *LocalizedString

func (*SelectOption) GetTextLabel

func (x *SelectOption) GetTextLabel() string

func (*SelectOption) GetValue

func (x *SelectOption) GetValue() string

func (*SelectOption) ProtoMessage

func (*SelectOption) ProtoMessage()

func (*SelectOption) ProtoReflect

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

func (*SelectOption) Reset

func (x *SelectOption) Reset()

func (*SelectOption) String

func (x *SelectOption) String() string

type SemanticCurrencyAmount added in v1.1.118

type SemanticCurrencyAmount struct {
	Amount       float32 `protobuf:"fixed32,1,opt,name=amount,proto3" json:"amount,omitempty"`
	CurrencyCode int32   `protobuf:"varint,2,opt,name=currencyCode,proto3" json:"currencyCode,omitempty"`
	// contains filtered or unexported fields
}

Represents a currency amount with a numeric value and ISO currency code.

func (*SemanticCurrencyAmount) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticCurrencyAmount.ProtoReflect.Descriptor instead.

func (*SemanticCurrencyAmount) GetAmount added in v1.1.118

func (x *SemanticCurrencyAmount) GetAmount() float32

func (*SemanticCurrencyAmount) GetCurrencyCode added in v1.1.118

func (x *SemanticCurrencyAmount) GetCurrencyCode() int32

func (*SemanticCurrencyAmount) ProtoMessage added in v1.1.118

func (*SemanticCurrencyAmount) ProtoMessage()

func (*SemanticCurrencyAmount) ProtoReflect added in v1.1.118

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

func (*SemanticCurrencyAmount) Reset added in v1.1.118

func (x *SemanticCurrencyAmount) Reset()

func (*SemanticCurrencyAmount) String added in v1.1.118

func (x *SemanticCurrencyAmount) String() string

type SemanticEventDateInfo added in v1.1.118

type SemanticEventDateInfo struct {

	// Date and time of the event.
	Date *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=date,proto3" json:"date,omitempty"`
	// Indicates whether the pass omit displaying the time label i.e. just show the date.
	IgnoreTimeComponents bool `protobuf:"varint,2,opt,name=ignoreTimeComponents,proto3" json:"ignoreTimeComponents,omitempty"`
	// The time zone in which the event takes place.
	TimeZone string `protobuf:"bytes,3,opt,name=time_zone,json=timeZone,proto3" json:"time_zone,omitempty"`
	// contains filtered or unexported fields
}

Represents event date information with optional time and timezone.

func (*SemanticEventDateInfo) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticEventDateInfo.ProtoReflect.Descriptor instead.

func (*SemanticEventDateInfo) GetDate added in v1.1.118

func (*SemanticEventDateInfo) GetIgnoreTimeComponents added in v1.1.118

func (x *SemanticEventDateInfo) GetIgnoreTimeComponents() bool

func (*SemanticEventDateInfo) GetTimeZone added in v1.1.118

func (x *SemanticEventDateInfo) GetTimeZone() string

func (*SemanticEventDateInfo) ProtoMessage added in v1.1.118

func (*SemanticEventDateInfo) ProtoMessage()

func (*SemanticEventDateInfo) ProtoReflect added in v1.1.118

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

func (*SemanticEventDateInfo) Reset added in v1.1.118

func (x *SemanticEventDateInfo) Reset()

func (*SemanticEventDateInfo) String added in v1.1.118

func (x *SemanticEventDateInfo) String() string

type SemanticLocation added in v1.1.118

type SemanticLocation struct {
	Latitude  float64 `protobuf:"fixed64,1,opt,name=latitude,proto3" json:"latitude,omitempty"`
	Longitude float64 `protobuf:"fixed64,2,opt,name=longitude,proto3" json:"longitude,omitempty"`
	// contains filtered or unexported fields
}

Represents a geographical location using latitude and longitude.

func (*SemanticLocation) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticLocation.ProtoReflect.Descriptor instead.

func (*SemanticLocation) GetLatitude added in v1.1.118

func (x *SemanticLocation) GetLatitude() float64

func (*SemanticLocation) GetLongitude added in v1.1.118

func (x *SemanticLocation) GetLongitude() float64

func (*SemanticLocation) ProtoMessage added in v1.1.118

func (*SemanticLocation) ProtoMessage()

func (*SemanticLocation) ProtoReflect added in v1.1.118

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

func (*SemanticLocation) Reset added in v1.1.118

func (x *SemanticLocation) Reset()

func (*SemanticLocation) String added in v1.1.118

func (x *SemanticLocation) String() string

type SemanticPersonName added in v1.1.118

type SemanticPersonName struct {
	FamilyName string `protobuf:"bytes,1,opt,name=familyName,proto3" json:"familyName,omitempty"`
	GivenName  string `protobuf:"bytes,2,opt,name=givenName,proto3" json:"givenName,omitempty"`
	MiddleName string `protobuf:"bytes,3,opt,name=middleName,proto3" json:"middleName,omitempty"`
	NamePrefix string `protobuf:"bytes,4,opt,name=namePrefix,proto3" json:"namePrefix,omitempty"`
	NameSuffix string `protobuf:"bytes,5,opt,name=nameSuffix,proto3" json:"nameSuffix,omitempty"`
	Nickname   string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
	// The phonetic representation of the person’s name.
	PhoneticRepresentation string `protobuf:"bytes,7,opt,name=phoneticRepresentation,proto3" json:"phoneticRepresentation,omitempty"`
	// contains filtered or unexported fields
}

Represents a person's full name and related phonetic details.

func (*SemanticPersonName) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticPersonName.ProtoReflect.Descriptor instead.

func (*SemanticPersonName) GetFamilyName added in v1.1.118

func (x *SemanticPersonName) GetFamilyName() string

func (*SemanticPersonName) GetGivenName added in v1.1.118

func (x *SemanticPersonName) GetGivenName() string

func (*SemanticPersonName) GetMiddleName added in v1.1.118

func (x *SemanticPersonName) GetMiddleName() string

func (*SemanticPersonName) GetNamePrefix added in v1.1.118

func (x *SemanticPersonName) GetNamePrefix() string

func (*SemanticPersonName) GetNameSuffix added in v1.1.118

func (x *SemanticPersonName) GetNameSuffix() string

func (*SemanticPersonName) GetNickname added in v1.1.118

func (x *SemanticPersonName) GetNickname() string

func (*SemanticPersonName) GetPhoneticRepresentation added in v1.1.118

func (x *SemanticPersonName) GetPhoneticRepresentation() string

func (*SemanticPersonName) ProtoMessage added in v1.1.118

func (*SemanticPersonName) ProtoMessage()

func (*SemanticPersonName) ProtoReflect added in v1.1.118

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

func (*SemanticPersonName) Reset added in v1.1.118

func (x *SemanticPersonName) Reset()

func (*SemanticPersonName) String added in v1.1.118

func (x *SemanticPersonName) String() string

type SemanticSeat added in v1.1.118

type SemanticSeat struct {
	SeatDescription  string `protobuf:"bytes,1,opt,name=seatDescription,proto3" json:"seatDescription,omitempty"`
	SeatIdentifier   string `protobuf:"bytes,2,opt,name=seatIdentifier,proto3" json:"seatIdentifier,omitempty"`
	SeatNumber       string `protobuf:"bytes,3,opt,name=seatNumber,proto3" json:"seatNumber,omitempty"`
	SeatRow          string `protobuf:"bytes,4,opt,name=seatRow,proto3" json:"seatRow,omitempty"`
	SeatSection      string `protobuf:"bytes,5,opt,name=seatSection,proto3" json:"seatSection,omitempty"`
	SeatType         string `protobuf:"bytes,6,opt,name=seatType,proto3" json:"seatType,omitempty"`
	SeatSectionColor string `protobuf:"bytes,7,opt,name=seatSectionColor,proto3" json:"seatSectionColor,omitempty"`
	SeatLevel        string `protobuf:"bytes,8,opt,name=seatLevel,proto3" json:"seatLevel,omitempty"`
	SeatAisle        string `protobuf:"bytes,9,opt,name=seatAisle,proto3" json:"seatAisle,omitempty"`
	// contains filtered or unexported fields
}

Seat assignment and related metadata for event or transportation.

func (*SemanticSeat) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticSeat.ProtoReflect.Descriptor instead.

func (*SemanticSeat) GetSeatAisle added in v1.1.118

func (x *SemanticSeat) GetSeatAisle() string

func (*SemanticSeat) GetSeatDescription added in v1.1.118

func (x *SemanticSeat) GetSeatDescription() string

func (*SemanticSeat) GetSeatIdentifier added in v1.1.118

func (x *SemanticSeat) GetSeatIdentifier() string

func (*SemanticSeat) GetSeatLevel added in v1.1.118

func (x *SemanticSeat) GetSeatLevel() string

func (*SemanticSeat) GetSeatNumber added in v1.1.118

func (x *SemanticSeat) GetSeatNumber() string

func (*SemanticSeat) GetSeatRow added in v1.1.118

func (x *SemanticSeat) GetSeatRow() string

func (*SemanticSeat) GetSeatSection added in v1.1.118

func (x *SemanticSeat) GetSeatSection() string

func (*SemanticSeat) GetSeatSectionColor added in v1.1.118

func (x *SemanticSeat) GetSeatSectionColor() string

func (*SemanticSeat) GetSeatType added in v1.1.118

func (x *SemanticSeat) GetSeatType() string

func (*SemanticSeat) ProtoMessage added in v1.1.118

func (*SemanticSeat) ProtoMessage()

func (*SemanticSeat) ProtoReflect added in v1.1.118

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

func (*SemanticSeat) Reset added in v1.1.118

func (x *SemanticSeat) Reset()

func (*SemanticSeat) String added in v1.1.118

func (x *SemanticSeat) String() string

type SemanticTags added in v1.1.118

type SemanticTags struct {
	AdmissionLevel                          string                  `protobuf:"bytes,1,opt,name=admissionLevel,proto3" json:"admissionLevel,omitempty"`
	LocalizedAdmissionLevel                 *LocalizedString        `protobuf:"bytes,2,opt,name=localizedAdmissionLevel,proto3" json:"localizedAdmissionLevel,omitempty"`
	AdmissionLevelAbbreviation              string                  `protobuf:"bytes,3,opt,name=admissionLevelAbbreviation,proto3" json:"admissionLevelAbbreviation,omitempty"`
	LocalizedAdmissionLevelAbbreviation     *LocalizedString        `protobuf:"bytes,4,opt,name=localizedAdmissionLevelAbbreviation,proto3" json:"localizedAdmissionLevelAbbreviation,omitempty"`
	AdditionalTicketAttributes              string                  `protobuf:"bytes,5,opt,name=additionalTicketAttributes,proto3" json:"additionalTicketAttributes,omitempty"`
	LocalizedAdditionalTicketAttributes     *LocalizedString        `protobuf:"bytes,6,opt,name=localizedAdditionalTicketAttributes,proto3" json:"localizedAdditionalTicketAttributes,omitempty"`
	AirlineCode                             string                  `protobuf:"bytes,7,opt,name=airlineCode,proto3" json:"airlineCode,omitempty"`
	LocalizedAirlineCode                    *LocalizedString        `protobuf:"bytes,8,opt,name=localizedAirlineCode,proto3" json:"localizedAirlineCode,omitempty"`
	AttendeeName                            string                  `protobuf:"bytes,9,opt,name=attendeeName,proto3" json:"attendeeName,omitempty"`
	LocalizedAttendeeName                   *LocalizedString        `protobuf:"bytes,10,opt,name=localizedAttendeeName,proto3" json:"localizedAttendeeName,omitempty"`
	ArtistIds                               []string                `protobuf:"bytes,11,rep,name=artistIds,proto3" json:"artistIds,omitempty"`
	AwayTeamAbbreviation                    string                  `protobuf:"bytes,12,opt,name=awayTeamAbbreviation,proto3" json:"awayTeamAbbreviation,omitempty"`
	LocalizedAwayTeamAbbreviation           *LocalizedString        `protobuf:"bytes,13,opt,name=localizedAwayTeamAbbreviation,proto3" json:"localizedAwayTeamAbbreviation,omitempty"`
	AwayTeamLocation                        string                  `protobuf:"bytes,14,opt,name=awayTeamLocation,proto3" json:"awayTeamLocation,omitempty"`
	LocalizedAwayTeamLocation               *LocalizedString        `protobuf:"bytes,15,opt,name=localizedAwayTeamLocation,proto3" json:"localizedAwayTeamLocation,omitempty"`
	AwayTeamName                            string                  `protobuf:"bytes,16,opt,name=awayTeamName,proto3" json:"awayTeamName,omitempty"`
	LocalizedAwayTeamName                   *LocalizedString        `protobuf:"bytes,17,opt,name=localizedAwayTeamName,proto3" json:"localizedAwayTeamName,omitempty"`
	Balance                                 *SemanticCurrencyAmount `protobuf:"bytes,18,opt,name=balance,proto3" json:"balance,omitempty"`
	BoardingGroup                           string                  `protobuf:"bytes,19,opt,name=boardingGroup,proto3" json:"boardingGroup,omitempty"`
	LocalizedBoardingGroup                  *LocalizedString        `protobuf:"bytes,20,opt,name=localizedBoardingGroup,proto3" json:"localizedBoardingGroup,omitempty"`
	BoardingSequenceNumber                  string                  `protobuf:"bytes,21,opt,name=boardingSequenceNumber,proto3" json:"boardingSequenceNumber,omitempty"`
	CarNumber                               string                  `protobuf:"bytes,22,opt,name=carNumber,proto3" json:"carNumber,omitempty"`
	LocalizedCarNumber                      *LocalizedString        `protobuf:"bytes,23,opt,name=localizedCarNumber,proto3" json:"localizedCarNumber,omitempty"`
	ConfirmationNumber                      string                  `protobuf:"bytes,24,opt,name=confirmationNumber,proto3" json:"confirmationNumber,omitempty"`
	LocalizedConfirmationNumber             *LocalizedString        `protobuf:"bytes,25,opt,name=localizedConfirmationNumber,proto3" json:"localizedConfirmationNumber,omitempty"`
	CurrentArrivalDate                      *timestamppb.Timestamp  `protobuf:"bytes,26,opt,name=currentArrivalDate,proto3" json:"currentArrivalDate,omitempty"`
	CurrentBoardingDate                     *timestamppb.Timestamp  `protobuf:"bytes,27,opt,name=currentBoardingDate,proto3" json:"currentBoardingDate,omitempty"`
	CurrentDepartureDate                    *timestamppb.Timestamp  `protobuf:"bytes,28,opt,name=currentDepartureDate,proto3" json:"currentDepartureDate,omitempty"`
	DepartureAirportCode                    string                  `protobuf:"bytes,29,opt,name=departureAirportCode,proto3" json:"departureAirportCode,omitempty"`
	LocalizedDepartureAirportCode           *LocalizedString        `protobuf:"bytes,30,opt,name=localizedDepartureAirportCode,proto3" json:"localizedDepartureAirportCode,omitempty"`
	DepartureAirportName                    string                  `protobuf:"bytes,31,opt,name=departureAirportName,proto3" json:"departureAirportName,omitempty"`
	LocalizedDepartureAirportName           *LocalizedString        `protobuf:"bytes,32,opt,name=localizedDepartureAirportName,proto3" json:"localizedDepartureAirportName,omitempty"`
	DepartureGate                           string                  `protobuf:"bytes,33,opt,name=departureGate,proto3" json:"departureGate,omitempty"`
	LocalizedDepartureGate                  *LocalizedString        `protobuf:"bytes,34,opt,name=localizedDepartureGate,proto3" json:"localizedDepartureGate,omitempty"`
	DepartureLocation                       string                  `protobuf:"bytes,35,opt,name=departureLocation,proto3" json:"departureLocation,omitempty"`
	LocalizedDepartureLocation              *LocalizedString        `protobuf:"bytes,36,opt,name=localizedDepartureLocation,proto3" json:"localizedDepartureLocation,omitempty"`
	DepartureLocationDescription            string                  `protobuf:"bytes,37,opt,name=departureLocationDescription,proto3" json:"departureLocationDescription,omitempty"`
	LocalizedDepartureLocationDescription   *LocalizedString        `` /* 128-byte string literal not displayed */
	DeparturePlatform                       string                  `protobuf:"bytes,39,opt,name=departurePlatform,proto3" json:"departurePlatform,omitempty"`
	LocalizedDeparturePlatform              *LocalizedString        `protobuf:"bytes,40,opt,name=localizedDeparturePlatform,proto3" json:"localizedDeparturePlatform,omitempty"`
	DepartureStationName                    string                  `protobuf:"bytes,41,opt,name=departureStationName,proto3" json:"departureStationName,omitempty"`
	LocalizedDepartureStationName           *LocalizedString        `protobuf:"bytes,42,opt,name=localizedDepartureStationName,proto3" json:"localizedDepartureStationName,omitempty"`
	DepartureTerminal                       string                  `protobuf:"bytes,43,opt,name=departureTerminal,proto3" json:"departureTerminal,omitempty"`
	LocalizedDepartureTerminal              *LocalizedString        `protobuf:"bytes,44,opt,name=localizedDepartureTerminal,proto3" json:"localizedDepartureTerminal,omitempty"`
	DestinationAirportCode                  string                  `protobuf:"bytes,45,opt,name=destinationAirportCode,proto3" json:"destinationAirportCode,omitempty"`
	LocalizedDestinationAirportCode         *LocalizedString        `protobuf:"bytes,46,opt,name=localizedDestinationAirportCode,proto3" json:"localizedDestinationAirportCode,omitempty"`
	DestinationAirportName                  string                  `protobuf:"bytes,47,opt,name=destinationAirportName,proto3" json:"destinationAirportName,omitempty"`
	LocalizedDestinationAirportName         *LocalizedString        `protobuf:"bytes,48,opt,name=localizedDestinationAirportName,proto3" json:"localizedDestinationAirportName,omitempty"`
	DestinationGate                         string                  `protobuf:"bytes,49,opt,name=destinationGate,proto3" json:"destinationGate,omitempty"`
	LocalizedDestinationGate                *LocalizedString        `protobuf:"bytes,50,opt,name=localizedDestinationGate,proto3" json:"localizedDestinationGate,omitempty"`
	DestinationLocation                     string                  `protobuf:"bytes,51,opt,name=destinationLocation,proto3" json:"destinationLocation,omitempty"`
	LocalizedDestinationLocation            *LocalizedString        `protobuf:"bytes,52,opt,name=localizedDestinationLocation,proto3" json:"localizedDestinationLocation,omitempty"`
	DestinationLocationDescription          string                  `protobuf:"bytes,53,opt,name=destinationLocationDescription,proto3" json:"destinationLocationDescription,omitempty"`
	LocalizedDestinationLocationDescription *LocalizedString        `` /* 132-byte string literal not displayed */
	DestinationPlatform                     string                  `protobuf:"bytes,55,opt,name=destinationPlatform,proto3" json:"destinationPlatform,omitempty"`
	LocalizedDestinationPlatform            *LocalizedString        `protobuf:"bytes,56,opt,name=localizedDestinationPlatform,proto3" json:"localizedDestinationPlatform,omitempty"`
	DestinationStationName                  string                  `protobuf:"bytes,57,opt,name=destinationStationName,proto3" json:"destinationStationName,omitempty"`
	LocalizedDestinationStationName         *LocalizedString        `protobuf:"bytes,58,opt,name=localizedDestinationStationName,proto3" json:"localizedDestinationStationName,omitempty"`
	DestinationTerminal                     string                  `protobuf:"bytes,59,opt,name=destinationTerminal,proto3" json:"destinationTerminal,omitempty"`
	LocalizedDestinationTerminal            *LocalizedString        `protobuf:"bytes,60,opt,name=localizedDestinationTerminal,proto3" json:"localizedDestinationTerminal,omitempty"`
	Duration                                uint64                  `protobuf:"varint,61,opt,name=duration,proto3" json:"duration,omitempty"`
	EventEndDate                            *timestamppb.Timestamp  `protobuf:"bytes,62,opt,name=eventEndDate,proto3" json:"eventEndDate,omitempty"`
	EventName                               string                  `protobuf:"bytes,63,opt,name=eventName,proto3" json:"eventName,omitempty"`
	LocalizedEventName                      *LocalizedString        `protobuf:"bytes,64,opt,name=localizedEventName,proto3" json:"localizedEventName,omitempty"`
	EventStartDate                          *timestamppb.Timestamp  `protobuf:"bytes,65,opt,name=eventStartDate,proto3" json:"eventStartDate,omitempty"`
	EventStartDateInfo                      *SemanticEventDateInfo  `protobuf:"bytes,66,opt,name=eventStartDateInfo,proto3" json:"eventStartDateInfo,omitempty"`
	EventType                               EventType               `protobuf:"varint,67,opt,name=eventType,proto3,enum=io.EventType" json:"eventType,omitempty"`
	FlightCode                              string                  `protobuf:"bytes,68,opt,name=flightCode,proto3" json:"flightCode,omitempty"`
	LocalizedFlightCode                     *LocalizedString        `protobuf:"bytes,69,opt,name=localizedFlightCode,proto3" json:"localizedFlightCode,omitempty"`
	FlightNumber                            uint32                  `protobuf:"varint,70,opt,name=flightNumber,proto3" json:"flightNumber,omitempty"`
	Genre                                   string                  `protobuf:"bytes,71,opt,name=genre,proto3" json:"genre,omitempty"`
	LocalizedGenre                          *LocalizedString        `protobuf:"bytes,72,opt,name=localizedGenre,proto3" json:"localizedGenre,omitempty"`
	HomeTeamAbbreviation                    string                  `protobuf:"bytes,73,opt,name=homeTeamAbbreviation,proto3" json:"homeTeamAbbreviation,omitempty"`
	LocalizedHomeTeamAbbreviation           *LocalizedString        `protobuf:"bytes,74,opt,name=localizedHomeTeamAbbreviation,proto3" json:"localizedHomeTeamAbbreviation,omitempty"`
	HomeTeamLocation                        string                  `protobuf:"bytes,75,opt,name=homeTeamLocation,proto3" json:"homeTeamLocation,omitempty"`
	LocalizedHomeTeamLocation               *LocalizedString        `protobuf:"bytes,76,opt,name=localizedHomeTeamLocation,proto3" json:"localizedHomeTeamLocation,omitempty"`
	HomeTeamName                            string                  `protobuf:"bytes,77,opt,name=homeTeamName,proto3" json:"homeTeamName,omitempty"`
	LocalizedHomeTeamName                   *LocalizedString        `protobuf:"bytes,78,opt,name=localizedHomeTeamName,proto3" json:"localizedHomeTeamName,omitempty"`
	LeagueAbbreviation                      string                  `protobuf:"bytes,79,opt,name=leagueAbbreviation,proto3" json:"leagueAbbreviation,omitempty"`
	LocalizedLeagueAbbreviation             *LocalizedString        `protobuf:"bytes,80,opt,name=localizedLeagueAbbreviation,proto3" json:"localizedLeagueAbbreviation,omitempty"`
	LeagueName                              string                  `protobuf:"bytes,81,opt,name=leagueName,proto3" json:"leagueName,omitempty"`
	LocalizedLeagueName                     *LocalizedString        `protobuf:"bytes,82,opt,name=localizedLeagueName,proto3" json:"localizedLeagueName,omitempty"`
	MembershipProgramName                   string                  `protobuf:"bytes,83,opt,name=membershipProgramName,proto3" json:"membershipProgramName,omitempty"`
	LocalizedMembershipProgramName          *LocalizedString        `protobuf:"bytes,84,opt,name=localizedMembershipProgramName,proto3" json:"localizedMembershipProgramName,omitempty"`
	MembershipProgramNumber                 string                  `protobuf:"bytes,85,opt,name=membershipProgramNumber,proto3" json:"membershipProgramNumber,omitempty"`
	OriginalArrivalDate                     *timestamppb.Timestamp  `protobuf:"bytes,86,opt,name=originalArrivalDate,proto3" json:"originalArrivalDate,omitempty"`
	OriginalBoardingDate                    *timestamppb.Timestamp  `protobuf:"bytes,87,opt,name=originalBoardingDate,proto3" json:"originalBoardingDate,omitempty"`
	OriginalDepartureDate                   *timestamppb.Timestamp  `protobuf:"bytes,88,opt,name=originalDepartureDate,proto3" json:"originalDepartureDate,omitempty"`
	PassengerName                           *SemanticPersonName     `protobuf:"bytes,89,opt,name=passengerName,proto3" json:"passengerName,omitempty"`
	PerformerNames                          []string                `protobuf:"bytes,90,rep,name=performerNames,proto3" json:"performerNames,omitempty"`
	PriorityStatus                          string                  `protobuf:"bytes,91,opt,name=priorityStatus,proto3" json:"priorityStatus,omitempty"`
	LocalizedPriorityStatus                 *LocalizedString        `protobuf:"bytes,92,opt,name=localizedPriorityStatus,proto3" json:"localizedPriorityStatus,omitempty"`
	AlbumIds                                []string                `protobuf:"bytes,93,rep,name=albumIds,proto3" json:"albumIds,omitempty"`
	PlaylistIds                             []string                `protobuf:"bytes,94,rep,name=playlistIds,proto3" json:"playlistIds,omitempty"`
	Seats                                   []*SemanticSeat         `protobuf:"bytes,95,rep,name=seats,proto3" json:"seats,omitempty"`
	SecurityScreening                       string                  `protobuf:"bytes,96,opt,name=securityScreening,proto3" json:"securityScreening,omitempty"`
	LocalizedSecurityScreening              *LocalizedString        `protobuf:"bytes,97,opt,name=localizedSecurityScreening,proto3" json:"localizedSecurityScreening,omitempty"`
	SilenceRequested                        bool                    `protobuf:"varint,98,opt,name=silenceRequested,proto3" json:"silenceRequested,omitempty"`
	SportName                               string                  `protobuf:"bytes,99,opt,name=sportName,proto3" json:"sportName,omitempty"`
	LocalizedSportName                      *LocalizedString        `protobuf:"bytes,100,opt,name=localizedSportName,proto3" json:"localizedSportName,omitempty"`
	TotalPrice                              *SemanticCurrencyAmount `protobuf:"bytes,101,opt,name=totalPrice,proto3" json:"totalPrice,omitempty"`
	TransitProvider                         string                  `protobuf:"bytes,102,opt,name=transitProvider,proto3" json:"transitProvider,omitempty"`
	LocalizedTransitProvider                *LocalizedString        `protobuf:"bytes,103,opt,name=localizedTransitProvider,proto3" json:"localizedTransitProvider,omitempty"`
	TransitStatus                           string                  `protobuf:"bytes,104,opt,name=transitStatus,proto3" json:"transitStatus,omitempty"`
	LocalizedTransitStatus                  *LocalizedString        `protobuf:"bytes,105,opt,name=localizedTransitStatus,proto3" json:"localizedTransitStatus,omitempty"`
	TransitStatusReason                     string                  `protobuf:"bytes,106,opt,name=transitStatusReason,proto3" json:"transitStatusReason,omitempty"`
	LocalizedTransitStatusReason            *LocalizedString        `protobuf:"bytes,107,opt,name=localizedTransitStatusReason,proto3" json:"localizedTransitStatusReason,omitempty"`
	VehicleName                             string                  `protobuf:"bytes,108,opt,name=vehicleName,proto3" json:"vehicleName,omitempty"`
	LocalizedVehicleName                    *LocalizedString        `protobuf:"bytes,109,opt,name=localizedVehicleName,proto3" json:"localizedVehicleName,omitempty"`
	VehicleNumber                           string                  `protobuf:"bytes,110,opt,name=vehicleNumber,proto3" json:"vehicleNumber,omitempty"`
	LocalizedVehicleNumber                  *LocalizedString        `protobuf:"bytes,111,opt,name=localizedVehicleNumber,proto3" json:"localizedVehicleNumber,omitempty"`
	VehicleType                             string                  `protobuf:"bytes,112,opt,name=vehicleType,proto3" json:"vehicleType,omitempty"`
	LocalizedVehicleType                    *LocalizedString        `protobuf:"bytes,113,opt,name=localizedVehicleType,proto3" json:"localizedVehicleType,omitempty"`
	VenueBoxOfficeOpenDate                  *timestamppb.Timestamp  `protobuf:"bytes,114,opt,name=venueBoxOfficeOpenDate,proto3" json:"venueBoxOfficeOpenDate,omitempty"`
	VenueCloseDate                          *timestamppb.Timestamp  `protobuf:"bytes,115,opt,name=venueCloseDate,proto3" json:"venueCloseDate,omitempty"`
	VenueDoorsOpenDate                      *timestamppb.Timestamp  `protobuf:"bytes,116,opt,name=venueDoorsOpenDate,proto3" json:"venueDoorsOpenDate,omitempty"`
	VenueEntrance                           string                  `protobuf:"bytes,117,opt,name=venueEntrance,proto3" json:"venueEntrance,omitempty"`
	LocalizedVenueEntrance                  *LocalizedString        `protobuf:"bytes,118,opt,name=localizedVenueEntrance,proto3" json:"localizedVenueEntrance,omitempty"`
	VenueLocation                           *SemanticLocation       `protobuf:"bytes,119,opt,name=venueLocation,proto3" json:"venueLocation,omitempty"`
	VenueName                               string                  `protobuf:"bytes,120,opt,name=venueName,proto3" json:"venueName,omitempty"`
	LocalizedVenueName                      *LocalizedString        `protobuf:"bytes,121,opt,name=localizedVenueName,proto3" json:"localizedVenueName,omitempty"`
	VenuePhoneNumber                        string                  `protobuf:"bytes,122,opt,name=venuePhone_number,json=venuePhoneNumber,proto3" json:"venuePhone_number,omitempty"`
	LocalizedVenuePhoneNumber               *LocalizedString        `protobuf:"bytes,123,opt,name=localizedVenuePhoneNumber,proto3" json:"localizedVenuePhoneNumber,omitempty"`
	VenueRegionName                         string                  `protobuf:"bytes,124,opt,name=venueRegionName,proto3" json:"venueRegionName,omitempty"`
	LocalizedVenueRegionName                *LocalizedString        `protobuf:"bytes,125,opt,name=localizedVenueRegionName,proto3" json:"localizedVenueRegionName,omitempty"`
	VenueRoom                               string                  `protobuf:"bytes,126,opt,name=venueRoom,proto3" json:"venueRoom,omitempty"`
	LocalizedVenueRoom                      *LocalizedString        `protobuf:"bytes,127,opt,name=localizedVenueRoom,proto3" json:"localizedVenueRoom,omitempty"`
	WifiAccess                              []*SemanticWifiNetwork  `protobuf:"bytes,128,rep,name=wifiAccess,proto3" json:"wifiAccess,omitempty"`
	VenueFanZoneOpenDate                    *timestamppb.Timestamp  `protobuf:"bytes,129,opt,name=venueFanZoneOpenDate,proto3" json:"venueFanZoneOpenDate,omitempty"`
	VenueGatesOpenDate                      *timestamppb.Timestamp  `protobuf:"bytes,130,opt,name=venueGatesOpenDate,proto3" json:"venueGatesOpenDate,omitempty"`
	VenueParkingLotsOpenDate                *timestamppb.Timestamp  `protobuf:"bytes,131,opt,name=venueParkingLotsOpenDate,proto3" json:"venueParkingLotsOpenDate,omitempty"`
	VenueEntranceDoor                       string                  `protobuf:"bytes,132,opt,name=venueEntranceDoor,proto3" json:"venueEntranceDoor,omitempty"`
	LocalizedVenueEntranceDoor              *LocalizedString        `protobuf:"bytes,133,opt,name=localizedVenueEntranceDoor,proto3" json:"localizedVenueEntranceDoor,omitempty"`
	VenueEntranceGate                       string                  `protobuf:"bytes,134,opt,name=venueEntranceGate,proto3" json:"venueEntranceGate,omitempty"`
	LocalizedVenueEntranceGate              *LocalizedString        `protobuf:"bytes,135,opt,name=localizedVenueEntranceGate,proto3" json:"localizedVenueEntranceGate,omitempty"`
	VenueEntrancePortal                     string                  `protobuf:"bytes,136,opt,name=venueEntrancePortal,proto3" json:"venueEntrancePortal,omitempty"`
	LocalizedVenueEntrancePortal            *LocalizedString        `protobuf:"bytes,137,opt,name=localizedVenueEntrancePortal,proto3" json:"localizedVenueEntrancePortal,omitempty"`
	EntranceDescription                     string                  `protobuf:"bytes,138,opt,name=entranceDescription,proto3" json:"entranceDescription,omitempty"`
	LocalizedEntranceDescription            *LocalizedString        `protobuf:"bytes,139,opt,name=localizedEntranceDescription,proto3" json:"localizedEntranceDescription,omitempty"`
	TailgatingAllowed                       bool                    `protobuf:"varint,140,opt,name=tailgatingAllowed,proto3" json:"tailgatingAllowed,omitempty"`
	// contains filtered or unexported fields
}

Metadata used across different protocols (e.g. events, flights). Includes info like names, locations, seats, pricing, and travel details.

func (*SemanticTags) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticTags.ProtoReflect.Descriptor instead.

func (*SemanticTags) GetAdditionalTicketAttributes added in v1.1.118

func (x *SemanticTags) GetAdditionalTicketAttributes() string

func (*SemanticTags) GetAdmissionLevel added in v1.1.118

func (x *SemanticTags) GetAdmissionLevel() string

func (*SemanticTags) GetAdmissionLevelAbbreviation added in v1.1.118

func (x *SemanticTags) GetAdmissionLevelAbbreviation() string

func (*SemanticTags) GetAirlineCode added in v1.1.118

func (x *SemanticTags) GetAirlineCode() string

func (*SemanticTags) GetAlbumIds added in v1.1.118

func (x *SemanticTags) GetAlbumIds() []string

func (*SemanticTags) GetArtistIds added in v1.1.118

func (x *SemanticTags) GetArtistIds() []string

func (*SemanticTags) GetAttendeeName added in v1.1.118

func (x *SemanticTags) GetAttendeeName() string

func (*SemanticTags) GetAwayTeamAbbreviation added in v1.1.118

func (x *SemanticTags) GetAwayTeamAbbreviation() string

func (*SemanticTags) GetAwayTeamLocation added in v1.1.118

func (x *SemanticTags) GetAwayTeamLocation() string

func (*SemanticTags) GetAwayTeamName added in v1.1.118

func (x *SemanticTags) GetAwayTeamName() string

func (*SemanticTags) GetBalance added in v1.1.118

func (x *SemanticTags) GetBalance() *SemanticCurrencyAmount

func (*SemanticTags) GetBoardingGroup added in v1.1.118

func (x *SemanticTags) GetBoardingGroup() string

func (*SemanticTags) GetBoardingSequenceNumber added in v1.1.118

func (x *SemanticTags) GetBoardingSequenceNumber() string

func (*SemanticTags) GetCarNumber added in v1.1.118

func (x *SemanticTags) GetCarNumber() string

func (*SemanticTags) GetConfirmationNumber added in v1.1.118

func (x *SemanticTags) GetConfirmationNumber() string

func (*SemanticTags) GetCurrentArrivalDate added in v1.1.118

func (x *SemanticTags) GetCurrentArrivalDate() *timestamppb.Timestamp

func (*SemanticTags) GetCurrentBoardingDate added in v1.1.118

func (x *SemanticTags) GetCurrentBoardingDate() *timestamppb.Timestamp

func (*SemanticTags) GetCurrentDepartureDate added in v1.1.118

func (x *SemanticTags) GetCurrentDepartureDate() *timestamppb.Timestamp

func (*SemanticTags) GetDepartureAirportCode added in v1.1.118

func (x *SemanticTags) GetDepartureAirportCode() string

func (*SemanticTags) GetDepartureAirportName added in v1.1.118

func (x *SemanticTags) GetDepartureAirportName() string

func (*SemanticTags) GetDepartureGate added in v1.1.118

func (x *SemanticTags) GetDepartureGate() string

func (*SemanticTags) GetDepartureLocation added in v1.1.118

func (x *SemanticTags) GetDepartureLocation() string

func (*SemanticTags) GetDepartureLocationDescription added in v1.1.118

func (x *SemanticTags) GetDepartureLocationDescription() string

func (*SemanticTags) GetDeparturePlatform added in v1.1.118

func (x *SemanticTags) GetDeparturePlatform() string

func (*SemanticTags) GetDepartureStationName added in v1.1.118

func (x *SemanticTags) GetDepartureStationName() string

func (*SemanticTags) GetDepartureTerminal added in v1.1.118

func (x *SemanticTags) GetDepartureTerminal() string

func (*SemanticTags) GetDestinationAirportCode added in v1.1.118

func (x *SemanticTags) GetDestinationAirportCode() string

func (*SemanticTags) GetDestinationAirportName added in v1.1.118

func (x *SemanticTags) GetDestinationAirportName() string

func (*SemanticTags) GetDestinationGate added in v1.1.118

func (x *SemanticTags) GetDestinationGate() string

func (*SemanticTags) GetDestinationLocation added in v1.1.118

func (x *SemanticTags) GetDestinationLocation() string

func (*SemanticTags) GetDestinationLocationDescription added in v1.1.118

func (x *SemanticTags) GetDestinationLocationDescription() string

func (*SemanticTags) GetDestinationPlatform added in v1.1.118

func (x *SemanticTags) GetDestinationPlatform() string

func (*SemanticTags) GetDestinationStationName added in v1.1.118

func (x *SemanticTags) GetDestinationStationName() string

func (*SemanticTags) GetDestinationTerminal added in v1.1.118

func (x *SemanticTags) GetDestinationTerminal() string

func (*SemanticTags) GetDuration added in v1.1.118

func (x *SemanticTags) GetDuration() uint64

func (*SemanticTags) GetEntranceDescription added in v1.1.118

func (x *SemanticTags) GetEntranceDescription() string

func (*SemanticTags) GetEventEndDate added in v1.1.118

func (x *SemanticTags) GetEventEndDate() *timestamppb.Timestamp

func (*SemanticTags) GetEventName added in v1.1.118

func (x *SemanticTags) GetEventName() string

func (*SemanticTags) GetEventStartDate added in v1.1.118

func (x *SemanticTags) GetEventStartDate() *timestamppb.Timestamp

func (*SemanticTags) GetEventStartDateInfo added in v1.1.118

func (x *SemanticTags) GetEventStartDateInfo() *SemanticEventDateInfo

func (*SemanticTags) GetEventType added in v1.1.118

func (x *SemanticTags) GetEventType() EventType

func (*SemanticTags) GetFlightCode added in v1.1.118

func (x *SemanticTags) GetFlightCode() string

func (*SemanticTags) GetFlightNumber added in v1.1.118

func (x *SemanticTags) GetFlightNumber() uint32

func (*SemanticTags) GetGenre added in v1.1.118

func (x *SemanticTags) GetGenre() string

func (*SemanticTags) GetHomeTeamAbbreviation added in v1.1.118

func (x *SemanticTags) GetHomeTeamAbbreviation() string

func (*SemanticTags) GetHomeTeamLocation added in v1.1.118

func (x *SemanticTags) GetHomeTeamLocation() string

func (*SemanticTags) GetHomeTeamName added in v1.1.118

func (x *SemanticTags) GetHomeTeamName() string

func (*SemanticTags) GetLeagueAbbreviation added in v1.1.118

func (x *SemanticTags) GetLeagueAbbreviation() string

func (*SemanticTags) GetLeagueName added in v1.1.118

func (x *SemanticTags) GetLeagueName() string

func (*SemanticTags) GetLocalizedAdditionalTicketAttributes added in v1.1.118

func (x *SemanticTags) GetLocalizedAdditionalTicketAttributes() *LocalizedString

func (*SemanticTags) GetLocalizedAdmissionLevel added in v1.1.118

func (x *SemanticTags) GetLocalizedAdmissionLevel() *LocalizedString

func (*SemanticTags) GetLocalizedAdmissionLevelAbbreviation added in v1.1.118

func (x *SemanticTags) GetLocalizedAdmissionLevelAbbreviation() *LocalizedString

func (*SemanticTags) GetLocalizedAirlineCode added in v1.1.118

func (x *SemanticTags) GetLocalizedAirlineCode() *LocalizedString

func (*SemanticTags) GetLocalizedAttendeeName added in v1.1.118

func (x *SemanticTags) GetLocalizedAttendeeName() *LocalizedString

func (*SemanticTags) GetLocalizedAwayTeamAbbreviation added in v1.1.118

func (x *SemanticTags) GetLocalizedAwayTeamAbbreviation() *LocalizedString

func (*SemanticTags) GetLocalizedAwayTeamLocation added in v1.1.118

func (x *SemanticTags) GetLocalizedAwayTeamLocation() *LocalizedString

func (*SemanticTags) GetLocalizedAwayTeamName added in v1.1.118

func (x *SemanticTags) GetLocalizedAwayTeamName() *LocalizedString

func (*SemanticTags) GetLocalizedBoardingGroup added in v1.1.118

func (x *SemanticTags) GetLocalizedBoardingGroup() *LocalizedString

func (*SemanticTags) GetLocalizedCarNumber added in v1.1.118

func (x *SemanticTags) GetLocalizedCarNumber() *LocalizedString

func (*SemanticTags) GetLocalizedConfirmationNumber added in v1.1.118

func (x *SemanticTags) GetLocalizedConfirmationNumber() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureAirportCode added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureAirportCode() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureAirportName added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureAirportName() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureGate added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureGate() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureLocation added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureLocation() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureLocationDescription added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureLocationDescription() *LocalizedString

func (*SemanticTags) GetLocalizedDeparturePlatform added in v1.1.118

func (x *SemanticTags) GetLocalizedDeparturePlatform() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureStationName added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureStationName() *LocalizedString

func (*SemanticTags) GetLocalizedDepartureTerminal added in v1.1.118

func (x *SemanticTags) GetLocalizedDepartureTerminal() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationAirportCode added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationAirportCode() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationAirportName added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationAirportName() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationGate added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationGate() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationLocation added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationLocation() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationLocationDescription added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationLocationDescription() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationPlatform added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationPlatform() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationStationName added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationStationName() *LocalizedString

func (*SemanticTags) GetLocalizedDestinationTerminal added in v1.1.118

func (x *SemanticTags) GetLocalizedDestinationTerminal() *LocalizedString

func (*SemanticTags) GetLocalizedEntranceDescription added in v1.1.118

func (x *SemanticTags) GetLocalizedEntranceDescription() *LocalizedString

func (*SemanticTags) GetLocalizedEventName added in v1.1.118

func (x *SemanticTags) GetLocalizedEventName() *LocalizedString

func (*SemanticTags) GetLocalizedFlightCode added in v1.1.118

func (x *SemanticTags) GetLocalizedFlightCode() *LocalizedString

func (*SemanticTags) GetLocalizedGenre added in v1.1.118

func (x *SemanticTags) GetLocalizedGenre() *LocalizedString

func (*SemanticTags) GetLocalizedHomeTeamAbbreviation added in v1.1.118

func (x *SemanticTags) GetLocalizedHomeTeamAbbreviation() *LocalizedString

func (*SemanticTags) GetLocalizedHomeTeamLocation added in v1.1.118

func (x *SemanticTags) GetLocalizedHomeTeamLocation() *LocalizedString

func (*SemanticTags) GetLocalizedHomeTeamName added in v1.1.118

func (x *SemanticTags) GetLocalizedHomeTeamName() *LocalizedString

func (*SemanticTags) GetLocalizedLeagueAbbreviation added in v1.1.118

func (x *SemanticTags) GetLocalizedLeagueAbbreviation() *LocalizedString

func (*SemanticTags) GetLocalizedLeagueName added in v1.1.118

func (x *SemanticTags) GetLocalizedLeagueName() *LocalizedString

func (*SemanticTags) GetLocalizedMembershipProgramName added in v1.1.118

func (x *SemanticTags) GetLocalizedMembershipProgramName() *LocalizedString

func (*SemanticTags) GetLocalizedPriorityStatus added in v1.1.118

func (x *SemanticTags) GetLocalizedPriorityStatus() *LocalizedString

func (*SemanticTags) GetLocalizedSecurityScreening added in v1.1.118

func (x *SemanticTags) GetLocalizedSecurityScreening() *LocalizedString

func (*SemanticTags) GetLocalizedSportName added in v1.1.118

func (x *SemanticTags) GetLocalizedSportName() *LocalizedString

func (*SemanticTags) GetLocalizedTransitProvider added in v1.1.118

func (x *SemanticTags) GetLocalizedTransitProvider() *LocalizedString

func (*SemanticTags) GetLocalizedTransitStatus added in v1.1.118

func (x *SemanticTags) GetLocalizedTransitStatus() *LocalizedString

func (*SemanticTags) GetLocalizedTransitStatusReason added in v1.1.118

func (x *SemanticTags) GetLocalizedTransitStatusReason() *LocalizedString

func (*SemanticTags) GetLocalizedVehicleName added in v1.1.118

func (x *SemanticTags) GetLocalizedVehicleName() *LocalizedString

func (*SemanticTags) GetLocalizedVehicleNumber added in v1.1.118

func (x *SemanticTags) GetLocalizedVehicleNumber() *LocalizedString

func (*SemanticTags) GetLocalizedVehicleType added in v1.1.118

func (x *SemanticTags) GetLocalizedVehicleType() *LocalizedString

func (*SemanticTags) GetLocalizedVenueEntrance added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueEntrance() *LocalizedString

func (*SemanticTags) GetLocalizedVenueEntranceDoor added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueEntranceDoor() *LocalizedString

func (*SemanticTags) GetLocalizedVenueEntranceGate added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueEntranceGate() *LocalizedString

func (*SemanticTags) GetLocalizedVenueEntrancePortal added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueEntrancePortal() *LocalizedString

func (*SemanticTags) GetLocalizedVenueName added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueName() *LocalizedString

func (*SemanticTags) GetLocalizedVenuePhoneNumber added in v1.1.118

func (x *SemanticTags) GetLocalizedVenuePhoneNumber() *LocalizedString

func (*SemanticTags) GetLocalizedVenueRegionName added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueRegionName() *LocalizedString

func (*SemanticTags) GetLocalizedVenueRoom added in v1.1.118

func (x *SemanticTags) GetLocalizedVenueRoom() *LocalizedString

func (*SemanticTags) GetMembershipProgramName added in v1.1.118

func (x *SemanticTags) GetMembershipProgramName() string

func (*SemanticTags) GetMembershipProgramNumber added in v1.1.118

func (x *SemanticTags) GetMembershipProgramNumber() string

func (*SemanticTags) GetOriginalArrivalDate added in v1.1.118

func (x *SemanticTags) GetOriginalArrivalDate() *timestamppb.Timestamp

func (*SemanticTags) GetOriginalBoardingDate added in v1.1.118

func (x *SemanticTags) GetOriginalBoardingDate() *timestamppb.Timestamp

func (*SemanticTags) GetOriginalDepartureDate added in v1.1.118

func (x *SemanticTags) GetOriginalDepartureDate() *timestamppb.Timestamp

func (*SemanticTags) GetPassengerName added in v1.1.118

func (x *SemanticTags) GetPassengerName() *SemanticPersonName

func (*SemanticTags) GetPerformerNames added in v1.1.118

func (x *SemanticTags) GetPerformerNames() []string

func (*SemanticTags) GetPlaylistIds added in v1.1.118

func (x *SemanticTags) GetPlaylistIds() []string

func (*SemanticTags) GetPriorityStatus added in v1.1.118

func (x *SemanticTags) GetPriorityStatus() string

func (*SemanticTags) GetSeats added in v1.1.118

func (x *SemanticTags) GetSeats() []*SemanticSeat

func (*SemanticTags) GetSecurityScreening added in v1.1.118

func (x *SemanticTags) GetSecurityScreening() string

func (*SemanticTags) GetSilenceRequested added in v1.1.118

func (x *SemanticTags) GetSilenceRequested() bool

func (*SemanticTags) GetSportName added in v1.1.118

func (x *SemanticTags) GetSportName() string

func (*SemanticTags) GetTailgatingAllowed added in v1.1.118

func (x *SemanticTags) GetTailgatingAllowed() bool

func (*SemanticTags) GetTotalPrice added in v1.1.118

func (x *SemanticTags) GetTotalPrice() *SemanticCurrencyAmount

func (*SemanticTags) GetTransitProvider added in v1.1.118

func (x *SemanticTags) GetTransitProvider() string

func (*SemanticTags) GetTransitStatus added in v1.1.118

func (x *SemanticTags) GetTransitStatus() string

func (*SemanticTags) GetTransitStatusReason added in v1.1.118

func (x *SemanticTags) GetTransitStatusReason() string

func (*SemanticTags) GetVehicleName added in v1.1.118

func (x *SemanticTags) GetVehicleName() string

func (*SemanticTags) GetVehicleNumber added in v1.1.118

func (x *SemanticTags) GetVehicleNumber() string

func (*SemanticTags) GetVehicleType added in v1.1.118

func (x *SemanticTags) GetVehicleType() string

func (*SemanticTags) GetVenueBoxOfficeOpenDate added in v1.1.118

func (x *SemanticTags) GetVenueBoxOfficeOpenDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenueCloseDate added in v1.1.118

func (x *SemanticTags) GetVenueCloseDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenueDoorsOpenDate added in v1.1.118

func (x *SemanticTags) GetVenueDoorsOpenDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenueEntrance added in v1.1.118

func (x *SemanticTags) GetVenueEntrance() string

func (*SemanticTags) GetVenueEntranceDoor added in v1.1.118

func (x *SemanticTags) GetVenueEntranceDoor() string

func (*SemanticTags) GetVenueEntranceGate added in v1.1.118

func (x *SemanticTags) GetVenueEntranceGate() string

func (*SemanticTags) GetVenueEntrancePortal added in v1.1.118

func (x *SemanticTags) GetVenueEntrancePortal() string

func (*SemanticTags) GetVenueFanZoneOpenDate added in v1.1.118

func (x *SemanticTags) GetVenueFanZoneOpenDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenueGatesOpenDate added in v1.1.118

func (x *SemanticTags) GetVenueGatesOpenDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenueLocation added in v1.1.118

func (x *SemanticTags) GetVenueLocation() *SemanticLocation

func (*SemanticTags) GetVenueName added in v1.1.118

func (x *SemanticTags) GetVenueName() string

func (*SemanticTags) GetVenueParkingLotsOpenDate added in v1.1.118

func (x *SemanticTags) GetVenueParkingLotsOpenDate() *timestamppb.Timestamp

func (*SemanticTags) GetVenuePhoneNumber added in v1.1.118

func (x *SemanticTags) GetVenuePhoneNumber() string

func (*SemanticTags) GetVenueRegionName added in v1.1.118

func (x *SemanticTags) GetVenueRegionName() string

func (*SemanticTags) GetVenueRoom added in v1.1.118

func (x *SemanticTags) GetVenueRoom() string

func (*SemanticTags) GetWifiAccess added in v1.1.118

func (x *SemanticTags) GetWifiAccess() []*SemanticWifiNetwork

func (*SemanticTags) ProtoMessage added in v1.1.118

func (*SemanticTags) ProtoMessage()

func (*SemanticTags) ProtoReflect added in v1.1.118

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

func (*SemanticTags) Reset added in v1.1.118

func (x *SemanticTags) Reset()

func (*SemanticTags) String added in v1.1.118

func (x *SemanticTags) String() string

type SemanticWifiNetwork added in v1.1.118

type SemanticWifiNetwork struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	Ssid     string `protobuf:"bytes,2,opt,name=ssid,proto3" json:"ssid,omitempty"`
	// contains filtered or unexported fields
}

Represents a WiFi network’s SSID and password.

func (*SemanticWifiNetwork) Descriptor deprecated added in v1.1.118

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

Deprecated: Use SemanticWifiNetwork.ProtoReflect.Descriptor instead.

func (*SemanticWifiNetwork) GetPassword added in v1.1.118

func (x *SemanticWifiNetwork) GetPassword() string

func (*SemanticWifiNetwork) GetSsid added in v1.1.118

func (x *SemanticWifiNetwork) GetSsid() string

func (*SemanticWifiNetwork) ProtoMessage added in v1.1.118

func (*SemanticWifiNetwork) ProtoMessage()

func (*SemanticWifiNetwork) ProtoReflect added in v1.1.118

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

func (*SemanticWifiNetwork) Reset added in v1.1.118

func (x *SemanticWifiNetwork) Reset()

func (*SemanticWifiNetwork) String added in v1.1.118

func (x *SemanticWifiNetwork) String() string

type SendMessageRequest

type SendMessageRequest struct {

	// The ID of the message to send.
	MessageId string `protobuf:"bytes,1,opt,name=messageId,proto3" json:"messageId,omitempty"`
	// Target recipients: either a list of pass IDs or all passes within a protocol.
	//
	// Types that are valid to be assigned to Target:
	//
	//	*SendMessageRequest_PassIds
	//	*SendMessageRequest_Protocol
	Target isSendMessageRequest_Target `protobuf_oneof:"target"`
	// contains filtered or unexported fields
}

Request to send a message to specific passes or a whole protocol.

func (*SendMessageRequest) Descriptor deprecated

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

Deprecated: Use SendMessageRequest.ProtoReflect.Descriptor instead.

func (*SendMessageRequest) GetMessageId

func (x *SendMessageRequest) GetMessageId() string

func (*SendMessageRequest) GetPassIds

func (x *SendMessageRequest) GetPassIds() *PassIds

func (*SendMessageRequest) GetProtocol

func (x *SendMessageRequest) GetProtocol() *Protocol

func (*SendMessageRequest) GetTarget

func (x *SendMessageRequest) GetTarget() isSendMessageRequest_Target

func (*SendMessageRequest) ProtoMessage

func (*SendMessageRequest) ProtoMessage()

func (*SendMessageRequest) ProtoReflect

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

func (*SendMessageRequest) Reset

func (x *SendMessageRequest) Reset()

func (*SendMessageRequest) String

func (x *SendMessageRequest) String() string

type SendMessageRequest_PassIds

type SendMessageRequest_PassIds struct {
	PassIds *PassIds `protobuf:"bytes,2,opt,name=passIds,proto3,oneof"`
}

type SendMessageRequest_Protocol

type SendMessageRequest_Protocol struct {
	Protocol *Protocol `protobuf:"bytes,3,opt,name=protocol,proto3,oneof"`
}

type SendMessageResponse

type SendMessageResponse struct {

	// The number of recipients the message was sent to.
	Count int32 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"`
	// contains filtered or unexported fields
}

Response after sending a message.

func (*SendMessageResponse) Descriptor deprecated

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

Deprecated: Use SendMessageResponse.ProtoReflect.Descriptor instead.

func (*SendMessageResponse) GetCount

func (x *SendMessageResponse) GetCount() int32

func (*SendMessageResponse) ProtoMessage

func (*SendMessageResponse) ProtoMessage()

func (*SendMessageResponse) ProtoReflect

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

func (*SendMessageResponse) Reset

func (x *SendMessageResponse) Reset()

func (*SendMessageResponse) String

func (x *SendMessageResponse) String() string

type Sharing

type Sharing struct {

	// If not disabled will show the 'Share Pass' button on the back of an Apple Wallet pass. Setting a url and description will redirect sharing to a URL (such as a sign-up or info url) instead of sharing the pass.
	ProhibitSharing bool `protobuf:"varint,1,opt,name=prohibitSharing,proto3" json:"prohibitSharing,omitempty"`
	// If provided will allow for a custom share URL to be triggered from 'Share Pass' butto.
	Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// If provided will allow for a custom description text to be inserted in the sharing message.
	Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
	// Sharing description in localized language.
	LocalizedDescription *LocalizedString `protobuf:"bytes,4,opt,name=localizedDescription,proto3" json:"localizedDescription,omitempty"`
	// contains filtered or unexported fields
}

Controls the sharing settings for the program. Sharing settings only apply to Apple Wallet.

func (*Sharing) Descriptor deprecated

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

Deprecated: Use Sharing.ProtoReflect.Descriptor instead.

func (*Sharing) GetDescription

func (x *Sharing) GetDescription() string

func (*Sharing) GetLocalizedDescription

func (x *Sharing) GetLocalizedDescription() *LocalizedString

func (*Sharing) GetProhibitSharing

func (x *Sharing) GetProhibitSharing() bool

func (*Sharing) GetUrl

func (x *Sharing) GetUrl() string

func (*Sharing) ProtoMessage

func (*Sharing) ProtoMessage()

func (*Sharing) ProtoReflect

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

func (*Sharing) Reset

func (x *Sharing) Reset()

func (*Sharing) String

func (x *Sharing) String() string

type SinkSubscription

type SinkSubscription struct {

	// The uuid for the sink subscription config.
	// @tag: validateGeneric:"required" validateCreate:"-" validateUpdate:"required"
	Id string `` /* 129-byte string literal not displayed */
	// The uuid for the class object.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// The protocol of class object which owns this sink subscription.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 170-byte string literal not displayed */
	// Identifies pass event type you are subscribing to.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	PassEventId []PassEventId `` /* 185-byte string literal not displayed */
	// Status of the integration.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	Status IntegrationStatus `` /* 174-byte string literal not displayed */
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ConfigType ConfigurationType `` /* 179-byte string literal not displayed */
	// Configuration details for the integration.
	Configuration string `protobuf:"bytes,7,opt,name=configuration,proto3" json:"configuration,omitempty"`
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	CreatedAt *timestamppb.Timestamp `` /* 153-byte string literal not displayed */
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	UpdatedAt *timestamppb.Timestamp `` /* 153-byte string literal not displayed */
	// Identifies protocol specific event type you are subscribing to.
	//
	// Types that are valid to be assigned to ProtocolEventId:
	//
	//	*SinkSubscription_MembershipEvents
	//	*SinkSubscription_CouponEvents
	ProtocolEventId isSinkSubscription_ProtocolEventId `protobuf_oneof:"protocolEventId"`
	// contains filtered or unexported fields
}

Defines a sink subscription which is triggered after internal PassKit processes complete.

func (*SinkSubscription) Descriptor deprecated

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

Deprecated: Use SinkSubscription.ProtoReflect.Descriptor instead.

func (*SinkSubscription) GetClassId

func (x *SinkSubscription) GetClassId() string

func (*SinkSubscription) GetConfigType

func (x *SinkSubscription) GetConfigType() ConfigurationType

func (*SinkSubscription) GetConfiguration

func (x *SinkSubscription) GetConfiguration() string

func (*SinkSubscription) GetCouponEvents

func (x *SinkSubscription) GetCouponEvents() *CouponEventIds

func (*SinkSubscription) GetCreatedAt

func (x *SinkSubscription) GetCreatedAt() *timestamppb.Timestamp

func (*SinkSubscription) GetId

func (x *SinkSubscription) GetId() string

func (*SinkSubscription) GetMembershipEvents

func (x *SinkSubscription) GetMembershipEvents() *MembershipEventIds

func (*SinkSubscription) GetPassEventId

func (x *SinkSubscription) GetPassEventId() []PassEventId

func (*SinkSubscription) GetProtocol

func (x *SinkSubscription) GetProtocol() PassProtocol

func (*SinkSubscription) GetProtocolEventId

func (x *SinkSubscription) GetProtocolEventId() isSinkSubscription_ProtocolEventId

func (*SinkSubscription) GetStatus

func (x *SinkSubscription) GetStatus() IntegrationStatus

func (*SinkSubscription) GetUpdatedAt

func (x *SinkSubscription) GetUpdatedAt() *timestamppb.Timestamp

func (*SinkSubscription) ProtoMessage

func (*SinkSubscription) ProtoMessage()

func (*SinkSubscription) ProtoReflect

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

func (*SinkSubscription) Reset

func (x *SinkSubscription) Reset()

func (*SinkSubscription) String

func (x *SinkSubscription) String() string

type SinkSubscriptionPayload

type SinkSubscriptionPayload struct {

	// PassEventId enum string to identify trigger event type
	Event string `protobuf:"bytes,1,opt,name=event,proto3" json:"event,omitempty"`
	Pass  *Pass  `protobuf:"bytes,2,opt,name=pass,proto3" json:"pass,omitempty"`
	// contains filtered or unexported fields
}

Payload sent when a sink subscription event is triggered.

func (*SinkSubscriptionPayload) Descriptor deprecated

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

Deprecated: Use SinkSubscriptionPayload.ProtoReflect.Descriptor instead.

func (*SinkSubscriptionPayload) GetEvent

func (x *SinkSubscriptionPayload) GetEvent() string

func (*SinkSubscriptionPayload) GetPass

func (x *SinkSubscriptionPayload) GetPass() *Pass

func (*SinkSubscriptionPayload) ProtoMessage

func (*SinkSubscriptionPayload) ProtoMessage()

func (*SinkSubscriptionPayload) ProtoReflect

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

func (*SinkSubscriptionPayload) Reset

func (x *SinkSubscriptionPayload) Reset()

func (*SinkSubscriptionPayload) String

func (x *SinkSubscriptionPayload) String() string

type SinkSubscription_CouponEvents

type SinkSubscription_CouponEvents struct {
	// For coupon protocol subscription.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	CouponEvents *CouponEventIds `` /* 136-byte string literal not displayed */
}

type SinkSubscription_MembershipEvents

type SinkSubscription_MembershipEvents struct {
	// For membership protocol subscription.
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	MembershipEvents *MembershipEventIds `` /* 140-byte string literal not displayed */
}

type SmartPassCsvUploadRequest

type SmartPassCsvUploadRequest struct {

	// Url used to prefix the smartpass link. Also includes the short code needed to lookup the parent project.
	// @tag: validateCreate:"required"
	DistributionUrl string `protobuf:"bytes,1,opt,name=distributionUrl,proto3" json:"distributionUrl,omitempty" validateCreate:"required"`
	// Raw CSV data containing personalisation fields.
	// @tag: validateCreate:"required"
	CsvContent string `protobuf:"bytes,2,opt,name=csvContent,proto3" json:"csvContent,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

Upload a CSV file for bulk SmartPass link generation.

func (*SmartPassCsvUploadRequest) Descriptor deprecated

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

Deprecated: Use SmartPassCsvUploadRequest.ProtoReflect.Descriptor instead.

func (*SmartPassCsvUploadRequest) GetCsvContent

func (x *SmartPassCsvUploadRequest) GetCsvContent() string

func (*SmartPassCsvUploadRequest) GetDistributionUrl

func (x *SmartPassCsvUploadRequest) GetDistributionUrl() string

func (*SmartPassCsvUploadRequest) ProtoMessage

func (*SmartPassCsvUploadRequest) ProtoMessage()

func (*SmartPassCsvUploadRequest) ProtoReflect

func (*SmartPassCsvUploadRequest) Reset

func (x *SmartPassCsvUploadRequest) Reset()

func (*SmartPassCsvUploadRequest) String

func (x *SmartPassCsvUploadRequest) String() string

type SmartPassLinkRequest

type SmartPassLinkRequest struct {

	// The PassKit URL used to generate the link; found under your SmartPass link settings in the Portal: https://github.com/PassKit/smart-pass-link-from-csv-generator#how-to-use
	// @tag: validateCreate:"required"
	ProjectDistributionUrl *Url `protobuf:"bytes,1,opt,name=projectDistributionUrl,proto3" json:"projectDistributionUrl,omitempty" validateCreate:"required"`
	// The fields for data to go into your SmartPass link: https://github.com/PassKit/smart-pass-link-from-csv-generator#available-field-names
	// @tag: validateCreate:"required,min=1"
	Fields map[string]string `` /* 171-byte string literal not displayed */
	// contains filtered or unexported fields
}

Used to generate SmartPass links via a project distribution URL.

func (*SmartPassLinkRequest) Descriptor deprecated

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

Deprecated: Use SmartPassLinkRequest.ProtoReflect.Descriptor instead.

func (*SmartPassLinkRequest) GetFields

func (x *SmartPassLinkRequest) GetFields() map[string]string

func (*SmartPassLinkRequest) GetProjectDistributionUrl

func (x *SmartPassLinkRequest) GetProjectDistributionUrl() *Url

func (*SmartPassLinkRequest) ProtoMessage

func (*SmartPassLinkRequest) ProtoMessage()

func (*SmartPassLinkRequest) ProtoReflect

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

func (*SmartPassLinkRequest) Reset

func (x *SmartPassLinkRequest) Reset()

func (*SmartPassLinkRequest) String

func (x *SmartPassLinkRequest) String() string

type SmsTemplate

type SmsTemplate struct {

	// content of the SMS; needs to be limited to 70 unicode characters. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"`
	// localized content of the SMS; needs to be limited to 70 unicode characters. Can contain any of the fields from fields array: ${DISPLAY_NAME}, ${EMAIL_ADDRESS}, etc.
	LocalizedContent *LocalizedString `protobuf:"bytes,2,opt,name=localizedContent,proto3" json:"localizedContent,omitempty"`
	// contains filtered or unexported fields
}

SMS contains details for a sending an sms to customers. Uses the default PassKit SMS provider and sending credentials.

func (*SmsTemplate) Descriptor deprecated

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

Deprecated: Use SmsTemplate.ProtoReflect.Descriptor instead.

func (*SmsTemplate) GetContent

func (x *SmsTemplate) GetContent() string

func (*SmsTemplate) GetLocalizedContent

func (x *SmsTemplate) GetLocalizedContent() *LocalizedString

func (*SmsTemplate) ProtoMessage

func (*SmsTemplate) ProtoMessage()

func (*SmsTemplate) ProtoReflect

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

func (*SmsTemplate) Reset

func (x *SmsTemplate) Reset()

func (*SmsTemplate) String

func (x *SmsTemplate) String() string

type StampImageConfig

type StampImageConfig struct {

	// @tag: validateCreate:"isdefault" validateUpdate:"required,uuidCompressedString"
	Id string `` /* 131-byte string literal not displayed */
	// @tag: validateGeneric:"omitempty,min=0,max=50"
	Padding float32 `protobuf:"fixed32,2,opt,name=padding,proto3" json:"padding,omitempty" validateGeneric:"omitempty,min=0,max=50"`
	// @tag: validateGeneric:"required,max=50"
	TotalStamps uint32 `protobuf:"varint,3,opt,name=totalStamps,proto3" json:"totalStamps,omitempty" validateGeneric:"required,max=50"`
	// @tag: validateGeneric:"required"
	StampImage string `protobuf:"bytes,4,opt,name=stampImage,proto3" json:"stampImage,omitempty" validateGeneric:"required"`
	// @tag: validateGeneric:"omitempty"
	UnstampImage string `protobuf:"bytes,5,opt,name=unstampImage,proto3" json:"unstampImage,omitempty" validateGeneric:"omitempty"`
	// @tag: validateGeneric:"required_without=BackgroundColor,omitempty"
	BackgroundImage string `` /* 144-byte string literal not displayed */
	// @tag: validateGeneric:"required_without=BackgroundImage,omitempty,hexcolor"
	BackgroundColor string `` /* 153-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=BackgroundColor,omitempty,min=0,max=1"
	BackgroundOpacity float32 `` /* 159-byte string literal not displayed */
	// @tag: validateGeneric:"required,hexcolor"
	StampColor string `protobuf:"bytes,9,opt,name=stampColor,proto3" json:"stampColor,omitempty" validateGeneric:"required,hexcolor"`
	// @tag: validateGeneric:"required,omitempty,min=0,max=1"
	StampOpacity float32 `` /* 129-byte string literal not displayed */
	// @tag: validateGeneric:"omitempty,hexcolor"
	UnstampColor string `protobuf:"bytes,11,opt,name=unstampColor,proto3" json:"unstampColor,omitempty" validateGeneric:"omitempty,hexcolor"`
	// @tag: validateGeneric:"required_with=unstampColor,omitempty,min=0,max=1"
	UnstampOpacity float32 `` /* 151-byte string literal not displayed */
	Placeholders   bool    `protobuf:"varint,13,opt,name=placeholders,proto3" json:"placeholders,omitempty"`
	// @tag: validateGeneric:"required_with=Placeholders,omitempty,hexcolor"
	PlaceholderColor string `` /* 150-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=PlaceholderColor,omitempty,min=0,max=1"
	PlaceholderOpacity float32 `` /* 163-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=Placeholders,omitempty,hexcolor"
	PlaceholderBorderColor string `` /* 162-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=PlaceholderBorderColor,omitempty,min=0,max=1"
	PlaceholderBorderOpacity float32 `` /* 181-byte string literal not displayed */
	RewardPlaceholders       bool    `protobuf:"varint,18,opt,name=rewardPlaceholders,proto3" json:"rewardPlaceholders,omitempty"`
	// @tag: validateGeneric:"required_with=RewardPlaceholders,omitempty,hexcolor"
	RewardBorderColor string `` /* 158-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=RewardBorderColor,omitempty,min=0,max=1"
	RewardBorderOpacity float32 `` /* 166-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=RewardPositions,omitempty,hexcolor"
	RewardBackgroundColor string `` /* 163-byte string literal not displayed */
	// @tag: validateGeneric:"required_with=RewardBackgroundColor,omitempty,min=0,max=1"
	RewardBackgroundOpacity float32 `` /* 178-byte string literal not displayed */
	// takes a bitmask of rewards positions.
	// @tag: validateGeneric:"omitempty"
	RewardPositions uint64 `protobuf:"varint,23,opt,name=rewardPositions,proto3" json:"rewardPositions,omitempty" validateGeneric:"omitempty"`
	// contains filtered or unexported fields
}

Configuration for rendering a stamp card image.

func (*StampImageConfig) Descriptor deprecated

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

Deprecated: Use StampImageConfig.ProtoReflect.Descriptor instead.

func (*StampImageConfig) GetBackgroundColor

func (x *StampImageConfig) GetBackgroundColor() string

func (*StampImageConfig) GetBackgroundImage

func (x *StampImageConfig) GetBackgroundImage() string

func (*StampImageConfig) GetBackgroundOpacity

func (x *StampImageConfig) GetBackgroundOpacity() float32

func (*StampImageConfig) GetId

func (x *StampImageConfig) GetId() string

func (*StampImageConfig) GetPadding

func (x *StampImageConfig) GetPadding() float32

func (*StampImageConfig) GetPlaceholderBorderColor

func (x *StampImageConfig) GetPlaceholderBorderColor() string

func (*StampImageConfig) GetPlaceholderBorderOpacity

func (x *StampImageConfig) GetPlaceholderBorderOpacity() float32

func (*StampImageConfig) GetPlaceholderColor

func (x *StampImageConfig) GetPlaceholderColor() string

func (*StampImageConfig) GetPlaceholderOpacity

func (x *StampImageConfig) GetPlaceholderOpacity() float32

func (*StampImageConfig) GetPlaceholders

func (x *StampImageConfig) GetPlaceholders() bool

func (*StampImageConfig) GetRewardBackgroundColor

func (x *StampImageConfig) GetRewardBackgroundColor() string

func (*StampImageConfig) GetRewardBackgroundOpacity

func (x *StampImageConfig) GetRewardBackgroundOpacity() float32

func (*StampImageConfig) GetRewardBorderColor

func (x *StampImageConfig) GetRewardBorderColor() string

func (*StampImageConfig) GetRewardBorderOpacity

func (x *StampImageConfig) GetRewardBorderOpacity() float32

func (*StampImageConfig) GetRewardPlaceholders

func (x *StampImageConfig) GetRewardPlaceholders() bool

func (*StampImageConfig) GetRewardPositions

func (x *StampImageConfig) GetRewardPositions() uint64

func (*StampImageConfig) GetStampColor

func (x *StampImageConfig) GetStampColor() string

func (*StampImageConfig) GetStampImage

func (x *StampImageConfig) GetStampImage() string

func (*StampImageConfig) GetStampOpacity

func (x *StampImageConfig) GetStampOpacity() float32

func (*StampImageConfig) GetTotalStamps

func (x *StampImageConfig) GetTotalStamps() uint32

func (*StampImageConfig) GetUnstampColor

func (x *StampImageConfig) GetUnstampColor() string

func (*StampImageConfig) GetUnstampImage

func (x *StampImageConfig) GetUnstampImage() string

func (*StampImageConfig) GetUnstampOpacity

func (x *StampImageConfig) GetUnstampOpacity() float32

func (*StampImageConfig) ProtoMessage

func (*StampImageConfig) ProtoMessage()

func (*StampImageConfig) ProtoReflect

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

func (*StampImageConfig) Reset

func (x *StampImageConfig) Reset()

func (*StampImageConfig) String

func (x *StampImageConfig) String() string

type StampImagePreview added in v1.1.97

type StampImagePreview struct {
	Preview string `protobuf:"bytes,1,opt,name=preview,proto3" json:"preview,omitempty"`
	// contains filtered or unexported fields
}

A string-encoded preview of the rendered stamp image.

func (*StampImagePreview) Descriptor deprecated added in v1.1.97

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

Deprecated: Use StampImagePreview.ProtoReflect.Descriptor instead.

func (*StampImagePreview) GetPreview added in v1.1.97

func (x *StampImagePreview) GetPreview() string

func (*StampImagePreview) ProtoMessage added in v1.1.97

func (*StampImagePreview) ProtoMessage()

func (*StampImagePreview) ProtoReflect added in v1.1.97

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

func (*StampImagePreview) Reset added in v1.1.97

func (x *StampImagePreview) Reset()

func (*StampImagePreview) String added in v1.1.97

func (x *StampImagePreview) String() string

type StampImagePreviewRequest added in v1.1.97

type StampImagePreviewRequest struct {

	// @tag: validateGeneric:"required"
	StampImageConfig *StampImageConfig `protobuf:"bytes,1,opt,name=stampImageConfig,proto3" json:"stampImageConfig,omitempty" validateGeneric:"required"`
	// a bitmask indicating the stamped status (E.g. a value of 22 indicates stamps 2, 3 and 5 are stamped).
	Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Request to preview the stamp card design based on configuration and state.

func (*StampImagePreviewRequest) Descriptor deprecated added in v1.1.97

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

Deprecated: Use StampImagePreviewRequest.ProtoReflect.Descriptor instead.

func (*StampImagePreviewRequest) GetStampImageConfig added in v1.1.97

func (x *StampImagePreviewRequest) GetStampImageConfig() *StampImageConfig

func (*StampImagePreviewRequest) GetStatus added in v1.1.97

func (x *StampImagePreviewRequest) GetStatus() uint64

func (*StampImagePreviewRequest) ProtoMessage added in v1.1.97

func (*StampImagePreviewRequest) ProtoMessage()

func (*StampImagePreviewRequest) ProtoReflect added in v1.1.97

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

func (*StampImagePreviewRequest) Reset added in v1.1.97

func (x *StampImagePreviewRequest) Reset()

func (*StampImagePreviewRequest) String added in v1.1.97

func (x *StampImagePreviewRequest) String() string

type StampImageRequest

type StampImageRequest struct {

	// PassKit Image Id.
	// @tag: validateGeneric:"required,uuidCompressedString"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateGeneric:"required,uuidCompressedString"`
	// a bitmask indicating the stamped status (E.g. a value of 22 indicates stamps 2, 3 and 5 are stamped).
	Status uint64 `protobuf:"varint,2,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

Used to generate a stamp preview for a given image ID and status bitmask.

func (*StampImageRequest) Descriptor deprecated

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

Deprecated: Use StampImageRequest.ProtoReflect.Descriptor instead.

func (*StampImageRequest) GetId

func (x *StampImageRequest) GetId() string

func (*StampImageRequest) GetStatus

func (x *StampImageRequest) GetStatus() uint64

func (*StampImageRequest) ProtoMessage

func (*StampImageRequest) ProtoMessage()

func (*StampImageRequest) ProtoReflect

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

func (*StampImageRequest) Reset

func (x *StampImageRequest) Reset()

func (*StampImageRequest) String

func (x *StampImageRequest) String() string

type StandardEvent

type StandardEvent struct {

	// Standard event
	// @tag: validateGeneric:"omitempty" validateCreate:"required" validateUpdate:"required"
	Event FbPixelStandardEvent `` /* 173-byte string literal not displayed */
	// Optional event properties
	// @tag: validateGeneric:"omitempty,json" validateCreate:"omitempty,json" validateUpdate:"omitempty,json"
	Properties string `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

Represents a standard Facebook Pixel event.

func (*StandardEvent) Descriptor deprecated

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

Deprecated: Use StandardEvent.ProtoReflect.Descriptor instead.

func (*StandardEvent) GetEvent

func (x *StandardEvent) GetEvent() FbPixelStandardEvent

func (*StandardEvent) GetProperties

func (x *StandardEvent) GetProperties() string

func (*StandardEvent) ProtoMessage

func (*StandardEvent) ProtoMessage()

func (*StandardEvent) ProtoReflect

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

func (*StandardEvent) Reset

func (x *StandardEvent) Reset()

func (*StandardEvent) String

func (x *StandardEvent) String() string

type StandardFields

type StandardFields int32

Enum defining standard fields that can be included in the pass.

const (
	StandardFields_STANDARD_FIELDS_DO_NOT_USE StandardFields = 0
	// Used to include standard message fields.
	StandardFields_STANDARD_MESSAGES StandardFields = 1
	// Used to include standard legal text.
	StandardFields_STANDARD_LEGAL StandardFields = 2
	// Used to include the standard expiry date field.
	StandardFields_STANDARD_EXPIRY_DATE StandardFields = 3
	// Used to include standard useful links.
	StandardFields_STANDARD_USEFUL_LINKS StandardFields = 4
	// Used to include an opt-out checkbox or section.
	StandardFields_STANDARD_OPT_OUT StandardFields = 5
	// Used to include standard locations on the pass.
	StandardFields_STANDARD_LOCATIONS StandardFields = 6
)

func (StandardFields) Descriptor

func (StandardFields) Enum

func (x StandardFields) Enum() *StandardFields

func (StandardFields) EnumDescriptor deprecated

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

Deprecated: Use StandardFields.Descriptor instead.

func (StandardFields) Number

func (StandardFields) String

func (x StandardFields) String() string

func (StandardFields) Type

type Status

type Status int32

Status is the best determined status of the pass.

const (
	// Pass has been issued.
	Status_PASS_ISSUED Status = 0
	// Pass has been installed in a wallet.
	Status_PASS_INSTALLED Status = 1
	// Pass has been uninstalled (possibly deleted) from a wallet.
	Status_PASS_UNINSTALLED Status = 2
	// Pass has been invalidated.
	Status_PASS_INVALIDATED Status = 3
)

func (Status) Descriptor

func (Status) Descriptor() protoreflect.EnumDescriptor

func (Status) Enum

func (x Status) Enum() *Status

func (Status) EnumDescriptor deprecated

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

Deprecated: Use Status.Descriptor instead.

func (Status) Number

func (x Status) Number() protoreflect.EnumNumber

func (Status) String

func (x Status) String() string

func (Status) Type

func (Status) Type() protoreflect.EnumType

type Strings

type Strings struct {
	Response []string `protobuf:"bytes,1,rep,name=response,proto3" json:"response,omitempty"`
	// contains filtered or unexported fields
}

Wrapper for a repeated string response. Useful for flexible or generic outputs.

func (*Strings) Descriptor deprecated

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

Deprecated: Use Strings.ProtoReflect.Descriptor instead.

func (*Strings) GetResponse

func (x *Strings) GetResponse() []string

func (*Strings) ProtoMessage

func (*Strings) ProtoMessage()

func (*Strings) ProtoReflect

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

func (*Strings) Reset

func (x *Strings) Reset()

func (*Strings) String

func (x *Strings) String() string

type SubscriptionRequest

type SubscriptionRequest struct {

	// The protocol which the class object belongs to.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 144-byte string literal not displayed */
	// The class object Id which integration belongs to.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	SubscriptionId string `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Message to identify a subscription using the protocol and subscription ID.

func (*SubscriptionRequest) Descriptor deprecated

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

Deprecated: Use SubscriptionRequest.ProtoReflect.Descriptor instead.

func (*SubscriptionRequest) GetProtocol

func (x *SubscriptionRequest) GetProtocol() PassProtocol

func (*SubscriptionRequest) GetSubscriptionId

func (x *SubscriptionRequest) GetSubscriptionId() string

func (*SubscriptionRequest) ProtoMessage

func (*SubscriptionRequest) ProtoMessage()

func (*SubscriptionRequest) ProtoReflect

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

func (*SubscriptionRequest) Reset

func (x *SubscriptionRequest) Reset()

func (*SubscriptionRequest) String

func (x *SubscriptionRequest) String() string

type SubscriptionRequestByClassId

type SubscriptionRequestByClassId struct {

	// The protocol which the class object belongs to.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	Protocol PassProtocol `` /* 144-byte string literal not displayed */
	// The uuid for the class object. For Membership it is ProgramId, Coupon is CampaignId, Flight is FlightId.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	ClassId string `` /* 146-byte string literal not displayed */
	// @tag: validateGeneric:"required" validateUpdate:"required"
	ConfigType ConfigurationType `` /* 153-byte string literal not displayed */
	// Identifies protocol specific event type.
	// @tag: validateGeneric:"required" validateUpdate:"required"
	//
	// Types that are valid to be assigned to EventId:
	//
	//	*SubscriptionRequestByClassId_PassEventId
	//	*SubscriptionRequestByClassId_MembershipEventId
	//	*SubscriptionRequestByClassId_CouponEventId
	EventId isSubscriptionRequestByClassId_EventId `protobuf_oneof:"eventId" validateGeneric:"required" validateUpdate:"required"`
	// contains filtered or unexported fields
}

Message for creating or updating a webhook subscription using a class ID and event type.

func (*SubscriptionRequestByClassId) Descriptor deprecated

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

Deprecated: Use SubscriptionRequestByClassId.ProtoReflect.Descriptor instead.

func (*SubscriptionRequestByClassId) GetClassId

func (x *SubscriptionRequestByClassId) GetClassId() string

func (*SubscriptionRequestByClassId) GetConfigType

func (*SubscriptionRequestByClassId) GetCouponEventId

func (x *SubscriptionRequestByClassId) GetCouponEventId() CouponEventId

func (*SubscriptionRequestByClassId) GetEventId

func (x *SubscriptionRequestByClassId) GetEventId() isSubscriptionRequestByClassId_EventId

func (*SubscriptionRequestByClassId) GetMembershipEventId

func (x *SubscriptionRequestByClassId) GetMembershipEventId() MembershipEventId

func (*SubscriptionRequestByClassId) GetPassEventId

func (x *SubscriptionRequestByClassId) GetPassEventId() PassEventId

func (*SubscriptionRequestByClassId) GetProtocol

func (x *SubscriptionRequestByClassId) GetProtocol() PassProtocol

func (*SubscriptionRequestByClassId) ProtoMessage

func (*SubscriptionRequestByClassId) ProtoMessage()

func (*SubscriptionRequestByClassId) ProtoReflect

func (*SubscriptionRequestByClassId) Reset

func (x *SubscriptionRequestByClassId) Reset()

func (*SubscriptionRequestByClassId) String

type SubscriptionRequestByClassId_CouponEventId

type SubscriptionRequestByClassId_CouponEventId struct {
	// For coupon protocol subscription.
	// @tag: validateGeneric:"omitempty" validateUpdate:"omitempty"
	CouponEventId CouponEventId `` /* 132-byte string literal not displayed */
}

type SubscriptionRequestByClassId_MembershipEventId

type SubscriptionRequestByClassId_MembershipEventId struct {
	// For membership protocol subscription.
	// @tag: validateGeneric:"omitempty" validateUpdate:"omitempty"
	MembershipEventId MembershipEventId `` /* 140-byte string literal not displayed */
}

type SubscriptionRequestByClassId_PassEventId

type SubscriptionRequestByClassId_PassEventId struct {
	// Identifies pass event type.
	// @tag: validateGeneric:"omitempty" validateUpdate:"omitempty"
	PassEventId PassEventId `` /* 128-byte string literal not displayed */
}

type SupportedAndroidWallet

type SupportedAndroidWallet int32

Enum defining supported Android wallets for rendering passes.

const (
	// Defaults to WalletPasses if unspecified.
	SupportedAndroidWallet_ANDROID_WALLET_DO_NOT_USE SupportedAndroidWallet = 0
	// Android PassWallet (https://passwallet.net)
	SupportedAndroidWallet_ANDROID_WALLET_PASSWALLET SupportedAndroidWallet = 1
	// WalletPasses (https://walletpasses.io)
	SupportedAndroidWallet_ANDROID_WALLET_WALLETPASSES SupportedAndroidWallet = 2
)

func (SupportedAndroidWallet) Descriptor

func (SupportedAndroidWallet) Enum

func (SupportedAndroidWallet) EnumDescriptor deprecated

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

Deprecated: Use SupportedAndroidWallet.Descriptor instead.

func (SupportedAndroidWallet) Number

func (SupportedAndroidWallet) String

func (x SupportedAndroidWallet) String() string

func (SupportedAndroidWallet) Type

type TLSCertificateData

type TLSCertificateData struct {

	// Unique identifier for the TLS certificate.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Common name (CN) from the certificate.
	CommonName string `protobuf:"bytes,2,opt,name=commonName,proto3" json:"commonName,omitempty"`
	// Serial number of the certificate.
	SerialNumber string `protobuf:"bytes,3,opt,name=serialNumber,proto3" json:"serialNumber,omitempty"`
	// Start date of certificate validity.
	ValidFrom *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=validFrom,proto3" json:"validFrom,omitempty"`
	// End date of certificate validity.
	ValidTo *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=validTo,proto3" json:"validTo,omitempty"`
	// Certificate modulus.
	Modulus string `protobuf:"bytes,6,opt,name=modulus,proto3" json:"modulus,omitempty"`
	// Subject Alternative Names (SANs) included in the certificate.
	SubjectAlternativeNames []string `protobuf:"bytes,7,rep,name=subjectAlternativeNames,proto3" json:"subjectAlternativeNames,omitempty"`
	// Username of the certificate owner.
	OwnerUsername string `protobuf:"bytes,8,opt,name=ownerUsername,proto3" json:"ownerUsername,omitempty"`
	// contains filtered or unexported fields
}

Metadata associated with a TLS certificate.

func (*TLSCertificateData) Descriptor deprecated

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

Deprecated: Use TLSCertificateData.ProtoReflect.Descriptor instead.

func (*TLSCertificateData) GetCommonName

func (x *TLSCertificateData) GetCommonName() string

func (*TLSCertificateData) GetId

func (x *TLSCertificateData) GetId() string

func (*TLSCertificateData) GetModulus

func (x *TLSCertificateData) GetModulus() string

func (*TLSCertificateData) GetOwnerUsername

func (x *TLSCertificateData) GetOwnerUsername() string

func (*TLSCertificateData) GetSerialNumber

func (x *TLSCertificateData) GetSerialNumber() string

func (*TLSCertificateData) GetSubjectAlternativeNames

func (x *TLSCertificateData) GetSubjectAlternativeNames() []string

func (*TLSCertificateData) GetValidFrom

func (x *TLSCertificateData) GetValidFrom() *timestamppb.Timestamp

func (*TLSCertificateData) GetValidTo

func (x *TLSCertificateData) GetValidTo() *timestamppb.Timestamp

func (*TLSCertificateData) ProtoMessage

func (*TLSCertificateData) ProtoMessage()

func (*TLSCertificateData) ProtoReflect

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

func (*TLSCertificateData) Reset

func (x *TLSCertificateData) Reset()

func (*TLSCertificateData) String

func (x *TLSCertificateData) String() string

type TLSCertificateRequest

type TLSCertificateRequest struct {

	// PEM-encoded TLS certificate.
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"`
	// PEM-encoded certificate authority chain.
	CaChain []byte `protobuf:"bytes,2,opt,name=caChain,proto3" json:"caChain,omitempty"`
	// PEM-encoded private key associated with the certificate.
	PrivateKey []byte `protobuf:"bytes,3,opt,name=privateKey,proto3" json:"privateKey,omitempty"`
	// contains filtered or unexported fields
}

Request payload for uploading a TLS certificate.

func (*TLSCertificateRequest) Descriptor deprecated

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

Deprecated: Use TLSCertificateRequest.ProtoReflect.Descriptor instead.

func (*TLSCertificateRequest) GetCaChain

func (x *TLSCertificateRequest) GetCaChain() []byte

func (*TLSCertificateRequest) GetCertificate

func (x *TLSCertificateRequest) GetCertificate() []byte

func (*TLSCertificateRequest) GetPrivateKey

func (x *TLSCertificateRequest) GetPrivateKey() []byte

func (*TLSCertificateRequest) ProtoMessage

func (*TLSCertificateRequest) ProtoMessage()

func (*TLSCertificateRequest) ProtoReflect

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

func (*TLSCertificateRequest) Reset

func (x *TLSCertificateRequest) Reset()

func (*TLSCertificateRequest) String

func (x *TLSCertificateRequest) String() string

type TOPTParameters added in v1.1.70

type TOPTParameters struct {

	// The key used to generate the TOPT, provided as a Base16 string
	// @tag: validateCreate:"hexadecimal,len=40,required" validateUpdate:"hexadecimal,len=40,required"
	Key string `` /* 149-byte string literal not displayed */
	// Time in milliseconds between key generation.
	// @tag: validateCreate:"numeric,required" validateUpdate:"numeric,required"
	Milliseconds uint32 `` /* 146-byte string literal not displayed */
	// String to encode in the barcode. The string {{timestamp}} will be replaced with the timestamp of the code and {{totp}} will be replaced by the TOTP value.  E.g. `${pid}-myCustomText-{{timestamp}}-{{totp}}`
	// @tag: validateCreate:"required" validateUpdate:"required"
	ValueString string `` /* 127-byte string literal not displayed */
	// NUmber of digits for the OTP
	// @tag: validateCreate:"numeric,required" validateUpdate:"numeric,required"
	Digits uint32 `` /* 134-byte string literal not displayed */
	// contains filtered or unexported fields
}

Parameters for configuring Time-based One-Time Password (TOTP) used in rotating barcodes.

func (*TOPTParameters) Descriptor deprecated added in v1.1.70

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

Deprecated: Use TOPTParameters.ProtoReflect.Descriptor instead.

func (*TOPTParameters) GetDigits added in v1.1.70

func (x *TOPTParameters) GetDigits() uint32

func (*TOPTParameters) GetKey added in v1.1.70

func (x *TOPTParameters) GetKey() string

func (*TOPTParameters) GetMilliseconds added in v1.1.70

func (x *TOPTParameters) GetMilliseconds() uint32

func (*TOPTParameters) GetValueString added in v1.1.70

func (x *TOPTParameters) GetValueString() string

func (*TOPTParameters) ProtoMessage added in v1.1.70

func (*TOPTParameters) ProtoMessage()

func (*TOPTParameters) ProtoReflect added in v1.1.70

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

func (*TOPTParameters) Reset added in v1.1.70

func (x *TOPTParameters) Reset()

func (*TOPTParameters) String added in v1.1.70

func (x *TOPTParameters) String() string

type TeamMemberPermissions added in v1.1.118

type TeamMemberPermissions struct {

	// @tag: validateCreate:"isdefault" validateUpdate:"required"
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" validateCreate:"isdefault" validateUpdate:"required"`
	// @tag: validateGeneric:"required"
	UserId string `protobuf:"bytes,2,opt,name=userId,proto3" json:"userId,omitempty" validateGeneric:"required"`
	// @tag: validateCreate:"required"
	PermissionScope PermissionScope `` /* 134-byte string literal not displayed */
	// @tag: validateCreate:"required"
	Status              TeamMemberStatus     `protobuf:"varint,4,opt,name=status,proto3,enum=io.TeamMemberStatus" json:"status,omitempty" validateCreate:"required"`
	ResourcePermissions *ResourcePermissions `protobuf:"bytes,5,opt,name=resourcePermissions,proto3" json:"resourcePermissions,omitempty"`
	// @tag: validateCreate:"isdefault" validateUpdate:"isdefault"
	Created *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=created,proto3" json:"created,omitempty" validateCreate:"isdefault" validateUpdate:"isdefault"`
	// @tag: validateCreate:"isdefault"
	Updated *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=updated,proto3" json:"updated,omitempty" validateCreate:"isdefault"`
	// contains filtered or unexported fields
}

func (*TeamMemberPermissions) Descriptor deprecated added in v1.1.118

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

Deprecated: Use TeamMemberPermissions.ProtoReflect.Descriptor instead.

func (*TeamMemberPermissions) GetCreated added in v1.1.118

func (x *TeamMemberPermissions) GetCreated() *timestamppb.Timestamp

func (*TeamMemberPermissions) GetId added in v1.1.118

func (x *TeamMemberPermissions) GetId() string

func (*TeamMemberPermissions) GetPermissionScope added in v1.1.118

func (x *TeamMemberPermissions) GetPermissionScope() PermissionScope

func (*TeamMemberPermissions) GetResourcePermissions added in v1.1.118

func (x *TeamMemberPermissions) GetResourcePermissions() *ResourcePermissions

func (*TeamMemberPermissions) GetStatus added in v1.1.118

func (x *TeamMemberPermissions) GetStatus() TeamMemberStatus

func (*TeamMemberPermissions) GetUpdated added in v1.1.118

func (x *TeamMemberPermissions) GetUpdated() *timestamppb.Timestamp

func (*TeamMemberPermissions) GetUserId added in v1.1.118

func (x *TeamMemberPermissions) GetUserId() string

func (*TeamMemberPermissions) ProtoMessage added in v1.1.118

func (*TeamMemberPermissions) ProtoMessage()

func (*TeamMemberPermissions) ProtoReflect added in v1.1.118

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

func (*TeamMemberPermissions) Reset added in v1.1.118

func (x *TeamMemberPermissions) Reset()

func (*TeamMemberPermissions) String added in v1.1.118

func (x *TeamMemberPermissions) String() string

type TeamMemberStatus added in v1.1.118

type TeamMemberStatus int32
const (
	// Zero based enum, don't use 0.
	TeamMemberStatus_STATUS_NONE          TeamMemberStatus = 0
	TeamMemberStatus_TEAM_MEMBER_ACTIVE   TeamMemberStatus = 1
	TeamMemberStatus_TEAM_MEMBER_DISABLED TeamMemberStatus = 2
	TeamMemberStatus_TEAM_MEMBER_EXPIRED  TeamMemberStatus = 4
	TeamMemberStatus_TEAM_MEMBER_PENDING  TeamMemberStatus = 8
)

func (TeamMemberStatus) Descriptor added in v1.1.118

func (TeamMemberStatus) Enum added in v1.1.118

func (TeamMemberStatus) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use TeamMemberStatus.Descriptor instead.

func (TeamMemberStatus) Number added in v1.1.118

func (TeamMemberStatus) String added in v1.1.118

func (x TeamMemberStatus) String() string

func (TeamMemberStatus) Type added in v1.1.118

type TemplatesClient

type TemplatesClient interface {
	// Creates a new pass template record. Required Fields: protocol, revision, name, colors, fields
	CreateTemplate(ctx context.Context, in *PassTemplate, opts ...grpc.CallOption) (*Id, error)
	// Updates an existing pass template. Required Fields: id
	UpdateTemplate(ctx context.Context, in *PassTemplate, opts ...grpc.CallOption) (*PassTemplate, error)
	// Retrieves a pass template by ID. Required Fields: id
	GetTemplate(ctx context.Context, in *Id, opts ...grpc.CallOption) (*PassTemplateResponse, error)
	// Retrieves the default pass template for a given protocol and revision. Required Fields: protocol, revision
	GetDefaultTemplate(ctx context.Context, in *DefaultTemplateRequest, opts ...grpc.CallOption) (*PassTemplate, error)
	// Copies an existing pass template and returns a new ID. Required Fields: id
	CopyTemplate(ctx context.Context, in *CopyObjectInput, opts ...grpc.CallOption) (*Id, error)
	// Deletes a pass template. Required Fields: id
	DeleteTemplate(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves all user-owned pass templates matching filters. Required Fields: pagination.
	ListTemplatesForUserDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PassTemplateResponse], error)
	// Retrieves all user-owned pass templates matching filters. Required Fields: filters.
	ListTemplatesForUser(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PassTemplateResponse], error)
	// [DEPRECATED: OR operator is not supported] Retrieves all company-wide pass templates matching filters. Required Fields: pagination.
	ListTemplatesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PassTemplateResponse], error)
	// Retrieves all company-wide pass templates matching filters. Required Fields: filters.
	ListTemplates(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[PassTemplateResponse], error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of company-wide pass templates matching filters. Required Fields: pagination.
	CountTemplatesDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Retrieves a count of company-wide pass templates matching filters. Required Fields: filters.
	CountTemplates(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
	CountTemplatesForUserDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
	CountTemplatesForUser(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// Creates a new location object. Required Fields: latitude, longitude, message.
	CreateLocation(ctx context.Context, in *GPSLocation, opts ...grpc.CallOption) (*Id, error)
	// Updates an existing location. Required Fields: id.
	UpdateLocation(ctx context.Context, in *GPSLocation, opts ...grpc.CallOption) (*GPSLocation, error)
	// Retrieves a single location by ID. Required Fields: id.
	GetLocation(ctx context.Context, in *Id, opts ...grpc.CallOption) (*GPSLocation, error)
	// [DEPRECATED: OR operator is not supported] Lists all location objects matching filters. Required Fields: pagination.
	ListLocationsDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GPSLocation], error)
	// Lists all location objects matching filters. Required Fields: filters.
	ListLocations(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[GPSLocation], error)
	// Copies a location record and returns a new ID. Required Fields: id.
	CopyLocation(ctx context.Context, in *CopyObjectInput, opts ...grpc.CallOption) (*Id, error)
	// Deletes a location object. Required Fields: id.
	DeleteLocation(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of locations that match the supplied criteria. Required: pagination.
	CountLocationsDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Counts the number of location records that match the supplied filters. Required: filters.
	CountLocations(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// Creates a new beacon object. Required Fields: proximityUUID, lockscreenMessage.
	CreateBeacon(ctx context.Context, in *Beacon, opts ...grpc.CallOption) (*Id, error)
	// Updates an existing beacon object. Required Fields: id.
	UpdateBeacon(ctx context.Context, in *Beacon, opts ...grpc.CallOption) (*Beacon, error)
	// Retrieves a single beacon by ID. Required Fields: id.
	GetBeacon(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Beacon, error)
	// [DEPRECATED: OR operator is not supported] Retrieves beacon objects that match the supplied criteria. Required Fields: pagination.
	ListBeaconsDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Beacon], error)
	// Lists all beacon objects that match the provided filters. Required Fields: filters.
	ListBeacons(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Beacon], error)
	// Copies a beacon record and returns a new ID. Required Fields: id.
	CopyBeacon(ctx context.Context, in *CopyObjectInput, opts ...grpc.CallOption) (*Id, error)
	// Deletes a beacon object. Required Fields: id.
	DeleteBeacon(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of beacons that match the supplied criteria. Required Fields: pagination.
	CountBeaconsDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Returns the count of beacons that match the supplied filters. Required Fields: filters.
	CountBeacons(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
	// Creates a new link object. Required Fields: url, title, type.
	CreateLink(ctx context.Context, in *Link, opts ...grpc.CallOption) (*Id, error)
	// Updates an existing link object. Required Fields: id.
	UpdateLink(ctx context.Context, in *Link, opts ...grpc.CallOption) (*Link, error)
	// Retrieves a single link by ID. Required Fields: id.
	GetLink(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Link, error)
	// [DEPRECATED: OR operator is not supported] Retrieves links objects that match the supplied criteria. Required Fields: pagination.
	ListLinksDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Link], error)
	// Lists all link objects that match the provided filters. Required Fields: filters.
	ListLinks(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Link], error)
	// Copies a link record and returns a new ID. Required Fields: id.
	CopyLink(ctx context.Context, in *CopyObjectInput, opts ...grpc.CallOption) (*Id, error)
	// Deletes a link object. Required Fields: id.
	DeleteLink(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of links that match the supplied criteria. Required Fields: pagination.
	CountLinksDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (*Count, error)
	// Returns the count of links that match the supplied filters. Required Fields: filters.
	CountLinks(ctx context.Context, in *Filters, opts ...grpc.CallOption) (*Count, error)
}

TemplatesClient is the client API for Templates 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.

The PassKit Templates API allows you to manage your pass templates for Apple Wallet and Google Wallet.

func NewTemplatesClient

func NewTemplatesClient(cc grpc.ClientConnInterface) TemplatesClient

type TemplatesServer

type TemplatesServer interface {
	// Creates a new pass template record. Required Fields: protocol, revision, name, colors, fields
	CreateTemplate(context.Context, *PassTemplate) (*Id, error)
	// Updates an existing pass template. Required Fields: id
	UpdateTemplate(context.Context, *PassTemplate) (*PassTemplate, error)
	// Retrieves a pass template by ID. Required Fields: id
	GetTemplate(context.Context, *Id) (*PassTemplateResponse, error)
	// Retrieves the default pass template for a given protocol and revision. Required Fields: protocol, revision
	GetDefaultTemplate(context.Context, *DefaultTemplateRequest) (*PassTemplate, error)
	// Copies an existing pass template and returns a new ID. Required Fields: id
	CopyTemplate(context.Context, *CopyObjectInput) (*Id, error)
	// Deletes a pass template. Required Fields: id
	DeleteTemplate(context.Context, *Id) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves all user-owned pass templates matching filters. Required Fields: pagination.
	ListTemplatesForUserDeprecated(*Pagination, grpc.ServerStreamingServer[PassTemplateResponse]) error
	// Retrieves all user-owned pass templates matching filters. Required Fields: filters.
	ListTemplatesForUser(*Filters, grpc.ServerStreamingServer[PassTemplateResponse]) error
	// [DEPRECATED: OR operator is not supported] Retrieves all company-wide pass templates matching filters. Required Fields: pagination.
	ListTemplatesDeprecated(*Pagination, grpc.ServerStreamingServer[PassTemplateResponse]) error
	// Retrieves all company-wide pass templates matching filters. Required Fields: filters.
	ListTemplates(*Filters, grpc.ServerStreamingServer[PassTemplateResponse]) error
	// [DEPRECATED: OR operator is not supported] Retrieves a count of company-wide pass templates matching filters. Required Fields: pagination.
	CountTemplatesDeprecated(context.Context, *Pagination) (*Count, error)
	// Retrieves a count of company-wide pass templates matching filters. Required Fields: filters.
	CountTemplates(context.Context, *Filters) (*Count, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
	CountTemplatesForUserDeprecated(context.Context, *Pagination) (*Count, error)
	// Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
	CountTemplatesForUser(context.Context, *Filters) (*Count, error)
	// Creates a new location object. Required Fields: latitude, longitude, message.
	CreateLocation(context.Context, *GPSLocation) (*Id, error)
	// Updates an existing location. Required Fields: id.
	UpdateLocation(context.Context, *GPSLocation) (*GPSLocation, error)
	// Retrieves a single location by ID. Required Fields: id.
	GetLocation(context.Context, *Id) (*GPSLocation, error)
	// [DEPRECATED: OR operator is not supported] Lists all location objects matching filters. Required Fields: pagination.
	ListLocationsDeprecated(*Pagination, grpc.ServerStreamingServer[GPSLocation]) error
	// Lists all location objects matching filters. Required Fields: filters.
	ListLocations(*Filters, grpc.ServerStreamingServer[GPSLocation]) error
	// Copies a location record and returns a new ID. Required Fields: id.
	CopyLocation(context.Context, *CopyObjectInput) (*Id, error)
	// Deletes a location object. Required Fields: id.
	DeleteLocation(context.Context, *Id) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of locations that match the supplied criteria. Required: pagination.
	CountLocationsDeprecated(context.Context, *Pagination) (*Count, error)
	// Counts the number of location records that match the supplied filters. Required: filters.
	CountLocations(context.Context, *Filters) (*Count, error)
	// Creates a new beacon object. Required Fields: proximityUUID, lockscreenMessage.
	CreateBeacon(context.Context, *Beacon) (*Id, error)
	// Updates an existing beacon object. Required Fields: id.
	UpdateBeacon(context.Context, *Beacon) (*Beacon, error)
	// Retrieves a single beacon by ID. Required Fields: id.
	GetBeacon(context.Context, *Id) (*Beacon, error)
	// [DEPRECATED: OR operator is not supported] Retrieves beacon objects that match the supplied criteria. Required Fields: pagination.
	ListBeaconsDeprecated(*Pagination, grpc.ServerStreamingServer[Beacon]) error
	// Lists all beacon objects that match the provided filters. Required Fields: filters.
	ListBeacons(*Filters, grpc.ServerStreamingServer[Beacon]) error
	// Copies a beacon record and returns a new ID. Required Fields: id.
	CopyBeacon(context.Context, *CopyObjectInput) (*Id, error)
	// Deletes a beacon object. Required Fields: id.
	DeleteBeacon(context.Context, *Id) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of beacons that match the supplied criteria. Required Fields: pagination.
	CountBeaconsDeprecated(context.Context, *Pagination) (*Count, error)
	// Returns the count of beacons that match the supplied filters. Required Fields: filters.
	CountBeacons(context.Context, *Filters) (*Count, error)
	// Creates a new link object. Required Fields: url, title, type.
	CreateLink(context.Context, *Link) (*Id, error)
	// Updates an existing link object. Required Fields: id.
	UpdateLink(context.Context, *Link) (*Link, error)
	// Retrieves a single link by ID. Required Fields: id.
	GetLink(context.Context, *Id) (*Link, error)
	// [DEPRECATED: OR operator is not supported] Retrieves links objects that match the supplied criteria. Required Fields: pagination.
	ListLinksDeprecated(*Pagination, grpc.ServerStreamingServer[Link]) error
	// Lists all link objects that match the provided filters. Required Fields: filters.
	ListLinks(*Filters, grpc.ServerStreamingServer[Link]) error
	// Copies a link record and returns a new ID. Required Fields: id.
	CopyLink(context.Context, *CopyObjectInput) (*Id, error)
	// Deletes a link object. Required Fields: id.
	DeleteLink(context.Context, *Id) (*emptypb.Empty, error)
	// [DEPRECATED: OR operator is not supported] Retrieves a count of links that match the supplied criteria. Required Fields: pagination.
	CountLinksDeprecated(context.Context, *Pagination) (*Count, error)
	// Returns the count of links that match the supplied filters. Required Fields: filters.
	CountLinks(context.Context, *Filters) (*Count, error)
}

TemplatesServer is the server API for Templates service. All implementations should embed UnimplementedTemplatesServer for forward compatibility.

The PassKit Templates API allows you to manage your pass templates for Apple Wallet and Google Wallet.

type Templates_ListBeaconsClient

type Templates_ListBeaconsClient = grpc.ServerStreamingClient[Beacon]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListBeaconsDeprecatedClient

type Templates_ListBeaconsDeprecatedClient = grpc.ServerStreamingClient[Beacon]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListBeaconsDeprecatedServer

type Templates_ListBeaconsDeprecatedServer = grpc.ServerStreamingServer[Beacon]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListBeaconsServer

type Templates_ListBeaconsServer = grpc.ServerStreamingServer[Beacon]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLinksClient

type Templates_ListLinksClient = grpc.ServerStreamingClient[Link]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLinksDeprecatedClient

type Templates_ListLinksDeprecatedClient = grpc.ServerStreamingClient[Link]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLinksDeprecatedServer

type Templates_ListLinksDeprecatedServer = grpc.ServerStreamingServer[Link]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLinksServer

type Templates_ListLinksServer = grpc.ServerStreamingServer[Link]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLocationsClient

type Templates_ListLocationsClient = grpc.ServerStreamingClient[GPSLocation]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLocationsDeprecatedClient

type Templates_ListLocationsDeprecatedClient = grpc.ServerStreamingClient[GPSLocation]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLocationsDeprecatedServer

type Templates_ListLocationsDeprecatedServer = grpc.ServerStreamingServer[GPSLocation]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListLocationsServer

type Templates_ListLocationsServer = grpc.ServerStreamingServer[GPSLocation]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesClient

type Templates_ListTemplatesClient = grpc.ServerStreamingClient[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesDeprecatedClient

type Templates_ListTemplatesDeprecatedClient = grpc.ServerStreamingClient[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesDeprecatedServer

type Templates_ListTemplatesDeprecatedServer = grpc.ServerStreamingServer[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesForUserClient

type Templates_ListTemplatesForUserClient = grpc.ServerStreamingClient[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesForUserDeprecatedClient

type Templates_ListTemplatesForUserDeprecatedClient = grpc.ServerStreamingClient[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesForUserDeprecatedServer

type Templates_ListTemplatesForUserDeprecatedServer = grpc.ServerStreamingServer[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesForUserServer

type Templates_ListTemplatesForUserServer = grpc.ServerStreamingServer[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Templates_ListTemplatesServer

type Templates_ListTemplatesServer = grpc.ServerStreamingServer[PassTemplateResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type TextAlignment

type TextAlignment int32

Enum specifying text alignment options.

const (
	TextAlignment_TEXT_ALIGNMENT_DO_NOT_USE TextAlignment = 0
	// Left-align the text.
	TextAlignment_LEFT TextAlignment = 1
	// Center-align the text.
	TextAlignment_CENTER TextAlignment = 2
	// Right-align the text.
	TextAlignment_RIGHT TextAlignment = 3
	// Use the system's natural text alignment (used by Apple Wallet).
	TextAlignment_NATURAL TextAlignment = 4
)

func (TextAlignment) Descriptor

func (TextAlignment) Enum

func (x TextAlignment) Enum() *TextAlignment

func (TextAlignment) EnumDescriptor deprecated

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

Deprecated: Use TextAlignment.Descriptor instead.

func (TextAlignment) Number

func (TextAlignment) String

func (x TextAlignment) String() string

func (TextAlignment) Type

type Time

type Time struct {

	// Hour (0–23).
	// @tag: validateGeneric:"min=0,max=23"
	Hour int32 `protobuf:"varint,1,opt,name=hour,proto3" json:"hour,omitempty" validateGeneric:"min=0,max=23"`
	// Minute (0–59).
	// @tag: validateGeneric:"min=0,max=60"
	Minute int32 `protobuf:"varint,2,opt,name=minute,proto3" json:"minute,omitempty" validateGeneric:"min=0,max=60"`
	// Second (0–59).
	// @tag: validateGeneric:"min=0,max=60"
	Second int32 `protobuf:"varint,3,opt,name=second,proto3" json:"second,omitempty" validateGeneric:"min=0,max=60"`
	// contains filtered or unexported fields
}

A time without timezone information.

func (*Time) Descriptor deprecated

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

Deprecated: Use Time.ProtoReflect.Descriptor instead.

func (*Time) GetHour

func (x *Time) GetHour() int32

func (*Time) GetMinute

func (x *Time) GetMinute() int32

func (*Time) GetSecond

func (x *Time) GetSecond() int32

func (*Time) ProtoMessage

func (*Time) ProtoMessage()

func (*Time) ProtoReflect

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

func (*Time) Reset

func (x *Time) Reset()

func (*Time) String

func (x *Time) String() string

type TimeState

type TimeState int32

Time state used to adjust the meaning of a scheduled time (e.g. previous, current, or future).

const (
	// No time state specified.
	TimeState_TIME_STATE_NONE TimeState = 0
	// The current time state (e.g. this month).
	TimeState_TIME_STATE_CURRENT TimeState = 1
	// The previous time state (e.g. last month).
	TimeState_TIME_STATE_PREVIOUS TimeState = 2
	// The following time state (e.g. next month).
	TimeState_TIME_STATE_FOLLOWING TimeState = 3
)

func (TimeState) Descriptor

func (TimeState) Descriptor() protoreflect.EnumDescriptor

func (TimeState) Enum

func (x TimeState) Enum() *TimeState

func (TimeState) EnumDescriptor deprecated

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

Deprecated: Use TimeState.Descriptor instead.

func (TimeState) Number

func (x TimeState) Number() protoreflect.EnumNumber

func (TimeState) String

func (x TimeState) String() string

func (TimeState) Type

type Toggle

type Toggle int32

A toggle value to indicate on/off states.

const (
	// Default or undefined state.
	Toggle_DO_NOT_USE Toggle = 0
	// Indicates the feature or flag is enabled.
	Toggle_ON Toggle = 1
	// Indicates the feature or flag is disabled.
	Toggle_OFF Toggle = 2
)

func (Toggle) Descriptor

func (Toggle) Descriptor() protoreflect.EnumDescriptor

func (Toggle) Enum

func (x Toggle) Enum() *Toggle

func (Toggle) EnumDescriptor deprecated

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

Deprecated: Use Toggle.Descriptor instead.

func (Toggle) Number

func (x Toggle) Number() protoreflect.EnumNumber

func (Toggle) String

func (x Toggle) String() string

func (Toggle) Type

func (Toggle) Type() protoreflect.EnumType

type TrackingSettings

type TrackingSettings struct {

	// Facebook Pixel settings
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	FacebookPixelSettings *FacebookPixelSettings `` /* 177-byte string literal not displayed */
	// Google Analytics settings
	// @tag: validateGeneric:"omitempty" validateCreate:"omitempty" validateUpdate:"omitempty"
	GoogleAnalyticsSettings *GoogleAnalyticsSettings `` /* 181-byte string literal not displayed */
	// contains filtered or unexported fields
}

Wrapper to configure tracking settings across multiple platforms.

func (*TrackingSettings) Descriptor deprecated

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

Deprecated: Use TrackingSettings.ProtoReflect.Descriptor instead.

func (*TrackingSettings) GetFacebookPixelSettings

func (x *TrackingSettings) GetFacebookPixelSettings() *FacebookPixelSettings

func (*TrackingSettings) GetGoogleAnalyticsSettings

func (x *TrackingSettings) GetGoogleAnalyticsSettings() *GoogleAnalyticsSettings

func (*TrackingSettings) ProtoMessage

func (*TrackingSettings) ProtoMessage()

func (*TrackingSettings) ProtoReflect

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

func (*TrackingSettings) Reset

func (x *TrackingSettings) Reset()

func (*TrackingSettings) String

func (x *TrackingSettings) String() string

type Transaction

type Transaction struct {

	// Reference ID is the ID used in the system where the transaction is coming from. Needs to be unique within the program.
	ReferenceId string `protobuf:"bytes,1,opt,name=referenceId,proto3" json:"referenceId,omitempty"`
	// The total amount of all order items. Based on POS setting, the totalPrice can already include the tax amount
	TotalPrice float32 `protobuf:"fixed32,2,opt,name=totalPrice,proto3" json:"totalPrice,omitempty"`
	// List of order items in the  transaction
	OrderItems []*OrderItem `protobuf:"bytes,3,rep,name=orderItems,proto3" json:"orderItems,omitempty"`
	// The total discount amount
	Discount float32 `protobuf:"fixed32,4,opt,name=discount,proto3" json:"discount,omitempty"`
	// List of discount items
	DiscountItems []*DiscountItem `protobuf:"bytes,5,rep,name=discountItems,proto3" json:"discountItems,omitempty"`
	// The service charge amount
	ServiceCharge float32 `protobuf:"fixed32,6,opt,name=serviceCharge,proto3" json:"serviceCharge,omitempty"`
	// The tax amount.
	TotalTax float32 `protobuf:"fixed32,7,opt,name=totalTax,proto3" json:"totalTax,omitempty"`
	// The final price of the transaction: (total price + service charge + (totalTax: if POS settings set to tax exclusive)) - discount
	FinalPrice float32 `protobuf:"fixed32,8,opt,name=finalPrice,proto3" json:"finalPrice,omitempty"`
	// Rounding difference
	RoundingDifference float32 `protobuf:"fixed32,9,opt,name=roundingDifference,proto3" json:"roundingDifference,omitempty"`
	// Indicates if this transaction is a refund
	IsRefunded bool `protobuf:"varint,10,opt,name=isRefunded,proto3" json:"isRefunded,omitempty"`
	// The transaction timestamp
	Timestamp *Date `protobuf:"bytes,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// The transaction currency
	Currency string `protobuf:"bytes,12,opt,name=currency,proto3" json:"currency,omitempty"`
	// GPS details of check in
	Location *GPSLocation `protobuf:"bytes,13,opt,name=location,proto3" json:"location,omitempty"`
	// 17 is reserved for transaction source (online, or restaurant code)
	TransactionSource string `protobuf:"bytes,14,opt,name=transactionSource,proto3" json:"transactionSource,omitempty"`
	// contains filtered or unexported fields
}

Some point based loyalty programs will pass on transaction information (can be used for segmenting, additional reporting, and/or showing transactions on back of the pass).

func (*Transaction) Descriptor deprecated

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

Deprecated: Use Transaction.ProtoReflect.Descriptor instead.

func (*Transaction) GetCurrency

func (x *Transaction) GetCurrency() string

func (*Transaction) GetDiscount

func (x *Transaction) GetDiscount() float32

func (*Transaction) GetDiscountItems

func (x *Transaction) GetDiscountItems() []*DiscountItem

func (*Transaction) GetFinalPrice

func (x *Transaction) GetFinalPrice() float32

func (*Transaction) GetIsRefunded

func (x *Transaction) GetIsRefunded() bool

func (*Transaction) GetLocation

func (x *Transaction) GetLocation() *GPSLocation

func (*Transaction) GetOrderItems

func (x *Transaction) GetOrderItems() []*OrderItem

func (*Transaction) GetReferenceId

func (x *Transaction) GetReferenceId() string

func (*Transaction) GetRoundingDifference

func (x *Transaction) GetRoundingDifference() float32

func (*Transaction) GetServiceCharge

func (x *Transaction) GetServiceCharge() float32

func (*Transaction) GetTimestamp

func (x *Transaction) GetTimestamp() *Date

func (*Transaction) GetTotalPrice

func (x *Transaction) GetTotalPrice() float32

func (*Transaction) GetTotalTax

func (x *Transaction) GetTotalTax() float32

func (*Transaction) GetTransactionSource

func (x *Transaction) GetTransactionSource() string

func (*Transaction) ProtoMessage

func (*Transaction) ProtoMessage()

func (*Transaction) ProtoReflect

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

func (*Transaction) Reset

func (x *Transaction) Reset()

func (*Transaction) String

func (x *Transaction) String() string

type TransitType

type TransitType int32

Enum specifying transit types for relevant pass types.

const (
	TransitType_TRANSIT_TYPE_DO_NOT_USE TransitType = 0
	// Air travel (e.g., flights).
	TransitType_TRANSIT_TYPE_AIR TransitType = 1
	// Boat travel.
	TransitType_TRANSIT_TYPE_BOAT TransitType = 2
	// Bus transit.
	TransitType_TRANSIT_TYPE_BUS TransitType = 3
	// Generic transit type.
	TransitType_TRANSIT_TYPE_GENERIC TransitType = 4
	// Train travel.
	TransitType_TRANSIT_TYPE_TRAIN TransitType = 5
	// Tram travel (Google Pay only).
	TransitType_TRANSIT_TYPE_TRAM TransitType = 6
)

func (TransitType) Descriptor

func (TransitType) Enum

func (x TransitType) Enum() *TransitType

func (TransitType) EnumDescriptor deprecated

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

Deprecated: Use TransitType.Descriptor instead.

func (TransitType) Number

func (x TransitType) Number() protoreflect.EnumNumber

func (TransitType) String

func (x TransitType) String() string

func (TransitType) Type

type UTM

type UTM struct {

	// Use source to identify where the request is coming from. Defaults to Unknown.
	Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"`
	// Use medium to identify a medium such as email, app, or cost-per-click advertising.
	Medium string `protobuf:"bytes,2,opt,name=medium,proto3" json:"medium,omitempty"`
	// Used for keyword analysis. Use campaign to identify a specific product promotion or strategic campaign.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Used for paid search. Use term to note the keywords for the ad that led to the pass.
	Term string `protobuf:"bytes,4,opt,name=term,proto3" json:"term,omitempty"`
	// Used for A/B testing and content-targeted ads. Use content to differentiate ads or links that point to the same URL.
	Content string `protobuf:"bytes,5,opt,name=content,proto3" json:"content,omitempty"`
	// contains filtered or unexported fields
}

UTM parameters used for tracking the source and behavior of a user journey.

func (*UTM) Descriptor deprecated

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

Deprecated: Use UTM.ProtoReflect.Descriptor instead.

func (*UTM) GetContent

func (x *UTM) GetContent() string

func (*UTM) GetMedium

func (x *UTM) GetMedium() string

func (*UTM) GetName

func (x *UTM) GetName() string

func (*UTM) GetSource

func (x *UTM) GetSource() string

func (*UTM) GetTerm

func (x *UTM) GetTerm() string

func (*UTM) ProtoMessage

func (*UTM) ProtoMessage()

func (*UTM) ProtoReflect

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

func (*UTM) Reset

func (x *UTM) Reset()

func (*UTM) String

func (x *UTM) String() string

type UnimplementedCertificatesServer

type UnimplementedCertificatesServer struct{}

UnimplementedCertificatesServer should 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 (UnimplementedCertificatesServer) AddAppleCertificate

func (UnimplementedCertificatesServer) CountAppleCertificates

func (UnimplementedCertificatesServer) CountAppleCertificates(context.Context, *Filters) (*Count, error)

func (UnimplementedCertificatesServer) CountAppleCertificatesDeprecated

func (UnimplementedCertificatesServer) CountAppleCertificatesDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedCertificatesServer) GetAppleCertificateData

func (UnimplementedCertificatesServer) GetCertificateSigningRequest

func (UnimplementedCertificatesServer) ListAppleCertificates

func (UnimplementedCertificatesServer) ListAppleCertificatesDeprecated

func (UnimplementedCertificatesServer) SendNFCSigningCredentials

func (UnimplementedCertificatesServer) UpdateAppleCertificate

type UnimplementedDistributionServer

type UnimplementedDistributionServer struct{}

UnimplementedDistributionServer should 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 (UnimplementedDistributionServer) GetDataCollectionPageFields

func (UnimplementedDistributionServer) ImportProtocolCsv

func (UnimplementedDistributionServer) SendWelcomeEmail

func (UnimplementedDistributionServer) UploadSmartPassCsv

func (UnimplementedDistributionServer) ValidateBarcode added in v1.1.70

type UnimplementedImagesServer

type UnimplementedImagesServer struct{}

UnimplementedImagesServer should 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 (UnimplementedImagesServer) CountImages

func (UnimplementedImagesServer) CountImagesDeprecated

func (UnimplementedImagesServer) CountImagesDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedImagesServer) CountImagesForUser

func (UnimplementedImagesServer) CountImagesForUser(context.Context, *Filters) (*Count, error)

func (UnimplementedImagesServer) CountImagesForUserDeprecated

func (UnimplementedImagesServer) CountImagesForUserDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedImagesServer) CreateImages

func (UnimplementedImagesServer) DeleteImage

func (UnimplementedImagesServer) DeleteLocalizedImage

func (UnimplementedImagesServer) GetImageBundle

func (UnimplementedImagesServer) GetImageData

func (UnimplementedImagesServer) GetImageURL

func (UnimplementedImagesServer) GetImageURL(context.Context, *Id) (*Url, error)

func (UnimplementedImagesServer) GetLocalizedImageURL

func (UnimplementedImagesServer) GetProfileImage

func (UnimplementedImagesServer) GetProfileImageById

func (UnimplementedImagesServer) GetProfileImageById(context.Context, *Id) (*Url, error)

func (UnimplementedImagesServer) GetStampImageConfig added in v1.1.97

func (UnimplementedImagesServer) GetStampImagePreview added in v1.1.97

func (UnimplementedImagesServer) GetStampImageURL

func (UnimplementedImagesServer) ListImages

func (UnimplementedImagesServer) ListImagesDeprecated

func (UnimplementedImagesServer) ListImagesForUser

func (UnimplementedImagesServer) ListImagesForUserDeprecated

func (UnimplementedImagesServer) SetProfileImage

func (UnimplementedImagesServer) UpdateImage

func (UnimplementedImagesServer) UpdateStampImageConfig added in v1.1.97

func (UnimplementedImagesServer) UpdateStampImageConfig(context.Context, *StampImageConfig) (*Id, error)

type UnimplementedIntegrationsServer

type UnimplementedIntegrationsServer struct{}

UnimplementedIntegrationsServer should 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 (UnimplementedIntegrationsServer) CallDynamicApi

func (UnimplementedIntegrationsServer) CreateIntegrations

func (UnimplementedIntegrationsServer) CreateSinkSubscription

func (UnimplementedIntegrationsServer) DeleteIntegrations

func (UnimplementedIntegrationsServer) DeleteSinkSubscription

func (UnimplementedIntegrationsServer) GetIntegrations

func (UnimplementedIntegrationsServer) GetSampleSubscriptionEvent

func (UnimplementedIntegrationsServer) GetSampleSubscriptionEvent(context.Context, *Id) (*SinkSubscription, error)

func (UnimplementedIntegrationsServer) GetSinkSubscription

func (UnimplementedIntegrationsServer) ListSinkSubscriptions

func (UnimplementedIntegrationsServer) ListSinkSubscriptionsDeprecated

func (UnimplementedIntegrationsServer) UpdateIntegrations

func (UnimplementedIntegrationsServer) UpdateSinkSubscription

type UnimplementedMessagesServer

type UnimplementedMessagesServer struct{}

UnimplementedMessagesServer should 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 (UnimplementedMessagesServer) CreateMessage

func (UnimplementedMessagesServer) DeleteMessage

func (UnimplementedMessagesServer) GetMessage

func (UnimplementedMessagesServer) SendMessage

func (UnimplementedMessagesServer) UpdateMessage

type UnimplementedTemplatesServer

type UnimplementedTemplatesServer struct{}

UnimplementedTemplatesServer should 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 (UnimplementedTemplatesServer) CopyBeacon

func (UnimplementedTemplatesServer) CopyLocation

func (UnimplementedTemplatesServer) CopyTemplate

func (UnimplementedTemplatesServer) CountBeacons

func (UnimplementedTemplatesServer) CountBeaconsDeprecated

func (UnimplementedTemplatesServer) CountBeaconsDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedTemplatesServer) CountLinksDeprecated

func (UnimplementedTemplatesServer) CountLinksDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedTemplatesServer) CountLocations

func (UnimplementedTemplatesServer) CountLocationsDeprecated

func (UnimplementedTemplatesServer) CountLocationsDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedTemplatesServer) CountTemplates

func (UnimplementedTemplatesServer) CountTemplatesDeprecated

func (UnimplementedTemplatesServer) CountTemplatesDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedTemplatesServer) CountTemplatesForUser

func (UnimplementedTemplatesServer) CountTemplatesForUser(context.Context, *Filters) (*Count, error)

func (UnimplementedTemplatesServer) CountTemplatesForUserDeprecated

func (UnimplementedTemplatesServer) CountTemplatesForUserDeprecated(context.Context, *Pagination) (*Count, error)

func (UnimplementedTemplatesServer) CreateBeacon

func (UnimplementedTemplatesServer) CreateLocation

func (UnimplementedTemplatesServer) CreateTemplate

func (UnimplementedTemplatesServer) DeleteBeacon

func (UnimplementedTemplatesServer) DeleteLocation

func (UnimplementedTemplatesServer) DeleteTemplate

func (UnimplementedTemplatesServer) GetBeacon

func (UnimplementedTemplatesServer) GetDefaultTemplate

func (UnimplementedTemplatesServer) GetLocation

func (UnimplementedTemplatesServer) GetTemplate

func (UnimplementedTemplatesServer) ListBeacons

func (UnimplementedTemplatesServer) ListBeaconsDeprecated

func (UnimplementedTemplatesServer) ListLinksDeprecated

func (UnimplementedTemplatesServer) ListLocations

func (UnimplementedTemplatesServer) ListLocationsDeprecated

func (UnimplementedTemplatesServer) ListTemplates

func (UnimplementedTemplatesServer) ListTemplatesDeprecated

func (UnimplementedTemplatesServer) ListTemplatesForUser

func (UnimplementedTemplatesServer) ListTemplatesForUserDeprecated

func (UnimplementedTemplatesServer) UpdateBeacon

func (UnimplementedTemplatesServer) UpdateLocation

func (UnimplementedTemplatesServer) UpdateTemplate

type UnimplementedUsersServer

type UnimplementedUsersServer struct{}

UnimplementedUsersServer should 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 (UnimplementedUsersServer) ChangeEmail

func (UnimplementedUsersServer) ChangePassword

func (UnimplementedUsersServer) ConfirmEmailChange

func (UnimplementedUsersServer) CreateAuthorizationResource

func (UnimplementedUsersServer) CreateAuthorizationResource(context.Context, *OAuth2AuthorizationRequest) (*Id, error)

func (UnimplementedUsersServer) CreatePermissionsForTeamMember added in v1.1.118

func (UnimplementedUsersServer) CreatePermissionsForTeamMember(context.Context, *TeamMemberPermissions) (*Id, error)

func (UnimplementedUsersServer) CreateScannerConfig

func (UnimplementedUsersServer) CreateTeamMember added in v1.1.118

func (UnimplementedUsersServer) CreateUser

func (UnimplementedUsersServer) DeleteAccount

func (UnimplementedUsersServer) DeleteAuthorizationResource

func (UnimplementedUsersServer) DeleteAuthorizationResource(context.Context, *Id) (*emptypb.Empty, error)

func (UnimplementedUsersServer) DeleteTeamMember added in v1.1.118

func (UnimplementedUsersServer) DeleteTeamMember(context.Context, *Id) (*emptypb.Empty, error)

func (UnimplementedUsersServer) Get2FaBarcode added in v1.1.97

func (UnimplementedUsersServer) GetProjectAndTemplateByShortCode

func (UnimplementedUsersServer) GetProjectAndTemplateByShortCode(context.Context, *Id) (*ProjectByShortCodeResult, error)

func (UnimplementedUsersServer) GetProjectByUuid

func (UnimplementedUsersServer) GetProjectByUuid(context.Context, *Id) (*Project, error)

func (UnimplementedUsersServer) GetProjects

func (UnimplementedUsersServer) GetProjectsForUser

func (UnimplementedUsersServer) GetProjectsForUserQuery

func (UnimplementedUsersServer) GetProjectsForUserQueryDeprecated

func (UnimplementedUsersServer) GetProjectsForUserQueryDeprecated(*Pagination, grpc.ServerStreamingServer[Project]) error

func (UnimplementedUsersServer) GetProjectsQuery

func (UnimplementedUsersServer) GetProjectsQueryDeprecated

func (UnimplementedUsersServer) GetScannerConfig

func (UnimplementedUsersServer) GetTeamMember added in v1.1.118

func (UnimplementedUsersServer) GetTeamMemberLogs added in v1.1.118

func (UnimplementedUsersServer) GetTeamMembers added in v1.1.118

func (UnimplementedUsersServer) GetUser

func (UnimplementedUsersServer) Login

func (UnimplementedUsersServer) NewUser

func (UnimplementedUsersServer) PatchTeamMemberPermissions added in v1.1.118

func (UnimplementedUsersServer) RefreshApiSecret added in v1.1.97

func (UnimplementedUsersServer) ResendVerificationEmail

func (UnimplementedUsersServer) ResendVerificationEmail(context.Context, *emptypb.Empty) (*Boolean, error)

func (UnimplementedUsersServer) ResetPassword

func (UnimplementedUsersServer) RevokeLegacyCredentials added in v1.1.97

func (UnimplementedUsersServer) RevokeLegacyCredentials(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
func (UnimplementedUsersServer) SendPasswordResetLink(context.Context, *Username) (*emptypb.Empty, error)

func (UnimplementedUsersServer) UpdateCompanyName

func (UnimplementedUsersServer) UpdateScannerConfig

func (UnimplementedUsersServer) UpdateTeamMemberPermissions added in v1.1.118

func (UnimplementedUsersServer) Verify

type UnsafeCertificatesServer

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

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

type UnsafeDistributionServer

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

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

type UnsafeImagesServer

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

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

type UnsafeIntegrationsServer

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

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

type UnsafeMessagesServer

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

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

type UnsafeTemplatesServer

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

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

type UnsafeUsersServer

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

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

type UpdateImageInput

type UpdateImageInput struct {

	// The image id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional, if omitted, the original name will remain the same.
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Optional, if omitted, the original image will remain the same.
	ImageData string `protobuf:"bytes,3,opt,name=imageData,proto3" json:"imageData,omitempty"`
	// Optional, provided localizations will be added/replaced, existing omitted localizations will remain in place.
	LocalizedImageData *LocalizedString `protobuf:"bytes,4,opt,name=localizedImageData,proto3" json:"localizedImageData,omitempty"`
	// contains filtered or unexported fields
}

Input to update an existing image or its localized variants. Required fields: id.

func (*UpdateImageInput) Descriptor deprecated

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

Deprecated: Use UpdateImageInput.ProtoReflect.Descriptor instead.

func (*UpdateImageInput) GetId

func (x *UpdateImageInput) GetId() string

func (*UpdateImageInput) GetImageData

func (x *UpdateImageInput) GetImageData() string

func (*UpdateImageInput) GetLocalizedImageData

func (x *UpdateImageInput) GetLocalizedImageData() *LocalizedString

func (*UpdateImageInput) GetName

func (x *UpdateImageInput) GetName() string

func (*UpdateImageInput) ProtoMessage

func (*UpdateImageInput) ProtoMessage()

func (*UpdateImageInput) ProtoReflect

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

func (*UpdateImageInput) Reset

func (x *UpdateImageInput) Reset()

func (*UpdateImageInput) String

func (x *UpdateImageInput) String() string

type Url

type Url struct {
	Url   string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
	Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
	// contains filtered or unexported fields
}

Represents a URL and optional title for display or linking purposes.

func (*Url) Descriptor deprecated

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

Deprecated: Use Url.ProtoReflect.Descriptor instead.

func (*Url) GetTitle

func (x *Url) GetTitle() string

func (*Url) GetUrl

func (x *Url) GetUrl() string

func (*Url) ProtoMessage

func (*Url) ProtoMessage()

func (*Url) ProtoReflect

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

func (*Url) Reset

func (x *Url) Reset()

func (*Url) String

func (x *Url) String() string

type UsageType

type UsageType int32

Specifies where a field or link should be rendered or used.

const (
	UsageType_NO_USAGE UsageType = 0
	// Used by Apple Wallet.
	UsageType_USAGE_APPLE_WALLET UsageType = 1
	// Used by Google Pay.
	UsageType_USAGE_GOOGLE_PAY UsageType = 2
	// Used on a user-facing data collection form.
	UsageType_USAGE_DATA_COLLECTION_PAGE UsageType = 4
)

func (UsageType) Descriptor

func (UsageType) Descriptor() protoreflect.EnumDescriptor

func (UsageType) Enum

func (x UsageType) Enum() *UsageType

func (UsageType) EnumDescriptor deprecated

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

Deprecated: Use UsageType.Descriptor instead.

func (UsageType) Number

func (x UsageType) Number() protoreflect.EnumNumber

func (UsageType) String

func (x UsageType) String() string

func (UsageType) Type

type UserAgent

type UserAgent struct {

	// The raw user agent string received from the client.
	Raw string `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"`
	// The device platform (e.g. "Macintosh", "iPhone", "Android").
	Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"`
	// The operating system name (e.g. "iOS", "Windows", "Android").
	Os string `protobuf:"bytes,3,opt,name=os,proto3" json:"os,omitempty"`
	// The version of the operating system (e.g. "14.4", "10", "12.5.1").
	OsVersion string `protobuf:"bytes,4,opt,name=osVersion,proto3" json:"osVersion,omitempty"`
	// The rendering engine used by the browser (e.g. "WebKit", "Blink").
	Engine string `protobuf:"bytes,5,opt,name=engine,proto3" json:"engine,omitempty"`
	// The version of the rendering engine (e.g. "605.1.15").
	EngineVersion string `protobuf:"bytes,6,opt,name=engineVersion,proto3" json:"engineVersion,omitempty"`
	// The browser name (e.g. "Safari", "Chrome", "Firefox").
	Browser string `protobuf:"bytes,7,opt,name=browser,proto3" json:"browser,omitempty"`
	// The version of the browser (e.g. "91.0.4472.124").
	BrowserVersion string `protobuf:"bytes,8,opt,name=browserVersion,proto3" json:"browserVersion,omitempty"`
	// The localization setting of the user (e.g. "en-US", "fr-FR").
	Localization string `protobuf:"bytes,9,opt,name=localization,proto3" json:"localization,omitempty"`
	// Indicates whether the device is a mobile device.
	Mobile bool `protobuf:"varint,10,opt,name=mobile,proto3" json:"mobile,omitempty"`
	// Indicates whether the browser and device are compatible with digital wallet functionality (e.g. Apple Wallet or Google Pay).
	WalletCompatible bool `protobuf:"varint,11,opt,name=walletCompatible,proto3" json:"walletCompatible,omitempty"`
	// contains filtered or unexported fields
}

Captures information about the user's device, browser, and compatibility.

func (*UserAgent) Descriptor deprecated

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

Deprecated: Use UserAgent.ProtoReflect.Descriptor instead.

func (*UserAgent) GetBrowser

func (x *UserAgent) GetBrowser() string

func (*UserAgent) GetBrowserVersion

func (x *UserAgent) GetBrowserVersion() string

func (*UserAgent) GetEngine

func (x *UserAgent) GetEngine() string

func (*UserAgent) GetEngineVersion

func (x *UserAgent) GetEngineVersion() string

func (*UserAgent) GetLocalization

func (x *UserAgent) GetLocalization() string

func (*UserAgent) GetMobile

func (x *UserAgent) GetMobile() bool

func (*UserAgent) GetOs

func (x *UserAgent) GetOs() string

func (*UserAgent) GetOsVersion

func (x *UserAgent) GetOsVersion() string

func (*UserAgent) GetPlatform

func (x *UserAgent) GetPlatform() string

func (*UserAgent) GetRaw

func (x *UserAgent) GetRaw() string

func (*UserAgent) GetWalletCompatible

func (x *UserAgent) GetWalletCompatible() bool

func (*UserAgent) ProtoMessage

func (*UserAgent) ProtoMessage()

func (*UserAgent) ProtoReflect

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

func (*UserAgent) Reset

func (x *UserAgent) Reset()

func (*UserAgent) String

func (x *UserAgent) String() string

type UserType added in v1.1.118

type UserType int32

UserType describes the category of the user who made the request.

const (
	// Unknown or unspecified user type.
	UserType_UnknownUserType UserType = 0
	// Regular user.
	UserType_User UserType = 1
	// Team member with assigned roles and permissions.
	UserType_TeamMember UserType = 2
)

func (UserType) Descriptor added in v1.1.118

func (UserType) Descriptor() protoreflect.EnumDescriptor

func (UserType) Enum added in v1.1.118

func (x UserType) Enum() *UserType

func (UserType) EnumDescriptor deprecated added in v1.1.118

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

Deprecated: Use UserType.Descriptor instead.

func (UserType) Number added in v1.1.118

func (x UserType) Number() protoreflect.EnumNumber

func (UserType) String added in v1.1.118

func (x UserType) String() string

func (UserType) Type added in v1.1.118

type Username

type Username struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*Username) Descriptor deprecated

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

Deprecated: Use Username.ProtoReflect.Descriptor instead.

func (*Username) GetUsername

func (x *Username) GetUsername() string

func (*Username) ProtoMessage

func (*Username) ProtoMessage()

func (*Username) ProtoReflect

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

func (*Username) Reset

func (x *Username) Reset()

func (*Username) String

func (x *Username) String() string

type UsersClient

type UsersClient interface {
	// Creates a user and issues a verification email. Required Fields: email, password, name, companyName.
	CreateUser(ctx context.Context, in *NewUser, opts ...grpc.CallOption) (*NewUserResponse, error)
	// Creates a new user and returns a JWT token. Required Fields: email, password, name, companyName.
	NewUser(ctx context.Context, in *NewUser, opts ...grpc.CallOption) (*JWT, error)
	// Verifies the user with the email verification code. Required Fields: code.
	Verify(ctx context.Context, in *VerifyRequest, opts ...grpc.CallOption) (*Boolean, error)
	// Resends the verification email.
	ResendVerificationEmail(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Boolean, error)
	// Retrieves the authenticated user's profile.
	GetUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetUserResponse, error)
	// Authenticates the user and returns a JWT token. Required Fields: username, password.
	Login(ctx context.Context, in *Credentials, opts ...grpc.CallOption) (*JWT, error)
	// Returns the barcode image URL for 2FA setup.
	Get2FaBarcode(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*Url, error)
	// Resets the user's password if a reset code is already obtained. Required Fields: username, password, code.
	ResetPassword(ctx context.Context, in *Credentials, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Sends a password reset link to the user's email. Required Fields: username.
	SendPasswordResetLink(ctx context.Context, in *Username, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Changes the user's password using a reset token. Required Fields: token, password.
	ChangePassword(ctx context.Context, in *PasswordResetInput, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Initiates email change. Verification email is sent to new address. Required Fields: email.
	ChangeEmail(ctx context.Context, in *Email, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Confirms and finalizes the email change. Required Fields: email, code.
	ConfirmEmailChange(ctx context.Context, in *ConfirmEmailChangeInput, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates the company name associated with the account. Required Fields: name.
	UpdateCompanyName(ctx context.Context, in *CompanyName, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// [DEPRECATED] Retrieves user’s projects using pagination. Required Fields: pagination.
	GetProjectsForUserQueryDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// [DEPRECATED] Retrieves all company projects using pagination. Required Fields: pagination.
	GetProjectsQueryDeprecated(ctx context.Context, in *Pagination, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// Retrieves user’s projects using filters. Required Fields: filters.
	GetProjectsForUserQuery(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// Retrieves all company projects using filters. Required Fields: filters.
	GetProjectsQuery(ctx context.Context, in *Filters, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// Retrieves a project by its UUID. Required Fields: id.
	GetProjectByUuid(ctx context.Context, in *Id, opts ...grpc.CallOption) (*Project, error)
	// Retrieves a project and template using short code. Required Fields: id.
	GetProjectAndTemplateByShortCode(ctx context.Context, in *Id, opts ...grpc.CallOption) (*ProjectByShortCodeResult, error)
	// Retrieves projects belonging to a user by status. Required Fields: status.
	GetProjectsForUser(ctx context.Context, in *ProjectStatusFilter, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// Retrieves all company projects by status. Required Fields: status.
	GetProjects(ctx context.Context, in *ProjectStatusFilter, opts ...grpc.CallOption) (grpc.ServerStreamingClient[Project], error)
	// Retrieves the scanner configuration for the user.
	GetScannerConfig(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*ScannerConfiguration, error)
	// Creates a new scanner configuration. Required Fields: ScannerConfiguration fields.
	CreateScannerConfig(ctx context.Context, in *ScannerConfiguration, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Updates the existing scanner configuration. Required Fields: ScannerConfiguration fields.
	UpdateScannerConfig(ctx context.Context, in *ScannerConfiguration, opts ...grpc.CallOption) (*ScannerConfiguration, error)
	// Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
	CreateAuthorizationResource(ctx context.Context, in *OAuth2AuthorizationRequest, opts ...grpc.CallOption) (*Id, error)
	// Deletes an OAuth2 authorization resource. Required Fields: id.
	DeleteAuthorizationResource(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Refreshes the API secret key for the current user.
	RefreshApiSecret(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Permanently deletes the user's account and all associated data. Required Fields: password.
	DeleteAccount(ctx context.Context, in *DeleteAccountRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Immediately revokes any old gRPC credentials.
	RevokeLegacyCredentials(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Creates a new sub-user account for the company. Required Fields: email, name, password.
	CreateTeamMember(ctx context.Context, in *NewTeamMember, opts ...grpc.CallOption) (*Id, error)
	// Assigns permissions to a new team member. Required Fields: userId, permissions.
	CreatePermissionsForTeamMember(ctx context.Context, in *TeamMemberPermissions, opts ...grpc.CallOption) (*Id, error)
	// Updates the entire permissions object for a team member. Required Fields: userId, permissions.
	UpdateTeamMemberPermissions(ctx context.Context, in *TeamMemberPermissions, opts ...grpc.CallOption) (*TeamMemberPermissions, error)
	// Updates partial permissions for a team member. Required Fields: userId, permissions.
	PatchTeamMemberPermissions(ctx context.Context, in *TeamMemberPermissions, opts ...grpc.CallOption) (*TeamMemberPermissions, error)
	// Retrieves a team member by ID. Required Fields: id.
	GetTeamMember(ctx context.Context, in *Id, opts ...grpc.CallOption) (*GetTeamMemberResponse, error)
	// Retrieves all team members.
	GetTeamMembers(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[ListTeamMembersResponse], error)
	// Deletes a team member. Required Fields: id.
	DeleteTeamMember(ctx context.Context, in *Id, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Retrieves access logs for a company or user. Required Fields: protocol, classId, userId, dateRange.
	GetTeamMemberLogs(ctx context.Context, in *AuditLogRequest, opts ...grpc.CallOption) (grpc.ServerStreamingClient[AuditLog], error)
}

UsersClient is the client API for Users 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 NewUsersClient

func NewUsersClient(cc grpc.ClientConnInterface) UsersClient

type UsersServer

type UsersServer interface {
	// Creates a user and issues a verification email. Required Fields: email, password, name, companyName.
	CreateUser(context.Context, *NewUser) (*NewUserResponse, error)
	// Creates a new user and returns a JWT token. Required Fields: email, password, name, companyName.
	NewUser(context.Context, *NewUser) (*JWT, error)
	// Verifies the user with the email verification code. Required Fields: code.
	Verify(context.Context, *VerifyRequest) (*Boolean, error)
	// Resends the verification email.
	ResendVerificationEmail(context.Context, *emptypb.Empty) (*Boolean, error)
	// Retrieves the authenticated user's profile.
	GetUser(context.Context, *emptypb.Empty) (*GetUserResponse, error)
	// Authenticates the user and returns a JWT token. Required Fields: username, password.
	Login(context.Context, *Credentials) (*JWT, error)
	// Returns the barcode image URL for 2FA setup.
	Get2FaBarcode(context.Context, *emptypb.Empty) (*Url, error)
	// Resets the user's password if a reset code is already obtained. Required Fields: username, password, code.
	ResetPassword(context.Context, *Credentials) (*emptypb.Empty, error)
	// Sends a password reset link to the user's email. Required Fields: username.
	SendPasswordResetLink(context.Context, *Username) (*emptypb.Empty, error)
	// Changes the user's password using a reset token. Required Fields: token, password.
	ChangePassword(context.Context, *PasswordResetInput) (*emptypb.Empty, error)
	// Initiates email change. Verification email is sent to new address. Required Fields: email.
	ChangeEmail(context.Context, *Email) (*emptypb.Empty, error)
	// Confirms and finalizes the email change. Required Fields: email, code.
	ConfirmEmailChange(context.Context, *ConfirmEmailChangeInput) (*emptypb.Empty, error)
	// Updates the company name associated with the account. Required Fields: name.
	UpdateCompanyName(context.Context, *CompanyName) (*emptypb.Empty, error)
	// [DEPRECATED] Retrieves user’s projects using pagination. Required Fields: pagination.
	GetProjectsForUserQueryDeprecated(*Pagination, grpc.ServerStreamingServer[Project]) error
	// [DEPRECATED] Retrieves all company projects using pagination. Required Fields: pagination.
	GetProjectsQueryDeprecated(*Pagination, grpc.ServerStreamingServer[Project]) error
	// Retrieves user’s projects using filters. Required Fields: filters.
	GetProjectsForUserQuery(*Filters, grpc.ServerStreamingServer[Project]) error
	// Retrieves all company projects using filters. Required Fields: filters.
	GetProjectsQuery(*Filters, grpc.ServerStreamingServer[Project]) error
	// Retrieves a project by its UUID. Required Fields: id.
	GetProjectByUuid(context.Context, *Id) (*Project, error)
	// Retrieves a project and template using short code. Required Fields: id.
	GetProjectAndTemplateByShortCode(context.Context, *Id) (*ProjectByShortCodeResult, error)
	// Retrieves projects belonging to a user by status. Required Fields: status.
	GetProjectsForUser(*ProjectStatusFilter, grpc.ServerStreamingServer[Project]) error
	// Retrieves all company projects by status. Required Fields: status.
	GetProjects(*ProjectStatusFilter, grpc.ServerStreamingServer[Project]) error
	// Retrieves the scanner configuration for the user.
	GetScannerConfig(context.Context, *emptypb.Empty) (*ScannerConfiguration, error)
	// Creates a new scanner configuration. Required Fields: ScannerConfiguration fields.
	CreateScannerConfig(context.Context, *ScannerConfiguration) (*emptypb.Empty, error)
	// Updates the existing scanner configuration. Required Fields: ScannerConfiguration fields.
	UpdateScannerConfig(context.Context, *ScannerConfiguration) (*ScannerConfiguration, error)
	// Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
	CreateAuthorizationResource(context.Context, *OAuth2AuthorizationRequest) (*Id, error)
	// Deletes an OAuth2 authorization resource. Required Fields: id.
	DeleteAuthorizationResource(context.Context, *Id) (*emptypb.Empty, error)
	// Refreshes the API secret key for the current user.
	RefreshApiSecret(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// Permanently deletes the user's account and all associated data. Required Fields: password.
	DeleteAccount(context.Context, *DeleteAccountRequest) (*emptypb.Empty, error)
	// Immediately revokes any old gRPC credentials.
	RevokeLegacyCredentials(context.Context, *emptypb.Empty) (*emptypb.Empty, error)
	// Creates a new sub-user account for the company. Required Fields: email, name, password.
	CreateTeamMember(context.Context, *NewTeamMember) (*Id, error)
	// Assigns permissions to a new team member. Required Fields: userId, permissions.
	CreatePermissionsForTeamMember(context.Context, *TeamMemberPermissions) (*Id, error)
	// Updates the entire permissions object for a team member. Required Fields: userId, permissions.
	UpdateTeamMemberPermissions(context.Context, *TeamMemberPermissions) (*TeamMemberPermissions, error)
	// Updates partial permissions for a team member. Required Fields: userId, permissions.
	PatchTeamMemberPermissions(context.Context, *TeamMemberPermissions) (*TeamMemberPermissions, error)
	// Retrieves a team member by ID. Required Fields: id.
	GetTeamMember(context.Context, *Id) (*GetTeamMemberResponse, error)
	// Retrieves all team members.
	GetTeamMembers(*emptypb.Empty, grpc.ServerStreamingServer[ListTeamMembersResponse]) error
	// Deletes a team member. Required Fields: id.
	DeleteTeamMember(context.Context, *Id) (*emptypb.Empty, error)
	// Retrieves access logs for a company or user. Required Fields: protocol, classId, userId, dateRange.
	GetTeamMemberLogs(*AuditLogRequest, grpc.ServerStreamingServer[AuditLog]) error
}

UsersServer is the server API for Users service. All implementations should embed UnimplementedUsersServer for forward compatibility.

type Users_GetProjectsClient

type Users_GetProjectsClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserClient

type Users_GetProjectsForUserClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserQueryClient

type Users_GetProjectsForUserQueryClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserQueryDeprecatedClient

type Users_GetProjectsForUserQueryDeprecatedClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserQueryDeprecatedServer

type Users_GetProjectsForUserQueryDeprecatedServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserQueryServer

type Users_GetProjectsForUserQueryServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsForUserServer

type Users_GetProjectsForUserServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsQueryClient

type Users_GetProjectsQueryClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsQueryDeprecatedClient

type Users_GetProjectsQueryDeprecatedClient = grpc.ServerStreamingClient[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsQueryDeprecatedServer

type Users_GetProjectsQueryDeprecatedServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsQueryServer

type Users_GetProjectsQueryServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetProjectsServer

type Users_GetProjectsServer = grpc.ServerStreamingServer[Project]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetTeamMemberLogsClient added in v1.1.118

type Users_GetTeamMemberLogsClient = grpc.ServerStreamingClient[AuditLog]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetTeamMemberLogsServer added in v1.1.118

type Users_GetTeamMemberLogsServer = grpc.ServerStreamingServer[AuditLog]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetTeamMembersClient added in v1.1.118

type Users_GetTeamMembersClient = grpc.ServerStreamingClient[ListTeamMembersResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type Users_GetTeamMembersServer added in v1.1.118

type Users_GetTeamMembersServer = grpc.ServerStreamingServer[ListTeamMembersResponse]

This type alias is provided for backwards compatibility with existing code that references the prior non-generic stream type by name.

type VerifyRequest

type VerifyRequest struct {

	// @tag: validateGeneric:"required"
	// 22 character passkit user Id.
	Uid string `protobuf:"bytes,1,opt,name=uid,proto3" json:"uid,omitempty" validateGeneric:"required"`
	// @tag: validateGeneric:"required"
	// Token supplied by email to the account email.
	Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty" validateGeneric:"required"`
	// contains filtered or unexported fields
}

Verify request is used to validate a email address for a passkit account.

func (*VerifyRequest) Descriptor deprecated

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

Deprecated: Use VerifyRequest.ProtoReflect.Descriptor instead.

func (*VerifyRequest) GetToken

func (x *VerifyRequest) GetToken() string

func (*VerifyRequest) GetUid

func (x *VerifyRequest) GetUid() string

func (*VerifyRequest) ProtoMessage

func (*VerifyRequest) ProtoMessage()

func (*VerifyRequest) ProtoReflect

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

func (*VerifyRequest) Reset

func (x *VerifyRequest) Reset()

func (*VerifyRequest) String

func (x *VerifyRequest) String() string

type WebhookConfig

type WebhookConfig struct {

	// The destination url for PassKit backend to send the data to.
	// @tag: validateGeneric:"required" validateCreate:"required" validateUpdate:"required"
	TargetUrl string `` /* 150-byte string literal not displayed */
	// The HTTP method to use when calling the webhook (e.g., POST, PUT).
	ActionMethod ActionMethod `protobuf:"varint,2,opt,name=actionMethod,proto3,enum=io.ActionMethod" json:"actionMethod,omitempty"`
	// Set source fields (fields used within the PassKit platform) and destination fields (fields set on the third party app).
	FieldMapping *FieldMapping `protobuf:"bytes,3,opt,name=fieldMapping,proto3" json:"fieldMapping,omitempty"`
	// Used to sign the webhook payload.
	// @tag: validateGeneric:"isdefault" validateCreate:"isdefault" validateUpdate:"isdefault"
	SigningSecret string `` /* 161-byte string literal not displayed */
	// contains filtered or unexported fields
}

Configuration for a webhook endpoint.

func (*WebhookConfig) Descriptor deprecated

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

Deprecated: Use WebhookConfig.ProtoReflect.Descriptor instead.

func (*WebhookConfig) GetActionMethod

func (x *WebhookConfig) GetActionMethod() ActionMethod

func (*WebhookConfig) GetFieldMapping

func (x *WebhookConfig) GetFieldMapping() *FieldMapping

func (*WebhookConfig) GetSigningSecret added in v1.1.97

func (x *WebhookConfig) GetSigningSecret() string

func (*WebhookConfig) GetTargetUrl

func (x *WebhookConfig) GetTargetUrl() string

func (*WebhookConfig) ProtoMessage

func (*WebhookConfig) ProtoMessage()

func (*WebhookConfig) ProtoReflect

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

func (*WebhookConfig) Reset

func (x *WebhookConfig) Reset()

func (*WebhookConfig) String

func (x *WebhookConfig) String() string

type YearlyRecursive

type YearlyRecursive struct {

	// Month (1–12).
	// @tag: validateCreate:"required,min=1,max=12"
	Month int32 `protobuf:"varint,1,opt,name=month,proto3" json:"month,omitempty" validateCreate:"required,min=1,max=12"`
	// Day of the month (1–31).
	// @tag: validateCreate:"min=1,max=31"
	DayOfMonth int32 `protobuf:"varint,2,opt,name=dayOfMonth,proto3" json:"dayOfMonth,omitempty" validateCreate:"min=1,max=31"`
	// Optional hour (0–23).
	// @tag: validateCreate:"min=0,max=23"
	Hour int32 `protobuf:"varint,3,opt,name=hour,proto3" json:"hour,omitempty" validateCreate:"min=0,max=23"`
	// Optional minute (0–59).
	// @tag: validateCreate:"min=0,max=59"
	Minute int32 `protobuf:"varint,4,opt,name=minute,proto3" json:"minute,omitempty" validateCreate:"min=0,max=59"`
	// Optional second (0–59).
	// @tag: validateCreate:"min=0,max=59"
	Second int32 `protobuf:"varint,5,opt,name=second,proto3" json:"second,omitempty" validateCreate:"min=0,max=59"`
	// Determines whether the date applies to the current, previous, or next year.
	// @tag: validateCreate:"required"
	State TimeState `protobuf:"varint,6,opt,name=state,proto3,enum=io.TimeState" json:"state,omitempty" validateCreate:"required"`
	// contains filtered or unexported fields
}

Recurrence rule for yearly repetition.

func (*YearlyRecursive) Descriptor deprecated

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

Deprecated: Use YearlyRecursive.ProtoReflect.Descriptor instead.

func (*YearlyRecursive) GetDayOfMonth

func (x *YearlyRecursive) GetDayOfMonth() int32

func (*YearlyRecursive) GetHour

func (x *YearlyRecursive) GetHour() int32

func (*YearlyRecursive) GetMinute

func (x *YearlyRecursive) GetMinute() int32

func (*YearlyRecursive) GetMonth

func (x *YearlyRecursive) GetMonth() int32

func (*YearlyRecursive) GetSecond

func (x *YearlyRecursive) GetSecond() int32

func (*YearlyRecursive) GetState

func (x *YearlyRecursive) GetState() TimeState

func (*YearlyRecursive) ProtoMessage

func (*YearlyRecursive) ProtoMessage()

func (*YearlyRecursive) ProtoReflect

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

func (*YearlyRecursive) Reset

func (x *YearlyRecursive) Reset()

func (*YearlyRecursive) String

func (x *YearlyRecursive) String() string

Directories

Path Synopsis
Package analytics is a reverse proxy.
Package analytics is a reverse proxy.
Package event_tickets is a reverse proxy.
Package event_tickets is a reverse proxy.
Package flights is a reverse proxy.
Package flights is a reverse proxy.
Package members is a reverse proxy.
Package members is a reverse proxy.
Package raw is a reverse proxy.
Package raw is a reverse proxy.
Package scheduler is a reverse proxy.
Package scheduler is a reverse proxy.
Package single_use_coupons is a reverse proxy.
Package single_use_coupons is a reverse proxy.

Jump to

Keyboard shortcuts

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