increase 1.179.0 → 1.181.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: e5117a7d2432bb4dbc40a10e66b359f6cc91be13021f0e303a8a5028c8da3793
4
- data.tar.gz: 162cf0b431e9a4adf963ba9e7efebe914a225533134bcc90e1cc8cc2666257a5
3
+ metadata.gz: a47e8d321bb37ca7c90f8d3f38ea4caf74adecdb7d41cf863477d17d79cff21d
4
+ data.tar.gz: 4081d98eaa3a83f0c8780762328900a984ce913722bbe2dadfa2f0533cb7546e
5
5
  SHA512:
6
- metadata.gz: e624d012b6a3a1fb284a55c6b8d17d84b751c37a10bef1e3c9030dd2ed2bd66417a4c9e200eb906c6052f9a61ab635c56d1ea7163deb981d79d20784ca1aa62b
7
- data.tar.gz: f83ba407a265cb5e23124cb0cc710c01b5d50150b174d763534e35421bb5346c57af841bfa89626f8ff0227660e9a2d2b3b7b100c9b53bd64bbeb642f1094245
6
+ metadata.gz: 494c044a6b132315040d8b27f50bba19fd958c7be61feb8a367c64770bc01b0657648b2aafaaf5cd05f2cfa3f6d00f886c76a93f5f8422e9f6276222922de712
7
+ data.tar.gz: 76b1eface1663d609151de57ce38a990848e04082f43723e723dd1b9e5b95a4ba0025e239763a3adedc36b17c764f22f28f0c946a86781386a328bcd4aa2a4e5
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.181.0 (2026-01-23)
4
+
5
+ Full Changelog: [v1.180.0...v1.181.0](https://github.com/Increase/increase-ruby/compare/v1.180.0...v1.181.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([2c2739e](https://github.com/Increase/increase-ruby/commit/2c2739ee824cba0971576e7d95b14073034527c6))
10
+
11
+ ## 1.180.0 (2026-01-23)
12
+
13
+ Full Changelog: [v1.179.0...v1.180.0](https://github.com/Increase/increase-ruby/compare/v1.179.0...v1.180.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([d5d4377](https://github.com/Increase/increase-ruby/commit/d5d4377c1a31303f23e021568166f7cd03e88766))
18
+
3
19
  ## 1.179.0 (2026-01-22)
4
20
 
5
21
  Full Changelog: [v1.178.0...v1.179.0](https://github.com/Increase/increase-ruby/compare/v1.178.0...v1.179.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.179.0"
18
+ gem "increase", "~> 1.181.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -433,13 +433,6 @@ module Increase
433
433
 
434
434
  # @see Increase::Models::CheckTransfer#mailing
435
435
  class Mailing < Increase::Internal::Type::BaseModel
436
- # @!attribute image_id
437
- # The ID of the file corresponding to an image of the check that was mailed, if
438
- # available.
439
- #
440
- # @return [String, nil]
441
- required :image_id, String, nil?: true
442
-
443
436
  # @!attribute mailed_at
444
437
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
445
438
  # the check was mailed.
@@ -447,24 +440,14 @@ module Increase
447
440
  # @return [Time]
448
441
  required :mailed_at, Time
449
442
 
450
- # @!attribute tracking_number
451
- # The tracking number of the shipment, if available for the shipping method.
452
- #
453
- # @return [String, nil]
454
- required :tracking_number, String, nil?: true
455
-
456
- # @!method initialize(image_id:, mailed_at:, tracking_number:)
443
+ # @!method initialize(mailed_at:)
457
444
  # Some parameter documentations has been truncated, see
458
445
  # {Increase::Models::CheckTransfer::Mailing} for more details.
459
446
  #
460
447
  # If the check has been mailed by Increase, this will contain details of the
461
448
  # shipment.
462
449
  #
463
- # @param image_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
464
- #
465
450
  # @param mailed_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
466
- #
467
- # @param tracking_number [String, nil] The tracking number of the shipment, if available for the shipping method.
468
451
  end
469
452
 
470
453
  # @see Increase::Models::CheckTransfer#physical_check
@@ -913,6 +896,13 @@ module Increase
913
896
 
914
897
  # @see Increase::Models::CheckTransfer#submission
915
898
  class Submission < Increase::Internal::Type::BaseModel
899
+ # @!attribute preview_file_id
900
+ # The ID of the file corresponding to an image of the check that was mailed, if
901
+ # available.
902
+ #
903
+ # @return [String, nil]
904
+ required :preview_file_id, String, nil?: true
905
+
916
906
  # @!attribute submitted_address
917
907
  # The address we submitted to the printer. This is what is physically printed on
918
908
  # the check.
@@ -926,15 +916,25 @@ module Increase
926
916
  # @return [Time]
927
917
  required :submitted_at, Time
928
918
 
929
- # @!method initialize(submitted_address:, submitted_at:)
919
+ # @!attribute tracking_number
920
+ # The tracking number for the check shipment.
921
+ #
922
+ # @return [String, nil]
923
+ required :tracking_number, String, nil?: true
924
+
925
+ # @!method initialize(preview_file_id:, submitted_address:, submitted_at:, tracking_number:)
930
926
  # Some parameter documentations has been truncated, see
931
927
  # {Increase::Models::CheckTransfer::Submission} for more details.
932
928
  #
933
929
  # After the transfer is submitted, this will contain supplemental details.
934
930
  #
931
+ # @param preview_file_id [String, nil] The ID of the file corresponding to an image of the check that was mailed, if av
932
+ #
935
933
  # @param submitted_address [Increase::Models::CheckTransfer::Submission::SubmittedAddress] The address we submitted to the printer. This is what is physically printed on t
936
934
  #
937
935
  # @param submitted_at [Time] When this check was submitted to our check printer.
936
+ #
937
+ # @param tracking_number [String, nil] The tracking number for the check shipment.
938
938
 
939
939
  # @see Increase::Models::CheckTransfer::Submission#submitted_address
940
940
  class SubmittedAddress < Increase::Internal::Type::BaseModel
@@ -35,6 +35,14 @@ module Increase
35
35
  # @return [Increase::Models::DigitalWalletToken::Device]
36
36
  required :device, -> { Increase::DigitalWalletToken::Device }
37
37
 
38
+ # @!attribute dynamic_primary_account_number
39
+ # The redacted Dynamic Primary Account Number.
40
+ #
41
+ # @return [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil]
42
+ required :dynamic_primary_account_number,
43
+ -> { Increase::DigitalWalletToken::DynamicPrimaryAccountNumber },
44
+ nil?: true
45
+
38
46
  # @!attribute status
39
47
  # This indicates if payments can be made with the Digital Wallet Token.
40
48
  #
@@ -60,7 +68,7 @@ module Increase
60
68
  # @return [Array<Increase::Models::DigitalWalletToken::Update>]
61
69
  required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] }
62
70
 
63
- # @!method initialize(id:, card_id:, cardholder:, created_at:, device:, status:, token_requestor:, type:, updates:)
71
+ # @!method initialize(id:, card_id:, cardholder:, created_at:, device:, dynamic_primary_account_number:, status:, token_requestor:, type:, updates:)
64
72
  # Some parameter documentations has been truncated, see
65
73
  # {Increase::Models::DigitalWalletToken} for more details.
66
74
  #
@@ -78,6 +86,8 @@ module Increase
78
86
  #
79
87
  # @param device [Increase::Models::DigitalWalletToken::Device] The device that was used to create the Digital Wallet Token.
80
88
  #
89
+ # @param dynamic_primary_account_number [Increase::Models::DigitalWalletToken::DynamicPrimaryAccountNumber, nil] The redacted Dynamic Primary Account Number.
90
+ #
81
91
  # @param status [Symbol, Increase::Models::DigitalWalletToken::Status] This indicates if payments can be made with the Digital Wallet Token.
82
92
  #
83
93
  # @param token_requestor [Symbol, Increase::Models::DigitalWalletToken::TokenRequestor] The digital wallet app being used.
@@ -175,6 +185,28 @@ module Increase
175
185
  end
176
186
  end
177
187
 
188
+ # @see Increase::Models::DigitalWalletToken#dynamic_primary_account_number
189
+ class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
190
+ # @!attribute first6
191
+ # The first 6 digits of the token's Dynamic Primary Account Number.
192
+ #
193
+ # @return [String]
194
+ required :first6, String
195
+
196
+ # @!attribute last4
197
+ # The last 4 digits of the token's Dynamic Primary Account Number.
198
+ #
199
+ # @return [String]
200
+ required :last4, String
201
+
202
+ # @!method initialize(first6:, last4:)
203
+ # The redacted Dynamic Primary Account Number.
204
+ #
205
+ # @param first6 [String] The first 6 digits of the token's Dynamic Primary Account Number.
206
+ #
207
+ # @param last4 [String] The last 4 digits of the token's Dynamic Primary Account Number.
208
+ end
209
+
178
210
  # This indicates if payments can be made with the Digital Wallet Token.
179
211
  #
180
212
  # @see Increase::Models::DigitalWalletToken#status
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.179.0"
4
+ VERSION = "1.181.0"
5
5
  end
@@ -725,50 +725,22 @@ module Increase
725
725
  T.any(Increase::CheckTransfer::Mailing, Increase::Internal::AnyHash)
726
726
  end
727
727
 
728
- # The ID of the file corresponding to an image of the check that was mailed, if
729
- # available.
730
- sig { returns(T.nilable(String)) }
731
- attr_accessor :image_id
732
-
733
728
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
734
729
  # the check was mailed.
735
730
  sig { returns(Time) }
736
731
  attr_accessor :mailed_at
737
732
 
738
- # The tracking number of the shipment, if available for the shipping method.
739
- sig { returns(T.nilable(String)) }
740
- attr_accessor :tracking_number
741
-
742
733
  # If the check has been mailed by Increase, this will contain details of the
743
734
  # shipment.
744
- sig do
745
- params(
746
- image_id: T.nilable(String),
747
- mailed_at: Time,
748
- tracking_number: T.nilable(String)
749
- ).returns(T.attached_class)
750
- end
735
+ sig { params(mailed_at: Time).returns(T.attached_class) }
751
736
  def self.new(
752
- # The ID of the file corresponding to an image of the check that was mailed, if
753
- # available.
754
- image_id:,
755
737
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
756
738
  # the check was mailed.
757
- mailed_at:,
758
- # The tracking number of the shipment, if available for the shipping method.
759
- tracking_number:
739
+ mailed_at:
760
740
  )
761
741
  end
762
742
 
763
- sig do
764
- override.returns(
765
- {
766
- image_id: T.nilable(String),
767
- mailed_at: Time,
768
- tracking_number: T.nilable(String)
769
- }
770
- )
771
- end
743
+ sig { override.returns({ mailed_at: Time }) }
772
744
  def to_hash
773
745
  end
774
746
  end
@@ -1529,6 +1501,11 @@ module Increase
1529
1501
  )
1530
1502
  end
1531
1503
 
1504
+ # The ID of the file corresponding to an image of the check that was mailed, if
1505
+ # available.
1506
+ sig { returns(T.nilable(String)) }
1507
+ attr_accessor :preview_file_id
1508
+
1532
1509
  # The address we submitted to the printer. This is what is physically printed on
1533
1510
  # the check.
1534
1511
  sig { returns(Increase::CheckTransfer::Submission::SubmittedAddress) }
@@ -1546,29 +1523,42 @@ module Increase
1546
1523
  sig { returns(Time) }
1547
1524
  attr_accessor :submitted_at
1548
1525
 
1526
+ # The tracking number for the check shipment.
1527
+ sig { returns(T.nilable(String)) }
1528
+ attr_accessor :tracking_number
1529
+
1549
1530
  # After the transfer is submitted, this will contain supplemental details.
1550
1531
  sig do
1551
1532
  params(
1533
+ preview_file_id: T.nilable(String),
1552
1534
  submitted_address:
1553
1535
  Increase::CheckTransfer::Submission::SubmittedAddress::OrHash,
1554
- submitted_at: Time
1536
+ submitted_at: Time,
1537
+ tracking_number: T.nilable(String)
1555
1538
  ).returns(T.attached_class)
1556
1539
  end
1557
1540
  def self.new(
1541
+ # The ID of the file corresponding to an image of the check that was mailed, if
1542
+ # available.
1543
+ preview_file_id:,
1558
1544
  # The address we submitted to the printer. This is what is physically printed on
1559
1545
  # the check.
1560
1546
  submitted_address:,
1561
1547
  # When this check was submitted to our check printer.
1562
- submitted_at:
1548
+ submitted_at:,
1549
+ # The tracking number for the check shipment.
1550
+ tracking_number:
1563
1551
  )
1564
1552
  end
1565
1553
 
1566
1554
  sig do
1567
1555
  override.returns(
1568
1556
  {
1557
+ preview_file_id: T.nilable(String),
1569
1558
  submitted_address:
1570
1559
  Increase::CheckTransfer::Submission::SubmittedAddress,
1571
- submitted_at: Time
1560
+ submitted_at: Time,
1561
+ tracking_number: T.nilable(String)
1572
1562
  }
1573
1563
  )
1574
1564
  end
@@ -39,6 +39,24 @@ module Increase
39
39
  sig { params(device: Increase::DigitalWalletToken::Device::OrHash).void }
40
40
  attr_writer :device
41
41
 
42
+ # The redacted Dynamic Primary Account Number.
43
+ sig do
44
+ returns(
45
+ T.nilable(Increase::DigitalWalletToken::DynamicPrimaryAccountNumber)
46
+ )
47
+ end
48
+ attr_reader :dynamic_primary_account_number
49
+
50
+ sig do
51
+ params(
52
+ dynamic_primary_account_number:
53
+ T.nilable(
54
+ Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
55
+ )
56
+ ).void
57
+ end
58
+ attr_writer :dynamic_primary_account_number
59
+
42
60
  # This indicates if payments can be made with the Digital Wallet Token.
