increase 1.333.1 → 1.334.1

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 (118) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +4 -5
  4. data/lib/increase/models/ach_prenotification.rb +5 -2
  5. data/lib/increase/models/ach_prenotification_create_params.rb +2 -2
  6. data/lib/increase/models/ach_transfer.rb +6 -3
  7. data/lib/increase/models/card.rb +9 -1
  8. data/lib/increase/models/card_dispute.rb +40 -1
  9. data/lib/increase/models/card_dispute_list_params.rb +3 -0
  10. data/lib/increase/models/card_payment.rb +65 -6
  11. data/lib/increase/models/card_push_transfer.rb +53 -1
  12. data/lib/increase/models/check_transfer.rb +4 -8
  13. data/lib/increase/models/declined_transaction.rb +1 -1
  14. data/lib/increase/models/digital_wallet_token.rb +59 -1
  15. data/lib/increase/models/entity.rb +1 -1
  16. data/lib/increase/models/event.rb +12 -0
  17. data/lib/increase/models/event_list_params.rb +12 -0
  18. data/lib/increase/models/event_subscription.rb +12 -0
  19. data/lib/increase/models/event_subscription_create_params.rb +12 -0
  20. data/lib/increase/models/export.rb +17 -1
  21. data/lib/increase/models/export_create_params.rb +78 -1
  22. data/lib/increase/models/fednow_transfer.rb +47 -1
  23. data/lib/increase/models/inbound_wire_transfer.rb +9 -1
  24. data/lib/increase/models/pending_transaction.rb +54 -1
  25. data/lib/increase/models/physical_card.rb +1 -1
  26. data/lib/increase/models/physical_card_profile.rb +38 -1
  27. data/lib/increase/models/real_time_decision.rb +52 -1
  28. data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +3 -0
  29. data/lib/increase/models/simulations/card_authorization_create_params.rb +1 -1
  30. data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +1 -1
  31. data/lib/increase/models/simulations/check_deposit_submit_params.rb +21 -2
  32. data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +6 -0
  33. data/lib/increase/models/simulations/entity_update_validation_params.rb +1 -1
  34. data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +10 -1
  35. data/lib/increase/models/simulations/physical_card_create_params.rb +1 -1
  36. data/lib/increase/models/transaction.rb +17 -5
  37. data/lib/increase/models/unwrap_webhook_event.rb +12 -0
  38. data/lib/increase/models/wire_drawdown_request.rb +20 -1
  39. data/lib/increase/resources/exports.rb +3 -1
  40. data/lib/increase/resources/simulations/check_deposits.rb +3 -0
  41. data/lib/increase/resources/simulations/inbound_wire_transfers.rb +3 -1
  42. data/lib/increase/version.rb +1 -1
  43. data/rbi/increase/models/ach_prenotification.rbi +9 -2
  44. data/rbi/increase/models/ach_prenotification_create_params.rbi +2 -2
  45. data/rbi/increase/models/ach_transfer.rbi +11 -4
  46. data/rbi/increase/models/card.rbi +8 -0
  47. data/rbi/increase/models/card_dispute.rbi +56 -0
  48. data/rbi/increase/models/card_dispute_list_params.rbi +7 -0
  49. data/rbi/increase/models/card_payment.rbi +135 -7
  50. data/rbi/increase/models/card_push_transfer.rbi +56 -0
  51. data/rbi/increase/models/check_transfer.rbi +4 -10
  52. data/rbi/increase/models/declined_transaction.rbi +1 -1
  53. data/rbi/increase/models/digital_wallet_token.rbi +131 -0
  54. data/rbi/increase/models/entity.rbi +1 -1
  55. data/rbi/increase/models/event.rbi +22 -0
  56. data/rbi/increase/models/event_list_params.rbi +28 -0
  57. data/rbi/increase/models/event_subscription.rbi +28 -0
  58. data/rbi/increase/models/event_subscription_create_params.rbi +28 -0
  59. data/rbi/increase/models/export.rbi +25 -5
  60. data/rbi/increase/models/export_create_params.rbi +151 -0
  61. data/rbi/increase/models/fednow_transfer.rbi +77 -0
  62. data/rbi/increase/models/inbound_wire_transfer.rbi +8 -0
  63. data/rbi/increase/models/pending_transaction.rbi +122 -0
  64. data/rbi/increase/models/physical_card.rbi +1 -1
  65. data/rbi/increase/models/physical_card_profile.rbi +60 -0
  66. data/rbi/increase/models/real_time_decision.rbi +120 -0
  67. data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +7 -0
  68. data/rbi/increase/models/simulations/card_authorization_create_params.rbi +1 -1
  69. data/rbi/increase/models/simulations/card_balance_inquiry_create_params.rbi +1 -1
  70. data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +21 -3
  71. data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +14 -0
  72. data/rbi/increase/models/simulations/entity_update_validation_params.rbi +1 -1
  73. data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +13 -0
  74. data/rbi/increase/models/simulations/physical_card_create_params.rbi +1 -1
  75. data/rbi/increase/models/transaction.rbi +20 -6
  76. data/rbi/increase/models/unwrap_webhook_event.rbi +28 -0
  77. data/rbi/increase/models/wire_drawdown_request.rbi +22 -0
  78. data/rbi/increase/resources/exports.rbi +3 -0
  79. data/rbi/increase/resources/simulations/check_deposits.rbi +1 -0
  80. data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +4 -0
  81. data/sig/increase/models/ach_prenotification.rbs +7 -3
  82. data/sig/increase/models/ach_prenotification_create_params.rbs +2 -2
  83. data/sig/increase/models/ach_transfer.rbs +5 -1
  84. data/sig/increase/models/card.rbs +5 -0
  85. data/sig/increase/models/card_dispute.rbs +21 -0
  86. data/sig/increase/models/card_dispute_list_params.rbs +4 -0
  87. data/sig/increase/models/card_payment.rbs +37 -1
  88. data/sig/increase/models/card_push_transfer.rbs +30 -0
  89. data/sig/increase/models/check_transfer.rbs +5 -5
  90. data/sig/increase/models/declined_transaction.rbs +1 -1
  91. data/sig/increase/models/digital_wallet_token.rbs +61 -2
  92. data/sig/increase/models/entity.rbs +1 -1
  93. data/sig/increase/models/event.rbs +16 -0
  94. data/sig/increase/models/event_list_params.rbs +16 -0
  95. data/sig/increase/models/event_subscription.rbs +16 -0
  96. data/sig/increase/models/event_subscription_create_params.rbs +16 -0
  97. data/sig/increase/models/export.rbs +23 -3
  98. data/sig/increase/models/export_create_params.rbs +76 -0
  99. data/sig/increase/models/fednow_transfer.rbs +37 -0
  100. data/sig/increase/models/inbound_wire_transfer.rbs +5 -0
  101. data/sig/increase/models/pending_transaction.rbs +36 -0
  102. data/sig/increase/models/physical_card.rbs +1 -1
  103. data/sig/increase/models/physical_card_profile.rbs +17 -0
  104. data/sig/increase/models/real_time_decision.rbs +36 -0
  105. data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +5 -1
  106. data/sig/increase/models/simulations/card_authorization_create_params.rbs +1 -1
  107. data/sig/increase/models/simulations/card_balance_inquiry_create_params.rbs +1 -1
  108. data/sig/increase/models/simulations/check_deposit_submit_params.rbs +10 -3
  109. data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +8 -0
  110. data/sig/increase/models/simulations/entity_update_validation_params.rbs +1 -1
  111. data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +7 -0
  112. data/sig/increase/models/simulations/physical_card_create_params.rbs +1 -1
  113. data/sig/increase/models/transaction.rbs +5 -0
  114. data/sig/increase/models/unwrap_webhook_event.rbs +16 -0
  115. data/sig/increase/models/wire_drawdown_request.rbs +10 -0
  116. data/sig/increase/resources/exports.rbs +1 -0
  117. data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +1 -0
  118. metadata +4 -4
