increase 1.126.0 → 1.128.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 (38) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/card_dispute.rb +311 -66
  5. data/lib/increase/models/card_dispute_create_params.rb +102 -30
  6. data/lib/increase/models/card_dispute_submit_user_submission_params.rb +104 -30
  7. data/lib/increase/models/card_payment.rb +60 -15
  8. data/lib/increase/models/declined_transaction.rb +21 -6
  9. data/lib/increase/models/export_create_params.rb +8 -3
  10. data/lib/increase/models/pending_transaction.rb +32 -33
  11. data/lib/increase/models/real_time_decision.rb +24 -6
  12. data/lib/increase/models/simulations/card_dispute_action_params.rb +97 -27
  13. data/lib/increase/models/transaction.rb +23 -6
  14. data/lib/increase/resources/exports.rb +1 -1
  15. data/lib/increase/version.rb +1 -1
  16. data/rbi/increase/models/card_dispute.rbi +1038 -88
  17. data/rbi/increase/models/card_dispute_create_params.rbi +364 -40
  18. data/rbi/increase/models/card_dispute_submit_user_submission_params.rbi +364 -40
  19. data/rbi/increase/models/card_payment.rbi +211 -20
  20. data/rbi/increase/models/declined_transaction.rbi +78 -8
  21. data/rbi/increase/models/export_create_params.rbi +25 -4
  22. data/rbi/increase/models/pending_transaction.rbi +90 -53
  23. data/rbi/increase/models/real_time_decision.rbi +90 -8
  24. data/rbi/increase/models/simulations/card_dispute_action_params.rbi +333 -36
  25. data/rbi/increase/models/transaction.rbi +76 -8
  26. data/rbi/increase/resources/exports.rbi +1 -1
  27. data/sig/increase/models/card_dispute.rbs +264 -88
  28. data/sig/increase/models/card_dispute_create_params.rbs +150 -50
  29. data/sig/increase/models/card_dispute_submit_user_submission_params.rbs +150 -50
  30. data/sig/increase/models/card_payment.rbs +60 -20
  31. data/sig/increase/models/declined_transaction.rbs +24 -8
  32. data/sig/increase/models/export_create_params.rbs +15 -5
  33. data/sig/increase/models/pending_transaction.rbs +29 -27
  34. data/sig/increase/models/real_time_decision.rbs +24 -8
  35. data/sig/increase/models/simulations/card_dispute_action_params.rbs +135 -45
  36. data/sig/increase/models/transaction.rbs +24 -8
  37. data/sig/increase/resources/exports.rbs +1 -1
  38. metadata +1 -1
@@ -205,8 +205,8 @@ module Increase
205
205
  # If the category of this Transaction source is equal to `other`, this field will
206
206
  # contain an empty object, otherwise it will contain null.
207
207
  #
208
- # @return [Object, nil]
209
- required :other, Increase::Internal::Type::Unknown, nil?: true
208
+ # @return [Increase::Models::CardPayment::Element::Other, nil]
209
+ required :other, -> { Increase::CardPayment::Element::Other }, nil?: true
210
210
 
211
211
  # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_financial:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:)
212
212
  # Some parameter documentations has been truncated, see
@@ -238,7 +238,7 @@ module Increase
238
238
  #
239
239
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
240
240
  #
241
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
241
+ # @param other [Increase::Models::CardPayment::Element::Other, nil] If the category of this Transaction source is equal to `other`, this field will
242
242
 
243
243
  # @see Increase::Models::CardPayment::Element#card_authentication
244
244
  class CardAuthentication < Increase::Internal::Type::BaseModel
@@ -1374,8 +1374,10 @@ module Increase
1374
1374
  # @!attribute pulse
1375
1375
  # Fields specific to the `pulse` network.
1376
1376
  #
1377
- # @return [Object, nil]
1378
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1377
+ # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil]
1378
+ required :pulse,
1379
+ -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse },
1380
+ nil?: true
1379
1381
 
1380
1382
  # @!attribute visa
