@hostwebhook/node-types 1.26.0 → 1.27.0

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.
@@ -22,7 +22,7 @@ const PROCESSING_OUTPUTS = [
22
22
  ];
23
23
  /** Standard processing input sources */
24
24
  const STANDARD_INPUTS = [
25
- 'endpoint', 'scheduledWebhook', 'serviceTrigger', 'router', 'filter', 'transform',
25
+ 'endpoint', 'scheduledWebhook', 'serviceTrigger', 'voiceCall', 'router', 'filter', 'transform',
26
26
  'cache', 'code', 'rateLimiter', 'aggregator', 'conditional', 'delay', 'schemaValidator', 'split', 'loop', 'markdown', 'fileTransform',
27
27
  ];
28
28
  /** Action nodes that can chain (non-terminal) */
@@ -35,6 +35,7 @@ exports.NODE_CONNECTIONS = {
35
35
  scheduledWebhook: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
36
36
  chatTrigger: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
37
37
  serviceTrigger: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
38
+ voiceCall: { acceptsInputFrom: [], canOutputTo: PROCESSING_OUTPUTS },
38
39
  // ── Pipeline processing nodes ──
39
40
  filter: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
40
41
  transform: { acceptsInputFrom: STANDARD_INPUTS, canOutputTo: PROCESSING_OUTPUTS },
@@ -25,6 +25,7 @@ exports.CREDENTIAL_TYPES = [
25
25
  { type: 'memory_contextwindow' },
26
26
  { type: 'memory_mongodb', ssrfValidated: true, tunnelable: true },
27
27
  { type: 'mcp_server' },
28
+ { type: 'voice_agent' },
28
29
  ];
29
30
  /**
30
31
  * Plain string array — what the Mongoose `enum` field and the
package/dist/dispatch.js CHANGED
@@ -52,6 +52,7 @@ exports.NODE_DISPATCH = {
52
52
  scheduledWebhook: { service: 'scheduledWebhooksService', collection: 'scheduledwebhooks', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
53
53
  chatTrigger: { service: 'chatTriggersService', collection: 'chattriggers', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
54
54
  serviceTrigger: { service: 'serviceTriggersService', collection: 'servicetriggers', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
55
+ voiceCall: { service: 'voiceCallTriggersService', collection: 'voicecalltriggers', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
55
56
  // ── Annotation — never executed in pipeline ──
56
57
  stickyNote: { service: 'stickyNotesService', collection: 'stickynotes', hasFilters: false, outputFields: ['outputNodes'], customDispatch: true, pipelineDispatch: 'excluded' },
57
58
  };
package/dist/registry.js CHANGED
@@ -35,6 +35,12 @@ exports.NODE_REGISTRY = {
35
35
  stateKey: 'serviceTriggers', allStateKey: 'allServiceTriggers',
36
36
  color: '#ef4444', testable: false,
37
37
  },
38
+ voiceCall: {
39
+ type: 'voiceCall', prefix: 'vc', label: 'Voice Call',
40
+ group: 'Sources', detailPath: '/dashboard/voice-call-triggers', apiPath: '/voice-call-triggers',
41
+ stateKey: 'voiceCallTriggers', allStateKey: 'allVoiceCallTriggers',
42
+ color: '#a855f7', testable: false,
43
+ },
38
44
  // ── Flow Control ──
39
45
  filter: {
40
46
  type: 'filter', prefix: 'fi', label: 'Filter',
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /** All valid node type identifiers */
2
- export type NodeType = 'endpoint' | 'scheduledWebhook' | 'chatTrigger' | 'serviceTrigger' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'loop' | 'markdown' | 'fileTransform' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'postgresAction' | 'notificationAction' | 'sheetsAction' | 'calendarAction' | 'docsAction' | 'driveAction' | 'firecrawlAction' | 'vectorStore' | 'stickyNote';
2
+ export type NodeType = 'endpoint' | 'scheduledWebhook' | 'chatTrigger' | 'serviceTrigger' | 'voiceCall' | 'filter' | 'transform' | 'schemaValidator' | 'conditional' | 'delay' | 'rateLimiter' | 'aggregator' | 'cache' | 'code' | 'ai' | 'merge' | 'approval' | 'split' | 'loop' | 'markdown' | 'fileTransform' | 'router' | 'emailAction' | 'httpAction' | 'mongoAction' | 'postgresAction' | 'notificationAction' | 'sheetsAction' | 'calendarAction' | 'docsAction' | 'driveAction' | 'firecrawlAction' | 'vectorStore' | 'stickyNote';
3
3
  /** Node role in the pipeline */
4
4
  export type NodeRole = 'source' | 'processing' | 'flowControl' | 'routing' | 'action' | 'monitoring';
5
5
  /** Handle positions on the canvas node */
package/dist/ui.js CHANGED
@@ -12,6 +12,7 @@ exports.NODE_UI = {
12
12
  scheduledWebhook: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right', 'bottom'], dotHandles: { output: ['right-out', 'bottom-out'] } },
13
13
  chatTrigger: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right'], dotHandles: { output: ['right-out'] } },
14
14
  serviceTrigger: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right', 'bottom'], dotHandles: { output: ['right-out', 'bottom-out'] } },
15
+ voiceCall: { fromNodes: false, toNodes: true, isSource: true, outputHandles: ['right'], dotHandles: { output: ['right-out'] } },
15
16
  // ── Pipeline processing nodes ──
16
17
  filter: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
17
18
  transform: { fromNodes: true, toNodes: true, special: { loopBackAllowed: true } },
@@ -53,6 +54,7 @@ exports.PREFIX_TO_TYPE = [
53
54
  { prefix: 'sw-', type: 'scheduledWebhook', canvasType: 'scheduledWebhook' },
54
55
  { prefix: 'chat-', type: 'chatTrigger', canvasType: 'chatTrigger' },
55
56
  { prefix: 'svc-', type: 'serviceTrigger', canvasType: 'serviceTrigger' },
57
+ { prefix: 'vc-', type: 'voiceCall', canvasType: 'voiceCall' },
56
58
  { prefix: 'ea-', type: 'emailAction', canvasType: 'emailAction' },
57
59
  { prefix: 'ha-', type: 'httpAction', canvasType: 'httpAction' },
58
60
  { prefix: 'ma-', type: 'mongoAction', canvasType: 'mongoAction' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostwebhook/node-types",
3
- "version": "1.26.0",
3
+ "version": "1.27.0",
4
4
  "description": "Shared node type definitions, connection rules, and dispatch config for HostWebhook",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",