@novu/framework 2.0.0-canary.2 → 2.0.0-canary.4

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.
@@ -1,5 +1,5 @@
1
1
  import { JSONSchema, FromSchema as FromSchema$1 } from 'json-schema-to-ts';
2
- import * as z from 'zod';
2
+ import z from 'zod';
3
3
  import { TriggerEventStatusEnum, ITriggerPayload, TriggerRecipientSubscriber, ITenantDefine, TriggerRecipientsPayload } from '@novu/shared';
4
4
 
5
5
  type CodeResult = {
@@ -31,6 +31,17 @@ type ClientOptions = {
31
31
  strictAuthentication?: boolean;
32
32
  };
33
33
 
34
+ declare enum PostActionEnum {
35
+ TRIGGER = "trigger",
36
+ EXECUTE = "execute",
37
+ PREVIEW = "preview"
38
+ }
39
+ declare enum GetActionEnum {
40
+ DISCOVER = "discover",
41
+ HEALTH_CHECK = "health-check",
42
+ CODE = "code"
43
+ }
44
+
34
45
  declare enum ChannelStepEnum {
35
46
  EMAIL = "email",
36
47
  SMS = "sms",
@@ -213,7 +224,7 @@ declare const providerSchemas: {
213
224
  };
214
225
  };
215
226
  readonly required: readonly ["alt_text", "image_url", "type"];
216
- readonly additionalProperties: false;
227
+ readonly additionalProperties: true;
217
228
  readonly description: "Displays an image. A simple image block, designed to make those cat photos really pop.";
218
229
  };
219
230
  readonly PlainTextElement: {
@@ -234,7 +245,7 @@ declare const providerSchemas: {
234
245
  };
235
246
  };
236
247
  readonly required: readonly ["type", "text"];
237
- readonly additionalProperties: false;
248
+ readonly additionalProperties: true;
238
249
  readonly description: "Defines an object containing some text.";
239
250
  };
240
251
  readonly ContextBlock: {
@@ -263,7 +274,7 @@ declare const providerSchemas: {
263
274
  };
264
275
  };
265
276
  readonly required: readonly ["elements", "type"];
266
- readonly additionalProperties: false;
277
+ readonly additionalProperties: true;
267
278
  readonly description: "Displays contextual info, which can include both images and text.";
268
279
  };
269
280
  readonly ImageElement: {
@@ -284,7 +295,7 @@ declare const providerSchemas: {
284
295
  };
285
296
  };
286
297
  readonly required: readonly ["type", "image_url", "alt_text"];
287
- readonly additionalProperties: false;
298
+ readonly additionalProperties: true;
288
299
  readonly description: "Displays an image as part of a larger block of content. Use this `image` block if you want a block with\nonly an image in it.";
289
300
  };
290
301
  readonly MrkdwnElement: {
@@ -305,7 +316,7 @@ declare const providerSchemas: {
305
316
  };
306
317
  };
307
318
  readonly required: readonly ["type", "text"];
308
- readonly additionalProperties: false;
319
+ readonly additionalProperties: true;
309
320
  readonly description: "Defines an object containing some text.";
310
321
  };
311
322
  readonly ActionsBlock: {
@@ -351,7 +362,7 @@ declare const providerSchemas: {
351
362
  };
352
363
  };
353
364
  readonly required: readonly ["elements", "type"];
354
- readonly additionalProperties: false;
365
+ readonly additionalProperties: true;
355
366
  readonly description: "Holds multiple interactive elements.";
356
367
  };
357
368
  readonly Button: {
@@ -392,12 +403,12 @@ declare const providerSchemas: {
392
403
  };
393
404
  };
394
405
  readonly required: readonly ["text", "type"];
395
- readonly additionalProperties: false;
406
+ readonly additionalProperties: true;
396
407
  readonly description: "Allows users a direct path to performing basic actions.";
397
408
  };
398
409
  readonly Actionable: {
399
410
  readonly type: "object";
400
- readonly additionalProperties: false;
411
+ readonly additionalProperties: true;
401
412
  readonly properties: {
402
413
  readonly type: {
403
414
  readonly type: "string";
@@ -419,7 +430,7 @@ declare const providerSchemas: {
419
430
  };
420
431
  };
421
432
  readonly required: readonly ["type"];
422
- readonly additionalProperties: false;
433
+ readonly additionalProperties: true;
423
434
  };
424
435
  readonly Confirmable: {
425
436
  readonly type: "object";
@@ -429,11 +440,11 @@ declare const providerSchemas: {
429
440
  readonly description: "A {@link Confirm } object that defines an optional confirmation dialog after the element is interacted\nwith.";
430
441
  };
431
442
  };
432
- readonly additionalProperties: false;
443
+ readonly additionalProperties: true;
433
444
  };
434
445
  readonly ConfirmationDialog: {
435
446
  readonly type: "object";
436
- readonly additionalProperties: false;
447
+ readonly additionalProperties: true;
437
448
  readonly properties: {
438
449
  readonly title: {
439
450
  readonly $ref: "#/definitions/PlainTextElement";
@@ -494,7 +505,7 @@ declare const providerSchemas: {
494
505
  };
495
506
  };
496
507
  readonly required: readonly ["text"];
497
- readonly additionalProperties: false;
508
+ readonly additionalProperties: true;
498
509
  readonly description: "Defines a dialog that adds a confirmation step to interactive elements.";
499
510
  };
500
511
  readonly Checkboxes: {
@@ -531,7 +542,7 @@ declare const providerSchemas: {
531
542
  };
532
543
  };
533
544
  readonly required: readonly ["options", "type"];
534
- readonly additionalProperties: false;
545
+ readonly additionalProperties: true;
535
546
  readonly description: "Allows users to choose multiple items from a list of options.";
536
547
  };
537
548
  readonly Focusable: {
@@ -541,7 +552,7 @@ declare const providerSchemas: {
541
552
  readonly type: "boolean";
542
553
  };
543
554
  };
544
- readonly additionalProperties: false;
555
+ readonly additionalProperties: true;
545
556
  };
546
557
  readonly Option: {
547
558
  readonly anyOf: readonly [{
@@ -572,7 +583,7 @@ declare const providerSchemas: {
572
583
  };
573
584
  };
574
585
  readonly required: readonly ["text"];
575
- readonly additionalProperties: false;
586
+ readonly additionalProperties: true;
576
587
  };
577
588
  readonly PlainTextOption: {
578
589
  readonly type: "object";
@@ -595,7 +606,7 @@ declare const providerSchemas: {
595
606
  };
596
607
  };
597
608
  readonly required: readonly ["text"];
598
- readonly additionalProperties: false;
609
+ readonly additionalProperties: true;
599
610
  };
600
611
  readonly Datepicker: {
601
612
  readonly type: "object";
@@ -627,7 +638,7 @@ declare const providerSchemas: {
627
638
  };
628
639
  };
629
640
  readonly required: readonly ["type"];
630
- readonly additionalProperties: false;
641
+ readonly additionalProperties: true;
631
642
  readonly description: "Allows users to select a date from a calendar style UI.";
632
643
  };
633
644
  readonly Placeholdable: {
@@ -638,7 +649,7 @@ declare const providerSchemas: {
638
649
  readonly description: "A {@link PlainTextElement } object that defines the placeholder text shown on the element. Maximum\nlength for the `text` field in this object is 150 characters.";
639
650
  };
640
651
  };
