lithic 0.1.0.pre.alpha.41 → 0.1.0.pre.alpha.43

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 (89) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/models/account_activity_list_params.rb +10 -8
  5. data/lib/lithic/models/auth_rules/v2_apply_params.rb +13 -5
  6. data/lib/lithic/models/auth_rules/v2_apply_response.rb +510 -18
  7. data/lib/lithic/models/auth_rules/v2_create_params.rb +283 -16
  8. data/lib/lithic/models/auth_rules/v2_create_response.rb +510 -18
  9. data/lib/lithic/models/auth_rules/v2_draft_params.rb +239 -3
  10. data/lib/lithic/models/auth_rules/v2_draft_response.rb +510 -18
  11. data/lib/lithic/models/auth_rules/v2_list_params.rb +10 -1
  12. data/lib/lithic/models/auth_rules/v2_list_response.rb +510 -18
  13. data/lib/lithic/models/auth_rules/v2_promote_response.rb +510 -18
  14. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +510 -18
  15. data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -9
  16. data/lib/lithic/models/auth_rules/v2_update_response.rb +510 -18
  17. data/lib/lithic/models/event.rb +6 -0
  18. data/lib/lithic/models/event_list_params.rb +2 -0
  19. data/lib/lithic/models/event_subscription.rb +2 -0
  20. data/lib/lithic/models/events/subscription_create_params.rb +2 -0
  21. data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
  22. data/lib/lithic/models/events/subscription_update_params.rb +2 -0
  23. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +28 -26
  24. data/lib/lithic/models/transaction.rb +4 -0
  25. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +62 -0
  26. data/lib/lithic/models/transaction_simulate_credit_authorization_advice_response.rb +25 -0
  27. data/lib/lithic/models.rb +3 -0
  28. data/lib/lithic/resources/account_activity.rb +2 -2
  29. data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -3
  30. data/lib/lithic/resources/auth_rules/v2.rb +19 -13
  31. data/lib/lithic/resources/transactions.rb +37 -0
  32. data/lib/lithic/version.rb +1 -1
  33. data/lib/lithic.rb +2 -0
  34. data/rbi/lithic/models/account_activity_list_params.rbi +18 -30
  35. data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +19 -5
  36. data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +1128 -18
  37. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +646 -21
  38. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +1128 -18
  39. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +554 -4
  40. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +1128 -18
  41. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +16 -0
  42. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +1128 -18
  43. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +1128 -18
  44. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +1128 -18
  45. data/rbi/lithic/models/auth_rules/v2_update_params.rbi +0 -11
  46. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +1128 -18
  47. data/rbi/lithic/models/event.rbi +16 -0
  48. data/rbi/lithic/models/event_list_params.rbi +10 -0
  49. data/rbi/lithic/models/event_subscription.rbi +10 -0
  50. data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
  51. data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
  52. data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
  53. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +45 -41
  54. data/rbi/lithic/models/transaction.rbi +17 -0
  55. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +92 -0
  56. data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_response.rbi +46 -0
  57. data/rbi/lithic/models.rbi +3 -0
  58. data/rbi/lithic/resources/account_activity.rbi +2 -2
  59. data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +3 -3
  60. data/rbi/lithic/resources/auth_rules/v2.rbi +28 -14
  61. data/rbi/lithic/resources/transactions.rbi +33 -0
  62. data/sig/lithic/models/account_activity_list_params.rbs +16 -16
  63. data/sig/lithic/models/auth_rules/v2_apply_params.rbs +11 -2
  64. data/sig/lithic/models/auth_rules/v2_apply_response.rbs +317 -2
  65. data/sig/lithic/models/auth_rules/v2_create_params.rbs +188 -4
  66. data/sig/lithic/models/auth_rules/v2_create_response.rbs +317 -2
  67. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +155 -0
  68. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +317 -2
  69. data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
  70. data/sig/lithic/models/auth_rules/v2_list_response.rbs +317 -2
  71. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +317 -2
  72. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +317 -2
  73. data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -7
  74. data/sig/lithic/models/auth_rules/v2_update_response.rbs +317 -2
  75. data/sig/lithic/models/event.rbs +4 -0
  76. data/sig/lithic/models/event_list_params.rbs +4 -0
  77. data/sig/lithic/models/event_subscription.rbs +4 -0
  78. data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
  79. data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
  80. data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
  81. data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +20 -20
  82. data/sig/lithic/models/transaction.rbs +10 -2
  83. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +50 -0
  84. data/sig/lithic/models/transaction_simulate_credit_authorization_advice_response.rbs +20 -0
  85. data/sig/lithic/models.rbs +2 -0
  86. data/sig/lithic/resources/account_activity.rbs +2 -2
  87. data/sig/lithic/resources/auth_rules/v2.rbs +6 -3
  88. data/sig/lithic/resources/transactions.rbs +9 -0
  89. metadata +8 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a208b34c598732ce4f147c6e0a3ae38ef6adebe54875becd3b460ce855ff60e3
