@bubblelab/bubble-core 0.1.103 → 0.1.106
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +100 -55
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +1957 -0
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts +35 -0
- package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js +327 -0
- package/dist/bubbles/service-bubble/confluence/confluence.integration.flow.js.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.js +534 -0
- package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +2435 -0
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.schema.js +467 -0
- package/dist/bubbles/service-bubble/confluence/confluence.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts +49 -0
- package/dist/bubbles/service-bubble/confluence/confluence.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/confluence/confluence.utils.js +337 -0
- package/dist/bubbles/service-bubble/confluence/confluence.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/confluence/index.d.ts +5 -0
- package/dist/bubbles/service-bubble/confluence/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/confluence/index.js +5 -0
- package/dist/bubbles/service-bubble/confluence/index.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +8 -8
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +16 -16
- package/dist/bubbles/service-bubble/firecrawl.d.ts +4 -4
- package/dist/bubbles/service-bubble/gmail.d.ts +84 -84
- package/dist/bubbles/service-bubble/google-drive.d.ts +32 -32
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +22 -2
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js +6 -6
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
- package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +36 -36
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +10 -10
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +16 -16
- package/dist/bubbles.json +1247 -8
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,337 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Confluence Bubble Utilities
|
|
3
|
+
*
|
|
4
|
+
* Helper functions for the Confluence service integration.
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* Escapes HTML special characters to prevent invalid XHTML.
|
|
8
|
+
*/
|
|
9
|
+
function escapeHtml(text) {
|
|
10
|
+
return text
|
|
11
|
+
.replace(/&/g, '&')
|
|
12
|
+
.replace(/</g, '<')
|
|
13
|
+
.replace(/>/g, '>')
|
|
14
|
+
.replace(/"/g, '"');
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Converts markdown text to Confluence storage format (XHTML-based).
|
|
18
|
+
*
|
|
19
|
+
* Confluence uses an XHTML-based storage format for page bodies.
|
|
20
|
+
* This function converts common markdown into the appropriate format.
|
|
21
|
+
* Works for both page bodies and comment bodies.
|
|
22
|
+
*
|
|
23
|
+
* Supported markdown:
|
|
24
|
+
* - **bold** or __bold__
|
|
25
|
+
* - *italic* or _italic_
|
|
26
|
+
* - `inline code`
|
|
27
|
+
* - [links](url)
|
|
28
|
+
* - # Headings (h1-h6)
|
|
29
|
+
* - - Bullet lists
|
|
30
|
+
* - 1. Numbered lists
|
|
31
|
+
* - > Blockquotes
|
|
32
|
+
* - ``` Code blocks ```
|
|
33
|
+
* - --- Horizontal rules
|
|
34
|
+
* - ~~strikethrough~~
|
|
35
|
+
* - | Tables |
|
|
36
|
+
*
|
|
37
|
+
* @param text - Markdown or plain text to convert
|
|
38
|
+
* @returns Confluence storage format XHTML string
|
|
39
|
+
*/
|
|
40
|
+
export function markdownToConfluenceStorage(text) {
|
|
41
|
+
if (!text)
|
|
42
|
+
return '';
|
|
43
|
+
const lines = text.split(/\r?\n/);
|
|
44
|
+
const output = [];
|
|
45
|
+
let i = 0;
|
|
46
|
+
while (i < lines.length) {
|
|
47
|
+
const line = lines[i];
|
|
48
|
+
// Code block (```)
|
|
49
|
+
if (line.startsWith('```')) {
|
|
50
|
+
const codeLines = [];
|
|
51
|
+
i++;
|
|
52
|
+
while (i < lines.length && !lines[i].startsWith('```')) {
|
|
53
|
+
codeLines.push(lines[i]);
|
|
54
|
+
i++;
|
|
55
|
+
}
|
|
56
|
+
// Skip closing ``` if found
|
|
57
|
+
if (i < lines.length) {
|
|
58
|
+
i++;
|
|
59
|
+
}
|
|
60
|
+
// Use <pre> which works in both page bodies and comment bodies
|
|
61
|
+
// (ac:structured-macro is not supported in comments)
|
|
62
|
+
output.push(`<pre>${escapeHtml(codeLines.join('\n'))}</pre>`);
|
|
63
|
+
continue;
|
|
64
|
+
}
|
|
65
|
+
// Horizontal rule (---, ***, ___)
|
|
66
|
+
if (/^(-{3,}|\*{3,}|_{3,})$/.test(line.trim())) {
|
|
67
|
+
output.push('<hr />');
|
|
68
|
+
i++;
|
|
69
|
+
continue;
|
|
70
|
+
}
|
|
71
|
+
// Headings (# to ######)
|
|
72
|
+
const headingMatch = line.match(/^(#{1,6})\s+(.+)$/);
|
|
73
|
+
if (headingMatch) {
|
|
74
|
+
const level = headingMatch[1].length;
|
|
75
|
+
const headingText = processInlineMarkdown(headingMatch[2]);
|
|
76
|
+
output.push(`<h${level}>${headingText}</h${level}>`);
|
|
77
|
+
i++;
|
|
78
|
+
continue;
|
|
79
|
+
}
|
|
80
|
+
// Blockquote (>)
|
|
81
|
+
if (line.startsWith('>')) {
|
|
82
|
+
const quoteLines = [];
|
|
83
|
+
while (i < lines.length && lines[i].startsWith('>')) {
|
|
84
|
+
quoteLines.push(lines[i].replace(/^>\s?/, ''));
|
|
85
|
+
i++;
|
|
86
|
+
}
|
|
87
|
+
const quoteContent = quoteLines
|
|
88
|
+
.map((ql) => `<p>${processInlineMarkdown(ql)}</p>`)
|
|
89
|
+
.join('');
|
|
90
|
+
output.push(`<blockquote>${quoteContent}</blockquote>`);
|
|
91
|
+
continue;
|
|
92
|
+
}
|
|
93
|
+
// Markdown table
|
|
94
|
+
if (line.includes('|') && line.trim().startsWith('|')) {
|
|
95
|
+
const tableRows = [];
|
|
96
|
+
while (i < lines.length &&
|
|
97
|
+
lines[i].includes('|') &&
|
|
98
|
+
lines[i].trim().startsWith('|')) {
|
|
99
|
+
tableRows.push(lines[i]);
|
|
100
|
+
i++;
|
|
101
|
+
}
|
|
102
|
+
const tableHtml = convertMarkdownTable(tableRows);
|
|
103
|
+
if (tableHtml) {
|
|
104
|
+
output.push(tableHtml);
|
|
105
|
+
}
|
|
106
|
+
else {
|
|
107
|
+
// Fallback: render as plain paragraphs if table parsing fails
|
|
108
|
+
for (const row of tableRows) {
|
|
109
|
+
output.push(`<p>${processInlineMarkdown(row)}</p>`);
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
continue;
|
|
113
|
+
}
|
|
114
|
+
// Bullet list (- or *)
|
|
115
|
+
if (/^[-*]\s+/.test(line)) {
|
|
116
|
+
const items = [];
|
|
117
|
+
while (i < lines.length && /^[-*]\s+/.test(lines[i])) {
|
|
118
|
+
const itemText = lines[i].replace(/^[-*]\s+/, '');
|
|
119
|
+
items.push(`<li>${processInlineMarkdown(itemText)}</li>`);
|
|
120
|
+
i++;
|
|
121
|
+
}
|
|
122
|
+
output.push(`<ul>${items.join('')}</ul>`);
|
|
123
|
+
continue;
|
|
124
|
+
}
|
|
125
|
+
// Ordered list (1. 2. etc)
|
|
126
|
+
if (/^\d+\.\s+/.test(line)) {
|
|
127
|
+
const items = [];
|
|
128
|
+
while (i < lines.length && /^\d+\.\s+/.test(lines[i])) {
|
|
129
|
+
const itemText = lines[i].replace(/^\d+\.\s+/, '');
|
|
130
|
+
items.push(`<li>${processInlineMarkdown(itemText)}</li>`);
|
|
131
|
+
i++;
|
|
132
|
+
}
|
|
133
|
+
output.push(`<ol>${items.join('')}</ol>`);
|
|
134
|
+
continue;
|
|
135
|
+
}
|
|
136
|
+
// Empty line - skip
|
|
137
|
+
if (line.trim() === '') {
|
|
138
|
+
i++;
|
|
139
|
+
continue;
|
|
140
|
+
}
|
|
141
|
+
// Regular paragraph
|
|
142
|
+
output.push(`<p>${processInlineMarkdown(line)}</p>`);
|
|
143
|
+
i++;
|
|
144
|
+
}
|
|
145
|
+
return output.join('');
|
|
146
|
+
}
|
|
147
|
+
/**
|
|
148
|
+
* Converts markdown table rows into an HTML table.
|
|
149
|
+
* Returns null if the rows don't form a valid table.
|
|
150
|
+
*/
|
|
151
|
+
function convertMarkdownTable(rows) {
|
|
152
|
+
if (rows.length < 2)
|
|
153
|
+
return null;
|
|
154
|
+
// Parse cells from a row: | cell1 | cell2 | → ['cell1', 'cell2']
|
|
155
|
+
const parseCells = (row) => {
|
|
156
|
+
return row
|
|
157
|
+
.replace(/^\|/, '')
|
|
158
|
+
.replace(/\|$/, '')
|
|
159
|
+
.split('|')
|
|
160
|
+
.map((cell) => cell.trim());
|
|
161
|
+
};
|
|
162
|
+
const headerCells = parseCells(rows[0]);
|
|
163
|
+
if (headerCells.length === 0)
|
|
164
|
+
return null;
|
|
165
|
+
// Check if row 2 is a separator (|---|---|)
|
|
166
|
+
const separatorRow = rows[1].trim();
|
|
167
|
+
const isSeparator = /^\|?[\s:]*-{2,}[\s:]*(\|[\s:]*-{2,}[\s:]*)*\|?$/.test(separatorRow);
|
|
168
|
+
const html = ['<table>'];
|
|
169
|
+
if (isSeparator) {
|
|
170
|
+
// Has header row
|
|
171
|
+
html.push('<thead><tr>');
|
|
172
|
+
for (const cell of headerCells) {
|
|
173
|
+
html.push(`<th>${processInlineMarkdown(cell)}</th>`);
|
|
174
|
+
}
|
|
175
|
+
html.push('</tr></thead>');
|
|
176
|
+
// Body rows start after separator
|
|
177
|
+
if (rows.length > 2) {
|
|
178
|
+
html.push('<tbody>');
|
|
179
|
+
for (let r = 2; r < rows.length; r++) {
|
|
180
|
+
const cells = parseCells(rows[r]);
|
|
181
|
+
html.push('<tr>');
|
|
182
|
+
for (let c = 0; c < headerCells.length; c++) {
|
|
183
|
+
html.push(`<td>${processInlineMarkdown(cells[c] || '')}</td>`);
|
|
184
|
+
}
|
|
185
|
+
html.push('</tr>');
|
|
186
|
+
}
|
|
187
|
+
html.push('</tbody>');
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
else {
|
|
191
|
+
// No separator — treat all rows as body
|
|
192
|
+
html.push('<tbody>');
|
|
193
|
+
for (const row of rows) {
|
|
194
|
+
const cells = parseCells(row);
|
|
195
|
+
html.push('<tr>');
|
|
196
|
+
for (const cell of cells) {
|
|
197
|
+
html.push(`<td>${processInlineMarkdown(cell)}</td>`);
|
|
198
|
+
}
|
|
199
|
+
html.push('</tr>');
|
|
200
|
+
}
|
|
201
|
+
html.push('</tbody>');
|
|
202
|
+
}
|
|
203
|
+
html.push('</table>');
|
|
204
|
+
return html.join('');
|
|
205
|
+
}
|
|
206
|
+
/**
|
|
207
|
+
* Process inline markdown formatting and return XHTML.
|
|
208
|
+
* Escapes raw HTML characters first, then applies markdown transformations.
|
|
209
|
+
*/
|
|
210
|
+
function processInlineMarkdown(text) {
|
|
211
|
+
if (!text)
|
|
212
|
+
return '';
|
|
213
|
+
let result = text;
|
|
214
|
+
// Extract inline code spans first to protect them from further processing
|
|
215
|
+
const codeSpans = [];
|
|
216
|
+
result = result.replace(/`([^`]+)`/g, (_match, code) => {
|
|
217
|
+
const placeholder = `\x00CODE${codeSpans.length}\x00`;
|
|
218
|
+
codeSpans.push(`<code>${escapeHtml(code)}</code>`);
|
|
219
|
+
return placeholder;
|
|
220
|
+
});
|
|
221
|
+
// Escape HTML entities in the remaining text
|
|
222
|
+
result = escapeHtml(result);
|
|
223
|
+
// Links [text](url) — restore angle brackets in URLs
|
|
224
|
+
result = result.replace(/\[([^\]]+)\]\(([^)]+)\)/g, (_match, linkText, url) => {
|
|
225
|
+
const decodedUrl = url
|
|
226
|
+
.replace(/&/g, '&')
|
|
227
|
+
.replace(/</g, '<')
|
|
228
|
+
.replace(/>/g, '>');
|
|
229
|
+
return `<a href="${decodedUrl}">${linkText}</a>`;
|
|
230
|
+
});
|
|
231
|
+
// Bold **text** or __text__
|
|
232
|
+
result = result.replace(/\*\*([^*]+)\*\*/g, '<strong>$1</strong>');
|
|
233
|
+
result = result.replace(/__([^_]+)__/g, '<strong>$1</strong>');
|
|
234
|
+
// Strikethrough ~~text~~
|
|
235
|
+
result = result.replace(/~~([^~]+)~~/g, '<del>$1</del>');
|
|
236
|
+
// Italic *text* or _text_ (but not inside words for _)
|
|
237
|
+
result = result.replace(/\*([^*]+)\*/g, '<em>$1</em>');
|
|
238
|
+
result = result.replace(/(?<![a-zA-Z])_([^_]+)_(?![a-zA-Z])/g, '<em>$1</em>');
|
|
239
|
+
// Restore inline code spans
|
|
240
|
+
for (let idx = 0; idx < codeSpans.length; idx++) {
|
|
241
|
+
result = result.replace(`\x00CODE${idx}\x00`, codeSpans[idx]);
|
|
242
|
+
}
|
|
243
|
+
return result;
|
|
244
|
+
}
|
|
245
|
+
/**
|
|
246
|
+
* Converts Confluence storage format (XHTML) back to plain text.
|
|
247
|
+
*
|
|
248
|
+
* Strips HTML tags to produce readable plain text.
|
|
249
|
+
*
|
|
250
|
+
* @param storage - Storage format XHTML string
|
|
251
|
+
* @returns Plain text representation
|
|
252
|
+
*/
|
|
253
|
+
export function storageToText(storage) {
|
|
254
|
+
if (!storage)
|
|
255
|
+
return '';
|
|
256
|
+
// Remove CDATA sections, extract content
|
|
257
|
+
let text = storage.replace(/<!\[CDATA\[([\s\S]*?)\]\]>/g, '$1');
|
|
258
|
+
// Replace <br> tags with newlines
|
|
259
|
+
text = text.replace(/<br\s*\/?>/gi, '\n');
|
|
260
|
+
// Replace block elements with newlines
|
|
261
|
+
text = text.replace(/<\/(p|h[1-6]|li|div|blockquote|tr)>/gi, '\n');
|
|
262
|
+
text = text.replace(/<(p|h[1-6]|li|div|blockquote|tr)[^>]*>/gi, '');
|
|
263
|
+
// Replace <hr> with ---
|
|
264
|
+
text = text.replace(/<hr\s*\/?>/gi, '---\n');
|
|
265
|
+
// Remove all remaining HTML tags
|
|
266
|
+
text = text.replace(/<[^>]+>/g, '');
|
|
267
|
+
// Decode HTML entities
|
|
268
|
+
text = text
|
|
269
|
+
.replace(/&/g, '&')
|
|
270
|
+
.replace(/</g, '<')
|
|
271
|
+
.replace(/>/g, '>')
|
|
272
|
+
.replace(/"/g, '"')
|
|
273
|
+
.replace(/'/g, "'")
|
|
274
|
+
.replace(/&#(\d+);/g, (_match, dec) => String.fromCharCode(parseInt(dec, 10)));
|
|
275
|
+
// Clean up extra whitespace
|
|
276
|
+
text = text.replace(/\n{3,}/g, '\n\n').trim();
|
|
277
|
+
return text;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* Enhances Confluence API error messages with helpful hints.
|
|
281
|
+
*
|
|
282
|
+
* @param errorText - Raw error text from API
|
|
283
|
+
* @param statusCode - HTTP status code
|
|
284
|
+
* @param statusText - HTTP status text
|
|
285
|
+
* @returns Enhanced error message
|
|
286
|
+
*/
|
|
287
|
+
export function enhanceErrorMessage(errorText, statusCode, statusText) {
|
|
288
|
+
let message = `Confluence API Error (${statusCode} ${statusText})`;
|
|
289
|
+
// Try to parse JSON error
|
|
290
|
+
try {
|
|
291
|
+
const errorJson = JSON.parse(errorText);
|
|
292
|
+
if (errorJson.message) {
|
|
293
|
+
message += `: ${errorJson.message}`;
|
|
294
|
+
}
|
|
295
|
+
else if (errorJson.errors && Array.isArray(errorJson.errors)) {
|
|
296
|
+
const errorMessages = errorJson.errors
|
|
297
|
+
.map((e) => e.message || e.title)
|
|
298
|
+
.filter(Boolean);
|
|
299
|
+
if (errorMessages.length > 0) {
|
|
300
|
+
message += `: ${errorMessages.join(', ')}`;
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
}
|
|
304
|
+
catch {
|
|
305
|
+
if (errorText && errorText.length < 500) {
|
|
306
|
+
message += `: ${errorText}`;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
// Add helpful hints based on status code
|
|
310
|
+
switch (statusCode) {
|
|
311
|
+
case 400:
|
|
312
|
+
message +=
|
|
313
|
+
'\nHint: Check your request parameters. Common issues: invalid CQL syntax, missing required fields, or invalid page/space IDs.';
|
|
314
|
+
break;
|
|
315
|
+
case 401:
|
|
316
|
+
message +=
|
|
317
|
+
'\nHint: Authentication failed. Ensure your OAuth token is valid and has the required Confluence scopes.';
|
|
318
|
+
break;
|
|
319
|
+
case 403:
|
|
320
|
+
message +=
|
|
321
|
+
'\nHint: Permission denied. Ensure your account has access to this space/page.';
|
|
322
|
+
break;
|
|
323
|
+
case 404:
|
|
324
|
+
message +=
|
|
325
|
+
'\nHint: Resource not found. Verify the page ID, space ID, or space key exists.';
|
|
326
|
+
break;
|
|
327
|
+
case 409:
|
|
328
|
+
message +=
|
|
329
|
+
'\nHint: Version conflict. The page may have been updated by another user. Retry the operation.';
|
|
330
|
+
break;
|
|
331
|
+
case 429:
|
|
332
|
+
message += '\nHint: Rate limited. Wait a moment before retrying.';
|
|
333
|
+
break;
|
|
334
|
+
}
|
|
335
|
+
return message;
|
|
336
|
+
}
|
|
337
|
+
//# sourceMappingURL=confluence.utils.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"confluence.utils.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/confluence/confluence.utils.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH;;GAEG;AACH,SAAS,UAAU,CAAC,IAAY;IAC9B,OAAO,IAAI;SACR,OAAO,CAAC,IA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}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ConfluenceBubble } from './confluence.js';
|
|
2
|
+
export { ConfluenceParamsSchema, ConfluenceResultSchema, ConfluenceSpaceSchema, ConfluencePageSchema, ConfluenceCommentSchema, ConfluenceSearchResultSchema, type ConfluenceParams, type ConfluenceParamsInput, type ConfluenceResult, type ConfluenceListSpacesParams, type ConfluenceGetSpaceParams, type ConfluenceListPagesParams, type ConfluenceGetPageParams, type ConfluenceCreatePageParams, type ConfluenceUpdatePageParams, type ConfluenceDeletePageParams, type ConfluenceSearchParams, type ConfluenceAddCommentParams, type ConfluenceGetCommentsParams, } from './confluence.schema.js';
|
|
3
|
+
export { markdownToConfluenceStorage, storageToText, enhanceErrorMessage, } from './confluence.utils.js';
|
|
4
|
+
export { ConfluenceIntegrationFlow } from './confluence.integration.flow.js';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/confluence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,4BAA4B,EAC5B,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,0BAA0B,EAC/B,KAAK,wBAAwB,EAC7B,KAAK,yBAAyB,EAC9B,KAAK,uBAAuB,EAC5B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,0BAA0B,EAC/B,KAAK,sBAAsB,EAC3B,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,GACjC,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,aAAa,EACb,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { ConfluenceBubble } from './confluence.js';
|
|
2
|
+
export { ConfluenceParamsSchema, ConfluenceResultSchema, ConfluenceSpaceSchema, ConfluencePageSchema, ConfluenceCommentSchema, ConfluenceSearchResultSchema, } from './confluence.schema.js';
|
|
3
|
+
export { markdownToConfluenceStorage, storageToText, enhanceErrorMessage, } from './confluence.utils.js';
|
|
4
|
+
export { ConfluenceIntegrationFlow } from './confluence.integration.flow.js';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/confluence/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,qBAAqB,EACrB,oBAAoB,EACpB,uBAAuB,EACvB,4BAA4B,GAc7B,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,2BAA2B,EAC3B,aAAa,EACb,mBAAmB,GACpB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,yBAAyB,EAAE,MAAM,kCAAkC,CAAC"}
|
|
@@ -94,20 +94,20 @@ export declare class CrustdataBubble<T extends CrustdataParamsInput = CrustdataP
|
|
|
94
94
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
95
95
|
}>]>;
|
|
96
96
|
}, "strip", import("zod").ZodTypeAny, {
|
|
97
|
-
value: string | number | boolean |
|
|
97
|
+
value: string | number | boolean | number[] | string[] | {
|
|
98
98
|
location: string;
|
|
99
99
|
distance: number;
|
|
100
100
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
101
101
|
};
|
|
102
|
-
type: "
|
|
102
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
103
103
|
column: string;
|
|
104
104
|
}, {
|
|
105
|
-
value: string | number | boolean |
|
|
105
|
+
value: string | number | boolean | number[] | string[] | {
|
|
106
106
|
location: string;
|
|
107
107
|
distance: number;
|
|
108
108
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
109
109
|
};
|
|
110
|
-
type: "
|
|
110
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
111
111
|
column: string;
|
|
112
112
|
}>, import("zod").ZodType<import("./crustdata.schema.js").PersonDBFilterGroup, import("zod").ZodTypeDef, import("./crustdata.schema.js").PersonDBFilterGroup>]>;
|
|
113
113
|
sorts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
|
|
@@ -137,12 +137,12 @@ export declare class CrustdataBubble<T extends CrustdataParamsInput = CrustdataP
|
|
|
137
137
|
}, "strip", import("zod").ZodTypeAny, {
|
|
138
138
|
operation: "person_search_db";
|
|
139
139
|
filters: {
|
|
140
|
-
value: string | number | boolean |
|
|
140
|
+
value: string | number | boolean | number[] | string[] | {
|
|
141
141
|
location: string;
|
|
142
142
|
distance: number;
|
|
143
143
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
144
144
|
};
|
|
145
|
-
type: "
|
|
145
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
146
146
|
column: string;
|
|
147
147
|
} | import("./crustdata.schema.js").PersonDBFilterGroup;
|
|
148
148
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -160,12 +160,12 @@ export declare class CrustdataBubble<T extends CrustdataParamsInput = CrustdataP
|
|
|
160
160
|
}, {
|
|
161
161
|
operation: "person_search_db";
|
|
162
162
|
filters: {
|
|
163
|
-
value: string | number | boolean |
|
|
163
|
+
value: string | number | boolean | number[] | string[] | {
|
|
164
164
|
location: string;
|
|
165
165
|
distance: number;
|
|
166
166
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
167
167
|
};
|
|
168
|
-
type: "
|
|
168
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
169
169
|
column: string;
|
|
170
170
|
} | import("./crustdata.schema.js").PersonDBFilterGroup;
|
|
171
171
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -1244,20 +1244,20 @@ export declare const PersonDBFilterConditionSchema: z.ZodObject<{
|
|
|
1244
1244
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1245
1245
|
}>]>;
|
|
1246
1246
|
}, "strip", z.ZodTypeAny, {
|
|
1247
|
-
value: string | number | boolean |
|
|
1247
|
+
value: string | number | boolean | number[] | string[] | {
|
|
1248
1248
|
location: string;
|
|
1249
1249
|
distance: number;
|
|
1250
1250
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1251
1251
|
};
|
|
1252
|
-
type: "
|
|
1252
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
1253
1253
|
column: string;
|
|
1254
1254
|
}, {
|
|
1255
|
-
value: string | number | boolean |
|
|
1255
|
+
value: string | number | boolean | number[] | string[] | {
|
|
1256
1256
|
location: string;
|
|
1257
1257
|
distance: number;
|
|
1258
1258
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1259
1259
|
};
|
|
1260
|
-
type: "
|
|
1260
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
1261
1261
|
column: string;
|
|
1262
1262
|
}>;
|
|
1263
1263
|
export declare const PersonDBFilterGroupSchema: z.ZodType<PersonDBFilterGroup>;
|
|
@@ -1278,20 +1278,20 @@ export declare const PersonDBFiltersSchema: z.ZodUnion<[z.ZodObject<{
|
|
|
1278
1278
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1279
1279
|
}>]>;
|
|
1280
1280
|
}, "strip", z.ZodTypeAny, {
|
|
1281
|
-
value: string | number | boolean |
|
|
1281
|
+
value: string | number | boolean | number[] | string[] | {
|
|
1282
1282
|
location: string;
|
|
1283
1283
|
distance: number;
|
|
1284
1284
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1285
1285
|
};
|
|
1286
|
-
type: "
|
|
1286
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
1287
1287
|
column: string;
|
|
1288
1288
|
}, {
|
|
1289
|
-
value: string | number | boolean |
|
|
1289
|
+
value: string | number | boolean | number[] | string[] | {
|
|
1290
1290
|
location: string;
|
|
1291
1291
|
distance: number;
|
|
1292
1292
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
1293
1293
|
};
|
|
1294
|
-
type: "
|
|
1294
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
1295
1295
|
column: string;
|
|
1296
1296
|
}>, z.ZodType<PersonDBFilterGroup, z.ZodTypeDef, PersonDBFilterGroup>]>;
|
|
1297
1297
|
export declare const PersonDBSortSchema: z.ZodObject<{
|
|
@@ -2308,20 +2308,20 @@ export declare const CrustdataParamsSchema: z.ZodDiscriminatedUnion<"operation",
|
|
|
2308
2308
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
2309
2309
|
}>]>;
|
|
2310
2310
|
}, "strip", z.ZodTypeAny, {
|
|
2311
|
-
value: string | number | boolean |
|
|
2311
|
+
value: string | number | boolean | number[] | string[] | {
|
|
2312
2312
|
location: string;
|
|
2313
2313
|
distance: number;
|
|
2314
2314
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
2315
2315
|
};
|
|
2316
|
-
type: "
|
|
2316
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
2317
2317
|
column: string;
|
|
2318
2318
|
}, {
|
|
2319
|
-
value: string | number | boolean |
|
|
2319
|
+
value: string | number | boolean | number[] | string[] | {
|
|
2320
2320
|
location: string;
|
|
2321
2321
|
distance: number;
|
|
2322
2322
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
2323
2323
|
};
|
|
2324
|
-
type: "
|
|
2324
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
2325
2325
|
column: string;
|
|
2326
2326
|
}>, z.ZodType<PersonDBFilterGroup, z.ZodTypeDef, PersonDBFilterGroup>]>;
|
|
2327
2327
|
sorts: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
@@ -2351,12 +2351,12 @@ export declare const CrustdataParamsSchema: z.ZodDiscriminatedUnion<"operation",
|
|
|
2351
2351
|
}, "strip", z.ZodTypeAny, {
|
|
2352
2352
|
operation: "person_search_db";
|
|
2353
2353
|
filters: {
|
|
2354
|
-
value: string | number | boolean |
|
|
2354
|
+
value: string | number | boolean | number[] | string[] | {
|
|
2355
2355
|
location: string;
|
|
2356
2356
|
distance: number;
|
|
2357
2357
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
2358
2358
|
};
|
|
2359
|
-
type: "
|
|
2359
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
2360
2360
|
column: string;
|
|
2361
2361
|
} | PersonDBFilterGroup;
|
|
2362
2362
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -2374,12 +2374,12 @@ export declare const CrustdataParamsSchema: z.ZodDiscriminatedUnion<"operation",
|
|
|
2374
2374
|
}, {
|
|
2375
2375
|
operation: "person_search_db";
|
|
2376
2376
|
filters: {
|
|
2377
|
-
value: string | number | boolean |
|
|
2377
|
+
value: string | number | boolean | number[] | string[] | {
|
|
2378
2378
|
location: string;
|
|
2379
2379
|
distance: number;
|
|
2380
2380
|
unit?: "km" | "mi" | "m" | "miles" | "meters" | "ft" | "feet" | undefined;
|
|
2381
2381
|
};
|
|
2382
|
-
type: "
|
|
2382
|
+
type: "in" | "=" | ">" | "<" | "!=" | "not_in" | "=>" | "=<" | "(.)" | "[.]" | "geo_distance";
|
|
2383
2383
|
column: string;
|
|
2384
2384
|
} | PersonDBFilterGroup;
|
|
2385
2385
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -18839,8 +18839,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
|
|
|
18839
18839
|
success: boolean;
|
|
18840
18840
|
operation: "extract";
|
|
18841
18841
|
status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
|
|
18842
|
-
data?: unknown;
|
|
18843
18842
|
id?: string | undefined;
|
|
18843
|
+
data?: unknown;
|
|
18844
18844
|
warning?: string | undefined;
|
|
18845
18845
|
sources?: Record<string, unknown> | undefined;
|
|
18846
18846
|
expiresAt?: string | undefined;
|
|
@@ -18849,8 +18849,8 @@ declare const FirecrawlResultSchema: z.ZodDiscriminatedUnion<"operation", [z.Zod
|
|
|
18849
18849
|
success: boolean;
|
|
18850
18850
|
operation: "extract";
|
|
18851
18851
|
status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
|
|
18852
|
-
data?: unknown;
|
|
18853
18852
|
id?: string | undefined;
|
|
18853
|
+
data?: unknown;
|
|
18854
18854
|
warning?: string | undefined;
|
|
18855
18855
|
sources?: Record<string, unknown> | undefined;
|
|
18856
18856
|
expiresAt?: string | undefined;
|
|
@@ -37705,8 +37705,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
|
|
|
37705
37705
|
success: boolean;
|
|
37706
37706
|
operation: "extract";
|
|
37707
37707
|
status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
|
|
37708
|
-
data?: unknown;
|
|
37709
37708
|
id?: string | undefined;
|
|
37709
|
+
data?: unknown;
|
|
37710
37710
|
warning?: string | undefined;
|
|
37711
37711
|
sources?: Record<string, unknown> | undefined;
|
|
37712
37712
|
expiresAt?: string | undefined;
|
|
@@ -37715,8 +37715,8 @@ export declare class FirecrawlBubble<T extends FirecrawlParams = FirecrawlParams
|
|
|
37715
37715
|
success: boolean;
|
|
37716
37716
|
operation: "extract";
|
|
37717
37717
|
status?: "failed" | "completed" | "processing" | "cancelled" | undefined;
|
|
37718
|
-
data?: unknown;
|
|
37719
37718
|
id?: string | undefined;
|
|
37719
|
+
data?: unknown;
|
|
37720
37720
|
warning?: string | undefined;
|
|
37721
37721
|
sources?: Record<string, unknown> | undefined;
|
|
37722
37722
|
expiresAt?: string | undefined;
|