@bubblelab/bubble-core 0.1.228 → 0.1.229

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 (123) hide show
  1. package/dist/bubble-bundle.d.ts +182 -182
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  4. package/dist/bubbles/service-bubble/airtable.d.ts +102 -102
  5. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
  6. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +6 -6
  7. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +20 -20
  8. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  9. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +90 -90
  10. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +70 -70
  11. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +16 -16
  12. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +37 -37
  13. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +16 -16
  14. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +243 -243
  15. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  16. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
  17. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
  18. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +42 -42
  19. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +42 -42
  20. package/dist/bubbles/service-bubble/attio/attio.d.ts +34 -34
  21. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +34 -34
  22. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +31 -31
  23. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +33 -33
  24. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
  25. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
  26. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
  27. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  28. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  29. package/dist/bubbles/service-bubble/firecrawl.d.ts +834 -834
  30. package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
  31. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
  32. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  33. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  34. package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
  35. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  36. package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
  37. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  38. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
  39. package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
  40. package/dist/bubbles/service-bubble/http.d.ts +18 -18
  41. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +686 -27
  42. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts.map +1 -1
  43. package/dist/bubbles/service-bubble/hubspot/hubspot.js +289 -61
  44. package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
  45. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +666 -8
  46. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js +370 -39
  48. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.js.map +1 -1
  49. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  50. package/dist/bubbles/service-bubble/jira/jira.d.ts +60 -60
  51. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +62 -62
  52. package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
  53. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
  54. package/dist/bubbles/service-bubble/notion/notion.d.ts +682 -682
  55. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  56. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  57. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +24 -24
  58. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
  59. package/dist/bubbles/service-bubble/ramp/ramp.d.ts +28 -28
  60. package/dist/bubbles/service-bubble/ramp/ramp.schema.d.ts +28 -28
  61. package/dist/bubbles/service-bubble/resend.d.ts +28 -28
  62. package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
  63. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
  64. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +10 -10
  65. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
  66. package/dist/bubbles/service-bubble/slab/slab.d.ts +38 -38
  67. package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +44 -44
  68. package/dist/bubbles/service-bubble/slack/slack.d.ts +556 -556
  69. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  70. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +157 -157
  71. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +183 -183
  72. package/dist/bubbles/service-bubble/telegram.d.ts +1540 -1540
  73. package/dist/bubbles/service-bubble/xero/xero.d.ts +30 -30
  74. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +30 -30
  75. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +93 -93
  76. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +93 -93
  77. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +19 -19
  78. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +21 -21
  79. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  80. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
  81. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
  82. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  83. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
  84. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  85. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
  86. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  87. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
  88. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
  89. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
  90. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  91. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
  92. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  93. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  94. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
  95. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  96. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +572 -572
  97. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  98. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  99. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  100. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +4 -4
  101. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +58 -58
  102. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +32 -32
  103. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  104. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  105. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +88 -88
  106. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  107. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +188 -188
  108. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
  109. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  110. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  111. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
  112. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +26 -26
  113. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  114. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  115. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +40 -40
  116. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
  117. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
  118. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  119. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
  120. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +104 -104
  121. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  122. package/dist/bubbles.json +1459 -166
  123. package/package.json +2 -2
@@ -1 +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,CAA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@@ -10,7 +10,7 @@ const objectTypeField = z
10
10
  .describe('HubSpot CRM object type to operate on (contacts, companies, deals, or tickets)');
11
11
  const propertiesField = z
12
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.');
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. NOTE: Tickets REQUIRE hs_pipeline_stage (and usually hs_pipeline) to be set on creation.');
14
14
  const propertiesListField = z
15
15
  .array(z.string())
16
16
  .optional()
@@ -19,6 +19,40 @@ const recordIdField = z
19
19
  .string()
20
20
  .min(1, 'Record ID is required')
21
21
  .describe('HubSpot record ID');