@@ -48,7 +48,7 @@ module Increase
48
48
  module Category
49
49
  extend Increase::Internal::Type::Enum
50
50
 
51
- # The entity's tax identifier could not be validated. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
51
+ # The entity's tax identifier could not be verified. Update the tax ID with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.legal_identifier).
52
52
  ENTITY_TAX_IDENTIFIER = :entity_tax_identifier
53
53
 
54
54
  # The entity's address could not be validated. Update the address with the [update an entity API](/documentation/api/entities#update-an-entity.corporation.address).
@@ -97,6 +97,13 @@ module Increase
97
97
  # @return [String, nil]
98
98
  optional :instruction_identification, String
99
99
 
100
+ # @!attribute purpose
101
+ # The sending bank will set purpose in production. You can simulate any value
102
+ # here.
103
+ #
104
+ # @return [String, nil]
105
+ optional :purpose, String
106
+
100
107
  # @!attribute unique_end_to_end_transaction_reference
101
108
  # The sending bank will set unique_end_to_end_transaction_reference in production.
102
109
  # You can simulate any value here.
@@ -118,7 +125,7 @@ module Increase
118
125
  # @return [String, nil]
119
126
  optional :wire_drawdown_request_id, String
120
127
 
121
- # @!method initialize(account_number_id:, amount:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {})
128
+ # @!method initialize(account_number_id:, amount:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, purpose: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {})
122
129
  # Some parameter documentations has been truncated, see
