@bubblelab/bubble-core 0.1.173 → 0.1.175
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 +235 -157
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +8 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +108 -108
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +28 -28
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/attio/attio.d.ts +563 -0
- package/dist/bubbles/service-bubble/attio/attio.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.js +484 -0
- package/dist/bubbles/service-bubble/attio/attio.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +527 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.js +386 -0
- package/dist/bubbles/service-bubble/attio/attio.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.d.ts +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.js +4 -0
- package/dist/bubbles/service-bubble/attio/attio.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/attio/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/attio/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/attio/index.js +3 -0
- package/dist/bubbles/service-bubble/attio/index.js.map +1 -0
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +56 -56
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
- package/dist/bubbles/service-bubble/firecrawl.d.ts +982 -982
- package/dist/bubbles/service-bubble/followupboss.d.ts +192 -192
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +72 -72
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +174 -174
- package/dist/bubbles/service-bubble/gmail.d.ts +533 -533
- package/dist/bubbles/service-bubble/google-calendar.d.ts +134 -134
- package/dist/bubbles/service-bubble/google-drive.d.ts +66 -66
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +388 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +241 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +345 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +180 -0
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/hubspot/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/hubspot/index.js +3 -0
- package/dist/bubbles/service-bubble/hubspot/index.js.map +1 -0
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +47 -47
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
- package/dist/bubbles/service-bubble/linear/linear.d.ts +39 -39
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1577 -1577
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +23 -23
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +8 -8
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +412 -412
- package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.utils.js +2 -1
- package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +126 -126
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
- package/dist/bubbles/service-bubble/telegram.d.ts +1889 -1889
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +190 -190
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +48 -48
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +32 -32
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +74 -74
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +84 -84
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +1598 -2
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/utils/agent-formatter.d.ts.map +1 -1
- package/dist/utils/agent-formatter.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,345 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
export declare const HubSpotParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
4
|
+
operation: z.ZodLiteral<"create_record">;
|
|
5
|
+
object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
|
|
6
|
+
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
7
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
8
|
+
}, "strip", z.ZodTypeAny, {
|
|
9
|
+
properties: Record<string, string>;
|
|
10
|
+
operation: "create_record";
|
|
11
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
12
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
13
|
+
}, {
|
|
14
|
+
properties: Record<string, string>;
|
|
15
|
+
operation: "create_record";
|
|
16
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
17
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
18
|
+
}>, z.ZodObject<{
|
|
19
|
+
operation: z.ZodLiteral<"get_record">;
|
|
20
|
+
object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
|
|
21
|
+
record_id: z.ZodString;
|
|
22
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
23
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
24
|
+
}, "strip", z.ZodTypeAny, {
|
|
25
|
+
operation: "get_record";
|
|
26
|
+
record_id: string;
|
|
27
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
28
|
+
properties?: string[] | undefined;
|
|
29
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
30
|
+
}, {
|
|
31
|
+
operation: "get_record";
|
|
32
|
+
record_id: string;
|
|
33
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
34
|
+
properties?: string[] | undefined;
|
|
35
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
36
|
+
}>, z.ZodObject<{
|
|
37
|
+
operation: z.ZodLiteral<"update_record">;
|
|
38
|
+
object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
|
|
39
|
+
record_id: z.ZodString;
|
|
40
|
+
properties: z.ZodRecord<z.ZodString, z.ZodString>;
|
|
41
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
42
|
+
}, "strip", z.ZodTypeAny, {
|
|
43
|
+
properties: Record<string, string>;
|
|
44
|
+
operation: "update_record";
|
|
45
|
+
record_id: string;
|
|
46
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
47
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
48
|
+
}, {
|
|
49
|
+
properties: Record<string, string>;
|
|
50
|
+
operation: "update_record";
|
|
51
|
+
record_id: string;
|
|
52
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
53
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
54
|
+
}>, z.ZodObject<{
|
|
55
|
+
operation: z.ZodLiteral<"search_records">;
|
|
56
|
+
object_type: z.ZodEnum<["contacts", "companies", "deals", "tickets"]>;
|
|
57
|
+
filter_groups: z.ZodArray<z.ZodObject<{
|
|
58
|
+
filters: z.ZodArray<z.ZodObject<{
|
|
59
|
+
propertyName: z.ZodString;
|
|
60
|
+
operator: z.ZodEnum<["EQ", "NEQ", "LT", "LTE", "GT", "GTE", "BETWEEN", "IN", "NOT_IN", "HAS_PROPERTY", "NOT_HAS_PROPERTY", "CONTAINS_TOKEN", "NOT_CONTAINS_TOKEN"]>;
|
|
61
|
+
value: z.ZodOptional<z.ZodString>;
|
|
62
|
+
highValue: z.ZodOptional<z.ZodString>;
|
|
63
|
+
values: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
64
|
+
}, "strip", z.ZodTypeAny, {
|
|
65
|
+
propertyName: string;
|
|
66
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
67
|
+
value?: string | undefined;
|
|
68
|
+
values?: string[] | undefined;
|
|
69
|
+
highValue?: string | undefined;
|
|
70
|
+
}, {
|
|
71
|
+
propertyName: string;
|
|
72
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
73
|
+
value?: string | undefined;
|
|
74
|
+
values?: string[] | undefined;
|
|
75
|
+
highValue?: string | undefined;
|
|
76
|
+
}>, "many">;
|
|
77
|
+
}, "strip", z.ZodTypeAny, {
|
|
78
|
+
filters: {
|
|
79
|
+
propertyName: string;
|
|
80
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
81
|
+
value?: string | undefined;
|
|
82
|
+
values?: string[] | undefined;
|
|
83
|
+
highValue?: string | undefined;
|
|
84
|
+
}[];
|
|
85
|
+
}, {
|
|
86
|
+
filters: {
|
|
87
|
+
propertyName: string;
|
|
88
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
89
|
+
value?: string | undefined;
|
|
90
|
+
values?: string[] | undefined;
|
|
91
|
+
highValue?: string | undefined;
|
|
92
|
+
}[];
|
|
93
|
+
}>, "many">;
|
|
94
|
+
properties: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
95
|
+
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
96
|
+
after: z.ZodOptional<z.ZodString>;
|
|
97
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
98
|
+
}, "strip", z.ZodTypeAny, {
|
|
99
|
+
operation: "search_records";
|
|
100
|
+
limit: number;
|
|
101
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
102
|
+
filter_groups: {
|
|
103
|
+
filters: {
|
|
104
|
+
propertyName: string;
|
|
105
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
106
|
+
value?: string | undefined;
|
|
107
|
+
values?: string[] | undefined;
|
|
108
|
+
highValue?: string | undefined;
|
|
109
|
+
}[];
|
|
110
|
+
}[];
|
|
111
|
+
properties?: string[] | undefined;
|
|
112
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
113
|
+
after?: string | undefined;
|
|
114
|
+
}, {
|
|
115
|
+
operation: "search_records";
|
|
116
|
+
object_type: "deals" | "contacts" | "companies" | "tickets";
|
|
117
|
+
filter_groups: {
|
|
118
|
+
filters: {
|
|
119
|
+
propertyName: string;
|
|
120
|
+
operator: "GT" | "IN" | "LT" | "EQ" | "NEQ" | "LTE" | "GTE" | "BETWEEN" | "NOT_IN" | "HAS_PROPERTY" | "NOT_HAS_PROPERTY" | "CONTAINS_TOKEN" | "NOT_CONTAINS_TOKEN";
|
|
121
|
+
value?: string | undefined;
|
|
122
|
+
values?: string[] | undefined;
|
|
123
|
+
highValue?: string | undefined;
|
|
124
|
+
}[];
|
|
125
|
+
}[];
|
|
126
|
+
properties?: string[] | undefined;
|
|
127
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
128
|
+
limit?: number | undefined;
|
|
129
|
+
after?: string | undefined;
|
|
130
|
+
}>]>;
|
|
131
|
+
export declare const HubSpotResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
|
|
132
|
+
operation: z.ZodLiteral<"create_record">;
|
|
133
|
+
success: z.ZodBoolean;
|
|
134
|
+
record: z.ZodOptional<z.ZodObject<{
|
|
135
|
+
id: z.ZodString;
|
|
136
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
137
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
138
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
139
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
140
|
+
}, "strip", z.ZodTypeAny, {
|
|
141
|
+
properties: Record<string, unknown>;
|
|
142
|
+
id: string;
|
|
143
|
+
createdAt?: string | undefined;
|
|
144
|
+
archived?: boolean | undefined;
|
|
145
|
+
updatedAt?: string | undefined;
|
|
146
|
+
}, {
|
|
147
|
+
properties: Record<string, unknown>;
|
|
148
|
+
id: string;
|
|
149
|
+
createdAt?: string | undefined;
|
|
150
|
+
archived?: boolean | undefined;
|
|
151
|
+
updatedAt?: string | undefined;
|
|
152
|
+
}>>;
|
|
153
|
+
error: z.ZodString;
|
|
154
|
+
}, "strip", z.ZodTypeAny, {
|
|
155
|
+
error: string;
|
|
156
|
+
success: boolean;
|
|
157
|
+
operation: "create_record";
|
|
158
|
+
record?: {
|
|
159
|
+
properties: Record<string, unknown>;
|
|
160
|
+
id: string;
|
|
161
|
+
createdAt?: string | undefined;
|
|
162
|
+
archived?: boolean | undefined;
|
|
163
|
+
updatedAt?: string | undefined;
|
|
164
|
+
} | undefined;
|
|
165
|
+
}, {
|
|
166
|
+
error: string;
|
|
167
|
+
success: boolean;
|
|
168
|
+
operation: "create_record";
|
|
169
|
+
record?: {
|
|
170
|
+
properties: Record<string, unknown>;
|
|
171
|
+
id: string;
|
|
172
|
+
createdAt?: string | undefined;
|
|
173
|
+
archived?: boolean | undefined;
|
|
174
|
+
updatedAt?: string | undefined;
|
|
175
|
+
} | undefined;
|
|
176
|
+
}>, z.ZodObject<{
|
|
177
|
+
operation: z.ZodLiteral<"get_record">;
|
|
178
|
+
success: z.ZodBoolean;
|
|
179
|
+
record: z.ZodOptional<z.ZodObject<{
|
|
180
|
+
id: z.ZodString;
|
|
181
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
182
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
183
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
184
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
185
|
+
}, "strip", z.ZodTypeAny, {
|
|
186
|
+
properties: Record<string, unknown>;
|
|
187
|
+
id: string;
|
|
188
|
+
createdAt?: string | undefined;
|
|
189
|
+
archived?: boolean | undefined;
|
|
190
|
+
updatedAt?: string | undefined;
|
|
191
|
+
}, {
|
|
192
|
+
properties: Record<string, unknown>;
|
|
193
|
+
id: string;
|
|
194
|
+
createdAt?: string | undefined;
|
|
195
|
+
archived?: boolean | undefined;
|
|
196
|
+
updatedAt?: string | undefined;
|
|
197
|
+
}>>;
|
|
198
|
+
error: z.ZodString;
|
|
199
|
+
}, "strip", z.ZodTypeAny, {
|
|
200
|
+
error: string;
|
|
201
|
+
success: boolean;
|
|
202
|
+
operation: "get_record";
|
|
203
|
+
record?: {
|
|
204
|
+
properties: Record<string, unknown>;
|
|
205
|
+
id: string;
|
|
206
|
+
createdAt?: string | undefined;
|
|
207
|
+
archived?: boolean | undefined;
|
|
208
|
+
updatedAt?: string | undefined;
|
|
209
|
+
} | undefined;
|
|
210
|
+
}, {
|
|
211
|
+
error: string;
|
|
212
|
+
success: boolean;
|
|
213
|
+
operation: "get_record";
|
|
214
|
+
record?: {
|
|
215
|
+
properties: Record<string, unknown>;
|
|
216
|
+
id: string;
|
|
217
|
+
createdAt?: string | undefined;
|
|
218
|
+
archived?: boolean | undefined;
|
|
219
|
+
updatedAt?: string | undefined;
|
|
220
|
+
} | undefined;
|
|
221
|
+
}>, z.ZodObject<{
|
|
222
|
+
operation: z.ZodLiteral<"update_record">;
|
|
223
|
+
success: z.ZodBoolean;
|
|
224
|
+
record: z.ZodOptional<z.ZodObject<{
|
|
225
|
+
id: z.ZodString;
|
|
226
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
227
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
228
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
229
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
230
|
+
}, "strip", z.ZodTypeAny, {
|
|
231
|
+
properties: Record<string, unknown>;
|
|
232
|
+
id: string;
|
|
233
|
+
createdAt?: string | undefined;
|
|
234
|
+
archived?: boolean | undefined;
|
|
235
|
+
updatedAt?: string | undefined;
|
|
236
|
+
}, {
|
|
237
|
+
properties: Record<string, unknown>;
|
|
238
|
+
id: string;
|
|
239
|
+
createdAt?: string | undefined;
|
|
240
|
+
archived?: boolean | undefined;
|
|
241
|
+
updatedAt?: string | undefined;
|
|
242
|
+
}>>;
|
|
243
|
+
error: z.ZodString;
|
|
244
|
+
}, "strip", z.ZodTypeAny, {
|
|
245
|
+
error: string;
|
|
246
|
+
success: boolean;
|
|
247
|
+
operation: "update_record";
|
|
248
|
+
record?: {
|
|
249
|
+
properties: Record<string, unknown>;
|
|
250
|
+
id: string;
|
|
251
|
+
createdAt?: string | undefined;
|
|
252
|
+
archived?: boolean | undefined;
|
|
253
|
+
updatedAt?: string | undefined;
|
|
254
|
+
} | undefined;
|
|
255
|
+
}, {
|
|
256
|
+
error: string;
|
|
257
|
+
success: boolean;
|
|
258
|
+
operation: "update_record";
|
|
259
|
+
record?: {
|
|
260
|
+
properties: Record<string, unknown>;
|
|
261
|
+
id: string;
|
|
262
|
+
createdAt?: string | undefined;
|
|
263
|
+
archived?: boolean | undefined;
|
|
264
|
+
updatedAt?: string | undefined;
|
|
265
|
+
} | undefined;
|
|
266
|
+
}>, z.ZodObject<{
|
|
267
|
+
operation: z.ZodLiteral<"search_records">;
|
|
268
|
+
success: z.ZodBoolean;
|
|
269
|
+
results: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
270
|
+
id: z.ZodString;
|
|
271
|
+
properties: z.ZodRecord<z.ZodString, z.ZodUnknown>;
|
|
272
|
+
createdAt: z.ZodOptional<z.ZodString>;
|
|
273
|
+
updatedAt: z.ZodOptional<z.ZodString>;
|
|
274
|
+
archived: z.ZodOptional<z.ZodBoolean>;
|
|
275
|
+
}, "strip", z.ZodTypeAny, {
|
|
276
|
+
properties: Record<string, unknown>;
|
|
277
|
+
id: string;
|
|
278
|
+
createdAt?: string | undefined;
|
|
279
|
+
archived?: boolean | undefined;
|
|
280
|
+
updatedAt?: string | undefined;
|
|
281
|
+
}, {
|
|
282
|
+
properties: Record<string, unknown>;
|
|
283
|
+
id: string;
|
|
284
|
+
createdAt?: string | undefined;
|
|
285
|
+
archived?: boolean | undefined;
|
|
286
|
+
updatedAt?: string | undefined;
|
|
287
|
+
}>, "many">>;
|
|
288
|
+
total: z.ZodOptional<z.ZodNumber>;
|
|
289
|
+
paging: z.ZodOptional<z.ZodObject<{
|
|
290
|
+
next: z.ZodOptional<z.ZodObject<{
|
|
291
|
+
after: z.ZodString;
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
after: string;
|
|
294
|
+
}, {
|
|
295
|
+
after: string;
|
|
296
|
+
}>>;
|
|
297
|
+
}, "strip", z.ZodTypeAny, {
|
|
298
|
+
next?: {
|
|
299
|
+
after: string;
|
|
300
|
+
} | undefined;
|
|
301
|
+
}, {
|
|
302
|
+
next?: {
|
|
303
|
+
after: string;
|
|
304
|
+
} | undefined;
|
|
305
|
+
}>>;
|
|
306
|
+
error: z.ZodString;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
error: string;
|
|
309
|
+
success: boolean;
|
|
310
|
+
operation: "search_records";
|
|
311
|
+
total?: number | undefined;
|
|
312
|
+
results?: {
|
|
313
|
+
properties: Record<string, unknown>;
|
|
314
|
+
id: string;
|
|
315
|
+
createdAt?: string | undefined;
|
|
316
|
+
archived?: boolean | undefined;
|
|
317
|
+
updatedAt?: string | undefined;
|
|
318
|
+
}[] | undefined;
|
|
319
|
+
paging?: {
|
|
320
|
+
next?: {
|
|
321
|
+
after: string;
|
|
322
|
+
} | undefined;
|
|
323
|
+
} | undefined;
|
|
324
|
+
}, {
|
|
325
|
+
error: string;
|
|
326
|
+
success: boolean;
|
|
327
|
+
operation: "search_records";
|
|
328
|
+
total?: number | undefined;
|
|
329
|
+
results?: {
|
|
330
|
+
properties: Record<string, unknown>;
|
|
331
|
+
id: string;
|
|
332
|
+
createdAt?: string | undefined;
|
|
333
|
+
archived?: boolean | undefined;
|
|
334
|
+
updatedAt?: string | undefined;
|
|
335
|
+
}[] | undefined;
|
|
336
|
+
paging?: {
|
|
337
|
+
next?: {
|
|
338
|
+
after: string;
|
|
339
|
+
} | undefined;
|
|
340
|
+
} | undefined;
|
|
341
|
+
}>]>;
|
|
342
|
+
export type HubSpotParams = z.output<typeof HubSpotParamsSchema>;
|
|
343
|
+
export type HubSpotParamsInput = z.input<typeof HubSpotParamsSchema>;
|
|
344
|
+
export type HubSpotResult = z.output<typeof HubSpotResultSchema>;
|
|
345
|
+
//# sourceMappingURL=hubspot.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hubspot.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/hubspot/hubspot.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AA+E3D,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAyD9B,CAAC;AAcH,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAqD9B,CAAC;AAEH,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACjE,MAAM,MAAM,kBAAkB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAC;AACrE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,mBAAmB,CAAC,CAAC"}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { CredentialType } from '@bubblelab/shared-schemas';
|
|
3
|
+
// Shared field helpers
|
|
4
|
+
const credentialsField = z
|
|
5
|
+
.record(z.nativeEnum(CredentialType), z.string())
|
|
6
|
+
.optional()
|
|
7
|
+
.describe('Object mapping credential types to values (injected at runtime)');
|
|
8
|
+
const objectTypeField = z
|
|
9
|
+
.enum(['contacts', 'companies', 'deals', 'tickets'])
|
|
10
|
+
.describe('HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)');
|
|
11
|
+
const propertiesField = z
|
|
12
|
+
.record(z.string(), z.string())
|
|
13
|
+
.describe('Object properties as key-value pairs. Common contact properties: email, firstname, lastname, phone, company. Common company properties: name, domain, industry. Common deal properties: dealname, pipeline, dealstage, amount. Common ticket properties: subject, content, hs_pipeline, hs_pipeline_stage.');
|
|
14
|
+
const propertiesListField = z
|
|
15
|
+
.array(z.string())
|
|
16
|
+
.optional()
|
|
17
|
+
.describe('List of property names to include in the response. If not specified, default properties are returned.');
|
|
18
|
+
const recordIdField = z
|
|
19
|
+
.string()
|
|
20
|
+
.min(1, 'Record ID is required')
|
|
21
|
+
.describe('HubSpot record ID');
|
|
22
|
+
// Filter schema for search operations
|
|
23
|
+
const FilterSchema = z
|
|
24
|
+
.object({
|
|
25
|
+
propertyName: z
|
|
26
|
+
.string()
|
|
27
|
+
.describe('Property name to filter on (e.g., "email", "firstname")'),
|
|
28
|
+
operator: z
|
|
29
|
+
.enum([
|
|
30
|
+
'EQ',
|
|
31
|
+
'NEQ',
|
|
32
|
+
'LT',
|
|
33
|
+
'LTE',
|
|
34
|
+
'GT',
|
|
35
|
+
'GTE',
|
|
36
|
+
'BETWEEN',
|
|
37
|
+
'IN',
|
|
38
|
+
'NOT_IN',
|
|
39
|
+
'HAS_PROPERTY',
|
|
40
|
+
'NOT_HAS_PROPERTY',
|
|
41
|
+
'CONTAINS_TOKEN',
|
|
42
|
+
'NOT_CONTAINS_TOKEN',
|
|
43
|
+
])
|
|
44
|
+
.describe('Filter operator'),
|
|
45
|
+
value: z.string().optional().describe('Value to compare against'),
|
|
46
|
+
highValue: z
|
|
47
|
+
.string()
|
|
48
|
+
.optional()
|
|
49
|
+
.describe('Upper bound value for BETWEEN operator'),
|
|
50
|
+
values: z
|
|
51
|
+
.array(z.string())
|
|
52
|
+
.optional()
|
|
53
|
+
.describe('Array of values for IN/NOT_IN operators'),
|
|
54
|
+
})
|
|
55
|
+
.describe('A single filter condition');
|
|
56
|
+
const FilterGroupSchema = z
|
|
57
|
+
.object({
|
|
58
|
+
filters: z
|
|
59
|
+
.array(FilterSchema)
|
|
60
|
+
.min(1)
|
|
61
|
+
.describe('Filters within this group (combined with AND)'),
|
|
62
|
+
})
|
|
63
|
+
.describe('A group of filters combined with AND. Multiple groups are combined with OR.');
|
|
64
|
+
// Parameter schema using discriminated union
|
|
65
|
+
export const HubSpotParamsSchema = z.discriminatedUnion('operation', [
|
|
66
|
+
// Create record
|
|
67
|
+
z.object({
|
|
68
|
+
operation: z.literal('create_record').describe('Create a new CRM record'),
|
|
69
|
+
object_type: objectTypeField,
|
|
70
|
+
properties: propertiesField,
|
|
71
|
+
credentials: credentialsField,
|
|
72
|
+
}),
|
|
73
|
+
// Get record
|
|
74
|
+
z.object({
|
|
75
|
+
operation: z
|
|
76
|
+
.literal('get_record')
|
|
77
|
+
.describe('Retrieve a single CRM record by ID'),
|
|
78
|
+
object_type: objectTypeField,
|
|
79
|
+
record_id: recordIdField,
|
|
80
|
+
properties: propertiesListField,
|
|
81
|
+
credentials: credentialsField,
|
|
82
|
+
}),
|
|
83
|
+
// Update record
|
|
84
|
+
z.object({
|
|
85
|
+
operation: z
|
|
86
|
+
.literal('update_record')
|
|
87
|
+
.describe('Update an existing CRM record'),
|
|
88
|
+
object_type: objectTypeField,
|
|
89
|
+
record_id: recordIdField,
|
|
90
|
+
properties: propertiesField,
|
|
91
|
+
credentials: credentialsField,
|
|
92
|
+
}),
|
|
93
|
+
// Search records
|
|
94
|
+
z.object({
|
|
95
|
+
operation: z
|
|
96
|
+
.literal('search_records')
|
|
97
|
+
.describe('Search CRM records with filters'),
|
|
98
|
+
object_type: objectTypeField,
|
|
99
|
+
filter_groups: z
|
|
100
|
+
.array(FilterGroupSchema)
|
|
101
|
+
.min(1)
|
|
102
|
+
.describe('Filter groups for the search query. Groups are combined with OR, filters within a group with AND.'),
|
|
103
|
+
properties: propertiesListField,
|
|
104
|
+
limit: z
|
|
105
|
+
.number()
|
|
106
|
+
.min(1)
|
|
107
|
+
.max(200)
|
|
108
|
+
.optional()
|
|
109
|
+
.default(10)
|
|
110
|
+
.describe('Maximum number of results to return (1-200, default 10)'),
|
|
111
|
+
after: z
|
|
112
|
+
.string()
|
|
113
|
+
.optional()
|
|
114
|
+
.describe('Pagination cursor for next page of results'),
|
|
115
|
+
credentials: credentialsField,
|
|
116
|
+
}),
|
|
117
|
+
]);
|
|
118
|
+
// HubSpot record schema for response data
|
|
119
|
+
const HubSpotRecordSchema = z
|
|
120
|
+
.object({
|
|
121
|
+
id: z.string().describe('Record ID'),
|
|
122
|
+
properties: z.record(z.string(), z.unknown()).describe('Record properties'),
|
|
123
|
+
createdAt: z.string().optional().describe('Creation timestamp'),
|
|
124
|
+
updatedAt: z.string().optional().describe('Last update timestamp'),
|
|
125
|
+
archived: z.boolean().optional().describe('Whether the record is archived'),
|
|
126
|
+
})
|
|
127
|
+
.describe('A HubSpot CRM record');
|
|
128
|
+
// Result schema
|
|
129
|
+
export const HubSpotResultSchema = z.discriminatedUnion('operation', [
|
|
130
|
+
// Create result
|
|
131
|
+
z.object({
|
|
132
|
+
operation: z.literal('create_record').describe('Create a new CRM record'),
|
|
133
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
134
|
+
record: HubSpotRecordSchema.optional().describe('Created record'),
|
|
135
|
+
error: z.string().describe('Error message if operation failed'),
|
|
136
|
+
}),
|
|
137
|
+
// Get result
|
|
138
|
+
z.object({
|
|
139
|
+
operation: z
|
|
140
|
+
.literal('get_record')
|
|
141
|
+
.describe('Retrieve a single CRM record by ID'),
|
|
142
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
143
|
+
record: HubSpotRecordSchema.optional().describe('Retrieved record'),
|
|
144
|
+
error: z.string().describe('Error message if operation failed'),
|
|
145
|
+
}),
|
|
146
|
+
// Update result
|
|
147
|
+
z.object({
|
|
148
|
+
operation: z
|
|
149
|
+
.literal('update_record')
|
|
150
|
+
.describe('Update an existing CRM record'),
|
|
151
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
152
|
+
record: HubSpotRecordSchema.optional().describe('Updated record'),
|
|
153
|
+
error: z.string().describe('Error message if operation failed'),
|
|
154
|
+
}),
|
|
155
|
+
// Search result
|
|
156
|
+
z.object({
|
|
157
|
+
operation: z
|
|
158
|
+
.literal('search_records')
|
|
159
|
+
.describe('Search CRM records with filters'),
|
|
160
|
+
success: z.boolean().describe('Whether the operation was successful'),
|
|
161
|
+
results: z
|
|
162
|
+
.array(HubSpotRecordSchema)
|
|
163
|
+
.optional()
|
|
164
|
+
.describe('Matching records'),
|
|
165
|
+
total: z.number().optional().describe('Total number of matching records'),
|
|
166
|
+
paging: z
|
|
167
|
+
.object({
|
|
168
|
+
next: z
|
|
169
|
+
.object({
|
|
170
|
+
after: z.string().describe('Cursor for the next page'),
|
|
171
|
+
})
|
|
172
|
+
.optional()
|
|
173
|
+
.describe('Pagination info for the next page'),
|
|
174
|
+
})
|
|
175
|
+
.optional()
|
|
176
|
+
.describe('Pagination information'),
|
|
177
|
+
error: z.string().describe('Error message if operation failed'),
|
|
178
|
+
}),
|
|
179
|
+
]);
|
|
180
|
+
//# sourceMappingURL=hubspot.schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"hubspot.schema.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/hubspot/hubspot.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAE3D,uBAAuB;AACvB,MAAM,gBAAgB,GAAG,CAAC;KACvB,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,cAAc,CAAC,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KAChD,QAAQ,EAAE;KACV,QAAQ,CAAC,iEAAiE,CAAC,CAAC;AAE/E,MAAM,eAAe,GAAG,CAAC;KACtB,IAAI,CAAC,CAAC,UAAU,EAAE,WAAW,EAAE,OAAO,EAAE,SAAS,CAAC,CAAC;KACnD,QAAQ,CACP,gFAAgF,CACjF,CAAC;AAEJ,MAAM,eAAe,GAAG,CAAC;KACtB,MAAM,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC;KAC9B,QAAQ,CACP,4SAA4S,CAC7S,CAAC;AAEJ,MAAM,mBAAmB,GAAG,CAAC;KAC1B,KAAK,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;KACjB,QAAQ,EAAE;KACV,QAAQ,CACP,uGAAuG,CACxG,CAAC;AAEJ,MAAM,aAAa,GAAG,CAAC;KACpB,MAAM,EAAE;KACR,GAAG,CAAC,CAAC,EAAE,uBAAuB,CAAC;KAC/B,QAAQ,CAAC,mBAAmB,CAAC,CAAC;AAEjC,sCAAsC;AACtC,MAAM,YAAY,GAAG,CAAC;KACnB,MAAM,CAAC;IACN,YAAY,EAAE,CAAC;SACZ,MAAM,EAAE;SACR,QAAQ,CAAC,yDAAyD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
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/hubspot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,mBAAmB,EACnB,mBAAmB,EACnB,KAAK,aAAa,EAClB,KAAK,aAAa,EAClB,KAAK,kBAAkB,GACxB,MAAM,qBAAqB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/hubspot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,cAAc,CAAC;AAC7C,OAAO,EACL,mBAAmB,EACnB,mBAAmB,GAIpB,MAAM,qBAAqB,CAAC"}
|
|
@@ -11,18 +11,18 @@ declare const InsForgeDbParamsSchema: z.ZodObject<{
|
|
|
11
11
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
12
12
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
13
13
|
}, "strip", z.ZodTypeAny, {
|
|
14
|
+
timeout: number;
|
|
14
15
|
query: string;
|
|
15
|
-
allowedOperations: ("
|
|
16
|
+
allowedOperations: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[];
|
|
16
17
|
parameters: unknown[];
|
|
17
|
-
timeout: number;
|
|
18
18
|
maxRows: number;
|
|
19
19
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
query: string;
|
|
22
22
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
23
|
-
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
24
|
-
parameters?: unknown[] | undefined;
|
|
25
23
|
timeout?: number | undefined;
|
|
24
|
+
allowedOperations?: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
25
|
+
parameters?: unknown[] | undefined;
|
|
26
26
|
maxRows?: number | undefined;
|
|
27
27
|
}>;
|
|
28
28
|
type InsForgeDbParamsInput = z.input<typeof InsForgeDbParamsSchema>;
|
|
@@ -85,18 +85,18 @@ export declare class InsForgeDbBubble extends ServiceBubble<InsForgeDbParams, In
|
|
|
85
85
|
maxRows: z.ZodDefault<z.ZodNumber>;
|
|
86
86
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
87
87
|
}, "strip", z.ZodTypeAny, {
|
|
88
|
+
timeout: number;
|
|
88
89
|
query: string;
|
|
89
|
-
allowedOperations: ("
|
|
90
|
+
allowedOperations: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[];
|
|
90
91
|
parameters: unknown[];
|
|
91
|
-
timeout: number;
|
|
92
92
|
maxRows: number;
|
|
93
93
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
94
94
|
}, {
|
|
95
95
|
query: string;
|
|
96
96
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
97
|
-
allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
98
|
-
parameters?: unknown[] | undefined;
|
|
99
97
|
timeout?: number | undefined;
|
|
98
|
+
allowedOperations?: ("DELETE" | "SELECT" | "INSERT" | "UPDATE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
|
|
99
|
+
parameters?: unknown[] | undefined;
|
|
100
100
|
maxRows?: number | undefined;
|
|
101
101
|
}>;
|
|
102
102
|
static readonly resultSchema: z.ZodObject<{
|