increase 1.357.0 → 1.358.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.
Files changed (49) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/lib/increase/models/account_statement.rb +12 -8
  4. data/lib/increase/models/card.rb +106 -1
  5. data/lib/increase/models/card_create_params.rb +63 -1
  6. data/lib/increase/models/card_renew_params.rb +22 -0
  7. data/lib/increase/models/entity_create_params.rb +8 -4
  8. data/lib/increase/models/entity_update_params.rb +8 -4
  9. data/lib/increase/models/export.rb +12 -12
  10. data/lib/increase/models/export_create_params.rb +19 -18
  11. data/lib/increase/models/inbound_fednow_transfer.rb +12 -3
  12. data/lib/increase/models/physical_card.rb +23 -1
  13. data/lib/increase/models/transaction.rb +6 -0
  14. data/lib/increase/models.rb +2 -0
  15. data/lib/increase/resources/cards.rb +29 -1
  16. data/lib/increase/resources/digital_card_profiles.rb +2 -2
  17. data/lib/increase/resources/files.rb +3 -1
  18. data/lib/increase/resources/intrafi_account_enrollments.rb +2 -2
  19. data/lib/increase/resources/physical_card_profiles.rb +1 -1
  20. data/lib/increase/resources/supplemental_documents.rb +2 -2
  21. data/lib/increase/version.rb +1 -1
  22. data/lib/increase.rb +1 -0
  23. data/rbi/increase/models/account_statement.rbi +12 -8
  24. data/rbi/increase/models/card.rbi +162 -0
  25. data/rbi/increase/models/card_create_params.rbi +120 -0
  26. data/rbi/increase/models/card_renew_params.rbi +40 -0
  27. data/rbi/increase/models/entity_create_params.rbi +8 -4
  28. data/rbi/increase/models/entity_update_params.rbi +8 -4
  29. data/rbi/increase/models/export.rbi +12 -12
  30. data/rbi/increase/models/export_create_params.rbi +18 -18
  31. data/rbi/increase/models/inbound_fednow_transfer.rbi +10 -2
  32. data/rbi/increase/models/physical_card.rbi +20 -0
  33. data/rbi/increase/models/transaction.rbi +14 -0
  34. data/rbi/increase/models.rbi +2 -0
  35. data/rbi/increase/resources/cards.rbi +22 -0
  36. data/rbi/increase/resources/digital_card_profiles.rbi +2 -2
  37. data/rbi/increase/resources/files.rbi +3 -1
  38. data/rbi/increase/resources/intrafi_account_enrollments.rbi +2 -2
  39. data/rbi/increase/resources/physical_card_profiles.rbi +1 -1
  40. data/rbi/increase/resources/supplemental_documents.rbi +2 -2
  41. data/sig/increase/models/card.rbs +79 -0
  42. data/sig/increase/models/card_create_params.rbs +52 -1
  43. data/sig/increase/models/card_renew_params.rbs +23 -0
  44. data/sig/increase/models/inbound_fednow_transfer.rbs +5 -0
  45. data/sig/increase/models/physical_card.rbs +10 -0
  46. data/sig/increase/models/transaction.rbs +8 -0
  47. data/sig/increase/models.rbs +2 -0
  48. data/sig/increase/resources/cards.rbs +6 -0
  49. metadata +5 -2
@@ -8,7 +8,8 @@ module Increase
8
8
  cardholder_name: Increase::CardCreateParams::CardholderName,
9
9
  description: String,
10
10
  digital_wallet: Increase::CardCreateParams::DigitalWallet,
11
- entity_id: String
11
+ entity_id: String,
12
+ replacement_for: Increase::CardCreateParams::ReplacementFor
12
13
  }
13
14
  & Increase::Internal::Type::request_parameters
14
15
 
@@ -50,6 +51,12 @@ module Increase
50
51
 
51
52
  def entity_id=: (String) -> String
52
53
 