123
130
  # {Increase::Models::Simulations::InboundWireTransferCreateParams} for more
124
131
  # details.
@@ -149,6 +156,8 @@ module Increase
149
156
  #
150
157
  # @param instruction_identification [String] The sending bank will set instruction_identification in production. You can simu
151
158
  #
159
+ # @param purpose [String] The sending bank will set purpose in production. You can simulate any value here
160
+ #
152
161
  # @param unique_end_to_end_transaction_reference [String] The sending bank will set unique_end_to_end_transaction_reference in production.
153
162
  #
154
163
  # @param unstructured_remittance_information [String] The sending bank will set unstructured_remittance_information in production. You
@@ -73,7 +73,7 @@ module Increase
73
73
  # The physical card has been processed for delivery.
74
74
  PROCESSED_FOR_DELIVERY = :processed_for_delivery
75
75
 
76
- # The physical card has been delivered.
76
+ # The physical card has been delivered. Note that some couriers track delivery status based on driver location data rather than an explicit scan. While uncommon, a single physical card may have more than one delivered event.
77
77
  DELIVERED = :delivered
78
78
 
79
79
  # There is an issue preventing delivery. The delivery will be attempted again if possible. If the issue cannot be resolved, the physical card will be returned to sender.
@@ -261,8 +261,10 @@ module Increase
261
261
 
262
262
  # @!attribute card_financial
263
263
  # A Card Financial object. This field will be present in the JSON response if and
264
- # only if `category` is equal to `card_financial`. Card Financials are temporary
265
- # holds placed on a customer's funds with the intent to later clear a transaction.
264
+ # only if `category` is equal to `card_financial`. Card Financials are card
265
+ # transactions that have cleared and settled. Unlike a Card Settlement, which
266
+ # clears a previous authorization, a Card Financial is authorized and cleared in a
267
+ # single message.
266
268
  #
267
269
  # @return [Increase::Models::Transaction::Source::CardFinancial, nil]
268
270
  optional :card_financial, -> { Increase::Transaction::Source::CardFinancial }, nil?: true
@@ -1650,8 +1652,10 @@ module Increase
1650
1652
  # {Increase::Models::Transaction::Source::CardFinancial} for more details.
1651
1653
  #
1652
1654
  # A Card Financial object. This field will be present in the JSON response if and
