@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.
Files changed (179) hide show
  1. package/dist/bubble-bundle.d.ts +199 -158
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +6 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubble-trigger/index.d.ts +2 -0
  6. package/dist/bubble-trigger/index.d.ts.map +1 -0
  7. package/dist/bubble-trigger/index.js +2 -0
  8. package/dist/bubble-trigger/index.js.map +1 -0
  9. package/dist/bubble-trigger/types.d.ts +87 -0
  10. package/dist/bubble-trigger/types.d.ts.map +1 -0
  11. package/dist/bubble-trigger/types.js +14 -0
  12. package/dist/bubble-trigger/types.js.map +1 -0
  13. package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
  14. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  15. package/dist/bubbles/service-bubble/airtable.d.ts +76 -76
  16. package/dist/bubbles/service-bubble/apify/actors/app-rankings-scraper.d.ts +6 -6
  17. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  18. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  20. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  21. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
  22. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  23. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  25. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  26. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +132 -132
  27. package/dist/bubbles/service-bubble/apify/apify.d.ts +18 -18
  28. package/dist/bubbles/service-bubble/asana/asana.d.ts +1 -1
  29. package/dist/bubbles/service-bubble/asana/asana.schema.d.ts +1 -1
  30. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +20 -20
  31. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +28 -28
  32. package/dist/bubbles/service-bubble/assembled/assembled.d.ts +6 -6
  33. package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
  34. package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
  35. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
  36. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +1 -1
  37. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +1 -1
  38. package/dist/bubbles/service-bubble/clerk/clerk.d.ts +690 -0
  39. package/dist/bubbles/service-bubble/clerk/clerk.d.ts.map +1 -0
  40. package/dist/bubbles/service-bubble/clerk/clerk.js +579 -0
  41. package/dist/bubbles/service-bubble/clerk/clerk.js.map +1 -0
  42. package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts +653 -0
  43. package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts.map +1 -0
  44. package/dist/bubbles/service-bubble/clerk/clerk.schema.js +460 -0
  45. package/dist/bubbles/service-bubble/clerk/clerk.schema.js.map +1 -0
  46. package/dist/bubbles/service-bubble/clerk/index.d.ts +3 -0
  47. package/dist/bubbles/service-bubble/clerk/index.d.ts.map +1 -0
  48. package/dist/bubbles/service-bubble/clerk/index.js +3 -0
  49. package/dist/bubbles/service-bubble/clerk/index.js.map +1 -0
  50. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +4 -4
  51. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +8 -8
  52. package/dist/bubbles/service-bubble/discord/discord.d.ts +12 -12
  53. package/dist/bubbles/service-bubble/discord/discord.schema.d.ts +12 -12
  54. package/dist/bubbles/service-bubble/firecrawl.d.ts +330 -330
  55. package/dist/bubbles/service-bubble/followupboss.d.ts +4 -4
  56. package/dist/bubbles/service-bubble/github.d.ts +60 -60
  57. package/dist/bubbles/service-bubble/gmail.d.ts +164 -164
  58. package/dist/bubbles/service-bubble/google-calendar.d.ts +6 -6
  59. package/dist/bubbles/service-bubble/google-drive.d.ts +4 -4
  60. package/dist/bubbles/service-bubble/google-sheets.d.ts +1811 -0
  61. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +1 -0
  62. package/dist/bubbles/service-bubble/google-sheets.js +904 -0
  63. package/dist/bubbles/service-bubble/google-sheets.js.map +1 -0
  64. package/dist/bubbles/service-bubble/http.d.ts +6 -6
  65. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +2 -2
  66. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +2 -2
  67. package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
  68. package/dist/bubbles/service-bubble/jira/jira.d.ts +30 -30
  69. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +36 -36
  70. package/dist/bubbles/service-bubble/looker/index.d.ts +3 -0
  71. package/dist/bubbles/service-bubble/looker/index.d.ts.map +1 -0
  72. package/dist/bubbles/service-bubble/looker/index.js +3 -0
  73. package/dist/bubbles/service-bubble/looker/index.js.map +1 -0
  74. package/dist/bubbles/service-bubble/looker/looker.d.ts +768 -0
  75. package/dist/bubbles/service-bubble/looker/looker.d.ts.map +1 -0
  76. package/dist/bubbles/service-bubble/looker/looker.js +319 -0
  77. package/dist/bubbles/service-bubble/looker/looker.js.map +1 -0
  78. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +735 -0
  79. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +1 -0
  80. package/dist/bubbles/service-bubble/looker/looker.schema.js +264 -0
  81. package/dist/bubbles/service-bubble/looker/looker.schema.js.map +1 -0
  82. package/dist/bubbles/service-bubble/metabase/index.d.ts +4 -0
  83. package/dist/bubbles/service-bubble/metabase/index.d.ts.map +1 -0
  84. package/dist/bubbles/service-bubble/metabase/index.js +4 -0
  85. package/dist/bubbles/service-bubble/metabase/index.js.map +1 -0
  86. package/dist/bubbles/service-bubble/metabase/metabase.d.ts +746 -0
  87. package/dist/bubbles/service-bubble/metabase/metabase.d.ts.map +1 -0
  88. package/dist/bubbles/service-bubble/metabase/metabase.js +221 -0
  89. package/dist/bubbles/service-bubble/metabase/metabase.js.map +1 -0
  90. package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts +1125 -0
  91. package/dist/bubbles/service-bubble/metabase/metabase.schema.d.ts.map +1 -0
  92. package/dist/bubbles/service-bubble/metabase/metabase.schema.js +222 -0
  93. package/dist/bubbles/service-bubble/metabase/metabase.schema.js.map +1 -0
  94. package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts +15 -0
  95. package/dist/bubbles/service-bubble/metabase/metabase.utils.d.ts.map +1 -0
  96. package/dist/bubbles/service-bubble/metabase/metabase.utils.js +32 -0
  97. package/dist/bubbles/service-bubble/metabase/metabase.utils.js.map +1 -0
  98. package/dist/bubbles/service-bubble/notion/notion.d.ts +168 -168
  99. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +16 -16
  100. package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
  101. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +10 -10
  102. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +14 -14
  103. package/dist/bubbles/service-bubble/pylon/index.d.ts +3 -0
  104. package/dist/bubbles/service-bubble/pylon/index.d.ts.map +1 -0
  105. package/dist/bubbles/service-bubble/pylon/index.js +3 -0
  106. package/dist/bubbles/service-bubble/pylon/index.js.map +1 -0
  107. package/dist/bubbles/service-bubble/pylon/pylon.d.ts +435 -0
  108. package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +1 -0
  109. package/dist/bubbles/service-bubble/pylon/pylon.js +375 -0
  110. package/dist/bubbles/service-bubble/pylon/pylon.js.map +1 -0
  111. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +408 -0
  112. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +1 -0
  113. package/dist/bubbles/service-bubble/pylon/pylon.schema.js +249 -0
  114. package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +1 -0
  115. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  116. package/dist/bubbles/service-bubble/slack/slack.d.ts +392 -392
  117. package/dist/bubbles/service-bubble/slack.d.ts +5869 -0
  118. package/dist/bubbles/service-bubble/slack.d.ts.map +1 -0
  119. package/dist/bubbles/service-bubble/slack.js +1536 -0
  120. package/dist/bubbles/service-bubble/slack.js.map +1 -0
  121. package/dist/bubbles/service-bubble/snowflake/snowflake.d.ts +4 -4
  122. package/dist/bubbles/service-bubble/snowflake/snowflake.schema.d.ts +4 -4
  123. package/dist/bubbles/service-bubble/sortly/sortly.d.ts +36 -36
  124. package/dist/bubbles/service-bubble/sortly/sortly.schema.d.ts +40 -40
  125. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +24 -24
  126. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +28 -28
  127. package/dist/bubbles/service-bubble/xero/xero.d.ts +2 -2
  128. package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +2 -2
  129. package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +20 -20
  130. package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +20 -20
  131. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +6 -6
  132. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +8 -8
  133. package/dist/bubbles/tool-bubble/app-rankings-tool.d.ts +8 -8
  134. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  135. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  136. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +20 -20
  137. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +3 -0
  138. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +1 -0
  139. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +3 -0
  140. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +1 -0
  141. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +160 -0
  142. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +1 -0
  143. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +706 -0
  144. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +1 -0
  145. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +93 -0
  146. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +1 -0
  147. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +50 -0
  148. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +1 -0
  149. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +384 -384
  150. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +44 -44
  151. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +10 -10
  152. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  153. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
  154. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +60 -60
  155. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +134 -134
  156. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
  157. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +20 -20
  158. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +114 -0
  159. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +1 -0
  160. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +777 -0
  161. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +1 -0
  162. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +12 -12
  163. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +8 -8
  164. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +2 -2
  165. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +34 -34
  166. package/dist/bubbles.json +1843 -2
  167. package/dist/index.d.ts +2 -0
  168. package/dist/index.d.ts.map +1 -1
  169. package/dist/index.js +2 -0
  170. package/dist/index.js.map +1 -1
  171. package/dist/types/ai-models.d.ts +4 -0
  172. package/dist/types/ai-models.d.ts.map +1 -0
  173. package/dist/types/ai-models.js +16 -0
  174. package/dist/types/ai-models.js.map +1 -0
  175. package/dist/utils/param-helper.d.ts +2 -0
  176. package/dist/utils/param-helper.d.ts.map +1 -0
  177. package/dist/utils/param-helper.js +5 -0
  178. package/dist/utils/param-helper.js.map +1 -0
  179. package/package.json +2 -2
@@ -0,0 +1,690 @@
1
+ import { CredentialType } from '@bubblelab/shared-schemas';
2
+ import { ServiceBubble } from '../../../types/service-bubble-class.js';
3
+ import type { BubbleContext } from '../../../types/bubble.js';
4
+ import { type ClerkParamsInput, type ClerkResult } from './clerk.schema.js';
5
+ export declare class ClerkBubble<T extends ClerkParamsInput = ClerkParamsInput> extends ServiceBubble<T, Extract<ClerkResult, {
6
+ operation: T['operation'];
7
+ }>> {
8
+ static readonly service = "clerk";
9
+ static readonly authType: "oauth";
10
+ static readonly bubbleName: "clerk";
11
+ static readonly type: "service";
12
+ static readonly schema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
13
+ operation: import("zod").ZodLiteral<"list_users">;
14
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
15
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
16
+ order_by: import("zod").ZodOptional<import("zod").ZodString>;
17
+ query: import("zod").ZodOptional<import("zod").ZodString>;
18
+ email_address: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString, "many">>;
19
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
20
+ }, "strip", import("zod").ZodTypeAny, {
21
+ operation: "list_users";
22
+ limit: number;
23
+ offset: number;
24
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
25
+ query?: string | undefined;
26
+ order_by?: string | undefined;
27
+ email_address?: string[] | undefined;
28
+ }, {
29
+ operation: "list_users";
30
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
31
+ query?: string | undefined;
32
+ limit?: number | undefined;
33
+ offset?: number | undefined;
34
+ order_by?: string | undefined;
35
+ email_address?: string[] | undefined;
36
+ }>, import("zod").ZodObject<{
37
+ operation: import("zod").ZodLiteral<"get_user">;
38
+ user_id: import("zod").ZodString;
39
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
40
+ }, "strip", import("zod").ZodTypeAny, {
41
+ operation: "get_user";
42
+ user_id: string;
43
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
44
+ }, {
45
+ operation: "get_user";
46
+ user_id: string;
47
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
48
+ }>, import("zod").ZodObject<{
49
+ operation: import("zod").ZodLiteral<"create_user">;
50
+ email_address: import("zod").ZodArray<import("zod").ZodString, "many">;
51
+ first_name: import("zod").ZodOptional<import("zod").ZodString>;
52
+ last_name: import("zod").ZodOptional<import("zod").ZodString>;
53
+ username: import("zod").ZodOptional<import("zod").ZodString>;
54
+ password: import("zod").ZodOptional<import("zod").ZodString>;
55
+ public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
56
+ private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
57
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
58
+ }, "strip", import("zod").ZodTypeAny, {
59
+ operation: "create_user";
60
+ email_address: string[];
61
+ password?: string | undefined;
62
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
63
+ username?: string | undefined;
64
+ first_name?: string | undefined;
65
+ last_name?: string | undefined;
66
+ public_metadata?: Record<string, unknown> | undefined;
67
+ private_metadata?: Record<string, unknown> | undefined;
68
+ }, {
69
+ operation: "create_user";
70
+ email_address: string[];
71
+ password?: string | undefined;
72
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
73
+ username?: string | undefined;
74
+ first_name?: string | undefined;
75
+ last_name?: string | undefined;
76
+ public_metadata?: Record<string, unknown> | undefined;
77
+ private_metadata?: Record<string, unknown> | undefined;
78
+ }>, import("zod").ZodObject<{
79
+ operation: import("zod").ZodLiteral<"update_user">;
80
+ user_id: import("zod").ZodString;
81
+ first_name: import("zod").ZodOptional<import("zod").ZodString>;
82
+ last_name: import("zod").ZodOptional<import("zod").ZodString>;
83
+ username: import("zod").ZodOptional<import("zod").ZodString>;
84
+ public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
85
+ private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
86
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
87
+ }, "strip", import("zod").ZodTypeAny, {
88
+ operation: "update_user";
89
+ user_id: string;
90
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
91
+ username?: string | undefined;
92
+ first_name?: string | undefined;
93
+ last_name?: string | undefined;
94
+ public_metadata?: Record<string, unknown> | undefined;
95
+ private_metadata?: Record<string, unknown> | undefined;
96
+ }, {
97
+ operation: "update_user";
98
+ user_id: string;
99
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
100
+ username?: string | undefined;
101
+ first_name?: string | undefined;
102
+ last_name?: string | undefined;
103
+ public_metadata?: Record<string, unknown> | undefined;
104
+ private_metadata?: Record<string, unknown> | undefined;
105
+ }>, import("zod").ZodObject<{
106
+ operation: import("zod").ZodLiteral<"delete_user">;
107
+ user_id: import("zod").ZodString;
108
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
109
+ }, "strip", import("zod").ZodTypeAny, {
110
+ operation: "delete_user";
111
+ user_id: string;
112
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
113
+ }, {
114
+ operation: "delete_user";
115
+ user_id: string;
116
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
117
+ }>, import("zod").ZodObject<{
118
+ operation: import("zod").ZodLiteral<"ban_user">;
119
+ user_id: import("zod").ZodString;
120
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
121
+ }, "strip", import("zod").ZodTypeAny, {
122
+ operation: "ban_user";
123
+ user_id: string;
124
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
125
+ }, {
126
+ operation: "ban_user";
127
+ user_id: string;
128
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
129
+ }>, import("zod").ZodObject<{
130
+ operation: import("zod").ZodLiteral<"unban_user">;
131
+ user_id: import("zod").ZodString;
132
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
133
+ }, "strip", import("zod").ZodTypeAny, {
134
+ operation: "unban_user";
135
+ user_id: string;
136
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
137
+ }, {
138
+ operation: "unban_user";
139
+ user_id: string;
140
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
141
+ }>, import("zod").ZodObject<{
142
+ operation: import("zod").ZodLiteral<"list_organizations">;
143
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
144
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
145
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
146
+ }, "strip", import("zod").ZodTypeAny, {
147
+ operation: "list_organizations";
148
+ limit: number;
149
+ offset: number;
150
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
151
+ }, {
152
+ operation: "list_organizations";
153
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
154
+ limit?: number | undefined;
155
+ offset?: number | undefined;
156
+ }>, import("zod").ZodObject<{
157
+ operation: import("zod").ZodLiteral<"get_organization">;
158
+ organization_id: import("zod").ZodString;
159
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
160
+ }, "strip", import("zod").ZodTypeAny, {
161
+ operation: "get_organization";
162
+ organization_id: string;
163
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
164
+ }, {
165
+ operation: "get_organization";
166
+ organization_id: string;
167
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
168
+ }>, import("zod").ZodObject<{
169
+ operation: import("zod").ZodLiteral<"create_organization">;
170
+ name: import("zod").ZodString;
171
+ slug: import("zod").ZodOptional<import("zod").ZodString>;
172
+ created_by: import("zod").ZodOptional<import("zod").ZodString>;
173
+ public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
174
+ private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
175
+ max_allowed_memberships: import("zod").ZodOptional<import("zod").ZodNumber>;
176
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
177
+ }, "strip", import("zod").ZodTypeAny, {
178
+ name: string;
179
+ operation: "create_organization";
180
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
181
+ created_by?: string | undefined;
182
+ public_metadata?: Record<string, unknown> | undefined;
183
+ private_metadata?: Record<string, unknown> | undefined;
184
+ slug?: string | undefined;
185
+ max_allowed_memberships?: number | undefined;
186
+ }, {
187
+ name: string;
188
+ operation: "create_organization";
189
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
190
+ created_by?: string | undefined;
191
+ public_metadata?: Record<string, unknown> | undefined;
192
+ private_metadata?: Record<string, unknown> | undefined;
193
+ slug?: string | undefined;
194
+ max_allowed_memberships?: number | undefined;
195
+ }>, import("zod").ZodObject<{
196
+ operation: import("zod").ZodLiteral<"update_organization">;
197
+ organization_id: import("zod").ZodString;
198
+ name: import("zod").ZodOptional<import("zod").ZodString>;
199
+ slug: import("zod").ZodOptional<import("zod").ZodString>;
200
+ public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
201
+ private_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
202
+ max_allowed_memberships: import("zod").ZodOptional<import("zod").ZodNumber>;
203
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
204
+ }, "strip", import("zod").ZodTypeAny, {
205
+ operation: "update_organization";
206
+ organization_id: string;
207
+ name?: string | undefined;
208
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
209
+ public_metadata?: Record<string, unknown> | undefined;
210
+ private_metadata?: Record<string, unknown> | undefined;
211
+ slug?: string | undefined;
212
+ max_allowed_memberships?: number | undefined;
213
+ }, {
214
+ operation: "update_organization";
215
+ organization_id: string;
216
+ name?: string | undefined;
217
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
218
+ public_metadata?: Record<string, unknown> | undefined;
219
+ private_metadata?: Record<string, unknown> | undefined;
220
+ slug?: string | undefined;
221
+ max_allowed_memberships?: number | undefined;
222
+ }>, import("zod").ZodObject<{
223
+ operation: import("zod").ZodLiteral<"delete_organization">;
224
+ organization_id: import("zod").ZodString;
225
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
226
+ }, "strip", import("zod").ZodTypeAny, {
227
+ operation: "delete_organization";
228
+ organization_id: string;
229
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
230
+ }, {
231
+ operation: "delete_organization";
232
+ organization_id: string;
233
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
234
+ }>, import("zod").ZodObject<{
235
+ operation: import("zod").ZodLiteral<"list_organization_memberships">;
236
+ organization_id: import("zod").ZodString;
237
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
238
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
239
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
240
+ }, "strip", import("zod").ZodTypeAny, {
241
+ operation: "list_organization_memberships";
242
+ limit: number;
243
+ offset: number;
244
+ organization_id: string;
245
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
246
+ }, {
247
+ operation: "list_organization_memberships";
248
+ organization_id: string;
249
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
250
+ limit?: number | undefined;
251
+ offset?: number | undefined;
252
+ }>, import("zod").ZodObject<{
253
+ operation: import("zod").ZodLiteral<"list_invitations">;
254
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
255
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
256
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
257
+ }, "strip", import("zod").ZodTypeAny, {
258
+ operation: "list_invitations";
259
+ limit: number;
260
+ offset: number;
261
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
262
+ }, {
263
+ operation: "list_invitations";
264
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
265
+ limit?: number | undefined;
266
+ offset?: number | undefined;
267
+ }>, import("zod").ZodObject<{
268
+ operation: import("zod").ZodLiteral<"create_invitation">;
269
+ email_address: import("zod").ZodString;
270
+ redirect_url: import("zod").ZodOptional<import("zod").ZodString>;
271
+ public_metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
272
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
273
+ }, "strip", import("zod").ZodTypeAny, {
274
+ operation: "create_invitation";
275
+ email_address: string;
276
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
277
+ public_metadata?: Record<string, unknown> | undefined;
278
+ redirect_url?: string | undefined;
279
+ }, {
280
+ operation: "create_invitation";
281
+ email_address: string;
282
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
283
+ public_metadata?: Record<string, unknown> | undefined;
284
+ redirect_url?: string | undefined;
285
+ }>, import("zod").ZodObject<{
286
+ operation: import("zod").ZodLiteral<"revoke_invitation">;
287
+ invitation_id: import("zod").ZodString;
288
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
289
+ }, "strip", import("zod").ZodTypeAny, {
290
+ operation: "revoke_invitation";
291
+ invitation_id: string;
292
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
293
+ }, {
294
+ operation: "revoke_invitation";
295
+ invitation_id: string;
296
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
297
+ }>, import("zod").ZodObject<{
298
+ operation: import("zod").ZodLiteral<"list_sessions">;
299
+ user_id: import("zod").ZodOptional<import("zod").ZodString>;
300
+ status: import("zod").ZodOptional<import("zod").ZodEnum<["active", "ended", "expired", "removed", "replaced", "revoked", "abandoned"]>>;
301
+ limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
302
+ offset: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
303
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
304
+ }, "strip", import("zod").ZodTypeAny, {
305
+ operation: "list_sessions";
306
+ limit: number;
307
+ offset: number;
308
+ status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
309
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
310
+ user_id?: string | undefined;
311
+ }, {
312
+ operation: "list_sessions";
313
+ status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
314
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
315
+ limit?: number | undefined;
316
+ offset?: number | undefined;
317
+ user_id?: string | undefined;
318
+ }>, import("zod").ZodObject<{
319
+ operation: import("zod").ZodLiteral<"revoke_session">;
320
+ session_id: import("zod").ZodString;
321
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
322
+ }, "strip", import("zod").ZodTypeAny, {
323
+ operation: "revoke_session";
324
+ session_id: string;
325
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
326
+ }, {
327
+ operation: "revoke_session";
328
+ session_id: string;
329
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
330
+ }>, import("zod").ZodObject<{
331
+ operation: import("zod").ZodLiteral<"get_user_subscription">;
332
+ user_id: import("zod").ZodString;
333
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
334
+ }, "strip", import("zod").ZodTypeAny, {
335
+ operation: "get_user_subscription";
336
+ user_id: string;
337
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
338
+ }, {
339
+ operation: "get_user_subscription";
340
+ user_id: string;
341
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
342
+ }>, import("zod").ZodObject<{
343
+ operation: import("zod").ZodLiteral<"get_organization_subscription">;
344
+ organization_id: import("zod").ZodString;
345
+ credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
346
+ }, "strip", import("zod").ZodTypeAny, {
347
+ operation: "get_organization_subscription";
348
+ organization_id: string;
349
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
350
+ }, {
351
+ operation: "get_organization_subscription";
352
+ organization_id: string;
353
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
354
+ }>]>;
355
+ static readonly resultSchema: import("zod").ZodDiscriminatedUnion<"operation", [import("zod").ZodObject<{
356
+ operation: import("zod").ZodLiteral<"list_users">;
357
+ users: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
358
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
359
+ success: import("zod").ZodBoolean;
360
+ error: import("zod").ZodString;
361
+ }, "strip", import("zod").ZodTypeAny, {
362
+ error: string;
363
+ success: boolean;
364
+ operation: "list_users";
365
+ users?: Record<string, unknown>[] | undefined;
366
+ total_count?: number | undefined;
367
+ }, {
368
+ error: string;
369
+ success: boolean;
370
+ operation: "list_users";
371
+ users?: Record<string, unknown>[] | undefined;
372
+ total_count?: number | undefined;
373
+ }>, import("zod").ZodObject<{
374
+ operation: import("zod").ZodLiteral<"get_user">;
375
+ user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
376
+ success: import("zod").ZodBoolean;
377
+ error: import("zod").ZodString;
378
+ }, "strip", import("zod").ZodTypeAny, {
379
+ error: string;
380
+ success: boolean;
381
+ operation: "get_user";
382
+ user?: Record<string, unknown> | undefined;
383
+ }, {
384
+ error: string;
385
+ success: boolean;
386
+ operation: "get_user";
387
+ user?: Record<string, unknown> | undefined;
388
+ }>, import("zod").ZodObject<{
389
+ operation: import("zod").ZodLiteral<"create_user">;
390
+ user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
391
+ success: import("zod").ZodBoolean;
392
+ error: import("zod").ZodString;
393
+ }, "strip", import("zod").ZodTypeAny, {
394
+ error: string;
395
+ success: boolean;
396
+ operation: "create_user";
397
+ user?: Record<string, unknown> | undefined;
398
+ }, {
399
+ error: string;
400
+ success: boolean;
401
+ operation: "create_user";
402
+ user?: Record<string, unknown> | undefined;
403
+ }>, import("zod").ZodObject<{
404
+ operation: import("zod").ZodLiteral<"update_user">;
405
+ user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
406
+ success: import("zod").ZodBoolean;
407
+ error: import("zod").ZodString;
408
+ }, "strip", import("zod").ZodTypeAny, {
409
+ error: string;
410
+ success: boolean;
411
+ operation: "update_user";
412
+ user?: Record<string, unknown> | undefined;
413
+ }, {
414
+ error: string;
415
+ success: boolean;
416
+ operation: "update_user";
417
+ user?: Record<string, unknown> | undefined;
418
+ }>, import("zod").ZodObject<{
419
+ operation: import("zod").ZodLiteral<"delete_user">;
420
+ success: import("zod").ZodBoolean;
421
+ error: import("zod").ZodString;
422
+ }, "strip", import("zod").ZodTypeAny, {
423
+ error: string;
424
+ success: boolean;
425
+ operation: "delete_user";
426
+ }, {
427
+ error: string;
428
+ success: boolean;
429
+ operation: "delete_user";
430
+ }>, import("zod").ZodObject<{
431
+ operation: import("zod").ZodLiteral<"ban_user">;
432
+ user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
433
+ success: import("zod").ZodBoolean;
434
+ error: import("zod").ZodString;
435
+ }, "strip", import("zod").ZodTypeAny, {
436
+ error: string;
437
+ success: boolean;
438
+ operation: "ban_user";
439
+ user?: Record<string, unknown> | undefined;
440
+ }, {
441
+ error: string;
442
+ success: boolean;
443
+ operation: "ban_user";
444
+ user?: Record<string, unknown> | undefined;
445
+ }>, import("zod").ZodObject<{
446
+ operation: import("zod").ZodLiteral<"unban_user">;
447
+ user: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
448
+ success: import("zod").ZodBoolean;
449
+ error: import("zod").ZodString;
450
+ }, "strip", import("zod").ZodTypeAny, {
451
+ error: string;
452
+ success: boolean;
453
+ operation: "unban_user";
454
+ user?: Record<string, unknown> | undefined;
455
+ }, {
456
+ error: string;
457
+ success: boolean;
458
+ operation: "unban_user";
459
+ user?: Record<string, unknown> | undefined;
460
+ }>, import("zod").ZodObject<{
461
+ operation: import("zod").ZodLiteral<"list_organizations">;
462
+ organizations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
463
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
464
+ success: import("zod").ZodBoolean;
465
+ error: import("zod").ZodString;
466
+ }, "strip", import("zod").ZodTypeAny, {
467
+ error: string;
468
+ success: boolean;
469
+ operation: "list_organizations";
470
+ total_count?: number | undefined;
471
+ organizations?: Record<string, unknown>[] | undefined;
472
+ }, {
473
+ error: string;
474
+ success: boolean;
475
+ operation: "list_organizations";
476
+ total_count?: number | undefined;
477
+ organizations?: Record<string, unknown>[] | undefined;
478
+ }>, import("zod").ZodObject<{
479
+ operation: import("zod").ZodLiteral<"get_organization">;
480
+ organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
481
+ success: import("zod").ZodBoolean;
482
+ error: import("zod").ZodString;
483
+ }, "strip", import("zod").ZodTypeAny, {
484
+ error: string;
485
+ success: boolean;
486
+ operation: "get_organization";
487
+ organization?: Record<string, unknown> | undefined;
488
+ }, {
489
+ error: string;
490
+ success: boolean;
491
+ operation: "get_organization";
492
+ organization?: Record<string, unknown> | undefined;
493
+ }>, import("zod").ZodObject<{
494
+ operation: import("zod").ZodLiteral<"create_organization">;
495
+ organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
496
+ success: import("zod").ZodBoolean;
497
+ error: import("zod").ZodString;
498
+ }, "strip", import("zod").ZodTypeAny, {
499
+ error: string;
500
+ success: boolean;
501
+ operation: "create_organization";
502
+ organization?: Record<string, unknown> | undefined;
503
+ }, {
504
+ error: string;
505
+ success: boolean;
506
+ operation: "create_organization";
507
+ organization?: Record<string, unknown> | undefined;
508
+ }>, import("zod").ZodObject<{
509
+ operation: import("zod").ZodLiteral<"update_organization">;
510
+ organization: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
511
+ success: import("zod").ZodBoolean;
512
+ error: import("zod").ZodString;
513
+ }, "strip", import("zod").ZodTypeAny, {
514
+ error: string;
515
+ success: boolean;
516
+ operation: "update_organization";
517
+ organization?: Record<string, unknown> | undefined;
518
+ }, {
519
+ error: string;
520
+ success: boolean;
521
+ operation: "update_organization";
522
+ organization?: Record<string, unknown> | undefined;
523
+ }>, import("zod").ZodObject<{
524
+ operation: import("zod").ZodLiteral<"delete_organization">;
525
+ success: import("zod").ZodBoolean;
526
+ error: import("zod").ZodString;
527
+ }, "strip", import("zod").ZodTypeAny, {
528
+ error: string;
529
+ success: boolean;
530
+ operation: "delete_organization";
531
+ }, {
532
+ error: string;
533
+ success: boolean;
534
+ operation: "delete_organization";
535
+ }>, import("zod").ZodObject<{
536
+ operation: import("zod").ZodLiteral<"list_organization_memberships">;
537
+ memberships: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
538
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
539
+ success: import("zod").ZodBoolean;
540
+ error: import("zod").ZodString;
541
+ }, "strip", import("zod").ZodTypeAny, {
542
+ error: string;
543
+ success: boolean;
544
+ operation: "list_organization_memberships";
545
+ total_count?: number | undefined;
546
+ memberships?: Record<string, unknown>[] | undefined;
547
+ }, {
548
+ error: string;
549
+ success: boolean;
550
+ operation: "list_organization_memberships";
551
+ total_count?: number | undefined;
552
+ memberships?: Record<string, unknown>[] | undefined;
553
+ }>, import("zod").ZodObject<{
554
+ operation: import("zod").ZodLiteral<"list_invitations">;
555
+ invitations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
556
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
557
+ success: import("zod").ZodBoolean;
558
+ error: import("zod").ZodString;
559
+ }, "strip", import("zod").ZodTypeAny, {
560
+ error: string;
561
+ success: boolean;
562
+ operation: "list_invitations";
563
+ total_count?: number | undefined;
564
+ invitations?: Record<string, unknown>[] | undefined;
565
+ }, {
566
+ error: string;
567
+ success: boolean;
568
+ operation: "list_invitations";
569
+ total_count?: number | undefined;
570
+ invitations?: Record<string, unknown>[] | undefined;
571
+ }>, import("zod").ZodObject<{
572
+ operation: import("zod").ZodLiteral<"create_invitation">;
573
+ invitation: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
574
+ success: import("zod").ZodBoolean;
575
+ error: import("zod").ZodString;
576
+ }, "strip", import("zod").ZodTypeAny, {
577
+ error: string;
578
+ success: boolean;
579
+ operation: "create_invitation";
580
+ invitation?: Record<string, unknown> | undefined;
581
+ }, {
582
+ error: string;
583
+ success: boolean;
584
+ operation: "create_invitation";
585
+ invitation?: Record<string, unknown> | undefined;
586
+ }>, import("zod").ZodObject<{
587
+ operation: import("zod").ZodLiteral<"revoke_invitation">;
588
+ success: import("zod").ZodBoolean;
589
+ error: import("zod").ZodString;
590
+ }, "strip", import("zod").ZodTypeAny, {
591
+ error: string;
592
+ success: boolean;
593
+ operation: "revoke_invitation";
594
+ }, {
595
+ error: string;
596
+ success: boolean;
597
+ operation: "revoke_invitation";
598
+ }>, import("zod").ZodObject<{
599
+ operation: import("zod").ZodLiteral<"list_sessions">;
600
+ sessions: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>, "many">>;
601
+ total_count: import("zod").ZodOptional<import("zod").ZodNumber>;
602
+ success: import("zod").ZodBoolean;
603
+ error: import("zod").ZodString;
604
+ }, "strip", import("zod").ZodTypeAny, {
605
+ error: string;
606
+ success: boolean;
607
+ operation: "list_sessions";
608
+ total_count?: number | undefined;
609
+ sessions?: Record<string, unknown>[] | undefined;
610
+ }, {
611
+ error: string;
612
+ success: boolean;
613
+ operation: "list_sessions";
614
+ total_count?: number | undefined;
615
+ sessions?: Record<string, unknown>[] | undefined;
616
+ }>, import("zod").ZodObject<{
617
+ operation: import("zod").ZodLiteral<"revoke_session">;
618
+ success: import("zod").ZodBoolean;
619
+ error: import("zod").ZodString;
620
+ }, "strip", import("zod").ZodTypeAny, {
621
+ error: string;
622
+ success: boolean;
623
+ operation: "revoke_session";
624
+ }, {
625
+ error: string;
626
+ success: boolean;
627
+ operation: "revoke_session";
628
+ }>, import("zod").ZodObject<{
629
+ operation: import("zod").ZodLiteral<"get_user_subscription">;
630
+ subscription: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
631
+ success: import("zod").ZodBoolean;
632
+ error: import("zod").ZodString;
633
+ }, "strip", import("zod").ZodTypeAny, {
634
+ error: string;
635
+ success: boolean;
636
+ operation: "get_user_subscription";
637
+ subscription?: Record<string, unknown> | undefined;
638
+ }, {
639
+ error: string;
640
+ success: boolean;
641
+ operation: "get_user_subscription";
642
+ subscription?: Record<string, unknown> | undefined;
643
+ }>, import("zod").ZodObject<{
644
+ operation: import("zod").ZodLiteral<"get_organization_subscription">;
645
+ subscription: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
646
+ success: import("zod").ZodBoolean;
647
+ error: import("zod").ZodString;
648
+ }, "strip", import("zod").ZodTypeAny, {
649
+ error: string;
650
+ success: boolean;
651
+ operation: "get_organization_subscription";
652
+ subscription?: Record<string, unknown> | undefined;
653
+ }, {
654
+ error: string;
655
+ success: boolean;
656
+ operation: "get_organization_subscription";
657
+ subscription?: Record<string, unknown> | undefined;
658
+ }>]>;
659
+ static readonly shortDescription = "Clerk integration for user management, organizations, and billing";
660
+ static readonly longDescription = "\n Integrate with Clerk to manage users, organizations, invitations, sessions, and billing.\n Supported operations:\n - Users: List, get, create, update, delete, ban, unban\n - Organizations: List, get, create, update, delete, list memberships\n - Invitations: List, create, revoke\n - Sessions: List, revoke\n - Billing: Get user/organization subscription status\n Authentication: OAuth 2.0 or Secret Key (Bearer token)\n ";
661
+ static readonly alias = "clerk";
662
+ constructor(params?: T, context?: BubbleContext);
663
+ protected chooseCredential(): string | undefined;
664
+ private makeClerkRequest;
665
+ testCredential(): Promise<boolean>;
666
+ protected performAction(context?: BubbleContext): Promise<Extract<ClerkResult, {
667
+ operation: T['operation'];
668
+ }>>;
669
+ private listUsers;
670
+ private getUser;
671
+ private createUser;
672
+ private updateUser;
673
+ private deleteUser;
674
+ private banUser;
675
+ private unbanUser;
676
+ private listOrganizations;
677
+ private getOrganization;
678
+ private createOrganization;
679
+ private updateOrganization;
680
+ private deleteOrganization;
681
+ private listOrganizationMemberships;
682
+ private listInvitations;
683
+ private createInvitation;
684
+ private revokeInvitation;
685
+ private listSessions;
686
+ private revokeSession;
687
+ private getUserSubscription;
688
+ private getOrganizationSubscription;
689
+ }
690
+ //# sourceMappingURL=clerk.d.ts.map