@bubblelab/bubble-core 0.1.221 → 0.1.223
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 +211 -172
- package/dist/bubble-factory.d.ts.map +1 -1
- package/dist/bubble-factory.js +3 -0
- package/dist/bubble-factory.js.map +1 -1
- package/dist/bubbles/service-bubble/agi-inc.d.ts +20 -20
- package/dist/bubbles/service-bubble/ai-agent.d.ts +84 -84
- package/dist/bubbles/service-bubble/airtable.d.ts +104 -104
- package/dist/bubbles/service-bubble/apify/actors/instagram-hashtag-scraper.d.ts +2 -2
- package/dist/bubbles/service-bubble/apify/actors/instagram-scraper.d.ts +8 -8
- 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 +22 -22
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-detail.d.ts +38 -38
- package/dist/bubbles/service-bubble/apify/actors/linkedin-profile-posts.d.ts +52 -52
- package/dist/bubbles/service-bubble/apify/actors/tiktok-scraper.d.ts +6 -6
- package/dist/bubbles/service-bubble/apify/actors/twitter-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/actors/youtube-scraper.d.ts +12 -12
- package/dist/bubbles/service-bubble/apify/apify-scraper.schema.d.ts +126 -126
- package/dist/bubbles/service-bubble/apify/apify.d.ts +22 -22
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +140 -140
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +194 -194
- package/dist/bubbles/service-bubble/assembled/assembled.d.ts +16 -16
- package/dist/bubbles/service-bubble/assembled/assembled.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.d.ts +6 -6
- package/dist/bubbles/service-bubble/attio/attio.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +7 -7
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +9 -9
- package/dist/bubbles/service-bubble/confluence/confluence.d.ts +6 -6
- package/dist/bubbles/service-bubble/confluence/confluence.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +130 -130
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +162 -162
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +8 -8
- package/dist/bubbles/service-bubble/firecrawl.d.ts +910 -910
- package/dist/bubbles/service-bubble/followupboss.d.ts +8 -8
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +44 -44
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +84 -84
- package/dist/bubbles/service-bubble/github.d.ts +210 -210
- package/dist/bubbles/service-bubble/gmail.d.ts +188 -188
- package/dist/bubbles/service-bubble/google-calendar.d.ts +90 -90
- package/dist/bubbles/service-bubble/google-drive.d.ts +44 -44
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +10 -10
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +10 -10
- package/dist/bubbles/service-bubble/http.d.ts +14 -14
- package/dist/bubbles/service-bubble/hubspot/hubspot.d.ts +27 -27
- package/dist/bubbles/service-bubble/hubspot/hubspot.schema.d.ts +27 -27
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +18 -18
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +20 -20
- package/dist/bubbles/service-bubble/linear/linear.d.ts +2 -2
- package/dist/bubbles/service-bubble/linear/linear.schema.d.ts +2 -2
- package/dist/bubbles/service-bubble/notion/notion.d.ts +694 -694
- package/dist/bubbles/service-bubble/notion/property-schemas.d.ts +8 -8
- package/dist/bubbles/service-bubble/postgresql.d.ts +14 -14
- package/dist/bubbles/service-bubble/posthog/posthog.d.ts +20 -20
- package/dist/bubbles/service-bubble/posthog/posthog.schema.d.ts +30 -30
- package/dist/bubbles/service-bubble/resend.d.ts +8 -8
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.d.ts +4 -4
- package/dist/bubbles/service-bubble/sendsafely/sendsafely.schema.d.ts +6 -6
- package/dist/bubbles/service-bubble/slab/index.d.ts +3 -0
- package/dist/bubbles/service-bubble/slab/index.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/index.js +3 -0
- package/dist/bubbles/service-bubble/slab/index.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts +617 -0
- package/dist/bubbles/service-bubble/slab/slab.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.js +379 -0
- package/dist/bubbles/service-bubble/slab/slab.js.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts +703 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.d.ts.map +1 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js +226 -0
- package/dist/bubbles/service-bubble/slab/slab.schema.js.map +1 -0
- package/dist/bubbles/service-bubble/slack/slack.d.ts +568 -568
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +112 -112
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +134 -134
- package/dist/bubbles/service-bubble/telegram.d.ts +1486 -1486
- package/dist/bubbles/service-bubble/xero/xero.d.ts +14 -14
- package/dist/bubbles/service-bubble/xero/xero.schema.d.ts +14 -14
- package/dist/bubbles/service-bubble/zendesk/zendesk.d.ts +114 -114
- package/dist/bubbles/service-bubble/zendesk/zendesk.schema.d.ts +114 -114
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +9 -9
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +11 -11
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +60 -60
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +573 -573
- package/dist/bubbles/tool-bubble/list-capabilities-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/people-search-tool.d.ts +54 -54
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +72 -72
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +184 -184
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +34 -34
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +100 -100
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +22 -22
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +62 -62
- package/dist/bubbles.json +697 -2
- package/dist/index.d.ts +2 -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;
|
|
@@ -29,15 +29,15 @@ export declare const StripeProductSchema: z.ZodObject<{
|
|
|
29
29
|
}, "strip", z.ZodTypeAny, {
|
|
30
30
|
name: string;
|
|
31
31
|
id: string;
|
|
32
|
-
created: number;
|
|
33
32
|
active: boolean;
|
|
33
|
+
created: number;
|
|
34
34
|
description?: string | null | undefined;
|
|
35
35
|
metadata?: Record<string, string> | undefined;
|
|
36
36
|
}, {
|
|
37
37
|
name: string;
|
|
38
38
|
id: string;
|
|
39
|
-
created: number;
|
|
40
39
|
active: boolean;
|
|
40
|
+
created: number;
|
|
41
41
|
description?: string | null | undefined;
|
|
42
42
|
metadata?: Record<string, string> | undefined;
|
|
43
43
|
}>;
|
|
@@ -51,20 +51,20 @@ 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
|
+
active: boolean;
|
|
56
57
|
created: number;
|
|
57
58
|
currency: string;
|
|
58
|
-
active: boolean;
|
|
59
59
|
product: string;
|
|
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
|
+
active: boolean;
|
|
65
66
|
created: number;
|
|
66
67
|
currency: string;
|
|
67
|
-
active: boolean;
|
|
68
68
|
product: string;
|
|
69
69
|
unit_amount: number | null;
|
|
70
70
|
metadata?: Record<string, string> | undefined;
|
|
@@ -76,14 +76,14 @@ 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
82
|
metadata?: Record<string, string> | undefined;
|
|
83
83
|
created?: number | undefined;
|
|
84
84
|
}, {
|
|
85
|
-
id: string;
|
|
86
85
|
url: string;
|
|
86
|
+
id: string;
|
|
87
87
|
active: boolean;
|
|
88
88
|
metadata?: Record<string, string> | undefined;
|
|
89
89
|
created?: number | undefined;
|
|
@@ -100,7 +100,7 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
100
100
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
101
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
102
102
|
}, "strip", z.ZodTypeAny, {
|
|
103
|
-
status: "void" | "
|
|
103
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
104
104
|
id: string;
|
|
105
105
|
total: number;
|
|
106
106
|
currency: string;
|
|
@@ -111,7 +111,7 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
111
111
|
hosted_invoice_url?: string | null | undefined;
|
|
112
112
|
invoice_pdf?: string | null | undefined;
|
|
113
113
|
}, {
|
|
114
|
-
status: "void" | "
|
|
114
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
115
115
|
id: string;
|
|
116
116
|
total: number;
|
|
117
117
|
currency: string;
|
|
@@ -136,25 +136,25 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
|
|
|
136
136
|
}, "strip", z.ZodTypeAny, {
|
|
137
137
|
id: string;
|
|
138
138
|
currency: string;
|
|
139
|
-
amount: number;
|
|
140
139
|
customer: string;
|
|
140
|
+
amount: number;
|
|
141
141
|
description?: string | null | undefined;
|
|
142
142
|
date?: number | undefined;
|
|
143
143
|
metadata?: Record<string, string> | undefined;
|
|
144
|
-
invoice?: string | null | undefined;
|
|
145
|
-
unit_amount?: number | null | undefined;
|
|
146
144
|
quantity?: number | undefined;
|
|
145
|
+
unit_amount?: number | null | undefined;
|
|
146
|
+
invoice?: string | null | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
id: string;
|
|
149
149
|
currency: string;
|
|
150
|
-
amount: number;
|
|
151
150
|
customer: string;
|
|
151
|
+
amount: number;
|
|
152
152
|
description?: string | null | undefined;
|
|
153
153
|
date?: number | undefined;
|
|
154
154
|
metadata?: Record<string, string> | undefined;
|
|
155
|
-
invoice?: string | null | undefined;
|
|
156
|
-
unit_amount?: number | null | undefined;
|
|
157
155
|
quantity?: number | undefined;
|
|
156
|
+
unit_amount?: number | null | 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: "
|
|
208
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
209
209
|
id: string;
|
|
210
210
|
created: number;
|
|
211
211
|
currency: string;
|
|
@@ -213,7 +213,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
213
213
|
metadata?: Record<string, string> | undefined;
|
|
214
214
|
customer?: string | null | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
status: "
|
|
216
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
217
217
|
id: string;
|
|
218
218
|
created: number;
|
|
219
219
|
currency: string;
|
|
@@ -231,7 +231,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
231
231
|
created: z.ZodNumber;
|
|
232
232
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
status: "
|
|
234
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
235
235
|
id: string;
|
|
236
236
|
created: number;
|
|
237
237
|
customer: string;
|
|
@@ -240,7 +240,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
240
240
|
current_period_start?: number | undefined;
|
|
241
241
|
current_period_end?: number | undefined;
|
|
242
242
|
}, {
|
|
243
|
-
status: "
|
|
243
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
244
244
|
id: string;
|
|
245
245
|
created: number;
|
|
246
246
|
customer: string;
|
|
@@ -258,15 +258,15 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
259
|
name: string;
|
|
260
260
|
operation: "create_customer";
|
|
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
265
|
name: string;
|
|
266
266
|
operation: "create_customer";
|
|
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<{
|
|
@@ -328,8 +328,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
328
328
|
}, {
|
|
329
329
|
operation: "list_products";
|
|
330
330
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
331
|
-
limit?: number | undefined;
|
|
332
331
|
active?: boolean | undefined;
|
|
332
|
+
limit?: number | undefined;
|
|
333
333
|
}>, z.ZodObject<{
|
|
334
334
|
operation: z.ZodLiteral<"create_price">;
|
|
335
335
|
product: z.ZodString;
|
|
@@ -384,8 +384,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
384
384
|
}, {
|
|
385
385
|
operation: "list_prices";
|
|
386
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
387
|
-
limit?: number | undefined;
|
|
388
387
|
active?: boolean | undefined;
|
|
388
|
+
limit?: number | undefined;
|
|
389
389
|
product?: string | undefined;
|
|
390
390
|
}>, z.ZodObject<{
|
|
391
391
|
operation: z.ZodLiteral<"create_payment_link">;
|
|
@@ -419,8 +419,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
419
419
|
description: z.ZodOptional<z.ZodString>;
|
|
420
420
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
unit_amount: number;
|
|
423
422
|
quantity: number;
|
|
423
|
+
unit_amount: number;
|
|
424
424
|
description?: string | undefined;
|
|
425
425
|
}, {
|
|
426
426
|
unit_amount: number;
|
|
@@ -435,8 +435,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
435
435
|
auto_advance: boolean;
|
|
436
436
|
collection_method: "charge_automatically" | "send_invoice";
|
|
437
437
|
items?: {
|
|
438
|
-
unit_amount: number;
|
|
439
438
|
quantity: number;
|
|
439
|
+
unit_amount: number;
|
|
440
440
|
description?: string | undefined;
|
|
441
441
|
}[] | undefined;
|
|
442
442
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -465,13 +465,13 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
465
465
|
}, "strip", z.ZodTypeAny, {
|
|
466
466
|
operation: "list_invoices";
|
|
467
467
|
limit: number;
|
|
468
|
-
status?: "void" | "
|
|
468
|
+
status?: "void" | "open" | "draft" | "paid" | "uncollectible" | undefined;
|
|
469
469
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
470
470
|
cursor?: string | undefined;
|
|
471
471
|
customer?: string | undefined;
|
|
472
472
|
}, {
|
|
473
473
|
operation: "list_invoices";
|
|
474
|
-
status?: "void" | "
|
|
474
|
+
status?: "void" | "open" | "draft" | "paid" | "uncollectible" | undefined;
|
|
475
475
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
476
476
|
limit?: number | undefined;
|
|
477
477
|
cursor?: string | undefined;
|
|
@@ -516,9 +516,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
516
516
|
}, "strip", z.ZodTypeAny, {
|
|
517
517
|
operation: "create_invoice_item";
|
|
518
518
|
currency: string;
|
|
519
|
+
quantity: number;
|
|
519
520
|
unit_amount: number;
|
|
520
521
|
customer: string;
|
|
521
|
-
quantity: number;
|
|
522
522
|
description?: string | undefined;
|
|
523
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
524
524
|
metadata?: Record<string, string> | undefined;
|
|
@@ -531,8 +531,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
531
531
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
532
532
|
metadata?: Record<string, string> | undefined;
|
|
533
533
|
currency?: string | undefined;
|
|
534
|
-
invoice?: string | undefined;
|
|
535
534
|
quantity?: number | undefined;
|
|
535
|
+
invoice?: string | undefined;
|
|
536
536
|
}>, z.ZodObject<{
|
|
537
537
|
operation: z.ZodLiteral<"send_invoice">;
|
|
538
538
|
invoice_id: z.ZodString;
|
|
@@ -578,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
578
578
|
}, "strip", z.ZodTypeAny, {
|
|
579
579
|
operation: "list_subscriptions";
|
|
580
580
|
limit: number;
|
|
581
|
-
status?: "
|
|
581
|
+
status?: "active" | "all" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
|
|
582
582
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
583
583
|
customer?: string | undefined;
|
|
584
584
|
}, {
|
|
585
585
|
operation: "list_subscriptions";
|
|
586
|
-
status?: "
|
|
586
|
+
status?: "active" | "all" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
|
|
587
587
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
588
588
|
limit?: number | undefined;
|
|
589
589
|
customer?: string | undefined;
|
|
@@ -594,8 +594,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
594
594
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
595
595
|
}, "strip", z.ZodTypeAny, {
|
|
596
596
|
operation: "cancel_subscription";
|
|
597
|
-
cancel_at_period_end: boolean;
|
|
598
597
|
subscription_id: string;
|
|
598
|
+
cancel_at_period_end: boolean;
|
|
599
599
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
600
600
|
}, {
|
|
601
601
|
operation: "cancel_subscription";
|
|
@@ -615,8 +615,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
615
615
|
}, {
|
|
616
616
|
operation: "list_payment_links";
|
|
617
617
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
618
|
-
limit?: number | undefined;
|
|
619
618
|
active?: boolean | undefined;
|
|
619
|
+
limit?: number | undefined;
|
|
620
620
|
}>, z.ZodObject<{
|
|
621
621
|
operation: z.ZodLiteral<"create_subscription">;
|
|
622
622
|
customer: z.ZodString;
|
|
@@ -655,14 +655,14 @@ 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, {
|
|
@@ -673,8 +673,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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
680
|
error: string;
|
|
@@ -684,8 +684,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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,14 +700,14 @@ 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>>;
|
|
@@ -716,27 +716,27 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
716
716
|
error: string;
|
|
717
717
|
success: boolean;
|
|
718
718
|
operation: "list_customers";
|
|
719
|
-
next_cursor?: string | null | undefined;
|
|
720
719
|
has_more?: boolean | undefined;
|
|
720
|
+
next_cursor?: string | null | 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
729
|
error: string;
|
|
730
730
|
success: boolean;
|
|
731
731
|
operation: "list_customers";
|
|
732
|
-
next_cursor?: string | null | undefined;
|
|
733
732
|
has_more?: boolean | undefined;
|
|
733
|
+
next_cursor?: string | null | 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,14 +751,14 @@ 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;
|
|
@@ -771,8 +771,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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
778
|
error: string;
|
|
@@ -783,8 +783,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
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">;
|
|
@@ -799,15 +799,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
799
799
|
}, "strip", z.ZodTypeAny, {
|
|
800
800
|
name: string;
|
|
801
801
|
id: string;
|
|
802
|
-
created: number;
|
|
803
802
|
active: boolean;
|
|
803
|
+
created: number;
|
|
804
804
|
description?: string | null | undefined;
|
|
805
805
|
metadata?: Record<string, string> | undefined;
|
|
806
806
|
}, {
|
|
807
807
|
name: string;
|
|
808
808
|
id: string;
|
|
809
|
-
created: number;
|
|
810
809
|
active: boolean;
|
|
810
|
+
created: number;
|
|
811
811
|
description?: string | null | undefined;
|
|
812
812
|
metadata?: Record<string, string> | undefined;
|
|
813
813
|
}>>;
|
|
@@ -819,8 +819,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
819
819
|
product?: {
|
|
820
820
|
name: string;
|
|
821
821
|
id: string;
|
|
822
|
-
created: number;
|
|
823
822
|
active: boolean;
|
|
823
|
+
created: number;
|
|
824
824
|
description?: string | null | undefined;
|
|
825
825
|
metadata?: Record<string, string> | undefined;
|
|
826
826
|
} | undefined;
|
|
@@ -831,8 +831,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
831
831
|
product?: {
|
|
832
832
|
name: string;
|
|
833
833
|
id: string;
|
|
834
|
-
created: number;
|
|
835
834
|
active: boolean;
|
|
835
|
+
created: number;
|
|
836
836
|
description?: string | null | undefined;
|
|
837
837
|
metadata?: Record<string, string> | undefined;
|
|
838
838
|
} | undefined;
|
|
@@ -849,15 +849,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
849
849
|
}, "strip", z.ZodTypeAny, {
|
|
850
850
|
name: string;
|
|
851
851
|
id: string;
|
|
852
|
-
created: number;
|
|
853
852
|
active: boolean;
|
|
853
|
+
created: number;
|
|
854
854
|
description?: string | null | undefined;
|
|
855
855
|
metadata?: Record<string, string> | undefined;
|
|
856
856
|
}, {
|
|
857
857
|
name: string;
|
|
858
858
|
id: string;
|
|
859
|
-
created: number;
|
|
860
859
|
active: boolean;
|
|
860
|
+
created: number;
|
|
861
861
|
description?: string | null | undefined;
|
|
862
862
|
metadata?: Record<string, string> | undefined;
|
|
863
863
|
}>, "many">>;
|
|
@@ -869,8 +869,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
869
869
|
products?: {
|
|
870
870
|
name: string;
|
|
871
871
|
id: string;
|
|
872
|
-
created: number;
|
|
873
872
|
active: boolean;
|
|
873
|
+
created: number;
|
|
874
874
|
description?: string | null | undefined;
|
|
875
875
|
metadata?: Record<string, string> | undefined;
|
|
876
876
|
}[] | undefined;
|
|
@@ -881,8 +881,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
881
881
|
products?: {
|
|
882
882
|
name: string;
|
|
883
883
|
id: string;
|
|
884
|
-
created: number;
|
|
885
884
|
active: boolean;
|
|
885
|
+
created: number;
|
|
886
886
|
description?: string | null | undefined;
|
|
887
887
|
metadata?: Record<string, string> | undefined;
|
|
888
888
|
}[] | undefined;
|
|
@@ -899,20 +899,20 @@ 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
|
+
active: boolean;
|
|
904
905
|
created: number;
|
|
905
906
|
currency: string;
|
|
906
|
-
active: boolean;
|
|
907
907
|
product: string;
|
|
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
|
+
active: boolean;
|
|
913
914
|
created: number;
|
|
914
915
|
currency: string;
|
|
915
|
-
active: boolean;
|
|
916
916
|
product: string;
|
|
917
917
|
unit_amount: number | null;
|
|
918
918
|
metadata?: Record<string, string> | undefined;
|
|
@@ -923,11 +923,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
923
923
|
success: boolean;
|
|
924
924
|
operation: "create_price";
|
|
925
925
|
price?: {
|
|
926
|
-
type: "
|
|
926
|
+
type: "recurring" | "one_time";
|
|
927
927
|
id: string;
|
|
928
|
+
active: boolean;
|
|
928
929
|
created: number;
|
|
929
930
|
currency: string;
|
|
930
|
-
active: boolean;
|
|
931
931
|
product: string;
|
|
932
932
|
unit_amount: number | null;
|
|
933
933
|
metadata?: Record<string, string> | undefined;
|
|
@@ -937,11 +937,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
937
937
|
success: boolean;
|
|
938
938
|
operation: "create_price";
|
|
939
939
|
price?: {
|
|
940
|
-
type: "
|
|
940
|
+
type: "recurring" | "one_time";
|
|
941
941
|
id: string;
|
|
942
|
+
active: boolean;
|
|
942
943
|
created: number;
|
|
943
944
|
currency: string;
|
|
944
|
-
active: boolean;
|
|
945
945
|
product: string;
|
|
946
946
|
unit_amount: number | null;
|
|
947
947
|
metadata?: Record<string, string> | undefined;
|
|
@@ -959,20 +959,20 @@ 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
|
+
active: boolean;
|
|
964
965
|
created: number;
|
|
965
966
|
currency: string;
|
|
966
|
-
active: boolean;
|
|
967
967
|
product: string;
|
|
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
|
+
active: boolean;
|
|
973
974
|
created: number;
|
|
974
975
|
currency: string;
|
|
975
|
-
active: boolean;
|
|
976
976
|
product: string;
|
|
977
977
|
unit_amount: number | null;
|
|
978
978
|
metadata?: Record<string, string> | undefined;
|
|
@@ -983,11 +983,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
983
983
|
success: boolean;
|
|
984
984
|
operation: "list_prices";
|
|
985
985
|
prices?: {
|
|
986
|
-
type: "
|
|
986
|
+
type: "recurring" | "one_time";
|
|
987
987
|
id: string;
|
|
988
|
+
active: boolean;
|
|
988
989
|
created: number;
|
|
989
990
|
currency: string;
|
|
990
|
-
active: boolean;
|
|
991
991
|
product: string;
|
|
992
992
|
unit_amount: number | null;
|
|
993
993
|
metadata?: Record<string, string> | undefined;
|
|
@@ -997,11 +997,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
997
997
|
success: boolean;
|
|
998
998
|
operation: "list_prices";
|
|
999
999
|
prices?: {
|
|
1000
|
-
type: "
|
|
1000
|
+
type: "recurring" | "one_time";
|
|
1001
1001
|
id: string;
|
|
1002
|
+
active: boolean;
|
|
1002
1003
|
created: number;
|
|
1003
1004
|
currency: string;
|
|
1004
|
-
active: boolean;
|
|
1005
1005
|
product: string;
|
|
1006
1006
|
unit_amount: number | null;
|
|
1007
1007
|
metadata?: Record<string, string> | undefined;
|
|
@@ -1016,14 +1016,14 @@ 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
1022
|
metadata?: Record<string, string> | undefined;
|
|
1023
1023
|
created?: number | undefined;
|
|
1024
1024
|
}, {
|
|
1025
|
-
id: string;
|
|
1026
1025
|
url: string;
|
|
1026
|
+
id: string;
|
|
1027
1027
|
active: boolean;
|
|
1028
1028
|
metadata?: Record<string, string> | undefined;
|
|
1029
1029
|
created?: number | undefined;
|
|
@@ -1034,8 +1034,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1034
1034
|
success: boolean;
|
|
1035
1035
|
operation: "create_payment_link";
|
|
1036
1036
|
payment_link?: {
|
|
1037
|
-
id: string;
|
|
1038
1037
|
url: string;
|
|
1038
|
+
id: string;
|
|
1039
1039
|
active: boolean;
|
|
1040
1040
|
metadata?: Record<string, string> | undefined;
|
|
1041
1041
|
created?: number | undefined;
|
|
@@ -1045,8 +1045,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1045
1045
|
success: boolean;
|
|
1046
1046
|
operation: "create_payment_link";
|
|
1047
1047
|
payment_link?: {
|
|
1048
|
-
id: string;
|
|
1049
1048
|
url: string;
|
|
1049
|
+
id: string;
|
|
1050
1050
|
active: boolean;
|
|
1051
1051
|
metadata?: Record<string, string> | undefined;
|
|
1052
1052
|
created?: number | undefined;
|
|
@@ -1066,7 +1066,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1066
1066
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1067
1067
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1068
1068
|
}, "strip", z.ZodTypeAny, {
|
|
1069
|
-
status: "void" | "
|
|
1069
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1070
1070
|
id: string;
|
|
1071
1071
|
total: number;
|
|
1072
1072
|
currency: string;
|
|
@@ -1077,7 +1077,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1077
1077
|
hosted_invoice_url?: string | null | undefined;
|
|
1078
1078
|
invoice_pdf?: string | null | undefined;
|
|
1079
1079
|
}, {
|
|
1080
|
-
status: "void" | "
|
|
1080
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1081
1081
|
id: string;
|
|
1082
1082
|
total: number;
|
|
1083
1083
|
currency: string;
|
|
@@ -1094,7 +1094,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1094
1094
|
success: boolean;
|
|
1095
1095
|
operation: "create_invoice";
|
|
1096
1096
|
invoice?: {
|
|
1097
|
-
status: "void" | "
|
|
1097
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1098
1098
|
id: string;
|
|
1099
1099
|
total: number;
|
|
1100
1100
|
currency: string;
|
|
@@ -1110,7 +1110,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1110
1110
|
success: boolean;
|
|
1111
1111
|
operation: "create_invoice";
|
|
1112
1112
|
invoice?: {
|
|
1113
|
-
status: "void" | "
|
|
1113
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1114
1114
|
id: string;
|
|
1115
1115
|
total: number;
|
|
1116
1116
|
currency: string;
|
|
@@ -1136,7 +1136,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1136
1136
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1137
1137
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1138
1138
|
}, "strip", z.ZodTypeAny, {
|
|
1139
|
-
status: "void" | "
|
|
1139
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1140
1140
|
id: string;
|
|
1141
1141
|
total: number;
|
|
1142
1142
|
currency: string;
|
|
@@ -1147,7 +1147,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1147
1147
|
hosted_invoice_url?: string | null | undefined;
|
|
1148
1148
|
invoice_pdf?: string | null | undefined;
|
|
1149
1149
|
}, {
|
|
1150
|
-
status: "void" | "
|
|
1150
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1151
1151
|
id: string;
|
|
1152
1152
|
total: number;
|
|
1153
1153
|
currency: string;
|
|
@@ -1165,10 +1165,10 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1165
1165
|
error: string;
|
|
1166
1166
|
success: boolean;
|
|
1167
1167
|
operation: "list_invoices";
|
|
1168
|
-
next_cursor?: string | null | undefined;
|
|
1169
1168
|
has_more?: boolean | undefined;
|
|
1169
|
+
next_cursor?: string | null | undefined;
|
|
1170
1170
|
invoices?: {
|
|
1171
|
-
status: "void" | "
|
|
1171
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1172
1172
|
id: string;
|
|
1173
1173
|
total: number;
|
|
1174
1174
|
currency: string;
|
|
@@ -1183,10 +1183,10 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1183
1183
|
error: string;
|
|
1184
1184
|
success: boolean;
|
|
1185
1185
|
operation: "list_invoices";
|
|
1186
|
-
next_cursor?: string | null | undefined;
|
|
1187
1186
|
has_more?: boolean | undefined;
|
|
1187
|
+
next_cursor?: string | null | undefined;
|
|
1188
1188
|
invoices?: {
|
|
1189
|
-
status: "void" | "
|
|
1189
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1190
1190
|
id: string;
|
|
1191
1191
|
total: number;
|
|
1192
1192
|
currency: string;
|
|
@@ -1212,7 +1212,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1212
1212
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1213
1213
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1214
1214
|
}, "strip", z.ZodTypeAny, {
|
|
1215
|
-
status: "void" | "
|
|
1215
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1216
1216
|
id: string;
|
|
1217
1217
|
total: number;
|
|
1218
1218
|
currency: string;
|
|
@@ -1223,7 +1223,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1223
1223
|
hosted_invoice_url?: string | null | undefined;
|
|
1224
1224
|
invoice_pdf?: string | null | undefined;
|
|
1225
1225
|
}, {
|
|
1226
|
-
status: "void" | "
|
|
1226
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1227
1227
|
id: string;
|
|
1228
1228
|
total: number;
|
|
1229
1229
|
currency: string;
|
|
@@ -1240,7 +1240,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1240
1240
|
success: boolean;
|
|
1241
1241
|
operation: "retrieve_invoice";
|
|
1242
1242
|
invoice?: {
|
|
1243
|
-
status: "void" | "
|
|
1243
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1244
1244
|
id: string;
|
|
1245
1245
|
total: number;
|
|
1246
1246
|
currency: string;
|
|
@@ -1256,7 +1256,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1256
1256
|
success: boolean;
|
|
1257
1257
|
operation: "retrieve_invoice";
|
|
1258
1258
|
invoice?: {
|
|
1259
|
-
status: "void" | "
|
|
1259
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1260
1260
|
id: string;
|
|
1261
1261
|
total: number;
|
|
1262
1262
|
currency: string;
|
|
@@ -1282,7 +1282,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1282
1282
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1283
1283
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1284
1284
|
}, "strip", z.ZodTypeAny, {
|
|
1285
|
-
status: "void" | "
|
|
1285
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1286
1286
|
id: string;
|
|
1287
1287
|
total: number;
|
|
1288
1288
|
currency: string;
|
|
@@ -1293,7 +1293,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1293
1293
|
hosted_invoice_url?: string | null | undefined;
|
|
1294
1294
|
invoice_pdf?: string | null | undefined;
|
|
1295
1295
|
}, {
|
|
1296
|
-
status: "void" | "
|
|
1296
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1297
1297
|
id: string;
|
|
1298
1298
|
total: number;
|
|
1299
1299
|
currency: string;
|
|
@@ -1310,7 +1310,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1310
1310
|
success: boolean;
|
|
1311
1311
|
operation: "finalize_invoice";
|
|
1312
1312
|
invoice?: {
|
|
1313
|
-
status: "void" | "
|
|
1313
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1314
1314
|
id: string;
|
|
1315
1315
|
total: number;
|
|
1316
1316
|
currency: string;
|
|
@@ -1326,7 +1326,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1326
1326
|
success: boolean;
|
|
1327
1327
|
operation: "finalize_invoice";
|
|
1328
1328
|
invoice?: {
|
|
1329
|
-
status: "void" | "
|
|
1329
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1330
1330
|
id: string;
|
|
1331
1331
|
total: number;
|
|
1332
1332
|
currency: string;
|
|
@@ -1354,25 +1354,25 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1354
1354
|
}, "strip", z.ZodTypeAny, {
|
|
1355
1355
|
id: string;
|
|
1356
1356
|
currency: string;
|
|
1357
|
-
amount: number;
|
|
1358
1357
|
customer: string;
|
|
1358
|
+
amount: number;
|
|
1359
1359
|
description?: string | null | undefined;
|
|
1360
1360
|
date?: number | undefined;
|
|
1361
1361
|
metadata?: Record<string, string> | undefined;
|
|
1362
|
-
invoice?: string | null | undefined;
|
|
1363
|
-
unit_amount?: number | null | undefined;
|
|
1364
1362
|
quantity?: number | undefined;
|
|
1363
|
+
unit_amount?: number | null | undefined;
|
|
1364
|
+
invoice?: string | null | undefined;
|
|
1365
1365
|
}, {
|
|
1366
1366
|
id: string;
|
|
1367
1367
|
currency: string;
|
|
1368
|
-
amount: number;
|
|
1369
1368
|
customer: string;
|
|
1369
|
+
amount: number;
|
|
1370
1370
|
description?: string | null | undefined;
|
|
1371
1371
|
date?: number | undefined;
|
|
1372
1372
|
metadata?: Record<string, string> | undefined;
|
|
1373
|
-
invoice?: string | null | undefined;
|
|
1374
|
-
unit_amount?: number | null | undefined;
|
|
1375
1373
|
quantity?: number | undefined;
|
|
1374
|
+
unit_amount?: number | null | undefined;
|
|
1375
|
+
invoice?: string | null | undefined;
|
|
1376
1376
|
}>>;
|
|
1377
1377
|
error: z.ZodString;
|
|
1378
1378
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -1382,14 +1382,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1382
1382
|
invoice_item?: {
|
|
1383
1383
|
id: string;
|
|
1384
1384
|
currency: string;
|
|
1385
|
-
amount: number;
|
|
1386
1385
|
customer: string;
|
|
1386
|
+
amount: number;
|
|
1387
1387
|
description?: string | null | undefined;
|
|
1388
1388
|
date?: number | undefined;
|
|
1389
1389
|
metadata?: Record<string, string> | undefined;
|
|
1390
|
-
invoice?: string | null | undefined;
|
|
1391
|
-
unit_amount?: number | null | undefined;
|
|
1392
1390
|
quantity?: number | undefined;
|
|
1391
|
+
unit_amount?: number | null | undefined;
|
|
1392
|
+
invoice?: string | null | undefined;
|
|
1393
1393
|
} | undefined;
|
|
1394
1394
|
}, {
|
|
1395
1395
|
error: string;
|
|
@@ -1398,14 +1398,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1398
1398
|
invoice_item?: {
|
|
1399
1399
|
id: string;
|
|
1400
1400
|
currency: string;
|
|
1401
|
-
amount: number;
|
|
1402
1401
|
customer: string;
|
|
1402
|
+
amount: number;
|
|
1403
1403
|
description?: string | null | undefined;
|
|
1404
1404
|
date?: number | undefined;
|
|
1405
1405
|
metadata?: Record<string, string> | undefined;
|
|
1406
|
-
invoice?: string | null | undefined;
|
|
1407
|
-
unit_amount?: number | null | undefined;
|
|
1408
1406
|
quantity?: number | undefined;
|
|
1407
|
+
unit_amount?: number | null | undefined;
|
|
1408
|
+
invoice?: string | null | undefined;
|
|
1409
1409
|
} | undefined;
|
|
1410
1410
|
}>, z.ZodObject<{
|
|
1411
1411
|
operation: z.ZodLiteral<"send_invoice">;
|
|
@@ -1422,7 +1422,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1422
1422
|
invoice_pdf: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1423
1423
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1424
1424
|
}, "strip", z.ZodTypeAny, {
|
|
1425
|
-
status: "void" | "
|
|
1425
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1426
1426
|
id: string;
|
|
1427
1427
|
total: number;
|
|
1428
1428
|
currency: string;
|
|
@@ -1433,7 +1433,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1433
1433
|
hosted_invoice_url?: string | null | undefined;
|
|
1434
1434
|
invoice_pdf?: string | null | undefined;
|
|
1435
1435
|
}, {
|
|
1436
|
-
status: "void" | "
|
|
1436
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1437
1437
|
id: string;
|
|
1438
1438
|
total: number;
|
|
1439
1439
|
currency: string;
|
|
@@ -1450,7 +1450,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1450
1450
|
success: boolean;
|
|
1451
1451
|
operation: "send_invoice";
|
|
1452
1452
|
invoice?: {
|
|
1453
|
-
status: "void" | "
|
|
1453
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1454
1454
|
id: string;
|
|
1455
1455
|
total: number;
|
|
1456
1456
|
currency: string;
|
|
@@ -1466,7 +1466,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1466
1466
|
success: boolean;
|
|
1467
1467
|
operation: "send_invoice";
|
|
1468
1468
|
invoice?: {
|
|
1469
|
-
status: "void" | "
|
|
1469
|
+
status: "void" | "open" | "draft" | "paid" | "uncollectible" | null;
|
|
1470
1470
|
id: string;
|
|
1471
1471
|
total: number;
|
|
1472
1472
|
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: "
|
|
1564
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1565
1565
|
id: string;
|
|
1566
1566
|
created: number;
|
|
1567
1567
|
currency: string;
|
|
@@ -1569,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1569
1569
|
metadata?: Record<string, string> | undefined;
|
|
1570
1570
|
customer?: string | null | undefined;
|
|
1571
1571
|
}, {
|
|
1572
|
-
status: "
|
|
1572
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1573
1573
|
id: string;
|
|
1574
1574
|
created: number;
|
|
1575
1575
|
currency: string;
|
|
@@ -1583,7 +1583,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1583
1583
|
success: boolean;
|
|
1584
1584
|
operation: "list_payment_intents";
|
|
1585
1585
|
payment_intents?: {
|
|
1586
|
-
status: "
|
|
1586
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1587
1587
|
id: string;
|
|
1588
1588
|
created: number;
|
|
1589
1589
|
currency: string;
|
|
@@ -1596,7 +1596,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1596
1596
|
success: boolean;
|
|
1597
1597
|
operation: "list_payment_intents";
|
|
1598
1598
|
payment_intents?: {
|
|
1599
|
-
status: "
|
|
1599
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1600
1600
|
id: string;
|
|
1601
1601
|
created: number;
|
|
1602
1602
|
currency: string;
|
|
@@ -1617,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1617
1617
|
created: z.ZodNumber;
|
|
1618
1618
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1619
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1620
|
-
status: "
|
|
1620
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1621
1621
|
id: string;
|
|
1622
1622
|
created: number;
|
|
1623
1623
|
customer: string;
|
|
@@ -1626,7 +1626,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1626
1626
|
current_period_start?: number | undefined;
|
|
1627
1627
|
current_period_end?: number | undefined;
|
|
1628
1628
|
}, {
|
|
1629
|
-
status: "
|
|
1629
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1630
1630
|
id: string;
|
|
1631
1631
|
created: number;
|
|
1632
1632
|
customer: string;
|
|
@@ -1641,7 +1641,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1641
1641
|
success: boolean;
|
|
1642
1642
|
operation: "list_subscriptions";
|
|
1643
1643
|
subscriptions?: {
|
|
1644
|
-
status: "
|
|
1644
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1645
1645
|
id: string;
|
|
1646
1646
|
created: number;
|
|
1647
1647
|
customer: string;
|
|
@@ -1655,7 +1655,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1655
1655
|
success: boolean;
|
|
1656
1656
|
operation: "list_subscriptions";
|
|
1657
1657
|
subscriptions?: {
|
|
1658
|
-
status: "
|
|
1658
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1659
1659
|
id: string;
|
|
1660
1660
|
created: number;
|
|
1661
1661
|
customer: string;
|
|
@@ -1677,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1677
1677
|
created: z.ZodNumber;
|
|
1678
1678
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1679
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1680
|
-
status: "
|
|
1680
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1681
1681
|
id: string;
|
|
1682
1682
|
created: number;
|
|
1683
1683
|
customer: string;
|
|
@@ -1686,7 +1686,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1686
1686
|
current_period_start?: number | undefined;
|
|
1687
1687
|
current_period_end?: number | undefined;
|
|
1688
1688
|
}, {
|
|
1689
|
-
status: "
|
|
1689
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1690
1690
|
id: string;
|
|
1691
1691
|
created: number;
|
|
1692
1692
|
customer: string;
|
|
@@ -1701,7 +1701,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1701
1701
|
success: boolean;
|
|
1702
1702
|
operation: "cancel_subscription";
|
|
1703
1703
|
subscription?: {
|
|
1704
|
-
status: "
|
|
1704
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1705
1705
|
id: string;
|
|
1706
1706
|
created: number;
|
|
1707
1707
|
customer: string;
|
|
@@ -1715,7 +1715,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1715
1715
|
success: boolean;
|
|
1716
1716
|
operation: "cancel_subscription";
|
|
1717
1717
|
subscription?: {
|
|
1718
|
-
status: "
|
|
1718
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1719
1719
|
id: string;
|
|
1720
1720
|
created: number;
|
|
1721
1721
|
customer: string;
|
|
@@ -1734,14 +1734,14 @@ 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
1740
|
metadata?: Record<string, string> | undefined;
|
|
1741
1741
|
created?: number | undefined;
|
|
1742
1742
|
}, {
|
|
1743
|
-
id: string;
|
|
1744
1743
|
url: string;
|
|
1744
|
+
id: string;
|
|
1745
1745
|
active: boolean;
|
|
1746
1746
|
metadata?: Record<string, string> | undefined;
|
|
1747
1747
|
created?: number | undefined;
|
|
@@ -1752,8 +1752,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1752
1752
|
success: boolean;
|
|
1753
1753
|
operation: "list_payment_links";
|
|
1754
1754
|
payment_links?: {
|
|
1755
|
-
id: string;
|
|
1756
1755
|
url: string;
|
|
1756
|
+
id: string;
|
|
1757
1757
|
active: boolean;
|
|
1758
1758
|
metadata?: Record<string, string> | undefined;
|
|
1759
1759
|
created?: number | undefined;
|
|
@@ -1763,8 +1763,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1763
1763
|
success: boolean;
|
|
1764
1764
|
operation: "list_payment_links";
|
|
1765
1765
|
payment_links?: {
|
|
1766
|
-
id: string;
|
|
1767
1766
|
url: string;
|
|
1767
|
+
id: string;
|
|
1768
1768
|
active: boolean;
|
|
1769
1769
|
metadata?: Record<string, string> | undefined;
|
|
1770
1770
|
created?: number | undefined;
|
|
@@ -1782,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1782
1782
|
created: z.ZodNumber;
|
|
1783
1783
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1784
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1785
|
-
status: "
|
|
1785
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1786
1786
|
id: string;
|
|
1787
1787
|
created: number;
|
|
1788
1788
|
customer: string;
|
|
@@ -1791,7 +1791,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1791
1791
|
current_period_start?: number | undefined;
|
|
1792
1792
|
current_period_end?: number | undefined;
|
|
1793
1793
|
}, {
|
|
1794
|
-
status: "
|
|
1794
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1795
1795
|
id: string;
|
|
1796
1796
|
created: number;
|
|
1797
1797
|
customer: string;
|
|
@@ -1806,7 +1806,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1806
1806
|
success: boolean;
|
|
1807
1807
|
operation: "create_subscription";
|
|
1808
1808
|
subscription?: {
|
|
1809
|
-
status: "
|
|
1809
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1810
1810
|
id: string;
|
|
1811
1811
|
created: number;
|
|
1812
1812
|
customer: string;
|
|
@@ -1820,7 +1820,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1820
1820
|
success: boolean;
|
|
1821
1821
|
operation: "create_subscription";
|
|
1822
1822
|
subscription?: {
|
|
1823
|
-
status: "
|
|
1823
|
+
status: "active" | "paused" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1824
1824
|
id: string;
|
|
1825
1825
|
created: number;
|
|
1826
1826
|
customer: string;
|