increase 1.144.0 → 1.145.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: 1d80dd222c1c40bee53731c7027fa72664b4806b0e646004a936b5efff7c3d72
4
- data.tar.gz: a38386383afed291c382cc26fa1a493b8173ee05e4bb4ce7c68f0597d1be8b50
3
+ metadata.gz: d6fa8606c813951f66b916736d7905e577c36ee284e2fe47a16712a03ccfd9e2
4
+ data.tar.gz: 020b75cc07043929d4e0b3fd58acaa6a5fa1d7ce565b0eaecb552000da76fdf8
5
5
  SHA512:
6
- metadata.gz: cfcdbb76dbfb6ac4428f1bb309fce08a3b8fa208495b125e74f8806ccf63dc58eab788404683e969f90cb722b44bd84cb36af4be98f4c01b7922e00a59a454aa
7
- data.tar.gz: 574e5dd11b948c36f2ab3aced09562df72a02e40fb5e6bda5c1589597254fdc6d1f970330941dd48204ef1409587347c16527b8cdc35fbd1c7fdd5deee522429
6
+ metadata.gz: f9a7d2418ca9089d0cfd956d3a83d979a8eee57c52c16be0d79673818495cb73b7546d1357c5a6a5bd9c36c118d30b68c645cf8affee60006ca7108272093ecc
7
+ data.tar.gz: 2263fd584202211b1e022be8f410b21193d8f7faa297d80d2d40f04a44573969c6357c72fc0cfb94acfec00eb9f3cea9a2bef3b2619d91c3cd695cee92ad6087
data/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.145.0 (2025-11-20)
4
+
5
+ Full Changelog: [v1.144.0...v1.145.0](https://github.com/Increase/increase-ruby/compare/v1.144.0...v1.145.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([23e90fa](https://github.com/Increase/increase-ruby/commit/23e90fabd425c1c2a443a37a2da93d95e946db28))
10
+
11
+
12
+ ### Chores
13
+
14
+ * explicitly require "base64" gem ([c05d43e](https://github.com/Increase/increase-ruby/commit/c05d43e30d1cbc9139f453be1f347ef874659795))
15
+
3
16
  ## 1.144.0 (2025-11-18)
4
17
 
5
18
  Full Changelog: [v1.143.0...v1.144.0](https://github.com/Increase/increase-ruby/compare/v1.143.0...v1.144.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.144.0"
18
+ gem "increase", "~> 1.145.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -255,7 +255,18 @@ module Increase
255
255
  # @return [String, nil]
256
256
  optional :line2, String
257
257
 
258
- # @!method initialize(city:, line1:, postal_code:, state:, line2: nil)
258
+ # @!attribute name
259
+ # The name component of the check's destination address. Defaults to the provided
260
+ # `recipient_name` parameter if `name` is not provided.
261
+ #
262
+ # @return [String, nil]
263
+ optional :name, String
264
+
265
+ # @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil)
266
+ # Some parameter documentations has been truncated, see
267
+ # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress} for
268
+ # more details.
269
+ #
259
270
  # Details for where Increase will mail the check.
260
271
  #
261
272
  # @param city [String] The city component of the check's destination address.
@@ -267,6 +278,8 @@ module Increase
267
278
  # @param state [String] The US state component of the check's destination address.
268
279
  #
269
280
  # @param line2 [String] The second line of the address component of the check's destination address.
281
+ #
282
+ # @param name [String] The name component of the check's destination address. Defaults to the provided
270
283
  end
271
284
 
272
285
  class Payer < Increase::Internal::Type::BaseModel
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.144.0"
4
+ VERSION = "1.145.0"
5
5
  end
data/lib/increase.rb CHANGED
@@ -3,6 +3,7 @@
3
3
  # Standard libraries.
4
4
  # rubocop:disable Lint/RedundantRequireStatement
5
5
  require "English"
6
+ require "base64"
6
7
  require "cgi"
7
8
  require "date"
8
9
  require "erb"
data/manifest.yaml CHANGED
@@ -1,5 +1,6 @@
1
1
  dependencies:
2
2
  - English
3
+ - base64
3
4
  - cgi
4
5
  - date
5
6
  - erb
@@ -487,6 +487,14 @@ module Increase
487
487
  sig { params(line2: String).void }
488
488
  attr_writer :line2
489
489
 
490
+ # The name component of the check's destination address. Defaults to the provided
491
+ # `recipient_name` parameter if `name` is not provided.
492
+ sig { returns(T.nilable(String)) }
493
+ attr_reader :name
494
+
495
+ sig { params(name: String).void }
496
+ attr_writer :name
497
+
490
498
  # Details for where Increase will mail the check.
491
499
  sig do
492
500
  params(
@@ -494,7 +502,8 @@ module Increase
494
502
  line1: String,
495
503
  postal_code: String,
496
504
  state: String,
497
- line2: String
505
+ line2: String,
506
+ name: String
498
507
  ).returns(T.attached_class)
499
508
  end
500
509
  def self.new(
@@ -507,7 +516,10 @@ module Increase
507
516
  # The US state component of the check's destination address.
508
517
  state:,
509
518
  # The second line of the address component of the check's destination address.
510
- line2: nil
519
+ line2: nil,
520
+ # The name component of the check's destination address. Defaults to the provided
521
+ # `recipient_name` parameter if `name` is not provided.
522
+ name: nil
511
523
  )
512
524
  end
513
525
 
@@ -518,7 +530,8 @@ module Increase
518
530
  line1: String,
519
531
  postal_code: String,
520
532
  state: String,
521
- line2: String
533
+ line2: String,
534
+ name: String
522
535
  }
523
536
  )
524
537
  end
@@ -193,7 +193,8 @@ module Increase
193
193
  :line1 => String,
194
194
  postal_code: String,
195
195
  state: String,
196
- :line2 => String
196
+ :line2 => String,
197
+ name: String
197
198
  }
198
199
 
199
200
  class MailingAddress < Increase::Internal::Type::BaseModel
@@ -209,12 +210,17 @@ module Increase
209
210
 
210
211
  def line2=: (String) -> String
211
212
 
213
+ attr_reader name: String?
214
+
215
+ def name=: (String) -> String
216
+
212
217
  def initialize: (
213
218
  city: String,
214
219
  line1: String,
215
220
  postal_code: String,
216
221
  state: String,
217
- ?line2: String
222
+ ?line2: String,
223
+ ?name: String
218
224
  ) -> void
219
225
 
220
226
  def to_hash: -> {
@@ -222,7 +228,8 @@ module Increase
222
228
  :line1 => String,
223
229
  postal_code: String,
224
230
  state: String,
225
- :line2 => String
231
+ :line2 => String,
232
+ name: String
226
233
  }
227
234
  end
228
235
 
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.144.0
4
+ version: 1.145.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-11-18 00:00:00.000000000 Z
11
+ date: 2025-11-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool