informativos-api 1.4.1 → 1.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/gen/Countries_pb.rb +23 -0
- data/gen/Countries_services_pb.rb +22 -0
- data/gen/Currencies_pb.rb +24 -0
- data/gen/Currencies_services_pb.rb +22 -0
- data/gen/Holidays_pb.rb +24 -0
- data/gen/Holidays_services_pb.rb +22 -0
- data/gen/Issuers_pb.rb +24 -0
- data/gen/Issuers_services_pb.rb +22 -0
- data/gen/Markets_pb.rb +23 -0
- data/gen/Markets_services_pb.rb +22 -0
- data/gen/Prices_pb.rb +3 -0
- data/gen/Securities_pb.rb +18 -0
- data/gen/Securities_services_pb.rb +1 -0
- data/informativos-api.gemspec +1 -1
- data/lib/informativos-api.rb +6 -1
- metadata +13 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9fd87d1c7667ef3e9a33ac0a0d943bbe7e5686e8aa1dfef0a8110b6cb27361fb
|
4
|
+
data.tar.gz: 8c221f6a8369ba106895c33333b18e58730baee7d57cb1e620f9d24a2af9eea0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4cbae70a88043af4673b331d679c0d3e535a0a957d531f113ee7dac3b4d4efbc95b03ecca9436c001038cab7e370e3b4610c2ddfce11308c6913b6e33f275023
|
7
|
+
data.tar.gz: 184be4cfa62c485e156a4f985fd810a50fd52f530de1f44ce66af9bf2a558ab8292893b4e317d3b2a5d18c4499812decc949ddf8b814eaadfc66704008fe6ba3
|
data/gen/Countries_pb.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: Countries.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("Countries.proto", :syntax => :proto3) do
|
8
|
+
add_message "informativos.GetCountriesReq" do
|
9
|
+
optional :updated_since, :uint64, 1
|
10
|
+
end
|
11
|
+
add_message "informativos.Country" do
|
12
|
+
optional :updated_at, :uint64, 1
|
13
|
+
optional :id, :string, 2
|
14
|
+
optional :name, :string, 3
|
15
|
+
optional :code, :string, 4
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Informativos
|
21
|
+
GetCountriesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCountriesReq").msgclass
|
22
|
+
Country = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Country").msgclass
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: Countries.proto for package 'informativos'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'Countries_pb'
|
6
|
+
|
7
|
+
module Informativos
|
8
|
+
module Countries
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'informativos.Countries'
|
16
|
+
|
17
|
+
rpc :GetCountries, ::Informativos::GetCountriesReq, stream(::Informativos::Country)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: Currencies.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("Currencies.proto", :syntax => :proto3) do
|
8
|
+
add_message "informativos.GetCurrenciesReq" do
|
9
|
+
optional :updated_since, :uint64, 1
|
10
|
+
end
|
11
|
+
add_message "informativos.Currency" do
|
12
|
+
optional :updated_at, :uint64, 1
|
13
|
+
optional :id, :string, 2
|
14
|
+
optional :name, :string, 3
|
15
|
+
optional :code, :string, 4
|
16
|
+
optional :symbol, :string, 5
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Informativos
|
22
|
+
GetCurrenciesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCurrenciesReq").msgclass
|
23
|
+
Currency = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Currency").msgclass
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: Currencies.proto for package 'informativos'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'Currencies_pb'
|
6
|
+
|
7
|
+
module Informativos
|
8
|
+
module Currencies
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'informativos.Currencies'
|
16
|
+
|
17
|
+
rpc :GetCurrencies, ::Informativos::GetCurrenciesReq, stream(::Informativos::Currency)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
data/gen/Holidays_pb.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: Holidays.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("Holidays.proto", :syntax => :proto3) do
|
8
|
+
add_message "informativos.GetHolidaysReq" do
|
9
|
+
optional :updated_since, :uint64, 1
|
10
|
+
end
|
11
|
+
add_message "informativos.Holiday" do
|
12
|
+
optional :updated_at, :uint64, 1
|
13
|
+
optional :id, :string, 2
|
14
|
+
optional :name, :string, 3
|
15
|
+
optional :date, :uint64, 4
|
16
|
+
optional :market_code, :string, 5
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Informativos
|
22
|
+
GetHolidaysReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetHolidaysReq").msgclass
|
23
|
+
Holiday = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Holiday").msgclass
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: Holidays.proto for package 'informativos'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'Holidays_pb'
|
6
|
+
|
7
|
+
module Informativos
|
8
|
+
module Holidays
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'informativos.Holidays'
|
16
|
+
|
17
|
+
rpc :GetHolidays, ::Informativos::GetHolidaysReq, stream(::Informativos::Holiday)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
data/gen/Issuers_pb.rb
ADDED
@@ -0,0 +1,24 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: Issuers.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("Issuers.proto", :syntax => :proto3) do
|
8
|
+
add_message "informativos.GetIssuersReq" do
|
9
|
+
optional :updated_since, :uint64, 1
|
10
|
+
end
|
11
|
+
add_message "informativos.Issuer" do
|
12
|
+
optional :updated_at, :uint64, 1
|
13
|
+
optional :id, :string, 2
|
14
|
+
optional :name, :string, 3
|
15
|
+
optional :code, :string, 4
|
16
|
+
optional :country_code, :string, 5
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
module Informativos
|
22
|
+
GetIssuersReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetIssuersReq").msgclass
|
23
|
+
Issuer = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Issuer").msgclass
|
24
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: Issuers.proto for package 'informativos'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'Issuers_pb'
|
6
|
+
|
7
|
+
module Informativos
|
8
|
+
module Issuers
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'informativos.Issuers'
|
16
|
+
|
17
|
+
rpc :GetIssuers, ::Informativos::GetIssuersReq, stream(::Informativos::Issuer)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
data/gen/Markets_pb.rb
ADDED
@@ -0,0 +1,23 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# source: Markets.proto
|
3
|
+
|
4
|
+
require 'google/protobuf'
|
5
|
+
|
6
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
7
|
+
add_file("Markets.proto", :syntax => :proto3) do
|
8
|
+
add_message "informativos.GetMarketsReq" do
|
9
|
+
optional :updated_since, :uint64, 1
|
10
|
+
end
|
11
|
+
add_message "informativos.Market" do
|
12
|
+
optional :updated_at, :uint64, 1
|
13
|
+
optional :id, :string, 2
|
14
|
+
optional :name, :string, 3
|
15
|
+
optional :country_code, :string, 5
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Informativos
|
21
|
+
GetMarketsReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetMarketsReq").msgclass
|
22
|
+
Market = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Market").msgclass
|
23
|
+
end
|
@@ -0,0 +1,22 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: Markets.proto for package 'informativos'
|
3
|
+
|
4
|
+
require 'grpc'
|
5
|
+
require 'Markets_pb'
|
6
|
+
|
7
|
+
module Informativos
|
8
|
+
module Markets
|
9
|
+
class Service
|
10
|
+
|
11
|
+
include ::GRPC::GenericService
|
12
|
+
|
13
|
+
self.marshal_class_method = :encode
|
14
|
+
self.unmarshal_class_method = :decode
|
15
|
+
self.service_name = 'informativos.Markets'
|
16
|
+
|
17
|
+
rpc :GetMarkets, ::Informativos::GetMarketsReq, stream(::Informativos::Market)
|
18
|
+
end
|
19
|
+
|
20
|
+
Stub = Service.rpc_stub_class
|
21
|
+
end
|
22
|
+
end
|
data/gen/Prices_pb.rb
CHANGED
@@ -7,6 +7,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
7
|
add_file("Prices.proto", :syntax => :proto3) do
|
8
8
|
add_message "informativos.GetPricesReq" do
|
9
9
|
optional :updated_since, :uint64, 1
|
10
|
+
optional :origin, :string, 2
|
11
|
+
optional :security_type, :string, 3
|
12
|
+
optional :date_since, :uint64, 4
|
10
13
|
end
|
11
14
|
add_message "informativos.Price" do
|
12
15
|
optional :updated_at, :uint64, 1
|
data/gen/Securities_pb.rb
CHANGED
@@ -7,6 +7,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
7
7
|
add_file("Securities.proto", :syntax => :proto3) do
|
8
8
|
add_message "informativos.GetSecuritiesReq" do
|
9
9
|
optional :updated_since, :uint64, 1
|
10
|
+
optional :origin, :string, 2
|
11
|
+
optional :security_type, :string, 3
|
12
|
+
end
|
13
|
+
add_message "informativos.GetSecurityMarketInfosReq" do
|
14
|
+
optional :updated_since, :uint64, 1
|
10
15
|
end
|
11
16
|
add_message "informativos.Security" do
|
12
17
|
optional :updated_at, :uint64, 1
|
@@ -19,6 +24,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
19
24
|
optional :spec, :string, 8
|
20
25
|
optional :settlement_date, :uint64, 9
|
21
26
|
optional :underlying_security, :string, 10
|
27
|
+
optional :issuer_code, :string, 11
|
22
28
|
end
|
23
29
|
add_enum "informativos.Security.Type" do
|
24
30
|
value :UNDEFINED, 0
|
@@ -43,11 +49,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
43
49
|
value :EXCHANGE_RATE, 19
|
44
50
|
value :GOVERNMENT_BOND, 20
|
45
51
|
end
|
52
|
+
add_message "informativos.SecurityMarketInfo" do
|
53
|
+
optional :updated_at, :uint64, 1
|
54
|
+
optional :id, :string, 2
|
55
|
+
optional :on_quantity, :uint64, 3
|
56
|
+
optional :pn_quantity, :uint64, 4
|
57
|
+
optional :total_quantity, :uint64, 5
|
58
|
+
optional :date, :uint64, 6
|
59
|
+
optional :issuer_code, :string, 7
|
60
|
+
optional :security_prefix, :string, 8
|
61
|
+
end
|
46
62
|
end
|
47
63
|
end
|
48
64
|
|
49
65
|
module Informativos
|
50
66
|
GetSecuritiesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
|
67
|
+
GetSecurityMarketInfosReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecurityMarketInfosReq").msgclass
|
51
68
|
Security = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
|
52
69
|
Security::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security.Type").enummodule
|
70
|
+
SecurityMarketInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.SecurityMarketInfo").msgclass
|
53
71
|
end
|
@@ -15,6 +15,7 @@ module Informativos
|
|
15
15
|
self.service_name = 'informativos.Securities'
|
16
16
|
|
17
17
|
rpc :GetSecurities, ::Informativos::GetSecuritiesReq, stream(::Informativos::Security)
|
18
|
+
rpc :GetSecurityMarketInfos, ::Informativos::GetSecurityMarketInfosReq, stream(::Informativos::SecurityMarketInfo)
|
18
19
|
end
|
19
20
|
|
20
21
|
Stub = Service.rpc_stub_class
|
data/informativos-api.gemspec
CHANGED
@@ -8,7 +8,7 @@ Gem::Specification.new do |spec|
|
|
8
8
|
spec.authors = ["Breno Perricone Fischer"]
|
9
9
|
spec.email = ["breno@investtools.com.br"]
|
10
10
|
spec.summary = %q{Informativos API}
|
11
|
-
spec.description = %q{Informativos API}
|
11
|
+
spec.description = %q{Informativos API wusing grpc protocol}
|
12
12
|
spec.homepage = "https://api.informativos.io/"
|
13
13
|
spec.license = "MIT"
|
14
14
|
|
data/lib/informativos-api.rb
CHANGED
@@ -1,3 +1,8 @@
|
|
1
|
+
require 'CorporateActions_services_pb'
|
2
|
+
require 'Countries_services_pb'
|
3
|
+
require 'Currencies_services_pb'
|
4
|
+
require 'Issuers_services_pb'
|
5
|
+
require 'Holidays_services_pb'
|
6
|
+
require 'Markets_services_pb'
|
1
7
|
require 'Prices_services_pb'
|
2
8
|
require 'Securities_services_pb'
|
3
|
-
require 'CorporateActions_services_pb'
|
metadata
CHANGED
@@ -1,16 +1,16 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: informativos-api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Breno Perricone Fischer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description: Informativos API
|
13
|
+
description: Informativos API wusing grpc protocol
|
14
14
|
email:
|
15
15
|
- breno@investtools.com.br
|
16
16
|
executables: []
|
@@ -23,6 +23,16 @@ files:
|
|
23
23
|
- Rakefile
|
24
24
|
- gen/CorporateActions_pb.rb
|
25
25
|
- gen/CorporateActions_services_pb.rb
|
26
|
+
- gen/Countries_pb.rb
|
27
|
+
- gen/Countries_services_pb.rb
|
28
|
+
- gen/Currencies_pb.rb
|
29
|
+
- gen/Currencies_services_pb.rb
|
30
|
+
- gen/Holidays_pb.rb
|
31
|
+
- gen/Holidays_services_pb.rb
|
32
|
+
- gen/Issuers_pb.rb
|
33
|
+
- gen/Issuers_services_pb.rb
|
34
|
+
- gen/Markets_pb.rb
|
35
|
+
- gen/Markets_services_pb.rb
|
26
36
|
- gen/Prices_pb.rb
|
27
37
|
- gen/Prices_services_pb.rb
|
28
38
|
- gen/Securities_pb.rb
|