increase 1.103.0 → 1.105.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 +21 -0
- data/README.md +1 -1
- data/lib/increase/models/ach_transfer.rb +14 -1
- data/lib/increase/models/transaction.rb +6 -3
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_transfer.rbi +18 -0
- data/rbi/increase/models/transaction.rbi +14 -7
- data/sig/increase/models/ach_transfer.rbs +5 -0
- data/sig/increase/models/transaction.rbs +8 -4
- metadata +2 -2
    
        checksums.yaml
    CHANGED
    
    | @@ -1,7 +1,7 @@ | |
| 1 1 | 
             
            ---
         | 
| 2 2 | 
             
            SHA256:
         | 
| 3 | 
            -
              metadata.gz:  | 
| 4 | 
            -
              data.tar.gz:  | 
| 3 | 
            +
              metadata.gz: 1f1158ac0102772b8cb134aac63b3f7acb37519f06f8666adb25af3dfdcf9230
         | 
| 4 | 
            +
              data.tar.gz: 0121003da837060d57e17940e85cbe503296439d41a3c61a8b81d8c5d30ae990
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 4571f78b9f7b7d6e0e11204ee1d8d67169f893cc69678fd6dbd1339cd3ad60a91fd60738b7b173e3c2dbcade62edcd8533619857539086e3d9ad7e621d892b92
         | 
| 7 | 
            +
              data.tar.gz: f2ce7a6083a930be1c4076c993a6efe222044d655228ecaade6939e3087d0b43dce301154e9dd9784740a872b2865a3c653f96bb0d4e889454c6c88e1a548e29
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,5 +1,26 @@ | |
| 1 1 | 
             
            # Changelog
         | 
| 2 2 |  | 
| 3 | 
            +
            ## 1.105.0 (2025-10-10)
         | 
| 4 | 
            +
             | 
