increase 1.160.0 → 1.161.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: c8c1c7c96c89aa6bd4d15958b4b515ebe2664b29aac652425ed703c3573281c4
4
- data.tar.gz: f941658433d86000690ca5a00c6c45c5436eccd37b690b8224cc84269750abff
3
+ metadata.gz: 2df5db26b14da4e0451d17b1559fabde133a6939fd0edfeb23e293c2cd642db7
4
+ data.tar.gz: '0548b5bbb7636f936be4203a20dcfc8e12bf6839fe5c85e4571c50574e00ceb7'
5
5
  SHA512:
6
- metadata.gz: ea0438fef562b57184b8a7b6ca884f9f261b61c00a8c00da25c002d5ad826f1cc3a6068a9adb90c93d24b46d6153cd9061655874d1acd3cb872fc6a77c40ec86
7
- data.tar.gz: 89325a8fe1d38425482bd8bc7487f9cf50e0fb0dcd0029136d060510939d97009a0e748cab2ad1a4a65c8246ae4be12bc346b04d3ad4c45c0a9c43ec5fc60957
6
+ metadata.gz: a5146ea4ac1d46af76974ba72ee987c46926724b310043d6a35f336b243ed6361af545f105ae19daa414a955b8c183af4ae0d134d937acd0222a3544f1654d87
7
+ data.tar.gz: 6e098fa35dde7b1fa943a7b738a8a859e9fd47d523a618f80ac2dc70672fe7948a29d4806481b7bf29d53f56e60d6f40fb1da6cabd5b8a2ef6e1cc99f22924a2
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.161.0 (2025-12-15)
4
+
5
+ Full Changelog: [v1.160.0...v1.161.0](https://github.com/Increase/increase-ruby/compare/v1.160.0...v1.161.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([888afde](https://github.com/Increase/increase-ruby/commit/888afdeaee1e7c956b33c3de1861a8d735293a66))
10
+
3
11
  ## 1.160.0 (2025-12-15)
4
12
 
5
13
  Full Changelog: [v1.159.0...v1.160.0](https://github.com/Increase/increase-ruby/compare/v1.159.0...v1.160.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.160.0"
18
+ gem "increase", "~> 1.161.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -675,6 +675,13 @@ module Increase
675
675
  # @return [String, nil]
676
676
  required :name, String, nil?: true
677
677
 
678
+ # @!attribute phone
679
+ # The shipper's phone number to be used in case of delivery issues. Only used for
680
+ # FedEx overnight shipping.
681
+ #
682
+ # @return [String, nil]
683
+ required :phone, String, nil?: true
684
+
678
685
  # @!attribute postal_code
679
686
  # The postal code of the check's destination.
680
687
  #
@@ -687,7 +694,11 @@ module Increase
687
694
  # @return [String, nil]
688
695
  required :state, String, nil?: true
689
696
 
690
- # @!method initialize(city:, line1:, line2:, name:, postal_code:, state:)
697
+ # @!method initialize(city:, line1:, line2:, name:, phone:, postal_code:, state:)
698
+ # Some parameter documentations has been truncated, see
699
+ # {Increase::Models::CheckTransfer::PhysicalCheck::ReturnAddress} for more
700
+ # details.
701
+ #
691
702
  # The return address to be printed on the check.
692
703
  #
693
704
  # @param city [String, nil] The city of the check's destination.
@@ -698,6 +709,8 @@ module Increase
698
709
  #
699
710
  # @param name [String, nil] The name component of the check's return address.
700
711
  #
712
+ # @param phone [String, nil] The shipper's phone number to be used in case of delivery issues. Only used for
713
+ #
701
714
  # @param postal_code [String, nil] The postal code of the check's destination.
702
715
  #
703
716
  # @param state [String, nil] The state of the check's destination.
@@ -273,9 +273,9 @@ module Increase
273
273
  optional :name, String
274
274
 
275
275
  # @!attribute phone
276
- # The phone number to associate with the check's destination address. The number
277
- # is only used when `shipping_method` is `fedex_overnight` and will be supplied to
278
- # FedEx to be used in case of delivery issues.
276
+ # The phone number to associate with the check's destination address. The phone
277
+ # number is only used when `shipping_method` is `fedex_overnight` and will be
278
+ # supplied to FedEx to be used in case of delivery issues.
279
279
  #
280
280
  # @return [String, nil]
281
281
  optional :phone, String
@@ -299,7 +299,7 @@ module Increase
299
299
  #
300
300
  # @param name [String] The name component of the check's destination address. Defaults to the provided
301
301
  #
302
- # @param phone [String] The phone number to associate with the check's destination address. The number i
302
+ # @param phone [String] The phone number to associate with the check's destination address. The phone nu
303
303
  end
304
304
 
305
305
  class Payer < Increase::Internal::Type::BaseModel
@@ -351,7 +351,19 @@ module Increase
351
351
  # @return [String, nil]
352
352
  optional :line2, String
353
353
 
354
- # @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil)
354
+ # @!attribute phone
355
+ # The phone number to associate with the shipper. The phone number is only used
356
+ # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be
357
+ # used in case of delivery issues.
358
+ #
359
+ # @return [String, nil]
360
+ optional :phone, String
361
+
362
+ # @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, phone: nil)
363
+ # Some parameter documentations has been truncated, see
364
+ # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress} for
365
+ # more details.
366
+ #
355
367
  # The return address to be printed on the check. If omitted this will default to
356
368
  # an Increase-owned address that will mark checks as delivery failed and shred
357
369
  # them.
@@ -367,6 +379,8 @@ module Increase
367
379
  # @param state [String] The US state of the return address.
368
380
  #
369
381
  # @param line2 [String] The second line of the return address.
382
+ #
383
+ # @param phone [String] The phone number to associate with the shipper. The phone number is only used wh
370
384
  end
371
385
 
372
386
  # How to ship the check. For details on pricing, timing, and restrictions, see
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.160.0"
4
+ VERSION = "1.161.0"
5
5
  end
@@ -1080,6 +1080,11 @@ module Increase
1080
1080
  sig { returns(T.nilable(String)) }
1081
1081
  attr_accessor :name
1082
1082
 
1083
+ # The shipper's phone number to be used in case of delivery issues. Only used for
1084
+ # FedEx overnight shipping.
1085
+ sig { returns(T.nilable(String)) }
1086
+ attr_accessor :phone
1087
+
1083
1088
  # The postal code of the check's destination.
1084
1089
  sig { returns(T.nilable(String)) }
1085
1090
  attr_accessor :postal_code
@@ -1095,6 +1100,7 @@ module Increase
1095
1100
  line1: T.nilable(String),
1096
1101
  line2: T.nilable(String),
1097
1102
  name: T.nilable(String),
1103
+ phone: T.nilable(String),
1098
1104
  postal_code: T.nilable(String),
1099
1105
  state: T.nilable(String)
1100
1106
  ).returns(T.attached_class)
@@ -1108,6 +1114,9 @@ module Increase
1108
1114
  line2:,
1109
1115
  # The name component of the check's return address.
1110
1116
  name:,
1117
+ # The shipper's phone number to be used in case of delivery issues. Only used for
1118
+ # FedEx overnight shipping.
1119
+ phone:,
1111
1120
  # The postal code of the check's destination.
1112
1121
  postal_code:,
1113
1122
  # The state of the check's destination.
@@ -1122,6 +1131,7 @@ module Increase
1122
1131
  line1: T.nilable(String),
1123
1132
  line2: T.nilable(String),
1124
1133
  name: T.nilable(String),
1134
+ phone: T.nilable(String),
1125
1135
  postal_code: T.nilable(String),
1126
1136
  state: T.nilable(String)
1127
1137
  }