54
+ attr_reader replacement_for: Increase::CardCreateParams::ReplacementFor?
55
+
56
+ def replacement_for=: (
57
+ Increase::CardCreateParams::ReplacementFor
58
+ ) -> Increase::CardCreateParams::ReplacementFor
59
+
53
60
  def initialize: (
54
61
  account_id: String,
55
62
  ?authorization_controls: Increase::CardCreateParams::AuthorizationControls,
@@ -58,6 +65,7 @@ module Increase
58
65
  ?description: String,
59
66
  ?digital_wallet: Increase::CardCreateParams::DigitalWallet,
60
67
  ?entity_id: String,
68
+ ?replacement_for: Increase::CardCreateParams::ReplacementFor,
61
69
  ?request_options: Increase::request_opts
62
70
  ) -> void
63
71
 
@@ -69,6 +77,7 @@ module Increase
69
77
  description: String,
70
78
  digital_wallet: Increase::CardCreateParams::DigitalWallet,
71
79
  entity_id: String,
80
+ replacement_for: Increase::CardCreateParams::ReplacementFor,
72
81
  request_options: Increase::RequestOptions
73
82
  }
74
83
 
@@ -541,6 +550,48 @@ module Increase
541
550
  phone: String
542
551
  }
543
552
  end
553
+
554
+ type replacement_for =
555
+ {
556
+ card_id: String,
557
+ reason: Increase::Models::CardCreateParams::ReplacementFor::reason
558
+ }
559
+
560
+ class ReplacementFor < Increase::Internal::Type::BaseModel
561
+ attr_accessor card_id: String
562
+
563
+ attr_accessor reason: Increase::Models::CardCreateParams::ReplacementFor::reason
564
+
565
+ def initialize: (
566
+ card_id: String,
567
+ reason: Increase::Models::CardCreateParams::ReplacementFor::reason
568
+ ) -> void
569
+
570
+ def to_hash: -> {
571
+ card_id: String,
572
+ reason: Increase::Models::CardCreateParams::ReplacementFor::reason
573
+ }
574
+
575
+ type reason = :expiring | :lost | :stolen | :fraud
576
+
577
+ module Reason
578
+ extend Increase::Internal::Type::Enum
579
+
580
+ # The replaced card is expiring. Merchants with the replaced card on file will be notified of the new card, and its digital wallet tokens that have not been deactivated will move to the new card.
581
+ EXPIRING: :expiring
582
+
583
+ # The replaced card was lost. Merchants will not be notified of the new card.
584
+ LOST: :lost
585
+
586
+ # The replaced card was stolen. Merchants will not be notified of the new card.
587
+ STOLEN: :stolen
588
+
589
+ # The replaced card was used fraudulently. Merchants will not be notified of the new card.
590
+ FRAUD: :fraud
591
+
592
+ def self?.values: -> ::Array[Increase::Models::CardCreateParams::ReplacementFor::reason]
593
+ end
594
+ end
544
595
  end
545
596
  end
546
597
  end
@@ -0,0 +1,23 @@
1
+ module Increase
2
+ module Models
3
+ type card_renew_params =
4
+ { card_id: String } & Increase::Internal::Type::request_parameters
5
+
6
+ class CardRenewParams < Increase::Internal::Type::BaseModel
7
+ extend Increase::Internal::Type::RequestParameters::Converter
8
+ include Increase::Internal::Type::RequestParameters
9
+
10
+ attr_accessor card_id: String
11
+
12
+ def initialize: (
13
+ card_id: String,
14
+ ?request_options: Increase::request_opts
15
+ ) -> void
16
+
17
+ def to_hash: -> {
18
+ card_id: String,
19
+ request_options: Increase::RequestOptions
20
+ }
21
+ end
22
+ end
23
+ end
@@ -15,6 +15,7 @@ module Increase
15
15
  debtor_routing_number: String,
16
16
  decline: Increase::InboundFednowTransfer::Decline?,
