@bubblelab/bubble-core 0.1.208 → 0.1.210
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.
- package/dist/bubble-bundle.d.ts +161 -161
- package/dist/bubbles/service-bubble/agi-inc.d.ts +80 -80
- package/dist/bubbles/service-bubble/ai-agent.d.ts +26 -16
- package/dist/bubbles/service-bubble/ai-agent.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.js +74 -2
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +74 -74
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/linkedin-jobs-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +27 -27
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +131 -131
- package/dist/bubbles/service-bubble/apify/apify.d.ts +8 -8
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +94 -94
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/attio/attio.d.ts +28 -28
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +28 -28
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/capability-pipeline.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/capability-pipeline.js +12 -3
- package/dist/bubbles/service-bubble/capability-pipeline.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +24 -24
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +24 -24
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +52 -52
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +1015 -1015
- package/dist/bubbles/service-bubble/followupboss.d.ts +140 -140
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +156 -156
- package/dist/bubbles/service-bubble/gmail.d.ts +140 -140
- package/dist/bubbles/service-bubble/google-calendar.d.ts +218 -218
- package/dist/bubbles/service-bubble/google-drive.d.ts +92 -92
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +12 -12
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +8 -8
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +8 -8
- package/dist/bubbles/service-bubble/jira/jira.d.ts +56 -56
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +94 -94
- package/dist/bubbles/service-bubble/linear/linear.d.ts +32 -32
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/notion/notion.d.ts +1627 -1627
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +8 -8
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +20 -20
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/s3/s3.d.ts +10 -10
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +6 -6
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +342 -342
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +115 -115
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +143 -143
- package/dist/bubbles/service-bubble/telegram.d.ts +1537 -1537
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +13 -13
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +13 -13
- package/dist/bubbles/tool-bubble/browser-tools/_shared/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-accept-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-connection/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +186 -186
- package/dist/bubbles/tool-bubble/list-airtable-bases-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-airtable-tables-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-bubbles-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +48 -48
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +18 -18
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +104 -104
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +34 -34
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +94 -94
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +6 -2
- package/dist/capabilities/define-capability.d.ts +2 -0
- package/dist/capabilities/define-capability.d.ts.map +1 -1
- package/dist/capabilities/define-capability.js.map +1 -1
- package/package.json +2 -2
|
@@ -51,21 +51,21 @@ export declare const StripePriceSchema: z.ZodObject<{
|
|
|
51
51
|
created: z.ZodNumber;
|
|
52
52
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
type: "
|
|
54
|
+
type: "one_time" | "recurring";
|
|
55
55
|
id: string;
|
|
56
56
|
created: number;
|
|
57
57
|
currency: string;
|
|
58
|
-
product: string;
|
|
59
58
|
active: boolean;
|
|
59
|
+
product: string;
|
|
60
60
|
unit_amount: number | null;
|
|
61
61
|
metadata?: Record<string, string> | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
type: "
|
|
63
|
+
type: "one_time" | "recurring";
|
|
64
64
|
id: string;
|
|
65
65
|
created: number;
|
|
66
66
|
currency: string;
|
|
67
|
-
product: string;
|
|
68
67
|
active: boolean;
|
|
68
|
+
product: string;
|
|
69
69
|
unit_amount: number | null;
|
|
70
70
|
metadata?: Record<string, string> | undefined;
|
|
71
71
|
}>;
|
|
@@ -79,14 +79,14 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
|
|
|
79
79
|
url: string;
|
|
80
80
|
id: string;
|
|
81
81
|
active: boolean;
|
|
82
|
-
created?: number | undefined;
|
|
83
82
|
metadata?: Record<string, string> | undefined;
|
|
83
|
+
created?: number | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
url: string;
|
|
86
86
|
id: string;
|
|
87
87
|
active: boolean;
|
|
88
|
-
created?: number | undefined;
|
|
89
88
|
metadata?: Record<string, string> | undefined;
|
|
89
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
109
108
|
metadata?: Record<string, string> | undefined;
|
|
109
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
120
119
|
metadata?: Record<string, string> | undefined;
|
|
120
|
+
created?: number | 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;
|
|
145
144
|
unit_amount?: number | null | undefined;
|
|
146
145
|
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;
|
|
156
155
|
unit_amount?: number | null | undefined;
|
|
157
156
|
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
|
-
|
|
181
|
+
pending: {
|
|
182
182
|
currency: string;
|
|
183
183
|
amount: number;
|
|
184
184
|
}[];
|
|
185
|
-
|
|
185
|
+
available: {
|
|
186
186
|
currency: string;
|
|
187
187
|
amount: number;
|
|
188
188
|
}[];
|
|
189
189
|
}, {
|
|
190
|
-
|
|
190
|
+
pending: {
|
|
191
191
|
currency: string;
|
|
192
192
|
amount: number;
|
|
193
193
|
}[];
|
|
194
|
-
|
|
194
|
+
available: {
|
|
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: "
|
|
208
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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: "
|
|
216
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
234
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
243
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
244
244
|
id: string;
|
|
245
245
|
created: number;
|
|
246
246
|
customer: string;
|
|
@@ -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: "
|
|
342
|
+
interval: "year" | "month" | "day" | "week";
|
|
343
343
|
interval_count: number;
|
|
344
344
|
}, {
|
|
345
|
-
interval: "
|
|
345
|
+
interval: "year" | "month" | "day" | "week";
|
|
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: "
|
|
358
|
+
interval: "year" | "month" | "day" | "week";
|
|
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: "
|
|
369
|
+
interval: "year" | "month" | "day" | "week";
|
|
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
|
-
product?: string | undefined;
|
|
383
382
|
active?: boolean | undefined;
|
|
383
|
+
product?: string | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
operation: "list_prices";
|
|
386
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
387
387
|
limit?: number | undefined;
|
|
388
|
-
product?: string | undefined;
|
|
389
388
|
active?: boolean | undefined;
|
|
389
|
+
product?: string | 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
|
-
quantity: number;
|
|
423
422
|
unit_amount: number;
|
|
423
|
+
quantity: 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
|
-
quantity: number;
|
|
439
438
|
unit_amount: number;
|
|
439
|
+
quantity: 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;
|
|
520
519
|
unit_amount: number;
|
|
521
520
|
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
|
-
quantity?: number | undefined;
|
|
535
534
|
invoice?: string | undefined;
|
|
535
|
+
quantity?: number | 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?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
581
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
582
582
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
583
583
|
customer?: string | undefined;
|
|
584
584
|
}, {
|
|
585
585
|
operation: "list_subscriptions";
|
|
586
|
-
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
586
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
subscription_id: string;
|
|
598
597
|
cancel_at_period_end: boolean;
|
|
598
|
+
subscription_id: string;
|
|
599
599
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
operation: "cancel_subscription";
|
|
@@ -666,8 +666,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
666
666
|
}>>;
|
|
667
667
|
error: z.ZodString;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
success: boolean;
|
|
670
669
|
error: string;
|
|
670
|
+
success: boolean;
|
|
671
671
|
operation: "create_customer";
|
|
672
672
|
customer?: {
|
|
673
673
|
id: string;
|
|
@@ -677,8 +677,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
677
677
|
metadata?: Record<string, string> | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
}, {
|
|
680
|
-
success: boolean;
|
|
681
680
|
error: string;
|
|
681
|
+
success: boolean;
|
|
682
682
|
operation: "create_customer";
|
|
683
683
|
customer?: {
|
|
684
684
|
id: string;
|
|
@@ -713,8 +713,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
713
713
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
714
714
|
error: z.ZodString;
|
|
715
715
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
-
success: boolean;
|
|
717
716
|
error: string;
|
|
717
|
+
success: boolean;
|
|
718
718
|
operation: "list_customers";
|
|
719
719
|
next_cursor?: string | null | undefined;
|
|
720
720
|
has_more?: boolean | undefined;
|
|
@@ -726,8 +726,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
726
726
|
metadata?: Record<string, string> | undefined;
|
|
727
727
|
}[] | undefined;
|
|
728
728
|
}, {
|
|
729
|
-
success: boolean;
|
|
730
729
|
error: string;
|
|
730
|
+
success: boolean;
|
|
731
731
|
operation: "list_customers";
|
|
732
732
|
next_cursor?: string | null | undefined;
|
|
733
733
|
has_more?: boolean | undefined;
|
|
@@ -763,8 +763,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
763
763
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
764
764
|
error: z.ZodString;
|
|
765
765
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
-
success: boolean;
|
|
767
766
|
error: string;
|
|
767
|
+
success: boolean;
|
|
768
768
|
operation: "retrieve_customer";
|
|
769
769
|
deleted?: boolean | undefined;
|
|
770
770
|
customer?: {
|
|
@@ -775,8 +775,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
775
775
|
metadata?: Record<string, string> | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
}, {
|
|
778
|
-
success: boolean;
|
|
779
778
|
error: string;
|
|
779
|
+
success: boolean;
|
|
780
780
|
operation: "retrieve_customer";
|
|
781
781
|
deleted?: boolean | undefined;
|
|
782
782
|
customer?: {
|
|
@@ -813,8 +813,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
813
813
|
}>>;
|
|
814
814
|
error: z.ZodString;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
-
success: boolean;
|
|
817
816
|
error: string;
|
|
817
|
+
success: boolean;
|
|
818
818
|
operation: "create_product";
|
|
819
819
|
product?: {
|
|
820
820
|
name: string;
|
|
@@ -825,8 +825,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
825
825
|
metadata?: Record<string, string> | undefined;
|
|
826
826
|
} | undefined;
|
|
827
827
|
}, {
|
|
828
|
-
success: boolean;
|
|
829
828
|
error: string;
|
|
829
|
+
success: boolean;
|
|
830
830
|
operation: "create_product";
|
|
831
831
|
product?: {
|
|
832
832
|
name: string;
|
|
@@ -863,8 +863,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
863
863
|
}>, "many">>;
|
|
864
864
|
error: z.ZodString;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
-
success: boolean;
|
|
867
866
|
error: string;
|
|
867
|
+
success: boolean;
|
|
868
868
|
operation: "list_products";
|
|
869
869
|
products?: {
|
|
870
870
|
name: string;
|
|
@@ -875,8 +875,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
875
875
|
metadata?: Record<string, string> | undefined;
|
|
876
876
|
}[] | undefined;
|
|
877
877
|
}, {
|
|
878
|
-
success: boolean;
|
|
879
878
|
error: string;
|
|
879
|
+
success: boolean;
|
|
880
880
|
operation: "list_products";
|
|
881
881
|
products?: {
|
|
882
882
|
name: 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: "
|
|
902
|
+
type: "one_time" | "recurring";
|
|
903
903
|
id: string;
|
|
904
904
|
created: number;
|
|
905
905
|
currency: string;
|
|
906
|
-
product: string;
|
|
907
906
|
active: boolean;
|
|
907
|
+
product: string;
|
|
908
908
|
unit_amount: number | null;
|
|
909
909
|
metadata?: Record<string, string> | undefined;
|
|
910
910
|
}, {
|
|
911
|
-
type: "
|
|
911
|
+
type: "one_time" | "recurring";
|
|
912
912
|
id: string;
|
|
913
913
|
created: number;
|
|
914
914
|
currency: string;
|
|
915
|
-
product: string;
|
|
916
915
|
active: boolean;
|
|
916
|
+
product: string;
|
|
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
|
-
success: boolean;
|
|
923
922
|
error: string;
|
|
923
|
+
success: boolean;
|
|
924
924
|
operation: "create_price";
|
|
925
925
|
price?: {
|
|
926
|
-
type: "
|
|
926
|
+
type: "one_time" | "recurring";
|
|
927
927
|
id: string;
|
|
928
928
|
created: number;
|
|
929
929
|
currency: string;
|
|
930
|
-
product: string;
|
|
931
930
|
active: boolean;
|
|
931
|
+
product: string;
|
|
932
932
|
unit_amount: number | null;
|
|
933
933
|
metadata?: Record<string, string> | undefined;
|
|
934
934
|
} | undefined;
|
|
935
935
|
}, {
|
|
936
|
-
success: boolean;
|
|
937
936
|
error: string;
|
|
937
|
+
success: boolean;
|
|
938
938
|
operation: "create_price";
|
|
939
939
|
price?: {
|
|
940
|
-
type: "
|
|
940
|
+
type: "one_time" | "recurring";
|
|
941
941
|
id: string;
|
|
942
942
|
created: number;
|
|
943
943
|
currency: string;
|
|
944
|
-
product: string;
|
|
945
944
|
active: boolean;
|
|
945
|
+
product: string;
|
|
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: "
|
|
962
|
+
type: "one_time" | "recurring";
|
|
963
963
|
id: string;
|
|
964
964
|
created: number;
|
|
965
965
|
currency: string;
|
|
966
|
-
product: string;
|
|
967
966
|
active: boolean;
|
|
967
|
+
product: string;
|
|
968
968
|
unit_amount: number | null;
|
|
969
969
|
metadata?: Record<string, string> | undefined;
|
|
970
970
|
}, {
|
|
971
|
-
type: "
|
|
971
|
+
type: "one_time" | "recurring";
|
|
972
972
|
id: string;
|
|
973
973
|
created: number;
|
|
974
974
|
currency: string;
|
|
975
|
-
product: string;
|
|
976
975
|
active: boolean;
|
|
976
|
+
product: string;
|
|
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
|
-
success: boolean;
|
|
983
982
|
error: string;
|
|
983
|
+
success: boolean;
|
|
984
984
|
operation: "list_prices";
|
|
985
985
|
prices?: {
|
|
986
|
-
type: "
|
|
986
|
+
type: "one_time" | "recurring";
|
|
987
987
|
id: string;
|
|
988
988
|
created: number;
|
|
989
989
|
currency: string;
|
|
990
|
-
product: string;
|
|
991
990
|
active: boolean;
|
|
991
|
+
product: string;
|
|
992
992
|
unit_amount: number | null;
|
|
993
993
|
metadata?: Record<string, string> | undefined;
|
|
994
994
|
}[] | undefined;
|
|
995
995
|
}, {
|
|
996
|
-
success: boolean;
|
|
997
996
|
error: string;
|
|
997
|
+
success: boolean;
|
|
998
998
|
operation: "list_prices";
|
|
999
999
|
prices?: {
|
|
1000
|
-
type: "
|
|
1000
|
+
type: "one_time" | "recurring";
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
created: number;
|
|
1003
1003
|
currency: string;
|
|
1004
|
-
product: string;
|
|
1005
1004
|
active: boolean;
|
|
1005
|
+
product: string;
|
|
1006
1006
|
unit_amount: number | null;
|
|
1007
1007
|
metadata?: Record<string, string> | undefined;
|
|
1008
1008
|
}[] | undefined;
|
|
@@ -1019,37 +1019,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1019
1019
|
url: string;
|
|
1020
1020
|
id: string;
|
|
1021
1021
|
active: boolean;
|
|
1022
|
-
created?: number | undefined;
|
|
1023
1022
|
metadata?: Record<string, string> | undefined;
|
|
1023
|
+
created?: number | undefined;
|
|
1024
1024
|
}, {
|
|
1025
1025
|
url: string;
|
|
1026
1026
|
id: string;
|
|
1027
1027
|
active: boolean;
|
|
1028
|
-
created?: number | undefined;
|
|
1029
1028
|
metadata?: Record<string, string> | undefined;
|
|
1029
|
+
created?: number | undefined;
|
|
1030
1030
|
}>>;
|
|
1031
1031
|
error: z.ZodString;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
-
success: boolean;
|
|
1034
1033
|
error: string;
|
|
1034
|
+
success: boolean;
|
|
1035
1035
|
operation: "create_payment_link";
|
|
1036
1036
|
payment_link?: {
|
|
1037
1037
|
url: string;
|
|
1038
1038
|
id: string;
|
|
1039
1039
|
active: boolean;
|
|
1040
|
-
created?: number | undefined;
|
|
1041
1040
|
metadata?: Record<string, string> | undefined;
|
|
1041
|
+
created?: number | undefined;
|
|
1042
1042
|
} | undefined;
|
|
1043
1043
|
}, {
|
|
1044
|
-
success: boolean;
|
|
1045
1044
|
error: string;
|
|
1045
|
+
success: boolean;
|
|
1046
1046
|
operation: "create_payment_link";
|
|
1047
1047
|
payment_link?: {
|
|
1048
1048
|
url: string;
|
|
1049
1049
|
id: string;
|
|
1050
1050
|
active: boolean;
|
|
1051
|
-
created?: number | undefined;
|
|
1052
1051
|
metadata?: Record<string, string> | undefined;
|
|
1052
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
1075
1074
|
metadata?: Record<string, string> | undefined;
|
|
1075
|
+
created?: number | undefined;
|
|
1076
1076
|
due_date?: string | null | undefined;
|
|
1077
1077
|
hosted_invoice_url?: string | null | undefined;
|
|
1078
1078
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1082,16 +1082,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1082
1082
|
total: number;
|
|
1083
1083
|
currency: string;
|
|
1084
1084
|
customer: string | null;
|
|
1085
|
-
created?: number | undefined;
|
|
1086
1085
|
metadata?: Record<string, string> | undefined;
|
|
1086
|
+
created?: number | 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
|
-
success: boolean;
|
|
1094
1093
|
error: string;
|
|
1094
|
+
success: boolean;
|
|
1095
1095
|
operation: "create_invoice";
|
|
1096
1096
|
invoice?: {
|
|
1097
1097
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1099,15 +1099,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1099
1099
|
total: number;
|
|
1100
1100
|
currency: string;
|
|
1101
1101
|
customer: string | null;
|
|
1102
|
-
created?: number | undefined;
|
|
1103
1102
|
metadata?: Record<string, string> | undefined;
|
|
1103
|
+
created?: number | 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
|
-
success: boolean;
|
|
1110
1109
|
error: string;
|
|
1110
|
+
success: boolean;
|
|
1111
1111
|
operation: "create_invoice";
|
|
1112
1112
|
invoice?: {
|
|
1113
1113
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1115,8 +1115,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1115
1115
|
total: number;
|
|
1116
1116
|
currency: string;
|
|
1117
1117
|
customer: string | null;
|
|
1118
|
-
created?: number | undefined;
|
|
1119
1118
|
metadata?: Record<string, string> | undefined;
|
|
1119
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
1145
1144
|
metadata?: Record<string, string> | undefined;
|
|
1145
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
1156
1155
|
metadata?: Record<string, string> | undefined;
|
|
1156
|
+
created?: number | undefined;
|
|
1157
1157
|
due_date?: string | null | undefined;
|
|
1158
1158
|
hosted_invoice_url?: string | null | undefined;
|
|
1159
1159
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1162,8 +1162,8 @@ 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
|
-
success: boolean;
|
|
1166
1165
|
error: string;
|
|
1166
|
+
success: boolean;
|
|
1167
1167
|
operation: "list_invoices";
|
|
1168
1168
|
next_cursor?: string | null | undefined;
|
|
1169
1169
|
has_more?: boolean | undefined;
|
|
@@ -1173,15 +1173,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1173
1173
|
total: number;
|
|
1174
1174
|
currency: string;
|
|
1175
1175
|
customer: string | null;
|
|
1176
|
-
created?: number | undefined;
|
|
1177
1176
|
metadata?: Record<string, string> | undefined;
|
|
1177
|
+
created?: number | 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
|
-
success: boolean;
|
|
1184
1183
|
error: string;
|
|
1184
|
+
success: boolean;
|
|
1185
1185
|
operation: "list_invoices";
|
|
1186
1186
|
next_cursor?: string | null | undefined;
|
|
1187
1187
|
has_more?: boolean | undefined;
|
|
@@ -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
|
-
created?: number | undefined;
|
|
1195
1194
|
metadata?: Record<string, string> | undefined;
|
|
1195
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
1221
1220
|
metadata?: Record<string, string> | undefined;
|
|
1221
|
+
created?: number | undefined;
|
|
1222
1222
|
due_date?: string | null | undefined;
|
|
1223
1223
|
hosted_invoice_url?: string | null | undefined;
|
|
1224
1224
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1228,16 +1228,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1228
1228
|
total: number;
|
|
1229
1229
|
currency: string;
|
|
1230
1230
|
customer: string | null;
|
|
1231
|
-
created?: number | undefined;
|
|
1232
1231
|
metadata?: Record<string, string> | undefined;
|
|
1232
|
+
created?: number | 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
|
-
success: boolean;
|
|
1240
1239
|
error: string;
|
|
1240
|
+
success: boolean;
|
|
1241
1241
|
operation: "retrieve_invoice";
|
|
1242
1242
|
invoice?: {
|
|
1243
1243
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1245,15 +1245,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1245
1245
|
total: number;
|
|
1246
1246
|
currency: string;
|
|
1247
1247
|
customer: string | null;
|
|
1248
|
-
created?: number | undefined;
|
|
1249
1248
|
metadata?: Record<string, string> | undefined;
|
|
1249
|
+
created?: number | 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
|
-
success: boolean;
|
|
1256
1255
|
error: string;
|
|
1256
|
+
success: boolean;
|
|
1257
1257
|
operation: "retrieve_invoice";
|
|
1258
1258
|
invoice?: {
|
|
1259
1259
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1261,8 +1261,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1261
1261
|
total: number;
|
|
1262
1262
|
currency: string;
|
|
1263
1263
|
customer: string | null;
|
|
1264
|
-
created?: number | undefined;
|
|
1265
1264
|
metadata?: Record<string, string> | undefined;
|
|
1265
|
+
created?: number | 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
|
-
created?: number | undefined;
|
|
1291
1290
|
metadata?: Record<string, string> | undefined;
|
|
1291
|
+
created?: number | undefined;
|
|
1292
1292
|
due_date?: string | null | undefined;
|
|
1293
1293
|
hosted_invoice_url?: string | null | undefined;
|
|
1294
1294
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1298,16 +1298,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1298
1298
|
total: number;
|
|
1299
1299
|
currency: string;
|
|
1300
1300
|
customer: string | null;
|
|
1301
|
-
created?: number | undefined;
|
|
1302
1301
|
metadata?: Record<string, string> | undefined;
|
|
1302
|
+
created?: number | 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
|
-
success: boolean;
|
|
1310
1309
|
error: string;
|
|
1310
|
+
success: boolean;
|
|
1311
1311
|
operation: "finalize_invoice";
|
|
1312
1312
|
invoice?: {
|
|
1313
1313
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1315,15 +1315,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1315
1315
|
total: number;
|
|
1316
1316
|
currency: string;
|
|
1317
1317
|
customer: string | null;
|
|
1318
|
-
created?: number | undefined;
|
|
1319
1318
|
metadata?: Record<string, string> | undefined;
|
|
1319
|
+
created?: number | 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
|
-
success: boolean;
|
|
1326
1325
|
error: string;
|
|
1326
|
+
success: boolean;
|
|
1327
1327
|
operation: "finalize_invoice";
|
|
1328
1328
|
invoice?: {
|
|
1329
1329
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1331,8 +1331,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1331
1331
|
total: number;
|
|
1332
1332
|
currency: string;
|
|
1333
1333
|
customer: string | null;
|
|
1334
|
-
created?: number | undefined;
|
|
1335
1334
|
metadata?: Record<string, string> | undefined;
|
|
1335
|
+
created?: number | 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;
|
|
1363
1362
|
unit_amount?: number | null | undefined;
|
|
1364
1363
|
invoice?: string | null | undefined;
|
|
1364
|
+
quantity?: number | undefined;
|
|
1365
1365
|
}, {
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
currency: string;
|
|
@@ -1370,14 +1370,14 @@ 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;
|
|
1374
1373
|
unit_amount?: number | null | undefined;
|
|
1375
1374
|
invoice?: string | null | undefined;
|
|
1375
|
+
quantity?: number | undefined;
|
|
1376
1376
|
}>>;
|
|
1377
1377
|
error: z.ZodString;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
-
success: boolean;
|
|
1380
1379
|
error: string;
|
|
1380
|
+
success: boolean;
|
|
1381
1381
|
operation: "create_invoice_item";
|
|
1382
1382
|
invoice_item?: {
|
|
1383
1383
|
id: string;
|
|
@@ -1387,13 +1387,13 @@ 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;
|
|
1391
1390
|
unit_amount?: number | null | undefined;
|
|
1392
1391
|
invoice?: string | null | undefined;
|
|
1392
|
+
quantity?: number | undefined;
|
|
1393
1393
|
} | undefined;
|
|
1394
1394
|
}, {
|
|
1395
|
-
success: boolean;
|
|
1396
1395
|
error: string;
|
|
1396
|
+
success: boolean;
|
|
1397
1397
|
operation: "create_invoice_item";
|
|
1398
1398
|
invoice_item?: {
|
|
1399
1399
|
id: 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;
|
|
1407
1406
|
unit_amount?: number | null | undefined;
|
|
1408
1407
|
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
|
-
created?: number | undefined;
|
|
1431
1430
|
metadata?: Record<string, string> | undefined;
|
|
1431
|
+
created?: number | undefined;
|
|
1432
1432
|
due_date?: string | null | undefined;
|
|
1433
1433
|
hosted_invoice_url?: string | null | undefined;
|
|
1434
1434
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1438,16 +1438,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1438
1438
|
total: number;
|
|
1439
1439
|
currency: string;
|
|
1440
1440
|
customer: string | null;
|
|
1441
|
-
created?: number | undefined;
|
|
1442
1441
|
metadata?: Record<string, string> | undefined;
|
|
1442
|
+
created?: number | 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
|
-
success: boolean;
|
|
1450
1449
|
error: string;
|
|
1450
|
+
success: boolean;
|
|
1451
1451
|
operation: "send_invoice";
|
|
1452
1452
|
invoice?: {
|
|
1453
1453
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1455,15 +1455,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1455
1455
|
total: number;
|
|
1456
1456
|
currency: string;
|
|
1457
1457
|
customer: string | null;
|
|
1458
|
-
created?: number | undefined;
|
|
1459
1458
|
metadata?: Record<string, string> | undefined;
|
|
1459
|
+
created?: number | 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
|
-
success: boolean;
|
|
1466
1465
|
error: string;
|
|
1466
|
+
success: boolean;
|
|
1467
1467
|
operation: "send_invoice";
|
|
1468
1468
|
invoice?: {
|
|
1469
1469
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1471,8 +1471,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1471
1471
|
total: number;
|
|
1472
1472
|
currency: string;
|
|
1473
1473
|
customer: string | null;
|
|
1474
|
-
created?: number | undefined;
|
|
1475
1474
|
metadata?: Record<string, string> | undefined;
|
|
1475
|
+
created?: number | 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
|
-
|
|
1505
|
+
pending: {
|
|
1506
1506
|
currency: string;
|
|
1507
1507
|
amount: number;
|
|
1508
1508
|
}[];
|
|
1509
|
-
|
|
1509
|
+
available: {
|
|
1510
1510
|
currency: string;
|
|
1511
1511
|
amount: number;
|
|
1512
1512
|
}[];
|
|
1513
1513
|
}, {
|
|
1514
|
-
|
|
1514
|
+
pending: {
|
|
1515
1515
|
currency: string;
|
|
1516
1516
|
amount: number;
|
|
1517
1517
|
}[];
|
|
1518
|
-
|
|
1518
|
+
available: {
|
|
1519
1519
|
currency: string;
|
|
1520
1520
|
amount: number;
|
|
1521
1521
|
}[];
|
|
1522
1522
|
}>>;
|
|
1523
1523
|
error: z.ZodString;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
success: boolean;
|
|
1526
1525
|
error: string;
|
|
1526
|
+
success: boolean;
|
|
1527
1527
|
operation: "get_balance";
|
|
1528
1528
|
balance?: {
|
|
1529
|
-
|
|
1529
|
+
pending: {
|
|
1530
1530
|
currency: string;
|
|
1531
1531
|
amount: number;
|
|
1532
1532
|
}[];
|
|
1533
|
-
|
|
1533
|
+
available: {
|
|
1534
1534
|
currency: string;
|
|
1535
1535
|
amount: number;
|
|
1536
1536
|
}[];
|
|
1537
1537
|
} | undefined;
|
|
1538
1538
|
}, {
|
|
1539
|
-
success: boolean;
|
|
1540
1539
|
error: string;
|
|
1540
|
+
success: boolean;
|
|
1541
1541
|
operation: "get_balance";
|
|
1542
1542
|
balance?: {
|
|
1543
|
-
|
|
1543
|
+
pending: {
|
|
1544
1544
|
currency: string;
|
|
1545
1545
|
amount: number;
|
|
1546
1546
|
}[];
|
|
1547
|
-
|
|
1547
|
+
available: {
|
|
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: "
|
|
1564
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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: "
|
|
1572
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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
|
-
success: boolean;
|
|
1583
1582
|
error: string;
|
|
1583
|
+
success: boolean;
|
|
1584
1584
|
operation: "list_payment_intents";
|
|
1585
1585
|
payment_intents?: {
|
|
1586
|
-
status: "
|
|
1586
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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
|
-
success: boolean;
|
|
1596
1595
|
error: string;
|
|
1596
|
+
success: boolean;
|
|
1597
1597
|
operation: "list_payment_intents";
|
|
1598
1598
|
payment_intents?: {
|
|
1599
|
-
status: "
|
|
1599
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1620
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1629
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1641
1640
|
error: string;
|
|
1641
|
+
success: boolean;
|
|
1642
1642
|
operation: "list_subscriptions";
|
|
1643
1643
|
subscriptions?: {
|
|
1644
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1644
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1655
1654
|
error: string;
|
|
1655
|
+
success: boolean;
|
|
1656
1656
|
operation: "list_subscriptions";
|
|
1657
1657
|
subscriptions?: {
|
|
1658
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1658
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1680
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1689
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1701
1700
|
error: string;
|
|
1701
|
+
success: boolean;
|
|
1702
1702
|
operation: "cancel_subscription";
|
|
1703
1703
|
subscription?: {
|
|
1704
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1704
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1715
1714
|
error: string;
|
|
1715
|
+
success: boolean;
|
|
1716
1716
|
operation: "cancel_subscription";
|
|
1717
1717
|
subscription?: {
|
|
1718
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1718
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1719
1719
|
id: string;
|
|
1720
1720
|
created: number;
|
|
1721
1721
|
customer: string;
|
|
@@ -1737,37 +1737,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1737
1737
|
url: string;
|
|
1738
1738
|
id: string;
|
|
1739
1739
|
active: boolean;
|
|
1740
|
-
created?: number | undefined;
|
|
1741
1740
|
metadata?: Record<string, string> | undefined;
|
|
1741
|
+
created?: number | undefined;
|
|
1742
1742
|
}, {
|
|
1743
1743
|
url: string;
|
|
1744
1744
|
id: string;
|
|
1745
1745
|
active: boolean;
|
|
1746
|
-
created?: number | undefined;
|
|
1747
1746
|
metadata?: Record<string, string> | undefined;
|
|
1747
|
+
created?: number | undefined;
|
|
1748
1748
|
}>, "many">>;
|
|
1749
1749
|
error: z.ZodString;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
-
success: boolean;
|
|
1752
1751
|
error: string;
|
|
1752
|
+
success: boolean;
|
|
1753
1753
|
operation: "list_payment_links";
|
|
1754
1754
|
payment_links?: {
|
|
1755
1755
|
url: string;
|
|
1756
1756
|
id: string;
|
|
1757
1757
|
active: boolean;
|
|
1758
|
-
created?: number | undefined;
|
|
1759
1758
|
metadata?: Record<string, string> | undefined;
|
|
1759
|
+
created?: number | undefined;
|
|
1760
1760
|
}[] | undefined;
|
|
1761
1761
|
}, {
|
|
1762
|
-
success: boolean;
|
|
1763
1762
|
error: string;
|
|
1763
|
+
success: boolean;
|
|
1764
1764
|
operation: "list_payment_links";
|
|
1765
1765
|
payment_links?: {
|
|
1766
1766
|
url: string;
|
|
1767
1767
|
id: string;
|
|
1768
1768
|
active: boolean;
|
|
1769
|
-
created?: number | undefined;
|
|
1770
1769
|
metadata?: Record<string, string> | undefined;
|
|
1770
|
+
created?: number | 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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1785
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1794
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1806
1805
|
error: string;
|
|
1806
|
+
success: boolean;
|
|
1807
1807
|
operation: "create_subscription";
|
|
1808
1808
|
subscription?: {
|
|
1809
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1809
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "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
|
-
success: boolean;
|
|
1820
1819
|
error: string;
|
|
1820
|
+
success: boolean;
|
|
1821
1821
|
operation: "create_subscription";
|
|
1822
1822
|
subscription?: {
|
|
1823
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1823
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1824
1824
|
id: string;
|
|
1825
1825
|
created: number;
|
|
1826
1826
|
customer: string;
|