22
+ // Property definition fields
23
+ const propertyTypeField = z
24
+ .enum(['string', 'number', 'date', 'datetime', 'enumeration', 'bool'])
25
+ .describe('Property data type. "string" for text, "number" for numeric, "date" for date-only, "datetime" for date+time, "enumeration" for option sets, "bool" for yes/no.');
26
+ const propertyFieldTypeField = z
27
+ .enum([
28
+ 'text',
29
+ 'textarea',
30
+ 'number',
31
+ 'date',
32
+ 'file',
33
+ 'select',
34
+ 'radio',
35
+ 'checkbox',
36
+ 'booleancheckbox',
37
+ 'calculation_equation',
38
+ 'html',
39
+ 'phonenumber',
40
+ ])
41
+ .describe('How the property appears in HubSpot UI. Must be compatible with the property type.');
42
+ const PropertyOptionSchema = z.object({
43
+ label: z.string().describe('Display label for the option'),
44
+ value: z.string().describe('Internal value for the option'),
45
+ description: z.string().optional().describe('Description of the option'),
46
+ displayOrder: z.number().optional().describe('Display order (lower = first)'),
47
+ hidden: z
48
+ .boolean()
49
+ .optional()
50
+ .describe('Whether this option is hidden from forms'),
51
+ });
52
+ const propertyNameField = z
53
+ .string()
54
+ .min(1, 'Property name is required')
55
+ .describe('Internal property name (snake_case, e.g. "favorite_food")');
22
56
  // Filter schema for search operations
23
57
  const FilterSchema = z
24
58
  .object({
@@ -61,8 +95,15 @@ const FilterGroupSchema = z
61
95
  .describe('Filters within this group (combined with AND)'),
62
96
  })
63
97
  .describe('A group of filters combined with AND. Multiple groups are combined with OR.');
98
+ // Pipeline object types (only deals and tickets have pipelines)
99
+ const pipelineObjectTypeField = z
100
+ .enum(['deals', 'tickets'])
101
+ .describe('Object type that supports pipelines (deals or tickets)');
64
102
  // Parameter schema using discriminated union