17
17
  end_to_end_identification: String?,
18
+ message_identification: String,
18
19
  status: Increase::Models::InboundFednowTransfer::status,
19
20
  transaction_id: String?,
20
21
  transaction_identification: String?,
@@ -50,6 +51,8 @@ module Increase
50
51
 
51
52
  attr_accessor end_to_end_identification: String?
52
53
 
54
+ attr_accessor message_identification: String
55
+
53
56
  attr_accessor status: Increase::Models::InboundFednowTransfer::status
54
57
 
55
58
  attr_accessor transaction_id: String?
@@ -76,6 +79,7 @@ module Increase
76
79
  debtor_routing_number: String,
77
80
  decline: Increase::InboundFednowTransfer::Decline?,
78
81
  end_to_end_identification: String?,
82
+ message_identification: String,
79
83
  status: Increase::Models::InboundFednowTransfer::status,
80
84
  transaction_id: String?,
81
85
  transaction_identification: String?,
@@ -98,6 +102,7 @@ module Increase
98
102
  debtor_routing_number: String,
99
103
  decline: Increase::InboundFednowTransfer::Decline?,
100
104
  end_to_end_identification: String?,
105
+ message_identification: String,
101
106
  status: Increase::Models::InboundFednowTransfer::status,
102
107
  transaction_id: String?,
103
108
  transaction_identification: String?,
@@ -7,6 +7,8 @@ module Increase
7
7
  card_id: String,
8
8
  cardholder: Increase::PhysicalCard::Cardholder,
9
9
  created_at: Time,
10
+ expiration_month: Integer,
11
+ expiration_year: Integer,
10
12
  idempotency_key: String?,
11
13
  physical_card_profile_id: String?,
12
14
  shipment: Increase::PhysicalCard::Shipment,
@@ -25,6 +27,10 @@ module Increase
25
27
 
26
28
  attr_accessor created_at: Time
27
29
 
30
+ attr_accessor expiration_month: Integer
31
+
32
+ attr_accessor expiration_year: Integer
33
+
28
34
  attr_accessor idempotency_key: String?
29
35
 
30
36
  attr_accessor physical_card_profile_id: String?
@@ -41,6 +47,8 @@ module Increase
41
47
  card_id: String,
42
48
  cardholder: Increase::PhysicalCard::Cardholder,
43
49
  created_at: Time,
50
+ expiration_month: Integer,
51
+ expiration_year: Integer,
44
52
  idempotency_key: String?,
45
53
  physical_card_profile_id: String?,
46
54
  shipment: Increase::PhysicalCard::Shipment,
@@ -54,6 +62,8 @@ module Increase
54
62
  card_id: String,
55
63
  cardholder: Increase::PhysicalCard::Cardholder,
56
64
  created_at: Time,
65
+ expiration_month: Integer,
66
+ expiration_year: Integer,
57
67
  idempotency_key: String?,
58
68
  physical_card_profile_id: String?,
59
69
  shipment: Increase::PhysicalCard::Shipment,
@@ -1058,9 +1058,11 @@ module Increase
1058
1058
 
1059
1059
  type event_type =
1060
1060
  :chargeback_submitted
1061
+ | :merchant_prearbitration_accepted
1061
1062
  | :merchant_prearbitration_decline_submitted
1062
1063
  | :merchant_prearbitration_received
1063
1064
  | :represented
1065
+ | :user_prearbitration_accepted
1064
1066
  | :user_prearbitration_decline_received
1065
1067
  | :user_prearbitration_submitted
1066
1068
  | :user_withdrawal_submitted
@@ -1071,6 +1073,9 @@ module Increase
1071
1073
  # The user's chargeback was submitted.
1072
1074
  CHARGEBACK_SUBMITTED: :chargeback_submitted
1073
1075
 