1653
- # only if `category` is equal to `card_financial`. Card Financials are temporary
1654
- # holds placed on a customer's funds with the intent to later clear a transaction.
1655
+ # only if `category` is equal to `card_financial`. Card Financials are card
1656
+ # transactions that have cleared and settled. Unlike a Card Settlement, which
1657
+ # clears a previous authorization, a Card Financial is authorized and cleared in a
1658
+ # single message.
1655
1659
  #
1656
1660
  # @param id [String] The Card Financial identifier.
1657
1661
  #
@@ -7178,6 +7182,12 @@ module Increase
7178
7182
  # @return [String, nil]
7179
7183
  required :instruction_identification, String, nil?: true
7180
7184
 
7185
+ # @!attribute purpose
7186
+ # The reason for the wire transfer, as set by the sender.
7187
+ #
7188
+ # @return [String, nil]
7189
+ required :purpose, String, nil?: true
7190
+
7181
7191
  # @!attribute transfer_id
7182
7192
  # The ID of the Inbound Wire Transfer object that resulted in this Transaction.
7183
7193
  #
@@ -7198,7 +7208,7 @@ module Increase
7198
7208
  # @return [String, nil]
7199
7209
  required :unstructured_remittance_information, String, nil?: true
7200
7210
 
7201
- # @!method initialize(amount:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, transfer_id:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
7211
+ # @!method initialize(amount:, creditor_address_line1:, creditor_address_line2:, creditor_address_line3:, creditor_name:, debtor_address_line1:, debtor_address_line2:, debtor_address_line3:, debtor_name:, description:, end_to_end_identification:, input_message_accountability_data:, instructing_agent_routing_number:, instruction_identification:, purpose:, transfer_id:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
7202
7212
  # Some parameter documentations has been truncated, see
7203
7213
  # {Increase::Models::Transaction::Source::InboundWireTransfer} for more details.
7204
7214
  #
@@ -7235,6 +7245,8 @@ module Increase
7235
7245
  #
7236
7246
  # @param instruction_identification [String, nil] The sending bank's identifier for the wire transfer.
7237
7247
  #
7248
+ # @param purpose [String, nil] The reason for the wire transfer, as set by the sender.
7249
+ #
7238
7250
  # @param transfer_id [String] The ID of the Inbound Wire Transfer object that resulted in this Transaction.
7239
7251
  #
7240
7252
  # @param unique_end_to_end_transaction_reference [String, nil] The Unique End-to-end Transaction Reference ([UETR](https://www.swift.com/paymen
@@ -279,6 +279,18 @@ module Increase
279
279
  # Occurs whenever an IntraFi Exclusion is updated.
280
280
  INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
281
281
 
282
+ # Occurs whenever a Loan Application is created.
283
+ LOAN_APPLICATION_CREATED = :"loan_application.created"
284
+
285
+ # Occurs whenever a Loan Application is updated.
286
+ LOAN_APPLICATION_UPDATED = :"loan_application.updated"
287
+
288
+ # Occurs whenever a Loan Offer is created.
289
+ LOAN_OFFER_CREATED = :"loan_offer.created"
290
+
291
+ # Occurs whenever a Loan Offer is updated.
292
+ LOAN_OFFER_UPDATED = :"loan_offer.updated"
293
+
282
294
  # Occurs whenever a Lockbox is created.
283
295
  LOCKBOX_CREATED = :"lockbox.created"
284
296
 
@@ -79,6 +79,13 @@ module Increase
79
79
  # @return [String]
80
80
  required :debtor_routing_number, String
81
81
 
82
+ # @!attribute end_to_end_identification
83
+ # A free-form reference string set by the sender, to be mirrored back in the
84
+ # subsequent wire transfer.
85
+ #
86
+ # @return [String, nil]
87
+ required :end_to_end_identification, String, nil?: true
88
+
82
89
  # @!attribute fulfillment_inbound_wire_transfer_id
83
90
  # If the recipient fulfills the drawdown request by sending funds, then this will
84
91
  # be the identifier of the corresponding Transaction.
