increase 1.0.0 → 1.1.0
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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +25 -0
- data/README.md +1 -1
- data/lib/increase/errors.rb +22 -0
- data/lib/increase/internal/type/array_of.rb +6 -1
- data/lib/increase/internal/type/base_model.rb +77 -25
- data/lib/increase/internal/type/boolean.rb +7 -1
- data/lib/increase/internal/type/converter.rb +42 -34
- data/lib/increase/internal/type/enum.rb +10 -2
- data/lib/increase/internal/type/file_input.rb +6 -1
- data/lib/increase/internal/type/hash_of.rb +6 -1
- data/lib/increase/internal/type/union.rb +12 -7
- data/lib/increase/internal/type/unknown.rb +7 -1
- data/lib/increase/models/card_payment.rb +13 -13
- data/lib/increase/models/check_transfer.rb +24 -1
- data/lib/increase/models/check_transfer_create_params.rb +26 -2
- data/lib/increase/models/event.rb +22 -4
- data/lib/increase/models/event_list_params.rb +22 -4
- data/lib/increase/models/event_subscription.rb +22 -4
- data/lib/increase/models/event_subscription_create_params.rb +22 -4
- data/lib/increase/models/inbound_ach_transfer.rb +56 -26
- data/lib/increase/models/inbound_mail_item.rb +38 -1
- data/lib/increase/models/pending_transaction.rb +37 -44
- data/lib/increase/models/pending_transaction_list_params.rb +2 -2
- data/lib/increase/models/transaction.rb +41 -43
- data/lib/increase/models/transaction_list_params.rb +2 -2
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/errors.rbi +16 -0
- data/rbi/increase/internal/type/boolean.rbi +2 -0
- data/rbi/increase/internal/type/converter.rbi +15 -15
- data/rbi/increase/internal/type/union.rbi +5 -0
- data/rbi/increase/internal/type/unknown.rbi +2 -0
- data/rbi/increase/models/card_payment.rbi +18 -18
- data/rbi/increase/models/check_transfer.rbi +36 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +63 -2
- data/rbi/increase/models/event.rbi +46 -4
- data/rbi/increase/models/event_list_params.rbi +46 -4
- data/rbi/increase/models/event_subscription.rbi +46 -4
- data/rbi/increase/models/event_subscription_create_params.rbi +46 -4
- data/rbi/increase/models/inbound_ach_transfer.rbi +108 -52
- data/rbi/increase/models/inbound_mail_item.rbi +57 -0
- data/rbi/increase/models/pending_transaction.rbi +72 -77
- data/rbi/increase/models/pending_transaction_list_params.rbi +3 -3
- data/rbi/increase/models/transaction.rbi +76 -81
- data/rbi/increase/models/transaction_list_params.rbi +3 -3
- data/sig/increase/errors.rbs +9 -0
- data/sig/increase/internal/type/converter.rbs +7 -1
- data/sig/increase/models/card_payment.rbs +3 -3
- data/sig/increase/models/check_transfer.rbs +15 -0
- data/sig/increase/models/check_transfer_create_params.rbs +19 -0
- data/sig/increase/models/event.rbs +28 -4
- data/sig/increase/models/event_list_params.rbs +28 -4
- data/sig/increase/models/event_subscription.rbs +28 -4
- data/sig/increase/models/event_subscription_create_params.rbs +28 -4
- data/sig/increase/models/inbound_ach_transfer.rbs +41 -19
- data/sig/increase/models/inbound_mail_item.rbs +28 -0
- data/sig/increase/models/pending_transaction.rbs +21 -21
- data/sig/increase/models/pending_transaction_list_params.rbs +3 -3
- data/sig/increase/models/transaction.rbs +21 -21
- data/sig/increase/models/transaction_list_params.rbs +3 -3
- metadata +2 -2
@@ -112,6 +112,7 @@ module Increase
|
|
112
112
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
113
113
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
114
114
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
115
|
+
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
115
116
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
116
117
|
card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
|
117
118
|
card_settlement: Increase::Transaction::Source::CardSettlement?,
|
@@ -133,7 +134,6 @@ module Increase
|
|
133
134
|
interest_payment: Increase::Transaction::Source::InterestPayment?,
|
134
135
|
internal_source: Increase::Transaction::Source::InternalSource?,
|
135
136
|
other: top?,
|
136
|
-
outbound_card_push_transfer_acceptance: Increase::Transaction::Source::OutboundCardPushTransferAcceptance?,
|
137
137
|
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
|
138
138
|
sample_funds: Increase::Transaction::Source::SampleFunds?,
|
139
139
|
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
|
@@ -153,6 +153,8 @@ module Increase
|
|
153
153
|
|
154
154
|
attr_accessor card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?
|
155
155
|
|
156
|
+
attr_accessor card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?
|
157
|
+
|
156
158
|
attr_accessor card_refund: Increase::Transaction::Source::CardRefund?
|
157
159
|
|
158
160
|
attr_accessor card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?
|
@@ -195,8 +197,6 @@ module Increase
|
|
195
197
|
|
196
198
|
attr_accessor other: top?
|
197
199
|
|
198
|
-
attr_accessor outbound_card_push_transfer_acceptance: Increase::Transaction::Source::OutboundCardPushTransferAcceptance?
|
199
|
-
|
200
200
|
attr_accessor real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?
|
201
201
|
|
202
202
|
attr_accessor sample_funds: Increase::Transaction::Source::SampleFunds?
|
@@ -212,6 +212,7 @@ module Increase
|
|
212
212
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
213
213
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
214
214
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
215
|
+
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
215
216
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
216
217
|
card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
|
217
218
|
card_settlement: Increase::Transaction::Source::CardSettlement?,
|
@@ -233,7 +234,6 @@ module Increase
|
|
233
234
|
interest_payment: Increase::Transaction::Source::InterestPayment?,
|
234
235
|
internal_source: Increase::Transaction::Source::InternalSource?,
|
235
236
|
other: top?,
|
236
|
-
outbound_card_push_transfer_acceptance: Increase::Transaction::Source::OutboundCardPushTransferAcceptance?,
|
237
237
|
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
|
238
238
|
sample_funds: Increase::Transaction::Source::SampleFunds?,
|
239
239
|
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
|
@@ -247,6 +247,7 @@ module Increase
|
|
247
247
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
248
248
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
249
249
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
250
|
+
card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
|
250
251
|
card_refund: Increase::Transaction::Source::CardRefund?,
|
251
252
|
card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?,
|
252
253
|
card_settlement: Increase::Transaction::Source::CardSettlement?,
|
@@ -268,7 +269,6 @@ module Increase
|
|
268
269
|
interest_payment: Increase::Transaction::Source::InterestPayment?,
|
269
270
|
internal_source: Increase::Transaction::Source::InternalSource?,
|
270
271
|
other: top?,
|
271
|
-
outbound_card_push_transfer_acceptance: Increase::Transaction::Source::OutboundCardPushTransferAcceptance?,
|
272
272
|
real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
|
273
273
|
sample_funds: Increase::Transaction::Source::SampleFunds?,
|
274
274
|
swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
|
@@ -775,6 +775,19 @@ module Increase
|
|
775
775
|
}
|
776
776
|
end
|
777
777
|
|
778
|
+
type card_push_transfer_acceptance =
|
779
|
+
{ amount: Integer, transfer_id: String }
|
780
|
+
|
781
|
+
class CardPushTransferAcceptance < Increase::Internal::Type::BaseModel
|
782
|
+
attr_accessor amount: Integer
|
783
|
+
|
784
|
+
attr_accessor transfer_id: String
|
785
|
+
|
786
|
+
def initialize: (amount: Integer, transfer_id: String) -> void
|
787
|
+
|
788
|
+
def to_hash: -> { amount: Integer, transfer_id: String }
|
789
|
+
end
|
790
|
+
|
778
791
|
type card_refund =
|
779
792
|
{
|
780
793
|
id: String,
|
@@ -2993,7 +3006,7 @@ module Increase
|
|
2993
3006
|
| :sample_funds
|
2994
3007
|
| :wire_transfer_intention
|
2995
3008
|
| :swift_transfer_intention
|
2996
|
-
| :
|
3009
|
+
| :card_push_transfer_acceptance
|
2997
3010
|
| :other
|
2998
3011
|
|
2999
3012
|
module Category
|
@@ -3086,8 +3099,8 @@ module Increase
|
|
3086
3099
|
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
|
3087
3100
|
SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
|
3088
3101
|
|
3089
|
-
#
|
3090
|
-
|
3102
|
+
# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
|
3103
|
+
CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
|
3091
3104
|
|
3092
3105
|
# The Transaction was made for an undocumented or deprecated reason.
|
3093
3106
|
OTHER: :other
|
@@ -4278,19 +4291,6 @@ module Increase
|
|
4278
4291
|
end
|
4279
4292
|
end
|
4280
4293
|
|
4281
|
-
type outbound_card_push_transfer_acceptance =
|
4282
|
-
{ amount: Integer, transfer_id: String }
|
4283
|
-
|
4284
|
-
class OutboundCardPushTransferAcceptance < Increase::Internal::Type::BaseModel
|
4285
|
-
attr_accessor amount: Integer
|
4286
|
-
|
4287
|
-
attr_accessor transfer_id: String
|
4288
|
-
|
4289
|
-
def initialize: (amount: Integer, transfer_id: String) -> void
|
4290
|
-
|
4291
|
-
def to_hash: -> { amount: Integer, transfer_id: String }
|
4292
|
-
end
|
4293
|
-
|
4294
4294
|
type real_time_payments_transfer_acknowledgement =
|
4295
4295
|
{
|
4296
4296
|
amount: Integer,
|
@@ -111,7 +111,7 @@ module Increase
|
|
111
111
|
| :sample_funds
|
112
112
|
| :wire_transfer_intention
|
113
113
|
| :swift_transfer_intention
|
114
|
-
| :
|
114
|
+
| :card_push_transfer_acceptance
|
115
115
|
| :other
|
116
116
|
|
117
117
|
module In
|
@@ -204,8 +204,8 @@ module Increase
|
|
204
204
|
# Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
|
205
205
|
SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
|
206
206
|
|
207
|
-
#
|
208
|
-
|
207
|
+
# Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
|
208
|
+
CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
|
209
209
|
|
210
210
|
# The Transaction was made for an undocumented or deprecated reason.
|
211
211
|
OTHER: :other
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: increase
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Increase
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-06-
|
11
|
+
date: 2025-06-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: connection_pool
|