increase 1.40.0 → 1.41.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 431ebe1a12c0cc64bb236d37954675f6a2fc0997be59c5e313116c97773bcc61
4
- data.tar.gz: 6ce174eaa92699f6797ebfa89695233201f3c0ff0c5bf9bc0c7f7d371b23cc62
3
+ metadata.gz: ad2109026838ecd009f8f585a9d78d811a54ea51119a6ee90d58591e6971073c
4
+ data.tar.gz: b2d38b611af5a6aefb3fffd696dc6ce1b8c52caf1f5c0f4b9e01c0eddf3c3a4d
5
5
  SHA512:
6
- metadata.gz: 93fa2087cc2641aba6aa9789afcfc7eb8722bc03536974b451419a4693f180e32817e62c1e950cd7a4c4e8296a1696be1378cda27c3dd570a4322ba2474b4c20
7
- data.tar.gz: c4cd2f429007ef063627b2016cdc76ad7fcf09cf763fe2ad40e7c151d41a6170ce62a209f3a49a4e3467b7e199b1d11e94ae076f66f370b2d926a61d31b38251
6
+ metadata.gz: 3152036589ca7ce8ca66c18df6527b70e83041006fb5759819debebfe45c769c9bb9b5ee55f86e0fac76b9d1297c379d94f0798d2a1a40eb5c9d1e0bf97c41bc
7
+ data.tar.gz: 9e8ab6d12ab52ee63af4d16053696bab16b9a7812830533fa892b741b1de898f5e2fc9c592c15fb3178a62f9c45e05d342f169efbcac4d896d277e9ea1958c9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.41.0 (2025-08-20)
4
+
5
+ Full Changelog: [v1.40.0...v1.41.0](https://github.com/Increase/increase-ruby/compare/v1.40.0...v1.41.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([94299db](https://github.com/Increase/increase-ruby/commit/94299db1b856eb40e9a504c7e0cbd582bdf1936b))
10
+
3
11
  ## 1.40.0 (2025-08-20)
4
12
 
5
13
  Full Changelog: [v1.39.0...v1.40.0](https://github.com/Increase/increase-ruby/compare/v1.39.0...v1.40.0)
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 "increase", "~> 1.40.0"
18
+ gem "increase", "~> 1.41.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -484,6 +484,14 @@ module Increase
484
484
  -> { Increase::Transaction::Source::SwiftTransferIntention },
485
485
  nil?: true
486
486
 
487
+ # @!attribute swift_transfer_return
488
+ # A Swift Transfer Return object. This field will be present in the JSON response
489
+ # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
490
+ # Return is created when a Swift Transfer is returned by the receiving bank.
491
+ #
492
+ # @return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil]
493
+ required :swift_transfer_return, -> { Increase::Transaction::Source::SwiftTransferReturn }, nil?: true
494
+
487
495
  # @!attribute wire_transfer_intention
488
496
  # A Wire Transfer Intention object. This field will be present in the JSON
489
497
  # response if and only if `category` is equal to `wire_transfer_intention`. A Wire
@@ -496,7 +504,7 @@ module Increase
496
504
  },
497
505
  nil?: true
498
506
 
499
- # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
507
+ # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, swift_transfer_return:, wire_transfer_intention:)
500
508
  # Some parameter documentations has been truncated, see
501
509
  # {Increase::Models::Transaction::Source} for more details.
502
510
  #
@@ -569,6 +577,8 @@ module Increase
569
577
  #
570
578
  # @param swift_transfer_intention [Increase::Models::Transaction::Source::SwiftTransferIntention, nil] A Swift Transfer Intention object. This field will be present in the JSON respon
571
579
  #
580
+ # @param swift_transfer_return [Increase::Models::Transaction::Source::SwiftTransferReturn, nil] A Swift Transfer Return object. This field will be present in the JSON response
581
+ #
572
582
  # @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons
573
583
 
574
584
  # @see Increase::Models::Transaction::Source#account_transfer_intention
@@ -4231,6 +4241,9 @@ module Increase
4231
4241
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
4232
4242
  SWIFT_TRANSFER_INTENTION = :swift_transfer_intention
4233
4243
 
4244
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
4245
+ SWIFT_TRANSFER_RETURN = :swift_transfer_return
4246
+
4234
4247
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
4235
4248
  CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance
4236
4249
 
@@ -5873,6 +5886,22 @@ module Increase
5873
5886
  # @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction.
5874
5887
  end
5875
5888
 
5889
+ # @see Increase::Models::Transaction::Source#swift_transfer_return
5890
+ class SwiftTransferReturn < Increase::Internal::Type::BaseModel
5891
+ # @!attribute transfer_id
5892
+ # The identifier of the Swift Transfer that led to this Transaction.
5893
+ #
5894
+ # @return [String]
5895
+ required :transfer_id, String
5896
+
5897
+ # @!method initialize(transfer_id:)
5898
+ # A Swift Transfer Return object. This field will be present in the JSON response
5899
+ # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
5900
+ # Return is created when a Swift Transfer is returned by the receiving bank.
5901
+ #
5902
+ # @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction.
5903
+ end
5904
+
5876
5905
  # @see Increase::Models::Transaction::Source#wire_transfer_intention
5877
5906
  class WireTransferIntention < Increase::Internal::Type::BaseModel
5878
5907
  # @!attribute account_number
@@ -172,6 +172,9 @@ module Increase
172
172
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
173
173
  SWIFT_TRANSFER_INTENTION = :swift_transfer_intention
174
174
 
175
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
176
+ SWIFT_TRANSFER_RETURN = :swift_transfer_return
177
+
175
178
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
176
179
  CARD_PUSH_TRANSFER_ACCEPTANCE = :card_push_transfer_acceptance
177
180
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.40.0"
4
+ VERSION = "1.41.0"
5
5
  end
@@ -811,6 +811,24 @@ module Increase
811
811
  end
812
812
  attr_writer :swift_transfer_intention
813
813
 
814
+ # A Swift Transfer Return object. This field will be present in the JSON response
815
+ # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
816
+ # Return is created when a Swift Transfer is returned by the receiving bank.
817
+ sig do
818
+ returns(T.nilable(Increase::Transaction::Source::SwiftTransferReturn))
819
+ end
820
+ attr_reader :swift_transfer_return
821
+
822
+ sig do
823
+ params(
824
+ swift_transfer_return:
825
+ T.nilable(
826
+ Increase::Transaction::Source::SwiftTransferReturn::OrHash
827
+ )
828
+ ).void
829
+ end
830
+ attr_writer :swift_transfer_return
831
+
814
832
  # A Wire Transfer Intention object. This field will be present in the JSON
815
833
  # response if and only if `category` is equal to `wire_transfer_intention`. A Wire
816
834
  # Transfer initiated via Increase and sent to a different bank.
@@ -943,6 +961,10 @@ module Increase
943
961
  T.nilable(
944
962
  Increase::Transaction::Source::SwiftTransferIntention::OrHash
945
963
  ),
964
+ swift_transfer_return:
965
+ T.nilable(
966
+ Increase::Transaction::Source::SwiftTransferReturn::OrHash
967
+ ),
946
968
  wire_transfer_intention:
947
969
  T.nilable(
948
970
  Increase::Transaction::Source::WireTransferIntention::OrHash
@@ -1110,6 +1132,10 @@ module Increase
1110
1132
  # response if and only if `category` is equal to `swift_transfer_intention`. A
1111
1133
  # Swift Transfer initiated via Increase.
1112
1134
  swift_transfer_intention:,
1135
+ # A Swift Transfer Return object. This field will be present in the JSON response
1136
+ # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
1137
+ # Return is created when a Swift Transfer is returned by the receiving bank.
1138
+ swift_transfer_return:,
1113
1139
  # A Wire Transfer Intention object. This field will be present in the JSON
1114
1140
  # response if and only if `category` is equal to `wire_transfer_intention`. A Wire
1115
1141
  # Transfer initiated via Increase and sent to a different bank.
@@ -1202,6 +1228,8 @@ module Increase
1202
1228
  T.nilable(
1203
1229
  Increase::Transaction::Source::SwiftTransferIntention
1204
1230
  ),
1231
+ swift_transfer_return:
1232
+ T.nilable(Increase::Transaction::Source::SwiftTransferReturn),
1205
1233
  wire_transfer_intention:
1206
1234
  T.nilable(Increase::Transaction::Source::WireTransferIntention)
1207
1235
  }
@@ -7883,6 +7911,13 @@ module Increase
7883
7911
  Increase::Transaction::Source::Category::TaggedSymbol
7884
7912
  )
