increase 1.248.0 → 1.249.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: 6783e9a6f55ff019ac7b6755ba9a795a701bdf750fce5f97dbed1a789ca34729
4
- data.tar.gz: c02031f12b1b61a6ce93cf5416375305a09fc226d043a99fa5e956cdd9eab4a5
3
+ metadata.gz: b6d29b041450200bb88388771c55b17f0104bb8aceff767203d3f5bd8191b8d6
4
+ data.tar.gz: 96f4a1b38b6b9902e3642e1252a03a90a6957a14eca676c8bc9c5e14037cb098
5
5
  SHA512:
6
- metadata.gz: 6b8b109b775737c5b611af4858ac99587a3cabc79dede5b9d6e3ea8b32b524f4a86dea140dc3b194da22af336a70931ed77166680acee461e6e0550c0512c9c0
7
- data.tar.gz: 3539a0bb219cd966af084ab729aab69046bd0780dec1646f9ea217e8e4314f107940dca1932da117d691ccf62db53a89d1e69ba8460e4458d52f188b9ca5af7b
6
+ metadata.gz: 9e6ba219824d84bd1d84cfb1aa64635e0ad5bcda16e97efd24e65cf96a7509bcb280c97d151af8a35b0ee511711857c3c33bfb8581c20f00fb109ff9bea461a8
7
+ data.tar.gz: f9e75fa8f63ab1132723c55d22ae0f7b4d561e6fd9998820f96a0156546d507bc741240113b6bb054bf7eda98a935597b38b5b613250670de438b1d5b81edc9c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.249.0 (2026-03-12)
4
+
5
+ Full Changelog: [v1.248.0...v1.249.0](https://github.com/Increase/increase-ruby/compare/v1.248.0...v1.249.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([b39504e](https://github.com/Increase/increase-ruby/commit/b39504e3d1a396dcbab69610cf1171af44a43bf1))
10
+
3
11
  ## 1.248.0 (2026-03-12)
4
12
 
5
13
  Full Changelog: [v1.247.0...v1.248.0](https://github.com/Increase/increase-ruby/compare/v1.247.0...v1.248.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.248.0"
18
+ gem "increase", "~> 1.249.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -511,12 +511,11 @@ module Increase
511
511
  },
512
512
  nil?: true
513
513
 
514
- # @!attribute signature_text
515
- # The text that will appear as the signature on the check in cursive font. If
516
- # blank, the check will be printed with 'No signature required'.
514
+ # @!attribute signature
515
+ # The signature that will appear on the check.
517
516
  #
518
- # @return [String, nil]
519
- required :signature_text, String, nil?: true
517
+ # @return [Increase::Models::CheckTransfer::PhysicalCheck::Signature]
518
+ required :signature, -> { Increase::CheckTransfer::PhysicalCheck::Signature }
520
519
 
521
520
  # @!attribute tracking_updates
522
521
  # Tracking updates relating to the physical check's delivery.
@@ -525,7 +524,7 @@ module Increase
525
524
  required :tracking_updates,
526
525
  -> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] }
527
526
 
528
- # @!method initialize(attachment_file_id:, check_voucher_image_file_id:, mailing_address:, memo:, note:, payer:, recipient_name:, return_address:, shipping_method:, signature_text:, tracking_updates:)
527
+ # @!method initialize(attachment_file_id:, check_voucher_image_file_id:, mailing_address:, memo:, note:, payer:, recipient_name:, return_address:, shipping_method:, signature:, tracking_updates:)
529
528
  # Some parameter documentations has been truncated, see
530
529
  # {Increase::Models::CheckTransfer::PhysicalCheck} for more details.
531
530
  #
@@ -550,7 +549,7 @@ module Increase
550
549
  #
551
550
  # @param shipping_method [Symbol, Increase::Models::CheckTransfer::PhysicalCheck::ShippingMethod, nil] The shipping method for the check.
552
551
  #
553
- # @param signature_text [String, nil] The text that will appear as the signature on the check in cursive font. If blan
552
+ # @param signature [Increase::Models::CheckTransfer::PhysicalCheck::Signature] The signature that will appear on the check.
554
553
  #
555
554
  # @param tracking_updates [Array<Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate>] Tracking updates relating to the physical check's delivery.
556
555
 
