increase 1.24.0 → 1.26.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: 2e8c91a0fbe7961733a110efa71a787a02e6a288e7f843dc966c9a39d72b2f93
4
- data.tar.gz: 5a698a74281ecba0dc761084254b3d025e0d3e90545856f1f98ab45eb4cb25bf
3
+ metadata.gz: 56a924360e0d8ea38207c5e7f661b0825fcc4bc15856c66b99710e4e1aa47651
4
+ data.tar.gz: 82a9337987e06e0342ce0aa0cace248e23024f0a95dc585d17151649e7a43f3a
5
5
  SHA512:
6
- metadata.gz: 56ae3d44687c8fab0fd1757cc49ee199d242e21a5d44a080e0241f219ea7db947512fc868277cf334c9d9aa2e749374d543e04487c572202c322bd613abc7ba4
7
- data.tar.gz: f8ac4007c8b6b86b349edab08a9cb6a8d44fcc05d1cb30ead9d446e478d3a79491b77a85a238e8e1ba07f2325ef770f89f38b1897664fc439d0246e6da9156ac
6
+ metadata.gz: ba796987e6672567c22272829bd3d12e1ffaf73f8591f91586a1ec6e7cce117cde25e8257bb4e88b9ecd61ce48826728454fa32d21e19256861fbed8af833bed
7
+ data.tar.gz: 858a9db4237e4e8cda5163e0bd51c2a2950dfc794ab6ff86f7c923bbf5b79279de2a9e82d91859656d8f9a6b989ae6979fb363060f26e6d672e7e5f987ac9769
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.26.0 (2025-08-06)
4
+
5
+ Full Changelog: [v1.25.0...v1.26.0](https://github.com/Increase/increase-ruby/compare/v1.25.0...v1.26.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([ead23ff](https://github.com/Increase/increase-ruby/commit/ead23ffebd18c71e3ae34fbec6ecbe20a0805586))
10
+
11
+ ## 1.25.0 (2025-08-06)
12
+
13
+ Full Changelog: [v1.24.0...v1.25.0](https://github.com/Increase/increase-ruby/compare/v1.24.0...v1.25.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([4df799b](https://github.com/Increase/increase-ruby/commit/4df799b8e62c9c406aec3ff033fa514b6180275b))
18
+
3
19
  ## 1.24.0 (2025-08-04)
4
20
 
5
21
  Full Changelog: [v1.23.0...v1.24.0](https://github.com/Increase/increase-ruby/compare/v1.23.0...v1.24.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.24.0"
18
+ gem "increase", "~> 1.26.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -214,6 +214,18 @@ module Increase
214
214
  },
215
215
  nil?: true
216
216
 
217
+ # @!attribute card_dispute_financial
218
+ # A Card Dispute Financial object. This field will be present in the JSON response
219
+ # if and only if `category` is equal to `card_dispute_financial`. Financial event
220
+ # related to a Card Dispute.
221
+ #
222
+ # @return [Increase::Models::Transaction::Source::CardDisputeFinancial, nil]
223
+ required :card_dispute_financial,
224
+ -> {
225
+ Increase::Transaction::Source::CardDisputeFinancial
226
+ },
227
+ nil?: true
228
+
217
229
  # @!attribute card_dispute_loss
218
230
  # A Card Dispute Loss object. This field will be present in the JSON response if
219
231
  # and only if `category` is equal to `card_dispute_loss`. Contains the details of
@@ -484,7 +496,7 @@ module Increase
484
496
  },
485
497
  nil?: true
486
498
 
487
- # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
499
+ # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_financial:, card_dispute_loss:, card_push_transfer_acceptance:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:)
488
500
  # Some parameter documentations has been truncated, see
489
501
  # {Increase::Models::Transaction::Source} for more details.
490
502
  #
@@ -503,6 +515,8 @@ module Increase
503
515
  #
504
516
  # @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons
505
517
  #
518
+ # @param card_dispute_financial [Increase::Models::Transaction::Source::CardDisputeFinancial, nil] A Card Dispute Financial object. This field will be present in the JSON response
519
+ #
506
520
  # @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a
507
521
  #
508
522
  # @param card_push_transfer_acceptance [Increase::Models::Transaction::Source::CardPushTransferAcceptance, nil] A Card Push Transfer Acceptance object. This field will be present in the JSON r
@@ -1049,6 +1063,123 @@ module Increase
1049
1063
  # @param transaction_id [String] The identifier of the Transaction that was created to return the disputed funds
1050
1064
  end
1051
1065
 
1066
+ # @see Increase::Models::Transaction::Source#card_dispute_financial
1067
+ class CardDisputeFinancial < Increase::Internal::Type::BaseModel
1068
+ # @!attribute amount
1069
+ # The amount of the financial event.
1070
+ #
1071
+ # @return [Integer]
1072
+ required :amount, Integer
1073
+
1074
+ # @!attribute card_dispute_id
1075
+ # The identifier of the Card Dispute the financial event is associated with.
1076
+ #
1077
+ # @return [String]
1078
+ required :card_dispute_id, String
1079
+
1080
+ # @!attribute network
1081
+ # The network that the Card Dispute is associated with.
1082
+ #
1083
+ # @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network]
1084
+ required :network, enum: -> { Increase::Transaction::Source::CardDisputeFinancial::Network }
1085
+
1086
+ # @!attribute transaction_id
1087
+ # The identifier of the Transaction that was created to credit or debit the
1088
+ # disputed funds to or from your account.
1089
+ #
1090
+ # @return [String]
1091
+ required :transaction_id, String
1092
+
1093
+ # @!attribute visa
1094
+ # Information for events related to card dispute for card payments processed over
1095
+ # Visa's network. This field will be present in the JSON response if and only if
1096
+ # `network` is equal to `visa`.
1097
+ #
1098
+ # @return [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil]
1099
+ required :visa, -> { Increase::Transaction::Source::CardDisputeFinancial::Visa }, nil?: true
1100
+
1101
+ # @!method initialize(amount:, card_dispute_id:, network:, transaction_id:, visa:)
1102
+ # Some parameter documentations has been truncated, see
1103
+ # {Increase::Models::Transaction::Source::CardDisputeFinancial} for more details.
1104
+ #
1105
+ # A Card Dispute Financial object. This field will be present in the JSON response
1106
+ # if and only if `category` is equal to `card_dispute_financial`. Financial event
1107
+ # related to a Card Dispute.
1108
+ #
1109
+ # @param amount [Integer] The amount of the financial event.
1110
+ #
1111
+ # @param card_dispute_id [String] The identifier of the Card Dispute the financial event is associated with.
1112
+ #
1113
+ # @param network [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Network] The network that the Card Dispute is associated with.
1114
+ #
1115
+ # @param transaction_id [String] The identifier of the Transaction that was created to credit or debit the disput
1116
+ #
1117
+ # @param visa [Increase::Models::Transaction::Source::CardDisputeFinancial::Visa, nil] Information for events related to card dispute for card payments processed over
1118
+
1119
+ # The network that the Card Dispute is associated with.
1120
+ #
1121
+ # @see Increase::Models::Transaction::Source::CardDisputeFinancial#network
1122
+ module Network
1123
+ extend Increase::Internal::Type::Enum
1124
+
1125
+ # Visa: details will be under the `visa` object.
1126
+ VISA = :visa
1127
+
1128
+ # @!method self.values
1129
+ # @return [Array<Symbol>]
1130
+ end
1131
+
1132
+ # @see Increase::Models::Transaction::Source::CardDisputeFinancial#visa
1133
+ class Visa < Increase::Internal::Type::BaseModel
1134
+ # @!attribute event_type
1135
+ # The type of card dispute financial event.
1136
+ #
1137
+ # @return [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType]
1138
+ required :event_type,
1139
+ enum: -> {
1140
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
1141
+ }
1142
+
1143
+ # @!method initialize(event_type:)
1144
+ # Information for events related to card dispute for card payments processed over
1145
+ # Visa's network. This field will be present in the JSON response if and only if
1146
+ # `network` is equal to `visa`.
1147
+ #
1148
+ # @param event_type [Symbol, Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::EventType] The type of card dispute financial event.
1149
+
1150
+ # The type of card dispute financial event.
1151
+ #
1152
+ # @see Increase::Models::Transaction::Source::CardDisputeFinancial::Visa#event_type
1153
+ module EventType
1154
+ extend Increase::Internal::Type::Enum
1155
+
1156
+ # The user's chargeback was submitted.
1157
+ CHARGEBACK_SUBMITTED = :chargeback_submitted
1158
+
1159
+ # The user declined the merchant's request for pre-arbitration.
1160
+ MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED = :merchant_prearbitration_request_decline_submitted
1161
+
1162
+ # The merchant's request for pre-arbitration was received.
1163
+ MERCHANT_PREARBITRATION_REQUEST_RECEIVED = :merchant_prearbitration_request_received
1164
+
1165
+ # The transaction was represented by the merchant.
1166
+ REPRESENTED = :represented
1167
+
1168
+ # The user's request for pre-arbitration was declined.
1169
+ USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED = :user_prearbitration_request_decline_received
1170
+
1171
+ # The user's request for pre-arbitration was submitted.
1172
+ USER_PREARBITRATION_REQUEST_SUBMITTED = :user_prearbitration_request_submitted
1173
+
1174
+ # The user withdrew from the dispute.
1175
+ USER_WITHDRAWAL_SUBMITTED = :user_withdrawal_submitted
1176
+
1177
+ # @!method self.values
1178
+ # @return [Array<Symbol>]
1179
+ end
1180
+ end
1181
+ end
1182
+
1052
1183
  # @see Increase::Models::Transaction::Source#card_dispute_loss
1053
1184
  class CardDisputeLoss < Increase::Internal::Type::BaseModel
1054
1185
  # @!attribute card_dispute_id
@@ -4041,6 +4172,9 @@ module Increase
4041
4172
  # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
4042
4173
  CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
4043
4174
 
4175
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
4176
+ CARD_DISPUTE_FINANCIAL = :card_dispute_financial
4177
+
4044
4178
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
4045
4179
  CARD_DISPUTE_LOSS = :card_dispute_loss
4046
4180
 
@@ -100,6 +100,9 @@ module Increase
100
100
  # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
101
101
  CARD_DISPUTE_ACCEPTANCE = :card_dispute_acceptance
102
102
 
103
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
104
+ CARD_DISPUTE_FINANCIAL = :card_dispute_financial
105
+
103
106
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
104
107
  CARD_DISPUTE_LOSS = :card_dispute_loss
105
108
 
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.24.0"
4
+ VERSION = "1.26.0"
5
5
  end
@@ -309,6 +309,26 @@ module Increase
309
309
  end
310
310
  attr_writer :card_dispute_acceptance
311
311
 
312
+ # A Card Dispute Financial object. This field will be present in the JSON response
313
+ # if and only if `category` is equal to `card_dispute_financial`. Financial event
314
+ # related to a Card Dispute.
315
+ sig do
316
+ returns(
317
+ T.nilable(Increase::Transaction::Source::CardDisputeFinancial)
318
+ )
319
+ end
320
+ attr_reader :card_dispute_financial
321
+
322
+ sig do
323
+ params(
324
+ card_dispute_financial:
325
+ T.nilable(
326
+ Increase::Transaction::Source::CardDisputeFinancial::OrHash
327
+ )
328
+ ).void
329
+ end
330
+ attr_writer :card_dispute_financial
331
+
312
332
  # A Card Dispute Loss object. This field will be present in the JSON response if
313
333
  # and only if `category` is equal to `card_dispute_loss`. Contains the details of
314
334
  # a lost Card Dispute.
@@ -837,6 +857,10 @@ module Increase
837
857
  T.nilable(
838
858
  Increase::Transaction::Source::CardDisputeAcceptance::OrHash
839
859
  ),
860
+ card_dispute_financial:
861
+ T.nilable(
862
+ Increase::Transaction::Source::CardDisputeFinancial::OrHash
863
+ ),
840
864
  card_dispute_loss:
841
865
  T.nilable(Increase::Transaction::Source::CardDisputeLoss::OrHash),
842
866
  card_push_transfer_acceptance:
@@ -952,6 +976,10 @@ module Increase
952
976
  # response if and only if `category` is equal to `card_dispute_acceptance`.
953
977
  # Contains the details of a successful Card Dispute.
954
978
  card_dispute_acceptance:,
979
+ # A Card Dispute Financial object. This field will be present in the JSON response
980
+ # if and only if `category` is equal to `card_dispute_financial`. Financial event
981
+ # related to a Card Dispute.
982
+ card_dispute_financial:,
955
983
  # A Card Dispute Loss object. This field will be present in the JSON response if
956
984
  # and only if `category` is equal to `card_dispute_loss`. Contains the details of
957
985
  # a lost Card Dispute.
@@ -1104,6 +1132,8 @@ module Increase
1104
1132
  T.nilable(Increase::Transaction::Source::ACHTransferReturn),
1105
1133
  card_dispute_acceptance:
1106
1134
  T.nilable(Increase::Transaction::Source::CardDisputeAcceptance),
1135
+ card_dispute_financial:
1136
+ T.nilable(Increase::Transaction::Source::CardDisputeFinancial),
1107
1137
  card_dispute_loss:
1108
1138
  T.nilable(Increase::Transaction::Source::CardDisputeLoss),
1109
1139
  card_push_transfer_acceptance:
@@ -2110,6 +2140,258 @@ module Increase
2110
2140
  end
2111
2141
  end
2112
2142
 
2143
+ class CardDisputeFinancial < Increase::Internal::Type::BaseModel
2144
+ OrHash =
2145
+ T.type_alias do
2146
+ T.any(
2147
+ Increase::Transaction::Source::CardDisputeFinancial,
2148
+ Increase::Internal::AnyHash
2149
+ )
2150
+ end
2151
+
2152
+ # The amount of the financial event.
2153
+ sig { returns(Integer) }
2154
+ attr_accessor :amount
2155
+
2156
+ # The identifier of the Card Dispute the financial event is associated with.
2157
+ sig { returns(String) }
2158
+ attr_accessor :card_dispute_id
2159
+
2160
+ # The network that the Card Dispute is associated with.
2161
+ sig do
2162
+ returns(
2163
+ Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
2164
+ )
2165
+ end
2166
+ attr_accessor :network
2167
+
2168
+ # The identifier of the Transaction that was created to credit or debit the
2169
+ # disputed funds to or from your account.
2170
+ sig { returns(String) }
2171
+ attr_accessor :transaction_id
2172
+
2173
+ # Information for events related to card dispute for card payments processed over
2174
+ # Visa's network. This field will be present in the JSON response if and only if
2175
+ # `network` is equal to `visa`.
2176
+ sig do
2177
+ returns(
2178
+ T.nilable(
2179
+ Increase::Transaction::Source::CardDisputeFinancial::Visa
2180
+ )
2181
+ )
2182
+ end
2183
+ attr_reader :visa
2184
+
2185
+ sig do
2186
+ params(
2187
+ visa:
2188
+ T.nilable(
2189
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::OrHash
2190
+ )
2191
+ ).void
2192
+ end
2193
+ attr_writer :visa
2194
+
2195
+ # A Card Dispute Financial object. This field will be present in the JSON response
2196
+ # if and only if `category` is equal to `card_dispute_financial`. Financial event
2197
+ # related to a Card Dispute.
2198
+ sig do
2199
+ params(
2200
+ amount: Integer,
2201
+ card_dispute_id: String,
2202
+ network:
2203
+ Increase::Transaction::Source::CardDisputeFinancial::Network::OrSymbol,
2204
+ transaction_id: String,
2205
+ visa:
2206
+ T.nilable(
2207
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::OrHash
2208
+ )
2209
+ ).returns(T.attached_class)
2210
+ end
2211
+ def self.new(
2212
+ # The amount of the financial event.
2213
+ amount:,
2214
+ # The identifier of the Card Dispute the financial event is associated with.
2215
+ card_dispute_id:,
2216
+ # The network that the Card Dispute is associated with.
2217
+ network:,
2218
+ # The identifier of the Transaction that was created to credit or debit the
2219
+ # disputed funds to or from your account.
2220
+ transaction_id:,
2221
+ # Information for events related to card dispute for card payments processed over
2222
+ # Visa's network. This field will be present in the JSON response if and only if
2223
+ # `network` is equal to `visa`.
2224
+ visa:
2225
+ )
2226
+ end
2227
+
2228
+ sig do
2229
+ override.returns(
2230
+ {
2231
+ amount: Integer,
2232
+ card_dispute_id: String,
2233
+ network:
2234
+ Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol,
2235
+ transaction_id: String,
2236
+ visa:
2237
+ T.nilable(
2238
+ Increase::Transaction::Source::CardDisputeFinancial::Visa
2239
+ )
2240
+ }
2241
+ )
2242
+ end
2243
+ def to_hash
2244
+ end
2245
+
2246
+ # The network that the Card Dispute is associated with.
2247
+ module Network
2248
+ extend Increase::Internal::Type::Enum
2249
+
2250
+ TaggedSymbol =
2251
+ T.type_alias do
2252
+ T.all(
2253
+ Symbol,
2254
+ Increase::Transaction::Source::CardDisputeFinancial::Network
2255
+ )
2256
+ end
2257
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2258
+
2259
+ # Visa: details will be under the `visa` object.
2260
+ VISA =
2261
+ T.let(
2262
+ :visa,
2263
+ Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
2264
+ )
2265
+
2266
+ sig do
2267
+ override.returns(
2268
+ T::Array[
2269
+ Increase::Transaction::Source::CardDisputeFinancial::Network::TaggedSymbol
2270
+ ]
2271
+ )
2272
+ end
2273
+ def self.values
2274
+ end
2275
+ end
2276
+
2277
+ class Visa < Increase::Internal::Type::BaseModel
2278
+ OrHash =
2279
+ T.type_alias do
2280
+ T.any(
2281
+ Increase::Transaction::Source::CardDisputeFinancial::Visa,
2282
+ Increase::Internal::AnyHash
2283
+ )
2284
+ end
2285
+
2286
+ # The type of card dispute financial event.
2287
+ sig do
2288
+ returns(
2289
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2290
+ )
2291
+ end
2292
+ attr_accessor :event_type
2293
+
2294
+ # Information for events related to card dispute for card payments processed over
2295
+ # Visa's network. This field will be present in the JSON response if and only if
2296
+ # `network` is equal to `visa`.
2297
+ sig do
2298
+ params(
2299
+ event_type:
2300
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::OrSymbol
2301
+ ).returns(T.attached_class)
2302
+ end
2303
+ def self.new(
2304
+ # The type of card dispute financial event.
2305
+ event_type:
2306
+ )
2307
+ end
2308
+
2309
+ sig do
2310
+ override.returns(
2311
+ {
2312
+ event_type:
2313
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2314
+ }
2315
+ )
2316
+ end
2317
+ def to_hash
2318
+ end
2319
+
2320
+ # The type of card dispute financial event.
2321
+ module EventType
2322
+ extend Increase::Internal::Type::Enum
2323
+
2324
+ TaggedSymbol =
2325
+ T.type_alias do
2326
+ T.all(
2327
+ Symbol,
2328
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType
2329
+ )
2330
+ end
2331
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
2332
+
2333
+ # The user's chargeback was submitted.
2334
+ CHARGEBACK_SUBMITTED =
2335
+ T.let(
2336
+ :chargeback_submitted,
2337
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2338
+ )
2339
+
2340
+ # The user declined the merchant's request for pre-arbitration.
2341
+ MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED =
2342
+ T.let(
2343
+ :merchant_prearbitration_request_decline_submitted,
2344
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2345
+ )
2346
+
2347
+ # The merchant's request for pre-arbitration was received.
2348
+ MERCHANT_PREARBITRATION_REQUEST_RECEIVED =
2349
+ T.let(
2350
+ :merchant_prearbitration_request_received,
2351
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2352
+ )
2353
+
2354
+ # The transaction was represented by the merchant.
2355
+ REPRESENTED =
2356
+ T.let(
2357
+ :represented,
2358
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2359
+ )
2360
+
2361
+ # The user's request for pre-arbitration was declined.
2362
+ USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED =
2363
+ T.let(
2364
+ :user_prearbitration_request_decline_received,
2365
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2366
+ )
2367
+
2368
+ # The user's request for pre-arbitration was submitted.
2369
+ USER_PREARBITRATION_REQUEST_SUBMITTED =
2370
+ T.let(
2371
+ :user_prearbitration_request_submitted,
2372
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2373
+ )
2374
+
2375
+ # The user withdrew from the dispute.
2376
+ USER_WITHDRAWAL_SUBMITTED =
2377
+ T.let(
2378
+ :user_withdrawal_submitted,
2379
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2380
+ )
2381
+
2382
+ sig do
2383
+ override.returns(
2384
+ T::Array[
2385
+ Increase::Transaction::Source::CardDisputeFinancial::Visa::EventType::TaggedSymbol
2386
+ ]
2387
+ )
2388
+ end
2389
+ def self.values
2390
+ end
2391
+ end
2392
+ end
2393
+ end
2394
+
2113
2395
  class CardDisputeLoss < Increase::Internal::Type::BaseModel
2114
2396
  OrHash =
2115
2397
  T.type_alias do
@@ -7433,6 +7715,13 @@ module Increase
7433
7715
  Increase::Transaction::Source::Category::TaggedSymbol
7434
7716
  )
