@novu/framework 2.13.2-rc.dc9caee828 → 2.14.0-rc.5ea799b171
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/dist/cjs/{agent.types-crcJBtCy.d.cts → agent.types-ButmIWLf.d.cts} +260 -22
- package/dist/cjs/ai-sdk/index.cjs +2 -2
- package/dist/cjs/ai-sdk/index.d.cts +4 -2
- package/dist/cjs/cards.cjs +60 -52
- package/dist/cjs/cards.d.cts +1 -1
- package/dist/cjs/{health-check.types-C2XZ-Tpt.d.cts → health-check.types-w3F_4NHh.d.cts} +2 -2
- package/dist/cjs/{index-DVSB455a.d.cts → index-tLP27-lJ.d.cts} +3 -3
- package/dist/cjs/index.cjs +134 -126
- package/dist/cjs/index.d.cts +5 -5
- package/dist/cjs/internal/index.cjs +52 -44
- package/dist/cjs/internal/index.d.cts +154 -27
- package/dist/cjs/jsx-dev-runtime.cjs +1 -1
- package/dist/cjs/jsx-runtime.cjs +1 -1
- package/dist/cjs/langchain/index.cjs +2 -2
- package/dist/cjs/langchain/index.d.cts +4 -2
- package/dist/cjs/servers/express.cjs +138 -130
- package/dist/cjs/servers/express.d.cts +6 -6
- package/dist/cjs/servers/h3.cjs +137 -129
- package/dist/cjs/servers/h3.d.cts +6 -6
- package/dist/cjs/servers/hono.cjs +138 -130
- package/dist/cjs/servers/hono.d.cts +6 -6
- package/dist/cjs/servers/lambda.cjs +138 -130
- package/dist/cjs/servers/lambda.d.cts +6 -6
- package/dist/cjs/servers/nest.cjs +131 -123
- package/dist/cjs/servers/nest.d.cts +8 -8
- package/dist/cjs/servers/next.cjs +137 -129
- package/dist/cjs/servers/next.d.cts +6 -6
- package/dist/cjs/servers/nuxt.cjs +137 -129
- package/dist/cjs/servers/nuxt.d.cts +6 -6
- package/dist/cjs/servers/remix.cjs +138 -130
- package/dist/cjs/servers/remix.d.cts +6 -6
- package/dist/cjs/servers/sveltekit.cjs +138 -130
- package/dist/cjs/servers/sveltekit.d.cts +6 -6
- package/dist/cjs/step-resolver.cjs +4 -4
- package/dist/cjs/step-resolver.d.cts +2 -2
- package/dist/cjs/{subscriber.types-BanvmGul.d.cts → subscriber.types-PYzkmyuf.d.cts} +248 -0
- package/dist/esm/{agent.types-DFLG1_vb.d.ts → agent.types-C9T8i5SY.d.ts} +260 -22
- package/dist/esm/ai-sdk/index.d.ts +4 -2
- package/dist/esm/ai-sdk/index.js +1 -1
- package/dist/esm/cards.d.ts +1 -1
- package/dist/esm/cards.js +1 -1
- package/dist/esm/chunk-2ANSU3EI.js +1 -0
- package/dist/esm/chunk-5DVHK5DS.js +1 -0
- package/dist/esm/{chunk-IREH6K2M.js → chunk-E54LXWY3.js} +4 -4
- package/dist/esm/chunk-H3BQFYPR.js +0 -0
- package/dist/esm/{chunk-RBTQQ5IZ.js → chunk-ICOHH7TO.js} +23 -15
- package/dist/esm/chunk-IHERFGZC.js +36 -0
- package/dist/esm/chunk-JWRKOFAS.js +98 -0
- package/dist/esm/{health-check.types-DORn4djx.d.ts → health-check.types-Dp-fsCai.d.ts} +2 -2
- package/dist/esm/{index-BvRGmHFw.d.ts → index-DBKGOU-x.d.ts} +3 -3
- package/dist/esm/index.d.ts +5 -5
- package/dist/esm/index.js +1 -1
- package/dist/esm/internal/index.d.ts +154 -27
- package/dist/esm/internal/index.js +1 -1
- package/dist/esm/jsx-dev-runtime.js +1 -1
- package/dist/esm/{jsx-runtime-5ZWEWA4A.js → jsx-runtime-MFTS7BPV.js} +1 -1
- package/dist/esm/jsx-runtime.js +1 -1
- package/dist/esm/langchain/index.d.ts +4 -2
- package/dist/esm/langchain/index.js +1 -1
- package/dist/esm/servers/express.d.ts +6 -6
- package/dist/esm/servers/express.js +1 -1
- package/dist/esm/servers/h3.d.ts +6 -6
- package/dist/esm/servers/h3.js +1 -1
- package/dist/esm/servers/hono.d.ts +6 -6
- package/dist/esm/servers/hono.js +1 -1
- package/dist/esm/servers/lambda.d.ts +6 -6
- package/dist/esm/servers/lambda.js +1 -1
- package/dist/esm/servers/nest.d.ts +8 -8
- package/dist/esm/servers/nest.js +1 -1
- package/dist/esm/servers/next.d.ts +6 -6
- package/dist/esm/servers/next.js +1 -1
- package/dist/esm/servers/nuxt.d.ts +6 -6
- package/dist/esm/servers/nuxt.js +1 -1
- package/dist/esm/servers/remix.d.ts +6 -6
- package/dist/esm/servers/remix.js +1 -1
- package/dist/esm/servers/sveltekit.d.ts +6 -6
- package/dist/esm/servers/sveltekit.js +1 -1
- package/dist/esm/step-resolver.d.ts +2 -2
- package/dist/esm/step-resolver.js +1 -1
- package/dist/esm/{subscriber.types-Drf26WPA.d.ts → subscriber.types-UA_2pkYJ.d.ts} +248 -0
- package/package.json +3 -3
- package/dist/esm/chunk-4ETX7FIT.js +0 -1
- package/dist/esm/chunk-BXKRUYUB.js +0 -98
- package/dist/esm/chunk-PU74XQ2P.js +0 -1
- package/dist/esm/chunk-X5AZIKIR.js +0 -36
- /package/dist/esm/{chunk-7C3QBYLB.js → chunk-FOODV6YZ.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { I as INovuRequestHandlerOptions, N as NovuRequestHandler, S as ServeHandlerOptions, C as Client } from '../index-
|
|
2
|
-
export { a as agent, i as isFromWorkflow, w as workflow } from '../index-
|
|
3
|
-
import { W as Workflow } from '../health-check.types-
|
|
4
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum } from '../health-check.types-
|
|
5
|
-
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Image, ImageElement, Select, SelectOption, TextInput } from 'chat';
|
|
6
|
-
import { A as Agent } from '../agent.types-
|
|
7
|
-
export { a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as
|
|
1
|
+
import { I as INovuRequestHandlerOptions, N as NovuRequestHandler, S as ServeHandlerOptions, C as Client } from '../index-DBKGOU-x.js';
|
|
2
|
+
export { a as agent, i as isFromWorkflow, w as workflow } from '../index-DBKGOU-x.js';
|
|
3
|
+
import { W as Workflow } from '../health-check.types-Dp-fsCai.js';
|
|
4
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum } from '../health-check.types-Dp-fsCai.js';
|
|
5
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Chart, ChartElement, Divider, Image, ImageElement, LinkButton, LinkButtonElement, Select, SelectOption, Table, TableElement, TextInput } from 'chat';
|
|
6
|
+
import { A as Agent } from '../agent.types-C9T8i5SY.js';
|
|
7
|
+
export { a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as AgentMessageDeletedContext, r as AgentMessageUpdatedContext, s as AgentNotification, t as AgentPlatformContext, u as AgentReaction, v as AgentReactionContext, w as AgentResolveContext, x as AgentSubscriber, y as AgentSubscriberAccess, z as AgentToolCall, F as FileRef, H as HumanAskApproveOptions, B as HumanChooseOptions, C as HumanInteractionKind, D as HumanTellOptions, M as MessageContent, R as ReplyHandle, T as ToolApprovalCard, E as ToolApprovalConfig, G as ToolApprovalDecision, I as toAgentError } from '../agent.types-C9T8i5SY.js';
|
|
8
8
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, ToolStepResolver, step } from '../step-resolver.js';
|
|
9
|
-
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
9
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-UA_2pkYJ.js';
|
|
10
10
|
import { Request, Response } from 'express';
|
|
11
11
|
import { S as SupportedFrameworkName } from '../server.types-Cc6o5eYH.js';
|
|
12
12
|
import { VercelRequest, VercelResponse } from '@vercel/node';
|
package/dist/esm/servers/nest.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as ee,c as P,d as se,e as ne}from"../chunk-JWRKOFAS.js";import"../chunk-H3BQFYPR.js";import{a as ie}from"../chunk-YLCLZVYS.js";import"../chunk-XIVU4VDS.js";import{R as re,S as te,T as oe,X as ae}from"../chunk-2ANSU3EI.js";import{a as j,b as F,c as L,d as V,e as U,f as k,g as B,j as $,k as K,m as z,q as J,r as Q,s as W}from"../chunk-IHERFGZC.js";import"../chunk-ICOHH7TO.js";import{a as pe}from"../chunk-E54LXWY3.js";import{f as X}from"../chunk-VY27ZAO7.js";import{c as Z}from"../chunk-5DVHK5DS.js";import{d as n,e as i}from"../chunk-FHYMHX3T.js";import{Inject as N,Injectable as H}from"@nestjs/common";import{ConfigurableModuleBuilder as x}from"@nestjs/common";var{ConfigurableModuleClass:u,MODULE_OPTIONS_TOKEN:m,OPTIONS_TYPE:le,ASYNC_OPTIONS_TYPE:me}=new x().setClassMethodName("register").setFactoryMethodName("createNovuModuleOptions").setExtras(o=>({...o,isGlobal:!0})).build();var h="REGISTER_API_PATH",E="REGISTER_CONTROLLER_DECORATORS";import{Injectable as A}from"@nestjs/common";var c=class{handler(e,r){return{body:()=>e.body,headers:t=>{let a=e.headers[t.toLowerCase()];return Array.isArray(a)?a[0]:a},method:()=>e.method||"GET",queryString:t=>{let a=e.query[t];return Array.isArray(a)?a[0]:a},url:()=>{let t=e.headers.host||"",a=t!=null&&t.includes("://")?"":`${e.protocol||"https"}://`;return new URL(e.originalUrl||e.url||"",`${a}${t||""}`)},transformResponse:({body:t,headers:a,status:y})=>(Object.entries(a).forEach(([I,_])=>{r.setHeader(I,_)}),r.status(y).send(t))}}};c=n([A()],c);var q="nest",l=class{constructor(e,r){this.options=e;this.novuHandler=r;this.novuRequestHandler=new P({frameworkName:q,...this.options,handler:this.novuHandler.handler})}async handleRequest(e,r){await this.novuRequestHandler.createHandler()(e,r)}};l=n([H(),i(0,N(m)),i(1,N(c))],l);import{Controller as M,Get as D,Inject as C,Options as b,Post as w,Req as f,Res as O}from"@nestjs/common";var p=class{constructor(e){this.novuService=e}async handleGet(e,r){await this.novuService.handleRequest(e,r)}async handlePost(e,r){await this.novuService.handleRequest(e,r)}async handleOptions(e,r){await this.novuService.handleRequest(e,r)}};n([D(),i(0,f()),i(1,O())],p.prototype,"handleGet",1),n([w(),i(0,f()),i(1,O())],p.prototype,"handlePost",1),n([b(),i(0,f()),i(1,O())],p.prototype,"handleOptions",1),p=n([M(),i(0,C(l))],p);import{Module as G}from"@nestjs/common";import{PATH_METADATA as Y}from"@nestjs/common/constants";var R={provide:h,useFactory:o=>{if(!o.apiPath)throw new Error("`apiPath` must be provided to set the controller path");Reflect.defineMetadata(Y,o.apiPath,p)},inject:[m]};function T(o,e=[]){return e.reduce((r,s)=>{let t=s(r);return t!=null?t:r},o)}function g(o,e){var r;for(let s of(r=Reflect.getMetadataKeys(o))!=null?r:[])Reflect.defineMetadata(s,Reflect.getMetadata(s,o),e)}function S(o,e=[]){let r=T(o,e);r!==o&&g(r,o)}var v={provide:E,useFactory:o=>{var e;S(p,(e=o.controllerDecorators)!=null?e:[])},inject:[m]};var d=class extends u{static register(e,r){var t;let s=u.register(e);return s.controllers=[T(p,e.controllerDecorators||[])],(t=s.providers)==null||t.push(R,l,c,...r||[]),s.exports=[l,c],s}static registerAsync(e,r){var t;let s=u.registerAsync(e);return s.controllers=[p],(t=s.providers)==null||t.push(R,v,l,c,...r||[]),s.exports=[l,c],s}};d=n([G({})],d);export{j as Actions,te as AgentDeliveryError,re as AgentError,F as Button,L as Card,V as CardLink,U as CardText,k as Chart,ee as Client,X as CronExpression,B as Divider,$ as Image,K as LinkButton,m as NOVU_OPTIONS,l as NovuClient,p as NovuController,c as NovuHandler,d as NovuModule,P as NovuRequestHandler,h as REGISTER_API_PATH,E as REGISTER_CONTROLLER_DECORATORS,J as Select,Q as SelectOption,ae as SeverityLevelEnum,z as Table,W as TextInput,se as agent,q as frameworkName,Z as isFromWorkflow,pe as providerSchemas,R as registerApiPath,v as registerControllerDecorators,ie as step,oe as toAgentError,ne as workflow};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { NextRequest } from 'next/server';
|
|
2
|
-
import { S as ServeHandlerOptions } from '../index-
|
|
3
|
-
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-
|
|
4
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-
|
|
5
|
-
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
2
|
+
import { S as ServeHandlerOptions } from '../index-DBKGOU-x.js';
|
|
3
|
+
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-DBKGOU-x.js';
|
|
4
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-Dp-fsCai.js';
|
|
5
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-UA_2pkYJ.js';
|
|
6
6
|
import { S as SupportedFrameworkName } from '../server.types-Cc6o5eYH.js';
|
|
7
|
-
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Image, ImageElement, Select, SelectOption, TextInput } from 'chat';
|
|
8
|
-
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as
|
|
7
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Chart, ChartElement, Divider, Image, ImageElement, LinkButton, LinkButtonElement, Select, SelectOption, Table, TableElement, TextInput } from 'chat';
|
|
8
|
+
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as AgentMessageDeletedContext, r as AgentMessageUpdatedContext, s as AgentNotification, t as AgentPlatformContext, u as AgentReaction, v as AgentReactionContext, w as AgentResolveContext, x as AgentSubscriber, y as AgentSubscriberAccess, z as AgentToolCall, F as FileRef, H as HumanAskApproveOptions, B as HumanChooseOptions, C as HumanInteractionKind, D as HumanTellOptions, M as MessageContent, R as ReplyHandle, T as ToolApprovalCard, E as ToolApprovalConfig, G as ToolApprovalDecision, I as toAgentError } from '../agent.types-C9T8i5SY.js';
|
|
9
9
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, ToolStepResolver, step } from '../step-resolver.js';
|
|
10
10
|
import '../util.types-DaFfsxgy.js';
|
|
11
11
|
import '../base.schema.types-BApIn9jr.js';
|
package/dist/esm/servers/next.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as c,b as
|
|
1
|
+
import{a as c,b as I,c as f,d as V,e as z}from"../chunk-JWRKOFAS.js";import"../chunk-H3BQFYPR.js";import{a as B}from"../chunk-YLCLZVYS.js";import"../chunk-XIVU4VDS.js";import{R as L,S as $,T as D,X as _}from"../chunk-2ANSU3EI.js";import{a as S,b as q,c as w,d as P,e as T,f as v,g as A,j as E,k as b,m as g,q as F,r as U,s as k}from"../chunk-IHERFGZC.js";import"../chunk-ICOHH7TO.js";import{a as W}from"../chunk-E54LXWY3.js";import{f as j}from"../chunk-VY27ZAO7.js";import{c as G}from"../chunk-5DVHK5DS.js";import"../chunk-FHYMHX3T.js";import*as l from"next/server.js";var N="next",y=()=>{if(typeof l.after=="function")return r=>{try{l.after(r)}catch{}}},H=r=>typeof r=="object"&&r!==null&&typeof r.setHeader=="function"&&typeof r.status=="function"&&typeof r.send=="function",K=r=>{let i=new f({frameworkName:N,...r,handler:(h,R,d)=>{let n=R,p=e=>{let t=typeof n.headers.get=="function"?n.headers.get(e):n.headers[e];return Array.isArray(t)?t[0]:t};return{body:()=>typeof n.json=="function"?n.json():n.body,waitUntil:y(),headers:p,method:()=>h||n.method||"",queryString:(e,t)=>{var a;let o=((a=n.query)==null?void 0:a[e])||t.searchParams.get(e);return Array.isArray(o)?o[0]:o},url:()=>{let e;try{e=new URL(n.url)}catch{}if(e){let s=p("host");if(s){let u=new URL(s.includes("://")?s:`${e.protocol}//${s}`);e.protocol=u.protocol,e.host=u.host,e.port=u.port,e.username=u.username,e.password=u.password}return e}let t="https",o=p("host")||"";try{(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="dev")&&(t="http")}catch{}return new URL(n.url,`${t}://${o}`)},transformResponse:({body:e,headers:t,status:o})=>{if(H(d)){Object.entries(t).forEach(([s,u])=>{d.setHeader(s,u)}),d.status(o).send(e);return}let a=c();return new a(e,{status:o,headers:t})}}}}).createHandler(),m=i.bind(null,void 0);return Object.defineProperties(m,{GET:{value:i.bind(null,"GET")},POST:{value:i.bind(null,"POST")},OPTIONS:{value:i.bind(null,"OPTIONS")}})};export{S as Actions,$ as AgentDeliveryError,L as AgentError,q as Button,w as Card,P as CardLink,T as CardText,v as Chart,I as Client,j as CronExpression,A as Divider,E as Image,b as LinkButton,f as NovuRequestHandler,F as Select,U as SelectOption,_ as SeverityLevelEnum,g as Table,k as TextInput,V as agent,N as frameworkName,G as isFromWorkflow,W as providerSchemas,K as serve,B as step,D as toAgentError,z as workflow};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import * as h3 from 'h3';
|
|
2
2
|
import { H3Event } from 'h3';
|
|
3
|
-
import { S as ServeHandlerOptions } from '../index-
|
|
4
|
-
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-
|
|
5
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-
|
|
6
|
-
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
3
|
+
import { S as ServeHandlerOptions } from '../index-DBKGOU-x.js';
|
|
4
|
+
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-DBKGOU-x.js';
|
|
5
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-Dp-fsCai.js';
|
|
6
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-UA_2pkYJ.js';
|
|
7
7
|
import { S as SupportedFrameworkName } from '../server.types-Cc6o5eYH.js';
|
|
8
|
-
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Image, ImageElement, Select, SelectOption, TextInput } from 'chat';
|
|
9
|
-
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as
|
|
8
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Chart, ChartElement, Divider, Image, ImageElement, LinkButton, LinkButtonElement, Select, SelectOption, Table, TableElement, TextInput } from 'chat';
|
|
9
|
+
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as AgentMessageDeletedContext, r as AgentMessageUpdatedContext, s as AgentNotification, t as AgentPlatformContext, u as AgentReaction, v as AgentReactionContext, w as AgentResolveContext, x as AgentSubscriber, y as AgentSubscriberAccess, z as AgentToolCall, F as FileRef, H as HumanAskApproveOptions, B as HumanChooseOptions, C as HumanInteractionKind, D as HumanTellOptions, M as MessageContent, R as ReplyHandle, T as ToolApprovalCard, E as ToolApprovalConfig, G as ToolApprovalDecision, I as toAgentError } from '../agent.types-C9T8i5SY.js';
|
|
10
10
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, ToolStepResolver, step } from '../step-resolver.js';
|
|
11
11
|
import '../util.types-DaFfsxgy.js';
|
|
12
12
|
import '../base.schema.types-BApIn9jr.js';
|
package/dist/esm/servers/nuxt.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as
|
|
1
|
+
import{b as q,c as t,d as C,e as Q}from"../chunk-JWRKOFAS.js";import"../chunk-H3BQFYPR.js";import{a as R}from"../chunk-YLCLZVYS.js";import"../chunk-XIVU4VDS.js";import{R as F,S as $,T as B,X as L}from"../chunk-2ANSU3EI.js";import{a as l,b as H,c as S,d as i,e as y,f,g,j as N,k as w,m as c,q as x,r as E,s as k}from"../chunk-IHERFGZC.js";import"../chunk-ICOHH7TO.js";import{a as D}from"../chunk-E54LXWY3.js";import{f as O}from"../chunk-VY27ZAO7.js";import{c as b}from"../chunk-5DVHK5DS.js";import"../chunk-FHYMHX3T.js";import{getHeader as o,getQuery as a,readBody as n,send as p,setHeaders as m}from"h3";var u="nuxt",j=d=>new t({frameworkName:u,...d,handler:r=>({queryString:e=>String(a(r)[e]),body:()=>n(r),headers:e=>o(r,e),url:()=>new URL(String(r.path),`${process.env.NODE_ENV==="development"?"http":"https"}://${String(o(r,"host"))}`),method:()=>r.method,transformResponse:e=>{let{res:s}=r.node;return s.statusCode=e.status,m(r,e.headers),p(r,e.body)}})}).createHandler();export{l as Actions,$ as AgentDeliveryError,F as AgentError,H as Button,S as Card,i as CardLink,y as CardText,f as Chart,q as Client,O as CronExpression,g as Divider,N as Image,w as LinkButton,t as NovuRequestHandler,x as Select,E as SelectOption,L as SeverityLevelEnum,c as Table,k as TextInput,C as agent,u as frameworkName,b as isFromWorkflow,D as providerSchemas,j as serve,R as step,B as toAgentError,Q as workflow};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { S as ServeHandlerOptions } from '../index-
|
|
2
|
-
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-
|
|
3
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-
|
|
4
|
-
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
1
|
+
import { S as ServeHandlerOptions } from '../index-DBKGOU-x.js';
|
|
2
|
+
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-DBKGOU-x.js';
|
|
3
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-Dp-fsCai.js';
|
|
4
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-UA_2pkYJ.js';
|
|
5
5
|
import { S as SupportedFrameworkName } from '../server.types-Cc6o5eYH.js';
|
|
6
|
-
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Image, ImageElement, Select, SelectOption, TextInput } from 'chat';
|
|
7
|
-
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as
|
|
6
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Chart, ChartElement, Divider, Image, ImageElement, LinkButton, LinkButtonElement, Select, SelectOption, Table, TableElement, TextInput } from 'chat';
|
|
7
|
+
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as AgentMessageDeletedContext, r as AgentMessageUpdatedContext, s as AgentNotification, t as AgentPlatformContext, u as AgentReaction, v as AgentReactionContext, w as AgentResolveContext, x as AgentSubscriber, y as AgentSubscriberAccess, z as AgentToolCall, F as FileRef, H as HumanAskApproveOptions, B as HumanChooseOptions, C as HumanInteractionKind, D as HumanTellOptions, M as MessageContent, R as ReplyHandle, T as ToolApprovalCard, E as ToolApprovalConfig, G as ToolApprovalDecision, I as toAgentError } from '../agent.types-C9T8i5SY.js';
|
|
8
8
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, ToolStepResolver, step } from '../step-resolver.js';
|
|
9
9
|
import '../util.types-DaFfsxgy.js';
|
|
10
10
|
import '../base.schema.types-BApIn9jr.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as t,b as
|
|
1
|
+
import{a as t,b as y,c as o,d as b,e as P}from"../chunk-JWRKOFAS.js";import"../chunk-H3BQFYPR.js";import{a as U}from"../chunk-YLCLZVYS.js";import"../chunk-XIVU4VDS.js";import{R as q,S as F,T as O,X as L}from"../chunk-2ANSU3EI.js";import{a as u,b as h,c as l,d as R,e as c,f as i,g as w,j as f,k as x,m as k,q as v,r as H,s as N}from"../chunk-IHERFGZC.js";import"../chunk-ICOHH7TO.js";import{a as j}from"../chunk-E54LXWY3.js";import{f as S}from"../chunk-VY27ZAO7.js";import{c as g}from"../chunk-5DVHK5DS.js";import"../chunk-FHYMHX3T.js";var m="remix",A=s=>new o({frameworkName:m,...s,handler:({request:e})=>({body:()=>e.json(),headers:r=>e.headers.get(r),method:()=>e.method,url:()=>new URL(e.url,`https://${e.headers.get("host")||""}`),transformResponse:({body:r,status:n,headers:p})=>{let a=t();return new a(r,{status:n,headers:p})}})}).createHandler();export{u as Actions,F as AgentDeliveryError,q as AgentError,h as Button,l as Card,R as CardLink,c as CardText,i as Chart,y as Client,S as CronExpression,w as Divider,f as Image,x as LinkButton,o as NovuRequestHandler,v as Select,H as SelectOption,L as SeverityLevelEnum,k as Table,N as TextInput,b as agent,m as frameworkName,g as isFromWorkflow,j as providerSchemas,A as serve,U as step,O as toAgentError,P as workflow};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { RequestEvent } from '@sveltejs/kit';
|
|
2
|
-
import { S as ServeHandlerOptions } from '../index-
|
|
3
|
-
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-
|
|
4
|
-
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-
|
|
5
|
-
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-
|
|
2
|
+
import { S as ServeHandlerOptions } from '../index-DBKGOU-x.js';
|
|
3
|
+
export { C as Client, N as NovuRequestHandler, a as agent, i as isFromWorkflow, w as workflow } from '../index-DBKGOU-x.js';
|
|
4
|
+
export { C as ClientOptions, a as CronExpression, E as ExecuteInput, S as SeverityLevelEnum, W as Workflow } from '../health-check.types-Dp-fsCai.js';
|
|
5
|
+
export { C as ContextResolved, E as EnvironmentSystemVariables, S as Subscriber, p as providerSchemas } from '../subscriber.types-UA_2pkYJ.js';
|
|
6
6
|
import { S as SupportedFrameworkName } from '../server.types-Cc6o5eYH.js';
|
|
7
|
-
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Divider, Image, ImageElement, Select, SelectOption, TextInput } from 'chat';
|
|
8
|
-
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as
|
|
7
|
+
export { Actions, Button, Card, CardChild, CardElement, CardLink, CardText, Chart, ChartElement, Divider, Image, ImageElement, LinkButton, LinkButtonElement, Select, SelectOption, Table, TableElement, TextInput } from 'chat';
|
|
8
|
+
export { A as Agent, a as AgentAction, b as AgentActionContext, c as AgentAttachment, d as AgentContext, e as AgentContextPayload, f as AgentContextValue, g as AgentConversation, h as AgentDeliveryError, i as AgentError, j as AgentHandlerContext, k as AgentHandlers, l as AgentHistoryEntry, m as AgentHumanResponse, n as AgentMessage, o as AgentMessageAuthor, p as AgentMessageContext, q as AgentMessageDeletedContext, r as AgentMessageUpdatedContext, s as AgentNotification, t as AgentPlatformContext, u as AgentReaction, v as AgentReactionContext, w as AgentResolveContext, x as AgentSubscriber, y as AgentSubscriberAccess, z as AgentToolCall, F as FileRef, H as HumanAskApproveOptions, B as HumanChooseOptions, C as HumanInteractionKind, D as HumanTellOptions, M as MessageContent, R as ReplyHandle, T as ToolApprovalCard, E as ToolApprovalConfig, G as ToolApprovalDecision, I as toAgentError } from '../agent.types-C9T8i5SY.js';
|
|
9
9
|
export { AnyStepResolver, ChatStepResolver, EmailStepResolver, InAppStepResolver, PushStepResolver, SmsStepResolver, StepResolverContext, ToolStepResolver, step } from '../step-resolver.js';
|
|
10
10
|
import '../util.types-DaFfsxgy.js';
|
|
11
11
|
import '../base.schema.types-BApIn9jr.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as r,b,c as s,d as
|
|
1
|
+
import{a as r,b as G,c as s,d as g,e as D}from"../chunk-JWRKOFAS.js";import"../chunk-H3BQFYPR.js";import{a as V}from"../chunk-YLCLZVYS.js";import"../chunk-XIVU4VDS.js";import{R as I,S as k,T as H,X as j}from"../chunk-2ANSU3EI.js";import{a as v,b as E,c as P,d as R,e as T,f as S,g as c,j as f,k as h,m as N,q,r as F,s as b}from"../chunk-IHERFGZC.js";import"../chunk-ICOHH7TO.js";import{a as x}from"../chunk-E54LXWY3.js";import{f as w}from"../chunk-VY27ZAO7.js";import{c as y}from"../chunk-5DVHK5DS.js";import"../chunk-FHYMHX3T.js";var m="sveltekit",L=o=>{let t=new s({frameworkName:m,...o,handler:(u,e)=>({method:()=>u||e.request.method||"",body:()=>e.request.json(),headers:n=>e.request.headers.get(n),url:()=>{let n=process.env.NODE_ENV==="development"||process.env.NODE_ENV==="dev"?"http":"https";return new URL(e.request.url,`${n}://${e.request.headers.get("host")||""}`)},transformResponse:({body:n,headers:d,status:a})=>{let l=r();return new l(n,{status:a,headers:d})}})}).createHandler(),p=t.bind(null,void 0);return Object.defineProperties(p,{GET:{value:t.bind(null,"GET")},POST:{value:t.bind(null,"POST")},OPTIONS:{value:t.bind(null,"OPTIONS")}})};export{v as Actions,k as AgentDeliveryError,I as AgentError,E as Button,P as Card,R as CardLink,T as CardText,S as Chart,G as Client,w as CronExpression,c as Divider,f as Image,h as LinkButton,s as NovuRequestHandler,q as Select,F as SelectOption,j as SeverityLevelEnum,N as Table,b as TextInput,g as agent,m as frameworkName,y as isFromWorkflow,x as providerSchemas,L as serve,V as step,H as toAgentError,D as workflow};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { S as Subscriber, C as ContextResolved, E as EnvironmentSystemVariables, G as EmailOutputUnvalidated, p as providerSchemas, W as WithPassthrough, R as SmsOutputUnvalidated, h as ChatOutputUnvalidated, M as PushOutputUnvalidated, J as InAppOutputUnvalidated, $ as ToolOutputUnvalidated, n as DelayOutputUnvalidated, v as DigestOutputUnvalidated, Y as ThrottleOutputUnvalidated } from './subscriber.types-
|
|
2
|
-
export { a0 as actionStepSchemas, a1 as channelStepSchemas } from './subscriber.types-
|
|
1
|
+
import { S as Subscriber, C as ContextResolved, E as EnvironmentSystemVariables, G as EmailOutputUnvalidated, p as providerSchemas, W as WithPassthrough, R as SmsOutputUnvalidated, h as ChatOutputUnvalidated, M as PushOutputUnvalidated, J as InAppOutputUnvalidated, $ as ToolOutputUnvalidated, n as DelayOutputUnvalidated, v as DigestOutputUnvalidated, Y as ThrottleOutputUnvalidated } from './subscriber.types-UA_2pkYJ.js';
|
|
2
|
+
export { a0 as actionStepSchemas, a1 as channelStepSchemas } from './subscriber.types-UA_2pkYJ.js';
|
|
3
3
|
import { A as Awaitable } from './util.types-DaFfsxgy.js';
|
|
4
4
|
import { S as Schema, a as FromSchema } from './base.schema.types-BApIn9jr.js';
|
|
5
5
|
import 'chat';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as o}from"./chunk-YLCLZVYS.js";import{a as e,e as t,f as r}from"./chunk-
|
|
1
|
+
import{a as o}from"./chunk-YLCLZVYS.js";import{a as e,e as t,f as r}from"./chunk-E54LXWY3.js";import"./chunk-FHYMHX3T.js";export{t as actionStepSchemas,r as channelStepSchemas,e as providerSchemas,o as step};
|
|
@@ -133,6 +133,14 @@ declare const providerSchemas: {
|
|
|
133
133
|
readonly additionalProperties: true;
|
|
134
134
|
};
|
|
135
135
|
};
|
|
136
|
+
readonly 'google-chat': {
|
|
137
|
+
output: {
|
|
138
|
+
readonly type: "object";
|
|
139
|
+
readonly properties: {};
|
|
140
|
+
readonly required: readonly [];
|
|
141
|
+
readonly additionalProperties: true;
|
|
142
|
+
};
|
|
143
|
+
};
|
|
136
144
|
readonly getstream: {
|
|
137
145
|
output: {
|
|
138
146
|
readonly type: "object";
|
|
@@ -189,6 +197,44 @@ declare const providerSchemas: {
|
|
|
189
197
|
readonly additionalProperties: true;
|
|
190
198
|
};
|
|
191
199
|
};
|
|
200
|
+
readonly 'photon-imessage': {
|
|
201
|
+
output: {
|
|
202
|
+
readonly type: "object";
|
|
203
|
+
readonly properties: {
|
|
204
|
+
readonly text: {
|
|
205
|
+
readonly type: "string";
|
|
206
|
+
readonly description: "Overrides the step body text.";
|
|
207
|
+
};
|
|
208
|
+
readonly effect: {
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
readonly description: "iMessage expressive effect: a friendly name (confetti, fireworks, balloons, heart, lasers, celebration, sparkles, spotlight, echo, slam, loud, gentle, invisible) or a raw com.apple.… effect id.";
|
|
211
|
+
};
|
|
212
|
+
readonly attachments: {
|
|
213
|
+
readonly type: "array";
|
|
214
|
+
readonly items: {
|
|
215
|
+
readonly type: "string";
|
|
216
|
+
readonly format: "uri";
|
|
217
|
+
};
|
|
218
|
+
readonly description: "Attachment URLs sent alongside the message.";
|
|
219
|
+
};
|
|
220
|
+
readonly voice: {
|
|
221
|
+
readonly type: "string";
|
|
222
|
+
readonly format: "uri";
|
|
223
|
+
readonly description: "Audio URL sent as a native iMessage voice note (waveform bubble).";
|
|
224
|
+
};
|
|
225
|
+
readonly replyToLast: {
|
|
226
|
+
readonly type: "boolean";
|
|
227
|
+
readonly description: "Reply-thread this send to the previous message sent to this recipient.";
|
|
228
|
+
};
|
|
229
|
+
readonly format: {
|
|
230
|
+
readonly type: "string";
|
|
231
|
+
readonly enum: readonly ["markdown", "text"];
|
|
232
|
+
readonly description: "Force native styled text (markdown) or plain text for the body.";
|
|
233
|
+
};
|
|
234
|
+
};
|
|
235
|
+
readonly additionalProperties: true;
|
|
236
|
+
};
|
|
237
|
+
};
|
|
192
238
|
readonly 'rocket-chat': {
|
|
193
239
|
output: {
|
|
194
240
|
readonly type: "object";
|
|
@@ -4120,6 +4166,10 @@ declare const channelStepSchemas: {
|
|
|
4120
4166
|
readonly imageUrl: {
|
|
4121
4167
|
readonly type: "string";
|
|
4122
4168
|
};
|
|
4169
|
+
readonly width: {
|
|
4170
|
+
readonly type: "string";
|
|
4171
|
+
readonly enum: readonly ["default", "full"];
|
|
4172
|
+
};
|
|
4123
4173
|
readonly children: {
|
|
4124
4174
|
readonly type: "array";
|
|
4125
4175
|
readonly items: {
|
|
@@ -4208,6 +4258,9 @@ declare const channelStepSchemas: {
|
|
|
4208
4258
|
readonly id: {
|
|
4209
4259
|
readonly type: "string";
|
|
4210
4260
|
};
|
|
4261
|
+
readonly tooltip: {
|
|
4262
|
+
readonly type: "string";
|
|
4263
|
+
};
|
|
4211
4264
|
};
|
|
4212
4265
|
readonly required: readonly ["type", "label", "url"];
|
|
4213
4266
|
}, {
|
|
@@ -4240,6 +4293,9 @@ declare const channelStepSchemas: {
|
|
|
4240
4293
|
readonly disabled: {
|
|
4241
4294
|
readonly type: "boolean";
|
|
4242
4295
|
};
|
|
4296
|
+
readonly tooltip: {
|
|
4297
|
+
readonly type: "string";
|
|
4298
|
+
};
|
|
4243
4299
|
};
|
|
4244
4300
|
readonly required: readonly ["type", "id", "label"];
|
|
4245
4301
|
}, {
|
|
@@ -4385,8 +4441,101 @@ declare const channelStepSchemas: {
|
|
|
4385
4441
|
readonly enum: readonly ["left", "center", "right"];
|
|
4386
4442
|
};
|
|
4387
4443
|
};
|
|
4444
|
+
readonly caption: {
|
|
4445
|
+
readonly type: "string";
|
|
4446
|
+
};
|
|
4447
|
+
readonly pageSize: {
|
|
4448
|
+
readonly type: "number";
|
|
4449
|
+
};
|
|
4388
4450
|
};
|
|
4389
4451
|
readonly required: readonly ["type", "headers", "rows"];
|
|
4452
|
+
}, {
|
|
4453
|
+
readonly type: "object";
|
|
4454
|
+
readonly properties: {
|
|
4455
|
+
readonly type: {
|
|
4456
|
+
readonly type: "string";
|
|
4457
|
+
readonly const: "chart";
|
|
4458
|
+
};
|
|
4459
|
+
readonly title: {
|
|
4460
|
+
readonly type: "string";
|
|
4461
|
+
};
|
|
4462
|
+
readonly chart: {
|
|
4463
|
+
readonly anyOf: readonly [{
|
|
4464
|
+
readonly type: "object";
|
|
4465
|
+
readonly properties: {
|
|
4466
|
+
readonly type: {
|
|
4467
|
+
readonly type: "string";
|
|
4468
|
+
readonly const: "pie";
|
|
4469
|
+
};
|
|
4470
|
+
readonly segments: {
|
|
4471
|
+
readonly type: "array";
|
|
4472
|
+
readonly items: {
|
|
4473
|
+
readonly type: "object";
|
|
4474
|
+
readonly properties: {
|
|
4475
|
+
readonly label: {
|
|
4476
|
+
readonly type: "string";
|
|
4477
|
+
};
|
|
4478
|
+
readonly value: {
|
|
4479
|
+
readonly type: "number";
|
|
4480
|
+
};
|
|
4481
|
+
};
|
|
4482
|
+
readonly required: readonly ["label", "value"];
|
|
4483
|
+
};
|
|
4484
|
+
};
|
|
4485
|
+
};
|
|
4486
|
+
readonly required: readonly ["type", "segments"];
|
|
4487
|
+
}, {
|
|
4488
|
+
readonly type: "object";
|
|
4489
|
+
readonly properties: {
|
|
4490
|
+
readonly type: {
|
|
4491
|
+
readonly type: "string";
|
|
4492
|
+
readonly enum: readonly ["area", "bar", "line"];
|
|
4493
|
+
};
|
|
4494
|
+
readonly categories: {
|
|
4495
|
+
readonly type: "array";
|
|
4496
|
+
readonly items: {
|
|
4497
|
+
readonly type: "string";
|
|
4498
|
+
};
|
|
4499
|
+
};
|
|
4500
|
+
readonly series: {
|
|
4501
|
+
readonly type: "array";
|
|
4502
|
+
readonly items: {
|
|
4503
|
+
readonly type: "object";
|
|
4504
|
+
readonly properties: {
|
|
4505
|
+
readonly name: {
|
|
4506
|
+
readonly type: "string";
|
|
4507
|
+
};
|
|
4508
|
+
readonly data: {
|
|
4509
|
+
readonly type: "array";
|
|
4510
|
+
readonly items: {
|
|
4511
|
+
readonly type: "object";
|
|
4512
|
+
readonly properties: {
|
|
4513
|
+
readonly label: {
|
|
4514
|
+
readonly type: "string";
|
|
4515
|
+
};
|
|
4516
|
+
readonly value: {
|
|
4517
|
+
readonly type: "number";
|
|
4518
|
+
};
|
|
4519
|
+
};
|
|
4520
|
+
readonly required: readonly ["label", "value"];
|
|
4521
|
+
};
|
|
4522
|
+
};
|
|
4523
|
+
};
|
|
4524
|
+
readonly required: readonly ["name", "data"];
|
|
4525
|
+
};
|
|
4526
|
+
};
|
|
4527
|
+
readonly xLabel: {
|
|
4528
|
+
readonly type: "string";
|
|
4529
|
+
};
|
|
4530
|
+
readonly yLabel: {
|
|
4531
|
+
readonly type: "string";
|
|
4532
|
+
};
|
|
4533
|
+
};
|
|
4534
|
+
readonly required: readonly ["type", "categories", "series"];
|
|
4535
|
+
}];
|
|
4536
|
+
};
|
|
4537
|
+
};
|
|
4538
|
+
readonly required: readonly ["type", "title", "chart"];
|
|
4390
4539
|
}, {
|
|
4391
4540
|
readonly type: "object";
|
|
4392
4541
|
readonly properties: {
|
|
@@ -4482,6 +4631,9 @@ declare const channelStepSchemas: {
|
|
|
4482
4631
|
readonly id: {
|
|
4483
4632
|
readonly type: "string";
|
|
4484
4633
|
};
|
|
4634
|
+
readonly tooltip: {
|
|
4635
|
+
readonly type: "string";
|
|
4636
|
+
};
|
|
4485
4637
|
};
|
|
4486
4638
|
readonly required: readonly ["type", "label", "url"];
|
|
4487
4639
|
}, {
|
|
@@ -4514,6 +4666,9 @@ declare const channelStepSchemas: {
|
|
|
4514
4666
|
readonly disabled: {
|
|
4515
4667
|
readonly type: "boolean";
|
|
4516
4668
|
};
|
|
4669
|
+
readonly tooltip: {
|
|
4670
|
+
readonly type: "string";
|
|
4671
|
+
};
|
|
4517
4672
|
};
|
|
4518
4673
|
readonly required: readonly ["type", "id", "label"];
|
|
4519
4674
|
}, {
|
|
@@ -4659,8 +4814,101 @@ declare const channelStepSchemas: {
|
|
|
4659
4814
|
readonly enum: readonly ["left", "center", "right"];
|
|
4660
4815
|
};
|
|
4661
4816
|
};
|
|
4817
|
+
readonly caption: {
|
|
4818
|
+
readonly type: "string";
|
|
4819
|
+
};
|
|
4820
|
+
readonly pageSize: {
|
|
4821
|
+
readonly type: "number";
|
|
4822
|
+
};
|
|
4662
4823
|
};
|
|
4663
4824
|
readonly required: readonly ["type", "headers", "rows"];
|
|
4825
|
+
}, {
|
|
4826
|
+
readonly type: "object";
|
|
4827
|
+
readonly properties: {
|
|
4828
|
+
readonly type: {
|
|
4829
|
+
readonly type: "string";
|
|
4830
|
+
readonly const: "chart";
|
|
4831
|
+
};
|
|
4832
|
+
readonly title: {
|
|
4833
|
+
readonly type: "string";
|
|
4834
|
+
};
|
|
4835
|
+
readonly chart: {
|
|
4836
|
+
readonly anyOf: readonly [{
|
|
4837
|
+
readonly type: "object";
|
|
4838
|
+
readonly properties: {
|
|
4839
|
+
readonly type: {
|
|
4840
|
+
readonly type: "string";
|
|
4841
|
+
readonly const: "pie";
|
|
4842
|
+
};
|
|
4843
|
+
readonly segments: {
|
|
4844
|
+
readonly type: "array";
|
|
4845
|
+
readonly items: {
|
|
4846
|
+
readonly type: "object";
|
|
4847
|
+
readonly properties: {
|
|
4848
|
+
readonly label: {
|
|
4849
|
+
readonly type: "string";
|
|
4850
|
+
};
|
|
4851
|
+
readonly value: {
|
|
4852
|
+
readonly type: "number";
|
|
4853
|
+
};
|
|
4854
|
+
};
|
|
4855
|
+
readonly required: readonly ["label", "value"];
|
|
4856
|
+
};
|
|
4857
|
+
};
|
|
4858
|
+
};
|
|
4859
|
+
readonly required: readonly ["type", "segments"];
|
|
4860
|
+
}, {
|
|
4861
|
+
readonly type: "object";
|
|
4862
|
+
readonly properties: {
|
|
4863
|
+
readonly type: {
|
|
4864
|
+
readonly type: "string";
|
|
4865
|
+
readonly enum: readonly ["area", "bar", "line"];
|
|
4866
|
+
};
|
|
4867
|
+
readonly categories: {
|
|
4868
|
+
readonly type: "array";
|
|
4869
|
+
readonly items: {
|
|
4870
|
+
readonly type: "string";
|
|
4871
|
+
};
|
|
4872
|
+
};
|
|
4873
|
+
readonly series: {
|
|
4874
|
+
readonly type: "array";
|
|
4875
|
+
readonly items: {
|
|
4876
|
+
readonly type: "object";
|
|
4877
|
+
readonly properties: {
|
|
4878
|
+
readonly name: {
|
|
4879
|
+
readonly type: "string";
|
|
4880
|
+
};
|
|
4881
|
+
readonly data: {
|
|
4882
|
+
readonly type: "array";
|
|
4883
|
+
readonly items: {
|
|
4884
|
+
readonly type: "object";
|
|
4885
|
+
readonly properties: {
|
|
4886
|
+
readonly label: {
|
|
4887
|
+
readonly type: "string";
|
|
4888
|
+
};
|
|
4889
|
+
readonly value: {
|
|
4890
|
+
readonly type: "number";
|
|
4891
|
+
};
|
|
4892
|
+
};
|
|
4893
|
+
readonly required: readonly ["label", "value"];
|
|
4894
|
+
};
|
|
4895
|
+
};
|
|
4896
|
+
};
|
|
4897
|
+
readonly required: readonly ["name", "data"];
|
|
4898
|
+
};
|
|
4899
|
+
};
|
|
4900
|
+
readonly xLabel: {
|
|
4901
|
+
readonly type: "string";
|
|
4902
|
+
};
|
|
4903
|
+
readonly yLabel: {
|
|
4904
|
+
readonly type: "string";
|
|
4905
|
+
};
|
|
4906
|
+
};
|
|
4907
|
+
readonly required: readonly ["type", "categories", "series"];
|
|
4908
|
+
}];
|
|
4909
|
+
};
|
|
4910
|
+
};
|
|
4911
|
+
readonly required: readonly ["type", "title", "chart"];
|
|
4664
4912
|
}, {
|
|
4665
4913
|
readonly type: "object";
|
|
4666
4914
|
readonly properties: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@novu/framework",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0-rc.5ea799b171",
|
|
4
4
|
"description": "The Code-First Notifications Workflow SDK.",
|
|
5
5
|
"main": "./dist/cjs/index.cjs",
|
|
6
6
|
"types": "./dist/cjs/index.d.cts",
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
},
|
|
298
298
|
"devDependencies": {
|
|
299
299
|
"@apidevtools/json-schema-ref-parser": "11.6.4",
|
|
300
|
-
"@arethetypeswrong/cli": "^0.
|
|
300
|
+
"@arethetypeswrong/cli": "^0.18.5",
|
|
301
301
|
"@langchain/core": "^1.1.44",
|
|
302
302
|
"@nestjs/common": "11.1.27",
|
|
303
303
|
"@sveltejs/kit": "^1.27.3",
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
"ajv-formats": "^2.1.1",
|
|
331
331
|
"better-ajv-errors": "^1.2.0",
|
|
332
332
|
"chalk": "^4.1.2",
|
|
333
|
-
"chat": "4.
|
|
333
|
+
"chat": "4.40.0",
|
|
334
334
|
"cross-fetch": "^4.0.0",
|
|
335
335
|
"json-schema-to-ts": "^3.0.0",
|
|
336
336
|
"jsonrepair": "^3.13.1",
|