@@ -715,6 +714,28 @@ module Increase
715
714
  # @return [Array<Symbol>]
716
715
  end
717
716
 
717
+ # @see Increase::Models::CheckTransfer::PhysicalCheck#signature
718
+ class Signature < Increase::Internal::Type::BaseModel
719
+ # @!attribute image_file_id
720
+ # The ID of a File containing a PNG of the signature.
721
+ #
722
+ # @return [String, nil]
723
+ required :image_file_id, String, nil?: true
724
+
725
+ # @!attribute text
726
+ # The text that will appear as the signature on the check in cursive font.
727
+ #
728
+ # @return [String, nil]
729
+ required :text, String, nil?: true
730
+
731
+ # @!method initialize(image_file_id:, text:)
732
+ # The signature that will appear on the check.
733
+ #
734
+ # @param image_file_id [String, nil] The ID of a File containing a PNG of the signature.
735
+ #
736
+ # @param text [String, nil] The text that will appear as the signature on the check in cursive font.
737
+ end
738
+
718
739
  class TrackingUpdate < Increase::Internal::Type::BaseModel
719
740
  # @!attribute category
720
741
  # The type of tracking event.
@@ -198,14 +198,15 @@ module Increase
198
198
  # @return [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod, nil]
199
199
  optional :shipping_method, enum: -> { Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod }
200
200
 
201
- # @!attribute signature_text
202
- # The text that will appear as the signature on the check in cursive font. If not
203
- # provided, the check will be printed with 'No signature required'.
201
+ # @!attribute signature
202
+ # The signature that will appear on the check. If not provided, the check will be
203
+ # printed with 'No Signature Required'. At most one of `text` and `image_file_id`
204
+ # may be provided.
204
205
  #
205
- # @return [String, nil]
206
- optional :signature_text, String
206
+ # @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature, nil]
207
+ optional :signature, -> { Increase::CheckTransferCreateParams::PhysicalCheck::Signature }
207
208
 
208
- # @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, check_voucher_image_file_id: nil, note: nil, payer: nil, return_address: nil, shipping_method: nil, signature_text: nil)
209
+ # @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, check_voucher_image_file_id: nil, note: nil, payer: nil, return_address: nil, shipping_method: nil, signature: nil)
209
210
  # Some parameter documentations has been truncated, see
210
211
  # {Increase::Models::CheckTransferCreateParams::PhysicalCheck} for more details.
211
212
  #
@@ -231,7 +232,7 @@ module Increase
231
232
  #
232
233
  # @param shipping_method [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod] How to ship the check. For details on pricing, timing, and restrictions, see htt
233
234
  #
234
- # @param signature_text [String] The text that will appear as the signature on the check in cursive font. If not
235
+ # @param signature [Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature] The signature that will appear on the check. If not provided, the check will be
235
236
 
236
237
  # @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#mailing_address
237
238
  class MailingAddress < Increase::Internal::Type::BaseModel
@@ -399,6 +400,35 @@ module Increase
399
400
  # @!method self.values
400
401
  # @return [Array<Symbol>]
401
402
  end
403
+
404
+ # @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#signature
405
+ class Signature < Increase::Internal::Type::BaseModel
406
+ # @!attribute image_file_id
407
+ # The ID of a File containing a PNG of the signature. This must have
408
+ # `purpose: check_signature` and be a 1320x120 pixel PNG.
409
+ #
410
+ # @return [String, nil]
411
+ optional :image_file_id, String
412
+
413
+ # @!attribute text
414
+ # The text that will appear as the signature on the check in cursive font.
415
+ #
416
+ # @return [String, nil]
417
+ optional :text, String
418
+
419
+ # @!method initialize(image_file_id: nil, text: nil)
420
+ # Some parameter documentations has been truncated, see
421
+ # {Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature} for more
422
+ # details.
423
+ #
424
+ # The signature that will appear on the check. If not provided, the check will be
425
+ # printed with 'No Signature Required'. At most one of `text` and `image_file_id`
426
+ # may be provided.
427
+ #
428
+ # @param image_file_id [String] The ID of a File containing a PNG of the signature. This must have `purpose: che
429
+ #
430
+ # @param text [String] The text that will appear as the signature on the check in cursive font.
431
+ end
402
432
  end
403
433
 
404
434
  class ThirdParty < Increase::Internal::Type::BaseModel
