@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.
Files changed (131) hide show
  1. package/dist/bubble-bundle.d.ts +235 -157
  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/agi-inc.d.ts +88 -88
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  7. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  8. package/dist/bubbles/service-bubble/airtable.d.ts +108 -108
  9. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  10. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
  11. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
  12. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
  15. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
  16. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
  17. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
  18. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
  20. package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
  21. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +28 -28
  22. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
  23. package/dist/bubbles/service-bubble/attio/attio.d.ts +563 -0
  24. package/dist/bubbles/service-bubble/attio/attio.d.ts.map +1 -0
  25. package/dist/bubbles/service-bubble/attio/attio.js +484 -0
  26. package/dist/bubbles/service-bubble/attio/attio.js.map +1 -0
  27. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +527 -0
  28. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts.map +1 -0
  29. package/dist/bubbles/service-bubble/attio/attio.schema.js +386 -0
  30. package/dist/bubbles/service-bubble/attio/attio.schema.js.map +1 -0
  31. package/dist/bubbles/service-bubble/attio/attio.utils.d.ts +1 -0
  32. package/dist/bubbles/service-bubble/attio/attio.utils.d.ts.map +1 -0
  33. package/dist/bubbles/service-bubble/attio/attio.utils.js +4 -0
  34. package/dist/bubbles/service-bubble/attio/attio.utils.js.map +1 -0
  35. package/dist/bubbles/service-bubble/attio/index.d.ts +3 -0
  36. package/dist/bubbles/service-bubble/attio/index.d.ts.map +1 -0
  37. package/dist/bubbles/service-bubble/attio/index.js +3 -0
  38. package/dist/bubbles/service-bubble/attio/index.js.map +1 -0
  39. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  40. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
  41. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  42. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  43. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +56 -56
  44. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  45. package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
  46. package/dist/bubbles/service-bubble/firecrawl.d.ts +982 -982
  47. package/dist/bubbles/service-bubble/followupboss.d.ts +192 -192
  48. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +72 -72
  49. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  50. package/dist/bubbles/service-bubble/github.d.ts +174 -174
  51. package/dist/bubbles/service-bubble/gmail.d.ts +533 -533
  52. package/dist/bubbles/service-bubble/google-calendar.d.ts +134 -134
  53. package/dist/bubbles/service-bubble/google-drive.d.ts +66 -66
  54. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  55. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  56. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  57. package/dist/bubbles/service-bubble/http.d.ts +16 -16
  58. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +388 -0
  59. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -0
  60. package/dist/bubbles/service-bubble/hubspot/hubspot.js +241 -0
  61. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -0
  62. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +345 -0
  63. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -0
  64. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +180 -0
  65. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -0
  66. package/dist/bubbles/service-bubble/hubspot/index.d.ts +3 -0
  67. package/dist/bubbles/service-bubble/hubspot/index.d.ts.map +1 -0
  68. package/dist/bubbles/service-bubble/hubspot/index.js +3 -0
  69. package/dist/bubbles/service-bubble/hubspot/index.js.map +1 -0
  70. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  71. package/dist/bubbles/service-bubble/jira/jira.d.ts +47 -47
  72. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
  73. package/dist/bubbles/service-bubble/linear/linear.d.ts +39 -39
  74. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  75. package/dist/bubbles/service-bubble/notion/notion.d.ts +1577 -1577
  76. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  77. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  78. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +23 -23
  79. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
  80. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  81. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +8 -8
  82. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  83. package/dist/bubbles/service-bubble/slack/slack.d.ts +412 -412
  84. package/dist/bubbles/service-bubble/slack/slack.utils.d.ts.map +1 -1
  85. package/dist/bubbles/service-bubble/slack/slack.utils.js +2 -1
  86. package/dist/bubbles/service-bubble/slack/slack.utils.js.map +1 -1
  87. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  88. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +126 -126
  89. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
  90. package/dist/bubbles/service-bubble/telegram.d.ts +1889 -1889
  91. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
  92. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
  93. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  94. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  95. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  96. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  97. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  98. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  99. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  100. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  101. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  102. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  103. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
  104. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +54 -54
  105. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
  106. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  107. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +190 -190
  108. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +48 -48
  109. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
  110. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +2 -2
  111. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +32 -32
  112. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
  113. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +14 -14
  114. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  115. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +10 -10
  116. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
  117. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +24 -24
  118. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  119. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +74 -74
  120. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +8 -8
  121. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
  122. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +84 -84
  123. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  124. package/dist/bubbles.json +1598 -2
  125. package/dist/index.d.ts +4 -0
  126. package/dist/index.d.ts.map +1 -1
  127. package/dist/index.js +2 -0
  128. package/dist/index.js.map +1 -1
  129. package/dist/utils/agent-formatter.d.ts.map +1 -1
  130. package/dist/utils/agent-formatter.js.map +1 -1
  131. 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
+ attribute: string;
22
+ direction: "asc" | "desc";
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
+ sorts?: {
36
+ attribute: string;
37
+ direction: "asc" | "desc";
38
+ }[] | undefined;
39
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
40
+ }, {
41
+ object: string;
42
+ operation: "list_records";
43
+ filter?: Record<string, unknown> | undefined;
44
+ limit?: number | undefined;
45
+ offset?: number | undefined;
46
+ sorts?: {
47
+ attribute: string;
48
+ direction?: "asc" | "desc" | undefined;
49
+ }[] | undefined;
50
+ credentials?: Partial<Record<CredentialType, string>> | 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
+ operation: "create_record";
75
+ values: Record<string, unknown>;
76
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
77
+ matching_attribute?: string | undefined;
78
+ }, {
79
+ object: string;
80
+ operation: "create_record";
81
+ values: Record<string, unknown>;
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
+ operation: "update_record";
93
+ values: Record<string, unknown>;
94
+ record_id: string;
95
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
96
+ }, {
97
+ object: string;
98
+ operation: "update_record";
99
+ values: Record<string, unknown>;
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
+ operation: "create_note";
127
+ format: "plaintext";
128
+ title: string;
129
+ content: string;
130
+ parent_object: string;
131
+ parent_record_id: string;
132
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
133
+ }, {
134
+ operation: "create_note";
135
+ title: string;
136
+ content: string;
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
+ limit?: number | undefined;
158
+ offset?: number | undefined;
159
+ credentials?: Partial<Record<CredentialType, string>> | 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
+ operation: "create_task";
190
+ content: string;
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
+ operation: "create_task";
204
+ content: string;
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
+ limit?: number | undefined;
229
+ offset?: number | undefined;
230
+ credentials?: Partial<Record<CredentialType, string>> | 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
+ limit?: number | undefined;
277
+ offset?: number | undefined;
278
+ credentials?: Partial<Record<CredentialType, string>> | 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
+ parent_object: string;
289
+ parent_record_id: string;
290
+ list: string;
291
+ entry_values: Record<string, unknown>;
292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
293
+ }, {
294
+ operation: "create_entry";
295
+ parent_object: string;
296
+ parent_record_id: string;
297
+ list: 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
+ limit?: number | undefined;
319
+ offset?: number | undefined;
320
+ credentials?: Partial<Record<CredentialType, string>> | 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
+ operation: "list_records";
330
+ success: boolean;
331
+ error: string;
332
+ records?: Record<string, unknown>[] | undefined;
333
+ next_page_offset?: number | undefined;
334
+ }, {
335
+ operation: "list_records";
336
+ success: boolean;
337
+ error: string;
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
+ operation: "get_record";
347
+ success: boolean;
348
+ error: string;
349
+ record?: Record<string, unknown> | undefined;
350
+ }, {
351
+ operation: "get_record";
352
+ success: boolean;
353
+ error: string;
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
+ operation: "create_record";
362
+ success: boolean;
363
+ error: string;
364
+ record?: Record<string, unknown> | undefined;
365
+ }, {
366
+ operation: "create_record";
367
+ success: boolean;
368
+ error: string;
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
+ operation: "update_record";
377
+ success: boolean;
378
+ error: string;
379
+ record?: Record<string, unknown> | undefined;
380
+ }, {
381
+ operation: "update_record";
382
+ success: boolean;
383
+ error: string;
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
+ operation: "delete_record";
391
+ success: boolean;
392
+ error: string;
393
+ }, {
394
+ operation: "delete_record";
395
+ success: boolean;
396
+ error: string;
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
+ operation: "create_note";
404
+ success: boolean;
405
+ error: string;
406
+ note?: Record<string, unknown> | undefined;
407
+ }, {
408
+ operation: "create_note";
409
+ success: boolean;
410
+ error: string;
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
+ operation: "list_notes";
419
+ success: boolean;
420
+ error: string;
421
+ notes?: Record<string, unknown>[] | undefined;
422
+ }, {
423
+ operation: "list_notes";
424
+ success: boolean;
425
+ error: string;
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
+ operation: "create_task";
434
+ success: boolean;
435
+ error: string;
436
+ task?: Record<string, unknown> | undefined;
437
+ }, {
438
+ operation: "create_task";
439
+ success: boolean;
440
+ error: string;
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
+ operation: "list_tasks";
449
+ success: boolean;
450
+ error: string;
451
+ tasks?: Record<string, unknown>[] | undefined;
452
+ }, {
453
+ operation: "list_tasks";
454
+ success: boolean;
455
+ error: string;
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
+ operation: "update_task";
464
+ success: boolean;
465
+ error: string;
466
+ task?: Record<string, unknown> | undefined;
467
+ }, {
468
+ operation: "update_task";
469
+ success: boolean;
470
+ error: string;
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
+ operation: "delete_task";
478
+ success: boolean;
479
+ error: string;
480
+ }, {
481
+ operation: "delete_task";
482
+ success: boolean;
483
+ error: string;
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
+ operation: "list_lists";
491
+ success: boolean;
492
+ error: string;
493
+ lists?: Record<string, unknown>[] | undefined;
494
+ }, {
495
+ operation: "list_lists";
496
+ success: boolean;
497
+ error: string;
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
+ operation: "create_entry";
506
+ success: boolean;
507
+ error: string;
508
+ entry?: Record<string, unknown> | undefined;
509
+ }, {
510
+ operation: "create_entry";
511
+ success: boolean;
512
+ error: string;
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
+ operation: "list_entries";
522
+ success: boolean;
523
+ error: string;
524
+ entries?: Record<string, unknown>[] | undefined;
525
+ next_page_offset?: number | undefined;
526
+ }, {
527
+ operation: "list_entries";
528
+ success: boolean;
529
+ error: string;
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"}