@novu/api 1.7.0 → 1.7.1
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/bin/mcp-server.js +92 -35
- package/bin/mcp-server.js.map +37 -37
- package/docs/sdks/groups/README.md +1 -1
- package/examples/package-lock.json +1 -1
- package/funcs/notificationsList.js +1 -0
- package/funcs/notificationsList.js.map +1 -1
- package/funcs/translationsGroupsRetrieve.d.ts +1 -1
- package/funcs/translationsGroupsRetrieve.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +3 -3
- package/lib/config.js +3 -3
- package/lib/config.js.map +1 -1
- package/mcp-server/mcp-server.js +1 -1
- package/mcp-server/server.js +1 -1
- package/mcp-server/tools/translationsGroupsDelete.d.ts +1 -0
- package/mcp-server/tools/translationsGroupsDelete.d.ts.map +1 -1
- package/mcp-server/tools/translationsGroupsRetrieve.d.ts +1 -0
- package/mcp-server/tools/translationsGroupsRetrieve.d.ts.map +1 -1
- package/mcp-server/tools/translationsGroupsRetrieve.js +1 -1
- package/mcp-server/tools/translationsGroupsRetrieve.js.map +1 -1
- package/models/components/chatstepupsertdto.d.ts +6 -1
- package/models/components/chatstepupsertdto.d.ts.map +1 -1
- package/models/components/chatstepupsertdto.js +2 -0
- package/models/components/chatstepupsertdto.js.map +1 -1
- package/models/components/createlayoutdto.d.ts +5 -0
- package/models/components/createlayoutdto.d.ts.map +1 -1
- package/models/components/createlayoutdto.js +2 -0
- package/models/components/createlayoutdto.js.map +1 -1
- package/models/components/createtranslationrequestdto.d.ts +3 -0
- package/models/components/createtranslationrequestdto.d.ts.map +1 -1
- package/models/components/createtranslationrequestdto.js +1 -0
- package/models/components/createtranslationrequestdto.js.map +1 -1
- package/models/components/customstepupsertdto.d.ts +6 -1
- package/models/components/customstepupsertdto.d.ts.map +1 -1
- package/models/components/customstepupsertdto.js +2 -0
- package/models/components/customstepupsertdto.js.map +1 -1
- package/models/components/delaycontroldto.d.ts +12 -4
- package/models/components/delaycontroldto.d.ts.map +1 -1
- package/models/components/delaycontroldto.js +7 -4
- package/models/components/delaycontroldto.js.map +1 -1
- package/models/components/delaystepresponsedto.d.ts +12 -4
- package/models/components/delaystepresponsedto.d.ts.map +1 -1
- package/models/components/delaystepresponsedto.js +7 -4
- package/models/components/delaystepresponsedto.js.map +1 -1
- package/models/components/delaystepupsertdto.d.ts +6 -1
- package/models/components/delaystepupsertdto.d.ts.map +1 -1
- package/models/components/delaystepupsertdto.js +2 -0
- package/models/components/delaystepupsertdto.js.map +1 -1
- package/models/components/digeststepupsertdto.d.ts +6 -1
- package/models/components/digeststepupsertdto.d.ts.map +1 -1
- package/models/components/digeststepupsertdto.js +2 -0
- package/models/components/digeststepupsertdto.js.map +1 -1
- package/models/components/digesttimedconfigdto.d.ts +5 -0
- package/models/components/digesttimedconfigdto.d.ts.map +1 -1
- package/models/components/digesttimedconfigdto.js +2 -0
- package/models/components/digesttimedconfigdto.js.map +1 -1
- package/models/components/duplicatelayoutdto.d.ts +5 -0
- package/models/components/duplicatelayoutdto.d.ts.map +1 -1
- package/models/components/duplicatelayoutdto.js +2 -0
- package/models/components/duplicatelayoutdto.js.map +1 -1
- package/models/components/emailstepupsertdto.d.ts +6 -1
- package/models/components/emailstepupsertdto.d.ts.map +1 -1
- package/models/components/emailstepupsertdto.js +2 -0
- package/models/components/emailstepupsertdto.js.map +1 -1
- package/models/components/getmasterjsonresponsedto.d.ts +29 -0
- package/models/components/getmasterjsonresponsedto.d.ts.map +1 -1
- package/models/components/getmasterjsonresponsedto.js +26 -1
- package/models/components/getmasterjsonresponsedto.js.map +1 -1
- package/models/components/inappstepupsertdto.d.ts +6 -1
- package/models/components/inappstepupsertdto.d.ts.map +1 -1
- package/models/components/inappstepupsertdto.js +2 -0
- package/models/components/inappstepupsertdto.js.map +1 -1
- package/models/components/layoutresponsedto.d.ts +5 -0
- package/models/components/layoutresponsedto.d.ts.map +1 -1
- package/models/components/layoutresponsedto.js +2 -0
- package/models/components/layoutresponsedto.js.map +1 -1
- package/models/components/pushstepupsertdto.d.ts +6 -1
- package/models/components/pushstepupsertdto.d.ts.map +1 -1
- package/models/components/pushstepupsertdto.js +2 -0
- package/models/components/pushstepupsertdto.js.map +1 -1
- package/models/components/smsstepupsertdto.d.ts +6 -1
- package/models/components/smsstepupsertdto.d.ts.map +1 -1
- package/models/components/smsstepupsertdto.js +2 -0
- package/models/components/smsstepupsertdto.js.map +1 -1
- package/models/components/throttlestepupsertdto.d.ts +6 -1
- package/models/components/throttlestepupsertdto.d.ts.map +1 -1
- package/models/components/throttlestepupsertdto.js +2 -0
- package/models/components/throttlestepupsertdto.js.map +1 -1
- package/models/components/topicpayloaddto.d.ts +5 -0
- package/models/components/topicpayloaddto.d.ts.map +1 -1
- package/models/components/topicpayloaddto.js +2 -0
- package/models/components/topicpayloaddto.js.map +1 -1
- package/models/components/translationgroupdto.d.ts +3 -0
- package/models/components/translationgroupdto.d.ts.map +1 -1
- package/models/components/translationgroupdto.js +1 -0
- package/models/components/translationgroupdto.js.map +1 -1
- package/models/components/translationresponsedto.d.ts +3 -0
- package/models/components/translationresponsedto.d.ts.map +1 -1
- package/models/components/translationresponsedto.js +1 -0
- package/models/components/translationresponsedto.js.map +1 -1
- package/models/components/uicomponentenum.d.ts +9 -3
- package/models/components/uicomponentenum.d.ts.map +1 -1
- package/models/components/uicomponentenum.js +3 -1
- package/models/components/uicomponentenum.js.map +1 -1
- package/models/components/updatelayoutdto.d.ts +5 -0
- package/models/components/updatelayoutdto.d.ts.map +1 -1
- package/models/components/updatelayoutdto.js +2 -0
- package/models/components/updatelayoutdto.js.map +1 -1
- package/models/components/uploadtranslationsrequestdto.d.ts +3 -0
- package/models/components/uploadtranslationsrequestdto.d.ts.map +1 -1
- package/models/components/uploadtranslationsrequestdto.js +1 -0
- package/models/components/uploadtranslationsrequestdto.js.map +1 -1
- package/models/components/workflowresponsedto.d.ts +1 -1
- package/models/operations/notificationscontrollerlistnotifications.d.ts +5 -0
- package/models/operations/notificationscontrollerlistnotifications.d.ts.map +1 -1
- package/models/operations/notificationscontrollerlistnotifications.js +2 -0
- package/models/operations/notificationscontrollerlistnotifications.js.map +1 -1
- package/models/operations/translationcontrollerdeletetranslationendpoint.d.ts +3 -0
- package/models/operations/translationcontrollerdeletetranslationendpoint.d.ts.map +1 -1
- package/models/operations/translationcontrollerdeletetranslationendpoint.js +1 -0
- package/models/operations/translationcontrollerdeletetranslationendpoint.js.map +1 -1
- package/models/operations/translationcontrollerdeletetranslationgroupendpoint.d.ts +3 -0
- package/models/operations/translationcontrollerdeletetranslationgroupendpoint.d.ts.map +1 -1
- package/models/operations/translationcontrollerdeletetranslationgroupendpoint.js +1 -0
- package/models/operations/translationcontrollerdeletetranslationgroupendpoint.js.map +1 -1
- package/models/operations/translationcontrollergetsingletranslation.d.ts +3 -0
- package/models/operations/translationcontrollergetsingletranslation.d.ts.map +1 -1
- package/models/operations/translationcontrollergetsingletranslation.js +1 -0
- package/models/operations/translationcontrollergetsingletranslation.js.map +1 -1
- package/models/operations/translationcontrollergettranslationgroupendpoint.d.ts +3 -0
- package/models/operations/translationcontrollergettranslationgroupendpoint.d.ts.map +1 -1
- package/models/operations/translationcontrollergettranslationgroupendpoint.js +1 -0
- package/models/operations/translationcontrollergettranslationgroupendpoint.js.map +1 -1
- package/package.json +1 -1
- package/sdk/groups.d.ts +1 -1
- package/sdk/groups.js +1 -1
- package/sources/json-development.json +149 -28
- package/src/funcs/notificationsList.ts +1 -0
- package/src/funcs/translationsGroupsRetrieve.ts +1 -1
- package/src/lib/config.ts +3 -3
- package/src/mcp-server/mcp-server.ts +1 -1
- package/src/mcp-server/server.ts +1 -1
- package/src/mcp-server/tools/translationsGroupsRetrieve.ts +1 -1
- package/src/models/components/chatstepupsertdto.ts +8 -1
- package/src/models/components/createlayoutdto.ts +7 -0
- package/src/models/components/createtranslationrequestdto.ts +1 -0
- package/src/models/components/customstepupsertdto.ts +8 -1
- package/src/models/components/delaycontroldto.ts +16 -8
- package/src/models/components/delaystepresponsedto.ts +16 -8
- package/src/models/components/delaystepupsertdto.ts +8 -1
- package/src/models/components/digeststepupsertdto.ts +8 -1
- package/src/models/components/digesttimedconfigdto.ts +7 -0
- package/src/models/components/duplicatelayoutdto.ts +7 -0
- package/src/models/components/emailstepupsertdto.ts +8 -1
- package/src/models/components/getmasterjsonresponsedto.ts +53 -0
- package/src/models/components/inappstepupsertdto.ts +8 -1
- package/src/models/components/layoutresponsedto.ts +7 -0
- package/src/models/components/pushstepupsertdto.ts +8 -1
- package/src/models/components/smsstepupsertdto.ts +8 -1
- package/src/models/components/throttlestepupsertdto.ts +8 -1
- package/src/models/components/topicpayloaddto.ts +7 -0
- package/src/models/components/translationgroupdto.ts +1 -0
- package/src/models/components/translationresponsedto.ts +1 -0
- package/src/models/components/uicomponentenum.ts +3 -1
- package/src/models/components/updatelayoutdto.ts +7 -0
- package/src/models/components/uploadtranslationsrequestdto.ts +1 -0
- package/src/models/components/workflowresponsedto.ts +1 -1
- package/src/models/operations/notificationscontrollerlistnotifications.ts +7 -0
- package/src/models/operations/translationcontrollerdeletetranslationendpoint.ts +1 -0
- package/src/models/operations/translationcontrollerdeletetranslationgroupendpoint.ts +1 -0
- package/src/models/operations/translationcontrollergetsingletranslation.ts +1 -0
- package/src/models/operations/translationcontrollergettranslationgroupendpoint.ts +1 -0
- package/src/sdk/groups.ts +1 -1
package/bin/mcp-server.js
CHANGED
|
@@ -34212,9 +34212,9 @@ var init_config = __esm(() => {
|
|
|
34212
34212
|
SDK_METADATA = {
|
|
34213
34213
|
language: "typescript",
|
|
34214
34214
|
openapiDocVersion: "3.9.0",
|
|
34215
|
-
sdkVersion: "1.7.
|
|
34216
|
-
genVersion: "2.
|
|
34217
|
-
userAgent: "speakeasy-sdk/typescript 1.7.
|
|
34215
|
+
sdkVersion: "1.7.1",
|
|
34216
|
+
genVersion: "2.721.3",
|
|
34217
|
+
userAgent: "speakeasy-sdk/typescript 1.7.1 2.721.3 3.9.0 @novu/api"
|
|
34218
34218
|
};
|
|
34219
34219
|
});
|
|
34220
34220
|
|
|
@@ -36284,7 +36284,8 @@ var init_digesttimedconfigdto = __esm(() => {
|
|
|
36284
36284
|
ordinal: OrdinalEnum$inboundSchema.optional(),
|
|
36285
36285
|
ordinalValue: OrdinalValueEnum$inboundSchema.optional(),
|
|
36286
36286
|
monthlyType: MonthlyTypeEnum$inboundSchema.optional(),
|
|
36287
|
-
cronExpression: stringType().optional()
|
|
36287
|
+
cronExpression: stringType().optional(),
|
|
36288
|
+
untilDate: stringType().optional()
|
|
36288
36289
|
});
|
|
36289
36290
|
DigestTimedConfigDto$outboundSchema = objectType({
|
|
36290
36291
|
atTime: stringType().optional(),
|
|
@@ -36293,7 +36294,8 @@ var init_digesttimedconfigdto = __esm(() => {
|
|
|
36293
36294
|
ordinal: OrdinalEnum$outboundSchema.optional(),
|
|
36294
36295
|
ordinalValue: OrdinalValueEnum$outboundSchema.optional(),
|
|
36295
36296
|
monthlyType: MonthlyTypeEnum$outboundSchema.optional(),
|
|
36296
|
-
cronExpression: stringType().optional()
|
|
36297
|
+
cronExpression: stringType().optional(),
|
|
36298
|
+
untilDate: stringType().optional()
|
|
36297
36299
|
});
|
|
36298
36300
|
((DigestTimedConfigDto$) => {
|
|
36299
36301
|
DigestTimedConfigDto$.inboundSchema = DigestTimedConfigDto$inboundSchema;
|
|
@@ -37188,11 +37190,13 @@ var init_topicpayloaddto = __esm(() => {
|
|
|
37188
37190
|
init_triggerrecipientstypeenum();
|
|
37189
37191
|
TopicPayloadDto$inboundSchema = objectType({
|
|
37190
37192
|
topicKey: stringType(),
|
|
37191
|
-
type: TriggerRecipientsTypeEnum$inboundSchema
|
|
37193
|
+
type: TriggerRecipientsTypeEnum$inboundSchema,
|
|
37194
|
+
exclude: arrayType(stringType()).optional()
|
|
37192
37195
|
});
|
|
37193
37196
|
TopicPayloadDto$outboundSchema = objectType({
|
|
37194
37197
|
topicKey: stringType(),
|
|
37195
|
-
type: TriggerRecipientsTypeEnum$outboundSchema
|
|
37198
|
+
type: TriggerRecipientsTypeEnum$outboundSchema,
|
|
37199
|
+
exclude: arrayType(stringType()).optional()
|
|
37196
37200
|
});
|
|
37197
37201
|
((TopicPayloadDto$) => {
|
|
37198
37202
|
TopicPayloadDto$.inboundSchema = TopicPayloadDto$inboundSchema;
|
|
@@ -37657,11 +37661,13 @@ var init_uicomponentenum = __esm(() => {
|
|
|
37657
37661
|
UrlTextBox: "URL_TEXT_BOX",
|
|
37658
37662
|
DigestAmount: "DIGEST_AMOUNT",
|
|
37659
37663
|
DigestUnit: "DIGEST_UNIT",
|
|
37664
|
+
DigestType: "DIGEST_TYPE",
|
|
37660
37665
|
DigestKey: "DIGEST_KEY",
|
|
37661
37666
|
DigestCron: "DIGEST_CRON",
|
|
37662
|
-
DelayType: "DELAY_TYPE",
|
|
37663
37667
|
DelayAmount: "DELAY_AMOUNT",
|
|
37664
37668
|
DelayUnit: "DELAY_UNIT",
|
|
37669
|
+
DelayType: "DELAY_TYPE",
|
|
37670
|
+
DelayCron: "DELAY_CRON",
|
|
37665
37671
|
ThrottleType: "THROTTLE_TYPE",
|
|
37666
37672
|
ThrottleWindow: "THROTTLE_WINDOW",
|
|
37667
37673
|
ThrottleUnit: "THROTTLE_UNIT",
|
|
@@ -37967,6 +37973,7 @@ var init_chatstepupsertdto = __esm(() => {
|
|
|
37967
37973
|
})(ChatStepUpsertDtoControlValues$ ||= {});
|
|
37968
37974
|
ChatStepUpsertDto$inboundSchema = objectType({
|
|
37969
37975
|
_id: stringType().optional(),
|
|
37976
|
+
stepId: stringType().optional(),
|
|
37970
37977
|
name: stringType(),
|
|
37971
37978
|
type: StepTypeEnum$inboundSchema,
|
|
37972
37979
|
controlValues: unionType([ChatControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -37977,6 +37984,7 @@ var init_chatstepupsertdto = __esm(() => {
|
|
|
37977
37984
|
});
|
|
37978
37985
|
ChatStepUpsertDto$outboundSchema = objectType({
|
|
37979
37986
|
id: stringType().optional(),
|
|
37987
|
+
stepId: stringType().optional(),
|
|
37980
37988
|
name: stringType(),
|
|
37981
37989
|
type: StepTypeEnum$outboundSchema,
|
|
37982
37990
|
controlValues: unionType([ChatControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -38304,6 +38312,7 @@ var init_createlayoutdto = __esm(() => {
|
|
|
38304
38312
|
CreateLayoutDto$inboundSchema = objectType({
|
|
38305
38313
|
layoutId: stringType(),
|
|
38306
38314
|
name: stringType(),
|
|
38315
|
+
isTranslationEnabled: booleanType().default(false),
|
|
38307
38316
|
__source: LayoutCreationSourceEnum$inboundSchema.default("dashboard")
|
|
38308
38317
|
}).transform((v2) => {
|
|
38309
38318
|
return remap(v2, {
|
|
@@ -38313,6 +38322,7 @@ var init_createlayoutdto = __esm(() => {
|
|
|
38313
38322
|
CreateLayoutDto$outboundSchema = objectType({
|
|
38314
38323
|
layoutId: stringType(),
|
|
38315
38324
|
name: stringType(),
|
|
38325
|
+
isTranslationEnabled: booleanType().default(false),
|
|
38316
38326
|
source: LayoutCreationSourceEnum$outboundSchema.default("dashboard")
|
|
38317
38327
|
}).transform((v2) => {
|
|
38318
38328
|
return remap(v2, {
|
|
@@ -38500,7 +38510,8 @@ var ResourceType, ResourceType$inboundSchema, ResourceType$outboundSchema, Resou
|
|
|
38500
38510
|
var init_createtranslationrequestdto = __esm(() => {
|
|
38501
38511
|
init_esm();
|
|
38502
38512
|
ResourceType = {
|
|
38503
|
-
Workflow: "workflow"
|
|
38513
|
+
Workflow: "workflow",
|
|
38514
|
+
Layout: "layout"
|
|
38504
38515
|
};
|
|
38505
38516
|
ResourceType$inboundSchema = nativeEnumType(ResourceType);
|
|
38506
38517
|
ResourceType$outboundSchema = ResourceType$inboundSchema;
|
|
@@ -38581,6 +38592,7 @@ var init_customstepupsertdto = __esm(() => {
|
|
|
38581
38592
|
})(CustomStepUpsertDtoControlValues$ ||= {});
|
|
38582
38593
|
CustomStepUpsertDto$inboundSchema = objectType({
|
|
38583
38594
|
_id: stringType().optional(),
|
|
38595
|
+
stepId: stringType().optional(),
|
|
38584
38596
|
name: stringType(),
|
|
38585
38597
|
type: StepTypeEnum$inboundSchema,
|
|
38586
38598
|
controlValues: unionType([CustomControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -38591,6 +38603,7 @@ var init_customstepupsertdto = __esm(() => {
|
|
|
38591
38603
|
});
|
|
38592
38604
|
CustomStepUpsertDto$outboundSchema = objectType({
|
|
38593
38605
|
id: stringType().optional(),
|
|
38606
|
+
stepId: stringType().optional(),
|
|
38594
38607
|
name: stringType(),
|
|
38595
38608
|
type: StepTypeEnum$outboundSchema,
|
|
38596
38609
|
controlValues: unionType([CustomControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -38610,7 +38623,8 @@ var Type, Unit, Type$inboundSchema, Type$outboundSchema, Type$, Unit$inboundSche
|
|
|
38610
38623
|
var init_delaycontroldto = __esm(() => {
|
|
38611
38624
|
init_esm();
|
|
38612
38625
|
Type = {
|
|
38613
|
-
Regular: "regular"
|
|
38626
|
+
Regular: "regular",
|
|
38627
|
+
Timed: "timed"
|
|
38614
38628
|
};
|
|
38615
38629
|
Unit = {
|
|
38616
38630
|
Seconds: "seconds",
|
|
@@ -38635,14 +38649,16 @@ var init_delaycontroldto = __esm(() => {
|
|
|
38635
38649
|
DelayControlDto$inboundSchema = objectType({
|
|
38636
38650
|
skip: recordType(anyType()).optional(),
|
|
38637
38651
|
type: Type$inboundSchema.default("regular"),
|
|
38638
|
-
amount: numberType(),
|
|
38639
|
-
unit: Unit$inboundSchema
|
|
38652
|
+
amount: numberType().optional(),
|
|
38653
|
+
unit: Unit$inboundSchema.optional(),
|
|
38654
|
+
cron: stringType().optional()
|
|
38640
38655
|
});
|
|
38641
38656
|
DelayControlDto$outboundSchema = objectType({
|
|
38642
38657
|
skip: recordType(anyType()).optional(),
|
|
38643
38658
|
type: Type$outboundSchema.default("regular"),
|
|
38644
|
-
amount: numberType(),
|
|
38645
|
-
unit: Unit$outboundSchema
|
|
38659
|
+
amount: numberType().optional(),
|
|
38660
|
+
unit: Unit$outboundSchema.optional(),
|
|
38661
|
+
cron: stringType().optional()
|
|
38646
38662
|
});
|
|
38647
38663
|
((DelayControlDto$) => {
|
|
38648
38664
|
DelayControlDto$.inboundSchema = DelayControlDto$inboundSchema;
|
|
@@ -38665,6 +38681,7 @@ var init_delaystepupsertdto = __esm(() => {
|
|
|
38665
38681
|
})(DelayStepUpsertDtoControlValues$ ||= {});
|
|
38666
38682
|
DelayStepUpsertDto$inboundSchema = objectType({
|
|
38667
38683
|
_id: stringType().optional(),
|
|
38684
|
+
stepId: stringType().optional(),
|
|
38668
38685
|
name: stringType(),
|
|
38669
38686
|
type: StepTypeEnum$inboundSchema,
|
|
38670
38687
|
controlValues: unionType([DelayControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -38675,6 +38692,7 @@ var init_delaystepupsertdto = __esm(() => {
|
|
|
38675
38692
|
});
|
|
38676
38693
|
DelayStepUpsertDto$outboundSchema = objectType({
|
|
38677
38694
|
id: stringType().optional(),
|
|
38695
|
+
stepId: stringType().optional(),
|
|
38678
38696
|
name: stringType(),
|
|
38679
38697
|
type: StepTypeEnum$outboundSchema,
|
|
38680
38698
|
controlValues: unionType([DelayControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -38789,6 +38807,7 @@ var init_digeststepupsertdto = __esm(() => {
|
|
|
38789
38807
|
})(DigestStepUpsertDtoControlValues$ ||= {});
|
|
38790
38808
|
DigestStepUpsertDto$inboundSchema = objectType({
|
|
38791
38809
|
_id: stringType().optional(),
|
|
38810
|
+
stepId: stringType().optional(),
|
|
38792
38811
|
name: stringType(),
|
|
38793
38812
|
type: StepTypeEnum$inboundSchema,
|
|
38794
38813
|
controlValues: unionType([DigestControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -38799,6 +38818,7 @@ var init_digeststepupsertdto = __esm(() => {
|
|
|
38799
38818
|
});
|
|
38800
38819
|
DigestStepUpsertDto$outboundSchema = objectType({
|
|
38801
38820
|
id: stringType().optional(),
|
|
38821
|
+
stepId: stringType().optional(),
|
|
38802
38822
|
name: stringType(),
|
|
38803
38823
|
type: StepTypeEnum$outboundSchema,
|
|
38804
38824
|
controlValues: unionType([DigestControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -38864,6 +38884,7 @@ var init_emailstepupsertdto = __esm(() => {
|
|
|
38864
38884
|
})(EmailStepUpsertDtoControlValues$ ||= {});
|
|
38865
38885
|
EmailStepUpsertDto$inboundSchema = objectType({
|
|
38866
38886
|
_id: stringType().optional(),
|
|
38887
|
+
stepId: stringType().optional(),
|
|
38867
38888
|
name: stringType(),
|
|
38868
38889
|
type: StepTypeEnum$inboundSchema,
|
|
38869
38890
|
controlValues: unionType([EmailControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -38874,6 +38895,7 @@ var init_emailstepupsertdto = __esm(() => {
|
|
|
38874
38895
|
});
|
|
38875
38896
|
EmailStepUpsertDto$outboundSchema = objectType({
|
|
38876
38897
|
id: stringType().optional(),
|
|
38898
|
+
stepId: stringType().optional(),
|
|
38877
38899
|
name: stringType(),
|
|
38878
38900
|
type: StepTypeEnum$outboundSchema,
|
|
38879
38901
|
controlValues: unionType([EmailControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -38937,6 +38959,7 @@ var init_inappstepupsertdto = __esm(() => {
|
|
|
38937
38959
|
})(InAppStepUpsertDtoControlValues$ ||= {});
|
|
38938
38960
|
InAppStepUpsertDto$inboundSchema = objectType({
|
|
38939
38961
|
_id: stringType().optional(),
|
|
38962
|
+
stepId: stringType().optional(),
|
|
38940
38963
|
name: stringType(),
|
|
38941
38964
|
type: StepTypeEnum$inboundSchema,
|
|
38942
38965
|
controlValues: unionType([InAppControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -38947,6 +38970,7 @@ var init_inappstepupsertdto = __esm(() => {
|
|
|
38947
38970
|
});
|
|
38948
38971
|
InAppStepUpsertDto$outboundSchema = objectType({
|
|
38949
38972
|
id: stringType().optional(),
|
|
38973
|
+
stepId: stringType().optional(),
|
|
38950
38974
|
name: stringType(),
|
|
38951
38975
|
type: StepTypeEnum$outboundSchema,
|
|
38952
38976
|
controlValues: unionType([InAppControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -39076,6 +39100,7 @@ var init_pushstepupsertdto = __esm(() => {
|
|
|
39076
39100
|
})(PushStepUpsertDtoControlValues$ ||= {});
|
|
39077
39101
|
PushStepUpsertDto$inboundSchema = objectType({
|
|
39078
39102
|
_id: stringType().optional(),
|
|
39103
|
+
stepId: stringType().optional(),
|
|
39079
39104
|
name: stringType(),
|
|
39080
39105
|
type: StepTypeEnum$inboundSchema,
|
|
39081
39106
|
controlValues: unionType([PushControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -39086,6 +39111,7 @@ var init_pushstepupsertdto = __esm(() => {
|
|
|
39086
39111
|
});
|
|
39087
39112
|
PushStepUpsertDto$outboundSchema = objectType({
|
|
39088
39113
|
id: stringType().optional(),
|
|
39114
|
+
stepId: stringType().optional(),
|
|
39089
39115
|
name: stringType(),
|
|
39090
39116
|
type: StepTypeEnum$outboundSchema,
|
|
39091
39117
|
controlValues: unionType([PushControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -39133,6 +39159,7 @@ var init_smsstepupsertdto = __esm(() => {
|
|
|
39133
39159
|
})(SmsStepUpsertDtoControlValues$ ||= {});
|
|
39134
39160
|
SmsStepUpsertDto$inboundSchema = objectType({
|
|
39135
39161
|
_id: stringType().optional(),
|
|
39162
|
+
stepId: stringType().optional(),
|
|
39136
39163
|
name: stringType(),
|
|
39137
39164
|
type: StepTypeEnum$inboundSchema,
|
|
39138
39165
|
controlValues: unionType([SmsControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -39143,6 +39170,7 @@ var init_smsstepupsertdto = __esm(() => {
|
|
|
39143
39170
|
});
|
|
39144
39171
|
SmsStepUpsertDto$outboundSchema = objectType({
|
|
39145
39172
|
id: stringType().optional(),
|
|
39173
|
+
stepId: stringType().optional(),
|
|
39146
39174
|
name: stringType(),
|
|
39147
39175
|
type: StepTypeEnum$outboundSchema,
|
|
39148
39176
|
controlValues: unionType([SmsControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -39221,6 +39249,7 @@ var init_throttlestepupsertdto = __esm(() => {
|
|
|
39221
39249
|
})(ThrottleStepUpsertDtoControlValues$ ||= {});
|
|
39222
39250
|
ThrottleStepUpsertDto$inboundSchema = objectType({
|
|
39223
39251
|
_id: stringType().optional(),
|
|
39252
|
+
stepId: stringType().optional(),
|
|
39224
39253
|
name: stringType(),
|
|
39225
39254
|
type: StepTypeEnum$inboundSchema,
|
|
39226
39255
|
controlValues: unionType([ThrottleControlDto$inboundSchema, recordType(anyType())]).optional()
|
|
@@ -39231,6 +39260,7 @@ var init_throttlestepupsertdto = __esm(() => {
|
|
|
39231
39260
|
});
|
|
39232
39261
|
ThrottleStepUpsertDto$outboundSchema = objectType({
|
|
39233
39262
|
id: stringType().optional(),
|
|
39263
|
+
stepId: stringType().optional(),
|
|
39234
39264
|
name: stringType(),
|
|
39235
39265
|
type: StepTypeEnum$outboundSchema,
|
|
39236
39266
|
controlValues: unionType([ThrottleControlDto$outboundSchema, recordType(anyType())]).optional()
|
|
@@ -39629,7 +39659,8 @@ var init_delaystepresponsedto = __esm(() => {
|
|
|
39629
39659
|
init_stepissuesdto();
|
|
39630
39660
|
init_steptypeenum();
|
|
39631
39661
|
DelayStepResponseDtoType = {
|
|
39632
|
-
Regular: "regular"
|
|
39662
|
+
Regular: "regular",
|
|
39663
|
+
Timed: "timed"
|
|
39633
39664
|
};
|
|
39634
39665
|
DelayStepResponseDtoUnit = {
|
|
39635
39666
|
Seconds: "seconds",
|
|
@@ -39654,14 +39685,16 @@ var init_delaystepresponsedto = __esm(() => {
|
|
|
39654
39685
|
DelayStepResponseDtoControlValues$inboundSchema = collectExtraKeys(objectType({
|
|
39655
39686
|
skip: recordType(anyType()).optional(),
|
|
39656
39687
|
type: DelayStepResponseDtoType$inboundSchema.default("regular"),
|
|
39657
|
-
amount: numberType(),
|
|
39658
|
-
unit: DelayStepResponseDtoUnit$inboundSchema
|
|
39688
|
+
amount: numberType().optional(),
|
|
39689
|
+
unit: DelayStepResponseDtoUnit$inboundSchema.optional(),
|
|
39690
|
+
cron: stringType().optional()
|
|
39659
39691
|
}).catchall(anyType()), "additionalProperties", true);
|
|
39660
39692
|
DelayStepResponseDtoControlValues$outboundSchema = objectType({
|
|
39661
39693
|
skip: recordType(anyType()).optional(),
|
|
39662
39694
|
type: DelayStepResponseDtoType$outboundSchema.default("regular"),
|
|
39663
|
-
amount: numberType(),
|
|
39664
|
-
unit: DelayStepResponseDtoUnit$outboundSchema,
|
|
39695
|
+
amount: numberType().optional(),
|
|
39696
|
+
unit: DelayStepResponseDtoUnit$outboundSchema.optional(),
|
|
39697
|
+
cron: stringType().optional(),
|
|
39665
39698
|
additionalProperties: recordType(anyType())
|
|
39666
39699
|
}).transform((v2) => {
|
|
39667
39700
|
return {
|
|
@@ -40168,10 +40201,12 @@ var DuplicateLayoutDto$inboundSchema, DuplicateLayoutDto$outboundSchema, Duplica
|
|
|
40168
40201
|
var init_duplicatelayoutdto = __esm(() => {
|
|
40169
40202
|
init_esm();
|
|
40170
40203
|
DuplicateLayoutDto$inboundSchema = objectType({
|
|
40171
|
-
name: stringType()
|
|
40204
|
+
name: stringType(),
|
|
40205
|
+
isTranslationEnabled: booleanType().default(false)
|
|
40172
40206
|
});
|
|
40173
40207
|
DuplicateLayoutDto$outboundSchema = objectType({
|
|
40174
|
-
name: stringType()
|
|
40208
|
+
name: stringType(),
|
|
40209
|
+
isTranslationEnabled: booleanType().default(false)
|
|
40175
40210
|
});
|
|
40176
40211
|
((DuplicateLayoutDto$) => {
|
|
40177
40212
|
DuplicateLayoutDto$.inboundSchema = DuplicateLayoutDto$inboundSchema;
|
|
@@ -40927,7 +40962,7 @@ var init_getlayoutusageresponsedto = __esm(() => {
|
|
|
40927
40962
|
});
|
|
40928
40963
|
|
|
40929
40964
|
// src/models/components/getmasterjsonresponsedto.ts
|
|
40930
|
-
var Workflows$inboundSchema, Workflows$outboundSchema, Workflows$, GetMasterJsonResponseDto$inboundSchema, GetMasterJsonResponseDto$outboundSchema, GetMasterJsonResponseDto$;
|
|
40965
|
+
var Workflows$inboundSchema, Workflows$outboundSchema, Workflows$, Layouts$inboundSchema, Layouts$outboundSchema, Layouts$, GetMasterJsonResponseDto$inboundSchema, GetMasterJsonResponseDto$outboundSchema, GetMasterJsonResponseDto$;
|
|
40931
40966
|
var init_getmasterjsonresponsedto = __esm(() => {
|
|
40932
40967
|
init_esm();
|
|
40933
40968
|
Workflows$inboundSchema = objectType({});
|
|
@@ -40936,11 +40971,19 @@ var init_getmasterjsonresponsedto = __esm(() => {
|
|
|
40936
40971
|
Workflows$.inboundSchema = Workflows$inboundSchema;
|
|
40937
40972
|
Workflows$.outboundSchema = Workflows$outboundSchema;
|
|
40938
40973
|
})(Workflows$ ||= {});
|
|
40974
|
+
Layouts$inboundSchema = objectType({});
|
|
40975
|
+
Layouts$outboundSchema = objectType({});
|
|
40976
|
+
((Layouts$) => {
|
|
40977
|
+
Layouts$.inboundSchema = Layouts$inboundSchema;
|
|
40978
|
+
Layouts$.outboundSchema = Layouts$outboundSchema;
|
|
40979
|
+
})(Layouts$ ||= {});
|
|
40939
40980
|
GetMasterJsonResponseDto$inboundSchema = objectType({
|
|
40940
|
-
workflows: lazyType(() => Workflows$inboundSchema)
|
|
40981
|
+
workflows: lazyType(() => Workflows$inboundSchema),
|
|
40982
|
+
layouts: lazyType(() => Layouts$inboundSchema)
|
|
40941
40983
|
});
|
|
40942
40984
|
GetMasterJsonResponseDto$outboundSchema = objectType({
|
|
40943
|
-
workflows: lazyType(() => Workflows$outboundSchema)
|
|
40985
|
+
workflows: lazyType(() => Workflows$outboundSchema),
|
|
40986
|
+
layouts: lazyType(() => Layouts$outboundSchema)
|
|
40944
40987
|
});
|
|
40945
40988
|
((GetMasterJsonResponseDto$) => {
|
|
40946
40989
|
GetMasterJsonResponseDto$.inboundSchema = GetMasterJsonResponseDto$inboundSchema;
|
|
@@ -41677,6 +41720,7 @@ var init_layoutresponsedto = __esm(() => {
|
|
|
41677
41720
|
slug: stringType(),
|
|
41678
41721
|
name: stringType(),
|
|
41679
41722
|
isDefault: booleanType(),
|
|
41723
|
+
isTranslationEnabled: booleanType(),
|
|
41680
41724
|
updatedAt: stringType(),
|
|
41681
41725
|
updatedBy: nullableType(lazyType(() => UpdatedBy$inboundSchema)).optional(),
|
|
41682
41726
|
createdAt: stringType(),
|
|
@@ -41695,6 +41739,7 @@ var init_layoutresponsedto = __esm(() => {
|
|
|
41695
41739
|
slug: stringType(),
|
|
41696
41740
|
name: stringType(),
|
|
41697
41741
|
isDefault: booleanType(),
|
|
41742
|
+
isTranslationEnabled: booleanType(),
|
|
41698
41743
|
updatedAt: stringType(),
|
|
41699
41744
|
updatedBy: nullableType(lazyType(() => UpdatedBy$outboundSchema)).optional(),
|
|
41700
41745
|
createdAt: stringType(),
|
|
@@ -43435,7 +43480,8 @@ var TranslationGroupDtoResourceType, TranslationGroupDtoResourceType$inboundSche
|
|
|
43435
43480
|
var init_translationgroupdto = __esm(() => {
|
|
43436
43481
|
init_esm();
|
|
43437
43482
|
TranslationGroupDtoResourceType = {
|
|
43438
|
-
Workflow: "workflow"
|
|
43483
|
+
Workflow: "workflow",
|
|
43484
|
+
Layout: "layout"
|
|
43439
43485
|
};
|
|
43440
43486
|
TranslationGroupDtoResourceType$inboundSchema = nativeEnumType(TranslationGroupDtoResourceType);
|
|
43441
43487
|
TranslationGroupDtoResourceType$outboundSchema = TranslationGroupDtoResourceType$inboundSchema;
|
|
@@ -43472,7 +43518,8 @@ var TranslationResponseDtoResourceType, TranslationResponseDtoResourceType$inbou
|
|
|
43472
43518
|
var init_translationresponsedto = __esm(() => {
|
|
43473
43519
|
init_esm();
|
|
43474
43520
|
TranslationResponseDtoResourceType = {
|
|
43475
|
-
Workflow: "workflow"
|
|
43521
|
+
Workflow: "workflow",
|
|
43522
|
+
Layout: "layout"
|
|
43476
43523
|
};
|
|
43477
43524
|
TranslationResponseDtoResourceType$inboundSchema = nativeEnumType(TranslationResponseDtoResourceType);
|
|
43478
43525
|
TranslationResponseDtoResourceType$outboundSchema = TranslationResponseDtoResourceType$inboundSchema;
|
|
@@ -43742,10 +43789,12 @@ var init_updatelayoutdto = __esm(() => {
|
|
|
43742
43789
|
})(ControlValues$ ||= {});
|
|
43743
43790
|
UpdateLayoutDto$inboundSchema = objectType({
|
|
43744
43791
|
name: stringType(),
|
|
43792
|
+
isTranslationEnabled: booleanType().default(false),
|
|
43745
43793
|
controlValues: nullableType(lazyType(() => ControlValues$inboundSchema)).optional()
|
|
43746
43794
|
});
|
|
43747
43795
|
UpdateLayoutDto$outboundSchema = objectType({
|
|
43748
43796
|
name: stringType(),
|
|
43797
|
+
isTranslationEnabled: booleanType().default(false),
|
|
43749
43798
|
controlValues: nullableType(lazyType(() => ControlValues$outboundSchema)).optional()
|
|
43750
43799
|
});
|
|
43751
43800
|
((UpdateLayoutDto$) => {
|
|
@@ -43948,7 +43997,8 @@ var UploadTranslationsRequestDtoResourceType, UploadTranslationsRequestDtoResour
|
|
|
43948
43997
|
var init_uploadtranslationsrequestdto = __esm(() => {
|
|
43949
43998
|
init_esm();
|
|
43950
43999
|
UploadTranslationsRequestDtoResourceType = {
|
|
43951
|
-
Workflow: "workflow"
|
|
44000
|
+
Workflow: "workflow",
|
|
44001
|
+
Layout: "layout"
|
|
43952
44002
|
};
|
|
43953
44003
|
UploadTranslationsRequestDtoResourceType$inboundSchema = nativeEnumType(UploadTranslationsRequestDtoResourceType);
|
|
43954
44004
|
UploadTranslationsRequestDtoResourceType$outboundSchema = UploadTranslationsRequestDtoResourceType$inboundSchema;
|
|
@@ -46466,6 +46516,7 @@ var init_notificationscontrollerlistnotifications = __esm(() => {
|
|
|
46466
46516
|
limit: numberType().default(10),
|
|
46467
46517
|
transactionId: stringType().optional(),
|
|
46468
46518
|
topicKey: stringType().optional(),
|
|
46519
|
+
contextSearch: stringType().optional(),
|
|
46469
46520
|
after: stringType().optional(),
|
|
46470
46521
|
before: stringType().optional(),
|
|
46471
46522
|
"idempotency-key": stringType().optional()
|
|
@@ -46485,6 +46536,7 @@ var init_notificationscontrollerlistnotifications = __esm(() => {
|
|
|
46485
46536
|
limit: numberType().default(10),
|
|
46486
46537
|
transactionId: stringType().optional(),
|
|
46487
46538
|
topicKey: stringType().optional(),
|
|
46539
|
+
contextSearch: stringType().optional(),
|
|
46488
46540
|
after: stringType().optional(),
|
|
46489
46541
|
before: stringType().optional(),
|
|
46490
46542
|
idempotencyKey: stringType().optional()
|
|
@@ -48145,7 +48197,8 @@ var init_translationcontrollerdeletetranslationendpoint = __esm(() => {
|
|
|
48145
48197
|
init_esm();
|
|
48146
48198
|
init_primitives();
|
|
48147
48199
|
TranslationControllerDeleteTranslationEndpointPathParamResourceType = {
|
|
48148
|
-
Workflow: "workflow"
|
|
48200
|
+
Workflow: "workflow",
|
|
48201
|
+
Layout: "layout"
|
|
48149
48202
|
};
|
|
48150
48203
|
TranslationControllerDeleteTranslationEndpointPathParamResourceType$inboundSchema = nativeEnumType(TranslationControllerDeleteTranslationEndpointPathParamResourceType);
|
|
48151
48204
|
TranslationControllerDeleteTranslationEndpointPathParamResourceType$outboundSchema = TranslationControllerDeleteTranslationEndpointPathParamResourceType$inboundSchema;
|
|
@@ -48185,7 +48238,8 @@ var init_translationcontrollerdeletetranslationgroupendpoint = __esm(() => {
|
|
|
48185
48238
|
init_esm();
|
|
48186
48239
|
init_primitives();
|
|
48187
48240
|
ResourceType2 = {
|
|
48188
|
-
Workflow: "workflow"
|
|
48241
|
+
Workflow: "workflow",
|
|
48242
|
+
Layout: "layout"
|
|
48189
48243
|
};
|
|
48190
48244
|
ResourceType$inboundSchema2 = nativeEnumType(ResourceType2);
|
|
48191
48245
|
ResourceType$outboundSchema2 = ResourceType$inboundSchema2;
|
|
@@ -48250,7 +48304,8 @@ var init_translationcontrollergetsingletranslation = __esm(() => {
|
|
|
48250
48304
|
init_esm();
|
|
48251
48305
|
init_primitives();
|
|
48252
48306
|
PathParamResourceType = {
|
|
48253
|
-
Workflow: "workflow"
|
|
48307
|
+
Workflow: "workflow",
|
|
48308
|
+
Layout: "layout"
|
|
48254
48309
|
};
|
|
48255
48310
|
PathParamResourceType$inboundSchema = nativeEnumType(PathParamResourceType);
|
|
48256
48311
|
PathParamResourceType$outboundSchema = PathParamResourceType$inboundSchema;
|
|
@@ -48290,7 +48345,8 @@ var init_translationcontrollergettranslationgroupendpoint = __esm(() => {
|
|
|
48290
48345
|
init_esm();
|
|
48291
48346
|
init_primitives();
|
|
48292
48347
|
TranslationControllerGetTranslationGroupEndpointPathParamResourceType = {
|
|
48293
|
-
Workflow: "workflow"
|
|
48348
|
+
Workflow: "workflow",
|
|
48349
|
+
Layout: "layout"
|
|
48294
48350
|
};
|
|
48295
48351
|
TranslationControllerGetTranslationGroupEndpointPathParamResourceType$inboundSchema = nativeEnumType(TranslationControllerGetTranslationGroupEndpointPathParamResourceType);
|
|
48296
48352
|
TranslationControllerGetTranslationGroupEndpointPathParamResourceType$outboundSchema = TranslationControllerGetTranslationGroupEndpointPathParamResourceType$inboundSchema;
|
|
@@ -52446,6 +52502,7 @@ async function $do26(client, request, options) {
|
|
|
52446
52502
|
after: payload.after,
|
|
52447
52503
|
before: payload.before,
|
|
52448
52504
|
channels: payload.channels,
|
|
52505
|
+
contextSearch: payload.contextSearch,
|
|
52449
52506
|
emails: payload.emails,
|
|
52450
52507
|
limit: payload.limit,
|
|
52451
52508
|
page: payload.page,
|
|
@@ -57226,7 +57283,7 @@ var init_translationsGroupsRetrieve2 = __esm(() => {
|
|
|
57226
57283
|
name: "translations-groups-retrieve",
|
|
57227
57284
|
description: `Retrieve a translation group
|
|
57228
57285
|
|
|
57229
|
-
Retrieves a single translation group by resource type (workflow) and resource ID (workflowId)`,
|
|
57286
|
+
Retrieves a single translation group by resource type (workflow, layout) and resource ID (workflowId, layoutId)`,
|
|
57230
57287
|
args: args59,
|
|
57231
57288
|
tool: async (client, args60, ctx) => {
|
|
57232
57289
|
const [result, apiCall] = await translationsGroupsRetrieve(client, args60.resourceType, args60.resourceId, args60.idempotencyKey, { fetchOptions: { signal: ctx.signal } }).$inspect();
|
|
@@ -59402,7 +59459,7 @@ Updates the details of an existing workflow, here **workflowId** is the identifi
|
|
|
59402
59459
|
function createMCPServer(deps) {
|
|
59403
59460
|
const server = new McpServer({
|
|
59404
59461
|
name: "Novu",
|
|
59405
|
-
version: "1.7.
|
|
59462
|
+
version: "1.7.1"
|
|
59406
59463
|
});
|
|
59407
59464
|
const client = new NovuCore({
|
|
59408
59465
|
secretKey: deps.secretKey,
|
|
@@ -60750,7 +60807,7 @@ var routes = rn({
|
|
|
60750
60807
|
var app = Ve(routes, {
|
|
60751
60808
|
name: "mcp",
|
|
60752
60809
|
versionInfo: {
|
|
60753
|
-
currentVersion: "1.7.
|
|
60810
|
+
currentVersion: "1.7.1"
|
|
60754
60811
|
}
|
|
60755
60812
|
});
|
|
60756
60813
|
_t(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -60758,5 +60815,5 @@ export {
|
|
|
60758
60815
|
app
|
|
60759
60816
|
};
|
|
60760
60817
|
|
|
60761
|
-
//# debugId=
|
|
60818
|
+
//# debugId=A7B9A7AD29E1129064756E2164756E21
|
|
60762
60819
|
//# sourceMappingURL=mcp-server.js.map
|