wikipaddle_api 1.1.6 → 1.1.8
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/lib/wikipaddle_api/admin/v1/admin_service_pb.rb +8 -2
- data/lib/wikipaddle_api/admin/v1/admin_service_twirp.rb +2 -0
- data/lib/wikipaddle_api/public/v1/mobile_service_pb.rb +6 -3
- data/lib/wikipaddle_api/public/v1/mobile_service_twirp.rb +1 -0
- data/lib/wikipaddle_api/version.rb +1 -1
- data/lib/wikipaddle_api/webhooks/v1/webhooks_service_pb.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e4f70ea8237c026da139a16b3497e42c8e23c0475c78bfabe1a8287700207f06
|
4
|
+
data.tar.gz: b8eedfd349c936971ca217109cfd2bcc803f4e3273ed39396eea66eb933c3e3d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c3ff4ea89ff4f9c817d14b9638ad72eb34e02a040b8463d0cda65ad9418e7975e4daca9750dfd4f52282d9415bc6b355814723e2a54ebfcc640c2505c7dbe69f
|
7
|
+
data.tar.gz: f38ef54c0f6f127501afeec7b5192fff6142923a3c2fc3066da2da1c2901bf5eb43d7ec44d35b418a83f7c4592a8a43eaaf1a401e2e91df3e755dfc6ce6af49c
|
@@ -5,13 +5,13 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n+wikipaddle_api/admin/v1/admin_service.proto\x12\x17wikipaddle_api.admin.v1\"B\n\x06LatLng\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"h\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nfirst_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x03 \x01(\tR\x08lastName\x12\x14\n\x05\x65mail\x18\x04 \x01(\tR\x05\x65mail\"\xbf\x03\n\x12\x43reateGuideRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x43\n\rstart_lat_lng\x18\x03 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\x0bstartLatLng\x12?\n\x0b\x65nd_lat_lng\x18\x04 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x05 \x01(\x0cR\x08polyline\x12\x18\n\x07\x63ountry\x18\x06 \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\x07 \x01(\tR\x05state\x12,\n\x12\x64istance_in_meters\x18\x08 \x01(\x05R\x10\x64istanceInMeters\x12)\n\x10\x61ttribution_text\x18\t \x01(\tR\x0f\x61ttributionText\x12\'\n\x0f\x61ttribution_url\x18\n \x01(\tR\x0e\x61ttributionUrl\x12\x1d\n\nsource_uri\x18\x0b \x01(\tR\tsourceUri\"%\n\x13\x43reateGuideResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"-\n\x15GetUserByEmailRequest\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\"K\n\x16GetUserByEmailResponse\x12\x31\n\x04user\x18\x01 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.UserR\x04user\"$\n\x12GetUserByIdRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"H\n\x13GetUserByIdResponse\x12\x31\n\x04user\x18\x01 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.UserR\x04user2\
|
8
|
+
descriptor_data = "\n+wikipaddle_api/admin/v1/admin_service.proto\x12\x17wikipaddle_api.admin.v1\"B\n\x06LatLng\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"h\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nfirst_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x03 \x01(\tR\x08lastName\x12\x14\n\x05\x65mail\x18\x04 \x01(\tR\x05\x65mail\"B\n\x04\x44\x61te\x12\x12\n\x04year\x18\x01 \x01(\x05R\x04year\x12\x14\n\x05month\x18\x02 \x01(\x05R\x05month\x12\x10\n\x03\x64\x61y\x18\x03 \x01(\x05R\x03\x64\x61y\"\xc3\x02\n\rCalendarEvent\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x07lat_lng\x18\x04 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\x06latLng\x12\x19\n\x08link_url\x18\x05 \x01(\tR\x07linkUrl\x12\x1d\n\nsource_uri\x18\x06 \x01(\tR\tsourceUri\x12<\n\nstart_date\x18\x07 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.DateR\tstartDate\x12\x38\n\x08\x65nd_date\x18\x08 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.DateR\x07\x65ndDate\"\xc0\x02\n\x1a\x43reateCalendarEventRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x38\n\x07lat_lng\x18\x03 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\x06latLng\x12\x19\n\x08link_url\x18\x04 \x01(\tR\x07linkUrl\x12\x1d\n\nsource_uri\x18\x05 \x01(\tR\tsourceUri\x12<\n\nstart_date\x18\x06 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.DateR\tstartDate\x12\x38\n\x08\x65nd_date\x18\x07 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.DateR\x07\x65ndDate\"l\n\x1b\x43reateCalendarEventResponse\x12M\n\x0e\x63\x61lendar_event\x18\x01 \x01(\x0b\x32&.wikipaddle_api.admin.v1.CalendarEventR\rcalendarEvent\")\n\x17GetCalendarEventRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"i\n\x18GetCalendarEventResponse\x12M\n\x0e\x63\x61lendar_event\x18\x01 \x01(\x0b\x32&.wikipaddle_api.admin.v1.CalendarEventR\rcalendarEvent\"\xbf\x03\n\x12\x43reateGuideRequest\x12\x14\n\x05title\x18\x01 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x02 \x01(\tR\x0b\x64\x65scription\x12\x43\n\rstart_lat_lng\x18\x03 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\x0bstartLatLng\x12?\n\x0b\x65nd_lat_lng\x18\x04 \x01(\x0b\x32\x1f.wikipaddle_api.admin.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x05 \x01(\x0cR\x08polyline\x12\x18\n\x07\x63ountry\x18\x06 \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\x07 \x01(\tR\x05state\x12,\n\x12\x64istance_in_meters\x18\x08 \x01(\x05R\x10\x64istanceInMeters\x12)\n\x10\x61ttribution_text\x18\t \x01(\tR\x0f\x61ttributionText\x12\'\n\x0f\x61ttribution_url\x18\n \x01(\tR\x0e\x61ttributionUrl\x12\x1d\n\nsource_uri\x18\x0b \x01(\tR\tsourceUri\"%\n\x13\x43reateGuideResponse\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"-\n\x15GetUserByEmailRequest\x12\x14\n\x05\x65mail\x18\x01 \x01(\tR\x05\x65mail\"K\n\x16GetUserByEmailResponse\x12\x31\n\x04user\x18\x01 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.UserR\x04user\"$\n\x12GetUserByIdRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"H\n\x13GetUserByIdResponse\x12\x31\n\x04user\x18\x01 \x01(\x0b\x32\x1d.wikipaddle_api.admin.v1.UserR\x04user2\xd1\x04\n\x0c\x41\x64minService\x12h\n\x0b\x43reateGuide\x12+.wikipaddle_api.admin.v1.CreateGuideRequest\x1a,.wikipaddle_api.admin.v1.CreateGuideResponse\x12q\n\x0eGetUserByEmail\x12..wikipaddle_api.admin.v1.GetUserByEmailRequest\x1a/.wikipaddle_api.admin.v1.GetUserByEmailResponse\x12h\n\x0bGetUserById\x12+.wikipaddle_api.admin.v1.GetUserByIdRequest\x1a,.wikipaddle_api.admin.v1.GetUserByIdResponse\x12\x80\x01\n\x13\x43reateCalendarEvent\x12\x33.wikipaddle_api.admin.v1.CreateCalendarEventRequest\x1a\x34.wikipaddle_api.admin.v1.CreateCalendarEventResponse\x12w\n\x10GetCalendarEvent\x12\x30.wikipaddle_api.admin.v1.GetCalendarEventRequest\x1a\x31.wikipaddle_api.admin.v1.GetCalendarEventResponseB\x82\x02\n\x1b\x63om.wikipaddle_api.admin.v1B\x11\x41\x64minServiceProtoP\x01ZVgithub.com/wikipaddle/wikipaddle/protobuf/gen/go/wikipaddle_api/admin/v1/admin_service\xa2\x02\x03WAX\xaa\x02\x16WikipaddleApi.Admin.V1\xca\x02\x16WikipaddleApi\\Admin\\V1\xe2\x02\"WikipaddleApi\\Admin\\V1\\GPBMetadata\xea\x02\x18WikipaddleApi::Admin::V1b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -36,6 +36,12 @@ module WikipaddleApi
|
|
36
36
|
module V1
|
37
37
|
LatLng = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.LatLng").msgclass
|
38
38
|
User = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.User").msgclass
|
39
|
+
Date = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.Date").msgclass
|
40
|
+
CalendarEvent = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.CalendarEvent").msgclass
|
41
|
+
CreateCalendarEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.CreateCalendarEventRequest").msgclass
|
42
|
+
CreateCalendarEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.CreateCalendarEventResponse").msgclass
|
43
|
+
GetCalendarEventRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.GetCalendarEventRequest").msgclass
|
44
|
+
GetCalendarEventResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.GetCalendarEventResponse").msgclass
|
39
45
|
CreateGuideRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.CreateGuideRequest").msgclass
|
40
46
|
CreateGuideResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.CreateGuideResponse").msgclass
|
41
47
|
GetUserByEmailRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.admin.v1.GetUserByEmailRequest").msgclass
|
@@ -11,6 +11,8 @@ module WikipaddleApi
|
|
11
11
|
rpc :CreateGuide, CreateGuideRequest, CreateGuideResponse, :ruby_method => :create_guide
|
12
12
|
rpc :GetUserByEmail, GetUserByEmailRequest, GetUserByEmailResponse, :ruby_method => :get_user_by_email
|
13
13
|
rpc :GetUserById, GetUserByIdRequest, GetUserByIdResponse, :ruby_method => :get_user_by_id
|
14
|
+
rpc :CreateCalendarEvent, CreateCalendarEventRequest, CreateCalendarEventResponse, :ruby_method => :create_calendar_event
|
15
|
+
rpc :GetCalendarEvent, GetCalendarEventRequest, GetCalendarEventResponse, :ruby_method => :get_calendar_event
|
14
16
|
end
|
15
17
|
|
16
18
|
class AdminServiceClient < ::Twirp::Client
|
@@ -5,13 +5,13 @@
|
|
5
5
|
require 'google/protobuf'
|
6
6
|
|
7
7
|
|
8
|
-
descriptor_data = "\n-wikipaddle_api/public/v1/mobile_service.proto\x12\x18wikipaddle_api.public.v1\"@\n\x1bGetFeatureFlagStatusRequest\x12!\n\x0c\x66\x65\x61ture_name\x18\x01 \x01(\tR\x0b\x66\x65\x61tureName\"8\n\x1cGetFeatureFlagStatusResponse\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\"n\n\x1aGetGuidesCollectionRequest\x12\x12\n\x04page\x18\x01 \x01(\x05R\x04page\x12<\n\x08location\x18\x02 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x08location\"\xaa\x01\n\x1bGetGuidesCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x45\n\x06guides\x18\x02 \x03(\x0b\x32-.wikipaddle_api.public.v1.GuideCollectionItemR\x06guides\"
|
8
|
+
descriptor_data = "\n-wikipaddle_api/public/v1/mobile_service.proto\x12\x18wikipaddle_api.public.v1\"\x8d\x01\n\x0fGuideUploadUrls\x12\x19\n\x08\x63\x61rd_url\x18\x01 \x01(\tR\x07\x63\x61rdUrl\x12#\n\rthumbnail_url\x18\x02 \x01(\tR\x0cthumbnailUrl\x12\x1d\n\nmedium_url\x18\x03 \x01(\tR\tmediumUrl\x12\x1b\n\tlarge_url\x18\x04 \x01(\tR\x08largeUrl\"g\n\x0bGuideUpload\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12H\n\nmedia_urls\x18\x02 \x01(\x0b\x32).wikipaddle_api.public.v1.GuideUploadUrlsR\tmediaUrls\"Q\n GetGuideUploadsCollectionRequest\x12\x12\n\x04page\x18\x01 \x01(\x05R\x04page\x12\x19\n\x08guide_id\x18\x02 \x01(\tR\x07guideId\"\xb5\x01\n!GetGuideUploadsCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12J\n\rguide_uploads\x18\x02 \x03(\x0b\x32%.wikipaddle_api.public.v1.GuideUploadR\x0cguideUploads\"@\n\x1bGetFeatureFlagStatusRequest\x12!\n\x0c\x66\x65\x61ture_name\x18\x01 \x01(\tR\x0b\x66\x65\x61tureName\"8\n\x1cGetFeatureFlagStatusResponse\x12\x18\n\x07\x65nabled\x18\x01 \x01(\x08R\x07\x65nabled\"n\n\x1aGetGuidesCollectionRequest\x12\x12\n\x04page\x18\x01 \x01(\x05R\x04page\x12<\n\x08location\x18\x02 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x08location\"\xaa\x01\n\x1bGetGuidesCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x45\n\x06guides\x18\x02 \x03(\x0b\x32-.wikipaddle_api.public.v1.GuideCollectionItemR\x06guides\"\xfc\x01\n\x13GuideCollectionItem\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12\x18\n\x07\x63ountry\x18\x03 \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\x04 \x01(\tR\x05state\x12-\n\x12localized_distance\x18\x05 \x01(\tR\x11localizedDistance\x12\x1f\n\x0bstar_rating\x18\x06 \x01(\tR\nstarRating\x12?\n\x07uploads\x18\x07 \x03(\x0b\x32%.wikipaddle_api.public.v1.GuideUploadR\x07uploads\"\x17\n\x15GetCurrentUserRequest\"\x90\x01\n\nPagination\x12!\n\x0c\x63urrent_page\x18\x01 \x01(\x05R\x0b\x63urrentPage\x12\x19\n\x08per_page\x18\x02 \x01(\x05R\x07perPage\x12#\n\rtotal_results\x18\x03 \x01(\x05R\x0ctotalResults\x12\x1f\n\x0btotal_pages\x18\x04 \x01(\x05R\ntotalPages\" \n\x0eGetUserRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"\x8e\x01\n\x04User\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x1d\n\nfirst_name\x18\x02 \x01(\tR\tfirstName\x12\x1b\n\tlast_name\x18\x03 \x01(\tR\x08lastName\x12\x1b\n\tfull_name\x18\x04 \x01(\tR\x08\x66ullName\x12\x1d\n\navatar_url\x18\x05 \x01(\tR\tavatarUrl\"E\n\x0fGetUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x1e.wikipaddle_api.public.v1.UserR\x04user\"L\n\x16GetCurrentUserResponse\x12\x32\n\x04user\x18\x01 \x01(\x0b\x32\x1e.wikipaddle_api.public.v1.UserR\x04user\"!\n\x0fGetGuideRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\"I\n\x10GetGuideResponse\x12\x35\n\x05guide\x18\x01 \x01(\x0b\x32\x1f.wikipaddle_api.public.v1.GuideR\x05guide\"B\n\x06LatLng\x12\x1a\n\x08latitude\x18\x01 \x01(\x01R\x08latitude\x12\x1c\n\tlongitude\x18\x02 \x01(\x01R\tlongitude\"\xd1\x03\n\x05Guide\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x14\n\x05title\x18\x02 \x01(\tR\x05title\x12 \n\x0b\x64\x65scription\x18\x03 \x01(\tR\x0b\x64\x65scription\x12\x10\n\x03url\x18\x05 \x01(\tR\x03url\x12\x44\n\rstart_lat_lng\x18\x06 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12@\n\x0b\x65nd_lat_lng\x18\x07 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x08 \x01(\x0cR\x08polyline\x12\x18\n\x07\x63ountry\x18\t \x01(\tR\x07\x63ountry\x12\x14\n\x05state\x18\n \x01(\tR\x05state\x12-\n\x12localized_distance\x18\x0b \x01(\tR\x11localizedDistance\x12%\n\x0e\x63omments_count\x18\x0c \x01(\x05R\rcommentsCount\x12#\n\ruploads_count\x18\r \x01(\x05R\x0cuploadsCount\x12\x1f\n\x0bstar_rating\x18\x0e \x01(\tR\nstarRating\"\xd9\x01\n\x0f\x46itnessActivity\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04name\x18\x02 \x01(\tR\x04name\x12\x44\n\rstart_lat_lng\x18\x03 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\x0bstartLatLng\x12@\n\x0b\x65nd_lat_lng\x18\x04 \x01(\x0b\x32 .wikipaddle_api.public.v1.LatLngR\tendLatLng\x12\x1a\n\x08polyline\x18\x05 \x01(\x0cR\x08polyline\"\xc0\x01\n\x0cGuideComment\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12$\n\x0euser_full_name\x18\x03 \x01(\tR\x0cuserFullName\x12&\n\x0fuser_avatar_url\x18\x04 \x01(\tR\ruserAvatarUrl\x12\x1d\n\ncreated_at\x18\x05 \x01(\tR\tcreatedAt\x12\x1f\n\x0bstar_rating\x18\x06 \x01(\x05R\nstarRating\"^\n\x1a\x43reateGuideCommentResponse\x12@\n\x07\x63omment\x18\x01 \x01(\x0b\x32&.wikipaddle_api.public.v1.GuideCommentR\x07\x63omment\"R\n!GetGuideCommentsCollectionRequest\x12\x19\n\x08guide_id\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04page\x18\x02 \x01(\x05R\x04page\"\xae\x01\n\"GetGuideCommentsCollectionResponse\x12\x44\n\npagination\x18\x01 \x01(\x0b\x32$.wikipaddle_api.public.v1.PaginationR\npagination\x12\x42\n\x08\x63omments\x18\x02 \x03(\x0b\x32&.wikipaddle_api.public.v1.GuideCommentR\x08\x63omments\"k\n\x19\x43reateGuideCommentRequest\x12\x19\n\x08guide_id\x18\x01 \x01(\tR\x07guideId\x12\x12\n\x04\x62ody\x18\x02 \x01(\tR\x04\x62ody\x12\x1f\n\x0bstar_rating\x18\x03 \x01(\x05R\nstarRating2\x86\x08\n\rMobileService\x12^\n\x07GetUser\x12(.wikipaddle_api.public.v1.GetUserRequest\x1a).wikipaddle_api.public.v1.GetUserResponse\x12\x61\n\x08GetGuide\x12).wikipaddle_api.public.v1.GetGuideRequest\x1a*.wikipaddle_api.public.v1.GetGuideResponse\x12\x82\x01\n\x13GetGuidesCollection\x12\x34.wikipaddle_api.public.v1.GetGuidesCollectionRequest\x1a\x35.wikipaddle_api.public.v1.GetGuidesCollectionResponse\x12s\n\x0eGetCurrentUser\x12/.wikipaddle_api.public.v1.GetCurrentUserRequest\x1a\x30.wikipaddle_api.public.v1.GetCurrentUserResponse\x12\x97\x01\n\x1aGetGuideCommentsCollection\x12;.wikipaddle_api.public.v1.GetGuideCommentsCollectionRequest\x1a<.wikipaddle_api.public.v1.GetGuideCommentsCollectionResponse\x12\x94\x01\n\x19GetGuideUploadsCollection\x12:.wikipaddle_api.public.v1.GetGuideUploadsCollectionRequest\x1a;.wikipaddle_api.public.v1.GetGuideUploadsCollectionResponse\x12\x7f\n\x12\x43reateGuideComment\x12\x33.wikipaddle_api.public.v1.CreateGuideCommentRequest\x1a\x34.wikipaddle_api.public.v1.CreateGuideCommentResponse\x12\x85\x01\n\x14GetFeatureFlagStatus\x12\x35.wikipaddle_api.public.v1.GetFeatureFlagStatusRequest\x1a\x36.wikipaddle_api.public.v1.GetFeatureFlagStatusResponseB\x8c\x02\n\x1c\x63om.wikipaddle_api.public.v1B\x12MobileServiceProtoP\x01ZXgithub.com/wikipaddle/wikipaddle/protobuf/gen/go/wikipaddle_api/public/v1/mobile_service\xa2\x02\x03WPX\xaa\x02\x17WikipaddleApi.Public.V1\xca\x02\x18WikipaddleApi\\Public_\\V1\xe2\x02$WikipaddleApi\\Public_\\V1\\GPBMetadata\xea\x02\x19WikipaddleApi::Public::V1b\x06proto3"
|
9
9
|
|
10
10
|
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
@@ -34,11 +34,14 @@ end
|
|
34
34
|
module WikipaddleApi
|
35
35
|
module Public
|
36
36
|
module V1
|
37
|
+
GuideUploadUrls = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GuideUploadUrls").msgclass
|
38
|
+
GuideUpload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GuideUpload").msgclass
|
39
|
+
GetGuideUploadsCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuideUploadsCollectionRequest").msgclass
|
40
|
+
GetGuideUploadsCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuideUploadsCollectionResponse").msgclass
|
37
41
|
GetFeatureFlagStatusRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetFeatureFlagStatusRequest").msgclass
|
38
42
|
GetFeatureFlagStatusResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetFeatureFlagStatusResponse").msgclass
|
39
43
|
GetGuidesCollectionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuidesCollectionRequest").msgclass
|
40
44
|
GetGuidesCollectionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetGuidesCollectionResponse").msgclass
|
41
|
-
GuideCollectionItemPhoto = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GuideCollectionItemPhoto").msgclass
|
42
45
|
GuideCollectionItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GuideCollectionItem").msgclass
|
43
46
|
GetCurrentUserRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.GetCurrentUserRequest").msgclass
|
44
47
|
Pagination = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("wikipaddle_api.public.v1.Pagination").msgclass
|
@@ -13,6 +13,7 @@ module WikipaddleApi
|
|
13
13
|
rpc :GetGuidesCollection, GetGuidesCollectionRequest, GetGuidesCollectionResponse, :ruby_method => :get_guides_collection
|
14
14
|
rpc :GetCurrentUser, GetCurrentUserRequest, GetCurrentUserResponse, :ruby_method => :get_current_user
|
15
15
|
rpc :GetGuideCommentsCollection, GetGuideCommentsCollectionRequest, GetGuideCommentsCollectionResponse, :ruby_method => :get_guide_comments_collection
|
16
|
+
rpc :GetGuideUploadsCollection, GetGuideUploadsCollectionRequest, GetGuideUploadsCollectionResponse, :ruby_method => :get_guide_uploads_collection
|
16
17
|
rpc :CreateGuideComment, CreateGuideCommentRequest, CreateGuideCommentResponse, :ruby_method => :create_guide_comment
|
17
18
|
rpc :GetFeatureFlagStatus, GetFeatureFlagStatusRequest, GetFeatureFlagStatusResponse, :ruby_method => :get_feature_flag_status
|
18
19
|
end
|
@@ -11,7 +11,7 @@ pool = Google::Protobuf::DescriptorPool.generated_pool
|
|
11
11
|
|
12
12
|
begin
|
13
13
|
pool.add_serialized_file(descriptor_data)
|
14
|
-
rescue TypeError
|
14
|
+
rescue TypeError
|
15
15
|
# Compatibility code: will be removed in the next major version.
|
16
16
|
require 'google/protobuf/descriptor_pb'
|
17
17
|
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: wikipaddle_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- George Drummond
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2023-
|
11
|
+
date: 2023-11-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|