ukrsib_api 0.0.1

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.
Files changed (107) hide show
  1. checksums.yaml +7 -0
  2. data/.devcontainer/Dockerfile +17 -0
  3. data/.devcontainer/devcontainer.json +33 -0
  4. data/.devcontainer/post-create.sh +8 -0
  5. data/.rspec +3 -0
  6. data/.rubocop.yml +9 -0
  7. data/.vscode/settings.json +7 -0
  8. data/CHANGELOG.md +8 -0
  9. data/CODE_OF_CONDUCT.md +132 -0
  10. data/LICENSE.txt +21 -0
  11. data/README.md +143 -0
  12. data/Rakefile +12 -0
  13. data/USB_API_insrt_v_1.0.22.pdf +0 -0
  14. data/lib/ukrsib_api/authentication.rb +178 -0
  15. data/lib/ukrsib_api/base_transformer.rb +19 -0
  16. data/lib/ukrsib_api/client.rb +46 -0
  17. data/lib/ukrsib_api/models/balance.rb +79 -0
  18. data/lib/ukrsib_api/models/base_struct.rb +30 -0
  19. data/lib/ukrsib_api/models/statement_party_details.rb +34 -0
  20. data/lib/ukrsib_api/models/statement_v3.rb +69 -0
  21. data/lib/ukrsib_api/models/types.rb +25 -0
  22. data/lib/ukrsib_api/pagination_helper.rb +72 -0
  23. data/lib/ukrsib_api/request_id_middleware.rb +8 -0
  24. data/lib/ukrsib_api/resource.rb +86 -0
  25. data/lib/ukrsib_api/resources/balance_resource.rb +40 -0
  26. data/lib/ukrsib_api/resources/statements_v3_resource.rb +35 -0
  27. data/lib/ukrsib_api/transformers/balance_transformer.rb +35 -0
  28. data/lib/ukrsib_api/transformers/statement_party_details_transformer.rb +23 -0
  29. data/lib/ukrsib_api/transformers/statement_v3_transformer.rb +36 -0
  30. data/lib/ukrsib_api/version.rb +5 -0
  31. data/lib/ukrsib_api.rb +39 -0
  32. data/sig/ukrsib_api.rbs +4 -0
  33. data/sorbet/config +4 -0
  34. data/sorbet/rbi/annotations/.gitattributes +1 -0
  35. data/sorbet/rbi/annotations/faraday.rbi +17 -0
  36. data/sorbet/rbi/annotations/rainbow.rbi +269 -0
  37. data/sorbet/rbi/gems/.gitattributes +1 -0
  38. data/sorbet/rbi/gems/ast@2.4.2.rbi +585 -0
  39. data/sorbet/rbi/gems/benchmark@0.4.0.rbi +618 -0
  40. data/sorbet/rbi/gems/bigdecimal@3.1.9.rbi +9 -0
  41. data/sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi +9 -0
  42. data/sorbet/rbi/gems/date@3.4.1.rbi +75 -0
  43. data/sorbet/rbi/gems/diff-lcs@1.6.0.rbi +1134 -0
  44. data/sorbet/rbi/gems/dry-core@1.1.0.rbi +9 -0
  45. data/sorbet/rbi/gems/dry-inflector@1.2.0.rbi +9 -0
  46. data/sorbet/rbi/gems/dry-logic@1.6.0.rbi +9 -0
  47. data/sorbet/rbi/gems/dry-struct@1.7.1.rbi +925 -0
  48. data/sorbet/rbi/gems/dry-transformer@1.0.1.rbi +1512 -0
  49. data/sorbet/rbi/gems/dry-types@1.8.2.rbi +9 -0
  50. data/sorbet/rbi/gems/erubi@1.13.1.rbi +155 -0
  51. data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +9 -0
  52. data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +9 -0
  53. data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +9 -0
  54. data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +9 -0
  55. data/sorbet/rbi/gems/faraday-multipart@1.1.0.rbi +9 -0
  56. data/sorbet/rbi/gems/faraday-net_http@1.0.2.rbi +9 -0
  57. data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +9 -0
  58. data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +9 -0
  59. data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +9 -0
  60. data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +9 -0
  61. data/sorbet/rbi/gems/faraday@1.10.4.rbi +9 -0
  62. data/sorbet/rbi/gems/faraday_middleware@1.2.1.rbi +9 -0
  63. data/sorbet/rbi/gems/i18n@1.14.7.rbi +2208 -0
  64. data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +9 -0
  65. data/sorbet/rbi/gems/io-console@0.8.0.rbi +9 -0
  66. data/sorbet/rbi/gems/json@2.10.1.rbi +2120 -0
  67. data/sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi +9 -0
  68. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +86 -0
  69. data/sorbet/rbi/gems/logger@1.6.6.rbi +940 -0
  70. data/sorbet/rbi/gems/money@6.19.0.rbi +2260 -0
  71. data/sorbet/rbi/gems/multipart-post@2.4.1.rbi +9 -0
  72. data/sorbet/rbi/gems/netrc@0.11.0.rbi +159 -0
  73. data/sorbet/rbi/gems/parallel@1.26.3.rbi +291 -0
  74. data/sorbet/rbi/gems/parser@3.3.7.1.rbi +5525 -0
  75. data/sorbet/rbi/gems/pp@0.6.2.rbi +368 -0
  76. data/sorbet/rbi/gems/prettyprint@0.2.0.rbi +477 -0
  77. data/sorbet/rbi/gems/prism@1.3.0.rbi +41403 -0
  78. data/sorbet/rbi/gems/psych@5.2.3.rbi +2435 -0
  79. data/sorbet/rbi/gems/racc@1.8.1.rbi +164 -0
  80. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +403 -0
  81. data/sorbet/rbi/gems/rake@13.2.1.rbi +3028 -0
  82. data/sorbet/rbi/gems/rbi@0.2.4.rbi +4542 -0
  83. data/sorbet/rbi/gems/rdoc@6.12.0.rbi +12758 -0
  84. data/sorbet/rbi/gems/regexp_parser@2.10.0.rbi +3795 -0
  85. data/sorbet/rbi/gems/reline@0.6.0.rbi +2451 -0
  86. data/sorbet/rbi/gems/rspec-core@3.13.3.rbi +10986 -0
  87. data/sorbet/rbi/gems/rspec-expectations@3.13.3.rbi +8183 -0
  88. data/sorbet/rbi/gems/rspec-mocks@3.13.2.rbi +5341 -0
  89. data/sorbet/rbi/gems/rspec-support@3.13.2.rbi +1630 -0
  90. data/sorbet/rbi/gems/rspec@3.13.0.rbi +83 -0
  91. data/sorbet/rbi/gems/rubocop-ast@1.38.0.rbi +7654 -0
  92. data/sorbet/rbi/gems/rubocop@1.72.2.rbi +61026 -0
  93. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +1318 -0
  94. data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +9 -0
  95. data/sorbet/rbi/gems/spoom@1.5.4.rbi +5026 -0
  96. data/sorbet/rbi/gems/stringio@3.1.5.rbi +9 -0
  97. data/sorbet/rbi/gems/tapioca@0.16.11.rbi +3656 -0
  98. data/sorbet/rbi/gems/thor@1.3.2.rbi +4378 -0
  99. data/sorbet/rbi/gems/unicode-display_width@3.1.4.rbi +132 -0
  100. data/sorbet/rbi/gems/unicode-emoji@4.0.4.rbi +251 -0
  101. data/sorbet/rbi/gems/yard-sorbet@0.9.0.rbi +435 -0
  102. data/sorbet/rbi/gems/yard@0.9.37.rbi +18379 -0
  103. data/sorbet/rbi/gems/zeitwerk@2.7.2.rbi +9 -0
  104. data/sorbet/rbi/todo.rbi +15 -0
  105. data/sorbet/tapioca/config.yml +13 -0
  106. data/sorbet/tapioca/require.rb +8 -0
  107. metadata +236 -0
