@bubblelab/bubble-core 0.1.101 → 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 +56 -56
- package/dist/bubbles/service-bubble/ai-agent.d.ts +74 -74
- package/dist/bubbles/service-bubble/airtable.d.ts +98 -98
- 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 +22 -22
- package/dist/bubbles/service-bubble/browserbase/browserbase.schema.d.ts +28 -28
- package/dist/bubbles/service-bubble/crustdata/crustdata.d.ts +155 -155
- package/dist/bubbles/service-bubble/crustdata/crustdata.schema.d.ts +158 -158
- package/dist/bubbles/service-bubble/eleven-labs.d.ts +32 -32
- package/dist/bubbles/service-bubble/firecrawl.d.ts +388 -388
- package/dist/bubbles/service-bubble/followupboss.d.ts +376 -376
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.d.ts +78 -78
- package/dist/bubbles/service-bubble/fullenrich/fullenrich.schema.d.ts +108 -108
- package/dist/bubbles/service-bubble/github.d.ts +140 -140
- package/dist/bubbles/service-bubble/gmail.d.ts +172 -172
- package/dist/bubbles/service-bubble/google-calendar.d.ts +36 -36
- package/dist/bubbles/service-bubble/google-drive.d.ts +84 -84
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.d.ts +22 -22
- package/dist/bubbles/service-bubble/google-sheets/google-sheets.schema.d.ts +32 -32
- package/dist/bubbles/service-bubble/hello-world.d.ts +4 -4
- package/dist/bubbles/service-bubble/http.d.ts +8 -8
- package/dist/bubbles/service-bubble/insforge-db.d.ts +12 -12
- package/dist/bubbles/service-bubble/jira/jira.d.ts +36 -36
- package/dist/bubbles/service-bubble/jira/jira.schema.d.ts +70 -70
- package/dist/bubbles/service-bubble/notion/notion.d.ts +126 -126
- package/dist/bubbles/service-bubble/postgresql.d.ts +12 -12
- package/dist/bubbles/service-bubble/resend.d.ts +12 -12
- package/dist/bubbles/service-bubble/slack/slack.d.ts +631 -631
- package/dist/bubbles/service-bubble/storage.d.ts +20 -20
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts +147 -68
- package/dist/bubbles/service-bubble/stripe/stripe.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.js +74 -21
- package/dist/bubbles/service-bubble/stripe/stripe.js.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts +219 -141
- package/dist/bubbles/service-bubble/stripe/stripe.schema.d.ts.map +1 -1
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js +48 -0
- package/dist/bubbles/service-bubble/stripe/stripe.schema.js.map +1 -1
- package/dist/bubbles/service-bubble/telegram.d.ts +968 -968
- package/dist/bubbles/tool-bubble/amazon-shopping-tool/amazon-shopping-tool.d.ts +22 -22
- 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 +4 -4
- package/dist/bubbles/tool-bubble/chart-js-tool.d.ts +10 -10
- package/dist/bubbles/tool-bubble/code-edit-tool.d.ts +4 -4
- package/dist/bubbles/tool-bubble/company-enrichment-tool.d.ts +52 -52
- 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 +40 -40
- package/dist/bubbles/tool-bubble/instagram-tool.d.ts +38 -38
- package/dist/bubbles/tool-bubble/linkedin-connection-tool/linkedin-connection-tool.d.ts +4 -4
- 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 +471 -471
- 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 +166 -166
- package/dist/bubbles/tool-bubble/reddit-scrape-tool.d.ts +42 -42
- 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 +194 -194
- package/dist/bubbles/tool-bubble/web-crawl-tool.d.ts +18 -18
- package/dist/bubbles/tool-bubble/web-extract-tool.d.ts +12 -12
- package/dist/bubbles/tool-bubble/web-scrape-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/web-search-tool.d.ts +14 -14
- package/dist/bubbles/tool-bubble/yc-scraper-tool.d.ts +88 -88
- package/dist/bubbles/tool-bubble/youtube-tool.d.ts +38 -38
- package/dist/bubbles/workflow-bubble/database-analyzer.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/generate-document.workflow.d.ts +16 -16
- package/dist/bubbles/workflow-bubble/parse-document.workflow.d.ts +4 -4
- package/dist/bubbles/workflow-bubble/pdf-form-operations.workflow.d.ts +40 -40
- package/dist/bubbles/workflow-bubble/pdf-ocr.workflow.d.ts +24 -24
- package/dist/bubbles/workflow-bubble/slack-data-assistant.workflow.d.ts +8 -8
- package/dist/bubbles/workflow-bubble/slack-formatter-agent.d.ts +28 -28
- package/dist/bubbles/workflow-bubble/slack-notifier.workflow.d.ts +4 -4
- package/dist/bubbles.json +122 -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,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
|
-
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">;
|
|
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
|
-
email?: string | undefined;
|
|
279
279
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
280
|
+
email?: string | undefined;
|
|
281
|
+
cursor?: string | undefined;
|
|
280
282
|
}, {
|
|
281
283
|
operation: "list_customers";
|
|
282
|
-
email?: string | undefined;
|
|
283
284
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
285
|
+
email?: 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
|
-
product?: string | undefined;
|
|
368
382
|
active?: boolean | undefined;
|
|
383
|
+
product?: string | undefined;
|
|
369
384
|
}, {
|
|
370
385
|
operation: "list_prices";
|
|
371
386
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
372
387
|
limit?: number | undefined;
|
|
373
|
-
product?: string | undefined;
|
|
374
388
|
active?: boolean | undefined;
|
|
389
|
+
product?: string | 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
|
-
quantity: number;
|
|
408
422
|
unit_amount: number;
|
|
423
|
+
quantity: 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
|
-
quantity: number;
|
|
424
438
|
unit_amount: number;
|
|
439
|
+
quantity: number;
|
|
425
440
|
description?: string | undefined;
|
|
426
441
|
}[] | undefined;
|
|
427
442
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
@@ -445,18 +460,21 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
445
460
|
limit: z.ZodDefault<z.ZodOptional<z.ZodNumber>>;
|
|
446
461
|
customer: z.ZodOptional<z.ZodString>;
|
|
447
462
|
status: z.ZodOptional<z.ZodEnum<["draft", "open", "paid", "uncollectible", "void"]>>;
|
|
463
|
+
cursor: z.ZodOptional<z.ZodString>;
|
|
448
464
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
449
465
|
}, "strip", z.ZodTypeAny, {
|
|
450
466
|
operation: "list_invoices";
|
|
451
467
|
limit: number;
|
|
452
468
|
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
453
469
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
470
|
+
cursor?: string | undefined;
|
|
454
471
|
customer?: string | undefined;
|
|
455
472
|
}, {
|
|
456
473
|
operation: "list_invoices";
|
|
457
474
|
status?: "void" | "draft" | "open" | "paid" | "uncollectible" | undefined;
|
|
458
475
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
459
476
|
limit?: number | undefined;
|
|
477
|
+
cursor?: string | undefined;
|
|
460
478
|
customer?: string | undefined;
|
|
461
479
|
}>, z.ZodObject<{
|
|
462
480
|
operation: z.ZodLiteral<"retrieve_invoice">;
|
|
@@ -498,9 +516,9 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
498
516
|
}, "strip", z.ZodTypeAny, {
|
|
499
517
|
operation: "create_invoice_item";
|
|
500
518
|
currency: string;
|
|
501
|
-
quantity: number;
|
|
502
519
|
unit_amount: number;
|
|
503
520
|
customer: string;
|
|
521
|
+
quantity: number;
|
|
504
522
|
description?: string | undefined;
|
|
505
523
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
506
524
|
metadata?: Record<string, string> | undefined;
|
|
@@ -513,8 +531,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
513
531
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
514
532
|
metadata?: Record<string, string> | undefined;
|
|
515
533
|
currency?: string | undefined;
|
|
516
|
-
quantity?: number | undefined;
|
|
517
534
|
invoice?: string | undefined;
|
|
535
|
+
quantity?: number | undefined;
|
|
518
536
|
}>, z.ZodObject<{
|
|
519
537
|
operation: z.ZodLiteral<"send_invoice">;
|
|
520
538
|
invoice_id: z.ZodString;
|
|
@@ -560,12 +578,12 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
560
578
|
}, "strip", z.ZodTypeAny, {
|
|
561
579
|
operation: "list_subscriptions";
|
|
562
580
|
limit: number;
|
|
563
|
-
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
581
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
564
582
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
565
583
|
customer?: string | undefined;
|
|
566
584
|
}, {
|
|
567
585
|
operation: "list_subscriptions";
|
|
568
|
-
status?: "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
586
|
+
status?: "canceled" | "all" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid" | undefined;
|
|
569
587
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
570
588
|
limit?: number | undefined;
|
|
571
589
|
customer?: string | undefined;
|
|
@@ -576,8 +594,8 @@ export declare const StripeParamsSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
576
594
|
credentials: z.ZodOptional<z.ZodRecord<z.ZodNativeEnum<typeof CredentialType>, z.ZodString>>;
|
|
577
595
|
}, "strip", z.ZodTypeAny, {
|
|
578
596
|
operation: "cancel_subscription";
|
|
579
|
-
subscription_id: string;
|
|
580
597
|
cancel_at_period_end: boolean;
|
|
598
|
+
subscription_id: string;
|
|
581
599
|
credentials?: Partial<Record<CredentialType, string>> | undefined;
|
|
582
600
|
}, {
|
|
583
601
|
operation: "cancel_subscription";
|
|
@@ -648,8 +666,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
648
666
|
}>>;
|
|
649
667
|
error: z.ZodString;
|
|
650
668
|
}, "strip", z.ZodTypeAny, {
|
|
651
|
-
success: boolean;
|
|
652
669
|
error: string;
|
|
670
|
+
success: boolean;
|
|
653
671
|
operation: "create_customer";
|
|
654
672
|
customer?: {
|
|
655
673
|
id: string;
|
|
@@ -659,8 +677,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
659
677
|
metadata?: Record<string, string> | undefined;
|
|
660
678
|
} | undefined;
|
|
661
679
|
}, {
|
|
662
|
-
success: boolean;
|
|
663
680
|
error: string;
|
|
681
|
+
success: boolean;
|
|
664
682
|
operation: "create_customer";
|
|
665
683
|
customer?: {
|
|
666
684
|
id: string;
|
|
@@ -691,11 +709,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
691
709
|
email?: string | null | undefined;
|
|
692
710
|
metadata?: Record<string, string> | undefined;
|
|
693
711
|
}>, "many">>;
|
|
712
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
713
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
694
714
|
error: z.ZodString;
|
|
695
715
|
}, "strip", z.ZodTypeAny, {
|
|
696
|
-
success: boolean;
|
|
697
716
|
error: string;
|
|
717
|
+
success: boolean;
|
|
698
718
|
operation: "list_customers";
|
|
719
|
+
next_cursor?: string | null | undefined;
|
|
720
|
+
has_more?: boolean | undefined;
|
|
699
721
|
customers?: {
|
|
700
722
|
id: string;
|
|
701
723
|
created: number;
|
|
@@ -704,9 +726,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
704
726
|
metadata?: Record<string, string> | undefined;
|
|
705
727
|
}[] | undefined;
|
|
706
728
|
}, {
|
|
707
|
-
success: boolean;
|
|
708
729
|
error: string;
|
|
730
|
+
success: boolean;
|
|
709
731
|
operation: "list_customers";
|
|
732
|
+
next_cursor?: string | null | undefined;
|
|
733
|
+
has_more?: boolean | undefined;
|
|
710
734
|
customers?: {
|
|
711
735
|
id: string;
|
|
712
736
|
created: number;
|
|
@@ -714,6 +738,54 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
714
738
|
email?: string | null | undefined;
|
|
715
739
|
metadata?: Record<string, string> | undefined;
|
|
716
740
|
}[] | undefined;
|
|
741
|
+
}>, z.ZodObject<{
|
|
742
|
+
operation: z.ZodLiteral<"retrieve_customer">;
|
|
743
|
+
success: z.ZodBoolean;
|
|
744
|
+
customer: z.ZodOptional<z.ZodObject<{
|
|
745
|
+
id: z.ZodString;
|
|
746
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
747
|
+
email: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
748
|
+
created: z.ZodNumber;
|
|
749
|
+
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
750
|
+
}, "strip", z.ZodTypeAny, {
|
|
751
|
+
id: string;
|
|
752
|
+
created: number;
|
|
753
|
+
name?: string | null | undefined;
|
|
754
|
+
email?: string | null | undefined;
|
|
755
|
+
metadata?: Record<string, string> | undefined;
|
|
756
|
+
}, {
|
|
757
|
+
id: string;
|
|
758
|
+
created: number;
|
|
759
|
+
name?: string | null | undefined;
|
|
760
|
+
email?: string | null | undefined;
|
|
761
|
+
metadata?: Record<string, string> | undefined;
|
|
762
|
+
}>>;
|
|
763
|
+
deleted: z.ZodOptional<z.ZodBoolean>;
|
|
764
|
+
error: z.ZodString;
|
|
765
|
+
}, "strip", z.ZodTypeAny, {
|
|
766
|
+
error: string;
|
|
767
|
+
success: boolean;
|
|
768
|
+
operation: "retrieve_customer";
|
|
769
|
+
deleted?: boolean | undefined;
|
|
770
|
+
customer?: {
|
|
771
|
+
id: string;
|
|
772
|
+
created: number;
|
|
773
|
+
name?: string | null | undefined;
|
|
774
|
+
email?: string | null | undefined;
|
|
775
|
+
metadata?: Record<string, string> | undefined;
|
|
776
|
+
} | undefined;
|
|
777
|
+
}, {
|
|
778
|
+
error: string;
|
|
779
|
+
success: boolean;
|
|
780
|
+
operation: "retrieve_customer";
|
|
781
|
+
deleted?: boolean | undefined;
|
|
782
|
+
customer?: {
|
|
783
|
+
id: string;
|
|
784
|
+
created: number;
|
|
785
|
+
name?: string | null | undefined;
|
|
786
|
+
email?: string | null | undefined;
|
|
787
|
+
metadata?: Record<string, string> | undefined;
|
|
788
|
+
} | undefined;
|
|
717
789
|
}>, z.ZodObject<{
|
|
718
790
|
operation: z.ZodLiteral<"create_product">;
|
|
719
791
|
success: z.ZodBoolean;
|
|
@@ -741,8 +813,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
741
813
|
}>>;
|
|
742
814
|
error: z.ZodString;
|
|
743
815
|
}, "strip", z.ZodTypeAny, {
|
|
744
|
-
success: boolean;
|
|
745
816
|
error: string;
|
|
817
|
+
success: boolean;
|
|
746
818
|
operation: "create_product";
|
|
747
819
|
product?: {
|
|
748
820
|
name: string;
|
|
@@ -753,8 +825,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
753
825
|
metadata?: Record<string, string> | undefined;
|
|
754
826
|
} | undefined;
|
|
755
827
|
}, {
|
|
756
|
-
success: boolean;
|
|
757
828
|
error: string;
|
|
829
|
+
success: boolean;
|
|
758
830
|
operation: "create_product";
|
|
759
831
|
product?: {
|
|
760
832
|
name: string;
|
|
@@ -791,8 +863,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
791
863
|
}>, "many">>;
|
|
792
864
|
error: z.ZodString;
|
|
793
865
|
}, "strip", z.ZodTypeAny, {
|
|
794
|
-
success: boolean;
|
|
795
866
|
error: string;
|
|
867
|
+
success: boolean;
|
|
796
868
|
operation: "list_products";
|
|
797
869
|
products?: {
|
|
798
870
|
name: string;
|
|
@@ -803,8 +875,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
803
875
|
metadata?: Record<string, string> | undefined;
|
|
804
876
|
}[] | undefined;
|
|
805
877
|
}, {
|
|
806
|
-
success: boolean;
|
|
807
878
|
error: string;
|
|
879
|
+
success: boolean;
|
|
808
880
|
operation: "list_products";
|
|
809
881
|
products?: {
|
|
810
882
|
name: string;
|
|
@@ -827,50 +899,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
827
899
|
created: z.ZodNumber;
|
|
828
900
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
829
901
|
}, "strip", z.ZodTypeAny, {
|
|
830
|
-
type: "
|
|
902
|
+
type: "one_time" | "recurring";
|
|
831
903
|
id: string;
|
|
832
904
|
created: number;
|
|
833
905
|
currency: string;
|
|
834
|
-
product: string;
|
|
835
906
|
active: boolean;
|
|
907
|
+
product: string;
|
|
836
908
|
unit_amount: number | null;
|
|
837
909
|
metadata?: Record<string, string> | undefined;
|
|
838
910
|
}, {
|
|
839
|
-
type: "
|
|
911
|
+
type: "one_time" | "recurring";
|
|
840
912
|
id: string;
|
|
841
913
|
created: number;
|
|
842
914
|
currency: string;
|
|
843
|
-
product: string;
|
|
844
915
|
active: boolean;
|
|
916
|
+
product: string;
|
|
845
917
|
unit_amount: number | null;
|
|
846
918
|
metadata?: Record<string, string> | undefined;
|
|
847
919
|
}>>;
|
|
848
920
|
error: z.ZodString;
|
|
849
921
|
}, "strip", z.ZodTypeAny, {
|
|
850
|
-
success: boolean;
|
|
851
922
|
error: string;
|
|
923
|
+
success: boolean;
|
|
852
924
|
operation: "create_price";
|
|
853
925
|
price?: {
|
|
854
|
-
type: "
|
|
926
|
+
type: "one_time" | "recurring";
|
|
855
927
|
id: string;
|
|
856
928
|
created: number;
|
|
857
929
|
currency: string;
|
|
858
|
-
product: string;
|
|
859
930
|
active: boolean;
|
|
931
|
+
product: string;
|
|
860
932
|
unit_amount: number | null;
|
|
861
933
|
metadata?: Record<string, string> | undefined;
|
|
862
934
|
} | undefined;
|
|
863
935
|
}, {
|
|
864
|
-
success: boolean;
|
|
865
936
|
error: string;
|
|
937
|
+
success: boolean;
|
|
866
938
|
operation: "create_price";
|
|
867
939
|
price?: {
|
|
868
|
-
type: "
|
|
940
|
+
type: "one_time" | "recurring";
|
|
869
941
|
id: string;
|
|
870
942
|
created: number;
|
|
871
943
|
currency: string;
|
|
872
|
-
product: string;
|
|
873
944
|
active: boolean;
|
|
945
|
+
product: string;
|
|
874
946
|
unit_amount: number | null;
|
|
875
947
|
metadata?: Record<string, string> | undefined;
|
|
876
948
|
} | undefined;
|
|
@@ -887,50 +959,50 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
887
959
|
created: z.ZodNumber;
|
|
888
960
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
889
961
|
}, "strip", z.ZodTypeAny, {
|
|
890
|
-
type: "
|
|
962
|
+
type: "one_time" | "recurring";
|
|
891
963
|
id: string;
|
|
892
964
|
created: number;
|
|
893
965
|
currency: string;
|
|
894
|
-
product: string;
|
|
895
966
|
active: boolean;
|
|
967
|
+
product: string;
|
|
896
968
|
unit_amount: number | null;
|
|
897
969
|
metadata?: Record<string, string> | undefined;
|
|
898
970
|
}, {
|
|
899
|
-
type: "
|
|
971
|
+
type: "one_time" | "recurring";
|
|
900
972
|
id: string;
|
|
901
973
|
created: number;
|
|
902
974
|
currency: string;
|
|
903
|
-
product: string;
|
|
904
975
|
active: boolean;
|
|
976
|
+
product: string;
|
|
905
977
|
unit_amount: number | null;
|
|
906
978
|
metadata?: Record<string, string> | undefined;
|
|
907
979
|
}>, "many">>;
|
|
908
980
|
error: z.ZodString;
|
|
909
981
|
}, "strip", z.ZodTypeAny, {
|
|
910
|
-
success: boolean;
|
|
911
982
|
error: string;
|
|
983
|
+
success: boolean;
|
|
912
984
|
operation: "list_prices";
|
|
913
985
|
prices?: {
|
|
914
|
-
type: "
|
|
986
|
+
type: "one_time" | "recurring";
|
|
915
987
|
id: string;
|
|
916
988
|
created: number;
|
|
917
989
|
currency: string;
|
|
918
|
-
product: string;
|
|
919
990
|
active: boolean;
|
|
991
|
+
product: string;
|
|
920
992
|
unit_amount: number | null;
|
|
921
993
|
metadata?: Record<string, string> | undefined;
|
|
922
994
|
}[] | undefined;
|
|
923
995
|
}, {
|
|
924
|
-
success: boolean;
|
|
925
996
|
error: string;
|
|
997
|
+
success: boolean;
|
|
926
998
|
operation: "list_prices";
|
|
927
999
|
prices?: {
|
|
928
|
-
type: "
|
|
1000
|
+
type: "one_time" | "recurring";
|
|
929
1001
|
id: string;
|
|
930
1002
|
created: number;
|
|
931
1003
|
currency: string;
|
|
932
|
-
product: string;
|
|
933
1004
|
active: boolean;
|
|
1005
|
+
product: string;
|
|
934
1006
|
unit_amount: number | null;
|
|
935
1007
|
metadata?: Record<string, string> | undefined;
|
|
936
1008
|
}[] | undefined;
|
|
@@ -947,37 +1019,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
947
1019
|
url: string;
|
|
948
1020
|
id: string;
|
|
949
1021
|
active: boolean;
|
|
950
|
-
created?: number | undefined;
|
|
951
1022
|
metadata?: Record<string, string> | undefined;
|
|
1023
|
+
created?: number | undefined;
|
|
952
1024
|
}, {
|
|
953
1025
|
url: string;
|
|
954
1026
|
id: string;
|
|
955
1027
|
active: boolean;
|
|
956
|
-
created?: number | undefined;
|
|
957
1028
|
metadata?: Record<string, string> | undefined;
|
|
1029
|
+
created?: number | undefined;
|
|
958
1030
|
}>>;
|
|
959
1031
|
error: z.ZodString;
|
|
960
1032
|
}, "strip", z.ZodTypeAny, {
|
|
961
|
-
success: boolean;
|
|
962
1033
|
error: string;
|
|
1034
|
+
success: boolean;
|
|
963
1035
|
operation: "create_payment_link";
|
|
964
1036
|
payment_link?: {
|
|
965
1037
|
url: string;
|
|
966
1038
|
id: string;
|
|
967
1039
|
active: boolean;
|
|
968
|
-
created?: number | undefined;
|
|
969
1040
|
metadata?: Record<string, string> | undefined;
|
|
1041
|
+
created?: number | undefined;
|
|
970
1042
|
} | undefined;
|
|
971
1043
|
}, {
|
|
972
|
-
success: boolean;
|
|
973
1044
|
error: string;
|
|
1045
|
+
success: boolean;
|
|
974
1046
|
operation: "create_payment_link";
|
|
975
1047
|
payment_link?: {
|
|
976
1048
|
url: string;
|
|
977
1049
|
id: string;
|
|
978
1050
|
active: boolean;
|
|
979
|
-
created?: number | undefined;
|
|
980
1051
|
metadata?: Record<string, string> | undefined;
|
|
1052
|
+
created?: number | undefined;
|
|
981
1053
|
} | undefined;
|
|
982
1054
|
}>, z.ZodObject<{
|
|
983
1055
|
operation: z.ZodLiteral<"create_invoice">;
|
|
@@ -999,8 +1071,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
999
1071
|
total: number;
|
|
1000
1072
|
currency: string;
|
|
1001
1073
|
customer: string | null;
|
|
1002
|
-
created?: number | undefined;
|
|
1003
1074
|
metadata?: Record<string, string> | undefined;
|
|
1075
|
+
created?: number | undefined;
|
|
1004
1076
|
due_date?: string | null | undefined;
|
|
1005
1077
|
hosted_invoice_url?: string | null | undefined;
|
|
1006
1078
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1010,16 +1082,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1010
1082
|
total: number;
|
|
1011
1083
|
currency: string;
|
|
1012
1084
|
customer: string | null;
|
|
1013
|
-
created?: number | undefined;
|
|
1014
1085
|
metadata?: Record<string, string> | undefined;
|
|
1086
|
+
created?: number | undefined;
|
|
1015
1087
|
due_date?: string | null | undefined;
|
|
1016
1088
|
hosted_invoice_url?: string | null | undefined;
|
|
1017
1089
|
invoice_pdf?: string | null | undefined;
|
|
1018
1090
|
}>>;
|
|
1019
1091
|
error: z.ZodString;
|
|
1020
1092
|
}, "strip", z.ZodTypeAny, {
|
|
1021
|
-
success: boolean;
|
|
1022
1093
|
error: string;
|
|
1094
|
+
success: boolean;
|
|
1023
1095
|
operation: "create_invoice";
|
|
1024
1096
|
invoice?: {
|
|
1025
1097
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1027,15 +1099,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1027
1099
|
total: number;
|
|
1028
1100
|
currency: string;
|
|
1029
1101
|
customer: string | null;
|
|
1030
|
-
created?: number | undefined;
|
|
1031
1102
|
metadata?: Record<string, string> | undefined;
|
|
1103
|
+
created?: number | undefined;
|
|
1032
1104
|
due_date?: string | null | undefined;
|
|
1033
1105
|
hosted_invoice_url?: string | null | undefined;
|
|
1034
1106
|
invoice_pdf?: string | null | undefined;
|
|
1035
1107
|
} | undefined;
|
|
1036
1108
|
}, {
|
|
1037
|
-
success: boolean;
|
|
1038
1109
|
error: string;
|
|
1110
|
+
success: boolean;
|
|
1039
1111
|
operation: "create_invoice";
|
|
1040
1112
|
invoice?: {
|
|
1041
1113
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1043,8 +1115,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1043
1115
|
total: number;
|
|
1044
1116
|
currency: string;
|
|
1045
1117
|
customer: string | null;
|
|
1046
|
-
created?: number | undefined;
|
|
1047
1118
|
metadata?: Record<string, string> | undefined;
|
|
1119
|
+
created?: number | undefined;
|
|
1048
1120
|
due_date?: string | null | undefined;
|
|
1049
1121
|
hosted_invoice_url?: string | null | undefined;
|
|
1050
1122
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1069,8 +1141,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1069
1141
|
total: number;
|
|
1070
1142
|
currency: string;
|
|
1071
1143
|
customer: string | null;
|
|
1072
|
-
created?: number | undefined;
|
|
1073
1144
|
metadata?: Record<string, string> | undefined;
|
|
1145
|
+
created?: number | undefined;
|
|
1074
1146
|
due_date?: string | null | undefined;
|
|
1075
1147
|
hosted_invoice_url?: string | null | undefined;
|
|
1076
1148
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1080,41 +1152,47 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1080
1152
|
total: number;
|
|
1081
1153
|
currency: string;
|
|
1082
1154
|
customer: string | null;
|
|
1083
|
-
created?: number | undefined;
|
|
1084
1155
|
metadata?: Record<string, string> | undefined;
|
|
1156
|
+
created?: number | undefined;
|
|
1085
1157
|
due_date?: string | null | undefined;
|
|
1086
1158
|
hosted_invoice_url?: string | null | undefined;
|
|
1087
1159
|
invoice_pdf?: string | null | undefined;
|
|
1088
1160
|
}>, "many">>;
|
|
1161
|
+
has_more: z.ZodOptional<z.ZodBoolean>;
|
|
1162
|
+
next_cursor: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1089
1163
|
error: z.ZodString;
|
|
1090
1164
|
}, "strip", z.ZodTypeAny, {
|
|
1091
|
-
success: boolean;
|
|
1092
1165
|
error: string;
|
|
1166
|
+
success: boolean;
|
|
1093
1167
|
operation: "list_invoices";
|
|
1168
|
+
next_cursor?: string | null | undefined;
|
|
1169
|
+
has_more?: boolean | undefined;
|
|
1094
1170
|
invoices?: {
|
|
1095
1171
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1096
1172
|
id: string;
|
|
1097
1173
|
total: number;
|
|
1098
1174
|
currency: string;
|
|
1099
1175
|
customer: string | null;
|
|
1100
|
-
created?: number | undefined;
|
|
1101
1176
|
metadata?: Record<string, string> | undefined;
|
|
1177
|
+
created?: number | undefined;
|
|
1102
1178
|
due_date?: string | null | undefined;
|
|
1103
1179
|
hosted_invoice_url?: string | null | undefined;
|
|
1104
1180
|
invoice_pdf?: string | null | undefined;
|
|
1105
1181
|
}[] | undefined;
|
|
1106
1182
|
}, {
|
|
1107
|
-
success: boolean;
|
|
1108
1183
|
error: string;
|
|
1184
|
+
success: boolean;
|
|
1109
1185
|
operation: "list_invoices";
|
|
1186
|
+
next_cursor?: string | null | undefined;
|
|
1187
|
+
has_more?: boolean | undefined;
|
|
1110
1188
|
invoices?: {
|
|
1111
1189
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
1112
1190
|
id: string;
|
|
1113
1191
|
total: number;
|
|
1114
1192
|
currency: string;
|
|
1115
1193
|
customer: string | null;
|
|
1116
|
-
created?: number | undefined;
|
|
1117
1194
|
metadata?: Record<string, string> | undefined;
|
|
1195
|
+
created?: number | undefined;
|
|
1118
1196
|
due_date?: string | null | undefined;
|
|
1119
1197
|
hosted_invoice_url?: string | null | undefined;
|
|
1120
1198
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1139,8 +1217,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1139
1217
|
total: number;
|
|
1140
1218
|
currency: string;
|
|
1141
1219
|
customer: string | null;
|
|
1142
|
-
created?: number | undefined;
|
|
1143
1220
|
metadata?: Record<string, string> | undefined;
|
|
1221
|
+
created?: number | undefined;
|
|
1144
1222
|
due_date?: string | null | undefined;
|
|
1145
1223
|
hosted_invoice_url?: string | null | undefined;
|
|
1146
1224
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1150,16 +1228,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1150
1228
|
total: number;
|
|
1151
1229
|
currency: string;
|
|
1152
1230
|
customer: string | null;
|
|
1153
|
-
created?: number | undefined;
|
|
1154
1231
|
metadata?: Record<string, string> | undefined;
|
|
1232
|
+
created?: number | undefined;
|
|
1155
1233
|
due_date?: string | null | undefined;
|
|
1156
1234
|
hosted_invoice_url?: string | null | undefined;
|
|
1157
1235
|
invoice_pdf?: string | null | undefined;
|
|
1158
1236
|
}>>;
|
|
1159
1237
|
error: z.ZodString;
|
|
1160
1238
|
}, "strip", z.ZodTypeAny, {
|
|
1161
|
-
success: boolean;
|
|
1162
1239
|
error: string;
|
|
1240
|
+
success: boolean;
|
|
1163
1241
|
operation: "retrieve_invoice";
|
|
1164
1242
|
invoice?: {
|
|
1165
1243
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1167,15 +1245,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1167
1245
|
total: number;
|
|
1168
1246
|
currency: string;
|
|
1169
1247
|
customer: string | null;
|
|
1170
|
-
created?: number | undefined;
|
|
1171
1248
|
metadata?: Record<string, string> | undefined;
|
|
1249
|
+
created?: number | undefined;
|
|
1172
1250
|
due_date?: string | null | undefined;
|
|
1173
1251
|
hosted_invoice_url?: string | null | undefined;
|
|
1174
1252
|
invoice_pdf?: string | null | undefined;
|
|
1175
1253
|
} | undefined;
|
|
1176
1254
|
}, {
|
|
1177
|
-
success: boolean;
|
|
1178
1255
|
error: string;
|
|
1256
|
+
success: boolean;
|
|
1179
1257
|
operation: "retrieve_invoice";
|
|
1180
1258
|
invoice?: {
|
|
1181
1259
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1183,8 +1261,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1183
1261
|
total: number;
|
|
1184
1262
|
currency: string;
|
|
1185
1263
|
customer: string | null;
|
|
1186
|
-
created?: number | undefined;
|
|
1187
1264
|
metadata?: Record<string, string> | undefined;
|
|
1265
|
+
created?: number | undefined;
|
|
1188
1266
|
due_date?: string | null | undefined;
|
|
1189
1267
|
hosted_invoice_url?: string | null | undefined;
|
|
1190
1268
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1209,8 +1287,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1209
1287
|
total: number;
|
|
1210
1288
|
currency: string;
|
|
1211
1289
|
customer: string | null;
|
|
1212
|
-
created?: number | undefined;
|
|
1213
1290
|
metadata?: Record<string, string> | undefined;
|
|
1291
|
+
created?: number | undefined;
|
|
1214
1292
|
due_date?: string | null | undefined;
|
|
1215
1293
|
hosted_invoice_url?: string | null | undefined;
|
|
1216
1294
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1220,16 +1298,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1220
1298
|
total: number;
|
|
1221
1299
|
currency: string;
|
|
1222
1300
|
customer: string | null;
|
|
1223
|
-
created?: number | undefined;
|
|
1224
1301
|
metadata?: Record<string, string> | undefined;
|
|
1302
|
+
created?: number | undefined;
|
|
1225
1303
|
due_date?: string | null | undefined;
|
|
1226
1304
|
hosted_invoice_url?: string | null | undefined;
|
|
1227
1305
|
invoice_pdf?: string | null | undefined;
|
|
1228
1306
|
}>>;
|
|
1229
1307
|
error: z.ZodString;
|
|
1230
1308
|
}, "strip", z.ZodTypeAny, {
|
|
1231
|
-
success: boolean;
|
|
1232
1309
|
error: string;
|
|
1310
|
+
success: boolean;
|
|
1233
1311
|
operation: "finalize_invoice";
|
|
1234
1312
|
invoice?: {
|
|
1235
1313
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1237,15 +1315,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1237
1315
|
total: number;
|
|
1238
1316
|
currency: string;
|
|
1239
1317
|
customer: string | null;
|
|
1240
|
-
created?: number | undefined;
|
|
1241
1318
|
metadata?: Record<string, string> | undefined;
|
|
1319
|
+
created?: number | undefined;
|
|
1242
1320
|
due_date?: string | null | undefined;
|
|
1243
1321
|
hosted_invoice_url?: string | null | undefined;
|
|
1244
1322
|
invoice_pdf?: string | null | undefined;
|
|
1245
1323
|
} | undefined;
|
|
1246
1324
|
}, {
|
|
1247
|
-
success: boolean;
|
|
1248
1325
|
error: string;
|
|
1326
|
+
success: boolean;
|
|
1249
1327
|
operation: "finalize_invoice";
|
|
1250
1328
|
invoice?: {
|
|
1251
1329
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1253,8 +1331,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1253
1331
|
total: number;
|
|
1254
1332
|
currency: string;
|
|
1255
1333
|
customer: string | null;
|
|
1256
|
-
created?: number | undefined;
|
|
1257
1334
|
metadata?: Record<string, string> | undefined;
|
|
1335
|
+
created?: number | undefined;
|
|
1258
1336
|
due_date?: string | null | undefined;
|
|
1259
1337
|
hosted_invoice_url?: string | null | undefined;
|
|
1260
1338
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1281,9 +1359,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1281
1359
|
description?: string | null | undefined;
|
|
1282
1360
|
date?: number | undefined;
|
|
1283
1361
|
metadata?: Record<string, string> | undefined;
|
|
1284
|
-
quantity?: number | undefined;
|
|
1285
1362
|
unit_amount?: number | null | undefined;
|
|
1286
1363
|
invoice?: string | null | undefined;
|
|
1364
|
+
quantity?: number | undefined;
|
|
1287
1365
|
}, {
|
|
1288
1366
|
id: string;
|
|
1289
1367
|
currency: string;
|
|
@@ -1292,14 +1370,14 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1292
1370
|
description?: string | null | undefined;
|
|
1293
1371
|
date?: number | undefined;
|
|
1294
1372
|
metadata?: Record<string, string> | undefined;
|
|
1295
|
-
quantity?: number | undefined;
|
|
1296
1373
|
unit_amount?: number | null | undefined;
|
|
1297
1374
|
invoice?: string | null | undefined;
|
|
1375
|
+
quantity?: number | undefined;
|
|
1298
1376
|
}>>;
|
|
1299
1377
|
error: z.ZodString;
|
|
1300
1378
|
}, "strip", z.ZodTypeAny, {
|
|
1301
|
-
success: boolean;
|
|
1302
1379
|
error: string;
|
|
1380
|
+
success: boolean;
|
|
1303
1381
|
operation: "create_invoice_item";
|
|
1304
1382
|
invoice_item?: {
|
|
1305
1383
|
id: string;
|
|
@@ -1309,13 +1387,13 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1309
1387
|
description?: string | null | undefined;
|
|
1310
1388
|
date?: number | undefined;
|
|
1311
1389
|
metadata?: Record<string, string> | undefined;
|
|
1312
|
-
quantity?: number | undefined;
|
|
1313
1390
|
unit_amount?: number | null | undefined;
|
|
1314
1391
|
invoice?: string | null | undefined;
|
|
1392
|
+
quantity?: number | undefined;
|
|
1315
1393
|
} | undefined;
|
|
1316
1394
|
}, {
|
|
1317
|
-
success: boolean;
|
|
1318
1395
|
error: string;
|
|
1396
|
+
success: boolean;
|
|
1319
1397
|
operation: "create_invoice_item";
|
|
1320
1398
|
invoice_item?: {
|
|
1321
1399
|
id: string;
|
|
@@ -1325,9 +1403,9 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1325
1403
|
description?: string | null | undefined;
|
|
1326
1404
|
date?: number | undefined;
|
|
1327
1405
|
metadata?: Record<string, string> | undefined;
|
|
1328
|
-
quantity?: number | undefined;
|
|
1329
1406
|
unit_amount?: number | null | undefined;
|
|
1330
1407
|
invoice?: string | null | undefined;
|
|
1408
|
+
quantity?: number | undefined;
|
|
1331
1409
|
} | undefined;
|
|
1332
1410
|
}>, z.ZodObject<{
|
|
1333
1411
|
operation: z.ZodLiteral<"send_invoice">;
|
|
@@ -1349,8 +1427,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1349
1427
|
total: number;
|
|
1350
1428
|
currency: string;
|
|
1351
1429
|
customer: string | null;
|
|
1352
|
-
created?: number | undefined;
|
|
1353
1430
|
metadata?: Record<string, string> | undefined;
|
|
1431
|
+
created?: number | undefined;
|
|
1354
1432
|
due_date?: string | null | undefined;
|
|
1355
1433
|
hosted_invoice_url?: string | null | undefined;
|
|
1356
1434
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1360,16 +1438,16 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1360
1438
|
total: number;
|
|
1361
1439
|
currency: string;
|
|
1362
1440
|
customer: string | null;
|
|
1363
|
-
created?: number | undefined;
|
|
1364
1441
|
metadata?: Record<string, string> | undefined;
|
|
1442
|
+
created?: number | undefined;
|
|
1365
1443
|
due_date?: string | null | undefined;
|
|
1366
1444
|
hosted_invoice_url?: string | null | undefined;
|
|
1367
1445
|
invoice_pdf?: string | null | undefined;
|
|
1368
1446
|
}>>;
|
|
1369
1447
|
error: z.ZodString;
|
|
1370
1448
|
}, "strip", z.ZodTypeAny, {
|
|
1371
|
-
success: boolean;
|
|
1372
1449
|
error: string;
|
|
1450
|
+
success: boolean;
|
|
1373
1451
|
operation: "send_invoice";
|
|
1374
1452
|
invoice?: {
|
|
1375
1453
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1377,15 +1455,15 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1377
1455
|
total: number;
|
|
1378
1456
|
currency: string;
|
|
1379
1457
|
customer: string | null;
|
|
1380
|
-
created?: number | undefined;
|
|
1381
1458
|
metadata?: Record<string, string> | undefined;
|
|
1459
|
+
created?: number | undefined;
|
|
1382
1460
|
due_date?: string | null | undefined;
|
|
1383
1461
|
hosted_invoice_url?: string | null | undefined;
|
|
1384
1462
|
invoice_pdf?: string | null | undefined;
|
|
1385
1463
|
} | undefined;
|
|
1386
1464
|
}, {
|
|
1387
|
-
success: boolean;
|
|
1388
1465
|
error: string;
|
|
1466
|
+
success: boolean;
|
|
1389
1467
|
operation: "send_invoice";
|
|
1390
1468
|
invoice?: {
|
|
1391
1469
|
status: "void" | "draft" | "open" | "paid" | "uncollectible" | null;
|
|
@@ -1393,8 +1471,8 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1393
1471
|
total: number;
|
|
1394
1472
|
currency: string;
|
|
1395
1473
|
customer: string | null;
|
|
1396
|
-
created?: number | undefined;
|
|
1397
1474
|
metadata?: Record<string, string> | undefined;
|
|
1475
|
+
created?: number | undefined;
|
|
1398
1476
|
due_date?: string | null | undefined;
|
|
1399
1477
|
hosted_invoice_url?: string | null | undefined;
|
|
1400
1478
|
invoice_pdf?: string | null | undefined;
|
|
@@ -1424,49 +1502,49 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1424
1502
|
amount: number;
|
|
1425
1503
|
}>, "many">;
|
|
1426
1504
|
}, "strip", z.ZodTypeAny, {
|
|
1427
|
-
|
|
1505
|
+
pending: {
|
|
1428
1506
|
currency: string;
|
|
1429
1507
|
amount: number;
|
|
1430
1508
|
}[];
|
|
1431
|
-
|
|
1509
|
+
available: {
|
|
1432
1510
|
currency: string;
|
|
1433
1511
|
amount: number;
|
|
1434
1512
|
}[];
|
|
1435
1513
|
}, {
|
|
1436
|
-
|
|
1514
|
+
pending: {
|
|
1437
1515
|
currency: string;
|
|
1438
1516
|
amount: number;
|
|
1439
1517
|
}[];
|
|
1440
|
-
|
|
1518
|
+
available: {
|
|
1441
1519
|
currency: string;
|
|
1442
1520
|
amount: number;
|
|
1443
1521
|
}[];
|
|
1444
1522
|
}>>;
|
|
1445
1523
|
error: z.ZodString;
|
|
1446
1524
|
}, "strip", z.ZodTypeAny, {
|
|
1447
|
-
success: boolean;
|
|
1448
1525
|
error: string;
|
|
1526
|
+
success: boolean;
|
|
1449
1527
|
operation: "get_balance";
|
|
1450
1528
|
balance?: {
|
|
1451
|
-
|
|
1529
|
+
pending: {
|
|
1452
1530
|
currency: string;
|
|
1453
1531
|
amount: number;
|
|
1454
1532
|
}[];
|
|
1455
|
-
|
|
1533
|
+
available: {
|
|
1456
1534
|
currency: string;
|
|
1457
1535
|
amount: number;
|
|
1458
1536
|
}[];
|
|
1459
1537
|
} | undefined;
|
|
1460
1538
|
}, {
|
|
1461
|
-
success: boolean;
|
|
1462
1539
|
error: string;
|
|
1540
|
+
success: boolean;
|
|
1463
1541
|
operation: "get_balance";
|
|
1464
1542
|
balance?: {
|
|
1465
|
-
|
|
1543
|
+
pending: {
|
|
1466
1544
|
currency: string;
|
|
1467
1545
|
amount: number;
|
|
1468
1546
|
}[];
|
|
1469
|
-
|
|
1547
|
+
available: {
|
|
1470
1548
|
currency: string;
|
|
1471
1549
|
amount: number;
|
|
1472
1550
|
}[];
|
|
@@ -1483,7 +1561,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1483
1561
|
created: z.ZodNumber;
|
|
1484
1562
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1485
1563
|
}, "strip", z.ZodTypeAny, {
|
|
1486
|
-
status: "
|
|
1564
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1487
1565
|
id: string;
|
|
1488
1566
|
created: number;
|
|
1489
1567
|
currency: string;
|
|
@@ -1491,7 +1569,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1491
1569
|
metadata?: Record<string, string> | undefined;
|
|
1492
1570
|
customer?: string | null | undefined;
|
|
1493
1571
|
}, {
|
|
1494
|
-
status: "
|
|
1572
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1495
1573
|
id: string;
|
|
1496
1574
|
created: number;
|
|
1497
1575
|
currency: string;
|
|
@@ -1501,11 +1579,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1501
1579
|
}>, "many">>;
|
|
1502
1580
|
error: z.ZodString;
|
|
1503
1581
|
}, "strip", z.ZodTypeAny, {
|
|
1504
|
-
success: boolean;
|
|
1505
1582
|
error: string;
|
|
1583
|
+
success: boolean;
|
|
1506
1584
|
operation: "list_payment_intents";
|
|
1507
1585
|
payment_intents?: {
|
|
1508
|
-
status: "
|
|
1586
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1509
1587
|
id: string;
|
|
1510
1588
|
created: number;
|
|
1511
1589
|
currency: string;
|
|
@@ -1514,11 +1592,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1514
1592
|
customer?: string | null | undefined;
|
|
1515
1593
|
}[] | undefined;
|
|
1516
1594
|
}, {
|
|
1517
|
-
success: boolean;
|
|
1518
1595
|
error: string;
|
|
1596
|
+
success: boolean;
|
|
1519
1597
|
operation: "list_payment_intents";
|
|
1520
1598
|
payment_intents?: {
|
|
1521
|
-
status: "
|
|
1599
|
+
status: "canceled" | "requires_payment_method" | "requires_confirmation" | "requires_action" | "processing" | "requires_capture" | "succeeded";
|
|
1522
1600
|
id: string;
|
|
1523
1601
|
created: number;
|
|
1524
1602
|
currency: string;
|
|
@@ -1539,7 +1617,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1539
1617
|
created: z.ZodNumber;
|
|
1540
1618
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1541
1619
|
}, "strip", z.ZodTypeAny, {
|
|
1542
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1620
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1543
1621
|
id: string;
|
|
1544
1622
|
created: number;
|
|
1545
1623
|
customer: string;
|
|
@@ -1548,7 +1626,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1548
1626
|
current_period_start?: number | undefined;
|
|
1549
1627
|
current_period_end?: number | undefined;
|
|
1550
1628
|
}, {
|
|
1551
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1629
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1552
1630
|
id: string;
|
|
1553
1631
|
created: number;
|
|
1554
1632
|
customer: string;
|
|
@@ -1559,11 +1637,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1559
1637
|
}>, "many">>;
|
|
1560
1638
|
error: z.ZodString;
|
|
1561
1639
|
}, "strip", z.ZodTypeAny, {
|
|
1562
|
-
success: boolean;
|
|
1563
1640
|
error: string;
|
|
1641
|
+
success: boolean;
|
|
1564
1642
|
operation: "list_subscriptions";
|
|
1565
1643
|
subscriptions?: {
|
|
1566
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1644
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1567
1645
|
id: string;
|
|
1568
1646
|
created: number;
|
|
1569
1647
|
customer: string;
|
|
@@ -1573,11 +1651,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1573
1651
|
current_period_end?: number | undefined;
|
|
1574
1652
|
}[] | undefined;
|
|
1575
1653
|
}, {
|
|
1576
|
-
success: boolean;
|
|
1577
1654
|
error: string;
|
|
1655
|
+
success: boolean;
|
|
1578
1656
|
operation: "list_subscriptions";
|
|
1579
1657
|
subscriptions?: {
|
|
1580
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1658
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1581
1659
|
id: string;
|
|
1582
1660
|
created: number;
|
|
1583
1661
|
customer: string;
|
|
@@ -1599,7 +1677,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1599
1677
|
created: z.ZodNumber;
|
|
1600
1678
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1601
1679
|
}, "strip", z.ZodTypeAny, {
|
|
1602
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1680
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1603
1681
|
id: string;
|
|
1604
1682
|
created: number;
|
|
1605
1683
|
customer: string;
|
|
@@ -1608,7 +1686,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1608
1686
|
current_period_start?: number | undefined;
|
|
1609
1687
|
current_period_end?: number | undefined;
|
|
1610
1688
|
}, {
|
|
1611
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1689
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1612
1690
|
id: string;
|
|
1613
1691
|
created: number;
|
|
1614
1692
|
customer: string;
|
|
@@ -1619,11 +1697,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1619
1697
|
}>>;
|
|
1620
1698
|
error: z.ZodString;
|
|
1621
1699
|
}, "strip", z.ZodTypeAny, {
|
|
1622
|
-
success: boolean;
|
|
1623
1700
|
error: string;
|
|
1701
|
+
success: boolean;
|
|
1624
1702
|
operation: "cancel_subscription";
|
|
1625
1703
|
subscription?: {
|
|
1626
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1704
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1627
1705
|
id: string;
|
|
1628
1706
|
created: number;
|
|
1629
1707
|
customer: string;
|
|
@@ -1633,11 +1711,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1633
1711
|
current_period_end?: number | undefined;
|
|
1634
1712
|
} | undefined;
|
|
1635
1713
|
}, {
|
|
1636
|
-
success: boolean;
|
|
1637
1714
|
error: string;
|
|
1715
|
+
success: boolean;
|
|
1638
1716
|
operation: "cancel_subscription";
|
|
1639
1717
|
subscription?: {
|
|
1640
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1718
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1641
1719
|
id: string;
|
|
1642
1720
|
created: number;
|
|
1643
1721
|
customer: string;
|
|
@@ -1659,37 +1737,37 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1659
1737
|
url: string;
|
|
1660
1738
|
id: string;
|
|
1661
1739
|
active: boolean;
|
|
1662
|
-
created?: number | undefined;
|
|
1663
1740
|
metadata?: Record<string, string> | undefined;
|
|
1741
|
+
created?: number | undefined;
|
|
1664
1742
|
}, {
|
|
1665
1743
|
url: string;
|
|
1666
1744
|
id: string;
|
|
1667
1745
|
active: boolean;
|
|
1668
|
-
created?: number | undefined;
|
|
1669
1746
|
metadata?: Record<string, string> | undefined;
|
|
1747
|
+
created?: number | undefined;
|
|
1670
1748
|
}>, "many">>;
|
|
1671
1749
|
error: z.ZodString;
|
|
1672
1750
|
}, "strip", z.ZodTypeAny, {
|
|
1673
|
-
success: boolean;
|
|
1674
1751
|
error: string;
|
|
1752
|
+
success: boolean;
|
|
1675
1753
|
operation: "list_payment_links";
|
|
1676
1754
|
payment_links?: {
|
|
1677
1755
|
url: string;
|
|
1678
1756
|
id: string;
|
|
1679
1757
|
active: boolean;
|
|
1680
|
-
created?: number | undefined;
|
|
1681
1758
|
metadata?: Record<string, string> | undefined;
|
|
1759
|
+
created?: number | undefined;
|
|
1682
1760
|
}[] | undefined;
|
|
1683
1761
|
}, {
|
|
1684
|
-
success: boolean;
|
|
1685
1762
|
error: string;
|
|
1763
|
+
success: boolean;
|
|
1686
1764
|
operation: "list_payment_links";
|
|
1687
1765
|
payment_links?: {
|
|
1688
1766
|
url: string;
|
|
1689
1767
|
id: string;
|
|
1690
1768
|
active: boolean;
|
|
1691
|
-
created?: number | undefined;
|
|
1692
1769
|
metadata?: Record<string, string> | undefined;
|
|
1770
|
+
created?: number | undefined;
|
|
1693
1771
|
}[] | undefined;
|
|
1694
1772
|
}>, z.ZodObject<{
|
|
1695
1773
|
operation: z.ZodLiteral<"create_subscription">;
|
|
@@ -1704,7 +1782,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1704
1782
|
created: z.ZodNumber;
|
|
1705
1783
|
metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
1706
1784
|
}, "strip", z.ZodTypeAny, {
|
|
1707
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1785
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1708
1786
|
id: string;
|
|
1709
1787
|
created: number;
|
|
1710
1788
|
customer: string;
|
|
@@ -1713,7 +1791,7 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1713
1791
|
current_period_start?: number | undefined;
|
|
1714
1792
|
current_period_end?: number | undefined;
|
|
1715
1793
|
}, {
|
|
1716
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1794
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1717
1795
|
id: string;
|
|
1718
1796
|
created: number;
|
|
1719
1797
|
customer: string;
|
|
@@ -1724,11 +1802,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1724
1802
|
}>>;
|
|
1725
1803
|
error: z.ZodString;
|
|
1726
1804
|
}, "strip", z.ZodTypeAny, {
|
|
1727
|
-
success: boolean;
|
|
1728
1805
|
error: string;
|
|
1806
|
+
success: boolean;
|
|
1729
1807
|
operation: "create_subscription";
|
|
1730
1808
|
subscription?: {
|
|
1731
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1809
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1732
1810
|
id: string;
|
|
1733
1811
|
created: number;
|
|
1734
1812
|
customer: string;
|
|
@@ -1738,11 +1816,11 @@ export declare const StripeResultSchema: z.ZodDiscriminatedUnion<"operation", [z
|
|
|
1738
1816
|
current_period_end?: number | undefined;
|
|
1739
1817
|
} | undefined;
|
|
1740
1818
|
}, {
|
|
1741
|
-
success: boolean;
|
|
1742
1819
|
error: string;
|
|
1820
|
+
success: boolean;
|
|
1743
1821
|
operation: "create_subscription";
|
|
1744
1822
|
subscription?: {
|
|
1745
|
-
status: "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "
|
|
1823
|
+
status: "canceled" | "paused" | "active" | "incomplete" | "incomplete_expired" | "trialing" | "past_due" | "unpaid";
|
|
1746
1824
|
id: string;
|
|
1747
1825
|
created: number;
|
|
1748
1826
|
customer: string;
|