7885
7913
 
7914
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
7915
+ SWIFT_TRANSFER_RETURN =
7916
+ T.let(
7917
+ :swift_transfer_return,
7918
+ Increase::Transaction::Source::Category::TaggedSymbol
7919
+ )
7920
+
7886
7921
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
7887
7922
  CARD_PUSH_TRANSFER_ACCEPTANCE =
7888
7923
  T.let(
@@ -10655,6 +10690,34 @@ module Increase
10655
10690
  end
10656
10691
  end
10657
10692
 
10693
+ class SwiftTransferReturn < Increase::Internal::Type::BaseModel
10694
+ OrHash =
10695
+ T.type_alias do
10696
+ T.any(
10697
+ Increase::Transaction::Source::SwiftTransferReturn,
10698
+ Increase::Internal::AnyHash
10699
+ )
10700
+ end
10701
+
10702
+ # The identifier of the Swift Transfer that led to this Transaction.
10703
+ sig { returns(String) }
10704
+ attr_accessor :transfer_id
10705
+
10706
+ # A Swift Transfer Return object. This field will be present in the JSON response
10707
+ # if and only if `category` is equal to `swift_transfer_return`. A Swift Transfer
10708
+ # Return is created when a Swift Transfer is returned by the receiving bank.
10709
+ sig { params(transfer_id: String).returns(T.attached_class) }
10710
+ def self.new(
10711
+ # The identifier of the Swift Transfer that led to this Transaction.
10712
+ transfer_id:
10713
+ )
10714
+ end
10715
+
10716
+ sig { override.returns({ transfer_id: String }) }
10717
+ def to_hash
10718
+ end
10719
+ end
10720
+
10658
10721
  class WireTransferIntention < Increase::Internal::Type::BaseModel
10659
10722
  OrHash =
10660
10723
  T.type_alias do
@@ -376,6 +376,13 @@ module Increase
376
376
  Increase::TransactionListParams::Category::In::TaggedSymbol
377
377
  )