@@ -138,6 +138,9 @@ module Increase
138
138
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
139
139
  CHECK_VOUCHER_IMAGE = :check_voucher_image
140
140
 
141
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
142
+ CHECK_SIGNATURE = :check_signature
143
+
141
144
  # A scanned mail item sent to Increase.
142
145
  INBOUND_MAIL_ITEM = :inbound_mail_item
143
146
 
@@ -61,6 +61,9 @@ module Increase
61
61
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
62
62
  CHECK_VOUCHER_IMAGE = :check_voucher_image
63
63
 
64
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
65
+ CHECK_SIGNATURE = :check_signature
66
+
64
67
  # IRS Form SS-4.
65
68
  FORM_SS_4 = :form_ss_4
66
69
 
@@ -140,6 +140,9 @@ module Increase
140
140
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
141
141
  CHECK_VOUCHER_IMAGE = :check_voucher_image
142
142
 
143
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
144
+ CHECK_SIGNATURE = :check_signature
145
+
143
146
  # A scanned mail item sent to Increase.
144
147
  INBOUND_MAIL_ITEM = :inbound_mail_item
145
148
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.248.0"
4
+ VERSION = "1.249.0"
5
5
  end
@@ -819,10 +819,16 @@ module Increase
819
819
  end
820
820
  attr_accessor :shipping_method
821
821
 
822
- # The text that will appear as the signature on the check in cursive font. If
823
- # blank, the check will be printed with 'No signature required'.
824
- sig { returns(T.nilable(String)) }
825
- attr_accessor :signature_text
822
+ # The signature that will appear on the check.
823
+ sig { returns(Increase::CheckTransfer::PhysicalCheck::Signature) }
824
+ attr_reader :signature
825
+
826
+ sig do
827
+ params(
828
+ signature: Increase::CheckTransfer::PhysicalCheck::Signature::OrHash
829
+ ).void
830
+ end
831
+ attr_writer :signature
826
832
 
827
833
  # Tracking updates relating to the physical check's delivery.
828
834
  sig do
@@ -853,7 +859,8 @@ module Increase
853
859
  T.nilable(
854
860
  Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol
855
861
  ),
856
- signature_text: T.nilable(String),
862
+ signature:
863
+ Increase::CheckTransfer::PhysicalCheck::Signature::OrHash,
857
864
  tracking_updates:
858
865
  T::Array[
859
866
  Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::OrHash
@@ -880,9 +887,8 @@ module Increase
880
887
  return_address:,
881
888
  # The shipping method for the check.
882
889
  shipping_method:,
883
- # The text that will appear as the signature on the check in cursive font. If
884
- # blank, the check will be printed with 'No signature required'.
885
- signature_text:,
890
+ # The signature that will appear on the check.
891
+ signature:,
886
892
  # Tracking updates relating to the physical check's delivery.
887
893
  tracking_updates:
888
894
  )
@@ -907,7 +913,7 @@ module Increase
907
913
  T.nilable(
908
914
  Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol
909
915
  ),
910
- signature_text: T.nilable(String),
916
+ signature: Increase::CheckTransfer::PhysicalCheck::Signature,
911
917
  tracking_updates:
912
918
  T::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
913
919
  }
@@ -1151,6 +1157,47 @@ module Increase
1151
1157
  end
1152
1158
  end
1153
1159
 
1160
+ class Signature < Increase::Internal::Type::BaseModel
1161
+ OrHash =
1162
+ T.type_alias do
1163
+ T.any(
1164
+ Increase::CheckTransfer::PhysicalCheck::Signature,
1165
+ Increase::Internal::AnyHash
1166
+ )
1167
+ end
1168
+
1169
+ # The ID of a File containing a PNG of the signature.
1170
+ sig { returns(T.nilable(String)) }
1171
+ attr_accessor :image_file_id
1172
+
1173
+ # The text that will appear as the signature on the check in cursive font.
1174
+ sig { returns(T.nilable(String)) }
1175
+ attr_accessor :text
1176
+
1177
+ # The signature that will appear on the check.
1178
+ sig do
1179
+ params(
1180
+ image_file_id: T.nilable(String),
1181
+ text: T.nilable(String)
1182
+ ).returns(T.attached_class)
1183
+ end
1184
+ def self.new(
1185
+ # The ID of a File containing a PNG of the signature.
1186
+ image_file_id:,
1187
+ # The text that will appear as the signature on the check in cursive font.
1188
+ text:
1189
+ )
1190
+ end
1191
+
1192
+ sig do
1193
+ override.returns(
1194
+ { image_file_id: T.nilable(String), text: T.nilable(String) }
1195
+ )
1196
+ end
1197
+ def to_hash
1198
+ end
1199
+ end
1200
+
1154
1201
  class TrackingUpdate < Increase::Internal::Type::BaseModel