@@ -114,13 +121,21 @@ module Increase
114
121
  # @return [Symbol, Increase::Models::WireDrawdownRequest::Type]
115
122
  required :type, enum: -> { Increase::WireDrawdownRequest::Type }
116
123
 
124
+ # @!attribute unique_end_to_end_transaction_reference
125
+ # The unique end-to-end transaction reference
126
+ # ([UETR](https://www.swift.com/payments/what-unique-end-end-transaction-reference-uetr))
127
+ # of the drawdown request.
128
+ #
129
+ # @return [String, nil]
130
+ required :unique_end_to_end_transaction_reference, String, nil?: true
131
+
117
132
  # @!attribute unstructured_remittance_information
118
133
  # Remittance information the debtor will see as part of the drawdown request.
119
134
  #
120
135
  # @return [String]
121
136
  required :unstructured_remittance_information, String
122
137
 
123
- # @!method initialize(id:, account_number_id:, amount:, created_at:, creditor_address:, creditor_name:, currency:, debtor_account_number:, debtor_address:, debtor_external_account_id:, debtor_name:, debtor_routing_number:, fulfillment_inbound_wire_transfer_id:, idempotency_key:, status:, submission:, type:, unstructured_remittance_information:)
138
+ # @!method initialize(id:, account_number_id:, amount:, created_at:, creditor_address:, creditor_name:, currency:, debtor_account_number:, debtor_address:, debtor_external_account_id:, debtor_name:, debtor_routing_number:, end_to_end_identification:, fulfillment_inbound_wire_transfer_id:, idempotency_key:, status:, submission:, type:, unique_end_to_end_transaction_reference:, unstructured_remittance_information:)
124
139
  # Some parameter documentations has been truncated, see
125
140
  # {Increase::Models::WireDrawdownRequest} for more details.
126
141
  #
@@ -155,6 +170,8 @@ module Increase
155
170
  #
156
171
  # @param debtor_routing_number [String] The debtor's routing number.
157
172
  #
173
+ # @param end_to_end_identification [String, nil] A free-form reference string set by the sender, to be mirrored back in the subse
174
+ #
158
175
  # @param fulfillment_inbound_wire_transfer_id [String, nil] If the recipient fulfills the drawdown request by sending funds, then this will
159
176
  #
160
177
  # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
@@ -165,6 +182,8 @@ module Increase
165
182
  #
166
183
  # @param type [Symbol, Increase::Models::WireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be `
167
184
  #
185
+ # @param unique_end_to_end_transaction_reference [String, nil] The unique end-to-end transaction reference ([UETR](https://www.swift.com/paymen
186
+ #
168
187
  # @param unstructured_remittance_information [String] Remittance information the debtor will see as part of the drawdown request.
169
188
 
170
189
  # @see Increase::Models::WireDrawdownRequest#creditor_address
@@ -8,7 +8,7 @@ module Increase
8
8
  #
9
9
  # Create an Export
10
10
  #
11
- # @overload create(category:, account_statement_bai2: nil, account_statement_ofx: nil, account_verification_letter: nil, bookkeeping_account_balance_csv: nil, daily_account_balance_csv: nil, entity_csv: nil, funding_instructions: nil, transaction_csv: nil, vendor_csv: nil, voided_check: nil, request_options: {})
11
+ # @overload create(category:, account_statement_bai2: nil, account_statement_ofx: nil, account_verification_letter: nil, bookkeeping_account_balance_csv: nil, daily_account_balance_csv: nil, entity_csv: nil, fee_csv: nil, funding_instructions: nil, transaction_csv: nil, vendor_csv: nil, voided_check: nil, request_options: {})
12
12
  #
13
13
  # @param category [Symbol, Increase::Models::ExportCreateParams::Category] The type of Export to create.
14
14
  #
@@ -25,6 +25,8 @@ module Increase
25
25
  #
26
26
  # @param entity_csv [Increase::Models::ExportCreateParams::EntityCsv] Options for the created export. Required if `category` is equal to `entity_csv`.
27
27
  #
