wikipaddle_api 1.1.6 → 1.1.7
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 +1 -1
- 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: 636618e5cd897091dc1f5dc735eea1bd6bc7ead033806543e902a7ca48fb7321
|
4
|
+
data.tar.gz: 232a94817e88f0b169d0d0d6fd695741856ed26f1cc1e2bc40f2e9098b4ab374
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ec15d64662203db4dfe56cbf143a494010eb3dd472e477b1fc54098bde14200933181e139a1cdc3635c8a535d2b4747616fecfbff6e632856bdd83c8cef9a5de
|
7
|
+
data.tar.gz: 82dc467ccf0fbd487a6913d3266a67a297a0f216c6a503069788abb0f380e046f270da18819c43981dfefabc260824a8c4f0ab7b83dac8bcacc49055af54879f
|
@@ -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
|
@@ -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)
|
@@ -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.7
|
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-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|