1381
1383
  # Fields specific to the `visa` network.
@@ -1392,7 +1394,7 @@ module Increase
1392
1394
  #
1393
1395
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
1394
1396
  #
1395
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1397
+ # @param pulse [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1396
1398
  #
1397
1399
  # @param visa [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1398
1400
 
@@ -1412,6 +1414,12 @@ module Increase
1412
1414
  # @return [Array<Symbol>]
1413
1415
  end
1414
1416
 
1417
+ # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#pulse
1418
+ class Pulse < Increase::Internal::Type::BaseModel
1419
+ # @!method initialize
1420
+ # Fields specific to the `pulse` network.
1421
+ end
1422
+
1415
1423
  # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#visa
1416
1424
  class Visa < Increase::Internal::Type::BaseModel
1417
1425
  # @!attribute electronic_commerce_indicator
@@ -2684,8 +2692,12 @@ module Increase
2684
2692
  # @!attribute pulse
2685
2693
  # Fields specific to the `pulse` network.
2686
2694
  #
2687
- # @return [Object, nil]
2688
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
2695
+ # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil]
2696
+ required :pulse,
2697
+ -> {
2698
+ Increase::CardPayment::Element::CardDecline::NetworkDetails::Pulse
2699
+ },
2700
+ nil?: true
2689
2701
 
2690
2702
  # @!attribute visa
2691
2703
  # Fields specific to the `visa` network.
@@ -2702,7 +2714,7 @@ module Increase
2702
2714
  #
2703
2715
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
2704
2716
  #
2705
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
2717
+ # @param pulse [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
2706
2718
  #
2707
2719
  # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
2708
2720
 
@@ -2722,6 +2734,12 @@ module Increase
2722
2734
  # @return [Array<Symbol>]
2723
2735
  end
2724
2736
 
2737
+ # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#pulse
2738
+ class Pulse < Increase::Internal::Type::BaseModel
2739
+ # @!method initialize
2740
+ # Fields specific to the `pulse` network.
2741
+ end
2742
+
2725
2743
  # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa
2726
2744
  class Visa < Increase::Internal::Type::BaseModel
2727
2745
  # @!attribute electronic_commerce_indicator
@@ -3940,8 +3958,12 @@ module Increase
3940
3958
  # @!attribute pulse
3941
3959
  # Fields specific to the `pulse` network.
3942
3960
  #
3943
- # @return [Object, nil]
3944
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
3961
+ # @return [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil]
3962
+ required :pulse,
3963
+ -> {
3964
+ Increase::CardPayment::Element::CardFinancial::NetworkDetails::Pulse
3965
+ },
3966
+ nil?: true
3945
3967
 
3946
3968
  # @!attribute visa
3947
3969
  # Fields specific to the `visa` network.
@@ -3958,7 +3980,7 @@ module Increase
3958
3980
  #
3959
3981
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Category] The payment network used to process this card authorization.
3960
3982
  #
3961
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
3983
+ # @param pulse [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
3962
3984
  #
3963
3985
  # @param visa [Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
3964
3986
 
@@ -3978,6 +4000,12 @@ module Increase
3978
4000
  # @return [Array<Symbol>]
3979
4001
  end
3980
4002
 
4003
+ # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#pulse
4004
+ class Pulse < Increase::Internal::Type::BaseModel
4005
+ # @!method initialize
4006
+ # Fields specific to the `pulse` network.
4007
+ end
4008
+
3981
4009
  # @see Increase::Models::CardPayment::Element::CardFinancial::NetworkDetails#visa
3982
4010
  class Visa < Increase::Internal::Type::BaseModel
3983
4011
  # @!attribute electronic_commerce_indicator
@@ -9026,8 +9054,12 @@ module Increase
9026
9054
  # @!attribute pulse
9027
9055
  # Fields specific to the `pulse` network.
9028
9056
  #
9029
- # @return [Object, nil]
9030
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
9057
+ # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil]
9058
+ required :pulse,
9059
+ -> {
9060
+ Increase::CardPayment::Element::CardValidation::NetworkDetails::Pulse
9061
+ },
9062
+ nil?: true
9031
9063
 
9032
9064
  # @!attribute visa
9033
9065
  # Fields specific to the `visa` network.
@@ -9044,7 +9076,7 @@ module Increase
9044
9076
  #
9045
9077
  # @param category [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization.
9046
9078
  #
9047
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
9079
+ # @param pulse [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
9048
9080
  #
9049
9081
  # @param visa [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
9050
9082
 
@@ -9064,6 +9096,12 @@ module Increase
9064
9096
  # @return [Array<Symbol>]
9065
9097
  end
9066
9098
 
9099
+ # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#pulse
9100
+ class Pulse < Increase::Internal::Type::BaseModel
9101
+ # @!method initialize
9102
+ # Fields specific to the `pulse` network.
9103
+ end
9104
+
9067
9105
  # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#visa
9068
9106
  class Visa < Increase::Internal::Type::BaseModel
9069
9107
  # @!attribute electronic_commerce_indicator
@@ -9480,6 +9518,13 @@ module Increase
9480
9518
  # @!method self.values
9481
9519
  # @return [Array<Symbol>]
9482
9520
  end
9521
+
9522
+ # @see Increase::Models::CardPayment::Element#other
9523
+ class Other < Increase::Internal::Type::BaseModel
9524
+ # @!method initialize
9525
+ # If the category of this Transaction source is equal to `other`, this field will
9526
+ # contain an empty object, otherwise it will contain null.
9527
+ end
9483
9528
  end
9484
9529
 
9485
9530
  # @see Increase::Models::CardPayment#state
@@ -214,8 +214,8 @@ module Increase
214
214
  # If the category of this Transaction source is equal to `other`, this field will
215
215
  # contain an empty object, otherwise it will contain null.
216
216
  #
217
- # @return [Object, nil]
218
- required :other, Increase::Internal::Type::Unknown, nil?: true
217
+ # @return [Increase::Models::DeclinedTransaction::Source::Other, nil]
218
+ required :other, -> { Increase::DeclinedTransaction::Source::Other }, nil?: true
219
219
 
220
220
  # @!attribute wire_decline
221
221
  # A Wire Decline object. This field will be present in the JSON response if and
@@ -248,7 +248,7 @@ module Increase
248
248
  #
249
249
  # @param inbound_real_time_payments_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen
250
250
  #
251
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
251
+ # @param other [Increase::Models::DeclinedTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
252
252
  #
253
253
  # @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on
254
254
 
@@ -1185,8 +1185,10 @@ module Increase
1185
1185
  # @!attribute pulse
1186
1186
  # Fields specific to the `pulse` network.
1187
1187
  #
1188
- # @return [Object, nil]
1189
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1188
+ # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil]
1189
+ required :pulse,
1190
+ -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse },
1191
+ nil?: true
1190
1192
 
1191
1193
  # @!attribute visa
1192
1194
  # Fields specific to the `visa` network.
@@ -1201,7 +1203,7 @@ module Increase
1201
1203
  #
1202
1204
  # @param category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization.
1203
1205
  #
1204
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1206
+ # @param pulse [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1205
1207
  #
1206
1208
  # @param visa [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1207
1209
 
@@ -1221,6 +1223,12 @@ module Increase
1221
1223
  # @return [Array<Symbol>]
1222
1224
  end
1223
1225
 
1226
+ # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#pulse
1227
+ class Pulse < Increase::Internal::Type::BaseModel
1228
+ # @!method initialize
1229
+ # Fields specific to the `pulse` network.
1230
+ end
1231
+
1224
1232
  # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa
1225
1233
  class Visa < Increase::Internal::Type::BaseModel
1226
1234
  # @!attribute electronic_commerce_indicator
@@ -2225,6 +2233,13 @@ module Increase
2225
2233
  end
2226
2234
  end
2227
2235
 
2236
+ # @see Increase::Models::DeclinedTransaction::Source#other
2237
+ class Other < Increase::Internal::Type::BaseModel
2238
+ # @!method initialize
2239
+ # If the category of this Transaction source is equal to `other`, this field will
2240
+ # contain an empty object, otherwise it will contain null.
2241
+ end
2242
+
2228
2243
  # @see Increase::Models::DeclinedTransaction::Source#wire_decline
2229
2244
  class WireDecline < Increase::Internal::Type::BaseModel
2230
2245
  # @!attribute inbound_wire_transfer_id
@@ -58,8 +58,8 @@ module Increase
58
58
  # @!attribute vendor_csv
59
59
  # Options for the created export. Required if `category` is equal to `vendor_csv`.
60
60
  #
61
- # @return [Object, nil]
62
- optional :vendor_csv, Increase::Internal::Type::Unknown
61
+ # @return [Increase::Models::ExportCreateParams::VendorCsv, nil]
62
+ optional :vendor_csv, -> { Increase::ExportCreateParams::VendorCsv }
63
63
 
64
64
  # @!method initialize(category:, account_statement_bai2: nil, account_statement_ofx: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, transaction_csv: nil, vendor_csv: nil, request_options: {})
65
65
  # Some parameter documentations has been truncated, see
@@ -81,7 +81,7 @@ module Increase
81
81
  # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to
82
82
  # `transaction\_
83
83
  #
84
- # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`.
84
+ # @param vendor_csv [Increase::Models::ExportCreateParams::VendorCsv] Options for the created export. Required if `category` is equal to `vendor_csv`.
85
85
  #
86
86
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
87
87
 
@@ -489,6 +489,11 @@ module Increase
489
489
  # @param on_or_before [Time] Return results on or before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_86
490
490
  end
491
491
  end
492
+
493
+ class VendorCsv < Increase::Internal::Type::BaseModel
494
+ # @!method initialize
495
+ # Options for the created export. Required if `category` is equal to `vendor_csv`.
496
+ end
492
497
  end
493
498
  end
494
499
  end
@@ -23,13 +23,6 @@ module Increase
23
23
  # @return [Integer]
24
24
  required :amount, Integer
25
25
 
26
- # @!attribute balance_impact
27
- # How the Pending Transaction affects the balance of its Account while its status
28
- # is `pending`.
29
- #
30
- # @return [Symbol, Increase::Models::PendingTransaction::BalanceImpact]
31
- required :balance_impact, enum: -> { Increase::PendingTransaction::BalanceImpact }
32
-
33
26
  # @!attribute completed_at
34
27
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
35
28
  # Transaction was completed.
@@ -60,6 +53,14 @@ module Increase
60
53
  # @return [String]
61
54
  required :description, String
62
55
 
56
+ # @!attribute held_amount
57
+ # The amount that this Pending Transaction decrements the available balance of its
58
+ # Account. This is usually the same as `amount`, but will differ if the amount is
59
+ # positive.
60
+ #
61
+ # @return [Integer]
62
+ required :held_amount, Integer
63
+
63
64
  # @!attribute route_id
64
65
  # The identifier for the route this Pending Transaction came through. Routes are
65
66
  # things like cards and ACH details.
@@ -95,7 +96,7 @@ module Increase
95
96
  # @return [Symbol, Increase::Models::PendingTransaction::Type]
96
97
  required :type, enum: -> { Increase::PendingTransaction::Type }
97
98
 
98
- # @!method initialize(id:, account_id:, amount:, balance_impact:, completed_at:, created_at:, currency:, description:, route_id:, route_type:, source:, status:, type:)
99
+ # @!method initialize(id:, account_id:, amount:, completed_at:, created_at:, currency:, description:, held_amount:, route_id:, route_type:, source:, status:, type:)
99
100
  # Some parameter documentations has been truncated, see
100
101
  # {Increase::Models::PendingTransaction} for more details.
101
102
  #
