Skip to content

Commit bc9dd5c

Browse files
stainless-app[bot]meorphis
authored andcommitted
chore: sync repo
1 parent 390261c commit bc9dd5c

127 files changed

Lines changed: 15750 additions & 987 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.1.0-alpha.40"
2+
".": "0.1.0-alpha.39"
33
}

.rubocop.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Naming/ClassAndModuleCamelCase:
149149
Naming/MethodParameterName:
150150
Enabled: false
151151

152-
Naming/PredicateName:
152+
Naming/PredicatePrefix:
153153
Exclude:
154154
- "**/*.rbi"
155155

.stats.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 167
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-b9c76d077831114f1e4c5c15ff3f1d835ef3e9361b768af8468f8eb07a09ef3e.yml
3-
openapi_spec_hash: 5f9bcf1afd68f962a870727c35628394
4-
config_hash: e9a46eb8acb9dc2c236f3e1958a1c4dd
1+
configured_endpoints: 169
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-e16df7d65a6ababc8e0ca1f2a65070893d82d3b2b046394ab708d56fe717b3ad.yml
3+
openapi_spec_hash: ee82cf8fd5bb6b86abbae304f6c43934
4+
config_hash: c6d56596249e319c59d49d8e49a190b1

CHANGELOG.md

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,5 @@
11
# Changelog
22

