@bubblelab/bubble-core 0.1.9 → 0.1.10
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 +252 -1686
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +51 -19
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts +17 -1
- package/dist/bubble-flow/bubble-flow-class.d.ts.map +1 -1
- package/dist/bubble-flow/bubble-flow-class.js +16 -0
- package/dist/bubble-flow/bubble-flow-class.js.map +1 -1
- package/dist/bubble-flow/sample/data-analyst-flow.d.ts +1 -1
- package/dist/bubble-flow/sample/data-analyst-flow.d.ts.map +1 -1
- package/dist/bubble-flow/sample/error-ts.d.ts +1 -1
- package/dist/bubble-flow/sample/error-ts.d.ts.map +1 -1
- package/dist/bubble-flow/sample/sanitytest.d.ts +1 -1
- package/dist/bubble-flow/sample/sanitytest.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simple-webhook-2.d.ts +1 -1
- package/dist/bubble-flow/sample/simple-webhook-2.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simple-webhook.d.ts +1 -1
- package/dist/bubble-flow/sample/simple-webhook.d.ts.map +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts +1 -1
- package/dist/bubble-flow/sample/simplified-data-analysis.flow.d.ts.map +1 -1
- package/dist/bubble-flow/sample/slack-v0.1.d.ts +1 -1
- package/dist/bubble-flow/sample/slack-v0.1.d.ts.map +1 -1
- package/dist/bubble-flow/sample/slackagenttest.d.ts +1 -1
- package/dist/bubble-flow/sample/slackagenttest.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +30 -30
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +3 -1
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +34 -34
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +42 -42
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +21 -21
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +184 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js +145 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts +52 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js +29 -0
- package/dist/bubbles/service-bubble/apify/actors/youtube-transcript-scraper.js.map +1 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +338 -109
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js +16 -0
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/index.d.ts +2 -0
- package/dist/bubbles/service-bubble/apify/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/index.js +3 -0
- package/dist/bubbles/service-bubble/apify/index.js.map +1 -1
- package/dist/bubbles/service-bubble/apify/types.js +1 -2
- package/dist/bubbles/service-bubble/apify/types.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +678 -184
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +435 -7
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
- package/dist/bubbles/service-bubble/google-drive.d.ts +301 -72
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +65 -75
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets.d.ts +76 -76
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/hello-world.js +2 -2
- package/dist/bubbles/service-bubble/hello-world.js.map +1 -1
- package/dist/bubbles/service-bubble/http.d.ts +10 -10
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +16 -16
- package/dist/bubbles/service-bubble/slack.d.ts +469 -469
- package/dist/bubbles/service-bubble/storage.d.ts +36 -36
- package/dist/bubbles/service-bubble/storage.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/storage.js +16 -5
- package/dist/bubbles/service-bubble/storage.js.map +1 -1
- package/dist/bubbles/service-bubble/x-twitter.d.ts +814 -0
- package/dist/bubbles/service-bubble/x-twitter.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/x-twitter.js +445 -0
- package/dist/bubbles/service-bubble/x-twitter.js.map +1 -0
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js +17 -9
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +86 -86
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +69 -64
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.js +97 -22
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/research-agent-tool.js +4 -4
- package/dist/bubbles/tool-bubble/research-agent-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +11 -10
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts.map +1 -1
- package/dist/bubbles/tool-bubble/web-search-tool.js +5 -1
- package/dist/bubbles/tool-bubble/web-search-tool.js.map +1 -1
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +394 -0
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/youtube-tool.js +352 -0
- package/dist/bubbles/tool-bubble/youtube-tool.js.map +1 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +47 -36
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +91 -65
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +70 -70
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +56 -56
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +44 -44
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts.map +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js +1 -1
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.js.map +1 -1
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +58 -58
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +18 -18
- package/dist/bubbles.json +69 -54
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/dist/logging/BubbleLogger.d.ts.map +1 -1
- package/dist/logging/BubbleLogger.js +20 -13
- package/dist/logging/BubbleLogger.js.map +1 -1
- package/dist/logging/StreamingBubbleLogger.d.ts.map +1 -1
- package/dist/logging/StreamingBubbleLogger.js +5 -5
- package/dist/logging/StreamingBubbleLogger.js.map +1 -1
- package/dist/test-gm.d.ts +10 -0
- package/dist/test-gm.d.ts.map +1 -0
- package/dist/test-gm.js +95 -0
- package/dist/test-gm.js.map +1 -0
- package/dist/types/base-bubble-class.d.ts +1 -1
- package/dist/types/base-bubble-class.d.ts.map +1 -1
- package/dist/types/base-bubble-class.js +29 -21
- package/dist/types/base-bubble-class.js.map +1 -1
- package/dist/types/bubble.d.ts +1 -10
- package/dist/types/bubble.d.ts.map +1 -1
- package/dist/types/bubble.js +1 -1
- package/dist/types/bubble.js.map +1 -1
- package/dist/types/service-bubble-class.d.ts +1 -1
- package/dist/types/service-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.d.ts +1 -1
- package/dist/types/tool-bubble-class.d.ts.map +1 -1
- package/dist/types/tool-bubble-class.js +0 -2
- package/dist/types/tool-bubble-class.js.map +1 -1
- package/dist/types/workflow-bubble-class.d.ts +1 -1
- package/dist/types/workflow-bubble-class.d.ts.map +1 -1
- package/dist/utils/agent-formatter.d.ts.map +1 -1
- package/dist/utils/agent-formatter.js +2 -2
- package/dist/utils/agent-formatter.js.map +1 -1
- package/dist/utils/bubbleflow-validation.d.ts.map +1 -1
- package/dist/utils/bubbleflow-validation.js +89 -32
- package/dist/utils/bubbleflow-validation.js.map +1 -1
- package/dist/utils/error-sanitizer.d.ts +12 -0
- package/dist/utils/error-sanitizer.d.ts.map +1 -0
- package/dist/utils/error-sanitizer.js +77 -0
- package/dist/utils/error-sanitizer.js.map +1 -0
- package/package.json +4 -4
- package/dist/bubble-trigger/index.d.ts +0 -2
- package/dist/bubble-trigger/index.d.ts.map +0 -1
- package/dist/bubble-trigger/index.js +0 -2
- package/dist/bubble-trigger/index.js.map +0 -1
- package/dist/bubble-trigger/types.d.ts +0 -87
- package/dist/bubble-trigger/types.d.ts.map +0 -1
- package/dist/bubble-trigger/types.js +0 -14
- package/dist/bubble-trigger/types.js.map +0 -1
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts +0 -370
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js +0 -14
- package/dist/bubbles/service-bubble/apify/api-scraper.schema.js.map +0 -1
- package/dist/bubbles/service-bubble/apify.d.ts +0 -136
- package/dist/bubbles/service-bubble/apify.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/apify.js +0 -282
- package/dist/bubbles/service-bubble/apify.js.map +0 -1
- package/dist/types/ai-models.d.ts +0 -4
- package/dist/types/ai-models.d.ts.map +0 -1
- package/dist/types/ai-models.js +0 -20
- package/dist/types/ai-models.js.map +0 -1
- package/dist/types/api-scraper.schema.d.ts +0 -453
- package/dist/types/api-scraper.schema.d.ts.map +0 -1
- package/dist/types/api-scraper.schema.js +0 -160
- package/dist/types/api-scraper.schema.js.map +0 -1
|
@@ -22,12 +22,12 @@ declare const HelloWorldResultSchema: z.ZodObject<{
|
|
|
22
22
|
success: z.ZodBoolean;
|
|
23
23
|
error: z.ZodString;
|
|
24
24
|
}, "strip", z.ZodTypeAny, {
|
|
25
|
-
error: string;
|
|
26
25
|
success: boolean;
|
|
26
|
+
error: string;
|
|
27
27
|
greeting: string;
|
|
28
28
|
}, {
|
|
29
|
-
error: string;
|
|
30
29
|
success: boolean;
|
|
30
|
+
error: string;
|
|
31
31
|
greeting: string;
|
|
32
32
|
}>;
|
|
33
33
|
type HelloWorldResult = z.output<typeof HelloWorldResultSchema>;
|
|
@@ -54,12 +54,12 @@ export declare class HelloWorldBubble extends ServiceBubble<HelloWorldParams, He
|
|
|
54
54
|
success: z.ZodBoolean;
|
|
55
55
|
error: z.ZodString;
|
|
56
56
|
}, "strip", z.ZodTypeAny, {
|
|
57
|
-
error: string;
|
|
58
57
|
success: boolean;
|
|
58
|
+
error: string;
|
|
59
59
|
greeting: string;
|
|
60
60
|
}, {
|
|
61
|
-
error: string;
|
|
62
61
|
success: boolean;
|
|
62
|
+
error: string;
|
|
63
63
|
greeting: string;
|
|
64
64
|
}>;
|
|
65
65
|
static readonly shortDescription = "Simple hello world bubble for testing purposes";
|
|
@@ -57,8 +57,8 @@ export class HelloWorldBubble extends ServiceBubble {
|
|
|
57
57
|
async performAction(context) {
|
|
58
58
|
// Context is available but not currently used in this implementation
|
|
59
59
|
void context;
|
|
60
|
-
// Simulate some processing, random delay between
|
|
61
|
-
const delay = Math.floor(Math.random() *
|
|
60
|
+
// Simulate some processing, random delay between 200- 700ms
|
|
61
|
+
const delay = Math.floor(Math.random() * 500) + 200;
|
|
62
62
|
await new Promise((resolve) => setTimeout(resolve, delay));
|
|
63
63
|
const greeting = `${this.params.message} ${this.params.name}!`;
|
|
64
64
|
return { greeting, success: true, error: '' };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hello-world.js","sourceRoot":"","sources":["../../../src/bubbles/service-bubble/hello-world.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,aAAa,EAAE,MAAM,qCAAqC,CAAC;AA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I,OAAO,CAAC,CAAC,OAAO,EAAE,EAAE,CAAC,UAAU,CAAC,OAAO,EAAE,KAAK,CAAC,CAAC,CAAC;QAE3D,MAAM,QAAQ,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,OAAO,IAAI,IAAI,CAAC,MAAM,CAAC,IAAI,GAAG,CAAC;QAC/D,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC;IAChD,CAAC"}
|
|
@@ -23,8 +23,8 @@ declare const HttpParamsSchema: z.ZodObject<{
|
|
|
23
23
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
24
24
|
timeout?: number | undefined;
|
|
25
25
|
headers?: Record<string, string> | undefined;
|
|
26
|
-
body?: string | Record<string, unknown> | undefined;
|
|
27
26
|
method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
27
|
+
body?: string | Record<string, unknown> | undefined;
|
|
28
28
|
followRedirects?: boolean | undefined;
|
|
29
29
|
}>;
|
|
30
30
|
type HttpParamsInput = z.input<typeof HttpParamsSchema>;
|
|
@@ -41,21 +41,21 @@ declare const HttpResultSchema: z.ZodObject<{
|
|
|
41
41
|
size: z.ZodNumber;
|
|
42
42
|
}, "strip", z.ZodTypeAny, {
|
|
43
43
|
status: number;
|
|
44
|
-
error: string;
|
|
45
44
|
success: boolean;
|
|
45
|
+
error: string;
|
|
46
46
|
headers: Record<string, string>;
|
|
47
|
-
body: string;
|
|
48
47
|
size: number;
|
|
48
|
+
body: string;
|
|
49
49
|
statusText: string;
|
|
50
50
|
responseTime: number;
|
|
51
51
|
json?: unknown;
|
|
52
52
|
}, {
|
|
53
53
|
status: number;
|
|
54
|
-
error: string;
|
|
55
54
|
success: boolean;
|
|
55
|
+
error: string;
|
|
56
56
|
headers: Record<string, string>;
|
|
57
|
-
body: string;
|
|
58
57
|
size: number;
|
|
58
|
+
body: string;
|
|
59
59
|
statusText: string;
|
|
60
60
|
responseTime: number;
|
|
61
61
|
json?: unknown;
|
|
@@ -87,8 +87,8 @@ export declare class HttpBubble extends ServiceBubble<HttpParams, HttpResult> {
|
|
|
87
87
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
88
88
|
timeout?: number | undefined;
|
|
89
89
|
headers?: Record<string, string> | undefined;
|
|
90
|
-
body?: string | Record<string, unknown> | undefined;
|
|
91
90
|
method?: "DELETE" | "GET" | "POST" | "PUT" | "PATCH" | "HEAD" | "OPTIONS" | undefined;
|
|
91
|
+
body?: string | Record<string, unknown> | undefined;
|
|
92
92
|
followRedirects?: boolean | undefined;
|
|
93
93
|
}>;
|
|
94
94
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -103,21 +103,21 @@ export declare class HttpBubble extends ServiceBubble<HttpParams, HttpResult> {
|
|
|
103
103
|
size: z.ZodNumber;
|
|
104
104
|
}, "strip", z.ZodTypeAny, {
|
|
105
105
|
status: number;
|
|
106
|
-
error: string;
|
|
107
106
|
success: boolean;
|
|
107
|
+
error: string;
|
|
108
108
|
headers: Record<string, string>;
|
|
109
|
-
body: string;
|
|
110
109
|
size: number;
|
|
110
|
+
body: string;
|
|
111
111
|
statusText: string;
|
|
112
112
|
responseTime: number;
|
|
113
113
|
json?: unknown;
|
|
114
114
|
}, {
|
|
115
115
|
status: number;
|
|
116
|
-
error: string;
|
|
117
116
|
success: boolean;
|
|
117
|
+
error: string;
|
|
118
118
|
headers: Record<string, string>;
|
|
119
|
-
body: string;
|
|
120
119
|
size: number;
|
|
120
|
+
body: string;
|
|
121
121
|
statusText: string;
|
|
122
122
|
responseTime: number;
|
|
123
123
|
json?: unknown;
|
|
@@ -13,19 +13,19 @@ declare const PostgreSQLParamsSchema: z.ZodObject<{
|
|
|
13
13
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
14
14
|
}, "strip", z.ZodTypeAny, {
|
|
15
15
|
timeout: number;
|
|
16
|
-
parameters: unknown[];
|
|
17
16
|
ignoreSSL: boolean;
|
|
18
17
|
query: string;
|
|
19
18
|
allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
|
|
19
|
+
parameters: unknown[];
|
|
20
20
|
maxRows: number;
|
|
21
21
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
22
22
|
}, {
|
|
23
23
|
query: string;
|
|
24
24
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
25
25
|
timeout?: number | undefined;
|
|
26
|
-
parameters?: unknown[] | undefined;
|
|
27
26
|
ignoreSSL?: boolean | undefined;
|
|
28
27
|
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
|
|
28
|
+
parameters?: unknown[] | undefined;
|
|
29
29
|
maxRows?: number | undefined;
|
|
30
30
|
}>;
|
|
31
31
|
type PostgreSQLParamsInput = z.input<typeof PostgreSQLParamsSchema>;
|
|
@@ -49,24 +49,24 @@ declare const PostgreSQLResultSchema: z.ZodObject<{
|
|
|
49
49
|
error: z.ZodString;
|
|
50
50
|
cleanedJSONString: z.ZodString;
|
|
51
51
|
}, "strip", z.ZodTypeAny, {
|
|
52
|
-
error: string;
|
|
53
52
|
success: boolean;
|
|
54
|
-
|
|
53
|
+
error: string;
|
|
55
54
|
rows: Record<string, unknown>[];
|
|
56
55
|
rowCount: number | null;
|
|
57
56
|
command: string;
|
|
57
|
+
executionTime: number;
|
|
58
58
|
cleanedJSONString: string;
|
|
59
59
|
fields?: {
|
|
60
60
|
name: string;
|
|
61
61
|
dataTypeID: number;
|
|
62
62
|
}[] | undefined;
|
|
63
63
|
}, {
|
|
64
|
-
error: string;
|
|
65
64
|
success: boolean;
|
|
66
|
-
|
|
65
|
+
error: string;
|
|
67
66
|
rows: Record<string, unknown>[];
|
|
68
67
|
rowCount: number | null;
|
|
69
68
|
command: string;
|
|
69
|
+
executionTime: number;
|
|
70
70
|
cleanedJSONString: string;
|
|
71
71
|
fields?: {
|
|
72
72
|
name: string;
|
|
@@ -90,19 +90,19 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
|
|
|
90
90
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
91
91
|
}, "strip", z.ZodTypeAny, {
|
|
92
92
|
timeout: number;
|
|
93
|
-
parameters: unknown[];
|
|
94
93
|
ignoreSSL: boolean;
|
|
95
94
|
query: string;
|
|
96
95
|
allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[];
|
|
96
|
+
parameters: unknown[];
|
|
97
97
|
maxRows: number;
|
|
98
98
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
99
99
|
}, {
|
|
100
100
|
query: string;
|
|
101
101
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
102
102
|
timeout?: number | undefined;
|
|
103
|
-
parameters?: unknown[] | undefined;
|
|
104
103
|
ignoreSSL?: boolean | undefined;
|
|
105
104
|
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "ANALYZE" | "SHOW" | "DESCRIBE" | "DESC" | "CREATE")[] | undefined;
|
|
105
|
+
parameters?: unknown[] | undefined;
|
|
106
106
|
maxRows?: number | undefined;
|
|
107
107
|
}>;
|
|
108
108
|
static readonly resultSchema: z.ZodObject<{
|
|
@@ -124,24 +124,24 @@ export declare class PostgreSQLBubble extends ServiceBubble<PostgreSQLParams, Po
|
|
|
124
124
|
error: z.ZodString;
|
|
125
125
|
cleanedJSONString: z.ZodString;
|
|
126
126
|
}, "strip", z.ZodTypeAny, {
|
|
127
|
-
error: string;
|
|
128
127
|
success: boolean;
|
|
129
|
-
|
|
128
|
+
error: string;
|
|
130
129
|
rows: Record<string, unknown>[];
|
|
131
130
|
rowCount: number | null;
|
|
132
131
|
command: string;
|
|
132
|
+
executionTime: number;
|
|
133
133
|
cleanedJSONString: string;
|
|
134
134
|
fields?: {
|
|
135
135
|
name: string;
|
|
136
136
|
dataTypeID: number;
|
|
137
137
|
}[] | undefined;
|
|
138
138
|
}, {
|
|
139
|
-
error: string;
|
|
140
139
|
success: boolean;
|
|
141
|
-
|
|
140
|
+
error: string;
|
|
142
141
|
rows: Record<string, unknown>[];
|
|
143
142
|
rowCount: number | null;
|
|
144
143
|
command: string;
|
|
144
|
+
executionTime: number;
|
|
145
145
|
cleanedJSONString: string;
|
|
146
146
|
fields?: {
|
|
147
147
|
name: string;
|
|
@@ -46,14 +46,13 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
46
46
|
from: string;
|
|
47
47
|
to: string | string[];
|
|
48
48
|
subject: string;
|
|
49
|
-
text?: string | undefined;
|
|
50
49
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
51
50
|
tags?: {
|
|
52
51
|
value: string;
|
|
53
52
|
name: string;
|
|
54
53
|
}[] | undefined;
|
|
55
54
|
headers?: Record<string, string> | undefined;
|
|
56
|
-
|
|
55
|
+
text?: string | undefined;
|
|
57
56
|
attachments?: {
|
|
58
57
|
content: string | Buffer<ArrayBufferLike>;
|
|
59
58
|
filename: string;
|
|
@@ -62,20 +61,20 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
62
61
|
}[] | undefined;
|
|
63
62
|
cc?: string | string[] | undefined;
|
|
64
63
|
bcc?: string | string[] | undefined;
|
|
64
|
+
html?: string | undefined;
|
|
65
65
|
reply_to?: string | string[] | undefined;
|
|
66
66
|
scheduled_at?: string | undefined;
|
|
67
67
|
}, {
|
|
68
68
|
operation: "send_email";
|
|
69
69
|
to: string | string[];
|
|
70
70
|
subject: string;
|
|
71
|
-
text?: string | undefined;
|
|
72
71
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
73
72
|
tags?: {
|
|
74
73
|
value: string;
|
|
75
74
|
name: string;
|
|
76
75
|
}[] | undefined;
|
|
77
76
|
headers?: Record<string, string> | undefined;
|
|
78
|
-
|
|
77
|
+
text?: string | undefined;
|
|
79
78
|
attachments?: {
|
|
80
79
|
content: string | Buffer<ArrayBufferLike>;
|
|
81
80
|
filename: string;
|
|
@@ -85,6 +84,7 @@ declare const ResendParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
85
84
|
from?: string | undefined;
|
|
86
85
|
cc?: string | string[] | undefined;
|
|
87
86
|
bcc?: string | string[] | undefined;
|
|
87
|
+
html?: string | undefined;
|
|
88
88
|
reply_to?: string | string[] | undefined;
|
|
89
89
|
scheduled_at?: string | undefined;
|
|
90
90
|
}>, z.ZodObject<{
|
|
@@ -106,13 +106,13 @@ declare const ResendResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
106
106
|
email_id: z.ZodOptional<z.ZodString>;
|
|
107
107
|
error: z.ZodString;
|
|
108
108
|
}, "strip", z.ZodTypeAny, {
|
|
109
|
-
error: string;
|
|
110
109
|
success: boolean;
|
|
110
|
+
error: string;
|
|
111
111
|
operation: "send_email";
|
|
112
112
|
email_id?: string | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
error: string;
|
|
115
114
|
success: boolean;
|
|
115
|
+
error: string;
|
|
116
116
|
operation: "send_email";
|
|
117
117
|
email_id?: string | undefined;
|
|
118
118
|
}>, z.ZodObject<{
|
|
@@ -123,15 +123,15 @@ declare const ResendResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObj
|
|
|
123
123
|
last_event: z.ZodOptional<z.ZodString>;
|
|
124
124
|
error: z.ZodString;
|
|
125
125
|
}, "strip", z.ZodTypeAny, {
|
|
126
|
-
error: string;
|
|
127
126
|
success: boolean;
|
|
127
|
+
error: string;
|
|
128
128
|
operation: "get_email_status";
|
|
129
129
|
status?: string | undefined;
|
|
130
130
|
created_at?: string | undefined;
|
|
131
131
|
last_event?: string | undefined;
|
|
132
132
|
}, {
|
|
133
|
-
error: string;
|
|
134
133
|
success: boolean;
|
|
134
|
+
error: string;
|
|
135
135
|
operation: "get_email_status";
|
|
136
136
|
status?: string | undefined;
|
|
137
137
|
created_at?: string | undefined;
|
|
@@ -193,14 +193,13 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
|
|
|
193
193
|
from: string;
|
|
194
194
|
to: string | string[];
|
|
195
195
|
subject: string;
|
|
196
|
-
text?: string | undefined;
|
|
197
196
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
198
197
|
tags?: {
|
|
199
198
|
value: string;
|
|
200
199
|
name: string;
|
|
201
200
|
}[] | undefined;
|
|
202
201
|
headers?: Record<string, string> | undefined;
|
|
203
|
-
|
|
202
|
+
text?: string | undefined;
|
|
204
203
|
attachments?: {
|
|
205
204
|
content: string | Buffer<ArrayBufferLike>;
|
|
206
205
|
filename: string;
|
|
@@ -209,20 +208,20 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
|
|
|
209
208
|
}[] | undefined;
|
|
210
209
|
cc?: string | string[] | undefined;
|
|
211
210
|
bcc?: string | string[] | undefined;
|
|
211
|
+
html?: string | undefined;
|
|
212
212
|
reply_to?: string | string[] | undefined;
|
|
213
213
|
scheduled_at?: string | undefined;
|
|
214
214
|
}, {
|
|
215
215
|
operation: "send_email";
|
|
216
216
|
to: string | string[];
|
|
217
217
|
subject: string;
|
|
218
|
-
text?: string | undefined;
|
|
219
218
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
220
219
|
tags?: {
|
|
221
220
|
value: string;
|
|
222
221
|
name: string;
|
|
223
222
|
}[] | undefined;
|
|
224
223
|
headers?: Record<string, string> | undefined;
|
|
225
|
-
|
|
224
|
+
text?: string | undefined;
|
|
226
225
|
attachments?: {
|
|
227
226
|
content: string | Buffer<ArrayBufferLike>;
|
|
228
227
|
filename: string;
|
|
@@ -232,6 +231,7 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
|
|
|
232
231
|
from?: string | undefined;
|
|
233
232
|
cc?: string | string[] | undefined;
|
|
234
233
|
bcc?: string | string[] | undefined;
|
|
234
|
+
html?: string | undefined;
|
|
235
235
|
reply_to?: string | string[] | undefined;
|
|
236
236
|
scheduled_at?: string | undefined;
|
|
237
237
|
}>, z.ZodObject<{
|
|
@@ -253,13 +253,13 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
|
|
|
253
253
|
email_id: z.ZodOptional<z.ZodString>;
|
|
254
254
|
error: z.ZodString;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
error: string;
|
|
257
256
|
success: boolean;
|
|
257
|
+
error: string;
|
|
258
258
|
operation: "send_email";
|
|
259
259
|
email_id?: string | undefined;
|
|
260
260
|
}, {
|
|
261
|
-
error: string;
|
|
262
261
|
success: boolean;
|
|
262
|
+
error: string;
|
|
263
263
|
operation: "send_email";
|
|
264
264
|
email_id?: string | undefined;
|
|
265
265
|
}>, z.ZodObject<{
|
|
@@ -270,15 +270,15 @@ export declare class ResendBubble<T extends ResendParams = ResendParams> extends
|
|
|
270
270
|
last_event: z.ZodOptional<z.ZodString>;
|
|
271
271
|
error: z.ZodString;
|
|
272
272
|
}, "strip", z.ZodTypeAny, {
|
|
273
|
-
error: string;
|
|
274
273
|
success: boolean;
|
|
274
|
+
error: string;
|
|
275
275
|
operation: "get_email_status";
|
|
276
276
|
status?: string | undefined;
|
|
277
277
|
created_at?: string | undefined;
|
|
278
278
|
last_event?: string | undefined;
|
|
279
279
|
}, {
|
|
280
|
-
error: string;
|
|
281
280
|
success: boolean;
|
|
281
|
+
error: string;
|
|
282
282
|
operation: "get_email_status";
|
|
283
283
|
status?: string | undefined;
|
|
284
284
|
created_at?: string | undefined;
|