@novu/api 3.17.1 → 3.18.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/FUNCTIONS.md +1 -0
- package/README.md +63 -3
- package/examples/trigger.example.ts +1 -0
- package/funcs/agentsCreate.d.ts +19 -0
- package/funcs/agentsCreate.d.ts.map +1 -0
- package/funcs/agentsCreate.js +141 -0
- package/funcs/agentsCreate.js.map +1 -0
- package/funcs/agentsDelete.d.ts +18 -0
- package/funcs/agentsDelete.d.ts.map +1 -0
- package/funcs/agentsDelete.js +144 -0
- package/funcs/agentsDelete.js.map +1 -0
- package/funcs/agentsIntegrationsCreate.d.ts +19 -0
- package/funcs/agentsIntegrationsCreate.d.ts.map +1 -0
- package/funcs/agentsIntegrationsCreate.js +146 -0
- package/funcs/agentsIntegrationsCreate.js.map +1 -0
- package/funcs/agentsIntegrationsDelete.d.ts +18 -0
- package/funcs/agentsIntegrationsDelete.d.ts.map +1 -0
- package/funcs/agentsIntegrationsDelete.js +145 -0
- package/funcs/agentsIntegrationsDelete.js.map +1 -0
- package/funcs/agentsIntegrationsList.d.ts +18 -0
- package/funcs/agentsIntegrationsList.d.ts.map +1 -0
- package/funcs/agentsIntegrationsList.js +148 -0
- package/funcs/agentsIntegrationsList.js.map +1 -0
- package/funcs/agentsIntegrationsUpdate.d.ts +18 -0
- package/funcs/agentsIntegrationsUpdate.d.ts.map +1 -0
- package/funcs/agentsIntegrationsUpdate.js +142 -0
- package/funcs/agentsIntegrationsUpdate.js.map +1 -0
- package/funcs/agentsList.d.ts +18 -0
- package/funcs/agentsList.d.ts.map +1 -0
- package/funcs/agentsList.js +142 -0
- package/funcs/agentsList.js.map +1 -0
- package/funcs/agentsRetrieve.d.ts +18 -0
- package/funcs/agentsRetrieve.d.ts.map +1 -0
- package/funcs/agentsRetrieve.js +142 -0
- package/funcs/agentsRetrieve.js.map +1 -0
- package/funcs/agentsSendReply.d.ts +41 -0
- package/funcs/agentsSendReply.d.ts.map +1 -0
- package/funcs/agentsSendReply.js +168 -0
- package/funcs/agentsSendReply.js.map +1 -0
- package/funcs/agentsUpdate.d.ts +19 -0
- package/funcs/agentsUpdate.d.ts.map +1 -0
- package/funcs/agentsUpdate.js +146 -0
- package/funcs/agentsUpdate.js.map +1 -0
- package/funcs/agentsUpdateBridge.d.ts +19 -0
- package/funcs/agentsUpdateBridge.d.ts.map +1 -0
- package/funcs/agentsUpdateBridge.js +143 -0
- package/funcs/agentsUpdateBridge.js.map +1 -0
- package/funcs/integrationsGenerateChatOAuthUrl.d.ts +1 -1
- package/funcs/integrationsGenerateChatOAuthUrl.js +1 -1
- package/funcs/integrationsGenerateConnectOAuthUrl.d.ts +1 -1
- package/funcs/integrationsGenerateConnectOAuthUrl.js +1 -1
- package/funcs/integrationsGenerateLinkUserOAuthUrl.d.ts +1 -1
- package/funcs/integrationsGenerateLinkUserOAuthUrl.js +1 -1
- package/jsr.json +1 -1
- package/lib/config.d.ts +4 -4
- package/lib/config.js +4 -4
- package/lib/http.d.ts +1 -1
- package/lib/http.d.ts.map +1 -1
- package/lib/http.js +1 -1
- package/lib/http.js.map +1 -1
- package/lib/security.d.ts +5 -4
- package/lib/security.d.ts.map +1 -1
- package/lib/security.js +6 -7
- package/lib/security.js.map +1 -1
- package/models/components/addagentintegrationrequestdto.d.ts +20 -0
- package/models/components/addagentintegrationrequestdto.d.ts.map +1 -0
- package/models/components/addagentintegrationrequestdto.js +50 -0
- package/models/components/addagentintegrationrequestdto.js.map +1 -0
- package/models/components/addreactionpayloaddto.d.ts +20 -0
- package/models/components/addreactionpayloaddto.d.ts.map +1 -0
- package/models/components/addreactionpayloaddto.js +50 -0
- package/models/components/addreactionpayloaddto.js.map +1 -0
- package/models/components/agentbehaviordto.d.ts +58 -0
- package/models/components/agentbehaviordto.d.ts.map +1 -0
- package/models/components/agentbehaviordto.js +86 -0
- package/models/components/agentbehaviordto.js.map +1 -0
- package/models/components/agentintegrationresponsedto.d.ts +35 -0
- package/models/components/agentintegrationresponsedto.d.ts.map +1 -0
- package/models/components/agentintegrationresponsedto.js +73 -0
- package/models/components/agentintegrationresponsedto.js.map +1 -0
- package/models/components/agentintegrationresponseintegrationdto.d.ts +37 -0
- package/models/components/agentintegrationresponseintegrationdto.d.ts.map +1 -0
- package/models/components/agentintegrationresponseintegrationdto.js +64 -0
- package/models/components/agentintegrationresponseintegrationdto.js.map +1 -0
- package/models/components/agentintegrationsummarydto.d.ts +22 -0
- package/models/components/agentintegrationsummarydto.d.ts.map +1 -0
- package/models/components/agentintegrationsummarydto.js +56 -0
- package/models/components/agentintegrationsummarydto.js.map +1 -0
- package/models/components/agentmcpserverdto.d.ts +12 -0
- package/models/components/agentmcpserverdto.d.ts.map +1 -0
- package/models/components/agentmcpserverdto.js +52 -0
- package/models/components/agentmcpserverdto.js.map +1 -0
- package/models/components/agentplanusagedto.d.ts +43 -0
- package/models/components/agentplanusagedto.d.ts.map +1 -0
- package/models/components/agentplanusagedto.js +64 -0
- package/models/components/agentplanusagedto.js.map +1 -0
- package/models/components/agentreplypayloaddto.d.ts +121 -0
- package/models/components/agentreplypayloaddto.d.ts.map +1 -0
- package/models/components/agentreplypayloaddto.js +120 -0
- package/models/components/agentreplypayloaddto.js.map +1 -0
- package/models/components/agentresponsedto.d.ts +82 -0
- package/models/components/agentresponsedto.d.ts.map +1 -0
- package/models/components/agentresponsedto.js +97 -0
- package/models/components/agentresponsedto.js.map +1 -0
- package/models/components/agentskillinputdto.d.ts +39 -0
- package/models/components/agentskillinputdto.d.ts.map +1 -0
- package/models/components/agentskillinputdto.js +63 -0
- package/models/components/agentskillinputdto.js.map +1 -0
- package/models/components/agenttooldto.d.ts +21 -0
- package/models/components/agenttooldto.d.ts.map +1 -0
- package/models/components/agenttooldto.js +59 -0
- package/models/components/agenttooldto.js.map +1 -0
- package/models/components/authdto.d.ts +6 -0
- package/models/components/authdto.d.ts.map +1 -1
- package/models/components/authdto.js +6 -0
- package/models/components/authdto.js.map +1 -1
- package/models/components/cardreplycontentdto.d.ts +25 -0
- package/models/components/cardreplycontentdto.d.ts.map +1 -0
- package/models/components/cardreplycontentdto.js +51 -0
- package/models/components/cardreplycontentdto.js.map +1 -0
- package/models/components/chatorpushproviderenum.d.ts +3 -0
- package/models/components/chatorpushproviderenum.d.ts.map +1 -1
- package/models/components/chatorpushproviderenum.js +3 -0
- package/models/components/chatorpushproviderenum.js.map +1 -1
- package/models/components/createagentrequestdto.d.ts +37 -0
- package/models/components/createagentrequestdto.d.ts.map +1 -0
- package/models/components/createagentrequestdto.js +62 -0
- package/models/components/createagentrequestdto.js.map +1 -0
- package/models/components/createlineuserendpointdto.d.ts +75 -0
- package/models/components/createlineuserendpointdto.d.ts.map +1 -0
- package/models/components/createlineuserendpointdto.js +77 -0
- package/models/components/createlineuserendpointdto.js.map +1 -0
- package/models/components/createwebexpersonendpointdto.d.ts +75 -0
- package/models/components/createwebexpersonendpointdto.d.ts.map +1 -0
- package/models/components/createwebexpersonendpointdto.js +77 -0
- package/models/components/createwebexpersonendpointdto.js.map +1 -0
- package/models/components/createwebexroomendpointdto.d.ts +75 -0
- package/models/components/createwebexroomendpointdto.d.ts.map +1 -0
- package/models/components/createwebexroomendpointdto.js +77 -0
- package/models/components/createwebexroomendpointdto.js.map +1 -0
- package/models/components/credentialsdto.d.ts +5 -0
- package/models/components/credentialsdto.d.ts.map +1 -1
- package/models/components/credentialsdto.js +2 -0
- package/models/components/credentialsdto.js.map +1 -1
- package/models/components/deletemessagepayloaddto.d.ts +15 -0
- package/models/components/deletemessagepayloaddto.d.ts.map +1 -0
- package/models/components/deletemessagepayloaddto.js +49 -0
- package/models/components/deletemessagepayloaddto.js.map +1 -0
- package/models/components/editpayloaddto.d.ts +32 -0
- package/models/components/editpayloaddto.d.ts.map +1 -0
- package/models/components/editpayloaddto.js +67 -0
- package/models/components/editpayloaddto.js.map +1 -0
- package/models/components/filerefdto.d.ts +30 -0
- package/models/components/filerefdto.d.ts.map +1 -0
- package/models/components/filerefdto.js +52 -0
- package/models/components/filerefdto.js.map +1 -0
- package/models/components/generatechatoauthurlrequestdto.d.ts +2 -2
- package/models/components/generateconnectoauthurlrequestdto.d.ts +3 -3
- package/models/components/generatelinkuseroauthurlrequestdto.d.ts +2 -2
- package/models/components/getchannelconnectionresponsedto.d.ts +8 -4
- package/models/components/getchannelconnectionresponsedto.d.ts.map +1 -1
- package/models/components/getchannelconnectionresponsedto.js +9 -5
- package/models/components/getchannelconnectionresponsedto.js.map +1 -1
- package/models/components/getchannelendpointresponsedto.d.ts +12 -2
- package/models/components/getchannelendpointresponsedto.d.ts.map +1 -1
- package/models/components/getchannelendpointresponsedto.js +16 -0
- package/models/components/getchannelendpointresponsedto.js.map +1 -1
- package/models/components/grouppreferencefilterdto.d.ts +1 -1
- package/models/components/index.d.ts +41 -0
- package/models/components/index.d.ts.map +1 -1
- package/models/components/index.js +41 -0
- package/models/components/index.js.map +1 -1
- package/models/components/lineuserendpointdto.d.ts +20 -0
- package/models/components/lineuserendpointdto.d.ts.map +1 -0
- package/models/components/lineuserendpointdto.js +58 -0
- package/models/components/lineuserendpointdto.js.map +1 -0
- package/models/components/listagentintegrationsresponsedto.d.ts +35 -0
- package/models/components/listagentintegrationsresponsedto.d.ts.map +1 -0
- package/models/components/listagentintegrationsresponsedto.js +57 -0
- package/models/components/listagentintegrationsresponsedto.js.map +1 -0
- package/models/components/listagentsresponsedto.d.ts +35 -0
- package/models/components/listagentsresponsedto.d.ts.map +1 -0
- package/models/components/listagentsresponsedto.js +57 -0
- package/models/components/listagentsresponsedto.js.map +1 -0
- package/models/components/managedruntimedto.d.ts +47 -0
- package/models/components/managedruntimedto.d.ts.map +1 -0
- package/models/components/managedruntimedto.js +66 -0
- package/models/components/managedruntimedto.js.map +1 -0
- package/models/components/managedruntimeresponsedto.d.ts +38 -0
- package/models/components/managedruntimeresponsedto.d.ts.map +1 -0
- package/models/components/managedruntimeresponsedto.js +60 -0
- package/models/components/managedruntimeresponsedto.js.map +1 -0
- package/models/components/markdownreplycontentdto.d.ts +21 -0
- package/models/components/markdownreplycontentdto.d.ts.map +1 -0
- package/models/components/markdownreplycontentdto.js +51 -0
- package/models/components/markdownreplycontentdto.js.map +1 -0
- package/models/components/messageresponsedto.d.ts +3 -3
- package/models/components/messageresponsedto.d.ts.map +1 -1
- package/models/components/messageresponsedto.js +5 -5
- package/models/components/messageresponsedto.js.map +1 -1
- package/models/components/metadataclearsignaldto.d.ts +27 -0
- package/models/components/metadataclearsignaldto.d.ts.map +1 -0
- package/models/components/metadataclearsignaldto.js +60 -0
- package/models/components/metadataclearsignaldto.js.map +1 -0
- package/models/components/metadatadeletesignaldto.d.ts +32 -0
- package/models/components/metadatadeletesignaldto.d.ts.map +1 -0
- package/models/components/metadatadeletesignaldto.js +61 -0
- package/models/components/metadatadeletesignaldto.js.map +1 -0
- package/models/components/metadatasetsignaldto.d.ts +55 -0
- package/models/components/metadatasetsignaldto.d.ts.map +1 -0
- package/models/components/metadatasetsignaldto.js +72 -0
- package/models/components/metadatasetsignaldto.js.map +1 -0
- package/models/components/planusagedto.d.ts +17 -0
- package/models/components/planusagedto.d.ts.map +1 -0
- package/models/components/planusagedto.js +51 -0
- package/models/components/planusagedto.js.map +1 -0
- package/models/components/providersidenum.d.ts +4 -0
- package/models/components/providersidenum.d.ts.map +1 -1
- package/models/components/providersidenum.js +4 -0
- package/models/components/providersidenum.js.map +1 -1
- package/models/components/resolvedto.d.ts +15 -0
- package/models/components/resolvedto.d.ts.map +1 -0
- package/models/components/resolvedto.js +49 -0
- package/models/components/resolvedto.js.map +1 -0
- package/models/components/subscriberchanneldto.d.ts +3 -0
- package/models/components/subscriberchanneldto.d.ts.map +1 -1
- package/models/components/subscriberchanneldto.js +3 -0
- package/models/components/subscriberchanneldto.js.map +1 -1
- package/models/components/subscriptionpreferencedto.d.ts +1 -1
- package/models/components/toolapprovalcardreplycontentdto.d.ts +22 -0
- package/models/components/toolapprovalcardreplycontentdto.d.ts.map +1 -0
- package/models/components/toolapprovalcardreplycontentdto.js +51 -0
- package/models/components/toolapprovalcardreplycontentdto.js.map +1 -0
- package/models/components/toolapprovalrequestpayloaddto.d.ts +34 -0
- package/models/components/toolapprovalrequestpayloaddto.d.ts.map +1 -0
- package/models/components/toolapprovalrequestpayloaddto.js +52 -0
- package/models/components/toolapprovalrequestpayloaddto.js.map +1 -0
- package/models/components/toolresultdto.d.ts +39 -0
- package/models/components/toolresultdto.d.ts.map +1 -0
- package/models/components/toolresultdto.js +58 -0
- package/models/components/toolresultdto.js.map +1 -0
- package/models/components/triggereventrequestdto.d.ts +9 -4
- package/models/components/triggereventrequestdto.d.ts.map +1 -1
- package/models/components/triggereventrequestdto.js +6 -6
- package/models/components/triggereventrequestdto.js.map +1 -1
- package/models/components/triggersignaldto.d.ts +73 -0
- package/models/components/triggersignaldto.d.ts.map +1 -0
- package/models/components/triggersignaldto.js +79 -0
- package/models/components/triggersignaldto.js.map +1 -0
- package/models/components/typingstatusdto.d.ts +15 -0
- package/models/components/typingstatusdto.d.ts.map +1 -0
- package/models/components/typingstatusdto.js +49 -0
- package/models/components/typingstatusdto.js.map +1 -0
- package/models/components/updateagentbridgerequestdto.d.ts +25 -0
- package/models/components/updateagentbridgerequestdto.d.ts.map +1 -0
- package/models/components/updateagentbridgerequestdto.js +51 -0
- package/models/components/updateagentbridgerequestdto.js.map +1 -0
- package/models/components/updateagentintegrationrequestdto.d.ts +15 -0
- package/models/components/updateagentintegrationrequestdto.d.ts.map +1 -0
- package/models/components/updateagentintegrationrequestdto.js +49 -0
- package/models/components/updateagentintegrationrequestdto.js.map +1 -0
- package/models/components/updateagentrequestdto.d.ts +34 -0
- package/models/components/updateagentrequestdto.d.ts.map +1 -0
- package/models/components/updateagentrequestdto.js +56 -0
- package/models/components/updateagentrequestdto.js.map +1 -0
- package/models/components/updatechannelendpointrequestdto.d.ts +6 -4
- package/models/components/updatechannelendpointrequestdto.d.ts.map +1 -1
- package/models/components/updatechannelendpointrequestdto.js +6 -0
- package/models/components/updatechannelendpointrequestdto.js.map +1 -1
- package/models/components/webexpersonendpointdto.d.ts +25 -0
- package/models/components/webexpersonendpointdto.d.ts.map +1 -0
- package/models/components/webexpersonendpointdto.js +60 -0
- package/models/components/webexpersonendpointdto.js.map +1 -0
- package/models/components/webexroomendpointdto.d.ts +25 -0
- package/models/components/webexroomendpointdto.d.ts.map +1 -0
- package/models/components/webexroomendpointdto.js +60 -0
- package/models/components/webexroomendpointdto.js.map +1 -0
- package/models/components/workflowpreferencerequestdto.d.ts +1 -1
- package/models/operations/agentintegrationscontrolleraddagentintegration.d.ts +31 -0
- package/models/operations/agentintegrationscontrolleraddagentintegration.d.ts.map +1 -0
- package/models/operations/agentintegrationscontrolleraddagentintegration.js +74 -0
- package/models/operations/agentintegrationscontrolleraddagentintegration.js.map +1 -0
- package/models/operations/agentintegrationscontrollerlistagentintegrations.d.ts +78 -0
- package/models/operations/agentintegrationscontrollerlistagentintegrations.d.ts.map +1 -0
- package/models/operations/agentintegrationscontrollerlistagentintegrations.js +90 -0
- package/models/operations/agentintegrationscontrollerlistagentintegrations.js.map +1 -0
- package/models/operations/agentintegrationscontrollerremoveagentintegration.d.ts +29 -0
- package/models/operations/agentintegrationscontrollerremoveagentintegration.d.ts.map +1 -0
- package/models/operations/agentintegrationscontrollerremoveagentintegration.js +71 -0
- package/models/operations/agentintegrationscontrollerremoveagentintegration.js.map +1 -0
- package/models/operations/agentintegrationscontrollerupdateagentintegration.d.ts +33 -0
- package/models/operations/agentintegrationscontrollerupdateagentintegration.d.ts.map +1 -0
- package/models/operations/agentintegrationscontrollerupdateagentintegration.js +76 -0
- package/models/operations/agentintegrationscontrollerupdateagentintegration.js.map +1 -0
- package/models/operations/agentreplycontrollerhandleagentreplyhandler.d.ts +53 -0
- package/models/operations/agentreplycontrollerhandleagentreplyhandler.d.ts.map +1 -0
- package/models/operations/agentreplycontrollerhandleagentreplyhandler.js +83 -0
- package/models/operations/agentreplycontrollerhandleagentreplyhandler.js.map +1 -0
- package/models/operations/agentscontrollercreateagent.d.ts +31 -0
- package/models/operations/agentscontrollercreateagent.d.ts.map +1 -0
- package/models/operations/agentscontrollercreateagent.js +74 -0
- package/models/operations/agentscontrollercreateagent.js.map +1 -0
- package/models/operations/agentscontrollerdeleteagent.d.ts +29 -0
- package/models/operations/agentscontrollerdeleteagent.d.ts.map +1 -0
- package/models/operations/agentscontrollerdeleteagent.js +69 -0
- package/models/operations/agentscontrollerdeleteagent.js.map +1 -0
- package/models/operations/agentscontrollergetagent.d.ts +29 -0
- package/models/operations/agentscontrollergetagent.d.ts.map +1 -0
- package/models/operations/agentscontrollergetagent.js +71 -0
- package/models/operations/agentscontrollergetagent.js.map +1 -0
- package/models/operations/agentscontrollerlistagents.d.ts +76 -0
- package/models/operations/agentscontrollerlistagents.d.ts.map +1 -0
- package/models/operations/agentscontrollerlistagents.js +88 -0
- package/models/operations/agentscontrollerlistagents.js.map +1 -0
- package/models/operations/agentscontrollerupdateagent.d.ts +31 -0
- package/models/operations/agentscontrollerupdateagent.d.ts.map +1 -0
- package/models/operations/agentscontrollerupdateagent.js +73 -0
- package/models/operations/agentscontrollerupdateagent.js.map +1 -0
- package/models/operations/agentscontrollerupdateagentbridge.d.ts +31 -0
- package/models/operations/agentscontrollerupdateagentbridge.d.ts.map +1 -0
- package/models/operations/agentscontrollerupdateagentbridge.js +73 -0
- package/models/operations/agentscontrollerupdateagentbridge.js.map +1 -0
- package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts +4 -4
- package/models/operations/channelendpointscontrollercreatechannelendpoint.d.ts.map +1 -1
- package/models/operations/channelendpointscontrollercreatechannelendpoint.js +6 -0
- package/models/operations/channelendpointscontrollercreatechannelendpoint.js.map +1 -1
- package/models/operations/index.d.ts +11 -0
- package/models/operations/index.d.ts.map +1 -1
- package/models/operations/index.js +11 -0
- package/models/operations/index.js.map +1 -1
- package/package.json +1 -1
- package/sdk/agents.d.ts +80 -0
- package/sdk/agents.d.ts.map +1 -0
- package/sdk/agents.js +108 -0
- package/sdk/agents.js.map +1 -0
- package/sdk/integrations.d.ts +3 -3
- package/sdk/integrations.js +3 -3
- package/sdk/novuintegrations.d.ts +34 -0
- package/sdk/novuintegrations.d.ts.map +1 -0
- package/sdk/novuintegrations.js +52 -0
- package/sdk/novuintegrations.js.map +1 -0
- package/sdk/sdk.d.ts +3 -0
- package/sdk/sdk.d.ts.map +1 -1
- package/sdk/sdk.js +4 -0
- package/sdk/sdk.js.map +1 -1
- package/src/funcs/agentsCreate.ts +222 -0
- package/src/funcs/agentsDelete.ts +225 -0
- package/src/funcs/agentsIntegrationsCreate.ts +228 -0
- package/src/funcs/agentsIntegrationsDelete.ts +235 -0
- package/src/funcs/agentsIntegrationsList.ts +222 -0
- package/src/funcs/agentsIntegrationsUpdate.ts +221 -0
- package/src/funcs/agentsList.ts +212 -0
- package/src/funcs/agentsRetrieve.ts +215 -0
- package/src/funcs/agentsSendReply.ts +249 -0
- package/src/funcs/agentsUpdate.ts +223 -0
- package/src/funcs/agentsUpdateBridge.ts +226 -0
- package/src/funcs/integrationsGenerateChatOAuthUrl.ts +1 -1
- package/src/funcs/integrationsGenerateConnectOAuthUrl.ts +1 -1
- package/src/funcs/integrationsGenerateLinkUserOAuthUrl.ts +1 -1
- package/src/lib/config.ts +4 -4
- package/src/lib/http.ts +3 -1
- package/src/lib/security.ts +10 -5
- package/src/models/components/addagentintegrationrequestdto.ts +42 -0
- package/src/models/components/addreactionpayloaddto.ts +40 -0
- package/src/models/components/agentbehaviordto.ts +131 -0
- package/src/models/components/agentintegrationresponsedto.ts +90 -0
- package/src/models/components/agentintegrationresponseintegrationdto.ts +75 -0
- package/src/models/components/agentintegrationsummarydto.ts +51 -0
- package/src/models/components/agentmcpserverdto.ts +35 -0
- package/src/models/components/agentplanusagedto.ts +71 -0
- package/src/models/components/agentreplypayloaddto.ts +297 -0
- package/src/models/components/agentresponsedto.ts +146 -0
- package/src/models/components/agentskillinputdto.ts +74 -0
- package/src/models/components/agenttooldto.ts +49 -0
- package/src/models/components/authdto.ts +12 -0
- package/src/models/components/cardreplycontentdto.ts +45 -0
- package/src/models/components/chatorpushproviderenum.ts +3 -0
- package/src/models/components/createagentrequestdto.ts +68 -0
- package/src/models/components/createlineuserendpointdto.ts +147 -0
- package/src/models/components/createwebexpersonendpointdto.ts +149 -0
- package/src/models/components/createwebexroomendpointdto.ts +147 -0
- package/src/models/components/credentialsdto.ts +7 -0
- package/src/models/components/deletemessagepayloaddto.ts +34 -0
- package/src/models/components/editpayloaddto.ts +90 -0
- package/src/models/components/filerefdto.ts +48 -0
- package/src/models/components/generatechatoauthurlrequestdto.ts +2 -2
- package/src/models/components/generateconnectoauthurlrequestdto.ts +3 -3
- package/src/models/components/generatelinkuseroauthurlrequestdto.ts +2 -2
- package/src/models/components/getchannelconnectionresponsedto.ts +15 -6
- package/src/models/components/getchannelendpointresponsedto.ts +33 -2
- package/src/models/components/grouppreferencefilterdto.ts +1 -1
- package/src/models/components/index.ts +41 -0
- package/src/models/components/lineuserendpointdto.ts +54 -0
- package/src/models/components/listagentintegrationsresponsedto.ts +64 -0
- package/src/models/components/listagentsresponsedto.ts +67 -0
- package/src/models/components/managedruntimedto.ts +81 -0
- package/src/models/components/managedruntimeresponsedto.ts +70 -0
- package/src/models/components/markdownreplycontentdto.ts +45 -0
- package/src/models/components/messageresponsedto.ts +10 -7
- package/src/models/components/metadataclearsignaldto.ts +59 -0
- package/src/models/components/metadatadeletesignaldto.ts +65 -0
- package/src/models/components/metadatasetsignaldto.ts +100 -0
- package/src/models/components/planusagedto.ts +39 -0
- package/src/models/components/providersidenum.ts +4 -0
- package/src/models/components/resolvedto.ts +30 -0
- package/src/models/components/subscriberchanneldto.ts +3 -0
- package/src/models/components/subscriptionpreferencedto.ts +1 -1
- package/src/models/components/toolapprovalcardreplycontentdto.ts +44 -0
- package/src/models/components/toolapprovalrequestpayloaddto.ts +54 -0
- package/src/models/components/toolresultdto.ts +67 -0
- package/src/models/components/triggereventrequestdto.ts +30 -17
- package/src/models/components/triggersignaldto.ts +111 -0
- package/src/models/components/typingstatusdto.ts +32 -0
- package/src/models/components/updateagentbridgerequestdto.ts +48 -0
- package/src/models/components/updateagentintegrationrequestdto.ts +36 -0
- package/src/models/components/updateagentrequestdto.ts +63 -0
- package/src/models/components/updatechannelendpointrequestdto.ts +26 -4
- package/src/models/components/webexpersonendpointdto.ts +61 -0
- package/src/models/components/webexroomendpointdto.ts +61 -0
- package/src/models/components/workflowpreferencerequestdto.ts +1 -1
- package/src/models/operations/agentintegrationscontrolleraddagentintegration.ts +92 -0
- package/src/models/operations/agentintegrationscontrollerlistagentintegrations.ts +156 -0
- package/src/models/operations/agentintegrationscontrollerremoveagentintegration.ts +85 -0
- package/src/models/operations/agentintegrationscontrollerupdateagentintegration.ts +95 -0
- package/src/models/operations/agentreplycontrollerhandleagentreplyhandler.ts +139 -0
- package/src/models/operations/agentscontrollercreateagent.ts +84 -0
- package/src/models/operations/agentscontrollerdeleteagent.ts +78 -0
- package/src/models/operations/agentscontrollergetagent.ts +78 -0
- package/src/models/operations/agentscontrollerlistagents.ts +142 -0
- package/src/models/operations/agentscontrollerupdateagent.ts +83 -0
- package/src/models/operations/agentscontrollerupdateagentbridge.ts +90 -0
- package/src/models/operations/channelendpointscontrollercreatechannelendpoint.ts +22 -4
- package/src/models/operations/index.ts +11 -0
- package/src/sdk/agents.ts +186 -0
- package/src/sdk/integrations.ts +3 -3
- package/src/sdk/novuintegrations.ts +100 -0
- package/src/sdk/sdk.ts +6 -0
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ChannelTypeEnum } from "./channeltypeenum.js";
|
|
5
|
+
export type AgentIntegrationResponseIntegrationDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Integration document _id.
|
|
8
|
+
*/
|
|
9
|
+
id: string;
|
|
10
|
+
/**
|
|
11
|
+
* The integration identifier (matches the integration store), not the internal MongoDB _id.
|
|
12
|
+
*/
|
|
13
|
+
identifier: string;
|
|
14
|
+
name: string;
|
|
15
|
+
providerId: string;
|
|
16
|
+
/**
|
|
17
|
+
* Channel type through which the message is sent
|
|
18
|
+
*/
|
|
19
|
+
channel?: ChannelTypeEnum | undefined;
|
|
20
|
+
active: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The Novu shared inbox address for this agent. Set whenever the cloud shared-inbox feature is enabled. The dashboard uses this as the headline inbound address and to render the shared inbox row in the inbox list.
|
|
23
|
+
*/
|
|
24
|
+
sharedInboundAddress?: string | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* Default email From display name for this agent (NovuAgent integrations only). Falls back to the agent name when not explicitly stored on the integration credentials.
|
|
27
|
+
*/
|
|
28
|
+
defaultSenderName?: string | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* When true, the worker drops inbound mail addressed to this agent on the shared `agentconnect.sh` domain. Custom-domain routes still deliver. Meaningful on cloud-enabled NovuAgent integrations; on self-hosted it is set defensively at provisioning time and is effectively redundant.
|
|
31
|
+
*/
|
|
32
|
+
sharedInboxDisabled?: boolean | undefined;
|
|
33
|
+
};
|
|
34
|
+
/** @internal */
|
|
35
|
+
export declare const AgentIntegrationResponseIntegrationDto$inboundSchema: z.ZodType<AgentIntegrationResponseIntegrationDto, z.ZodTypeDef, unknown>;
|
|
36
|
+
export declare function agentIntegrationResponseIntegrationDtoFromJSON(jsonString: string): SafeParseResult<AgentIntegrationResponseIntegrationDto, SDKValidationError>;
|
|
37
|
+
//# sourceMappingURL=agentintegrationresponseintegrationdto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentintegrationresponseintegrationdto.d.ts","sourceRoot":"","sources":["../../src/models/components/agentintegrationresponseintegrationdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAG5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,sCAAsC,GAAG;IACnD;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,MAAM,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,oBAAoB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1C;;OAEG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IACvC;;OAEG;IACH,mBAAmB,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC3C,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,oDAAoD,EAAE,CAAC,CAAC,OAAO,CAC1E,sCAAsC,EACtC,CAAC,CAAC,UAAU,EACZ,OAAO,CAeP,CAAC;AAEH,wBAAgB,8CAA8C,CAC5D,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,sCAAsC,EAAE,kBAAkB,CAAC,CAO7E"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentIntegrationResponseIntegrationDto$inboundSchema = void 0;
|
|
40
|
+
exports.agentIntegrationResponseIntegrationDtoFromJSON = agentIntegrationResponseIntegrationDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const primitives_js_1 = require("../../lib/primitives.js");
|
|
43
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
44
|
+
const channeltypeenum_js_1 = require("./channeltypeenum.js");
|
|
45
|
+
/** @internal */
|
|
46
|
+
exports.AgentIntegrationResponseIntegrationDto$inboundSchema = z.object({
|
|
47
|
+
_id: z.string(),
|
|
48
|
+
identifier: z.string(),
|
|
49
|
+
name: z.string(),
|
|
50
|
+
providerId: z.string(),
|
|
51
|
+
channel: channeltypeenum_js_1.ChannelTypeEnum$inboundSchema.optional(),
|
|
52
|
+
active: z.boolean(),
|
|
53
|
+
sharedInboundAddress: z.string().optional(),
|
|
54
|
+
defaultSenderName: z.string().optional(),
|
|
55
|
+
sharedInboxDisabled: z.boolean().optional(),
|
|
56
|
+
}).transform((v) => {
|
|
57
|
+
return (0, primitives_js_1.remap)(v, {
|
|
58
|
+
"_id": "id",
|
|
59
|
+
});
|
|
60
|
+
});
|
|
61
|
+
function agentIntegrationResponseIntegrationDtoFromJSON(jsonString) {
|
|
62
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentIntegrationResponseIntegrationDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentIntegrationResponseIntegrationDto' from JSON`);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=agentintegrationresponseintegrationdto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentintegrationresponseintegrationdto.js","sourceRoot":"","sources":["../../src/models/components/agentintegrationresponseintegrationdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA+DH,wGASC;AAtED,0CAA4B;AAC5B,2DAA0D;AAC1D,qDAAiD;AAGjD,6DAG8B;AAgC9B,gBAAgB;AACH,QAAA,oDAAoD,GAI7D,CAAC,CAAC,MAAM,CAAC;IACX,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;IACf,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,kDAA6B,CAAC,QAAQ,EAAE;IACjD,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;IACnB,oBAAoB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IAC3C,iBAAiB,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,QAAQ,EAAE;IACxC,mBAAmB,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,QAAQ,EAAE;CAC5C,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,EAAE;IACjB,OAAO,IAAA,qBAAM,EAAC,CAAC,EAAE;QACf,KAAK,EAAE,IAAI;KACZ,CAAC,CAAC;AACL,CAAC,CAAC,CAAC;AAEH,SAAgB,8CAA8C,CAC5D,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CACJ,4DAAoD,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3E,oEAAoE,CACrE,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
import { ChannelTypeEnum } from "./channeltypeenum.js";
|
|
5
|
+
export type AgentIntegrationSummaryDto = {
|
|
6
|
+
/**
|
|
7
|
+
* Integration document id.
|
|
8
|
+
*/
|
|
9
|
+
integrationId: string;
|
|
10
|
+
providerId: string;
|
|
11
|
+
name: string;
|
|
12
|
+
identifier: string;
|
|
13
|
+
/**
|
|
14
|
+
* Channel type through which the message is sent
|
|
15
|
+
*/
|
|
16
|
+
channel?: ChannelTypeEnum | undefined;
|
|
17
|
+
active: boolean;
|
|
18
|
+
};
|
|
19
|
+
/** @internal */
|
|
20
|
+
export declare const AgentIntegrationSummaryDto$inboundSchema: z.ZodType<AgentIntegrationSummaryDto, z.ZodTypeDef, unknown>;
|
|
21
|
+
export declare function agentIntegrationSummaryDtoFromJSON(jsonString: string): SafeParseResult<AgentIntegrationSummaryDto, SDKValidationError>;
|
|
22
|
+
//# sourceMappingURL=agentintegrationsummarydto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentintegrationsummarydto.d.ts","sourceRoot":"","sources":["../../src/models/components/agentintegrationsummarydto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,EACL,eAAe,EAEhB,MAAM,sBAAsB,CAAC;AAE9B,MAAM,MAAM,0BAA0B,GAAG;IACvC;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;IACnB;;OAEG;IACH,OAAO,CAAC,EAAE,eAAe,GAAG,SAAS,CAAC;IACtC,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,wCAAwC,EAAE,CAAC,CAAC,OAAO,CAC9D,0BAA0B,EAC1B,CAAC,CAAC,UAAU,EACZ,OAAO,CAQP,CAAC;AAEH,wBAAgB,kCAAkC,CAChD,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAMjE"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentIntegrationSummaryDto$inboundSchema = void 0;
|
|
40
|
+
exports.agentIntegrationSummaryDtoFromJSON = agentIntegrationSummaryDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
const channeltypeenum_js_1 = require("./channeltypeenum.js");
|
|
44
|
+
/** @internal */
|
|
45
|
+
exports.AgentIntegrationSummaryDto$inboundSchema = z.object({
|
|
46
|
+
integrationId: z.string(),
|
|
47
|
+
providerId: z.string(),
|
|
48
|
+
name: z.string(),
|
|
49
|
+
identifier: z.string(),
|
|
50
|
+
channel: channeltypeenum_js_1.ChannelTypeEnum$inboundSchema.optional(),
|
|
51
|
+
active: z.boolean(),
|
|
52
|
+
});
|
|
53
|
+
function agentIntegrationSummaryDtoFromJSON(jsonString) {
|
|
54
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentIntegrationSummaryDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentIntegrationSummaryDto' from JSON`);
|
|
55
|
+
}
|
|
56
|
+
//# sourceMappingURL=agentintegrationsummarydto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentintegrationsummarydto.js","sourceRoot":"","sources":["../../src/models/components/agentintegrationsummarydto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwCH,gFAQC;AA9CD,0CAA4B;AAC5B,qDAAiD;AAGjD,6DAG8B;AAiB9B,gBAAgB;AACH,QAAA,wCAAwC,GAIjD,CAAC,CAAC,MAAM,CAAC;IACX,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,OAAO,EAAE,kDAA6B,CAAC,QAAQ,EAAE;IACjD,MAAM,EAAE,CAAC,CAAC,OAAO,EAAE;CACpB,CAAC,CAAC;AAEH,SAAgB,kCAAkC,CAChD,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,gDAAwC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACpE,wDAAwD,CACzD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
3
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
4
|
+
export type AgentMcpServerDto = {
|
|
5
|
+
externalId: string;
|
|
6
|
+
name: string;
|
|
7
|
+
url: string;
|
|
8
|
+
};
|
|
9
|
+
/** @internal */
|
|
10
|
+
export declare const AgentMcpServerDto$inboundSchema: z.ZodType<AgentMcpServerDto, z.ZodTypeDef, unknown>;
|
|
11
|
+
export declare function agentMcpServerDtoFromJSON(jsonString: string): SafeParseResult<AgentMcpServerDto, SDKValidationError>;
|
|
12
|
+
//# sourceMappingURL=agentmcpserverdto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentmcpserverdto.d.ts","sourceRoot":"","sources":["../../src/models/components/agentmcpserverdto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE,MAAM,MAAM,iBAAiB,GAAG;IAC9B,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAKP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentMcpServerDto$inboundSchema = void 0;
|
|
40
|
+
exports.agentMcpServerDtoFromJSON = agentMcpServerDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/** @internal */
|
|
44
|
+
exports.AgentMcpServerDto$inboundSchema = z.object({
|
|
45
|
+
externalId: z.string(),
|
|
46
|
+
name: z.string(),
|
|
47
|
+
url: z.string(),
|
|
48
|
+
});
|
|
49
|
+
function agentMcpServerDtoFromJSON(jsonString) {
|
|
50
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentMcpServerDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentMcpServerDto' from JSON`);
|
|
51
|
+
}
|
|
52
|
+
//# sourceMappingURL=agentmcpserverdto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentmcpserverdto.js","sourceRoot":"","sources":["../../src/models/components/agentmcpserverdto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwBH,8DAQC;AA9BD,0CAA4B;AAC5B,qDAAiD;AAUjD,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,UAAU,EAAE,CAAC,CAAC,MAAM,EAAE;IACtB,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,GAAG,EAAE,CAAC,CAAC,MAAM,EAAE;CAChB,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { Result as SafeParseResult } from "../../types/fp.js";
|
|
4
|
+
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
|
|
5
|
+
/**
|
|
6
|
+
* Which constraint produced the limits. `plan` limits are lifted by upgrading; `system` limits (platform cap or per-organization override) require contacting the Novu team.
|
|
7
|
+
*/
|
|
8
|
+
export declare const LimitSource: {
|
|
9
|
+
readonly Plan: "plan";
|
|
10
|
+
readonly System: "system";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Which constraint produced the limits. `plan` limits are lifted by upgrading; `system` limits (platform cap or per-organization override) require contacting the Novu team.
|
|
14
|
+
*/
|
|
15
|
+
export type LimitSource = ClosedEnum<typeof LimitSource>;
|
|
16
|
+
export type AgentPlanUsageDto = {
|
|
17
|
+
/**
|
|
18
|
+
* Current usage count for the resource in this environment.
|
|
19
|
+
*/
|
|
20
|
+
used: number;
|
|
21
|
+
/**
|
|
22
|
+
* Amount included in the organization plan.
|
|
23
|
+
*/
|
|
24
|
+
limit: number;
|
|
25
|
+
/**
|
|
26
|
+
* Total agents in this environment, including inactive ones.
|
|
27
|
+
*/
|
|
28
|
+
totalCreated: number;
|
|
29
|
+
/**
|
|
30
|
+
* Hard cap on total agents the organization can create per environment. For plan-limited tiers this is the plan limit plus a small grace buffer; for unlimited tiers it is the platform system limit.
|
|
31
|
+
*/
|
|
32
|
+
creationLimit: number;
|
|
33
|
+
/**
|
|
34
|
+
* Which constraint produced the limits. `plan` limits are lifted by upgrading; `system` limits (platform cap or per-organization override) require contacting the Novu team.
|
|
35
|
+
*/
|
|
36
|
+
limitSource: LimitSource;
|
|
37
|
+
};
|
|
38
|
+
/** @internal */
|
|
39
|
+
export declare const LimitSource$inboundSchema: z.ZodNativeEnum<typeof LimitSource>;
|
|
40
|
+
/** @internal */
|
|
41
|
+
export declare const AgentPlanUsageDto$inboundSchema: z.ZodType<AgentPlanUsageDto, z.ZodTypeDef, unknown>;
|
|
42
|
+
export declare function agentPlanUsageDtoFromJSON(jsonString: string): SafeParseResult<AgentPlanUsageDto, SDKValidationError>;
|
|
43
|
+
//# sourceMappingURL=agentplanusagedto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentplanusagedto.d.ts","sourceRoot":"","sources":["../../src/models/components/agentplanusagedto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAE5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AAErE;;GAEG;AACH,eAAO,MAAM,WAAW;;;CAGd,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,WAAW,GAAG,UAAU,CAAC,OAAO,WAAW,CAAC,CAAC;AAEzD,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,aAAa,EAAE,MAAM,CAAC;IACtB;;OAEG;IACH,WAAW,EAAE,WAAW,CAAC;CAC1B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,yBAAyB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,WAAW,CAChD,CAAC;AAE3B,gBAAgB;AAChB,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CACrD,iBAAiB,EACjB,CAAC,CAAC,UAAU,EACZ,OAAO,CAOP,CAAC;AAEH,wBAAgB,yBAAyB,CACvC,UAAU,EAAE,MAAM,GACjB,eAAe,CAAC,iBAAiB,EAAE,kBAAkB,CAAC,CAMxD"}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentPlanUsageDto$inboundSchema = exports.LimitSource$inboundSchema = exports.LimitSource = void 0;
|
|
40
|
+
exports.agentPlanUsageDtoFromJSON = agentPlanUsageDtoFromJSON;
|
|
41
|
+
const z = __importStar(require("zod/v3"));
|
|
42
|
+
const schemas_js_1 = require("../../lib/schemas.js");
|
|
43
|
+
/**
|
|
44
|
+
* Which constraint produced the limits. `plan` limits are lifted by upgrading; `system` limits (platform cap or per-organization override) require contacting the Novu team.
|
|
45
|
+
*/
|
|
46
|
+
exports.LimitSource = {
|
|
47
|
+
Plan: "plan",
|
|
48
|
+
System: "system",
|
|
49
|
+
};
|
|
50
|
+
/** @internal */
|
|
51
|
+
exports.LimitSource$inboundSchema = z
|
|
52
|
+
.nativeEnum(exports.LimitSource);
|
|
53
|
+
/** @internal */
|
|
54
|
+
exports.AgentPlanUsageDto$inboundSchema = z.object({
|
|
55
|
+
used: z.number(),
|
|
56
|
+
limit: z.number(),
|
|
57
|
+
totalCreated: z.number(),
|
|
58
|
+
creationLimit: z.number(),
|
|
59
|
+
limitSource: exports.LimitSource$inboundSchema,
|
|
60
|
+
});
|
|
61
|
+
function agentPlanUsageDtoFromJSON(jsonString) {
|
|
62
|
+
return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.AgentPlanUsageDto$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'AgentPlanUsageDto' from JSON`);
|
|
63
|
+
}
|
|
64
|
+
//# sourceMappingURL=agentplanusagedto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentplanusagedto.js","sourceRoot":"","sources":["../../src/models/components/agentplanusagedto.ts"],"names":[],"mappings":";AAAA;;GAEG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA4DH,8DAQC;AAlED,0CAA4B;AAC5B,qDAAiD;AAKjD;;GAEG;AACU,QAAA,WAAW,GAAG;IACzB,IAAI,EAAE,MAAM;IACZ,MAAM,EAAE,QAAQ;CACR,CAAC;AA6BX,gBAAgB;AACH,QAAA,yBAAyB,GAAwC,CAAC;KAC5E,UAAU,CAAC,mBAAW,CAAC,CAAC;AAE3B,gBAAgB;AACH,QAAA,+BAA+B,GAIxC,CAAC,CAAC,MAAM,CAAC;IACX,IAAI,EAAE,CAAC,CAAC,MAAM,EAAE;IAChB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;IACjB,YAAY,EAAE,CAAC,CAAC,MAAM,EAAE;IACxB,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,iCAAyB;CACvC,CAAC,CAAC;AAEH,SAAgB,yBAAyB,CACvC,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACd,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,uCAA+B,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EAC3D,+CAA+C,CAChD,CAAC;AACJ,CAAC"}
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
import * as z from "zod/v3";
|
|
2
|
+
import { ClosedEnum } from "../../types/enums.js";
|
|
3
|
+
import { AddReactionPayloadDto, AddReactionPayloadDto$Outbound } from "./addreactionpayloaddto.js";
|
|
4
|
+
import { CardReplyContentDto, CardReplyContentDto$Outbound } from "./cardreplycontentdto.js";
|
|
5
|
+
import { DeleteMessagePayloadDto, DeleteMessagePayloadDto$Outbound } from "./deletemessagepayloaddto.js";
|
|
6
|
+
import { EditPayloadDto, EditPayloadDto$Outbound } from "./editpayloaddto.js";
|
|
7
|
+
import { MarkdownReplyContentDto, MarkdownReplyContentDto$Outbound } from "./markdownreplycontentdto.js";
|
|
8
|
+
import { MetadataClearSignalDto, MetadataClearSignalDto$Outbound } from "./metadataclearsignaldto.js";
|
|
9
|
+
import { MetadataDeleteSignalDto, MetadataDeleteSignalDto$Outbound } from "./metadatadeletesignaldto.js";
|
|
10
|
+
import { MetadataSetSignalDto, MetadataSetSignalDto$Outbound } from "./metadatasetsignaldto.js";
|
|
11
|
+
import { ResolveDto, ResolveDto$Outbound } from "./resolvedto.js";
|
|
12
|
+
import { ToolApprovalCardReplyContentDto, ToolApprovalCardReplyContentDto$Outbound } from "./toolapprovalcardreplycontentdto.js";
|
|
13
|
+
import { ToolApprovalRequestPayloadDto, ToolApprovalRequestPayloadDto$Outbound } from "./toolapprovalrequestpayloaddto.js";
|
|
14
|
+
import { ToolResultDto, ToolResultDto$Outbound } from "./toolresultdto.js";
|
|
15
|
+
import { TriggerSignalDto, TriggerSignalDto$Outbound } from "./triggersignaldto.js";
|
|
16
|
+
import { TypingStatusDto, TypingStatusDto$Outbound } from "./typingstatusdto.js";
|
|
17
|
+
/**
|
|
18
|
+
* Outbound message content. Exactly one of `markdown`, `card`, or `toolApprovalCard`. Optional `files` attach to the message. Cannot be combined with `edit`.
|
|
19
|
+
*/
|
|
20
|
+
export type Reply = MarkdownReplyContentDto | CardReplyContentDto | ToolApprovalCardReplyContentDto;
|
|
21
|
+
export type Signals = MetadataSetSignalDto | MetadataDeleteSignalDto | MetadataClearSignalDto | TriggerSignalDto;
|
|
22
|
+
/**
|
|
23
|
+
* Clear the typing indicator.
|
|
24
|
+
*/
|
|
25
|
+
export declare const Typing1: {
|
|
26
|
+
readonly Stop: "stop";
|
|
27
|
+
};
|
|
28
|
+
/**
|
|
29
|
+
* Clear the typing indicator.
|
|
30
|
+
*/
|
|
31
|
+
export type Typing1 = ClosedEnum<typeof Typing1>;
|
|
32
|
+
/**
|
|
33
|
+
* Per-turn typing/status control. Pass `{ status?: string }` to set/update the status (omit `status` for "Thinking…"), or `"stop"` to clear it. Best-effort per platform.
|
|
34
|
+
*/
|
|
35
|
+
export type Typing = Typing1 | TypingStatusDto;
|
|
36
|
+
export type AgentReplyPayloadDto = {
|
|
37
|
+
/**
|
|
38
|
+
* Conversation id to reply into. Obtained from the inbound agent event / bridge payload.
|
|
39
|
+
*/
|
|
40
|
+
conversationId: string;
|
|
41
|
+
/**
|
|
42
|
+
* Channel integration identifier linked to the agent for this conversation (e.g. `slack-support`).
|
|
43
|
+
*/
|
|
44
|
+
integrationIdentifier: string;
|
|
45
|
+
/**
|
|
46
|
+
* Outbound message content. Exactly one of `markdown`, `card`, or `toolApprovalCard`. Optional `files` attach to the message. Cannot be combined with `edit`.
|
|
47
|
+
*/
|
|
48
|
+
reply?: MarkdownReplyContentDto | CardReplyContentDto | ToolApprovalCardReplyContentDto | undefined;
|
|
49
|
+
/**
|
|
50
|
+
* Tool-lifecycle ledger row for a gated tool call. Pair with `reply.toolApprovalCard` (or another reply shape) to deliver the approval UI.
|
|
51
|
+
*/
|
|
52
|
+
toolApprovalRequest?: ToolApprovalRequestPayloadDto | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* In-place edit of a previously posted agent message. Cannot be combined with reply, resolve, signals, toolResults, toolApprovalRequest, addReactions, or deleteMessages.
|
|
55
|
+
*/
|
|
56
|
+
edit?: EditPayloadDto | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* Mark the conversation resolved. May be combined with a final `reply`.
|
|
59
|
+
*/
|
|
60
|
+
resolve?: ResolveDto | undefined;
|
|
61
|
+
/**
|
|
62
|
+
* Side-effect signals executed during this turn: conversation metadata mutations or Novu workflow triggers.
|
|
63
|
+
*/
|
|
64
|
+
signals?: Array<MetadataSetSignalDto | MetadataDeleteSignalDto | MetadataClearSignalDto | TriggerSignalDto> | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* Tool-call outcomes to persist in conversation history (typically before the assistant reply).
|
|
67
|
+
*/
|
|
68
|
+
toolResults?: Array<ToolResultDto> | undefined;
|
|
69
|
+
/**
|
|
70
|
+
* Emoji reactions to add to existing platform messages.
|
|
71
|
+
*/
|
|
72
|
+
addReactions?: Array<AddReactionPayloadDto> | undefined;
|
|
73
|
+
/**
|
|
74
|
+
* Delete previously posted platform messages. Removes the rendered message only — history is preserved.
|
|
75
|
+
*/
|
|
76
|
+
deleteMessages?: Array<DeleteMessagePayloadDto> | undefined;
|
|
77
|
+
/**
|
|
78
|
+
* Per-turn typing/status control. Pass `{ status?: string }` to set/update the status (omit `status` for "Thinking…"), or `"stop"` to clear it. Best-effort per platform.
|
|
79
|
+
*/
|
|
80
|
+
typing?: Typing1 | TypingStatusDto | undefined;
|
|
81
|
+
/**
|
|
82
|
+
* Bridge reports that the customer runtime failed this turn. Cannot be combined with other actions. Novu delivers generic user-facing error copy.
|
|
83
|
+
*/
|
|
84
|
+
error?: boolean | undefined;
|
|
85
|
+
};
|
|
86
|
+
/** @internal */
|
|
87
|
+
export type Reply$Outbound = MarkdownReplyContentDto$Outbound | CardReplyContentDto$Outbound | ToolApprovalCardReplyContentDto$Outbound;
|
|
88
|
+
/** @internal */
|
|
89
|
+
export declare const Reply$outboundSchema: z.ZodType<Reply$Outbound, z.ZodTypeDef, Reply>;
|
|
90
|
+
export declare function replyToJSON(reply: Reply): string;
|
|
91
|
+
/** @internal */
|
|
92
|
+
export type Signals$Outbound = MetadataSetSignalDto$Outbound | MetadataDeleteSignalDto$Outbound | MetadataClearSignalDto$Outbound | TriggerSignalDto$Outbound;
|
|
93
|
+
/** @internal */
|
|
94
|
+
export declare const Signals$outboundSchema: z.ZodType<Signals$Outbound, z.ZodTypeDef, Signals>;
|
|
95
|
+
export declare function signalsToJSON(signals: Signals): string;
|
|
96
|
+
/** @internal */
|
|
97
|
+
export declare const Typing1$outboundSchema: z.ZodNativeEnum<typeof Typing1>;
|
|
98
|
+
/** @internal */
|
|
99
|
+
export type Typing$Outbound = string | TypingStatusDto$Outbound;
|
|
100
|
+
/** @internal */
|
|
101
|
+
export declare const Typing$outboundSchema: z.ZodType<Typing$Outbound, z.ZodTypeDef, Typing>;
|
|
102
|
+
export declare function typingToJSON(typing: Typing): string;
|
|
103
|
+
/** @internal */
|
|
104
|
+
export type AgentReplyPayloadDto$Outbound = {
|
|
105
|
+
conversationId: string;
|
|
106
|
+
integrationIdentifier: string;
|
|
107
|
+
reply?: MarkdownReplyContentDto$Outbound | CardReplyContentDto$Outbound | ToolApprovalCardReplyContentDto$Outbound | undefined;
|
|
108
|
+
toolApprovalRequest?: ToolApprovalRequestPayloadDto$Outbound | undefined;
|
|
109
|
+
edit?: EditPayloadDto$Outbound | undefined;
|
|
110
|
+
resolve?: ResolveDto$Outbound | undefined;
|
|
111
|
+
signals?: Array<MetadataSetSignalDto$Outbound | MetadataDeleteSignalDto$Outbound | MetadataClearSignalDto$Outbound | TriggerSignalDto$Outbound> | undefined;
|
|
112
|
+
toolResults?: Array<ToolResultDto$Outbound> | undefined;
|
|
113
|
+
addReactions?: Array<AddReactionPayloadDto$Outbound> | undefined;
|
|
114
|
+
deleteMessages?: Array<DeleteMessagePayloadDto$Outbound> | undefined;
|
|
115
|
+
typing?: string | TypingStatusDto$Outbound | undefined;
|
|
116
|
+
error?: boolean | undefined;
|
|
117
|
+
};
|
|
118
|
+
/** @internal */
|
|
119
|
+
export declare const AgentReplyPayloadDto$outboundSchema: z.ZodType<AgentReplyPayloadDto$Outbound, z.ZodTypeDef, AgentReplyPayloadDto>;
|
|
120
|
+
export declare function agentReplyPayloadDtoToJSON(agentReplyPayloadDto: AgentReplyPayloadDto): string;
|
|
121
|
+
//# sourceMappingURL=agentreplypayloaddto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"agentreplypayloaddto.d.ts","sourceRoot":"","sources":["../../src/models/components/agentreplypayloaddto.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,CAAC,MAAM,QAAQ,CAAC;AAC5B,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EACL,qBAAqB,EACrB,8BAA8B,EAE/B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,mBAAmB,EACnB,4BAA4B,EAE7B,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,cAAc,EACd,uBAAuB,EAExB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,sBAAsB,EACtB,+BAA+B,EAEhC,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,uBAAuB,EACvB,gCAAgC,EAEjC,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACL,oBAAoB,EACpB,6BAA6B,EAE9B,MAAM,2BAA2B,CAAC;AACnC,OAAO,EACL,UAAU,EACV,mBAAmB,EAEpB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,+BAA+B,EAC/B,wCAAwC,EAEzC,MAAM,sCAAsC,CAAC;AAC9C,OAAO,EACL,6BAA6B,EAC7B,sCAAsC,EAEvC,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACL,aAAa,EACb,sBAAsB,EAEvB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EACL,gBAAgB,EAChB,yBAAyB,EAE1B,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EACL,eAAe,EACf,wBAAwB,EAEzB,MAAM,sBAAsB,CAAC;AAE9B;;GAEG;AACH,MAAM,MAAM,KAAK,GACb,uBAAuB,GACvB,mBAAmB,GACnB,+BAA+B,CAAC;AAEpC,MAAM,MAAM,OAAO,GACf,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,gBAAgB,CAAC;AAErB;;GAEG;AACH,eAAO,MAAM,OAAO;;CAEV,CAAC;AACX;;GAEG;AACH,MAAM,MAAM,OAAO,GAAG,UAAU,CAAC,OAAO,OAAO,CAAC,CAAC;AAEjD;;GAEG;AACH,MAAM,MAAM,MAAM,GAAG,OAAO,GAAG,eAAe,CAAC;AAE/C,MAAM,MAAM,oBAAoB,GAAG;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IACvB;;OAEG;IACH,qBAAqB,EAAE,MAAM,CAAC;IAC9B;;OAEG;IACH,KAAK,CAAC,EACF,uBAAuB,GACvB,mBAAmB,GACnB,+BAA+B,GAC/B,SAAS,CAAC;IACd;;OAEG;IACH,mBAAmB,CAAC,EAAE,6BAA6B,GAAG,SAAS,CAAC;IAChE;;OAEG;IACH,IAAI,CAAC,EAAE,cAAc,GAAG,SAAS,CAAC;IAClC;;OAEG;IACH,OAAO,CAAC,EAAE,UAAU,GAAG,SAAS,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EACJ,KAAK,CACH,oBAAoB,GACpB,uBAAuB,GACvB,sBAAsB,GACtB,gBAAgB,CACnB,GACC,SAAS,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,YAAY,CAAC,EAAE,KAAK,CAAC,qBAAqB,CAAC,GAAG,SAAS,CAAC;IACxD;;OAEG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC,uBAAuB,CAAC,GAAG,SAAS,CAAC;IAC5D;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,GAAG,eAAe,GAAG,SAAS,CAAC;IAC/C;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,MAAM,MAAM,cAAc,GACtB,gCAAgC,GAChC,4BAA4B,GAC5B,wCAAwC,CAAC;AAE7C,gBAAgB;AAChB,eAAO,MAAM,oBAAoB,EAAE,CAAC,CAAC,OAAO,CAC1C,cAAc,EACd,CAAC,CAAC,UAAU,EACZ,KAAK,CAKL,CAAC;AAEH,wBAAgB,WAAW,CAAC,KAAK,EAAE,KAAK,GAAG,MAAM,CAEhD;AAED,gBAAgB;AAChB,MAAM,MAAM,gBAAgB,GACxB,6BAA6B,GAC7B,gCAAgC,GAChC,+BAA+B,GAC/B,yBAAyB,CAAC;AAE9B,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,OAAO,CAC5C,gBAAgB,EAChB,CAAC,CAAC,UAAU,EACZ,OAAO,CAMP,CAAC;AAEH,wBAAgB,aAAa,CAAC,OAAO,EAAE,OAAO,GAAG,MAAM,CAEtD;AAED,gBAAgB;AAChB,eAAO,MAAM,sBAAsB,EAAE,CAAC,CAAC,aAAa,CAAC,OAAO,OAAO,CAC7C,CAAC;AAEvB,gBAAgB;AAChB,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,wBAAwB,CAAC;AAEhE,gBAAgB;AAChB,eAAO,MAAM,qBAAqB,EAAE,CAAC,CAAC,OAAO,CAC3C,eAAe,EACf,CAAC,CAAC,UAAU,EACZ,MAAM,CAC6D,CAAC;AAEtE,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CAEnD;AAED,gBAAgB;AAChB,MAAM,MAAM,6BAA6B,GAAG;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,MAAM,CAAC;IAC9B,KAAK,CAAC,EACF,gCAAgC,GAChC,4BAA4B,GAC5B,wCAAwC,GACxC,SAAS,CAAC;IACd,mBAAmB,CAAC,EAAE,sCAAsC,GAAG,SAAS,CAAC;IACzE,IAAI,CAAC,EAAE,uBAAuB,GAAG,SAAS,CAAC;IAC3C,OAAO,CAAC,EAAE,mBAAmB,GAAG,SAAS,CAAC;IAC1C,OAAO,CAAC,EACJ,KAAK,CACH,6BAA6B,GAC7B,gCAAgC,GAChC,+BAA+B,GAC/B,yBAAyB,CAC5B,GACC,SAAS,CAAC;IACd,WAAW,CAAC,EAAE,KAAK,CAAC,sBAAsB,CAAC,GAAG,SAAS,CAAC;IACxD,YAAY,CAAC,EAAE,KAAK,CAAC,8BAA8B,CAAC,GAAG,SAAS,CAAC;IACjE,cAAc,CAAC,EAAE,KAAK,CAAC,gCAAgC,CAAC,GAAG,SAAS,CAAC;IACrE,MAAM,CAAC,EAAE,MAAM,GAAG,wBAAwB,GAAG,SAAS,CAAC;IACvD,KAAK,CAAC,EAAE,OAAO,GAAG,SAAS,CAAC;CAC7B,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CACzD,6BAA6B,EAC7B,CAAC,CAAC,UAAU,EACZ,oBAAoB,CA0BpB,CAAC;AAEH,wBAAgB,0BAA0B,CACxC,oBAAoB,EAAE,oBAAoB,GACzC,MAAM,CAIR"}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/*
|
|
3
|
+
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AgentReplyPayloadDto$outboundSchema = exports.Typing$outboundSchema = exports.Typing1$outboundSchema = exports.Signals$outboundSchema = exports.Reply$outboundSchema = exports.Typing1 = void 0;
|
|
40
|
+
exports.replyToJSON = replyToJSON;
|
|
41
|
+
exports.signalsToJSON = signalsToJSON;
|
|
42
|
+
exports.typingToJSON = typingToJSON;
|
|
43
|
+
exports.agentReplyPayloadDtoToJSON = agentReplyPayloadDtoToJSON;
|
|
44
|
+
const z = __importStar(require("zod/v3"));
|
|
45
|
+
const addreactionpayloaddto_js_1 = require("./addreactionpayloaddto.js");
|
|
46
|
+
const cardreplycontentdto_js_1 = require("./cardreplycontentdto.js");
|
|
47
|
+
const deletemessagepayloaddto_js_1 = require("./deletemessagepayloaddto.js");
|
|
48
|
+
const editpayloaddto_js_1 = require("./editpayloaddto.js");
|
|
49
|
+
const markdownreplycontentdto_js_1 = require("./markdownreplycontentdto.js");
|
|
50
|
+
const metadataclearsignaldto_js_1 = require("./metadataclearsignaldto.js");
|
|
51
|
+
const metadatadeletesignaldto_js_1 = require("./metadatadeletesignaldto.js");
|
|
52
|
+
const metadatasetsignaldto_js_1 = require("./metadatasetsignaldto.js");
|
|
53
|
+
const resolvedto_js_1 = require("./resolvedto.js");
|
|
54
|
+
const toolapprovalcardreplycontentdto_js_1 = require("./toolapprovalcardreplycontentdto.js");
|
|
55
|
+
const toolapprovalrequestpayloaddto_js_1 = require("./toolapprovalrequestpayloaddto.js");
|
|
56
|
+
const toolresultdto_js_1 = require("./toolresultdto.js");
|
|
57
|
+
const triggersignaldto_js_1 = require("./triggersignaldto.js");
|
|
58
|
+
const typingstatusdto_js_1 = require("./typingstatusdto.js");
|
|
59
|
+
/**
|
|
60
|
+
* Clear the typing indicator.
|
|
61
|
+
*/
|
|
62
|
+
exports.Typing1 = {
|
|
63
|
+
Stop: "stop",
|
|
64
|
+
};
|
|
65
|
+
/** @internal */
|
|
66
|
+
exports.Reply$outboundSchema = z.union([
|
|
67
|
+
markdownreplycontentdto_js_1.MarkdownReplyContentDto$outboundSchema,
|
|
68
|
+
cardreplycontentdto_js_1.CardReplyContentDto$outboundSchema,
|
|
69
|
+
toolapprovalcardreplycontentdto_js_1.ToolApprovalCardReplyContentDto$outboundSchema,
|
|
70
|
+
]);
|
|
71
|
+
function replyToJSON(reply) {
|
|
72
|
+
return JSON.stringify(exports.Reply$outboundSchema.parse(reply));
|
|
73
|
+
}
|
|
74
|
+
/** @internal */
|
|
75
|
+
exports.Signals$outboundSchema = z.union([
|
|
76
|
+
metadatasetsignaldto_js_1.MetadataSetSignalDto$outboundSchema,
|
|
77
|
+
metadatadeletesignaldto_js_1.MetadataDeleteSignalDto$outboundSchema,
|
|
78
|
+
metadataclearsignaldto_js_1.MetadataClearSignalDto$outboundSchema,
|
|
79
|
+
triggersignaldto_js_1.TriggerSignalDto$outboundSchema,
|
|
80
|
+
]);
|
|
81
|
+
function signalsToJSON(signals) {
|
|
82
|
+
return JSON.stringify(exports.Signals$outboundSchema.parse(signals));
|
|
83
|
+
}
|
|
84
|
+
/** @internal */
|
|
85
|
+
exports.Typing1$outboundSchema = z
|
|
86
|
+
.nativeEnum(exports.Typing1);
|
|
87
|
+
/** @internal */
|
|
88
|
+
exports.Typing$outboundSchema = z.union([exports.Typing1$outboundSchema, typingstatusdto_js_1.TypingStatusDto$outboundSchema]);
|
|
89
|
+
function typingToJSON(typing) {
|
|
90
|
+
return JSON.stringify(exports.Typing$outboundSchema.parse(typing));
|
|
91
|
+
}
|
|
92
|
+
/** @internal */
|
|
93
|
+
exports.AgentReplyPayloadDto$outboundSchema = z.object({
|
|
94
|
+
conversationId: z.string(),
|
|
95
|
+
integrationIdentifier: z.string(),
|
|
96
|
+
reply: z.union([
|
|
97
|
+
markdownreplycontentdto_js_1.MarkdownReplyContentDto$outboundSchema,
|
|
98
|
+
cardreplycontentdto_js_1.CardReplyContentDto$outboundSchema,
|
|
99
|
+
toolapprovalcardreplycontentdto_js_1.ToolApprovalCardReplyContentDto$outboundSchema,
|
|
100
|
+
]).optional(),
|
|
101
|
+
toolApprovalRequest: toolapprovalrequestpayloaddto_js_1.ToolApprovalRequestPayloadDto$outboundSchema.optional(),
|
|
102
|
+
edit: editpayloaddto_js_1.EditPayloadDto$outboundSchema.optional(),
|
|
103
|
+
resolve: resolvedto_js_1.ResolveDto$outboundSchema.optional(),
|
|
104
|
+
signals: z.array(z.union([
|
|
105
|
+
metadatasetsignaldto_js_1.MetadataSetSignalDto$outboundSchema,
|
|
106
|
+
metadatadeletesignaldto_js_1.MetadataDeleteSignalDto$outboundSchema,
|
|
107
|
+
metadataclearsignaldto_js_1.MetadataClearSignalDto$outboundSchema,
|
|
108
|
+
triggersignaldto_js_1.TriggerSignalDto$outboundSchema,
|
|
109
|
+
])).optional(),
|
|
110
|
+
toolResults: z.array(toolresultdto_js_1.ToolResultDto$outboundSchema).optional(),
|
|
111
|
+
addReactions: z.array(addreactionpayloaddto_js_1.AddReactionPayloadDto$outboundSchema).optional(),
|
|
112
|
+
deleteMessages: z.array(deletemessagepayloaddto_js_1.DeleteMessagePayloadDto$outboundSchema).optional(),
|
|
113
|
+
typing: z.union([exports.Typing1$outboundSchema, typingstatusdto_js_1.TypingStatusDto$outboundSchema])
|
|
114
|
+
.optional(),
|
|
115
|
+
error: z.boolean().optional(),
|
|
116
|
+
});
|
|
117
|
+
function agentReplyPayloadDtoToJSON(agentReplyPayloadDto) {
|
|
118
|
+
return JSON.stringify(exports.AgentReplyPayloadDto$outboundSchema.parse(agentReplyPayloadDto));
|
|
119
|
+
}
|
|
120
|
+
//# sourceMappingURL=agentreplypayloaddto.js.map
|