1155
1202
  OrHash =
1156
1203
  T.type_alias do
@@ -380,13 +380,25 @@ module Increase
380
380
  end
381
381
  attr_writer :shipping_method
382
382
 
383
- # The text that will appear as the signature on the check in cursive font. If not
384
- # provided, the check will be printed with 'No signature required'.
385
- sig { returns(T.nilable(String)) }
386
- attr_reader :signature_text
383
+ # The signature that will appear on the check. If not provided, the check will be
384
+ # printed with 'No Signature Required'. At most one of `text` and `image_file_id`
385
+ # may be provided.
386
+ sig do
387
+ returns(
388
+ T.nilable(
389
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature
390
+ )
391
+ )
392
+ end
393
+ attr_reader :signature
387
394
 
388
- sig { params(signature_text: String).void }
389
- attr_writer :signature_text
395
+ sig do
396
+ params(
397
+ signature:
398
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature::OrHash
399
+ ).void
400
+ end
401
+ attr_writer :signature
390
402
 
391
403
  # Details relating to the physical check that Increase will print and mail. This
392
404
  # is required if `fulfillment_method` is equal to `physical_check`. It must not be
@@ -408,7 +420,8 @@ module Increase
408
420
  Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress::OrHash,
409
421
  shipping_method:
410
422
  Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
411
- signature_text: String
423
+ signature:
424
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature::OrHash
412
425
  ).returns(T.attached_class)
413
426
  end
414
427
  def self.new(
@@ -439,9 +452,10 @@ module Increase
439
452
  # How to ship the check. For details on pricing, timing, and restrictions, see
440
453
  # https://increase.com/documentation/originating-checks#printing-checks .
441
454
  shipping_method: nil,
442
- # The text that will appear as the signature on the check in cursive font. If not
443
- # provided, the check will be printed with 'No signature required'.
444
- signature_text: nil
455
+ # The signature that will appear on the check. If not provided, the check will be
456
+ # printed with 'No Signature Required'. At most one of `text` and `image_file_id`
457
+ # may be provided.
458
+ signature: nil
445
459
  )
446
460
  end
447
461
 
@@ -463,7 +477,8 @@ module Increase
463
477
  Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
464
478
  shipping_method:
465
479
  Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
466
- signature_text: String
480
+ signature:
481
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature
467
482
  }
468
483
  )
469
484
  end
@@ -728,6 +743,52 @@ module Increase
728
743
  def self.values
729
744
  end
730
745
  end
746
+
747
+ class Signature < Increase::Internal::Type::BaseModel
748
+ OrHash =
749
+ T.type_alias do
750
+ T.any(
751
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature,
752
+ Increase::Internal::AnyHash
753
+ )
754
+ end
755
+
756
+ # The ID of a File containing a PNG of the signature. This must have
757
+ # `purpose: check_signature` and be a 1320x120 pixel PNG.
758
+ sig { returns(T.nilable(String)) }
759
+ attr_reader :image_file_id
760
+
761
+ sig { params(image_file_id: String).void }
762
+ attr_writer :image_file_id
763
+
764
+ # The text that will appear as the signature on the check in cursive font.
765
+ sig { returns(T.nilable(String)) }
766
+ attr_reader :text
767
+
768
+ sig { params(text: String).void }
769
+ attr_writer :text
770
+
771
+ # The signature that will appear on the check. If not provided, the check will be
772
+ # printed with 'No Signature Required'. At most one of `text` and `image_file_id`
773
+ # may be provided.
774
+ sig do
775
+ params(image_file_id: String, text: String).returns(
776
+ T.attached_class
777
+ )
778
+ end
779
+ def self.new(
780
+ # The ID of a File containing a PNG of the signature. This must have
781
+ # `purpose: check_signature` and be a 1320x120 pixel PNG.
782
+ image_file_id: nil,
783
+ # The text that will appear as the signature on the check in cursive font.
784
+ text: nil
785
+ )
786
+ end
787
+
788
+ sig { override.returns({ image_file_id: String, text: String }) }
789
+ def to_hash
790
+ end
791
+ end
731
792
  end
