pug-sh 0.0.1
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 +7 -0
- data/LICENSE +21 -0
- data/README.md +247 -0
- data/lib/pug/batcher.rb +384 -0
- data/lib/pug/client.rb +248 -0
- data/lib/pug/connect.rb +291 -0
- data/lib/pug/countries.rb +19 -0
- data/lib/pug/errors.rb +16 -0
- data/lib/pug/event_builder.rb +522 -0
- data/lib/pug/gen/buf/validate/validate_pb.rb +59 -0
- data/lib/pug/gen/common/events/v1/api_events_pb.rb +26 -0
- data/lib/pug/gen/common/events/v1/app_events_pb.rb +33 -0
- data/lib/pug/gen/common/events/v1/auth_events_pb.rb +32 -0
- data/lib/pug/gen/common/events/v1/billing_events_pb.rb +41 -0
- data/lib/pug/gen/common/events/v1/chat_events_pb.rb +56 -0
- data/lib/pug/gen/common/events/v1/commerce_events_pb.rb +38 -0
- data/lib/pug/gen/common/events/v1/discovery_events_pb.rb +31 -0
- data/lib/pug/gen/common/events/v1/error_events_pb.rb +26 -0
- data/lib/pug/gen/common/events/v1/file_events_pb.rb +29 -0
- data/lib/pug/gen/common/events/v1/form_events_pb.rb +27 -0
- data/lib/pug/gen/common/events/v1/integration_events_pb.rb +27 -0
- data/lib/pug/gen/common/events/v1/invitation_events_pb.rb +26 -0
- data/lib/pug/gen/common/events/v1/media_events_pb.rb +36 -0
- data/lib/pug/gen/common/events/v1/navigation_events_pb.rb +31 -0
- data/lib/pug/gen/common/events/v1/notification_events_pb.rb +28 -0
- data/lib/pug/gen/common/events/v1/options_pb.rb +25 -0
- data/lib/pug/gen/common/events/v1/social_events_pb.rb +25 -0
- data/lib/pug/gen/common/events/v1/support_events_pb.rb +33 -0
- data/lib/pug/gen/common/events/v1/workspace_events_pb.rb +30 -0
- data/lib/pug/gen/common/v1/filter_schema_pb.rb +29 -0
- data/lib/pug/gen/common/v1/filters_pb.rb +27 -0
- data/lib/pug/gen/common/v1/property_value_pb.rb +24 -0
- data/lib/pug/gen/common/v1/time_pb.rb +25 -0
- data/lib/pug/gen/sdk/devices/v1/devices_pb.rb +35 -0
- data/lib/pug/gen/sdk/events/v1/events_pb.rb +30 -0
- data/lib/pug/gen/sdk/profiles/v1/profiles_pb.rb +28 -0
- data/lib/pug/gen/shared/activity/v1/activity_pb.rb +46 -0
- data/lib/pug/gen/shared/insights/v1/insights_pb.rb +69 -0
- data/lib/pug/gen/shared/profiles/v1/profiles_pb.rb +43 -0
- data/lib/pug/log.rb +35 -0
- data/lib/pug/proto.rb +22 -0
- data/lib/pug/reads.rb +118 -0
- data/lib/pug/rpc.rb +73 -0
- data/lib/pug/validator.rb +475 -0
- data/lib/pug/version.rb +5 -0
- data/lib/pug/well_known.rb +33 -0
- data/lib/pug-sh.rb +3 -0
- data/lib/pug.rb +5 -0
- metadata +122 -0
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/file_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\"common/events/v1/file_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"\xb4\x01\n\x16\x46ileUploadedProperties\x12\x1f\n\x07\x66ile_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06\x66ileId\x12!\n\tfile_name\x18\x02 \x01(\tB\x04\x88\xb5\x18\x01R\x08\x66ileName\x12\x1b\n\tfile_type\x18\x03 \x01(\tR\x08\x66ileType\x12&\n\nsize_bytes\x18\x04 \x01(\x03\x42\x07\xbaH\x04\"\x02(\x00R\tsizeBytes:\x11\x82\xb5\x18\rfile_uploaded\"\xb8\x01\n\x18\x46ileDownloadedProperties\x12\x1f\n\x07\x66ile_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06\x66ileId\x12!\n\tfile_name\x18\x02 \x01(\tB\x04\x88\xb5\x18\x01R\x08\x66ileName\x12\x1b\n\tfile_type\x18\x03 \x01(\tR\x08\x66ileType\x12&\n\nsize_bytes\x18\x04 \x01(\x03\x42\x07\xbaH\x04\"\x02(\x00R\tsizeBytes:\x13\x82\xb5\x18\x0f\x66ile_downloaded\"s\n\x17\x45xportStartedProperties\x12#\n\texport_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08\x65xportId\x12\x1f\n\x0b\x65xport_type\x18\x02 \x01(\tR\nexportType:\x12\x82\xb5\x18\x0e\x65xport_started\"\x9f\x01\n\x19\x45xportCompletedProperties\x12#\n\texport_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08\x65xportId\x12\x1f\n\x0b\x65xport_type\x18\x02 \x01(\tR\nexportType\x12&\n\nsize_bytes\x18\x03 \x01(\x03\x42\x07\xbaH\x04\"\x02(\x00R\tsizeBytes:\x14\x82\xb5\x18\x10\x65xport_completedB\xdf\x01\n\x14\x63om.common.events.v1B\x0f\x46ileEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
FileUploadedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.FileUploadedProperties").msgclass
|
|
22
|
+
FileDownloadedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.FileDownloadedProperties").msgclass
|
|
23
|
+
ExportStartedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ExportStartedProperties").msgclass
|
|
24
|
+
ExportCompletedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ExportCompletedProperties").msgclass
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/form_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\"common/events/v1/form_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"c\n\x13\x46ormStartProperties\x12\x1f\n\x07\x66orm_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06\x66ormId\x12\x1b\n\tform_name\x18\x02 \x01(\tR\x08\x66ormName:\x0e\x82\xb5\x18\nform_start\"}\n\x14\x46ormSubmitProperties\x12\x1f\n\x07\x66orm_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x06\x66ormId\x12\x1b\n\tform_name\x18\x02 \x01(\tR\x08\x66ormName\x12\x16\n\x06\x61\x63tion\x18\x03 \x01(\tR\x06\x61\x63tion:\x0f\x82\xb5\x18\x0b\x66orm_submitB\xdf\x01\n\x14\x63om.common.events.v1B\x0f\x46ormEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
FormStartProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.FormStartProperties").msgclass
|
|
22
|
+
FormSubmitProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.FormSubmitProperties").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/integration_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n)common/events/v1/integration_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"\x95\x01\n\x1eIntegrationConnectedProperties\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId\x12\x31\n\x10integration_type\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0fintegrationType:\x19\x82\xb5\x18\x15integration_connected\"\xb3\x01\n!IntegrationDisconnectedProperties\x12%\n\x0eintegration_id\x18\x01 \x01(\tR\rintegrationId\x12\x31\n\x10integration_type\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0fintegrationType\x12\x16\n\x06reason\x18\x03 \x01(\tR\x06reason:\x1c\x82\xb5\x18\x18integration_disconnectedB\xe6\x01\n\x14\x63om.common.events.v1B\x16IntegrationEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
IntegrationConnectedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.IntegrationConnectedProperties").msgclass
|
|
22
|
+
IntegrationDisconnectedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.IntegrationDisconnectedProperties").msgclass
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/invitation_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative 'options_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n(common/events/v1/invitation_events.proto\x12\x10\x63ommon.events.v1\x1a\x1e\x63ommon/events/v1/options.proto\"\xe4\x01\n\x14InviteSentProperties\x12\x1b\n\tinvite_id\x18\x01 \x01(\tR\x08inviteId\x12!\n\x0cworkspace_id\x18\x02 \x01(\tR\x0bworkspaceId\x12\x1d\n\ninviter_id\x18\x03 \x01(\tR\tinviterId\x12\x1d\n\ninvitee_id\x18\x04 \x01(\tR\tinviteeId\x12)\n\rinvitee_email\x18\x05 \x01(\tB\x04\x88\xb5\x18\x01R\x0cinviteeEmail\x12\x12\n\x04role\x18\x06 \x01(\tR\x04role:\x0f\x82\xb5\x18\x0binvite_sent\"\xec\x01\n\x18InviteAcceptedProperties\x12\x1b\n\tinvite_id\x18\x01 \x01(\tR\x08inviteId\x12!\n\x0cworkspace_id\x18\x02 \x01(\tR\x0bworkspaceId\x12\x1d\n\ninviter_id\x18\x03 \x01(\tR\tinviterId\x12\x1d\n\ninvitee_id\x18\x04 \x01(\tR\tinviteeId\x12)\n\rinvitee_email\x18\x05 \x01(\tB\x04\x88\xb5\x18\x01R\x0cinviteeEmail\x12\x12\n\x04role\x18\x06 \x01(\tR\x04role:\x13\x82\xb5\x18\x0finvite_acceptedB\xe5\x01\n\x14\x63om.common.events.v1B\x15InvitationEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Pug
|
|
16
|
+
module Proto
|
|
17
|
+
module Common
|
|
18
|
+
module Events
|
|
19
|
+
module V1
|
|
20
|
+
InviteSentProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.InviteSentProperties").msgclass
|
|
21
|
+
InviteAcceptedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.InviteAcceptedProperties").msgclass
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/media_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/duration_pb'
|
|
9
|
+
require_relative 'options_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n#common/events/v1/media_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1egoogle/protobuf/duration.proto\x1a\x1e\x63ommon/events/v1/options.proto\"N\n\x16VideoStartedProperties\x12!\n\x08video_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07videoId:\x11\x82\xb5\x18\rvideo_started\"\x89\x01\n\x13VideoPlayProperties\x12!\n\x08video_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07videoId\x12?\n\x08position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x08position:\x0e\x82\xb5\x18\nvideo_play\"\x8b\x01\n\x14VideoPauseProperties\x12!\n\x08video_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07videoId\x12?\n\x08position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x08position:\x0f\x82\xb5\x18\x0bvideo_pause\"\xdc\x01\n\x15VideoSeekedProperties\x12!\n\x08video_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07videoId\x12H\n\rfrom_position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x0c\x66romPosition\x12\x44\n\x0bto_position\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\ntoPosition:\x10\x82\xb5\x18\x0cvideo_seeked\"R\n\x18VideoCompletedProperties\x12!\n\x08video_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07videoId:\x13\x82\xb5\x18\x0fvideo_completed\"N\n\x16\x41udioStartedProperties\x12!\n\x08\x61udio_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07\x61udioId:\x11\x82\xb5\x18\raudio_started\"\x89\x01\n\x13\x41udioPlayProperties\x12!\n\x08\x61udio_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07\x61udioId\x12?\n\x08position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x08position:\x0e\x82\xb5\x18\naudio_play\"\x8b\x01\n\x14\x41udioPauseProperties\x12!\n\x08\x61udio_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07\x61udioId\x12?\n\x08position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x08position:\x0f\x82\xb5\x18\x0b\x61udio_pause\"\xdc\x01\n\x15\x41udioSeekedProperties\x12!\n\x08\x61udio_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07\x61udioId\x12H\n\rfrom_position\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\x0c\x66romPosition\x12\x44\n\x0bto_position\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x08\xbaH\x05\xaa\x01\x02\x32\x00R\ntoPosition:\x10\x82\xb5\x18\x0c\x61udio_seeked\"R\n\x18\x41udioCompletedProperties\x12!\n\x08\x61udio_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07\x61udioId:\x13\x82\xb5\x18\x0f\x61udio_completedB\xe0\x01\n\x14\x63om.common.events.v1B\x10MediaEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
13
|
+
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Pug
|
|
18
|
+
module Proto
|
|
19
|
+
module Common
|
|
20
|
+
module Events
|
|
21
|
+
module V1
|
|
22
|
+
VideoStartedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.VideoStartedProperties").msgclass
|
|
23
|
+
VideoPlayProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.VideoPlayProperties").msgclass
|
|
24
|
+
VideoPauseProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.VideoPauseProperties").msgclass
|
|
25
|
+
VideoSeekedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.VideoSeekedProperties").msgclass
|
|
26
|
+
VideoCompletedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.VideoCompletedProperties").msgclass
|
|
27
|
+
AudioStartedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.AudioStartedProperties").msgclass
|
|
28
|
+
AudioPlayProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.AudioPlayProperties").msgclass
|
|
29
|
+
AudioPauseProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.AudioPauseProperties").msgclass
|
|
30
|
+
AudioSeekedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.AudioSeekedProperties").msgclass
|
|
31
|
+
AudioCompletedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.AudioCompletedProperties").msgclass
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
end
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/navigation_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n(common/events/v1/navigation_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"(\n\x12PageViewProperties:\x12\x82\xb5\x18\tpage_view\x92\xb5\x18\x01\x01\"y\n\x14ScreenViewProperties\x12\'\n\x0bscreen_name\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\nscreenName\x12!\n\x0cscreen_class\x18\x02 \x01(\tR\x0bscreenClass:\x15\x82\xb5\x18\x0bscreen_view\x92\xb5\x18\x02\x02\x03\"\x89\x01\n\x0f\x43lickProperties\x12\x14\n\x05\x63lass\x18\x01 \x01(\tR\x05\x63lass\x12\x0e\n\x02id\x18\x02 \x01(\tR\x02id\x12\x10\n\x03tag\x18\x03 \x01(\tR\x03tag\x12\x12\n\x04text\x18\x04 \x01(\tR\x04text\x12\x0c\n\x01x\x18\x05 \x01(\x05R\x01x\x12\x0c\n\x01y\x18\x06 \x01(\x05R\x01y:\x0e\x82\xb5\x18\x05\x63lick\x92\xb5\x18\x01\x01\"\x8a\x01\n\x13RageClickProperties\x12(\n\x0b\x63lick_count\x18\x01 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x02R\nclickCount\x12\x18\n\x07\x65lement\x18\x02 \x01(\tR\x07\x65lement\x12\x0c\n\x01x\x18\x03 \x01(\x05R\x01x\x12\x0c\n\x01y\x18\x04 \x01(\x05R\x01y:\x13\x82\xb5\x18\nrage_click\x92\xb5\x18\x01\x01\"t\n\x13\x44\x65\x61\x64\x43lickProperties\x12\x18\n\x07\x65lement\x18\x01 \x01(\tR\x07\x65lement\x12\x12\n\x04text\x18\x02 \x01(\tR\x04text\x12\x0c\n\x01x\x18\x03 \x01(\x05R\x01x\x12\x0c\n\x01y\x18\x04 \x01(\x05R\x01y:\x13\x82\xb5\x18\ndead_click\x92\xb5\x18\x01\x01\"n\n\x10ScrollProperties\x12#\n\x07percent\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\x64(\x00R\x07percent\x12\"\n\x08scroll_y\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\x07scrollY:\x11\x82\xb5\x18\x06scroll\x92\xb5\x18\x03\x01\x02\x03\x42\xe5\x01\n\x14\x63om.common.events.v1B\x15NavigationEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
PageViewProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.PageViewProperties").msgclass
|
|
22
|
+
ScreenViewProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ScreenViewProperties").msgclass
|
|
23
|
+
ClickProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ClickProperties").msgclass
|
|
24
|
+
RageClickProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.RageClickProperties").msgclass
|
|
25
|
+
DeadClickProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.DeadClickProperties").msgclass
|
|
26
|
+
ScrollProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ScrollProperties").msgclass
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/notification_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n*common/events/v1/notification_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"\x91\x01\n\x1eNotificationReceivedProperties\x12\'\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\ncampaignId\x12+\n\x11notification_type\x18\x02 \x01(\tR\x10notificationType:\x19\x82\xb5\x18\x15notification_received\"\x8f\x01\n\x1dNotificationClickedProperties\x12\'\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\ncampaignId\x12+\n\x11notification_type\x18\x02 \x01(\tR\x10notificationType:\x18\x82\xb5\x18\x14notification_clicked\"\x93\x01\n\x1fNotificationDismissedProperties\x12\'\n\x0b\x63\x61mpaign_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\ncampaignId\x12+\n\x11notification_type\x18\x02 \x01(\tR\x10notificationType:\x1a\x82\xb5\x18\x16notification_dismissedB\xe7\x01\n\x14\x63om.common.events.v1B\x17NotificationEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
NotificationReceivedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.NotificationReceivedProperties").msgclass
|
|
22
|
+
NotificationClickedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.NotificationClickedProperties").msgclass
|
|
23
|
+
NotificationDismissedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.NotificationDismissedProperties").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/options.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require 'google/protobuf/descriptor_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n\x1e\x63ommon/events/v1/options.proto\x12\x10\x63ommon.events.v1\x1a google/protobuf/descriptor.proto*\x89\x01\n\x08Platform\x12\x18\n\x14PLATFORM_UNSPECIFIED\x10\x00\x12\x10\n\x0cPLATFORM_WEB\x10\x01\x12\x10\n\x0cPLATFORM_IOS\x10\x02\x12\x14\n\x10PLATFORM_ANDROID\x10\x03\x12\x14\n\x10PLATFORM_DESKTOP\x10\x04\x12\x13\n\x0fPLATFORM_SERVER\x10\x05:5\n\x04kind\x12\x1f.google.protobuf.MessageOptions\x18\xd0\x86\x03 \x01(\tR\x04kind:1\n\x03pii\x12\x1d.google.protobuf.FieldOptions\x18\xd1\x86\x03 \x01(\x08R\x03pii:[\n\tplatforms\x12\x1f.google.protobuf.MessageOptions\x18\xd2\x86\x03 \x03(\x0e\x32\x1a.common.events.v1.PlatformR\tplatformsB\xdc\x01\n\x14\x63om.common.events.v1B\x0cOptionsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Pug
|
|
16
|
+
module Proto
|
|
17
|
+
module Common
|
|
18
|
+
module Events
|
|
19
|
+
module V1
|
|
20
|
+
Platform = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.Platform").enummodule
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/social_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative 'options_pb'
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
descriptor_data = "\n$common/events/v1/social_events.proto\x12\x10\x63ommon.events.v1\x1a\x1e\x63ommon/events/v1/options.proto\"\x1c\n\x0fShareProperties:\t\x82\xb5\x18\x05shareB\xe1\x01\n\x14\x63om.common.events.v1B\x11SocialEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
11
|
+
|
|
12
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
|
14
|
+
|
|
15
|
+
module Pug
|
|
16
|
+
module Proto
|
|
17
|
+
module Common
|
|
18
|
+
module Events
|
|
19
|
+
module V1
|
|
20
|
+
ShareProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.ShareProperties").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/support_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n%common/events/v1/support_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"\x92\x01\n\x1b\x46\x65\x65\x64\x62\x61\x63kSubmittedProperties\x12\x1f\n\x0b\x66\x65\x65\x64\x62\x61\x63k_id\x18\x01 \x01(\tR\nfeedbackId\x12\x1a\n\x08\x63\x61tegory\x18\x02 \x01(\tR\x08\x63\x61tegory\x12\x1e\n\x07\x63omment\x18\x03 \x01(\tB\x04\x88\xb5\x18\x01R\x07\x63omment:\x16\x82\xb5\x18\x12\x66\x65\x65\x64\x62\x61\x63k_submitted\"l\n\x16NpsSubmittedProperties\x12\x1f\n\x05score\x18\x01 \x01(\x05\x42\t\xbaH\x06\x1a\x04\x18\n(\x00R\x05score\x12\x1e\n\x07\x63omment\x18\x02 \x01(\tB\x04\x88\xb5\x18\x01R\x07\x63omment:\x11\x82\xb5\x18\rnps_submitted\"R\n\x17SurveyStartedProperties\x12#\n\tsurvey_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08surveyId:\x12\x82\xb5\x18\x0esurvey_started\"\x86\x01\n\x19SurveyCompletedProperties\x12#\n\tsurvey_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08surveyId\x12.\n\x0equestion_count\x18\x02 \x01(\x05\x42\x07\xbaH\x04\x1a\x02(\x00R\rquestionCount:\x14\x82\xb5\x18\x10survey_completed\"\x99\x01\n\x1eSupportTicketCreatedProperties\x12#\n\tticket_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08ticketId\x12\x1a\n\x08\x63\x61tegory\x18\x02 \x01(\tR\x08\x63\x61tegory\x12\x1a\n\x08priority\x18\x03 \x01(\tR\x08priority:\x1a\x82\xb5\x18\x16support_ticket_created\"\x89\x01\n\x1fSupportTicketResolvedProperties\x12#\n\tticket_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08ticketId\x12$\n\nresolution\x18\x02 \x01(\tB\x04\x88\xb5\x18\x01R\nresolution:\x1b\x82\xb5\x18\x17support_ticket_resolved\"\x85\x01\n\x1cSupportChatStartedProperties\x12/\n\x0f\x63onversation_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0e\x63onversationId\x12\x1a\n\x05topic\x18\x02 \x01(\tB\x04\x88\xb5\x18\x01R\x05topic:\x18\x82\xb5\x18\x14support_chat_started\"\x9e\x01\n\x1bHelpArticleViewedProperties\x12%\n\narticle_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\tarticleId\x12#\n\rarticle_title\x18\x02 \x01(\tR\x0c\x61rticleTitle\x12\x1a\n\x08\x63\x61tegory\x18\x03 \x01(\tR\x08\x63\x61tegory:\x17\x82\xb5\x18\x13help_article_viewedB\xe2\x01\n\x14\x63om.common.events.v1B\x12SupportEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
FeedbackSubmittedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.FeedbackSubmittedProperties").msgclass
|
|
22
|
+
NpsSubmittedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.NpsSubmittedProperties").msgclass
|
|
23
|
+
SurveyStartedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.SurveyStartedProperties").msgclass
|
|
24
|
+
SurveyCompletedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.SurveyCompletedProperties").msgclass
|
|
25
|
+
SupportTicketCreatedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.SupportTicketCreatedProperties").msgclass
|
|
26
|
+
SupportTicketResolvedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.SupportTicketResolvedProperties").msgclass
|
|
27
|
+
SupportChatStartedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.SupportChatStartedProperties").msgclass
|
|
28
|
+
HelpArticleViewedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.HelpArticleViewedProperties").msgclass
|
|
29
|
+
end
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/events/v1/workspace_events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'options_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\'common/events/v1/workspace_events.proto\x12\x10\x63ommon.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/events/v1/options.proto\"\x85\x01\n\x1aWorkspaceCreatedProperties\x12)\n\x0cworkspace_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0bworkspaceId\x12%\n\x0eworkspace_name\x18\x02 \x01(\tR\rworkspaceName:\x15\x82\xb5\x18\x11workspace_created\"p\n\x19WorkspaceJoinedProperties\x12)\n\x0cworkspace_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0bworkspaceId\x12\x12\n\x04role\x18\x02 \x01(\tR\x04role:\x14\x82\xb5\x18\x10workspace_joined\"v\n\x1aWorkspaceDeletedProperties\x12)\n\x0cworkspace_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0bworkspaceId\x12\x16\n\x06reason\x18\x02 \x01(\tR\x06reason:\x15\x82\xb5\x18\x11workspace_deleted\"\xd4\x01\n\x1eWorkspaceRoleChangedProperties\x12)\n\x0cworkspace_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0bworkspaceId\x12#\n\tmember_id\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x08memberId\x12#\n\rprevious_role\x18\x03 \x01(\tR\x0cpreviousRole\x12!\n\x08new_role\x18\x04 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07newRole:\x1a\x82\xb5\x18\x16workspace_role_changed\"\x91\x01\n\"WorkspaceSettingsUpdatedProperties\x12)\n\x0cworkspace_id\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x0bworkspaceId\x12 \n\x07setting\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x07setting:\x1e\x82\xb5\x18\x1aworkspace_settings_updatedB\xe4\x01\n\x14\x63om.common.events.v1B\x14WorkspaceEventsProtoP\x01ZHgithub.com/pug-sh/pug/internal/gen/proto/common/events/v1;commoneventsv1\xa2\x02\x03\x43\x45X\xaa\x02\x10\x43ommon.Events.V1\xca\x02\x10\x43ommon\\Events\\V1\xe2\x02\x1c\x43ommon\\Events\\V1\\GPBMetadata\xea\x02\x1ePug::Proto::Common::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module Events
|
|
20
|
+
module V1
|
|
21
|
+
WorkspaceCreatedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.WorkspaceCreatedProperties").msgclass
|
|
22
|
+
WorkspaceJoinedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.WorkspaceJoinedProperties").msgclass
|
|
23
|
+
WorkspaceDeletedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.WorkspaceDeletedProperties").msgclass
|
|
24
|
+
WorkspaceRoleChangedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.WorkspaceRoleChangedProperties").msgclass
|
|
25
|
+
WorkspaceSettingsUpdatedProperties = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.events.v1.WorkspaceSettingsUpdatedProperties").msgclass
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/v1/filter_schema.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1d\x63ommon/v1/filter_schema.proto\x12\tcommon.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"w\n\rEventNameMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12<\n\x0clast_seen_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nlastSeenAt\"\xb6\x01\n\x0fPropertyKeyMeta\x12\x12\n\x04name\x18\x01 \x01(\tR\x04name\x12\x14\n\x05\x63ount\x18\x02 \x01(\x04R\x05\x63ount\x12<\n\x0clast_seen_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nlastSeenAt\x12;\n\nvalue_type\x18\x04 \x01(\x0e\x32\x1c.common.v1.PropertyValueTypeR\tvalueType\"\xa5\x01\n\x16GetFilterSchemaRequest\x12\x37\n\nevent_kind\x18\x01 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^[a-zA-Z0-9_.-]*$R\teventKind\x12R\n\rallowed_types\x18\x02 \x03(\x0e\x32\x1c.common.v1.PropertyValueTypeB\x0f\xbaH\x0c\x92\x01\t\"\x07\x82\x01\x04\x10\x01 \x00R\x0c\x61llowedTypes\"\xb3\x02\n\x17GetFilterSchemaResponse\x12\x30\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x18.common.v1.EventNameMetaR\x06\x65vents\x12H\n\x12\x61uto_property_keys\x18\x02 \x03(\x0b\x32\x1a.common.v1.PropertyKeyMetaR\x10\x61utoPropertyKeys\x12L\n\x14\x63ustom_property_keys\x18\x03 \x03(\x0b\x32\x1a.common.v1.PropertyKeyMetaR\x12\x63ustomPropertyKeys\x12N\n\x15profile_property_keys\x18\x04 \x03(\x0b\x32\x1a.common.v1.PropertyKeyMetaR\x13profilePropertyKeys*\x84\x01\n\x0ePropertySource\x12\x1f\n\x1bPROPERTY_SOURCE_UNSPECIFIED\x10\x00\x12\x18\n\x14PROPERTY_SOURCE_AUTO\x10\x01\x12\x1a\n\x16PROPERTY_SOURCE_CUSTOM\x10\x02\x12\x1b\n\x17PROPERTY_SOURCE_PROFILE\x10\x03*\xfa\x01\n\x11PropertyValueType\x12#\n\x1fPROPERTY_VALUE_TYPE_UNSPECIFIED\x10\x00\x12\x1e\n\x1aPROPERTY_VALUE_TYPE_STRING\x10\x01\x12\x1f\n\x1bPROPERTY_VALUE_TYPE_INTEGER\x10\x02\x12\x1d\n\x19PROPERTY_VALUE_TYPE_FLOAT\x10\x03\x12\x1f\n\x1bPROPERTY_VALUE_TYPE_BOOLEAN\x10\x04\x12 \n\x1cPROPERTY_VALUE_TYPE_DATETIME\x10\x05\x12\x1d\n\x19PROPERTY_VALUE_TYPE_OTHER\x10\x06\x42\xb0\x01\n\rcom.common.v1B\x11\x46ilterSchemaProtoP\x01Z;github.com/pug-sh/pug/internal/gen/proto/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\x16Pug::Proto::Common::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module V1
|
|
20
|
+
EventNameMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.EventNameMeta").msgclass
|
|
21
|
+
PropertyKeyMeta = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.PropertyKeyMeta").msgclass
|
|
22
|
+
GetFilterSchemaRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.GetFilterSchemaRequest").msgclass
|
|
23
|
+
GetFilterSchemaResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.GetFilterSchemaResponse").msgclass
|
|
24
|
+
PropertySource = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.PropertySource").enummodule
|
|
25
|
+
PropertyValueType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.PropertyValueType").enummodule
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/v1/filters.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../buf/validate/validate_pb'
|
|
8
|
+
require_relative 'filter_schema_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x17\x63ommon/v1/filters.proto\x12\tcommon.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1d\x63ommon/v1/filter_schema.proto\"\xbf\x1b\n\x0ePropertyFilter\x12L\n\x08property\x18\x01 \x01(\tB0\xbaH-r(2&^\\$?[a-zA-Z0-9_-]+(\\.[a-zA-Z0-9_-]+)*$\xc8\x01\x01R\x08property\x12\x44\n\x08operator\x18\x02 \x01(\x0e\x32\x19.common.v1.FilterOperatorB\r\xbaH\n\x82\x01\x04\x10\x01 \x00\xc8\x01\x01R\x08operator\x12\x14\n\x05value\x18\x03 \x01(\tR\x05value\x12\x16\n\x06values\x18\x04 \x03(\tR\x06values\x12;\n\x06source\x18\x05 \x01(\x0e\x32\x19.common.v1.PropertySourceB\x08\xbaH\x05\x82\x01\x02\x10\x01R\x06source:\xad\x19\xbaH\xa9\x19\x1a\xf0\x03\n\x1eproperty_filter.value_required\x12#value is required for this operator\x1a\xa8\x03this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IS_SET|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IS_NOT_SET|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN|| this.value != \'\'\x1a\xcd\x08\n&property_filter.numeric_value_required\x12Wvalue/values must contain valid numbers for lte/gte/lt/gt/between/not_between operators\x1a\xc9\x07!(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_LTE|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_GTE|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_LT|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_GT|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)|| ((this.operator == common.v1.FilterOperator.FILTER_OPERATOR_LTE|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_GTE|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_LT|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_GT)&& double(this.value) == double(this.value))|| ((this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)&& this.values.size() >= 2 && double(this.values[0]) == double(this.values[0]) && double(this.values[1]) == double(this.values[1]))\x1a\x91\x03\n\x1fproperty_filter.values_required\x12\x44values must not be empty for in/not_in/between/not_between operators\x1a\xa7\x02!(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)|| this.values.size() > 0\x1a\xf6\x02\n\"property_filter.values_not_allowed\x12&values must be empty for this operator\x1a\xa7\x02(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_IN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)|| this.values.size() == 0\x1a\x8e\x02\n+property_filter.between_requires_two_values\x12\x36\x62\x65tween/not_between operators require exactly 2 values\x1a\xa6\x01!(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)|| this.values.size() == 2\x1a\x8a\x02\n3property_filter.value_not_allowed_for_set_operators\x12\x33value must be empty for is_set/is_not_set operators\x1a\x9d\x01!(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IS_SET|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_IS_NOT_SET)|| this.value == \'\'\x1a\xb8\x02\n&property_filter.between_ordered_values\x12\x33\x62\x65tween/not_between requires values[0] <= values[1]\x1a\xd8\x01!(this.operator == common.v1.FilterOperator.FILTER_OPERATOR_BETWEEN|| this.operator == common.v1.FilterOperator.FILTER_OPERATOR_NOT_BETWEEN)|| this.values.size() < 2|| double(this.values[0]) <= double(this.values[1])\"p\n\x0b\x45ventFilter\x12,\n\x04kind\x18\x01 \x01(\tB\x18\xbaH\x15r\x13\x32\x11^[a-zA-Z0-9_.-]*$R\x04kind\x12\x33\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x19.common.v1.PropertyFilterR\x07\x66ilters*\xbd\x03\n\x0e\x46ilterOperator\x12\x1f\n\x1b\x46ILTER_OPERATOR_UNSPECIFIED\x10\x00\x12\x1a\n\x16\x46ILTER_OPERATOR_EQUALS\x10\x01\x12\x1e\n\x1a\x46ILTER_OPERATOR_NOT_EQUALS\x10\x02\x12\x1c\n\x18\x46ILTER_OPERATOR_CONTAINS\x10\x03\x12 \n\x1c\x46ILTER_OPERATOR_NOT_CONTAINS\x10\x04\x12\x1a\n\x16\x46ILTER_OPERATOR_IS_SET\x10\x05\x12\x1e\n\x1a\x46ILTER_OPERATOR_IS_NOT_SET\x10\x06\x12\x17\n\x13\x46ILTER_OPERATOR_LTE\x10\x07\x12\x17\n\x13\x46ILTER_OPERATOR_GTE\x10\x08\x12\x16\n\x12\x46ILTER_OPERATOR_LT\x10\t\x12\x16\n\x12\x46ILTER_OPERATOR_GT\x10\n\x12\x16\n\x12\x46ILTER_OPERATOR_IN\x10\x0b\x12\x1a\n\x16\x46ILTER_OPERATOR_NOT_IN\x10\x0c\x12\x1b\n\x17\x46ILTER_OPERATOR_BETWEEN\x10\r\x12\x1f\n\x1b\x46ILTER_OPERATOR_NOT_BETWEEN\x10\x0e*f\n\x0fLogicalOperator\x12 \n\x1cLOGICAL_OPERATOR_UNSPECIFIED\x10\x00\x12\x18\n\x14LOGICAL_OPERATOR_AND\x10\x01\x12\x17\n\x13LOGICAL_OPERATOR_OR\x10\x02\x42\xab\x01\n\rcom.common.v1B\x0c\x46iltersProtoP\x01Z;github.com/pug-sh/pug/internal/gen/proto/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\x16Pug::Proto::Common::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module V1
|
|
20
|
+
PropertyFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.PropertyFilter").msgclass
|
|
21
|
+
EventFilter = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.EventFilter").msgclass
|
|
22
|
+
FilterOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.FilterOperator").enummodule
|
|
23
|
+
LogicalOperator = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.LogicalOperator").enummodule
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/v1/property_value.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1e\x63ommon/v1/property_value.proto\x12\tcommon.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x83\x02\n\rPropertyValue\x12-\n\x0cstring_value\x18\x01 \x01(\tB\x08\xbaH\x05r\x03\x18\x80\x08H\x00R\x0bstringValue\x12\x1d\n\tint_value\x18\x02 \x01(\x03H\x00R\x08intValue\x12,\n\x0c\x64ouble_value\x18\x03 \x01(\x01\x42\x07\xbaH\x04\x12\x02@\x01H\x00R\x0b\x64oubleValue\x12\x1f\n\nbool_value\x18\x04 \x01(\x08H\x00R\tboolValue\x12\x45\n\x0ftimestamp_value\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x00R\x0etimestampValueB\x0e\n\x05value\x12\x05\xbaH\x02\x08\x01\x42\xb1\x01\n\rcom.common.v1B\x12PropertyValueProtoP\x01Z;github.com/pug-sh/pug/internal/gen/proto/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\x16Pug::Proto::Common::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module V1
|
|
20
|
+
PropertyValue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.PropertyValue").msgclass
|
|
21
|
+
end
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: common/v1/time.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/timestamp_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x14\x63ommon/v1/time.proto\x12\tcommon.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xdc\x01\n\tTimeRange\x12\x36\n\x04\x66rom\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x04\x66rom\x12\x32\n\x02to\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\x02to:c\xbaH`\x1a^\n\x19time_range.from_before_to\x12,time_range.from must be before time_range.to\x1a\x13this.from < this.to*\xf9\x02\n\x0fTimeRangePreset\x12!\n\x1dTIME_RANGE_PRESET_UNSPECIFIED\x10\x00\x12!\n\x1dTIME_RANGE_PRESET_LAST_1_HOUR\x10\x01\x12\"\n\x1eTIME_RANGE_PRESET_LAST_6_HOURS\x10\x02\x12#\n\x1fTIME_RANGE_PRESET_LAST_24_HOURS\x10\x03\x12!\n\x1dTIME_RANGE_PRESET_LAST_7_DAYS\x10\x04\x12\"\n\x1eTIME_RANGE_PRESET_LAST_14_DAYS\x10\x05\x12\"\n\x1eTIME_RANGE_PRESET_LAST_30_DAYS\x10\x06\x12\"\n\x1eTIME_RANGE_PRESET_LAST_90_DAYS\x10\x07\x12#\n\x1fTIME_RANGE_PRESET_LAST_180_DAYS\x10\x08\x12#\n\x1fTIME_RANGE_PRESET_LAST_365_DAYS\x10\tB\xa8\x01\n\rcom.common.v1B\tTimeProtoP\x01Z;github.com/pug-sh/pug/internal/gen/proto/common/v1;commonv1\xa2\x02\x03\x43XX\xaa\x02\tCommon.V1\xca\x02\tCommon\\V1\xe2\x02\x15\x43ommon\\V1\\GPBMetadata\xea\x02\x16Pug::Proto::Common::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Common
|
|
19
|
+
module V1
|
|
20
|
+
TimeRange = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.TimeRange").msgclass
|
|
21
|
+
TimeRangePreset = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("common.v1.TimeRangePreset").enummodule
|
|
22
|
+
end
|
|
23
|
+
end
|
|
24
|
+
end
|
|
25
|
+
end
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sdk/devices/v1/devices.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/struct_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1csdk/devices/v1/devices.proto\x12\x0esdk.devices.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xc8\x03\n\x10SubscribeRequest\x12\'\n\tdevice_id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x18$\xc8\x01\x01R\x08\x64\x65viceId\x12\x37\n\x08platform\x18\x02 \x01(\tB\x1b\xbaH\x18r\x13R\x07\x61ndroidR\x03iosR\x03web\xc8\x01\x01R\x08platform\x12\x38\n\x13profile_external_id\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xff\x01R\x11profileExternalId\x12&\n\nprofile_id\x18\x04 \x01(\tB\x07\xbaH\x04r\x02\x18\x14R\tprofileId\x12\x1c\n\x05token\x18\x05 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x05token\x12\x37\n\nproperties\x18\x06 \x01(\x0b\x32\x17.google.protobuf.StructR\nproperties:\x98\x01\xbaH\x94\x01\x1a\x91\x01\n\x19profile_id_or_external_id\x12;at most one of profile_id or profile_external_id may be set\x1a\x37this.profile_id == \'\' || this.profile_external_id == \'\'\"\x13\n\x11SubscribeResponse\"e\n\x13UpdateStatusRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x18$\xc8\x01\x01R\x02id\x12\x32\n\x06status\x18\x02 \x01(\tB\x1a\xbaH\x17r\x12R\x06\x61\x63tiveR\x08inactive\xc8\x01\x01R\x06status\"\x16\n\x14UpdateStatusResponse\"N\n\x12UpdateTokenRequest\x12\x1a\n\x02id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x18$\xc8\x01\x01R\x02id\x12\x1c\n\x05token\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x05token\"\x15\n\x13UpdateTokenResponse\"\xd4\x02\n\x16\x44\x65viceOperationMessage\x12\'\n\tdevice_id\x18\x01 \x01(\tB\n\xbaH\x07r\x02\x18$\xc8\x01\x01R\x08\x64\x65viceId\x12%\n\nproject_id\x18\x02 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\tprojectId\x12@\n\tsubscribe\x18\n \x01(\x0b\x32 .sdk.devices.v1.SubscribePayloadH\x00R\tsubscribe\x12J\n\rupdate_status\x18\x0b \x01(\x0b\x32#.sdk.devices.v1.UpdateStatusPayloadH\x00R\x0cupdateStatus\x12G\n\x0cupdate_token\x18\x0c \x01(\x0b\x32\".sdk.devices.v1.UpdateTokenPayloadH\x00R\x0bupdateTokenB\x13\n\x11operation_payload\"\xf1\x01\n\x10SubscribePayload\x12\x37\n\x08platform\x18\x01 \x01(\tB\x1b\xbaH\x18r\x13R\x07\x61ndroidR\x03iosR\x03web\xc8\x01\x01R\x08platform\x12.\n\x13profile_external_id\x18\x02 \x01(\tR\x11profileExternalId\x12\x1d\n\nprofile_id\x18\x03 \x01(\tR\tprofileId\x12\x1c\n\x05token\x18\x04 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x05token\x12\x37\n\nproperties\x18\x05 \x01(\x0b\x32\x17.google.protobuf.StructR\nproperties\"I\n\x13UpdateStatusPayload\x12\x32\n\x06status\x18\x01 \x01(\tB\x1a\xbaH\x17r\x12R\x06\x61\x63tiveR\x08inactive\xc8\x01\x01R\x06status\"2\n\x12UpdateTokenPayload\x12\x1c\n\x05token\x18\x01 \x01(\tB\x06\xbaH\x03\xc8\x01\x01R\x05token2\x9b\x02\n\x0e\x44\x65vicesService\x12R\n\tSubscribe\x12 .sdk.devices.v1.SubscribeRequest\x1a!.sdk.devices.v1.SubscribeResponse\"\x00\x12[\n\x0cUpdateStatus\x12#.sdk.devices.v1.UpdateStatusRequest\x1a$.sdk.devices.v1.UpdateStatusResponse\"\x00\x12X\n\x0bUpdateToken\x12\".sdk.devices.v1.UpdateTokenRequest\x1a#.sdk.devices.v1.UpdateTokenResponse\"\x00\x42\xcb\x01\n\x12\x63om.sdk.devices.v1B\x0c\x44\x65vicesProtoP\x01ZAgithub.com/pug-sh/pug/internal/gen/proto/sdk/devices/v1;devicesv1\xa2\x02\x03SDX\xaa\x02\x0eSdk.Devices.V1\xca\x02\x0eSdk\\Devices\\V1\xe2\x02\x1aSdk\\Devices\\V1\\GPBMetadata\xea\x02\x1cPug::Proto::Sdk::Devices::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Sdk
|
|
19
|
+
module Devices
|
|
20
|
+
module V1
|
|
21
|
+
SubscribeRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.SubscribeRequest").msgclass
|
|
22
|
+
SubscribeResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.SubscribeResponse").msgclass
|
|
23
|
+
UpdateStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateStatusRequest").msgclass
|
|
24
|
+
UpdateStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateStatusResponse").msgclass
|
|
25
|
+
UpdateTokenRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateTokenRequest").msgclass
|
|
26
|
+
UpdateTokenResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateTokenResponse").msgclass
|
|
27
|
+
DeviceOperationMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.DeviceOperationMessage").msgclass
|
|
28
|
+
SubscribePayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.SubscribePayload").msgclass
|
|
29
|
+
UpdateStatusPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateStatusPayload").msgclass
|
|
30
|
+
UpdateTokenPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.devices.v1.UpdateTokenPayload").msgclass
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sdk/events/v1/events.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require_relative '../../../common/v1/property_value_pb'
|
|
9
|
+
require 'google/protobuf/timestamp_pb'
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
descriptor_data = "\n\x1asdk/events/v1/events.proto\x12\rsdk.events.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1e\x63ommon/v1/property_value.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xb3\x03\n\x12\x42\x61tchCreateRequest\x12\x37\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x14.sdk.events.v1.EventB\t\xbaH\x06\x92\x01\x03\x10\xe8\x07R\x06\x65vents:\xe3\x02\xbaH\xdf\x02\x1a\xb5\x01\n&batch.cookieless_identity_server_owned\x12\x39\x63ookieless events must not send distinct_id or session_id\x1aPthis.events.all(e, !e.cookieless || (e.distinct_id == \'\' && e.session_id == \'\'))\x1a\xa4\x01\n!batch.distinct_id_reserved_prefix\x12\x41\x64istinct_id must not start with the reserved \'cookieless-\' prefix\x1a<this.events.all(e, !e.distinct_id.startsWith(\'cookieless-\'))\"\xf4\x01\n\x13\x42\x61tchCreateResponse\x12\x1a\n\x08\x61\x63\x63\x65pted\x18\x01 \x01(\rR\x08\x61\x63\x63\x65pted\x12\x18\n\x07\x64ropped\x18\x02 \x01(\rR\x07\x64ropped\x12\x63\n\x11\x64ropped_by_reason\x18\x03 \x03(\x0b\x32\x37.sdk.events.v1.BatchCreateResponse.DroppedByReasonEntryR\x0f\x64roppedByReason\x1a\x42\n\x14\x44roppedByReasonEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n\x05value\x18\x02 \x01(\rR\x05value:\x02\x38\x01\"\xec\x08\n\x05\x45vent\x12&\n\x08\x65vent_id\x18\x01 \x01(\tB\x0b\xbaH\x08r\x03\xb0\x01\x01\xc8\x01\x01R\x07\x65ventId\x12Q\n\x0f\x61uto_properties\x18\x02 \x03(\x0b\x32(.sdk.events.v1.Event.AutoPropertiesEntryR\x0e\x61utoProperties\x12W\n\x11\x63ustom_properties\x18\x03 \x03(\x0b\x32*.sdk.events.v1.Event.CustomPropertiesEntryR\x10\x63ustomProperties\x12\x1f\n\x0b\x64istinct_id\x18\x04 \x01(\tR\ndistinctId\x12/\n\x04kind\x18\x05 \x01(\tB\x1b\xbaH\x18r\x13\x32\x11^[a-zA-Z0-9_.-]+$\xc8\x01\x01R\x04kind\x12\x41\n\noccur_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x06\xbaH\x03\xc8\x01\x01R\toccurTime\x12\'\n\nsession_id\x18\x07 \x01(\tB\x08\xbaH\x05r\x03\xb0\x01\x01R\tsessionId\x12\x1e\n\ncookieless\x18\x08 \x01(\x08R\ncookieless\x1a[\n\x13\x41utoPropertiesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.common.v1.PropertyValueR\x05value:\x02\x38\x01\x1a]\n\x15\x43ustomPropertiesEntry\x12\x10\n\x03key\x18\x01 \x01(\tR\x03key\x12.\n\x05value\x18\x02 \x01(\x0b\x32\x18.common.v1.PropertyValueR\x05value:\x02\x38\x01:\xf4\x03\xbaH\xf0\x03\x1a\x83\x01\n#event.auto_properties_dollar_prefix\x12(auto_properties keys must start with \'$\'\x1a\x32this.auto_properties.all(key, key.startsWith(\'$\'))\x1a\xb0\x01\n(event.custom_properties_no_dollar_prefix\x12Mcustom_properties keys must not start with \'$\' (reserved for auto-properties)\x1a\x35this.custom_properties.all(key, !key.startsWith(\'$\'))\x1a\xb4\x01\n)event.identity_required_unless_cookieless\x12\x41\x64istinct_id and session_id are required unless cookieless is true\x1a\x44this.cookieless || (this.distinct_id != \'\' && this.session_id != \'\')\"e\n\nEventBatch\x12,\n\x06\x65vents\x18\x01 \x03(\x0b\x32\x14.sdk.events.v1.EventR\x06\x65vents\x12)\n\nproject_id\x18\x02 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\tprojectId2e\n\rEventsService\x12T\n\x0b\x42\x61tchCreate\x12!.sdk.events.v1.BatchCreateRequest\x1a\".sdk.events.v1.BatchCreateResponseB\xc3\x01\n\x11\x63om.sdk.events.v1B\x0b\x45ventsProtoP\x01Z?github.com/pug-sh/pug/internal/gen/proto/sdk/events/v1;eventsv1\xa2\x02\x03SEX\xaa\x02\rSdk.Events.V1\xca\x02\rSdk\\Events\\V1\xe2\x02\x19Sdk\\Events\\V1\\GPBMetadata\xea\x02\x1bPug::Proto::Sdk::Events::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
13
|
+
|
|
14
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
|
16
|
+
|
|
17
|
+
module Pug
|
|
18
|
+
module Proto
|
|
19
|
+
module Sdk
|
|
20
|
+
module Events
|
|
21
|
+
module V1
|
|
22
|
+
BatchCreateRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.events.v1.BatchCreateRequest").msgclass
|
|
23
|
+
BatchCreateResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.events.v1.BatchCreateResponse").msgclass
|
|
24
|
+
Event = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.events.v1.Event").msgclass
|
|
25
|
+
EventBatch = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.events.v1.EventBatch").msgclass
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# frozen_string_literal: true
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: sdk/profiles/v1/profiles.proto
|
|
4
|
+
|
|
5
|
+
require 'google/protobuf'
|
|
6
|
+
|
|
7
|
+
require_relative '../../../buf/validate/validate_pb'
|
|
8
|
+
require 'google/protobuf/struct_pb'
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
descriptor_data = "\n\x1esdk/profiles/v1/profiles.proto\x12\x0fsdk.profiles.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/protobuf/struct.proto\"\xd1\x02\n\x0fIdentifyRequest\x12\xae\x01\n\x0b\x65xternal_id\x18\x01 \x01(\tB\x8c\x01\xbaH\x88\x01\xba\x01\x81\x01\n\x1b\x65xternal_id.reserved_prefix\x12\x41\x65xternal_id must not start with the reserved \'cookieless-\' prefix\x1a\x1f!this.startsWith(\'cookieless-\')\xc8\x01\x01R\nexternalId\x12/\n\x06traits\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x06traits\x12\x36\n\x0c\x61nonymous_id\x18\x03 \x01(\tB\x13\xbaH\x10r\x0e\x18\xff\x01\x32\t^$|^anon-R\x0b\x61nonymousId\x12$\n\tdevice_id\x18\x04 \x01(\tB\x07\xbaH\x04r\x02\x18$R\x08\x64\x65viceId\"\x12\n\x10IdentifyResponse\"\xe9\x02\n\x16ProfileIdentifyMessage\x12\xb2\x01\n\x0b\x65xternal_id\x18\x01 \x01(\tB\x90\x01\xbaH\x8c\x01r\x02\x10\x01\xba\x01\x81\x01\n\x1b\x65xternal_id.reserved_prefix\x12\x41\x65xternal_id must not start with the reserved \'cookieless-\' prefix\x1a\x1f!this.startsWith(\'cookieless-\')\xc8\x01\x01R\nexternalId\x12/\n\x06traits\x18\x02 \x01(\x0b\x32\x17.google.protobuf.StructR\x06traits\x12)\n\nproject_id\x18\x03 \x01(\tB\n\xbaH\x07r\x02\x10\x01\xc8\x01\x01R\tprojectId\x12!\n\x0c\x61nonymous_id\x18\x04 \x01(\tR\x0b\x61nonymousId\x12\x1b\n\tdevice_id\x18\x05 \x01(\tR\x08\x64\x65viceId2e\n\x12ProfilesSDKService\x12O\n\x08Identify\x12 .sdk.profiles.v1.IdentifyRequest\x1a!.sdk.profiles.v1.IdentifyResponseB\xd6\x01\n\x13\x63om.sdk.profiles.v1B\rProfilesProtoP\x01ZFgithub.com/pug-sh/pug/internal/gen/proto/sdk/profiles/v1;sdkprofilesv1\xa2\x02\x03SPX\xaa\x02\x0fSdk.Profiles.V1\xca\x02\x0fSdk\\Profiles\\V1\xe2\x02\x1bSdk\\Profiles\\V1\\GPBMetadata\xea\x02\x1dPug::Proto::Sdk::Profiles::V1b\x08\x65\x64itionsp\xe8\x07"
|
|
12
|
+
|
|
13
|
+
pool = ::Google::Protobuf::DescriptorPool.generated_pool
|
|
14
|
+
pool.add_serialized_file(descriptor_data)
|
|
15
|
+
|
|
16
|
+
module Pug
|
|
17
|
+
module Proto
|
|
18
|
+
module Sdk
|
|
19
|
+
module Profiles
|
|
20
|
+
module V1
|
|
21
|
+
IdentifyRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.profiles.v1.IdentifyRequest").msgclass
|
|
22
|
+
IdentifyResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.profiles.v1.IdentifyResponse").msgclass
|
|
23
|
+
ProfileIdentifyMessage = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("sdk.profiles.v1.ProfileIdentifyMessage").msgclass
|
|
24
|
+
end
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
end
|
|
28
|
+
end
|