@bubblelab/bubble-core 0.1.201 → 0.1.202
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bubble-bundle.d.ts +203 -182
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +4 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +134 -134
- package/dist/bubbles/service-bubble/agi-inc.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.js +4 -6
- package/dist/bubbles/service-bubble/agi-inc.js.map +1 -1
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +154 -154
- package/dist/bubbles/service-bubble/airtable.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/airtable.js +8 -13
- package/dist/bubbles/service-bubble/airtable.js.map +1 -1
- 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 +24 -24
- package/dist/bubbles/service-bubble/apify/actors/linkedin-posts-search.d.ts +26 -26
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +56 -56
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +76 -76
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +20 -20
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +26 -26
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +8 -8
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +208 -208
- package/dist/bubbles/service-bubble/apify/apify.d.ts +34 -34
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +120 -120
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.js +8 -10
- package/dist/bubbles/service-bubble/ashby/ashby.js.map +1 -1
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +86 -86
- package/dist/bubbles/service-bubble/attio/attio.d.ts +76 -76
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +54 -54
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +64 -64
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +38 -38
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +54 -54
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +26 -26
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +118 -118
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/crustdata/crustdata.js +16 -17
- 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 +56 -56
- package/dist/bubbles/service-bubble/eleven-labs.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/eleven-labs.js +12 -14
- package/dist/bubbles/service-bubble/eleven-labs.js.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.d.ts +468 -468
- package/dist/bubbles/service-bubble/firecrawl.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/firecrawl.js +3 -12
- package/dist/bubbles/service-bubble/firecrawl.js.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.d.ts +534 -534
- package/dist/bubbles/service-bubble/followupboss.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/followupboss.js +12 -13
- package/dist/bubbles/service-bubble/followupboss.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +295 -295
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js +11 -12
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.js.map +1 -1
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +160 -160
- package/dist/bubbles/service-bubble/github.d.ts +144 -144
- package/dist/bubbles/service-bubble/gmail.d.ts +248 -248
- package/dist/bubbles/service-bubble/google-calendar.d.ts +64 -64
- package/dist/bubbles/service-bubble/google-calendar.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-calendar.js +10 -11
- package/dist/bubbles/service-bubble/google-calendar.js.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.d.ts +154 -148
- package/dist/bubbles/service-bubble/google-drive.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/google-drive.js +8 -1
- package/dist/bubbles/service-bubble/google-drive.js.map +1 -1
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +14 -14
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +47 -47
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +12 -12
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/insforge-db.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/insforge-db.js +24 -26
- package/dist/bubbles/service-bubble/insforge-db.js.map +1 -1
- package/dist/bubbles/service-bubble/jira/jira.d.ts +91 -91
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +69 -69
- package/dist/bubbles/service-bubble/linear/linear.d.ts +49 -49
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +33 -33
- package/dist/bubbles/service-bubble/notion/notion.d.ts +444 -444
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +43 -43
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +51 -51
- package/dist/bubbles/service-bubble/resend.d.ts +20 -20
- package/dist/bubbles/service-bubble/resend.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/resend.js +8 -13
- package/dist/bubbles/service-bubble/resend.js.map +1 -1
- package/dist/bubbles/service-bubble/s3/index.d.ts +4 -0
- package/dist/bubbles/service-bubble/s3/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/index.js +4 -0
- package/dist/bubbles/service-bubble/s3/index.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts +301 -0
- package/dist/bubbles/service-bubble/s3/s3.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.js +320 -0
- package/dist/bubbles/service-bubble/s3/s3.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts +262 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js +212 -0
- package/dist/bubbles/service-bubble/s3/s3.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts +17 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js +46 -0
- package/dist/bubbles/service-bubble/s3/s3.utils.js.map +1 -0
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +22 -22
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/slack/slack.d.ts +554 -554
- package/dist/bubbles/service-bubble/storage.d.ts +60 -60
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +224 -224
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +5 -7
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +131 -131
- package/dist/bubbles/service-bubble/telegram.d.ts +414 -414
- package/dist/bubbles/service-bubble/telegram.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/telegram.js +3 -3
- package/dist/bubbles/service-bubble/telegram.js.map +1 -1
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +40 -40
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +34 -34
- 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-accept-invitations/tool.d.ts +4 -4
- 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 +8 -8
- 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 +4 -4
- 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 +4 -4
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +104 -104
- 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 +20 -20
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +16 -16
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +919 -919
- 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 +12 -12
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +84 -84
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +30 -30
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +76 -76
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +170 -170
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +42 -42
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +66 -66
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +76 -76
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +489 -3
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -10,14 +10,14 @@ export declare const StripeCustomerSchema: z.ZodObject<{
|
|
|
10
10
|
id: string;
|
|
11
11
|
created: number;
|
|
12
12
|
name?: string | null | undefined;
|
|
13
|
-
metadata?: Record<string, string> | undefined;
|
|
14
13
|
email?: string | null | undefined;
|
|
14
|
+
metadata?: Record<string, string> | undefined;
|
|
15
15
|
}, {
|
|
16
16
|
id: string;
|
|
17
17
|
created: number;
|
|
18
18
|
name?: string | null | undefined;
|
|
19
|
-
metadata?: Record<string, string> | undefined;
|
|
20
19
|
email?: string | null | undefined;
|
|
20
|
+
metadata?: Record<string, string> | undefined;
|
|
21
21
|
}>;
|
|
22
22
|
export declare const StripeProductSchema: z.ZodObject<{
|
|
23
23
|
id: z.ZodString;
|
|
@@ -51,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: "recurring" | "one_time";
|
|
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: "recurring" | "one_time";
|
|
64
64
|
id: string;
|
|
65
65
|
created: number;
|
|
66
66
|
currency: string;
|
|
@@ -76,17 +76,17 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
|
|
|
76
76
|
created: z.ZodOptional<z.ZodNumber>;
|
|
77
77
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
78
78
|
}, "strip", z.ZodTypeAny, {
|
|
79
|
-
id: string;
|
|
80
79
|
url: string;
|
|
80
|
+
id: string;
|
|
81
81
|
active: boolean;
|
|
82
|
-
metadata?: Record<string, string> | undefined;
|
|
83
82
|
created?: number | undefined;
|
|
83
|
+
metadata?: Record<string, string> | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
id: string;
|
|
86
85
|
url: string;
|
|
86
|
+
id: string;
|
|
87
87
|
active: boolean;
|
|
88
|
-
metadata?: Record<string, string> | undefined;
|
|
89
88
|
created?: number | undefined;
|
|
89
|
+
metadata?: Record<string, string> | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
@@ -105,8 +105,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
105
105
|
total: number;
|
|
106
106
|
currency: string;
|
|
107
107
|
customer: string | null;
|
|
108
|
-
metadata?: Record<string, string> | undefined;
|
|
109
108
|
created?: number | undefined;
|
|
109
|
+
metadata?: Record<string, string> | undefined;
|
|
110
110
|
due_date?: string | null | undefined;
|
|
111
111
|
hosted_invoice_url?: string | null | undefined;
|
|
112
112
|
invoice_pdf?: string | null | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
116
116
|
total: number;
|
|
117
117
|
currency: string;
|
|
118
118
|
customer: string | null;
|
|
119
|
-
metadata?: Record<string, string> | undefined;
|
|
120
119
|
created?: number | undefined;
|
|
120
|
+
metadata?: Record<string, string> | undefined;
|
|
121
121
|
due_date?: string | null | undefined;
|
|
122
122
|
hosted_invoice_url?: string | null | undefined;
|
|
123
123
|
invoice_pdf?: string | null | undefined;
|
|
@@ -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
|
-
invoice?: string | null | undefined;
|
|
146
145
|
quantity?: number | undefined;
|
|
146
|
+
invoice?: string | null | 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
|
-
invoice?: string | null | undefined;
|
|
157
156
|
quantity?: number | undefined;
|
|
157
|
+
invoice?: string | null | 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" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
209
209
|
id: string;
|
|
210
210
|
created: number;
|
|
211
211
|
currency: string;
|
|
@@ -213,7 +213,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
213
213
|
metadata?: Record<string, string> | undefined;
|
|
214
214
|
customer?: string | null | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
status: "canceled" | "
|
|
216
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
217
217
|
id: string;
|
|
218
218
|
created: number;
|
|
219
219
|
currency: string;
|
|
@@ -256,17 +256,17 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
256
256
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
257
257
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
|
-
name: string;
|
|
260
259
|
operation: "create_customer";
|
|
260
|
+
name: string;
|
|
261
|
+
email?: string | undefined;
|
|
261
262
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
263
|
metadata?: Record<string, string> | undefined;
|
|
263
|
-
email?: string | undefined;
|
|
264
264
|
}, {
|
|
265
|
-
name: string;
|
|
266
265
|
operation: "create_customer";
|
|
266
|
+
name: string;
|
|
267
|
+
email?: string | undefined;
|
|
267
268
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
268
269
|
metadata?: Record<string, string> | undefined;
|
|
269
|
-
email?: string | undefined;
|
|
270
270
|
}>, z.ZodObject<{
|
|
271
271
|
operation: z.ZodLiteral<"list_customers">;
|
|
272
272
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
@@ -276,13 +276,13 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
276
276
|
}, "strip", z.ZodTypeAny, {
|
|
277
277
|
operation: "list_customers";
|
|
278
278
|
limit: number;
|
|
279
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
280
279
|
email?: string | undefined;
|
|
280
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
281
281
|
cursor?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
operation: "list_customers";
|
|
284
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
285
284
|
email?: string | undefined;
|
|
285
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
286
286
|
limit?: number | undefined;
|
|
287
287
|
cursor?: string | undefined;
|
|
288
288
|
}>, z.ZodObject<{
|
|
@@ -304,14 +304,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
304
304
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
305
305
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
306
306
|
}, "strip", z.ZodTypeAny, {
|
|
307
|
-
name: string;
|
|
308
307
|
operation: "create_product";
|
|
308
|
+
name: string;
|
|
309
309
|
description?: string | undefined;
|
|
310
310
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
311
311
|
metadata?: Record<string, string> | undefined;
|
|
312
312
|
}, {
|
|
313
|
-
name: string;
|
|
314
313
|
operation: "create_product";
|
|
314
|
+
name: string;
|
|
315
315
|
description?: string | undefined;
|
|
316
316
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
317
317
|
metadata?: Record<string, string> | undefined;
|
|
@@ -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
|
-
customer: string;
|
|
521
520
|
quantity: number;
|
|
521
|
+
customer: string;
|
|
522
522
|
description?: string | undefined;
|
|
523
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
524
524
|
metadata?: Record<string, string> | undefined;
|
|
@@ -531,8 +531,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
531
531
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
532
532
|
metadata?: Record<string, string> | undefined;
|
|
533
533
|
currency?: string | undefined;
|
|
534
|
-
invoice?: string | undefined;
|
|
535
534
|
quantity?: number | undefined;
|
|
535
|
+
invoice?: string | undefined;
|
|
536
536
|
}>, z.ZodObject<{
|
|
537
537
|
operation: z.ZodLiteral<"send_invoice">;
|
|
538
538
|
invoice_id: z.ZodString;
|
|
@@ -578,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
579
|
operation: "list_subscriptions";
|
|
580
580
|
limit: number;
|
|
581
|
-
status?: "canceled" | "
|
|
581
|
+
status?: "canceled" | "paused" | "all" | "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" | "paused" | "all" | "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
|
-
cancel_at_period_end: boolean;
|
|
598
597
|
subscription_id: string;
|
|
598
|
+
cancel_at_period_end: boolean;
|
|
599
599
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
operation: "cancel_subscription";
|
|
@@ -655,37 +655,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
655
655
|
id: string;
|
|
656
656
|
created: number;
|
|
657
657
|
name?: string | null | undefined;
|
|
658
|
-
metadata?: Record<string, string> | undefined;
|
|
659
658
|
email?: string | null | undefined;
|
|
659
|
+
metadata?: Record<string, string> | undefined;
|
|
660
660
|
}, {
|
|
661
661
|
id: string;
|
|
662
662
|
created: number;
|
|
663
663
|
name?: string | null | undefined;
|
|
664
|
-
metadata?: Record<string, string> | undefined;
|
|
665
664
|
email?: string | null | undefined;
|
|
665
|
+
metadata?: Record<string, string> | undefined;
|
|
666
666
|
}>>;
|
|
667
667
|
error: z.ZodString;
|
|
668
668
|
}, "strip", z.ZodTypeAny, {
|
|
669
|
+
operation: "create_customer";
|
|
669
670
|
error: string;
|
|
670
671
|
success: boolean;
|
|
671
|
-
operation: "create_customer";
|
|
672
672
|
customer?: {
|
|
673
673
|
id: string;
|
|
674
674
|
created: number;
|
|
675
675
|
name?: string | null | undefined;
|
|
676
|
-
metadata?: Record<string, string> | undefined;
|
|
677
676
|
email?: string | null | undefined;
|
|
677
|
+
metadata?: Record<string, string> | undefined;
|
|
678
678
|
} | undefined;
|
|
679
679
|
}, {
|
|
680
|
+
operation: "create_customer";
|
|
680
681
|
error: string;
|
|
681
682
|
success: boolean;
|
|
682
|
-
operation: "create_customer";
|
|
683
683
|
customer?: {
|
|
684
684
|
id: string;
|
|
685
685
|
created: number;
|
|
686
686
|
name?: string | null | undefined;
|
|
687
|
-
metadata?: Record<string, string> | undefined;
|
|
688
687
|
email?: string | null | undefined;
|
|
688
|
+
metadata?: Record<string, string> | undefined;
|
|
689
689
|
} | undefined;
|
|
690
690
|
}>, z.ZodObject<{
|
|
691
691
|
operation: z.ZodLiteral<"list_customers">;
|
|
@@ -700,43 +700,43 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
700
700
|
id: string;
|
|
701
701
|
created: number;
|
|
702
702
|
name?: string | null | undefined;
|
|
703
|
-
metadata?: Record<string, string> | undefined;
|
|
704
703
|
email?: string | null | undefined;
|
|
704
|
+
metadata?: Record<string, string> | undefined;
|
|
705
705
|
}, {
|
|
706
706
|
id: string;
|
|
707
707
|
created: number;
|
|
708
708
|
name?: string | null | undefined;
|
|
709
|
-
metadata?: Record<string, string> | undefined;
|
|
710
709
|
email?: string | null | undefined;
|
|
710
|
+
metadata?: Record<string, string> | undefined;
|
|
711
711
|
}>, "many">>;
|
|
712
712
|
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
713
713
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
714
714
|
error: z.ZodString;
|
|
715
715
|
}, "strip", z.ZodTypeAny, {
|
|
716
|
+
operation: "list_customers";
|
|
716
717
|
error: string;
|
|
717
718
|
success: boolean;
|
|
718
|
-
operation: "list_customers";
|
|
719
719
|
next_cursor?: string | null | undefined;
|
|
720
720
|
has_more?: boolean | undefined;
|
|
721
721
|
customers?: {
|
|
722
722
|
id: string;
|
|
723
723
|
created: number;
|
|
724
724
|
name?: string | null | undefined;
|
|
725
|
-
metadata?: Record<string, string> | undefined;
|
|
726
725
|
email?: string | null | undefined;
|
|
726
|
+
metadata?: Record<string, string> | undefined;
|
|
727
727
|
}[] | undefined;
|
|
728
728
|
}, {
|
|
729
|
+
operation: "list_customers";
|
|
729
730
|
error: string;
|
|
730
731
|
success: boolean;
|
|
731
|
-
operation: "list_customers";
|
|
732
732
|
next_cursor?: string | null | undefined;
|
|
733
733
|
has_more?: boolean | undefined;
|
|
734
734
|
customers?: {
|
|
735
735
|
id: string;
|
|
736
736
|
created: number;
|
|
737
737
|
name?: string | null | undefined;
|
|
738
|
-
metadata?: Record<string, string> | undefined;
|
|
739
738
|
email?: string | null | undefined;
|
|
739
|
+
metadata?: Record<string, string> | undefined;
|
|
740
740
|
}[] | undefined;
|
|
741
741
|
}>, z.ZodObject<{
|
|
742
742
|
operation: z.ZodLiteral<"retrieve_customer">;
|
|
@@ -751,40 +751,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
751
751
|
id: string;
|
|
752
752
|
created: number;
|
|
753
753
|
name?: string | null | undefined;
|
|
754
|
-
metadata?: Record<string, string> | undefined;
|
|
755
754
|
email?: string | null | undefined;
|
|
755
|
+
metadata?: Record<string, string> | undefined;
|
|
756
756
|
}, {
|
|
757
757
|
id: string;
|
|
758
758
|
created: number;
|
|
759
759
|
name?: string | null | undefined;
|
|
760
|
-
metadata?: Record<string, string> | undefined;
|
|
761
760
|
email?: string | null | undefined;
|
|
761
|
+
metadata?: Record<string, string> | undefined;
|
|
762
762
|
}>>;
|
|
763
763
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
764
764
|
error: z.ZodString;
|
|
765
765
|
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
operation: "retrieve_customer";
|
|
766
767
|
error: string;
|
|
767
768
|
success: boolean;
|
|
768
|
-
operation: "retrieve_customer";
|
|
769
769
|
deleted?: boolean | undefined;
|
|
770
770
|
customer?: {
|
|
771
771
|
id: string;
|
|
772
772
|
created: number;
|
|
773
773
|
name?: string | null | undefined;
|
|
774
|
-
metadata?: Record<string, string> | undefined;
|
|
775
774
|
email?: string | null | undefined;
|
|
775
|
+
metadata?: Record<string, string> | undefined;
|
|
776
776
|
} | undefined;
|
|
777
777
|
}, {
|
|
778
|
+
operation: "retrieve_customer";
|
|
778
779
|
error: string;
|
|
779
780
|
success: boolean;
|
|
780
|
-
operation: "retrieve_customer";
|
|
781
781
|
deleted?: boolean | undefined;
|
|
782
782
|
customer?: {
|
|
783
783
|
id: string;
|
|
784
784
|
created: number;
|
|
785
785
|
name?: string | null | undefined;
|
|
786
|
-
metadata?: Record<string, string> | undefined;
|
|
787
786
|
email?: string | null | undefined;
|
|
787
|
+
metadata?: Record<string, string> | undefined;
|
|
788
788
|
} | undefined;
|
|
789
789
|
}>, z.ZodObject<{
|
|
790
790
|
operation: z.ZodLiteral<"create_product">;
|
|
@@ -813,9 +813,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
813
813
|
}>>;
|
|
814
814
|
error: z.ZodString;
|
|
815
815
|
}, "strip", z.ZodTypeAny, {
|
|
816
|
+
operation: "create_product";
|
|
816
817
|
error: string;
|
|
817
818
|
success: boolean;
|
|
818
|
-
operation: "create_product";
|
|
819
819
|
product?: {
|
|
820
820
|
name: string;
|
|
821
821
|
id: string;
|
|
@@ -825,9 +825,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
825
825
|
metadata?: Record<string, string> | undefined;
|
|
826
826
|
} | undefined;
|
|
827
827
|
}, {
|
|
828
|
+
operation: "create_product";
|
|
828
829
|
error: string;
|
|
829
830
|
success: boolean;
|
|
830
|
-
operation: "create_product";
|
|
831
831
|
product?: {
|
|
832
832
|
name: string;
|
|
833
833
|
id: string;
|
|
@@ -863,9 +863,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
863
863
|
}>, "many">>;
|
|
864
864
|
error: z.ZodString;
|
|
865
865
|
}, "strip", z.ZodTypeAny, {
|
|
866
|
+
operation: "list_products";
|
|
866
867
|
error: string;
|
|
867
868
|
success: boolean;
|
|
868
|
-
operation: "list_products";
|
|
869
869
|
products?: {
|
|
870
870
|
name: string;
|
|
871
871
|
id: string;
|
|
@@ -875,9 +875,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
875
875
|
metadata?: Record<string, string> | undefined;
|
|
876
876
|
}[] | undefined;
|
|
877
877
|
}, {
|
|
878
|
+
operation: "list_products";
|
|
878
879
|
error: string;
|
|
879
880
|
success: boolean;
|
|
880
|
-
operation: "list_products";
|
|
881
881
|
products?: {
|
|
882
882
|
name: string;
|
|
883
883
|
id: string;
|
|
@@ -899,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: "recurring" | "one_time";
|
|
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: "recurring" | "one_time";
|
|
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";
|
|
922
923
|
error: string;
|
|
923
924
|
success: boolean;
|
|
924
|
-
operation: "create_price";
|
|
925
925
|
price?: {
|
|
926
|
-
type: "
|
|
926
|
+
type: "recurring" | "one_time";
|
|
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";
|
|
936
937
|
error: string;
|
|
937
938
|
success: boolean;
|
|
938
|
-
operation: "create_price";
|
|
939
939
|
price?: {
|
|
940
|
-
type: "
|
|
940
|
+
type: "recurring" | "one_time";
|
|
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: "recurring" | "one_time";
|
|
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: "recurring" | "one_time";
|
|
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";
|
|
982
983
|
error: string;
|
|
983
984
|
success: boolean;
|
|
984
|
-
operation: "list_prices";
|
|
985
985
|
prices?: {
|
|
986
|
-
type: "
|
|
986
|
+
type: "recurring" | "one_time";
|
|
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";
|
|
996
997
|
error: string;
|
|
997
998
|
success: boolean;
|
|
998
|
-
operation: "list_prices";
|
|
999
999
|
prices?: {
|
|
1000
|
-
type: "
|
|
1000
|
+
type: "recurring" | "one_time";
|
|
1001
1001
|
id: string;
|
|
1002
1002
|
created: number;
|
|
1003
1003
|
currency: string;
|
|
@@ -1016,40 +1016,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1016
1016
|
created: z.ZodOptional<z.ZodNumber>;
|
|
1017
1017
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1018
1018
|
}, "strip", z.ZodTypeAny, {
|
|
1019
|
-
id: string;
|
|
1020
1019
|
url: string;
|
|
1020
|
+
id: string;
|
|
1021
1021
|
active: boolean;
|
|
1022
|
-
metadata?: Record<string, string> | undefined;
|
|
1023
1022
|
created?: number | undefined;
|
|
1023
|
+
metadata?: Record<string, string> | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
id: string;
|
|
1026
1025
|
url: string;
|
|
1026
|
+
id: string;
|
|
1027
1027
|
active: boolean;
|
|
1028
|
-
metadata?: Record<string, string> | undefined;
|
|
1029
1028
|
created?: number | undefined;
|
|
1029
|
+
metadata?: Record<string, string> | undefined;
|
|
1030
1030
|
}>>;
|
|
1031
1031
|
error: z.ZodString;
|
|
1032
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1033
|
+
operation: "create_payment_link";
|
|
1033
1034
|
error: string;
|
|
1034
1035
|
success: boolean;
|
|
1035
|
-
operation: "create_payment_link";
|
|
1036
1036
|
payment_link?: {
|
|
1037
|
-
id: string;
|
|
1038
1037
|
url: string;
|
|
1038
|
+
id: string;
|
|
1039
1039
|
active: boolean;
|
|
1040
|
-
metadata?: Record<string, string> | undefined;
|
|
1041
1040
|
created?: number | undefined;
|
|
1041
|
+
metadata?: Record<string, string> | undefined;
|
|
1042
1042
|
} | undefined;
|
|
1043
1043
|
}, {
|
|
1044
|
+
operation: "create_payment_link";
|
|
1044
1045
|
error: string;
|
|
1045
1046
|
success: boolean;
|
|
1046
|
-
operation: "create_payment_link";
|
|
1047
1047
|
payment_link?: {
|
|
1048
|
-
id: string;
|
|
1049
1048
|
url: string;
|
|
1049
|
+
id: string;
|
|
1050
1050
|
active: boolean;
|
|
1051
|
-
metadata?: Record<string, string> | undefined;
|
|
1052
1051
|
created?: number | undefined;
|
|
1052
|
+
metadata?: Record<string, string> | undefined;
|
|
1053
1053
|
} | undefined;
|
|
1054
1054
|
}>, z.ZodObject<{
|
|
1055
1055
|
operation: z.ZodLiteral<"create_invoice">;
|
|
@@ -1071,8 +1071,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1071
1071
|
total: number;
|
|
1072
1072
|
currency: string;
|
|
1073
1073
|
customer: string | null;
|
|
1074
|
-
metadata?: Record<string, string> | undefined;
|
|
1075
1074
|
created?: number | undefined;
|
|
1075
|
+
metadata?: Record<string, string> | undefined;
|
|
1076
1076
|
due_date?: string | null | undefined;
|
|
1077
1077
|
hosted_invoice_url?: string | null | undefined;
|
|
1078
1078
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1082,41 +1082,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1082
1082
|
total: number;
|
|
1083
1083
|
currency: string;
|
|
1084
1084
|
customer: string | null;
|
|
1085
|
-
metadata?: Record<string, string> | undefined;
|
|
1086
1085
|
created?: number | undefined;
|
|
1086
|
+
metadata?: Record<string, string> | undefined;
|
|
1087
1087
|
due_date?: string | null | undefined;
|
|
1088
1088
|
hosted_invoice_url?: string | null | undefined;
|
|
1089
1089
|
invoice_pdf?: string | null | undefined;
|
|
1090
1090
|
}>>;
|
|
1091
1091
|
error: z.ZodString;
|
|
1092
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1093
|
+
operation: "create_invoice";
|
|
1093
1094
|
error: string;
|
|
1094
1095
|
success: boolean;
|
|
1095
|
-
operation: "create_invoice";
|
|
1096
1096
|
invoice?: {
|
|
1097
1097
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1098
1098
|
id: string;
|
|
1099
1099
|
total: number;
|
|
1100
1100
|
currency: string;
|
|
1101
1101
|
customer: string | null;
|
|
1102
|
-
metadata?: Record<string, string> | undefined;
|
|
1103
1102
|
created?: number | undefined;
|
|
1103
|
+
metadata?: Record<string, string> | undefined;
|
|
1104
1104
|
due_date?: string | null | undefined;
|
|
1105
1105
|
hosted_invoice_url?: string | null | undefined;
|
|
1106
1106
|
invoice_pdf?: string | null | undefined;
|
|
1107
1107
|
} | undefined;
|
|
1108
1108
|
}, {
|
|
1109
|
+
operation: "create_invoice";
|
|
1109
1110
|
error: string;
|
|
1110
1111
|
success: boolean;
|
|
1111
|
-
operation: "create_invoice";
|
|
1112
1112
|
invoice?: {
|
|
1113
1113
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1114
1114
|
id: string;
|
|
1115
1115
|
total: number;
|
|
1116
1116
|
currency: string;
|
|
1117
1117
|
customer: string | null;
|
|
1118
|
-
metadata?: Record<string, string> | undefined;
|
|
1119
1118
|
created?: number | undefined;
|
|
1119
|
+
metadata?: Record<string, string> | undefined;
|
|
1120
1120
|
due_date?: string | null | undefined;
|
|
1121
1121
|
hosted_invoice_url?: string | null | undefined;
|
|
1122
1122
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1141,8 +1141,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1141
1141
|
total: number;
|
|
1142
1142
|
currency: string;
|
|
1143
1143
|
customer: string | null;
|
|
1144
|
-
metadata?: Record<string, string> | undefined;
|
|
1145
1144
|
created?: number | undefined;
|
|
1145
|
+
metadata?: Record<string, string> | undefined;
|
|
1146
1146
|
due_date?: string | null | undefined;
|
|
1147
1147
|
hosted_invoice_url?: string | null | undefined;
|
|
1148
1148
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1152,8 +1152,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1152
1152
|
total: number;
|
|
1153
1153
|
currency: string;
|
|
1154
1154
|
customer: string | null;
|
|
1155
|
-
metadata?: Record<string, string> | undefined;
|
|
1156
1155
|
created?: number | undefined;
|
|
1156
|
+
metadata?: Record<string, string> | undefined;
|
|
1157
1157
|
due_date?: string | null | undefined;
|
|
1158
1158
|
hosted_invoice_url?: string | null | undefined;
|
|
1159
1159
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1162,9 +1162,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1162
1162
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1163
1163
|
error: z.ZodString;
|
|
1164
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1165
|
+
operation: "list_invoices";
|
|
1165
1166
|
error: string;
|
|
1166
1167
|
success: boolean;
|
|
1167
|
-
operation: "list_invoices";
|
|
1168
1168
|
next_cursor?: string | null | undefined;
|
|
1169
1169
|
has_more?: boolean | undefined;
|
|
1170
1170
|
invoices?: {
|
|
@@ -1173,16 +1173,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1173
1173
|
total: number;
|
|
1174
1174
|
currency: string;
|
|
1175
1175
|
customer: string | null;
|
|
1176
|
-
metadata?: Record<string, string> | undefined;
|
|
1177
1176
|
created?: number | undefined;
|
|
1177
|
+
metadata?: Record<string, string> | undefined;
|
|
1178
1178
|
due_date?: string | null | undefined;
|
|
1179
1179
|
hosted_invoice_url?: string | null | undefined;
|
|
1180
1180
|
invoice_pdf?: string | null | undefined;
|
|
1181
1181
|
}[] | undefined;
|
|
1182
1182
|
}, {
|
|
1183
|
+
operation: "list_invoices";
|
|
1183
1184
|
error: string;
|
|
1184
1185
|
success: boolean;
|
|
1185
|
-
operation: "list_invoices";
|
|
1186
1186
|
next_cursor?: string | null | undefined;
|
|
1187
1187
|
has_more?: boolean | undefined;
|
|
1188
1188
|
invoices?: {
|
|
@@ -1191,8 +1191,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1191
1191
|
total: number;
|
|
1192
1192
|
currency: string;
|
|
1193
1193
|
customer: string | null;
|
|
1194
|
-
metadata?: Record<string, string> | undefined;
|
|
1195
1194
|
created?: number | undefined;
|
|
1195
|
+
metadata?: Record<string, string> | undefined;
|
|
1196
1196
|
due_date?: string | null | undefined;
|
|
1197
1197
|
hosted_invoice_url?: string | null | undefined;
|
|
1198
1198
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1217,8 +1217,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1217
1217
|
total: number;
|
|
1218
1218
|
currency: string;
|
|
1219
1219
|
customer: string | null;
|
|
1220
|
-
metadata?: Record<string, string> | undefined;
|
|
1221
1220
|
created?: number | undefined;
|
|
1221
|
+
metadata?: Record<string, string> | undefined;
|
|
1222
1222
|
due_date?: string | null | undefined;
|
|
1223
1223
|
hosted_invoice_url?: string | null | undefined;
|
|
1224
1224
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1228,41 +1228,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1228
1228
|
total: number;
|
|
1229
1229
|
currency: string;
|
|
1230
1230
|
customer: string | null;
|
|
1231
|
-
metadata?: Record<string, string> | undefined;
|
|
1232
1231
|
created?: number | undefined;
|
|
1232
|
+
metadata?: Record<string, string> | undefined;
|
|
1233
1233
|
due_date?: string | null | undefined;
|
|
1234
1234
|
hosted_invoice_url?: string | null | undefined;
|
|
1235
1235
|
invoice_pdf?: string | null | undefined;
|
|
1236
1236
|
}>>;
|
|
1237
1237
|
error: z.ZodString;
|
|
1238
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1239
|
+
operation: "retrieve_invoice";
|
|
1239
1240
|
error: string;
|
|
1240
1241
|
success: boolean;
|
|
1241
|
-
operation: "retrieve_invoice";
|
|
1242
1242
|
invoice?: {
|
|
1243
1243
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1244
1244
|
id: string;
|
|
1245
1245
|
total: number;
|
|
1246
1246
|
currency: string;
|
|
1247
1247
|
customer: string | null;
|
|
1248
|
-
metadata?: Record<string, string> | undefined;
|
|
1249
1248
|
created?: number | undefined;
|
|
1249
|
+
metadata?: Record<string, string> | undefined;
|
|
1250
1250
|
due_date?: string | null | undefined;
|
|
1251
1251
|
hosted_invoice_url?: string | null | undefined;
|
|
1252
1252
|
invoice_pdf?: string | null | undefined;
|
|
1253
1253
|
} | undefined;
|
|
1254
1254
|
}, {
|
|
1255
|
+
operation: "retrieve_invoice";
|
|
1255
1256
|
error: string;
|
|
1256
1257
|
success: boolean;
|
|
1257
|
-
operation: "retrieve_invoice";
|
|
1258
1258
|
invoice?: {
|
|
1259
1259
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1260
1260
|
id: string;
|
|
1261
1261
|
total: number;
|
|
1262
1262
|
currency: string;
|
|
1263
1263
|
customer: string | null;
|
|
1264
|
-
metadata?: Record<string, string> | undefined;
|
|
1265
1264
|
created?: number | undefined;
|
|
1265
|
+
metadata?: Record<string, string> | undefined;
|
|
1266
1266
|
due_date?: string | null | undefined;
|
|
1267
1267
|
hosted_invoice_url?: string | null | undefined;
|
|
1268
1268
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1287,8 +1287,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1287
1287
|
total: number;
|
|
1288
1288
|
currency: string;
|
|
1289
1289
|
customer: string | null;
|
|
1290
|
-
metadata?: Record<string, string> | undefined;
|
|
1291
1290
|
created?: number | undefined;
|
|
1291
|
+
metadata?: Record<string, string> | undefined;
|
|
1292
1292
|
due_date?: string | null | undefined;
|
|
1293
1293
|
hosted_invoice_url?: string | null | undefined;
|
|
1294
1294
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1298,41 +1298,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1298
1298
|
total: number;
|
|
1299
1299
|
currency: string;
|
|
1300
1300
|
customer: string | null;
|
|
1301
|
-
metadata?: Record<string, string> | undefined;
|
|
1302
1301
|
created?: number | undefined;
|
|
1302
|
+
metadata?: Record<string, string> | undefined;
|
|
1303
1303
|
due_date?: string | null | undefined;
|
|
1304
1304
|
hosted_invoice_url?: string | null | undefined;
|
|
1305
1305
|
invoice_pdf?: string | null | undefined;
|
|
1306
1306
|
}>>;
|
|
1307
1307
|
error: z.ZodString;
|
|
1308
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1309
|
+
operation: "finalize_invoice";
|
|
1309
1310
|
error: string;
|
|
1310
1311
|
success: boolean;
|
|
1311
|
-
operation: "finalize_invoice";
|
|
1312
1312
|
invoice?: {
|
|
1313
1313
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1314
1314
|
id: string;
|
|
1315
1315
|
total: number;
|
|
1316
1316
|
currency: string;
|
|
1317
1317
|
customer: string | null;
|
|
1318
|
-
metadata?: Record<string, string> | undefined;
|
|
1319
1318
|
created?: number | undefined;
|
|
1319
|
+
metadata?: Record<string, string> | undefined;
|
|
1320
1320
|
due_date?: string | null | undefined;
|
|
1321
1321
|
hosted_invoice_url?: string | null | undefined;
|
|
1322
1322
|
invoice_pdf?: string | null | undefined;
|
|
1323
1323
|
} | undefined;
|
|
1324
1324
|
}, {
|
|
1325
|
+
operation: "finalize_invoice";
|
|
1325
1326
|
error: string;
|
|
1326
1327
|
success: boolean;
|
|
1327
|
-
operation: "finalize_invoice";
|
|
1328
1328
|
invoice?: {
|
|
1329
1329
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1330
1330
|
id: string;
|
|
1331
1331
|
total: number;
|
|
1332
1332
|
currency: string;
|
|
1333
1333
|
customer: string | null;
|
|
1334
|
-
metadata?: Record<string, string> | undefined;
|
|
1335
1334
|
created?: number | undefined;
|
|
1335
|
+
metadata?: Record<string, string> | undefined;
|
|
1336
1336
|
due_date?: string | null | undefined;
|
|
1337
1337
|
hosted_invoice_url?: string | null | undefined;
|
|
1338
1338
|
invoice_pdf?: string | null | undefined;
|
|
@@ -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
|
-
invoice?: string | null | undefined;
|
|
1364
1363
|
quantity?: number | undefined;
|
|
1364
|
+
invoice?: string | null | 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
|
-
invoice?: string | null | undefined;
|
|
1375
1374
|
quantity?: number | undefined;
|
|
1375
|
+
invoice?: string | null | undefined;
|
|
1376
1376
|
}>>;
|
|
1377
1377
|
error: z.ZodString;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1379
|
+
operation: "create_invoice_item";
|
|
1379
1380
|
error: string;
|
|
1380
1381
|
success: boolean;
|
|
1381
|
-
operation: "create_invoice_item";
|
|
1382
1382
|
invoice_item?: {
|
|
1383
1383
|
id: string;
|
|
1384
1384
|
currency: string;
|
|
@@ -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
|
-
invoice?: string | null | undefined;
|
|
1392
1391
|
quantity?: number | undefined;
|
|
1392
|
+
invoice?: string | null | undefined;
|
|
1393
1393
|
} | undefined;
|
|
1394
1394
|
}, {
|
|
1395
|
+
operation: "create_invoice_item";
|
|
1395
1396
|
error: string;
|
|
1396
1397
|
success: boolean;
|
|
1397
|
-
operation: "create_invoice_item";
|
|
1398
1398
|
invoice_item?: {
|
|
1399
1399
|
id: string;
|
|
1400
1400
|
currency: string;
|
|
@@ -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
|
-
invoice?: string | null | undefined;
|
|
1408
1407
|
quantity?: number | undefined;
|
|
1408
|
+
invoice?: string | null | undefined;
|
|
1409
1409
|
} | undefined;
|
|
1410
1410
|
}>, z.ZodObject<{
|
|
1411
1411
|
operation: z.ZodLiteral<"send_invoice">;
|
|
@@ -1427,8 +1427,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1427
1427
|
total: number;
|
|
1428
1428
|
currency: string;
|
|
1429
1429
|
customer: string | null;
|
|
1430
|
-
metadata?: Record<string, string> | undefined;
|
|
1431
1430
|
created?: number | undefined;
|
|
1431
|
+
metadata?: Record<string, string> | undefined;
|
|
1432
1432
|
due_date?: string | null | undefined;
|
|
1433
1433
|
hosted_invoice_url?: string | null | undefined;
|
|
1434
1434
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1438,41 +1438,41 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1438
1438
|
total: number;
|
|
1439
1439
|
currency: string;
|
|
1440
1440
|
customer: string | null;
|
|
1441
|
-
metadata?: Record<string, string> | undefined;
|
|
1442
1441
|
created?: number | undefined;
|
|
1442
|
+
metadata?: Record<string, string> | undefined;
|
|
1443
1443
|
due_date?: string | null | undefined;
|
|
1444
1444
|
hosted_invoice_url?: string | null | undefined;
|
|
1445
1445
|
invoice_pdf?: string | null | undefined;
|
|
1446
1446
|
}>>;
|
|
1447
1447
|
error: z.ZodString;
|
|
1448
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1449
|
+
operation: "send_invoice";
|
|
1449
1450
|
error: string;
|
|
1450
1451
|
success: boolean;
|
|
1451
|
-
operation: "send_invoice";
|
|
1452
1452
|
invoice?: {
|
|
1453
1453
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1454
1454
|
id: string;
|
|
1455
1455
|
total: number;
|
|
1456
1456
|
currency: string;
|
|
1457
1457
|
customer: string | null;
|
|
1458
|
-
metadata?: Record<string, string> | undefined;
|
|
1459
1458
|
created?: number | undefined;
|
|
1459
|
+
metadata?: Record<string, string> | undefined;
|
|
1460
1460
|
due_date?: string | null | undefined;
|
|
1461
1461
|
hosted_invoice_url?: string | null | undefined;
|
|
1462
1462
|
invoice_pdf?: string | null | undefined;
|
|
1463
1463
|
} | undefined;
|
|
1464
1464
|
}, {
|
|
1465
|
+
operation: "send_invoice";
|
|
1465
1466
|
error: string;
|
|
1466
1467
|
success: boolean;
|
|
1467
|
-
operation: "send_invoice";
|
|
1468
1468
|
invoice?: {
|
|
1469
1469
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1470
1470
|
id: string;
|
|
1471
1471
|
total: number;
|
|
1472
1472
|
currency: string;
|
|
1473
1473
|
customer: string | null;
|
|
1474
|
-
metadata?: Record<string, string> | undefined;
|
|
1475
1474
|
created?: number | undefined;
|
|
1475
|
+
metadata?: Record<string, string> | undefined;
|
|
1476
1476
|
due_date?: string | null | undefined;
|
|
1477
1477
|
hosted_invoice_url?: string | null | undefined;
|
|
1478
1478
|
invoice_pdf?: string | null | undefined;
|
|
@@ -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";
|
|
1525
1526
|
error: string;
|
|
1526
1527
|
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";
|
|
1539
1540
|
error: string;
|
|
1540
1541
|
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" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1565
1565
|
id: string;
|
|
1566
1566
|
created: number;
|
|
1567
1567
|
currency: string;
|
|
@@ -1569,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1569
1569
|
metadata?: Record<string, string> | undefined;
|
|
1570
1570
|
customer?: string | null | undefined;
|
|
1571
1571
|
}, {
|
|
1572
|
-
status: "canceled" | "
|
|
1572
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1573
1573
|
id: string;
|
|
1574
1574
|
created: number;
|
|
1575
1575
|
currency: string;
|
|
@@ -1579,11 +1579,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1579
1579
|
}>, "many">>;
|
|
1580
1580
|
error: z.ZodString;
|
|
1581
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1582
|
+
operation: "list_payment_intents";
|
|
1582
1583
|
error: string;
|
|
1583
1584
|
success: boolean;
|
|
1584
|
-
operation: "list_payment_intents";
|
|
1585
1585
|
payment_intents?: {
|
|
1586
|
-
status: "canceled" | "
|
|
1586
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1587
1587
|
id: string;
|
|
1588
1588
|
created: number;
|
|
1589
1589
|
currency: string;
|
|
@@ -1592,11 +1592,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1592
1592
|
customer?: string | null | undefined;
|
|
1593
1593
|
}[] | undefined;
|
|
1594
1594
|
}, {
|
|
1595
|
+
operation: "list_payment_intents";
|
|
1595
1596
|
error: string;
|
|
1596
1597
|
success: boolean;
|
|
1597
|
-
operation: "list_payment_intents";
|
|
1598
1598
|
payment_intents?: {
|
|
1599
|
-
status: "canceled" | "
|
|
1599
|
+
status: "canceled" | "processing" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "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";
|
|
1640
1641
|
error: string;
|
|
1641
1642
|
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";
|
|
1654
1655
|
error: string;
|
|
1655
1656
|
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";
|
|
1700
1701
|
error: string;
|
|
1701
1702
|
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";
|
|
1714
1715
|
error: string;
|
|
1715
1716
|
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;
|
|
@@ -1734,40 +1734,40 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1734
1734
|
created: z.ZodOptional<z.ZodNumber>;
|
|
1735
1735
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1736
1736
|
}, "strip", z.ZodTypeAny, {
|
|
1737
|
-
id: string;
|
|
1738
1737
|
url: string;
|
|
1738
|
+
id: string;
|
|
1739
1739
|
active: boolean;
|
|
1740
|
-
metadata?: Record<string, string> | undefined;
|
|
1741
1740
|
created?: number | undefined;
|
|
1741
|
+
metadata?: Record<string, string> | undefined;
|
|
1742
1742
|
}, {
|
|
1743
|
-
id: string;
|
|
1744
1743
|
url: string;
|
|
1744
|
+
id: string;
|
|
1745
1745
|
active: boolean;
|
|
1746
|
-
metadata?: Record<string, string> | undefined;
|
|
1747
1746
|
created?: number | undefined;
|
|
1747
|
+
metadata?: Record<string, string> | undefined;
|
|
1748
1748
|
}>, "many">>;
|
|
1749
1749
|
error: z.ZodString;
|
|
1750
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1751
|
+
operation: "list_payment_links";
|
|
1751
1752
|
error: string;
|
|
1752
1753
|
success: boolean;
|
|
1753
|
-
operation: "list_payment_links";
|
|
1754
1754
|
payment_links?: {
|
|
1755
|
-
id: string;
|
|
1756
1755
|
url: string;
|
|
1756
|
+
id: string;
|
|
1757
1757
|
active: boolean;
|
|
1758
|
-
metadata?: Record<string, string> | undefined;
|
|
1759
1758
|
created?: number | undefined;
|
|
1759
|
+
metadata?: Record<string, string> | undefined;
|
|
1760
1760
|
}[] | undefined;
|
|
1761
1761
|
}, {
|
|
1762
|
+
operation: "list_payment_links";
|
|
1762
1763
|
error: string;
|
|
1763
1764
|
success: boolean;
|
|
1764
|
-
operation: "list_payment_links";
|
|
1765
1765
|
payment_links?: {
|
|
1766
|
-
id: string;
|
|
1767
1766
|
url: string;
|
|
1767
|
+
id: string;
|
|
1768
1768
|
active: boolean;
|
|
1769
|
-
metadata?: Record<string, string> | undefined;
|
|
1770
1769
|
created?: number | undefined;
|
|
1770
|
+
metadata?: Record<string, string> | undefined;
|
|
1771
1771
|
}[] | undefined;
|
|
1772
1772
|
}>, z.ZodObject<{
|
|
1773
1773
|
operation: z.ZodLiteral<"create_subscription">;
|
|
@@ -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";
|
|
1805
1806
|
error: string;
|
|
1806
1807
|
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";
|
|
1819
1820
|
error: string;
|
|
1820
1821
|
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;
|