@novu/framework 2.0.0-canary.3 → 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.
- package/README.md +15 -11
- package/dist/{handler-3oTUJvk2.d.ts → handler-RA4Feq8s.d.ts} +641 -98
- package/dist/index.d.ts +14 -11
- package/dist/index.js +74 -70
- package/dist/{express.d.ts → servers/express.d.ts} +1 -1
- package/dist/servers/express.js +30 -0
- package/dist/{h3.d.ts → servers/h3.d.ts} +1 -1
- package/dist/servers/h3.js +31 -0
- package/dist/servers/lambda.d.ts +24 -0
- package/dist/servers/lambda.js +30 -0
- package/dist/{next.d.ts → servers/next.d.ts} +1 -1
- package/dist/servers/next.js +30 -0
- package/dist/{nuxt.d.ts → servers/nuxt.d.ts} +1 -1
- package/dist/servers/nuxt.js +31 -0
- package/dist/{remix.d.ts → servers/remix.d.ts} +1 -1
- package/dist/servers/remix.js +30 -0
- package/dist/{sveltekit.d.ts → servers/sveltekit.d.ts} +1 -1
- package/dist/servers/sveltekit.js +30 -0
- package/package.json +40 -25
- package/dist/express.js +0 -28
- package/dist/h3.js +0 -29
- package/dist/next.js +0 -28
- package/dist/nuxt.js +0 -29
- package/dist/remix.js +0 -28
- package/dist/sveltekit.js +0 -28
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { JSONSchema, FromSchema as FromSchema$1 } from 'json-schema-to-ts';
|
|
2
|
-
import
|
|
2
|
+
import z from 'zod';
|
|
3
3
|
import { TriggerEventStatusEnum, ITriggerPayload, TriggerRecipientSubscriber, ITenantDefine, TriggerRecipientsPayload } from '@novu/shared';
|
|
4
4
|
|
|
5
5
|
type CodeResult = {
|
|
@@ -224,7 +224,7 @@ declare const providerSchemas: {
|
|
|
224
224
|
};
|
|
225
225
|
};
|
|
226
226
|
readonly required: readonly ["alt_text", "image_url", "type"];
|
|
227
|
-
readonly additionalProperties:
|
|
227
|
+
readonly additionalProperties: true;
|
|
228
228
|
readonly description: "Displays an image. A simple image block, designed to make those cat photos really pop.";
|
|
229
229
|
};
|
|
230
230
|
readonly PlainTextElement: {
|
|
@@ -245,7 +245,7 @@ declare const providerSchemas: {
|
|
|
245
245
|
};
|
|
246
246
|
};
|
|
247
247
|
readonly required: readonly ["type", "text"];
|
|
248
|
-
readonly additionalProperties:
|
|
248
|
+
readonly additionalProperties: true;
|
|
249
249
|
readonly description: "Defines an object containing some text.";
|
|
250
250
|
};
|
|
251
251
|
readonly ContextBlock: {
|
|
@@ -274,7 +274,7 @@ declare const providerSchemas: {
|
|
|
274
274
|
};
|
|
275
275
|
};
|
|
276
276
|
readonly required: readonly ["elements", "type"];
|
|
277
|
-
readonly additionalProperties:
|
|
277
|
+
readonly additionalProperties: true;
|
|
278
278
|
readonly description: "Displays contextual info, which can include both images and text.";
|
|
279
279
|
};
|
|
280
280
|
readonly ImageElement: {
|
|
@@ -295,7 +295,7 @@ declare const providerSchemas: {
|
|
|
295
295
|
};
|
|
296
296
|
};
|
|
297
297
|
readonly required: readonly ["type", "image_url", "alt_text"];
|
|
298
|
-
readonly additionalProperties:
|
|
298
|
+
readonly additionalProperties: true;
|
|
299
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.";
|
|
300
300
|
};
|
|
301
301
|
readonly MrkdwnElement: {
|
|
@@ -316,7 +316,7 @@ declare const providerSchemas: {
|
|
|
316
316
|
};
|
|
317
317
|
};
|
|
318
318
|
readonly required: readonly ["type", "text"];
|
|
319
|
-
readonly additionalProperties:
|
|
319
|
+
readonly additionalProperties: true;
|
|
320
320
|
readonly description: "Defines an object containing some text.";
|
|
321
321
|
};
|
|
322
322
|
readonly ActionsBlock: {
|
|
@@ -362,7 +362,7 @@ declare const providerSchemas: {
|
|
|
362
362
|
};
|
|
363
363
|
};
|
|
364
364
|
readonly required: readonly ["elements", "type"];
|
|
365
|
-
readonly additionalProperties:
|
|
365
|
+
readonly additionalProperties: true;
|
|
366
366
|
readonly description: "Holds multiple interactive elements.";
|
|
367
367
|
};
|
|
368
368
|
readonly Button: {
|
|
@@ -403,12 +403,12 @@ declare const providerSchemas: {
|
|
|
403
403
|
};
|
|
404
404
|
};
|
|
405
405
|
readonly required: readonly ["text", "type"];
|
|
406
|
-
readonly additionalProperties:
|
|
406
|
+
readonly additionalProperties: true;
|
|
407
407
|
readonly description: "Allows users a direct path to performing basic actions.";
|
|
408
408
|
};
|
|
409
409
|
readonly Actionable: {
|
|
410
410
|
readonly type: "object";
|
|
411
|
-
readonly additionalProperties:
|
|
411
|
+
readonly additionalProperties: true;
|
|
412
412
|
readonly properties: {
|
|
413
413
|
readonly type: {
|
|
414
414
|
readonly type: "string";
|
|
@@ -430,7 +430,7 @@ declare const providerSchemas: {
|
|
|
430
430
|
};
|
|
431
431
|
};
|
|
432
432
|
readonly required: readonly ["type"];
|
|
433
|
-
readonly additionalProperties:
|
|
433
|
+
readonly additionalProperties: true;
|
|
434
434
|
};
|
|
435
435
|
readonly Confirmable: {
|
|
436
436
|
readonly type: "object";
|
|
@@ -440,11 +440,11 @@ declare const providerSchemas: {
|
|
|
440
440
|
readonly description: "A {@link Confirm } object that defines an optional confirmation dialog after the element is interacted\nwith.";
|
|
441
441
|
};
|
|
442
442
|
};
|
|
443
|
-
readonly additionalProperties:
|
|
443
|
+
readonly additionalProperties: true;
|
|
444
444
|
};
|
|
445
445
|
readonly ConfirmationDialog: {
|
|
446
446
|
readonly type: "object";
|
|
447
|
-
readonly additionalProperties:
|
|
447
|
+
readonly additionalProperties: true;
|
|
448
448
|
readonly properties: {
|
|
449
449
|
readonly title: {
|
|
450
450
|
readonly $ref: "#/definitions/PlainTextElement";
|
|
@@ -505,7 +505,7 @@ declare const providerSchemas: {
|
|
|
505
505
|
};
|
|
506
506
|
};
|
|
507
507
|
readonly required: readonly ["text"];
|
|
508
|
-
readonly additionalProperties:
|
|
508
|
+
readonly additionalProperties: true;
|
|
509
509
|
readonly description: "Defines a dialog that adds a confirmation step to interactive elements.";
|
|
510
510
|
};
|
|
511
511
|
readonly Checkboxes: {
|
|
@@ -542,7 +542,7 @@ declare const providerSchemas: {
|
|
|
542
542
|
};
|
|
543
543
|
};
|
|
544
544
|
readonly required: readonly ["options", "type"];
|
|
545
|
-
readonly additionalProperties:
|
|
545
|
+
readonly additionalProperties: true;
|
|
546
546
|
readonly description: "Allows users to choose multiple items from a list of options.";
|
|
547
547
|
};
|
|
548
548
|
readonly Focusable: {
|
|
@@ -552,7 +552,7 @@ declare const providerSchemas: {
|
|
|
552
552
|
readonly type: "boolean";
|
|
553
553
|
};
|
|
554
554
|
};
|
|
555
|
-
readonly additionalProperties:
|
|
555
|
+
readonly additionalProperties: true;
|
|
556
556
|
};
|
|
557
557
|
readonly Option: {
|
|
558
558
|
readonly anyOf: readonly [{
|
|
@@ -583,7 +583,7 @@ declare const providerSchemas: {
|
|
|
583
583
|
};
|
|
584
584
|
};
|
|
585
585
|
readonly required: readonly ["text"];
|
|
586
|
-
readonly additionalProperties:
|
|
586
|
+
readonly additionalProperties: true;
|
|
587
587
|
};
|
|
588
588
|
readonly PlainTextOption: {
|
|
589
589
|
readonly type: "object";
|
|
@@ -606,7 +606,7 @@ declare const providerSchemas: {
|
|
|
606
606
|
};
|
|
607
607
|
};
|
|
608
608
|
readonly required: readonly ["text"];
|
|
609
|
-
readonly additionalProperties:
|
|
609
|
+
readonly additionalProperties: true;
|
|
610
610
|
};
|
|
611
611
|
readonly Datepicker: {
|
|
612
612
|
readonly type: "object";
|
|
@@ -638,7 +638,7 @@ declare const providerSchemas: {
|
|
|
638
638
|
};
|
|
639
639
|
};
|
|
640
640
|
readonly required: readonly ["type"];
|
|
641
|
-
readonly additionalProperties:
|
|
641
|
+
readonly additionalProperties: true;
|
|
642
642
|
readonly description: "Allows users to select a date from a calendar style UI.";
|
|
643
643
|
};
|
|
644
644
|
readonly Placeholdable: {
|
|
@@ -649,7 +649,7 @@ declare const providerSchemas: {
|
|
|
649
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.";
|
|
650
650
|
};
|
|
651
651
|
};
|
|
652
|
-
readonly additionalProperties:
|
|
652
|
+
readonly additionalProperties: true;
|
|
653
653
|
};
|
|
654
654
|
readonly DateTimepicker: {
|
|
655
655
|
readonly type: "object";
|
|
@@ -676,7 +676,7 @@ declare const providerSchemas: {
|
|
|
676
676
|
};
|
|
677
677
|
};
|
|
678
678
|
readonly required: readonly ["type"];
|
|
679
|
-
readonly additionalProperties:
|
|
679
|
+
readonly additionalProperties: true;
|
|
680
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.";
|
|
681
681
|
};
|
|
682
682
|
readonly MultiSelect: {
|
|
@@ -730,7 +730,7 @@ declare const providerSchemas: {
|
|
|
730
730
|
};
|
|
731
731
|
};
|
|
732
732
|
readonly required: readonly ["type"];
|
|
733
|
-
readonly additionalProperties:
|
|
733
|
+
readonly additionalProperties: true;
|
|
734
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.";
|
|
735
735
|
};
|
|
736
736
|
readonly MultiStaticSelect: {
|
|
@@ -787,7 +787,7 @@ declare const providerSchemas: {
|
|
|
787
787
|
};
|
|
788
788
|
};
|
|
789
789
|
readonly required: readonly ["label", "options"];
|
|
790
|
-
readonly additionalProperties:
|
|
790
|
+
readonly additionalProperties: true;
|
|
791
791
|
};
|
|
792
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.";
|
|
793
793
|
};
|
|
@@ -797,7 +797,7 @@ declare const providerSchemas: {
|
|
|
797
797
|
};
|
|
798
798
|
};
|
|
799
799
|
readonly required: readonly ["type"];
|
|
800
|
-
readonly additionalProperties:
|
|
800
|
+
readonly additionalProperties: true;
|
|
801
801
|
readonly description: "This is the simplest form of select menu, with a static list of options passed in when defining the\nelement.";
|
|
802
802
|
};
|
|
803
803
|
readonly MultiConversationsSelect: {
|
|
@@ -856,12 +856,12 @@ declare const providerSchemas: {
|
|
|
856
856
|
readonly type: "boolean";
|
|
857
857
|
};
|
|
858
858
|
};
|
|
859
|
-
readonly additionalProperties:
|
|
859
|
+
readonly additionalProperties: true;
|
|
860
860
|
readonly description: "A filter object that reduces the list of available conversations using the specified criteria.";
|
|
861
861
|
};
|
|
862
862
|
};
|
|
863
863
|
readonly required: readonly ["type"];
|
|
864
|
-
readonly additionalProperties:
|
|
864
|
+
readonly additionalProperties: true;
|
|
865
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.";
|
|
866
866
|
};
|
|
867
867
|
readonly MultiChannelsSelect: {
|
|
@@ -901,7 +901,7 @@ declare const providerSchemas: {
|
|
|
901
901
|
};
|
|
902
902
|
};
|
|
903
903
|
readonly required: readonly ["type"];
|
|
904
|
-
readonly additionalProperties:
|
|
904
|
+
readonly additionalProperties: true;
|
|
905
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.";
|
|
906
906
|
};
|
|
907
907
|
readonly MultiExternalSelect: {
|
|
@@ -945,7 +945,7 @@ declare const providerSchemas: {
|
|
|
945
945
|
};
|
|
946
946
|
};
|
|
947
947
|
readonly required: readonly ["type"];
|
|
948
|
-
readonly additionalProperties:
|
|
948
|
+
readonly additionalProperties: true;
|
|
949
949
|
readonly description: "This menu will load its options from an external data source, allowing for a dynamic list of options.";
|
|
950
950
|
};
|
|
951
951
|
readonly Overflow: {
|
|
@@ -973,7 +973,7 @@ declare const providerSchemas: {
|
|
|
973
973
|
};
|
|
974
974
|
};
|
|
975
975
|
readonly required: readonly ["options", "type"];
|
|
976
|
-
readonly additionalProperties:
|
|
976
|
+
readonly additionalProperties: true;
|
|
977
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.";
|
|
978
978
|
};
|
|
979
979
|
readonly RadioButtons: {
|
|
@@ -1009,7 +1009,7 @@ declare const providerSchemas: {
|
|
|
1009
1009
|
};
|
|
1010
1010
|
};
|
|
1011
1011
|
readonly required: readonly ["options", "type"];
|
|
1012
|
-
readonly additionalProperties:
|
|
1012
|
+
readonly additionalProperties: true;
|
|
1013
1013
|
readonly description: "Allows users to choose one item from a list of possible options.";
|
|
1014
1014
|
};
|
|
1015
1015
|
readonly Select: {
|
|
@@ -1056,7 +1056,7 @@ declare const providerSchemas: {
|
|
|
1056
1056
|
};
|
|
1057
1057
|
};
|
|
1058
1058
|
readonly required: readonly ["type"];
|
|
1059
|
-
readonly additionalProperties:
|
|
1059
|
+
readonly additionalProperties: true;
|
|
1060
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.";
|
|
1061
1061
|
};
|
|
1062
1062
|
readonly StaticSelect: {
|
|
@@ -1110,13 +1110,13 @@ declare const providerSchemas: {
|
|
|
1110
1110
|
};
|
|
1111
1111
|
};
|
|
1112
1112
|
readonly required: readonly ["label", "options"];
|
|
1113
|
-
readonly additionalProperties:
|
|
1113
|
+
readonly additionalProperties: true;
|
|
1114
1114
|
};
|
|
1115
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.";
|
|
1116
1116
|
};
|
|
1117
1117
|
};
|
|
1118
1118
|
readonly required: readonly ["type"];
|
|
1119
|
-
readonly additionalProperties:
|
|
1119
|
+
readonly additionalProperties: true;
|
|
1120
1120
|
readonly description: "This is the simplest form of select menu, with a static list of options passed in when defining the\nelement.";
|
|
1121
1121
|
};
|
|
1122
1122
|
readonly ConversationsSelect: {
|
|
@@ -1172,12 +1172,12 @@ declare const providerSchemas: {
|
|
|
1172
1172
|
readonly type: "boolean";
|
|
1173
1173
|
};
|
|
1174
1174
|
};
|
|
1175
|
-
readonly additionalProperties:
|
|
1175
|
+
readonly additionalProperties: true;
|
|
1176
1176
|
readonly description: "A filter object that reduces the list of available conversations using the specified criteria.";
|
|
1177
1177
|
};
|
|
1178
1178
|
};
|
|
1179
1179
|
readonly required: readonly ["type"];
|
|
1180
|
-
readonly additionalProperties:
|
|
1180
|
+
readonly additionalProperties: true;
|
|
1181
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.";
|
|
1182
1182
|
};
|
|
1183
1183
|
readonly ChannelsSelect: {
|
|
@@ -1214,7 +1214,7 @@ declare const providerSchemas: {
|
|
|
1214
1214
|
};
|
|
1215
1215
|
};
|
|
1216
1216
|
readonly required: readonly ["type"];
|
|
1217
|
-
readonly additionalProperties:
|
|
1217
|
+
readonly additionalProperties: true;
|
|
1218
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.";
|
|
1219
1219
|
};
|
|
1220
1220
|
readonly ExternalSelect: {
|
|
@@ -1251,7 +1251,7 @@ declare const providerSchemas: {
|
|
|
1251
1251
|
};
|
|
1252
1252
|
};
|
|
1253
1253
|
readonly required: readonly ["type"];
|
|
1254
|
-
readonly additionalProperties:
|
|
1254
|
+
readonly additionalProperties: true;
|
|
1255
1255
|
readonly description: "This select menu will load its options from an external data source, allowing for a dynamic list of\noptions.";
|
|
1256
1256
|
};
|
|
1257
1257
|
readonly Timepicker: {
|
|
@@ -1288,7 +1288,7 @@ declare const providerSchemas: {
|
|
|
1288
1288
|
};
|
|
1289
1289
|
};
|
|
1290
1290
|
readonly required: readonly ["type"];
|
|
1291
|
-
readonly additionalProperties:
|
|
1291
|
+
readonly additionalProperties: true;
|
|
1292
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.";
|
|
1293
1293
|
};
|
|
1294
1294
|
readonly WorkflowButton: {
|
|
@@ -1332,18 +1332,18 @@ declare const providerSchemas: {
|
|
|
1332
1332
|
};
|
|
1333
1333
|
};
|
|
1334
1334
|
readonly required: readonly ["name", "value"];
|
|
1335
|
-
readonly additionalProperties:
|
|
1335
|
+
readonly additionalProperties: true;
|
|
1336
1336
|
};
|
|
1337
1337
|
readonly description: "List of customizable input parameters and their values. Should match input parameters specified on\nthe provided trigger.";
|
|
1338
1338
|
};
|
|
1339
1339
|
};
|
|
1340
1340
|
readonly required: readonly ["url"];
|
|
1341
|
-
readonly additionalProperties:
|
|
1341
|
+
readonly additionalProperties: true;
|
|
1342
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.";
|
|
1343
1343
|
};
|
|
1344
1344
|
};
|
|
1345
1345
|
readonly required: readonly ["trigger"];
|
|
1346
|
-
readonly additionalProperties:
|
|
1346
|
+
readonly additionalProperties: true;
|
|
1347
1347
|
readonly description: "A workflow object that contains details about the workflow that will run when the button is clicked.";
|
|
1348
1348
|
};
|
|
1349
1349
|
readonly style: {
|
|
@@ -1357,7 +1357,7 @@ declare const providerSchemas: {
|
|
|
1357
1357
|
};
|
|
1358
1358
|
};
|
|
1359
1359
|
readonly required: readonly ["type", "text", "workflow"];
|
|
1360
|
-
readonly additionalProperties:
|
|
1360
|
+
readonly additionalProperties: true;
|
|
1361
1361
|
readonly description: "Allows users to run a {@link https://api.slack.com/automation/triggers/link#workflow_buttons link trigger} with customizable inputs.";
|
|
1362
1362
|
};
|
|
1363
1363
|
readonly RichTextInput: {
|
|
@@ -1389,7 +1389,7 @@ declare const providerSchemas: {
|
|
|
1389
1389
|
};
|
|
1390
1390
|
};
|
|
1391
1391
|
readonly required: readonly ["type"];
|
|
1392
|
-
readonly additionalProperties:
|
|
1392
|
+
readonly additionalProperties: true;
|
|
1393
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.";
|
|
1394
1394
|
};
|
|
1395
1395
|
readonly Dispatchable: {
|
|
@@ -1399,7 +1399,7 @@ declare const providerSchemas: {
|
|
|
1399
1399
|
readonly $ref: "#/definitions/DispatchActionConfig";
|
|
1400
1400
|
};
|
|
1401
1401
|
};
|
|
1402
|
-
readonly additionalProperties:
|
|
1402
|
+
readonly additionalProperties: true;
|
|
1403
1403
|
};
|
|
1404
1404
|
readonly DispatchActionConfig: {
|
|
1405
1405
|
readonly type: "object";
|
|
@@ -1413,7 +1413,7 @@ declare const providerSchemas: {
|
|
|
1413
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.";
|
|
1414
1414
|
};
|
|
1415
1415
|
};
|
|
1416
|
-
readonly additionalProperties:
|
|
1416
|
+
readonly additionalProperties: true;
|
|
1417
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}.";
|
|
1418
1418
|
};
|
|
1419
1419
|
readonly RichTextBlock: {
|
|
@@ -1444,7 +1444,7 @@ declare const providerSchemas: {
|
|
|
1444
1444
|
};
|
|
1445
1445
|
};
|
|
1446
1446
|
readonly required: readonly ["elements", "type"];
|
|
1447
|
-
readonly additionalProperties:
|
|
1447
|
+
readonly additionalProperties: true;
|
|
1448
1448
|
};
|
|
1449
1449
|
readonly RichTextSection: {
|
|
1450
1450
|
readonly type: "object";
|
|
@@ -1462,7 +1462,7 @@ declare const providerSchemas: {
|
|
|
1462
1462
|
};
|
|
1463
1463
|
};
|
|
1464
1464
|
readonly required: readonly ["type", "elements"];
|
|
1465
|
-
readonly additionalProperties:
|
|
1465
|
+
readonly additionalProperties: true;
|
|
1466
1466
|
readonly description: "A section block within a rich text field.";
|
|
1467
1467
|
};
|
|
1468
1468
|
readonly RichTextElement: {
|
|
@@ -1508,7 +1508,7 @@ declare const providerSchemas: {
|
|
|
1508
1508
|
readonly type: "boolean";
|
|
1509
1509
|
};
|
|
1510
1510
|
};
|
|
1511
|
-
readonly additionalProperties:
|
|
1511
|
+
readonly additionalProperties: true;
|
|
1512
1512
|
};
|
|
1513
1513
|
readonly type: {
|
|
1514
1514
|
readonly type: "string";
|
|
@@ -1522,7 +1522,7 @@ declare const providerSchemas: {
|
|
|
1522
1522
|
};
|
|
1523
1523
|
};
|
|
1524
1524
|
readonly required: readonly ["type", "range"];
|
|
1525
|
-
readonly additionalProperties:
|
|
1525
|
+
readonly additionalProperties: true;
|
|
1526
1526
|
readonly description: "A broadcast mention element for use in a rich text message.";
|
|
1527
1527
|
};
|
|
1528
1528
|
readonly RichTextStyleable: {
|
|
@@ -1544,10 +1544,10 @@ declare const providerSchemas: {
|
|
|
1544
1544
|
readonly type: "boolean";
|
|
1545
1545
|
};
|
|
1546
1546
|
};
|
|
1547
|
-
readonly additionalProperties:
|
|
1547
|
+
readonly additionalProperties: true;
|
|
1548
1548
|
};
|
|
1549
1549
|
};
|
|
1550
|
-
readonly additionalProperties:
|
|
1550
|
+
readonly additionalProperties: true;
|
|
1551
1551
|
readonly description: "For use styling Rich Text message sub-elements.";
|
|
1552
1552
|
};
|
|
1553
1553
|
readonly RichTextColor: {
|
|
@@ -1569,7 +1569,7 @@ declare const providerSchemas: {
|
|
|
1569
1569
|
readonly type: "boolean";
|
|
1570
1570
|
};
|
|
1571
1571
|
};
|
|
1572
|
-
readonly additionalProperties:
|
|
1572
|
+
readonly additionalProperties: true;
|
|
1573
1573
|
};
|
|
1574
1574
|
readonly type: {
|
|
1575
1575
|
readonly type: "string";
|
|
@@ -1582,7 +1582,7 @@ declare const providerSchemas: {
|
|
|
1582
1582
|
};
|
|
1583
1583
|
};
|
|
1584
1584
|
readonly required: readonly ["type", "value"];
|
|
1585
|
-
readonly additionalProperties:
|
|
1585
|
+
readonly additionalProperties: true;
|
|
1586
1586
|
readonly description: "A hex color element for use in a rich text message.";
|
|
1587
1587
|
};
|
|
1588
1588
|
readonly RichTextChannelMention: {
|
|
@@ -1604,7 +1604,7 @@ declare const providerSchemas: {
|
|
|
1604
1604
|
readonly type: "boolean";
|
|
1605
1605
|
};
|
|
1606
1606
|
};
|
|
1607
|
-
readonly additionalProperties:
|
|
1607
|
+
readonly additionalProperties: true;
|
|
1608
1608
|
};
|
|
1609
1609
|
readonly type: {
|
|
1610
1610
|
readonly type: "string";
|
|
@@ -1617,7 +1617,7 @@ declare const providerSchemas: {
|
|
|
1617
1617
|
};
|
|
1618
1618
|
};
|
|
1619
1619
|
readonly required: readonly ["type", "channel_id"];
|
|
1620
|
-
readonly additionalProperties:
|
|
1620
|
+
readonly additionalProperties: true;
|
|
1621
1621
|
readonly description: "A channel mention element for use in a rich text message.";
|
|
1622
1622
|
};
|
|
1623
1623
|
readonly RichTextDate: {
|
|
@@ -1639,7 +1639,7 @@ declare const providerSchemas: {
|
|
|
1639
1639
|
readonly type: "boolean";
|
|
1640
1640
|
};
|
|
1641
1641
|
};
|
|
1642
|
-
readonly additionalProperties:
|
|
1642
|
+
readonly additionalProperties: true;
|
|
1643
1643
|
};
|
|
1644
1644
|
readonly type: {
|
|
1645
1645
|
readonly type: "string";
|
|
@@ -1664,7 +1664,7 @@ declare const providerSchemas: {
|
|
|
1664
1664
|
};
|
|
1665
1665
|
};
|
|
1666
1666
|
readonly required: readonly ["type", "timestamp", "format"];
|
|
1667
|
-
readonly additionalProperties:
|
|
1667
|
+
readonly additionalProperties: true;
|
|
1668
1668
|
readonly description: "A date element for use in a rich text message.";
|
|
1669
1669
|
};
|
|
1670
1670
|
readonly RichTextEmoji: {
|
|
@@ -1686,7 +1686,7 @@ declare const providerSchemas: {
|
|
|
1686
1686
|
readonly type: "boolean";
|
|
1687
1687
|
};
|
|
1688
1688
|
};
|
|
1689
|
-
readonly additionalProperties:
|
|
1689
|
+
readonly additionalProperties: true;
|
|
1690
1690
|
};
|
|
1691
1691
|
readonly type: {
|
|
1692
1692
|
readonly type: "string";
|
|
@@ -1707,7 +1707,7 @@ declare const providerSchemas: {
|
|
|
1707
1707
|
};
|
|
1708
1708
|
};
|
|
1709
1709
|
readonly required: readonly ["type", "name"];
|
|
1710
|
-
readonly additionalProperties:
|
|
1710
|
+
readonly additionalProperties: true;
|
|
1711
1711
|
readonly description: "An emoji element for use in a rich text message.";
|
|
1712
1712
|
};
|
|
1713
1713
|
readonly RichTextLink: {
|
|
@@ -1729,7 +1729,7 @@ declare const providerSchemas: {
|
|
|
1729
1729
|
readonly type: "boolean";
|
|
1730
1730
|
};
|
|
1731
1731
|
};
|
|
1732
|
-
readonly additionalProperties:
|
|
1732
|
+
readonly additionalProperties: true;
|
|
1733
1733
|
readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
|
|
1734
1734
|
};
|
|
1735
1735
|
readonly type: {
|
|
@@ -1751,7 +1751,7 @@ declare const providerSchemas: {
|
|
|
1751
1751
|
};
|
|
1752
1752
|
};
|
|
1753
1753
|
readonly required: readonly ["type", "url"];
|
|
1754
|
-
readonly additionalProperties:
|
|
1754
|
+
readonly additionalProperties: true;
|
|
1755
1755
|
readonly description: "A link element for use in a rich text message.";
|
|
1756
1756
|
};
|
|
1757
1757
|
readonly RichTextTeamMention: {
|
|
@@ -1773,7 +1773,7 @@ declare const providerSchemas: {
|
|
|
1773
1773
|
readonly type: "boolean";
|
|
1774
1774
|
};
|
|
1775
1775
|
};
|
|
1776
|
-
readonly additionalProperties:
|
|
1776
|
+
readonly additionalProperties: true;
|
|
1777
1777
|
readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
|
|
1778
1778
|
};
|
|
1779
1779
|
readonly type: {
|
|
@@ -1787,7 +1787,7 @@ declare const providerSchemas: {
|
|
|
1787
1787
|
};
|
|
1788
1788
|
};
|
|
1789
1789
|
readonly required: readonly ["type", "team_id"];
|
|
1790
|
-
readonly additionalProperties:
|
|
1790
|
+
readonly additionalProperties: true;
|
|
1791
1791
|
readonly description: "A workspace or team mention element for use in a rich text message.";
|
|
1792
1792
|
};
|
|
1793
1793
|
readonly RichTextText: {
|
|
@@ -1809,7 +1809,7 @@ declare const providerSchemas: {
|
|
|
1809
1809
|
readonly type: "boolean";
|
|
1810
1810
|
};
|
|
1811
1811
|
};
|
|
1812
|
-
readonly additionalProperties:
|
|
1812
|
+
readonly additionalProperties: true;
|
|
1813
1813
|
readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
|
|
1814
1814
|
};
|
|
1815
1815
|
readonly type: {
|
|
@@ -1823,7 +1823,7 @@ declare const providerSchemas: {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
};
|
|
1825
1825
|
readonly required: readonly ["type", "text"];
|
|
1826
|
-
readonly additionalProperties:
|
|
1826
|
+
readonly additionalProperties: true;
|
|
1827
1827
|
readonly description: "A generic text element for use in a rich text message.";
|
|
1828
1828
|
};
|
|
1829
1829
|
readonly RichTextUserMention: {
|
|
@@ -1845,7 +1845,7 @@ declare const providerSchemas: {
|
|
|
1845
1845
|
readonly type: "boolean";
|
|
1846
1846
|
};
|
|
1847
1847
|
};
|
|
1848
|
-
readonly additionalProperties:
|
|
1848
|
+
readonly additionalProperties: true;
|
|
1849
1849
|
readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
|
|
1850
1850
|
};
|
|
1851
1851
|
readonly type: {
|
|
@@ -1859,7 +1859,7 @@ declare const providerSchemas: {
|
|
|
1859
1859
|
};
|
|
1860
1860
|
};
|
|
1861
1861
|
readonly required: readonly ["type", "user_id"];
|
|
1862
|
-
readonly additionalProperties:
|
|
1862
|
+
readonly additionalProperties: true;
|
|
1863
1863
|
readonly description: "A user mention element for use in a rich text message.";
|
|
1864
1864
|
};
|
|
1865
1865
|
readonly RichTextUsergroupMention: {
|
|
@@ -1881,7 +1881,7 @@ declare const providerSchemas: {
|
|
|
1881
1881
|
readonly type: "boolean";
|
|
1882
1882
|
};
|
|
1883
1883
|
};
|
|
1884
|
-
readonly additionalProperties:
|
|
1884
|
+
readonly additionalProperties: true;
|
|
1885
1885
|
readonly description: "A limited style object for styling rich text message elements\n(excluding pre-formatted, or code, elements).";
|
|
1886
1886
|
};
|
|
1887
1887
|
readonly type: {
|
|
@@ -1895,7 +1895,7 @@ declare const providerSchemas: {
|
|
|
1895
1895
|
};
|
|
1896
1896
|
};
|
|
1897
1897
|
readonly required: readonly ["type", "usergroup_id"];
|
|
1898
|
-
readonly additionalProperties:
|
|
1898
|
+
readonly additionalProperties: true;
|
|
1899
1899
|
readonly description: "A usergroup mention element for use in a rich text message.";
|
|
1900
1900
|
};
|
|
1901
1901
|
readonly RichTextList: {
|
|
@@ -1929,7 +1929,7 @@ declare const providerSchemas: {
|
|
|
1929
1929
|
};
|
|
1930
1930
|
};
|
|
1931
1931
|
readonly required: readonly ["type", "elements", "style"];
|
|
1932
|
-
readonly additionalProperties:
|
|
1932
|
+
readonly additionalProperties: true;
|
|
1933
1933
|
readonly description: "A list block within a rich text field.";
|
|
1934
1934
|
};
|
|
1935
1935
|
readonly RichTextQuote: {
|
|
@@ -1949,7 +1949,7 @@ declare const providerSchemas: {
|
|
|
1949
1949
|
};
|
|
1950
1950
|
};
|
|
1951
1951
|
readonly required: readonly ["type", "elements"];
|
|
1952
|
-
readonly additionalProperties:
|
|
1952
|
+
readonly additionalProperties: true;
|
|
1953
1953
|
readonly description: "A quote block within a rich text field.";
|
|
1954
1954
|
};
|
|
1955
1955
|
readonly RichTextPreformatted: {
|
|
@@ -1978,7 +1978,7 @@ declare const providerSchemas: {
|
|
|
1978
1978
|
};
|
|
1979
1979
|
};
|
|
1980
1980
|
readonly required: readonly ["type", "elements"];
|
|
1981
|
-
readonly additionalProperties:
|
|
1981
|
+
readonly additionalProperties: true;
|
|
1982
1982
|
readonly description: "A block of preformatted text within a rich text field.";
|
|
1983
1983
|
};
|
|
1984
1984
|
readonly DividerBlock: {
|
|
@@ -1995,7 +1995,7 @@ declare const providerSchemas: {
|
|
|
1995
1995
|
};
|
|
1996
1996
|
};
|
|
1997
1997
|
readonly required: readonly ["type"];
|
|
1998
|
-
readonly additionalProperties:
|
|
1998
|
+
readonly additionalProperties: true;
|
|
1999
1999
|
};
|
|
2000
2000
|
readonly SectionBlock: {
|
|
2001
2001
|
readonly type: "object";
|
|
@@ -2054,7 +2054,7 @@ declare const providerSchemas: {
|
|
|
2054
2054
|
};
|
|
2055
2055
|
};
|
|
2056
2056
|
readonly required: readonly ["type"];
|
|
2057
|
-
readonly additionalProperties:
|
|
2057
|
+
readonly additionalProperties: true;
|
|
2058
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}.";
|
|
2059
2059
|
};
|
|
2060
2060
|
readonly InputBlock: {
|
|
@@ -2115,7 +2115,7 @@ declare const providerSchemas: {
|
|
|
2115
2115
|
};
|
|
2116
2116
|
};
|
|
2117
2117
|
readonly required: readonly ["element", "label", "type"];
|
|
2118
|
-
readonly additionalProperties:
|
|
2118
|
+
readonly additionalProperties: true;
|
|
2119
2119
|
readonly description: "Collects information from users via block elements.";
|
|
2120
2120
|
};
|
|
2121
2121
|
readonly PlainTextInput: {
|
|
@@ -2159,7 +2159,7 @@ declare const providerSchemas: {
|
|
|
2159
2159
|
};
|
|
2160
2160
|
};
|
|
2161
2161
|
readonly required: readonly ["type"];
|
|
2162
|
-
readonly additionalProperties:
|
|
2162
|
+
readonly additionalProperties: true;
|
|
2163
2163
|
readonly description: "Allows users to enter freeform text data into a single-line or multi-line field.";
|
|
2164
2164
|
};
|
|
2165
2165
|
readonly URLInput: {
|
|
@@ -2191,7 +2191,7 @@ declare const providerSchemas: {
|
|
|
2191
2191
|
};
|
|
2192
2192
|
};
|
|
2193
2193
|
readonly required: readonly ["type"];
|
|
2194
|
-
readonly additionalProperties:
|
|
2194
|
+
readonly additionalProperties: true;
|
|
2195
2195
|
readonly description: "Allows user to enter a URL into a single-line field.";
|
|
2196
2196
|
};
|
|
2197
2197
|
readonly EmailInput: {
|
|
@@ -2224,7 +2224,7 @@ declare const providerSchemas: {
|
|
|
2224
2224
|
};
|
|
2225
2225
|
};
|
|
2226
2226
|
readonly required: readonly ["type"];
|
|
2227
|
-
readonly additionalProperties:
|
|
2227
|
+
readonly additionalProperties: true;
|
|
2228
2228
|
readonly description: "Allows user to enter an email into a single-line field.";
|
|
2229
2229
|
};
|
|
2230
2230
|
readonly NumberInput: {
|
|
@@ -2269,7 +2269,7 @@ declare const providerSchemas: {
|
|
|
2269
2269
|
};
|
|
2270
2270
|
};
|
|
2271
2271
|
readonly required: readonly ["is_decimal_allowed", "type"];
|
|
2272
|
-
readonly additionalProperties:
|
|
2272
|
+
readonly additionalProperties: true;
|
|
2273
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`.";
|
|
2274
2274
|
};
|
|
2275
2275
|
readonly FileBlock: {
|
|
@@ -2294,7 +2294,7 @@ declare const providerSchemas: {
|
|
|
2294
2294
|
};
|
|
2295
2295
|
};
|
|
2296
2296
|
readonly required: readonly ["external_id", "source", "type"];
|
|
2297
|
-
readonly additionalProperties:
|
|
2297
|
+
readonly additionalProperties: true;
|
|
2298
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}.";
|
|
2299
2299
|
};
|
|
2300
2300
|
readonly HeaderBlock: {
|
|
@@ -2315,7 +2315,7 @@ declare const providerSchemas: {
|
|
|
2315
2315
|
};
|
|
2316
2316
|
};
|
|
2317
2317
|
readonly required: readonly ["text", "type"];
|
|
2318
|
-
readonly additionalProperties:
|
|
2318
|
+
readonly additionalProperties: true;
|
|
2319
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.";
|
|
2320
2320
|
};
|
|
2321
2321
|
readonly VideoBlock: {
|
|
@@ -2368,31 +2368,574 @@ declare const providerSchemas: {
|
|
|
2368
2368
|
};
|
|
2369
2369
|
};
|
|
2370
2370
|
readonly required: readonly ["alt_text", "thumbnail_url", "title", "type", "video_url"];
|
|
2371
|
-
readonly additionalProperties:
|
|
2371
|
+
readonly additionalProperties: true;
|
|
2372
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}.";
|
|
2373
2373
|
};
|
|
2374
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 [];
|
|
2375
2673
|
readonly additionalProperties: false;
|
|
2376
2674
|
};
|
|
2377
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
|
+
};
|
|
2378
2700
|
};
|
|
2379
|
-
sms: {};
|
|
2380
2701
|
email: {
|
|
2381
2702
|
sendgrid: {
|
|
2382
2703
|
output: {
|
|
2383
2704
|
readonly type: "object";
|
|
2384
|
-
readonly properties: {
|
|
2385
|
-
|
|
2386
|
-
|
|
2387
|
-
|
|
2388
|
-
|
|
2389
|
-
|
|
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 [];
|
|
2390
2935
|
readonly additionalProperties: false;
|
|
2391
2936
|
};
|
|
2392
2937
|
};
|
|
2393
2938
|
};
|
|
2394
|
-
push: {};
|
|
2395
|
-
in_app: {};
|
|
2396
2939
|
};
|
|
2397
2940
|
|
|
2398
2941
|
declare const delayOutputSchema: {
|
|
@@ -2763,7 +3306,7 @@ declare const actionStepSchemas: {
|
|
|
2763
3306
|
};
|
|
2764
3307
|
|
|
2765
3308
|
type Providers<T_StepType extends keyof typeof providerSchemas, T_Control, T_Output> = {
|
|
2766
|
-
[K in keyof (typeof providerSchemas)[T_StepType]]
|
|
3309
|
+
[K in keyof (typeof providerSchemas)[T_StepType]]?: (step: {
|
|
2767
3310
|
/**
|
|
2768
3311
|
* The controls for the step.
|
|
2769
3312
|
*
|
|
@@ -2979,7 +3522,7 @@ options?: {
|
|
|
2979
3522
|
/**
|
|
2980
3523
|
* The providers for the step. Used to override the behaviour of the providers for the step.
|
|
2981
3524
|
*/
|
|
2982
|
-
providers?: Providers<T_StepType, T_Controls, T_Outputs
|
|
3525
|
+
providers?: Prettify<Providers<T_StepType, T_Controls, T_Outputs>>;
|
|
2983
3526
|
}) => Promise<T_Result & StepContext>;
|
|
2984
3527
|
type EmailOutput = FromSchema<(typeof channelStepSchemas)[ChannelStepEnum.EMAIL]['output']>;
|
|
2985
3528
|
type EmailResult = FromSchema<(typeof channelStepSchemas)[ChannelStepEnum.EMAIL]['result']>;
|
|
@@ -3037,7 +3580,7 @@ type ExecuteInput<T_Payload, T_Control> = {
|
|
|
3037
3580
|
/** The payload for the event, provided during trigger. */
|
|
3038
3581
|
payload: T_Payload;
|
|
3039
3582
|
/** The subscriber for the event, provided during trigger. */
|
|
3040
|
-
subscriber: Subscriber
|
|
3583
|
+
subscriber: Prettify<Subscriber>;
|
|
3041
3584
|
/** The environment the workflow is running in. */
|
|
3042
3585
|
environment: Record<string, unknown>;
|
|
3043
3586
|
/**
|
|
@@ -3234,7 +3777,7 @@ type Event = {
|
|
|
3234
3777
|
};
|
|
3235
3778
|
type State = {
|
|
3236
3779
|
stepId: string;
|
|
3237
|
-
outputs:
|
|
3780
|
+
outputs: Record<string, unknown>;
|
|
3238
3781
|
state: {
|
|
3239
3782
|
status: string;
|
|
3240
3783
|
error?: string;
|
|
@@ -3249,14 +3792,12 @@ type ExecuteOutputMetadata = {
|
|
|
3249
3792
|
duration: number;
|
|
3250
3793
|
};
|
|
3251
3794
|
type ExecuteOutput = {
|
|
3252
|
-
outputs: unknown
|
|
3795
|
+
outputs: Record<string, unknown>;
|
|
3253
3796
|
providers: unknown;
|
|
3254
3797
|
options: unknown;
|
|
3255
3798
|
metadata: ExecuteOutputMetadata;
|
|
3256
3799
|
};
|
|
3257
3800
|
|
|
3258
|
-
type SupportedFrameworkName = 'next' | 'express' | 'nuxt' | 'h3' | 'sveltekit' | 'remix';
|
|
3259
|
-
|
|
3260
3801
|
type HealthCheck = {
|
|
3261
3802
|
status: 'ok' | 'error';
|
|
3262
3803
|
sdkVersion: string;
|
|
@@ -3267,6 +3808,8 @@ type HealthCheck = {
|
|
|
3267
3808
|
};
|
|
3268
3809
|
};
|
|
3269
3810
|
|
|
3811
|
+
type SupportedFrameworkName = 'next' | 'express' | 'nuxt' | 'h3' | 'sveltekit' | 'remix' | 'lambda';
|
|
3812
|
+
|
|
3270
3813
|
declare class Client {
|
|
3271
3814
|
private discoveredWorkflows;
|
|
3272
3815
|
private templateEngine;
|
|
@@ -3366,4 +3909,4 @@ declare class NovuRequestHandler<Input extends any[] = any[], Output = any> {
|
|
|
3366
3909
|
private hashHmac;
|
|
3367
3910
|
}
|
|
3368
3911
|
|
|
3369
|
-
export { type
|
|
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 };
|