7435
7717
 
7718
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
7719
+ CARD_DISPUTE_FINANCIAL =
7720
+ T.let(
7721
+ :card_dispute_financial,
7722
+ Increase::Transaction::Source::Category::TaggedSymbol
7723
+ )
7724
+
7436
7725
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
7437
7726
  CARD_DISPUTE_LOSS =
7438
7727
  T.let(
@@ -208,6 +208,13 @@ module Increase
208
208
  Increase::TransactionListParams::Category::In::TaggedSymbol
209
209
  )
210
210
 
211
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
212
+ CARD_DISPUTE_FINANCIAL =
213
+ T.let(
214
+ :card_dispute_financial,
215
+ Increase::TransactionListParams::Category::In::TaggedSymbol
216
+ )
217
+
211
218
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
212
219
  CARD_DISPUTE_LOSS =
213
220
  T.let(
@@ -111,6 +111,7 @@ module Increase
111
111
  ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
112
112
  ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
113
113
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
114
+ card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
114
115
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
115
116
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
116
117
  card_refund: Increase::Transaction::Source::CardRefund?,
@@ -151,6 +152,8 @@ module Increase
151
152
 
152
153
  attr_accessor card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?
153
154
 
155
+ attr_accessor card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?
156
+
154
157
  attr_accessor card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?
155
158
 
156
159
  attr_accessor card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?
@@ -211,6 +214,7 @@ module Increase
211
214
  ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
212
215
  ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
213
216
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
217
+ card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
214
218
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
215
219
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
216
220
  card_refund: Increase::Transaction::Source::CardRefund?,
@@ -246,6 +250,7 @@ module Increase
246
250
  ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
247
251
  ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
248
252
  card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
253
+ card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
249
254
  card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
250
255
  card_push_transfer_acceptance: Increase::Transaction::Source::CardPushTransferAcceptance?,
251
256
  card_refund: Increase::Transaction::Source::CardRefund?,
@@ -743,6 +748,107 @@ module Increase
743
748
  }