378
378
 
379
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
380
+ SWIFT_TRANSFER_RETURN =
381
+ T.let(
382
+ :swift_transfer_return,
383
+ Increase::TransactionListParams::Category::In::TaggedSymbol
384
+ )
385
+
379
386
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
380
387
  CARD_PUSH_TRANSFER_ACCEPTANCE =
381
388
  T.let(
@@ -138,6 +138,7 @@ module Increase
138
138
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
139
139
  sample_funds: Increase::Transaction::Source::SampleFunds?,
140
140
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
141
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
141
142
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
142
143
  }
143
144
 
@@ -206,6 +207,8 @@ module Increase
206
207
 
207
208
  attr_accessor swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?
208
209
 
210
+ attr_accessor swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?
211
+
209
212
  attr_accessor wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
210
213
 
211
214
  def initialize: (
@@ -241,6 +244,7 @@ module Increase
241
244
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
242
245
  sample_funds: Increase::Transaction::Source::SampleFunds?,
243
246
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
247
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
244
248
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
245
249
  ) -> void
246
250
 
@@ -277,6 +281,7 @@ module Increase
277
281
  real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?,
278
282
  sample_funds: Increase::Transaction::Source::SampleFunds?,
279
283
  swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?,
284
+ swift_transfer_return: Increase::Transaction::Source::SwiftTransferReturn?,
280
285
  wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention?
281
286
  }
282
287
 
@@ -3113,6 +3118,7 @@ module Increase
3113
3118
  | :sample_funds
3114
3119
  | :wire_transfer_intention
3115
3120
  | :swift_transfer_intention
3121
+ | :swift_transfer_return
3116
3122
  | :card_push_transfer_acceptance
3117
3123
  | :other
3118
3124
 
@@ -3209,6 +3215,9 @@ module Increase
3209
3215
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
3210
3216
  SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
3211
3217
 
3218
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
3219
+ SWIFT_TRANSFER_RETURN: :swift_transfer_return
3220
+
3212
3221
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
3213
3222
  CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
3214
3223
 
@@ -4463,6 +4472,16 @@ module Increase
4463
4472
  def to_hash: -> { transfer_id: String }
4464
4473
  end
4465
4474
 
4475
+ type swift_transfer_return = { transfer_id: String }
4476
+
4477
+ class SwiftTransferReturn < Increase::Internal::Type::BaseModel
4478
+ attr_accessor transfer_id: String
4479
+
4480
+ def initialize: (transfer_id: String) -> void
4481
+
4482
+ def to_hash: -> { transfer_id: String }
4483
+ end
4484
+
4466
4485
  type wire_transfer_intention =
4467
4486
  {
4468
4487
  account_number: String,
@@ -112,6 +112,7 @@ module Increase
112
112
  | :sample_funds
113
113
  | :wire_transfer_intention
114
114
  | :swift_transfer_intention
115
+ | :swift_transfer_return
115
116
  | :card_push_transfer_acceptance
116
117
  | :other
117
118
 
@@ -208,6 +209,9 @@ module Increase
208
209
  # Swift Transfer Intention: details will be under the `swift_transfer_intention` object.
209
210
  SWIFT_TRANSFER_INTENTION: :swift_transfer_intention
210
211
 
212
+ # Swift Transfer Return: details will be under the `swift_transfer_return` object.
213
+ SWIFT_TRANSFER_RETURN: :swift_transfer_return
214
+
211
215
  # Card Push Transfer Acceptance: details will be under the `card_push_transfer_acceptance` object.
212
216
  CARD_PUSH_TRANSFER_ACCEPTANCE: :card_push_transfer_acceptance
213
217
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.40.0
4
+ version: 1.41.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase