informativos-api 1.1.0 → 1.4.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA256:
3
- metadata.gz: 60bb513f6ef9ca7c9a40c14532335f0be9b124ecc63626602f983516b525d0ea
4
- data.tar.gz: 805ed0920ec38c97b198349431ecc4945fc2cb84f6f9f336b3635c406465c561
2
+ SHA1:
3
+ metadata.gz: 7a765fd989f5dfcca8df6ae6293a26c9057b711e
4
+ data.tar.gz: 3c403915b74ba0b9c0a31f7abf45e653ab8e3219
5
5
  SHA512:
6
- metadata.gz: 19bf562e0abcab161e8be6c43a5da2784f1b4e6564781003da9996ecfb985f999d89877fac2a82f5eb825be6ea70584969fb109ef60115f146a8361c4a8d01f6
7
- data.tar.gz: 9d1759b8bce138ec20c080325c8299447875ed3780792237112d7025e16f476914332fb548ab34b619aa5664f88e8d3f8805dce25c13a1191f56bc1589dc3aeb
6
+ metadata.gz: 8858beef91b9908230c5cc20bd947f2a87375a46f192f60ada23ba70469506716a6e911d6c991bca9e5f36d13ee12a1a80f026f14254bf7ae309e85880698654
7
+ data.tar.gz: dba9482657e024bbed16b19ad4e4f50fc87a73161cf4a680c14e8c5f81c902cb608918bf655e55bf1eeaec52b99f597bd99ade8e32ee2c99666ebf7d44f696c3
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- informativos-api (1.0.0)
4
+ informativos-api (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -0,0 +1,96 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: CorporateActions.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("CorporateActions.proto", :syntax => :proto3) do
8
+ add_message "informativos.GetCorporateActionsReq" do
9
+ optional :updated_since, :uint64, 1
10
+ optional :type, :enum, 2, "informativos.GetCorporateActionsReq.Type"
11
+ end
12
+ add_enum "informativos.GetCorporateActionsReq.Type" do
13
+ value :DIVIDEND, 0
14
+ value :INTEREST_ON_OWN_CAPITAL_ISSUE, 1
15
+ value :SPLIT, 2
16
+ value :REVERSE_SPLIT, 3
17
+ value :BONUS_ISSUE, 4
18
+ value :SUBSCRIPTION_RIGHT, 5
19
+ value :AMORTIZATION, 6
20
+ end
21
+ add_message "informativos.Dividend" do
22
+ optional :base_date, :uint64, 1
23
+ optional :ex_date, :uint64, 2
24
+ optional :liquidation_date, :uint64, 3
25
+ optional :value, :double, 4
26
+ optional :security, :string, 5
27
+ end
28
+ add_message "informativos.InterestOnOwnCapitalIssue" do
29
+ optional :base_date, :uint64, 1
30
+ optional :ex_date, :uint64, 2
31
+ optional :liquidation_date, :uint64, 3
32
+ optional :value, :double, 4
33
+ optional :security, :string, 5
34
+ end
35
+ add_message "informativos.Split" do
36
+ optional :date, :uint64, 1
37
+ optional :ex_date, :uint64, 2
38
+ optional :factor, :double, 3
39
+ optional :security, :string, 4
40
+ end
41
+ add_message "informativos.ReverseSplit" do
42
+ optional :date, :uint64, 1
43
+ optional :ex_date, :uint64, 2
44
+ optional :factor, :double, 3
45
+ optional :security, :string, 4
46
+ end
47
+ add_message "informativos.BonusIssue" do
48
+ optional :date, :uint64, 1
49
+ optional :ex_date, :uint64, 2
50
+ optional :factor, :double, 3
51
+ optional :security, :string, 4
52
+ end
53
+ add_message "informativos.SubscriptionRight" do
54
+ optional :date, :uint64, 1
55
+ optional :ex_date, :uint64, 2
56
+ optional :maturity_date, :uint64, 3
57
+ optional :factor, :double, 4
58
+ optional :strike, :double, 5
59
+ optional :security, :string, 6
60
+ optional :target_security, :string, 7
61
+ end
62
+ add_message "informativos.Amortization" do
63
+ optional :base_date, :uint64, 1
64
+ optional :ex_date, :uint64, 2
65
+ optional :liquidation_date, :uint64, 3
66
+ optional :value, :double, 4
67
+ optional :security, :string, 5
68
+ end
69
+ add_message "informativos.CorporateAction" do
70
+ optional :updated_at, :uint64, 1
71
+ optional :id, :string, 2
72
+ oneof :type do
73
+ optional :dividend, :message, 3, "informativos.Dividend"
74
+ optional :interest_on_own_capital_issue, :message, 4, "informativos.InterestOnOwnCapitalIssue"
75
+ optional :split, :message, 5, "informativos.Split"
76
+ optional :reverse_split, :message, 6, "informativos.ReverseSplit"
77
+ optional :bonus_issue, :message, 7, "informativos.BonusIssue"
78
+ optional :subscription_right, :message, 8, "informativos.SubscriptionRight"
79
+ optional :amortization, :message, 9, "informativos.Amortization"
80
+ end
81
+ end
82
+ end
83
+ end
84
+
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
96
+ end
@@ -0,0 +1,22 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # Source: CorporateActions.proto for package 'informativos'
3
+
4
+ require 'grpc'
5
+ require 'CorporateActions_pb'
6
+
7
+ module Informativos
8
+ module CorporateActions
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.CorporateActions'
16
+
17
+ rpc :GetCorporateActions, GetCorporateActionsReq, stream(CorporateAction)
18
+ end
19
+
20
+ Stub = Service.rpc_stub_class
21
+ end
22
+ end
@@ -9,29 +9,29 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :updated_since, :uint64, 1
10
10
  end
11
11
  add_message "informativos.Price" do
12
- optional :id, :string, 1
13
- optional :security, :string, 2
14
- optional :settlement_date, :uint64, 3
15
- optional :date, :uint64, 4
16
- optional :close, :double, 5
17
- optional :open, :double, 6
18
- optional :high, :double, 7
19
- optional :low, :double, 8
20
- optional :average, :double, 9
21
- optional :bid, :double, 10
22
- optional :ask, :double, 11
23
- optional :volume, :double, 12
24
- optional :quantity, :double, 13
25
- optional :trades, :double, 14
26
- optional :change, :double, 15
27
- optional :a_change, :float, 16
28
- optional :origin, :string, 17
29
- optional :updated_at, :uint64, 18
12
+ optional :updated_at, :uint64, 1
13
+ optional :id, :string, 2
14
+ optional :security, :string, 3
15
+ optional :settlement_date, :uint64, 4
16
+ optional :date, :uint64, 5
17
+ optional :close, :double, 6
18
+ optional :open, :double, 7
19
+ optional :high, :double, 8
20
+ optional :low, :double, 9
21
+ optional :average, :double, 10
22
+ optional :bid, :double, 11
23
+ optional :ask, :double, 12
24
+ optional :volume, :double, 13
25
+ optional :quantity, :double, 14
26
+ optional :trades, :double, 15
27
+ optional :change, :double, 16
28
+ optional :a_change, :float, 17
29
+ optional :origin, :string, 18
30
30
  end
31
31
  end
32
32
  end
33
33
 
34
34
  module Informativos
35
- GetPricesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetPricesReq").msgclass
36
- Price = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Price").msgclass
35
+ GetPricesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetPricesReq").msgclass
36
+ Price = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Price").msgclass
37
37
  end
@@ -9,20 +9,36 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
9
9
  optional :updated_since, :uint64, 1
10
10
  end
11
11
  add_message "informativos.Security" do
12
- optional :id, :string, 1
13
- optional :name, :string, 2
14
- optional :isin, :string, 3
15
- optional :symbol, :string, 4
16
- optional :is_ibov, :bool, 5
17
- optional :security_type, :string, 6
18
- optional :spec, :string, 7
19
- optional :settlement_date, :uint64, 8
20
- optional :updated_at, :uint64, 9
12
+ optional :updated_at, :uint64, 1
13
+ optional :id, :string, 2
14
+ optional :name, :string, 3
15
+ optional :isin, :string, 4
16
+ optional :symbol, :string, 5
17
+ optional :is_ibov, :bool, 6
18
+ optional :type, :enum, 7, "informativos.Security.Type"
19
+ optional :spec, :string, 8
20
+ optional :settlement_date, :uint64, 9
21
+ optional :underlying_security, :string, 10
22
+ end
23
+ add_enum "informativos.Security.Type" do
24
+ value :UNDEFINED, 0
25
+ value :NOT_MAPPED, 1
26
+ value :LFT, 2
27
+ value :LTN, 3
28
+ value :NTNB, 4
29
+ value :NTNC, 5
30
+ value :NTNF, 6
31
+ value :OPTION, 7
32
+ value :STOCK, 8
33
+ value :TERM, 9
34
+ value :SUBSCRIPTION_RIGHT, 10
35
+ value :SUBSCRIPTION_RECEIPT, 11
21
36
  end
22
37
  end
23
38
  end
24
39
 
25
40
  module Informativos
26
- GetSecuritiesReq = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
27
- Security = Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
41
+ GetSecuritiesReq = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.GetSecuritiesReq").msgclass
42
+ Security = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security").msgclass
43
+ Security::Type = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("informativos.Security.Type").enummodule
28
44
  end
@@ -1,4 +1,3 @@
1
- require 'informativos/api/Prices_services_pb'
2
- require 'informativos/api/Securities_services_pb'
3
-
4
- Informativos::API = Informativos::Api
1
+ require 'Prices_services_pb'
2
+ require 'Securities_services_pb'
3
+ require 'CorporateActions_services_pb'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: informativos-api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.4.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: 2020-01-14 00:00:00.000000000 Z
11
+ date: 2020-02-18 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Informativos API
14
14
  email:
@@ -21,6 +21,8 @@ files:
21
21
  - Gemfile.lock
22
22
  - LICENSE.txt
23
23
  - Rakefile
24
+ - gen/CorporateActions_pb.rb
25
+ - gen/CorporateActions_services_pb.rb
24
26
  - gen/Prices_pb.rb
25
27
  - gen/Prices_services_pb.rb
26
28
  - gen/Securities_pb.rb
@@ -47,7 +49,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
47
49
  - !ruby/object:Gem::Version
48
50
  version: '0'
49
51
  requirements: []
50
- rubygems_version: 3.0.3
52
+ rubyforge_project:
53
+ rubygems_version: 2.6.14.4
51
54
  signing_key:
52
55
  specification_version: 4
53
56
  summary: Informativos API