744
749
  end
745
750
 
751
+ type card_dispute_financial =
752
+ {
753
+ amount: Integer,
754
+ card_dispute_id: String,
755
+ network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
756
+ transaction_id: String,
757
+ visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
758
+ }
759
+
760
+ class CardDisputeFinancial < Increase::Internal::Type::BaseModel
761
+ attr_accessor amount: Integer
762
+
763
+ attr_accessor card_dispute_id: String
764
+
765
+ attr_accessor network: Increase::Models::Transaction::Source::CardDisputeFinancial::network
766
+
767
+ attr_accessor transaction_id: String
768
+
769
+ attr_accessor visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
770
+
771
+ def initialize: (
772
+ amount: Integer,
773
+ card_dispute_id: String,
774
+ network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
775
+ transaction_id: String,
776
+ visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
777
+ ) -> void
778
+
779
+ def to_hash: -> {
780
+ amount: Integer,
781
+ card_dispute_id: String,
782
+ network: Increase::Models::Transaction::Source::CardDisputeFinancial::network,
783
+ transaction_id: String,
784
+ visa: Increase::Transaction::Source::CardDisputeFinancial::Visa?
785
+ }
786
+
787
+ type network = :visa
788
+
789
+ module Network
790
+ extend Increase::Internal::Type::Enum
791
+
792
+ # Visa: details will be under the `visa` object.
793
+ VISA: :visa
794
+
795
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardDisputeFinancial::network]
796
+ end
797
+
798
+ type visa =
799
+ {
800
+ event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
801
+ }
802
+
803
+ class Visa < Increase::Internal::Type::BaseModel
804
+ attr_accessor event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
805
+
806
+ def initialize: (
807
+ event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
808
+ ) -> void
809
+
810
+ def to_hash: -> {
811
+ event_type: Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type
812
+ }
813
+
814
+ type event_type =
815
+ :chargeback_submitted
816
+ | :merchant_prearbitration_request_decline_submitted
817
+ | :merchant_prearbitration_request_received
818
+ | :represented
819
+ | :user_prearbitration_request_decline_received
820
+ | :user_prearbitration_request_submitted
821
+ | :user_withdrawal_submitted
822
+
823
+ module EventType
824
+ extend Increase::Internal::Type::Enum
825
+
826
+ # The user's chargeback was submitted.
827
+ CHARGEBACK_SUBMITTED: :chargeback_submitted
828
+
829
+ # The user declined the merchant's request for pre-arbitration.
830
+ MERCHANT_PREARBITRATION_REQUEST_DECLINE_SUBMITTED: :merchant_prearbitration_request_decline_submitted
831
+
832
+ # The merchant's request for pre-arbitration was received.
833
+ MERCHANT_PREARBITRATION_REQUEST_RECEIVED: :merchant_prearbitration_request_received
834
+
835
+ # The transaction was represented by the merchant.
836
+ REPRESENTED: :represented
837
+
838
+ # The user's request for pre-arbitration was declined.
839
+ USER_PREARBITRATION_REQUEST_DECLINE_RECEIVED: :user_prearbitration_request_decline_received
840
+
841
+ # The user's request for pre-arbitration was submitted.
842
+ USER_PREARBITRATION_REQUEST_SUBMITTED: :user_prearbitration_request_submitted
843
+
844
+ # The user withdrew from the dispute.
845
+ USER_WITHDRAWAL_SUBMITTED: :user_withdrawal_submitted
846
+
847
+ def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardDisputeFinancial::Visa::event_type]
848
+ end
849
+ end
850
+ end
851
+
746
852
  type card_dispute_loss =