3-
## 0.1.0-alpha.40 (2025-07-15)
4-
5-
Full Changelog: [v0.1.0-alpha.39...v0.1.0-alpha.40](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.39...v0.1.0-alpha.40)
6-
7-
### Features
8-
9-
* **api:** adds Network Programs and Account/Card Sub-statuses ([b5e5077](https://github.com/lithic-com/lithic-ruby/commit/b5e5077794684767a425d31f746cee2ed69d8ba7))
10-
* **api:** api update ([b8de03e](https://github.com/lithic-com/lithic-ruby/commit/b8de03e418647489f4e34b4a55ca4256f34c52fe))
11-
* **api:** api update ([72d4aab](https://github.com/lithic-com/lithic-ruby/commit/72d4aabb27fe144144c10899e64c863785d6595b))
12-
133
## 0.1.0-alpha.39 (2025-07-03)
144

155
Full Changelog: [v0.1.0-alpha.38...v0.1.0-alpha.39](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.38...v0.1.0-alpha.39)

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ $ bundle exec rake test
7878

7979
## Linting and formatting
8080

81-
This repository uses [rubocop](https://github.com/rubocop/rubocop) for linting and formatting of `*.rb` and `*.rbi` files. [syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) is used for formatting `*.rbs` files.
81+
This repository uses [rubocop](https://github.com/rubocop/rubocop) for linting and formatting of `*.rb` files; And [syntax_tree](https://github.com/ruby-syntax-tree/syntax_tree) is used for formatting of both `*.rbi` and `*.rbs` files.
8282

8383
There are two separate type checkers supported by this library: [sorbet](https://github.com/sorbet/sorbet) and [steep](https://github.com/soutaro/steep) are used for verifying `*.rbi` and `*.rbs` files respectively.
8484

Gemfile.lock

Lines changed: 52 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
lithic (0.1.0.pre.alpha.40)
14+
lithic (0.1.0.pre.alpha.39)
1515
connection_pool
1616

1717
GEM
1818
remote: https://rubygems.org/
1919
specs:
20-
activesupport (8.0.2)
20+
activesupport (8.0.2.1)
2121
base64
2222
benchmark (>= 0.3)
2323
bigdecimal
@@ -33,45 +33,50 @@ GEM
3333
addressable (2.8.7)
3434
public_suffix (>= 2.0.2, < 7.0)
3535
ast (2.4.3)
36-
async (2.24.0)
36+
async (2.27.3)
3737
console (~> 1.29)
3838
fiber-annotation
39-
io-event (~> 1.9)
39+
io-event (~> 1.11)
4040
metrics (~> 0.12)
4141
traces (~> 0.15)
42-
base64 (0.2.0)
43-
benchmark (0.4.0)
44-
bigdecimal (3.1.9)
42+
base64 (0.3.0)
43+
benchmark (0.4.1)
44+
bigdecimal (3.2.2)
4545
concurrent-ruby (1.3.5)
4646
connection_pool (2.5.3)
47-
console (1.30.2)
47+
console (1.33.0)
4848
fiber-annotation
4949
fiber-local (~> 1.1)
5050
json
5151
crack (1.0.0)
5252
bigdecimal
5353
rexml
54-
csv (3.3.4)
55-
drb (2.2.1)
54+
csv (3.3.5)
55+
drb (2.2.3)
5656
erubi (1.13.1)
57+
ffi (1.17.2-aarch64-linux-gnu)
58+
ffi (1.17.2-aarch64-linux-musl)
59+
ffi (1.17.2-arm64-darwin)
60+
ffi (1.17.2-x86_64-darwin)
5761
ffi (1.17.2-x86_64-linux-gnu)
62+
ffi (1.17.2-x86_64-linux-musl)
5863
fiber-annotation (0.2.0)
5964
fiber-local (1.1.0)
6065
fiber-storage
6166
fiber-storage (1.0.1)
6267
fileutils (1.7.3)
63-
hashdiff (1.1.2)
68+
hashdiff (1.2.0)
6469
i18n (1.14.7)
6570
concurrent-ruby (~> 1.0)
66-
io-event (1.10.0)
67-
json (2.11.3)
68-
language_server-protocol (3.17.0.4)
71+
io-event (1.11.2)
72+
json (2.13.2)
73+
language_server-protocol (3.17.0.5)
6974
lint_roller (1.1.0)
7075
listen (3.9.0)
7176
rb-fsevent (~> 0.10, >= 0.10.3)
7277
rb-inotify (~> 0.9, >= 0.9.10)
7378
logger (1.7.0)
74-
metrics (0.12.2)
79+
metrics (0.13.0)
7580
minitest (5.25.5)
7681
minitest-focus (1.4.0)
7782
minitest (>= 4, < 6)
@@ -84,54 +89,56 @@ GEM
8489
mutex_m (0.3.0)
8590
netrc (0.11.0)
8691
parallel (1.27.0)
87-
parser (3.3.8.0)
92+
parser (3.3.9.0)
8893
ast (~> 2.4.1)
8994
racc
9095
prettier_print (1.2.1)
9196
prism (1.4.0)
9297
public_suffix (6.0.2)
9398
racc (1.8.1)
9499
rainbow (3.1.1)
95-
rake (13.2.1)
100+
rake (13.3.0)
96101
rb-fsevent (0.11.2)
97102
rb-inotify (0.11.1)
98103
ffi (~> 1.0)
99-
rbi (0.3.2)
104+
rbi (0.3.6)
100105
prism (~> 1.0)
101106
rbs (>= 3.4.4)
102-
sorbet-runtime (>= 0.5.9204)
103-
rbs (3.9.2)
107+
rbs (3.9.4)
104108
logger
105109
redcarpet (3.6.1)
106-
regexp_parser (2.10.0)
110+
regexp_parser (2.11.2)
107111
rexml (3.4.1)
108-
rubocop (1.75.5)
112+
rubocop (1.79.2)
109113
json (~> 2.3)
110114
language_server-protocol (~> 3.17.0.2)
111115
lint_roller (~> 1.1.0)
112116
parallel (~> 1.10)
113117
parser (>= 3.3.0.2)
114118
rainbow (>= 2.2.2, < 4.0)
115119
regexp_parser (>= 2.9.3, < 3.0)
116-
rubocop-ast (>= 1.44.0, < 2.0)
120+
rubocop-ast (>= 1.46.0, < 2.0)
117121
ruby-progressbar (~> 1.7)
118122
unicode-display_width (>= 2.4.0, < 4.0)
119-
rubocop-ast (1.44.1)
123+
rubocop-ast (1.46.0)
120124
parser (>= 3.3.7.2)
121125
prism (~> 1.4)
122126
ruby-progressbar (1.13.0)
123127
securerandom (0.4.1)
124-
sorbet (0.5.12067)
125-
sorbet-static (= 0.5.12067)
126-
sorbet-runtime (0.5.12067)
127-
sorbet-static (0.5.12067-x86_64-linux)
128-
sorbet-static-and-runtime (0.5.12067)
129-
sorbet (= 0.5.12067)
130-
sorbet-runtime (= 0.5.12067)
131-
spoom (1.6.1)
128+
sorbet (0.5.12424)
129+
sorbet-static (= 0.5.12424)
130+
sorbet-runtime (0.5.12424)
131+
sorbet-static (0.5.12424-aarch64-linux)
132+
sorbet-static (0.5.12424-universal-darwin)
133+
sorbet-static (0.5.12424-x86_64-linux)
134+
sorbet-static-and-runtime (0.5.12424)
135+
sorbet (= 0.5.12424)
136+
sorbet-runtime (= 0.5.12424)
137+
spoom (1.6.3)
132138
erubi (>= 1.10.0)
133139
prism (>= 0.28.0)
134-
rbi (>= 0.2.3)
140+
rbi (>= 0.3.3)
141+
rexml (>= 3.2.6)
135142
sorbet-static-and-runtime (>= 0.5.10187)
136143
thor (>= 0.19.2)
137144
steep (1.10.0)
@@ -152,7 +159,7 @@ GEM
152159
terminal-table (>= 2, < 5)
153160
uri (>= 0.12.0)
154161
strscan (3.1.5)
155-
syntax_tree (6.2.0)
162+
syntax_tree (6.3.0)
156163
prettier_print (>= 1.2.0)
157164
tapioca (0.16.11)
158165
benchmark
@@ -166,11 +173,11 @@ GEM
166173
yard-sorbet
167174
terminal-table (4.0.0)
168175
unicode-display_width (>= 1.1.1, < 4)
169-
thor (1.3.2)
170-
traces (0.15.2)
176+
thor (1.4.0)
177+
traces (0.17.0)
171178
tzinfo (2.0.6)
172179
concurrent-ruby (~> 1.0)
173-
unicode-display_width (3.1.4)
180+
unicode-display_width (3.1.5)
174181
unicode-emoji (~> 4.0, >= 4.0.4)
175182
unicode-emoji (4.0.4)
176183
uri (1.0.3)
@@ -185,7 +192,14 @@ GEM
185192
yard
186193

187194
PLATFORMS
188-
x86_64-linux
195+
aarch64-linux
196+
aarch64-linux-gnu
197+
aarch64-linux-musl
198+
arm64-darwin
199+
universal-darwin
200+
x86_64-darwin
201+
x86_64-linux-gnu
202+
x86_64-linux-musl
189203

190204
DEPENDENCIES
191205
async

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
1515
<!-- x-release-please-start-version -->
1616

1717
```ruby
18-
gem "lithic", "~> 0.1.0.pre.alpha.40"
18+
gem "lithic", "~> 0.1.0.pre.alpha.39"
1919
```
2020

2121
<!-- x-release-please-end -->

lib/lithic.rb

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,15 @@
5252
require_relative "lithic/client"
5353
require_relative "lithic/internal/cursor_page"
5454
require_relative "lithic/internal/single_page"
55+
require_relative "lithic/models/transaction"
5556
require_relative "lithic/models/non_pci_card"
5657
require_relative "lithic/models/payment"
5758
require_relative "lithic/models/three_ds/challenge_response"
5859
require_relative "lithic/models/account"
60+
require_relative "lithic/models/account_activity_list_params"
61+
require_relative "lithic/models/account_activity_list_response"
62+
require_relative "lithic/models/account_activity_retrieve_transaction_params"
63+
require_relative "lithic/models/account_activity_retrieve_transaction_response"
5964
require_relative "lithic/models/account_financial_account_type"
6065
require_relative "lithic/models/account_holder"
6166
require_relative "lithic/models/account_holder_create_params"
@@ -315,14 +320,12 @@
315320
require_relative "lithic/models/tokenization_pause_params"
316321
require_relative "lithic/models/tokenization_resend_activation_code_params"
317322
require_relative "lithic/models/tokenization_retrieve_params"
318-
require_relative "lithic/models/tokenization_retrieve_response"
319323
require_relative "lithic/models/tokenization_secret"
320324
require_relative "lithic/models/tokenization_simulate_params"
321325
require_relative "lithic/models/tokenization_simulate_response"
322326
require_relative "lithic/models/tokenization_unpause_params"
323327
require_relative "lithic/models/tokenization_update_digital_card_art_params"
324328
require_relative "lithic/models/tokenization_update_digital_card_art_response"
325-
require_relative "lithic/models/transaction"
326329
require_relative "lithic/models/transaction_expire_authorization_params"
327330
require_relative "lithic/models/transaction_list_params"
328331
require_relative "lithic/models/transaction_retrieve_params"
@@ -348,6 +351,7 @@
348351
require_relative "lithic/models/transfer_create_params"
349352
require_relative "lithic/models/verification_method"
350353
require_relative "lithic/models"
354+
require_relative "lithic/resources/account_activity"
351355
require_relative "lithic/resources/account_holders"
352356
require_relative "lithic/resources/accounts"
353357
require_relative "lithic/resources/aggregate_balances"

lib/lithic/client.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,9 @@ class Client < Lithic::Internal::Transport::BaseClient
107107
# @return [Lithic::Resources::NetworkPrograms]
108108
attr_reader :network_programs
109109

110+
# @return [Lithic::Resources::AccountActivity]
111+
attr_reader :account_activity
112+
110113
# Status of api
111114
#
112115
# @overload api_status(request_options: {})
@@ -209,6 +212,7 @@ def initialize(
209212
@funding_events = Lithic::Resources::FundingEvents.new(client: self)
210213
@fraud = Lithic::Resources::Fraud.new(client: self)
211214
@network_programs = Lithic::Resources::NetworkPrograms.new(client: self)
215+
@account_activity = Lithic::Resources::AccountActivity.new(client: self)
212216
end
213217
end
214218
end

lib/lithic/internal/transport/base_client.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ def initialize(
365365
#
366366
# @raise [Lithic::Errors::APIError]
367367
# @return [Array(Integer, Net::HTTPResponse, Enumerable<String>)]
368-
private def send_request(request, redirect_count:, retry_count:, send_retry_header:)
368+
def send_request(request, redirect_count:, retry_count:, send_retry_header:)
369369
url, headers, max_retries, timeout = request.fetch_values(:url, :headers, :max_retries, :timeout)
370370
input = {**request.except(:timeout), deadline: Lithic::Internal::Util.monotonic_secs + timeout}
371371

0 commit comments

Comments
 (0)