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.
@@ -2,6 +2,843 @@
2
2
 
3
3
  module Increase
4
4
  module Models
5
- UnwrapWebhookEvent = T.let(T.anything, Increase::Internal::Type::Converter)
5
+ class UnwrapWebhookEvent < Increase::Internal::Type::BaseModel
6
+ OrHash =
7
+ T.type_alias do
8
+ T.any(Increase::UnwrapWebhookEvent, Increase::Internal::AnyHash)
9
+ end
10
+
11
+ # The Event identifier.
12
+ sig { returns(String) }
13
+ attr_accessor :id
14
+
15
+ # The identifier of the object that generated this Event.
16
+ sig { returns(String) }
17
+ attr_accessor :associated_object_id
18
+
19
+ # The type of the object that generated this Event.
20
+ sig { returns(String) }
21
+ attr_accessor :associated_object_type
22
+
23
+ # The category of the Event. We may add additional possible values for this enum
24
+ # over time; your application should be able to handle such additions gracefully.
25
+ sig { returns(Increase::UnwrapWebhookEvent::Category::TaggedSymbol) }
26
+ attr_accessor :category
27
+
28
+ # The time the Event was created.
29
+ sig { returns(Time) }
30
+ attr_accessor :created_at
31
+
32
+ # A constant representing the object's type. For this resource it will always be
33
+ # `event`.
34
+ sig { returns(Increase::UnwrapWebhookEvent::Type::TaggedSymbol) }
35
+ attr_accessor :type
36
+
37
+ # Events are records of things that happened to objects at Increase. Events are
38
+ # accessible via the List Events endpoint and can be delivered to your application
39
+ # via webhooks. For more information, see our
40
+ # [webhooks guide](https://increase.com/documentation/webhooks).
41
+ sig do
42
+ params(
43
+ id: String,
44
+ associated_object_id: String,
45
+ associated_object_type: String,
46
+ category: Increase::UnwrapWebhookEvent::Category::OrSymbol,
47
+ created_at: Time,
48
+ type: Increase::UnwrapWebhookEvent::Type::OrSymbol
49
+ ).returns(T.attached_class)
50
+ end
51
+ def self.new(
52
+ # The Event identifier.
53
+ id:,
54
+ # The identifier of the object that generated this Event.
55
+ associated_object_id:,
56
+ # The type of the object that generated this Event.
57
+ associated_object_type:,
58
+ # The category of the Event. We may add additional possible values for this enum
59
+ # over time; your application should be able to handle such additions gracefully.
60
+ category:,
61
+ # The time the Event was created.
62
+ created_at:,
63
+ # A constant representing the object's type. For this resource it will always be
64
+ # `event`.
65
+ type:
66
+ )
67
+ end
68
+
69
+ sig do
70
+ override.returns(
71
+ {
72
+ id: String,
73
+ associated_object_id: String,
74
+ associated_object_type: String,
75
+ category: Increase::UnwrapWebhookEvent::Category::TaggedSymbol,
76
+ created_at: Time,
77
+ type: Increase::UnwrapWebhookEvent::Type::TaggedSymbol
78
+ }
79
+ )
80
+ end
81
+ def to_hash
82
+ end
83
+
84
+ # The category of the Event. We may add additional possible values for this enum
85
+ # over time; your application should be able to handle such additions gracefully.
86
+ module Category
87
+ extend Increase::Internal::Type::Enum
88
+
89
+ TaggedSymbol =
90
+ T.type_alias { T.all(Symbol, Increase::UnwrapWebhookEvent::Category) }
91
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
92
+
93
+ # Occurs whenever an Account is created.
94
+ ACCOUNT_CREATED =
95
+ T.let(
96
+ :"account.created",
97
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
98
+ )
99
+
100
+ # Occurs whenever an Account is updated.
101
+ ACCOUNT_UPDATED =
102
+ T.let(
103
+ :"account.updated",
104
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
105
+ )
106
+
107
+ # Occurs whenever an Account Number is created.
108
+ ACCOUNT_NUMBER_CREATED =
109
+ T.let(
110
+ :"account_number.created",
111
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
112
+ )
113
+
114
+ # Occurs whenever an Account Number is updated.
115
+ ACCOUNT_NUMBER_UPDATED =
116
+ T.let(
117
+ :"account_number.updated",
118
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
119
+ )
120
+
121
+ # Occurs whenever an Account Statement is created.
122
+ ACCOUNT_STATEMENT_CREATED =
123
+ T.let(
124
+ :"account_statement.created",
125
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
126
+ )
127
+
128
+ # Occurs whenever an Account Transfer is created.
129
+ ACCOUNT_TRANSFER_CREATED =
130
+ T.let(
131
+ :"account_transfer.created",
132
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
133
+ )
134
+
135
+ # Occurs whenever an Account Transfer is updated.
136
+ ACCOUNT_TRANSFER_UPDATED =
137
+ T.let(
138
+ :"account_transfer.updated",
139
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
140
+ )
141
+
142
+ # Occurs whenever an ACH Prenotification is created.
143
+ ACH_PRENOTIFICATION_CREATED =
144
+ T.let(
145
+ :"ach_prenotification.created",
146
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
147
+ )
148
+
149
+ # Occurs whenever an ACH Prenotification is updated.
150
+ ACH_PRENOTIFICATION_UPDATED =
151
+ T.let(
152
+ :"ach_prenotification.updated",
153
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
154
+ )
155
+
156
+ # Occurs whenever an ACH Transfer is created.
157
+ ACH_TRANSFER_CREATED =
158
+ T.let(
159
+ :"ach_transfer.created",
160
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
161
+ )
162
+
163
+ # Occurs whenever an ACH Transfer is updated.
164
+ ACH_TRANSFER_UPDATED =
165
+ T.let(
166
+ :"ach_transfer.updated",
167
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
168
+ )
169
+
170
+ # Occurs whenever a Bookkeeping Account is created.
171
+ BOOKKEEPING_ACCOUNT_CREATED =
172
+ T.let(
173
+ :"bookkeeping_account.created",
174
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
175
+ )
176
+
177
+ # Occurs whenever a Bookkeeping Account is updated.
178
+ BOOKKEEPING_ACCOUNT_UPDATED =
179
+ T.let(
180
+ :"bookkeeping_account.updated",
181
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
182
+ )
183
+
184
+ # Occurs whenever a Bookkeeping Entry Set is created.
185
+ BOOKKEEPING_ENTRY_SET_UPDATED =
186
+ T.let(
187
+ :"bookkeeping_entry_set.updated",
188
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
189
+ )
190
+
191
+ # Occurs whenever a Card is created.
192
+ CARD_CREATED =
193
+ T.let(
194
+ :"card.created",
195
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
196
+ )
197
+
198
+ # Occurs whenever a Card is updated.
199
+ CARD_UPDATED =
200
+ T.let(
201
+ :"card.updated",
202
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
203
+ )
204
+
205
+ # Occurs whenever a Card Payment is created.
206
+ CARD_PAYMENT_CREATED =
207
+ T.let(
208
+ :"card_payment.created",
209
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
210
+ )
211
+
212
+ # Occurs whenever a Card Payment is updated.
213
+ CARD_PAYMENT_UPDATED =
214
+ T.let(
215
+ :"card_payment.updated",
216
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
217
+ )
218
+
219
+ # Occurs whenever a Card Profile is created.
220
+ CARD_PROFILE_CREATED =
221
+ T.let(
222
+ :"card_profile.created",
223
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
224
+ )
225
+
226
+ # Occurs whenever a Card Profile is updated.
227
+ CARD_PROFILE_UPDATED =
228
+ T.let(
229
+ :"card_profile.updated",
230
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
231
+ )
232
+
233
+ # Occurs whenever a Card Dispute is created.
234
+ CARD_DISPUTE_CREATED =
235
+ T.let(
236
+ :"card_dispute.created",
237
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
238
+ )
239
+
240
+ # Occurs whenever a Card Dispute is updated.
241
+ CARD_DISPUTE_UPDATED =
242
+ T.let(
243
+ :"card_dispute.updated",
244
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
245
+ )
246
+
247
+ # Occurs whenever a Check Deposit is created.
248
+ CHECK_DEPOSIT_CREATED =
249
+ T.let(
250
+ :"check_deposit.created",
251
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
252
+ )
253
+
254
+ # Occurs whenever a Check Deposit is updated.
255
+ CHECK_DEPOSIT_UPDATED =
256
+ T.let(
257
+ :"check_deposit.updated",
258
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
259
+ )
260
+
261
+ # Occurs whenever a Check Transfer is created.
262
+ CHECK_TRANSFER_CREATED =
263
+ T.let(
264
+ :"check_transfer.created",
265
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
266
+ )
267
+
268
+ # Occurs whenever a Check Transfer is updated.
269
+ CHECK_TRANSFER_UPDATED =
270
+ T.let(
271
+ :"check_transfer.updated",
272
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
273
+ )
274
+
275
+ # Occurs whenever a Declined Transaction is created.
276
+ DECLINED_TRANSACTION_CREATED =
277
+ T.let(
278
+ :"declined_transaction.created",
279
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
280
+ )
281
+
282
+ # Occurs whenever a Digital Card Profile is created.
283
+ DIGITAL_CARD_PROFILE_CREATED =
284
+ T.let(
285
+ :"digital_card_profile.created",
286
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
287
+ )
288
+
289
+ # Occurs whenever a Digital Card Profile is updated.
290
+ DIGITAL_CARD_PROFILE_UPDATED =
291
+ T.let(
292
+ :"digital_card_profile.updated",
293
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
294
+ )
295
+
296
+ # Occurs whenever a Digital Wallet Token is created.
297
+ DIGITAL_WALLET_TOKEN_CREATED =
298
+ T.let(
299
+ :"digital_wallet_token.created",
300
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
301
+ )
302
+
303
+ # Occurs whenever a Digital Wallet Token is updated.
304
+ DIGITAL_WALLET_TOKEN_UPDATED =
305
+ T.let(
306
+ :"digital_wallet_token.updated",
307
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
308
+ )
309
+
310
+ # Occurs whenever a Document is created.
311
+ DOCUMENT_CREATED =
312
+ T.let(
313
+ :"document.created",
314
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
315
+ )
316
+
317
+ # Occurs whenever an Entity is created.
318
+ ENTITY_CREATED =
319
+ T.let(
320
+ :"entity.created",
321
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
322
+ )
323
+
324
+ # Occurs whenever an Entity is updated.
325
+ ENTITY_UPDATED =
326
+ T.let(
327
+ :"entity.updated",
328
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
329
+ )
330
+
331
+ # Occurs whenever an Event Subscription is created.
332
+ EVENT_SUBSCRIPTION_CREATED =
333
+ T.let(
334
+ :"event_subscription.created",
335
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
336
+ )
337
+
338
+ # Occurs whenever an Event Subscription is updated.
339
+ EVENT_SUBSCRIPTION_UPDATED =
340
+ T.let(
341
+ :"event_subscription.updated",
342
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
343
+ )
344
+
345
+ # Occurs whenever an Export is created.
346
+ EXPORT_CREATED =
347
+ T.let(
348
+ :"export.created",
349
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
350
+ )
351
+
352
+ # Occurs whenever an Export is updated.
353
+ EXPORT_UPDATED =
354
+ T.let(
355
+ :"export.updated",
356
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
357
+ )
358
+
359
+ # Occurs whenever an External Account is created.
360
+ EXTERNAL_ACCOUNT_CREATED =
361
+ T.let(
362
+ :"external_account.created",
363
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
364
+ )
365
+
366
+ # Occurs whenever an External Account is updated.
367
+ EXTERNAL_ACCOUNT_UPDATED =
368
+ T.let(
369
+ :"external_account.updated",
370
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
371
+ )
372
+
373
+ # Occurs whenever a FedNow Transfer is created.
374
+ FEDNOW_TRANSFER_CREATED =
375
+ T.let(
376
+ :"fednow_transfer.created",
377
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
378
+ )
379
+
380
+ # Occurs whenever a FedNow Transfer is updated.
381
+ FEDNOW_TRANSFER_UPDATED =
382
+ T.let(
383
+ :"fednow_transfer.updated",
384
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
385
+ )
386
+
387
+ # Occurs whenever a File is created.
388
+ FILE_CREATED =
389
+ T.let(
390
+ :"file.created",
391
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
392
+ )
393
+
394
+ # Occurs whenever a Group is updated.
395
+ GROUP_UPDATED =
396
+ T.let(
397
+ :"group.updated",
398
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
399
+ )
400
+
401
+ # Increase may send webhooks with this category to see if a webhook endpoint is working properly.
402
+ GROUP_HEARTBEAT =
403
+ T.let(
404
+ :"group.heartbeat",
405
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
406
+ )
407
+
408
+ # Occurs whenever an Inbound ACH Transfer is created.
409
+ INBOUND_ACH_TRANSFER_CREATED =
410
+ T.let(
411
+ :"inbound_ach_transfer.created",
412
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
413
+ )
414
+
415
+ # Occurs whenever an Inbound ACH Transfer is updated.
416
+ INBOUND_ACH_TRANSFER_UPDATED =
417
+ T.let(
418
+ :"inbound_ach_transfer.updated",
419
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
420
+ )
421
+
422
+ # Occurs whenever an Inbound ACH Transfer Return is created.
423
+ INBOUND_ACH_TRANSFER_RETURN_CREATED =
424
+ T.let(
425
+ :"inbound_ach_transfer_return.created",
426
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
427
+ )
428
+
429
+ # Occurs whenever an Inbound ACH Transfer Return is updated.
430
+ INBOUND_ACH_TRANSFER_RETURN_UPDATED =
431
+ T.let(
432
+ :"inbound_ach_transfer_return.updated",
433
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
434
+ )
435
+
436
+ # Occurs whenever an Inbound Check Deposit is created.
437
+ INBOUND_CHECK_DEPOSIT_CREATED =
438
+ T.let(
439
+ :"inbound_check_deposit.created",
440
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
441
+ )
442
+
443
+ # Occurs whenever an Inbound Check Deposit is updated.
444
+ INBOUND_CHECK_DEPOSIT_UPDATED =
445
+ T.let(
446
+ :"inbound_check_deposit.updated",
447
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
448
+ )
449
+
450
+ # Occurs whenever an Inbound FedNow Transfer is created.
451
+ INBOUND_FEDNOW_TRANSFER_CREATED =
452
+ T.let(
453
+ :"inbound_fednow_transfer.created",
454
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
455
+ )
456
+
457
+ # Occurs whenever an Inbound FedNow Transfer is updated.
458
+ INBOUND_FEDNOW_TRANSFER_UPDATED =
459
+ T.let(
460
+ :"inbound_fednow_transfer.updated",
461
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
462
+ )
463
+
464
+ # Occurs whenever an Inbound Mail Item is created.
465
+ INBOUND_MAIL_ITEM_CREATED =
466
+ T.let(
467
+ :"inbound_mail_item.created",
468
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
469
+ )
470
+
471
+ # Occurs whenever an Inbound Mail Item is updated.
472
+ INBOUND_MAIL_ITEM_UPDATED =
473
+ T.let(
474
+ :"inbound_mail_item.updated",
475
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
476
+ )
477
+
478
+ # Occurs whenever an Inbound Real-Time Payments Transfer is created.
479
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
480
+ T.let(
481
+ :"inbound_real_time_payments_transfer.created",
482
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
483
+ )
484
+
485
+ # Occurs whenever an Inbound Real-Time Payments Transfer is updated.
486
+ INBOUND_REAL_TIME_PAYMENTS_TRANSFER_UPDATED =
487
+ T.let(
488
+ :"inbound_real_time_payments_transfer.updated",
489
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
490
+ )
491
+
492
+ # Occurs whenever an Inbound Wire Drawdown Request is created.
493
+ INBOUND_WIRE_DRAWDOWN_REQUEST_CREATED =
494
+ T.let(
495
+ :"inbound_wire_drawdown_request.created",
496
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
497
+ )
498
+
499
+ # Occurs whenever an Inbound Wire Transfer is created.
500
+ INBOUND_WIRE_TRANSFER_CREATED =
501
+ T.let(
502
+ :"inbound_wire_transfer.created",
503
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
504
+ )
505
+
506
+ # Occurs whenever an Inbound Wire Transfer is updated.
507
+ INBOUND_WIRE_TRANSFER_UPDATED =
508
+ T.let(
509
+ :"inbound_wire_transfer.updated",
510
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
511
+ )
512
+
513
+ # Occurs whenever an IntraFi Account Enrollment is created.
514
+ INTRAFI_ACCOUNT_ENROLLMENT_CREATED =
515
+ T.let(
516
+ :"intrafi_account_enrollment.created",
517
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
518
+ )
519
+
520
+ # Occurs whenever an IntraFi Account Enrollment is updated.
521
+ INTRAFI_ACCOUNT_ENROLLMENT_UPDATED =
522
+ T.let(
523
+ :"intrafi_account_enrollment.updated",
524
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
525
+ )
526
+
527
+ # Occurs whenever an IntraFi Exclusion is created.
528
+ INTRAFI_EXCLUSION_CREATED =
529
+ T.let(
530
+ :"intrafi_exclusion.created",
531
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
532
+ )
533
+
534
+ # Occurs whenever an IntraFi Exclusion is updated.
535
+ INTRAFI_EXCLUSION_UPDATED =
536
+ T.let(
537
+ :"intrafi_exclusion.updated",
538
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
539
+ )
540
+
541
+ # Occurs whenever a Legacy Card Dispute is created.
542
+ LEGACY_CARD_DISPUTE_CREATED =
543
+ T.let(
544
+ :"legacy_card_dispute.created",
545
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
546
+ )
547
+
548
+ # Occurs whenever a Legacy Card Dispute is updated.
549
+ LEGACY_CARD_DISPUTE_UPDATED =
550
+ T.let(
551
+ :"legacy_card_dispute.updated",
552
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
553
+ )
554
+
555
+ # Occurs whenever a Lockbox is created.
556
+ LOCKBOX_CREATED =
557
+ T.let(
558
+ :"lockbox.created",
559
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
560
+ )
561
+
562
+ # Occurs whenever a Lockbox is updated.
563
+ LOCKBOX_UPDATED =
564
+ T.let(
565
+ :"lockbox.updated",
566
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
567
+ )
568
+
569
+ # Occurs whenever an OAuth Connection is created.
570
+ OAUTH_CONNECTION_CREATED =
571
+ T.let(
572
+ :"oauth_connection.created",
573
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
574
+ )
575
+
576
+ # Occurs whenever an OAuth Connection is deactivated.
577
+ OAUTH_CONNECTION_DEACTIVATED =
578
+ T.let(
579
+ :"oauth_connection.deactivated",
580
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
581
+ )
582
+
583
+ # Occurs whenever a Card Push Transfer is created.
584
+ CARD_PUSH_TRANSFER_CREATED =
585
+ T.let(
586
+ :"card_push_transfer.created",
587
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
588
+ )
589
+
590
+ # Occurs whenever a Card Push Transfer is updated.
591
+ CARD_PUSH_TRANSFER_UPDATED =
592
+ T.let(
593
+ :"card_push_transfer.updated",
594
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
595
+ )
596
+
597
+ # Occurs whenever a Card Validation is created.
598
+ CARD_VALIDATION_CREATED =
599
+ T.let(
600
+ :"card_validation.created",
601
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
602
+ )
603
+
604
+ # Occurs whenever a Card Validation is updated.
605
+ CARD_VALIDATION_UPDATED =
606
+ T.let(
607
+ :"card_validation.updated",
608
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
609
+ )
610
+
611
+ # Occurs whenever a Pending Transaction is created.
612
+ PENDING_TRANSACTION_CREATED =
613
+ T.let(
614
+ :"pending_transaction.created",
615
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
616
+ )
617
+
618
+ # Occurs whenever a Pending Transaction is updated.
619
+ PENDING_TRANSACTION_UPDATED =
620
+ T.let(
621
+ :"pending_transaction.updated",
622
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
623
+ )
624
+
625
+ # Occurs whenever a Physical Card is created.
626
+ PHYSICAL_CARD_CREATED =
627
+ T.let(
628
+ :"physical_card.created",
629
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
630
+ )
631
+
632
+ # Occurs whenever a Physical Card is updated.
633
+ PHYSICAL_CARD_UPDATED =
634
+ T.let(
635
+ :"physical_card.updated",
636
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
637
+ )
638
+
639
+ # Occurs whenever a Physical Card Profile is created.
640
+ PHYSICAL_CARD_PROFILE_CREATED =
641
+ T.let(
642
+ :"physical_card_profile.created",
643
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
644
+ )
645
+
646
+ # Occurs whenever a Physical Card Profile is updated.
647
+ PHYSICAL_CARD_PROFILE_UPDATED =
648
+ T.let(
649
+ :"physical_card_profile.updated",
650
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
651
+ )
652
+
653
+ # Occurs whenever a Physical Check is created.
654
+ PHYSICAL_CHECK_CREATED =
655
+ T.let(
656
+ :"physical_check.created",
657
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
658
+ )
659
+
660
+ # Occurs whenever a Physical Check is updated.
661
+ PHYSICAL_CHECK_UPDATED =
662
+ T.let(
663
+ :"physical_check.updated",
664
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
665
+ )
666
+
667
+ # Occurs whenever a Program is created.
668
+ PROGRAM_CREATED =
669
+ T.let(
670
+ :"program.created",
671
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
672
+ )
673
+
674
+ # Occurs whenever a Program is updated.
675
+ PROGRAM_UPDATED =
676
+ T.let(
677
+ :"program.updated",
678
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
679
+ )
680
+
681
+ # Occurs whenever a Proof of Authorization Request is created.
682
+ PROOF_OF_AUTHORIZATION_REQUEST_CREATED =
683
+ T.let(
684
+ :"proof_of_authorization_request.created",
685
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
686
+ )
687
+
688
+ # Occurs whenever a Proof of Authorization Request is updated.
689
+ PROOF_OF_AUTHORIZATION_REQUEST_UPDATED =
690
+ T.let(
691
+ :"proof_of_authorization_request.updated",
692
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
693
+ )
694
+
695
+ # Occurs whenever a Real-Time Decision is created in response to a card authorization.
696
+ REAL_TIME_DECISION_CARD_AUTHORIZATION_REQUESTED =
697
+ T.let(
698
+ :"real_time_decision.card_authorization_requested",
699
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
700
+ )
701
+
702
+ # Occurs whenever a Real-Time Decision is created in response to a card balance inquiry.
703
+ REAL_TIME_DECISION_CARD_BALANCE_INQUIRY_REQUESTED =
704
+ T.let(
705
+ :"real_time_decision.card_balance_inquiry_requested",
706
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
707
+ )
708
+
709
+ # Occurs whenever a Real-Time Decision is created in response to a digital wallet provisioning attempt.
710
+ REAL_TIME_DECISION_DIGITAL_WALLET_TOKEN_REQUESTED =
711
+ T.let(
712
+ :"real_time_decision.digital_wallet_token_requested",
713
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
714
+ )
715
+
716
+ # Occurs whenever a Real-Time Decision is created in response to a digital wallet requiring two-factor authentication.
717
+ REAL_TIME_DECISION_DIGITAL_WALLET_AUTHENTICATION_REQUESTED =
718
+ T.let(
719
+ :"real_time_decision.digital_wallet_authentication_requested",
720
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
721
+ )
722
+
723
+ # Occurs whenever a Real-Time Decision is created in response to 3DS authentication.
724
+ REAL_TIME_DECISION_CARD_AUTHENTICATION_REQUESTED =
725
+ T.let(
726
+ :"real_time_decision.card_authentication_requested",
727
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
728
+ )
729
+
730
+ # Occurs whenever a Real-Time Decision is created in response to 3DS authentication challenges.
731
+ REAL_TIME_DECISION_CARD_AUTHENTICATION_CHALLENGE_REQUESTED =
732
+ T.let(
733
+ :"real_time_decision.card_authentication_challenge_requested",
734
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
735
+ )
736
+
737
+ # Occurs whenever a Real-Time Payments Transfer is created.
738
+ REAL_TIME_PAYMENTS_TRANSFER_CREATED =
739
+ T.let(
740
+ :"real_time_payments_transfer.created",
741
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
742
+ )
743
+
744
+ # Occurs whenever a Real-Time Payments Transfer is updated.
745
+ REAL_TIME_PAYMENTS_TRANSFER_UPDATED =
746
+ T.let(
747
+ :"real_time_payments_transfer.updated",
748
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
749
+ )
750
+
751
+ # Occurs whenever a Real-Time Payments Request for Payment is created.
752
+ REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
753
+ T.let(
754
+ :"real_time_payments_request_for_payment.created",
755
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
756
+ )
757
+
758
+ # Occurs whenever a Real-Time Payments Request for Payment is updated.
759
+ REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
760
+ T.let(
761
+ :"real_time_payments_request_for_payment.updated",
762
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
763
+ )
764
+
765
+ # Occurs whenever a Swift Transfer is created.
766
+ SWIFT_TRANSFER_CREATED =
767
+ T.let(
768
+ :"swift_transfer.created",
769
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
770
+ )
771
+
772
+ # Occurs whenever a Swift Transfer is updated.
773
+ SWIFT_TRANSFER_UPDATED =
774
+ T.let(
775
+ :"swift_transfer.updated",
776
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
777
+ )
778
+
779
+ # Occurs whenever a Transaction is created.
780
+ TRANSACTION_CREATED =
781
+ T.let(
782
+ :"transaction.created",
783
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
784
+ )
785
+
786
+ # Occurs whenever a Wire Drawdown Request is created.
787
+ WIRE_DRAWDOWN_REQUEST_CREATED =
788
+ T.let(
789
+ :"wire_drawdown_request.created",
790
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
791
+ )
792
+
793
+ # Occurs whenever a Wire Drawdown Request is updated.
794
+ WIRE_DRAWDOWN_REQUEST_UPDATED =
795
+ T.let(
796
+ :"wire_drawdown_request.updated",
797
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
798
+ )
799
+
800
+ # Occurs whenever a Wire Transfer is created.
801
+ WIRE_TRANSFER_CREATED =
802
+ T.let(
803
+ :"wire_transfer.created",
804
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
805
+ )
806
+
807
+ # Occurs whenever a Wire Transfer is updated.
808
+ WIRE_TRANSFER_UPDATED =
809
+ T.let(
810
+ :"wire_transfer.updated",
811
+ Increase::UnwrapWebhookEvent::Category::TaggedSymbol
812
+ )
813
+
814
+ sig do
815
+ override.returns(
816
+ T::Array[Increase::UnwrapWebhookEvent::Category::TaggedSymbol]
817
+ )
818
+ end
819
+ def self.values
820
+ end
821
+ end
822
+
823
+ # A constant representing the object's type. For this resource it will always be
824
+ # `event`.
825
+ module Type
826
+ extend Increase::Internal::Type::Enum
827
+
828
+ TaggedSymbol =
829
+ T.type_alias { T.all(Symbol, Increase::UnwrapWebhookEvent::Type) }
830
+ OrSymbol = T.type_alias { T.any(Symbol, String) }
831
+
832
+ EVENT = T.let(:event, Increase::UnwrapWebhookEvent::Type::TaggedSymbol)
833
+
834
+ sig do
835
+ override.returns(
836
+ T::Array[Increase::UnwrapWebhookEvent::Type::TaggedSymbol]
837
+ )
838
+ end
839
+ def self.values
840
+ end
841
+ end
842
+ end
6
843
  end
7
844
  end