641
- readonly additionalProperties: false;
652
+ readonly additionalProperties: true;
642
653
  };
643
654
  readonly DateTimepicker: {
644
655
  readonly type: "object";
@@ -665,7 +676,7 @@ declare const providerSchemas: {
665
676
  };
666
677
  };
667
678
  readonly required: readonly ["type"];
668
- readonly additionalProperties: false;
679
+ readonly additionalProperties: true;
669
680
  readonly description: "Allows users to select both a date and a time of day, formatted as a Unix timestamp. On desktop\nclients, this time picker will take the form of a dropdown list and the date picker will take the form of a dropdown\ncalendar. Both options will have free-text entry for precise choices. On mobile clients, the time picker and date\npicker will use native UIs.";
670
681
  };
671
682
  readonly MultiSelect: {
@@ -719,7 +730,7 @@ declare const providerSchemas: {
719
730
  };
720
731
  };
721
732
  readonly required: readonly ["type"];
722
- readonly additionalProperties: false;
733
+ readonly additionalProperties: true;
723
734
  readonly description: "This multi-select menu will populate its options with a list of Slack users visible to the current user\nin the active workspace.";
724
735
  };
725
736
  readonly MultiStaticSelect: {
@@ -776,7 +787,7 @@ declare const providerSchemas: {
776
787
  };
777
788
  };
778
789
  readonly required: readonly ["label", "options"];
779
- readonly additionalProperties: false;
790
+ readonly additionalProperties: true;
780
791
  };
781
792
  readonly description: "An array of option group objects. Maximum number of option groups is 100. If `options` is specified,\nthis field should not be.";
782
793
  };
@@ -786,7 +797,7 @@ declare const providerSchemas: {
786
797
  };
787
798
  };
788
799
  readonly required: readonly ["type"];
789
- readonly additionalProperties: false;
800
+ readonly additionalProperties: true;
790
801
  readonly description: "This is the simplest form of select menu, with a static list of options passed in when defining the\nelement.";
791
802
  };
792
803
  readonly MultiConversationsSelect: {
@@ -845,12 +856,12 @@ declare const providerSchemas: {
845
856
  readonly type: "boolean";
846
857
  };
847
858
  };
848
- readonly additionalProperties: false;
859
+ readonly additionalProperties: true;
849
860
  readonly description: "A filter object that reduces the list of available conversations using the specified criteria.";
850
861
  };
851
862
  };
852
863
  readonly required: readonly ["type"];
853
- readonly additionalProperties: false;
864
+ readonly additionalProperties: true;
854
865
  readonly description: "This multi-select menu will populate its options with a list of public and private channels, DMs, and\nMPIMs visible to the current user in the active workspace.";
855
866
  };
856
867
  readonly MultiChannelsSelect: {
@@ -890,7 +901,7 @@ declare const providerSchemas: {
890
901
  };
891
902
  };
892
903
  readonly required: readonly ["type"];
893
- readonly additionalProperties: false;
904
+ readonly additionalProperties: true;
894
905
  readonly description: "This multi-select menu will populate its options with a list of public channels visible to the current\nuser in the active workspace.";
895
906
  };
896
907
  readonly MultiExternalSelect: {
@@ -934,7 +945,7 @@ declare const providerSchemas: {
934
945
  };
935
946
  };
936
947
  readonly required: readonly ["type"];
937
- readonly additionalProperties: false;
948
+ readonly additionalProperties: true;
938
949
  readonly description: "This menu will load its options from an external data source, allowing for a dynamic list of options.";
939
950
  };
940
951
  readonly Overflow: {
@@ -962,7 +973,7 @@ declare const providerSchemas: {
962
973
  };
963
974
  };
964
975
  readonly required: readonly ["options", "type"];
965
- readonly additionalProperties: false;
976
+ readonly additionalProperties: true;
966
977
  readonly description: "Allows users to press a button to view a list of options.\nUnlike the select menu, there is no typeahead field, and the button always appears with an ellipsis (\"…\") rather\nthan customizable text. As such, it is usually used if you want a more compact layout than a select menu, or to\nsupply a list of less visually important actions after a row of buttons. You can also specify simple URL links as\noverflow menu options, instead of actions.";
967
978
  };
968
979
  readonly RadioButtons: {
@@ -998,7 +1009,7 @@ declare const providerSchemas: {
998
1009
  };
999
1010
  };
1000
1011
  readonly required: readonly ["options", "type"];
1001
- readonly additionalProperties: false;
1012
+ readonly additionalProperties: true;
1002
1013
  readonly description: "Allows users to choose one item from a list of possible options.";
1003
1014
  };
1004
1015
  readonly Select: {
@@ -1045,7 +1056,7 @@ declare const providerSchemas: {
1045
1056
  };
1046
1057
  };
1047
1058
  readonly required: readonly ["type"];
1048
- readonly additionalProperties: false;
1059
+ readonly additionalProperties: true;
1049
1060
  readonly description: "This select menu will populate its options with a list of Slack users visible to the current user in the\nactive workspace.";
1050
1061
  };
1051
1062
  readonly StaticSelect: {
@@ -1099,13 +1110,13 @@ declare const providerSchemas: {
1099
1110
  };
1100
1111
  };
1101
1112
  readonly required: readonly ["label", "options"];
1102
- readonly additionalProperties: false;
1113
+ readonly additionalProperties: true;
1103
1114
  };
1104
1115
  readonly description: "An array of option group objects. Maximum number of option groups is 100. If `options` is specified,\nthis field should not be.";
1105
1116
  };
1106
1117
  };
1107
1118
  readonly required: readonly ["type"];
1108
- readonly additionalProperties: false;
1119
+ readonly additionalProperties: true;
1109
1120
  readonly description: "This is the simplest form of select menu, with a static list of options passed in when defining the\nelement.";
1110
1121
  };
1111
1122
  readonly ConversationsSelect: {
@@ -1161,12 +1172,12 @@ declare const providerSchemas: {
1161
1172
  readonly type: "boolean";
1162
1173
  };
1163
1174
  };
1164
- readonly additionalProperties: false;
1175
+ readonly additionalProperties: true;
1165
1176
  readonly description: "A filter object that reduces the list of available conversations using the specified criteria.";
1166
1177
  };
1167
1178
  };
1168
1179
  readonly required: readonly ["type"];
1169
- readonly additionalProperties: false;
1180
+ readonly additionalProperties: true;
1170
1181
  readonly description: "This select menu will populate its options with a list of public and private channels, DMs, and MPIMs\nvisible to the current user in the active workspace.";
1171
1182
  };
1172
1183
  readonly ChannelsSelect: {
@@ -1203,7 +1214,7 @@ declare const providerSchemas: {
1203
1214
  };
1204
1215
  };
1205
1216
  readonly required: readonly ["type"];
1206
- readonly additionalProperties: false;
1217
+ readonly additionalProperties: true;
1207
1218
  readonly description: "This select menu will populate its options with a list of public channels visible to the current user\nin the active workspace.";
1208
1219
  };
1209
1220
  readonly ExternalSelect: {
@@ -1240,7 +1251,7 @@ declare const providerSchemas: {
1240
1251
  };
1241
1252
  };
1242
1253
  readonly required: readonly ["type"];
1243
- readonly additionalProperties: false;
1254
+ readonly additionalProperties: true;
1244
1255
  readonly description: "This select menu will load its options from an external data source, allowing for a dynamic list of\noptions.";
1245
1256
  };
1246
1257
  readonly Timepicker: {
@@ -1277,7 +1288,7 @@ declare const providerSchemas: {
1277
1288
  };
1278
1289
  };
1279
1290
  readonly required: readonly ["type"];
1280
- readonly additionalProperties: false;
1291
+ readonly additionalProperties: true;
1281
1292
  readonly description: "Allows users to choose a time from a rich dropdown UI. On desktop clients, this time picker will take\nthe form of a dropdown list with free-text entry for precise choices. On mobile clients, the time picker will use\nnative time picker UIs.";
1282
1293
  };
1283
1294
  readonly WorkflowButton: {
@@ -1321,18 +1332,18 @@ declare const providerSchemas: {
1321
1332
  };
1322
1333
  };
1323
1334
  readonly required: readonly ["name", "value"];
1324
- readonly additionalProperties: false;
1335
+ readonly additionalProperties: true;
1325
1336
  };
1326
1337
  readonly description: "List of customizable input parameters and their values. Should match input parameters specified on\nthe provided trigger.";
1327
1338
  };
1328
1339
  };
1329
1340
  readonly required: readonly ["url"];
1330
- readonly additionalProperties: false;
1341
+ readonly additionalProperties: true;
1331
1342
  readonly description: "Properties of the {@link https://api.slack.com/automation/triggers/link#workflow_buttons link trigger}that will be invoked via this button.";
1332
1343
  };
1333
1344
  };
1334
1345
  readonly required: readonly ["trigger"];
1335
- readonly additionalProperties: false;
1346
+ readonly additionalProperties: true;
1336
1347
  readonly description: "A workflow object that contains details about the workflow that will run when the button is clicked.";
1337
1348
  };
1338
1349
  readonly style: {
@@ -1346,7 +1357,7 @@ declare const providerSchemas: {
1346
1357
  };
1347
1358
  };
1348
1359
  readonly required: readonly ["type", "text", "workflow"];
1349
- readonly additionalProperties: false;
1360
+ readonly additionalProperties: true;
1350
1361
  readonly description: "Allows users to run a {@link https://api.slack.com/automation/triggers/link#workflow_buttons link trigger} with customizable inputs.";
1351
1362
  };
1352
1363
  readonly RichTextInput: {
@@ -1378,7 +1389,7 @@ declare const providerSchemas: {
1378
1389
  };
1379
1390
  };
1380
1391
  readonly required: readonly ["type"];
1381
- readonly additionalProperties: false;
1392
+ readonly additionalProperties: true;
1382
1393
  readonly description: "A rich text input creates a composer/WYSIWYG editor for entering formatted text, offering nearly the\nsame experience you have writing messages in Slack.";
1383
1394
  };
1384
1395
  readonly Dispatchable: {
@@ -1388,7 +1399,7 @@ declare const providerSchemas: {
1388
1399
  readonly $ref: "#/definitions/DispatchActionConfig";
1389
1400
  };
1390
1401
  };
1391
- readonly additionalProperties: false;
1402
+ readonly additionalProperties: true;
1392
1403
  };
1393
1404
  readonly DispatchActionConfig: {
1394
1405
  readonly type: "object";
@@ -1402,7 +1413,7 @@ declare const providerSchemas: {
1402
1413
  readonly description: "An array of interaction types that you would like to receive a\n{@link https://api.slack.com/reference/interaction-payloads/block-actions `block_actions` payload} for. Should be\none or both of:\n`on_enter_pressed` — payload is dispatched when user presses the enter key while the input is in focus. Hint\ntext will appear underneath the input explaining to the user to press enter to submit.\n`on_character_entered` — payload is dispatched when a character is entered (or removed) in the input.";
1403
1414
  };
1404
1415
  };
1405
- readonly additionalProperties: false;
1416
+ readonly additionalProperties: true;
1406
1417
  readonly description: "Defines when a {@link PlainTextElement } will return a {@link https://api.slack.com/reference/interaction-payloads/block-actions `block_actions` interaction payload}.";
1407
1418
  };
1408
1419
  readonly RichTextBlock: {
@@ -1433,7 +1444,7 @@ declare const providerSchemas: {
1433
1444
  };
1434
1445
  };
1435
1446
  readonly required: readonly ["elements", "type"];
1436
- readonly additionalProperties: false;
1447
+ readonly additionalProperties: true;
1437
1448
  };
1438
1449
  readonly RichTextSection: {
1439
1450
  readonly type: "object";
@@ -1451,7 +1462,7 @@ declare const providerSchemas: {
1451
1462
  };
1452
1463
  };
1453
1464
  readonly required: readonly ["type", "elements"];
1454
- readonly additionalProperties: false;
1465
+ readonly additionalProperties: true;
1455
1466
  readonly description: "A section block within a rich text field.";
1456
1467
  };
1457
1468
  readonly RichTextElement: {
@@ -1497,7 +1508,7 @@ declare const providerSchemas: {
1497
1508
  readonly type: "boolean";
1498
1509
  };
1499
1510
  };
1500
- readonly additionalProperties: false;
1511
+ readonly additionalProperties: true;
1501
1512
  };
1502
1513
  readonly type: {
1503
1514
  readonly type: "string";
@@ -1511,7 +1522,7 @@ declare const providerSchemas: {
1511
1522
  };
1512
1523
  };
1513
1524
  readonly required: readonly ["type", "range"];
1514
- readonly additionalProperties: false;
1525
+ readonly additionalProperties: true;
1515
1526
  readonly description: "A broadcast mention element for use in a rich text message.";
1516
1527
  };
1517
1528
  readonly RichTextStyleable: {
@@ -1533,10 +1544,10 @@ declare const providerSchemas: {
1533
1544
  readonly type: "boolean";
1534
1545
  };
1535
1546
  };
1536
- readonly additionalProperties: false;
1547
+ readonly additionalProperties: true;
1537
1548
  };
1538
1549
  };
1539
- readonly additionalProperties: false;
1550
+ readonly additionalProperties: true;
1540
1551
  readonly description: "For use styling Rich Text message sub-elements.";
1541
1552
  };
1542
1553
  readonly RichTextColor: {
@@ -1558,7 +1569,7 @@ declare const providerSchemas: {
1558
1569
  readonly type: "boolean";
1559
1570
  };
1560
1571
  };
1561
- readonly additionalProperties: false;
1572
+ readonly additionalProperties: true;
1562
1573
  };
1563
1574
  readonly type: {
1564
1575
  readonly type: "string";
@@ -1571,7 +1582,7 @@ declare const providerSchemas: {
1571
1582
  };
1572
1583
  };
1573
1584
  readonly required: readonly ["type", "value"];
1574
- readonly additionalProperties: false;
1585
+ readonly additionalProperties: true;
1575
1586
  readonly description: "A hex color element for use in a rich text message.";
1576
1587
  };
1577
1588
  readonly RichTextChannelMention: {
@@ -1593,7 +1604,7 @@ declare const providerSchemas: {
1593
1604
  readonly type: "boolean";
1594
1605
  };
1595
1606
  };
1596
- readonly additionalProperties: false;
1607
+ readonly additionalProperties: true;
1597
1608
  };
1598
1609
  readonly type: {
1599
1610
  readonly type: "string";
@@ -1606,7 +1617,7 @@ declare const providerSchemas: {
1606
1617
  };
1607
1618
  };
1608
1619
  readonly required: readonly ["type", "channel_id"];
1609
- readonly additionalProperties: false;
1620
+ readonly additionalProperties: true;
1610
1621
  readonly description: "A channel mention element for use in a rich text message.";
1611
1622
  };
1612
1623
  readonly RichTextDate: {
@@ -1628,7 +1639,7 @@ declare const providerSchemas: {
1628
1639
  readonly type: "boolean";
1629
1640
  };
1630
1641
  };
1631
- readonly additionalProperties: false;
1642
+ readonly additionalProperties: true;
1632
1643
  };
1633
1644
  readonly type: {
1634
1645
  readonly type: "string";
@@ -1653,7 +1664,7 @@ declare const providerSchemas: {
1653
1664
  };
1654
1665
  };
1655
1666
  readonly required: readonly ["type", "timestamp", "format"];
1656
- readonly additionalProperties: false;
1667
+ readonly additionalProperties: true;
1657
1668
  readonly description: "A date element for use in a rich text message.";
1658
1669
  };
1659
1670
  readonly RichTextEmoji: {
@@ -1675,7 +1686,7 @@ declare const providerSchemas: {
1675
1686
  readonly type: "boolean";
1676
1687
  };
1677
1688
  };
1678
- readonly additionalProperties: false;
1689
+ readonly additionalProperties: true;
1679
1690
  };
1680
1691
  readonly type: {
1681
1692
  readonly type: "string";
@@ -1696,7 +1707,7 @@ declare const providerSchemas: {
1696
1707
  };
1697
1708
  };
1698
1709
  readonly required: readonly ["type", "name"];
1699
- readonly additionalProperties: false;
1710
+ readonly additionalProperties: true;
1700
1711
  readonly description: "An emoji element for use in a rich text message.";
1701
1712
  };
1702
1713
  readonly RichTextLink: {
@@ -1718,7 +1729,7 @@ declare const providerSchemas: {
1718
1729
  readonly type: "boolean";
1719
1730
  };
1720
1731
  };
1721
- readonly additionalProperties: false;
1732
+ readonly additionalProperties: true;
1722
1733
  readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
1723
1734
  };
1724
1735
  readonly type: {
@@ -1740,7 +1751,7 @@ declare const providerSchemas: {
1740
1751
  };
1741
1752
  };
1742
1753
  readonly required: readonly ["type", "url"];
1743
- readonly additionalProperties: false;
1754
+ readonly additionalProperties: true;
1744
1755
  readonly description: "A link element for use in a rich text message.";
1745
1756
  };
1746
1757
  readonly RichTextTeamMention: {
@@ -1762,7 +1773,7 @@ declare const providerSchemas: {
1762
1773
  readonly type: "boolean";
1763
1774
  };
1764
1775
  };
1765
- readonly additionalProperties: false;
1776
+ readonly additionalProperties: true;
1766
1777
  readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
1767
1778
  };
1768
1779
  readonly type: {
@@ -1776,7 +1787,7 @@ declare const providerSchemas: {
1776
1787
  };
1777
1788
  };
1778
1789
  readonly required: readonly ["type", "team_id"];
1779
- readonly additionalProperties: false;
1790
+ readonly additionalProperties: true;
1780
1791
  readonly description: "A workspace or team mention element for use in a rich text message.";
1781
1792
  };
1782
1793
  readonly RichTextText: {
@@ -1798,7 +1809,7 @@ declare const providerSchemas: {
1798
1809
  readonly type: "boolean";
1799
1810
  };
1800
1811
  };
1801
- readonly additionalProperties: false;
1812
+ readonly additionalProperties: true;
1802
1813
  readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
1803
1814
  };
1804
1815
  readonly type: {
@@ -1812,7 +1823,7 @@ declare const providerSchemas: {
1812
1823
  };
1813
1824
  };
1814
1825
  readonly required: readonly ["type", "text"];
1815
- readonly additionalProperties: false;
1826
+ readonly additionalProperties: true;
1816
1827
  readonly description: "A generic text element for use in a rich text message.";
1817
1828
  };
1818
1829
  readonly RichTextUserMention: {
@@ -1834,7 +1845,7 @@ declare const providerSchemas: {
1834
1845
  readonly type: "boolean";
1835
1846
  };
1836
1847
  };
1837
- readonly additionalProperties: false;
1848
+ readonly additionalProperties: true;
1838
1849
  readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
1839
1850
  };
1840
1851
  readonly type: {
@@ -1848,7 +1859,7 @@ declare const providerSchemas: {
1848
1859
  };
1849
1860
  };
1850
1861
  readonly required: readonly ["type", "user_id"];
1851
- readonly additionalProperties: false;
1862
+ readonly additionalProperties: true;
1852
1863
  readonly description: "A user mention element for use in a rich text message.";
1853
1864
  };
1854
1865
  readonly RichTextUsergroupMention: {
@@ -1870,7 +1881,7 @@ declare const providerSchemas: {
1870
1881
  readonly type: "boolean";
1871
1882
  };
1872
1883
  };
1873
- readonly additionalProperties: false;
1884
+ readonly additionalProperties: true;
1874
1885
  readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
1875
1886
  };
1876
1887
  readonly type: {
@@ -1884,7 +1895,7 @@ declare const providerSchemas: {
1884
1895
  };
1885
1896
  };
1886
1897
  readonly required: readonly ["type", "usergroup_id"];
1887
- readonly additionalProperties: false;
1898
+ readonly additionalProperties: true;
1888
1899
  readonly description: "A usergroup mention element for use in a rich text message.";
1889
1900
  };
1890
1901
  readonly RichTextList: {
@@ -1918,7 +1929,7 @@ declare const providerSchemas: {
1918
1929
  };
1919
1930
  };
1920
1931
  readonly required: readonly ["type", "elements", "style"];
1921
- readonly additionalProperties: false;
1932
+ readonly additionalProperties: true;
1922
1933
  readonly description: "A list block within a rich text field.";
1923
1934
  };
1924
1935
  readonly RichTextQuote: {
@@ -1938,7 +1949,7 @@ declare const providerSchemas: {
1938
1949
  };
1939
1950
  };
1940
1951
  readonly required: readonly ["type", "elements"];
1941
- readonly additionalProperties: false;
1952
+ readonly additionalProperties: true;
1942
1953
  readonly description: "A quote block within a rich text field.";
1943
1954
  };
1944
1955
  readonly RichTextPreformatted: {
@@ -1967,7 +1978,7 @@ declare const providerSchemas: {
1967
1978
  };
1968
1979
  };
1969
1980
  readonly required: readonly ["type", "elements"];
1970
- readonly additionalProperties: false;
1981
+ readonly additionalProperties: true;
1971
1982
  readonly description: "A block of preformatted text within a rich text field.";
1972
1983
  };
1973
1984
  readonly DividerBlock: {
@@ -1984,7 +1995,7 @@ declare const providerSchemas: {
1984
1995
  };
1985
1996
  };
1986
1997
  readonly required: readonly ["type"];
1987
- readonly additionalProperties: false;
1998
+ readonly additionalProperties: true;
1988
1999
  };
1989
2000
  readonly SectionBlock: {
1990
2001
  readonly type: "object";
@@ -2043,7 +2054,7 @@ declare const providerSchemas: {
2043
2054
  };
2044
2055
  };
2045
2056
  readonly required: readonly ["type"];
2046
- readonly additionalProperties: false;
2057
+ readonly additionalProperties: true;
2047
2058
  readonly description: "Displays text, possibly alongside block elements. A section can be used as a simple text block, in\ncombination with text fields, or side-by-side with certain\n{@link https://api.slack.com/reference/messaging/block-elements block elements}.";
2048
2059
  };
2049
2060
  readonly InputBlock: {
@@ -2104,7 +2115,7 @@ declare const providerSchemas: {
2104
2115
  };
2105
2116
  };
2106
2117
  readonly required: readonly ["element", "label", "type"];
2107
- readonly additionalProperties: false;
2118
+ readonly additionalProperties: true;
2108
2119
  readonly description: "Collects information from users via block elements.";
2109
2120
  };
2110
2121
  readonly PlainTextInput: {
@@ -2148,7 +2159,7 @@ declare const providerSchemas: {
2148
2159
  };
2149
2160
  };
2150
2161
  readonly required: readonly ["type"];
2151
- readonly additionalProperties: false;
2162
+ readonly additionalProperties: true;
2152
2163
  readonly description: "Allows users to enter freeform text data into a single-line or multi-line field.";
2153
2164
  };
2154
2165
  readonly URLInput: {
@@ -2180,7 +2191,7 @@ declare const providerSchemas: {
2180
2191
  };
2181
2192
  };
2182
2193
  readonly required: readonly ["type"];
2183
- readonly additionalProperties: false;
2194
+ readonly additionalProperties: true;
2184
2195
  readonly description: "Allows user to enter a URL into a single-line field.";
2185
2196
  };
2186
2197
  readonly EmailInput: {
@@ -2213,7 +2224,7 @@ declare const providerSchemas: {
2213
2224
  };
2214
2225
  };
2215
2226
  readonly required: readonly ["type"];
2216
- readonly additionalProperties: false;
2227
+ readonly additionalProperties: true;
2217
2228
  readonly description: "Allows user to enter an email into a single-line field.";
2218
2229
  };
2219
2230
  readonly NumberInput: {
@@ -2258,7 +2269,7 @@ declare const providerSchemas: {
2258
2269
  };
2259
2270
  };
2260
2271
  readonly required: readonly ["is_decimal_allowed", "type"];
2261
- readonly additionalProperties: false;
2272
+ readonly additionalProperties: true;
2262
2273
  readonly description: "Allows user to enter a number into a single-line field. The number input element accepts both whole and\ndecimal numbers. For example, 0.25, 5.5, and -10 are all valid input values. Decimal numbers are only allowed when\n`is_decimal_allowed` is equal to `true`.";
2263
2274
  };
2264
2275
  readonly FileBlock: {
@@ -2283,7 +2294,7 @@ declare const providerSchemas: {
2283
2294
  };
2284
2295
  };
2285
2296
  readonly required: readonly ["external_id", "source", "type"];
2286
- readonly additionalProperties: false;
2297
+ readonly additionalProperties: true;
2287
2298
  readonly description: "Displays a {@link https://api.slack.com/messaging/files/remote remote file}. You can't add this block to\napp surfaces directly, but it will show up when {@link https://api.slack.com/messaging/retrieving retrieving messages}\nthat contain remote files. If you want to add remote files to messages,\n{@link https://api.slack.com/messaging/files/remote follow our guide}.";
2288
2299
  };
2289
2300
  readonly HeaderBlock: {
@@ -2304,7 +2315,7 @@ declare const providerSchemas: {
2304
2315
  };
2305
2316
  };
2306
2317
  readonly required: readonly ["text", "type"];
2307
- readonly additionalProperties: false;
2318
+ readonly additionalProperties: true;
2308
2319
  readonly description: "Displays a larger-sized text block. A `header` is a plain-text block that displays in a larger, bold\nfont. Use it to delineate between different groups of content in your app's surfaces.";
2309
2320
  };
2310
2321
  readonly VideoBlock: {
@@ -2357,31 +2368,574 @@ declare const providerSchemas: {
2357
2368
  };
2358
2369
  };
2359
2370
  readonly required: readonly ["alt_text", "thumbnail_url", "title", "type", "video_url"];
2360
- readonly additionalProperties: false;
2371
+ readonly additionalProperties: true;
2361
2372
  readonly description: "Displays an embedded video player. A video block is designed to embed videos in all app surfaces (e.g.\nlink unfurls, messages, modals, App Home) — anywhere you can put blocks! To use the video block within your app, you\nmust have the {@link https://api.slack.com/scopes/links.embed:write `links.embed:write` scope}.";
2362
2373
  };
2363
2374
  };
2375
+ readonly additionalProperties: true;
2376
+ };
2377
+ };
2378
+ discord: {
2379
+ output: {
2380
+ readonly type: "object";
2381
+ readonly properties: {};
2382
+ readonly required: readonly [];
2383
+ readonly additionalProperties: true;
2384
+ };
2385
+ };
2386
+ getstream: {
2387
+ output: {
2388
+ readonly type: "object";
2389
+ readonly properties: {};
2390
+ readonly required: readonly [];
2391
+ readonly additionalProperties: true;
2392
+ };
2393
+ };
2394
+ "grafana-on-call": {
2395
+ output: {
2396
+ readonly type: "object";
2397
+ readonly properties: {};
2398
+ readonly required: readonly [];
2399
+ readonly additionalProperties: true;
2400
+ };
2401
+ };
2402
+ mattermost: {
2403
+ output: {
2404
+ readonly type: "object";
2405
+ readonly properties: {};
2406
+ readonly required: readonly [];
2407
+ readonly additionalProperties: true;
2408
+ };
2409
+ };
2410
+ msteams: {
2411
+ output: {
2412
+ readonly type: "object";
2413
+ readonly properties: {};
2414
+ readonly required: readonly [];
2415
+ readonly additionalProperties: true;
2416
+ };
2417
+ };
2418
+ "rocket-chat": {
2419
+ output: {
2420
+ readonly type: "object";
2421
+ readonly properties: {};
2422
+ readonly required: readonly [];
2423
+ readonly additionalProperties: true;
2424
+ };
2425
+ };
2426
+ ryver: {
2427
+ output: {
2428
+ readonly type: "object";
2429
+ readonly properties: {};
2430
+ readonly required: readonly [];
2431
+ readonly additionalProperties: true;
2432
+ };
2433
+ };
2434
+ "whatsapp-business": {
2435
+ output: {
2436
+ readonly type: "object";
2437
+ readonly properties: {};
2438
+ readonly required: readonly [];
2439
+ readonly additionalProperties: true;
2440
+ };
2441
+ };
2442
+ zulip: {
2443
+ output: {
2444
+ readonly type: "object";
2445
+ readonly properties: {};
2446
+ readonly required: readonly [];
2447
+ readonly additionalProperties: true;
2448
+ };
2449
+ };
2450
+ };
2451
+ sms: {
2452
+ twilio: {
2453
+ output: {
2454
+ readonly type: "object";
2455
+ readonly properties: {};
2456
+ readonly required: readonly [];
2457
+ readonly additionalProperties: true;
2458
+ };
2459
+ };
2460
+ termii: {
2461
+ output: {
2462
+ readonly type: "object";
2463
+ readonly properties: {};
2464
+ readonly required: readonly [];
2465
+ readonly additionalProperties: true;
2466
+ };
2467
+ };
2468
+ telnyx: {
2469
+ output: {
2470
+ readonly type: "object";
2471
+ readonly properties: {};
2472
+ readonly required: readonly [];
2473
+ readonly additionalProperties: true;
2474
+ };
2475
+ };
2476
+ sns: {
2477
+ output: {
2478
+ readonly type: "object";
2479
+ readonly properties: {};
2480
+ readonly required: readonly [];
2481
+ readonly additionalProperties: true;
2482
+ };
2483
+ };
2484
+ sms77: {
2485
+ output: {
2486
+ readonly type: "object";
2487
+ readonly properties: {};
2488
+ readonly required: readonly [];
2489
+ readonly additionalProperties: true;
2490
+ };
2491
+ };
2492
+ "sms-central": {
2493
+ output: {
2494
+ readonly type: "object";
2495
+ readonly properties: {};
2496
+ readonly required: readonly [];
2497
+ readonly additionalProperties: true;
2498
+ };
2499
+ };
2500
+ simpletexting: {
2501
+ output: {
2502
+ readonly type: "object";
2503
+ readonly properties: {};
2504
+ readonly required: readonly [];
2505
+ readonly additionalProperties: true;
2506
+ };
2507
+ };
2508
+ sendchamp: {
2509
+ output: {
2510
+ readonly type: "object";
2511
+ readonly properties: {};
2512
+ readonly required: readonly [];
2513
+ readonly additionalProperties: true;
2514
+ };
2515
+ };
2516
+ "ring-central": {
2517
+ output: {
2518
+ readonly type: "object";
2519
+ readonly properties: {};
2520
+ readonly required: readonly [];
2521
+ readonly additionalProperties: true;
2522
+ };
2523
+ };
2524
+ plivo: {
2525
+ output: {
2526
+ readonly type: "object";
2527
+ readonly properties: {};
2528
+ readonly required: readonly [];
2529
+ readonly additionalProperties: true;
2530
+ };
2531
+ };
2532
+ nexmo: {
2533
+ output: {
2534
+ readonly type: "object";
2535
+ readonly properties: {};
2536
+ readonly required: readonly [];
2537
+ readonly additionalProperties: true;
2538
+ };
2539
+ };
2540
+ mobishastra: {
2541
+ output: {
2542
+ readonly type: "object";
2543
+ readonly properties: {};
2544
+ readonly required: readonly [];
2545
+ readonly additionalProperties: true;
2546
+ };
2547
+ };
2548
+ messagebird: {
2549
+ output: {
2550
+ readonly type: "object";
2551
+ readonly properties: {};
2552
+ readonly required: readonly [];
2553
+ readonly additionalProperties: true;
2554
+ };
2555
+ };
2556
+ maqsam: {
2557
+ output: {
2558
+ readonly type: "object";
2559
+ readonly properties: {};
2560
+ readonly required: readonly [];
2561
+ readonly additionalProperties: true;
2562
+ };
2563
+ };
2564
+ kannel: {
2565
+ output: {
2566
+ readonly type: "object";
2567
+ readonly properties: {};
2568
+ readonly required: readonly [];
2569
+ readonly additionalProperties: true;
2570
+ };
2571
+ };
2572
+ "isend-sms": {
2573
+ output: {
2574
+ readonly type: "object";
2575
+ readonly properties: {};
2576
+ readonly required: readonly [];
2577
+ readonly additionalProperties: true;
2578
+ };
2579
+ };
2580
+ "infobip-sms": {
2581
+ output: {
2582
+ readonly type: "object";
2583
+ readonly properties: {};
2584
+ readonly required: readonly [];
2585
+ readonly additionalProperties: true;
2586
+ };
2587
+ };
2588
+ gupshup: {
2589
+ output: {
2590
+ readonly type: "object";
2591
+ readonly properties: {};
2592
+ readonly required: readonly [];
2593
+ readonly additionalProperties: true;
2594
+ };
2595
+ };
2596
+ "generic-sms": {
2597
+ output: {
2598
+ readonly type: "object";
2599
+ readonly properties: {};
2600
+ readonly required: readonly [];
2601
+ readonly additionalProperties: true;
2602
+ };
2603
+ };
2604
+ "forty-six-elks": {
2605
+ output: {
2606
+ readonly type: "object";
2607
+ readonly properties: {};
2608
+ readonly required: readonly [];
2609
+ readonly additionalProperties: true;
2610
+ };
2611
+ };
2612
+ firetext: {
2613
+ output: {
2614
+ readonly type: "object";
2615
+ readonly properties: {};
2616
+ readonly required: readonly [];
2617
+ readonly additionalProperties: true;
2618
+ };
2619
+ };
2620
+ clickatell: {
2621
+ output: {
2622
+ readonly type: "object";
2623
+ readonly properties: {};
2624
+ readonly required: readonly [];
2625
+ readonly additionalProperties: true;
2626
+ };
2627
+ };
2628
+ "burst-sms": {
2629
+ output: {
2630
+ readonly type: "object";
2631
+ readonly properties: {};
2632
+ readonly required: readonly [];
2633
+ readonly additionalProperties: true;
2634
+ };
2635
+ };
2636
+ "brevo-sms": {
2637
+ output: {
2638
+ readonly type: "object";
2639
+ readonly properties: {};
2640
+ readonly required: readonly [];
2641
+ readonly additionalProperties: true;
2642
+ };
2643
+ };
2644
+ bandwidth: {
2645
+ output: {
2646
+ readonly type: "object";
2647
+ readonly properties: {};
2648
+ readonly required: readonly [];
2649
+ readonly additionalProperties: true;
2650
+ };
2651
+ };
2652
+ "azure-sms": {
2653
+ output: {
2654
+ readonly type: "object";
2655
+ readonly properties: {};
2656
+ readonly required: readonly [];
2657
+ readonly additionalProperties: true;
2658
+ };
2659
+ };
2660
+ "africas-talking": {
2661
+ output: {
2662
+ readonly type: "object";
2663
+ readonly properties: {};
2664
+ readonly required: readonly [];
2665
+ readonly additionalProperties: true;
2666
+ };
2667
+ };
2668
+ "novu-sms": {
2669
+ output: {
2670
+ readonly type: "object";
2671
+ readonly properties: {};
2672
+ readonly required: readonly [];
2364
2673
  readonly additionalProperties: false;
2365
2674
  };
2366
2675
  };
2676
+ "bulk-sms": {
2677
+ output: {
2678
+ readonly type: "object";
2679
+ readonly properties: {};
2680
+ readonly required: readonly [];
2681
+ readonly additionalProperties: true;
2682
+ };
2683
+ };
2684
+ clicksend: {
2685
+ output: {
2686
+ readonly type: "object";
2687
+ readonly properties: {};
2688
+ readonly required: readonly [];
2689
+ readonly additionalProperties: true;
2690
+ };
2691
+ };
2692
+ "eazy-sms": {
2693
+ output: {
2694
+ readonly type: "object";
2695
+ readonly properties: {};
2696
+ readonly required: readonly [];
2697
+ readonly additionalProperties: true;
2698
+ };
2699
+ };
2367
2700
  };
2368
- sms: {};
2369
2701
  email: {
2370
2702
  sendgrid: {
2371
2703
  output: {
2372
2704
  readonly type: "object";
2373
- readonly properties: {
2374
- readonly ipPoolName: {
2375
- readonly type: "string";
2376
- };
2377
- };
2378
- readonly required: readonly ["ipPoolName"];
2705
+ readonly properties: {};
2706
+ readonly required: readonly [];
2707
+ readonly additionalProperties: true;
2708
+ };
2709
+ };
2710
+ emailjs: {
2711
+ output: {
2712
+ readonly type: "object";
2713
+ readonly properties: {};
2714
+ readonly required: readonly [];
2715
+ readonly additionalProperties: true;
2716
+ };
2717
+ };
2718
+ mailgun: {
2719
+ output: {
2720
+ readonly type: "object";
2721
+ readonly properties: {};
2722
+ readonly required: readonly [];
2723
+ readonly additionalProperties: true;
2724
+ };
2725
+ };
2726
+ mailjet: {
2727
+ output: {
2728
+ readonly type: "object";
2729
+ readonly properties: {};
2730
+ readonly required: readonly [];
2731
+ readonly additionalProperties: true;
2732
+ };
2733
+ };
2734
+ mandrill: {
2735
+ output: {
2736
+ readonly type: "object";
2737
+ readonly properties: {};
2738
+ readonly required: readonly [];
2739
+ readonly additionalProperties: true;
2740
+ };
2741
+ };
2742
+ nodemailer: {
2743
+ output: {
2744
+ readonly type: "object";
2745
+ readonly properties: {};
2746
+ readonly required: readonly [];
2747
+ readonly additionalProperties: true;
2748
+ };
2749
+ };
2750
+ postmark: {
2751
+ output: {
2752
+ readonly type: "object";
2753
+ readonly properties: {};
2754
+ readonly required: readonly [];
2755
+ readonly additionalProperties: true;
2756
+ };
2757
+ };
2758
+ sendinblue: {
2759
+ output: {
2760
+ readonly type: "object";
2761
+ readonly properties: {};
2762
+ readonly required: readonly [];
2763
+ readonly additionalProperties: true;
2764
+ };
2765
+ };
2766
+ ses: {
2767
+ output: {
2768
+ readonly type: "object";
2769
+ readonly properties: {};
2770
+ readonly required: readonly [];
2771
+ readonly additionalProperties: true;
2772
+ };
2773
+ };
2774
+ netcore: {
2775
+ output: {
2776
+ readonly type: "object";
2777
+ readonly properties: {};
2778
+ readonly required: readonly [];
2779
+ readonly additionalProperties: true;
2780
+ };
2781
+ };
2782
+ "infobip-email": {
2783
+ output: {
2784
+ readonly type: "object";
2785
+ readonly properties: {};
2786
+ readonly required: readonly [];
2787
+ readonly additionalProperties: true;
2788
+ };
2789
+ };
2790
+ resend: {
2791
+ output: {
2792
+ readonly type: "object";
2793
+ readonly properties: {};
2794
+ readonly required: readonly [];
2795
+ readonly additionalProperties: true;
2796
+ };
2797
+ };
2798
+ plunk: {
2799
+ output: {
2800
+ readonly type: "object";
2801
+ readonly properties: {};
2802
+ readonly required: readonly [];
2803
+ readonly additionalProperties: true;
2804
+ };
2805
+ };
2806
+ mailersend: {
2807
+ output: {
2808
+ readonly type: "object";
2809
+ readonly properties: {};
2810
+ readonly required: readonly [];
2811
+ readonly additionalProperties: true;
2812
+ };
2813
+ };
2814
+ mailtrap: {
2815
+ output: {
2816
+ readonly type: "object";
2817
+ readonly properties: {};
2818
+ readonly required: readonly [];
2819
+ readonly additionalProperties: true;
2820
+ };
2821
+ };
2822
+ clickatell: {
2823
+ output: {
2824
+ readonly type: "object";
2825
+ readonly properties: {};
2826
+ readonly required: readonly [];
2827
+ readonly additionalProperties: true;
2828
+ };
2829
+ };
2830
+ outlook365: {
2831
+ output: {
2832
+ readonly type: "object";
2833
+ readonly properties: {};
2834
+ readonly required: readonly [];
2835
+ readonly additionalProperties: true;
2836
+ };
2837
+ };
2838
+ "novu-email": {
2839
+ output: {
2840
+ readonly type: "object";
2841
+ readonly properties: {};
2842
+ readonly required: readonly [];
2843
+ readonly additionalProperties: false;
2844
+ };
2845
+ };
2846
+ sparkpost: {
2847
+ output: {
2848
+ readonly type: "object";
2849
+ readonly properties: {};
2850
+ readonly required: readonly [];
2851
+ readonly additionalProperties: true;
2852
+ };
2853
+ };
2854
+ "email-webhook": {
2855
+ output: {
2856
+ readonly type: "object";
2857
+ readonly properties: {};
2858
+ readonly required: readonly [];
2859
+ readonly additionalProperties: true;
2860
+ };
2861
+ };
2862
+ braze: {
2863
+ output: {
2864
+ readonly type: "object";
2865
+ readonly properties: {};
2866
+ readonly required: readonly [];
2867
+ readonly additionalProperties: true;
2868
+ };
2869
+ };
2870
+ };
2871
+ push: {
2872
+ fcm: {
2873
+ output: {
2874
+ readonly type: "object";
2875
+ readonly properties: {};
2876
+ readonly required: readonly [];
2877
+ readonly additionalProperties: true;
2878
+ };
2879
+ };
2880
+ apns: {
2881
+ output: {
2882
+ readonly type: "object";
2883
+ readonly properties: {};
2884
+ readonly required: readonly [];
2885
+ readonly additionalProperties: true;
2886
+ };
2887
+ };
2888
+ expo: {
2889
+ output: {
2890
+ readonly type: "object";
2891
+ readonly properties: {};
2892
+ readonly required: readonly [];
2893
+ readonly additionalProperties: true;
2894
+ };
2895
+ };
2896
+ "one-signal": {
2897
+ output: {
2898
+ readonly type: "object";
2899
+ readonly properties: {};
2900
+ readonly required: readonly [];
2901
+ readonly additionalProperties: true;
2902
+ };
2903
+ };
2904
+ "push-webhook": {
2905
+ output: {
2906
+ readonly type: "object";
2907
+ readonly properties: {};
2908
+ readonly required: readonly [];
2909
+ readonly additionalProperties: true;
2910
+ };
2911
+ };
2912
+ "pusher-beams": {
2913
+ output: {
2914
+ readonly type: "object";
2915
+ readonly properties: {};
2916
+ readonly required: readonly [];
2917
+ readonly additionalProperties: true;
2918
+ };
2919
+ };
2920
+ pushpad: {
2921
+ output: {
2922
+ readonly type: "object";
2923
+ readonly properties: {};
2924
+ readonly required: readonly [];
2925
+ readonly additionalProperties: true;
2926
+ };
2927
+ };
2928
+ };
2929
+ in_app: {
2930
+ novu: {
2931
+ output: {
2932
+ readonly type: "object";
2933
+ readonly properties: {};
2934
+ readonly required: readonly [];
2379
2935
  readonly additionalProperties: false;
2380
2936
  };
2381
2937
  };
2382
2938
  };
2383
- push: {};
2384
- in_app: {};
2385
2939
  };
2386
2940
 
2387
2941
  declare const delayOutputSchema: {
@@ -2752,7 +3306,7 @@ declare const actionStepSchemas: {
2752
3306
  };
2753
3307
 
2754
3308
  type Providers<T_StepType extends keyof typeof providerSchemas, T_Control, T_Output> = {
2755
- [K in keyof (typeof providerSchemas)[T_StepType]]: (step: {
3309
+ [K in keyof (typeof providerSchemas)[T_StepType]]?: (step: {
2756
3310
  /**
2757
3311
  * The controls for the step.
2758
3312
  *
@@ -2968,7 +3522,7 @@ options?: {
2968
3522
  /**
2969
3523
  * The providers for the step. Used to override the behaviour of the providers for the step.
2970
3524
  */
2971
- providers?: Providers<T_StepType, T_Controls, T_Outputs>;
3525
+ providers?: Prettify<Providers<T_StepType, T_Controls, T_Outputs>>;
2972
3526
  }) => Promise<T_Result & StepContext>;
2973
3527
  type EmailOutput = FromSchema<(typeof channelStepSchemas)[ChannelStepEnum.EMAIL]['output']>;
2974
3528
  type EmailResult = FromSchema<(typeof channelStepSchemas)[ChannelStepEnum.EMAIL]['result']>;
@@ -3026,7 +3580,7 @@ type ExecuteInput<T_Payload, T_Control> = {
3026
3580
  /** The payload for the event, provided during trigger. */
3027
3581
  payload: T_Payload;
3028
3582
  /** The subscriber for the event, provided during trigger. */
3029
- subscriber: Subscriber;
3583
+ subscriber: Prettify<Subscriber>;
3030
3584
  /** The environment the workflow is running in. */
3031
3585
  environment: Record<string, unknown>;
3032
3586
  /**
@@ -3218,12 +3772,12 @@ type Event = {
3218
3772
  inputs: Record<string, unknown>;
3219
3773
  controls: Record<string, unknown>;
3220
3774
  state: State[];
3221
- action: 'execute' | 'preview';
3775
+ action: Exclude<PostActionEnum, PostActionEnum.TRIGGER>;
3222
3776
  subscriber: Subscriber;
3223
3777
  };
3224
3778
  type State = {
3225
3779
  stepId: string;
3226
- outputs: any;
3780
+ outputs: Record<string, unknown>;
3227
3781
  state: {
3228
3782
  status: string;
3229
3783
  error?: string;
@@ -3238,14 +3792,12 @@ type ExecuteOutputMetadata = {
3238
3792
  duration: number;
3239
3793
  };
3240
3794
  type ExecuteOutput = {
3241
- outputs: unknown;
3795
+ outputs: Record<string, unknown>;
3242
3796
  providers: unknown;
3243
3797
  options: unknown;
3244
3798
  metadata: ExecuteOutputMetadata;
3245
3799
  };
3246
3800
 
3247
- type SupportedFrameworkName = 'next' | 'express' | 'nuxt' | 'h3' | 'sveltekit' | 'remix';
3248
-
3249
3801
  type HealthCheck = {
3250
3802
  status: 'ok' | 'error';
3251
3803
  sdkVersion: string;
@@ -3256,6 +3808,8 @@ type HealthCheck = {
3256
3808
  };
3257
3809
  };
3258
3810
 
3811
+ type SupportedFrameworkName = 'next' | 'express' | 'nuxt' | 'h3' | 'sveltekit' | 'remix' | 'lambda';
3812
+
3259
3813
  declare class Client {
3260
3814
  private discoveredWorkflows;
3261
3815
  private templateEngine;
@@ -3348,10 +3902,11 @@ declare class NovuRequestHandler<Input extends any[] = any[], Output = any> {
3348
3902
  private getGetActionMap;
3349
3903
  private handlePostAction;
3350
3904
  private handleGetAction;
3351
- private isClientError;
3905
+ private isBridgeError;
3906
+ private isPlatformError;
3352
3907
  private handleError;
3353
3908
  private validateHmac;
3354
3909
  private hashHmac;
3355
3910
  }
3356
3911
 
3357
- export { type ExecuteInput as $, type ActionStep as A, type PushResult as B, Client as C, type DiscoverProviderOutput as D, type Execute as E, type FromSchema as F, type ChatOutput as G, type HealthCheck as H, type ChatResult as I, type JsonSchema as J, type InAppOutput as K, type InAppResult as L, type DelayOutput as M, NovuRequestHandler as N, type DelayResult as O, type PushOutput as P, type digestRegularOutput as Q, type digestTimedOutput as R, type Schema as S, type DigestOutput as T, type DigestResult as U, type Step as V, type WorkflowOptions as W, type Subscriber as X, type Either as Y, type Awaitable as Z, type Prettify as _, type Workflow as a, ChannelStepEnum as a0, ActionStepEnum as a1, type ServeHandlerOptions as b, type CodeResult as c, type ClientOptions as d, type StepType as e, type DiscoverStepOutput as f, type DiscoverWorkflowOutput as g, type DiscoverOutput as h, type EventTriggerResult as i, type EventTriggerParams as j, type EventTriggerResponse as k, type CancelEventTriggerResponse as l, type Event as m, type State as n, type ExecuteOutputMetadata as o, type ExecuteOutput as p, type SupportedFrameworkName as q, type Skip as r, type StepOptions as s, JobStatusEnum as t, type CustomStep as u, type ChannelStep as v, type EmailOutput as w, type EmailResult as x, type SmsOutput as y, type SmsResult as z };
3912
+ export { type Subscriber as $, ActionStepEnum as A, type SmsOutput as B, Client as C, type DiscoverProviderOutput as D, type Execute as E, type FromSchema as F, GetActionEnum as G, type HealthCheck as H, type SmsResult as I, type JsonSchema as J, type PushOutput as K, type PushResult as L, type ChatOutput as M, NovuRequestHandler as N, type ChatResult as O, PostActionEnum as P, type InAppOutput as Q, type InAppResult as R, type Schema as S, type DelayOutput as T, type DelayResult as U, type digestRegularOutput as V, type WorkflowOptions as W, type digestTimedOutput as X, type DigestOutput as Y, type DigestResult as Z, type Step as _, type Workflow as a, type Either as a0, type Awaitable as a1, type Prettify as a2, type ExecuteInput as a3, type ServeHandlerOptions as b, ChannelStepEnum as c, type CodeResult as d, type ClientOptions as e, type StepType as f, type DiscoverStepOutput as g, type DiscoverWorkflowOutput as h, type DiscoverOutput as i, type EventTriggerResult as j, type EventTriggerParams as k, type EventTriggerResponse as l, type CancelEventTriggerResponse as m, type Event as n, type State as o, type ExecuteOutputMetadata as p, type ExecuteOutput as q, type SupportedFrameworkName as r, type Skip as s, type StepOptions as t, JobStatusEnum as u, type ActionStep as v, type CustomStep as w, type ChannelStep as x, type EmailOutput as y, type EmailResult as z };