@bubblelab/bubble-core 0.1.99 → 0.1.101

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 (84) hide show
  1. package/dist/bubble-bundle.d.ts +166 -126
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +4 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +56 -56
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  7. package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
  8. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  9. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
  10. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
  11. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +22 -22
  12. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
  13. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +155 -155
  14. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
  15. package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
  16. package/dist/bubbles/service-bubble/firecrawl.d.ts +388 -388
  17. package/dist/bubbles/service-bubble/followupboss.d.ts +376 -376
  18. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +78 -78
  19. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
  20. package/dist/bubbles/service-bubble/github.d.ts +140 -140
  21. package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
  22. package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
  23. package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
  24. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
  25. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
  26. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  27. package/dist/bubbles/service-bubble/http.d.ts +8 -8
  28. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  29. package/dist/bubbles/service-bubble/jira/jira.d.ts +36 -36
  30. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
  31. package/dist/bubbles/service-bubble/notion/notion.d.ts +126 -126
  32. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  33. package/dist/bubbles/service-bubble/resend.d.ts +12 -12
  34. package/dist/bubbles/service-bubble/slack/slack.d.ts +633 -633
  35. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  36. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +68 -68
  37. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +141 -141
  38. package/dist/bubbles/service-bubble/telegram.d.ts +976 -976
  39. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +22 -22
  40. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
  41. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  42. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
  43. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  44. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
  45. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  46. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  47. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +40 -40
  48. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +38 -38
  49. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
  50. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  51. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +475 -475
  52. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  53. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  54. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  55. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +166 -166
  56. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +42 -42
  57. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  58. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  59. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
  60. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  61. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +194 -194
  62. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  63. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
  64. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
  65. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
  66. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +516 -0
  67. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts.map +1 -0
  68. package/dist/bubbles/tool-bubble/yc-scraper-tool.js +317 -0
  69. package/dist/bubbles/tool-bubble/yc-scraper-tool.js.map +1 -0
  70. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
  71. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  72. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  73. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  74. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +40 -40
  75. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  76. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
  77. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
  78. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  79. package/dist/bubbles.json +244 -2
  80. package/dist/index.d.ts +2 -0
  81. package/dist/index.d.ts.map +1 -1
  82. package/dist/index.js +1 -0
  83. package/dist/index.js.map +1 -1
  84. package/package.json +2 -2
@@ -51,21 +51,21 @@ 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
+ type: "recurring" | "one_time";
55
55
  id: string;
56
56
  created: number;
57
57
  currency: string;
58
- active: boolean;
59
58
  product: string;
59
+ active: boolean;
60
60
  unit_amount: number | null;
61
61
  metadata?: Record<string, string> | undefined;
62
62
  }, {
63
- type: "one_time" | "recurring";
63
+ type: "recurring" | "one_time";
64
64
  id: string;
65
65
  created: number;
66
66
  currency: string;
67
- active: boolean;
68
67
  product: string;
68
+ active: boolean;
69
69
  unit_amount: number | null;
70
70
  metadata?: Record<string, string> | undefined;
71
71
  }>;
@@ -79,14 +79,14 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
79
79
  url: string;
80
80
  id: string;
81
81
  active: boolean;
82
- metadata?: Record<string, string> | undefined;
83
82
  created?: number | undefined;
83
+ metadata?: Record<string, string> | undefined;
84
84
  }, {
85
85
  url: string;
86
86
  id: string;
87
87
  active: boolean;
88
- metadata?: Record<string, string> | undefined;
89
88
  created?: number | undefined;
89
+ metadata?: Record<string, string> | undefined;
90
90
  }>;
91
91
  export declare const StripeInvoiceSchema: z.ZodObject<{
92
92
  id: z.ZodString;
@@ -105,8 +105,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
105
105
  total: number;
106
106
  currency: string;
107
107
  customer: string | null;
108
- metadata?: Record<string, string> | undefined;
109
108
  created?: number | undefined;
109
+ metadata?: Record<string, string> | undefined;
110
110
  due_date?: string | null | undefined;
111
111
  hosted_invoice_url?: string | null | undefined;
112
112
  invoice_pdf?: string | null | undefined;
@@ -116,8 +116,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
116
116
  total: number;
117
117
  currency: string;
118
118
  customer: string | null;
119
- metadata?: Record<string, string> | undefined;
120
119
  created?: number | undefined;
120
+ metadata?: Record<string, string> | undefined;
121
121
  due_date?: string | null | undefined;
122
122
  hosted_invoice_url?: string | null | undefined;
123
123
  invoice_pdf?: string | null | undefined;
@@ -141,9 +141,9 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
141
141
  description?: string | null | undefined;
142
142
  date?: number | undefined;
143
143
  metadata?: Record<string, string> | undefined;
144
+ quantity?: number | undefined;
144
145
  unit_amount?: number | null | undefined;
145
146
  invoice?: string | null | undefined;
146
- quantity?: number | undefined;
147
147
  }, {
148
148
  id: string;
149
149
  currency: string;
@@ -152,9 +152,9 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
152
152
  description?: string | null | undefined;
153
153
  date?: number | undefined;
154
154
  metadata?: Record<string, string> | undefined;
155
+ quantity?: number | undefined;
155
156
  unit_amount?: number | null | undefined;
156
157
  invoice?: string | null | undefined;
157
- quantity?: number | undefined;
158
158
  }>;
159
159
  export declare const StripeBalanceSchema: z.ZodObject<{
160
160
  available: z.ZodArray<z.ZodObject<{
@@ -178,20 +178,20 @@ export declare const StripeBalanceSchema: z.ZodObject<{
178
178
  amount: number;
179
179
  }>, "many">;
180
180
  }, "strip", z.ZodTypeAny, {
181
- pending: {
181
+ available: {
182
182
  currency: string;
183
183
  amount: number;
184
184
  }[];
185
- available: {
185
+ pending: {
186
186
  currency: string;
187
187
  amount: number;
188
188
  }[];
189
189
  }, {
190
- pending: {
190
+ available: {
191
191
  currency: string;
192
192
  amount: number;
193
193
  }[];
194
- available: {
194
+ pending: {
195
195
  currency: string;
196
196
  amount: number;
197
197
  }[];
@@ -205,7 +205,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
205
205
  created: z.ZodNumber;
206
206
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
207
207
  }, "strip", z.ZodTypeAny, {
208
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
208
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
209
209
  id: string;
210
210
  created: number;
211
211
  currency: string;
@@ -213,7 +213,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
213
213
  metadata?: Record<string, string> | undefined;
214
214
  customer?: string | null | undefined;
215
215
  }, {
216
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
216
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
217
217
  id: string;
218
218
  created: number;
219
219
  currency: string;
@@ -231,7 +231,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
231
231
  created: z.ZodNumber;
232
232
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
233
233
  }, "strip", z.ZodTypeAny, {
234
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
234
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
235
235
  id: string;
236
236
  created: number;
237
237
  customer: string;
@@ -240,7 +240,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
240
240
  current_period_start?: number | undefined;
241
241
  current_period_end?: number | undefined;
242
242
  }, {
243
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
243
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
244
244
  id: string;
245
245
  created: number;
246
246
  customer: string;
@@ -258,14 +258,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
258
258
  }, "strip", z.ZodTypeAny, {
259
259
  name: string;
260
260
  operation: "create_customer";
261
- credentials?: Partial<Record<CredentialType, string>> | undefined;
262
261
  email?: string | undefined;
262
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
263
263
  metadata?: Record<string, string> | undefined;
264
264
  }, {
265
265
  name: string;
266
266
  operation: "create_customer";
267
- credentials?: Partial<Record<CredentialType, string>> | undefined;
268
267
  email?: string | undefined;
268
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
269
269
  metadata?: Record<string, string> | undefined;
270
270
  }>, z.ZodObject<{
271
271
  operation: z.ZodLiteral<"list_customers">;
@@ -275,12 +275,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
275
275
  }, "strip", z.ZodTypeAny, {
276
276
  operation: "list_customers";
277
277
  limit: number;
278
- credentials?: Partial<Record<CredentialType, string>> | undefined;
279
278
  email?: string | undefined;
279
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
280
280
  }, {
281
281
  operation: "list_customers";
282
- credentials?: Partial<Record<CredentialType, string>> | undefined;
283
282
  email?: string | undefined;
283
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
284
284
  limit?: number | undefined;
285
285
  }>, z.ZodObject<{
286
286
  operation: z.ZodLiteral<"create_product">;
@@ -364,14 +364,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
364
364
  operation: "list_prices";
365
365
  limit: number;
366
366
  credentials?: Partial<Record<CredentialType, string>> | undefined;
367
- active?: boolean | undefined;
368
367
  product?: string | undefined;
368
+ active?: boolean | undefined;
369
369
  }, {
370
370
  operation: "list_prices";
371
371
  credentials?: Partial<Record<CredentialType, string>> | undefined;
372
372
  limit?: number | undefined;
373
- active?: boolean | undefined;
374
373
  product?: string | undefined;
374
+ active?: boolean | undefined;
375
375
  }>, z.ZodObject<{
376
376
  operation: z.ZodLiteral<"create_payment_link">;
377
377
  price: z.ZodString;
@@ -404,8 +404,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
404
404
  description: z.ZodOptional<z.ZodString>;
405
405
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
406
406
  }, "strip", z.ZodTypeAny, {
407
- unit_amount: number;
408
407
  quantity: number;
408
+ unit_amount: number;
409
409
  description?: string | undefined;
410
410
  }, {
411
411
  unit_amount: number;
@@ -420,8 +420,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
420
420
  auto_advance: boolean;
421
421
  collection_method: "charge_automatically" | "send_invoice";
422
422
  items?: {
423
- unit_amount: number;
424
423
  quantity: number;
424
+ unit_amount: number;
425
425
  description?: string | undefined;
426
426
  }[] | undefined;
427
427
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -498,9 +498,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
498
498
  }, "strip", z.ZodTypeAny, {
499
499
  operation: "create_invoice_item";
500
500
  currency: string;
501
+ quantity: number;
501
502
  unit_amount: number;
502
503
  customer: string;
503
- quantity: number;
504
504
  description?: string | undefined;
505
505
  credentials?: Partial<Record<CredentialType, string>> | undefined;
506
506
  metadata?: Record<string, string> | undefined;
@@ -513,8 +513,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
513
513
  credentials?: Partial<Record<CredentialType, string>> | undefined;
514
514
  metadata?: Record<string, string> | undefined;
515
515
  currency?: string | undefined;
516
- invoice?: string | undefined;
517
516
  quantity?: number | undefined;
517
+ invoice?: string | undefined;
518
518
  }>, z.ZodObject<{
519
519
  operation: z.ZodLiteral<"send_invoice">;
520
520
  invoice_id: z.ZodString;
@@ -560,12 +560,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
560
560
  }, "strip", z.ZodTypeAny, {
561
561
  operation: "list_subscriptions";
562
562
  limit: number;
563
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
563
+ status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
564
564
  credentials?: Partial<Record<CredentialType, string>> | undefined;
565
565
  customer?: string | undefined;
566
566
  }, {
567
567
  operation: "list_subscriptions";
568
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
568
+ status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
569
569
  credentials?: Partial<Record<CredentialType, string>> | undefined;
570
570
  limit?: number | undefined;
571
571
  customer?: string | undefined;
@@ -576,8 +576,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
576
576
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
577
577
  }, "strip", z.ZodTypeAny, {
578
578
  operation: "cancel_subscription";
579
- cancel_at_period_end: boolean;
580
579
  subscription_id: string;
580
+ cancel_at_period_end: boolean;
581
581
  credentials?: Partial<Record<CredentialType, string>> | undefined;
582
582
  }, {
583
583
  operation: "cancel_subscription";
@@ -648,8 +648,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
648
648
  }>>;
649
649
  error: z.ZodString;
650
650
  }, "strip", z.ZodTypeAny, {
651
- error: string;
652
651
  success: boolean;
652
+ error: string;
653
653
  operation: "create_customer";
654
654
  customer?: {
655
655
  id: string;
@@ -659,8 +659,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
659
659
  metadata?: Record<string, string> | undefined;
660
660
  } | undefined;
661
661
  }, {
662
- error: string;
663
662
  success: boolean;
663
+ error: string;
664
664
  operation: "create_customer";
665
665
  customer?: {
666
666
  id: string;
@@ -693,8 +693,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
693
693
  }>, "many">>;
694
694
  error: z.ZodString;
695
695
  }, "strip", z.ZodTypeAny, {
696
- error: string;
697
696
  success: boolean;
697
+ error: string;
698
698
  operation: "list_customers";
699
699
  customers?: {
700
700
  id: string;
@@ -704,8 +704,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
704
704
  metadata?: Record<string, string> | undefined;
705
705
  }[] | undefined;
706
706
  }, {
707
- error: string;
708
707
  success: boolean;
708
+ error: string;
709
709
  operation: "list_customers";
710
710
  customers?: {
711
711
  id: string;
@@ -741,8 +741,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
741
741
  }>>;
742
742
  error: z.ZodString;
743
743
  }, "strip", z.ZodTypeAny, {
744
- error: string;
745
744
  success: boolean;
745
+ error: string;
746
746
  operation: "create_product";
747
747
  product?: {
748
748
  name: string;
@@ -753,8 +753,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
753
753
  metadata?: Record<string, string> | undefined;
754
754
  } | undefined;
755
755
  }, {
756
- error: string;
757
756
  success: boolean;
757
+ error: string;
758
758
  operation: "create_product";
759
759
  product?: {
760
760
  name: string;
@@ -791,8 +791,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
791
791
  }>, "many">>;
792
792
  error: z.ZodString;
793
793
  }, "strip", z.ZodTypeAny, {
794
- error: string;
795
794
  success: boolean;
795
+ error: string;
796
796
  operation: "list_products";
797
797
  products?: {
798
798
  name: string;
@@ -803,8 +803,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
803
803
  metadata?: Record<string, string> | undefined;
804
804
  }[] | undefined;
805
805
  }, {
806
- error: string;
807
806
  success: boolean;
807
+ error: string;
808
808
  operation: "list_products";
809
809
  products?: {
810
810
  name: string;
@@ -827,50 +827,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
827
827
  created: z.ZodNumber;
828
828
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
829
829
  }, "strip", z.ZodTypeAny, {
830
- type: "one_time" | "recurring";
830
+ type: "recurring" | "one_time";
831
831
  id: string;
832
832
  created: number;
833
833
  currency: string;
834
- active: boolean;
835
834
  product: string;
835
+ active: boolean;
836
836
  unit_amount: number | null;
837
837
  metadata?: Record<string, string> | undefined;
838
838
  }, {
839
- type: "one_time" | "recurring";
839
+ type: "recurring" | "one_time";
840
840
  id: string;
841
841
  created: number;
842
842
  currency: string;
843
- active: boolean;
844
843
  product: string;
844
+ active: boolean;
845
845
  unit_amount: number | null;
846
846
  metadata?: Record<string, string> | undefined;
847
847
  }>>;
848
848
  error: z.ZodString;
849
849
  }, "strip", z.ZodTypeAny, {
850
- error: string;
851
850
  success: boolean;
851
+ error: string;
852
852
  operation: "create_price";
853
853
  price?: {
854
- type: "one_time" | "recurring";
854
+ type: "recurring" | "one_time";
855
855
  id: string;
856
856
  created: number;
857
857
  currency: string;
858
- active: boolean;
859
858
  product: string;
859
+ active: boolean;
860
860
  unit_amount: number | null;
861
861
  metadata?: Record<string, string> | undefined;
862
862
  } | undefined;
863
863
  }, {
864
- error: string;
865
864
  success: boolean;
865
+ error: string;
866
866
  operation: "create_price";
867
867
  price?: {
868
- type: "one_time" | "recurring";
868
+ type: "recurring" | "one_time";
869
869
  id: string;
870
870
  created: number;
871
871
  currency: string;
872
- active: boolean;
873
872
  product: string;
873
+ active: boolean;
874
874
  unit_amount: number | null;
875
875
  metadata?: Record<string, string> | undefined;
876
876
  } | undefined;
@@ -887,50 +887,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
887
887
  created: z.ZodNumber;
888
888
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
889
889
  }, "strip", z.ZodTypeAny, {
890
- type: "one_time" | "recurring";
890
+ type: "recurring" | "one_time";
891
891
  id: string;
892
892
  created: number;
893
893
  currency: string;
894
- active: boolean;
895
894
  product: string;
895
+ active: boolean;
896
896
  unit_amount: number | null;
897
897
  metadata?: Record<string, string> | undefined;
898
898
  }, {
899
- type: "one_time" | "recurring";
899
+ type: "recurring" | "one_time";
900
900
  id: string;
901
901
  created: number;
902
902
  currency: string;
903
- active: boolean;
904
903
  product: string;
904
+ active: boolean;
905
905
  unit_amount: number | null;
906
906
  metadata?: Record<string, string> | undefined;
907
907
  }>, "many">>;
908
908
  error: z.ZodString;
909
909
  }, "strip", z.ZodTypeAny, {
910
- error: string;
911
910
  success: boolean;
911
+ error: string;
912
912
  operation: "list_prices";
913
913
  prices?: {
914
- type: "one_time" | "recurring";
914
+ type: "recurring" | "one_time";
915
915
  id: string;
916
916
  created: number;
917
917
  currency: string;
918
- active: boolean;
919
918
  product: string;
919
+ active: boolean;
920
920
  unit_amount: number | null;
921
921
  metadata?: Record<string, string> | undefined;
922
922
  }[] | undefined;
923
923
  }, {
924
- error: string;
925
924
  success: boolean;
925
+ error: string;
926
926
  operation: "list_prices";
927
927
  prices?: {
928
- type: "one_time" | "recurring";
928
+ type: "recurring" | "one_time";
929
929
  id: string;
930
930
  created: number;
931
931
  currency: string;
932
- active: boolean;
933
932
  product: string;
933
+ active: boolean;
934
934
  unit_amount: number | null;
935
935
  metadata?: Record<string, string> | undefined;
936
936
  }[] | undefined;
@@ -947,37 +947,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
947
947
  url: string;
948
948
  id: string;
949
949
  active: boolean;
950
- metadata?: Record<string, string> | undefined;
951
950
  created?: number | undefined;
951
+ metadata?: Record<string, string> | undefined;
952
952
  }, {
953
953
  url: string;
954
954
  id: string;
955
955
  active: boolean;
956
- metadata?: Record<string, string> | undefined;
957
956
  created?: number | undefined;
957
+ metadata?: Record<string, string> | undefined;
958
958
  }>>;
959
959
  error: z.ZodString;
960
960
  }, "strip", z.ZodTypeAny, {
961
- error: string;
962
961
  success: boolean;
962
+ error: string;
963
963
  operation: "create_payment_link";
964
964
  payment_link?: {
965
965
  url: string;
966
966
  id: string;
967
967
  active: boolean;
968
- metadata?: Record<string, string> | undefined;
969
968
  created?: number | undefined;
969
+ metadata?: Record<string, string> | undefined;
970
970
  } | undefined;
971
971
  }, {
972
- error: string;
973
972
  success: boolean;
973
+ error: string;
974
974
  operation: "create_payment_link";
975
975
  payment_link?: {
976
976
  url: string;
977
977
  id: string;
978
978
  active: boolean;
979
- metadata?: Record<string, string> | undefined;
980
979
  created?: number | undefined;
980
+ metadata?: Record<string, string> | undefined;
981
981
  } | undefined;
982
982
  }>, z.ZodObject<{
983
983
  operation: z.ZodLiteral<"create_invoice">;
@@ -999,8 +999,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
999
999
  total: number;
1000
1000
  currency: string;
1001
1001
  customer: string | null;
1002
- metadata?: Record<string, string> | undefined;
1003
1002
  created?: number | undefined;
1003
+ metadata?: Record<string, string> | undefined;
1004
1004
  due_date?: string | null | undefined;
1005
1005
  hosted_invoice_url?: string | null | undefined;
1006
1006
  invoice_pdf?: string | null | undefined;
@@ -1010,16 +1010,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1010
1010
  total: number;
1011
1011
  currency: string;
1012
1012
  customer: string | null;
1013
- metadata?: Record<string, string> | undefined;
1014
1013
  created?: number | undefined;
1014
+ metadata?: Record<string, string> | undefined;
1015
1015
  due_date?: string | null | undefined;
1016
1016
  hosted_invoice_url?: string | null | undefined;
1017
1017
  invoice_pdf?: string | null | undefined;
1018
1018
  }>>;
1019
1019
  error: z.ZodString;
1020
1020
  }, "strip", z.ZodTypeAny, {
1021
- error: string;
1022
1021
  success: boolean;
1022
+ error: string;
1023
1023
  operation: "create_invoice";
1024
1024
  invoice?: {
1025
1025
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1027,15 +1027,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1027
1027
  total: number;
1028
1028
  currency: string;
1029
1029
  customer: string | null;
1030
- metadata?: Record<string, string> | undefined;
1031
1030
  created?: number | undefined;
1031
+ metadata?: Record<string, string> | undefined;
1032
1032
  due_date?: string | null | undefined;
1033
1033
  hosted_invoice_url?: string | null | undefined;
1034
1034
  invoice_pdf?: string | null | undefined;
1035
1035
  } | undefined;
1036
1036
  }, {
1037
- error: string;
1038
1037
  success: boolean;
1038
+ error: string;
1039
1039
  operation: "create_invoice";
1040
1040
  invoice?: {
1041
1041
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1043,8 +1043,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1043
1043
  total: number;
1044
1044
  currency: string;
1045
1045
  customer: string | null;
1046
- metadata?: Record<string, string> | undefined;
1047
1046
  created?: number | undefined;
1047
+ metadata?: Record<string, string> | undefined;
1048
1048
  due_date?: string | null | undefined;
1049
1049
  hosted_invoice_url?: string | null | undefined;
1050
1050
  invoice_pdf?: string | null | undefined;
@@ -1069,8 +1069,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1069
1069
  total: number;
1070
1070
  currency: string;
1071
1071
  customer: string | null;
1072
- metadata?: Record<string, string> | undefined;
1073
1072
  created?: number | undefined;
1073
+ metadata?: Record<string, string> | undefined;
1074
1074
  due_date?: string | null | undefined;
1075
1075
  hosted_invoice_url?: string | null | undefined;
1076
1076
  invoice_pdf?: string | null | undefined;
@@ -1080,16 +1080,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1080
1080
  total: number;
1081
1081
  currency: string;
1082
1082
  customer: string | null;
1083
- metadata?: Record<string, string> | undefined;
1084
1083
  created?: number | undefined;
1084
+ metadata?: Record<string, string> | undefined;
1085
1085
  due_date?: string | null | undefined;
1086
1086
  hosted_invoice_url?: string | null | undefined;
1087
1087
  invoice_pdf?: string | null | undefined;
1088
1088
  }>, "many">>;
1089
1089
  error: z.ZodString;
1090
1090
  }, "strip", z.ZodTypeAny, {
1091
- error: string;
1092
1091
  success: boolean;
1092
+ error: string;
1093
1093
  operation: "list_invoices";
1094
1094
  invoices?: {
1095
1095
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1097,15 +1097,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1097
1097
  total: number;
1098
1098
  currency: string;
1099
1099
  customer: string | null;
1100
- metadata?: Record<string, string> | undefined;
1101
1100
  created?: number | undefined;
1101
+ metadata?: Record<string, string> | undefined;
1102
1102
  due_date?: string | null | undefined;
1103
1103
  hosted_invoice_url?: string | null | undefined;
1104
1104
  invoice_pdf?: string | null | undefined;
1105
1105
  }[] | undefined;
1106
1106
  }, {
1107
- error: string;
1108
1107
  success: boolean;
1108
+ error: string;
1109
1109
  operation: "list_invoices";
1110
1110
  invoices?: {
1111
1111
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1113,8 +1113,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1113
1113
  total: number;
1114
1114
  currency: string;
1115
1115
  customer: string | null;
1116
- metadata?: Record<string, string> | undefined;
1117
1116
  created?: number | undefined;
1117
+ metadata?: Record<string, string> | undefined;
1118
1118
  due_date?: string | null | undefined;
1119
1119
  hosted_invoice_url?: string | null | undefined;
1120
1120
  invoice_pdf?: string | null | undefined;
@@ -1139,8 +1139,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1139
1139
  total: number;
1140
1140
  currency: string;
1141
1141
  customer: string | null;
1142
- metadata?: Record<string, string> | undefined;
1143
1142
  created?: number | undefined;
1143
+ metadata?: Record<string, string> | undefined;
1144
1144
  due_date?: string | null | undefined;
1145
1145
  hosted_invoice_url?: string | null | undefined;
1146
1146
  invoice_pdf?: string | null | undefined;
@@ -1150,16 +1150,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1150
1150
  total: number;
1151
1151
  currency: string;
1152
1152
  customer: string | null;
1153
- metadata?: Record<string, string> | undefined;
1154
1153
  created?: number | undefined;
1154
+ metadata?: Record<string, string> | undefined;
1155
1155
  due_date?: string | null | undefined;
1156
1156
  hosted_invoice_url?: string | null | undefined;
1157
1157
  invoice_pdf?: string | null | undefined;
1158
1158
  }>>;
1159
1159
  error: z.ZodString;
1160
1160
  }, "strip", z.ZodTypeAny, {
1161
- error: string;
1162
1161
  success: boolean;
1162
+ error: string;
1163
1163
  operation: "retrieve_invoice";
1164
1164
  invoice?: {
1165
1165
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1167,15 +1167,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1167
1167
  total: number;
1168
1168
  currency: string;
1169
1169
  customer: string | null;
1170
- metadata?: Record<string, string> | undefined;
1171
1170
  created?: number | undefined;
1171
+ metadata?: Record<string, string> | undefined;
1172
1172
  due_date?: string | null | undefined;
1173
1173
  hosted_invoice_url?: string | null | undefined;
1174
1174
  invoice_pdf?: string | null | undefined;
1175
1175
  } | undefined;
1176
1176
  }, {
1177
- error: string;
1178
1177
  success: boolean;
1178
+ error: string;
1179
1179
  operation: "retrieve_invoice";
1180
1180
  invoice?: {
1181
1181
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1183,8 +1183,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1183
1183
  total: number;
1184
1184
  currency: string;
1185
1185
  customer: string | null;
1186
- metadata?: Record<string, string> | undefined;
1187
1186
  created?: number | undefined;
1187
+ metadata?: Record<string, string> | undefined;
1188
1188
  due_date?: string | null | undefined;
1189
1189
  hosted_invoice_url?: string | null | undefined;
1190
1190
  invoice_pdf?: string | null | undefined;
@@ -1209,8 +1209,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1209
1209
  total: number;
1210
1210
  currency: string;
1211
1211
  customer: string | null;
1212
- metadata?: Record<string, string> | undefined;
1213
1212
  created?: number | undefined;
1213
+ metadata?: Record<string, string> | undefined;
1214
1214
  due_date?: string | null | undefined;
1215
1215
  hosted_invoice_url?: string | null | undefined;
1216
1216
  invoice_pdf?: string | null | undefined;
@@ -1220,16 +1220,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1220
1220
  total: number;
1221
1221
  currency: string;
1222
1222
  customer: string | null;
1223
- metadata?: Record<string, string> | undefined;
1224
1223
  created?: number | undefined;
1224
+ metadata?: Record<string, string> | undefined;
1225
1225
  due_date?: string | null | undefined;
1226
1226
  hosted_invoice_url?: string | null | undefined;
1227
1227
  invoice_pdf?: string | null | undefined;
1228
1228
  }>>;
1229
1229
  error: z.ZodString;
1230
1230
  }, "strip", z.ZodTypeAny, {
1231
- error: string;
1232
1231
  success: boolean;
1232
+ error: string;
1233
1233
  operation: "finalize_invoice";
1234
1234
  invoice?: {
1235
1235
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1237,15 +1237,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1237
1237
  total: number;
1238
1238
  currency: string;
1239
1239
  customer: string | null;
1240
- metadata?: Record<string, string> | undefined;
1241
1240
  created?: number | undefined;
1241
+ metadata?: Record<string, string> | undefined;
1242
1242
  due_date?: string | null | undefined;
1243
1243
  hosted_invoice_url?: string | null | undefined;
1244
1244
  invoice_pdf?: string | null | undefined;
1245
1245
  } | undefined;
1246
1246
  }, {
1247
- error: string;
1248
1247
  success: boolean;
1248
+ error: string;
1249
1249
  operation: "finalize_invoice";
1250
1250
  invoice?: {
1251
1251
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1253,8 +1253,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1253
1253
  total: number;
1254
1254
  currency: string;
1255
1255
  customer: string | null;
1256
- metadata?: Record<string, string> | undefined;
1257
1256
  created?: number | undefined;
1257
+ metadata?: Record<string, string> | undefined;
1258
1258
  due_date?: string | null | undefined;
1259
1259
  hosted_invoice_url?: string | null | undefined;
1260
1260
  invoice_pdf?: string | null | undefined;
@@ -1281,9 +1281,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1281
1281
  description?: string | null | undefined;
1282
1282
  date?: number | undefined;
1283
1283
  metadata?: Record<string, string> | undefined;
1284
+ quantity?: number | undefined;
1284
1285
  unit_amount?: number | null | undefined;
1285
1286
  invoice?: string | null | undefined;
1286
- quantity?: number | undefined;
1287
1287
  }, {
1288
1288
  id: string;
1289
1289
  currency: string;
@@ -1292,14 +1292,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1292
1292
  description?: string | null | undefined;
1293
1293
  date?: number | undefined;
1294
1294
  metadata?: Record<string, string> | undefined;
1295
+ quantity?: number | undefined;
1295
1296
  unit_amount?: number | null | undefined;
1296
1297
  invoice?: string | null | undefined;
1297
- quantity?: number | undefined;
1298
1298
  }>>;
1299
1299
  error: z.ZodString;
1300
1300
  }, "strip", z.ZodTypeAny, {
1301
- error: string;
1302
1301
  success: boolean;
1302
+ error: string;
1303
1303
  operation: "create_invoice_item";
1304
1304
  invoice_item?: {
1305
1305
  id: string;
@@ -1309,13 +1309,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1309
1309
  description?: string | null | undefined;
1310
1310
  date?: number | undefined;
1311
1311
  metadata?: Record<string, string> | undefined;
1312
+ quantity?: number | undefined;
1312
1313
  unit_amount?: number | null | undefined;
1313
1314
  invoice?: string | null | undefined;
1314
- quantity?: number | undefined;
1315
1315
  } | undefined;
1316
1316
  }, {
1317
- error: string;
1318
1317
  success: boolean;
1318
+ error: string;
1319
1319
  operation: "create_invoice_item";
1320
1320
  invoice_item?: {
1321
1321
  id: string;
@@ -1325,9 +1325,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1325
1325
  description?: string | null | undefined;
1326
1326
  date?: number | undefined;
1327
1327
  metadata?: Record<string, string> | undefined;
1328
+ quantity?: number | undefined;
1328
1329
  unit_amount?: number | null | undefined;
1329
1330
  invoice?: string | null | undefined;
1330
- quantity?: number | undefined;
1331
1331
  } | undefined;
1332
1332
  }>, z.ZodObject<{
1333
1333
  operation: z.ZodLiteral<"send_invoice">;
@@ -1349,8 +1349,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1349
1349
  total: number;
1350
1350
  currency: string;
1351
1351
  customer: string | null;
1352
- metadata?: Record<string, string> | undefined;
1353
1352
  created?: number | undefined;
1353
+ metadata?: Record<string, string> | undefined;
1354
1354
  due_date?: string | null | undefined;
1355
1355
  hosted_invoice_url?: string | null | undefined;
1356
1356
  invoice_pdf?: string | null | undefined;
@@ -1360,16 +1360,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1360
1360
  total: number;
1361
1361
  currency: string;
1362
1362
  customer: string | null;
1363
- metadata?: Record<string, string> | undefined;
1364
1363
  created?: number | undefined;
1364
+ metadata?: Record<string, string> | undefined;
1365
1365
  due_date?: string | null | undefined;
1366
1366
  hosted_invoice_url?: string | null | undefined;
1367
1367
  invoice_pdf?: string | null | undefined;
1368
1368
  }>>;
1369
1369
  error: z.ZodString;
1370
1370
  }, "strip", z.ZodTypeAny, {
1371
- error: string;
1372
1371
  success: boolean;
1372
+ error: string;
1373
1373
  operation: "send_invoice";
1374
1374
  invoice?: {
1375
1375
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1377,15 +1377,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1377
1377
  total: number;
1378
1378
  currency: string;
1379
1379
  customer: string | null;
1380
- metadata?: Record<string, string> | undefined;
1381
1380
  created?: number | undefined;
1381
+ metadata?: Record<string, string> | undefined;
1382
1382
  due_date?: string | null | undefined;
1383
1383
  hosted_invoice_url?: string | null | undefined;
1384
1384
  invoice_pdf?: string | null | undefined;
1385
1385
  } | undefined;
1386
1386
  }, {
1387
- error: string;
1388
1387
  success: boolean;
1388
+ error: string;
1389
1389
  operation: "send_invoice";
1390
1390
  invoice?: {
1391
1391
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
@@ -1393,8 +1393,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1393
1393
  total: number;
1394
1394
  currency: string;
1395
1395
  customer: string | null;
1396
- metadata?: Record<string, string> | undefined;
1397
1396
  created?: number | undefined;
1397
+ metadata?: Record<string, string> | undefined;
1398
1398
  due_date?: string | null | undefined;
1399
1399
  hosted_invoice_url?: string | null | undefined;
1400
1400
  invoice_pdf?: string | null | undefined;
@@ -1424,49 +1424,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1424
1424
  amount: number;
1425
1425
  }>, "many">;
1426
1426
  }, "strip", z.ZodTypeAny, {
1427
- pending: {
1427
+ available: {
1428
1428
  currency: string;
1429
1429
  amount: number;
1430
1430
  }[];
1431
- available: {
1431
+ pending: {
1432
1432
  currency: string;
1433
1433
  amount: number;
1434
1434
  }[];
1435
1435
  }, {
1436
- pending: {
1436
+ available: {
1437
1437
  currency: string;
1438
1438
  amount: number;
1439
1439
  }[];
1440
- available: {
1440
+ pending: {
1441
1441
  currency: string;
1442
1442
  amount: number;
1443
1443
  }[];
1444
1444
  }>>;
1445
1445
  error: z.ZodString;
1446
1446
  }, "strip", z.ZodTypeAny, {
1447
- error: string;
1448
1447
  success: boolean;
1448
+ error: string;
1449
1449
  operation: "get_balance";
1450
1450
  balance?: {
1451
- pending: {
1451
+ available: {
1452
1452
  currency: string;
1453
1453
  amount: number;
1454
1454
  }[];
1455
- available: {
1455
+ pending: {
1456
1456
  currency: string;
1457
1457
  amount: number;
1458
1458
  }[];
1459
1459
  } | undefined;
1460
1460
  }, {
1461
- error: string;
1462
1461
  success: boolean;
1462
+ error: string;
1463
1463
  operation: "get_balance";
1464
1464
  balance?: {
1465
- pending: {
1465
+ available: {
1466
1466
  currency: string;
1467
1467
  amount: number;
1468
1468
  }[];
1469
- available: {
1469
+ pending: {
1470
1470
  currency: string;
1471
1471
  amount: number;
1472
1472
  }[];
@@ -1483,7 +1483,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1483
1483
  created: z.ZodNumber;
1484
1484
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1485
1485
  }, "strip", z.ZodTypeAny, {
1486
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1486
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1487
1487
  id: string;
1488
1488
  created: number;
1489
1489
  currency: string;
@@ -1491,7 +1491,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1491
1491
  metadata?: Record<string, string> | undefined;
1492
1492
  customer?: string | null | undefined;
1493
1493
  }, {
1494
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1494
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1495
1495
  id: string;
1496
1496
  created: number;
1497
1497
  currency: string;
@@ -1501,11 +1501,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1501
1501
  }>, "many">>;
1502
1502
  error: z.ZodString;
1503
1503
  }, "strip", z.ZodTypeAny, {
1504
- error: string;
1505
1504
  success: boolean;
1505
+ error: string;
1506
1506
  operation: "list_payment_intents";
1507
1507
  payment_intents?: {
1508
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1508
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1509
1509
  id: string;
1510
1510
  created: number;
1511
1511
  currency: string;
@@ -1514,11 +1514,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1514
1514
  customer?: string | null | undefined;
1515
1515
  }[] | undefined;
1516
1516
  }, {
1517
- error: string;
1518
1517
  success: boolean;
1518
+ error: string;
1519
1519
  operation: "list_payment_intents";
1520
1520
  payment_intents?: {
1521
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1521
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1522
1522
  id: string;
1523
1523
  created: number;
1524
1524
  currency: string;
@@ -1539,7 +1539,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1539
1539
  created: z.ZodNumber;
1540
1540
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1541
1541
  }, "strip", z.ZodTypeAny, {
1542
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1542
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1543
1543
  id: string;
1544
1544
  created: number;
1545
1545
  customer: string;
@@ -1548,7 +1548,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1548
1548
  current_period_start?: number | undefined;
1549
1549
  current_period_end?: number | undefined;
1550
1550
  }, {
1551
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1551
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1552
1552
  id: string;
1553
1553
  created: number;
1554
1554
  customer: string;
@@ -1559,11 +1559,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1559
1559
  }>, "many">>;
1560
1560
  error: z.ZodString;
1561
1561
  }, "strip", z.ZodTypeAny, {
1562
- error: string;
1563
1562
  success: boolean;
1563
+ error: string;
1564
1564
  operation: "list_subscriptions";
1565
1565
  subscriptions?: {
1566
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1566
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1567
1567
  id: string;
1568
1568
  created: number;
1569
1569
  customer: string;
@@ -1573,11 +1573,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1573
1573
  current_period_end?: number | undefined;
1574
1574
  }[] | undefined;
1575
1575
  }, {
1576
- error: string;
1577
1576
  success: boolean;
1577
+ error: string;
1578
1578
  operation: "list_subscriptions";
1579
1579
  subscriptions?: {
1580
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1580
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1581
1581
  id: string;
1582
1582
  created: number;
1583
1583
  customer: string;
@@ -1599,7 +1599,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1599
1599
  created: z.ZodNumber;
1600
1600
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1601
1601
  }, "strip", z.ZodTypeAny, {
1602
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1602
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1603
1603
  id: string;
1604
1604
  created: number;
1605
1605
  customer: string;
@@ -1608,7 +1608,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1608
1608
  current_period_start?: number | undefined;
1609
1609
  current_period_end?: number | undefined;
1610
1610
  }, {
1611
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1611
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1612
1612
  id: string;
1613
1613
  created: number;
1614
1614
  customer: string;
@@ -1619,11 +1619,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1619
1619
  }>>;
1620
1620
  error: z.ZodString;
1621
1621
  }, "strip", z.ZodTypeAny, {
1622
- error: string;
1623
1622
  success: boolean;
1623
+ error: string;
1624
1624
  operation: "cancel_subscription";
1625
1625
  subscription?: {
1626
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1626
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1627
1627
  id: string;
1628
1628
  created: number;
1629
1629
  customer: string;
@@ -1633,11 +1633,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1633
1633
  current_period_end?: number | undefined;
1634
1634
  } | undefined;
1635
1635
  }, {
1636
- error: string;
1637
1636
  success: boolean;
1637
+ error: string;
1638
1638
  operation: "cancel_subscription";
1639
1639
  subscription?: {
1640
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1640
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1641
1641
  id: string;
1642
1642
  created: number;
1643
1643
  customer: string;
@@ -1659,37 +1659,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1659
1659
  url: string;
1660
1660
  id: string;
1661
1661
  active: boolean;
1662
- metadata?: Record<string, string> | undefined;
1663
1662
  created?: number | undefined;
1663
+ metadata?: Record<string, string> | undefined;
1664
1664
  }, {
1665
1665
  url: string;
1666
1666
  id: string;
1667
1667
  active: boolean;
1668
- metadata?: Record<string, string> | undefined;
1669
1668
  created?: number | undefined;
1669
+ metadata?: Record<string, string> | undefined;
1670
1670
  }>, "many">>;
1671
1671
  error: z.ZodString;
1672
1672
  }, "strip", z.ZodTypeAny, {
1673
- error: string;
1674
1673
  success: boolean;
1674
+ error: string;
1675
1675
  operation: "list_payment_links";
1676
1676
  payment_links?: {
1677
1677
  url: string;
1678
1678
  id: string;
1679
1679
  active: boolean;
1680
- metadata?: Record<string, string> | undefined;
1681
1680
  created?: number | undefined;
1681
+ metadata?: Record<string, string> | undefined;
1682
1682
  }[] | undefined;
1683
1683
  }, {
1684
- error: string;
1685
1684
  success: boolean;
1685
+ error: string;
1686
1686
  operation: "list_payment_links";
1687
1687
  payment_links?: {
1688
1688
  url: string;
1689
1689
  id: string;
1690
1690
  active: boolean;
1691
- metadata?: Record<string, string> | undefined;
1692
1691
  created?: number | undefined;
1692
+ metadata?: Record<string, string> | undefined;
1693
1693
  }[] | undefined;
1694
1694
  }>, z.ZodObject<{
1695
1695
  operation: z.ZodLiteral<"create_subscription">;
@@ -1704,7 +1704,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1704
1704
  created: z.ZodNumber;
1705
1705
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1706
1706
  }, "strip", z.ZodTypeAny, {
1707
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1707
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1708
1708
  id: string;
1709
1709
  created: number;
1710
1710
  customer: string;
@@ -1713,7 +1713,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1713
1713
  current_period_start?: number | undefined;
1714
1714
  current_period_end?: number | undefined;
1715
1715
  }, {
1716
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1716
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1717
1717
  id: string;
1718
1718
  created: number;
1719
1719
  customer: string;
@@ -1724,11 +1724,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1724
1724
  }>>;
1725
1725
  error: z.ZodString;
1726
1726
  }, "strip", z.ZodTypeAny, {
1727
- error: string;
1728
1727
  success: boolean;
1728
+ error: string;
1729
1729
  operation: "create_subscription";
1730
1730
  subscription?: {
1731
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1731
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1732
1732
  id: string;
1733
1733
  created: number;
1734
1734
  customer: string;
@@ -1738,11 +1738,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1738
1738
  current_period_end?: number | undefined;
1739
1739
  } | undefined;
1740
1740
  }, {
1741
- error: string;
1742
1741
  success: boolean;
1742
+ error: string;
1743
1743
  operation: "create_subscription";
1744
1744
  subscription?: {
1745
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1745
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1746
1746
  id: string;
1747
1747
  created: number;
1748
1748
  customer: string;