| 5 | 
            +
            Full Changelog: [v1.104.0...v1.105.0](https://github.com/Increase/increase-ruby/compare/v1.104.0...v1.105.0)
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            ### Features
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            * **api:** api update ([1291c39](https://github.com/Increase/increase-ruby/commit/1291c3972b9528737b6f764e03f4171c54296927))
         | 
| 10 | 
            +
             | 
| 11 | 
            +
            ## 1.104.0 (2025-10-08)
         | 
| 12 | 
            +
             | 
| 13 | 
            +
            Full Changelog: [v1.103.0...v1.104.0](https://github.com/Increase/increase-ruby/compare/v1.103.0...v1.104.0)
         | 
| 14 | 
            +
             | 
| 15 | 
            +
            ### Features
         | 
| 16 | 
            +
             | 
| 17 | 
            +
            * **api:** api update ([5545b1f](https://github.com/Increase/increase-ruby/commit/5545b1f1c1a7e380c58188aeaf0f61ccd10ad6b1))
         | 
| 18 | 
            +
             | 
| 19 | 
            +
             | 
| 20 | 
            +
            ### Chores
         | 
| 21 | 
            +
             | 
| 22 | 
            +
            * ignore linter error for tests having large collections ([406ab23](https://github.com/Increase/increase-ruby/commit/406ab231f510d6ac99e93568458b3d083b4130de))
         | 
| 23 | 
            +
             | 
| 3 24 | 
             
            ## 1.103.0 (2025-10-07)
         | 
| 4 25 |  | 
| 5 26 | 
             
            Full Changelog: [v1.102.0...v1.103.0](https://github.com/Increase/increase-ruby/compare/v1.102.0...v1.103.0)
         | 
    
        data/README.md
    CHANGED
    
    
| @@ -1375,6 +1375,17 @@ module Increase | |
| 1375 1375 |  | 
| 1376 1376 | 
             
                  # @see Increase::Models::ACHTransfer#submission
         | 
| 1377 1377 | 
             
                  class Submission < Increase::Internal::Type::BaseModel
         | 
| 1378 | 
            +
                    # @!attribute administrative_returns_expected_by
         | 
| 1379 | 
            +
                    #   The timestamp by which any administrative returns are expected to be received
         | 
| 1380 | 
            +
                    #   by. This follows the NACHA guidelines for return windows, which are: "In
         | 
| 1381 | 
            +
                    #   general, return entries must be received by the RDFI’s ACH Operator by its
         | 
| 1382 | 
            +
                    #   deposit deadline for the return entry to be made available to the ODFI no later
         | 
| 1383 | 
            +
                    #   than the opening of business on the second banking day following the Settlement
         | 
| 1384 | 
            +
                    #   Date of the original entry.".
         | 
| 1385 | 
            +
                    #
         | 
| 1386 | 
            +
                    #   @return [Time, nil]
         | 
| 1387 | 
            +
                    required :administrative_returns_expected_by, Time, nil?: true
         | 
| 1388 | 
            +
             | 
| 1378 1389 | 
             
                    # @!attribute effective_date
         | 
| 1379 1390 | 
             
                    #   The ACH transfer's effective date as sent to the Federal Reserve. If a specific
         | 
| 1380 1391 | 
             
                    #   date was configured using `preferred_effective_date`, this will match that
         | 
| @@ -1418,7 +1429,7 @@ module Increase | |
| 1418 1429 | 
             
                    #   @return [String]
         | 
| 1419 1430 | 
             
                    required :trace_number, String
         | 
| 1420 1431 |  | 
| 1421 | 
            -
                    # @!method initialize(effective_date:, expected_funds_settlement_at:, expected_settlement_schedule:, submitted_at:, trace_number:)
         | 
| 1432 | 
            +
                    # @!method initialize(administrative_returns_expected_by:, effective_date:, expected_funds_settlement_at:, expected_settlement_schedule:, submitted_at:, trace_number:)
         | 
| 1422 1433 | 
             
                    #   Some parameter documentations has been truncated, see
         | 
| 1423 1434 | 
             
                    #   {Increase::Models::ACHTransfer::Submission} for more details.
         | 
| 1424 1435 | 
             
                    #
         | 
| @@ -1428,6 +1439,8 @@ module Increase | |
| 1428 1439 | 
             
                    #   weekdays according to their
         | 
| 1429 1440 | 
             
                    #   [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
         | 
| 1430 1441 | 
             
                    #
         | 
| 1442 | 
            +
                    #   @param administrative_returns_expected_by [Time, nil] The timestamp by which any administrative returns are expected to be received by
         | 
| 1443 | 
            +
                    #
         | 
| 1431 1444 | 
             
                    #   @param effective_date [Date] The ACH transfer's effective date as sent to the Federal Reserve. If a specific
         | 
| 1432 1445 | 
             
                    #
         | 
| 1433 1446 | 
             
                    #   @param expected_funds_settlement_at [Time] When the transfer is expected to settle in the recipient's account. Credits may
         | 
| @@ -6820,6 +6820,9 @@ module Increase | |
| 6820 6820 | 
             
                        # Account closure
         | 
| 6821 6821 | 
             
                        ACCOUNT_CLOSURE = :account_closure
         | 
| 6822 6822 |  | 
| 6823 | 
            +
                        # Account revenue payment distribution
         | 
| 6824 | 
            +
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION = :account_revenue_payment_distribution
         | 
| 6825 | 
            +
             | 
| 6823 6826 | 
             
                        # Bank-drawn check
         | 
| 6824 6827 | 
             
                        BANK_DRAWN_CHECK = :bank_drawn_check
         | 
| 6825 6828 |  | 
| @@ -6838,6 +6841,9 @@ module Increase | |
| 6838 6841 | 
             
                        # Collection receivable
         | 
| 6839 6842 | 
             
                        COLLECTION_RECEIVABLE = :collection_receivable
         | 
| 6840 6843 |  | 
| 6844 | 
            +
                        # Dishonored ACH return
         | 
| 6845 | 
            +
                        DISHONORED_ACH_RETURN = :dishonored_ach_return
         | 
| 6846 | 
            +
             | 
| 6841 6847 | 
             
                        # Empyreal adjustment
         | 
| 6842 6848 | 
             
                        EMPYREAL_ADJUSTMENT = :empyreal_adjustment
         | 
| 6843 6849 |  | 
| @@ -6862,9 +6868,6 @@ module Increase | |
| 6862 6868 | 
             
                        # Sample funds return
         | 
| 6863 6869 | 
             
                        SAMPLE_FUNDS_RETURN = :sample_funds_return
         | 
| 6864 6870 |  | 
| 6865 | 
            -
                        # Account revenue payment distribution
         | 
| 6866 | 
            -
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION = :account_revenue_payment_distribution
         | 
| 6867 | 
            -
             | 
| 6868 6871 | 
             
                        # @!method self.values
         | 
| 6869 6872 | 
             
                        #   @return [Array<Symbol>]
         | 
| 6870 6873 | 
             
                      end
         | 
    
        data/lib/increase/version.rb
    CHANGED
    
    
| @@ -2512,6 +2512,15 @@ module Increase | |
| 2512 2512 | 
             
                        )
         | 
| 2513 2513 | 
             
                      end
         | 
| 2514 2514 |  | 
| 2515 | 
            +
                    # The timestamp by which any administrative returns are expected to be received
         | 
| 2516 | 
            +
                    # by. This follows the NACHA guidelines for return windows, which are: "In
         | 
| 2517 | 
            +
                    # general, return entries must be received by the RDFI’s ACH Operator by its
         | 
| 2518 | 
            +
                    # deposit deadline for the return entry to be made available to the ODFI no later
         | 
| 2519 | 
            +
                    # than the opening of business on the second banking day following the Settlement
         | 
| 2520 | 
            +
                    # Date of the original entry.".
         | 
| 2521 | 
            +
                    sig { returns(T.nilable(Time)) }
         | 
| 2522 | 
            +
                    attr_accessor :administrative_returns_expected_by
         | 
| 2523 | 
            +
             | 
| 2515 2524 | 
             
                    # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
         | 
| 2516 2525 | 
             
                    # date was configured using `preferred_effective_date`, this will match that
         | 
| 2517 2526 | 
             
                    # value. Otherwise, it will be the date selected (following the specified
         | 
| @@ -2555,6 +2564,7 @@ module Increase | |
| 2555 2564 | 
             
                    # [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
         | 
| 2556 2565 | 
             
                    sig do
         | 
| 2557 2566 | 
             
                      params(
         | 
| 2567 | 
            +
                        administrative_returns_expected_by: T.nilable(Time),
         | 
| 2558 2568 | 
             
                        effective_date: Date,
         | 
| 2559 2569 | 
             
                        expected_funds_settlement_at: Time,
         | 
| 2560 2570 | 
             
                        expected_settlement_schedule:
         | 
| @@ -2564,6 +2574,13 @@ module Increase | |
| 2564 2574 | 
             
                      ).returns(T.attached_class)
         | 
| 2565 2575 | 
             
                    end
         | 
| 2566 2576 | 
             
                    def self.new(
         | 
| 2577 | 
            +
                      # The timestamp by which any administrative returns are expected to be received
         | 
| 2578 | 
            +
                      # by. This follows the NACHA guidelines for return windows, which are: "In
         | 
| 2579 | 
            +
                      # general, return entries must be received by the RDFI’s ACH Operator by its
         | 
| 2580 | 
            +
                      # deposit deadline for the return entry to be made available to the ODFI no later
         | 
| 2581 | 
            +
                      # than the opening of business on the second banking day following the Settlement
         | 
| 2582 | 
            +
                      # Date of the original entry.".
         | 
| 2583 | 
            +
                      administrative_returns_expected_by:,
         | 
| 2567 2584 | 
             
                      # The ACH transfer's effective date as sent to the Federal Reserve. If a specific
         | 
| 2568 2585 | 
             
                      # date was configured using `preferred_effective_date`, this will match that
         | 
| 2569 2586 | 
             
                      # value. Otherwise, it will be the date selected (following the specified
         | 
| @@ -2592,6 +2609,7 @@ module Increase | |
| 2592 2609 | 
             
                    sig do
         | 
| 2593 2610 | 
             
                      override.returns(
         | 
| 2594 2611 | 
             
                        {
         | 
| 2612 | 
            +
                          administrative_returns_expected_by: T.nilable(Time),
         | 
| 2595 2613 | 
             
                          effective_date: Date,
         | 
| 2596 2614 | 
             
                          expected_funds_settlement_at: Time,
         | 
| 2597 2615 | 
             
                          expected_settlement_schedule:
         | 
| @@ -12592,6 +12592,13 @@ module Increase | |
| 12592 12592 | 
             
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12593 12593 | 
             
                          )
         | 
| 12594 12594 |  | 
| 12595 | 
            +
                        # Account revenue payment distribution
         | 
| 12596 | 
            +
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION =
         | 
| 12597 | 
            +
                          T.let(
         | 
| 12598 | 
            +
                            :account_revenue_payment_distribution,
         | 
| 12599 | 
            +
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12600 | 
            +
                          )
         | 
| 12601 | 
            +
             | 
| 12595 12602 | 
             
                        # Bank-drawn check
         | 
| 12596 12603 | 
             
                        BANK_DRAWN_CHECK =
         | 
| 12597 12604 | 
             
                          T.let(
         | 
| @@ -12634,6 +12641,13 @@ module Increase | |
| 12634 12641 | 
             
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12635 12642 | 
             
                          )
         | 
| 12636 12643 |  | 
| 12644 | 
            +
                        # Dishonored ACH return
         | 
| 12645 | 
            +
                        DISHONORED_ACH_RETURN =
         | 
| 12646 | 
            +
                          T.let(
         | 
| 12647 | 
            +
                            :dishonored_ach_return,
         | 
| 12648 | 
            +
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12649 | 
            +
                          )
         | 
| 12650 | 
            +
             | 
| 12637 12651 | 
             
                        # Empyreal adjustment
         | 
| 12638 12652 | 
             
                        EMPYREAL_ADJUSTMENT =
         | 
| 12639 12653 | 
             
                          T.let(
         | 
| @@ -12690,13 +12704,6 @@ module Increase | |
| 12690 12704 | 
             
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12691 12705 | 
             
                          )
         | 
| 12692 12706 |  | 
| 12693 | 
            -
                        # Account revenue payment distribution
         | 
| 12694 | 
            -
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION =
         | 
| 12695 | 
            -
                          T.let(
         | 
| 12696 | 
            -
                            :account_revenue_payment_distribution,
         | 
| 12697 | 
            -
                            Increase::Transaction::Source::InternalSource::Reason::TaggedSymbol
         | 
| 12698 | 
            -
                          )
         | 
| 12699 | 
            -
             | 
| 12700 12707 | 
             
                        sig do
         | 
| 12701 12708 | 
             
                          override.returns(
         | 
| 12702 12709 | 
             
                            T::Array[
         | 
| @@ -1142,6 +1142,7 @@ module Increase | |
| 1142 1142 |  | 
| 1143 1143 | 
             
                  type submission =
         | 
| 1144 1144 | 
             
                    {
         | 
| 1145 | 
            +
                      administrative_returns_expected_by: Time?,
         | 
| 1145 1146 | 
             
                      effective_date: Date,
         | 
| 1146 1147 | 
             
                      expected_funds_settlement_at: Time,
         | 
| 1147 1148 | 
             
                      expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule,
         | 
| @@ -1150,6 +1151,8 @@ module Increase | |
| 1150 1151 | 
             
                    }
         | 
| 1151 1152 |  | 
| 1152 1153 | 
             
                  class Submission < Increase::Internal::Type::BaseModel
         | 
| 1154 | 
            +
                    attr_accessor administrative_returns_expected_by: Time?
         | 
| 1155 | 
            +
             | 
| 1153 1156 | 
             
                    attr_accessor effective_date: Date
         | 
| 1154 1157 |  | 
| 1155 1158 | 
             
                    attr_accessor expected_funds_settlement_at: Time
         | 
| @@ -1161,6 +1164,7 @@ module Increase | |
| 1161 1164 | 
             
                    attr_accessor trace_number: String
         | 
| 1162 1165 |  | 
| 1163 1166 | 
             
                    def initialize: (
         | 
| 1167 | 
            +
                      administrative_returns_expected_by: Time?,
         | 
| 1164 1168 | 
             
                      effective_date: Date,
         | 
| 1165 1169 | 
             
                      expected_funds_settlement_at: Time,
         | 
| 1166 1170 | 
             
                      expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule,
         | 
| @@ -1169,6 +1173,7 @@ module Increase | |
| 1169 1173 | 
             
                    ) -> void
         | 
| 1170 1174 |  | 
| 1171 1175 | 
             
                    def to_hash: -> {
         | 
| 1176 | 
            +
                      administrative_returns_expected_by: Time?,
         | 
| 1172 1177 | 
             
                      effective_date: Date,
         | 
| 1173 1178 | 
             
                      expected_funds_settlement_at: Time,
         | 
| 1174 1179 | 
             
                      expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule,
         | 
| @@ -5043,12 +5043,14 @@ module Increase | |
| 5043 5043 |  | 
| 5044 5044 | 
             
                      type reason =
         | 
| 5045 5045 | 
             
                        :account_closure
         | 
| 5046 | 
            +
                        | :account_revenue_payment_distribution
         | 
| 5046 5047 | 
             
                        | :bank_drawn_check
         | 
| 5047 5048 | 
             
                        | :bank_drawn_check_credit
         | 
| 5048 5049 | 
             
                        | :bank_migration
         | 
| 5049 5050 | 
             
                        | :check_adjustment
         | 
| 5050 5051 | 
             
                        | :collection_payment
         | 
| 5051 5052 | 
             
                        | :collection_receivable
         | 
| 5053 | 
            +
                        | :dishonored_ach_return
         | 
| 5052 5054 | 
             
                        | :empyreal_adjustment
         | 
| 5053 5055 | 
             
                        | :error
         | 
| 5054 5056 | 
             
                        | :error_correction
         | 
| @@ -5057,7 +5059,6 @@ module Increase | |
| 5057 5059 | 
             
                        | :negative_balance_forgiveness
         | 
| 5058 5060 | 
             
                        | :sample_funds
         | 
| 5059 5061 | 
             
                        | :sample_funds_return
         | 
| 5060 | 
            -
                        | :account_revenue_payment_distribution
         | 
| 5061 5062 |  | 
| 5062 5063 | 
             
                      module Reason
         | 
| 5063 5064 | 
             
                        extend Increase::Internal::Type::Enum
         | 
| @@ -5065,6 +5066,9 @@ module Increase | |
| 5065 5066 | 
             
                        # Account closure
         | 
| 5066 5067 | 
             
                        ACCOUNT_CLOSURE: :account_closure
         | 
| 5067 5068 |  | 
| 5069 | 
            +
                        # Account revenue payment distribution
         | 
| 5070 | 
            +
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION: :account_revenue_payment_distribution
         | 
| 5071 | 
            +
             | 
| 5068 5072 | 
             
                        # Bank-drawn check
         | 
| 5069 5073 | 
             
                        BANK_DRAWN_CHECK: :bank_drawn_check
         | 
| 5070 5074 |  | 
| @@ -5083,6 +5087,9 @@ module Increase | |
| 5083 5087 | 
             
                        # Collection receivable
         | 
| 5084 5088 | 
             
                        COLLECTION_RECEIVABLE: :collection_receivable
         | 
| 5085 5089 |  | 
| 5090 | 
            +
                        # Dishonored ACH return
         | 
| 5091 | 
            +
                        DISHONORED_ACH_RETURN: :dishonored_ach_return
         | 
| 5092 | 
            +
             | 
| 5086 5093 | 
             
                        # Empyreal adjustment
         | 
| 5087 5094 | 
             
                        EMPYREAL_ADJUSTMENT: :empyreal_adjustment
         | 
| 5088 5095 |  | 
| @@ -5107,9 +5114,6 @@ module Increase | |
| 5107 5114 | 
             
                        # Sample funds return
         | 
| 5108 5115 | 
             
                        SAMPLE_FUNDS_RETURN: :sample_funds_return
         | 
| 5109 5116 |  | 
| 5110 | 
            -
                        # Account revenue payment distribution
         | 
| 5111 | 
            -
                        ACCOUNT_REVENUE_PAYMENT_DISTRIBUTION: :account_revenue_payment_distribution
         | 
| 5112 | 
            -
             | 
| 5113 5117 | 
             
                        def self?.values: -> ::Array[Increase::Models::Transaction::Source::InternalSource::reason]
         | 
| 5114 5118 | 
             
                      end
         | 
| 5115 5119 | 
             
                    end
         | 
    
        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.105.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-10- | 
| 11 | 
            +
            date: 2025-10-10 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: connection_pool
         |