732
793
 
733
794
  class ThirdParty < Increase::Internal::Type::BaseModel
@@ -178,6 +178,10 @@ module Increase
178
178
  CHECK_VOUCHER_IMAGE =
179
179
  T.let(:check_voucher_image, Increase::File::Purpose::TaggedSymbol)
180
180
 
181
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
182
+ CHECK_SIGNATURE =
183
+ T.let(:check_signature, Increase::File::Purpose::TaggedSymbol)
184
+
181
185
  # A scanned mail item sent to Increase.
182
186
  INBOUND_MAIL_ITEM =
183
187
  T.let(:inbound_mail_item, Increase::File::Purpose::TaggedSymbol)
@@ -112,6 +112,13 @@ module Increase
112
112
  Increase::FileCreateParams::Purpose::TaggedSymbol
113
113
  )
114
114
 
115
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
116
+ CHECK_SIGNATURE =
117
+ T.let(
118
+ :check_signature,
119
+ Increase::FileCreateParams::Purpose::TaggedSymbol
120
+ )
121
+
115
122
  # IRS Form SS-4.
116
123
  FORM_SS_4 =
117
124
  T.let(:form_ss_4, Increase::FileCreateParams::Purpose::TaggedSymbol)
@@ -276,6 +276,13 @@ module Increase
276
276
  Increase::FileListParams::Purpose::In::TaggedSymbol
277
277
  )
278
278
 
279
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
280
+ CHECK_SIGNATURE =
281
+ T.let(
282
+ :check_signature,
283
+ Increase::FileListParams::Purpose::In::TaggedSymbol
284
+ )
285
+
279
286
  # A scanned mail item sent to Increase.
280
287
  INBOUND_MAIL_ITEM =
281
288
  T.let(
@@ -299,7 +299,7 @@ module Increase
299
299
  recipient_name: String,
300
300
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
301
301
  shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
302
- signature_text: String?,
302
+ signature: Increase::CheckTransfer::PhysicalCheck::Signature,
303
303
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
304
304
  }
305
305
 
@@ -322,7 +322,7 @@ module Increase
322
322
 
323
323
  attr_accessor shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?
324
324
 
325
- attr_accessor signature_text: String?
325
+ attr_accessor signature: Increase::CheckTransfer::PhysicalCheck::Signature
326
326
 
327
327
  attr_accessor tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
328
328
 
@@ -336,7 +336,7 @@ module Increase
336
336
  recipient_name: String,
337
337
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
338
338
  shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
339
- signature_text: String?,
339
+ signature: Increase::CheckTransfer::PhysicalCheck::Signature,
340
340
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
341
341
  ) -> void
342
342
 
@@ -350,7 +350,7 @@ module Increase
350
350
  recipient_name: String,
351
351
  return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?,
352
352
  shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?,
353
- signature_text: String?,
353
+ signature: Increase::CheckTransfer::PhysicalCheck::Signature,
354
354
  tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
355
355
  }
356
356
 
@@ -472,6 +472,18 @@ module Increase
472
472
  def self?.values: -> ::Array[Increase::Models::CheckTransfer::PhysicalCheck::shipping_method]
473
473
  end
474
474
 
475
+ type signature = { image_file_id: String?, text: String? }
476
+
477
+ class Signature < Increase::Internal::Type::BaseModel
478
+ attr_accessor image_file_id: String?
479
+
480
+ attr_accessor text: String?
481
+
482
+ def initialize: (image_file_id: String?, text: String?) -> void
483
+
484
+ def to_hash: -> { image_file_id: String?, text: String? }
485
+ end
486
+
475
487
  type tracking_update =
476
488
  {
477
489
  category: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category,
@@ -124,7 +124,7 @@ module Increase
124
124
  payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
125
125
  return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
126
126
  shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method,
127
- signature_text: String
127
+ signature: Increase::CheckTransferCreateParams::PhysicalCheck::Signature
128
128
  }
129
129
 
130
130
  class PhysicalCheck < Increase::Internal::Type::BaseModel
@@ -164,9 +164,11 @@ module Increase
164
164
  Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method
165
165
  ) -> Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method
166
166
 
167
- attr_reader signature_text: String?
167
+ attr_reader signature: Increase::CheckTransferCreateParams::PhysicalCheck::Signature?
168
168
 
169
- def signature_text=: (String) -> String
169
+ def signature=: (
170
+ Increase::CheckTransferCreateParams::PhysicalCheck::Signature
171
+ ) -> Increase::CheckTransferCreateParams::PhysicalCheck::Signature
170
172
 
171
173
  def initialize: (
172
174
  mailing_address: Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress,
@@ -178,7 +180,7 @@ module Increase
178
180
  ?payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
179
181
  ?return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
180
182
  ?shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method,
181
- ?signature_text: String
183
+ ?signature: Increase::CheckTransferCreateParams::PhysicalCheck::Signature
182
184
  ) -> void
183
185
 
184
186
  def to_hash: -> {
@@ -191,7 +193,7 @@ module Increase
191
193
  payer: ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer],
192
194
  return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
193
195
  shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method,
194
- signature_text: String
196
+ signature: Increase::CheckTransferCreateParams::PhysicalCheck::Signature
195
197
  }
196
198
 
197
199
  type mailing_address =
@@ -321,6 +323,22 @@ module Increase
321
323
 
322
324
  def self?.values: -> ::Array[Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method]
323
325
  end
326
+
327
+ type signature = { image_file_id: String, text: String }
328
+
329
+ class Signature < Increase::Internal::Type::BaseModel
330
+ attr_reader image_file_id: String?
331
+
332
+ def image_file_id=: (String) -> String
333
+
334
+ attr_reader text: String?
335
+
336
+ def text=: (String) -> String
337
+
338
+ def initialize: (?image_file_id: String, ?text: String) -> void
339
+
340
+ def to_hash: -> { image_file_id: String, text: String }
341
+ end
324
342
  end
325
343
 
326
344
  type third_party = { recipient_name: String }
@@ -79,6 +79,7 @@ module Increase
79
79
  | :mailed_check_image
80
80
  | :check_attachment
81
81
  | :check_voucher_image
82
+ | :check_signature
82
83
  | :inbound_mail_item
83
84
  | :form_1099_int
84
85
  | :form_1099_misc
@@ -131,6 +132,9 @@ module Increase
131
132
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
132
133
  CHECK_VOUCHER_IMAGE: :check_voucher_image
133
134
 
135
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
136
+ CHECK_SIGNATURE: :check_signature
137
+
134
138
  # A scanned mail item sent to Increase.
135
139
  INBOUND_MAIL_ITEM: :inbound_mail_item
136
140
 
@@ -41,6 +41,7 @@ module Increase
41
41
  | :mailed_check_image
42
42
  | :check_attachment
43
43
  | :check_voucher_image
44
+ | :check_signature
44
45
  | :form_ss_4
45
46
  | :identity_document
46
47
  | :loan_application_supplemental_document
@@ -76,6 +77,9 @@ module Increase
76
77
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
77
78
  CHECK_VOUCHER_IMAGE: :check_voucher_image
78
79
 
80
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
81
+ CHECK_SIGNATURE: :check_signature
82
+
79
83
  # IRS Form SS-4.
80
84
  FORM_SS_4: :form_ss_4
81
85
 
@@ -118,6 +118,7 @@ module Increase
118
118
  | :mailed_check_image
119
119
  | :check_attachment
120
120
  | :check_voucher_image
121
+ | :check_signature
121
122
  | :inbound_mail_item
122
123
  | :form_1099_int
123
124
  | :form_1099_misc
@@ -170,6 +171,9 @@ module Increase
170
171
  # An image to be used as the check voucher image, which is printed in the middle of the trifold area of a check. This must be a 2550x1100 pixel PNG.
171
172
  CHECK_VOUCHER_IMAGE: :check_voucher_image
172
173
 
174
+ # A signature image to be printed on a check. This must be a 1320x120 pixel PNG.
175
+ CHECK_SIGNATURE: :check_signature
176
+
173
177
  # A scanned mail item sent to Increase.
174
178
  INBOUND_MAIL_ITEM: :inbound_mail_item
175
179
 
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.248.0
4
+ version: 1.249.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase