@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,653 +0,0 @@
1
- import { z } from 'zod';
2
- import { CredentialType } from '@bubblelab/shared-schemas';
3
- export declare const ClerkParamsSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
4
- operation: z.ZodLiteral<"list_users">;
5
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
6
- offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
7
- order_by: z.ZodOptional<z.ZodString>;
8
- query: z.ZodOptional<z.ZodString>;
9
- email_address: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
10
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
11
- }, "strip", z.ZodTypeAny, {
12
- operation: "list_users";
13
- limit: number;
14
- offset: number;
15
- credentials?: Partial<Record<CredentialType, string>> | undefined;
16
- query?: string | undefined;
17
- order_by?: string | undefined;
18
- email_address?: string[] | undefined;
19
- }, {
20
- operation: "list_users";
21
- credentials?: Partial<Record<CredentialType, string>> | undefined;
22
- query?: string | undefined;
23
- limit?: number | undefined;
24
- offset?: number | undefined;
25
- order_by?: string | undefined;
26
- email_address?: string[] | undefined;
27
- }>, z.ZodObject<{
28
- operation: z.ZodLiteral<"get_user">;
29
- user_id: z.ZodString;
30
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
31
- }, "strip", z.ZodTypeAny, {
32
- operation: "get_user";
33
- user_id: string;
34
- credentials?: Partial<Record<CredentialType, string>> | undefined;
35
- }, {
36
- operation: "get_user";
37
- user_id: string;
38
- credentials?: Partial<Record<CredentialType, string>> | undefined;
39
- }>, z.ZodObject<{
40
- operation: z.ZodLiteral<"create_user">;
41
- email_address: z.ZodArray<z.ZodString, "many">;
42
- first_name: z.ZodOptional<z.ZodString>;
43
- last_name: z.ZodOptional<z.ZodString>;
44
- username: z.ZodOptional<z.ZodString>;
45
- password: z.ZodOptional<z.ZodString>;
46
- public_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
47
- private_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
48
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
49
- }, "strip", z.ZodTypeAny, {
50
- operation: "create_user";
51
- email_address: string[];
52
- password?: string | undefined;
53
- credentials?: Partial<Record<CredentialType, string>> | undefined;
54
- username?: string | undefined;
55
- first_name?: string | undefined;
56
- last_name?: string | undefined;
57
- public_metadata?: Record<string, unknown> | undefined;
58
- private_metadata?: Record<string, unknown> | undefined;
59
- }, {
60
- operation: "create_user";
61
- email_address: string[];
62
- password?: string | undefined;
63
- credentials?: Partial<Record<CredentialType, string>> | undefined;
64
- username?: string | undefined;
65
- first_name?: string | undefined;
66
- last_name?: string | undefined;
67
- public_metadata?: Record<string, unknown> | undefined;
68
- private_metadata?: Record<string, unknown> | undefined;
69
- }>, z.ZodObject<{
70
- operation: z.ZodLiteral<"update_user">;
71
- user_id: z.ZodString;
72
- first_name: z.ZodOptional<z.ZodString>;
73
- last_name: z.ZodOptional<z.ZodString>;
74
- username: z.ZodOptional<z.ZodString>;
75
- public_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
76
- private_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
77
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
78
- }, "strip", z.ZodTypeAny, {
79
- operation: "update_user";
80
- user_id: string;
81
- credentials?: Partial<Record<CredentialType, string>> | undefined;
82
- username?: string | undefined;
83
- first_name?: string | undefined;
84
- last_name?: string | undefined;
85
- public_metadata?: Record<string, unknown> | undefined;
86
- private_metadata?: Record<string, unknown> | undefined;
87
- }, {
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
- }>, z.ZodObject<{
97
- operation: z.ZodLiteral<"delete_user">;
98
- user_id: z.ZodString;
99
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
100
- }, "strip", z.ZodTypeAny, {
101
- operation: "delete_user";
102
- user_id: string;
103
- credentials?: Partial<Record<CredentialType, string>> | undefined;
104
- }, {
105
- operation: "delete_user";
106
- user_id: string;
107
- credentials?: Partial<Record<CredentialType, string>> | undefined;
108
- }>, z.ZodObject<{
109
- operation: z.ZodLiteral<"ban_user">;
110
- user_id: z.ZodString;
111
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
112
- }, "strip", z.ZodTypeAny, {
113
- operation: "ban_user";
114
- user_id: string;
115
- credentials?: Partial<Record<CredentialType, string>> | undefined;
116
- }, {
117
- operation: "ban_user";
118
- user_id: string;
119
- credentials?: Partial<Record<CredentialType, string>> | undefined;
120
- }>, z.ZodObject<{
121
- operation: z.ZodLiteral<"unban_user">;
122
- user_id: z.ZodString;
123
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
124
- }, "strip", z.ZodTypeAny, {
125
- operation: "unban_user";
126
- user_id: string;
127
- credentials?: Partial<Record<CredentialType, string>> | undefined;
128
- }, {
129
- operation: "unban_user";
130
- user_id: string;
131
- credentials?: Partial<Record<CredentialType, string>> | undefined;
132
- }>, z.ZodObject<{
133
- operation: z.ZodLiteral<"list_organizations">;
134
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
135
- offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
136
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
137
- }, "strip", z.ZodTypeAny, {
138
- operation: "list_organizations";
139
- limit: number;
140
- offset: number;
141
- credentials?: Partial<Record<CredentialType, string>> | undefined;
142
- }, {
143
- operation: "list_organizations";
144
- credentials?: Partial<Record<CredentialType, string>> | undefined;
145
- limit?: number | undefined;
146
- offset?: number | undefined;
147
- }>, z.ZodObject<{
148
- operation: z.ZodLiteral<"get_organization">;
149
- organization_id: z.ZodString;
150
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
151
- }, "strip", z.ZodTypeAny, {
152
- operation: "get_organization";
153
- organization_id: string;
154
- credentials?: Partial<Record<CredentialType, string>> | undefined;
155
- }, {
156
- operation: "get_organization";
157
- organization_id: string;
158
- credentials?: Partial<Record<CredentialType, string>> | undefined;
159
- }>, z.ZodObject<{
160
- operation: z.ZodLiteral<"create_organization">;
161
- name: z.ZodString;
162
- slug: z.ZodOptional<z.ZodString>;
163
- created_by: z.ZodOptional<z.ZodString>;
164
- public_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
165
- private_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
166
- max_allowed_memberships: z.ZodOptional<z.ZodNumber>;
167
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
168
- }, "strip", z.ZodTypeAny, {
169
- name: string;
170
- operation: "create_organization";
171
- credentials?: Partial<Record<CredentialType, string>> | undefined;
172
- created_by?: string | undefined;
173
- public_metadata?: Record<string, unknown> | undefined;
174
- private_metadata?: Record<string, unknown> | undefined;
175
- slug?: string | undefined;
176
- max_allowed_memberships?: number | undefined;
177
- }, {
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
- }>, z.ZodObject<{
187
- operation: z.ZodLiteral<"update_organization">;
188
- organization_id: z.ZodString;
189
- name: z.ZodOptional<z.ZodString>;
190
- slug: z.ZodOptional<z.ZodString>;
191
- public_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
192
- private_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
193
- max_allowed_memberships: z.ZodOptional<z.ZodNumber>;
194
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
195
- }, "strip", z.ZodTypeAny, {
196
- operation: "update_organization";
197
- organization_id: string;
198
- name?: string | undefined;
199
- credentials?: Partial<Record<CredentialType, string>> | undefined;
200
- public_metadata?: Record<string, unknown> | undefined;
201
- private_metadata?: Record<string, unknown> | undefined;
202
- slug?: string | undefined;
203
- max_allowed_memberships?: number | undefined;
204
- }, {
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
- }>, z.ZodObject<{
214
- operation: z.ZodLiteral<"delete_organization">;
215
- organization_id: z.ZodString;
216
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
217
- }, "strip", z.ZodTypeAny, {
218
- operation: "delete_organization";
219
- organization_id: string;
220
- credentials?: Partial<Record<CredentialType, string>> | undefined;
221
- }, {
222
- operation: "delete_organization";
223
- organization_id: string;
224
- credentials?: Partial<Record<CredentialType, string>> | undefined;
225
- }>, z.ZodObject<{
226
- operation: z.ZodLiteral<"list_organization_memberships">;
227
- organization_id: z.ZodString;
228
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
229
- offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
230
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
231
- }, "strip", z.ZodTypeAny, {
232
- operation: "list_organization_memberships";
233
- limit: number;
234
- offset: number;
235
- organization_id: string;
236
- credentials?: Partial<Record<CredentialType, string>> | undefined;
237
- }, {
238
- operation: "list_organization_memberships";
239
- organization_id: string;
240
- credentials?: Partial<Record<CredentialType, string>> | undefined;
241
- limit?: number | undefined;
242
- offset?: number | undefined;
243
- }>, z.ZodObject<{
244
- operation: z.ZodLiteral<"list_invitations">;
245
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
246
- offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
247
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
248
- }, "strip", z.ZodTypeAny, {
249
- operation: "list_invitations";
250
- limit: number;
251
- offset: number;
252
- credentials?: Partial<Record<CredentialType, string>> | undefined;
253
- }, {
254
- operation: "list_invitations";
255
- credentials?: Partial<Record<CredentialType, string>> | undefined;
256
- limit?: number | undefined;
257
- offset?: number | undefined;
258
- }>, z.ZodObject<{
259
- operation: z.ZodLiteral<"create_invitation">;
260
- email_address: z.ZodString;
261
- redirect_url: z.ZodOptional<z.ZodString>;
262
- public_metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
263
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
264
- }, "strip", z.ZodTypeAny, {
265
- operation: "create_invitation";
266
- email_address: string;
267
- credentials?: Partial<Record<CredentialType, string>> | undefined;
268
- public_metadata?: Record<string, unknown> | undefined;
269
- redirect_url?: string | undefined;
270
- }, {
271
- operation: "create_invitation";
272
- email_address: string;
273
- credentials?: Partial<Record<CredentialType, string>> | undefined;
274
- public_metadata?: Record<string, unknown> | undefined;
275
- redirect_url?: string | undefined;
276
- }>, z.ZodObject<{
277
- operation: z.ZodLiteral<"revoke_invitation">;
278
- invitation_id: z.ZodString;
279
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
280
- }, "strip", z.ZodTypeAny, {
281
- operation: "revoke_invitation";
282
- invitation_id: string;
283
- credentials?: Partial<Record<CredentialType, string>> | undefined;
284
- }, {
285
- operation: "revoke_invitation";
286
- invitation_id: string;
287
- credentials?: Partial<Record<CredentialType, string>> | undefined;
288
- }>, z.ZodObject<{
289
- operation: z.ZodLiteral<"list_sessions">;
290
- user_id: z.ZodOptional<z.ZodString>;
291
- status: z.ZodOptional<z.ZodEnum<["active", "ended", "expired", "removed", "replaced", "revoked", "abandoned"]>>;
292
- limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
293
- offset: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
294
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
295
- }, "strip", z.ZodTypeAny, {
296
- operation: "list_sessions";
297
- limit: number;
298
- offset: number;
299
- status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
300
- credentials?: Partial<Record<CredentialType, string>> | undefined;
301
- user_id?: string | undefined;
302
- }, {
303
- operation: "list_sessions";
304
- status?: "active" | "ended" | "expired" | "removed" | "replaced" | "revoked" | "abandoned" | undefined;
305
- credentials?: Partial<Record<CredentialType, string>> | undefined;
306
- limit?: number | undefined;
307
- offset?: number | undefined;
308
- user_id?: string | undefined;
309
- }>, z.ZodObject<{
310
- operation: z.ZodLiteral<"revoke_session">;
311
- session_id: z.ZodString;
312
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
313
- }, "strip", z.ZodTypeAny, {
314
- operation: "revoke_session";
315
- session_id: string;
316
- credentials?: Partial<Record<CredentialType, string>> | undefined;
317
- }, {
318
- operation: "revoke_session";
319
- session_id: string;
320
- credentials?: Partial<Record<CredentialType, string>> | undefined;
321
- }>, z.ZodObject<{
322
- operation: z.ZodLiteral<"get_user_subscription">;
323
- user_id: z.ZodString;
324
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
325
- }, "strip", z.ZodTypeAny, {
326
- operation: "get_user_subscription";
327
- user_id: string;
328
- credentials?: Partial<Record<CredentialType, string>> | undefined;
329
- }, {
330
- operation: "get_user_subscription";
331
- user_id: string;
332
- credentials?: Partial<Record<CredentialType, string>> | undefined;
333
- }>, z.ZodObject<{
334
- operation: z.ZodLiteral<"get_organization_subscription">;
335
- organization_id: z.ZodString;
336
- credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
337
- }, "strip", z.ZodTypeAny, {
338
- operation: "get_organization_subscription";
339
- organization_id: string;
340
- credentials?: Partial<Record<CredentialType, string>> | undefined;
341
- }, {
342
- operation: "get_organization_subscription";
343
- organization_id: string;
344
- credentials?: Partial<Record<CredentialType, string>> | undefined;
345
- }>]>;
346
- export declare const ClerkResultSchema: z.ZodDiscriminatedUnion<"operation", [z.ZodObject<{
347
- operation: z.ZodLiteral<"list_users">;
348
- users: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
349
- total_count: z.ZodOptional<z.ZodNumber>;
350
- success: z.ZodBoolean;
351
- error: z.ZodString;
352
- }, "strip", z.ZodTypeAny, {
353
- error: string;
354
- success: boolean;
355
- operation: "list_users";
356
- users?: Record<string, unknown>[] | undefined;
357
- total_count?: number | undefined;
358
- }, {
359
- error: string;
360
- success: boolean;
361
- operation: "list_users";
362
- users?: Record<string, unknown>[] | undefined;
363
- total_count?: number | undefined;
364
- }>, z.ZodObject<{
365
- operation: z.ZodLiteral<"get_user">;
366
- user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
367
- success: z.ZodBoolean;
368
- error: z.ZodString;
369
- }, "strip", z.ZodTypeAny, {
370
- error: string;
371
- success: boolean;
372
- operation: "get_user";
373
- user?: Record<string, unknown> | undefined;
374
- }, {
375
- error: string;
376
- success: boolean;
377
- operation: "get_user";
378
- user?: Record<string, unknown> | undefined;
379
- }>, z.ZodObject<{
380
- operation: z.ZodLiteral<"create_user">;
381
- user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
382
- success: z.ZodBoolean;
383
- error: z.ZodString;
384
- }, "strip", z.ZodTypeAny, {
385
- error: string;
386
- success: boolean;
387
- operation: "create_user";
388
- user?: Record<string, unknown> | undefined;
389
- }, {
390
- error: string;
391
- success: boolean;
392
- operation: "create_user";
393
- user?: Record<string, unknown> | undefined;
394
- }>, z.ZodObject<{
395
- operation: z.ZodLiteral<"update_user">;
396
- user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
397
- success: z.ZodBoolean;
398
- error: z.ZodString;
399
- }, "strip", z.ZodTypeAny, {
400
- error: string;
401
- success: boolean;
402
- operation: "update_user";
403
- user?: Record<string, unknown> | undefined;
404
- }, {
405
- error: string;
406
- success: boolean;
407
- operation: "update_user";
408
- user?: Record<string, unknown> | undefined;
409
- }>, z.ZodObject<{
410
- operation: z.ZodLiteral<"delete_user">;
411
- success: z.ZodBoolean;
412
- error: z.ZodString;
413
- }, "strip", z.ZodTypeAny, {
414
- error: string;
415
- success: boolean;
416
- operation: "delete_user";
417
- }, {
418
- error: string;
419
- success: boolean;
420
- operation: "delete_user";
421
- }>, z.ZodObject<{
422
- operation: z.ZodLiteral<"ban_user">;
423
- user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
424
- success: z.ZodBoolean;
425
- error: z.ZodString;
426
- }, "strip", z.ZodTypeAny, {
427
- error: string;
428
- success: boolean;
429
- operation: "ban_user";
430
- user?: Record<string, unknown> | undefined;
431
- }, {
432
- error: string;
433
- success: boolean;
434
- operation: "ban_user";
435
- user?: Record<string, unknown> | undefined;
436
- }>, z.ZodObject<{
437
- operation: z.ZodLiteral<"unban_user">;
438
- user: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
439
- success: z.ZodBoolean;
440
- error: z.ZodString;
441
- }, "strip", z.ZodTypeAny, {
442
- error: string;
443
- success: boolean;
444
- operation: "unban_user";
445
- user?: Record<string, unknown> | undefined;
446
- }, {
447
- error: string;
448
- success: boolean;
449
- operation: "unban_user";
450
- user?: Record<string, unknown> | undefined;
451
- }>, z.ZodObject<{
452
- operation: z.ZodLiteral<"list_organizations">;
453
- organizations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
454
- total_count: z.ZodOptional<z.ZodNumber>;
455
- success: z.ZodBoolean;
456
- error: z.ZodString;
457
- }, "strip", z.ZodTypeAny, {
458
- error: string;
459
- success: boolean;
460
- operation: "list_organizations";
461
- total_count?: number | undefined;
462
- organizations?: Record<string, unknown>[] | undefined;
463
- }, {
464
- error: string;
465
- success: boolean;
466
- operation: "list_organizations";
467
- total_count?: number | undefined;
468
- organizations?: Record<string, unknown>[] | undefined;
469
- }>, z.ZodObject<{
470
- operation: z.ZodLiteral<"get_organization">;
471
- organization: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
472
- success: z.ZodBoolean;
473
- error: z.ZodString;
474
- }, "strip", z.ZodTypeAny, {
475
- error: string;
476
- success: boolean;
477
- operation: "get_organization";
478
- organization?: Record<string, unknown> | undefined;
479
- }, {
480
- error: string;
481
- success: boolean;
482
- operation: "get_organization";
483
- organization?: Record<string, unknown> | undefined;
484
- }>, z.ZodObject<{
485
- operation: z.ZodLiteral<"create_organization">;
486
- organization: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
487
- success: z.ZodBoolean;
488
- error: z.ZodString;
489
- }, "strip", z.ZodTypeAny, {
490
- error: string;
491
- success: boolean;
492
- operation: "create_organization";
493
- organization?: Record<string, unknown> | undefined;
494
- }, {
495
- error: string;
496
- success: boolean;
497
- operation: "create_organization";
498
- organization?: Record<string, unknown> | undefined;
499
- }>, z.ZodObject<{
500
- operation: z.ZodLiteral<"update_organization">;
501
- organization: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
502
- success: z.ZodBoolean;
503
- error: z.ZodString;
504
- }, "strip", z.ZodTypeAny, {
505
- error: string;
506
- success: boolean;
507
- operation: "update_organization";
508
- organization?: Record<string, unknown> | undefined;
509
- }, {
510
- error: string;
511
- success: boolean;
512
- operation: "update_organization";
513
- organization?: Record<string, unknown> | undefined;
514
- }>, z.ZodObject<{
515
- operation: z.ZodLiteral<"delete_organization">;
516
- success: z.ZodBoolean;
517
- error: z.ZodString;
518
- }, "strip", z.ZodTypeAny, {
519
- error: string;
520
- success: boolean;
521
- operation: "delete_organization";
522
- }, {
523
- error: string;
524
- success: boolean;
525
- operation: "delete_organization";
526
- }>, z.ZodObject<{
527
- operation: z.ZodLiteral<"list_organization_memberships">;
528
- memberships: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
529
- total_count: z.ZodOptional<z.ZodNumber>;
530
- success: z.ZodBoolean;
531
- error: z.ZodString;
532
- }, "strip", z.ZodTypeAny, {
533
- error: string;
534
- success: boolean;
535
- operation: "list_organization_memberships";
536
- total_count?: number | undefined;
537
- memberships?: Record<string, unknown>[] | undefined;
538
- }, {
539
- error: string;
540
- success: boolean;
541
- operation: "list_organization_memberships";
542
- total_count?: number | undefined;
543
- memberships?: Record<string, unknown>[] | undefined;
544
- }>, z.ZodObject<{
545
- operation: z.ZodLiteral<"list_invitations">;
546
- invitations: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
547
- total_count: z.ZodOptional<z.ZodNumber>;
548
- success: z.ZodBoolean;
549
- error: z.ZodString;
550
- }, "strip", z.ZodTypeAny, {
551
- error: string;
552
- success: boolean;
553
- operation: "list_invitations";
554
- total_count?: number | undefined;
555
- invitations?: Record<string, unknown>[] | undefined;
556
- }, {
557
- error: string;
558
- success: boolean;
559
- operation: "list_invitations";
560
- total_count?: number | undefined;
561
- invitations?: Record<string, unknown>[] | undefined;
562
- }>, z.ZodObject<{
563
- operation: z.ZodLiteral<"create_invitation">;
564
- invitation: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
565
- success: z.ZodBoolean;
566
- error: z.ZodString;
567
- }, "strip", z.ZodTypeAny, {
568
- error: string;
569
- success: boolean;
570
- operation: "create_invitation";
571
- invitation?: Record<string, unknown> | undefined;
572
- }, {
573
- error: string;
574
- success: boolean;
575
- operation: "create_invitation";
576
- invitation?: Record<string, unknown> | undefined;
577
- }>, z.ZodObject<{
578
- operation: z.ZodLiteral<"revoke_invitation">;
579
- success: z.ZodBoolean;
580
- error: z.ZodString;
581
- }, "strip", z.ZodTypeAny, {
582
- error: string;
583
- success: boolean;
584
- operation: "revoke_invitation";
585
- }, {
586
- error: string;
587
- success: boolean;
588
- operation: "revoke_invitation";
589
- }>, z.ZodObject<{
590
- operation: z.ZodLiteral<"list_sessions">;
591
- sessions: z.ZodOptional<z.ZodArray<z.ZodRecord<z.ZodString, z.ZodUnknown>, "many">>;
592
- total_count: z.ZodOptional<z.ZodNumber>;
593
- success: z.ZodBoolean;
594
- error: z.ZodString;
595
- }, "strip", z.ZodTypeAny, {
596
- error: string;
597
- success: boolean;
598
- operation: "list_sessions";
599
- total_count?: number | undefined;
600
- sessions?: Record<string, unknown>[] | undefined;
601
- }, {
602
- error: string;
603
- success: boolean;
604
- operation: "list_sessions";
605
- total_count?: number | undefined;
606
- sessions?: Record<string, unknown>[] | undefined;
607
- }>, z.ZodObject<{
608
- operation: z.ZodLiteral<"revoke_session">;
609
- success: z.ZodBoolean;
610
- error: z.ZodString;
611
- }, "strip", z.ZodTypeAny, {
612
- error: string;
613
- success: boolean;
614
- operation: "revoke_session";
615
- }, {
616
- error: string;
617
- success: boolean;
618
- operation: "revoke_session";
619
- }>, z.ZodObject<{
620
- operation: z.ZodLiteral<"get_user_subscription">;
621
- subscription: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
622
- success: z.ZodBoolean;
623
- error: z.ZodString;
624
- }, "strip", z.ZodTypeAny, {
625
- error: string;
626
- success: boolean;
627
- operation: "get_user_subscription";
628
- subscription?: Record<string, unknown> | undefined;
629
- }, {
630
- error: string;
631
- success: boolean;
632
- operation: "get_user_subscription";
633
- subscription?: Record<string, unknown> | undefined;
634
- }>, z.ZodObject<{
635
- operation: z.ZodLiteral<"get_organization_subscription">;
636
- subscription: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
637
- success: z.ZodBoolean;
638
- error: z.ZodString;
639
- }, "strip", z.ZodTypeAny, {
640
- error: string;
641
- success: boolean;
642
- operation: "get_organization_subscription";
643
- subscription?: Record<string, unknown> | undefined;
644
- }, {
645
- error: string;
646
- success: boolean;
647
- operation: "get_organization_subscription";
648
- subscription?: Record<string, unknown> | undefined;
649
- }>]>;
650
- export type ClerkParamsInput = z.input<typeof ClerkParamsSchema>;
651
- export type ClerkParams = z.output<typeof ClerkParamsSchema>;
652
- export type ClerkResult = z.output<typeof ClerkResultSchema>;
653
- //# sourceMappingURL=clerk.schema.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"clerk.schema.d.ts","sourceRoot":"","sources":["../../../../src/bubbles/service-bubble/clerk/clerk.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,cAAc,EAAE,MAAM,2BAA2B,CAAC;AAoB3D,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IA8U5B,CAAC;AAMH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAmI5B,CAAC;AAMH,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AACjE,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAC7D,MAAM,MAAM,WAAW,GAAG,CAAC,CAAC,MAAM,CAAC,OAAO,iBAAiB,CAAC,CAAC"}