@bubblelab/bubble-core 0.1.136 → 0.1.137
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +82 -82
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +88 -88
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +2 -2
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +10 -10
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/firecrawl.d.ts +334 -334
- package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
- package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
- package/dist/bubbles/service-bubble/google-drive.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +130 -30
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +48 -0
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +138 -36
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.js +50 -0
- package/dist/bubbles/service-bubble/jira/jira.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/resend.d.ts +4 -4
- package/dist/bubbles/service-bubble/slack/slack.d.ts +388 -388
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +317 -317
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +36 -36
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +26 -26
- package/dist/bubbles.json +123 -2
- package/package.json +2 -2
- package/dist/bubbles/service-bubble/salesforce/index.d.ts +0 -4
- package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/index.js +0 -4
- package/dist/bubbles/service-bubble/salesforce/index.js.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +0 -1331
- package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.js +0 -618
- package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +0 -1445
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +0 -609
- package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +0 -87
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +0 -1
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +0 -181
- package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +0 -1
package/dist/bubbles.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2026-02-
|
|
3
|
+
"generatedAt": "2026-02-10T00:46:48.389Z",
|
|
4
4
|
"totalCount": 61,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
@@ -54855,6 +54855,39 @@
|
|
|
54855
54855
|
],
|
|
54856
54856
|
"additionalProperties": false
|
|
54857
54857
|
},
|
|
54858
|
+
{
|
|
54859
|
+
"type": "object",
|
|
54860
|
+
"properties": {
|
|
54861
|
+
"operation": {
|
|
54862
|
+
"type": "string",
|
|
54863
|
+
"enum": [
|
|
54864
|
+
"get_create_fields"
|
|
54865
|
+
],
|
|
54866
|
+
"description": "Get required and optional fields for creating issues in a project, grouped by issue type"
|
|
54867
|
+
},
|
|
54868
|
+
"project": {
|
|
54869
|
+
"type": "string",
|
|
54870
|
+
"minLength": 1,
|
|
54871
|
+
"description": "Project key (e.g., \"PROJ\")"
|
|
54872
|
+
},
|
|
54873
|
+
"issue_type": {
|
|
54874
|
+
"type": "string",
|
|
54875
|
+
"description": "Filter by issue type name (e.g., \"Bug\", \"Task\"). If omitted, returns fields for all issue types"
|
|
54876
|
+
},
|
|
54877
|
+
"credentials": {
|
|
54878
|
+
"type": "object",
|
|
54879
|
+
"additionalProperties": {
|
|
54880
|
+
"type": "string"
|
|
54881
|
+
},
|
|
54882
|
+
"description": "Credentials (injected at runtime)"
|
|
54883
|
+
}
|
|
54884
|
+
},
|
|
54885
|
+
"required": [
|
|
54886
|
+
"operation",
|
|
54887
|
+
"project"
|
|
54888
|
+
],
|
|
54889
|
+
"additionalProperties": false
|
|
54890
|
+
},
|
|
54858
54891
|
{
|
|
54859
54892
|
"type": "object",
|
|
54860
54893
|
"properties": {
|
|
@@ -56053,6 +56086,94 @@
|
|
|
56053
56086
|
],
|
|
56054
56087
|
"additionalProperties": false
|
|
56055
56088
|
},
|
|
56089
|
+
{
|
|
56090
|
+
"type": "object",
|
|
56091
|
+
"properties": {
|
|
56092
|
+
"operation": {
|
|
56093
|
+
"type": "string",
|
|
56094
|
+
"enum": [
|
|
56095
|
+
"get_create_fields"
|
|
56096
|
+
]
|
|
56097
|
+
},
|
|
56098
|
+
"success": {
|
|
56099
|
+
"type": "boolean",
|
|
56100
|
+
"description": "Whether the operation was successful"
|
|
56101
|
+
},
|
|
56102
|
+
"issue_types": {
|
|
56103
|
+
"type": "array",
|
|
56104
|
+
"items": {
|
|
56105
|
+
"type": "object",
|
|
56106
|
+
"properties": {
|
|
56107
|
+
"id": {
|
|
56108
|
+
"type": "string",
|
|
56109
|
+
"description": "Issue type ID"
|
|
56110
|
+
},
|
|
56111
|
+
"name": {
|
|
56112
|
+
"type": "string",
|
|
56113
|
+
"description": "Issue type name"
|
|
56114
|
+
},
|
|
56115
|
+
"fields": {
|
|
56116
|
+
"type": "array",
|
|
56117
|
+
"items": {
|
|
56118
|
+
"type": "object",
|
|
56119
|
+
"properties": {
|
|
56120
|
+
"fieldId": {
|
|
56121
|
+
"type": "string",
|
|
56122
|
+
"description": "Field ID (e.g., \"summary\", \"customfield_10319\")"
|
|
56123
|
+
},
|
|
56124
|
+
"name": {
|
|
56125
|
+
"type": "string",
|
|
56126
|
+
"description": "Human-readable field name"
|
|
56127
|
+
},
|
|
56128
|
+
"required": {
|
|
56129
|
+
"type": "boolean",
|
|
56130
|
+
"description": "Whether the field is required"
|
|
56131
|
+
},
|
|
56132
|
+
"isCustom": {
|
|
56133
|
+
"type": "boolean",
|
|
56134
|
+
"description": "Whether this is a custom field"
|
|
56135
|
+
},
|
|
56136
|
+
"schema": {
|
|
56137
|
+
"description": "Field type schema from Jira"
|
|
56138
|
+
},
|
|
56139
|
+
"allowedValues": {
|
|
56140
|
+
"type": "array",
|
|
56141
|
+
"items": {},
|
|
56142
|
+
"description": "Allowed values for the field, if constrained"
|
|
56143
|
+
}
|
|
56144
|
+
},
|
|
56145
|
+
"required": [
|
|
56146
|
+
"fieldId",
|
|
56147
|
+
"name",
|
|
56148
|
+
"required",
|
|
56149
|
+
"isCustom"
|
|
56150
|
+
],
|
|
56151
|
+
"additionalProperties": false
|
|
56152
|
+
},
|
|
56153
|
+
"description": "Fields available for this issue type"
|
|
56154
|
+
}
|
|
56155
|
+
},
|
|
56156
|
+
"required": [
|
|
56157
|
+
"id",
|
|
56158
|
+
"name",
|
|
56159
|
+
"fields"
|
|
56160
|
+
],
|
|
56161
|
+
"additionalProperties": false
|
|
56162
|
+
},
|
|
56163
|
+
"description": "Issue types with their fields"
|
|
56164
|
+
},
|
|
56165
|
+
"error": {
|
|
56166
|
+
"type": "string",
|
|
56167
|
+
"description": "Error message if operation failed"
|
|
56168
|
+
}
|
|
56169
|
+
},
|
|
56170
|
+
"required": [
|
|
56171
|
+
"operation",
|
|
56172
|
+
"success",
|
|
56173
|
+
"error"
|
|
56174
|
+
],
|
|
56175
|
+
"additionalProperties": false
|
|
56176
|
+
},
|
|
56056
56177
|
{
|
|
56057
56178
|
"type": "object",
|
|
56058
56179
|
"properties": {
|
|
@@ -56227,7 +56348,7 @@
|
|
|
56227
56348
|
}
|
|
56228
56349
|
]
|
|
56229
56350
|
},
|
|
56230
|
-
"usageExample": "// Search example\nconst jira_search = new JiraBubble({\n operation: \"search\", // Search for issues using JQL query\n jql: \"example string\", // JQL query string. Examples: \"project = PROJ\", \"assignee = currentUser()\", \"status = Open AND created >= -7d\"\n limit: 50 // default, // Maximum number of issues to return (1-100)\n offset: 0 // default, // Starting index for pagination\n fields: [\"example string\"], // Specific fields to return (e.g., [\"summary\", \"status\", \"assignee\"]). Default: all standard fields\n});\n\nconst result = await jira_search.action();\n// outputSchema for result.data when operation === 'search':\n// {\n// operation: \"search\",\n// success: boolean // Whether the operation was successful,\n// issues: { expand: string | undefined // Expanded fields, id: string | undefined // Issue ID, key: string | undefined // Issue key (e.g., \"PROJ-123\"), self: string | undefined // Issue API URL, fields: { summary: string | undefined // Issue title/summary, description: unknown | undefined // Issue description (ADF format), status: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Current status, priority: { id: string // Priority ID, name: string // Priority name } | null | undefined // Issue priority (null if not assigned), assignee: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Assigned user, reporter: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Reporter user (null if deleted or anonymized), issuetype: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type } | undefined // Issue type, project: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name } | undefined // Project, labels: string[] | undefined // Issue labels, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp, duedate: string | null | undefined // Due date (YYYY-MM-DD), parent: { id: string, key: string } | undefined // Parent issue (for subtasks), comment: { comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined, total: number | undefined } | undefined // Issue comments } | undefined // Issue fields, transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions, changelog: unknown | undefined // Issue changelog }[] | undefined // Found issues,\n// total: number | undefined // Total matching issues,\n// offset: number | undefined // Current offset,\n// limit: number | undefined // Requested limit,\n// error: string // Error message if operation failed\n// }\n\n\n// Get example\nconst jira_get = new JiraBubble({\n operation: \"get\", // Get details for a specific issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\") or issue ID\n fields: [\"example string\"], // Specific fields to return. Default: all fields\n expand: [\"changelog\" // options: \"changelog\", \"comments\", \"transitions\"], // Additional data to include\n});\n\nconst result = await jira_get.action();\n// outputSchema for result.data when operation === 'get':\n// {\n// operation: \"get\",\n// success: boolean // Whether the operation was successful,\n// issue: { expand: string | undefined // Expanded fields, id: string | undefined // Issue ID, key: string | undefined // Issue key (e.g., \"PROJ-123\"), self: string | undefined // Issue API URL, fields: { summary: string | undefined // Issue title/summary, description: unknown | undefined // Issue description (ADF format), status: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Current status, priority: { id: string // Priority ID, name: string // Priority name } | null | undefined // Issue priority (null if not assigned), assignee: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Assigned user, reporter: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Reporter user (null if deleted or anonymized), issuetype: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type } | undefined // Issue type, project: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name } | undefined // Project, labels: string[] | undefined // Issue labels, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp, duedate: string | null | undefined // Due date (YYYY-MM-DD), parent: { id: string, key: string } | undefined // Parent issue (for subtasks), comment: { comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined, total: number | undefined } | undefined // Issue comments } | undefined // Issue fields, transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions, changelog: unknown | undefined // Issue changelog } | undefined // Issue details,\n// error: string // Error message if operation failed\n// }\n\n\n// Create example\nconst jira_create = new JiraBubble({\n operation: \"create\", // Create a new issue in Jira\n project: \"example string\", // Project key (e.g., \"PROJ\")\n summary: \"example string\", // Issue title/summary (max 255 chars)\n type: \"Task\" // default, // Issue type: \"Task\", \"Bug\", \"Story\", \"Epic\", etc. Default: \"Task\"\n description: \"example string\", // Issue description (plain text - auto-converted to ADF)\n assignee: \"example string\", // Assignee account ID or email. Leave empty for unassigned\n priority: \"example string\", // Issue priority. Default: uses project default\n labels: [\"example string\"], // Labels to apply (e.g., [\"bug\", \"urgent\"])\n parent: \"example string\", // Parent issue key for subtasks (e.g., \"PROJ-100\")\n due_date: \"example string\", // Due date in YYYY-MM-DD format\n custom_fields: {}, // Custom field values as { fieldId: value } (e.g., { \"customfield_10319\": \"Hardware\" })\n});\n\nconst result = await jira_create.action();\n// outputSchema for result.data when operation === 'create':\n// {\n// operation: \"create\",\n// success: boolean // Whether the operation was successful,\n// issue: { id: string // Created issue ID, key: string // Created issue key, self: string | undefined // Issue API URL } | undefined // Created issue info,\n// error: string // Error message if operation failed\n// }\n\n\n// Update example\nconst jira_update = new JiraBubble({\n operation: \"update\", // Update an existing issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\") or issue ID\n summary: \"example string\", // New issue title\n description: \"example string\", // New description (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n assignee: \"example string\", // New assignee (account ID/email) or null to unassign\n priority: \"example string\", // New priority\n labels: { add: [\"example string\"] // Labels to add to the issue, remove: [\"example string\"] // Labels to remove from the issue, set: [\"example string\"] // Replace all labels with these (overrides add/remove) }, // Label modifications\n due_date: \"example string\", // New due date (YYYY-MM-DD) or null to clear\n comment: \"example string\", // Add a comment with this update (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n});\n\nconst result = await jira_update.action();\n// outputSchema for result.data when operation === 'update':\n// {\n// operation: \"update\",\n// success: boolean // Whether the operation was successful,\n// key: string | undefined // Updated issue key,\n// error: string // Error message if operation failed\n// }\n\n\n// Transition example\nconst jira_transition = new JiraBubble({\n operation: \"transition\", // Transition issue to a new status\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n status: \"example string\", // Target status NAME (e.g., \"In Progress\", \"Done\"). Finds matching transition automatically\n transition_id: \"example string\", // Specific transition ID (from list_transitions). Use when status name is ambiguous\n comment: \"example string\", // Comment to add with the transition (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n resolution: \"example string\", // Resolution when closing (e.g., \"Fixed\", \"Won't Fix\", \"Duplicate\")\n});\n\nconst result = await jira_transition.action();\n// outputSchema for result.data when operation === 'transition':\n// {\n// operation: \"transition\",\n// success: boolean // Whether the operation was successful,\n// key: string | undefined // Transitioned issue key,\n// new_status: string | undefined // New status name,\n// error: string // Error message if operation failed\n// }\n\n\n// List Transitions example\nconst jira_list_transitions = new JiraBubble({\n operation: \"list_transitions\", // Get available transitions for an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n});\n\nconst result = await jira_list_transitions.action();\n// outputSchema for result.data when operation === 'list_transitions':\n// {\n// operation: \"list_transitions\",\n// success: boolean // Whether the operation was successful,\n// transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions,\n// error: string // Error message if operation failed\n// }\n\n\n// List Projects example\nconst jira_list_projects = new JiraBubble({\n operation: \"list_projects\", // List available Jira projects\n limit: 50 // default, // Maximum number of projects to return\n offset: 0 // default, // Starting index for pagination\n});\n\nconst result = await jira_list_projects.action();\n// outputSchema for result.data when operation === 'list_projects':\n// {\n// operation: \"list_projects\",\n// success: boolean // Whether the operation was successful,\n// projects: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name }[] | undefined // Available projects,\n// total: number | undefined // Total projects,\n// error: string // Error message if operation failed\n// }\n\n\n// List Issue Types example\nconst jira_list_issue_types = new JiraBubble({\n operation: \"list_issue_types\", // List issue types for a project\n project: \"example string\", // Project key (e.g., \"PROJ\")\n});\n\nconst result = await jira_list_issue_types.action();\n// outputSchema for result.data when operation === 'list_issue_types':\n// {\n// operation: \"list_issue_types\",\n// success: boolean // Whether the operation was successful,\n// issue_types: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type }[] | undefined // Available issue types,\n// error: string // Error message if operation failed\n// }\n\n\n// Add Comment example\nconst jira_add_comment = new JiraBubble({\n operation: \"add_comment\", // Add a comment to an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n body: \"example string\", // Comment text (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n});\n\nconst result = await jira_add_comment.action();\n// outputSchema for result.data when operation === 'add_comment':\n// {\n// operation: \"add_comment\",\n// success: boolean // Whether the operation was successful,\n// comment: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp } | undefined // Created comment,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Comments example\nconst jira_get_comments = new JiraBubble({\n operation: \"get_comments\", // Get comments for an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n limit: 50 // default, // Maximum number of comments to return\n offset: 0 // default, // Starting index for pagination\n});\n\nconst result = await jira_get_comments.action();\n// outputSchema for result.data when operation === 'get_comments':\n// {\n// operation: \"get_comments\",\n// success: boolean // Whether the operation was successful,\n// comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined // Issue comments,\n// total: number | undefined // Total comments,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`jira failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
56351
|
+
"usageExample": "// Search example\nconst jira_search = new JiraBubble({\n operation: \"search\", // Search for issues using JQL query\n jql: \"example string\", // JQL query string. Examples: \"project = PROJ\", \"assignee = currentUser()\", \"status = Open AND created >= -7d\"\n limit: 50 // default, // Maximum number of issues to return (1-100)\n offset: 0 // default, // Starting index for pagination\n fields: [\"example string\"], // Specific fields to return (e.g., [\"summary\", \"status\", \"assignee\"]). Default: all standard fields\n});\n\nconst result = await jira_search.action();\n// outputSchema for result.data when operation === 'search':\n// {\n// operation: \"search\",\n// success: boolean // Whether the operation was successful,\n// issues: { expand: string | undefined // Expanded fields, id: string | undefined // Issue ID, key: string | undefined // Issue key (e.g., \"PROJ-123\"), self: string | undefined // Issue API URL, fields: { summary: string | undefined // Issue title/summary, description: unknown | undefined // Issue description (ADF format), status: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Current status, priority: { id: string // Priority ID, name: string // Priority name } | null | undefined // Issue priority (null if not assigned), assignee: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Assigned user, reporter: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Reporter user (null if deleted or anonymized), issuetype: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type } | undefined // Issue type, project: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name } | undefined // Project, labels: string[] | undefined // Issue labels, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp, duedate: string | null | undefined // Due date (YYYY-MM-DD), parent: { id: string, key: string } | undefined // Parent issue (for subtasks), comment: { comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined, total: number | undefined } | undefined // Issue comments } | undefined // Issue fields, transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions, changelog: unknown | undefined // Issue changelog }[] | undefined // Found issues,\n// total: number | undefined // Total matching issues,\n// offset: number | undefined // Current offset,\n// limit: number | undefined // Requested limit,\n// error: string // Error message if operation failed\n// }\n\n\n// Get example\nconst jira_get = new JiraBubble({\n operation: \"get\", // Get details for a specific issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\") or issue ID\n fields: [\"example string\"], // Specific fields to return. Default: all fields\n expand: [\"changelog\" // options: \"changelog\", \"comments\", \"transitions\"], // Additional data to include\n});\n\nconst result = await jira_get.action();\n// outputSchema for result.data when operation === 'get':\n// {\n// operation: \"get\",\n// success: boolean // Whether the operation was successful,\n// issue: { expand: string | undefined // Expanded fields, id: string | undefined // Issue ID, key: string | undefined // Issue key (e.g., \"PROJ-123\"), self: string | undefined // Issue API URL, fields: { summary: string | undefined // Issue title/summary, description: unknown | undefined // Issue description (ADF format), status: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Current status, priority: { id: string // Priority ID, name: string // Priority name } | null | undefined // Issue priority (null if not assigned), assignee: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Assigned user, reporter: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Reporter user (null if deleted or anonymized), issuetype: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type } | undefined // Issue type, project: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name } | undefined // Project, labels: string[] | undefined // Issue labels, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp, duedate: string | null | undefined // Due date (YYYY-MM-DD), parent: { id: string, key: string } | undefined // Parent issue (for subtasks), comment: { comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined, total: number | undefined } | undefined // Issue comments } | undefined // Issue fields, transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions, changelog: unknown | undefined // Issue changelog } | undefined // Issue details,\n// error: string // Error message if operation failed\n// }\n\n\n// Create example\nconst jira_create = new JiraBubble({\n operation: \"create\", // Create a new issue in Jira\n project: \"example string\", // Project key (e.g., \"PROJ\")\n summary: \"example string\", // Issue title/summary (max 255 chars)\n type: \"Task\" // default, // Issue type: \"Task\", \"Bug\", \"Story\", \"Epic\", etc. Default: \"Task\"\n description: \"example string\", // Issue description (plain text - auto-converted to ADF)\n assignee: \"example string\", // Assignee account ID or email. Leave empty for unassigned\n priority: \"example string\", // Issue priority. Default: uses project default\n labels: [\"example string\"], // Labels to apply (e.g., [\"bug\", \"urgent\"])\n parent: \"example string\", // Parent issue key for subtasks (e.g., \"PROJ-100\")\n due_date: \"example string\", // Due date in YYYY-MM-DD format\n custom_fields: {}, // Custom field values as { fieldId: value } (e.g., { \"customfield_10319\": \"Hardware\" })\n});\n\nconst result = await jira_create.action();\n// outputSchema for result.data when operation === 'create':\n// {\n// operation: \"create\",\n// success: boolean // Whether the operation was successful,\n// issue: { id: string // Created issue ID, key: string // Created issue key, self: string | undefined // Issue API URL } | undefined // Created issue info,\n// error: string // Error message if operation failed\n// }\n\n\n// Update example\nconst jira_update = new JiraBubble({\n operation: \"update\", // Update an existing issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\") or issue ID\n summary: \"example string\", // New issue title\n description: \"example string\", // New description (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n assignee: \"example string\", // New assignee (account ID/email) or null to unassign\n priority: \"example string\", // New priority\n labels: { add: [\"example string\"] // Labels to add to the issue, remove: [\"example string\"] // Labels to remove from the issue, set: [\"example string\"] // Replace all labels with these (overrides add/remove) }, // Label modifications\n due_date: \"example string\", // New due date (YYYY-MM-DD) or null to clear\n comment: \"example string\", // Add a comment with this update (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n});\n\nconst result = await jira_update.action();\n// outputSchema for result.data when operation === 'update':\n// {\n// operation: \"update\",\n// success: boolean // Whether the operation was successful,\n// key: string | undefined // Updated issue key,\n// error: string // Error message if operation failed\n// }\n\n\n// Transition example\nconst jira_transition = new JiraBubble({\n operation: \"transition\", // Transition issue to a new status\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n status: \"example string\", // Target status NAME (e.g., \"In Progress\", \"Done\"). Finds matching transition automatically\n transition_id: \"example string\", // Specific transition ID (from list_transitions). Use when status name is ambiguous\n comment: \"example string\", // Comment to add with the transition (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n resolution: \"example string\", // Resolution when closing (e.g., \"Fixed\", \"Won't Fix\", \"Duplicate\")\n});\n\nconst result = await jira_transition.action();\n// outputSchema for result.data when operation === 'transition':\n// {\n// operation: \"transition\",\n// success: boolean // Whether the operation was successful,\n// key: string | undefined // Transitioned issue key,\n// new_status: string | undefined // New status name,\n// error: string // Error message if operation failed\n// }\n\n\n// List Transitions example\nconst jira_list_transitions = new JiraBubble({\n operation: \"list_transitions\", // Get available transitions for an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n});\n\nconst result = await jira_list_transitions.action();\n// outputSchema for result.data when operation === 'list_transitions':\n// {\n// operation: \"list_transitions\",\n// success: boolean // Whether the operation was successful,\n// transitions: { id: string // Transition ID, name: string // Transition name (e.g., \"Start Progress\", \"Done\"), to: { id: string // Status ID, name: string // Status name (e.g., \"To Do\", \"In Progress\", \"Done\"), statusCategory: { key: string // Category key, name: string // Category name } | undefined // Status category } | undefined // Target status }[] | undefined // Available transitions,\n// error: string // Error message if operation failed\n// }\n\n\n// List Projects example\nconst jira_list_projects = new JiraBubble({\n operation: \"list_projects\", // List available Jira projects\n limit: 50 // default, // Maximum number of projects to return\n offset: 0 // default, // Starting index for pagination\n});\n\nconst result = await jira_list_projects.action();\n// outputSchema for result.data when operation === 'list_projects':\n// {\n// operation: \"list_projects\",\n// success: boolean // Whether the operation was successful,\n// projects: { id: string // Project ID, key: string // Project key (e.g., \"PROJ\"), name: string // Project name }[] | undefined // Available projects,\n// total: number | undefined // Total projects,\n// error: string // Error message if operation failed\n// }\n\n\n// List Issue Types example\nconst jira_list_issue_types = new JiraBubble({\n operation: \"list_issue_types\", // List issue types for a project\n project: \"example string\", // Project key (e.g., \"PROJ\")\n});\n\nconst result = await jira_list_issue_types.action();\n// outputSchema for result.data when operation === 'list_issue_types':\n// {\n// operation: \"list_issue_types\",\n// success: boolean // Whether the operation was successful,\n// issue_types: { id: string // Issue type ID, name: string // Issue type name (e.g., \"Task\", \"Bug\", \"Story\"), description: string | undefined // Issue type description, subtask: boolean | undefined // Whether this is a subtask type }[] | undefined // Available issue types,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Create Fields example\nconst jira_get_create_fields = new JiraBubble({\n operation: \"get_create_fields\", // Get required and optional fields for creating issues in a project, grouped by issue type\n project: \"example string\", // Project key (e.g., \"PROJ\")\n issue_type: \"example string\", // Filter by issue type name (e.g., \"Bug\", \"Task\"). If omitted, returns fields for all issue types\n});\n\nconst result = await jira_get_create_fields.action();\n// outputSchema for result.data when operation === 'get_create_fields':\n// {\n// operation: \"get_create_fields\",\n// success: boolean // Whether the operation was successful,\n// issue_types: { id: string // Issue type ID, name: string // Issue type name, fields: { fieldId: string // Field ID (e.g., \"summary\", \"customfield_10319\"), name: string // Human-readable field name, required: boolean // Whether the field is required, isCustom: boolean // Whether this is a custom field, schema: unknown | undefined // Field type schema from Jira, allowedValues: unknown[] | undefined // Allowed values for the field, if constrained }[] // Fields available for this issue type }[] | undefined // Issue types with their fields,\n// error: string // Error message if operation failed\n// }\n\n\n// Add Comment example\nconst jira_add_comment = new JiraBubble({\n operation: \"add_comment\", // Add a comment to an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n body: \"example string\", // Comment text (markdown or plain text - auto-converted to ADF). Supports: **bold**, *italic*, `code`, [links](url), # headings, lists, > blockquotes, ``` code blocks ```, ~~strikethrough~~\n});\n\nconst result = await jira_add_comment.action();\n// outputSchema for result.data when operation === 'add_comment':\n// {\n// operation: \"add_comment\",\n// success: boolean // Whether the operation was successful,\n// comment: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp } | undefined // Created comment,\n// error: string // Error message if operation failed\n// }\n\n\n// Get Comments example\nconst jira_get_comments = new JiraBubble({\n operation: \"get_comments\", // Get comments for an issue\n key: \"example string\", // Issue key (e.g., \"PROJ-123\")\n limit: 50 // default, // Maximum number of comments to return\n offset: 0 // default, // Starting index for pagination\n});\n\nconst result = await jira_get_comments.action();\n// outputSchema for result.data when operation === 'get_comments':\n// {\n// operation: \"get_comments\",\n// success: boolean // Whether the operation was successful,\n// comments: { id: string // Comment ID, author: { accountId: string // User account ID, displayName: string | undefined // User display name, emailAddress: string | undefined // User email address, active: boolean | undefined // Whether the user is active } | null | undefined // Comment author (null if deleted or anonymized), body: string | undefined // Comment body as plain text, renderedBody: string | undefined // Comment body as rendered HTML, created: string | undefined // Creation timestamp, updated: string | undefined // Last update timestamp }[] | undefined // Issue comments,\n// total: number | undefined // Total comments,\n// error: string // Error message if operation failed\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`jira failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
56231
56352
|
"requiredCredentials": [
|
|
56232
56353
|
"JIRA_CRED"
|
|
56233
56354
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bubblelab/bubble-core",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.137",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"puppeteer-core": "^24.10.0",
|
|
41
41
|
"resend": "^4.8.0",
|
|
42
42
|
"zod": "^3.24.1",
|
|
43
|
-
"@bubblelab/shared-schemas": "0.1.
|
|
43
|
+
"@bubblelab/shared-schemas": "0.1.137"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/node": "^20.12.12",
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { SalesforceBubble } from './salesforce.js';
|
|
2
|
-
export { SalesforceParamsSchema, SalesforceResultSchema, SalesforceAccountSchema, SalesforceContactSchema, SalesforceLeadSchema, SalesforceOpportunitySchema, SalesforceUserInfoSchema, SoqlQueryResultSchema, type SalesforceParams, type SalesforceParamsInput, type SalesforceResult, } from './salesforce.schema.js';
|
|
3
|
-
export { isValidSalesforceId, to18CharId, formatSalesforceDate, toSalesforceDate, escapeSoql, buildSoqlQuery, enhanceSalesforceErrorMessage, buildApiUrl, getSalesforceApiVersion, } from './salesforce.utils.js';
|
|
4
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/salesforce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,EACrB,KAAK,gBAAgB,EACrB,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,6BAA6B,EAC7B,WAAW,EACX,uBAAuB,GACxB,MAAM,uBAAuB,CAAC"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { SalesforceBubble } from './salesforce.js';
|
|
2
|
-
export { SalesforceParamsSchema, SalesforceResultSchema, SalesforceAccountSchema, SalesforceContactSchema, SalesforceLeadSchema, SalesforceOpportunitySchema, SalesforceUserInfoSchema, SoqlQueryResultSchema, } from './salesforce.schema.js';
|
|
3
|
-
export { isValidSalesforceId, to18CharId, formatSalesforceDate, toSalesforceDate, escapeSoql, buildSoqlQuery, enhanceSalesforceErrorMessage, buildApiUrl, getSalesforceApiVersion, } from './salesforce.utils.js';
|
|
4
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/salesforce/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,EACL,sBAAsB,EACtB,sBAAsB,EACtB,uBAAuB,EACvB,uBAAuB,EACvB,oBAAoB,EACpB,2BAA2B,EAC3B,wBAAwB,EACxB,qBAAqB,GAItB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,mBAAmB,EACnB,UAAU,EACV,oBAAoB,EACpB,gBAAgB,EAChB,UAAU,EACV,cAAc,EACd,6BAA6B,EAC7B,WAAW,EACX,uBAAuB,GACxB,MAAM,uBAAuB,CAAC"}
|