1076
+ # The merchant's pre-arbitration submission was accepted by the user or not responded to in time.
1077
+ MERCHANT_PREARBITRATION_ACCEPTED: :merchant_prearbitration_accepted
1078
+
1074
1079
  # The user declined the merchant's pre-arbitration submission.
1075
1080
  MERCHANT_PREARBITRATION_DECLINE_SUBMITTED: :merchant_prearbitration_decline_submitted
1076
1081
 
@@ -1080,6 +1085,9 @@ module Increase
1080
1085
  # The transaction was re-presented by the merchant.
1081
1086
  REPRESENTED: :represented
1082
1087
 
1088
+ # The user's pre-arbitration was accepted by the merchant or not responded to in time.
1089
+ USER_PREARBITRATION_ACCEPTED: :user_prearbitration_accepted
1090
+
1083
1091
  # The user's pre-arbitration was declined by the merchant.
1084
1092
  USER_PREARBITRATION_DECLINE_RECEIVED: :user_prearbitration_decline_received
1085
1093
 
@@ -127,6 +127,8 @@ module Increase
127
127
 
128
128
  class CardPushTransferRetrieveParams = Increase::Models::CardPushTransferRetrieveParams
129
129
 
130
+ class CardRenewParams = Increase::Models::CardRenewParams
131
+
130
132
  class CardRetrieveParams = Increase::Models::CardRetrieveParams
131
133
 
132
134
  class CardToken = Increase::Models::CardToken
@@ -9,6 +9,7 @@ module Increase
9
9
  ?description: String,
10
10
  ?digital_wallet: Increase::CardCreateParams::DigitalWallet,
11
11
  ?entity_id: String,
12
+ ?replacement_for: Increase::CardCreateParams::ReplacementFor,
12
13
  ?request_options: Increase::request_opts
13
14
  ) -> Increase::Card
14
15
 
@@ -54,6 +55,11 @@ module Increase
54
55
  ?request_options: Increase::request_opts
55
56
  ) -> Increase::CardDetails
56
57
 
58
+ def renew: (
59
+ String card_id,
60
+ ?request_options: Increase::request_opts
61
+ ) -> Increase::Card
62
+
57
63
  def update_pin: (
58
64
  String card_id,
59
65
  pin: String,
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.357.0
4
+ version: 1.358.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-10-12 00:00:00.000000000 Z
11
+ date: 2026-10-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi
@@ -147,6 +147,7 @@ files:
147
147
  - lib/increase/models/card_push_transfer_create_params.rb
148
148
  - lib/increase/models/card_push_transfer_list_params.rb
149
149
  - lib/increase/models/card_push_transfer_retrieve_params.rb
150
+ - lib/increase/models/card_renew_params.rb
150
151
  - lib/increase/models/card_retrieve_params.rb
151
152
  - lib/increase/models/card_token.rb
152
153
  - lib/increase/models/card_token_capabilities.rb
@@ -590,6 +591,7 @@ files:
590
591
  - rbi/increase/models/card_push_transfer_create_params.rbi
591
592
  - rbi/increase/models/card_push_transfer_list_params.rbi
592
593
  - rbi/increase/models/card_push_transfer_retrieve_params.rbi
594
+ - rbi/increase/models/card_renew_params.rbi
593
595
  - rbi/increase/models/card_retrieve_params.rbi
594
596
  - rbi/increase/models/card_token.rbi
595
597
  - rbi/increase/models/card_token_capabilities.rbi
@@ -1032,6 +1034,7 @@ files:
1032
1034
  - sig/increase/models/card_push_transfer_create_params.rbs
1033
1035
  - sig/increase/models/card_push_transfer_list_params.rbs
1034
1036
  - sig/increase/models/card_push_transfer_retrieve_params.rbs
1037
+ - sig/increase/models/card_renew_params.rbs
1035
1038
  - sig/increase/models/card_retrieve_params.rbs
1036
1039
  - sig/increase/models/card_token.rbs
1037
1040
  - sig/increase/models/card_token_capabilities.rbs