43
61
  sig { returns(Increase::DigitalWalletToken::Status::TaggedSymbol) }
44
62
  attr_accessor :status
@@ -68,6 +86,10 @@ module Increase
68
86
  cardholder: Increase::DigitalWalletToken::Cardholder::OrHash,
69
87
  created_at: Time,
70
88
  device: Increase::DigitalWalletToken::Device::OrHash,
89
+ dynamic_primary_account_number:
90
+ T.nilable(
91
+ Increase::DigitalWalletToken::DynamicPrimaryAccountNumber::OrHash
92
+ ),
71
93
  status: Increase::DigitalWalletToken::Status::OrSymbol,
72
94
  token_requestor:
73
95
  Increase::DigitalWalletToken::TokenRequestor::OrSymbol,
@@ -87,6 +109,8 @@ module Increase
87
109
  created_at:,
88
110
  # The device that was used to create the Digital Wallet Token.
89
111
  device:,
112
+ # The redacted Dynamic Primary Account Number.
113
+ dynamic_primary_account_number:,
90
114
  # This indicates if payments can be made with the Digital Wallet Token.
91
115
  status:,
92
116
  # The digital wallet app being used.
@@ -107,6 +131,10 @@ module Increase
107
131
  cardholder: Increase::DigitalWalletToken::Cardholder,
108
132
  created_at: Time,
109
133
  device: Increase::DigitalWalletToken::Device,
134
+ dynamic_primary_account_number:
135
+ T.nilable(
136
+ Increase::DigitalWalletToken::DynamicPrimaryAccountNumber
137
+ ),
110
138
  status: Increase::DigitalWalletToken::Status::TaggedSymbol,
111
139
  token_requestor:
112
140
  Increase::DigitalWalletToken::TokenRequestor::TaggedSymbol,
@@ -300,6 +328,38 @@ module Increase
300
328
  end
301
329
  end
302
330
 
331
+ class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
332
+ OrHash =
333
+ T.type_alias do
334
+ T.any(
335
+ Increase::DigitalWalletToken::DynamicPrimaryAccountNumber,
336
+ Increase::Internal::AnyHash
337
+ )
338
+ end
339
+
340
+ # The first 6 digits of the token's Dynamic Primary Account Number.
341
+ sig { returns(String) }
342
+ attr_accessor :first6
343
+
344
+ # The last 4 digits of the token's Dynamic Primary Account Number.
345
+ sig { returns(String) }
346
+ attr_accessor :last4
347
+
348
+ # The redacted Dynamic Primary Account Number.
349
+ sig { params(first6: String, last4: String).returns(T.attached_class) }
350
+ def self.new(
351
+ # The first 6 digits of the token's Dynamic Primary Account Number.
352
+ first6:,
353
+ # The last 4 digits of the token's Dynamic Primary Account Number.
354
+ last4:
355
+ )
356
+ end
357
+
358
+ sig { override.returns({ first6: String, last4: String }) }
359
+ def to_hash
360
+ end
361
+ end
362
+
303
363
  # This indicates if payments can be made with the Digital Wallet Token.
304
364
  module Status
305
365
  extend Increase::Internal::Type::Enum
@@ -278,27 +278,14 @@ module Increase
278
278
  def self?.values: -> ::Array[Increase::Models::CheckTransfer::fulfillment_method]
279
279
  end
280
280
 
281
- type mailing =
282
- { image_id: String?, mailed_at: Time, tracking_number: String? }
281
+ type mailing = { mailed_at: Time }
283
282
 
