increase 1.144.0 → 1.146.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: ae424bdc99e8c214ee5180dffa2884bc46d3e55c0af79e11990d2f65e7d75381
4
+ data.tar.gz: a2d2bcf5ce457f02cbe5ff6dc3b90b1a8f2e26a832964eff5a3c4e5cc3aeeaf4
5
5
  SHA512:
6
- metadata.gz: cfcdbb76dbfb6ac4428f1bb309fce08a3b8fa208495b125e74f8806ccf63dc58eab788404683e969f90cb722b44bd84cb36af4be98f4c01b7922e00a59a454aa
7
- data.tar.gz: 574e5dd11b948c36f2ab3aced09562df72a02e40fb5e6bda5c1589597254fdc6d1f970330941dd48204ef1409587347c16527b8cdc35fbd1c7fdd5deee522429
6
+ metadata.gz: 46b6510e966b40fffd512b49c49e64474ea4943e76216aed204ecefb56fc8c0c3cdb12a9d679e65e9a900de688332be480975327707c27512b44e2da297da7ad
7
+ data.tar.gz: 3a1eecfcaac068238666baca473ef2c59b37f2aab0cf8f18f571e059a983770243dafbdc772de6c61282cab5b4024e57731e1811832d5e8e63100e191e68ca3a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,26 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.146.0 (2025-11-21)
4
+
5
+ Full Changelog: [v1.145.0...v1.146.0](https://github.com/Increase/increase-ruby/compare/v1.145.0...v1.146.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([36d98ac](https://github.com/Increase/increase-ruby/commit/36d98ac3cab20bfeac3e8d36297779bb75d1c155))
10
+
11
+ ## 1.145.0 (2025-11-20)
12
+
13
+ Full Changelog: [v1.144.0...v1.145.0](https://github.com/Increase/increase-ruby/compare/v1.144.0...v1.145.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([23e90fa](https://github.com/Increase/increase-ruby/commit/23e90fabd425c1c2a443a37a2da93d95e946db28))
18
+
19
+
20
+ ### Chores
21
+
22
+ * explicitly require "base64" gem ([c05d43e](https://github.com/Increase/increase-ruby/commit/c05d43e30d1cbc9139f453be1f347ef874659795))
23
+
3
24
  ## 1.144.0 (2025-11-18)
4
25
 
5
26
  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.146.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -589,6 +589,13 @@ module Increase
589
589
  # @return [String, nil]
590
590
  required :name, String, nil?: true
591
591
 
592
+ # @!attribute phone
593
+ # The phone number to be used in case of delivery issues at the check's mailing
594
+ # address. Only used for FedEx overnight shipping.
595
+ #
596
+ # @return [String, nil]
597
+ required :phone, String, nil?: true
598
+
592
599
  # @!attribute postal_code
593
600
  # The postal code of the check's destination.
594
601
  #
@@ -601,7 +608,11 @@ module Increase
601
608
  # @return [String, nil]
602
609
  required :state, String, nil?: true
603
610
 
604
- # @!method initialize(city:, line1:, line2:, name:, postal_code:, state:)
611
+ # @!method initialize(city:, line1:, line2:, name:, phone:, postal_code:, state:)
612
+ # Some parameter documentations has been truncated, see
613
+ # {Increase::Models::CheckTransfer::PhysicalCheck::MailingAddress} for more
614
+ # details.
615
+ #
605
616
  # Details for where Increase will mail the check.
606
617
  #
607
618
  # @param city [String, nil] The city of the check's destination.
@@ -612,6 +623,8 @@ module Increase
612
623
  #
613
624
  # @param name [String, nil] The name component of the check's mailing address.
614
625
  #
626
+ # @param phone [String, nil] The phone number to be used in case of delivery issues at the check's mailing ad
627
+ #
615
628
  # @param postal_code [String, nil] The postal code of the check's destination.
616
629
  #
617
630
  # @param state [String, nil] The state of the check's destination.
@@ -255,7 +255,26 @@ 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
+ # @!attribute phone
266
+ # The phone number to associate with the check's destination address. Will be
267
+ # supplied to FedEx as the contact phone number for the recipient to be used in
268
+ # case of delivery issues.
269
+ #
270
+ # @return [String, nil]
271
+ optional :phone, String
272
+
273
+ # @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil, phone: nil)
274
+ # Some parameter documentations has been truncated, see
275
+ # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress} for
276
+ # more details.
277
+ #
259
278
  # Details for where Increase will mail the check.
260
279
  #
261
280
  # @param city [String] The city component of the check's destination address.
@@ -267,6 +286,10 @@ module Increase
267
286
  # @param state [String] The US state component of the check's destination address.
268
287
  #
269
288
  # @param line2 [String] The second line of the address component of the check's destination address.
289
+ #
290
+ # @param name [String] The name component of the check's destination address. Defaults to the provided
291
+ #
292
+ # @param phone [String] The phone number to associate with the check's destination address. Will be supp
270
293
  end
271
294
 
272
295
  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.146.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
@@ -961,6 +961,11 @@ module Increase
961
961
  sig { returns(T.nilable(String)) }
962
962
  attr_accessor :name
963
963
 
964
+ # The phone number to be used in case of delivery issues at the check's mailing
965
+ # address. Only used for FedEx overnight shipping.
966
+ sig { returns(T.nilable(String)) }
967
+ attr_accessor :phone
968
+
964
969
  # The postal code of the check's destination.
965
970
  sig { returns(T.nilable(String)) }
966
971
  attr_accessor :postal_code
@@ -976,6 +981,7 @@ module Increase
976
981
  line1: T.nilable(String),
977
982
  line2: T.nilable(String),
978
983
  name: T.nilable(String),
984
+ phone: T.nilable(String),
979
985
  postal_code: T.nilable(String),
980
986
  state: T.nilable(String)
981
987
  ).returns(T.attached_class)
@@ -989,6 +995,9 @@ module Increase
989
995
  line2:,
990
996
  # The name component of the check's mailing address.
991
997
  name:,
998
+ # The phone number to be used in case of delivery issues at the check's mailing
999
+ # address. Only used for FedEx overnight shipping.
1000
+ phone:,
992
1001
  # The postal code of the check's destination.
993
1002
  postal_code:,
994
1003
  # The state of the check's destination.
@@ -1003,6 +1012,7 @@ module Increase
1003
1012
  line1: T.nilable(String),
1004
1013
  line2: T.nilable(String),
1005
1014
  name: T.nilable(String),
1015
+ phone: T.nilable(String),
1006
1016
  postal_code: T.nilable(String),
1007
1017
  state: T.nilable(String)
1008
1018
  }
@@ -487,6 +487,23 @@ 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
+
498
+ # The phone number to associate with the check's destination address. Will be
499
+ # supplied to FedEx as the contact phone number for the recipient to be used in
500
+ # case of delivery issues.
501
+ sig { returns(T.nilable(String)) }
502
+ attr_reader :phone
503
+
504
+ sig { params(phone: String).void }
505
+ attr_writer :phone
506
+
490
507
  # Details for where Increase will mail the check.
491
508
  sig do
492
509
  params(
@@ -494,7 +511,9 @@ module Increase
494
511
  line1: String,
495
512
  postal_code: String,
496
513
  state: String,
497
- line2: String
514
+ line2: String,
515
+ name: String,
516
+ phone: String
498
517
  ).returns(T.attached_class)
499
518
  end
500
519
  def self.new(
@@ -507,7 +526,14 @@ module Increase
507
526
  # The US state component of the check's destination address.
508
527
  state:,
509
528
  # The second line of the address component of the check's destination address.
510
- line2: nil
529
+ line2: nil,
530
+ # The name component of the check's destination address. Defaults to the provided
531
+ # `recipient_name` parameter if `name` is not provided.
532
+ name: nil,
533
+ # The phone number to associate with the check's destination address. Will be
534
+ # supplied to FedEx as the contact phone number for the recipient to be used in
535
+ # case of delivery issues.
536
+ phone: nil
511
537
  )
512
538
  end
513
539
 
@@ -518,7 +544,9 @@ module Increase
518
544
  line1: String,
519
545
  postal_code: String,
520
546
  state: String,
521
- line2: String
547
+ line2: String,
548
+ name: String,
549
+ phone: String
522
550
  }
523
551
  )
