@bubblelab/bubble-core 0.1.102 → 0.1.103
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 +113 -113
- package/dist/bubbles/service-bubble/agi-inc.d.ts +88 -88
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +118 -118
- package/dist/bubbles/service-bubble/apify/apify.d.ts +30 -30
- package/dist/bubbles/service-bubble/ashby/ashby.d.ts +68 -68
- package/dist/bubbles/service-bubble/ashby/ashby.schema.d.ts +92 -92
- package/dist/bubbles/service-bubble/browserbase/browserbase.d.ts +26 -26
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +126 -126
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +28 -28
- package/dist/bubbles/service-bubble/firecrawl.d.ts +836 -836
- package/dist/bubbles/service-bubble/followupboss.d.ts +144 -144
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +68 -68
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +176 -176
- package/dist/bubbles/service-bubble/gmail.d.ts +240 -240
- package/dist/bubbles/service-bubble/google-calendar.d.ts +138 -138
- package/dist/bubbles/service-bubble/google-drive.d.ts +52 -52
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +32 -32
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/hello-world.d.ts +8 -8
- package/dist/bubbles/service-bubble/http.d.ts +16 -16
- package/dist/bubbles/service-bubble/insforge-db.d.ts +16 -16
- package/dist/bubbles/service-bubble/jira/jira.d.ts +66 -66
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
- package/dist/bubbles/service-bubble/notion/notion.d.ts +2089 -2089
- package/dist/bubbles/service-bubble/postgresql.d.ts +16 -16
- package/dist/bubbles/service-bubble/resend.d.ts +28 -28
- package/dist/bubbles/service-bubble/slack/slack.d.ts +440 -440
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +134 -125
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +21 -13
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +152 -143
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +13 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +1537 -1537
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +15 -15
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.schema.d.ts +15 -15
- package/dist/bubbles/tool-bubble/bubbleflow-validation-tool.d.ts +20 -20
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +62 -62
- package/dist/bubbles/tool-bubble/get-bubble-details-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/get-trigger-detail-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/google-maps-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.schema.d.ts +2 -2
- package/dist/bubbles/tool-bubble/linkedin-tool.d.ts +331 -331
- 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/people-search-tool.d.ts +122 -122
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +24 -24
- package/dist/bubbles/tool-bubble/research-agent-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/sql-query-tool.d.ts +8 -8
- package/dist/bubbles/tool-bubble/tiktok-tool.d.ts +68 -68
- package/dist/bubbles/tool-bubble/tool-template.d.ts +4 -4
- package/dist/bubbles/tool-bubble/twitter-tool.d.ts +150 -150
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +22 -22
- 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 +8 -8
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +54 -54
- 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 +40 -40
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +72 -72
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +32 -32
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +96 -96
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +8 -8
- package/dist/bubbles.json +15 -2
- package/package.json +2 -2
|
@@ -51,21 +51,21 @@ export declare const StripePriceSchema: z.ZodObject<{
|
|
|
51
51
|
created: z.ZodNumber;
|
|
52
52
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
53
53
|
}, "strip", z.ZodTypeAny, {
|
|
54
|
-
type: "
|
|
54
|
+
type: "one_time" | "recurring";
|
|
55
55
|
id: string;
|
|
56
56
|
created: number;
|
|
57
57
|
currency: string;
|
|
58
|
-
product: string;
|
|
59
58
|
active: boolean;
|
|
59
|
+
product: string;
|
|
60
60
|
unit_amount: number | null;
|
|
61
61
|
metadata?: Record<string, string> | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
type: "
|
|
63
|
+
type: "one_time" | "recurring";
|
|
64
64
|
id: string;
|
|
65
65
|
created: number;
|
|
66
66
|
currency: string;
|
|
67
|
-
product: string;
|
|
68
67
|
active: boolean;
|
|
68
|
+
product: string;
|
|
69
69
|
unit_amount: number | null;
|
|
70
70
|
metadata?: Record<string, string> | undefined;
|
|
71
71
|
}>;
|
|
@@ -79,14 +79,14 @@ export declare const StripePaymentLinkSchema: z.ZodObject<{
|
|
|
79
79
|
url: string;
|
|
80
80
|
id: string;
|
|
81
81
|
active: boolean;
|
|
82
|
-
created?: number | undefined;
|
|
83
82
|
metadata?: Record<string, string> | undefined;
|
|
83
|
+
created?: number | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
url: string;
|
|
86
86
|
id: string;
|
|
87
87
|
active: boolean;
|
|
88
|
-
created?: number | undefined;
|
|
89
88
|
metadata?: Record<string, string> | undefined;
|
|
89
|
+
created?: number | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
@@ -105,8 +105,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
105
105
|
total: number;
|
|
106
106
|
currency: string;
|
|
107
107
|
customer: string | null;
|
|
108
|
-
created?: number | undefined;
|
|
109
108
|
metadata?: Record<string, string> | undefined;
|
|
109
|
+
created?: number | undefined;
|
|
110
110
|
due_date?: string | null | undefined;
|
|
111
111
|
hosted_invoice_url?: string | null | undefined;
|
|
112
112
|
invoice_pdf?: string | null | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
116
116
|
total: number;
|
|
117
117
|
currency: string;
|
|
118
118
|
customer: string | null;
|
|
119
|
-
created?: number | undefined;
|
|
120
119
|
metadata?: Record<string, string> | undefined;
|
|
120
|
+
created?: number | undefined;
|
|
121
121
|
due_date?: string | null | undefined;
|
|
122
122
|
hosted_invoice_url?: string | null | undefined;
|
|
123
123
|
invoice_pdf?: string | null | undefined;
|
|
@@ -141,9 +141,9 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
|
|
|
141
141
|
description?: string | null | undefined;
|
|
142
142
|
date?: number | undefined;
|
|
143
143
|
metadata?: Record<string, string> | undefined;
|
|
144
|
-
quantity?: number | undefined;
|
|
145
144
|
unit_amount?: number | null | undefined;
|
|
146
145
|
invoice?: string | null | undefined;
|
|
146
|
+
quantity?: number | undefined;
|
|
147
147
|
}, {
|
|
148
148
|
id: string;
|
|
149
149
|
currency: string;
|
|
@@ -152,9 +152,9 @@ export declare const StripeInvoiceItemSchema: z.ZodObject<{
|
|
|
152
152
|
description?: string | null | undefined;
|
|
153
153
|
date?: number | undefined;
|
|
154
154
|
metadata?: Record<string, string> | undefined;
|
|
155
|
-
quantity?: number | undefined;
|
|
156
155
|
unit_amount?: number | null | undefined;
|
|
157
156
|
invoice?: string | null | undefined;
|
|
157
|
+
quantity?: number | undefined;
|
|
158
158
|
}>;
|
|
159
159
|
export declare const StripeBalanceSchema: z.ZodObject<{
|
|
160
160
|
available: z.ZodArray<z.ZodObject<{
|
|
@@ -178,20 +178,20 @@ export declare const StripeBalanceSchema: z.ZodObject<{
|
|
|
178
178
|
amount: number;
|
|
179
179
|
}>, "many">;
|
|
180
180
|
}, "strip", z.ZodTypeAny, {
|
|
181
|
-
|
|
181
|
+
pending: {
|
|
182
182
|
currency: string;
|
|
183
183
|
amount: number;
|
|
184
184
|
}[];
|
|
185
|
-
|
|
185
|
+
available: {
|
|
186
186
|
currency: string;
|
|
187
187
|
amount: number;
|
|
188
188
|
}[];
|
|
189
189
|
}, {
|
|
190
|
-
|
|
190
|
+
pending: {
|
|
191
191
|
currency: string;
|
|
192
192
|
amount: number;
|
|
193
193
|
}[];
|
|
194
|
-
|
|
194
|
+
available: {
|
|
195
195
|
currency: string;
|
|
196
196
|
amount: number;
|
|
197
197
|
}[];
|
|
@@ -205,7 +205,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
205
205
|
created: z.ZodNumber;
|
|
206
206
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
207
207
|
}, "strip", z.ZodTypeAny, {
|
|
208
|
-
status: "
|
|
208
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
209
209
|
id: string;
|
|
210
210
|
created: number;
|
|
211
211
|
currency: string;
|
|
@@ -213,7 +213,7 @@ export declare const StripePaymentIntentSchema: z.ZodObject<{
|
|
|
213
213
|
metadata?: Record<string, string> | undefined;
|
|
214
214
|
customer?: string | null | undefined;
|
|
215
215
|
}, {
|
|
216
|
-
status: "
|
|
216
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
217
217
|
id: string;
|
|
218
218
|
created: number;
|
|
219
219
|
currency: string;
|
|
@@ -231,7 +231,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
231
231
|
created: z.ZodNumber;
|
|
232
232
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
233
233
|
}, "strip", z.ZodTypeAny, {
|
|
234
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
234
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
235
235
|
id: string;
|
|
236
236
|
created: number;
|
|
237
237
|
customer: string;
|
|
@@ -240,7 +240,7 @@ export declare const StripeSubscriptionSchema: z.ZodObject<{
|
|
|
240
240
|
current_period_start?: number | undefined;
|
|
241
241
|
current_period_end?: number | undefined;
|
|
242
242
|
}, {
|
|
243
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
243
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
244
244
|
id: string;
|
|
245
245
|
created: number;
|
|
246
246
|
customer: string;
|
|
@@ -258,14 +258,14 @@ 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;
|
|
262
261
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
|
+
email?: string | undefined;
|
|
263
263
|
metadata?: Record<string, string> | undefined;
|
|
264
264
|
}, {
|
|
265
265
|
name: string;
|
|
266
266
|
operation: "create_customer";
|
|
267
|
-
email?: string | undefined;
|
|
268
267
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
268
|
+
email?: string | undefined;
|
|
269
269
|
metadata?: Record<string, string> | undefined;
|
|
270
270
|
}>, z.ZodObject<{
|
|
271
271
|
operation: z.ZodLiteral<"list_customers">;
|
|
@@ -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
|
-
email?: string | undefined;
|
|
280
279
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
280
|
+
email?: string | undefined;
|
|
281
281
|
cursor?: string | undefined;
|
|
282
282
|
}, {
|
|
283
283
|
operation: "list_customers";
|
|
284
|
-
email?: string | undefined;
|
|
285
284
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
285
|
+
email?: string | undefined;
|
|
286
286
|
limit?: number | undefined;
|
|
287
287
|
cursor?: string | undefined;
|
|
288
288
|
}>, z.ZodObject<{
|
|
@@ -379,14 +379,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
379
379
|
operation: "list_prices";
|
|
380
380
|
limit: number;
|
|
381
381
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
382
|
-
product?: string | undefined;
|
|
383
382
|
active?: boolean | undefined;
|
|
383
|
+
product?: string | undefined;
|
|
384
384
|
}, {
|
|
385
385
|
operation: "list_prices";
|
|
386
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
387
387
|
limit?: number | undefined;
|
|
388
|
-
product?: string | undefined;
|
|
389
388
|
active?: boolean | undefined;
|
|
389
|
+
product?: string | undefined;
|
|
390
390
|
}>, z.ZodObject<{
|
|
391
391
|
operation: z.ZodLiteral<"create_payment_link">;
|
|
392
392
|
price: z.ZodString;
|
|
@@ -419,8 +419,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
419
419
|
description: z.ZodOptional<z.ZodString>;
|
|
420
420
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
421
421
|
}, "strip", z.ZodTypeAny, {
|
|
422
|
-
quantity: number;
|
|
423
422
|
unit_amount: number;
|
|
423
|
+
quantity: number;
|
|
424
424
|
description?: string | undefined;
|
|
425
425
|
}, {
|
|
426
426
|
unit_amount: number;
|
|
@@ -435,8 +435,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
435
435
|
auto_advance: boolean;
|
|
436
436
|
collection_method: "charge_automatically" | "send_invoice";
|
|
437
437
|
items?: {
|
|
438
|
-
quantity: number;
|
|
439
438
|
unit_amount: number;
|
|
439
|
+
quantity: number;
|
|
440
440
|
description?: string | undefined;
|
|
441
441
|
}[] | undefined;
|
|
442
442
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -460,18 +460,21 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
460
460
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
461
461
|
customer: z.ZodOptional<z.ZodString>;
|
|
462
462
|
status: z.ZodOptional<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
|
|
463
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
463
464
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
464
465
|
}, "strip", z.ZodTypeAny, {
|
|
465
466
|
operation: "list_invoices";
|
|
466
467
|
limit: number;
|
|
467
468
|
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
468
469
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
470
|
+
cursor?: string | undefined;
|
|
469
471
|
customer?: string | undefined;
|
|
470
472
|
}, {
|
|
471
473
|
operation: "list_invoices";
|
|
472
474
|
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
473
475
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
474
476
|
limit?: number | undefined;
|
|
477
|
+
cursor?: string | undefined;
|
|
475
478
|
customer?: string | undefined;
|
|
476
479
|
}>, z.ZodObject<{
|
|
477
480
|
operation: z.ZodLiteral<"retrieve_invoice">;
|
|
@@ -513,9 +516,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
513
516
|
}, "strip", z.ZodTypeAny, {
|
|
514
517
|
operation: "create_invoice_item";
|
|
515
518
|
currency: string;
|
|
516
|
-
quantity: number;
|
|
517
519
|
unit_amount: number;
|
|
518
520
|
customer: string;
|
|
521
|
+
quantity: number;
|
|
519
522
|
description?: string | undefined;
|
|
520
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
521
524
|
metadata?: Record<string, string> | undefined;
|
|
@@ -528,8 +531,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
528
531
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
529
532
|
metadata?: Record<string, string> | undefined;
|
|
530
533
|
currency?: string | undefined;
|
|
531
|
-
quantity?: number | undefined;
|
|
532
534
|
invoice?: string | undefined;
|
|
535
|
+
quantity?: number | undefined;
|
|
533
536
|
}>, z.ZodObject<{
|
|
534
537
|
operation: z.ZodLiteral<"send_invoice">;
|
|
535
538
|
invoice_id: z.ZodString;
|
|
@@ -575,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
575
578
|
}, "strip", z.ZodTypeAny, {
|
|
576
579
|
operation: "list_subscriptions";
|
|
577
580
|
limit: number;
|
|
578
|
-
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
581
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
579
582
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
580
583
|
customer?: string | undefined;
|
|
581
584
|
}, {
|
|
582
585
|
operation: "list_subscriptions";
|
|
583
|
-
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
586
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
584
587
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
585
588
|
limit?: number | undefined;
|
|
586
589
|
customer?: string | undefined;
|
|
@@ -591,8 +594,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
591
594
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
592
595
|
}, "strip", z.ZodTypeAny, {
|
|
593
596
|
operation: "cancel_subscription";
|
|
594
|
-
subscription_id: string;
|
|
595
597
|
cancel_at_period_end: boolean;
|
|
598
|
+
subscription_id: string;
|
|
596
599
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
597
600
|
}, {
|
|
598
601
|
operation: "cancel_subscription";
|
|
@@ -663,8 +666,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
663
666
|
}>>;
|
|
664
667
|
error: z.ZodString;
|
|
665
668
|
}, "strip", z.ZodTypeAny, {
|
|
666
|
-
success: boolean;
|
|
667
669
|
error: string;
|
|
670
|
+
success: boolean;
|
|
668
671
|
operation: "create_customer";
|
|
669
672
|
customer?: {
|
|
670
673
|
id: string;
|
|
@@ -674,8 +677,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
674
677
|
metadata?: Record<string, string> | undefined;
|
|
675
678
|
} | undefined;
|
|
676
679
|
}, {
|
|
677
|
-
success: boolean;
|
|
678
680
|
error: string;
|
|
681
|
+
success: boolean;
|
|
679
682
|
operation: "create_customer";
|
|
680
683
|
customer?: {
|
|
681
684
|
id: string;
|
|
@@ -710,8 +713,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
710
713
|
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
711
714
|
error: z.ZodString;
|
|
712
715
|
}, "strip", z.ZodTypeAny, {
|
|
713
|
-
success: boolean;
|
|
714
716
|
error: string;
|
|
717
|
+
success: boolean;
|
|
715
718
|
operation: "list_customers";
|
|
716
719
|
next_cursor?: string | null | undefined;
|
|
717
720
|
has_more?: boolean | undefined;
|
|
@@ -723,8 +726,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
723
726
|
metadata?: Record<string, string> | undefined;
|
|
724
727
|
}[] | undefined;
|
|
725
728
|
}, {
|
|
726
|
-
success: boolean;
|
|
727
729
|
error: string;
|
|
730
|
+
success: boolean;
|
|
728
731
|
operation: "list_customers";
|
|
729
732
|
next_cursor?: string | null | undefined;
|
|
730
733
|
has_more?: boolean | undefined;
|
|
@@ -760,8 +763,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
760
763
|
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
761
764
|
error: z.ZodString;
|
|
762
765
|
}, "strip", z.ZodTypeAny, {
|
|
763
|
-
success: boolean;
|
|
764
766
|
error: string;
|
|
767
|
+
success: boolean;
|
|
765
768
|
operation: "retrieve_customer";
|
|
766
769
|
deleted?: boolean | undefined;
|
|
767
770
|
customer?: {
|
|
@@ -772,8 +775,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
772
775
|
metadata?: Record<string, string> | undefined;
|
|
773
776
|
} | undefined;
|
|
774
777
|
}, {
|
|
775
|
-
success: boolean;
|
|
776
778
|
error: string;
|
|
779
|
+
success: boolean;
|
|
777
780
|
operation: "retrieve_customer";
|
|
778
781
|
deleted?: boolean | undefined;
|
|
779
782
|
customer?: {
|
|
@@ -810,8 +813,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
810
813
|
}>>;
|
|
811
814
|
error: z.ZodString;
|
|
812
815
|
}, "strip", z.ZodTypeAny, {
|
|
813
|
-
success: boolean;
|
|
814
816
|
error: string;
|
|
817
|
+
success: boolean;
|
|
815
818
|
operation: "create_product";
|
|
816
819
|
product?: {
|
|
817
820
|
name: string;
|
|
@@ -822,8 +825,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
822
825
|
metadata?: Record<string, string> | undefined;
|
|
823
826
|
} | undefined;
|
|
824
827
|
}, {
|
|
825
|
-
success: boolean;
|
|
826
828
|
error: string;
|
|
829
|
+
success: boolean;
|
|
827
830
|
operation: "create_product";
|
|
828
831
|
product?: {
|
|
829
832
|
name: string;
|
|
@@ -860,8 +863,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
860
863
|
}>, "many">>;
|
|
861
864
|
error: z.ZodString;
|
|
862
865
|
}, "strip", z.ZodTypeAny, {
|
|
863
|
-
success: boolean;
|
|
864
866
|
error: string;
|
|
867
|
+
success: boolean;
|
|
865
868
|
operation: "list_products";
|
|
866
869
|
products?: {
|
|
867
870
|
name: string;
|
|
@@ -872,8 +875,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
872
875
|
metadata?: Record<string, string> | undefined;
|
|
873
876
|
}[] | undefined;
|
|
874
877
|
}, {
|
|
875
|
-
success: boolean;
|
|
876
878
|
error: string;
|
|
879
|
+
success: boolean;
|
|
877
880
|
operation: "list_products";
|
|
878
881
|
products?: {
|
|
879
882
|
name: string;
|
|
@@ -896,50 +899,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
896
899
|
created: z.ZodNumber;
|
|
897
900
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
898
901
|
}, "strip", z.ZodTypeAny, {
|
|
899
|
-
type: "
|
|
902
|
+
type: "one_time" | "recurring";
|
|
900
903
|
id: string;
|
|
901
904
|
created: number;
|
|
902
905
|
currency: string;
|
|
903
|
-
product: string;
|
|
904
906
|
active: boolean;
|
|
907
|
+
product: string;
|
|
905
908
|
unit_amount: number | null;
|
|
906
909
|
metadata?: Record<string, string> | undefined;
|
|
907
910
|
}, {
|
|
908
|
-
type: "
|
|
911
|
+
type: "one_time" | "recurring";
|
|
909
912
|
id: string;
|
|
910
913
|
created: number;
|
|
911
914
|
currency: string;
|
|
912
|
-
product: string;
|
|
913
915
|
active: boolean;
|
|
916
|
+
product: string;
|
|
914
917
|
unit_amount: number | null;
|
|
915
918
|
metadata?: Record<string, string> | undefined;
|
|
916
919
|
}>>;
|
|
917
920
|
error: z.ZodString;
|
|
918
921
|
}, "strip", z.ZodTypeAny, {
|
|
919
|
-
success: boolean;
|
|
920
922
|
error: string;
|
|
923
|
+
success: boolean;
|
|
921
924
|
operation: "create_price";
|
|
922
925
|
price?: {
|
|
923
|
-
type: "
|
|
926
|
+
type: "one_time" | "recurring";
|
|
924
927
|
id: string;
|
|
925
928
|
created: number;
|
|
926
929
|
currency: string;
|
|
927
|
-
product: string;
|
|
928
930
|
active: boolean;
|
|
931
|
+
product: string;
|
|
929
932
|
unit_amount: number | null;
|
|
930
933
|
metadata?: Record<string, string> | undefined;
|
|
931
934
|
} | undefined;
|
|
932
935
|
}, {
|
|
933
|
-
success: boolean;
|
|
934
936
|
error: string;
|
|
937
|
+
success: boolean;
|
|
935
938
|
operation: "create_price";
|
|
936
939
|
price?: {
|
|
937
|
-
type: "
|
|
940
|
+
type: "one_time" | "recurring";
|
|
938
941
|
id: string;
|
|
939
942
|
created: number;
|
|
940
943
|
currency: string;
|
|
941
|
-
product: string;
|
|
942
944
|
active: boolean;
|
|
945
|
+
product: string;
|
|
943
946
|
unit_amount: number | null;
|
|
944
947
|
metadata?: Record<string, string> | undefined;
|
|
945
948
|
} | undefined;
|
|
@@ -956,50 +959,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
956
959
|
created: z.ZodNumber;
|
|
957
960
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
958
961
|
}, "strip", z.ZodTypeAny, {
|
|
959
|
-
type: "
|
|
962
|
+
type: "one_time" | "recurring";
|
|
960
963
|
id: string;
|
|
961
964
|
created: number;
|
|
962
965
|
currency: string;
|
|
963
|
-
product: string;
|
|
964
966
|
active: boolean;
|
|
967
|
+
product: string;
|
|
965
968
|
unit_amount: number | null;
|
|
966
969
|
metadata?: Record<string, string> | undefined;
|
|
967
970
|
}, {
|
|
968
|
-
type: "
|
|
971
|
+
type: "one_time" | "recurring";
|
|
969
972
|
id: string;
|
|
970
973
|
created: number;
|
|
971
974
|
currency: string;
|
|
972
|
-
product: string;
|
|
973
975
|
active: boolean;
|
|
976
|
+
product: string;
|
|
974
977
|
unit_amount: number | null;
|
|
975
978
|
metadata?: Record<string, string> | undefined;
|
|
976
979
|
}>, "many">>;
|
|
977
980
|
error: z.ZodString;
|
|
978
981
|
}, "strip", z.ZodTypeAny, {
|
|
979
|
-
success: boolean;
|
|
980
982
|
error: string;
|
|
983
|
+
success: boolean;
|
|
981
984
|
operation: "list_prices";
|
|
982
985
|
prices?: {
|
|
983
|
-
type: "
|
|
986
|
+
type: "one_time" | "recurring";
|
|
984
987
|
id: string;
|
|
985
988
|
created: number;
|
|
986
989
|
currency: string;
|
|
987
|
-
product: string;
|
|
988
990
|
active: boolean;
|
|
991
|
+
product: string;
|
|
989
992
|
unit_amount: number | null;
|
|
990
993
|
metadata?: Record<string, string> | undefined;
|
|
991
994
|
}[] | undefined;
|
|
992
995
|
}, {
|
|
993
|
-
success: boolean;
|
|
994
996
|
error: string;
|
|
997
|
+
success: boolean;
|
|
995
998
|
operation: "list_prices";
|
|
996
999
|
prices?: {
|
|
997
|
-
type: "
|
|
1000
|
+
type: "one_time" | "recurring";
|
|
998
1001
|
id: string;
|
|
999
1002
|
created: number;
|
|
1000
1003
|
currency: string;
|
|
1001
|
-
product: string;
|
|
1002
1004
|
active: boolean;
|
|
1005
|
+
product: string;
|
|
1003
1006
|
unit_amount: number | null;
|
|
1004
1007
|
metadata?: Record<string, string> | undefined;
|
|
1005
1008
|
}[] | undefined;
|
|
@@ -1016,37 +1019,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1016
1019
|
url: string;
|
|
1017
1020
|
id: string;
|
|
1018
1021
|
active: boolean;
|
|
1019
|
-
created?: number | undefined;
|
|
1020
1022
|
metadata?: Record<string, string> | undefined;
|
|
1023
|
+
created?: number | undefined;
|
|
1021
1024
|
}, {
|
|
1022
1025
|
url: string;
|
|
1023
1026
|
id: string;
|
|
1024
1027
|
active: boolean;
|
|
1025
|
-
created?: number | undefined;
|
|
1026
1028
|
metadata?: Record<string, string> | undefined;
|
|
1029
|
+
created?: number | undefined;
|
|
1027
1030
|
}>>;
|
|
1028
1031
|
error: z.ZodString;
|
|
1029
1032
|
}, "strip", z.ZodTypeAny, {
|
|
1030
|
-
success: boolean;
|
|
1031
1033
|
error: string;
|
|
1034
|
+
success: boolean;
|
|
1032
1035
|
operation: "create_payment_link";
|
|
1033
1036
|
payment_link?: {
|
|
1034
1037
|
url: string;
|
|
1035
1038
|
id: string;
|
|
1036
1039
|
active: boolean;
|
|
1037
|
-
created?: number | undefined;
|
|
1038
1040
|
metadata?: Record<string, string> | undefined;
|
|
1041
|
+
created?: number | undefined;
|
|
1039
1042
|
} | undefined;
|
|
1040
1043
|
}, {
|
|
1041
|
-
success: boolean;
|
|
1042
1044
|
error: string;
|
|
1045
|
+
success: boolean;
|
|
1043
1046
|
operation: "create_payment_link";
|
|
1044
1047
|
payment_link?: {
|
|
1045
1048
|
url: string;
|
|
1046
1049
|
id: string;
|
|
1047
1050
|
active: boolean;
|
|
1048
|
-
created?: number | undefined;
|
|
1049
1051
|
metadata?: Record<string, string> | undefined;
|
|
1052
|
+
created?: number | undefined;
|
|
1050
1053
|
} | undefined;
|
|
1051
1054
|
}>, z.ZodObject<{
|
|
1052
1055
|
operation: z.ZodLiteral<"create_invoice">;
|
|
@@ -1068,8 +1071,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1068
1071
|
total: number;
|
|
1069
1072
|
currency: string;
|
|
1070
1073
|
customer: string | null;
|
|
1071
|
-
created?: number | undefined;
|
|
1072
1074
|
metadata?: Record<string, string> | undefined;
|
|
1075
|
+
created?: number | undefined;
|
|
1073
1076
|
due_date?: string | null | undefined;
|
|
1074
1077
|
hosted_invoice_url?: string | null | undefined;
|
|
1075
1078
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1079,16 +1082,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1079
1082
|
total: number;
|
|
1080
1083
|
currency: string;
|
|
1081
1084
|
customer: string | null;
|
|
1082
|
-
created?: number | undefined;
|
|
1083
1085
|
metadata?: Record<string, string> | undefined;
|
|
1086
|
+
created?: number | undefined;
|
|
1084
1087
|
due_date?: string | null | undefined;
|
|
1085
1088
|
hosted_invoice_url?: string | null | undefined;
|
|
1086
1089
|
invoice_pdf?: string | null | undefined;
|
|
1087
1090
|
}>>;
|
|
1088
1091
|
error: z.ZodString;
|
|
1089
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1090
|
-
success: boolean;
|
|
1091
1093
|
error: string;
|
|
1094
|
+
success: boolean;
|
|
1092
1095
|
operation: "create_invoice";
|
|
1093
1096
|
invoice?: {
|
|
1094
1097
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1096,15 +1099,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1096
1099
|
total: number;
|
|
1097
1100
|
currency: string;
|
|
1098
1101
|
customer: string | null;
|
|
1099
|
-
created?: number | undefined;
|
|
1100
1102
|
metadata?: Record<string, string> | undefined;
|
|
1103
|
+
created?: number | undefined;
|
|
1101
1104
|
due_date?: string | null | undefined;
|
|
1102
1105
|
hosted_invoice_url?: string | null | undefined;
|
|
1103
1106
|
invoice_pdf?: string | null | undefined;
|
|
1104
1107
|
} | undefined;
|
|
1105
1108
|
}, {
|
|
1106
|
-
success: boolean;
|
|
1107
1109
|
error: string;
|
|
1110
|
+
success: boolean;
|
|
1108
1111
|
operation: "create_invoice";
|
|
1109
1112
|
invoice?: {
|
|
1110
1113
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1112,8 +1115,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1112
1115
|
total: number;
|
|
1113
1116
|
currency: string;
|
|
1114
1117
|
customer: string | null;
|
|
1115
|
-
created?: number | undefined;
|
|
1116
1118
|
metadata?: Record<string, string> | undefined;
|
|
1119
|
+
created?: number | undefined;
|
|
1117
1120
|
due_date?: string | null | undefined;
|
|
1118
1121
|
hosted_invoice_url?: string | null | undefined;
|
|
1119
1122
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1138,8 +1141,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1138
1141
|
total: number;
|
|
1139
1142
|
currency: string;
|
|
1140
1143
|
customer: string | null;
|
|
1141
|
-
created?: number | undefined;
|
|
1142
1144
|
metadata?: Record<string, string> | undefined;
|
|
1145
|
+
created?: number | undefined;
|
|
1143
1146
|
due_date?: string | null | undefined;
|
|
1144
1147
|
hosted_invoice_url?: string | null | undefined;
|
|
1145
1148
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1149,41 +1152,47 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1149
1152
|
total: number;
|
|
1150
1153
|
currency: string;
|
|
1151
1154
|
customer: string | null;
|
|
1152
|
-
created?: number | undefined;
|
|
1153
1155
|
metadata?: Record<string, string> | undefined;
|
|
1156
|
+
created?: number | undefined;
|
|
1154
1157
|
due_date?: string | null | undefined;
|
|
1155
1158
|
hosted_invoice_url?: string | null | undefined;
|
|
1156
1159
|
invoice_pdf?: string | null | undefined;
|
|
1157
1160
|
}>, "many">>;
|
|
1161
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
1162
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1158
1163
|
error: z.ZodString;
|
|
1159
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1160
|
-
success: boolean;
|
|
1161
1165
|
error: string;
|
|
1166
|
+
success: boolean;
|
|
1162
1167
|
operation: "list_invoices";
|
|
1168
|
+
next_cursor?: string | null | undefined;
|
|
1169
|
+
has_more?: boolean | undefined;
|
|
1163
1170
|
invoices?: {
|
|
1164
1171
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1165
1172
|
id: string;
|
|
1166
1173
|
total: number;
|
|
1167
1174
|
currency: string;
|
|
1168
1175
|
customer: string | null;
|
|
1169
|
-
created?: number | undefined;
|
|
1170
1176
|
metadata?: Record<string, string> | undefined;
|
|
1177
|
+
created?: number | undefined;
|
|
1171
1178
|
due_date?: string | null | undefined;
|
|
1172
1179
|
hosted_invoice_url?: string | null | undefined;
|
|
1173
1180
|
invoice_pdf?: string | null | undefined;
|
|
1174
1181
|
}[] | undefined;
|
|
1175
1182
|
}, {
|
|
1176
|
-
success: boolean;
|
|
1177
1183
|
error: string;
|
|
1184
|
+
success: boolean;
|
|
1178
1185
|
operation: "list_invoices";
|
|
1186
|
+
next_cursor?: string | null | undefined;
|
|
1187
|
+
has_more?: boolean | undefined;
|
|
1179
1188
|
invoices?: {
|
|
1180
1189
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1181
1190
|
id: string;
|
|
1182
1191
|
total: number;
|
|
1183
1192
|
currency: string;
|
|
1184
1193
|
customer: string | null;
|
|
1185
|
-
created?: number | undefined;
|
|
1186
1194
|
metadata?: Record<string, string> | undefined;
|
|
1195
|
+
created?: number | undefined;
|
|
1187
1196
|
due_date?: string | null | undefined;
|
|
1188
1197
|
hosted_invoice_url?: string | null | undefined;
|
|
1189
1198
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1208,8 +1217,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1208
1217
|
total: number;
|
|
1209
1218
|
currency: string;
|
|
1210
1219
|
customer: string | null;
|
|
1211
|
-
created?: number | undefined;
|
|
1212
1220
|
metadata?: Record<string, string> | undefined;
|
|
1221
|
+
created?: number | undefined;
|
|
1213
1222
|
due_date?: string | null | undefined;
|
|
1214
1223
|
hosted_invoice_url?: string | null | undefined;
|
|
1215
1224
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1219,16 +1228,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1219
1228
|
total: number;
|
|
1220
1229
|
currency: string;
|
|
1221
1230
|
customer: string | null;
|
|
1222
|
-
created?: number | undefined;
|
|
1223
1231
|
metadata?: Record<string, string> | undefined;
|
|
1232
|
+
created?: number | undefined;
|
|
1224
1233
|
due_date?: string | null | undefined;
|
|
1225
1234
|
hosted_invoice_url?: string | null | undefined;
|
|
1226
1235
|
invoice_pdf?: string | null | undefined;
|
|
1227
1236
|
}>>;
|
|
1228
1237
|
error: z.ZodString;
|
|
1229
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1230
|
-
success: boolean;
|
|
1231
1239
|
error: string;
|
|
1240
|
+
success: boolean;
|
|
1232
1241
|
operation: "retrieve_invoice";
|
|
1233
1242
|
invoice?: {
|
|
1234
1243
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1236,15 +1245,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1236
1245
|
total: number;
|
|
1237
1246
|
currency: string;
|
|
1238
1247
|
customer: string | null;
|
|
1239
|
-
created?: number | undefined;
|
|
1240
1248
|
metadata?: Record<string, string> | undefined;
|
|
1249
|
+
created?: number | undefined;
|
|
1241
1250
|
due_date?: string | null | undefined;
|
|
1242
1251
|
hosted_invoice_url?: string | null | undefined;
|
|
1243
1252
|
invoice_pdf?: string | null | undefined;
|
|
1244
1253
|
} | undefined;
|
|
1245
1254
|
}, {
|
|
1246
|
-
success: boolean;
|
|
1247
1255
|
error: string;
|
|
1256
|
+
success: boolean;
|
|
1248
1257
|
operation: "retrieve_invoice";
|
|
1249
1258
|
invoice?: {
|
|
1250
1259
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1252,8 +1261,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1252
1261
|
total: number;
|
|
1253
1262
|
currency: string;
|
|
1254
1263
|
customer: string | null;
|
|
1255
|
-
created?: number | undefined;
|
|
1256
1264
|
metadata?: Record<string, string> | undefined;
|
|
1265
|
+
created?: number | undefined;
|
|
1257
1266
|
due_date?: string | null | undefined;
|
|
1258
1267
|
hosted_invoice_url?: string | null | undefined;
|
|
1259
1268
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1278,8 +1287,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1278
1287
|
total: number;
|
|
1279
1288
|
currency: string;
|
|
1280
1289
|
customer: string | null;
|
|
1281
|
-
created?: number | undefined;
|
|
1282
1290
|
metadata?: Record<string, string> | undefined;
|
|
1291
|
+
created?: number | undefined;
|
|
1283
1292
|
due_date?: string | null | undefined;
|
|
1284
1293
|
hosted_invoice_url?: string | null | undefined;
|
|
1285
1294
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1289,16 +1298,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1289
1298
|
total: number;
|
|
1290
1299
|
currency: string;
|
|
1291
1300
|
customer: string | null;
|
|
1292
|
-
created?: number | undefined;
|
|
1293
1301
|
metadata?: Record<string, string> | undefined;
|
|
1302
|
+
created?: number | undefined;
|
|
1294
1303
|
due_date?: string | null | undefined;
|
|
1295
1304
|
hosted_invoice_url?: string | null | undefined;
|
|
1296
1305
|
invoice_pdf?: string | null | undefined;
|
|
1297
1306
|
}>>;
|
|
1298
1307
|
error: z.ZodString;
|
|
1299
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1300
|
-
success: boolean;
|
|
1301
1309
|
error: string;
|
|
1310
|
+
success: boolean;
|
|
1302
1311
|
operation: "finalize_invoice";
|
|
1303
1312
|
invoice?: {
|
|
1304
1313
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1306,15 +1315,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1306
1315
|
total: number;
|
|
1307
1316
|
currency: string;
|
|
1308
1317
|
customer: string | null;
|
|
1309
|
-
created?: number | undefined;
|
|
1310
1318
|
metadata?: Record<string, string> | undefined;
|
|
1319
|
+
created?: number | undefined;
|
|
1311
1320
|
due_date?: string | null | undefined;
|
|
1312
1321
|
hosted_invoice_url?: string | null | undefined;
|
|
1313
1322
|
invoice_pdf?: string | null | undefined;
|
|
1314
1323
|
} | undefined;
|
|
1315
1324
|
}, {
|
|
1316
|
-
success: boolean;
|
|
1317
1325
|
error: string;
|
|
1326
|
+
success: boolean;
|
|
1318
1327
|
operation: "finalize_invoice";
|
|
1319
1328
|
invoice?: {
|
|
1320
1329
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1322,8 +1331,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1322
1331
|
total: number;
|
|
1323
1332
|
currency: string;
|
|
1324
1333
|
customer: string | null;
|
|
1325
|
-
created?: number | undefined;
|
|
1326
1334
|
metadata?: Record<string, string> | undefined;
|
|
1335
|
+
created?: number | undefined;
|
|
1327
1336
|
due_date?: string | null | undefined;
|
|
1328
1337
|
hosted_invoice_url?: string | null | undefined;
|
|
1329
1338
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1350,9 +1359,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1350
1359
|
description?: string | null | undefined;
|
|
1351
1360
|
date?: number | undefined;
|
|
1352
1361
|
metadata?: Record<string, string> | undefined;
|
|
1353
|
-
quantity?: number | undefined;
|
|
1354
1362
|
unit_amount?: number | null | undefined;
|
|
1355
1363
|
invoice?: string | null | undefined;
|
|
1364
|
+
quantity?: number | undefined;
|
|
1356
1365
|
}, {
|
|
1357
1366
|
id: string;
|
|
1358
1367
|
currency: string;
|
|
@@ -1361,14 +1370,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1361
1370
|
description?: string | null | undefined;
|
|
1362
1371
|
date?: number | undefined;
|
|
1363
1372
|
metadata?: Record<string, string> | undefined;
|
|
1364
|
-
quantity?: number | undefined;
|
|
1365
1373
|
unit_amount?: number | null | undefined;
|
|
1366
1374
|
invoice?: string | null | undefined;
|
|
1375
|
+
quantity?: number | undefined;
|
|
1367
1376
|
}>>;
|
|
1368
1377
|
error: z.ZodString;
|
|
1369
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1370
|
-
success: boolean;
|
|
1371
1379
|
error: string;
|
|
1380
|
+
success: boolean;
|
|
1372
1381
|
operation: "create_invoice_item";
|
|
1373
1382
|
invoice_item?: {
|
|
1374
1383
|
id: string;
|
|
@@ -1378,13 +1387,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1378
1387
|
description?: string | null | undefined;
|
|
1379
1388
|
date?: number | undefined;
|
|
1380
1389
|
metadata?: Record<string, string> | undefined;
|
|
1381
|
-
quantity?: number | undefined;
|
|
1382
1390
|
unit_amount?: number | null | undefined;
|
|
1383
1391
|
invoice?: string | null | undefined;
|
|
1392
|
+
quantity?: number | undefined;
|
|
1384
1393
|
} | undefined;
|
|
1385
1394
|
}, {
|
|
1386
|
-
success: boolean;
|
|
1387
1395
|
error: string;
|
|
1396
|
+
success: boolean;
|
|
1388
1397
|
operation: "create_invoice_item";
|
|
1389
1398
|
invoice_item?: {
|
|
1390
1399
|
id: string;
|
|
@@ -1394,9 +1403,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1394
1403
|
description?: string | null | undefined;
|
|
1395
1404
|
date?: number | undefined;
|
|
1396
1405
|
metadata?: Record<string, string> | undefined;
|
|
1397
|
-
quantity?: number | undefined;
|
|
1398
1406
|
unit_amount?: number | null | undefined;
|
|
1399
1407
|
invoice?: string | null | undefined;
|
|
1408
|
+
quantity?: number | undefined;
|
|
1400
1409
|
} | undefined;
|
|
1401
1410
|
}>, z.ZodObject<{
|
|
1402
1411
|
operation: z.ZodLiteral<"send_invoice">;
|
|
@@ -1418,8 +1427,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1418
1427
|
total: number;
|
|
1419
1428
|
currency: string;
|
|
1420
1429
|
customer: string | null;
|
|
1421
|
-
created?: number | undefined;
|
|
1422
1430
|
metadata?: Record<string, string> | undefined;
|
|
1431
|
+
created?: number | undefined;
|
|
1423
1432
|
due_date?: string | null | undefined;
|
|
1424
1433
|
hosted_invoice_url?: string | null | undefined;
|
|
1425
1434
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1429,16 +1438,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1429
1438
|
total: number;
|
|
1430
1439
|
currency: string;
|
|
1431
1440
|
customer: string | null;
|
|
1432
|
-
created?: number | undefined;
|
|
1433
1441
|
metadata?: Record<string, string> | undefined;
|
|
1442
|
+
created?: number | undefined;
|
|
1434
1443
|
due_date?: string | null | undefined;
|
|
1435
1444
|
hosted_invoice_url?: string | null | undefined;
|
|
1436
1445
|
invoice_pdf?: string | null | undefined;
|
|
1437
1446
|
}>>;
|
|
1438
1447
|
error: z.ZodString;
|
|
1439
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1440
|
-
success: boolean;
|
|
1441
1449
|
error: string;
|
|
1450
|
+
success: boolean;
|
|
1442
1451
|
operation: "send_invoice";
|
|
1443
1452
|
invoice?: {
|
|
1444
1453
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1446,15 +1455,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1446
1455
|
total: number;
|
|
1447
1456
|
currency: string;
|
|
1448
1457
|
customer: string | null;
|
|
1449
|
-
created?: number | undefined;
|
|
1450
1458
|
metadata?: Record<string, string> | undefined;
|
|
1459
|
+
created?: number | undefined;
|
|
1451
1460
|
due_date?: string | null | undefined;
|
|
1452
1461
|
hosted_invoice_url?: string | null | undefined;
|
|
1453
1462
|
invoice_pdf?: string | null | undefined;
|
|
1454
1463
|
} | undefined;
|
|
1455
1464
|
}, {
|
|
1456
|
-
success: boolean;
|
|
1457
1465
|
error: string;
|
|
1466
|
+
success: boolean;
|
|
1458
1467
|
operation: "send_invoice";
|
|
1459
1468
|
invoice?: {
|
|
1460
1469
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1462,8 +1471,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1462
1471
|
total: number;
|
|
1463
1472
|
currency: string;
|
|
1464
1473
|
customer: string | null;
|
|
1465
|
-
created?: number | undefined;
|
|
1466
1474
|
metadata?: Record<string, string> | undefined;
|
|
1475
|
+
created?: number | undefined;
|
|
1467
1476
|
due_date?: string | null | undefined;
|
|
1468
1477
|
hosted_invoice_url?: string | null | undefined;
|
|
1469
1478
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1493,49 +1502,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1493
1502
|
amount: number;
|
|
1494
1503
|
}>, "many">;
|
|
1495
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1496
|
-
|
|
1505
|
+
pending: {
|
|
1497
1506
|
currency: string;
|
|
1498
1507
|
amount: number;
|
|
1499
1508
|
}[];
|
|
1500
|
-
|
|
1509
|
+
available: {
|
|
1501
1510
|
currency: string;
|
|
1502
1511
|
amount: number;
|
|
1503
1512
|
}[];
|
|
1504
1513
|
}, {
|
|
1505
|
-
|
|
1514
|
+
pending: {
|
|
1506
1515
|
currency: string;
|
|
1507
1516
|
amount: number;
|
|
1508
1517
|
}[];
|
|
1509
|
-
|
|
1518
|
+
available: {
|
|
1510
1519
|
currency: string;
|
|
1511
1520
|
amount: number;
|
|
1512
1521
|
}[];
|
|
1513
1522
|
}>>;
|
|
1514
1523
|
error: z.ZodString;
|
|
1515
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1516
|
-
success: boolean;
|
|
1517
1525
|
error: string;
|
|
1526
|
+
success: boolean;
|
|
1518
1527
|
operation: "get_balance";
|
|
1519
1528
|
balance?: {
|
|
1520
|
-
|
|
1529
|
+
pending: {
|
|
1521
1530
|
currency: string;
|
|
1522
1531
|
amount: number;
|
|
1523
1532
|
}[];
|
|
1524
|
-
|
|
1533
|
+
available: {
|
|
1525
1534
|
currency: string;
|
|
1526
1535
|
amount: number;
|
|
1527
1536
|
}[];
|
|
1528
1537
|
} | undefined;
|
|
1529
1538
|
}, {
|
|
1530
|
-
success: boolean;
|
|
1531
1539
|
error: string;
|
|
1540
|
+
success: boolean;
|
|
1532
1541
|
operation: "get_balance";
|
|
1533
1542
|
balance?: {
|
|
1534
|
-
|
|
1543
|
+
pending: {
|
|
1535
1544
|
currency: string;
|
|
1536
1545
|
amount: number;
|
|
1537
1546
|
}[];
|
|
1538
|
-
|
|
1547
|
+
available: {
|
|
1539
1548
|
currency: string;
|
|
1540
1549
|
amount: number;
|
|
1541
1550
|
}[];
|
|
@@ -1552,7 +1561,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1552
1561
|
created: z.ZodNumber;
|
|
1553
1562
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1554
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1555
|
-
status: "
|
|
1564
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1556
1565
|
id: string;
|
|
1557
1566
|
created: number;
|
|
1558
1567
|
currency: string;
|
|
@@ -1560,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1560
1569
|
metadata?: Record<string, string> | undefined;
|
|
1561
1570
|
customer?: string | null | undefined;
|
|
1562
1571
|
}, {
|
|
1563
|
-
status: "
|
|
1572
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1564
1573
|
id: string;
|
|
1565
1574
|
created: number;
|
|
1566
1575
|
currency: string;
|
|
@@ -1570,11 +1579,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1570
1579
|
}>, "many">>;
|
|
1571
1580
|
error: z.ZodString;
|
|
1572
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1573
|
-
success: boolean;
|
|
1574
1582
|
error: string;
|
|
1583
|
+
success: boolean;
|
|
1575
1584
|
operation: "list_payment_intents";
|
|
1576
1585
|
payment_intents?: {
|
|
1577
|
-
status: "
|
|
1586
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1578
1587
|
id: string;
|
|
1579
1588
|
created: number;
|
|
1580
1589
|
currency: string;
|
|
@@ -1583,11 +1592,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1583
1592
|
customer?: string | null | undefined;
|
|
1584
1593
|
}[] | undefined;
|
|
1585
1594
|
}, {
|
|
1586
|
-
success: boolean;
|
|
1587
1595
|
error: string;
|
|
1596
|
+
success: boolean;
|
|
1588
1597
|
operation: "list_payment_intents";
|
|
1589
1598
|
payment_intents?: {
|
|
1590
|
-
status: "
|
|
1599
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1591
1600
|
id: string;
|
|
1592
1601
|
created: number;
|
|
1593
1602
|
currency: string;
|
|
@@ -1608,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1608
1617
|
created: z.ZodNumber;
|
|
1609
1618
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1610
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1611
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1620
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1612
1621
|
id: string;
|
|
1613
1622
|
created: number;
|
|
1614
1623
|
customer: string;
|
|
@@ -1617,7 +1626,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1617
1626
|
current_period_start?: number | undefined;
|
|
1618
1627
|
current_period_end?: number | undefined;
|
|
1619
1628
|
}, {
|
|
1620
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1629
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1621
1630
|
id: string;
|
|
1622
1631
|
created: number;
|
|
1623
1632
|
customer: string;
|
|
@@ -1628,11 +1637,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1628
1637
|
}>, "many">>;
|
|
1629
1638
|
error: z.ZodString;
|
|
1630
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1631
|
-
success: boolean;
|
|
1632
1640
|
error: string;
|
|
1641
|
+
success: boolean;
|
|
1633
1642
|
operation: "list_subscriptions";
|
|
1634
1643
|
subscriptions?: {
|
|
1635
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1644
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1636
1645
|
id: string;
|
|
1637
1646
|
created: number;
|
|
1638
1647
|
customer: string;
|
|
@@ -1642,11 +1651,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1642
1651
|
current_period_end?: number | undefined;
|
|
1643
1652
|
}[] | undefined;
|
|
1644
1653
|
}, {
|
|
1645
|
-
success: boolean;
|
|
1646
1654
|
error: string;
|
|
1655
|
+
success: boolean;
|
|
1647
1656
|
operation: "list_subscriptions";
|
|
1648
1657
|
subscriptions?: {
|
|
1649
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1658
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1650
1659
|
id: string;
|
|
1651
1660
|
created: number;
|
|
1652
1661
|
customer: string;
|
|
@@ -1668,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1668
1677
|
created: z.ZodNumber;
|
|
1669
1678
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1670
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1671
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1680
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1672
1681
|
id: string;
|
|
1673
1682
|
created: number;
|
|
1674
1683
|
customer: string;
|
|
@@ -1677,7 +1686,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1677
1686
|
current_period_start?: number | undefined;
|
|
1678
1687
|
current_period_end?: number | undefined;
|
|
1679
1688
|
}, {
|
|
1680
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1689
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1681
1690
|
id: string;
|
|
1682
1691
|
created: number;
|
|
1683
1692
|
customer: string;
|
|
@@ -1688,11 +1697,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1688
1697
|
}>>;
|
|
1689
1698
|
error: z.ZodString;
|
|
1690
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1691
|
-
success: boolean;
|
|
1692
1700
|
error: string;
|
|
1701
|
+
success: boolean;
|
|
1693
1702
|
operation: "cancel_subscription";
|
|
1694
1703
|
subscription?: {
|
|
1695
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1704
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1696
1705
|
id: string;
|
|
1697
1706
|
created: number;
|
|
1698
1707
|
customer: string;
|
|
@@ -1702,11 +1711,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1702
1711
|
current_period_end?: number | undefined;
|
|
1703
1712
|
} | undefined;
|
|
1704
1713
|
}, {
|
|
1705
|
-
success: boolean;
|
|
1706
1714
|
error: string;
|
|
1715
|
+
success: boolean;
|
|
1707
1716
|
operation: "cancel_subscription";
|
|
1708
1717
|
subscription?: {
|
|
1709
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1718
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1710
1719
|
id: string;
|
|
1711
1720
|
created: number;
|
|
1712
1721
|
customer: string;
|
|
@@ -1728,37 +1737,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1728
1737
|
url: string;
|
|
1729
1738
|
id: string;
|
|
1730
1739
|
active: boolean;
|
|
1731
|
-
created?: number | undefined;
|
|
1732
1740
|
metadata?: Record<string, string> | undefined;
|
|
1741
|
+
created?: number | undefined;
|
|
1733
1742
|
}, {
|
|
1734
1743
|
url: string;
|
|
1735
1744
|
id: string;
|
|
1736
1745
|
active: boolean;
|
|
1737
|
-
created?: number | undefined;
|
|
1738
1746
|
metadata?: Record<string, string> | undefined;
|
|
1747
|
+
created?: number | undefined;
|
|
1739
1748
|
}>, "many">>;
|
|
1740
1749
|
error: z.ZodString;
|
|
1741
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1742
|
-
success: boolean;
|
|
1743
1751
|
error: string;
|
|
1752
|
+
success: boolean;
|
|
1744
1753
|
operation: "list_payment_links";
|
|
1745
1754
|
payment_links?: {
|
|
1746
1755
|
url: string;
|
|
1747
1756
|
id: string;
|
|
1748
1757
|
active: boolean;
|
|
1749
|
-
created?: number | undefined;
|
|
1750
1758
|
metadata?: Record<string, string> | undefined;
|
|
1759
|
+
created?: number | undefined;
|
|
1751
1760
|
}[] | undefined;
|
|
1752
1761
|
}, {
|
|
1753
|
-
success: boolean;
|
|
1754
1762
|
error: string;
|
|
1763
|
+
success: boolean;
|
|
1755
1764
|
operation: "list_payment_links";
|
|
1756
1765
|
payment_links?: {
|
|
1757
1766
|
url: string;
|
|
1758
1767
|
id: string;
|
|
1759
1768
|
active: boolean;
|
|
1760
|
-
created?: number | undefined;
|
|
1761
1769
|
metadata?: Record<string, string> | undefined;
|
|
1770
|
+
created?: number | undefined;
|
|
1762
1771
|
}[] | undefined;
|
|
1763
1772
|
}>, z.ZodObject<{
|
|
1764
1773
|
operation: z.ZodLiteral<"create_subscription">;
|
|
@@ -1773,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1773
1782
|
created: z.ZodNumber;
|
|
1774
1783
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1775
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1776
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1785
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1777
1786
|
id: string;
|
|
1778
1787
|
created: number;
|
|
1779
1788
|
customer: string;
|
|
@@ -1782,7 +1791,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1782
1791
|
current_period_start?: number | undefined;
|
|
1783
1792
|
current_period_end?: number | undefined;
|
|
1784
1793
|
}, {
|
|
1785
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1794
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1786
1795
|
id: string;
|
|
1787
1796
|
created: number;
|
|
1788
1797
|
customer: string;
|
|
@@ -1793,11 +1802,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1793
1802
|
}>>;
|
|
1794
1803
|
error: z.ZodString;
|
|
1795
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1796
|
-
success: boolean;
|
|
1797
1805
|
error: string;
|
|
1806
|
+
success: boolean;
|
|
1798
1807
|
operation: "create_subscription";
|
|
1799
1808
|
subscription?: {
|
|
1800
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1809
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1801
1810
|
id: string;
|
|
1802
1811
|
created: number;
|
|
1803
1812
|
customer: string;
|
|
@@ -1807,11 +1816,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1807
1816
|
current_period_end?: number | undefined;
|
|
1808
1817
|
} | undefined;
|
|
1809
1818
|
}, {
|
|
1810
|
-
success: boolean;
|
|
1811
1819
|
error: string;
|
|
1820
|
+
success: boolean;
|
|
1812
1821
|
operation: "create_subscription";
|
|
1813
1822
|
subscription?: {
|
|
1814
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1823
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1815
1824
|
id: string;
|
|
1816
1825
|
created: number;
|
|
1817
1826
|
customer: string;
|