increase 1.324.0 → 1.325.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: 7161d5c44fe12858717be42be1e844e5c6a67b3da8992f141393495c88e28a7b
4
- data.tar.gz: 452dbed096c9353a8bf19609a1e3ca44721ae8e546ea1b181aa355c1c1813101
3
+ metadata.gz: 1c19e2811e925049766357de9779530b02775984880380334db2878d669809e9
4
+ data.tar.gz: e0bc84ed59f9e4e40db186341a93d43fe4c8f08723b4782a3672b05f3a78daa9
5
5
  SHA512:
6
- metadata.gz: f120d36a41d5f16ec23bd165a41b795161d538e5eb4a2e76df0c13f121d534138d5b6bbfe45a88003f5cabb4593c43f208ee5a079833431a6433b4d99bbd3e83
7
- data.tar.gz: 327196ac007231b3d0826c9a17478c343bdf12abb9ee7b2e9f9020d952fc5de77209a7009821c9d6969ad5822c5618d4bd7e80d2973aca53adf05502f61e63be
6
+ metadata.gz: 372faba07b75c3f36b9b01b2edbbc79d8b93a6da1b4b41881687a7fca26c10d558998620c0eccfd674626f0f0a30a6c84713c5a43f0678df4f3b1a86ea14216d
7
+ data.tar.gz: 97ee0ff4475ccb0aa20f6057e8764eddfca88d265b61f7e7150f3477e8440a077cfc85ae516c8e9a8d10c2ddab703498d554c8ab8943c6c65222de0a518e7abf
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.325.0 (2026-05-12)
4
+
5
+ Full Changelog: [v1.324.0...v1.325.0](https://github.com/Increase/increase-ruby/compare/v1.324.0...v1.325.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([49ec9ea](https://github.com/Increase/increase-ruby/commit/49ec9ea1843c72877883217602f7ec41e9e82601))
10
+
3
11
  ## 1.324.0 (2026-05-08)
4
12
 
5
13
  Full Changelog: [v1.323.0...v1.324.0](https://github.com/Increase/increase-ruby/compare/v1.323.0...v1.324.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.324.0"
18
+ gem "increase", "~> 1.325.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -192,14 +192,15 @@ module Increase
192
192
  -> { Increase::PendingTransaction::Source::ACHTransferInstruction },
193
193
  nil?: true
194
194
 
195
- # @!attribute blockchain_offramp_transfer_instruction
196
- # A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
197
- # the JSON response if and only if `category` is equal to
198
- # `blockchain_offramp_transfer_instruction`.
195
+ # @!attribute blockchain_offramp_transfer
196
+ # A Blockchain Off-Ramp Transfer object. This field will be present in the JSON
197
+ # response if and only if `category` is equal to `blockchain_offramp_transfer`.
198
+ # Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an
199
+ # Account. They're automatically created when funds land in a Blockchain Address.
199
200
  #
200
- # @return [Increase::Models::PendingTransaction::Source::BlockchainOfframpTransferInstruction, nil]
201
- optional :blockchain_offramp_transfer_instruction,
202
- -> { Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction },
201
+ # @return [Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer, nil]
202
+ optional :blockchain_offramp_transfer,
203
+ -> { Increase::PendingTransaction::Source::BlockchainOfframpTransfer },
203
204
  nil?: true
204
205
 
205
206
  # @!attribute blockchain_onramp_transfer_instruction
@@ -330,7 +331,7 @@ module Increase
330
331
  -> { Increase::PendingTransaction::Source::WireTransferInstruction },
331
332
  nil?: true
332
333
 
333
- # @!method initialize(category:, account_transfer_instruction: nil, ach_transfer_instruction: nil, blockchain_offramp_transfer_instruction: nil, blockchain_onramp_transfer_instruction: nil, card_authorization: nil, card_push_transfer_instruction: nil, check_deposit_instruction: nil, check_transfer_instruction: nil, fednow_transfer_instruction: nil, inbound_funds_hold: nil, inbound_wire_transfer_reversal: nil, other: nil, real_time_payments_transfer_instruction: nil, swift_transfer_instruction: nil, user_initiated_hold: nil, wire_transfer_instruction: nil)
334
+ # @!method initialize(category:, account_transfer_instruction: nil, ach_transfer_instruction: nil, blockchain_offramp_transfer: nil, blockchain_onramp_transfer_instruction: nil, card_authorization: nil, card_push_transfer_instruction: nil, check_deposit_instruction: nil, check_transfer_instruction: nil, fednow_transfer_instruction: nil, inbound_funds_hold: nil, inbound_wire_transfer_reversal: nil, other: nil, real_time_payments_transfer_instruction: nil, swift_transfer_instruction: nil, user_initiated_hold: nil, wire_transfer_instruction: nil)
334
335
  # Some parameter documentations has been truncated, see
335
336
  # {Increase::Models::PendingTransaction::Source} for more details.
336
337
  #
@@ -344,7 +345,7 @@ module Increase
344
345
  #
345
346
  # @param ach_transfer_instruction [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil] An ACH Transfer Instruction object. This field will be present in the JSON respo
346
347
  #
347
- # @param blockchain_offramp_transfer_instruction [Increase::Models::PendingTransaction::Source::BlockchainOfframpTransferInstruction, nil] A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
348
+ # @param blockchain_offramp_transfer [Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer, nil] A Blockchain Off-Ramp Transfer object. This field will be present in the JSON re
348
349
  #
349
350
  # @param blockchain_onramp_transfer_instruction [Increase::Models::PendingTransaction::Source::BlockchainOnrampTransferInstruction, nil] A Blockchain On-Ramp Transfer Instruction object. This field will be present in
350
351
  #
@@ -421,8 +422,8 @@ module Increase
421
422
  # Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
422
423
  BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION = :blockchain_onramp_transfer_instruction
423
424
 
424
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
425
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = :blockchain_offramp_transfer_instruction
425
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
426
+ BLOCKCHAIN_OFFRAMP_TRANSFER = :blockchain_offramp_transfer
426
427
 
427
428
  # The Pending Transaction was made for an undocumented or deprecated reason.
428
429
  OTHER = :other
@@ -506,32 +507,141 @@ module Increase
506
507
  # @param transfer_id [String] The identifier of the ACH Transfer that led to this Pending Transaction.
507
508
  end
508
509
 
509
- # @see Increase::Models::PendingTransaction::Source#blockchain_offramp_transfer_instruction
510
- class BlockchainOfframpTransferInstruction < Increase::Internal::Type::BaseModel
510
+ # @see Increase::Models::PendingTransaction::Source#blockchain_offramp_transfer
511
+ class BlockchainOfframpTransfer < Increase::Internal::Type::BaseModel
512
+ # @!attribute id
513
+ # The Blockchain Off-Ramp Transfer's identifier.
514
+ #
515
+ # @return [String]
516
+ required :id, String
517
+
518
+ # @!attribute token
519
+ # The token that was received.
520
+ #
521
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Token]
522
+ required :token, enum: -> { Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token }
523
+
524
+ # @!attribute amount
525
+ # The transfer amount in USD cents.
526
+ #
527
+ # @return [Integer]
528
+ required :amount, Integer
529
+
530
+ # @!attribute created_at
531
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
532
+ # the transfer was created.
533
+ #
534
+ # @return [Time]
535
+ required :created_at, Time
536
+
537
+ # @!attribute destination_account_id
538
+ # The Account the funds were transferred into.
539
+ #
540
+ # @return [String]
541
+ required :destination_account_id, String
542
+
543
+ # @!attribute initiating_transaction_hash
544
+ # The transaction hash of the blockchain transaction that initiated this transfer.
545
+ #
546
+ # @return [String]
547
+ required :initiating_transaction_hash, String
548
+
511
549
  # @!attribute source_blockchain_address_id
512
- # The identifier of the Blockchain Address the funds were received at.
550
+ # The Blockchain Address from which the transfer originated.
513
551
  #
514
552
  # @return [String]
515
553
  required :source_blockchain_address_id, String
516
554
 
517
- # @!attribute transfer_id
518
- # The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction.
555
+ # @!attribute status
556
+ # The lifecycle status of the transfer.
519
557
  #
520
- # @return [String]
521
- required :transfer_id, String
558
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Status]
559
+ required :status, enum: -> { Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status }
522
560
 
523
- # @!method initialize(source_blockchain_address_id:, transfer_id:)
561
+ # @!attribute transaction_id
562
+ # The Transaction crediting the Account once the transfer is settled.
563
+ #
564
+ # @return [String, nil]
565
+ required :transaction_id, String, nil?: true
566
+
567
+ # @!attribute type
568
+ # A constant representing the object's type. For this resource it will always be
569
+ # `blockchain_offramp_transfer`.
570
+ #
571
+ # @return [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Type]
572
+ required :type, enum: -> { Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type }
573
+
574
+ # @!method initialize(id:, token:, amount:, created_at:, destination_account_id:, initiating_transaction_hash:, source_blockchain_address_id:, status:, transaction_id:, type:)
524
575
  # Some parameter documentations has been truncated, see
525
- # {Increase::Models::PendingTransaction::Source::BlockchainOfframpTransferInstruction}
526
- # for more details.
576
+ # {Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer} for
577
+ # more details.
527
578
  #
528
- # A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
529
- # the JSON response if and only if `category` is equal to
530
- # `blockchain_offramp_transfer_instruction`.
579
+ # A Blockchain Off-Ramp Transfer object. This field will be present in the JSON
580
+ # response if and only if `category` is equal to `blockchain_offramp_transfer`.
581
+ # Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an
582
+ # Account. They're automatically created when funds land in a Blockchain Address.
583
+ #
584
+ # @param id [String] The Blockchain Off-Ramp Transfer's identifier.
585
+ #
586
+ # @param token [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Token] The token that was received.
587
+ #
588
+ # @param amount [Integer] The transfer amount in USD cents.
589
+ #
590
+ # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th
591
+ #
592
+ # @param destination_account_id [String] The Account the funds were transferred into.
593
+ #
594
+ # @param initiating_transaction_hash [String] The transaction hash of the blockchain transaction that initiated this transfer.
595
+ #
596
+ # @param source_blockchain_address_id [String] The Blockchain Address from which the transfer originated.
597
+ #
598
+ # @param status [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Status] The lifecycle status of the transfer.
599
+ #
600
+ # @param transaction_id [String, nil] The Transaction crediting the Account once the transfer is settled.
601
+ #
602
+ # @param type [Symbol, Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::Type] A constant representing the object's type. For this resource it will always be `
603
+
604
+ # The token that was received.
605
+ #
606
+ # @see Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer#token
607
+ module Token
608
+ extend Increase::Internal::Type::Enum
609
+
610
+ # A USD stablecoin issued by Circle.
611
+ USDC = :usdc
612
+
613
+ # @!method self.values
614
+ # @return [Array<Symbol>]
615
+ end
616
+
617
+ # The lifecycle status of the transfer.
531
618
  #
532
- # @param source_blockchain_address_id [String] The identifier of the Blockchain Address the funds were received at.
619
+ # @see Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer#status
620
+ module Status
621
+ extend Increase::Internal::Type::Enum
622
+
623
+ # The transfer is pending settlement at Increase.
624
+ PENDING_SETTLEMENT = :pending_settlement
625
+
626
+ # The transfer has been settled and funds have been credited.
627
+ SETTLED = :settled
628
+
629
+ # @!method self.values
630
+ # @return [Array<Symbol>]
631
+ end
632
+
633
+ # A constant representing the object's type. For this resource it will always be
634
+ # `blockchain_offramp_transfer`.
533
635
  #
534
- # @param transfer_id [String] The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction.
636
+ # @see Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer#type
637
+ module Type
638
+ extend Increase::Internal::Type::Enum
639
+
640
+ BLOCKCHAIN_OFFRAMP_TRANSFER = :blockchain_offramp_transfer
641
+
642
+ # @!method self.values
643
+ # @return [Array<Symbol>]
644
+ end
535
645
  end
536
646
 
537
647
  # @see Increase::Models::PendingTransaction::Source#blockchain_onramp_transfer_instruction
@@ -130,8 +130,8 @@ module Increase
130
130
  # Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
131
131
  BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION = :blockchain_onramp_transfer_instruction
132
132
 
133
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
134
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION = :blockchain_offramp_transfer_instruction
133
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
134
+ BLOCKCHAIN_OFFRAMP_TRANSFER = :blockchain_offramp_transfer
135
135
 
136
136
  # The Pending Transaction was made for an undocumented or deprecated reason.
137
137
  OTHER = :other
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.324.0"
4
+ VERSION = "1.325.0"
5
5
  end
@@ -284,27 +284,28 @@ module Increase
284
284
  end
285
285
  attr_writer :ach_transfer_instruction
286
286
 
287
- # A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
288
- # the JSON response if and only if `category` is equal to
289
- # `blockchain_offramp_transfer_instruction`.
287
+ # A Blockchain Off-Ramp Transfer object. This field will be present in the JSON
288
+ # response if and only if `category` is equal to `blockchain_offramp_transfer`.
289
+ # Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an
290
+ # Account. They're automatically created when funds land in a Blockchain Address.
290
291
  sig do
291
292
  returns(
292
293
  T.nilable(
293
- Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction
294
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer
294
295
  )
295
296
  )
296
297
  end
297
- attr_reader :blockchain_offramp_transfer_instruction
298
+ attr_reader :blockchain_offramp_transfer
298
299
 
299
300
  sig do
300
301
  params(
301
- blockchain_offramp_transfer_instruction:
302
+ blockchain_offramp_transfer:
302
303
  T.nilable(
303
- Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction::OrHash
304
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::OrHash
304
305
  )
305
306
  ).void
306
307
  end
307
- attr_writer :blockchain_offramp_transfer_instruction
308
+ attr_writer :blockchain_offramp_transfer
308
309
 
309
310
  # A Blockchain On-Ramp Transfer Instruction object. This field will be present in
310
311
  # the JSON response if and only if `category` is equal to
@@ -574,9 +575,9 @@ module Increase
574
575
  T.nilable(
575
576
  Increase::PendingTransaction::Source::ACHTransferInstruction::OrHash
576
577
  ),
577
- blockchain_offramp_transfer_instruction:
578
+ blockchain_offramp_transfer:
578
579
  T.nilable(
579
- Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction::OrHash
580
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::OrHash
580
581
  ),
581
582
  blockchain_onramp_transfer_instruction:
582
583
  T.nilable(
@@ -637,10 +638,11 @@ module Increase
637
638
  # An ACH Transfer Instruction object. This field will be present in the JSON
638
639
  # response if and only if `category` is equal to `ach_transfer_instruction`.
639
640
  ach_transfer_instruction: nil,
640
- # A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
641
- # the JSON response if and only if `category` is equal to
642
- # `blockchain_offramp_transfer_instruction`.
643
- blockchain_offramp_transfer_instruction: nil,
641
+ # A Blockchain Off-Ramp Transfer object. This field will be present in the JSON
642
+ # response if and only if `category` is equal to `blockchain_offramp_transfer`.
643
+ # Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an
644
+ # Account. They're automatically created when funds land in a Blockchain Address.
645
+ blockchain_offramp_transfer: nil,
644
646
  # A Blockchain On-Ramp Transfer Instruction object. This field will be present in
645
647
  # the JSON response if and only if `category` is equal to
646
648
  # `blockchain_onramp_transfer_instruction`.
@@ -705,9 +707,9 @@ module Increase
705
707
  T.nilable(
706
708
  Increase::PendingTransaction::Source::ACHTransferInstruction
707
709
  ),
708
- blockchain_offramp_transfer_instruction:
710
+ blockchain_offramp_transfer:
709
711
  T.nilable(
710
- Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction
712
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer
711
713
  ),
712
714
  blockchain_onramp_transfer_instruction:
713
715
  T.nilable(
@@ -870,10 +872,10 @@ module Increase
870
872
  Increase::PendingTransaction::Source::Category::TaggedSymbol
871
873
  )
872
874
 
873
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
874
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION =
875
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
876
+ BLOCKCHAIN_OFFRAMP_TRANSFER =
875
877
  T.let(
876
- :blockchain_offramp_transfer_instruction,
878
+ :blockchain_offramp_transfer,
877
879
  Increase::PendingTransaction::Source::Category::TaggedSymbol
878
880
  )
879
881
 
@@ -1027,47 +1029,237 @@ module Increase
1027
1029
  end
1028
1030
  end
1029
1031
 
1030
- class BlockchainOfframpTransferInstruction < Increase::Internal::Type::BaseModel
1032
+ class BlockchainOfframpTransfer < Increase::Internal::Type::BaseModel
1031
1033
  OrHash =
1032
1034
  T.type_alias do
1033
1035
  T.any(
1034
- Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction,
1036
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer,
1035
1037
  Increase::Internal::AnyHash
1036
1038
  )
1037
1039
  end
1038
1040
 
1039
- # The identifier of the Blockchain Address the funds were received at.
1041
+ # The Blockchain Off-Ramp Transfer's identifier.
1040
1042
  sig { returns(String) }
1041
- attr_accessor :source_blockchain_address_id
1043
+ attr_accessor :id
1044
+
1045
+ # The token that was received.
1046
+ sig do
1047
+ returns(
1048
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token::TaggedSymbol
1049
+ )
1050
+ end
1051
+ attr_accessor :token
1042
1052
 
1043
- # The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction.
1053
+ # The transfer amount in USD cents.
1054
+ sig { returns(Integer) }
1055
+ attr_accessor :amount
1056
+
1057
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1058
+ # the transfer was created.
1059
+ sig { returns(Time) }
1060
+ attr_accessor :created_at
1061
+
1062
+ # The Account the funds were transferred into.
1044
1063
  sig { returns(String) }
1045
- attr_accessor :transfer_id
1064
+ attr_accessor :destination_account_id
1046
1065
 
1047
- # A Blockchain Off-Ramp Transfer Instruction object. This field will be present in
1048
- # the JSON response if and only if `category` is equal to
1049
- # `blockchain_offramp_transfer_instruction`.
1066
+ # The transaction hash of the blockchain transaction that initiated this transfer.
1067
+ sig { returns(String) }
1068
+ attr_accessor :initiating_transaction_hash
1069
+
1070
+ # The Blockchain Address from which the transfer originated.
1071
+ sig { returns(String) }
1072
+ attr_accessor :source_blockchain_address_id
1073
+
1074
+ # The lifecycle status of the transfer.
1075
+ sig do
1076
+ returns(
1077
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::TaggedSymbol
1078
+ )
1079
+ end
1080
+ attr_accessor :status
1081
+
1082
+ # The Transaction crediting the Account once the transfer is settled.
1083
+ sig { returns(T.nilable(String)) }
1084
+ attr_accessor :transaction_id
1085
+
1086
+ # A constant representing the object's type. For this resource it will always be
1087
+ # `blockchain_offramp_transfer`.
1088
+ sig do
1089
+ returns(
1090
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type::TaggedSymbol
1091
+ )
1092
+ end
1093
+ attr_accessor :type
1094
+
1095
+ # A Blockchain Off-Ramp Transfer object. This field will be present in the JSON
1096
+ # response if and only if `category` is equal to `blockchain_offramp_transfer`.
1097
+ # Blockchain Off-Ramp Transfers move funds from a Blockchain Address to an
1098
+ # Account. They're automatically created when funds land in a Blockchain Address.
1050
1099
  sig do
1051
1100
  params(
1101
+ id: String,
1102
+ token:
1103
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token::OrSymbol,
1104
+ amount: Integer,
1105
+ created_at: Time,
1106
+ destination_account_id: String,
1107
+ initiating_transaction_hash: String,
1052
1108
  source_blockchain_address_id: String,
1053
- transfer_id: String
1109
+ status:
1110
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::OrSymbol,
1111
+ transaction_id: T.nilable(String),
1112
+ type:
1113
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type::OrSymbol
1054
1114
  ).returns(T.attached_class)
1055
1115
  end
1056
1116
  def self.new(
1057
- # The identifier of the Blockchain Address the funds were received at.
1117
+ # The Blockchain Off-Ramp Transfer's identifier.
1118
+ id:,
1119
+ # The token that was received.
1120
+ token:,
1121
+ # The transfer amount in USD cents.
1122
+ amount:,
1123
+ # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
1124
+ # the transfer was created.
1125
+ created_at:,
1126
+ # The Account the funds were transferred into.
1127
+ destination_account_id:,
1128
+ # The transaction hash of the blockchain transaction that initiated this transfer.
1129
+ initiating_transaction_hash:,
1130
+ # The Blockchain Address from which the transfer originated.
1058
1131
  source_blockchain_address_id:,
1059
- # The identifier of the Blockchain Off-Ramp Transfer that led to this Transaction.
1060
- transfer_id:
1132
+ # The lifecycle status of the transfer.
1133
+ status:,
1134
+ # The Transaction crediting the Account once the transfer is settled.
1135
+ transaction_id:,
1136
+ # A constant representing the object's type. For this resource it will always be
1137
+ # `blockchain_offramp_transfer`.
1138
+ type:
1061
1139
  )
1062
1140
  end
1063
1141
 
1064
1142
  sig do
1065
1143
  override.returns(
1066
- { source_blockchain_address_id: String, transfer_id: String }
1144
+ {
1145
+ id: String,
1146
+ token:
1147
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token::TaggedSymbol,
1148
+ amount: Integer,
1149
+ created_at: Time,
1150
+ destination_account_id: String,
1151
+ initiating_transaction_hash: String,
1152
+ source_blockchain_address_id: String,
1153
+ status:
1154
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::TaggedSymbol,
1155
+ transaction_id: T.nilable(String),
1156
+ type:
1157
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type::TaggedSymbol
1158
+ }
1067
1159
  )
1068
1160
  end
1069
1161
  def to_hash
1070
1162
  end
1163
+
1164
+ # The token that was received.
1165
+ module Token
1166
+ extend Increase::Internal::Type::Enum
1167
+
1168
+ TaggedSymbol =
1169
+ T.type_alias do
1170
+ T.all(
1171
+ Symbol,
1172
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token
1173
+ )
1174
+ end
1175
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1176
+
1177
+ # A USD stablecoin issued by Circle.
1178
+ USDC =
1179
+ T.let(
1180
+ :usdc,
1181
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token::TaggedSymbol
1182
+ )
1183
+
1184
+ sig do
1185
+ override.returns(
1186
+ T::Array[
1187
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Token::TaggedSymbol
1188
+ ]
1189
+ )
1190
+ end
1191
+ def self.values
1192
+ end
1193
+ end
1194
+
1195
+ # The lifecycle status of the transfer.
1196
+ module Status
1197
+ extend Increase::Internal::Type::Enum
1198
+
1199
+ TaggedSymbol =
1200
+ T.type_alias do
1201
+ T.all(
1202
+ Symbol,
1203
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status
1204
+ )
1205
+ end
1206
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1207
+
1208
+ # The transfer is pending settlement at Increase.
1209
+ PENDING_SETTLEMENT =
1210
+ T.let(
1211
+ :pending_settlement,
1212
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::TaggedSymbol
1213
+ )
1214
+
1215
+ # The transfer has been settled and funds have been credited.
1216
+ SETTLED =
1217
+ T.let(
1218
+ :settled,
1219
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::TaggedSymbol
1220
+ )
1221
+
1222
+ sig do
1223
+ override.returns(
1224
+ T::Array[
1225
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Status::TaggedSymbol
1226
+ ]
1227
+ )
1228
+ end
1229
+ def self.values
1230
+ end
1231
+ end
1232
+
1233
+ # A constant representing the object's type. For this resource it will always be
1234
+ # `blockchain_offramp_transfer`.
1235
+ module Type
1236
+ extend Increase::Internal::Type::Enum
1237
+
1238
+ TaggedSymbol =
1239
+ T.type_alias do
1240
+ T.all(
1241
+ Symbol,
1242
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type
1243
+ )
1244
+ end
1245
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
1246
+
1247
+ BLOCKCHAIN_OFFRAMP_TRANSFER =
1248
+ T.let(
1249
+ :blockchain_offramp_transfer,
1250
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type::TaggedSymbol
1251
+ )
1252
+
1253
+ sig do
1254
+ override.returns(
1255
+ T::Array[
1256
+ Increase::PendingTransaction::Source::BlockchainOfframpTransfer::Type::TaggedSymbol
1257
+ ]
1258
+ )
1259
+ end
1260
+ def self.values
1261
+ end
1262
+ end
1071
1263
  end
1072
1264
 
1073
1265
  class BlockchainOnrampTransferInstruction < Increase::Internal::Type::BaseModel
@@ -293,10 +293,10 @@ module Increase
293
293
  Increase::PendingTransactionListParams::Category::In::TaggedSymbol
294
294
  )
295
295
 
296
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
297
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION =
296
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
297
+ BLOCKCHAIN_OFFRAMP_TRANSFER =
298
298
  T.let(
299
- :blockchain_offramp_transfer_instruction,
299
+ :blockchain_offramp_transfer,
300
300
  Increase::PendingTransactionListParams::Category::In::TaggedSymbol
301
301
  )
302
302
 
@@ -109,7 +109,7 @@ module Increase
109
109
  category: Increase::Models::PendingTransaction::Source::category,
110
110
  account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
111
111
  ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
112
- blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
112
+ blockchain_offramp_transfer: Increase::PendingTransaction::Source::BlockchainOfframpTransfer?,
113
113
  blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
114
114
  card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
115
115
  card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
@@ -132,7 +132,7 @@ module Increase
132
132
 
133
133
  attr_accessor ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?
134
134
 
135
- attr_accessor blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?
135
+ attr_accessor blockchain_offramp_transfer: Increase::PendingTransaction::Source::BlockchainOfframpTransfer?
136
136
 
137
137
  attr_accessor blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?
138
138
 
@@ -164,7 +164,7 @@ module Increase
164
164
  category: Increase::Models::PendingTransaction::Source::category,
165
165
  ?account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
166
166
  ?ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
167
- ?blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
167
+ ?blockchain_offramp_transfer: Increase::PendingTransaction::Source::BlockchainOfframpTransfer?,
168
168
  ?blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
169
169
  ?card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
170
170
  ?card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
@@ -184,7 +184,7 @@ module Increase
184
184
  category: Increase::Models::PendingTransaction::Source::category,
185
185
  account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
186
186
  ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
187
- blockchain_offramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOfframpTransferInstruction?,
187
+ blockchain_offramp_transfer: Increase::PendingTransaction::Source::BlockchainOfframpTransfer?,
188
188
  blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
189
189
  card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
190
190
  card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
@@ -215,7 +215,7 @@ module Increase
215
215
  | :swift_transfer_instruction
216
216
  | :card_push_transfer_instruction
217
217
  | :blockchain_onramp_transfer_instruction
218
- | :blockchain_offramp_transfer_instruction
218
+ | :blockchain_offramp_transfer
219
219
  | :other
220
220
 
221
221
  module Category
@@ -263,8 +263,8 @@ module Increase
263
263
  # Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
264
264
  BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
265
265
 
266
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
267
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION: :blockchain_offramp_transfer_instruction
266
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
267
+ BLOCKCHAIN_OFFRAMP_TRANSFER: :blockchain_offramp_transfer
268
268
 
269
269
  # The Pending Transaction was made for an undocumented or deprecated reason.
270
270
  OTHER: :other
@@ -322,23 +322,101 @@ module Increase
322
322
  def to_hash: -> { amount: Integer, transfer_id: String }
323
323
  end
324
324
 
325
- type blockchain_offramp_transfer_instruction =
326
- { source_blockchain_address_id: String, transfer_id: String }
325
+ type blockchain_offramp_transfer =
326
+ {
327
+ id: String,
328
+ token: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::token,
329
+ amount: Integer,
330
+ created_at: Time,
331
+ destination_account_id: String,
332
+ initiating_transaction_hash: String,
333
+ source_blockchain_address_id: String,
334
+ status: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::status,
335
+ transaction_id: String?,
336
+ type: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::type_
337
+ }
338
+
339
+ class BlockchainOfframpTransfer < Increase::Internal::Type::BaseModel
340
+ attr_accessor id: String
341
+
342
+ attr_accessor token: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::token
343
+
344
+ attr_accessor amount: Integer
345
+
346
+ attr_accessor created_at: Time
347
+
348
+ attr_accessor destination_account_id: String
349
+
350
+ attr_accessor initiating_transaction_hash: String
327
351
 
328
- class BlockchainOfframpTransferInstruction < Increase::Internal::Type::BaseModel
329
352
  attr_accessor source_blockchain_address_id: String
330
353
 
331
- attr_accessor transfer_id: String
354
+ attr_accessor status: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::status
355
+
356
+ attr_accessor transaction_id: String?
357
+
358
+ attr_accessor type: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::type_
332
359
 
333
360
  def initialize: (
361
+ id: String,
362
+ token: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::token,
363
+ amount: Integer,
364
+ created_at: Time,
365
+ destination_account_id: String,
366
+ initiating_transaction_hash: String,
334
367
  source_blockchain_address_id: String,
335
- transfer_id: String
368
+ status: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::status,
369
+ transaction_id: String?,
370
+ type: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::type_
336
371
  ) -> void
337
372
 
338
373
  def to_hash: -> {
374
+ id: String,
375
+ token: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::token,
376
+ amount: Integer,
377
+ created_at: Time,
378
+ destination_account_id: String,
379
+ initiating_transaction_hash: String,
339
380
  source_blockchain_address_id: String,
340
- transfer_id: String
381
+ status: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::status,
382
+ transaction_id: String?,
383
+ type: Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::type_
341
384
  }
385
+
386
+ type token = :usdc
387
+
388
+ module Token
389
+ extend Increase::Internal::Type::Enum
390
+
391
+ # A USD stablecoin issued by Circle.
392
+ USDC: :usdc
393
+
394
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::token]
395
+ end
396
+
397
+ type status = :pending_settlement | :settled
398
+
399
+ module Status
400
+ extend Increase::Internal::Type::Enum
401
+
402
+ # The transfer is pending settlement at Increase.
403
+ PENDING_SETTLEMENT: :pending_settlement
404
+
405
+ # The transfer has been settled and funds have been credited.
406
+ SETTLED: :settled
407
+
408
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::status]
409
+ end
410
+
411
+ type type_ = :blockchain_offramp_transfer
412
+
413
+ module Type
414
+ extend Increase::Internal::Type::Enum
415
+
416
+ BLOCKCHAIN_OFFRAMP_TRANSFER: :blockchain_offramp_transfer
417
+
418
+ def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::BlockchainOfframpTransfer::type_]
419
+ end
342
420
  end
343
421
 
344
422
  type blockchain_onramp_transfer_instruction =
@@ -107,7 +107,7 @@ module Increase
107
107
  | :swift_transfer_instruction
108
108
  | :card_push_transfer_instruction
109
109
  | :blockchain_onramp_transfer_instruction
110
- | :blockchain_offramp_transfer_instruction
110
+ | :blockchain_offramp_transfer
111
111
  | :other
112
112
 
113
113
  module In
@@ -155,8 +155,8 @@ module Increase
155
155
  # Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
156
156
  BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
157
157
 
158
- # Blockchain Off-Ramp Transfer Instruction: details will be under the `blockchain_offramp_transfer_instruction` object.
159
- BLOCKCHAIN_OFFRAMP_TRANSFER_INSTRUCTION: :blockchain_offramp_transfer_instruction
158
+ # Blockchain Off-Ramp Transfer: details will be under the `blockchain_offramp_transfer` object.
159
+ BLOCKCHAIN_OFFRAMP_TRANSFER: :blockchain_offramp_transfer
160
160
 
161
161
  # The Pending Transaction was made for an undocumented or deprecated reason.
162
162
  OTHER: :other
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: increase
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.324.0
4
+ version: 1.325.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Increase
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2026-05-08 00:00:00.000000000 Z
11
+ date: 2026-05-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cgi