@bubblelab/bubble-core 0.1.278 → 0.1.281
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 +199 -158
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +6 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubble-trigger/index.d.ts +2 -0
- package/dist/bubble-trigger/index.d.ts.map +1 -0
- package/dist/bubble-trigger/index.js +2 -0
- package/dist/bubble-trigger/index.js.map +1 -0
- package/dist/bubble-trigger/types.d.ts +87 -0
- package/dist/bubble-trigger/types.d.ts.map +1 -0
- package/dist/bubble-trigger/types.js +14 -0
- package/dist/bubble-trigger/types.js.map +1 -0
- 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/app-rankings-scraper.d.ts +6 -6
- 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-detail.d.ts +38 -38
- 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 +132 -132
- package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
- package/dist/bubbles/service-bubble/asana/asana.d.ts +1 -1
- package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- 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/clerk/clerk.d.ts +690 -0
- package/dist/bubbles/service-bubble/clerk/clerk.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/clerk/clerk.js +579 -0
- package/dist/bubbles/service-bubble/clerk/clerk.js.map +1 -0
- package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts +653 -0
- package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/clerk/clerk.schema.js +460 -0
- package/dist/bubbles/service-bubble/clerk/clerk.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/clerk/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/clerk/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/clerk/index.js +3 -0
- package/dist/bubbles/service-bubble/clerk/index.js.map +1 -0
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/discord/discord.d.ts +12 -12
- package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/firecrawl.d.ts +330 -330
- 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 +4 -4
- package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
- package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/google-sheets.js +904 -0
- package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
- package/dist/bubbles/service-bubble/http.d.ts +6 -6
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
- package/dist/bubbles/service-bubble/looker/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/looker/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/index.js +3 -0
- package/dist/bubbles/service-bubble/looker/index.js.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.d.ts +768 -0
- package/dist/bubbles/service-bubble/looker/looker.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.js +319 -0
- package/dist/bubbles/service-bubble/looker/looker.js.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +735 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.js +264 -0
- package/dist/bubbles/service-bubble/looker/looker.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/metabase/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/index.js +4 -0
- package/dist/bubbles/service-bubble/metabase/index.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.d.ts +746 -0
- package/dist/bubbles/service-bubble/metabase/metabase.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.js +221 -0
- package/dist/bubbles/service-bubble/metabase/metabase.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts +1125 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.js +222 -0
- package/dist/bubbles/service-bubble/metabase/metabase.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts +15 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.js +32 -0
- package/dist/bubbles/service-bubble/metabase/metabase.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/index.js +3 -0
- package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
- package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
- package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
- package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +392 -392
- package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
- package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slack.js +1536 -0
- package/dist/bubbles/service-bubble/slack.js.map +1 -0
- package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +4 -4
- package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +4 -4
- package/dist/bubbles/service-bubble/sortly/sortly.d.ts +36 -36
- package/dist/bubbles/service-bubble/sortly/sortly.schema.d.ts +40 -40
- 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/service-bubble/xero/xero.d.ts +2 -2
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
- 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/app-rankings-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
- 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 +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
- package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
- package/dist/bubbles.json +1843 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -0
- package/dist/index.js.map +1 -1
- package/dist/types/ai-models.d.ts +4 -0
- package/dist/types/ai-models.d.ts.map +1 -0
- package/dist/types/ai-models.js +16 -0
- package/dist/types/ai-models.js.map +1 -0
- package/dist/utils/param-helper.d.ts +2 -0
- package/dist/utils/param-helper.d.ts.map +1 -0
- package/dist/utils/param-helper.js +5 -0
- package/dist/utils/param-helper.js.map +1 -0
- package/package.json +2 -2
package/dist/bubbles.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": "2.0.0",
|
|
3
|
-
"generatedAt": "2026-04-
|
|
4
|
-
"totalCount":
|
|
3
|
+
"generatedAt": "2026-04-08T20:57:08.919Z",
|
|
4
|
+
"totalCount": 84,
|
|
5
5
|
"bubbles": [
|
|
6
6
|
{
|
|
7
7
|
"name": "hello-world",
|
|
@@ -89093,6 +89093,1847 @@
|
|
|
89093
89093
|
"requiredCredentials": [
|
|
89094
89094
|
"DOCUSIGN_CRED"
|
|
89095
89095
|
]
|
|
89096
|
+
},
|
|
89097
|
+
{
|
|
89098
|
+
"name": "metabase",
|
|
89099
|
+
"alias": "analytics",
|
|
89100
|
+
"type": "service",
|
|
89101
|
+
"shortDescription": "Metabase integration for dashboards, cards, and analytics queries",
|
|
89102
|
+
"useCase": "General purpose bubble for various workflow needs",
|
|
89103
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
89104
|
+
"inputJsonSchema": {
|
|
89105
|
+
"anyOf": [
|
|
89106
|
+
{
|
|
89107
|
+
"type": "object",
|
|
89108
|
+
"properties": {
|
|
89109
|
+
"operation": {
|
|
89110
|
+
"type": "string",
|
|
89111
|
+
"enum": [
|
|
89112
|
+
"get_dashboard"
|
|
89113
|
+
],
|
|
89114
|
+
"description": "Get dashboard by ID"
|
|
89115
|
+
},
|
|
89116
|
+
"dashboard_id": {
|
|
89117
|
+
"type": "number",
|
|
89118
|
+
"description": "The dashboard ID to retrieve"
|
|
89119
|
+
},
|
|
89120
|
+
"credentials": {
|
|
89121
|
+
"type": "object",
|
|
89122
|
+
"additionalProperties": {
|
|
89123
|
+
"type": "string"
|
|
89124
|
+
},
|
|
89125
|
+
"description": "Credential mapping for authentication"
|
|
89126
|
+
}
|
|
89127
|
+
},
|
|
89128
|
+
"required": [
|
|
89129
|
+
"operation",
|
|
89130
|
+
"dashboard_id"
|
|
89131
|
+
],
|
|
89132
|
+
"additionalProperties": false
|
|
89133
|
+
},
|
|
89134
|
+
{
|
|
89135
|
+
"type": "object",
|
|
89136
|
+
"properties": {
|
|
89137
|
+
"operation": {
|
|
89138
|
+
"type": "string",
|
|
89139
|
+
"enum": [
|
|
89140
|
+
"list_dashboards"
|
|
89141
|
+
],
|
|
89142
|
+
"description": "List all available dashboards"
|
|
89143
|
+
},
|
|
89144
|
+
"credentials": {
|
|
89145
|
+
"type": "object",
|
|
89146
|
+
"additionalProperties": {
|
|
89147
|
+
"type": "string"
|
|
89148
|
+
},
|
|
89149
|
+
"description": "Credential mapping for authentication"
|
|
89150
|
+
}
|
|
89151
|
+
},
|
|
89152
|
+
"required": [
|
|
89153
|
+
"operation"
|
|
89154
|
+
],
|
|
89155
|
+
"additionalProperties": false
|
|
89156
|
+
},
|
|
89157
|
+
{
|
|
89158
|
+
"type": "object",
|
|
89159
|
+
"properties": {
|
|
89160
|
+
"operation": {
|
|
89161
|
+
"type": "string",
|
|
89162
|
+
"enum": [
|
|
89163
|
+
"get_card"
|
|
89164
|
+
],
|
|
89165
|
+
"description": "Get card metadata by ID"
|
|
89166
|
+
},
|
|
89167
|
+
"card_id": {
|
|
89168
|
+
"type": "number",
|
|
89169
|
+
"description": "The card ID to retrieve"
|
|
89170
|
+
},
|
|
89171
|
+
"credentials": {
|
|
89172
|
+
"type": "object",
|
|
89173
|
+
"additionalProperties": {
|
|
89174
|
+
"type": "string"
|
|
89175
|
+
},
|
|
89176
|
+
"description": "Credential mapping for authentication"
|
|
89177
|
+
}
|
|
89178
|
+
},
|
|
89179
|
+
"required": [
|
|
89180
|
+
"operation",
|
|
89181
|
+
"card_id"
|
|
89182
|
+
],
|
|
89183
|
+
"additionalProperties": false
|
|
89184
|
+
},
|
|
89185
|
+
{
|
|
89186
|
+
"type": "object",
|
|
89187
|
+
"properties": {
|
|
89188
|
+
"operation": {
|
|
89189
|
+
"type": "string",
|
|
89190
|
+
"enum": [
|
|
89191
|
+
"query_card"
|
|
89192
|
+
],
|
|
89193
|
+
"description": "Execute a card's query and return results"
|
|
89194
|
+
},
|
|
89195
|
+
"card_id": {
|
|
89196
|
+
"type": "number",
|
|
89197
|
+
"description": "The card ID to query"
|
|
89198
|
+
},
|
|
89199
|
+
"pivot": {
|
|
89200
|
+
"type": "boolean",
|
|
89201
|
+
"description": "Use the pivot endpoint (/api/card/pivot/:id/query) for pivot-table results"
|
|
89202
|
+
},
|
|
89203
|
+
"parameters": {
|
|
89204
|
+
"type": "object",
|
|
89205
|
+
"additionalProperties": {},
|
|
89206
|
+
"description": "Optional query parameters (filters)"
|
|
89207
|
+
},
|
|
89208
|
+
"credentials": {
|
|
89209
|
+
"type": "object",
|
|
89210
|
+
"additionalProperties": {
|
|
89211
|
+
"type": "string"
|
|
89212
|
+
},
|
|
89213
|
+
"description": "Credential mapping for authentication"
|
|
89214
|
+
}
|
|
89215
|
+
},
|
|
89216
|
+
"required": [
|
|
89217
|
+
"operation",
|
|
89218
|
+
"card_id"
|
|
89219
|
+
],
|
|
89220
|
+
"additionalProperties": false
|
|
89221
|
+
}
|
|
89222
|
+
]
|
|
89223
|
+
},
|
|
89224
|
+
"outputJsonSchema": {
|
|
89225
|
+
"anyOf": [
|
|
89226
|
+
{
|
|
89227
|
+
"type": "object",
|
|
89228
|
+
"properties": {
|
|
89229
|
+
"operation": {
|
|
89230
|
+
"type": "string",
|
|
89231
|
+
"enum": [
|
|
89232
|
+
"get_dashboard"
|
|
89233
|
+
]
|
|
89234
|
+
},
|
|
89235
|
+
"success": {
|
|
89236
|
+
"type": "boolean"
|
|
89237
|
+
},
|
|
89238
|
+
"error": {
|
|
89239
|
+
"type": "string",
|
|
89240
|
+
"default": ""
|
|
89241
|
+
},
|
|
89242
|
+
"data": {
|
|
89243
|
+
"type": "object",
|
|
89244
|
+
"properties": {
|
|
89245
|
+
"id": {
|
|
89246
|
+
"type": "number",
|
|
89247
|
+
"description": "Unique dashboard identifier"
|
|
89248
|
+
},
|
|
89249
|
+
"name": {
|
|
89250
|
+
"type": "string",
|
|
89251
|
+
"description": "Dashboard name"
|
|
89252
|
+
},
|
|
89253
|
+
"description": {
|
|
89254
|
+
"type": "string",
|
|
89255
|
+
"nullable": true,
|
|
89256
|
+
"description": "Dashboard description"
|
|
89257
|
+
},
|
|
89258
|
+
"collection_id": {
|
|
89259
|
+
"type": "number",
|
|
89260
|
+
"nullable": true,
|
|
89261
|
+
"description": "Collection the dashboard belongs to"
|
|
89262
|
+
},
|
|
89263
|
+
"dashcards": {
|
|
89264
|
+
"type": "array",
|
|
89265
|
+
"items": {
|
|
89266
|
+
"type": "object",
|
|
89267
|
+
"properties": {
|
|
89268
|
+
"id": {
|
|
89269
|
+
"type": "number",
|
|
89270
|
+
"description": "Unique dashcard identifier"
|
|
89271
|
+
},
|
|
89272
|
+
"card_id": {
|
|
89273
|
+
"type": "number",
|
|
89274
|
+
"nullable": true,
|
|
89275
|
+
"description": "ID of the card in this dashcard"
|
|
89276
|
+
},
|
|
89277
|
+
"card": {
|
|
89278
|
+
"type": "object",
|
|
89279
|
+
"properties": {
|
|
89280
|
+
"id": {
|
|
89281
|
+
"type": "number",
|
|
89282
|
+
"nullable": true,
|
|
89283
|
+
"description": "Card ID (null/absent for text/heading dashcards)"
|
|
89284
|
+
},
|
|
89285
|
+
"name": {
|
|
89286
|
+
"type": "string",
|
|
89287
|
+
"nullable": true,
|
|
89288
|
+
"description": "Card name (null/absent for text/heading dashcards)"
|
|
89289
|
+
},
|
|
89290
|
+
"display": {
|
|
89291
|
+
"type": "string",
|
|
89292
|
+
"description": "Card display type"
|
|
89293
|
+
},
|
|
89294
|
+
"description": {
|
|
89295
|
+
"type": "string",
|
|
89296
|
+
"nullable": true,
|
|
89297
|
+
"description": "Card description"
|
|
89298
|
+
}
|
|
89299
|
+
},
|
|
89300
|
+
"additionalProperties": true,
|
|
89301
|
+
"nullable": true,
|
|
89302
|
+
"description": "Embedded card metadata (null for virtual/text dashcards)"
|
|
89303
|
+
},
|
|
89304
|
+
"row": {
|
|
89305
|
+
"type": "number",
|
|
89306
|
+
"description": "Row position on dashboard grid"
|
|
89307
|
+
},
|
|
89308
|
+
"col": {
|
|
89309
|
+
"type": "number",
|
|
89310
|
+
"description": "Column position on dashboard grid"
|
|
89311
|
+
},
|
|
89312
|
+
"size_x": {
|
|
89313
|
+
"type": "number",
|
|
89314
|
+
"description": "Width in grid units"
|
|
89315
|
+
},
|
|
89316
|
+
"size_y": {
|
|
89317
|
+
"type": "number",
|
|
89318
|
+
"description": "Height in grid units"
|
|
89319
|
+
}
|
|
89320
|
+
},
|
|
89321
|
+
"required": [
|
|
89322
|
+
"id",
|
|
89323
|
+
"card_id",
|
|
89324
|
+
"row",
|
|
89325
|
+
"col",
|
|
89326
|
+
"size_x",
|
|
89327
|
+
"size_y"
|
|
89328
|
+
],
|
|
89329
|
+
"additionalProperties": true,
|
|
89330
|
+
"description": "Dashboard card (dashcard) object"
|
|
89331
|
+
},
|
|
89332
|
+
"description": "List of dashcards on this dashboard"
|
|
89333
|
+
},
|
|
89334
|
+
"parameters": {
|
|
89335
|
+
"type": "array",
|
|
89336
|
+
"items": {
|
|
89337
|
+
"type": "object",
|
|
89338
|
+
"additionalProperties": {}
|
|
89339
|
+
},
|
|
89340
|
+
"description": "Dashboard filter parameters"
|
|
89341
|
+
},
|
|
89342
|
+
"created_at": {
|
|
89343
|
+
"type": "string",
|
|
89344
|
+
"description": "Creation timestamp"
|
|
89345
|
+
},
|
|
89346
|
+
"updated_at": {
|
|
89347
|
+
"type": "string",
|
|
89348
|
+
"description": "Last update timestamp"
|
|
89349
|
+
}
|
|
89350
|
+
},
|
|
89351
|
+
"required": [
|
|
89352
|
+
"id",
|
|
89353
|
+
"name"
|
|
89354
|
+
],
|
|
89355
|
+
"additionalProperties": true,
|
|
89356
|
+
"description": "Metabase dashboard object"
|
|
89357
|
+
}
|
|
89358
|
+
},
|
|
89359
|
+
"required": [
|
|
89360
|
+
"operation",
|
|
89361
|
+
"success"
|
|
89362
|
+
],
|
|
89363
|
+
"additionalProperties": false
|
|
89364
|
+
},
|
|
89365
|
+
{
|
|
89366
|
+
"type": "object",
|
|
89367
|
+
"properties": {
|
|
89368
|
+
"operation": {
|
|
89369
|
+
"type": "string",
|
|
89370
|
+
"enum": [
|
|
89371
|
+
"list_dashboards"
|
|
89372
|
+
]
|
|
89373
|
+
},
|
|
89374
|
+
"success": {
|
|
89375
|
+
"type": "boolean"
|
|
89376
|
+
},
|
|
89377
|
+
"error": {
|
|
89378
|
+
"type": "string",
|
|
89379
|
+
"default": ""
|
|
89380
|
+
},
|
|
89381
|
+
"data": {
|
|
89382
|
+
"type": "object",
|
|
89383
|
+
"properties": {
|
|
89384
|
+
"dashboards": {
|
|
89385
|
+
"type": "array",
|
|
89386
|
+
"items": {
|
|
89387
|
+
"type": "object",
|
|
89388
|
+
"properties": {
|
|
89389
|
+
"id": {
|
|
89390
|
+
"type": "number",
|
|
89391
|
+
"description": "Unique dashboard identifier"
|
|
89392
|
+
},
|
|
89393
|
+
"name": {
|
|
89394
|
+
"type": "string",
|
|
89395
|
+
"description": "Dashboard name"
|
|
89396
|
+
},
|
|
89397
|
+
"description": {
|
|
89398
|
+
"type": "string",
|
|
89399
|
+
"nullable": true,
|
|
89400
|
+
"description": "Dashboard description"
|
|
89401
|
+
},
|
|
89402
|
+
"collection_id": {
|
|
89403
|
+
"type": "number",
|
|
89404
|
+
"nullable": true,
|
|
89405
|
+
"description": "Collection the dashboard belongs to"
|
|
89406
|
+
},
|
|
89407
|
+
"model": {
|
|
89408
|
+
"type": "string",
|
|
89409
|
+
"description": "Entity model type"
|
|
89410
|
+
},
|
|
89411
|
+
"created_at": {
|
|
89412
|
+
"type": "string",
|
|
89413
|
+
"description": "Creation timestamp"
|
|
89414
|
+
}
|
|
89415
|
+
},
|
|
89416
|
+
"required": [
|
|
89417
|
+
"id",
|
|
89418
|
+
"name"
|
|
89419
|
+
],
|
|
89420
|
+
"additionalProperties": true,
|
|
89421
|
+
"description": "Dashboard list item"
|
|
89422
|
+
}
|
|
89423
|
+
},
|
|
89424
|
+
"total": {
|
|
89425
|
+
"type": "number"
|
|
89426
|
+
}
|
|
89427
|
+
},
|
|
89428
|
+
"required": [
|
|
89429
|
+
"dashboards",
|
|
89430
|
+
"total"
|
|
89431
|
+
],
|
|
89432
|
+
"additionalProperties": false
|
|
89433
|
+
}
|
|
89434
|
+
},
|
|
89435
|
+
"required": [
|
|
89436
|
+
"operation",
|
|
89437
|
+
"success"
|
|
89438
|
+
],
|
|
89439
|
+
"additionalProperties": false
|
|
89440
|
+
},
|
|
89441
|
+
{
|
|
89442
|
+
"type": "object",
|
|
89443
|
+
"properties": {
|
|
89444
|
+
"operation": {
|
|
89445
|
+
"type": "string",
|
|
89446
|
+
"enum": [
|
|
89447
|
+
"get_card"
|
|
89448
|
+
]
|
|
89449
|
+
},
|
|
89450
|
+
"success": {
|
|
89451
|
+
"type": "boolean"
|
|
89452
|
+
},
|
|
89453
|
+
"error": {
|
|
89454
|
+
"type": "string",
|
|
89455
|
+
"default": ""
|
|
89456
|
+
},
|
|
89457
|
+
"data": {
|
|
89458
|
+
"type": "object",
|
|
89459
|
+
"properties": {
|
|
89460
|
+
"id": {
|
|
89461
|
+
"type": "number",
|
|
89462
|
+
"description": "Unique card identifier"
|
|
89463
|
+
},
|
|
89464
|
+
"name": {
|
|
89465
|
+
"type": "string",
|
|
89466
|
+
"description": "Card name"
|
|
89467
|
+
},
|
|
89468
|
+
"description": {
|
|
89469
|
+
"type": "string",
|
|
89470
|
+
"nullable": true,
|
|
89471
|
+
"description": "Card description"
|
|
89472
|
+
},
|
|
89473
|
+
"display": {
|
|
89474
|
+
"type": "string",
|
|
89475
|
+
"description": "Visualization type"
|
|
89476
|
+
},
|
|
89477
|
+
"collection_id": {
|
|
89478
|
+
"type": "number",
|
|
89479
|
+
"nullable": true,
|
|
89480
|
+
"description": "Collection the card belongs to"
|
|
89481
|
+
},
|
|
89482
|
+
"database_id": {
|
|
89483
|
+
"type": "number",
|
|
89484
|
+
"nullable": true,
|
|
89485
|
+
"description": "Database this card queries"
|
|
89486
|
+
},
|
|
89487
|
+
"dataset_query": {
|
|
89488
|
+
"type": "object",
|
|
89489
|
+
"additionalProperties": {},
|
|
89490
|
+
"description": "The query definition"
|
|
89491
|
+
},
|
|
89492
|
+
"result_metadata": {
|
|
89493
|
+
"type": "array",
|
|
89494
|
+
"items": {
|
|
89495
|
+
"type": "object",
|
|
89496
|
+
"additionalProperties": {}
|
|
89497
|
+
},
|
|
89498
|
+
"description": "Column metadata from the result"
|
|
89499
|
+
},
|
|
89500
|
+
"created_at": {
|
|
89501
|
+
"type": "string",
|
|
89502
|
+
"description": "Creation timestamp"
|
|
89503
|
+
},
|
|
89504
|
+
"updated_at": {
|
|
89505
|
+
"type": "string",
|
|
89506
|
+
"description": "Last update timestamp"
|
|
89507
|
+
}
|
|
89508
|
+
},
|
|
89509
|
+
"required": [
|
|
89510
|
+
"id",
|
|
89511
|
+
"name"
|
|
89512
|
+
],
|
|
89513
|
+
"additionalProperties": true,
|
|
89514
|
+
"description": "Metabase card (saved question) object"
|
|
89515
|
+
}
|
|
89516
|
+
},
|
|
89517
|
+
"required": [
|
|
89518
|
+
"operation",
|
|
89519
|
+
"success"
|
|
89520
|
+
],
|
|
89521
|
+
"additionalProperties": false
|
|
89522
|
+
},
|
|
89523
|
+
{
|
|
89524
|
+
"type": "object",
|
|
89525
|
+
"properties": {
|
|
89526
|
+
"operation": {
|
|
89527
|
+
"type": "string",
|
|
89528
|
+
"enum": [
|
|
89529
|
+
"query_card"
|
|
89530
|
+
]
|
|
89531
|
+
},
|
|
89532
|
+
"success": {
|
|
89533
|
+
"type": "boolean"
|
|
89534
|
+
},
|
|
89535
|
+
"error": {
|
|
89536
|
+
"type": "string",
|
|
89537
|
+
"default": ""
|
|
89538
|
+
},
|
|
89539
|
+
"data": {
|
|
89540
|
+
"type": "object",
|
|
89541
|
+
"properties": {
|
|
89542
|
+
"rows": {
|
|
89543
|
+
"type": "array",
|
|
89544
|
+
"items": {
|
|
89545
|
+
"type": "array",
|
|
89546
|
+
"items": {}
|
|
89547
|
+
},
|
|
89548
|
+
"description": "Result data rows"
|
|
89549
|
+
},
|
|
89550
|
+
"cols": {
|
|
89551
|
+
"type": "array",
|
|
89552
|
+
"items": {
|
|
89553
|
+
"type": "object",
|
|
89554
|
+
"properties": {
|
|
89555
|
+
"name": {
|
|
89556
|
+
"type": "string",
|
|
89557
|
+
"description": "Column name"
|
|
89558
|
+
},
|
|
89559
|
+
"display_name": {
|
|
89560
|
+
"type": "string",
|
|
89561
|
+
"description": "Display name for column"
|
|
89562
|
+
},
|
|
89563
|
+
"base_type": {
|
|
89564
|
+
"type": "string",
|
|
89565
|
+
"description": "Base data type of column"
|
|
89566
|
+
}
|
|
89567
|
+
},
|
|
89568
|
+
"required": [
|
|
89569
|
+
"name"
|
|
89570
|
+
],
|
|
89571
|
+
"additionalProperties": true
|
|
89572
|
+
},
|
|
89573
|
+
"description": "Column metadata"
|
|
89574
|
+
},
|
|
89575
|
+
"row_count": {
|
|
89576
|
+
"type": "number",
|
|
89577
|
+
"description": "Total number of rows returned"
|
|
89578
|
+
},
|
|
89579
|
+
"status": {
|
|
89580
|
+
"type": "string",
|
|
89581
|
+
"description": "Query execution status"
|
|
89582
|
+
}
|
|
89583
|
+
},
|
|
89584
|
+
"required": [
|
|
89585
|
+
"rows",
|
|
89586
|
+
"cols"
|
|
89587
|
+
],
|
|
89588
|
+
"additionalProperties": true,
|
|
89589
|
+
"description": "Flattened Metabase query result — rows and cols at top level"
|
|
89590
|
+
}
|
|
89591
|
+
},
|
|
89592
|
+
"required": [
|
|
89593
|
+
"operation",
|
|
89594
|
+
"success"
|
|
89595
|
+
],
|
|
89596
|
+
"additionalProperties": false
|
|
89597
|
+
}
|
|
89598
|
+
]
|
|
89599
|
+
},
|
|
89600
|
+
"usageExample": "// Get Dashboard example\nconst metabase_get_dashboard = new MetabaseBubble({\n operation: \"get_dashboard\", // Get dashboard by ID\n dashboard_id: 42, // The dashboard ID to retrieve\n});\n\nconst result = await metabase_get_dashboard.action();\n// outputSchema for result.data when operation === 'get_dashboard':\n// {\n// operation: \"get_dashboard\",\n// success: boolean,\n// error: string,\n// data: { id: number // Unique dashboard identifier, name: string // Dashboard name, description: string | null | undefined // Dashboard description, collection_id: number | null | undefined // Collection the dashboard belongs to, dashcards: { id: number // Unique dashcard identifier, card_id: number | null // ID of the card in this dashcard, card: { id: number | null | undefined // Card ID (null/absent for text/heading dashcards), name: string | null | undefined // Card name (null/absent for text/heading dashcards), display: string | undefined // Card display type, description: string | null | undefined // Card description } | null | undefined // Embedded card metadata (null for virtual/text dashcards), row: number // Row position on dashboard grid, col: number // Column position on dashboard grid, size_x: number // Width in grid units, size_y: number // Height in grid units }[] | undefined // List of dashcards on this dashboard, parameters: Record<string, unknown>[] | undefined // Dashboard filter parameters, created_at: string | undefined // Creation timestamp, updated_at: string | undefined // Last update timestamp } | undefined // Metabase dashboard object\n// }\n\n\n// List Dashboards example\nconst metabase_list_dashboards = new MetabaseBubble({\n operation: \"list_dashboards\", // List all available dashboards\n});\n\nconst result = await metabase_list_dashboards.action();\n// outputSchema for result.data when operation === 'list_dashboards':\n// {\n// operation: \"list_dashboards\",\n// success: boolean,\n// error: string,\n// data: { dashboards: { id: number // Unique dashboard identifier, name: string // Dashboard name, description: string | null | undefined // Dashboard description, collection_id: number | null | undefined // Collection the dashboard belongs to, model: string | undefined // Entity model type, created_at: string | undefined // Creation timestamp }[], total: number } | undefined\n// }\n\n\n// Get Card example\nconst metabase_get_card = new MetabaseBubble({\n operation: \"get_card\", // Get card metadata by ID\n card_id: 42, // The card ID to retrieve\n});\n\nconst result = await metabase_get_card.action();\n// outputSchema for result.data when operation === 'get_card':\n// {\n// operation: \"get_card\",\n// success: boolean,\n// error: string,\n// data: { id: number // Unique card identifier, name: string // Card name, description: string | null | undefined // Card description, display: string | undefined // Visualization type, collection_id: number | null | undefined // Collection the card belongs to, database_id: number | null | undefined // Database this card queries, dataset_query: Record<string, unknown> | undefined // The query definition, result_metadata: Record<string, unknown>[] | undefined // Column metadata from the result, created_at: string | undefined // Creation timestamp, updated_at: string | undefined // Last update timestamp } | undefined // Metabase card (saved question) object\n// }\n\n\n// Query Card example\nconst metabase_query_card = new MetabaseBubble({\n operation: \"query_card\", // Execute a card's query and return results\n card_id: 42, // The card ID to query\n pivot: true, // Use the pivot endpoint (/api/card/pivot/:id/query) for pivot-table results\n parameters: {}, // Optional query parameters (filters)\n});\n\nconst result = await metabase_query_card.action();\n// outputSchema for result.data when operation === 'query_card':\n// {\n// operation: \"query_card\",\n// success: boolean,\n// error: string,\n// data: { rows: unknown[][] // Result data rows, cols: { name: string // Column name, display_name: string | undefined // Display name for column, base_type: string | undefined // Base data type of column }[] // Column metadata, row_count: number | undefined // Total number of rows returned, status: string | undefined // Query execution status } | undefined // Flattened Metabase query result — rows and cols at top level\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`metabase failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
89601
|
+
"requiredCredentials": [
|
|
89602
|
+
"METABASE_CRED"
|
|
89603
|
+
]
|
|
89604
|
+
},
|
|
89605
|
+
{
|
|
89606
|
+
"name": "clerk",
|
|
89607
|
+
"alias": "clerk",
|
|
89608
|
+
"type": "service",
|
|
89609
|
+
"shortDescription": "Clerk integration for user management, organizations, and billing",
|
|
89610
|
+
"useCase": "General purpose bubble for various workflow needs",
|
|
89611
|
+
"outputSchema": "Complex schema - see usage example for structure",
|
|
89612
|
+
"inputJsonSchema": {
|
|
89613
|
+
"anyOf": [
|
|
89614
|
+
{
|
|
89615
|
+
"type": "object",
|
|
89616
|
+
"properties": {
|
|
89617
|
+
"operation": {
|
|
89618
|
+
"type": "string",
|
|
89619
|
+
"enum": [
|
|
89620
|
+
"list_users"
|
|
89621
|
+
],
|
|
89622
|
+
"description": "List users with optional filtering and pagination"
|
|
89623
|
+
},
|
|
89624
|
+
"limit": {
|
|
89625
|
+
"type": "integer",
|
|
89626
|
+
"minimum": 1,
|
|
89627
|
+
"maximum": 500,
|
|
89628
|
+
"default": 10,
|
|
89629
|
+
"description": "Maximum number of users to return (1-500)"
|
|
89630
|
+
},
|
|
89631
|
+
"offset": {
|
|
89632
|
+
"type": "integer",
|
|
89633
|
+
"minimum": 0,
|
|
89634
|
+
"default": 0,
|
|
89635
|
+
"description": "Number of users to skip for pagination"
|
|
89636
|
+
},
|
|
89637
|
+
"order_by": {
|
|
89638
|
+
"type": "string",
|
|
89639
|
+
"description": "Sort field (e.g. \"-created_at\" for newest first, \"+created_at\" for oldest)"
|
|
89640
|
+
},
|
|
89641
|
+
"query": {
|
|
89642
|
+
"type": "string",
|
|
89643
|
+
"description": "Search query across first name, last name, and email"
|
|
89644
|
+
},
|
|
89645
|
+
"email_address": {
|
|
89646
|
+
"type": "array",
|
|
89647
|
+
"items": {
|
|
89648
|
+
"type": "string"
|
|
89649
|
+
},
|
|
89650
|
+
"description": "Filter by specific email addresses"
|
|
89651
|
+
},
|
|
89652
|
+
"credentials": {
|
|
89653
|
+
"type": "object",
|
|
89654
|
+
"additionalProperties": {
|
|
89655
|
+
"type": "string"
|
|
89656
|
+
},
|
|
89657
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89658
|
+
}
|
|
89659
|
+
},
|
|
89660
|
+
"required": [
|
|
89661
|
+
"operation"
|
|
89662
|
+
],
|
|
89663
|
+
"additionalProperties": false
|
|
89664
|
+
},
|
|
89665
|
+
{
|
|
89666
|
+
"type": "object",
|
|
89667
|
+
"properties": {
|
|
89668
|
+
"operation": {
|
|
89669
|
+
"type": "string",
|
|
89670
|
+
"enum": [
|
|
89671
|
+
"get_user"
|
|
89672
|
+
],
|
|
89673
|
+
"description": "Get a single user by their ID"
|
|
89674
|
+
},
|
|
89675
|
+
"user_id": {
|
|
89676
|
+
"type": "string",
|
|
89677
|
+
"minLength": 1,
|
|
89678
|
+
"description": "The Clerk user ID (e.g. \"user_abc123\")"
|
|
89679
|
+
},
|
|
89680
|
+
"credentials": {
|
|
89681
|
+
"type": "object",
|
|
89682
|
+
"additionalProperties": {
|
|
89683
|
+
"type": "string"
|
|
89684
|
+
},
|
|
89685
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89686
|
+
}
|
|
89687
|
+
},
|
|
89688
|
+
"required": [
|
|
89689
|
+
"operation",
|
|
89690
|
+
"user_id"
|
|
89691
|
+
],
|
|
89692
|
+
"additionalProperties": false
|
|
89693
|
+
},
|
|
89694
|
+
{
|
|
89695
|
+
"type": "object",
|
|
89696
|
+
"properties": {
|
|
89697
|
+
"operation": {
|
|
89698
|
+
"type": "string",
|
|
89699
|
+
"enum": [
|
|
89700
|
+
"create_user"
|
|
89701
|
+
],
|
|
89702
|
+
"description": "Create a new user in Clerk"
|
|
89703
|
+
},
|
|
89704
|
+
"email_address": {
|
|
89705
|
+
"type": "array",
|
|
89706
|
+
"items": {
|
|
89707
|
+
"type": "string",
|
|
89708
|
+
"format": "email"
|
|
89709
|
+
},
|
|
89710
|
+
"minItems": 1,
|
|
89711
|
+
"description": "Email addresses for the new user"
|
|
89712
|
+
},
|
|
89713
|
+
"first_name": {
|
|
89714
|
+
"type": "string",
|
|
89715
|
+
"description": "First name"
|
|
89716
|
+
},
|
|
89717
|
+
"last_name": {
|
|
89718
|
+
"type": "string",
|
|
89719
|
+
"description": "Last name"
|
|
89720
|
+
},
|
|
89721
|
+
"username": {
|
|
89722
|
+
"type": "string",
|
|
89723
|
+
"description": "Username"
|
|
89724
|
+
},
|
|
89725
|
+
"password": {
|
|
89726
|
+
"type": "string",
|
|
89727
|
+
"description": "Password for the user"
|
|
89728
|
+
},
|
|
89729
|
+
"public_metadata": {
|
|
89730
|
+
"type": "object",
|
|
89731
|
+
"additionalProperties": {},
|
|
89732
|
+
"description": "Public metadata visible to frontend and backend"
|
|
89733
|
+
},
|
|
89734
|
+
"private_metadata": {
|
|
89735
|
+
"type": "object",
|
|
89736
|
+
"additionalProperties": {},
|
|
89737
|
+
"description": "Private metadata visible only to the backend"
|
|
89738
|
+
},
|
|
89739
|
+
"credentials": {
|
|
89740
|
+
"type": "object",
|
|
89741
|
+
"additionalProperties": {
|
|
89742
|
+
"type": "string"
|
|
89743
|
+
},
|
|
89744
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89745
|
+
}
|
|
89746
|
+
},
|
|
89747
|
+
"required": [
|
|
89748
|
+
"operation",
|
|
89749
|
+
"email_address"
|
|
89750
|
+
],
|
|
89751
|
+
"additionalProperties": false
|
|
89752
|
+
},
|
|
89753
|
+
{
|
|
89754
|
+
"type": "object",
|
|
89755
|
+
"properties": {
|
|
89756
|
+
"operation": {
|
|
89757
|
+
"type": "string",
|
|
89758
|
+
"enum": [
|
|
89759
|
+
"update_user"
|
|
89760
|
+
],
|
|
89761
|
+
"description": "Update an existing user"
|
|
89762
|
+
},
|
|
89763
|
+
"user_id": {
|
|
89764
|
+
"type": "string",
|
|
89765
|
+
"minLength": 1,
|
|
89766
|
+
"description": "The Clerk user ID to update"
|
|
89767
|
+
},
|
|
89768
|
+
"first_name": {
|
|
89769
|
+
"type": "string",
|
|
89770
|
+
"description": "Updated first name"
|
|
89771
|
+
},
|
|
89772
|
+
"last_name": {
|
|
89773
|
+
"type": "string",
|
|
89774
|
+
"description": "Updated last name"
|
|
89775
|
+
},
|
|
89776
|
+
"username": {
|
|
89777
|
+
"type": "string",
|
|
89778
|
+
"description": "Updated username"
|
|
89779
|
+
},
|
|
89780
|
+
"public_metadata": {
|
|
89781
|
+
"type": "object",
|
|
89782
|
+
"additionalProperties": {},
|
|
89783
|
+
"description": "Updated public metadata"
|
|
89784
|
+
},
|
|
89785
|
+
"private_metadata": {
|
|
89786
|
+
"type": "object",
|
|
89787
|
+
"additionalProperties": {},
|
|
89788
|
+
"description": "Updated private metadata"
|
|
89789
|
+
},
|
|
89790
|
+
"credentials": {
|
|
89791
|
+
"type": "object",
|
|
89792
|
+
"additionalProperties": {
|
|
89793
|
+
"type": "string"
|
|
89794
|
+
},
|
|
89795
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89796
|
+
}
|
|
89797
|
+
},
|
|
89798
|
+
"required": [
|
|
89799
|
+
"operation",
|
|
89800
|
+
"user_id"
|
|
89801
|
+
],
|
|
89802
|
+
"additionalProperties": false
|
|
89803
|
+
},
|
|
89804
|
+
{
|
|
89805
|
+
"type": "object",
|
|
89806
|
+
"properties": {
|
|
89807
|
+
"operation": {
|
|
89808
|
+
"type": "string",
|
|
89809
|
+
"enum": [
|
|
89810
|
+
"delete_user"
|
|
89811
|
+
],
|
|
89812
|
+
"description": "Delete a user by ID"
|
|
89813
|
+
},
|
|
89814
|
+
"user_id": {
|
|
89815
|
+
"type": "string",
|
|
89816
|
+
"minLength": 1,
|
|
89817
|
+
"description": "The Clerk user ID to delete"
|
|
89818
|
+
},
|
|
89819
|
+
"credentials": {
|
|
89820
|
+
"type": "object",
|
|
89821
|
+
"additionalProperties": {
|
|
89822
|
+
"type": "string"
|
|
89823
|
+
},
|
|
89824
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89825
|
+
}
|
|
89826
|
+
},
|
|
89827
|
+
"required": [
|
|
89828
|
+
"operation",
|
|
89829
|
+
"user_id"
|
|
89830
|
+
],
|
|
89831
|
+
"additionalProperties": false
|
|
89832
|
+
},
|
|
89833
|
+
{
|
|
89834
|
+
"type": "object",
|
|
89835
|
+
"properties": {
|
|
89836
|
+
"operation": {
|
|
89837
|
+
"type": "string",
|
|
89838
|
+
"enum": [
|
|
89839
|
+
"ban_user"
|
|
89840
|
+
],
|
|
89841
|
+
"description": "Ban a user, preventing them from signing in"
|
|
89842
|
+
},
|
|
89843
|
+
"user_id": {
|
|
89844
|
+
"type": "string",
|
|
89845
|
+
"minLength": 1,
|
|
89846
|
+
"description": "The Clerk user ID to ban"
|
|
89847
|
+
},
|
|
89848
|
+
"credentials": {
|
|
89849
|
+
"type": "object",
|
|
89850
|
+
"additionalProperties": {
|
|
89851
|
+
"type": "string"
|
|
89852
|
+
},
|
|
89853
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89854
|
+
}
|
|
89855
|
+
},
|
|
89856
|
+
"required": [
|
|
89857
|
+
"operation",
|
|
89858
|
+
"user_id"
|
|
89859
|
+
],
|
|
89860
|
+
"additionalProperties": false
|
|
89861
|
+
},
|
|
89862
|
+
{
|
|
89863
|
+
"type": "object",
|
|
89864
|
+
"properties": {
|
|
89865
|
+
"operation": {
|
|
89866
|
+
"type": "string",
|
|
89867
|
+
"enum": [
|
|
89868
|
+
"unban_user"
|
|
89869
|
+
],
|
|
89870
|
+
"description": "Unban a previously banned user"
|
|
89871
|
+
},
|
|
89872
|
+
"user_id": {
|
|
89873
|
+
"type": "string",
|
|
89874
|
+
"minLength": 1,
|
|
89875
|
+
"description": "The Clerk user ID to unban"
|
|
89876
|
+
},
|
|
89877
|
+
"credentials": {
|
|
89878
|
+
"type": "object",
|
|
89879
|
+
"additionalProperties": {
|
|
89880
|
+
"type": "string"
|
|
89881
|
+
},
|
|
89882
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89883
|
+
}
|
|
89884
|
+
},
|
|
89885
|
+
"required": [
|
|
89886
|
+
"operation",
|
|
89887
|
+
"user_id"
|
|
89888
|
+
],
|
|
89889
|
+
"additionalProperties": false
|
|
89890
|
+
},
|
|
89891
|
+
{
|
|
89892
|
+
"type": "object",
|
|
89893
|
+
"properties": {
|
|
89894
|
+
"operation": {
|
|
89895
|
+
"type": "string",
|
|
89896
|
+
"enum": [
|
|
89897
|
+
"list_organizations"
|
|
89898
|
+
],
|
|
89899
|
+
"description": "List all organizations"
|
|
89900
|
+
},
|
|
89901
|
+
"limit": {
|
|
89902
|
+
"type": "integer",
|
|
89903
|
+
"minimum": 1,
|
|
89904
|
+
"maximum": 500,
|
|
89905
|
+
"default": 10,
|
|
89906
|
+
"description": "Maximum number of organizations to return"
|
|
89907
|
+
},
|
|
89908
|
+
"offset": {
|
|
89909
|
+
"type": "integer",
|
|
89910
|
+
"minimum": 0,
|
|
89911
|
+
"default": 0,
|
|
89912
|
+
"description": "Number of organizations to skip for pagination"
|
|
89913
|
+
},
|
|
89914
|
+
"credentials": {
|
|
89915
|
+
"type": "object",
|
|
89916
|
+
"additionalProperties": {
|
|
89917
|
+
"type": "string"
|
|
89918
|
+
},
|
|
89919
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89920
|
+
}
|
|
89921
|
+
},
|
|
89922
|
+
"required": [
|
|
89923
|
+
"operation"
|
|
89924
|
+
],
|
|
89925
|
+
"additionalProperties": false
|
|
89926
|
+
},
|
|
89927
|
+
{
|
|
89928
|
+
"type": "object",
|
|
89929
|
+
"properties": {
|
|
89930
|
+
"operation": {
|
|
89931
|
+
"type": "string",
|
|
89932
|
+
"enum": [
|
|
89933
|
+
"get_organization"
|
|
89934
|
+
],
|
|
89935
|
+
"description": "Get a single organization by ID or slug"
|
|
89936
|
+
},
|
|
89937
|
+
"organization_id": {
|
|
89938
|
+
"type": "string",
|
|
89939
|
+
"minLength": 1,
|
|
89940
|
+
"description": "Organization ID or slug"
|
|
89941
|
+
},
|
|
89942
|
+
"credentials": {
|
|
89943
|
+
"type": "object",
|
|
89944
|
+
"additionalProperties": {
|
|
89945
|
+
"type": "string"
|
|
89946
|
+
},
|
|
89947
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89948
|
+
}
|
|
89949
|
+
},
|
|
89950
|
+
"required": [
|
|
89951
|
+
"operation",
|
|
89952
|
+
"organization_id"
|
|
89953
|
+
],
|
|
89954
|
+
"additionalProperties": false
|
|
89955
|
+
},
|
|
89956
|
+
{
|
|
89957
|
+
"type": "object",
|
|
89958
|
+
"properties": {
|
|
89959
|
+
"operation": {
|
|
89960
|
+
"type": "string",
|
|
89961
|
+
"enum": [
|
|
89962
|
+
"create_organization"
|
|
89963
|
+
],
|
|
89964
|
+
"description": "Create a new organization"
|
|
89965
|
+
},
|
|
89966
|
+
"name": {
|
|
89967
|
+
"type": "string",
|
|
89968
|
+
"minLength": 1,
|
|
89969
|
+
"description": "Organization name"
|
|
89970
|
+
},
|
|
89971
|
+
"slug": {
|
|
89972
|
+
"type": "string",
|
|
89973
|
+
"description": "URL-friendly slug"
|
|
89974
|
+
},
|
|
89975
|
+
"created_by": {
|
|
89976
|
+
"type": "string",
|
|
89977
|
+
"description": "User ID of the organization creator"
|
|
89978
|
+
},
|
|
89979
|
+
"public_metadata": {
|
|
89980
|
+
"type": "object",
|
|
89981
|
+
"additionalProperties": {},
|
|
89982
|
+
"description": "Public metadata for the organization"
|
|
89983
|
+
},
|
|
89984
|
+
"private_metadata": {
|
|
89985
|
+
"type": "object",
|
|
89986
|
+
"additionalProperties": {},
|
|
89987
|
+
"description": "Private metadata for the organization"
|
|
89988
|
+
},
|
|
89989
|
+
"max_allowed_memberships": {
|
|
89990
|
+
"type": "integer",
|
|
89991
|
+
"description": "Maximum number of members allowed"
|
|
89992
|
+
},
|
|
89993
|
+
"credentials": {
|
|
89994
|
+
"type": "object",
|
|
89995
|
+
"additionalProperties": {
|
|
89996
|
+
"type": "string"
|
|
89997
|
+
},
|
|
89998
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
89999
|
+
}
|
|
90000
|
+
},
|
|
90001
|
+
"required": [
|
|
90002
|
+
"operation",
|
|
90003
|
+
"name"
|
|
90004
|
+
],
|
|
90005
|
+
"additionalProperties": false
|
|
90006
|
+
},
|
|
90007
|
+
{
|
|
90008
|
+
"type": "object",
|
|
90009
|
+
"properties": {
|
|
90010
|
+
"operation": {
|
|
90011
|
+
"type": "string",
|
|
90012
|
+
"enum": [
|
|
90013
|
+
"update_organization"
|
|
90014
|
+
],
|
|
90015
|
+
"description": "Update an existing organization"
|
|
90016
|
+
},
|
|
90017
|
+
"organization_id": {
|
|
90018
|
+
"type": "string",
|
|
90019
|
+
"minLength": 1,
|
|
90020
|
+
"description": "Organization ID or slug to update"
|
|
90021
|
+
},
|
|
90022
|
+
"name": {
|
|
90023
|
+
"type": "string",
|
|
90024
|
+
"description": "Updated organization name"
|
|
90025
|
+
},
|
|
90026
|
+
"slug": {
|
|
90027
|
+
"type": "string",
|
|
90028
|
+
"description": "Updated slug"
|
|
90029
|
+
},
|
|
90030
|
+
"public_metadata": {
|
|
90031
|
+
"type": "object",
|
|
90032
|
+
"additionalProperties": {},
|
|
90033
|
+
"description": "Updated public metadata"
|
|
90034
|
+
},
|
|
90035
|
+
"private_metadata": {
|
|
90036
|
+
"type": "object",
|
|
90037
|
+
"additionalProperties": {},
|
|
90038
|
+
"description": "Updated private metadata"
|
|
90039
|
+
},
|
|
90040
|
+
"max_allowed_memberships": {
|
|
90041
|
+
"type": "integer",
|
|
90042
|
+
"description": "Updated max allowed memberships"
|
|
90043
|
+
},
|
|
90044
|
+
"credentials": {
|
|
90045
|
+
"type": "object",
|
|
90046
|
+
"additionalProperties": {
|
|
90047
|
+
"type": "string"
|
|
90048
|
+
},
|
|
90049
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90050
|
+
}
|
|
90051
|
+
},
|
|
90052
|
+
"required": [
|
|
90053
|
+
"operation",
|
|
90054
|
+
"organization_id"
|
|
90055
|
+
],
|
|
90056
|
+
"additionalProperties": false
|
|
90057
|
+
},
|
|
90058
|
+
{
|
|
90059
|
+
"type": "object",
|
|
90060
|
+
"properties": {
|
|
90061
|
+
"operation": {
|
|
90062
|
+
"type": "string",
|
|
90063
|
+
"enum": [
|
|
90064
|
+
"delete_organization"
|
|
90065
|
+
],
|
|
90066
|
+
"description": "Delete an organization by ID or slug"
|
|
90067
|
+
},
|
|
90068
|
+
"organization_id": {
|
|
90069
|
+
"type": "string",
|
|
90070
|
+
"minLength": 1,
|
|
90071
|
+
"description": "Organization ID or slug to delete"
|
|
90072
|
+
},
|
|
90073
|
+
"credentials": {
|
|
90074
|
+
"type": "object",
|
|
90075
|
+
"additionalProperties": {
|
|
90076
|
+
"type": "string"
|
|
90077
|
+
},
|
|
90078
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90079
|
+
}
|
|
90080
|
+
},
|
|
90081
|
+
"required": [
|
|
90082
|
+
"operation",
|
|
90083
|
+
"organization_id"
|
|
90084
|
+
],
|
|
90085
|
+
"additionalProperties": false
|
|
90086
|
+
},
|
|
90087
|
+
{
|
|
90088
|
+
"type": "object",
|
|
90089
|
+
"properties": {
|
|
90090
|
+
"operation": {
|
|
90091
|
+
"type": "string",
|
|
90092
|
+
"enum": [
|
|
90093
|
+
"list_organization_memberships"
|
|
90094
|
+
],
|
|
90095
|
+
"description": "List memberships for an organization"
|
|
90096
|
+
},
|
|
90097
|
+
"organization_id": {
|
|
90098
|
+
"type": "string",
|
|
90099
|
+
"minLength": 1,
|
|
90100
|
+
"description": "Organization ID to list memberships for"
|
|
90101
|
+
},
|
|
90102
|
+
"limit": {
|
|
90103
|
+
"type": "integer",
|
|
90104
|
+
"minimum": 1,
|
|
90105
|
+
"maximum": 500,
|
|
90106
|
+
"default": 10,
|
|
90107
|
+
"description": "Maximum number of memberships to return"
|
|
90108
|
+
},
|
|
90109
|
+
"offset": {
|
|
90110
|
+
"type": "integer",
|
|
90111
|
+
"minimum": 0,
|
|
90112
|
+
"default": 0,
|
|
90113
|
+
"description": "Number of memberships to skip for pagination"
|
|
90114
|
+
},
|
|
90115
|
+
"credentials": {
|
|
90116
|
+
"type": "object",
|
|
90117
|
+
"additionalProperties": {
|
|
90118
|
+
"type": "string"
|
|
90119
|
+
},
|
|
90120
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90121
|
+
}
|
|
90122
|
+
},
|
|
90123
|
+
"required": [
|
|
90124
|
+
"operation",
|
|
90125
|
+
"organization_id"
|
|
90126
|
+
],
|
|
90127
|
+
"additionalProperties": false
|
|
90128
|
+
},
|
|
90129
|
+
{
|
|
90130
|
+
"type": "object",
|
|
90131
|
+
"properties": {
|
|
90132
|
+
"operation": {
|
|
90133
|
+
"type": "string",
|
|
90134
|
+
"enum": [
|
|
90135
|
+
"list_invitations"
|
|
90136
|
+
],
|
|
90137
|
+
"description": "List all pending invitations"
|
|
90138
|
+
},
|
|
90139
|
+
"limit": {
|
|
90140
|
+
"type": "integer",
|
|
90141
|
+
"minimum": 1,
|
|
90142
|
+
"maximum": 500,
|
|
90143
|
+
"default": 10,
|
|
90144
|
+
"description": "Maximum number of invitations to return"
|
|
90145
|
+
},
|
|
90146
|
+
"offset": {
|
|
90147
|
+
"type": "integer",
|
|
90148
|
+
"minimum": 0,
|
|
90149
|
+
"default": 0,
|
|
90150
|
+
"description": "Number of invitations to skip for pagination"
|
|
90151
|
+
},
|
|
90152
|
+
"credentials": {
|
|
90153
|
+
"type": "object",
|
|
90154
|
+
"additionalProperties": {
|
|
90155
|
+
"type": "string"
|
|
90156
|
+
},
|
|
90157
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90158
|
+
}
|
|
90159
|
+
},
|
|
90160
|
+
"required": [
|
|
90161
|
+
"operation"
|
|
90162
|
+
],
|
|
90163
|
+
"additionalProperties": false
|
|
90164
|
+
},
|
|
90165
|
+
{
|
|
90166
|
+
"type": "object",
|
|
90167
|
+
"properties": {
|
|
90168
|
+
"operation": {
|
|
90169
|
+
"type": "string",
|
|
90170
|
+
"enum": [
|
|
90171
|
+
"create_invitation"
|
|
90172
|
+
],
|
|
90173
|
+
"description": "Create an invitation to sign up"
|
|
90174
|
+
},
|
|
90175
|
+
"email_address": {
|
|
90176
|
+
"type": "string",
|
|
90177
|
+
"format": "email",
|
|
90178
|
+
"description": "Email address to invite"
|
|
90179
|
+
},
|
|
90180
|
+
"redirect_url": {
|
|
90181
|
+
"type": "string",
|
|
90182
|
+
"format": "uri",
|
|
90183
|
+
"description": "URL to redirect to after the invitation is accepted"
|
|
90184
|
+
},
|
|
90185
|
+
"public_metadata": {
|
|
90186
|
+
"type": "object",
|
|
90187
|
+
"additionalProperties": {},
|
|
90188
|
+
"description": "Public metadata for the invitation"
|
|
90189
|
+
},
|
|
90190
|
+
"credentials": {
|
|
90191
|
+
"type": "object",
|
|
90192
|
+
"additionalProperties": {
|
|
90193
|
+
"type": "string"
|
|
90194
|
+
},
|
|
90195
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90196
|
+
}
|
|
90197
|
+
},
|
|
90198
|
+
"required": [
|
|
90199
|
+
"operation",
|
|
90200
|
+
"email_address"
|
|
90201
|
+
],
|
|
90202
|
+
"additionalProperties": false
|
|
90203
|
+
},
|
|
90204
|
+
{
|
|
90205
|
+
"type": "object",
|
|
90206
|
+
"properties": {
|
|
90207
|
+
"operation": {
|
|
90208
|
+
"type": "string",
|
|
90209
|
+
"enum": [
|
|
90210
|
+
"revoke_invitation"
|
|
90211
|
+
],
|
|
90212
|
+
"description": "Revoke a pending invitation"
|
|
90213
|
+
},
|
|
90214
|
+
"invitation_id": {
|
|
90215
|
+
"type": "string",
|
|
90216
|
+
"minLength": 1,
|
|
90217
|
+
"description": "The invitation ID to revoke (e.g. \"inv_abc123\")"
|
|
90218
|
+
},
|
|
90219
|
+
"credentials": {
|
|
90220
|
+
"type": "object",
|
|
90221
|
+
"additionalProperties": {
|
|
90222
|
+
"type": "string"
|
|
90223
|
+
},
|
|
90224
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90225
|
+
}
|
|
90226
|
+
},
|
|
90227
|
+
"required": [
|
|
90228
|
+
"operation",
|
|
90229
|
+
"invitation_id"
|
|
90230
|
+
],
|
|
90231
|
+
"additionalProperties": false
|
|
90232
|
+
},
|
|
90233
|
+
{
|
|
90234
|
+
"type": "object",
|
|
90235
|
+
"properties": {
|
|
90236
|
+
"operation": {
|
|
90237
|
+
"type": "string",
|
|
90238
|
+
"enum": [
|
|
90239
|
+
"list_sessions"
|
|
90240
|
+
],
|
|
90241
|
+
"description": "List sessions, optionally filtered by user"
|
|
90242
|
+
},
|
|
90243
|
+
"user_id": {
|
|
90244
|
+
"type": "string",
|
|
90245
|
+
"description": "Filter sessions by user ID"
|
|
90246
|
+
},
|
|
90247
|
+
"status": {
|
|
90248
|
+
"type": "string",
|
|
90249
|
+
"enum": [
|
|
90250
|
+
"active",
|
|
90251
|
+
"ended",
|
|
90252
|
+
"expired",
|
|
90253
|
+
"removed",
|
|
90254
|
+
"replaced",
|
|
90255
|
+
"revoked",
|
|
90256
|
+
"abandoned"
|
|
90257
|
+
],
|
|
90258
|
+
"description": "Filter by session status"
|
|
90259
|
+
},
|
|
90260
|
+
"limit": {
|
|
90261
|
+
"type": "integer",
|
|
90262
|
+
"minimum": 1,
|
|
90263
|
+
"maximum": 500,
|
|
90264
|
+
"default": 10,
|
|
90265
|
+
"description": "Maximum number of sessions to return"
|
|
90266
|
+
},
|
|
90267
|
+
"offset": {
|
|
90268
|
+
"type": "integer",
|
|
90269
|
+
"minimum": 0,
|
|
90270
|
+
"default": 0,
|
|
90271
|
+
"description": "Number of sessions to skip for pagination"
|
|
90272
|
+
},
|
|
90273
|
+
"credentials": {
|
|
90274
|
+
"type": "object",
|
|
90275
|
+
"additionalProperties": {
|
|
90276
|
+
"type": "string"
|
|
90277
|
+
},
|
|
90278
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90279
|
+
}
|
|
90280
|
+
},
|
|
90281
|
+
"required": [
|
|
90282
|
+
"operation"
|
|
90283
|
+
],
|
|
90284
|
+
"additionalProperties": false
|
|
90285
|
+
},
|
|
90286
|
+
{
|
|
90287
|
+
"type": "object",
|
|
90288
|
+
"properties": {
|
|
90289
|
+
"operation": {
|
|
90290
|
+
"type": "string",
|
|
90291
|
+
"enum": [
|
|
90292
|
+
"revoke_session"
|
|
90293
|
+
],
|
|
90294
|
+
"description": "Revoke an active session"
|
|
90295
|
+
},
|
|
90296
|
+
"session_id": {
|
|
90297
|
+
"type": "string",
|
|
90298
|
+
"minLength": 1,
|
|
90299
|
+
"description": "The session ID to revoke"
|
|
90300
|
+
},
|
|
90301
|
+
"credentials": {
|
|
90302
|
+
"type": "object",
|
|
90303
|
+
"additionalProperties": {
|
|
90304
|
+
"type": "string"
|
|
90305
|
+
},
|
|
90306
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90307
|
+
}
|
|
90308
|
+
},
|
|
90309
|
+
"required": [
|
|
90310
|
+
"operation",
|
|
90311
|
+
"session_id"
|
|
90312
|
+
],
|
|
90313
|
+
"additionalProperties": false
|
|
90314
|
+
},
|
|
90315
|
+
{
|
|
90316
|
+
"type": "object",
|
|
90317
|
+
"properties": {
|
|
90318
|
+
"operation": {
|
|
90319
|
+
"type": "string",
|
|
90320
|
+
"enum": [
|
|
90321
|
+
"get_user_subscription"
|
|
90322
|
+
],
|
|
90323
|
+
"description": "Get a user's billing subscription status"
|
|
90324
|
+
},
|
|
90325
|
+
"user_id": {
|
|
90326
|
+
"type": "string",
|
|
90327
|
+
"minLength": 1,
|
|
90328
|
+
"description": "The user ID to get subscription info for"
|
|
90329
|
+
},
|
|
90330
|
+
"credentials": {
|
|
90331
|
+
"type": "object",
|
|
90332
|
+
"additionalProperties": {
|
|
90333
|
+
"type": "string"
|
|
90334
|
+
},
|
|
90335
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90336
|
+
}
|
|
90337
|
+
},
|
|
90338
|
+
"required": [
|
|
90339
|
+
"operation",
|
|
90340
|
+
"user_id"
|
|
90341
|
+
],
|
|
90342
|
+
"additionalProperties": false
|
|
90343
|
+
},
|
|
90344
|
+
{
|
|
90345
|
+
"type": "object",
|
|
90346
|
+
"properties": {
|
|
90347
|
+
"operation": {
|
|
90348
|
+
"type": "string",
|
|
90349
|
+
"enum": [
|
|
90350
|
+
"get_organization_subscription"
|
|
90351
|
+
],
|
|
90352
|
+
"description": "Get an organization's billing subscription status"
|
|
90353
|
+
},
|
|
90354
|
+
"organization_id": {
|
|
90355
|
+
"type": "string",
|
|
90356
|
+
"minLength": 1,
|
|
90357
|
+
"description": "The organization ID to get subscription info for"
|
|
90358
|
+
},
|
|
90359
|
+
"credentials": {
|
|
90360
|
+
"type": "object",
|
|
90361
|
+
"additionalProperties": {
|
|
90362
|
+
"type": "string"
|
|
90363
|
+
},
|
|
90364
|
+
"description": "Object mapping credential types to values (injected at runtime)"
|
|
90365
|
+
}
|
|
90366
|
+
},
|
|
90367
|
+
"required": [
|
|
90368
|
+
"operation",
|
|
90369
|
+
"organization_id"
|
|
90370
|
+
],
|
|
90371
|
+
"additionalProperties": false
|
|
90372
|
+
}
|
|
90373
|
+
]
|
|
90374
|
+
},
|
|
90375
|
+
"outputJsonSchema": {
|
|
90376
|
+
"anyOf": [
|
|
90377
|
+
{
|
|
90378
|
+
"type": "object",
|
|
90379
|
+
"properties": {
|
|
90380
|
+
"operation": {
|
|
90381
|
+
"type": "string",
|
|
90382
|
+
"enum": [
|
|
90383
|
+
"list_users"
|
|
90384
|
+
]
|
|
90385
|
+
},
|
|
90386
|
+
"users": {
|
|
90387
|
+
"type": "array",
|
|
90388
|
+
"items": {
|
|
90389
|
+
"type": "object",
|
|
90390
|
+
"additionalProperties": {}
|
|
90391
|
+
}
|
|
90392
|
+
},
|
|
90393
|
+
"total_count": {
|
|
90394
|
+
"type": "number"
|
|
90395
|
+
},
|
|
90396
|
+
"success": {
|
|
90397
|
+
"type": "boolean"
|
|
90398
|
+
},
|
|
90399
|
+
"error": {
|
|
90400
|
+
"type": "string"
|
|
90401
|
+
}
|
|
90402
|
+
},
|
|
90403
|
+
"required": [
|
|
90404
|
+
"operation",
|
|
90405
|
+
"success",
|
|
90406
|
+
"error"
|
|
90407
|
+
],
|
|
90408
|
+
"additionalProperties": false
|
|
90409
|
+
},
|
|
90410
|
+
{
|
|
90411
|
+
"type": "object",
|
|
90412
|
+
"properties": {
|
|
90413
|
+
"operation": {
|
|
90414
|
+
"type": "string",
|
|
90415
|
+
"enum": [
|
|
90416
|
+
"get_user"
|
|
90417
|
+
]
|
|
90418
|
+
},
|
|
90419
|
+
"user": {
|
|
90420
|
+
"type": "object",
|
|
90421
|
+
"additionalProperties": {}
|
|
90422
|
+
},
|
|
90423
|
+
"success": {
|
|
90424
|
+
"type": "boolean"
|
|
90425
|
+
},
|
|
90426
|
+
"error": {
|
|
90427
|
+
"type": "string"
|
|
90428
|
+
}
|
|
90429
|
+
},
|
|
90430
|
+
"required": [
|
|
90431
|
+
"operation",
|
|
90432
|
+
"success",
|
|
90433
|
+
"error"
|
|
90434
|
+
],
|
|
90435
|
+
"additionalProperties": false
|
|
90436
|
+
},
|
|
90437
|
+
{
|
|
90438
|
+
"type": "object",
|
|
90439
|
+
"properties": {
|
|
90440
|
+
"operation": {
|
|
90441
|
+
"type": "string",
|
|
90442
|
+
"enum": [
|
|
90443
|
+
"create_user"
|
|
90444
|
+
]
|
|
90445
|
+
},
|
|
90446
|
+
"user": {
|
|
90447
|
+
"type": "object",
|
|
90448
|
+
"additionalProperties": {}
|
|
90449
|
+
},
|
|
90450
|
+
"success": {
|
|
90451
|
+
"type": "boolean"
|
|
90452
|
+
},
|
|
90453
|
+
"error": {
|
|
90454
|
+
"type": "string"
|
|
90455
|
+
}
|
|
90456
|
+
},
|
|
90457
|
+
"required": [
|
|
90458
|
+
"operation",
|
|
90459
|
+
"success",
|
|
90460
|
+
"error"
|
|
90461
|
+
],
|
|
90462
|
+
"additionalProperties": false
|
|
90463
|
+
},
|
|
90464
|
+
{
|
|
90465
|
+
"type": "object",
|
|
90466
|
+
"properties": {
|
|
90467
|
+
"operation": {
|
|
90468
|
+
"type": "string",
|
|
90469
|
+
"enum": [
|
|
90470
|
+
"update_user"
|
|
90471
|
+
]
|
|
90472
|
+
},
|
|
90473
|
+
"user": {
|
|
90474
|
+
"type": "object",
|
|
90475
|
+
"additionalProperties": {}
|
|
90476
|
+
},
|
|
90477
|
+
"success": {
|
|
90478
|
+
"type": "boolean"
|
|
90479
|
+
},
|
|
90480
|
+
"error": {
|
|
90481
|
+
"type": "string"
|
|
90482
|
+
}
|
|
90483
|
+
},
|
|
90484
|
+
"required": [
|
|
90485
|
+
"operation",
|
|
90486
|
+
"success",
|
|
90487
|
+
"error"
|
|
90488
|
+
],
|
|
90489
|
+
"additionalProperties": false
|
|
90490
|
+
},
|
|
90491
|
+
{
|
|
90492
|
+
"type": "object",
|
|
90493
|
+
"properties": {
|
|
90494
|
+
"operation": {
|
|
90495
|
+
"type": "string",
|
|
90496
|
+
"enum": [
|
|
90497
|
+
"delete_user"
|
|
90498
|
+
]
|
|
90499
|
+
},
|
|
90500
|
+
"success": {
|
|
90501
|
+
"type": "boolean"
|
|
90502
|
+
},
|
|
90503
|
+
"error": {
|
|
90504
|
+
"type": "string"
|
|
90505
|
+
}
|
|
90506
|
+
},
|
|
90507
|
+
"required": [
|
|
90508
|
+
"operation",
|
|
90509
|
+
"success",
|
|
90510
|
+
"error"
|
|
90511
|
+
],
|
|
90512
|
+
"additionalProperties": false
|
|
90513
|
+
},
|
|
90514
|
+
{
|
|
90515
|
+
"type": "object",
|
|
90516
|
+
"properties": {
|
|
90517
|
+
"operation": {
|
|
90518
|
+
"type": "string",
|
|
90519
|
+
"enum": [
|
|
90520
|
+
"ban_user"
|
|
90521
|
+
]
|
|
90522
|
+
},
|
|
90523
|
+
"user": {
|
|
90524
|
+
"type": "object",
|
|
90525
|
+
"additionalProperties": {}
|
|
90526
|
+
},
|
|
90527
|
+
"success": {
|
|
90528
|
+
"type": "boolean"
|
|
90529
|
+
},
|
|
90530
|
+
"error": {
|
|
90531
|
+
"type": "string"
|
|
90532
|
+
}
|
|
90533
|
+
},
|
|
90534
|
+
"required": [
|
|
90535
|
+
"operation",
|
|
90536
|
+
"success",
|
|
90537
|
+
"error"
|
|
90538
|
+
],
|
|
90539
|
+
"additionalProperties": false
|
|
90540
|
+
},
|
|
90541
|
+
{
|
|
90542
|
+
"type": "object",
|
|
90543
|
+
"properties": {
|
|
90544
|
+
"operation": {
|
|
90545
|
+
"type": "string",
|
|
90546
|
+
"enum": [
|
|
90547
|
+
"unban_user"
|
|
90548
|
+
]
|
|
90549
|
+
},
|
|
90550
|
+
"user": {
|
|
90551
|
+
"type": "object",
|
|
90552
|
+
"additionalProperties": {}
|
|
90553
|
+
},
|
|
90554
|
+
"success": {
|
|
90555
|
+
"type": "boolean"
|
|
90556
|
+
},
|
|
90557
|
+
"error": {
|
|
90558
|
+
"type": "string"
|
|
90559
|
+
}
|
|
90560
|
+
},
|
|
90561
|
+
"required": [
|
|
90562
|
+
"operation",
|
|
90563
|
+
"success",
|
|
90564
|
+
"error"
|
|
90565
|
+
],
|
|
90566
|
+
"additionalProperties": false
|
|
90567
|
+
},
|
|
90568
|
+
{
|
|
90569
|
+
"type": "object",
|
|
90570
|
+
"properties": {
|
|
90571
|
+
"operation": {
|
|
90572
|
+
"type": "string",
|
|
90573
|
+
"enum": [
|
|
90574
|
+
"list_organizations"
|
|
90575
|
+
]
|
|
90576
|
+
},
|
|
90577
|
+
"organizations": {
|
|
90578
|
+
"type": "array",
|
|
90579
|
+
"items": {
|
|
90580
|
+
"type": "object",
|
|
90581
|
+
"additionalProperties": {}
|
|
90582
|
+
}
|
|
90583
|
+
},
|
|
90584
|
+
"total_count": {
|
|
90585
|
+
"type": "number"
|
|
90586
|
+
},
|
|
90587
|
+
"success": {
|
|
90588
|
+
"type": "boolean"
|
|
90589
|
+
},
|
|
90590
|
+
"error": {
|
|
90591
|
+
"type": "string"
|
|
90592
|
+
}
|
|
90593
|
+
},
|
|
90594
|
+
"required": [
|
|
90595
|
+
"operation",
|
|
90596
|
+
"success",
|
|
90597
|
+
"error"
|
|
90598
|
+
],
|
|
90599
|
+
"additionalProperties": false
|
|
90600
|
+
},
|
|
90601
|
+
{
|
|
90602
|
+
"type": "object",
|
|
90603
|
+
"properties": {
|
|
90604
|
+
"operation": {
|
|
90605
|
+
"type": "string",
|
|
90606
|
+
"enum": [
|
|
90607
|
+
"get_organization"
|
|
90608
|
+
]
|
|
90609
|
+
},
|
|
90610
|
+
"organization": {
|
|
90611
|
+
"type": "object",
|
|
90612
|
+
"additionalProperties": {}
|
|
90613
|
+
},
|
|
90614
|
+
"success": {
|
|
90615
|
+
"type": "boolean"
|
|
90616
|
+
},
|
|
90617
|
+
"error": {
|
|
90618
|
+
"type": "string"
|
|
90619
|
+
}
|
|
90620
|
+
},
|
|
90621
|
+
"required": [
|
|
90622
|
+
"operation",
|
|
90623
|
+
"success",
|
|
90624
|
+
"error"
|
|
90625
|
+
],
|
|
90626
|
+
"additionalProperties": false
|
|
90627
|
+
},
|
|
90628
|
+
{
|
|
90629
|
+
"type": "object",
|
|
90630
|
+
"properties": {
|
|
90631
|
+
"operation": {
|
|
90632
|
+
"type": "string",
|
|
90633
|
+
"enum": [
|
|
90634
|
+
"create_organization"
|
|
90635
|
+
]
|
|
90636
|
+
},
|
|
90637
|
+
"organization": {
|
|
90638
|
+
"type": "object",
|
|
90639
|
+
"additionalProperties": {}
|
|
90640
|
+
},
|
|
90641
|
+
"success": {
|
|
90642
|
+
"type": "boolean"
|
|
90643
|
+
},
|
|
90644
|
+
"error": {
|
|
90645
|
+
"type": "string"
|
|
90646
|
+
}
|
|
90647
|
+
},
|
|
90648
|
+
"required": [
|
|
90649
|
+
"operation",
|
|
90650
|
+
"success",
|
|
90651
|
+
"error"
|
|
90652
|
+
],
|
|
90653
|
+
"additionalProperties": false
|
|
90654
|
+
},
|
|
90655
|
+
{
|
|
90656
|
+
"type": "object",
|
|
90657
|
+
"properties": {
|
|
90658
|
+
"operation": {
|
|
90659
|
+
"type": "string",
|
|
90660
|
+
"enum": [
|
|
90661
|
+
"update_organization"
|
|
90662
|
+
]
|
|
90663
|
+
},
|
|
90664
|
+
"organization": {
|
|
90665
|
+
"type": "object",
|
|
90666
|
+
"additionalProperties": {}
|
|
90667
|
+
},
|
|
90668
|
+
"success": {
|
|
90669
|
+
"type": "boolean"
|
|
90670
|
+
},
|
|
90671
|
+
"error": {
|
|
90672
|
+
"type": "string"
|
|
90673
|
+
}
|
|
90674
|
+
},
|
|
90675
|
+
"required": [
|
|
90676
|
+
"operation",
|
|
90677
|
+
"success",
|
|
90678
|
+
"error"
|
|
90679
|
+
],
|
|
90680
|
+
"additionalProperties": false
|
|
90681
|
+
},
|
|
90682
|
+
{
|
|
90683
|
+
"type": "object",
|
|
90684
|
+
"properties": {
|
|
90685
|
+
"operation": {
|
|
90686
|
+
"type": "string",
|
|
90687
|
+
"enum": [
|
|
90688
|
+
"delete_organization"
|
|
90689
|
+
]
|
|
90690
|
+
},
|
|
90691
|
+
"success": {
|
|
90692
|
+
"type": "boolean"
|
|
90693
|
+
},
|
|
90694
|
+
"error": {
|
|
90695
|
+
"type": "string"
|
|
90696
|
+
}
|
|
90697
|
+
},
|
|
90698
|
+
"required": [
|
|
90699
|
+
"operation",
|
|
90700
|
+
"success",
|
|
90701
|
+
"error"
|
|
90702
|
+
],
|
|
90703
|
+
"additionalProperties": false
|
|
90704
|
+
},
|
|
90705
|
+
{
|
|
90706
|
+
"type": "object",
|
|
90707
|
+
"properties": {
|
|
90708
|
+
"operation": {
|
|
90709
|
+
"type": "string",
|
|
90710
|
+
"enum": [
|
|
90711
|
+
"list_organization_memberships"
|
|
90712
|
+
]
|
|
90713
|
+
},
|
|
90714
|
+
"memberships": {
|
|
90715
|
+
"type": "array",
|
|
90716
|
+
"items": {
|
|
90717
|
+
"type": "object",
|
|
90718
|
+
"additionalProperties": {}
|
|
90719
|
+
}
|
|
90720
|
+
},
|
|
90721
|
+
"total_count": {
|
|
90722
|
+
"type": "number"
|
|
90723
|
+
},
|
|
90724
|
+
"success": {
|
|
90725
|
+
"type": "boolean"
|
|
90726
|
+
},
|
|
90727
|
+
"error": {
|
|
90728
|
+
"type": "string"
|
|
90729
|
+
}
|
|
90730
|
+
},
|
|
90731
|
+
"required": [
|
|
90732
|
+
"operation",
|
|
90733
|
+
"success",
|
|
90734
|
+
"error"
|
|
90735
|
+
],
|
|
90736
|
+
"additionalProperties": false
|
|
90737
|
+
},
|
|
90738
|
+
{
|
|
90739
|
+
"type": "object",
|
|
90740
|
+
"properties": {
|
|
90741
|
+
"operation": {
|
|
90742
|
+
"type": "string",
|
|
90743
|
+
"enum": [
|
|
90744
|
+
"list_invitations"
|
|
90745
|
+
]
|
|
90746
|
+
},
|
|
90747
|
+
"invitations": {
|
|
90748
|
+
"type": "array",
|
|
90749
|
+
"items": {
|
|
90750
|
+
"type": "object",
|
|
90751
|
+
"additionalProperties": {}
|
|
90752
|
+
}
|
|
90753
|
+
},
|
|
90754
|
+
"total_count": {
|
|
90755
|
+
"type": "number"
|
|
90756
|
+
},
|
|
90757
|
+
"success": {
|
|
90758
|
+
"type": "boolean"
|
|
90759
|
+
},
|
|
90760
|
+
"error": {
|
|
90761
|
+
"type": "string"
|
|
90762
|
+
}
|
|
90763
|
+
},
|
|
90764
|
+
"required": [
|
|
90765
|
+
"operation",
|
|
90766
|
+
"success",
|
|
90767
|
+
"error"
|
|
90768
|
+
],
|
|
90769
|
+
"additionalProperties": false
|
|
90770
|
+
},
|
|
90771
|
+
{
|
|
90772
|
+
"type": "object",
|
|
90773
|
+
"properties": {
|
|
90774
|
+
"operation": {
|
|
90775
|
+
"type": "string",
|
|
90776
|
+
"enum": [
|
|
90777
|
+
"create_invitation"
|
|
90778
|
+
]
|
|
90779
|
+
},
|
|
90780
|
+
"invitation": {
|
|
90781
|
+
"type": "object",
|
|
90782
|
+
"additionalProperties": {}
|
|
90783
|
+
},
|
|
90784
|
+
"success": {
|
|
90785
|
+
"type": "boolean"
|
|
90786
|
+
},
|
|
90787
|
+
"error": {
|
|
90788
|
+
"type": "string"
|
|
90789
|
+
}
|
|
90790
|
+
},
|
|
90791
|
+
"required": [
|
|
90792
|
+
"operation",
|
|
90793
|
+
"success",
|
|
90794
|
+
"error"
|
|
90795
|
+
],
|
|
90796
|
+
"additionalProperties": false
|
|
90797
|
+
},
|
|
90798
|
+
{
|
|
90799
|
+
"type": "object",
|
|
90800
|
+
"properties": {
|
|
90801
|
+
"operation": {
|
|
90802
|
+
"type": "string",
|
|
90803
|
+
"enum": [
|
|
90804
|
+
"revoke_invitation"
|
|
90805
|
+
]
|
|
90806
|
+
},
|
|
90807
|
+
"success": {
|
|
90808
|
+
"type": "boolean"
|
|
90809
|
+
},
|
|
90810
|
+
"error": {
|
|
90811
|
+
"type": "string"
|
|
90812
|
+
}
|
|
90813
|
+
},
|
|
90814
|
+
"required": [
|
|
90815
|
+
"operation",
|
|
90816
|
+
"success",
|
|
90817
|
+
"error"
|
|
90818
|
+
],
|
|
90819
|
+
"additionalProperties": false
|
|
90820
|
+
},
|
|
90821
|
+
{
|
|
90822
|
+
"type": "object",
|
|
90823
|
+
"properties": {
|
|
90824
|
+
"operation": {
|
|
90825
|
+
"type": "string",
|
|
90826
|
+
"enum": [
|
|
90827
|
+
"list_sessions"
|
|
90828
|
+
]
|
|
90829
|
+
},
|
|
90830
|
+
"sessions": {
|
|
90831
|
+
"type": "array",
|
|
90832
|
+
"items": {
|
|
90833
|
+
"type": "object",
|
|
90834
|
+
"additionalProperties": {}
|
|
90835
|
+
}
|
|
90836
|
+
},
|
|
90837
|
+
"total_count": {
|
|
90838
|
+
"type": "number"
|
|
90839
|
+
},
|
|
90840
|
+
"success": {
|
|
90841
|
+
"type": "boolean"
|
|
90842
|
+
},
|
|
90843
|
+
"error": {
|
|
90844
|
+
"type": "string"
|
|
90845
|
+
}
|
|
90846
|
+
},
|
|
90847
|
+
"required": [
|
|
90848
|
+
"operation",
|
|
90849
|
+
"success",
|
|
90850
|
+
"error"
|
|
90851
|
+
],
|
|
90852
|
+
"additionalProperties": false
|
|
90853
|
+
},
|
|
90854
|
+
{
|
|
90855
|
+
"type": "object",
|
|
90856
|
+
"properties": {
|
|
90857
|
+
"operation": {
|
|
90858
|
+
"type": "string",
|
|
90859
|
+
"enum": [
|
|
90860
|
+
"revoke_session"
|
|
90861
|
+
]
|
|
90862
|
+
},
|
|
90863
|
+
"success": {
|
|
90864
|
+
"type": "boolean"
|
|
90865
|
+
},
|
|
90866
|
+
"error": {
|
|
90867
|
+
"type": "string"
|
|
90868
|
+
}
|
|
90869
|
+
},
|
|
90870
|
+
"required": [
|
|
90871
|
+
"operation",
|
|
90872
|
+
"success",
|
|
90873
|
+
"error"
|
|
90874
|
+
],
|
|
90875
|
+
"additionalProperties": false
|
|
90876
|
+
},
|
|
90877
|
+
{
|
|
90878
|
+
"type": "object",
|
|
90879
|
+
"properties": {
|
|
90880
|
+
"operation": {
|
|
90881
|
+
"type": "string",
|
|
90882
|
+
"enum": [
|
|
90883
|
+
"get_user_subscription"
|
|
90884
|
+
]
|
|
90885
|
+
},
|
|
90886
|
+
"subscription": {
|
|
90887
|
+
"type": "object",
|
|
90888
|
+
"additionalProperties": {}
|
|
90889
|
+
},
|
|
90890
|
+
"success": {
|
|
90891
|
+
"type": "boolean"
|
|
90892
|
+
},
|
|
90893
|
+
"error": {
|
|
90894
|
+
"type": "string"
|
|
90895
|
+
}
|
|
90896
|
+
},
|
|
90897
|
+
"required": [
|
|
90898
|
+
"operation",
|
|
90899
|
+
"success",
|
|
90900
|
+
"error"
|
|
90901
|
+
],
|
|
90902
|
+
"additionalProperties": false
|
|
90903
|
+
},
|
|
90904
|
+
{
|
|
90905
|
+
"type": "object",
|
|
90906
|
+
"properties": {
|
|
90907
|
+
"operation": {
|
|
90908
|
+
"type": "string",
|
|
90909
|
+
"enum": [
|
|
90910
|
+
"get_organization_subscription"
|
|
90911
|
+
]
|
|
90912
|
+
},
|
|
90913
|
+
"subscription": {
|
|
90914
|
+
"type": "object",
|
|
90915
|
+
"additionalProperties": {}
|
|
90916
|
+
},
|
|
90917
|
+
"success": {
|
|
90918
|
+
"type": "boolean"
|
|
90919
|
+
},
|
|
90920
|
+
"error": {
|
|
90921
|
+
"type": "string"
|
|
90922
|
+
}
|
|
90923
|
+
},
|
|
90924
|
+
"required": [
|
|
90925
|
+
"operation",
|
|
90926
|
+
"success",
|
|
90927
|
+
"error"
|
|
90928
|
+
],
|
|
90929
|
+
"additionalProperties": false
|
|
90930
|
+
}
|
|
90931
|
+
]
|
|
90932
|
+
},
|
|
90933
|
+
"usageExample": "// List Users example\nconst clerk_list_users = new ClerkBubble({\n operation: \"list_users\", // List users with optional filtering and pagination\n limit: 10 // default, // Maximum number of users to return (1-500)\n offset: 0 // default, // Number of users to skip for pagination\n order_by: \"example string\", // Sort field (e.g. \"-created_at\" for newest first, \"+created_at\" for oldest)\n query: \"example string\", // Search query across first name, last name, and email\n email_address: [\"example string\"], // Filter by specific email addresses\n});\n\nconst result = await clerk_list_users.action();\n// outputSchema for result.data when operation === 'list_users':\n// {\n// operation: \"list_users\",\n// users: Record<string, unknown>[] | undefined,\n// total_count: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Get User example\nconst clerk_get_user = new ClerkBubble({\n operation: \"get_user\", // Get a single user by their ID\n user_id: \"example string\", // The Clerk user ID (e.g. \"user_abc123\")\n});\n\nconst result = await clerk_get_user.action();\n// outputSchema for result.data when operation === 'get_user':\n// {\n// operation: \"get_user\",\n// user: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create User example\nconst clerk_create_user = new ClerkBubble({\n operation: \"create_user\", // Create a new user in Clerk\n email_address: [\"example string\"], // Email addresses for the new user\n first_name: \"example string\", // First name\n last_name: \"example string\", // Last name\n username: \"example string\", // Username\n password: \"example string\", // Password for the user\n public_metadata: {}, // Public metadata visible to frontend and backend\n private_metadata: {}, // Private metadata visible only to the backend\n});\n\nconst result = await clerk_create_user.action();\n// outputSchema for result.data when operation === 'create_user':\n// {\n// operation: \"create_user\",\n// user: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Update User example\nconst clerk_update_user = new ClerkBubble({\n operation: \"update_user\", // Update an existing user\n user_id: \"example string\", // The Clerk user ID to update\n first_name: \"example string\", // Updated first name\n last_name: \"example string\", // Updated last name\n username: \"example string\", // Updated username\n public_metadata: {}, // Updated public metadata\n private_metadata: {}, // Updated private metadata\n});\n\nconst result = await clerk_update_user.action();\n// outputSchema for result.data when operation === 'update_user':\n// {\n// operation: \"update_user\",\n// user: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Delete User example\nconst clerk_delete_user = new ClerkBubble({\n operation: \"delete_user\", // Delete a user by ID\n user_id: \"example string\", // The Clerk user ID to delete\n});\n\nconst result = await clerk_delete_user.action();\n// outputSchema for result.data when operation === 'delete_user':\n// {\n// operation: \"delete_user\",\n// success: boolean,\n// error: string\n// }\n\n\n// Ban User example\nconst clerk_ban_user = new ClerkBubble({\n operation: \"ban_user\", // Ban a user, preventing them from signing in\n user_id: \"example string\", // The Clerk user ID to ban\n});\n\nconst result = await clerk_ban_user.action();\n// outputSchema for result.data when operation === 'ban_user':\n// {\n// operation: \"ban_user\",\n// user: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Unban User example\nconst clerk_unban_user = new ClerkBubble({\n operation: \"unban_user\", // Unban a previously banned user\n user_id: \"example string\", // The Clerk user ID to unban\n});\n\nconst result = await clerk_unban_user.action();\n// outputSchema for result.data when operation === 'unban_user':\n// {\n// operation: \"unban_user\",\n// user: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// List Organizations example\nconst clerk_list_organizations = new ClerkBubble({\n operation: \"list_organizations\", // List all organizations\n limit: 10 // default, // Maximum number of organizations to return\n offset: 0 // default, // Number of organizations to skip for pagination\n});\n\nconst result = await clerk_list_organizations.action();\n// outputSchema for result.data when operation === 'list_organizations':\n// {\n// operation: \"list_organizations\",\n// organizations: Record<string, unknown>[] | undefined,\n// total_count: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Get Organization example\nconst clerk_get_organization = new ClerkBubble({\n operation: \"get_organization\", // Get a single organization by ID or slug\n organization_id: \"example string\", // Organization ID or slug\n});\n\nconst result = await clerk_get_organization.action();\n// outputSchema for result.data when operation === 'get_organization':\n// {\n// operation: \"get_organization\",\n// organization: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create Organization example\nconst clerk_create_organization = new ClerkBubble({\n operation: \"create_organization\", // Create a new organization\n name: \"example string\", // Organization name\n slug: \"example string\", // URL-friendly slug\n created_by: \"example string\", // User ID of the organization creator\n public_metadata: {}, // Public metadata for the organization\n private_metadata: {}, // Private metadata for the organization\n max_allowed_memberships: 42, // Maximum number of members allowed\n});\n\nconst result = await clerk_create_organization.action();\n// outputSchema for result.data when operation === 'create_organization':\n// {\n// operation: \"create_organization\",\n// organization: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Update Organization example\nconst clerk_update_organization = new ClerkBubble({\n operation: \"update_organization\", // Update an existing organization\n organization_id: \"example string\", // Organization ID or slug to update\n name: \"example string\", // Updated organization name\n slug: \"example string\", // Updated slug\n public_metadata: {}, // Updated public metadata\n private_metadata: {}, // Updated private metadata\n max_allowed_memberships: 42, // Updated max allowed memberships\n});\n\nconst result = await clerk_update_organization.action();\n// outputSchema for result.data when operation === 'update_organization':\n// {\n// operation: \"update_organization\",\n// organization: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Delete Organization example\nconst clerk_delete_organization = new ClerkBubble({\n operation: \"delete_organization\", // Delete an organization by ID or slug\n organization_id: \"example string\", // Organization ID or slug to delete\n});\n\nconst result = await clerk_delete_organization.action();\n// outputSchema for result.data when operation === 'delete_organization':\n// {\n// operation: \"delete_organization\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Organization Memberships example\nconst clerk_list_organization_memberships = new ClerkBubble({\n operation: \"list_organization_memberships\", // List memberships for an organization\n organization_id: \"example string\", // Organization ID to list memberships for\n limit: 10 // default, // Maximum number of memberships to return\n offset: 0 // default, // Number of memberships to skip for pagination\n});\n\nconst result = await clerk_list_organization_memberships.action();\n// outputSchema for result.data when operation === 'list_organization_memberships':\n// {\n// operation: \"list_organization_memberships\",\n// memberships: Record<string, unknown>[] | undefined,\n// total_count: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// List Invitations example\nconst clerk_list_invitations = new ClerkBubble({\n operation: \"list_invitations\", // List all pending invitations\n limit: 10 // default, // Maximum number of invitations to return\n offset: 0 // default, // Number of invitations to skip for pagination\n});\n\nconst result = await clerk_list_invitations.action();\n// outputSchema for result.data when operation === 'list_invitations':\n// {\n// operation: \"list_invitations\",\n// invitations: Record<string, unknown>[] | undefined,\n// total_count: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Create Invitation example\nconst clerk_create_invitation = new ClerkBubble({\n operation: \"create_invitation\", // Create an invitation to sign up\n email_address: \"example string\", // Email address to invite\n redirect_url: \"example string\", // URL to redirect to after the invitation is accepted\n public_metadata: {}, // Public metadata for the invitation\n});\n\nconst result = await clerk_create_invitation.action();\n// outputSchema for result.data when operation === 'create_invitation':\n// {\n// operation: \"create_invitation\",\n// invitation: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Revoke Invitation example\nconst clerk_revoke_invitation = new ClerkBubble({\n operation: \"revoke_invitation\", // Revoke a pending invitation\n invitation_id: \"example string\", // The invitation ID to revoke (e.g. \"inv_abc123\")\n});\n\nconst result = await clerk_revoke_invitation.action();\n// outputSchema for result.data when operation === 'revoke_invitation':\n// {\n// operation: \"revoke_invitation\",\n// success: boolean,\n// error: string\n// }\n\n\n// List Sessions example\nconst clerk_list_sessions = new ClerkBubble({\n operation: \"list_sessions\", // List sessions, optionally filtered by user\n user_id: \"example string\", // Filter sessions by user ID\n status: \"active\" // options: \"active\", \"ended\", \"expired\", \"removed\", \"replaced\", \"revoked\", \"abandoned\", // Filter by session status\n limit: 10 // default, // Maximum number of sessions to return\n offset: 0 // default, // Number of sessions to skip for pagination\n});\n\nconst result = await clerk_list_sessions.action();\n// outputSchema for result.data when operation === 'list_sessions':\n// {\n// operation: \"list_sessions\",\n// sessions: Record<string, unknown>[] | undefined,\n// total_count: number | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Revoke Session example\nconst clerk_revoke_session = new ClerkBubble({\n operation: \"revoke_session\", // Revoke an active session\n session_id: \"example string\", // The session ID to revoke\n});\n\nconst result = await clerk_revoke_session.action();\n// outputSchema for result.data when operation === 'revoke_session':\n// {\n// operation: \"revoke_session\",\n// success: boolean,\n// error: string\n// }\n\n\n// Get User Subscription example\nconst clerk_get_user_subscription = new ClerkBubble({\n operation: \"get_user_subscription\", // Get a user's billing subscription status\n user_id: \"example string\", // The user ID to get subscription info for\n});\n\nconst result = await clerk_get_user_subscription.action();\n// outputSchema for result.data when operation === 'get_user_subscription':\n// {\n// operation: \"get_user_subscription\",\n// subscription: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Get Organization Subscription example\nconst clerk_get_organization_subscription = new ClerkBubble({\n operation: \"get_organization_subscription\", // Get an organization's billing subscription status\n organization_id: \"example string\", // The organization ID to get subscription info for\n});\n\nconst result = await clerk_get_organization_subscription.action();\n// outputSchema for result.data when operation === 'get_organization_subscription':\n// {\n// operation: \"get_organization_subscription\",\n// subscription: Record<string, unknown> | undefined,\n// success: boolean,\n// error: string\n// }\n\n\n// Always check success status before using data\nif (!result.success) {\n throw new Error(`clerk failed: ${result.error}`);\n}\n\n// Access the actual data\nconst actualData = result.data;\nconsole.log(actualData);",
|
|
90934
|
+
"requiredCredentials": [
|
|
90935
|
+
"CLERK_CRED"
|
|
90936
|
+
]
|
|
89096
90937
|
}
|
|
89097
90938
|
]
|
|
89098
90939
|
}
|