increase 1.181.0 → 1.182.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: a47e8d321bb37ca7c90f8d3f38ea4caf74adecdb7d41cf863477d17d79cff21d
4
- data.tar.gz: 4081d98eaa3a83f0c8780762328900a984ce913722bbe2dadfa2f0533cb7546e
3
+ metadata.gz: 500f8416dba418ee450529fb8c0195637744db9ff47822396c5f1dd1284cf133
4
+ data.tar.gz: e3d54b0a36ef85a5f9f57426012d07a99b23ad6ef30e5260147963ea3d632f49
5
5
  SHA512:
6
- metadata.gz: 494c044a6b132315040d8b27f50bba19fd958c7be61feb8a367c64770bc01b0657648b2aafaaf5cd05f2cfa3f6d00f886c76a93f5f8422e9f6276222922de712
7
- data.tar.gz: 76b1eface1663d609151de57ce38a990848e04082f43723e723dd1b9e5b95a4ba0025e239763a3adedc36b17c764f22f28f0c946a86781386a328bcd4aa2a4e5
6
+ metadata.gz: 34d29f5a78b9bb649d8719bf981f9eb53a08f8b0e05e9870257c56ca5501141b63ec0adf10e6e2821aa8c7d3bffec93f7eb8bfe8f5f0d2bd90169c46e0b2a044
7
+ data.tar.gz: 22599131656c8364665f1cf5eda3b4cbd593c6b73c0c509aa09e1bf47ecced5c63034753ca80366f28c23e66f9f71585596e996fefedb9cb0c08f5d81932ebdb
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.182.0 (2026-01-23)
4
+
5
+ Full Changelog: [v1.181.0...v1.182.0](https://github.com/Increase/increase-ruby/compare/v1.181.0...v1.182.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([2716e55](https://github.com/Increase/increase-ruby/commit/2716e5520c441409cc52ee168796741d9d8e3fb2))
10
+
3
11
  ## 1.181.0 (2026-01-23)
4
12
 
5
13
  Full Changelog: [v1.180.0...v1.181.0](https://github.com/Increase/increase-ruby/compare/v1.180.0...v1.181.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.181.0"
18
+ gem "increase", "~> 1.182.0"
19
19
  ```
20
20
 
21
21
  <!-- x-release-please-end -->
@@ -2,7 +2,400 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- # @type [Increase::Internal::Type::Converter]
6
- UnwrapWebhookEvent = Increase::Internal::Type::Unknown
5
+ class UnwrapWebhookEvent < Increase::Internal::Type::BaseModel
6
+ # @!attribute id
7
+ # The Event identifier.
8
+ #
9
+ # @return [String]
10
+ required :id, String
11
+
12
+ # @!attribute associated_object_id
13
+ # The identifier of the object that generated this Event.
14
+ #
15
+ # @return [String]
16
+ required :associated_object_id, String
17
+
18
+ # @!attribute associated_object_type
19
+ # The type of the object that generated this Event.
20
+ #
21
+ # @return [String]
22
+ required :associated_object_type, String
23
+
24
+ # @!attribute category
25
+ # The category of the Event. We may add additional possible values for this enum
26
+ # over time; your application should be able to handle such additions gracefully.
27
+ #
28
+ # @return [Symbol, Increase::Models::UnwrapWebhookEvent::Category]
29
+ required :category, enum: -> { Increase::UnwrapWebhookEvent::Category }
30
+
31
+ # @!attribute created_at
32
+ # The time the Event was created.
33
+ #
34
+ # @return [Time]
35
+ required :created_at, Time
36
+
37
+ # @!attribute type
38
+ # A constant representing the object's type. For this resource it will always be
39
+ # `event`.
40
+ #
41
+ # @return [Symbol, Increase::Models::UnwrapWebhookEvent::Type]
42
+ required :type, enum: -> { Increase::UnwrapWebhookEvent::Type }
43
+
44
+ # @!method initialize(id:, associated_object_id:, associated_object_type:, category:, created_at:, type:)
45
+ # Some parameter documentations has been truncated, see
46
+ # {Increase::Models::UnwrapWebhookEvent} for more details.
47
+ #
48
+ # Events are records of things that happened to objects at Increase. Events are
49
+ # accessible via the List Events endpoint and can be delivered to your application
50
+ # via webhooks. For more information, see our
51
+ # [webhooks guide](https://increase.com/documentation/webhooks).
52
+ #
53
+ # @param id [String] The Event identifier.
54
+ #
55
+ # @param associated_object_id [String] The identifier of the object that generated this Event.
56
+ #
57
+ # @param associated_object_type [String] The type of the object that generated this Event.
58
+ #
59
+ # @param category [Symbol, Increase::Models::UnwrapWebhookEvent::Category] The category of the Event. We may add additional possible values for this enum o
60
+ #
61
+ # @param created_at [Time] The time the Event was created.
62
+ #
63
+ # @param type [Symbol, Increase::Models::UnwrapWebhookEvent::Type] A constant representing the object's type. For this resource it will always be `
64
+
65
+ # The category of the Event. We may add additional possible values for this enum
66
+ # over time; your application should be able to handle such additions gracefully.
67
+ #
68
+ # @see Increase::Models::UnwrapWebhookEvent#category
69
+ module Category
70
+ extend Increase::Internal::Type::Enum
71
+
72
+ # Occurs whenever an Account is created.
73
+ ACCOUNT_CREATED = :"account.created"
74
+
75
+ # Occurs whenever an Account is updated.
76
+ ACCOUNT_UPDATED = :"account.updated"
77
+
78
+ # Occurs whenever an Account Number is created.
79
+ ACCOUNT_NUMBER_CREATED = :"account_number.created"
80
+
81
+ # Occurs whenever an Account Number is updated.
82
+ ACCOUNT_NUMBER_UPDATED = :"account_number.updated"
83
+
84
+ # Occurs whenever an Account Statement is created.
85
+ ACCOUNT_STATEMENT_CREATED = :"account_statement.created"
86
+
87
+ # Occurs whenever an Account Transfer is created.
88
+ ACCOUNT_TRANSFER_CREATED = :"account_transfer.created"
89
+
90
+ # Occurs whenever an Account Transfer is updated.
91
+ ACCOUNT_TRANSFER_UPDATED = :"account_transfer.updated"
92
+
93
+ # Occurs whenever an ACH Prenotification is created.
94
+ ACH_PRENOTIFICATION_CREATED = :"ach_prenotification.created"
95
+
96
+ # Occurs whenever an ACH Prenotification is updated.
97
+ ACH_PRENOTIFICATION_UPDATED = :"ach_prenotification.updated"
98
+
99
+ # Occurs whenever an ACH Transfer is created.
100
+ ACH_TRANSFER_CREATED = :"ach_transfer.created"
101
+
102
+ # Occurs whenever an ACH Transfer is updated.
103
+ ACH_TRANSFER_UPDATED = :"ach_transfer.updated"
104
+
105
+ # Occurs whenever a Bookkeeping Account is created.
106
+ BOOKKEEPING_ACCOUNT_CREATED = :"bookkeeping_account.created"
107
+
108
+ # Occurs whenever a Bookkeeping Account is updated.
109
+ BOOKKEEPING_ACCOUNT_UPDATED = :"bookkeeping_account.updated"
110
+
111
+ # Occurs whenever a Bookkeeping Entry Set is created.
112
+ BOOKKEEPING_ENTRY_SET_UPDATED = :"bookkeeping_entry_set.updated"
113
+
114
+ # Occurs whenever a Card is created.
115
+ CARD_CREATED = :"card.created"
116
+
117
+ # Occurs whenever a Card is updated.
118
+ CARD_UPDATED = :"card.updated"
119
+
120
+ # Occurs whenever a Card Payment is created.
121
+ CARD_PAYMENT_CREATED = :"card_payment.created"
122
+
123
+ # Occurs whenever a Card Payment is updated.
124
+ CARD_PAYMENT_UPDATED = :"card_payment.updated"
125
+
126
+ # Occurs whenever a Card Profile is created.
127
+ CARD_PROFILE_CREATED = :"card_profile.created"
128
+
129
+ # Occurs whenever a Card Profile is updated.
130
+ CARD_PROFILE_UPDATED = :"card_profile.updated"
131
+
132
+ # Occurs whenever a Card Dispute is created.
133
+ CARD_DISPUTE_CREATED = :"card_dispute.created"
134
+
135
+ # Occurs whenever a Card Dispute is updated.
136
+ CARD_DISPUTE_UPDATED = :"card_dispute.updated"
137
+
138
+ # Occurs whenever a Check Deposit is created.
139
+ CHECK_DEPOSIT_CREATED = :"check_deposit.created"
140
+
141
+ # Occurs whenever a Check Deposit is updated.
142
+ CHECK_DEPOSIT_UPDATED = :"check_deposit.updated"
143
+
144
+ # Occurs whenever a Check Transfer is created.
145
+ CHECK_TRANSFER_CREATED = :"check_transfer.created"
146
+
147
+ # Occurs whenever a Check Transfer is updated.
148
+ CHECK_TRANSFER_UPDATED = :"check_transfer.updated"
149
+
150
+ # Occurs whenever a Declined Transaction is created.
151
+ DECLINED_TRANSACTION_CREATED = :"declined_transaction.created"
152
+
153
+ # Occurs whenever a Digital Card Profile is created.
154
+ DIGITAL_CARD_PROFILE_CREATED = :"digital_card_profile.created"
155
+
156
+ # Occurs whenever a Digital Card Profile is updated.
157
+ DIGITAL_CARD_PROFILE_UPDATED = :"digital_card_profile.updated"
158
+
159
+ # Occurs whenever a Digital Wallet Token is created.
160
+ DIGITAL_WALLET_TOKEN_CREATED = :"digital_wallet_token.created"
161
+
162
+ # Occurs whenever a Digital Wallet Token is updated.
163
+ DIGITAL_WALLET_TOKEN_UPDATED = :"digital_wallet_token.updated"
164
+
165
+ # Occurs whenever a Document is created.
166
+ DOCUMENT_CREATED = :"document.created"
167
+
168
+ # Occurs whenever an Entity is created.
169
+ ENTITY_CREATED = :"entity.created"
170
+
171
+ # Occurs whenever an Entity is updated.
172
+ ENTITY_UPDATED = :"entity.updated"
173
+
174
+ # Occurs whenever an Event Subscription is created.
175
+ EVENT_SUBSCRIPTION_CREATED = :"event_subscription.created"
176
+
177
+ # Occurs whenever an Event Subscription is updated.
178
+ EVENT_SUBSCRIPTION_UPDATED = :"event_subscription.updated"
179
+
180
+ # Occurs whenever an Export is created.
181
+ EXPORT_CREATED = :"export.created"
182
+
183
+ # Occurs whenever an Export is updated.
184
+ EXPORT_UPDATED = :"export.updated"
185
+
186
+ # Occurs whenever an External Account is created.
187
+ EXTERNAL_ACCOUNT_CREATED = :"external_account.created"
188
+
189
+ # Occurs whenever an External Account is updated.
190
+ EXTERNAL_ACCOUNT_UPDATED = :"external_account.updated"
191
+
192
+ # Occurs whenever a FedNow Transfer is created.
193
+ FEDNOW_TRANSFER_CREATED = :"fednow_transfer.created"
194
+
195
+ # Occurs whenever a FedNow Transfer is updated.
196
+ FEDNOW_TRANSFER_UPDATED = :"fednow_transfer.updated"
197
+
198
+ # Occurs whenever a File is created.
199
+ FILE_CREATED = :"file.created"
200
+
201
+ # Occurs whenever a Group is updated.
202
+ GROUP_UPDATED = :"group.updated"
203
+
204
+ # Increase may send webhooks with this category to see if a webhook endpoint is working properly.
205
+ GROUP_HEARTBEAT = :"group.heartbeat"
206
+
207
+ # Occurs whenever an Inbound ACH Transfer is created.
208
+ INBOUND_ACH_TRANSFER_CREATED = :"inbound_ach_transfer.created"
209
+
210
+ # Occurs whenever an Inbound ACH Transfer is updated.
211
+ INBOUND_ACH_TRANSFER_UPDATED = :"inbound_ach_transfer.updated"
212
+
213
+ # Occurs whenever an Inbound ACH Transfer Return is created.
214
+ INBOUND_ACH_TRANSFER_RETURN_CREATED = :"inbound_ach_transfer_return.created"
215
+
216
+ # Occurs whenever an Inbound ACH Transfer Return is updated.
217
+ INBOUND_ACH_TRANSFER_RETURN_UPDATED = :"inbound_ach_transfer_return.updated"
218
+
219
+ # Occurs whenever an Inbound Check Deposit is created.
220
+ INBOUND_CHECK_DEPOSIT_CREATED = :"inbound_check_deposit.created"
221
+
222
+ # Occurs whenever an Inbound Check Deposit is updated.
223
+ INBOUND_CHECK_DEPOSIT_UPDATED = :"inbound_check_deposit.updated"
224
+
225
+ # Occurs whenever an Inbound FedNow Transfer is created.
226
+ INBOUND_FEDNOW_TRANSFER_CREATED = :"inbound_fednow_transfer.created"
227
+
228
+ # Occurs whenever an Inbound FedNow Transfer is updated.
229
+ INBOUND_FEDNOW_TRANSFER_UPDATED = :"inbound_fednow_transfer.updated"
230
+
231
+ # Occurs whenever an Inbound Mail Item is created.
232
+ INBOUND_MAIL_ITEM_CREATED = :"inbound_mail_item.created"
233
+
234
+ # Occurs whenever an Inbound Mail Item is updated.
235
+ INBOUND_MAIL_ITEM_UPDATED = :"inbound_mail_item.updated"
236
+
237
+ # Occurs whenever an Inbound Real-Time Payments Transfer is created.
238
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"inbound_real_time_payments_transfer.created"
239
+
240
+ # Occurs whenever an Inbound Real-Time Payments Transfer is updated.
241
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED = :"inbound_real_time_payments_transfer.updated"
242
+
243
+ # Occurs whenever an Inbound Wire Drawdown Request is created.
244
+ INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED = :"inbound_wire_drawdown_request.created"
245
+
246
+ # Occurs whenever an Inbound Wire Transfer is created.
247
+ INBOUND_WIRE_TRANSFER_CREATED = :"inbound_wire_transfer.created"
248
+
249
+ # Occurs whenever an Inbound Wire Transfer is updated.
250
+ INBOUND_WIRE_TRANSFER_UPDATED = :"inbound_wire_transfer.updated"
251
+
252
+ # Occurs whenever an IntraFi Account Enrollment is created.
253
+ INTRAFI_ACCOUNT_ENROLLMENT_CREATED = :"intrafi_account_enrollment.created"
254
+
255
+ # Occurs whenever an IntraFi Account Enrollment is updated.
256
+ INTRAFI_ACCOUNT_ENROLLMENT_UPDATED = :"intrafi_account_enrollment.updated"
257
+
258
+ # Occurs whenever an IntraFi Exclusion is created.
259
+ INTRAFI_EXCLUSION_CREATED = :"intrafi_exclusion.created"
260
+
261
+ # Occurs whenever an IntraFi Exclusion is updated.
262
+ INTRAFI_EXCLUSION_UPDATED = :"intrafi_exclusion.updated"
263
+
264
+ # Occurs whenever a Legacy Card Dispute is created.
265
+ LEGACY_CARD_DISPUTE_CREATED = :"legacy_card_dispute.created"
266
+
267
+ # Occurs whenever a Legacy Card Dispute is updated.
268
+ LEGACY_CARD_DISPUTE_UPDATED = :"legacy_card_dispute.updated"
269
+
270
+ # Occurs whenever a Lockbox is created.
271
+ LOCKBOX_CREATED = :"lockbox.created"
272
+
273
+ # Occurs whenever a Lockbox is updated.
274
+ LOCKBOX_UPDATED = :"lockbox.updated"
275
+
276
+ # Occurs whenever an OAuth Connection is created.
277
+ OAUTH_CONNECTION_CREATED = :"oauth_connection.created"
278
+
279
+ # Occurs whenever an OAuth Connection is deactivated.
280
+ OAUTH_CONNECTION_DEACTIVATED = :"oauth_connection.deactivated"
281
+
282
+ # Occurs whenever a Card Push Transfer is created.
283
+ CARD_PUSH_TRANSFER_CREATED = :"card_push_transfer.created"
284
+
285
+ # Occurs whenever a Card Push Transfer is updated.
286
+ CARD_PUSH_TRANSFER_UPDATED = :"card_push_transfer.updated"
287
+
288
+ # Occurs whenever a Card Validation is created.
289
+ CARD_VALIDATION_CREATED = :"card_validation.created"
290
+
291
+ # Occurs whenever a Card Validation is updated.
292
+ CARD_VALIDATION_UPDATED = :"card_validation.updated"
293
+
294
+ # Occurs whenever a Pending Transaction is created.
295
+ PENDING_TRANSACTION_CREATED = :"pending_transaction.created"
296
+
297
+ # Occurs whenever a Pending Transaction is updated.
298
+ PENDING_TRANSACTION_UPDATED = :"pending_transaction.updated"
299
+
300
+ # Occurs whenever a Physical Card is created.
301
+ PHYSICAL_CARD_CREATED = :"physical_card.created"
302
+
303
+ # Occurs whenever a Physical Card is updated.
304
+ PHYSICAL_CARD_UPDATED = :"physical_card.updated"
305
+
306
+ # Occurs whenever a Physical Card Profile is created.
307
+ PHYSICAL_CARD_PROFILE_CREATED = :"physical_card_profile.created"
308
+
309
+ # Occurs whenever a Physical Card Profile is updated.
310
+ PHYSICAL_CARD_PROFILE_UPDATED = :"physical_card_profile.updated"
311
+
312
+ # Occurs whenever a Physical Check is created.
313
+ PHYSICAL_CHECK_CREATED = :"physical_check.created"
314
+
315
+ # Occurs whenever a Physical Check is updated.
316
+ PHYSICAL_CHECK_UPDATED = :"physical_check.updated"
317
+
318
+ # Occurs whenever a Program is created.
319
+ PROGRAM_CREATED = :"program.created"
320
+
321
+ # Occurs whenever a Program is updated.
322
+ PROGRAM_UPDATED = :"program.updated"
323
+
324
+ # Occurs whenever a Proof of Authorization Request is created.
325
+ PROOF_OF_AUTHORIZATION_REQUEST_CREATED = :"proof_of_authorization_request.created"
326
+
327
+ # Occurs whenever a Proof of Authorization Request is updated.
328
+ PROOF_OF_AUTHORIZATION_REQUEST_UPDATED = :"proof_of_authorization_request.updated"
329
+
330
+ # Occurs whenever a Real-Time Decision is created in response to a card authorization.
331
+ REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED = :"real_time_decision.card_authorization_requested"
332
+
333
+ # Occurs whenever a Real-Time Decision is created in response to a card balance inquiry.
334
+ REAL_TIME_DECISION_CARD_BALANCE_INQUIRY_REQUESTED = :"real_time_decision.card_balance_inquiry_requested"
335
+
336
+ # Occurs whenever a Real-Time Decision is created in response to a digital wallet provisioning attempt.
337
+ REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED = :"real_time_decision.digital_wallet_token_requested"
338
+
339
+ # Occurs whenever a Real-Time Decision is created in response to a digital wallet requiring two-factor authentication.
340
+ REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED =
341
+ :"real_time_decision.digital_wallet_authentication_requested"
342
+
343
+ # Occurs whenever a Real-Time Decision is created in response to 3DS authentication.
344
+ REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED = :"real_time_decision.card_authentication_requested"
345
+
346
+ # Occurs whenever a Real-Time Decision is created in response to 3DS authentication challenges.
347
+ REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED =
348
+ :"real_time_decision.card_authentication_challenge_requested"
349
+
350
+ # Occurs whenever a Real-Time Payments Transfer is created.
351
+ REAL_TIME_PAYMENTS_TRANSFER_CREATED = :"real_time_payments_transfer.created"
352
+
353
+ # Occurs whenever a Real-Time Payments Transfer is updated.
354
+ REAL_TIME_PAYMENTS_TRANSFER_UPDATED = :"real_time_payments_transfer.updated"
355
+
356
+ # Occurs whenever a Real-Time Payments Request for Payment is created.
357
+ REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED = :"real_time_payments_request_for_payment.created"
358
+
359
+ # Occurs whenever a Real-Time Payments Request for Payment is updated.
360
+ REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED = :"real_time_payments_request_for_payment.updated"
361
+
362
+ # Occurs whenever a Swift Transfer is created.
363
+ SWIFT_TRANSFER_CREATED = :"swift_transfer.created"
364
+
365
+ # Occurs whenever a Swift Transfer is updated.
366
+ SWIFT_TRANSFER_UPDATED = :"swift_transfer.updated"
367
+
368
+ # Occurs whenever a Transaction is created.
369
+ TRANSACTION_CREATED = :"transaction.created"
370
+
371
+ # Occurs whenever a Wire Drawdown Request is created.
372
+ WIRE_DRAWDOWN_REQUEST_CREATED = :"wire_drawdown_request.created"
373
+
374
+ # Occurs whenever a Wire Drawdown Request is updated.
375
+ WIRE_DRAWDOWN_REQUEST_UPDATED = :"wire_drawdown_request.updated"
376
+
377
+ # Occurs whenever a Wire Transfer is created.
378
+ WIRE_TRANSFER_CREATED = :"wire_transfer.created"
379
+
380
+ # Occurs whenever a Wire Transfer is updated.
381
+ WIRE_TRANSFER_UPDATED = :"wire_transfer.updated"
382
+
383
+ # @!method self.values
384
+ # @return [Array<Symbol>]
385
+ end
386
+
387
+ # A constant representing the object's type. For this resource it will always be
388
+ # `event`.
389
+ #
390
+ # @see Increase::Models::UnwrapWebhookEvent#type
391
+ module Type
392
+ extend Increase::Internal::Type::Enum
393
+
394
+ EVENT = :event
395
+
396
+ # @!method self.values
397
+ # @return [Array<Symbol>]
398
+ end
399
+ end
7
400
  end
8
401
  end
@@ -529,7 +529,6 @@ module Increase
529
529
 
530
530
  TransactionRetrieveParams = Increase::Models::TransactionRetrieveParams
531
531
 
532
- # @type [Increase::Internal::Type::Converter]
533
532
  UnwrapWebhookEvent = Increase::Models::UnwrapWebhookEvent
534
533
 
535
534
  WireDrawdownRequest = Increase::Models::WireDrawdownRequest
@@ -59,7 +59,7 @@ module Increase
59
59
 
60
60
  # @param payload [String] The raw webhook payload as a string
61
61
  #
62
- # @return [Object]
62
+ # @return [Increase::Models::UnwrapWebhookEvent]
63
63
  def unwrap(payload)
64
64
  parsed = JSON.parse(payload, symbolize_names: true)
65
65
  Increase::Internal::Type::Converter.coerce(Increase::Models::UnwrapWebhookEvent, parsed)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Increase
4
- VERSION = "1.181.0"
4
+ VERSION = "1.182.0"
5
5
  end