747
853
  {
748
854
  card_dispute_id: String,
@@ -2983,6 +3089,7 @@ module Increase
2983
3089
  | :ach_transfer_return
2984
3090
  | :cashback_payment
2985
3091
  | :card_dispute_acceptance
3092
+ | :card_dispute_financial
2986
3093
  | :card_dispute_loss
2987
3094
  | :card_refund
2988
3095
  | :card_settlement
@@ -3030,6 +3137,9 @@ module Increase
3030
3137
  # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
3031
3138
  CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance
3032
3139
 
3140
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
3141
+ CARD_DISPUTE_FINANCIAL: :card_dispute_financial
3142
+
3033
3143
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
3034
3144
  CARD_DISPUTE_LOSS: :card_dispute_loss
3035
3145
 
@@ -88,6 +88,7 @@ module Increase
88
88
  | :ach_transfer_return
89
89
  | :cashback_payment
90
90
  | :card_dispute_acceptance
91
+ | :card_dispute_financial
91
92
  | :card_dispute_loss
92
93
  | :card_refund
93
94
  | :card_settlement
@@ -135,6 +136,9 @@ module Increase
135
136
  # Card Dispute Acceptance: details will be under the `card_dispute_acceptance` object.
136
137
  CARD_DISPUTE_ACCEPTANCE: :card_dispute_acceptance
137
138
 
139
+ # Card Dispute Financial: details will be under the `card_dispute_financial` object.
140
+ CARD_DISPUTE_FINANCIAL: :card_dispute_financial
141
+
138
142
  # Card Dispute Loss: details will be under the `card_dispute_loss` object.
139
143
  CARD_DISPUTE_LOSS: :card_dispute_loss
140
144
 
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.24.0
4
+ version: 1.26.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-08-04 00:00:00.000000000 Z
11
+ date: 2025-08-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: connection_pool