passkit-ruby-grpc-sdk 1.1.105 → 1.1.162
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +38 -0
- data/lib/ct/scheduler/scheduler_pb.rb +2 -1
- data/lib/io/analytics/a_rpc_pb.rb +3 -2
- data/lib/io/analytics/a_rpc_services_pb.rb +3 -2
- data/lib/io/certificate/certificate_pb.rb +9 -2
- data/lib/io/common/attributes_pb.rb +2 -2
- data/lib/io/common/batch_update_pb.rb +20 -0
- data/lib/io/common/billing_pb.rb +1 -1
- data/lib/io/common/common_objects_pb.rb +4 -2
- data/lib/io/common/distribution_pb.rb +10 -2
- data/lib/io/common/expiry_pb.rb +1 -1
- data/lib/io/common/featured_actions_pb.rb +16 -0
- data/lib/io/common/filter_pb.rb +2 -1
- data/lib/io/common/integration_pb.rb +2 -1
- data/lib/io/common/links_pb.rb +1 -1
- data/lib/io/common/localization_pb.rb +1 -1
- data/lib/io/common/message_pb.rb +4 -3
- data/lib/io/common/metrics_pb.rb +2 -2
- data/lib/io/common/note_pb.rb +1 -1
- data/lib/io/common/operation_pb.rb +1 -1
- data/lib/io/common/pagination_pb.rb +2 -1
- data/lib/io/common/pass_pb.rb +4 -2
- data/lib/io/common/personal_pb.rb +1 -1
- data/lib/io/common/project_pb.rb +2 -2
- data/lib/io/common/protocols_pb.rb +1 -1
- data/lib/io/common/proximity_pb.rb +2 -1
- data/lib/io/common/reporting_pb.rb +2 -1
- data/lib/io/common/semantics_pb.rb +26 -0
- data/lib/io/common/template_pb.rb +6 -2
- data/lib/io/common/tracking_pb.rb +1 -1
- data/lib/io/common/transaction_pb.rb +2 -1
- data/lib/io/common/useragent_pb.rb +1 -1
- data/lib/io/core/a_rpc_certificates_pb.rb +3 -2
- data/lib/io/core/a_rpc_certificates_services_pb.rb +20 -0
- data/lib/io/core/a_rpc_distribution_pb.rb +4 -2
- data/lib/io/core/a_rpc_distribution_services_pb.rb +12 -0
- data/lib/io/core/a_rpc_images_pb.rb +3 -2
- data/lib/io/core/a_rpc_images_services_pb.rb +24 -1
- data/lib/io/core/a_rpc_messages_pb.rb +2 -1
- data/lib/io/core/a_rpc_messages_services_pb.rb +5 -0
- data/lib/io/core/a_rpc_others_pb.rb +3 -2
- data/lib/io/core/a_rpc_others_services_pb.rb +50 -1
- data/lib/io/core/a_rpc_templates_pb.rb +3 -2
- data/lib/io/core/a_rpc_templates_services_pb.rb +42 -0
- data/lib/io/event_tickets/a_rpc_pb.rb +3 -2
- data/lib/io/event_tickets/a_rpc_services_pb.rb +47 -1
- data/lib/io/event_tickets/event_pb.rb +5 -2
- data/lib/io/event_tickets/production_pb.rb +4 -2
- data/lib/io/event_tickets/ticket_pb.rb +4 -2
- data/lib/io/event_tickets/ticket_type_pb.rb +2 -1
- data/lib/io/event_tickets/venue_pb.rb +4 -2
- data/lib/io/flights/a_rpc_pb.rb +3 -2
- data/lib/io/flights/a_rpc_services_pb.rb +23 -22
- data/lib/io/flights/airport_pb.rb +4 -2
- data/lib/io/flights/barcode_pb.rb +14 -2
- data/lib/io/flights/boarding_pass_pb.rb +3 -2
- data/lib/io/flights/cabin_codes/cabin_codes_pb.rb +1 -1
- data/lib/io/flights/carrier_pb.rb +2 -1
- data/lib/io/flights/flight_designator_pb.rb +4 -8
- data/lib/io/flights/flight_pb.rb +4 -5
- data/lib/io/flights/passenger_pb.rb +3 -2
- data/lib/io/image/image_pb.rb +3 -2
- data/lib/io/member/a_rpc_pb.rb +4 -2
- data/lib/io/member/a_rpc_services_pb.rb +50 -18
- data/lib/io/member/event_pb.rb +2 -2
- data/lib/io/member/member_events_pb.rb +2 -1
- data/lib/io/member/member_pb.rb +3 -2
- data/lib/io/member/program_pb.rb +2 -1
- data/lib/io/member/tier_pb.rb +2 -1
- data/lib/io/raw/a_rpc_pb.rb +3 -2
- data/lib/io/raw/a_rpc_services_pb.rb +14 -1
- data/lib/io/raw/pass_pb.rb +2 -1
- data/lib/io/raw/project_pb.rb +2 -1
- data/lib/io/scheduler/a_rpc_pb.rb +3 -2
- data/lib/io/scheduler/a_rpc_services_pb.rb +8 -0
- data/lib/io/scheduler/scheduler_pb.rb +1 -1
- data/lib/io/single_use_coupons/a_rpc_pb.rb +3 -2
- data/lib/io/single_use_coupons/a_rpc_services_pb.rb +33 -1
- data/lib/io/single_use_coupons/campaign_pb.rb +2 -1
- data/lib/io/single_use_coupons/coupon_pb.rb +2 -1
- data/lib/io/single_use_coupons/offer_pb.rb +3 -2
- data/lib/io/user/user_pb.rb +4 -2
- data/lib/protoc-gen-openapiv2/options/annotations_pb.rb +12 -0
- data/lib/protoc-gen-openapiv2/options/openapiv2_pb.rb +11 -0
- metadata +47 -6
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# source: io/core/a_rpc_messages.proto
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
|
6
7
|
|
|
7
8
|
require 'google/api/annotations_pb'
|
|
8
9
|
require 'google/protobuf/empty_pb'
|
|
@@ -12,7 +13,7 @@ require 'io/common/message_pb'
|
|
|
12
13
|
|
|
13
14
|
descriptor_data = "\n\x1cio/core/a_rpc_messages.proto\x12\x02io\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x17io/common/message.proto2\xd8\x06\n\x08Messages\x12o\n\ngetMessage\x12\x06.io.Id\x1a\x0b.io.Message\"L\x92\x41\x34\x12\x0bGet message\x1a%Gets an single message by message id.\x82\xd3\xe4\x93\x02\x0f\x12\r/message/{id}\x12\x96\x01\n\rcreateMessage\x12\x0b.io.Message\x1a\x06.io.Id\"p\x92\x41Z\x12\x0e\x43reate Message\x1a\x16\x43reates a new message.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.\x82\xd3\xe4\x93\x02\r\"\x08/message:\x01*\x12\xa4\x01\n\rupdateMessage\x12\x0b.io.Message\x1a\x16.google.protobuf.Empty\"n\x92\x41S\x12\x0eUpdate Message\x1a\x0fUpdate message.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.\x82\xd3\xe4\x93\x02\x12\x1a\r/message/{id}:\x01*\x12\xb4\x01\n\rdeleteMessage\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"\x82\x01\x92\x41j\x12\x0e\x44\x65lete Message\x1a\x32\x44\x65leting a message will remove it from all passes.J$\n\x03\x34\x30\x34\x12\x1d\n\x1bMessage could not be found.\x82\xd3\xe4\x93\x02\x0f*\r/message/{id}\x12\xe3\x01\n\x0bsendMessage\x12\x16.io.SendMessageRequest\x1a\x17.io.SendMessageResponse\"\xa2\x01\x92\x41\x86\x01\x12\x0cSend Message\x1a\x44Sends a message to an array of passIds, or to every pass in a class.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.\x82\xd3\xe4\x93\x02\x12\"\r/message/send:\x01*BG\n\x10\x63om.passkit.grpcZ$stash.passkit.com/io/model/sdk/go/io\xaa\x02\x0cPassKit.Grpcb\x06proto3"
|
|
14
15
|
|
|
15
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
16
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
16
17
|
pool.add_serialized_file(descriptor_data)
|
|
17
18
|
|
|
18
19
|
module Io
|
|
@@ -14,10 +14,15 @@ module Io
|
|
|
14
14
|
self.unmarshal_class_method = :decode
|
|
15
15
|
self.service_name = 'io.Messages'
|
|
16
16
|
|
|
17
|
+
# Retrieves a single message by its ID. Required Fields: id.
|
|
17
18
|
rpc :getMessage, ::Io::Id, ::Io::Message
|
|
19
|
+
# Creates a new message that can be linked to a pass or class. Required Fields: id.
|
|
18
20
|
rpc :createMessage, ::Io::Message, ::Io::Id
|
|
21
|
+
# Updates an existing message by ID. Required Fields: id.
|
|
19
22
|
rpc :updateMessage, ::Io::Message, ::Google::Protobuf::Empty
|
|
23
|
+
# Deletes a message by its ID. Required Fields: id. Note: Deleting a message removes it from all linked passes.
|
|
20
24
|
rpc :deleteMessage, ::Io::Id, ::Google::Protobuf::Empty
|
|
25
|
+
# Sends a message to specified pass IDs or to all passes in a class. Required: passId, protocol.
|
|
21
26
|
rpc :sendMessage, ::Io::SendMessageRequest, ::Io::SendMessageResponse
|
|
22
27
|
end
|
|
23
28
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# source: io/core/a_rpc_others.proto
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
|
6
7
|
|
|
7
8
|
require 'google/api/annotations_pb'
|
|
8
9
|
require 'google/protobuf/empty_pb'
|
|
@@ -14,9 +15,9 @@ require 'io/common/integration_pb'
|
|
|
14
15
|
require 'io/user/user_pb'
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
descriptor_data = "\n\x1aio/core/a_rpc_others.proto\x12\x02io\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x17io/common/project.proto\x1a\x1aio/common/pagination.proto\x1a\x16io/common/filter.proto\x1a\x1bio/common/integration.proto\x1a\x12io/user/user.proto2\xa2)\n\x05Users\x12@\n\ncreateUser\x12\x0b.io.NewUser\x1a\x13.io.NewUserResponse\"\x10\x82\xd3\xe4\x93\x02\n\"\x05/user:\x01*\x12\x35\n\x07newUser\x12\x0b.io.NewUser\x1a\x07.io.JWT\"\x14\x82\xd3\xe4\x93\x02\x0e\"\t/user/new:\x01*\x12\x41\n\x06verify\x12\x11.io.VerifyRequest\x1a\x0b.io.Boolean\"\x17\x82\xd3\xe4\x93\x02\x11\x1a\x0c/user/verify:\x01*\x12^\n\x17resendVerificationEmail\x12\x16.google.protobuf.Empty\x1a\x0b.io.Boolean\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/user/verify/resend:\x01*\x12M\n\x07getUser\x12\x16.google.protobuf.Empty\x1a\x13.io.GetUserResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/user/profile\x12\x34\n\x05login\x12\x0f.io.Credentials\x1a\x07.io.JWT\"\x11\x82\xd3\xe4\x93\x02\x0b\"\x06/login:\x01*\x12J\n\rget2faBarcode\x12\x16.google.protobuf.Empty\x1a\x07.io.Url\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/user/2faBarcode\x12P\n\rresetPassword\x12\x0f.io.Credentials\x1a\x16.google.protobuf.Empty\"\x16\x82\xd3\xe4\x93\x02\x10\x1a\x0b/user/reset:\x01*\x12^\n\x15sendPasswordResetLink\x12\x0c.io.Username\x1a\x16.google.protobuf.Empty\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/user/reset/password:\x01*\x12\x61\n\x0e\x63hangePassword\x12\x16.io.PasswordResetInput\x1a\x16.google.protobuf.Empty\"\x1f\x82\xd3\xe4\x93\x02\x19\x1a\x14/user/reset/password:\x01*\x12N\n\x0b\x63hangeEmail\x12\t.io.Email\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/user/reset/email:\x01*\x12g\n\x12\x63onfirmEmailChange\x12\x1b.io.ConfirmEmailChangeInput\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\x1a\x11/user/reset/email:\x01*\x12[\n\x11updateCompanyName\x12\x0f.io.CompanyName\x1a\x16.google.protobuf.Empty\"\x1d\x82\xd3\xe4\x93\x02\x17\x1a\x12/user/company/name:\x01*\x12`\n!getProjectsForUserQueryDeprecated\x12\x0e.io.Pagination\x1a\x0b.io.Project\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/projects/user/query0\x01\x12T\n\x1agetProjectsQueryDeprecated\x12\x0e.io.Pagination\x1a\x0b.io.Project\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/projects/query0\x01\x12U\n\x17getProjectsForUserQuery\x12\x0b.io.Filters\x1a\x0b.io.Project\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/projects/user/list:\x01*0\x01\x12I\n\x10getProjectsQuery\x12\x0b.io.Filters\x1a\x0b.io.Project\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/projects/list:\x01*0\x01\x12\x42\n\x10getProjectByUuid\x12\x06.io.Id\x1a\x0b.io.Project\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/projects/id/{id}\x12\x63\n getProjectAndTemplateByShortCode\x12\x06.io.Id\x1a\x1c.io.ProjectByShortCodeResult\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/projects/sc/{id}\x12]\n\x12getProjectsForUser\x12\x17.io.ProjectStatusFilter\x1a\x0b.io.Project\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/projects/user/{status}0\x01\x12Q\n\x0bgetProjects\x12\x17.io.ProjectStatusFilter\x1a\x0b.io.Project\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/projects/{status}0\x01\x12[\n\x10getScannerConfig\x12\x16.google.protobuf.Empty\x1a\x18.io.ScannerConfiguration\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/user/scanner\x12\x61\n\x13\x63reateScannerConfig\x12\x18.io.ScannerConfiguration\x1a\x16.google.protobuf.Empty\"\x18\x82\xd3\xe4\x93\x02\x12\"\r/user/scanner:\x01*\x12\x63\n\x13updateScannerConfig\x12\x18.io.ScannerConfiguration\x1a\x18.io.ScannerConfiguration\"\x18\x82\xd3\xe4\x93\x02\x12\x1a\r/user/scanner:\x01*\x12\xad\x02\n\x1b\x63reateAuthorizationResource\x12\x1e.io.OAuth2AuthorizationRequest\x1a\x06.io.Id\"\xe5\x01\x92\x41\xcb\x01\x12-Requests an access token from an external API\x1a\x32\x43reates a record of an oauth2 access token requestJ0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x10\"\x0b/user/oauth:\x01*\x12\xf9\x01\n\x1b\x64\x65leteAuthorizationResource\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"\xb9\x01\x92\x41\x9d\x01\x12\x1d\x44\x65lete Authorization Resource\x1a:Deletes an oauth2 authorization resource from the databaseJ!\n\x03\x34\x30\x33\x12\x1a\n\x18User lacks authorizationJ\x1d\n\x03\x34\x30\x34\x12\x16\n\x14Record was not found\x82\xd3\xe4\x93\x02\x12*\x10/user/oauth/{id}\x12\xdb\x02\n\x10refreshApiSecret\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x96\x02\x92\x41\xf6\x01\x12\x12Refresh API Secret\x1a\xbc\x01Generates a new API secret. Note that the existing certificate will not be able to be used after this method is invoked. Users may also need to log out and log back into the PassKit PortalJ!\n\x03\x34\x30\x33\x12\x1a\n\x18User lacks authorization\x82\xd3\xe4\x93\x02\x16\x12\x14/user/secret/refresh\x12\xbf\x05\n\rdeleteAccount\x12\x18.io.DeleteAccountRequest\x1a\x16.google.protobuf.Empty\"\xfb\x04\x92\x41\xdf\x04\x12\x0e\x44\x65lete Account\x1a\xd3\x03Permanently and irrecoverably delete a PassKit account, including all projects, assets, passes and pass holder information. All current passes will be invalidated making them impossible to be reactivate. This action cannot be undone. A confirmation will be sent by email once the request has been executed. To delete your account, please delete all of projects belong to the owner and subusers\' accounts. Only users with owner permission can execute account deletion.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x12*\r/user/account:\x01*\x12\xa3\x04\n\x17revokeLegacyCredentials\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\xd7\x03\x92\x41\xb7\x03\x12\x16Revoke Old Credentials\x1a\xbf\x02When replacing gRPC certificates and private keys, the old certificates remain valid for a period of 30 days to allow you to update your integration with the new keys. If you wish to revoke the keys earlier this, then this endpoint will immediately revoke any old certificates that were replaced less than 30 days ago.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x16*\x11/user/credentials:\x01*\x12\x44\n\x10\x63reateTeamMember\x12\x11.io.NewTeamMember\x1a\x06.io.Id\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/user/team:\x01*\x12\x66\n\x1e\x63reatePermissionsForTeamMember\x12\x19.io.TeamMemberPermissions\x1a\x06.io.Id\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/user/team/permissions:\x01*\x12j\n\x1bupdateTeamMemberPermissions\x12\x19.io.TeamMemberPermissions\x1a\x19.io.TeamMemberPermissions\"\x15\x82\xd3\xe4\x93\x02\x0f\x1a\n/user/team:\x01*\x12i\n\x1apatchTeamMemberPermissions\x12\x19.io.TeamMemberPermissions\x1a\x19.io.TeamMemberPermissions\"\x15\x82\xd3\xe4\x93\x02\x0f\x32\n/user/team:\x01*\x12K\n\rgetTeamMember\x12\x06.io.Id\x1a\x19.io.GetTeamMemberResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/user/team/{id}\x12[\n\x0egetTeamMembers\x12\x16.google.protobuf.Empty\x1a\x1b.io.ListTeamMembersResponse\"\x12\x82\xd3\xe4\x93\x02\x0c\x12\n/user/team0\x01\x12K\n\x10\x64\x65leteTeamMember\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11*\x0f/user/team/{id}\x12\xb8\x03\n\x11getTeamMemberLogs\x12\x13.io.AuditLogRequest\x1a\x0c.io.AuditLog\"\xfd\x02\x92\x41\xdf\x02\x12\x14Retrieve log entries\x1a\xe9\x01Retrieves access log records for a company or a user. Team members are only able to retrieve their own logs. Note that this may be a slow running call. If called over REST, the response time may be longer than request timeout period.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x14\"\x0f/user/team/logs:\x01*0\x01\x32\xc3\x1a\n\x0cIntegrations\x12\x81\x02\n\x12\x63reateIntegrations\x12\x16.io.IntegrationConfigs\x1a\x06.io.Id\"\xca\x01\x92\x41\xa2\x01\x12\x13\x43reate Integrations\x1a#Sets up integration configurations.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x1e\"\x19/integrations/integration:\x01*\x12\xf7\x01\n\x0fgetIntegrations\x12\x13.io.ProtocolIdInput\x1a\x16.io.IntegrationConfigs\"\xb6\x01\x92\x41}\x12\x10Get Integrations\x1a%Retrieves integration configurations.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30\x12./integrations/integration/{protocol}/{classId}\x12\xe3\x02\n\x12updateIntegrations\x12\x16.io.IntegrationConfigs\x1a\x06.io.Id\"\xac\x02\x92\x41\x84\x02\x12\x13Update Integrations\x1a\x1eUpdates an integration record.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.JW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.\x82\xd3\xe4\x93\x02\x1e\x1a\x19/integrations/integration:\x01*\x12\xf5\x01\n\x12\x64\x65leteIntegrations\x12\x13.io.ProtocolIdInput\x1a\x16.google.protobuf.Empty\"\xb1\x01\x92\x41x\x12\x13\x44\x65lete Integrations\x1a\x1d\x44\x65letes an integration recordJ\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30*./integrations/integration/{protocol}/{classId}\x12\xc8\x02\n\x16\x63reateSinkSubscription\x12\x14.io.SinkSubscription\x1a\x06.io.Id\"\x8f\x02\x92\x41\xee\x01\x12\x18\x43reate Sink Subscription\x1ajCreates a sink subscription so that PassKit can send a message to a URL after certain event has completed.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x17\"\x12/integrations/sink:\x01*\x12\x83\x02\n\x13getSinkSubscription\x12\x17.io.SubscriptionRequest\x1a\x14.io.SinkSubscription\"\xbc\x01\x92\x41\x82\x01\x12\x15Get Sink Subscription\x1a%Retrieves a sink subscription config.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30\x12./integrations/sink/{protocol}/{subscriptionId}\x12\xd6\x02\n\x1flistSinkSubscriptionsDeprecated\x12\x19.io.ListRequestDeprecated\x1a\x14.io.SinkSubscription\"\xff\x01\x92\x41\xdb\x01\x12$List Sink Subscriptions [DEPRECATED]\x1ao[DEPRECATED: OR operator is not supported] List all sink subscriptions for a given segment. Support pagination.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1a\x12\x18/integrations/sinks/list0\x01\x12\x8d\x02\n\x15listSinkSubscriptions\x12\x0f.io.ListRequest\x1a\x14.io.SinkSubscription\"\xca\x01\x92\x41\xa3\x01\x12\x17List Sink Subscriptions\x1a\x44List all sink subscriptions for a given segment. Support pagination.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1d\"\x18/integrations/sinks/list:\x01*0\x01\x12\xe8\x02\n\x16updateSinkSubscription\x12\x14.io.SinkSubscription\x1a\x06.io.Id\"\xaf\x02\x92\x41\x8e\x02\x12\x18Update Sink Subscription\x1a#Updates a sink subscription record.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.JW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.\x82\xd3\xe4\x93\x02\x17\x1a\x12/integrations/sink:\x01*\x12\x89\x02\n\x16\x64\x65leteSinkSubscription\x12\x17.io.SubscriptionRequest\x1a\x16.google.protobuf.Empty\"\xbd\x01\x92\x41\x83\x01\x12\x18\x44\x65lete Sink Subscription\x1a#Deletes an sink subscription recordJ\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30*./integrations/sink/{protocol}/{subscriptionId}\x12\xef\x01\n\x1agetSampleSubscriptionEvent\x12\x06.io.Id\x1a\x14.io.SinkSubscription\"\xb2\x01\x92\x41\x8d\x01\x12\x1dGet Sample Subscription Event\x1a(Retrieves a sample subscription payload.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1b\x12\x19/integrations/sink/sample\x12\xb3\x01\n\x0e\x63\x61llDynamicApi\x12\x13.io.DynamicApiInput\x1a\x16.io.DynamicApiResponse\"t\x92\x41U\x12\x10\x43\x61ll Dynamic API\x1a\x41Makes an API call to the third party app integrated with PassKit.\x82\xd3\xe4\x93\x02\x16\"\x11/integrations/api:\x01*BG\n\x10\x63om.passkit.grpcZ$stash.passkit.com/io/model/sdk/go/io\xaa\x02\x0cPassKit.Grpcb\x06proto3"
|
|
18
|
+
descriptor_data = "\n\x1aio/core/a_rpc_others.proto\x12\x02io\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x17io/common/project.proto\x1a\x1aio/common/pagination.proto\x1a\x16io/common/filter.proto\x1a\x1bio/common/integration.proto\x1a\x12io/user/user.proto2\xf7)\n\x05Users\x12@\n\ncreateUser\x12\x0b.io.NewUser\x1a\x13.io.NewUserResponse\"\x10\x82\xd3\xe4\x93\x02\n\"\x05/user:\x01*\x12\x35\n\x07newUser\x12\x0b.io.NewUser\x1a\x07.io.JWT\"\x14\x82\xd3\xe4\x93\x02\x0e\"\t/user/new:\x01*\x12\x41\n\x06verify\x12\x11.io.VerifyRequest\x1a\x0b.io.Boolean\"\x17\x82\xd3\xe4\x93\x02\x11\x1a\x0c/user/verify:\x01*\x12^\n\x17resendVerificationEmail\x12\x16.google.protobuf.Empty\x1a\x0b.io.Boolean\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/user/verify/resend:\x01*\x12M\n\x07getUser\x12\x16.google.protobuf.Empty\x1a\x13.io.GetUserResponse\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/user/profile\x12\x34\n\x05login\x12\x0f.io.Credentials\x1a\x07.io.JWT\"\x11\x82\xd3\xe4\x93\x02\x0b\"\x06/login:\x01*\x12J\n\rget2faBarcode\x12\x16.google.protobuf.Empty\x1a\x07.io.Url\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/user/2faBarcode\x12P\n\rresetPassword\x12\x0f.io.Credentials\x1a\x16.google.protobuf.Empty\"\x16\x82\xd3\xe4\x93\x02\x10\x1a\x0b/user/reset:\x01*\x12^\n\x15sendPasswordResetLink\x12\x0c.io.Username\x1a\x16.google.protobuf.Empty\"\x1f\x82\xd3\xe4\x93\x02\x19\"\x14/user/reset/password:\x01*\x12\x61\n\x0e\x63hangePassword\x12\x16.io.PasswordResetInput\x1a\x16.google.protobuf.Empty\"\x1f\x82\xd3\xe4\x93\x02\x19\x1a\x14/user/reset/password:\x01*\x12S\n\x11\x63hangeOwnPassword\x12\x1a.io.ChangeOwnPasswordInput\x1a\x07.io.JWT\"\x19\x82\xd3\xe4\x93\x02\x13\x1a\x0e/user/password:\x01*\x12N\n\x0b\x63hangeEmail\x12\t.io.Email\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\"\x11/user/reset/email:\x01*\x12g\n\x12\x63onfirmEmailChange\x12\x1b.io.ConfirmEmailChangeInput\x1a\x16.google.protobuf.Empty\"\x1c\x82\xd3\xe4\x93\x02\x16\x1a\x11/user/reset/email:\x01*\x12[\n\x11updateCompanyName\x12\x0f.io.CompanyName\x1a\x16.google.protobuf.Empty\"\x1d\x82\xd3\xe4\x93\x02\x17\x1a\x12/user/company/name:\x01*\x12`\n!getProjectsForUserQueryDeprecated\x12\x0e.io.Pagination\x1a\x0b.io.Project\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/projects/user/query0\x01\x12T\n\x1agetProjectsQueryDeprecated\x12\x0e.io.Pagination\x1a\x0b.io.Project\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/projects/query0\x01\x12U\n\x17getProjectsForUserQuery\x12\x0b.io.Filters\x1a\x0b.io.Project\"\x1e\x82\xd3\xe4\x93\x02\x18\"\x13/projects/user/list:\x01*0\x01\x12I\n\x10getProjectsQuery\x12\x0b.io.Filters\x1a\x0b.io.Project\"\x19\x82\xd3\xe4\x93\x02\x13\"\x0e/projects/list:\x01*0\x01\x12\x42\n\x10getProjectByUuid\x12\x06.io.Id\x1a\x0b.io.Project\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/projects/id/{id}\x12\x63\n getProjectAndTemplateByShortCode\x12\x06.io.Id\x1a\x1c.io.ProjectByShortCodeResult\"\x19\x82\xd3\xe4\x93\x02\x13\x12\x11/projects/sc/{id}\x12]\n\x12getProjectsForUser\x12\x17.io.ProjectStatusFilter\x1a\x0b.io.Project\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/projects/user/{status}0\x01\x12Q\n\x0bgetProjects\x12\x17.io.ProjectStatusFilter\x1a\x0b.io.Project\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/projects/{status}0\x01\x12[\n\x10getScannerConfig\x12\x16.google.protobuf.Empty\x1a\x18.io.ScannerConfiguration\"\x15\x82\xd3\xe4\x93\x02\x0f\x12\r/user/scanner\x12\x61\n\x13\x63reateScannerConfig\x12\x18.io.ScannerConfiguration\x1a\x16.google.protobuf.Empty\"\x18\x82\xd3\xe4\x93\x02\x12\"\r/user/scanner:\x01*\x12\x63\n\x13updateScannerConfig\x12\x18.io.ScannerConfiguration\x1a\x18.io.ScannerConfiguration\"\x18\x82\xd3\xe4\x93\x02\x12\x1a\r/user/scanner:\x01*\x12\xad\x02\n\x1b\x63reateAuthorizationResource\x12\x1e.io.OAuth2AuthorizationRequest\x1a\x06.io.Id\"\xe5\x01\x92\x41\xcb\x01\x12-Requests an access token from an external API\x1a\x32\x43reates a record of an oauth2 access token requestJ0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x10\"\x0b/user/oauth:\x01*\x12\xf9\x01\n\x1b\x64\x65leteAuthorizationResource\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"\xb9\x01\x92\x41\x9d\x01\x12\x1d\x44\x65lete Authorization Resource\x1a:Deletes an oauth2 authorization resource from the databaseJ!\n\x03\x34\x30\x33\x12\x1a\n\x18User lacks authorizationJ\x1d\n\x03\x34\x30\x34\x12\x16\n\x14Record was not found\x82\xd3\xe4\x93\x02\x12*\x10/user/oauth/{id}\x12\xdb\x02\n\x10refreshApiSecret\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\x96\x02\x92\x41\xf6\x01\x12\x12Refresh API Secret\x1a\xbc\x01Generates a new API secret. Note that the existing certificate will not be able to be used after this method is invoked. Users may also need to log out and log back into the PassKit PortalJ!\n\x03\x34\x30\x33\x12\x1a\n\x18User lacks authorization\x82\xd3\xe4\x93\x02\x16\x12\x14/user/secret/refresh\x12\xbf\x05\n\rdeleteAccount\x12\x18.io.DeleteAccountRequest\x1a\x16.google.protobuf.Empty\"\xfb\x04\x92\x41\xdf\x04\x12\x0e\x44\x65lete Account\x1a\xd3\x03Permanently and irrecoverably delete a PassKit account, including all projects, assets, passes and pass holder information. All current passes will be invalidated making them impossible to be reactivate. This action cannot be undone. A confirmation will be sent by email once the request has been executed. To delete your account, please delete all of projects belong to the owner and subusers\' accounts. Only users with owner permission can execute account deletion.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x12*\r/user/account:\x01*\x12\xa3\x04\n\x17revokeLegacyCredentials\x12\x16.google.protobuf.Empty\x1a\x16.google.protobuf.Empty\"\xd7\x03\x92\x41\xb7\x03\x12\x16Revoke Old Credentials\x1a\xbf\x02When replacing gRPC certificates and private keys, the old certificates remain valid for a period of 30 days to allow you to update your integration with the new keys. If you wish to revoke the keys earlier this, then this endpoint will immediately revoke any old certificates that were replaced less than 30 days ago.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x16*\x11/user/credentials:\x01*\x12\x44\n\x10\x63reateTeamMember\x12\x11.io.NewTeamMember\x1a\x06.io.Id\"\x15\x82\xd3\xe4\x93\x02\x0f\"\n/user/team:\x01*\x12\x66\n\x1e\x63reatePermissionsForTeamMember\x12\x19.io.TeamMemberPermissions\x1a\x06.io.Id\"!\x82\xd3\xe4\x93\x02\x1b\"\x16/user/team/permissions:\x01*\x12j\n\x1bupdateTeamMemberPermissions\x12\x19.io.TeamMemberPermissions\x1a\x19.io.TeamMemberPermissions\"\x15\x82\xd3\xe4\x93\x02\x0f\x1a\n/user/team:\x01*\x12i\n\x1apatchTeamMemberPermissions\x12\x19.io.TeamMemberPermissions\x1a\x19.io.TeamMemberPermissions\"\x15\x82\xd3\xe4\x93\x02\x0f\x32\n/user/team:\x01*\x12K\n\rgetTeamMember\x12\x06.io.Id\x1a\x19.io.GetTeamMemberResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/user/team/{id}\x12[\n\x0egetTeamMembers\x12\x16.google.protobuf.Empty\x1a\x1b.io.ListTeamMembersResponse\"\x12\x82\xd3\xe4\x93\x02\x0c\x12\n/user/team0\x01\x12K\n\x10\x64\x65leteTeamMember\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"\x17\x82\xd3\xe4\x93\x02\x11*\x0f/user/team/{id}\x12\xb8\x03\n\x11getTeamMemberLogs\x12\x13.io.AuditLogRequest\x1a\x0c.io.AuditLog\"\xfd\x02\x92\x41\xdf\x02\x12\x14Retrieve log entries\x1a\xe9\x01Retrieves access log records for a company or a user. Team members are only able to retrieve their own logs. Note that this may be a slow running call. If called over REST, the response time may be longer than request timeout period.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.J%\n\x03\x35\x30\x30\x12\x1e\n\x1cThere was an internal error.\x82\xd3\xe4\x93\x02\x14\"\x0f/user/team/logs:\x01*0\x01\x32\xc3\x1a\n\x0cIntegrations\x12\x81\x02\n\x12\x63reateIntegrations\x12\x16.io.IntegrationConfigs\x1a\x06.io.Id\"\xca\x01\x92\x41\xa2\x01\x12\x13\x43reate Integrations\x1a#Sets up integration configurations.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x1e\"\x19/integrations/integration:\x01*\x12\xf7\x01\n\x0fgetIntegrations\x12\x13.io.ProtocolIdInput\x1a\x16.io.IntegrationConfigs\"\xb6\x01\x92\x41}\x12\x10Get Integrations\x1a%Retrieves integration configurations.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30\x12./integrations/integration/{protocol}/{classId}\x12\xe3\x02\n\x12updateIntegrations\x12\x16.io.IntegrationConfigs\x1a\x06.io.Id\"\xac\x02\x92\x41\x84\x02\x12\x13Update Integrations\x1a\x1eUpdates an integration record.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.JW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.\x82\xd3\xe4\x93\x02\x1e\x1a\x19/integrations/integration:\x01*\x12\xf5\x01\n\x12\x64\x65leteIntegrations\x12\x13.io.ProtocolIdInput\x1a\x16.google.protobuf.Empty\"\xb1\x01\x92\x41x\x12\x13\x44\x65lete Integrations\x1a\x1d\x44\x65letes an integration recordJ\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30*./integrations/integration/{protocol}/{classId}\x12\xc8\x02\n\x16\x63reateSinkSubscription\x12\x14.io.SinkSubscription\x1a\x06.io.Id\"\x8f\x02\x92\x41\xee\x01\x12\x18\x43reate Sink Subscription\x1ajCreates a sink subscription so that PassKit can send a message to a URL after certain event has completed.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J4\n\x03\x34\x30\x33\x12-\n+Returned when the user lacks authorization.\x82\xd3\xe4\x93\x02\x17\"\x12/integrations/sink:\x01*\x12\x83\x02\n\x13getSinkSubscription\x12\x17.io.SubscriptionRequest\x1a\x14.io.SinkSubscription\"\xbc\x01\x92\x41\x82\x01\x12\x15Get Sink Subscription\x1a%Retrieves a sink subscription config.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30\x12./integrations/sink/{protocol}/{subscriptionId}\x12\xd6\x02\n\x1flistSinkSubscriptionsDeprecated\x12\x19.io.ListRequestDeprecated\x1a\x14.io.SinkSubscription\"\xff\x01\x92\x41\xdb\x01\x12$List Sink Subscriptions [DEPRECATED]\x1ao[DEPRECATED: OR operator is not supported] List all sink subscriptions for a given segment. Support pagination.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1a\x12\x18/integrations/sinks/list0\x01\x12\x8d\x02\n\x15listSinkSubscriptions\x12\x0f.io.ListRequest\x1a\x14.io.SinkSubscription\"\xca\x01\x92\x41\xa3\x01\x12\x17List Sink Subscriptions\x1a\x44List all sink subscriptions for a given segment. Support pagination.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1d\"\x18/integrations/sinks/list:\x01*0\x01\x12\xe8\x02\n\x16updateSinkSubscription\x12\x14.io.SinkSubscription\x1a\x06.io.Id\"\xaf\x02\x92\x41\x8e\x02\x12\x18Update Sink Subscription\x1a#Updates a sink subscription record.J0\n\x03\x34\x30\x30\x12)\n\'There is a problem with the input data.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.JW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.\x82\xd3\xe4\x93\x02\x17\x1a\x12/integrations/sink:\x01*\x12\x89\x02\n\x16\x64\x65leteSinkSubscription\x12\x17.io.SubscriptionRequest\x1a\x16.google.protobuf.Empty\"\xbd\x01\x92\x41\x83\x01\x12\x18\x44\x65lete Sink Subscription\x1a#Deletes an sink subscription recordJ\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x30*./integrations/sink/{protocol}/{subscriptionId}\x12\xef\x01\n\x1agetSampleSubscriptionEvent\x12\x06.io.Id\x1a\x14.io.SinkSubscription\"\xb2\x01\x92\x41\x8d\x01\x12\x1dGet Sample Subscription Event\x1a(Retrieves a sample subscription payload.J\"\n\x03\x34\x30\x33\x12\x1b\n\x19User lacks authorization.J\x1e\n\x03\x34\x30\x34\x12\x17\n\x15Record was not found.\x82\xd3\xe4\x93\x02\x1b\x12\x19/integrations/sink/sample\x12\xb3\x01\n\x0e\x63\x61llDynamicApi\x12\x13.io.DynamicApiInput\x1a\x16.io.DynamicApiResponse\"t\x92\x41U\x12\x10\x43\x61ll Dynamic API\x1a\x41Makes an API call to the third party app integrated with PassKit.\x82\xd3\xe4\x93\x02\x16\"\x11/integrations/api:\x01*BG\n\x10\x63om.passkit.grpcZ$stash.passkit.com/io/model/sdk/go/io\xaa\x02\x0cPassKit.Grpcb\x06proto3"
|
|
18
19
|
|
|
19
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
21
|
pool.add_serialized_file(descriptor_data)
|
|
21
22
|
|
|
22
23
|
module Io
|
|
@@ -14,44 +14,81 @@ module Io
|
|
|
14
14
|
self.unmarshal_class_method = :decode
|
|
15
15
|
self.service_name = 'io.Users'
|
|
16
16
|
|
|
17
|
+
# Creates a user and issues a verification email. Required Fields: email, password, name, companyName.
|
|
17
18
|
rpc :createUser, ::Io::NewUser, ::Io::NewUserResponse
|
|
19
|
+
# Creates a new user and returns a JWT token. Required Fields: email, password, name, companyName.
|
|
18
20
|
rpc :newUser, ::Io::NewUser, ::Io::JWT
|
|
21
|
+
# Verifies the user with the email verification code. Required Fields: code.
|
|
19
22
|
rpc :verify, ::Io::VerifyRequest, ::Io::Boolean
|
|
23
|
+
# Resends the verification email.
|
|
20
24
|
rpc :resendVerificationEmail, ::Google::Protobuf::Empty, ::Io::Boolean
|
|
25
|
+
# Retrieves the authenticated user's profile.
|
|
21
26
|
rpc :getUser, ::Google::Protobuf::Empty, ::Io::GetUserResponse
|
|
27
|
+
# Authenticates the user and returns a JWT token. Required Fields: username, password.
|
|
22
28
|
rpc :login, ::Io::Credentials, ::Io::JWT
|
|
29
|
+
# Returns the barcode image URL for 2FA setup.
|
|
23
30
|
rpc :get2faBarcode, ::Google::Protobuf::Empty, ::Io::Url
|
|
31
|
+
# Resets the user's password if a reset code is already obtained. Required Fields: username, password, code.
|
|
24
32
|
rpc :resetPassword, ::Io::Credentials, ::Google::Protobuf::Empty
|
|
33
|
+
# Sends a password reset link to the user's email. Required Fields: username.
|
|
25
34
|
rpc :sendPasswordResetLink, ::Io::Username, ::Google::Protobuf::Empty
|
|
35
|
+
# Changes the user's password using a reset token. Required Fields: token, password.
|
|
26
36
|
rpc :changePassword, ::Io::PasswordResetInput, ::Google::Protobuf::Empty
|
|
37
|
+
# Changes the currently authenticated user's password. Requires a valid auth token and the current password. Required Fields: currentPassword, newPassword, confirmNewPassword.
|
|
38
|
+
rpc :changeOwnPassword, ::Io::ChangeOwnPasswordInput, ::Io::JWT
|
|
39
|
+
# Initiates email change. Verification email is sent to new address. Required Fields: email.
|
|
27
40
|
rpc :changeEmail, ::Io::Email, ::Google::Protobuf::Empty
|
|
41
|
+
# Confirms and finalizes the email change. Required Fields: email, code.
|
|
28
42
|
rpc :confirmEmailChange, ::Io::ConfirmEmailChangeInput, ::Google::Protobuf::Empty
|
|
43
|
+
# Updates the company name associated with the account. Required Fields: name.
|
|
29
44
|
rpc :updateCompanyName, ::Io::CompanyName, ::Google::Protobuf::Empty
|
|
45
|
+
# [DEPRECATED] Retrieves user’s projects using pagination. Required Fields: pagination.
|
|
30
46
|
rpc :getProjectsForUserQueryDeprecated, ::Io::Pagination, stream(::Io::Project)
|
|
47
|
+
# [DEPRECATED] Retrieves all company projects using pagination. Required Fields: pagination.
|
|
31
48
|
rpc :getProjectsQueryDeprecated, ::Io::Pagination, stream(::Io::Project)
|
|
49
|
+
# Retrieves user’s projects using filters. Required Fields: filters.
|
|
32
50
|
rpc :getProjectsForUserQuery, ::Io::Filters, stream(::Io::Project)
|
|
51
|
+
# Retrieves all company projects using filters. Required Fields: filters.
|
|
33
52
|
rpc :getProjectsQuery, ::Io::Filters, stream(::Io::Project)
|
|
53
|
+
# Retrieves a project by its UUID. Required Fields: id.
|
|
34
54
|
rpc :getProjectByUuid, ::Io::Id, ::Io::Project
|
|
55
|
+
# Retrieves a project and template using short code. Required Fields: id.
|
|
35
56
|
rpc :getProjectAndTemplateByShortCode, ::Io::Id, ::Io::ProjectByShortCodeResult
|
|
57
|
+
# Retrieves projects belonging to a user by status. Required Fields: status.
|
|
36
58
|
rpc :getProjectsForUser, ::Io::ProjectStatusFilter, stream(::Io::Project)
|
|
59
|
+
# Retrieves all company projects by status. Required Fields: status.
|
|
37
60
|
rpc :getProjects, ::Io::ProjectStatusFilter, stream(::Io::Project)
|
|
61
|
+
# Retrieves the scanner configuration for the user.
|
|
38
62
|
rpc :getScannerConfig, ::Google::Protobuf::Empty, ::Io::ScannerConfiguration
|
|
63
|
+
# Creates a new scanner configuration. Required Fields: ScannerConfiguration fields.
|
|
39
64
|
rpc :createScannerConfig, ::Io::ScannerConfiguration, ::Google::Protobuf::Empty
|
|
65
|
+
# Updates the existing scanner configuration. Required Fields: ScannerConfiguration fields.
|
|
40
66
|
rpc :updateScannerConfig, ::Io::ScannerConfiguration, ::Io::ScannerConfiguration
|
|
41
67
|
# Creates a new oauth2 resource, the returned id is NOT the access token used to make requests on the users behalf.
|
|
42
68
|
rpc :createAuthorizationResource, ::Io::OAuth2AuthorizationRequest, ::Io::Id
|
|
69
|
+
# Deletes an OAuth2 authorization resource. Required Fields: id.
|
|
43
70
|
rpc :deleteAuthorizationResource, ::Io::Id, ::Google::Protobuf::Empty
|
|
71
|
+
# Refreshes the API secret key for the current user.
|
|
44
72
|
rpc :refreshApiSecret, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
|
73
|
+
# Permanently deletes the user's account and all associated data. Required Fields: password.
|
|
45
74
|
rpc :deleteAccount, ::Io::DeleteAccountRequest, ::Google::Protobuf::Empty
|
|
75
|
+
# Immediately revokes any old gRPC credentials.
|
|
46
76
|
rpc :revokeLegacyCredentials, ::Google::Protobuf::Empty, ::Google::Protobuf::Empty
|
|
47
|
-
#
|
|
77
|
+
# Creates a new sub-user account for the company. Required Fields: email, name, password.
|
|
48
78
|
rpc :createTeamMember, ::Io::NewTeamMember, ::Io::Id
|
|
79
|
+
# Assigns permissions to a new team member. Required Fields: userId, permissions.
|
|
49
80
|
rpc :createPermissionsForTeamMember, ::Io::TeamMemberPermissions, ::Io::Id
|
|
81
|
+
# Updates the entire permissions object for a team member. Required Fields: userId, permissions.
|
|
50
82
|
rpc :updateTeamMemberPermissions, ::Io::TeamMemberPermissions, ::Io::TeamMemberPermissions
|
|
83
|
+
# Updates partial permissions for a team member. Required Fields: userId, permissions.
|
|
51
84
|
rpc :patchTeamMemberPermissions, ::Io::TeamMemberPermissions, ::Io::TeamMemberPermissions
|
|
85
|
+
# Retrieves a team member by ID. Required Fields: id.
|
|
52
86
|
rpc :getTeamMember, ::Io::Id, ::Io::GetTeamMemberResponse
|
|
87
|
+
# Retrieves all team members.
|
|
53
88
|
rpc :getTeamMembers, ::Google::Protobuf::Empty, stream(::Io::ListTeamMembersResponse)
|
|
89
|
+
# Deletes a team member. Required Fields: id.
|
|
54
90
|
rpc :deleteTeamMember, ::Io::Id, ::Google::Protobuf::Empty
|
|
91
|
+
# Retrieves access logs for a company or user. Required Fields: protocol, classId, userId, dateRange.
|
|
55
92
|
rpc :getTeamMemberLogs, ::Io::AuditLogRequest, stream(::Io::AuditLog)
|
|
56
93
|
end
|
|
57
94
|
|
|
@@ -66,17 +103,29 @@ module Io
|
|
|
66
103
|
self.unmarshal_class_method = :decode
|
|
67
104
|
self.service_name = 'io.Integrations'
|
|
68
105
|
|
|
106
|
+
# Creates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
|
|
69
107
|
rpc :createIntegrations, ::Io::IntegrationConfigs, ::Io::Id
|
|
108
|
+
# Retrieves integration configurations for a protocol and class. Required Fields: protocol, classId.
|
|
70
109
|
rpc :getIntegrations, ::Io::ProtocolIdInput, ::Io::IntegrationConfigs
|
|
110
|
+
# Updates integration configurations for a pass type. Required Fields: protocol, classId, integrations.
|
|
71
111
|
rpc :updateIntegrations, ::Io::IntegrationConfigs, ::Io::Id
|
|
112
|
+
# Deletes integration configurations for a protocol and class. Required Fields: protocol, classId.
|
|
72
113
|
rpc :deleteIntegrations, ::Io::ProtocolIdInput, ::Google::Protobuf::Empty
|
|
114
|
+
# Creates a sink subscription to receive webhook callbacks after specific events. Required Fields: protocol, classId, event, url.
|
|
73
115
|
rpc :createSinkSubscription, ::Io::SinkSubscription, ::Io::Id
|
|
116
|
+
# Retrieves a sink subscription configuration. Required Fields: protocol, subscriptionId.
|
|
74
117
|
rpc :getSinkSubscription, ::Io::SubscriptionRequest, ::Io::SinkSubscription
|
|
118
|
+
# [DEPRECATED] Lists sink subscriptions by segment with optional pagination. Required Fields: pagination.
|
|
75
119
|
rpc :listSinkSubscriptionsDeprecated, ::Io::ListRequestDeprecated, stream(::Io::SinkSubscription)
|
|
120
|
+
# Lists all sink subscriptions by segment with optional pagination. Required Fields: filters.
|
|
76
121
|
rpc :listSinkSubscriptions, ::Io::ListRequest, stream(::Io::SinkSubscription)
|
|
122
|
+
# Updates a sink subscription configuration. Required Fields: protocol, classId, event, url.
|
|
77
123
|
rpc :updateSinkSubscription, ::Io::SinkSubscription, ::Io::Id
|
|
124
|
+
# Deletes a sink subscription configuration. Required Fields: protocol, subscriptionId.
|
|
78
125
|
rpc :deleteSinkSubscription, ::Io::SubscriptionRequest, ::Google::Protobuf::Empty
|
|
126
|
+
# Returns a sample sink subscription payload. Required Fields: id.
|
|
79
127
|
rpc :getSampleSubscriptionEvent, ::Io::Id, ::Io::SinkSubscription
|
|
128
|
+
# Dynamically calls an external API using configured credentials. Required Fields: url, method, headers, body (depending on the API).
|
|
80
129
|
rpc :callDynamicApi, ::Io::DynamicApiInput, ::Io::DynamicApiResponse
|
|
81
130
|
end
|
|
82
131
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# source: io/core/a_rpc_templates.proto
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
|
6
7
|
|
|
7
8
|
require 'google/api/annotations_pb'
|
|
8
9
|
require 'google/protobuf/empty_pb'
|
|
@@ -14,9 +15,9 @@ require 'io/common/pagination_pb'
|
|
|
14
15
|
require 'io/common/filter_pb'
|
|
15
16
|
|
|
16
17
|
|
|
17
|
-
descriptor_data = "\n\x1dio/core/a_rpc_templates.proto\x12\x02io\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x18io/common/template.proto\x1a\x19io/common/proximity.proto\x1a\x15io/common/links.proto\x1a\x1aio/common/pagination.proto\x1a\x16io/common/filter.proto2\xd4V\n\tTemplates\x12\x8a\x01\n\x0e\x63reateTemplate\x12\x10.io.PassTemplate\x1a\x06.io.Id\"^\x92\x41G\n\x0ePass Templates\x12\x14\x43reate Pass Template\x1a\x1f\x43reates a pass template record.\x82\xd3\xe4\x93\x02\x0e\"\t/template:\x01*\x12\x95\x01\n\x0eupdateTemplate\x12\x10.io.PassTemplate\x1a\x10.io.PassTemplate\"_\x92\x41H\n\x0ePass Templates\x12\x14Update Pass Template\x1a Updates an pass template record.\x82\xd3\xe4\x93\x02\x0e\x1a\t/template:\x01*\x12\x9c\x01\n\x0bgetTemplate\x12\x06.io.Id\x1a\x18.io.PassTemplateResponse\"k\x92\x41M\n\x0ePass Templates\x12\x18Get Pass Template Record\x1a!Retrieves a pass template record.\x82\xd3\xe4\x93\x02\x15\x12\x13/template/data/{id}\x12\xcb\x01\n\x12getDefaultTemplate\x12\x1a.io.DefaultTemplateRequest\x1a\x10.io.PassTemplate\"\x86\x01\x92\x41W\n\x0ePass Templates\x12\"Get A Default Pass Template Record\x1a!Retrieves a pass template record.\x82\xd3\xe4\x93\x02&\x12$/template/data/{protocol}/{revision}\x12\xab\x01\n\x0c\x63opyTemplate\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"~\x92\x41\x62\n\x0ePass Templates\x12\x1b\x43opy a Pass Template Record\x1a\x33\x43opies a pass template record and returns a new id.\x82\xd3\xe4\x93\x02\x13\"\x0e/template/copy:\x01*\x12\x92\x01\n\x0e\x64\x65leteTemplate\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"`\x92\x41G\n\x0ePass Templates\x12\x14\x44\x65lete Pass Template\x1a\x1f\x44\x65letes an pass template record\x82\xd3\xe4\x93\x02\x10*\x0e/template/{id}\x12\x90\x02\n\x1elistTemplatesForUserDeprecated\x12\x0e.io.Pagination\x1a\x18.io.PassTemplateResponse\"\xc1\x01\x92\x41\xa6\x01\n\x0ePass Templates\x12,Get All Pass Templates For User [DEPRECATED]\x1a\x66[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the user account.\x82\xd3\xe4\x93\x02\x11\x12\x0f/templates/user0\x01\x12\xf2\x04\n\x14listTemplatesForUser\x12\x0b.io.Filters\x1a\x18.io.PassTemplateResponse\"\xb0\x04\x92\x41\x8d\x04\n\x0ePass Templates\x12\x1fGet All Pass Templates For User\x1a\xd9\x03Retrieves all pass templates stored under the user account.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x19\"\x14/templates/user/list:\x01*0\x01\x12\x82\x02\n\x17listTemplatesDeprecated\x12\x0e.io.Pagination\x1a\x18.io.PassTemplateResponse\"\xba\x01\x92\x41\xa4\x01\n\x0ePass Templates\x12/Get All Pass Templates For Company [DEPRECATED]\x1a\x61[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the company.\x82\xd3\xe4\x93\x02\x0c\x12\n/templates0\x01\x12\xe4\x04\n\rlistTemplates\x12\x0b.io.Filters\x1a\x18.io.PassTemplateResponse\"\xa9\x04\x92\x41\x8b\x04\n\x0ePass Templates\x12\"Get All Pass Templates For Company\x1a\xd4\x03Retrieves all pass templates stored under the company.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x14\"\x0f/templates/list:\x01*0\x01\x12\x92\x02\n\x18\x63ountTemplatesDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xda\x01\x92\x41\xbe\x01\n\x0ePass Templates\x12;Count All Pass Templates Available to The User [DEPRECATED]\x1ao[DEPRECATED: OR operator is not supported] Retrieves a count of pass templates stored under the user\'s company.\x82\xd3\xe4\x93\x02\x12\x12\x10/templates/count\x12\xef\x04\n\x0e\x63ountTemplates\x12\x0b.io.Filters\x1a\t.io.Count\"\xc4\x04\x92\x41\xa5\x04\n\x0ePass Templates\x12.Count All Pass Templates Available to The User\x1a\xe2\x03Retrieves a count of pass templates stored under the user\'s company.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x15\"\x10/templates/count:\x01*\x12\x93\x02\n\x1f\x63ountTemplatesForUserDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xd4\x01\x92\x41\xb3\x01\n\x0ePass Templates\x12\x37\x43ount All Pass Templates Owned by The User [DEPRECATED]\x1ah[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the user\'s account.\x82\xd3\xe4\x93\x02\x17\x12\x15/templates/user/count\x12\xf0\x04\n\x15\x63ountTemplatesForUser\x12\x0b.io.Filters\x1a\t.io.Count\"\xbe\x04\x92\x41\x9a\x04\n\x0ePass Templates\x12*Count All Pass Templates Owned by The User\x1a\xdb\x03Retrieves all pass templates stored under the user\'s account.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x1a\"\x15/templates/user/count:\x01*\x12z\n\x0e\x63reateLocation\x12\x0f.io.GPSLocation\x1a\x06.io.Id\"O\x92\x41\x38\n\tLocations\x12\x0f\x43reate Location\x1a\x1a\x43reates a location object.\x82\xd3\xe4\x93\x02\x0e\"\t/location:\x01*\x12\x83\x01\n\x0eupdateLocation\x12\x0f.io.GPSLocation\x1a\x0f.io.GPSLocation\"O\x92\x41\x38\n\tLocations\x12\x0fUpdate Location\x1a\x1aUpdates a location object.\x82\xd3\xe4\x93\x02\x0e\x1a\t/location:\x01*\x12\x7f\n\x0bgetLocation\x12\x06.io.Id\x1a\x0f.io.GPSLocation\"W\x92\x41>\n\tLocations\x12\x0cGet Location\x1a#Retrieves a single location object.\x82\xd3\xe4\x93\x02\x10\x12\x0e/location/{id}\x12\xe7\x01\n\x17listLocationsDeprecated\x12\x0e.io.Pagination\x1a\x0f.io.GPSLocation\"\xa8\x01\x92\x41\x92\x01\n\tLocations\x12\x1bList Locations [DEPRECATED]\x1ah[DEPRECATED: OR operator is not supported] Retrieves locations objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\x0c\x12\n/locations0\x01\x12\xbf\x04\n\rlistLocations\x12\x0b.io.Filters\x1a\x0f.io.GPSLocation\"\x8d\x04\x92\x41\xef\x03\n\tLocations\x12\x0eList Locations\x1a\xd1\x03Retrieves locations objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations</a>\x82\xd3\xe4\x93\x02\x14\"\x0f/locations/list:\x01*0\x01\x12\x93\x01\n\x0c\x63opyLocation\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"f\x92\x41J\n\tLocations\x12\rCopy Location\x1a.Copies a location record and returns a new id.\x82\xd3\xe4\x93\x02\x13\"\x0e/location/copy:\x01*\x12\x82\x01\n\x0e\x64\x65leteLocation\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"P\x92\x41\x37\n\tLocations\x12\x0f\x44\x65lete Location\x1a\x19\x44\x65letes a location object\x82\xd3\xe4\x93\x02\x10*\x0e/location/{id}\x12\xea\x01\n\x18\x63ountLocationsDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xb2\x01\x92\x41\x96\x01\n\tLocations\x12\x1c\x43ount Locations [DEPRECATED]\x1ak[DEPRECATED: OR operator is not supported] Retrieves a count of locations that match the supplied criteria.\x82\xd3\xe4\x93\x02\x12\x12\x10/locations/count\x12\xbd\x04\n\x0e\x63ountLocations\x12\x0b.io.Filters\x1a\t.io.Count\"\x92\x04\x92\x41\xf3\x03\n\tLocations\x12\x0f\x43ount Locations\x1a\xd4\x03Retrieves a count of locations that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations</a>\x82\xd3\xe4\x93\x02\x15\"\x10/locations/count:\x01*\x12k\n\x0c\x63reateBeacon\x12\n.io.Beacon\x1a\x06.io.Id\"G\x92\x41\x32\n\x07\x42\x65\x61\x63ons\x12\rCreate Beacon\x1a\x18\x43reates a beacon object.\x82\xd3\xe4\x93\x02\x0c\"\x07/beacon:\x01*\x12o\n\x0cupdateBeacon\x12\n.io.Beacon\x1a\n.io.Beacon\"G\x92\x41\x32\n\x07\x42\x65\x61\x63ons\x12\rUpdate Beacon\x1a\x18Updates a beacon object.\x82\xd3\xe4\x93\x02\x0c\x1a\x07/beacon:\x01*\x12p\n\tgetBeacon\x12\x06.io.Id\x1a\n.io.Beacon\"O\x92\x41\x38\n\x07\x42\x65\x61\x63ons\x12\nGet Beacon\x1a!Retrieves a single beacon object.\x82\xd3\xe4\x93\x02\x0e\x12\x0c/beacon/{id}\x12\xd7\x01\n\x15listBeaconsDeprecated\x12\x0e.io.Pagination\x1a\n.io.Beacon\"\x9f\x01\x92\x41\x8b\x01\n\x07\x42\x65\x61\x63ons\x12\x19List Beacons [DEPRECATED]\x1a\x65[DEPRECATED: OR operator is not supported] Retrieves beacon objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\n\x12\x08/beacons0\x01\x12\xab\x04\n\x0blistBeacons\x12\x0b.io.Filters\x1a\n.io.Beacon\"\x80\x04\x92\x41\xe4\x03\n\x07\x42\x65\x61\x63ons\x12\x0cList Beacons\x1a\xca\x03Retrieves beacon objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons</a>\x82\xd3\xe4\x93\x02\x12\"\r/beacons/list:\x01*0\x01\x12\x89\x01\n\ncopyBeacon\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"^\x92\x41\x44\n\x07\x42\x65\x61\x63ons\x12\x0b\x43opy Beacon\x1a,Copies a beacon record and returns a new id.\x82\xd3\xe4\x93\x02\x11\"\x0c/beacon/copy:\x01*\x12x\n\x0c\x64\x65leteBeacon\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"H\x92\x41\x31\n\x07\x42\x65\x61\x63ons\x12\rDelete Beacon\x1a\x17\x44\x65letes a beacon object\x82\xd3\xe4\x93\x02\x0e*\x0c/beacon/{id}\x12\xe0\x01\n\x16\x63ountBeaconsDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xaa\x01\x92\x41\x90\x01\n\x07\x42\x65\x61\x63ons\x12\x1a\x43ount Beacons [DEPRECATED]\x1ai[DEPRECATED: OR operator is not supported] Retrieves a count of beacons that match the supplied criteria.\x82\xd3\xe4\x93\x02\x10\x12\x0e/beacons/count\x12\xaf\x04\n\x0c\x63ountBeacons\x12\x0b.io.Filters\x1a\t.io.Count\"\x86\x04\x92\x41\xe9\x03\n\x07\x42\x65\x61\x63ons\x12\rCount Beacons\x1a\xce\x03Retrieves a count of beacons that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons</a>\x82\xd3\xe4\x93\x02\x13\"\x0e/beacons/count:\x01*\x12_\n\ncreateLink\x12\x08.io.Link\x1a\x06.io.Id\"?\x92\x41,\n\x05Links\x12\x0b\x43reate Link\x1a\x16\x43reates a link object.\x82\xd3\xe4\x93\x02\n\"\x05/link:\x01*\x12\x61\n\nupdateLink\x12\x08.io.Link\x1a\x08.io.Link\"?\x92\x41,\n\x05Links\x12\x0bUpdate Link\x1a\x16Updates a link object.\x82\xd3\xe4\x93\x02\n\x1a\x05/link:\x01*\x12\x64\n\x07getLink\x12\x06.io.Id\x1a\x08.io.Link\"G\x92\x41\x32\n\x05Links\x12\x08Get Link\x1a\x1fRetrieves a single link object.\x82\xd3\xe4\x93\x02\x0c\x12\n/link/{id}\x12\xcc\x01\n\x13listLinksDeprecated\x12\x0e.io.Pagination\x1a\x08.io.Link\"\x98\x01\x92\x41\x86\x01\n\x05Links\x12\x17List Links [DEPRECATED]\x1a\x64[DEPRECATED: OR operator is not supported] Retrieves links objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\x08\x12\x06/links0\x01\x12\x9c\x04\n\tlistLinks\x12\x0b.io.Filters\x1a\x08.io.Link\"\xf5\x03\x92\x41\xdb\x03\n\x05Links\x12\nList Links\x1a\xc5\x03Retrieves links objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links</a>\x82\xd3\xe4\x93\x02\x10\"\x0b/links/list:\x01*0\x01\x12\x7f\n\x08\x63opyLink\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"V\x92\x41>\n\x05Links\x12\tCopy Link\x1a*Copies a link record and returns a new id.\x82\xd3\xe4\x93\x02\x0f\"\n/link/copy:\x01*\x12n\n\ndeleteLink\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"@\x92\x41+\n\x05Links\x12\x0b\x44\x65lete Link\x1a\x15\x44\x65letes a link object\x82\xd3\xe4\x93\x02\x0c*\n/link/{id}\x12\xd6\x01\n\x14\x63ountLinksDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xa2\x01\x92\x41\x8a\x01\n\x05Links\x12\x18\x43ount Links [DEPRECATED]\x1ag[DEPRECATED: OR operator is not supported] Retrieves a count of links that match the supplied criteria.\x82\xd3\xe4\x93\x02\x0e\x12\x0c/links/count\x12\xa1\x04\n\ncountLinks\x12\x0b.io.Filters\x1a\t.io.Count\"\xfa\x03\x92\x41\xdf\x03\n\x05Links\x12\x0b\x43ount Links\x1a\xc8\x03Retrieves a count of links that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links</a>\x82\xd3\xe4\x93\x02\x11\"\x0c/links/count:\x01*B\x85\x07\n\x10\x63om.passkit.grpcZ$stash.passkit.com/io/model/sdk/go/io\xaa\x02\x0cPassKit.Grpc\x92\x41\xba\x06\x12\xf5\x01\n\x15PassKit Templates API\x12\x61\x41PI for managing Pass Templates & Designs for Apple Wallet, Google Pay and Data Collection Forms.\x1a\x38https://passkit.com/legal/terms-of-subscription-service/\"?\n\x0fPassKit Support\x12\x17https://docs.passkit.io\x1a\x13support@passkit.com*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonR9\n\x03\x32\x30\x30\x12\x32\n(Returned when the request is successful.\x12\x06\n\x04\x9a\x02\x01\x07R4\n\x03\x34\x30\x30\x12-\n+Returned when wrong user input is provided.R0\n\x03\x34\x30\x31\x12)\n\'Returned when the user is unauthorized.RP\n\x03\x34\x30\x33\x12I\nGReturned when the user does not have permission to access the resource.R;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07R<\n\x03\x35\x30\x30\x12\x35\n+Returned when there is an unexpected error.\x12\x06\n\x04\x9a\x02\x01\x07RW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.Z>\n<\n\napiKeyAuth\x12.\x08\x02\x12\x19JWT Authentication token.\x1a\rAuthorization \x02\x62\x10\n\x0e\n\napiKeyAuth\x12\x00\x62\x06proto3"
|
|
18
|
+
descriptor_data = "\n\x1dio/core/a_rpc_templates.proto\x12\x02io\x1a\x1cgoogle/api/annotations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a.protoc-gen-openapiv2/options/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x18io/common/template.proto\x1a\x19io/common/proximity.proto\x1a\x15io/common/links.proto\x1a\x1aio/common/pagination.proto\x1a\x16io/common/filter.proto2\xd4V\n\tTemplates\x12\x8a\x01\n\x0e\x63reateTemplate\x12\x10.io.PassTemplate\x1a\x06.io.Id\"^\x92\x41G\n\x0ePass Templates\x12\x14\x43reate Pass Template\x1a\x1f\x43reates a pass template record.\x82\xd3\xe4\x93\x02\x0e\"\t/template:\x01*\x12\x95\x01\n\x0eupdateTemplate\x12\x10.io.PassTemplate\x1a\x10.io.PassTemplate\"_\x92\x41H\n\x0ePass Templates\x12\x14Update Pass Template\x1a Updates an pass template record.\x82\xd3\xe4\x93\x02\x0e\x1a\t/template:\x01*\x12\x9c\x01\n\x0bgetTemplate\x12\x06.io.Id\x1a\x18.io.PassTemplateResponse\"k\x92\x41M\n\x0ePass Templates\x12\x18Get Pass Template Record\x1a!Retrieves a pass template record.\x82\xd3\xe4\x93\x02\x15\x12\x13/template/data/{id}\x12\xcb\x01\n\x12getDefaultTemplate\x12\x1a.io.DefaultTemplateRequest\x1a\x10.io.PassTemplate\"\x86\x01\x92\x41W\n\x0ePass Templates\x12\"Get A Default Pass Template Record\x1a!Retrieves a pass template record.\x82\xd3\xe4\x93\x02&\x12$/template/data/{protocol}/{revision}\x12\xab\x01\n\x0c\x63opyTemplate\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"~\x92\x41\x62\n\x0ePass Templates\x12\x1b\x43opy a Pass Template Record\x1a\x33\x43opies a pass template record and returns a new id.\x82\xd3\xe4\x93\x02\x13\"\x0e/template/copy:\x01*\x12\x92\x01\n\x0e\x64\x65leteTemplate\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"`\x92\x41G\n\x0ePass Templates\x12\x14\x44\x65lete Pass Template\x1a\x1f\x44\x65letes an pass template record\x82\xd3\xe4\x93\x02\x10*\x0e/template/{id}\x12\x90\x02\n\x1elistTemplatesForUserDeprecated\x12\x0e.io.Pagination\x1a\x18.io.PassTemplateResponse\"\xc1\x01\x92\x41\xa6\x01\n\x0ePass Templates\x12,Get All Pass Templates For User [DEPRECATED]\x1a\x66[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the user account.\x82\xd3\xe4\x93\x02\x11\x12\x0f/templates/user0\x01\x12\xf2\x04\n\x14listTemplatesForUser\x12\x0b.io.Filters\x1a\x18.io.PassTemplateResponse\"\xb0\x04\x92\x41\x8d\x04\n\x0ePass Templates\x12\x1fGet All Pass Templates For User\x1a\xd9\x03Retrieves all pass templates stored under the user account.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x19\"\x14/templates/user/list:\x01*0\x01\x12\x82\x02\n\x17listTemplatesDeprecated\x12\x0e.io.Pagination\x1a\x18.io.PassTemplateResponse\"\xba\x01\x92\x41\xa4\x01\n\x0ePass Templates\x12/Get All Pass Templates For Company [DEPRECATED]\x1a\x61[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the company.\x82\xd3\xe4\x93\x02\x0c\x12\n/templates0\x01\x12\xe4\x04\n\rlistTemplates\x12\x0b.io.Filters\x1a\x18.io.PassTemplateResponse\"\xa9\x04\x92\x41\x8b\x04\n\x0ePass Templates\x12\"Get All Pass Templates For Company\x1a\xd4\x03Retrieves all pass templates stored under the company.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x14\"\x0f/templates/list:\x01*0\x01\x12\x92\x02\n\x18\x63ountTemplatesDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xda\x01\x92\x41\xbe\x01\n\x0ePass Templates\x12;Count All Pass Templates Available to The User [DEPRECATED]\x1ao[DEPRECATED: OR operator is not supported] Retrieves a count of pass templates stored under the user\'s company.\x82\xd3\xe4\x93\x02\x12\x12\x10/templates/count\x12\xef\x04\n\x0e\x63ountTemplates\x12\x0b.io.Filters\x1a\t.io.Count\"\xc4\x04\x92\x41\xa5\x04\n\x0ePass Templates\x12.Count All Pass Templates Available to The User\x1a\xe2\x03Retrieves a count of pass templates stored under the user\'s company.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x15\"\x10/templates/count:\x01*\x12\x93\x02\n\x1f\x63ountTemplatesForUserDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xd4\x01\x92\x41\xb3\x01\n\x0ePass Templates\x12\x37\x43ount All Pass Templates Owned by The User [DEPRECATED]\x1ah[DEPRECATED: OR operator is not supported] Retrieves all pass templates stored under the user\'s account.\x82\xd3\xe4\x93\x02\x17\x12\x15/templates/user/count\x12\xf0\x04\n\x15\x63ountTemplatesForUser\x12\x0b.io.Filters\x1a\t.io.Count\"\xbe\x04\x92\x41\x9a\x04\n\x0ePass Templates\x12*Count All Pass Templates Owned by The User\x1a\xdb\x03Retrieves all pass templates stored under the user\'s account.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-pass-templates</a>\x82\xd3\xe4\x93\x02\x1a\"\x15/templates/user/count:\x01*\x12z\n\x0e\x63reateLocation\x12\x0f.io.GPSLocation\x1a\x06.io.Id\"O\x92\x41\x38\n\tLocations\x12\x0f\x43reate Location\x1a\x1a\x43reates a location object.\x82\xd3\xe4\x93\x02\x0e\"\t/location:\x01*\x12\x83\x01\n\x0eupdateLocation\x12\x0f.io.GPSLocation\x1a\x0f.io.GPSLocation\"O\x92\x41\x38\n\tLocations\x12\x0fUpdate Location\x1a\x1aUpdates a location object.\x82\xd3\xe4\x93\x02\x0e\x1a\t/location:\x01*\x12\x7f\n\x0bgetLocation\x12\x06.io.Id\x1a\x0f.io.GPSLocation\"W\x92\x41>\n\tLocations\x12\x0cGet Location\x1a#Retrieves a single location object.\x82\xd3\xe4\x93\x02\x10\x12\x0e/location/{id}\x12\xe7\x01\n\x17listLocationsDeprecated\x12\x0e.io.Pagination\x1a\x0f.io.GPSLocation\"\xa8\x01\x92\x41\x92\x01\n\tLocations\x12\x1bList Locations [DEPRECATED]\x1ah[DEPRECATED: OR operator is not supported] Retrieves locations objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\x0c\x12\n/locations0\x01\x12\xbf\x04\n\rlistLocations\x12\x0b.io.Filters\x1a\x0f.io.GPSLocation\"\x8d\x04\x92\x41\xef\x03\n\tLocations\x12\x0eList Locations\x1a\xd1\x03Retrieves locations objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations</a>\x82\xd3\xe4\x93\x02\x14\"\x0f/locations/list:\x01*0\x01\x12\x93\x01\n\x0c\x63opyLocation\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"f\x92\x41J\n\tLocations\x12\rCopy Location\x1a.Copies a location record and returns a new id.\x82\xd3\xe4\x93\x02\x13\"\x0e/location/copy:\x01*\x12\x82\x01\n\x0e\x64\x65leteLocation\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"P\x92\x41\x37\n\tLocations\x12\x0f\x44\x65lete Location\x1a\x19\x44\x65letes a location object\x82\xd3\xe4\x93\x02\x10*\x0e/location/{id}\x12\xea\x01\n\x18\x63ountLocationsDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xb2\x01\x92\x41\x96\x01\n\tLocations\x12\x1c\x43ount Locations [DEPRECATED]\x1ak[DEPRECATED: OR operator is not supported] Retrieves a count of locations that match the supplied criteria.\x82\xd3\xe4\x93\x02\x12\x12\x10/locations/count\x12\xbd\x04\n\x0e\x63ountLocations\x12\x0b.io.Filters\x1a\t.io.Count\"\x92\x04\x92\x41\xf3\x03\n\tLocations\x12\x0f\x43ount Locations\x1a\xd4\x03Retrieves a count of locations that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-locations</a>\x82\xd3\xe4\x93\x02\x15\"\x10/locations/count:\x01*\x12k\n\x0c\x63reateBeacon\x12\n.io.Beacon\x1a\x06.io.Id\"G\x92\x41\x32\n\x07\x42\x65\x61\x63ons\x12\rCreate Beacon\x1a\x18\x43reates a beacon object.\x82\xd3\xe4\x93\x02\x0c\"\x07/beacon:\x01*\x12o\n\x0cupdateBeacon\x12\n.io.Beacon\x1a\n.io.Beacon\"G\x92\x41\x32\n\x07\x42\x65\x61\x63ons\x12\rUpdate Beacon\x1a\x18Updates a beacon object.\x82\xd3\xe4\x93\x02\x0c\x1a\x07/beacon:\x01*\x12p\n\tgetBeacon\x12\x06.io.Id\x1a\n.io.Beacon\"O\x92\x41\x38\n\x07\x42\x65\x61\x63ons\x12\nGet Beacon\x1a!Retrieves a single beacon object.\x82\xd3\xe4\x93\x02\x0e\x12\x0c/beacon/{id}\x12\xd7\x01\n\x15listBeaconsDeprecated\x12\x0e.io.Pagination\x1a\n.io.Beacon\"\x9f\x01\x92\x41\x8b\x01\n\x07\x42\x65\x61\x63ons\x12\x19List Beacons [DEPRECATED]\x1a\x65[DEPRECATED: OR operator is not supported] Retrieves beacon objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\n\x12\x08/beacons0\x01\x12\xab\x04\n\x0blistBeacons\x12\x0b.io.Filters\x1a\n.io.Beacon\"\x80\x04\x92\x41\xe4\x03\n\x07\x42\x65\x61\x63ons\x12\x0cList Beacons\x1a\xca\x03Retrieves beacon objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons</a>\x82\xd3\xe4\x93\x02\x12\"\r/beacons/list:\x01*0\x01\x12\x89\x01\n\ncopyBeacon\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"^\x92\x41\x44\n\x07\x42\x65\x61\x63ons\x12\x0b\x43opy Beacon\x1a,Copies a beacon record and returns a new id.\x82\xd3\xe4\x93\x02\x11\"\x0c/beacon/copy:\x01*\x12x\n\x0c\x64\x65leteBeacon\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"H\x92\x41\x31\n\x07\x42\x65\x61\x63ons\x12\rDelete Beacon\x1a\x17\x44\x65letes a beacon object\x82\xd3\xe4\x93\x02\x0e*\x0c/beacon/{id}\x12\xe0\x01\n\x16\x63ountBeaconsDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xaa\x01\x92\x41\x90\x01\n\x07\x42\x65\x61\x63ons\x12\x1a\x43ount Beacons [DEPRECATED]\x1ai[DEPRECATED: OR operator is not supported] Retrieves a count of beacons that match the supplied criteria.\x82\xd3\xe4\x93\x02\x10\x12\x0e/beacons/count\x12\xaf\x04\n\x0c\x63ountBeacons\x12\x0b.io.Filters\x1a\t.io.Count\"\x86\x04\x92\x41\xe9\x03\n\x07\x42\x65\x61\x63ons\x12\rCount Beacons\x1a\xce\x03Retrieves a count of beacons that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-beacons</a>\x82\xd3\xe4\x93\x02\x13\"\x0e/beacons/count:\x01*\x12_\n\ncreateLink\x12\x08.io.Link\x1a\x06.io.Id\"?\x92\x41,\n\x05Links\x12\x0b\x43reate Link\x1a\x16\x43reates a link object.\x82\xd3\xe4\x93\x02\n\"\x05/link:\x01*\x12\x61\n\nupdateLink\x12\x08.io.Link\x1a\x08.io.Link\"?\x92\x41,\n\x05Links\x12\x0bUpdate Link\x1a\x16Updates a link object.\x82\xd3\xe4\x93\x02\n\x1a\x05/link:\x01*\x12\x64\n\x07getLink\x12\x06.io.Id\x1a\x08.io.Link\"G\x92\x41\x32\n\x05Links\x12\x08Get Link\x1a\x1fRetrieves a single link object.\x82\xd3\xe4\x93\x02\x0c\x12\n/link/{id}\x12\xcc\x01\n\x13listLinksDeprecated\x12\x0e.io.Pagination\x1a\x08.io.Link\"\x98\x01\x92\x41\x86\x01\n\x05Links\x12\x17List Links [DEPRECATED]\x1a\x64[DEPRECATED: OR operator is not supported] Retrieves links objects that match the supplied criteria.\x82\xd3\xe4\x93\x02\x08\x12\x06/links0\x01\x12\x9c\x04\n\tlistLinks\x12\x0b.io.Filters\x1a\x08.io.Link\"\xf5\x03\x92\x41\xdb\x03\n\x05Links\x12\nList Links\x1a\xc5\x03Retrieves links objects that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links</a>\x82\xd3\xe4\x93\x02\x10\"\x0b/links/list:\x01*0\x01\x12\x7f\n\x08\x63opyLink\x12\x13.io.CopyObjectInput\x1a\x06.io.Id\"V\x92\x41>\n\x05Links\x12\tCopy Link\x1a*Copies a link record and returns a new id.\x82\xd3\xe4\x93\x02\x0f\"\n/link/copy:\x01*\x12n\n\ndeleteLink\x12\x06.io.Id\x1a\x16.google.protobuf.Empty\"@\x92\x41+\n\x05Links\x12\x0b\x44\x65lete Link\x1a\x15\x44\x65letes a link object\x82\xd3\xe4\x93\x02\x0c*\n/link/{id}\x12\xd6\x01\n\x14\x63ountLinksDeprecated\x12\x0e.io.Pagination\x1a\t.io.Count\"\xa2\x01\x92\x41\x8a\x01\n\x05Links\x12\x18\x43ount Links [DEPRECATED]\x1ag[DEPRECATED: OR operator is not supported] Retrieves a count of links that match the supplied criteria.\x82\xd3\xe4\x93\x02\x0e\x12\x0c/links/count\x12\xa1\x04\n\ncountLinks\x12\x0b.io.Filters\x1a\t.io.Count\"\xfa\x03\x92\x41\xdf\x03\n\x05Links\x12\x0b\x43ount Links\x1a\xc8\x03Retrieves a count of links that match the supplied criteria.\n\n<span style=\"font-weight:bold\">About filter field names, operators and sample payloads:</span> <a target=\"_blank\" href=\"https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links\">https://help.passkit.com/en/articles/4200250-pass-templates-locations-beacons-links-filtering-listing-and-counting-by-api#filter-links</a>\x82\xd3\xe4\x93\x02\x11\"\x0c/links/count:\x01*B\xf1\x06\n\x10\x63om.passkit.grpcZ$stash.passkit.com/io/model/sdk/go/io\xaa\x02\x0cPassKit.Grpc\x92\x41\xa6\x06\x12\xe1\x01\n\x15PassKit Templates API\x12\x64\x41PI for managing Pass Templates & Designs for Apple Wallet, Google Wallet and Data Collection Forms.\x1a https://passkit.com/legal/terms/\"@\n\x0fPassKit Support\x12\x18https://help.passkit.com\x1a\x13support@passkit.com*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonR9\n\x03\x32\x30\x30\x12\x32\n(Returned when the request is successful.\x12\x06\n\x04\x9a\x02\x01\x07R4\n\x03\x34\x30\x30\x12-\n+Returned when wrong user input is provided.R0\n\x03\x34\x30\x31\x12)\n\'Returned when the user is unauthorized.RP\n\x03\x34\x30\x33\x12I\nGReturned when the user does not have permission to access the resource.R;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07R<\n\x03\x35\x30\x30\x12\x35\n+Returned when there is an unexpected error.\x12\x06\n\x04\x9a\x02\x01\x07RW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.Z>\n<\n\napiKeyAuth\x12.\x08\x02\x12\x19JWT Authentication token.\x1a\rAuthorization \x02\x62\x10\n\x0e\n\napiKeyAuth\x12\x00\x62\x06proto3"
|
|
18
19
|
|
|
19
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
20
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
20
21
|
pool.add_serialized_file(descriptor_data)
|
|
21
22
|
|
|
22
23
|
module Io
|
|
@@ -6,6 +6,7 @@ require 'io/core/a_rpc_templates_pb'
|
|
|
6
6
|
|
|
7
7
|
module Io
|
|
8
8
|
module Templates
|
|
9
|
+
# Manages pass templates and designs for Apple Wallet, Google Wallet, and data collection forms.
|
|
9
10
|
class Service
|
|
10
11
|
|
|
11
12
|
include ::GRPC::GenericService
|
|
@@ -14,46 +15,87 @@ module Io
|
|
|
14
15
|
self.unmarshal_class_method = :decode
|
|
15
16
|
self.service_name = 'io.Templates'
|
|
16
17
|
|
|
18
|
+
# Creates a pass template for a protocol and revision. Required fields: protocol, revision, name, colors, fields.
|
|
17
19
|
rpc :createTemplate, ::Io::PassTemplate, ::Io::Id
|
|
20
|
+
# Updates an existing pass template. Required Fields: id
|
|
18
21
|
rpc :updateTemplate, ::Io::PassTemplate, ::Io::PassTemplate
|
|
22
|
+
# Retrieves a pass template by ID. Required Fields: id
|
|
19
23
|
rpc :getTemplate, ::Io::Id, ::Io::PassTemplateResponse
|
|
24
|
+
# Retrieves the default pass template for a given protocol and revision. Required Fields: protocol, revision
|
|
20
25
|
rpc :getDefaultTemplate, ::Io::DefaultTemplateRequest, ::Io::PassTemplate
|
|
26
|
+
# Copies an existing pass template and returns a new ID. Required Fields: id
|
|
21
27
|
rpc :copyTemplate, ::Io::CopyObjectInput, ::Io::Id
|
|
28
|
+
# Deletes a pass template. Required Fields: id
|
|
22
29
|
rpc :deleteTemplate, ::Io::Id, ::Google::Protobuf::Empty
|
|
30
|
+
# [DEPRECATED: OR operator is not supported] Retrieves all user-owned pass templates matching filters. Required Fields: pagination.
|
|
23
31
|
rpc :listTemplatesForUserDeprecated, ::Io::Pagination, stream(::Io::PassTemplateResponse)
|
|
32
|
+
# Retrieves all user-owned pass templates matching filters. Required Fields: filters.
|
|
24
33
|
rpc :listTemplatesForUser, ::Io::Filters, stream(::Io::PassTemplateResponse)
|
|
34
|
+
# [DEPRECATED: OR operator is not supported] Retrieves all company-wide pass templates matching filters. Required Fields: pagination.
|
|
25
35
|
rpc :listTemplatesDeprecated, ::Io::Pagination, stream(::Io::PassTemplateResponse)
|
|
36
|
+
# Retrieves all company-wide pass templates matching filters. Required Fields: filters.
|
|
26
37
|
rpc :listTemplates, ::Io::Filters, stream(::Io::PassTemplateResponse)
|
|
38
|
+
# [DEPRECATED: OR operator is not supported] Retrieves a count of company-wide pass templates matching filters. Required Fields: pagination.
|
|
27
39
|
rpc :countTemplatesDeprecated, ::Io::Pagination, ::Io::Count
|
|
40
|
+
# Retrieves a count of company-wide pass templates matching filters. Required Fields: filters.
|
|
28
41
|
rpc :countTemplates, ::Io::Filters, ::Io::Count
|
|
42
|
+
# [DEPRECATED: OR operator is not supported] Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
|
|
29
43
|
rpc :countTemplatesForUserDeprecated, ::Io::Pagination, ::Io::Count
|
|
44
|
+
# Retrieves a count of user-owned pass templates matching filters. Required Fields: filters.
|
|
30
45
|
rpc :countTemplatesForUser, ::Io::Filters, ::Io::Count
|
|
46
|
+
# Creates a new location object. Required Fields: latitude, longitude, message.
|
|
31
47
|
rpc :createLocation, ::Io::GPSLocation, ::Io::Id
|
|
48
|
+
# Updates an existing location. Required Fields: id.
|
|
32
49
|
rpc :updateLocation, ::Io::GPSLocation, ::Io::GPSLocation
|
|
50
|
+
# Retrieves a single location by ID. Required Fields: id.
|
|
33
51
|
rpc :getLocation, ::Io::Id, ::Io::GPSLocation
|
|
52
|
+
# [DEPRECATED: OR operator is not supported] Lists all location objects matching filters. Required Fields: pagination.
|
|
34
53
|
rpc :listLocationsDeprecated, ::Io::Pagination, stream(::Io::GPSLocation)
|
|
54
|
+
# Lists all location objects matching filters. Required Fields: filters.
|
|
35
55
|
rpc :listLocations, ::Io::Filters, stream(::Io::GPSLocation)
|
|
56
|
+
# Copies a location record and returns a new ID. Required Fields: id.
|
|
36
57
|
rpc :copyLocation, ::Io::CopyObjectInput, ::Io::Id
|
|
58
|
+
# Deletes a location object. Required Fields: id.
|
|
37
59
|
rpc :deleteLocation, ::Io::Id, ::Google::Protobuf::Empty
|
|
60
|
+
# [DEPRECATED: OR operator is not supported] Retrieves a count of locations that match the supplied criteria. Required: pagination.
|
|
38
61
|
rpc :countLocationsDeprecated, ::Io::Pagination, ::Io::Count
|
|
62
|
+
# Counts the number of location records that match the supplied filters. Required: filters.
|
|
39
63
|
rpc :countLocations, ::Io::Filters, ::Io::Count
|
|
64
|
+
# Creates a new beacon object. Required Fields: proximityUUID, lockscreenMessage.
|
|
40
65
|
rpc :createBeacon, ::Io::Beacon, ::Io::Id
|
|
66
|
+
# Updates an existing beacon object. Required Fields: id.
|
|
41
67
|
rpc :updateBeacon, ::Io::Beacon, ::Io::Beacon
|
|
68
|
+
# Retrieves a single beacon by ID. Required Fields: id.
|
|
42
69
|
rpc :getBeacon, ::Io::Id, ::Io::Beacon
|
|
70
|
+
# [DEPRECATED: OR operator is not supported] Retrieves beacon objects that match the supplied criteria. Required Fields: pagination.
|
|
43
71
|
rpc :listBeaconsDeprecated, ::Io::Pagination, stream(::Io::Beacon)
|
|
72
|
+
# Lists all beacon objects that match the provided filters. Required Fields: filters.
|
|
44
73
|
rpc :listBeacons, ::Io::Filters, stream(::Io::Beacon)
|
|
74
|
+
# Copies a beacon record and returns a new ID. Required Fields: id.
|
|
45
75
|
rpc :copyBeacon, ::Io::CopyObjectInput, ::Io::Id
|
|
76
|
+
# Deletes a beacon object. Required Fields: id.
|
|
46
77
|
rpc :deleteBeacon, ::Io::Id, ::Google::Protobuf::Empty
|
|
78
|
+
# [DEPRECATED: OR operator is not supported] Retrieves a count of beacons that match the supplied criteria. Required Fields: pagination.
|
|
47
79
|
rpc :countBeaconsDeprecated, ::Io::Pagination, ::Io::Count
|
|
80
|
+
# Returns the count of beacons that match the supplied filters. Required Fields: filters.
|
|
48
81
|
rpc :countBeacons, ::Io::Filters, ::Io::Count
|
|
82
|
+
# Creates a new link object. Required Fields: url, title, type.
|
|
49
83
|
rpc :createLink, ::Io::Link, ::Io::Id
|
|
84
|
+
# Updates an existing link object. Required Fields: id.
|
|
50
85
|
rpc :updateLink, ::Io::Link, ::Io::Link
|
|
86
|
+
# Retrieves a single link by ID. Required Fields: id.
|
|
51
87
|
rpc :getLink, ::Io::Id, ::Io::Link
|
|
88
|
+
# [DEPRECATED: OR operator is not supported] Retrieves links objects that match the supplied criteria. Required Fields: pagination.
|
|
52
89
|
rpc :listLinksDeprecated, ::Io::Pagination, stream(::Io::Link)
|
|
90
|
+
# Lists all link objects that match the provided filters. Required Fields: filters.
|
|
53
91
|
rpc :listLinks, ::Io::Filters, stream(::Io::Link)
|
|
92
|
+
# Copies a link record and returns a new ID. Required Fields: id.
|
|
54
93
|
rpc :copyLink, ::Io::CopyObjectInput, ::Io::Id
|
|
94
|
+
# Deletes a link object. Required Fields: id.
|
|
55
95
|
rpc :deleteLink, ::Io::Id, ::Google::Protobuf::Empty
|
|
96
|
+
# [DEPRECATED: OR operator is not supported] Retrieves a count of links that match the supplied criteria. Required Fields: pagination.
|
|
56
97
|
rpc :countLinksDeprecated, ::Io::Pagination, ::Io::Count
|
|
98
|
+
# Returns the count of links that match the supplied filters. Required Fields: filters.
|
|
57
99
|
rpc :countLinks, ::Io::Filters, ::Io::Count
|
|
58
100
|
end
|
|
59
101
|
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
# source: io/event_tickets/a_rpc.proto
|
|
4
4
|
|
|
5
5
|
require 'google/protobuf'
|
|
6
|
+
require 'protoc-gen-openapiv2/options/annotations_pb'
|
|
6
7
|
|
|
7
8
|
require 'google/protobuf/empty_pb'
|
|
8
9
|
require 'google/api/annotations_pb'
|
|
@@ -16,9 +17,9 @@ require 'io/event_tickets/ticket_pb'
|
|
|
16
17
|
require 'io/event_tickets/venue_pb'
|
|
17
18
|
|
|
18
19
|
|
|
19
|
-
descriptor_data = "\n\x1cio/event_tickets/a_rpc.proto\x12\revent_tickets\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x16io/common/filter.proto\x1a\x19io/common/reporting.proto\x1a\x1cio/event_tickets/event.proto\x1a!io/event_tickets/production.proto\x1a\"io/event_tickets/ticket_type.proto\x1a\x1dio/event_tickets/ticket.proto\x1a\x1cio/event_tickets/venue.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xe6W\n\x0c\x45ventTickets\x12\x98\x01\n\x10\x63reateProduction\x12\x19.event_tickets.Production\x1a\x06.io.Id\"a\x92\x41;\n\x0bProductions\x12\x11\x43reate Production\x1a\x19\x43reates a new Production.\x82\xd3\xe4\x93\x02\x1d\"\x18/eventTickets/production:\x01*\x12\xc9\x02\n\x0fpatchProduction\x12\x19.event_tickets.Production\x1a\x19.event_tickets.Production\"\xff\x01\x92\x41\xd8\x01\n\x0bProductions\x12\x10Patch Production\x1a\xb6\x01Partially updates an existing Production. Only id/uid and updating fields are required. Note: changes will update and affect all existing Events & Tickets related to this Production.\x82\xd3\xe4\x93\x02\x1d\x32\x18/eventTickets/production:\x01*\x12\xbb\x02\n\x10updateProduction\x12\x19.event_tickets.Production\x1a\x19.event_tickets.Production\"\xf0\x01\x92\x41\xc9\x01\n\x0bProductions\x12\x11Update Production\x1a\xa6\x01\x46ully updates an existing Production. All required fields are required. Note: changes will update and affect all existing Events & Tickets related to this Production.\x82\xd3\xe4\x93\x02\x1d\x1a\x18/eventTickets/production:\x01*\x12\x97\x01\n\rgetProduction\x12\x06.io.Id\x1a\x19.event_tickets.Production\"c\x92\x41;\n\x0bProductions\x12\x0eGet Production\x1a\x1cGets an existing Production.\x82\xd3\xe4\x93\x02\x1f\x12\x1d/eventTickets/production/{id}\x12\x99\x03\n\x10\x64\x65leteProduction\x12\x19.event_tickets.Production\x1a\x16.google.protobuf.Empty\"\xd1\x02\x92\x41\xaa\x02\n\x0bProductions\x12\x11\x44\x65lete Production\x1a\x87\x02\x44\x65letes an existing Production. Deleting a Production results in all Ticket Types, Events & Tickets for the Production being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1d*\x18/eventTickets/production:\x01*\x12\xb2\x01\n\x0flistProductions\x12\x0b.io.Filters\x1a\x19.event_tickets.Production\"u\x92\x41N\n\x0bProductions\x12\x10List Productions\x1a-Lists all Productions for the logged in user.\x82\xd3\xe4\x93\x02\x1e\"\x19/eventTickets/productions:\x01*0\x01\x12\xe0\x01\n\x0cgetAnalytics\x12\x14.io.AnalyticsRequest\x1a*.event_tickets.ProductionAnalyticsResponse\"\x8d\x01\x92\x41V\n\x0bProductions\x12\x18Get Production Analytics\x1a-Retrieves Production specific analytics data.\x82\xd3\xe4\x93\x02.\x12,/eventTickets/production/{classId}/analytics\x12\xa9\x01\n\x0e\x63opyProduction\x12$.event_tickets.ProductionCopyRequest\x1a\x06.io.Id\"i\x92\x41>\n\x0bProductions\x12\x0f\x43opy Production\x1a\x1e\x43opies an existing Production.\x82\xd3\xe4\x93\x02\"\"\x1d/eventTickets/production/copy:\x01*\x12z\n\x0b\x63reateVenue\x12\x14.event_tickets.Venue\x1a\x06.io.Id\"M\x92\x41,\n\x06Venues\x12\x0c\x43reate Venue\x1a\x14\x43reates a new Venue.\x82\xd3\xe4\x93\x02\x18\"\x13/eventTickets/venue:\x01*\x12\x95\x02\n\x0bupdateVenue\x12\x14.event_tickets.Venue\x1a\x14.event_tickets.Venue\"\xd9\x01\x92\x41\xb7\x01\n\x06Venues\x12\x0cUpdate Venue\x1a\x9e\x01Updates an existing Venue. Requires ID or User Defined ID to be set. Note: changes will update and affect all existing Events & Tickets related to this Venue.\x82\xd3\xe4\x93\x02\x18\x1a\x13/eventTickets/venue:\x01*\x12\x9d\x02\n\npatchVenue\x12\x14.event_tickets.Venue\x1a\x14.event_tickets.Venue\"\xe2\x01\x92\x41\xc0\x01\n\x06Venues\x12\x0bPatch Venue\x1a\xa8\x01Partially updates an existing Venue. Requires ID or User Defined ID to be set. Note: changes will update and affect all existing Events & Tickets related to this Venue.\x82\xd3\xe4\x93\x02\x18\x32\x13/eventTickets/venue:\x01*\x12\x9e\x01\n\x0cgetVenueById\x12\x06.io.Id\x1a\x14.event_tickets.Venue\"p\x92\x41M\n\x06Venues\x12\tGet Venue\x1a\x38Gets an existing Venue by PassKit ID or User Defined ID.\x82\xd3\xe4\x93\x02\x1a\x12\x18/eventTickets/venue/{id}\x12\xd5\x02\n\x0b\x64\x65leteVenue\x12\x14.event_tickets.Venue\x1a\x16.google.protobuf.Empty\"\x97\x02\x92\x41\xf5\x01\n\x06Venues\x12\x0c\x44\x65lete Venue\x1a\xdc\x01\x44\x65letes an existing Venue. Deleting a Venue, Events & Tickets for the Venue being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x18*\x13/eventTickets/venue:\x01*\x12\x94\x01\n\nlistVenues\x12\x0b.io.Filters\x1a\x14.event_tickets.Venue\"a\x92\x41?\n\x06Venues\x12\x0bList Venues\x1a(Lists all Venues for the logged in user.\x82\xd3\xe4\x93\x02\x19\"\x14/eventTickets/venues:\x01*0\x01\x12\xa1\x02\n\x0b\x63reateEvent\x12\x14.event_tickets.Event\x1a\x06.io.Id\"\xf3\x01\x92\x41\xd1\x01\n\x06\x45vents\x12\x0c\x43reate Event\x1a\xb8\x01\x43reates a new Event instance for a Production. You don\'t need to pass in the full Production and Venue objects if they already exist, you can provide just the id and it will work fine.\x82\xd3\xe4\x93\x02\x18\"\x13/eventTickets/event:\x01*\x12\xc0\x02\n\x0bupdateEvent\x12\x14.event_tickets.Event\x1a\x14.event_tickets.Event\"\x84\x02\x92\x41\xe2\x01\n\x06\x45vents\x12\x0cUpdate Event\x1a\xc9\x01\x46ully updates an existing Event. Requires ID to be set. Note1: changes will update & affect all existing tickets related to this event. Note2: Production and Venue cannot be changed from this endpoint.\x82\xd3\xe4\x93\x02\x18\x1a\x13/eventTickets/event:\x01*\x12\xff\x01\n\npatchEvent\x12\x14.event_tickets.Event\x1a\x14.event_tickets.Event\"\xc4\x01\x92\x41\xa2\x01\n\x06\x45vents\x12\x0bPatch Event\x1a\x8a\x01Partially updates an existing Event. Requires ID to be set. Note: changes will update & affect all existing tickets related to this event.\x82\xd3\xe4\x93\x02\x18\x32\x13/eventTickets/event:\x01*\x12\x8c\x01\n\x0cgetEventById\x12\x06.io.Id\x1a\x14.event_tickets.Event\"^\x92\x41\x38\n\x06\x45vents\x12\x0fGet Event by ID\x1a\x1dGets an existing Event by ID.\x82\xd3\xe4\x93\x02\x1d\x12\x1b/eventTickets/event/id/{id}\x12\xce\x01\n\x1bgetEventByStartDateAndVenue\x12\x1e.event_tickets.GetEventRequest\x1a\x14.event_tickets.Event\"y\x92\x41S\n\x06\x45vents\x12\x1fGet Event by Start Date & Venue\x1a(Gets an existing Event by event details.\x82\xd3\xe4\x93\x02\x1d\x12\x1b/eventTickets/event/details\x12\xf2\x02\n\x0b\x64\x65leteEvent\x12\x14.event_tickets.Event\x1a\x16.google.protobuf.Empty\"\xb4\x02\x92\x41\x92\x02\n\x06\x45vents\x12\x0c\x44\x65lete Event\x1a\xf9\x01\x44\x65letes an existing Event. Requires ID to be set. Deleting an Event results in all tickets for the Event being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x18*\x13/eventTickets/event:\x01*\x12\xb3\x01\n\nlistEvents\x12\x1f.event_tickets.EventListRequest\x1a .event_tickets.EventListResponse\"`\x92\x41\x39\n\x06\x45vents\x12\x0bList Events\x1a\"Lists all Events for a Production.\x82\xd3\xe4\x93\x02\x1e\"\x19/eventTickets/events/list:\x01*0\x01\x12\x94\x01\n\x10\x63reateTicketType\x12\x19.event_tickets.TicketType\x1a\x06.io.Id\"]\x92\x41\x37\n\x0cTicket Types\x12\x0bTicket Type\x1a\x1a\x43reates a new Ticket Type.\x82\xd3\xe4\x93\x02\x1d\"\x18/eventTickets/ticketType:\x01*\x12\x8b\x02\n\x10updateTicketType\x12\x19.event_tickets.TicketType\x1a\x19.event_tickets.TicketType\"\xc0\x01\x92\x41\x99\x01\n\x0cTicket Types\x12\x12Update Ticket Type\x1auUpdates an existing Ticket Type. Note: changes will update & affect all existing Tickets related to this Ticket Type.\x82\xd3\xe4\x93\x02\x1d\x1a\x18/eventTickets/ticketType:\x01*\x12\x93\x02\n\x0fpatchTicketType\x12\x19.event_tickets.TicketType\x1a\x19.event_tickets.TicketType\"\xc9\x01\x92\x41\xa2\x01\n\x0cTicket Types\x12\x11Patch Ticket Type\x1a\x7fPartially updates an existing Ticket Type. Note: changes will update & affect all existing Tickets related to this Ticket Type.\x82\xd3\xe4\x93\x02\x1d\x32\x18/eventTickets/ticketType:\x01*\x12\xb5\x01\n\x11getTicketTypeById\x12\x06.io.Id\x1a\x19.event_tickets.TicketType\"}\x92\x41R\n\x0cTicket Types\x12\x1dGet Ticket Type by PassKit ID\x1a#Gets an existing Ticket Type by ID.\x82\xd3\xe4\x93\x02\"\x12 /eventTickets/ticketType/id/{id}\x12\x90\x02\n\x1cgetTicketTypeByUserDefinedId\x12\x1e.event_tickets.GetByUidRequest\x1a\x19.event_tickets.TicketType\"\xb4\x01\x92\x41x\n\x0cTicket Types\x12\"Get Ticket Type by User Defined ID\x1a\x44Gets an existing Ticket Type by User Defined ID (and Production ID).\x82\xd3\xe4\x93\x02\x33\x12\x31/eventTickets/ticketType/uid/{productionId}/{uid}\x12\xb5\x03\n\x10\x64\x65leteTicketType\x12\x19.event_tickets.TicketType\x1a\x16.google.protobuf.Empty\"\xed\x02\x92\x41\xc6\x02\n\x0cTicket Types\x12\x12\x44\x65lete Ticket Type\x1a\xa1\x02\x44\x65letes an existing Ticket Type by ID, or User Defined ID (and Production ID). Deleting a Ticket Type results in the tickets for the Ticket Type being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1d*\x18/eventTickets/ticketType:\x01*\x12\xd8\x01\n\x0flistTicketTypes\x12$.event_tickets.TicketTypeListRequest\x1a\x19.event_tickets.TicketType\"\x81\x01\x92\x41K\n\x0cTicket Types\x12\x11List Ticket Types\x1a(Lists all Ticket Types for a Production.\x82\xd3\xe4\x93\x02-\"(/eventTickets/ticketTypes/{productionId}:\x01*0\x01\x12\xee\x02\n\x0bissueTicket\x12!.event_tickets.IssueTicketRequest\x1a\x06.io.Id\"\xb3\x02\x92\x41\x90\x02\n\x07Tickets\x12\x0cIssue Ticket\x1a\xf6\x01\x43reates a new unique Ticket record by PassKit IDs. If the Event does not yet exist, it will automatically be created. The combination of event.production.id, event.startDate, event.venue.id & ticket.ticketTypeUid is enforced as unique for Events.\x82\xd3\xe4\x93\x02\x19\"\x14/eventTickets/ticket:\x01*\x12\xd1\x03\n\x0fissueTicketById\x12\x15.event_tickets.Ticket\x1a%.event_tickets.IssueTicketResponseIds\"\xff\x02\x92\x41\xd9\x02\n\x07Tickets\x12\x0cIssue Ticket\x1a\xbf\x02\x43reates a new unique Ticket record by User Defined IDs. User Defined IDs for Production, Venue and TicketType are required. If the Event does not yet exist, it will automatically be created. The combination of event.production.id, event.startDate, event.venue.id & ticket.ticketTypeUid is enforced as unique for Events.\x82\xd3\xe4\x93\x02\x1c\"\x17/eventTickets/ticket/id:\x01*\x12\xe5\x01\n\x0cupdateTicket\x12\x15.event_tickets.Ticket\x1a\x06.io.Id\"\xb5\x01\x92\x41\x92\x01\n\x07Tickets\x12\rUpdate Ticket\x1axUpdates an existing Ticket. Requires ticket.ID to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\x19\x1a\x14/eventTickets/ticket:\x01*\x12\xc0\x01\n\x0bpatchPerson\x12 .event_tickets.EventTicketPerson\x1a\x06.io.Id\"\x86\x01\x92\x41]\n\x07Tickets\x12\x1bUpdate Personal Information\x1a\x35Updates personal information of a event ticket holder\x82\xd3\xe4\x93\x02 2\x1b/eventTickets/ticket/person:\x01*\x12\x8b\x03\n\x0evalidateTicket\x12$.event_tickets.ValidateTicketRequest\x1a%.event_tickets.ValidateTicketResponse\"\xab\x02\x92\x41\xff\x01\n\x07Tickets\x12\x0fValidate Ticket\x1a\xe2\x01Validates an existing Ticket. Use this endpoint when you want to check validity of a ticket. Tickets can be validated multiple times. Requires ticket.id to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\"\x1a\x1d/eventTickets/ticket/validate:\x01*\x12\x95\x02\n\x0credeemTicket\x12\".event_tickets.RedeemTicketRequest\x1a\x06.io.Id\"\xd8\x01\x92\x41\xae\x01\n\x07Tickets\x12\rRedeem Ticket\x1a\x93\x01Redeems an existing Ticket. Use this endpoint when you want to capture redemption data and trigger the switch to the redeemed design of the Ticket.\x82\xd3\xe4\x93\x02 \x1a\x1b/eventTickets/ticket/redeem:\x01*\x12\xd0\x02\n\x1aredeemTicketsByOrderNumber\x12\".event_tickets.RedeemByOrderNumber\x1a\x07.io.Ids\"\x84\x02\x92\x41\xcd\x01\n\x07Tickets\x12\x1eRedeem Tickets by Order Number\x1a\xa1\x01Redeems existing Tickets by Order Number. Use this endpoint when you want to capture redemption data and trigger the switch to the redeemed design of the Ticket.\x82\xd3\xe4\x93\x02-\x1a(/eventTickets/tickets/orderNumber/redeem:\x01*\x12\x8f\x01\n\rgetTicketById\x12\x06.io.Id\x1a\x15.event_tickets.Ticket\"_\x92\x41\x38\n\x07Tickets\x12\x10Get Ticket by ID\x1a\x1bGets a Ticket record by ID.\x82\xd3\xe4\x93\x02\x1e\x12\x1c/eventTickets/ticket/id/{id}\x12\xd0\x01\n\x17getTicketByTicketNumber\x12\".event_tickets.TicketNumberRequest\x1a\x15.event_tickets.Ticket\"z\x92\x41N\n\x07Tickets\x12\x1bGet Ticket by Ticket Number\x1a&Gets a Ticket record by Ticket Number.\x82\xd3\xe4\x93\x02#\x12!/eventTickets/ticket/ticketNumber\x12\xce\x01\n\x17getTicketsByOrderNumber\x12!.event_tickets.OrderNumberRequest\x1a\x16.event_tickets.Tickets\"x\x92\x41L\n\x07Tickets\x12\x1bGet Tickets by Order Number\x1a$Gets Ticket records by Order Number.\x82\xd3\xe4\x93\x02#\x12!/eventTickets/tickets/orderNumber\x12\xae\x02\n\x12getEventTicketPass\x12%.event_tickets.EventTicketPassRequest\x1a\x0f.io.PassBundles\"\xdf\x01\x92\x41\xbe\x01\n\x07Tickets\x12\x15Get Event Ticket Pass\x1a\x9b\x01Retrieves digital event ticket pass(es) in the requested format based on the index provided. Only one of ticketId, ticketNumber or orderNumber is required.\x82\xd3\xe4\x93\x02\x17\"\x12/eventTickets/pass:\x01*\x12\x95\x03\n\x0c\x64\x65leteTicket\x12\x17.event_tickets.TicketId\x1a\x16.google.protobuf.Empty\"\xd3\x02\x92\x41\xb0\x02\n\x07Tickets\x12\rDelete Ticket\x1a\x95\x02\x44\x65lete an existing Ticket by Id or Ticket Number. Invalidates the ticket in the customers Mobile Wallet; rendering it useless. This method is irreversible and should be used with care. Requires ticket.ID to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\x19*\x14/eventTickets/ticket:\x01*\x12\xdd\x02\n\x1a\x64\x65leteTicketsByOrderNumber\x12!.event_tickets.OrderNumberRequest\x1a\x16.google.protobuf.Empty\"\x83\x02\x92\x41\xdb\x01\n\x07Tickets\x12\x1e\x44\x65lete Tickets by Order Number\x1a\xaf\x01\x44\x65lete existing Ticketd by Order Number. Invalidates the ticket in the customers Mobile Wallet; rendering it useless. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1e*\x19/eventTickets/orderNumber:\x01*\x12\xcf\x01\n\x0blistTickets\x12 .event_tickets.TicketListRequest\x1a\".event_tickets.TicketLimitedFields\"x\x92\x41P\n\x07Tickets\x12\x0cList Tickets\x1a\x37List all tickets for a Production. Supports pagination.\x82\xd3\xe4\x93\x02\x1f\"\x1a/eventTickets/tickets/list:\x01*0\x01\x12\xcb\x01\n\x0c\x63ountTickets\x12 .event_tickets.TicketListRequest\x1a\t.io.Count\"\x8d\x01\x92\x41\x64\n\x07Tickets\x12\rCount Tickets\x1aJCount all tickets for a Production, Event, Ticket Type and / or Start Date\x82\xd3\xe4\x93\x02 \"\x1b/eventTickets/tickets/count:\x01*B\xec\x07\n\x1d\x63om.passkit.grpc.EventTicketsZ2stash.passkit.com/io/model/sdk/go/io/event_tickets\xaa\x02\x19PassKit.Grpc.EventTickets\x92\x41\xf9\x06\x12\xb4\x02\n\x19PassKit Event Tickets API\x12\x91\x01This API enables you to get all your Digital Event Tickets into Apple Wallet & Google Pay, from theatre and cinema, to sport events and concerts.\x1a\x38https://passkit.com/legal/terms-of-subscription-service/\"?\n\x0fPassKit Support\x12\x17https://docs.passkit.io\x1a\x13support@passkit.com2\x08\x30.1-spec*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonR9\n\x03\x32\x30\x30\x12\x32\n(Returned when the request is successful.\x12\x06\n\x04\x9a\x02\x01\x07R4\n\x03\x34\x30\x30\x12-\n+Returned when wrong user input is provided.R0\n\x03\x34\x30\x31\x12)\n\'Returned when the user is unauthorized.RP\n\x03\x34\x30\x33\x12I\nGReturned when the user does not have permission to access the resource.R;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07R<\n\x03\x35\x30\x30\x12\x35\n+Returned when there is an unexpected error.\x12\x06\n\x04\x9a\x02\x01\x07RW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.Z>\n<\n\napiKeyAuth\x12.\x08\x02\x12\x19JWT Authentication token.\x1a\rAuthorization \x02\x62\x10\n\x0e\n\napiKeyAuth\x12\x00\x62\x06proto3"
|
|
20
|
+
descriptor_data = "\n\x1cio/event_tickets/a_rpc.proto\x12\revent_tickets\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1eio/common/common_objects.proto\x1a\x16io/common/filter.proto\x1a\x19io/common/reporting.proto\x1a\x1cio/event_tickets/event.proto\x1a!io/event_tickets/production.proto\x1a\"io/event_tickets/ticket_type.proto\x1a\x1dio/event_tickets/ticket.proto\x1a\x1cio/event_tickets/venue.proto\x1a.protoc-gen-openapiv2/options/annotations.proto2\xa0Y\n\x0c\x45ventTickets\x12\x98\x01\n\x10\x63reateProduction\x12\x19.event_tickets.Production\x1a\x06.io.Id\"a\x92\x41;\n\x0bProductions\x12\x11\x43reate Production\x1a\x19\x43reates a new Production.\x82\xd3\xe4\x93\x02\x1d\"\x18/eventTickets/production:\x01*\x12\xc9\x02\n\x0fpatchProduction\x12\x19.event_tickets.Production\x1a\x19.event_tickets.Production\"\xff\x01\x92\x41\xd8\x01\n\x0bProductions\x12\x10Patch Production\x1a\xb6\x01Partially updates an existing Production. Only id/uid and updating fields are required. Note: changes will update and affect all existing Events & Tickets related to this Production.\x82\xd3\xe4\x93\x02\x1d\x32\x18/eventTickets/production:\x01*\x12\xbb\x02\n\x10updateProduction\x12\x19.event_tickets.Production\x1a\x19.event_tickets.Production\"\xf0\x01\x92\x41\xc9\x01\n\x0bProductions\x12\x11Update Production\x1a\xa6\x01\x46ully updates an existing Production. All required fields are required. Note: changes will update and affect all existing Events & Tickets related to this Production.\x82\xd3\xe4\x93\x02\x1d\x1a\x18/eventTickets/production:\x01*\x12\x97\x01\n\rgetProduction\x12\x06.io.Id\x1a\x19.event_tickets.Production\"c\x92\x41;\n\x0bProductions\x12\x0eGet Production\x1a\x1cGets an existing Production.\x82\xd3\xe4\x93\x02\x1f\x12\x1d/eventTickets/production/{id}\x12\x99\x03\n\x10\x64\x65leteProduction\x12\x19.event_tickets.Production\x1a\x16.google.protobuf.Empty\"\xd1\x02\x92\x41\xaa\x02\n\x0bProductions\x12\x11\x44\x65lete Production\x1a\x87\x02\x44\x65letes an existing Production. Deleting a Production results in all Ticket Types, Events & Tickets for the Production being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1d*\x18/eventTickets/production:\x01*\x12\xb2\x01\n\x0flistProductions\x12\x0b.io.Filters\x1a\x19.event_tickets.Production\"u\x92\x41N\n\x0bProductions\x12\x10List Productions\x1a-Lists all Productions for the logged in user.\x82\xd3\xe4\x93\x02\x1e\"\x19/eventTickets/productions:\x01*0\x01\x12\xe0\x01\n\x0cgetAnalytics\x12\x14.io.AnalyticsRequest\x1a*.event_tickets.ProductionAnalyticsResponse\"\x8d\x01\x92\x41V\n\x0bProductions\x12\x18Get Production Analytics\x1a-Retrieves Production specific analytics data.\x82\xd3\xe4\x93\x02.\x12,/eventTickets/production/{classId}/analytics\x12\xa9\x01\n\x0e\x63opyProduction\x12$.event_tickets.ProductionCopyRequest\x1a\x06.io.Id\"i\x92\x41>\n\x0bProductions\x12\x0f\x43opy Production\x1a\x1e\x43opies an existing Production.\x82\xd3\xe4\x93\x02\"\"\x1d/eventTickets/production/copy:\x01*\x12z\n\x0b\x63reateVenue\x12\x14.event_tickets.Venue\x1a\x06.io.Id\"M\x92\x41,\n\x06Venues\x12\x0c\x43reate Venue\x1a\x14\x43reates a new Venue.\x82\xd3\xe4\x93\x02\x18\"\x13/eventTickets/venue:\x01*\x12\x95\x02\n\x0bupdateVenue\x12\x14.event_tickets.Venue\x1a\x14.event_tickets.Venue\"\xd9\x01\x92\x41\xb7\x01\n\x06Venues\x12\x0cUpdate Venue\x1a\x9e\x01Updates an existing Venue. Requires ID or User Defined ID to be set. Note: changes will update and affect all existing Events & Tickets related to this Venue.\x82\xd3\xe4\x93\x02\x18\x1a\x13/eventTickets/venue:\x01*\x12\x9d\x02\n\npatchVenue\x12\x14.event_tickets.Venue\x1a\x14.event_tickets.Venue\"\xe2\x01\x92\x41\xc0\x01\n\x06Venues\x12\x0bPatch Venue\x1a\xa8\x01Partially updates an existing Venue. Requires ID or User Defined ID to be set. Note: changes will update and affect all existing Events & Tickets related to this Venue.\x82\xd3\xe4\x93\x02\x18\x32\x13/eventTickets/venue:\x01*\x12\x9e\x01\n\x0cgetVenueById\x12\x06.io.Id\x1a\x14.event_tickets.Venue\"p\x92\x41M\n\x06Venues\x12\tGet Venue\x1a\x38Gets an existing Venue by PassKit ID or User Defined ID.\x82\xd3\xe4\x93\x02\x1a\x12\x18/eventTickets/venue/{id}\x12\xd5\x02\n\x0b\x64\x65leteVenue\x12\x14.event_tickets.Venue\x1a\x16.google.protobuf.Empty\"\x97\x02\x92\x41\xf5\x01\n\x06Venues\x12\x0c\x44\x65lete Venue\x1a\xdc\x01\x44\x65letes an existing Venue. Deleting a Venue, Events & Tickets for the Venue being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x18*\x13/eventTickets/venue:\x01*\x12\x94\x01\n\nlistVenues\x12\x0b.io.Filters\x1a\x14.event_tickets.Venue\"a\x92\x41?\n\x06Venues\x12\x0bList Venues\x1a(Lists all Venues for the logged in user.\x82\xd3\xe4\x93\x02\x19\"\x14/eventTickets/venues:\x01*0\x01\x12\xa1\x02\n\x0b\x63reateEvent\x12\x14.event_tickets.Event\x1a\x06.io.Id\"\xf3\x01\x92\x41\xd1\x01\n\x06\x45vents\x12\x0c\x43reate Event\x1a\xb8\x01\x43reates a new Event instance for a Production. You don\'t need to pass in the full Production and Venue objects if they already exist, you can provide just the id and it will work fine.\x82\xd3\xe4\x93\x02\x18\"\x13/eventTickets/event:\x01*\x12\xc0\x02\n\x0bupdateEvent\x12\x14.event_tickets.Event\x1a\x14.event_tickets.Event\"\x84\x02\x92\x41\xe2\x01\n\x06\x45vents\x12\x0cUpdate Event\x1a\xc9\x01\x46ully updates an existing Event. Requires ID to be set. Note1: changes will update & affect all existing tickets related to this event. Note2: Production and Venue cannot be changed from this endpoint.\x82\xd3\xe4\x93\x02\x18\x1a\x13/eventTickets/event:\x01*\x12\xff\x01\n\npatchEvent\x12\x14.event_tickets.Event\x1a\x14.event_tickets.Event\"\xc4\x01\x92\x41\xa2\x01\n\x06\x45vents\x12\x0bPatch Event\x1a\x8a\x01Partially updates an existing Event. Requires ID to be set. Note: changes will update & affect all existing tickets related to this event.\x82\xd3\xe4\x93\x02\x18\x32\x13/eventTickets/event:\x01*\x12\x8c\x01\n\x0cgetEventById\x12\x06.io.Id\x1a\x14.event_tickets.Event\"^\x92\x41\x38\n\x06\x45vents\x12\x0fGet Event by ID\x1a\x1dGets an existing Event by ID.\x82\xd3\xe4\x93\x02\x1d\x12\x1b/eventTickets/event/id/{id}\x12\xce\x01\n\x1bgetEventByStartDateAndVenue\x12\x1e.event_tickets.GetEventRequest\x1a\x14.event_tickets.Event\"y\x92\x41S\n\x06\x45vents\x12\x1fGet Event by Start Date & Venue\x1a(Gets an existing Event by event details.\x82\xd3\xe4\x93\x02\x1d\x12\x1b/eventTickets/event/details\x12\xf2\x02\n\x0b\x64\x65leteEvent\x12\x14.event_tickets.Event\x1a\x16.google.protobuf.Empty\"\xb4\x02\x92\x41\x92\x02\n\x06\x45vents\x12\x0c\x44\x65lete Event\x1a\xf9\x01\x44\x65letes an existing Event. Requires ID to be set. Deleting an Event results in all tickets for the Event being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x18*\x13/eventTickets/event:\x01*\x12\xb3\x01\n\nlistEvents\x12\x1f.event_tickets.EventListRequest\x1a .event_tickets.EventListResponse\"`\x92\x41\x39\n\x06\x45vents\x12\x0bList Events\x1a\"Lists all Events for a Production.\x82\xd3\xe4\x93\x02\x1e\"\x19/eventTickets/events/list:\x01*0\x01\x12\x94\x01\n\x10\x63reateTicketType\x12\x19.event_tickets.TicketType\x1a\x06.io.Id\"]\x92\x41\x37\n\x0cTicket Types\x12\x0bTicket Type\x1a\x1a\x43reates a new Ticket Type.\x82\xd3\xe4\x93\x02\x1d\"\x18/eventTickets/ticketType:\x01*\x12\x8b\x02\n\x10updateTicketType\x12\x19.event_tickets.TicketType\x1a\x19.event_tickets.TicketType\"\xc0\x01\x92\x41\x99\x01\n\x0cTicket Types\x12\x12Update Ticket Type\x1auUpdates an existing Ticket Type. Note: changes will update & affect all existing Tickets related to this Ticket Type.\x82\xd3\xe4\x93\x02\x1d\x1a\x18/eventTickets/ticketType:\x01*\x12\x93\x02\n\x0fpatchTicketType\x12\x19.event_tickets.TicketType\x1a\x19.event_tickets.TicketType\"\xc9\x01\x92\x41\xa2\x01\n\x0cTicket Types\x12\x11Patch Ticket Type\x1a\x7fPartially updates an existing Ticket Type. Note: changes will update & affect all existing Tickets related to this Ticket Type.\x82\xd3\xe4\x93\x02\x1d\x32\x18/eventTickets/ticketType:\x01*\x12\xb5\x01\n\x11getTicketTypeById\x12\x06.io.Id\x1a\x19.event_tickets.TicketType\"}\x92\x41R\n\x0cTicket Types\x12\x1dGet Ticket Type by PassKit ID\x1a#Gets an existing Ticket Type by ID.\x82\xd3\xe4\x93\x02\"\x12 /eventTickets/ticketType/id/{id}\x12\x90\x02\n\x1cgetTicketTypeByUserDefinedId\x12\x1e.event_tickets.GetByUidRequest\x1a\x19.event_tickets.TicketType\"\xb4\x01\x92\x41x\n\x0cTicket Types\x12\"Get Ticket Type by User Defined ID\x1a\x44Gets an existing Ticket Type by User Defined ID (and Production ID).\x82\xd3\xe4\x93\x02\x33\x12\x31/eventTickets/ticketType/uid/{productionId}/{uid}\x12\xb5\x03\n\x10\x64\x65leteTicketType\x12\x19.event_tickets.TicketType\x1a\x16.google.protobuf.Empty\"\xed\x02\x92\x41\xc6\x02\n\x0cTicket Types\x12\x12\x44\x65lete Ticket Type\x1a\xa1\x02\x44\x65letes an existing Ticket Type by ID, or User Defined ID (and Production ID). Deleting a Ticket Type results in the tickets for the Ticket Type being deleted and invalidated in the customers Mobile Wallet; rendering them unusable. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1d*\x18/eventTickets/ticketType:\x01*\x12\xd8\x01\n\x0flistTicketTypes\x12$.event_tickets.TicketTypeListRequest\x1a\x19.event_tickets.TicketType\"\x81\x01\x92\x41K\n\x0cTicket Types\x12\x11List Ticket Types\x1a(Lists all Ticket Types for a Production.\x82\xd3\xe4\x93\x02-\"(/eventTickets/ticketTypes/{productionId}:\x01*0\x01\x12\xee\x02\n\x0bissueTicket\x12!.event_tickets.IssueTicketRequest\x1a\x06.io.Id\"\xb3\x02\x92\x41\x90\x02\n\x07Tickets\x12\x0cIssue Ticket\x1a\xf6\x01\x43reates a new unique Ticket record by PassKit IDs. If the Event does not yet exist, it will automatically be created. The combination of event.production.id, event.startDate, event.venue.id & ticket.ticketTypeUid is enforced as unique for Events.\x82\xd3\xe4\x93\x02\x19\"\x14/eventTickets/ticket:\x01*\x12\xd1\x03\n\x0fissueTicketById\x12\x15.event_tickets.Ticket\x1a%.event_tickets.IssueTicketResponseIds\"\xff\x02\x92\x41\xd9\x02\n\x07Tickets\x12\x0cIssue Ticket\x1a\xbf\x02\x43reates a new unique Ticket record by User Defined IDs. User Defined IDs for Production, Venue and TicketType are required. If the Event does not yet exist, it will automatically be created. The combination of event.production.id, event.startDate, event.venue.id & ticket.ticketTypeUid is enforced as unique for Events.\x82\xd3\xe4\x93\x02\x1c\"\x17/eventTickets/ticket/id:\x01*\x12\xe5\x01\n\x0cupdateTicket\x12\x15.event_tickets.Ticket\x1a\x06.io.Id\"\xb5\x01\x92\x41\x92\x01\n\x07Tickets\x12\rUpdate Ticket\x1axUpdates an existing Ticket. Requires ticket.ID to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\x19\x1a\x14/eventTickets/ticket:\x01*\x12\xc0\x01\n\x0bpatchPerson\x12 .event_tickets.EventTicketPerson\x1a\x06.io.Id\"\x86\x01\x92\x41]\n\x07Tickets\x12\x1bUpdate Personal Information\x1a\x35Updates personal information of a event ticket holder\x82\xd3\xe4\x93\x02 2\x1b/eventTickets/ticket/person:\x01*\x12\x8b\x03\n\x0evalidateTicket\x12$.event_tickets.ValidateTicketRequest\x1a%.event_tickets.ValidateTicketResponse\"\xab\x02\x92\x41\xff\x01\n\x07Tickets\x12\x0fValidate Ticket\x1a\xe2\x01Validates an existing Ticket. Use this endpoint when you want to check validity of a ticket. Tickets can be validated multiple times. Requires ticket.id to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\"\x1a\x1d/eventTickets/ticket/validate:\x01*\x12\x95\x02\n\x0credeemTicket\x12\".event_tickets.RedeemTicketRequest\x1a\x06.io.Id\"\xd8\x01\x92\x41\xae\x01\n\x07Tickets\x12\rRedeem Ticket\x1a\x93\x01Redeems an existing Ticket. Use this endpoint when you want to capture redemption data and trigger the switch to the redeemed design of the Ticket.\x82\xd3\xe4\x93\x02 \x1a\x1b/eventTickets/ticket/redeem:\x01*\x12\xd0\x02\n\x1aredeemTicketsByOrderNumber\x12\".event_tickets.RedeemByOrderNumber\x1a\x07.io.Ids\"\x84\x02\x92\x41\xcd\x01\n\x07Tickets\x12\x1eRedeem Tickets by Order Number\x1a\xa1\x01Redeems existing Tickets by Order Number. Use this endpoint when you want to capture redemption data and trigger the switch to the redeemed design of the Ticket.\x82\xd3\xe4\x93\x02-\x1a(/eventTickets/tickets/orderNumber/redeem:\x01*\x12\x8f\x01\n\rgetTicketById\x12\x06.io.Id\x1a\x15.event_tickets.Ticket\"_\x92\x41\x38\n\x07Tickets\x12\x10Get Ticket by ID\x1a\x1bGets a Ticket record by ID.\x82\xd3\xe4\x93\x02\x1e\x12\x1c/eventTickets/ticket/id/{id}\x12\xd0\x01\n\x17getTicketByTicketNumber\x12\".event_tickets.TicketNumberRequest\x1a\x15.event_tickets.Ticket\"z\x92\x41N\n\x07Tickets\x12\x1bGet Ticket by Ticket Number\x1a&Gets a Ticket record by Ticket Number.\x82\xd3\xe4\x93\x02#\x12!/eventTickets/ticket/ticketNumber\x12\xce\x01\n\x17getTicketsByOrderNumber\x12!.event_tickets.OrderNumberRequest\x1a\x16.event_tickets.Tickets\"x\x92\x41L\n\x07Tickets\x12\x1bGet Tickets by Order Number\x1a$Gets Ticket records by Order Number.\x82\xd3\xe4\x93\x02#\x12!/eventTickets/tickets/orderNumber\x12\xae\x02\n\x12getEventTicketPass\x12%.event_tickets.EventTicketPassRequest\x1a\x0f.io.PassBundles\"\xdf\x01\x92\x41\xbe\x01\n\x07Tickets\x12\x15Get Event Ticket Pass\x1a\x9b\x01Retrieves digital event ticket pass(es) in the requested format based on the index provided. Only one of ticketId, ticketNumber or orderNumber is required.\x82\xd3\xe4\x93\x02\x17\"\x12/eventTickets/pass:\x01*\x12\x95\x03\n\x0c\x64\x65leteTicket\x12\x17.event_tickets.TicketId\x1a\x16.google.protobuf.Empty\"\xd3\x02\x92\x41\xb0\x02\n\x07Tickets\x12\rDelete Ticket\x1a\x95\x02\x44\x65lete an existing Ticket by Id or Ticket Number. Invalidates the ticket in the customers Mobile Wallet; rendering it useless. This method is irreversible and should be used with care. Requires ticket.ID to be set, or ticket.ticketNumber + ticket.event.production.id to be set.\x82\xd3\xe4\x93\x02\x19*\x14/eventTickets/ticket:\x01*\x12\xb7\x01\n\x11\x62ulkDeleteTickets\x12\x19.io.BulkPassActionRequest\x1a\x16.google.protobuf.Empty\"o\x92\x41O\n\x07Tickets\x12\x13\x42ulk delete tickets\x1a/Deletes multiple tickets by the filter provided\x82\xd3\xe4\x93\x02\x17*\x12/eventTickets/bulk:\x01*\x12\xdd\x02\n\x1a\x64\x65leteTicketsByOrderNumber\x12!.event_tickets.OrderNumberRequest\x1a\x16.google.protobuf.Empty\"\x83\x02\x92\x41\xdb\x01\n\x07Tickets\x12\x1e\x44\x65lete Tickets by Order Number\x1a\xaf\x01\x44\x65lete existing Ticketd by Order Number. Invalidates the ticket in the customers Mobile Wallet; rendering it useless. This method is irreversible and should be used with care.\x82\xd3\xe4\x93\x02\x1e*\x19/eventTickets/orderNumber:\x01*\x12\xcf\x01\n\x0blistTickets\x12 .event_tickets.TicketListRequest\x1a\".event_tickets.TicketLimitedFields\"x\x92\x41P\n\x07Tickets\x12\x0cList Tickets\x1a\x37List all tickets for a Production. Supports pagination.\x82\xd3\xe4\x93\x02\x1f\"\x1a/eventTickets/tickets/list:\x01*0\x01\x12\xcb\x01\n\x0c\x63ountTickets\x12 .event_tickets.TicketListRequest\x1a\t.io.Count\"\x8d\x01\x92\x41\x64\n\x07Tickets\x12\rCount Tickets\x1aJCount all tickets for a Production, Event, Ticket Type and / or Start Date\x82\xd3\xe4\x93\x02 \"\x1b/eventTickets/tickets/count:\x01*B\xd8\x07\n\x1d\x63om.passkit.grpc.EventTicketsZ2stash.passkit.com/io/model/sdk/go/io/event_tickets\xaa\x02\x19PassKit.Grpc.EventTickets\x92\x41\xe5\x06\x12\xa0\x02\n\x19PassKit Event Tickets API\x12\x94\x01This API enables you to get all your Digital Event Tickets into Apple Wallet & Google Wallet, from theatre and cinema, to sport events and concerts.\x1a https://passkit.com/legal/terms/\"@\n\x0fPassKit Support\x12\x18https://help.passkit.com\x1a\x13support@passkit.com2\x08\x30.1-spec*\x01\x02\x32\x10\x61pplication/json:\x10\x61pplication/jsonR9\n\x03\x32\x30\x30\x12\x32\n(Returned when the request is successful.\x12\x06\n\x04\x9a\x02\x01\x07R4\n\x03\x34\x30\x30\x12-\n+Returned when wrong user input is provided.R0\n\x03\x34\x30\x31\x12)\n\'Returned when the user is unauthorized.RP\n\x03\x34\x30\x33\x12I\nGReturned when the user does not have permission to access the resource.R;\n\x03\x34\x30\x34\x12\x34\n*Returned when the resource does not exist.\x12\x06\n\x04\x9a\x02\x01\x07R<\n\x03\x35\x30\x30\x12\x35\n+Returned when there is an unexpected error.\x12\x06\n\x04\x9a\x02\x01\x07RW\n\x03\x35\x30\x33\x12P\nNServer is unavailable. Back off for 250ms and repeat request until successful.Z>\n<\n\napiKeyAuth\x12.\x08\x02\x12\x19JWT Authentication token.\x1a\rAuthorization \x02\x62\x10\n\x0e\n\napiKeyAuth\x12\x00\x62\x06proto3"
|
|
20
21
|
|
|
21
|
-
pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
22
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
22
23
|
pool.add_serialized_file(descriptor_data)
|
|
23
24
|
|
|
24
25
|
module EventTickets
|