65
103
  export const HubSpotParamsSchema = z.discriminatedUnion('operation', [
104
+ // =====================================================================
105
+ // Record CRUD
106
+ // =====================================================================
66
107
  // Create record
67
108
  z.object({
68
109
  operation: z.literal('create_record').describe('Create a new CRM record'),
@@ -90,6 +131,15 @@ export const HubSpotParamsSchema = z.discriminatedUnion('operation', [
90
131
  properties: propertiesField,
91
132
  credentials: credentialsField,
92
133
  }),
134
+ // Delete (archive) record
135
+ z.object({
136
+ operation: z
137
+ .literal('delete_record')
138
+ .describe('Archive (soft-delete) a CRM record'),
139
+ object_type: objectTypeField,
140
+ record_id: recordIdField,
141
+ credentials: credentialsField,
142
+ }),
93
143
  // Search records
94
144
  z.object({
95
145
  operation: z
@@ -114,6 +164,205 @@ export const HubSpotParamsSchema = z.discriminatedUnion('operation', [
114
164
  .describe('Pagination cursor for next page of results'),
115
165
  credentials: credentialsField,
116
166
  }),
167
+ // Batch create records
168
+ z.object({
169
+ operation: z
170
+ .literal('batch_create_records')
171
+ .describe('Create multiple CRM records in a single API call'),
172
+ object_type: objectTypeField,
173
+ records: z
174
+ .array(z.object({
175
+ properties: propertiesField,
176
+ }))
177
+ .min(1)
178
+ .max(100)
179
+ .describe('Array of records to create (max 100)'),
180
+ credentials: credentialsField,
181
+ }),
182
+ // Batch update records
183
+ z.object({
184
+ operation: z
185
+ .literal('batch_update_records')
186
+ .describe('Update multiple CRM records in a single API call'),
187
+ object_type: objectTypeField,
188
+ records: z
189
+ .array(z.object({
190
+ id: z.string().describe('Record ID to update'),
191
+ properties: propertiesField,
192
+ }))
193
+ .min(1)
194
+ .max(100)
195
+ .describe('Array of records to update (max 100)'),
196
+ credentials: credentialsField,
197
+ }),
198
+ // Batch delete (archive) records
199
+ z.object({
200
+ operation: z
201
+ .literal('batch_delete_records')
202
+ .describe('Archive multiple CRM records in a single API call'),
203
+ object_type: objectTypeField,
204
+ record_ids: z
205
+ .array(z.string())
206
+ .min(1)
207
+ .max(100)
208
+ .describe('Array of record IDs to archive (max 100)'),
209
+ credentials: credentialsField,
210
+ }),
211
+ // =====================================================================
212
+ // Properties
213
+ // =====================================================================
214
+ // List properties
215
+ z.object({
216
+ operation: z
217
+ .literal('list_properties')
218
+ .describe('List all property definitions for a CRM object type'),
219
+ object_type: objectTypeField,
220
+ credentials: credentialsField,
221
+ }),
222
+ // Get property
223
+ z.object({
224
+ operation: z
225
+ .literal('get_property')
226
+ .describe('Retrieve a single property definition by name'),
227
+ object_type: objectTypeField,
228
+ property_name: propertyNameField,
229
+ credentials: credentialsField,
230
+ }),
231
+ // Create property
232
+ z.object({
233
+ operation: z
234
+ .literal('create_property')
235
+ .describe('Create a new custom property definition'),
236
+ object_type: objectTypeField,
237
+ name: propertyNameField,
238
+ label: z.string().describe('Display label (e.g. "Favorite Food")'),
239
+ type: propertyTypeField,
240
+ fieldType: propertyFieldTypeField,
241
+ groupName: z
242
+ .string()
243
+ .describe('Property group name (e.g. "contactinformation", "dealinformation")'),
244
+ description: z.string().optional().describe('Description of the property'),
245
+ hasUniqueValue: z
246
+ .boolean()
247
+ .optional()
248
+ .describe('Whether this property must have unique values across records'),
249
+ options: z
250
+ .array(PropertyOptionSchema)
251
+ .optional()
252
+ .describe('Options for enumeration-type properties (select, radio, checkbox)'),
253
+ calculationFormula: z
254
+ .string()
255
+ .optional()
256
+ .describe('Formula for calculation_equation fieldType properties'),
257
+ credentials: credentialsField,
258
+ }),
259
+ // Update property
260
+ z.object({
261
+ operation: z
262
+ .literal('update_property')
263
+ .describe('Update an existing property definition'),
264
+ object_type: objectTypeField,
265
+ property_name: propertyNameField,
266
+ label: z.string().optional().describe('New display label'),
267
+ description: z.string().optional().describe('New description'),
268
+ groupName: z.string().optional().describe('New property group name'),
269
+ type: propertyTypeField.optional(),
270
+ fieldType: propertyFieldTypeField.optional(),
271
+ options: z
272
+ .array(PropertyOptionSchema)
273
+ .optional()
274
+ .describe('Updated options for enumeration-type properties'),
275
+ credentials: credentialsField,
276
+ }),
277
+ // Delete property
278
+ z.object({
279
+ operation: z
280
+ .literal('delete_property')
281
+ .describe('Delete a custom property definition (cannot delete default properties)'),
282
+ object_type: objectTypeField,
283
+ property_name: propertyNameField,
284
+ credentials: credentialsField,
285
+ }),
286
+ // =====================================================================
287
+ // Associations
288
+ // =====================================================================
289
+ // List associations
290
+ z.object({
291
+ operation: z
292
+ .literal('list_associations')
293
+ .describe('List all records associated with a given record'),
294
+ from_object_type: objectTypeField.describe('Source object type'),
295
+ from_record_id: recordIdField.describe('Source record ID'),
296
+ to_object_type: objectTypeField.describe('Target object type to list associations for'),
297
+ credentials: credentialsField,
298
+ }),
299
+ // Create association
300
+ z.object({
301
+ operation: z
302
+ .literal('create_association')
303
+ .describe('Create a default association (link) between two CRM records'),
304
+ from_object_type: objectTypeField.describe('Source object type'),
305
+ from_record_id: z.string().describe('Source record ID'),
306
+ to_object_type: objectTypeField.describe('Target object type'),
307
+ to_record_id: z.string().describe('Target record ID'),
308
+ credentials: credentialsField,
309
+ }),
310
+ // Remove association
311
+ z.object({
312
+ operation: z
313
+ .literal('remove_association')
314
+ .describe('Remove all associations between two specific records'),
315
+ from_object_type: objectTypeField.describe('Source object type'),
316
+ from_record_id: z.string().describe('Source record ID'),
317
+ to_object_type: objectTypeField.describe('Target object type'),
318
+ to_record_id: z.string().describe('Target record ID'),
319
+ credentials: credentialsField,
320
+ }),
321
+ // =====================================================================
322
+ // Pipelines
323
+ // =====================================================================
324
+ // List pipelines
325
+ z.object({
326
+ operation: z
327
+ .literal('list_pipelines')
328
+ .describe('List all pipelines and their stages for deals or tickets'),
329
+ object_type: pipelineObjectTypeField,
330
+ credentials: credentialsField,
331
+ }),
332
+ // =====================================================================
333
+ // Notes (Engagements)
334
+ // =====================================================================
335
+ // Create note
336
+ z.object({
337
+ operation: z
338
+ .literal('create_note')
339
+ .describe('Create a note and associate it with CRM records'),
340
+ note_body: z.string().describe('Note content (supports HTML formatting)'),
341
+ associations: z
342
+ .array(z.object({
343
+ object_type: objectTypeField,
344
+ record_id: z
345
+ .string()
346
+ .describe('Record ID to associate the note with'),
347
+ }))
348
+ .min(1)
349
+ .describe('Records to associate the note with'),
350
+ timestamp: z
351
+ .string()
352
+ .optional()
353
+ .describe('ISO 8601 timestamp for the note (defaults to current time)'),
354
+ credentials: credentialsField,
355
+ }),
356
+ // =====================================================================
357
+ // Account
358
+ // =====================================================================
359
+ // Get account info
360
+ z.object({
361
+ operation: z
362
+ .literal('get_account_info')
363
+ .describe('Retrieve HubSpot account details including portal ID, timezone, and currency'),
364
+ credentials: credentialsField,
365
+ }),
117
366
  ]);
118
367
  // HubSpot record schema for response data
119
368
  const HubSpotRecordSchema = z
@@ -125,56 +374,138 @@ const HubSpotRecordSchema = z
125
374
  archived: z.boolean().optional().describe('Whether the record is archived'),
126
375
  })
127
376
  .describe('A HubSpot CRM record');
377
+ // Generic JSON result field
378
+ const jsonDataField = z.record(z.string(), z.unknown()).optional();
379
+ const jsonArrayField = z.array(z.record(z.string(), z.unknown())).optional();
128
380
  // Result schema
129
381
  export const HubSpotResultSchema = z.discriminatedUnion('operation', [
130
- // Create result
382
+ // Record CRUD results
131
383
  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'),
384
+ operation: z.literal('create_record'),
385
+ success: z.boolean(),
386
+ record: HubSpotRecordSchema.optional(),
387
+ error: z.string(),
136
388
  }),
137
- // Get result
138
389
  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'),
390
+ operation: z.literal('get_record'),
391
+ success: z.boolean(),
392
+ record: HubSpotRecordSchema.optional(),
393
+ error: z.string(),
145
394
  }),
146
- // Update result
147
395
  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'),
396
+ operation: z.literal('update_record'),
397
+ success: z.boolean(),
398
+ record: HubSpotRecordSchema.optional(),
399
+ error: z.string(),
154
400
  }),
155
- // Search result
156
401
  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'),
402
+ operation: z.literal('delete_record'),
403
+ success: z.boolean(),
404
+ error: z.string(),
405
+ }),
406
+ z.object({
407
+ operation: z.literal('search_records'),
408
+ success: z.boolean(),
409
+ results: z.array(HubSpotRecordSchema).optional(),
410
+ total: z.number().optional(),
166
411
  paging: z
167
412
  .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'),
413
+ next: z.object({ after: z.string() }).optional(),
174
414
  })
175
- .optional()
176
- .describe('Pagination information'),
177
- error: z.string().describe('Error message if operation failed'),
415
+ .optional(),
416
+ error: z.string(),
417
+ }),
418
+ z.object({
419
+ operation: z.literal('batch_create_records'),
420
+ success: z.boolean(),
421
+ results: z.array(HubSpotRecordSchema).optional(),
422
+ error: z.string(),
423
+ }),
424
+ z.object({
425
+ operation: z.literal('batch_update_records'),
426
+ success: z.boolean(),
427
+ results: z.array(HubSpotRecordSchema).optional(),
428
+ error: z.string(),
429
+ }),
430
+ z.object({
431
+ operation: z.literal('batch_delete_records'),
432
+ success: z.boolean(),
433
+ error: z.string(),
434
+ }),
435
+ // Property results
436
+ z.object({
437
+ operation: z.literal('list_properties'),
438
+ success: z.boolean(),
439
+ properties: jsonArrayField,
440
+ error: z.string(),
441
+ }),
442
+ z.object({
443
+ operation: z.literal('get_property'),
444
+ success: z.boolean(),
445
+ property: jsonDataField,
446
+ error: z.string(),
447
+ }),
448
+ z.object({
449
+ operation: z.literal('create_property'),
450
+ success: z.boolean(),
451
+ property: jsonDataField,
452
+ error: z.string(),
453
+ }),
454
+ z.object({
455
+ operation: z.literal('update_property'),
456
+ success: z.boolean(),
457
+ property: jsonDataField,
458
+ error: z.string(),
459
+ }),
460
+ z.object({
461
+ operation: z.literal('delete_property'),
462
+ success: z.boolean(),
463
+ error: z.string(),
464
+ }),
465
+ // Association results
466
+ z.object({
467
+ operation: z.literal('list_associations'),
468
+ success: z.boolean(),
469
+ associations: jsonArrayField,
470
+ error: z.string(),
471
+ }),
472
+ z.object({
473
+ operation: z.literal('create_association'),
474
+ success: z.boolean(),
475
+ error: z.string(),
476
+ }),
477
+ z.object({
478
+ operation: z.literal('remove_association'),
479
+ success: z.boolean(),
480
+ error: z.string(),
481
+ }),
482
+ // Pipeline results
483
+ z.object({
484
+ operation: z.literal('list_pipelines'),
485
+ success: z.boolean(),
486
+ pipelines: jsonArrayField,
487
+ error: z.string(),
488
+ }),
489
+ // Note results
490
+ z.object({
491
+ operation: z.literal('create_note'),
492
+ success: z.boolean(),
493
+ note: z
494
+ .object({
495
+ id: z.string().describe('Note ID'),
496
+ properties: z
497
+ .record(z.string(), z.unknown())
498
+ .describe('Note properties including hs_note_body, hs_timestamp'),
499
+ })
500
+ .optional(),
501
+ error: z.string(),
502
+ }),
503
+ // Account results
504
+ z.object({
505
+ operation: z.literal('get_account_info'),
506
+ success: z.boolean(),
507
+ account: jsonDataField,
508
+ error: z.string(),
178
509
  }),