4
- data.tar.gz: e3e81b2a51a92df94ea610568991df2d7df601637a983aaa4a8b1f98af89cdd6
3
+ metadata.gz: 21e9addcee76f9bfe59787212940d0f8b8809897372fd70b2abd9ffc60726d75
4
+ data.tar.gz: 1c2101f6ad278cb7b4e50e2b4a0d260306eedfad43c23cf30c489fe1dd1a5490
5
5
  SHA512:
6
- metadata.gz: 0cb88495ccbb5f4778c68fa55df15f0ff9a8f3cdddb8a2c6578a8649a409c977a23596f93780e2df064b2825ef71e655e48a3d325b62b34d6c9a2670eed13424
7
- data.tar.gz: fe8ad4d5e0f88b3eaf0f9d407d2a6303fe3c22fd6b7ee0f8dc742cc0460123c589b2bf1ee29ddb54f3793e1d3dbeaf4fec69d447d263a7f375687e8dc456a6c4
6
+ metadata.gz: 10238fe4062921326719e7b6a3d509c5c982e4f2a54bd5f682b82a2ea3ba64733a368c12d415e77b95a3b23e15d75ad76d48ca14551f669b7cccb80ac7fb23b0
7
+ data.tar.gz: 118a5b70a06ec13d8748bed261c13a5d85e727255336284bcc9b938af33f18c928db83c37ff130818dbc5a5b833edcd25acc882f36ee7d36d4f64f06d66e05d0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.1.0-alpha.43 (2025-09-11)
4
+
5
+ Full Changelog: [v0.1.0-alpha.42...v0.1.0-alpha.43](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.42...v0.1.0-alpha.43)
6
+
7
+ ### Features
8
+
9
+ * **api:** manual updates ([bde90fd](https://github.com/lithic-com/lithic-ruby/commit/bde90fdad11812628ad656e2a32c40d06184cbaf))
10
+
11
+ ## 0.1.0-alpha.42 (2025-09-09)
12
+
13
+ Full Changelog: [v0.1.0-alpha.41...v0.1.0-alpha.42](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.41...v0.1.0-alpha.42)
14
+
15
+ ### Features
16
+
17
+ * **api:** adds support for unpauseing external bank accounts ([ad64d5d](https://github.com/lithic-com/lithic-ruby/commit/ad64d5d1cbd89b6d908f6a414b80004de94cb168))
18
+
3
19
  ## 0.1.0-alpha.41 (2025-09-03)
4
20
 
5
21
  Full Changelog: [v0.1.0-alpha.40...v0.1.0-alpha.41](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.40...v0.1.0-alpha.41)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "lithic", "~> 0.1.0.pre.alpha.41"
18
+ gem "lithic", "~> 0.1.0.pre.alpha.43"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -61,8 +61,8 @@ module Lithic
61
61
  # @!attribute result
62
62
  # Filter by transaction result
63
63
  #
64
- # @return [Array<Symbol, Lithic::Models::AccountActivityListParams::Result>, nil]
65
- optional :result, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountActivityListParams::Result] }
64
+ # @return [Symbol, Lithic::Models::AccountActivityListParams::Result, nil]
65
+ optional :result, enum: -> { Lithic::AccountActivityListParams::Result }
66
66
 
67
67
  # @!attribute starting_after
68
68
  # A cursor representing an item's token after which a page of results should
@@ -74,8 +74,8 @@ module Lithic
74
74
  # @!attribute status
75
75
  # Filter by transaction status
76
76
  #
77
- # @return [Array<Symbol, Lithic::Models::AccountActivityListParams::Status>, nil]
78
- optional :status, -> { Lithic::Internal::Type::ArrayOf[enum: Lithic::AccountActivityListParams::Status] }
77
+ # @return [Symbol, Lithic::Models::AccountActivityListParams::Status, nil]
78
+ optional :status, enum: -> { Lithic::AccountActivityListParams::Status }
79
79
 
80
80
  # @!method initialize(account_token: nil, begin_: nil, business_account_token: nil, category: nil, end_: nil, ending_before: nil, financial_account_token: nil, page_size: nil, result: nil, starting_after: nil, status: nil, request_options: {})
81
81
  # Some parameter documentations has been truncated, see
@@ -97,11 +97,11 @@ module Lithic
97
97
  #
98
98
  # @param page_size [Integer] Page size (for pagination).
99
99
  #
100
- # @param result [Array<Symbol, Lithic::Models::AccountActivityListParams::Result>] Filter by transaction result
100
+ # @param result [Symbol, Lithic::Models::AccountActivityListParams::Result] Filter by transaction result
101
101
  #
102
102
  # @param starting_after [String] A cursor representing an item's token after which a page of results should begin
103
103
  #
104
- # @param status [Array<Symbol, Lithic::Models::AccountActivityListParams::Status>] Filter by transaction status
104
+ # @param status [Symbol, Lithic::Models::AccountActivityListParams::Status] Filter by transaction status
105
105
  #
106
106
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
107
107
 
@@ -127,6 +127,7 @@ module Lithic
127
127
  # @return [Array<Symbol>]
128
128
  end
129
129
 
130
+ # Filter by transaction result
130
131
  module Result
131
132
  extend Lithic::Internal::Type::Enum
132
133
 
@@ -137,16 +138,17 @@ module Lithic
137
138
  # @return [Array<Symbol>]
138
139
  end
139
140
 
141
+ # Filter by transaction status
140
142
  module Status
141
143
  extend Lithic::Internal::Type::Enum
142
144
 
143
145
  DECLINED = :DECLINED
144
146
  EXPIRED = :EXPIRED
145
147
  PENDING = :PENDING
146
- SETTLED = :SETTLED
147
- VOIDED = :VOIDED
148
148
  RETURNED = :RETURNED
149
149
  REVERSED = :REVERSED
150
+ SETTLED = :SETTLED
151
+ VOIDED = :VOIDED
150
152
 
151
153
  # @!method self.values
152
154
  # @return [Array<Symbol>]
@@ -11,8 +11,14 @@ module Lithic
11
11
  # @!attribute account_tokens
12
12
  # Account tokens to which the Auth Rule applies.
13
13
  #
14
- # @return [Array<String>]
15
- required :account_tokens, Lithic::Internal::Type::ArrayOf[String]
14
+ # @return [Array<String>, nil]
15
+ optional :account_tokens, Lithic::Internal::Type::ArrayOf[String]
16
+
17
+ # @!attribute business_account_tokens
18
+ # Business Account tokens to which the Auth Rule applies.
19
+ #
20
+ # @return [Array<String>, nil]
21
+ optional :business_account_tokens, Lithic::Internal::Type::ArrayOf[String]
16
22
 
17
23
  # @!attribute card_tokens
18
24
  # Card tokens to which the Auth Rule applies.
@@ -32,13 +38,15 @@ module Lithic
32
38
  # @return [Array<String>, nil]
33
39
  optional :excluded_card_tokens, Lithic::Internal::Type::ArrayOf[String]
34
40
 
35
- # @!method initialize(account_tokens:, card_tokens:, program_level:, excluded_card_tokens: nil, request_options: {})
36
- # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
37
- #
41
+ # @!method initialize(card_tokens:, program_level:, account_tokens: nil, business_account_tokens: nil, excluded_card_tokens: nil, request_options: {})
38
42
  # @param card_tokens [Array<String>] Card tokens to which the Auth Rule applies.
39
43
  #
40
44
  # @param program_level [Boolean] Whether the Auth Rule applies to all authorizations on the card program.
41
45
  #
46
+ # @param account_tokens [Array<String>] Account tokens to which the Auth Rule applies.
47
+ #
48
+ # @param business_account_tokens [Array<String>] Business Account tokens to which the Auth Rule applies.
49
+ #
42
50
  # @param excluded_card_tokens [Array<String>] Card tokens to which the Auth Rule does not apply.
43
51
  #
44
52
  # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]