@@ -0,0 +1,9 @@
1
+ # typed: true
2
+
3
+ # DO NOT EDIT MANUALLY
4
+ # This is an autogenerated file for types exported from the `zeitwerk` gem.
5
+ # Please instead update this file by running `bin/tapioca gem zeitwerk`.
6
+
7
+
8
+ # THIS IS AN EMPTY RBI FILE.
9
+ # see https://github.com/Shopify/tapioca#manually-requiring-parts-of-a-gem
@@ -0,0 +1,15 @@
1
+ # DO NOT EDIT MANUALLY
2
+ # This is an autogenerated file for unresolved constants.
3
+ # Please instead update this file by running `bin/tapioca todo`.
4
+
5
+ # typed: false
6
+
7
+ module ::Dry::Transformer::Pipe; end
8
+ module BalanceTransformer::Dry::Transformer::HashTransformations; end
9
+ module Faraday::Connection; end
10
+ module UkrsibAPI::Models::Dry::Struct; end
11
+ module UkrsibAPI::Models::Types::Bool; end
12
+ module UkrsibAPI::Models::Types::Coercible::Decimal; end
13
+ module UkrsibAPI::Models::Types::Dry; end
14
+ module UkrsibAPI::Models::Types::Params::DateTime; end
15
+ module UkrsibAPI::Models::Types::String; end
@@ -0,0 +1,13 @@
1
+ gem:
2
+ # Add your `gem` command parameters here:
3
+ #
4
+ # exclude:
5
+ # - gem_name
6
+ # doc: true
7
+ # workers: 5
8
+ dsl:
9
+ # Add your `dsl` command parameters here:
10
+ #
11
+ # exclude:
12
+ # - SomeGeneratorName
13
+ # workers: 5
@@ -0,0 +1,8 @@
1
+ # typed: true
2
+ # frozen_string_literal: true
3
+
4
+ require "dry-struct"
5
+ require "dry-transformer"
6
+ require "faraday"
7
+ require "faraday_middleware"
8
+ require "money"
metadata ADDED
@@ -0,0 +1,236 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: ukrsib_api
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - merof
8
+ autorequire:
9
+ bindir: exe
10
+ cert_chain: []
11
+ date: 2025-03-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: dry-struct
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '1.7'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '1.7'
27
+ - !ruby/object:Gem::Dependency
28
+ name: dry-transformer
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '1'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '1'
41
+ - !ruby/object:Gem::Dependency
42
+ name: dry-types
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.7'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.7'
55
+ - !ruby/object:Gem::Dependency
56
+ name: faraday
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.7'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: faraday_middleware
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '1.1'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '1.1'
83
+ - !ruby/object:Gem::Dependency
84
+ name: money
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '6'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '6'
97
+ description: Unofficial Ruby Gem for ukrsib bank business API.
98
+ email:
99
+ - misha.rosh@gmail.com
100
+ executables: []
101
+ extensions: []
102
+ extra_rdoc_files: []
103
+ files:
104
+ - ".devcontainer/Dockerfile"
105
+ - ".devcontainer/devcontainer.json"
106
+ - ".devcontainer/post-create.sh"
107
+ - ".rspec"
108
+ - ".rubocop.yml"
109
+ - ".vscode/settings.json"
110
+ - CHANGELOG.md
111
+ - CODE_OF_CONDUCT.md
112
+ - LICENSE.txt
113
+ - README.md
114
+ - Rakefile
115
+ - USB_API_insrt_v_1.0.22.pdf
116
+ - lib/ukrsib_api.rb
117
+ - lib/ukrsib_api/authentication.rb
118
+ - lib/ukrsib_api/base_transformer.rb
119
+ - lib/ukrsib_api/client.rb
120
+ - lib/ukrsib_api/models/balance.rb
121
+ - lib/ukrsib_api/models/base_struct.rb
122
+ - lib/ukrsib_api/models/statement_party_details.rb
123
+ - lib/ukrsib_api/models/statement_v3.rb
124
+ - lib/ukrsib_api/models/types.rb
125
+ - lib/ukrsib_api/pagination_helper.rb
126
+ - lib/ukrsib_api/request_id_middleware.rb
127
+ - lib/ukrsib_api/resource.rb
128
+ - lib/ukrsib_api/resources/balance_resource.rb
129
+ - lib/ukrsib_api/resources/statements_v3_resource.rb
130
+ - lib/ukrsib_api/transformers/balance_transformer.rb
131
+ - lib/ukrsib_api/transformers/statement_party_details_transformer.rb
132
+ - lib/ukrsib_api/transformers/statement_v3_transformer.rb
133
+ - lib/ukrsib_api/version.rb
134
+ - sig/ukrsib_api.rbs
135
+ - sorbet/config
136
+ - sorbet/rbi/annotations/.gitattributes
137
+ - sorbet/rbi/annotations/faraday.rbi
138
+ - sorbet/rbi/annotations/rainbow.rbi
139
+ - sorbet/rbi/gems/.gitattributes
140
+ - sorbet/rbi/gems/ast@2.4.2.rbi
141
+ - sorbet/rbi/gems/benchmark@0.4.0.rbi
142
+ - sorbet/rbi/gems/bigdecimal@3.1.9.rbi
143
+ - sorbet/rbi/gems/concurrent-ruby@1.3.5.rbi
144
+ - sorbet/rbi/gems/date@3.4.1.rbi
145
+ - sorbet/rbi/gems/diff-lcs@1.6.0.rbi
146
+ - sorbet/rbi/gems/dry-core@1.1.0.rbi
147
+ - sorbet/rbi/gems/dry-inflector@1.2.0.rbi
148
+ - sorbet/rbi/gems/dry-logic@1.6.0.rbi
149
+ - sorbet/rbi/gems/dry-struct@1.7.1.rbi
150
+ - sorbet/rbi/gems/dry-transformer@1.0.1.rbi
151
+ - sorbet/rbi/gems/dry-types@1.8.2.rbi
152
+ - sorbet/rbi/gems/erubi@1.13.1.rbi
153
+ - sorbet/rbi/gems/faraday-em_http@1.0.0.rbi
154
+ - sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi
155
+ - sorbet/rbi/gems/faraday-excon@1.1.0.rbi
156
+ - sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi
157
+ - sorbet/rbi/gems/faraday-multipart@1.1.0.rbi
158
+ - sorbet/rbi/gems/faraday-net_http@1.0.2.rbi
159
+ - sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi
160
+ - sorbet/rbi/gems/faraday-patron@1.0.0.rbi
161
+ - sorbet/rbi/gems/faraday-rack@1.0.0.rbi
162
+ - sorbet/rbi/gems/faraday-retry@1.0.3.rbi
163
+ - sorbet/rbi/gems/faraday@1.10.4.rbi
164
+ - sorbet/rbi/gems/faraday_middleware@1.2.1.rbi
165
+ - sorbet/rbi/gems/i18n@1.14.7.rbi
166
+ - sorbet/rbi/gems/ice_nine@0.11.2.rbi
167
+ - sorbet/rbi/gems/io-console@0.8.0.rbi
168
+ - sorbet/rbi/gems/json@2.10.1.rbi
169
+ - sorbet/rbi/gems/language_server-protocol@3.17.0.4.rbi
170
+ - sorbet/rbi/gems/lint_roller@1.1.0.rbi
171
+ - sorbet/rbi/gems/logger@1.6.6.rbi
172
+ - sorbet/rbi/gems/money@6.19.0.rbi
173
+ - sorbet/rbi/gems/multipart-post@2.4.1.rbi
174
+ - sorbet/rbi/gems/netrc@0.11.0.rbi
175
+ - sorbet/rbi/gems/parallel@1.26.3.rbi
176
+ - sorbet/rbi/gems/parser@3.3.7.1.rbi
177
+ - sorbet/rbi/gems/pp@0.6.2.rbi
178
+ - sorbet/rbi/gems/prettyprint@0.2.0.rbi
179
+ - sorbet/rbi/gems/prism@1.3.0.rbi
180
+ - sorbet/rbi/gems/psych@5.2.3.rbi
181
+ - sorbet/rbi/gems/racc@1.8.1.rbi
182
+ - sorbet/rbi/gems/rainbow@3.1.1.rbi
183
+ - sorbet/rbi/gems/rake@13.2.1.rbi
184
+ - sorbet/rbi/gems/rbi@0.2.4.rbi
185
+ - sorbet/rbi/gems/rdoc@6.12.0.rbi
186
+ - sorbet/rbi/gems/regexp_parser@2.10.0.rbi
187
+ - sorbet/rbi/gems/reline@0.6.0.rbi
188
+ - sorbet/rbi/gems/rspec-core@3.13.3.rbi
189
+ - sorbet/rbi/gems/rspec-expectations@3.13.3.rbi
190
+ - sorbet/rbi/gems/rspec-mocks@3.13.2.rbi
191
+ - sorbet/rbi/gems/rspec-support@3.13.2.rbi
192
+ - sorbet/rbi/gems/rspec@3.13.0.rbi
193
+ - sorbet/rbi/gems/rubocop-ast@1.38.0.rbi
194
+ - sorbet/rbi/gems/rubocop@1.72.2.rbi
195
+ - sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi
196
+ - sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi
197
+ - sorbet/rbi/gems/spoom@1.5.4.rbi
198
+ - sorbet/rbi/gems/stringio@3.1.5.rbi
199
+ - sorbet/rbi/gems/tapioca@0.16.11.rbi
200
+ - sorbet/rbi/gems/thor@1.3.2.rbi
201
+ - sorbet/rbi/gems/unicode-display_width@3.1.4.rbi
202
+ - sorbet/rbi/gems/unicode-emoji@4.0.4.rbi
203
+ - sorbet/rbi/gems/yard-sorbet@0.9.0.rbi
204
+ - sorbet/rbi/gems/yard@0.9.37.rbi
205
+ - sorbet/rbi/gems/zeitwerk@2.7.2.rbi
206
+ - sorbet/rbi/todo.rbi
207
+ - sorbet/tapioca/config.yml
208
+ - sorbet/tapioca/require.rb
209
+ homepage: https://github.com/merof-code/ukrsib_api
210
+ licenses:
211
+ - MIT
212
+ metadata:
213
+ homepage_uri: https://github.com/merof-code/ukrsib_api
214
+ source_code_uri: https://github.com/merof-code/ukrsib_api
215
+ changelog_uri: https://github.com/merof-code/ukrsib_api/blob/master/CHANGELOG.md
216
+ rubygems_mfa_required: 'true'
217
+ post_install_message:
218
+ rdoc_options: []
219
+ require_paths:
220
+ - lib
221
+ required_ruby_version: !ruby/object:Gem::Requirement
222
+ requirements:
223
+ - - ">="
224
+ - !ruby/object:Gem::Version
225
+ version: 3.1.0
226
+ required_rubygems_version: !ruby/object:Gem::Requirement
227
+ requirements:
228
+ - - ">="
229
+ - !ruby/object:Gem::Version
230
+ version: '0'
231
+ requirements: []
232
+ rubygems_version: 3.5.22
233
+ signing_key:
234
+ specification_version: 4
235
+ summary: api wrapper for ukrsib bank api
236
+ test_files: []