@bubblelab/bubble-core 0.1.53 → 0.1.55

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 (71) hide show
  1. package/dist/bubble-bundle.d.ts +110 -110
  2. package/dist/bubbles/service-bubble/agi-inc.d.ts +172 -172
  3. package/dist/bubbles/service-bubble/ai-agent.d.ts +66 -66
  4. package/dist/bubbles/service-bubble/airtable.d.ts +228 -228
  5. package/dist/bubbles/service-bubble/apify/apify.d.ts +14 -14
  6. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +202 -202
  7. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +180 -180
  8. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +72 -72
  9. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +36 -36
  10. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +26 -26
  11. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +118 -118
  12. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  13. package/dist/bubbles/service-bubble/firecrawl.d.ts +758 -758
  14. package/dist/bubbles/service-bubble/followupboss.d.ts +436 -436
  15. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +281 -281
  16. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +341 -341
  17. package/dist/bubbles/service-bubble/github.d.ts +248 -248
  18. package/dist/bubbles/service-bubble/gmail.d.ts +659 -659
  19. package/dist/bubbles/service-bubble/google-calendar.d.ts +60 -60
  20. package/dist/bubbles/service-bubble/google-drive.d.ts +144 -144
  21. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
  22. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
  23. package/dist/bubbles/service-bubble/hello-world.d.ts +6 -6
  24. package/dist/bubbles/service-bubble/http.d.ts +20 -20
  25. package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
  26. package/dist/bubbles/service-bubble/jira/jira.d.ts +81 -81
  27. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +37 -37
  28. package/dist/bubbles/service-bubble/notion/notion.d.ts +2219 -2219
  29. package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
  30. package/dist/bubbles/service-bubble/resend.d.ts +44 -44
  31. package/dist/bubbles/service-bubble/slack/slack.d.ts +615 -615
  32. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  33. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +158 -158
  34. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +170 -170
  35. package/dist/bubbles/service-bubble/telegram.d.ts +1742 -1742
  36. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +24 -24
  37. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +16 -16
  38. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +24 -24
  39. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +24 -24
  40. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +12 -12
  41. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +144 -144
  42. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  43. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
  45. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +18 -18
  46. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +8 -8
  47. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +6 -6
  48. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +148 -148
  49. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +12 -12
  50. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +164 -164
  51. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
  52. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  54. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +20 -20
  55. package/dist/bubbles/tool-bubble/tool-template.d.ts +8 -8
  56. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +104 -104
  57. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +30 -30
  58. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  59. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +12 -12
  60. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +22 -22
  61. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +32 -32
  62. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  63. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
  64. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +12 -12
  65. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +162 -162
  66. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
  67. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
  68. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +52 -52
  69. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
  70. package/dist/bubbles.json +1 -1
  71. package/package.json +2 -2
@@ -27,15 +27,15 @@ export declare const StripeProductSchema: z.ZodObject<{
27
27
  created: z.ZodNumber;
28
28
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
29
29
  }, "strip", z.ZodTypeAny, {
30
- id: string;
31
30
  name: string;
31
+ id: string;
32
32
  created: number;
33
33
  active: boolean;
34
34
  description?: string | null | undefined;
35
35
  metadata?: Record<string, string> | undefined;
36
36
  }, {
37
- id: string;
38
37
  name: string;
38
+ id: string;
39
39
  created: number;
40
40
  active: boolean;
41
41
  description?: string | null | undefined;
@@ -51,18 +51,18 @@ export declare const StripePriceSchema: z.ZodObject<{
51
51
  created: z.ZodNumber;
52
52
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
53
53
  }, "strip", z.ZodTypeAny, {
54
+ type: "one_time" | "recurring";
54
55
  id: string;
55
56
  created: number;
56
- type: "one_time" | "recurring";
57
57
  active: boolean;
58
58
  product: string;
59
59
  unit_amount: number | null;
60
60
  currency: string;
61
61
  metadata?: Record<string, string> | undefined;
62
62
  }, {
63
+ type: "one_time" | "recurring";
63
64
  id: string;
64
65
  created: number;
65
- type: "one_time" | "recurring";
66
66
  active: boolean;
67
67
  product: string;
68
68
  unit_amount: number | null;
@@ -76,15 +76,15 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
76
76
  created: z.ZodOptional<z.ZodNumber>;
77
77
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
78
78
  }, "strip", z.ZodTypeAny, {
79
+ url: string;
79
80
  id: string;
80
81
  active: boolean;
81
- url: string;
82
82
  created?: number | undefined;
83
83
  metadata?: Record<string, string> | undefined;
84
84
  }, {
85
+ url: string;
85
86
  id: string;
86
87
  active: boolean;
87
- url: string;
88
88
  created?: number | undefined;
89
89
  metadata?: Record<string, string> | undefined;
90
90
  }>;
@@ -100,8 +100,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
100
100
  invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
101
101
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
102
102
  }, "strip", z.ZodTypeAny, {
103
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
103
104
  id: string;
104
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
105
105
  currency: string;
106
106
  customer: string | null;
107
107
  total: number;
@@ -111,8 +111,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
111
111
  hosted_invoice_url?: string | null | undefined;
112
112
  invoice_pdf?: string | null | undefined;
113
113
  }, {
114
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
114
115
  id: string;
115
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
116
116
  currency: string;
117
117
  customer: string | null;
118
118
  total: number;
@@ -171,17 +171,17 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
171
171
  created: z.ZodNumber;
172
172
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
173
173
  }, "strip", z.ZodTypeAny, {
174
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
174
175
  id: string;
175
176
  created: number;
176
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
177
177
  currency: string;
178
178
  amount: number;
179
179
  metadata?: Record<string, string> | undefined;
180
180
  customer?: string | null | undefined;
181
181
  }, {
182
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
182
183
  id: string;
183
184
  created: number;
184
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
185
185
  currency: string;
186
186
  amount: number;
187
187
  metadata?: Record<string, string> | undefined;
@@ -197,18 +197,18 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
197
197
  created: z.ZodNumber;
198
198
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
199
199
  }, "strip", z.ZodTypeAny, {
200
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
200
201
  id: string;
201
202
  created: number;
202
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
203
203
  customer: string;
204
204
  cancel_at_period_end: boolean;
205
205
  metadata?: Record<string, string> | undefined;
206
206
  current_period_start?: number | undefined;
207
207
  current_period_end?: number | undefined;
208
208
  }, {
209
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
209
210
  id: string;
210
211
  created: number;
211
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
212
212
  customer: string;
213
213
  cancel_at_period_end: boolean;
214
214
  metadata?: Record<string, string> | undefined;
@@ -225,14 +225,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
225
225
  name: string;
226
226
  operation: "create_customer";
227
227
  email?: string | undefined;
228
- metadata?: Record<string, string> | undefined;
229
228
  credentials?: Partial<Record<CredentialType, string>> | undefined;
229
+ metadata?: Record<string, string> | undefined;
230
230
  }, {
231
231
  name: string;
232
232
  operation: "create_customer";
233
233
  email?: string | undefined;
234
- metadata?: Record<string, string> | undefined;
235
234
  credentials?: Partial<Record<CredentialType, string>> | undefined;
235
+ metadata?: Record<string, string> | undefined;
236
236
  }>, z.ZodObject<{
237
237
  operation: z.ZodLiteral<"list_customers">;
238
238
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -258,14 +258,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
258
258
  name: string;
259
259
  operation: "create_product";
260
260
  description?: string | undefined;
261
- metadata?: Record<string, string> | undefined;
262
261
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
+ metadata?: Record<string, string> | undefined;
263
263
  }, {
264
264
  name: string;
265
265
  operation: "create_product";
266
266
  description?: string | undefined;
267
- metadata?: Record<string, string> | undefined;
268
267
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
+ metadata?: Record<string, string> | undefined;
269
269
  }>, z.ZodObject<{
270
270
  operation: z.ZodLiteral<"list_products">;
271
271
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -274,12 +274,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
274
274
  }, "strip", z.ZodTypeAny, {
275
275
  operation: "list_products";
276
276
  limit: number;
277
- active?: boolean | undefined;
278
277
  credentials?: Partial<Record<CredentialType, string>> | undefined;
278
+ active?: boolean | undefined;
279
279
  }, {
280
280
  operation: "list_products";
281
- active?: boolean | undefined;
282
281
  credentials?: Partial<Record<CredentialType, string>> | undefined;
282
+ active?: boolean | undefined;
283
283
  limit?: number | undefined;
284
284
  }>, z.ZodObject<{
285
285
  operation: z.ZodLiteral<"create_price">;
@@ -299,27 +299,27 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
299
299
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
300
300
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
301
301
  }, "strip", z.ZodTypeAny, {
302
+ operation: "create_price";
302
303
  product: string;
303
304
  unit_amount: number;
304
305
  currency: string;
305
- operation: "create_price";
306
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
306
307
  metadata?: Record<string, string> | undefined;
307
308
  recurring?: {
308
309
  interval: "day" | "week" | "month" | "year";
309
310
  interval_count: number;
310
311
  } | undefined;
311
- credentials?: Partial<Record<CredentialType, string>> | undefined;
312
312
  }, {
313
+ operation: "create_price";
313
314
  product: string;
314
315
  unit_amount: number;
315
- operation: "create_price";
316
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
316
317
  metadata?: Record<string, string> | undefined;
317
318
  currency?: string | undefined;
318
319
  recurring?: {
319
320
  interval: "day" | "week" | "month" | "year";
320
321
  interval_count?: number | undefined;
321
322
  } | undefined;
322
- credentials?: Partial<Record<CredentialType, string>> | undefined;
323
323
  }>, z.ZodObject<{
324
324
  operation: z.ZodLiteral<"list_prices">;
325
325
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -329,14 +329,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
329
329
  }, "strip", z.ZodTypeAny, {
330
330
  operation: "list_prices";
331
331
  limit: number;
332
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
332
333
  active?: boolean | undefined;
333
334
  product?: string | undefined;
334
- credentials?: Partial<Record<CredentialType, string>> | undefined;
335
335
  }, {
336
336
  operation: "list_prices";
337
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
337
338
  active?: boolean | undefined;
338
339
  product?: string | undefined;
339
- credentials?: Partial<Record<CredentialType, string>> | undefined;
340
340
  limit?: number | undefined;
341
341
  }>, z.ZodObject<{
342
342
  operation: z.ZodLiteral<"create_payment_link">;
@@ -349,14 +349,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
349
349
  operation: "create_payment_link";
350
350
  price: string;
351
351
  quantity: number;
352
- metadata?: Record<string, string> | undefined;
353
352
  credentials?: Partial<Record<CredentialType, string>> | undefined;
353
+ metadata?: Record<string, string> | undefined;
354
354
  redirect_url?: string | undefined;
355
355
  }, {
356
356
  operation: "create_payment_link";
357
357
  price: string;
358
- metadata?: Record<string, string> | undefined;
359
358
  credentials?: Partial<Record<CredentialType, string>> | undefined;
359
+ metadata?: Record<string, string> | undefined;
360
360
  quantity?: number | undefined;
361
361
  redirect_url?: string | undefined;
362
362
  }>, z.ZodObject<{
@@ -368,18 +368,18 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
368
368
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
369
369
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
370
370
  }, "strip", z.ZodTypeAny, {
371
- customer: string;
372
371
  operation: "create_invoice";
372
+ customer: string;
373
373
  auto_advance: boolean;
374
374
  collection_method: "charge_automatically" | "send_invoice";
375
- metadata?: Record<string, string> | undefined;
376
375
  credentials?: Partial<Record<CredentialType, string>> | undefined;
376
+ metadata?: Record<string, string> | undefined;
377
377
  days_until_due?: number | undefined;
378
378
  }, {
379
- customer: string;
380
379
  operation: "create_invoice";
381
- metadata?: Record<string, string> | undefined;
380
+ customer: string;
382
381
  credentials?: Partial<Record<CredentialType, string>> | undefined;
382
+ metadata?: Record<string, string> | undefined;
383
383
  auto_advance?: boolean | undefined;
384
384
  collection_method?: "charge_automatically" | "send_invoice" | undefined;
385
385
  days_until_due?: number | undefined;
@@ -392,14 +392,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
392
392
  }, "strip", z.ZodTypeAny, {
393
393
  operation: "list_invoices";
394
394
  limit: number;
395
- status?: "draft" | "open" | "paid" | "uncollectible" | "void" | undefined;
396
- customer?: string | undefined;
395
+ status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
397
396
  credentials?: Partial<Record<CredentialType, string>> | undefined;
397
+ customer?: string | undefined;
398
398
  }, {
399
399
  operation: "list_invoices";
400
- status?: "draft" | "open" | "paid" | "uncollectible" | "void" | undefined;
401
- customer?: string | undefined;
400
+ status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
402
401
  credentials?: Partial<Record<CredentialType, string>> | undefined;
402
+ customer?: string | undefined;
403
403
  limit?: number | undefined;
404
404
  }>, z.ZodObject<{
405
405
  operation: z.ZodLiteral<"retrieve_invoice">;
@@ -445,12 +445,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
445
445
  }, "strip", z.ZodTypeAny, {
446
446
  operation: "list_payment_intents";
447
447
  limit: number;
448
- customer?: string | undefined;
449
448
  credentials?: Partial<Record<CredentialType, string>> | undefined;
449
+ customer?: string | undefined;
450
450
  }, {
451
451
  operation: "list_payment_intents";
452
- customer?: string | undefined;
453
452
  credentials?: Partial<Record<CredentialType, string>> | undefined;
453
+ customer?: string | undefined;
454
454
  limit?: number | undefined;
455
455
  }>, z.ZodObject<{
456
456
  operation: z.ZodLiteral<"list_subscriptions">;
@@ -462,13 +462,13 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
462
462
  operation: "list_subscriptions";
463
463
  limit: number;
464
464
  status?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
465
- customer?: string | undefined;
466
465
  credentials?: Partial<Record<CredentialType, string>> | undefined;
466
+ customer?: string | undefined;
467
467
  }, {
468
468
  operation: "list_subscriptions";
469
469
  status?: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused" | "all" | undefined;
470
- customer?: string | undefined;
471
470
  credentials?: Partial<Record<CredentialType, string>> | undefined;
471
+ customer?: string | undefined;
472
472
  limit?: number | undefined;
473
473
  }>, z.ZodObject<{
474
474
  operation: z.ZodLiteral<"cancel_subscription">;
@@ -476,15 +476,15 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
476
476
  cancel_at_period_end: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
477
477
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
478
478
  }, "strip", z.ZodTypeAny, {
479
- cancel_at_period_end: boolean;
480
479
  operation: "cancel_subscription";
480
+ cancel_at_period_end: boolean;
481
481
  subscription_id: string;
482
482
  credentials?: Partial<Record<CredentialType, string>> | undefined;
483
483
  }, {
484
484
  operation: "cancel_subscription";
485
485
  subscription_id: string;
486
- cancel_at_period_end?: boolean | undefined;
487
486
  credentials?: Partial<Record<CredentialType, string>> | undefined;
487
+ cancel_at_period_end?: boolean | undefined;
488
488
  }>, z.ZodObject<{
489
489
  operation: z.ZodLiteral<"list_payment_links">;
490
490
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -493,12 +493,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
493
493
  }, "strip", z.ZodTypeAny, {
494
494
  operation: "list_payment_links";
495
495
  limit: number;
496
- active?: boolean | undefined;
497
496
  credentials?: Partial<Record<CredentialType, string>> | undefined;
497
+ active?: boolean | undefined;
498
498
  }, {
499
499
  operation: "list_payment_links";
500
- active?: boolean | undefined;
501
500
  credentials?: Partial<Record<CredentialType, string>> | undefined;
501
+ active?: boolean | undefined;
502
502
  limit?: number | undefined;
503
503
  }>, z.ZodObject<{
504
504
  operation: z.ZodLiteral<"create_subscription">;
@@ -509,19 +509,19 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
509
509
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
510
510
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
511
511
  }, "strip", z.ZodTypeAny, {
512
- customer: string;
513
512
  operation: "create_subscription";
513
+ customer: string;
514
514
  price: string;
515
515
  payment_behavior: "default_incomplete" | "error_if_incomplete" | "allow_incomplete";
516
- metadata?: Record<string, string> | undefined;
517
516
  credentials?: Partial<Record<CredentialType, string>> | undefined;
517
+ metadata?: Record<string, string> | undefined;
518
518
  trial_period_days?: number | undefined;
519
519
  }, {
520
- customer: string;
521
520
  operation: "create_subscription";
521
+ customer: string;
522
522
  price: string;
523
- metadata?: Record<string, string> | undefined;
524
523
  credentials?: Partial<Record<CredentialType, string>> | undefined;
524
+ metadata?: Record<string, string> | undefined;
525
525
  trial_period_days?: number | undefined;
526
526
  payment_behavior?: "default_incomplete" | "error_if_incomplete" | "allow_incomplete" | undefined;
527
527
  }>]>;
@@ -549,9 +549,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
549
549
  }>>;
550
550
  error: z.ZodString;
551
551
  }, "strip", z.ZodTypeAny, {
552
- operation: "create_customer";
553
- success: boolean;
554
552
  error: string;
553
+ success: boolean;
554
+ operation: "create_customer";
555
555
  customer?: {
556
556
  id: string;
557
557
  created: number;
@@ -560,9 +560,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
560
560
  metadata?: Record<string, string> | undefined;
561
561
  } | undefined;
562
562
  }, {
563
- operation: "create_customer";
564
- success: boolean;
565
563
  error: string;
564
+ success: boolean;
565
+ operation: "create_customer";
566
566
  customer?: {
567
567
  id: string;
568
568
  created: number;
@@ -594,9 +594,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
594
594
  }>, "many">>;
595
595
  error: z.ZodString;
596
596
  }, "strip", z.ZodTypeAny, {
597
- operation: "list_customers";
598
- success: boolean;
599
597
  error: string;
598
+ success: boolean;
599
+ operation: "list_customers";
600
600
  customers?: {
601
601
  id: string;
602
602
  created: number;
@@ -605,9 +605,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
605
605
  metadata?: Record<string, string> | undefined;
606
606
  }[] | undefined;
607
607
  }, {
608
- operation: "list_customers";
609
- success: boolean;
610
608
  error: string;
609
+ success: boolean;
610
+ operation: "list_customers";
611
611
  customers?: {
612
612
  id: string;
613
613
  created: number;
@@ -626,15 +626,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
626
626
  created: z.ZodNumber;
627
627
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
628
628
  }, "strip", z.ZodTypeAny, {
629
- id: string;
630
629
  name: string;
630
+ id: string;
631
631
  created: number;
632
632
  active: boolean;
633
633
  description?: string | null | undefined;
634
634
  metadata?: Record<string, string> | undefined;
635
635
  }, {
636
- id: string;
637
636
  name: string;
637
+ id: string;
638
638
  created: number;
639
639
  active: boolean;
640
640
  description?: string | null | undefined;
@@ -642,24 +642,24 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
642
642
  }>>;
643
643
  error: z.ZodString;
644
644
  }, "strip", z.ZodTypeAny, {
645
- operation: "create_product";
646
- success: boolean;
647
645
  error: string;
646
+ success: boolean;
647
+ operation: "create_product";
648
648
  product?: {
649
- id: string;
650
649
  name: string;
650
+ id: string;
651
651
  created: number;
652
652
  active: boolean;
653
653
  description?: string | null | undefined;
654
654
  metadata?: Record<string, string> | undefined;
655
655
  } | undefined;
656
656
  }, {
657
- operation: "create_product";
658
- success: boolean;
659
657
  error: string;
658
+ success: boolean;
659
+ operation: "create_product";
660
660
  product?: {
661
- id: string;
662
661
  name: string;
662
+ id: string;
663
663
  created: number;
664
664
  active: boolean;
665
665
  description?: string | null | undefined;
@@ -676,15 +676,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
676
676
  created: z.ZodNumber;
677
677
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
678
678
  }, "strip", z.ZodTypeAny, {
679
- id: string;
680
679
  name: string;
680
+ id: string;
681
681
  created: number;
682
682
  active: boolean;
683
683
  description?: string | null | undefined;
684
684
  metadata?: Record<string, string> | undefined;
685
685
  }, {
686
- id: string;
687
686
  name: string;
687
+ id: string;
688
688
  created: number;
689
689
  active: boolean;
690
690
  description?: string | null | undefined;
@@ -692,24 +692,24 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
692
692
  }>, "many">>;
693
693
  error: z.ZodString;
694
694
  }, "strip", z.ZodTypeAny, {
695
- operation: "list_products";
696
- success: boolean;
697
695
  error: string;
696
+ success: boolean;
697
+ operation: "list_products";
698
698
  products?: {
699
- id: string;
700
699
  name: string;
700
+ id: string;
701
701
  created: number;
702
702
  active: boolean;
703
703
  description?: string | null | undefined;
704
704
  metadata?: Record<string, string> | undefined;
705
705
  }[] | undefined;
706
706
  }, {
707
- operation: "list_products";
708
- success: boolean;
709
707
  error: string;
708
+ success: boolean;
709
+ operation: "list_products";
710
710
  products?: {
711
- id: string;
712
711
  name: string;
712
+ id: string;
713
713
  created: number;
714
714
  active: boolean;
715
715
  description?: string | null | undefined;
@@ -728,18 +728,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
728
728
  created: z.ZodNumber;
729
729
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
730
730
  }, "strip", z.ZodTypeAny, {
731
+ type: "one_time" | "recurring";
731
732
  id: string;
732
733
  created: number;
733
- type: "one_time" | "recurring";
734
734
  active: boolean;
735
735
  product: string;
736
736
  unit_amount: number | null;
737
737
  currency: string;
738
738
  metadata?: Record<string, string> | undefined;
739
739
  }, {
740
+ type: "one_time" | "recurring";
740
741
  id: string;
741
742
  created: number;
742
- type: "one_time" | "recurring";
743
743
  active: boolean;
744
744
  product: string;
745
745
  unit_amount: number | null;
@@ -748,13 +748,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
748
748
  }>>;
749
749
  error: z.ZodString;
750
750
  }, "strip", z.ZodTypeAny, {
751
- operation: "create_price";
752
- success: boolean;
753
751
  error: string;
752
+ success: boolean;
753
+ operation: "create_price";
754
754
  price?: {
755
+ type: "one_time" | "recurring";
755
756
  id: string;
756
757
  created: number;
757
- type: "one_time" | "recurring";
758
758
  active: boolean;
759
759
  product: string;
760
760
  unit_amount: number | null;
@@ -762,13 +762,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
762
762
  metadata?: Record<string, string> | undefined;
763
763
  } | undefined;
764
764
  }, {
765
- operation: "create_price";
766
- success: boolean;
767
765
  error: string;
766
+ success: boolean;
767
+ operation: "create_price";
768
768
  price?: {
769
+ type: "one_time" | "recurring";
769
770
  id: string;
770
771
  created: number;
771
- type: "one_time" | "recurring";
772
772
  active: boolean;
773
773
  product: string;
774
774
  unit_amount: number | null;
@@ -788,18 +788,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
788
788
  created: z.ZodNumber;
789
789
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
790
790
  }, "strip", z.ZodTypeAny, {
791
+ type: "one_time" | "recurring";
791
792
  id: string;
792
793
  created: number;
793
- type: "one_time" | "recurring";
794
794
  active: boolean;
795
795
  product: string;
796
796
  unit_amount: number | null;
797
797
  currency: string;
798
798
  metadata?: Record<string, string> | undefined;
799
799
  }, {
800
+ type: "one_time" | "recurring";
800
801
  id: string;
801
802
  created: number;
802
- type: "one_time" | "recurring";
803
803
  active: boolean;
804
804
  product: string;
805
805
  unit_amount: number | null;
@@ -808,13 +808,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
808
808
  }>, "many">>;
809
809
  error: z.ZodString;
810
810
  }, "strip", z.ZodTypeAny, {
811
- operation: "list_prices";
812
- success: boolean;
813
811
  error: string;
812
+ success: boolean;
813
+ operation: "list_prices";
814
814
  prices?: {
815
+ type: "one_time" | "recurring";
815
816
  id: string;
816
817
  created: number;
817
- type: "one_time" | "recurring";
818
818
  active: boolean;
819
819
  product: string;
820
820
  unit_amount: number | null;
@@ -822,13 +822,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
822
822
  metadata?: Record<string, string> | undefined;
823
823
  }[] | undefined;
824
824
  }, {
825
- operation: "list_prices";
826
- success: boolean;
827
825
  error: string;
826
+ success: boolean;
827
+ operation: "list_prices";
828
828
  prices?: {
829
+ type: "one_time" | "recurring";
829
830
  id: string;
830
831
  created: number;
831
- type: "one_time" | "recurring";
832
832
  active: boolean;
833
833
  product: string;
834
834
  unit_amount: number | null;
@@ -845,38 +845,38 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
845
845
  created: z.ZodOptional<z.ZodNumber>;
846
846
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
847
847
  }, "strip", z.ZodTypeAny, {
848
+ url: string;
848
849
  id: string;
849
850
  active: boolean;
850
- url: string;
851
851
  created?: number | undefined;
852
852
  metadata?: Record<string, string> | undefined;
853
853
  }, {
854
+ url: string;
854
855
  id: string;
855
856
  active: boolean;
856
- url: string;
857
857
  created?: number | undefined;
858
858
  metadata?: Record<string, string> | undefined;
859
859
  }>>;
860
860
  error: z.ZodString;
861
861
  }, "strip", z.ZodTypeAny, {
862
- operation: "create_payment_link";
863
- success: boolean;
864
862
  error: string;
863
+ success: boolean;
864
+ operation: "create_payment_link";
865
865
  payment_link?: {
866
+ url: string;
866
867
  id: string;
867
868
  active: boolean;
868
- url: string;
869
869
  created?: number | undefined;
870
870
  metadata?: Record<string, string> | undefined;
871
871
  } | undefined;
872
872
  }, {
873
- operation: "create_payment_link";
874
- success: boolean;
875
873
  error: string;
874
+ success: boolean;
875
+ operation: "create_payment_link";
876
876
  payment_link?: {
877
+ url: string;
877
878
  id: string;
878
879
  active: boolean;
879
- url: string;
880
880
  created?: number | undefined;
881
881
  metadata?: Record<string, string> | undefined;
882
882
  } | undefined;
@@ -895,8 +895,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
895
895
  invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
896
896
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
897
897
  }, "strip", z.ZodTypeAny, {
898
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
898
899
  id: string;
899
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
900
900
  currency: string;
901
901
  customer: string | null;
902
902
  total: number;
@@ -906,8 +906,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
906
906
  hosted_invoice_url?: string | null | undefined;
907
907
  invoice_pdf?: string | null | undefined;
908
908
  }, {
909
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
909
910
  id: string;
910
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
911
911
  currency: string;
912
912
  customer: string | null;
913
913
  total: number;
@@ -919,12 +919,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
919
919
  }>>;
920
920
  error: z.ZodString;
921
921
  }, "strip", z.ZodTypeAny, {
922
- operation: "create_invoice";
923
- success: boolean;
924
922
  error: string;
923
+ success: boolean;
924
+ operation: "create_invoice";
925
925
  invoice?: {
926
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
926
927
  id: string;
927
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
928
928
  currency: string;
929
929
  customer: string | null;
930
930
  total: number;
@@ -935,12 +935,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
935
935
  invoice_pdf?: string | null | undefined;
936
936
  } | undefined;
937
937
  }, {
938
- operation: "create_invoice";
939
- success: boolean;
940
938
  error: string;
939
+ success: boolean;
940
+ operation: "create_invoice";
941
941
  invoice?: {
942
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
942
943
  id: string;
943
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
944
944
  currency: string;
945
945
  customer: string | null;
946
946
  total: number;
@@ -965,8 +965,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
965
965
  invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
966
966
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
967
967
  }, "strip", z.ZodTypeAny, {
968
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
968
969
  id: string;
969
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
970
970
  currency: string;
971
971
  customer: string | null;
972
972
  total: number;
@@ -976,8 +976,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
976
976
  hosted_invoice_url?: string | null | undefined;
977
977
  invoice_pdf?: string | null | undefined;
978
978
  }, {
979
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
979
980
  id: string;
980
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
981
981
  currency: string;
982
982
  customer: string | null;
983
983
  total: number;
@@ -989,12 +989,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
989
989
  }>, "many">>;
990
990
  error: z.ZodString;
991
991
  }, "strip", z.ZodTypeAny, {
992
- operation: "list_invoices";
993
- success: boolean;
994
992
  error: string;
993
+ success: boolean;
994
+ operation: "list_invoices";
995
995
  invoices?: {
996
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
996
997
  id: string;
997
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
998
998
  currency: string;
999
999
  customer: string | null;
1000
1000
  total: number;
@@ -1005,12 +1005,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1005
1005
  invoice_pdf?: string | null | undefined;
1006
1006
  }[] | undefined;
1007
1007
  }, {
1008
- operation: "list_invoices";
1009
- success: boolean;
1010
1008
  error: string;
1009
+ success: boolean;
1010
+ operation: "list_invoices";
1011
1011
  invoices?: {
1012
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1012
1013
  id: string;
1013
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1014
1014
  currency: string;
1015
1015
  customer: string | null;
1016
1016
  total: number;
@@ -1035,8 +1035,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1035
1035
  invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1036
1036
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1037
1037
  }, "strip", z.ZodTypeAny, {
1038
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1038
1039
  id: string;
1039
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1040
1040
  currency: string;
1041
1041
  customer: string | null;
1042
1042
  total: number;
@@ -1046,8 +1046,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1046
1046
  hosted_invoice_url?: string | null | undefined;
1047
1047
  invoice_pdf?: string | null | undefined;
1048
1048
  }, {
1049
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1049
1050
  id: string;
1050
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1051
1051
  currency: string;
1052
1052
  customer: string | null;
1053
1053
  total: number;
@@ -1059,12 +1059,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1059
1059
  }>>;
1060
1060
  error: z.ZodString;
1061
1061
  }, "strip", z.ZodTypeAny, {
1062
- operation: "retrieve_invoice";
1063
- success: boolean;
1064
1062
  error: string;
1063
+ success: boolean;
1064
+ operation: "retrieve_invoice";
1065
1065
  invoice?: {
1066
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1066
1067
  id: string;
1067
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1068
1068
  currency: string;
1069
1069
  customer: string | null;
1070
1070
  total: number;
@@ -1075,12 +1075,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1075
1075
  invoice_pdf?: string | null | undefined;
1076
1076
  } | undefined;
1077
1077
  }, {
1078
- operation: "retrieve_invoice";
1079
- success: boolean;
1080
1078
  error: string;
1079
+ success: boolean;
1080
+ operation: "retrieve_invoice";
1081
1081
  invoice?: {
1082
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1082
1083
  id: string;
1083
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1084
1084
  currency: string;
1085
1085
  customer: string | null;
1086
1086
  total: number;
@@ -1105,8 +1105,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1105
1105
  invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1106
1106
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1107
1107
  }, "strip", z.ZodTypeAny, {
1108
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1108
1109
  id: string;
1109
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1110
1110
  currency: string;
1111
1111
  customer: string | null;
1112
1112
  total: number;
@@ -1116,8 +1116,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1116
1116
  hosted_invoice_url?: string | null | undefined;
1117
1117
  invoice_pdf?: string | null | undefined;
1118
1118
  }, {
1119
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1119
1120
  id: string;
1120
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1121
1121
  currency: string;
1122
1122
  customer: string | null;
1123
1123
  total: number;
@@ -1129,12 +1129,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1129
1129
  }>>;
1130
1130
  error: z.ZodString;
1131
1131
  }, "strip", z.ZodTypeAny, {
1132
- operation: "finalize_invoice";
1133
- success: boolean;
1134
1132
  error: string;
1133
+ success: boolean;
1134
+ operation: "finalize_invoice";
1135
1135
  invoice?: {
1136
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1136
1137
  id: string;
1137
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1138
1138
  currency: string;
1139
1139
  customer: string | null;
1140
1140
  total: number;
@@ -1145,12 +1145,12 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1145
1145
  invoice_pdf?: string | null | undefined;
1146
1146
  } | undefined;
1147
1147
  }, {
1148
- operation: "finalize_invoice";
1149
- success: boolean;
1150
1148
  error: string;
1149
+ success: boolean;
1150
+ operation: "finalize_invoice";
1151
1151
  invoice?: {
1152
+ status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1152
1153
  id: string;
1153
- status: "draft" | "open" | "paid" | "uncollectible" | "void" | null;
1154
1154
  currency: string;
1155
1155
  customer: string | null;
1156
1156
  total: number;
@@ -1205,9 +1205,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1205
1205
  }>>;
1206
1206
  error: z.ZodString;
1207
1207
  }, "strip", z.ZodTypeAny, {
1208
- operation: "get_balance";
1209
- success: boolean;
1210
1208
  error: string;
1209
+ success: boolean;
1210
+ operation: "get_balance";
1211
1211
  balance?: {
1212
1212
  available: {
1213
1213
  currency: string;
@@ -1219,9 +1219,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1219
1219
  }[];
1220
1220
  } | undefined;
1221
1221
  }, {
1222
- operation: "get_balance";
1223
- success: boolean;
1224
1222
  error: string;
1223
+ success: boolean;
1224
+ operation: "get_balance";
1225
1225
  balance?: {
1226
1226
  available: {
1227
1227
  currency: string;
@@ -1244,17 +1244,17 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1244
1244
  created: z.ZodNumber;
1245
1245
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1246
1246
  }, "strip", z.ZodTypeAny, {
1247
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1247
1248
  id: string;
1248
1249
  created: number;
1249
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1250
1250
  currency: string;
1251
1251
  amount: number;
1252
1252
  metadata?: Record<string, string> | undefined;
1253
1253
  customer?: string | null | undefined;
1254
1254
  }, {
1255
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1255
1256
  id: string;
1256
1257
  created: number;
1257
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1258
1258
  currency: string;
1259
1259
  amount: number;
1260
1260
  metadata?: Record<string, string> | undefined;
@@ -1262,26 +1262,26 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1262
1262
  }>, "many">>;
1263
1263
  error: z.ZodString;
1264
1264
  }, "strip", z.ZodTypeAny, {
1265
- operation: "list_payment_intents";
1266
- success: boolean;
1267
1265
  error: string;
1266
+ success: boolean;
1267
+ operation: "list_payment_intents";
1268
1268
  payment_intents?: {
1269
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1269
1270
  id: string;
1270
1271
  created: number;
1271
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1272
1272
  currency: string;
1273
1273
  amount: number;
1274
1274
  metadata?: Record<string, string> | undefined;
1275
1275
  customer?: string | null | undefined;
1276
1276
  }[] | undefined;
1277
1277
  }, {
1278
- operation: "list_payment_intents";
1279
- success: boolean;
1280
1278
  error: string;
1279
+ success: boolean;
1280
+ operation: "list_payment_intents";
1281
1281
  payment_intents?: {
1282
+ status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1282
1283
  id: string;
1283
1284
  created: number;
1284
- status: "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "canceled" | "succeeded";
1285
1285
  currency: string;
1286
1286
  amount: number;
1287
1287
  metadata?: Record<string, string> | undefined;
@@ -1300,18 +1300,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1300
1300
  created: z.ZodNumber;
1301
1301
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1302
1302
  }, "strip", z.ZodTypeAny, {
1303
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1303
1304
  id: string;
1304
1305
  created: number;
1305
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1306
1306
  customer: string;
1307
1307
  cancel_at_period_end: boolean;
1308
1308
  metadata?: Record<string, string> | undefined;
1309
1309
  current_period_start?: number | undefined;
1310
1310
  current_period_end?: number | undefined;
1311
1311
  }, {
1312
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1312
1313
  id: string;
1313
1314
  created: number;
1314
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1315
1315
  customer: string;
1316
1316
  cancel_at_period_end: boolean;
1317
1317
  metadata?: Record<string, string> | undefined;
@@ -1320,13 +1320,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1320
1320
  }>, "many">>;
1321
1321
  error: z.ZodString;
1322
1322
  }, "strip", z.ZodTypeAny, {
1323
- operation: "list_subscriptions";
1324
- success: boolean;
1325
1323
  error: string;
1324
+ success: boolean;
1325
+ operation: "list_subscriptions";
1326
1326
  subscriptions?: {
1327
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1327
1328
  id: string;
1328
1329
  created: number;
1329
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1330
1330
  customer: string;
1331
1331
  cancel_at_period_end: boolean;
1332
1332
  metadata?: Record<string, string> | undefined;
@@ -1334,13 +1334,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1334
1334
  current_period_end?: number | undefined;
1335
1335
  }[] | undefined;
1336
1336
  }, {
1337
- operation: "list_subscriptions";
1338
- success: boolean;
1339
1337
  error: string;
1338
+ success: boolean;
1339
+ operation: "list_subscriptions";
1340
1340
  subscriptions?: {
1341
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1341
1342
  id: string;
1342
1343
  created: number;
1343
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1344
1344
  customer: string;
1345
1345
  cancel_at_period_end: boolean;
1346
1346
  metadata?: Record<string, string> | undefined;
@@ -1360,18 +1360,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1360
1360
  created: z.ZodNumber;
1361
1361
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1362
1362
  }, "strip", z.ZodTypeAny, {
1363
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1363
1364
  id: string;
1364
1365
  created: number;
1365
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1366
1366
  customer: string;
1367
1367
  cancel_at_period_end: boolean;
1368
1368
  metadata?: Record<string, string> | undefined;
1369
1369
  current_period_start?: number | undefined;
1370
1370
  current_period_end?: number | undefined;
1371
1371
  }, {
1372
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1372
1373
  id: string;
1373
1374
  created: number;
1374
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1375
1375
  customer: string;
1376
1376
  cancel_at_period_end: boolean;
1377
1377
  metadata?: Record<string, string> | undefined;
@@ -1380,13 +1380,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1380
1380
  }>>;
1381
1381
  error: z.ZodString;
1382
1382
  }, "strip", z.ZodTypeAny, {
1383
- operation: "cancel_subscription";
1384
- success: boolean;
1385
1383
  error: string;
1384
+ success: boolean;
1385
+ operation: "cancel_subscription";
1386
1386
  subscription?: {
1387
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1387
1388
  id: string;
1388
1389
  created: number;
1389
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1390
1390
  customer: string;
1391
1391
  cancel_at_period_end: boolean;
1392
1392
  metadata?: Record<string, string> | undefined;
@@ -1394,13 +1394,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1394
1394
  current_period_end?: number | undefined;
1395
1395
  } | undefined;
1396
1396
  }, {
1397
- operation: "cancel_subscription";
1398
- success: boolean;
1399
1397
  error: string;
1398
+ success: boolean;
1399
+ operation: "cancel_subscription";
1400
1400
  subscription?: {
1401
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1401
1402
  id: string;
1402
1403
  created: number;
1403
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1404
1404
  customer: string;
1405
1405
  cancel_at_period_end: boolean;
1406
1406
  metadata?: Record<string, string> | undefined;
@@ -1417,38 +1417,38 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1417
1417
  created: z.ZodOptional<z.ZodNumber>;
1418
1418
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1419
1419
  }, "strip", z.ZodTypeAny, {
1420
+ url: string;
1420
1421
  id: string;
1421
1422
  active: boolean;
1422
- url: string;
1423
1423
  created?: number | undefined;
1424
1424
  metadata?: Record<string, string> | undefined;
1425
1425
  }, {
1426
+ url: string;
1426
1427
  id: string;
1427
1428
  active: boolean;
1428
- url: string;
1429
1429
  created?: number | undefined;
1430
1430
  metadata?: Record<string, string> | undefined;
1431
1431
  }>, "many">>;
1432
1432
  error: z.ZodString;
1433
1433
  }, "strip", z.ZodTypeAny, {
1434
- operation: "list_payment_links";
1435
- success: boolean;
1436
1434
  error: string;
1435
+ success: boolean;
1436
+ operation: "list_payment_links";
1437
1437
  payment_links?: {
1438
+ url: string;
1438
1439
  id: string;
1439
1440
  active: boolean;
1440
- url: string;
1441
1441
  created?: number | undefined;
1442
1442
  metadata?: Record<string, string> | undefined;
1443
1443
  }[] | undefined;
1444
1444
  }, {
1445
- operation: "list_payment_links";
1446
- success: boolean;
1447
1445
  error: string;
1446
+ success: boolean;
1447
+ operation: "list_payment_links";
1448
1448
  payment_links?: {
1449
+ url: string;
1449
1450
  id: string;
1450
1451
  active: boolean;
1451
- url: string;
1452
1452
  created?: number | undefined;
1453
1453
  metadata?: Record<string, string> | undefined;
1454
1454
  }[] | undefined;
@@ -1465,18 +1465,18 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1465
1465
  created: z.ZodNumber;
1466
1466
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1467
1467
  }, "strip", z.ZodTypeAny, {
1468
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1468
1469
  id: string;
1469
1470
  created: number;
1470
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1471
1471
  customer: string;
1472
1472
  cancel_at_period_end: boolean;
1473
1473
  metadata?: Record<string, string> | undefined;
1474
1474
  current_period_start?: number | undefined;
1475
1475
  current_period_end?: number | undefined;
1476
1476
  }, {
1477
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1477
1478
  id: string;
1478
1479
  created: number;
1479
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1480
1480
  customer: string;
1481
1481
  cancel_at_period_end: boolean;
1482
1482
  metadata?: Record<string, string> | undefined;
@@ -1485,13 +1485,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1485
1485
  }>>;
1486
1486
  error: z.ZodString;
1487
1487
  }, "strip", z.ZodTypeAny, {
1488
- operation: "create_subscription";
1489
- success: boolean;
1490
1488
  error: string;
1489
+ success: boolean;
1490
+ operation: "create_subscription";
1491
1491
  subscription?: {
1492
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1492
1493
  id: string;
1493
1494
  created: number;
1494
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1495
1495
  customer: string;
1496
1496
  cancel_at_period_end: boolean;
1497
1497
  metadata?: Record<string, string> | undefined;
@@ -1499,13 +1499,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1499
1499
  current_period_end?: number | undefined;
1500
1500
  } | undefined;
1501
1501
  }, {
1502
- operation: "create_subscription";
1503
- success: boolean;
1504
1502
  error: string;
1503
+ success: boolean;
1504
+ operation: "create_subscription";
1505
1505
  subscription?: {
1506
+ status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1506
1507
  id: string;
1507
1508
  created: number;
1508
- status: "active" | "canceled" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | "paused";
1509
1509
  customer: string;
1510
1510
  cancel_at_period_end: boolean;
1511
1511
  metadata?: Record<string, string> | undefined;