increase 1.60.0 → 1.62.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ea7bd919cb0d2a7fc569775de0da419730220719592ae6466d6e9accff0d96c0
4
- data.tar.gz: c3901bda964156f699f9ebab3fc3d6539bf895b8039d39a5fe3ae92cfa3bdc6b
3
+ metadata.gz: 15b72439e813be126ada1f2b7beb01e41b0dcaca294c17b428d03b822b22a357
4
+ data.tar.gz: 8042dc70cb56867f1c738c33a99c922b3f51d914e9a96ed8b37b2c313c9bd957
5
5
  SHA512:
6
- metadata.gz: fac05179f1f6cdaff2496c40d45678303b619d1f096021ad07a339070dd266fe02826b25be73ac9f7435e604d8d0a25f224424f9c7fc632e6a7581051d24fe9b
7
- data.tar.gz: 38e6cbd4e4ec82831f873585b6d55e48e0df14992ac287337faed4d5e8fe2d8850b28a0009639da603134e4050630122fe0be8d62c288fedbbd4ec5ea86467eb
6
+ metadata.gz: d10f55ebe9343ad66de8f33ec8c6cd36cff42744a8bdef1b4eeb5055d881696bcb4b75b1f2603d1e124eb5b378de9e23348df21b57b1233e696f6cbfdc18ca54
7
+ data.tar.gz: 23023e9919b592b3d4b72b61b9b157ea81d0aa3b786054e96f577cca507cd27624307e4016f209786ef2416758743650369cf8ed16d66b48d2e39d47be838d5a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.62.0 (2025-08-29)
4
+
5
+ Full Changelog: [v1.61.0...v1.62.0](https://github.com/Increase/increase-ruby/compare/v1.61.0...v1.62.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([356b373](https://github.com/Increase/increase-ruby/commit/356b373ee000da480050236864e5a9bc4cdc113a))
10
+
11
+ ## 1.61.0 (2025-08-29)
12
+
13
+ Full Changelog: [v1.60.0...v1.61.0](https://github.com/Increase/increase-ruby/compare/v1.60.0...v1.61.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([c0ff18c](https://github.com/Increase/increase-ruby/commit/c0ff18c03231449f0ca49b9902e606528d4a8c3d))
18
+
3
19
  ## 1.60.0 (2025-08-29)
4
20
 
5
21
  Full Changelog: [v1.59.0...v1.60.0](https://github.com/Increase/increase-ruby/compare/v1.59.0...v1.60.0)
data/README.md CHANGED
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
15
15
  <!-- x-release-please-start-version -->
16
16
 
17
17
  ```ruby
18
- gem "increase", "~> 1.60.0"
18
+ gem "increase", "~> 1.62.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -195,6 +195,7 @@ module Increase
195
195
 
196
196
  # @!attribute freeform
197
197
  # Unstructured `payment_related_information` passed through with the transfer.
198
+ # Required if and only if `category` is `freeform`.
198
199
  #
199
200
  # @return [Increase::Models::ACHTransferCreateParams::Addenda::Freeform, nil]
200
201
  optional :freeform, -> { Increase::ACHTransferCreateParams::Addenda::Freeform }
@@ -202,6 +203,7 @@ module Increase
202
203
  # @!attribute payment_order_remittance_advice
203
204
  # Structured ASC X12 820 remittance advice records. Please reach out to
204
205
  # [support@increase.com](mailto:support@increase.com) for more information.
206
+ # Required if and only if `category` is `payment_order_remittance_advice`.
205
207
  #
206
208
  # @return [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice, nil]
207
209
  optional :payment_order_remittance_advice,
@@ -216,7 +218,7 @@ module Increase
216
218
  #
217
219
  # @param category [Symbol, Increase::Models::ACHTransferCreateParams::Addenda::Category] The type of addenda to pass with the transfer.
218
220
  #
219
- # @param freeform [Increase::Models::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer.
221
+ # @param freeform [Increase::Models::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer. Req
220
222
  #
221
223
  # @param payment_order_remittance_advice [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice] Structured ASC X12 820 remittance advice records. Please reach out to [support@i
222
224
 
@@ -254,6 +256,7 @@ module Increase
254
256
  # {Increase::Models::ACHTransferCreateParams::Addenda::Freeform} for more details.
255
257
  #
256
258
  # Unstructured `payment_related_information` passed through with the transfer.
259
+ # Required if and only if `category` is `freeform`.
257
260
  #
258
261
  # @param entries [Array<Increase::Models::ACHTransferCreateParams::Addenda::Freeform::Entry>] Each entry represents an addendum sent with the transfer. In general, you should
259
262
 
@@ -281,6 +284,7 @@ module Increase
281
284
  # @!method initialize(invoices:)
282
285
  # Structured ASC X12 820 remittance advice records. Please reach out to
283
286
  # [support@increase.com](mailto:support@increase.com) for more information.
287
+ # Required if and only if `category` is `payment_order_remittance_advice`.
284
288
  #
285
289
  # @param invoices [Array<Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice>] ASC X12 RMR records for this specific transfer.
286
290
 
@@ -14,23 +14,28 @@ module Increase
14
14
  required :category, enum: -> { Increase::DocumentCreateParams::Category }
15
15
 
16
16
  # @!attribute account_verification_letter
17
- # An account verification letter.
17
+ # An account verification letter. Required if and only if `category` is
18
+ # `account_verification_letter`.
18
19
  #
19
20
  # @return [Increase::Models::DocumentCreateParams::AccountVerificationLetter, nil]
20
21
  optional :account_verification_letter, -> { Increase::DocumentCreateParams::AccountVerificationLetter }
21
22
 
22
23
  # @!attribute funding_instructions
23
- # Funding instructions.
24
+ # Funding instructions. Required if and only if `category` is
25
+ # `funding_instructions`.
24
26
  #
25
27
  # @return [Increase::Models::DocumentCreateParams::FundingInstructions, nil]
26
28
  optional :funding_instructions, -> { Increase::DocumentCreateParams::FundingInstructions }
27
29
 
28
30
  # @!method initialize(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
31
+ # Some parameter documentations has been truncated, see
32
+ # {Increase::Models::DocumentCreateParams} for more details.
33
+ #
29
34
  # @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
30
35
  #
31
- # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
36
+ # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. Required if and only if `category` is `account_v
32
37
  #
33
- # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
38
+ # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. Required if and only if `category` is `funding_instruction
34
39
  #
35
40
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
36
41
 
@@ -62,7 +67,8 @@ module Increase
62
67
  optional :balance_date, Date
63
68
 
64
69
  # @!method initialize(account_number_id:, balance_date: nil)
65
- # An account verification letter.
70
+ # An account verification letter. Required if and only if `category` is
71
+ # `account_verification_letter`.
66
72
  #
67
73
  # @param account_number_id [String] The Account Number the bank letter should be generated for.
68
74
  #
@@ -77,7 +83,8 @@ module Increase
77
83
  required :account_number_id, String
78
84
 
79
85
  # @!method initialize(account_number_id:)
80
- # Funding instructions.
86
+ # Funding instructions. Required if and only if `category` is
87
+ # `funding_instructions`.
81
88
  #
82
89
  # @param account_number_id [String] The Account Number the funding instructions should be generated for.
83
90
  end
@@ -28,7 +28,7 @@ module Increase
28
28
 
29
29
  # @!attribute government_authority
30
30
  # Details of the Government Authority entity to create. Required if `structure` is
31
- # equal to `Government Authority`.
31
+ # equal to `government_authority`.
32
32
  #
33
33
  # @return [Increase::Models::EntityCreateParams::GovernmentAuthority, nil]
34
34
  optional :government_authority, -> { Increase::EntityCreateParams::GovernmentAuthority }
@@ -693,7 +693,7 @@ module Increase
693
693
  # {Increase::Models::EntityCreateParams::GovernmentAuthority} for more details.
694
694
  #
695
695
  # Details of the Government Authority entity to create. Required if `structure` is
696
- # equal to `Government Authority`.
696
+ # equal to `government_authority`.
697
697
  #
698
698
  # @param address [Increase::Models::EntityCreateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's
699
699
  #
@@ -1642,8 +1642,8 @@ module Increase
1642
1642
  required :structure, enum: -> { Increase::EntityCreateParams::Trust::Trustee::Structure }
1643
1643
 
1644
1644
  # @!attribute individual
1645
- # Details of the individual trustee. Required when the trustee `structure` is
1646
- # equal to `individual`.
1645
+ # Details of the individual trustee. Within the trustee object, this is required
1646
+ # if `structure` is equal to `individual`.
1647
1647
  #
1648
1648
  # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual, nil]
1649
1649
  optional :individual, -> { Increase::EntityCreateParams::Trust::Trustee::Individual }
@@ -1654,7 +1654,7 @@ module Increase
1654
1654
  #
1655
1655
  # @param structure [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Structure] The structure of the trustee.
1656
1656
  #
1657
- # @param individual [Increase::Models::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee. Required when the trustee `structure` is equa
1657
+ # @param individual [Increase::Models::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee. Within the trustee object, this is required i
1658
1658
 
1659
1659
  # The structure of the trustee.
1660
1660
  #
@@ -1710,8 +1710,8 @@ module Increase
1710
1710
  # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual} for more
1711
1711
  # details.
1712
1712
  #
1713
- # Details of the individual trustee. Required when the trustee `structure` is
1714
- # equal to `individual`.
1713
+ # Details of the individual trustee. Within the trustee object, this is required
1714
+ # if `structure` is equal to `individual`.
1715
1715
  #
1716
1716
  # @param address [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM
1717
1717
  #
@@ -5217,6 +5217,20 @@ module Increase
5217
5217
  # @return [String, nil]
5218
5218
  required :return_reason_additional_information, String, nil?: true
5219
5219
 
5220
+ # @!attribute return_reason_code
5221
+ # A code provided by the sending bank giving a reason for the reversal. It will
5222
+ # generally be one of the codes defined in the ISO20022
5223
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
5224
+ #
5225
+ # @return [String, nil]
5226
+ required :return_reason_code, String, nil?: true
5227
+
5228
+ # @!attribute return_reason_code_description
5229
+ # An Increase-generated description of the `return_reason_code`.
5230
+ #
5231
+ # @return [String, nil]
5232
+ required :return_reason_code_description, String, nil?: true
5233
+
5220
5234
  # @!attribute transaction_id
5221
5235
  # The ID for the Transaction associated with the transfer reversal.
5222
5236
  #
@@ -5229,7 +5243,7 @@ module Increase
5229
5243
  # @return [String]
5230
5244
  required :wire_transfer_id, String
5231
5245
 
5232
- # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:)
5246
+ # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:)
5233
5247
  # Some parameter documentations has been truncated, see
5234
5248
  # {Increase::Models::Transaction::Source::InboundWireReversal} for more details.
5235
5249
  #
@@ -5259,6 +5273,10 @@ module Increase
5259
5273
  #
5260
5274
  # @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal.
5261
5275
  #
5276
+ # @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge
5277
+ #
5278
+ # @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`.
5279
+ #
5262
5280
  # @param transaction_id [String] The ID for the Transaction associated with the transfer reversal.
5263
5281
  #
5264
5282
  # @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed.
@@ -523,6 +523,20 @@ module Increase
523
523
  # @return [String, nil]
524
524
  required :return_reason_additional_information, String, nil?: true
525
525
 
526
+ # @!attribute return_reason_code
527
+ # A code provided by the sending bank giving a reason for the reversal. It will
528
+ # generally be one of the codes defined in the ISO20022
529
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
530
+ #
531
+ # @return [String, nil]
532
+ required :return_reason_code, String, nil?: true
533
+
534
+ # @!attribute return_reason_code_description
535
+ # An Increase-generated description of the `return_reason_code`.
536
+ #
537
+ # @return [String, nil]
538
+ required :return_reason_code_description, String, nil?: true
539
+
526
540
  # @!attribute transaction_id
527
541
  # The ID for the Transaction associated with the transfer reversal.
528
542
  #
@@ -535,7 +549,7 @@ module Increase
535
549
  # @return [String]
536
550
  required :wire_transfer_id, String
537
551
 
538
- # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, transaction_id:, wire_transfer_id:)
552
+ # @!method initialize(amount:, created_at:, debtor_routing_number:, description:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, instruction_identification:, return_reason_additional_information:, return_reason_code:, return_reason_code_description:, transaction_id:, wire_transfer_id:)
539
553
  # Some parameter documentations has been truncated, see
540
554
  # {Increase::Models::WireTransfer::Reversal} for more details.
541
555
  #
@@ -561,6 +575,10 @@ module Increase
561
575
  #
562
576
  # @param return_reason_additional_information [String, nil] Additional information about the reason for the reversal.
563
577
  #
578
+ # @param return_reason_code [String, nil] A code provided by the sending bank giving a reason for the reversal. It will ge
579
+ #
580
+ # @param return_reason_code_description [String, nil] An Increase-generated description of the `return_reason_code`.
581
+ #
564
582
  # @param transaction_id [String] The ID for the Transaction associated with the transfer reversal.
565
583
  #
566
584
  # @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed.
@@ -3,15 +3,18 @@
3
3
  module Increase
4
4
  module Resources
5
5
  class Documents
6
+ # Some parameter documentations has been truncated, see
7
+ # {Increase::Models::DocumentCreateParams} for more details.
8
+ #
6
9
  # Create a Document
7
10
  #
8
11
  # @overload create(category:, account_verification_letter: nil, funding_instructions: nil, request_options: {})
9
12
  #
10
13
  # @param category [Symbol, Increase::Models::DocumentCreateParams::Category] The type of document to create.
11
14
  #
12
- # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter.
15
+ # @param account_verification_letter [Increase::Models::DocumentCreateParams::AccountVerificationLetter] An account verification letter. Required if and only if `category` is `account_v
13
16
  #
14
- # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions.
17
+ # @param funding_instructions [Increase::Models::DocumentCreateParams::FundingInstructions] Funding instructions. Required if and only if `category` is `funding_instruction
15
18
  #
16
19
  # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil]
17
20
  #
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.60.0"
4
+ VERSION = "1.62.0"
5
5
  end
@@ -345,6 +345,7 @@ module Increase
345
345
  attr_accessor :category
346
346
 
347
347
  # Unstructured `payment_related_information` passed through with the transfer.
348
+ # Required if and only if `category` is `freeform`.
348
349
  sig do
349
350
  returns(
350
351
  T.nilable(Increase::ACHTransferCreateParams::Addenda::Freeform)
@@ -362,6 +363,7 @@ module Increase
362
363
 
363
364
  # Structured ASC X12 820 remittance advice records. Please reach out to
364
365
  # [support@increase.com](mailto:support@increase.com) for more information.
366
+ # Required if and only if `category` is `payment_order_remittance_advice`.
365
367
  sig do
366
368
  returns(
367
369
  T.nilable(
@@ -395,9 +397,11 @@ module Increase
395
397
  # The type of addenda to pass with the transfer.
396
398
  category:,
397
399
  # Unstructured `payment_related_information` passed through with the transfer.
400
+ # Required if and only if `category` is `freeform`.
398
401
  freeform: nil,
399
402
  # Structured ASC X12 820 remittance advice records. Please reach out to
400
403
  # [support@increase.com](mailto:support@increase.com) for more information.
404
+ # Required if and only if `category` is `payment_order_remittance_advice`.
401
405
  payment_order_remittance_advice: nil
402
406
  )
403
407
  end
@@ -478,6 +482,7 @@ module Increase
478
482
  attr_accessor :entries
479
483
 
480
484
  # Unstructured `payment_related_information` passed through with the transfer.
485
+ # Required if and only if `category` is `freeform`.
481
486
  sig do
482
487
  params(
483
488
  entries:
@@ -560,6 +565,7 @@ module Increase
560
565
 
561
566
  # Structured ASC X12 820 remittance advice records. Please reach out to
562
567
  # [support@increase.com](mailto:support@increase.com) for more information.
568
+ # Required if and only if `category` is `payment_order_remittance_advice`.
563
569
  sig do
564
570
  params(
565
571
  invoices:
@@ -15,7 +15,8 @@ module Increase
15
15
  sig { returns(Increase::DocumentCreateParams::Category::OrSymbol) }
16
16
  attr_accessor :category
17
17
 
18
- # An account verification letter.
18
+ # An account verification letter. Required if and only if `category` is
19
+ # `account_verification_letter`.
19
20
  sig do
20
21
  returns(
21
22
  T.nilable(Increase::DocumentCreateParams::AccountVerificationLetter)
@@ -31,7 +32,8 @@ module Increase
31
32
  end
32
33
  attr_writer :account_verification_letter
33
34
 
34
- # Funding instructions.
35
+ # Funding instructions. Required if and only if `category` is
36
+ # `funding_instructions`.
35
37
  sig do
36
38
  returns(T.nilable(Increase::DocumentCreateParams::FundingInstructions))
37
39
  end
@@ -58,9 +60,11 @@ module Increase
58
60
  def self.new(
59
61
  # The type of document to create.
60
62
  category:,
61
- # An account verification letter.
63
+ # An account verification letter. Required if and only if `category` is
64
+ # `account_verification_letter`.
62
65
  account_verification_letter: nil,
63
- # Funding instructions.
66
+ # Funding instructions. Required if and only if `category` is
67
+ # `funding_instructions`.
64
68
  funding_instructions: nil,
65
69
  request_options: {}
66
70
  )
@@ -134,7 +138,8 @@ module Increase
134
138
  sig { params(balance_date: Date).void }
135
139
  attr_writer :balance_date
136
140
 
137
- # An account verification letter.
141
+ # An account verification letter. Required if and only if `category` is
142
+ # `account_verification_letter`.
138
143
  sig do
139
144
  params(account_number_id: String, balance_date: Date).returns(
140
145
  T.attached_class
@@ -168,7 +173,8 @@ module Increase
168
173
  sig { returns(String) }
169
174
  attr_accessor :account_number_id
170
175
 
171
- # Funding instructions.
176
+ # Funding instructions. Required if and only if `category` is
177
+ # `funding_instructions`.
172
178
  sig { params(account_number_id: String).returns(T.attached_class) }
173
179
  def self.new(
174
180
  # The Account Number the funding instructions should be generated for.
@@ -35,7 +35,7 @@ module Increase
35
35
  attr_writer :description
36
36
 
37
37
  # Details of the Government Authority entity to create. Required if `structure` is
38
- # equal to `Government Authority`.
38
+ # equal to `government_authority`.
39
39
  sig do
40
40
  returns(T.nilable(Increase::EntityCreateParams::GovernmentAuthority))
41
41
  end
@@ -140,7 +140,7 @@ module Increase
140
140
  # The description you choose to give the entity.
141
141
  description: nil,
142
142
  # Details of the Government Authority entity to create. Required if `structure` is
143
- # equal to `Government Authority`.
143
+ # equal to `government_authority`.
144
144
  government_authority: nil,
145
145
  # Details of the joint entity to create. Required if `structure` is equal to
146
146
  # `joint`.
@@ -1263,7 +1263,7 @@ module Increase
1263
1263
  attr_writer :website
1264
1264
 
1265
1265
  # Details of the Government Authority entity to create. Required if `structure` is
1266
- # equal to `Government Authority`.
1266
+ # equal to `government_authority`.
1267
1267
  sig do
1268
1268
  params(
1269
1269
  address:
@@ -3005,8 +3005,8 @@ module Increase
3005
3005
  end
3006
3006
  attr_accessor :structure
3007
3007
 
3008
- # Details of the individual trustee. Required when the trustee `structure` is
3009
- # equal to `individual`.
3008
+ # Details of the individual trustee. Within the trustee object, this is required
3009
+ # if `structure` is equal to `individual`.
3010
3010
  sig do
3011
3011
  returns(
3012
3012
  T.nilable(
@@ -3035,8 +3035,8 @@ module Increase
3035
3035
  def self.new(
3036
3036
  # The structure of the trustee.
3037
3037
  structure:,
3038
- # Details of the individual trustee. Required when the trustee `structure` is
3039
- # equal to `individual`.
3038
+ # Details of the individual trustee. Within the trustee object, this is required
3039
+ # if `structure` is equal to `individual`.
3040
3040
  individual: nil
3041
3041
  )
3042
3042
  end
@@ -3145,8 +3145,8 @@ module Increase
3145
3145
  sig { params(confirmed_no_us_tax_id: T::Boolean).void }
3146
3146
  attr_writer :confirmed_no_us_tax_id
3147
3147
 
3148
- # Details of the individual trustee. Required when the trustee `structure` is
3149
- # equal to `individual`.
3148
+ # Details of the individual trustee. Within the trustee object, this is required
3149
+ # if `structure` is equal to `individual`.
3150
3150
  sig do
3151
3151
  params(
3152
3152
  address:
@@ -9623,6 +9623,16 @@ module Increase
9623
9623
  sig { returns(T.nilable(String)) }
9624
9624
  attr_accessor :return_reason_additional_information
9625
9625
 
9626
+ # A code provided by the sending bank giving a reason for the reversal. It will
9627
+ # generally be one of the codes defined in the ISO20022
9628
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
9629
+ sig { returns(T.nilable(String)) }
9630
+ attr_accessor :return_reason_code
9631
+
9632
+ # An Increase-generated description of the `return_reason_code`.
9633
+ sig { returns(T.nilable(String)) }
9634
+ attr_accessor :return_reason_code_description
9635
+
9626
9636
  # The ID for the Transaction associated with the transfer reversal.
9627
9637
  sig { returns(String) }
9628
9638
  attr_accessor :transaction_id
@@ -9648,6 +9658,8 @@ module Increase
9648
9658
  input_source: String,
9649
9659
  instruction_identification: T.nilable(String),
9650
9660
  return_reason_additional_information: T.nilable(String),
9661
+ return_reason_code: T.nilable(String),
9662
+ return_reason_code_description: T.nilable(String),
9651
9663
  transaction_id: String,
9652
9664
  wire_transfer_id: String
9653
9665
  ).returns(T.attached_class)
@@ -9675,6 +9687,12 @@ module Increase
9675
9687
  instruction_identification:,
9676
9688
  # Additional information about the reason for the reversal.
9677
9689
  return_reason_additional_information:,
9690
+ # A code provided by the sending bank giving a reason for the reversal. It will
9691
+ # generally be one of the codes defined in the ISO20022
9692
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
9693
+ return_reason_code:,
9694
+ # An Increase-generated description of the `return_reason_code`.
9695
+ return_reason_code_description:,
9678
9696
  # The ID for the Transaction associated with the transfer reversal.
9679
9697
  transaction_id:,
9680
9698
  # The ID for the Wire Transfer that is being reversed.
@@ -9695,6 +9713,8 @@ module Increase
9695
9713
  input_source: String,
9696
9714
  instruction_identification: T.nilable(String),
9697
9715
  return_reason_additional_information: T.nilable(String),
9716
+ return_reason_code: T.nilable(String),
9717
+ return_reason_code_description: T.nilable(String),
9698
9718
  transaction_id: String,
9699
9719
  wire_transfer_id: String
9700
9720
  }
@@ -735,6 +735,16 @@ module Increase
735
735
  sig { returns(T.nilable(String)) }
736
736
  attr_accessor :return_reason_additional_information
737
737
 
738
+ # A code provided by the sending bank giving a reason for the reversal. It will
739
+ # generally be one of the codes defined in the ISO20022
740
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
741
+ sig { returns(T.nilable(String)) }
742
+ attr_accessor :return_reason_code
743
+
744
+ # An Increase-generated description of the `return_reason_code`.
745
+ sig { returns(T.nilable(String)) }
746
+ attr_accessor :return_reason_code_description
747
+
738
748
  # The ID for the Transaction associated with the transfer reversal.
739
749
  sig { returns(String) }
740
750
  attr_accessor :transaction_id
@@ -756,6 +766,8 @@ module Increase
756
766
  input_source: String,
757
767
  instruction_identification: T.nilable(String),
758
768
  return_reason_additional_information: T.nilable(String),
769
+ return_reason_code: T.nilable(String),
770
+ return_reason_code_description: T.nilable(String),
759
771
  transaction_id: String,
760
772
  wire_transfer_id: String
761
773
  ).returns(T.attached_class)
@@ -783,6 +795,12 @@ module Increase
783
795
  instruction_identification:,
784
796
  # Additional information about the reason for the reversal.
785
797
  return_reason_additional_information:,
798
+ # A code provided by the sending bank giving a reason for the reversal. It will
799
+ # generally be one of the codes defined in the ISO20022
800
+ # `ExternalReturnReason1Code` code set, but this is not enforced by the network.
801
+ return_reason_code:,
802
+ # An Increase-generated description of the `return_reason_code`.
803
+ return_reason_code_description:,
786
804
  # The ID for the Transaction associated with the transfer reversal.
787
805
  transaction_id:,
788
806
  # The ID for the Wire Transfer that is being reversed.
@@ -803,6 +821,8 @@ module Increase
803
821
  input_source: String,
804
822
  instruction_identification: T.nilable(String),
805
823
  return_reason_additional_information: T.nilable(String),
824
+ return_reason_code: T.nilable(String),
825
+ return_reason_code_description: T.nilable(String),
806
826
  transaction_id: String,
807
827
  wire_transfer_id: String
808
828
  }
@@ -17,9 +17,11 @@ module Increase
17
17
  def create(
18
18
  # The type of document to create.
19
19
  category:,
20
- # An account verification letter.
20
+ # An account verification letter. Required if and only if `category` is
21
+ # `account_verification_letter`.
21
22
  account_verification_letter: nil,
22
- # Funding instructions.
23
+ # Funding instructions. Required if and only if `category` is
24
+ # `funding_instructions`.
23
25
  funding_instructions: nil,
24
26
  request_options: {}
25
27
  )
@@ -32,7 +32,7 @@ module Increase
32
32
  # The description you choose to give the entity.
33
33
  description: nil,
34
34
  # Details of the Government Authority entity to create. Required if `structure` is
35
- # equal to `Government Authority`.
35
+ # equal to `government_authority`.
36
36
  government_authority: nil,
37
37
  # Details of the joint entity to create. Required if `structure` is equal to
38
38
  # `joint`.
@@ -3946,6 +3946,8 @@ module Increase
3946
3946
  input_source: String,
3947
3947
  instruction_identification: String?,
3948
3948
  return_reason_additional_information: String?,
3949
+ return_reason_code: String?,
3950
+ return_reason_code_description: String?,
3949
3951
  transaction_id: String,
3950
3952
  wire_transfer_id: String
3951
3953
  }
@@ -3971,6 +3973,10 @@ module Increase
3971
3973
 
3972
3974
  attr_accessor return_reason_additional_information: String?
3973
3975
 
3976
+ attr_accessor return_reason_code: String?
3977
+
3978
+ attr_accessor return_reason_code_description: String?
3979
+
3974
3980
  attr_accessor transaction_id: String
3975
3981
 
3976
3982
  attr_accessor wire_transfer_id: String
@@ -3986,6 +3992,8 @@ module Increase
3986
3992
  input_source: String,
3987
3993
  instruction_identification: String?,
3988
3994
  return_reason_additional_information: String?,
3995
+ return_reason_code: String?,
3996
+ return_reason_code_description: String?,
3989
3997
  transaction_id: String,
3990
3998
  wire_transfer_id: String
3991
3999
  ) -> void
@@ -4001,6 +4009,8 @@ module Increase
4001
4009
  input_source: String,
4002
4010
  instruction_identification: String?,
4003
4011
  return_reason_additional_information: String?,
4012
+ return_reason_code: String?,
4013
+ return_reason_code_description: String?,
4004
4014
  transaction_id: String,
4005
4015
  wire_transfer_id: String
4006
4016
  }
@@ -312,6 +312,8 @@ module Increase
312
312
  input_source: String,
313
313
  instruction_identification: String?,
314
314
  return_reason_additional_information: String?,
315
+ return_reason_code: String?,
316
+ return_reason_code_description: String?,
315
317
  transaction_id: String,
316
318
  wire_transfer_id: String
317
319
  }
@@ -337,6 +339,10 @@ module Increase
337
339
 
338
340
  attr_accessor return_reason_additional_information: String?
339
341
 
342
+ attr_accessor return_reason_code: String?
343
+
344
+ attr_accessor return_reason_code_description: String?
345
+
340
346
  attr_accessor transaction_id: String
341
347
 
342
348
  attr_accessor wire_transfer_id: String
@@ -352,6 +358,8 @@ module Increase
352
358
  input_source: String,
353
359
  instruction_identification: String?,
354
360
  return_reason_additional_information: String?,
361
+ return_reason_code: String?,
362
+ return_reason_code_description: String?,
355
363
  transaction_id: String,
356
364
  wire_transfer_id: String
357
365
  ) -> void
@@ -367,6 +375,8 @@ module Increase
367
375
  input_source: String,
368
376
  instruction_identification: String?,
369
377
  return_reason_additional_information: String?,
378
+ return_reason_code: String?,
379
+ return_reason_code_description: String?,
370
380
  transaction_id: String,
371
381
  wire_transfer_id: String
372
382
  }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.60.0
4
+ version: 1.62.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase