increase 1.193.0 → 1.194.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/README.md +1 -1
- data/lib/increase/models/event.rb +18 -0
- data/lib/increase/models/event_list_params.rb +18 -0
- data/lib/increase/models/event_subscription.rb +18 -0
- data/lib/increase/models/event_subscription_create_params.rb +18 -0
- data/lib/increase/models/pending_transaction.rb +96 -1
- data/lib/increase/models/pending_transaction_list_params.rb +6 -0
- data/lib/increase/models/transaction.rb +83 -1
- data/lib/increase/models/transaction_list_params.rb +6 -0
- data/lib/increase/models/unwrap_webhook_event.rb +18 -0
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/event.rbi +42 -0
- data/rbi/increase/models/event_list_params.rbi +42 -0
- data/rbi/increase/models/event_subscription.rbi +42 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +42 -0
- data/rbi/increase/models/pending_transaction.rbi +181 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +14 -0
- data/rbi/increase/models/transaction.rbi +168 -0
- data/rbi/increase/models/transaction_list_params.rbi +14 -0
- data/rbi/increase/models/unwrap_webhook_event.rbi +42 -0
- data/sig/increase/models/event.rbs +24 -0
- data/sig/increase/models/event_list_params.rbs +24 -0
- data/sig/increase/models/event_subscription.rbs +24 -0
- data/sig/increase/models/event_subscription_create_params.rbs +24 -0
- data/sig/increase/models/pending_transaction.rbs +64 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +8 -0
- data/sig/increase/models/transaction.rbs +56 -0
- data/sig/increase/models/transaction_list_params.rbs +8 -0
- data/sig/increase/models/unwrap_webhook_event.rbs +24 -0
- metadata +1 -1
|
@@ -108,6 +108,8 @@ module Increase
|
|
|
108
108
|
{
|
|
109
109
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
110
110
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
111
|
+
blockchain_offramp_transfer_intention: Increase::PendingTransaction::Source::BlockchainOfframpTransferIntention?,
|
|
112
|
+
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
111
113
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
112
114
|
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
113
115
|
category: Increase::Models::PendingTransaction::Source::category,
|
|
@@ -128,6 +130,10 @@ module Increase
|
|
|
128
130
|
|
|
129
131
|
attr_accessor ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?
|
|
130
132
|
|
|
133
|
+
attr_accessor blockchain_offramp_transfer_intention: Increase::PendingTransaction::Source::BlockchainOfframpTransferIntention?
|
|
134
|
+
|
|
135
|
+
attr_accessor blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?
|
|
136
|
+
|
|
131
137
|
attr_accessor card_authorization: Increase::PendingTransaction::Source::CardAuthorization?
|
|
132
138
|
|
|
133
139
|
attr_accessor card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?
|
|
@@ -157,6 +163,8 @@ module Increase
|
|
|
157
163
|
def initialize: (
|
|
158
164
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
159
165
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
166
|
+
blockchain_offramp_transfer_intention: Increase::PendingTransaction::Source::BlockchainOfframpTransferIntention?,
|
|
167
|
+
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
160
168
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
161
169
|
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
162
170
|
category: Increase::Models::PendingTransaction::Source::category,
|
|
@@ -175,6 +183,8 @@ module Increase
|
|
|
175
183
|
def to_hash: -> {
|
|
176
184
|
account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?,
|
|
177
185
|
ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?,
|
|
186
|
+
blockchain_offramp_transfer_intention: Increase::PendingTransaction::Source::BlockchainOfframpTransferIntention?,
|
|
187
|
+
blockchain_onramp_transfer_instruction: Increase::PendingTransaction::Source::BlockchainOnrampTransferInstruction?,
|
|
178
188
|
card_authorization: Increase::PendingTransaction::Source::CardAuthorization?,
|
|
179
189
|
card_push_transfer_instruction: Increase::PendingTransaction::Source::CardPushTransferInstruction?,
|
|
180
190
|
category: Increase::Models::PendingTransaction::Source::category,
|
|
@@ -240,6 +250,52 @@ module Increase
|
|
|
240
250
|
def to_hash: -> { amount: Integer, transfer_id: String }
|
|
241
251
|
end
|
|
242
252
|
|
|
253
|
+
type blockchain_offramp_transfer_intention =
|
|
254
|
+
{ source_blockchain_address_id: String, transfer_id: String }
|
|
255
|
+
|
|
256
|
+
class BlockchainOfframpTransferIntention < Increase::Internal::Type::BaseModel
|
|
257
|
+
attr_accessor source_blockchain_address_id: String
|
|
258
|
+
|
|
259
|
+
attr_accessor transfer_id: String
|
|
260
|
+
|
|
261
|
+
def initialize: (
|
|
262
|
+
source_blockchain_address_id: String,
|
|
263
|
+
transfer_id: String
|
|
264
|
+
) -> void
|
|
265
|
+
|
|
266
|
+
def to_hash: -> {
|
|
267
|
+
source_blockchain_address_id: String,
|
|
268
|
+
transfer_id: String
|
|
269
|
+
}
|
|
270
|
+
end
|
|
271
|
+
|
|
272
|
+
type blockchain_onramp_transfer_instruction =
|
|
273
|
+
{
|
|
274
|
+
amount: Integer,
|
|
275
|
+
destination_blockchain_address: String,
|
|
276
|
+
transfer_id: String
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
class BlockchainOnrampTransferInstruction < Increase::Internal::Type::BaseModel
|
|
280
|
+
attr_accessor amount: Integer
|
|
281
|
+
|
|
282
|
+
attr_accessor destination_blockchain_address: String
|
|
283
|
+
|
|
284
|
+
attr_accessor transfer_id: String
|
|
285
|
+
|
|
286
|
+
def initialize: (
|
|
287
|
+
amount: Integer,
|
|
288
|
+
destination_blockchain_address: String,
|
|
289
|
+
transfer_id: String
|
|
290
|
+
) -> void
|
|
291
|
+
|
|
292
|
+
def to_hash: -> {
|
|
293
|
+
amount: Integer,
|
|
294
|
+
destination_blockchain_address: String,
|
|
295
|
+
transfer_id: String
|
|
296
|
+
}
|
|
297
|
+
end
|
|
298
|
+
|
|
243
299
|
type card_authorization =
|
|
244
300
|
{
|
|
245
301
|
id: String,
|
|
@@ -1090,6 +1146,8 @@ module Increase
|
|
|
1090
1146
|
| :inbound_wire_transfer_reversal
|
|
1091
1147
|
| :swift_transfer_instruction
|
|
1092
1148
|
| :card_push_transfer_instruction
|
|
1149
|
+
| :blockchain_onramp_transfer_instruction
|
|
1150
|
+
| :blockchain_offramp_transfer_intention
|
|
1093
1151
|
| :other
|
|
1094
1152
|
|
|
1095
1153
|
module Category
|
|
@@ -1134,6 +1192,12 @@ module Increase
|
|
|
1134
1192
|
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
1135
1193
|
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
|
1136
1194
|
|
|
1195
|
+
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
1196
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
|
|
1197
|
+
|
|
1198
|
+
# Blockchain Off-Ramp Transfer Intention: details will be under the `blockchain_offramp_transfer_intention` object.
|
|
1199
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION: :blockchain_offramp_transfer_intention
|
|
1200
|
+
|
|
1137
1201
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
1138
1202
|
OTHER: :other
|
|
1139
1203
|
|
|
@@ -106,6 +106,8 @@ module Increase
|
|
|
106
106
|
| :inbound_wire_transfer_reversal
|
|
107
107
|
| :swift_transfer_instruction
|
|
108
108
|
| :card_push_transfer_instruction
|
|
109
|
+
| :blockchain_onramp_transfer_instruction
|
|
110
|
+
| :blockchain_offramp_transfer_intention
|
|
109
111
|
| :other
|
|
110
112
|
|
|
111
113
|
module In
|
|
@@ -150,6 +152,12 @@ module Increase
|
|
|
150
152
|
# Card Push Transfer Instruction: details will be under the `card_push_transfer_instruction` object.
|
|
151
153
|
CARD_PUSH_TRANSFER_INSTRUCTION: :card_push_transfer_instruction
|
|
152
154
|
|
|
155
|
+
# Blockchain On-Ramp Transfer Instruction: details will be under the `blockchain_onramp_transfer_instruction` object.
|
|
156
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INSTRUCTION: :blockchain_onramp_transfer_instruction
|
|
157
|
+
|
|
158
|
+
# Blockchain Off-Ramp Transfer Intention: details will be under the `blockchain_offramp_transfer_intention` object.
|
|
159
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_INTENTION: :blockchain_offramp_transfer_intention
|
|
160
|
+
|
|
153
161
|
# The Pending Transaction was made for an undocumented or deprecated reason.
|
|
154
162
|
OTHER: :other
|
|
155
163
|
|
|
@@ -96,6 +96,8 @@ module Increase
|
|
|
96
96
|
ach_transfer_intention: Increase::Transaction::Source::ACHTransferIntention?,
|
|
97
97
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
|
98
98
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
|
99
|
+
blockchain_offramp_transfer_settlement: Increase::Transaction::Source::BlockchainOfframpTransferSettlement?,
|
|
100
|
+
blockchain_onramp_transfer_intention: Increase::Transaction::Source::BlockchainOnrampTransferIntention?,
|
|
99
101
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
|
100
102
|
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
|
101
103
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
|
@@ -141,6 +143,10 @@ module Increase
|
|
|
141
143
|
|
|
142
144
|
attr_accessor ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?
|
|
143
145
|
|
|
146
|
+
attr_accessor blockchain_offramp_transfer_settlement: Increase::Transaction::Source::BlockchainOfframpTransferSettlement?
|
|
147
|
+
|
|
148
|
+
attr_accessor blockchain_onramp_transfer_intention: Increase::Transaction::Source::BlockchainOnrampTransferIntention?
|
|
149
|
+
|
|
144
150
|
attr_accessor card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?
|
|
145
151
|
|
|
146
152
|
attr_accessor card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?
|
|
@@ -211,6 +217,8 @@ module Increase
|
|
|
211
217
|
ach_transfer_intention: Increase::Transaction::Source::ACHTransferIntention?,
|
|
212
218
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
|
213
219
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
|
220
|
+
blockchain_offramp_transfer_settlement: Increase::Transaction::Source::BlockchainOfframpTransferSettlement?,
|
|
221
|
+
blockchain_onramp_transfer_intention: Increase::Transaction::Source::BlockchainOnrampTransferIntention?,
|
|
214
222
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
|
215
223
|
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
|
216
224
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
|
@@ -251,6 +259,8 @@ module Increase
|
|
|
251
259
|
ach_transfer_intention: Increase::Transaction::Source::ACHTransferIntention?,
|
|
252
260
|
ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?,
|
|
253
261
|
ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?,
|
|
262
|
+
blockchain_offramp_transfer_settlement: Increase::Transaction::Source::BlockchainOfframpTransferSettlement?,
|
|
263
|
+
blockchain_onramp_transfer_intention: Increase::Transaction::Source::BlockchainOnrampTransferIntention?,
|
|
254
264
|
card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?,
|
|
255
265
|
card_dispute_financial: Increase::Transaction::Source::CardDisputeFinancial?,
|
|
256
266
|
card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?,
|
|
@@ -742,6 +752,44 @@ module Increase
|
|
|
742
752
|
end
|
|
743
753
|
end
|
|
744
754
|
|
|
755
|
+
type blockchain_offramp_transfer_settlement =
|
|
756
|
+
{ source_blockchain_address_id: String, transfer_id: String }
|
|
757
|
+
|
|
758
|
+
class BlockchainOfframpTransferSettlement < Increase::Internal::Type::BaseModel
|
|
759
|
+
attr_accessor source_blockchain_address_id: String
|
|
760
|
+
|
|
761
|
+
attr_accessor transfer_id: String
|
|
762
|
+
|
|
763
|
+
def initialize: (
|
|
764
|
+
source_blockchain_address_id: String,
|
|
765
|
+
transfer_id: String
|
|
766
|
+
) -> void
|
|
767
|
+
|
|
768
|
+
def to_hash: -> {
|
|
769
|
+
source_blockchain_address_id: String,
|
|
770
|
+
transfer_id: String
|
|
771
|
+
}
|
|
772
|
+
end
|
|
773
|
+
|
|
774
|
+
type blockchain_onramp_transfer_intention =
|
|
775
|
+
{ destination_blockchain_address: String, transfer_id: String }
|
|
776
|
+
|
|
777
|
+
class BlockchainOnrampTransferIntention < Increase::Internal::Type::BaseModel
|
|
778
|
+
attr_accessor destination_blockchain_address: String
|
|
779
|
+
|
|
780
|
+
attr_accessor transfer_id: String
|
|
781
|
+
|
|
782
|
+
def initialize: (
|
|
783
|
+
destination_blockchain_address: String,
|
|
784
|
+
transfer_id: String
|
|
785
|
+
) -> void
|
|
786
|
+
|
|
787
|
+
def to_hash: -> {
|
|
788
|
+
destination_blockchain_address: String,
|
|
789
|
+
transfer_id: String
|
|
790
|
+
}
|
|
791
|
+
end
|
|
792
|
+
|
|
745
793
|
type card_dispute_acceptance =
|
|
746
794
|
{ accepted_at: Time, transaction_id: String }
|
|
747
795
|
|
|
@@ -3864,6 +3912,8 @@ module Increase
|
|
|
3864
3912
|
| :swift_transfer_return
|
|
3865
3913
|
| :card_push_transfer_acceptance
|
|
3866
3914
|
| :account_revenue_payment
|
|
3915
|
+
| :blockchain_onramp_transfer_intention
|
|
3916
|
+
| :blockchain_offramp_transfer_settlement
|
|
3867
3917
|
| :other
|
|
3868
3918
|
|
|
3869
3919
|
module Category
|
|
@@ -3974,6 +4024,12 @@ module Increase
|
|
|
3974
4024
|
# Account Revenue Payment: details will be under the `account_revenue_payment` object.
|
|
3975
4025
|
ACCOUNT_REVENUE_PAYMENT: :account_revenue_payment
|
|
3976
4026
|
|
|
4027
|
+
# Blockchain On-Ramp Transfer Intention: details will be under the `blockchain_onramp_transfer_intention` object.
|
|
4028
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INTENTION: :blockchain_onramp_transfer_intention
|
|
4029
|
+
|
|
4030
|
+
# Blockchain Off-Ramp Transfer Settlement: details will be under the `blockchain_offramp_transfer_settlement` object.
|
|
4031
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_SETTLEMENT: :blockchain_offramp_transfer_settlement
|
|
4032
|
+
|
|
3977
4033
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
3978
4034
|
OTHER: :other
|
|
3979
4035
|
|
|
@@ -117,6 +117,8 @@ module Increase
|
|
|
117
117
|
| :swift_transfer_return
|
|
118
118
|
| :card_push_transfer_acceptance
|
|
119
119
|
| :account_revenue_payment
|
|
120
|
+
| :blockchain_onramp_transfer_intention
|
|
121
|
+
| :blockchain_offramp_transfer_settlement
|
|
120
122
|
| :other
|
|
121
123
|
|
|
122
124
|
module In
|
|
@@ -227,6 +229,12 @@ module Increase
|
|
|
227
229
|
# Account Revenue Payment: details will be under the `account_revenue_payment` object.
|
|
228
230
|
ACCOUNT_REVENUE_PAYMENT: :account_revenue_payment
|
|
229
231
|
|
|
232
|
+
# Blockchain On-Ramp Transfer Intention: details will be under the `blockchain_onramp_transfer_intention` object.
|
|
233
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_INTENTION: :blockchain_onramp_transfer_intention
|
|
234
|
+
|
|
235
|
+
# Blockchain Off-Ramp Transfer Settlement: details will be under the `blockchain_offramp_transfer_settlement` object.
|
|
236
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_SETTLEMENT: :blockchain_offramp_transfer_settlement
|
|
237
|
+
|
|
230
238
|
# The Transaction was made for an undocumented or deprecated reason.
|
|
231
239
|
OTHER: :other
|
|
232
240
|
|
|
@@ -53,6 +53,12 @@ module Increase
|
|
|
53
53
|
| :"ach_prenotification.updated"
|
|
54
54
|
| :"ach_transfer.created"
|
|
55
55
|
| :"ach_transfer.updated"
|
|
56
|
+
| :"blockchain_address.created"
|
|
57
|
+
| :"blockchain_address.updated"
|
|
58
|
+
| :"blockchain_offramp_transfer.created"
|
|
59
|
+
| :"blockchain_offramp_transfer.updated"
|
|
60
|
+
| :"blockchain_onramp_transfer.created"
|
|
61
|
+
| :"blockchain_onramp_transfer.updated"
|
|
56
62
|
| :"bookkeeping_account.created"
|
|
57
63
|
| :"bookkeeping_account.updated"
|
|
58
64
|
| :"bookkeeping_entry_set.updated"
|
|
@@ -182,6 +188,24 @@ module Increase
|
|
|
182
188
|
# Occurs whenever an ACH Transfer is updated.
|
|
183
189
|
ACH_TRANSFER_UPDATED: :"ach_transfer.updated"
|
|
184
190
|
|
|
191
|
+
# Occurs whenever a Blockchain Address is created.
|
|
192
|
+
BLOCKCHAIN_ADDRESS_CREATED: :"blockchain_address.created"
|
|
193
|
+
|
|
194
|
+
# Occurs whenever a Blockchain Address is updated.
|
|
195
|
+
BLOCKCHAIN_ADDRESS_UPDATED: :"blockchain_address.updated"
|
|
196
|
+
|
|
197
|
+
# Occurs whenever a Blockchain Off-Ramp Transfer is created.
|
|
198
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_CREATED: :"blockchain_offramp_transfer.created"
|
|
199
|
+
|
|
200
|
+
# Occurs whenever a Blockchain Off-Ramp Transfer is updated.
|
|
201
|
+
BLOCKCHAIN_OFFRAMP_TRANSFER_UPDATED: :"blockchain_offramp_transfer.updated"
|
|
202
|
+
|
|
203
|
+
# Occurs whenever a Blockchain On-Ramp Transfer is created.
|
|
204
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_CREATED: :"blockchain_onramp_transfer.created"
|
|
205
|
+
|
|
206
|
+
# Occurs whenever a Blockchain On-Ramp Transfer is updated.
|
|
207
|
+
BLOCKCHAIN_ONRAMP_TRANSFER_UPDATED: :"blockchain_onramp_transfer.updated"
|
|
208
|
+
|
|
185
209
|
# Occurs whenever a Bookkeeping Account is created.
|
|
186
210
|
BOOKKEEPING_ACCOUNT_CREATED: :"bookkeeping_account.created"
|
|
187
211
|
|