28
+ # @param fee_csv [Increase::Models::ExportCreateParams::FeeCsv] Options for the created export. Required if `category` is equal to `fee_csv`.
29
+ #
28
30
  # @param funding_instructions [Increase::Models::ExportCreateParams::FundingInstructions] Options for the created export. Required if `category` is equal to `funding_inst
29
31
  #
30
32
  # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to
@@ -79,6 +79,9 @@ module Increase
79
79
  )
80
80
  end
81
81
 
82
+ # Some parameter documentations has been truncated, see
83
+ # {Increase::Models::Simulations::CheckDepositSubmitParams} for more details.
84
+ #
82
85
  # Simulates the submission of a [Check Deposit](#check-deposits) to the Federal
83
86
  # Reserve. This Check Deposit must first have a `status` of `pending`.
84
87
  #
@@ -10,7 +10,7 @@ module Increase
10
10
  #
11
11
  # Simulates an [Inbound Wire Transfer](#inbound-wire-transfers) to your account.
12
12
  #
13
- # @overload create(account_number_id:, amount:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {})
13
+ # @overload create(account_number_id:, amount:, creditor_address_line1: nil, creditor_address_line2: nil, creditor_address_line3: nil, creditor_name: nil, debtor_address_line1: nil, debtor_address_line2: nil, debtor_address_line3: nil, debtor_name: nil, end_to_end_identification: nil, instructing_agent_routing_number: nil, instruction_identification: nil, purpose: nil, unique_end_to_end_transaction_reference: nil, unstructured_remittance_information: nil, wire_drawdown_request_id: nil, request_options: {})
14
14
  #
15
15
  # @param account_number_id [String] The identifier of the Account Number the inbound Wire Transfer is for.
16
16
  #
@@ -38,6 +38,8 @@ module Increase
38
38
  #
39
39
  # @param instruction_identification [String] The sending bank will set instruction_identification in production. You can simu
40
40
  #
41
+ # @param purpose [String] The sending bank will set purpose in production. You can simulate any value here
42
+ #
41
43
  # @param unique_end_to_end_transaction_reference [String] The sending bank will set unique_end_to_end_transaction_reference in production.
42
44
  #
43
45
  # @param unstructured_remittance_information [String] The sending bank will set unstructured_remittance_information in production. You
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.333.1"
4
+ VERSION = "1.334.1"
5
5
  end
@@ -259,14 +259,14 @@ module Increase
259
259
  end
260
260
  OrSymbol = T.type_alias { T.any(Symbol, String) }
261
261
 
262
- # The Prenotification is for an anticipated credit.
262
+ # Credit
263
263
  CREDIT =
264
264
  T.let(
265
265
  :credit,
266
266
  Increase::ACHPrenotification::CreditDebitIndicator::TaggedSymbol
267
267
  )
268
268
 
269
- # The Prenotification is for an anticipated debit.
269
+ # Debit
270
270
  DEBIT =
271
271
  T.let(
272
272
  :debit,
@@ -568,6 +568,13 @@ module Increase
568
568
  Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
569
569
  )
570
570
 
571
+ # A loan account used in a lender-borrower relationship. Uncommon.
572
+ LOAN =
573
+ T.let(
574
+ :loan,
575
+ Increase::ACHPrenotification::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
576
+ )
577
+
571
578
  # A bank's general ledger. Uncommon.
572
579
  GENERAL_LEDGER =