284
283
  class Mailing < Increase::Internal::Type::BaseModel
285
- attr_accessor image_id: String?
286
-
287
284
  attr_accessor mailed_at: Time
288
285
 
289
- attr_accessor tracking_number: String?
290
-
291
- def initialize: (
292
- image_id: String?,
293
- mailed_at: Time,
294
- tracking_number: String?
295
- ) -> void
286
+ def initialize: (mailed_at: Time) -> void
296
287
 
297
- def to_hash: -> {
298
- image_id: String?,
299
- mailed_at: Time,
300
- tracking_number: String?
301
- }
288
+ def to_hash: -> { mailed_at: Time }
302
289
  end
303
290
 
304
291
  type physical_check =
@@ -661,23 +648,33 @@ module Increase
661
648
 
662
649
  type submission =
663
650
  {
651
+ preview_file_id: String?,
664
652
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
665
- submitted_at: Time
653
+ submitted_at: Time,
654
+ tracking_number: String?
666
655
  }
667
656
 
668
657
  class Submission < Increase::Internal::Type::BaseModel
658
+ attr_accessor preview_file_id: String?
659
+
669
660
  attr_accessor submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress
670
661
 
671
662
  attr_accessor submitted_at: Time
672
663
 
664
+ attr_accessor tracking_number: String?
665
+
673
666
  def initialize: (
667
+ preview_file_id: String?,
674
668
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
675
- submitted_at: Time
669
+ submitted_at: Time,
670
+ tracking_number: String?
676
671
  ) -> void
677
672
 
678
673
  def to_hash: -> {
674
+ preview_file_id: String?,
679
675
  submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress,
680
- submitted_at: Time
676
+ submitted_at: Time,
677
+ tracking_number: String?
681
678
  }
682
679
 
683
680
  type submitted_address =
@@ -7,6 +7,7 @@ module Increase
7
7
  cardholder: Increase::DigitalWalletToken::Cardholder,
8
8
  created_at: Time,
9
9
  device: Increase::DigitalWalletToken::Device,
10
+ dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
10
11
  status: Increase::Models::DigitalWalletToken::status,
11
12
  token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
12
13
  type: Increase::Models::DigitalWalletToken::type_,
@@ -24,6 +25,8 @@ module Increase
24
25
 
25
26
  attr_accessor device: Increase::DigitalWalletToken::Device
26
27
 
28
+ attr_accessor dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?
29
+
27
30
  attr_accessor status: Increase::Models::DigitalWalletToken::status
28
31
 
29
32
  attr_accessor token_requestor: Increase::Models::DigitalWalletToken::token_requestor
@@ -38,6 +41,7 @@ module Increase
38
41
  cardholder: Increase::DigitalWalletToken::Cardholder,
39
42
  created_at: Time,
40
43
  device: Increase::DigitalWalletToken::Device,
44
+ dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
41
45
  status: Increase::Models::DigitalWalletToken::status,
42
46
  token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
43
47
  type: Increase::Models::DigitalWalletToken::type_,
@@ -50,6 +54,7 @@ module Increase
50
54
  cardholder: Increase::DigitalWalletToken::Cardholder,
51
55
  created_at: Time,
52
56
  device: Increase::DigitalWalletToken::Device,
57
+ dynamic_primary_account_number: Increase::DigitalWalletToken::DynamicPrimaryAccountNumber?,
53
58
  status: Increase::Models::DigitalWalletToken::status,
54
59
  token_requestor: Increase::Models::DigitalWalletToken::token_requestor,
55
60
  type: Increase::Models::DigitalWalletToken::type_,
@@ -142,6 +147,19 @@ module Increase
142
147
  end
143
148
  end
144
149
 
150
+ type dynamic_primary_account_number =
151
+ { :first6 => String, :last4 => String }
152
+
153
+ class DynamicPrimaryAccountNumber < Increase::Internal::Type::BaseModel
154
+ attr_accessor first6: String
155
+
156
+ attr_accessor last4: String
157
+
158
+ def initialize: (first6: String, last4: String) -> void
159
+
160
+ def to_hash: -> { :first6 => String, :last4 => String }
161
+ end
162
+
145
163
  type status = :active | :inactive | :suspended | :deactivated
146
164
 
147
165
  module Status
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.179.0
4
+ version: 1.181.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-01-22 00:00:00.000000000 Z
11
+ date: 2026-01-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi