increase 1.203.0 → 1.205.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 (53) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +16 -0
  3. data/README.md +1 -1
  4. data/lib/increase/models/account_transfer.rb +25 -25
  5. data/lib/increase/models/ach_prenotification.rb +8 -8
  6. data/lib/increase/models/ach_transfer.rb +36 -36
  7. data/lib/increase/models/card_dispute.rb +79 -79
  8. data/lib/increase/models/card_payment.rb +82 -82
  9. data/lib/increase/models/card_push_transfer.rb +25 -25
  10. data/lib/increase/models/card_validation.rb +25 -25
  11. data/lib/increase/models/check_transfer.rb +25 -25
  12. data/lib/increase/models/declined_transaction.rb +53 -53
  13. data/lib/increase/models/fednow_transfer.rb +25 -25
  14. data/lib/increase/models/pending_transaction.rb +85 -85
  15. data/lib/increase/models/real_time_payments_transfer.rb +25 -25
  16. data/lib/increase/models/simulations/ach_transfer_return_params.rb +8 -8
  17. data/lib/increase/models/swift_transfer.rb +25 -25
  18. data/lib/increase/models/transaction.rb +181 -181
  19. data/lib/increase/models/wire_transfer.rb +28 -28
  20. data/lib/increase/version.rb +1 -1
  21. data/rbi/increase/models/account_transfer.rbi +40 -40
  22. data/rbi/increase/models/ach_prenotification.rbi +8 -8
  23. data/rbi/increase/models/ach_transfer.rbi +50 -50
  24. data/rbi/increase/models/card_dispute.rbi +141 -141
  25. data/rbi/increase/models/card_payment.rbi +144 -144
  26. data/rbi/increase/models/card_push_transfer.rbi +40 -40
  27. data/rbi/increase/models/card_validation.rbi +40 -40
  28. data/rbi/increase/models/check_transfer.rbi +40 -40
  29. data/rbi/increase/models/declined_transaction.rbi +99 -99
  30. data/rbi/increase/models/fednow_transfer.rbi +40 -40
  31. data/rbi/increase/models/pending_transaction.rbi +163 -163
  32. data/rbi/increase/models/real_time_payments_transfer.rbi +44 -44
  33. data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +8 -8
  34. data/rbi/increase/models/swift_transfer.rbi +40 -40
  35. data/rbi/increase/models/transaction.rbi +542 -542
  36. data/rbi/increase/models/wire_transfer.rbi +42 -42
  37. data/sig/increase/models/account_transfer.rbs +17 -17
  38. data/sig/increase/models/ach_prenotification.rbs +8 -8
  39. data/sig/increase/models/ach_transfer.rbs +27 -27
  40. data/sig/increase/models/card_dispute.rbs +56 -56
  41. data/sig/increase/models/card_payment.rbs +81 -81
  42. data/sig/increase/models/card_push_transfer.rbs +17 -17
  43. data/sig/increase/models/card_validation.rbs +17 -17
  44. data/sig/increase/models/check_transfer.rbs +17 -17
  45. data/sig/increase/models/declined_transaction.rbs +52 -52
  46. data/sig/increase/models/fednow_transfer.rbs +17 -17
  47. data/sig/increase/models/pending_transaction.rbs +92 -92
  48. data/sig/increase/models/real_time_payments_transfer.rbs +17 -17
  49. data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -8
  50. data/sig/increase/models/swift_transfer.rbs +17 -17
  51. data/sig/increase/models/transaction.rbs +210 -210
  52. data/sig/increase/models/wire_transfer.rbs +19 -19
  53. metadata +2 -2
@@ -393,6 +393,12 @@ module Increase
393
393
  )
394
394
  end
395
395
 
396
+ # The type of object that created this transfer.
397
+ sig do
398
+ returns(Increase::WireTransfer::CreatedBy::Category::TaggedSymbol)
399
+ end
400
+ attr_accessor :category
401
+
396
402
  # If present, details about the API key that created the transfer.
397
403
  sig { returns(T.nilable(Increase::WireTransfer::CreatedBy::APIKey)) }
398
404
  attr_reader :api_key
@@ -405,12 +411,6 @@ module Increase
405
411
  end
406
412
  attr_writer :api_key
407
413
 
408
- # The type of object that created this transfer.
409
- sig do
410
- returns(Increase::WireTransfer::CreatedBy::Category::TaggedSymbol)
411
- end
412
- attr_accessor :category
413
-
414
414
  # If present, details about the OAuth Application that created the transfer.
415
415
  sig do
416
416
  returns(
@@ -443,9 +443,9 @@ module Increase
443
443
  # What object created the transfer, either via the API or the dashboard.
444
444
  sig do
445
445
  params(
446
+ category: Increase::WireTransfer::CreatedBy::Category::OrSymbol,
446
447
  api_key:
447
448
  T.nilable(Increase::WireTransfer::CreatedBy::APIKey::OrHash),
448
- category: Increase::WireTransfer::CreatedBy::Category::OrSymbol,
449
449
  oauth_application:
450
450
  T.nilable(
451
451
  Increase::WireTransfer::CreatedBy::OAuthApplication::OrHash
@@ -454,23 +454,23 @@ module Increase
454
454
  ).returns(T.attached_class)
455
455
  end
456
456
  def self.new(
457
- # If present, details about the API key that created the transfer.
458
- api_key:,
459
457
  # The type of object that created this transfer.
460
458
  category:,
459
+ # If present, details about the API key that created the transfer.
460
+ api_key: nil,
461
461
  # If present, details about the OAuth Application that created the transfer.
462
- oauth_application:,
462
+ oauth_application: nil,
463
463
  # If present, details about the User that created the transfer.
464
- user:
464
+ user: nil
465
465
  )
466
466
  end
467
467
 
468
468
  sig do
469
469
  override.returns(
470
470
  {
471
- api_key: T.nilable(Increase::WireTransfer::CreatedBy::APIKey),
472
471
  category:
473
472
  Increase::WireTransfer::CreatedBy::Category::TaggedSymbol,
473
+ api_key: T.nilable(Increase::WireTransfer::CreatedBy::APIKey),
474
474
  oauth_application:
475
475
  T.nilable(Increase::WireTransfer::CreatedBy::OAuthApplication),
476
476
  user: T.nilable(Increase::WireTransfer::CreatedBy::User)
@@ -480,34 +480,6 @@ module Increase
480
480
  def to_hash
481
481
  end
482
482
 
483
- class APIKey < Increase::Internal::Type::BaseModel
484
- OrHash =
485
- T.type_alias do
486
- T.any(
487
- Increase::WireTransfer::CreatedBy::APIKey,
488
- Increase::Internal::AnyHash
489
- )
490
- end
491
-
492
- # The description set for the API key when it was created.
493
- sig { returns(T.nilable(String)) }
494
- attr_accessor :description
495
-
496
- # If present, details about the API key that created the transfer.
497
- sig do
498
- params(description: T.nilable(String)).returns(T.attached_class)
499
- end
500
- def self.new(
501
- # The description set for the API key when it was created.
502
- description:
503
- )
504
- end
505
-
506
- sig { override.returns({ description: T.nilable(String) }) }
507
- def to_hash
508
- end
509
- end
510
-
511
483
  # The type of object that created this transfer.
512
484
  module Category
513
485
  extend Increase::Internal::Type::Enum
@@ -550,6 +522,34 @@ module Increase
550
522
  end
551
523
  end
552
524
 
525
+ class APIKey < Increase::Internal::Type::BaseModel
526
+ OrHash =
527
+ T.type_alias do
528
+ T.any(
529
+ Increase::WireTransfer::CreatedBy::APIKey,
530
+ Increase::Internal::AnyHash
531
+ )
532
+ end
533
+
534
+ # The description set for the API key when it was created.
535
+ sig { returns(T.nilable(String)) }
536
+ attr_accessor :description
537
+
538
+ # If present, details about the API key that created the transfer.
539
+ sig do
540
+ params(description: T.nilable(String)).returns(T.attached_class)
541
+ end
542
+ def self.new(
543
+ # The description set for the API key when it was created.
544
+ description:
545
+ )
546
+ end
547
+
548
+ sig { override.returns({ description: T.nilable(String) }) }
549
+ def to_hash
550
+ end
551
+ end
552
+
553
553
  class OAuthApplication < Increase::Internal::Type::BaseModel
554
554
  OrHash =
555
555
  T.type_alias do
@@ -1017,10 +1017,10 @@ module Increase
1017
1017
  category:,
1018
1018
  # Internal Revenue Service (IRS) tax repayment information. Required if `category`
1019
1019
  # is equal to `tax`.
1020
- tax:,
1020
+ tax: nil,
1021
1021
  # Unstructured remittance information. Required if `category` is equal to
1022
1022
  # `unstructured`.
1023
- unstructured:
1023
+ unstructured: nil
1024
1024
  )
1025
1025
  end
1026
1026
 
@@ -117,45 +117,35 @@ module Increase
117
117
 
118
118
  type created_by =
119
119
  {
120
- api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
121
120
  category: Increase::Models::AccountTransfer::CreatedBy::category,
121
+ api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
122
122
  oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?,
123
123
  user: Increase::AccountTransfer::CreatedBy::User?
124
124
  }
125
125
 
126
126
  class CreatedBy < Increase::Internal::Type::BaseModel
127
- attr_accessor api_key: Increase::AccountTransfer::CreatedBy::APIKey?
128
-
129
127
  attr_accessor category: Increase::Models::AccountTransfer::CreatedBy::category
130
128
 
129
+ attr_accessor api_key: Increase::AccountTransfer::CreatedBy::APIKey?
130
+
131
131
  attr_accessor oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?
132
132
 
133
133
  attr_accessor user: Increase::AccountTransfer::CreatedBy::User?
134
134
 
135
135
  def initialize: (
136
- api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
137
136
  category: Increase::Models::AccountTransfer::CreatedBy::category,
138
- oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?,
139
- user: Increase::AccountTransfer::CreatedBy::User?
137
+ ?api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
138
+ ?oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?,
139
+ ?user: Increase::AccountTransfer::CreatedBy::User?
140
140
  ) -> void
141
141
 
142
142
  def to_hash: -> {
143
- api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
144
143
  category: Increase::Models::AccountTransfer::CreatedBy::category,
144
+ api_key: Increase::AccountTransfer::CreatedBy::APIKey?,
145
145
  oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?,
146
146
  user: Increase::AccountTransfer::CreatedBy::User?
147
147
  }
148
148
 
149
- type api_key = { description: String? }
150
-
151
- class APIKey < Increase::Internal::Type::BaseModel
152
- attr_accessor description: String?
153
-
154
- def initialize: (description: String?) -> void
155
-
156
- def to_hash: -> { description: String? }
157
- end
158
-
159
149
  type category = :api_key | :oauth_application | :user
160
150
 
161
151
  module Category
@@ -173,6 +163,16 @@ module Increase
173
163
  def self?.values: -> ::Array[Increase::Models::AccountTransfer::CreatedBy::category]
174
164
  end
175
165
 
166
+ type api_key = { description: String? }
167
+
168
+ class APIKey < Increase::Internal::Type::BaseModel
169
+ attr_accessor description: String?
170
+
171
+ def initialize: (description: String?) -> void
172
+
173
+ def to_hash: -> { description: String? }
174
+ end
175
+
176
176
  type oauth_application = { name: String }
177
177
 
178
178
  class OAuthApplication < Increase::Internal::Type::BaseModel
@@ -332,7 +332,7 @@ module Increase
332
332
  module ReturnReasonCode
333
333
  extend Increase::Internal::Type::Enum
334
334
 
335
- # Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to NSF.
335
+ # Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to "NSF."
336
336
  INSUFFICIENT_FUND: :insufficient_fund
337
337
 
338
338
  # Code R03. The account does not exist or the receiving bank was unable to locate it.
@@ -344,13 +344,13 @@ module Increase
344
344
  # Code R04. The account number is invalid at the receiving bank.
345
345
  INVALID_ACCOUNT_NUMBER_STRUCTURE: :invalid_account_number_structure
346
346
 
347
- # Code R16. The account at the receiving bank was frozen per the Office of Foreign Assets Control.
347
+ # Code R16. This return code has two separate meanings. (1) The receiving bank froze the account or (2) the Office of Foreign Assets Control (OFAC) instructed the receiving bank to return the entry.
348
348
  ACCOUNT_FROZEN_ENTRY_RETURNED_PER_OFAC_INSTRUCTION: :account_frozen_entry_returned_per_ofac_instruction
349
349
 
350
- # Code R23. The receiving bank account refused a credit transfer.
350
+ # Code R23. The receiving bank refused the credit transfer.
351
351
  CREDIT_ENTRY_REFUSED_BY_RECEIVER: :credit_entry_refused_by_receiver
352
352
 
353
- # Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code.
353
+ # Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code. Consumer accounts cannot be debited as `corporate_credit_or_debit` or `corporate_trade_exchange`.
354
354
  UNAUTHORIZED_DEBIT_TO_CONSUMER_ACCOUNT_USING_CORPORATE_SEC_CODE: :unauthorized_debit_to_consumer_account_using_corporate_sec_code
355
355
 
356
356
  # Code R29. The corporate customer at the receiving bank reversed the transfer.
@@ -359,7 +359,7 @@ module Increase
359
359
  # Code R08. The receiving bank stopped payment on this transfer.
360
360
  PAYMENT_STOPPED: :payment_stopped
361
361
 
362
- # Code R20. The receiving bank account does not perform transfers.
362
+ # Code R20. The account is not eligible for ACH, such as a savings account with transaction limits.
363
363
  NON_TRANSACTION_ACCOUNT: :non_transaction_account
364
364
 
365
365
  # Code R09. The receiving bank account does not have enough available balance for the transfer.
@@ -374,7 +374,7 @@ module Increase
374
374
  # Code R19. The amount field is incorrect or too large.
375
375
  AMOUNT_FIELD_ERROR: :amount_field_error
376
376
 
377
- # Code R07. The customer at the receiving institution informed their bank that they have revoked authorization for a previously authorized transfer.
377
+ # Code R07. The customer revoked their authorization for a previously authorized transfer.
378
378
  AUTHORIZATION_REVOKED_BY_CUSTOMER: :authorization_revoked_by_customer
379
379
 
380
380
  # Code R13. The routing number is invalid.
@@ -383,7 +383,7 @@ module Increase
383
383
  # Code R17. The receiving bank is unable to process a field in the transfer.
384
384
  FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
385
385
 
386
- # Code R45. The individual name field was invalid.
386
+ # Code R45. A rare return reason. The individual name field was invalid.
387
387
  ENR_INVALID_INDIVIDUAL_NAME: :enr_invalid_individual_name
388
388
 
389
389
  # Code R06. The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request.
@@ -515,7 +515,7 @@ module Increase
515
515
  # Code R35. A rare return reason. Return of a malformed debit entry.
516
516
  RETURN_OF_IMPROPER_DEBIT_ENTRY: :return_of_improper_debit_entry
517
517
 
518
- # Code R33. A rare return reason. Return of a Destroyed Check ("XKC") entry.
518
+ # Code R33. A rare return reason. Return of a destroyed check ("XCK") entry.
519
519
  RETURN_OF_XCK_ENTRY: :return_of_xck_entry
520
520
 
521
521
  # Code R37. A rare return reason. The source document related to this ACH, usually an ACH check conversion, was presented to the bank.
@@ -217,8 +217,8 @@ module Increase
217
217
 
218
218
  def initialize: (
219
219
  category: Increase::Models::ACHTransfer::Addenda::category,
220
- freeform: Increase::ACHTransfer::Addenda::Freeform?,
221
- payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice?
220
+ ?freeform: Increase::ACHTransfer::Addenda::Freeform?,
221
+ ?payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice?
222
222
  ) -> void
223
223
 
224
224
  def to_hash: -> {
@@ -328,45 +328,35 @@ module Increase
328
328
 
329
329
  type created_by =
330
330
  {
331
- api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
332
331
  category: Increase::Models::ACHTransfer::CreatedBy::category,
332
+ api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
333
333
  oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?,
334
334
  user: Increase::ACHTransfer::CreatedBy::User?
335
335
  }
336
336
 
337
337
  class CreatedBy < Increase::Internal::Type::BaseModel
338
- attr_accessor api_key: Increase::ACHTransfer::CreatedBy::APIKey?
339
-
340
338
  attr_accessor category: Increase::Models::ACHTransfer::CreatedBy::category
341
339
 
340
+ attr_accessor api_key: Increase::ACHTransfer::CreatedBy::APIKey?
341
+
342
342
  attr_accessor oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?
343
343
 
344
344
  attr_accessor user: Increase::ACHTransfer::CreatedBy::User?
345
345
 
346
346
  def initialize: (
347
- api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
348
347
  category: Increase::Models::ACHTransfer::CreatedBy::category,
349
- oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?,
350
- user: Increase::ACHTransfer::CreatedBy::User?
348
+ ?api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
349
+ ?oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?,
350
+ ?user: Increase::ACHTransfer::CreatedBy::User?
351
351
  ) -> void
352
352
 
353
353
  def to_hash: -> {
354
- api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
355
354
  category: Increase::Models::ACHTransfer::CreatedBy::category,
355
+ api_key: Increase::ACHTransfer::CreatedBy::APIKey?,
356
356
  oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?,
357
357
  user: Increase::ACHTransfer::CreatedBy::User?
358
358
  }
359
359
 
360
- type api_key = { description: String? }
361
-
362
- class APIKey < Increase::Internal::Type::BaseModel
363
- attr_accessor description: String?
364
-
365
- def initialize: (description: String?) -> void
366
-
367
- def to_hash: -> { description: String? }
368
- end
369
-
370
360
  type category = :api_key | :oauth_application | :user
371
361
 
372
362
  module Category
@@ -384,6 +374,16 @@ module Increase
384
374
  def self?.values: -> ::Array[Increase::Models::ACHTransfer::CreatedBy::category]
385
375
  end
386
376
 
377
+ type api_key = { description: String? }
378
+
379
+ class APIKey < Increase::Internal::Type::BaseModel
380
+ attr_accessor description: String?
381
+
382
+ def initialize: (description: String?) -> void
383
+
384
+ def to_hash: -> { description: String? }
385
+ end
386
+
387
387
  type oauth_application = { name: String }
388
388
 
389
389
  class OAuthApplication < Increase::Internal::Type::BaseModel
@@ -818,7 +818,7 @@ module Increase
818
818
  module ReturnReasonCode
819
819
  extend Increase::Internal::Type::Enum
820
820
 
821
- # Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to NSF.
821
+ # Code R01. Insufficient funds in the receiving account. Sometimes abbreviated to "NSF."
822
822
  INSUFFICIENT_FUND: :insufficient_fund
823
823
 
824
824
  # Code R03. The account does not exist or the receiving bank was unable to locate it.
@@ -830,13 +830,13 @@ module Increase
830
830
  # Code R04. The account number is invalid at the receiving bank.
831
831
  INVALID_ACCOUNT_NUMBER_STRUCTURE: :invalid_account_number_structure
832
832
 
833
- # Code R16. The account at the receiving bank was frozen per the Office of Foreign Assets Control.
833
+ # Code R16. This return code has two separate meanings. (1) The receiving bank froze the account or (2) the Office of Foreign Assets Control (OFAC) instructed the receiving bank to return the entry.
834
834
  ACCOUNT_FROZEN_ENTRY_RETURNED_PER_OFAC_INSTRUCTION: :account_frozen_entry_returned_per_ofac_instruction
835
835
 
836
- # Code R23. The receiving bank account refused a credit transfer.
836
+ # Code R23. The receiving bank refused the credit transfer.
837
837
  CREDIT_ENTRY_REFUSED_BY_RECEIVER: :credit_entry_refused_by_receiver
838
838
 
839
- # Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code.
839
+ # Code R05. The receiving bank rejected because of an incorrect Standard Entry Class code. Consumer accounts cannot be debited as `corporate_credit_or_debit` or `corporate_trade_exchange`.
840
840
  UNAUTHORIZED_DEBIT_TO_CONSUMER_ACCOUNT_USING_CORPORATE_SEC_CODE: :unauthorized_debit_to_consumer_account_using_corporate_sec_code
841
841
 
842
842
  # Code R29. The corporate customer at the receiving bank reversed the transfer.
@@ -845,7 +845,7 @@ module Increase
845
845
  # Code R08. The receiving bank stopped payment on this transfer.
846
846
  PAYMENT_STOPPED: :payment_stopped
847
847
 
848
- # Code R20. The receiving bank account does not perform transfers.
848
+ # Code R20. The account is not eligible for ACH, such as a savings account with transaction limits.
849
849
  NON_TRANSACTION_ACCOUNT: :non_transaction_account
850
850
 
851
851
  # Code R09. The receiving bank account does not have enough available balance for the transfer.
@@ -860,7 +860,7 @@ module Increase
860
860
  # Code R19. The amount field is incorrect or too large.
861
861
  AMOUNT_FIELD_ERROR: :amount_field_error
862
862
 
863
- # Code R07. The customer at the receiving institution informed their bank that they have revoked authorization for a previously authorized transfer.
863
+ # Code R07. The customer revoked their authorization for a previously authorized transfer.
864
864
  AUTHORIZATION_REVOKED_BY_CUSTOMER: :authorization_revoked_by_customer
865
865
 
866
866
  # Code R13. The routing number is invalid.
@@ -869,7 +869,7 @@ module Increase
869
869
  # Code R17. The receiving bank is unable to process a field in the transfer.
870
870
  FILE_RECORD_EDIT_CRITERIA: :file_record_edit_criteria
871
871
 
872
- # Code R45. The individual name field was invalid.
872
+ # Code R45. A rare return reason. The individual name field was invalid.
873
873
  ENR_INVALID_INDIVIDUAL_NAME: :enr_invalid_individual_name
874
874
 
875
875
  # Code R06. The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request.
@@ -1001,7 +1001,7 @@ module Increase
1001
1001
  # Code R35. A rare return reason. Return of a malformed debit entry.
1002
1002
  RETURN_OF_IMPROPER_DEBIT_ENTRY: :return_of_improper_debit_entry
1003
1003
 
1004
- # Code R33. A rare return reason. Return of a Destroyed Check ("XKC") entry.
1004
+ # Code R33. A rare return reason. Return of a destroyed check ("XCK") entry.
1005
1005
  RETURN_OF_XCK_ENTRY: :return_of_xck_entry
1006
1006
 
1007
1007
  # Code R37. A rare return reason. The source document related to this ACH, usually an ACH check conversion, was presented to the bank.
@@ -204,11 +204,11 @@ module Increase
204
204
  {
205
205
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
206
206
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
207
+ created_at: Time,
208
+ dispute_financial_transaction_id: String?,
207
209
  chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
208
210
  chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
209
211
  chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?,
210
- created_at: Time,
211
- dispute_financial_transaction_id: String?,
212
212
  merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?,
213
213
  merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
214
214
  merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?,
@@ -226,16 +226,16 @@ module Increase
226
226
 
227
227
  attr_accessor category: Increase::Models::CardDispute::Visa::NetworkEvent::category
228
228
 
229
+ attr_accessor created_at: Time
230
+
231
+ attr_accessor dispute_financial_transaction_id: String?
232
+
229
233
  attr_accessor chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?
230
234
 
231
235
  attr_accessor chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?
232
236
 
233
237
  attr_accessor chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?
234
238
 
235
- attr_accessor created_at: Time
236
-
237
- attr_accessor dispute_financial_transaction_id: String?
238
-
239
239
  attr_accessor merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?
240
240
 
241
241
  attr_accessor merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?
@@ -259,31 +259,31 @@ module Increase
259
259
  def initialize: (
260
260
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
261
261
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
262
- chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
263
- chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
264
- chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?,
265
262
  created_at: Time,
266
263
  dispute_financial_transaction_id: String?,
267
- merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?,
268
- merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
269
- merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?,
270
- represented: Increase::CardDispute::Visa::NetworkEvent::Represented?,
271
- representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut?,
272
- user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted?,
273
- user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined?,
274
- user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted?,
275
- user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut?,
276
- user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted?
264
+ ?chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
265
+ ?chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
266
+ ?chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?,
267
+ ?merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?,
268
+ ?merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
269
+ ?merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?,
270
+ ?represented: Increase::CardDispute::Visa::NetworkEvent::Represented?,
271
+ ?representment_timed_out: Increase::CardDispute::Visa::NetworkEvent::RepresentmentTimedOut?,
272
+ ?user_prearbitration_accepted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationAccepted?,
273
+ ?user_prearbitration_declined: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationDeclined?,
274
+ ?user_prearbitration_submitted: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationSubmitted?,
275
+ ?user_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::UserPrearbitrationTimedOut?,
276
+ ?user_withdrawal_submitted: Increase::CardDispute::Visa::NetworkEvent::UserWithdrawalSubmitted?
277
277
  ) -> void
278
278
 
279
279
  def to_hash: -> {
280
280
  attachment_files: ::Array[Increase::CardDispute::Visa::NetworkEvent::AttachmentFile],
281
281
  category: Increase::Models::CardDispute::Visa::NetworkEvent::category,
282
+ created_at: Time,
283
+ dispute_financial_transaction_id: String?,
282
284
  chargeback_accepted: Increase::CardDispute::Visa::NetworkEvent::ChargebackAccepted?,
283
285
  chargeback_submitted: Increase::CardDispute::Visa::NetworkEvent::ChargebackSubmitted?,
284
286
  chargeback_timed_out: Increase::CardDispute::Visa::NetworkEvent::ChargebackTimedOut?,
285
- created_at: Time,
286
- dispute_financial_transaction_id: String?,
287
287
  merchant_prearbitration_decline_submitted: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationDeclineSubmitted?,
288
288
  merchant_prearbitration_received: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationReceived?,
289
289
  merchant_prearbitration_timed_out: Increase::CardDispute::Visa::NetworkEvent::MerchantPrearbitrationTimedOut?,
@@ -1153,14 +1153,14 @@ module Increase
1153
1153
  amount: Integer?,
1154
1154
  attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1155
1155
  category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1156
- chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1157
1156
  created_at: Time,
1158
1157
  explanation: String?,
1159
1158
  further_information_requested_at: Time?,
1160
1159
  further_information_requested_reason: String?,
1161
- merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1162
1160
  status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1163
1161
  updated_at: Time,
1162
+ chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1163
+ merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1164
1164
  user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1165
1165
  }
1166
1166
 
@@ -1173,8 +1173,6 @@ module Increase
1173
1173
 
1174
1174
  attr_accessor category: Increase::Models::CardDispute::Visa::UserSubmission::category
1175
1175
 
1176
- attr_accessor chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?
1177
-
1178
1176
  attr_accessor created_at: Time
1179
1177
 
1180
1178
  attr_accessor explanation: String?
@@ -1183,12 +1181,14 @@ module Increase
1183
1181
 
1184
1182
  attr_accessor further_information_requested_reason: String?
1185
1183
 
1186
- attr_accessor merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?
1187
-
1188
1184
  attr_accessor status: Increase::Models::CardDispute::Visa::UserSubmission::status
1189
1185
 
1190
1186
  attr_accessor updated_at: Time
1191
1187
 
1188
+ attr_accessor chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?
1189
+
1190
+ attr_accessor merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?
1191
+
1192
1192
  attr_accessor user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1193
1193
 
1194
1194
  def initialize: (
@@ -1196,15 +1196,15 @@ module Increase
1196
1196
  amount: Integer?,
1197
1197
  attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1198
1198
  category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1199
- chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1200
1199
  created_at: Time,
1201
1200
  explanation: String?,
1202
1201
  further_information_requested_at: Time?,
1203
1202
  further_information_requested_reason: String?,
1204
- merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1205
1203
  status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1206
1204
  updated_at: Time,
1207
- user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1205
+ ?chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1206
+ ?merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1207
+ ?user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1208
1208
  ) -> void
1209
1209
 
1210
1210
  def to_hash: -> {
@@ -1212,14 +1212,14 @@ module Increase
1212
1212
  amount: Integer?,
1213
1213
  attachment_files: ::Array[Increase::CardDispute::Visa::UserSubmission::AttachmentFile],
1214
1214
  category: Increase::Models::CardDispute::Visa::UserSubmission::category,
1215
- chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1216
1215
  created_at: Time,
1217
1216
  explanation: String?,
1218
1217
  further_information_requested_at: Time?,
1219
1218
  further_information_requested_reason: String?,
1220
- merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1221
1219
  status: Increase::Models::CardDispute::Visa::UserSubmission::status,
1222
1220
  updated_at: Time,
1221
+ chargeback: Increase::CardDispute::Visa::UserSubmission::Chargeback?,
1222
+ merchant_prearbitration_decline: Increase::CardDispute::Visa::UserSubmission::MerchantPrearbitrationDecline?,
1223
1223
  user_prearbitration: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration?
1224
1224
  }
1225
1225
 
@@ -1253,6 +1253,30 @@ module Increase
1253
1253
  def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::category]
1254
1254
  end
1255
1255
 
1256
+ type status =
1257
+ :abandoned
1258
+ | :accepted
1259
+ | :further_information_requested
1260
+ | :pending_reviewing
1261
+
1262
+ module Status
1263
+ extend Increase::Internal::Type::Enum
1264
+
1265
+ # The User Submission was abandoned.
1266
+ ABANDONED: :abandoned
1267
+
1268
+ # The User Submission was accepted.
1269
+ ACCEPTED: :accepted
1270
+
1271
+ # Further information is requested, please resubmit with the requested information.
1272
+ FURTHER_INFORMATION_REQUESTED: :further_information_requested
1273
+
1274
+ # The User Submission is pending review.
1275
+ PENDING_REVIEWING: :pending_reviewing
1276
+
1277
+ def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::status]
1278
+ end
1279
+
1256
1280
  type chargeback =
1257
1281
  {
1258
1282
  authorization: Increase::CardDispute::Visa::UserSubmission::Chargeback::Authorization?,
@@ -3939,30 +3963,6 @@ module Increase
3939
3963
  def to_hash: -> { reason: String }
3940
3964
  end
3941
3965
 
3942
- type status =
3943
- :abandoned
3944
- | :accepted
3945
- | :further_information_requested
3946
- | :pending_reviewing
3947
-
3948
- module Status
3949
- extend Increase::Internal::Type::Enum
3950
-
3951
- # The User Submission was abandoned.
3952
- ABANDONED: :abandoned
3953
-
3954
- # The User Submission was accepted.
3955
- ACCEPTED: :accepted
3956
-
3957
- # Further information is requested, please resubmit with the requested information.
3958
- FURTHER_INFORMATION_REQUESTED: :further_information_requested
3959
-
3960
- # The User Submission is pending review.
3961
- PENDING_REVIEWING: :pending_reviewing
3962
-
3963
- def self?.values: -> ::Array[Increase::Models::CardDispute::Visa::UserSubmission::status]
3964
- end
3965
-
3966
3966
  type user_prearbitration =
3967
3967
  {
3968
3968
  category_change: Increase::CardDispute::Visa::UserSubmission::UserPrearbitration::CategoryChange?,