@5minds/node-red-contrib-processcube-tools 1.2.3-feature-e5b62e-mhaadpe6 → 1.2.3-feature-9019dc-mhddm4d8

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.
@@ -6,7 +6,7 @@
6
6
  name: { value: '' },
7
7
  // Mail fields
8
8
  sender: {
9
- value: 'Email Sender System',
9
+ value: 'Stoelting Ticket-System',
10
10
  required: true,
11
11
  validate: RED.validators.typedInput('senderType'),
12
12
  },
@@ -216,62 +216,6 @@
216
216
  </dd>
217
217
  </dl>
218
218
 
219
- <h4>Runtime SMTP Configuration Override</h4>
220
- <p>
221
- You can override the SMTP configuration at runtime by providing a <code>msg.smtpConfig</code> object.
222
- When <code>msg.smtpConfig</code> is present, it will be used <b>instead of</b> the smtp-config node
223
- (not merged with it).
224
- </p>
225
- <dl class="message-properties">
226
- <dt>msg.smtpConfig <i>(Optional)</i> <span class="property-type">object</span></dt>
227
- <dd>
228
- SMTP configuration object to override the smtp-config node settings. When provided, this completely
229
- replaces the smtp-config node configuration for that message.
230
- </dd>
231
- </dl>
232
-
233
- <h5>Required Fields in msg.smtpConfig</h5>
234
- <ul>
235
- <li><code>host</code> <span class="property-type">string</span> - SMTP server hostname (e.g., "smtp.gmail.com")</li>
236
- <li><code>port</code> <span class="property-type">number</span> - SMTP server port (e.g., 587 for STARTTLS, 465 for SSL/TLS)</li>
237
- <li><code>user</code> <span class="property-type">string</span> - SMTP username for authentication</li>
238
- <li><code>password</code> <span class="property-type">string</span> - SMTP password for authentication</li>
239
- </ul>
240
-
241
- <h5>Optional Fields in msg.smtpConfig (with defaults)</h5>
242
- <ul>
243
- <li><code>secure</code> <span class="property-type">boolean</span> - Use SSL/TLS encryption (default: <code>false</code>)</li>
244
- <li><code>rejectUnauthorized</code> <span class="property-type">boolean</span> - Reject invalid TLS certificates (default: <code>false</code>)</li>
245
- <li><code>connTimeout</code> <span class="property-type">number</span> - Connection timeout in milliseconds (default: <code>10000</code>)</li>
246
- <li><code>authTimeout</code> <span class="property-type">number</span> - Authentication timeout in milliseconds (default: <code>5000</code>)</li>
247
- <li><code>keepalive</code> <span class="property-type">boolean</span> - Keep connection alive (default: <code>true</code>)</li>
248
- <li><code>autotls</code> <span class="property-type">string</span> - Auto TLS mode: "never", "always", or "required" (default: <code>"never"</code>)</li>
249
- </ul>
250
-
251
- <h5>Example: Using msg.smtpConfig</h5>
252
- <pre><code>// In a Function node before the email-sender node:
253
- msg.smtpConfig = {
254
- host: "smtp.example.com",
255
- port: 587,
256
- user: "myuser@example.com",
257
- password: "mypassword",
258
- secure: false // Use STARTTLS
259
- };
260
-
261
- // Optional fields with custom values:
262
- msg.smtpConfig = {
263
- host: "smtp.example.com",
264
- port: 465,
265
- user: "myuser@example.com",
266
- password: "mypassword",
267
- secure: true, // Use SSL/TLS
268
- rejectUnauthorized: true,
269
- connTimeout: 15000, // 15 seconds
270
- authTimeout: 8000 // 8 seconds
271
- };
272
-
273
- return msg;</code></pre>
274
-
275
219
  <h3>Usage Notes</h3>
276
220
  <ul>
277
221
  <li>
@@ -54,72 +54,6 @@ const EmailSenderNode = (RED, dependencies = defaultDependencies) => {
54
54
  }
55
55
  return null;
56
56
  };