@@ -510,9 +510,9 @@ module Increase
510
510
  sig { params(name: String).void }
511
511
  attr_writer :name
512
512
 
513
- # The phone number to associate with the check's destination address. The number
514
- # is only used when `shipping_method` is `fedex_overnight` and will be supplied to
515
- # FedEx to be used in case of delivery issues.
513
+ # The phone number to associate with the check's destination address. The phone
514
+ # number is only used when `shipping_method` is `fedex_overnight` and will be
515
+ # supplied to FedEx to be used in case of delivery issues.
516
516
  sig { returns(T.nilable(String)) }
517
517
  attr_reader :phone
518
518
 
@@ -545,9 +545,9 @@ module Increase
545
545
  # The name component of the check's destination address. Defaults to the provided
546
546
  # `recipient_name` parameter if `name` is not provided.
547
547
  name: nil,
548
- # The phone number to associate with the check's destination address. The number
549
- # is only used when `shipping_method` is `fedex_overnight` and will be supplied to
550
- # FedEx to be used in case of delivery issues.
548
+ # The phone number to associate with the check's destination address. The phone
549
+ # number is only used when `shipping_method` is `fedex_overnight` and will be
550
+ # supplied to FedEx to be used in case of delivery issues.
551
551
  phone: nil
552
552
  )