573
580
  T.let(
@@ -217,14 +217,14 @@ module Increase
217
217
  end
218
218
  OrSymbol = T.type_alias { T.any(Symbol, String) }
219
219
 
220
- # The Prenotification is for an anticipated credit.
220
+ # Credit
221
221
  CREDIT =
222
222
  T.let(
223
223
  :credit,
224
224
  Increase::ACHPrenotificationCreateParams::CreditDebitIndicator::TaggedSymbol
225
225
  )
226
226
 
227
- # The Prenotification is for an anticipated debit.
227
+ # Debit
228
228
  DEBIT =
229
229
  T.let(
230
230
  :debit,
@@ -161,8 +161,8 @@ module Increase
161
161
  sig { returns(Increase::ACHTransfer::Network::TaggedSymbol) }
162
162
  attr_accessor :network
163
163
 
164
- # If the receiving bank accepts the transfer but notifies that future transfers
165
- # should use different details, this will contain those details.
164
+ # If the receiving bank notifies that future transfers should use different
165
+ # details, this will contain those details.
166
166
  sig { returns(T::Array[Increase::ACHTransfer::NotificationsOfChange]) }
167
167
  attr_accessor :notifications_of_change
168
168
 
@@ -363,8 +363,8 @@ module Increase
363
363
  individual_name:,
364
364
  # The transfer's network.
365
365
  network:,
366
- # If the receiving bank accepts the transfer but notifies that future transfers
367
- # should use different details, this will contain those details.
366
+ # If the receiving bank notifies that future transfers should use different
367
+ # details, this will contain those details.
368
368
  notifications_of_change:,
369
369
  # The ID for the pending transaction representing the transfer. A pending
370
370
  # transaction is created when the transfer
@@ -1676,6 +1676,13 @@ module Increase
1676
1676
  Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
1677
1677
  )
1678
1678
 
1679
+ # A loan account used in a lender-borrower relationship. Uncommon.
1680
+ LOAN =
1681
+ T.let(
1682
+ :loan,
1683
+ Increase::ACHTransfer::NotificationsOfChange::CorrectedAccountFunding::TaggedSymbol
1684
+ )
1685
+
1679
1686
  # A bank's general ledger. Uncommon.
1680
1687
  GENERAL_LEDGER =
1681
1688
  T.let(
@@ -35,6 +35,10 @@ module Increase
35
35
  end
36
36
  attr_writer :billing_address
37
37
 
38
+ # The Bank Identification Number (BIN) of the Card.
39
+ sig { returns(String) }
40
+ attr_accessor :bin
41
+
38
42
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
39
43
  # the Card was created.
40
44
  sig { returns(Time) }
@@ -100,6 +104,7 @@ module Increase
100
104
  authorization_controls:
101
105
  T.nilable(Increase::Card::AuthorizationControls::OrHash),
102
106
  billing_address: Increase::Card::BillingAddress::OrHash,
107
+ bin: String,
103
108
  created_at: Time,
104
109
  description: T.nilable(String),
105
110
  digital_wallet: T.nilable(Increase::Card::DigitalWallet::OrHash),
@@ -121,6 +126,8 @@ module Increase
121
126
  authorization_controls:,
122
127
  # The Card's billing address.
123
128
  billing_address:,
129
+ # The Bank Identification Number (BIN) of the Card.
130
+ bin:,
124
131
  # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
125
132
  # the Card was created.
126
133
  created_at:,
@@ -158,6 +165,7 @@ module Increase
158
165
  authorization_controls:
159
166
  T.nilable(Increase::Card::AuthorizationControls),
160
167
  billing_address: Increase::Card::BillingAddress,
168
+ bin: String,
161
169
  created_at: Time,
162
170
  description: T.nilable(String),
163
171
  digital_wallet: T.nilable(Increase::Card::DigitalWallet),
@@ -47,6 +47,18 @@ module Increase
47
47
  sig { returns(Increase::CardDispute::Network::TaggedSymbol) }
48
48
  attr_accessor :network
49
49
 
50
+ # If the Card Dispute has been rejected, this will contain details of the
51
+ # rejection.
52
+ sig { returns(T.nilable(Increase::CardDispute::Rejection)) }
53
+ attr_reader :rejection
54
+
55
+ sig do
56
+ params(
57
+ rejection: T.nilable(Increase::CardDispute::Rejection::OrHash)
58
+ ).void
59
+ end
60
+ attr_writer :rejection
61
+
50
62
  # The status of the Card Dispute.
51
63
  sig { returns(Increase::CardDispute::Status::TaggedSymbol) }
52
64
  attr_accessor :status
@@ -104,6 +116,7 @@ module Increase
104
116
  idempotency_key: T.nilable(String),
105
117
  loss: T.nilable(Increase::CardDispute::Loss::OrHash),
106
118
  network: Increase::CardDispute::Network::OrSymbol,
119
+ rejection: T.nilable(Increase::CardDispute::Rejection::OrHash),
107
120
  status: Increase::CardDispute::Status::OrSymbol,
108
121
  type: Increase::CardDispute::Type::OrSymbol,
109
122
  user_submission_required_by: T.nilable(Time),
@@ -133,6 +146,9 @@ module Increase
133
146
  loss:,
134
147
  # The network that the Card Dispute is associated with.
135
148
  network:,
149
+ # If the Card Dispute has been rejected, this will contain details of the
150
+ # rejection.
151
+ rejection:,
136
152
  # The status of the Card Dispute.
137
153
  status:,
138
154
  # A constant representing the object's type. For this resource it will always be
@@ -167,6 +183,7 @@ module Increase
167
183
  idempotency_key: T.nilable(String),
168
184
  loss: T.nilable(Increase::CardDispute::Loss),
169
185
  network: Increase::CardDispute::Network::TaggedSymbol,
186
+ rejection: T.nilable(Increase::CardDispute::Rejection),
170
187
  status: Increase::CardDispute::Status::TaggedSymbol,
171
188
  type: Increase::CardDispute::Type::TaggedSymbol,
172
189
  user_submission_required_by: T.nilable(Time),
@@ -273,6 +290,42 @@ module Increase
273
290
  end
274
291
  end
275
292
 
293
+ class Rejection < Increase::Internal::Type::BaseModel
294
+ OrHash =
295
+ T.type_alias do
296
+ T.any(Increase::CardDispute::Rejection, Increase::Internal::AnyHash)
297
+ end
298
+
299
+ # Why the Card Dispute was rejected.
300
+ sig { returns(String) }
301
+ attr_accessor :explanation
302
+
303
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
304
+ # the Card Dispute was rejected.
305
+ sig { returns(Time) }
306
+ attr_accessor :rejected_at
307
+
308
+ # If the Card Dispute has been rejected, this will contain details of the
309
+ # rejection.
310
+ sig do
311
+ params(explanation: String, rejected_at: Time).returns(
312
+ T.attached_class
313
+ )
314
+ end
315
+ def self.new(
316
+ # Why the Card Dispute was rejected.
317
+ explanation:,
318
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
319
+ # the Card Dispute was rejected.
320
+ rejected_at:
321
+ )
322
+ end
323
+
324
+ sig { override.returns({ explanation: String, rejected_at: Time }) }
325
+ def to_hash
326
+ end
327
+ end
328
+
276
329
  # The status of the Card Dispute.
277
330
  module Status
278
331
  extend Increase::Internal::Type::Enum
@@ -319,6 +372,9 @@ module Increase
319
372
  # The Card Dispute has been won and no further action can be taken.
320
373
  WON = T.let(:won, Increase::CardDispute::Status::TaggedSymbol)
321
374
 
375
+ # The Card Dispute has been reviewed and rejected, please review the explanation for more details.
376
+ REJECTED = T.let(:rejected, Increase::CardDispute::Status::TaggedSymbol)
377
+
322
378
  sig do
323
379
  override.returns(
324
380
  T::Array[Increase::CardDispute::Status::TaggedSymbol]
@@ -280,6 +280,13 @@ module Increase
280
280
  Increase::CardDisputeListParams::Status::In::TaggedSymbol
281
281
  )
282
282
 
283
+ # The Card Dispute has been reviewed and rejected, please review the explanation for more details.
284
+ REJECTED =
285
+ T.let(
286
+ :rejected,
287
+ Increase::CardDisputeListParams::Status::In::TaggedSymbol
288
+ )
289
+
283
290
  sig do
284
291
  override.returns(
285
292
  T::Array[