@bubblelab/bubble-core 0.1.174 → 0.1.176

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.
Files changed (50) hide show
  1. package/dist/bubble-bundle.d.ts +105 -27
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +8 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/attio/attio.d.ts +563 -0
  6. package/dist/bubbles/service-bubble/attio/attio.d.ts.map +1 -0
  7. package/dist/bubbles/service-bubble/attio/attio.js +484 -0
  8. package/dist/bubbles/service-bubble/attio/attio.js.map +1 -0
  9. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +527 -0
  10. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts.map +1 -0
  11. package/dist/bubbles/service-bubble/attio/attio.schema.js +386 -0
  12. package/dist/bubbles/service-bubble/attio/attio.schema.js.map +1 -0
  13. package/dist/bubbles/service-bubble/attio/attio.utils.d.ts +1 -0
  14. package/dist/bubbles/service-bubble/attio/attio.utils.d.ts.map +1 -0
  15. package/dist/bubbles/service-bubble/attio/attio.utils.js +4 -0
  16. package/dist/bubbles/service-bubble/attio/attio.utils.js.map +1 -0
  17. package/dist/bubbles/service-bubble/attio/index.d.ts +3 -0
  18. package/dist/bubbles/service-bubble/attio/index.d.ts.map +1 -0
  19. package/dist/bubbles/service-bubble/attio/index.js +3 -0
  20. package/dist/bubbles/service-bubble/attio/index.js.map +1 -0
  21. package/dist/bubbles/service-bubble/capability-pipeline.js +2 -2
  22. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  23. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +388 -0
  24. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -0
  25. package/dist/bubbles/service-bubble/hubspot/hubspot.js +241 -0
  26. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -0
  27. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +345 -0
  28. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +180 -0
  30. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -0
  31. package/dist/bubbles/service-bubble/hubspot/index.d.ts +3 -0
  32. package/dist/bubbles/service-bubble/hubspot/index.d.ts.map +1 -0
  33. package/dist/bubbles/service-bubble/hubspot/index.js +3 -0
  34. package/dist/bubbles/service-bubble/hubspot/index.js.map +1 -0
  35. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.d.ts +5 -30
  36. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.d.ts.map +1 -1
  37. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.js +70 -204
  38. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.js.map +1 -1
  39. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.types.d.ts +4 -0
  40. package/dist/bubbles/tool-bubble/browser-tools/_shared/ai/ai-browser-agent.types.d.ts.map +1 -1
  41. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +31 -0
  42. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts.map +1 -1
  43. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js +202 -39
  44. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.js.map +1 -1
  45. package/dist/bubbles.json +1598 -2
  46. package/dist/index.d.ts +4 -0
  47. package/dist/index.d.ts.map +1 -1
  48. package/dist/index.js +2 -0
  49. package/dist/index.js.map +1 -1
  50. package/package.json +2 -2
@@ -0,0 +1,563 @@
1
+ import { CredentialType } from '@bubblelab/shared-schemas';
2
+ import { ServiceBubble } from '../../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../../types/bubble.js';
4
+ import { type AttioParamsInput, type AttioResult } from './attio.schema.js';
5
+ export declare class AttioBubble<T extends AttioParamsInput = AttioParamsInput> extends ServiceBubble<T, Extract<AttioResult, {
6
+ operation: T['operation'];
7
+ }>> {
8
+ static readonly service = "attio";
9
+ static readonly authType: "oauth";
10
+ static readonly bubbleName: "attio";
11
+ static readonly type: "service";
12
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
13
+ operation: import("zod").ZodLiteral<"list_records">;
14
+ object: import("zod").ZodString;
15
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
16
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
17
+ sorts: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
18
+ attribute: import("zod").ZodString;
19
+ direction: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["asc", "desc"]>>>;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ direction: "asc" | "desc";
22
+ attribute: string;
23
+ }, {
24
+ attribute: string;
25
+ direction?: "asc" | "desc" | undefined;
26
+ }>, "many">>;
27
+ filter: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
28
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
29
+ }, "strip", import("zod").ZodTypeAny, {
30
+ object: string;
31
+ operation: "list_records";
32
+ limit: number;
33
+ offset: number;
34
+ filter?: Record<string, unknown> | undefined;
35
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
36
+ sorts?: {
37
+ direction: "asc" | "desc";
38
+ attribute: string;
39
+ }[] | undefined;
40
+ }, {
41
+ object: string;
42
+ operation: "list_records";
43
+ filter?: Record<string, unknown> | undefined;
44
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
45
+ limit?: number | undefined;
46
+ offset?: number | undefined;
47
+ sorts?: {
48
+ attribute: string;
49
+ direction?: "asc" | "desc" | undefined;
50
+ }[] | undefined;
51
+ }>, import("zod").ZodObject<{
52
+ operation: import("zod").ZodLiteral<"get_record">;
53
+ object: import("zod").ZodString;
54
+ record_id: import("zod").ZodString;
55
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
56
+ }, "strip", import("zod").ZodTypeAny, {
57
+ object: string;
58
+ operation: "get_record";
59
+ record_id: string;
60
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
61
+ }, {
62
+ object: string;
63
+ operation: "get_record";
64
+ record_id: string;
65
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
66
+ }>, import("zod").ZodObject<{
67
+ operation: import("zod").ZodLiteral<"create_record">;
68
+ object: import("zod").ZodString;
69
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
70
+ matching_attribute: import("zod").ZodOptional<import("zod").ZodString>;
71
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
72
+ }, "strip", import("zod").ZodTypeAny, {
73
+ object: string;
74
+ values: Record<string, unknown>;
75
+ operation: "create_record";
76
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
77
+ matching_attribute?: string | undefined;
78
+ }, {
79
+ object: string;
80
+ values: Record<string, unknown>;
81
+ operation: "create_record";
82
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
83
+ matching_attribute?: string | undefined;
84
+ }>, import("zod").ZodObject<{
85
+ operation: import("zod").ZodLiteral<"update_record">;
86
+ object: import("zod").ZodString;
87
+ record_id: import("zod").ZodString;
88
+ values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>;
89
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
90
+ }, "strip", import("zod").ZodTypeAny, {
91
+ object: string;
92
+ values: Record<string, unknown>;
93
+ operation: "update_record";
94
+ record_id: string;
95
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
96
+ }, {
97
+ object: string;
98
+ values: Record<string, unknown>;
99
+ operation: "update_record";
100
+ record_id: string;
101
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
102
+ }>, import("zod").ZodObject<{
103
+ operation: import("zod").ZodLiteral<"delete_record">;
104
+ object: import("zod").ZodString;
105
+ record_id: import("zod").ZodString;
106
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
107
+ }, "strip", import("zod").ZodTypeAny, {
108
+ object: string;
109
+ operation: "delete_record";
110
+ record_id: string;
111
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
112
+ }, {
113
+ object: string;
114
+ operation: "delete_record";
115
+ record_id: string;
116
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
117
+ }>, import("zod").ZodObject<{
118
+ operation: import("zod").ZodLiteral<"create_note">;
119
+ parent_object: import("zod").ZodString;
120
+ parent_record_id: import("zod").ZodString;
121
+ title: import("zod").ZodString;
122
+ content: import("zod").ZodString;
123
+ format: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodEnum<["plaintext"]>>>;
124
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
125
+ }, "strip", import("zod").ZodTypeAny, {
126
+ format: "plaintext";
127
+ title: string;
128
+ content: string;
129
+ operation: "create_note";
130
+ parent_object: string;
131
+ parent_record_id: string;
132
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
133
+ }, {
134
+ title: string;
135
+ content: string;
136
+ operation: "create_note";
137
+ parent_object: string;
138
+ parent_record_id: string;
139
+ format?: "plaintext" | undefined;
140
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
141
+ }>, import("zod").ZodObject<{
142
+ operation: import("zod").ZodLiteral<"list_notes">;
143
+ parent_object: import("zod").ZodOptional<import("zod").ZodString>;
144
+ parent_record_id: import("zod").ZodOptional<import("zod").ZodString>;
145
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
146
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
147
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
148
+ }, "strip", import("zod").ZodTypeAny, {
149
+ operation: "list_notes";
150
+ limit: number;
151
+ offset: number;
152
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
153
+ parent_object?: string | undefined;
154
+ parent_record_id?: string | undefined;
155
+ }, {
156
+ operation: "list_notes";
157
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
158
+ limit?: number | undefined;
159
+ offset?: number | undefined;
160
+ parent_object?: string | undefined;
161
+ parent_record_id?: string | undefined;
162
+ }>, import("zod").ZodObject<{
163
+ operation: import("zod").ZodLiteral<"create_task">;
164
+ content: import("zod").ZodString;
165
+ deadline_at: import("zod").ZodOptional<import("zod").ZodString>;
166
+ is_completed: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodBoolean>>;
167
+ linked_records: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
168
+ target_object: import("zod").ZodString;
169
+ target_record_id: import("zod").ZodString;
170
+ }, "strip", import("zod").ZodTypeAny, {
171
+ target_object: string;
172
+ target_record_id: string;
173
+ }, {
174
+ target_object: string;
175
+ target_record_id: string;
176
+ }>, "many">>;
177
+ assignees: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
178
+ referenced_actor_type: import("zod").ZodEnum<["workspace-member"]>;
179
+ referenced_actor_id: import("zod").ZodString;
180
+ }, "strip", import("zod").ZodTypeAny, {
181
+ referenced_actor_type: "workspace-member";
182
+ referenced_actor_id: string;
183
+ }, {
184
+ referenced_actor_type: "workspace-member";
185
+ referenced_actor_id: string;
186
+ }>, "many">>;
187
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
188
+ }, "strip", import("zod").ZodTypeAny, {
189
+ content: string;
190
+ operation: "create_task";
191
+ is_completed: boolean;
192
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
193
+ deadline_at?: string | undefined;
194
+ linked_records?: {
195
+ target_object: string;
196
+ target_record_id: string;
197
+ }[] | undefined;
198
+ assignees?: {
199
+ referenced_actor_type: "workspace-member";
200
+ referenced_actor_id: string;
201
+ }[] | undefined;
202
+ }, {
203
+ content: string;
204
+ operation: "create_task";
205
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
206
+ deadline_at?: string | undefined;
207
+ is_completed?: boolean | undefined;
208
+ linked_records?: {
209
+ target_object: string;
210
+ target_record_id: string;
211
+ }[] | undefined;
212
+ assignees?: {
213
+ referenced_actor_type: "workspace-member";
214
+ referenced_actor_id: string;
215
+ }[] | undefined;
216
+ }>, import("zod").ZodObject<{
217
+ operation: import("zod").ZodLiteral<"list_tasks">;
218
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
219
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
220
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
221
+ }, "strip", import("zod").ZodTypeAny, {
222
+ operation: "list_tasks";
223
+ limit: number;
224
+ offset: number;
225
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
226
+ }, {
227
+ operation: "list_tasks";
228
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
229
+ limit?: number | undefined;
230
+ offset?: number | undefined;
231
+ }>, import("zod").ZodObject<{
232
+ operation: import("zod").ZodLiteral<"update_task">;
233
+ task_id: import("zod").ZodString;
234
+ content: import("zod").ZodOptional<import("zod").ZodString>;
235
+ deadline_at: import("zod").ZodOptional<import("zod").ZodString>;
236
+ is_completed: import("zod").ZodOptional<import("zod").ZodBoolean>;
237
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
238
+ }, "strip", import("zod").ZodTypeAny, {
239
+ operation: "update_task";
240
+ task_id: string;
241
+ content?: string | undefined;
242
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
243
+ deadline_at?: string | undefined;
244
+ is_completed?: boolean | undefined;
245
+ }, {
246
+ operation: "update_task";
247
+ task_id: string;
248
+ content?: string | undefined;
249
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
250
+ deadline_at?: string | undefined;
251
+ is_completed?: boolean | undefined;
252
+ }>, import("zod").ZodObject<{
253
+ operation: import("zod").ZodLiteral<"delete_task">;
254
+ task_id: import("zod").ZodString;
255
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
256
+ }, "strip", import("zod").ZodTypeAny, {
257
+ operation: "delete_task";
258
+ task_id: string;
259
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
260
+ }, {
261
+ operation: "delete_task";
262
+ task_id: string;
263
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
264
+ }>, import("zod").ZodObject<{
265
+ operation: import("zod").ZodLiteral<"list_lists">;
266
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
267
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
268
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
269
+ }, "strip", import("zod").ZodTypeAny, {
270
+ operation: "list_lists";
271
+ limit: number;
272
+ offset: number;
273
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
274
+ }, {
275
+ operation: "list_lists";
276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
277
+ limit?: number | undefined;
278
+ offset?: number | undefined;
279
+ }>, import("zod").ZodObject<{
280
+ operation: import("zod").ZodLiteral<"create_entry">;
281
+ list: import("zod").ZodString;
282
+ parent_object: import("zod").ZodString;
283
+ parent_record_id: import("zod").ZodString;
284
+ entry_values: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>>;
285
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
286
+ }, "strip", import("zod").ZodTypeAny, {
287
+ operation: "create_entry";
288
+ list: string;
289
+ parent_object: string;
290
+ parent_record_id: string;
291
+ entry_values: Record<string, unknown>;
292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
293
+ }, {
294
+ operation: "create_entry";
295
+ list: string;
296
+ parent_object: string;
297
+ parent_record_id: string;
298
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
299
+ entry_values?: Record<string, unknown> | undefined;
300
+ }>, import("zod").ZodObject<{
301
+ operation: import("zod").ZodLiteral<"list_entries">;
302
+ list: import("zod").ZodString;
303
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
304
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
305
+ filter: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
306
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
307
+ }, "strip", import("zod").ZodTypeAny, {
308
+ operation: "list_entries";
309
+ limit: number;
310
+ offset: number;
311
+ list: string;
312
+ filter?: Record<string, unknown> | undefined;
313
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
314
+ }, {
315
+ operation: "list_entries";
316
+ list: string;
317
+ filter?: Record<string, unknown> | undefined;
318
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
319
+ limit?: number | undefined;
320
+ offset?: number | undefined;
321
+ }>]>;
322
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
323
+ operation: import("zod").ZodLiteral<"list_records">;
324
+ records: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
325
+ next_page_offset: import("zod").ZodOptional<import("zod").ZodNumber>;
326
+ success: import("zod").ZodBoolean;
327
+ error: import("zod").ZodString;
328
+ }, "strip", import("zod").ZodTypeAny, {
329
+ success: boolean;
330
+ error: string;
331
+ operation: "list_records";
332
+ records?: Record<string, unknown>[] | undefined;
333
+ next_page_offset?: number | undefined;
334
+ }, {
335
+ success: boolean;
336
+ error: string;
337
+ operation: "list_records";
338
+ records?: Record<string, unknown>[] | undefined;
339
+ next_page_offset?: number | undefined;
340
+ }>, import("zod").ZodObject<{
341
+ operation: import("zod").ZodLiteral<"get_record">;
342
+ record: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
343
+ success: import("zod").ZodBoolean;
344
+ error: import("zod").ZodString;
345
+ }, "strip", import("zod").ZodTypeAny, {
346
+ success: boolean;
347
+ error: string;
348
+ operation: "get_record";
349
+ record?: Record<string, unknown> | undefined;
350
+ }, {
351
+ success: boolean;
352
+ error: string;
353
+ operation: "get_record";
354
+ record?: Record<string, unknown> | undefined;
355
+ }>, import("zod").ZodObject<{
356
+ operation: import("zod").ZodLiteral<"create_record">;
357
+ record: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
358
+ success: import("zod").ZodBoolean;
359
+ error: import("zod").ZodString;
360
+ }, "strip", import("zod").ZodTypeAny, {
361
+ success: boolean;
362
+ error: string;
363
+ operation: "create_record";
364
+ record?: Record<string, unknown> | undefined;
365
+ }, {
366
+ success: boolean;
367
+ error: string;
368
+ operation: "create_record";
369
+ record?: Record<string, unknown> | undefined;
370
+ }>, import("zod").ZodObject<{
371
+ operation: import("zod").ZodLiteral<"update_record">;
372
+ record: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
373
+ success: import("zod").ZodBoolean;
374
+ error: import("zod").ZodString;
375
+ }, "strip", import("zod").ZodTypeAny, {
376
+ success: boolean;
377
+ error: string;
378
+ operation: "update_record";
379
+ record?: Record<string, unknown> | undefined;
380
+ }, {
381
+ success: boolean;
382
+ error: string;
383
+ operation: "update_record";
384
+ record?: Record<string, unknown> | undefined;
385
+ }>, import("zod").ZodObject<{
386
+ operation: import("zod").ZodLiteral<"delete_record">;
387
+ success: import("zod").ZodBoolean;
388
+ error: import("zod").ZodString;
389
+ }, "strip", import("zod").ZodTypeAny, {
390
+ success: boolean;
391
+ error: string;
392
+ operation: "delete_record";
393
+ }, {
394
+ success: boolean;
395
+ error: string;
396
+ operation: "delete_record";
397
+ }>, import("zod").ZodObject<{
398
+ operation: import("zod").ZodLiteral<"create_note">;
399
+ note: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
400
+ success: import("zod").ZodBoolean;
401
+ error: import("zod").ZodString;
402
+ }, "strip", import("zod").ZodTypeAny, {
403
+ success: boolean;
404
+ error: string;
405
+ operation: "create_note";
406
+ note?: Record<string, unknown> | undefined;
407
+ }, {
408
+ success: boolean;
409
+ error: string;
410
+ operation: "create_note";
411
+ note?: Record<string, unknown> | undefined;
412
+ }>, import("zod").ZodObject<{
413
+ operation: import("zod").ZodLiteral<"list_notes">;
414
+ notes: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
415
+ success: import("zod").ZodBoolean;
416
+ error: import("zod").ZodString;
417
+ }, "strip", import("zod").ZodTypeAny, {
418
+ success: boolean;
419
+ error: string;
420
+ operation: "list_notes";
421
+ notes?: Record<string, unknown>[] | undefined;
422
+ }, {
423
+ success: boolean;
424
+ error: string;
425
+ operation: "list_notes";
426
+ notes?: Record<string, unknown>[] | undefined;
427
+ }>, import("zod").ZodObject<{
428
+ operation: import("zod").ZodLiteral<"create_task">;
429
+ task: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
430
+ success: import("zod").ZodBoolean;
431
+ error: import("zod").ZodString;
432
+ }, "strip", import("zod").ZodTypeAny, {
433
+ success: boolean;
434
+ error: string;
435
+ operation: "create_task";
436
+ task?: Record<string, unknown> | undefined;
437
+ }, {
438
+ success: boolean;
439
+ error: string;
440
+ operation: "create_task";
441
+ task?: Record<string, unknown> | undefined;
442
+ }>, import("zod").ZodObject<{
443
+ operation: import("zod").ZodLiteral<"list_tasks">;
444
+ tasks: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
445
+ success: import("zod").ZodBoolean;
446
+ error: import("zod").ZodString;
447
+ }, "strip", import("zod").ZodTypeAny, {
448
+ success: boolean;
449
+ error: string;
450
+ operation: "list_tasks";
451
+ tasks?: Record<string, unknown>[] | undefined;
452
+ }, {
453
+ success: boolean;
454
+ error: string;
455
+ operation: "list_tasks";
456
+ tasks?: Record<string, unknown>[] | undefined;
457
+ }>, import("zod").ZodObject<{
458
+ operation: import("zod").ZodLiteral<"update_task">;
459
+ task: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
460
+ success: import("zod").ZodBoolean;
461
+ error: import("zod").ZodString;
462
+ }, "strip", import("zod").ZodTypeAny, {
463
+ success: boolean;
464
+ error: string;
465
+ operation: "update_task";
466
+ task?: Record<string, unknown> | undefined;
467
+ }, {
468
+ success: boolean;
469
+ error: string;
470
+ operation: "update_task";
471
+ task?: Record<string, unknown> | undefined;
472
+ }>, import("zod").ZodObject<{
473
+ operation: import("zod").ZodLiteral<"delete_task">;
474
+ success: import("zod").ZodBoolean;
475
+ error: import("zod").ZodString;
476
+ }, "strip", import("zod").ZodTypeAny, {
477
+ success: boolean;
478
+ error: string;
479
+ operation: "delete_task";
480
+ }, {
481
+ success: boolean;
482
+ error: string;
483
+ operation: "delete_task";
484
+ }>, import("zod").ZodObject<{
485
+ operation: import("zod").ZodLiteral<"list_lists">;
486
+ lists: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
487
+ success: import("zod").ZodBoolean;
488
+ error: import("zod").ZodString;
489
+ }, "strip", import("zod").ZodTypeAny, {
490
+ success: boolean;
491
+ error: string;
492
+ operation: "list_lists";
493
+ lists?: Record<string, unknown>[] | undefined;
494
+ }, {
495
+ success: boolean;
496
+ error: string;
497
+ operation: "list_lists";
498
+ lists?: Record<string, unknown>[] | undefined;
499
+ }>, import("zod").ZodObject<{
500
+ operation: import("zod").ZodLiteral<"create_entry">;
501
+ entry: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
502
+ success: import("zod").ZodBoolean;
503
+ error: import("zod").ZodString;
504
+ }, "strip", import("zod").ZodTypeAny, {
505
+ success: boolean;
506
+ error: string;
507
+ operation: "create_entry";
508
+ entry?: Record<string, unknown> | undefined;
509
+ }, {
510
+ success: boolean;
511
+ error: string;
512
+ operation: "create_entry";
513
+ entry?: Record<string, unknown> | undefined;
514
+ }>, import("zod").ZodObject<{
515
+ operation: import("zod").ZodLiteral<"list_entries">;
516
+ entries: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
517
+ next_page_offset: import("zod").ZodOptional<import("zod").ZodNumber>;
518
+ success: import("zod").ZodBoolean;
519
+ error: import("zod").ZodString;
520
+ }, "strip", import("zod").ZodTypeAny, {
521
+ success: boolean;
522
+ error: string;
523
+ operation: "list_entries";
524
+ entries?: Record<string, unknown>[] | undefined;
525
+ next_page_offset?: number | undefined;
526
+ }, {
527
+ success: boolean;
528
+ error: string;
529
+ operation: "list_entries";
530
+ entries?: Record<string, unknown>[] | undefined;
531
+ next_page_offset?: number | undefined;
532
+ }>]>;
533
+ static readonly shortDescription = "Attio CRM integration for managing records, notes, tasks, and lists";
534
+ static readonly longDescription = "\n Integrate with Attio CRM to manage your customer relationships.\n Supported operations:\n - Records: List, get, create, update, and delete records for any object type (people, companies, deals, custom objects)\n - Notes: Create and list notes linked to records\n - Tasks: Create, list, update, and delete CRM tasks with deadlines and assignees\n - Lists & Entries: Manage pipeline lists and add/query entries\n Authentication: OAuth2 with Bearer token\n ";
535
+ static readonly alias = "attio";
536
+ constructor(params?: T, context?: BubbleContext);
537
+ protected chooseCredential(): string | undefined;
538
+ private makeAttioRequest;
539
+ testCredential(): Promise<boolean>;
540
+ protected performAction(context?: BubbleContext): Promise<Extract<AttioResult, {
541
+ operation: T['operation'];
542
+ }>>;
543
+ private listRecords;
544
+ private getRecord;
545
+ /**
546
+ * Auto-fill `full_name` on personal-name values when only first/last are provided.
547
+ * Attio rejects name values without `full_name`.
548
+ */
549
+ private normalizeValues;
550
+ private createRecord;
551
+ private updateRecord;
552
+ private deleteRecord;
553
+ private createNote;
554
+ private listNotes;
555
+ private createTask;
556
+ private listTasks;
557
+ private updateTask;
558
+ private deleteTask;
559
+ private listLists;
560
+ private createEntry;
561
+ private listEntries;
562
+ }
563
+ //# sourceMappingURL=attio.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attio.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/attio/attio.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,MAAM,wCAAwC,CAAC;AACvE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,0BAA0B,CAAC;AAC9D,OAAO,EAIL,KAAK,gBAAgB,EACrB,KAAK,WAAW,EACjB,MAAM,mBAAmB,CAAC;AAI3B,qBAAa,WAAW,CACtB,CAAC,SAAS,gBAAgB,GAAG,gBAAgB,CAC7C,SAAQ,aAAa,CACrB,CAAC,EACD,OAAO,CAAC,WAAW,EAAE;IAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;CAAE,CAAC,CACpD;IACC,MAAM,CAAC,QAAQ,CAAC,OAAO,WAAW;IAClC,MAAM,CAAC,QAAQ,CAAC,QAAQ,EAAG,OAAO,CAAU;IAC5C,MAAM,CAAC,QAAQ,CAAC,UAAU,EAAG,OAAO,CAAU;IAC9C,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAG,SAAS,CAAU;IAC1C,MAAM,CAAC,QAAQ,CAAC,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAqB;IAC3C,MAAM,CAAC,QAAQ,CAAC,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;SAAqB;IACjD,MAAM,CAAC,QAAQ,CAAC,gBAAgB,yEACwC;IACxE,MAAM,CAAC,QAAQ,CAAC,eAAe,qeAQ7B;IACF,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAW;gBAG9B,MAAM,GAAE,CAGF,EACN,OAAO,CAAC,EAAE,aAAa;IAKzB,SAAS,CAAC,gBAAgB,IAAI,MAAM,GAAG,SAAS;YASlC,gBAAgB;IA6DjB,cAAc,IAAI,OAAO,CAAC,OAAO,CAAC;cAoB/B,aAAa,CAC3B,OAAO,CAAC,EAAE,aAAa,GACtB,OAAO,CAAC,OAAO,CAAC,WAAW,EAAE;QAAE,SAAS,EAAE,CAAC,CAAC,WAAW,CAAC,CAAA;KAAE,CAAC,CAAC;YA8EjD,WAAW;YAmCX,SAAS;IA0BvB;;;OAGG;IACH,OAAO,CAAC,eAAe;YAeT,YAAY;YAyCZ,YAAY;YA8BZ,YAAY;YAiBZ,UAAU;YAmCV,SAAS;YAgCT,UAAU;YAoCV,SAAS;YA2BT,UAAU;YAqCV,UAAU;YAiBV,SAAS;YA2BT,WAAW;YAoCX,WAAW;CA+B1B"}