@bubblelab/bubble-core 0.1.202 → 0.1.203
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 +132 -132
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +22 -22
- package/dist/bubbles/service-bubble/ai-agent.js +3 -3
- package/dist/bubbles/service-bubble/ai-agent.js.map +1 -1
- package/dist/bubbles/service-bubble/airtable.d.ts +36 -36
- package/dist/bubbles/service-bubble/apify/actors/google-maps-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +22 -22
- 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 +14 -14
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +40 -40
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +32 -32
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +18 -18
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +10 -10
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +150 -150
- package/dist/bubbles/service-bubble/apify/apify.d.ts +4 -4
- package/dist/bubbles/service-bubble/apify/apify.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/apify/apify.js +10 -11
- package/dist/bubbles/service-bubble/apify/apify.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +54 -54
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.js +11 -12
- package/dist/bubbles/service-bubble/attio/attio.js.map +1 -1
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +48 -48
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.js +3 -8
- package/dist/bubbles/service-bubble/browserbase/browserbase.js.map +1 -1
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +37 -37
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +12 -12
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.js +4 -6
- package/dist/bubbles/service-bubble/confluence/confluence.js.map +1 -1
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +30 -30
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +102 -102
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +484 -484
- package/dist/bubbles/service-bubble/followupboss.d.ts +274 -274
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +277 -277
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
- package/dist/bubbles/service-bubble/github.d.ts +60 -60
- package/dist/bubbles/service-bubble/github.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/github.js +14 -17
- package/dist/bubbles/service-bubble/github.js.map +1 -1
- package/dist/bubbles/service-bubble/gmail.d.ts +84 -84
- package/dist/bubbles/service-bubble/gmail.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/gmail.js +10 -12
- package/dist/bubbles/service-bubble/gmail.js.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.d.ts +88 -88
- package/dist/bubbles/service-bubble/google-drive.d.ts +40 -40
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +11 -12
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js +6 -8
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/http.d.ts +10 -10
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +27 -27
- package/dist/bubbles/service-bubble/hubspot/hubspot.js +9 -10
- package/dist/bubbles/service-bubble/hubspot/hubspot.js.map +1 -1
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +4 -4
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.js +5 -7
- package/dist/bubbles/service-bubble/jira/jira.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +97 -97
- package/dist/bubbles/service-bubble/linear/linear.d.ts +5 -5
- package/dist/bubbles/service-bubble/linear/linear.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/linear/linear.js +5 -7
- package/dist/bubbles/service-bubble/linear/linear.js.map +1 -1
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/notion/notion.d.ts +36 -36
- package/dist/bubbles/service-bubble/notion/notion.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/notion/notion.js +5 -11
- package/dist/bubbles/service-bubble/notion/notion.js.map +1 -1
- package/dist/bubbles/service-bubble/postgresql.d.ts +4 -4
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +11 -11
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.js +17 -18
- package/dist/bubbles/service-bubble/posthog/posthog.js.map +1 -1
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +40 -40
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/s3/index.d.ts +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.js +1 -1
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.d.ts +27 -22
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.js +92 -43
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +15 -12
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/s3/s3.schema.js +3 -2
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js +4 -9
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.js.map +1 -1
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/slack/slack.d.ts +224 -224
- package/dist/bubbles/service-bubble/slack/slack.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/slack/slack.js +4 -3
- package/dist/bubbles/service-bubble/slack/slack.js.map +1 -1
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +102 -102
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +103 -103
- package/dist/bubbles/service-bubble/telegram.d.ts +298 -298
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +26 -26
- 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 +3 -3
- 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 +4 -4
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-received-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/browser-tools/linkedin-sent-invitations/schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +102 -102
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +631 -631
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +80 -80
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +26 -26
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +28 -28
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +30 -30
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +56 -56
- package/dist/bubbles.json +8 -4
- package/package.json +2 -2
|
@@ -51,7 +51,7 @@ 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;
|
|
@@ -60,7 +60,7 @@ export declare const StripePriceSchema: z.ZodObject<{
|
|
|
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;
|
|
@@ -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;
|
|
@@ -142,8 +142,8 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
|
|
|
142
142
|
date?: number | undefined;
|
|
143
143
|
metadata?: Record<string, string> | undefined;
|
|
144
144
|
unit_amount?: number | null | undefined;
|
|
145
|
-
quantity?: number | undefined;
|
|
146
145
|
invoice?: string | null | undefined;
|
|
146
|
+
quantity?: number | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
id: string;
|
|
149
149
|
currency: string;
|
|
@@ -153,8 +153,8 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
|
|
|
153
153
|
date?: number | undefined;
|
|
154
154
|
metadata?: Record<string, string> | undefined;
|
|
155
155
|
unit_amount?: number | null | undefined;
|
|
156
|
-
quantity?: number | 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<{
|
|
@@ -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" | "
|
|
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: "canceled" | "
|
|
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;
|
|
@@ -256,14 +256,14 @@ 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
|
-
operation: "create_customer";
|
|
260
259
|
name: string;
|
|
260
|
+
operation: "create_customer";
|
|
261
261
|
email?: string | undefined;
|
|
262
262
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
263
263
|
metadata?: Record<string, string> | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
operation: "create_customer";
|
|
266
265
|
name: string;
|
|
266
|
+
operation: "create_customer";
|
|
267
267
|
email?: string | undefined;
|
|
268
268
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
269
269
|
metadata?: Record<string, string> | undefined;
|
|
@@ -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
|
-
operation: "create_product";
|
|
308
307
|
name: string;
|
|
308
|
+
operation: "create_product";
|
|
309
309
|
description?: string | undefined;
|
|
310
310
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
311
311
|
metadata?: Record<string, string> | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
operation: "create_product";
|
|
314
313
|
name: string;
|
|
314
|
+
operation: "create_product";
|
|
315
315
|
description?: string | undefined;
|
|
316
316
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
317
317
|
metadata?: Record<string, string> | undefined;
|
|
@@ -517,8 +517,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
517
517
|
operation: "create_invoice_item";
|
|
518
518
|
currency: string;
|
|
519
519
|
unit_amount: number;
|
|
520
|
-
quantity: 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?: "canceled" | "
|
|
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?: "canceled" | "
|
|
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,9 +666,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
666
666
|
}>>;
|
|
667
667
|
error: z.ZodString;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
-
operation: "create_customer";
|
|
670
669
|
error: string;
|
|
671
670
|
success: boolean;
|
|
671
|
+
operation: "create_customer";
|
|
672
672
|
customer?: {
|
|
673
673
|
id: string;
|
|
674
674
|
created: number;
|
|
@@ -677,9 +677,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
677
677
|
metadata?: Record<string, string> | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
}, {
|
|
680
|
-
operation: "create_customer";
|
|
681
680
|
error: string;
|
|
682
681
|
success: boolean;
|
|
682
|
+
operation: "create_customer";
|
|
683
683
|
customer?: {
|
|
684
684
|
id: string;
|
|
685
685
|
created: number;
|
|
@@ -713,9 +713,9 @@ 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
|
-
operation: "list_customers";
|
|
717
716
|
error: string;
|
|
718
717
|
success: boolean;
|
|
718
|
+
operation: "list_customers";
|
|
719
719
|
next_cursor?: string | null | undefined;
|
|
720
720
|
has_more?: boolean | undefined;
|
|
721
721
|
customers?: {
|
|
@@ -726,9 +726,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
726
726
|
metadata?: Record<string, string> | undefined;
|
|
727
727
|
}[] | undefined;
|
|
728
728
|
}, {
|
|
729
|
-
operation: "list_customers";
|
|
730
729
|
error: string;
|
|
731
730
|
success: boolean;
|
|
731
|
+
operation: "list_customers";
|
|
732
732
|
next_cursor?: string | null | undefined;
|
|
733
733
|
has_more?: boolean | undefined;
|
|
734
734
|
customers?: {
|
|
@@ -763,9 +763,9 @@ 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
|
-
operation: "retrieve_customer";
|
|
767
766
|
error: string;
|
|
768
767
|
success: boolean;
|
|
768
|
+
operation: "retrieve_customer";
|
|
769
769
|
deleted?: boolean | undefined;
|
|
770
770
|
customer?: {
|
|
771
771
|
id: string;
|
|
@@ -775,9 +775,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
775
775
|
metadata?: Record<string, string> | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
}, {
|
|
778
|
-
operation: "retrieve_customer";
|
|
779
778
|
error: string;
|
|
780
779
|
success: boolean;
|
|
780
|
+
operation: "retrieve_customer";
|
|
781
781
|
deleted?: boolean | undefined;
|
|
782
782
|
customer?: {
|
|
783
783
|
id: string;
|
|
@@ -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";
|
|
817
816
|
error: string;
|
|
818
817
|
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";
|
|
829
828
|
error: string;
|
|
830
829
|
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";
|
|
867
866
|
error: string;
|
|
868
867
|
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";
|
|
879
878
|
error: string;
|
|
880
879
|
success: boolean;
|
|
880
|
+
operation: "list_products";
|
|
881
881
|
products?: {
|
|
882
882
|
name: string;
|
|
883
883
|
id: string;
|
|
@@ -899,7 +899,7 @@ 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;
|
|
@@ -908,7 +908,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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;
|
|
@@ -919,11 +919,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
919
919
|
}>>;
|
|
920
920
|
error: z.ZodString;
|
|
921
921
|
}, "strip", z.ZodTypeAny, {
|
|
922
|
-
operation: "create_price";
|
|
923
922
|
error: string;
|
|
924
923
|
success: boolean;
|
|
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;
|
|
@@ -933,11 +933,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
933
933
|
metadata?: Record<string, string> | undefined;
|
|
934
934
|
} | undefined;
|
|
935
935
|
}, {
|
|
936
|
-
operation: "create_price";
|
|
937
936
|
error: string;
|
|
938
937
|
success: boolean;
|
|
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;
|
|
@@ -959,7 +959,7 @@ 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;
|
|
@@ -968,7 +968,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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;
|
|
@@ -979,11 +979,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
979
979
|
}>, "many">>;
|
|
980
980
|
error: z.ZodString;
|
|
981
981
|
}, "strip", z.ZodTypeAny, {
|
|
982
|
-
operation: "list_prices";
|
|
983
982
|
error: string;
|
|
984
983
|
success: boolean;
|
|
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;
|
|
@@ -993,11 +993,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
993
993
|
metadata?: Record<string, string> | undefined;
|
|
994
994
|
}[] | undefined;
|
|
995
995
|
}, {
|
|
996
|
-
operation: "list_prices";
|
|
997
996
|
error: string;
|
|
998
997
|
success: boolean;
|
|
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;
|
|
@@ -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
|
-
operation: "create_payment_link";
|
|
1034
1033
|
error: string;
|
|
1035
1034
|
success: boolean;
|
|
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
|
-
operation: "create_payment_link";
|
|
1045
1044
|
error: string;
|
|
1046
1045
|
success: boolean;
|
|
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,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
|
-
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
|
-
operation: "create_invoice";
|
|
1094
1093
|
error: string;
|
|
1095
1094
|
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
|
-
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
|
-
operation: "create_invoice";
|
|
1110
1109
|
error: string;
|
|
1111
1110
|
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
|
-
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,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";
|
|
1166
1165
|
error: string;
|
|
1167
1166
|
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
|
-
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
|
-
operation: "list_invoices";
|
|
1184
1183
|
error: string;
|
|
1185
1184
|
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
|
-
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,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
|
-
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
|
-
operation: "retrieve_invoice";
|
|
1240
1239
|
error: string;
|
|
1241
1240
|
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
|
-
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
|
-
operation: "retrieve_invoice";
|
|
1256
1255
|
error: string;
|
|
1257
1256
|
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
|
-
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,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
|
-
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
|
-
operation: "finalize_invoice";
|
|
1310
1309
|
error: string;
|
|
1311
1310
|
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
|
-
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
|
-
operation: "finalize_invoice";
|
|
1326
1325
|
error: string;
|
|
1327
1326
|
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
|
-
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;
|
|
@@ -1360,8 +1360,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1360
1360
|
date?: number | undefined;
|
|
1361
1361
|
metadata?: Record<string, string> | undefined;
|
|
1362
1362
|
unit_amount?: number | null | undefined;
|
|
1363
|
-
quantity?: number | undefined;
|
|
1364
1363
|
invoice?: string | null | undefined;
|
|
1364
|
+
quantity?: number | undefined;
|
|
1365
1365
|
}, {
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
currency: string;
|
|
@@ -1371,14 +1371,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1371
1371
|
date?: number | undefined;
|
|
1372
1372
|
metadata?: Record<string, string> | undefined;
|
|
1373
1373
|
unit_amount?: number | null | undefined;
|
|
1374
|
-
quantity?: number | undefined;
|
|
1375
1374
|
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";
|
|
1380
1379
|
error: string;
|
|
1381
1380
|
success: boolean;
|
|
1381
|
+
operation: "create_invoice_item";
|
|
1382
1382
|
invoice_item?: {
|
|
1383
1383
|
id: string;
|
|
1384
1384
|
currency: string;
|
|
@@ -1388,13 +1388,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1388
1388
|
date?: number | undefined;
|
|
1389
1389
|
metadata?: Record<string, string> | undefined;
|
|
1390
1390
|
unit_amount?: number | null | undefined;
|
|
1391
|
-
quantity?: number | undefined;
|
|
1392
1391
|
invoice?: string | null | undefined;
|
|
1392
|
+
quantity?: number | undefined;
|
|
1393
1393
|
} | undefined;
|
|
1394
1394
|
}, {
|
|
1395
|
-
operation: "create_invoice_item";
|
|
1396
1395
|
error: string;
|
|
1397
1396
|
success: boolean;
|
|
1397
|
+
operation: "create_invoice_item";
|
|
1398
1398
|
invoice_item?: {
|
|
1399
1399
|
id: string;
|
|
1400
1400
|
currency: string;
|
|
@@ -1404,8 +1404,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1404
1404
|
date?: number | undefined;
|
|
1405
1405
|
metadata?: Record<string, string> | undefined;
|
|
1406
1406
|
unit_amount?: number | null | undefined;
|
|
1407
|
-
quantity?: number | 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,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
|
-
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
|
-
operation: "send_invoice";
|
|
1450
1449
|
error: string;
|
|
1451
1450
|
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
|
-
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
|
-
operation: "send_invoice";
|
|
1466
1465
|
error: string;
|
|
1467
1466
|
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
|
-
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;
|
|
@@ -1522,9 +1522,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1522
1522
|
}>>;
|
|
1523
1523
|
error: z.ZodString;
|
|
1524
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1525
|
-
operation: "get_balance";
|
|
1526
1525
|
error: string;
|
|
1527
1526
|
success: boolean;
|
|
1527
|
+
operation: "get_balance";
|
|
1528
1528
|
balance?: {
|
|
1529
1529
|
pending: {
|
|
1530
1530
|
currency: string;
|
|
@@ -1536,9 +1536,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1536
1536
|
}[];
|
|
1537
1537
|
} | undefined;
|
|
1538
1538
|
}, {
|
|
1539
|
-
operation: "get_balance";
|
|
1540
1539
|
error: string;
|
|
1541
1540
|
success: boolean;
|
|
1541
|
+
operation: "get_balance";
|
|
1542
1542
|
balance?: {
|
|
1543
1543
|
pending: {
|
|
1544
1544
|
currency: string;
|
|
@@ -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" | "
|
|
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: "canceled" | "
|
|
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
|
-
operation: "list_payment_intents";
|
|
1583
1582
|
error: string;
|
|
1584
1583
|
success: boolean;
|
|
1584
|
+
operation: "list_payment_intents";
|
|
1585
1585
|
payment_intents?: {
|
|
1586
|
-
status: "canceled" | "
|
|
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
|
-
operation: "list_payment_intents";
|
|
1596
1595
|
error: string;
|
|
1597
1596
|
success: boolean;
|
|
1597
|
+
operation: "list_payment_intents";
|
|
1598
1598
|
payment_intents?: {
|
|
1599
|
-
status: "canceled" | "
|
|
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;
|
|
@@ -1637,9 +1637,9 @@ 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";
|
|
1641
1640
|
error: string;
|
|
1642
1641
|
success: boolean;
|
|
1642
|
+
operation: "list_subscriptions";
|
|
1643
1643
|
subscriptions?: {
|
|
1644
1644
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1645
1645
|
id: string;
|
|
@@ -1651,9 +1651,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1651
1651
|
current_period_end?: number | undefined;
|
|
1652
1652
|
}[] | undefined;
|
|
1653
1653
|
}, {
|
|
1654
|
-
operation: "list_subscriptions";
|
|
1655
1654
|
error: string;
|
|
1656
1655
|
success: boolean;
|
|
1656
|
+
operation: "list_subscriptions";
|
|
1657
1657
|
subscriptions?: {
|
|
1658
1658
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1659
1659
|
id: string;
|
|
@@ -1697,9 +1697,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1697
1697
|
}>>;
|
|
1698
1698
|
error: z.ZodString;
|
|
1699
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1700
|
-
operation: "cancel_subscription";
|
|
1701
1700
|
error: string;
|
|
1702
1701
|
success: boolean;
|
|
1702
|
+
operation: "cancel_subscription";
|
|
1703
1703
|
subscription?: {
|
|
1704
1704
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1705
1705
|
id: string;
|
|
@@ -1711,9 +1711,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1711
1711
|
current_period_end?: number | undefined;
|
|
1712
1712
|
} | undefined;
|
|
1713
1713
|
}, {
|
|
1714
|
-
operation: "cancel_subscription";
|
|
1715
1714
|
error: string;
|
|
1716
1715
|
success: boolean;
|
|
1716
|
+
operation: "cancel_subscription";
|
|
1717
1717
|
subscription?: {
|
|
1718
1718
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1719
1719
|
id: 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
|
-
operation: "list_payment_links";
|
|
1752
1751
|
error: string;
|
|
1753
1752
|
success: boolean;
|
|
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
|
-
operation: "list_payment_links";
|
|
1763
1762
|
error: string;
|
|
1764
1763
|
success: boolean;
|
|
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">;
|
|
@@ -1802,9 +1802,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1802
1802
|
}>>;
|
|
1803
1803
|
error: z.ZodString;
|
|
1804
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1805
|
-
operation: "create_subscription";
|
|
1806
1805
|
error: string;
|
|
1807
1806
|
success: boolean;
|
|
1807
|
+
operation: "create_subscription";
|
|
1808
1808
|
subscription?: {
|
|
1809
1809
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1810
1810
|
id: string;
|
|
@@ -1816,9 +1816,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1816
1816
|
current_period_end?: number | undefined;
|
|
1817
1817
|
} | undefined;
|
|
1818
1818
|
}, {
|
|
1819
|
-
operation: "create_subscription";
|
|
1820
1819
|
error: string;
|
|
1821
1820
|
success: boolean;
|
|
1821
|
+
operation: "create_subscription";
|
|
1822
1822
|
subscription?: {
|
|
1823
1823
|
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1824
1824
|
id: string;
|