57
- /**
58
- * Gets SMTP configuration either from msg.smtpConfig or smtp-config node
59
- * Applies defaults for optional fields and validates required fields
60
- */
61
- const getSmtpConfig = (msg, smtpConfigNode) => {
62
- let configSource;
63
- let rawConfig;
64
- // Check if msg.smtpConfig is provided
65
- if (msg.smtpConfig && typeof msg.smtpConfig === 'object') {
66
- configSource = 'msg.smtpConfig';
67
- rawConfig = msg.smtpConfig;
68
- }
69
- else {
70
- configSource = 'smtp-config node';
71
- // Get configuration from smtp-config node (existing behavior)
72
- rawConfig = {
73
- host: RED.util.evaluateNodeProperty(smtpConfigNode.host, smtpConfigNode.hostType || 'env', smtpConfigNode, msg),
74
- port: RED.util.evaluateNodeProperty(smtpConfigNode.port, smtpConfigNode.portType || 'env', smtpConfigNode, msg),
75
- user: RED.util.evaluateNodeProperty(smtpConfigNode.user, smtpConfigNode.userType || 'env', smtpConfigNode, msg),
76
- password: RED.util.evaluateNodeProperty(smtpConfigNode.password, smtpConfigNode.passwordType || 'env', smtpConfigNode, msg),
77
- secure: smtpConfigNode.secure,
78
- rejectUnauthorized: smtpConfigNode.rejectUnauthorized,
79
- connTimeout: smtpConfigNode.connTimeout,
80
- authTimeout: smtpConfigNode.authTimeout,
81
- keepalive: smtpConfigNode.keepalive,
82
- autotls: smtpConfigNode.autotls,
83
- };
84
- }
85
- // Validate required fields
86
- const requiredFields = ['host', 'port', 'user', 'password'];
87
- for (const field of requiredFields) {
88
- const value = rawConfig[field];
89
- if (value === undefined || value === null || value === '') {
90
- throw new Error(`Required SMTP field '${field}' is missing from ${configSource}. ` +
91
- `Please provide it in msg.smtpConfig or configure the smtp-config node.`);
92
- }
93
- }
94
- // Apply defaults for optional fields (undefined/null get defaults, explicit values are honored)
95
- const normalizedConfig = {
96
- host: String(rawConfig.host),
97
- port: Number(rawConfig.port),
98
- user: String(rawConfig.user),
99
- password: String(rawConfig.password),
100
- secure: rawConfig.secure !== undefined && rawConfig.secure !== null ? Boolean(rawConfig.secure) : false,
101
- rejectUnauthorized: rawConfig.rejectUnauthorized !== undefined && rawConfig.rejectUnauthorized !== null
102
- ? Boolean(rawConfig.rejectUnauthorized)
103
- : false,
104
- connTimeout: rawConfig.connTimeout !== undefined && rawConfig.connTimeout !== null
105
- ? Number(rawConfig.connTimeout)
106
- : 10000,
107
- authTimeout: rawConfig.authTimeout !== undefined && rawConfig.authTimeout !== null
108
- ? Number(rawConfig.authTimeout)
109
- : 5000,
110
- keepalive: rawConfig.keepalive !== undefined && rawConfig.keepalive !== null
111
- ? Boolean(rawConfig.keepalive)
112
- : true,
113
- autotls: rawConfig.autotls !== undefined && rawConfig.autotls !== null
114
- ? String(rawConfig.autotls)
115
- : 'never',
116
- };
117
- // Log which config source is being used in development mode
118
- if (process.env.NODE_ENV === 'development') {
119
- console.log(`[DEBUG] Email Sender - Using SMTP config from: ${configSource}`);
120
- }
121
- return normalizedConfig;
122
- };
123
57
  node.on('input', async (msg, send, done) => {
124
58
  send =
125
59
  send ||
@@ -151,10 +85,17 @@ const EmailSenderNode = (RED, dependencies = defaultDependencies) => {
151
85
  'Message from Node-RED');
152
86
  const htmlContent = String(RED.util.evaluateNodeProperty(config.htmlContent, config.htmlContentType, node, msg));
153
87
  const attachments = safeEvaluatePropertyAttachment(config, node, msg);
154
- // Get SMTP Configuration (either from msg.smtpConfig or smtp-config node)
155
- const smtpConfig = getSmtpConfig(msg, smtpConfigNode);
156
- // Extract values for use
157
- const { host, port, user, password, secure, rejectUnauthorized } = smtpConfig;
88
+ // Get SMTP Configuration from config node
89
+ const smtp_host = RED.util.evaluateNodeProperty(smtpConfigNode.host, smtpConfigNode.hostType || 'env', smtpConfigNode, msg);
90
+ const smtp_port = RED.util.evaluateNodeProperty(smtpConfigNode.port, smtpConfigNode.portType || 'env', smtpConfigNode, msg);
91
+ const smtp_user = RED.util.evaluateNodeProperty(smtpConfigNode.user, smtpConfigNode.userType || 'env', smtpConfigNode, msg);
92
+ const smtp_password = RED.util.evaluateNodeProperty(smtpConfigNode.password, smtpConfigNode.passwordType || 'env', smtpConfigNode, msg);
93
+ const host = smtp_host;
94
+ const port = smtp_port;
95
+ const user = String(smtp_user);
96
+ const password = String(smtp_password);
97
+ const secure = smtpConfigNode.secure;
98
+ const rejectUnauthorized = smtpConfigNode.rejectUnauthorized;
158
99
  // Runtime validation: at least one recipient must be provided
159
100
  if (!to && !cc && !bcc) {
160
101
  if (process.env.NODE_ENV === 'development') {
@@ -198,18 +139,13 @@ const EmailSenderNode = (RED, dependencies = defaultDependencies) => {
198
139
  // Debug output for development environment (always show when NODE_ENV=development)
199
140
  if (process.env.NODE_ENV === 'development') {
200
141
  const debugConfig = {
201
- configSource: msg.smtpConfig ? 'msg.smtpConfig' : 'smtp-config node',
202
142
  smtp: {
203
143
  host,
204
144
  port,
205
145
  secure,
206
146
  user,
207
147
  password: password ? '[REDACTED]' : password,
208
- rejectUnauthorized,
209
- connTimeout: smtpConfig.connTimeout,
210
- authTimeout: smtpConfig.authTimeout,
211
- keepalive: smtpConfig.keepalive,
212
- autotls: smtpConfig.autotls
148
+ rejectUnauthorized
213
149
  },
214
150
  email: {
215
151
  from: { name: sender, address: from },
@@ -1 +1 @@
1
- {"version":3,"file":"email-sender.js","sourceRoot":"","sources":["../../src/email-sender/email-sender.ts"],"names":[],"mappings":";;;;AACA,4DAAoC;AAapC,2CAA2C;AAC3C,MAAM,mBAAmB,GAAiB;IACtC,UAAU,EAAE,oBAAU;CACzB,CAAC;AAEF,MAAM,eAAe,GAAoB,CAAC,GAAG,EAAE,eAA6B,mBAAmB,EAAE,EAAE;IAC/F,SAAS,WAAW,CAAa,MAAiC;QAC9D,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QACnC,MAAM,IAAI,GAAG,IAAI,CAAC;QAElB,oEAAoE;QACpE,IAAI,WAAW,GAAiB,IAAI,CAAC;QAErC,2BAA2B;QAC3B,MAAM,cAAc,GAAG,GAAG,CAAC,KAAK,CAAC,OAAO,CAAC,MAAM,CAAC,UAAU,CAAQ,CAAC;QAEnE,IAAI,CAAC;YACD,mCAAmC;YACnC,IAAI,CAAC,cAAc,EAAE,CAAC;gBAClB,MAAM,IAAI,KAAK,CAAC,2CAA2C,CAAC,CAAC;YACjE,CAAC;YAED,kEAAkE;YAClE,8EAA8E;YAC9E,MAAM,cAAc,GAAG;gBACnB,EAAE,IAAI,EAAE,QAAQ,EAAE,KAAK,EAAE,MAAM,CAAC,MAAM,EAAE;gBACxC,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE;aACvC,CAAC;YAEF,KAAK,MAAM,KAAK,IAAI,cAAc,EAAE,CAAC;gBACjC,IAAI,KAAK,CAAC,KAAK,KAAK,SAAS,IAAI,KAAK,CAAC,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C,OAAO,KAAK,EAAE,CAAC;gBACb,yCAAyC;gBACzC,IAAI,OAAO,CAAC,GAAG,CAAC,QAAQ,KAAK,aAAa,EAAE,CAAC;oBACzC,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,KAAK,CAAC,CAAC;gBACjE,CAAC;gBACD,IAAI,CAAC,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,KAAK,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;gBAChE,IAAI,CAAC,MAAM,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC,CAAC;YAC9D,CAAC;QACL,CAAC,CAAC,CAAC;IACP,CAAC;IAED,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,cAAc,EAAE,WAAW,CAAC,CAAC;AACxD,CAAC,CAAC;AAEF,iBAAS,eAAe,CAAC"}
@@ -24,25 +24,25 @@
24
24
  oneditprepare: function () {
25
25
  $('#node-config-input-host').typedInput({
26
26
  default: 'env',
27
- types: ['str', 'env', 'flow', 'global'],
27
+ types: ['str', 'env'],
28
28
  typeField: '#node-config-input-hostType',
29
29
  });
30
30
 
31
31
  $('#node-config-input-port').typedInput({
32
32
  default: 'env',
33
- types: ['num', 'env', 'flow', 'global'],
33
+ types: ['num', 'env'],
34
34
  typeField: '#node-config-input-portType',
35
35
  });
36
36
 
37
37
  $('#node-config-input-user').typedInput({
38
38
  default: 'env',
39
- types: ['str', 'env', 'flow', 'global'],
39
+ types: ['str', 'env'],
40
40
  typeField: '#node-config-input-userType',
41
41
  });
42
42
 
43
43
  $('#node-config-input-password').typedInput({
44
44
  default: 'env',
45
- types: ['str', 'env', 'flow', 'global'],
45
+ types: ['str', 'env'],
46
46
  typeField: '#node-config-input-passwordType',
47
47
  });
48
48
  },
@@ -122,20 +122,20 @@
122
122
  <dt>Name <span class="property-type">string</span></dt>
123
123
  <dd>A friendly name for this IMAP configuration.</dd>
124
124
 
125
- <dt>IMAP Host <span class="property-type">string | variable</span></dt>
126
- <dd>The hostname or IP address of the IMAP server (e.g., imap.gmail.com). Supports string, environment variables, flow context, and global context.</dd>
125
+ <dt>IMAP Host <span class="property-type">string</span></dt>
126
+ <dd>The hostname or IP address of the IMAP server (e.g., imap.gmail.com).</dd>
127
127
 
128
- <dt>Port <span class="property-type">number | variable</span></dt>
129
- <dd>The port number for IMAP connection (typically 993 for TLS, 143 for non-TLS). Supports number, environment variables, flow context, and global context.</dd>
128
+ <dt>Port <span class="property-type">number</span></dt>
129
+ <dd>The port number for IMAP connection (typically 993 for TLS, 143 for non-TLS).</dd>
130
130
 
131
131
  <dt>Use TLS <span class="property-type">boolean</span></dt>
132
132
  <dd>Enable TLS/SSL encryption for the connection.</dd>
133
133
 
134
- <dt>User <span class="property-type">string | variable</span></dt>
135
- <dd>The username for IMAP authentication. Supports string, environment variables, flow context, and global context.</dd>
134
+ <dt>User <span class="property-type">string</span></dt>
135
+ <dd>The username for IMAP authentication.</dd>
136
136
 
137
- <dt>Password <span class="property-type">string | variable</span></dt>
138
- <dd>The password for IMAP authentication. Supports string, environment variables, flow context, and global context.</dd>
137
+ <dt>Password <span class="property-type">string</span></dt>
138
+ <dd>The password for IMAP authentication. This is stored securely as a credential.</dd>
139
139
 
140
140
  <dt>Connection Timeout <span class="property-type">number</span></dt>
141
141
  <dd>The connection timeout in milliseconds (default: 10000).</dd>
@@ -0,0 +1 @@
1
+ {"version":3,"file":"imap-config.js","sourceRoot":"","sources":["../../src/imap-config/imap-config.ts"],"names":[],"mappings":";AAiBA,MAAM,cAAc,GAAoB,CAAC,GAAG,EAAE,EAAE;IAC5C,SAAS,UAAU,CAAY,MAAgC;QAC3D,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEnC,iCAAiC;QACjC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,KAAK,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,IAAI,CAAC;QAC9C,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;QAC1E,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1G,CAAC;IAED,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AACtD,CAAC,CAAC;AAEF,iBAAS,cAAc,CAAC"}
package/dist/index.js CHANGED
@@ -3,8 +3,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
3
3
  return (mod && mod.__esModule) ? mod : { "default": mod };
4
4
  };
5
5
  // Importiere die Registrierungsfunktion für deine Nodes.
6
- const imap_config_1 = __importDefault(require("./email-receiver/imap-config/imap-config"));
7
- const smtp_config_1 = __importDefault(require("./email-sender/smtp-config/smtp-config"));
6
+ const imap_config_1 = __importDefault(require("./imap-config/imap-config"));
7
+ const smtp_config_1 = __importDefault(require("./smtp-config/smtp-config"));
8
8
  const email_receiver_1 = __importDefault(require("./email-receiver/email-receiver"));
9
9
  const email_sender_1 = __importDefault(require("./email-sender/email-sender"));
10
10
  const html_to_text_1 = __importDefault(require("./html-to-text/html-to-text"));
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAyD;AACzD,2FAA8E;AAC9E,yFAA4E;AAC5E,qFAAwE;AACxE,+EAAkE;AAClE,+EAAiE;AAGjE,iBAAS,UAAU,GAAQ;IACvB,uDAAuD;IACvD,IAAA,qBAAsB,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAA,qBAAsB,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAA,wBAAyB,EAAC,GAAG,CAAC,CAAC;IAC/B,IAAA,sBAAuB,EAAC,GAAG,CAAC,CAAC;IAC7B,IAAA,sBAAsB,EAAC,GAAG,CAAC,CAAC;AAChC,CAAC,CAAC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;AAAA,yDAAyD;AACzD,4EAA+D;AAC/D,4EAA+D;AAC/D,qFAAwE;AACxE,+EAAkE;AAClE,+EAAiE;AAGjE,iBAAS,UAAU,GAAQ;IACvB,uDAAuD;IACvD,IAAA,qBAAsB,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAA,qBAAsB,EAAC,GAAG,CAAC,CAAC;IAC5B,IAAA,wBAAyB,EAAC,GAAG,CAAC,CAAC;IAC/B,IAAA,sBAAuB,EAAC,GAAG,CAAC,CAAC;IAC7B,IAAA,sBAAsB,EAAC,GAAG,CAAC,CAAC;AAChC,CAAC,CAAC"}
@@ -24,23 +24,23 @@
24
24
  oneditprepare: function () {
25
25
  $('#node-config-input-host').typedInput({
26
26
  default: 'env',
27
- types: ['str', 'env', 'flow', 'global'],
27
+ types: ['str', 'env'],
28
28
  typeField: '#node-config-input-hostType',
29
29
  });
30
30
 
31
31
  $('#node-config-input-port').typedInput({
32
32
  default: 'env',
33
- types: ['num', 'env', 'flow', 'global'],
33
+ types: ['num', 'env'],
34
34
  typeField: '#node-config-input-portType',
35
35
  });
36
36
  $('#node-config-input-user').typedInput({
37
37
  default: 'env',
38
- types: ['str', 'env', 'flow', 'global'],
38
+ types: ['str', 'env'],
39
39
  typeField: '#node-config-input-userType',
40
40
  });
41
41
  $('#node-config-input-password').typedInput({
42
42
  default: 'env',
43
- types: ['str', 'env', 'flow', 'global'],
43
+ types: ['str', 'env'],
44
44
  typeField: '#node-config-input-passwordType',
45
45
  });
46
46
  },
@@ -120,17 +120,17 @@
120
120
  <dt>Name <span class="property-type">string</span></dt>
121
121
  <dd>A friendly name for this SMTP configuration.</dd>
122
122
 
123
- <dt>SMTP Host <span class="property-type">string | variable</span></dt>
124
- <dd>The hostname or IP address of the SMTP server (e.g., smtp.gmail.com). Supports string, environment variables, flow context, and global context.</dd>
123
+ <dt>SMTP Host <span class="property-type">string</span></dt>
124
+ <dd>The hostname or IP address of the SMTP server (e.g., smtp.gmail.com).</dd>
125
125
 
126
- <dt>Port <span class="property-type">number | variable</span></dt>
127
- <dd>The port number for SMTP connection (typically 587 for STARTTLS, 465 for SSL/TLS). Supports number, environment variables, flow context, and global context.</dd>
126
+ <dt>Port <span class="property-type">number</span></dt>
127
+ <dd>The port number for SMTP connection (typically 587 for STARTTLS, 465 for SSL/TLS).</dd>
128
128
 
129
129
  <dt>User <span class="property-type">string | variable</span></dt>
130
- <dd>The username for SMTP authentication. Supports string, environment variables, flow context, and global context.</dd>
130
+ <dd>The username for SMTP authentication. Supports environment variables and global context.</dd>
131
131
 
132
132
  <dt>Password <span class="property-type">string | variable</span></dt>
133
- <dd>The password for SMTP authentication. Supports string, environment variables, flow context, and global context.</dd>
133
+ <dd>The password for SMTP authentication. Supports environment variables and global context.</dd>
134
134
 
135
135
  <dt>Connection Timeout <span class="property-type">number</span></dt>
136
136
  <dd>The connection timeout in milliseconds (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AkB,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1G,CAAC;IAED,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AACtD,CAAC,CAAC;AAEF,iBAAS,cAAc,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@5minds/node-red-contrib-processcube-tools",
3
- "version": "1.2.3-feature-e5b62e-mhaadpe6",
3
+ "version": "1.2.3-feature-9019dc-mhddm4d8",
4
4
  "license": "MIT",
5
5
  "description": "Node-RED tools nodes for ProcessCube",
6
6
  "scripts": {
@@ -1 +0,0 @@
1
- {"version":3,"file":"imap-config.js","sourceRoot":"","sources":["../../../src/email-receiver/imap-config/imap-config.ts"],"names":[],"mappings":";AAmBA,MAAM,cAAc,GAAoB,CAAC,GAAG,EAAE,EAAE;IAC5C,SAAS,UAAU,CAAY,MAAgC;QAC3D,GAAG,CAAC,KAAK,CAAC,UAAU,CAAC,IAAI,EAAE,MAAM,CAAC,CAAC;QAEnC,iCAAiC;QACjC,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,CAAC;QACtB,IAAI,CAAC,IAAI,GAAG,MAAM,CAAC,IAAI,CAAC;QACxB,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,QAAQ,GAAG,MAAM,CAAC,QAAQ,CAAC;QAChC,IAAI,CAAC,YAAY,GAAG,MAAM,CAAC,YAAY,CAAC;QACxC,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,KAAK,CAAC;QAC/C,IAAI,CAAC,WAAW,GAAG,MAAM,CAAC,WAAW,IAAI,IAAI,CAAC;QAC9C,IAA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SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,IAAI,CAAC;QAChF,IAAI,CAAC,SAAS,GAAG,MAAM,CAAC,SAAS,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,IAAI,CAAC;QAC1E,IAAI,CAAC,MAAM,GAAG,MAAM,CAAC,MAAM,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,CAAC,KAAK,CAAC;QAClE,IAAI,CAAC,OAAO,GAAG,MAAM,CAAC,OAAO,IAAI,OAAO,CAAC;QACzC,IAAI,CAAC,kBAAkB,GAAG,MAAM,CAAC,kBAAkB,KAAK,SAAS,CAAC,CAAC,CAAC,MAAM,CAAC,kBAAkB,CAAC,CAAC,CAAC,KAAK,CAAC;IAC1G,CAAC;IAED,GAAG,CAAC,KAAK,CAAC,YAAY,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AACtD,CAAC,CAAC;AAEF,iBAAS,cAAc,CAAC"}
@@ -1,31 +0,0 @@
1
- /**
2
- * Interface for SMTP configuration override via msg.smtpConfig
3
- * This allows runtime override of SMTP settings instead of using the smtp-config node
4
- */
5
- export interface SmtpConfigOverride {
6
- host: string;
7
- port: number;
8
- user: string;
9
- password: string;
10
- secure?: boolean;
11
- rejectUnauthorized?: boolean;
12
- connTimeout?: number;
13
- authTimeout?: number;
14
- keepalive?: boolean;
15
- autotls?: string;
16
- }
17
- /**
18
- * Normalized SMTP configuration with all fields present
19
- */
20
- export interface NormalizedSmtpConfig {
21
- host: string;
22
- port: number;
23
- user: string;
24
- password: string;
25
- secure: boolean;
26
- rejectUnauthorized: boolean;
27
- connTimeout: number;
28
- authTimeout: number;
29
- keepalive: boolean;
30
- autotls: string;
31
- }
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=SmtpConfigOverride.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"SmtpConfigOverride.js","sourceRoot":"","sources":["../../src/interfaces/SmtpConfigOverride.ts"],"names":[],"mappings":""}