informativos-api 1.3.0 → 1.5.1.1.beta

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7d16b91b492a874f7e43e8381f591d558a98e185836ee71c3704b75e9b359f5d
4
- data.tar.gz: 6ba6a3d4962ee47d05246e47ddc9e51c095b6c7a771760c1e53cdc017ddafb3f
3
+ metadata.gz: c53d50bba015f06ae22482a27e37cae8cee35bed5fb47f0927ddc33249ab16e6
4
+ data.tar.gz: d508ab9ced2ef741f5ad5b59a6e3e8e6a12649bb33e026c14156517d6a07982b
5
5
  SHA512:
6
- metadata.gz: ea945a18875cfa1a83a8a34f9d2c3eff0884780e82661d3aacd73805c0b4d890384bb9bc63dd5893d46f047863e08f2acaad46ad4e9b135ba11ce9cdceaf299c
7
- data.tar.gz: 0c1505b9743d8b83b5011d7757dc84a9cf0a1c21826d34d19507d97b661b990eda8837c7d2ebefd40ca1b4dcac6048d490c3552a854fe47e7d2ecead30dfc9bb
6
+ metadata.gz: 627610a321e2aa2f5393a8e1125d984b03ebf33e20587f434cbfcb5cfad457ebfa4f575dd9b608d651e930566067a4f8767b745fed2fc0426c16c2f86b2fc5e6
7
+ data.tar.gz: f8aed25940041755135ce19c40e83df58b6f07808f92e3d02eb13984c2616605b4767cf90dd841fc2f530d0580f6bbe8341cfd326501ff90f673d371232982a8
@@ -83,14 +83,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
83
83
  end
84
84
 
85
85
  module Informativos
86
- GetCorporateActionsReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq").msgclass
87
- GetCorporateActionsReq::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq.Type").enummodule
88
- Dividend = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Dividend").msgclass
89
- InterestOnOwnCapitalIssue = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.InterestOnOwnCapitalIssue").msgclass
90
- Split = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Split").msgclass
91
- ReverseSplit = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.ReverseSplit").msgclass
92
- BonusIssue = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.BonusIssue").msgclass
93
- SubscriptionRight = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.SubscriptionRight").msgclass
94
- Amortization = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Amortization").msgclass
95
- CorporateAction = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.CorporateAction").msgclass
86
+ GetCorporateActionsReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq").msgclass
87
+ GetCorporateActionsReq::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetCorporateActionsReq.Type").enummodule
88
+ Dividend = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Dividend").msgclass
89
+ InterestOnOwnCapitalIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.InterestOnOwnCapitalIssue").msgclass
90
+ Split = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Split").msgclass
91
+ ReverseSplit = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.ReverseSplit").msgclass
92
+ BonusIssue = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.BonusIssue").msgclass
93
+ SubscriptionRight = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.SubscriptionRight").msgclass
94
+ Amortization = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Amortization").msgclass
95
+ CorporateAction = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.CorporateAction").msgclass
96
96
  end
@@ -8,13 +8,13 @@ module Informativos
8
8
  module CorporateActions
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'informativos.CorporateActions'
16
16
 
17
- rpc :GetCorporateActions, GetCorporateActionsReq, stream(CorporateAction)
17
+ rpc :GetCorporateActions, ::Informativos::GetCorporateActionsReq, stream(::Informativos::CorporateAction)
18
18
  end
19
19
 
20
20
  Stub = Service.rpc_stub_class
@@ -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
@@ -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, :uint64, 4
10
13
  end
11
14
  add_message "informativos.Price" do
12
15
  optional :updated_at, :uint64, 1
@@ -32,6 +35,6 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
35
  end
33
36
 
34
37
  module Informativos
35
- GetPricesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetPricesReq").msgclass
36
- Price = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Price").msgclass
38
+ GetPricesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetPricesReq").msgclass
39
+ Price = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Price").msgclass
37
40
  end
@@ -8,13 +8,13 @@ module Informativos
8
8
  module Prices
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'informativos.Prices'
16
16
 
17
- rpc :GetPrices, GetPricesReq, stream(Price)
17
+ rpc :GetPrices, ::Informativos::GetPricesReq, stream(::Informativos::Price)
18
18
  end
19
19
 
20
20
  Stub = Service.rpc_stub_class
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
@@ -31,12 +37,35 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
31
37
  value :OPTION, 7
32
38
  value :STOCK, 8
33
39
  value :TERM, 9
40
+ value :SUBSCRIPTION_RIGHT, 10
41
+ value :SUBSCRIPTION_RECEIPT, 11
42
+ value :FUND, 12
43
+ value :FUTURE, 13
44
+ value :BDR, 14
45
+ value :FII, 15
46
+ value :ETF, 16
47
+ value :BONUS, 17
48
+ value :INDEX, 18
49
+ value :EXCHANGE_RATE, 19
50
+ value :GOVERNMENT_BOND, 20
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
34
61
  end
35
62
  end
36
63
  end
37
64
 
38
65
  module Informativos
39
- GetSecuritiesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
40
- Security = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
41
- Security::Type = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security.Type").enummodule
66
+ GetSecuritiesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
67
+ GetSecurityMarketInfosReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecurityMarketInfosReq").msgclass
68
+ Security = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
69
+ Security::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security.Type").enummodule
70
+ SecurityMarketInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.SecurityMarketInfo").msgclass
42
71
  end
@@ -8,13 +8,14 @@ module Informativos
8
8
  module Securities
9
9
  class Service
10
10
 
11
- include GRPC::GenericService
11
+ include ::GRPC::GenericService
12
12
 
13
13
  self.marshal_class_method = :encode
14
14
  self.unmarshal_class_method = :decode
15
15
  self.service_name = 'informativos.Securities'
16
16
 
17
- rpc :GetSecurities, GetSecuritiesReq, stream(Security)
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
@@ -8,8 +8,8 @@ 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}
12
- spec.homepage = "https://api.informtivos.io/"
11
+ spec.description = %q{Informativos API wusing grpc protocol}
12
+ spec.homepage = "https://api.informativos.io/"
13
13
  spec.license = "MIT"
14
14
 
15
15
  spec.files = `git ls-files`.split($/)
@@ -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.3.0
4
+ version: 1.5.1.1.beta
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: 2020-01-22 00:00:00.000000000 Z
11
+ date: 2022-01-23 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,13 +23,23 @@ 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
29
39
  - gen/Securities_services_pb.rb
30
40
  - informativos-api.gemspec
31
41
  - lib/informativos-api.rb
32
- homepage: https://api.informtivos.io/
42
+ homepage: https://api.informativos.io/
33
43
  licenses:
34
44
  - MIT
35
45
  metadata: {}
@@ -45,11 +55,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
45
55
  version: '0'
46
56
  required_rubygems_version: !ruby/object:Gem::Requirement
47
57
  requirements:
48
- - - ">="
58
+ - - ">"
49
59
  - !ruby/object:Gem::Version
50
- version: '0'
60
+ version: 1.3.1
51
61
  requirements: []
52
- rubygems_version: 3.0.6
62
+ rubygems_version: 3.0.3.1
53
63
  signing_key:
54
64
  specification_version: 4
55
65
  summary: Informativos API