@bubblelab/bubble-core 0.1.281 → 0.1.283

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 (92) hide show
  1. package/dist/bubble-bundle.d.ts +26 -46
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +0 -3
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  6. package/dist/bubbles/service-bubble/ai-agent.js +47 -4
  7. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  8. package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
  9. package/dist/bubbles/service-bubble/capability-pipeline.js +5 -1
  10. package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
  11. package/dist/bubbles.json +2 -1335
  12. package/dist/index.d.ts +0 -1
  13. package/dist/index.d.ts.map +1 -1
  14. package/dist/index.js +0 -1
  15. package/dist/index.js.map +1 -1
  16. package/package.json +2 -2
  17. package/dist/bubble-trigger/index.d.ts +0 -2
  18. package/dist/bubble-trigger/index.d.ts.map +0 -1
  19. package/dist/bubble-trigger/index.js +0 -2
  20. package/dist/bubble-trigger/index.js.map +0 -1
  21. package/dist/bubble-trigger/types.d.ts +0 -87
  22. package/dist/bubble-trigger/types.d.ts.map +0 -1
  23. package/dist/bubble-trigger/types.js +0 -14
  24. package/dist/bubble-trigger/types.js.map +0 -1
  25. package/dist/bubbles/service-bubble/clerk/clerk.d.ts +0 -690
  26. package/dist/bubbles/service-bubble/clerk/clerk.d.ts.map +0 -1
  27. package/dist/bubbles/service-bubble/clerk/clerk.js +0 -579
  28. package/dist/bubbles/service-bubble/clerk/clerk.js.map +0 -1
  29. package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts +0 -653
  30. package/dist/bubbles/service-bubble/clerk/clerk.schema.d.ts.map +0 -1
  31. package/dist/bubbles/service-bubble/clerk/clerk.schema.js +0 -460
  32. package/dist/bubbles/service-bubble/clerk/clerk.schema.js.map +0 -1
  33. package/dist/bubbles/service-bubble/clerk/index.d.ts +0 -3
  34. package/dist/bubbles/service-bubble/clerk/index.d.ts.map +0 -1
  35. package/dist/bubbles/service-bubble/clerk/index.js +0 -3
  36. package/dist/bubbles/service-bubble/clerk/index.js.map +0 -1
  37. package/dist/bubbles/service-bubble/google-sheets.d.ts +0 -1811
  38. package/dist/bubbles/service-bubble/google-sheets.d.ts.map +0 -1
  39. package/dist/bubbles/service-bubble/google-sheets.js +0 -904
  40. package/dist/bubbles/service-bubble/google-sheets.js.map +0 -1
  41. package/dist/bubbles/service-bubble/looker/index.d.ts +0 -3
  42. package/dist/bubbles/service-bubble/looker/index.d.ts.map +0 -1
  43. package/dist/bubbles/service-bubble/looker/index.js +0 -3
  44. package/dist/bubbles/service-bubble/looker/index.js.map +0 -1
  45. package/dist/bubbles/service-bubble/looker/looker.d.ts +0 -768
  46. package/dist/bubbles/service-bubble/looker/looker.d.ts.map +0 -1
  47. package/dist/bubbles/service-bubble/looker/looker.js +0 -319
  48. package/dist/bubbles/service-bubble/looker/looker.js.map +0 -1
  49. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts +0 -735
  50. package/dist/bubbles/service-bubble/looker/looker.schema.d.ts.map +0 -1
  51. package/dist/bubbles/service-bubble/looker/looker.schema.js +0 -264
  52. package/dist/bubbles/service-bubble/looker/looker.schema.js.map +0 -1
  53. package/dist/bubbles/service-bubble/pylon/index.d.ts +0 -3
  54. package/dist/bubbles/service-bubble/pylon/index.d.ts.map +0 -1
  55. package/dist/bubbles/service-bubble/pylon/index.js +0 -3
  56. package/dist/bubbles/service-bubble/pylon/index.js.map +0 -1
  57. package/dist/bubbles/service-bubble/pylon/pylon.d.ts +0 -435
  58. package/dist/bubbles/service-bubble/pylon/pylon.d.ts.map +0 -1
  59. package/dist/bubbles/service-bubble/pylon/pylon.js +0 -375
  60. package/dist/bubbles/service-bubble/pylon/pylon.js.map +0 -1
  61. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts +0 -408
  62. package/dist/bubbles/service-bubble/pylon/pylon.schema.d.ts.map +0 -1
  63. package/dist/bubbles/service-bubble/pylon/pylon.schema.js +0 -249
  64. package/dist/bubbles/service-bubble/pylon/pylon.schema.js.map +0 -1
  65. package/dist/bubbles/service-bubble/slack.d.ts +0 -5869
  66. package/dist/bubbles/service-bubble/slack.d.ts.map +0 -1
  67. package/dist/bubbles/service-bubble/slack.js +0 -1536
  68. package/dist/bubbles/service-bubble/slack.js.map +0 -1
  69. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts +0 -3
  70. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.d.ts.map +0 -1
  71. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js +0 -3
  72. package/dist/bubbles/tool-bubble/linkedin-connection-tool/index.js.map +0 -1
  73. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +0 -160
  74. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts.map +0 -1
  75. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js +0 -706
  76. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.js.map +0 -1
  77. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +0 -93
  78. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts.map +0 -1
  79. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js +0 -50
  80. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.js.map +0 -1
  81. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts +0 -114
  82. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.d.ts.map +0 -1
  83. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js +0 -777
  84. package/dist/bubbles/workflow-bubble/bubbleflow-generator.workflow.js.map +0 -1
  85. package/dist/types/ai-models.d.ts +0 -4
  86. package/dist/types/ai-models.d.ts.map +0 -1
  87. package/dist/types/ai-models.js +0 -16
  88. package/dist/types/ai-models.js.map +0 -1
  89. package/dist/utils/param-helper.d.ts +0 -2
  90. package/dist/utils/param-helper.d.ts.map +0 -1
  91. package/dist/utils/param-helper.js +0 -5
  92. package/dist/utils/param-helper.js.map +0 -1
@@ -1,690 +0,0 @@
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