@bubblelab/bubble-core 0.1.201 → 0.1.202

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 (170) hide show
  1. package/dist/bubble-bundle.d.ts +203 -182
  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 +134 -134
  6. package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
  7. package/dist/bubbles/service-bubble/agi-inc.js +4 -6
  8. package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
  9. package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
  10. package/dist/bubbles/service-bubble/airtable.d.ts +154 -154
  11. package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
  12. package/dist/bubbles/service-bubble/airtable.js +8 -13
  13. package/dist/bubbles/service-bubble/airtable.js.map +1 -1
  14. package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +10 -10
  15. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +8 -8
  16. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +24 -24
  17. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
  18. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +56 -56
  19. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +76 -76
  20. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +20 -20
  21. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +26 -26
  22. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
  23. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +208 -208
  24. package/dist/bubbles/service-bubble/apify/apify.d.ts +34 -34
  25. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +120 -120
  26. package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
  27. package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
  28. package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
  29. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
  30. package/dist/bubbles/service-bubble/attio/attio.d.ts +76 -76
  31. package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +54 -54
  32. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +64 -64
  33. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +38 -38
  34. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +54 -54
  35. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
  36. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +118 -118
  37. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
  38. package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
  39. package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
  40. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +102 -102
  41. package/dist/bubbles/service-bubble/eleven-labs.d.ts +56 -56
  42. package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
  43. package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
  44. package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
  45. package/dist/bubbles/service-bubble/firecrawl.d.ts +468 -468
  46. package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
  47. package/dist/bubbles/service-bubble/firecrawl.js +3 -12
  48. package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
  49. package/dist/bubbles/service-bubble/followupboss.d.ts +534 -534
  50. package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
  51. package/dist/bubbles/service-bubble/followupboss.js +12 -13
  52. package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
  53. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +295 -295
  54. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
  55. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
  56. package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
  57. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
  58. package/dist/bubbles/service-bubble/github.d.ts +144 -144
  59. package/dist/bubbles/service-bubble/gmail.d.ts +248 -248
  60. package/dist/bubbles/service-bubble/google-calendar.d.ts +64 -64
  61. package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
  62. package/dist/bubbles/service-bubble/google-calendar.js +10 -11
  63. package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
  64. package/dist/bubbles/service-bubble/google-drive.d.ts +154 -148
  65. package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
  66. package/dist/bubbles/service-bubble/google-drive.js +8 -1
  67. package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
  68. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  69. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
  70. package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
  71. package/dist/bubbles/service-bubble/http.d.ts +14 -14
  72. package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +47 -47
  73. package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
  74. package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
  75. package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
  76. package/dist/bubbles/service-bubble/insforge-db.js +24 -26
  77. package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
  78. package/dist/bubbles/service-bubble/jira/jira.d.ts +91 -91
  79. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +69 -69
  80. package/dist/bubbles/service-bubble/linear/linear.d.ts +49 -49
  81. package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
  82. package/dist/bubbles/service-bubble/notion/notion.d.ts +444 -444
  83. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  84. package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
  85. package/dist/bubbles/service-bubble/posthog/posthog.d.ts +43 -43
  86. package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +51 -51
  87. package/dist/bubbles/service-bubble/resend.d.ts +20 -20
  88. package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
  89. package/dist/bubbles/service-bubble/resend.js +8 -13
  90. package/dist/bubbles/service-bubble/resend.js.map +1 -1
  91. package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
  92. package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
  93. package/dist/bubbles/service-bubble/s3/index.js +4 -0
  94. package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
  95. package/dist/bubbles/service-bubble/s3/s3.d.ts +301 -0
  96. package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
  97. package/dist/bubbles/service-bubble/s3/s3.js +320 -0
  98. package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
  99. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +262 -0
  100. package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
  101. package/dist/bubbles/service-bubble/s3/s3.schema.js +212 -0
  102. package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
  103. package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
  104. package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
  105. package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
  106. package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
  107. package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +22 -22
  108. package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
  109. package/dist/bubbles/service-bubble/slack/slack.d.ts +554 -554
  110. package/dist/bubbles/service-bubble/storage.d.ts +60 -60
  111. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +224 -224
  112. package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
  113. package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
  114. package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
  115. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +131 -131
  116. package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
  117. package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
  118. package/dist/bubbles/service-bubble/telegram.js +3 -3
  119. package/dist/bubbles/service-bubble/telegram.js.map +1 -1
  120. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +40 -40
  121. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +34 -34
  122. package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
  123. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +3 -3
  124. package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +4 -4
  125. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
  126. package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +8 -8
  127. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
  128. package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +4 -4
  129. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
  130. package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +4 -4
  131. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
  132. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
  133. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  134. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +104 -104
  135. package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
  136. package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
  137. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +20 -20
  138. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
  139. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +919 -919
  140. package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
  141. package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
  142. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  143. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +12 -12
  144. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +84 -84
  145. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +30 -30
  146. package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
  147. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
  148. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +76 -76
  149. package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
  150. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +170 -170
  151. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
  152. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
  153. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  154. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
  155. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +42 -42
  156. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
  157. package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
  158. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
  159. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  160. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
  161. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  162. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
  163. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
  164. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  165. package/dist/bubbles.json +489 -3
  166. package/dist/index.d.ts +1 -0
  167. package/dist/index.d.ts.map +1 -1
  168. package/dist/index.js +1 -0
  169. package/dist/index.js.map +1 -1
  170. package/package.json +2 -2
@@ -44,17 +44,17 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
44
44
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
45
45
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
46
46
  }, "strip", import("zod").ZodTypeAny, {
47
- name: string;
48
47
  operation: "create_customer";
48
+ name: string;
49
+ email?: string | undefined;
49
50
  credentials?: Partial<Record<CredentialType, string>> | undefined;
50
51
  metadata?: Record<string, string> | undefined;
51
- email?: string | undefined;
52
52
  }, {
53
- name: string;
54
53
  operation: "create_customer";
54
+ name: string;
55
+ email?: string | undefined;
55
56
  credentials?: Partial<Record<CredentialType, string>> | undefined;
56
57
  metadata?: Record<string, string> | undefined;
57
- email?: string | undefined;
58
58
  }>, import("zod").ZodObject<{
59
59
  operation: import("zod").ZodLiteral<"list_customers">;
60
60
  limit: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
@@ -64,15 +64,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
64
64
  }, "strip", import("zod").ZodTypeAny, {
65
65
  operation: "list_customers";
66
66
  limit: number;
67
- credentials?: Partial<Record<CredentialType, string>> | undefined;
68
- email?: string | undefined;
69
67
  cursor?: string | undefined;
68
+ email?: string | undefined;
69
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
70
70
  }, {
71
71
  operation: "list_customers";
72
- credentials?: Partial<Record<CredentialType, string>> | undefined;
73
- email?: string | undefined;
74
72
  limit?: number | undefined;
75
73
  cursor?: string | undefined;
74
+ email?: string | undefined;
75
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
76
76
  }>, import("zod").ZodObject<{
77
77
  operation: import("zod").ZodLiteral<"retrieve_customer">;
78
78
  customer_id: import("zod").ZodString;
@@ -92,14 +92,14 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
92
92
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
93
93
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
94
94
  }, "strip", import("zod").ZodTypeAny, {
95
- name: string;
96
95
  operation: "create_product";
96
+ name: string;
97
97
  description?: string | undefined;
98
98
  credentials?: Partial<Record<CredentialType, string>> | undefined;
99
99
  metadata?: Record<string, string> | undefined;
100
100
  }, {
101
- name: string;
102
101
  operation: "create_product";
102
+ name: string;
103
103
  description?: string | undefined;
104
104
  credentials?: Partial<Record<CredentialType, string>> | undefined;
105
105
  metadata?: Record<string, string> | undefined;
@@ -115,8 +115,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
115
115
  active?: boolean | undefined;
116
116
  }, {
117
117
  operation: "list_products";
118
- credentials?: Partial<Record<CredentialType, string>> | undefined;
119
118
  limit?: number | undefined;
119
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
120
120
  active?: boolean | undefined;
121
121
  }>, import("zod").ZodObject<{
122
122
  operation: import("zod").ZodLiteral<"create_price">;
@@ -127,23 +127,23 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
127
127
  interval: import("zod").ZodEnum<["day", "week", "month", "year"]>;
128
128
  interval_count: import("zod").ZodDefault<import("zod").ZodOptional<import("zod").ZodNumber>>;
129
129
  }, "strip", import("zod").ZodTypeAny, {
130
- interval: "year" | "month" | "day" | "week";
130
+ interval: "day" | "week" | "month" | "year";
131
131
  interval_count: number;
132
132
  }, {
133
- interval: "year" | "month" | "day" | "week";
133
+ interval: "day" | "week" | "month" | "year";
134
134
  interval_count?: number | undefined;
135
135
  }>>;
136
136
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
137
137
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
138
138
  }, "strip", import("zod").ZodTypeAny, {
139
139
  operation: "create_price";
140
- currency: string;
141
140
  product: string;
142
141
  unit_amount: number;
142
+ currency: string;
143
143
  credentials?: Partial<Record<CredentialType, string>> | undefined;
144
144
  metadata?: Record<string, string> | undefined;
145
145
  recurring?: {
146
- interval: "year" | "month" | "day" | "week";
146
+ interval: "day" | "week" | "month" | "year";
147
147
  interval_count: number;
148
148
  } | undefined;
149
149
  }, {
@@ -154,7 +154,7 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
154
154
  metadata?: Record<string, string> | undefined;
155
155
  currency?: string | undefined;
156
156
  recurring?: {
157
- interval: "year" | "month" | "day" | "week";
157
+ interval: "day" | "week" | "month" | "year";
158
158
  interval_count?: number | undefined;
159
159
  } | undefined;
160
160
  }>, import("zod").ZodObject<{
@@ -171,8 +171,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
171
171
  product?: string | undefined;
172
172
  }, {
173
173
  operation: "list_prices";
174
- credentials?: Partial<Record<CredentialType, string>> | undefined;
175
174
  limit?: number | undefined;
175
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
176
176
  active?: boolean | undefined;
177
177
  product?: string | undefined;
178
178
  }>, import("zod").ZodObject<{
@@ -254,15 +254,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
254
254
  operation: "list_invoices";
255
255
  limit: number;
256
256
  status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
257
- credentials?: Partial<Record<CredentialType, string>> | undefined;
258
257
  cursor?: string | undefined;
258
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
259
259
  customer?: string | undefined;
260
260
  }, {
261
261
  operation: "list_invoices";
262
262
  status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
263
- credentials?: Partial<Record<CredentialType, string>> | undefined;
264
263
  limit?: number | undefined;
265
264
  cursor?: string | undefined;
265
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
266
266
  customer?: string | undefined;
267
267
  }>, import("zod").ZodObject<{
268
268
  operation: import("zod").ZodLiteral<"retrieve_invoice">;
@@ -303,10 +303,10 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
303
303
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
304
304
  }, "strip", import("zod").ZodTypeAny, {
305
305
  operation: "create_invoice_item";
306
- currency: string;
307
306
  unit_amount: number;
308
- customer: string;
307
+ currency: string;
309
308
  quantity: number;
309
+ customer: string;
310
310
  description?: string | undefined;
311
311
  credentials?: Partial<Record<CredentialType, string>> | undefined;
312
312
  metadata?: Record<string, string> | undefined;
@@ -319,8 +319,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
319
319
  credentials?: Partial<Record<CredentialType, string>> | undefined;
320
320
  metadata?: Record<string, string> | undefined;
321
321
  currency?: string | undefined;
322
- invoice?: string | undefined;
323
322
  quantity?: number | undefined;
323
+ invoice?: string | undefined;
324
324
  }>, import("zod").ZodObject<{
325
325
  operation: import("zod").ZodLiteral<"send_invoice">;
326
326
  invoice_id: import("zod").ZodString;
@@ -354,8 +354,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
354
354
  customer?: string | undefined;
355
355
  }, {
356
356
  operation: "list_payment_intents";
357
- credentials?: Partial<Record<CredentialType, string>> | undefined;
358
357
  limit?: number | undefined;
358
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
359
359
  customer?: string | undefined;
360
360
  }>, import("zod").ZodObject<{
361
361
  operation: import("zod").ZodLiteral<"list_subscriptions">;
@@ -366,14 +366,14 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
366
366
  }, "strip", import("zod").ZodTypeAny, {
367
367
  operation: "list_subscriptions";
368
368
  limit: number;
369
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
369
+ status?: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused" | "all" | undefined;
370
370
  credentials?: Partial<Record<CredentialType, string>> | undefined;
371
371
  customer?: string | undefined;
372
372
  }, {
373
373
  operation: "list_subscriptions";
374
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
375
- credentials?: Partial<Record<CredentialType, string>> | undefined;
374
+ status?: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused" | "all" | undefined;
376
375
  limit?: number | undefined;
376
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
377
377
  customer?: string | undefined;
378
378
  }>, import("zod").ZodObject<{
379
379
  operation: import("zod").ZodLiteral<"cancel_subscription">;
@@ -382,8 +382,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
382
382
  credentials: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodNativeEnum<typeof CredentialType>, import("zod").ZodString>>;
383
383
  }, "strip", import("zod").ZodTypeAny, {
384
384
  operation: "cancel_subscription";
385
- cancel_at_period_end: boolean;
386
385
  subscription_id: string;
386
+ cancel_at_period_end: boolean;
387
387
  credentials?: Partial<Record<CredentialType, string>> | undefined;
388
388
  }, {
389
389
  operation: "cancel_subscription";
@@ -402,8 +402,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
402
402
  active?: boolean | undefined;
403
403
  }, {
404
404
  operation: "list_payment_links";
405
- credentials?: Partial<Record<CredentialType, string>> | undefined;
406
405
  limit?: number | undefined;
406
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
407
407
  active?: boolean | undefined;
408
408
  }>, import("zod").ZodObject<{
409
409
  operation: import("zod").ZodLiteral<"create_subscription">;
@@ -443,37 +443,37 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
443
443
  id: string;
444
444
  created: number;
445
445
  name?: string | null | undefined;
446
- metadata?: Record<string, string> | undefined;
447
446
  email?: string | null | undefined;
447
+ metadata?: Record<string, string> | undefined;
448
448
  }, {
449
449
  id: string;
450
450
  created: number;
451
451
  name?: string | null | undefined;
452
- metadata?: Record<string, string> | undefined;
453
452
  email?: string | null | undefined;
453
+ metadata?: Record<string, string> | undefined;
454
454
  }>>;
455
455
  error: import("zod").ZodString;
456
456
  }, "strip", import("zod").ZodTypeAny, {
457
- error: string;
458
- success: boolean;
459
457
  operation: "create_customer";
458
+ success: boolean;
459
+ error: string;
460
460
  customer?: {
461
461
  id: string;
462
462
  created: number;
463
463
  name?: string | null | undefined;
464
- metadata?: Record<string, string> | undefined;
465
464
  email?: string | null | undefined;
465
+ metadata?: Record<string, string> | undefined;
466
466
  } | undefined;
467
467
  }, {
468
- error: string;
469
- success: boolean;
470
468
  operation: "create_customer";
469
+ success: boolean;
470
+ error: string;
471
471
  customer?: {
472
472
  id: string;
473
473
  created: number;
474
474
  name?: string | null | undefined;
475
- metadata?: Record<string, string> | undefined;
476
475
  email?: string | null | undefined;
476
+ metadata?: Record<string, string> | undefined;
477
477
  } | undefined;
478
478
  }>, import("zod").ZodObject<{
479
479
  operation: import("zod").ZodLiteral<"list_customers">;
@@ -488,44 +488,44 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
488
488
  id: string;
489
489
  created: number;
490
490
  name?: string | null | undefined;
491
- metadata?: Record<string, string> | undefined;
492
491
  email?: string | null | undefined;
492
+ metadata?: Record<string, string> | undefined;
493
493
  }, {
494
494
  id: string;
495
495
  created: number;
496
496
  name?: string | null | undefined;
497
- metadata?: Record<string, string> | undefined;
498
497
  email?: string | null | undefined;
498
+ metadata?: Record<string, string> | undefined;
499
499
  }>, "many">>;
500
500
  has_more: import("zod").ZodOptional<import("zod").ZodBoolean>;
501
501
  next_cursor: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
502
502
  error: import("zod").ZodString;
503
503
  }, "strip", import("zod").ZodTypeAny, {
504
- error: string;
505
- success: boolean;
506
504
  operation: "list_customers";
505
+ success: boolean;
506
+ error: string;
507
507
  next_cursor?: string | null | undefined;
508
- has_more?: boolean | undefined;
509
508
  customers?: {
510
509
  id: string;
511
510
  created: number;
512
511
  name?: string | null | undefined;
513
- metadata?: Record<string, string> | undefined;
514
512
  email?: string | null | undefined;
513
+ metadata?: Record<string, string> | undefined;
515
514
  }[] | undefined;
515
+ has_more?: boolean | undefined;
516
516
  }, {
517
- error: string;
518
- success: boolean;
519
517
  operation: "list_customers";
518
+ success: boolean;
519
+ error: string;
520
520
  next_cursor?: string | null | undefined;
521
- has_more?: boolean | undefined;
522
521
  customers?: {
523
522
  id: string;
524
523
  created: number;
525
524
  name?: string | null | undefined;
526
- metadata?: Record<string, string> | undefined;
527
525
  email?: string | null | undefined;
526
+ metadata?: Record<string, string> | undefined;
528
527
  }[] | undefined;
528
+ has_more?: boolean | undefined;
529
529
  }>, import("zod").ZodObject<{
530
530
  operation: import("zod").ZodLiteral<"retrieve_customer">;
531
531
  success: import("zod").ZodBoolean;
@@ -539,41 +539,41 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
539
539
  id: string;
540
540
  created: number;
541
541
  name?: string | null | undefined;
542
- metadata?: Record<string, string> | undefined;
543
542
  email?: string | null | undefined;
543
+ metadata?: Record<string, string> | undefined;
544
544
  }, {
545
545
  id: string;
546
546
  created: number;
547
547
  name?: string | null | undefined;
548
- metadata?: Record<string, string> | undefined;
549
548
  email?: string | null | undefined;
549
+ metadata?: Record<string, string> | undefined;
550
550
  }>>;
551
551
  deleted: import("zod").ZodOptional<import("zod").ZodBoolean>;
552
552
  error: import("zod").ZodString;
553
553
  }, "strip", import("zod").ZodTypeAny, {
554
- error: string;
555
- success: boolean;
556
554
  operation: "retrieve_customer";
557
- deleted?: boolean | undefined;
555
+ success: boolean;
556
+ error: string;
558
557
  customer?: {
559
558
  id: string;
560
559
  created: number;
561
560
  name?: string | null | undefined;
562
- metadata?: Record<string, string> | undefined;
563
561
  email?: string | null | undefined;
562
+ metadata?: Record<string, string> | undefined;
564
563
  } | undefined;
564
+ deleted?: boolean | undefined;
565
565
  }, {
566
- error: string;
567
- success: boolean;
568
566
  operation: "retrieve_customer";
569
- deleted?: boolean | undefined;
567
+ success: boolean;
568
+ error: string;
570
569
  customer?: {
571
570
  id: string;
572
571
  created: number;
573
572
  name?: string | null | undefined;
574
- metadata?: Record<string, string> | undefined;
575
573
  email?: string | null | undefined;
574
+ metadata?: Record<string, string> | undefined;
576
575
  } | undefined;
576
+ deleted?: boolean | undefined;
577
577
  }>, import("zod").ZodObject<{
578
578
  operation: import("zod").ZodLiteral<"create_product">;
579
579
  success: import("zod").ZodBoolean;
@@ -587,40 +587,40 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
587
587
  }, "strip", import("zod").ZodTypeAny, {
588
588
  name: string;
589
589
  id: string;
590
- created: number;
591
590
  active: boolean;
591
+ created: number;
592
592
  description?: string | null | undefined;
593
593
  metadata?: Record<string, string> | undefined;
594
594
  }, {
595
595
  name: string;
596
596
  id: string;
597
- created: number;
598
597
  active: boolean;
598
+ created: number;
599
599
  description?: string | null | undefined;
600
600
  metadata?: Record<string, string> | undefined;
601
601
  }>>;
602
602
  error: import("zod").ZodString;
603
603
  }, "strip", import("zod").ZodTypeAny, {
604
- error: string;
605
- success: boolean;
606
604
  operation: "create_product";
605
+ success: boolean;
606
+ error: string;
607
607
  product?: {
608
608
  name: string;
609
609
  id: string;
610
- created: number;
611
610
  active: boolean;
611
+ created: number;
612
612
  description?: string | null | undefined;
613
613
  metadata?: Record<string, string> | undefined;
614
614
  } | undefined;
615
615
  }, {
616
- error: string;
617
- success: boolean;
618
616
  operation: "create_product";
617
+ success: boolean;
618
+ error: string;
619
619
  product?: {
620
620
  name: string;
621
621
  id: string;
622
- created: number;
623
622
  active: boolean;
623
+ created: number;
624
624
  description?: string | null | undefined;
625
625
  metadata?: Record<string, string> | undefined;
626
626
  } | undefined;
@@ -637,40 +637,40 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
637
637
  }, "strip", import("zod").ZodTypeAny, {
638
638
  name: string;
639
639
  id: string;
640
- created: number;
641
640
  active: boolean;
641
+ created: number;
642
642
  description?: string | null | undefined;
643
643
  metadata?: Record<string, string> | undefined;
644
644
  }, {
645
645
  name: string;
646
646
  id: string;
647
- created: number;
648
647
  active: boolean;
648
+ created: number;
649
649
  description?: string | null | undefined;
650
650
  metadata?: Record<string, string> | undefined;
651
651
  }>, "many">>;
652
652
  error: import("zod").ZodString;
653
653
  }, "strip", import("zod").ZodTypeAny, {
654
- error: string;
655
- success: boolean;
656
654
  operation: "list_products";
655
+ success: boolean;
656
+ error: string;
657
657
  products?: {
658
658
  name: string;
659
659
  id: string;
660
- created: number;
661
660
  active: boolean;
661
+ created: number;
662
662
  description?: string | null | undefined;
663
663
  metadata?: Record<string, string> | undefined;
664
664
  }[] | undefined;
665
665
  }, {
666
- error: string;
667
- success: boolean;
668
666
  operation: "list_products";
667
+ success: boolean;
668
+ error: string;
669
669
  products?: {
670
670
  name: string;
671
671
  id: string;
672
- created: number;
673
672
  active: boolean;
673
+ created: number;
674
674
  description?: string | null | undefined;
675
675
  metadata?: Record<string, string> | undefined;
676
676
  }[] | undefined;
@@ -687,51 +687,51 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
687
687
  created: import("zod").ZodNumber;
688
688
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
689
689
  }, "strip", import("zod").ZodTypeAny, {
690
- type: "one_time" | "recurring";
690
+ type: "recurring" | "one_time";
691
691
  id: string;
692
- created: number;
693
- currency: string;
694
692
  active: boolean;
695
693
  product: string;
696
694
  unit_amount: number | null;
695
+ currency: string;
696
+ created: number;
697
697
  metadata?: Record<string, string> | undefined;
698
698
  }, {
699
- type: "one_time" | "recurring";
699
+ type: "recurring" | "one_time";
700
700
  id: string;
701
- created: number;
702
- currency: string;
703
701
  active: boolean;
704
702
  product: string;
705
703
  unit_amount: number | null;
704
+ currency: string;
705
+ created: number;
706
706
  metadata?: Record<string, string> | undefined;
707
707
  }>>;
708
708
  error: import("zod").ZodString;
709
709
  }, "strip", import("zod").ZodTypeAny, {
710
- error: string;
711
- success: boolean;
712
710
  operation: "create_price";
711
+ success: boolean;
712
+ error: string;
713
713
  price?: {
714
- type: "one_time" | "recurring";
714
+ type: "recurring" | "one_time";
715
715
  id: string;
716
- created: number;
717
- currency: string;
718
716
  active: boolean;
719
717
  product: string;
720
718
  unit_amount: number | null;
719
+ currency: string;
720
+ created: number;
721
721
  metadata?: Record<string, string> | undefined;
722
722
  } | undefined;
723
723
  }, {
724
- error: string;
725
- success: boolean;
726
724
  operation: "create_price";
725
+ success: boolean;
726
+ error: string;
727
727
  price?: {
728
- type: "one_time" | "recurring";
728
+ type: "recurring" | "one_time";
729
729
  id: string;
730
- created: number;
731
- currency: string;
732
730
  active: boolean;
733
731
  product: string;
734
732
  unit_amount: number | null;
733
+ currency: string;
734
+ created: number;
735
735
  metadata?: Record<string, string> | undefined;
736
736
  } | undefined;
737
737
  }>, import("zod").ZodObject<{
@@ -747,51 +747,51 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
747
747
  created: import("zod").ZodNumber;
748
748
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
749
749
  }, "strip", import("zod").ZodTypeAny, {
750
- type: "one_time" | "recurring";
750
+ type: "recurring" | "one_time";
751
751
  id: string;
752
- created: number;
753
- currency: string;
754
752
  active: boolean;
755
753
  product: string;
756
754
  unit_amount: number | null;
755
+ currency: string;
756
+ created: number;
757
757
  metadata?: Record<string, string> | undefined;
758
758
  }, {
759
- type: "one_time" | "recurring";
759
+ type: "recurring" | "one_time";
760
760
  id: string;
761
- created: number;
762
- currency: string;
763
761
  active: boolean;
764
762
  product: string;
765
763
  unit_amount: number | null;
764
+ currency: string;
765
+ created: number;
766
766
  metadata?: Record<string, string> | undefined;
767
767
  }>, "many">>;
768
768
  error: import("zod").ZodString;
769
769
  }, "strip", import("zod").ZodTypeAny, {
770
- error: string;
771
- success: boolean;
772
770
  operation: "list_prices";
771
+ success: boolean;
772
+ error: string;
773
773
  prices?: {
774
- type: "one_time" | "recurring";
774
+ type: "recurring" | "one_time";
775
775
  id: string;
776
- created: number;
777
- currency: string;
778
776
  active: boolean;
779
777
  product: string;
780
778
  unit_amount: number | null;
779
+ currency: string;
780
+ created: number;
781
781
  metadata?: Record<string, string> | undefined;
782
782
  }[] | undefined;
783
783
  }, {
784
- error: string;
785
- success: boolean;
786
784
  operation: "list_prices";
785
+ success: boolean;
786
+ error: string;
787
787
  prices?: {
788
- type: "one_time" | "recurring";
788
+ type: "recurring" | "one_time";
789
789
  id: string;
790
- created: number;
791
- currency: string;
792
790
  active: boolean;
793
791
  product: string;
794
792
  unit_amount: number | null;
793
+ currency: string;
794
+ created: number;
795
795
  metadata?: Record<string, string> | undefined;
796
796
  }[] | undefined;
797
797
  }>, import("zod").ZodObject<{
@@ -804,37 +804,37 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
804
804
  created: import("zod").ZodOptional<import("zod").ZodNumber>;
805
805
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
806
806
  }, "strip", import("zod").ZodTypeAny, {
807
- id: string;
808
807
  url: string;
808
+ id: string;
809
809
  active: boolean;
810
810
  metadata?: Record<string, string> | undefined;
811
811
  created?: number | undefined;
812
812
  }, {
813
- id: string;
814
813
  url: string;
814
+ id: string;
815
815
  active: boolean;
816
816
  metadata?: Record<string, string> | undefined;
817
817
  created?: number | undefined;
818
818
  }>>;
819
819
  error: import("zod").ZodString;
820
820
  }, "strip", import("zod").ZodTypeAny, {
821
- error: string;
822
- success: boolean;
823
821
  operation: "create_payment_link";
822
+ success: boolean;
823
+ error: string;
824
824
  payment_link?: {
825
- id: string;
826
825
  url: string;
826
+ id: string;
827
827
  active: boolean;
828
828
  metadata?: Record<string, string> | undefined;
829
829
  created?: number | undefined;
830
830
  } | undefined;
831
831
  }, {
832
- error: string;
833
- success: boolean;
834
832
  operation: "create_payment_link";
833
+ success: boolean;
834
+ error: string;
835
835
  payment_link?: {
836
- id: string;
837
836
  url: string;
837
+ id: string;
838
838
  active: boolean;
839
839
  metadata?: Record<string, string> | undefined;
840
840
  created?: number | undefined;
@@ -856,9 +856,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
856
856
  }, "strip", import("zod").ZodTypeAny, {
857
857
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
858
858
  id: string;
859
- total: number;
860
859
  currency: string;
861
860
  customer: string | null;
861
+ total: number;
862
862
  metadata?: Record<string, string> | undefined;
863
863
  created?: number | undefined;
864
864
  due_date?: string | null | undefined;
@@ -867,9 +867,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
867
867
  }, {
868
868
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
869
869
  id: string;
870
- total: number;
871
870
  currency: string;
872
871
  customer: string | null;
872
+ total: number;
873
873
  metadata?: Record<string, string> | undefined;
874
874
  created?: number | undefined;
875
875
  due_date?: string | null | undefined;
@@ -878,15 +878,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
878
878
  }>>;
879
879
  error: import("zod").ZodString;
880
880
  }, "strip", import("zod").ZodTypeAny, {
881
- error: string;
882
- success: boolean;
883
881
  operation: "create_invoice";
882
+ success: boolean;
883
+ error: string;
884
884
  invoice?: {
885
885
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
886
886
  id: string;
887
- total: number;
888
887
  currency: string;
889
888
  customer: string | null;
889
+ total: number;
890
890
  metadata?: Record<string, string> | undefined;
891
891
  created?: number | undefined;
892
892
  due_date?: string | null | undefined;
@@ -894,15 +894,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
894
894
  invoice_pdf?: string | null | undefined;
895
895
  } | undefined;
896
896
  }, {
897
- error: string;
898
- success: boolean;
899
897
  operation: "create_invoice";
898
+ success: boolean;
899
+ error: string;
900
900
  invoice?: {
901
901
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
902
902
  id: string;
903
- total: number;
904
903
  currency: string;
905
904
  customer: string | null;
905
+ total: number;
906
906
  metadata?: Record<string, string> | undefined;
907
907
  created?: number | undefined;
908
908
  due_date?: string | null | undefined;
@@ -926,9 +926,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
926
926
  }, "strip", import("zod").ZodTypeAny, {
927
927
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
928
928
  id: string;
929
- total: number;
930
929
  currency: string;
931
930
  customer: string | null;
931
+ total: number;
932
932
  metadata?: Record<string, string> | undefined;
933
933
  created?: number | undefined;
934
934
  due_date?: string | null | undefined;
@@ -937,9 +937,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
937
937
  }, {
938
938
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
939
939
  id: string;
940
- total: number;
941
940
  currency: string;
942
941
  customer: string | null;
942
+ total: number;
943
943
  metadata?: Record<string, string> | undefined;
944
944
  created?: number | undefined;
945
945
  due_date?: string | null | undefined;
@@ -950,17 +950,17 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
950
950
  next_cursor: import("zod").ZodOptional<import("zod").ZodNullable<import("zod").ZodString>>;
951
951
  error: import("zod").ZodString;
952
952
  }, "strip", import("zod").ZodTypeAny, {
953
- error: string;
954
- success: boolean;
955
953
  operation: "list_invoices";
954
+ success: boolean;
955
+ error: string;
956
956
  next_cursor?: string | null | undefined;
957
957
  has_more?: boolean | undefined;
958
958
  invoices?: {
959
959
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
960
960
  id: string;
961
- total: number;
962
961
  currency: string;
963
962
  customer: string | null;
963
+ total: number;
964
964
  metadata?: Record<string, string> | undefined;
965
965
  created?: number | undefined;
966
966
  due_date?: string | null | undefined;
@@ -968,17 +968,17 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
968
968
  invoice_pdf?: string | null | undefined;
969
969
  }[] | undefined;
970
970
  }, {
971
- error: string;
972
- success: boolean;
973
971
  operation: "list_invoices";
972
+ success: boolean;
973
+ error: string;
974
974
  next_cursor?: string | null | undefined;
975
975
  has_more?: boolean | undefined;
976
976
  invoices?: {
977
977
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
978
978
  id: string;
979
- total: number;
980
979
  currency: string;
981
980
  customer: string | null;
981
+ total: number;
982
982
  metadata?: Record<string, string> | undefined;
983
983
  created?: number | undefined;
984
984
  due_date?: string | null | undefined;
@@ -1002,9 +1002,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1002
1002
  }, "strip", import("zod").ZodTypeAny, {
1003
1003
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1004
1004
  id: string;
1005
- total: number;
1006
1005
  currency: string;
1007
1006
  customer: string | null;
1007
+ total: number;
1008
1008
  metadata?: Record<string, string> | undefined;
1009
1009
  created?: number | undefined;
1010
1010
  due_date?: string | null | undefined;
@@ -1013,9 +1013,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1013
1013
  }, {
1014
1014
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1015
1015
  id: string;
1016
- total: number;
1017
1016
  currency: string;
1018
1017
  customer: string | null;
1018
+ total: number;
1019
1019
  metadata?: Record<string, string> | undefined;
1020
1020
  created?: number | undefined;
1021
1021
  due_date?: string | null | undefined;
@@ -1024,15 +1024,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1024
1024
  }>>;
1025
1025
  error: import("zod").ZodString;
1026
1026
  }, "strip", import("zod").ZodTypeAny, {
1027
- error: string;
1028
- success: boolean;
1029
1027
  operation: "retrieve_invoice";
1028
+ success: boolean;
1029
+ error: string;
1030
1030
  invoice?: {
1031
1031
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1032
1032
  id: string;
1033
- total: number;
1034
1033
  currency: string;
1035
1034
  customer: string | null;
1035
+ total: number;
1036
1036
  metadata?: Record<string, string> | undefined;
1037
1037
  created?: number | undefined;
1038
1038
  due_date?: string | null | undefined;
@@ -1040,15 +1040,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1040
1040
  invoice_pdf?: string | null | undefined;
1041
1041
  } | undefined;
1042
1042
  }, {
1043
- error: string;
1044
- success: boolean;
1045
1043
  operation: "retrieve_invoice";
1044
+ success: boolean;
1045
+ error: string;
1046
1046
  invoice?: {
1047
1047
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1048
1048
  id: string;
1049
- total: number;
1050
1049
  currency: string;
1051
1050
  customer: string | null;
1051
+ total: number;
1052
1052
  metadata?: Record<string, string> | undefined;
1053
1053
  created?: number | undefined;
1054
1054
  due_date?: string | null | undefined;
@@ -1072,9 +1072,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1072
1072
  }, "strip", import("zod").ZodTypeAny, {
1073
1073
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1074
1074
  id: string;
1075
- total: number;
1076
1075
  currency: string;
1077
1076
  customer: string | null;
1077
+ total: number;
1078
1078
  metadata?: Record<string, string> | undefined;
1079
1079
  created?: number | undefined;
1080
1080
  due_date?: string | null | undefined;
@@ -1083,9 +1083,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1083
1083
  }, {
1084
1084
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1085
1085
  id: string;
1086
- total: number;
1087
1086
  currency: string;
1088
1087
  customer: string | null;
1088
+ total: number;
1089
1089
  metadata?: Record<string, string> | undefined;
1090
1090
  created?: number | undefined;
1091
1091
  due_date?: string | null | undefined;
@@ -1094,15 +1094,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1094
1094
  }>>;
1095
1095
  error: import("zod").ZodString;
1096
1096
  }, "strip", import("zod").ZodTypeAny, {
1097
- error: string;
1098
- success: boolean;
1099
1097
  operation: "finalize_invoice";
1098
+ success: boolean;
1099
+ error: string;
1100
1100
  invoice?: {
1101
1101
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1102
1102
  id: string;
1103
- total: number;
1104
1103
  currency: string;
1105
1104
  customer: string | null;
1105
+ total: number;
1106
1106
  metadata?: Record<string, string> | undefined;
1107
1107
  created?: number | undefined;
1108
1108
  due_date?: string | null | undefined;
@@ -1110,15 +1110,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1110
1110
  invoice_pdf?: string | null | undefined;
1111
1111
  } | undefined;
1112
1112
  }, {
1113
- error: string;
1114
- success: boolean;
1115
1113
  operation: "finalize_invoice";
1114
+ success: boolean;
1115
+ error: string;
1116
1116
  invoice?: {
1117
1117
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1118
1118
  id: string;
1119
- total: number;
1120
1119
  currency: string;
1121
1120
  customer: string | null;
1121
+ total: number;
1122
1122
  metadata?: Record<string, string> | undefined;
1123
1123
  created?: number | undefined;
1124
1124
  due_date?: string | null | undefined;
@@ -1148,8 +1148,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1148
1148
  date?: number | undefined;
1149
1149
  metadata?: Record<string, string> | undefined;
1150
1150
  unit_amount?: number | null | undefined;
1151
- invoice?: string | null | undefined;
1152
1151
  quantity?: number | undefined;
1152
+ invoice?: string | null | undefined;
1153
1153
  }, {
1154
1154
  id: string;
1155
1155
  currency: string;
@@ -1159,14 +1159,14 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1159
1159
  date?: number | undefined;
1160
1160
  metadata?: Record<string, string> | undefined;
1161
1161
  unit_amount?: number | null | undefined;
1162
- invoice?: string | null | undefined;
1163
1162
  quantity?: number | undefined;
1163
+ invoice?: string | null | undefined;
1164
1164
  }>>;
1165
1165
  error: import("zod").ZodString;
1166
1166
  }, "strip", import("zod").ZodTypeAny, {
1167
- error: string;
1168
- success: boolean;
1169
1167
  operation: "create_invoice_item";
1168
+ success: boolean;
1169
+ error: string;
1170
1170
  invoice_item?: {
1171
1171
  id: string;
1172
1172
  currency: string;
@@ -1176,13 +1176,13 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1176
1176
  date?: number | undefined;
1177
1177
  metadata?: Record<string, string> | undefined;
1178
1178
  unit_amount?: number | null | undefined;
1179
- invoice?: string | null | undefined;
1180
1179
  quantity?: number | undefined;
1180
+ invoice?: string | null | undefined;
1181
1181
  } | undefined;
1182
1182
  }, {
1183
- error: string;
1184
- success: boolean;
1185
1183
  operation: "create_invoice_item";
1184
+ success: boolean;
1185
+ error: string;
1186
1186
  invoice_item?: {
1187
1187
  id: string;
1188
1188
  currency: string;
@@ -1192,8 +1192,8 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1192
1192
  date?: number | undefined;
1193
1193
  metadata?: Record<string, string> | undefined;
1194
1194
  unit_amount?: number | null | undefined;
1195
- invoice?: string | null | undefined;
1196
1195
  quantity?: number | undefined;
1196
+ invoice?: string | null | undefined;
1197
1197
  } | undefined;
1198
1198
  }>, import("zod").ZodObject<{
1199
1199
  operation: import("zod").ZodLiteral<"send_invoice">;
@@ -1212,9 +1212,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1212
1212
  }, "strip", import("zod").ZodTypeAny, {
1213
1213
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1214
1214
  id: string;
1215
- total: number;
1216
1215
  currency: string;
1217
1216
  customer: string | null;
1217
+ total: number;
1218
1218
  metadata?: Record<string, string> | undefined;
1219
1219
  created?: number | undefined;
1220
1220
  due_date?: string | null | undefined;
@@ -1223,9 +1223,9 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1223
1223
  }, {
1224
1224
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1225
1225
  id: string;
1226
- total: number;
1227
1226
  currency: string;
1228
1227
  customer: string | null;
1228
+ total: number;
1229
1229
  metadata?: Record<string, string> | undefined;
1230
1230
  created?: number | undefined;
1231
1231
  due_date?: string | null | undefined;
@@ -1234,15 +1234,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1234
1234
  }>>;
1235
1235
  error: import("zod").ZodString;
1236
1236
  }, "strip", import("zod").ZodTypeAny, {
1237
- error: string;
1238
- success: boolean;
1239
1237
  operation: "send_invoice";
1238
+ success: boolean;
1239
+ error: string;
1240
1240
  invoice?: {
1241
1241
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1242
1242
  id: string;
1243
- total: number;
1244
1243
  currency: string;
1245
1244
  customer: string | null;
1245
+ total: number;
1246
1246
  metadata?: Record<string, string> | undefined;
1247
1247
  created?: number | undefined;
1248
1248
  due_date?: string | null | undefined;
@@ -1250,15 +1250,15 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1250
1250
  invoice_pdf?: string | null | undefined;
1251
1251
  } | undefined;
1252
1252
  }, {
1253
- error: string;
1254
- success: boolean;
1255
1253
  operation: "send_invoice";
1254
+ success: boolean;
1255
+ error: string;
1256
1256
  invoice?: {
1257
1257
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1258
1258
  id: string;
1259
- total: number;
1260
1259
  currency: string;
1261
1260
  customer: string | null;
1261
+ total: number;
1262
1262
  metadata?: Record<string, string> | undefined;
1263
1263
  created?: number | undefined;
1264
1264
  due_date?: string | null | undefined;
@@ -1290,49 +1290,49 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1290
1290
  amount: number;
1291
1291
  }>, "many">;
1292
1292
  }, "strip", import("zod").ZodTypeAny, {
1293
- pending: {
1293
+ available: {
1294
1294
  currency: string;
1295
1295
  amount: number;
1296
1296
  }[];
1297
- available: {
1297
+ pending: {
1298
1298
  currency: string;
1299
1299
  amount: number;
1300
1300
  }[];
1301
1301
  }, {
1302
- pending: {
1302
+ available: {
1303
1303
  currency: string;
1304
1304
  amount: number;
1305
1305
  }[];
1306
- available: {
1306
+ pending: {
1307
1307
  currency: string;
1308
1308
  amount: number;
1309
1309
  }[];
1310
1310
  }>>;
1311
1311
  error: import("zod").ZodString;
1312
1312
  }, "strip", import("zod").ZodTypeAny, {
1313
- error: string;
1314
- success: boolean;
1315
1313
  operation: "get_balance";
1314
+ success: boolean;
1315
+ error: string;
1316
1316
  balance?: {
1317
- pending: {
1317
+ available: {
1318
1318
  currency: string;
1319
1319
  amount: number;
1320
1320
  }[];
1321
- available: {
1321
+ pending: {
1322
1322
  currency: string;
1323
1323
  amount: number;
1324
1324
  }[];
1325
1325
  } | undefined;
1326
1326
  }, {
1327
- error: string;
1328
- success: boolean;
1329
1327
  operation: "get_balance";
1328
+ success: boolean;
1329
+ error: string;
1330
1330
  balance?: {
1331
- pending: {
1331
+ available: {
1332
1332
  currency: string;
1333
1333
  amount: number;
1334
1334
  }[];
1335
- available: {
1335
+ pending: {
1336
1336
  currency: string;
1337
1337
  amount: number;
1338
1338
  }[];
@@ -1351,43 +1351,43 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1351
1351
  }, "strip", import("zod").ZodTypeAny, {
1352
1352
  status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1353
1353
  id: string;
1354
- created: number;
1355
1354
  currency: string;
1355
+ created: number;
1356
1356
  amount: number;
1357
1357
  metadata?: Record<string, string> | undefined;
1358
1358
  customer?: string | null | undefined;
1359
1359
  }, {
1360
1360
  status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1361
1361
  id: string;
1362
- created: number;
1363
1362
  currency: string;
1363
+ created: number;
1364
1364
  amount: number;
1365
1365
  metadata?: Record<string, string> | undefined;
1366
1366
  customer?: string | null | undefined;
1367
1367
  }>, "many">>;
1368
1368
  error: import("zod").ZodString;
1369
1369
  }, "strip", import("zod").ZodTypeAny, {
1370
- error: string;
1371
- success: boolean;
1372
1370
  operation: "list_payment_intents";
1371
+ success: boolean;
1372
+ error: string;
1373
1373
  payment_intents?: {
1374
1374
  status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1375
1375
  id: string;
1376
- created: number;
1377
1376
  currency: string;
1377
+ created: number;
1378
1378
  amount: number;
1379
1379
  metadata?: Record<string, string> | undefined;
1380
1380
  customer?: string | null | undefined;
1381
1381
  }[] | undefined;
1382
1382
  }, {
1383
- error: string;
1384
- success: boolean;
1385
1383
  operation: "list_payment_intents";
1384
+ success: boolean;
1385
+ error: string;
1386
1386
  payment_intents?: {
1387
1387
  status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1388
1388
  id: string;
1389
- created: number;
1390
1389
  currency: string;
1390
+ created: number;
1391
1391
  amount: number;
1392
1392
  metadata?: Record<string, string> | undefined;
1393
1393
  customer?: string | null | undefined;
@@ -1405,49 +1405,49 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1405
1405
  created: import("zod").ZodNumber;
1406
1406
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1407
1407
  }, "strip", import("zod").ZodTypeAny, {
1408
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1408
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1409
1409
  id: string;
1410
- created: number;
1411
1410
  customer: string;
1412
1411
  cancel_at_period_end: boolean;
1412
+ created: number;
1413
1413
  metadata?: Record<string, string> | undefined;
1414
1414
  current_period_start?: number | undefined;
1415
1415
  current_period_end?: number | undefined;
1416
1416
  }, {
1417
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1417
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1418
1418
  id: string;
1419
- created: number;
1420
1419
  customer: string;
1421
1420
  cancel_at_period_end: boolean;
1421
+ created: number;
1422
1422
  metadata?: Record<string, string> | undefined;
1423
1423
  current_period_start?: number | undefined;
1424
1424
  current_period_end?: number | undefined;
1425
1425
  }>, "many">>;
1426
1426
  error: import("zod").ZodString;
1427
1427
  }, "strip", import("zod").ZodTypeAny, {
1428
- error: string;
1429
- success: boolean;
1430
1428
  operation: "list_subscriptions";
1429
+ success: boolean;
1430
+ error: string;
1431
1431
  subscriptions?: {
1432
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1432
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1433
1433
  id: string;
1434
- created: number;
1435
1434
  customer: string;
1436
1435
  cancel_at_period_end: boolean;
1436
+ created: number;
1437
1437
  metadata?: Record<string, string> | undefined;
1438
1438
  current_period_start?: number | undefined;
1439
1439
  current_period_end?: number | undefined;
1440
1440
  }[] | undefined;
1441
1441
  }, {
1442
- error: string;
1443
- success: boolean;
1444
1442
  operation: "list_subscriptions";
1443
+ success: boolean;
1444
+ error: string;
1445
1445
  subscriptions?: {
1446
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1446
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1447
1447
  id: string;
1448
- created: number;
1449
1448
  customer: string;
1450
1449
  cancel_at_period_end: boolean;
1450
+ created: number;
1451
1451
  metadata?: Record<string, string> | undefined;
1452
1452
  current_period_start?: number | undefined;
1453
1453
  current_period_end?: number | undefined;
@@ -1465,49 +1465,49 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1465
1465
  created: import("zod").ZodNumber;
1466
1466
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1467
1467
  }, "strip", import("zod").ZodTypeAny, {
1468
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1468
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1469
1469
  id: string;
1470
- created: number;
1471
1470
  customer: string;
1472
1471
  cancel_at_period_end: boolean;
1472
+ created: number;
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: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1477
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1478
1478
  id: string;
1479
- created: number;
1480
1479
  customer: string;
1481
1480
  cancel_at_period_end: boolean;
1481
+ created: number;
1482
1482
  metadata?: Record<string, string> | undefined;
1483
1483
  current_period_start?: number | undefined;
1484
1484
  current_period_end?: number | undefined;
1485
1485
  }>>;
1486
1486
  error: import("zod").ZodString;
1487
1487
  }, "strip", import("zod").ZodTypeAny, {
1488
- error: string;
1489
- success: boolean;
1490
1488
  operation: "cancel_subscription";
1489
+ success: boolean;
1490
+ error: string;
1491
1491
  subscription?: {
1492
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1492
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1493
1493
  id: string;
1494
- created: number;
1495
1494
  customer: string;
1496
1495
  cancel_at_period_end: boolean;
1496
+ created: number;
1497
1497
  metadata?: Record<string, string> | undefined;
1498
1498
  current_period_start?: number | undefined;
1499
1499
  current_period_end?: number | undefined;
1500
1500
  } | undefined;
1501
1501
  }, {
1502
- error: string;
1503
- success: boolean;
1504
1502
  operation: "cancel_subscription";
1503
+ success: boolean;
1504
+ error: string;
1505
1505
  subscription?: {
1506
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1506
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1507
1507
  id: string;
1508
- created: number;
1509
1508
  customer: string;
1510
1509
  cancel_at_period_end: boolean;
1510
+ created: number;
1511
1511
  metadata?: Record<string, string> | undefined;
1512
1512
  current_period_start?: number | undefined;
1513
1513
  current_period_end?: number | undefined;
@@ -1522,37 +1522,37 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1522
1522
  created: import("zod").ZodOptional<import("zod").ZodNumber>;
1523
1523
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1524
1524
  }, "strip", import("zod").ZodTypeAny, {
1525
- id: string;
1526
1525
  url: string;
1526
+ id: string;
1527
1527
  active: boolean;
1528
1528
  metadata?: Record<string, string> | undefined;
1529
1529
  created?: number | undefined;
1530
1530
  }, {
1531
- id: string;
1532
1531
  url: string;
1532
+ id: string;
1533
1533
  active: boolean;
1534
1534
  metadata?: Record<string, string> | undefined;
1535
1535
  created?: number | undefined;
1536
1536
  }>, "many">>;
1537
1537
  error: import("zod").ZodString;
1538
1538
  }, "strip", import("zod").ZodTypeAny, {
1539
- error: string;
1540
- success: boolean;
1541
1539
  operation: "list_payment_links";
1540
+ success: boolean;
1541
+ error: string;
1542
1542
  payment_links?: {
1543
- id: string;
1544
1543
  url: string;
1544
+ id: string;
1545
1545
  active: boolean;
1546
1546
  metadata?: Record<string, string> | undefined;
1547
1547
  created?: number | undefined;
1548
1548
  }[] | undefined;
1549
1549
  }, {
1550
- error: string;
1551
- success: boolean;
1552
1550
  operation: "list_payment_links";
1551
+ success: boolean;
1552
+ error: string;
1553
1553
  payment_links?: {
1554
- id: string;
1555
1554
  url: string;
1555
+ id: string;
1556
1556
  active: boolean;
1557
1557
  metadata?: Record<string, string> | undefined;
1558
1558
  created?: number | undefined;
@@ -1570,49 +1570,49 @@ export declare class StripeBubble<T extends StripeParamsInput = StripeParamsInpu
1570
1570
  created: import("zod").ZodNumber;
1571
1571
  metadata: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodString>>;
1572
1572
  }, "strip", import("zod").ZodTypeAny, {
1573
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1573
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1574
1574
  id: string;
1575
- created: number;
1576
1575
  customer: string;
1577
1576
  cancel_at_period_end: boolean;
1577
+ created: number;
1578
1578
  metadata?: Record<string, string> | undefined;
1579
1579
  current_period_start?: number | undefined;
1580
1580
  current_period_end?: number | undefined;
1581
1581
  }, {
1582
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1582
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1583
1583
  id: string;
1584
- created: number;
1585
1584
  customer: string;
1586
1585
  cancel_at_period_end: boolean;
1586
+ created: number;
1587
1587
  metadata?: Record<string, string> | undefined;
1588
1588
  current_period_start?: number | undefined;
1589
1589
  current_period_end?: number | undefined;
1590
1590
  }>>;
1591
1591
  error: import("zod").ZodString;
1592
1592
  }, "strip", import("zod").ZodTypeAny, {
1593
- error: string;
1594
- success: boolean;
1595
1593
  operation: "create_subscription";
1594
+ success: boolean;
1595
+ error: string;
1596
1596
  subscription?: {
1597
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1597
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1598
1598
  id: string;
1599
- created: number;
1600
1599
  customer: string;
1601
1600
  cancel_at_period_end: boolean;
1601
+ created: number;
1602
1602
  metadata?: Record<string, string> | undefined;
1603
1603
  current_period_start?: number | undefined;
1604
1604
  current_period_end?: number | undefined;
1605
1605
  } | undefined;
1606
1606
  }, {
1607
- error: string;
1608
- success: boolean;
1609
1607
  operation: "create_subscription";
1608
+ success: boolean;
1609
+ error: string;
1610
1610
  subscription?: {
1611
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1611
+ status: "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | "paused";
1612
1612
  id: string;
1613
- created: number;
1614
1613
  customer: string;
1615
1614
  cancel_at_period_end: boolean;
1615
+ created: number;
1616
1616
  metadata?: Record<string, string> | undefined;
1617
1617
  current_period_start?: number | undefined;
1618
1618
  current_period_end?: number | undefined;