increase 1.122.0 → 1.124.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 +17 -0
- data/README.md +1 -1
- data/lib/increase/models/card_dispute.rb +6 -24
- data/lib/increase/models/check_transfer_create_params.rb +25 -1
- data/lib/increase/models/pending_transaction.rb +5 -3
- data/lib/increase/models/wire_transfer.rb +149 -73
- data/lib/increase/models/wire_transfer_create_params.rb +155 -73
- data/lib/increase/resources/check_transfers.rb +3 -1
- data/lib/increase/resources/wire_transfers.rb +5 -17
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/card_dispute.rbi +8 -90
- data/rbi/increase/models/check_transfer_create_params.rbi +60 -0
- data/rbi/increase/models/pending_transaction.rbi +3 -3
- data/rbi/increase/models/wire_transfer.rbi +342 -72
- data/rbi/increase/models/wire_transfer_create_params.rbi +360 -107
- data/rbi/increase/resources/check_transfers.rbi +5 -0
- data/rbi/increase/resources/wire_transfers.rbi +11 -31
- data/sig/increase/models/card_dispute.rbs +8 -24
- data/sig/increase/models/check_transfer_create_params.rbs +23 -0
- data/sig/increase/models/pending_transaction.rbs +4 -4
- data/sig/increase/models/wire_transfer.rbs +128 -45
- data/sig/increase/models/wire_transfer_create_params.rbs +156 -60
- data/sig/increase/resources/check_transfers.rbs +1 -0
- data/sig/increase/resources/wire_transfers.rbs +3 -9
- metadata +2 -2
| @@ -4,18 +4,12 @@ module Increase | |
| 4 4 | 
             
                  {
         | 
| 5 5 | 
             
                    account_id: String,
         | 
| 6 6 | 
             
                    amount: Integer,
         | 
| 7 | 
            -
                     | 
| 7 | 
            +
                    creditor: Increase::WireTransferCreateParams::Creditor,
         | 
| 8 | 
            +
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 8 9 | 
             
                    account_number: String,
         | 
| 9 | 
            -
                    : | 
| 10 | 
            -
                    :beneficiary_address_line2 => String,
         | 
| 11 | 
            -
                    :beneficiary_address_line3 => String,
         | 
| 10 | 
            +
                    debtor: Increase::WireTransferCreateParams::Debtor,
         | 
| 12 11 | 
             
                    external_account_id: String,
         | 
| 13 12 | 
             
                    inbound_wire_drawdown_request_id: String,
         | 
| 14 | 
            -
                    :originator_address_line1 => String,
         | 
| 15 | 
            -
                    :originator_address_line2 => String,
         | 
| 16 | 
            -
                    :originator_address_line3 => String,
         | 
| 17 | 
            -
                    originator_name: String,
         | 
| 18 | 
            -
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 19 13 | 
             
                    require_approval: bool,
         | 
| 20 14 | 
             
                    routing_number: String,
         | 
| 21 15 | 
             
                    source_account_number_id: String
         | 
| @@ -30,23 +24,19 @@ module Increase | |
| 30 24 |  | 
| 31 25 | 
             
                  attr_accessor amount: Integer
         | 
| 32 26 |  | 
| 33 | 
            -
                  attr_accessor  | 
| 27 | 
            +
                  attr_accessor creditor: Increase::WireTransferCreateParams::Creditor
         | 
| 28 | 
            +
             | 
| 29 | 
            +
                  attr_accessor remittance: Increase::WireTransferCreateParams::Remittance
         | 
| 34 30 |  | 
| 35 31 | 
             
                  attr_reader account_number: String?
         | 
| 36 32 |  | 
| 37 33 | 
             
                  def account_number=: (String) -> String
         | 
| 38 34 |  | 
| 39 | 
            -
                  attr_reader  | 
| 40 | 
            -
             | 
| 41 | 
            -
                  def beneficiary_address_line1=: (String) -> String
         | 
| 42 | 
            -
             | 
| 43 | 
            -
                  attr_reader beneficiary_address_line2: String?
         | 
| 44 | 
            -
             | 
| 45 | 
            -
                  def beneficiary_address_line2=: (String) -> String
         | 
| 35 | 
            +
                  attr_reader debtor: Increase::WireTransferCreateParams::Debtor?
         | 
| 46 36 |  | 
| 47 | 
            -
                   | 
| 48 | 
            -
             | 
| 49 | 
            -
                   | 
| 37 | 
            +
                  def debtor=: (
         | 
| 38 | 
            +
                    Increase::WireTransferCreateParams::Debtor
         | 
| 39 | 
            +
                  ) -> Increase::WireTransferCreateParams::Debtor
         | 
| 50 40 |  | 
| 51 41 | 
             
                  attr_reader external_account_id: String?
         | 
| 52 42 |  | 
| @@ -56,28 +46,6 @@ module Increase | |
| 56 46 |  | 
| 57 47 | 
             
                  def inbound_wire_drawdown_request_id=: (String) -> String
         | 
| 58 48 |  | 
| 59 | 
            -
                  attr_reader originator_address_line1: String?
         | 
| 60 | 
            -
             | 
| 61 | 
            -
                  def originator_address_line1=: (String) -> String
         | 
| 62 | 
            -
             | 
| 63 | 
            -
                  attr_reader originator_address_line2: String?
         | 
| 64 | 
            -
             | 
| 65 | 
            -
                  def originator_address_line2=: (String) -> String
         | 
| 66 | 
            -
             | 
| 67 | 
            -
                  attr_reader originator_address_line3: String?
         | 
| 68 | 
            -
             | 
| 69 | 
            -
                  def originator_address_line3=: (String) -> String
         | 
| 70 | 
            -
             | 
| 71 | 
            -
                  attr_reader originator_name: String?
         | 
| 72 | 
            -
             | 
| 73 | 
            -
                  def originator_name=: (String) -> String
         | 
| 74 | 
            -
             | 
| 75 | 
            -
                  attr_reader remittance: Increase::WireTransferCreateParams::Remittance?
         | 
| 76 | 
            -
             | 
| 77 | 
            -
                  def remittance=: (
         | 
| 78 | 
            -
                    Increase::WireTransferCreateParams::Remittance
         | 
| 79 | 
            -
                  ) -> Increase::WireTransferCreateParams::Remittance
         | 
| 80 | 
            -
             | 
| 81 49 | 
             
                  attr_reader require_approval: bool?
         | 
| 82 50 |  | 
| 83 51 | 
             
                  def require_approval=: (bool) -> bool
         | 
| @@ -93,18 +61,12 @@ module Increase | |
| 93 61 | 
             
                  def initialize: (
         | 
| 94 62 | 
             
                    account_id: String,
         | 
| 95 63 | 
             
                    amount: Integer,
         | 
| 96 | 
            -
                     | 
| 64 | 
            +
                    creditor: Increase::WireTransferCreateParams::Creditor,
         | 
| 65 | 
            +
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 97 66 | 
             
                    ?account_number: String,
         | 
| 98 | 
            -
                    ? | 
| 99 | 
            -
                    ?beneficiary_address_line2: String,
         | 
| 100 | 
            -
                    ?beneficiary_address_line3: String,
         | 
| 67 | 
            +
                    ?debtor: Increase::WireTransferCreateParams::Debtor,
         | 
| 101 68 | 
             
                    ?external_account_id: String,
         | 
| 102 69 | 
             
                    ?inbound_wire_drawdown_request_id: String,
         | 
| 103 | 
            -
                    ?originator_address_line1: String,
         | 
| 104 | 
            -
                    ?originator_address_line2: String,
         | 
| 105 | 
            -
                    ?originator_address_line3: String,
         | 
| 106 | 
            -
                    ?originator_name: String,
         | 
| 107 | 
            -
                    ?remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 108 70 | 
             
                    ?require_approval: bool,
         | 
| 109 71 | 
             
                    ?routing_number: String,
         | 
| 110 72 | 
             
                    ?source_account_number_id: String,
         | 
| @@ -114,24 +76,88 @@ module Increase | |
| 114 76 | 
             
                  def to_hash: -> {
         | 
| 115 77 | 
             
                    account_id: String,
         | 
| 116 78 | 
             
                    amount: Integer,
         | 
| 117 | 
            -
                     | 
| 79 | 
            +
                    creditor: Increase::WireTransferCreateParams::Creditor,
         | 
| 80 | 
            +
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 118 81 | 
             
                    account_number: String,
         | 
| 119 | 
            -
                    : | 
| 120 | 
            -
                    :beneficiary_address_line2 => String,
         | 
| 121 | 
            -
                    :beneficiary_address_line3 => String,
         | 
| 82 | 
            +
                    debtor: Increase::WireTransferCreateParams::Debtor,
         | 
| 122 83 | 
             
                    external_account_id: String,
         | 
| 123 84 | 
             
                    inbound_wire_drawdown_request_id: String,
         | 
| 124 | 
            -
                    :originator_address_line1 => String,
         | 
| 125 | 
            -
                    :originator_address_line2 => String,
         | 
| 126 | 
            -
                    :originator_address_line3 => String,
         | 
| 127 | 
            -
                    originator_name: String,
         | 
| 128 | 
            -
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 129 85 | 
             
                    require_approval: bool,
         | 
| 130 86 | 
             
                    routing_number: String,
         | 
| 131 87 | 
             
                    source_account_number_id: String,
         | 
| 132 88 | 
             
                    request_options: Increase::RequestOptions
         | 
| 133 89 | 
             
                  }
         | 
| 134 90 |  | 
| 91 | 
            +
                  type creditor =
         | 
| 92 | 
            +
                    {
         | 
| 93 | 
            +
                      name: String,
         | 
| 94 | 
            +
                      address: Increase::WireTransferCreateParams::Creditor::Address
         | 
| 95 | 
            +
                    }
         | 
| 96 | 
            +
             | 
| 97 | 
            +
                  class Creditor < Increase::Internal::Type::BaseModel
         | 
| 98 | 
            +
                    attr_accessor name: String
         | 
| 99 | 
            +
             | 
| 100 | 
            +
                    attr_reader address: Increase::WireTransferCreateParams::Creditor::Address?
         | 
| 101 | 
            +
             | 
| 102 | 
            +
                    def address=: (
         | 
| 103 | 
            +
                      Increase::WireTransferCreateParams::Creditor::Address
         | 
| 104 | 
            +
                    ) -> Increase::WireTransferCreateParams::Creditor::Address
         | 
| 105 | 
            +
             | 
| 106 | 
            +
                    def initialize: (
         | 
| 107 | 
            +
                      name: String,
         | 
| 108 | 
            +
                      ?address: Increase::WireTransferCreateParams::Creditor::Address
         | 
| 109 | 
            +
                    ) -> void
         | 
| 110 | 
            +
             | 
| 111 | 
            +
                    def to_hash: -> {
         | 
| 112 | 
            +
                      name: String,
         | 
| 113 | 
            +
                      address: Increase::WireTransferCreateParams::Creditor::Address
         | 
| 114 | 
            +
                    }
         | 
| 115 | 
            +
             | 
| 116 | 
            +
                    type address =
         | 
| 117 | 
            +
                      {
         | 
| 118 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Creditor::Address::Unstructured
         | 
| 119 | 
            +
                      }
         | 
| 120 | 
            +
             | 
| 121 | 
            +
                    class Address < Increase::Internal::Type::BaseModel
         | 
| 122 | 
            +
                      attr_accessor unstructured: Increase::WireTransferCreateParams::Creditor::Address::Unstructured
         | 
| 123 | 
            +
             | 
| 124 | 
            +
                      def initialize: (
         | 
| 125 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Creditor::Address::Unstructured
         | 
| 126 | 
            +
                      ) -> void
         | 
| 127 | 
            +
             | 
| 128 | 
            +
                      def to_hash: -> {
         | 
| 129 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Creditor::Address::Unstructured
         | 
| 130 | 
            +
                      }
         | 
| 131 | 
            +
             | 
| 132 | 
            +
                      type unstructured =
         | 
| 133 | 
            +
                        { :line1 => String, :line2 => String, :line3 => String }
         | 
| 134 | 
            +
             | 
| 135 | 
            +
                      class Unstructured < Increase::Internal::Type::BaseModel
         | 
| 136 | 
            +
                        attr_accessor line1: String
         | 
| 137 | 
            +
             | 
| 138 | 
            +
                        attr_reader line2: String?
         | 
| 139 | 
            +
             | 
| 140 | 
            +
                        def line2=: (String) -> String
         | 
| 141 | 
            +
             | 
| 142 | 
            +
                        attr_reader line3: String?
         | 
| 143 | 
            +
             | 
| 144 | 
            +
                        def line3=: (String) -> String
         | 
| 145 | 
            +
             | 
| 146 | 
            +
                        def initialize: (
         | 
| 147 | 
            +
                          line1: String,
         | 
| 148 | 
            +
                          ?line2: String,
         | 
| 149 | 
            +
                          ?line3: String
         | 
| 150 | 
            +
                        ) -> void
         | 
| 151 | 
            +
             | 
| 152 | 
            +
                        def to_hash: -> {
         | 
| 153 | 
            +
                          :line1 => String,
         | 
| 154 | 
            +
                          :line2 => String,
         | 
| 155 | 
            +
                          :line3 => String
         | 
| 156 | 
            +
                        }
         | 
| 157 | 
            +
                      end
         | 
| 158 | 
            +
                    end
         | 
| 159 | 
            +
                  end
         | 
| 160 | 
            +
             | 
| 135 161 | 
             
                  type remittance =
         | 
| 136 162 | 
             
                    {
         | 
| 137 163 | 
             
                      category: Increase::Models::WireTransferCreateParams::Remittance::category,
         | 
| @@ -213,6 +239,76 @@ module Increase | |
| 213 239 | 
             
                      def to_hash: -> { message: String }
         | 
| 214 240 | 
             
                    end
         | 
| 215 241 | 
             
                  end
         | 
| 242 | 
            +
             | 
| 243 | 
            +
                  type debtor =
         | 
| 244 | 
            +
                    {
         | 
| 245 | 
            +
                      name: String,
         | 
| 246 | 
            +
                      address: Increase::WireTransferCreateParams::Debtor::Address
         | 
| 247 | 
            +
                    }
         | 
| 248 | 
            +
             | 
| 249 | 
            +
                  class Debtor < Increase::Internal::Type::BaseModel
         | 
| 250 | 
            +
                    attr_accessor name: String
         | 
| 251 | 
            +
             | 
| 252 | 
            +
                    attr_reader address: Increase::WireTransferCreateParams::Debtor::Address?
         | 
| 253 | 
            +
             | 
| 254 | 
            +
                    def address=: (
         | 
| 255 | 
            +
                      Increase::WireTransferCreateParams::Debtor::Address
         | 
| 256 | 
            +
                    ) -> Increase::WireTransferCreateParams::Debtor::Address
         | 
| 257 | 
            +
             | 
| 258 | 
            +
                    def initialize: (
         | 
| 259 | 
            +
                      name: String,
         | 
| 260 | 
            +
                      ?address: Increase::WireTransferCreateParams::Debtor::Address
         | 
| 261 | 
            +
                    ) -> void
         | 
| 262 | 
            +
             | 
| 263 | 
            +
                    def to_hash: -> {
         | 
| 264 | 
            +
                      name: String,
         | 
| 265 | 
            +
                      address: Increase::WireTransferCreateParams::Debtor::Address
         | 
| 266 | 
            +
                    }
         | 
| 267 | 
            +
             | 
| 268 | 
            +
                    type address =
         | 
| 269 | 
            +
                      {
         | 
| 270 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Debtor::Address::Unstructured
         | 
| 271 | 
            +
                      }
         | 
| 272 | 
            +
             | 
| 273 | 
            +
                    class Address < Increase::Internal::Type::BaseModel
         | 
| 274 | 
            +
                      attr_accessor unstructured: Increase::WireTransferCreateParams::Debtor::Address::Unstructured
         | 
| 275 | 
            +
             | 
| 276 | 
            +
                      def initialize: (
         | 
| 277 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Debtor::Address::Unstructured
         | 
| 278 | 
            +
                      ) -> void
         | 
| 279 | 
            +
             | 
| 280 | 
            +
                      def to_hash: -> {
         | 
| 281 | 
            +
                        unstructured: Increase::WireTransferCreateParams::Debtor::Address::Unstructured
         | 
| 282 | 
            +
                      }
         | 
| 283 | 
            +
             | 
| 284 | 
            +
                      type unstructured =
         | 
| 285 | 
            +
                        { :line1 => String, :line2 => String, :line3 => String }
         | 
| 286 | 
            +
             | 
| 287 | 
            +
                      class Unstructured < Increase::Internal::Type::BaseModel
         | 
| 288 | 
            +
                        attr_accessor line1: String
         | 
| 289 | 
            +
             | 
| 290 | 
            +
                        attr_reader line2: String?
         | 
| 291 | 
            +
             | 
| 292 | 
            +
                        def line2=: (String) -> String
         | 
| 293 | 
            +
             | 
| 294 | 
            +
                        attr_reader line3: String?
         | 
| 295 | 
            +
             | 
| 296 | 
            +
                        def line3=: (String) -> String
         | 
| 297 | 
            +
             | 
| 298 | 
            +
                        def initialize: (
         | 
| 299 | 
            +
                          line1: String,
         | 
| 300 | 
            +
                          ?line2: String,
         | 
| 301 | 
            +
                          ?line3: String
         | 
| 302 | 
            +
                        ) -> void
         | 
| 303 | 
            +
             | 
| 304 | 
            +
                        def to_hash: -> {
         | 
| 305 | 
            +
                          :line1 => String,
         | 
| 306 | 
            +
                          :line2 => String,
         | 
| 307 | 
            +
                          :line3 => String
         | 
| 308 | 
            +
                        }
         | 
| 309 | 
            +
                      end
         | 
| 310 | 
            +
                    end
         | 
| 311 | 
            +
                  end
         | 
| 216 312 | 
             
                end
         | 
| 217 313 | 
             
              end
         | 
| 218 314 | 
             
            end
         | 
| @@ -6,6 +6,7 @@ module Increase | |
| 6 6 | 
             
                    amount: Integer,
         | 
| 7 7 | 
             
                    fulfillment_method: Increase::Models::CheckTransferCreateParams::fulfillment_method,
         | 
| 8 8 | 
             
                    source_account_number_id: String,
         | 
| 9 | 
            +
                    ?balance_check: Increase::Models::CheckTransferCreateParams::balance_check,
         | 
| 9 10 | 
             
                    ?check_number: String,
         | 
| 10 11 | 
             
                    ?physical_check: Increase::CheckTransferCreateParams::PhysicalCheck,
         | 
| 11 12 | 
             
                    ?require_approval: bool,
         | 
| @@ -4,18 +4,12 @@ module Increase | |
| 4 4 | 
             
                  def create: (
         | 
| 5 5 | 
             
                    account_id: String,
         | 
| 6 6 | 
             
                    amount: Integer,
         | 
| 7 | 
            -
                     | 
| 7 | 
            +
                    creditor: Increase::WireTransferCreateParams::Creditor,
         | 
| 8 | 
            +
                    remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 8 9 | 
             
                    ?account_number: String,
         | 
| 9 | 
            -
                    ? | 
| 10 | 
            -
                    ?beneficiary_address_line2: String,
         | 
| 11 | 
            -
                    ?beneficiary_address_line3: String,
         | 
| 10 | 
            +
                    ?debtor: Increase::WireTransferCreateParams::Debtor,
         | 
| 12 11 | 
             
                    ?external_account_id: String,
         | 
| 13 12 | 
             
                    ?inbound_wire_drawdown_request_id: String,
         | 
| 14 | 
            -
                    ?originator_address_line1: String,
         | 
| 15 | 
            -
                    ?originator_address_line2: String,
         | 
| 16 | 
            -
                    ?originator_address_line3: String,
         | 
| 17 | 
            -
                    ?originator_name: String,
         | 
| 18 | 
            -
                    ?remittance: Increase::WireTransferCreateParams::Remittance,
         | 
| 19 13 | 
             
                    ?require_approval: bool,
         | 
| 20 14 | 
             
                    ?routing_number: String,
         | 
| 21 15 | 
             
                    ?source_account_number_id: String,
         | 
    
        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.124.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-30 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: connection_pool
         |