524
552
  end
@@ -368,6 +368,7 @@ module Increase
368
368
  :line1 => String?,
369
369
  :line2 => String?,
370
370
  name: String?,
371
+ phone: String?,
371
372
  postal_code: String?,
372
373
  state: String?
373
374
  }
@@ -381,6 +382,8 @@ module Increase
381
382
 
382
383
  attr_accessor name: String?
383
384
 
385
+ attr_accessor phone: String?
386
+
384
387
  attr_accessor postal_code: String?
385
388
 
386
389
  attr_accessor state: String?
@@ -390,6 +393,7 @@ module Increase
390
393
  line1: String?,
391
394
  line2: String?,
392
395
  name: String?,
396
+ phone: String?,
393
397
  postal_code: String?,
394
398
  state: String?
395
399
  ) -> void
@@ -399,6 +403,7 @@ module Increase
399
403
  :line1 => String?,
400
404
  :line2 => String?,
401
405
  name: String?,
406
+ phone: String?,
402
407
  postal_code: String?,
403
408
  state: String?
404
409
  }
@@ -193,7 +193,9 @@ module Increase
193
193
  :line1 => String,
194
194
  postal_code: String,
195
195
  state: String,
196
- :line2 => String
196
+ :line2 => String,
197
+ name: String,
198
+ phone: String
197
199
  }
198
200
 
199
201
  class MailingAddress < Increase::Internal::Type::BaseModel
@@ -209,12 +211,22 @@ module Increase
209
211
 
210
212
  def line2=: (String) -> String
211
213
 
214
+ attr_reader name: String?
215
+
216
+ def name=: (String) -> String
217
+
218
+ attr_reader phone: String?
219
+
220
+ def phone=: (String) -> String
221
+
212
222
  def initialize: (
213
223
  city: String,
214
224
  line1: String,
215
225
  postal_code: String,
216
226
  state: String,
217
- ?line2: String
227
+ ?line2: String,
228
+ ?name: String,
229
+ ?phone: String
218
230
  ) -> void
219
231
 
220
232
  def to_hash: -> {
@@ -222,7 +234,9 @@ module Increase
222
234
  :line1 => String,
223
235
  postal_code: String,
224
236
  state: String,
225
- :line2 => String
237
+ :line2 => String,
238
+ name: String,
239
+ phone: String
226
240
  }
227
241
  end
228
242
 
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.146.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-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool