informativos-api 1.2.0 → 1.3.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
2
  SHA256:
3
- metadata.gz: 66c68461c63a539ba7ebfeb9ba7480d840ca06a6b0bd67735e46553cc71f8325
4
- data.tar.gz: 10448645e36e70892c428140ea08859700945941294815e27fde1f3e6aa98f79
3
+ metadata.gz: 7d16b91b492a874f7e43e8381f591d558a98e185836ee71c3704b75e9b359f5d
4
+ data.tar.gz: 6ba6a3d4962ee47d05246e47ddc9e51c095b6c7a771760c1e53cdc017ddafb3f
5
5
  SHA512:
6
- metadata.gz: e5000df85d4de4fa7cb03743c351c3f87b1ad17b854d7a0480428aeed459cdc569279f5255799a9f39d656b17227601eaf7cb61f8e3eb14e95d2c46426c8ffdb
7
- data.tar.gz: e9257addcbd97caa1ff39f32c1ef4e661ec8d1377617115f3af12bf7266f57f247661d2ba315508b60963d6ed1b346f8ac9e2e0ccde60c3822a2a0f795169f2e
6
+ metadata.gz: ea945a18875cfa1a83a8a34f9d2c3eff0884780e82661d3aacd73805c0b4d890384bb9bc63dd5893d46f047863e08f2acaad46ad4e9b135ba11ce9cdceaf299c
7
+ data.tar.gz: 0c1505b9743d8b83b5011d7757dc84a9cf0a1c21826d34d19507d97b661b990eda8837c7d2ebefd40ca1b4dcac6048d490c3552a854fe47e7d2ecead30dfc9bb
@@ -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
@@ -1,2 +1,3 @@
1
1
  require 'Prices_services_pb'
2
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.2.0
4
+ version: 1.3.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-17 00:00:00.000000000 Z
11
+ date: 2020-01-22 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