553
553
  end
@@ -630,6 +630,15 @@ module Increase
630
630
  sig { params(line2: String).void }
631
631
  attr_writer :line2
632
632
 
633
+ # The phone number to associate with the shipper. The phone number is only used
634
+ # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be
635
+ # used in case of delivery issues.
636
+ sig { returns(T.nilable(String)) }
637
+ attr_reader :phone
638
+
639
+ sig { params(phone: String).void }
640
+ attr_writer :phone
641
+
633
642
  # The return address to be printed on the check. If omitted this will default to
634
643
  # an Increase-owned address that will mark checks as delivery failed and shred
635
644
  # them.
@@ -640,7 +649,8 @@ module Increase
640
649
  name: String,
641
650
  postal_code: String,
642
651
  state: String,
643
- line2: String
652
+ line2: String,
653
+ phone: String
644
654
  ).returns(T.attached_class)
645
655
  end
646
656
  def self.new(
@@ -655,7 +665,11 @@ module Increase
655
665
  # The US state of the return address.
656
666
  state:,
657
667
  # The second line of the return address.
658
- line2: nil
668
+ line2: nil,
669
+ # The phone number to associate with the shipper. The phone number is only used
670
+ # when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be
671
+ # used in case of delivery issues.
672
+ phone: nil
659
673
  )
660
674
  end
661
675
 
@@ -667,7 +681,8 @@ module Increase
667
681
  name: String,
668
682
  postal_code: String,
669
683
  state: String,
670
- line2: String
684
+ line2: String,
685
+ phone: String
671
686
  }
672
687
  )
673
688
  end
@@ -430,6 +430,7 @@ module Increase
430
430
  :line1 => String?,
431
431
  :line2 => String?,
432
432
  name: String?,
433
+ phone: String?,
433
434
  postal_code: String?,
434
435
  state: String?
435
436
  }
@@ -443,6 +444,8 @@ module Increase
443
444
 
444
445
  attr_accessor name: String?
445
446
 
447
+ attr_accessor phone: String?
448
+
446
449
  attr_accessor postal_code: String?
447
450
 
448
451
  attr_accessor state: String?
@@ -452,6 +455,7 @@ module Increase
452
455
  line1: String?,
453
456
  line2: String?,
454
457
  name: String?,
458
+ phone: String?,
455
459
  postal_code: String?,
456
460
  state: String?
457
461
  ) -> void
@@ -461,6 +465,7 @@ module Increase
461
465
  :line1 => String?,
462
466
  :line2 => String?,
463
467
  name: String?,
468
+ phone: String?,
464
469
  postal_code: String?,
465
470
  state: String?
466
471
  }
@@ -264,7 +264,8 @@ module Increase
264
264
  name: String,
265
265
  postal_code: String,
266
266
  state: String,
267
- :line2 => String
267
+ :line2 => String,
268
+ phone: String
268
269
  }
269
270
 
270
271
  class ReturnAddress < Increase::Internal::Type::BaseModel
@@ -282,13 +283,18 @@ module Increase
282
283
 
283
284
  def line2=: (String) -> String
284
285
 
286
+ attr_reader phone: String?
287
+
288
+ def phone=: (String) -> String
289
+
285
290
  def initialize: (
286
291
  city: String,
287
292
  line1: String,
288
293
  name: String,
289
294
  postal_code: String,
290
295
  state: String,
291
- ?line2: String
296
+ ?line2: String,
297
+ ?phone: String
292
298
  ) -> void
293
299
 
294
300
  def to_hash: -> {
@@ -297,7 +303,8 @@ module Increase
297
303
  name: String,
298
304
  postal_code: String,
299
305
  state: String,
300
- :line2 => String
306
+ :line2 => String,
307
+ phone: String
301
308
  }
302
309
  end
303
310
 
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.160.0
4
+ version: 1.161.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase