@bubblelab/bubble-core 0.1.122 → 0.1.124

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 (119) hide show
  1. package/dist/bubble-bundle.d.ts +163 -143
  2. package/dist/bubble-factory.d.ts.map +1 -1
  3. package/dist/bubble-factory.js +2 -0
  4. package/dist/bubble-factory.js.map +1 -1
  5. package/dist/bubbles/service-bubble/agi-inc.d.ts +148 -148
  6. package/dist/bubbles/service-bubble/ai-agent.d.ts +106 -106
  7. package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
  8. package/dist/bubbles/service-bubble/ai-agent.js +168 -87
  9. package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
  10. package/dist/bubbles/service-bubble/airtable.d.ts +170 -170
  11. package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
  12. package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
  13. package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
  14. package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +22 -22
  15. package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
  16. package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
  17. package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
  18. package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
  19. package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +88 -88
  20. package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
  21. package/dist/bubbles/service-bubble/ashby/ashby.d.ts +72 -72
  22. package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +96 -96
  23. package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +32 -32
  24. package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +34 -34
  25. package/dist/bubbles/service-bubble/confluence/confluence.d.ts +26 -26
  26. package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
  27. package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
  28. package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +162 -162
  29. package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
  30. package/dist/bubbles/service-bubble/firecrawl.d.ts +864 -864
  31. package/dist/bubbles/service-bubble/followupboss.d.ts +164 -164
  32. package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +72 -72
  33. package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +112 -112
  34. package/dist/bubbles/service-bubble/github.d.ts +152 -152
  35. package/dist/bubbles/service-bubble/gmail.d.ts +657 -657
  36. package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
  37. package/dist/bubbles/service-bubble/google-drive.d.ts +102 -102
  38. package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
  39. package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +56 -56
  40. package/dist/bubbles/service-bubble/http.d.ts +22 -22
  41. package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
  42. package/dist/bubbles/service-bubble/jira/jira.d.ts +70 -70
  43. package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +74 -74
  44. package/dist/bubbles/service-bubble/notion/notion.d.ts +642 -642
  45. package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
  46. package/dist/bubbles/service-bubble/notion/notion.js +2 -1
  47. package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
  48. package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
  49. package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
  50. package/dist/bubbles/service-bubble/resend.d.ts +32 -32
  51. package/dist/bubbles/service-bubble/salesforce/index.d.ts +4 -0
  52. package/dist/bubbles/service-bubble/salesforce/index.d.ts.map +1 -0
  53. package/dist/bubbles/service-bubble/salesforce/index.js +4 -0
  54. package/dist/bubbles/service-bubble/salesforce/index.js.map +1 -0
  55. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts +1331 -0
  56. package/dist/bubbles/service-bubble/salesforce/salesforce.d.ts.map +1 -0
  57. package/dist/bubbles/service-bubble/salesforce/salesforce.js +618 -0
  58. package/dist/bubbles/service-bubble/salesforce/salesforce.js.map +1 -0
  59. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts +1445 -0
  60. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.d.ts.map +1 -0
  61. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js +609 -0
  62. package/dist/bubbles/service-bubble/salesforce/salesforce.schema.js.map +1 -0
  63. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts +87 -0
  64. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.d.ts.map +1 -0
  65. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js +181 -0
  66. package/dist/bubbles/service-bubble/salesforce/salesforce.utils.js.map +1 -0
  67. package/dist/bubbles/service-bubble/slack/slack.d.ts +684 -684
  68. package/dist/bubbles/service-bubble/storage.d.ts +20 -20
  69. package/dist/bubbles/service-bubble/stripe/stripe.d.ts +153 -153
  70. package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +175 -175
  71. package/dist/bubbles/service-bubble/telegram.d.ts +1590 -1590
  72. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +17 -17
  73. package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +17 -17
  74. package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +16 -16
  75. package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +22 -22
  76. package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
  77. package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +58 -58
  78. package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +24 -24
  79. package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
  80. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
  81. package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
  82. package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +378 -378
  83. package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
  84. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +235 -0
  85. package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts.map +1 -0
  86. package/dist/bubbles/tool-bubble/list-capabilities-tool.js +105 -0
  87. package/dist/bubbles/tool-bubble/list-capabilities-tool.js.map +1 -0
  88. package/dist/bubbles/tool-bubble/people-search-tool.d.ts +122 -122
  89. package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
  90. package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
  91. package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +80 -80
  92. package/dist/bubbles/tool-bubble/twitter-tool.d.ts +178 -178
  93. package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
  94. package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
  95. package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
  96. package/dist/bubbles/tool-bubble/web-search-tool.d.ts +6 -6
  97. package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +50 -50
  98. package/dist/bubbles/tool-bubble/youtube-tool.d.ts +48 -48
  99. package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +36 -36
  100. package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
  101. package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +90 -90
  102. package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
  103. package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +28 -28
  104. package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +108 -108
  105. package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
  106. package/dist/bubbles.json +137 -4
  107. package/dist/capabilities/define-capability.d.ts +8 -2
  108. package/dist/capabilities/define-capability.d.ts.map +1 -1
  109. package/dist/capabilities/define-capability.js +3 -0
  110. package/dist/capabilities/define-capability.js.map +1 -1
  111. package/dist/index.d.ts +1 -0
  112. package/dist/index.d.ts.map +1 -1
  113. package/dist/index.js +1 -0
  114. package/dist/index.js.map +1 -1
  115. package/dist/types/available-tools.d.ts +1 -1
  116. package/dist/types/available-tools.d.ts.map +1 -1
  117. package/dist/types/available-tools.js +1 -0
  118. package/dist/types/available-tools.js.map +1 -1
  119. package/package.json +2 -2
@@ -10,14 +10,14 @@ export declare const StripeCustomerSchema: z.ZodObject<{
10
10
  id: string;
11
11
  created: number;
12
12
  name?: string | null | undefined;
13
- metadata?: Record<string, string> | undefined;
14
13
  email?: string | null | undefined;
14
+ metadata?: Record<string, string> | undefined;
15
15
  }, {
16
16
  id: string;
17
17
  created: number;
18
18
  name?: string | null | undefined;
19
- metadata?: Record<string, string> | undefined;
20
19
  email?: string | null | undefined;
20
+ metadata?: Record<string, string> | undefined;
21
21
  }>;
22
22
  export declare const StripeProductSchema: z.ZodObject<{
23
23
  id: z.ZodString;
@@ -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
  }>;
@@ -76,17 +76,17 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
76
76
  created: z.ZodOptional<z.ZodNumber>;
77
77
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
78
78
  }, "strip", z.ZodTypeAny, {
79
- id: string;
80
79
  url: string;
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
- id: string;
86
85
  url: string;
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;
@@ -256,17 +256,17 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
256
256
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
257
257
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
258
258
  }, "strip", z.ZodTypeAny, {
259
- name: string;
260
259
  operation: "create_customer";
260
+ name: string;
261
+ email?: string | undefined;
261
262
  credentials?: Partial<Record<CredentialType, string>> | undefined;
262
263
  metadata?: Record<string, string> | undefined;
263
- email?: string | undefined;
264
264
  }, {
265
- name: string;
266
265
  operation: "create_customer";
266
+ name: string;
267
+ email?: string | undefined;
267
268
  credentials?: Partial<Record<CredentialType, string>> | undefined;
268
269
  metadata?: Record<string, string> | undefined;
269
- email?: string | undefined;
270
270
  }>, z.ZodObject<{
271
271
  operation: z.ZodLiteral<"list_customers">;
272
272
  limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
@@ -276,13 +276,13 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
276
276
  }, "strip", z.ZodTypeAny, {
277
277
  operation: "list_customers";
278
278
  limit: number;
279
- credentials?: Partial<Record<CredentialType, string>> | undefined;
280
279
  email?: string | undefined;
280
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
281
281
  cursor?: string | undefined;
282
282
  }, {
283
283
  operation: "list_customers";
284
- credentials?: Partial<Record<CredentialType, string>> | undefined;
285
284
  email?: string | undefined;
285
+ credentials?: Partial<Record<CredentialType, string>> | undefined;
286
286
  limit?: number | undefined;
287
287
  cursor?: string | undefined;
288
288
  }>, z.ZodObject<{
@@ -304,14 +304,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
304
304
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
305
305
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
306
306
  }, "strip", z.ZodTypeAny, {
307
- name: string;
308
307
  operation: "create_product";
308
+ name: string;
309
309
  description?: string | undefined;
310
310
  credentials?: Partial<Record<CredentialType, string>> | undefined;
311
311
  metadata?: Record<string, string> | undefined;
312
312
  }, {
313
- name: string;
314
313
  operation: "create_product";
314
+ name: string;
315
315
  description?: string | undefined;
316
316
  credentials?: Partial<Record<CredentialType, string>> | undefined;
317
317
  metadata?: Record<string, string> | undefined;
@@ -339,10 +339,10 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
339
339
  interval: z.ZodEnum<["day", "week", "month", "year"]>;
340
340
  interval_count: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
341
341
  }, "strip", z.ZodTypeAny, {
342
- interval: "year" | "month" | "day" | "week";
342
+ interval: "week" | "month" | "year" | "day";
343
343
  interval_count: number;
344
344
  }, {
345
- interval: "year" | "month" | "day" | "week";
345
+ interval: "week" | "month" | "year" | "day";
346
346
  interval_count?: number | undefined;
347
347
  }>>;
348
348
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -355,7 +355,7 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
355
355
  credentials?: Partial<Record<CredentialType, string>> | undefined;
356
356
  metadata?: Record<string, string> | undefined;
357
357
  recurring?: {
358
- interval: "year" | "month" | "day" | "week";
358
+ interval: "week" | "month" | "year" | "day";
359
359
  interval_count: number;
360
360
  } | undefined;
361
361
  }, {
@@ -366,7 +366,7 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
366
366
  metadata?: Record<string, string> | undefined;
367
367
  currency?: string | undefined;
368
368
  recurring?: {
369
- interval: "year" | "month" | "day" | "week";
369
+ interval: "week" | "month" | "year" | "day";
370
370
  interval_count?: number | undefined;
371
371
  } | undefined;
372
372
  }>, z.ZodObject<{
@@ -379,14 +379,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
379
379
  operation: "list_prices";
380
380
  limit: number;
381
381
  credentials?: Partial<Record<CredentialType, string>> | undefined;
382
- active?: boolean | undefined;
383
382
  product?: string | undefined;
383
+ active?: boolean | undefined;
384
384
  }, {
385
385
  operation: "list_prices";
386
386
  credentials?: Partial<Record<CredentialType, string>> | undefined;
387
387
  limit?: number | undefined;
388
- active?: boolean | undefined;
389
388
  product?: string | undefined;
389
+ active?: boolean | undefined;
390
390
  }>, z.ZodObject<{
391
391
  operation: z.ZodLiteral<"create_payment_link">;
392
392
  price: z.ZodString;
@@ -419,8 +419,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
419
419
  description: z.ZodOptional<z.ZodString>;
420
420
  quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
421
421
  }, "strip", z.ZodTypeAny, {
422
- unit_amount: number;
423
422
  quantity: number;
423
+ unit_amount: number;
424
424
  description?: string | undefined;
425
425
  }, {
426
426
  unit_amount: number;
@@ -435,8 +435,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
435
435
  auto_advance: boolean;
436
436
  collection_method: "charge_automatically" | "send_invoice";
437
437
  items?: {
438
- unit_amount: number;
439
438
  quantity: number;
439
+ unit_amount: number;
440
440
  description?: string | undefined;
441
441
  }[] | undefined;
442
442
  credentials?: Partial<Record<CredentialType, string>> | undefined;
@@ -516,9 +516,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
516
516
  }, "strip", z.ZodTypeAny, {
517
517
  operation: "create_invoice_item";
518
518
  currency: string;
519
+ quantity: number;
519
520
  unit_amount: number;
520
521
  customer: string;
521
- quantity: number;
522
522
  description?: string | undefined;
523
523
  credentials?: Partial<Record<CredentialType, string>> | undefined;
524
524
  metadata?: Record<string, string> | undefined;
@@ -531,8 +531,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
531
531
  credentials?: Partial<Record<CredentialType, string>> | undefined;
532
532
  metadata?: Record<string, string> | undefined;
533
533
  currency?: string | undefined;
534
- invoice?: string | undefined;
535
534
  quantity?: number | undefined;
535
+ invoice?: string | undefined;
536
536
  }>, z.ZodObject<{
537
537
  operation: z.ZodLiteral<"send_invoice">;
538
538
  invoice_id: z.ZodString;
@@ -578,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
578
578
  }, "strip", z.ZodTypeAny, {
579
579
  operation: "list_subscriptions";
580
580
  limit: number;
581
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
581
+ status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
582
582
  credentials?: Partial<Record<CredentialType, string>> | undefined;
583
583
  customer?: string | undefined;
584
584
  }, {
585
585
  operation: "list_subscriptions";
586
- status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
586
+ status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
587
587
  credentials?: Partial<Record<CredentialType, string>> | undefined;
588
588
  limit?: number | undefined;
589
589
  customer?: string | undefined;
@@ -594,8 +594,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
594
594
  credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
595
595
  }, "strip", z.ZodTypeAny, {
596
596
  operation: "cancel_subscription";
597
- cancel_at_period_end: boolean;
598
597
  subscription_id: string;
598
+ cancel_at_period_end: boolean;
599
599
  credentials?: Partial<Record<CredentialType, string>> | undefined;
600
600
  }, {
601
601
  operation: "cancel_subscription";
@@ -655,37 +655,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
655
655
  id: string;
656
656
  created: number;
657
657
  name?: string | null | undefined;
658
- metadata?: Record<string, string> | undefined;
659
658
  email?: string | null | undefined;
659
+ metadata?: Record<string, string> | undefined;
660
660
  }, {
661
661
  id: string;
662
662
  created: number;
663
663
  name?: string | null | undefined;
664
- metadata?: Record<string, string> | undefined;
665
664
  email?: string | null | undefined;
665
+ metadata?: Record<string, string> | undefined;
666
666
  }>>;
667
667
  error: z.ZodString;
668
668
  }, "strip", z.ZodTypeAny, {
669
+ operation: "create_customer";
669
670
  error: string;
670
671
  success: boolean;
671
- operation: "create_customer";
672
672
  customer?: {
673
673
  id: string;
674
674
  created: number;
675
675
  name?: string | null | undefined;
676
- metadata?: Record<string, string> | undefined;
677
676
  email?: string | null | undefined;
677
+ metadata?: Record<string, string> | undefined;
678
678
  } | undefined;
679
679
  }, {
680
+ operation: "create_customer";
680
681
  error: string;
681
682
  success: boolean;
682
- operation: "create_customer";
683
683
  customer?: {
684
684
  id: string;
685
685
  created: number;
686
686
  name?: string | null | undefined;
687
- metadata?: Record<string, string> | undefined;
688
687
  email?: string | null | undefined;
688
+ metadata?: Record<string, string> | undefined;
689
689
  } | undefined;
690
690
  }>, z.ZodObject<{
691
691
  operation: z.ZodLiteral<"list_customers">;
@@ -700,43 +700,43 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
700
700
  id: string;
701
701
  created: number;
702
702
  name?: string | null | undefined;
703
- metadata?: Record<string, string> | undefined;
704
703
  email?: string | null | undefined;
704
+ metadata?: Record<string, string> | undefined;
705
705
  }, {
706
706
  id: string;
707
707
  created: number;
708
708
  name?: string | null | undefined;
709
- metadata?: Record<string, string> | undefined;
710
709
  email?: string | null | undefined;
710
+ metadata?: Record<string, string> | undefined;
711
711
  }>, "many">>;
712
712
  has_more: z.ZodOptional<z.ZodBoolean>;
713
713
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
714
714
  error: z.ZodString;
715
715
  }, "strip", z.ZodTypeAny, {
716
+ operation: "list_customers";
716
717
  error: string;
717
718
  success: boolean;
718
- operation: "list_customers";
719
719
  next_cursor?: string | null | undefined;
720
720
  has_more?: boolean | undefined;
721
721
  customers?: {
722
722
  id: string;
723
723
  created: number;
724
724
  name?: string | null | undefined;
725
- metadata?: Record<string, string> | undefined;
726
725
  email?: string | null | undefined;
726
+ metadata?: Record<string, string> | undefined;
727
727
  }[] | undefined;
728
728
  }, {
729
+ operation: "list_customers";
729
730
  error: string;
730
731
  success: boolean;
731
- operation: "list_customers";
732
732
  next_cursor?: string | null | undefined;
733
733
  has_more?: boolean | undefined;
734
734
  customers?: {
735
735
  id: string;
736
736
  created: number;
737
737
  name?: string | null | undefined;
738
- metadata?: Record<string, string> | undefined;
739
738
  email?: string | null | undefined;
739
+ metadata?: Record<string, string> | undefined;
740
740
  }[] | undefined;
741
741
  }>, z.ZodObject<{
742
742
  operation: z.ZodLiteral<"retrieve_customer">;
@@ -751,40 +751,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
751
751
  id: string;
752
752
  created: number;
753
753
  name?: string | null | undefined;
754
- metadata?: Record<string, string> | undefined;
755
754
  email?: string | null | undefined;
755
+ metadata?: Record<string, string> | undefined;
756
756
  }, {
757
757
  id: string;
758
758
  created: number;
759
759
  name?: string | null | undefined;
760
- metadata?: Record<string, string> | undefined;
761
760
  email?: string | null | undefined;
761
+ metadata?: Record<string, string> | undefined;
762
762
  }>>;
763
763
  deleted: z.ZodOptional<z.ZodBoolean>;
764
764
  error: z.ZodString;
765
765
  }, "strip", z.ZodTypeAny, {
766
+ operation: "retrieve_customer";
766
767
  error: string;
767
768
  success: boolean;
768
- operation: "retrieve_customer";
769
769
  deleted?: boolean | undefined;
770
770
  customer?: {
771
771
  id: string;
772
772
  created: number;
773
773
  name?: string | null | undefined;
774
- metadata?: Record<string, string> | undefined;
775
774
  email?: string | null | undefined;
775
+ metadata?: Record<string, string> | undefined;
776
776
  } | undefined;
777
777
  }, {
778
+ operation: "retrieve_customer";
778
779
  error: string;
779
780
  success: boolean;
780
- operation: "retrieve_customer";
781
781
  deleted?: boolean | undefined;
782
782
  customer?: {
783
783
  id: string;
784
784
  created: number;
785
785
  name?: string | null | undefined;
786
- metadata?: Record<string, string> | undefined;
787
786
  email?: string | null | undefined;
787
+ metadata?: Record<string, string> | undefined;
788
788
  } | undefined;
789
789
  }>, z.ZodObject<{
790
790
  operation: z.ZodLiteral<"create_product">;
@@ -813,9 +813,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
813
813
  }>>;
814
814
  error: z.ZodString;
815
815
  }, "strip", z.ZodTypeAny, {
816
+ operation: "create_product";
816
817
  error: string;
817
818
  success: boolean;
818
- operation: "create_product";
819
819
  product?: {
820
820
  name: string;
821
821
  id: string;
@@ -825,9 +825,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
825
825
  metadata?: Record<string, string> | undefined;
826
826
  } | undefined;
827
827
  }, {
828
+ operation: "create_product";
828
829
  error: string;
829
830
  success: boolean;
830
- operation: "create_product";
831
831
  product?: {
832
832
  name: string;
833
833
  id: string;
@@ -863,9 +863,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
863
863
  }>, "many">>;
864
864
  error: z.ZodString;
865
865
  }, "strip", z.ZodTypeAny, {
866
+ operation: "list_products";
866
867
  error: string;
867
868
  success: boolean;
868
- operation: "list_products";
869
869
  products?: {
870
870
  name: string;
871
871
  id: string;
@@ -875,9 +875,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
875
875
  metadata?: Record<string, string> | undefined;
876
876
  }[] | undefined;
877
877
  }, {
878
+ operation: "list_products";
878
879
  error: string;
879
880
  success: boolean;
880
- operation: "list_products";
881
881
  products?: {
882
882
  name: string;
883
883
  id: string;
@@ -899,50 +899,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
899
899
  created: z.ZodNumber;
900
900
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
901
901
  }, "strip", z.ZodTypeAny, {
902
- type: "one_time" | "recurring";
902
+ type: "recurring" | "one_time";
903
903
  id: string;
904
904
  created: number;
905
905
  currency: string;
906
- active: boolean;
907
906
  product: string;
907
+ active: boolean;
908
908
  unit_amount: number | null;
909
909
  metadata?: Record<string, string> | undefined;
910
910
  }, {
911
- type: "one_time" | "recurring";
911
+ type: "recurring" | "one_time";
912
912
  id: string;
913
913
  created: number;
914
914
  currency: string;
915
- active: boolean;
916
915
  product: string;
916
+ active: boolean;
917
917
  unit_amount: number | null;
918
918
  metadata?: Record<string, string> | undefined;
919
919
  }>>;
920
920
  error: z.ZodString;
921
921
  }, "strip", z.ZodTypeAny, {
922
+ operation: "create_price";
922
923
  error: string;
923
924
  success: boolean;
924
- operation: "create_price";
925
925
  price?: {
926
- type: "one_time" | "recurring";
926
+ type: "recurring" | "one_time";
927
927
  id: string;
928
928
  created: number;
929
929
  currency: string;
930
- active: boolean;
931
930
  product: string;
931
+ active: boolean;
932
932
  unit_amount: number | null;
933
933
  metadata?: Record<string, string> | undefined;
934
934
  } | undefined;
935
935
  }, {
936
+ operation: "create_price";
936
937
  error: string;
937
938
  success: boolean;
938
- operation: "create_price";
939
939
  price?: {
940
- type: "one_time" | "recurring";
940
+ type: "recurring" | "one_time";
941
941
  id: string;
942
942
  created: number;
943
943
  currency: string;
944
- active: boolean;
945
944
  product: string;
945
+ active: boolean;
946
946
  unit_amount: number | null;
947
947
  metadata?: Record<string, string> | undefined;
948
948
  } | undefined;
@@ -959,50 +959,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
959
959
  created: z.ZodNumber;
960
960
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
961
961
  }, "strip", z.ZodTypeAny, {
962
- type: "one_time" | "recurring";
962
+ type: "recurring" | "one_time";
963
963
  id: string;
964
964
  created: number;
965
965
  currency: string;
966
- active: boolean;
967
966
  product: string;
967
+ active: boolean;
968
968
  unit_amount: number | null;
969
969
  metadata?: Record<string, string> | undefined;
970
970
  }, {
971
- type: "one_time" | "recurring";
971
+ type: "recurring" | "one_time";
972
972
  id: string;
973
973
  created: number;
974
974
  currency: string;
975
- active: boolean;
976
975
  product: string;
976
+ active: boolean;
977
977
  unit_amount: number | null;
978
978
  metadata?: Record<string, string> | undefined;
979
979
  }>, "many">>;
980
980
  error: z.ZodString;
981
981
  }, "strip", z.ZodTypeAny, {
982
+ operation: "list_prices";
982
983
  error: string;
983
984
  success: boolean;
984
- operation: "list_prices";
985
985
  prices?: {
986
- type: "one_time" | "recurring";
986
+ type: "recurring" | "one_time";
987
987
  id: string;
988
988
  created: number;
989
989
  currency: string;
990
- active: boolean;
991
990
  product: string;
991
+ active: boolean;
992
992
  unit_amount: number | null;
993
993
  metadata?: Record<string, string> | undefined;
994
994
  }[] | undefined;
995
995
  }, {
996
+ operation: "list_prices";
996
997
  error: string;
997
998
  success: boolean;
998
- operation: "list_prices";
999
999
  prices?: {
1000
- type: "one_time" | "recurring";
1000
+ type: "recurring" | "one_time";
1001
1001
  id: string;
1002
1002
  created: number;
1003
1003
  currency: string;
1004
- active: boolean;
1005
1004
  product: string;
1005
+ active: boolean;
1006
1006
  unit_amount: number | null;
1007
1007
  metadata?: Record<string, string> | undefined;
1008
1008
  }[] | undefined;
@@ -1016,40 +1016,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1016
1016
  created: z.ZodOptional<z.ZodNumber>;
1017
1017
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1018
1018
  }, "strip", z.ZodTypeAny, {
1019
- id: string;
1020
1019
  url: string;
1020
+ id: string;
1021
1021
  active: boolean;
1022
- metadata?: Record<string, string> | undefined;
1023
1022
  created?: number | undefined;
1023
+ metadata?: Record<string, string> | undefined;
1024
1024
  }, {
1025
- id: string;
1026
1025
  url: string;
1026
+ id: string;
1027
1027
  active: boolean;
1028
- metadata?: Record<string, string> | undefined;
1029
1028
  created?: number | undefined;
1029
+ metadata?: Record<string, string> | undefined;
1030
1030
  }>>;
1031
1031
  error: z.ZodString;
1032
1032
  }, "strip", z.ZodTypeAny, {
1033
+ operation: "create_payment_link";
1033
1034
  error: string;
1034
1035
  success: boolean;
1035
- operation: "create_payment_link";
1036
1036
  payment_link?: {
1037
- id: string;
1038
1037
  url: string;
1038
+ id: string;
1039
1039
  active: boolean;
1040
- metadata?: Record<string, string> | undefined;
1041
1040
  created?: number | undefined;
1041
+ metadata?: Record<string, string> | undefined;
1042
1042
  } | undefined;
1043
1043
  }, {
1044
+ operation: "create_payment_link";
1044
1045
  error: string;
1045
1046
  success: boolean;
1046
- operation: "create_payment_link";
1047
1047
  payment_link?: {
1048
- id: string;
1049
1048
  url: string;
1049
+ id: string;
1050
1050
  active: boolean;
1051
- metadata?: Record<string, string> | undefined;
1052
1051
  created?: number | undefined;
1052
+ metadata?: Record<string, string> | undefined;
1053
1053
  } | undefined;
1054
1054
  }>, z.ZodObject<{
1055
1055
  operation: z.ZodLiteral<"create_invoice">;
@@ -1071,8 +1071,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1071
1071
  total: number;
1072
1072
  currency: string;
1073
1073
  customer: string | null;
1074
- metadata?: Record<string, string> | undefined;
1075
1074
  created?: number | undefined;
1075
+ metadata?: Record<string, string> | undefined;
1076
1076
  due_date?: string | null | undefined;
1077
1077
  hosted_invoice_url?: string | null | undefined;
1078
1078
  invoice_pdf?: string | null | undefined;
@@ -1082,41 +1082,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1082
1082
  total: number;
1083
1083
  currency: string;
1084
1084
  customer: string | null;
1085
- metadata?: Record<string, string> | undefined;
1086
1085
  created?: number | undefined;
1086
+ metadata?: Record<string, string> | undefined;
1087
1087
  due_date?: string | null | undefined;
1088
1088
  hosted_invoice_url?: string | null | undefined;
1089
1089
  invoice_pdf?: string | null | undefined;
1090
1090
  }>>;
1091
1091
  error: z.ZodString;
1092
1092
  }, "strip", z.ZodTypeAny, {
1093
+ operation: "create_invoice";
1093
1094
  error: string;
1094
1095
  success: boolean;
1095
- operation: "create_invoice";
1096
1096
  invoice?: {
1097
1097
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1098
1098
  id: string;
1099
1099
  total: number;
1100
1100
  currency: string;
1101
1101
  customer: string | null;
1102
- metadata?: Record<string, string> | undefined;
1103
1102
  created?: number | undefined;
1103
+ metadata?: Record<string, string> | undefined;
1104
1104
  due_date?: string | null | undefined;
1105
1105
  hosted_invoice_url?: string | null | undefined;
1106
1106
  invoice_pdf?: string | null | undefined;
1107
1107
  } | undefined;
1108
1108
  }, {
1109
+ operation: "create_invoice";
1109
1110
  error: string;
1110
1111
  success: boolean;
1111
- operation: "create_invoice";
1112
1112
  invoice?: {
1113
1113
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1114
1114
  id: string;
1115
1115
  total: number;
1116
1116
  currency: string;
1117
1117
  customer: string | null;
1118
- metadata?: Record<string, string> | undefined;
1119
1118
  created?: number | undefined;
1119
+ metadata?: Record<string, string> | undefined;
1120
1120
  due_date?: string | null | undefined;
1121
1121
  hosted_invoice_url?: string | null | undefined;
1122
1122
  invoice_pdf?: string | null | undefined;
@@ -1141,8 +1141,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1141
1141
  total: number;
1142
1142
  currency: string;
1143
1143
  customer: string | null;
1144
- metadata?: Record<string, string> | undefined;
1145
1144
  created?: number | undefined;
1145
+ metadata?: Record<string, string> | undefined;
1146
1146
  due_date?: string | null | undefined;
1147
1147
  hosted_invoice_url?: string | null | undefined;
1148
1148
  invoice_pdf?: string | null | undefined;
@@ -1152,8 +1152,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1152
1152
  total: number;
1153
1153
  currency: string;
1154
1154
  customer: string | null;
1155
- metadata?: Record<string, string> | undefined;
1156
1155
  created?: number | undefined;
1156
+ metadata?: Record<string, string> | undefined;
1157
1157
  due_date?: string | null | undefined;
1158
1158
  hosted_invoice_url?: string | null | undefined;
1159
1159
  invoice_pdf?: string | null | undefined;
@@ -1162,9 +1162,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1162
1162
  next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1163
1163
  error: z.ZodString;
1164
1164
  }, "strip", z.ZodTypeAny, {
1165
+ operation: "list_invoices";
1165
1166
  error: string;
1166
1167
  success: boolean;
1167
- operation: "list_invoices";
1168
1168
  next_cursor?: string | null | undefined;
1169
1169
  has_more?: boolean | undefined;
1170
1170
  invoices?: {
@@ -1173,16 +1173,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1173
1173
  total: number;
1174
1174
  currency: string;
1175
1175
  customer: string | null;
1176
- metadata?: Record<string, string> | undefined;
1177
1176
  created?: number | undefined;
1177
+ metadata?: Record<string, string> | undefined;
1178
1178
  due_date?: string | null | undefined;
1179
1179
  hosted_invoice_url?: string | null | undefined;
1180
1180
  invoice_pdf?: string | null | undefined;
1181
1181
  }[] | undefined;
1182
1182
  }, {
1183
+ operation: "list_invoices";
1183
1184
  error: string;
1184
1185
  success: boolean;
1185
- operation: "list_invoices";
1186
1186
  next_cursor?: string | null | undefined;
1187
1187
  has_more?: boolean | undefined;
1188
1188
  invoices?: {
@@ -1191,8 +1191,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1191
1191
  total: number;
1192
1192
  currency: string;
1193
1193
  customer: string | null;
1194
- metadata?: Record<string, string> | undefined;
1195
1194
  created?: number | undefined;
1195
+ metadata?: Record<string, string> | undefined;
1196
1196
  due_date?: string | null | undefined;
1197
1197
  hosted_invoice_url?: string | null | undefined;
1198
1198
  invoice_pdf?: string | null | undefined;
@@ -1217,8 +1217,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1217
1217
  total: number;
1218
1218
  currency: string;
1219
1219
  customer: string | null;
1220
- metadata?: Record<string, string> | undefined;
1221
1220
  created?: number | undefined;
1221
+ metadata?: Record<string, string> | undefined;
1222
1222
  due_date?: string | null | undefined;
1223
1223
  hosted_invoice_url?: string | null | undefined;
1224
1224
  invoice_pdf?: string | null | undefined;
@@ -1228,41 +1228,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1228
1228
  total: number;
1229
1229
  currency: string;
1230
1230
  customer: string | null;
1231
- metadata?: Record<string, string> | undefined;
1232
1231
  created?: number | undefined;
1232
+ metadata?: Record<string, string> | undefined;
1233
1233
  due_date?: string | null | undefined;
1234
1234
  hosted_invoice_url?: string | null | undefined;
1235
1235
  invoice_pdf?: string | null | undefined;
1236
1236
  }>>;
1237
1237
  error: z.ZodString;
1238
1238
  }, "strip", z.ZodTypeAny, {
1239
+ operation: "retrieve_invoice";
1239
1240
  error: string;
1240
1241
  success: boolean;
1241
- operation: "retrieve_invoice";
1242
1242
  invoice?: {
1243
1243
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1244
1244
  id: string;
1245
1245
  total: number;
1246
1246
  currency: string;
1247
1247
  customer: string | null;
1248
- metadata?: Record<string, string> | undefined;
1249
1248
  created?: number | undefined;
1249
+ metadata?: Record<string, string> | undefined;
1250
1250
  due_date?: string | null | undefined;
1251
1251
  hosted_invoice_url?: string | null | undefined;
1252
1252
  invoice_pdf?: string | null | undefined;
1253
1253
  } | undefined;
1254
1254
  }, {
1255
+ operation: "retrieve_invoice";
1255
1256
  error: string;
1256
1257
  success: boolean;
1257
- operation: "retrieve_invoice";
1258
1258
  invoice?: {
1259
1259
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1260
1260
  id: string;
1261
1261
  total: number;
1262
1262
  currency: string;
1263
1263
  customer: string | null;
1264
- metadata?: Record<string, string> | undefined;
1265
1264
  created?: number | undefined;
1265
+ metadata?: Record<string, string> | undefined;
1266
1266
  due_date?: string | null | undefined;
1267
1267
  hosted_invoice_url?: string | null | undefined;
1268
1268
  invoice_pdf?: string | null | undefined;
@@ -1287,8 +1287,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1287
1287
  total: number;
1288
1288
  currency: string;
1289
1289
  customer: string | null;
1290
- metadata?: Record<string, string> | undefined;
1291
1290
  created?: number | undefined;
1291
+ metadata?: Record<string, string> | undefined;
1292
1292
  due_date?: string | null | undefined;
1293
1293
  hosted_invoice_url?: string | null | undefined;
1294
1294
  invoice_pdf?: string | null | undefined;
@@ -1298,41 +1298,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1298
1298
  total: number;
1299
1299
  currency: string;
1300
1300
  customer: string | null;
1301
- metadata?: Record<string, string> | undefined;
1302
1301
  created?: number | undefined;
1302
+ metadata?: Record<string, string> | undefined;
1303
1303
  due_date?: string | null | undefined;
1304
1304
  hosted_invoice_url?: string | null | undefined;
1305
1305
  invoice_pdf?: string | null | undefined;
1306
1306
  }>>;
1307
1307
  error: z.ZodString;
1308
1308
  }, "strip", z.ZodTypeAny, {
1309
+ operation: "finalize_invoice";
1309
1310
  error: string;
1310
1311
  success: boolean;
1311
- operation: "finalize_invoice";
1312
1312
  invoice?: {
1313
1313
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1314
1314
  id: string;
1315
1315
  total: number;
1316
1316
  currency: string;
1317
1317
  customer: string | null;
1318
- metadata?: Record<string, string> | undefined;
1319
1318
  created?: number | undefined;
1319
+ metadata?: Record<string, string> | undefined;
1320
1320
  due_date?: string | null | undefined;
1321
1321
  hosted_invoice_url?: string | null | undefined;
1322
1322
  invoice_pdf?: string | null | undefined;
1323
1323
  } | undefined;
1324
1324
  }, {
1325
+ operation: "finalize_invoice";
1325
1326
  error: string;
1326
1327
  success: boolean;
1327
- operation: "finalize_invoice";
1328
1328
  invoice?: {
1329
1329
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1330
1330
  id: string;
1331
1331
  total: number;
1332
1332
  currency: string;
1333
1333
  customer: string | null;
1334
- metadata?: Record<string, string> | undefined;
1335
1334
  created?: number | undefined;
1335
+ metadata?: Record<string, string> | undefined;
1336
1336
  due_date?: string | null | undefined;
1337
1337
  hosted_invoice_url?: string | null | undefined;
1338
1338
  invoice_pdf?: string | null | undefined;
@@ -1359,9 +1359,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1359
1359
  description?: string | null | undefined;
1360
1360
  date?: number | undefined;
1361
1361
  metadata?: Record<string, string> | undefined;
1362
+ quantity?: number | undefined;
1362
1363
  unit_amount?: number | null | undefined;
1363
1364
  invoice?: string | null | undefined;
1364
- quantity?: number | undefined;
1365
1365
  }, {
1366
1366
  id: string;
1367
1367
  currency: string;
@@ -1370,15 +1370,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1370
1370
  description?: string | null | undefined;
1371
1371
  date?: number | undefined;
1372
1372
  metadata?: Record<string, string> | undefined;
1373
+ quantity?: number | undefined;
1373
1374
  unit_amount?: number | null | undefined;
1374
1375
  invoice?: string | null | undefined;
1375
- quantity?: number | undefined;
1376
1376
  }>>;
1377
1377
  error: z.ZodString;
1378
1378
  }, "strip", z.ZodTypeAny, {
1379
+ operation: "create_invoice_item";
1379
1380
  error: string;
1380
1381
  success: boolean;
1381
- operation: "create_invoice_item";
1382
1382
  invoice_item?: {
1383
1383
  id: string;
1384
1384
  currency: string;
@@ -1387,14 +1387,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1387
1387
  description?: string | null | undefined;
1388
1388
  date?: number | undefined;
1389
1389
  metadata?: Record<string, string> | undefined;
1390
+ quantity?: number | undefined;
1390
1391
  unit_amount?: number | null | undefined;
1391
1392
  invoice?: string | null | undefined;
1392
- quantity?: number | undefined;
1393
1393
  } | undefined;
1394
1394
  }, {
1395
+ operation: "create_invoice_item";
1395
1396
  error: string;
1396
1397
  success: boolean;
1397
- operation: "create_invoice_item";
1398
1398
  invoice_item?: {
1399
1399
  id: string;
1400
1400
  currency: string;
@@ -1403,9 +1403,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1403
1403
  description?: string | null | undefined;
1404
1404
  date?: number | undefined;
1405
1405
  metadata?: Record<string, string> | undefined;
1406
+ quantity?: number | undefined;
1406
1407
  unit_amount?: number | null | undefined;
1407
1408
  invoice?: string | null | undefined;
1408
- quantity?: number | undefined;
1409
1409
  } | undefined;
1410
1410
  }>, z.ZodObject<{
1411
1411
  operation: z.ZodLiteral<"send_invoice">;
@@ -1427,8 +1427,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1427
1427
  total: number;
1428
1428
  currency: string;
1429
1429
  customer: string | null;
1430
- metadata?: Record<string, string> | undefined;
1431
1430
  created?: number | undefined;
1431
+ metadata?: Record<string, string> | undefined;
1432
1432
  due_date?: string | null | undefined;
1433
1433
  hosted_invoice_url?: string | null | undefined;
1434
1434
  invoice_pdf?: string | null | undefined;
@@ -1438,41 +1438,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1438
1438
  total: number;
1439
1439
  currency: string;
1440
1440
  customer: string | null;
1441
- metadata?: Record<string, string> | undefined;
1442
1441
  created?: number | undefined;
1442
+ metadata?: Record<string, string> | undefined;
1443
1443
  due_date?: string | null | undefined;
1444
1444
  hosted_invoice_url?: string | null | undefined;
1445
1445
  invoice_pdf?: string | null | undefined;
1446
1446
  }>>;
1447
1447
  error: z.ZodString;
1448
1448
  }, "strip", z.ZodTypeAny, {
1449
+ operation: "send_invoice";
1449
1450
  error: string;
1450
1451
  success: boolean;
1451
- operation: "send_invoice";
1452
1452
  invoice?: {
1453
1453
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1454
1454
  id: string;
1455
1455
  total: number;
1456
1456
  currency: string;
1457
1457
  customer: string | null;
1458
- metadata?: Record<string, string> | undefined;
1459
1458
  created?: number | undefined;
1459
+ metadata?: Record<string, string> | undefined;
1460
1460
  due_date?: string | null | undefined;
1461
1461
  hosted_invoice_url?: string | null | undefined;
1462
1462
  invoice_pdf?: string | null | undefined;
1463
1463
  } | undefined;
1464
1464
  }, {
1465
+ operation: "send_invoice";
1465
1466
  error: string;
1466
1467
  success: boolean;
1467
- operation: "send_invoice";
1468
1468
  invoice?: {
1469
1469
  status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
1470
1470
  id: string;
1471
1471
  total: number;
1472
1472
  currency: string;
1473
1473
  customer: string | null;
1474
- metadata?: Record<string, string> | undefined;
1475
1474
  created?: number | undefined;
1475
+ metadata?: Record<string, string> | undefined;
1476
1476
  due_date?: string | null | undefined;
1477
1477
  hosted_invoice_url?: string | null | undefined;
1478
1478
  invoice_pdf?: string | null | undefined;
@@ -1502,49 +1502,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1502
1502
  amount: number;
1503
1503
  }>, "many">;
1504
1504
  }, "strip", z.ZodTypeAny, {
1505
- pending: {
1505
+ available: {
1506
1506
  currency: string;
1507
1507
  amount: number;
1508
1508
  }[];
1509
- available: {
1509
+ pending: {
1510
1510
  currency: string;
1511
1511
  amount: number;
1512
1512
  }[];
1513
1513
  }, {
1514
- pending: {
1514
+ available: {
1515
1515
  currency: string;
1516
1516
  amount: number;
1517
1517
  }[];
1518
- available: {
1518
+ pending: {
1519
1519
  currency: string;
1520
1520
  amount: number;
1521
1521
  }[];
1522
1522
  }>>;
1523
1523
  error: z.ZodString;
1524
1524
  }, "strip", z.ZodTypeAny, {
1525
+ operation: "get_balance";
1525
1526
  error: string;
1526
1527
  success: boolean;
1527
- operation: "get_balance";
1528
1528
  balance?: {
1529
- pending: {
1529
+ available: {
1530
1530
  currency: string;
1531
1531
  amount: number;
1532
1532
  }[];
1533
- available: {
1533
+ pending: {
1534
1534
  currency: string;
1535
1535
  amount: number;
1536
1536
  }[];
1537
1537
  } | undefined;
1538
1538
  }, {
1539
+ operation: "get_balance";
1539
1540
  error: string;
1540
1541
  success: boolean;
1541
- operation: "get_balance";
1542
1542
  balance?: {
1543
- pending: {
1543
+ available: {
1544
1544
  currency: string;
1545
1545
  amount: number;
1546
1546
  }[];
1547
- available: {
1547
+ pending: {
1548
1548
  currency: string;
1549
1549
  amount: number;
1550
1550
  }[];
@@ -1561,7 +1561,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1561
1561
  created: z.ZodNumber;
1562
1562
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1563
1563
  }, "strip", z.ZodTypeAny, {
1564
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1564
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1565
1565
  id: string;
1566
1566
  created: number;
1567
1567
  currency: string;
@@ -1569,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1569
1569
  metadata?: Record<string, string> | undefined;
1570
1570
  customer?: string | null | undefined;
1571
1571
  }, {
1572
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1572
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1573
1573
  id: string;
1574
1574
  created: number;
1575
1575
  currency: string;
@@ -1579,11 +1579,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1579
1579
  }>, "many">>;
1580
1580
  error: z.ZodString;
1581
1581
  }, "strip", z.ZodTypeAny, {
1582
+ operation: "list_payment_intents";
1582
1583
  error: string;
1583
1584
  success: boolean;
1584
- operation: "list_payment_intents";
1585
1585
  payment_intents?: {
1586
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1586
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1587
1587
  id: string;
1588
1588
  created: number;
1589
1589
  currency: string;
@@ -1592,11 +1592,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1592
1592
  customer?: string | null | undefined;
1593
1593
  }[] | undefined;
1594
1594
  }, {
1595
+ operation: "list_payment_intents";
1595
1596
  error: string;
1596
1597
  success: boolean;
1597
- operation: "list_payment_intents";
1598
1598
  payment_intents?: {
1599
- status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
1599
+ status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
1600
1600
  id: string;
1601
1601
  created: number;
1602
1602
  currency: string;
@@ -1617,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1617
1617
  created: z.ZodNumber;
1618
1618
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1619
1619
  }, "strip", z.ZodTypeAny, {
1620
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1620
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1621
1621
  id: string;
1622
1622
  created: number;
1623
1623
  customer: string;
@@ -1626,7 +1626,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1626
1626
  current_period_start?: number | undefined;
1627
1627
  current_period_end?: number | undefined;
1628
1628
  }, {
1629
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1629
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1630
1630
  id: string;
1631
1631
  created: number;
1632
1632
  customer: string;
@@ -1637,11 +1637,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1637
1637
  }>, "many">>;
1638
1638
  error: z.ZodString;
1639
1639
  }, "strip", z.ZodTypeAny, {
1640
+ operation: "list_subscriptions";
1640
1641
  error: string;
1641
1642
  success: boolean;
1642
- operation: "list_subscriptions";
1643
1643
  subscriptions?: {
1644
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1644
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1645
1645
  id: string;
1646
1646
  created: number;
1647
1647
  customer: string;
@@ -1651,11 +1651,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1651
1651
  current_period_end?: number | undefined;
1652
1652
  }[] | undefined;
1653
1653
  }, {
1654
+ operation: "list_subscriptions";
1654
1655
  error: string;
1655
1656
  success: boolean;
1656
- operation: "list_subscriptions";
1657
1657
  subscriptions?: {
1658
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1658
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1659
1659
  id: string;
1660
1660
  created: number;
1661
1661
  customer: string;
@@ -1677,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1677
1677
  created: z.ZodNumber;
1678
1678
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1679
1679
  }, "strip", z.ZodTypeAny, {
1680
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1680
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1681
1681
  id: string;
1682
1682
  created: number;
1683
1683
  customer: string;
@@ -1686,7 +1686,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1686
1686
  current_period_start?: number | undefined;
1687
1687
  current_period_end?: number | undefined;
1688
1688
  }, {
1689
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1689
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1690
1690
  id: string;
1691
1691
  created: number;
1692
1692
  customer: string;
@@ -1697,11 +1697,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1697
1697
  }>>;
1698
1698
  error: z.ZodString;
1699
1699
  }, "strip", z.ZodTypeAny, {
1700
+ operation: "cancel_subscription";
1700
1701
  error: string;
1701
1702
  success: boolean;
1702
- operation: "cancel_subscription";
1703
1703
  subscription?: {
1704
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1704
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1705
1705
  id: string;
1706
1706
  created: number;
1707
1707
  customer: string;
@@ -1711,11 +1711,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1711
1711
  current_period_end?: number | undefined;
1712
1712
  } | undefined;
1713
1713
  }, {
1714
+ operation: "cancel_subscription";
1714
1715
  error: string;
1715
1716
  success: boolean;
1716
- operation: "cancel_subscription";
1717
1717
  subscription?: {
1718
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1718
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1719
1719
  id: string;
1720
1720
  created: number;
1721
1721
  customer: string;
@@ -1734,40 +1734,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1734
1734
  created: z.ZodOptional<z.ZodNumber>;
1735
1735
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1736
1736
  }, "strip", z.ZodTypeAny, {
1737
- id: string;
1738
1737
  url: string;
1738
+ id: string;
1739
1739
  active: boolean;
1740
- metadata?: Record<string, string> | undefined;
1741
1740
  created?: number | undefined;
1741
+ metadata?: Record<string, string> | undefined;
1742
1742
  }, {
1743
- id: string;
1744
1743
  url: string;
1744
+ id: string;
1745
1745
  active: boolean;
1746
- metadata?: Record<string, string> | undefined;
1747
1746
  created?: number | undefined;
1747
+ metadata?: Record<string, string> | undefined;
1748
1748
  }>, "many">>;
1749
1749
  error: z.ZodString;
1750
1750
  }, "strip", z.ZodTypeAny, {
1751
+ operation: "list_payment_links";
1751
1752
  error: string;
1752
1753
  success: boolean;
1753
- operation: "list_payment_links";
1754
1754
  payment_links?: {
1755
- id: string;
1756
1755
  url: string;
1756
+ id: string;
1757
1757
  active: boolean;
1758
- metadata?: Record<string, string> | undefined;
1759
1758
  created?: number | undefined;
1759
+ metadata?: Record<string, string> | undefined;
1760
1760
  }[] | undefined;
1761
1761
  }, {
1762
+ operation: "list_payment_links";
1762
1763
  error: string;
1763
1764
  success: boolean;
1764
- operation: "list_payment_links";
1765
1765
  payment_links?: {
1766
- id: string;
1767
1766
  url: string;
1767
+ id: string;
1768
1768
  active: boolean;
1769
- metadata?: Record<string, string> | undefined;
1770
1769
  created?: number | undefined;
1770
+ metadata?: Record<string, string> | undefined;
1771
1771
  }[] | undefined;
1772
1772
  }>, z.ZodObject<{
1773
1773
  operation: z.ZodLiteral<"create_subscription">;
@@ -1782,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1782
1782
  created: z.ZodNumber;
1783
1783
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1784
1784
  }, "strip", z.ZodTypeAny, {
1785
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1785
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1786
1786
  id: string;
1787
1787
  created: number;
1788
1788
  customer: string;
@@ -1791,7 +1791,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1791
1791
  current_period_start?: number | undefined;
1792
1792
  current_period_end?: number | undefined;
1793
1793
  }, {
1794
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1794
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1795
1795
  id: string;
1796
1796
  created: number;
1797
1797
  customer: string;
@@ -1802,11 +1802,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1802
1802
  }>>;
1803
1803
  error: z.ZodString;
1804
1804
  }, "strip", z.ZodTypeAny, {
1805
+ operation: "create_subscription";
1805
1806
  error: string;
1806
1807
  success: boolean;
1807
- operation: "create_subscription";
1808
1808
  subscription?: {
1809
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1809
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1810
1810
  id: string;
1811
1811
  created: number;
1812
1812
  customer: string;
@@ -1816,11 +1816,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
1816
1816
  current_period_end?: number | undefined;
1817
1817
  } | undefined;
1818
1818
  }, {
1819
+ operation: "create_subscription";
1819
1820
  error: string;
1820
1821
  success: boolean;
1821
- operation: "create_subscription";
1822
1822
  subscription?: {
1823
- status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
1823
+ status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
1824
1824
  id: string;
1825
1825
  created: number;
1826
1826
  customer: string;