@@ -110,8 +111,6 @@ module Increase
110
111
  #
111
112
  # @param amount [Integer] The Pending Transaction amount in the minor unit of its currency. For dollars, f
112
113
  #
113
- # @param balance_impact [Symbol, Increase::Models::PendingTransaction::BalanceImpact] How the Pending Transaction affects the balance of its Account while its status
114
- #
115
114
  # @param completed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
116
115
  #
117
116
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
@@ -120,6 +119,8 @@ module Increase
120
119
  #
121
120
  # @param description [String] For a Pending Transaction related to a transfer, this is the description you pro
122
121
  #
122
+ # @param held_amount [Integer] The amount that this Pending Transaction decrements the available balance of its
123
+ #
123
124
  # @param route_id [String, nil] The identifier for the route this Pending Transaction came through. Routes are t
124
125
  #
125
126
  # @param route_type [Symbol, Increase::Models::PendingTransaction::RouteType, nil] The type of the route this Pending Transaction came through.
@@ -130,23 +131,6 @@ module Increase
130
131
  #
131
132
  # @param type [Symbol, Increase::Models::PendingTransaction::Type] A constant representing the object's type. For this resource it will always be `
132
133
 
133
- # How the Pending Transaction affects the balance of its Account while its status
134
- # is `pending`.
135
- #
136
- # @see Increase::Models::PendingTransaction#balance_impact
137
- module BalanceImpact
138
- extend Increase::Internal::Type::Enum
139
-
140
- # This Pending Transaction will decrement the available balance on the Account while its status is `pending`.
141
- AFFECTS_AVAILABLE_BALANCE = :affects_available_balance
142
-
143
- # This Pending Transaction does not affect the available balance on the Account.
144
- NONE = :none
145
-
146
- # @!method self.values
147
- # @return [Array<Symbol>]
148
- end
149
-
150
134
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
151
135
  # Transaction's currency. This will match the currency on the Pending
152
136
  # Transaction's Account.
@@ -300,8 +284,8 @@ module Increase
300
284
  # If the category of this Transaction source is equal to `other`, this field will
301
285
  # contain an empty object, otherwise it will contain null.
302
286
  #
303
- # @return [Object, nil]
304
- required :other, Increase::Internal::Type::Unknown, nil?: true
287
+ # @return [Increase::Models::PendingTransaction::Source::Other, nil]
288
+ required :other, -> { Increase::PendingTransaction::Source::Other }, nil?: true
305
289
 
306
290
  # @!attribute real_time_payments_transfer_instruction
307
291
  # A Real-Time Payments Transfer Instruction object. This field will be present in
@@ -369,7 +353,7 @@ module Increase
369
353
  #
370
354
  # @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON
371
355
  #
372
- # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will
356
+ # @param other [Increase::Models::PendingTransaction::Source::Other, nil] If the category of this Transaction source is equal to `other`, this field will
373
357
  #
374
358
  # @param real_time_payments_transfer_instruction [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in
375
359
  #
@@ -1227,8 +1211,10 @@ module Increase
1227
1211
  # @!attribute pulse
1228
1212
  # Fields specific to the `pulse` network.
1229
1213
  #
1230
- # @return [Object, nil]
1231
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
1214
+ # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil]
1215
+ required :pulse,
1216
+ -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse },
1217
+ nil?: true
1232
1218
 
1233
1219
  # @!attribute visa
1234
1220
  # Fields specific to the `visa` network.
@@ -1243,7 +1229,7 @@ module Increase
1243
1229
  #
1244
1230
  # @param category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
1245
1231
  #
1246
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
1232
+ # @param pulse [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
1247
1233
  #
1248
1234
  # @param visa [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
1249
1235
 
@@ -1263,6 +1249,12 @@ module Increase
1263
1249
  # @return [Array<Symbol>]
1264
1250
  end
1265
1251
 
1252
+ # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#pulse
1253
+ class Pulse < Increase::Internal::Type::BaseModel
1254
+ # @!method initialize
1255
+ # Fields specific to the `pulse` network.
1256
+ end
1257
+
1266
1258
  # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa
1267
1259
  class Visa < Increase::Internal::Type::BaseModel
1268
1260
  # @!attribute electronic_commerce_indicator
@@ -2075,6 +2067,13 @@ module Increase
2075
2067
  # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed.
2076
2068
  end
2077
2069
 
2070
+ # @see Increase::Models::PendingTransaction::Source#other
2071
+ class Other < Increase::Internal::Type::BaseModel
2072
+ # @!method initialize
2073
+ # If the category of this Transaction source is equal to `other`, this field will
2074
+ # contain an empty object, otherwise it will contain null.
2075
+ end
2076
+
2078
2077
  # @see Increase::Models::PendingTransaction::Source#real_time_payments_transfer_instruction
2079
2078
  class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel
2080
2079
  # @!attribute amount
@@ -945,8 +945,12 @@ module Increase
945
945
  # @!attribute pulse
946
946
  # Fields specific to the `pulse` network.
947
947
  #
948
- # @return [Object, nil]
949
- required :pulse, Increase::Internal::Type::Unknown, nil?: true
948
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil]
949
+ required :pulse,
950
+ -> {
951
+ Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse
952
+ },
953
+ nil?: true
950
954
 
951
955
  # @!attribute visa
952
956
  # Fields specific to the `visa` network.
@@ -963,7 +967,7 @@ module Increase
963
967
  #
964
968
  # @param category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization.
965
969
  #
966
- # @param pulse [Object, nil] Fields specific to the `pulse` network.
970
+ # @param pulse [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Pulse, nil] Fields specific to the `pulse` network.
967
971
  #
968
972
  # @param visa [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network.
969
973
 
@@ -983,6 +987,12 @@ module Increase
983
987
  # @return [Array<Symbol>]
984
988
  end
985
989
 
990
+ # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#pulse
991
+ class Pulse < Increase::Internal::Type::BaseModel
992
+ # @!method initialize
993
+ # Fields specific to the `pulse` network.
994
+ end
995
+
986
996
  # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#visa
987
997
  class Visa < Increase::Internal::Type::BaseModel
988
998
  # @!attribute electronic_commerce_indicator
@@ -1253,8 +1263,10 @@ module Increase
1253
1263
  # @!attribute initial_authorization
1254
1264
  # Fields specific to the category `initial_authorization`.
1255
1265
  #
1256
- # @return [Object, nil]
1257
- required :initial_authorization, Increase::Internal::Type::Unknown, nil?: true
1266
+ # @return [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil]
1267
+ required :initial_authorization,
1268
+ -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization },
1269
+ nil?: true
1258
1270
 
1259
1271
  # @!method initialize(category:, incremental_authorization:, initial_authorization:)
1260
1272
  # Some parameter documentations has been truncated, see
@@ -1267,7 +1279,7 @@ module Increase
1267
1279
  #
1268
1280
  # @param incremental_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] Fields specific to the category `incremental_authorization`.
1269
1281
  #
1270
- # @param initial_authorization [Object, nil] Fields specific to the category `initial_authorization`.
1282
+ # @param initial_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::InitialAuthorization, nil] Fields specific to the category `initial_authorization`.
1271
1283
 
1272
1284
  # The type of this request (e.g., an initial authorization or an incremental
1273
1285
  # authorization).
@@ -1312,6 +1324,12 @@ module Increase
1312
1324
  #
1313
1325
  # @param original_card_authorization_id [String] The identifier of the card authorization this request is attempting to increment
1314
1326
  end
1327
+
1328
+ # @see Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails#initial_authorization
1329
+ class InitialAuthorization < Increase::Internal::Type::BaseModel
1330
+ # @!method initialize
1331
+ # Fields specific to the category `initial_authorization`.
1332
+ end
1315
1333
  end
1316
1334
 
1317
1335
  # @see Increase::Models::RealTimeDecision::CardAuthorization#verification