179
510
  ]);
180
511
  //# sourceMappingURL=hubspot.schema.js.map
@@ -1 +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,CAAC;I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AAS,EAAE,CAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;QACxC,OAAO,EAAE,CAAC,CAAC,OAAO,EAAE;QACpB,OAAO,EAAE,aAAa;QACtB,KAAK,EAAE,CAAC,CAAC,MAAM,EAAE;KAClB,CAAC;CACH,CAAC,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
- query: string;
15
- allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[];
16
14
  parameters: unknown[];
17
15
  timeout: number;
16
+ query: string;
17
+ allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[];
18
18
  maxRows: number;
19
19
  credentials?: Partial<Record<CredentialType, string>> | undefined;
20
20
  }, {
21
21
  query: string;
22
- credentials?: Partial<Record<CredentialType, string>> | undefined;
23
- allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
24
22
  parameters?: unknown[] | undefined;
23
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
25
24
  timeout?: number | undefined;
25
+ allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
26
26
  maxRows?: number | undefined;
27
27
  }>;
28
28
  type InsForgeDbParamsInput = z.input<typeof InsForgeDbParamsSchema>;
@@ -36,20 +36,20 @@ declare const InsForgeDbResultSchema: z.ZodObject<{
36
36
  error: z.ZodString;
37
37
  cleanedJSONString: z.ZodString;
38
38
  }, "strip", z.ZodTypeAny, {
39
- success: boolean;
39
+ executionTime: number;
40
40
  error: string;
41
+ success: boolean;
41
42
  rows: Record<string, unknown>[];
42
43
  rowCount: number | null;
43
44
  command: string;
44
- executionTime: number;
45
45
  cleanedJSONString: string;
46
46
  }, {
47
- success: boolean;
47
+ executionTime: number;
48
48
  error: string;
49
+ success: boolean;
49
50
  rows: Record<string, unknown>[];
50
51
  rowCount: number | null;
51
52
  command: string;
52
- executionTime: number;
53
53
  cleanedJSONString: string;
54
54
  }>;
55
55
  type InsForgeDbResult = z.output<typeof InsForgeDbResultSchema>;
@@ -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
- query: string;
89
- allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[];
90
88
  parameters: unknown[];
91
89
  timeout: number;
90
+ query: string;
91
+ allowedOperations: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[];
92
92
  maxRows: number;
93
93
  credentials?: Partial<Record<CredentialType, string>> | undefined;
94
94
  }, {
95
95
  query: string;
96
- credentials?: Partial<Record<CredentialType, string>> | undefined;
97
- allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
98
96
  parameters?: unknown[] | undefined;
97
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
99
98
  timeout?: number | undefined;
99
+ allowedOperations?: ("SELECT" | "INSERT" | "UPDATE" | "DELETE" | "WITH" | "EXPLAIN" | "CREATE")[] | undefined;
100
100
  maxRows?: number | undefined;
101
101
  }>;
102
102
  static readonly resultSchema: z.ZodObject<{
@@ -108,20 +108,20 @@ export declare class InsForgeDbBubble extends ServiceBubble<InsForgeDbParams, In
108
108
  error: z.ZodString;
109
109
  cleanedJSONString: z.ZodString;
110
110
  }, "strip", z.ZodTypeAny, {
111
- success: boolean;
111
+ executionTime: number;
112
112
  error: string;
113
+ success: boolean;
113
114
  rows: Record<string, unknown>[];
114
115
  rowCount: number | null;
115
116
  command: string;
116
- executionTime: number;
117
117
  cleanedJSONString: string;
118
118
  }, {
119
- success: boolean;
119
+ executionTime: number;
120
120
  error: string;
121
+ success: boolean;
121
122
  rows: Record<string, unknown>[];
122
123
  rowCount: number | null;
123
124
  command: string;
124
- executionTime: number;
125
125
  cleanedJSONString: string;
126
126
  }>;
127
127
  static readonly shortDescription = "InsForge is the backend built for AI-assisted development. Connect InsForge with any agent. Add authentication, database, storage, functions, and AI integrations to your app in seconds.";