@bubblelab/bubble-core 0.1.100 → 0.1.102
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 +193 -123
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +53 -8
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +210 -141
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +35 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +1562 -1562
- 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 +326 -326
- 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 +109 -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: "recurring" | "one_time";
|
|
55
55
|
id: string;
|
|
56
56
|
created: number;
|
|
57
57
|
currency: string;
|
|
58
|
-
active: boolean;
|
|
59
58
|
product: string;
|
|
59
|
+
active: boolean;
|
|
60
60
|
unit_amount: number | null;
|
|
61
61
|
metadata?: Record<string, string> | undefined;
|
|
62
62
|
}, {
|
|
63
|
-
type: "
|
|
63
|
+
type: "recurring" | "one_time";
|
|
64
64
|
id: string;
|
|
65
65
|
created: number;
|
|
66
66
|
currency: string;
|
|
67
|
-
active: boolean;
|
|
68
67
|
product: string;
|
|
68
|
+
active: boolean;
|
|
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
|
-
metadata?: Record<string, string> | undefined;
|
|
83
82
|
created?: number | undefined;
|
|
83
|
+
metadata?: Record<string, string> | undefined;
|
|
84
84
|
}, {
|
|
85
85
|
url: string;
|
|
86
86
|
id: string;
|
|
87
87
|
active: boolean;
|
|
88
|
-
metadata?: Record<string, string> | undefined;
|
|
89
88
|
created?: number | undefined;
|
|
89
|
+
metadata?: Record<string, string> | undefined;
|
|
90
90
|
}>;
|
|
91
91
|
export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
92
92
|
id: z.ZodString;
|
|
@@ -105,8 +105,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
105
105
|
total: number;
|
|
106
106
|
currency: string;
|
|
107
107
|
customer: string | null;
|
|
108
|
-
metadata?: Record<string, string> | undefined;
|
|
109
108
|
created?: number | undefined;
|
|
109
|
+
metadata?: Record<string, string> | undefined;
|
|
110
110
|
due_date?: string | null | undefined;
|
|
111
111
|
hosted_invoice_url?: string | null | undefined;
|
|
112
112
|
invoice_pdf?: string | null | undefined;
|
|
@@ -116,8 +116,8 @@ export declare const StripeInvoiceSchema: z.ZodObject<{
|
|
|
116
116
|
total: number;
|
|
117
117
|
currency: string;
|
|
118
118
|
customer: string | null;
|
|
119
|
-
metadata?: Record<string, string> | undefined;
|
|
120
119
|
created?: number | undefined;
|
|
120
|
+
metadata?: Record<string, string> | undefined;
|
|
121
121
|
due_date?: string | null | undefined;
|
|
122
122
|
hosted_invoice_url?: string | null | undefined;
|
|
123
123
|
invoice_pdf?: string | null | undefined;
|
|
@@ -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;
|
|
144
145
|
unit_amount?: number | null | undefined;
|
|
145
146
|
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;
|
|
155
156
|
unit_amount?: number | null | undefined;
|
|
156
157
|
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
|
+
available: {
|
|
182
182
|
currency: string;
|
|
183
183
|
amount: number;
|
|
184
184
|
}[];
|
|
185
|
-
|
|
185
|
+
pending: {
|
|
186
186
|
currency: string;
|
|
187
187
|
amount: number;
|
|
188
188
|
}[];
|
|
189
189
|
}, {
|
|
190
|
-
|
|
190
|
+
available: {
|
|
191
191
|
currency: string;
|
|
192
192
|
amount: number;
|
|
193
193
|
}[];
|
|
194
|
-
|
|
194
|
+
pending: {
|
|
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: "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: "paused" | "active" | "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: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
244
244
|
id: string;
|
|
245
245
|
created: number;
|
|
246
246
|
customer: string;
|
|
@@ -258,30 +258,45 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
258
258
|
}, "strip", z.ZodTypeAny, {
|
|
259
259
|
name: string;
|
|
260
260
|
operation: "create_customer";
|
|
261
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
262
261
|
email?: string | undefined;
|
|
262
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
263
263
|
metadata?: Record<string, string> | undefined;
|
|
264
264
|
}, {
|
|
265
265
|
name: string;
|
|
266
266
|
operation: "create_customer";
|
|
267
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
268
267
|
email?: string | undefined;
|
|
268
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
269
269
|
metadata?: Record<string, string> | undefined;
|
|
270
270
|
}>, z.ZodObject<{
|
|
271
271
|
operation: z.ZodLiteral<"list_customers">;
|
|
272
272
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
273
273
|
email: z.ZodOptional<z.ZodString>;
|
|
274
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
274
275
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
275
276
|
}, "strip", z.ZodTypeAny, {
|
|
276
277
|
operation: "list_customers";
|
|
277
278
|
limit: number;
|
|
278
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
279
279
|
email?: string | undefined;
|
|
280
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
281
|
+
cursor?: string | undefined;
|
|
280
282
|
}, {
|
|
281
283
|
operation: "list_customers";
|
|
282
|
-
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
283
284
|
email?: string | undefined;
|
|
285
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
284
286
|
limit?: number | undefined;
|
|
287
|
+
cursor?: string | undefined;
|
|
288
|
+
}>, z.ZodObject<{
|
|
289
|
+
operation: z.ZodLiteral<"retrieve_customer">;
|
|
290
|
+
customer_id: z.ZodString;
|
|
291
|
+
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
292
|
+
}, "strip", z.ZodTypeAny, {
|
|
293
|
+
operation: "retrieve_customer";
|
|
294
|
+
customer_id: string;
|
|
295
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
296
|
+
}, {
|
|
297
|
+
operation: "retrieve_customer";
|
|
298
|
+
customer_id: string;
|
|
299
|
+
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
285
300
|
}>, z.ZodObject<{
|
|
286
301
|
operation: z.ZodLiteral<"create_product">;
|
|
287
302
|
name: z.ZodString;
|
|
@@ -364,14 +379,14 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
364
379
|
operation: "list_prices";
|
|
365
380
|
limit: number;
|
|
366
381
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
367
|
-
active?: boolean | undefined;
|
|
368
382
|
product?: string | undefined;
|
|
383
|
+
active?: boolean | undefined;
|
|
369
384
|
}, {
|
|
370
385
|
operation: "list_prices";
|
|
371
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
372
387
|
limit?: number | undefined;
|
|
373
|
-
active?: boolean | undefined;
|
|
374
388
|
product?: string | undefined;
|
|
389
|
+
active?: boolean | undefined;
|
|
375
390
|
}>, z.ZodObject<{
|
|
376
391
|
operation: z.ZodLiteral<"create_payment_link">;
|
|
377
392
|
price: z.ZodString;
|
|
@@ -404,8 +419,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
404
419
|
description: z.ZodOptional<z.ZodString>;
|
|
405
420
|
quantity: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
406
421
|
}, "strip", z.ZodTypeAny, {
|
|
407
|
-
unit_amount: number;
|
|
408
422
|
quantity: number;
|
|
423
|
+
unit_amount: number;
|
|
409
424
|
description?: string | undefined;
|
|
410
425
|
}, {
|
|
411
426
|
unit_amount: number;
|
|
@@ -420,8 +435,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
420
435
|
auto_advance: boolean;
|
|
421
436
|
collection_method: "charge_automatically" | "send_invoice";
|
|
422
437
|
items?: {
|
|
423
|
-
unit_amount: number;
|
|
424
438
|
quantity: number;
|
|
439
|
+
unit_amount: number;
|
|
425
440
|
description?: string | undefined;
|
|
426
441
|
}[] | undefined;
|
|
427
442
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -498,9 +513,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
498
513
|
}, "strip", z.ZodTypeAny, {
|
|
499
514
|
operation: "create_invoice_item";
|
|
500
515
|
currency: string;
|
|
516
|
+
quantity: number;
|
|
501
517
|
unit_amount: number;
|
|
502
518
|
customer: string;
|
|
503
|
-
quantity: number;
|
|
504
519
|
description?: string | undefined;
|
|
505
520
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
506
521
|
metadata?: Record<string, string> | undefined;
|
|
@@ -513,8 +528,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
513
528
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
514
529
|
metadata?: Record<string, string> | undefined;
|
|
515
530
|
currency?: string | undefined;
|
|
516
|
-
invoice?: string | undefined;
|
|
517
531
|
quantity?: number | undefined;
|
|
532
|
+
invoice?: string | undefined;
|
|
518
533
|
}>, z.ZodObject<{
|
|
519
534
|
operation: z.ZodLiteral<"send_invoice">;
|
|
520
535
|
invoice_id: z.ZodString;
|
|
@@ -560,12 +575,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
560
575
|
}, "strip", z.ZodTypeAny, {
|
|
561
576
|
operation: "list_subscriptions";
|
|
562
577
|
limit: number;
|
|
563
|
-
status?: "
|
|
578
|
+
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
|
|
564
579
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
565
580
|
customer?: string | undefined;
|
|
566
581
|
}, {
|
|
567
582
|
operation: "list_subscriptions";
|
|
568
|
-
status?: "
|
|
583
|
+
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid" | undefined;
|
|
569
584
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
570
585
|
limit?: number | undefined;
|
|
571
586
|
customer?: string | undefined;
|
|
@@ -576,8 +591,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
576
591
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
577
592
|
}, "strip", z.ZodTypeAny, {
|
|
578
593
|
operation: "cancel_subscription";
|
|
579
|
-
cancel_at_period_end: boolean;
|
|
580
594
|
subscription_id: string;
|
|
595
|
+
cancel_at_period_end: boolean;
|
|
581
596
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
582
597
|
}, {
|
|
583
598
|
operation: "cancel_subscription";
|
|
@@ -648,8 +663,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
648
663
|
}>>;
|
|
649
664
|
error: z.ZodString;
|
|
650
665
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
error: string;
|
|
652
666
|
success: boolean;
|
|
667
|
+
error: string;
|
|
653
668
|
operation: "create_customer";
|
|
654
669
|
customer?: {
|
|
655
670
|
id: string;
|
|
@@ -659,8 +674,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
659
674
|
metadata?: Record<string, string> | undefined;
|
|
660
675
|
} | undefined;
|
|
661
676
|
}, {
|
|
662
|
-
error: string;
|
|
663
677
|
success: boolean;
|
|
678
|
+
error: string;
|
|
664
679
|
operation: "create_customer";
|
|
665
680
|
customer?: {
|
|
666
681
|
id: string;
|
|
@@ -691,11 +706,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
691
706
|
email?: string | null | undefined;
|
|
692
707
|
metadata?: Record<string, string> | undefined;
|
|
693
708
|
}>, "many">>;
|
|
709
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
710
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
711
|
error: z.ZodString;
|
|
695
712
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
error: string;
|
|
697
713
|
success: boolean;
|
|
714
|
+
error: string;
|
|
698
715
|
operation: "list_customers";
|
|
716
|
+
next_cursor?: string | null | undefined;
|
|
717
|
+
has_more?: boolean | undefined;
|
|
699
718
|
customers?: {
|
|
700
719
|
id: string;
|
|
701
720
|
created: number;
|
|
@@ -704,9 +723,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
704
723
|
metadata?: Record<string, string> | undefined;
|
|
705
724
|
}[] | undefined;
|
|
706
725
|
}, {
|
|
707
|
-
error: string;
|
|
708
726
|
success: boolean;
|
|
727
|
+
error: string;
|
|
709
728
|
operation: "list_customers";
|
|
729
|
+
next_cursor?: string | null | undefined;
|
|
730
|
+
has_more?: boolean | undefined;
|
|
710
731
|
customers?: {
|
|
711
732
|
id: string;
|
|
712
733
|
created: number;
|
|
@@ -714,6 +735,54 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
714
735
|
email?: string | null | undefined;
|
|
715
736
|
metadata?: Record<string, string> | undefined;
|
|
716
737
|
}[] | undefined;
|
|
738
|
+
}>, z.ZodObject<{
|
|
739
|
+
operation: z.ZodLiteral<"retrieve_customer">;
|
|
740
|
+
success: z.ZodBoolean;
|
|
741
|
+
customer: z.ZodOptional<z.ZodObject<{
|
|
742
|
+
id: z.ZodString;
|
|
743
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
744
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
745
|
+
created: z.ZodNumber;
|
|
746
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
747
|
+
}, "strip", z.ZodTypeAny, {
|
|
748
|
+
id: string;
|
|
749
|
+
created: number;
|
|
750
|
+
name?: string | null | undefined;
|
|
751
|
+
email?: string | null | undefined;
|
|
752
|
+
metadata?: Record<string, string> | undefined;
|
|
753
|
+
}, {
|
|
754
|
+
id: string;
|
|
755
|
+
created: number;
|
|
756
|
+
name?: string | null | undefined;
|
|
757
|
+
email?: string | null | undefined;
|
|
758
|
+
metadata?: Record<string, string> | undefined;
|
|
759
|
+
}>>;
|
|
760
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
761
|
+
error: z.ZodString;
|
|
762
|
+
}, "strip", z.ZodTypeAny, {
|
|
763
|
+
success: boolean;
|
|
764
|
+
error: string;
|
|
765
|
+
operation: "retrieve_customer";
|
|
766
|
+
deleted?: boolean | undefined;
|
|
767
|
+
customer?: {
|
|
768
|
+
id: string;
|
|
769
|
+
created: number;
|
|
770
|
+
name?: string | null | undefined;
|
|
771
|
+
email?: string | null | undefined;
|
|
772
|
+
metadata?: Record<string, string> | undefined;
|
|
773
|
+
} | undefined;
|
|
774
|
+
}, {
|
|
775
|
+
success: boolean;
|
|
776
|
+
error: string;
|
|
777
|
+
operation: "retrieve_customer";
|
|
778
|
+
deleted?: boolean | undefined;
|
|
779
|
+
customer?: {
|
|
780
|
+
id: string;
|
|
781
|
+
created: number;
|
|
782
|
+
name?: string | null | undefined;
|
|
783
|
+
email?: string | null | undefined;
|
|
784
|
+
metadata?: Record<string, string> | undefined;
|
|
785
|
+
} | undefined;
|
|
717
786
|
}>, z.ZodObject<{
|
|
718
787
|
operation: z.ZodLiteral<"create_product">;
|
|
719
788
|
success: z.ZodBoolean;
|
|
@@ -741,8 +810,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
741
810
|
}>>;
|
|
742
811
|
error: z.ZodString;
|
|
743
812
|
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
error: string;
|
|
745
813
|
success: boolean;
|
|
814
|
+
error: string;
|
|
746
815
|
operation: "create_product";
|
|
747
816
|
product?: {
|
|
748
817
|
name: string;
|
|
@@ -753,8 +822,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
753
822
|
metadata?: Record<string, string> | undefined;
|
|
754
823
|
} | undefined;
|
|
755
824
|
}, {
|
|
756
|
-
error: string;
|
|
757
825
|
success: boolean;
|
|
826
|
+
error: string;
|
|
758
827
|
operation: "create_product";
|
|
759
828
|
product?: {
|
|
760
829
|
name: string;
|
|
@@ -791,8 +860,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
791
860
|
}>, "many">>;
|
|
792
861
|
error: z.ZodString;
|
|
793
862
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
error: string;
|
|
795
863
|
success: boolean;
|
|
864
|
+
error: string;
|
|
796
865
|
operation: "list_products";
|
|
797
866
|
products?: {
|
|
798
867
|
name: string;
|
|
@@ -803,8 +872,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
803
872
|
metadata?: Record<string, string> | undefined;
|
|
804
873
|
}[] | undefined;
|
|
805
874
|
}, {
|
|
806
|
-
error: string;
|
|
807
875
|
success: boolean;
|
|
876
|
+
error: string;
|
|
808
877
|
operation: "list_products";
|
|
809
878
|
products?: {
|
|
810
879
|
name: string;
|
|
@@ -827,50 +896,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
827
896
|
created: z.ZodNumber;
|
|
828
897
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
829
898
|
}, "strip", z.ZodTypeAny, {
|
|
830
|
-
type: "
|
|
899
|
+
type: "recurring" | "one_time";
|
|
831
900
|
id: string;
|
|
832
901
|
created: number;
|
|
833
902
|
currency: string;
|
|
834
|
-
active: boolean;
|
|
835
903
|
product: string;
|
|
904
|
+
active: boolean;
|
|
836
905
|
unit_amount: number | null;
|
|
837
906
|
metadata?: Record<string, string> | undefined;
|
|
838
907
|
}, {
|
|
839
|
-
type: "
|
|
908
|
+
type: "recurring" | "one_time";
|
|
840
909
|
id: string;
|
|
841
910
|
created: number;
|
|
842
911
|
currency: string;
|
|
843
|
-
active: boolean;
|
|
844
912
|
product: string;
|
|
913
|
+
active: boolean;
|
|
845
914
|
unit_amount: number | null;
|
|
846
915
|
metadata?: Record<string, string> | undefined;
|
|
847
916
|
}>>;
|
|
848
917
|
error: z.ZodString;
|
|
849
918
|
}, "strip", z.ZodTypeAny, {
|
|
850
|
-
error: string;
|
|
851
919
|
success: boolean;
|
|
920
|
+
error: string;
|
|
852
921
|
operation: "create_price";
|
|
853
922
|
price?: {
|
|
854
|
-
type: "
|
|
923
|
+
type: "recurring" | "one_time";
|
|
855
924
|
id: string;
|
|
856
925
|
created: number;
|
|
857
926
|
currency: string;
|
|
858
|
-
active: boolean;
|
|
859
927
|
product: string;
|
|
928
|
+
active: boolean;
|
|
860
929
|
unit_amount: number | null;
|
|
861
930
|
metadata?: Record<string, string> | undefined;
|
|
862
931
|
} | undefined;
|
|
863
932
|
}, {
|
|
864
|
-
error: string;
|
|
865
933
|
success: boolean;
|
|
934
|
+
error: string;
|
|
866
935
|
operation: "create_price";
|
|
867
936
|
price?: {
|
|
868
|
-
type: "
|
|
937
|
+
type: "recurring" | "one_time";
|
|
869
938
|
id: string;
|
|
870
939
|
created: number;
|
|
871
940
|
currency: string;
|
|
872
|
-
active: boolean;
|
|
873
941
|
product: string;
|
|
942
|
+
active: boolean;
|
|
874
943
|
unit_amount: number | null;
|
|
875
944
|
metadata?: Record<string, string> | undefined;
|
|
876
945
|
} | undefined;
|
|
@@ -887,50 +956,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
887
956
|
created: z.ZodNumber;
|
|
888
957
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
889
958
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
type: "
|
|
959
|
+
type: "recurring" | "one_time";
|
|
891
960
|
id: string;
|
|
892
961
|
created: number;
|
|
893
962
|
currency: string;
|
|
894
|
-
active: boolean;
|
|
895
963
|
product: string;
|
|
964
|
+
active: boolean;
|
|
896
965
|
unit_amount: number | null;
|
|
897
966
|
metadata?: Record<string, string> | undefined;
|
|
898
967
|
}, {
|
|
899
|
-
type: "
|
|
968
|
+
type: "recurring" | "one_time";
|
|
900
969
|
id: string;
|
|
901
970
|
created: number;
|
|
902
971
|
currency: string;
|
|
903
|
-
active: boolean;
|
|
904
972
|
product: string;
|
|
973
|
+
active: boolean;
|
|
905
974
|
unit_amount: number | null;
|
|
906
975
|
metadata?: Record<string, string> | undefined;
|
|
907
976
|
}>, "many">>;
|
|
908
977
|
error: z.ZodString;
|
|
909
978
|
}, "strip", z.ZodTypeAny, {
|
|
910
|
-
error: string;
|
|
911
979
|
success: boolean;
|
|
980
|
+
error: string;
|
|
912
981
|
operation: "list_prices";
|
|
913
982
|
prices?: {
|
|
914
|
-
type: "
|
|
983
|
+
type: "recurring" | "one_time";
|
|
915
984
|
id: string;
|
|
916
985
|
created: number;
|
|
917
986
|
currency: string;
|
|
918
|
-
active: boolean;
|
|
919
987
|
product: string;
|
|
988
|
+
active: boolean;
|
|
920
989
|
unit_amount: number | null;
|
|
921
990
|
metadata?: Record<string, string> | undefined;
|
|
922
991
|
}[] | undefined;
|
|
923
992
|
}, {
|
|
924
|
-
error: string;
|
|
925
993
|
success: boolean;
|
|
994
|
+
error: string;
|
|
926
995
|
operation: "list_prices";
|
|
927
996
|
prices?: {
|
|
928
|
-
type: "
|
|
997
|
+
type: "recurring" | "one_time";
|
|
929
998
|
id: string;
|
|
930
999
|
created: number;
|
|
931
1000
|
currency: string;
|
|
932
|
-
active: boolean;
|
|
933
1001
|
product: string;
|
|
1002
|
+
active: boolean;
|
|
934
1003
|
unit_amount: number | null;
|
|
935
1004
|
metadata?: Record<string, string> | undefined;
|
|
936
1005
|
}[] | undefined;
|
|
@@ -947,37 +1016,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
947
1016
|
url: string;
|
|
948
1017
|
id: string;
|
|
949
1018
|
active: boolean;
|
|
950
|
-
metadata?: Record<string, string> | undefined;
|
|
951
1019
|
created?: number | undefined;
|
|
1020
|
+
metadata?: Record<string, string> | undefined;
|
|
952
1021
|
}, {
|
|
953
1022
|
url: string;
|
|
954
1023
|
id: string;
|
|
955
1024
|
active: boolean;
|
|
956
|
-
metadata?: Record<string, string> | undefined;
|
|
957
1025
|
created?: number | undefined;
|
|
1026
|
+
metadata?: Record<string, string> | undefined;
|
|
958
1027
|
}>>;
|
|
959
1028
|
error: z.ZodString;
|
|
960
1029
|
}, "strip", z.ZodTypeAny, {
|
|
961
|
-
error: string;
|
|
962
1030
|
success: boolean;
|
|
1031
|
+
error: string;
|
|
963
1032
|
operation: "create_payment_link";
|
|
964
1033
|
payment_link?: {
|
|
965
1034
|
url: string;
|
|
966
1035
|
id: string;
|
|
967
1036
|
active: boolean;
|
|
968
|
-
metadata?: Record<string, string> | undefined;
|
|
969
1037
|
created?: number | undefined;
|
|
1038
|
+
metadata?: Record<string, string> | undefined;
|
|
970
1039
|
} | undefined;
|
|
971
1040
|
}, {
|
|
972
|
-
error: string;
|
|
973
1041
|
success: boolean;
|
|
1042
|
+
error: string;
|
|
974
1043
|
operation: "create_payment_link";
|
|
975
1044
|
payment_link?: {
|
|
976
1045
|
url: string;
|
|
977
1046
|
id: string;
|
|
978
1047
|
active: boolean;
|
|
979
|
-
metadata?: Record<string, string> | undefined;
|
|
980
1048
|
created?: number | undefined;
|
|
1049
|
+
metadata?: Record<string, string> | undefined;
|
|
981
1050
|
} | undefined;
|
|
982
1051
|
}>, z.ZodObject<{
|
|
983
1052
|
operation: z.ZodLiteral<"create_invoice">;
|
|
@@ -999,8 +1068,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
999
1068
|
total: number;
|
|
1000
1069
|
currency: string;
|
|
1001
1070
|
customer: string | null;
|
|
1002
|
-
metadata?: Record<string, string> | undefined;
|
|
1003
1071
|
created?: number | undefined;
|
|
1072
|
+
metadata?: Record<string, string> | undefined;
|
|
1004
1073
|
due_date?: string | null | undefined;
|
|
1005
1074
|
hosted_invoice_url?: string | null | undefined;
|
|
1006
1075
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1010,16 +1079,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1010
1079
|
total: number;
|
|
1011
1080
|
currency: string;
|
|
1012
1081
|
customer: string | null;
|
|
1013
|
-
metadata?: Record<string, string> | undefined;
|
|
1014
1082
|
created?: number | undefined;
|
|
1083
|
+
metadata?: Record<string, string> | undefined;
|
|
1015
1084
|
due_date?: string | null | undefined;
|
|
1016
1085
|
hosted_invoice_url?: string | null | undefined;
|
|
1017
1086
|
invoice_pdf?: string | null | undefined;
|
|
1018
1087
|
}>>;
|
|
1019
1088
|
error: z.ZodString;
|
|
1020
1089
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
error: string;
|
|
1022
1090
|
success: boolean;
|
|
1091
|
+
error: string;
|
|
1023
1092
|
operation: "create_invoice";
|
|
1024
1093
|
invoice?: {
|
|
1025
1094
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1027,15 +1096,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1027
1096
|
total: number;
|
|
1028
1097
|
currency: string;
|
|
1029
1098
|
customer: string | null;
|
|
1030
|
-
metadata?: Record<string, string> | undefined;
|
|
1031
1099
|
created?: number | undefined;
|
|
1100
|
+
metadata?: Record<string, string> | undefined;
|
|
1032
1101
|
due_date?: string | null | undefined;
|
|
1033
1102
|
hosted_invoice_url?: string | null | undefined;
|
|
1034
1103
|
invoice_pdf?: string | null | undefined;
|
|
1035
1104
|
} | undefined;
|
|
1036
1105
|
}, {
|
|
1037
|
-
error: string;
|
|
1038
1106
|
success: boolean;
|
|
1107
|
+
error: string;
|
|
1039
1108
|
operation: "create_invoice";
|
|
1040
1109
|
invoice?: {
|
|
1041
1110
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1043,8 +1112,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1043
1112
|
total: number;
|
|
1044
1113
|
currency: string;
|
|
1045
1114
|
customer: string | null;
|
|
1046
|
-
metadata?: Record<string, string> | undefined;
|
|
1047
1115
|
created?: number | undefined;
|
|
1116
|
+
metadata?: Record<string, string> | undefined;
|
|
1048
1117
|
due_date?: string | null | undefined;
|
|
1049
1118
|
hosted_invoice_url?: string | null | undefined;
|
|
1050
1119
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1069,8 +1138,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1069
1138
|
total: number;
|
|
1070
1139
|
currency: string;
|
|
1071
1140
|
customer: string | null;
|
|
1072
|
-
metadata?: Record<string, string> | undefined;
|
|
1073
1141
|
created?: number | undefined;
|
|
1142
|
+
metadata?: Record<string, string> | undefined;
|
|
1074
1143
|
due_date?: string | null | undefined;
|
|
1075
1144
|
hosted_invoice_url?: string | null | undefined;
|
|
1076
1145
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1080,16 +1149,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1080
1149
|
total: number;
|
|
1081
1150
|
currency: string;
|
|
1082
1151
|
customer: string | null;
|
|
1083
|
-
metadata?: Record<string, string> | undefined;
|
|
1084
1152
|
created?: number | undefined;
|
|
1153
|
+
metadata?: Record<string, string> | undefined;
|
|
1085
1154
|
due_date?: string | null | undefined;
|
|
1086
1155
|
hosted_invoice_url?: string | null | undefined;
|
|
1087
1156
|
invoice_pdf?: string | null | undefined;
|
|
1088
1157
|
}>, "many">>;
|
|
1089
1158
|
error: z.ZodString;
|
|
1090
1159
|
}, "strip", z.ZodTypeAny, {
|
|
1091
|
-
error: string;
|
|
1092
1160
|
success: boolean;
|
|
1161
|
+
error: string;
|
|
1093
1162
|
operation: "list_invoices";
|
|
1094
1163
|
invoices?: {
|
|
1095
1164
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1097,15 +1166,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1097
1166
|
total: number;
|
|
1098
1167
|
currency: string;
|
|
1099
1168
|
customer: string | null;
|
|
1100
|
-
metadata?: Record<string, string> | undefined;
|
|
1101
1169
|
created?: number | undefined;
|
|
1170
|
+
metadata?: Record<string, string> | undefined;
|
|
1102
1171
|
due_date?: string | null | undefined;
|
|
1103
1172
|
hosted_invoice_url?: string | null | undefined;
|
|
1104
1173
|
invoice_pdf?: string | null | undefined;
|
|
1105
1174
|
}[] | undefined;
|
|
1106
1175
|
}, {
|
|
1107
|
-
error: string;
|
|
1108
1176
|
success: boolean;
|
|
1177
|
+
error: string;
|
|
1109
1178
|
operation: "list_invoices";
|
|
1110
1179
|
invoices?: {
|
|
1111
1180
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1113,8 +1182,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1113
1182
|
total: number;
|
|
1114
1183
|
currency: string;
|
|
1115
1184
|
customer: string | null;
|
|
1116
|
-
metadata?: Record<string, string> | undefined;
|
|
1117
1185
|
created?: number | undefined;
|
|
1186
|
+
metadata?: Record<string, string> | undefined;
|
|
1118
1187
|
due_date?: string | null | undefined;
|
|
1119
1188
|
hosted_invoice_url?: string | null | undefined;
|
|
1120
1189
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1139,8 +1208,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1139
1208
|
total: number;
|
|
1140
1209
|
currency: string;
|
|
1141
1210
|
customer: string | null;
|
|
1142
|
-
metadata?: Record<string, string> | undefined;
|
|
1143
1211
|
created?: number | undefined;
|
|
1212
|
+
metadata?: Record<string, string> | undefined;
|
|
1144
1213
|
due_date?: string | null | undefined;
|
|
1145
1214
|
hosted_invoice_url?: string | null | undefined;
|
|
1146
1215
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1150,16 +1219,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1150
1219
|
total: number;
|
|
1151
1220
|
currency: string;
|
|
1152
1221
|
customer: string | null;
|
|
1153
|
-
metadata?: Record<string, string> | undefined;
|
|
1154
1222
|
created?: number | undefined;
|
|
1223
|
+
metadata?: Record<string, string> | undefined;
|
|
1155
1224
|
due_date?: string | null | undefined;
|
|
1156
1225
|
hosted_invoice_url?: string | null | undefined;
|
|
1157
1226
|
invoice_pdf?: string | null | undefined;
|
|
1158
1227
|
}>>;
|
|
1159
1228
|
error: z.ZodString;
|
|
1160
1229
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
error: string;
|
|
1162
1230
|
success: boolean;
|
|
1231
|
+
error: string;
|
|
1163
1232
|
operation: "retrieve_invoice";
|
|
1164
1233
|
invoice?: {
|
|
1165
1234
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1167,15 +1236,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1167
1236
|
total: number;
|
|
1168
1237
|
currency: string;
|
|
1169
1238
|
customer: string | null;
|
|
1170
|
-
metadata?: Record<string, string> | undefined;
|
|
1171
1239
|
created?: number | undefined;
|
|
1240
|
+
metadata?: Record<string, string> | undefined;
|
|
1172
1241
|
due_date?: string | null | undefined;
|
|
1173
1242
|
hosted_invoice_url?: string | null | undefined;
|
|
1174
1243
|
invoice_pdf?: string | null | undefined;
|
|
1175
1244
|
} | undefined;
|
|
1176
1245
|
}, {
|
|
1177
|
-
error: string;
|
|
1178
1246
|
success: boolean;
|
|
1247
|
+
error: string;
|
|
1179
1248
|
operation: "retrieve_invoice";
|
|
1180
1249
|
invoice?: {
|
|
1181
1250
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1183,8 +1252,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1183
1252
|
total: number;
|
|
1184
1253
|
currency: string;
|
|
1185
1254
|
customer: string | null;
|
|
1186
|
-
metadata?: Record<string, string> | undefined;
|
|
1187
1255
|
created?: number | undefined;
|
|
1256
|
+
metadata?: Record<string, string> | undefined;
|
|
1188
1257
|
due_date?: string | null | undefined;
|
|
1189
1258
|
hosted_invoice_url?: string | null | undefined;
|
|
1190
1259
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1209,8 +1278,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1209
1278
|
total: number;
|
|
1210
1279
|
currency: string;
|
|
1211
1280
|
customer: string | null;
|
|
1212
|
-
metadata?: Record<string, string> | undefined;
|
|
1213
1281
|
created?: number | undefined;
|
|
1282
|
+
metadata?: Record<string, string> | undefined;
|
|
1214
1283
|
due_date?: string | null | undefined;
|
|
1215
1284
|
hosted_invoice_url?: string | null | undefined;
|
|
1216
1285
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1220,16 +1289,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1220
1289
|
total: number;
|
|
1221
1290
|
currency: string;
|
|
1222
1291
|
customer: string | null;
|
|
1223
|
-
metadata?: Record<string, string> | undefined;
|
|
1224
1292
|
created?: number | undefined;
|
|
1293
|
+
metadata?: Record<string, string> | undefined;
|
|
1225
1294
|
due_date?: string | null | undefined;
|
|
1226
1295
|
hosted_invoice_url?: string | null | undefined;
|
|
1227
1296
|
invoice_pdf?: string | null | undefined;
|
|
1228
1297
|
}>>;
|
|
1229
1298
|
error: z.ZodString;
|
|
1230
1299
|
}, "strip", z.ZodTypeAny, {
|
|
1231
|
-
error: string;
|
|
1232
1300
|
success: boolean;
|
|
1301
|
+
error: string;
|
|
1233
1302
|
operation: "finalize_invoice";
|
|
1234
1303
|
invoice?: {
|
|
1235
1304
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1237,15 +1306,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1237
1306
|
total: number;
|
|
1238
1307
|
currency: string;
|
|
1239
1308
|
customer: string | null;
|
|
1240
|
-
metadata?: Record<string, string> | undefined;
|
|
1241
1309
|
created?: number | undefined;
|
|
1310
|
+
metadata?: Record<string, string> | undefined;
|
|
1242
1311
|
due_date?: string | null | undefined;
|
|
1243
1312
|
hosted_invoice_url?: string | null | undefined;
|
|
1244
1313
|
invoice_pdf?: string | null | undefined;
|
|
1245
1314
|
} | undefined;
|
|
1246
1315
|
}, {
|
|
1247
|
-
error: string;
|
|
1248
1316
|
success: boolean;
|
|
1317
|
+
error: string;
|
|
1249
1318
|
operation: "finalize_invoice";
|
|
1250
1319
|
invoice?: {
|
|
1251
1320
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1253,8 +1322,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1253
1322
|
total: number;
|
|
1254
1323
|
currency: string;
|
|
1255
1324
|
customer: string | null;
|
|
1256
|
-
metadata?: Record<string, string> | undefined;
|
|
1257
1325
|
created?: number | undefined;
|
|
1326
|
+
metadata?: Record<string, string> | undefined;
|
|
1258
1327
|
due_date?: string | null | undefined;
|
|
1259
1328
|
hosted_invoice_url?: string | null | undefined;
|
|
1260
1329
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1281,9 +1350,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1281
1350
|
description?: string | null | undefined;
|
|
1282
1351
|
date?: number | undefined;
|
|
1283
1352
|
metadata?: Record<string, string> | undefined;
|
|
1353
|
+
quantity?: number | undefined;
|
|
1284
1354
|
unit_amount?: number | null | undefined;
|
|
1285
1355
|
invoice?: string | null | undefined;
|
|
1286
|
-
quantity?: number | undefined;
|
|
1287
1356
|
}, {
|
|
1288
1357
|
id: string;
|
|
1289
1358
|
currency: string;
|
|
@@ -1292,14 +1361,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1292
1361
|
description?: string | null | undefined;
|
|
1293
1362
|
date?: number | undefined;
|
|
1294
1363
|
metadata?: Record<string, string> | undefined;
|
|
1364
|
+
quantity?: number | undefined;
|
|
1295
1365
|
unit_amount?: number | null | undefined;
|
|
1296
1366
|
invoice?: string | null | undefined;
|
|
1297
|
-
quantity?: number | undefined;
|
|
1298
1367
|
}>>;
|
|
1299
1368
|
error: z.ZodString;
|
|
1300
1369
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
error: string;
|
|
1302
1370
|
success: boolean;
|
|
1371
|
+
error: string;
|
|
1303
1372
|
operation: "create_invoice_item";
|
|
1304
1373
|
invoice_item?: {
|
|
1305
1374
|
id: string;
|
|
@@ -1309,13 +1378,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1309
1378
|
description?: string | null | undefined;
|
|
1310
1379
|
date?: number | undefined;
|
|
1311
1380
|
metadata?: Record<string, string> | undefined;
|
|
1381
|
+
quantity?: number | undefined;
|
|
1312
1382
|
unit_amount?: number | null | undefined;
|
|
1313
1383
|
invoice?: string | null | undefined;
|
|
1314
|
-
quantity?: number | undefined;
|
|
1315
1384
|
} | undefined;
|
|
1316
1385
|
}, {
|
|
1317
|
-
error: string;
|
|
1318
1386
|
success: boolean;
|
|
1387
|
+
error: string;
|
|
1319
1388
|
operation: "create_invoice_item";
|
|
1320
1389
|
invoice_item?: {
|
|
1321
1390
|
id: string;
|
|
@@ -1325,9 +1394,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1325
1394
|
description?: string | null | undefined;
|
|
1326
1395
|
date?: number | undefined;
|
|
1327
1396
|
metadata?: Record<string, string> | undefined;
|
|
1397
|
+
quantity?: number | undefined;
|
|
1328
1398
|
unit_amount?: number | null | undefined;
|
|
1329
1399
|
invoice?: string | null | undefined;
|
|
1330
|
-
quantity?: number | undefined;
|
|
1331
1400
|
} | undefined;
|
|
1332
1401
|
}>, z.ZodObject<{
|
|
1333
1402
|
operation: z.ZodLiteral<"send_invoice">;
|
|
@@ -1349,8 +1418,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1349
1418
|
total: number;
|
|
1350
1419
|
currency: string;
|
|
1351
1420
|
customer: string | null;
|
|
1352
|
-
metadata?: Record<string, string> | undefined;
|
|
1353
1421
|
created?: number | undefined;
|
|
1422
|
+
metadata?: Record<string, string> | undefined;
|
|
1354
1423
|
due_date?: string | null | undefined;
|
|
1355
1424
|
hosted_invoice_url?: string | null | undefined;
|
|
1356
1425
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1360,16 +1429,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1360
1429
|
total: number;
|
|
1361
1430
|
currency: string;
|
|
1362
1431
|
customer: string | null;
|
|
1363
|
-
metadata?: Record<string, string> | undefined;
|
|
1364
1432
|
created?: number | undefined;
|
|
1433
|
+
metadata?: Record<string, string> | undefined;
|
|
1365
1434
|
due_date?: string | null | undefined;
|
|
1366
1435
|
hosted_invoice_url?: string | null | undefined;
|
|
1367
1436
|
invoice_pdf?: string | null | undefined;
|
|
1368
1437
|
}>>;
|
|
1369
1438
|
error: z.ZodString;
|
|
1370
1439
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
error: string;
|
|
1372
1440
|
success: boolean;
|
|
1441
|
+
error: string;
|
|
1373
1442
|
operation: "send_invoice";
|
|
1374
1443
|
invoice?: {
|
|
1375
1444
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1377,15 +1446,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1377
1446
|
total: number;
|
|
1378
1447
|
currency: string;
|
|
1379
1448
|
customer: string | null;
|
|
1380
|
-
metadata?: Record<string, string> | undefined;
|
|
1381
1449
|
created?: number | undefined;
|
|
1450
|
+
metadata?: Record<string, string> | undefined;
|
|
1382
1451
|
due_date?: string | null | undefined;
|
|
1383
1452
|
hosted_invoice_url?: string | null | undefined;
|
|
1384
1453
|
invoice_pdf?: string | null | undefined;
|
|
1385
1454
|
} | undefined;
|
|
1386
1455
|
}, {
|
|
1387
|
-
error: string;
|
|
1388
1456
|
success: boolean;
|
|
1457
|
+
error: string;
|
|
1389
1458
|
operation: "send_invoice";
|
|
1390
1459
|
invoice?: {
|
|
1391
1460
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1393,8 +1462,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1393
1462
|
total: number;
|
|
1394
1463
|
currency: string;
|
|
1395
1464
|
customer: string | null;
|
|
1396
|
-
metadata?: Record<string, string> | undefined;
|
|
1397
1465
|
created?: number | undefined;
|
|
1466
|
+
metadata?: Record<string, string> | undefined;
|
|
1398
1467
|
due_date?: string | null | undefined;
|
|
1399
1468
|
hosted_invoice_url?: string | null | undefined;
|
|
1400
1469
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1424,49 +1493,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1424
1493
|
amount: number;
|
|
1425
1494
|
}>, "many">;
|
|
1426
1495
|
}, "strip", z.ZodTypeAny, {
|
|
1427
|
-
|
|
1496
|
+
available: {
|
|
1428
1497
|
currency: string;
|
|
1429
1498
|
amount: number;
|
|
1430
1499
|
}[];
|
|
1431
|
-
|
|
1500
|
+
pending: {
|
|
1432
1501
|
currency: string;
|
|
1433
1502
|
amount: number;
|
|
1434
1503
|
}[];
|
|
1435
1504
|
}, {
|
|
1436
|
-
|
|
1505
|
+
available: {
|
|
1437
1506
|
currency: string;
|
|
1438
1507
|
amount: number;
|
|
1439
1508
|
}[];
|
|
1440
|
-
|
|
1509
|
+
pending: {
|
|
1441
1510
|
currency: string;
|
|
1442
1511
|
amount: number;
|
|
1443
1512
|
}[];
|
|
1444
1513
|
}>>;
|
|
1445
1514
|
error: z.ZodString;
|
|
1446
1515
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
error: string;
|
|
1448
1516
|
success: boolean;
|
|
1517
|
+
error: string;
|
|
1449
1518
|
operation: "get_balance";
|
|
1450
1519
|
balance?: {
|
|
1451
|
-
|
|
1520
|
+
available: {
|
|
1452
1521
|
currency: string;
|
|
1453
1522
|
amount: number;
|
|
1454
1523
|
}[];
|
|
1455
|
-
|
|
1524
|
+
pending: {
|
|
1456
1525
|
currency: string;
|
|
1457
1526
|
amount: number;
|
|
1458
1527
|
}[];
|
|
1459
1528
|
} | undefined;
|
|
1460
1529
|
}, {
|
|
1461
|
-
error: string;
|
|
1462
1530
|
success: boolean;
|
|
1531
|
+
error: string;
|
|
1463
1532
|
operation: "get_balance";
|
|
1464
1533
|
balance?: {
|
|
1465
|
-
|
|
1534
|
+
available: {
|
|
1466
1535
|
currency: string;
|
|
1467
1536
|
amount: number;
|
|
1468
1537
|
}[];
|
|
1469
|
-
|
|
1538
|
+
pending: {
|
|
1470
1539
|
currency: string;
|
|
1471
1540
|
amount: number;
|
|
1472
1541
|
}[];
|
|
@@ -1483,7 +1552,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1483
1552
|
created: z.ZodNumber;
|
|
1484
1553
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1485
1554
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
status: "
|
|
1555
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1487
1556
|
id: string;
|
|
1488
1557
|
created: number;
|
|
1489
1558
|
currency: string;
|
|
@@ -1491,7 +1560,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1491
1560
|
metadata?: Record<string, string> | undefined;
|
|
1492
1561
|
customer?: string | null | undefined;
|
|
1493
1562
|
}, {
|
|
1494
|
-
status: "
|
|
1563
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1495
1564
|
id: string;
|
|
1496
1565
|
created: number;
|
|
1497
1566
|
currency: string;
|
|
@@ -1501,11 +1570,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1501
1570
|
}>, "many">>;
|
|
1502
1571
|
error: z.ZodString;
|
|
1503
1572
|
}, "strip", z.ZodTypeAny, {
|
|
1504
|
-
error: string;
|
|
1505
1573
|
success: boolean;
|
|
1574
|
+
error: string;
|
|
1506
1575
|
operation: "list_payment_intents";
|
|
1507
1576
|
payment_intents?: {
|
|
1508
|
-
status: "
|
|
1577
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1509
1578
|
id: string;
|
|
1510
1579
|
created: number;
|
|
1511
1580
|
currency: string;
|
|
@@ -1514,11 +1583,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1514
1583
|
customer?: string | null | undefined;
|
|
1515
1584
|
}[] | undefined;
|
|
1516
1585
|
}, {
|
|
1517
|
-
error: string;
|
|
1518
1586
|
success: boolean;
|
|
1587
|
+
error: string;
|
|
1519
1588
|
operation: "list_payment_intents";
|
|
1520
1589
|
payment_intents?: {
|
|
1521
|
-
status: "
|
|
1590
|
+
status: "processing" | "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "requires_capture" | "succeeded";
|
|
1522
1591
|
id: string;
|
|
1523
1592
|
created: number;
|
|
1524
1593
|
currency: string;
|
|
@@ -1539,7 +1608,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1539
1608
|
created: z.ZodNumber;
|
|
1540
1609
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1541
1610
|
}, "strip", z.ZodTypeAny, {
|
|
1542
|
-
status: "
|
|
1611
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1543
1612
|
id: string;
|
|
1544
1613
|
created: number;
|
|
1545
1614
|
customer: string;
|
|
@@ -1548,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1548
1617
|
current_period_start?: number | undefined;
|
|
1549
1618
|
current_period_end?: number | undefined;
|
|
1550
1619
|
}, {
|
|
1551
|
-
status: "
|
|
1620
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1552
1621
|
id: string;
|
|
1553
1622
|
created: number;
|
|
1554
1623
|
customer: string;
|
|
@@ -1559,11 +1628,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1559
1628
|
}>, "many">>;
|
|
1560
1629
|
error: z.ZodString;
|
|
1561
1630
|
}, "strip", z.ZodTypeAny, {
|
|
1562
|
-
error: string;
|
|
1563
1631
|
success: boolean;
|
|
1632
|
+
error: string;
|
|
1564
1633
|
operation: "list_subscriptions";
|
|
1565
1634
|
subscriptions?: {
|
|
1566
|
-
status: "
|
|
1635
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1567
1636
|
id: string;
|
|
1568
1637
|
created: number;
|
|
1569
1638
|
customer: string;
|
|
@@ -1573,11 +1642,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1573
1642
|
current_period_end?: number | undefined;
|
|
1574
1643
|
}[] | undefined;
|
|
1575
1644
|
}, {
|
|
1576
|
-
error: string;
|
|
1577
1645
|
success: boolean;
|
|
1646
|
+
error: string;
|
|
1578
1647
|
operation: "list_subscriptions";
|
|
1579
1648
|
subscriptions?: {
|
|
1580
|
-
status: "
|
|
1649
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1581
1650
|
id: string;
|
|
1582
1651
|
created: number;
|
|
1583
1652
|
customer: string;
|
|
@@ -1599,7 +1668,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1599
1668
|
created: z.ZodNumber;
|
|
1600
1669
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1601
1670
|
}, "strip", z.ZodTypeAny, {
|
|
1602
|
-
status: "
|
|
1671
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1603
1672
|
id: string;
|
|
1604
1673
|
created: number;
|
|
1605
1674
|
customer: string;
|
|
@@ -1608,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1608
1677
|
current_period_start?: number | undefined;
|
|
1609
1678
|
current_period_end?: number | undefined;
|
|
1610
1679
|
}, {
|
|
1611
|
-
status: "
|
|
1680
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1612
1681
|
id: string;
|
|
1613
1682
|
created: number;
|
|
1614
1683
|
customer: string;
|
|
@@ -1619,11 +1688,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1619
1688
|
}>>;
|
|
1620
1689
|
error: z.ZodString;
|
|
1621
1690
|
}, "strip", z.ZodTypeAny, {
|
|
1622
|
-
error: string;
|
|
1623
1691
|
success: boolean;
|
|
1692
|
+
error: string;
|
|
1624
1693
|
operation: "cancel_subscription";
|
|
1625
1694
|
subscription?: {
|
|
1626
|
-
status: "
|
|
1695
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1627
1696
|
id: string;
|
|
1628
1697
|
created: number;
|
|
1629
1698
|
customer: string;
|
|
@@ -1633,11 +1702,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1633
1702
|
current_period_end?: number | undefined;
|
|
1634
1703
|
} | undefined;
|
|
1635
1704
|
}, {
|
|
1636
|
-
error: string;
|
|
1637
1705
|
success: boolean;
|
|
1706
|
+
error: string;
|
|
1638
1707
|
operation: "cancel_subscription";
|
|
1639
1708
|
subscription?: {
|
|
1640
|
-
status: "
|
|
1709
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1641
1710
|
id: string;
|
|
1642
1711
|
created: number;
|
|
1643
1712
|
customer: string;
|
|
@@ -1659,37 +1728,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1659
1728
|
url: string;
|
|
1660
1729
|
id: string;
|
|
1661
1730
|
active: boolean;
|
|
1662
|
-
metadata?: Record<string, string> | undefined;
|
|
1663
1731
|
created?: number | undefined;
|
|
1732
|
+
metadata?: Record<string, string> | undefined;
|
|
1664
1733
|
}, {
|
|
1665
1734
|
url: string;
|
|
1666
1735
|
id: string;
|
|
1667
1736
|
active: boolean;
|
|
1668
|
-
metadata?: Record<string, string> | undefined;
|
|
1669
1737
|
created?: number | undefined;
|
|
1738
|
+
metadata?: Record<string, string> | undefined;
|
|
1670
1739
|
}>, "many">>;
|
|
1671
1740
|
error: z.ZodString;
|
|
1672
1741
|
}, "strip", z.ZodTypeAny, {
|
|
1673
|
-
error: string;
|
|
1674
1742
|
success: boolean;
|
|
1743
|
+
error: string;
|
|
1675
1744
|
operation: "list_payment_links";
|
|
1676
1745
|
payment_links?: {
|
|
1677
1746
|
url: string;
|
|
1678
1747
|
id: string;
|
|
1679
1748
|
active: boolean;
|
|
1680
|
-
metadata?: Record<string, string> | undefined;
|
|
1681
1749
|
created?: number | undefined;
|
|
1750
|
+
metadata?: Record<string, string> | undefined;
|
|
1682
1751
|
}[] | undefined;
|
|
1683
1752
|
}, {
|
|
1684
|
-
error: string;
|
|
1685
1753
|
success: boolean;
|
|
1754
|
+
error: string;
|
|
1686
1755
|
operation: "list_payment_links";
|
|
1687
1756
|
payment_links?: {
|
|
1688
1757
|
url: string;
|
|
1689
1758
|
id: string;
|
|
1690
1759
|
active: boolean;
|
|
1691
|
-
metadata?: Record<string, string> | undefined;
|
|
1692
1760
|
created?: number | undefined;
|
|
1761
|
+
metadata?: Record<string, string> | undefined;
|
|
1693
1762
|
}[] | undefined;
|
|
1694
1763
|
}>, z.ZodObject<{
|
|
1695
1764
|
operation: z.ZodLiteral<"create_subscription">;
|
|
@@ -1704,7 +1773,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1704
1773
|
created: z.ZodNumber;
|
|
1705
1774
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1706
1775
|
}, "strip", z.ZodTypeAny, {
|
|
1707
|
-
status: "
|
|
1776
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1708
1777
|
id: string;
|
|
1709
1778
|
created: number;
|
|
1710
1779
|
customer: string;
|
|
@@ -1713,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1713
1782
|
current_period_start?: number | undefined;
|
|
1714
1783
|
current_period_end?: number | undefined;
|
|
1715
1784
|
}, {
|
|
1716
|
-
status: "
|
|
1785
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1717
1786
|
id: string;
|
|
1718
1787
|
created: number;
|
|
1719
1788
|
customer: string;
|
|
@@ -1724,11 +1793,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1724
1793
|
}>>;
|
|
1725
1794
|
error: z.ZodString;
|
|
1726
1795
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
error: string;
|
|
1728
1796
|
success: boolean;
|
|
1797
|
+
error: string;
|
|
1729
1798
|
operation: "create_subscription";
|
|
1730
1799
|
subscription?: {
|
|
1731
|
-
status: "
|
|
1800
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1732
1801
|
id: string;
|
|
1733
1802
|
created: number;
|
|
1734
1803
|
customer: string;
|
|
@@ -1738,11 +1807,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1738
1807
|
current_period_end?: number | undefined;
|
|
1739
1808
|
} | undefined;
|
|
1740
1809
|
}, {
|
|
1741
|
-
error: string;
|
|
1742
1810
|
success: boolean;
|
|
1811
|
+
error: string;
|
|
1743
1812
|
operation: "create_subscription";
|
|
1744
1813
|
subscription?: {
|
|
1745
|
-
status: "
|
|
1814
|
+
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "canceled" | "unpaid";
|
|
1746
1815
|
id: string;
|
|
1747
1816
|
created: number;
|
|
1748
1817
|
customer: string;
|