increase 1.121.0 → 1.123.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: a83e18a158bb65a5ad0a0b050e034026d3fc3bab4e4cefef8ea702f43cb548af
4
- data.tar.gz: 0e269039d12310523a1cf685efa58dfcd79963ca18cbcf0083d43a065896a342
3
+ metadata.gz: a469a107136f9f9e153aee7784b62da41a986e062c815faf8b7f2c16d6b0491c
4
+ data.tar.gz: e364bc1c448a564b7767ef5ba439ae34190d3ac236bd2f366c80d9e104bac004
5
5
  SHA512:
6
- metadata.gz: 8d2af79d8a5413a0754b8d600e8014eeba2b51fb243f0f4873c860cd5a4b363c2f75ba13f45967c3a96fc69c36ebb524cd913592a732ccd0ea17f396050ba54b
7
- data.tar.gz: '02519b75e875b48109bd1dcff75a97532c9941c09eb61af6bf58feeccf30b83566e568bd7ec8c16350101dcba286c114be2a1ef38d44a2f0be08669c02f87202'
6
+ metadata.gz: 6fc026fec5d04a040c72ed9850e67a0140327deb37436df9c8403e5432d8a1b0a51dca491903871b4ff1aee3fda75d06d962a601cc7175a2bea53aa1d8981c44
7
+ data.tar.gz: a4b980bbe713cd24c324fbc82fe870d0cb30ec66ef32a69d65a8760b09ea01c0b5d3f7c83e0410b0d2d009d82d238fb29585eb75697b14cec6c8addec9fc03c7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,22 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.123.0 (2025-10-30)
4
+
5
+ Full Changelog: [v1.122.0...v1.123.0](https://github.com/Increase/increase-ruby/compare/v1.122.0...v1.123.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([6628932](https://github.com/Increase/increase-ruby/commit/66289327b2c7f5a9c006ccb628d8d6ab4da8057d))
10
+ * **api:** api update ([87e5fe0](https://github.com/Increase/increase-ruby/commit/87e5fe0c02607735c9e1142f71bfa7f5bd85a610))
11
+
12
+ ## 1.122.0 (2025-10-29)
13
+
14
+ Full Changelog: [v1.121.0...v1.122.0](https://github.com/Increase/increase-ruby/compare/v1.121.0...v1.122.0)
15
+
16
+ ### Features
17
+
18
+ * **api:** api update ([77104e0](https://github.com/Increase/increase-ruby/commit/77104e0578897433f919507fafdcca3915c3db5a))
19
+
3
20
  ## 1.121.0 (2025-10-29)
4
21
 
5
22
  Full Changelog: [v1.120.0...v1.121.0](https://github.com/Increase/increase-ruby/compare/v1.120.0...v1.121.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.121.0"
18
+ gem "increase", "~> 1.123.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -993,11 +993,9 @@ module Increase
993
993
  # Non-fiat currency or non-fungible token as described details. Present if and
994
994
  # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
995
995
  #
996
- # @return [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed, nil]
996
+ # @return [Object, nil]
997
997
  required :non_fiat_currency_or_non_fungible_token_as_described,
998
- -> {
999
- Increase::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed
1000
- },
998
+ Increase::Internal::Type::Unknown,
1001
999
  nil?: true
1002
1000
 
1003
1001
  # @!attribute non_fiat_currency_or_non_fungible_token_received
@@ -1052,7 +1050,7 @@ module Increase
1052
1050
  #
1053
1051
  # @param invalid_dispute [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::InvalidDispute, nil] Invalid dispute details. Present if and only if `reason` is `invalid_dispute`.
1054
1052
  #
1055
- # @param non_fiat_currency_or_non_fungible_token_as_described [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenAsDescribed, nil] Non-fiat currency or non-fungible token as described details. Present if and onl
1053
+ # @param non_fiat_currency_or_non_fungible_token_as_described [Object, nil] Non-fiat currency or non-fungible token as described details. Present if and onl
1056
1054
  #
1057
1055
  # @param non_fiat_currency_or_non_fungible_token_received [Increase::Models::CardDispute::Visa::NetworkEvent::Represented::NonFiatCurrencyOrNonFungibleTokenReceived, nil] Non-fiat currency or non-fungible token received details. Present if and only if
1058
1056
  #
@@ -1268,13 +1266,6 @@ module Increase
1268
1266
  end
1269
1267
  end
1270
1268
 
1271
- # @see Increase::Models::CardDispute::Visa::NetworkEvent::Represented#non_fiat_currency_or_non_fungible_token_as_described
1272
- class NonFiatCurrencyOrNonFungibleTokenAsDescribed < Increase::Internal::Type::BaseModel
1273
- # @!method initialize
1274
- # Non-fiat currency or non-fungible token as described details. Present if and
1275
- # only if `reason` is `non_fiat_currency_or_non_fungible_token_as_described`.
1276
- end
1277
-
1278
1269
  # @see Increase::Models::CardDispute::Visa::NetworkEvent::Represented#non_fiat_currency_or_non_fungible_token_received
1279
1270
  class NonFiatCurrencyOrNonFungibleTokenReceived < Increase::Internal::Type::BaseModel
1280
1271
  # @!attribute blockchain_transaction_hash
@@ -1668,10 +1659,8 @@ module Increase
1668
1659
  # Non-receipt of cash. Present if and only if `category` is
1669
1660
  # `consumer_non_receipt_of_cash`.
1670
1661
  #
1671
- # @return [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash, nil]
1672
- required :consumer_non_receipt_of_cash,
1673
- -> { Increase::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash },
1674
- nil?: true
1662
+ # @return [Object, nil]
1663
+ required :consumer_non_receipt_of_cash, Increase::Internal::Type::Unknown, nil?: true
1675
1664
 
1676
1665
  # @!attribute consumer_original_credit_transaction_not_accepted
1677
1666
  # Original Credit Transaction (OCT) not accepted. Present if and only if
@@ -1783,7 +1772,7 @@ module Increase
1783
1772
  #
1784
1773
  # @param consumer_merchandise_not_received [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerMerchandiseNotReceived, nil] Merchandise not received. Present if and only if `category` is `consumer_merchan
1785
1774
  #
1786
- # @param consumer_non_receipt_of_cash [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerNonReceiptOfCash, nil] Non-receipt of cash. Present if and only if `category` is `consumer*non_receipt*
1775
+ # @param consumer_non_receipt_of_cash [Object, nil] Non-receipt of cash. Present if and only if `category` is `consumer*non_receipt*
1787
1776
  #
1788
1777
  # @param consumer_original_credit_transaction_not_accepted [Increase::Models::CardDispute::Visa::UserSubmission::Chargeback::ConsumerOriginalCreditTransactionNotAccepted, nil] Original Credit Transaction (OCT) not accepted. Present if and only if `category
1789
1778
  #
@@ -3686,13 +3675,6 @@ module Increase
3686
3675
  end
3687
3676
  end
3688
3677
 
3689
- # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_non_receipt_of_cash
3690
- class ConsumerNonReceiptOfCash < Increase::Internal::Type::BaseModel
3691
- # @!method initialize
3692
- # Non-receipt of cash. Present if and only if `category` is
3693
- # `consumer_non_receipt_of_cash`.
3694
- end
3695
-
3696
3678
  # @see Increase::Models::CardDispute::Visa::UserSubmission::Chargeback#consumer_original_credit_transaction_not_accepted
3697
3679
  class ConsumerOriginalCreditTransactionNotAccepted < Increase::Internal::Type::BaseModel
3698
3680
  # @!attribute explanation
@@ -654,6 +654,9 @@ module Increase
654
654
  # A public entity acting on behalf of the federal or a state government.
655
655
  PUBLIC_ENTITY = :public_entity
656
656
 
657
+ # Any other reason why this entity is exempt from the requirement to submit beneficial owners. You can only use this exemption after approval from your bank partner.
658
+ OTHER = :other
659
+
657
660
  # @!method self.values
658
661
  # @return [Array<Symbol>]
659
662
  end
@@ -327,8 +327,10 @@ module Increase
327
327
  # if and only if `category` is equal to `user_initiated_hold`. Created when a user
328
328
  # initiates a hold on funds in their account.
329
329
  #
330
- # @return [Object, nil]
331
- required :user_initiated_hold, Increase::Internal::Type::Unknown, nil?: true
330
+ # @return [Hash{Symbol=>Object}, nil]
331
+ required :user_initiated_hold,
332
+ Increase::Internal::Type::HashOf[Increase::Internal::Type::Unknown],
333
+ nil?: true
332
334
 
333
335
  # @!attribute wire_transfer_instruction
334
336
  # A Wire Transfer Instruction object. This field will be present in the JSON
@@ -373,7 +375,7 @@ module Increase
373
375
  #
374
376
  # @param swift_transfer_instruction [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil] A Swift Transfer Instruction object. This field will be present in the JSON resp
375
377
  #
376
- # @param user_initiated_hold [Object, nil] An User Initiated Hold object. This field will be present in the JSON response i
378
+ # @param user_initiated_hold [Hash{Symbol=>Object}, nil] An User Initiated Hold object. This field will be present in the JSON response i
377
379
  #
378
380
  # @param wire_transfer_instruction [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil] A Wire Transfer Instruction object. This field will be present in the JSON respo
379
381
 
@@ -35,30 +35,6 @@ module Increase
35
35
  # @return [Increase::Models::WireTransfer::Approval, nil]
36
36
  required :approval, -> { Increase::WireTransfer::Approval }, nil?: true
37
37
 
38
- # @!attribute beneficiary_address_line1
39
- # The beneficiary's address line 1.
40
- #
41
- # @return [String, nil]
42
- required :beneficiary_address_line1, String, nil?: true
43
-
44
- # @!attribute beneficiary_address_line2
45
- # The beneficiary's address line 2.
46
- #
47
- # @return [String, nil]
48
- required :beneficiary_address_line2, String, nil?: true
49
-
50
- # @!attribute beneficiary_address_line3
51
- # The beneficiary's address line 3.
52
- #
53
- # @return [String, nil]
54
- required :beneficiary_address_line3, String, nil?: true
55
-
56
- # @!attribute beneficiary_name
57
- # The beneficiary's name.
58
- #
59
- # @return [String, nil]
60
- required :beneficiary_name, String, nil?: true
61
-
62
38
  # @!attribute cancellation
63
39
  # If your account requires approvals for transfers and the transfer was not
64
40
  # approved, this will contain details of the cancellation.
@@ -79,6 +55,12 @@ module Increase
79
55
  # @return [Increase::Models::WireTransfer::CreatedBy, nil]
80
56
  required :created_by, -> { Increase::WireTransfer::CreatedBy }, nil?: true
81
57
 
58
+ # @!attribute creditor
59
+ # The person or business that is receiving the funds from the transfer.
60
+ #
61
+ # @return [Increase::Models::WireTransfer::Creditor, nil]
62
+ required :creditor, -> { Increase::WireTransfer::Creditor }, nil?: true
63
+
82
64
  # @!attribute currency
83
65
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
84
66
  # currency. For wire transfers this is always equal to `usd`.
@@ -86,6 +68,12 @@ module Increase
86
68
  # @return [Symbol, Increase::Models::WireTransfer::Currency]
87
69
  required :currency, enum: -> { Increase::WireTransfer::Currency }
88
70
 
71
+ # @!attribute debtor
72
+ # The person or business whose funds are being transferred.
73
+ #
74
+ # @return [Increase::Models::WireTransfer::Debtor, nil]
75
+ required :debtor, -> { Increase::WireTransfer::Debtor }, nil?: true
76
+
89
77
  # @!attribute external_account_id
90
78
  # The identifier of the External Account the transfer was made to, if any.
91
79
  #
@@ -107,42 +95,12 @@ module Increase
107
95
  # @return [String, nil]
108
96
  required :inbound_wire_drawdown_request_id, String, nil?: true
109
97
 
110
- # @!attribute message_to_recipient
111
- # The message that will show on the recipient's bank statement.
112
- #
113
- # @return [String]
114
- required :message_to_recipient, String
115
-
116
98
  # @!attribute network
117
99
  # The transfer's network.
118
100
  #
119
101
  # @return [Symbol, Increase::Models::WireTransfer::Network]
120
102
  required :network, enum: -> { Increase::WireTransfer::Network }
121
103
 
122
- # @!attribute originator_address_line1
123
- # The originator's address line 1.
124
- #
125
- # @return [String, nil]
126
- required :originator_address_line1, String, nil?: true
127
-
128
- # @!attribute originator_address_line2
129
- # The originator's address line 2.
130
- #
131
- # @return [String, nil]
132
- required :originator_address_line2, String, nil?: true
133
-
134
- # @!attribute originator_address_line3
135
- # The originator's address line 3.
136
- #
137
- # @return [String, nil]
138
- required :originator_address_line3, String, nil?: true
139
-
140
- # @!attribute originator_name
141
- # The originator's name.
142
- #
143
- # @return [String, nil]
144
- required :originator_name, String, nil?: true
145
-
146
104
  # @!attribute pending_transaction_id
147
105
  # The ID for the pending transaction representing the transfer. A pending
148
106
  # transaction is created when the transfer
@@ -202,7 +160,7 @@ module Increase
202
160
  # @return [Symbol, Increase::Models::WireTransfer::Type]
203
161
  required :type, enum: -> { Increase::WireTransfer::Type }
204
162
 
205
- # @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, remittance:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
163
+ # @!method initialize(id:, account_id:, account_number:, amount:, approval:, cancellation:, created_at:, created_by:, creditor:, currency:, debtor:, external_account_id:, idempotency_key:, inbound_wire_drawdown_request_id:, network:, pending_transaction_id:, remittance:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:)
206
164
  # Some parameter documentations has been truncated, see
207
165
  # {Increase::Models::WireTransfer} for more details.
208
166
  #
@@ -219,40 +177,26 @@ module Increase
219
177
  #
220
178
  # @param approval [Increase::Models::WireTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved,
221
179
  #
222
- # @param beneficiary_address_line1 [String, nil] The beneficiary's address line 1.
223
- #
224
- # @param beneficiary_address_line2 [String, nil] The beneficiary's address line 2.
225
- #
226
- # @param beneficiary_address_line3 [String, nil] The beneficiary's address line 3.
227
- #
228
- # @param beneficiary_name [String, nil] The beneficiary's name.
229
- #
230
180
  # @param cancellation [Increase::Models::WireTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv
231
181
  #
232
182
  # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
233
183
  #
234
184
  # @param created_by [Increase::Models::WireTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard.
235
185
  #
186
+ # @param creditor [Increase::Models::WireTransfer::Creditor, nil] The person or business that is receiving the funds from the transfer.
187
+ #
236
188
  # @param currency [Symbol, Increase::Models::WireTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c
237
189
  #
190
+ # @param debtor [Increase::Models::WireTransfer::Debtor, nil] The person or business whose funds are being transferred.
191
+ #
238
192
  # @param external_account_id [String, nil] The identifier of the External Account the transfer was made to, if any.
239
193
  #
240
194
  # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre
241
195
  #
242
196
  # @param inbound_wire_drawdown_request_id [String, nil] The ID of an Inbound Wire Drawdown Request in response to which this transfer wa
243
197
  #
244
- # @param message_to_recipient [String] The message that will show on the recipient's bank statement.
245
- #
246
198
  # @param network [Symbol, Increase::Models::WireTransfer::Network] The transfer's network.
247
199
  #
248
- # @param originator_address_line1 [String, nil] The originator's address line 1.
249
- #
250
- # @param originator_address_line2 [String, nil] The originator's address line 2.
251
- #
252
- # @param originator_address_line3 [String, nil] The originator's address line 3.
253
- #
254
- # @param originator_name [String, nil] The originator's name.
255
- #
256
200
  # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact
257
201
  #
258
202
  # @param remittance [Increase::Models::WireTransfer::Remittance, nil] Remittance information sent with the wire transfer.
@@ -426,6 +370,72 @@ module Increase
426
370
  end
427
371
  end
428
372
 
373
+ # @see Increase::Models::WireTransfer#creditor
374
+ class Creditor < Increase::Internal::Type::BaseModel
375
+ # @!attribute address
376
+ # The person or business's address.
377
+ #
378
+ # @return [Increase::Models::WireTransfer::Creditor::Address, nil]
379
+ required :address, -> { Increase::WireTransfer::Creditor::Address }, nil?: true
380
+
381
+ # @!attribute name
382
+ # The person or business's name.
383
+ #
384
+ # @return [String, nil]
385
+ required :name, String, nil?: true
386
+
387
+ # @!method initialize(address:, name:)
388
+ # The person or business that is receiving the funds from the transfer.
389
+ #
390
+ # @param address [Increase::Models::WireTransfer::Creditor::Address, nil] The person or business's address.
391
+ #
392
+ # @param name [String, nil] The person or business's name.
393
+
394
+ # @see Increase::Models::WireTransfer::Creditor#address
395
+ class Address < Increase::Internal::Type::BaseModel
396
+ # @!attribute unstructured
397
+ # Unstructured address lines.
398
+ #
399
+ # @return [Increase::Models::WireTransfer::Creditor::Address::Unstructured, nil]
400
+ required :unstructured, -> { Increase::WireTransfer::Creditor::Address::Unstructured }, nil?: true
401
+
402
+ # @!method initialize(unstructured:)
403
+ # The person or business's address.
404
+ #
405
+ # @param unstructured [Increase::Models::WireTransfer::Creditor::Address::Unstructured, nil] Unstructured address lines.
406
+
407
+ # @see Increase::Models::WireTransfer::Creditor::Address#unstructured
408
+ class Unstructured < Increase::Internal::Type::BaseModel
409
+ # @!attribute line1
410
+ # The first line.
411
+ #
412
+ # @return [String, nil]
413
+ required :line1, String, nil?: true
414
+
415
+ # @!attribute line2
416
+ # The second line.
417
+ #
418
+ # @return [String, nil]
419
+ required :line2, String, nil?: true
420
+
421
+ # @!attribute line3
422
+ # The third line.
423
+ #
424
+ # @return [String, nil]
425
+ required :line3, String, nil?: true
426
+
427
+ # @!method initialize(line1:, line2:, line3:)
428
+ # Unstructured address lines.
429
+ #
430
+ # @param line1 [String, nil] The first line.
431
+ #
432
+ # @param line2 [String, nil] The second line.
433
+ #
434
+ # @param line3 [String, nil] The third line.
435
+ end
436
+ end
437
+ end
438
+
429
439
  # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
430
440
  # currency. For wire transfers this is always equal to `usd`.
431
441
  #
@@ -455,6 +465,72 @@ module Increase
455
465
  # @return [Array<Symbol>]
456
466
  end
457
467
 
468
+ # @see Increase::Models::WireTransfer#debtor
469
+ class Debtor < Increase::Internal::Type::BaseModel
470
+ # @!attribute address
471
+ # The person or business's address.
472
+ #
473
+ # @return [Increase::Models::WireTransfer::Debtor::Address, nil]
474
+ required :address, -> { Increase::WireTransfer::Debtor::Address }, nil?: true
475
+
476
+ # @!attribute name
477
+ # The person or business's name.
478
+ #
479
+ # @return [String, nil]
480
+ required :name, String, nil?: true
481
+
482
+ # @!method initialize(address:, name:)
483
+ # The person or business whose funds are being transferred.
484
+ #
485
+ # @param address [Increase::Models::WireTransfer::Debtor::Address, nil] The person or business's address.
486
+ #
487
+ # @param name [String, nil] The person or business's name.
488
+
489
+ # @see Increase::Models::WireTransfer::Debtor#address
490
+ class Address < Increase::Internal::Type::BaseModel
491
+ # @!attribute unstructured
492
+ # Unstructured address lines.
493
+ #
494
+ # @return [Increase::Models::WireTransfer::Debtor::Address::Unstructured, nil]
495
+ required :unstructured, -> { Increase::WireTransfer::Debtor::Address::Unstructured }, nil?: true
496
+
497
+ # @!method initialize(unstructured:)
498
+ # The person or business's address.
499
+ #
500
+ # @param unstructured [Increase::Models::WireTransfer::Debtor::Address::Unstructured, nil] Unstructured address lines.
501
+
502
+ # @see Increase::Models::WireTransfer::Debtor::Address#unstructured
503
+ class Unstructured < Increase::Internal::Type::BaseModel
504
+ # @!attribute line1
505
+ # The first line.
506
+ #
507
+ # @return [String, nil]
508
+ required :line1, String, nil?: true
509
+
510
+ # @!attribute line2
511
+ # The second line.
512
+ #
513
+ # @return [String, nil]
514
+ required :line2, String, nil?: true
515
+
516
+ # @!attribute line3
517
+ # The third line.
518
+ #
519
+ # @return [String, nil]
520
+ required :line3, String, nil?: true
521
+
522
+ # @!method initialize(line1:, line2:, line3:)
523
+ # Unstructured address lines.
524
+ #
525
+ # @param line1 [String, nil] The first line.
526
+ #
527
+ # @param line2 [String, nil] The second line.
528
+ #
529
+ # @param line3 [String, nil] The third line.
530
+ end
531
+ end
532
+ end
533
+
458
534
  # The transfer's network.
459
535
  #
460
536
  # @see Increase::Models::WireTransfer#network